window.fr_deff_store = {"key":"store:settings-2","defaultSchema":{"theme":"system","locale":"ru","show_cookies":true,"ws_host":"wss://fix-dev.fwalls.ru/ws","cdn":"https://storage.yandexcloud.net/","cdn_type":"yandex","bucket":"udeu","o":{}}}
'use strict';

class Status {
  constructor(value) {
    if (value instanceof Status)
      this._value = value._value;
    else
      this._value = value;

    if (typeof this._value === 'string')
      this._value = this.constructor.mask(this._value);
  }

  [Symbol.toPrimitive](hint) {
    return this._value;
  }

  get value() {
    return this._value;
  }

  toJSON() {
    return this._value;
  }

    isArchived(v) {     
    v === undefined && (v = this._value);   
    return (v & 1) !== 0;
  }

  toString() {
    const result = [];

    (this.constructor.constList || []).forEach(_const => {
      if (this[`is${_const}`]())
        result.push(_const);
    });

    return result.join('|');
  }

  any(b) {
    let bits = b;

    if (typeof this._value === 'undefined' || typeof bits === 'undefined')
      return false;

    if (typeof bits === 'string')
      bits = bits.split('|');

    if (Array.isArray(bits))
      bits = bits.map(bit => +this.constructor[bit]).reduce((prev, curr) => prev | curr);

    return (this._value & bits) !== 0;
  }

  all(b) {
    let bits = b;

    if (typeof this._value === 'undefined' || typeof bits === 'undefined')
      return false;

    if (typeof bits === 'string')
      bits = bits.split('|');

    if (Array.isArray(bits))
      bits = bits.map(bit => +this.constructor[bit]).reduce((prev, curr) => prev | curr);

    return ((this._value & bits) === bits);
  }

  static mask(b = [], negate = false) {
    let bits = b;

    if (typeof bits === 'string')
      bits = bits.split('|');

    let result = 0;

    bits.forEach(bit => {
      result |= +this[bit];
    });

    if (!negate)
      return result;
    else {
      return (this.constList || []).map(bit => +this[bit]).reduce((prev, curr) => prev | curr) - result;
    }
  }
}class CHSStatus extends Status {
        
            isRemoved(v) {     
              v === undefined && (v = this._value);   
              return (v & 2) !== 0;
            }
        
            isStarted(v) {     
              v === undefined && (v = this._value);   
              return (v & 4) !== 0;
            }
        
            isFinished(v) {     
              v === undefined && (v = this._value);   
              return (v & 8) !== 0;
            }
}
CHSStatus.Archived = 1;
CHSStatus.Removed = 2;
CHSStatus.Started = 4;
CHSStatus.Finished = 8;

CHSStatus.constList = ['Archived','Removed','Started','Finished'];
CHSStatus.prefix = 'CHS';
globalThis['CHSStatus'] = CHSStatus;
class CLStatus extends Status {
        
            isRemoved(v) {     
              v === undefined && (v = this._value);   
              return (v & 2) !== 0;
            }
        
            isHasUnreadMessages(v) {     
              v === undefined && (v = this._value);   
              return (v & 4) !== 0;
            }
        
            isNeedRebase(v) {     
              v === undefined && (v = this._value);   
              return (v & 8) !== 0;
            }
}
CLStatus.Archived = 1;
CLStatus.Removed = 2;
CLStatus.HasUnreadMessages = 4;
CLStatus.NeedRebase = 8;

CLStatus.constList = ['Archived','Removed','HasUnreadMessages','NeedRebase'];
CLStatus.prefix = 'CL';
globalThis['CLStatus'] = CLStatus;
class EVStatus extends Status {
        
            isRemoved(v) {     
              v === undefined && (v = this._value);   
              return (v & 2) !== 0;
            }
        
            isPublished(v) {     
              v === undefined && (v = this._value);   
              return (v & 4) !== 0;
            }
}
EVStatus.Archived = 1;
EVStatus.Removed = 2;
EVStatus.Published = 4;

EVStatus.constList = ['Archived','Removed','Published'];
EVStatus.prefix = 'EV';
globalThis['EVStatus'] = EVStatus;
class INVStatus extends Status {
        
            isRemoved(v) {     
              v === undefined && (v = this._value);   
              return (v & 2) !== 0;
            }
        
            isPaid(v) {     
              v === undefined && (v = this._value);   
              return (v & 4) !== 0;
            }
        
            isDeclined(v) {     
              v === undefined && (v = this._value);   
              return (v & 8) !== 0;
            }
        
            isSubscriptionPayment(v) {     
              v === undefined && (v = this._value);   
              return (v & 16) !== 0;
            }
}
INVStatus.Archived = 1;
INVStatus.Removed = 2;
INVStatus.Paid = 4;
INVStatus.Declined = 8;
INVStatus.SubscriptionPayment = 16;

INVStatus.constList = ['Archived','Removed','Paid','Declined','SubscriptionPayment'];
INVStatus.prefix = 'INV';
globalThis['INVStatus'] = INVStatus;
class MSGStatus extends Status {
        
            isRemoved(v) {     
              v === undefined && (v = this._value);   
              return (v & 2) !== 0;
            }
        
            isReceived(v) {     
              v === undefined && (v = this._value);   
              return (v & 4) !== 0;
            }
        
            isRead(v) {     
              v === undefined && (v = this._value);   
              return (v & 8) !== 0;
            }
        
            isService(v) {     
              v === undefined && (v = this._value);   
              return (v & 16) !== 0;
            }
}
MSGStatus.Archived = 1;
MSGStatus.Removed = 2;
MSGStatus.Received = 4;
MSGStatus.Read = 8;
MSGStatus.Service = 16;

MSGStatus.constList = ['Archived','Removed','Received','Read','Service'];
MSGStatus.prefix = 'MSG';
globalThis['MSGStatus'] = MSGStatus;
class NEWSStatus extends Status {
        
            isRemoved(v) {     
              v === undefined && (v = this._value);   
              return (v & 2) !== 0;
            }
        
            isPublished(v) {     
              v === undefined && (v = this._value);   
              return (v & 4) !== 0;
            }
}
NEWSStatus.Archived = 1;
NEWSStatus.Removed = 2;
NEWSStatus.Published = 4;

NEWSStatus.constList = ['Archived','Removed','Published'];
NEWSStatus.prefix = 'NEWS';
globalThis['NEWSStatus'] = NEWSStatus;
class PRTStatus extends Status {
        
            isRemoved(v) {     
              v === undefined && (v = this._value);   
              return (v & 2) !== 0;
            }
}
PRTStatus.Archived = 1;
PRTStatus.Removed = 2;

PRTStatus.constList = ['Archived','Removed'];
PRTStatus.prefix = 'PRT';
globalThis['PRTStatus'] = PRTStatus;
class RQStatus extends Status {
        
            isRemoved(v) {     
              v === undefined && (v = this._value);   
              return (v & 2) !== 0;
            }
        
            isCompleted(v) {     
              v === undefined && (v = this._value);   
              return (v & 4) !== 0;
            }
        
            isCanceled(v) {     
              v === undefined && (v = this._value);   
              return (v & 8) !== 0;
            }
        
            isConfirmed(v) {     
              v === undefined && (v = this._value);   
              return (v & 16) !== 0;
            }
}
RQStatus.Archived = 1;
RQStatus.Removed = 2;
RQStatus.Completed = 4;
RQStatus.Canceled = 8;
RQStatus.Confirmed = 16;

RQStatus.constList = ['Archived','Removed','Completed','Canceled','Confirmed'];
RQStatus.prefix = 'RQ';
globalThis['RQStatus'] = RQStatus;
class RTStatus extends Status {
        
            isRemoved(v) {     
              v === undefined && (v = this._value);   
              return (v & 2) !== 0;
            }
}
RTStatus.Archived = 1;
RTStatus.Removed = 2;

RTStatus.constList = ['Archived','Removed'];
RTStatus.prefix = 'RT';
globalThis['RTStatus'] = RTStatus;
class SRVStatus extends Status {
        
            isRemoved(v) {     
              v === undefined && (v = this._value);   
              return (v & 2) !== 0;
            }
        
            isWithoutRequest(v) {     
              v === undefined && (v = this._value);   
              return (v & 4) !== 0;
            }
        
            isTechnical(v) {     
              v === undefined && (v = this._value);   
              return (v & 8) !== 0;
            }
}
SRVStatus.Archived = 1;
SRVStatus.Removed = 2;
SRVStatus.WithoutRequest = 4;
SRVStatus.Technical = 8;

SRVStatus.constList = ['Archived','Removed','WithoutRequest','Technical'];
SRVStatus.prefix = 'SRV';
globalThis['SRVStatus'] = SRVStatus;
class SSNStatus extends Status {
        
            isRemoved(v) {     
              v === undefined && (v = this._value);   
              return (v & 2) !== 0;
            }
        
            isClosed(v) {     
              v === undefined && (v = this._value);   
              return (v & 4) !== 0;
            }
        
            isConnected(v) {     
              v === undefined && (v = this._value);   
              return (v & 8) !== 0;
            }
}
SSNStatus.Archived = 1;
SSNStatus.Removed = 2;
SSNStatus.Closed = 4;
SSNStatus.Connected = 8;

SSNStatus.constList = ['Archived','Removed','Closed','Connected'];
SSNStatus.prefix = 'SSN';
globalThis['SSNStatus'] = SSNStatus;
class USRStatus extends Status {
        
            isRemoved(v) {     
              v === undefined && (v = this._value);   
              return (v & 2) !== 0;
            }
        
            isSupervisor(v) {     
              v === undefined && (v = this._value);   
              return (v & 4) !== 0;
            }
        
            isShowFullMenu(v) {     
              v === undefined && (v = this._value);   
              return (v & 8) !== 0;
            }
}
USRStatus.Archived = 1;
USRStatus.Removed = 2;
USRStatus.Supervisor = 4;
USRStatus.ShowFullMenu = 8;

USRStatus.constList = ['Archived','Removed','Supervisor','ShowFullMenu'];
USRStatus.prefix = 'USR';
globalThis['USRStatus'] = USRStatus;

const noopProgress = (p) => {console.log(p)}

const pfetch = (url, params = {}, progress = noopProgress) => {
  progress(1)

  return fetch(url, params)
    .then((response) => {
      if (!response.ok) {
        throw Error(response.status + " " + response.statusText);
      }

      if (!response.body) {
        throw Error("ReadableStream not yet supported in this browser.");
      }

      // to access headers, server must send CORS header "Access-Control-Expose-Headers: content-encoding, content-length x-file-size"
      // server must send custom x-file-size header if gzip or other content-encoding is used
      const contentEncoding = response.headers.get("content-encoding");
      const contentLength = response.headers.get(
        contentEncoding ? "x-file-size" : "content-length"
      );
      if (contentLength === null) {
        throw Error("Response size header unavailable");
      }

      const total = parseInt(contentLength, 10);
      let loaded = 0;

      return new Response(
        new ReadableStream({
          start(controller) {
            const reader = response.body.getReader();

            read();
            function read() {
              reader
                .read()
                .then(({ done, value }) => {
                  if (done) {
                    controller.close();
                    return;
                  }
                  loaded += value.byteLength;
                  progress(Math.round((loaded / total) * 100))
                  controller.enqueue(value);
                  read();
                })
                .catch((error) => {
                  console.error(error);
                  controller.error(error);
                });
            }
          },
        })
      );
    })
    .catch((error) => {
      console.error(error);
    });
};


/*! jQuery v3.7.0 | (c) OpenJS Foundation and other contributors | jquery.org/license */
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(ie,e){"use strict";var oe=[],r=Object.getPrototypeOf,ae=oe.slice,g=oe.flat?function(e){return oe.flat.call(e)}:function(e){return oe.concat.apply([],e)},s=oe.push,se=oe.indexOf,n={},i=n.toString,ue=n.hasOwnProperty,o=ue.toString,a=o.call(Object),le={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},C=ie.document,u={type:!0,src:!0,nonce:!0,noModule:!0};function m(e,t,n){var r,i,o=(n=n||C).createElement("script");if(o.text=e,t)for(r in u)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[i.call(e)]||"object":typeof e}var t="3.7.0",l=/HTML$/i,ce=function(e,t){return new ce.fn.init(e,t)};function c(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}function fe(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}ce.fn=ce.prototype={jquery:t,constructor:ce,length:0,toArray:function(){return ae.call(this)},get:function(e){return null==e?ae.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=ce.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return ce.each(this,e)},map:function(n){return this.pushStack(ce.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(ae.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(ce.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(ce.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:oe.sort,splice:oe.splice},ce.extend=ce.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||v(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(ce.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||ce.isPlainObject(n)?n:{},i=!1,a[t]=ce.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},ce.extend({expando:"jQuery"+(t+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==i.call(e))&&(!(t=r(e))||"function"==typeof(n=ue.call(t,"constructor")&&t.constructor)&&o.call(n)===a)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){m(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(c(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},text:function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i)return e.textContent;if(3===i||4===i)return e.nodeValue}else while(t=e[r++])n+=ce.text(t);return n},makeArray:function(e,t){var n=t||[];return null!=e&&(c(Object(e))?ce.merge(n,"string"==typeof e?[e]:e):s.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:se.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!l.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(c(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return g(a)},guid:1,support:le}),"function"==typeof Symbol&&(ce.fn[Symbol.iterator]=oe[Symbol.iterator]),ce.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var pe=oe.pop,de=oe.sort,he=oe.splice,ge="[\\x20\\t\\r\\n\\f]",ve=new RegExp("^"+ge+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ge+"+$","g");ce.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var f=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function p(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}ce.escapeSelector=function(e){return(e+"").replace(f,p)};var ye=C,me=s;!function(){var e,b,w,o,a,T,r,C,d,i,k=me,S=ce.expando,E=0,n=0,s=W(),c=W(),u=W(),h=W(),l=function(e,t){return e===t&&(a=!0),0},f="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",t="(?:\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",p="\\["+ge+"*("+t+")(?:"+ge+"*([*^$|!~]?=)"+ge+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+t+"))|)"+ge+"*\\]",g=":("+t+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+p+")*)|.*)\\)|)",v=new RegExp(ge+"+","g"),y=new RegExp("^"+ge+"*,"+ge+"*"),m=new RegExp("^"+ge+"*([>+~]|"+ge+")"+ge+"*"),x=new RegExp(ge+"|>"),j=new RegExp(g),A=new RegExp("^"+t+"$"),D={ID:new RegExp("^#("+t+")"),CLASS:new RegExp("^\\.("+t+")"),TAG:new RegExp("^("+t+"|[*])"),ATTR:new RegExp("^"+p),PSEUDO:new RegExp("^"+g),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ge+"*(even|odd|(([+-]|)(\\d*)n|)"+ge+"*(?:([+-]|)"+ge+"*(\\d+)|))"+ge+"*\\)|)","i"),bool:new RegExp("^(?:"+f+")$","i"),needsContext:new RegExp("^"+ge+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ge+"*((?:-\\d)?\\d*)"+ge+"*\\)|)(?=[^-]|$)","i")},N=/^(?:input|select|textarea|button)$/i,q=/^h\d$/i,L=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,H=/[+~]/,O=new RegExp("\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\([^\\r\\n\\f])","g"),P=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},R=function(){V()},M=J(function(e){return!0===e.disabled&&fe(e,"fieldset")},{dir:"parentNode",next:"legend"});try{k.apply(oe=ae.call(ye.childNodes),ye.childNodes),oe[ye.childNodes.length].nodeType}catch(e){k={apply:function(e,t){me.apply(e,ae.call(t))},call:function(e){me.apply(e,ae.call(arguments,1))}}}function I(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(V(e),e=e||T,C)){if(11!==p&&(u=L.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return k.call(n,a),n}else if(f&&(a=f.getElementById(i))&&I.contains(e,a)&&a.id===i)return k.call(n,a),n}else{if(u[2])return k.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&e.getElementsByClassName)return k.apply(n,e.getElementsByClassName(i)),n}if(!(h[t+" "]||d&&d.test(t))){if(c=t,f=e,1===p&&(x.test(t)||m.test(t))){(f=H.test(t)&&z(e.parentNode)||e)==e&&le.scope||((s=e.getAttribute("id"))?s=ce.escapeSelector(s):e.setAttribute("id",s=S)),o=(l=Y(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+Q(l[o]);c=l.join(",")}try{return k.apply(n,f.querySelectorAll(c)),n}catch(e){h(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return re(t.replace(ve,"$1"),e,n,r)}function W(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function F(e){return e[S]=!0,e}function $(e){var t=T.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function B(t){return function(e){return fe(e,"input")&&e.type===t}}function _(t){return function(e){return(fe(e,"input")||fe(e,"button"))&&e.type===t}}function X(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&M(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function U(a){return F(function(o){return o=+o,F(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function z(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function V(e){var t,n=e?e.ownerDocument||e:ye;return n!=T&&9===n.nodeType&&n.documentElement&&(r=(T=n).documentElement,C=!ce.isXMLDoc(T),i=r.matches||r.webkitMatchesSelector||r.msMatchesSelector,ye!=T&&(t=T.defaultView)&&t.top!==t&&t.addEventListener("unload",R),le.getById=$(function(e){return r.appendChild(e).id=ce.expando,!T.getElementsByName||!T.getElementsByName(ce.expando).length}),le.disconnectedMatch=$(function(e){return i.call(e,"*")}),le.scope=$(function(){return T.querySelectorAll(":scope")}),le.cssHas=$(function(){try{return T.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),le.getById?(b.filter.ID=function(e){var t=e.replace(O,P);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(O,P);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},b.find.CLASS=function(e,t){if("undefined"!=typeof t.getElementsByClassName&&C)return t.getElementsByClassName(e)},d=[],$(function(e){var t;r.appendChild(e).innerHTML="<a id='"+S+"' href='' disabled='disabled'></a><select id='"+S+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||d.push("\\["+ge+"*(?:value|"+f+")"),e.querySelectorAll("[id~="+S+"-]").length||d.push("~="),e.querySelectorAll("a#"+S+"+*").length||d.push(".#.+[+~]"),e.querySelectorAll(":checked").length||d.push(":checked"),(t=T.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),r.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(t=T.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||d.push("\\["+ge+"*name"+ge+"*="+ge+"*(?:''|\"\")")}),le.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),l=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!le.sortDetached&&t.compareDocumentPosition(e)===n?e===T||e.ownerDocument==ye&&I.contains(ye,e)?-1:t===T||t.ownerDocument==ye&&I.contains(ye,t)?1:o?se.call(o,e)-se.call(o,t):0:4&n?-1:1)}),T}for(e in I.matches=function(e,t){return I(e,null,null,t)},I.matchesSelector=function(e,t){if(V(e),C&&!h[t+" "]&&(!d||!d.test(t)))try{var n=i.call(e,t);if(n||le.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){h(t,!0)}return 0<I(t,T,null,[e]).length},I.contains=function(e,t){return(e.ownerDocument||e)!=T&&V(e),ce.contains(e,t)},I.attr=function(e,t){(e.ownerDocument||e)!=T&&V(e);var n=b.attrHandle[t.toLowerCase()],r=n&&ue.call(b.attrHandle,t.toLowerCase())?n(e,t,!C):void 0;return void 0!==r?r:e.getAttribute(t)},I.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ce.uniqueSort=function(e){var t,n=[],r=0,i=0;if(a=!le.sortStable,o=!le.sortStable&&ae.call(e,0),de.call(e,l),a){while(t=e[i++])t===e[i]&&(r=n.push(i));while(r--)he.call(e,n[r],1)}return o=null,e},ce.fn.uniqueSort=function(){return this.pushStack(ce.uniqueSort(ae.apply(this)))},(b=ce.expr={cacheLength:50,createPseudo:F,match:D,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(O,P),e[3]=(e[3]||e[4]||e[5]||"").replace(O,P),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||I.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&I.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return D.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&j.test(n)&&(t=Y(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(O,P).toLowerCase();return"*"===e?function(){return!0}:function(e){return fe(e,t)}},CLASS:function(e){var t=s[e+" "];return t||(t=new RegExp("(^|"+ge+")"+e+"("+ge+"|$)"))&&s(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=I.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1<t.indexOf(i):"$="===r?i&&t.slice(-i.length)===i:"~="===r?-1<(" "+t.replace(v," ")+" ").indexOf(i):"|="===r&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(d,e,t,h,g){var v="nth"!==d.slice(0,3),y="last"!==d.slice(-4),m="of-type"===e;return 1===h&&0===g?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,a,s,u=v!==y?"nextSibling":"previousSibling",l=e.parentNode,c=m&&e.nodeName.toLowerCase(),f=!n&&!m,p=!1;if(l){if(v){while(u){o=e;while(o=o[u])if(m?fe(o,c):1===o.nodeType)return!1;s=u="only"===d&&!s&&"nextSibling"}return!0}if(s=[y?l.firstChild:l.lastChild],y&&f){p=(a=(r=(i=l[S]||(l[S]={}))[d]||[])[0]===E&&r[1])&&r[2],o=a&&l.childNodes[a];while(o=++a&&o&&o[u]||(p=a=0)||s.pop())if(1===o.nodeType&&++p&&o===e){i[d]=[E,a,p];break}}else if(f&&(p=a=(r=(i=e[S]||(e[S]={}))[d]||[])[0]===E&&r[1]),!1===p)while(o=++a&&o&&o[u]||(p=a=0)||s.pop())if((m?fe(o,c):1===o.nodeType)&&++p&&(f&&((i=o[S]||(o[S]={}))[d]=[E,p]),o===e))break;return(p-=g)===h||p%h==0&&0<=p/h}}},PSEUDO:function(e,o){var t,a=b.pseudos[e]||b.setFilters[e.toLowerCase()]||I.error("unsupported pseudo: "+e);return a[S]?a(o):1<a.length?(t=[e,e,"",o],b.setFilters.hasOwnProperty(e.toLowerCase())?F(function(e,t){var n,r=a(e,o),i=r.length;while(i--)e[n=se.call(e,r[i])]=!(t[n]=r[i])}):function(e){return a(e,0,t)}):a}},pseudos:{not:F(function(e){var r=[],i=[],s=ne(e.replace(ve,"$1"));return s[S]?F(function(e,t,n,r){var i,o=s(e,null,r,[]),a=e.length;while(a--)(i=o[a])&&(e[a]=!(t[a]=i))}):function(e,t,n){return r[0]=e,s(r,null,n,i),r[0]=null,!i.pop()}}),has:F(function(t){return function(e){return 0<I(t,e).length}}),contains:F(function(t){return t=t.replace(O,P),function(e){return-1<(e.textContent||ce.text(e)).indexOf(t)}}),lang:F(function(n){return A.test(n||"")||I.error("unsupported lang: "+n),n=n.replace(O,P).toLowerCase(),function(e){var t;do{if(t=C?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=ie.location&&ie.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===r},focus:function(e){return e===function(){try{return T.activeElement}catch(e){}}()&&T.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:X(!1),disabled:X(!0),checked:function(e){return fe(e,"input")&&!!e.checked||fe(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!b.pseudos.empty(e)},header:function(e){return q.test(e.nodeName)},input:function(e){return N.test(e.nodeName)},button:function(e){return fe(e,"input")&&"button"===e.type||fe(e,"button")},text:function(e){var t;return fe(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:U(function(){return[0]}),last:U(function(e,t){return[t-1]}),eq:U(function(e,t,n){return[n<0?n+t:n]}),even:U(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:U(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:U(function(e,t,n){var r;for(r=n<0?n+t:t<n?t:n;0<=--r;)e.push(r);return e}),gt:U(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[e]=B(e);for(e in{submit:!0,reset:!0})b.pseudos[e]=_(e);function G(){}function Y(e,t){var n,r,i,o,a,s,u,l=c[e+" "];if(l)return t?0:l.slice(0);a=e,s=[],u=b.preFilter;while(a){for(o in n&&!(r=y.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(i=[])),n=!1,(r=m.exec(a))&&(n=r.shift(),i.push({value:n,type:r[0].replace(ve," ")}),a=a.slice(n.length)),b.filter)!(r=D[o].exec(a))||u[o]&&!(r=u[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?I.error(e):c(e,s).slice(0)}function Q(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function J(a,e,t){var s=e.dir,u=e.next,l=u||s,c=t&&"parentNode"===l,f=n++;return e.first?function(e,t,n){while(e=e[s])if(1===e.nodeType||c)return a(e,t,n);return!1}:function(e,t,n){var r,i,o=[E,f];if(n){while(e=e[s])if((1===e.nodeType||c)&&a(e,t,n))return!0}else while(e=e[s])if(1===e.nodeType||c)if(i=e[S]||(e[S]={}),u&&fe(e,u))e=e[s]||e;else{if((r=i[l])&&r[0]===E&&r[1]===f)return o[2]=r[2];if((i[l]=o)[2]=a(e,t,n))return!0}return!1}}function K(i){return 1<i.length?function(e,t,n){var r=i.length;while(r--)if(!i[r](e,t,n))return!1;return!0}:i[0]}function Z(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function ee(d,h,g,v,y,e){return v&&!v[S]&&(v=ee(v)),y&&!y[S]&&(y=ee(y,e)),F(function(e,t,n,r){var i,o,a,s,u=[],l=[],c=t.length,f=e||function(e,t,n){for(var r=0,i=t.length;r<i;r++)I(e,t[r],n);return n}(h||"*",n.nodeType?[n]:n,[]),p=!d||!e&&h?f:Z(f,u,d,n,r);if(g?g(p,s=y||(e?d:c||v)?[]:t,n,r):s=p,v){i=Z(s,l),v(i,[],n,r),o=i.length;while(o--)(a=i[o])&&(s[l[o]]=!(p[l[o]]=a))}if(e){if(y||d){if(y){i=[],o=s.length;while(o--)(a=s[o])&&i.push(p[o]=a);y(null,s=[],i,r)}o=s.length;while(o--)(a=s[o])&&-1<(i=y?se.call(e,a):u[o])&&(e[i]=!(t[i]=a))}}else s=Z(s===t?s.splice(c,s.length):s),y?y(null,t,s,r):k.apply(t,s)})}function te(e){for(var i,t,n,r=e.length,o=b.relative[e[0].type],a=o||b.relative[" "],s=o?1:0,u=J(function(e){return e===i},a,!0),l=J(function(e){return-1<se.call(i,e)},a,!0),c=[function(e,t,n){var r=!o&&(n||t!=w)||((i=t).nodeType?u(e,t,n):l(e,t,n));return i=null,r}];s<r;s++)if(t=b.relative[e[s].type])c=[J(K(c),t)];else{if((t=b.filter[e[s].type].apply(null,e[s].matches))[S]){for(n=++s;n<r;n++)if(b.relative[e[n].type])break;return ee(1<s&&K(c),1<s&&Q(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(ve,"$1"),t,s<n&&te(e.slice(s,n)),n<r&&te(e=e.slice(n)),n<r&&Q(e))}c.push(t)}return K(c)}function ne(e,t){var n,v,y,m,x,r,i=[],o=[],a=u[e+" "];if(!a){t||(t=Y(e)),n=t.length;while(n--)(a=te(t[n]))[S]?i.push(a):o.push(a);(a=u(e,(v=o,m=0<(y=i).length,x=0<v.length,r=function(e,t,n,r,i){var o,a,s,u=0,l="0",c=e&&[],f=[],p=w,d=e||x&&b.find.TAG("*",i),h=E+=null==p?1:Math.random()||.1,g=d.length;for(i&&(w=t==T||t||i);l!==g&&null!=(o=d[l]);l++){if(x&&o){a=0,t||o.ownerDocument==T||(V(o),n=!C);while(s=v[a++])if(s(o,t||T,n)){k.call(r,o);break}i&&(E=h)}m&&((o=!s&&o)&&u--,e&&c.push(o))}if(u+=l,m&&l!==u){a=0;while(s=y[a++])s(c,f,t,n);if(e){if(0<u)while(l--)c[l]||f[l]||(f[l]=pe.call(r));f=Z(f)}k.apply(r,f),i&&!e&&0<f.length&&1<u+y.length&&ce.uniqueSort(r)}return i&&(E=h,w=p),c},m?F(r):r))).selector=e}return a}function re(e,t,n,r){var i,o,a,s,u,l="function"==typeof e&&e,c=!r&&Y(e=l.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(a=o[0]).type&&9===t.nodeType&&C&&b.relative[o[1].type]){if(!(t=(b.find.ID(a.matches[0].replace(O,P),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}i=D.needsContext.test(e)?0:o.length;while(i--){if(a=o[i],b.relative[s=a.type])break;if((u=b.find[s])&&(r=u(a.matches[0].replace(O,P),H.test(o[0].type)&&z(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&Q(o)))return k.apply(n,r),n;break}}}return(l||ne(e,c))(r,t,!C,n,!t||H.test(e)&&z(t.parentNode)||t),n}G.prototype=b.filters=b.pseudos,b.setFilters=new G,le.sortStable=S.split("").sort(l).join("")===S,V(),le.sortDetached=$(function(e){return 1&e.compareDocumentPosition(T.createElement("fieldset"))}),ce.find=I,ce.expr[":"]=ce.expr.pseudos,ce.unique=ce.uniqueSort,I.compile=ne,I.select=re,I.setDocument=V,I.escape=ce.escapeSelector,I.getText=ce.text,I.isXML=ce.isXMLDoc,I.selectors=ce.expr,I.support=ce.support,I.uniqueSort=ce.uniqueSort}();var d=function(e,t,n){var r=[],i=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&ce(e).is(n))break;r.push(e)}return r},h=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},b=ce.expr.match.needsContext,w=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function T(e,n,r){return v(n)?ce.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?ce.grep(e,function(e){return e===n!==r}):"string"!=typeof n?ce.grep(e,function(e){return-1<se.call(n,e)!==r}):ce.filter(n,e,r)}ce.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?ce.find.matchesSelector(r,e)?[r]:[]:ce.find.matches(e,ce.grep(t,function(e){return 1===e.nodeType}))},ce.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(ce(e).filter(function(){for(t=0;t<r;t++)if(ce.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)ce.find(e,i[t],n);return 1<r?ce.uniqueSort(n):n},filter:function(e){return this.pushStack(T(this,e||[],!1))},not:function(e){return this.pushStack(T(this,e||[],!0))},is:function(e){return!!T(this,"string"==typeof e&&b.test(e)?ce(e):e||[],!1).length}});var k,S=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(ce.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||k,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:S.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof ce?t[0]:t,ce.merge(this,ce.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),w.test(r[1])&&ce.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=C.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(ce):ce.makeArray(e,this)}).prototype=ce.fn,k=ce(C);var E=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function A(e,t){while((e=e[t])&&1!==e.nodeType);return e}ce.fn.extend({has:function(e){var t=ce(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(ce.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&ce(e);if(!b.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&ce.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?ce.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?se.call(ce(e),this[0]):se.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(ce.uniqueSort(ce.merge(this.get(),ce(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),ce.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return d(e,"parentNode")},parentsUntil:function(e,t,n){return d(e,"parentNode",n)},next:function(e){return A(e,"nextSibling")},prev:function(e){return A(e,"previousSibling")},nextAll:function(e){return d(e,"nextSibling")},prevAll:function(e){return d(e,"previousSibling")},nextUntil:function(e,t,n){return d(e,"nextSibling",n)},prevUntil:function(e,t,n){return d(e,"previousSibling",n)},siblings:function(e){return h((e.parentNode||{}).firstChild,e)},children:function(e){return h(e.firstChild)},contents:function(e){return null!=e.contentDocument&&r(e.contentDocument)?e.contentDocument:(fe(e,"template")&&(e=e.content||e),ce.merge([],e.childNodes))}},function(r,i){ce.fn[r]=function(e,t){var n=ce.map(this,i,e);return"Until"!==r.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=ce.filter(t,n)),1<this.length&&(j[r]||ce.uniqueSort(n),E.test(r)&&n.reverse()),this.pushStack(n)}});var D=/[^\x20\t\r\n\f]+/g;function N(e){return e}function q(e){throw e}function L(e,t,n,r){var i;try{e&&v(i=e.promise)?i.call(e).done(t).fail(n):e&&v(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}ce.Callbacks=function(r){var e,n;r="string"==typeof r?(e=r,n={},ce.each(e.match(D)||[],function(e,t){n[t]=!0}),n):ce.extend({},r);var i,t,o,a,s=[],u=[],l=-1,c=function(){for(a=a||r.once,o=i=!0;u.length;l=-1){t=u.shift();while(++l<s.length)!1===s[l].apply(t[0],t[1])&&r.stopOnFalse&&(l=s.length,t=!1)}r.memory||(t=!1),i=!1,a&&(s=t?[]:"")},f={add:function(){return s&&(t&&!i&&(l=s.length-1,u.push(t)),function n(e){ce.each(e,function(e,t){v(t)?r.unique&&f.has(t)||s.push(t):t&&t.length&&"string"!==x(t)&&n(t)})}(arguments),t&&!i&&c()),this},remove:function(){return ce.each(arguments,function(e,t){var n;while(-1<(n=ce.inArray(t,s,n)))s.splice(n,1),n<=l&&l--}),this},has:function(e){return e?-1<ce.inArray(e,s):0<s.length},empty:function(){return s&&(s=[]),this},disable:function(){return a=u=[],s=t="",this},disabled:function(){return!s},lock:function(){return a=u=[],t||i||(s=t=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],u.push(t),i||c()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!o}};return f},ce.extend({Deferred:function(e){var o=[["notify","progress",ce.Callbacks("memory"),ce.Callbacks("memory"),2],["resolve","done",ce.Callbacks("once memory"),ce.Callbacks("once memory"),0,"resolved"],["reject","fail",ce.Callbacks("once memory"),ce.Callbacks("once memory"),1,"rejected"]],i="pending",a={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},"catch":function(e){return a.then(null,e)},pipe:function(){var i=arguments;return ce.Deferred(function(r){ce.each(o,function(e,t){var n=v(i[t[4]])&&i[t[4]];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&v(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this,n?[e]:arguments)})}),i=null}).promise()},then:function(t,n,r){var u=0;function l(i,o,a,s){return function(){var n=this,r=arguments,e=function(){var e,t;if(!(i<u)){if((e=a.apply(n,r))===o.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,v(t)?s?t.call(e,l(u,o,N,s),l(u,o,q,s)):(u++,t.call(e,l(u,o,N,s),l(u,o,q,s),l(u,o,N,o.notifyWith))):(a!==N&&(n=void 0,r=[e]),(s||o.resolveWith)(n,r))}},t=s?e:function(){try{e()}catch(e){ce.Deferred.exceptionHook&&ce.Deferred.exceptionHook(e,t.error),u<=i+1&&(a!==q&&(n=void 0,r=[e]),o.rejectWith(n,r))}};i?t():(ce.Deferred.getErrorHook?t.error=ce.Deferred.getErrorHook():ce.Deferred.getStackHook&&(t.error=ce.Deferred.getStackHook()),ie.setTimeout(t))}}return ce.Deferred(function(e){o[0][3].add(l(0,e,v(r)?r:N,e.notifyWith)),o[1][3].add(l(0,e,v(t)?t:N)),o[2][3].add(l(0,e,v(n)?n:q))}).promise()},promise:function(e){return null!=e?ce.extend(e,a):a}},s={};return ce.each(o,function(e,t){var n=t[2],r=t[5];a[t[1]]=n.add,r&&n.add(function(){i=r},o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[0][3].lock),n.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?void 0:this,arguments),this},s[t[0]+"With"]=n.fireWith}),a.promise(s),e&&e.call(s,s),s},when:function(e){var n=arguments.length,t=n,r=Array(t),i=ae.call(arguments),o=ce.Deferred(),a=function(t){return function(e){r[t]=this,i[t]=1<arguments.length?ae.call(arguments):e,--n||o.resolveWith(r,i)}};if(n<=1&&(L(e,o.done(a(t)).resolve,o.reject,!n),"pending"===o.state()||v(i[t]&&i[t].then)))return o.then();while(t--)L(i[t],a(t),o.reject);return o.promise()}});var H=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;ce.Deferred.exceptionHook=function(e,t){ie.console&&ie.console.warn&&e&&H.test(e.name)&&ie.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},ce.readyException=function(e){ie.setTimeout(function(){throw e})};var O=ce.Deferred();function P(){C.removeEventListener("DOMContentLoaded",P),ie.removeEventListener("load",P),ce.ready()}ce.fn.ready=function(e){return O.then(e)["catch"](function(e){ce.readyException(e)}),this},ce.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--ce.readyWait:ce.isReady)||(ce.isReady=!0)!==e&&0<--ce.readyWait||O.resolveWith(C,[ce])}}),ce.ready.then=O.then,"complete"===C.readyState||"loading"!==C.readyState&&!C.documentElement.doScroll?ie.setTimeout(ce.ready):(C.addEventListener("DOMContentLoaded",P),ie.addEventListener("load",P));var R=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===x(n))for(s in i=!0,n)R(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,v(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(ce(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},M=/^-ms-/,I=/-([a-z])/g;function W(e,t){return t.toUpperCase()}function F(e){return e.replace(M,"ms-").replace(I,W)}var $=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function B(){this.expando=ce.expando+B.uid++}B.uid=1,B.prototype={cache:function(e){var t=e[this.expando];return t||(t={},$(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[F(t)]=n;else for(r in t)i[F(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][F(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(F):(t=F(t))in r?[t]:t.match(D)||[]).length;while(n--)delete r[t[n]]}(void 0===t||ce.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!ce.isEmptyObject(t)}};var _=new B,X=new B,U=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,z=/[A-Z]/g;function V(e,t,n){var r,i;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(z,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===(i=n)||"false"!==i&&("null"===i?null:i===+i+""?+i:U.test(i)?JSON.parse(i):i)}catch(e){}X.set(e,t,n)}else n=void 0;return n}ce.extend({hasData:function(e){return X.hasData(e)||_.hasData(e)},data:function(e,t,n){return X.access(e,t,n)},removeData:function(e,t){X.remove(e,t)},_data:function(e,t,n){return _.access(e,t,n)},_removeData:function(e,t){_.remove(e,t)}}),ce.fn.extend({data:function(n,e){var t,r,i,o=this[0],a=o&&o.attributes;if(void 0===n){if(this.length&&(i=X.get(o),1===o.nodeType&&!_.get(o,"hasDataAttrs"))){t=a.length;while(t--)a[t]&&0===(r=a[t].name).indexOf("data-")&&(r=F(r.slice(5)),V(o,r,i[r]));_.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof n?this.each(function(){X.set(this,n)}):R(this,function(e){var t;if(o&&void 0===e)return void 0!==(t=X.get(o,n))?t:void 0!==(t=V(o,n))?t:void 0;this.each(function(){X.set(this,n,e)})},null,e,1<arguments.length,null,!0)},removeData:function(e){return this.each(function(){X.remove(this,e)})}}),ce.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=_.get(e,t),n&&(!r||Array.isArray(n)?r=_.access(e,t,ce.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=ce.queue(e,t),r=n.length,i=n.shift(),o=ce._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){ce.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return _.get(e,n)||_.access(e,n,{empty:ce.Callbacks("once memory").add(function(){_.remove(e,[t+"queue",n])})})}}),ce.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?ce.queue(this[0],t):void 0===n?this:this.each(function(){var e=ce.queue(this,t,n);ce._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&ce.dequeue(this,t)})},dequeue:function(e){return this.each(function(){ce.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=ce.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};"string"!=typeof e&&(t=e,e=void 0),e=e||"fx";while(a--)(n=_.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var G=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Y=new RegExp("^(?:([+-])=|)("+G+")([a-z%]*)$","i"),Q=["Top","Right","Bottom","Left"],J=C.documentElement,K=function(e){return ce.contains(e.ownerDocument,e)},Z={composed:!0};J.getRootNode&&(K=function(e){return ce.contains(e.ownerDocument,e)||e.getRootNode(Z)===e.ownerDocument});var ee=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&K(e)&&"none"===ce.css(e,"display")};function te(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return ce.css(e,t,"")},u=s(),l=n&&n[3]||(ce.cssNumber[t]?"":"px"),c=e.nodeType&&(ce.cssNumber[t]||"px"!==l&&+u)&&Y.exec(ce.css(e,t));if(c&&c[3]!==l){u/=2,l=l||c[3],c=+u||1;while(a--)ce.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,ce.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var ne={};function re(e,t){for(var n,r,i,o,a,s,u,l=[],c=0,f=e.length;c<f;c++)(r=e[c]).style&&(n=r.style.display,t?("none"===n&&(l[c]=_.get(r,"display")||null,l[c]||(r.style.display="")),""===r.style.display&&ee(r)&&(l[c]=(u=a=o=void 0,a=(i=r).ownerDocument,s=i.nodeName,(u=ne[s])||(o=a.body.appendChild(a.createElement(s)),u=ce.css(o,"display"),o.parentNode.removeChild(o),"none"===u&&(u="block"),ne[s]=u)))):"none"!==n&&(l[c]="none",_.set(r,"display",n)));for(c=0;c<f;c++)null!=l[c]&&(e[c].style.display=l[c]);return e}ce.fn.extend({show:function(){return re(this,!0)},hide:function(){return re(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ee(this)?ce(this).show():ce(this).hide()})}});var xe,be,we=/^(?:checkbox|radio)$/i,Te=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ce=/^$|^module$|\/(?:java|ecma)script/i;xe=C.createDocumentFragment().appendChild(C.createElement("div")),(be=C.createElement("input")).setAttribute("type","radio"),be.setAttribute("checked","checked"),be.setAttribute("name","t"),xe.appendChild(be),le.checkClone=xe.cloneNode(!0).cloneNode(!0).lastChild.checked,xe.innerHTML="<textarea>x</textarea>",le.noCloneChecked=!!xe.cloneNode(!0).lastChild.defaultValue,xe.innerHTML="<option></option>",le.option=!!xe.lastChild;var ke={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function Se(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&fe(e,t)?ce.merge([e],n):n}function Ee(e,t){for(var n=0,r=e.length;n<r;n++)_.set(e[n],"globalEval",!t||_.get(t[n],"globalEval"))}ke.tbody=ke.tfoot=ke.colgroup=ke.caption=ke.thead,ke.th=ke.td,le.option||(ke.optgroup=ke.option=[1,"<select multiple='multiple'>","</select>"]);var je=/<|&#?\w+;/;function Ae(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d<h;d++)if((o=e[d])||0===o)if("object"===x(o))ce.merge(p,o.nodeType?[o]:o);else if(je.test(o)){a=a||f.appendChild(t.createElement("div")),s=(Te.exec(o)||["",""])[1].toLowerCase(),u=ke[s]||ke._default,a.innerHTML=u[1]+ce.htmlPrefilter(o)+u[2],c=u[0];while(c--)a=a.lastChild;ce.merge(p,a.childNodes),(a=f.firstChild).textContent=""}else p.push(t.createTextNode(o));f.textContent="",d=0;while(o=p[d++])if(r&&-1<ce.inArray(o,r))i&&i.push(o);else if(l=K(o),a=Se(f.appendChild(o),"script"),l&&Ee(a),n){c=0;while(o=a[c++])Ce.test(o.type||"")&&n.push(o)}return f}var De=/^([^.]*)(?:\.(.+)|)/;function Ne(){return!0}function qe(){return!1}function Le(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Le(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=qe;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return ce().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=ce.guid++)),e.each(function(){ce.event.add(this,t,i,r,n)})}function He(e,r,t){t?(_.set(e,r,!1),ce.event.add(e,r,{namespace:!1,handler:function(e){var t,n=_.get(this,r);if(1&e.isTrigger&&this[r]){if(n)(ce.event.special[r]||{}).delegateType&&e.stopPropagation();else if(n=ae.call(arguments),_.set(this,r,n),this[r](),t=_.get(this,r),_.set(this,r,!1),n!==t)return e.stopImmediatePropagation(),e.preventDefault(),t}else n&&(_.set(this,r,ce.event.trigger(n[0],n.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Ne)}})):void 0===_.get(e,r)&&ce.event.add(e,r,Ne)}ce.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=_.get(t);if($(t)){n.handler&&(n=(o=n).handler,i=o.selector),i&&ce.find.matchesSelector(J,i),n.guid||(n.guid=ce.guid++),(u=v.events)||(u=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof ce&&ce.event.triggered!==e.type?ce.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(D)||[""]).length;while(l--)d=g=(s=De.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=ce.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=ce.event.special[d]||{},c=ce.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&ce.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),ce.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=_.hasData(e)&&_.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(D)||[""]).length;while(l--)if(d=g=(s=De.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=ce.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||ce.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)ce.event.remove(e,d+t[l],n,r,!0);ce.isEmptyObject(u)&&_.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),u=ce.event.fix(e),l=(_.get(this,"events")||Object.create(null))[u.type]||[],c=ce.event.special[u.type]||{};for(s[0]=u,t=1;t<arguments.length;t++)s[t]=arguments[t];if(u.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,u)){a=ce.event.handlers.call(this,u,l),t=0;while((i=a[t++])&&!u.isPropagationStopped()){u.currentTarget=i.elem,n=0;while((o=i.handlers[n++])&&!u.isImmediatePropagationStopped())u.rnamespace&&!1!==o.namespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,void 0!==(r=((ce.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&1<=e.button))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?-1<ce(i,this).index(l):ce.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(t,e){Object.defineProperty(ce.Event.prototype,t,{enumerable:!0,configurable:!0,get:v(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[ce.expando]?e:new ce.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return we.test(t.type)&&t.click&&fe(t,"input")&&He(t,"click",!0),!1},trigger:function(e){var t=this||e;return we.test(t.type)&&t.click&&fe(t,"input")&&He(t,"click"),!0},_default:function(e){var t=e.target;return we.test(t.type)&&t.click&&fe(t,"input")&&_.get(t,"click")||fe(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},ce.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},ce.Event=function(e,t){if(!(this instanceof ce.Event))return new ce.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ne:qe,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&ce.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[ce.expando]=!0},ce.Event.prototype={constructor:ce.Event,isDefaultPrevented:qe,isPropagationStopped:qe,isImmediatePropagationStopped:qe,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ne,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ne,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ne,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},ce.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},ce.event.addProp),ce.each({focus:"focusin",blur:"focusout"},function(r,i){function o(e){if(C.documentMode){var t=_.get(this,"handle"),n=ce.event.fix(e);n.type="focusin"===e.type?"focus":"blur",n.isSimulated=!0,t(e),n.target===n.currentTarget&&t(n)}else ce.event.simulate(i,e.target,ce.event.fix(e))}ce.event.special[r]={setup:function(){var e;if(He(this,r,!0),!C.documentMode)return!1;(e=_.get(this,i))||this.addEventListener(i,o),_.set(this,i,(e||0)+1)},trigger:function(){return He(this,r),!0},teardown:function(){var e;if(!C.documentMode)return!1;(e=_.get(this,i)-1)?_.set(this,i,e):(this.removeEventListener(i,o),_.remove(this,i))},_default:function(e){return _.get(e.target,r)},delegateType:i},ce.event.special[i]={setup:function(){var e=this.ownerDocument||this.document||this,t=C.documentMode?this:e,n=_.get(t,i);n||(C.documentMode?this.addEventListener(i,o):e.addEventListener(r,o,!0)),_.set(t,i,(n||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=C.documentMode?this:e,n=_.get(t,i)-1;n?_.set(t,i,n):(C.documentMode?this.removeEventListener(i,o):e.removeEventListener(r,o,!0),_.remove(t,i))}}}),ce.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){ce.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||ce.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=i),t}}}),ce.fn.extend({on:function(e,t,n,r){return Le(this,e,t,n,r)},one:function(e,t,n,r){return Le(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,ce(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=qe),this.each(function(){ce.event.remove(this,e,n,t)})}});var Oe=/<script|<style|<link/i,Pe=/checked\s*(?:[^=]|=\s*.checked.)/i,Re=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Me(e,t){return fe(e,"table")&&fe(11!==t.nodeType?t:t.firstChild,"tr")&&ce(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function We(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(_.hasData(e)&&(s=_.get(e).events))for(i in _.remove(t,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)ce.event.add(t,i,s[i][n]);X.hasData(e)&&(o=X.access(e),a=ce.extend({},o),X.set(t,a))}}function $e(n,r,i,o){r=g(r);var e,t,a,s,u,l,c=0,f=n.length,p=f-1,d=r[0],h=v(d);if(h||1<f&&"string"==typeof d&&!le.checkClone&&Pe.test(d))return n.each(function(e){var t=n.eq(e);h&&(r[0]=d.call(this,e,t.html())),$e(t,r,i,o)});if(f&&(t=(e=Ae(r,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(s=(a=ce.map(Se(e,"script"),Ie)).length;c<f;c++)u=e,c!==p&&(u=ce.clone(u,!0,!0),s&&ce.merge(a,Se(u,"script"))),i.call(n[c],u,c);if(s)for(l=a[a.length-1].ownerDocument,ce.map(a,We),c=0;c<s;c++)u=a[c],Ce.test(u.type||"")&&!_.access(u,"globalEval")&&ce.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?ce._evalUrl&&!u.noModule&&ce._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},l):m(u.textContent.replace(Re,""),u,l))}return n}function Be(e,t,n){for(var r,i=t?ce.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||ce.cleanData(Se(r)),r.parentNode&&(n&&K(r)&&Ee(Se(r,"script")),r.parentNode.removeChild(r));return e}ce.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=K(e);if(!(le.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||ce.isXMLDoc(e)))for(a=Se(c),r=0,i=(o=Se(e)).length;r<i;r++)s=o[r],u=a[r],void 0,"input"===(l=u.nodeName.toLowerCase())&&we.test(s.type)?u.checked=s.checked:"input"!==l&&"textarea"!==l||(u.defaultValue=s.defaultValue);if(t)if(n)for(o=o||Se(e),a=a||Se(c),r=0,i=o.length;r<i;r++)Fe(o[r],a[r]);else Fe(e,c);return 0<(a=Se(c,"script")).length&&Ee(a,!f&&Se(e,"script")),c},cleanData:function(e){for(var t,n,r,i=ce.event.special,o=0;void 0!==(n=e[o]);o++)if($(n)){if(t=n[_.expando]){if(t.events)for(r in t.events)i[r]?ce.event.remove(n,r):ce.removeEvent(n,r,t.handle);n[_.expando]=void 0}n[X.expando]&&(n[X.expando]=void 0)}}}),ce.fn.extend({detach:function(e){return Be(this,e,!0)},remove:function(e){return Be(this,e)},text:function(e){return R(this,function(e){return void 0===e?ce.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return $e(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Me(this,e).appendChild(e)})},prepend:function(){return $e(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Me(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return $e(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return $e(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(ce.cleanData(Se(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return ce.clone(this,e,t)})},html:function(e){return R(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Oe.test(e)&&!ke[(Te.exec(e)||["",""])[1].toLowerCase()]){e=ce.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(ce.cleanData(Se(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return $e(this,arguments,function(e){var t=this.parentNode;ce.inArray(this,n)<0&&(ce.cleanData(Se(this)),t&&t.replaceChild(e,this))},n)}}),ce.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){ce.fn[e]=function(e){for(var t,n=[],r=ce(e),i=r.length-1,o=0;o<=i;o++)t=o===i?this:this.clone(!0),ce(r[o])[a](t),s.apply(n,t.get());return this.pushStack(n)}});var _e=new RegExp("^("+G+")(?!px)[a-z%]+$","i"),Xe=/^--/,Ue=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=ie),t.getComputedStyle(e)},ze=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},Ve=new RegExp(Q.join("|"),"i");function Ge(e,t,n){var r,i,o,a,s=Xe.test(t),u=e.style;return(n=n||Ue(e))&&(a=n.getPropertyValue(t)||n[t],s&&a&&(a=a.replace(ve,"$1")||void 0),""!==a||K(e)||(a=ce.style(e,t)),!le.pixelBoxStyles()&&_e.test(a)&&Ve.test(t)&&(r=u.width,i=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=a,a=n.width,u.width=r,u.minWidth=i,u.maxWidth=o)),void 0!==a?a+"":a}function Ye(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(l){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",J.appendChild(u).appendChild(l);var e=ie.getComputedStyle(l);n="1%"!==e.top,s=12===t(e.marginLeft),l.style.right="60%",o=36===t(e.right),r=36===t(e.width),l.style.position="absolute",i=12===t(l.offsetWidth/3),J.removeChild(u),l=null}}function t(e){return Math.round(parseFloat(e))}var n,r,i,o,a,s,u=C.createElement("div"),l=C.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",le.clearCloneStyle="content-box"===l.style.backgroundClip,ce.extend(le,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),o},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),s},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,n,r;return null==a&&(e=C.createElement("table"),t=C.createElement("tr"),n=C.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",J.appendChild(e).appendChild(t).appendChild(n),r=ie.getComputedStyle(t),a=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===t.offsetHeight,J.removeChild(e)),a}}))}();var Qe=["Webkit","Moz","ms"],Je=C.createElement("div").style,Ke={};function Ze(e){var t=ce.cssProps[e]||Ke[e];return t||(e in Je?e:Ke[e]=function(e){var t=e[0].toUpperCase()+e.slice(1),n=Qe.length;while(n--)if((e=Qe[n]+t)in Je)return e}(e)||e)}var et=/^(none|table(?!-c[ea]).+)/,tt={position:"absolute",visibility:"hidden",display:"block"},nt={letterSpacing:"0",fontWeight:"400"};function rt(e,t,n){var r=Y.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function it(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0,l=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=ce.css(e,n+Q[a],!0,i)),r?("content"===n&&(u-=ce.css(e,"padding"+Q[a],!0,i)),"margin"!==n&&(u-=ce.css(e,"border"+Q[a]+"Width",!0,i))):(u+=ce.css(e,"padding"+Q[a],!0,i),"padding"!==n?u+=ce.css(e,"border"+Q[a]+"Width",!0,i):s+=ce.css(e,"border"+Q[a]+"Width",!0,i));return!r&&0<=o&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u+l}function ot(e,t,n){var r=Ue(e),i=(!le.boxSizingReliable()||n)&&"border-box"===ce.css(e,"boxSizing",!1,r),o=i,a=Ge(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(_e.test(a)){if(!n)return a;a="auto"}return(!le.boxSizingReliable()&&i||!le.reliableTrDimensions()&&fe(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===ce.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===ce.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+it(e,t,n||(i?"border":"content"),o,r,a)+"px"}function at(e,t,n,r,i){return new at.prototype.init(e,t,n,r,i)}ce.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ge(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=F(t),u=Xe.test(t),l=e.style;if(u||(t=Ze(s)),a=ce.cssHooks[t]||ce.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"===(o=typeof n)&&(i=Y.exec(n))&&i[1]&&(n=te(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(ce.cssNumber[s]?"":"px")),le.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=F(t);return Xe.test(t)||(t=Ze(s)),(a=ce.cssHooks[t]||ce.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Ge(e,t,r)),"normal"===i&&t in nt&&(i=nt[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),ce.each(["height","width"],function(e,u){ce.cssHooks[u]={get:function(e,t,n){if(t)return!et.test(ce.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ot(e,u,n):ze(e,tt,function(){return ot(e,u,n)})},set:function(e,t,n){var r,i=Ue(e),o=!le.scrollboxSize()&&"absolute"===i.position,a=(o||n)&&"border-box"===ce.css(e,"boxSizing",!1,i),s=n?it(e,u,n,a,i):0;return a&&o&&(s-=Math.ceil(e["offset"+u[0].toUpperCase()+u.slice(1)]-parseFloat(i[u])-it(e,u,"border",!1,i)-.5)),s&&(r=Y.exec(t))&&"px"!==(r[3]||"px")&&(e.style[u]=t,t=ce.css(e,u)),rt(0,t,s)}}}),ce.cssHooks.marginLeft=Ye(le.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ge(e,"marginLeft"))||e.getBoundingClientRect().left-ze(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),ce.each({margin:"",padding:"",border:"Width"},function(i,o){ce.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+Q[t]+o]=r[t]||r[t-2]||r[0];return n}},"margin"!==i&&(ce.cssHooks[i+o].set=rt)}),ce.fn.extend({css:function(e,t){return R(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=Ue(e),i=t.length;a<i;a++)o[t[a]]=ce.css(e,t[a],!1,r);return o}return void 0!==n?ce.style(e,t,n):ce.css(e,t)},e,t,1<arguments.length)}}),((ce.Tween=at).prototype={constructor:at,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||ce.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(ce.cssNumber[n]?"":"px")},cur:function(){var e=at.propHooks[this.prop];return e&&e.get?e.get(this):at.propHooks._default.get(this)},run:function(e){var t,n=at.propHooks[this.prop];return this.options.duration?this.pos=t=ce.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):at.propHooks._default.set(this),this}}).init.prototype=at.prototype,(at.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=ce.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){ce.fx.step[e.prop]?ce.fx.step[e.prop](e):1!==e.elem.nodeType||!ce.cssHooks[e.prop]&&null==e.elem.style[Ze(e.prop)]?e.elem[e.prop]=e.now:ce.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=at.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},ce.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},ce.fx=at.prototype.init,ce.fx.step={};var st,ut,lt,ct,ft=/^(?:toggle|show|hide)$/,pt=/queueHooks$/;function dt(){ut&&(!1===C.hidden&&ie.requestAnimationFrame?ie.requestAnimationFrame(dt):ie.setTimeout(dt,ce.fx.interval),ce.fx.tick())}function ht(){return ie.setTimeout(function(){st=void 0}),st=Date.now()}function gt(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=Q[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function vt(e,t,n){for(var r,i=(yt.tweeners[t]||[]).concat(yt.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function yt(o,e,t){var n,a,r=0,i=yt.prefilters.length,s=ce.Deferred().always(function(){delete u.elem}),u=function(){if(a)return!1;for(var e=st||ht(),t=Math.max(0,l.startTime+l.duration-e),n=1-(t/l.duration||0),r=0,i=l.tweens.length;r<i;r++)l.tweens[r].run(n);return s.notifyWith(o,[l,n,t]),n<1&&i?t:(i||s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l]),!1)},l=s.promise({elem:o,props:ce.extend({},e),opts:ce.extend(!0,{specialEasing:{},easing:ce.easing._default},t),originalProperties:e,originalOptions:t,startTime:st||ht(),duration:t.duration,tweens:[],createTween:function(e,t){var n=ce.Tween(o,l.opts,e,t,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(n),n},stop:function(e){var t=0,n=e?l.tweens.length:0;if(a)return this;for(a=!0;t<n;t++)l.tweens[t].run(1);return e?(s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l,e])):s.rejectWith(o,[l,e]),this}}),c=l.props;for(!function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=F(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=ce.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(c,l.opts.specialEasing);r<i;r++)if(n=yt.prefilters[r].call(l,o,c,l.opts))return v(n.stop)&&(ce._queueHooks(l.elem,l.opts.queue).stop=n.stop.bind(n)),n;return ce.map(c,vt,l),v(l.opts.start)&&l.opts.start.call(o,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),ce.fx.timer(ce.extend(u,{elem:o,anim:l,queue:l.opts.queue})),l}ce.Animation=ce.extend(yt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return te(n.elem,e,Y.exec(t),n),n}]},tweener:function(e,t){v(e)?(t=e,e=["*"]):e=e.match(D);for(var n,r=0,i=e.length;r<i;r++)n=e[r],yt.tweeners[n]=yt.tweeners[n]||[],yt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,u,l,c,f="width"in t||"height"in t,p=this,d={},h=e.style,g=e.nodeType&&ee(e),v=_.get(e,"fxshow");for(r in n.queue||(null==(a=ce._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,ce.queue(e,"fx").length||a.empty.fire()})})),t)if(i=t[r],ft.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!v||void 0===v[r])continue;g=!0}d[r]=v&&v[r]||ce.style(e,r)}if((u=!ce.isEmptyObject(t))||!ce.isEmptyObject(d))for(r in f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=v&&v.display)&&(l=_.get(e,"display")),"none"===(c=ce.css(e,"display"))&&(l?c=l:(re([e],!0),l=e.style.display||l,c=ce.css(e,"display"),re([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===ce.css(e,"float")&&(u||(p.done(function(){h.display=l}),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1,d)u||(v?"hidden"in v&&(g=v.hidden):v=_.access(e,"fxshow",{display:l}),o&&(v.hidden=!g),g&&re([e],!0),p.done(function(){for(r in g||re([e]),_.remove(e,"fxshow"),d)ce.style(e,r,d[r])})),u=vt(g?v[r]:0,r,p),r in v||(v[r]=u.start,g&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?yt.prefilters.unshift(e):yt.prefilters.push(e)}}),ce.speed=function(e,t,n){var r=e&&"object"==typeof e?ce.extend({},e):{complete:n||!n&&t||v(e)&&e,duration:e,easing:n&&t||t&&!v(t)&&t};return ce.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in ce.fx.speeds?r.duration=ce.fx.speeds[r.duration]:r.duration=ce.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){v(r.old)&&r.old.call(this),r.queue&&ce.dequeue(this,r.queue)},r},ce.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ee).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){var i=ce.isEmptyObject(t),o=ce.speed(e,n,r),a=function(){var e=yt(this,ce.extend({},t),o);(i||_.get(this,"finish"))&&e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(i,e,o){var a=function(e){var t=e.stop;delete e.stop,t(o)};return"string"!=typeof i&&(o=e,e=i,i=void 0),e&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=ce.timers,r=_.get(this);if(t)r[t]&&r[t].stop&&a(r[t]);else for(t in r)r[t]&&r[t].stop&&pt.test(t)&&a(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||ce.dequeue(this,i)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=_.get(this),n=t[a+"queue"],r=t[a+"queueHooks"],i=ce.timers,o=n?n.length:0;for(t.finish=!0,ce.queue(this,a,[]),r&&r.stop&&r.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===a&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),ce.each(["toggle","show","hide"],function(e,r){var i=ce.fn[r];ce.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(gt(r,!0),e,t,n)}}),ce.each({slideDown:gt("show"),slideUp:gt("hide"),slideToggle:gt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){ce.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),ce.timers=[],ce.fx.tick=function(){var e,t=0,n=ce.timers;for(st=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||ce.fx.stop(),st=void 0},ce.fx.timer=function(e){ce.timers.push(e),ce.fx.start()},ce.fx.interval=13,ce.fx.start=function(){ut||(ut=!0,dt())},ce.fx.stop=function(){ut=null},ce.fx.speeds={slow:600,fast:200,_default:400},ce.fn.delay=function(r,e){return r=ce.fx&&ce.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=ie.setTimeout(e,r);t.stop=function(){ie.clearTimeout(n)}})},lt=C.createElement("input"),ct=C.createElement("select").appendChild(C.createElement("option")),lt.type="checkbox",le.checkOn=""!==lt.value,le.optSelected=ct.selected,(lt=C.createElement("input")).value="t",lt.type="radio",le.radioValue="t"===lt.value;var mt,xt=ce.expr.attrHandle;ce.fn.extend({attr:function(e,t){return R(this,ce.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){ce.removeAttr(this,e)})}}),ce.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?ce.prop(e,t,n):(1===o&&ce.isXMLDoc(e)||(i=ce.attrHooks[t.toLowerCase()]||(ce.expr.match.bool.test(t)?mt:void 0)),void 0!==n?null===n?void ce.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=ce.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!le.radioValue&&"radio"===t&&fe(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(D);if(i&&1===e.nodeType)while(n=i[r++])e.removeAttribute(n)}}),mt={set:function(e,t,n){return!1===t?ce.removeAttr(e,n):e.setAttribute(n,n),n}},ce.each(ce.expr.match.bool.source.match(/\w+/g),function(e,t){var a=xt[t]||ce.find.attr;xt[t]=function(e,t,n){var r,i,o=t.toLowerCase();return n||(i=xt[o],xt[o]=r,r=null!=a(e,t,n)?o:null,xt[o]=i),r}});var bt=/^(?:input|select|textarea|button)$/i,wt=/^(?:a|area)$/i;function Tt(e){return(e.match(D)||[]).join(" ")}function Ct(e){return e.getAttribute&&e.getAttribute("class")||""}function kt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(D)||[]}ce.fn.extend({prop:function(e,t){return R(this,ce.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[ce.propFix[e]||e]})}}),ce.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&ce.isXMLDoc(e)||(t=ce.propFix[t]||t,i=ce.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=ce.find.attr(e,"tabindex");return t?parseInt(t,10):bt.test(e.nodeName)||wt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),le.optSelected||(ce.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),ce.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ce.propFix[this.toLowerCase()]=this}),ce.fn.extend({addClass:function(t){var e,n,r,i,o,a;return v(t)?this.each(function(e){ce(this).addClass(t.call(this,e,Ct(this)))}):(e=kt(t)).length?this.each(function(){if(r=Ct(this),n=1===this.nodeType&&" "+Tt(r)+" "){for(o=0;o<e.length;o++)i=e[o],n.indexOf(" "+i+" ")<0&&(n+=i+" ");a=Tt(n),r!==a&&this.setAttribute("class",a)}}):this},removeClass:function(t){var e,n,r,i,o,a;return v(t)?this.each(function(e){ce(this).removeClass(t.call(this,e,Ct(this)))}):arguments.length?(e=kt(t)).length?this.each(function(){if(r=Ct(this),n=1===this.nodeType&&" "+Tt(r)+" "){for(o=0;o<e.length;o++){i=e[o];while(-1<n.indexOf(" "+i+" "))n=n.replace(" "+i+" "," ")}a=Tt(n),r!==a&&this.setAttribute("class",a)}}):this:this.attr("class","")},toggleClass:function(t,n){var e,r,i,o,a=typeof t,s="string"===a||Array.isArray(t);return v(t)?this.each(function(e){ce(this).toggleClass(t.call(this,e,Ct(this),n),n)}):"boolean"==typeof n&&s?n?this.addClass(t):this.removeClass(t):(e=kt(t),this.each(function(){if(s)for(o=ce(this),i=0;i<e.length;i++)r=e[i],o.hasClass(r)?o.removeClass(r):o.addClass(r);else void 0!==t&&"boolean"!==a||((r=Ct(this))&&_.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===t?"":_.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++])if(1===n.nodeType&&-1<(" "+Tt(Ct(n))+" ").indexOf(t))return!0;return!1}});var St=/\r/g;ce.fn.extend({val:function(n){var r,e,i,t=this[0];return arguments.length?(i=v(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=i?n.call(this,e,ce(this).val()):n)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=ce.map(t,function(e){return null==e?"":e+""})),(r=ce.valHooks[this.type]||ce.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&void 0!==r.set(this,t,"value")||(this.value=t))})):t?(r=ce.valHooks[t.type]||ce.valHooks[t.nodeName.toLowerCase()])&&"get"in r&&void 0!==(e=r.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(St,""):null==e?"":e:void 0}}),ce.extend({valHooks:{option:{get:function(e){var t=ce.find.attr(e,"value");return null!=t?t:Tt(ce.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!fe(n.parentNode,"optgroup"))){if(t=ce(n).val(),a)return t;s.push(t)}return s},set:function(e,t){var n,r,i=e.options,o=ce.makeArray(t),a=i.length;while(a--)((r=i[a]).selected=-1<ce.inArray(ce.valHooks.option.get(r),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),ce.each(["radio","checkbox"],function(){ce.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<ce.inArray(ce(e).val(),t)}},le.checkOn||(ce.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Et=ie.location,jt={guid:Date.now()},At=/\?/;ce.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new ie.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||ce.error("Invalid XML: "+(n?ce.map(n.childNodes,function(e){return e.textContent}).join("\n"):e)),t};var Dt=/^(?:focusinfocus|focusoutblur)$/,Nt=function(e){e.stopPropagation()};ce.extend(ce.event,{trigger:function(e,t,n,r){var i,o,a,s,u,l,c,f,p=[n||C],d=ue.call(e,"type")?e.type:e,h=ue.call(e,"namespace")?e.namespace.split("."):[];if(o=f=a=n=n||C,3!==n.nodeType&&8!==n.nodeType&&!Dt.test(d+ce.event.triggered)&&(-1<d.indexOf(".")&&(d=(h=d.split(".")).shift(),h.sort()),u=d.indexOf(":")<0&&"on"+d,(e=e[ce.expando]?e:new ce.Event(d,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:ce.makeArray(t,[e]),c=ce.event.special[d]||{},r||!c.trigger||!1!==c.trigger.apply(n,t))){if(!r&&!c.noBubble&&!y(n)){for(s=c.delegateType||d,Dt.test(s+d)||(o=o.parentNode);o;o=o.parentNode)p.push(o),a=o;a===(n.ownerDocument||C)&&p.push(a.defaultView||a.parentWindow||ie)}i=0;while((o=p[i++])&&!e.isPropagationStopped())f=o,e.type=1<i?s:c.bindType||d,(l=(_.get(o,"events")||Object.create(null))[e.type]&&_.get(o,"handle"))&&l.apply(o,t),(l=u&&o[u])&&l.apply&&$(o)&&(e.result=l.apply(o,t),!1===e.result&&e.preventDefault());return e.type=d,r||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(p.pop(),t)||!$(n)||u&&v(n[d])&&!y(n)&&((a=n[u])&&(n[u]=null),ce.event.triggered=d,e.isPropagationStopped()&&f.addEventListener(d,Nt),n[d](),e.isPropagationStopped()&&f.removeEventListener(d,Nt),ce.event.triggered=void 0,a&&(n[u]=a)),e.result}},simulate:function(e,t,n){var r=ce.extend(new ce.Event,n,{type:e,isSimulated:!0});ce.event.trigger(r,null,t)}}),ce.fn.extend({trigger:function(e,t){return this.each(function(){ce.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return ce.event.trigger(e,t,n,!0)}});var qt=/\[\]$/,Lt=/\r?\n/g,Ht=/^(?:submit|button|image|reset|file)$/i,Ot=/^(?:input|select|textarea|keygen)/i;function Pt(n,e,r,i){var t;if(Array.isArray(e))ce.each(e,function(e,t){r||qt.test(n)?i(n,t):Pt(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,r,i)});else if(r||"object"!==x(e))i(n,e);else for(t in e)Pt(n+"["+t+"]",e[t],r,i)}ce.param=function(e,t){var n,r=[],i=function(e,t){var n=v(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!ce.isPlainObject(e))ce.each(e,function(){i(this.name,this.value)});else for(n in e)Pt(n,e[n],t,i);return r.join("&")},ce.fn.extend({serialize:function(){return ce.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=ce.prop(this,"elements");return e?ce.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!ce(this).is(":disabled")&&Ot.test(this.nodeName)&&!Ht.test(e)&&(this.checked||!we.test(e))}).map(function(e,t){var n=ce(this).val();return null==n?null:Array.isArray(n)?ce.map(n,function(e){return{name:t.name,value:e.replace(Lt,"\r\n")}}):{name:t.name,value:n.replace(Lt,"\r\n")}}).get()}});var Rt=/%20/g,Mt=/#.*$/,It=/([?&])_=[^&]*/,Wt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ft=/^(?:GET|HEAD)$/,$t=/^\/\//,Bt={},_t={},Xt="*/".concat("*"),Ut=C.createElement("a");function zt(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(D)||[];if(v(t))while(n=i[r++])"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function Vt(t,i,o,a){var s={},u=t===_t;function l(e){var r;return s[e]=!0,ce.each(t[e]||[],function(e,t){var n=t(i,o,a);return"string"!=typeof n||u||s[n]?u?!(r=n):void 0:(i.dataTypes.unshift(n),l(n),!1)}),r}return l(i.dataTypes[0])||!s["*"]&&l("*")}function Gt(e,t){var n,r,i=ce.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&ce.extend(!0,e,r),e}Ut.href=Et.href,ce.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Et.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Et.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Xt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":ce.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Gt(Gt(e,ce.ajaxSettings),t):Gt(ce.ajaxSettings,e)},ajaxPrefilter:zt(Bt),ajaxTransport:zt(_t),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var c,f,p,n,d,r,h,g,i,o,v=ce.ajaxSetup({},t),y=v.context||v,m=v.context&&(y.nodeType||y.jquery)?ce(y):ce.event,x=ce.Deferred(),b=ce.Callbacks("once memory"),w=v.statusCode||{},a={},s={},u="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(h){if(!n){n={};while(t=Wt.exec(p))n[t[1].toLowerCase()+" "]=(n[t[1].toLowerCase()+" "]||[]).concat(t[2])}t=n[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return h?p:null},setRequestHeader:function(e,t){return null==h&&(e=s[e.toLowerCase()]=s[e.toLowerCase()]||e,a[e]=t),this},overrideMimeType:function(e){return null==h&&(v.mimeType=e),this},statusCode:function(e){var t;if(e)if(h)T.always(e[T.status]);else for(t in e)w[t]=[w[t],e[t]];return this},abort:function(e){var t=e||u;return c&&c.abort(t),l(0,t),this}};if(x.promise(T),v.url=((e||v.url||Et.href)+"").replace($t,Et.protocol+"//"),v.type=t.method||t.type||v.method||v.type,v.dataTypes=(v.dataType||"*").toLowerCase().match(D)||[""],null==v.crossDomain){r=C.createElement("a");try{r.href=v.url,r.href=r.href,v.crossDomain=Ut.protocol+"//"+Ut.host!=r.protocol+"//"+r.host}catch(e){v.crossDomain=!0}}if(v.data&&v.processData&&"string"!=typeof v.data&&(v.data=ce.param(v.data,v.traditional)),Vt(Bt,v,t,T),h)return T;for(i in(g=ce.event&&v.global)&&0==ce.active++&&ce.event.trigger("ajaxStart"),v.type=v.type.toUpperCase(),v.hasContent=!Ft.test(v.type),f=v.url.replace(Mt,""),v.hasContent?v.data&&v.processData&&0===(v.contentType||"").indexOf("application/x-www-form-urlencoded")&&(v.data=v.data.replace(Rt,"+")):(o=v.url.slice(f.length),v.data&&(v.processData||"string"==typeof v.data)&&(f+=(At.test(f)?"&":"?")+v.data,delete v.data),!1===v.cache&&(f=f.replace(It,"$1"),o=(At.test(f)?"&":"?")+"_="+jt.guid+++o),v.url=f+o),v.ifModified&&(ce.lastModified[f]&&T.setRequestHeader("If-Modified-Since",ce.lastModified[f]),ce.etag[f]&&T.setRequestHeader("If-None-Match",ce.etag[f])),(v.data&&v.hasContent&&!1!==v.contentType||t.contentType)&&T.setRequestHeader("Content-Type",v.contentType),T.setRequestHeader("Accept",v.dataTypes[0]&&v.accepts[v.dataTypes[0]]?v.accepts[v.dataTypes[0]]+("*"!==v.dataTypes[0]?", "+Xt+"; q=0.01":""):v.accepts["*"]),v.headers)T.setRequestHeader(i,v.headers[i]);if(v.beforeSend&&(!1===v.beforeSend.call(y,T,v)||h))return T.abort();if(u="abort",b.add(v.complete),T.done(v.success),T.fail(v.error),c=Vt(_t,v,t,T)){if(T.readyState=1,g&&m.trigger("ajaxSend",[T,v]),h)return T;v.async&&0<v.timeout&&(d=ie.setTimeout(function(){T.abort("timeout")},v.timeout));try{h=!1,c.send(a,l)}catch(e){if(h)throw e;l(-1,e)}}else l(-1,"No Transport");function l(e,t,n,r){var i,o,a,s,u,l=t;h||(h=!0,d&&ie.clearTimeout(d),c=void 0,p=r||"",T.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(s=function(e,t,n){var r,i,o,a,s=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}(v,T,n)),!i&&-1<ce.inArray("script",v.dataTypes)&&ce.inArray("json",v.dataTypes)<0&&(v.converters["text script"]=function(){}),s=function(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(v,s,T,i),i?(v.ifModified&&((u=T.getResponseHeader("Last-Modified"))&&(ce.lastModified[f]=u),(u=T.getResponseHeader("etag"))&&(ce.etag[f]=u)),204===e||"HEAD"===v.type?l="nocontent":304===e?l="notmodified":(l=s.state,o=s.data,i=!(a=s.error))):(a=l,!e&&l||(l="error",e<0&&(e=0))),T.status=e,T.statusText=(t||l)+"",i?x.resolveWith(y,[o,l,T]):x.rejectWith(y,[T,l,a]),T.statusCode(w),w=void 0,g&&m.trigger(i?"ajaxSuccess":"ajaxError",[T,v,i?o:a]),b.fireWith(y,[T,l]),g&&(m.trigger("ajaxComplete",[T,v]),--ce.active||ce.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return ce.get(e,t,n,"json")},getScript:function(e,t){return ce.get(e,void 0,t,"script")}}),ce.each(["get","post"],function(e,i){ce[i]=function(e,t,n,r){return v(t)&&(r=r||n,n=t,t=void 0),ce.ajax(ce.extend({url:e,type:i,dataType:r,data:t,success:n},ce.isPlainObject(e)&&e))}}),ce.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),ce._evalUrl=function(e,t,n){return ce.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){ce.globalEval(e,t,n)}})},ce.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=ce(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return v(n)?this.each(function(e){ce(this).wrapInner(n.call(this,e))}):this.each(function(){var e=ce(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=v(t);return this.each(function(e){ce(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){ce(this).replaceWith(this.childNodes)}),this}}),ce.expr.pseudos.hidden=function(e){return!ce.expr.pseudos.visible(e)},ce.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},ce.ajaxSettings.xhr=function(){try{return new ie.XMLHttpRequest}catch(e){}};var Yt={0:200,1223:204},Qt=ce.ajaxSettings.xhr();le.cors=!!Qt&&"withCredentials"in Qt,le.ajax=Qt=!!Qt,ce.ajaxTransport(function(i){var o,a;if(le.cors||Qt&&!i.crossDomain)return{send:function(e,t){var n,r=i.xhr();if(r.open(i.type,i.url,i.async,i.username,i.password),i.xhrFields)for(n in i.xhrFields)r[n]=i.xhrFields[n];for(n in i.mimeType&&r.overrideMimeType&&r.overrideMimeType(i.mimeType),i.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)r.setRequestHeader(n,e[n]);o=function(e){return function(){o&&(o=a=r.onload=r.onerror=r.onabort=r.ontimeout=r.onreadystatechange=null,"abort"===e?r.abort():"error"===e?"number"!=typeof r.status?t(0,"error"):t(r.status,r.statusText):t(Yt[r.status]||r.status,r.statusText,"text"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.responseText},r.getAllResponseHeaders()))}},r.onload=o(),a=r.onerror=r.ontimeout=o("error"),void 0!==r.onabort?r.onabort=a:r.onreadystatechange=function(){4===r.readyState&&ie.setTimeout(function(){o&&a()})},o=o("abort");try{r.send(i.hasContent&&i.data||null)}catch(e){if(o)throw e}},abort:function(){o&&o()}}}),ce.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),ce.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return ce.globalEval(e),e}}}),ce.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),ce.ajaxTransport("script",function(n){var r,i;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){r=ce("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(r[0])},abort:function(){i&&i()}}});var Jt,Kt=[],Zt=/(=)\?(?=&|$)|\?\?/;ce.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Kt.pop()||ce.expando+"_"+jt.guid++;return this[e]=!0,e}}),ce.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Zt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Zt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Zt,"$1"+r):!1!==e.jsonp&&(e.url+=(At.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||ce.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=ie[r],ie[r]=function(){o=arguments},n.always(function(){void 0===i?ce(ie).removeProp(r):ie[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Kt.push(r)),o&&v(i)&&i(o[0]),o=i=void 0}),"script"}),le.createHTMLDocument=((Jt=C.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Jt.childNodes.length),ce.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(le.createHTMLDocument?((r=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(r)):t=C),o=!n&&[],(i=w.exec(e))?[t.createElement(i[1])]:(i=Ae([e],t,o),o&&o.length&&ce(o).remove(),ce.merge([],i.childNodes)));var r,i,o},ce.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1<s&&(r=Tt(e.slice(s)),e=e.slice(0,s)),v(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0<a.length&&ce.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?ce("<div>").append(ce.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},ce.expr.pseudos.animated=function(t){return ce.grep(ce.timers,function(e){return t===e.elem}).length},ce.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=ce.css(e,"position"),c=ce(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=ce.css(e,"top"),u=ce.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),v(t)&&(t=t.call(e,n,ce.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},ce.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ce.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===ce.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===ce.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=ce(e).offset()).top+=ce.css(e,"borderTopWidth",!0),i.left+=ce.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-ce.css(r,"marginTop",!0),left:t.left-i.left-ce.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===ce.css(e,"position"))e=e.offsetParent;return e||J})}}),ce.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;ce.fn[t]=function(e){return R(this,function(e,t,n){var r;if(y(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),ce.each(["top","left"],function(e,n){ce.cssHooks[n]=Ye(le.pixelPosition,function(e,t){if(t)return t=Ge(e,n),_e.test(t)?ce(e).position()[n]+"px":t})}),ce.each({Height:"height",Width:"width"},function(a,s){ce.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){ce.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return R(this,function(e,t,n){var r;return y(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?ce.css(e,t,i):ce.style(e,t,n,i)},s,n?e:void 0,n)}})}),ce.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ce.fn[t]=function(e){return this.on(t,e)}}),ce.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),ce.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){ce.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}});var en=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;ce.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),v(e))return r=ae.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(ae.call(arguments)))}).guid=e.guid=e.guid||ce.guid++,i},ce.holdReady=function(e){e?ce.readyWait++:ce.ready(!0)},ce.isArray=Array.isArray,ce.parseJSON=JSON.parse,ce.nodeName=fe,ce.isFunction=v,ce.isWindow=y,ce.camelCase=F,ce.type=x,ce.now=Date.now,ce.isNumeric=function(e){var t=ce.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},ce.trim=function(e){return null==e?"":(e+"").replace(en,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return ce});var tn=ie.jQuery,nn=ie.$;return ce.noConflict=function(e){return ie.$===ce&&(ie.$=nn),e&&ie.jQuery===ce&&(ie.jQuery=tn),ce},"undefined"==typeof e&&(ie.jQuery=ie.$=ce),ce});


/*
 * jQuery throttle / debounce - v1.1 - 3/7/2010
 * http://benalman.com/projects/jquery-throttle-debounce-plugin/
 * 
 * Copyright (c) 2010 "Cowboy" Ben Alman
 * Dual licensed under the MIT and GPL licenses.
 * http://benalman.com/about/license/
 */
(function(b,c){var $=b.jQuery||b.Cowboy||(b.Cowboy={}),a;$.throttle=a=function(e,f,j,i){var h,d=0;if(typeof f!=="boolean"){i=j;j=f;f=c}function g(){var o=this,m=+new Date()-d,n=arguments;function l(){d=+new Date();j.apply(o,n)}function k(){h=c}if(i&&!h){l()}h&&clearTimeout(h);if(i===c&&m>e){l()}else{if(f!==true){h=setTimeout(i?k:l,i===c?e-m:e)}}}if($.guid){g.guid=j.guid=j.guid||$.guid++}return g};$.debounce=function(d,e,f){return f===c?a(d,e,false):a(d,f,e!==false)}})(this);

const delimiter = ":";
const delimetrRXP = new RegExp(delimiter);

class Emitter {
  constructor() {
    this._listeners = {};
    this._map = {};
    this._dev = true;
    this.delimiter = delimiter;
  }

  emit(event, message) {
    if (Array.isArray(event)) event = event.join(".");
    const res = [];

    if (this._listeners["*"] !== undefined) {
      let l = this._listeners["*"].length;

      while (l--) {
        res.push(this._listeners["*"][l].callback(message, event));
      }
    }

    if (this._listeners[event] !== undefined) {
      let l = this._listeners[event].length;

      while (l--) {
        res.push(this._listeners[event][l].callback(message, event));
      }
    }

    return res;
  }

  once(event, callback) {
    const _callback = (message) => {
      callback(message);
      this.off(event, _callback);
    };
    this.on(event, _callback);
  }

  addToPrefixMap(event) {
    const steps = event.split(".");

    let parent = this._map;

    for (let index = 0; index < steps.length; index++) {
      const element = steps[index];
      if (parent[element] === undefined) {
        parent[element] = {
          count: 1,
        };
      } else {
        parent[element].count += 1;
      }

      parent = parent[element];
    }
  }

  removeToPrefixMap(event) {
    const steps = event.split(".");

    let parent = this._map;

    for (let index = 0; index < steps.length; index++) {
      const element = steps[index];

      if (parent[element] !== undefined) {
        parent[element].count -= 1;

        if (parent[element].count === 0) {
          delete parent[element];
        } else {
          parent = parent[element];
        }
      }
    }
  }

  on(_event, callback) {
    if (Array.isArray(_event)) {
      const offArr = _event.map((e) => this.on(e, callback));

      return () => {
        return offArr.forEach((fn) => fn());
      };
    }

    if (!delimetrRXP.test(_event)) {
      _event = _event + `:${getUID()}`;
    }
    const [event, postfix] = _event.split(delimiter);

    this.addToPrefixMap(event);

    if (this._listeners[event] === undefined) this._listeners[event] = [];

    this._listeners[event].push({ _event, event, postfix, callback });

    return () => this.off(_event);
  }

  off(_event) {
    if (Array.isArray(_event)) return _event.forEach((e) => this.off(e));

    const [event, postfix] = _event.split(delimiter);

    if (event === "&") {
      // eslint-disable-next-line no-unused-vars
      for (let e in this._listeners) {
        this.off(`${e}${delimiter}${postfix}`);
      }

      return;
    }

    if (this._listeners[event] === undefined) this._listeners[event] = [];

    this._listeners[event].forEach((em, index) => {
      if (em._event === _event) {
        this.removeToPrefixMap(event);

        this._listeners[event].splice(index, 1);
      }
    });

    return this;
  }
}

const getUID = () => {
  return "_" + Math.random().toString(36).substr(2, 9);
};

const getStore = () => {
  const Storage = {
    set: async (key, value) => {
      return await localStorage.setItem(key, value);
    },
    get: async (key) => {
      return await localStorage.getItem(key);
    },
    setJSON: async (key, value) => {
      const v = typeof value === "string" ? value : JSON.stringify(value);

      return await Storage.set(key, v);
    },
    getJSON: async (key) => {
      const res = await Storage.get(key);

      return JSON.parse(res);
    },
    remove: async (key) => await localStorage.removeItem(key),
  };

  class Store extends Emitter {
    constructor({ key, defaultSchema = {} }, func = {}) {
      super();

      this.defaultSchema = defaultSchema;
      this.storageKey = key;
      this.temporary = key !== undefined ? false : true;
      this._ = {};
      this.__ = {};
      this._prepare = func?.prepare;
      this._inited = false;
    }

    async init() {
      if (this._inited) return;
      if (this.temporary === false) {
        const _ = await Storage.getJSON(this.storageKey);

        this._ = _ || {};
      } else {
        this._ = {};
      }

      if (this._prepare) {
        await this._prepare();
      }

      this._inited = true;
      this.memorize("event-inited", true);
    }

    get(oKey, def = undefined, handler = void 0) {
      if (this._inited === false) {
        throw new Error(`Store not inited ${this.storageKey} get`);
      }

      if (oKey === undefined) return this._;

      let [key] = oKey.split(Emitter.delimiter);
      let off = () => {};

      const isFunction = typeof handler === "function";

      const rRes = get(this.__, key);

      if (isFunction) {
        off = this.on(oKey, handler);
      }

      if (rRes !== undefined) {
        if (isFunction) {
          handler({ next: rRes, def });
          return off;
        } else {
          return rRes;
        }
      }

      const res = get(this._, key);

      if (res !== undefined) {
        if (isFunction) {
          handler({ next: res, def });
          return off;
        } else {
          return res;
        }
      }

      const dRes = get(this.defaultSchema, key);
      if (dRes !== undefined) {
        if (isFunction) {
          handler({ next: dRes, def });
          return off;
        } else {
          return dRes;
        }
      }

      if (def !== undefined) {
        if (isFunction) {
          handler({ next: def, def });
          return off;
        } else {
          return def;
        }
      }

      if (isFunction) {
        handler({ next: undefined, def });
        return off;
      } else {
        return undefined;
      }
    }

    remove(okey) {
      if (this._inited === false) {
        throw new Error(`Store not inited ${this.storageKey} remove`);
      }

      this.clear(okey);

      this.off(okey);
    }

    clear(key) {
      if (this._inited === false) {
        throw new Error(`Store not inited' ${this.storageKey} clear`);
      }

      if (get(this._, key) !== undefined) {
        this.set(key, void 0);
        this.save();
      } else {
        this.memorize(key, void 0);
      }
    }

    set(key, value, temp = this.temporary) {
      if (this._inited === false) {
        throw new Error(`Store not inited ${this.storageKey} set`);
      }

      [key] = key.split(Emitter.delimiter);

      const kArr = key.split(".");

      if (!temp) {
        const prev = get(this._, key);

        // TODO - обратить внимание

        if (prev === value) return;

        set(this._, key, value);

        kArr.reduce((acc, elem) => {
          acc.push(elem);

          const currentKey = acc.join(".");

          this.emit(currentKey, { prev, next: get(this._, currentKey) });

          return acc;
        }, []);

        // emit to up

        traverse(this._map, kArr, (path) => {
          const _prev = get(prev, [...path].splice(kArr.length, path.length));
          const next = get(this._, path);

          if (_prev !== next) {
            this.emit(path, { prev: _prev, next });
          }
        });

        this.save();
      } else {
        const prev = get(this.__, key);

        set(this.__, key, value);

        kArr.reduce((acc, elem) => {
          acc.push(elem);

          const currentKey = acc.join(".");

          this.emit(currentKey, { prev, next: get(this.__, currentKey) });

          return acc;
        }, []);

        // emit to up

        traverse(this._map, kArr, (path) => {
          const _prev = get(prev, [...path].splice(kArr.length, path.length));
          const next = get(this.__, path);

          if (_prev !== next) {
            this.emit(path, { prev: _prev, next });
          }
        });
      }

      return true;
    }

    has(key) {
      if (this._inited === false) {
        throw new Error(`Store not inited ${this.storageKey} has`);
      }

      return !!this.get(key);
    }

    memorize(key, value) {
      if (this._inited === false) {
        throw new Error(`Store not inited ${this.storageKey} memorize`);
      }

      return this.set(key, value, true);
    }

    memorizeAssign(key, object) {
      if (this._inited === false) {
        throw new Error(`Store not inited ${this.storageKey} memorizeAssign`);
      }

      const old = this.get(key, {});

      if (old) {
        const ndata = Object.assign({}, old, object);
        this.memorize(key, ndata);
      }
    }

    assign(key, object) {
        if (this._inited === false) {
          throw new Error(`Store not inited ${this.storageKey} memorizeAssign`);
        }
  
        const old = this.get(key, {});
  
        if (old) {
          const ndata = Object.assign({}, old, object);
          this.set(key, ndata);
        }
      }

    async save() {
      if (this._inited === false) {
        throw new Error(`Store not inited ${this.storageKey} save`);
      }

      if (this.temporary === false) {
        await Storage.setJSON(this.storageKey, this._);
      }
    }
  }

  const traverse = (map, kArr, cb) => {
    const last = get(map, kArr);

    if (last !== undefined) {
      for (let _ in last) {
        if (_ === "count") {
          continue;
        }
        const currentKey = [...kArr, _];

        cb(currentKey);

        traverse(map, currentKey, cb);
      }
    }
  };

  const get = (obj, path, defaultValue) => {
    if (typeof path === "string") path = path.split(".");

    let node = obj;

    for (let i = 0; i < path.length; i++) {
      const key = path[i];

      if (!node) {
        node = undefined;

        break;
      }

      node = node[key];
    }

    return typeof node === "undefined" ? defaultValue : node;
  };

  const set = (obj, path, defaultValue, setter) => {
    if (typeof path === "string") path = path.split(".");

    if (typeof setter === "undefined") setter = defaultValue;

    let value = get(obj, path);

    if (
      (typeof value === "undefined" ||
        (typeof value === "number" && isNaN(value))) &&
      typeof defaultValue !== "function"
    ) {
      value = defaultValue;
    }

    let node = obj;

    for (var i = 0; i < path.length - 1; i++) {
      const key = path[i];
      const nextKey = +path[i + 1];

      if (!node[key]) node[key] = isNaN(nextKey) ? {} : [];

      node = node[key];
    }

    node[path[i]] = typeof setter === "function" ? setter(value) : setter;

    return obj;
  };

  return { Emitter, Store };
};

const setCookie = (name, value, options = {}) => {
  options = {
    path: "/",
    ...options,
  };

  if (options.expires instanceof Date) {
    options.expires = options.expires.toUTCString();
  }

  let updatedCookie =
    encodeURIComponent(name) + "=" + encodeURIComponent(value);

  for (let optionKey in options) {
    updatedCookie += "; " + optionKey;
    let optionValue = options[optionKey];
    if (optionValue !== true) {
      updatedCookie += "=" + optionValue;
    }
  }

  document.cookie = updatedCookie;
};

const deleteCookie = (name) => {
  setCookie(name, "", {
    "max-age": -1,
  });
};


class Portal {
  constructor(elm, block, name) {
    this.name = name;
    this.root = elm;
    this.block = block;
    this.page = block.page;

    this.page._portals[this.name] = this;
  }
  destroy() {
    delete this.page._portals[this.name];
  }
}


class BlockClass extends Emitter {
  _colors = {
    light: {
      textGray: "#67738A",
      textLightGray: "#ACB4C6",
      textGreen: "#09B96A",
      textRed: "#FF1A05",
      textOrange: "#D97706",
      textBlue: "#124BE7",
    },
    dark: {
      textGray: "#676C7A",
      textLightGray: "#484F5D",
      textGreen: "#00904E",
      textRed: "#F79389",
      textOrange: "#935F07",
      textBlue: "#163B8D",
    },
  };

  _colorAlias = {
    light: {
      "#67738A": "textGray",
      "#ACB4C6": "textLightGray",
      "#09B96A": "textGreen",
      "#FF1A05": "textRed",
      "#D97706": "textOrange",
      "#124BE7": "textBlue",
    },
    dark: {
      "#676C7A": "textGray",
      "#484F5D": "textLightGray",
      "#00904E": "textGreen",
      "#F79389": "textRed",
      "#935F07": "textOrange",
      "#163B8D": "textBlue",
    },
  };

  __cache = {};
  __event_cache = {};

  constructor(name, id, page, state = {}, data = {}) {
    super();
    this.name = name;
    this.id = id;
    this.type = name.replace(/-(.\d*)$/, "");
    this.page = page;
    this.children = [];
    this.state = state;
    this.page._blocks[this.id] = this;
    this.initData = data;
    this.data = data;
    this.isBlock = true;
    this.refs = {};
    // this.root = this.findDOMElement();
    // this.selector = $(this.root);
    // this.selector.get(0) && (this.selector.get(0).block = this);
    this.portal = null;
  }

  findDOMElement() {
    if (this.page.__cache[this.id]) {
      return this.page.__cache[this.id];
    } else {
      const elm = document.getElementById(this.id);

      elm && (this.page.__cache[this.id] = elm);

      return elm;
    }
  }

  findEventDOMElement(id) {
    if (this.page.__event_cache[id]) {
      return this.page.__event_cache[id];
    } else {
      const elm = this.root.querySelector(`[f-id=${id}]`);

      this.page.__event_cache[id] = elm;
      return elm;
    }
  }

  _update(name, id, page, state = {}, data = {}) {
    this.state = state;
    this.data = data;
    this.page._blocks[this.id] = this;
  }

  render() {
    return this.page.renderFrBlock(this);
  }

  rerender(fullUpdate = false) {
    // Добавит очередь

    // Задел для сохранения data при перерендере
    const data = this._willUnmount();

    const [html, rb] = this.page.renderFrBlock(this, data);

    const traverseDOM = (node, cb) => {
      cb(node);
      const children = node.children;
      if (children) {
        for (let child of children) {
          traverseDOM(child, cb);
        }
      }
    };

    if (!fullUpdate) {
      this.selector = $(); // todo bad hook
      const needEventRemove = [];
      const needEventUpdate = {};
      const needElmRemove = [];
      const needElmUpdate = {};

      morphdom(this.root, html, {
        onBeforeElUpdated: (fromEl, toEl) => {
          if (toEl.hasAttribute) {
            if (toEl.hasAttribute("id")) {
              let id = toEl.getAttribute("id");
              needElmUpdate[id] = fromEl;
              toEl.removeAttribute("id");
              fromEl._id = id;
            }

            if (toEl.hasAttribute("f-id")) {
              if (fromEl._f) {
                needEventRemove.push(fromEl._f.id);
              }

              needEventUpdate[toEl.getAttribute("f-id")] = fromEl;
              toEl.removeAttribute("f-id");
            }
          }

          if (fromEl.isEqualNode(toEl)) {
            return false;
          }

          return true;
        },
        getNodeKey: function (node) {
          if (node.block) {
            return node.block.id;
          } else if (node._id) {
            return node._id;
          } else {
            return node.id;
          }
        },
        onBeforeNodeAdded: (node) => {
          if (node.hasAttribute) {
            if (node.hasAttribute("id")) {
              let id = node.getAttribute("id");
              needElmUpdate[id] = node;
              node._id = id;
              node.removeAttribute("id");
            }
          }

          traverseDOM(node, (n) => {
            if (n.hasAttribute && n.hasAttribute("f-id")) {
              needEventUpdate[n.getAttribute("f-id")] = n;
              n.removeAttribute("f-id");
            }
          });

          return node;
        },
        onBeforeNodeDiscarded: (node) => {
          if (node.block) {
            node.block.traverse((b) => {
              needElmRemove.push(b.id);
            });

            node.block.state.eventList.forEach((e) => {
              needEventRemove.push(e.fid);
            });
          } else {
            traverseDOM(node, (n) => {
              if (n._f) {
                needEventRemove.push(n._f.id);
              }
            });
          }

          return true;
        },
      });

      for (let index = 0; index < needElmRemove.length; index++) {
        const nr = needElmRemove[index];

        delete this.page.__cache[nr];
      }

      for (let index = 0; index < needEventRemove.length; index++) {
        const nr = needEventRemove[index];

        delete this.page.__event_cache[nr];
      }

      for (let _id in needElmUpdate) {
        this.page.__cache[_id] = needElmUpdate[_id];
      }

      for (let _id in needEventUpdate) {
        this.page.__event_cache[_id] = needEventUpdate[_id];
      }
    } else {
      //clear cache
      //clear block link
      this.traverse((b) => {
        delete this.page.__cache[b.id];
      });

      this.state.eventList.forEach((e) => {
        delete this.page.__event_cache[e.fid];
      });

      this.selector.replaceWith(html);
    }

    return this.page.updateBlocks(rb, void 0, this);
  }

  getBlockByBlockName(name) {
    for (let block of this.children) {
      if (block.name === name) {
        return block;
      } else {
        const res = block.getBlockByBlockName(name);
        if (res) return res;
      }
    }
  }

  traverse(cb) {
    cb(this);

    this.children.slice(0).forEach((b) => {
      b.traverse(cb);
    });
  }

  getBlockByName(name) {
    return this.getBlockByBlockName("blocks-" + name);
  }

  _mount() {
    this.root = this.findDOMElement();
    if (this.root) {
      this.selector = $(this.root);
      this.selector.removeAttr("id");
      this.selector.get(0) && (this.selector.get(0).block = this);
    }

    if (this.state && this.state.lazy) {
      this.loadLazyBlock();
    }

    this.initEvents();

    if (!this.data.inited) {
      this.init();
    }
  }

  setData(data = {}) {
    this.data = { ...this.data, ...data };
    this.rerender();
  }

  init() {
    this.data.inited = true;
  }

  initEvents() {
    const cache = {};
    this.state &&
      this.state.eventList &&
      this.state.eventList.forEach((event) => {
        if (!this.root) return console.warn("root selector not found");

        let elm;

        if (cache[event.fid]) {
          elm = cache[event.fid];
        } else {
          if (!["pref"].includes(event.type)) {
            elm = this.findEventDOMElement(event.fid); //this.root.querySelector(`[f-id=${event.fid}]`);
            cache[event.fid] = elm;
            elm.removeAttribute("f-id");
            if (elm._f === undefined) {
              elm._f = { e: {}, b: this, id: event.fid };
            }
          }
        }

        if (event.type === "portal") {
          this.portal = new Portal(elm, this, event.name);
        } else if (event.type === "ref") {
          safeSet(this.refs, event.method, elm);
        } else if (event.type === "pref") {
          safeSet(this.parent.refs, event.name, this);
        } else {
          safeSet(this.refs, `_.${event.method}`, {
            elm,
            type: event.type,
            params: event.params,
            fn: this[event.method],
          });

          elm._f.e[event.type] = (pointerEvent) =>
            typeof event.method === "function"
              ? event.method(event.params, pointerEvent)
              : this[event.method](event.params, pointerEvent);
        }
        // removeAttribute
      });
  }

  async loadLazyBlock() {
    this.reload(this.state.lazyData);
  }

  _unmount() {
    this.portal && this.portal.destroy();


    //Почемуто удаляется раньше времени 
    // console.log('unmount', this.id)
    delete this.page._blocks[this.id];

    this.traverse((b) => b !== this && b._unmount(false));

    const index = this.parent.children.indexOf(this);
    this.parent.children.splice(index, 1);

    // this.selector.remove();

    this.emit("unmount", this);
  }

  _willUnmount(data = {}) {
    data[this.id] = this.data;

    this.traverse((b) => b !== this && b._willUnmount(data));

    return data;
  }

  async reload(payload = {}) {
    const res = await this.page.getBlock(
      this.name.replace("blocks-", ""),
      payload
    );
    this.selector.replaceWith(res.html);
    this.page.replaceBlocks(res.state.renderBlocks, res.state, this);
  }

  getElement(cls, type = this.type, selector = this.selector) {
    return this.page.getElement(selector, type, cls);
  }

  getClass(...cls) {
    return cls
      .map((name) => {
        return styleAlias[`${this.type}-${name}`]
          ? styleAlias[`${this.type}-${name}`]
          : name;
      })
      .join(" ");
  }
}

class MediaBlockEntity extends BlockClass {
  constructor(...args) {
    super(...args);
  }

  _textBlocks = [
    "text",
    "header1",
    "header2",
    "header3",
    "highlight",
    "list",
    "code",
  ];

  isTextBlock(t) {
    return this._textBlocks.includes(t);
  }

  scrollIntoView(
    options = {
      behavior: "smooth",
      block: "end",
      inline: "nearest",
    }
  ) {
    this.root.scrollIntoView(options);
  }

  _mount() {
    super._mount();
  }

  selectTextInTo() {
    const range = document.createRange();
    range.selectNodeContents(this.getElement(this.blockClass).get(0));
    const sel = window.getSelection();
    sel.removeAllRanges();
    sel.addRange(range);

    return [range, sel];
  }

  focus(toEnd, pindex) {
    this.getElement(this.blockClass).focus();
    this.parent.onFocus({ index: this.data.index }, { target: this.root });
    this.getElement(this.blockClass).attr("placeholder", this.data.placeholder);

    if (toEnd) {
      document.execCommand("selectAll", false, null);
      document.getSelection().collapseToEnd();
    }

    this.parent.onBlockFocused && this.parent.onBlockFocused(this);
  }

  unFocus() {
    this.getElement(this.blockClass).removeAttr("placeholder");
  }

  fakeFocus(toEnd, pindex) {
    this.parent.onFocus({ index: this.data.index }, { target: this.root });

    if (this._textBlocks.includes(this.data.type)) {
      this.getElement(this.blockClass).focus();

      if (!toEnd) {
        this.setCursorAtNodePosition(pindex);
      } else {
        const p = this.calcEndCursorPosition(pindex);
        this.setCursorAtNodePosition(p);
      }
    } else {
      const selection = window.getSelection();
      selection.removeAllRanges();
    }
  }

  traverseNodeList(elm, data = { arr: [], offset: 0 }) {
    const chn = elm.childNodes;
    for (let index = 0; index < chn.length; index++) {
      const node = chn[index];

      if (node.nodeType !== 3) {
        const entity = {
          offset: data.offset,
          length: node.innerText.length,
          type: node.nodeName,
        };

        switch (node.nodeName) {
          case "A":
            entity.href = node.href;
            break;
          case "FONT":
            const theme = this.page.state.context.theme || "light";
            entity.color = this._colorAlias[theme][node.color.toUpperCase()];

            break;
        }

        data.arr.push(entity);

        this.traverseNodeList(node, data);
      } else {
        data.offset += node.length;
      }
    }
    return data.arr;
  }

  onInput(_, e) {
    // this.page.utils.removeTags(e.target.innerHTML)

    if (!this.data.options) this.data.options = {};
    this.data.options.entities = this.traverseNodeList(e.target);

    this.data.value = e.target.innerText;
    this.parent.onFocus({ index: this.data.index }, { target: this.root });

    this.page.store.emit(`update${this.data.name}`, {
      value: this.data.value,
      index: this.data.index,
      path: this.data.path + ".value",
      name: this.data.name,
      type: this.data.type,
      options: this.data.options,
    });
  }

  update(_ = false) {
    if (this.isTextBlock(this.data.type)) {
      this.data.value = this.data.value;
    }

    this.page.store.emit(`update${this.data.name}`, {
      value: this.data.value,
      index: this.data.index,
      options: this.data.options,
      path: this.data.path + ".value",
      name: this.data.name,
      type: this.data.type,
      _,
    });
  }

  calcEndCursorPosition(p) {
    const text = this.data.value;

    const lines = this.splitLines(text);
    lines[lines.length - 1] = lines[lines.length - 1].substr(0, p);
    let np = 0;

    lines.forEach((l) => {
      np += l.replace(/(\r\n|\n|\r)/gm, " ").length;
    });

    return np;
  }

  getCursorPositionInLine() {
    const [line] = this.getSelectionHtml();
    return { column: line.length };
  }

  cursorAltPosition(fromEnd = false) {
    const [line, allLine] = this.getSelectionHtml();
    const rgAllLines = allLine.replace(/[-[\]{}()*+?.,\\^$|#]/g, "\\$&");
    const start = new RegExp(`^${rgAllLines}`, "g");
    const end = new RegExp(`${rgAllLines}$`, "g");
    const position = line.length;

    if (fromEnd) {
      if (end.test(this.data.value.trim())) {
        return ["end", position];
      } else if (start.test(this.data.value.trim())) {
        return ["start", position];
      } else {
        return ["center"];
      }
    } else {
      if (start.test(this.data.value.trim())) {
        return ["start", position];
      } else if (end.test(this.data.value.trim())) {
        return ["end", position];
      } else {
        return ["center"];
      }
    }
  }

  getCaretPosition(editableDiv) {
    var caretPos = 0,
      sel,
      range;
    if (window.getSelection) {
      sel = window.getSelection();
      if (sel.rangeCount) {
        range = sel.getRangeAt(0);
        if (range.commonAncestorContainer.parentNode == editableDiv) {
          caretPos = range.endOffset;
        }
      }
    } else if (document.selection && document.selection.createRange) {
      range = document.selection.createRange();
      if (range.parentElement() == editableDiv) {
        var tempEl = document.createElement("span");
        editableDiv.insertBefore(tempEl, editableDiv.firstChild);
        var tempRange = range.duplicate();
        tempRange.moveToElementText(tempEl);
        tempRange.setEndPoint("EndToEnd", range);
        caretPos = tempRange.text.length;
      }
    }
    return caretPos;
  }

  getSelectionHtml() {
    var selection = window.document.selection,
      range,
      oldBrowser = true;

    if (!selection) {
      selection = window.getSelection();
      range = selection.getRangeAt(0);
      oldBrowser = false;
    } else range = document.selection.createRange();

    //selection.modify("move", "left", "lineboundary");
    selection.modify("extend", "backward", "lineboundary");

    let line = ``;
    let allLine = ``;

    for (var i = 0, len = selection.rangeCount; i < len; ++i) {
      line += selection.getRangeAt(i).cloneContents().textContent;
    }

    selection.modify("move", "forward", "lineboundary");
    selection.modify("extend", "backward", "lineboundary");

    for (var i = 0, len = selection.rangeCount; i < len; ++i) {
      allLine += selection.getRangeAt(i).cloneContents().textContent;
    }

    selection.removeAllRanges();
    selection.addRange(range);
    return [line.trim(), allLine.trim()];
  }

  getCursorPosition() {
    let selection = document.getSelection();
    let range = new Range();
    const el = this.getElement(this.blockClass).get(0);

    range.setStart(el, 0);
    range.setEnd(selection.anchorNode, selection.anchorOffset);

    return range.toString().length;
  }

  getNodeAndPosition(elm, offset) {
    let max = 0;
    let pos = offset;
    let node = void 0;

    for (let index = 0; index < elm.childNodes.length; index++) {
      node = elm.childNodes.item(index);

      if (node.nodeType === 3) {
        return;
      }

      max += node.length;

      if (max > offset) {
        break;
      } else {
        pos -= node.length;
      }
    }
  }

  setCursorAtNodePosition(index, node) {
    if (!node) {
      node = this.getElement(this.blockClass).get(0);
    }

    let range = document.createRange();
    let selection = window.getSelection();
    let currentPos = 0;
    let found = false;

    function searchNode(node) {
      if (node.nodeType === Node.TEXT_NODE) {
        if (currentPos + node.length >= index) {
          range.setStart(node, index - currentPos);
          range.collapse(true);
          found = true;
        } else {
          currentPos += node.length;
        }
      } else {
        for (let child of node.childNodes) {
          if (found) break;
          searchNode(child);
        }
      }
    }

    searchNode(node);
    selection.removeAllRanges();
    selection.addRange(range);
  }

  setCaretPosition(el, pos) {
    // Loop through all child nodes
    for (var node of el.childNodes) {
      if (node.nodeType == 3) {
        // we have a text node
        if (node.length >= pos) {
          // finally add our range
          var range = document.createRange(),
            sel = window.getSelection();
          range.setStart(node, pos);
          range.collapse(true);
          sel.removeAllRanges();
          sel.addRange(range);
          return -1; // we are done
        } else {
          pos -= node.length;
        }
      } else {
        pos = this.setCaretPosition(node, pos);
        if (pos == -1) {
          return -1; // no need to finish the for loop
        }
      }
    }
    return pos; // needed because of recursion stuff
  }

  setCursorPosition(offset) {
    const range = document.createRange();
    const selection = window.getSelection();
    const elm = this.getElement(this.blockClass).get(0);
    let max = 0;
    let pos = offset;
    let node = void 0;
    let l = elm.childNodes.length;

    for (let index = 0; index < elm.childNodes.length; index++) {
      node = elm.childNodes.item(index);
      max += node.length;

      if (max > offset) {
        break;
      } else {
        pos -= node.length;
      }
    }

    range.setStart(node, pos);
    range.setEnd(node, pos);

    selection.removeAllRanges();
    selection.addRange(range);
  }

  select() {
    this.selector.addClass(this.getClass("selected"));
  }

  unselect() {
    this.selector.removeClass(this.getClass("selected"));
  }

  onKeydown(event, mediaBlocks) {
    if (event.keyCode == 13 && !event.shiftKey) {
      const position = this.getCursorPosition();

      if (position === this.data.value.length) {
        event.preventDefault();

        mediaBlocks.insertBlock("text", "", mediaBlocks.data.focusedIndex);
      } else {
        // Разбиваем блок
        event.preventDefault();

        (mediaBlocks.data.blocks[mediaBlocks.data.focusedIndex].value =
          this.data.value.substr(0, position)),
          mediaBlocks.insertBlock(
            this.data.type,
            this.data.value.substr(position, this.data.value.length),
            mediaBlocks.data.focusedIndex
          );
      }

      return;
    }

    // backspace
    if (event.keyCode == 8) {
      const prevType = mediaBlocks.data.blocks[
        +mediaBlocks.data.focusedIndex - 1
      ]
        ? mediaBlocks.data.blocks[+mediaBlocks.data.focusedIndex - 1].type
        : "";

      if (!this._textBlocks.includes(prevType)) return;

      if (event.target.innerText.trim() === "") {
        event.preventDefault();
        mediaBlocks.removeAction(void 0, +mediaBlocks.data.focusedIndex);
      } else if (this.getCursorPosition() === 0) {
        // Обьеденяем
        if (mediaBlocks.data.blocks[+mediaBlocks.data.focusedIndex - 1]) {
          event.preventDefault();
          mediaBlocks.data.blocks[+mediaBlocks.data.focusedIndex - 1].value +=
            this.data.value;

          mediaBlocks.removeAction(void 0, +mediaBlocks.data.focusedIndex);
        }
      }
    }

    // Delete
    if (event.keyCode == 46) {
      const nextType = mediaBlocks.data.blocks[
        +mediaBlocks.data.focusedIndex + 1
      ]
        ? mediaBlocks.data.blocks[+mediaBlocks.data.focusedIndex + 1].type
        : "";

      if (!this._textBlocks.includes(nextType)) return;

      if (this.getCursorPosition() === this.data.value.length) {
        // Присоединяем нижний блок

        if (mediaBlocks.data.blocks[+mediaBlocks.data.focusedIndex + 1]) {
          event.preventDefault();
          mediaBlocks.data.blocks[+mediaBlocks.data.focusedIndex].value +=
            mediaBlocks.data.blocks[+mediaBlocks.data.focusedIndex + 1].value;
          mediaBlocks.removeAction(void 0, +mediaBlocks.data.focusedIndex + 1);
        }
      }
    }

    //arrow down
    if (event.keyCode == 40) {
      const nextType = mediaBlocks.data.blocks[
        +mediaBlocks.data.focusedIndex + 1
      ]
        ? mediaBlocks.data.blocks[+mediaBlocks.data.focusedIndex + 1].type
        : "";

      const [direction, position] = this.cursorAltPosition(true);

      if (direction === "end") {
        event.preventDefault();
        mediaBlocks.focusBlock(+mediaBlocks.data.focusedIndex + 1, position);
      }
    }

    //arrow up
    if (event.keyCode == 38) {
      const prevType = mediaBlocks.data.blocks[
        +mediaBlocks.data.focusedIndex - 1
      ]
        ? mediaBlocks.data.blocks[+mediaBlocks.data.focusedIndex - 1].type
        : "";

      const [direction, position] = this.cursorAltPosition();

      if (direction === "start") {
        event.preventDefault();
        mediaBlocks.focusBlock(
          +mediaBlocks.data.focusedIndex - 1,
          position,
          true
        );
      }
    }
  }

  splitLines(text) {
    const div = $(document.createElement("div"));
    const width = this.getElement(this.blockClass).width();

    div.addClass(this.getClass(this.blockClass));
    div.css({ display: "inline-block", opacity: 0 });
    div.text("");

    this.root.appendChild(div.get(0));

    const lines = [];
    const words = text.replace(/\n/g, "\n ").split(" ");

    let index = 0;

    words.forEach((word) => {
      let cIndex = index;
      if (!lines[cIndex]) {
        lines[cIndex] = [];
      }

      if (/\n/.test(word)) {
        lines[cIndex].push(word);
        index += 1;
        lines[index] = [];
        return;
      }

      div.text([...lines[cIndex], word].join(" "));

      const w = div.width();

      if (w >= width) {
        index += 1;
        lines[index] = [word];
        return;
      }

      lines[cIndex].push(word);
    });

    div.remove();

    return lines.map((line) => line.join(" "));
  }
}

class MediaBlockFileEntity extends MediaBlockEntity {
  constructor(...args) {
    super(...args);
  }

  onKeydown(event, mediaBlocks) {
    event.preventDefault();

    if (event.keyCode == 13 && !event.shiftKey) {
      mediaBlocks.openMenu(void 0, { target: this.root });
      // Enter
    } else if (event.keyCode == 8) {
      // backspace
      mediaBlocks.removeAction(void 0, +this.data.index);
    } else if (event.keyCode == 46) {
      mediaBlocks.removeAction(void 0, +this.data.index);

      // Delete
    } else if (event.keyCode == 40) {
      //arrow down
      mediaBlocks.focusBlock(+this.data.index + 1, 0);
    } else if (event.keyCode == 38) {
      const prev = mediaBlocks.data.blocks[+this.data.index - 1]
        ? mediaBlocks.data.blocks[+this.data.index - 1].value
        : "";

      mediaBlocks.focusBlock(+this.data.index - 1, prev.length, true);

      //arrow up
    }
  }

  onMobileBlockPress() {
    this.parent.onBlockFocused(this);
  }
}

const safeSet = (obj, path, value) => {
  if (typeof path === "string") path = path.split(".");

  let node = obj;

  for (var i = 0; i < path.length - 1; i++) {
    const key = path[i];
    const nextKey = +path[i + 1];

    if (!node[key]) node[key] = isNaN(nextKey) ? {} : [];

    node = node[key];
  }

  node[path[i]] = value;

  return obj;
};


const Router = class {
  constructor(page) {
    this.page = page;
    this.stack = [location.pathname];
    this.meta = {};
    this.parseQuery();
    this.index = 0;
    this.currentHref = location.href.replace(location.origin, '');
    window.addEventListener("popstate", (event) => {
      if (event?.state?.href) {
        this.goTo(event.state.href);
      } else {
        // this.goBack();
      }
    });
  }

  findBlock(target) {
    if (target.block) return target.block;
    else return this.findBlock(target.parentElement);
  }

  tryMethod(method, target) {
    try {
      if (!method)
        return false

      const block = this.findBlock(target);
      if (!block)
        return false

      block[method](target);

      return true;
    } catch (err) {
      return false;
    }
  }

  init() {
    $("a").off();
    $("a").click((event) => {
      const el = $(event.currentTarget);
      let method = el.attr("method");

      if (this.tryMethod(method, event.currentTarget)) {
        event.preventDefault();
        event.stopPropagation();
        return false;
      }

      let external = el.attr("external");
      let csr = el.attr("csr");

      const href = el.attr("href");

      if (/:\/\//.test(href)) {
        external = true;
      }

      if (/^#/.test(href)) {

        return
      }

      if (external) {
        el.attr("target", "_blank");

        return;
      }

      event.preventDefault();
      event.stopPropagation();



      if (!csr) {
        this.goTo(href);
      } else {
        this.goToCSR(href);
      }
    });

    this.parseQuery();
  }

  parseQuery() {
    this.query = location.search
      .replace("?", "")
      .split("&")
      .reduce((obj, x) => {
        let [a, b] = x.split("=");
        obj[a] = b;
        return obj;
      }, {});
  }

  reload() {
    const url = this.stack.pop();
    this.goTo(url, false, { scroll: false });
  }

  extractAndRemoveQueryParams(inputUrl) {
    // Добавляем базовый URL для корректного парсинга относительных путей
    const baseUrl = inputUrl.startsWith('http') ? '' : 'http://dummy.com';
    const fullUrl = baseUrl + inputUrl;

    try {
      const urlObj = new URL(fullUrl);
      const queryParams = {};

      urlObj.searchParams.forEach((value, key) => {
        queryParams[key] = value;
      });

      // Получаем путь без query параметров
      let cleanPath = urlObj.pathname;

      // Если был передан относительный URL, убираем слеш если он был добавлен
      if (!inputUrl.startsWith('http') && cleanPath.startsWith('/')) {
        cleanPath = cleanPath.substring(1);
      }

      // Если исходный URL не имел слеша в начале (например "path?param=1")
      if (!inputUrl.startsWith('/') && !inputUrl.startsWith('http') && inputUrl.includes('?')) {
        cleanPath = urlObj.pathname.substring(1);
      }

      return {
        cleanUrl: '/' + cleanPath,
        queryParams: queryParams
      };
    } catch (e) {
      console.error('Error processing URL:', e);
      return {
        cleanUrl: inputUrl,
        queryParams: {}
      };
    }
  }


  goBack() {
    this.index -= 1;

    if (this.index === -1) {
      this.index = 0;
    }

    const href = this.stack[this.index] ? this.stack[this.index] : '/'

    this.goTo(href, void 0, { withOutPush: true });
  }

  async simulateGoTo(href = "/", cb = async () => { }, { scroll, query } = { scroll: true, query: void 0 }) {
    if (query) {
      href += `?${serialize(query)}`;
    }

    window.history.pushState({ href }, "", href);
    await cb();
    this.init();
    this.stack.push(href);
    scroll && window.scrollTo({ top: 0 });
  }

  async goTo(href = "/", query, options = { scroll: true, withOutPush: false }) {
    if (/\?/.test(href)) {
      const res = this.extractAndRemoveQueryParams(href);

      href = res.cleanUrl;
      query = { ...query || {}, ...res.queryParams }

      this.query = query;
    }


    if (query) {
      href += `?${serialize(query)}`;
    }

    this.currentHref = href;

    if (!options.withOutPush) {
      this.index += 1;
      this.stack = this.stack.splice(0, this.index);
      this.stack.push(href);
    }

    if (await this.page.store.emit('try-go-to', { href, query, options })[0] === false)
      return this.page.store.emit('location_changed', { href, query });

    const { html, state, meta, debug } = await this.page.getPage(
      href.substr(1)
    );

    this.page.addDebugInfo(debug);
    this.page.root.innerHTML = html;

    window.history.pushState({ href, html, ...meta }, "", href);

    this.changeMetaTags(meta);
    this.init();
    this.setCurrent(this.page.replacePageBlocks(state.renderBlocks, state, this.mainPage));
    this.page.store.emit('location_changed', { href, query });

    options.scroll && window.scrollTo({ top: 0 });



    this.mainPage = this.page.findFirstBlock({ id: state.renderBlocks[0].id });

  }

  setCurrent(c) {
    this.current = c;
  }


  testPSRouts(url, routs = this.page._routes, three = []) {
    for (let route of routs) {
      const res = url.match(route.route);

      if (res !== null) {
        const [part, ...params] = res;

        const portal = {
          name: route.block,
          params: params || [],
        };

        three.push(portal);

        if (route.routs) {
          return this.testPSRouts(url.replace(part, ""), route.routs, three);
        }

        return three;
      }
    }

    three.length === 0 && three.push({ params: [] });

    return three;
  }

  // async goToCSR(href = "/", query, options = { scroll: true }) {
  //   if (query) {
  //     href += `?${serialize(query)}`;
  //   }

  //   const url = href.substr(1) || "index";
  //   const blockName = url.replace(/\//g, "-");
  //   const isPageBlock = true;
  //   const responseState = {};
  //   let name = [isPageBlock ? "pages" : "blocks", blockName].join("-");
  //   const withLayout = false;
  //   let needResetSession = false;


  //   let rt = {
  //     params: [],
  //   };
  //   let innerPortals = [];
  //   let innerPortalsNames = [];

  //   if (isPageBlock) {
  //     [rt, ...innerPortals] = this.testPSRouts(url);

  //     if (rt.name) {
  //       name = rt.name;
  //     }
  //   }

  //   innerPortals = innerPortals.reverse();

  //   const id = this.page.utils.getRandomString();



  //   const [html, rb] = this.page.renderFrBlock({ name, data:{}, id, state: this.page.state, parent: this.page })

  //   console.log(html, rb)

  // const { html, state, meta, debug } = await this.page.getPage(
  //   href.substr(1)
  // );

  // this.page.addDebugInfo(debug);
  // this.page.root.innerHTML = html;

  // window.history.pushState({ href, html, ...meta }, "", href);

  // this.changeMetaTags(meta);
  // this.init();
  // this.page.replacePageBlocks(state.renderBlocks, state);
  // this.stack.push(href);
  // options.scroll && window.scrollTo({ top: 0 });
  //}

  changeMetaTags(meta) {
    this.meta = meta;
    //тут в ручную меняем значение мета тегов
    meta.description &&
      $('meta[name="description"]').attr("content", meta.description);
    meta.keywords && $('meta[name="keywords"]').attr("content", meta.keywords);
    meta.title && $('meta[name="og:title"]').attr("content", meta.title);
    meta.description &&
      $('meta[name="og:description"]').attr("content", meta.description);
    meta.url && $('meta[name="og:url"]').attr("content", meta.url);
    meta.image && $('meta[name="og:image"]').attr("content", meta.image);
    meta.type && $('meta[name="og:type"]').attr("content", meta.type);
    meta.url && $('meta[name="og:url"]').attr("content", meta.url);
    meta.title && $("title").text(meta.title);
  }
};

const serialize = (obj) => {
  var str = [];
  for (var p in obj)
    if (obj.hasOwnProperty(p) && obj[p] !== undefined) {
      str.push(encodeURIComponent(p) + "=" + encodeURIComponent(obj[p]));
    }
  return str.join("&");
};


window._fr_blocks = {};
window.renderBlocks = {};
const EventListHandler = [
  "click",
  "change",
  "focus",
  "blur",
  "pointerover",
  "pointerout",
  "input",
  "keydown",
  "keyup",
  "dragstart",
  "dragover",
  "drop",
  "dragend",
  "mousedown",
  "mouseup",
  "dblclick",
  "focusout",
  "focusin",
];

window.Page = new (class {
  constructor() {
    this._blocks = {};
    this.router = new Router(this);
    this.state = {};
    this.lastDebug = { errors: [], blocks: [] };
    this.__cache = {};
    this.__event_cache = {};
    this.__data_cache = {};
    this.eventCount = 0;
    this.store = new (getStore().Store)(window.fr_deff_store);
    this.children = [];
    this.utils = {};
    this._portals = {};
  }

  traverse(cb) {
    cb(this);

    this.children.slice(0).forEach((b) => {
      b.traverse(cb);
    });
  }

  async init() {
    this.root = document.getElementById("root");
    await this.store.init();
    this.initStoreHandlers();
    this.initHandlers();
    this.router.init();

    if (!this.store.has("webuuid")) {
      this.store.set("webuuid", this.generateUUID("mr:qr:"));
    }
  }

  initStoreHandlers() {
    this.store.on("o", ({ next }) => {
      setCookie("o", JSON.stringify(next));
    });

    window.addEventListener("resize", (e) => {
      this.store.emit("resize", e);
    });
  }

  nextTick(fn) {
    setImmediate(fn);
  }

  async nextTickAsync() {
    return new Promise((resolve) => {
      this.nextTick(() => resolve());
    });
  }

  async initHandlers() {
    const $root = $(this.root);

    EventListHandler.forEach((eventName) => {
      $root.on(eventName, (event) => {
        this.callClientEvent(eventName, event);
      });
    });
  }

  findParentBlock(elm, eventName) {
    if (!elm) return false;

    if (elm._f && elm._f.e && elm._f.e[eventName]) {
      return elm;
    } else {
      return this.findParentBlock(elm.parentElement, eventName);
    }
  }

  callClientEvent(eventName, event) {
    const block = this.findParentBlock(event.target, eventName);

    this.store.emit(eventName, event);

    if (!block) return;

    if (block._f && block._f.e && typeof block._f.e[eventName] === "function") {
      this.eventCount += 1;
      block._f.e[eventName](event);
    }
  }

  async server(url, payload = {}, method = "POST") {
    const id = this.utils.getRandomString();

    try {
      this.store.emit("start_fetch", { id, url, payload, method });
      const res = await fetch(url, {
        method,
        body: JSON.stringify(payload),
        headers: {},
      });

      const json = await res.json();

      if (!res.ok) {
        throw json;
      }

      return json;
    } catch (err) {
      this.store.emit("error_fetch", { id, url, payload, method, err });

      throw err;
    } finally {
      this.store.emit("end_fetch", { id, url, payload, method });
    }
  }

  generateUUID(prefix) {
    // Public Domain/MIT
    var d = new Date().getTime(); //Timestamp
    var d2 =
      (typeof performance !== "undefined" &&
        performance.now &&
        performance.now() * 1000) ||
      0; //Time in microseconds since page-load or 0 if unsupported
    return (
      prefix +
      "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function (c) {
        var r = Math.random() * 16; //random number between 0 and 16
        if (d > 0) {
          //Use timestamp until depleted
          r = (d + r) % 16 | 0;
          d = Math.floor(d / 16);
        } else {
          //Use microseconds since page-load if supported
          r = (d2 + r) % 16 | 0;
          d2 = Math.floor(d2 / 16);
        }
        return (c === "x" ? r : (r & 0x3) | 0x8).toString(16);
      })
    );
  }

  findFirstBlock({ id, name }) {
    const n = `blocks-${name}`;

    for (let b in this._blocks) {
      const block = this._blocks[b];

      if (id === block.id) return block;
      if (n === block.name) return block;
    }

    return false;
  }

  createFrontBlock(name, state = {}, data = {}) {
    name = `blocks-${name}`;

    const blockClass = window._fr_blocks[name];

    if (!blockClass) return void 0;

    const id = this.utils.getRandomString();
    const block = new blockClass(name, id, this, state, data);

    return block;
  }

  async getBlock(name, payload = {}, query = {}) {
    let url = `/${name}`;

    const sq = serialize(query);

    sq && (url += `?${serialize(query)}`);

    const res = await fetch(url, {
      method: "POST",
      body: JSON.stringify(payload),
      headers: {
        "x-type-block": true,
      },
    });

    const json = await res.json();

    return json;
  }

  async getPage(name) {
    const res = await pfetch(
      `/${name}`,
      {
        method: "POST",
      },

      (progress) => {
        this.store.emit("progress", { progress });
      }
    );

    const json = await res.json();

    return json;
  }

  getElement(selector, block, name) {
    const cls = styleAlias[`${block}-${name}`];

    return selector.find(`.${cls}`);
  }

  _unmount() {
    this.traverse((b) => b !== this && b._unmount(false));
    this.children = [];
  }

  async setState(state, debug, meta) {
    await this.store.init();

    if (state.needResetSession) {
      try {
        await this.server("/clients/deauth");
      } catch (err) { }
      this.store.clear("token");
      deleteCookie("token");
      location.reload();
      return;
    }

    this.addDebugInfo(debug);
    this._unmount();
    this.children = [];
    this._blocks = {};

    this.state = state;
    this.router.meta = meta;

    const blocks = {};
    state.renderBlocks.forEach(({ name, id, state, parent, data }, index) => {
      const blockClass = window._fr_blocks[name] || BlockClass;

      const block = new blockClass(name, id, this, state, data);
      this.__data_cache[id] = data;
      blocks[id] = block;
      block.parent = parent;

      // block.parent = this._blocks[parent] || this;

      // (parent === "root" ? this : this._blocks[parent]).children.push(block);
    });

    for (let b in blocks) {
      (blocks[b].parent === "root"
        ? this
        : this._blocks[blocks[b].parent]
      ).children.push(blocks[b]);
      blocks[b].parent = this._blocks[blocks[b].parent] || this;
      blocks[b]._mount();
    }

    this.store.emit("blocks-updated", state.renderBlocks);

    this.store.emit("page-complete");
  }

  addDebugInfo(debug) {
    this.store.emit("addDebugInfo", debug);
    this.lastDebug = debug;
  }

  addBlocks(pb, state, parentBlock = this) {
    const blocks = {};
    // deprecated
    pb.forEach(({ name, id, parent, state = {}, data = {} }, index) => {
      const blockClass = window._fr_blocks[name] || BlockClass;
      const block = new blockClass(name, id, this, state, data);
      this.__data_cache[id] = data;
      blocks[id] = block;

      block.parent = this._blocks[parent] || parentBlock;

      (parent === "root" ? parentBlock : this._blocks[parent]).children.push(
        block
      );
    });

    for (let b in blocks) {
      blocks[b]._mount();
    }

    this.router.init();
    this.store.emit("blocks-updated", pb);
  }

  pushBlocks(pb, parentBlock = this) {
    const blocks = {};

    pb.forEach(
      ({
        name,
        id = this.utils.getRandomString(),
        parent = "root",
        state = {},
        data = {},
      }) => {
        const blockClass = window._fr_blocks[name] || BlockClass;
        const block = new blockClass(name, id, this, state, data);

        blocks[id] = block;
        this.__data_cache[id] = data;

        block.parent = parent;

        // block.parent = parent === 'layout' && parentBlock ? parentBlock : this._blocks[parent] || parentBlock;

        // (parent === "root" ? parentBlock : this._blocks[parent]).children.push(
        //   block
        // );
      }
    );

    for (let b in blocks) {
      (blocks[b].parent === "root"
        ? parentBlock
        : this._blocks[blocks[b].parent]
      ).children.push(blocks[b]);
      blocks[b].parent = this._blocks[blocks[b].parent] || parentBlock;

      blocks[b]._mount();
    }

    this.router.init();
    this.store.emit("blocks-updated", pb);

    return blocks;
  }

  replacePageBlocks(pb, state, replaceableBlock) {
    const blocks = {};

    if (replaceableBlock === undefined) {
      replaceableBlock = this.findFirstBlock({ id: this.state.id });
    }

    this.state = state;

    const parentBlock = replaceableBlock.parent;

    replaceableBlock.traverse((b) => {
      delete this.__cache[b.id];
      delete this.__data_cache[b.id];

      b.state.eventList.forEach(({ fid }) => {
        delete this.__event_cache[fid];
      });
    });

    replaceableBlock._unmount(true);

    pb.forEach(({ name, id, parent, state, data }, index) => {
      const blockClass = window._fr_blocks[name] || BlockClass;
      const block = new blockClass(name, id, this, state, data);

      blocks[id] = block;
      this.__data_cache[id] = data;

      block.parent = parent;
    });

    for (let b in blocks) {
      (blocks[b].parent === "root"
        ? this
        : this._blocks[blocks[b].parent]
      ).children.push(blocks[b]);
      blocks[b].parent = this._blocks[blocks[b].parent] || this;

      blocks[b]._mount();
    }

    this.router.init();
    this.store.emit("blocks-updated", pb);

    return replaceableBlock;
  }

  updateBlocks(pb, state, replaceableBlock) {
    const blocks = {};

    const parentBlock = replaceableBlock.parent;

    const ublock = [];
    replaceableBlock._unmount();

    pb.forEach(({ name, id, parent, state, data }, index) => {
      let block;
      if (replaceableBlock.id === id) {
        block = replaceableBlock;
        replaceableBlock._update(name, id, parent, state, data);
      } else {
        const blockClass = window._fr_blocks[name] || BlockClass;
        block = new blockClass(name, id, this, state, data);
      }

      blocks[id] = block;

      block.parent = parent;
    });

    for (let b in blocks) {
      (blocks[b].parent === "root"
        ? this
        : this._blocks[blocks[b].parent]
      ).children.push(blocks[b]);
      blocks[b].parent = this._blocks[blocks[b].parent] || this;

      blocks[b]._mount();
    }

    this.router.init();
    this.store.emit("blocks-updated", pb);

    return blocks;
  }

  // deprecated
  replaceBlocks(pb, state, replaceableBlock) {
    const blocks = {};

    const parentBlock = replaceableBlock.parent;

    replaceableBlock._unmount();

    pb.forEach(({ name, id, parent, state, data }, index) => {
      const blockClass = window._fr_blocks[name] || BlockClass;
      const block = new blockClass(name, id, this, state, data);
      this.__data_cache[id] = data;
      blocks[id] = block;

      block.parent = blocks[parent] || parentBlock;

      (blocks[parent] ? blocks[parent] : parentBlock).children.push(block);
    });

    for (let b in blocks) {
      blocks[b]._mount();
    }

    this.router.init();
    this.store.emit("blocks-updated", pb);

    return blocks;
  }

  getEvents(events, { name, id }) {
    let index = 0;

    const makeID = () => {
      index += 1;

      return id + "-e-" + index;
    };

    return {
      portal: (params, fid = makeID(), insertId = true) => {
        events.push({ params, name, id, fid, type: "portal" });

        if (insertId) return `f-id="${fid}"`;
        else return "";
      },
      pref: (name) => {
        events.push({ name, type: "pref" });
      },
      ref: (method, params, fid = makeID(), insertId = true) => {
        events.push({ method, params, name, id, fid, type: "ref" });

        if (insertId) return `f-id="${fid}"`;
        else return "";
      },
      on: (event, method, params, fid = makeID(), insertId = true) => {
        events.push({ method, params, name, id, fid, type: event });

        if (insertId) return `f-id="${fid}"`;
        else return "";
      },
      makeId: () => {
        return makeID();
      },
      click: (method, params, fid = makeID(), insertId = true) => {
        events.push({ method, params, name, id, fid, type: "click" });

        if (insertId) return `f-id="${fid}"`;
        else return "";
      },
      change: (method, params, fid = makeID(), insertId = true) => {
        events.push({ method, params, name, id, fid, type: "change" });

        if (insertId) return `f-id="${fid}"`;
        else return "";
      },
      focus: (method, params, fid = makeID(), insertId = true) => {
        events.push({ method, params, name, id, fid, type: "focus" });

        if (insertId) return `f-id="${fid}"`;
        else return "";
      },
      pointerover: (method, params, fid = makeID(), insertId = true) => {
        events.push({ method, params, name, id, fid, type: "pointerover" });

        if (insertId) return `f-id="${fid}"`;
        else return "";
      },
      pointerout: (method, params, fid = makeID(), insertId = true) => {
        events.push({ method, params, name, id, fid, type: "pointerout" });

        if (insertId) return `f-id="${fid}"`;
        else return "";
      },

      blur: (method, params, fid = makeID(), insertId = true) => {
        events.push({ method, params, name, id, fid, type: "blur" });

        if (insertId) return `f-id="${fid}"`;
        else return "";
      },
    };
  }

  createBlock({ name, data = {}, state = {}, parent = this }, insertHtml) {
    const id = this.utils.getRandomString(); // TODO need fix let id = server.parent +`_fid_`+ (renderBlocks.length + 1);
    const [html, rb] = this.renderFrBlock({ name, data, id, state, parent });
    insertHtml(html);
    return this.pushBlocks(rb, parent);
  }

  async renderInnerPortal(
    name,
    data,
    server,
    renderBlocks,
    debug,
    lazy,
    empty
  ) {
    const fr = this.renderBlock(
      name.replace("pages-", ""),
      data,
      server,
      renderBlocks,
      debug,
      lazy,
      empty,
      "pages"
    );

    return fr;
  }

  renderFrBlock(block, oldDataObject = {}) {
    const {
      name,
      data,
      id,
      state,
      parent,
      withoutContainer = false,
      children,
    } = block;
    const fn = window.renderBlocks[name];

    const debug = {
      t: Date.now(),
      blocks: [],
      errors: [],
      index: 0,
      children,
    };

    if (state.index === void 0) {
      state.index = 0;
    }

    let renderBlocks = [];
    renderBlocks[state.index] = { id, name, parent: parent.id || 'root' };

    if (!fn) return "";

    let eventList = [];
    let events = this.getEvents(eventList, { id, name });

    debug.index += 1;

    const html = fn({
      ctx: this,
      id,
      name,
      index: state.index,
      data,
      state,
      utils: this.utils,
      params: this.state.params,
      query: this.state.query,
      responseState: this.state.responseState,
      context: this.state.context,
      payload: this.state.payload,
      e: events,
      meta: this._meta,
      options: this._options,
      f: {
        renderInnerPortal: (name) => {
          const portal = this._portals[name];

          let gtml = "";

          if (portal && portal.data.currentName) {
            gtml = this.renderBlock(
              portal.data.currentName,
              portal.data.currentData,
              {
                ctx: this,
                context: this.state.context,
                responseState: this.state.responseState,
                params: this.state.params,
                payload: this.state.payload,
                query: this.state.query,
                parent: name,
                oldDataObject: oldDataObject,
                formMainrender: true,
                meta: this._meta,
                options: this._options,
              },
              renderBlocks,
              debug
            );
          }

          return this.renderBlock(
            "portal",
            {
              pname: name,
              html: portal ? gtml : "",
              currentName: portal ? portal.data.currentName : void 0,
              currentData: portal ? portal.data.currentData : {},
            },
            {
              ctx: this,
              context: this.state.context,
              responseState: this.state.responseState,
              params: this.state.params,
              payload: this.state.payload,
              query: this.state.query,
              parent: id,
              id: name,
              oldDataObject: oldDataObject,
              formMainrender: true,
              meta: this._meta,
              options: this._options,
            },
            renderBlocks,
            debug
          );
        },
        getClass: (...n) => this.getClass(name, ...n),
        renderBlock: (
          n,
          data,
          server = {
            ctx: this,
            context: this.state.context,
            responseState: this.state.responseState,
            params: this.state.params,
            payload: this.state.payload,
            query: this.state.query,
            parent: id,
            oldDataObject: oldDataObject,
            formMainrender: true,
            meta: this._meta,
            options: this._options,
          }
        ) => this.renderBlock(n, data, server, renderBlocks, debug),
        renderLazyBlock: (
          n,
          data,
          server = {
            ctx: this,
            context: this.state.context,
            responseState: this.state.responseState,
            params: this.state.params,
            payload: this.state.payload,
            query: this.state.query,
            parent: id,
            oldDataObject: oldDataObject,
            formMainrender: true,
            meta: this._meta,
            options: this._options,
          }
        ) => this.renderLazyBlock(n, data, server, renderBlocks, debug),
        renderEmptyBlock: (
          n,
          data,
          server = {
            ctx: this,

            context: this.state.context,
            responseState: this.state.responseState,
            params: this.state.params,
            payload: this.state.payload,
            query: this.state.query,
            parent: id,
            oldDataObject: oldDataObject,
            formMainrender: true,
            meta: this._meta,
            options: this._options,
          }
        ) => this.renderEmptyBlock(n, data, server, renderBlocks, debug),
      },
    });

    const nState = {
      name,
      id,
      index: state.index,
      params: this.state.params,
      query: this.state.query,
      responseState: this.state.responseState,
      url: this.state.url,
      renderBlocks,
      context: this.state.context,
      payload: this.state.payload,
      eventList,
    };

    renderBlocks[state.index].state = { ...nState, renderBlocks: void 0 };
    renderBlocks[state.index].data = data;

    if (withoutContainer) {
      return [html, renderBlocks];
    }

    const rootClass = this.getClass(name, [name]);

    return [
      `<div ${rootClass ? `class="${rootClass}"` : ""
      } id="${id}">${html}</div>`,
      renderBlocks,
    ];
  }

  getClass(block, ...names) {
    return names
      .map((name) => {
        return styleAlias[`${block}-${name}`];
      })
      .join(" ");
  }

  renderBlock(
    blockName,
    data = {},
    server,
    renderBlocks,
    debug = { blocks: [], errors: [], index: 0, children: [] },
    lazy = false,
    empty = false,
    bType = "blocks"
  ) {
    let name;
    let options = {
      memorized: false,
    };

    if (typeof blockName === "object") {
      name = blockName.name;
      options = blockName.options || options;
    } else {
      name = blockName;
    }

    if (/^pages/.test(name)) {
      name = name;
    } else {
      name = [bType, name].join("-");
    }

    const fr = window.renderBlocks[name];

    if (!fr || fr instanceof Error) {
      name = `blocks-dev.WrongBlock`;
    }

    const state = {};

    if (lazy) state.lazyData = data;

    let id = server.id
      ? server.id
      : server.parent + `_` + (renderBlocks.length + 1); // this.utils.getRandomString();

    if (options.memorized) {
      if (server.oldDataObject[id]) {
        data = server.oldDataObject[id];
      }
    }

    // let oldData = server.oldDataObject[id] || data;

    debug.index += 1;

    let index = renderBlocks.push({
      id,
      name,
      state: {},
      parent: server.parent,
    });

    let eventList = [];
    let events = this.getEvents(eventList, { id, name });

    const tpl =
      lazy || empty
        ? ""
        : window.renderBlocks[name]({
          ...server,
          ctx: this,
          state,
          id,
          name,
          index,
          data,
          utils: this.utils,
          e: events,
          f: {
            renderInnerPortal: (name) => {
              const portal = this._portals[name];

              return "this.renderBlock(portal.data.currentName, portal.data.currentData, { ...server, parent: id }, renderBlocks, debug)";
            },
            getClass: (...n) => this.getClass(name, ...n),
            renderBlock: (n, d) =>
              this.renderBlock(
                n,
                d,
                {
                  ...server, ctx: this
                  , parent: id, formMainrender: false
                },
                renderBlocks,
                debug
              ),
            renderLazyBlock: (n, d) =>
              this.renderLazyBlock(
                n,
                d,
                {
                  ...server, ctx: this,
                  parent: id, formMainrender: false
                },
                renderBlocks,
                debug
              ),
            renderEmptyBlock: (n, d) =>
              this.renderEmptyBlock(
                n,
                d,
                {
                  ...server, ctx: this,
                  parent: id, formMainrender: false
                },
                renderBlocks,
                debug
              ),
          },
        });

    renderBlocks[index - 1].state = {
      responseState: { ...server.responseState },
      eventList,
      lazy: lazy,
      empty: empty,
      id,
      name,
      index,
      ...state,
    };

    renderBlocks[index - 1].data = data;

    let hasJS = window._fr_blocks[name];
    let rootClass = this.getClass(name, [name]);

    if (this._options.dev && !hasJS) {
      hasJS = true;
      rootClass = 'debugBlock'
    }

    data.pref && events.pref(data.pref);

    return hasJS
      ? `<div ${rootClass ? `class="${rootClass}"` : ""
      } id="${id}">${tpl}</div>`
      : tpl;
  }

  renderLazyBlock(...args) {
    return this.renderBlock(...args, true);
  }

  renderEmptyBlock(...args) {
    return this.renderBlock(...args, false, true);
  }
})();

window.onload = () => {
  Page.init();
  // PageBlocks.forEach((name, index) => {
  //   const itemName = `${name}-${index+1}`;
  //   window._fr_blocks[name] && (new window._fr_blocks[name](itemName))._mount(Page);

  // });
};


const Loader = (() => {
  const uploadBinaryFile = ({ upload_url, content_type, file, onProgress }) => {
    return new Promise((resolve, reject) => {
      const xhr = new XMLHttpRequest();

      xhr.onload = () => {
        if (xhr.status === 200) {
          // succeeded
          resolve(xhr.response);
        } else {
          reject(xhr.response);
        }
      };

      xhr.onerror = (error) => {
        reject(error);
      };

      xhr.open("PUT", upload_url);
      xhr.setRequestHeader("content-type", content_type);
      xhr.upload.onprogress = function (event) {
        if (onProgress) {
          onProgress(Math.round((event.loaded / event.total) * 100), event);
        }
      };
      xhr.send(file);
    });
  };

  const createFile = async ({ content_type, prefix, options }) => {
    const res = await Page.server("/files/create", {
      content_type: content_type,
      prefix: prefix,
      options: options,
    });

    return res;
  };

  const load = async (file, { prefix }) => {
    try {
      Page.store.emit("progress", { progress: 1 });
      const nfile = await createFile({
        content_type: file.type,
        prefix: prefix,
        options: {
          size: file.size,
          width: file.width,
          height: file.height,
          duration: file.duration,
          filename: file.name,
        },
      });

      await uploadBinaryFile({
        upload_url: nfile.upload_url,
        content_type: file.type,
        file: file,
        onProgress: (progress) => {
          Page.store.emit("progress", { progress });
        },
      });

      return { ...nfile };
    } catch (err) {
      Page.store.emit("progress", { progress: 100 });

      return {};
    }
  };

  return { load };
})();


!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a():"function"==typeof define&&define.amd?define(a):e.moment=a()}(this,function(){"use strict";var E;function M(){return E.apply(null,arguments)}function F(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function z(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function l(e,a){return Object.prototype.hasOwnProperty.call(e,a)}function N(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var a in e)if(l(e,a))return;return 1}function d(e){return void 0===e}function J(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function R(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function C(e,a){for(var t=[],s=e.length,n=0;n<s;++n)t.push(a(e[n],n));return t}function I(e,a){for(var t in a)l(a,t)&&(e[t]=a[t]);return l(a,"toString")&&(e.toString=a.toString),l(a,"valueOf")&&(e.valueOf=a.valueOf),e}function U(e,a,t,s){return Fa(e,a,t,s,!0).utc()}function h(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function G(e){if(null==e._isValid){var a=h(e),t=B.call(a.parsedDateParts,function(e){return null!=e}),t=!isNaN(e._d.getTime())&&a.overflow<0&&!a.empty&&!a.invalidEra&&!a.invalidMonth&&!a.invalidWeekday&&!a.weekdayMismatch&&!a.nullInput&&!a.invalidFormat&&!a.userInvalidated&&(!a.meridiem||a.meridiem&&t);if(e._strict&&(t=t&&0===a.charsLeftOver&&0===a.unusedTokens.length&&void 0===a.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return t;e._isValid=t}return e._isValid}function V(e){var a=U(NaN);return null!=e?I(h(a),e):h(a).userInvalidated=!0,a}var B=Array.prototype.some||function(e){for(var a=Object(this),t=a.length>>>0,s=0;s<t;s++)if(s in a&&e.call(this,a[s],s,a))return!0;return!1},K=M.momentProperties=[],q=!1;function Z(e,a){var t,s,n,r=K.length;if(d(a._isAMomentObject)||(e._isAMomentObject=a._isAMomentObject),d(a._i)||(e._i=a._i),d(a._f)||(e._f=a._f),d(a._l)||(e._l=a._l),d(a._strict)||(e._strict=a._strict),d(a._tzm)||(e._tzm=a._tzm),d(a._isUTC)||(e._isUTC=a._isUTC),d(a._offset)||(e._offset=a._offset),d(a._pf)||(e._pf=h(a)),d(a._locale)||(e._locale=a._locale),0<r)for(t=0;t<r;t++)d(n=a[s=K[t]])||(e[s]=n);return e}function $(e){Z(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===q&&(q=!0,M.updateOffset(this),q=!1)}function Q(e){return e instanceof $||null!=e&&null!=e._isAMomentObject}function X(e){!1===M.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(r,d){var i=!0;return I(function(){if(null!=M.deprecationHandler&&M.deprecationHandler(null,r),i){for(var e,a,t=[],s=arguments.length,n=0;n<s;n++){if(e="","object"==typeof arguments[n]){for(a in e+="\n["+n+"] ",arguments[0])l(arguments[0],a)&&(e+=a+": "+arguments[0][a]+", ");e=e.slice(0,-2)}else e=arguments[n];t.push(e)}X(r+"\nArguments: "+Array.prototype.slice.call(t).join("")+"\n"+(new Error).stack),i=!1}return d.apply(this,arguments)},d)}var ee={};function ae(e,a){null!=M.deprecationHandler&&M.deprecationHandler(e,a),ee[e]||(X(a),ee[e]=!0)}function te(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function se(e,a){var t,s=I({},e);for(t in a)l(a,t)&&(z(e[t])&&z(a[t])?(s[t]={},I(s[t],e[t]),I(s[t],a[t])):null!=a[t]?s[t]=a[t]:delete s[t]);for(t in e)l(e,t)&&!l(a,t)&&z(e[t])&&(s[t]=I({},s[t]));return s}function ne(e){null!=e&&this.set(e)}M.suppressDeprecationWarnings=!1,M.deprecationHandler=null;var re=Object.keys||function(e){var a,t=[];for(a in e)l(e,a)&&t.push(a);return t};function de(e,a,t){var s=""+Math.abs(e);return(0<=e?t?"+":"":"-")+Math.pow(10,Math.max(0,a-s.length)).toString().substr(1)+s}var ie=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,_e=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,oe={},me={};function s(e,a,t,s){var n="string"==typeof s?function(){return this[s]()}:s;e&&(me[e]=n),a&&(me[a[0]]=function(){return de(n.apply(this,arguments),a[1],a[2])}),t&&(me[t]=function(){return this.localeData().ordinal(n.apply(this,arguments),e)})}function ue(e,a){return e.isValid()?(a=le(a,e.localeData()),oe[a]=oe[a]||function(s){for(var e,n=s.match(ie),a=0,r=n.length;a<r;a++)me[n[a]]?n[a]=me[n[a]]:n[a]=(e=n[a]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var a="",t=0;t<r;t++)a+=te(n[t])?n[t].call(e,s):n[t];return a}}(a),oe[a](e)):e.localeData().invalidDate()}function le(e,a){var t=5;function s(e){return a.longDateFormat(e)||e}for(_e.lastIndex=0;0<=t&&_e.test(e);)e=e.replace(_e,s),_e.lastIndex=0,--t;return e}var Me={};function a(e,a){var t=e.toLowerCase();Me[t]=Me[t+"s"]=Me[a]=e}function i(e){return"string"==typeof e?Me[e]||Me[e.toLowerCase()]:void 0}function he(e){var a,t,s={};for(t in e)l(e,t)&&(a=i(t))&&(s[a]=e[t]);return s}var ce={};function t(e,a){ce[e]=a}function Le(e){return e%4==0&&e%100!=0||e%400==0}function u(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function m(e){var e=+e,a=0;return a=0!=e&&isFinite(e)?u(e):a}function Ye(a,t){return function(e){return null!=e?(fe(this,a,e),M.updateOffset(this,t),this):ye(this,a)}}function ye(e,a){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+a]():NaN}function fe(e,a,t){e.isValid()&&!isNaN(t)&&("FullYear"===a&&Le(e.year())&&1===e.month()&&29===e.date()?(t=m(t),e._d["set"+(e._isUTC?"UTC":"")+a](t,e.month(),ze(t,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+a](t))}var n=/\d/,r=/\d\d/,pe=/\d{3}/,ke=/\d{4}/,_=/[+-]?\d{6}/,o=/\d\d?/,c=/\d\d\d\d?/,L=/\d\d\d\d\d\d?/,De=/\d{1,3}/,Y=/\d{1,4}/,y=/[+-]?\d{1,6}/,Te=/\d+/,ge=/[+-]?\d+/,we=/Z|[+-]\d\d:?\d\d/gi,be=/Z|[+-]\d\d(?::?\d\d)?/gi,f=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function p(e,t,s){He[e]=te(t)?t:function(e,a){return e&&s?s:t}}function Se(e,a){return l(He,e)?He[e](a._strict,a._locale):new RegExp(k(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,a,t,s,n){return a||t||s||n})))}function k(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var He={},ve={};function D(e,t){var a,s,n=t;for("string"==typeof e&&(e=[e]),J(t)&&(n=function(e,a){a[t]=m(e)}),s=e.length,a=0;a<s;a++)ve[e[a]]=n}function je(e,n){D(e,function(e,a,t,s){t._w=t._w||{},n(e,t._w,t,s)})}var T,g=0,xe=1,Pe=2,w=3,Oe=4,We=5,Ae=6,Ee=7,Fe=8;function ze(e,a){if(isNaN(e)||isNaN(a))return NaN;var t=(a%(t=12)+t)%t;return e+=(a-t)/12,1==t?Le(e)?29:28:31-t%7%2}T=Array.prototype.indexOf||function(e){for(var a=0;a<this.length;++a)if(this[a]===e)return a;return-1},s("M",["MM",2],"Mo",function(){return this.month()+1}),s("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),s("MMMM",0,0,function(e){return this.localeData().months(this,e)}),a("month","M"),t("month",8),p("M",o),p("MM",o,r),p("MMM",function(e,a){return a.monthsShortRegex(e)}),p("MMMM",function(e,a){return a.monthsRegex(e)}),D(["M","MM"],function(e,a){a[xe]=m(e)-1}),D(["MMM","MMMM"],function(e,a,t,s){s=t._locale.monthsParse(e,s,t._strict);null!=s?a[xe]=s:h(t).invalidMonth=e});var Ne="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Je="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Re=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ce=f,Ie=f;function Ue(e,a){var t;if(e.isValid()){if("string"==typeof a)if(/^\d+$/.test(a))a=m(a);else if(!J(a=e.localeData().monthsParse(a)))return;t=Math.min(e.date(),ze(e.year(),a)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](a,t)}}function Ge(e){return null!=e?(Ue(this,e),M.updateOffset(this,!0),this):ye(this,"Month")}function Ve(){function e(e,a){return a.length-e.length}for(var a,t=[],s=[],n=[],r=0;r<12;r++)a=U([2e3,r]),t.push(this.monthsShort(a,"")),s.push(this.months(a,"")),n.push(this.months(a,"")),n.push(this.monthsShort(a,""));for(t.sort(e),s.sort(e),n.sort(e),r=0;r<12;r++)t[r]=k(t[r]),s[r]=k(s[r]);for(r=0;r<24;r++)n[r]=k(n[r]);this._monthsRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Be(e){return Le(e)?366:365}s("Y",0,0,function(){var e=this.year();return e<=9999?de(e,4):"+"+e}),s(0,["YY",2],0,function(){return this.year()%100}),s(0,["YYYY",4],0,"year"),s(0,["YYYYY",5],0,"year"),s(0,["YYYYYY",6,!0],0,"year"),a("year","y"),t("year",1),p("Y",ge),p("YY",o,r),p("YYYY",Y,ke),p("YYYYY",y,_),p("YYYYYY",y,_),D(["YYYYY","YYYYYY"],g),D("YYYY",function(e,a){a[g]=2===e.length?M.parseTwoDigitYear(e):m(e)}),D("YY",function(e,a){a[g]=M.parseTwoDigitYear(e)}),D("Y",function(e,a){a[g]=parseInt(e,10)}),M.parseTwoDigitYear=function(e){return m(e)+(68<m(e)?1900:2e3)};var Ke=Ye("FullYear",!0);function qe(e,a,t,s,n,r,d){var i;return e<100&&0<=e?(i=new Date(e+400,a,t,s,n,r,d),isFinite(i.getFullYear())&&i.setFullYear(e)):i=new Date(e,a,t,s,n,r,d),i}function Ze(e){var a;return e<100&&0<=e?((a=Array.prototype.slice.call(arguments))[0]=e+400,a=new Date(Date.UTC.apply(null,a)),isFinite(a.getUTCFullYear())&&a.setUTCFullYear(e)):a=new Date(Date.UTC.apply(null,arguments)),a}function $e(e,a,t){t=7+a-t;return t-(7+Ze(e,0,t).getUTCDay()-a)%7-1}function Qe(e,a,t,s,n){var r,a=1+7*(a-1)+(7+t-s)%7+$e(e,s,n),t=a<=0?Be(r=e-1)+a:a>Be(e)?(r=e+1,a-Be(e)):(r=e,a);return{year:r,dayOfYear:t}}function Xe(e,a,t){var s,n,r=$e(e.year(),a,t),r=Math.floor((e.dayOfYear()-r-1)/7)+1;return r<1?s=r+ea(n=e.year()-1,a,t):r>ea(e.year(),a,t)?(s=r-ea(e.year(),a,t),n=e.year()+1):(n=e.year(),s=r),{week:s,year:n}}function ea(e,a,t){var s=$e(e,a,t),a=$e(e+1,a,t);return(Be(e)-s+a)/7}s("w",["ww",2],"wo","week"),s("W",["WW",2],"Wo","isoWeek"),a("week","w"),a("isoWeek","W"),t("week",5),t("isoWeek",5),p("w",o),p("ww",o,r),p("W",o),p("WW",o,r),je(["w","ww","W","WW"],function(e,a,t,s){a[s.substr(0,1)]=m(e)});function aa(e,a){return e.slice(a,7).concat(e.slice(0,a))}s("d",0,"do","day"),s("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),s("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),s("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),s("e",0,0,"weekday"),s("E",0,0,"isoWeekday"),a("day","d"),a("weekday","e"),a("isoWeekday","E"),t("day",11),t("weekday",11),t("isoWeekday",11),p("d",o),p("e",o),p("E",o),p("dd",function(e,a){return a.weekdaysMinRegex(e)}),p("ddd",function(e,a){return a.weekdaysShortRegex(e)}),p("dddd",function(e,a){return a.weekdaysRegex(e)}),je(["dd","ddd","dddd"],function(e,a,t,s){s=t._locale.weekdaysParse(e,s,t._strict);null!=s?a.d=s:h(t).invalidWeekday=e}),je(["d","e","E"],function(e,a,t,s){a[s]=m(e)});var ta="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),sa="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),na="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ra=f,da=f,ia=f;function _a(){function e(e,a){return a.length-e.length}for(var a,t,s,n=[],r=[],d=[],i=[],_=0;_<7;_++)s=U([2e3,1]).day(_),a=k(this.weekdaysMin(s,"")),t=k(this.weekdaysShort(s,"")),s=k(this.weekdays(s,"")),n.push(a),r.push(t),d.push(s),i.push(a),i.push(t),i.push(s);n.sort(e),r.sort(e),d.sort(e),i.sort(e),this._weekdaysRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+d.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+n.join("|")+")","i")}function oa(){return this.hours()%12||12}function ma(e,a){s(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),a)})}function ua(e,a){return a._meridiemParse}s("H",["HH",2],0,"hour"),s("h",["hh",2],0,oa),s("k",["kk",2],0,function(){return this.hours()||24}),s("hmm",0,0,function(){return""+oa.apply(this)+de(this.minutes(),2)}),s("hmmss",0,0,function(){return""+oa.apply(this)+de(this.minutes(),2)+de(this.seconds(),2)}),s("Hmm",0,0,function(){return""+this.hours()+de(this.minutes(),2)}),s("Hmmss",0,0,function(){return""+this.hours()+de(this.minutes(),2)+de(this.seconds(),2)}),ma("a",!0),ma("A",!1),a("hour","h"),t("hour",13),p("a",ua),p("A",ua),p("H",o),p("h",o),p("k",o),p("HH",o,r),p("hh",o,r),p("kk",o,r),p("hmm",c),p("hmmss",L),p("Hmm",c),p("Hmmss",L),D(["H","HH"],w),D(["k","kk"],function(e,a,t){e=m(e);a[w]=24===e?0:e}),D(["a","A"],function(e,a,t){t._isPm=t._locale.isPM(e),t._meridiem=e}),D(["h","hh"],function(e,a,t){a[w]=m(e),h(t).bigHour=!0}),D("hmm",function(e,a,t){var s=e.length-2;a[w]=m(e.substr(0,s)),a[Oe]=m(e.substr(s)),h(t).bigHour=!0}),D("hmmss",function(e,a,t){var s=e.length-4,n=e.length-2;a[w]=m(e.substr(0,s)),a[Oe]=m(e.substr(s,2)),a[We]=m(e.substr(n)),h(t).bigHour=!0}),D("Hmm",function(e,a,t){var s=e.length-2;a[w]=m(e.substr(0,s)),a[Oe]=m(e.substr(s))}),D("Hmmss",function(e,a,t){var s=e.length-4,n=e.length-2;a[w]=m(e.substr(0,s)),a[Oe]=m(e.substr(s,2)),a[We]=m(e.substr(n))});f=Ye("Hours",!0);var la,Ma={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ne,monthsShort:Je,week:{dow:0,doy:6},weekdays:ta,weekdaysMin:na,weekdaysShort:sa,meridiemParse:/[ap]\.?m?\.?/i},b={},ha={};function ca(e){return e&&e.toLowerCase().replace("_","-")}function La(e){for(var a,t,s,n,r=0;r<e.length;){for(a=(n=ca(e[r]).split("-")).length,t=(t=ca(e[r+1]))?t.split("-"):null;0<a;){if(s=Ya(n.slice(0,a).join("-")))return s;if(t&&t.length>=a&&function(e,a){for(var t=Math.min(e.length,a.length),s=0;s<t;s+=1)if(e[s]!==a[s])return s;return t}(n,t)>=a-1)break;a--}r++}return la}function Ya(a){var e;if(void 0===b[a]&&"undefined"!=typeof module&&module&&module.exports&&null!=a.match("^[^/\\\\]*$"))try{e=la._abbr,require("./locale/"+a),ya(e)}catch(e){b[a]=null}return b[a]}function ya(e,a){return e&&((a=d(a)?pa(e):fa(e,a))?la=a:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),la._abbr}function fa(e,a){if(null===a)return delete b[e],null;var t,s=Ma;if(a.abbr=e,null!=b[e])ae("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),s=b[e]._config;else if(null!=a.parentLocale)if(null!=b[a.parentLocale])s=b[a.parentLocale]._config;else{if(null==(t=Ya(a.parentLocale)))return ha[a.parentLocale]||(ha[a.parentLocale]=[]),ha[a.parentLocale].push({name:e,config:a}),null;s=t._config}return b[e]=new ne(se(s,a)),ha[e]&&ha[e].forEach(function(e){fa(e.name,e.config)}),ya(e),b[e]}function pa(e){var a;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return la;if(!F(e)){if(a=Ya(e))return a;e=[e]}return La(e)}function ka(e){var a=e._a;return a&&-2===h(e).overflow&&(a=a[xe]<0||11<a[xe]?xe:a[Pe]<1||a[Pe]>ze(a[g],a[xe])?Pe:a[w]<0||24<a[w]||24===a[w]&&(0!==a[Oe]||0!==a[We]||0!==a[Ae])?w:a[Oe]<0||59<a[Oe]?Oe:a[We]<0||59<a[We]?We:a[Ae]<0||999<a[Ae]?Ae:-1,h(e)._overflowDayOfYear&&(a<g||Pe<a)&&(a=Pe),h(e)._overflowWeeks&&-1===a&&(a=Ee),h(e)._overflowWeekday&&-1===a&&(a=Fe),h(e).overflow=a),e}var Da=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ta=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ga=/Z|[+-]\d\d(?::?\d\d)?/,wa=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],ba=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Sa=/^\/?Date\((-?\d+)/i,Ha=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,va={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function ja(e){var a,t,s,n,r,d,i=e._i,_=Da.exec(i)||Ta.exec(i),i=wa.length,o=ba.length;if(_){for(h(e).iso=!0,a=0,t=i;a<t;a++)if(wa[a][1].exec(_[1])){n=wa[a][0],s=!1!==wa[a][2];break}if(null==n)e._isValid=!1;else{if(_[3]){for(a=0,t=o;a<t;a++)if(ba[a][1].exec(_[3])){r=(_[2]||" ")+ba[a][0];break}if(null==r)return void(e._isValid=!1)}if(s||null==r){if(_[4]){if(!ga.exec(_[4]))return void(e._isValid=!1);d="Z"}e._f=n+(r||"")+(d||""),Aa(e)}else e._isValid=!1}}else e._isValid=!1}function xa(e,a,t,s,n,r){e=[function(e){e=parseInt(e,10);{if(e<=49)return 2e3+e;if(e<=999)return 1900+e}return e}(e),Je.indexOf(a),parseInt(t,10),parseInt(s,10),parseInt(n,10)];return r&&e.push(parseInt(r,10)),e}function Pa(e){var a,t,s,n,r=Ha.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));r?(a=xa(r[4],r[3],r[2],r[5],r[6],r[7]),t=r[1],s=a,n=e,t&&sa.indexOf(t)!==new Date(s[0],s[1],s[2]).getDay()?(h(n).weekdayMismatch=!0,n._isValid=!1):(e._a=a,e._tzm=(t=r[8],s=r[9],n=r[10],t?va[t]:s?0:60*(((t=parseInt(n,10))-(s=t%100))/100)+s),e._d=Ze.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),h(e).rfc2822=!0)):e._isValid=!1}function Oa(e,a,t){return null!=e?e:null!=a?a:t}function Wa(e){var a,t,s,n,r,d,i,_,o,m,u,l=[];if(!e._d){for(s=e,n=new Date(M.now()),t=s._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()],e._w&&null==e._a[Pe]&&null==e._a[xe]&&(null!=(n=(s=e)._w).GG||null!=n.W||null!=n.E?(_=1,o=4,r=Oa(n.GG,s._a[g],Xe(S(),1,4).year),d=Oa(n.W,1),((i=Oa(n.E,1))<1||7<i)&&(m=!0)):(_=s._locale._week.dow,o=s._locale._week.doy,u=Xe(S(),_,o),r=Oa(n.gg,s._a[g],u.year),d=Oa(n.w,u.week),null!=n.d?((i=n.d)<0||6<i)&&(m=!0):null!=n.e?(i=n.e+_,(n.e<0||6<n.e)&&(m=!0)):i=_),d<1||d>ea(r,_,o)?h(s)._overflowWeeks=!0:null!=m?h(s)._overflowWeekday=!0:(u=Qe(r,d,i,_,o),s._a[g]=u.year,s._dayOfYear=u.dayOfYear)),null!=e._dayOfYear&&(n=Oa(e._a[g],t[g]),(e._dayOfYear>Be(n)||0===e._dayOfYear)&&(h(e)._overflowDayOfYear=!0),m=Ze(n,0,e._dayOfYear),e._a[xe]=m.getUTCMonth(),e._a[Pe]=m.getUTCDate()),a=0;a<3&&null==e._a[a];++a)e._a[a]=l[a]=t[a];for(;a<7;a++)e._a[a]=l[a]=null==e._a[a]?2===a?1:0:e._a[a];24===e._a[w]&&0===e._a[Oe]&&0===e._a[We]&&0===e._a[Ae]&&(e._nextDay=!0,e._a[w]=0),e._d=(e._useUTC?Ze:qe).apply(null,l),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[w]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(h(e).weekdayMismatch=!0)}}function Aa(e){if(e._f===M.ISO_8601)ja(e);else if(e._f===M.RFC_2822)Pa(e);else{e._a=[],h(e).empty=!0;for(var a,t,s,n,r,d=""+e._i,i=d.length,_=0,o=le(e._f,e._locale).match(ie)||[],m=o.length,u=0;u<m;u++)t=o[u],(a=(d.match(Se(t,e))||[])[0])&&(0<(s=d.substr(0,d.indexOf(a))).length&&h(e).unusedInput.push(s),d=d.slice(d.indexOf(a)+a.length),_+=a.length),me[t]?(a?h(e).empty=!1:h(e).unusedTokens.push(t),s=t,r=e,null!=(n=a)&&l(ve,s)&&ve[s](n,r._a,r,s)):e._strict&&!a&&h(e).unusedTokens.push(t);h(e).charsLeftOver=i-_,0<d.length&&h(e).unusedInput.push(d),e._a[w]<=12&&!0===h(e).bigHour&&0<e._a[w]&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[w]=function(e,a,t){if(null==t)return a;return null!=e.meridiemHour?e.meridiemHour(a,t):null!=e.isPM?((e=e.isPM(t))&&a<12&&(a+=12),a=e||12!==a?a:0):a}(e._locale,e._a[w],e._meridiem),null!==(i=h(e).era)&&(e._a[g]=e._locale.erasConvertYear(i,e._a[g])),Wa(e),ka(e)}}function Ea(e){var a,t,s,n=e._i,r=e._f;if(e._locale=e._locale||pa(e._l),null===n||void 0===r&&""===n)return V({nullInput:!0});if("string"==typeof n&&(e._i=n=e._locale.preparse(n)),Q(n))return new $(ka(n));if(R(n))e._d=n;else if(F(r))!function(e){var a,t,s,n,r,d,i=!1,_=e._f.length;if(0===_)return h(e).invalidFormat=!0,e._d=new Date(NaN);for(n=0;n<_;n++)r=0,d=!1,a=Z({},e),null!=e._useUTC&&(a._useUTC=e._useUTC),a._f=e._f[n],Aa(a),G(a)&&(d=!0),r=(r+=h(a).charsLeftOver)+10*h(a).unusedTokens.length,h(a).score=r,i?r<s&&(s=r,t=a):(null==s||r<s||d)&&(s=r,t=a,d&&(i=!0));I(e,t||a)}(e);else if(r)Aa(e);else if(d(r=(n=e)._i))n._d=new Date(M.now());else R(r)?n._d=new Date(r.valueOf()):"string"==typeof r?(t=n,null!==(a=Sa.exec(t._i))?t._d=new Date(+a[1]):(ja(t),!1===t._isValid&&(delete t._isValid,Pa(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:M.createFromInputFallback(t))))):F(r)?(n._a=C(r.slice(0),function(e){return parseInt(e,10)}),Wa(n)):z(r)?(a=n)._d||(s=void 0===(t=he(a._i)).day?t.date:t.day,a._a=C([t.year,t.month,s,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),Wa(a)):J(r)?n._d=new Date(r):M.createFromInputFallback(n);return G(e)||(e._d=null),e}function Fa(e,a,t,s,n){var r={};return!0!==a&&!1!==a||(s=a,a=void 0),!0!==t&&!1!==t||(s=t,t=void 0),(z(e)&&N(e)||F(e)&&0===e.length)&&(e=void 0),r._isAMomentObject=!0,r._useUTC=r._isUTC=n,r._l=t,r._i=e,r._f=a,r._strict=s,(n=new $(ka(Ea(n=r))))._nextDay&&(n.add(1,"d"),n._nextDay=void 0),n}function S(e,a,t,s){return Fa(e,a,t,s,!1)}M.createFromInputFallback=e("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),M.ISO_8601=function(){},M.RFC_2822=function(){};c=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=S.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:V()}),L=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=S.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:V()});function za(e,a){var t,s;if(!(a=1===a.length&&F(a[0])?a[0]:a).length)return S();for(t=a[0],s=1;s<a.length;++s)a[s].isValid()&&!a[s][e](t)||(t=a[s]);return t}var Na=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ja(e){var e=he(e),a=e.year||0,t=e.quarter||0,s=e.month||0,n=e.week||e.isoWeek||0,r=e.day||0,d=e.hour||0,i=e.minute||0,_=e.second||0,o=e.millisecond||0;this._isValid=function(e){var a,t,s=!1,n=Na.length;for(a in e)if(l(e,a)&&(-1===T.call(Na,a)||null!=e[a]&&isNaN(e[a])))return!1;for(t=0;t<n;++t)if(e[Na[t]]){if(s)return!1;parseFloat(e[Na[t]])!==m(e[Na[t]])&&(s=!0)}return!0}(e),this._milliseconds=+o+1e3*_+6e4*i+1e3*d*60*60,this._days=+r+7*n,this._months=+s+3*t+12*a,this._data={},this._locale=pa(),this._bubble()}function Ra(e){return e instanceof Ja}function Ca(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ia(e,t){s(e,0,0,function(){var e=this.utcOffset(),a="+";return e<0&&(e=-e,a="-"),a+de(~~(e/60),2)+t+de(~~e%60,2)})}Ia("Z",":"),Ia("ZZ",""),p("Z",be),p("ZZ",be),D(["Z","ZZ"],function(e,a,t){t._useUTC=!0,t._tzm=Ga(be,e)});var Ua=/([\+\-]|\d\d)/gi;function Ga(e,a){var a=(a||"").match(e);return null===a?null:0===(a=60*(e=((a[a.length-1]||[])+"").match(Ua)||["-",0,0])[1]+m(e[2]))?0:"+"===e[0]?a:-a}function Va(e,a){var t;return a._isUTC?(a=a.clone(),t=(Q(e)||R(e)?e:S(e)).valueOf()-a.valueOf(),a._d.setTime(a._d.valueOf()+t),M.updateOffset(a,!1),a):S(e).local()}function Ba(e){return-Math.round(e._d.getTimezoneOffset())}function Ka(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}M.updateOffset=function(){};var qa=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Za=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function $a(e,a){var t,s=e,n=null;return Ra(e)?s={ms:e._milliseconds,d:e._days,M:e._months}:J(e)||!isNaN(+e)?(s={},a?s[a]=+e:s.milliseconds=+e):(n=qa.exec(e))?(t="-"===n[1]?-1:1,s={y:0,d:m(n[Pe])*t,h:m(n[w])*t,m:m(n[Oe])*t,s:m(n[We])*t,ms:m(Ca(1e3*n[Ae]))*t}):(n=Za.exec(e))?(t="-"===n[1]?-1:1,s={y:Qa(n[2],t),M:Qa(n[3],t),w:Qa(n[4],t),d:Qa(n[5],t),h:Qa(n[6],t),m:Qa(n[7],t),s:Qa(n[8],t)}):null==s?s={}:"object"==typeof s&&("from"in s||"to"in s)&&(a=function(e,a){var t;if(!e.isValid()||!a.isValid())return{milliseconds:0,months:0};a=Va(a,e),e.isBefore(a)?t=Xa(e,a):((t=Xa(a,e)).milliseconds=-t.milliseconds,t.months=-t.months);return t}(S(s.from),S(s.to)),(s={}).ms=a.milliseconds,s.M=a.months),n=new Ja(s),Ra(e)&&l(e,"_locale")&&(n._locale=e._locale),Ra(e)&&l(e,"_isValid")&&(n._isValid=e._isValid),n}function Qa(e,a){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*a}function Xa(e,a){var t={};return t.months=a.month()-e.month()+12*(a.year()-e.year()),e.clone().add(t.months,"M").isAfter(a)&&--t.months,t.milliseconds=+a-+e.clone().add(t.months,"M"),t}function et(s,n){return function(e,a){var t;return null===a||isNaN(+a)||(ae(n,"moment()."+n+"(period, number) is deprecated. Please use moment()."+n+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),t=e,e=a,a=t),at(this,$a(e,a),s),this}}function at(e,a,t,s){var n=a._milliseconds,r=Ca(a._days),a=Ca(a._months);e.isValid()&&(s=null==s||s,a&&Ue(e,ye(e,"Month")+a*t),r&&fe(e,"Date",ye(e,"Date")+r*t),n&&e._d.setTime(e._d.valueOf()+n*t),s&&M.updateOffset(e,r||a))}$a.fn=Ja.prototype,$a.invalid=function(){return $a(NaN)};Ne=et(1,"add"),ta=et(-1,"subtract");function tt(e){return"string"==typeof e||e instanceof String}function st(e){return Q(e)||R(e)||tt(e)||J(e)||function(a){var e=F(a),t=!1;e&&(t=0===a.filter(function(e){return!J(e)&&tt(a)}).length);return e&&t}(e)||function(e){var a,t,s=z(e)&&!N(e),n=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],d=r.length;for(a=0;a<d;a+=1)t=r[a],n=n||l(e,t);return s&&n}(e)||null==e}function nt(e,a){if(e.date()<a.date())return-nt(a,e);var t=12*(a.year()-e.year())+(a.month()-e.month()),s=e.clone().add(t,"months"),a=a-s<0?(a-s)/(s-e.clone().add(t-1,"months")):(a-s)/(e.clone().add(1+t,"months")-s);return-(t+a)||0}function rt(e){return void 0===e?this._locale._abbr:(null!=(e=pa(e))&&(this._locale=e),this)}M.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",M.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";na=e("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function dt(){return this._locale}var it=126227808e5;function _t(e,a){return(e%a+a)%a}function ot(e,a,t){return e<100&&0<=e?new Date(e+400,a,t)-it:new Date(e,a,t).valueOf()}function mt(e,a,t){return e<100&&0<=e?Date.UTC(e+400,a,t)-it:Date.UTC(e,a,t)}function ut(e,a){return a.erasAbbrRegex(e)}function lt(){for(var e=[],a=[],t=[],s=[],n=this.eras(),r=0,d=n.length;r<d;++r)a.push(k(n[r].name)),e.push(k(n[r].abbr)),t.push(k(n[r].narrow)),s.push(k(n[r].name)),s.push(k(n[r].abbr)),s.push(k(n[r].narrow));this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+a.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+t.join("|")+")","i")}function Mt(e,a){s(0,[e,e.length],0,a)}function ht(e,a,t,s,n){var r;return null==e?Xe(this,s,n).year:(r=ea(e,s,n),function(e,a,t,s,n){e=Qe(e,a,t,s,n),a=Ze(e.year,0,e.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}.call(this,e,a=r<a?r:a,t,s,n))}s("N",0,0,"eraAbbr"),s("NN",0,0,"eraAbbr"),s("NNN",0,0,"eraAbbr"),s("NNNN",0,0,"eraName"),s("NNNNN",0,0,"eraNarrow"),s("y",["y",1],"yo","eraYear"),s("y",["yy",2],0,"eraYear"),s("y",["yyy",3],0,"eraYear"),s("y",["yyyy",4],0,"eraYear"),p("N",ut),p("NN",ut),p("NNN",ut),p("NNNN",function(e,a){return a.erasNameRegex(e)}),p("NNNNN",function(e,a){return a.erasNarrowRegex(e)}),D(["N","NN","NNN","NNNN","NNNNN"],function(e,a,t,s){s=t._locale.erasParse(e,s,t._strict);s?h(t).era=s:h(t).invalidEra=e}),p("y",Te),p("yy",Te),p("yyy",Te),p("yyyy",Te),p("yo",function(e,a){return a._eraYearOrdinalRegex||Te}),D(["y","yy","yyy","yyyy"],g),D(["yo"],function(e,a,t,s){var n;t._locale._eraYearOrdinalRegex&&(n=e.match(t._locale._eraYearOrdinalRegex)),t._locale.eraYearOrdinalParse?a[g]=t._locale.eraYearOrdinalParse(e,n):a[g]=parseInt(e,10)}),s(0,["gg",2],0,function(){return this.weekYear()%100}),s(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Mt("gggg","weekYear"),Mt("ggggg","weekYear"),Mt("GGGG","isoWeekYear"),Mt("GGGGG","isoWeekYear"),a("weekYear","gg"),a("isoWeekYear","GG"),t("weekYear",1),t("isoWeekYear",1),p("G",ge),p("g",ge),p("GG",o,r),p("gg",o,r),p("GGGG",Y,ke),p("gggg",Y,ke),p("GGGGG",y,_),p("ggggg",y,_),je(["gggg","ggggg","GGGG","GGGGG"],function(e,a,t,s){a[s.substr(0,2)]=m(e)}),je(["gg","GG"],function(e,a,t,s){a[s]=M.parseTwoDigitYear(e)}),s("Q",0,"Qo","quarter"),a("quarter","Q"),t("quarter",7),p("Q",n),D("Q",function(e,a){a[xe]=3*(m(e)-1)}),s("D",["DD",2],"Do","date"),a("date","D"),t("date",9),p("D",o),p("DD",o,r),p("Do",function(e,a){return e?a._dayOfMonthOrdinalParse||a._ordinalParse:a._dayOfMonthOrdinalParseLenient}),D(["D","DD"],Pe),D("Do",function(e,a){a[Pe]=m(e.match(o)[0])});Y=Ye("Date",!0);s("DDD",["DDDD",3],"DDDo","dayOfYear"),a("dayOfYear","DDD"),t("dayOfYear",4),p("DDD",De),p("DDDD",pe),D(["DDD","DDDD"],function(e,a,t){t._dayOfYear=m(e)}),s("m",["mm",2],0,"minute"),a("minute","m"),t("minute",14),p("m",o),p("mm",o,r),D(["m","mm"],Oe);var ct,ke=Ye("Minutes",!1),y=(s("s",["ss",2],0,"second"),a("second","s"),t("second",15),p("s",o),p("ss",o,r),D(["s","ss"],We),Ye("Seconds",!1));for(s("S",0,0,function(){return~~(this.millisecond()/100)}),s(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),s(0,["SSS",3],0,"millisecond"),s(0,["SSSS",4],0,function(){return 10*this.millisecond()}),s(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),s(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),s(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),s(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),s(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),a("millisecond","ms"),t("millisecond",16),p("S",De,n),p("SS",De,r),p("SSS",De,pe),ct="SSSS";ct.length<=9;ct+="S")p(ct,Te);function Lt(e,a){a[Ae]=m(1e3*("0."+e))}for(ct="S";ct.length<=9;ct+="S")D(ct,Lt);_=Ye("Milliseconds",!1),s("z",0,0,"zoneAbbr"),s("zz",0,0,"zoneName");n=$.prototype;function Yt(e){return e}n.add=Ne,n.calendar=function(e,a){1===arguments.length&&(arguments[0]?st(arguments[0])?(e=arguments[0],a=void 0):function(e){for(var a=z(e)&&!N(e),t=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],n=0;n<s.length;n+=1)t=t||l(e,s[n]);return a&&t}(arguments[0])&&(a=arguments[0],e=void 0):a=e=void 0);var e=e||S(),t=Va(e,this).startOf("day"),t=M.calendarFormat(this,t)||"sameElse",a=a&&(te(a[t])?a[t].call(this,e):a[t]);return this.format(a||this.localeData().calendar(t,this,S(e)))},n.clone=function(){return new $(this)},n.diff=function(e,a,t){var s,n,r;if(!this.isValid())return NaN;if(!(s=Va(e,this)).isValid())return NaN;switch(n=6e4*(s.utcOffset()-this.utcOffset()),a=i(a)){case"year":r=nt(this,s)/12;break;case"month":r=nt(this,s);break;case"quarter":r=nt(this,s)/3;break;case"second":r=(this-s)/1e3;break;case"minute":r=(this-s)/6e4;break;case"hour":r=(this-s)/36e5;break;case"day":r=(this-s-n)/864e5;break;case"week":r=(this-s-n)/6048e5;break;default:r=this-s}return t?r:u(r)},n.endOf=function(e){var a,t;if(void 0===(e=i(e))||"millisecond"===e||!this.isValid())return this;switch(t=this._isUTC?mt:ot,e){case"year":a=t(this.year()+1,0,1)-1;break;case"quarter":a=t(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":a=t(this.year(),this.month()+1,1)-1;break;case"week":a=t(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":a=t(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":a=t(this.year(),this.month(),this.date()+1)-1;break;case"hour":a=this._d.valueOf(),a+=36e5-_t(a+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":a=this._d.valueOf(),a+=6e4-_t(a,6e4)-1;break;case"second":a=this._d.valueOf(),a+=1e3-_t(a,1e3)-1;break}return this._d.setTime(a),M.updateOffset(this,!0),this},n.format=function(e){return e=e||(this.isUtc()?M.defaultFormatUtc:M.defaultFormat),e=ue(this,e),this.localeData().postformat(e)},n.from=function(e,a){return this.isValid()&&(Q(e)&&e.isValid()||S(e).isValid())?$a({to:this,from:e}).locale(this.locale()).humanize(!a):this.localeData().invalidDate()},n.fromNow=function(e){return this.from(S(),e)},n.to=function(e,a){return this.isValid()&&(Q(e)&&e.isValid()||S(e).isValid())?$a({from:this,to:e}).locale(this.locale()).humanize(!a):this.localeData().invalidDate()},n.toNow=function(e){return this.to(S(),e)},n.get=function(e){return te(this[e=i(e)])?this[e]():this},n.invalidAt=function(){return h(this).overflow},n.isAfter=function(e,a){return e=Q(e)?e:S(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(a=i(a)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(a).valueOf())},n.isBefore=function(e,a){return e=Q(e)?e:S(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(a=i(a)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(a).valueOf()<e.valueOf())},n.isBetween=function(e,a,t,s){return e=Q(e)?e:S(e),a=Q(a)?a:S(a),!!(this.isValid()&&e.isValid()&&a.isValid())&&(("("===(s=s||"()")[0]?this.isAfter(e,t):!this.isBefore(e,t))&&(")"===s[1]?this.isBefore(a,t):!this.isAfter(a,t)))},n.isSame=function(e,a){var e=Q(e)?e:S(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(a=i(a)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(a).valueOf()<=e&&e<=this.clone().endOf(a).valueOf()))},n.isSameOrAfter=function(e,a){return this.isSame(e,a)||this.isAfter(e,a)},n.isSameOrBefore=function(e,a){return this.isSame(e,a)||this.isBefore(e,a)},n.isValid=function(){return G(this)},n.lang=na,n.locale=rt,n.localeData=dt,n.max=L,n.min=c,n.parsingFlags=function(){return I({},h(this))},n.set=function(e,a){if("object"==typeof e)for(var t=function(e){var a,t=[];for(a in e)l(e,a)&&t.push({unit:a,priority:ce[a]});return t.sort(function(e,a){return e.priority-a.priority}),t}(e=he(e)),s=t.length,n=0;n<s;n++)this[t[n].unit](e[t[n].unit]);else if(te(this[e=i(e)]))return this[e](a);return this},n.startOf=function(e){var a,t;if(void 0===(e=i(e))||"millisecond"===e||!this.isValid())return this;switch(t=this._isUTC?mt:ot,e){case"year":a=t(this.year(),0,1);break;case"quarter":a=t(this.year(),this.month()-this.month()%3,1);break;case"month":a=t(this.year(),this.month(),1);break;case"week":a=t(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":a=t(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":a=t(this.year(),this.month(),this.date());break;case"hour":a=this._d.valueOf(),a-=_t(a+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":a=this._d.valueOf(),a-=_t(a,6e4);break;case"second":a=this._d.valueOf(),a-=_t(a,1e3);break}return this._d.setTime(a),M.updateOffset(this,!0),this},n.subtract=ta,n.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},n.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},n.toDate=function(){return new Date(this.valueOf())},n.toISOString=function(e){if(!this.isValid())return null;var a=(e=!0!==e)?this.clone().utc():this;return a.year()<0||9999<a.year()?ue(a,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):te(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",ue(a,"Z")):ue(a,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},n.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,a="moment",t="";return this.isLocal()||(a=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z"),a="["+a+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(a+e+"-MM-DD[T]HH:mm:ss.SSS"+(t+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(n[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),n.toJSON=function(){return this.isValid()?this.toISOString():null},n.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},n.unix=function(){return Math.floor(this.valueOf()/1e3)},n.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},n.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},n.eraName=function(){for(var e,a=this.localeData().eras(),t=0,s=a.length;t<s;++t){if(e=this.clone().startOf("day").valueOf(),a[t].since<=e&&e<=a[t].until)return a[t].name;if(a[t].until<=e&&e<=a[t].since)return a[t].name}return""},n.eraNarrow=function(){for(var e,a=this.localeData().eras(),t=0,s=a.length;t<s;++t){if(e=this.clone().startOf("day").valueOf(),a[t].since<=e&&e<=a[t].until)return a[t].narrow;if(a[t].until<=e&&e<=a[t].since)return a[t].narrow}return""},n.eraAbbr=function(){for(var e,a=this.localeData().eras(),t=0,s=a.length;t<s;++t){if(e=this.clone().startOf("day").valueOf(),a[t].since<=e&&e<=a[t].until)return a[t].abbr;if(a[t].until<=e&&e<=a[t].since)return a[t].abbr}return""},n.eraYear=function(){for(var e,a,t=this.localeData().eras(),s=0,n=t.length;s<n;++s)if(e=t[s].since<=t[s].until?1:-1,a=this.clone().startOf("day").valueOf(),t[s].since<=a&&a<=t[s].until||t[s].until<=a&&a<=t[s].since)return(this.year()-M(t[s].since).year())*e+t[s].offset;return this.year()},n.year=Ke,n.isLeapYear=function(){return Le(this.year())},n.weekYear=function(e){return ht.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},n.isoWeekYear=function(e){return ht.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},n.quarter=n.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},n.month=Ge,n.daysInMonth=function(){return ze(this.year(),this.month())},n.week=n.weeks=function(e){var a=this.localeData().week(this);return null==e?a:this.add(7*(e-a),"d")},n.isoWeek=n.isoWeeks=function(e){var a=Xe(this,1,4).week;return null==e?a:this.add(7*(e-a),"d")},n.weeksInYear=function(){var e=this.localeData()._week;return ea(this.year(),e.dow,e.doy)},n.weeksInWeekYear=function(){var e=this.localeData()._week;return ea(this.weekYear(),e.dow,e.doy)},n.isoWeeksInYear=function(){return ea(this.year(),1,4)},n.isoWeeksInISOWeekYear=function(){return ea(this.isoWeekYear(),1,4)},n.date=Y,n.day=n.days=function(e){if(!this.isValid())return null!=e?this:NaN;var a,t,s=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(a=e,t=this.localeData(),e="string"!=typeof a?a:isNaN(a)?"number"==typeof(a=t.weekdaysParse(a))?a:null:parseInt(a,10),this.add(e-s,"d")):s},n.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var a=(this.day()+7-this.localeData()._week.dow)%7;return null==e?a:this.add(e-a,"d")},n.isoWeekday=function(e){return this.isValid()?null!=e?(a=e,t=this.localeData(),t="string"==typeof a?t.weekdaysParse(a)%7||7:isNaN(a)?null:a,this.day(this.day()%7?t:t-7)):this.day()||7:null!=e?this:NaN;var a,t},n.dayOfYear=function(e){var a=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?a:this.add(e-a,"d")},n.hour=n.hours=f,n.minute=n.minutes=ke,n.second=n.seconds=y,n.millisecond=n.milliseconds=_,n.utcOffset=function(e,a,t){var s,n=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?n:Ba(this);if("string"==typeof e){if(null===(e=Ga(be,e)))return this}else Math.abs(e)<16&&!t&&(e*=60);return!this._isUTC&&a&&(s=Ba(this)),this._offset=e,this._isUTC=!0,null!=s&&this.add(s,"m"),n!==e&&(!a||this._changeInProgress?at(this,$a(e-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,M.updateOffset(this,!0),this._changeInProgress=null)),this},n.utc=function(e){return this.utcOffset(0,e)},n.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ba(this),"m")),this},n.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Ga(we,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},n.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?S(e).utcOffset():0,(this.utcOffset()-e)%60==0)},n.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},n.isLocal=function(){return!!this.isValid()&&!this._isUTC},n.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},n.isUtc=Ka,n.isUTC=Ka,n.zoneAbbr=function(){return this._isUTC?"UTC":""},n.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},n.dates=e("dates accessor is deprecated. Use date instead.",Y),n.months=e("months accessor is deprecated. Use month instead",Ge),n.years=e("years accessor is deprecated. Use year instead",Ke),n.zone=e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,a){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,a),this):-this.utcOffset()}),n.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!d(this._isDSTShifted))return this._isDSTShifted;var e,a={};return Z(a,this),(a=Ea(a))._a?(e=(a._isUTC?U:S)(a._a),this._isDSTShifted=this.isValid()&&0<function(e,a,t){for(var s=Math.min(e.length,a.length),n=Math.abs(e.length-a.length),r=0,d=0;d<s;d++)(t&&e[d]!==a[d]||!t&&m(e[d])!==m(a[d]))&&r++;return r+n}(a._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});r=ne.prototype;function yt(e,a,t,s){var n=pa(),s=U().set(s,a);return n[t](s,e)}function ft(e,a,t){if(J(e)&&(a=e,e=void 0),e=e||"",null!=a)return yt(e,a,t,"month");for(var s=[],n=0;n<12;n++)s[n]=yt(e,n,t,"month");return s}function pt(e,a,t,s){a=("boolean"==typeof e?J(a)&&(t=a,a=void 0):(a=e,e=!1,J(t=a)&&(t=a,a=void 0)),a||"");var n,r=pa(),d=e?r._week.dow:0,i=[];if(null!=t)return yt(a,(t+d)%7,s,"day");for(n=0;n<7;n++)i[n]=yt(a,(n+d)%7,s,"day");return i}r.calendar=function(e,a,t){return te(e=this._calendar[e]||this._calendar.sameElse)?e.call(a,t):e},r.longDateFormat=function(e){var a=this._longDateFormat[e],t=this._longDateFormat[e.toUpperCase()];return a||!t?a:(this._longDateFormat[e]=t.match(ie).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},r.invalidDate=function(){return this._invalidDate},r.ordinal=function(e){return this._ordinal.replace("%d",e)},r.preparse=Yt,r.postformat=Yt,r.relativeTime=function(e,a,t,s){var n=this._relativeTime[t];return te(n)?n(e,a,t,s):n.replace(/%d/i,e)},r.pastFuture=function(e,a){return te(e=this._relativeTime[0<e?"future":"past"])?e(a):e.replace(/%s/i,a)},r.set=function(e){var a,t;for(t in e)l(e,t)&&(te(a=e[t])?this[t]=a:this["_"+t]=a);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},r.eras=function(e,a){for(var t,s=this._eras||pa("en")._eras,n=0,r=s.length;n<r;++n){switch(typeof s[n].since){case"string":t=M(s[n].since).startOf("day"),s[n].since=t.valueOf();break}switch(typeof s[n].until){case"undefined":s[n].until=1/0;break;case"string":t=M(s[n].until).startOf("day").valueOf(),s[n].until=t.valueOf();break}}return s},r.erasParse=function(e,a,t){var s,n,r,d,i,_=this.eras();for(e=e.toUpperCase(),s=0,n=_.length;s<n;++s)if(r=_[s].name.toUpperCase(),d=_[s].abbr.toUpperCase(),i=_[s].narrow.toUpperCase(),t)switch(a){case"N":case"NN":case"NNN":if(d===e)return _[s];break;case"NNNN":if(r===e)return _[s];break;case"NNNNN":if(i===e)return _[s];break}else if(0<=[r,d,i].indexOf(e))return _[s]},r.erasConvertYear=function(e,a){var t=e.since<=e.until?1:-1;return void 0===a?M(e.since).year():M(e.since).year()+(a-e.offset)*t},r.erasAbbrRegex=function(e){return l(this,"_erasAbbrRegex")||lt.call(this),e?this._erasAbbrRegex:this._erasRegex},r.erasNameRegex=function(e){return l(this,"_erasNameRegex")||lt.call(this),e?this._erasNameRegex:this._erasRegex},r.erasNarrowRegex=function(e){return l(this,"_erasNarrowRegex")||lt.call(this),e?this._erasNarrowRegex:this._erasRegex},r.months=function(e,a){return e?(F(this._months)?this._months:this._months[(this._months.isFormat||Re).test(a)?"format":"standalone"])[e.month()]:F(this._months)?this._months:this._months.standalone},r.monthsShort=function(e,a){return e?(F(this._monthsShort)?this._monthsShort:this._monthsShort[Re.test(a)?"format":"standalone"])[e.month()]:F(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},r.monthsParse=function(e,a,t){var s,n;if(this._monthsParseExact)return function(e,a,t){var s,n,r,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)r=U([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(r,"").toLocaleLowerCase();return t?"MMM"===a?-1!==(n=T.call(this._shortMonthsParse,e))?n:null:-1!==(n=T.call(this._longMonthsParse,e))?n:null:"MMM"===a?-1!==(n=T.call(this._shortMonthsParse,e))||-1!==(n=T.call(this._longMonthsParse,e))?n:null:-1!==(n=T.call(this._longMonthsParse,e))||-1!==(n=T.call(this._shortMonthsParse,e))?n:null}.call(this,e,a,t);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(n=U([2e3,s]),t&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(n,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(n,"").replace(".","")+"$","i")),t||this._monthsParse[s]||(n="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[s]=new RegExp(n.replace(".",""),"i")),t&&"MMMM"===a&&this._longMonthsParse[s].test(e))return s;if(t&&"MMM"===a&&this._shortMonthsParse[s].test(e))return s;if(!t&&this._monthsParse[s].test(e))return s}},r.monthsRegex=function(e){return this._monthsParseExact?(l(this,"_monthsRegex")||Ve.call(this),e?this._monthsStrictRegex:this._monthsRegex):(l(this,"_monthsRegex")||(this._monthsRegex=Ie),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},r.monthsShortRegex=function(e){return this._monthsParseExact?(l(this,"_monthsRegex")||Ve.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(l(this,"_monthsShortRegex")||(this._monthsShortRegex=Ce),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},r.week=function(e){return Xe(e,this._week.dow,this._week.doy).week},r.firstDayOfYear=function(){return this._week.doy},r.firstDayOfWeek=function(){return this._week.dow},r.weekdays=function(e,a){return a=F(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(a)?"format":"standalone"],!0===e?aa(a,this._week.dow):e?a[e.day()]:a},r.weekdaysMin=function(e){return!0===e?aa(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},r.weekdaysShort=function(e){return!0===e?aa(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},r.weekdaysParse=function(e,a,t){var s,n;if(this._weekdaysParseExact)return function(e,a,t){var s,n,r,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)r=U([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(r,"").toLocaleLowerCase();return t?"dddd"===a?-1!==(n=T.call(this._weekdaysParse,e))?n:null:"ddd"===a?-1!==(n=T.call(this._shortWeekdaysParse,e))?n:null:-1!==(n=T.call(this._minWeekdaysParse,e))?n:null:"dddd"===a?-1!==(n=T.call(this._weekdaysParse,e))||-1!==(n=T.call(this._shortWeekdaysParse,e))||-1!==(n=T.call(this._minWeekdaysParse,e))?n:null:"ddd"===a?-1!==(n=T.call(this._shortWeekdaysParse,e))||-1!==(n=T.call(this._weekdaysParse,e))||-1!==(n=T.call(this._minWeekdaysParse,e))?n:null:-1!==(n=T.call(this._minWeekdaysParse,e))||-1!==(n=T.call(this._weekdaysParse,e))||-1!==(n=T.call(this._shortWeekdaysParse,e))?n:null}.call(this,e,a,t);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(n=U([2e3,1]).day(s),t&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(n,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(n,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(n,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(n="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[s]=new RegExp(n.replace(".",""),"i")),t&&"dddd"===a&&this._fullWeekdaysParse[s].test(e))return s;if(t&&"ddd"===a&&this._shortWeekdaysParse[s].test(e))return s;if(t&&"dd"===a&&this._minWeekdaysParse[s].test(e))return s;if(!t&&this._weekdaysParse[s].test(e))return s}},r.weekdaysRegex=function(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||_a.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=ra),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},r.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||_a.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=da),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},r.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||_a.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ia),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},r.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},r.meridiem=function(e,a,t){return 11<e?t?"pm":"PM":t?"am":"AM"},ya("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var a=e%10;return e+(1===m(e%100/10)?"th":1==a?"st":2==a?"nd":3==a?"rd":"th")}}),M.lang=e("moment.lang is deprecated. Use moment.locale instead.",ya),M.langData=e("moment.langData is deprecated. Use moment.localeData instead.",pa);var kt=Math.abs;function Dt(e,a,t,s){a=$a(a,t);return e._milliseconds+=s*a._milliseconds,e._days+=s*a._days,e._months+=s*a._months,e._bubble()}function Tt(e){return e<0?Math.floor(e):Math.ceil(e)}function gt(e){return 4800*e/146097}function wt(e){return 146097*e/4800}function bt(e){return function(){return this.as(e)}}De=bt("ms"),pe=bt("s"),Ne=bt("m"),L=bt("h"),c=bt("d"),ta=bt("w"),f=bt("M"),ke=bt("Q"),y=bt("y");function St(e){return function(){return this.isValid()?this._data[e]:NaN}}var _=St("milliseconds"),Y=St("seconds"),Ke=St("minutes"),r=St("hours"),Ht=St("days"),vt=St("months"),jt=St("years");var xt=Math.round,Pt={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Ot(e,a,t,s){var n=$a(e).abs(),r=xt(n.as("s")),d=xt(n.as("m")),i=xt(n.as("h")),_=xt(n.as("d")),o=xt(n.as("M")),m=xt(n.as("w")),n=xt(n.as("y")),r=(r<=t.ss?["s",r]:r<t.s&&["ss",r])||d<=1&&["m"]||d<t.m&&["mm",d]||i<=1&&["h"]||i<t.h&&["hh",i]||_<=1&&["d"]||_<t.d&&["dd",_];return(r=(r=null!=t.w?r||m<=1&&["w"]||m<t.w&&["ww",m]:r)||o<=1&&["M"]||o<t.M&&["MM",o]||n<=1&&["y"]||["yy",n])[2]=a,r[3]=0<+e,r[4]=s,function(e,a,t,s,n){return n.relativeTime(a||1,!!t,e,s)}.apply(null,r)}var Wt=Math.abs;function At(e){return(0<e)-(e<0)||+e}function Et(){if(!this.isValid())return this.localeData().invalidDate();var e,a,t,s,n,r,d,i=Wt(this._milliseconds)/1e3,_=Wt(this._days),o=Wt(this._months),m=this.asSeconds();return m?(e=u(i/60),a=u(e/60),i%=60,e%=60,t=u(o/12),o%=12,s=i?i.toFixed(3).replace(/\.?0+$/,""):"",n=At(this._months)!==At(m)?"-":"",r=At(this._days)!==At(m)?"-":"",d=At(this._milliseconds)!==At(m)?"-":"",(m<0?"-":"")+"P"+(t?n+t+"Y":"")+(o?n+o+"M":"")+(_?r+_+"D":"")+(a||e||i?"T":"")+(a?d+a+"H":"")+(e?d+e+"M":"")+(i?d+s+"S":"")):"P0D"}function Ft(e){return 0===e?0:1===e?1:2===e?2:3<=e%100&&e%100<=10?3:11<=e%100?4:5}function H(d){return function(e,a,t,s){var n=Ft(e),r=Jt[d][Ft(e)];return(r=2===n?r[a?0:1]:r).replace(/%d/i,e)}}function zt(e){return 0===e?0:1===e?1:2===e?2:3<=e%100&&e%100<=10?3:11<=e%100?4:5}function v(d){return function(e,a,t,s){var n=zt(e),r=Ct[d][zt(e)];return(r=2===n?r[a?0:1]:r).replace(/%d/i,e)}}function Nt(e){return 0===e?0:1===e?1:2===e?2:3<=e%100&&e%100<=10?3:11<=e%100?4:5}function j(d){return function(e,a,t,s){var n=Nt(e),r=Bt[d][Nt(e)];return(r=2===n?r[a?0:1]:r).replace(/%d/i,e)}}var x=Ja.prototype,Jt=(x.isValid=function(){return this._isValid},x.abs=function(){var e=this._data;return this._milliseconds=kt(this._milliseconds),this._days=kt(this._days),this._months=kt(this._months),e.milliseconds=kt(e.milliseconds),e.seconds=kt(e.seconds),e.minutes=kt(e.minutes),e.hours=kt(e.hours),e.months=kt(e.months),e.years=kt(e.years),this},x.add=function(e,a){return Dt(this,e,a,1)},x.subtract=function(e,a){return Dt(this,e,a,-1)},x.as=function(e){if(!this.isValid())return NaN;var a,t,s=this._milliseconds;if("month"===(e=i(e))||"quarter"===e||"year"===e)switch(a=this._days+s/864e5,t=this._months+gt(a),e){case"month":return t;case"quarter":return t/3;case"year":return t/12}else switch(a=this._days+Math.round(wt(this._months)),e){case"week":return a/7+s/6048e5;case"day":return a+s/864e5;case"hour":return 24*a+s/36e5;case"minute":return 1440*a+s/6e4;case"second":return 86400*a+s/1e3;case"millisecond":return Math.floor(864e5*a)+s;default:throw new Error("Unknown unit "+e)}},x.asMilliseconds=De,x.asSeconds=pe,x.asMinutes=Ne,x.asHours=L,x.asDays=c,x.asWeeks=ta,x.asMonths=f,x.asQuarters=ke,x.asYears=y,x.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*m(this._months/12):NaN},x._bubble=function(){var e=this._milliseconds,a=this._days,t=this._months,s=this._data;return 0<=e&&0<=a&&0<=t||e<=0&&a<=0&&t<=0||(e+=864e5*Tt(wt(t)+a),t=a=0),s.milliseconds=e%1e3,e=u(e/1e3),s.seconds=e%60,e=u(e/60),s.minutes=e%60,e=u(e/60),s.hours=e%24,a+=u(e/24),t+=e=u(gt(a)),a-=Tt(wt(e)),e=u(t/12),t%=12,s.days=a,s.months=t,s.years=e,this},x.clone=function(){return $a(this)},x.get=function(e){return e=i(e),this.isValid()?this[e+"s"]():NaN},x.milliseconds=_,x.seconds=Y,x.minutes=Ke,x.hours=r,x.days=Ht,x.weeks=function(){return u(this.days()/7)},x.months=vt,x.years=jt,x.humanize=function(e,a){if(!this.isValid())return this.localeData().invalidDate();var t=!1,s=Pt;return"object"==typeof e&&(a=e,e=!1),"boolean"==typeof e&&(t=e),"object"==typeof a&&(s=Object.assign({},Pt,a),null!=a.s&&null==a.ss&&(s.ss=a.s-1)),e=this.localeData(),a=Ot(this,!t,s,e),t&&(a=e.pastFuture(+this,a)),e.postformat(a)},x.toISOString=Et,x.toString=Et,x.toJSON=Et,x.locale=rt,x.localeData=dt,x.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Et),x.lang=na,s("X",0,0,"unix"),s("x",0,0,"valueOf"),p("x",ge),p("X",/[+-]?\d+(\.\d{1,3})?/),D("X",function(e,a,t){t._d=new Date(1e3*parseFloat(e))}),D("x",function(e,a,t){t._d=new Date(m(e))}),M.version="2.29.4",E=S,M.fn=n,M.min=function(){return za("isBefore",[].slice.call(arguments,0))},M.max=function(){return za("isAfter",[].slice.call(arguments,0))},M.now=function(){return Date.now?Date.now():+new Date},M.utc=U,M.unix=function(e){return S(1e3*e)},M.months=function(e,a){return ft(e,a,"months")},M.isDate=R,M.locale=ya,M.invalid=V,M.duration=$a,M.isMoment=Q,M.weekdays=function(e,a,t){return pt(e,a,t,"weekdays")},M.parseZone=function(){return S.apply(null,arguments).parseZone()},M.localeData=pa,M.isDuration=Ra,M.monthsShort=function(e,a){return ft(e,a,"monthsShort")},M.weekdaysMin=function(e,a,t){return pt(e,a,t,"weekdaysMin")},M.defineLocale=fa,M.updateLocale=function(e,a){var t,s;return null!=a?(s=Ma,null!=b[e]&&null!=b[e].parentLocale?b[e].set(se(b[e]._config,a)):(a=se(s=null!=(t=Ya(e))?t._config:s,a),null==t&&(a.abbr=e),(s=new ne(a)).parentLocale=b[e],b[e]=s),ya(e)):null!=b[e]&&(null!=b[e].parentLocale?(b[e]=b[e].parentLocale,e===ya()&&ya(e)):null!=b[e]&&delete b[e]),b[e]},M.locales=function(){return re(b)},M.weekdaysShort=function(e,a,t){return pt(e,a,t,"weekdaysShort")},M.normalizeUnits=i,M.relativeTimeRounding=function(e){return void 0===e?xt:"function"==typeof e&&(xt=e,!0)},M.relativeTimeThreshold=function(e,a){return void 0!==Pt[e]&&(void 0===a?Pt[e]:(Pt[e]=a,"s"===e&&(Pt.ss=a-1),!0))},M.calendarFormat=function(e,a){return(e=e.diff(a,"days",!0))<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},M.prototype=n,M.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},M.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,a,t){return e<12?t?"vm":"VM":t?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||20<=e?"ste":"de")},week:{dow:1,doy:4}}),{s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]}),De=["\u062c\u0627\u0646\u0641\u064a","\u0641\u064a\u0641\u0631\u064a","\u0645\u0627\u0631\u0633","\u0623\u0641\u0631\u064a\u0644","\u0645\u0627\u064a","\u062c\u0648\u0627\u0646","\u062c\u0648\u064a\u0644\u064a\u0629","\u0623\u0648\u062a","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"],Rt=(M.defineLocale("ar-dz",{months:De,monthsShort:De,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,a,t){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:H("s"),ss:H("s"),m:H("m"),mm:H("m"),h:H("h"),hh:H("h"),d:H("d"),dd:H("d"),M:H("M"),MM:H("M"),y:H("y"),yy:H("y")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:0,doy:4}}),M.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}}),{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"}),Ct={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},pe=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"],It=(M.defineLocale("ar-ly",{months:pe,monthsShort:pe,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,a,t){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:v("s"),ss:v("s"),m:v("m"),mm:v("m"),h:v("h"),hh:v("h"),d:v("d"),dd:v("d"),M:v("M"),MM:v("M"),y:v("y"),yy:v("y")},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return Rt[e]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}}),M.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}}),{1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"}),Ut={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},Gt=(M.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,a,t){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(e){return Ut[e]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return It[e]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}}),M.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}}),{1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"}),Vt={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},Bt={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},Ne=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"],Kt=(M.defineLocale("ar",{months:Ne,monthsShort:Ne,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,a,t){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:j("s"),ss:j("s"),m:j("m"),mm:j("m"),h:j("h"),hh:j("h"),d:j("d"),dd:j("d"),M:j("M"),MM:j("M"),y:j("y"),yy:j("y")},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(e){return Vt[e]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return Gt[e]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}}),{1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"});function qt(e,a,t){return"m"===t?a?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===t?a?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":e+" "+(e=+e,a=(a={ss:a?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:a?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:a?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[t]).split("_"),e%10==1&&e%100!=11?a[0]:2<=e%10&&e%10<=4&&(e%100<10||20<=e%100)?a[1]:a[2])}M.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"bir ne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(e){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(e)},meridiem:function(e,a,t){return e<4?"gec\u0259":e<12?"s\u0259h\u0259r":e<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(e){if(0===e)return e+"-\u0131nc\u0131";var a=e%10;return e+(Kt[a]||Kt[e%100-a]||Kt[100<=e?100:null])},week:{dow:1,doy:7}}),M.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:qt,mm:qt,h:qt,hh:qt,d:"\u0434\u0437\u0435\u043d\u044c",dd:qt,M:"\u043c\u0435\u0441\u044f\u0446",MM:qt,y:"\u0433\u043e\u0434",yy:qt},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(e)},meridiem:function(e,a,t){return e<4?"\u043d\u043e\u0447\u044b":e<12?"\u0440\u0430\u043d\u0456\u0446\u044b":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(e,a){switch(a){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-\u044b":e+"-\u0456";case"D":return e+"-\u0433\u0430";default:return e}},week:{dow:1,doy:7}}),M.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0443_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(e){var a=e%10,t=e%100;return 0===e?e+"-\u0435\u0432":0==t?e+"-\u0435\u043d":10<t&&t<20?e+"-\u0442\u0438":1==a?e+"-\u0432\u0438":2==a?e+"-\u0440\u0438":7==a||8==a?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}}),M.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}});var Zt={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},$t={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"},Qt=(M.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(e){return e.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(e){return $t[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return Zt[e]})},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u09b0\u09be\u09a4"===a?e<4?e:e+12:"\u09ad\u09cb\u09b0"===a||"\u09b8\u0995\u09be\u09b2"===a?e:"\u09a6\u09c1\u09aa\u09c1\u09b0"===a?3<=e?e:e+12:"\u09ac\u09bf\u0995\u09be\u09b2"===a||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===a?e+12:void 0},meridiem:function(e,a,t){return e<4?"\u09b0\u09be\u09a4":e<6?"\u09ad\u09cb\u09b0":e<12?"\u09b8\u0995\u09be\u09b2":e<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":e<18?"\u09ac\u09bf\u0995\u09be\u09b2":e<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}}),{1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"}),Xt={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"},es=(M.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(e){return e.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(e){return Xt[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return Qt[e]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u09b0\u09be\u09a4"===a&&4<=e||"\u09a6\u09c1\u09aa\u09c1\u09b0"===a&&e<5||"\u09ac\u09bf\u0995\u09be\u09b2"===a?e+12:e},meridiem:function(e,a,t){return e<4?"\u09b0\u09be\u09a4":e<10?"\u09b8\u0995\u09be\u09b2":e<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":e<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}}),{1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"}),as={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};function ts(e,a,t){return e+" "+(t={mm:"munutenn",MM:"miz",dd:"devezh"}[t],2!==(e=e)?t:void 0!==(e={m:"v",b:"v",d:"z"})[(t=t).charAt(0)]?e[t.charAt(0)]+t.substring(1):t)}M.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(e){return e.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(e){return as[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return es[e]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===a&&4<=e||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===a&&e<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===a?e+12:e},meridiem:function(e,a,t){return e<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":e<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":e<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":e<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}});L=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],c=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,ta=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];function ss(e,a,t){var s=e+" ";switch(t){case"ss":return s+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return a?"jedna minuta":"jedne minute";case"mm":return s+=1!==e&&(2===e||3===e||4===e)?"minute":"minuta";case"h":return a?"jedan sat":"jednog sata";case"hh":return s+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return s+=1===e?"dan":"dana";case"MM":return s+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return s+=1!==e&&(2===e||3===e||4===e)?"godine":"godina"}}M.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:ta,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:ta,monthsRegex:c,monthsShortRegex:c,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:L,longMonthsParse:L,shortMonthsParse:L,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:ts,h:"un eur",hh:"%d eur",d:"un devezh",dd:ts,M:"ur miz",MM:ts,y:"ur bloaz",yy:function(e){switch(function e(a){if(9<a)return e(a%10);return a}(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(e){return e+(1===e?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return"g.m."===e},meridiem:function(e,a,t){return e<12?"a.m.":"g.m."}}),M.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:ss,m:ss,mm:ss,h:ss,hh:ss,d:"dan",dd:ss,M:"mjesec",MM:ss,y:"godinu",yy:ss},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),M.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(e,a){return e+("w"!==a&&"W"!==a?1===e?"r":2===e?"n":3===e?"r":4===e?"t":"\xe8":"a")},week:{dow:1,doy:4}});f={format:"leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),standalone:"ledna_\xfanora_b\u0159ezna_dubna_kv\u011btna_\u010dervna_\u010dervence_srpna_z\xe1\u0159\xed_\u0159\xedjna_listopadu_prosince".split("_")},ke="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),y=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],_=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function ns(e){return 1<e&&e<5&&1!=~~(e/10)}function P(e,a,t,s){var n=e+" ";switch(t){case"s":return a||s?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return a||s?n+(ns(e)?"sekundy":"sekund"):n+"sekundami";case"m":return a?"minuta":s?"minutu":"minutou";case"mm":return a||s?n+(ns(e)?"minuty":"minut"):n+"minutami";case"h":return a?"hodina":s?"hodinu":"hodinou";case"hh":return a||s?n+(ns(e)?"hodiny":"hodin"):n+"hodinami";case"d":return a||s?"den":"dnem";case"dd":return a||s?n+(ns(e)?"dny":"dn\xed"):n+"dny";case"M":return a||s?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return a||s?n+(ns(e)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):n+"m\u011bs\xedci";case"y":return a||s?"rok":"rokem";case"yy":return a||s?n+(ns(e)?"roky":"let"):n+"lety"}}function rs(e,a,t,s){e={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return a?e[t][0]:e[t][1]}function ds(e,a,t,s){e={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return a?e[t][0]:e[t][1]}function is(e,a,t,s){e={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return a?e[t][0]:e[t][1]}M.defineLocale("cs",{months:f,monthsShort:ke,monthsRegex:_,monthsShortRegex:_,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:y,longMonthsParse:y,shortMonthsParse:y,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:P,ss:P,m:P,mm:P,h:P,hh:P,d:P,dd:P,M:P,MM:P,y:P,yy:P},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),M.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(e){return e+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(e)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(e)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}}),M.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var a="";return 20<e?a=40===e||50===e||60===e||80===e||100===e?"fed":"ain":0<e&&(a=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+a},week:{dow:1,doy:4}}),M.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),M.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:rs,mm:"%d Minuten",h:rs,hh:"%d Stunden",d:rs,dd:rs,w:rs,ww:"%d Wochen",M:rs,MM:rs,y:rs,yy:rs},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),M.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:ds,mm:"%d Minuten",h:ds,hh:"%d Stunden",d:ds,dd:ds,w:ds,ww:"%d Wochen",M:ds,MM:ds,y:ds,yy:ds},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),M.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:is,mm:"%d Minuten",h:is,hh:"%d Stunden",d:is,dd:is,w:is,ww:"%d Wochen",M:is,MM:is,y:is,yy:is},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});Y=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],Ke=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];M.defineLocale("dv",{months:Y,monthsShort:Y,weekdays:Ke,weekdaysShort:Ke,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(e){return"\u0789\u078a"===e},meridiem:function(e,a,t){return e<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:7,doy:12}}),M.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(e,a){return e?("string"==typeof a&&/D/.test(a.substring(0,a.indexOf("MMMM")))?this._monthsGenitiveEl:this._monthsNominativeEl)[e.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(e,a,t){return 11<e?t?"\u03bc\u03bc":"\u039c\u039c":t?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(e){return"\u03bc"===(e+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT";default:return"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,a){var t,e=this._calendarEl[e],s=a&&a.hours();return t=e,(e="undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)?e.apply(a):e).replace("{}",s%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}}),M.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1==a?"st":2==a?"nd":3==a?"rd":"th")},week:{dow:0,doy:4}}),M.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1==a?"st":2==a?"nd":3==a?"rd":"th")}}),M.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1==a?"st":2==a?"nd":3==a?"rd":"th")},week:{dow:1,doy:4}}),M.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1==a?"st":2==a?"nd":3==a?"rd":"th")},week:{dow:1,doy:4}}),M.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1==a?"st":2==a?"nd":3==a?"rd":"th")}}),M.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1==a?"st":2==a?"nd":3==a?"rd":"th")},week:{dow:0,doy:6}}),M.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1==a?"st":2==a?"nd":3==a?"rd":"th")},week:{dow:1,doy:4}}),M.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1==a?"st":2==a?"nd":3==a?"rd":"th")},week:{dow:1,doy:4}}),M.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,a,t){return 11<e?t?"p.t.m.":"P.T.M.":t?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}});var _s="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),os="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],Ht=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,ms=(M.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,a){return e?(/-MMM-/.test(a)?os:_s)[e.month()]:_s},monthsRegex:Ht,monthsShortRegex:Ht,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}}),"ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_")),us="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),vt=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],jt=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,ls=(M.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,a){return e?(/-MMM-/.test(a)?us:ms)[e.month()]:ms},monthsRegex:jt,monthsShortRegex:jt,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:vt,longMonthsParse:vt,shortMonthsParse:vt,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:4},invalidDate:"Fecha inv\xe1lida"}),"ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_")),Ms="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),x=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],na=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,hs=(M.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,a){return e?(/-MMM-/.test(a)?Ms:ls)[e.month()]:ls},monthsRegex:na,monthsShortRegex:na,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:x,longMonthsParse:x,shortMonthsParse:x,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}}),"ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_")),cs="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),ge=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],n=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;function Ls(e,a,t,s){e={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[e+" minuti",e+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[e+" tunni",e+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[e+" kuu",e+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[e+" aasta",e+" aastat"]};return a?e[t][2]||e[t][1]:s?e[t][0]:e[t][1]}M.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,a){return e?(/-MMM-/.test(a)?cs:hs)[e.month()]:hs},monthsRegex:n,monthsShortRegex:n,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:ge,longMonthsParse:ge,shortMonthsParse:ge,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4},invalidDate:"Fecha inv\xe1lida"}),M.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:Ls,ss:Ls,m:Ls,mm:Ls,h:Ls,hh:Ls,d:Ls,dd:"%d p\xe4eva",M:Ls,MM:Ls,y:Ls,yy:Ls},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),M.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});var Ys={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},ys={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"},fs=(M.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(e){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(e)},meridiem:function(e,a,t){return e<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"%d \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/[\u06f0-\u06f9]/g,function(e){return ys[e]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return Ys[e]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}}),"nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" ")),ps=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",fs[7],fs[8],fs[9]];function O(e,a,t,s){var n="";switch(t){case"s":return s?"muutaman sekunnin":"muutama sekunti";case"ss":n=s?"sekunnin":"sekuntia";break;case"m":return s?"minuutin":"minuutti";case"mm":n=s?"minuutin":"minuuttia";break;case"h":return s?"tunnin":"tunti";case"hh":n=s?"tunnin":"tuntia";break;case"d":return s?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":n=s?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return s?"kuukauden":"kuukausi";case"MM":n=s?"kuukauden":"kuukautta";break;case"y":return s?"vuoden":"vuosi";case"yy":n=s?"vuoden":"vuotta";break}return t=s,n=((e=e)<10?(t?ps:fs)[e]:e)+" "+n}M.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:O,ss:O,m:O,mm:O,h:O,hh:O,d:O,dd:O,M:O,MM:O,y:O,yy:O},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),M.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}}),M.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),M.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,a){switch(a){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}}),M.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,a){switch(a){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}});var De=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,pe=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i],ks=(M.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsRegex:De,monthsShortRegex:De,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:pe,longMonthsParse:pe,shortMonthsParse:pe,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,a){switch(a){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}}),"jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_")),Ds="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");M.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,a){return e?(/-MMM-/.test(a)?Ds:ks)[e.month()]:ks},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||20<=e?"ste":"de")},week:{dow:1,doy:4}}),M.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}});function Ts(e,a,t,s){e={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[e+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",e+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[e+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",e+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[e+" \u0935\u0930\u093e\u0902\u0928\u0940",e+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[e+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",e+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[e+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",e+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[e+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",e+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return s?e[t][0]:e[t][1]}function gs(e,a,t,s){e={s:["thoddea sekondamni","thodde sekond"],ss:[e+" sekondamni",e+" sekond"],m:["eka mintan","ek minut"],mm:[e+" mintamni",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voramni",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disamni",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineamni",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsamni",e+" vorsam"]};return s?e[t][0]:e[t][1]}M.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}}),M.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}}),M.defineLocale("gom-deva",{months:{standalone:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:Ts,ss:Ts,m:Ts,mm:Ts,h:Ts,hh:Ts,d:Ts,dd:Ts,M:Ts,MM:Ts,y:Ts,yy:Ts},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(e,a){switch(a){case"D":return e+"\u0935\u0947\u0930";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u0930\u093e\u0924\u0940"===a?e<4?e:e+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===a?e:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===a?12<e?e:e+12:"\u0938\u093e\u0902\u091c\u0947"===a?e+12:void 0},meridiem:function(e,a,t){return e<4?"\u0930\u093e\u0924\u0940":e<12?"\u0938\u0915\u093e\u0933\u0940\u0902":e<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":e<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}}),M.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:gs,ss:gs,m:gs,mm:gs,h:gs,hh:gs,d:gs,dd:gs,M:gs,MM:gs,y:gs,yy:gs},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,a){switch(a){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,a){return 12===e&&(e=0),"rati"===a?e<4?e:e+12:"sokallim"===a?e:"donparam"===a?12<e?e:e+12:"sanje"===a?e+12:void 0},meridiem:function(e,a,t){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}});var ws={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},bs={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"},Ss=(M.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ab9\u0ac7\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(e){return e.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(e){return bs[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return ws[e]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u0ab0\u0abe\u0aa4"===a?e<4?e:e+12:"\u0ab8\u0ab5\u0abe\u0ab0"===a?e:"\u0aac\u0aaa\u0acb\u0ab0"===a?10<=e?e:e+12:"\u0ab8\u0abe\u0a82\u0a9c"===a?e+12:void 0},meridiem:function(e,a,t){return e<4?"\u0ab0\u0abe\u0aa4":e<10?"\u0ab8\u0ab5\u0abe\u0ab0":e<17?"\u0aac\u0aaa\u0acb\u0ab0":e<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}}),M.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(e){return 2===e?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":e+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(e){return 2===e?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":e+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(e){return 2===e?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":e+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(e){return 2===e?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":e%10==0&&10!==e?e+" \u05e9\u05e0\u05d4":e+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(e){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(e)},meridiem:function(e,a,t){return e<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":e<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":e<12?t?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":e<18?t?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}}),{1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"}),Hs={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},Ne=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];function vs(e,a,t){var s=e+" ";switch(t){case"ss":return s+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return a?"jedna minuta":"jedne minute";case"mm":return s+=1!==e&&(2===e||3===e||4===e)?"minute":"minuta";case"h":return a?"jedan sat":"jednog sata";case"hh":return s+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return s+=1===e?"dan":"dana";case"MM":return s+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return s+=1!==e&&(2===e||3===e||4===e)?"godine":"godina"}}M.defineLocale("hi",{months:{format:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\u092c\u0930".split("_")},monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},monthsParse:Ne,longMonthsParse:Ne,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908?|\u0905\u0917\u0938\u094d\u0924?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\u091c\u0928\.?|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\.?|\u0905\u0917\.?|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\.?|\u0926\u093f\u0938\.?)/i,calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(e){return Hs[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return Ss[e]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u0930\u093e\u0924"===a?e<4?e:e+12:"\u0938\u0941\u092c\u0939"===a?e:"\u0926\u094b\u092a\u0939\u0930"===a?10<=e?e:e+12:"\u0936\u093e\u092e"===a?e+12:void 0},meridiem:function(e,a,t){return e<4?"\u0930\u093e\u0924":e<10?"\u0938\u0941\u092c\u0939":e<17?"\u0926\u094b\u092a\u0939\u0930":e<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}}),M.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:vs,m:vs,mm:vs,h:vs,hh:vs,d:"dan",dd:vs,M:"mjesec",MM:vs,y:"godinu",yy:vs},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});var js="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function xs(e,a,t,s){var n=e;switch(t){case"s":return s||a?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return n+(s||a)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(s||a?" perc":" perce");case"mm":return n+(s||a?" perc":" perce");case"h":return"egy"+(s||a?" \xf3ra":" \xf3r\xe1ja");case"hh":return n+(s||a?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(s||a?" nap":" napja");case"dd":return n+(s||a?" nap":" napja");case"M":return"egy"+(s||a?" h\xf3nap":" h\xf3napja");case"MM":return n+(s||a?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(s||a?" \xe9v":" \xe9ve");case"yy":return n+(s||a?" \xe9v":" \xe9ve")}return""}function Ps(e){return(e?"":"[m\xfalt] ")+"["+js[this.day()]+"] LT[-kor]"}function Os(e){return e%100==11||e%10!=1}function Ws(e,a,t,s){var n=e+" ";switch(t){case"s":return a||s?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return Os(e)?n+(a||s?"sek\xfandur":"sek\xfandum"):n+"sek\xfanda";case"m":return a?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return Os(e)?n+(a||s?"m\xedn\xfatur":"m\xedn\xfatum"):a?n+"m\xedn\xfata":n+"m\xedn\xfatu";case"hh":return Os(e)?n+(a||s?"klukkustundir":"klukkustundum"):n+"klukkustund";case"d":return a?"dagur":s?"dag":"degi";case"dd":return Os(e)?a?n+"dagar":n+(s?"daga":"d\xf6gum"):a?n+"dagur":n+(s?"dag":"degi");case"M":return a?"m\xe1nu\xf0ur":s?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return Os(e)?a?n+"m\xe1nu\xf0ir":n+(s?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):a?n+"m\xe1nu\xf0ur":n+(s?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return a||s?"\xe1r":"\xe1ri";case"yy":return Os(e)?n+(a||s?"\xe1r":"\xe1rum"):n+(a||s?"\xe1r":"\xe1ri")}}M.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan._feb._m\xe1rc._\xe1pr._m\xe1j._j\xfan._j\xfal._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,a,t){return e<12?!0===t?"de":"DE":!0===t?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return Ps.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return Ps.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:xs,ss:xs,m:xs,mm:xs,h:xs,hh:xs,d:xs,dd:xs,M:xs,MM:xs,y:xs,yy:xs},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),M.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(e){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(e)},meridiem:function(e){return e<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":e<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":e<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(e,a){switch(a){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-\u056b\u0576":e+"-\u0580\u0564";default:return e}},week:{dow:1,doy:7}}),M.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,a){return 12===e&&(e=0),"pagi"===a?e:"siang"===a?11<=e?e:e+12:"sore"===a||"malam"===a?e+12:void 0},meridiem:function(e,a,t){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}}),M.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:Ws,ss:Ws,m:Ws,mm:Ws,h:"klukkustund",hh:Ws,d:Ws,dd:Ws,M:Ws,MM:Ws,y:Ws,yy:Ws},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),M.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}}),M.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(1<this.hours()?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(1<this.hours()?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(1<this.hours()?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(1<this.hours()?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){switch(this.day()){case 0:return"[La scorsa] dddd [a"+(1<this.hours()?"lle ":0===this.hours()?" ":"ll'")+"]LT";default:return"[Lo scorso] dddd [a"+(1<this.hours()?"lle ":0===this.hours()?" ":"ll'")+"]LT"}},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}}),M.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(e,a){return"\u5143"===a[1]?1:parseInt(a[1]||e,10)},months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(e){return"\u5348\u5f8c"===e},meridiem:function(e,a,t){return e<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(e){return e.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(e){return this.week()!==e.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(e,a){switch(a){case"y":return 1===e?"\u5143\u5e74":e+"\u5e74";case"d":case"D":case"DDD":return e+"\u65e5";default:return e}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}}),M.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,a){return 12===e&&(e=0),"enjing"===a?e:"siyang"===a?11<=e?e:e+12:"sonten"===a||"ndalu"===a?e+12:void 0},meridiem:function(e,a,t){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}}),M.defineLocale("ka",{months:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(e){return e.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(e,a,t){return"\u10d8"===t?a+"\u10e8\u10d8":a+t+"\u10e8\u10d8"})},past:function(e){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(e)?e.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(e)?e.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):e},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(e){return 0===e?e:1===e?e+"-\u10da\u10d8":e<20||e<=100&&e%20==0||e%100==0?"\u10db\u10d4-"+e:e+"-\u10d4"},week:{dow:1,doy:7}});var As={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"},Es=(M.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(e){return e+(As[e]||As[e%10]||As[100<=e?100:null])},week:{dow:1,doy:7}}),{1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"}),Fs={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"},zs=(M.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(e){return"\u179b\u17d2\u1784\u17b6\u1785"===e},meridiem:function(e,a,t){return e<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(e){return e.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(e){return Fs[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return Es[e]})},week:{dow:1,doy:4}}),{1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"}),Ns={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"},Js=(M.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(e){return e.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(e){return Ns[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return zs[e]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===a?e<4?e:e+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===a?e:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===a?10<=e?e:e+12:"\u0cb8\u0c82\u0c9c\u0cc6"===a?e+12:void 0},meridiem:function(e,a,t){return e<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":e<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":e<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":e<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(e){return e+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}}),M.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(e,a){switch(a){case"d":case"D":case"DDD":return e+"\uc77c";case"M":return e+"\uc6d4";case"w":case"W":return e+"\uc8fc";default:return e}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(e){return"\uc624\ud6c4"===e},meridiem:function(e,a,t){return e<12?"\uc624\uc804":"\uc624\ud6c4"}}),{1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"}),Rs={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},ta=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"],Cs=(M.defineLocale("ku",{months:ta,monthsShort:ta,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(e){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(e)},meridiem:function(e,a,t){return e<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(e){return Rs[e]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return Js[e]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}}),{0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"});function Is(e,a,t,s){var n={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return a?n[t][0]:n[t][1]}function Us(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;var a;if(e<100)return Us(0==(a=e%10)?e/10:a);if(e<1e4){for(;10<=e;)e/=10;return Us(e)}return Us(e/=1e3)}M.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(e){return e+(Cs[e]||Cs[e%10]||Cs[100<=e?100:null])},week:{dow:1,doy:7}}),M.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(e){return Us(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return Us(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",ss:"%d Sekonnen",m:Is,mm:"%d Minutten",h:Is,hh:"%d Stonnen",d:Is,dd:"%d Deeg",M:Is,MM:"%d M\xe9int",y:Is,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),M.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(e){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===e},meridiem:function(e,a,t){return e<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(e){return"\u0e97\u0eb5\u0ec8"+e}});var Gs={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function Vs(e,a,t,s){return a?Ks(t)[0]:s?Ks(t)[1]:Ks(t)[2]}function Bs(e){return e%10==0||10<e&&e<20}function Ks(e){return Gs[e].split("_")}function qs(e,a,t,s){var n=e+" ";return 1===e?n+Vs(0,a,t[0],s):a?n+(Bs(e)?Ks(t)[1]:Ks(t)[0]):s?n+Ks(t)[1]:n+(Bs(e)?Ks(t)[1]:Ks(t)[2])}M.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function(e,a,t,s){return a?"kelios sekund\u0117s":s?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:qs,m:Vs,mm:qs,h:Vs,hh:qs,d:Vs,dd:qs,M:Vs,MM:qs,y:Vs,yy:qs},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}});var Zs={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function $s(e,a,t){return t?a%10==1&&a%100!=11?e[2]:e[3]:a%10==1&&a%100!=11?e[0]:e[1]}function Qs(e,a,t){return e+" "+$s(Zs[t],e,a)}function Xs(e,a,t){return $s(Zs[t],e,a)}M.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function(e,a){return a?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:Qs,m:Xs,mm:Qs,h:Xs,hh:Qs,d:Xs,dd:Qs,M:Xs,MM:Qs,y:Xs,yy:Qs},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var en={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,a){return 1===e?a[0]:2<=e&&e<=4?a[1]:a[2]},translate:function(e,a,t){var s=en.words[t];return 1===t.length?a?s[0]:s[1]:e+" "+en.correctGrammaticalCase(e,s)}};function an(e,a,t,s){switch(t){case"s":return a?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return e+(a?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return e+(a?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return e+(a?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return e+(a?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return e+(a?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return e+(a?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return e}}M.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:en.translate,m:en.translate,mm:en.translate,h:en.translate,hh:en.translate,d:"dan",dd:en.translate,M:"mjesec",MM:en.translate,y:"godinu",yy:en.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),M.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}}),M.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(e){var a=e%10,t=e%100;return 0===e?e+"-\u0435\u0432":0==t?e+"-\u0435\u043d":10<t&&t<20?e+"-\u0442\u0438":1==a?e+"-\u0432\u0438":2==a?e+"-\u0440\u0438":7==a||8==a?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}}),M.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(e,a){return 12===e&&(e=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===a&&4<=e||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===a||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===a?e+12:e},meridiem:function(e,a,t){return e<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":e<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":e<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":e<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}}),M.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(e){return"\u04ae\u0425"===e},meridiem:function(e,a,t){return e<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:an,ss:an,m:an,mm:an,h:an,hh:an,d:an,dd:an,M:an,MM:an,y:an,yy:an},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(e,a){switch(a){case"d":case"D":case"DDD":return e+" \u04e9\u0434\u04e9\u0440";default:return e}}});var tn={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},sn={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function nn(e,a,t,s){var n="";if(a)switch(t){case"s":n="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":n="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":n="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":n="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":n="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":n="%d \u0924\u093e\u0938";break;case"d":n="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":n="%d \u0926\u093f\u0935\u0938";break;case"M":n="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":n="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":n="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":n="%d \u0935\u0930\u094d\u0937\u0947";break}else switch(t){case"s":n="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":n="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":n="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":n="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":n="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":n="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":n="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":n="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":n="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":n="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":n="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":n="%d \u0935\u0930\u094d\u0937\u093e\u0902";break}return n.replace(/%d/i,e)}M.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:nn,ss:nn,m:nn,mm:nn,h:nn,hh:nn,d:nn,dd:nn,M:nn,MM:nn,y:nn,yy:nn},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(e){return sn[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return tn[e]})},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u092a\u0939\u093e\u091f\u0947"===a||"\u0938\u0915\u093e\u0933\u0940"===a?e:"\u0926\u0941\u092a\u093e\u0930\u0940"===a||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===a||"\u0930\u093e\u0924\u094d\u0930\u0940"===a?12<=e?e:e+12:void 0},meridiem:function(e,a,t){return 0<=e&&e<6?"\u092a\u0939\u093e\u091f\u0947":e<12?"\u0938\u0915\u093e\u0933\u0940":e<17?"\u0926\u0941\u092a\u093e\u0930\u0940":e<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}}),M.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,a){return 12===e&&(e=0),"pagi"===a?e:"tengahari"===a?11<=e?e:e+12:"petang"===a||"malam"===a?e+12:void 0},meridiem:function(e,a,t){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}}),M.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,a){return 12===e&&(e=0),"pagi"===a?e:"tengahari"===a?11<=e?e:e+12:"petang"===a||"malam"===a?e+12:void 0},meridiem:function(e,a,t){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}}),M.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}});var rn={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},dn={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"},_n=(M.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(e){return e.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(e){return dn[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return rn[e]})},week:{dow:1,doy:4}}),M.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),{1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"}),on={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},mn=(M.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(e){return on[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return _n[e]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u0930\u093e\u0924\u093f"===a?e<4?e:e+12:"\u092c\u093f\u0939\u093e\u0928"===a?e:"\u0926\u093f\u0909\u0901\u0938\u094b"===a?10<=e?e:e+12:"\u0938\u093e\u0901\u091d"===a?e+12:void 0},meridiem:function(e,a,t){return e<3?"\u0930\u093e\u0924\u093f":e<12?"\u092c\u093f\u0939\u093e\u0928":e<16?"\u0926\u093f\u0909\u0901\u0938\u094b":e<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}}),"jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_")),un="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),c=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],L=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,ln=(M.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,a){return e?(/-MMM-/.test(a)?un:mn)[e.month()]:mn},monthsRegex:L,monthsShortRegex:L,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:c,longMonthsParse:c,shortMonthsParse:c,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||20<=e?"ste":"de")},week:{dow:1,doy:4}}),"jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_")),Mn="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),f=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],ke=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,hn=(M.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,a){return e?(/-MMM-/.test(a)?Mn:ln)[e.month()]:ln},monthsRegex:ke,monthsShortRegex:ke,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:f,longMonthsParse:f,shortMonthsParse:f,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",w:"\xe9\xe9n week",ww:"%d weken",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||20<=e?"ste":"de")},week:{dow:1,doy:4}}),M.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),M.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(e,a){return e+("w"!==a&&"W"!==a?1===e?"r":2===e?"n":3===e?"r":4===e?"t":"\xe8":"a")},week:{dow:1,doy:4}}),{1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"}),cn={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"},Ln=(M.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(e){return e.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(e){return cn[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return hn[e]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u0a30\u0a3e\u0a24"===a?e<4?e:e+12:"\u0a38\u0a35\u0a47\u0a30"===a?e:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===a?10<=e?e:e+12:"\u0a38\u0a3c\u0a3e\u0a2e"===a?e+12:void 0},meridiem:function(e,a,t){return e<4?"\u0a30\u0a3e\u0a24":e<10?"\u0a38\u0a35\u0a47\u0a30":e<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":e<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}}),"stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_")),Yn="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),_=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function yn(e){return e%10<5&&1<e%10&&~~(e/10)%10!=1}function fn(e,a,t){var s=e+" ";switch(t){case"ss":return s+(yn(e)?"sekundy":"sekund");case"m":return a?"minuta":"minut\u0119";case"mm":return s+(yn(e)?"minuty":"minut");case"h":return a?"godzina":"godzin\u0119";case"hh":return s+(yn(e)?"godziny":"godzin");case"ww":return s+(yn(e)?"tygodnie":"tygodni");case"MM":return s+(yn(e)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return s+(yn(e)?"lata":"lat")}}function pn(e,a,t){return e+(20<=e%100||100<=e&&e%100==0?" de ":" ")+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[t]}function kn(e,a,t){return"m"===t?a?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":e+" "+(e=+e,a=(a={ss:a?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:a?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[t]).split("_"),e%10==1&&e%100!=11?a[0]:2<=e%10&&e%10<=4&&(e%100<10||20<=e%100)?a[1]:a[2])}M.defineLocale("pl",{months:function(e,a){return e?(/D MMMM/.test(a)?Yn:Ln)[e.month()]:Ln},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:_,longMonthsParse:_,shortMonthsParse:_,weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:fn,m:fn,mm:fn,h:fn,hh:fn,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:fn,M:"miesi\u0105c",MM:fn,y:"rok",yy:fn},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),M.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",invalidDate:"Data inv\xe1lida"}),M.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}}),M.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:pn,m:"un minut",mm:pn,h:"o or\u0103",hh:pn,d:"o zi",dd:pn,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:pn,M:"o lun\u0103",MM:pn,y:"un an",yy:pn},week:{dow:1,doy:7}});y=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i],M.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:y,longMonthsParse:y,shortMonthsParse:y,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:kn,m:kn,mm:kn,h:"\u0447\u0430\u0441",hh:kn,d:"\u0434\u0435\u043d\u044c",dd:kn,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:kn,M:"\u043c\u0435\u0441\u044f\u0446",MM:kn,y:"\u0433\u043e\u0434",yy:kn},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(e)},meridiem:function(e,a,t){return e<4?"\u043d\u043e\u0447\u0438":e<12?"\u0443\u0442\u0440\u0430":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(e,a){switch(a){case"M":case"d":case"DDD":return e+"-\u0439";case"D":return e+"-\u0433\u043e";case"w":case"W":return e+"-\u044f";default:return e}},week:{dow:1,doy:4}}),Y=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],Ke=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"],M.defineLocale("sd",{months:Y,monthsShort:Y,weekdays:Ke,weekdaysShort:Ke,weekdaysMin:Ke,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(e){return"\u0634\u0627\u0645"===e},meridiem:function(e,a,t){return e<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:4}}),M.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),M.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(e){return e+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(e){return"\u0db4.\u0dc0."===e||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===e},meridiem:function(e,a,t){return 11<e?t?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":t?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}}),Ht="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),r="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function Dn(e){return 1<e&&e<5}function Tn(e,a,t,s){var n=e+" ";switch(t){case"s":return a||s?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return a||s?n+(Dn(e)?"sekundy":"sek\xfand"):n+"sekundami";case"m":return a?"min\xfata":s?"min\xfatu":"min\xfatou";case"mm":return a||s?n+(Dn(e)?"min\xfaty":"min\xfat"):n+"min\xfatami";case"h":return a?"hodina":s?"hodinu":"hodinou";case"hh":return a||s?n+(Dn(e)?"hodiny":"hod\xedn"):n+"hodinami";case"d":return a||s?"de\u0148":"d\u0148om";case"dd":return a||s?n+(Dn(e)?"dni":"dn\xed"):n+"d\u0148ami";case"M":return a||s?"mesiac":"mesiacom";case"MM":return a||s?n+(Dn(e)?"mesiace":"mesiacov"):n+"mesiacmi";case"y":return a||s?"rok":"rokom";case"yy":return a||s?n+(Dn(e)?"roky":"rokov"):n+"rokmi"}}function gn(e,a,t,s){var n=e+" ";switch(t){case"s":return a||s?"nekaj sekund":"nekaj sekundami";case"ss":return n+=1===e?a?"sekundo":"sekundi":2===e?a||s?"sekundi":"sekundah":e<5?a||s?"sekunde":"sekundah":"sekund";case"m":return a?"ena minuta":"eno minuto";case"mm":return n+=1===e?a?"minuta":"minuto":2===e?a||s?"minuti":"minutama":e<5?a||s?"minute":"minutami":a||s?"minut":"minutami";case"h":return a?"ena ura":"eno uro";case"hh":return n+=1===e?a?"ura":"uro":2===e?a||s?"uri":"urama":e<5?a||s?"ure":"urami":a||s?"ur":"urami";case"d":return a||s?"en dan":"enim dnem";case"dd":return n+=1===e?a||s?"dan":"dnem":2===e?a||s?"dni":"dnevoma":a||s?"dni":"dnevi";case"M":return a||s?"en mesec":"enim mesecem";case"MM":return n+=1===e?a||s?"mesec":"mesecem":2===e?a||s?"meseca":"mesecema":e<5?a||s?"mesece":"meseci":a||s?"mesecev":"meseci";case"y":return a||s?"eno leto":"enim letom";case"yy":return n+=1===e?a||s?"leto":"letom":2===e?a||s?"leti":"letoma":e<5?a||s?"leta":"leti":a||s?"let":"leti"}}M.defineLocale("sk",{months:Ht,monthsShort:r,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 4:case 5:return"[minul\xfd] dddd [o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:Tn,ss:Tn,m:Tn,mm:Tn,h:Tn,hh:Tn,d:Tn,dd:Tn,M:Tn,MM:Tn,y:Tn,yy:Tn},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),M.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:gn,ss:gn,m:gn,mm:gn,h:gn,hh:gn,d:gn,dd:gn,M:gn,MM:gn,y:gn,yy:gn},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),M.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,a,t){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var W={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0438\u043d\u0443\u0442\u0430"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0430","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],d:["\u0458\u0435\u0434\u0430\u043d \u0434\u0430\u043d","\u0458\u0435\u0434\u043d\u043e\u0433 \u0434\u0430\u043d\u0430"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],M:["\u0458\u0435\u0434\u0430\u043d \u043c\u0435\u0441\u0435\u0446","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0435\u0441\u0435\u0446\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],y:["\u0458\u0435\u0434\u043d\u0443 \u0433\u043e\u0434\u0438\u043d\u0443","\u0458\u0435\u0434\u043d\u0435 \u0433\u043e\u0434\u0438\u043d\u0435"],yy:["\u0433\u043e\u0434\u0438\u043d\u0443","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(e,a){return 1<=e%10&&e%10<=4&&(e%100<10||20<=e%100)?e%10==1?a[0]:a[1]:a[2]},translate:function(e,a,t,s){var n=W.words[t];return 1===t.length?"y"===t&&a?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":s||a?n[0]:n[1]:(s=W.correctGrammaticalCase(e,n),"yy"===t&&a&&"\u0433\u043e\u0434\u0438\u043d\u0443"===s?e+" \u0433\u043e\u0434\u0438\u043d\u0430":e+" "+s)}},A=(M.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:W.translate,m:W.translate,mm:W.translate,h:W.translate,hh:W.translate,d:W.translate,dd:W.translate,M:W.translate,MM:W.translate,y:W.translate,yy:W.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),{words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(e,a){return 1<=e%10&&e%10<=4&&(e%100<10||20<=e%100)?e%10==1?a[0]:a[1]:a[2]},translate:function(e,a,t,s){var n=A.words[t];return 1===t.length?"y"===t&&a?"jedna godina":s||a?n[0]:n[1]:(s=A.correctGrammaticalCase(e,n),"yy"===t&&a&&"godinu"===s?e+" godina":e+" "+s)}}),wn=(M.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:A.translate,m:A.translate,mm:A.translate,h:A.translate,hh:A.translate,d:A.translate,dd:A.translate,M:A.translate,MM:A.translate,y:A.translate,yy:A.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),M.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,a,t){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,a){return 12===e&&(e=0),"ekuseni"===a?e:"emini"===a?11<=e?e:e+12:"entsambama"===a||"ebusuku"===a?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}}),M.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(e){var a=e%10;return e+(1!=~~(e%100/10)&&(1==a||2==a)?":a":":e")},week:{dow:1,doy:4}}),M.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}}),{1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"}),bn={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"},Sn=(M.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(e){return e+"\u0bb5\u0ba4\u0bc1"},preparse:function(e){return e.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(e){return bn[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return wn[e]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(e,a,t){return e<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":e<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":e<10?" \u0b95\u0bbe\u0bb2\u0bc8":e<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":e<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":e<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(e,a){return 12===e&&(e=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===a?e<2?e:e+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===a||"\u0b95\u0bbe\u0bb2\u0bc8"===a||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===a&&10<=e?e:e+12},week:{dow:0,doy:6}}),M.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===a?e<4?e:e+12:"\u0c09\u0c26\u0c2f\u0c02"===a?e:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===a?10<=e?e:e+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===a?e+12:void 0},meridiem:function(e,a,t){return e<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":e<10?"\u0c09\u0c26\u0c2f\u0c02":e<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":e<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}}),M.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1==a?"st":2==a?"nd":3==a?"rd":"th")},week:{dow:1,doy:4}}),{0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"}),Hn=(M.defineLocale("tg",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_")},monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u0424\u0430\u0440\u0434\u043e \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u0448\u0430\u0431"===a?e<4?e:e+12:"\u0441\u0443\u0431\u04b3"===a?e:"\u0440\u04ef\u0437"===a?11<=e?e:e+12:"\u0431\u0435\u0433\u043e\u04b3"===a?e+12:void 0},meridiem:function(e,a,t){return e<4?"\u0448\u0430\u0431":e<11?"\u0441\u0443\u0431\u04b3":e<16?"\u0440\u04ef\u0437":e<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(e){return e+(Sn[e]||Sn[e%10]||Sn[100<=e?100:null])},week:{dow:1,doy:7}}),M.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(e){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===e},meridiem:function(e,a,t){return e<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}}),{1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"}),vn=(M.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(e,a){switch(a){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'unjy";var t=e%10;return e+(Hn[t]||Hn[e%100-t]||Hn[100<=e?100:null])}},week:{dow:1,doy:7}}),M.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}}),"pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_"));function jn(e,a,t,s){var n=function(e){var a=Math.floor(e%1e3/100),t=Math.floor(e%100/10),e=e%10,s="";0<a&&(s+=vn[a]+"vatlh");0<t&&(s+=(""!==s?" ":"")+vn[t]+"maH");0<e&&(s+=(""!==s?" ":"")+vn[e]);return""===s?"pagh":s}(e);switch(t){case"ss":return n+" lup";case"mm":return n+" tup";case"hh":return n+" rep";case"dd":return n+" jaj";case"MM":return n+" jar";case"yy":return n+" DIS"}}M.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var a=e;return a=-1!==e.indexOf("jaj")?a.slice(0,-3)+"leS":-1!==e.indexOf("jar")?a.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?a.slice(0,-3)+"nem":a+" pIq"},past:function(e){var a=e;return a=-1!==e.indexOf("jaj")?a.slice(0,-3)+"Hu\u2019":-1!==e.indexOf("jar")?a.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?a.slice(0,-3)+"ben":a+" ret"},s:"puS lup",ss:jn,m:"wa\u2019 tup",mm:jn,h:"wa\u2019 rep",hh:jn,d:"wa\u2019 jaj",dd:jn,M:"wa\u2019 jar",MM:jn,y:"wa\u2019 DIS",yy:jn},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var xn={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};function Pn(e,a,t,s){e={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[e+" m\xeduts",e+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[e+" \xfeoras",e+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return s||a?e[t][0]:e[t][1]}function On(e,a,t){return"m"===t?a?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===t?a?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":e+" "+(e=+e,a=(a={ss:a?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:a?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:a?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[t]).split("_"),e%10==1&&e%100!=11?a[0]:2<=e%10&&e%10<=4&&(e%100<10||20<=e%100)?a[1]:a[2])}function Wn(e){return function(){return e+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}M.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_\xc7ar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(e,a,t){return e<12?t?"\xf6\xf6":"\xd6\xd6":t?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(e){return"\xf6s"===e||"\xd6S"===e},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(e,a){switch(a){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'\u0131nc\u0131";var t=e%10;return e+(xn[t]||xn[e%100-t]||xn[100<=e?100:null])}},week:{dow:1,doy:7}}),M.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,a,t){return 11<e?t?"d'o":"D'O":t?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:Pn,ss:Pn,m:Pn,mm:Pn,h:Pn,hh:Pn,d:Pn,dd:Pn,M:Pn,MM:Pn,y:Pn,yy:Pn},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),M.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}}),M.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}}),M.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===a||"\u0633\u06d5\u06be\u06d5\u0631"===a||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===a||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"!==a&&"\u0643\u06d5\u0686"!==a&&11<=e?e:e+12},meridiem:function(e,a,t){e=100*e+a;return e<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":e<900?"\u0633\u06d5\u06be\u06d5\u0631":e<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":e<1230?"\u0686\u06c8\u0634":e<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(e,a){switch(a){case"d":case"D":case"DDD":return e+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return e+"-\u06be\u06d5\u067e\u062a\u06d5";default:return e}},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:7}}),M.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function(e,a){var t={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===e?t.nominative.slice(1,7).concat(t.nominative.slice(0,1)):e?t[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(a)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(a)?"genitive":"nominative"][e.day()]:t.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:Wn("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:Wn("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:Wn("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:Wn("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return Wn("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return Wn("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:On,m:On,mm:On,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:On,d:"\u0434\u0435\u043d\u044c",dd:On,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:On,y:"\u0440\u0456\u043a",yy:On},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(e)},meridiem:function(e,a,t){return e<4?"\u043d\u043e\u0447\u0456":e<12?"\u0440\u0430\u043d\u043a\u0443":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(e,a){switch(a){case"M":case"d":case"DDD":case"w":case"W":return e+"-\u0439";case"D":return e+"-\u0433\u043e";default:return e}},week:{dow:1,doy:7}});jt=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],vt=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];return M.defineLocale("ur",{months:jt,monthsShort:jt,weekdays:vt,weekdaysShort:vt,weekdaysMin:vt,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(e){return"\u0634\u0627\u0645"===e},meridiem:function(e,a,t){return e<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:4}}),M.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}}),M.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}}),M.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,a,t){return e<12?t?"sa":"SA":t?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}}),M.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1==a?"st":2==a?"nd":3==a?"rd":"th")},week:{dow:1,doy:4}}),M.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}}),M.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u51cc\u6668"===a||"\u65e9\u4e0a"===a||"\u4e0a\u5348"===a||"\u4e0b\u5348"!==a&&"\u665a\u4e0a"!==a&&11<=e?e:e+12},meridiem:function(e,a,t){e=100*e+a;return e<600?"\u51cc\u6668":e<900?"\u65e9\u4e0a":e<1130?"\u4e0a\u5348":e<1230?"\u4e2d\u5348":e<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(e){return e.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(e){return this.week()!==e.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(e,a){switch(a){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u5468";default:return e}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}}),M.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u51cc\u6668"===a||"\u65e9\u4e0a"===a||"\u4e0a\u5348"===a?e:"\u4e2d\u5348"===a?11<=e?e:e+12:"\u4e0b\u5348"===a||"\u665a\u4e0a"===a?e+12:void 0},meridiem:function(e,a,t){e=100*e+a;return e<600?"\u51cc\u6668":e<900?"\u65e9\u4e0a":e<1200?"\u4e0a\u5348":1200===e?"\u4e2d\u5348":e<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,a){switch(a){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}}),M.defineLocale("zh-mo",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u51cc\u6668"===a||"\u65e9\u4e0a"===a||"\u4e0a\u5348"===a?e:"\u4e2d\u5348"===a?11<=e?e:e+12:"\u4e0b\u5348"===a||"\u665a\u4e0a"===a?e+12:void 0},meridiem:function(e,a,t){e=100*e+a;return e<600?"\u51cc\u6668":e<900?"\u65e9\u4e0a":e<1130?"\u4e0a\u5348":e<1230?"\u4e2d\u5348":e<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,a){switch(a){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}}),M.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u51cc\u6668"===a||"\u65e9\u4e0a"===a||"\u4e0a\u5348"===a?e:"\u4e2d\u5348"===a?11<=e?e:e+12:"\u4e0b\u5348"===a||"\u665a\u4e0a"===a?e+12:void 0},meridiem:function(e,a,t){e=100*e+a;return e<600?"\u51cc\u6668":e<900?"\u65e9\u4e0a":e<1130?"\u4e0a\u5348":e<1230?"\u4e2d\u5348":e<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,a){switch(a){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}}),M.locale("en"),M});


const CurrencyCode = {
  USD: {
    symbol: "$",
    name: "US Dollar",
    symbol_native: "$",
    decimal_digits: 2,
    rounding: 0,
    code: "USD",
    name_plural: "US dollars",
  },
  CAD: {
    symbol: "CA$",
    name: "Canadian Dollar",
    symbol_native: "$",
    decimal_digits: 2,
    rounding: 0,
    code: "CAD",
    name_plural: "Canadian dollars",
  },
  EUR: {
    symbol: "€",
    name: "Euro",
    symbol_native: "€",
    decimal_digits: 2,
    rounding: 0,
    code: "EUR",
    name_plural: "euros",
  },
  AED: {
    symbol: "AED",
    name: "United Arab Emirates Dirham",
    symbol_native: "د.إ.‏",
    decimal_digits: 2,
    rounding: 0,
    code: "AED",
    name_plural: "UAE dirhams",
  },
  AFN: {
    symbol: "Af",
    name: "Afghan Afghani",
    symbol_native: "؋",
    decimal_digits: 0,
    rounding: 0,
    code: "AFN",
    name_plural: "Afghan Afghanis",
  },
  ALL: {
    symbol: "ALL",
    name: "Albanian Lek",
    symbol_native: "Lek",
    decimal_digits: 0,
    rounding: 0,
    code: "ALL",
    name_plural: "Albanian lekë",
  },
  AMD: {
    symbol: "AMD",
    name: "Armenian Dram",
    symbol_native: "դր.",
    decimal_digits: 0,
    rounding: 0,
    code: "AMD",
    name_plural: "Armenian drams",
  },
  ARS: {
    symbol: "AR$",
    name: "Argentine Peso",
    symbol_native: "$",
    decimal_digits: 2,
    rounding: 0,
    code: "ARS",
    name_plural: "Argentine pesos",
  },
  AUD: {
    symbol: "AU$",
    name: "Australian Dollar",
    symbol_native: "$",
    decimal_digits: 2,
    rounding: 0,
    code: "AUD",
    name_plural: "Australian dollars",
  },
  AZN: {
    symbol: "man.",
    name: "Azerbaijani Manat",
    symbol_native: "ман.",
    decimal_digits: 2,
    rounding: 0,
    code: "AZN",
    name_plural: "Azerbaijani manats",
  },
  BAM: {
    symbol: "KM",
    name: "Bosnia-Herzegovina Convertible Mark",
    symbol_native: "KM",
    decimal_digits: 2,
    rounding: 0,
    code: "BAM",
    name_plural: "Bosnia-Herzegovina convertible marks",
  },
  BDT: {
    symbol: "Tk",
    name: "Bangladeshi Taka",
    symbol_native: "৳",
    decimal_digits: 2,
    rounding: 0,
    code: "BDT",
    name_plural: "Bangladeshi takas",
  },
  BGN: {
    symbol: "BGN",
    name: "Bulgarian Lev",
    symbol_native: "лв.",
    decimal_digits: 2,
    rounding: 0,
    code: "BGN",
    name_plural: "Bulgarian leva",
  },
  BHD: {
    symbol: "BD",
    name: "Bahraini Dinar",
    symbol_native: "د.ب.‏",
    decimal_digits: 3,
    rounding: 0,
    code: "BHD",
    name_plural: "Bahraini dinars",
  },
  BIF: {
    symbol: "FBu",
    name: "Burundian Franc",
    symbol_native: "FBu",
    decimal_digits: 0,
    rounding: 0,
    code: "BIF",
    name_plural: "Burundian francs",
  },
  BND: {
    symbol: "BN$",
    name: "Brunei Dollar",
    symbol_native: "$",
    decimal_digits: 2,
    rounding: 0,
    code: "BND",
    name_plural: "Brunei dollars",
  },
  BOB: {
    symbol: "Bs",
    name: "Bolivian Boliviano",
    symbol_native: "Bs",
    decimal_digits: 2,
    rounding: 0,
    code: "BOB",
    name_plural: "Bolivian bolivianos",
  },
  BRL: {
    symbol: "R$",
    name: "Brazilian Real",
    symbol_native: "R$",
    decimal_digits: 2,
    rounding: 0,
    code: "BRL",
    name_plural: "Brazilian reals",
  },
  BWP: {
    symbol: "BWP",
    name: "Botswanan Pula",
    symbol_native: "P",
    decimal_digits: 2,
    rounding: 0,
    code: "BWP",
    name_plural: "Botswanan pulas",
  },
  BYN: {
    symbol: "Br",
    name: "Belarusian Ruble",
    symbol_native: "руб.",
    decimal_digits: 2,
    rounding: 0,
    code: "BYN",
    name_plural: "Belarusian rubles",
  },
  BZD: {
    symbol: "BZ$",
    name: "Belize Dollar",
    symbol_native: "$",
    decimal_digits: 2,
    rounding: 0,
    code: "BZD",
    name_plural: "Belize dollars",
  },
  CDF: {
    symbol: "CDF",
    name: "Congolese Franc",
    symbol_native: "FrCD",
    decimal_digits: 2,
    rounding: 0,
    code: "CDF",
    name_plural: "Congolese francs",
  },
  CHF: {
    symbol: "CHF",
    name: "Swiss Franc",
    symbol_native: "CHF",
    decimal_digits: 2,
    rounding: 0.05,
    code: "CHF",
    name_plural: "Swiss francs",
  },
  CLP: {
    symbol: "CL$",
    name: "Chilean Peso",
    symbol_native: "$",
    decimal_digits: 0,
    rounding: 0,
    code: "CLP",
    name_plural: "Chilean pesos",
  },
  CNY: {
    symbol: "CN¥",
    name: "Chinese Yuan",
    symbol_native: "CN¥",
    decimal_digits: 2,
    rounding: 0,
    code: "CNY",
    name_plural: "Chinese yuan",
  },
  COP: {
    symbol: "CO$",
    name: "Colombian Peso",
    symbol_native: "$",
    decimal_digits: 0,
    rounding: 0,
    code: "COP",
    name_plural: "Colombian pesos",
  },
  CRC: {
    symbol: "₡",
    name: "Costa Rican Colón",
    symbol_native: "₡",
    decimal_digits: 0,
    rounding: 0,
    code: "CRC",
    name_plural: "Costa Rican colóns",
  },
  CVE: {
    symbol: "CV$",
    name: "Cape Verdean Escudo",
    symbol_native: "CV$",
    decimal_digits: 2,
    rounding: 0,
    code: "CVE",
    name_plural: "Cape Verdean escudos",
  },
  CZK: {
    symbol: "Kč",
    name: "Czech Republic Koruna",
    symbol_native: "Kč",
    decimal_digits: 2,
    rounding: 0,
    code: "CZK",
    name_plural: "Czech Republic korunas",
  },
  DJF: {
    symbol: "Fdj",
    name: "Djiboutian Franc",
    symbol_native: "Fdj",
    decimal_digits: 0,
    rounding: 0,
    code: "DJF",
    name_plural: "Djiboutian francs",
  },
  DKK: {
    symbol: "Dkr",
    name: "Danish Krone",
    symbol_native: "kr",
    decimal_digits: 2,
    rounding: 0,
    code: "DKK",
    name_plural: "Danish kroner",
  },
  DOP: {
    symbol: "RD$",
    name: "Dominican Peso",
    symbol_native: "RD$",
    decimal_digits: 2,
    rounding: 0,
    code: "DOP",
    name_plural: "Dominican pesos",
  },
  DZD: {
    symbol: "DA",
    name: "Algerian Dinar",
    symbol_native: "د.ج.‏",
    decimal_digits: 2,
    rounding: 0,
    code: "DZD",
    name_plural: "Algerian dinars",
  },
  EEK: {
    symbol: "Ekr",
    name: "Estonian Kroon",
    symbol_native: "kr",
    decimal_digits: 2,
    rounding: 0,
    code: "EEK",
    name_plural: "Estonian kroons",
  },
  EGP: {
    symbol: "EGP",
    name: "Egyptian Pound",
    symbol_native: "ج.م.‏",
    decimal_digits: 2,
    rounding: 0,
    code: "EGP",
    name_plural: "Egyptian pounds",
  },
  ERN: {
    symbol: "Nfk",
    name: "Eritrean Nakfa",
    symbol_native: "Nfk",
    decimal_digits: 2,
    rounding: 0,
    code: "ERN",
    name_plural: "Eritrean nakfas",
  },
  ETB: {
    symbol: "Br",
    name: "Ethiopian Birr",
    symbol_native: "Br",
    decimal_digits: 2,
    rounding: 0,
    code: "ETB",
    name_plural: "Ethiopian birrs",
  },
  GBP: {
    symbol: "£",
    name: "British Pound Sterling",
    symbol_native: "£",
    decimal_digits: 2,
    rounding: 0,
    code: "GBP",
    name_plural: "British pounds sterling",
  },
  GEL: {
    symbol: "GEL",
    name: "Georgian Lari",
    symbol_native: "GEL",
    decimal_digits: 2,
    rounding: 0,
    code: "GEL",
    name_plural: "Georgian laris",
  },
  GHS: {
    symbol: "GH₵",
    name: "Ghanaian Cedi",
    symbol_native: "GH₵",
    decimal_digits: 2,
    rounding: 0,
    code: "GHS",
    name_plural: "Ghanaian cedis",
  },
  GNF: {
    symbol: "FG",
    name: "Guinean Franc",
    symbol_native: "FG",
    decimal_digits: 0,
    rounding: 0,
    code: "GNF",
    name_plural: "Guinean francs",
  },
  GTQ: {
    symbol: "GTQ",
    name: "Guatemalan Quetzal",
    symbol_native: "Q",
    decimal_digits: 2,
    rounding: 0,
    code: "GTQ",
    name_plural: "Guatemalan quetzals",
  },
  HKD: {
    symbol: "HK$",
    name: "Hong Kong Dollar",
    symbol_native: "$",
    decimal_digits: 2,
    rounding: 0,
    code: "HKD",
    name_plural: "Hong Kong dollars",
  },
  HNL: {
    symbol: "HNL",
    name: "Honduran Lempira",
    symbol_native: "L",
    decimal_digits: 2,
    rounding: 0,
    code: "HNL",
    name_plural: "Honduran lempiras",
  },
  HRK: {
    symbol: "kn",
    name: "Croatian Kuna",
    symbol_native: "kn",
    decimal_digits: 2,
    rounding: 0,
    code: "HRK",
    name_plural: "Croatian kunas",
  },
  HUF: {
    symbol: "Ft",
    name: "Hungarian Forint",
    symbol_native: "Ft",
    decimal_digits: 0,
    rounding: 0,
    code: "HUF",
    name_plural: "Hungarian forints",
  },
  IDR: {
    symbol: "Rp",
    name: "Indonesian Rupiah",
    symbol_native: "Rp",
    decimal_digits: 0,
    rounding: 0,
    code: "IDR",
    name_plural: "Indonesian rupiahs",
  },
  ILS: {
    symbol: "₪",
    name: "Israeli New Sheqel",
    symbol_native: "₪",
    decimal_digits: 2,
    rounding: 0,
    code: "ILS",
    name_plural: "Israeli new sheqels",
  },
  INR: {
    symbol: "Rs",
    name: "Indian Rupee",
    symbol_native: "টকা",
    decimal_digits: 2,
    rounding: 0,
    code: "INR",
    name_plural: "Indian rupees",
  },
  IQD: {
    symbol: "IQD",
    name: "Iraqi Dinar",
    symbol_native: "د.ع.‏",
    decimal_digits: 0,
    rounding: 0,
    code: "IQD",
    name_plural: "Iraqi dinars",
  },
  IRR: {
    symbol: "IRR",
    name: "Iranian Rial",
    symbol_native: "﷼",
    decimal_digits: 0,
    rounding: 0,
    code: "IRR",
    name_plural: "Iranian rials",
  },
  ISK: {
    symbol: "Ikr",
    name: "Icelandic Króna",
    symbol_native: "kr",
    decimal_digits: 0,
    rounding: 0,
    code: "ISK",
    name_plural: "Icelandic krónur",
  },
  JMD: {
    symbol: "J$",
    name: "Jamaican Dollar",
    symbol_native: "$",
    decimal_digits: 2,
    rounding: 0,
    code: "JMD",
    name_plural: "Jamaican dollars",
  },
  JOD: {
    symbol: "JD",
    name: "Jordanian Dinar",
    symbol_native: "د.أ.‏",
    decimal_digits: 3,
    rounding: 0,
    code: "JOD",
    name_plural: "Jordanian dinars",
  },
  JPY: {
    symbol: "¥",
    name: "Japanese Yen",
    symbol_native: "￥",
    decimal_digits: 0,
    rounding: 0,
    code: "JPY",
    name_plural: "Japanese yen",
  },
  KES: {
    symbol: "Ksh",
    name: "Kenyan Shilling",
    symbol_native: "Ksh",
    decimal_digits: 2,
    rounding: 0,
    code: "KES",
    name_plural: "Kenyan shillings",
  },
  KHR: {
    symbol: "KHR",
    name: "Cambodian Riel",
    symbol_native: "៛",
    decimal_digits: 2,
    rounding: 0,
    code: "KHR",
    name_plural: "Cambodian riels",
  },
  KMF: {
    symbol: "CF",
    name: "Comorian Franc",
    symbol_native: "FC",
    decimal_digits: 0,
    rounding: 0,
    code: "KMF",
    name_plural: "Comorian francs",
  },
  KRW: {
    symbol: "₩",
    name: "South Korean Won",
    symbol_native: "₩",
    decimal_digits: 0,
    rounding: 0,
    code: "KRW",
    name_plural: "South Korean won",
  },
  KWD: {
    symbol: "KD",
    name: "Kuwaiti Dinar",
    symbol_native: "د.ك.‏",
    decimal_digits: 3,
    rounding: 0,
    code: "KWD",
    name_plural: "Kuwaiti dinars",
  },
  KZT: {
    symbol: "KZT",
    name: "Kazakhstani Tenge",
    symbol_native: "тңг.",
    decimal_digits: 2,
    rounding: 0,
    code: "KZT",
    name_plural: "Kazakhstani tenges",
  },
  LBP: {
    symbol: "LB£",
    name: "Lebanese Pound",
    symbol_native: "ل.ل.‏",
    decimal_digits: 0,
    rounding: 0,
    code: "LBP",
    name_plural: "Lebanese pounds",
  },
  LKR: {
    symbol: "SLRs",
    name: "Sri Lankan Rupee",
    symbol_native: "SL Re",
    decimal_digits: 2,
    rounding: 0,
    code: "LKR",
    name_plural: "Sri Lankan rupees",
  },
  LTL: {
    symbol: "Lt",
    name: "Lithuanian Litas",
    symbol_native: "Lt",
    decimal_digits: 2,
    rounding: 0,
    code: "LTL",
    name_plural: "Lithuanian litai",
  },
  LVL: {
    symbol: "Ls",
    name: "Latvian Lats",
    symbol_native: "Ls",
    decimal_digits: 2,
    rounding: 0,
    code: "LVL",
    name_plural: "Latvian lati",
  },
  LYD: {
    symbol: "LD",
    name: "Libyan Dinar",
    symbol_native: "د.ل.‏",
    decimal_digits: 3,
    rounding: 0,
    code: "LYD",
    name_plural: "Libyan dinars",
  },
  MAD: {
    symbol: "MAD",
    name: "Moroccan Dirham",
    symbol_native: "د.م.‏",
    decimal_digits: 2,
    rounding: 0,
    code: "MAD",
    name_plural: "Moroccan dirhams",
  },
  MDL: {
    symbol: "MDL",
    name: "Moldovan Leu",
    symbol_native: "MDL",
    decimal_digits: 2,
    rounding: 0,
    code: "MDL",
    name_plural: "Moldovan lei",
  },
  MGA: {
    symbol: "MGA",
    name: "Malagasy Ariary",
    symbol_native: "MGA",
    decimal_digits: 0,
    rounding: 0,
    code: "MGA",
    name_plural: "Malagasy Ariaries",
  },
  MKD: {
    symbol: "MKD",
    name: "Macedonian Denar",
    symbol_native: "MKD",
    decimal_digits: 2,
    rounding: 0,
    code: "MKD",
    name_plural: "Macedonian denari",
  },
  MMK: {
    symbol: "MMK",
    name: "Myanma Kyat",
    symbol_native: "K",
    decimal_digits: 0,
    rounding: 0,
    code: "MMK",
    name_plural: "Myanma kyats",
  },
  MOP: {
    symbol: "MOP$",
    name: "Macanese Pataca",
    symbol_native: "MOP$",
    decimal_digits: 2,
    rounding: 0,
    code: "MOP",
    name_plural: "Macanese patacas",
  },
  MUR: {
    symbol: "MURs",
    name: "Mauritian Rupee",
    symbol_native: "MURs",
    decimal_digits: 0,
    rounding: 0,
    code: "MUR",
    name_plural: "Mauritian rupees",
  },
  MXN: {
    symbol: "MX$",
    name: "Mexican Peso",
    symbol_native: "$",
    decimal_digits: 2,
    rounding: 0,
    code: "MXN",
    name_plural: "Mexican pesos",
  },
  MYR: {
    symbol: "RM",
    name: "Malaysian Ringgit",
    symbol_native: "RM",
    decimal_digits: 2,
    rounding: 0,
    code: "MYR",
    name_plural: "Malaysian ringgits",
  },
  MZN: {
    symbol: "MTn",
    name: "Mozambican Metical",
    symbol_native: "MTn",
    decimal_digits: 2,
    rounding: 0,
    code: "MZN",
    name_plural: "Mozambican meticals",
  },
  NAD: {
    symbol: "N$",
    name: "Namibian Dollar",
    symbol_native: "N$",
    decimal_digits: 2,
    rounding: 0,
    code: "NAD",
    name_plural: "Namibian dollars",
  },
  NGN: {
    symbol: "₦",
    name: "Nigerian Naira",
    symbol_native: "₦",
    decimal_digits: 2,
    rounding: 0,
    code: "NGN",
    name_plural: "Nigerian nairas",
  },
  NIO: {
    symbol: "C$",
    name: "Nicaraguan Córdoba",
    symbol_native: "C$",
    decimal_digits: 2,
    rounding: 0,
    code: "NIO",
    name_plural: "Nicaraguan córdobas",
  },
  NOK: {
    symbol: "Nkr",
    name: "Norwegian Krone",
    symbol_native: "kr",
    decimal_digits: 2,
    rounding: 0,
    code: "NOK",
    name_plural: "Norwegian kroner",
  },
  NPR: {
    symbol: "NPRs",
    name: "Nepalese Rupee",
    symbol_native: "नेरू",
    decimal_digits: 2,
    rounding: 0,
    code: "NPR",
    name_plural: "Nepalese rupees",
  },
  NZD: {
    symbol: "NZ$",
    name: "New Zealand Dollar",
    symbol_native: "$",
    decimal_digits: 2,
    rounding: 0,
    code: "NZD",
    name_plural: "New Zealand dollars",
  },
  OMR: {
    symbol: "OMR",
    name: "Omani Rial",
    symbol_native: "ر.ع.‏",
    decimal_digits: 3,
    rounding: 0,
    code: "OMR",
    name_plural: "Omani rials",
  },
  PAB: {
    symbol: "B/.",
    name: "Panamanian Balboa",
    symbol_native: "B/.",
    decimal_digits: 2,
    rounding: 0,
    code: "PAB",
    name_plural: "Panamanian balboas",
  },
  PEN: {
    symbol: "S/.",
    name: "Peruvian Nuevo Sol",
    symbol_native: "S/.",
    decimal_digits: 2,
    rounding: 0,
    code: "PEN",
    name_plural: "Peruvian nuevos soles",
  },
  PHP: {
    symbol: "₱",
    name: "Philippine Peso",
    symbol_native: "₱",
    decimal_digits: 2,
    rounding: 0,
    code: "PHP",
    name_plural: "Philippine pesos",
  },
  PKR: {
    symbol: "PKRs",
    name: "Pakistani Rupee",
    symbol_native: "₨",
    decimal_digits: 0,
    rounding: 0,
    code: "PKR",
    name_plural: "Pakistani rupees",
  },
  PLN: {
    symbol: "zł",
    name: "Polish Zloty",
    symbol_native: "zł",
    decimal_digits: 2,
    rounding: 0,
    code: "PLN",
    name_plural: "Polish zlotys",
  },
  PYG: {
    symbol: "₲",
    name: "Paraguayan Guarani",
    symbol_native: "₲",
    decimal_digits: 0,
    rounding: 0,
    code: "PYG",
    name_plural: "Paraguayan guaranis",
  },
  QAR: {
    symbol: "QR",
    name: "Qatari Rial",
    symbol_native: "ر.ق.‏",
    decimal_digits: 2,
    rounding: 0,
    code: "QAR",
    name_plural: "Qatari rials",
  },
  RON: {
    symbol: "RON",
    name: "Romanian Leu",
    symbol_native: "RON",
    decimal_digits: 2,
    rounding: 0,
    code: "RON",
    name_plural: "Romanian lei",
  },
  RSD: {
    symbol: "din.",
    name: "Serbian Dinar",
    symbol_native: "дин.",
    decimal_digits: 0,
    rounding: 0,
    code: "RSD",
    name_plural: "Serbian dinars",
  },
  RUB: {
    symbol: "RUB",
    name: "Russian Ruble",
    symbol_native: "₽",
    decimal_digits: 2,
    rounding: 0,
    code: "RUB",
    name_plural: "Russian rubles",
  },
  RWF: {
    symbol: "RWF",
    name: "Rwandan Franc",
    symbol_native: "FR",
    decimal_digits: 0,
    rounding: 0,
    code: "RWF",
    name_plural: "Rwandan francs",
  },
  SAR: {
    symbol: "SR",
    name: "Saudi Riyal",
    symbol_native: "ر.س.‏",
    decimal_digits: 2,
    rounding: 0,
    code: "SAR",
    name_plural: "Saudi riyals",
  },
  SDG: {
    symbol: "SDG",
    name: "Sudanese Pound",
    symbol_native: "SDG",
    decimal_digits: 2,
    rounding: 0,
    code: "SDG",
    name_plural: "Sudanese pounds",
  },
  SEK: {
    symbol: "Skr",
    name: "Swedish Krona",
    symbol_native: "kr",
    decimal_digits: 2,
    rounding: 0,
    code: "SEK",
    name_plural: "Swedish kronor",
  },
  SGD: {
    symbol: "S$",
    name: "Singapore Dollar",
    symbol_native: "$",
    decimal_digits: 2,
    rounding: 0,
    code: "SGD",
    name_plural: "Singapore dollars",
  },
  SOS: {
    symbol: "Ssh",
    name: "Somali Shilling",
    symbol_native: "Ssh",
    decimal_digits: 0,
    rounding: 0,
    code: "SOS",
    name_plural: "Somali shillings",
  },
  SYP: {
    symbol: "SY£",
    name: "Syrian Pound",
    symbol_native: "ل.س.‏",
    decimal_digits: 0,
    rounding: 0,
    code: "SYP",
    name_plural: "Syrian pounds",
  },
  THB: {
    symbol: "฿",
    name: "Thai Baht",
    symbol_native: "฿",
    decimal_digits: 2,
    rounding: 0,
    code: "THB",
    name_plural: "Thai baht",
  },
  TND: {
    symbol: "DT",
    name: "Tunisian Dinar",
    symbol_native: "د.ت.‏",
    decimal_digits: 3,
    rounding: 0,
    code: "TND",
    name_plural: "Tunisian dinars",
  },
  TOP: {
    symbol: "T$",
    name: "Tongan Paʻanga",
    symbol_native: "T$",
    decimal_digits: 2,
    rounding: 0,
    code: "TOP",
    name_plural: "Tongan paʻanga",
  },
  TRY: {
    symbol: "TL",
    name: "Turkish Lira",
    symbol_native: "TL",
    decimal_digits: 2,
    rounding: 0,
    code: "TRY",
    name_plural: "Turkish Lira",
  },
  TTD: {
    symbol: "TT$",
    name: "Trinidad and Tobago Dollar",
    symbol_native: "$",
    decimal_digits: 2,
    rounding: 0,
    code: "TTD",
    name_plural: "Trinidad and Tobago dollars",
  },
  TWD: {
    symbol: "NT$",
    name: "New Taiwan Dollar",
    symbol_native: "NT$",
    decimal_digits: 2,
    rounding: 0,
    code: "TWD",
    name_plural: "New Taiwan dollars",
  },
  TZS: {
    symbol: "TSh",
    name: "Tanzanian Shilling",
    symbol_native: "TSh",
    decimal_digits: 0,
    rounding: 0,
    code: "TZS",
    name_plural: "Tanzanian shillings",
  },
  UAH: {
    symbol: "₴",
    name: "Ukrainian Hryvnia",
    symbol_native: "₴",
    decimal_digits: 2,
    rounding: 0,
    code: "UAH",
    name_plural: "Ukrainian hryvnias",
  },
  UGX: {
    symbol: "USh",
    name: "Ugandan Shilling",
    symbol_native: "USh",
    decimal_digits: 0,
    rounding: 0,
    code: "UGX",
    name_plural: "Ugandan shillings",
  },
  UYU: {
    symbol: "$U",
    name: "Uruguayan Peso",
    symbol_native: "$",
    decimal_digits: 2,
    rounding: 0,
    code: "UYU",
    name_plural: "Uruguayan pesos",
  },
  UZS: {
    symbol: "UZS",
    name: "Uzbekistan Som",
    symbol_native: "UZS",
    decimal_digits: 0,
    rounding: 0,
    code: "UZS",
    name_plural: "Uzbekistan som",
  },
  VEF: {
    symbol: "Bs.F.",
    name: "Venezuelan Bolívar",
    symbol_native: "Bs.F.",
    decimal_digits: 2,
    rounding: 0,
    code: "VEF",
    name_plural: "Venezuelan bolívars",
  },
  VND: {
    symbol: "₫",
    name: "Vietnamese Dong",
    symbol_native: "₫",
    decimal_digits: 0,
    rounding: 0,
    code: "VND",
    name_plural: "Vietnamese dong",
  },
  XAF: {
    symbol: "FCFA",
    name: "CFA Franc BEAC",
    symbol_native: "FCFA",
    decimal_digits: 0,
    rounding: 0,
    code: "XAF",
    name_plural: "CFA francs BEAC",
  },
  XOF: {
    symbol: "CFA",
    name: "CFA Franc BCEAO",
    symbol_native: "CFA",
    decimal_digits: 0,
    rounding: 0,
    code: "XOF",
    name_plural: "CFA francs BCEAO",
  },
  YER: {
    symbol: "YR",
    name: "Yemeni Rial",
    symbol_native: "ر.ي.‏",
    decimal_digits: 0,
    rounding: 0,
    code: "YER",
    name_plural: "Yemeni rials",
  },
  ZAR: {
    symbol: "R",
    name: "South African Rand",
    symbol_native: "R",
    decimal_digits: 2,
    rounding: 0,
    code: "ZAR",
    name_plural: "South African rand",
  },
  ZMK: {
    symbol: "ZK",
    name: "Zambian Kwacha",
    symbol_native: "ZK",
    decimal_digits: 0,
    rounding: 0,
    code: "ZMK",
    name_plural: "Zambian kwachas",
  },
};


const denominationCoef = { "XBT": 1000000000, "*": 100 }


Page.utils = new (class {
  constructor() {
    this.moment = moment;
  }

  replaceUrlsWithLinks(text = "") {
    const expressionWithHttp =
      /(https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*))/gi;

    let regex = new RegExp(expressionWithHttp);

    try {
      return text.replace(regex, (a) => {
        return `<a href='${a}'>${a}</a>`;
      });
    } catch (err) {
      return text;
    }
  }



  extract(obj, path, defaultValue) {
    if (typeof path === "string") path = path.split(".");

    let node = obj;

    for (let i = 0; i < path.length; i++) {
      const key = path[i];

      if (!node) {
        node = undefined;

        break;
      }

      node = node[key];
    }

    return typeof node === "undefined" ? defaultValue : node;
  }

  makeImageUrl = (
    file,
  ) => {
    if (typeof file === 'string')
      return file;

    if (!file)
      return
    return `${file.storage_endpoint}/${file.storage_bucketname}/${file.url}`;
  }


  renderPreview(introBlocks = []) {
    const block = introBlocks[0];

    if (!block) {
      return "/img/card_paid_img01.png";
    }

    if (block.type === "video") {
      return this.makeImageUrl(block.value, 0, "video_preview");
    } else if (block.type === "photo") {
      return this.makeImageUrl(block.value, 0, "medium_filename");
    }

    return "./img/card_paid_img01.png";
  }

  beautifyAmount(
    { amount, currency, action },
    withAction = true,
    needConvertToBase = true
  ) {
    if (needConvertToBase) {
      amount = this.minorToBase(amount, currency);
    }
    let v = +amount.toFixed(2);
    let operator = "";

    v = (+v).toLocaleString("ru");

    if (action !== undefined && withAction) {
      if (action === "withdraw") {
        operator = "-";
      } else {
        operator = "+";
      }
    }

    return `${operator}${v} ${this.getCurrency(currency)}`;
  }

  getCurrency(code, type = "symbol_native") {
    if (CurrencyCode[code] && CurrencyCode[code][type]) {
      return CurrencyCode[code][type];
    } else {
      return code;
    }
  }

  minorToBase = function (value, currency) {
    const coef = denominationCoef[currency] || denominationCoef["*"];

    return value / coef;
  };

  baseToMinor = function (value, currency) {
    const coef =
      denominationCoef[currency] || denominationCoef['*'];
    return Math.round(value * coef);
  };


  getMobileOS(ua) {
    if (/android/i.test(ua)) {
      return "Android";
    } else if (/iPad|iPhone|iPod/.test(ua)) {
      return "iOS";
    }
    return "Other";
  }

  removeTags(str) {
    if (str === null || str === "") return false;
    else str = str.toString();

    // Regular expression to identify HTML tags in
    // the input string. Replacing the identified
    // HTML tag with a null string.
    return str.replace(/(<([^>]+)>)/gi, (...args) => {
      return "";
    });
  }

  if(condition, ct = "", cf = "") {
    let c = typeof condition === "function" ? condition() : !!condition;

    return c ? ct : cf;
  }

  getRandomString() {
    return "_" + Math.random().toString(36).substr(2, 9);
  }

  get(obj, path, defaultValue) {
    if (typeof path === "string") path = path.split(".");

    let node = obj;

    for (let i = 0; i < path.length; i++) {
      const key = path[i];

      if (!node) {
        node = undefined;

        break;
      }

      node = node[key];
    }

    return typeof node === "undefined" ? defaultValue : node;
  }

  set(obj, path, defaultValue, setter) {
    if (typeof path === "string") path = path.split(".");

    if (typeof setter === "undefined") setter = defaultValue;

    let value = this.get(obj, path);

    if (
      (typeof value === "undefined" ||
        (typeof value === "number" && isNaN(value))) &&
      typeof defaultValue !== "function"
    ) {
      value = defaultValue;
    }

    let node = obj;

    for (var i = 0; i < path.length - 1; i++) {
      const key = path[i];
      const nextKey = +path[i + 1];

      if (!node[key]) node[key] = isNaN(nextKey) ? {} : [];

      node = node[key];
    }

    node[path[i]] = typeof setter === "function" ? setter(value) : setter;

    return obj;
  }

  escape(string) {
    const reUnescapedHtml = /[&<>]/g;
    const reHasUnescapedHtml = RegExp(reUnescapedHtml.source);
    const htmlEscapes = {
      "&": "&amp",
      "<": "&lt",
      ">": "&gt",
    };

    return string && reHasUnescapedHtml.test(string)
      ? string.replace(reUnescapedHtml, (chr) => htmlEscapes[chr])
      : string;
  }

  _colors = {
    light: {
      textGray: "#67738A",
      textLightGray: "#ACB4C6",
      textGreen: "#09B96A",
      textRed: "#FF1A05",
      textOrange: "#D97706",
      textBlue: "#124BE7",
    },
    dark: {
      textGray: "#676C7A",
      textLightGray: "#484F5D",
      textGreen: "#00904E",
      textRed: "#F79389",
      textOrange: "#935F07",
      textBlue: "#163B8D",
    },
  };



  parseMessageEntities({ value, options = {} }, { theme }) {
    if (!value) return "";
    const text = this.escape(value);
    const entities = options.entities;

    const getTag = (entity, text) => {
      switch (entity.type) {
        case "B":
          return `<b>`;
        case "A":
          const isExternal = /^http/.test(entity.href);
          return `<a ${isExternal ? `external="true" target="_blank"` : ""
            } href="${entity.href}">`;
        case "I":
          return `<i>`;
        case "FONT":
          //return `<font color="${entity.color}">`;
          return `<font color="${this._colors[theme][entity.color] || entity.color
            }">`;

        case "STRIKE":
          return `<strike>`;
        case "U":
          return `<u>`;
      }
    };

    if (!entities || entities.length === 0) {
      return text;
    }

    let tags = [];

    entities.forEach((entity) => {
      const startTag = getTag(entity, text);
      if (!startTag) return text;
      let searchTag = tags.filter((tag) => tag.index === entity.offset);
      if (searchTag.length > 0) searchTag[0].tag += startTag;
      else
        tags.push({
          index: entity.offset,
          tag: startTag,
        });

      const closeTag =
        startTag.indexOf("<a ") === 0 ? "</a>" : "</" + startTag.slice(1);
      searchTag = tags.filter(
        (tag) => tag.index === entity.offset + entity.length
      );
      if (searchTag.length > 0) searchTag[0].tag = closeTag + searchTag[0].tag;
      else
        tags.push({
          index: entity.offset + entity.length,
          tag: closeTag,
        });
    });
    let html = "";
    for (let i = 0; i < text.length; i++) {
      const tag = tags.filter((tag) => tag.index === i);
      tags = tags.filter((tag) => tag.index !== i);
      if (tag.length > 0) html += tag[0].tag;
      html += this.replaceUrlsWithLinks(text[i]);
    }
    if (tags.length > 0) html += tags[0].tag;

    return html;
  }

  createRange(node, targetPosition) {
    let range = document.createRange();
    range.selectNode(node);
    range.setStart(node, 0);

    let pos = 0;
    const stack = [node];
    while (stack.length > 0) {
      const current = stack.pop();

      if (current.nodeType === Node.TEXT_NODE) {
        const len = current.textContent.length;
        if (pos + len >= targetPosition) {
          range.setEnd(current, targetPosition - pos);
          return range;
        }
        pos += len;
      } else if (current.childNodes && current.childNodes.length > 0) {
        for (let i = current.childNodes.length - 1; i >= 0; i--) {
          stack.push(current.childNodes[i]);
        }
      }
    }

    range.setEnd(node, node.childNodes.length);
    return range;
  }

  setPosition(targetPosition, contentEle) {
    const range = this.createRange(contentEle, targetPosition);
    const selection = window.getSelection();
    selection.removeAllRanges();
    selection.addRange(range);
  }

  getPosition(contentEle) {
    const selection = window.getSelection();
    const range = selection.getRangeAt(0);
    const clonedRange = range.cloneRange();
    clonedRange.selectNodeContents(contentEle);
    clonedRange.setEnd(range.endContainer, range.endOffset);

    return clonedRange.toString().length;
  }

  parseMessageEntities({ value, options = {} }, { theme }) {
    if (!value) return "";
    const text = this.escape(value);
    const entities = options.entities;

    const getTag = (entity, text) => {
      switch (entity.type) {
        case "B":
          return `<b>`;
        case "A":
          const isExternal = /^http/.test(entity.href);
          return `<a ${isExternal ? `external="true" target="_blank"` : ""
            } href="${entity.href}">`;
        case "I":
          return `<i>`;
        case "FONT":
          //return `<font color="${entity.color}">`;
          return `<font color="${this._colors[theme][entity.color] || entity.color
            }">`;

        case "STRIKE":
          return `<strike>`;
        case "U":
          return `<u>`;
      }
    };

    if (!entities || entities.length === 0) {
      return text;
    }

    let tags = [];

    entities.forEach((entity) => {
      const startTag = getTag(entity, text);
      if (!startTag) return text;
      let searchTag = tags.filter((tag) => tag.index === entity.offset);
      if (searchTag.length > 0) searchTag[0].tag += startTag;
      else
        tags.push({
          index: entity.offset,
          tag: startTag,
        });

      const closeTag =
        startTag.indexOf("<a ") === 0 ? "</a>" : "</" + startTag.slice(1);
      searchTag = tags.filter(
        (tag) => tag.index === entity.offset + entity.length
      );
      if (searchTag.length > 0) searchTag[0].tag = closeTag + searchTag[0].tag;
      else
        tags.push({
          index: entity.offset + entity.length,
          tag: closeTag,
        });
    });
    let html = "";
    for (let i = 0; i < text.length; i++) {
      const tag = tags.filter((tag) => tag.index === i);
      tags = tags.filter((tag) => tag.index !== i);
      if (tag.length > 0) html += tag[0].tag;
      html += this.replaceUrlsWithLinks(text[i]);
    }
    if (tags.length > 0) html += tags[0].tag;

    return html;
  }


  parseDataTransfer(data) {
    const res = [];
    for (let i = 0; i < data.length; i += 1) {
      if (data[i].kind === "string" && data[i].type.match("^text/plain")) {
        data[i].getAsString((s) => {
          console.log(s, "string");
        });
      } else if (
        data[i].kind === "string" &&
        data[i].type.match("^text/html")
      ) {
        // Drag data item is HTML
        data[i].getAsString((s) => {
          console.log(s, "HTML");
        });
      } else if (
        data[i].kind === "string" &&
        data[i].type.match("^text/uri-list")
      ) {
        // Drag data item is URI
        data[i].getAsString((s) => {
          console.log(s, "URI");
        });
      } else if (data[i].kind === "file" && data[i].type.match("^image/")) {
        // Drag data item is an image file
        const f = data[i].getAsFile();
        console.log("… Drop: File", f);
      } else {
        data[i].getAsString((s) => {
          console.log(s, "HZ");
        });
      }
    }
  }


  async wait(t = 1000) {
    return new Promise((resolve) => {
      setTimeout(() => {
        resolve();
      }, t);
    });
  }

  async fileIsReady(_id, attemps = 0) {
    await this.wait(3000);

    const createdFile = await Page.server("/files/ready", { _id });

    if (createdFile.ready) {
      return createdFile;
    } else {
      return this.fileIsReady(_id, attemps + 1);
    }
  }

  mmss(ms) {
    try {
      if (ms > 3600000) {
        return new Date(ms).toISOString().substr(11, 8);
      } else {
        return new Date(ms).toISOString().substr(14, 5);
      }
    } catch (err) {
      return "00:00";
    }
  }

  testPolicy(policy, e) {
    return (command, entity = e) => {
      if (!policy)
        return false;

      if (!policy[entity])
        return false;

      if (policy[entity].allow.length === 0)
        return false;


      return !!policy[entity].allow.includes(command);
    }
  }

  upload(file, { prefix = "UNW", options = {} }, cb = () => { }) {
    const tmpid = this.getRandomString();

    const fn = async () => {
      try {
        const createdFile = {
          content_type: file.type,
          type: file.type,
          options
        }

        const ws = Page.store.get('ws');

        const res = await ws.rpc('file.getUploadUrl', {
          content_type: file.type,
          origin_uri: 'some_path.jpg'
        });




        Page.store.emit(`onUploadStart.${tmpid}`, createdFile);


        await this.uploadBinaryFile({
          upload_url: res.upload_url,
          content_type: file.type,
          file: file,
          onProgress: progress => {
            Page.store.emit("progress", ({ progress }));
            Page.store.emit(`onUploadProgress.${tmpid}`, progress);
          }
        });

        // const res2 = await this.uploadBinaryFile({
        //   upload_url: f.upload_url,
        //   content_type: f.content_type,
        //   file,
        //   onProgress: (p) => {
        //     Page.store.emit(`onUploadProgress.${tmpid}`, p);
        //   },
        // });

        // Page.store.emit(`onProcessingStart.${tmpid}`, res);

        //const createdFile = await this.fileIsReady(f._id);


        createdFile.uri = res.filename;
        createdFile.url = res.filename;
        createdFile.storage_bucketname = res.storage_bucketname;
        createdFile.storage_endpoint = res.storage_endpoint;
        createdFile.filename = res.filename;



        Page.store.emit(`onUploaded.${tmpid}`, {
          ...createdFile,
          loaded: true,
        });

        Page.store.emit("progress", ({ progress: 100 }));


        return tmpid;
      } catch (err) {
        console.log(err);
      }
    };

    return [tmpid, fn()];
  }

  uploa2d(file, { prefix = "UNW", options = {} }, cb = () => { }) {
    const tmpid = this.getRandomString();

    const fn = async () => {
      try {
        const f = await Page.server("/files/create", {
          content_type: file.type,
          prefix: prefix,
          options: {
            size: file.size,
            width: file.width,
            height: file.height,
            duration: file.duration,
            filename: file.name,
            ...options,
          },
        });

        Page.store.emit(`onUploadStart.${tmpid}`, f);

        const res = await this.uploadBinaryFile({
          upload_url: f.upload_url,
          content_type: f.content_type,
          file,
          onProgress: (p) => {
            Page.store.emit(`onUploadProgress.${tmpid}`, p);
          },
        });

        Page.store.emit(`onProcessingStart.${tmpid}`, res);

        const createdFile = await this.fileIsReady(f._id);

        Page.store.emit(`onUploaded.${tmpid}`, {
          ...createdFile,
          loaded: true,
        });

        tmpid;
      } catch (err) {
        console.log(err);
      }
    };

    return [tmpid, fn()];
  }

  async uploadBinaryFile({ upload_url, content_type, file, onProgress }) {
    return new Promise((resolve, reject) => {
      const xhr = new XMLHttpRequest();

      xhr.onload = () => {
        if (xhr.status === 200) {
          // succeeded
          resolve(xhr.response);
        } else {
          reject(xhr.response);
        }
      };

      xhr.onerror = (error) => {
        reject(error);
      };

      xhr.open("PUT", upload_url, true);
      xhr.setRequestHeader("content-type", content_type);

      xhr.upload.onprogress = function (event) {
        if (onProgress) {
          onProgress(Math.round((event.loaded / event.total) * 100), event);
        }
      };
      xhr.send(file);
    });
  }

  getUID() {
    return "_" + Math.random().toString(36).substr(2, 9);
  };

  UUIDGeneratorBrowser = (prefix) =>
    prefix +
    ([1e7] + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, (c) =>
      (
        c ^
        (crypto.getRandomValues(new Uint8Array(1))[0] & (15 >> (c / 4)))
      ).toString(16)
    );


  createCheckValidationFunction(invalidClass, block) {

    return () => {
      let res = true;


      const check = (event) => {
        event.target.classList.toggle(invalidClass, false);
      }

      block.root.querySelectorAll('input, select, textarea').forEach((el) => {
        const isvalid = el.checkValidity()

        if (!isvalid) {
          res = isvalid;

          if (!el.classList.contains(invalidClass)) {
            if (el.type === 'text' || el.tagName === 'TEXTAREA') {
              el.addEventListener('input', check, { once: true })
            } else {
              el.addEventListener('change', check, { once: true });
            }
          }
        }

        el.classList.toggle(invalidClass, !isvalid);
      });


      if (!res) {
        block.page.store.emit('notification', {
          text: 'Неправильно заполнена форма',
          mode: 'error',
        });
      }


      return res;
    }
  }

})();

if (!window.setImmediate) window.setImmediate = (function() {
    var head = {},
      tail = head; // очередь вызовов, 1-связный список
  
    var ID = Math.random(); // уникальный идентификатор
  
    function onmessage(e) {
      if (e.data != ID) return; // не наше сообщение
      head = head.next;
      var func = head.func;
      delete head.func;
      func();
    }
  
    if (window.addEventListener) { // IE9+, другие браузеры
      window.addEventListener('message', onmessage);
    } else { // IE8
      window.attachEvent('onmessage', onmessage);
    }
  
    return function(func) {
      tail = tail.next = {
        func: func
      };
      window.postMessage(ID, "*");
    };
  }());

(() => {
    'use strict';

var DOCUMENT_FRAGMENT_NODE = 11;

function morphAttrs(fromNode, toNode) {
    var toNodeAttrs = toNode.attributes;
    var attr;
    var attrName;
    var attrNamespaceURI;
    var attrValue;
    var fromValue;

    // document-fragments dont have attributes so lets not do anything
    if (toNode.nodeType === DOCUMENT_FRAGMENT_NODE || fromNode.nodeType === DOCUMENT_FRAGMENT_NODE) {
      return;
    }

    // update attributes on original DOM element
    for (var i = toNodeAttrs.length - 1; i >= 0; i--) {
        attr = toNodeAttrs[i];
        attrName = attr.name;
        attrNamespaceURI = attr.namespaceURI;
        attrValue = attr.value;

        if (attrNamespaceURI) {
            attrName = attr.localName || attrName;
            fromValue = fromNode.getAttributeNS(attrNamespaceURI, attrName);

            if (fromValue !== attrValue) {
                if (attr.prefix === 'xmlns'){
                    attrName = attr.name; // It's not allowed to set an attribute with the XMLNS namespace without specifying the `xmlns` prefix
                }
                fromNode.setAttributeNS(attrNamespaceURI, attrName, attrValue);
            }
        } else {
            fromValue = fromNode.getAttribute(attrName);

            if (fromValue !== attrValue) {
                fromNode.setAttribute(attrName, attrValue);
            }
        }
    }

    // Remove any extra attributes found on the original DOM element that
    // weren't found on the target element.
    var fromNodeAttrs = fromNode.attributes;

    for (var d = fromNodeAttrs.length - 1; d >= 0; d--) {
        attr = fromNodeAttrs[d];
        attrName = attr.name;
        attrNamespaceURI = attr.namespaceURI;

        if (attrNamespaceURI) {
            attrName = attr.localName || attrName;

            if (!toNode.hasAttributeNS(attrNamespaceURI, attrName)) {
                fromNode.removeAttributeNS(attrNamespaceURI, attrName);
            }
        } else {
            if (!toNode.hasAttribute(attrName)) {
                fromNode.removeAttribute(attrName);
            }
        }
    }
}

var range; // Create a range object for efficently rendering strings to elements.
var NS_XHTML = 'http://www.w3.org/1999/xhtml';

var doc = typeof document === 'undefined' ? undefined : document;
var HAS_TEMPLATE_SUPPORT = !!doc && 'content' in doc.createElement('template');
var HAS_RANGE_SUPPORT = !!doc && doc.createRange && 'createContextualFragment' in doc.createRange();

function createFragmentFromTemplate(str) {
    var template = doc.createElement('template');
    template.innerHTML = str;
    return template.content.childNodes[0];
}

function createFragmentFromRange(str) {
    if (!range) {
        range = doc.createRange();
        range.selectNode(doc.body);
    }

    var fragment = range.createContextualFragment(str);
    return fragment.childNodes[0];
}

function createFragmentFromWrap(str) {
    var fragment = doc.createElement('body');
    fragment.innerHTML = str;
    return fragment.childNodes[0];
}

/**
 * This is about the same
 * var html = new DOMParser().parseFromString(str, 'text/html');
 * return html.body.firstChild;
 *
 * @method toElement
 * @param {String} str
 */
function toElement(str) {
    str = str.trim();
    if (HAS_TEMPLATE_SUPPORT) {
      // avoid restrictions on content for things like `<tr><th>Hi</th></tr>` which
      // createContextualFragment doesn't support
      // <template> support not available in IE
      return createFragmentFromTemplate(str);
    } else if (HAS_RANGE_SUPPORT) {
      return createFragmentFromRange(str);
    }

    return createFragmentFromWrap(str);
}

/**
 * Returns true if two node's names are the same.
 *
 * NOTE: We don't bother checking `namespaceURI` because you will never find two HTML elements with the same
 *       nodeName and different namespace URIs.
 *
 * @param {Element} a
 * @param {Element} b The target element
 * @return {boolean}
 */
function compareNodeNames(fromEl, toEl) {
    var fromNodeName = fromEl.nodeName;
    var toNodeName = toEl.nodeName;
    var fromCodeStart, toCodeStart;

    if (fromNodeName === toNodeName) {
        return true;
    }

    fromCodeStart = fromNodeName.charCodeAt(0);
    toCodeStart = toNodeName.charCodeAt(0);

    // If the target element is a virtual DOM node or SVG node then we may
    // need to normalize the tag name before comparing. Normal HTML elements that are
    // in the "http://www.w3.org/1999/xhtml"
    // are converted to upper case
    if (fromCodeStart <= 90 && toCodeStart >= 97) { // from is upper and to is lower
        return fromNodeName === toNodeName.toUpperCase();
    } else if (toCodeStart <= 90 && fromCodeStart >= 97) { // to is upper and from is lower
        return toNodeName === fromNodeName.toUpperCase();
    } else {
        return false;
    }
}

/**
 * Create an element, optionally with a known namespace URI.
 *
 * @param {string} name the element name, e.g. 'div' or 'svg'
 * @param {string} [namespaceURI] the element's namespace URI, i.e. the value of
 * its `xmlns` attribute or its inferred namespace.
 *
 * @return {Element}
 */
function createElementNS(name, namespaceURI) {
    return !namespaceURI || namespaceURI === NS_XHTML ?
        doc.createElement(name) :
        doc.createElementNS(namespaceURI, name);
}

/**
 * Copies the children of one DOM element to another DOM element
 */
function moveChildren(fromEl, toEl) {
    var curChild = fromEl.firstChild;
    while (curChild) {
        var nextChild = curChild.nextSibling;
        toEl.appendChild(curChild);
        curChild = nextChild;
    }
    return toEl;
}

function syncBooleanAttrProp(fromEl, toEl, name) {
    if (fromEl[name] !== toEl[name]) {
        fromEl[name] = toEl[name];
        if (fromEl[name]) {
            fromEl.setAttribute(name, '');
        } else {
            fromEl.removeAttribute(name);
        }
    }
}

var specialElHandlers = {
    OPTION: function(fromEl, toEl) {
        var parentNode = fromEl.parentNode;
        if (parentNode) {
            var parentName = parentNode.nodeName.toUpperCase();
            if (parentName === 'OPTGROUP') {
                parentNode = parentNode.parentNode;
                parentName = parentNode && parentNode.nodeName.toUpperCase();
            }
            if (parentName === 'SELECT' && !parentNode.hasAttribute('multiple')) {
                if (fromEl.hasAttribute('selected') && !toEl.selected) {
                    // Workaround for MS Edge bug where the 'selected' attribute can only be
                    // removed if set to a non-empty value:
                    // https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/12087679/
                    fromEl.setAttribute('selected', 'selected');
                    fromEl.removeAttribute('selected');
                }
                // We have to reset select element's selectedIndex to -1, otherwise setting
                // fromEl.selected using the syncBooleanAttrProp below has no effect.
                // The correct selectedIndex will be set in the SELECT special handler below.
                parentNode.selectedIndex = -1;
            }
        }
        syncBooleanAttrProp(fromEl, toEl, 'selected');
    },
    /**
     * The "value" attribute is special for the <input> element since it sets
     * the initial value. Changing the "value" attribute without changing the
     * "value" property will have no effect since it is only used to the set the
     * initial value.  Similar for the "checked" attribute, and "disabled".
     */
    INPUT: function(fromEl, toEl) {
        syncBooleanAttrProp(fromEl, toEl, 'checked');
        syncBooleanAttrProp(fromEl, toEl, 'disabled');

        if (fromEl.value !== toEl.value) {
            fromEl.value = toEl.value;
        }

        if (!toEl.hasAttribute('value')) {
            fromEl.removeAttribute('value');
        }
    },

    TEXTAREA: function(fromEl, toEl) {
        var newValue = toEl.value;
        if (fromEl.value !== newValue) {
            fromEl.value = newValue;
        }

        var firstChild = fromEl.firstChild;
        if (firstChild) {
            // Needed for IE. Apparently IE sets the placeholder as the
            // node value and vise versa. This ignores an empty update.
            var oldValue = firstChild.nodeValue;

            if (oldValue == newValue || (!newValue && oldValue == fromEl.placeholder)) {
                return;
            }

            firstChild.nodeValue = newValue;
        }
    },
    SELECT: function(fromEl, toEl) {
        if (!toEl.hasAttribute('multiple')) {
            var selectedIndex = -1;
            var i = 0;
            // We have to loop through children of fromEl, not toEl since nodes can be moved
            // from toEl to fromEl directly when morphing.
            // At the time this special handler is invoked, all children have already been morphed
            // and appended to / removed from fromEl, so using fromEl here is safe and correct.
            var curChild = fromEl.firstChild;
            var optgroup;
            var nodeName;
            while(curChild) {
                nodeName = curChild.nodeName && curChild.nodeName.toUpperCase();
                if (nodeName === 'OPTGROUP') {
                    optgroup = curChild;
                    curChild = optgroup.firstChild;
                } else {
                    if (nodeName === 'OPTION') {
                        if (curChild.hasAttribute('selected')) {
                            selectedIndex = i;
                            break;
                        }
                        i++;
                    }
                    curChild = curChild.nextSibling;
                    if (!curChild && optgroup) {
                        curChild = optgroup.nextSibling;
                        optgroup = null;
                    }
                }
            }

            fromEl.selectedIndex = selectedIndex;
        }
    }
};

var ELEMENT_NODE = 1;
var DOCUMENT_FRAGMENT_NODE$1 = 11;
var TEXT_NODE = 3;
var COMMENT_NODE = 8;

function noop() {}

function defaultGetNodeKey(node) {
  if (node) {
    return (node.getAttribute && node.getAttribute('id')) || node.id;
  }
}

function morphdomFactory(morphAttrs) {

  return function morphdom(fromNode, toNode, options) {
    if (!options) {
      options = {};
    }

    if (typeof toNode === 'string') {
      if (fromNode.nodeName === '#document' || fromNode.nodeName === 'HTML' || fromNode.nodeName === 'BODY') {
        var toNodeHtml = toNode;
        toNode = doc.createElement('html');
        toNode.innerHTML = toNodeHtml;
      } else {
        toNode = toElement(toNode);
      }
    } else if (toNode.nodeType === DOCUMENT_FRAGMENT_NODE$1) {
      toNode = toNode.firstElementChild;
    }

    var getNodeKey = options.getNodeKey || defaultGetNodeKey;
    var onBeforeNodeAdded = options.onBeforeNodeAdded || noop;
    var onNodeAdded = options.onNodeAdded || noop;
    var onBeforeElUpdated = options.onBeforeElUpdated || noop;
    var onElUpdated = options.onElUpdated || noop;
    var onBeforeNodeDiscarded = options.onBeforeNodeDiscarded || noop;
    var onNodeDiscarded = options.onNodeDiscarded || noop;
    var onBeforeElChildrenUpdated = options.onBeforeElChildrenUpdated || noop;
    var skipFromChildren = options.skipFromChildren || noop;
    var addChild = options.addChild || function(parent, child){ return parent.appendChild(child); };
    var childrenOnly = options.childrenOnly === true;

    // This object is used as a lookup to quickly find all keyed elements in the original DOM tree.
    var fromNodesLookup = Object.create(null);
    var keyedRemovalList = [];

    function addKeyedRemoval(key) {
      keyedRemovalList.push(key);
    }

    function walkDiscardedChildNodes(node, skipKeyedNodes) {
      if (node.nodeType === ELEMENT_NODE) {
        var curChild = node.firstChild;
        while (curChild) {

          var key = undefined;

          if (skipKeyedNodes && (key = getNodeKey(curChild))) {
            // If we are skipping keyed nodes then we add the key
            // to a list so that it can be handled at the very end.
            addKeyedRemoval(key);
          } else {
            // Only report the node as discarded if it is not keyed. We do this because
            // at the end we loop through all keyed elements that were unmatched
            // and then discard them in one final pass.
            onNodeDiscarded(curChild);
            if (curChild.firstChild) {
              walkDiscardedChildNodes(curChild, skipKeyedNodes);
            }
          }

          curChild = curChild.nextSibling;
        }
      }
    }

    /**
    * Removes a DOM node out of the original DOM
    *
    * @param  {Node} node The node to remove
    * @param  {Node} parentNode The nodes parent
    * @param  {Boolean} skipKeyedNodes If true then elements with keys will be skipped and not discarded.
    * @return {undefined}
    */
    function removeNode(node, parentNode, skipKeyedNodes) {
      if (onBeforeNodeDiscarded(node) === false) {
        return;
      }

      if (parentNode) {
        parentNode.removeChild(node);
      }

      onNodeDiscarded(node);
      walkDiscardedChildNodes(node, skipKeyedNodes);
    }

    // // TreeWalker implementation is no faster, but keeping this around in case this changes in the future
    // function indexTree(root) {
    //     var treeWalker = document.createTreeWalker(
    //         root,
    //         NodeFilter.SHOW_ELEMENT);
    //
    //     var el;
    //     while((el = treeWalker.nextNode())) {
    //         var key = getNodeKey(el);
    //         if (key) {
    //             fromNodesLookup[key] = el;
    //         }
    //     }
    // }

    // // NodeIterator implementation is no faster, but keeping this around in case this changes in the future
    //
    // function indexTree(node) {
    //     var nodeIterator = document.createNodeIterator(node, NodeFilter.SHOW_ELEMENT);
    //     var el;
    //     while((el = nodeIterator.nextNode())) {
    //         var key = getNodeKey(el);
    //         if (key) {
    //             fromNodesLookup[key] = el;
    //         }
    //     }
    // }

    function indexTree(node) {
      if (node.nodeType === ELEMENT_NODE || node.nodeType === DOCUMENT_FRAGMENT_NODE$1) {
        var curChild = node.firstChild;
        while (curChild) {
          var key = getNodeKey(curChild);
          if (key) {
            fromNodesLookup[key] = curChild;
          }

          // Walk recursively
          indexTree(curChild);

          curChild = curChild.nextSibling;
        }
      }
    }

    indexTree(fromNode);

    function handleNodeAdded(el) {
      onNodeAdded(el);

      var curChild = el.firstChild;
      while (curChild) {
        var nextSibling = curChild.nextSibling;

        var key = getNodeKey(curChild);
        if (key) {
          var unmatchedFromEl = fromNodesLookup[key];
          // if we find a duplicate #id node in cache, replace `el` with cache value
          // and morph it to the child node.
          if (unmatchedFromEl && compareNodeNames(curChild, unmatchedFromEl)) {
            curChild.parentNode.replaceChild(unmatchedFromEl, curChild);
            morphEl(unmatchedFromEl, curChild);
          } else {
            handleNodeAdded(curChild);
          }
        } else {
          // recursively call for curChild and it's children to see if we find something in
          // fromNodesLookup
          handleNodeAdded(curChild);
        }

        curChild = nextSibling;
      }
    }

    function cleanupFromEl(fromEl, curFromNodeChild, curFromNodeKey) {
      // We have processed all of the "to nodes". If curFromNodeChild is
      // non-null then we still have some from nodes left over that need
      // to be removed
      while (curFromNodeChild) {
        var fromNextSibling = curFromNodeChild.nextSibling;
        if ((curFromNodeKey = getNodeKey(curFromNodeChild))) {
          // Since the node is keyed it might be matched up later so we defer
          // the actual removal to later
          addKeyedRemoval(curFromNodeKey);
        } else {
          // NOTE: we skip nested keyed nodes from being removed since there is
          //       still a chance they will be matched up later
          removeNode(curFromNodeChild, fromEl, true /* skip keyed nodes */);
        }
        curFromNodeChild = fromNextSibling;
      }
    }

    function morphEl(fromEl, toEl, childrenOnly) {
      var toElKey = getNodeKey(toEl);

      if (toElKey) {
        // If an element with an ID is being morphed then it will be in the final
        // DOM so clear it out of the saved elements collection
        delete fromNodesLookup[toElKey];
      }

      if (!childrenOnly) {
        // optional
        if (onBeforeElUpdated(fromEl, toEl) === false) {
          return;
        }

        // update attributes on original DOM element first
        morphAttrs(fromEl, toEl);
        // optional
        onElUpdated(fromEl);

        if (onBeforeElChildrenUpdated(fromEl, toEl) === false) {
          return;
        }
      }

      if (fromEl.nodeName !== 'TEXTAREA') {
        morphChildren(fromEl, toEl);
      } else {
        specialElHandlers.TEXTAREA(fromEl, toEl);
      }
    }

    function morphChildren(fromEl, toEl) {
      var skipFrom = skipFromChildren(fromEl, toEl);
      var curToNodeChild = toEl.firstChild;
      var curFromNodeChild = fromEl.firstChild;
      var curToNodeKey;
      var curFromNodeKey;

      var fromNextSibling;
      var toNextSibling;
      var matchingFromEl;

      // walk the children
      outer: while (curToNodeChild) {
        toNextSibling = curToNodeChild.nextSibling;
        curToNodeKey = getNodeKey(curToNodeChild);

        // walk the fromNode children all the way through
        while (!skipFrom && curFromNodeChild) {
          fromNextSibling = curFromNodeChild.nextSibling;

          if (curToNodeChild.isSameNode && curToNodeChild.isSameNode(curFromNodeChild)) {
            curToNodeChild = toNextSibling;
            curFromNodeChild = fromNextSibling;
            continue outer;
          }

          curFromNodeKey = getNodeKey(curFromNodeChild);

          var curFromNodeType = curFromNodeChild.nodeType;

          // this means if the curFromNodeChild doesnt have a match with the curToNodeChild
          var isCompatible = undefined;

          if (curFromNodeType === curToNodeChild.nodeType) {
            if (curFromNodeType === ELEMENT_NODE) {
              // Both nodes being compared are Element nodes

              if (curToNodeKey) {
                // The target node has a key so we want to match it up with the correct element
                // in the original DOM tree
                if (curToNodeKey !== curFromNodeKey) {
                  // The current element in the original DOM tree does not have a matching key so
                  // let's check our lookup to see if there is a matching element in the original
                  // DOM tree
                  if ((matchingFromEl = fromNodesLookup[curToNodeKey])) {
                    if (fromNextSibling === matchingFromEl) {
                      // Special case for single element removals. To avoid removing the original
                      // DOM node out of the tree (since that can break CSS transitions, etc.),
                      // we will instead discard the current node and wait until the next
                      // iteration to properly match up the keyed target element with its matching
                      // element in the original tree
                      isCompatible = false;
                    } else {
                      // We found a matching keyed element somewhere in the original DOM tree.
                      // Let's move the original DOM node into the current position and morph
                      // it.

                      // NOTE: We use insertBefore instead of replaceChild because we want to go through
                      // the `removeNode()` function for the node that is being discarded so that
                      // all lifecycle hooks are correctly invoked
                      fromEl.insertBefore(matchingFromEl, curFromNodeChild);

                      // fromNextSibling = curFromNodeChild.nextSibling;

                      if (curFromNodeKey) {
                        // Since the node is keyed it might be matched up later so we defer
                        // the actual removal to later
                        addKeyedRemoval(curFromNodeKey);
                      } else {
                        // NOTE: we skip nested keyed nodes from being removed since there is
                        //       still a chance they will be matched up later
                        removeNode(curFromNodeChild, fromEl, true /* skip keyed nodes */);
                      }

                      curFromNodeChild = matchingFromEl;
                      curFromNodeKey = getNodeKey(curFromNodeChild);
                    }
                  } else {
                    // The nodes are not compatible since the "to" node has a key and there
                    // is no matching keyed node in the source tree
                    isCompatible = false;
                  }
                }
              } else if (curFromNodeKey) {
                // The original has a key
                isCompatible = false;
              }

              isCompatible = isCompatible !== false && compareNodeNames(curFromNodeChild, curToNodeChild);
              if (isCompatible) {
                // We found compatible DOM elements so transform
                // the current "from" node to match the current
                // target DOM node.
                // MORPH
                morphEl(curFromNodeChild, curToNodeChild);
              }

            } else if (curFromNodeType === TEXT_NODE || curFromNodeType == COMMENT_NODE) {
              // Both nodes being compared are Text or Comment nodes
              isCompatible = true;
              // Simply update nodeValue on the original node to
              // change the text value
              if (curFromNodeChild.nodeValue !== curToNodeChild.nodeValue) {
                curFromNodeChild.nodeValue = curToNodeChild.nodeValue;
              }

            }
          }

          if (isCompatible) {
            // Advance both the "to" child and the "from" child since we found a match
            // Nothing else to do as we already recursively called morphChildren above
            curToNodeChild = toNextSibling;
            curFromNodeChild = fromNextSibling;
            continue outer;
          }

          // No compatible match so remove the old node from the DOM and continue trying to find a
          // match in the original DOM. However, we only do this if the from node is not keyed
          // since it is possible that a keyed node might match up with a node somewhere else in the
          // target tree and we don't want to discard it just yet since it still might find a
          // home in the final DOM tree. After everything is done we will remove any keyed nodes
          // that didn't find a home
          if (curFromNodeKey) {
            // Since the node is keyed it might be matched up later so we defer
            // the actual removal to later
            addKeyedRemoval(curFromNodeKey);
          } else {
            // NOTE: we skip nested keyed nodes from being removed since there is
            //       still a chance they will be matched up later
            removeNode(curFromNodeChild, fromEl, true /* skip keyed nodes */);
          }

          curFromNodeChild = fromNextSibling;
        } // END: while(curFromNodeChild) {}

        // If we got this far then we did not find a candidate match for
        // our "to node" and we exhausted all of the children "from"
        // nodes. Therefore, we will just append the current "to" node
        // to the end
        if (curToNodeKey && (matchingFromEl = fromNodesLookup[curToNodeKey]) && compareNodeNames(matchingFromEl, curToNodeChild)) {
          // MORPH
          if(!skipFrom){ addChild(fromEl, matchingFromEl); }
          morphEl(matchingFromEl, curToNodeChild);
        } else {
          var onBeforeNodeAddedResult = onBeforeNodeAdded(curToNodeChild);
          if (onBeforeNodeAddedResult !== false) {
            if (onBeforeNodeAddedResult) {
              curToNodeChild = onBeforeNodeAddedResult;
            }

            if (curToNodeChild.actualize) {
              curToNodeChild = curToNodeChild.actualize(fromEl.ownerDocument || doc);
            }
            addChild(fromEl, curToNodeChild);
            handleNodeAdded(curToNodeChild);
          }
        }

        curToNodeChild = toNextSibling;
        curFromNodeChild = fromNextSibling;
      }

      cleanupFromEl(fromEl, curFromNodeChild, curFromNodeKey);

      var specialElHandler = specialElHandlers[fromEl.nodeName];
      if (specialElHandler) {
        specialElHandler(fromEl, toEl);
      }
    } // END: morphChildren(...)

    var morphedNode = fromNode;
    var morphedNodeType = morphedNode.nodeType;
    var toNodeType = toNode.nodeType;

    if (!childrenOnly) {
      // Handle the case where we are given two DOM nodes that are not
      // compatible (e.g. <div> --> <span> or <div> --> TEXT)
      if (morphedNodeType === ELEMENT_NODE) {
        if (toNodeType === ELEMENT_NODE) {
          if (!compareNodeNames(fromNode, toNode)) {
            onNodeDiscarded(fromNode);
            morphedNode = moveChildren(fromNode, createElementNS(toNode.nodeName, toNode.namespaceURI));
          }
        } else {
          // Going from an element node to a text node
          morphedNode = toNode;
        }
      } else if (morphedNodeType === TEXT_NODE || morphedNodeType === COMMENT_NODE) { // Text or comment node
        if (toNodeType === morphedNodeType) {
          if (morphedNode.nodeValue !== toNode.nodeValue) {
            morphedNode.nodeValue = toNode.nodeValue;
          }

          return morphedNode;
        } else {
          // Text node to something else
          morphedNode = toNode;
        }
      }
    }

    if (morphedNode === toNode) {
      // The "to node" was not compatible with the "from node" so we had to
      // toss out the "from node" and use the "to node"
      onNodeDiscarded(fromNode);
    } else {
      if (toNode.isSameNode && toNode.isSameNode(morphedNode)) {
        return;
      }

      morphEl(morphedNode, toNode, childrenOnly);

      // We now need to loop over any keyed nodes that might need to be
      // removed. We only do the removal if we know that the keyed node
      // never found a match. When a keyed node is matched up we remove
      // it out of fromNodesLookup and we use fromNodesLookup to determine
      // if a keyed node has been matched up or not
      if (keyedRemovalList) {
        for (var i=0, len=keyedRemovalList.length; i<len; i++) {
          var elToRemove = fromNodesLookup[keyedRemovalList[i]];
          if (elToRemove) {
            removeNode(elToRemove, elToRemove.parentNode, false);
          }
        }
      }
    }

    if (!childrenOnly && morphedNode !== fromNode && fromNode.parentNode) {
      if (morphedNode.actualize) {
        morphedNode = morphedNode.actualize(fromNode.ownerDocument || doc);
      }
      // If we had to swap out the from node with a new node because the old
      // node was not compatible with the target node then we need to
      // replace the old DOM node in the original DOM tree. This is only
      // possible if the original DOM node was part of a DOM tree which
      // we know is the case if it has a parent node.
      fromNode.parentNode.replaceChild(morphedNode, fromNode);
    }

    return morphedNode;
  };
}

window.morphdom = morphdomFactory(morphAttrs);

})()

const UUIDGeneratorBrowser = (prefix) =>
  prefix +
  ([1e7] + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, (c) =>
    (
      c ^
      (crypto.getRandomValues(new Uint8Array(1))[0] & (15 >> (c / 4)))
    ).toString(16)
  );
class WSClient {
  constructor(host, options = {}) {
    this.host = host;
    this.pingInterval = options.pingInterval || 5000;
    this.reconnectInterval = options.reconnectInterval || 5000;
    this.connected = false;
    this._queue = [];
    this._aqueue = [];
    this._listeners = {};
    this.subscribes = [];
  }

  connect() {
    if (this.connected || this._socket !== undefined) return;

    this.emit('connecting');

    console.log('connecting');

    this._socket = new WebSocket(this.host);
    this._socket.onmessage = message => this.onMessage(message);
    this._socket.onclose = message => this.onClose(message);
    this._socket.onerror = message => this.onError(message);
    this._socket.onopen = message => this.onConnect(message);
  }

  emit(event, message = this) {
    if (this._listeners[event] === undefined) return this;

    let l = this._listeners[event].length;

    while (l--) {
      this._listeners[event][l].callback(message);
    }

    return this;
  }

  on(event, callback, options = {}) {
    if (this._listeners[event] === undefined) this._listeners[event] = [];

    this._listeners[event].push({ callback, options });
  }

  off(event) {
    if (this._listeners[event] === undefined) this._listeners[event] = [];

    delete this._listeners[event];

    return this;
  }

  async rpc(command, payload = {}, options = {}) {
    const _rid = UUIDGeneratorBrowser();

    const { timeout = 30000, auth = true } = options;

    return new Promise((resolve, reject) => {
      const timer = setTimeout(() => {
        clearInterval(timer);
        this.off(_rid);

        reject({
          exception: 'RequestTimeoutError',
          message: 'Попробуйте авторизоваться позднее',
          http_error: 'Ошибка соединения',
        });
      }, timeout);

      this.on(_rid, _payload => {
        clearInterval(timer);
        this.off(_rid);

        if (_payload.exception) {
          reject(_payload);

          if (_payload.exception === "SessionExpiredError"){
            location.href= '/';
          }

        } else {
          resolve(_payload);
        }
      });

      if (Page.store.get('me') || !auth) {
        this.send(command, payload, _rid);
      } else {
        this._aqueue.push([command, payload, _rid]);
      }
    });
  }

  reconnect = () => {
    if (this.reconnectInterval === 0) return;

    if (this._rTimeout) return;

    if (this.connected) return;

    this.emit('reconnect');

    this._rTimeout = setTimeout(() => {
      this.connect();

      clearTimeout(this._rTimeout);

      this._rTimeout = void 0;
    }, this.reconnectInterval);
  };

  onConnect = message => {
    this.connected = true;

    let args;

    while ((args = this._queue.shift())) {
      this.send(...args);
    }

    this.emit('connected');

    if (this.pingInterval > 0) this.startPing();

    // eslint-disable-next-line no-unused-vars
  };

  rehydration() {
    let args;

    while ((args = this._aqueue.shift())) {
      this.send(...args);
    }
  }

  disconnect = () => {
    this._socket && this._socket.close();
    clearTimeout(this._rTimeout);
    this.stopPing();
  };

  startPing = () => {
    this.pingTimer = setInterval(() => {
      if (this.connected) {
        this._socket && this._socket.send(JSON.stringify({ _command: 'ping' }));
      }
    }, this.pingInterval);
  };

  stopPing = () => {
    clearInterval(this.pingTimer);
    this.pingTimer = void 0;
  };

  onError = message => {
    this.connected = false;

    this.emit('error', message);
    this._socket = void 0;
    this.stopPing();

    // this.reconnect();
  };

  onClose = message => {
    this._socket = void 0;
    this.connected = false;
    this.stopPing();

    this.emit('close', message);

    this.reconnect();
  };

  onMessage = message => {
    if (message.data === 'pong') return this.emit('messege', message.data);

    try {
      const json = JSON.parse(message.data);

      //console.log('recive message', json);

      if (json._event === '_commandResponse') {
        this.emit(json._rid, json.payload);
      } else if (json._event === '_syncDataItemSent') {
        Page.store.emit('_syncDataItemSent', json.payload);
      } else {
        Page.store.emit(json._event, json.payload);
        this.emit(json.event, json);
      }
    } catch (e) {
      console.error(e);
    }
  };

  subscribe = (event, options, callback) => {
    if (callback === undefined) {
      callback = options;
      options = {};
    }

    (Array.isArray(event) ? event : [event]).forEach(e => {
      this.on(event, callback, options);
      if (this.connected) this.send('subscribe', { event, options });
    });
  };

  unsubscribe = (event, callback) => {
    (Array.isArray(event) ? event : [event]).forEach(e => {
      this.off(e, callback);

      this.send('unsubscribe', event);
    });
  };

  authorize = token => {
    this.send('authorize', token);
  };

  resubscribe() {
    this.subscribes.forEach(subscribe => {
      this.send('subscribe', subscribe);
    });
  }

  sendSubscribe(payload) {
    this.subscribes.push(payload);
    this.send('subscribe', payload);
  }

  sendUnsubscribe(payload) {
    this.subscribes = this.subscribes.filter(s => {
      return s.rid !== payload.rid;
    });

    this.send('unsubscribe', payload);
  }

  send = (command, payload = {}, _rid) => {
    if (this.connected === false || this._socket === undefined) {
      this._queue.push([command, payload, _rid]);

      return;
    }

    //console.log('send command', command, payload);

    this.emit('send', { command, payload });

    this._socket.send(
      JSON.stringify({
        _command: command,
        payload: payload,
        _rid,
      }),
    );
  };
}


/*!
 * Cropper.js v1.6.1
 * https://fengyuanchen.github.io/cropperjs
 *
 * Copyright 2015-present Chen Fengyuan
 * Released under the MIT license
 *
 * Date: 2023-09-17T03:44:19.860Z
 */
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).Cropper=e()}(this,function(){"use strict";function C(e,t){var i,a=Object.keys(e);return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(e),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,i)),a}function S(a){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?C(Object(n),!0).forEach(function(t){var e,i;e=a,i=n[t=t],(t=P(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach(function(t){Object.defineProperty(a,t,Object.getOwnPropertyDescriptor(n,t))})}return a}function D(t){return(D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function j(t,e){for(var i=0;i<e.length;i++){var a=e[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,P(a.key),a)}}function A(t){return function(t){if(Array.isArray(t))return a(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){var i;if(t)return"string"==typeof t?a(t,e):"Map"===(i="Object"===(i=Object.prototype.toString.call(t).slice(8,-1))&&t.constructor?t.constructor.name:i)||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?a(t,e):void 0}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,a=new Array(e);i<e;i++)a[i]=t[i];return a}function P(t){t=function(t,e){if("object"!=typeof t||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0===i)return("string"===e?String:Number)(t);if("object"!=typeof(i=i.call(t,e||"default")))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}(t,"string");return"symbol"==typeof t?t:String(t)}var t="undefined"!=typeof window&&void 0!==window.document,h=t?window:{},e=!(!t||!h.document.documentElement)&&"ontouchstart"in h.document.documentElement,i=t&&"PointerEvent"in h,c="cropper",I="all",U="crop",q="move",$="zoom",B="e",k="w",O="s",T="n",E="ne",W="nw",H="se",N="sw",Q="".concat(c,"-crop"),K="".concat(c,"-disabled"),L="".concat(c,"-hidden"),Z="".concat(c,"-hide"),G="".concat(c,"-invisible"),n="".concat(c,"-modal"),V="".concat(c,"-move"),d="".concat(c,"Action"),m="".concat(c,"Preview"),F="crop",J="move",_="none",tt="crop",et="cropend",it="cropmove",at="cropstart",nt="dblclick",ot=i?"pointerdown":e?"touchstart":"mousedown",ht=i?"pointermove":e?"touchmove":"mousemove",rt=i?"pointerup pointercancel":e?"touchend touchcancel":"mouseup",st="zoom",ct="image/jpeg",dt=/^e|w|s|n|se|sw|ne|nw|all|crop|move|zoom$/,lt=/^data:/,pt=/^data:image\/jpeg;base64,/,mt=/^img|canvas$/i,ut={viewMode:0,dragMode:F,initialAspectRatio:NaN,aspectRatio:NaN,data:null,preview:"",responsive:!0,restore:!0,checkCrossOrigin:!0,checkOrientation:!0,modal:!0,guides:!0,center:!0,highlight:!0,background:!0,autoCrop:!0,autoCropArea:.8,movable:!0,rotatable:!0,scalable:!0,zoomable:!0,zoomOnTouch:!0,zoomOnWheel:!0,wheelZoomRatio:.1,cropBoxMovable:!0,cropBoxResizable:!0,toggleDragModeOnDblclick:!0,minCanvasWidth:0,minCanvasHeight:0,minCropBoxWidth:0,minCropBoxHeight:0,minContainerWidth:200,minContainerHeight:100,ready:null,cropstart:null,cropmove:null,cropend:null,crop:null,zoom:null},gt=Number.isNaN||h.isNaN;function p(t){return"number"==typeof t&&!gt(t)}function ft(t){return 0<t&&t<1/0}function vt(t){return void 0===t}function o(t){return"object"===D(t)&&null!==t}var wt=Object.prototype.hasOwnProperty;function u(t){if(!o(t))return!1;try{var e=t.constructor,i=e.prototype;return e&&i&&wt.call(i,"isPrototypeOf")}catch(t){return!1}}function l(t){return"function"==typeof t}var bt=Array.prototype.slice;function yt(t){return Array.from?Array.from(t):bt.call(t)}function z(i,a){return i&&l(a)&&(Array.isArray(i)||p(i.length)?yt(i).forEach(function(t,e){a.call(i,t,e,i)}):o(i)&&Object.keys(i).forEach(function(t){a.call(i,i[t],t,i)})),i}var g=Object.assign||function(i){for(var t=arguments.length,e=new Array(1<t?t-1:0),a=1;a<t;a++)e[a-1]=arguments[a];return o(i)&&0<e.length&&e.forEach(function(e){o(e)&&Object.keys(e).forEach(function(t){i[t]=e[t]})}),i},xt=/\.\d*(?:0|9){12}\d*$/;function Y(t,e){e=1<arguments.length&&void 0!==e?e:1e11;return xt.test(t)?Math.round(t*e)/e:t}var Mt=/^width|height|left|top|marginLeft|marginTop$/;function f(t,e){var i=t.style;z(e,function(t,e){Mt.test(e)&&p(t)&&(t="".concat(t,"px")),i[e]=t})}function v(t,e){var i;e&&(p(t.length)?z(t,function(t){v(t,e)}):t.classList?t.classList.add(e):(i=t.className.trim())?i.indexOf(e)<0&&(t.className="".concat(i," ").concat(e)):t.className=e)}function X(t,e){e&&(p(t.length)?z(t,function(t){X(t,e)}):t.classList?t.classList.remove(e):0<=t.className.indexOf(e)&&(t.className=t.className.replace(e,"")))}function r(t,e,i){e&&(p(t.length)?z(t,function(t){r(t,e,i)}):(i?v:X)(t,e))}var Ct=/([a-z\d])([A-Z])/g;function Dt(t){return t.replace(Ct,"$1-$2").toLowerCase()}function Bt(t,e){return o(t[e])?t[e]:t.dataset?t.dataset[e]:t.getAttribute("data-".concat(Dt(e)))}function w(t,e,i){o(i)?t[e]=i:t.dataset?t.dataset[e]=i:t.setAttribute("data-".concat(Dt(e)),i)}var kt,Ot,Tt=/\s\s*/,Et=(Ot=!1,t&&(kt=!1,i=function(){},e=Object.defineProperty({},"once",{get:function(){return Ot=!0,kt},set:function(t){kt=t}}),h.addEventListener("test",i,e),h.removeEventListener("test",i,e)),Ot);function s(i,t,a,e){var n=3<arguments.length&&void 0!==e?e:{},o=a;t.trim().split(Tt).forEach(function(t){var e;Et||(e=i.listeners)&&e[t]&&e[t][a]&&(o=e[t][a],delete e[t][a],0===Object.keys(e[t]).length&&delete e[t],0===Object.keys(e).length)&&delete i.listeners,i.removeEventListener(t,o,n)})}function b(o,t,h,e){var r=3<arguments.length&&void 0!==e?e:{},s=h;t.trim().split(Tt).forEach(function(a){var t,n;r.once&&!Et&&(t=o.listeners,s=function(){delete n[a][h],o.removeEventListener(a,s,r);for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];h.apply(o,e)},(n=void 0===t?{}:t)[a]||(n[a]={}),n[a][h]&&o.removeEventListener(a,n[a][h],r),n[a][h]=s,o.listeners=n),o.addEventListener(a,s,r)})}function y(t,e,i){var a;return l(Event)&&l(CustomEvent)?a=new CustomEvent(e,{detail:i,bubbles:!0,cancelable:!0}):(a=document.createEvent("CustomEvent")).initCustomEvent(e,!0,!0,i),t.dispatchEvent(a)}function Wt(t){t=t.getBoundingClientRect();return{left:t.left+(window.pageXOffset-document.documentElement.clientLeft),top:t.top+(window.pageYOffset-document.documentElement.clientTop)}}var Ht=h.location,Nt=/^(\w+:)\/\/([^:/?#]*):?(\d*)/i;function Lt(t){t=t.match(Nt);return null!==t&&(t[1]!==Ht.protocol||t[2]!==Ht.hostname||t[3]!==Ht.port)}function zt(t){var e="timestamp=".concat((new Date).getTime());return t+(-1===t.indexOf("?")?"?":"&")+e}function x(t){var e=t.rotate,i=t.scaleX,a=t.scaleY,n=t.translateX,t=t.translateY,o=[],n=(p(n)&&0!==n&&o.push("translateX(".concat(n,"px)")),p(t)&&0!==t&&o.push("translateY(".concat(t,"px)")),p(e)&&0!==e&&o.push("rotate(".concat(e,"deg)")),p(i)&&1!==i&&o.push("scaleX(".concat(i,")")),p(a)&&1!==a&&o.push("scaleY(".concat(a,")")),o.length?o.join(" "):"none");return{WebkitTransform:n,msTransform:n,transform:n}}function M(t,e){var i=t.pageX,t=t.pageY,a={endX:i,endY:t};return e?a:S({startX:i,startY:t},a)}function R(t,e){var i,a=t.aspectRatio,n=t.height,t=t.width,e=1<arguments.length&&void 0!==e?e:"contain",o=ft(t),h=ft(n);return o&&h?(i=n*a,"contain"===e&&t<i||"cover"===e&&i<t?n=t/a:t=n*a):o?n=t/a:h&&(t=n*a),{width:t,height:n}}var Yt=String.fromCharCode;var Xt=/^data:.*,/;function Rt(t){var e,i,a,n,o,h,r,s=new DataView(t);try{if(255===s.getUint8(0)&&216===s.getUint8(1))for(var c=s.byteLength,d=2;d+1<c;){if(255===s.getUint8(d)&&225===s.getUint8(d+1)){i=d;break}d+=1}if(a=i&&(n=i+10,"Exif"===function(t,e,i){var a="";i+=e;for(var n=e;n<i;n+=1)a+=Yt(t.getUint8(n));return a}(s,i+4,4))&&((r=18761===(o=s.getUint16(n)))||19789===o)&&42===s.getUint16(n+2,r)&&8<=(h=s.getUint32(n+4,r))?n+h:a)for(var l,p=s.getUint16(a,r),m=0;m<p;m+=1)if(l=a+12*m+2,274===s.getUint16(l,r)){l+=8,e=s.getUint16(l,r),s.setUint16(l,1,r);break}}catch(t){e=1}return e}var t={render:function(){this.initContainer(),this.initCanvas(),this.initCropBox(),this.renderCanvas(),this.cropped&&this.renderCropBox()},initContainer:function(){var t=this.element,e=this.options,i=this.container,a=this.cropper,n=Number(e.minContainerWidth),e=Number(e.minContainerHeight),n=(v(a,L),X(t,L),{width:Math.max(i.offsetWidth,0<=n?n:200),height:Math.max(i.offsetHeight,0<=e?e:100)});f(a,{width:(this.containerData=n).width,height:n.height}),v(t,L),X(a,L)},initCanvas:function(){var t=this.containerData,e=this.imageData,i=this.options.viewMode,a=Math.abs(e.rotate)%180==90,n=a?e.naturalHeight:e.naturalWidth,a=a?e.naturalWidth:e.naturalHeight,e=n/a,o=t.width,h=t.height,e=(t.height*e>t.width?3===i?o=t.height*e:h=t.width/e:3===i?h=t.width/e:o=t.height*e,{aspectRatio:e,naturalWidth:n,naturalHeight:a,width:o,height:h});this.canvasData=e,this.limited=1===i||2===i,this.limitCanvas(!0,!0),e.width=Math.min(Math.max(e.width,e.minWidth),e.maxWidth),e.height=Math.min(Math.max(e.height,e.minHeight),e.maxHeight),e.left=(t.width-e.width)/2,e.top=(t.height-e.height)/2,e.oldLeft=e.left,e.oldTop=e.top,this.initialCanvasData=g({},e)},limitCanvas:function(t,e){var i=this.options,a=this.containerData,n=this.canvasData,o=this.cropBoxData,h=i.viewMode,r=n.aspectRatio,s=this.cropped&&o;t&&(t=Number(i.minCanvasWidth)||0,i=Number(i.minCanvasHeight)||0,1<h?(t=Math.max(t,a.width),i=Math.max(i,a.height),3===h&&(t<i*r?t=i*r:i=t/r)):0<h&&(t?t=Math.max(t,s?o.width:0):i?i=Math.max(i,s?o.height:0):s&&((t=o.width)<(i=o.height)*r?t=i*r:i=t/r)),t=(r=R({aspectRatio:r,width:t,height:i})).width,i=r.height,n.minWidth=t,n.minHeight=i,n.maxWidth=1/0,n.maxHeight=1/0),e&&((s?0:1)<h?(r=a.width-n.width,t=a.height-n.height,n.minLeft=Math.min(0,r),n.minTop=Math.min(0,t),n.maxLeft=Math.max(0,r),n.maxTop=Math.max(0,t),s&&this.limited&&(n.minLeft=Math.min(o.left,o.left+(o.width-n.width)),n.minTop=Math.min(o.top,o.top+(o.height-n.height)),n.maxLeft=o.left,n.maxTop=o.top,2===h)&&(n.width>=a.width&&(n.minLeft=Math.min(0,r),n.maxLeft=Math.max(0,r)),n.height>=a.height)&&(n.minTop=Math.min(0,t),n.maxTop=Math.max(0,t))):(n.minLeft=-n.width,n.minTop=-n.height,n.maxLeft=a.width,n.maxTop=a.height))},renderCanvas:function(t,e){var i,a,n,o,h=this.canvasData,r=this.imageData;e&&(e={width:r.naturalWidth*Math.abs(r.scaleX||1),height:r.naturalHeight*Math.abs(r.scaleY||1),degree:r.rotate||0},r=e.width,o=e.height,e=e.degree,i=90==(e=Math.abs(e)%180)?{width:o,height:r}:(a=e%90*Math.PI/180,i=Math.sin(a),n=r*(a=Math.cos(a))+o*i,r=r*i+o*a,90<e?{width:r,height:n}:{width:n,height:r}),a=h.width*((o=i.width)/h.naturalWidth),n=h.height*((e=i.height)/h.naturalHeight),h.left-=(a-h.width)/2,h.top-=(n-h.height)/2,h.width=a,h.height=n,h.aspectRatio=o/e,h.naturalWidth=o,h.naturalHeight=e,this.limitCanvas(!0,!1)),(h.width>h.maxWidth||h.width<h.minWidth)&&(h.left=h.oldLeft),(h.height>h.maxHeight||h.height<h.minHeight)&&(h.top=h.oldTop),h.width=Math.min(Math.max(h.width,h.minWidth),h.maxWidth),h.height=Math.min(Math.max(h.height,h.minHeight),h.maxHeight),this.limitCanvas(!1,!0),h.left=Math.min(Math.max(h.left,h.minLeft),h.maxLeft),h.top=Math.min(Math.max(h.top,h.minTop),h.maxTop),h.oldLeft=h.left,h.oldTop=h.top,f(this.canvas,g({width:h.width,height:h.height},x({translateX:h.left,translateY:h.top}))),this.renderImage(t),this.cropped&&this.limited&&this.limitCropBox(!0,!0)},renderImage:function(t){var e=this.canvasData,i=this.imageData,a=i.naturalWidth*(e.width/e.naturalWidth),n=i.naturalHeight*(e.height/e.naturalHeight);g(i,{width:a,height:n,left:(e.width-a)/2,top:(e.height-n)/2}),f(this.image,g({width:i.width,height:i.height},x(g({translateX:i.left,translateY:i.top},i)))),t&&this.output()},initCropBox:function(){var t=this.options,e=this.canvasData,i=t.aspectRatio||t.initialAspectRatio,t=Number(t.autoCropArea)||.8,a={width:e.width,height:e.height};i&&(e.height*i>e.width?a.height=a.width/i:a.width=a.height*i),this.cropBoxData=a,this.limitCropBox(!0,!0),a.width=Math.min(Math.max(a.width,a.minWidth),a.maxWidth),a.height=Math.min(Math.max(a.height,a.minHeight),a.maxHeight),a.width=Math.max(a.minWidth,a.width*t),a.height=Math.max(a.minHeight,a.height*t),a.left=e.left+(e.width-a.width)/2,a.top=e.top+(e.height-a.height)/2,a.oldLeft=a.left,a.oldTop=a.top,this.initialCropBoxData=g({},a)},limitCropBox:function(t,e){var i,a,n=this.options,o=this.containerData,h=this.canvasData,r=this.cropBoxData,s=this.limited,c=n.aspectRatio;t&&(t=Number(n.minCropBoxWidth)||0,n=Number(n.minCropBoxHeight)||0,i=s?Math.min(o.width,h.width,h.width+h.left,o.width-h.left):o.width,a=s?Math.min(o.height,h.height,h.height+h.top,o.height-h.top):o.height,t=Math.min(t,o.width),n=Math.min(n,o.height),c&&(t&&n?t<n*c?n=t/c:t=n*c:t?n=t/c:n&&(t=n*c),i<a*c?a=i/c:i=a*c),r.minWidth=Math.min(t,i),r.minHeight=Math.min(n,a),r.maxWidth=i,r.maxHeight=a),e&&(s?(r.minLeft=Math.max(0,h.left),r.minTop=Math.max(0,h.top),r.maxLeft=Math.min(o.width,h.left+h.width)-r.width,r.maxTop=Math.min(o.height,h.top+h.height)-r.height):(r.minLeft=0,r.minTop=0,r.maxLeft=o.width-r.width,r.maxTop=o.height-r.height))},renderCropBox:function(){var t=this.options,e=this.containerData,i=this.cropBoxData;(i.width>i.maxWidth||i.width<i.minWidth)&&(i.left=i.oldLeft),(i.height>i.maxHeight||i.height<i.minHeight)&&(i.top=i.oldTop),i.width=Math.min(Math.max(i.width,i.minWidth),i.maxWidth),i.height=Math.min(Math.max(i.height,i.minHeight),i.maxHeight),this.limitCropBox(!1,!0),i.left=Math.min(Math.max(i.left,i.minLeft),i.maxLeft),i.top=Math.min(Math.max(i.top,i.minTop),i.maxTop),i.oldLeft=i.left,i.oldTop=i.top,t.movable&&t.cropBoxMovable&&w(this.face,d,i.width>=e.width&&i.height>=e.height?q:I),f(this.cropBox,g({width:i.width,height:i.height},x({translateX:i.left,translateY:i.top}))),this.cropped&&this.limited&&this.limitCanvas(!0,!0),this.disabled||this.output()},output:function(){this.preview(),y(this.element,tt,this.getData())}},i={initPreview:function(){var t=this.element,i=this.crossOrigin,e=this.options.preview,a=i?this.crossOriginUrl:this.url,n=t.alt||"The image to preview",o=document.createElement("img");i&&(o.crossOrigin=i),o.src=a,o.alt=n,this.viewBox.appendChild(o),this.viewBoxImage=o,e&&("string"==typeof(o=e)?o=t.ownerDocument.querySelectorAll(e):e.querySelector&&(o=[e]),z(this.previews=o,function(t){var e=document.createElement("img");w(t,m,{width:t.offsetWidth,height:t.offsetHeight,html:t.innerHTML}),i&&(e.crossOrigin=i),e.src=a,e.alt=n,e.style.cssText='display:block;width:100%;height:auto;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;image-orientation:0deg!important;"',t.innerHTML="",t.appendChild(e)}))},resetPreview:function(){z(this.previews,function(e){var i=Bt(e,m),i=(f(e,{width:i.width,height:i.height}),e.innerHTML=i.html,e),e=m;if(o(i[e]))try{delete i[e]}catch(t){i[e]=void 0}else if(i.dataset)try{delete i.dataset[e]}catch(t){i.dataset[e]=void 0}else i.removeAttribute("data-".concat(Dt(e)))})},preview:function(){var h=this.imageData,t=this.canvasData,e=this.cropBoxData,r=e.width,s=e.height,c=h.width,d=h.height,l=e.left-t.left-h.left,p=e.top-t.top-h.top;this.cropped&&!this.disabled&&(f(this.viewBoxImage,g({width:c,height:d},x(g({translateX:-l,translateY:-p},h)))),z(this.previews,function(t){var e=Bt(t,m),i=e.width,e=e.height,a=i,n=e,o=1;r&&(n=s*(o=i/r)),s&&e<n&&(a=r*(o=e/s),n=e),f(t,{width:a,height:n}),f(t.getElementsByTagName("img")[0],g({width:c*o,height:d*o},x(g({translateX:-l*o,translateY:-p*o},h))))}))}},e={bind:function(){var t=this.element,e=this.options,i=this.cropper;l(e.cropstart)&&b(t,at,e.cropstart),l(e.cropmove)&&b(t,it,e.cropmove),l(e.cropend)&&b(t,et,e.cropend),l(e.crop)&&b(t,tt,e.crop),l(e.zoom)&&b(t,st,e.zoom),b(i,ot,this.onCropStart=this.cropStart.bind(this)),e.zoomable&&e.zoomOnWheel&&b(i,"wheel",this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),e.toggleDragModeOnDblclick&&b(i,nt,this.onDblclick=this.dblclick.bind(this)),b(t.ownerDocument,ht,this.onCropMove=this.cropMove.bind(this)),b(t.ownerDocument,rt,this.onCropEnd=this.cropEnd.bind(this)),e.responsive&&b(window,"resize",this.onResize=this.resize.bind(this))},unbind:function(){var t=this.element,e=this.options,i=this.cropper;l(e.cropstart)&&s(t,at,e.cropstart),l(e.cropmove)&&s(t,it,e.cropmove),l(e.cropend)&&s(t,et,e.cropend),l(e.crop)&&s(t,tt,e.crop),l(e.zoom)&&s(t,st,e.zoom),s(i,ot,this.onCropStart),e.zoomable&&e.zoomOnWheel&&s(i,"wheel",this.onWheel,{passive:!1,capture:!0}),e.toggleDragModeOnDblclick&&s(i,nt,this.onDblclick),s(t.ownerDocument,ht,this.onCropMove),s(t.ownerDocument,rt,this.onCropEnd),e.responsive&&s(window,"resize",this.onResize)}},St={resize:function(){var t,e,i,a,n,o,h;this.disabled||(t=this.options,a=this.container,e=this.containerData,i=a.offsetWidth/e.width,a=a.offsetHeight/e.height,1!=(n=Math.abs(i-1)>Math.abs(a-1)?i:a)&&(t.restore&&(o=this.getCanvasData(),h=this.getCropBoxData()),this.render(),t.restore)&&(this.setCanvasData(z(o,function(t,e){o[e]=t*n})),this.setCropBoxData(z(h,function(t,e){h[e]=t*n}))))},dblclick:function(){var t,e;this.disabled||this.options.dragMode===_||this.setDragMode((t=this.dragBox,e=Q,(t.classList?t.classList.contains(e):-1<t.className.indexOf(e))?J:F))},wheel:function(t){var e=this,i=Number(this.options.wheelZoomRatio)||.1,a=1;this.disabled||(t.preventDefault(),this.wheeling)||(this.wheeling=!0,setTimeout(function(){e.wheeling=!1},50),t.deltaY?a=0<t.deltaY?1:-1:t.wheelDelta?a=-t.wheelDelta/120:t.detail&&(a=0<t.detail?1:-1),this.zoom(-a*i,t))},cropStart:function(t){var e,i=t.buttons,a=t.button;this.disabled||("mousedown"===t.type||"pointerdown"===t.type&&"mouse"===t.pointerType)&&(p(i)&&1!==i||p(a)&&0!==a||t.ctrlKey)||(i=this.options,e=this.pointers,t.changedTouches?z(t.changedTouches,function(t){e[t.identifier]=M(t)}):e[t.pointerId||0]=M(t),a=1<Object.keys(e).length&&i.zoomable&&i.zoomOnTouch?$:Bt(t.target,d),dt.test(a)&&!1!==y(this.element,at,{originalEvent:t,action:a})&&(t.preventDefault(),this.action=a,this.cropping=!1,a===U)&&(this.cropping=!0,v(this.dragBox,n)))},cropMove:function(t){var e,i=this.action;!this.disabled&&i&&(e=this.pointers,t.preventDefault(),!1!==y(this.element,it,{originalEvent:t,action:i}))&&(t.changedTouches?z(t.changedTouches,function(t){g(e[t.identifier]||{},M(t,!0))}):g(e[t.pointerId||0]||{},M(t,!0)),this.change(t))},cropEnd:function(t){var e,i;this.disabled||(e=this.action,i=this.pointers,t.changedTouches?z(t.changedTouches,function(t){delete i[t.identifier]}):delete i[t.pointerId||0],e&&(t.preventDefault(),Object.keys(i).length||(this.action=""),this.cropping&&(this.cropping=!1,r(this.dragBox,n,this.cropped&&this.options.modal)),y(this.element,et,{originalEvent:t,action:e})))}},jt={change:function(t){function e(t){switch(t){case B:f+D.x>y&&(D.x=y-f);break;case k:p+D.x<w&&(D.x=w-p);break;case T:m+D.y<b&&(D.y=b-m);break;case O:v+D.y>x&&(D.y=x-v)}}var i,a,o,n=this.options,h=this.canvasData,r=this.containerData,s=this.cropBoxData,c=this.pointers,d=this.action,l=n.aspectRatio,p=s.left,m=s.top,u=s.width,g=s.height,f=p+u,v=m+g,w=0,b=0,y=r.width,x=r.height,M=!0,C=(!l&&t.shiftKey&&(l=u&&g?u/g:1),this.limited&&(w=s.minLeft,b=s.minTop,y=w+Math.min(r.width,h.width,h.left+h.width),x=b+Math.min(r.height,h.height,h.top+h.height)),c[Object.keys(c)[0]]),D={x:C.endX-C.startX,y:C.endY-C.startY};switch(d){case I:p+=D.x,m+=D.y;break;case B:0<=D.x&&(y<=f||l&&(m<=b||x<=v))?M=!1:(e(B),(u+=D.x)<0&&(d=k,p-=u=-u),l&&(m+=(s.height-(g=u/l))/2));break;case T:D.y<=0&&(m<=b||l&&(p<=w||y<=f))?M=!1:(e(T),g-=D.y,m+=D.y,g<0&&(d=O,m-=g=-g),l&&(p+=(s.width-(u=g*l))/2));break;case k:D.x<=0&&(p<=w||l&&(m<=b||x<=v))?M=!1:(e(k),u-=D.x,p+=D.x,u<0&&(d=B,p-=u=-u),l&&(m+=(s.height-(g=u/l))/2));break;case O:0<=D.y&&(x<=v||l&&(p<=w||y<=f))?M=!1:(e(O),(g+=D.y)<0&&(d=T,m-=g=-g),l&&(p+=(s.width-(u=g*l))/2));break;case E:if(l){if(D.y<=0&&(m<=b||y<=f)){M=!1;break}e(T),g-=D.y,m+=D.y,u=g*l}else e(T),e(B),!(0<=D.x)||f<y?u+=D.x:D.y<=0&&m<=b&&(M=!1),(!(D.y<=0)||b<m)&&(g-=D.y,m+=D.y);u<0&&g<0?(d=N,m-=g=-g,p-=u=-u):u<0?(d=W,p-=u=-u):g<0&&(d=H,m-=g=-g);break;case W:if(l){if(D.y<=0&&(m<=b||p<=w)){M=!1;break}e(T),g-=D.y,m+=D.y,p+=s.width-(u=g*l)}else e(T),e(k),!(D.x<=0)||w<p?(u-=D.x,p+=D.x):D.y<=0&&m<=b&&(M=!1),(!(D.y<=0)||b<m)&&(g-=D.y,m+=D.y);u<0&&g<0?(d=H,m-=g=-g,p-=u=-u):u<0?(d=E,p-=u=-u):g<0&&(d=N,m-=g=-g);break;case N:if(l){if(D.x<=0&&(p<=w||x<=v)){M=!1;break}e(k),u-=D.x,p+=D.x,g=u/l}else e(O),e(k),!(D.x<=0)||w<p?(u-=D.x,p+=D.x):0<=D.y&&x<=v&&(M=!1),(!(0<=D.y)||v<x)&&(g+=D.y);u<0&&g<0?(d=E,m-=g=-g,p-=u=-u):u<0?(d=H,p-=u=-u):g<0&&(d=W,m-=g=-g);break;case H:if(l){if(0<=D.x&&(y<=f||x<=v)){M=!1;break}e(B),g=(u+=D.x)/l}else e(O),e(B),!(0<=D.x)||f<y?u+=D.x:0<=D.y&&x<=v&&(M=!1),(!(0<=D.y)||v<x)&&(g+=D.y);u<0&&g<0?(d=W,m-=g=-g,p-=u=-u):u<0?(d=N,p-=u=-u):g<0&&(d=E,m-=g=-g);break;case q:this.move(D.x,D.y),M=!1;break;case $:this.zoom((a=S({},i=c),o=0,z(i,function(n,t){delete a[t],z(a,function(t){var e=Math.abs(n.startX-t.startX),i=Math.abs(n.startY-t.startY),a=Math.abs(n.endX-t.endX),t=Math.abs(n.endY-t.endY),e=Math.sqrt(e*e+i*i),i=(Math.sqrt(a*a+t*t)-e)/e;Math.abs(i)>Math.abs(o)&&(o=i)})}),o),t),M=!1;break;case U:D.x&&D.y?(i=Wt(this.cropper),p=C.startX-i.left,m=C.startY-i.top,u=s.minWidth,g=s.minHeight,0<D.x?d=0<D.y?H:E:D.x<0&&(p-=u,d=0<D.y?N:W),D.y<0&&(m-=g),this.cropped||(X(this.cropBox,L),this.cropped=!0,this.limited&&this.limitCropBox(!0,!0))):M=!1}M&&(s.width=u,s.height=g,s.left=p,s.top=m,this.action=d,this.renderCropBox()),z(c,function(t){t.startX=t.endX,t.startY=t.endY})}},At={crop:function(){return!this.ready||this.cropped||this.disabled||(this.cropped=!0,this.limitCropBox(!0,!0),this.options.modal&&v(this.dragBox,n),X(this.cropBox,L),this.setCropBoxData(this.initialCropBoxData)),this},reset:function(){return this.ready&&!this.disabled&&(this.imageData=g({},this.initialImageData),this.canvasData=g({},this.initialCanvasData),this.cropBoxData=g({},this.initialCropBoxData),this.renderCanvas(),this.cropped)&&this.renderCropBox(),this},clear:function(){return this.cropped&&!this.disabled&&(g(this.cropBoxData,{left:0,top:0,width:0,height:0}),this.cropped=!1,this.renderCropBox(),this.limitCanvas(!0,!0),this.renderCanvas(),X(this.dragBox,n),v(this.cropBox,L)),this},replace:function(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1];return!this.disabled&&e&&(this.isImg&&(this.element.src=e),t?(this.url=e,this.image.src=e,this.ready&&(this.viewBoxImage.src=e,z(this.previews,function(t){t.getElementsByTagName("img")[0].src=e}))):(this.isImg&&(this.replaced=!0),this.options.data=null,this.uncreate(),this.load(e))),this},enable:function(){return this.ready&&this.disabled&&(this.disabled=!1,X(this.cropper,K)),this},disable:function(){return this.ready&&!this.disabled&&(this.disabled=!0,v(this.cropper,K)),this},destroy:function(){var t=this.element;return t[c]&&(t[c]=void 0,this.isImg&&this.replaced&&(t.src=this.originalUrl),this.uncreate()),this},move:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:t,i=this.canvasData,a=i.left,i=i.top;return this.moveTo(vt(t)?t:a+Number(t),vt(e)?e:i+Number(e))},moveTo:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:t,i=this.canvasData,a=!1;return t=Number(t),e=Number(e),this.ready&&!this.disabled&&this.options.movable&&(p(t)&&(i.left=t,a=!0),p(e)&&(i.top=e,a=!0),a)&&this.renderCanvas(!0),this},zoom:function(t,e){var i=this.canvasData;return t=Number(t),this.zoomTo(i.width*(t=t<0?1/(1-t):1+t)/i.naturalWidth,null,e)},zoomTo:function(t,e,i){var a,n,o,h=this.options,r=this.canvasData,s=r.width,c=r.height,d=r.naturalWidth,l=r.naturalHeight;if(0<=(t=Number(t))&&this.ready&&!this.disabled&&h.zoomable){h=d*t,l=l*t;if(!1===y(this.element,st,{ratio:t,oldRatio:s/d,originalEvent:i}))return this;i?(t=this.pointers,d=Wt(this.cropper),t=t&&Object.keys(t).length?(o=n=a=0,z(t,function(t){var e=t.startX,t=t.startY;a+=e,n+=t,o+=1}),{pageX:a/=o,pageY:n/=o}):{pageX:i.pageX,pageY:i.pageY},r.left-=(h-s)*((t.pageX-d.left-r.left)/s),r.top-=(l-c)*((t.pageY-d.top-r.top)/c)):u(e)&&p(e.x)&&p(e.y)?(r.left-=(h-s)*((e.x-r.left)/s),r.top-=(l-c)*((e.y-r.top)/c)):(r.left-=(h-s)/2,r.top-=(l-c)/2),r.width=h,r.height=l,this.renderCanvas(!0)}return this},rotate:function(t){return this.rotateTo((this.imageData.rotate||0)+Number(t))},rotateTo:function(t){return p(t=Number(t))&&this.ready&&!this.disabled&&this.options.rotatable&&(this.imageData.rotate=t%360,this.renderCanvas(!0,!0)),this},scaleX:function(t){var e=this.imageData.scaleY;return this.scale(t,p(e)?e:1)},scaleY:function(t){var e=this.imageData.scaleX;return this.scale(p(e)?e:1,t)},scale:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:t,i=this.imageData,a=!1;return t=Number(t),e=Number(e),this.ready&&!this.disabled&&this.options.scalable&&(p(t)&&(i.scaleX=t,a=!0),p(e)&&(i.scaleY=e,a=!0),a)&&this.renderCanvas(!0,!0),this},getData:function(){var i,a,t=0<arguments.length&&void 0!==arguments[0]&&arguments[0],e=this.options,n=this.imageData,o=this.canvasData,h=this.cropBoxData;return this.ready&&this.cropped?(i={x:h.left-o.left,y:h.top-o.top,width:h.width,height:h.height},a=n.width/n.naturalWidth,z(i,function(t,e){i[e]=t/a}),t&&(o=Math.round(i.y+i.height),h=Math.round(i.x+i.width),i.x=Math.round(i.x),i.y=Math.round(i.y),i.width=h-i.x,i.height=o-i.y)):i={x:0,y:0,width:0,height:0},e.rotatable&&(i.rotate=n.rotate||0),e.scalable&&(i.scaleX=n.scaleX||1,i.scaleY=n.scaleY||1),i},setData:function(t){var e,i=this.options,a=this.imageData,n=this.canvasData,o={};return this.ready&&!this.disabled&&u(t)&&(e=!1,i.rotatable&&p(t.rotate)&&t.rotate!==a.rotate&&(a.rotate=t.rotate,e=!0),i.scalable&&(p(t.scaleX)&&t.scaleX!==a.scaleX&&(a.scaleX=t.scaleX,e=!0),p(t.scaleY))&&t.scaleY!==a.scaleY&&(a.scaleY=t.scaleY,e=!0),e&&this.renderCanvas(!0,!0),i=a.width/a.naturalWidth,p(t.x)&&(o.left=t.x*i+n.left),p(t.y)&&(o.top=t.y*i+n.top),p(t.width)&&(o.width=t.width*i),p(t.height)&&(o.height=t.height*i),this.setCropBoxData(o)),this},getContainerData:function(){return this.ready?g({},this.containerData):{}},getImageData:function(){return this.sized?g({},this.imageData):{}},getCanvasData:function(){var e=this.canvasData,i={};return this.ready&&z(["left","top","width","height","naturalWidth","naturalHeight"],function(t){i[t]=e[t]}),i},setCanvasData:function(t){var e=this.canvasData,i=e.aspectRatio;return this.ready&&!this.disabled&&u(t)&&(p(t.left)&&(e.left=t.left),p(t.top)&&(e.top=t.top),p(t.width)?(e.width=t.width,e.height=t.width/i):p(t.height)&&(e.height=t.height,e.width=t.height*i),this.renderCanvas(!0)),this},getCropBoxData:function(){var t,e=this.cropBoxData;return(t=this.ready&&this.cropped?{left:e.left,top:e.top,width:e.width,height:e.height}:t)||{}},setCropBoxData:function(t){var e,i,a=this.cropBoxData,n=this.options.aspectRatio;return this.ready&&this.cropped&&!this.disabled&&u(t)&&(p(t.left)&&(a.left=t.left),p(t.top)&&(a.top=t.top),p(t.width)&&t.width!==a.width&&(e=!0,a.width=t.width),p(t.height)&&t.height!==a.height&&(i=!0,a.height=t.height),n&&(e?a.height=a.width/n:i&&(a.width=a.height*n)),this.renderCropBox()),this},getCroppedCanvas:function(){var t,e,i,a,n,o,h,r,s,c,d,l,p,m,u,g,f,v,w,b,y,x,M,C,D,B,k,O=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return this.ready&&window.HTMLCanvasElement?(B=this.canvasData,u=this.image,l=this.imageData,a=B,v=O,g=l.aspectRatio,e=l.naturalWidth,n=l.naturalHeight,c=void 0===(c=l.rotate)?0:c,d=void 0===(d=l.scaleX)?1:d,l=void 0===(l=l.scaleY)?1:l,i=a.aspectRatio,r=a.naturalWidth,a=a.naturalHeight,h=void 0===(h=v.fillColor)?"transparent":h,p=void 0===(p=v.imageSmoothingEnabled)||p,m=void 0===(m=v.imageSmoothingQuality)?"low":m,o=void 0===(o=v.maxWidth)?1/0:o,k=void 0===(k=v.maxHeight)?1/0:k,t=void 0===(t=v.minWidth)?0:t,v=void 0===(v=v.minHeight)?0:v,w=document.createElement("canvas"),f=w.getContext("2d"),s=R({aspectRatio:i,width:o,height:k}),i=R({aspectRatio:i,width:t,height:v},"cover"),r=Math.min(s.width,Math.max(i.width,r)),s=Math.min(s.height,Math.max(i.height,a)),i=R({aspectRatio:g,width:o,height:k}),a=R({aspectRatio:g,width:t,height:v},"cover"),o=Math.min(i.width,Math.max(a.width,e)),k=Math.min(i.height,Math.max(a.height,n)),g=[-o/2,-k/2,o,k],w.width=Y(r),w.height=Y(s),f.fillStyle=h,f.fillRect(0,0,r,s),f.save(),f.translate(r/2,s/2),f.rotate(c*Math.PI/180),f.scale(d,l),f.imageSmoothingEnabled=p,f.imageSmoothingQuality=m,f.drawImage.apply(f,[u].concat(A(g.map(function(t){return Math.floor(Y(t))})))),f.restore(),t=w,this.cropped?(e=(v=this.getData(O.rounded)).x,i=v.y,a=v.width,n=v.height,1!=(o=t.width/Math.floor(B.naturalWidth))&&(e*=o,i*=o,a*=o,n*=o),h=R({aspectRatio:k=a/n,width:O.maxWidth||1/0,height:O.maxHeight||1/0}),r=R({aspectRatio:k,width:O.minWidth||0,height:O.minHeight||0},"cover"),c=(s=R({aspectRatio:k,width:O.width||(1!=o?t.width:a),height:O.height||(1!=o?t.height:n)})).width,d=s.height,c=Math.min(h.width,Math.max(r.width,c)),d=Math.min(h.height,Math.max(r.height,d)),p=(l=document.createElement("canvas")).getContext("2d"),l.width=Y(c),l.height=Y(d),p.fillStyle=O.fillColor||"transparent",p.fillRect(0,0,c,d),m=O.imageSmoothingEnabled,u=O.imageSmoothingQuality,p.imageSmoothingEnabled=void 0===m||m,u&&(p.imageSmoothingQuality=u),g=t.width,f=t.height,w=i,(v=e)<=-a||g<v?C=x=b=v=0:v<=0?(x=-v,v=0,C=b=Math.min(g,a+v)):v<=g&&(x=0,C=b=Math.min(a,g-v)),b<=0||w<=-n||f<w?D=M=y=w=0:w<=0?(M=-w,w=0,D=y=Math.min(f,n+w)):w<=f&&(M=0,D=y=Math.min(n,f-w)),B=[v,w,b,y],0<C&&0<D&&B.push(x*(k=c/a),M*k,C*k,D*k),p.drawImage.apply(p,[t].concat(A(B.map(function(t){return Math.floor(Y(t))})))),l):t):null},setAspectRatio:function(t){var e=this.options;return this.disabled||vt(t)||(e.aspectRatio=Math.max(0,t)||NaN,this.ready&&(this.initCropBox(),this.cropped)&&this.renderCropBox()),this},setDragMode:function(t){var e,i,a=this.options,n=this.dragBox,o=this.face;return this.ready&&!this.disabled&&(i=a.movable&&t===J,a.dragMode=t=(e=t===F)||i?t:_,w(n,d,t),r(n,Q,e),r(n,V,i),a.cropBoxMovable||(w(o,d,t),r(o,Q,e),r(o,V,i))),this}},Pt=h.Cropper,It=function(){function n(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},i=this,a=n;if(!(i instanceof a))throw new TypeError("Cannot call a class as a function");if(!t||!mt.test(t.tagName))throw new Error("The first argument is required and must be an <img> or <canvas> element.");this.element=t,this.options=g({},ut,u(e)&&e),this.cropped=!1,this.disabled=!1,this.pointers={},this.ready=!1,this.reloading=!1,this.replaced=!1,this.sized=!1,this.sizing=!1,this.init()}var t,e,i;return t=n,i=[{key:"noConflict",value:function(){return window.Cropper=Pt,n}},{key:"setDefaults",value:function(t){g(ut,u(t)&&t)}}],(e=[{key:"init",value:function(){var t,e=this.element,i=e.tagName.toLowerCase();if(!e[c]){if(e[c]=this,"img"===i){if(this.isImg=!0,t=e.getAttribute("src")||"",!(this.originalUrl=t))return;t=e.src}else"canvas"===i&&window.HTMLCanvasElement&&(t=e.toDataURL());this.load(t)}}},{key:"load",value:function(t){var e,i,a,n,o,h,r=this;t&&(this.url=t,this.imageData={},e=this.element,(i=this.options).rotatable||i.scalable||(i.checkOrientation=!1),i.checkOrientation&&window.ArrayBuffer?lt.test(t)?pt.test(t)?this.read((h=(h=t).replace(Xt,""),a=atob(h),h=new ArrayBuffer(a.length),z(n=new Uint8Array(h),function(t,e){n[e]=a.charCodeAt(e)}),h)):this.clone():(o=new XMLHttpRequest,h=this.clone.bind(this),this.reloading=!0,(this.xhr=o).onabort=h,o.onerror=h,o.ontimeout=h,o.onprogress=function(){o.getResponseHeader("content-type")!==ct&&o.abort()},o.onload=function(){r.read(o.response)},o.onloadend=function(){r.reloading=!1,r.xhr=null},i.checkCrossOrigin&&Lt(t)&&e.crossOrigin&&(t=zt(t)),o.open("GET",t,!0),o.responseType="arraybuffer",o.withCredentials="use-credentials"===e.crossOrigin,o.send()):this.clone())}},{key:"read",value:function(t){var e=this.options,i=this.imageData,a=Rt(t),n=0,o=1,h=1;1<a&&(this.url=function(t,e){for(var i=[],a=new Uint8Array(t);0<a.length;)i.push(Yt.apply(null,yt(a.subarray(0,8192)))),a=a.subarray(8192);return"data:".concat(e,";base64,").concat(btoa(i.join("")))}(t,ct),n=(t=function(t){var e=0,i=1,a=1;switch(t){case 2:i=-1;break;case 3:e=-180;break;case 4:a=-1;break;case 5:e=90,a=-1;break;case 6:e=90;break;case 7:e=90,i=-1;break;case 8:e=-90}return{rotate:e,scaleX:i,scaleY:a}}(a)).rotate,o=t.scaleX,h=t.scaleY),e.rotatable&&(i.rotate=n),e.scalable&&(i.scaleX=o,i.scaleY=h),this.clone()}},{key:"clone",value:function(){var t=this.element,e=this.url,i=t.crossOrigin,a=e,n=(this.options.checkCrossOrigin&&Lt(e)&&(i=i||"anonymous",a=zt(e)),this.crossOrigin=i,this.crossOriginUrl=a,document.createElement("img"));i&&(n.crossOrigin=i),n.src=a||e,n.alt=t.alt||"The image to crop",(this.image=n).onload=this.start.bind(this),n.onerror=this.stop.bind(this),v(n,Z),t.parentNode.insertBefore(n,t.nextSibling)}},{key:"start",value:function(){function t(t,e){g(a.imageData,{naturalWidth:t,naturalHeight:e,aspectRatio:t/e}),a.initialImageData=g({},a.imageData),a.sizing=!1,a.sized=!0,a.build()}var e,i,a=this,n=this.image,o=(n.onload=null,n.onerror=null,this.sizing=!0,h.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(h.navigator.userAgent));n.naturalWidth&&!o?t(n.naturalWidth,n.naturalHeight):(e=document.createElement("img"),i=document.body||document.documentElement,(this.sizingImage=e).onload=function(){t(e.width,e.height),o||i.removeChild(e)},e.src=n.src,o||(e.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",i.appendChild(e)))}},{key:"stop",value:function(){var t=this.image;t.onload=null,t.onerror=null,t.parentNode.removeChild(t),this.image=null}},{key:"build",value:function(){var t,e,i,a,n,o,h,r,s;this.sized&&!this.ready&&(t=this.element,e=this.options,i=this.image,a=t.parentNode,(n=document.createElement("div")).innerHTML='<div class="cropper-container" touch-action="none"><div class="cropper-wrap-box"><div class="cropper-canvas"></div></div><div class="cropper-drag-box"></div><div class="cropper-crop-box"><span class="cropper-view-box"></span><span class="cropper-dashed dashed-h"></span><span class="cropper-dashed dashed-v"></span><span class="cropper-center"></span><span class="cropper-face"></span><span class="cropper-line line-e" data-cropper-action="e"></span><span class="cropper-line line-n" data-cropper-action="n"></span><span class="cropper-line line-w" data-cropper-action="w"></span><span class="cropper-line line-s" data-cropper-action="s"></span><span class="cropper-point point-e" data-cropper-action="e"></span><span class="cropper-point point-n" data-cropper-action="n"></span><span class="cropper-point point-w" data-cropper-action="w"></span><span class="cropper-point point-s" data-cropper-action="s"></span><span class="cropper-point point-ne" data-cropper-action="ne"></span><span class="cropper-point point-nw" data-cropper-action="nw"></span><span class="cropper-point point-sw" data-cropper-action="sw"></span><span class="cropper-point point-se" data-cropper-action="se"></span></div></div>',o=(n=n.querySelector(".".concat(c,"-container"))).querySelector(".".concat(c,"-canvas")),h=n.querySelector(".".concat(c,"-drag-box")),s=(r=n.querySelector(".".concat(c,"-crop-box"))).querySelector(".".concat(c,"-face")),this.container=a,this.cropper=n,this.canvas=o,this.dragBox=h,this.cropBox=r,this.viewBox=n.querySelector(".".concat(c,"-view-box")),this.face=s,o.appendChild(i),v(t,L),a.insertBefore(n,t.nextSibling),X(i,Z),this.initPreview(),this.bind(),e.initialAspectRatio=Math.max(0,e.initialAspectRatio)||NaN,e.aspectRatio=Math.max(0,e.aspectRatio)||NaN,e.viewMode=Math.max(0,Math.min(3,Math.round(e.viewMode)))||0,v(r,L),e.guides||v(r.getElementsByClassName("".concat(c,"-dashed")),L),e.center||v(r.getElementsByClassName("".concat(c,"-center")),L),e.background&&v(n,"".concat(c,"-bg")),e.highlight||v(s,G),e.cropBoxMovable&&(v(s,V),w(s,d,I)),e.cropBoxResizable||(v(r.getElementsByClassName("".concat(c,"-line")),L),v(r.getElementsByClassName("".concat(c,"-point")),L)),this.render(),this.ready=!0,this.setDragMode(e.dragMode),e.autoCrop&&this.crop(),this.setData(e.data),l(e.ready)&&b(t,"ready",e.ready,{once:!0}),y(t,"ready"))}},{key:"unbuild",value:function(){var t;this.ready&&(this.ready=!1,this.unbind(),this.resetPreview(),(t=this.cropper.parentNode)&&t.removeChild(this.cropper),X(this.element,L))}},{key:"uncreate",value:function(){this.ready?(this.unbuild(),this.ready=!1,this.cropped=!1):this.sizing?(this.sizingImage.onload=null,this.sizing=!1,this.sized=!1):this.reloading?(this.xhr.onabort=null,this.xhr.abort()):this.image&&this.stop()}}])&&j(t.prototype,e),i&&j(t,i),Object.defineProperty(t,"prototype",{writable:!1}),n}();return g(It.prototype,t,i,e,St,jt,At),It});


window._fr_blocks['blocks-authorization.login'] = class Login extends BlockClass {
  _mount() {
    super._mount();
  }
  _unmount() {
    super._unmount();
  }

  hidePassword(v, e) {
    this.refs.password.setAttribute("type", "password");

    this.refs._.showPassword.elm.style.display = 'block';
    this.refs._.hidePassword.elm.style.display = 'none';

  }

  showPassword(v, e) {
    this.refs.password.setAttribute("type", "text");
    this.refs._.hidePassword.elm.style.display = 'block';
    this.refs._.showPassword.elm.style.display = 'none';
  }

  async enter() {
    try {
      const login = this.refs.login.value;
      const password = this.refs.password.value;

      if (login && password) {
        const res = await this.page.store.get('ws').rpc('users.auth', {
          email: login,
          password: password,
          remember_me: true,
          user_agent: window.navigator.userAgent,
          language:  window.navigator.language
        }, { auth: false });

        this.page.store.set("authorizationToken", res.token);
        setCookie('token', res.token);

        this.page.store.assign("o", { _id: res._id, country:"ru"});
        const me = await this.page.store.get('ws').rpc('users.me', {}, {auth: false});

        this.page.store.memorize("me",me);

        this.page.router.goTo(this.page.router.currentHref);

        this.page.nextTick(() => {
          this.page.store.memorize('ready', true)
        });
      } else {
        this.data.error = 'Укажите логин и пароль';
        this.rerender();
      }

    } catch (err) {
      this.data.error = err.message;
      this.rerender();
    }


  }
}

window._fr_blocks['blocks-builder.blocks.Audio'] = class AudioBlock extends MediaBlockFileEntity {
  _mount(state) {
    super._mount(state);

    if (!(this.data.value || {}).filename) {

      if (this.data?.value?.upload_file) {
        const upload_file = this.data.value.upload_file;
        this.data.value.upload_file = void 0;
        this.data.value.need_crop = void 0;
  
        this.fileChanged(void 0, void 0,upload_file);
      }

      return this.initHendlers();
    }

    this.playing = false;
    this.audioWrapper = this.getElement("lessonBlockAudio");
    this.audio = this.audioWrapper.get(0);
    this.btn = this.getElement("lessonBlockAudioBtn");
    this.btn.on("click", () => this.togglePlay());

    this.getElement("lessonBlockAudioline").on("change", (event) => {
      const time = this.audio.duration * (+event.target.value / 100);
      this.audio.currentTime = time;
    });

    this.audio.onloadedmetadata = () => {
      this.getElement("lessonBlockAudioTime").text(
        this.mmss(this.audio.duration * 1000)
      );
    };

    this.audio.ontimeupdate = (event) => {
      const proc = (event.target.currentTime / event.target.duration) * 100;
      this.getElement("lessonBlockAudioline").val(proc);
    };

    this.audio.onpause = () => {
      this.page.store.emit("audio", {
        event: "pause",
        value: this.state.responseState.value,
      });

      this.getElement("lessonBlockAudioImgPlay").show();
      this.getElement("lessonBlockAudioImgPause").hide();
    };

    this.audio.onplay = () => {
      this.page.store.emit("audio", {
        event: "play",
        value: this.state.responseState.value,
      });

      this.getElement("lessonBlockAudioImgPlay").hide();
      this.getElement("lessonBlockAudioImgPause").show();
    };

    this.off0 = this.page.store.on("audio", ({ event, value }) => {
      if (
        event === "play" &&
        value._id !== this.state.responseState.value._id
      ) {
        this.pause();
      }
    });


    if (this.data._new) {
      this.openUploadDialog()
      this.data._new = void 0;
    }
  }

  async getDuration() {
    return new Promise((resolve) => {
      var audio = document.createElement("audio");
      audio.preload = "metadata";

      audio.onloadedmetadata = function () {
        window.URL.revokeObjectURL(audio.src);
        var duration = audio.duration;

        resolve(~~(duration * 1000));
      };

      audio.src = this.data.value.local_file;
    });
  }

  initHendlers() {
    if (!(this.data.value && this.data.value.tmpid)) return;

    this.off1 = this.page.store.on(
      `onUploadStart.${this.data.value.tmpid}`,
      (file) => {
        this.data.value = { ...this.data.value, ...file };
        this.update(true);
      }
    );

    this.off2 = this.page.store.on(
      `onUploadProgress.${this.data.value.tmpid}`,
      (p) => {
        this.data.value.progress = p;
        this.update(true);

        this.getElement("audioUploadContainerText").text(
          `${this.data.value.progress}%`
        );
      }
    );

    this.off3 = this.page.store.on(
      `onUploaded.${this.data.value.tmpid}`,
      (file) => {
        this.data.value = file;
        this.update();
        this.rerender();
      }
    );

    this.off4 = this.page.store.on(
      `onProcessingStart.${this.data.value.tmpid}`,
      () => {
        this.getElement("audioUploadContainerText").text("Обработка...");
      }
    );
  }

  async fileChanged(v, event, f) {
    const file = f ? f : event.target.files[0];


    if (!this.data.value) this.data.value = {};

    this.data.value.local_file = URL.createObjectURL(file);

    const duration = await this.getDuration();

    const [tmpid, promise] = this.page.utils.upload(file, {
      prefix: "ART",
      options: {
        duration
      },
    });

    this.data.value.tmpid = tmpid;

    this.update();
    this.rerender();
  }

  getCursorPosition() {
    return 0;
  }

  openUploadDialog() {
    this.getElement("fileInput").click();
  }

  countLines() {
    return [0, 0];
  }

  mmss(ms) {
    if (ms > 3600000) {
      return new Date(ms).toISOString().substr(11, 8);
    } else {
      return new Date(ms).toISOString().substr(14, 5);
    }
  }

  togglePlay() {
    if (this.playing) {
      this.pause();
    } else {
      this.play();
    }
  }

  play() {
    this.playing = true;
    this.audio.play();
  }

  pause() {
    this.playing = false;
    this.audio.pause();
  }

  _unmount() {
    super._unmount();
    this.off0 && this.off0();
    this.audio && (this.audio.onloadedmetadata = void 0);
    this.audio && (this.audio.onpause = void 0);
    this.audio && (this.audio.ontimeupdate = void 0);
    this.audio && (this.audio.onplay = void 0);

    this.off1 && this.off1();
    this.off2 && this.off2();
    this.off3 && this.off3();
    this.off4 && this.off4();
  }

  select() {
    this.getElement("cntr").addClass(this.getClass("selected"));
  }

  unselect() {
    this.getElement("cntr").removeClass(this.getClass("selected"));
  }

    remove(e){
    this.parent.removeAction(e, this.data.index, true)
  }
}


window._fr_blocks['blocks-builder.blocks.Code'] = class CodeBlock extends MediaBlockEntity {
  _mount(state) {
    super._mount(state);

    this.blockClass = "containerCodeMediaBlock";

    if (this.data._new) {
      this.focus(true);
      this.data._new = void 0;
    }
  }

  onInput(_, e) {
    this.data.value = e.target.innerText.trim();
    this.parent.onFocus({ index: this.data.index }, { target: this.root });
    const contentElement = this.getElement(this.blockClass).get(0);
    const pos = this.getCursorPosition();

    contentElement.innerHTML = this.page.utils.hljs.highlightAuto(this.data.value).value

    this.setCaretPosition(contentElement, pos)

    this.page.store.emit(`update${this.data.name}`, {
      value: this.data.value,
      index: this.data.index,
      path: this.data.path + ".value",
      name: this.data.name,
      type: this.data.type,
      options: this.data.options
    });
  }

  _unmount() {
    super._unmount();
  }
}


window._fr_blocks['blocks-builder.blocks.File'] = class FileBlock extends MediaBlockFileEntity {
  _mount() {
    super._mount();
    this.initHendlers();

    if (this.data?.value?.upload_file) {
      const upload_file = this.data.value.upload_file;
      this.data.value.upload_file = void 0;
      this.data.value.need_crop = void 0;

      this.fileChanged(void 0, void 0,upload_file);
    }

    if (this.data._new) {
      this.openUploadDialog()
      this.data._new = void 0;
    }
  }

  initHendlers() {
    if (!(this.data.value && this.data.value.tmpid)) return;

    this.off1 = this.page.store.on(
      `onUploadStart.${this.data.value.tmpid}`,
      (file) => {
        this.data.value = { ...this.data.value, ...file };
        this.update(true);
      }
    );

    this.off2 = this.page.store.on(
      `onUploadProgress.${this.data.value.tmpid}`,
      (p) => {
        this.data.value.progress = p;
        this.update(true);

        this.getElement("lessonBlockPDFName").text(`${this.data.value.progress}%`);
      }
    );

    this.off3 = this.page.store.on(
      `onUploaded.${this.data.value.tmpid}`,
      (file) => {
        this.data.value = file;
        this.update();
        this.rerender();
      }
    );

    this.off4 = this.page.store.on(
      `onProcessingStart.${this.data.value.tmpid}`,
      () => {
        this.getElement("lessonBlockPDFName").text("Обработка...");
      }
    );
  }

  async fileChanged(v, event, f) {
    const file = f ? f : event.target.files[0];

    if (!this.data.value) this.data.value = {};

    this.data.value.local_file = URL.createObjectURL(file);

    const [tmpid, promise] = this.page.utils.upload(file, {
      prefix: "ART",
      options: {},
    });

    this.data.value.tmpid = tmpid;

    this.update();
    this.rerender();
  }

  getCursorPosition() {
    return 0;
  }

  openUploadDialog() {
    this.getElement("fileInput").click();
  }

  countLines() {
    return [0, 0];
  }

  _unmount() {
    this.off1 && this.off1();
    this.off2 && this.off2();
    this.off3 && this.off3();
    this.off4 && this.off4();

    super._unmount();
  }

  select() {
    this.getElement('cntr').addClass(this.getClass("selected"));
  }

  unselect() {
    this.getElement('cntr').removeClass(this.getClass("selected"));
  }

  remove(e){
    this.parent.removeAction(e, this.data.index, true)
  }
}


window._fr_blocks['blocks-builder.blocks.Header1'] = class HeaderBlock extends MediaBlockEntity {
  _mount(state) {
    super._mount(state);

    this.blockClass = "mediablockH1";


    if (this.data._new) {
      this.focus(true);
      this.data._new = void 0;
    }
  }

  _unmount() {
    super._unmount();
  }
}


window._fr_blocks['blocks-builder.blocks.Header2'] = class Header2Block extends MediaBlockEntity {
  _mount(state) {
    super._mount(state);
    this.blockClass = "mediablockH2";

    if (this.data._new) {
      this.focus(true);
      this.data._new = void 0;
    }
  }

  _unmount() {
    super._unmount();
  }
}


window._fr_blocks['blocks-builder.blocks.Header3'] = class Header3Block extends MediaBlockEntity {
  _mount(state) {
    super._mount(state);
    this.blockClass = "mediablockH3";

    if (this.data._new) {
      this.focus(true);
      this.data._new = void 0;
    }
  }

  _unmount() {
    super._unmount();
  }
}


window._fr_blocks['blocks-builder.blocks.Highlight'] = class HighlightBlock extends MediaBlockEntity {
  _mount(state) {
    super._mount(state);
    this.blockClass = "lessonBlockHL";

    if (this.data._new) {
      this.focus(true);
      this.data._new = void 0;
    }
  }

  _unmount() {
    super._unmount();
  }

  select() {
    this.getElement('mediablockHL').addClass(this.getClass("selected"));
  }

  unselect() {
    this.getElement('mediablockHL').removeClass(this.getClass("selected"));
  }

  
}


window._fr_blocks['blocks-builder.blocks.HTML'] = class HTMLBlock extends MediaBlockEntity {
  _mount(state) {
    super._mount(state);

    this.blockClass = "containerTextMediaBlock";

    if (this.data._new) {
      this.focus(true);
      this.data._new = void 0;
    }
  }

  _unmount() {
    super._unmount();
  }
}


window._fr_blocks['blocks-builder.blocks.List'] = class ListBlock extends MediaBlockEntity {
  _mount(state) {
    super._mount(state);

    this.blockClass = "list";
    
    if (this.data._new) {
      this.focus(true);
      this.data._new = void 0;
    }

    if (this.data.options.level === undefined) this.data.options.level = 0;
  }

  onKeydown(event, mediaBlocks) {
    if (event.keyCode == 9) {
      // Tab

      event.preventDefault();

      if (event.shiftKey) {
        if (this.data.options.level != 0) {
          this.data.options.level -= 1;
        } else {
          return mediaBlocks.changeType(
            "text",
            mediaBlocks.data.focusedIndex,
            this.data.value.trim()
          );
        }
      } else if ( this.parent.data.blocks[mediaBlocks.data.focusedIndex - 1]){
        const prevBlockData = this.parent.data.blocks[mediaBlocks.data.focusedIndex - 1];
        const prevLevel = prevBlockData.options.level;

        if (prevBlockData.type !== 'list') return;
          
        if (prevLevel === undefined)
          return;

        if (+prevLevel - +this.data.options.level >= 0) {
          this.data.options.level += 1;
          this.data.value = this.data.value;
          this.rerender();
          this.update();
        } else {
          return;
        }
      }
      this.rerender();
      this.focus();
    } else if (event.keyCode == 8) {
      // backspace
      const pos = this.getCursorPosition();

      if (this.data.options.level != 0 && pos === 0) {
        this.data.options.level -= 1;
        event.preventDefault();

        this.rerender();
        this.focus();
        return;
      }

      if (event.target.innerText.trim() === "") {
        event.preventDefault();
        mediaBlocks.removeAction(void 0, mediaBlocks.data.focusedIndex);
        return;
      }

      if (this.getCursorPosition() === 0) {
        // Обьеденяем
        if (mediaBlocks.data.blocks[+mediaBlocks.data.focusedIndex - 1]) {
          event.preventDefault();
          mediaBlocks.data.blocks[+mediaBlocks.data.focusedIndex - 1].value +=
            this.data.value;

          mediaBlocks.removeAction(void 0, +mediaBlocks.data.focusedIndex);
        }
      }
    } else if (event.keyCode == 13 && !event.shiftKey) {
      event.preventDefault();

      if (this.data.value === "") {
        mediaBlocks.changeType(
          "text",
          mediaBlocks.data.focusedIndex,
          this.data.value.trim()
        );
      } else {
        const position = this.getCursorPosition();

        if (position === this.data.value.length) {
          mediaBlocks.insertBlock(
            this.data.type,
            "",
            mediaBlocks.data.focusedIndex,
            {options:{level: this.data.options.level}}
            );
        } else {
          // Разбиваем блок
          event.preventDefault();

          (mediaBlocks.data.blocks[mediaBlocks.data.focusedIndex].value =
            this.data.value.substr(0, position)),
            mediaBlocks.insertBlock(
              this.data.type,
              this.data.value.substr(position, this.data.value.length),
              mediaBlocks.data.focusedIndex,
              {options:{level: this.data.options.level}}
            );
        }
      }

      return;
    } else {
      super.onKeydown(event, mediaBlocks);
    }
  }

  _unmount() {
    super._unmount();
  }
}


window._fr_blocks['blocks-builder.blocks'] = class MediaBlock extends BlockClass {
  historyPosition = 0;

  _mimeTypes = {
    "image/jpeg": "photo",
    "image/png": "photo",
    "image/jpg": "photo",
    "video/mp4": "video",
    "video/mp4v": "video",
    "video/mpg4": "video",
    "video/webm": "video",
    "audio/mp4": "audio",
    "audio/mpeg": "audio",
    "audio/mpga": "audio",
    "audio/mp2": "audio",
    "audio/mp2a": "audio",
    "audio/mp3": "audio",
    "audio/m2a": "audio",
    "audio/m3a": "audio",
    "application/pdf": "builtInPDF",
  };

  setError() {
    this.getElement("container").addClass(this.getClass("error"));
  }

  unsetError() {
    this.getElement("container").removeClass(this.getClass("error"));
  }

  getBlcokType(mt) {
    return this._mimeTypes[mt] ? this._mimeTypes[mt] : "file";
  }

  constructor(...args) {
    super(...args);

    this.history = [JSON.stringify(this.data.blocks)];
  }

  _textBlocks = [
    "text",
    "header1",
    "header2",
    "header3",
    "highlight",
    "list",
    "code",
  ];

  isTextBlock(t) {
    return this._textBlocks.includes(t);
  }

  dragstart(v, e) {
    this.helper.css({ opacity: 0 });

    const blocks = [];

    if (this.data.selected.length > 0) {
      const sortedBlocks = this.data.selected.sort((a, b) => {
        return +a.index - +b.index;
      });

      sortedBlocks.forEach((b) => {
        blocks.push(
          this.children.find(
            (child) => child.data.index == b.firstElementChild.block.data.index
          )
        );
      });
    } else {
      blocks.push(
        this.children.find(
          (child) => child.data.index == this.data.selectedBlock
        )
      );
    }

    this.data.moveElement = $(document.createElement("div"));
    this.data.moveElement.css({
      position: "absolute",
      "z-index": 99,
      width: 720,
      opacity: 0.5,
      "pointer-events": "none",
      left: e.pageX,
      top: e.pageY,
    });

    this.page.root.appendChild(this.data.moveElement.get(0));

    blocks.forEach((block) => {
      block.unselect();
      const el = block.selector.parent().clone();
      this.data.moveElement.append(el.clone());
      // const rect = el.get(0).getBoundingClientRect()
    });

    return false;
  }

  dragend(v, e) {
    e.preventDefault();
    e.stopPropagation();

    this.helper.css({ opacity: 1 });

    this.data.moveElement && this.data.moveElement.remove();
    this.data.moveElement && (this.data.moveElement = void 0);
    this._oldDragOver &&
      $(this._oldDragOver).removeClass(this.getClass("insertAfter"));
  }

  dragover(v, e) {
    e.preventDefault();


    let block = e.target;
    if (!block) return;

    while (!block.block) {
      block = block.block || block.parentElement;
    }

    if (!block.block instanceof MediaBlockEntity) return;


    this.data.moveElement &&
      this.data.moveElement.css({ left: e.pageX, top: e.pageY });

    if (!e.originalEvent.composedPath().includes(this.refs.zone)) return

    this._oldDragOver &&
      $(this._oldDragOver).removeClass(this.getClass("insertAfter"));
    $(block).addClass(this.getClass("insertAfter"));
    this._oldDragOver = block;
  }

  async uploadDataTransferFiles(files, block, needRender = true) {
    const startIndex = +block.block.data.index;

    for (var i = 0; i < files.length; i++) {
      let file = files.item(i);
      let index = i;
      const type = this.getBlcokType(file.type);

      this.insertBlock(
        type,
        {
          upload_file: file,
          need_crop: files.length === 1,
        },
        startIndex + index,
        {},
        {
          needRender: false,
        }
      );
    }

    needRender && this.rerender();
  }

  drop(v, e) {
    let block = e.target;
    this.dragend(v, e);
    if (!block) return;

    while (!block.block) {
      block = block.block || block.parentElement;
    }

    let dt = e.originalEvent.dataTransfer;
    let files = dt.files;

    if (files.length > 0) {
      return this.uploadDataTransferFiles(files, block);
    }

    if (this.data.selected.length > 0) {
      let insertIndex = +block.block.data.index;
      let blocks = [];

      this.data.selected.forEach((item, index) => {
        blocks.push(item.firstElementChild.block.data);
      });

      blocks = blocks.sort((a, b) => {
        return +a.index - +b.index;
      });

      const startIndex = blocks[0].index;
      const count = this.data.selected.length;

      const newBlocks = this.data.blocks.slice();
      newBlocks.splice(startIndex, count);

      if (insertIndex <= startIndex) {
        newBlocks.splice(insertIndex + 1, 0, ...blocks);
      } else {
        newBlocks.splice(insertIndex + 1 - count, 0, ...blocks);
      }

      this.data.blocks = newBlocks;

      this.page.store.emit(`update${this.data.name}`, {
        value: this.data.blocks,
        path: this.data.path + ".blocks",
        name: this.data.name,
      });

      this.rerender();
    } else {
      this.moveBlock(
        this.data.selectedBlock,
        block.block.data.index !== undefined
          ? +block.block.data.index
          : this.data.blocks.length - 1
      );
    }

    this._oldDragOver &&
      $(this._oldDragOver).removeClass(this.getClass("insertAfter"));
    this._oldDragOver = void 0;
  }

  moveBlock(index, insertIndex) {
    const block = this.data.blocks[index];
    this.data.blocks.splice(index, 1);
    this.insertBlock(
      block.type,
      block.value,
      insertIndex === 0 ? insertIndex : insertIndex - 1
    );
  }

  onKeydown({ index }, event) {
    if (event.keyCode == 13 && !event.shiftKey) {
      const block = this.children.find(
        (child) => child.data.index == this.data.focusedIndex
      );

      // event.stopPropagation();
      // event.preventDefault();

      block && block.onKeydown && block.onKeydown(event, this);
    }

    if (
      event.keyCode == 8 ||
      event.keyCode == 9 ||
      event.keyCode == 46 ||
      event.keyCode == 40 ||
      event.keyCode == 38
    ) {
      const block = this.children.find(
        (child) => child.data.index == this.data.focusedIndex
      );

      // event.stopPropagation();
      // event.preventDefault();

      block && block.onKeydown && block.onKeydown(event, this);
    }
  }

  insertMarkdown() { }

  _mount(state) {
    super._mount(state);
    this.helper = this.getElement("helper");
    this.off1 = this.page.store.on(`update${this.data.name}`, (payload) =>
      this.updateBlockValue(payload)
    );

    if (!this.data.available_blocks) {
      this.data.available_blocks = [
        "header1",
        "header2",
        "header3",
        "text",
        "highlight",
        "list",
        "photo",
        "video",
        "builtInPDF",
        "audio",
        "file",
        "code",
      ];
    }

    this.selector.css({ display: "contents" });
    this.data.selected = [];
    !this.data.selectedBlock && (this.data.selectedBlock = 0);

    this.scrollContainer = this.data.scrollClass
      ? $(`.${this.data.scrollClass}`)
      : void 0;


  //  if (!this.containerRect) {
      const rect = this.refs.container.getBoundingClientRect();
      this.containerRect = {
        top: rect.top + this.getScrollY(),
        left: rect.left,
        right: rect.right,
        bottom: rect.bottom,
        width: rect.width,
        height: rect.height,
        x: rect.x,
        y: rect.y,
      };
   // }

    this.off2 = this.page.store.on("mediablocks-wrapper-resize", ([data]) => {
      this.page.nextTick(() => {
        const rect = this.refs.container.getBoundingClientRect();

        this.containerRect = {
          top: rect.top,
          left: rect.left,
          right: rect.right,
          bottom: rect.bottom,
          width: rect.width,
          height: rect.height,
          x: rect.x,
          y: rect.y,
        };

        this.containerRect.top += this.getScrollY();
      });
    });


    $(document).on("dragover", (e) => {
      this.dragover(void 0, e);
    });

    this.onpaste = (evt) => {
      const contenteditable = evt.target.getAttribute("contenteditable");

      if (contenteditable) {
        const dT = evt.clipboardData || window.clipboardData;

        //dT.setData('text/plain',  dT.getData("text/plain"))
        //  evt.preventDefault();

        if (dT.files) {
          let b = this.children.find(child => {
            return child.data.index == this.data.selectedBlock
          });
    
          b && b.root && this.uploadDataTransferFiles(dT.files, b.root ,false)
        }

        dT.clearData();

        this.page.nextTick(() => {
          this.rerender();
        });
        return false;
      }

      if (document.activeElement.tagName !== "BODY") return;

      evt.preventDefault();

      const dT = evt.clipboardData || window.clipboardData;
      const txt = dT.getData("text/plain");
      const arr = txt.split("\r").map((str) => str.trim());

      arr.forEach((str) => {
        str && this.insertBlock("text", this.page.utils.escape(str));
      });   

      if (dT.files) {
        let b = this.children.find(child => {
          return child.data.index == this.data.selectedBlock
        });
  
        b && b.root && this.uploadDataTransferFiles(dT.files, b.root ,false)
      }


      this.page.nextTick(() => {
        this.rerender();
      });
    };

    window.addEventListener("paste", this.onpaste);
    window.addEventListener("mouseup", this.mouseup);

    this.onBodyKeyDown = (e) => {
      const contenteditable = e.target.getAttribute("contenteditable");

      if (!contenteditable) {
        if (e.keyCode == 90 && e.ctrlKey) {
          this.goToPrevHistory();
        } else if (e.keyCode == 89 && e.ctrlKey) {
          this.goToNextHistory();
        } else if (e.keyCode == 46 && this.data.selected.length > 0) {
          this.removeActions();
        }
      }
    };

    window.addEventListener("keydown", this.onBodyKeyDown);

    this.initSelection();

    if (this.data.blocks.length === 0) {
      this.page.nextTick(() => {
        this.insertBlock("text", "", 0);
      });
    }
    // else {
    //   this.page.nextTick(() => {
    //     const i = this.data.blocks.length - 1;
    //     const last = this.data.blocks[i];

    //     if (this.isTextBlock(last.type)) {
    //       const block = this.children.find((child) => child.data.index == i);

    //       block && block.focus();
    //     }
    //   });
    // }
  }

  goToPrevHistory() {
    this.historyPosition -= 1;

    this.historyPosition < 0 && (this.historyPosition = 0);
    const b = this.history[this.historyPosition];

    if (!b) return;

    this.data.blocks = JSON.parse(b).map((b) => {
      b._new = void 0;
      return b;
    });

    this.rerender();
  }
  goToNextHistory() {
    this.historyPosition += 1;

    this.historyPosition > this.history.length - 1 &&
      (this.historyPosition = this.history.length - 1);
    const b = this.history[this.historyPosition];

    if (!b) return;

    this.data.blocks = JSON.parse(b).map((b) => {
      b._new = void 0;
      return b;
    });

    this.rerender();
  }

  helperHide() {
    this.helper.hide();
  }

  helperShow() {
    this.helper.show();
  }

  updateBlockValue(payload) {
    if (payload.name === this.data.name && payload.type !== undefined) {
      this.data.blocks[payload.index].value = payload.value;
      this.data.blocks[payload.index].options = payload.options;
    }

    this.updateHistory(payload);
  }

  updateHistory = (payload) => {
    if (payload._) return;

    this.history.push(JSON.stringify(this.data.blocks));

    if (this.history.length > 100) {
      this.history.splice(0, 1);
    }

    this.historyPosition = this.history.length - 1;
  };

  addBlock(_, e) {
    const rect = e.target.getBoundingClientRect();

    this.getBlockByName("builder.contextMenu.addBlock").show(rect, {
      name: "addBlock",
      blocks: this.data.available_blocks,
      callback: ({ value, def }, e) => {
        this.insertBlock(value, def);
      },
    });
  }

  openMenu(_, e) {
    if (!this.data.blocks[0]) {
      return this.addBlock(_, e);
    }

    const oneSelected = this.data.selected.length === 0;
    let type = this.data.blocks[this.data.selectedBlock].type;
    let value = this.data.blocks[this.data.selectedBlock].value || {};
    let oneType = true;
    let allTextType = this.isTextBlock(type);

    if (!oneSelected) {
      oneType = this.data.selected.every((item) => {
        return (
          this.data.blocks[item.firstElementChild.block.data.index].type ===
          type
        );
      });

      allTextType = this.data.selected.every((item) => {
        return this.isTextBlock(
          this.data.blocks[item.firstElementChild.block.data.index].type
        );
      });
    }

    const rect = e.target.getBoundingClientRect();

    const block = this.children.find(
      (child) => child.data.index == this.data.selectedBlock
    );

    if (this.data.selected.length == 0) block.select();

    this.getBlockByName("builder.contextMenu.options").show(rect, {
      name: "editBlock",
      blocks: this.data.available_blocks,
      actions: [
        "removeAction",
        "copyAction",
        (allTextType || type === "html") && "changeTypeAction",
        allTextType && oneType && type !== "code" && "changeBlockColor",
        oneType && type === "photo" && "recrop",
      ],
      type,
      value,
      allTextType,
      oneSelected,
      oneType,
      callback: ({ value, ...args }, event) => {
        if (this.data.selected.length == 0) block.unselect();

        if (value !== undefined) {
          const fnName = this.data.selected.length ? `${value}s` : `${value}`;
          this[fnName] && this[fnName](event, e, args);
        }
      },
    });
  }

  changeTypeAction(e1, e2, { type }) {
    this.changeType(type);
  }

  changeTypeActions(e1, e2, { type }) {
    this.changeTypes(type, [...this.data.selected]);
  }

  changeBlockColors(e1, e2, { color }) {
    this.data.selected.forEach((item) => {
      const block = item.firstElementChild.block;

      const [range, sel] = block.selectTextInTo();

      if (color === void 0) {
        document.execCommand("removeFormat", false, "foreColor");
      } else {
        try {
          const theme = this.page.state.context.theme || "light";
          const _color = this._colors[theme][color];
          document.execCommand("foreColor", true, _color);
        } finally {
        }
      }

      sel.empty && sel.empty();
      sel.removeAllRanges && sel.removeAllRanges();
    });
  }

  changeBlockColor(e1, e2, { color }) {
    const block = this.children.find(
      (child) => child.data.index == this.data.selectedBlock
    );

    const [range, sel] = block.selectTextInTo();

    if (color === void 0) {
      document.execCommand("removeFormat", false, "foreColor");
    } else {
      try {
        const theme = this.page.state.context.theme || "light";
        const _color = this._colors[theme][color];
        document.execCommand("foreColor", true, _color);
      } finally {
      }
    }

    sel.empty && sel.empty();
    sel.removeAllRanges && sel.removeAllRanges();
  }

  async recrop() {
    const block = this.children.find(
      (child) => child.data.index == this.data.selectedBlock
    );

    if (block) {
      block.recrop();
    }
  }

  async askAI(mode) {
    let index = this.data.selectedBlock;

    let text = this.data.blocks[this.data.selectedBlock].value;

    if (mode === "l1") {
      text = `Сократи следующий текст: ${text}`;
    } else if (mode === "l2") {
      text = `Допиши следующий текст: ${text}`;
    }

    const res = await this.page.server("/ai", {
      q: text,
    });

    const arr = res.result.split("\n").map((str) => {
      return { type: "text", value: str.trim() };
    });

    this.data.blocks.splice(index, 1, ...arr);

    this.page.store.emit(`update${this.data.name}`, {
      value: this.data.blocks,
      path: this.data.path + ".blocks",
      name: this.data.name,
    });

    this.rerender();
  }

  askAIAction(ev, e) {
    const rect = e.target.getBoundingClientRect();

    this.page.nextTick(() => {
      this.getBlockByName("contextMenu").show(rect, {
        name: "addBlock",
        data: [
          { title: "Сократи текст", value: "l1" },
          { title: "Допиши текст", value: "l2" },
          { title: "Спросить", value: "l3" },
        ],
        callback: ({ value }) => {
          this.askAI(value);
        },
      });
    });
  }

  changeTypes(type, selected) {
    selected.forEach((item) => {
      this.data.blocks[item.firstElementChild.block.data.index].type = type;
    });

    this.page.store.emit(`update${this.data.name}`, {
      value: this.data.blocks,
      path: this.data.path + ".blocks",
      name: this.data.name,
    });

    this.rerender();
  }

  copyActions() {
    let lastIndex =
      this.data.selected[this.data.selected.length - 1].firstElementChild.block
        .data.index;

    this.data.selected.forEach((item) => {
      const block = item.firstElementChild.block;
      const newBlock = {
        type: block.data.type,
        value: block.data.value,
      };

      this.data.blocks.splice(++lastIndex, 0, newBlock);
    });

    this.page.store.emit(`update${this.data.name}`, {
      value: this.data.blocks,
      path: this.data.path + ".blocks",
      name: this.data.name,
    });

    this.data.selected = [];

    this.rerender();
  }

  removeActions() {
    this.data.blocks = this.data.blocks.filter((block, index) => {
      return !this.data.selected.some(
        (item) => item.firstElementChild.block.data.index == index
      );
    });

    this.page.store.emit(`update${this.data.name}`, {
      value: this.data.blocks,
      path: this.data.path + ".blocks",
      name: this.data.name,
    });

    this.data.selected = [];
    this.rerender();
  }

  copyToLesson(event) {
    const rect = event.target.getBoundingClientRect();

    this.page.nextTick(() => {
      this.getBlockByName("contextMenu").show(rect, {
        name: "addBlock",
        data: [
          {
            title: "Вступительный урок",
            value: 0,
            type: "introductory_lesson",
          },
          ...this.parent.data.course.lessons.map((lesson, index) => ({
            title: `Урок ${index + 1}`,
            value: index,
            type: "lessons",
          })),
          { title: "Завершающий урок", value: 0, type: "final_lesson" },
        ],
        callback: ({ value, def }) => { },
      });
    });
  }

  removeAction(e, index = this.data.selectedBlock, rerender = true) {
    if (index instanceof Object) {
      index = this.data.selectedBlock;
    }

    this.data.blocks.splice(+index, 1);

    if (this.data.blocks[index - 1]) {
      this.data.blocks[index - 1]._new = true;
    }

    rerender && this.rerender();

    if (this.data.blocks[index - 1]) {
      this.data.blocks[index - 1]._new = void 0;
    }

    this.page.store.emit(`update${this.data.name}`, {
      value: this.data.blocks,
      path: this.data.path + ".blocks",
      name: this.data.name,
    });
  }

  copyAction() {
    const block = this.data.blocks[this.data.selectedBlock];

    this.insertBlock(block.type, block.value);
  }

  changeType(type, index = this.data.selectedBlock, value) {
    this.data.blocks[index].type = type;
    this.data.blocks[index]._new = true;
    value && (this.data.blocks[index].value = value);

    this.rerender();

    this.data.blocks[index]._new = void 0;

    this.page.store.emit(`update${this.data.name}`, {
      value: this.data.blocks,
      path: this.data.path + ".blocks",
      name: this.data.name,
    });
  }

  insertBlock(
    type,
    value,
    index = this.data.selectedBlock,
    data = {},
    { needRender } = { needRender: true }
  ) {
    const newBlock = {
      type: type,
      value,
      options: {},
      _new: true,
      ...data,
    };

    this.data.blocks.splice(+index + 1, 0, newBlock);

    needRender && this.rerender();

    newBlock._new = void 0;

    this.page.store.emit(`update${this.data.name}`, {
      value: this.data.blocks,
      path: this.data.path + ".blocks",
      name: this.data.name,
    });
  }

  onFocus({ index }) {
    if (this.data.focusedIndex !== undefined) {
      const block = this.children.find(
        (child) => child.data.index == this.data.focusedIndex
      );
      block && block.unFocus();
    }

    this.data.focusedIndex = index;
  }

  focusBlock(index, pindex, toEnd = false) {
    const block = this.children.find((child) => child.data.index == index);

    if (block) {
      block.fakeFocus(toEnd, pindex);

      this.data.selectedBlock = index;

      var rect = block.root.getBoundingClientRect();
      this.helper.css({
        top: rect.top + this.getScrollY() - this.containerRect.top + 12,
      });
    }
  }

  getScrollY() {
    if (this.scrollContainer) {
      return this.scrollContainer.get(0).scrollTop;
    }

    return window.scrollY;
    //orgAddBlock
  }

  pointerover({ index }, e) {
    this.data.selectedBlock = index;

    let block = e.target;
    if (!block) return;
    while (!block.block) {
      block = block.block || block.parentElement;
    }

    if (!block || block.block === this) return;
    // || block.block !== this
    // this.helperShow();

    var rect = block.getBoundingClientRect();

    this.helper.css({
      top: rect.top + this.getScrollY() - this.containerRect.top + 12,
    });
  }

  onAreaDBClick() {
   // return;
   const prevBlock = this.data.blocks[this.data.blocks.length - 1];


       //       const block = this.children.find((child) => child.data.index == i);

    //       block && block.focus();



   if (prevBlock.value === '' && this.isTextBlock(prevBlock.type)){
    const block = this.children.find((child) => child.data.index == this.data.blocks.length - 1);
    block && block.focus();
   } else {
    this.insertBlock("text", "", this.data.blocks.length - 1);
   }
  }

  pointerout(p) {
    //this.helperHide()
  }

  _unmount() {
    super._unmount();
    this.off1();
    this.off2();
    $(document).off("dragover");
    this.destroySelection();
    window.removeEventListener("paste", this.onpaste);
    window.removeEventListener("keydown", this.onBodyKeyDown);
    window.removeEventListener("mouseup", this.mouseup);
  }

  initSelection() {
    this.msdown = false;
    this.msx = 0;
    this.msy = 0;

    let elements;
    let selectedItems = [];

    const sframe = this.getElement("selectFrame");

    const ifEditableElementFocused = () => {
      const contenteditable =
        document.activeElement.getAttribute("contenteditable");

      return contenteditable == "true";
    };

    var intersect = function (a, b) {
      return (
        (((a.x >= b.x && a.x <= b.x1) || (a.x1 >= b.x && a.x1 <= b.x1)) &&
          ((a.y >= b.y && a.y <= b.y1) || (a.y1 >= b.y && a.y1 <= b.y1))) ||
        (((b.x >= a.x && b.x <= a.x1) || (b.x1 >= a.x && b.x1 <= a.x1)) &&
          ((b.y >= a.y && b.y <= a.y1) || (b.y1 >= a.y && b.y1 <= a.y1))) ||
        (((a.x >= b.x && a.x <= b.x1) || (a.x1 >= b.x && a.x1 <= b.x1)) &&
          ((b.y >= a.y && b.y <= a.y1) || (b.y1 >= a.y && b.y1 <= a.y1))) ||
        (((b.x >= a.x && b.x <= a.x1) || (b.x1 >= a.x && b.x1 <= a.x1)) &&
          ((a.y >= b.y && a.y <= b.y1) || (a.y1 >= b.y && a.y1 <= b.y1)))
      );
    };

    const doSelection = (x, y, x1, y1, e) => {
      if (x == x1) {
        return;
      }
      if (y == y1) {
        return;
      }
      if (x > x1) {
        x = x + x1;
        x1 = x - x1;
        x = x - x1;
      }
      if (y > y1) {
        y = y + y1;
        y1 = y - y1;
        y = y - y1;
      }

      elements &&
        elements.each((idx, item) => {
          const rect = item.getBoundingClientRect();
          if (
            intersect(
              { x, y, x1, y1 },
              {
                x: rect.x,
                y: rect.y + document.documentElement.scrollTop,
                x1: rect.x + rect.width,
                y1: rect.y + rect.height + document.documentElement.scrollTop,
              }
            )
          ) {
            if (!selectedItems.includes(item)) {
              selectedItems.push(item);
              item.firstElementChild.block.select();
            }
          } else if (!e.shiftKey) {
            let index = selectedItems.indexOf(item);
            if (index !== -1) {
              selectedItems.splice(index, 1);
              item.firstElementChild.block.unselect();
            }
          }
        });
    };

    function coords(e) {
      var posx = 0;
      var posy = 0;

      if (e.pageX || e.pageY) {
        posx = e.pageX;
        posy = e.pageY;
      } else if (e.clientX || e.clientY) {
        posx =
          e.clientX +
          document.body.scrollLeft +
          document.documentElement.scrollLeft;
        posy =
          e.clientY +
          document.body.scrollTop +
          document.documentElement.scrollTop;
      }

      return new Array(posx, posy);
    }

    document.onmousedown = (e) => {
      this._lastPressEvent = e;
      const draggable = e.target.getAttribute("draggable");
      var mousexy = coords(e);
      this.msx = mousexy[0];
      this.msy = mousexy[1];

      if (draggable == "true") {
        // e.preventDefault();
        return;
      }
      const contenteditable = e.target.getAttribute("contenteditable");

      if (contenteditable == "true") {
        return;
      }

      this.page.root.style.userSelect = "none";
      this.page.pointerEvents = "none";

      this.msdown = true;
      this.data.selected = [];
      elements = this.getElement("element");

      //return false;
    };

    document.onmousemove = (e) => {
      if (this.data.moveElement) {
        var mousexy = coords(e);

        this.data.moveElement.css({
          top: mousexy[0],
          left: mousexy[1],
        });
      }

      if (!this.msdown) return;

      if (ifEditableElementFocused()) {
        return;
      }

      var x1 = 0;
      var x2 = 0;
      var y1 = 0;
      var y2 = 0;
      var mousexy = coords(e);
      x1 = this.msx;
      y1 = this.msy;
      x2 = mousexy[0];
      y2 = mousexy[1];
      if (x1 == x2) {
        return;
      }
      if (y1 == y2) {
        return;
      }
      if (x1 > x2) {
        x1 = x1 + x2;
        x2 = x1 - x2;
        x1 = x1 - x2;
      }
      if (y1 > y2) {
        y1 = y1 + y2;
        y2 = y1 - y2;
        y1 = y1 - y2;
      }

      sframe.css({
        top: y1,
        left: x1,
        width: x2 - x1,
        height: y2 - y1,
        visibility: this.msdown ? "visible" : "hidden",
      });

      doSelection(this.msx, this.msy, mousexy[0], mousexy[1], e);
    };

    document.onmouseup = (e) => {
      if (!this.msdown) return;

      this.msdown = false;

      sframe.css({ visibility: this.msdown ? "visible" : "hidden" });

      this.page.root.style.userSelect = "auto";
      this.page.pointerEvents = "auto";

      if (selectedItems.length > 0) {
        this.page.nextTick(() => {
          $("body").one("mouseup", unselectAll);
        });
      }

      this.data.selected = selectedItems;

      elements = void 0;
      // this.msx = 0;
      // this.msy = 0;
    };

    const unselectAll = (e) => {
      if (e.shiftKey) return;
      const draggable = e.target.getAttribute("draggable");

      if (draggable == "true") {
        e.preventDefault();
        return false;
      }

      const un = [...selectedItems];
      this.data.selected = [];
      selectedItems.splice(0, selectedItems.length);

      un.forEach((elm) => {
        elm.firstElementChild && elm.firstElementChild.block.unselect();
      });
    };
  }

  destroySelection() {
    this.msdown = false;
    this.msx = 0;
    this.msy = 0;

    document.onmouseup = null;
    document.onmousemove = null;
    document.onmousedown = null;
  }

  mouseup = (upEvent) => {
    const event = this._lastPressEvent;

    this._lastPressEvent = void 0;

    if (!event) return;

    const findBlock = (element, max, step = 0) => {
      if (step >= max || element === null || element === void 0)
        return undefined;

      if (element.block) return element.block;
      else {
        return findBlock(element.parentElement, max, step + 1);
      }
    };

    const selecedText = window.getSelection();

    if (selecedText.type !== "Range") return;

    const block = findBlock(event.target, 10);

    if (!block) return;

    if (
      !["text", "header1", "header2", "header3", "highlight", "list"].includes(
        block.data.type
      )
    )
      return;

    this.getBlockByName("builder.contextMenu.textAction").show(
      event,
      selecedText,
      this,
      block,
      this.data.available_blocks
    );
  };
}


window._fr_blocks['blocks-builder.blocks.PDF'] = class PDFBlock extends MediaBlockFileEntity {
  _mount() {
    super._mount();
    this.initHendlers();

    if (this.data?.value?.upload_file) {
      const upload_file = this.data.value.upload_file;
      this.data.value.upload_file = void 0;
      this.data.value.need_crop = void 0;

      this.fileChanged(void 0, void 0,upload_file);
    }

    if (this.data._new) {
      this.openUploadDialog()
      this.data._new = void 0;
    }
  }

  initHendlers() {
    if (!(this.data.value && this.data.value.tmpid)) return;

    this.off1 = this.page.store.on(
      `onUploadStart.${this.data.value.tmpid}`,
      (file) => {
        this.data.value = { ...this.data.value, ...file };
        this.update(true);
      }
    );

    this.off2 = this.page.store.on(
      `onUploadProgress.${this.data.value.tmpid}`,
      (p) => {
        this.data.value.progress = p;
        this.update(true);

        this.getElement("lessonBlockPDFName").text(
          `${this.data.value.progress}%`
        );
      }
    );

    this.off3 = this.page.store.on(
      `onUploaded.${this.data.value.tmpid}`,
      (file) => {
        this.data.value = file;
        this.update();
        this.rerender();
      }
    );

    this.off4 = this.page.store.on(
      `onProcessingStart.${this.data.value.tmpid}`,
      () => {
        this.getElement("lessonBlockPDFName").text("Обработка...");
      }
    );
  }

  async fileChanged(v, event, f) {
    const file = f ? f : event.target.files[0];

    if (!this.data.value) this.data.value = {};

    this.data.value.local_file = URL.createObjectURL(file);

    const [tmpid, promise] = this.page.utils.upload(file, {
      prefix: "ART",
      options: {},
    });

    this.data.value.tmpid = tmpid;

    this.update(true);
    this.rerender();
  }

  getCursorPosition() {
    return 0;
  }

  openUploadDialog() {
    this.getElement("fileInput").click();
  }

  countLines() {
    return [0, 0];
  }

  _unmount() {
    this.off1 && this.off1();
    this.off2 && this.off2();
    this.off3 && this.off3();
    this.off4 && this.off4();

    super._unmount();
  }

  select() {
    this.getElement("cntr").addClass(this.getClass("selected"));
  }

  unselect() {
    this.getElement("cntr").removeClass(this.getClass("selected"));
  }

  remove(e){
    this.parent.removeAction(e, this.data.index, true)
  }
}


window._fr_blocks['blocks-builder.blocks.Photo'] = class PhotoBlock extends MediaBlockFileEntity {
  _mount() {
    super._mount();
    this.initHendlers();

    if (this.data?.value?.upload_file) {
      if (this.data?.value?.need_crop) {
        this.fileChanged(void 0, void 0, this.data?.value?.upload_file);
      } else {
        var fr = new FileReader();

        fr.onload = () => {
          this.data.value.local_file = fr.result;

          var blobBin = atob(this.data.value.local_file.split(",")[1]);
          var array = [];

          for (var i = 0; i < blobBin.length; i++) {
            array.push(blobBin.charCodeAt(i));
          }

          var f = new Blob([new Uint8Array(array)], { type: "image/jpeg" });

          this.upload(f);
          //  this.parent.rerender();
        };

        fr.readAsDataURL(this.data?.value.upload_file);
      }

      this.data.value.upload_file = void 0;
      this.data.value.need_crop = void 0;
    }
  }

  init(){
    super.init();

    if (this.data._new) {
      this.data._new = void 0;

      this.openUploadDialog();
    }
  }

  initHendlers() {
    if (!(this.data.value && this.data.value.tmpid)) return;

    this.off1 = this.page.store.on(
      `onUploadStart.${this.data.value.tmpid}`,
      (file) => {
        this.data.value = { ...this.data.value, ...file };
        this.update(true);
      }
    );

    this.off2 = this.page.store.on(
      `onUploadProgress.${this.data.value.tmpid}`,
      (p) => {
        this.data.value.progress = p;
        this.update(true);

        this.getElement("loadingProgress").text(`${this.data.value.progress}%`);
      }
    );

    this.off3 = this.page.store.on(
      `onUploaded.${this.data.value.tmpid}`,
      (file) => {
        this.data.value = file;
        this.update();
        this.rerender();
      }
    );

    this.off4 = this.page.store.on(
      `onProcessingStart.${this.data.value.tmpid}`,
      () => {
        this.getElement("loadingProgress").text("Обработка...");
      }
    );
  }

  async recrop() {
    const url = this.page.utils.makeImageUrl(this.data.value, 0, "filename");
    let response = await fetch(url);
    let data = await response.blob();
    let metadata = {
      type: "image/jpeg",
    };
    let file = new File([data], "test.jpg", metadata);

    this.page.store.emit("OpenImageCropper", {
      file,
      callback: (img) => this.onFileCropped(img),
    });
  }

  async fileChanged(v, event, f) {
    const file = f ? f : event.target.files[0];

    if (this.page.state.context.isMobile) {
      if (!this.data.value) this.data.value = {};
      this.data.value.local_file = URL.createObjectURL(file);
      this.upload(file);
    } else {
      this.page.store.emit("OpenImageCropper", {
        file,
        callback: (img) => this.onFileCropped(img),
      });
    }
  }

  onFileCropped(img) {
    if (!this.data.value) this.data.value = {};

    const width = img.width;
     const height = img.height;

    this.data.value.local_file = img.toDataURL();

    var blobBin = atob(this.data.value.local_file.split(",")[1]);
    const size = blobBin.length;

    var array = [];

    for (var i = 0; i < blobBin.length; i++) {
      array.push(blobBin.charCodeAt(i));
    }

    var f = new Blob([new Uint8Array(array)], { type: "image/jpeg" });

    this.upload(f, {size, height, width});
  }

  upload(f, options = {}) {
    const [tmpid, promise] = this.page.utils.upload(f, {
      prefix: "ART",
      options,
    });

    this.data.value.tmpid = tmpid;

    this.update(true);
    this.rerender();
  }

  getCursorPosition() {
    return 0;
  }

  openUploadDialog() {
    this.getElement("fileInput").click();
  }

  countLines() {
    return [0, 0];
  }

  _unmount() {
    this.off1 && this.off1();
    this.off2 && this.off2();
    this.off3 && this.off3();
    this.off4 && this.off4();

    super._unmount();
  }

  select() {
    this.getElement("cntr").addClass(this.getClass("selected"));
  }

  unselect() {
    this.getElement("cntr").removeClass(this.getClass("selected"));
  }

  remove(e){
    this.parent.removeAction(e, this.data.index, true)
  }
}


window._fr_blocks['blocks-builder.blocks.Text'] = class TextBlock extends MediaBlockEntity {
  _mount(state) {
    super._mount(state);

    this.blockClass = "containerTextMediaBlock";

    if (this.data._new) {
      this.focus(true);
      this.data._new = void 0;
    }
  }

  _unmount() {
    super._unmount();
  }
}


window._fr_blocks['blocks-builder.blocks.Video'] = class VideoBlock extends MediaBlockFileEntity {
  _mount() {
    super._mount();
    this.initHendlers();

    if (this.data?.value?.upload_file) {
      const upload_file = this.data.value.upload_file;
      this.data.value.upload_file = void 0;
      this.data.value.need_crop = void 0;

      this.fileChanged(void 0, void 0, upload_file);
    }


    if (this.data._new) {
      this.openUploadDialog()
      this.data._new = void 0;
    }

    if  (this.data.next_play){
      this.refs.player.play()
    }

    this.data.next_play  = void 0;
  }

  play() {
   // this.data.value.video_preview = void 0;
    this.data.play = true;
    this.data.next_play = true;

    this.rerender();
  }

  async getDuration() {
    return new Promise((resolve) => {
      var video = document.createElement("video");
      video.preload = "metadata";

      video.onloadedmetadata = function () {
        window.URL.revokeObjectURL(video.src);
        var duration = video.duration;

        resolve(duration * 1000);
      };

      video.src = this.data.value.local_file;
    });
  }

  initHendlers() {
    if (!(this.data.value && this.data.value.tmpid)) return;

    this.off1 = this.page.store.on(
      `onUploadStart.${this.data.value.tmpid}`,
      (file) => {
        this.data.value = { ...this.data.value, ...file };
        this.update(true);
      }
    );

    this.off2 = this.page.store.on(
      `onUploadProgress.${this.data.value.tmpid}`,
      (p) => {
        this.data.value.progress = p;
        this.update(true);

        this.getElement("videoUploadContainerText").text(
          `${this.data.value.progress}%`
        );
      }
    );

    this.off3 = this.page.store.on(
      `onUploaded.${this.data.value.tmpid}`,
      (file) => {
        this.data.value = file;
        this.update();
        this.rerender();
      }
    );

    this.off4 = this.page.store.on(
      `onProcessingStart.${this.data.value.tmpid}`,
      () => {
        this.getElement("videoUploadContainerText").text("Обработка...");
      }
    );
  }

  async fileChanged(v, event, f) {
    const file = f ? f : event.target.files[0];

    if (!this.data.value) this.data.value = {};

    this.data.value.local_file = URL.createObjectURL(file);

    const duration = await this.getDuration();

    const [tmpid, promise] = this.page.utils.upload(file, {
      prefix: "ART",
      options: {
        duration,
      },
    });

    this.data.value.tmpid = tmpid;

    this.update();
    this.rerender();
  }

  getCursorPosition() {
    return 0;
  }

  openUploadDialog() {
    this.getElement("fileInput").click();
  }

  countLines() {
    return [0, 0];
  }

  _unmount() {
    this.off1 && this.off1();
    this.off2 && this.off2();
    this.off3 && this.off3();
    this.off4 && this.off4();

    super._unmount();
  }

    remove(e){
    this.parent.removeAction(e, this.data.index, true)
  }
}


window._fr_blocks['blocks-builder.contextMenu.addBlock'] = class AddBlockContextMenuBlock extends BlockClass {
  _mount() {
    super._mount();
  }

  select(item, e) {
    this.data.callback(item, e);
    this._hide(item, e);
  }

  show(rect, data) {
    data.blocks = data.blocks.filter((t) => !!t);
    this.data = data;
    this.rerender();

   // const top = rect.top + window.scrollY;
    const menuRect = this.getElement("popupAddWrapper")
      .get(0)
      .getBoundingClientRect();
      const layoutRect = this.getElement("layout").get(0).getBoundingClientRect();


      
    let top = rect.top + window.scrollY - menuRect.height / 2;

    if (top < 72) {
      top = 72 + 12;
    }

    if (layoutRect.height - top < menuRect.height) {
      top = layoutRect.height - menuRect.height - 12;
    }


    this.getElement("popupAddWrapper").css({
      top: top,
      left: rect.left + window.scrollX,
      "margin-left":
        rect.left / 2 > menuRect.width ? -menuRect.width : rect.width,
    });

    // const layoutRect = this.getElement("layout").get(0).getBoundingClientRect();

    // const maxH = 44 * 11 + 60;
    // const h = layoutRect.height - top - 40 - 60;

    // this.getElement("popupAdd").css({
    //   "max-height": `${h}px`,
    //   "overflow-y": maxH > h ? "scroll" : "auto",
    // });
  }

  _hide(_, e) {
    e.preventDefault();
    e.stopPropagation();
    this.selector.html("");
  }

  _unmount() {
    super._unmount();
  }
}


window._fr_blocks['blocks-builder.contextMenu.changeType'] = class ColorContextMenuBlock extends BlockClass {
  _mount() {
    super._mount();
  }

  select(c) {
    this.data.callback(c);
  }

  blure(_ ,event){
 
   
   this.hide(_ ,event);
  }

  show(rect, layoutRect, callback, ddata = {}) {
    this.data = { ...this.data, ...ddata, callback };
    this.rerender();

    const menuRect = this.getElement("popupChTypeWrapper")
      .get(0)
      .getBoundingClientRect();

    if (this.data.mode === "vertical") {
      let top = rect.top + window.scrollY + rect.height;

      this.getElement("popupChTypeWrapper").css({
        top: top,
        left: rect.left + window.scrollX,
      });
    } else {
      let top = rect.top + window.scrollY - menuRect.height / 2;

      if (top < 72) {
        top = 72 + 12;
      }

      if (layoutRect.height - top < menuRect.height) {
        top = layoutRect.height - menuRect.height - 12;
      }

      this.getElement("popupChTypeWrapper").css({
        top: top,
        left: rect.left + window.scrollX,
        "margin-left":
          rect.left / 2 > menuRect.width ? -menuRect.width : rect.width,
      });
    }
  }
  hide(_, e) {
    e.preventDefault();
    e.stopPropagation();
    this.selector.html("");
  }

  _unmount() {
    super._unmount();
  }
}


window._fr_blocks['blocks-builder.contextMenu.color'] = class ColorContextMenuBlock extends BlockClass {
  _mount() {
    super._mount();
  }

  setColor(c, e) {
    this.data.callback(c);
  }

  blure(_ ,event){
 
   
    this.hide(_ ,event);
   }

  show(rect, layoutRect, callback, ddata = {}) {
    this.data = {...this.data, ...ddata, callback};
 
    this.rerender();

    const menuRect = this.getElement("popupColorWrapper")
      .get(0)
      .getBoundingClientRect();

    if (this.data.mode === "vertical") {
      let top = rect.top + window.scrollY + rect.height;
      
      this.getElement("popupColorWrapper").css({
        top: top,
        left: rect.left + window.scrollX,
      });
    } else {
      let top = rect.top + window.scrollY - menuRect.height / 2;
      if (top < 72) {
        top = 72 + 12;
      }

      if (layoutRect.height - top < menuRect.height) {
        top = layoutRect.height - menuRect.height - 12;
      }

      this.getElement("popupColorWrapper").css({
        top: top,
        left: rect.left + window.scrollX,
        "margin-left":
          rect.left / 2 > menuRect.width ? -menuRect.width : rect.width,
      });
    }
  }
  hide(_, e) {
    e.preventDefault();
    e.stopPropagation();
    this.selector.html("");
  }

  _unmount() {
    super._unmount();
  }
}


window._fr_blocks['blocks-builder.contextMenu.options'] = class OptionsContextMenuBlock extends BlockClass {
  _mount() {
    super._mount();
    this.lastSubMenu = void 0;
  }

  select(item, e) {
    //  this.data.callback(item, e);
    this._hide({ value: item }, e);
  }

  show(rect, data) {
    data.actions = data.actions.filter((t) => !!t);
    this.data = data;
    this.rerender();

    const menuRect = this.getElement("popupOrgWrapper")
      .get(0)
      .getBoundingClientRect();
    const layoutRect = this.getElement("layout").get(0).getBoundingClientRect();
    this.layoutRect = layoutRect;

    let top = rect.top + window.scrollY - menuRect.height / 2;

    if (top < 72) {
      top = 72 + 12;
    }

    if (layoutRect.height - top < menuRect.height) {
      top = layoutRect.height - menuRect.height - 12;
    }

    this.getElement("popupOrgWrapper").css({
      top: top,
      left: rect.left + window.scrollX,
      "margin-left":
        rect.left / 2 > menuRect.width ? -menuRect.width : rect.width,
    });
  }

  showSubMenu(v, e) {
    const rect = e.target.getBoundingClientRect();

    switch (v) {
      case "color":
        if (this.lastSubMenu) {
          this.lastSubMenu && this.lastSubMenu.hide(void 0, e);
          this.lastSubMenu = void 0;
        }

        this.lastSubMenu = this.getBlockByName("builder.contextMenu.color");
        this.lastSubMenu.show(rect, this.layoutRect, (color) => {
          this._hide({ value: "changeBlockColor", color }, e);
        },{
          color: null
        });

        break;

      case "changeBlock":
        if (this.lastSubMenu) {
          this.lastSubMenu && this.lastSubMenu.hide(void 0, e);
          this.lastSubMenu = void 0;
        }

        this.lastSubMenu = this.getBlockByName(
          "builder.contextMenu.changeType"
        );
        this.lastSubMenu.show(rect, this.layoutRect, (block) => {
          this._hide({ value: "changeTypeAction", type: block.value }, e);
        }, {
          selected: this.data.type
        });

        break;

      default:
        this.lastSubMenu && this.lastSubMenu.hide(void 0, e);
        this.lastSubMenu = void 0;
        break;
    }
  }

  _hide(_, e) {
    this.data.callback(_, e);

    e.preventDefault();
    e.stopPropagation();
    this.selector.html("");
  }

  _unmount() {
    super._unmount();
  }
}


window._fr_blocks['blocks-builder.contextMenu.textAction'] = class TextActionsContextMenuBlock extends BlockClass {
  top = 0;
  left = 0;

  _mount() {
    super._mount();

    if (this.data.position) {
      this.getElement("popupTextEditWrapper").css({
        top: this.data.position.top,
        left: this.data.position.left,
        width: this.data.position.width,
      });
    }
  }

  showSubMenu(v, e) {
    const rect = e.target.getBoundingClientRect();

    switch (v) {
      case "color":
        if (this.lastSubMenu) {
          this.lastSubMenu && this.lastSubMenu.hide(void 0, e);
          this.lastSubMenu = void 0;
        }

        this.lastSubMenu = this.getBlockByName("builder.contextMenu.color");
        this.lastSubMenu.show(
          rect,
          this.layoutRect,
          (color) => {
            this.toggleActioncolor(color);
          },
          {
            color: this.data.color,
          },
          {
            scroll: this.mb.getScrollY(),
          }
        );

        break;

      case "changeBlock":
        if (this.lastSubMenu) {
          this.lastSubMenu && this.lastSubMenu.hide(void 0, e);
          this.lastSubMenu = void 0;
        }

        this.lastSubMenu = this.getBlockByName(
          "builder.contextMenu.changeType"
        );
        this.lastSubMenu.show(
          rect,
          this.layoutRect,
          ({ value }) => {
            this.mb.changeType(value, this.data.currentBlock.index);
            this.selection.removeAllRanges();
            this.hide();
          },
          {
            selected: this.data.currentBlock.type,
          },
          {
            scroll: this.mb.getScrollY(),
          }
        );

        break;

      default:
        this.lastSubMenu && this.lastSubMenu.hide(void 0, e);
        this.lastSubMenu = void 0;
        break;
    }
  }

  calcNodes(node, arr = []) {
    if (node.contentEditable === "true") return arr;

    arr.push(node.nodeName);

    return this.calcNodes(node.parentNode, arr);
  }

  calcElected() {
    if (this.selection && this.selection.baseNode && this.selection.baseNode) {
      const tags = this.calcNodes(this.selection.baseNode);

      this.data.active = {
        B: tags.includes("B"),
        I: tags.includes("I"),
        A: tags.includes("A"),
        STRIKE: tags.includes("STRIKE"),
        U: tags.includes("U"),
      };
    }
  }

  show(event, selecedText, mb, block, ab) {
    this.selection = selecedText;
    this.mb = mb;
    this.data.currentBlock = block.data;
    this.data.blocks = ab;
    this.data.typeLabel = {
      text: "Текст",
      header1: "Заголовок 1",
      header2: "Заголовок 2",
      header3: "Заголовок 3",
      highlight: "Выделенный блок",
      code: "Код",
      list: "Список",
    }[block.data.type];

    this.calcElected();

    if (
      selecedText &&
      selecedText.baseNode &&
      selecedText.baseNode.parentNode
    ) {
      if (selecedText.baseNode.parentNode.nodeName === "FONT") {
        this.data.color = selecedText.baseNode.parentNode.color.toUpperCase();
      } else {
        this.data.color = void 0;
      }
    }

    this.rerender();
    const wrapper = this.getElement("popupTextEditWrapper");
    const menuRect = wrapper.get(0).getBoundingClientRect();
    const container = mb.containerRect;

    this.layoutRect = mb.containerRect;

    let startX = mb.msx - container.left;
    const startY = mb.msy - container.top + mb.getScrollY();

    let leftEnd = container.width;

    if (startX + menuRect.width > leftEnd) {
      startX = leftEnd - menuRect.width;
    }

    const top = startY - menuRect.height - 28;
    const left = startX;

    this.data.position = {
      top: top,
      left: left,
      width: menuRect.width,
    };

    wrapper.css({
      top: top,
      left: left,
      width: menuRect.width,
    });

    this.cancel = (event) => {
      if (!event.composedPath().includes(this.root)) {
        this.hide(void 0, event);
        this.selection.removeAllRanges();
      }
    };

    document.addEventListener("mousedown", this.cancel);
  }

  toggleActionbold() {
    this.data.active.B = !this.data.active.B;
    this.rerender();

    document.execCommand("bold");
  }

  toggleActionitalic() {
    this.data.active.I = !this.data.active.I;
    this.rerender();

    document.execCommand("italic");
  }

  toggleActionunderline() {
    this.data.active.U = !this.data.active.U;
    this.rerender();

    document.execCommand("underline");
  }

  toggleActionlink() {
    const r = this.selection.getRangeAt(0);

    this.getBlockByName("modal.prompt").show({
      label: "Введите ссылку",
      cancelLabel: "Отмена",
      confirmLabel: "Вставить",
      onConfirm: (value) => {
        this.selection.removeAllRanges();
        this.selection.addRange(r);

        this.data.active.A = !this.data.active.A;
        this.rerender();

        if (!value) {
          document.execCommand("removeFormat", true, "a");
        } else {
          document.execCommand("createLink", true, value);
        }

        this.selection.removeAllRanges();
      },
      onCancel: () => {
        this.selection.removeAllRanges();
        this.selection.addRange(r);
      },
    });
  }

  toggleActionstrike() {
    this.data.active.STRIKE = !this.data.active.STRIKE;
    this.rerender();

    document.execCommand("strikeThrough", true);
  }

  toggleActioncolor(colorName) {
    if (!colorName) {
      document.execCommand("removeFormat", true, "foreColor");
    } else {
      try {
        const theme = this.page.state.context.theme || "light";
        const color = this._colors[theme][colorName];
        document.execCommand("foreColor", true, color);
      } finally {
      }
    }

    this.selection.removeAllRanges();
    this.hide();
  }

  toggleActionunformat() {
    document.execCommand("removeFormat", true);
  }

  hide(_, e) {
    document.removeEventListener("mousedown", this.cancel);
    this.selector.html("");
  }

  _unmount() {
    super._unmount();
  }
}


window._fr_blocks['blocks-builder.ImageCropper'] = class ImageCropperBlock extends BlockClass {
  _mount(state) {
    super._mount(state);

    const defOptions = {
      aspectRatio: 16 / 10,
      autoCropArea: 1,
    };

    this.off = this.page.store.on("OpenImageCropper", (payload) => {
      this.data.file = payload.file;
      this.data.callback = payload.callback;
      this.data.options = payload.options || defOptions;
      this.rerender();
    });

    if (this.data.file) this.startCrop();
  }

  startCrop() {
    const reader = new FileReader();

    reader.onload = (e) => {
      let img = this.getElement("img").get(0);

      img.id = "image";
      img.src = e.target.result;
      this.cropper = new Cropper(img, { ...this.data.options });
    };

    reader.readAsDataURL(this.data.file);
  }

  changeAspectRatio(v) {
    this.cropper.setAspectRatio(v);
  }

  flip(mode = "horizontal") {
    if (mode === "horizontal") {
      this.horizontalFlip = !this.horizontalFlip;
    } else {
      this.verticalFlip = !this.verticalFlip;
    }

    this.cropper.scale(
      this.horizontalFlip ? 1 : -1,
      this.verticalFlip ? 1 : -1
    );
  }

  reset() {
    this.cropper.reset();
  }

  rotate(v) {
    this.cropper.rotate(v);
  }

  cancel() {
    this.data.file = void 0;
    this.selector.html("");
  }

  save() {
    let imgSrc = this.cropper.getCroppedCanvas({
      width: 1080,
    });

    this.data.callback && this.data.callback(imgSrc);
    this.cancel();
  }

  _unmount() {
    super._unmount();
    this.off();
  }
}


window._fr_blocks['blocks-chats.chatRightMenu'] = class ChatRightMenu extends BlockClass {
  _mount() {
    super._mount();

    const s = this.page.root.clientWidth > 1200 ? 'big' : 'small';

    if (s !== this.size) {
      this.testSize(s);
    }

    this.size = s;

    this.h = $(window).on('resize', () => {
      const s = this.page.root.clientWidth > 1200 ? 'big' : 'small';

      if (s !== this.size) {
        this.testSize(s, this.size);
      }


      this.size = s;
    });
  }

  testSize(size) {
    if (size === 'small') {
  
        this.data.mode = 'chat';

        this.page.nextTick(() => {
          this.rerender();
        })
      
    } else {
      if (!this.data.mode || this.data.mode === 'chat') {
        this.data.mode = 'information';

        this.page.nextTick(() => {
          this.rerender();
        })
      }
    }
    console.log(size)
  }

  open() {

  }

  changeMenuMode({ value }) {
    this.data.mode = value;
    this.rerender();
  }

  _unmount() {
    this.h && this.h.off();
    super._unmount();
  }
}

window._fr_blocks['blocks-chats.chatTab.chClient'] = class ClientInfo extends BlockClass {
  _mount() {
    super._mount();

  }

  init() {
    super.init();


    this.fetchData();
  }

  async fetchData() {
    try {
      const ws = this.page.store.get('ws');

      const [{ data }] = await Promise.all([
        ws.rpc('client.getEntity', {list_name: "client_entity", _id: this.data.cl_id}),
      ]);

      const res = data[0];

      this.data = { 
        ...this.data,
        ...res, loaded:true,
      }

     this.rerender();

    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'client.getEntity',
        error
      })
    }
  }


  _unmount() {
    super._unmount();
  }
}

window._fr_blocks['blocks-chats.chatTab.chNotes'] = class NewsEditPage extends BlockClass {
  _mount() {
    super._mount();

  }
  _unmount() {
    super._unmount();
  }
}

window._fr_blocks['blocks-chats.chatTab.chRequests.item'] = class RequestItem extends BlockClass {
  _mount() {
    super._mount();

  }

  goToMessage(v){
    v.msg._id = v.msg.msg_id;
    this.page.store.emit('goToChatEntity', v);
  }

  _unmount() {
    super._unmount();
  }
}

window._fr_blocks['blocks-chats.chatTab.chRequests'] = class ChatRequestTab extends BlockClass {
  _mount() {
    super._mount();
  }
  _unmount() {
    super._unmount();
  }

  createRequest() {
    this.page.store.emit("open_request", {
      request: {},
      client: {
        last_name: this.data.chat.last_name,
        first_name: this.data.chat.first_name,
        _id: this.data.chat._id,
        card_type_id: this.data.card_type_id,
      },
      user: this.data.me,
      mode: "requestAdd",
      service_params: {
        params: {
          card_type_id: this.data.card_type_id,
        },
      },
      confirm: (data) => {
        data.then((item) => {
          this.refs.list.insert(item);

          const request = {
            ...item,
            message: void 0,
          }

          this.page.store.emit('update_message_request', {
            action:'insert',
            message:{
              ...item.message,
              cl_id: item.client,
              usr_id: item.user,
              request
            }
          });

        });
      },
    });
  }
}


window._fr_blocks['blocks-chats.chatTab.chSessions.item'] = class RequestItem extends BlockClass {
  _mount() {
    super._mount();

  }

  goToMessage(v){
    this.page.store.emit('goToChatEntity', v);
  }

  _unmount() {
    super._unmount();
  }
}

window._fr_blocks['blocks-chats.chatTab.chSessions'] = class NewsEditPage extends BlockClass {
  _mount() {
    super._mount();

  }
  _unmount() {
    super._unmount();
  }
}

window._fr_blocks['blocks-chats.input'] = class ChatInput extends BlockClass {
  _mount() {
    super._mount();

    this.answerHandler = this.page.store.on('makeAnswer', msg => {
      this.data.message = msg;
      this.rerender();
    });
  }
  _unmount() {
    super._unmount();
  }

  goToMessage(v) {
    this.page.store.emit('goToChatEntity', v);
  }

  removeAnswer() {
    this.data.message = void 0;
    this.rerender();
  }

  changeText(value, event) {
    this.data.text = event.target.value;
  }

  async sendTextMessage() {
    try {
      const ws = this.page.store.get('ws');
      const res = await ws.rpc('message.send', {
        text: this.data.text,
        _rmid: this.page.utils.UUIDGeneratorBrowser('msg:'),
        type: 'text',
        attachments: this.data.attachments,
        request: this.data.request,
        message: this.data.message,
        cl_id: this.data.cl_id,
        created_at: moment().format(),
      });

      this.data.text = '';
      this.data.attachments = [];
      this.data.request = void 0;
      this.data.message = void 0;

      this.page.store.emit('send_message', res);

      this.rerender();

      this.page.nextTick(() => {
        this.refs._.changeText.elm.value = '';
      })

    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'message.send',
        error
      })
    } finally {
    }
  }

  startSendAttach() {
    this.refs._.attachChange.elm.click();
  }

  async sendFile(file) {
    this.page.store.emit("progress", ({ progress: 1 }));

    const ws = this.page.store.get('ws');

    const res = await ws.rpc('file.getUploadUrl', {
      content_type: file.type,
      origin_uri: 'some_path.jpg'
    });


    await this.page.utils.uploadBinaryFile({
      upload_url: res.upload_url,
      content_type: file.type,
      file: file,
      onProgress: progress => {
        this.page.store.emit("progress", ({ progress }));
      }
    });

    const msg = await ws.rpc('message.send', {
      text: 'empty',
      _rmid: this.page.utils.UUIDGeneratorBrowser('msg:'),
      type: 'attachment',
      attachments: [{
        content_type: file.type,
        filename: file.name,
        height: file.height,
        size: file.size,
        storage_bucketname: res.storage_bucketname,
        storage_endpoint: res.storage_endpoint,
        type: "media",
        url: res.filename,
        width: file.width,
      }],
      request: void 0,
      message: void 0,
      cl_id: this.data.cl_id,
      created_at: moment().format(),
    })

    this.page.store.emit('send_message', msg);


    this.page.store.emit("progress", ({ progress: 100 }));
  }

  async onFileCropped(img, original) {
    var blobBin = atob(img.toDataURL().split(",")[1]);
    var array = [];

    const size = blobBin.length;

    for (var i = 0; i < blobBin.length; i++) {
      array.push(blobBin.charCodeAt(i));
    }

    const file = new Blob([new Uint8Array(array)], { type: "image/jpeg", size });
    file.name = original.name;
    file.width = original.width;
    file.height = original.height;

    await this.sendFile(file)
  }

  async attachChange(v, e) {
    const files = e.target.files;

    if (files.length === 1) {

      if (['image'].includes(files[0].type.split('/')[0])) {
        this.page.store.emit("OpenImageCropper", {
          file: files[0],
          callback: (img) => this.onFileCropped(img, files[0]),
        });

      } else {
        await this.sendFile(files[0])
      }
    } else {
      for (let file of files) {
        await this.sendFile(file)
      }
    }
  }

  enter(v, e) {
    this.data.query = e.target.value;

    if (e.key === 'Enter') {
      if (!this.data.text)
        return;

      this.sendTextMessage();
    }
  }

  init() {
    super.init();

    this.page.nextTick(() => {
      this.refs._.changeText && this.refs._.changeText.elm.focus();
    });
  }
}

window._fr_blocks['blocks-chats.message'] = class ChatMessage extends BlockClass {
  _mount() {
    super._mount();
  }

  makeAnswer() {
    this.page.store.emit('makeAnswer', this.data);
  }

  remove() {
    this.page.store.emit('removeMessage', this.data);
  }

  editText(v) {
    this.data.editIndex = v;
    this.rerender();
    let input = this.refs[`inpText_${v}`];
    input.focus();
    input.setSelectionRange(input.value.length, input.value.length);
  }

  cancelEdit() {
    this.data.editIndex = void 0;

    this.rerender();
  }

  async acceptText(v) {
    let input = this.refs[`inpText_${v.messageId}`];
    const ws = this.page.store.get('ws');
    try {
      const ws = this.page.store.get('ws');

      const res = await ws.rpc('message.send', {
        _id: v.messageId,
        text: input.value,
        attachments: v.attachments,
        status: v.status,
      });

      this.data.text = input.value;
      this.data.attachments = v.attachments;
      this.data.status = v.status;  
      this.data.editIndex = void 0;

      this.page.store.emit('notification', {
        text: 'Сообщение изменено',
      });   

      this.rerender();
      } catch (error) {
        this.page.store.emit('api-error', {
          command: 'message.send',
          error
        })
      } finally {
    }
  }

  goToMessage(v) {
    this.page.store.emit('goToChatEntity', v);
  }

  _unmount() {
    super._unmount();
  }

  createRequest() {
    const pageData = this.parent.parent.parent.parent.data;

    this.page.store.emit('open_request', {
      request: {},
      initiator: 'chat',
      client: {
        last_name: pageData.last_name,
        first_name: pageData.first_name,
        _id: pageData._id,
        card_type_id: pageData.card_type_id
      },
      message: this.data,
      user: pageData.me,
      mode: 'requestAdd',
      service_params: {
        params: {
          card_type_id: pageData.card_type_id
        }
      },
      confirm: (data) => {
        data.then((item) => {
          const block = this.page.findFirstBlock({ name: 'chats.chatTab.chRequests' });

          if (block) {
            block.refs.list.insert(item);
          }

          const request = {
            ...item,
            message: void 0,
          }

          this.page.store.emit('update_message_request', {
            action:'update',
            message:{
              ...item.message,
              cl_id: item.client,
              usr_id: item.user,
              request
            }
          });

        });
      }
    });
  }
}

window._fr_blocks['blocks-chats.messageList'] = class MessageList extends BlockClass {
  _mount() {
    super._mount();

    $(this.refs.body).on("scroll", this.testEnd);
    
    this.off1 = this.page.store.on("send_message", (message) => {
      this.data.data.push(message);
      this.rerender();
      this.refs["body"].scrollTop = 99999999999999999999999999;
    });

    this.readOff = this.page.store.on("messageRead", (payload) => {
      if (!this.testChat(payload)) return;

      let needRerender = false;
      this.data.data.forEach((msg) => {
        if (payload._ids.includes(msg._id)) {
          needRerender = true;

          msg.status = MSGStatus.mask(
            new MSGStatus(msg.status).toString() + "|Read"
          );
        }
      });

      if (needRerender) this.rerender();
    });

    this.messageReciver = this.page.store.on("newMessage", (msg) => {
      if (!this.testChat(msg)) return;

      this.data.data.push(msg);
      this.rerender();
    });

    this.messageRemove = this.page.store.on("removeMessage", async (msg) => {
      if (!this.testChat(msg)) return;

      this.removeMessage(msg);
    });

    this.messageRemoved = this.page.store.on("messageRemoved", (payload) => {
      if (!this.testChat(payload)) return;

      let needRerender = false;
      this.data.data.forEach((msg) => {
        if (payload._id == msg._id) {
          needRerender = true;

          msg.status = MSGStatus.mask(
            new MSGStatus(msg.status).toString() + "|Removed"
          );
        }
      });

      if (needRerender) this.rerender();
    });

    this.goToEntityHandler = this.page.store.on("goToChatEntity", (payload) => {
      this.page.store.emit("show_progress", true);

      this.goToEntity(payload).then(() => {
        this.page.store.emit("show_progress", false);
      });
    });

    this.searchOff = this.page.store.on("search", (q) => {
      this.search(q);
    });


    this.rqHandler = this.page.store.on('update_message_request', ({ action, message }) => {
      if (action === 'insert') {
        this.data.data.push(message);

        this.rerender();
      } else {
        let needRender = false;

        for (let index = 0; index < this.data.data.length; index++) {
          const element = this.data.data[index];

          if (element._id == message._id) {
            this.data.data[index] = message;
            needRender = true;
            break;
          }

        }

        if (needRender) {
          this.rerender();
        }
      }

    })
  }

  elementIsVisibleInViewport(el = this.refs.end, partiallyVisible = true) {
    const { top, left, bottom, right } = el.getBoundingClientRect();
    const { innerHeight, innerWidth } = window;

    return partiallyVisible
      ? ((top > 0 && top < innerHeight) ||
        (bottom > 0 && bottom < innerHeight)) &&
      ((left > 0 && left < innerWidth) || (right > 0 && right < innerWidth))
      : top >= 0 && left >= 0 && bottom <= innerHeight && right <= innerWidth;
  }

  testChat(msg) {
    return msg.cl_id == this.data.cl_id;
  }

  async removeMessage(msg) {
    try {
      const ws = this.page.store.get("ws");

      await ws.rpc("message.remove", {
        _id: +msg._id,
      });

      this.page.store.emit("notification", {
        text: "Сообщение удалено",
        mode: "error",
      });
    } catch (error) {
      this.page.store.emit("api-error", {
        command: "message.remove",
        error,
      });
    } finally {
    }
  }

  async search(q) {
    this.data.offset = 0;
    this.data.loading = false;
    this.data.data = [];
    this.data._end = false;
    this.data.params.query = !q ? void 0 : q;

    this.init();
  }

  init() {
    super.init();

    !this.data.data && (this.data.data = []);
    !this.data.offset && (this.data.offset = 0);
    !this.data.limit && (this.data.limit = 10);
    !this.data.params && (this.data.params = {});
    !this.data._end && (this.data._end = false);
    !this.data.loading && (this.data.loading = false);

    this.fetchData().then(() => {
      if (this.state.query.msg) {
        this.page.store.emit("show_progress", true);

        this.goToEntity({
          msg: { _id: this.state.query.msg },
          type: this.state.query.type ? this.state.query.type : "message",
        }).then((res) => {
          this.page.store.emit("show_progress", false);
          window.history.replaceState({}, "", `/chats/${this.data.cl_id}`);
        });
      }
    });
  }

  testMessageIsRender(msg, type) {
    if (type === "message") {
      const res = this.selector.find(`[msg-id=${msg._id}]`);

      if (res.length > 0) {
        return res.get(0);
      } else return false;
    } else {
      const res = this.selector.find(`[s-id=${msg._id}]`);

      if (res.length > 0) {
        return res.get(0);
      } else return false;
    }
  }

  async goToEntity({ msg, type }) {
    const has = this.testMessageIsRender(msg, type);
    await this.page.nextTickAsync();
    if (!has) {
      await this.getNext({ limit: 100 });
      if (this.data._end)
        return this.page.store.emit("notification", {
          text: "Не удалось найти сообщение",
          mode: "error",
          action1Text: "Ещё раз",
          action1: () => {
            this.goToEntity({ msg, type });
          },
        });
      return await this.goToEntity({ msg, type });
    } else {
      has.scrollIntoView({
        behavior: "smooth",
        block: "center",
        inline: "nearest",
      });
      window.history.replaceState({}, "", `/chats/${this.data.cl_id}`);

      $(has).find(".focus-body").focus();
    }
  }

  async getNext(options) {
    if (this.data._end) {
      return;
    }

    const prevMsg = this.data.data[0];

    const data = await this.fetchData(true, options);

    const [html, rb] = this.page.renderFrBlock({
      name: "blocks-chats.messageList.list",
      data: { data, prevMsg },
      id: this.id + "_" + this.data.data.length + "_",
      state: this.state,
      parent: this,
      withoutContainer: true,
    });

    let y = this.refs["body"].scrollHeight - this.refs["body"].scrollTop;

    this.refs.container.insertAdjacentHTML("afterbegin", html);
    this.page.pushBlocks(rb, this);

    this.refs["body"].scrollTop =
      this.data.data.length - 1 === this.data.limit
        ? 9999
        : this.refs["body"].scrollHeight - y;
  }

  async fetchData(withoutRender = false, options = {}) {
    this.data.loading = true;
    let limit = options.limit ? options.limit : this.data.limit;

    try {
      const res = await this.page.store.get("ws").rpc("message.getList", {
        offset: this.data.offset,
        list_name: "message_list",
        limit: limit,
        params: {
          cl_id: this.data.cl_id,
        },
        query: this.data.params.query,
        sorting: [
          { field: "created_at", order: "desc" },
          { field: "_id", order: "desc" },
        ],
      });

      const nd = res.data.reverse();

      this.data.data.unshift(...nd);
      this.data.total = res.total;
      this.data.inited = true;
      this.data.offset += res.data.length;

      if (res.data.length < limit) {
        this.data._end = true;
        $(this.refs.end).remove();
      }

      if (withoutRender) {
        this.page.nextTick(() => {
          this.data.loading = false;
        });

        return nd;
      }

      this.data.loading = false;
      this.rerender();
    } catch (err) {
      console.error(err);
    } finally {
    }
  }

  rerender() {
    let y = this.refs["body"].scrollHeight - this.refs["body"].scrollTop;

    super.rerender();

    this.refs["body"].scrollTop =
      this.data.data.length - 1 === this.data.limit
        ? 9999
        : this.refs["body"].scrollHeight - y;

    this.testEnd();
  }

  testEnd = () => {
    if (
      !this.data._end &&
      !this.data.loading &&
      this.elementIsVisibleInViewport()
    ) {
      this.getNext();
    }
  };

  _unmount() {
    $(this.refs.body).off("scroll", this.testEnd);
    this.off1();
    this.readOff();
    this.messageReciver();
    this.messageRemove();
    this.messageRemoved();
    this.goToEntityHandler();
    this.searchOff();
    this.rqHandler();
    super._unmount();
  }
}


window._fr_blocks['blocks-chats.request'] = class Request extends BlockClass {
  _mount() {
    super._mount();
  }

  makeAnswer() {
    this.page.store.emit('makeAnswer', this.data);
  }
  
  makeRequest(){
    this.page.store.emit('makeRequest', this.data);
  }

  _unmount() {
    super._unmount();
  }
}

window._fr_blocks['blocks-chats.tabChat'] = class OrgTabBlock extends BlockClass {
    _mount() {
      super._mount();

    }
  
    change(v,e){
      if (this.data.selected === v.value) return;

     this.data.selected = v.value;
     this.rerender();
     this.page.store.emit(this.data.name, v);

     if (this.parent[`change${this.data.name}`]){
      this.parent[`change${this.data.name}`](v)
     }
    }

  
    _unmount() {
      super._unmount();  
    }
  }

window._fr_blocks['blocks-clients.notes.input'] = class NotesInput extends BlockClass {
  _mount() {
    super._mount();

  }

  add() {
    this.data.showInput = true;

    this.rerender();

    this.page.nextTick(() => {
      this.refs._.changeText.elm.focus();
      this.refs._.changeText.elm.scrollIntoView();
    })
  }


  close() {
    this.data.showInput = false;

    this.rerender();
  }


  changeText(v, e) {
    this.data.text = e.target.value;
  }

  async save() {
    try {
      const ws = this.page.store.get('ws');
      const res = await ws.rpc('client.upsertNote', { 
        text: this.data.text, 
        cl_id: this.data.cl_id, 
        _id: this.data._id 
      });

      this.data.text = '';
      this.data.showInput = false;

      this.parent.addNewNote(res);


      this.rerender();
    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'client.upsertNote',
        error
      });
    } finally {
    }
  }

  _unmount() {
    super._unmount();
  }
}

window._fr_blocks['blocks-clients.notes.item'] = class NotesItem extends BlockClass {
  _mount() {
    super._mount();

  }

  edit() {
    if (this.data.usr_id == this.page.state.context.options._id) {
      this.data.startEdit = true;
      this.rerender();
    }
  }


  changeText(v, e) {
    this.data.text = e.target.value;
  }

  close() {
    this.data.startEdit = false;
    this.rerender();
  }

  async save() {
    try {
      const ws = this.page.store.get('ws');
      const res = await ws.rpc('client.upsertNote', {
        text: this.data.text,
        _id: +this.data._id
      });

      this.data.startEdit = false;

      this.rerender();

    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'client.upsertNote',
        error
      });
    } finally {
    }
  }

  async remove(note) {
    try {
      const ws = this.page.store.get('ws');
      await ws.rpc('client.removeNote', {
        _id: +note._id
      });


      this.page.store.emit('removeNote', note);

    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'client.removeNote',
        error
      });
    } finally {
    }
  }

  _unmount() {
    super._unmount();
  }
}

window._fr_blocks['blocks-clients.notes'] = class ClientInfo extends BlockClass {
  _mount() {
    super._mount();

    this.off1 = this.page.store.on('removeNote', note => {
      this.refs.list.data.data =  this.refs.list.data.data.filter(n => n._id != note._id)
      this.refs.list.rerender();
    })
  }

  addNewNote(note){
    this.refs.list.data.data.unshift(note);
    this.refs.list.rerender();

    this.page.nextTick(() => {
      const res = this.selector.find(`[n-id=${note._id}]`);

      if (res.length > 0){
        res.get(0).scrollIntoView({ behavior: "smooth", block: "center", inline: "nearest" });
      }
    })
  }

  _unmount() {
    this.off1();
    super._unmount();
  }
}

window._fr_blocks['blocks-connection'] = class Connection extends BlockClass {
  constructor(...args) {
    super(...args);
    this.connect();
  }
  _mount() {
    super._mount();
  }
  _unmount() {
    super._unmount();
  }

  async tryEnter() {
    //setStatus('autorization');

    try {
      await this.page.store.get("ws").rpc(
        "users.checkToken",
        {
          token: this.page.store.get("authorizationToken"),
          country: this.page.state.context.options.country,
        },
        { auth: false }
      );
      //await this.page.store.get('ws').rpc('users.setCountry', { country: this.page.state.context.options.country },{timeout:1000});

      const me = await this.page.store
        .get("ws")
        .rpc("users.me", {}, { auth: false });

      this.page.store.memorize("me", me);
      this.page.store.get("ws").rehydration();

      this.page.store.memorize("ready", true);

      //setStatus('autorized');
    } catch (error) {
      // deauth(props.navigation);
      //  showError(err);

      this.page.store.clear("authorizationToken");
      deleteCookie("token");

      location.href = "/";

      this.page.store.emit("api-error", {
        command: "users.checkToken",
        error,
      });

      console.log(error);
    }
  }

  connect() {
    const ws = new WSClient(this.page.store.get("ws_host"));

    this.page.store.memorize("ws", ws);

    ws.on("connected", () => {
      this.page.store.memorize("wsconneted", true);

      if (this.page.store.has("authorizationToken")) {
        this.tryEnter().then(() => {});
      } else {
        deleteCookie("token");
      }
    });

    ws.on("connecting", () => {});

    ws.on("authorization_completed", () => {});

    ws.on("error", (m) => {
      console.log("error: ", m);
    });

    ws.on("close", (m) => {
      console.log("close: ", m);
      this.page.store.memorize("wsconneted", false);
    });

    ws.on("reconnect", () => {});

    ws.connect();
  }
}


window._fr_blocks['blocks-dev.Backlight'] = class Backlight extends BlockClass {
    _mount() {
        super._mount();

        this.isPressed = false;
        this.cache = [];


        this.keydown =(event) => {
            if (event.key === 'Control') {
                if (this.isPressed)
                    return;

                this.isPressed = true;

                this.turnOn();
                // Здесь можно добавить нужные действия при нажатии Ctrl
            }
        }

        this.keyup = (event) => {
            if (event.key === 'Control') {
                this.isPressed = false;
                this.turnOff()
                console.log('Клавиша Ctrl отпущена');
                // Здесь можно добавить нужные действия при отпускании Ctrl
            }
        }

        document.addEventListener('keydown', this.keydown);

        document.addEventListener('keyup', this.keyup );
    }

    getContentsBoundingBox(element) {
        const children = Array.from(element.children);
        if (!children.length) return null;

        let minX = Infinity, minY = Infinity;
        let maxX = -Infinity, maxY = -Infinity;

        children.forEach(child => {
            const rect = child.getBoundingClientRect();
            minX = Math.min(minX, rect.left);
            minY = Math.min(minY, rect.top);
            maxX = Math.max(maxX, rect.right);
            maxY = Math.max(maxY, rect.bottom);
        });

        return {
            x: minX + window.scrollX,
            y: minY + window.scrollY,
            width: maxX - minX,
            height: maxY - minY
        };
    }

    

    createMultiPartVisual(block) {
        const originalElement = block.root;
        const children = Array.from(originalElement.children);
        if (!children.length) return;

        const containers = [];

        children.forEach(child => {
            const rect = child.getBoundingClientRect();
            const container = document.createElement('div');

            container.onclick = () => {
                this.data.openBlock = {
                    ...block,
                    children:void 0,
                    initData: void 0,
                    page: void 0, 
                    parent: void 0,
                    refs: void 0,
                    selector: void 0,
                    root: void 0,
                }

                this.turnOff();

                this.rerender();
            }

            container.style.position = 'absolute';
            container.style.left = `${rect.left + window.scrollX}px`;
            container.style.top = `${rect.top + window.scrollY}px`;
            container.style.width = `${rect.width}px`;
            container.style.height = `${rect.height}px`;
            container.style.backgroundColor = '#ffffff3d';
            container.style.opacity = 0.9;
            
            container.style.outline = '2px solid aqua';
            container.style.cursor = 'pointer';

            // Копируем стили ребенка
            // const childStyle = window.getComputedStyle(child);
            // container.style.backgroundColor = childStyle.backgroundColor;
            // container.style.border = childStyle.border;

            document.body.appendChild(container);
            containers.push(container);
        });

        return containers;
    }

    close(){
this.data.openBlock = void 0;
this.rerender();
    }

    turnOn() {
        this.cache = [];

        for (let k in this.page._blocks) {
            const block = this.page._blocks[k];

            if (block.root) {
                const containers = this.createMultiPartVisual(block);

                this.cache.push({
                    elm: block.root,
                    containers: containers || []
                });
            }
        }
    }


    turnOff() {
        this.cache.forEach(item => {
            item.containers.forEach(c => c.remove())
        });

        this.cache = []
    }

    _unmount() {
        document.removeEventListener('keydown', this.keydown)
         document.removeEventListener('keyup', this.keyup )
        super._unmount();
    }
}

window._fr_blocks['blocks-dev.Backlight.info'] = class BacklightInfo extends BlockClass {
    close() {

        this.parent.close();
     }

    console() {
        console.log(this.data)
     }

    editor() { }
}

window._fr_blocks['blocks-dev.Updater'] = class Updater extends BlockClass {
  init() {
    this.socket = new (class WSDEVClient {
      constructor(host, options = {}) {
        this.host = `ws://${location.host}`;
        this.pingInterval = 5000;
        this.reconnectInterval = 5000;
        this.connected = false;
        this._queue = [];
        this._listeners = {};
      }

      connect() {
        if (this.connected || this._socket !== undefined) return;

        this._socket = new WebSocket(this.host);
        this._socket.onmessage = (message) => this.onMessage(message);
        this._socket.onclose = (message) => this.onClose(message);
        this._socket.onerror = (message) => this.onError(message);
        this._socket.onopen = (message) => this.onConnect(message);
      }

      emit(event, message = this) {
        if (this._listeners[event] === undefined) return this;

        let l = this._listeners[event].length;

        while (l--) {
          this._listeners[event][l].callback(message);
        }

        return this;
      }

      on(event, callback, options = {}) {
        if (this._listeners[event] === undefined) this._listeners[event] = [];

        this._listeners[event].push({ callback, options });
      }

      off(event) {
        if (this._listeners[event] === undefined) this._listeners[event] = [];

        delete this._listeners[event];

        return this;
      }

      reconnect = () => {
        if (this.reconnectInterval === 0) return;

        if (this._rTimeout) return;

        if (this.connected) return;

        this.emit("reconnect");

        this._rTimeout = setTimeout(() => {
          this.connect();

          clearTimeout(this._rTimeout);

          this._rTimeout = void 0;
        }, this.reconnectInterval);
      };

      onConnect = (message) => {
        this.connected = true;

        let args;

        while ((args = this._queue.shift())) {
          this.send(...args);
        }

        this.emit("connected");

        if (this.pingInterval > 0) this.startPing();
      };

      disconnect = () => {
        this._socket && this._socket.close();
        clearTimeout(this._rTimeout);
        this.stopPing();
      };

      startPing = () => {
        this.pingTimer = setInterval(() => {
          if (this.connected) {
            this._socket && this._socket.send("ping");
          }
        }, this.pingInterval);
      };

      stopPing = () => {
        clearInterval(this.pingTimer);
        this.pingTimer = void 0;
      };

      onError = (message) => {
        this.connected = false;

        this.emit("error", message);
        this._socket = void 0;
        this.stopPing();

        // this.reconnect();
      };

      onClose = (message) => {
        this._socket = void 0;
        this.connected = false;
        this.stopPing();

        this.emit("close", message);

        this.reconnect();
      };

      onMessage = (message) => {
        if (message.data === "pong") return this.emit("messege", message.data);

        try {
          const json = JSON.parse(message.data);

          this.emit(json.event, json.payload);
        } catch (e) {
          this.emit("messege", message.data);
        }
      };

      send = (command, payload = undefined) => {
        if (this.connected === false || this._socket === undefined) {
          this._queue.push([command, payload]);

          return;
        }

        this.emit("send", { command, payload });

        this._socket.send(
          JSON.stringify({
            c: command,
            p: payload,
          })
        );
      };
    })();
  }

  reloadCss() {
    var links = document.getElementsByTagName("link");
    for (var cl in links) {
      var link = links[cl];
      if (link.rel === "stylesheet") link.href += "";
    }
  }

  reloadJS() {
    // const l = document.getElementById("bundle-fr-script");
    // const src = l.getAttribute("src");
    // const [pathname] = src.split("?");

    // l.setAttribute("src", `${pathname}?=${Date.now()}`);

    // var links = document.getElementsByTagName("script");
    // for (var cl in links) {
    //   var link = links[cl];
    //   // if (link.rel === "stylesheet")
    //   link.href += "";
    // }

    const p = document.createElement("script");

    p.setAttribute("src", `/bundle.js?=${Date.now()}`);
    p.setAttribute("id", `bundle-fr-script`);

    const cc = document.getElementById("bundle-fr-script");
    cc.remove();

    const head = document.getElementsByTagName("head")[0];

    head.appendChild(p);
  }

  _mount() {
    super._mount();
    this.init();
    this.socket.connect();
    this.errors = [...this.page.lastDebug.errors];
    this.socket.on("reloadPage", () => {
      //this.reloadJS();

      location.reload();

      return;

      this.page.router.reload();
      this.reloadCss();
    });

    this.socket.on("error", (payload) => {
      this.errors.push(payload);
      this.renderError();
    });

    this.off1 = this.page.store.on("addDebugInfo", (payload) => {
      this.errors.push(...payload.errors);
      this.renderError();
    });

    this.renderError();
  }

  renderError() {
    if (this.errors.length === 0) return;

    const html = `<div class="${this.getClass("overlay")}"></div>
        <div class="${this.getClass("container")}">
            <div class="${this.getClass("title")}">Error (${
      this.errors.length + 1
    })</div>
            <div class="${this.getClass("wrapper")}">
                ${this.errors.map((error) => {
                  return `
                    <hr/>

                    <div class="${this.getClass("item")}">
                        <div class="${this.getClass("block-name")}">${
                    error.name
                  } (${error.type})</div>
                        <a href="vscode://file/${
                          error.file
                        }" class="${this.getClass("block-path")}">${
                    error.file
                  }</a>
                        <textarea class="${this.getClass(
                          "block-json"
                        )}">${JSON.stringify(
                    error.error,
                    null,
                    "\t"
                  )}</textarea>
                    </div>`;
                })}          
            </div>
        </div>`;
    this.selector.html(html);

    this.getElement("overlay").on("click", () => {
      this.errors = [];
      this.selector.html("");
    });
  }

  _unmount() {
    super._unmount();
    this.off1();
  }
}


window._fr_blocks['blocks-eventList.editEvent'] = class eventEditInfoBlock extends BlockClass {
  _mount() {
    super._mount();
    this.validate = this.page.utils.createCheckValidationFunction(
      this.getClass("input-invalid"),
      this
    );

    this.off1 = this.page.store.on('updateDescriptionBlocks', (payload) => {
      const path = payload.path.replace(".blocks", "");

      this.page.utils.set(this.data.event, `${path}`, payload.value);

      if (payload.options) {
        this.page.utils.set(
          this.data.event,
          `${path.replace("value", "options")}`,
          payload.options
        );
      }

      this.updateParent();

    })
  }

  changeText(v, e) {
    this.data.event[v] = e.target.value;

    this.updateParent();
  }

  changeDate(v, e) {
    this.data.event[v] = moment(e.target.value).format();

    this.updateParent();
  }

  selectServive(_id) {
    const service = this.data.services.find(s => s._id == _id)
    this.data.event.service = service;
    this.updateParent();
  }

  changeDescriptionEditMode({ value }) {
    this.parent.data.description_mode = value;
    this.parent.rerender();
  }

  async updateImg(img, block) {
    this.page.nextTick(async () => {
      const img = await block.uploadAndGetFileID();
      this.data.event[block.data.path] = img;
      this.updateParent();
    });
  }

  useOnePreview(v, e) {
    this.data.event._use_one_preview = e.target.checked;
    this.rerender();
    this.updateParent();
  }

  selectCategory(v) {
    this.data.event.category_id = v;
  }

  updateParent() {
    this.parent.updateFromInnerBlock &&
      this.parent.updateFromInnerBlock({
        title: this.data.event.title,
        started_at: this.data.event.started_at,
        finished_at: this.data.event.finished_at,
        city: this.data.event.city,
        subtitle: this.data.event.subtitle,
        description: this.data.event.description,
        img: this.data.event.img,
        logo: this.data.event.logo,
        materials: this.data.event.materials,
        category_id: this.data.event.category_id,
        service: this.data.event.service,
        description_blocks: this.data.event.description_blocks,
        keywords: this.data.event.keywords
      });
  }

  // async makaDate() {
  //   this.page.store.emit('show_progress', true);

  //   try {
  //     const img = await this.refs['preview'].uploadAndGetFileID();

  //     const data = {
  //       _id: this.data.event._id === 'new' ? void 0 : this.data.event._id,
  //       title: this.data.event.title,
  //       started_at: this.data.event.started_at,
  //       finished_at: this.data.event.finished_at,
  //       city: this.data.event.city,
  //       subtitle: this.data.event.subtitle,
  //       description: this.data.event.description,
  //       img: img,
  //     }

  //     const ws = this.page.store.get('ws');

  //     const res = await ws.rpc('event.upsert', data);

  //     if (this.data._id === undefined) {
  //       this.page.router.goTo(`/events/${res._id}/edit`);

  //       this.page.store.emit('notification', {
  //         text:'Мероприятие добавлено',
  //       });
  //     } else {
  //       this.page.store.emit('notification', {
  //         text:'Мероприятие изменено',
  //       });
  //     }

  //   } catch (error) {
  //     this.page.store.emit('api-error', {
  //       command: 'event.upsert',
  //       error
  //     })
  //   } finally {
  //     this.page.store.emit('show_progress', false);
  //   }
  // }

  // goBack() {
  //   if (this.data.event._id === 'new') {
  //     this.page.router.goTo(`/events`);
  //   } else {
  //     this.page.router.goTo(`/events/${this.data.event._id}`);
  //   }
  // }

  updateMaterials(materials) {
    this.data.event.materials = materials;

    this.updateParent();
  }

  remove() {
    this.parent.remove();
  }

  restore() {
    this.parent.restore();
  }

  validatePersonal() {
    const title = !this.data.event.title ? "- название события <br>" : "" ;
    const started_at = !this.data.event.started_at || this.data.event.started_at === 'Invalid date' ? "- дата начала отсутствует <br>" : "" ;
    const finished_at = !this.data.event.finished_at || this.data.event.finished_at === 'Invalid date' ? "- дата завершения отсутствует <br>" : "" ;
    const dateValidate = this.data.event.started_at > this.data.event.finished_at ? "- дата некорректно заполнена <br>" : "" ;
    const city = !this.data.event.city ? "- место проведения <br>" : "" ;
    const subtitle = !this.data.event.subtitle ? "- краткое описание <br>" : "" ;
    const imgList = !this.data.event.logo ? "- картинка в СПИСКЕ мероприятий <br>" : "" ;
    const imgEvent = !this.data.event.img && this.data.event._use_one_preview ? "- картинка на СТРАНИЦЕ мероприятия <br>" : "" ;
    let materials = '';
    let description;

    if ( this.data.event.materials.length ) {
      for (let i=0; i<this.data.event.materials.length; i++ ) {
        if (!this.data.event.materials[i].label) { materials = `- дополнительные материалы, нет заголовка или не прикреплены материалы у элемента №${i + 1} <br>`; break};
        if (!this.data.event.materials[i].url) { materials = `- дополнительные материалы, не прикреплены материалы у элемента №${i + 1} <br>`; break};
      }
    }
    
    if ( this.data.description_mode === "advanced") {
      description = !this.data.event.description_blocks || ( this.data.event.description_blocks[0].value === '' && this.data.event.description_blocks.length === 1 )? "- полное описание в продвинутом режиме <br>" : "" ;
    } else {
      description = !this.data.event.description ? "- полное описание <br>" : "" ;
    }

    if ( title + started_at + finished_at + dateValidate + city + subtitle + description + imgList + imgEvent + materials === "" ) {
      return true;
    } else {
      this.page.store.emit("notification", {
        text: `Не заполнены следующие поля: <br> ${title} ${started_at} ${finished_at} ${dateValidate} ${city} ${subtitle} ${description} ${imgList} ${imgEvent} ${materials}`,
        mode:'error',
        timeout:30000,
      });
      return false;
    }
  }

  next() {
    this.validate();
    if ( this.validatePersonal() ) {
      this.parent.changeEventEditMode({ value: "program" });
    }
  }

  toggleExternal() {
    this.parent.toggleExternal();
  }

  save() {
    this.parent.save();
  }

  async publish() {
    this.validate();
    if ( this.validatePersonal() ) {
      await this.parent.publish();
      this.page.router.goTo(`/events/${this.data.event._id}`, {mode: 'information'});
    }
  }

  unpublish() {
    this.parent.unpublish();
  }

  // async restore({_id}){
  //   this.page.store.emit('show_progress', true);

  //   try {
  //     const ws = this.page.store.get('ws');

  //     await ws.rpc('event.restore', { _id });

  //     this.page.router.goTo(`/events/${_id}/edit`);

  //     this.page.store.emit('notification', {
  //       text:'Мероприятие восстановлено',
  //     });

  //   } catch (error) {
  //     this.page.store.emit('api-error', {
  //       command: 'event.restore',
  //       error
  //     })
  //   } finally {
  //     this.page.store.emit('show_progress', false);
  //   }
  // }

  _unmount() {
    this.off1();
    super._unmount();
  }
}


window._fr_blocks['blocks-eventList.editEvent.materials'] = class eventEditMaterialsBlock extends BlockClass {
  _mount() {
    super._mount();
  }

  add() {
    this.data.materials.push({
      url: '',
      label: '',
      name: '',
      size: '',
      loading: false
    });

    this.rerender();
  }

  remove(index) {
    this.data.materials.splice(index, 1);
    this.updateParent();
    this.rerender();
  }

  startLoadFile(index) {
    this.data.loading_material_index = index;
    this.getElement('fileInput').click()
  }

  async fileChange(v, event) {
    const file = event.target.files[0];

    // size
    // name
    // type

    function bytesToSize(bytes) {
      var sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB'];
      if (bytes == 0) return 'n/a';
      var i = parseInt(Math.floor(Math.log(bytes) / Math.log(1024)));
      if (i == 0) return bytes + ' ' + sizes[i];
      return (bytes / Math.pow(1024, i)).toFixed(1) + ' ' + sizes[i];
    };

    this.page.store.emit('show_progress', true);

    this.data.materials[this.data.loading_material_index].loading = true;

    this.rerender();


    try {
      const ws = this.page.store.get('ws');
      const res = await ws.rpc('file.getUploadUrl', {
        content_type: file.type,
        origin_uri: file.name
      });


      await this.page.utils.uploadBinaryFile({
        upload_url: res.upload_url,
        content_type: file.type,
        file: file,
        onProgress: progress => {
          this.page.store.emit("progress", ({ progress }));
        }
      });

      const link = this.page.utils.makeImageUrl({
        filename: res.filename,
        storage_bucketname: res.storage_bucketname,
        storage_endpoint: res.storage_endpoint,
        uri: res.filename,
        url: res.filename,
      });

      this.data.materials[this.data.loading_material_index].url = link;
      this.data.materials[this.data.loading_material_index].size = bytesToSize(file.size);
      // this.data.materials[this.data.loading_material_index].label = file.name;
      this.data.materials[this.data.loading_material_index].name = file.name;
      this.data.materials[this.data.loading_material_index].loading = false;
      this.data.materials[this.data.loading_material_index].error = void 0;
      this.data.loading_material_index = void 0;

      this.rerender();

      this.page.store.emit("progress", ({ progress: 100 }));

      this.updateParent();

    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'file.getUploadUrl',
        error
      });

      this.data.materials[this.data.loading_material_index].error = true;
      this.rerender();

    } finally {
      this.page.store.emit('show_progress', false);

    }

  }

  onLabelChanged(index, e){
    this.data.materials[index].label = e.target.value;

    this.updateParent();
  }

  updateParent(){
    this.parent.updateMaterials(this.data.materials)
  }

  _unmount() {
    super._unmount();
  }
}



window._fr_blocks['blocks-eventList.editEvent.preview'] = class NewsPreviewLogo extends BlockClass {
  _mount() {
    super._mount();
  }
  
  _unmount() {
    super._unmount();
  }

  change() {
    this.getElement('fileInput').click()
  }

  avatarChange(v, event) {
    const file = event.target.files[0];

    this.page.store.emit("OpenImageCropper", {
      file,
      options: {
        aspectRatio: 1.84375 / 1,
        autoCropArea: 1,
      },
      callback: (img) => this.onFileCropped(img),
    });
  }

  async recrop() {
    const url = this.page.utils.makeImageUrl(this.data.img);
    let response = await fetch(url);
    let data = await response.blob();
    let metadata = {
      type: "image/jpeg",
    };
    let file = new File([data], "test.jpg", metadata);

    this.page.store.emit("OpenImageCropper", {
      file,
      callback: (img) => this.onFileCropped(img),
    });
  }

  onFileCropped(img) {
    this.data.width = img.width;
    this.data.height = img.height;
    this.data.img = img.toDataURL();
    this.data._needUpload = true;



    this.parent.updateImg(this.data.img, this);
    this.rerender(true);
  }

  async uploadAndGetFileID() {
    if (!this.data._needUpload) return this.data.img;

    var blobBin = atob(this.data.img.split(",")[1]);
    var array = [];

    this.page.store.emit("progress", ({ progress: 10 }))

    const size = blobBin.length;

    for (var i = 0; i < blobBin.length; i++) {
      array.push(blobBin.charCodeAt(i));
    }

    var file = new Blob([new Uint8Array(array)], { type: "image/jpeg" });

    const ws = this.page.store.get('ws');

    const res = await ws.rpc('file.getUploadUrl', {
      content_type: file.type,
      origin_uri: 'some_path.jpg'
    });

    await this.page.utils.uploadBinaryFile({
      upload_url: res.upload_url,
      content_type: file.type,
      file: file,
      onProgress: progress => {
        this.page.store.emit("progress", ({ progress }));
      }
    });

    this.page.store.emit("progress", ({ progress: 100 }));

    return {
      content_type: file.type,
      filename: res.filename,
      height: this.data.height,
      size,
      storage_bucketname: res.storage_bucketname,
      storage_endpoint: res.storage_endpoint,
      type: file.type,
      uri: res.filename,
      url: res.filename,
      width: this.data.width,
    };
  }


  remove() {
    this.data.img = void 0;
    this.parent.updateImg(void 0, this);
    this.rerender();
  }
}

window._fr_blocks['blocks-eventList.editPartners.createModal'] = class CreateEventPartnerLabelModal extends BlockClass {
  _mount() {
    super._mount();
    this.validate = this.page.utils.createCheckValidationFunction(this.getClass('input-invalid'), this);
  }

  show(data) {
    this.data.show = true;
    this.data.label = data.label;
    this.data.callback = data.callback;
    this.rerender();
  }

  hide() {
    this.data = { show: false };

    this.rerender();
  }

  _unmount() {
    super._unmount();
  }

  async success() {
    if (this.validate()){
      if (!this.refs.input.checkValidity()) {
        this.page.store.emit('notification', {
          mode: 'error',
          text: 'Ошибка валидации',
          type: 'big',
          text: 'Название категории должно быть не менее 5 и не более 30 символов',
        });

        return;
      }

      this.data.callback && this.data.callback(this.refs.input.value);

      this.hide();
    }
  }

  cancel() {
    this.hide();
  }

  fail() {
    this.hide();
  }
}

window._fr_blocks['blocks-eventList.editPartners'] = class EventParnter extends BlockClass {
  _mount() {
    super._mount();
  }

  // openModal(v) {
  //   this.page.store.emit('showModal', v);
  // }

  _unmount() {
    super._unmount();
  }

  openCreateCatModal(v = {}) {
    let label = '';

    if (v.index !== undefined) {
      label = this.data.partners[v.index].label;
    }

    this.refs.createCatRef.show({
      label: label,
      callback: (label) => {
        if (v.index === undefined) {
          this.data.partners.unshift({
            label: label,
            items: []
          });
        } else {
          this.data.partners[v.index].label = label;

          this.updateGroupLabel(v.index, label);
        }

        this.rerender()
      }
    })
  }



  labelChange({ index }, e) {
    this.data.partners[index].label = e.target.value;
  }

  removeCat(index) {
    this.data.partners.splice(index, 1);

    this.rerender();
  }

  async updateGroupLabel(index, label) {
    this.page.store.emit('show_progress', true);

    try {
      const ws = this.page.store.get('ws');
      this.data.partners[index].label = label;

      for (let partner of this.data.partners[index].items) {
        const res = await ws.rpc('event.upsertEventPartner', {
          _id: partner.eventpartner_id,
          event_id: this.data._id,
          partner_id: partner._id,
          label: label
        });
        partner.label = label;
      }

      this.parent.updateFromInnerBlock({ partners: this.data.partners })

      this.page.store.emit('notification', {
        text: 'Категория обновлена',
      });

      this.rerender();

    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'event.upsertEventPartner',
        error
      })
    } finally {
      this.page.store.emit('show_progress', false);
    }
  }

  async createPartnerLink(index, partner) {
    this.page.store.emit('show_progress', true);

    try {
      const ws = this.page.store.get('ws');

      const res = await ws.rpc('event.upsertEventPartner', { event_id: this.data._id, label: this.data.partners[index].label, partner_id: partner._id });

      console.log('createPartnerLinkcreatePartnerLinkcreatePartnerLink', res)

      this.data.partners[index].items.push(partner);

      this.parent.updateFromInnerBlock({ partners: this.data.partners });

      this.page.store.emit('notification', {
        text: 'Партнер добавлен',
      });

      this.rerender();

    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'event.upsertEventPartner',
        error
      })
    } finally {
      this.page.store.emit('show_progress', false);
    }
  }

  async removePartnerLink({ index, _id }) {
    this.page.store.emit('show_progress', true);

    try {
      const ws = this.page.store.get('ws');

      const res = await ws.rpc('event.removeEventPartner', { _id });

      this.data.partners[index].items = this.data.partners[index].items.filter((item) => item.eventpartner_id !== _id)

      this.parent.updateFromInnerBlock({ partners: this.data.partners })

      this.page.store.emit('notification', {
        text: 'Партнер удален',
      });

      this.rerender();

    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'event.upsertEventPartner',
        error
      })
    } finally {
      this.page.store.emit('show_progress', false);
    }
  }

  openAddModal(index) {
    this.page.store.emit('showModal', {
      name: 'partners',
      content: {
        callback: (
          partner
        ) => {
          this.createPartnerLink(index, partner)
        }
      }
    });
  }


  remove() {
    this.parent.remove();
  }

  async publish() {
    await this.parent.publish();

    this.page.router.goTo(`/events/${this.data._id}`, { mode: 'information' });
  }

  unpublish() {
    this.parent.unpublish()
  }

  restore() {
    this.parent.restore();
  }

  prev() {
    this.parent.changeEventEditMode({ value: 'services' })
  }

  save() {
    this.parent.save();
  }
}

window._fr_blocks['blocks-eventList.editProgram'] = class EventEditPage extends BlockClass {
  _mount() {
    super._mount();
  }

  init() {
    super.init();
  }

  changeProgramm(index) {
    this.data.programm = index;
    this.rerender();
  }

  updateParent() {
    // Обновляем данные родителя
    this.parent.updateFromInnerBlock && this.parent.updateFromInnerBlock({
      items: this.data.items
    })
  }

  updateProgramIcon(img) {
    this.data.items[this.data.programm].img = img;

    this.updateParent();
  }


  changeDay(index) {
    this.refs[`programm_day_${index}`].scrollIntoView({ behavior: "smooth" })
  }

  addDay(){
    const program = this.data.items[this.data.programm].program;
    let startData = program.length > 0 ? program[program.length - 1].start_at : this.data.started_at;
    program.push({
      start_at: this.page.utils.moment( startData ).add(1,'days').format(),
      timeline:[]
    });
    this.updateParent();

    this.rerender();
  }

  removeDay(index) {
    this.data.items[this.data.programm].program.splice(index, 1);
    this.updateParent();

    this.rerender();

  }

  addProgram() {
    this.data.items.push({
      img: {
        "url": "service/icon-delovaya-programma.png",
        "size": 993045,
        "type": "media",
        "width": 1668,
        "height": 2500,
        "filename": "icon-delovaya-programma.png",
        "content_type": "image/png",
        "storage_endpoint": "https://storage.yandexcloud.net",
        "storage_bucketname": "qtooapp"
      },
      title: '',
      program: []
    });

    this.data.programm = this.data.items.length - 1;

    this.updateParent();
    this.rerender();
  }

  openEvent() { }

  changeProgrammTitle(v, e) {
    this.data.items[this.data.programm].title = e.target.value;

    this.refs.currentProgrammTitle.innerText = e.target.value;

    this.updateParent();
  }

  removeProgram() {
    this.data.items.splice(this.data.programm, 1);

    this.data.programm -= 1;

    if (this.data.programm > this.data.items.length) {
      this.data.programm = this.data.items.length;
    } else if (this.data.programm < 0) {
      this.data.programm = 0;
    }

    this.updateParent();
    this.rerender();
  }

  removeItem({ index, dindex, tdindex }) {
    const program = this.data.items[this.data.programm];
    const timeline = program.program[index];
    const items = timeline.timeline[dindex];

    items.items.splice(tdindex, 1);

    this.updateParent();
    this.rerender();
  }

  editEvent(payload) {
    const program = this.data.items[this.data.programm];
    const timeline = program.program[payload.index];
    const items = timeline.timeline[payload.dindex];
    const item = items.items[payload.tdindex];

    this.page.store.emit('showModal', {
      name: 'editProgramm',
      content: {
        event_title: this.data.title,
        program_title: program.title,
        current_day: timeline.start_at,
        ...item,
        callback: (data) => {
          items.items[payload.tdindex] = data;
          this.updateParent();
          this.rerender();
        }
      }
    })


  }

  selectDates(){
    this.parent.changeEventEditMode({value:"information"})
  }

  addEvent(payload) {
    const program = this.data.items[this.data.programm];
    const timeline = program.program[payload.index];

    this.page.store.emit('showModal', {
      name: 'editProgramm',
      content: {
        current_day: timeline.start_at,
        program_title: program.title,
        event_title: this.data.title,
        callback: (item) => {
          if (timeline.timeline.length === 0){
            timeline.timeline.push({
              start_at: timeline.start_at,
              items:[]
            })
          }
          timeline.timeline[0].items.push(item);
          timeline.timeline[0].items.sort((a, b) => {
            return this.page.utils.moment(a.start_at).isBefore(b.start_at) ? -1 : 1
          });
          this.updateParent();
          this.rerender();
        }
      }
    });
  }

  _unmount() {
    super._unmount();
  }

  restore(){
    this.parent.restore();
  }
  
  remove() {
    this.parent.remove();
  }

  next(){
    this.parent.changeEventEditMode({value:'services'})
  }

  prev(){
    this.parent.changeEventEditMode({value:'information'})
  }

  save(){
    this.parent.save();
  }


}

window._fr_blocks['blocks-eventList.editProgram.selectIcon'] = class SelectIconBlock extends BlockClass {
    icons = [
        {
            "url": "service/icon-delovaya-programma.png",
            "size": 993045,
            "type": "media",
            "width": 1668,
            "height": 2500,
            "filename": "icon-delovaya-programma.png",
            "content_type": "image/png",
            "storage_endpoint": "https://storage.yandexcloud.net",
            "storage_bucketname": "qtooapp"
        },
        {
            "url": "service/icon-kulturnaya-programma.png",
            "size": 993045,
            "type": "media",
            "width": 1668,
            "height": 2500,
            "filename": "icon-delovaya-programma.png",
            "content_type": "image/png",
            "storage_endpoint": "https://storage.yandexcloud.net",
            "storage_bucketname": "qtooapp"
        },
        {
            "url": "service/icon-partners.png",
            "size": 993045,
            "type": "media",
            "width": 1668,
            "height": 2500,
            "filename": "icon-delovaya-programma.png",
            "content_type": "image/png",
            "storage_endpoint": "https://storage.yandexcloud.net",
            "storage_bucketname": "qtooapp"
        },
        {
            "url": "service/icon-yaxty-i-morskie-puteshestviya.png",
            "size": 993045,
            "type": "media",
            "width": 1668,
            "height": 2500,
            "filename": "icon-delovaya-programma.png",
            "content_type": "image/png",
            "storage_endpoint": "https://storage.yandexcloud.net",
            "storage_bucketname": "qtooapp"
        },
        {
            "url": "service/icon-biznes-aviaciya.png",
            "size": 993045,
            "type": "media",
            "width": 1668,
            "height": 2500,
            "filename": "icon-delovaya-programma.png",
            "content_type": "image/png",
            "storage_endpoint": "https://storage.yandexcloud.net",
            "storage_bucketname": "qtooapp"
        },
        {
            "url": "service/icon-oteli-i-kurorty.png",
            "size": 993045,
            "type": "media",
            "width": 1668,
            "height": 2500,
            "filename": "icon-delovaya-programma.png",
            "content_type": "image/png",
            "storage_endpoint": "https://storage.yandexcloud.net",
            "storage_bucketname": "qtooapp"
        } 
    ]

    selectIcon(index){
        this.data.img = this.data.icons[index];

        this.rerender();

        this.parent.updateProgramIcon(this.data.img);
    }

    init(){
        super.init();

        this.data.icons = this.icons;

        this.rerender();
    }
}



window._fr_blocks['blocks-eventList.editServices'] = class EventEditService extends BlockClass {
  _mount() {
    super._mount();
  }

  openModal( v ) {
   /// this.page.store.emit('showModal', v);
  }

  addService(){
    const payload = {
      card_type_id: void 0,
      category_id: void 0,
      event_id: this.data._id
    }

    this.refs.service.show(payload, true, true)
  }

  openService(payload){
    this.refs.service.show({
      ...payload,       
      event_id: this.data._id
    }, false, true)
  }

  upsertService(service){
    const i = this.data.services.findIndex(item => {
      return item._id == service._id;
    })

    if (i === -1){
      this.data.services.push(service);
    } else {
      this.data.services[i] = service;
    }

    this.parent.updateFromInnerBlock({services: this.data.services})

    this.rerender();
  }

  restoredService(service){
    this.data.services.push(service);
    this.parent.updateFromInnerBlock({services: this.data.services})

    this.rerender();

  }

  removedService(service){
    this.data.services = this.data.services.filter((item) => {
      return item._id != service._id;
    });

    this.parent.updateFromInnerBlock({services: this.data.services})

    this.rerender();
      
  }

  _unmount() {
    super._unmount();
  }

  restore(){
    this.parent.restore();
  }
  
  remove() {
    this.parent.remove();
  }

  next(){
    this.parent.changeEventEditMode({value:'partners'})
  }

  prev(){
    this.parent.changeEventEditMode({value:'program'})
  }

  save(){
    this.parent.save();
  }
}

window._fr_blocks['blocks-eventList.eventModal'] = class EventModal extends BlockClass {
    _mount() {
      super._mount();
      this.off1 = this.page.store.on('showModal', v => {
        let content = [];
        for (let key in v) {
          content.push(v[key]);
        }
        this.data = {
          ...this.data,
          content,
        };
        this.data.visible = true;
        this.rerender();
      })
    }

    close() {
      this.data.visible = false;
      this.rerender();
    }

    _unmount() {
      this.off1();
      super._unmount();
    }
  }

window._fr_blocks['blocks-eventList.eventModal.modalEditProgram'] = 
class EventPantnerEditModal extends BlockClass {
  constructor(...args){
    super(...args)
    this.validate = this.page.utils.createCheckValidationFunction(this.getClass('input-invalid'), this);
  }

  close(){
    this.parent.close()
  }

  validatePersonal() {
    const title = !this.refs.title.value ? "- название <br>" : "" ;
    const start_at = !this.refs.start_at.value ? "- время начала <br>" : "" ;
    const finish_at = !this.refs.finish_at.value ? "- время завершения <br>" : "" ;
    const location = !this.refs.location.value ? "- место проведения <br>" : "" ;
    const validData = this.refs.start_at.value < this.refs.finish_at.value ? "" : "- некорректная дата";
    const description = !this.refs.description.value ? "- описание <br>" : "" ;

    if ( title + start_at + finish_at + location + validData + description === "" ) {
      return true;
    } else {
      this.page.store.emit("notification", {
        text: `Не заполнены следующие поля: <br> ${title} ${start_at} ${finish_at} ${location} ${validData} ${description}`,
        mode:'error',
        timeout:30000,
      });
      return false;
    }
  }

  add(){
    console.log( this.validatePersonal() );
    this.validate()

    if ( this.validatePersonal() ) {
      const [sh,sm] = this.refs.start_at.value.split(':')
      const startAt = this.page.utils.moment(this.data[1].current_day);

      startAt.set('hour',sh);
      startAt.set('minute',sm);
      startAt.set('second',0);

      const [fh,fm] = this.refs.finish_at.value.split(':')

      const finishAt = this.page.utils.moment(this.data[1].current_day);
      finishAt.set('hour',fh);
      finishAt.set('minute',fm);
      finishAt.set('second',0);

      this.data[1].callback && this.data[1].callback({
        title: this.refs.title.value,
        location: this.refs.location.value,
        start_at: startAt.format(),
        finish_at: finishAt.format(),
        description: this.refs.description.value,
      });

      this.close();
    }

  }
}

window._fr_blocks['blocks-eventList.eventModal.modalPartnersList.item'] = class ModalEditPartnersItem extends BlockClass {
  onItemClick(item){
    this.parent.parent.onItemClick &&  this.parent.parent.onItemClick(item);
  }

}

window._fr_blocks['blocks-eventList.eventModal.modalPartnersList'] = class ModalEditPartners extends BlockClass {
  _mount() {
    super._mount();
  }

  _unmount() {
    super._unmount();
  }

  onInputSearch(v, e) {
    const text = e.target.value;
    this.search(text)
  }

  onItemClick(partner){
    this.data[1].callback(partner)
    this.parent.close();
  }

  search = $.debounce(400, async (q) => {
    this.page.store.emit('search', q);
  });

}

window._fr_blocks['blocks-eventList.partners'] = class EventParnter extends BlockClass {
  _mount() {
    super._mount();
  }

  openModal( v ) {
    this.page.store.emit('showModal', v);
  }

  _unmount() {
    super._unmount();
  }
}

window._fr_blocks['blocks-eventList.program.Delete_cultural'] = class EventProgramCultural extends BlockClass {
  _mount() {
    super._mount();
  }

  openModal( v ) {
    this.page.store.emit('showModal', v);
  }

  _unmount() {
    super._unmount();
  }
}

window._fr_blocks['blocks-eventList.program.Delete_programContent'] = class EventProgramBusiness extends BlockClass {
  _mount() {
    super._mount();
  }

  openModal(v) {
    this.page.store.emit('showModal', v);
  }

  moveToClass(v) {
    let name = v.searchClass;
    this.refs[name].scrollIntoView();
    this.refs[name].focus();
  }

  _unmount() {
    super._unmount();
  }
}

window._fr_blocks['blocks-eventList.program'] = class EventProgram extends BlockClass {
  _mount() {
    super._mount();
    this.body = $(window);
    // console.log(this.body);
  }

  changeProgramm(index) {
    this.data.programm = index;
    this.rerender();
  }

  changeDay(index) {
    this.refs[`programm_day_${index}`].scrollIntoView({ behavior: "smooth" })
  }

  openModal( v ) {
    this.page.store.emit('showModal', v);
  }

  _unmount() {
    super._unmount();
  }
}

window._fr_blocks['blocks-eventList.services'] = class EventService extends BlockClass {
  _mount() {
    super._mount();
  }

  openModal( v ) {
    this.page.store.emit('showModal', v);
  }

  _unmount() {
    super._unmount();
  }
}

window._fr_blocks['blocks-form.autocompleteInput'] = class AutocompleteInput extends BlockClass {
  _mount() {
    super._mount();

    this.off1 = this.page.store.on("click", (event) => {
      if (this.data.data.length > 0) {
        if (!this.root.contains(event.target)) {
          this.data.data = [];

          this.rerender();
        }
      }
    });
  }

  _unmount() {
    this.off1();
    super._unmount();
  }

  input(v, e) {
    this.data.params.query = e.target.value;

    if (this.data.params.query.length > 2) {
      this.search();
    } else if (this.data.params.query.length === 0) {
      this.data.data = [];
      this.rerender();
    }
  }

  fetchData = $.debounce(400, async () => {
    try {
      const params = this.data.params;
      const ws = this.page.store.get("ws");
      const res = await ws.rpc(this.data.command, {
        list_name: this.data.list,
        limit: this.data.limit,
        ...params,
      });

      this.data.data = res.data;
    } catch (error) {
      this.page.store.emit("api-error", {
        command: "some command",
        error,
      });
    } finally {
      this.data.loading = false;
      this.rerender();
    }
  });

  async search() {
    if (this.loading) return;

    this.data.loading = true;
    this.rerender();

    this.fetchData();
  }

  init() {
    super.init();

    !this.data.data && (this.data.data = []);
    !this.data.limit && (this.data.limit = 10);
    !this.data.params && (this.data.params = {});
    !this.data.loading && (this.data.loading = false);
  }

  select(item) {
    this.data.selected = item;
    this.data.data = [];
    this.data.params.query = "";

    this.rerender();

    this.parent[`select${this.data.name}`] &&
      this.parent[`select${this.data.name}`](this.data.selected);
  }

  edit() {
    this.data.params.query = this.data.itemExtractor(this.data.selected);
    this.data.selected = void 0;
    this.search();

    this.page.nextTick(() => {
      this.refs._.input.elm.selectionStart = this.data.params.query.length;
    });
  }

  clear() {
    this.data.selected = void 0;
    this.data.params.query = "";
    this.rerender();

    this.parent[`select${this.data.name}`] &&
      this.parent[`select${this.data.name}`](this.data.selected);
  }
}


window._fr_blocks['blocks-ImageCropper'] = class ImageCropperBlock extends BlockClass {
  _mount(state) {
    super._mount(state);

    const defOptions = {
      aspectRatio: 16 / 10,
      autoCropArea: 1,
    };

    this.off1 = this.page.store.on("OpenImageCropper", (payload) => {
      this.data.file = payload.file;
      this.data.callback = payload.callback;
      this.data.options = payload.options || defOptions;
      this.rerender();
    });

    if (this.data.file) this.startCrop();
  }

  startCrop() {
    const reader = new FileReader();

    reader.onload = (e) => {
      let img = this.getElement("img").get(0);

      img.id = "image";
      img.src = e.target.result;
      this.cropper = new Cropper(img, { ...this.data.options });
    };

    reader.readAsDataURL(this.data.file);
  }

  changeAspectRatio(v) {
    this.cropper.setAspectRatio(v);
  }

  flip(mode = "horizontal") {
    if (mode === "horizontal") {
      this.horizontalFlip = !this.horizontalFlip;
    } else {
      this.verticalFlip = !this.verticalFlip;
    }

    this.cropper.scale(
      this.horizontalFlip ? 1 : -1,
      this.verticalFlip ? 1 : -1
    );
  }

  reset() {
    this.cropper.reset();
  }

  rotate(v) {
    this.cropper.rotate(v);
  }

  cancel() {
    this.data.file = void 0;
    this.selector.html("");
  }

  save() {
    let imgSrc = this.cropper.getCroppedCanvas({
      width: 1080,
    });

    this.data.callback && this.data.callback(imgSrc);
    this.cancel();
  }

  _unmount() {
    super._unmount();
    this.off1();
  }
}


window._fr_blocks['blocks-list'] = class List extends BlockClass {
  _mount() {
    super._mount();

    this.searchOff = this.page.store.on("search", (q) => {
      this.search(q);
    });
  }

  elementIsVisibleInViewport(el = this.refs.end, partiallyVisible = true) {
    const { top, left, bottom, right } = el.getBoundingClientRect();
    const { innerHeight, innerWidth } = window;

    return partiallyVisible
      ? ((top > 0 && top < innerHeight) ||
          (bottom > 0 && bottom < innerHeight)) &&
          ((left > 0 && left < innerWidth) || (right > 0 && right < innerWidth))
      : top >= 0 && left >= 0 && bottom <= innerHeight && right <= innerWidth;
  }

  init() {
    super.init();

    console.log("list init");

    !this.data.data && (this.data.data = []);
    !this.data.offset && (this.data.offset = 0);
    !this.data.limit && (this.data.limit = 10);
    !this.data.params && (this.data.params = {});
    !this.data._end && (this.data._end = false);
    !this.data.loading && (this.data.loading = false);

    this.fetchData();
  }

  getNext() {
    if (this.data._end) {
      return alert("end");
    }

    this.fetchData();
  }

  async search(q) {
    this.data.offset = 0;
    this.data.loading = false;
    this.data.data = [];
    this.data._end = false;
    this.data.params.query = !q ? void 0 : q;

    this.init();
  }

  filter(cb) {
    const nd = this.data.data.filter(cb);

    if (nd.length !== this.data.data.length) {
      this.data.data = nd;
      this.rerender();

      return true;
    }

    return false;
  }

  async fetchData() {
    this.data.loading = true;
    try {
      const params = this.data.params;

      const res = await this.page.store.get("ws").rpc(this.data.command, {
        list_name: this.data.list,
        limit: this.data.limit,
        offset: this.data.offset,
        ...params,
      });

      this.data.data.push(...res.data);
      this.data.total = res.total;
      this.data.inited = true;
      this.data.offset += res.data.length;

      if (res.data.length < this.data.limit) {
        this.data._end = true;
      }

      this.data.loading = false;
      this.rerender();
    } catch (error) {
      this.page.store.emit("api-error", {
        command: this.data.command,
        error,
      });
    } finally {
    }
  }

  rerender() {
    super.rerender();

    if (this.data.autoLoad) {
      this.testEnd();
    }
  }

  testEnd = () => {
    if (
      !this.data._end &&
      !this.data.loading &&
      this.elementIsVisibleInViewport()
    ) {
      this.getNext();
    }
  };

  _unmount() {
    this.searchOff();
    super._unmount();
  }

  insert(item) {
    this.data.data.unshift(item);

    this.rerender();
  }

  rowClick(v) {
    this.parent.tableRowClick && this.parent.tableRowClick(v);
  }
}


window._fr_blocks['blocks-loaderBar'] = class LoaderBar extends BlockClass {
  _mount() {
    super._mount();
    this.bar = this.getElement("loaderBar");
    this.progress = this.getElement("loaderBarProgress");
    this.show = false;
    this.off = this.page.store.on("progress", ({ progress }) => {
        this.progress.css({width:`${progress}%`});

        if (this.show === false && progress >= 0){
            this.show = true;
            this.bar.show();
        } else if (this.show && progress === 100){
            this.show = false;
            setTimeout(() => {
                this.bar.hide();
            },50)
        }
    });
  }

  _unmount() {
    this.off();
    super._unmount();
  }
}


window._fr_blocks['blocks-MediaBlocks.Audio'] = class Audio extends BlockClass {
  _mount(state) {
    super._mount(state);
    this.playing = false;
    this.audioWrapper = this.getElement("lessonBlockAudio");
    this.audio = this.audioWrapper.get(0);
    this.btn = this.getElement("lessonBlockAudioBtn");
    this.btn.on("click", () => this.togglePlay());

    this.getElement('lessonBlockAudioline').on("change", (event) => {
        const time = this.audio.duration * (+event.target.value / 100);
        this.audio.currentTime = time;
    });

    this.audio.onloadedmetadata = () => {
        this.getElement('lessonBlockAudioTime').text(this.mmss(this.audio.duration * 1000))
    };

    this.audio.ontimeupdate = (event) => {
        const proc = (event.target.currentTime / event.target.duration) * 100;
        this.getElement('lessonBlockAudioline').val(proc);
    };

    this.audio.onpause = () => {
      this.page.store.emit("audio", {
        event: "pause",
        value: this.state.responseState.value,
      });

      this.getElement("lessonBlockAudioImgPlay").show();
      this.getElement("lessonBlockAudioImgPause").hide();
    };

    this.audio.onplay = () => {
      this.page.store.emit("audio", {
        event: "play",
        value: this.state.responseState.value,
      });

      this.getElement("lessonBlockAudioImgPlay").hide();
      this.getElement("lessonBlockAudioImgPause").show();
    };

    this.off = this.page.store.on('audio', ({event, value}) => {
        if (event === 'play' && value._id !== this.state.responseState.value._id){
            this.pause();
        }
    })
  }

  mmss(ms) {
    if (ms > 3600000) {
      return new Date(ms).toISOString().substr(11, 8);
    } else {
      return new Date(ms).toISOString().substr(14, 5);
    }
  }

  togglePlay() {
    if (this.playing) {
      this.pause();
    } else {
      this.play();
    }
  }

  play() {
    this.playing = true;
    this.audio.play();
  }

  pause() {
    this.playing = false;
    this.audio.pause();
  }

  _unmount() {
    super._unmount();
    this.off();
    this.audio.onloadedmetadata = void 0;
    this.audio.onpause = void 0;
    this.audio.ontimeupdate = void 0;
    this.audio.onplay = void 0;
  }
}


window._fr_blocks['blocks-MediaBlocks.Photo'] = class PhotoBlock extends BlockClass {
  _mount() {
    super._mount();
    if (this.data.disableZoom) return;

    this.zoom = mediumZoom(this.getElement("lessonBlockImg").get(0), {
      container: {
        width:
          window.innerWidth + (this.page.store.get("o.slam", true) ? 360 : 0),
      },
    });

    this.off = this.page.store.on("o.slam", () => {
      this.zoom.update({
        container: {
          width:
            window.innerWidth +
            (this.page.store.get("o.slam", true) &&
            !this.page.state.context.isMobile
              ? 360
              : 0),
        },
      });
    });

    this.off2 = this.page.store.on("resize", () => {
      this.zoom.update({
        container: {
          width:
            window.innerWidth +
            (this.page.store.get("o.slam", true) &&
            !this.page.state.context.isMobile
              ? 360
              : 0),
        },
      });
    });
  }

  _unmount() {
    if (!this.data.disableZoom) {
      this.zoom.detach();
      this.off();
      this.off2();
    }
    super._unmount();
  }
}


window._fr_blocks['blocks-MediaBlocks.Video'] = class VideoBlock extends BlockClass {
  _mount() {
    super._mount();
  }

  _unmount() {
    super._unmount();
  }

  play(){
    this.data.show = true;

    this.rerender();
  }

  close(){
    this.data.show = false;

    this.rerender();
  }
}


window._fr_blocks['blocks-menu'] = class LeftMenu extends BlockClass {
  newMessagwAudio = new Audio('/audio/message.mp3');

  _mount() {
    super._mount();

    this.data.me = this.page.store.get('me');
    // this.data.common_new_chat_count = this.page.store.get('notify_counters.common_new_chat_count');
    // this.data.my_open_sessions = this.page.store.get('notify_counters.my_open_sessions');
    // this.data.new_chat_count = this.page.store.get('notify_counters.new_chat_count');
    // this.data.new_request_count = this.page.store.get('notify_counters.new_request_count');
    // this.data.open_request_count = this.page.store.get('notify_counters.open_request_count');

    this.off1 = this.page.store.on('me', ({ next }) => {
      this.data.me = next;
      this.rerender();
    });


    this.off2 = this.page.store.on("notify_counters", ({ next, prev }) => {
      let needRender = false;
      let needPlayAudio = false;

      if (this.data.common_new_chat_count != next.common_new_chat_count) {
        this.data.common_new_chat_count = next.common_new_chat_count;
        needRender = true;
      }

      if (this.data.common_new_chat_count > 0) {
        needPlayAudio = true;
      }

      if (this.data.my_open_sessions != next.my_open_sessions) {
        this.data.my_open_sessions = next.my_open_sessions;
        needRender = true;
      }


      if (this.data.new_chat_count != next.new_chat_count) {
        this.data.new_chat_count = next.new_chat_count;
        needRender = true;
      }


      if (this.data.new_request_count != next.new_request_count) {
        this.data.new_request_count = next.new_request_count;
        needRender = true;
      }


      if (+this.data.open_request_count != +next.open_request_count) {
        this.data.open_request_count = next.open_request_count;
        needRender = true;
      }

      if (needPlayAudio) {
        try {
          this.newMessagwAudio.play();

        } catch (r) {
        } finally { }
      }

      if (needRender) {
        this.rerender();
      }

    });

    this.off3 = this.page.store.on('location_changed', ({ href }) => {
      this.data.url = href.substr(1);

      this.rerender();
    });

    this.timer = setInterval(() => this.getCounters(), 5000);
  }

  init() {
    this.getCounters();
    super.init()
  }

  async getCounters() {
    try {
      const res = await this.page.store.get('ws').rpc('users.getUpdates', {});

      this.page.store.memorize("notify_counters", res);
    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'users.getUpdates',
        error
      })
    }
  }


  _unmount() {
    this.off1();
    this.off2();
    this.off3();
    clearTimeout(this.timer)
    super._unmount();
  }

  events() {
    this.data.step = undefined;

    this.rerender();
  }

  bills() {
    this.data.step = 'bills';

    this.rerender();
  }

  requests() {
    this.data.step = 'chats';

    this.rerender();
  }

  requests() {
    this.data.step = 'requests';

    this.rerender();
  }

  news() {
    this.data.step = 'news';

    this.rerender();
  }

  services() {
    this.data.step = 'services';

    this.rerender();
  }

  partners() {
    this.data.step = 'partners';

    this.rerender();
  }

  templates() {
    this.data.step = 'operators';

    this.rerender();
  }

  templates() {
    this.data.step = 'privileges';

    this.rerender();
  }

  templates() {
    this.data.step = 'management';

    this.rerender();
  }

  async deauth() {
    try {
      const res = await this.page.store.get('ws').rpc('users.deauth', {});

      this.page.store.clear("authorizationToken", res.token);
      deleteCookie('token');

      this.page.store.assign("o", { _id: void 0 });


      this.page.router.goTo('/');
    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'users.deauth',
        error
      })
    }
  }


  goToOpenSession() {
    this.page.router.goTo('/chats', { type: 'my' })
  }

  goToOpenChat() {
    this.page.router.goTo('/chats', { type: 'my' })
  }

  goToOpenRequest() {
    this.page.router.goTo('/requests', { type: 'new' })
  }

  goToMyRequest() {
    this.page.router.goTo('/requests', { type: 'processing' })

  }

  goToNewChat() {
    this.page.router.goTo('/chats', { type: 'new' })
  }

}

window._fr_blocks['blocks-modalUniversal.empty'] = class ModalAgree extends BlockClass {
  _mount() {
    super._mount();
  }

  show(data) {
    this.data = data;

    this.data.show = true;

    this.rerender();
  }

  hide() {
    this.data = { show: false };

    this.rerender();
  }

  _unmount() {
    super._unmount();
  }

  success() {
    this.data.onSuccess && this.data.onSuccess();

    this.hide();
  }

  cancel() {
    this.data.onCancel && this.data.onCancel();

    this.hide();
  }

  fail() {
    this.data.onFailure && this.data.onFailure();

    this.hide();
  }
}

window._fr_blocks['blocks-modalUniversal.modalAgree'] = class ModalAgree extends BlockClass {
  _mount() {
    super._mount();
  }

  show(data) {
    this.data = data;

    this.data.show = true;

    this.rerender();
  }

  hide() {
    this.data = { show: false };

    this.rerender();
  }

  _unmount() {
    super._unmount();
  }

  success() {
    this.data.onSuccess && this.data.onSuccess();

    this.hide();
  }

  cancel() {
    this.data.onCancel && this.data.onCancel();

    this.hide();
  }

  fail() {
    this.data.onFailure && this.data.onFailure();

    this.hide();
  }
}

window._fr_blocks['blocks-navigation.back'] = class NavigationGoBackBlock extends BlockClass {
  goBack() {
    this.page.router.goBack();
  }
}

window._fr_blocks['blocks-notificationList'] = class NotificationList extends BlockClass {

  newMessagwAudio = new Audio('/audio/message.mp3');

  _mount() {
    super._mount();

    this.off1 = this.page.store.on('notification', (payload) => {
      this.addNotification(payload);
    });

    this.off2 = this.page.store.on('api-error', (payload) => {
      this.addNotification({
        title: payload.command,
        type: 'big',
        text: payload.error.message,
        mode: 'error',
        action1Text: 'В консоль',
        action1: () => {
          console.error(payload.error);
        },
      });
    });


    this.messageReciver = this.page.store.on('newMessage', (msg) => {     
      if (msg.type === 'request') {
        this.addNotification({
          title: 'Новый запрос',
          type: 'big',
          text: `<b>${msg.first_name} ${msg.last_name}</b>: ${msg.request.title}`,
          action1Text: 'Открыть запрос',
          action1: () => {
            this.page.router.goTo(`/requests/${msg.request._id}`);
          },
          action2:() => {},
          action2Text: 'Закрыть',
          timeout: 10000
        });
      } else {
        if ( /^\/chats\/(\d)/.test(this.page.router.currentHref)){
          const [,chatId] = this.page.router.currentHref.match(/^\/chats\/(\d*)/m)
          if (chatId == msg.cl_id) return;
        };

        this.addNotification({
          title: 'Новое сообщение',
          type: 'big',
          text: `<b>${msg.first_name} ${msg.last_name}</b>: ${msg.text}`,
          action1Text: 'Открыть чат',
          action1: () => {
            this.page.router.goTo(`/chats/${msg.cl_id}`);
          },
          action2Text: 'Закрыть',
          action2:() => {},
          timeout: 10000
        });

        this.newMessagwAudio.play();
      }
    });

  }

  data = {
    list: [],
  }

  addNotification(payload) {
    payload._id = this.page.utils.getUID();
    payload.exp = Date.now() + (payload.timeout || 5000);
    payload._new = true;

    this.data.list.push(payload);

    this.rerender();

    this.page.nextTick(() => {
      this.startScheduler();
      payload._new = void 0;
      const elm = this.selector.find(`[n-id=${payload._id}]`);

      elm.animate({
        opacity: 1,
        marginBottom: 0,
      }, 300, () => { });

    });
  }

  startScheduler() {
    if (this.timer) return;
    console.log('Стартуем планировщик')

    this.timer = setInterval(() => {
      this.testExp();
    }, 500)
  }

  testExp() {
    const t = Date.now();
    let needRemove;

    this.data.list = this.data.list.filter((n) => {
      if (needRemove) return true;
      if (n.exp > t) {
        return true
      }

      needRemove = n;

      return false;
    });

    if (needRemove) {
      this.removeNotification(needRemove._id);
    }

    if (this.data.list.length === 0) {
      this.stopScheduler();
    }
  }

  removeNotification(_id) {
    const elm = this.selector.find(`[n-id=${_id}]`);
    elm.animate({
      opacity: 0.25,
      left: "+=50",
      height: "toggle"
    }, 300, () => {
      this.rerender();
    });
  }

  stopScheduler() {
    clearInterval(this.timer)
    this.timer = null;

    console.log('Останавливаем планировщик')
  }

  action1(idx) {
    const fn = this.data.list[idx];

    if (fn && fn.action1) {
      fn.action1();

      this.data.list.splice(idx, 1);
      this.removeNotification(fn._id);

    }
  }

  action2(idx) {
    const fn = this.data.list[idx];

    if (fn && fn.action2) {
      fn.action2();

      this.data.list.splice(idx, 1);
      this.removeNotification(fn._id);

    }
  }

  action3(idx) {
    const fn = this.data.list[idx];

    this.data.list.splice(idx, 1);
    this.removeNotification(fn._id);
  }

  _unmount() {
    this.off1();
    this.off2();
    this.messageReciver();
    super._unmount();
  }
}

window._fr_blocks['blocks-online'] = class OnlineBadge extends BlockClass {
  _mount() {
    super._mount();

    this.off1 = this.page.store.on("clientOffline", (payload) => {
      if (this.data.cl_id != payload.cl_id) return;

      this.data.online = false;

      this.rerender();
    });

    this.off2 = this.page.store.on("clientOnline", (payload) => {
      if (this.data.cl_id != payload.cl_id) return;

      this.data.online = true;
      this.rerender();
    });
  }

  _unmount() {
    super._unmount();

    this.off1();
    this.off2();
  }
}


window._fr_blocks['blocks-operators.infoOperator'] = class OperatorInfo extends BlockClass {
  _mount() {
    super._mount();
  }

  changePassword() {
    this.refs.modalPass.show();
  }

  block() {
    this.refs.modal.show({
      title: 'Заблокировать доступ',
      text: 'Аккаунт оператора будет заблокирован — все сессии оператора будут закрыты и он не сможет авторизоваться используя свой логин - пароль',
      onFailureText: 'Заблокировать',
      onCancelText: 'Не блокировать',
      onFailure: () => {
        this.tryRemove();
      }
    })
  }

  async restore(_id, needGoTo = true) {
    this.page.store.emit('show_progress', true);

    try {
      const ws = this.page.store.get('ws');

      const res = await ws.rpc('users.restore', { _id });

      this.data.status = res.status;

      this.rerender();


      this.page.store.emit('notification', {
        text: 'Оператор восстановлен',
      });

    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'users.restore',
        error
      })
    } finally {
      this.page.store.emit('show_progress', false);
    }
  }


  async tryRemove() {
    try {
      this.page.store.emit('show_progress', true);
      const ws = this.page.store.get('ws');

      const res = await ws.rpc('users.remove', {
        _id: this.data._id,
      });

      this.data.status = res.status;

      this.rerender()


      this.page.store.emit('notification', {
        text: 'Оператор удален',
        action1Text: 'Восстановить',
        mode: 'error',
        action1: () => { this.restore(this.data._id, true) },
        timeout: 10_000
      });

    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'users.remove',
        error
      });
    } finally {
      this.page.store.emit('show_progress', false);
    }
  }

  closeSession(_id) {
    this.refs.modal.show({
      title: 'Закрыть сессию',
      text: 'Сессия оператора будут закрыта.',
      onFailureText: 'Закрыть',
      onCancelText: 'Не закрывать',
      onFailure: () => {
        this.tryCloseSession(_id);
      }
    })
  }

  async tryCloseSession(_id) {
    try {
      this.page.store.emit('show_progress', true);

      const ws = this.page.store.get('ws');

      await ws.rpc('users.deauthBySessionId', { session_id: _id });

      this.page.store.emit('notification', {
        text: 'Сессия закрыта',
      });

      this.refs.session_list.filter((session) => {
        return session._id !== _id;
      })

    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'users.deauthBySessionId',
        error
      })
    } finally {
      this.page.store.emit('show_progress', false);
    }
  }


  async tryCloseAllSession() {
    try {
      this.page.store.emit('show_progress', true);

      const ws = this.page.store.get('ws');

      await ws.rpc('users.deauthById', { _id: this.data._id });

      this.page.store.emit('notification', {
        text: 'Все сесии закрыты',
      });

      this.refs.session_list.filter((session) => {
        return false;
      })

    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'users.deauthById',
        error
      })
    } finally {
      this.page.store.emit('show_progress', false);
    }
  }

  closeAllSession(_id) {
    this.refs.modal.show({
      title: 'Закрыть все сессии',
      text: 'Все сессии оператора будут закрыты.',
      onFailureText: 'Закрыть',
      onCancelText: 'Не закрывать',
      onFailure: () => {
        this.tryCloseAllSession();
      }
    })
  }


  _unmount() {
    super._unmount();
  }
}

window._fr_blocks['blocks-operators.infoOperator.session'] = class UserSessionItem extends BlockClass {
  close(_id){
    this.parent.parent.closeSession(_id)
  }
}

window._fr_blocks['blocks-operators.infoOperContent.sessionItem'] = class RequestItem extends BlockClass {
  _mount() {
    super._mount();

  }

  goToMessage(v){
    this.page.router.goTo(`/chats/${this.data.cl_id}?msg=${this.data._id}&type=session`);
  }

  _unmount() {
    super._unmount();
  }
}

window._fr_blocks['blocks-operators.modalPass'] = class ChangePassworModal extends BlockClass {
  show() {
    this.data.visible = true;
    this.validate = this.page.utils.createCheckValidationFunction(this.getClass('input-invalid'), this);
    this.rerender();
  }

  hide() {
    this.data.visible = false;
    this.data.password = '';
    this.rerender();
  }

  async save() {
    if (this.data.password.length < 6) {
      return this.page.store.emit('notification', {
        text: 'Пароль должен быть минимум 6 символов',
        mode: 'error'
      });
    }

    try {
      this.page.store.emit('show_progress', true);
      const ws = this.page.store.get('ws');

      await ws.rpc('users.changePassword', { _id: this.data._id, new_password: this.data.password });

      this.page.store.emit('notification', {
        text: 'Пароль изменен',
      });

      this.hide();

    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'users.changePassword',
        error
      })
    } finally {
      this.page.store.emit('show_progress', false);
    }
  }

  gen() {
    console.log(1)
    this.data.password = Math.random().toString(36).slice(-8);

    this.rerender();
  }

  input(v, e) {
    this.data.password = e.target.value;
  }

  copy() {
    navigator.clipboard.writeText(this.data.password).then(
      () => {
        this.page.store.emit('notification', {
          text: 'Пароль скопирован в буфер обмена',
        });

      },
      () => {
        this.page.store.emit('notification', {
          text: 'Нет доступа к буферу обмена, скопируйте пароль в ручную',
          mode: 'error',
        });
      },
    );
  }
}

window._fr_blocks['blocks-partners.editContent'] = class partnerEditPage extends BlockClass {
    _mount() {
      super._mount();
      this.validate = this.page.utils.createCheckValidationFunction(this.getClass('input-invalid'), this);
    }
  
    changeText(v, e) {
        this.data.partner[v] = e.target.value;
    }

    async makaDate() {
      if (this.validate()){
        this.page.store.emit('show_progress', true);
    
        try {
          const imgLogo = await this.refs['logo'].uploadAndGetFileID();
          const img = await this.refs['preview'].uploadAndGetFileID();
    
          const data = {
            _id: this.data.partner._id === 'new' ? void 0 : this.data.partner._id,
            name: this.data.partner.name,
            director: this.data.partner.director,
            subtitle: this.data.partner.subtitle,
            description: this.data.partner.description,
            logo: imgLogo,
            img: img,
          }
    
          const ws = this.page.store.get('ws');
    
          const res = await ws.rpc('partner.upsert', data);
    
    
          if (this.data.partner._id === undefined) {
            this.page.router.goTo(`/partners/${res._id}/edit`);
    
            this.page.store.emit('notification', {
              text:'Партнёр добавлен',
            });
          } else {
            this.page.store.emit('notification', {
              text:'Партнёр изменён',
            });
          }
    
        } catch (error) {
          this.page.store.emit('api-error', {
            command: 'partner.upsert',
            error
          })
        } finally {
          this.page.store.emit('show_progress', false);
        }
      }
    }

    goBack() {
      if (this.data.partner._id === 'new') {
        this.page.router.goTo(`/partners`);
      } else {
        this.page.router.goTo(`/partners/${this.data.partner._id}`);
      }
    }

    remove() {
      this.refs.modal.show({
        title: 'Удаление партнёра',
        subtitle: 'Вы действительно хоитите удалть этого партнёра?',
        text: 'Полсле удаления партнёра он пропадёт из списка партнёров',
        onFailureText: 'Удалить',
        onCancelText: 'Отмена',
        onFailure: () => {
          this.tryRemove();
        }
      })
    }

    async tryRemove() {
      this.page.store.emit('show_progress', true);
  
      try {
        const ws = this.page.store.get('ws');
  
        const _id = this.data.partner._id;
  
        const res = await ws.rpc('partner.remove', { _id: +this.data.partner._id });
  
        this.page.router.goTo(`/partners`);
  
  
        this.page.store.emit('notification', {
          title:'Новость удалена',
          text: 'Отменить удаление новости',
          mode:'error',
          type:'big',
          action1Text: 'Восстановить',
          action1: () => {
            this.restore({_id})
          },
        });
  
      } catch (error) {
        this.page.store.emit('api-error', {
          command: 'partner.remove',
          error
        })
      } finally {
        this.page.store.emit('show_progress', false);
      }
    }

    async restore({_id}){
      this.page.store.emit('show_progress', true);
  
      try {
        const ws = this.page.store.get('ws');
  
        await ws.rpc('partner.restore', { _id });
  
        this.page.router.goTo(`/partners/${_id}/edit`);
  
  
        this.page.store.emit('notification', {
          text:'Партнёр восстановлен',
        });
  
      } catch (error) {
        this.page.store.emit('api-error', {
          command: 'partner.restore',
          error
        })
      } finally {
        this.page.store.emit('show_progress', false);
      }
    }
  
    _unmount() {
      super._unmount();
    }
}



window._fr_blocks['blocks-partners.editContent.preview'] = class NewsPreviewLogo extends BlockClass {
  _mount() {
    super._mount();
  }
  
  _unmount() {
    super._unmount();
  }
  _needUpload = false;

  change() {
    this.getElement('fileInput').click()
  }

  avatarChange(v, event) {
    const file = event.target.files[0];

    this.page.store.emit("OpenImageCropper", {
      file,
      options: {
        aspectRatio: 1 / 1,
        autoCropArea: 1,
      },
      callback: (img) => this.onFileCropped(img),
    });
  }

  async recrop() {
    const url = this.page.utils.makeImageUrl(this.data.img);
    let response = await fetch(url);
    let data = await response.blob();
    let metadata = {
      type: "image/jpeg",
    };
    let file = new File([data], "test.jpg", metadata);

    this.page.store.emit("OpenImageCropper", {
      file,
      callback: (img) => this.onFileCropped(img),
    });
  }

  onFileCropped(img) {
    this.data.width = img.width;
    this.data.height = img.height;
    this.data.img = img.toDataURL();

    this._needUpload = true;

    this.rerender(true);
  }

  async uploadAndGetFileID() {
    if (this._needUpload === false) return this.data.img;

    var blobBin = atob(this.data.img.split(",")[1]);
    var array = [];

    this.page.store.emit("progress", ({ progress: 10 }))

    const size = blobBin.length;

    for (var i = 0; i < blobBin.length; i++) {
      array.push(blobBin.charCodeAt(i));
    }

    var file = new Blob([new Uint8Array(array)], { type: "image/jpeg" });

    const ws = this.page.store.get('ws');

    const res = await ws.rpc('file.getUploadUrl', {
      content_type: file.type,
      origin_uri: 'some_path.jpg'
    });

    await this.page.utils.uploadBinaryFile({
      upload_url: res.upload_url,
      content_type: file.type,
      file: file,
      onProgress: progress => {
        this.page.store.emit("progress", ({ progress }));
      }
    });

    this.page.store.emit("progress", ({ progress: 100 }));

    return {
      content_type: file.type,
      filename: res.filename,
      height: this.data.height,
      size,
      storage_bucketname: res.storage_bucketname,
      storage_endpoint: res.storage_endpoint,
      type: file.type,
      uri: res.filename,
      url: res.filename,
      width: this.data.width,
    };
  }

  remove() {
    this.data.img = void 0;

    this.rerender();
  }
}

window._fr_blocks['blocks-programNeedDelete'] = class Ivent extends BlockClass {
  _mount(){
    super._mount();
  }
  _unmount(){
    super._unmount();
  }
  
  tabBusiness() {
    this.data.step = undefined;

    this.rerender();
  }

  tabCulture() {
    this.data.step = 'tab_cultural';

    this.rerender();
  }

  tabPartners() {
    this.data.step = 'tab_partners';

    this.rerender();
  }
}

window._fr_blocks['blocks-progress'] = class Progress extends BlockClass {
  _mount() {
    super._mount();

    this.off1 = this.page.store.on('show_progress', (s) => {
      if (this.data.show !== s) {
        this.data.show = s;
        this.rerender();
      }
    })
  }

  _unmount() {
    this.off1();
    super._unmount();
  }
}


window._fr_blocks['blocks-requests.form.CounterInput'] = class RequestFormCounterInput extends BlockClass {
  input(v, e) {
    this.data.value = e.target.value;
    this.parent.valueChanged &&
      this.parent.valueChanged(this.data.name, this.data.value);
  }
}


window._fr_blocks['blocks-requests.form.DataPicker'] = class RequestFormDataPicker extends BlockClass {
  input(v, e) {
    this.data.value = e.target.value;
    this.parent.valueChanged &&
      this.parent.valueChanged(this.data.name, this.data.value);
  }
}


window._fr_blocks['blocks-requests.form'] = class RequestForm extends BlockClass {
  init() {
    super.init();
    this.fetchData();
  }

  async fetchData() {
    if (this.data.request_template) {
      this.data.loaded = true;
      this.rerender();
      return;
    }
    try {
      const ws = this.page.store.get("ws");

      const [rawRequest] = await Promise.all([
        this.data.template_id
          ? ws.rpc("request_template.getList", {
              params: { _id: this.data.template_id },
            })
          : Promise.resolve({ data: [] }),
      ]);

      this.data = {
        ...this.data,
        request_template: rawRequest.data[0],
        loaded: true,
      };

      this.rerender();
    } catch (error) {
      this.page.store.emit("api-error", {
        command: "service.getEntity",
        error,
      });
    }
  }

  compiteTemplate(template, payload) {
    const arr = template?.split(/{(.+?)}/g);
    return arr
      ?.map((key) => {
        if (payload && payload[key]) {
          return payload[key];
        } else {
          return key;
        }
      })
      .join("");
  }

  getData() {
    return {
      service_id: this.data?._id,
      service_title: this.data.name,
      title: this.data.request_template.title,
      text: this.compiteTemplate(
        this.data.request_template.template,
        this.data.request_template.payload
      ),
      payload: this.data.request_template.payload,
      template_id: this.data.request_template._id,
      template: this.data.request_template.template
    };
  }
  valueChanged(name, value) {
    this.data.request_template.payload[name] = value;

    const f = this.data.request_template.fields.find(
      (item) => item.name === name
    );

    this.parent.updaterequestTemplate(this.data.request_template);

    f && (f.value = value);

    this.rerender();
  }
}


window._fr_blocks['blocks-requests.form.SelectPicker'] = class RequestFormSelectPicker extends BlockClass {
  selectFormSelect(v) {
    this.data.value = v;

    this.parent.valueChanged &&
      this.parent.valueChanged(this.data.name, this.data.value);
  }
}


window._fr_blocks['blocks-requests.form.TextInput'] = class RequestFormTextInput extends BlockClass {
  input(v, e) {
    this.data.value = e.target.value;
    this.parent.valueChanged &&
      this.parent.valueChanged(this.data.name, this.data.value);
  }
}


window._fr_blocks['blocks-requests.notes.input'] = class NotesInput extends BlockClass {
  _mount() {
    super._mount();

  }

  add() {
    this.data.showInput = true;

    this.rerender();

    this.page.nextTick(() => {
      this.refs._.changeText.elm.focus();
      this.refs._.changeText.elm.scrollIntoView();
    })
  }


  close() {
    this.data.showInput = false;

    this.rerender();
  }


  changeText(v, e) {
    this.data.text = e.target.value;
  }

  async save() {
    try {
      const ws = this.page.store.get('ws');
      const res = await ws.rpc('request.upsertNote', { 
        text: this.data.text, 
        rq_id: this.data.rq_id, 
        _id: this.data._id 
      });

      this.data.text = '';
      this.data.showInput = false;

      this.parent.addNewNote(res);


      this.rerender();
    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'request.upsertNote',
        error
      });
    } finally {
    }
  }

  _unmount() {
    super._unmount();
  }
}

window._fr_blocks['blocks-requests.notes.item'] = class NotesItem extends BlockClass {
  _mount() {
    super._mount();

  }

  edit() {
    if (this.data.usr_id == this.page.state.context.options._id) {
      this.data.startEdit = true;
      this.rerender();
    }
  }


  changeText(v, e) {
    this.data.text = e.target.value;
  }

  close() {
    this.data.startEdit = false;
    this.rerender();
  }

  async save() {
    try {
      const ws = this.page.store.get('ws');
      const res = await ws.rpc('request.upsertNote', {
        text: this.data.text,
        _id: +this.data._id
      });

      this.data.startEdit = false;

      this.rerender();

    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'request.upsertNote',
        error
      });
    } finally {
    }
  }

  async remove(note) {
    try {
      const ws = this.page.store.get('ws');
      await ws.rpc('request.removeNote', {
        _id: +note._id
      });


      this.page.store.emit('removeNote', note);

    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'request.upsertNote',
        error
      });
    } finally {
    }
  }

  _unmount() {
    super._unmount();
  }
}

window._fr_blocks['blocks-requests.notes'] = class ClientInfo extends BlockClass {
  _mount() {
    super._mount();

    this.off1 = this.page.store.on('removeNote', note => {
      this.refs.list.data.data =  this.refs.list.data.data.filter(n => n._id != note._id)
      this.refs.list.rerender();
    })
  }

  addNewNote(note){
    this.refs.list.data.data.unshift(note);
    this.refs.list.rerender();

    this.page.nextTick(() => {
      const res = this.selector.find(`[n-id=${note._id}]`);

      if (res.length > 0){
        res.get(0).scrollIntoView({ behavior: "smooth", block: "center", inline: "nearest" });
      }
    })
  }

  _unmount() {
    this.off1();
    super._unmount();
  }
}

window._fr_blocks['blocks-requests.requestsModal.requestAdd'] = class RequestModalAdd extends BlockClass {
  _mount() {
    super._mount();
  }

  changeInitiator({ value }) {
    this.data.initiator = value;
  }

  onTextChange(v, e) {
    this.data[v] = e.target.value;
  }

  getData() {
    return {
      comment: this.data.comment,
    };
  }

  canSelectService() {
    this.data.select_service = true;

    this.rerender();
  }

  selectClient(client) {
    this.data.client = client;

    if (!client) {
      this.data.select_service = false;
      this.data.service = void 0;
    }

    this.rerender();
  }

  cancelSelectService() {
    this.data.select_service = false;

    this.rerender();
  }

  selectUser(user) {
    this.data.user = user;
    this.rerender();
  }

  selectService(service) {
    this.data.service = service;

    if (service) {
      this.data.title = service.name;
    }

    this.rerender();
  }

  take() {
    this.data.user = this.page.store.get("me");

    this.rerender();
  }

  getData() {
    let formData = {};
    if (this.refs.form) {
      formData = this.refs.form.getData();
    }

    const payload = {
      usr_id: this.data?.user?._id,
      cl_id: this.data?.client?._id,
      msg_id: this.data?.message?._id,
      text: this.data.text,
      service_id: this.data?.service?._id,
      title: this.data.title,
      initiator: this.data.initiator || "calls",
      ...formData,
    };

    return this.createRequest(payload);
  }

  async createRequest(payload) {
    try {
      this.page.store.emit("show_progress", true);
      const ws = this.page.store.get("ws");
      const res = await ws.rpc("request.upsert", payload);

      this.page.store.emit("notification", {
        text: "Запрос создан",
        action1Text: "Перейти",
        action1: () => {
          this.page.router.goTo(`/requests/${res._id}`);
        },
      });

      return res;
    } catch (error) {
      this.page.store.emit("api-error", {
        command: "request.upsert",
        error,
      });
    } finally {
      this.page.store.emit("show_progress", false);
      this.parent.close();
    }
  }

  updaterequestTemplate(request_template) {
    this.data.service.request_template = request_template;
  }

  _unmount() {
    super._unmount();
  }
}


window._fr_blocks['blocks-requests.requestsModal.requestCanceled'] = class RequestModalCancel extends BlockClass {
  _mount() {
    super._mount();
  }

  onTextChange(v,e){
    this.data.comment = e.target.value;
  }

  getData(){
    return {
      comment: this.data.comment
    }
  }

  _unmount() {
    super._unmount();
  }
}

window._fr_blocks['blocks-requests.requestsModal.requestCompleted'] = class RequestModalCompleted extends BlockClass {
  _mount() {
    super._mount();
  }

  onTextChange(v,e){
    this.data.comment = e.target.value;
  }

  getData(){
    return {
      comment: this.data.comment
    }
  }

  _unmount() {
    super._unmount();
  }
}

window._fr_blocks['blocks-requests.requestsModal.requestConfirm'] = class RequestModalConfirm extends BlockClass {
  _mount() {
    super._mount();
  }

  onTextChange(v,e){
    this.data.comment = e.target.value;
  }

  getData(){
    return {
      comment: this.data.comment
    }
  }

  _unmount() {
    super._unmount();
  }
}

window._fr_blocks['blocks-requests.requestsModal'] = class RequestModal extends BlockClass {
  _mount() {
    super._mount();
    this.validate = this.page.utils.createCheckValidationFunction(this.getClass('input-invalid'), this);

    this.off1 = this.page.store.on('open_request', (payload) => {
      this.data = {...this.data, ...payload};
      this.data.visible = true;
      this.data.request = payload.request;
      this.data.mode = payload.mode;
      this.confirmHandler = payload.confirm;
      this.cancelHandler = payload.cancel;

      this.rerender();
    });

    this.off2 = this.page.store.on('close_request', (payload) => {
     this.close();
    });
  }

  close(){
    this.data.visible = false;
    this.data.request = void 0;
    this.data.mode = void 0;

    this.cancelHandler  &&  this.cancelHandler();
    this.rerender();
  }

  init() {
    super.init();
  }

  
  confirm(){
    if (this.validate()){
      const data = this.refs.content.getData();
      this.confirmHandler && this.confirmHandler(data);
    }
  }

  _unmount() {
    super._unmount();

    this.off1();
    this.off2();
  }
}

window._fr_blocks['blocks-search'] = class SearchBlock extends BlockClass {
  _mount() {
    super._mount();

  }

  enter(v, e) {
    this.data.query = e.target.value;

    if (e.key === 'Enter') {
      if (!e.target.value)
          return this.close()

      this.page.store.emit('search', e.target.value);
    }
  }

  open() {
    this.data.open = true;

    this.rerender();

    this.page.nextTick(() => {
      this.refs._.enter.elm.focus();
    });
  }
  
  close(){
    this.data.open = false;
    this.page.store.emit('search', void 0);
    this.rerender();
  }

  _unmount() {
    super._unmount();
  }
}

window._fr_blocks['blocks-select_50'] = class Select extends BlockClass {
  hasError = false;

  _mount(state) {
    super._mount(state);

    // this.getElement("block-select-item").on("click", (event) => {

    // });

    this.list = this.getElement("block-select-list");
    this.listh = this.getElement("blockSelectScroll");
    this.title = this.getElement("block-select-first");

    // this.root.style.position = 'relative';

    this.getElement("block-select-container").on("click", (event) => {
      if (this.data.disabled) return;

      event.stopPropagation();
      this.show();
    });
  }

  select(v, event){
      if (this.data.disabled) return;

      if (this.hasError) {
        this.unsetError();
      }

      const val = $(event.target).attr("value");
      this.page.store.emit(`${this.name}-${this.state.key}`, val);
      
      this.data.selected = val;

      this.parent[`select${this.data.key}`] && this.parent[`select${this.data.key}`](val)

      this.title.html($(event.target).html());
  }

  
  getValue(){
    return this.data.selected;
  }

  show() {
    // this.list.fadeIn( "fast" );
    // window.innerHeight

    const pos = this.getElement("block-select-container")
      .get(0)
      .getBoundingClientRect();

    const maxH = 44 * this.data.items.length;
    const h = ( (window.innerHeight - pos.top - 40 - 60) > 400) ? 400 : (window.innerHeight - pos.top - 40 - 60);

    this.listh.css({
      "overflow-y": maxH > h ? "scroll" : "auto",
      "max-height": `${h}px`,
    });

    this.list.animate(
      {
        height: ["show", "swing"],
      },
      5,
      "linear"
    );

    // overflow-y: scroll;
    $(this.page.root).one("click", () => {
      this.hide();
    });
  }

  hide() {
    // this.list.fadeOut( "fast" );
    this.list.animate(
      {
        height: ["hide", "swing"],
      },
      5,
      "linear"
    );
  }

  _unmount() {
    super._unmount();
  }

  setError() {
    this.hasError = true;

    this.getElement("block-select-container").addClass(this.getClass("error"));
  }

  unsetError() {
    this.hasError = false;

    this.getElement("block-select-container").removeClass(
      this.getClass("error")
    );
  }
}


window._fr_blocks['blocks-tab'] = class OrgTabBlock extends BlockClass {
    _mount() {
      super._mount();

    }

    
    change(v,e){
      if (this.data.selected === v.value) return;
     this.data.selected = v.value;
     this.rerender();
     this.page.store.emit(this.data.name, v);

     if (this.parent[`change${this.data.name}`]){
      this.parent[`change${this.data.name}`](v)
     }
    }

  
    _unmount() {
      super._unmount();  
    }
  }

window._fr_blocks['blocks-table'] = class Table extends BlockClass {
  _mount() {
    super._mount();

    $(this.refs.body).on("scroll", this.testEnd);

    this.searchOff = this.page.store.on("search", (q) => {
      this.search(q);
    });
  }

  elementIsVisibleInViewport(el = this.refs.end, partiallyVisible = true) {
    const { top, left, bottom, right } = el.getBoundingClientRect();
    const { innerHeight, innerWidth } = window;

    return partiallyVisible
      ? ((top > 0 && top < innerHeight) ||
          (bottom > 0 && bottom < innerHeight)) &&
          ((left > 0 && left < innerWidth) || (right > 0 && right < innerWidth))
      : top >= 0 && left >= 0 && bottom <= innerHeight && right <= innerWidth;
  }

  init() {
    super.init();

    !this.data.data && (this.data.data = []);
    !this.data.offset && (this.data.offset = 0);
    !this.data.limit && (this.data.limit = 10);
    !this.data.params && (this.data.params = {});
    !this.data._end && (this.data._end = false);
    !this.data.loading && (this.data.loading = false);

    this.fetchData();
  }

  insert(item) {
    this.data.data.unshift(item);

    this.rerender();
  }

  getNext() {
    if (this.data._end) {
      return alert("end");
    }

    this.fetchData();
  }

  async search(q) {
    this.data.offset = 0;
    this.data.loading = false;
    this.data.data = [];
    this.data._end = false;
    this.data.params.query = !q ? void 0 : q;

    this.init();
  }

  async fetchData() {
    this.data.loading = true;
    try {
      const params = this.data.params;

      const res = await this.page.store.get("ws").rpc(this.data.command, {
        list_name: this.data.list,
        limit: this.data.limit,
        offset: this.data.offset,
        ...params,
      });

      this.data.data.push(...res.data);
      this.data.total = res.total;
      this.data.inited = true;
      this.data.offset += res.data.length;

      if (res.data.length < this.data.limit) {
        this.data._end = true;
      }

      this.data.loading = false;
      this.rerender();
    } catch (error) {
      this.page.store.emit("api-error", {
        command: this.data.command,
        error,
      });

      this.data.loading = false;
      this.data._end = true;
      this.data.error = error.message;
      this.rerender();
    } finally {
    }
  }

  rerender() {
    super.rerender();

    this.testEnd();
  }

  testEnd = () => {
    if (
      !this.data._end &&
      !this.data.loading &&
      this.elementIsVisibleInViewport()
    ) {
      this.getNext();
    }
  };

  _unmount() {
    $(this.refs.body).off("scroll", this.testEnd);
    this.searchOff();
    super._unmount();
  }

  rowClick(v) {
    this.parent.tableRowClick && this.parent.tableRowClick(v);
  }
}


window._fr_blocks['blocks-tabTwo'] = class OrgTabBlock extends BlockClass {
    _mount() {
      super._mount();

    }

    
    change(v,e){
      if (this.data.selected === v.value) return;
     this.data.selected = v.value;
     this.rerender();
     this.page.store.emit(this.data.name, v);

     if (this.parent[`change${this.data.name}`]){
      this.parent[`change${this.data.name}`](v)
     }
    }

  
    _unmount() {
      super._unmount();  
    }
  }

window._fr_blocks['blocks-templates.icons'] = class Icons extends BlockClass {

  select(name, e) {
    // this.data.selected = name;

    // this.rerender();

    this.page.nextTick(() => {
      this.parent.changeIcon(name)
    })
  }
}


window._fr_blocks['blocks-templates.inputs.CounterInput'] = class CounterInput extends BlockClass {
    init() {
        super.init();

        this.data.required = this.data.field.joi.includes('required');

        if (!this.data.field.component.props) {
            this.data.field.component.props = {
                keyboardType: "number-pad"
            };
        }

        this.page.nextTick(() => {
            this.rerender()
        })
    }

    deletSelect(v) {
        this.parent.parent.removeIndex(v);
    }
    
    resetSelect() {
        if ( this.validatePersonal() ) {
            this.parent.parent.data.selectedField = void 0;
            this.parent.parent.rerender();
        }
    }

    changeIcon(name) {
        if (!this.data.field.icon)
            this.data.field.icon = {};

        this.data.field.icon.name = name;
        this.updateField()
    }

    change({ key }, e) {
        const t = e.target.value;
        this.data.field[key] = t;

        this.updateField()
    }

    changeComponentProp({ key }, e) {
        const t = e.target.value;
        this.data.field.component[key] = t;

        this.updateField()
    }


    changeRequiredSwitch(v, e) {
        this.data.required = !!e.target.checked;
        this.updateField();
    }

    validatePersonal() {
        const name = !this.data.field.name ? "- техническое название <br>" : "" ;
        const label = !this.data.field.label ? "- название поля <br>" : "" ;

        if ( name + label === "" ) {
            return true;
        } else {
            this.page.store.emit("notification", {
                text: `Не заполнены следующие поля в блоке №${this.data.selectedIndex + 1}: <br> ${name} ${label}`,
                mode:'error',
                timeout:30000,
            });
            return false;
        }
    }

    select_type(v) {
        this.data.field.name = v;
    }

    updateField() {
        const joi = ['number'];

        if (this.data.required) {
            joi.push('required');
        }

        this.parent.parent.updateField({
            index: this.data.selectedIndex,
            field: {
                name: this.data.field.name,
                icon: this.data.field.icon,
                label: this.data.field.label,
                value: this.data.field.value,
                joi: joi,
                component: this.data.field.component,

            }
        })
    }


    _mount() {
        super._mount();
        this.validate = this.page.utils.createCheckValidationFunction(this.getClass('input-invalid'), this);
    }

}


window._fr_blocks['blocks-templates.inputs.DataPicker'] = class FormTextInput extends BlockClass {
    init() {
        super.init();
        this.data.required = this.data.field.joi.includes('required');

        this.page.nextTick(() => {
            this.rerender()
        })
    }
    
    deletSelect(v) {
        this.parent.parent.removeIndex(v);
    }
    
    resetSelect() {
        if ( this.validatePersonal() ) {
            this.parent.parent.data.selectedField = void 0;
            this.parent.parent.rerender();
        }
    }
    
    changeIcon(name) {
        if (!this.data.field.icon)
            this.data.field.icon = {};

        this.data.field.icon.name = name;

        this.updateField()
    }

    change({ key }, e) {
        const t = e.target.value;

        if (['max_length','min_length'].includes(key)) {
            this.data[key] = t;
        } else {
            this.data.field[key] = t;
        }

        this.updateField()
    }

    changeDateMode({value}){
        this.data.field.component.props.mode = value;

        this.rerender()

        this.updateField();

    }

    changeDateFormat({value}){
        this.data.field.component.props.format = value;

        this.updateField();
    }

    changeRequiredSwitch(v, e) {
        this.data.required = !!e.target.checked;

        this.updateField();
    }

    validatePersonal() {
        const name = !this.data.field.name ? "- техническое название <br>" : "" ;
        const label = !this.data.field.label ? "- название поля <br>" : "" ;

        if ( name + label === "" ) {
            return true;
        } else {
            this.page.store.emit("notification", {
                text: `Не заполнены следующие поля в блоке №${this.data.selectedIndex + 1}: <br> ${name} ${label}`,
                mode:'error',
                timeout:30000,
            });
            return false;
        }
    }

    select_type(v) {
        this.data.field.name = v;
    }

    updateField() {
        const joi = ['date'];


        if (this.data.required){
            joi.push('required');
        }

        this.parent.parent.updateField({
            index: this.data.selectedIndex,
            field: {
                name: this.data.field.name,
                icon: this.data.field.icon,
                component: this.data.field.component,
                label: this.data.field.label,
                joi: joi,
            }
        });

        console.log('updateField')
    }


    _mount() {
        super._mount();
        this.validate = this.page.utils.createCheckValidationFunction(this.getClass('input-invalid'), this);
    }

}


window._fr_blocks['blocks-templates.inputs.Img'] = class FormTextInput extends BlockClass {
    init() {
        super.init();
        
        if (!this.data.field.component.props) {
            this.data.field.component.props = {};
        }

        this.page.nextTick(() => {
            this.rerender()
        })
    }

    deletSelect(v) {
        this.parent.parent.removeIndex(v);
    }

    resetSelect() {
        if ( this.validatePersonal() ) {
            this.parent.parent.data.selectedField = void 0;
            this.parent.parent.rerender();
        }
    }

    imageLoaded(img){
        this.data.field.value = img;
        this.updateField()
    }

    validatePersonal() {
        const img = !this.data.field.value ? "- изображение не загружено <br>" : "" ;

        if ( img === "" ) {
            return true;
        } else {
            this.page.store.emit("notification", {
                text: `Не заполнены следующие поля в блоке №${this.data.selectedIndex + 1}: <br> ${img}`,
                mode:'error',
                timeout:30000,
            });
            return false;
        }
    }

    updateField() {
        this.parent.parent.updateField({
            index: this.data.selectedIndex,
            field: {
                value: this.data.field.value,
            }
        });
    }


    _mount() {
        super._mount();
        this.validate = this.page.utils.createCheckValidationFunction(this.getClass('input-invalid'), this);
    }
}


window._fr_blocks['blocks-templates.inputs.Img.preview'] = class ServicePreview extends BlockClass {
  _mount() {
    super._mount();
  }
  
  _unmount() {
    super._unmount();
  }
  _needUpload = false;

  change() {
    this.getElement('fileInput').click()
  }

  avatarChange(v, event) {
    const file = event.target.files[0];

    this.page.store.emit("OpenImageCropper", {
      file,
      options: {
        aspectRatio: 1 / 1,
        autoCropArea: 1,
      },
      callback: (img) => this.onFileCropped(img),
    });
  }

  async recrop() {
    const url = this.page.utils.makeImageUrl(this.data.img);
    let response = await fetch(url);
    let data = await response.blob();
    let metadata = {
      type: "image/jpeg",
    };
    let file = new File([data], "test.jpg", metadata);

    this.page.store.emit("OpenImageCropper", {
      file,
      callback: (img) => this.onFileCropped(img),
    });
  }

  async onFileCropped(img) {
    this.data.width = img.width;
    this.data.height = img.height;
    this.data.img = img.toDataURL();

    this._needUpload = true;

   // this.rerender(true);

    const limg = await this.uploadAndGetFileID();

    this.parent.imageLoaded(limg);
  }

  async uploadAndGetFileID() {
    if (this._needUpload === false) return this.data.img;

    var blobBin = atob(this.data.img.split(",")[1]);
    var array = [];

    this.page.store.emit("progress", ({ progress: 10 }))

    const size = blobBin.length;

    for (var i = 0; i < blobBin.length; i++) {
      array.push(blobBin.charCodeAt(i));
    }

    var file = new Blob([new Uint8Array(array)], { type: "image/jpeg" });

    const ws = this.page.store.get('ws');

    const res = await ws.rpc('file.getUploadUrl', {
      content_type: file.type,
      origin_uri: 'some_path.jpg'
    });

    await this.page.utils.uploadBinaryFile({
      upload_url: res.upload_url,
      content_type: file.type,
      file: file,
      onProgress: progress => {
        this.page.store.emit("progress", ({ progress }));
      }
    });

    this.page.store.emit("progress", ({ progress: 100 }));

    return {
      content_type: file.type,
      filename: res.filename,
      height: this.data.height,
      size,
      storage_bucketname: res.storage_bucketname,
      storage_endpoint: res.storage_endpoint,
      type: file.type,
      uri: res.filename,
      url: res.filename,
      width: this.data.width,
    };
  }

  remove() {
    this.data.img = void 0;
this.parent.imageLoaded(void 0);
    this.rerender();
  }
}

window._fr_blocks['blocks-templates.inputs.Seporator'] = class FormTextInput extends BlockClass {
    init() {
        super.init();
        
        if (!this.data.field.component.props) {
            this.data.field.component.props = {};
        }

        this.page.nextTick(() => {
            this.rerender()
        })
    }

    change({ key }, e) {
        const t = e.target.value;

        if (['max_length', 'min_length'].includes(key)) {
            this.data[key] = t;
        } else {
            this.data.field[key] = t;
        }

        this.updateField()
    }

    validatePersonal() {
        return true;
    }

    updateField() {
        this.parent.parent.updateField({
            index: this.data.selectedIndex,
            field: {
                label: this.data.field.label,
                component: this.data.field.component,
            }
        });
    }

    deletSelect(v) {
        this.parent.parent.removeIndex(v);
    }

    resetSelect() {
        if ( this.validatePersonal() ) {
            this.parent.parent.data.selectedField = void 0;
            this.parent.parent.rerender();
        }
    }

    _mount() {
        super._mount();
        this.validate = this.page.utils.createCheckValidationFunction(this.getClass('input-invalid'), this);
    }
}


window._fr_blocks['blocks-templates.inputs.Test'] = class FormTextInput extends BlockClass {
  _mount() {
    super._mount();
    this.validate = this.page.utils.createCheckValidationFunction(this.getClass('input-invalid'), this);
  }
}


window._fr_blocks['blocks-templates.inputs.Text'] = class FormTextInput extends BlockClass {
    init() {
        super.init();
        
        if (!this.data.field.component.props) {
            this.data.field.component.props = {};
        }

        this.page.nextTick(() => {
            this.rerender()
        })
    }

    deletSelect(v) {
        this.parent.parent.removeIndex(v);
    }

    resetSelect() {
        if ( this.validatePersonal() ) {
            this.parent.parent.data.selectedField = void 0;
            this.parent.parent.rerender();
        }
    }

    change({ key }, e) {
        const t = e.target.value;

        if (['max_length', 'min_length'].includes(key)) {
            this.data[key] = t;
        } else {
            this.data.field[key] = t;
        }

        this.updateField()
    }
    
    validatePersonal() {
        const value = !this.data.field.value ? "- Текст <br>" : "" ;

        if ( value === "" ) {
            return true;
        } else {
            this.page.store.emit("notification", {
                text: `Не заполнены следующие поля в блоке №${this.data.selectedIndex + 1}: <br> ${value}`,
                mode:'error',
                timeout:30000,
            });
            return false;
        }
    }

    updateField() {
        this.parent.parent.updateField({
            index: this.data.selectedIndex,
            field: {
                label: this.data.field.label,
                component: this.data.field.component,
            }
        });
    }


    _mount() {
        super._mount();
        this.validate = this.page.utils.createCheckValidationFunction(this.getClass('input-invalid'), this);
    }
}


window._fr_blocks['blocks-templates.inputs.TextInput'] = class FormTextInput extends BlockClass {
    init() {
        super.init();

        this.data.trim = this.data.field.joi.includes('trim');
        this.data.required = this.data.field.joi.includes('required');
        this.data.max_length = (this.data.field.joi.find((el => {
            if (Array.isArray(el) && el[0] === 'max') {
                return true
            }
        })) || [])[1];

        this.data.min_length = (this.data.field.joi.find((el => {
            if (Array.isArray(el) && el[0] === 'min') {
                return true
            }
        })) || [])[1]

        if (!this.data.field.component.props) {
            this.data.field.component.props = {};
        }

        this.page.nextTick(() => {
            this.rerender()
        })
    }

    deletSelect(v) {
        this.parent.parent.removeIndex(v);
    }

    resetSelect() {
        if ( this.validatePersonal() ) {
            this.parent.parent.data.selectedField = void 0;
            this.parent.parent.rerender();
        }
    }

    changeIcon(name) {
        if (!this.data.field.icon)
            this.data.field.icon = {};

        this.data.field.icon.name = name;
        this.updateField()
    }

    change({ key }, e) {
        const t = e.target.value;

        if (['max_length', 'min_length'].includes(key)) {
            this.data[key] = t;
        } else {
            this.data.field[key] = t;
        }

        this.updateField()
    }

    validatePersonal() {
        const name = !this.data.field.name ? "- техническое название <br>" : "" ;
        const label = !this.data.field.label ? "- название поля <br>" : "" ;

        if ( name + label === "" ) {
            return true;
        } else {
            this.page.store.emit("notification", {
                text: `Не заполнены следующие поля в блоке №${this.data.selectedIndex + 1}: <br> ${name} ${label}`,
                mode:'error',
                timeout:30000,
            });
            return false;
        }
    }

    changeRequiredSwitch(v, e) {
        this.data.required = !!e.target.checked;

        this.updateField();
    }

    changeTrimSwitch(v, e) {
        this.data.required = !!e.target.checked;

        this.updateField();
    }

    changeTrimSwitch(v, e) {
        this.data.trim = !!e.target.checked;

        this.updateField();
    }

    changeMultilineSwitch(v, e) {
        this.data.multiline = !!e.target.checked;


        if (this.data.multiline) {
            this.data.field.component.props.inputStyle = {
                "minHeight": 100,
                "textAlignVertical": "top"
            }

            this.data.field.component.props.multiline = true;
        } else {
            this.data.field.component.props.inputStyle = void 0;
            this.data.field.component.props.multiline = false;
        }

        this.updateField();
    }

    select_type(v) {
        this.data.field.name = v;
    }

    updateField() {
        const joi = ['string'];

        if (this.data.trim) {
            joi.push('trim');
        }

        if (this.data.required) {
            joi.push('required');
        }

        if (this.data.max_length && this.data.max_length > 10) {
            joi.push(['max', +this.data.max_length]);
        }

        if (this.data.min_length && this.data.min_length > 10) {
            joi.push(['min', +this.data.min_length]);
        }

        this.parent.parent.updateField({
            index: this.data.selectedIndex,
            field: {
                name: this.data.field.name,
                icon: this.data.field.icon,
                label: this.data.field.label,
                value: this.data.field.value,
                multiline: this.data.multiline,
                joi: joi,
                placeholder: this.data.field.placeholder,
                component: this.data.field.component,

            }
        })
    }


    _mount() {
        super._mount();
        this.validate = this.page.utils.createCheckValidationFunction(this.getClass('input-invalid'), this);
    }

}


window._fr_blocks['blocks-templates.main'] = class MainFormItemsList extends BlockClass {
    removeIndex(index){
        this.parent.removeIndex(index)
    }

    moveUp(index){
        this.parent.moveUp(index)
    }

    moveDown(index){
        this.parent.moveDown(index)
    }
}


window._fr_blocks['blocks-templates.menu'] = class FormMenu extends BlockClass {
   addField(name) { 
      
   }
}



window._fr_blocks['pages-chat'] = class ChatPage extends BlockClass {
  _mount() {
    super._mount();

    this.off1 = this.page.store.on('messagesRead', () => {
      this.data.chat.has_unread_messages = true;

      this.refs.has_unread_messages.classList.add(this.getClass('hide'));
    });


    this.off2 = this.page.store.on('send_message', () => {
      this.data.chat.has_unread_messages = false;

      this.refs.has_unread_messages.classList.remove(this.getClass('hide'));
    });




  }

  init() {
    super.init();

    this.fetchData();
  }

  async fetchData() {
    try {
      const ws = this.page.store.get('ws');

      const [{ data }, c] = await Promise.all([
        ws.rpc('client.getEntity', { list_name: "client_entity", _id: this.data.cl_id }),
        ws.rpc('client.getEntity', { list_name: "chat_list", _id: this.data.cl_id }),
      ]);

      const chat = c.data[0];
      const res = data[0];

      this.data = {
        ...this.data,
        ...res,
        loaded: true,
        me: this.page.store.get('me'),
        chat
      }

      this.rerender();

    } catch (err) {

    }
  }

  async killSession() {
    this.page.store.emit('show_progress', true);

    try {
      const ws = this.page.store.get('ws');
      const res = await ws.rpc('chat_session.close', { cl_id: this.data.cl_id });

      this.data.chat.session_first_name = void 0;
      this.data.chat.session_id = void 0;
      this.data.chat.session_last_name = void 0;
      this.data.chat.session_usr_id = void 0;
      this.data.chat.session_started_at = void 0;


      this.page.store.emit('notification', {
        text: 'Сессия закрыта',
      });

      this.rerender();
    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'news.unpublish',
        error
      })
    } finally {
      this.page.store.emit('show_progress', false);
    }
  }


  async openSession() {
    this.page.store.emit('show_progress', true);

    try {
      const ws = this.page.store.get('ws');
      const res = await ws.rpc('chat_session.start', { cl_id: this.data.cl_id });

      this.data.chat.session_first_name = this.page.store.get('me.first_name');
      this.data.chat.session_id = +res._id;
      this.data.chat.session_last_name = this.page.store.get('me.last_name');
      this.data.chat.session_usr_id = res.usr_id;
      this.data.chat.session_started_at = res.started_at;


      this.page.store.emit('notification', {
        text: 'Сессия открыта',
      });


      this.rerender();
    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'news.unpublish',
        error
      })
    } finally {
      this.page.store.emit('show_progress', false);
    }
  }

  async closeSession() {
    this.page.store.emit('show_progress', true);

    try {
      const ws = this.page.store.get('ws');
      const res = await ws.rpc('chat_session.finish', { cl_id: this.data.cl_id });

      this.data.chat.session_first_name = void 0;
      this.data.chat.session_id = void 0;
      this.data.chat.session_last_name = void 0;
      this.data.chat.session_usr_id = void 0;
      this.data.chat.session_started_at = void 0;


      this.page.store.emit('notification', {
        text: 'Сессия закрыта',
      });

      this.rerender();
    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'news.unpublish',
        error
      })
    } finally {
      this.page.store.emit('show_progress', false);
    }
  }

  _unmount() {
    this.off1();
    this.off2();
    super._unmount();
  }
}

window._fr_blocks['pages-chats'] = class ChatsPage extends BlockClass {
    _mount() {
      super._mount();

    }

    change_chats_mode({value}){
      this.page.router.goTo('/chats', {
        type: value,
      });
    }
  
    _unmount() {
      super._unmount();  
    }

    tableRowClick(chat){
      this.page.router.goTo(`/chats/${chat._id}`);
    }
  }

window._fr_blocks['pages-client.add'] = class ClientPage extends BlockClass {
  _mount() {
    super._mount();
    this.validate = this.page.utils.createCheckValidationFunction(this.getClass('input-invalid'), this);
  }

  init() {
    super.init();
    this.fetchData();
  }

  changeCommunication(v, e) {
    if (!this.data.communications)
      this.data.communications = {};

    this.data.communications[v] = e.target.checked;
  }

  onInputChange(v, e) {
    this.data[v] = e.target.value;
  }

  onDataInputChange(v, e) {
    this.data[v] = moment(e.target.value).set({ hour: 0, minute: 0, second: 0, millisecond: 0 }).format();
  }

  selectCardType(v) {
    this.data.card_type_id = v;
  }

  async fetchData() {
    const ws = this.page.store.get('ws');

    if (this.data._id === void 0) {
      const cardList = await ws.rpc('client.getList', { list_name: "card_type" });

      this.data.card_list = cardList.data;

      this.data.communications = {};
      this.data.loaded = true;
      this.rerender();
      return
    }


    try {
      this.page.store.emit('show_progress', true);


      const [{ data }, cardList] = await Promise.all([
        ws.rpc('client.getEntity', { list_name: "client_entity", _id: this.data._id }),
        ws.rpc('client.getList', { list_name: "card_type" }),
      ]);


      const res = data[0];

      this.data = { ...this.data, ...res, loaded: true, card_list: cardList.data };

      if (!this.data.communications)
        this.data.communications = {};

      this.rerender();

    } catch (err) {

    } finally {
      this.page.store.emit('show_progress', false);

    }
  }


  remove() {
    this.refs.modal.show({
      title: 'Удаление клиента',
      subtitle: 'Вы действительно хоитите удалть этого клиента?',
      text: 'Полсле удаления клиент больше не сможет пользоваться сервисом',
      onFailureText: 'Удалить',
      onCancelText: 'Отмена',
      onFailure: () => {
        this.tryRemove();
      }
    })
  }

  async add() {
    if (this.validate()){
      await this.update();
    }
  }

  async restore(_id){
    this.page.store.emit('show_progress', true);

    try {
      const ws = this.page.store.get('ws');

      await ws.rpc('client.restore', { _id });

      this.page.router.goTo(`/clients/${_id}/edit`);


      this.page.store.emit('notification', {
        text:'Клиент восстановлен',
      });

    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'client.restore',
        error
      })
    } finally {
      this.page.store.emit('show_progress', false);
    }
  }


  async tryRemove() {
    try {
      this.page.store.emit('show_progress', true);
      const ws = this.page.store.get('ws');

      const res = await ws.rpc('client.remove', {
        _id: this.data._id,
      });

      this.page.router.goTo('/clients');

      this.page.store.emit('notification', {
        text: 'Клиент удален',
        action1Text: 'Восстановить',
        mode: 'error',
        action1: () => { this.restore(this.data._id) },
      });


    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'client.remove',
        error
      });
    } finally {
      this.page.store.emit('show_progress', false);
    }
  }


  async update() {
    if (this.validate()){
      try {
        this.page.store.emit('show_progress', true);
        const ws = this.page.store.get('ws');

        const res = await ws.rpc('client.upsert', {
          _id: this.data._id,
          last_name: this.data.last_name,
          first_name: this.data.first_name,
          phone_number: this.data.phone_number,
          started_at: this.data.started_at,
          finished_at: this.data.finished_at,
          card_type_id: this.data.card_type_id,
          communications: this.data.communications,
          email: this.data.email,
          comment: this.data.comment
        });

        this.page.store.emit('notification', {
          text: this.data._id ? 'Клиент обновлен' : 'Клиент добавлен',
        });

        if (!this.data._id){
          this.page.router.simulateGoTo(`/clients/${res._id}/edit`);
        }

        this.data._id = res._id;

        this.rerender();


      } catch (error) {
        this.page.store.emit('api-error', {
          command: 'client.upsert',
          error
        });
      } finally {
        this.page.store.emit('show_progress', false);
      }
    }
  }

  cancel() {
    this.page.router.goBack();
  }

  _unmount() {
    super._unmount();
  }

  wantRebase(){
    this.refs.modal.show({
      title: 'Сбрость базу',
      text: 'Вы действительно хотите отправить команду на сброс локальной базы данных пользователя?',
      onFailureText: 'Сброить',
      onCancelText: 'Отмена',
      onFailure: () => {
        this.rebase();
      }
    })
  }

  async rebase(){
    try {
      this.page.store.emit('show_progress', true);
      const ws = this.page.store.get('ws');

      const res = await ws.rpc('sessions.setRebaseFlag', {
        cl_id: this.data._id,
      });

      this.page.store.emit('notification', {
        text: 'Флаг сброса локальной базы установлен',
      });

      this.data.need_rebase = true;


      this.rerender();
    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'sessions.setRebaseFlag',
        error
      });
    } finally {
      this.page.store.emit('show_progress', false);
    }
  }
}

window._fr_blocks['pages-client'] = class ClientPage extends BlockClass {
  _mount() {
    super._mount();
  }

  init() {
    super.init();

    this.fetchData();
  }

  async fetchData() {
    try {
      const ws = this.page.store.get("ws");

      const [{ data }, rlist] = await Promise.all([
        ws.rpc("client.getEntity", {
          list_name: "client_entity",
          _id: this.data._id,
        }),
        ws.rpc("client.getList", {
          limit: 5,
          list_name: "request_list",
          params: {
            cl_id: this.data._id,
            canceled: false,
            completed: false,
          },
        }),
      ]);

      const res = data[0];

      this.data = {
        ...this.data,
        ...res,
        loaded: true,
        request_list: rlist.data,
      };

      // console.log(this.data, ' in pages pages client.js');

      this.rerender();
    } catch (err) {}
  }

  change_mode({ value }) {
    this.page.router.goTo(`/clients/${this.data._id}`, {
      mode: value,
    });
  }

  _unmount() {
    super._unmount();
  }

  createRequest() {
    this.page.store.emit("open_request", {
      request: {},
      client: {
        last_name: this.data.last_name,
        first_name: this.data.first_name,
        _id: this.data._id,
        card_type_id: this.data.card_type_id,
      },
      mode: "requestAdd",
      confirm: (data) => {
        data.then((item) => {
          this.data.request_list.push(item);
          this.rerender();
        });
      },
    });
  }
}


window._fr_blocks['pages-client.watchClient.requests'] = class RequestsPage extends BlockClass {
    _mount() {
      super._mount();

    }

    change_request_mode({value}){
      this.page.router.goTo('/requests', {
        type: value,
      });
    }

    tableRowClick(v){
      this.page.router.goTo(`/requests/${v._id}`);
    }
  
    _unmount() {
      super._unmount();  
    }
  }

window._fr_blocks['pages-clients'] = class ClientsPage extends BlockClass {
    _mount() {
      super._mount();

    }

    change_request_mode({value}){
      this.page.router.goTo('/requests', {
        type: value,
      });
    }

    tableRowClick(v) {
      this.page.router.goTo(`/clients/${v._id}`);
    }
  
    _unmount() {
      super._unmount();  
    }
  }

window._fr_blocks['pages-editor'] = class PartnersPage extends BlockClass {
    _mount() {
      super._mount();

    }

    _unmount() {
      super._unmount();  
    }
  }

window._fr_blocks['pages-events.createModal'] = class ModalAgree extends BlockClass {
  _mount() {
    super._mount();
    this.validate = this.page.utils.createCheckValidationFunction(this.getClass('input-invalid'), this);
  }

  show(data) {
    this.data.show = true;

    this.rerender();
  }

  hide() {
    this.data = { show: false };

    this.rerender();
  }

  _unmount() {
    super._unmount();
  }

  async success() {
    if (this.validate()){
      if (!this.refs.input.checkValidity()) {
        this.page.store.emit('notification', {
          mode: 'error',
          text: 'Ошибка валидации',
          type: 'big',
          text: 'Название мероприятия должно быть не менее 5 и не более 30 символов',
        });


        return;
      }

      this.page.store.emit('show_progress', true);

      try {
        const title = this.refs.input.value;

        const ws = this.page.store.get('ws');
        const res = await ws.rpc('event.upsert', {
          title: title, 
          external: false,
          items: [{
            img: {
              "url": "service/icon-delovaya-programma.png",
              "size": 993045,
              "type": "media",
              "width": 1668,
              "height": 2500,
              "filename": "icon-delovaya-programma.png",
              "content_type": "image/png",
              "storage_endpoint": "https://storage.yandexcloud.net",
              "storage_bucketname": "qtooapp"
            },
            program: [],
            title: 'Деловая программа',
          },
          {
            img: {
              "url": "service/icon-kulturnaya-programma.png",
              "size": 993045,
              "type": "media",
              "width": 1668,
              "height": 2500,
              "filename": "icon-delovaya-programma.png",
              "content_type": "image/png",
              "storage_endpoint": "https://storage.yandexcloud.net",
              "storage_bucketname": "qtooapp"
            },
            program: [],
            title: 'Культурная программа',
          }]
        });


        this.page.router.goTo(`/events/${res._id}/edit?mode=information`);

        this.page.store.emit('notification', {
          text: 'Черновик мероприятия создан',
        });

      } catch (error) {
        this.page.store.emit('api-error', {
          command: 'news.remove',
          error
        })
      } finally {
        this.page.store.emit('show_progress', false);
      }

      this.hide();
    }
  }

  cancel() {
    this.hide();
  }

  fail() {
    this.hide();
  }
}

window._fr_blocks['pages-events.edit'] = class EventEditPage extends BlockClass {
  _defPayload = {
    city: "",
    created_at: "",
    created_by: void 0,
    description: "",
    external: false,
    finished_at: void 0,
    img: void 0,
    items: [
      {
        img: void 0,
        program: [],
        title: "Деловая программа",
        url: void 0,
      },
      {
        img: void 0,
        program: [],
        title: "Культурная программа",
        url: void 0,
      },
      {
        img: void 0,
        program: [],
        title: "Спортивная программа",
        url: void 0,
      },
    ],
    logo: void 0,
    partners: [],
    services: [],
    started_at: void 0,
    subtitle: "",
    title: "",
    url: "",
    _id: void 0,
    status: 0,
    materials: [],
    _use_one_preview: false,
  };

  updateFromInnerBlock(obj = {}) {
    for (let k in obj) {
      this.data.event[k] = obj[k];
    }

    this.calcDaysForItems();
  }

  _mount() {
    super._mount();

    this.validate = this.page.utils.createCheckValidationFunction(
      this.getClass("input-invalid"),
      this
    );
  }

  calcDaysForItems() {
    const b = moment(this.data.event.started_at);
    const a = moment(this.data.event.finished_at);
    let count = a.diff(b, "days") + 1; // =1

    const addProgramm = (item = [], day) => {
      const has = !!item.program.find((program) => {
        return this.page.utils.moment(program.start_at).isSame(day, "day");
      });

      if (!has) {
        item.program.push({
          start_at: day.format(),
          timeline: [],
        });
      }

      item.program.sort((a, b) => {
        return this.page.utils.moment(a.start_at).isBefore(b.start_at) ? -1 : 1;
      });
    };

    for (let index = 0; index < count; index++) {
      const date = moment(b).add(index, "days");

      this.data.event.items.forEach((item) => {
        addProgramm(item, date);
      });

      // console.log(date.format());
    }

    // console.log(count);
  }

  init() {
    super.init();
    this.fetchData();
  }

  async fetchData() {
    if (this.data._id === "new") {
      this.data.loaded = true;
      this.data.event = { ...this._defPayload };
      this.data.description_mode = "simple";
      this.rerender();
      return;
    }

    // this.page.store.emit('show_progress', true);

    try {
      const ws = this.page.store.get("ws");
      let eventId = this.data._id;
      let [event, categories, services] = await Promise.all([
        ws.rpc("event.getEntity", { _id: eventId, list_name: "bo_event_view" }),
        ws
          .rpc("event.getList", { list_name: "event_category", limit: 1000 })
          .catch(() => ({ data: [] })),

        ws.rpc("service.getEventRegisterService", {}).catch(() => ({ data: [] })),
      ]);

      event = event.data[0];
      let partners = {};

      if (event.partners && !event.external) {
        const serchItem = "label";
        for (let index = 0; index < event.partners.length; index++) {
          const partner = event.partners[index];

          if (!partners[partner[serchItem]]) {
            partners[partner[serchItem]] = [];
          }

          partners[partner[serchItem]].push(partner);
        }

        partners = Object.keys(partners).map((name) => {
          return {
            label: name,
            items: partners[name],
          };
        });
      } else {
        partners = undefined;
      }

      if (!Array.isArray(event.items)) {
        event.items = [...event.items];
      }

      this.data = {
        ...this.data,
        event,
        partners,
        loaded: true,
        categories: categories.data,
        description_mode: event?.description_blocks?.length > 0 ? "advanced" : "simple",
        services:services
      };

      this.rerender();
    } catch (error) {
      this.page.store.emit("api-error", {
        command: "event.getEntity",
        error,
      });
    } finally {
      this.page.store.emit("show_progress", false);
    }
  }

  changeEventEditMode({ value }) {
    this.refs.validInformation.validate();
    if ( this.refs.validInformation.validatePersonal() ) {
      this.page.router.simulateGoTo(
        `/events/${this.data._id}/edit`,
        () => {
          this.data.mode = value;
          this.rerender();
        },
        { query: { mode: value } }
      );
    }
  }

  _unmount() {
    super._unmount();
  }

  remove() {
    this.refs.modal.show({
      title: "Удаление мероприятия",
      subtitle: "Вы действительно хоитите удалть это мероприятие?",
      text: "Полсле удаления мероприятия оно пропадёт из списка мероприятий",
      onFailureText: "Удалить",
      onCancelText: "Отмена",
      onFailure: () => {
        this.tryRemove();
      },
    });
  }

  async tryRemove() {
    this.page.store.emit("show_progress", true);

    try {
      const ws = this.page.store.get("ws");

      const _id = this.data.event._id;

      const res = await ws.rpc("event.remove", { _id: +this.data.event._id });

      this.page.router.goTo(`/events`);

      this.page.store.emit("notification", {
        title: "Мероприятие удалено",
        text: "Отменить удаление мероприятия",
        mode: "error",
        type: "big",
        action1Text: "Восстановить",
        action1: () => {
          this.restore({ _id });
        },
      });
    } catch (error) {
      this.page.store.emit("api-error", {
        command: "event.remove",
        error,
      });
    } finally {
      this.page.store.emit("show_progress", false);
    }
  }

  async restore({ _id = this.data.event._id }) {
    this.page.store.emit("show_progress", true);

    try {
      const ws = this.page.store.get("ws");

      await ws.rpc("event.restore", { _id });

      this.page.router.goTo(`/events/${_id}/edit`);

      this.page.store.emit("notification", {
        text: "Мероприятие восстановлено",
      });
    } catch (error) {
      this.page.store.emit("api-error", {
        command: "event.restore",
        error,
      });
    } finally {
      this.page.store.emit("show_progress", false);
    }
  }

  toggleExternal() {
    this.data.event.external = !this.data.event.external;

    this.rerender();
  }

  makePayload() {
    const event = JSON.parse(JSON.stringify(this.data.event));
    const filterItem = (item) => {
      item.program = item.program.filter((program) => {
        return (
          program.timeline.filter((timeline) => {
            return timeline.items.length !== 0;
          }).length !== 0
        );
      });

      return item;
    };

    return {
      _id: event._id,
      city: event.city,
      external: event.external,
      description: event.description,
      finished_at: event.finished_at,
      started_at: event.started_at,
      subtitle: event.subtitle,
      title: event.title,
      items: event.items.map(filterItem),
      img: !event._use_one_preview ? event.logo : event.img,
      logo: event.logo,
      materials: event.materials,
      category_id: event.category_id,
      /// fixers
      service_id: event.service ? event.service._id : void 0,
      description_blocks: event.description_blocks,
      keywords: event.keywords
    };
  }

  async save() {
    this.page.store.emit("show_progress", true);

    try {
      const ws = this.page.store.get("ws");
      const res = await ws.rpc("event.upsert", this.makePayload());

      this.page.store.emit("notification", {
        text: "Мероприятие сохранено",
      });
    } catch (error) {
      this.page.store.emit("api-error", {
        command: "event.upsert",
        error,
      });
    } finally {
      this.page.store.emit("show_progress", false);
    }
  }

  async publish() {
    this.page.store.emit("show_progress", true);

    try {
      this.validate();

      const ws = this.page.store.get("ws");

      await this.save();
      await ws.rpc("event.publish", { _id: this.data.event._id });

      this.data.event.published = true;

   //   this.rerender();

      this.page.store.emit("notification", {
        text: "Мероприятие опубликовано",
      });
    } catch (error) {
      this.page.store.emit("api-error", {
        command: "event.publish",
        error,
      });
    } finally {
      this.page.store.emit("show_progress", false);
    }
  }

  async unpublish() {
    this.page.store.emit("show_progress", true);

    try {
      const ws = this.page.store.get("ws");

      await ws.rpc("event.unpublish", { _id: this.data.event._id });

      this.data.event.published = false;

      this.rerender();

      this.page.store.emit("notification", {
        text: "Мероприятие снято с публикации",
      });
    } catch (error) {
      this.page.store.emit("api-error", {
        command: "event.remove",
        error,
      });
    } finally {
      this.page.store.emit("show_progress", false);
    }
  }
}


window._fr_blocks['pages-events'] = class EventsPage extends BlockClass {
  _mount() {
    super._mount();

  }

  change_mode({value}){
    this.page.router.goTo('/events', {
      type: value,
    });
  }

  _unmount() {
    super._unmount();  
  }
  
  tableRowClick(v){
    this.page.router.goTo(`/events/${v._id}`);
  }

  createEvent(){
    this.refs['add_event'].show();
  }

    change_filter({value}){
      this.page.router.goTo('/events', {
        type: this.page.router.query.type,
        filter: value
      });
    }
}

window._fr_blocks['pages-events.item'] = class EventItemPage extends BlockClass {
  _mount() {
    super._mount();
  }

  init() {
    super.init();
    this.fetchData();
  }

  async fetchData() {
    try {
      const ws = this.page.store.get("ws");

      let eventId = this.data._id;
      let [event] = await Promise.all([
        ws.rpc("event.getEntity", { _id: eventId, list_name: "bo_event_view" }),
      ]);

      event = event.data[0];
      let partners = {};
      
      if (event.partners && !event.external) {
        const serchItem = 'label';
        for (let index = 0; index < event.partners.length; index++) {
          const partner = event.partners[index];
  
          if (!partners[partner[serchItem]]) {
            partners[partner[serchItem]] = [];
          }
          
          partners[partner[serchItem]].push(partner);
        }
  
        partners = Object.keys(partners).map((name) => {
          return {
            label: name,
            items: partners[name],
          };
        });
      } else {
        partners = undefined;
      }

      this.data = {
        ...this.data,
        event,
        partners,
        loaded: true,
      };
      
      this.rerender();
    } catch (error) {
      this.page.store.emit("api-error", {
        command: "event.getEntity",
        error,
      });
    } finally {
      this.page.store.emit('show_progress', false);
    }
  }

  changeEventMode({ value }) {
    console.log('changeEventMode', value)
    this.page.router.simulateGoTo(`/events/${this.data._id}`, () => {
      this.data.mode = value;
      this.rerender();
    }, { query: { mode: value } });
  }

  async unpublish() {
    this.page.store.emit("show_progress", true);

    try {
      const ws = this.page.store.get("ws");

      await ws.rpc("event.unpublish", { _id: this.data.event._id });

      this.data.event.published = false;

      this.rerender();

      this.page.store.emit("notification", {
        text: "Мероприятие снято с публикации",
      });
    } catch (error) {
      this.page.store.emit("api-error", {
        command: "event.remove",
        error,
      });
    } finally {
      this.page.store.emit("show_progress", false);
    }
  }

  _unmount() {
    super._unmount();
  }
}


window._fr_blocks['pages-icons'] = class IconsPage extends BlockClass {
  _mount() {
    super._mount();
  }

  async copyBuffer(v) {
    await navigator.clipboard.writeText(v).catch(console.error);
  }
}

window._fr_blocks['pages-index'] = class IndexPage extends BlockClass {
  _mount() {
    super._mount();
  }

  init() {
    super.init();
    this.off1 = this.page.store.get('ready', void 0, ({ next, prev }) => {
      if (next !== prev && next !== void 0) {
        this.data.ready = next;

        this.page.nextTick(() => {
          this.rerender();
        })
      }
    });
  }
  _unmount() {
    this.off1 && this.off1();
    super._unmount();
  }
}

window._fr_blocks['pages-news.edit'] = class NewsEditPage extends BlockClass {
  _mount() {
    super._mount();
  }

  constructor(...args){
    super(...args)
    this.validate = this.page.utils.createCheckValidationFunction(this.getClass('input-invalid'), this);
  }

  init() {
    super.init();

    this.fetchData();
  }

  async fetchData() {

    this.page.store.emit('show_progress', true);

    try {
      const ws = this.page.store.get('ws');

      let [categories, news] = await Promise.all([
        ws.rpc('client.getList', { list_name: 'news_category', limit: 100 }),
        this.data._id === 'new' ? Promise.resolve({ data: [{}] }) : ws.rpc('news.getEntity', { _id: this.data._id })
      ]);

      categories = categories.data;
      news = news.data[0];

      news.paragraphs && (news.text = news.paragraphs.join('\n\n'))

      this.data = { ...this.data, ...news, categories, loaded: true }

      this.rerender();

    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'news.getEntity',
        error
      })
    } finally {
      this.page.store.emit('show_progress', false);
    }
  }

  changeText(v, e) {
    this.data[v] = e.target.value;
  }

  selectCategory(v) {
    this.data.category_id = +v;
  }

  async makaDate() {
    this.page.store.emit('show_progress', true);

    try {

      const img = await this.refs['preview'].uploadAndGetFileID();
      this.data.img = img;
      const data = {
        _id: this.data._id === 'new' ? void 0 : this.data._id,
        title: this.data.title,
        subtitle: this.data.subtitle,
        img: img,
        category_id: this.data.category_id,
        paragraphs: this.data.text.split('\n\n')
      }

      const ws = this.page.store.get('ws');

      const res = await ws.rpc('news.upsert', data);


      if (this.data._id === 'new') {
        this.page.router.goTo(`/news/${res._id}/edit`);

        this.page.store.emit('notification', {
          text:'Новость добавлена',
        });
      } else {
        this.page.store.emit('notification', {
          text:'Новость изменена',
        });
      }

    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'news.upsert',
        error
      })
    } finally {
      this.page.store.emit('show_progress', false);
    }
  }


  goBack() {
    if (this.data._id === 'new') {
      this.page.router.goTo(`/news`);
    } else {
      this.page.router.goTo(`/news/${this.data._id}`);
    }
  }


  remove() {
    this.refs.modal.show({
      title: 'Удаление новости',
      subtitle: 'Вы действительно хоитите удалть эту новость?',
      text: 'Полсле удаления новости клиенты больше ее не увидят',
      onFailureText: 'Удалить',
      onCancelText: 'Отмена',
      onFailure: () => {
        this.tryRemove();
      }
    })
  }

  async tryRemove() {
    this.page.store.emit('show_progress', true);

    try {
      const ws = this.page.store.get('ws');

      const _id = this.data._id;

      const res = await ws.rpc('news.remove', { _id: +this.data._id });

      this.page.router.goTo(`/news`);


      this.page.store.emit('notification', {
        title:'Новость удалена',
        text: 'Отменить удаление новости',
        mode:'error',
        type:'big',
        action1Text: 'Восстановить',
        action1: () => {
          this.restore({_id})
        },
      });

    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'news.remove',
        error
      })
    } finally {
      this.page.store.emit('show_progress', false);
    }
  }

  async restore({_id}){
    this.page.store.emit('show_progress', true);

    try {
      const ws = this.page.store.get('ws');

      await ws.rpc('news.restore', { _id });

      this.page.router.goTo(`/news/${_id}/edit`);


      this.page.store.emit('notification', {
        text:'Новость восстановлена',
      });

    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'news.restore',
        error
      })
    } finally {
      this.page.store.emit('show_progress', false);
    }
  }

  async unpublish() {

    this.page.store.emit('show_progress', true);

    try {
      const ws = this.page.store.get('ws');

      const res = await ws.rpc('news.unpublish', {
        _id: +this.data._id,
      });

      this.data.status = res.status;
      this.rerender();


      this.page.store.emit('notification', {
        text: 'Новость снята с публикации',
      });


    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'news.unpublish',
        error
      })
    } finally {
      this.page.store.emit('show_progress', false);
    }
  }

  validatePersonal() {
    const category_id = !this.data.category_id ? "- категория <br>" : "" ;
    const title = !this.data.title ? "- заголовок <br>" : "" ;
    const subtitle = !this.data.subtitle ? "- подзаголовок <br>" : "" ;
    const text = !this.data.text ? "- текст новости <br>" : "" ;
    const imgPreview = !this.data.img ? "- обложка <br>" : "" ;

    if ( title + category_id + text + subtitle + imgPreview === "" ) {
      return true;
    } else {
      this.page.store.emit("notification", {
        text: `Не заполнены следующие поля: <br> ${title} ${category_id} ${text} ${subtitle} ${imgPreview}`,
        mode:'error',
        timeout:30000,
      });
      return false;
    }
  }

  async publish() {
    this.validate();
    if (this.validatePersonal()){
      await this.makaDate();
      this.page.store.emit('show_progress', true);

      try {
        const ws = this.page.store.get('ws');

        const res = await ws.rpc('news.publish', {
          _id: +this.data._id,
          published_at: this.page.utils.moment().format()
        });

        this.data.status = res.status;


        this.rerender();


        this.page.store.emit('notification', {
          text: 'Новость опубликована',
        });
        this.page.router.goTo(`/news/${this.data._id}`);
      } catch (error) {
        this.page.store.emit('api-error', {
          command: 'news.publish',
          error
        })
      } finally {
        this.page.store.emit('show_progress', false);
      }
    }
  }

  _unmount() {
    super._unmount();
  }
}

window._fr_blocks['pages-news.edit.preview'] = class NewsPreview extends BlockClass {
  _mount() {
    super._mount();
  }
  
  _unmount() {
    super._unmount();
  }
  _needUpload = false;

  change() {
    this.getElement('fileInput').click()
  }

  avatarChange(v, event) {
    const file = event.target.files[0];

    this.page.store.emit("OpenImageCropper", {
      file,
      options: {
        aspectRatio: 1 / 1,
        autoCropArea: 1,
      },
      callback: (img) => this.onFileCropped(img),
    });
  }

  async recrop() {
    const url = this.page.utils.makeImageUrl(this.data.img);
    let response = await fetch(url);
    let data = await response.blob();
    let metadata = {
      type: "image/jpeg",
    };
    let file = new File([data], "test.jpg", metadata);

    this.page.store.emit("OpenImageCropper", {
      file,
      callback: (img) => this.onFileCropped(img),
    });
  }

  onFileCropped(img) {
    this.data.width = img.width;
    this.data.height = img.height;
    this.data.img = img.toDataURL();

    this._needUpload = true;

    this.rerender(true);
  }

  async uploadAndGetFileID() {
    if (this._needUpload === false) return this.data.img;

    var blobBin = atob(this.data.img.split(",")[1]);
    var array = [];

    this.page.store.emit("progress", ({ progress: 10 }))

    const size = blobBin.length;

    for (var i = 0; i < blobBin.length; i++) {
      array.push(blobBin.charCodeAt(i));
    }

    var file = new Blob([new Uint8Array(array)], { type: "image/jpeg" });

    const ws = this.page.store.get('ws');

    const res = await ws.rpc('file.getUploadUrl', {
      content_type: file.type,
      origin_uri: 'some_path.jpg'
    });

    await this.page.utils.uploadBinaryFile({
      upload_url: res.upload_url,
      content_type: file.type,
      file: file,
      onProgress: progress => {
        this.page.store.emit("progress", ({ progress }));
      }
    });

    this.page.store.emit("progress", ({ progress: 100 }));

    return {
      content_type: file.type,
      filename: res.filename,
      height: this.data.height,
      size,
      storage_bucketname: res.storage_bucketname,
      storage_endpoint: res.storage_endpoint,
      type: file.type,
      uri: res.filename,
      url: res.filename,
      width: this.data.width,
    };
  }

  remove() {
    this.data.img = void 0;
    this.rerender();
  }
}

window._fr_blocks['pages-news.item'] = class NewaItemPage extends BlockClass {
  _mount() {
    super._mount();

  }

  init() {
    super.init();
    this.fetchData();
  }

  async fetchData() {
    try {
      const ws = this.page.store.get('ws');

      let [categories, news] = await Promise.all([
        ws.rpc('client.getList', { list_name: 'news_category', limit :100 }),
        ws.rpc('news.getEntity', { _id: this.data._id })
      ]);

      categories = categories.data;
      news = news.data[0];
    
      this.data = { ...this.data, ...news, categories, loaded:true}

      this.rerender();
    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'news.getEntity',
        error
      });
    }
  }

  async unpublish() {

    this.page.store.emit('show_progress', true);

    try {
      const ws = this.page.store.get('ws');

      const res = await ws.rpc('news.unpublish', {
        _id: +this.data._id,
      });

      this.data.status = res.status;
      this.rerender();


      this.page.store.emit('notification', {
        text: 'Новость снята с публикации',
      });


    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'news.unpublish',
        error
      })
    } finally {
      this.page.store.emit('show_progress', false);
    }
  }

  _unmount() {
    super._unmount();
  }
}

window._fr_blocks['pages-news'] = class NewsPage extends BlockClass {
  _mount() {
    super._mount();

  }

  change_request_mode({value}){
    this.page.router.goTo('/requests', {
      type: value,
    });
  }

  _unmount() {
    super._unmount();  
  }

  tableRowClick(v){
    this.page.router.goTo(`/news/${v._id}`);
  }
}

window._fr_blocks['pages-operators.edit'] = class OperatorPage extends BlockClass {
  _mount() {
    super._mount();
    this.validate = this.page.utils.createCheckValidationFunction(this.getClass('input-invalid'), this);
  }

  change_operators_mode({ value }) {
    this.page.router.goTo(`/operators/${this.data._id}`, {
      type: value,
    });
  }

  init() {
    super.init();

    this.fetchData();
  }

  async fetchData() {

    if (this.data._id === void 0) {
      this.data.loaded = true;

      this.rerender();
      return;
    }

    try {
      const ws = this.page.store.get('ws');

      const [{ data }] = await Promise.all([
        ws.rpc('users.getEntity', { list_name: 'user_profile', _id: this.data._id }),
      ]);

      const res = data[0];

      this.data = { ...this.data, ...res, loaded: true }

      this.rerender();

    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'users.getEntity',
        error
      });
    }
  }

  gen() {
    this.data.new_password = Math.random().toString(36).slice(-8);

    this.rerender();
  }

  selectAccessLevel(v) {
    console.log('selectAccessLevel')
    this.data.access_level = +v;
  }

  remove() {
    this.refs.modal.show({
      title: 'Удаление оператора',
      subtitle: 'Вы действительно хоитите удалть этого оператора?',
      text: 'Полсле удаления оператор больше не сможет пользоваться сервисом',
      onFailureText: 'Удалить',
      onCancelText: 'Отмена',
      onFailure: () => {
        this.tryRemove();
      }
    })
  }

  cancel() {
    this.page.router.goTo(`/operators/${this.data._id}`);
  }



  async save() {
    if (this.validate()) {
      try {
        this.page.store.emit('show_progress', true);
        const ws = this.page.store.get('ws');

        const isUpdate = !!this.data._id;

        const res = await ws.rpc('users.upsert', {
          _id: this.data._id === '' ? void 0 : this.data._id,
          last_name: this.data.last_name,
          first_name: this.data.first_name,
          email: this.data.email,
          phone_number: this.data.phone_number,
          password: !!this.data.new_password ? this.data.new_password : void 0,
          access_level: this.data.access_level
        });

        this.data._id = res._id;
        this.data.status = res.status;

        this.page.router.goTo(`/operators/${this.data._id}`);

        if (isUpdate) {
          this.page.store.emit('notification', {
            text: 'Данные сохранены',
          });
        } else {
          this.page.store.emit('notification', {
            text: 'Оператор создан',
          });
        }


      } catch (error) {
        this.page.store.emit('api-error', {
          command: 'users.upsert',
          error
        });
      } finally {
        this.page.store.emit('show_progress', false);
      }
    }
  }

  async tryRemove() {
    try {
      this.page.store.emit('show_progress', true);
      const ws = this.page.store.get('ws');

      const res = await ws.rpc('users.remove', {
        _id: this.data._id,
      });

      this.page.router.goTo('/operators');

      this.page.store.emit('notification', {
        text: 'Оператор удален',
        action1Text: 'Восстановить',
        mode: 'error',
        action1: () => { this.restore(this.data._id, true) },
        timeout: 10_000
      });


    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'users.remove',
        error
      });
    } finally {
      this.page.store.emit('show_progress', false);
    }
  }

  tryRestore() {
    this.refs.modal.show({
      title: 'Восстановить оператора',
      subtitle: 'Вы действительно хоитите восстановить этого оператора?',
      onFailureText: 'Восстановить',
      onCancelText: 'Отмена',
      onFailure: () => {
        this.restore(this.data._id);
      }
    })
  }

  async restore(_id, needGoTo = true) {
    this.page.store.emit('show_progress', true);

    try {
      const ws = this.page.store.get('ws');

      await ws.rpc('users.restore', { _id });

      if (needGoTo) {
        this.page.router.goTo(`/operators/${_id}/edit`);
      } else {
        this.rerender();
      }


      this.page.store.emit('notification', {
        text: 'Оператор восстановлен',
      });

    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'users.restore',
        error
      })
    } finally {
      this.page.store.emit('show_progress', false);
    }
  }


  copy() {
    navigator.clipboard.writeText(this.data.password).then(
      () => {
        this.page.store.emit('notification', {
          text: 'Пароль скопирован в буфер обмена',
        });

      },
      () => {
        this.page.store.emit('notification', {
          text: 'Нет доступа к буферу обмена, скопируйте пароль в ручную',
          mode: 'error',
        });
      },
    );
  }

  input(v, e) {
    this.data[v] = e.target.value;
  }

  _unmount() {
    super._unmount();
  }
}

window._fr_blocks['pages-operators.item'] = class OperatorPage extends BlockClass {
    _mount() {
      super._mount();

    }

    change_operators_mode({value}){
      this.page.router.goTo(`/operators/${this.data._id}`, {
        type: value,
      });
    }

    init(){
      super.init();

      this.fetchData();
    }

    async fetchData() {
      try {
        const ws = this.page.store.get('ws');
  
        const [{ data }] = await Promise.all([
          ws.rpc('users.getEntity', { list_name:'user_profile', _id: +this.data._id}),
        ]);
  
        const res = data[0];
      
        this.data = { ...this.data, ...res, loaded:true}
  
        this.rerender();
  
      } catch (error) {
        this.page.store.emit('api-error', {
          command: 'users.getEntity',
          error
        });
      }
    }
  
    _unmount() {
      super._unmount();  
    }
  }

window._fr_blocks['pages-operators.item.requests'] = class RequestsPage extends BlockClass {
    _mount() {
      super._mount();

    }

    change_request_mode({value}){
      this.page.router.goTo('/requests', {
        type: value,
      });
    }

    tableRowClick(v){
      this.page.router.goTo(`/requests/${v._id}`);
    }
  
    _unmount() {
      super._unmount();  
    }
  }

window._fr_blocks['pages-operators'] = class ClientsPage extends BlockClass {
    _mount() {
      super._mount();

    }

    change_request_mode({value}){
      this.page.router.goTo('/requests', {
        type: value,
      });
    }

    tableRowClick(v){
      this.page.router.goTo(`/operators/${v._id}`);
    }
  
    _unmount() {
      super._unmount();  
    }
  }

window._fr_blocks['pages-partners.description.edit'] = class PartnerEditPage extends BlockClass {
  _mount() {
    super._mount();

  }

  init() {
    super.init();
    this.fetchData();
  }

  async fetchData() {
    if (this.data._id === 'new') {
      this.data.loaded = true;
      this.data.partner = {};
      this.rerender();
      return;
    }
    
    this.page.store.emit('show_progress', true);

    try {
      const ws = this.page.store.get('ws');

      let partnerId = this.data._id;
      let [partner] = await Promise.all([
        ws.rpc('partner.getEntity', {_id: partnerId })
      ]);

      partner = partner.data[0];

      partner.paragraphs && (news.text = news.partner.join('\n\n'))

      this.data = { ...this.data, partner, loaded:true}

      this.rerender();

    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'partner.getEntity',
        error
      });
    } finally {
      this.page.store.emit('show_progress', false);
    }
  }

  _unmount() {
    super._unmount();
  }
}

window._fr_blocks['pages-partners.description.info'] = class PartnerItemPage extends BlockClass {
  _mount() {
    super._mount();

  }

  init() {
    super.init();
    this.fetchData();
  }

  async fetchData() {
    try {
      const ws = this.page.store.get('ws');

      let partnerId = this.data._id;
      let [partner] = await Promise.all([
        ws.rpc('partner.getEntity', {_id: partnerId })
      ]);

      partner = partner.data[0];

      this.data = { ...this.data, partner, loaded:true}

      this.rerender();
    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'partner.getEntity',
        error
      });
    }
  }

  _unmount() {
    super._unmount();
  }
}

window._fr_blocks['pages-partners'] = class PartnersPage extends BlockClass {
    _mount() {
      super._mount();

    }

    _unmount() {
      super._unmount();  
    }
  }

window._fr_blocks['pages-privileges.add'] = class PrivilegesPage extends BlockClass {
  _mount() {
    super._mount();
  }

  init() {
    super.init();
    this.fetchData();
  }

  async fetchData() {

    if (!this.data._id) {
      this.data.loaded = true;
      this.rerender();
      return;
    }

    try {
      const ws = this.page.store.get("ws");

      let [privilegeInfo] = await Promise.all([
        ws.rpc("service.getEntity", { list_name: "card_type_view", _id: this.data._id }),
      ]);

      privilegeInfo = privilegeInfo.data[0];


      const currency = privilegeInfo.periods[0].price.currency;

      if (!privilegeInfo.periods.find(p => p.name === 'year')) {
        privilegeInfo.periods.push({ "name": "year", "price": { "amount": 0, "currency": currency }, "title": "Год", "year_count": 1, "month_count": 0, day_count: 0 })
      }


      if (!privilegeInfo.periods.find(p => p.name === 'month')) {
        privilegeInfo.periods.push({ "name": "month", "price": { "amount": 0, "currency": currency }, "title": "Месяц", "year_count": 0, "month_count": 1, day_count: 0 })
      }


      if (!privilegeInfo.periods.find(p => p.name === 'day')) {
        privilegeInfo.periods.push({ "name": "day", "price": { "amount": 0, "currency": currency }, "title": "День", "year_count": 0, "month_count": 0, day_count: 1 })
      }



      privilegeInfo.periods = privilegeInfo.periods.map(p => {

        p.price.amount = this.page.utils.minorToBase(p.price.amount, p.price.currency)

        return p;
      })


      this.data = {
        ...this.data,
        ...privilegeInfo,
        currency: currency,
        loaded: true,
        disabled: privilegeInfo.member_count > 0
      };


      console.log(this.data)


      this.rerender();
    } catch (error) {
      this.page.store.emit("api-error", {
        command: "service.getList ",
        error,
      });
    } finally {
      this.page.store.emit("show_progress", false);
    }
  }

  selectCurrency(v) {
    this.data.currency = v;
  }

  onChange({ path }, e) {
    this.page.utils.set(this.data, path, e.target.value);
  }

  removeOption({ index }) {
    this.data.options.labels.splice(index, 1);

    this.rerender();
  }

  addOption() {
    this.data.options.labels.push(['']);

    this.rerender();
  }

  async save() {
    const payload = {
      "_id": this.data._id,
      "name": this.data.name,
      "options": this.data.options,
      "periods": this.data.periods.filter(p =>
        +p.price.amount > 0 !== false
      ).map((p, index) => {
        if (p.id === undefined) {
          p.id = index + 1;
        }
        p.price.currency = this.data.currency;
        p.price.amount = this.page.utils.baseToMinor(p.price.amount, this.data.currency)
        return p;
      })
    }


    try {
      this.page.store.emit("show_progress", true);
      const ws = this.page.store.get("ws");

      const res = await ws.rpc("service.upsertCardType", payload);

      if (this.data._id === undefined) {
        this.page.store.emit('notification', {
          text: 'Тариф создан',
        });

        this.page.router.goTo(`privileges/${res._id}/edit`);

      } else {
        this.page.store.emit('notification', {
          text: 'Тариф обновлен',
        });
      }

    } catch (error) {
      this.page.store.emit("api-error", {
        command: "service.getList ",
        error,
      });
    } finally {
      this.page.store.emit("show_progress", false);
    }

    console.log(payload)
  }

  async publish() {
    try {
      this.page.store.emit("show_progress", true);
      const ws = this.page.store.get("ws");

      const res = await ws.rpc('service.publishCardType', { _id: +this.data._id });

      this.data.published = res.published;
      this.data.disabled = res.member_count > 0;
      this.rerender();

    } catch (error) {
      this.page.store.emit("api-error", {
        command: "service.publishCardType ",
        error,
      });
    } finally {
      this.page.store.emit("show_progress", false);
    }
  }

  async unpublish() {
    try {
      this.page.store.emit("show_progress", true);
      const ws = this.page.store.get("ws");

      const res = await ws.rpc('service.unpublishCardType', { _id: +this.data._id });

      this.data.published = res.published;
      this.data.disabled = res.member_count > 0;
      this.rerender();


    } catch (error) {
      this.page.store.emit("api-error", {
        command: "service.unpublishCardType",
        error,
      });
    } finally {
      this.page.store.emit("show_progress", false);
    }
  }

  unlimitedRequestClick(v, e) {

    if (e.target.checked) {
      this.data.options.options.request_count_per_day = -1;
    } else {
      this.data.options.options.request_count_per_day = 5;
    }

    this.rerender();
  }

  wantRemove() {
    this.refs.modal.show({
      title: 'Удаление тарифа',
      subtitle: 'Вы действительно хоитите удалть этот тариф?',
      text: 'Полсле удаления тарифа клиенты больше ее не увидят',
      onFailureText: 'Удалить',
      onCancelText: 'Отмена',
      onFailure: () => {
        this.remove();
      }
    })
  }


  async remove() {
    this.page.store.emit('show_progress', true);

    try {
      const ws = this.page.store.get('ws');

      const _id = this.data._id;

      const res = await ws.rpc('service.removeCardType', { _id: +this.data._id });

      this.data.status = res.status;

      this.rerender();

      this.page.store.emit('notification', {
        title: 'Тариф удален',
        text: 'Отменить удаление тарифа',
        mode: 'error',
        type: 'big',
        action1Text: 'Восстановить',
        timeout: 9999999,
        action1: () => {
          this.restore({ _id })
        },
      });

    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'service.removeCardType',
        error
      })
    } finally {
      this.page.store.emit('show_progress', false);
    }
  }

  async changeBadge() {
    this.page.store.emit('show_progress', true);

    try {
      const ws = this.page.store.get('ws');

      const res = await ws.rpc('service.setCardTypeBadge', { _id: this.data._id, badge: this.data.options.badge });

      this.data.status = res.status;

      this.rerender();

      this.page.store.emit('notification', {
        text: 'Метка тарифа обнавлена',
      });
    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'service.setCardTypeBadge',
        error
      })
    } finally {
      this.page.store.emit('show_progress', false);
    }
  }

  async restore({ _id }) {
    this.page.store.emit('show_progress', true);

    try {
      const ws = this.page.store.get('ws');

      const res = await ws.rpc('service.restoreCardType', { _id });

      this.data.status = res.status;

      this.rerender();

      this.page.store.emit('notification', {
        text: 'Тариф восстановлена',
      });

    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'service.removeCardType',
        error
      })
    } finally {
      this.page.store.emit('show_progress', false);
    }
  }


  _unmount() {
    super._unmount();
  }
}


window._fr_blocks['pages-privileges.item'] = class PrivilegeItemPage extends BlockClass {
  _mount() {
    super._mount();

  }

  init() {
    super.init();


    this.fetchData();
  }

  startEdit(index) {
    this.data.editIndex = index;

    this.rerender();
  }

  cancelEdit() {
    this.data.editIndex = void 0;

    this.rerender();
  }

  acceptText() {
    console.log('метод acceptText пуст');
  }

  inputCatName(index, e) {
    this.data.categories[this.data.editIndex].name = e.target.value;
  }

  inputCatDescription(index, e) {
    this.data.categories[this.data.editIndex].description = e.target.value;
  }


  upsertService(service) {
    const cat = this.data.categories.find(c => {
      return c._id == service.category_id
    });

    const index = cat.services.findIndex(el => {
      return el._id == service._id
    })

    if (index == -1) {
      cat.services.unshift(service)
    } else {
      cat.services[index] = service;
    }

    this.rerender()
  }

  // testFunc(index, e){
  //   this.data.categories[this.data.editIndex].name = e.target.value;
  // }

  // инпут сделать сохранение по сбросу фокуса

  async changeSVGIcon(svg, index) {
    if (index > -1) {
      this.data.categories[index].img = {
        svg,
        type: 'svg'
      }

    } else {
      this.__tmp_img = {
        svg,
        type: 'svg'
      }
    }
  }

  async saveCat() {
    let cat;
    if (this.data.addNewCat) {
      cat = {
        name: this.refs['select_input_-1'].value,
        description: this.refs['select_desc'].value,
        img: this.__tmp_img,
        services: []
      }
    } else {
      cat = this.data.categories[this.data.editIndex];
    }


    this.data.editIndex = void 0;

    this.page.store.emit('show_progress', true);

    try {
      const ws = this.page.store.get('ws');
      const res = await ws.rpc('service.upsertServiceCategory', {
        _id: cat._id,
        name: cat.name,
        description: cat.description,
        img: cat.img,
      })

      if (this.data.addNewCat) {
        this.data.addNewCat = void 0;
        this.__tmp_img = void 0;
        this.data.categories.unshift({
          ...cat,
          _id: res._id,
          created_at: res.created_at
        });
      }

      this.rerender();

    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'service.upsertServiceCategory',
        error
      });
    } finally {
      this.page.store.emit('show_progress', false);
    }
  }

  tryRemoveCat(cat) {
    if (cat.services.length > 0) {
      return this.refs.modal.show({
        title: 'Невозможно удалить',
        subtitle: `<b>${cat.name}</b>`,
        text: 'Для того чтобы удалить категорию удалите все привилегии из нее',
        onCancelText: 'Хорошо',
      });
    } else {
      this.refs.modal.show({
        title: 'Удаление категории',
        subtitle: `<b>${cat.name}</b>`,
        text: 'Полсле удаления категории клиенты больше ее не увидят',
        onFailureText: 'Удалить',
        onCancelText: 'Отмена',
        onFailure: () => {
          this.removeCat(cat);
        }
      })
    }
  }

  async removeCat(cat) {
    this.page.store.emit('show_progress', true);

    try {
      const ws = this.page.store.get('ws');
      const res = await ws.rpc('service.removeServiceCategory', { _id: cat._id })
      this.data.categories = this.data.categories.filter(c => c._id != cat._id);


      this.page.store.emit('notification', {
        title: 'Категория удалена',
        text: 'Отменить удаление категории',
        mode: 'error',
        type: 'big',
        action1Text: 'Восстановить',
        timeout: 9999999,
        action1: () => {
          this.restoreCat(cat)
        },
      });

      this.rerender();

    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'service.upsertServiceCategory',
        error
      });
    } finally {
      this.page.store.emit('show_progress', false);
    }
  }


  async restoreCat(cat) {
    this.page.store.emit('show_progress', true);

    try {
      const ws = this.page.store.get('ws');

      await ws.rpc('service.restoreServiceCategory', { _id: cat._id });

      this.data.categories.push(cat);

      this.rerender();

      this.page.store.emit('notification', {
        text: 'Категория восстановлена',
      });

    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'service.restoreServiceCategory',
        error
      })
    } finally {
      this.page.store.emit('show_progress', false);
    }
  }


  create() {
    this.data.addNewCat = true;
    this.__tmp_img = void 0;
    this.rerender();
  }


  cancelCreate() {
    this.data.addNewCat = void 0;
    this.__tmp_img = void 0;
    this.rerender();
  }


  async fetchData() {
    try {
      const ws = this.page.store.get('ws');

      const [{ data }, cat, ser] = await Promise.all([
        ws.rpc('client.getEntity', { list_name: "card_type", _id: this.data._id }),
        ws.rpc('service.getList', {
          limit: 1000,
          list_name: "service_category", sorting: [
            { field: 'created_at', order: 'desc' }, { field: '_id', order: 'asc' }
          ]
        }),
        ws.rpc('service.getList', { list_name: "service_view", limit: 1000, params: { card_type_id: + this.data._id } }),
      ]);

      const res = data[0];

      console.log(cat)


      const categories = cat.data.map(category => {
        if (category.services === undefined) {
          category.services = ser.data.filter(s => s.category === category.name && s.removed !== true);
        }

        return category;
      });

      categories.sort((a, b) => {
        return a._id - b._id
      })


      this.data = { ...this.data, ...res, categories, loaded: true }

      this.rerender();

    } catch (err) {

    }
  }

  change_mode({ value }) {
    this.data.mode = value;

    this.page.router.simulateGoTo(`/privileges/${this.data._id}?mode=${value}`);


    this.rerender();
  }

  cnageMode() {
    console.log(this.data.mode);
  }

  tableRowClick(v) {
    this.page.router.goTo(`/clients/${v._id}`);
  }

  _unmount() {
    super._unmount();
  }

  openService(v) {
    this.refs.service.show(v)
  }

  addService(category) {
    const payload = {
      card_type_id: this.data._id,
      category_id: category._id,
    }

    this.refs.service.show(payload, true)
  }
}

window._fr_blocks['pages-privileges.item.privilegeService.preview'] = class ServicePreview extends BlockClass {
  _mount() {
    super._mount();
  }
  
  _unmount() {
    super._unmount();
  }
  _needUpload = false;

  change() {
    this.getElement('fileInput').click()
  }

  avatarChange(v, event) {
    const file = event.target.files[0];

    this.page.store.emit("OpenImageCropper", {
      file,
      options: {
        aspectRatio: 1 / 1,
        autoCropArea: 1,
      },
      callback: (img) => this.onFileCropped(img),
    });
  }

  async recrop() {
    const url = this.page.utils.makeImageUrl(this.data.img);
    let response = await fetch(url);
    let data = await response.blob();
    let metadata = {
      type: "image/jpeg",
    };
    let file = new File([data], "test.jpg", metadata);

    this.page.store.emit("OpenImageCropper", {
      file,
      callback: (img) => this.onFileCropped(img),
    });
  }

  onFileCropped(img) {
    this.data.width = img.width;
    this.data.height = img.height;
    this.data.img = img.toDataURL();

    this._needUpload = true;

    this.rerender(true);
  }

  async uploadAndGetFileID() {
    if (this._needUpload === false) return this.data.img;

    var blobBin = atob(this.data.img.split(",")[1]);
    var array = [];

    this.page.store.emit("progress", ({ progress: 10 }))

    const size = blobBin.length;

    for (var i = 0; i < blobBin.length; i++) {
      array.push(blobBin.charCodeAt(i));
    }

    var file = new Blob([new Uint8Array(array)], { type: "image/jpeg" });

    const ws = this.page.store.get('ws');

    const res = await ws.rpc('file.getUploadUrl', {
      content_type: file.type,
      origin_uri: 'some_path.jpg'
    });

    await this.page.utils.uploadBinaryFile({
      upload_url: res.upload_url,
      content_type: file.type,
      file: file,
      onProgress: progress => {
        this.page.store.emit("progress", ({ progress }));
      }
    });

    this.page.store.emit("progress", ({ progress: 100 }));

    return {
      content_type: file.type,
      filename: res.filename,
      height: this.data.height,
      size,
      storage_bucketname: res.storage_bucketname,
      storage_endpoint: res.storage_endpoint,
      type: file.type,
      uri: res.filename,
      url: res.filename,
      width: this.data.width,
    };
  }

  remove() {
    this.data.img = void 0;

    this.rerender();
  }
}

window._fr_blocks['pages-privileges.item.privilegeService.selectIcon'] = class SelectIconBlock extends BlockClass {
  icons = ["ArrowDown","ArrowsOutLineVertical","ArrowSquareOut","ArrowUp","Article","Briefcase","BuildingOffice","Calculator","CalendarBlank","CallBell","CaretDown","CaretLeft","CaretRight","Champagne","ChartLine","Chats","ChatsTeardrop","Check","Checks","CircleNotch","Clock","Copy","DotsSixVertical","Eye","EyeClosed","File","FileDoc","FilePdf","Folders","FolderSimpleDashed","FunnelSimple","HardDrives","Headset","Image","Link","List","LockSimple","MagnifyingGlass","MapPin","Minus","Moon","Newspaper","Package","Paperclip","Pen","Plus","PresentationChart","Printer","Pulse","Scroll","SignOut","SlidersHorizontal","SquaresFour","Star","StarFill","SunDim","TextAa","TextAlignLeft","Trash","Tray","User","Users","UsersFour","Wallet","Warning","X","Heart","AirplaneTakeoff","ChefHat","Eye (1)","Guitar","FaceMask","Gift","FlowerTulip","Handshake","NoteBlank","ThumbsUp","Ticket","Package (1)","Waves","Towel","TreePalm"].map(name => {
    return { svg: window.renderBlocks[`blocks-icons.phosphor.icons.${name}`]() }
  })

  _mount() {
    super._mount();
    if (!this.data.selectedIcons) { this.data.selectedIcons = 0 };
  }

  cahnge(index) {
    const catNumger = this.data.catNumger;
    const inputSelect = this.parent.parent.refs[`select_input_${catNumger}`];
    this.data.selectedIcons = index;

    this.rerender();

    this.parent.parent.changeSVGIcon(this.icons[index].svg, this.data.index);
    inputSelect.focus();
  }

  init() {
    super.init();
    this.data.icons = this.icons;
    this.data.selectedIcons = 0;

    if (this.data.img && this.data.type === 'svg') {
      this.data.selectedIcons = this.icons.findIndex(elm => elm.svg === this.data.img.svg);
    }

    this.rerender();
  }

  _unmount() {
    super._unmount();
  }

}

window._fr_blocks['pages-privileges'] = class PrivilegesPage extends BlockClass {
    _mount() {
      super._mount();

    }  
    _unmount() {
      super._unmount();  
    }
  }

window._fr_blocks['pages-privileges.service.preview'] = class ServicePreview extends BlockClass {
  _mount() {
    super._mount();
  }
  
  _unmount() {
    super._unmount();
  }

  change() {
    this.getElement('fileInput').click()
  }

  avatarChange(v, event) {
    const file = event.target.files[0];

    this.page.store.emit("OpenImageCropper", {
      file,
      options: {
        aspectRatio: 1 / 1,
        autoCropArea: 1,
      },
      callback: (img) => this.onFileCropped(img),
    });
  }

  async recrop() {
    const url = this.page.utils.makeImageUrl(this.data.img);
    let response = await fetch(url);
    let data = await response.blob();
    let metadata = {
      type: "image/jpeg",
    };
    let file = new File([data], "test.jpg", metadata);

    this.page.store.emit("OpenImageCropper", {
      file,
      callback: (img) => this.onFileCropped(img),
    });
  }

  onFileCropped(img) {
    this.data.width = img.width;
    this.data.height = img.height;
    this.data.img = img.toDataURL();

    this.data._needUpload = true;

    this.rerender();
  }

  async uploadAndGetFileID() {
    if (!this.data._needUpload) return this.data.img;

    var blobBin = atob(this.data.img.split(",")[1]);
    var array = [];

    this.page.store.emit("progress", ({ progress: 10 }))

    const size = blobBin.length;

    for (var i = 0; i < blobBin.length; i++) {
      array.push(blobBin.charCodeAt(i));
    }

    var file = new Blob([new Uint8Array(array)], { type: "image/jpeg" });

    const ws = this.page.store.get('ws');

    const res = await ws.rpc('file.getUploadUrl', {
      content_type: file.type,
      origin_uri: 'some_path.jpg'
    });

    await this.page.utils.uploadBinaryFile({
      upload_url: res.upload_url,
      content_type: file.type,
      file: file,
      onProgress: progress => {
        this.page.store.emit("progress", ({ progress }));
      }
    });

    this.page.store.emit("progress", ({ progress: 100 }));

    return {
      content_type: file.type,
      filename: res.filename,
      height: this.data.height,
      size,
      storage_bucketname: res.storage_bucketname,
      storage_endpoint: res.storage_endpoint,
      type: file.type,
      uri: res.filename,
      url: res.filename,
      width: this.data.width,
    };
  }

  remove() {
    this.data.img = void 0;
    this.data._needUpload = false;
    // this.parent.updateImg(void 0, this);
    this.rerender();
  }
}

window._fr_blocks['pages-privileges.service'] = class Service extends BlockClass {
  _mount() {
    super._mount();
    this.validate = this.page.utils.createCheckValidationFunction(this.getClass('input-invalid'), this);
  }

  async edit(value = true) {
    this.data.edit = value;

    if (this.data.edit) {
      await this.fetchEditData();
    } else {
      this.data.categories = void 0;
      this.data.types = void 0;

      if (this.data.old_request_template) {
        this.data.request_template = this.data.old_request_template;
      }

      this.data.service.new_type = void 0;
      this.data.service.new_description = void 0;
      this.data.service.new_subtitle = void 0;
      this.data.service.new_site = void 0;
      this.data.service.new_name = void 0;
      this.data.service.new_discount = void 0;
      this.data.old_request_template = void 0;
    }


    this.rerender()
  }

  async show(v, create = false, event = false) {
    this.data.visible = true;
    this.data.service = v;
    this.data.edit = false;
    this.data.change_templat = false;
    this.data.event = event;
    this.data.event_id = v.event_id;

    await this.fetchData();

    if (create) {
      await this.edit(true);

      this.data.create = true;
    }

    this.rerender();
  }

  async fetchData() {
    try {
      const ws = this.page.store.get('ws');

      if (this.data.service._id) {
        const [rawService] = await Promise.all([
          ws.rpc('service.getEntity', { _id: this.data.service._id }),
        ]);

        this.data.service = rawService.data[0];

        this.data.service.technical = SRVStatus.prototype.isTechnical( this.data.service.status)
      }

      let [rawCategory, rawType, rawRequest] = await Promise.all([
        ws.rpc('service.getList', { list_name: 'service_category', params: { _id: this.data.service.category_id } }),
        ws.rpc('service.getList', { list_name: 'service_type', params: { _id: this.data.service.service_type_id } }),
        this.data.service.template_id ? ws.rpc('request_template.getList', { params: { _id: this.data.service.template_id } }) : Promise.resolve({ data: [] })
      ]);

      this.data.category = rawCategory.data[0];
      this.data.type = rawType.data[0];
      this.data.request_template = rawRequest.data[0];
    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'service.getEntity',
        error
      });
    }
  }

  async fetchEditData() {
    try {
      const ws = this.page.store.get('ws');

      let [rawType] = await Promise.all([
        ws.rpc('service.getList', { list_name: 'service_type' }),
      ]);

      this.data.types = rawType.data;

    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'service.getEntity',
        error
      });
    }
  }

  close() {
    this.data.visible = false;
    this.data.edit = false;
    this.data.service = void 0;
    this.data.category = void 0;
    this.data.type = void 0;
    this.data.change_templat = false;
    this.data.create = void 0;

    if (this.data.old_request_template) {
      this.data.request_template = this.data.old_request_template;
    }


    this.rerender();
  }

  changeRequestTemplate() {
    this.data.change_templat = true;

    if (this.refs.preview.data._needUpload) {
      this.data.need_load_image_data = this.refs.preview.data;
    }

    this.rerender();
  }

  changeTechSwitch(v, e) {
    this.data.service.technical = !!e.target.checked
  }

  validatePersonal() {
    const title = this.data.service.name || this.data.service.new_name ? "" : "- название <br>";
    const img = !this.refs['preview'].data.img ? "- картинка обложки <br>" : "";
    const template = !this.data.request_template ? "- шаблон мероприятия <br>" : "";

    if ( title + img + template === "" ) {
      return true;
    } else {
      this.page.store.emit("notification", {
        text: `Не заполнены следующие поля: <br> ${title} ${img} ${template}`,
        mode:'error',
        timeout:30000,
      });
      return false;
    }
  }

  async upsert() {
    this.validate();

    if ( this.validatePersonal() ) {
      console.log( 'прошло' );
      this.data.edit = false;

      if (this.data.service.new_type) {
        this.data.type = this.data.service.new_type;

        this.data.service.service_type_id = this.data.service.new_type._id;
        this.data.service.new_type = void 0;
      }

      if (this.data.service.new_description) {
        this.data.service.description = this.data.service.new_description;
        this.data.service.new_description = void 0;
      }

      if (this.data.service.new_subtitle) {
        this.data.service.subtitle = this.data.service.new_subtitle;
        this.data.service.new_subtitle = void 0;
      }

      if (this.data.service.new_site) {
        this.data.service.site = this.data.service.new_site;
        this.data.service.new_site = void 0;
      }

      if (this.data.service.new_name) {
        this.data.service.name = this.data.service.new_name;
        this.data.service.new_name = void 0;
      }

      if (this.data.service.new_discount !== undefined) {
        if (!this.data.service.new_discount)
          this.data.service.new_discount = void 0;

        this.data.service.discount = this.data.service.new_discount;
        this.data.service.new_discount = void 0;
      }


      this.data.old_request_template = void 0;

      try {

        this.data.service.img = await this.refs['preview'].uploadAndGetFileID();


        const payload = {
          _id: this.data.service._id,
          card_type_id: this.data.service.card_type_id,
          service_type_id: this.data.service.service_type_id || 3,
          category_id: this.data.service.category_id,
          img: this.data.service.img,
          name: this.data.service.name,
          description: this.data.service.description,
          subtitle: this.data.service.subtitle,
          site: this.data.service.site,
          discount: this.data.service.discount,
          template_id: this.data.request_template._id,
          event_id: this.data.event_id,
          technical: this.data.service.technical

        }


        const ws = this.page.store.get('ws');
        const res = await ws.rpc('service.upsert', payload);


        this.parent.upsertService(res);

        this.page.store.emit('notification', {
          text: this.data.service._id ? 'Привилегия обновлена' : 'Привилегия добавлена'
        });


        this.rerender();
      } catch (error) {
        this.page.store.emit('api-error', {
          command: 'service.getEntity',
          error
        });
      }
    }
  }

  selectRequestTemplate(v) {
    if (!this.data.old_request_template) {
      this.data.old_request_template = this.data.request_template;
    }



    this.data.request_template = v;
    this.data.change_templat = false;

    this.rerender();

    this.page.nextTick(() => {
      if (this.data.need_load_image_data) {
        this.refs.preview.data = this.data.need_load_image_data;
        this.refs.preview.rerender();

        this.data.need_load_image_data = void 0;
      }
    })
  }


  input(name, e) {
    const value = e.target.value;

    this.page.utils.set(this.data, name, value);

  }

  select_type(v) {
    this.data.service.new_type = this.data.types.find(t => t._id === +v)
  }

  cancelEdit() {
    this.edit(false);
  }

  wantRemove() {
    this.refs.modal.show({
      title: 'Удаление привилегии',
      subtitle: 'Вы действительно хоитите удалть эту привилегию?',
      text: 'Полсле удаления привилегии клиенты больше ее не увидят',
      onFailureText: 'Удалить',
      onCancelText: 'Отмена',
      onFailure: () => {
        this.remove();
      }
    })
  }

  async remove() {
    this.page.store.emit('show_progress', true);

    try {
      const ws = this.page.store.get('ws');

      const _id = this.data.service._id;

      const res = await ws.rpc('service.remove', { _id: +this.data.service._id });

      this.close();

      this.parent.fetchData && this.parent.fetchData();
      this.parent.removedService && this.parent.removedService({ _id });

      this.page.store.emit('notification', {
        title: 'Привилегиия удалена',
        text: 'Отменить удаление привилегии',
        mode: 'error',
        type: 'big',
        action1Text: 'Восстановить',
        timeout: 9999999,
        action1: () => {
          this.restore({ _id })
        },
      });

    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'news.remove',
        error
      })
    } finally {
      this.page.store.emit('show_progress', false);
    }
  }


  async restore({ _id }) {
    this.page.store.emit('show_progress', true);

    try {
      const ws = this.page.store.get('ws');

      const res = await ws.rpc('service.restore', { _id });


      this.parent.fetchData && this.parent.fetchData();
      this.parent.restoredService && this.parent.restoredService(res);


      this.page.store.emit('notification', {
        text: 'Привилегия восстановлена',
      });

    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'service.restore',
        error
      })
    } finally {
      this.page.store.emit('show_progress', false);
    }
  }
}

window._fr_blocks['pages-privileges.service.templates.item'] = class RequestTemplatesItem extends BlockClass {
  select(v,e){

    // FIXME
    this.parent.parent.parent.selectRequestTemplate(v)
  }
}

window._fr_blocks['pages-privileges.service.templates'] = class RequestTemplates extends BlockClass {
  search(v,e){

    this.data.q = e.target.value;

    if (this.data.q.length > 2 || this.data.q.length === 0){
      this.refs.list.search(this.data.q);
    }
  }
}

window._fr_blocks['pages-profile'] = class ProfilePage extends BlockClass {
  _mount() {
    super._mount();
    this.validate = this.page.utils.createCheckValidationFunction(this.getClass('input-invalid'), this);
  }

  init() {
    super.init();


    this.fetchData();
  }

  async fetchData() {
    try {
      const ws = this.page.store.get('ws');

      const me = await this.page.store.get('ws').rpc('users.me', {});


      this.data = { ...this.data, ...me, loaded: true }

      this.rerender();

    } catch (err) {

    }
  }



  onInputChange(v, e) {
    this.data[v] = e.target.value;
  }


  edit() {
    this.data.edit = true;

    this.rerender();
  }

  cancelEdit() {
    this.data.edit = false;

    this.rerender();
  }

  async save() { 
    if (this.validate()){
      try {
        this.page.store.emit('show_progress', true);
        const ws = this.page.store.get('ws');

        const res = await ws.rpc('users.upsert', {
          _id: this.data._id,
          last_name: this.data.last_name,
          first_name: this.data.first_name,
          email: this.data.email,
          phone_number: this.data.phone_number,
        });

        this.data.edit = false;

        this.rerender();

        this.page.store.emit('notification', {
          text: 'Данные сохранены',
        });

      
      } catch (error) {
        this.page.store.emit('api-error', {
          command: 'client.upsert',
          error
        });
      } finally {
        this.page.store.emit('show_progress', false);
      }
    }
  }

  async exit() {
    try {
      const res = await this.page.store.get('ws').rpc('users.deauth', {});

      this.page.store.clear("authorizationToken", res.token);
      deleteCookie('token');

      this.page.store.assign("o", { _id: void 0 });


      this.page.router.goTo('/');
    } catch (err) {

    }
  }


  changeThemeSwitch() {
    setCookie('theme', this.page.state.context.theme === 'light' ? 'dark' : 'light');
    location.reload()
  }

  _unmount() {
    super._unmount();
  }

  changePassword() {
    this.refs.modalPass.show();
  }
}

window._fr_blocks['pages-receipts.add'] = class InvoicePage extends BlockClass {
  _mount() {
    super._mount();
    this.validate = this.page.utils.createCheckValidationFunction(this.getClass('input-invalid'), this);

    this.off1 = this.page.store.on(`blocks-select_50-Currency`, (currency) => {
      this.data.new_invoice.currency = currency;
    });
  }

  init() {
    super.init();
    this.fetchData()
  }

  async fetchData() {
    try {
      const ws = this.page.store.get('ws');

      const request = await ws.rpc('request.getEntity', {
        list_name: 'request_list',
        _id: this.page.router.query.rq
      });

      this.data.request = request.data[0];

      const client = await ws.rpc('client.getEntity', { list_name: "client_entity", _id: this.data.request.cl_id });
      this.data.client = client.data[0];
      this.data.loaded = true;

      this.data.new_invoice = {
        request_id: this.data.request._id,
        comment: '',
        amount: 0,
        currency: 'RUB'
      }


      this.rerender();
    } catch (err) {
      console.error(err)
    }
  }

  changeText(value, event) {
    this.data.new_invoice[value] = event.target.value;
  }

  async create() {
    if (this.validate()) {
      this.page.store.emit("show_progress", true);

      try {
        const ws = this.page.store.get("ws");
        const res = await ws.rpc("invoice.upsert", this.data.new_invoice);

        this.page.router.goTo(`/receipts/${res._id}`);

        this.page.store.emit("notification", {
          text: "Счет создан",
        });

      } catch (error) {
        this.page.store.emit("api-error", {
          command: "invoice.upsert",
          error,
        });
      } finally {
        this.page.store.emit("show_progress", false);
      }
    }
  }

  cancel() {
    this.page.router.goTo('/receipts');
  }

  _unmount() {
    super._unmount();
    this.off1();
  }
}


window._fr_blocks['pages-receipts.item'] = class EventEditPage extends BlockClass {
  _mount() {
    super._mount();
  }

  init() {
    super.init();
    this.fetchData();
  }

  async fetchData() {
    try {
      const ws = this.page.store.get("ws");

      let [receipt] = await Promise.all([
        ws.rpc("invoice.getEntity", { _id: +this.data._id, list_name: "invoice_view" }),
      ]);

      receipt = receipt.data[0];

      let [client] = await Promise.all([
        ws.rpc("client.getEntity", { _id: receipt.cl_id, list_name: "client_entity" }),
      ]);

      client = client.data[0];

      this.data = {
        ...this.data,
        receipt,
        client,
        loaded: true,
      };

      this.rerender();
    } catch (error) {
      this.page.store.emit("api-error", {
        command: "invoice.getEntity",
        error,
      });
    } finally {
      this.page.store.emit('show_progress', false);
    }
  }

  // copy(v) {
  //   const inp = document.createElement('input');
  //   inp.value = v.copy;
  //   document.body.appendChild(inp)
  //   inp.select()
    
  //   document.execCommand('copy');
    
  //   document.body.removeChild(inp);
  //   console.log(v.copy);
  // }

  async copy(v) {
    await navigator.clipboard.writeText(v.copy).catch(console.error);
  }

  _unmount() {
    super._unmount();
  }
}


window._fr_blocks['pages-receipts'] = class ReceiptsPage extends BlockClass {
  _mount() {
    super._mount();

  }
  
  change_receipts_mode({ value }) {
    this.page.router.goTo("/receipts", {
      type: value,
    });
  }

  _unmount() {
    super._unmount();  
  }

  tableRowClick(v) {
    this.page.router.goTo(`/receipts/${v._id}`);
  }
}


window._fr_blocks['pages-requests.item'] = class RequestPage extends BlockClass {
  init() {
    super.init();


    this.fetchData();
  }

  async fetchData() {
    try {
      const ws = this.page.store.get('ws');

      const request = await ws.rpc('request.getEntity', {
        list_name: 'request_list',
        _id: this.data._id
      });

      this.data.request = request.data[0];

      const client = await ws.rpc('client.getEntity', { list_name: "client_entity", _id: this.data.request.cl_id });
      this.data.client = client.data[0];
      this.data.loaded = true;

      this.rerender();
    } catch (err) {

    }
  }

  async takeRequest({ comment }) {
    try {
      this.page.store.emit('show_progress', true);
      const ws = this.page.store.get('ws');
      const res = await ws.rpc('request.confirm', { _id: this.data.request._id, comment });

      this.data.request.status = res.status;
      this.data.request.comment = res.comment;
      this.data.request.confirmed_at = res.confirmed_at;

      this.rerender();

      this.page.store.emit('notification', {
        text: 'Запрос взят в обработку',
        action1Text: 'Отменить',
        action1: () => { this.unconfirm() },
      });

    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'request.confirm',
        error
      });
    } finally {
      this.page.store.emit('show_progress', false);
    }
  }

  async completeRequest({ comment }) {
    try {
      this.page.store.emit('show_progress', true);
      const ws = this.page.store.get('ws');
      const res = await ws.rpc('request.complete', { _id: this.data.request._id, comment });

      this.data.request.status = res.status;
      this.data.request.comment = res.comment;
      this.data.request.completed_at = res.completed_at;


      this.page.store.emit('notification', {
        text: 'Запрос обработан',
      });

      this.rerender();
    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'request.complete',
        error
      });
    } finally {
      this.page.store.emit('show_progress', false);
    }
  }


  async cancelRequest({ comment }) {
    try {
      this.page.store.emit('show_progress', true);
      const ws = this.page.store.get('ws');
      const res = await ws.rpc('request.cancel', { _id: this.data.request._id, comment });

      this.data.request.status = res.status;
      this.data.request.comment = res.comment;
      this.data.request.canceled_at = res.canceled_at;


      this.page.store.emit('notification', {
        text: 'Запрос отменен',
        mode:'error',
      });

      this.rerender();
    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'request.cancel',
        error
      });
    } finally {
      this.page.store.emit('show_progress', false);
    }
  }


  completed() {
    this.page.store.emit('open_request', {
      request: this.data.request,
      mode: 'requestCompleted',
      confirm: (data) => this.completeRequest(data)
    });
  }



  take() {
    this.page.store.emit('open_request', {
      request: this.data.request,
      mode: 'requestConfirm',
      confirm: (data) => this.takeRequest(data)
    });
  }

  close() {
    this.page.store.emit('open_request', {
      request: this.data.request,
      mode: 'requestCanceled',
      confirm: (data) => this.cancelRequest(data)
    });
  }




  async unconfirm() {
    try {
      this.page.store.emit('show_progress', true);
      const ws = this.page.store.get('ws');
      const res = await ws.rpc('request.unconfirm', { _id: this.data.request._id });

      this.data.request.status = res.status;
      this.data.request.confirmed_at = void 0;
      this.rerender();

      this.page.store.emit('notification', {
        text: 'Обработка запроса отменена',
        action1Text: 'Взять в обработку',
        action1: () => { this.completed() },
      });

    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'request.unconfirm',
        error
      });
    } finally {
      this.page.store.emit('show_progress', false);
    }
  }
}

window._fr_blocks['pages-requests'] = class RequestsPage extends BlockClass {
  change_request_mode({ value }) {
    this.page.router.goTo("/requests", {
      type: value,
    });
  }

  tableRowClick(v) {
    this.page.router.goTo(`/requests/${v._id}`);
  }

  create() {
    this.page.store.emit("open_request", {
      request: {},
      mode: "requestAdd",
      confirm: (data) => this.createRequest(data),
    });
  }

  createRequest(payload) {
    payload.then((item) => {
      this.refs.table.insert(item);
    });
  }
}


window._fr_blocks['pages-service'] = class ClientPage extends BlockClass {
  _mount() {
    super._mount();
  }

  init() {
    super.init();

    this.fetchData();
  }

  editService() {
    this.refs.service.show(this.data, true)
  }


  upsertService(service) {
    this.data = {...this.data, ...service}
    this.rerender()
  }


  async fetchData() {
    try {
      const ws = this.page.store.get('ws');
      let partnerId = this.data.portal_params[0];

      let [service] = await Promise.all([
        ws.rpc('service.getEntity', { list_name: 'service_view', _id: partnerId })
      ]);

      service = service.data[0];

      this.data = { ...this.data, ...service, loaded: true }

      this.rerender();
    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'service.getEntity',
        error
      });
    }
  }

  _unmount() {
    super._unmount();
  }

}


window._fr_blocks['pages-services'] = class ServicesPage extends BlockClass {
    _mount() {
      super._mount();
    }

    change_mode({value}){
      this.page.router.goTo('/services', {
        type: value,
      });
    }
    
    tableRowClick(v) {
      this.page.router.goTo(`/services/${v._id}`);
    }

    addService() {
      this.refs.service.show({}, true);
    }

    upsertService(service) {
      this.rerender()
    }
  
    _unmount() {
      super._unmount();  
    }
  }

window._fr_blocks['pages-templates.edit'] = class EditTemplate extends BlockClass {
  _mount() {
    super._mount();
    this.validate = this.page.utils.createCheckValidationFunction(this.getClass('input-invalid'), this);

  }

  extractFieldsFromString(str) {
    const regex = /\{([^}]+)\}/g; // Регулярное выражение для поиска текста в фигурных скобках
    const matches = ['accept_button'];
    let match;

    // Ищем все совпадения в строке
    while ((match = regex.exec(str)) !== null) {
      matches.push(match[1]); // Добавляем найденное поле (без скобок)
    }

    return matches;
  }

  _unmount() {
    super._unmount();
  }

  init() {
    super.init();
    this.fetchData();
  }

  changeMode(v) {
    let volidationValue;
    if ( this.data.mode === 'form') {
      const checkBlock = this.getBlockByName("templates.inputs");
      volidationValue = !checkBlock ? true : checkBlock.children.map(item => item. validatePersonal())[0];
    } else {
      volidationValue = this.validatePersonal();
    }
    this.validate();

    if ( volidationValue ) {
      this.data.mode = v.value;

      this.page.router.simulateGoTo(
        `/templates/${this.data._id}/edit`,
        () => {
          this.rerender();
        },
        { query: { mode: v.value } }
      );
    }

    
  }

  paramChange({ param }, e) {
    const t = e.target.value;

    this.data.template.payload[param] = t;
  }

  idChange(v,e){
    this.data.template._id = e.target.value;
  }

  titleChange(v,e){
    const t = e.target.value;
    this.data.template.title = t;

    this.rerender();
  }

  templateChange(v, e) {
    const t = e.target.value;

    this.data.template.template = t;

    const params = this.extractFieldsFromString(t || "");
    let needRender = false;
    let np = {};

    //if (params.length > Object.keys(this.data.template.payload).length) {
    params.forEach((p) => {
      np[p] = this.data.template.payload[p];
      // if (!this.data.template.payload[p]) {
      //   this.data.template.payload[p] = "";
      needRender = true;
      // }
    });
    //}

    if (needRender) {
      this.data.template.payload = np;
      this.rerender();
    }
  }

  validatePersonal() {
    const _id = !this.data.template._id ? "- идентификатор <br>" : "" ;
    const title = !this.data.template.title ? "- название шаблона <br>" : "" ;
    const template = !this.data.template.template ? "- шаблон автоответа <br>" : "" ;
    if ( _id + title + template === "" ) {
      return true;
    } else {
      this.page.store.emit("notification", {
        text: `Не заполнены следующие поля: <br> ${_id} ${title} ${template}`,
        mode:'error',
        timeout:30000,
      });
      return false;
    }
  }

  async save() {
    let volidationValue;
    if ( this.data.mode === 'form') {
      const checkBlock = this.getBlockByName("templates.inputs");
      volidationValue = !checkBlock ? true : checkBlock.children.map(item => item.validatePersonal())[0];
    } else {
      volidationValue = this.validatePersonal();
    }
    
    this.validate();
    if ( volidationValue ) {
      try {

        this.page.store.emit('show_progress', true);
        const ws = this.page.store.get('ws');

        const res = await ws.rpc('request_template.upsert', {
          _id: this.data.template._id,
          title: this.data.template.title,
          fields: this.data.template.fields,
          template: this.data.template.template,
          payload: this.data.template.payload,
        });

        this.page.store.emit('notification', {
          text: this.data._id ? 'Шаблон обновлен' : 'Шаблон добавлен',
        });

        this.rerender();
      } catch (error) {
        this.page.store.emit('api-error', {
          command: 'request_template.upsert',
          error
        });
      } finally {
        this.page.store.emit('show_progress', false);
      }
      console.log('почему-то сохранилось');
    }
  }


  updateFields(fields){
    this.data.template.fields = fields;

    // console.log('new fields', fields)
  }

  async fetchData() {
    try {
      const ws = this.page.store.get("ws");
      let template;

      if (this.data._id === 'new') {
        this.data.isNew = true;
        template = {
          "_id": "",
          "fields": [],
          "template": "",
          "payload": {
          }
        }
      } else {
        [template] = await Promise.all([
          ws.rpc("request_template.getEntity", { _id: this.data._id }),
        ]);

        template = template.data[0];
      }

      const params = this.extractFieldsFromString(template.template || "");

      params.forEach((p) => {
        if (!template.payload[p]) {
          template.payload[p] = void 0;
        }
      });

      if  (!template.fields){
        template.fields = [];
      }

      this.data = { ...this.data, template, loaded: true };

     // console.log(this.data)

      this.rerender();
    } catch (error) {
      this.page.store.emit("api-error", {
        command: "service.getEntity",
        error,
      });
    }
  }
}


window._fr_blocks['pages-templates.edit.form'] = class EditTemplateForm extends BlockClass {
  deff = {
    TextInput: {
      "joi": [
        "string",
        [
          "max",
          255
        ]
      ],
      "icon": {
        "name": "Calculator"
      },
      "name": "",
      "label": "",
      "value": "",
      "component": {
        "name": "TextInput",
        "props": {
        }
      },
      "placeholder": ""
    },
    DataPicker: {
      "joi": [
        "date",
        "required"
      ],
      "icon": {
        "name": "CaretRight"
      },
      "name": "",
      "label": "",
      "component": {
        "name": "DataPicker",
        "props": {
          "mode": "date",
          "format": "DD.MM.YYYY"
        }
      }
    },
    CounterInput: {
      "joi": [
        "date",
      ],
      "icon": {
        "name": "ChatsTeardrop"
      },
      "name": "",
      "label": "",
      "value": 0,
      "component": {
        "max": 9,
        "min": 0,
        "name": "CounterInput",
        "props": {
          "keyboardType": "number-pad"
        }
      },
      "multiline": true
    },
    Text: {
      "name": "",
      "value": "",
      "component": {
        "name": "Text",
        "props": {}
      }
    },
    Img: {
      "name": "",
      "value": "",
      "component": {
        "name": "Img",
        "props": {}
      }
    },
    Seporator: {
      "name": "",
      "label": "",
      "component": {
        "name": "Seporator",
        "props": {}
      }
    },
  };

  _mount() {
    super._mount();
    this.validate = this.page.utils.createCheckValidationFunction(this.getClass('input-invalid'), this);
  }

  selectFild({ index }) {
    const checkBlock = this.getBlockByName("templates.inputs");
   
    if ( !checkBlock ? true : checkBlock.children.map(item => item.validatePersonal())[0] ) {
      this.data.selectedField = index;
  
      // this.refs['inputs'].data.field = this.data.fields[index];
  
      // this.refs['inputs'].rerender();
  
      // this.page.nextTick(() => {
      this.rerender();
      // })
    }
  }

  addField(name) {
    this.data.selectedField = this.data.fields.push(this.deff[name]) - 1;

    this.rerender();

  }

  clickToBg(v, e) {
    const checkBlock = this.getBlockByName("templates.inputs");
    const volidationValue = !checkBlock ? true : checkBlock.children.map(item => item. validatePersonal())[0];
    if ( volidationValue ) {
      this.data.selectedField = void 0;
      this.rerender();
    }
  }

  moveDown(index) {
    if (index == this.data.fields.length - 1)
      return;
    
    const newArray = [...this.data.fields];
    const [movedElement] = newArray.splice(index, 1);

    newArray.splice(index + 1, 0, movedElement);

    this.data.fields = newArray;

    this.parent.updateFields(this.data.fields);

    this.refs['main'].data.fields = this.data.fields;
    this.refs['main'].rerender();

  }

  moveUp(index) {
    if (index == 0)
      return;
    
    const newArray = [...this.data.fields];
    const [movedElement] = newArray.splice(index, 1);

    newArray.splice(index - 1, 0, movedElement);

    this.data.fields = newArray;

    this.parent.updateFields(this.data.fields);

    this.refs['main'].data.fields = this.data.fields;
    this.refs['main'].rerender();
  }

  removeIndex(index) {
    this.data.fields.splice(index, 1);

    if (this.data.selectedField == index) {
      this.data.selectedField = void 0;
    }

    this.parent.updateFields(this.data.fields);

    // this.refs['main'].data.fields = this.data.fields;
    //this.refs['main'].rerender();

    this.rerender()
  }


  updateField({ index, field }) {
    for (let k in field) {
      this.data.fields[index][k] = field[k];
    }

    this.parent.updateFields(this.data.fields)


    this.refs['main'].data.fields = this.data.fields;
    this.refs['main'].rerender();

    //this.rerender();


    // need update  entity

  }

}


window._fr_blocks['pages-templates'] = class NewsPage extends BlockClass {
  _mount() {
    super._mount();
  }

  change_request_mode({value}){
    this.page.router.goTo('/templates', {
    type: value,
    });
  }

  _unmount() {
    super._unmount();  
  }

  tableRowClick(v){
    this.page.router.goTo(`/templates/${v._id}/edit`);
  }
}

window._fr_blocks['pages-test.1'] = class IndexPage1 extends BlockClass {
  _mount(){
    super._mount();
  }
  _unmount(){
    super._unmount();
  }
}

window._fr_blocks['pages-test.2'] = class IndexPage2 extends BlockClass {
  _mount(){
    super._mount();
  }
  _unmount(){
    super._unmount();
  }
}

window._fr_blocks['pages-test.3'] = class IndexPage3 extends BlockClass {
  _mount(){
    super._mount();
  }
  _unmount(){
    super._unmount();
  }
}

window._fr_blocks['layout-main'] = class MainLayout extends BlockClass {
    _mount(){
      super._mount();
    }
    
    _unmount(){
      super._unmount();
    }
  }

window._fr_blocks['blocks-portal'] = class PortalBlock extends BlockClass {

    testPSRouts(url, routs = this.page._routes, three = []) {
        for (let route of routs) {
            const res = url.match(route.route);

            if (res !== null) {
                const [part, ...params] = res;

                const portal = {
                    name: route.block,
                    params: params || [],
                    portal: route.portal
                };

                three.push(portal);

                if (route.routs) {
                    return this.testPSRouts(url.replace(part, ""), route.routs, three);
                }

                return three;
            }
        }

        three.length === 0 && three.push({ params: [] });

        return three;
    }

    _mount() {
        super._mount();

        this.page._portals[this.data.pname] = this;

        this.off1 = this.page.store.on('try-go-to', async ({ href, query, options }) => {
            return this.testPortal({ href, query, options })
        });
    }

    async init() {
        super.init();

        this.testPortal({ href: this.page.router.currentHref, options: {} });
    }

    async testPortal({ href, query, options }) {

        const [url, rq] = href.split('?');

        if (rq) {
            query = {
                ...rq.split("&").reduce((obj, x) => {
                    let [a, b] = x.split("=");
                    obj[a] = decodeURI(b);
                    return obj;
                }, {}), ...query
            };

        }
        const [route, ...portals] = this.testPSRouts(url);

        if (portals.length === 0)
            return true;

        const { debug, html, meta, state } = await this.page.getBlock(portals[0].name, {
            parent_portal: this.id,
            portal_params: (portals[0] ? portals[0].params : []) || []
        }, query);


        this.data.currentData = this.data;
        this.data.currentName = portals[0].name;



        this.page.addDebugInfo(debug);
        this.root.innerHTML = html;

        window.history.pushState({ href, html, ...meta }, "", href);

        this.page.router.changeMetaTags(meta);

        if (this.children[0]) {
            this.page.router.setCurrent(this.page.replacePageBlocks(state.renderBlocks, state, this.children[0]));
        } else {
            this.page.pushBlocks(state.renderBlocks, this);
        }

        options.scroll && window.scrollTo({ top: 0 });


        //console.log(res);

        return false;
    }

    _unmount() {
        delete this.page._portals[this.data.pname];
        this.off1();
        super._unmount();
    }
}


window._fr_blocks['blocks-authorization.login'] = class Login extends BlockClass {
  _mount() {
    super._mount();
  }
  _unmount() {
    super._unmount();
  }

  hidePassword(v, e) {
    this.refs.password.setAttribute("type", "password");

    this.refs._.showPassword.elm.style.display = 'block';
    this.refs._.hidePassword.elm.style.display = 'none';

  }

  showPassword(v, e) {
    this.refs.password.setAttribute("type", "text");
    this.refs._.hidePassword.elm.style.display = 'block';
    this.refs._.showPassword.elm.style.display = 'none';
  }

  async enter() {
    try {
      const login = this.refs.login.value;
      const password = this.refs.password.value;

      if (login && password) {
        const res = await this.page.store.get('ws').rpc('users.auth', {
          email: login,
          password: password,
          remember_me: true,
          user_agent: window.navigator.userAgent,
          language:  window.navigator.language
        }, { auth: false });

        this.page.store.set("authorizationToken", res.token);
        setCookie('token', res.token);

        this.page.store.assign("o", { _id: res._id, country:"ru"});
        const me = await this.page.store.get('ws').rpc('users.me', {}, {auth: false});

        this.page.store.memorize("me",me);

        this.page.router.goTo(this.page.router.currentHref);

        this.page.nextTick(() => {
          this.page.store.memorize('ready', true)
        });
      } else {
        this.data.error = 'Укажите логин и пароль';
        this.rerender();
      }

    } catch (err) {
      this.data.error = err.message;
      this.rerender();
    }


  }
}

window._fr_blocks['blocks-changeCountry'] = class EventsPage extends BlockClass {
  async change({ country }) {
    const oldCountry = this.page.state.context.options.country;

    try {      
      this.page.store.emit('show_progress', true);
      this.page.store.assign("o", { country });
      const ws = this.page.store.get('ws');
      await ws.rpc('users.setCountry', { country },{timeout:1000});
      this.page.store.emit('show_progress', false);

     // this.page.router.reload();
     location.reload()
    } catch (error) {
      this.page.store.assign("o", { country:oldCountry });
      this.page.store.emit('show_progress', false);

      this.page.store.emit('api-error', {
        command: 'user.setCountry',
        error
      })
    }
  }
}



window._fr_blocks['blocks-chats.chatTab.chClient'] = class ClientInfo extends BlockClass {
  _mount() {
    super._mount();

  }

  init() {
    super.init();


    this.fetchData();
  }

  async fetchData() {
    try {
      const ws = this.page.store.get('ws');

      const [{ data }] = await Promise.all([
        ws.rpc('client.getEntity', {list_name: "client_entity", _id: this.data.cl_id}),
      ]);

      const res = data[0];
      let privilegeInfo = false;
    
      if ( res.card_type_id ) {
        [privilegeInfo] = await Promise.all([
          ws.rpc("service.getEntity", { list_name: "card_type_view", _id: res.card_type_id }),
        ]);
        privilegeInfo = privilegeInfo.data[0];

        if ( res.card_details?.period_id && privilegeInfo?.periods && Array.isArray(privilegeInfo?.periods) ) {
          for ( let i = 0; i < privilegeInfo.periods.length; i++ ) {
            if ( privilegeInfo.periods[i].id === res.card_details?.period_id ) {
              let changedPeriod = privilegeInfo.periods[i];
              privilegeInfo = { ...privilegeInfo, changedPeriod};
              break;
            }
          }
        }
      }

      this.data = { 
        ...this.data,
        privilegeInfo,
        ...res, loaded:true,
      }
     this.rerender();

    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'client.getEntity',
        error
      })
    }
  }


  _unmount() {
    super._unmount();
  }
}

window._fr_blocks['blocks-eventList.editEvent'] = class eventEditInfoBlock extends BlockClass {
  _mount() {
    super._mount();
    this.validate = this.page.utils.createCheckValidationFunction(
      this.getClass("input-invalid"),
      this
    );

    this.off1 = this.page.store.on('updateDescriptionBlocks', (payload) => {
      const path = payload.path.replace(".blocks", "");

      this.page.utils.set(this.data.event, `${path}`, payload.value);

      if (payload.options) {
        this.page.utils.set(
          this.data.event,
          `${path.replace("value", "options")}`,
          payload.options
        );
      }

    this.updateParent();

    });

  }

  changeText(v, e) {
    this.data.event[v] = e.target.value;

    this.updateParent();
  }

  changeDate(v, e) {
    this.data.event[v] = moment(e.target.value).format();

    this.updateParent();
  }

  selectServive(_id) {
    const service = this.data.services.find(s => s._id == _id)
    this.data.event.service = service;
    this.updateParent();
  }

  changeDescriptionEditMode({ value }) {
    this.parent.data.description_mode = value;
    this.parent.rerender();
  }

  async updateImg(img, block) {
    this.page.nextTick(async () => {
      const img = await block.uploadAndGetFileID();
      this.data.event[block.data.path] = img;
      this.updateParent();
    });
  }

  useOnePreview(v, e) {
    this.data.event._use_one_preview = e.target.checked;
    this.rerender();
    this.updateParent();
  }

  selectCategory(v) {
    this.data.event.category_id = v;
  }

  updateParent() {
    this.parent.updateFromInnerBlock &&
      this.parent.updateFromInnerBlock({
        title: this.data.event.title,
        started_at: this.data.event.started_at,
        finished_at: this.data.event.finished_at,
        city: this.data.event.city,
        subtitle: this.data.event.subtitle,
        description: this.data.event.description,
        img: this.data.event.img,
        logo: this.data.event.logo,
        materials: this.data.event.materials,
        category_id: this.data.event.category_id,
        service: this.data.event.service,
        description_blocks: this.data.event.description_blocks,
        keywords: this.data.event.keywords,
      });
  }

  // async makaDate() {
  //   this.page.store.emit('show_progress', true);

  //   try {
  //     const img = await this.refs['preview'].uploadAndGetFileID();

  //     const data = {
  //       _id: this.data.event._id === 'new' ? void 0 : this.data.event._id,
  //       title: this.data.event.title,
  //       started_at: this.data.event.started_at,
  //       finished_at: this.data.event.finished_at,
  //       city: this.data.event.city,
  //       subtitle: this.data.event.subtitle,
  //       description: this.data.event.description,
  //       img: img,
  //     }

  //     const ws = this.page.store.get('ws');

  //     const res = await ws.rpc('event.upsert', data);

  //     if (this.data._id === undefined) {
  //       this.page.router.goTo(`/events/${res._id}/edit`);

  //       this.page.store.emit('notification', {
  //         text:'Мероприятие добавлено',
  //       });
  //     } else {
  //       this.page.store.emit('notification', {
  //         text:'Мероприятие изменено',
  //       });
  //     }

  //   } catch (error) {
  //     this.page.store.emit('api-error', {
  //       command: 'event.upsert',
  //       error
  //     })
  //   } finally {
  //     this.page.store.emit('show_progress', false);
  //   }
  // }

  // goBack() {
  //   if (this.data.event._id === 'new') {
  //     this.page.router.goTo(`/events`);
  //   } else {
  //     this.page.router.goTo(`/events/${this.data.event._id}`);
  //   }
  // }

  updateMaterials(materials) {
    this.data.event.materials = materials;

    this.updateParent();
  }

  remove() {
    this.parent.remove();
  }

  restore() {
    this.parent.restore();
  }

  validatePersonal() {
    const title = !this.data.event.title ? "- название события <br>" : "" ;
    const category_id = !this.data.event.category_id ? "- категория мероприятия <br>" : "" ;
    const started_at = !this.data.event.started_at || this.data.event.started_at === 'Invalid date' ? "- дата начала отсутствует или неверно заполнена <br>" : "" ;
    const finished_at = !this.data.event.finished_at || this.data.event.finished_at === 'Invalid date' ? "- дата завершения отсутствует или неверно заполнена <br>" : "" ;
    const city = !this.data.event.city ? "- место проведения <br>" : "" ;
    const keywords = !this.data.event.keywords ? "- ключевые слова <br>" : "" ;
    const subtitle = !this.data.event.subtitle ? "- краткое описание <br>" : "" ;
    const imgList = !this.data.event.logo ? "- картинка в СПИСКЕ мероприятий <br>" : "" ;
    const imgEvent = !this.data.event.img && this.data.event._use_one_preview ? "- картинка на СТРАНИЦЕ мероприятия <br>" : "" ;
    let description;

    if ( this.data.description_mode === "advanced") {
      description = !this.data.event.description_blocks || ( this.data.event.description_blocks[0].value === '' && this.data.event.description_blocks.length === 1 )? "- полное описание в продвинутом режиме <br>" : "" ;
    } else {
      description = !this.data.event.description ? "- полное описание <br>" : "" ;
    }

    if ( title + category_id + started_at + finished_at + city + keywords + subtitle + description + imgList + imgEvent === "" ) {
      return true;
    } else {
      this.page.store.emit("notification", {
        text: `Не заполнены следующие поля: <br> ${title} ${category_id} ${started_at} ${finished_at} ${city} ${keywords} ${subtitle} ${description} ${imgList} ${imgEvent}`,
        mode:'error',
        timeout:30000,
      });
      return false;
    }
  }
  
  next() {
    this.validate();
    if (this.validatePersonal()) {
      this.parent.changeEventEditMode({ value: "program" });
    }
  }

  toggleExternal() {
    this.parent.toggleExternal();
  }

  save() {
    this.parent.save();
  }

  async publish() {
    this.validate();
    if ( this.validatePersonal() ) {
      await this.parent.publish();
      this.page.router.goTo(`/events/${this.data.event._id}`, {mode: 'information'});
    }
  }

  unpublish() {
    this.parent.unpublish();
  }

  // async restore({_id}){
  //   this.page.store.emit('show_progress', true);

  //   try {
  //     const ws = this.page.store.get('ws');

  //     await ws.rpc('event.restore', { _id });

  //     this.page.router.goTo(`/events/${_id}/edit`);

  //     this.page.store.emit('notification', {
  //       text:'Мероприятие восстановлено',
  //     });

  //   } catch (error) {
  //     this.page.store.emit('api-error', {
  //       command: 'event.restore',
  //       error
  //     })
  //   } finally {
  //     this.page.store.emit('show_progress', false);
  //   }
  // }

  _unmount() {
    this.off1();
    super._unmount();
  }
}


window._fr_blocks['blocks-eventList.editEvent.preview'] = class NewsPreviewLogo extends BlockClass {
  _mount() {
    super._mount();
  }
  
  _unmount() {
    super._unmount();
  }

  change() {
    this.getElement('fileInput').click()
  }

  avatarChange(v, event) {
    const file = event.target.files[0];

    this.page.store.emit("OpenImageCropper", {
      file,
      options: {
        aspectRatio: 1 / 1,
        autoCropArea: 1,
      },
      callback: (img) => this.onFileCropped(img),
    });
  }

  async recrop() {
    const url = this.page.utils.makeImageUrl(this.data.img);
    let response = await fetch(url);
    let data = await response.blob();
    let metadata = {
      type: "image/jpeg",
    };
    let file = new File([data], "test.jpg", metadata);

    this.page.store.emit("OpenImageCropper", {
      file,
      callback: (img) => this.onFileCropped(img),
    });
  }

  onFileCropped(img) {
    this.data.width = img.width;
    this.data.height = img.height;
    this.data.img = img.toDataURL();
    this.data._needUpload = true;



    this.parent.updateImg(this.data.img, this);
    this.rerender(true);
  }

  async uploadAndGetFileID() {
    if (!this.data._needUpload) return this.data.img;

    var blobBin = atob(this.data.img.split(",")[1]);
    var array = [];

    this.page.store.emit("progress", ({ progress: 10 }))

    const size = blobBin.length;

    for (var i = 0; i < blobBin.length; i++) {
      array.push(blobBin.charCodeAt(i));
    }

    var file = new Blob([new Uint8Array(array)], { type: "image/jpeg" });

    const ws = this.page.store.get('ws');

    const res = await ws.rpc('file.getUploadUrl', {
      content_type: file.type,
      origin_uri: 'some_path.jpg'
    });

    await this.page.utils.uploadBinaryFile({
      upload_url: res.upload_url,
      content_type: file.type,
      file: file,
      onProgress: progress => {
        this.page.store.emit("progress", ({ progress }));
      }
    });

    this.page.store.emit("progress", ({ progress: 100 }));

    return {
      content_type: file.type,
      filename: res.filename,
      height: this.data.height,
      size,
      storage_bucketname: res.storage_bucketname,
      storage_endpoint: res.storage_endpoint,
      type: file.type,
      uri: res.filename,
      url: res.filename,
      width: this.data.width,
    };
  }


  remove() {
    this.data.img = void 0;

    this.rerender();
  }
}

window._fr_blocks['blocks-menu'] = class LeftMenu extends BlockClass {
  newMessagwAudio = new Audio('/audio/message.mp3');

  _mount() {
    super._mount();

    this.data.me = this.page.store.get('me');
    // this.data.common_new_chat_count = this.page.store.get('notify_counters.common_new_chat_count');
    // this.data.my_open_sessions = this.page.store.get('notify_counters.my_open_sessions');
    // this.data.new_chat_count = this.page.store.get('notify_counters.new_chat_count');
    // this.data.new_request_count = this.page.store.get('notify_counters.new_request_count');
    // this.data.open_request_count = this.page.store.get('notify_counters.open_request_count');

    this.off1 = this.page.store.on('me', ({ next }) => {
      this.data.me = next;
      this.rerender();
    });


    this.off2 = this.page.store.on("notify_counters", ({ next, prev }) => {
      let needRender = false;
      let needPlayAudio = false;

      if (this.data.common_new_chat_count != next.common_new_chat_count) {
        this.data.common_new_chat_count = next.common_new_chat_count;
        needRender = true;
      }

      if (this.data.common_new_chat_count > 0) {
        needPlayAudio = true;
      }

      if (this.data.my_open_sessions != next.my_open_sessions) {
        this.data.my_open_sessions = next.my_open_sessions;
        needRender = true;
      }


      if (this.data.new_chat_count != next.new_chat_count) {
        this.data.new_chat_count = next.new_chat_count;
        needRender = true;
      }


      if (this.data.new_request_count != next.new_request_count) {
        this.data.new_request_count = next.new_request_count;
        needRender = true;
      }


      if (+this.data.open_request_count != +next.open_request_count) {
        this.data.open_request_count = next.open_request_count;
        needRender = true;
      }

      if (needPlayAudio) {
        try {
          this.newMessagwAudio.play();

        } catch (r) {
        } finally { }
      }

      if (needRender) {
        this.rerender();
      }

    });

    this.off3 = this.page.store.on('location_changed', ({ href }) => {
      this.data.url = href.substr(1);

      this.rerender();
    });

    this.timer = setInterval(() => this.getCounters(), 5000);
  }

  init() {
    this.getCounters();
    super.init()
  }

  async getCounters() {
    try {
      const res = await this.page.store.get('ws').rpc('users.getUpdates', {});

      this.page.store.memorize("notify_counters", res);
    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'users.getUpdates',
        error
      })
    }
  }


  _unmount() {
    this.off1();
    this.off2();
    this.off3();
    clearTimeout(this.timer)
    super._unmount();
  }

  events() {
    this.data.step = undefined;

    this.rerender();
  }

  bills() {
    this.data.step = 'bills';

    this.rerender();
  }

  requests() {
    this.data.step = 'chats';

    this.rerender();
  }

  requests() {
    this.data.step = 'requests';

    this.rerender();
  }

  news() {
    this.data.step = 'news';

    this.rerender();
  }

  services() {
    this.data.step = 'services';

    this.rerender();
  }

  partners() {
    this.data.step = 'partners';

    this.rerender();
  }

  templates() {
    this.data.step = 'operators';

    this.rerender();
  }

  templates() {
    this.data.step = 'privileges';

    this.rerender();
  }

  templates() {
    this.data.step = 'management';

    this.rerender();
  }

  async deauth() {
    try {
      const res = await this.page.store.get('ws').rpc('users.deauth', {});

      this.page.store.clear("authorizationToken", res.token);
      deleteCookie('token');

      this.page.store.assign("o", { _id: void 0 });


      this.page.router.goTo('/');
    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'users.deauth',
        error
      })
    }
  }


  goToOpenSession() {
    this.page.router.goTo('/chats', { type: 'my' })
  }

  goToOpenChat() {
    this.page.router.goTo('/chats', { type: 'my' })
  }

  goToOpenRequest() {
    this.page.router.goTo('/requests', { type: 'new' })
  }

  goToMyRequest() {
    this.page.router.goTo('/requests', { type: 'processing' })

  }

  goToNewChat() {
    this.page.router.goTo('/chats', { type: 'new' })
  }

}

window._fr_blocks['pages-analytics'] = class AnalyticsPage extends BlockClass {
    init(){
      super.init();

      const script = document.createElement('script');
      script.src = '/analytics/js/main.aa5f7f6a.js';
      //script.onload = callback; // Вызов callback после загрузки
      document.head.appendChild(script);
    }
  }

window._fr_blocks['pages-clients'] = class ClientsPage extends BlockClass {
    _mount() {
      super._mount();

    }

    change_request_mode({value}){
      this.page.router.goTo('/requests', {
        type: value,
      });
    }

    tableRowClick(v) {
      this.page.router.goTo(`/clients/${v._id}`);
    }
  
    _unmount() {
      super._unmount();  
    }
  }

window._fr_blocks['pages-events.createModal'] = class ModalAgree extends BlockClass {
  _mount() {
    super._mount();
    this.validate = this.page.utils.createCheckValidationFunction(this.getClass('input-invalid'), this);
  }

  show(data) {
    this.data.show = true;

    this.rerender();
  }

  hide() {
    this.data = { show: false };

    this.rerender();
  }

  _unmount() {
    super._unmount();
  }

  async success() {
    if (this.validate()){
      if (!this.refs.input.checkValidity()) {
        this.page.store.emit('notification', {
          mode: 'error',
          text: 'Ошибка валидации',
          type: 'big',
          text: 'Название мероприятия должно быть не менее 5 и не более 30 символов',
        });


        return;
      }

      this.page.store.emit('show_progress', true);

      try {
        const title = this.refs.input.value;

        const ws = this.page.store.get('ws');
        const res = await ws.rpc('event.upsert', {
          title: title, 
          external: true,
          items: [{
            img: {
              "url": "service/icon-delovaya-programma.png",
              "size": 993045,
              "type": "media",
              "width": 1668,
              "height": 2500,
              "filename": "icon-delovaya-programma.png",
              "content_type": "image/png",
              "storage_endpoint": "https://storage.yandexcloud.net",
              "storage_bucketname": "qtooapp"
            },
            program: [],
            title: 'Деловая программа',
          },
          {
            img: {
              "url": "service/icon-kulturnaya-programma.png",
              "size": 993045,
              "type": "media",
              "width": 1668,
              "height": 2500,
              "filename": "icon-delovaya-programma.png",
              "content_type": "image/png",
              "storage_endpoint": "https://storage.yandexcloud.net",
              "storage_bucketname": "qtooapp"
            },
            program: [],
            title: 'Культурная программа',
          }]
        });


        this.page.router.goTo(`/events/${res._id}/edit?mode=information`);

        this.page.store.emit('notification', {
          text: 'Черновик мероприятия создан',
        });

      } catch (error) {
        this.page.store.emit('api-error', {
          command: 'news.remove',
          error
        })
      } finally {
        this.page.store.emit('show_progress', false);
      }

      this.hide();
    }
  }

  cancel() {
    this.hide();
  }

  fail() {
    this.hide();
  }
}

window._fr_blocks['pages-events'] = class EventsPage extends BlockClass {
    _mount() {
      super._mount();

    }

    change_mode({value}){
      this.page.router.goTo('/events', {
        type: value,
        filter: this.page.router.query.filter
      });
    }

    change_filter({value}){
      this.page.router.goTo('/events', {
        type: this.page.router.query.type,
        filter: value
      });
    }
  
    _unmount() {
      super._unmount();  
    }
    
    tableRowClick(v){
      this.page.router.goTo(`/events/${v._id}`);
    }

    createEvent(){
      this.refs['add_event'].show();
    }
  }

window._fr_blocks['pages-requests.item'] = class RequestPage extends BlockClass {
  init() {
    super.init();


    this.fetchData();
  }

  async fetchData() {
    try {
      const ws = this.page.store.get('ws');

      const request = await ws.rpc('request.getEntity', {
        list_name: 'request_list',
        _id: this.data._id
      });

      this.data.request = request.data[0];

      const client = await ws.rpc('client.getEntity', { list_name: "client_entity", _id: this.data.request.cl_id });
      this.data.client = client.data[0];
      this.data.loaded = true;

      this.rerender();
    } catch (err) {

    }
  }

  async takeRequest({ comment }) {
    try {
      this.page.store.emit('show_progress', true);
      const ws = this.page.store.get('ws');
      const res = await ws.rpc('request.confirm', { _id: this.data.request._id, comment });

      this.data.request.status = res.status;
      this.data.request.comment = res.comment;
      this.data.request.confirmed_at = res.confirmed_at;

      this.rerender();

      this.page.store.emit('notification', {
        text: 'Запрос взят в обработку',
        action1Text: 'Отменить',
        action1: () => { this.unconfirm() },
      });

    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'request.confirm',
        error
      });
    } finally {
      this.page.store.emit('show_progress', false);
    }
  }

  async completeRequest({ comment }) {
    try {
      this.page.store.emit('show_progress', true);
      const ws = this.page.store.get('ws');
      const res = await ws.rpc('request.complete', { _id: this.data.request._id, comment });

      this.data.request.status = res.status;
      this.data.request.comment = res.comment;
      this.data.request.completed_at = res.completed_at;


      this.page.store.emit('notification', {
        text: 'Запрос обработан',
      });

      this.rerender();
    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'request.complete',
        error
      });
    } finally {
      this.page.store.emit('show_progress', false);
    }
  }


  async cancelRequest({ comment }) {
    try {
      this.page.store.emit('show_progress', true);
      const ws = this.page.store.get('ws');
      const res = await ws.rpc('request.cancel', { _id: this.data.request._id, comment });

      this.data.request.status = res.status;
      this.data.request.comment = res.comment;
      this.data.request.canceled_at = res.canceled_at;


      this.page.store.emit('notification', {
        text: 'Запрос отменен',
        mode:'error',
      });

      this.rerender();
    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'request.cancel',
        error
      });
    } finally {
      this.page.store.emit('show_progress', false);
    }
  }


  completed() {
    this.page.store.emit('open_request', {
      request: this.data.request,
      mode: 'requestCompleted',
      confirm: (data) => this.completeRequest(data)
    });
  }



  take() {
    this.page.store.emit('open_request', {
      request: this.data.request,
      mode: 'requestConfirm',
      confirm: (data) => this.takeRequest(data)
    });
  }

  close() {
    this.page.store.emit('open_request', {
      request: this.data.request,
      mode: 'requestCanceled',
      confirm: (data) => this.cancelRequest(data)
    });
  }




  async unconfirm() {
    try {
      this.page.store.emit('show_progress', true);
      const ws = this.page.store.get('ws');
      const res = await ws.rpc('request.unconfirm', { _id: this.data.request._id });

      this.data.request.status = res.status;
      this.data.request.confirmed_at = void 0;
      this.rerender();

      this.page.store.emit('notification', {
        text: 'Обработка запроса отменена',
        action1Text: 'Взять в обработку',
        action1: () => { this.completed() },
      });

    } catch (error) {
      this.page.store.emit('api-error', {
        command: 'request.unconfirm',
        error
      });
    } finally {
      this.page.store.emit('show_progress', false);
    }
  }
}

window._fr_blocks['blocks-portal'] = class PortalBlock extends BlockClass {

    testPSRouts(url, routs = this.page._routes, three = []) {
        for (let route of routs) {
            const res = url.match(route.route);

            if (res !== null) {
                const [part, ...params] = res;

                const portal = {
                    name: route.block,
                    params: params || [],
                    portal: route.portal
                };

                three.push(portal);

                if (route.routs) {
                    return this.testPSRouts(url.replace(part, ""), route.routs, three);
                }

                return three;
            }
        }

        three.length === 0 && three.push({ params: [] });

        return three;
    }

    _mount() {
        super._mount();

        this.page._portals[this.data.pname] = this;

        this.off1 = this.page.store.on('try-go-to', async ({ href, query, options }) => {
            return this.testPortal({ href, query, options })
        });
    }

    async init() {
        super.init();

        this.testPortal({ href: this.page.router.currentHref, options: {} });
    }

    async testPortal({ href, query, options }) {

        const [url, rq] = href.split('?');

        if (rq) {
            query = {
                ...rq.split("&").reduce((obj, x) => {
                    let [a, b] = x.split("=");
                    obj[a] = decodeURI(b);
                    return obj;
                }, {}), ...query
            };

        }
        const [route, ...portals] = this.testPSRouts(url);

        if (portals.length === 0)
            return true;

        const { debug, html, meta, state } = await this.page.getBlock(portals[0].name, {
            parent_portal: this.id,
            portal_params: (portals[0] ? portals[0].params : []) || []
        }, query);


        this.data.currentData = this.data;
        this.data.currentName = portals[0].name;



        this.page.addDebugInfo(debug);
        this.root.innerHTML = html;

        window.history.pushState({ href, html, ...meta }, "", href);

        this.page.router.changeMetaTags(meta);

        if (this.children[0]) {
            this.page.router.setCurrent(this.page.replacePageBlocks(state.renderBlocks, state, this.children[0]));
        } else {
            this.page.pushBlocks(state.renderBlocks, this);
        }

        options.scroll && window.scrollTo({ top: 0 });


        //console.log(res);

        return false;
    }

    _unmount() {
        delete this.page._portals[this.data.pname];
        this.off1();
        super._unmount();
    }
}



const styleAlias = {"blocks-authorization.login-resetList":"f1","blocks-authorization.login-resetBtn":"f2","blocks-authorization.login-login__btn":"f3","blocks-authorization.login-input__input":"f4","blocks-authorization.login-input__input:hover":"f5","blocks-authorization.login-visuallyHidden":"f6","blocks-authorization.login-login":"f7","blocks-authorization.login-login__container":"f8","blocks-authorization.login-login__logo":"f9","blocks-authorization.login-login__list":"f10","blocks-authorization.login-login__item":"f11","blocks-authorization.login-input":"f12","blocks-authorization.login-passWordRightSpace":"f13","blocks-authorization.login-input__show":"f14","blocks-authorization.login-login__btnContainer":"f15","blocks-authorization.login-login__info":"f16","blocks-builder.blocks.Audio-resetBtn":"f17","blocks-builder.blocks.Audio-first":"f18","blocks-builder.blocks.Audio-container":"f19","blocks-builder.blocks.Audio-lessonBlockAudioMobile":"f20","blocks-builder.blocks.Audio-audioBtnContainer":"f21","blocks-builder.blocks.Audio-audioUploadBtnDelete":"f22","blocks-builder.blocks.Audio-audioUploadBtnDeleteImg":"f23","blocks-builder.blocks.Audio-lessonBlockAudioBtnSound":"f24","blocks-builder.blocks.Audio-lessonBlockAudioImgOn":"f25","blocks-builder.blocks.Audio-lessonBlockAudiImgOff":"f26","blocks-builder.blocks.Audio-lessonBlockAudioControls":"f27","blocks-builder.blocks.Audio-lessonBlockAudioBtn":"f28","blocks-builder.blocks.Audio-iconColorMain":"f29","blocks-builder.blocks.Audio-lessonBlockAudioImgPlay":"f30","blocks-builder.blocks.Audio-lessonBlockAudioImgPause":"f31","blocks-builder.blocks.Audio-lessonBlockAudioProgress":"f32","blocks-builder.blocks.Audio-lessonBlockAudioline":"f33","blocks-builder.blocks.Audio-lessonBlockAudiolineW":"f34","blocks-builder.blocks.Audio-lessonBlockAudioText":"f35","blocks-builder.blocks.Audio-lessonBlockAudio":"f36","blocks-builder.blocks.Audio-audioUploadContainer":"f37","blocks-builder.blocks.Audio-uploadImgAdd":"f38","blocks-builder.blocks.Audio-audioUploadContainerImage":"f39","blocks-builder.blocks.Audio-audioUploadContainerText":"f40","blocks-builder.blocks.Audio-fileInput":"f41","blocks-builder.blocks.Audio-loadingProgress":"f42","blocks-builder.blocks.Audio-selected":"f43","blocks-builder.blocks.Audio-error":"f44","blocks-builder.blocks.Audio-cntr":"f45","blocks-builder.blocks.Code-resetBtn":"f46","blocks-builder.blocks.Code-codePreContainer":"f47","blocks-builder.blocks.Code-codePre":"f48","blocks-builder.blocks.Code-codePreField":"f49","blocks-builder.blocks.Code-codePreHeader":"f50","blocks-builder.blocks.Code-codePreBtnsContainer":"f51","blocks-builder.blocks.Code-codePreBtn":"f52","blocks-builder.blocks.Code-codePreBtnImg":"f53","blocks-builder.blocks.Code-codePreType":"f54","blocks-builder.blocks.Code-codePreTypeText":"f55","blocks-builder.blocks.Code-containerCodeMediaBlock":"f56","blocks-builder.blocks.Code-selected":"f57","blocks-builder.blocks.Code-error":"f58","blocks-builder.blocks.File-resetBtn":"f59","blocks-builder.blocks.File-container":"f60","blocks-builder.blocks.File-pdfBtnContainer":"f61","blocks-builder.blocks.File-pdfUploadBtnDelete":"f62","blocks-builder.blocks.File-pdfUploadBtnDeleteImg":"f63","blocks-builder.blocks.File-first":"f64","blocks-builder.blocks.File-lessonBlcokPDFLeft":"f65","blocks-builder.blocks.File-lessonBlockPDFLink":"f66","blocks-builder.blocks.File-lessonBlockPDFName":"f67","blocks-builder.blocks.File-lessonBlockPDFMobile":"f68","blocks-builder.blocks.File-pdfUploadContainer":"f69","blocks-builder.blocks.File-uploadImgAdd":"f70","blocks-builder.blocks.File-pdfUploadContainerImage":"f71","blocks-builder.blocks.File-pdfUploadContainerText":"f72","blocks-builder.blocks.File-iconColorMain":"f73","blocks-builder.blocks.File-fileInput":"f74","blocks-builder.blocks.File-iconColorSecond":"f75","blocks-builder.blocks.File-iconColorThird":"f76","blocks-builder.blocks.File-spaceRight16":"f77","blocks-builder.blocks.File-selected":"f78","blocks-builder.blocks.File-error":"f79","blocks-builder.blocks.File-cntr":"f80","blocks-builder.blocks.Header1-mediablockH1":"f81","blocks-builder.blocks.Header1-first":"f82","blocks-builder.blocks.Header1-selected":"f83","blocks-builder.blocks.Header1-error":"f84","blocks-builder.blocks.Header2-mediablockH2":"f85","blocks-builder.blocks.Header2-first":"f86","blocks-builder.blocks.Header2-selected":"f87","blocks-builder.blocks.Header2-error":"f88","blocks-builder.blocks.Header3-mediablockH3":"f89","blocks-builder.blocks.Header3-first":"f90","blocks-builder.blocks.Header3-selected":"f91","blocks-builder.blocks.Header3-error":"f92","blocks-builder.blocks.Highlight-mediablockHL":"f93","blocks-builder.blocks.Highlight-first":"f94","blocks-builder.blocks.Highlight-lessonBlockHL":"f95","blocks-builder.blocks.Highlight-selected":"f96","blocks-builder.blocks.Highlight-error":"f97","blocks-builder.blocks.HTML-containerTextMediaBlock":"f98","blocks-builder.blocks.HTML-selected":"f99","blocks-builder.blocks.List-list":"f100","blocks-builder.blocks.List-marker":"f101","blocks-builder.blocks.List-container":"f102","blocks-builder.blocks.List-selected":"f103","blocks-builder.blocks.List-error":"f104","blocks-builder.blocks-resetBtn":"f105","blocks-builder.blocks-container":"f106","blocks-builder.blocks-element":"f107","blocks-builder.blocks-selected":"f108","blocks-builder.blocks-action":"f109","blocks-builder.blocks-helper":"f110","blocks-builder.blocks-icon":"f111","blocks-builder.blocks-insertAfter":"f112","blocks-builder.blocks-zone":"f113","blocks-builder.blocks-selectFrame":"f114","blocks-builder.blocks-menu":"f115","blocks-builder.blocks-error":"f116","blocks-builder.blocks-addNewBlockSection":"f117","blocks-builder.blocks.PDF-resetBtn":"f118","blocks-builder.blocks.PDF-container":"f119","blocks-builder.blocks.PDF-pdfBtnContainer":"f120","blocks-builder.blocks.PDF-pdfUploadBtnDelete":"f121","blocks-builder.blocks.PDF-pdfUploadBtnDeleteImg":"f122","blocks-builder.blocks.PDF-first":"f123","blocks-builder.blocks.PDF-lessonBlcokPDFLeft":"f124","blocks-builder.blocks.PDF-lessonBlockPDFLink":"f125","blocks-builder.blocks.PDF-lessonBlockPDFName":"f126","blocks-builder.blocks.PDF-lessonBlockPDFMobile":"f127","blocks-builder.blocks.PDF-pdfUploadContainer":"f128","blocks-builder.blocks.PDF-uploadImgAdd":"f129","blocks-builder.blocks.PDF-pdfUploadContainerImage":"f130","blocks-builder.blocks.PDF-pdfUploadContainerText":"f131","blocks-builder.blocks.PDF-iconColorMain":"f132","blocks-builder.blocks.PDF-fileInput":"f133","blocks-builder.blocks.PDF-selected":"f134","blocks-builder.blocks.PDF-error":"f135","blocks-builder.blocks.PDF-cntr":"f136","blocks-builder.blocks.Photo-resetBtn":"f137","blocks-builder.blocks.Photo-containerMediaPhoto":"f138","blocks-builder.blocks.Photo-lessonBlockImgConitainer":"f139","blocks-builder.blocks.Photo-lessonBlockPhotoMobile":"f140","blocks-builder.blocks.Photo-first":"f141","blocks-builder.blocks.Photo-lessonBlockImg":"f142","blocks-builder.blocks.Photo-photoUploadContainer":"f143","blocks-builder.blocks.Photo-uploadImgAdd":"f144","blocks-builder.blocks.Photo-photoBtnContainer":"f145","blocks-builder.blocks.Photo-photoUploadBtnDelete":"f146","blocks-builder.blocks.Photo-photoUploadBtnDeleteImg":"f147","blocks-builder.blocks.Photo-iconColorMain":"f148","blocks-builder.blocks.Photo-photoUploadContainerImage":"f149","blocks-builder.blocks.Photo-photoUploadContainerText":"f150","blocks-builder.blocks.Photo-fileInput":"f151","blocks-builder.blocks.Photo-loadingProgressContainer":"f152","blocks-builder.blocks.Photo-loadingProgress":"f153","blocks-builder.blocks.Photo-selected":"f154","blocks-builder.blocks.Photo-error":"f155","blocks-builder.blocks.Photo-cntr":"f156","blocks-builder.blocks.TaskAnswer-container":"f157","blocks-builder.blocks.TaskAnswer-first":"f158","blocks-builder.blocks.Text-containerTextMediaBlock":"f159","blocks-builder.blocks.Text-selected":"f160","blocks-builder.blocks.Text-error":"f161","blocks-builder.blocks.Video-resetBtn":"f162","blocks-builder.blocks.Video-videoUpload":"f163","blocks-builder.blocks.Video-lessonBlockVideoMobile":"f164","blocks-builder.blocks.Video-container":"f165","blocks-builder.blocks.Video-videoBtnContainer":"f166","blocks-builder.blocks.Video-videoUploadBtnDelete":"f167","blocks-builder.blocks.Video-videoUploadBtnDeleteImg":"f168","blocks-builder.blocks.Video-containerImg":"f169","blocks-builder.blocks.Video-containerImgEmpty":"f170","blocks-builder.blocks.Video-videoUploadContainerBg":"f171","blocks-builder.blocks.Video-videoUploadContainerBgImg":"f172","blocks-builder.blocks.Video-videoUploadContainerVideo":"f173","blocks-builder.blocks.Video-videoUploadVideo":"f174","blocks-builder.blocks.Video-first":"f175","blocks-builder.blocks.Video-play":"f176","blocks-builder.blocks.Video-playBg":"f177","blocks-builder.blocks.Video-icon":"f178","blocks-builder.blocks.Video-videoUploadContainer":"f179","blocks-builder.blocks.Video-iconColorMain":"f180","blocks-builder.blocks.Video-uploadImgAdd":"f181","blocks-builder.blocks.Video-containerImgInvis":"f182","blocks-builder.blocks.Video-videoUploadContainerImage":"f183","blocks-builder.blocks.Video-videoUploadContainerText":"f184","blocks-builder.blocks.Video-fileInput":"f185","blocks-builder.blocks.Video-selected":"f186","blocks-builder.blocks.Video-error":"f187","blocks-builder.blocks.Video-cntr":"f188","blocks-builder.contextMenu.addBlock-resetList":"f189","blocks-builder.contextMenu.addBlock-resetLink":"f190","blocks-builder.contextMenu.addBlock-resetBtn":"f191","blocks-builder.contextMenu.addBlock-popupAddWrapper":"f192","blocks-builder.contextMenu.addBlock-popupAdd":"f193","blocks-builder.contextMenu.addBlock-popupAddContainer":"f194","blocks-builder.contextMenu.addBlock-popupAdd__search":"f195","blocks-builder.contextMenu.addBlock-popupAddTitle":"f196","blocks-builder.contextMenu.addBlock-popupAddList":"f197","blocks-builder.contextMenu.addBlock-popupAddItemBtn":"f198","blocks-builder.contextMenu.addBlock-popupAddItemBtnActive":"f199","blocks-builder.contextMenu.addBlock-popupAddItemImgContainer":"f200","blocks-builder.contextMenu.addBlock-popapColorSecond":"f201","blocks-builder.contextMenu.addBlock-popupAddItemContainer":"f202","blocks-builder.contextMenu.addBlock-popupAddItemTitle":"f203","blocks-builder.contextMenu.addBlock-popupAddItemText":"f204","blocks-builder.contextMenu.addBlock-layout":"f205","blocks-builder.contextMenu.addBlock-popupAddItemBtnDisabled":"f206","blocks-builder.contextMenu.addBlock-popupAddItemImg":"f207","blocks-builder.contextMenu.addBlock-context-menu":"f208","blocks-builder.contextMenu.changeType-resetList":"f209","blocks-builder.contextMenu.changeType-resetLink":"f210","blocks-builder.contextMenu.changeType-resetBtn":"f211","blocks-builder.contextMenu.changeType-popupChTypeWrapper":"f212","blocks-builder.contextMenu.changeType-popupChType":"f213","blocks-builder.contextMenu.changeType-popupChTypeContainer":"f214","blocks-builder.contextMenu.changeType-popupChTypeTitle":"f215","blocks-builder.contextMenu.changeType-popupChTypeList":"f216","blocks-builder.contextMenu.changeType-popupChTypeItemBtn":"f217","blocks-builder.contextMenu.changeType-popupChTypeItemBtnActive":"f218","blocks-builder.contextMenu.changeType-popupChTypeItemImg":"f219","blocks-builder.contextMenu.changeType-popupChTypeItemText":"f220","blocks-builder.contextMenu.changeType-popupOrgItemBtnDisabled":"f221","blocks-builder.contextMenu.changeType-popupOrgItemBtn":"f222","blocks-builder.contextMenu.changeType-visuallyHidden":"f223","blocks-builder.contextMenu.changeType-layout":"f224","blocks-builder.contextMenu.changeType-context-menu":"f225","blocks-builder.contextMenu.color-resetList":"f226","blocks-builder.contextMenu.color-resetLink":"f227","blocks-builder.contextMenu.color-resetBtn":"f228","blocks-builder.contextMenu.color-popupColorWrapper":"f229","blocks-builder.contextMenu.color-popupColor":"f230","blocks-builder.contextMenu.color-popupColorContainer":"f231","blocks-builder.contextMenu.color-popupColorTitle":"f232","blocks-builder.contextMenu.color-popupColorList":"f233","blocks-builder.contextMenu.color-popupColorItemBtn":"f234","blocks-builder.contextMenu.color-popupColorItemBtnActive":"f235","blocks-builder.contextMenu.color-popupColorCancel":"f236","blocks-builder.contextMenu.color-popupColorItemText":"f237","blocks-builder.contextMenu.color-popupColorText00":"f238","blocks-builder.contextMenu.color-popupColorText01":"f239","blocks-builder.contextMenu.color-popupColorText03":"f240","blocks-builder.contextMenu.color-popupColorText04":"f241","blocks-builder.contextMenu.color-popupColorText06":"f242","blocks-builder.contextMenu.color-popupColorText07":"f243","blocks-builder.contextMenu.color-popupColorText08":"f244","blocks-builder.contextMenu.color-layout":"f245","blocks-builder.contextMenu.color-context-menu":"f246","blocks-builder.contextMenu.options-resetList":"f247","blocks-builder.contextMenu.options-resetLink":"f248","blocks-builder.contextMenu.options-resetBtn":"f249","blocks-builder.contextMenu.options-popupOrgWrapper":"f250","blocks-builder.contextMenu.options-popupOrg":"f251","blocks-builder.contextMenu.options-popupOrgContainer":"f252","blocks-builder.contextMenu.options-popupOrgList":"f253","blocks-builder.contextMenu.options-popupOrgItemBtn":"f254","blocks-builder.contextMenu.options-popupOrgItemBtnActive":"f255","blocks-builder.contextMenu.options-popupOrgItemImg":"f256","blocks-builder.contextMenu.options-popapColorSecond":"f257","blocks-builder.contextMenu.options-popupOrgItemContainer":"f258","blocks-builder.contextMenu.options-popupOrgItemTitle":"f259","blocks-builder.contextMenu.options-popupOrgItemText":"f260","blocks-builder.contextMenu.options-visuallyHidden":"f261","blocks-builder.contextMenu.options-popupOrgItemBtnDisabled":"f262","blocks-builder.contextMenu.options-layout":"f263","blocks-builder.contextMenu.options-context-menu":"f264","blocks-builder.contextMenu.textAction-resetList":"f265","blocks-builder.contextMenu.textAction-resetLink":"f266","blocks-builder.contextMenu.textAction-resetBtn":"f267","blocks-builder.contextMenu.textAction-popupTextEditWrapper":"f268","blocks-builder.contextMenu.textAction-popupTextEditBtn":"f269","blocks-builder.contextMenu.textAction-popupTextEditBtnActive":"f270","blocks-builder.contextMenu.textAction-popupTextEditSelect":"f271","blocks-builder.contextMenu.textAction-popupTextEditColor":"f272","blocks-builder.contextMenu.textAction-popupTextEditTitle":"f273","blocks-builder.contextMenu.textAction-popupTextEditList":"f274","blocks-builder.contextMenu.textAction-popupIcon":"f275","blocks-builder.contextMenu.textAction-visuallyHidden":"f276","blocks-builder.contextMenu.textAction-mainColor":"f277","blocks-builder.contextMenu.textAction-layout":"f278","blocks-builder.contextMenu.textAction-context-menu":"f279","blocks-builder.contextMenu.textAction-ne":"f280","blocks-builder.ImageCropper-resetList":"f281","blocks-builder.ImageCropper-resetLink":"f282","blocks-builder.ImageCropper-resetBtn":"f283","blocks-builder.ImageCropper-layout":"f284","blocks-builder.ImageCropper-overlay":"f285","blocks-builder.ImageCropper-container":"f286","blocks-builder.ImageCropper-scrollContaner":"f287","blocks-builder.ImageCropper-header":"f288","blocks-builder.ImageCropper-title":"f289","blocks-builder.ImageCropper-cancel":"f290","blocks-builder.ImageCropper-cancelImg01":"f291","blocks-builder.ImageCropper-text":"f292","blocks-builder.ImageCropper-imgContainer":"f293","blocks-builder.ImageCropper-img":"f294","blocks-builder.ImageCropper-imgCroppermain":"f295","blocks-builder.ImageCropper-actions":"f296","blocks-builder.ImageCropper-imgCropperSettings":"f297","blocks-builder.ImageCropper-imgCropperColumn":"f298","blocks-builder.ImageCropper-subtitle":"f299","blocks-builder.ImageCropper-btnBlue20":"f300","blocks-builder.ImageCropper-textColordark_main_base":"f301","blocks-builder.ImageCropper-subactions2":"f302","blocks-builder.ImageCropper-btnContainer":"f303","blocks-builder.ImageCropper-list":"f304","blocks-builder.ImageCropper-item":"f305","blocks-chats.attachment.file-resetList":"f306","blocks-chats.attachment.file-resetBtn":"f307","blocks-chats.attachment.file-inputFile":"f308","blocks-chats.attachment.file-inputFile__item":"f309","blocks-chats.attachment.file-inputFile__imgContainer":"f310","blocks-chats.attachment.file-inputFile__img":"f311","blocks-chats.attachment.file-inputFile__head":"f312","blocks-chats.attachment.file-inputFile__type":"f313","blocks-chats.attachment.file-inputFile__close":"f314","blocks-chats.attachment.file-inputFile__main":"f315","blocks-chats.attachment.file-inputFile__icon":"f316","blocks-chats.attachment.file-inputFile__footer":"f317","blocks-chats.attachment.file-inputFile__size":"f318","blocks-chats.attachment.file-inputFile__name":"f319","blocks-chats.attachment.file-whiteBg":"f320","blocks-chats.attachment-resetList":"f321","blocks-chats.attachment-btnNeutral":"f322","blocks-chats.attachment-message":"f323","blocks-chats.attachment-message__cloud":"f324","blocks-chats.attachment-message__head":"f325","blocks-chats.attachment-message__headImg":"f326","blocks-chats.attachment-message__headText":"f327","blocks-chats.attachment-message__text":"f328","blocks-chats.attachment-message__container":"f329","blocks-chats.attachment-message__info":"f330","blocks-chats.attachment-message__subtext":"f331","blocks-chats.attachment-message__status":"f332","blocks-chats.attachment-message__chack":"f333","blocks-chats.attachment-shiftRight":"f334","blocks-chats.attachment-message__addRequest":"f335","blocks-chats.attachment-customHeight20":"f336","blocks-chats.attachment-message__imgContainer":"f337","blocks-chats.attachment-messageImgs":"f338","blocks-chats.attachment-messageImgs__main":"f339","blocks-chats.attachment-messageImgs__img":"f340","blocks-chats.attachment-messageImgs__list":"f341","blocks-chats.attachment-messageImgs__item":"f342","blocks-chats.attachment-messageImgs__imgList":"f343","blocks-chats.attachment-messageOperator":"f344","blocks-chats.chatMain-resetList":"f345","blocks-chats.chatMain-resetBtn":"f346","blocks-chats.chatMain-btnAgree":"f347","blocks-chats.chatMain-btnDangerLight":"f348","blocks-chats.chatMain-colorTextPr":"f349","blocks-chats.chatMain-colorTextSec":"f350","blocks-chats.chatMain-textH3":"f351","blocks-chats.chatMain-textS":"f352","blocks-chats.chatMain-textM":"f353","blocks-chats.chatMain-chatMain":"f354","blocks-chats.chatMain-chatMain__container":"f355","blocks-chats.chatMain-chat__noMessage":"f356","blocks-chats.chatMain-chatScroll__time":"f357","blocks-chats.chatMain-chat__scroll":"f358","blocks-chats.chatMain-chatMain__gradient":"f359","blocks-chats.chatMain-chatScroll":"f360","blocks-chats.chatMain-chatScroll__container":"f361","blocks-chats.chatMain-chatSession":"f362","blocks-chats.chatMain-chatSession__textBold":"f363","blocks-chats.chatMain-chatSession__text":"f364","blocks-chats.chatMain-chatSession__container":"f365","blocks-chats.chatMain-chatSession__line":"f366","blocks-chats.chatMain-chatSessionEnd":"f367","blocks-chats.chatMain-chatMain__input":"f368","blocks-chats.chatMain-chatOpenSession__btn":"f369","blocks-chats.chatMain-chatMain__openSession":"f370","blocks-chats.chatMain-chatOpenSession":"f371","blocks-chats.chatMain-chatOpenSession__bgBase":"f372","blocks-chats.chatMain-chatOpenSession__bgColor":"f373","blocks-chats.chatMain-chatOpenSession__container":"f374","blocks-chats.chatMain-chatOpenSession__info":"f375","blocks-chats.chatMain-chatOpenSession__title":"f376","blocks-chats.chatMain-chatOpenSession__text":"f377","blocks-chats.chatMain-chatMainMenu":"f378","blocks-chats.chatMain-chatMainMenu__unwrap":"f379","blocks-chats.chatMain-chatMainMenu__head":"f380","blocks-chats.chatMain-chatMainMenu__container":"f381","blocks-chats.chatMain-chatMain__rightMenu":"f382","blocks-chats.chatMain-chatMain__rightMenuContainer":"f383","blocks-chats.chatRightMenu-resetList":"f384","blocks-chats.chatRightMenu-resetBtn":"f385","blocks-chats.chatRightMenu-btnAgree":"f386","blocks-chats.chatRightMenu-colorTextPr":"f387","blocks-chats.chatRightMenu-colorTextSec":"f388","blocks-chats.chatRightMenu-textH3":"f389","blocks-chats.chatRightMenu-textS":"f390","blocks-chats.chatRightMenu-textM":"f391","blocks-chats.chatRightMenu-chatMain":"f392","blocks-chats.chatRightMenu-chatMain__container":"f393","blocks-chats.chatRightMenu-chat__noMessage":"f394","blocks-chats.chatRightMenu-chatScroll__time":"f395","blocks-chats.chatRightMenu-chat__scroll":"f396","blocks-chats.chatRightMenu-chatMain__gradient":"f397","blocks-chats.chatRightMenu-chatScroll":"f398","blocks-chats.chatRightMenu-chatScroll__container":"f399","blocks-chats.chatRightMenu-chatSession":"f400","blocks-chats.chatRightMenu-chatSession__textBold":"f401","blocks-chats.chatRightMenu-chatSession__text":"f402","blocks-chats.chatRightMenu-chatSession__container":"f403","blocks-chats.chatRightMenu-chatSession__line":"f404","blocks-chats.chatRightMenu-chatSessionEnd":"f405","blocks-chats.chatRightMenu-chatMain__input":"f406","blocks-chats.chatRightMenu-chatOpenSession__btn":"f407","blocks-chats.chatRightMenu-chatOpenSession":"f408","blocks-chats.chatRightMenu-chatOpenSession__bgBase":"f409","blocks-chats.chatRightMenu-chatOpenSession__bgColor":"f410","blocks-chats.chatRightMenu-chatOpenSession__container":"f411","blocks-chats.chatRightMenu-chatOpenSession__info":"f412","blocks-chats.chatRightMenu-chatOpenSession__title":"f413","blocks-chats.chatRightMenu-chatOpenSession__text":"f414","blocks-chats.chatRightMenu-chatMainMenu__head":"f415","blocks-chats.chatRightMenu-chatMainMenu__container":"f416","blocks-chats.chatRightMenu-chatMainMenu__bgColor":"f417","blocks-chats.chatRightMenu-chatMain__tabBlock":"f418","blocks-chats.chatRightMenu-blocks-chats.chatRightMenu":"f419","blocks-chats.chatRightMenu-container":"f420","blocks-chats.chatTab.chClient-resetList":"f421","blocks-chats.chatTab.chClient-blocks-chats.chatTab.chClient":"f422","blocks-chats.chatTab.chClient-chNotes__container":"f423","blocks-chats.chatTab.chClient-chNotes__info":"f424","blocks-chats.chatTab.chClient-menuChatBlock":"f425","blocks-chats.chatTab.chClient-menuChatBlock__container":"f426","blocks-chats.chatTab.chClient-menuChatBlock__title":"f427","blocks-chats.chatTab.chClient-menuChatBlock__text":"f428","blocks-chats.chatTab.chNotes-resetList":"f429","blocks-chats.chatTab.chNotes-resetBtn":"f430","blocks-chats.chatTab.chNotes-chNotes__btnAgree":"f431","blocks-chats.chatTab.chNotes-chNotes":"f432","blocks-chats.chatTab.chNotes-chNotes__head":"f433","blocks-chats.chatTab.chNotes-chNotes__title":"f434","blocks-chats.chatTab.chNotes-chNotes__list":"f435","blocks-chats.chatTab.chNotes-chNotes__textInfo":"f436","blocks-chats.chatTab.chNotes-scroll":"f437","blocks-chats.chatTab.chNotes-scroll__container":"f438","blocks-chats.chatTab.chNotes-menuChatBlock":"f439","blocks-chats.chatTab.chNotes-menuChatBlock__container":"f440","blocks-chats.chatTab.chNotes-menuChatBlock__title":"f441","blocks-chats.chatTab.chNotes-menuChatBlock__text":"f442","blocks-chats.chatTab.chRequests-resetList":"f443","blocks-chats.chatTab.chRequests-resetBtn":"f444","blocks-chats.chatTab.chRequests-chRequests__btnAgree":"f445","blocks-chats.chatTab.chRequests-chRequests":"f446","blocks-chats.chatTab.chRequests-chRequests__head":"f447","blocks-chats.chatTab.chRequests-chRequests__title":"f448","blocks-chats.chatTab.chRequests-chRequests__list":"f449","blocks-chats.chatTab.chRequests-chRequests__section":"f450","blocks-chats.chatTab.chRequests-scroll":"f451","blocks-chats.chatTab.chRequests-scroll__container":"f452","blocks-chats.chatTab.chRequests-menuChatBlock":"f453","blocks-chats.chatTab.chRequests-menuChatBlock__container":"f454","blocks-chats.chatTab.chRequests-menuChatBlock__title":"f455","blocks-chats.chatTab.chRequests-menuChatBlock__text":"f456","blocks-chats.chatTab.chRequests-menuChatBlock__btnDelete":"f457","blocks-chats.chatTab.chRequests.item-resetList":"f458","blocks-chats.chatTab.chRequests.item-resetBtn":"f459","blocks-chats.chatTab.chRequests.item-chRequests__btnAgree":"f460","blocks-chats.chatTab.chRequests.item-chRequests":"f461","blocks-chats.chatTab.chRequests.item-chRequests__head":"f462","blocks-chats.chatTab.chRequests.item-chRequests__title":"f463","blocks-chats.chatTab.chRequests.item-chRequests__list":"f464","blocks-chats.chatTab.chRequests.item-chRequests__section":"f465","blocks-chats.chatTab.chRequests.item-scroll":"f466","blocks-chats.chatTab.chRequests.item-scroll__container":"f467","blocks-chats.chatTab.chRequests.item-menuChatBlock":"f468","blocks-chats.chatTab.chRequests.item-menuChatBlock__container":"f469","blocks-chats.chatTab.chRequests.item-menuChatBlock__title":"f470","blocks-chats.chatTab.chRequests.item-menuChatBlock__text":"f471","blocks-chats.chatTab.chRequests.item-menuChatBlock__btnDelete":"f472","blocks-chats.chatTab.chSessions-resetList":"f473","blocks-chats.chatTab.chSessions-resetBtn":"f474","blocks-chats.chatTab.chSessions-chRequests__btnAgree":"f475","blocks-chats.chatTab.chSessions-chRequests":"f476","blocks-chats.chatTab.chSessions-chRequests__head":"f477","blocks-chats.chatTab.chSessions-chRequests__title":"f478","blocks-chats.chatTab.chSessions-chRequests__list":"f479","blocks-chats.chatTab.chSessions-chRequests__section":"f480","blocks-chats.chatTab.chSessions-scroll":"f481","blocks-chats.chatTab.chSessions-scroll__container":"f482","blocks-chats.chatTab.chSessions-menuChatBlock":"f483","blocks-chats.chatTab.chSessions-menuChatBlock__container":"f484","blocks-chats.chatTab.chSessions-menuChatBlock__title":"f485","blocks-chats.chatTab.chSessions-menuChatBlock__text":"f486","blocks-chats.chatTab.chSessions.item-resetList":"f487","blocks-chats.chatTab.chSessions.item-resetBtn":"f488","blocks-chats.chatTab.chSessions.item-chRequests__btnAgree":"f489","blocks-chats.chatTab.chSessions.item-chRequests":"f490","blocks-chats.chatTab.chSessions.item-chRequests__head":"f491","blocks-chats.chatTab.chSessions.item-chRequests__title":"f492","blocks-chats.chatTab.chSessions.item-chRequests__list":"f493","blocks-chats.chatTab.chSessions.item-chRequests__section":"f494","blocks-chats.chatTab.chSessions.item-scroll":"f495","blocks-chats.chatTab.chSessions.item-scroll__container":"f496","blocks-chats.chatTab.chSessions.item-menuChatBlock":"f497","blocks-chats.chatTab.chSessions.item-menuChatBlock__container":"f498","blocks-chats.chatTab.chSessions.item-menuChatBlock__title":"f499","blocks-chats.chatTab.chSessions.item-menuChatBlock__text":"f500","blocks-chats.input-resetList":"f501","blocks-chats.input-resetBtn":"f502","blocks-chats.input-input__btnAgree":"f503","blocks-chats.input-blocks-chats.input":"f504","blocks-chats.input-input":"f505","blocks-chats.input-fileInput":"f506","blocks-chats.input-input__bgBase":"f507","blocks-chats.input-input__bgColor":"f508","blocks-chats.input-input__container":"f509","blocks-chats.input-input__addFiles":"f510","blocks-chats.input-input__closeAnswer":"f511","blocks-chats.input-input__input":"f512","blocks-chats.input-input__menu":"f513","blocks-chats.input-input__secondBtn":"f514","blocks-chats.input.inputAnswer-resetList":"f515","blocks-chats.input.inputAnswer-inputAnswer":"f516","blocks-chats.input.inputAnswer-inputAnswer__head":"f517","blocks-chats.input.inputAnswer-inputAnswer__title":"f518","blocks-chats.input.inputAnswer-inputAnswer__imgAnswer":"f519","blocks-chats.input.inputAnswer-inputAnswer__text":"f520","blocks-chats.input.inputAnswer-inputAnswer__addFile":"f521","blocks-chats.input.inputAnswer-inputAnswer__icon":"f522","blocks-chats.input.inputAnswer-inputAnswer__addText":"f523","blocks-chats.input.inputFile-resetList":"f524","blocks-chats.input.inputFile-resetBtn":"f525","blocks-chats.input.inputFile-inputFile":"f526","blocks-chats.input.inputFile-inputFile__item":"f527","blocks-chats.input.inputFile-inputFile__imgContainer":"f528","blocks-chats.input.inputFile-inputFile__img":"f529","blocks-chats.input.inputFile-inputFile__head":"f530","blocks-chats.input.inputFile-inputFile__type":"f531","blocks-chats.input.inputFile-inputFile__close":"f532","blocks-chats.input.inputFile-inputFile__main":"f533","blocks-chats.input.inputFile-inputFile__icon":"f534","blocks-chats.input.inputFile-inputFile__footer":"f535","blocks-chats.input.inputFile-inputFile__size":"f536","blocks-chats.input.inputFile-inputFile__name":"f537","blocks-chats.input.inputFile-whiteBg":"f538","blocks-chats.input.inputList-resetList":"f539","blocks-chats.input.inputList-inputList":"f540","blocks-chats.input.inputList-inputList__list":"f541","blocks-chats.input.inputList-inputItemt":"f542","blocks-chats.message-resetList":"f543","blocks-chats.message-resetLink":"f544","blocks-chats.message-resetBtn":"f545","blocks-chats.message-btnNeutral":"f546","blocks-chats.message-colorMain":"f547","blocks-chats.message-colorSecond":"f548","blocks-chats.message-colorDanger":"f549","blocks-chats.message-colorAccent":"f550","blocks-chats.message-message":"f551","blocks-chats.message-message__cloud":"f552","blocks-chats.message-message__head":"f553","blocks-chats.message-message__headImg":"f554","blocks-chats.message-message__headText":"f555","blocks-chats.message-message__headContainer":"f556","blocks-chats.message-message__receiptImg":"f557","blocks-chats.message-message__receiptStatus":"f558","blocks-chats.message-receiptCancelled":"f559","blocks-chats.message-receiptPayed":"f560","blocks-chats.message-attachAudio":"f561","blocks-chats.message-attachAudio__container":"f562","blocks-chats.message-lessonBlockAudioControls":"f563","blocks-chats.message-lessonBlockAudioBtn":"f564","blocks-chats.message-iconColorMain":"f565","blocks-chats.message-lessonBlockAudioProgress":"f566","blocks-chats.message-lessonBlockAudioline":"f567","blocks-chats.message-lessonBlockAudioText":"f568","blocks-chats.message-attachAudio__name":"f569","blocks-chats.message-attachAudio__size":"f570","blocks-chats.message-message__text":"f571","blocks-chats.message-messageInput":"f572","blocks-chats.message-message__textContainer":"f573","blocks-chats.message-message__container":"f574","blocks-chats.message-message__info":"f575","blocks-chats.message-message__checkInfo":"f576","blocks-chats.message-message__subtext":"f577","blocks-chats.message-message__subtext__removed":"f578","blocks-chats.message-message__status":"f579","blocks-chats.message-message__chack":"f580","blocks-chats.message-shiftRight":"f581","blocks-chats.message-message__addRequest":"f582","blocks-chats.message-btnIcon":"f583","blocks-chats.message-message__btnEdit":"f584","blocks-chats.message-customHeight20":"f585","blocks-chats.message-spaceRightAuto":"f586","blocks-chats.message-message__imgContainer":"f587","blocks-chats.message-messageImgs":"f588","blocks-chats.message-messageImgs__main":"f589","blocks-chats.message-message__fileConteiner":"f590","blocks-chats.message-messageImgs__img":"f591","blocks-chats.message-messageImgs__list":"f592","blocks-chats.message-messageImgs__item":"f593","blocks-chats.message-messageImgs__imgList":"f594","blocks-chats.message-messageImgs__imgContainer":"f595","blocks-chats.message-messageOperator":"f596","blocks-chats.messageList.list-chatScroll__time":"f597","blocks-chats.messageList-resetList":"f598","blocks-chats.messageList-btnAgree":"f599","blocks-chats.messageList-colorTextPr":"f600","blocks-chats.messageList-colorTextSec":"f601","blocks-chats.messageList-message-selected":"f602","blocks-chats.messageList-textH3":"f603","blocks-chats.messageList-textS":"f604","blocks-chats.messageList-textM":"f605","blocks-chats.messageList-chatMain":"f606","blocks-chats.messageList-chatMain__container":"f607","blocks-chats.messageList-chat__noMessage":"f608","blocks-chats.messageList-chatScroll__time":"f609","blocks-chats.messageList-blocks-chats.messageList":"f610","blocks-chats.messageList-chatMain__gradient":"f611","blocks-chats.messageList-chatScroll":"f612","blocks-chats.messageList-chatScroll__container":"f613","blocks-chats.messageList-chatSession":"f614","blocks-chats.messageList-chatSession__textBold":"f615","blocks-chats.messageList-chatSession__text":"f616","blocks-chats.messageList-chatSession__container":"f617","blocks-chats.messageList-chatSession__line":"f618","blocks-chats.messageList-chatSessionEnd":"f619","blocks-chats.messageList-chatMain__input":"f620","blocks-chats.messageList-chatOpenSession__btn":"f621","blocks-chats.messageList-chatOpenSession":"f622","blocks-chats.messageList-chatOpenSession__bgBase":"f623","blocks-chats.messageList-chatOpenSession__bgColor":"f624","blocks-chats.messageList-chatOpenSession__container":"f625","blocks-chats.messageList-chatOpenSession__info":"f626","blocks-chats.messageList-chatOpenSession__title":"f627","blocks-chats.messageList-chatOpenSession__text":"f628","blocks-chats.messageList-chatMainMenu":"f629","blocks-chats.messageList-chatMainMenu__head":"f630","blocks-chats.messageList-chatMainMenu__container":"f631","blocks-chats.messageList-messageList":"f632","blocks-chats.messageList-messageList__list":"f633","blocks-chats.messageList-messageList__item":"f634","blocks-chats.request-resetList":"f635","blocks-chats.request-btnNeutral":"f636","blocks-chats.request-btnTake":"f637","blocks-chats.request-resetBtn":"f638","blocks-chats.request-message":"f639","blocks-chats.request-colorWhite":"f640","blocks-chats.request-message__cloud":"f641","blocks-chats.request-message__titel":"f642","blocks-chats.request-message__head":"f643","blocks-chats.request-message__headImg":"f644","blocks-chats.request-message__headText":"f645","blocks-chats.request-message__text":"f646","blocks-chats.request-message__container":"f647","blocks-chats.request-message__info":"f648","blocks-chats.request-message__subtext":"f649","blocks-chats.request-message__statusContainer":"f650","blocks-chats.request-message__status":"f651","blocks-chats.request-message__statusText":"f652","blocks-chats.request-message__chack":"f653","blocks-chats.request-shiftRight":"f654","blocks-chats.request-message__addRequest":"f655","blocks-chats.request-btnIcon":"f656","blocks-chats.request-message__btnEdit":"f657","blocks-chats.request-customHeight20":"f658","blocks-chats.request-marginBottom4":"f659","blocks-chats.request-messageActive":"f660","blocks-chats.request-messageActive__color":"f661","blocks-chats.request-messageCloudFocus":"f662","blocks-chats.sessionStatus-resetList":"f663","blocks-chats.sessionStatus-btnAgree":"f664","blocks-chats.sessionStatus-colorTextPr":"f665","blocks-chats.sessionStatus-colorTextSec":"f666","blocks-chats.sessionStatus-textH3":"f667","blocks-chats.sessionStatus-textS":"f668","blocks-chats.sessionStatus-textM":"f669","blocks-chats.sessionStatus-chatMain":"f670","blocks-chats.sessionStatus-chatMain__container":"f671","blocks-chats.sessionStatus-chat__noMessage":"f672","blocks-chats.sessionStatus-chat__scroll":"f673","blocks-chats.sessionStatus-chatMain__gradient":"f674","blocks-chats.sessionStatus-chatScroll":"f675","blocks-chats.sessionStatus-chatScroll__container":"f676","blocks-chats.sessionStatus-chatSession":"f677","blocks-chats.sessionStatus-chatSession__textBold":"f678","blocks-chats.sessionStatus-chatSession__text":"f679","blocks-chats.sessionStatus-chatSession__container":"f680","blocks-chats.sessionStatus-chatSession__line":"f681","blocks-chats.sessionStatus-chatSessionEnd":"f682","blocks-chats.sessionStatus-chatMain__input":"f683","blocks-chats.sessionStatus-chatOpenSession__btn":"f684","blocks-chats.sessionStatus-chatOpenSession":"f685","blocks-chats.sessionStatus-chatOpenSession__bgBase":"f686","blocks-chats.sessionStatus-chatOpenSession__bgColor":"f687","blocks-chats.sessionStatus-chatOpenSession__container":"f688","blocks-chats.sessionStatus-chatOpenSession__info":"f689","blocks-chats.sessionStatus-chatOpenSession__title":"f690","blocks-chats.sessionStatus-chatOpenSession__text":"f691","blocks-chats.sessionStatus-chatMainMenu":"f692","blocks-chats.sessionStatus-chatMainMenu__head":"f693","blocks-chats.sessionStatus-chatMainMenu__container":"f694","blocks-chats.tabChat-resetList":"f695","blocks-chats.tabChat-resetBtn":"f696","blocks-chats.tabChat-orgTabContainer":"f697","blocks-chats.tabChat-tabListNav":"f698","blocks-chats.tabChat-tabNavBtn":"f699","blocks-chats.tabChat-tabNav__bigContent":"f700","blocks-chats.tabChat-tabNavBtnActiv":"f701","blocks-chats.tabChat-tabNavItem__smallContent":"f702","blocks-chats.tabChat-chatMainMenuWrap__lable":"f703","blocks-checkInputs.checkBox-checkbox":"f704","blocks-checkInputs.checkBox-checkboxInput":"f705","blocks-checkInputs.checkBox-checkboxContainer":"f706","blocks-checkInputs.checkBox-checkboxText":"f707","blocks-checkInputs.checkBox-checkboxSubtext":"f708","blocks-checkInputs.checkRadio-checkRadio":"f709","blocks-checkInputs.checkRadio-checkRadioInput":"f710","blocks-checkInputs.checkRadio-checkRadioText":"f711","blocks-checkInputs.checkToggle-checkToggleMain":"f712","blocks-checkInputs.checkToggle-checkToggleMain__wrapper":"f713","blocks-checkInputs.checkToggle-checkToggleMain__bgBase":"f714","blocks-checkInputs.checkToggle-checkToggleMain__bg":"f715","blocks-checkInputs.checkToggle-checkToggle":"f716","blocks-checkInputs.checkToggle-checkToggleInput":"f717","blocks-checkInputs.checkToggle-checkToggleText":"f718","blocks-checkInputs.checkToggle-checkToggleMain__subtext":"f719","blocks-clients.addClient-resetList":"f720","blocks-clients.addClient-resetBtn":"f721","blocks-clients.addClient-btn-agree":"f722","blocks-clients.addClient-btn-empty":"f723","blocks-clients.addClient-btn-danger":"f724","blocks-clients.addClient-btn-danger-empty":"f725","blocks-clients.addClient-textDarkMainBase":"f726","blocks-clients.addClient-dark500base":"f727","blocks-clients.addClient-textH2":"f728","blocks-clients.addClient-textMB":"f729","blocks-clients.addClient-textM":"f730","blocks-clients.addClient-textSB":"f731","blocks-clients.addClient-textS":"f732","blocks-clients.addClient-textCaptionS":"f733","blocks-clients.addClient-addClient":"f734","blocks-clients.addClient-addClient__scroll":"f735","blocks-clients.addClient-addClient__content":"f736","blocks-clients.addClient-input48":"f737","blocks-clients.addClient-input48:hover":"f738","blocks-clients.addClient-addClient__section":"f739","blocks-clients.addClient-addClient__tabList":"f740","blocks-clients.addClient-addClient__tabItem":"f741","blocks-clients.addClient-addClient__toggle":"f742","blocks-clients.addClient-addClient__item":"f743","blocks-clients.addClient-addClient__title":"f744","blocks-clients.addClient-addClient__subtitle":"f745","blocks-clients.addClient-addClient__select":"f746","blocks-clients.addClient-addClient__input":"f747","blocks-clients.addClient-addClient__inputBig":"f748","blocks-clients.addClient-addClient__btns":"f749","blocks-clients.addClient-addClient__imgContainer":"f750","blocks-clients.addClient-addClient__container":"f751","blocks-clients.addClient-input-block":"f752","blocks-clients.addClient-spaceBottm40":"f753","blocks-clients.addClient-addClient__menu":"f754","blocks-clients.addClient-addClientMenu":"f755","blocks-clients.addClient-addClientMenu__list":"f756","blocks-clients-resetBtn":"f757","blocks-clients-btn-agree":"f758","blocks-clients-btn-change":"f759","blocks-clients-btn-neutral":"f760","blocks-clients-colorTextP":"f761","blocks-clients-textH2":"f762","blocks-clients-clients":"f763","blocks-clients-clients__head":"f764","blocks-clients-clients__tab":"f765","blocks-clients-clients__btn":"f766","blocks-clients-clients__container":"f767","blocks-clients-searchIput":"f768","blocks-clients-clients__main":"f769","blocks-clients.notes.input-resetList":"f770","blocks-clients.notes.input-resetLink":"f771","blocks-clients.notes.input-resetBtn":"f772","blocks-clients.notes.input-btnAgree":"f773","blocks-clients.notes.input-btnNeutral":"f774","blocks-clients.notes.input-btnLight":"f775","blocks-clients.notes.input-btnEmpty":"f776","blocks-clients.notes.input-input40":"f777","blocks-clients.notes.input-input40:hover":"f778","blocks-clients.notes.input-clientInfo":"f779","blocks-clients.notes.input-textH3":"f780","blocks-clients.notes.input-textLB":"f781","blocks-clients.notes.input-textS":"f782","blocks-clients.notes.input-textM":"f783","blocks-clients.notes.input-colorTextPrim":"f784","blocks-clients.notes.input-colorTextSec":"f785","blocks-clients.notes.input-colorTextTetr":"f786","blocks-clients.notes.input-colorTextAcc":"f787","blocks-clients.notes.input-clientInfo__main":"f788","blocks-clients.notes.input-clientInfo__scroll":"f789","blocks-clients.notes.input-clientInfo__content":"f790","blocks-clients.notes.input-clientInfo__item":"f791","blocks-clients.notes.input-btnClose":"f792","blocks-clients.notes.input-clientInfo__commentInfo":"f793","blocks-clients.notes.input-commentInput":"f794","blocks-clients.notes.input-commentInput__buttons":"f795","blocks-clients.notes.input-commentInput__input":"f796","blocks-clients.notes.input-clientInfo__section":"f797","blocks-clients.notes.input-clientStatistic":"f798","blocks-clients.notes.input-clientInfo__title":"f799","blocks-clients.notes.input-clientInfo__notes":"f800","blocks-clients.notes.input-flexFull":"f801","blocks-clients.notes.input-cloudElement":"f802","blocks-clients.notes.input-clientInfo__menu":"f803","blocks-clients.notes.input-clientInfoMenu":"f804","blocks-clients.notes.input-clientInfoMenu__scrollContainer":"f805","blocks-clients.notes.input-clientInfoMenu__main":"f806","blocks-clients.notes.input-clientInfoMenu__head":"f807","blocks-clients.notes.input-clientInfoMenu__title":"f808","blocks-clients.notes.input-clientInfoMenu__overflow":"f809","blocks-clients.notes.input-clientInfoMenu__bigText":"f810","blocks-clients.notes.input-clientInfoOnline":"f811","blocks-clients.notes.input-clientInfoMenu__section":"f812","blocks-clients.notes.input-clientInfoMenu__subtitle":"f813","blocks-clients.notes.input-clientInfoMenu__list":"f814","blocks-clients.notes.input-clientInfoMenu__item":"f815","blocks-clients.notes.input-spaceBottom24":"f816","blocks-clients.notes.input-spaceBottom16":"f817","blocks-clients.notes.input-spaceBottom12":"f818","blocks-clients.notes.input-spaceBottom8":"f819","blocks-clients.notes.item-resetList":"f820","blocks-clients.notes.item-resetLink":"f821","blocks-clients.notes.item-resetBtn":"f822","blocks-clients.notes.item-btnAgree":"f823","blocks-clients.notes.item-btnNeutral":"f824","blocks-clients.notes.item-btnLight":"f825","blocks-clients.notes.item-btnEmpty":"f826","blocks-clients.notes.item-input40":"f827","blocks-clients.notes.item-input40:hover":"f828","blocks-clients.notes.item-clientInfo":"f829","blocks-clients.notes.item-textH3":"f830","blocks-clients.notes.item-textLB":"f831","blocks-clients.notes.item-textS":"f832","blocks-clients.notes.item-textM":"f833","blocks-clients.notes.item-colorTextPrim":"f834","blocks-clients.notes.item-colorTextSec":"f835","blocks-clients.notes.item-colorTextTetr":"f836","blocks-clients.notes.item-colorTextAcc":"f837","blocks-clients.notes.item-clientInfo__main":"f838","blocks-clients.notes.item-clientInfo__scroll":"f839","blocks-clients.notes.item-clientInfo__content":"f840","blocks-clients.notes.item-clientInfo__item":"f841","blocks-clients.notes.item-clientInfo__container":"f842","blocks-clients.notes.item-clientInfo__buttons":"f843","blocks-clients.notes.item-btnEdit":"f844","blocks-clients.notes.item-clientInfo__commentInfo":"f845","blocks-clients.notes.item-commentInput":"f846","blocks-clients.notes.item-commentInput__buttons":"f847","blocks-clients.notes.item-commentInput__input":"f848","blocks-clients.notes.item-clientInfo__section":"f849","blocks-clients.notes.item-clientStatistic":"f850","blocks-clients.notes.item-clientInfo__title":"f851","blocks-clients.notes.item-clientInfo__notes":"f852","blocks-clients.notes.item-flexFull":"f853","blocks-clients.notes.item-cloudElement":"f854","blocks-clients.notes.item-clientInfo__menu":"f855","blocks-clients.notes.item-clientInfoMenu":"f856","blocks-clients.notes.item-clientInfoMenu__scrollContainer":"f857","blocks-clients.notes.item-clientInfoMenu__main":"f858","blocks-clients.notes.item-clientInfoMenu__head":"f859","blocks-clients.notes.item-clientInfoMenu__title":"f860","blocks-clients.notes.item-clientInfoMenu__overflow":"f861","blocks-clients.notes.item-clientInfoMenu__bigText":"f862","blocks-clients.notes.item-clientInfoOnline":"f863","blocks-clients.notes.item-clientInfoMenu__section":"f864","blocks-clients.notes.item-clientInfoMenu__subtitle":"f865","blocks-clients.notes.item-clientInfoMenu__list":"f866","blocks-clients.notes.item-clientInfoMenu__item":"f867","blocks-clients.notes.item-spaceBottom24":"f868","blocks-clients.notes.item-spaceBottom16":"f869","blocks-clients.notes.item-spaceBottom12":"f870","blocks-clients.notes.item-spaceBottom8":"f871","blocks-clients.notes-resetList":"f872","blocks-clients.notes-resetLink":"f873","blocks-clients.notes-resetBtn":"f874","blocks-clients.notes-btnAgree":"f875","blocks-clients.notes-btnNeutral":"f876","blocks-clients.notes-btnLight":"f877","blocks-clients.notes-btnEmpty":"f878","blocks-clients.notes-input40":"f879","blocks-clients.notes-input40:hover":"f880","blocks-clients.notes-clientInfo":"f881","blocks-clients.notes-textH3":"f882","blocks-clients.notes-textLB":"f883","blocks-clients.notes-textS":"f884","blocks-clients.notes-textM":"f885","blocks-clients.notes-colorTextPrim":"f886","blocks-clients.notes-colorTextSec":"f887","blocks-clients.notes-colorTextTetr":"f888","blocks-clients.notes-colorTextAcc":"f889","blocks-clients.notes-clientInfo__main":"f890","blocks-clients.notes-clientInfo__scroll":"f891","blocks-clients.notes-clientInfo__content":"f892","blocks-clients.notes-clientInfo__item":"f893","blocks-clients.notes-btnClose":"f894","blocks-clients.notes-clientInfo__commentInfo":"f895","blocks-clients.notes-commentInput":"f896","blocks-clients.notes-commentInput__buttons":"f897","blocks-clients.notes-commentInput__input":"f898","blocks-clients.notes-clientInfo__section":"f899","blocks-clients.notes-clientStatistic":"f900","blocks-clients.notes-clientInfo__title":"f901","blocks-clients.notes-clientInfo__notes":"f902","blocks-clients.notes-flexFull":"f903","blocks-clients.notes-cloudElement":"f904","blocks-clients.notes-clientInfo__menu":"f905","blocks-clients.notes-clientInfoMenu":"f906","blocks-clients.notes-clientInfoMenu__scrollContainer":"f907","blocks-clients.notes-clientInfoMenu__main":"f908","blocks-clients.notes-clientInfoMenu__head":"f909","blocks-clients.notes-clientInfoMenu__title":"f910","blocks-clients.notes-clientInfoMenu__overflow":"f911","blocks-clients.notes-clientInfoMenu__bigText":"f912","blocks-clients.notes-clientInfoOnline":"f913","blocks-clients.notes-clientInfoMenu__section":"f914","blocks-clients.notes-clientInfoMenu__subtitle":"f915","blocks-clients.notes-clientInfoMenu__list":"f916","blocks-clients.notes-clientInfoMenu__item":"f917","blocks-clients.notes-spaceBottom24":"f918","blocks-clients.notes-spaceBottom16":"f919","blocks-clients.notes-spaceBottom12":"f920","blocks-clients.notes-spaceBottom8":"f921","blocks-clients.watchClient.infoClient-resetList":"f922","blocks-clients.watchClient.infoClient-resetLink":"f923","blocks-clients.watchClient.infoClient-resetBtn":"f924","blocks-clients.watchClient.infoClient-btnAgree":"f925","blocks-clients.watchClient.infoClient-btnNeutral":"f926","blocks-clients.watchClient.infoClient-btnLight":"f927","blocks-clients.watchClient.infoClient-btnEmpty":"f928","blocks-clients.watchClient.infoClient-input40":"f929","blocks-clients.watchClient.infoClient-input40:hover":"f930","blocks-clients.watchClient.infoClient-clientInfo":"f931","blocks-clients.watchClient.infoClient-textH3":"f932","blocks-clients.watchClient.infoClient-textLB":"f933","blocks-clients.watchClient.infoClient-textS":"f934","blocks-clients.watchClient.infoClient-textM":"f935","blocks-clients.watchClient.infoClient-colorTextPrim":"f936","blocks-clients.watchClient.infoClient-colorTextSec":"f937","blocks-clients.watchClient.infoClient-colorTextTetr":"f938","blocks-clients.watchClient.infoClient-colorTextAcc":"f939","blocks-clients.watchClient.infoClient-clientInfo__main":"f940","blocks-clients.watchClient.infoClient-clientInfo__scroll":"f941","blocks-clients.watchClient.infoClient-clientInfo__content":"f942","blocks-clients.watchClient.infoClient-clientInfo__item":"f943","blocks-clients.watchClient.infoClient-btnClose":"f944","blocks-clients.watchClient.infoClient-clientInfo__commentInfo":"f945","blocks-clients.watchClient.infoClient-commentInput":"f946","blocks-clients.watchClient.infoClient-commentInput__buttons":"f947","blocks-clients.watchClient.infoClient-commentInput__input":"f948","blocks-clients.watchClient.infoClient-clientInfo__section":"f949","blocks-clients.watchClient.infoClient-clientStatistic":"f950","blocks-clients.watchClient.infoClient-clientInfo__title":"f951","blocks-clients.watchClient.infoClient-clientInfo__notes":"f952","blocks-clients.watchClient.infoClient-flexFull":"f953","blocks-clients.watchClient.infoClient-cloudElement":"f954","blocks-clients.watchClient.infoClient-clientInfo__menu":"f955","blocks-clients.watchClient.infoClient-clientInfoMenu":"f956","blocks-clients.watchClient.infoClient-clientInfoMenu__scrollContainer":"f957","blocks-clients.watchClient.infoClient-clientInfoMenu__main":"f958","blocks-clients.watchClient.infoClient-clientInfoMenu__head":"f959","blocks-clients.watchClient.infoClient-clientInfoMenu__title":"f960","blocks-clients.watchClient.infoClient-clientInfoMenu__overflow":"f961","blocks-clients.watchClient.infoClient-clientInfoMenu__bigText":"f962","blocks-clients.watchClient.infoClient-clientInfoOnline":"f963","blocks-clients.watchClient.infoClient-clientInfoMenu__section":"f964","blocks-clients.watchClient.infoClient-clientInfoMenu__subtitle":"f965","blocks-clients.watchClient.infoClient-clientInfoMenu__list":"f966","blocks-clients.watchClient.infoClient-clientInfoMenu__item":"f967","blocks-clients.watchClient.infoClient-spaceBottom24":"f968","blocks-clients.watchClient.infoClient-spaceBottom16":"f969","blocks-clients.watchClient.infoClient-spaceBottom12":"f970","blocks-clients.watchClient.infoClient-spaceBottom8":"f971","blocks-clients.watchClient.infoClientContent-resetList":"f972","blocks-clients.watchClient.infoClientContent-resetLink":"f973","blocks-clients.watchClient.infoClientContent-resetBtn":"f974","blocks-clients.watchClient.infoClientContent-btnAgree":"f975","blocks-clients.watchClient.infoClientContent-btnNeutral":"f976","blocks-clients.watchClient.infoClientContent-btnLight":"f977","blocks-clients.watchClient.infoClientContent-btnLightBlueSmall":"f978","blocks-clients.watchClient.infoClientContent-btnEmpty":"f979","blocks-clients.watchClient.infoClientContent-input40":"f980","blocks-clients.watchClient.infoClientContent-input40:hover":"f981","blocks-clients.watchClient.infoClientContent-textH3":"f982","blocks-clients.watchClient.infoClientContent-textLB":"f983","blocks-clients.watchClient.infoClientContent-textS":"f984","blocks-clients.watchClient.infoClientContent-textM":"f985","blocks-clients.watchClient.infoClientContent-colorTextPrim":"f986","blocks-clients.watchClient.infoClientContent-colorTextSec":"f987","blocks-clients.watchClient.infoClientContent-colorTextTetr":"f988","blocks-clients.watchClient.infoClientContent-colorTextAcc":"f989","blocks-clients.watchClient.infoClientContent-colorTextNeg":"f990","blocks-clients.watchClient.infoClientContent-clientInfo__main":"f991","blocks-clients.watchClient.infoClientContent-clientInfo__scroll":"f992","blocks-clients.watchClient.infoClientContent-clientInfo__head":"f993","blocks-clients.watchClient.infoClientContent-clientInfo__content":"f994","blocks-clients.watchClient.infoClientContent-clientInfo__item":"f995","blocks-clients.watchClient.infoClientContent-btnClose":"f996","blocks-clients.watchClient.infoClientContent-clientInfo__commentInfo":"f997","blocks-clients.watchClient.infoClientContent-commentInput":"f998","blocks-clients.watchClient.infoClientContent-commentInput__buttons":"f999","blocks-clients.watchClient.infoClientContent-commentInput__input":"f1000","blocks-clients.watchClient.infoClientContent-clientInfo__section":"f1001","blocks-clients.watchClient.infoClientContent-clientStatistic":"f1002","blocks-clients.watchClient.infoClientContent-clientInfo__title":"f1003","blocks-clients.watchClient.infoClientContent-clientInfo__notes":"f1004","blocks-clients.watchClient.infoClientContent-flexFull":"f1005","blocks-clients.watchClient.infoClientContent-cloudElement":"f1006","blocks-clients.watchClient.infoClientContent-clientInfo__menu":"f1007","blocks-clients.watchClient.infoClientContent-clientInfoMenu":"f1008","blocks-clients.watchClient.infoClientContent-clientInfoMenu__scrollContainer":"f1009","blocks-clients.watchClient.infoClientContent-clientInfoMenu__main":"f1010","blocks-clients.watchClient.infoClientContent-clientInfoMenu__head":"f1011","blocks-clients.watchClient.infoClientContent-clientInfoMenu__title":"f1012","blocks-clients.watchClient.infoClientContent-clientInfoMenu__overflow":"f1013","blocks-clients.watchClient.infoClientContent-clientInfoMenu__bigText":"f1014","blocks-clients.watchClient.infoClientContent-clientInfoOnline":"f1015","blocks-clients.watchClient.infoClientContent-clientInfoMenu__section":"f1016","blocks-clients.watchClient.infoClientContent-clientInfoMenu__subtitle":"f1017","blocks-clients.watchClient.infoClientContent-clientInfoMenu__list":"f1018","blocks-clients.watchClient.infoClientContent-clientInfoMenu__item":"f1019","blocks-clients.watchClient.infoClientContent-spaceBottom24":"f1020","blocks-clients.watchClient.infoClientContent-spaceBottom16":"f1021","blocks-clients.watchClient.infoClientContent-spaceBottom12":"f1022","blocks-clients.watchClient.infoClientContent-spaceBottom8":"f1023","blocks-clients.watchClient.receipts-clientsRequests":"f1024","blocks-clients.watchClient.requests-clientsRequests":"f1025","blocks-createPartner-resetList":"f1026","blocks-createPartner-resetLink":"f1027","blocks-createPartner-resetBtn":"f1028","blocks-createPartner-btn-agree":"f1029","blocks-createPartner-btn-change":"f1030","blocks-createPartner-btn-cencel":"f1031","blocks-createPartner-btn-danger":"f1032","blocks-createPartner-input-block__field":"f1033","blocks-createPartner-input-block__field:hover":"f1034","blocks-createPartner-wrapper":"f1035","blocks-createPartner-pagetitle":"f1036","blocks-createPartner-mainMenu16semi":"f1037","blocks-createPartner-mainMenu16reg":"f1038","blocks-createPartner-tableHeader15semi":"f1039","blocks-createPartner-tableData15medium":"f1040","blocks-createPartner-tag13":"f1041","blocks-createPartner-colorGrayN90m":"f1042","blocks-createPartner-colorGrayN70s":"f1043","blocks-createPartner-ivent":"f1044","blocks-createPartner-ivent__head":"f1045","blocks-createPartner-ivent__title":"f1046","blocks-createPartner-ivent__head-btn":"f1047","blocks-createPartner-chevron-left-img":"f1048","blocks-createPartner-ivent__main":"f1049","blocks-createPartner-ivent__container":"f1050","blocks-createPartner-ivent__form":"f1051","blocks-createPartner-ivent__btn-container":"f1052","blocks-createPartner-form__item":"f1053","blocks-createPartner-input-block":"f1054","blocks-createPartner-text-area":"f1055","blocks-createPartner-form__container":"f1056","blocks-createPartner-form__btn-container":"f1057","blocks-createPartner-avatar":"f1058","blocks-createPartner-avatar__text":"f1059","blocks-createPartner-avatar__container":"f1060","blocks-createPartner-avatar__img":"f1061","blocks-createPartner-avatar__buttons":"f1062","blocks-dev.Backlight.info-resetList":"f1063","blocks-dev.Backlight.info-resetBtn":"f1064","blocks-dev.Backlight.info-blocks-dev.Backlight.info":"f1065","blocks-dev.Updater-overlay":"f1066","blocks-dev.Updater-container":"f1067","blocks-dev.Updater-wrapper":"f1068","blocks-dev.Updater-title":"f1069","blocks-dev.Updater-item":"f1070","blocks-dev.Updater-block-name":"f1071","blocks-dev.Updater-block-path":"f1072","blocks-dev.Updater-block-json":"f1073","blocks-eventList.editEvent-resetList":"f1074","blocks-eventList.editEvent-resetLink":"f1075","blocks-eventList.editEvent-resetBtn":"f1076","blocks-eventList.editEvent-btnAgree":"f1077","blocks-eventList.editEvent-btnAgreeLight":"f1078","blocks-eventList.editEvent-btnCencel":"f1079","blocks-eventList.editEvent-btnCencelLight":"f1080","blocks-eventList.editEvent-btn-danger":"f1081","blocks-eventList.editEvent-btnNeutralEmpty":"f1082","blocks-eventList.editEvent-input-block__field":"f1083","blocks-eventList.editEvent-input-block__field:hover":"f1084","blocks-eventList.editEvent-input-invalid":"f1085","blocks-eventList.editEvent-wrapper":"f1086","blocks-eventList.editEvent-pagetitle":"f1087","blocks-eventList.editEvent-mainMenu16semi":"f1088","blocks-eventList.editEvent-mainMenu16reg":"f1089","blocks-eventList.editEvent-tableHeader15semi":"f1090","blocks-eventList.editEvent-tableData15medium":"f1091","blocks-eventList.editEvent-tag13":"f1092","blocks-eventList.editEvent-colorGrayN90m":"f1093","blocks-eventList.editEvent-colorGrayN70s":"f1094","blocks-eventList.editEvent-ivent":"f1095","blocks-eventList.editEvent-ivent__title":"f1096","blocks-eventList.editEvent-ivent__main":"f1097","blocks-eventList.editEvent-ivent__container":"f1098","blocks-eventList.editEvent-ivent__form":"f1099","blocks-eventList.editEvent-ivent__tab":"f1100","blocks-eventList.editEvent-ivent__btnContainer":"f1101","blocks-eventList.editEvent-spaceAutoRight":"f1102","blocks-eventList.editEvent-form__item":"f1103","blocks-eventList.editEvent-input-block":"f1104","blocks-eventList.editEvent-input__btnLabel":"f1105","blocks-eventList.editEvent-fakeTab":"f1106","blocks-eventList.editEvent-fakeTab__active":"f1107","blocks-eventList.editEvent-form__short-container":"f1108","blocks-eventList.editEvent-input-small":"f1109","blocks-eventList.editEvent-text-area":"f1110","blocks-eventList.editEvent-form__container":"f1111","blocks-eventList.editEvent-form__btn-container":"f1112","blocks-eventList.editEvent-btnMinWidth157":"f1113","blocks-eventList.editEvent-addClient__item":"f1114","blocks-eventList.editEvent-addClientExtra__loadConteiner":"f1115","blocks-eventList.editEvent-addClientExtra__load":"f1116","blocks-eventList.editEvent-addClientExtra":"f1117","blocks-eventList.editEvent-addClientExtra__head":"f1118","blocks-eventList.editEvent-addClientExtra__title":"f1119","blocks-eventList.editEvent-addClientExtra__textInfo":"f1120","blocks-eventList.editEvent-addClientExtra__container":"f1121","blocks-eventList.editEvent-addClientExtra__list":"f1122","blocks-eventList.editEvent-addClientExtra__btnLeft":"f1123","blocks-eventList.editEvent-addClientExtra__btnRight":"f1124","blocks-eventList.editEvent-addClientExtra__file":"f1125","blocks-eventList.editEvent-addClientExtra__fileName":"f1126","blocks-eventList.editEvent-addClientExtra__img":"f1127","blocks-eventList.editEvent-addClientExtra__textError":"f1128","blocks-eventList.editEvent-fieldTop20":"f1129","blocks-eventList.editEvent-spaceBottm64":"f1130","blocks-eventList.editEvent-spaceBottm40":"f1131","blocks-eventList.editEvent-spaceBottm24":"f1132","blocks-eventList.editEvent-spaceBottm16":"f1133","blocks-eventList.editEvent-spaceBottm8":"f1134","blocks-eventList.editEvent.materials-resetList":"f1135","blocks-eventList.editEvent.materials-resetLink":"f1136","blocks-eventList.editEvent.materials-resetBtn":"f1137","blocks-eventList.editEvent.materials-btnAgree":"f1138","blocks-eventList.editEvent.materials-btnAgreeLight":"f1139","blocks-eventList.editEvent.materials-btnCencel":"f1140","blocks-eventList.editEvent.materials-btnCencelLight":"f1141","blocks-eventList.editEvent.materials-btn-danger":"f1142","blocks-eventList.editEvent.materials-input-block__field":"f1143","blocks-eventList.editEvent.materials-input-block__field:hover":"f1144","blocks-eventList.editEvent.materials-input-invalid":"f1145","blocks-eventList.editEvent.materials-pagetitle":"f1146","blocks-eventList.editEvent.materials-mainMenu16semi":"f1147","blocks-eventList.editEvent.materials-mainMenu16reg":"f1148","blocks-eventList.editEvent.materials-tableHeader15semi":"f1149","blocks-eventList.editEvent.materials-tableData15medium":"f1150","blocks-eventList.editEvent.materials-tag13":"f1151","blocks-eventList.editEvent.materials-colorGrayN90m":"f1152","blocks-eventList.editEvent.materials-colorGrayN70s":"f1153","blocks-eventList.editEvent.materials-btnMinWidth157":"f1154","blocks-eventList.editEvent.materials-addClient__item":"f1155","blocks-eventList.editEvent.materials-addClientExtra__loadConteiner":"f1156","blocks-eventList.editEvent.materials-addClientExtra__load":"f1157","blocks-eventList.editEvent.materials-input-block":"f1158","blocks-eventList.editEvent.materials-addClientExtra":"f1159","blocks-eventList.editEvent.materials-addClientExtra__head":"f1160","blocks-eventList.editEvent.materials-addClientExtra__title":"f1161","blocks-eventList.editEvent.materials-addClientExtra__textInfo":"f1162","blocks-eventList.editEvent.materials-addClientExtra__list":"f1163","blocks-eventList.editEvent.materials-addClientExtra__container":"f1164","blocks-eventList.editEvent.materials-addClientExtra__number":"f1165","blocks-eventList.editEvent.materials-addClientExtra__btnLeft":"f1166","blocks-eventList.editEvent.materials-addClientExtra__btnRight":"f1167","blocks-eventList.editEvent.materials-addClientExtra__file":"f1168","blocks-eventList.editEvent.materials-addClientExtra__fileName":"f1169","blocks-eventList.editEvent.materials-addClientExtra__img":"f1170","blocks-eventList.editEvent.materials-addClientExtra__textError":"f1171","blocks-eventList.editEvent.materials-fieldTop20":"f1172","blocks-eventList.editEvent.materials-spaceBottm64":"f1173","blocks-eventList.editEvent.materials-spaceBottm40":"f1174","blocks-eventList.editEvent.materials-spaceBottm24":"f1175","blocks-eventList.editEvent.materials-spaceBottm16":"f1176","blocks-eventList.editEvent.materials-fileInput":"f1177","blocks-eventList.editEvent.preview-resetBtn":"f1178","blocks-eventList.editEvent.preview-btn-agree":"f1179","blocks-eventList.editEvent.preview-btn-change":"f1180","blocks-eventList.editEvent.preview-btn-neutral":"f1181","blocks-eventList.editEvent.preview-resetList":"f1182","blocks-eventList.editEvent.preview-btn-empty":"f1183","blocks-eventList.editEvent.preview-btn-danger":"f1184","blocks-eventList.editEvent.preview-btn-danger-empty":"f1185","blocks-eventList.editEvent.preview-pages-news.edit.preview":"f1186","blocks-eventList.editEvent.preview-newsEdit__subtitle":"f1187","blocks-eventList.editEvent.preview-newsEdit__imgContainer":"f1188","blocks-eventList.editEvent.preview-newsEdit__btns":"f1189","blocks-eventList.editEvent.preview-fileInput":"f1190","blocks-eventList.editPartners.createModal-resetBtn":"f1191","blocks-eventList.editPartners.createModal-btnAgree":"f1192","blocks-eventList.editPartners.createModal-btnDanger":"f1193","blocks-eventList.editPartners.createModal-input-block__field":"f1194","blocks-eventList.editPartners.createModal-input-block__field:hover":"f1195","blocks-eventList.editPartners.createModal-input-invalid":"f1196","blocks-eventList.editPartners.createModal-ColorTextPr":"f1197","blocks-eventList.editPartners.createModal-ColorTextSec":"f1198","blocks-eventList.editPartners.createModal-textH3":"f1199","blocks-eventList.editPartners.createModal-textL":"f1200","blocks-eventList.editPartners.createModal-modal":"f1201","blocks-eventList.editPartners.createModal-modal__container":"f1202","blocks-eventList.editPartners.createModal-modal__head":"f1203","blocks-eventList.editPartners.createModal-modal__title":"f1204","blocks-eventList.editPartners.createModal-modal__close":"f1205","blocks-eventList.editPartners.createModal-modal__info":"f1206","blocks-eventList.editPartners.createModal-modal__btnContainer":"f1207","blocks-eventList.editPartners.createModal-wholeWidth":"f1208","blocks-eventList.editPartners-resetList":"f1209","blocks-eventList.editPartners-resetLink":"f1210","blocks-eventList.editPartners-resetBtn":"f1211","blocks-eventList.editPartners-btnAgree":"f1212","blocks-eventList.editPartners-btnCencel":"f1213","blocks-eventList.editPartners-btnNeutral":"f1214","blocks-eventList.editPartners-btnLightSmall":"f1215","blocks-eventList.editPartners-btnLight":"f1216","blocks-eventList.editPartners-btnLightBig":"f1217","blocks-eventList.editPartners-textColorPr":"f1218","blocks-eventList.editPartners-dark500base":"f1219","blocks-eventList.editPartners-dark400base":"f1220","blocks-eventList.editPartners-accentMainBase":"f1221","blocks-eventList.editPartners-textH2":"f1222","blocks-eventList.editPartners-textH3":"f1223","blocks-eventList.editPartners-textH4":"f1224","blocks-eventList.editPartners-textMB":"f1225","blocks-eventList.editPartners-textLB":"f1226","blocks-eventList.editPartners-textM":"f1227","blocks-eventList.editPartners-textSB":"f1228","blocks-eventList.editPartners-textS":"f1229","blocks-eventList.editPartners-textCaptionS":"f1230","blocks-eventList.editPartners-eddServicesEmptyPage":"f1231","blocks-eventList.editPartners-eddServicesEmptyPage__container":"f1232","blocks-eventList.editPartners-eddServicesEmptyPage__text":"f1233","blocks-eventList.editPartners-eddServices":"f1234","blocks-eventList.editPartners-services__head":"f1235","blocks-eventList.editPartners-services__headContainer":"f1236","blocks-eventList.editPartners-services__litle":"f1237","blocks-eventList.editPartners-eddServices__tab":"f1238","blocks-eventList.editPartners-eddServices__scroll":"f1239","blocks-eventList.editPartners-eddServices__scroll-container":"f1240","blocks-eventList.editPartners-eddServices__section":"f1241","blocks-eventList.editPartners-eddServices__subhead":"f1242","blocks-eventList.editPartners-eddServices__empty":"f1243","blocks-eventList.editPartners-eddServices__subtitle":"f1244","blocks-eventList.editPartners-eddServices__list":"f1245","blocks-eventList.editPartners-eddServices__item":"f1246","blocks-eventList.editPartners-eddServices__sectionBtn":"f1247","blocks-eventList.editPartners-serviceBlock":"f1248","blocks-eventList.editPartners-serviceBlock__btn":"f1249","blocks-eventList.editPartners-serviceBlock__btnCancel":"f1250","blocks-eventList.editPartners-serviceBlock__container":"f1251","blocks-eventList.editPartners-serviceBlock__empty":"f1252","blocks-eventList.editPartners-serviceBlock__preview":"f1253","blocks-eventList.editPartners-serviceBlock__title":"f1254","blocks-eventList.editPartners-serviceBlock__text":"f1255","blocks-eventList.editPartners-serviceBlock__secondtext":"f1256","blocks-eventList.editPartners-serviceBlock__btnContainer":"f1257","blocks-eventList.editPartners-spaceAutoRight":"f1258","blocks-eventList.editPartners-schedule__empty":"f1259","blocks-eventList.editPartners-schedule__secondText":"f1260","blocks-eventList.editPartners-servicesCategory":"f1261","blocks-eventList.editPartners-servicesCategory__input":"f1262","blocks-eventList.editPartners-servicesCategory__container":"f1263","blocks-eventList.editPartners-servicesCategory__btn":"f1264","blocks-eventList.editProgram-resetList":"f1265","blocks-eventList.editProgram-resetLink":"f1266","blocks-eventList.editProgram-resetBtn":"f1267","blocks-eventList.editProgram-btnAgree":"f1268","blocks-eventList.editProgram-btnCencel":"f1269","blocks-eventList.editProgram-btnNeutral":"f1270","blocks-eventList.editProgram-btnLight":"f1271","blocks-eventList.editProgram-btnLightSmall":"f1272","blocks-eventList.editProgram-btnLightBig":"f1273","blocks-eventList.editProgram-textDarkMainBase":"f1274","blocks-eventList.editProgram-dark500base":"f1275","blocks-eventList.editProgram-dark400base":"f1276","blocks-eventList.editProgram-accentMainBase":"f1277","blocks-eventList.editProgram-textH2":"f1278","blocks-eventList.editProgram-textH3":"f1279","blocks-eventList.editProgram-textH4":"f1280","blocks-eventList.editProgram-textMB":"f1281","blocks-eventList.editProgram-textLB":"f1282","blocks-eventList.editProgram-textM":"f1283","blocks-eventList.editProgram-textSB":"f1284","blocks-eventList.editProgram-textS":"f1285","blocks-eventList.editProgram-textCaptionS":"f1286","blocks-eventList.editProgram-iventEmptyPage":"f1287","blocks-eventList.editProgram-iventEmptyPage__container":"f1288","blocks-eventList.editProgram-iventEmptyPage__text":"f1289","blocks-eventList.editProgram-blocks-eventList.editProgram":"f1290","blocks-eventList.editProgram-ivent":"f1291","blocks-eventList.editProgram-iventHead__btn":"f1292","blocks-eventList.editProgram-ivent__head":"f1293","blocks-eventList.editProgram-iventHead":"f1294","blocks-eventList.editProgram-iventHead__container":"f1295","blocks-eventList.editProgram-iventHead__title":"f1296","blocks-eventList.editProgram-iventHead__input":"f1297","blocks-eventList.editProgram-iventHead__btnContainer":"f1298","blocks-eventList.editProgram-btnTab":"f1299","blocks-eventList.editProgram-iventTab__btn":"f1300","blocks-eventList.editProgram-btnTabActive":"f1301","blocks-eventList.editProgram-iventTab":"f1302","blocks-eventList.editProgram-iventTab__container":"f1303","blocks-eventList.editProgram-iventTab__tab":"f1304","blocks-eventList.editProgram-iventTab__list":"f1305","blocks-eventList.editProgram-iventTab__text":"f1306","blocks-eventList.editProgram-iventTab__btnsContainer":"f1307","blocks-eventList.editProgram-iventNav":"f1308","blocks-eventList.editProgram-iventNav__title":"f1309","blocks-eventList.editProgram-iventNav__nav":"f1310","blocks-eventList.editProgram-iventNav__list":"f1311","blocks-eventList.editProgram-iventNav__item":"f1312","blocks-eventList.editProgram-iventNav__btnDelete":"f1313","blocks-eventList.editProgram-iventNav__btn":"f1314","blocks-eventList.editProgram-ivent__scroll":"f1315","blocks-eventList.editProgram-ivent__scroll-container":"f1316","blocks-eventList.editProgram-ivent__section":"f1317","blocks-eventList.editProgram-ivent__empty":"f1318","blocks-eventList.editProgram-ivent__subtitle":"f1319","blocks-eventList.editProgram-ivent__list":"f1320","blocks-eventList.editProgram-ivent__item":"f1321","blocks-eventList.editProgram-ivent__sectionBtn":"f1322","blocks-eventList.editProgram-schedule__empty":"f1323","blocks-eventList.editProgram-schedule__secondText":"f1324","blocks-eventList.editProgram-schedule":"f1325","blocks-eventList.editProgram-schedule__btn":"f1326","blocks-eventList.editProgram-schedule__btnCancel":"f1327","blocks-eventList.editProgram-schedule__container":"f1328","blocks-eventList.editProgram-schedule__interval":"f1329","blocks-eventList.editProgram-schedule__img-clock":"f1330","blocks-eventList.editProgram-schedule__time":"f1331","blocks-eventList.editProgram-schedule__text":"f1332","blocks-eventList.editProgram-schedule__location":"f1333","blocks-eventList.editProgram-schedule__img-map":"f1334","blocks-eventList.editProgram-schedule__location-text":"f1335","blocks-eventList.editProgram-schedule-active":"f1336","blocks-eventList.editProgram-active-white":"f1337","blocks-eventList.editProgram-schedule__btnContainer":"f1338","blocks-eventList.editProgram-spaceAutoRight":"f1339","blocks-eventList.editProgram.selectIcon-resetList":"f1340","blocks-eventList.editProgram.selectIcon-resetBtn":"f1341","blocks-eventList.editProgram.selectIcon-selectIcon":"f1342","blocks-eventList.editProgram.selectIcon-selectImgContainer":"f1343","blocks-eventList.editProgram.selectIcon-selectIcon__container":"f1344","blocks-eventList.editProgram.selectIcon-selectIcon__backColor":"f1345","blocks-eventList.editProgram.selectIcon-selectIcon__list":"f1346","blocks-eventList.editProgram.selectIcon-colorBrandMain":"f1347","blocks-eventList.editProgram.selectIcon-selectIcon__hoverItem":"f1348","blocks-eventList.editServices-resetList":"f1349","blocks-eventList.editServices-resetLink":"f1350","blocks-eventList.editServices-resetBtn":"f1351","blocks-eventList.editServices-btnAgree":"f1352","blocks-eventList.editServices-btnCencel":"f1353","blocks-eventList.editServices-btnNeutral":"f1354","blocks-eventList.editServices-btnLight":"f1355","blocks-eventList.editServices-btnLightBig":"f1356","blocks-eventList.editServices-no-active":"f1357","blocks-eventList.editServices-textColorPr":"f1358","blocks-eventList.editServices-dark500base":"f1359","blocks-eventList.editServices-dark400base":"f1360","blocks-eventList.editServices-accentMainBase":"f1361","blocks-eventList.editServices-textH2":"f1362","blocks-eventList.editServices-textH3":"f1363","blocks-eventList.editServices-textH4":"f1364","blocks-eventList.editServices-textMB":"f1365","blocks-eventList.editServices-textLB":"f1366","blocks-eventList.editServices-textM":"f1367","blocks-eventList.editServices-textSB":"f1368","blocks-eventList.editServices-textS":"f1369","blocks-eventList.editServices-textCaptionS":"f1370","blocks-eventList.editServices-eddServicesEmptyPage":"f1371","blocks-eventList.editServices-eddServicesEmptyPage__container":"f1372","blocks-eventList.editServices-eddServicesEmptyPage__text":"f1373","blocks-eventList.editServices-eddServices":"f1374","blocks-eventList.editServices-services__head":"f1375","blocks-eventList.editServices-services__litle":"f1376","blocks-eventList.editServices-eddServices__tab":"f1377","blocks-eventList.editServices-eddServices__scroll":"f1378","blocks-eventList.editServices-eddServices__scroll-container":"f1379","blocks-eventList.editServices-eddServices__section":"f1380","blocks-eventList.editServices-eddServices__empty":"f1381","blocks-eventList.editServices-eddServices__subtitle":"f1382","blocks-eventList.editServices-eddServices__list":"f1383","blocks-eventList.editServices-eddServices__item":"f1384","blocks-eventList.editServices-eddServices__sectionBtn":"f1385","blocks-eventList.editServices-schedule":"f1386","blocks-eventList.editServices-schedule__btnCancel":"f1387","blocks-eventList.editServices-serviceBlock__btn":"f1388","blocks-eventList.editServices-serviceBlock__container":"f1389","blocks-eventList.editServices-serviceBlock__empty":"f1390","blocks-eventList.editServices-serviceBlock__preview":"f1391","blocks-eventList.editServices-serviceBlock__title":"f1392","blocks-eventList.editServices-serviceBlock__text":"f1393","blocks-eventList.editServices-serviceBlock__secondtext":"f1394","blocks-eventList.editServices-schedule__btnContainer":"f1395","blocks-eventList.editServices-spaceAutoRight":"f1396","blocks-eventList.event-resetList":"f1397","blocks-eventList.event-resetLink":"f1398","blocks-eventList.event-resetBtn":"f1399","blocks-eventList.event-btn-agree":"f1400","blocks-eventList.event-iventInfo":"f1401","blocks-eventList.event-iventInfo__scroll":"f1402","blocks-eventList.event-iventInfo__content":"f1403","blocks-eventList.event-iventInfo__title":"f1404","blocks-eventList.event-iventInfo__imgContainer":"f1405","blocks-eventList.event-iventInfo__container":"f1406","blocks-eventList.event-iventInfo__text":"f1407","blocks-eventList.event-iventInfo__menu":"f1408","blocks-eventList.event-iventInfoMenu":"f1409","blocks-eventList.event-iventInfoMenu__scrollContainer":"f1410","blocks-eventList.event-iventInfoMenu__main":"f1411","blocks-eventList.event-iventInfoMenu__statuses":"f1412","blocks-eventList.event-iventInfoMenu__list":"f1413","blocks-eventList.event-iventInfoMenu__item":"f1414","blocks-eventList.event-iventInfoMenu__subtitle":"f1415","blocks-eventList.event-iventInfoMenu__text":"f1416","blocks-eventList.event-iventInfoMenu__link":"f1417","blocks-eventList-resetList":"f1418","blocks-eventList-resetLink":"f1419","blocks-eventList-resetBtn":"f1420","blocks-eventList-btnAgree":"f1421","blocks-eventList-btnAgreeLight":"f1422","blocks-eventList-ivent__search":"f1423","blocks-eventList-wrapper":"f1424","blocks-eventList-textDarkMainBase":"f1425","blocks-eventList-dark500base":"f1426","blocks-eventList-textH2":"f1427","blocks-eventList-textLB":"f1428","blocks-eventList-textL":"f1429","blocks-eventList-textMB":"f1430","blocks-eventList-textSB":"f1431","blocks-eventList-textS":"f1432","blocks-eventList-textCaptionS":"f1433","blocks-eventList-ivent":"f1434","blocks-eventList-ivent__head":"f1435","blocks-eventList-iventHead":"f1436","blocks-eventList-iventHead__eventList":"f1437","blocks-eventList-ivent__tab":"f1438","blocks-eventList-ivent__title":"f1439","blocks-eventList-iventForumHead":"f1440","blocks-eventList-iventForumHead__btnImg":"f1441","blocks-eventList-iventForumHead__avatar":"f1442","blocks-eventList-iventForumHead__container":"f1443","blocks-eventList-editIventHead":"f1444","blocks-eventList-editIventHead__title":"f1445","blocks-eventList-ivent__main":"f1446","blocks-eventList.eventModal-eventModal__tag":"f1447","blocks-eventList.eventModal-resetBtn":"f1448","blocks-eventList.eventModal-btnAgree":"f1449","blocks-eventList.eventModal-btnAgreeMain":"f1450","blocks-eventList.eventModal-btnNeutral":"f1451","blocks-eventList.eventModal-btnCancel":"f1452","blocks-eventList.eventModal-ColorTextPr":"f1453","blocks-eventList.eventModal-textH3":"f1454","blocks-eventList.eventModal-textM":"f1455","blocks-eventList.eventModal-eventModal":"f1456","blocks-eventList.eventModal-eventModal__container":"f1457","blocks-eventList.eventModal-eventModal__menu":"f1458","blocks-eventList.eventModal-eventModal__close":"f1459","blocks-eventList.eventModal-eventModal__block":"f1460","blocks-eventList.eventModal-eventModal__head":"f1461","blocks-eventList.eventModal-eventModal__title":"f1462","blocks-eventList.eventModal-eventModal__scroll":"f1463","blocks-eventList.eventModal-eventModal__scrollContainer":"f1464","blocks-eventList.eventModal-eventModal__info":"f1465","blocks-eventList.eventModal-eventModalInfo":"f1466","blocks-eventList.eventModal-eventModalInfo__item":"f1467","blocks-eventList.eventModal-eventModalInfo__subtitle":"f1468","blocks-eventList.eventModal-eventModalInfo__text":"f1469","blocks-eventList.eventModal-eventModalInfo__container":"f1470","blocks-eventList.eventModal-eventModalInfo__content":"f1471","blocks-eventList.eventModal-wholeWidth":"f1472","blocks-eventList.eventModal.modalEditProgram-resetList":"f1473","blocks-eventList.eventModal.modalEditProgram-input__input":"f1474","blocks-eventList.eventModal.modalEditProgram-input__input:hover":"f1475","blocks-eventList.eventModal.modalEditProgram-input-invalid":"f1476","blocks-eventList.eventModal.modalEditProgram-resetBtn":"f1477","blocks-eventList.eventModal.modalEditProgram-btnAgree":"f1478","blocks-eventList.eventModal.modalEditProgram-btnAgreeMain":"f1479","blocks-eventList.eventModal.modalEditProgram-btnNeutral":"f1480","blocks-eventList.eventModal.modalEditProgram-btnCancel":"f1481","blocks-eventList.eventModal.modalEditProgram-colorTextPr":"f1482","blocks-eventList.eventModal.modalEditProgram-colorTextSec":"f1483","blocks-eventList.eventModal.modalEditProgram-textH3":"f1484","blocks-eventList.eventModal.modalEditProgram-textS":"f1485","blocks-eventList.eventModal.modalEditProgram-textM":"f1486","blocks-eventList.eventModal.modalEditProgram-blocks-eventList.eventModal.modalEditProgram":"f1487","blocks-eventList.eventModal.modalEditProgram-programEditModal__head":"f1488","blocks-eventList.eventModal.modalEditProgram-programEditModal__title":"f1489","blocks-eventList.eventModal.modalEditProgram-programEditModal__text":"f1490","blocks-eventList.eventModal.modalEditProgram-programEditModal__tab":"f1491","blocks-eventList.eventModal.modalEditProgram-programEditModal__close":"f1492","blocks-eventList.eventModal.modalEditProgram-programEditModal__scroll":"f1493","blocks-eventList.eventModal.modalEditProgram-programEditModal__scrollContainer":"f1494","blocks-eventList.eventModal.modalEditProgram-programEditModal__section":"f1495","blocks-eventList.eventModal.modalEditProgram-input":"f1496","blocks-eventList.eventModal.modalEditProgram-input__title":"f1497","blocks-eventList.eventModal.modalEditProgram-programEditModal__textarea":"f1498","blocks-eventList.eventModal.modalEditProgram-programEditModal__linkarea":"f1499","blocks-eventList.eventModal.modalEditProgram-eventModal__menu":"f1500","blocks-eventList.eventModal.modalEditProgram-eventModal__btnGroup":"f1501","blocks-eventList.eventModal.modalPartners-resetList":"f1502","blocks-eventList.eventModal.modalPartners-colorTextPr":"f1503","blocks-eventList.eventModal.modalPartners-colorTextSec":"f1504","blocks-eventList.eventModal.modalPartners-textH3":"f1505","blocks-eventList.eventModal.modalPartners-textS":"f1506","blocks-eventList.eventModal.modalPartners-textM":"f1507","blocks-eventList.eventModal.modalPartners-partnersModal":"f1508","blocks-eventList.eventModal.modalPartners-partnersModal__head":"f1509","blocks-eventList.eventModal.modalPartners-partnersModal__title":"f1510","blocks-eventList.eventModal.modalPartners-partnersModal__close":"f1511","blocks-eventList.eventModal.modalPartners-partnersModal__scroll":"f1512","blocks-eventList.eventModal.modalPartners-partnersModal__scrollContainer":"f1513","blocks-eventList.eventModal.modalPartners-partnersModal__section":"f1514","blocks-eventList.eventModal.modalPartners-partnersModal__subtitle":"f1515","blocks-eventList.eventModal.modalPartners-partnersModal__text":"f1516","blocks-eventList.eventModal.modalPartners-blocks-eventList.eventModal.madalPartners":"f1517","blocks-eventList.eventModal.modalPartners-loadContainer":"f1518","blocks-eventList.eventModal.modalPartnersList.item-resetList":"f1519","blocks-eventList.eventModal.modalPartnersList.item-ColorTextPr":"f1520","blocks-eventList.eventModal.modalPartnersList.item-ColorTextSec":"f1521","blocks-eventList.eventModal.modalPartnersList.item-textH3":"f1522","blocks-eventList.eventModal.modalPartnersList.item-textMB":"f1523","blocks-eventList.eventModal.modalPartnersList.item-textM":"f1524","blocks-eventList.eventModal.modalPartnersList.item-input48":"f1525","blocks-eventList.eventModal.modalPartnersList.item-input48:hover":"f1526","blocks-eventList.eventModal.modalPartnersList.item-partnersEditModalIput":"f1527","blocks-eventList.eventModal.modalPartnersList.item-partnersEditModalIput__input":"f1528","blocks-eventList.eventModal.modalPartnersList.item-partnersEditModalIput__img":"f1529","blocks-eventList.eventModal.modalPartnersList.item-partnersEditModal__list":"f1530","blocks-eventList.eventModal.modalPartnersList.item-block-eventList.eventModal.modalPartnersList.item":"f1531","blocks-eventList.eventModal.modalPartnersList.item-partnersBlock__btn":"f1532","blocks-eventList.eventModal.modalPartnersList.item-partnersBlock__container":"f1533","blocks-eventList.eventModal.modalPartnersList.item-partnersBlock__empty":"f1534","blocks-eventList.eventModal.modalPartnersList.item-partnersBlock__preview":"f1535","blocks-eventList.eventModal.modalPartnersList.item-partnersBlock__secondtext":"f1536","blocks-eventList.eventModal.modalPartnersList-resetList":"f1537","blocks-eventList.eventModal.modalPartnersList-ColorTextPr":"f1538","blocks-eventList.eventModal.modalPartnersList-ColorTextSec":"f1539","blocks-eventList.eventModal.modalPartnersList-textH3":"f1540","blocks-eventList.eventModal.modalPartnersList-textMB":"f1541","blocks-eventList.eventModal.modalPartnersList-textM":"f1542","blocks-eventList.eventModal.modalPartnersList-blocks-eventList.eventModal.modalPartnersList":"f1543","blocks-eventList.eventModal.modalPartnersList-partnersEditModal__head":"f1544","blocks-eventList.eventModal.modalPartnersList-partnersEditModal__title":"f1545","blocks-eventList.eventModal.modalPartnersList-partnersEditModal__close":"f1546","blocks-eventList.eventModal.modalPartnersList-partnersEditModal__scroll":"f1547","blocks-eventList.eventModal.modalPartnersList-partnersEditModal__scrollContainer":"f1548","blocks-eventList.eventModal.modalPartnersList-input48":"f1549","blocks-eventList.eventModal.modalPartnersList-input48:hover":"f1550","blocks-eventList.eventModal.modalPartnersList-partnersEditModalIput":"f1551","blocks-eventList.eventModal.modalPartnersList-partnersEditModalIput__input":"f1552","blocks-eventList.eventModal.modalPartnersList-partnersEditModalIput__img":"f1553","blocks-eventList.eventModal.modalPartnersList-partnersEditModal__list":"f1554","blocks-eventList.eventModal.modalPartnersList-partnersBlock":"f1555","blocks-eventList.eventModal.modalPartnersList-partnersBlock__btn":"f1556","blocks-eventList.eventModal.modalPartnersList-partnersBlock__container":"f1557","blocks-eventList.eventModal.modalPartnersList-partnersBlock__empty":"f1558","blocks-eventList.eventModal.modalPartnersList-partnersBlock__preview":"f1559","blocks-eventList.eventModal.modalPartnersList-partnersBlock__secondtext":"f1560","blocks-eventList.eventModal.modalProgram-programModal__tag":"f1561","blocks-eventList.eventModal.modalProgram-resetBtn":"f1562","blocks-eventList.eventModal.modalProgram-btnAgree":"f1563","blocks-eventList.eventModal.modalProgram-ColorTextPr":"f1564","blocks-eventList.eventModal.modalProgram-textH3":"f1565","blocks-eventList.eventModal.modalProgram-textM":"f1566","blocks-eventList.eventModal.modalProgram-programModal":"f1567","blocks-eventList.eventModal.modalProgram-programModal__head":"f1568","blocks-eventList.eventModal.modalProgram-programModal__close":"f1569","blocks-eventList.eventModal.modalProgram-programModal__title":"f1570","blocks-eventList.eventModal.modalProgram-programModal__scroll":"f1571","blocks-eventList.eventModal.modalProgram-programModal__scrollContainer":"f1572","blocks-eventList.eventModal.modalProgram-programModal__info":"f1573","blocks-eventList.eventModal.modalProgram-programModalInfo":"f1574","blocks-eventList.eventModal.modalProgram-programModalInfo__item":"f1575","blocks-eventList.eventModal.modalProgram-programModalInfo__subtitle":"f1576","blocks-eventList.eventModal.modalProgram-programModalInfo__text":"f1577","blocks-eventList.eventModal.modalProgram-programModalInfo__container":"f1578","blocks-eventList.eventModal.modalProgram-programModalInfo__separator":"f1579","blocks-eventList.eventModal.modalProgram-programModalInfo__content":"f1580","blocks-eventList.eventModal.modalProgram-programModal__btnContainer":"f1581","blocks-eventList.eventModal.modalProgram-wholeWidth":"f1582","blocks-eventList.eventModal.modalServices-resetBtn":"f1583","blocks-eventList.eventModal.modalServices-servicesModal__name":"f1584","blocks-eventList.eventModal.modalServices-servicesModal__name:hover":"f1585","blocks-eventList.eventModal.modalServices-ColorTextPr":"f1586","blocks-eventList.eventModal.modalServices-ColorTextSec":"f1587","blocks-eventList.eventModal.modalServices-textH3":"f1588","blocks-eventList.eventModal.modalServices-textMB":"f1589","blocks-eventList.eventModal.modalServices-textM":"f1590","blocks-eventList.eventModal.modalServices-servicesModal":"f1591","blocks-eventList.eventModal.modalServices-servicesModal__head":"f1592","blocks-eventList.eventModal.modalServices-servicesModal__btnBack":"f1593","blocks-eventList.eventModal.modalServices-servicesModal__title":"f1594","blocks-eventList.eventModal.modalServices-servicesModal__imgBack":"f1595","blocks-eventList.eventModal.modalServices-servicesModal__close":"f1596","blocks-eventList.eventModal.modalServices-servicesModal__subtitle":"f1597","blocks-eventList.eventModal.modalServices-servicesModal__scroll":"f1598","blocks-eventList.eventModal.modalServices-servicesModal__scrollContainer":"f1599","blocks-eventList.eventModal.modalServices-servicesModal__section":"f1600","blocks-eventList.eventModal.modalServices-servicesModal__subhead":"f1601","blocks-eventList.eventModal.modalServices-servicesModalSection__title":"f1602","blocks-eventList.eventModal.modalServices-servicesModal__container":"f1603","blocks-eventList.eventModal.modalServices-placeholderColor":"f1604","blocks-eventList.eventModal.modalServices-servicesModalBlock":"f1605","blocks-eventList.eventModal.modalServices-servicesModalBlock__subtitle":"f1606","blocks-eventList.eventModal.modalServices-servicesModalBlock__input":"f1607","blocks-eventList.eventModal.modalServices-bottomSpace8":"f1608","blocks-eventList.eventModal.modalTemplate-resetList":"f1609","blocks-eventList.eventModal.modalTemplate-ColorTextPr":"f1610","blocks-eventList.eventModal.modalTemplate-ColorTextSec":"f1611","blocks-eventList.eventModal.modalTemplate-textH3":"f1612","blocks-eventList.eventModal.modalTemplate-textMB":"f1613","blocks-eventList.eventModal.modalTemplate-textM":"f1614","blocks-eventList.eventModal.modalTemplate-servicesModalT":"f1615","blocks-eventList.eventModal.modalTemplate-servicesModalT__head":"f1616","blocks-eventList.eventModal.modalTemplate-servicesModalT__title":"f1617","blocks-eventList.eventModal.modalTemplate-servicesModalT__close":"f1618","blocks-eventList.eventModal.modalTemplate-servicesModalT__scroll":"f1619","blocks-eventList.eventModal.modalTemplate-servicesModalT__scrollContainer":"f1620","blocks-eventList.eventModal.modalTemplate-input48":"f1621","blocks-eventList.eventModal.modalTemplate-input48:hover":"f1622","blocks-eventList.eventModal.modalTemplate-servicesModalTIput":"f1623","blocks-eventList.eventModal.modalTemplate-servicesModalTIput__input":"f1624","blocks-eventList.eventModal.modalTemplate-servicesModalTIput__img":"f1625","blocks-eventList.eventModal.modalTemplate-servicesModalT__list":"f1626","blocks-eventList.eventModal.modalTemplate-resetBtn":"f1627","blocks-eventList.eventModal.modalTemplate-servicesBlock":"f1628","blocks-eventList.eventModal.modalTemplate-servicesBlock__btn":"f1629","blocks-eventList.eventModal.modalTemplate-servicesBlock__img01":"f1630","blocks-eventList.eventModal.modalTemplate-servicesBlock__favorite":"f1631","blocks-eventList.eventModal.modalTemplate-servicesBlock__img02":"f1632","blocks-eventList.eventModal.modalTemplate-opacityVisible":"f1633","blocks-eventList.eventModalEdit-eventModal__tag":"f1634","blocks-eventList.eventModalEdit-resetBtn":"f1635","blocks-eventList.eventModalEdit-btnAgree":"f1636","blocks-eventList.eventModalEdit-btnAgreeMain":"f1637","blocks-eventList.eventModalEdit-btnNeutral":"f1638","blocks-eventList.eventModalEdit-btnCancel":"f1639","blocks-eventList.eventModalEdit-ColorTextPr":"f1640","blocks-eventList.eventModalEdit-textH3":"f1641","blocks-eventList.eventModalEdit-textM":"f1642","blocks-eventList.eventModalEdit-eventModal":"f1643","blocks-eventList.eventModalEdit-eventModal__container":"f1644","blocks-eventList.eventModalEdit-eventModal__close":"f1645","blocks-eventList.eventModalEdit-eventModal__block":"f1646","blocks-eventList.eventModalEdit-eventModal__head":"f1647","blocks-eventList.eventModalEdit-eventModal__title":"f1648","blocks-eventList.eventModalEdit-eventModal__scroll":"f1649","blocks-eventList.eventModalEdit-eventModal__scrollContainer":"f1650","blocks-eventList.eventModalEdit-eventModal__info":"f1651","blocks-eventList.eventModalEdit-eventModalInfo":"f1652","blocks-eventList.eventModalEdit-eventModalInfo__item":"f1653","blocks-eventList.eventModalEdit-eventModalInfo__subtitle":"f1654","blocks-eventList.eventModalEdit-eventModalInfo__text":"f1655","blocks-eventList.eventModalEdit-eventModalInfo__container":"f1656","blocks-eventList.eventModalEdit-eventModalInfo__content":"f1657","blocks-eventList.eventModalEdit-eventModal__menu":"f1658","blocks-eventList.eventModalEdit-eventModal__btnGroup":"f1659","blocks-eventList.eventModalEdit-wholeWidth":"f1660","blocks-eventList.eventModalEdit.modalEditPartners-resetList":"f1661","blocks-eventList.eventModalEdit.modalEditPartners-ColorTextPr":"f1662","blocks-eventList.eventModalEdit.modalEditPartners-ColorTextSec":"f1663","blocks-eventList.eventModalEdit.modalEditPartners-textH3":"f1664","blocks-eventList.eventModalEdit.modalEditPartners-textMB":"f1665","blocks-eventList.eventModalEdit.modalEditPartners-textM":"f1666","blocks-eventList.eventModalEdit.modalEditPartners-partnersEditModal":"f1667","blocks-eventList.eventModalEdit.modalEditPartners-partnersEditModal__head":"f1668","blocks-eventList.eventModalEdit.modalEditPartners-partnersEditModal__title":"f1669","blocks-eventList.eventModalEdit.modalEditPartners-partnersEditModal__close":"f1670","blocks-eventList.eventModalEdit.modalEditPartners-partnersEditModal__scroll":"f1671","blocks-eventList.eventModalEdit.modalEditPartners-partnersEditModal__scrollContainer":"f1672","blocks-eventList.eventModalEdit.modalEditPartners-input48":"f1673","blocks-eventList.eventModalEdit.modalEditPartners-input48:hover":"f1674","blocks-eventList.eventModalEdit.modalEditPartners-partnersEditModalIput":"f1675","blocks-eventList.eventModalEdit.modalEditPartners-partnersEditModalIput__input":"f1676","blocks-eventList.eventModalEdit.modalEditPartners-partnersEditModalIput__img":"f1677","blocks-eventList.eventModalEdit.modalEditPartners-partnersEditModal__list":"f1678","blocks-eventList.eventModalEdit.modalEditPartners-partnersBlock":"f1679","blocks-eventList.eventModalEdit.modalEditPartners-partnersBlock__btn":"f1680","blocks-eventList.eventModalEdit.modalEditPartners-partnersBlock__container":"f1681","blocks-eventList.eventModalEdit.modalEditPartners-partnersBlock__empty":"f1682","blocks-eventList.eventModalEdit.modalEditPartners-partnersBlock__preview":"f1683","blocks-eventList.eventModalEdit.modalEditPartners-partnersBlock__secondtext":"f1684","blocks-eventList.eventModalEdit.modalEditProgram-resetList":"f1685","blocks-eventList.eventModalEdit.modalEditProgram-input__input":"f1686","blocks-eventList.eventModalEdit.modalEditProgram-input__input:hover":"f1687","blocks-eventList.eventModalEdit.modalEditProgram-colorTextPr":"f1688","blocks-eventList.eventModalEdit.modalEditProgram-colorTextSec":"f1689","blocks-eventList.eventModalEdit.modalEditProgram-textH3":"f1690","blocks-eventList.eventModalEdit.modalEditProgram-textS":"f1691","blocks-eventList.eventModalEdit.modalEditProgram-textM":"f1692","blocks-eventList.eventModalEdit.modalEditProgram-programEditModal":"f1693","blocks-eventList.eventModalEdit.modalEditProgram-programEditModal__head":"f1694","blocks-eventList.eventModalEdit.modalEditProgram-programEditModal__title":"f1695","blocks-eventList.eventModalEdit.modalEditProgram-programEditModal__text":"f1696","blocks-eventList.eventModalEdit.modalEditProgram-programEditModal__tab":"f1697","blocks-eventList.eventModalEdit.modalEditProgram-programEditModal__close":"f1698","blocks-eventList.eventModalEdit.modalEditProgram-programEditModal__scroll":"f1699","blocks-eventList.eventModalEdit.modalEditProgram-programEditModal__scrollContainer":"f1700","blocks-eventList.eventModalEdit.modalEditProgram-programEditModal__section":"f1701","blocks-eventList.eventModalEdit.modalEditProgram-input":"f1702","blocks-eventList.eventModalEdit.modalEditProgram-input__title":"f1703","blocks-eventList.eventModalEdit.modalEditProgram-programEditModal__textarea":"f1704","blocks-eventList.eventModalEdit.modalEditProgram-programEditModal__linkarea":"f1705","blocks-eventList.eventModalEdit.modalPartners-resetList":"f1706","blocks-eventList.eventModalEdit.modalPartners-colorTextPr":"f1707","blocks-eventList.eventModalEdit.modalPartners-colorTextSec":"f1708","blocks-eventList.eventModalEdit.modalPartners-textH3":"f1709","blocks-eventList.eventModalEdit.modalPartners-textS":"f1710","blocks-eventList.eventModalEdit.modalPartners-textM":"f1711","blocks-eventList.eventModalEdit.modalPartners-partnersModal":"f1712","blocks-eventList.eventModalEdit.modalPartners-partnersModal__head":"f1713","blocks-eventList.eventModalEdit.modalPartners-partnersModal__title":"f1714","blocks-eventList.eventModalEdit.modalPartners-partnersModal__close":"f1715","blocks-eventList.eventModalEdit.modalPartners-partnersModal__scroll":"f1716","blocks-eventList.eventModalEdit.modalPartners-partnersModal__scrollContainer":"f1717","blocks-eventList.eventModalEdit.modalPartners-partnersModal__section":"f1718","blocks-eventList.eventModalEdit.modalPartners-partnersModal__subtitle":"f1719","blocks-eventList.eventModalEdit.modalPartners-partnersModal__text":"f1720","blocks-eventList.eventModalEdit.modalProgram-programModal__tag":"f1721","blocks-eventList.eventModalEdit.modalProgram-resetBtn":"f1722","blocks-eventList.eventModalEdit.modalProgram-btnAgree":"f1723","blocks-eventList.eventModalEdit.modalProgram-ColorTextPr":"f1724","blocks-eventList.eventModalEdit.modalProgram-textH3":"f1725","blocks-eventList.eventModalEdit.modalProgram-textM":"f1726","blocks-eventList.eventModalEdit.modalProgram-programModal":"f1727","blocks-eventList.eventModalEdit.modalProgram-programModal__head":"f1728","blocks-eventList.eventModalEdit.modalProgram-programModal__close":"f1729","blocks-eventList.eventModalEdit.modalProgram-programModal__title":"f1730","blocks-eventList.eventModalEdit.modalProgram-programModal__scroll":"f1731","blocks-eventList.eventModalEdit.modalProgram-programModal__scrollContainer":"f1732","blocks-eventList.eventModalEdit.modalProgram-programModal__info":"f1733","blocks-eventList.eventModalEdit.modalProgram-programModalInfo":"f1734","blocks-eventList.eventModalEdit.modalProgram-programModalInfo__item":"f1735","blocks-eventList.eventModalEdit.modalProgram-programModalInfo__subtitle":"f1736","blocks-eventList.eventModalEdit.modalProgram-programModalInfo__text":"f1737","blocks-eventList.eventModalEdit.modalProgram-programModalInfo__container":"f1738","blocks-eventList.eventModalEdit.modalProgram-programModalInfo__content":"f1739","blocks-eventList.eventModalEdit.modalProgram-programModal__btnContainer":"f1740","blocks-eventList.eventModalEdit.modalProgram-wholeWidth":"f1741","blocks-eventList.eventModalEdit.modalSerTemplate-resetList":"f1742","blocks-eventList.eventModalEdit.modalSerTemplate-ColorTextPr":"f1743","blocks-eventList.eventModalEdit.modalSerTemplate-ColorTextSec":"f1744","blocks-eventList.eventModalEdit.modalSerTemplate-textH3":"f1745","blocks-eventList.eventModalEdit.modalSerTemplate-textMB":"f1746","blocks-eventList.eventModalEdit.modalSerTemplate-textM":"f1747","blocks-eventList.eventModalEdit.modalSerTemplate-servicesModalT":"f1748","blocks-eventList.eventModalEdit.modalSerTemplate-servicesModalT__head":"f1749","blocks-eventList.eventModalEdit.modalSerTemplate-servicesModalT__title":"f1750","blocks-eventList.eventModalEdit.modalSerTemplate-servicesModalT__close":"f1751","blocks-eventList.eventModalEdit.modalSerTemplate-servicesModalT__scroll":"f1752","blocks-eventList.eventModalEdit.modalSerTemplate-servicesModalT__scrollContainer":"f1753","blocks-eventList.eventModalEdit.modalSerTemplate-input48":"f1754","blocks-eventList.eventModalEdit.modalSerTemplate-input48:hover":"f1755","blocks-eventList.eventModalEdit.modalSerTemplate-servicesModalTIput":"f1756","blocks-eventList.eventModalEdit.modalSerTemplate-servicesModalTIput__input":"f1757","blocks-eventList.eventModalEdit.modalSerTemplate-servicesModalTIput__img":"f1758","blocks-eventList.eventModalEdit.modalSerTemplate-servicesModalT__list":"f1759","blocks-eventList.eventModalEdit.modalSerTemplate-resetBtn":"f1760","blocks-eventList.eventModalEdit.modalSerTemplate-servicesBlock":"f1761","blocks-eventList.eventModalEdit.modalSerTemplate-servicesBlock__btn":"f1762","blocks-eventList.eventModalEdit.modalSerTemplate-servicesBlock__img01":"f1763","blocks-eventList.eventModalEdit.modalSerTemplate-servicesBlock__favorite":"f1764","blocks-eventList.eventModalEdit.modalSerTemplate-servicesBlock__img02":"f1765","blocks-eventList.eventModalEdit.modalSerTemplate-opacityVisible":"f1766","blocks-eventList.eventModalEdit.modalServices-resetBtn":"f1767","blocks-eventList.eventModalEdit.modalServices-servicesModal__name":"f1768","blocks-eventList.eventModalEdit.modalServices-servicesModal__name:hover":"f1769","blocks-eventList.eventModalEdit.modalServices-ColorTextPr":"f1770","blocks-eventList.eventModalEdit.modalServices-ColorTextSec":"f1771","blocks-eventList.eventModalEdit.modalServices-textH3":"f1772","blocks-eventList.eventModalEdit.modalServices-textMB":"f1773","blocks-eventList.eventModalEdit.modalServices-textM":"f1774","blocks-eventList.eventModalEdit.modalServices-servicesModal":"f1775","blocks-eventList.eventModalEdit.modalServices-servicesModal__head":"f1776","blocks-eventList.eventModalEdit.modalServices-servicesModal__btnBack":"f1777","blocks-eventList.eventModalEdit.modalServices-servicesModal__title":"f1778","blocks-eventList.eventModalEdit.modalServices-servicesModal__imgBack":"f1779","blocks-eventList.eventModalEdit.modalServices-servicesModal__close":"f1780","blocks-eventList.eventModalEdit.modalServices-servicesModal__subtitle":"f1781","blocks-eventList.eventModalEdit.modalServices-servicesModal__scroll":"f1782","blocks-eventList.eventModalEdit.modalServices-servicesModal__scrollContainer":"f1783","blocks-eventList.eventModalEdit.modalServices-servicesModal__section":"f1784","blocks-eventList.eventModalEdit.modalServices-servicesModal__subhead":"f1785","blocks-eventList.eventModalEdit.modalServices-servicesModalSection__title":"f1786","blocks-eventList.eventModalEdit.modalServices-servicesModal__container":"f1787","blocks-eventList.eventModalEdit.modalServices-placeholderColor":"f1788","blocks-eventList.eventModalEdit.modalServices-servicesModalBlock":"f1789","blocks-eventList.eventModalEdit.modalServices-servicesModalBlock__subtitle":"f1790","blocks-eventList.eventModalEdit.modalServices-servicesModalBlock__input":"f1791","blocks-eventList.eventModalEdit.modalServices-bottomSpace8":"f1792","blocks-eventList.partners-resetList":"f1793","blocks-eventList.partners-resetLink":"f1794","blocks-eventList.partners-resetBtn":"f1795","blocks-eventList.partners-btn-agree":"f1796","blocks-eventList.partners-btn-agree-small":"f1797","blocks-eventList.partners-btn-cencel":"f1798","blocks-eventList.partners-textColorPr":"f1799","blocks-eventList.partners-dark500base":"f1800","blocks-eventList.partners-dark400base":"f1801","blocks-eventList.partners-accentMainBase":"f1802","blocks-eventList.partners-textH2":"f1803","blocks-eventList.partners-textH3":"f1804","blocks-eventList.partners-textH4":"f1805","blocks-eventList.partners-textMB":"f1806","blocks-eventList.partners-textLB":"f1807","blocks-eventList.partners-textM":"f1808","blocks-eventList.partners-textSB":"f1809","blocks-eventList.partners-textS":"f1810","blocks-eventList.partners-textCaptionS":"f1811","blocks-eventList.partners-partners":"f1812","blocks-eventList.partners-partners__head":"f1813","blocks-eventList.partners-partners__litle":"f1814","blocks-eventList.partners-partners__scroll":"f1815","blocks-eventList.partners-partners__scroll-container":"f1816","blocks-eventList.partners-partners__section":"f1817","blocks-eventList.partners-partners__subtytle":"f1818","blocks-eventList.partners-partners__empty":"f1819","blocks-eventList.partners-partners__list":"f1820","blocks-eventList.partners-partnersBlock":"f1821","blocks-eventList.partners-partnersBlock__btn":"f1822","blocks-eventList.partners-partnersBlock__container":"f1823","blocks-eventList.partners-partnersBlock__empty":"f1824","blocks-eventList.partners-partnersBlock__preview":"f1825","blocks-eventList.partners-partnersBlock__secondtext":"f1826","blocks-eventList.partners-emptyPage":"f1827","blocks-eventList.partners-emptyPage__text":"f1828","blocks-eventList.program.Delete_cultural-resetList":"f1829","blocks-eventList.program.Delete_cultural-resetLink":"f1830","blocks-eventList.program.Delete_cultural-resetBtn":"f1831","blocks-eventList.program.Delete_cultural-btn-agree":"f1832","blocks-eventList.program.Delete_cultural-btn-agree-small":"f1833","blocks-eventList.program.Delete_cultural-btn-cencel":"f1834","blocks-eventList.program.Delete_cultural-textDarkMainBase":"f1835","blocks-eventList.program.Delete_cultural-dark500base":"f1836","blocks-eventList.program.Delete_cultural-accentMainBase":"f1837","blocks-eventList.program.Delete_cultural-textLB":"f1838","blocks-eventList.program.Delete_cultural-textM":"f1839","blocks-eventList.program.Delete_cultural-textSB":"f1840","blocks-eventList.program.Delete_cultural-textS":"f1841","blocks-eventList.program.Delete_cultural-blocks-eventList.program.cultural":"f1842","blocks-eventList.program.Delete_cultural-ivent":"f1843","blocks-eventList.program.Delete_cultural-ivent__scroll":"f1844","blocks-eventList.program.Delete_cultural-ivent__scroll-container":"f1845","blocks-eventList.program.Delete_cultural-ivent__section":"f1846","blocks-eventList.program.Delete_cultural-ivent__empty":"f1847","blocks-eventList.program.Delete_cultural-ivent__subtitle":"f1848","blocks-eventList.program.Delete_cultural-ivent__list":"f1849","blocks-eventList.program.Delete_cultural-schedule__item":"f1850","blocks-eventList.program.Delete_cultural-schedule__btn":"f1851","blocks-eventList.program.Delete_cultural-schedule__container":"f1852","blocks-eventList.program.Delete_cultural-schedule__interval":"f1853","blocks-eventList.program.Delete_cultural-schedule__img-clock":"f1854","blocks-eventList.program.Delete_cultural-schedule__time":"f1855","blocks-eventList.program.Delete_cultural-schedule__text":"f1856","blocks-eventList.program.Delete_cultural-schedule__location":"f1857","blocks-eventList.program.Delete_cultural-schedule__img-map":"f1858","blocks-eventList.program.Delete_cultural-schedule__location-text":"f1859","blocks-eventList.program.Delete_cultural-schedule-active":"f1860","blocks-eventList.program.Delete_cultural-active-white":"f1861","blocks-eventList.program.Delete_cultural-emptyPage":"f1862","blocks-eventList.program.Delete_cultural-emptyPage__text":"f1863","blocks-eventList.program.Delete_cultural-programNav":"f1864","blocks-eventList.program.Delete_cultural-programNav__title":"f1865","blocks-eventList.program.Delete_cultural-programNav__container":"f1866","blocks-eventList.program.Delete_cultural-programNav__list":"f1867","blocks-eventList.program.Delete_cultural-programNav__item":"f1868","blocks-eventList.program.Delete_cultural-programNav__text":"f1869","blocks-eventList.program.Delete_programContent-resetList":"f1870","blocks-eventList.program.Delete_programContent-resetLink":"f1871","blocks-eventList.program.Delete_programContent-resetBtn":"f1872","blocks-eventList.program.Delete_programContent-btn-agree":"f1873","blocks-eventList.program.Delete_programContent-btn-agree-small":"f1874","blocks-eventList.program.Delete_programContent-btn-cencel":"f1875","blocks-eventList.program.Delete_programContent-textDarkMainBase":"f1876","blocks-eventList.program.Delete_programContent-dark500base":"f1877","blocks-eventList.program.Delete_programContent-accentMainBase":"f1878","blocks-eventList.program.Delete_programContent-textLB":"f1879","blocks-eventList.program.Delete_programContent-textM":"f1880","blocks-eventList.program.Delete_programContent-textSB":"f1881","blocks-eventList.program.Delete_programContent-textS":"f1882","blocks-eventList.program.Delete_programContent-blocks-eventList.program.programContent":"f1883","blocks-eventList.program.Delete_programContent-ivent":"f1884","blocks-eventList.program.Delete_programContent-ivent__scroll":"f1885","blocks-eventList.program.Delete_programContent-ivent__scroll-container":"f1886","blocks-eventList.program.Delete_programContent-ivent__section":"f1887","blocks-eventList.program.Delete_programContent-ivent__empty":"f1888","blocks-eventList.program.Delete_programContent-ivent__subtitle":"f1889","blocks-eventList.program.Delete_programContent-ivent__list":"f1890","blocks-eventList.program.Delete_programContent-schedule__item":"f1891","blocks-eventList.program.Delete_programContent-schedule__btn":"f1892","blocks-eventList.program.Delete_programContent-schedule__container":"f1893","blocks-eventList.program.Delete_programContent-schedule__interval":"f1894","blocks-eventList.program.Delete_programContent-schedule__img-clock":"f1895","blocks-eventList.program.Delete_programContent-schedule__time":"f1896","blocks-eventList.program.Delete_programContent-schedule__text":"f1897","blocks-eventList.program.Delete_programContent-schedule__location":"f1898","blocks-eventList.program.Delete_programContent-schedule__img-map":"f1899","blocks-eventList.program.Delete_programContent-schedule__location-text":"f1900","blocks-eventList.program.Delete_programContent-schedule-active":"f1901","blocks-eventList.program.Delete_programContent-active-white":"f1902","blocks-eventList.program.Delete_programContent-emptyPage":"f1903","blocks-eventList.program.Delete_programContent-emptyPage__text":"f1904","blocks-eventList.program.Delete_programContent-programNav":"f1905","blocks-eventList.program.Delete_programContent-programNav__title":"f1906","blocks-eventList.program.Delete_programContent-programNav__container":"f1907","blocks-eventList.program.Delete_programContent-programNav__list":"f1908","blocks-eventList.program.Delete_programContent-programNav__item":"f1909","blocks-eventList.program.Delete_programContent-programNav__text":"f1910","blocks-eventList.program-resetList":"f1911","blocks-eventList.program-resetLink":"f1912","blocks-eventList.program-resetBtn":"f1913","blocks-eventList.program-btnAgree":"f1914","blocks-eventList.program-btnCencel":"f1915","blocks-eventList.program-btnNeutral":"f1916","blocks-eventList.program-btnLight":"f1917","blocks-eventList.program-btnLightBig":"f1918","blocks-eventList.program-ivent":"f1919","blocks-eventList.program-ivent__head":"f1920","blocks-eventList.program-iventHead":"f1921","blocks-eventList.program-iventHead__container":"f1922","blocks-eventList.program-iventHead__imgContainer":"f1923","blocks-eventList.program-iventHead__title":"f1924","blocks-eventList.program-ivent__main":"f1925","blocks-eventList.program-btnTab":"f1926","blocks-eventList.program-iventTab__btn":"f1927","blocks-eventList.program-btnTabActive":"f1928","blocks-eventList.program-iventTab":"f1929","blocks-eventList.program-iventTab__container":"f1930","blocks-eventList.program-iventTab__tab":"f1931","blocks-eventList.program-iventTab__list":"f1932","blocks-eventList.program-iventTab__text":"f1933","blocks-eventList.program-iventTab__btnsContainer":"f1934","blocks-eventList.program-iventNav":"f1935","blocks-eventList.program-iventNav__title":"f1936","blocks-eventList.program-iventNav__nav":"f1937","blocks-eventList.program-iventNav__list":"f1938","blocks-eventList.program-iventNav__btn":"f1939","blocks-eventList.program-textDarkMainBase":"f1940","blocks-eventList.program-dark500base":"f1941","blocks-eventList.program-accentMainBase":"f1942","blocks-eventList.program-textLB":"f1943","blocks-eventList.program-textM":"f1944","blocks-eventList.program-textSB":"f1945","blocks-eventList.program-textS":"f1946","blocks-eventList.program-blocks-eventList.program.cultural":"f1947","blocks-eventList.program-ivent_program":"f1948","blocks-eventList.program-ivent__scroll":"f1949","blocks-eventList.program-ivent__scroll-container":"f1950","blocks-eventList.program-ivent__section":"f1951","blocks-eventList.program-ivent__empty":"f1952","blocks-eventList.program-ivent__subtitle":"f1953","blocks-eventList.program-ivent__list":"f1954","blocks-eventList.program-schedule__item":"f1955","blocks-eventList.program-schedule__btn":"f1956","blocks-eventList.program-schedule__container":"f1957","blocks-eventList.program-schedule__interval":"f1958","blocks-eventList.program-schedule__img-clock":"f1959","blocks-eventList.program-schedule__time":"f1960","blocks-eventList.program-schedule__text":"f1961","blocks-eventList.program-schedule__location":"f1962","blocks-eventList.program-schedule__img-map":"f1963","blocks-eventList.program-schedule__location-text":"f1964","blocks-eventList.program-schedule-active":"f1965","blocks-eventList.program-active-white":"f1966","blocks-eventList.program-emptyPage":"f1967","blocks-eventList.program-emptyPage__text":"f1968","blocks-eventList.program-programNav":"f1969","blocks-eventList.program-programNav__title":"f1970","blocks-eventList.program-programNav__container":"f1971","blocks-eventList.program-programNav__list":"f1972","blocks-eventList.program-programNav__item":"f1973","blocks-eventList.program-programNav__text":"f1974","blocks-eventList.services-resetList":"f1975","blocks-eventList.services-resetLink":"f1976","blocks-eventList.services-resetBtn":"f1977","blocks-eventList.services-btn-agree":"f1978","blocks-eventList.services-btn-agree-small":"f1979","blocks-eventList.services-btn-cencel":"f1980","blocks-eventList.services-textColorPr":"f1981","blocks-eventList.services-dark500base":"f1982","blocks-eventList.services-dark400base":"f1983","blocks-eventList.services-accentMainBase":"f1984","blocks-eventList.services-textH2":"f1985","blocks-eventList.services-textH3":"f1986","blocks-eventList.services-textH4":"f1987","blocks-eventList.services-textMB":"f1988","blocks-eventList.services-textLB":"f1989","blocks-eventList.services-textM":"f1990","blocks-eventList.services-textSB":"f1991","blocks-eventList.services-textS":"f1992","blocks-eventList.services-textCaptionS":"f1993","blocks-eventList.services-services":"f1994","blocks-eventList.services-services__head":"f1995","blocks-eventList.services-services__litle":"f1996","blocks-eventList.services-services__scroll":"f1997","blocks-eventList.services-services__scroll-container":"f1998","blocks-eventList.services-services__section":"f1999","blocks-eventList.services-services__empty":"f2000","blocks-eventList.services-services__list":"f2001","blocks-eventList.services-serviceBlock":"f2002","blocks-eventList.services-serviceBlock__btn":"f2003","blocks-eventList.services-serviceBlock__container":"f2004","blocks-eventList.services-serviceBlock__empty":"f2005","blocks-eventList.services-serviceBlock__preview":"f2006","blocks-eventList.services-serviceBlock__title":"f2007","blocks-eventList.services-serviceBlock__text":"f2008","blocks-eventList.services-serviceBlock__secondtext":"f2009","blocks-eventList.services-partners__emptyPage":"f2010","blocks-form.autocompleteInput-input__input":"f2011","blocks-form.autocompleteInput-input__input:hover":"f2012","blocks-form.autocompleteInput-resetBtn":"f2013","blocks-form.autocompleteInput-input-invalid":"f2014","blocks-form.autocompleteInput-blocks-form.autocompleteInput":"f2015","blocks-form.autocompleteInput-container":"f2016","blocks-form.autocompleteInput-selected":"f2017","blocks-form.autocompleteInput-inputLongSmall":"f2018","blocks-form.autocompleteInput-inputResult":"f2019","blocks-form.autocompleteInput-container__loader":"f2020","blocks-form.autocompleteInput-selected__btnClear":"f2021","blocks-form.autocompleteInput-wrapper":"f2022","blocks-form.autocompleteInput-wrapper__container":"f2023","blocks-form.autocompleteInput-item":"f2024","blocks-ImageCropper-resetBtn":"f2025","blocks-ImageCropper-resetList":"f2026","blocks-ImageCropper-btn":"f2027","blocks-ImageCropper-btnReturn":"f2028","blocks-ImageCropper-save":"f2029","blocks-ImageCropper-btnNotSave":"f2030","blocks-ImageCropper-layout":"f2031","blocks-ImageCropper-overlay":"f2032","blocks-ImageCropper-container":"f2033","blocks-ImageCropper-scrollContaner":"f2034","blocks-ImageCropper-header":"f2035","blocks-ImageCropper-title":"f2036","blocks-ImageCropper-cancel":"f2037","blocks-ImageCropper-cancel__img":"f2038","blocks-ImageCropper-text":"f2039","blocks-ImageCropper-imgContainer":"f2040","blocks-ImageCropper-img":"f2041","blocks-ImageCropper-imgCroppermain":"f2042","blocks-ImageCropper-actions":"f2043","blocks-ImageCropper-imgCropperSettings":"f2044","blocks-ImageCropper-imgCropperColumn":"f2045","blocks-ImageCropper-subtitle":"f2046","blocks-ImageCropper-textColordark_main_base":"f2047","blocks-ImageCropper-subactions2":"f2048","blocks-ImageCropper-btnContainer":"f2049","blocks-ImageCropper-list":"f2050","blocks-ImageCropper-item":"f2051","blocks-inputUnified.inputAnswer-resetList":"f2052","blocks-inputUnified.inputAnswer-inputAnswer":"f2053","blocks-inputUnified.inputAnswer-inputAnswer__head":"f2054","blocks-inputUnified.inputAnswer-inputAnswer__title":"f2055","blocks-inputUnified.inputAnswer-inputAnswer__imgAnswer":"f2056","blocks-inputUnified.inputAnswer-inputAnswer__text":"f2057","blocks-inputUnified.inputAnswer-inputAnswer__addFile":"f2058","blocks-inputUnified.inputAnswer-inputAnswer__icon":"f2059","blocks-inputUnified.inputAnswer-inputAnswer__addText":"f2060","blocks-inputUnified.inputFile-resetList":"f2061","blocks-inputUnified.inputFile-resetBtn":"f2062","blocks-inputUnified.inputFile-inputFile":"f2063","blocks-inputUnified.inputFile-inputFile__item":"f2064","blocks-inputUnified.inputFile-inputFile__imgContainer":"f2065","blocks-inputUnified.inputFile-inputFile__img":"f2066","blocks-inputUnified.inputFile-inputFile__head":"f2067","blocks-inputUnified.inputFile-inputFile__type":"f2068","blocks-inputUnified.inputFile-inputFile__close":"f2069","blocks-inputUnified.inputFile-inputFile__main":"f2070","blocks-inputUnified.inputFile-inputFile__icon":"f2071","blocks-inputUnified.inputFile-inputFile__footer":"f2072","blocks-inputUnified.inputFile-inputFile__size":"f2073","blocks-inputUnified.inputFile-inputFile__name":"f2074","blocks-inputUnified.inputFile-whiteBg":"f2075","blocks-inputUnified.inputList-resetList":"f2076","blocks-inputUnified.inputList-inputList":"f2077","blocks-inputUnified.inputList-inputList__list":"f2078","blocks-inputUnified.inputList-inputItemt":"f2079","blocks-inputUnified-resetList":"f2080","blocks-inputUnified-resetBtn":"f2081","blocks-inputUnified-input__btnAgree":"f2082","blocks-inputUnified-input":"f2083","blocks-inputUnified-input__bgBase":"f2084","blocks-inputUnified-input__bgColor":"f2085","blocks-inputUnified-input__container":"f2086","blocks-inputUnified-input__addFiles":"f2087","blocks-inputUnified-input__input":"f2088","blocks-inputUnified-input__menu":"f2089","blocks-inputUnified-input__secondBtn":"f2090","blocks-iventSchedule-resetList":"f2091","blocks-iventSchedule-resetLink":"f2092","blocks-iventSchedule-resetBtn":"f2093","blocks-iventSchedule-btn-light":"f2094","blocks-iventSchedule-schedule__tag":"f2095","blocks-iventSchedule-schedule":"f2096","blocks-iventSchedule-schedule__icon":"f2097","blocks-iventSchedule-schedule__modal":"f2098","blocks-iventSchedule-textDarkMainBase":"f2099","blocks-iventSchedule-dark500base":"f2100","blocks-iventSchedule-textH2":"f2101","blocks-iventSchedule-textH3":"f2102","blocks-iventSchedule-textMB":"f2103","blocks-iventSchedule-textM":"f2104","blocks-iventSchedule-textSB":"f2105","blocks-iventSchedule-textS":"f2106","blocks-iventSchedule-textCaptionS":"f2107","blocks-iventSchedule-schedule__head":"f2108","blocks-iventSchedule-schedule__btn-close":"f2109","blocks-iventSchedule-img-x":"f2110","blocks-iventSchedule-schedule__title":"f2111","blocks-iventSchedule-schedule__container":"f2112","blocks-iventSchedule-schedule-info":"f2113","blocks-iventSchedule-schedule-info__column":"f2114","blocks-iventSchedule-schedule-info__container":"f2115","blocks-iventSchedule-schedule__scroll":"f2116","blocks-iventSchedule-schedule__discription":"f2117","blocks-iventSchedule-schedule__btn-container":"f2118","blocks-iventSchedule-flexOne":"f2119","blocks-list-resetList":"f2120","blocks-list-resetLink":"f2121","blocks-list-resetBtn":"f2122","blocks-list-btn-agree":"f2123","blocks-list-btnAgreeLight":"f2124","blocks-list-empty":"f2125","blocks-list-list":"f2126","blocks-list-blocks-list":"f2127","blocks-list-textDarkMainBase":"f2128","blocks-list-dark500base":"f2129","blocks-list-textH2":"f2130","blocks-list-textMB":"f2131","blocks-list-textM":"f2132","blocks-list-textSB":"f2133","blocks-list-textS":"f2134","blocks-list-textCaptionS":"f2135","blocks-list-ivent__wrapper":"f2136","blocks-list-ivent__scroll":"f2137","blocks-list-ivent__scrollContainer":"f2138","blocks-list-ivent__list":"f2139","blocks-list-ivent__subhead":"f2140","blocks-list-ivent__cellSubhead":"f2141","blocks-list-ivent__link":"f2142","blocks-list-ivent__cell":"f2143","blocks-list-ivent__fitContent":"f2144","blocks-list-column02HoverWidth":"f2145","blocks-list-column04HoverWidth":"f2146","blocks-list-column01":"f2147","blocks-list-column02":"f2148","blocks-list-column03":"f2149","blocks-list-column04":"f2150","blocks-list-column05":"f2151","blocks-list-column06":"f2152","blocks-list-column07":"f2153","blocks-list-column08":"f2154","blocks-list-column09":"f2155","blocks-list-badge":"f2156","blocks-list-bageReady":"f2157","blocks-list-bageDelete":"f2158","blocks-list-requests__leod":"f2159","blocks-list-requests__iconAnimation":"f2160","blocks-list-btnWidth145":"f2161","blocks-list-loader":"f2162","blocks-list-loader__container":"f2163","blocks-list-loader__img":"f2164","blocks-loaderBar-loaderBar":"f2165","blocks-loaderBar-loaderBarProgress":"f2166","blocks-loaderBarSmall-loadCircle":"f2167","blocks-loaderBarSmall-loadCircle__inside":"f2168","blocks-loaderBarSmall-loadCircle__outside":"f2169","blocks-loaderBarTwo-loaderBarTwo":"f2170","blocks-loaderBarTwo-loaderBarTwo__item":"f2171","blocks-MediaBlocks.Audio-first":"f2172","blocks-MediaBlocks.Audio-container":"f2173","blocks-MediaBlocks.Audio-lessonBlockAudioImg":"f2174","blocks-MediaBlocks.Audio-lessonBlockAudioControls":"f2175","blocks-MediaBlocks.Audio-lessonBlockAudioBtn":"f2176","blocks-MediaBlocks.Audio-lessonBlockAudioImgPlay":"f2177","blocks-MediaBlocks.Audio-lessonBlockAudioImgPause":"f2178","blocks-MediaBlocks.Audio-lessonBlockAudioProgress":"f2179","blocks-MediaBlocks.Audio-lessonBlockAudioline":"f2180","blocks-MediaBlocks.Audio-lessonBlockAudiolineW":"f2181","blocks-MediaBlocks.Audio-lessonBlockAudioTime":"f2182","blocks-MediaBlocks.Audio-lessonBlockAudioBtnSound":"f2183","blocks-MediaBlocks.Audio-containerIcon":"f2184","blocks-MediaBlocks.Audio-lessonBlockAudioImgOn":"f2185","blocks-MediaBlocks.Audio-lessonBlockAudiImgOff":"f2186","blocks-MediaBlocks.Audio-lessonBlockAudio":"f2187","blocks-MediaBlocks.Audio-hiddenBlock":"f2188","blocks-MediaBlocks.Code-codePreContainer":"f2189","blocks-MediaBlocks.Code-codePre":"f2190","blocks-MediaBlocks.Code-codePreField":"f2191","blocks-MediaBlocks.Code-codePreHeader":"f2192","blocks-MediaBlocks.Code-codePreBtnsContainer":"f2193","blocks-MediaBlocks.Code-codePreBtn":"f2194","blocks-MediaBlocks.Code-codePreBtnImg":"f2195","blocks-MediaBlocks.Code-codePreType":"f2196","blocks-MediaBlocks.Code-codePreTypeText":"f2197","blocks-MediaBlocks.Code-containerCodeMediaBlock":"f2198","blocks-MediaBlocks.Code-selected":"f2199","blocks-MediaBlocks.Code-error":"f2200","blocks-MediaBlocks.File-container":"f2201","blocks-MediaBlocks.File-first":"f2202","blocks-MediaBlocks.File-lessonBlcokPDFLeft":"f2203","blocks-MediaBlocks.File-lessonBlockPDFLink":"f2204","blocks-MediaBlocks.File-lessonBlockPDFName":"f2205","blocks-MediaBlocks.File-fileInput":"f2206","blocks-MediaBlocks.File-containerIcon":"f2207","blocks-MediaBlocks.File-fileBuilderBlockText":"f2208","blocks-MediaBlocks.File-fileBuilderBlockTextB":"f2209","blocks-MediaBlocks.File-iconColorMain":"f2210","blocks-MediaBlocks.File-iconColorSecond":"f2211","blocks-MediaBlocks.File-iconColorThird":"f2212","blocks-MediaBlocks.File-spaceRight16":"f2213","blocks-MediaBlocks.Header1-mediablockH1":"f2214","blocks-MediaBlocks.Header1-first":"f2215","blocks-MediaBlocks.Header2-mediablockH2":"f2216","blocks-MediaBlocks.Header2-first":"f2217","blocks-MediaBlocks.Header3-mediablockH3":"f2218","blocks-MediaBlocks.Header3-first":"f2219","blocks-MediaBlocks.Header3-selected":"f2220","blocks-MediaBlocks.Header3-error":"f2221","blocks-MediaBlocks.Highlight-mediablockHL":"f2222","blocks-MediaBlocks.Highlight-first":"f2223","blocks-MediaBlocks.Highlight-lessonBlockHL":"f2224","blocks-MediaBlocks.HTML-mediablockHTML":"f2225","blocks-MediaBlocks.List-list":"f2226","blocks-MediaBlocks.List-marker":"f2227","blocks-MediaBlocks.List-container":"f2228","blocks-MediaBlocks.List-selected":"f2229","blocks-MediaBlocks.List-error":"f2230","blocks-MediaBlocks-container":"f2231","blocks-MediaBlocks.PDF-container":"f2232","blocks-MediaBlocks.PDF-first":"f2233","blocks-MediaBlocks.PDF-lessonBlcokPDFLeft":"f2234","blocks-MediaBlocks.PDF-lessonBlockPDFLink":"f2235","blocks-MediaBlocks.PDF-lessonBlockPDFName":"f2236","blocks-MediaBlocks.PDF-containerIcon":"f2237","blocks-MediaBlocks.PDF-fileBuilderBlockText":"f2238","blocks-MediaBlocks.PDF-fileBuilderBlockTextB":"f2239","blocks-MediaBlocks.PDF-iconColorMain":"f2240","blocks-MediaBlocks.PDF-iconColorSecond":"f2241","blocks-MediaBlocks.PDF-iconColorThird":"f2242","blocks-MediaBlocks.PDF-spaceRight16":"f2243","blocks-MediaBlocks.Photo-resetList":"f2244","blocks-MediaBlocks.Photo-containerMediaPhoto":"f2245","blocks-MediaBlocks.Photo-lessonBlockImgContainer":"f2246","blocks-MediaBlocks.Photo-first":"f2247","blocks-MediaBlocks.Photo-lessonBlockImgBg":"f2248","blocks-MediaBlocks.Photo-lessonBlockImg":"f2249","blocks-MediaBlocks.TaskAnswer-container":"f2250","blocks-MediaBlocks.TaskAnswer-first":"f2251","blocks-MediaBlocks.Text-containerTextMediaBlock":"f2252","blocks-MediaBlocks.Video-container":"f2253","blocks-MediaBlocks.Video-play":"f2254","blocks-MediaBlocks.Video-playBg":"f2255","blocks-MediaBlocks.Video-icon":"f2256","blocks-MediaBlocks.Video-container__img":"f2257","blocks-MediaBlocks.Video-first":"f2258","blocks-MediaBlocks.Video-video":"f2259","blocks-MediaBlocks.Video-overlay":"f2260","blocks-MediaBlocks.Video-videoContainer":"f2261","blocks-MediaBlocks.Video-videoPlayer":"f2262","blocks-menu-resetList":"f2263","blocks-menu-resetLink":"f2264","blocks-menu-resetBtn":"f2265","blocks-menu-btn__neutral":"f2266","blocks-menu-head__flag":"f2267","blocks-menu-wrapper":"f2268","blocks-menu-textDarkMainBase":"f2269","blocks-menu-textSecondary":"f2270","blocks-menu-dark500base":"f2271","blocks-menu-textMB":"f2272","blocks-menu-textSB":"f2273","blocks-menu-textS":"f2274","blocks-menu-textCaptionS":"f2275","blocks-menu-textCaptionLB":"f2276","blocks-menu-bg_accent_100_base":"f2277","blocks-menu-bg_dark_100_base":"f2278","blocks-menu-head":"f2279","blocks-menu-head__container":"f2280","blocks-menu-head__link":"f2281","blocks-menu-head__scrollWrapper":"f2282","blocks-menu-head__scroll":"f2283","blocks-menu-head__notification":"f2284","blocks-menu-head__subtitel":"f2285","blocks-menu-notification":"f2286","blocks-menu-notification__value":"f2287","blocks-menu-notification__item":"f2288","blocks-menu-notification__btn":"f2289","blocks-menu-notification__text":"f2290","blocks-menu-notification__bgContainer":"f2291","blocks-menu-nav__list":"f2292","blocks-menu-nav__btn":"f2293","blocks-menu-nav__icon":"f2294","blocks-menu-nav__btnSelect":"f2295","blocks-menu-login":"f2296","blocks-menu-login__btn":"f2297","blocks-menu-login__exit":"f2298","blocks-menu-login__container":"f2299","blocks-menu-login__img01":"f2300","blocks-menu-mainContent":"f2301","blocks-menu-spaceBottom16":"f2302","blocks-modalUniversal.empty-resetBtn":"f2303","blocks-modalUniversal.empty-btnAgree":"f2304","blocks-modalUniversal.empty-btnDanger":"f2305","blocks-modalUniversal.empty-ColorTextPr":"f2306","blocks-modalUniversal.empty-ColorTextSec":"f2307","blocks-modalUniversal.empty-textH3":"f2308","blocks-modalUniversal.empty-textL":"f2309","blocks-modalUniversal.empty-modal":"f2310","blocks-modalUniversal.empty-modal__container":"f2311","blocks-modalUniversal.empty-modal__head":"f2312","blocks-modalUniversal.empty-modal__title":"f2313","blocks-modalUniversal.empty-modal__close":"f2314","blocks-modalUniversal.empty-modal__info":"f2315","blocks-modalUniversal.empty-modal__btnContainer":"f2316","blocks-modalUniversal.empty-wholeWidth":"f2317","blocks-modalUniversal.modalAgree-resetBtn":"f2318","blocks-modalUniversal.modalAgree-btnAgree":"f2319","blocks-modalUniversal.modalAgree-btnDanger":"f2320","blocks-modalUniversal.modalAgree-ColorTextPr":"f2321","blocks-modalUniversal.modalAgree-ColorTextSec":"f2322","blocks-modalUniversal.modalAgree-textH3":"f2323","blocks-modalUniversal.modalAgree-textL":"f2324","blocks-modalUniversal.modalAgree-modal":"f2325","blocks-modalUniversal.modalAgree-modal__container":"f2326","blocks-modalUniversal.modalAgree-modal__head":"f2327","blocks-modalUniversal.modalAgree-modal__title":"f2328","blocks-modalUniversal.modalAgree-modal__close":"f2329","blocks-modalUniversal.modalAgree-modal__info":"f2330","blocks-modalUniversal.modalAgree-modal__btnContainer":"f2331","blocks-modalUniversal.modalAgree-wholeWidth":"f2332","blocks-news.edit-resetList":"f2333","blocks-news.edit-resetBtn":"f2334","blocks-news.edit-btn-agree":"f2335","blocks-news.edit-btn-empty":"f2336","blocks-news.edit-btn-danger":"f2337","blocks-news.edit-btn-danger-empty":"f2338","blocks-news.edit-textDarkMainBase":"f2339","blocks-news.edit-dark500base":"f2340","blocks-news.edit-textH2":"f2341","blocks-news.edit-textMB":"f2342","blocks-news.edit-textM":"f2343","blocks-news.edit-textSB":"f2344","blocks-news.edit-textS":"f2345","blocks-news.edit-textCaptionS":"f2346","blocks-news.edit-newsEdit":"f2347","blocks-news.edit-newsEdit__scroll":"f2348","blocks-news.edit-newsEdit__content":"f2349","blocks-news.edit-input48":"f2350","blocks-news.edit-input48:hover":"f2351","blocks-news.edit-newsEdit__item":"f2352","blocks-news.edit-newsEdit__subtitle":"f2353","blocks-news.edit-newsEdit__select":"f2354","blocks-news.edit-newsEdit__input":"f2355","blocks-news.edit-newsEdit__inputBig":"f2356","blocks-news.edit-newsEdit__btns":"f2357","blocks-news.edit-newsEdit__imgContainer":"f2358","blocks-news.edit-newsEdit__menu":"f2359","blocks-news.edit-newsEditMenu":"f2360","blocks-news.edit-newsEditMenu__list":"f2361","blocks-news-resetBtn":"f2362","blocks-news-btn-agree":"f2363","blocks-news-btn-change":"f2364","blocks-news-btn-neutral":"f2365","blocks-news-colorTextP":"f2366","blocks-news-textH2":"f2367","blocks-news-news":"f2368","blocks-news-news__head":"f2369","blocks-news-news__btn":"f2370","blocks-news-news__container":"f2371","blocks-news-searchIput":"f2372","blocks-news-news__main":"f2373","blocks-news.theNews-resetList":"f2374","blocks-news.theNews-resetLink":"f2375","blocks-news.theNews-resetBtn":"f2376","blocks-news.theNews-btn-agree":"f2377","blocks-news.theNews-news":"f2378","blocks-news.theNews-news__scroll":"f2379","blocks-news.theNews-news__content":"f2380","blocks-news.theNews-news__title":"f2381","blocks-news.theNews-news__imgContainer":"f2382","blocks-news.theNews-news__img":"f2383","blocks-news.theNews-news__container":"f2384","blocks-news.theNews-news__text":"f2385","blocks-news.theNews-news__menu":"f2386","blocks-news.theNews-newsMenu":"f2387","blocks-news.theNews-newsMenu__scrollContainer":"f2388","blocks-news.theNews-newsMenu__main":"f2389","blocks-news.theNews-newsMenu__statuses":"f2390","blocks-news.theNews-newsMenu__list":"f2391","blocks-news.theNews-newsMenu__item":"f2392","blocks-news.theNews-newsMenu__subtitle":"f2393","blocks-news.theNews-newsMenu__text":"f2394","blocks-notificationList.notification-resetBtn":"f2395","blocks-notificationList.notification-notification":"f2396","blocks-notificationList.notification-notification__head":"f2397","blocks-notificationList.notification-notification__btnClose":"f2398","blocks-notificationList.notification-notification__text":"f2399","blocks-notificationList.notification-btnNeutral":"f2400","blocks-notificationList.notification-notificationError":"f2401","blocks-notificationList.notificationBig-resetBtn":"f2402","blocks-notificationList.notificationBig-notification":"f2403","blocks-notificationList.notificationBig-notification__head":"f2404","blocks-notificationList.notificationBig-notification__btnClose":"f2405","blocks-notificationList.notificationBig-notification__title":"f2406","blocks-notificationList.notificationBig-notification__text":"f2407","blocks-notificationList.notificationBig-notification__container":"f2408","blocks-notificationList.notificationBig-notification__btnConteiner":"f2409","blocks-notificationList.notificationBig-btnNeutral":"f2410","blocks-notificationList.notificationBig-btnEmpty":"f2411","blocks-notificationList.notificationBig-notificationError":"f2412","blocks-notificationList-resetList":"f2413","blocks-notificationList-notificationList":"f2414","blocks-notificationList-notificationList__item":"f2415","blocks-notificationList-notification__new":"f2416","blocks-online-blocks-online":"f2417","blocks-online-badge":"f2418","blocks-online-online":"f2419","blocks-operators.editOperator-resetBtn":"f2420","blocks-operators.editOperator-btnAgree":"f2421","blocks-operators.editOperator-btnCencel":"f2422","blocks-operators.editOperator-btnNeutral":"f2423","blocks-operators.editOperator-inputBlock__field":"f2424","blocks-operators.editOperator-inputBlock__field:hover":"f2425","blocks-operators.editOperator-wrapper":"f2426","blocks-operators.editOperator-textM":"f2427","blocks-operators.editOperator-textLB":"f2428","blocks-operators.editOperator-colorPrimary":"f2429","blocks-operators.editOperator-colorSecond":"f2430","blocks-operators.editOperator-ivent":"f2431","blocks-operators.editOperator-ivent__title":"f2432","blocks-operators.editOperator-ivent__main":"f2433","blocks-operators.editOperator-ivent__container":"f2434","blocks-operators.editOperator-ivent__form":"f2435","blocks-operators.editOperator-ivent__section":"f2436","blocks-operators.editOperator-ivent__btnContainer":"f2437","blocks-operators.editOperator-ivent__inputs":"f2438","blocks-operators.editOperator-inputBlock":"f2439","blocks-operators.editOperator-inputBlock__select":"f2440","blocks-operators.editOperator-ivent__btnCopy":"f2441","blocks-operators.editOperator-ivent__btnWrapper":"f2442","blocks-operators.editOperator-spaceBottom16":"f2443","blocks-operators.editOperator-spaceBottom8":"f2444","blocks-operators.editOperator-spaceGap16":"f2445","blocks-operators.infoOperator-resetList":"f2446","blocks-operators.infoOperator-resetLink":"f2447","blocks-operators.infoOperator-resetBtn":"f2448","blocks-operators.infoOperator-btnAgree":"f2449","blocks-operators.infoOperator-btnNeutral":"f2450","blocks-operators.infoOperator-btnLight":"f2451","blocks-operators.infoOperator-btnLightSmall":"f2452","blocks-operators.infoOperator-btnEmpty":"f2453","blocks-operators.infoOperator-btnDangLight":"f2454","blocks-operators.infoOperator-input40":"f2455","blocks-operators.infoOperator-input40:hover":"f2456","blocks-operators.infoOperator-operatorInfo":"f2457","blocks-operators.infoOperator-textH3":"f2458","blocks-operators.infoOperator-textLB":"f2459","blocks-operators.infoOperator-textS":"f2460","blocks-operators.infoOperator-textM":"f2461","blocks-operators.infoOperator-colorTextPrim":"f2462","blocks-operators.infoOperator-colorTextSec":"f2463","blocks-operators.infoOperator-colorTextTetr":"f2464","blocks-operators.infoOperator-operatorInfo__main":"f2465","blocks-operators.infoOperator-operatorInfo__scroll":"f2466","blocks-operators.infoOperator-operatorInfo__content":"f2467","blocks-operators.infoOperator-operatorInfo__item":"f2468","blocks-operators.infoOperator-btnClose":"f2469","blocks-operators.infoOperator-operatorInfo__commentInfo":"f2470","blocks-operators.infoOperator-commentInput":"f2471","blocks-operators.infoOperator-commentInput__buttons":"f2472","blocks-operators.infoOperator-commentInput__input":"f2473","blocks-operators.infoOperator-operatorInfo__section":"f2474","blocks-operators.infoOperator-clientStatistic":"f2475","blocks-operators.infoOperator-operatorInfo__title":"f2476","blocks-operators.infoOperator-operatorInfo__notes":"f2477","blocks-operators.infoOperator-flexFull":"f2478","blocks-operators.infoOperator-cloudElement":"f2479","blocks-operators.infoOperator-operatorInfo__menu":"f2480","blocks-operators.infoOperator-operatorInfoMenu":"f2481","blocks-operators.infoOperator-operatorInfoMenu__scrollContainer":"f2482","blocks-operators.infoOperator-operatorInfoMenu__main":"f2483","blocks-operators.infoOperator-operatorInfoMenu__head":"f2484","blocks-operators.infoOperator-operatorInfoMenu__title":"f2485","blocks-operators.infoOperator-operatorInfoMenu__section":"f2486","blocks-operators.infoOperator-operatorInfoMenu__container":"f2487","blocks-operators.infoOperator-operatorInfoMenu__subtitle":"f2488","blocks-operators.infoOperator-operatorInfoMenu__list":"f2489","blocks-operators.infoOperator-operatorInfoMenu__item":"f2490","blocks-operators.infoOperator-spaceBottom24":"f2491","blocks-operators.infoOperator-spaceBottom20":"f2492","blocks-operators.infoOperator-spaceBottom16":"f2493","blocks-operators.infoOperator-spaceBottom12":"f2494","blocks-operators.infoOperator-spaceBottom8":"f2495","blocks-operators.infoOperator.session-resetBtn":"f2496","blocks-operators.infoOperator.session-operatorInfo__item":"f2497","blocks-operators.infoOperator.session-cloudElement":"f2498","blocks-operators.infoOperator.session-cloudElement__container":"f2499","blocks-operators.infoOperator.session-btnClose":"f2500","blocks-operators.infoOperator.session-cloudElement__lable":"f2501","blocks-operators.infoOperator.session-operatorInfoMenu__headtext":"f2502","blocks-operators.infoOperator.session-textS":"f2503","blocks-operators.infoOperator.session-colorTextSec":"f2504","blocks-operators.infoOperator.session-textM":"f2505","blocks-operators.infoOperator.session-colorTextPrim":"f2506","blocks-operators.infoOperContent-resetList":"f2507","blocks-operators.infoOperContent-resetLink":"f2508","blocks-operators.infoOperContent-resetBtn":"f2509","blocks-operators.infoOperContent-btnAgree":"f2510","blocks-operators.infoOperContent-btnNeutral":"f2511","blocks-operators.infoOperContent-btnLight":"f2512","blocks-operators.infoOperContent-btnLightSmall":"f2513","blocks-operators.infoOperContent-btnEmpty":"f2514","blocks-operators.infoOperContent-input40":"f2515","blocks-operators.infoOperContent-input40:hover":"f2516","blocks-operators.infoOperContent-operatorInfo":"f2517","blocks-operators.infoOperContent-textH3":"f2518","blocks-operators.infoOperContent-textLB":"f2519","blocks-operators.infoOperContent-textS":"f2520","blocks-operators.infoOperContent-textM":"f2521","blocks-operators.infoOperContent-colorTextPrim":"f2522","blocks-operators.infoOperContent-colorTextSec":"f2523","blocks-operators.infoOperContent-colorTextTetr":"f2524","blocks-operators.infoOperContent-colorTextAcc":"f2525","blocks-operators.infoOperContent-operatorInfo__main":"f2526","blocks-operators.infoOperContent-operatorInfo__scroll":"f2527","blocks-operators.infoOperContent-operatorInfo__content":"f2528","blocks-operators.infoOperContent-operatorInfo__item":"f2529","blocks-operators.infoOperContent-btnClose":"f2530","blocks-operators.infoOperContent-operatorInfo__commentInfo":"f2531","blocks-operators.infoOperContent-commentInput":"f2532","blocks-operators.infoOperContent-commentInput__buttons":"f2533","blocks-operators.infoOperContent-commentInput__input":"f2534","blocks-operators.infoOperContent-operatorInfo__section":"f2535","blocks-operators.infoOperContent-clientStatistic":"f2536","blocks-operators.infoOperContent-operatorInfo__title":"f2537","blocks-operators.infoOperContent-operatorInfo__subHead":"f2538","blocks-operators.infoOperContent-operatorInfo__notes":"f2539","blocks-operators.infoOperContent-flexFull":"f2540","blocks-operators.infoOperContent-cloudElement":"f2541","blocks-operators.infoOperContent-operatorInfo__menu":"f2542","blocks-operators.infoOperContent-operatorInfoMenu":"f2543","blocks-operators.infoOperContent-operatorInfoMenu__scrollContainer":"f2544","blocks-operators.infoOperContent-operatorInfoMenu__main":"f2545","blocks-operators.infoOperContent-operatorInfoMenu__head":"f2546","blocks-operators.infoOperContent-operatorInfoMenu__title":"f2547","blocks-operators.infoOperContent-operatorInfoMenu__overflow":"f2548","blocks-operators.infoOperContent-operatorInfoMenu__bigText":"f2549","blocks-operators.infoOperContent-operatorInfoOnline":"f2550","blocks-operators.infoOperContent-operatorInfoMenu__section":"f2551","blocks-operators.infoOperContent-operatorInfoMenu__subtitle":"f2552","blocks-operators.infoOperContent-operatorInfoMenu__list":"f2553","blocks-operators.infoOperContent-operatorInfoMenu__item":"f2554","blocks-operators.infoOperContent-spaceBottom24":"f2555","blocks-operators.infoOperContent-spaceBottom16":"f2556","blocks-operators.infoOperContent-spaceBottom12":"f2557","blocks-operators.infoOperContent-spaceBottom8":"f2558","blocks-operators.infoOperContent.noteItem-resetList":"f2559","blocks-operators.infoOperContent.noteItem-resetBtn":"f2560","blocks-operators.infoOperContent.noteItem-chRequests__btnAgree":"f2561","blocks-operators.infoOperContent.noteItem-chRequests":"f2562","blocks-operators.infoOperContent.noteItem-chRequests__head":"f2563","blocks-operators.infoOperContent.noteItem-chRequests__title":"f2564","blocks-operators.infoOperContent.noteItem-chRequests__list":"f2565","blocks-operators.infoOperContent.noteItem-chRequests__section":"f2566","blocks-operators.infoOperContent.noteItem-scroll":"f2567","blocks-operators.infoOperContent.noteItem-scroll__container":"f2568","blocks-operators.infoOperContent.noteItem-menuChatBlock":"f2569","blocks-operators.infoOperContent.noteItem-menuChatBlock__container":"f2570","blocks-operators.infoOperContent.noteItem-menuChatBlock__title":"f2571","blocks-operators.infoOperContent.noteItem-menuChatBlock__text":"f2572","blocks-operators.infoOperContent.noteItem-menuChatBlock__btnDelete":"f2573","blocks-operators.infoOperContent.requestItem-resetList":"f2574","blocks-operators.infoOperContent.requestItem-resetBtn":"f2575","blocks-operators.infoOperContent.requestItem-chRequests__btnAgree":"f2576","blocks-operators.infoOperContent.requestItem-chRequests":"f2577","blocks-operators.infoOperContent.requestItem-chRequests__head":"f2578","blocks-operators.infoOperContent.requestItem-chRequests__title":"f2579","blocks-operators.infoOperContent.requestItem-chRequests__list":"f2580","blocks-operators.infoOperContent.requestItem-chRequests__section":"f2581","blocks-operators.infoOperContent.requestItem-scroll":"f2582","blocks-operators.infoOperContent.requestItem-scroll__container":"f2583","blocks-operators.infoOperContent.requestItem-menuChatBlock":"f2584","blocks-operators.infoOperContent.requestItem-menuChatBlock__container":"f2585","blocks-operators.infoOperContent.requestItem-menuChatBlock__title":"f2586","blocks-operators.infoOperContent.requestItem-menuChatBlock__text":"f2587","blocks-operators.infoOperContent.requestItem-menuChatBlock__btnDelete":"f2588","blocks-operators.infoOperContent.sessionItem-resetList":"f2589","blocks-operators.infoOperContent.sessionItem-resetBtn":"f2590","blocks-operators.infoOperContent.sessionItem-chRequests__btnAgree":"f2591","blocks-operators.infoOperContent.sessionItem-chRequests":"f2592","blocks-operators.infoOperContent.sessionItem-chRequests__head":"f2593","blocks-operators.infoOperContent.sessionItem-chRequests__title":"f2594","blocks-operators.infoOperContent.sessionItem-chRequests__list":"f2595","blocks-operators.infoOperContent.sessionItem-chRequests__section":"f2596","blocks-operators.infoOperContent.sessionItem-scroll":"f2597","blocks-operators.infoOperContent.sessionItem-scroll__container":"f2598","blocks-operators.infoOperContent.sessionItem-menuChatBlock":"f2599","blocks-operators.infoOperContent.sessionItem-menuChatBlock__container":"f2600","blocks-operators.infoOperContent.sessionItem-menuChatBlock__title":"f2601","blocks-operators.infoOperContent.sessionItem-menuChatBlock__text":"f2602","blocks-operators.modalPass-resetBtn":"f2603","blocks-operators.modalPass-btnAgree":"f2604","blocks-operators.modalPass-btnDanger":"f2605","blocks-operators.modalPass-btnNeutral":"f2606","blocks-operators.modalPass-inputBlock__field":"f2607","blocks-operators.modalPass-inputBlock__field:hover":"f2608","blocks-operators.modalPass-input-invalid":"f2609","blocks-operators.modalPass-ColorTextPr":"f2610","blocks-operators.modalPass-ColorTextSec":"f2611","blocks-operators.modalPass-textH3":"f2612","blocks-operators.modalPass-textL":"f2613","blocks-operators.modalPass-modal":"f2614","blocks-operators.modalPass-modal__container":"f2615","blocks-operators.modalPass-modal__head":"f2616","blocks-operators.modalPass-modal__title":"f2617","blocks-operators.modalPass-modal__close":"f2618","blocks-operators.modalPass-modal__info":"f2619","blocks-operators.modalPass-modal__btnContainer":"f2620","blocks-operators.modalPass-wholeWidth":"f2621","blocks-operators.modalPass-ivent__inputs":"f2622","blocks-operators.modalPass-ivent__btnWrapper":"f2623","blocks-operators.modalPass-inputBlock":"f2624","blocks-operators.modalPass-ivent__btnCopy":"f2625","blocks-partners.editContent-resetList":"f2626","blocks-partners.editContent-resetBtn":"f2627","blocks-partners.editContent-btn-agree":"f2628","blocks-partners.editContent-btn-empty":"f2629","blocks-partners.editContent-btn-danger":"f2630","blocks-partners.editContent-btn-danger-empty":"f2631","blocks-partners.editContent-btn-change":"f2632","blocks-partners.editContent-btn-neutral":"f2633","blocks-partners.editContent-input-invalid":"f2634","blocks-partners.editContent-colorTextP":"f2635","blocks-partners.editContent-loader":"f2636","blocks-partners.editContent-textH2":"f2637","blocks-partners.editContent-pages-client.add":"f2638","blocks-partners.editContent-clients__head":"f2639","blocks-partners.editContent-clients__tab":"f2640","blocks-partners.editContent-clients__btn":"f2641","blocks-partners.editContent-clients__container":"f2642","blocks-partners.editContent-searchIput":"f2643","blocks-partners.editContent-clients__main":"f2644","blocks-partners.editContent-textDarkMainBase":"f2645","blocks-partners.editContent-dark500base":"f2646","blocks-partners.editContent-textMB":"f2647","blocks-partners.editContent-textM":"f2648","blocks-partners.editContent-textSB":"f2649","blocks-partners.editContent-textS":"f2650","blocks-partners.editContent-textCaptionS":"f2651","blocks-partners.editContent-addClient":"f2652","blocks-partners.editContent-addClient__scroll":"f2653","blocks-partners.editContent-addClient__content":"f2654","blocks-partners.editContent-input48":"f2655","blocks-partners.editContent-input48:hover":"f2656","blocks-partners.editContent-addClient__section":"f2657","blocks-partners.editContent-addClient__item":"f2658","blocks-partners.editContent-addClient__title":"f2659","blocks-partners.editContent-addClient__subtitle":"f2660","blocks-partners.editContent-addClient__select":"f2661","blocks-partners.editContent-addClient__input":"f2662","blocks-partners.editContent-addClient__inputBig":"f2663","blocks-partners.editContent-addClient__btns":"f2664","blocks-partners.editContent-addClient__imgContainer":"f2665","blocks-partners.editContent-addClient__container":"f2666","blocks-partners.editContent-input-block":"f2667","blocks-partners.editContent-spaceBottm40":"f2668","blocks-partners.editContent-spaceBottm24":"f2669","blocks-partners.editContent-partnersModal__logo":"f2670","blocks-partners.editContent-partnersModal__preview":"f2671","blocks-partners.editContent-addClient__menu":"f2672","blocks-partners.editContent-addClientMenu":"f2673","blocks-partners.editContent-addClientMenu__list":"f2674","blocks-partners.editContent.preview-resetBtn":"f2675","blocks-partners.editContent.preview-btn-agree":"f2676","blocks-partners.editContent.preview-btn-change":"f2677","blocks-partners.editContent.preview-btn-neutral":"f2678","blocks-partners.editContent.preview-resetList":"f2679","blocks-partners.editContent.preview-btn-empty":"f2680","blocks-partners.editContent.preview-btn-danger":"f2681","blocks-partners.editContent.preview-btn-danger-empty":"f2682","blocks-partners.editContent.preview-pages-news.edit.preview":"f2683","blocks-partners.editContent.preview-newsEdit__subtitle":"f2684","blocks-partners.editContent.preview-newsEdit__imgContainer":"f2685","blocks-partners.editContent.preview-newsEdit__btns":"f2686","blocks-partners.editContent.preview-fileInput":"f2687","blocks-partners.infoContent-resetList":"f2688","blocks-partners.infoContent-colorTextPr":"f2689","blocks-partners.infoContent-colorTextSec":"f2690","blocks-partners.infoContent-textH3":"f2691","blocks-partners.infoContent-textS":"f2692","blocks-partners.infoContent-textM":"f2693","blocks-partners.infoContent-partnersModal":"f2694","blocks-partners.infoContent-partnersModal__head":"f2695","blocks-partners.infoContent-partnersModal__title":"f2696","blocks-partners.infoContent-partnersModal__close":"f2697","blocks-partners.infoContent-partnersModal__scroll":"f2698","blocks-partners.infoContent-partnersModal__scrollContainer":"f2699","blocks-partners.infoContent-partnersModal__section":"f2700","blocks-partners.infoContent-partnersModal__subtitle":"f2701","blocks-partners.infoContent-partnersModal__text":"f2702","blocks-partners.infoContent-partnersModal__logo":"f2703","blocks-partners.infoContent-partnersModal__preview":"f2704","blocks-partners.infoContent-loadConteiner":"f2705","blocks-partners.item-resetList":"f2706","blocks-partners.item-textDarkMainBase":"f2707","blocks-partners.item-textMB":"f2708","blocks-partners.item-textM":"f2709","blocks-partners.item-organization":"f2710","blocks-partners.item-organization__logo":"f2711","blocks-partners.item-organization__container":"f2712","blocks-partners.item-organization__text":"f2713","blocks-partners-resetList":"f2714","blocks-partners-resetLink":"f2715","blocks-partners-resetBtn":"f2716","blocks-partners-btn-agree":"f2717","blocks-partners-wrapper":"f2718","blocks-partners-textDarkMainBase":"f2719","blocks-partners-dark500base":"f2720","blocks-partners-textH2":"f2721","blocks-partners-textMB":"f2722","blocks-partners-textM":"f2723","blocks-partners-textSB":"f2724","blocks-partners-textS":"f2725","blocks-partners-textCaptionS":"f2726","blocks-partners-partners":"f2727","blocks-partners-partners__head":"f2728","blocks-partners-partners__title":"f2729","blocks-partners-partners__main":"f2730","blocks-partners-partners__select-container":"f2731","blocks-partners-partners__scroll":"f2732","blocks-partners-partners__list":"f2733","blocks-partners-partners__item":"f2734","blocks-partners-organization":"f2735","blocks-partners-organization__logo":"f2736","blocks-partners-organization__container":"f2737","blocks-partners-organization__text":"f2738","blocks-privileges.privilegeNew-resetList":"f2739","blocks-privileges.privilegeNew-resetLink":"f2740","blocks-privileges.privilegeNew-resetBtn":"f2741","blocks-privileges.privilegeNew-btnAgree":"f2742","blocks-privileges.privilegeNew-btnNeutral":"f2743","blocks-privileges.privilegeNew-btnDanger":"f2744","blocks-privileges.privilegeNew-btnAgreeLight":"f2745","blocks-privileges.privilegeNew-wrapper":"f2746","blocks-privileges.privilegeNew-textDarkMainBase":"f2747","blocks-privileges.privilegeNew-textH2":"f2748","blocks-privileges.privilegeNew-privilege":"f2749","blocks-privileges.privilegeNew-privilege__head":"f2750","blocks-privileges.privilegeNew-privilegeHead":"f2751","blocks-privileges.privilegeNew-privilegeHead__privilegeList":"f2752","blocks-privileges.privilegeNew-privilege__btnBack":"f2753","blocks-privileges.privilegeNew-privilege__imgBack":"f2754","blocks-privileges.privilegeNew-privilege__title":"f2755","blocks-privileges.privilegeNew-privilege__input":"f2756","blocks-privileges.privilegeNew-privilegeHead__container":"f2757","blocks-privileges.privilegeNew-privilege__main":"f2758","blocks-privileges.privilegeNew-textMB":"f2759","blocks-privileges.privilegeNew-textM":"f2760","blocks-privileges.privilegeNew-dark500base":"f2761","blocks-privileges.privilegeNew-pages-services":"f2762","blocks-privileges.privilegeNew-privilege__footer":"f2763","blocks-privileges.privilegeNew-privilege__buttons":"f2764","blocks-privileges.privilegeNew.privilegeNewEdit-resetList":"f2765","blocks-privileges.privilegeNew.privilegeNewEdit-resetLink":"f2766","blocks-privileges.privilegeNew.privilegeNewEdit-btnAgree":"f2767","blocks-privileges.privilegeNew.privilegeNewEdit-btnAgreeLight":"f2768","blocks-privileges.privilegeNew.privilegeNewEdit-btnAgreeLightSmasll":"f2769","blocks-privileges.privilegeNew.privilegeNewEdit-privilegeSerNew__scroll":"f2770","blocks-privileges.privilegeNew.privilegeNewEdit-privilegeSerNew__head":"f2771","blocks-privileges.privilegeNew.privilegeNewEdit-privilegeSerNew__title":"f2772","blocks-privileges.privilegeNew.privilegeNewEdit-privilegeSerNew__scrollContainer":"f2773","blocks-privileges.privilegeNew.privilegeNewEdit-privilegeSerNew__section":"f2774","blocks-privileges.privilegeNew.privilegeNewEdit-resetBtn":"f2775","blocks-privileges.privilegeNew.privilegeNewEdit-privilegeSerBlock":"f2776","blocks-privileges.privilegeNew.privilegeNewEdit-privilegeSerBlock__input":"f2777","blocks-privileges.privilegeNew.privilegeNewEdit-privilegeSerBlock__smallBtn":"f2778","blocks-privileges.privilegeNew.privilegeNewEdit-privilegeSerBlock__container":"f2779","blocks-privileges.privilegeNew.privilegeNewEdit-privilegeSerNew__empty":"f2780","blocks-privileges.privilegesModal.madalSerTemplate-resetList":"f2781","blocks-privileges.privilegesModal.madalSerTemplate-btnNeutral":"f2782","blocks-privileges.privilegesModal.madalSerTemplate-ColorTextPr":"f2783","blocks-privileges.privilegesModal.madalSerTemplate-ColorTextSec":"f2784","blocks-privileges.privilegesModal.madalSerTemplate-textH3":"f2785","blocks-privileges.privilegesModal.madalSerTemplate-textMB":"f2786","blocks-privileges.privilegesModal.madalSerTemplate-textM":"f2787","blocks-privileges.privilegesModal.madalSerTemplate-servicesModalT":"f2788","blocks-privileges.privilegesModal.madalSerTemplate-servicesModalT__head":"f2789","blocks-privileges.privilegesModal.madalSerTemplate-servicesModalT__title":"f2790","blocks-privileges.privilegesModal.madalSerTemplate-servicesModalT__close":"f2791","blocks-privileges.privilegesModal.madalSerTemplate-servicesModalT__scroll":"f2792","blocks-privileges.privilegesModal.madalSerTemplate-servicesModalT__scrollContainer":"f2793","blocks-privileges.privilegesModal.madalSerTemplate-input48":"f2794","blocks-privileges.privilegesModal.madalSerTemplate-input48:hover":"f2795","blocks-privileges.privilegesModal.madalSerTemplate-servicesModalTIput":"f2796","blocks-privileges.privilegesModal.madalSerTemplate-servicesModalTIput__input":"f2797","blocks-privileges.privilegesModal.madalSerTemplate-servicesModalTIput__img":"f2798","blocks-privileges.privilegesModal.madalSerTemplate-servicesModalT__list":"f2799","blocks-privileges.privilegesModal.madalSerTemplate-resetBtn":"f2800","blocks-privileges.privilegesModal.madalSerTemplate-servicesBlock":"f2801","blocks-privileges.privilegesModal.madalSerTemplate-servicesBlock__btn":"f2802","blocks-privileges.privilegesModal.madalSerTemplate-servicesBlock__img01":"f2803","blocks-privileges.privilegesModal.madalSerTemplate-servicesBlock__favorite":"f2804","blocks-privileges.privilegesModal.madalSerTemplate-servicesBlock__img02":"f2805","blocks-privileges.privilegesModal.madalSerTemplate-opacityVisible":"f2806","blocks-privileges.privilegesModal.madalSerTemplate-servicesModalT__btnContainer":"f2807","blocks-privileges.privilegesModal.madalServices-resetBtn":"f2808","blocks-privileges.privilegesModal.madalServices-btnSmallLight":"f2809","blocks-privileges.privilegesModal.madalServices-btnNeutral":"f2810","blocks-privileges.privilegesModal.madalServices-btnAgree":"f2811","blocks-privileges.privilegesModal.madalServices-btnDangerous":"f2812","blocks-privileges.privilegesModal.madalServices-btnAgreeMain":"f2813","blocks-privileges.privilegesModal.madalServices-tag":"f2814","blocks-privileges.privilegesModal.madalServices-ColorTextPr":"f2815","blocks-privileges.privilegesModal.madalServices-ColorTextSec":"f2816","blocks-privileges.privilegesModal.madalServices-textH3":"f2817","blocks-privileges.privilegesModal.madalServices-textMB":"f2818","blocks-privileges.privilegesModal.madalServices-textM":"f2819","blocks-privileges.privilegesModal.madalServices-servicesModalSelect":"f2820","blocks-privileges.privilegesModal.madalServices-servicesModalSelect__text":"f2821","blocks-privileges.privilegesModal.madalServices-servicesModalSelect__select":"f2822","blocks-privileges.privilegesModal.madalServices-servicesModal__editTitle":"f2823","blocks-privileges.privilegesModal.madalServices-servicesModal__imgEdit":"f2824","blocks-privileges.privilegesModal.madalServices-servicesImgEdit":"f2825","blocks-privileges.privilegesModal.madalServices-servicesImgEdit__title":"f2826","blocks-privileges.privilegesModal.madalServices-servicesImgEdit__container":"f2827","blocks-privileges.privilegesModal.madalServices-servicesImgEdit__btnContainer":"f2828","blocks-privileges.privilegesModal.madalServices-input48":"f2829","blocks-privileges.privilegesModal.madalServices-input48:hover":"f2830","blocks-privileges.privilegesModal.madalServices-servicesDescription":"f2831","blocks-privileges.privilegesModal.madalServices-servicesDescription__title":"f2832","blocks-privileges.privilegesModal.madalServices-servicesDescription__input":"f2833","blocks-privileges.privilegesModal.madalServices-servicesModal":"f2834","blocks-privileges.privilegesModal.madalServices-servicesModal__head":"f2835","blocks-privileges.privilegesModal.madalServices-servicesModal__containerHead":"f2836","blocks-privileges.privilegesModal.madalServices-servicesModal__btnBack":"f2837","blocks-privileges.privilegesModal.madalServices-servicesModal__title":"f2838","blocks-privileges.privilegesModal.madalServices-servicesModal__imgBack":"f2839","blocks-privileges.privilegesModal.madalServices-servicesModal__close":"f2840","blocks-privileges.privilegesModal.madalServices-servicesModal__scroll":"f2841","blocks-privileges.privilegesModal.madalServices-servicesModal__imgContainer":"f2842","blocks-privileges.privilegesModal.madalServices-servicesModal__tag":"f2843","blocks-privileges.privilegesModal.madalServices-servicesModal__scrollContainer":"f2844","blocks-privileges.privilegesModal.madalServices-servicesModal__section":"f2845","blocks-privileges.privilegesModal.madalServices-servicesModal__subhead":"f2846","blocks-privileges.privilegesModal.madalServices-servicesModal__textContainer":"f2847","blocks-privileges.privilegesModal.madalServices-servicesModalSection__title":"f2848","blocks-privileges.privilegesModal.madalServices-servicesModal__container":"f2849","blocks-privileges.privilegesModal.madalServices-placeholderColor":"f2850","blocks-privileges.privilegesModal.madalServices-servicesModalBlock":"f2851","blocks-privileges.privilegesModal.madalServices-servicesModalBlock__subtitle":"f2852","blocks-privileges.privilegesModal.madalServices-servicesModalBlock__input":"f2853","blocks-privileges.privilegesModal.madalServices-eventModal__editMenu":"f2854","blocks-privileges.privilegesModal.madalServices-bottomSpace24":"f2855","blocks-privileges.privilegesModal.madalServices-bottomSpace16":"f2856","blocks-privileges.privilegesModal.madalServices-bottomSpace12":"f2857","blocks-privileges.privilegesModal.madalServices-bottomSpace8":"f2858","blocks-privileges.privilegesModal-eventModal__tag":"f2859","blocks-privileges.privilegesModal-resetBtn":"f2860","blocks-privileges.privilegesModal-btnAgree":"f2861","blocks-privileges.privilegesModal-btnAgreeMain":"f2862","blocks-privileges.privilegesModal-btnNeutral":"f2863","blocks-privileges.privilegesModal-btnCancel":"f2864","blocks-privileges.privilegesModal-ColorTextPr":"f2865","blocks-privileges.privilegesModal-textH3":"f2866","blocks-privileges.privilegesModal-textM":"f2867","blocks-privileges.privilegesModal-eventModal":"f2868","blocks-privileges.privilegesModal-eventModal__container":"f2869","blocks-privileges.privilegesModal-eventModal__close":"f2870","blocks-privileges.privilegesModal-eventModal__block":"f2871","blocks-privileges.privilegesModal-eventModal__head":"f2872","blocks-privileges.privilegesModal-eventModal__title":"f2873","blocks-privileges.privilegesModal-eventModal__scroll":"f2874","blocks-privileges.privilegesModal-eventModal__scrollContainer":"f2875","blocks-privileges.privilegesModal-eventModal__info":"f2876","blocks-privileges.privilegesModal-eventModalInfo":"f2877","blocks-privileges.privilegesModal-eventModalInfo__item":"f2878","blocks-privileges.privilegesModal-eventModalInfo__subtitle":"f2879","blocks-privileges.privilegesModal-eventModalInfo__text":"f2880","blocks-privileges.privilegesModal-eventModalInfo__container":"f2881","blocks-privileges.privilegesModal-eventModalInfo__content":"f2882","blocks-privileges.privilegesModal-wholeWidth":"f2883","blocks-programNeedDelete-resetList":"f2884","blocks-programNeedDelete-resetLink":"f2885","blocks-programNeedDelete-resetBtn":"f2886","blocks-programNeedDelete-btn-agree":"f2887","blocks-programNeedDelete-btn-agree-small":"f2888","blocks-programNeedDelete-btn-neutral":"f2889","blocks-programNeedDelete-wrapper":"f2890","blocks-programNeedDelete-textDarkMainBase":"f2891","blocks-programNeedDelete-dark500base":"f2892","blocks-programNeedDelete-dark400base":"f2893","blocks-programNeedDelete-accentMainBase":"f2894","blocks-programNeedDelete-textH2":"f2895","blocks-programNeedDelete-textH3":"f2896","blocks-programNeedDelete-textH4":"f2897","blocks-programNeedDelete-textMB":"f2898","blocks-programNeedDelete-textM":"f2899","blocks-programNeedDelete-textSB":"f2900","blocks-programNeedDelete-textS":"f2901","blocks-programNeedDelete-textCaptionS":"f2902","blocks-programNeedDelete-ivent":"f2903","blocks-programNeedDelete-ivent__head":"f2904","blocks-programNeedDelete-head__container":"f2905","blocks-programNeedDelete-head__tab":"f2906","blocks-programNeedDelete-div-delete":"f2907","blocks-programNeedDelete-div-delete__btn":"f2908","blocks-programNeedDelete-btn-ative":"f2909","blocks-programNeedDelete-forum-lable":"f2910","blocks-programNeedDelete-forum-lable__avatar":"f2911","blocks-programNeedDelete-forum-lable__img":"f2912","blocks-programNeedDelete-forum-lable__container":"f2913","blocks-programNeedDelete-forum-lable__title":"f2914","blocks-programNeedDelete-ivent__main":"f2915","blocks-progress-wrapper":"f2916","blocks-receipts.edit-resetList":"f2917","blocks-receipts.edit-resetLink":"f2918","blocks-receipts.edit-resetBtn":"f2919","blocks-receipts.edit-btnAgree":"f2920","blocks-receipts.edit-btnCencelLight":"f2921","blocks-receipts.edit-btnAgreeEmpty":"f2922","blocks-receipts.edit-input-block__field":"f2923","blocks-receipts.edit-input-block__field:hover":"f2924","blocks-receipts.edit-input-block__fieldBig":"f2925","blocks-receipts.edit-input-block__fieldBig:hover":"f2926","blocks-receipts.edit-input-invalid":"f2927","blocks-receipts.edit-wrapper":"f2928","blocks-receipts.edit-pagetitle":"f2929","blocks-receipts.edit-mainMenu18semi":"f2930","blocks-receipts.edit-mainMenu16semi":"f2931","blocks-receipts.edit-mainMenu16reg":"f2932","blocks-receipts.edit-tableHeader15semi":"f2933","blocks-receipts.edit-tableData15medium":"f2934","blocks-receipts.edit-tableData14medium":"f2935","blocks-receipts.edit-tag13":"f2936","blocks-receipts.edit-colorGrayN90m":"f2937","blocks-receipts.edit-colorGrayN70s":"f2938","blocks-receipts.edit-colorAccentMain":"f2939","blocks-receipts.edit-clientStatistic":"f2940","blocks-receipts.edit-cloudElement":"f2941","blocks-receipts.edit-cloudElementBig":"f2942","blocks-receipts.edit-ivent":"f2943","blocks-receipts.edit-ivent__title":"f2944","blocks-receipts.edit-clientInfo__link":"f2945","blocks-receipts.edit-ivent__main":"f2946","blocks-receipts.edit-ivent__container":"f2947","blocks-receipts.edit-ivent__form":"f2948","blocks-receipts.edit-ivent__tab":"f2949","blocks-receipts.edit-ivent__btnContainer":"f2950","blocks-receipts.edit-ivent__btnLongContainer":"f2951","blocks-receipts.edit-spaceAutoRight":"f2952","blocks-receipts.edit-form__item":"f2953","blocks-receipts.edit-input-block":"f2954","blocks-receipts.edit-inputLink":"f2955","blocks-receipts.edit-input__btnLabel":"f2956","blocks-receipts.edit-fakeTab":"f2957","blocks-receipts.edit-fakeTab__active":"f2958","blocks-receipts.edit-form__short-container":"f2959","blocks-receipts.edit-input-small":"f2960","blocks-receipts.edit-text-area":"f2961","blocks-receipts.edit-form__container":"f2962","blocks-receipts.edit-form__btn-container":"f2963","blocks-receipts.edit-btnMinWidth157":"f2964","blocks-receipts.edit-addClient__item":"f2965","blocks-receipts.edit-addClientExtra__loadConteiner":"f2966","blocks-receipts.edit-addClientExtra__load":"f2967","blocks-receipts.edit-addClientExtra":"f2968","blocks-receipts.edit-addClientExtra__head":"f2969","blocks-receipts.edit-addClientExtra__title":"f2970","blocks-receipts.edit-addClientExtra__textInfo":"f2971","blocks-receipts.edit-addClientExtra__container":"f2972","blocks-receipts.edit-addClientExtra__list":"f2973","blocks-receipts.edit-addClientExtra__btnLeft":"f2974","blocks-receipts.edit-addClientExtra__btnRight":"f2975","blocks-receipts.edit-addClientExtra__file":"f2976","blocks-receipts.edit-addClientExtra__fileName":"f2977","blocks-receipts.edit-addClientExtra__img":"f2978","blocks-receipts.edit-addClientExtra__textError":"f2979","blocks-receipts.edit-fieldTop20":"f2980","blocks-receipts.edit-spaceBottm64":"f2981","blocks-receipts.edit-spaceBottm40":"f2982","blocks-receipts.edit-spaceBottm24":"f2983","blocks-receipts.edit-spaceBottm16":"f2984","blocks-receipts.item-resetList":"f2985","blocks-receipts.item-resetLink":"f2986","blocks-receipts.item-resetBtn":"f2987","blocks-receipts.item-textLB":"f2988","blocks-receipts.item-textM":"f2989","blocks-receipts.item-textS":"f2990","blocks-receipts.item-colorMain":"f2991","blocks-receipts.item-colorSecond":"f2992","blocks-receipts.item-colorAccentMain":"f2993","blocks-receipts.item-form__container":"f2994","blocks-receipts.item-cloudElement":"f2995","blocks-receipts.item-cloudElementBig":"f2996","blocks-receipts.item-receipts":"f2997","blocks-receipts.item-receipts__title":"f2998","blocks-receipts.item-receipts__main":"f2999","blocks-receipts.item-receipts__container":"f3000","blocks-receipts.item-receipts__form":"f3001","blocks-receipts.item-form__section":"f3002","blocks-receipts.item-spaceBottom8":"f3003","blocks-receipts.item-copyLinkBtn":"f3004","blocks-receipts.item-listGap8":"f3005","blocks-requests.form.CounterInput-textInput__input":"f3006","blocks-requests.form.CounterInput-textInput__input:hover":"f3007","blocks-requests.form.CounterInput-blocks-requests.form.CounterInput":"f3008","blocks-requests.form.CounterInput-label":"f3009","blocks-requests.form.CounterInput-pickerSmall":"f3010","blocks-requests.form.CounterInput-input":"f3011","blocks-requests.form.DataPicker-dataPicker__input":"f3012","blocks-requests.form.DataPicker-dataPicker__input:hover":"f3013","blocks-requests.form.DataPicker-blocks-requests.form.DataPicker":"f3014","blocks-requests.form.DataPicker-label":"f3015","blocks-requests.form.DataPicker-pickerSmall":"f3016","blocks-requests.form.DataPicker-input":"f3017","blocks-requests.form-blocks-requests.form":"f3018","blocks-requests.form-loaderWrapper":"f3019","blocks-requests.form-form":"f3020","blocks-requests.form-form__title":"f3021","blocks-requests.form-form__subtitle":"f3022","blocks-requests.form-form__text":"f3023","blocks-requests.form-form__container":"f3024","blocks-requests.form-spaceBottom24":"f3025","blocks-requests.form-spaceBottom8":"f3026","blocks-requests.form.SelectPicker-blocks-requests.form.SelectPicker":"f3027","blocks-requests.form.SelectPicker-label":"f3028","blocks-requests.form.SelectPicker-input":"f3029","blocks-requests.form.Seporator-blocks-requests.form.Seporator":"f3030","blocks-requests.form.Seporator-seporator":"f3031","blocks-requests.form.Seporator-input":"f3032","blocks-requests.form.TextInput-textInput__input":"f3033","blocks-requests.form.TextInput-textInput__input:hover":"f3034","blocks-requests.form.TextInput-blocks-requests.form.TextInput":"f3035","blocks-requests.form.TextInput-label":"f3036","blocks-requests.form.TextInput-textInputArea":"f3037","blocks-requests.form.TextInput-input":"f3038","blocks-requests.notes.input-resetList":"f3039","blocks-requests.notes.input-resetLink":"f3040","blocks-requests.notes.input-resetBtn":"f3041","blocks-requests.notes.input-btnAgree":"f3042","blocks-requests.notes.input-btnNeutral":"f3043","blocks-requests.notes.input-btnLight":"f3044","blocks-requests.notes.input-btnEmpty":"f3045","blocks-requests.notes.input-input40":"f3046","blocks-requests.notes.input-input40:hover":"f3047","blocks-requests.notes.input-clientInfo":"f3048","blocks-requests.notes.input-textH3":"f3049","blocks-requests.notes.input-textLB":"f3050","blocks-requests.notes.input-textS":"f3051","blocks-requests.notes.input-textM":"f3052","blocks-requests.notes.input-colorTextPrim":"f3053","blocks-requests.notes.input-colorTextSec":"f3054","blocks-requests.notes.input-colorTextTetr":"f3055","blocks-requests.notes.input-colorTextAcc":"f3056","blocks-requests.notes.input-clientInfo__main":"f3057","blocks-requests.notes.input-clientInfo__scroll":"f3058","blocks-requests.notes.input-clientInfo__content":"f3059","blocks-requests.notes.input-clientInfo__item":"f3060","blocks-requests.notes.input-btnClose":"f3061","blocks-requests.notes.input-clientInfo__commentInfo":"f3062","blocks-requests.notes.input-commentInput":"f3063","blocks-requests.notes.input-commentInput__buttons":"f3064","blocks-requests.notes.input-commentInput__input":"f3065","blocks-requests.notes.input-clientInfo__section":"f3066","blocks-requests.notes.input-clientStatistic":"f3067","blocks-requests.notes.input-clientInfo__title":"f3068","blocks-requests.notes.input-clientInfo__notes":"f3069","blocks-requests.notes.input-flexFull":"f3070","blocks-requests.notes.input-cloudElement":"f3071","blocks-requests.notes.input-clientInfo__menu":"f3072","blocks-requests.notes.input-clientInfoMenu":"f3073","blocks-requests.notes.input-clientInfoMenu__scrollContainer":"f3074","blocks-requests.notes.input-clientInfoMenu__main":"f3075","blocks-requests.notes.input-clientInfoMenu__head":"f3076","blocks-requests.notes.input-clientInfoMenu__title":"f3077","blocks-requests.notes.input-clientInfoMenu__overflow":"f3078","blocks-requests.notes.input-clientInfoMenu__bigText":"f3079","blocks-requests.notes.input-clientInfoOnline":"f3080","blocks-requests.notes.input-clientInfoMenu__section":"f3081","blocks-requests.notes.input-clientInfoMenu__subtitle":"f3082","blocks-requests.notes.input-clientInfoMenu__list":"f3083","blocks-requests.notes.input-clientInfoMenu__item":"f3084","blocks-requests.notes.input-spaceBottom24":"f3085","blocks-requests.notes.input-spaceBottom16":"f3086","blocks-requests.notes.input-spaceBottom12":"f3087","blocks-requests.notes.input-spaceBottom8":"f3088","blocks-requests.notes.item-resetList":"f3089","blocks-requests.notes.item-resetLink":"f3090","blocks-requests.notes.item-resetBtn":"f3091","blocks-requests.notes.item-btnAgree":"f3092","blocks-requests.notes.item-btnNeutral":"f3093","blocks-requests.notes.item-btnLight":"f3094","blocks-requests.notes.item-btnEmpty":"f3095","blocks-requests.notes.item-input40":"f3096","blocks-requests.notes.item-input40:hover":"f3097","blocks-requests.notes.item-clientInfo":"f3098","blocks-requests.notes.item-textH3":"f3099","blocks-requests.notes.item-textLB":"f3100","blocks-requests.notes.item-textS":"f3101","blocks-requests.notes.item-textM":"f3102","blocks-requests.notes.item-colorTextPrim":"f3103","blocks-requests.notes.item-colorTextSec":"f3104","blocks-requests.notes.item-colorTextTetr":"f3105","blocks-requests.notes.item-colorTextAcc":"f3106","blocks-requests.notes.item-clientInfo__main":"f3107","blocks-requests.notes.item-clientInfo__scroll":"f3108","blocks-requests.notes.item-clientInfo__content":"f3109","blocks-requests.notes.item-clientInfo__item":"f3110","blocks-requests.notes.item-clientInfo__container":"f3111","blocks-requests.notes.item-clientInfo__buttons":"f3112","blocks-requests.notes.item-btnEdit":"f3113","blocks-requests.notes.item-clientInfo__commentInfo":"f3114","blocks-requests.notes.item-commentInput":"f3115","blocks-requests.notes.item-commentInput__buttons":"f3116","blocks-requests.notes.item-commentInput__input":"f3117","blocks-requests.notes.item-clientInfo__section":"f3118","blocks-requests.notes.item-clientStatistic":"f3119","blocks-requests.notes.item-clientInfo__title":"f3120","blocks-requests.notes.item-clientInfo__notes":"f3121","blocks-requests.notes.item-flexFull":"f3122","blocks-requests.notes.item-cloudElement":"f3123","blocks-requests.notes.item-clientInfo__menu":"f3124","blocks-requests.notes.item-clientInfoMenu":"f3125","blocks-requests.notes.item-clientInfoMenu__scrollContainer":"f3126","blocks-requests.notes.item-clientInfoMenu__main":"f3127","blocks-requests.notes.item-clientInfoMenu__head":"f3128","blocks-requests.notes.item-clientInfoMenu__title":"f3129","blocks-requests.notes.item-clientInfoMenu__overflow":"f3130","blocks-requests.notes.item-clientInfoMenu__bigText":"f3131","blocks-requests.notes.item-clientInfoOnline":"f3132","blocks-requests.notes.item-clientInfoMenu__section":"f3133","blocks-requests.notes.item-clientInfoMenu__subtitle":"f3134","blocks-requests.notes.item-clientInfoMenu__list":"f3135","blocks-requests.notes.item-clientInfoMenu__item":"f3136","blocks-requests.notes.item-spaceBottom24":"f3137","blocks-requests.notes.item-spaceBottom16":"f3138","blocks-requests.notes.item-spaceBottom12":"f3139","blocks-requests.notes.item-spaceBottom8":"f3140","blocks-requests.notes-resetList":"f3141","blocks-requests.notes-resetLink":"f3142","blocks-requests.notes-resetBtn":"f3143","blocks-requests.notes-btnAgree":"f3144","blocks-requests.notes-btnNeutral":"f3145","blocks-requests.notes-btnLight":"f3146","blocks-requests.notes-btnEmpty":"f3147","blocks-requests.notes-input40":"f3148","blocks-requests.notes-input40:hover":"f3149","blocks-requests.notes-clientInfo":"f3150","blocks-requests.notes-textH3":"f3151","blocks-requests.notes-textLB":"f3152","blocks-requests.notes-textS":"f3153","blocks-requests.notes-textM":"f3154","blocks-requests.notes-colorTextPrim":"f3155","blocks-requests.notes-colorTextSec":"f3156","blocks-requests.notes-colorTextTetr":"f3157","blocks-requests.notes-colorTextAcc":"f3158","blocks-requests.notes-clientInfo__main":"f3159","blocks-requests.notes-clientInfo__scroll":"f3160","blocks-requests.notes-clientInfo__content":"f3161","blocks-requests.notes-clientInfo__item":"f3162","blocks-requests.notes-btnClose":"f3163","blocks-requests.notes-clientInfo__commentInfo":"f3164","blocks-requests.notes-commentInput":"f3165","blocks-requests.notes-commentInput__buttons":"f3166","blocks-requests.notes-commentInput__input":"f3167","blocks-requests.notes-clientInfo__section":"f3168","blocks-requests.notes-clientStatistic":"f3169","blocks-requests.notes-clientInfo__title":"f3170","blocks-requests.notes-clientInfo__notes":"f3171","blocks-requests.notes-flexFull":"f3172","blocks-requests.notes-cloudElement":"f3173","blocks-requests.notes-clientInfo__menu":"f3174","blocks-requests.notes-clientInfoMenu":"f3175","blocks-requests.notes-clientInfoMenu__scrollContainer":"f3176","blocks-requests.notes-clientInfoMenu__main":"f3177","blocks-requests.notes-clientInfoMenu__head":"f3178","blocks-requests.notes-clientInfoMenu__title":"f3179","blocks-requests.notes-clientInfoMenu__overflow":"f3180","blocks-requests.notes-clientInfoMenu__bigText":"f3181","blocks-requests.notes-clientInfoOnline":"f3182","blocks-requests.notes-clientInfoMenu__section":"f3183","blocks-requests.notes-clientInfoMenu__subtitle":"f3184","blocks-requests.notes-clientInfoMenu__list":"f3185","blocks-requests.notes-clientInfoMenu__item":"f3186","blocks-requests.notes-spaceBottom24":"f3187","blocks-requests.notes-spaceBottom16":"f3188","blocks-requests.notes-spaceBottom12":"f3189","blocks-requests.notes-spaceBottom8":"f3190","blocks-requests.request-resetList":"f3191","blocks-requests.request-resetLink":"f3192","blocks-requests.request-resetBtn":"f3193","blocks-requests.request-btnAgree":"f3194","blocks-requests.request-btnCancel":"f3195","blocks-requests.request-btnAgreeLight":"f3196","blocks-requests.request-requests__search":"f3197","blocks-requests.request-wrapper":"f3198","blocks-requests.request-textDarkMainBase":"f3199","blocks-requests.request-textH2":"f3200","blocks-requests.request-requests":"f3201","blocks-requests.request-requests__head":"f3202","blocks-requests.request-requestsHead":"f3203","blocks-requests.request-requestsHead__requestsList":"f3204","blocks-requests.request-requestsHead__btn":"f3205","blocks-requests.request-requestsHead__btnImg":"f3206","blocks-requests.request-editrequestsHead__title":"f3207","blocks-requests.request-requests__main":"f3208","blocks-requests.requestContent-resetList":"f3209","blocks-requests.requestContent-resetLink":"f3210","blocks-requests.requestContent-resetBtn":"f3211","blocks-requests.requestContent-btnAgree":"f3212","blocks-requests.requestContent-btnNeutral":"f3213","blocks-requests.requestContent-btnLight":"f3214","blocks-requests.requestContent-btnEmpty":"f3215","blocks-requests.requestContent-input40":"f3216","blocks-requests.requestContent-input40:hover":"f3217","blocks-requests.requestContent-requestContent":"f3218","blocks-requests.requestContent-textH3":"f3219","blocks-requests.requestContent-textLB":"f3220","blocks-requests.requestContent-textS":"f3221","blocks-requests.requestContent-textM":"f3222","blocks-requests.requestContent-colorTextPrim":"f3223","blocks-requests.requestContent-colorTextSec":"f3224","blocks-requests.requestContent-colorTextTetr":"f3225","blocks-requests.requestContent-colorTextAcc":"f3226","blocks-requests.requestContent-colorTextDanger":"f3227","blocks-requests.requestContent-colorTextPositive":"f3228","blocks-requests.requestContent-requestContent__main":"f3229","blocks-requests.requestContent-requestContent__scroll":"f3230","blocks-requests.requestContent-requestContent__content":"f3231","blocks-requests.requestContent-requestContent__item":"f3232","blocks-requests.requestContent-btnClose":"f3233","blocks-requests.requestContent-requestContent__commentInfo":"f3234","blocks-requests.requestContent-commentInput":"f3235","blocks-requests.requestContent-commentInput__buttons":"f3236","blocks-requests.requestContent-commentInput__input":"f3237","blocks-requests.requestContent-requestContent__section":"f3238","blocks-requests.requestContent-clientStatistic":"f3239","blocks-requests.requestContent-requestContent__title":"f3240","blocks-requests.requestContent-requestContent__subHead":"f3241","blocks-requests.requestContent-requestContent__notes":"f3242","blocks-requests.requestContent-flexFull":"f3243","blocks-requests.requestContent-cloudElement":"f3244","blocks-requests.requestContent-requestContent__menu":"f3245","blocks-requests.requestContent-requestContentMenu":"f3246","blocks-requests.requestContent-requestContentMenu__scrollContainer":"f3247","blocks-requests.requestContent-requestContentMenu__main":"f3248","blocks-requests.requestContent-requestContentMenu__head":"f3249","blocks-requests.requestContent-requestContentMenu__title":"f3250","blocks-requests.requestContent-requestContentMenu__overflow":"f3251","blocks-requests.requestContent-requestContentMenu__bigText":"f3252","blocks-requests.requestContent-requestContentOnline":"f3253","blocks-requests.requestContent-requestContentMenu__section":"f3254","blocks-requests.requestContent-requestContentMenu__subtitle":"f3255","blocks-requests.requestContent-requestContentMenu__list":"f3256","blocks-requests.requestContent-requestContentMenu__item":"f3257","blocks-requests.requestContent-spaceBottom24":"f3258","blocks-requests.requestContent-spaceBottom16":"f3259","blocks-requests.requestContent-spaceBottom12":"f3260","blocks-requests.requestContent-spaceBottom8":"f3261","blocks-requests.requestContent-requestContentEmpty":"f3262","blocks-requests.requestContent-requestContent__emptyComment":"f3263","blocks-requests.requestContent-requestContentInput":"f3264","blocks-requests.requestContent-requestContentInput__input":"f3265","blocks-requests.requestContent-requestContentInput__container":"f3266","blocks-requests.requestMain-resetList":"f3267","blocks-requests.requestMain-resetLink":"f3268","blocks-requests.requestMain-resetBtn":"f3269","blocks-requests.requestMain-btnAgree":"f3270","blocks-requests.requestMain-btnNeutral":"f3271","blocks-requests.requestMain-btnLight":"f3272","blocks-requests.requestMain-btnEmpty":"f3273","blocks-requests.requestMain-btnDangLight":"f3274","blocks-requests.requestMain-input40":"f3275","blocks-requests.requestMain-input40:hover":"f3276","blocks-requests.requestMain-requestMain":"f3277","blocks-requests.requestMain-textH3":"f3278","blocks-requests.requestMain-textLB":"f3279","blocks-requests.requestMain-textS":"f3280","blocks-requests.requestMain-textM":"f3281","blocks-requests.requestMain-colorTextPrim":"f3282","blocks-requests.requestMain-colorTextSec":"f3283","blocks-requests.requestMain-colorTextTetr":"f3284","blocks-requests.requestMain-requestMain__main":"f3285","blocks-requests.requestMain-requestMain__scroll":"f3286","blocks-requests.requestMain-requestMain__content":"f3287","blocks-requests.requestMain-requestMain__item":"f3288","blocks-requests.requestMain-btnClose":"f3289","blocks-requests.requestMain-requestMain__commentInfo":"f3290","blocks-requests.requestMain-commentInput":"f3291","blocks-requests.requestMain-commentInput__buttons":"f3292","blocks-requests.requestMain-commentInput__input":"f3293","blocks-requests.requestMain-requestMain__section":"f3294","blocks-requests.requestMain-clientStatistic":"f3295","blocks-requests.requestMain-requestMain__title":"f3296","blocks-requests.requestMain-requestMain__notes":"f3297","blocks-requests.requestMain-flexFull":"f3298","blocks-requests.requestMain-cloudElement":"f3299","blocks-requests.requestMain-requestMain__menu":"f3300","blocks-requests.requestMain-requestMainMenu":"f3301","blocks-requests.requestMain-requestMainMenu__scrollContainer":"f3302","blocks-requests.requestMain-requestMainMenu__main":"f3303","blocks-requests.requestMain-requestMainMenu__head":"f3304","blocks-requests.requestMain-requestMainMenu__userContainer":"f3305","blocks-requests.requestMain-requestMainMenu__title":"f3306","blocks-requests.requestMain-requestMainMenu__user":"f3307","blocks-requests.requestMain-requestMainMenu__section":"f3308","blocks-requests.requestMain-requestMainMenu__noReceipt":"f3309","blocks-requests.requestMain-requestMainMenu__container":"f3310","blocks-requests.requestMain-requestMainMenu__subtitle":"f3311","blocks-requests.requestMain-requestMainMenu__list":"f3312","blocks-requests.requestMain-requestMainMenu__item":"f3313","blocks-requests.requestMain-spaceBottom24":"f3314","blocks-requests.requestMain-spaceBottom20":"f3315","blocks-requests.requestMain-spaceBottom16":"f3316","blocks-requests.requestMain-spaceBottom12":"f3317","blocks-requests.requestMain-spaceBottom8":"f3318","blocks-requests-resetList":"f3319","blocks-requests-resetLink":"f3320","blocks-requests-resetBtn":"f3321","blocks-requests-btnAgree":"f3322","blocks-requests-btnAgreeLight":"f3323","blocks-requests-requests__search":"f3324","blocks-requests-wrapper":"f3325","blocks-requests-textDarkMainBase":"f3326","blocks-requests-textH2":"f3327","blocks-requests-requests":"f3328","blocks-requests-requests__head":"f3329","blocks-requests-requestsHead":"f3330","blocks-requests-requestsHead__requestsList":"f3331","blocks-requests-requests__tab":"f3332","blocks-requests-requests__title":"f3333","blocks-requests-editrequestsHead__title":"f3334","blocks-requests-requests__main":"f3335","blocks-requests.requestsModal.requestAdd-resetList":"f3336","blocks-requests.requestsModal.requestAdd-input__input":"f3337","blocks-requests.requestsModal.requestAdd-input__input:hover":"f3338","blocks-requests.requestsModal.requestAdd-resetBtn":"f3339","blocks-requests.requestsModal.requestAdd-btnLight":"f3340","blocks-requests.requestsModal.requestAdd-input-invalid":"f3341","blocks-requests.requestsModal.requestAdd-colorTextPr":"f3342","blocks-requests.requestsModal.requestAdd-colorTextSec":"f3343","blocks-requests.requestsModal.requestAdd-textH3":"f3344","blocks-requests.requestsModal.requestAdd-textS":"f3345","blocks-requests.requestsModal.requestAdd-textM":"f3346","blocks-requests.requestsModal.requestAdd-blocks-requests.requestsModal.requestAdd":"f3347","blocks-requests.requestsModal.requestAdd-requestModalContent__head":"f3348","blocks-requests.requestsModal.requestAdd-requestModalContent__title":"f3349","blocks-requests.requestsModal.requestAdd-requestModalContent__text":"f3350","blocks-requests.requestsModal.requestAdd-requestModalContent__tab":"f3351","blocks-requests.requestsModal.requestAdd-requestModalContent__close":"f3352","blocks-requests.requestsModal.requestAdd-requestModalContent__scroll":"f3353","blocks-requests.requestsModal.requestAdd-requestModalContent__scrollContainer":"f3354","blocks-requests.requestsModal.requestAdd-input":"f3355","blocks-requests.requestsModal.requestAdd-input__title":"f3356","blocks-requests.requestsModal.requestAdd-inputLongSmall":"f3357","blocks-requests.requestsModal.requestAdd-requestModalContent__input":"f3358","blocks-requests.requestsModal.requestAdd-requestModalContent__container":"f3359","blocks-requests.requestsModal.requestAdd-requestModalContent__item":"f3360","blocks-requests.requestsModal.requestAdd-requestModalContent__clear":"f3361","blocks-requests.requestsModal.requestAdd-requestModalContent__operator":"f3362","blocks-requests.requestsModal.requestAdd-requestModalContent__textarea":"f3363","blocks-requests.requestsModal.requestAdd-requestModalContent__linkarea":"f3364","blocks-requests.requestsModal.requestAdd-spaceBottom24":"f3365","blocks-requests.requestsModal.requestAdd-spaceBottom16":"f3366","blocks-requests.requestsModal.requestAdd-spaceBottom12":"f3367","blocks-requests.requestsModal.requestAdd-spaceBottom8":"f3368","blocks-requests.requestsModal.requestCanceled-resetList":"f3369","blocks-requests.requestsModal.requestCanceled-input__input":"f3370","blocks-requests.requestsModal.requestCanceled-input__input:hover":"f3371","blocks-requests.requestsModal.requestCanceled-colorTextPr":"f3372","blocks-requests.requestsModal.requestCanceled-colorTextSec":"f3373","blocks-requests.requestsModal.requestCanceled-textH3":"f3374","blocks-requests.requestsModal.requestCanceled-textS":"f3375","blocks-requests.requestsModal.requestCanceled-textM":"f3376","blocks-requests.requestsModal.requestCanceled-blocks-requests.requestsModal.requestCanceled":"f3377","blocks-requests.requestsModal.requestCanceled-requestModalContent__head":"f3378","blocks-requests.requestsModal.requestCanceled-requestModalContent__title":"f3379","blocks-requests.requestsModal.requestCanceled-requestModalContent__text":"f3380","blocks-requests.requestsModal.requestCanceled-requestModalContent__tab":"f3381","blocks-requests.requestsModal.requestCanceled-requestModalContent__close":"f3382","blocks-requests.requestsModal.requestCanceled-requestModalContent__scroll":"f3383","blocks-requests.requestsModal.requestCanceled-requestModalContent__scrollContainer":"f3384","blocks-requests.requestsModal.requestCanceled-requestModalContent__section":"f3385","blocks-requests.requestsModal.requestCanceled-input":"f3386","blocks-requests.requestsModal.requestCanceled-input__title":"f3387","blocks-requests.requestsModal.requestCanceled-requestModalContent__textarea":"f3388","blocks-requests.requestsModal.requestCanceled-requestModalContent__linkarea":"f3389","blocks-requests.requestsModal.requestCompleted-resetList":"f3390","blocks-requests.requestsModal.requestCompleted-input__input":"f3391","blocks-requests.requestsModal.requestCompleted-input__input:hover":"f3392","blocks-requests.requestsModal.requestCompleted-colorTextPr":"f3393","blocks-requests.requestsModal.requestCompleted-colorTextSec":"f3394","blocks-requests.requestsModal.requestCompleted-textH3":"f3395","blocks-requests.requestsModal.requestCompleted-textS":"f3396","blocks-requests.requestsModal.requestCompleted-textM":"f3397","blocks-requests.requestsModal.requestCompleted-blocks-requests.requestsModal.requestCompleted":"f3398","blocks-requests.requestsModal.requestCompleted-requestModalContent__head":"f3399","blocks-requests.requestsModal.requestCompleted-requestModalContent__title":"f3400","blocks-requests.requestsModal.requestCompleted-requestModalContent__text":"f3401","blocks-requests.requestsModal.requestCompleted-requestModalContent__tab":"f3402","blocks-requests.requestsModal.requestCompleted-requestModalContent__close":"f3403","blocks-requests.requestsModal.requestCompleted-requestModalContent__scroll":"f3404","blocks-requests.requestsModal.requestCompleted-requestModalContent__scrollContainer":"f3405","blocks-requests.requestsModal.requestCompleted-requestModalContent__section":"f3406","blocks-requests.requestsModal.requestCompleted-input":"f3407","blocks-requests.requestsModal.requestCompleted-input__title":"f3408","blocks-requests.requestsModal.requestCompleted-requestModalContent__textarea":"f3409","blocks-requests.requestsModal.requestCompleted-requestModalContent__linkarea":"f3410","blocks-requests.requestsModal.requestConfirm-resetList":"f3411","blocks-requests.requestsModal.requestConfirm-input__input":"f3412","blocks-requests.requestsModal.requestConfirm-input__input:hover":"f3413","blocks-requests.requestsModal.requestConfirm-colorTextPr":"f3414","blocks-requests.requestsModal.requestConfirm-colorTextSec":"f3415","blocks-requests.requestsModal.requestConfirm-textH3":"f3416","blocks-requests.requestsModal.requestConfirm-textS":"f3417","blocks-requests.requestsModal.requestConfirm-textM":"f3418","blocks-requests.requestsModal.requestConfirm-blocks-requests.requestsModal.requestConfirm":"f3419","blocks-requests.requestsModal.requestConfirm-requestModalContent__head":"f3420","blocks-requests.requestsModal.requestConfirm-requestModalContent__title":"f3421","blocks-requests.requestsModal.requestConfirm-requestModalContent__text":"f3422","blocks-requests.requestsModal.requestConfirm-requestModalContent__tab":"f3423","blocks-requests.requestsModal.requestConfirm-requestModalContent__close":"f3424","blocks-requests.requestsModal.requestConfirm-requestModalContent__scroll":"f3425","blocks-requests.requestsModal.requestConfirm-requestModalContent__scrollContainer":"f3426","blocks-requests.requestsModal.requestConfirm-requestModalContent__section":"f3427","blocks-requests.requestsModal.requestConfirm-input":"f3428","blocks-requests.requestsModal.requestConfirm-input__title":"f3429","blocks-requests.requestsModal.requestConfirm-requestModalContent__textarea":"f3430","blocks-requests.requestsModal.requestConfirm-requestModalContent__linkarea":"f3431","blocks-requests.requestsModal-requestModal__tag":"f3432","blocks-requests.requestsModal-resetBtn":"f3433","blocks-requests.requestsModal-btnAgree":"f3434","blocks-requests.requestsModal-btnNeutral":"f3435","blocks-requests.requestsModal-btnCancel":"f3436","blocks-requests.requestsModal-input-invalid":"f3437","blocks-requests.requestsModal-ColorTextPr":"f3438","blocks-requests.requestsModal-textH3":"f3439","blocks-requests.requestsModal-textM":"f3440","blocks-requests.requestsModal-requestModal":"f3441","blocks-requests.requestsModal-requestModal__container":"f3442","blocks-requests.requestsModal-requestModal__close":"f3443","blocks-requests.requestsModal-requestModal__block":"f3444","blocks-requests.requestsModal-requestModal__head":"f3445","blocks-requests.requestsModal-requestModal__title":"f3446","blocks-requests.requestsModal-requestModal__scroll":"f3447","blocks-requests.requestsModal-requestModal__scrollContainer":"f3448","blocks-requests.requestsModal-requestModal__info":"f3449","blocks-requests.requestsModal-requestModalInfo":"f3450","blocks-requests.requestsModal-requestModalInfo__item":"f3451","blocks-requests.requestsModal-requestModalInfo__subtitle":"f3452","blocks-requests.requestsModal-requestModalInfo__text":"f3453","blocks-requests.requestsModal-requestModalInfo__container":"f3454","blocks-requests.requestsModal-requestModalInfo__content":"f3455","blocks-requests.requestsModal-requestModal__menu":"f3456","blocks-requests.requestsModal-requestModal__btnGroup":"f3457","blocks-requests.requestsModal-wholeWidth":"f3458","blocks-requests.requestsModal.requestServices-resetList":"f3459","blocks-requests.requestsModal.requestServices-input__input":"f3460","blocks-requests.requestsModal.requestServices-input__input:hover":"f3461","blocks-requests.requestsModal.requestServices-resetBtn":"f3462","blocks-requests.requestsModal.requestServices-btnLight":"f3463","blocks-requests.requestsModal.requestServices-colorTextPr":"f3464","blocks-requests.requestsModal.requestServices-colorTextSec":"f3465","blocks-requests.requestsModal.requestServices-textH3":"f3466","blocks-requests.requestsModal.requestServices-textS":"f3467","blocks-requests.requestsModal.requestServices-textM":"f3468","blocks-requests.requestsModal.requestServices-requestServices":"f3469","blocks-requests.requestsModal.requestServices-requestServices__head":"f3470","blocks-requests.requestsModal.requestServices-requestServices__btnHead":"f3471","blocks-requests.requestsModal.requestServices-requestServices__btnImg":"f3472","blocks-requests.requestsModal.requestServices-requestServices__title":"f3473","blocks-requests.requestsModal.requestServices-requestServices__text":"f3474","blocks-requests.requestsModal.requestServices-requestServices__scroll":"f3475","blocks-requests.requestsModal.requestServices-requestServices__scrollContainer":"f3476","blocks-requests.requestsModal.requestServices-servicesModalT__list":"f3477","blocks-requests.requestsModal.requestServices-input48":"f3478","blocks-requests.requestsModal.requestServices-input48:hover":"f3479","blocks-requests.requestsModal.requestServices-servicesModalTIput":"f3480","blocks-requests.requestsModal.requestServices-servicesModalTIput__input":"f3481","blocks-requests.requestsModal.requestServices-servicesModalTIput__img":"f3482","blocks-requests.requestsModal.requestServices-servicesBlock":"f3483","blocks-requests.requestsModal.requestServices-servicesBlock__btn":"f3484","blocks-requests.requestsModal.requestServices-servicesBlock__img01":"f3485","blocks-requests.requestsModal.requestServices-servicesBlock__favorite":"f3486","blocks-requests.requestsModal.requestServices-servicesBlock__img02":"f3487","blocks-requests.requestsModal.requestServices-opacityVisible":"f3488","blocks-requests.requestsModal.requestServices-spaceBottom24":"f3489","blocks-requests.requestsModal.requestServices-spaceBottom16":"f3490","blocks-requests.requestsModal.requestServices-spaceBottom12":"f3491","blocks-requests.requestsModal.requestServices-spaceBottom8":"f3492","blocks-search-resetList":"f3493","blocks-search-resetLink":"f3494","blocks-search-resetBtn":"f3495","blocks-search-search__btn":"f3496","blocks-search-search__container":"f3497","blocks-search-search__off":"f3498","blocks-search-searchBtn":"f3499","blocks-search-search__icon":"f3500","blocks-search-search__on":"f3501","blocks-search-search__input":"f3502","blocks-search-search__iconBig":"f3503","blocks-search-search__cancel":"f3504","blocks-search-result":"f3505","blocks-searchResult-item":"f3506","blocks-searchResult-previewContain":"f3507","blocks-searchResult-preview":"f3508","blocks-searchResult-body":"f3509","blocks-searchResult-title":"f3510","blocks-searchResult-date":"f3511","blocks-searchResult-searchBarResult":"f3512","blocks-searchResult-ContainShowAll":"f3513","blocks-searchResult-showAll":"f3514","blocks-searchResult-wrapper":"f3515","blocks-searchResult-content":"f3516","blocks-searchResult-overlay":"f3517","blocks-select_40-resetBtn":"f3518","blocks-select_40-textDarkMainBase":"f3519","blocks-select_40-textM":"f3520","blocks-select_40-select":"f3521","blocks-select_40-select__img":"f3522","blocks-select_50-resetBtn":"f3523","blocks-select_50-block-select-container":"f3524","blocks-select_50-block-select-first":"f3525","blocks-select_50-block-select-list":"f3526","blocks-select_50-blockSelectScroll":"f3527","blocks-select_50-block-select-item":"f3528","blocks-select_50-block-select-img":"f3529","blocks-select_50-blockSelectFocus":"f3530","blocks-select_50-textColor":"f3531","blocks-select_50-select-mode":"f3532","blocks-select_50-select-type":"f3533","blocks-select_50-error":"f3534","blocks-service.info-resetList":"f3535","blocks-service.info-resetLink":"f3536","blocks-service.info-resetBtn":"f3537","blocks-service.info-btnAgree":"f3538","blocks-service.info-btnNeutral":"f3539","blocks-service.info-btnLight":"f3540","blocks-service.info-btnEmpty":"f3541","blocks-service.info-input40":"f3542","blocks-service.info-input40:hover":"f3543","blocks-service.info-clientInfo":"f3544","blocks-service.info-textH3":"f3545","blocks-service.info-textLB":"f3546","blocks-service.info-textS":"f3547","blocks-service.info-textM":"f3548","blocks-service.info-colorTextPrim":"f3549","blocks-service.info-colorTextSec":"f3550","blocks-service.info-colorTextTetr":"f3551","blocks-service.info-colorTextAcc":"f3552","blocks-service.info-clientInfo__main":"f3553","blocks-service.info-clientInfo__scroll":"f3554","blocks-service.info-clientInfo__content":"f3555","blocks-service.info-clientInfo__item":"f3556","blocks-service.info-btnClose":"f3557","blocks-service.info-clientInfo__commentInfo":"f3558","blocks-service.info-commentInput":"f3559","blocks-service.info-commentInput__buttons":"f3560","blocks-service.info-commentInput__input":"f3561","blocks-service.info-clientInfo__section":"f3562","blocks-service.info-clientStatistic":"f3563","blocks-service.info-clientInfo__title":"f3564","blocks-service.info-clientInfo__notes":"f3565","blocks-service.info-flexFull":"f3566","blocks-service.info-cloudElement":"f3567","blocks-service.info-cloudElementSmall":"f3568","blocks-service.info-clientInfo__menu":"f3569","blocks-service.info-clientInfoMenu":"f3570","blocks-service.info-clientInfoMenu__scrollContainer":"f3571","blocks-service.info-clientInfoMenu__main":"f3572","blocks-service.info-clientInfoMenu__head":"f3573","blocks-service.info-clientInfoMenu__title":"f3574","blocks-service.info-clientInfoMenu__overflow":"f3575","blocks-service.info-clientInfoMenu__bigText":"f3576","blocks-service.info-clientInfoMenu__section":"f3577","blocks-service.info-clientInfoMenu__subtitle":"f3578","blocks-service.info-clientInfoMenu__list":"f3579","blocks-service.info-clientInfoMenu__item":"f3580","blocks-service.info-spaceBottom24":"f3581","blocks-service.info-spaceBottom16":"f3582","blocks-service.info-spaceBottom12":"f3583","blocks-service.info-spaceBottom8":"f3584","blocks-tab_partners-resetList":"f3585","blocks-tab_partners-resetLink":"f3586","blocks-tab_partners-resetBtn":"f3587","blocks-tab_partners-btn-agree":"f3588","blocks-tab_partners-btn-agree-small":"f3589","blocks-tab_partners-btn-cencel":"f3590","blocks-tab_partners-textDarkMainBase":"f3591","blocks-tab_partners-dark500base":"f3592","blocks-tab_partners-dark400base":"f3593","blocks-tab_partners-accentMainBase":"f3594","blocks-tab_partners-textH2":"f3595","blocks-tab_partners-textH3":"f3596","blocks-tab_partners-textH4":"f3597","blocks-tab_partners-textMB":"f3598","blocks-tab_partners-textM":"f3599","blocks-tab_partners-textSB":"f3600","blocks-tab_partners-textS":"f3601","blocks-tab_partners-textCaptionS":"f3602","blocks-tab_partners-partners":"f3603","blocks-tab_partners-partners__main":"f3604","blocks-tab_partners-scroll-bar":"f3605","blocks-tab_partners-scroll-bar__container":"f3606","blocks-tab_partners-categories":"f3607","blocks-tab_partners-categories__head":"f3608","blocks-tab_partners-categories__container":"f3609","blocks-tab_partners-categories__section":"f3610","blocks-tab_partners-categories__subtitle":"f3611","blocks-tab_partners-categories__list":"f3612","blocks-tab_partners-categories__item":"f3613","blocks-tab_partners-organization":"f3614","blocks-tab_partners-categories__text":"f3615","blocks-tab_partners-categories__btn-delete":"f3616","blocks-tab_partners-partner-list":"f3617","blocks-tab_partners-partner-list__list":"f3618","blocks-tab_partners-partner-list__head":"f3619","blocks-tab_partners-partner-list__search":"f3620","blocks-tab_partners-partner-list__item":"f3621","blocks-tab_partners-organization__logo":"f3622","blocks-tab_partners-organization__container":"f3623","blocks-tab_partners-organization__text":"f3624","blocks-tab_partners-partners__btn-container":"f3625","blocks-tab-resetList":"f3626","blocks-tab-resetBtn":"f3627","blocks-tab-orgTabContainer":"f3628","blocks-tab-tabListNav":"f3629","blocks-tab-tabNavItem":"f3630","blocks-tab-tabNavBtn":"f3631","blocks-tab-tabNavBtnActiv":"f3632","blocks-table.bool-ivent__cell":"f3633","blocks-table.bool-textM":"f3634","blocks-table.bool-dark500base":"f3635","blocks-table.bool-badge":"f3636","blocks-table.bool-bagePositive":"f3637","blocks-table.bool-bageAccent":"f3638","blocks-table.bool-bageError":"f3639","blocks-table.bool-bageWarning":"f3640","blocks-table.chat_client-ivent__cell":"f3641","blocks-table.chat_client-tableClient":"f3642","blocks-table.chat_client-tableClient__container":"f3643","blocks-table.chat_client-tableClient__text":"f3644","blocks-table.chat_client-column02HoverWidth":"f3645","blocks-table.chat_client-textM":"f3646","blocks-table.chat_client-textS":"f3647","blocks-table.chat_client-textSecondery":"f3648","blocks-table.chat_client-textTertiary":"f3649","blocks-table.chat_client-textDarkMainBase":"f3650","blocks-table.chat_message-ivent__cell":"f3651","blocks-table.chat_message-ivent__fitContent":"f3652","blocks-table.chat_message-iventNoMessage":"f3653","blocks-table.chat_message-ivent__marker":"f3654","blocks-table.chat_message-ivent__attachment":"f3655","blocks-table.chat_message-column02HoverWidth":"f3656","blocks-table.chat_message-textM":"f3657","blocks-table.chat_message-textS":"f3658","blocks-table.chat_message-colorBase":"f3659","blocks-table.chat_message-darkSecond":"f3660","blocks-table.chat_message-spaceBottom4":"f3661","blocks-table.client-resetLink":"f3662","blocks-table.client-ivent__cell":"f3663","blocks-table.client-tableClient":"f3664","blocks-table.client-tableClient__container":"f3665","blocks-table.client-tableClient__text":"f3666","blocks-table.client-tableClient__subtext":"f3667","blocks-table.client-column02HoverWidth":"f3668","blocks-table.client-textM":"f3669","blocks-table.client-textS":"f3670","blocks-table.client-textSecondery":"f3671","blocks-table.client-textTertiary":"f3672","blocks-table.client-textDarkMainBase":"f3673","blocks-table.client2-resetLink":"f3674","blocks-table.client2-ivent__cell":"f3675","blocks-table.client2-tableClient":"f3676","blocks-table.client2-tableClient__container":"f3677","blocks-table.client2-tableClient__text":"f3678","blocks-table.client2-tableClient__subtext":"f3679","blocks-table.client2-column02HoverWidth":"f3680","blocks-table.client2-textM":"f3681","blocks-table.client2-textS":"f3682","blocks-table.client2-textSecondery":"f3683","blocks-table.client2-textTertiary":"f3684","blocks-table.client2-textDarkMainBase":"f3685","blocks-table.datetime-ivent__cell":"f3686","blocks-table.datetime-textM":"f3687","blocks-table.datetime-dark500base":"f3688","blocks-table.fewWords-ivent__cell":"f3689","blocks-table.fewWords-ivent__fitContent":"f3690","blocks-table.fewWords-column02HoverWidth":"f3691","blocks-table.fewWords-textM":"f3692","blocks-table.fewWords-textDarkMainBase":"f3693","blocks-table.id-ivent__cell":"f3694","blocks-table.id-ivent__background":"f3695","blocks-table.id-textM":"f3696","blocks-table.id-dark500base":"f3697","blocks-table.operator-resetLink":"f3698","blocks-table.operator-ivent__cell":"f3699","blocks-table.operator-tableClient":"f3700","blocks-table.operator-tableClient__container":"f3701","blocks-table.operator-tableClient__text":"f3702","blocks-table.operator-tableClient__subtext":"f3703","blocks-table.operator-column02HoverWidth":"f3704","blocks-table.operator-textM":"f3705","blocks-table.operator-textS":"f3706","blocks-table.operator-textSecondery":"f3707","blocks-table.operator-textTertiary":"f3708","blocks-table.operator-textDarkMainBase":"f3709","blocks-table.short_text-ivent__cell":"f3710","blocks-table.short_text-ivent__fitContent":"f3711","blocks-table.short_text-textSB":"f3712","blocks-table.short_text-dark500base":"f3713","blocks-table.status-ivent__cell":"f3714","blocks-table.status-textM":"f3715","blocks-table.status-dark500base":"f3716","blocks-table.status-badge":"f3717","blocks-table.status-bagePositive":"f3718","blocks-table.status-bageAccent":"f3719","blocks-table.status-bageError":"f3720","blocks-table.status-bageWarning":"f3721","blocks-table-resetList":"f3722","blocks-table-resetLink":"f3723","blocks-table-resetBtn":"f3724","blocks-table-btn-agree":"f3725","blocks-table-btnAgreeLight":"f3726","blocks-table-textDarkMainBase":"f3727","blocks-table-dark500base":"f3728","blocks-table-textH2":"f3729","blocks-table-textMB":"f3730","blocks-table-textM":"f3731","blocks-table-textSB":"f3732","blocks-table-textS":"f3733","blocks-table-textCaptionS":"f3734","blocks-table-ivent__wrapper":"f3735","blocks-table-ivent__scroll":"f3736","blocks-table-ivent__scrollContainer":"f3737","blocks-table-ivent__list":"f3738","blocks-table-ivent__subhead":"f3739","blocks-table-ivent__cellSubhead":"f3740","blocks-table-ivent__link":"f3741","blocks-table-ivent__cell":"f3742","blocks-table-ivent__fitContent":"f3743","blocks-table-column02HoverWidth":"f3744","blocks-table-column04HoverWidth":"f3745","blocks-table-column01":"f3746","blocks-table-column02":"f3747","blocks-table-column03":"f3748","blocks-table-column04":"f3749","blocks-table-column05":"f3750","blocks-table-column06":"f3751","blocks-table-column07":"f3752","blocks-table-column08":"f3753","blocks-table-column09":"f3754","blocks-table-column10":"f3755","blocks-table-badge":"f3756","blocks-table-bageReady":"f3757","blocks-table-bageDelete":"f3758","blocks-table-requests__leod":"f3759","blocks-table-requests__iconAnimation":"f3760","blocks-table-btnWidth145":"f3761","blocks-table-loader":"f3762","blocks-table-loader__container":"f3763","blocks-table-loader__img":"f3764","blocks-table-errorBlock":"f3765","blocks-table-errorBlock__container":"f3766","blocks-table-errorBlock__img":"f3767","blocks-table-errorBlock__text":"f3768","blocks-table.text-ivent__cell":"f3769","blocks-table.text-ivent__fitContent":"f3770","blocks-table.text-column04HoverWidth":"f3771","blocks-table.text-dark500base":"f3772","blocks-table.text-textM":"f3773","blocks-table.text-table.text":"f3774","blocks-table.title-ivent__cell":"f3775","blocks-table.title-ivent__fitContent":"f3776","blocks-table.title-column02HoverWidth":"f3777","blocks-table.title-textM":"f3778","blocks-table.title-textDarkMainBase":"f3779","blocks-table.user-resetLink":"f3780","blocks-table.user-ivent__cell":"f3781","blocks-table.user-tableClient":"f3782","blocks-table.user-tableClient__container":"f3783","blocks-table.user-tableClient__text":"f3784","blocks-table.user-textM":"f3785","blocks-table.user-textS":"f3786","blocks-table.user-textSecondery":"f3787","blocks-table.user-textTertiary":"f3788","blocks-table.user-textDarkMainBase":"f3789","blocks-tabTwo-resetList":"f3790","blocks-tabTwo-resetBtn":"f3791","blocks-tabTwo-orgTabContainer":"f3792","blocks-tabTwo-tabListNav":"f3793","blocks-tabTwo-tabNavItem":"f3794","blocks-tabTwo-tabNavBtn":"f3795","blocks-tabTwo-tabNavBtnActiv":"f3796","blocks-templates.icons-templatesInput__input":"f3797","blocks-templates.icons-templatesInput__input:hover":"f3798","blocks-templates.icons-resetList":"f3799","blocks-templates.icons-resetBtn":"f3800","blocks-templates.icons-btnLightAgree":"f3801","blocks-templates.icons-blocks-templates.inputs.TextInput":"f3802","blocks-templates.icons-scrollBlock":"f3803","blocks-templates.icons-scrollBlock__container":"f3804","blocks-templates.icons-templatesEditInputs__title":"f3805","blocks-templates.icons-templatesEditInputs__textInfo":"f3806","blocks-templates.icons-templatesEditInputs__subtitle":"f3807","blocks-templates.icons-templatesEditInputs__container":"f3808","blocks-templates.icons-templatesEditInputs__iconContainer":"f3809","blocks-templates.icons-templatesEditInputs__list":"f3810","blocks-templates.icons-templatesEditInputs__item":"f3811","blocks-templates.icons-templatesEditInputs__btnIcons":"f3812","blocks-templates.icons-btnIconsActive":"f3813","blocks-templates.icons-templatesEditInputs__input":"f3814","blocks-templates.icons-templatesEditInputs__tabContainer":"f3815","blocks-templates.icons-templatesInput":"f3816","blocks-templates.icons-spaceBottom32":"f3817","blocks-templates.icons-spaceBottom24":"f3818","blocks-templates.icons-spaceBottom16":"f3819","blocks-templates.icons-spaceBottom12":"f3820","blocks-templates.inputs.CounterInput-templatesInput__input":"f3821","blocks-templates.inputs.CounterInput-templatesInput__input:hover":"f3822","blocks-templates.inputs.CounterInput-resetList":"f3823","blocks-templates.inputs.CounterInput-resetBtn":"f3824","blocks-templates.inputs.CounterInput-btnLightAgree":"f3825","blocks-templates.inputs.CounterInput-input-invalid":"f3826","blocks-templates.inputs.CounterInput-blocks-templates.inputs.CounterInput":"f3827","blocks-templates.inputs.CounterInput-scrollBlock":"f3828","blocks-templates.inputs.CounterInput-scrollBlock__container":"f3829","blocks-templates.inputs.CounterInput-templatesEditInputs__head":"f3830","blocks-templates.inputs.CounterInput-templatesEditInputs__btns":"f3831","blocks-templates.inputs.CounterInput-templatesEditInputs__delete":"f3832","blocks-templates.inputs.CounterInput-templatesEditInputs__close":"f3833","blocks-templates.inputs.CounterInput-templatesEditInputs__title":"f3834","blocks-templates.inputs.CounterInput-templatesEditInputs__textInfo":"f3835","blocks-templates.inputs.CounterInput-templatesEditInputs__subtitle":"f3836","blocks-templates.inputs.CounterInput-templatesEditInputs__container":"f3837","blocks-templates.inputs.CounterInput-templatesEditInputs__iconContainer":"f3838","blocks-templates.inputs.CounterInput-templatesEditInputs__list":"f3839","blocks-templates.inputs.CounterInput-templatesEditInputs__item":"f3840","blocks-templates.inputs.CounterInput-templatesEditInputs__btnIcons":"f3841","blocks-templates.inputs.CounterInput-btnIconsActive":"f3842","blocks-templates.inputs.CounterInput-templatesEditInputs__input":"f3843","blocks-templates.inputs.CounterInput-templatesEditInputs__tabContainer":"f3844","blocks-templates.inputs.CounterInput-templatesInput":"f3845","blocks-templates.inputs.CounterInput-spaceBottom32":"f3846","blocks-templates.inputs.CounterInput-spaceBottom24":"f3847","blocks-templates.inputs.CounterInput-spaceBottom16":"f3848","blocks-templates.inputs.CounterInput-spaceBottom12":"f3849","blocks-templates.inputs.DataPicker-templatesInput__input":"f3850","blocks-templates.inputs.DataPicker-templatesInput__input:hover":"f3851","blocks-templates.inputs.DataPicker-resetList":"f3852","blocks-templates.inputs.DataPicker-resetBtn":"f3853","blocks-templates.inputs.DataPicker-btnLightAgree":"f3854","blocks-templates.inputs.DataPicker-input-invalid":"f3855","blocks-templates.inputs.DataPicker-blocks-templates.inputs.DataPicker":"f3856","blocks-templates.inputs.DataPicker-scrollBlock":"f3857","blocks-templates.inputs.DataPicker-scrollBlock__container":"f3858","blocks-templates.inputs.DataPicker-templatesEditInputs__head":"f3859","blocks-templates.inputs.DataPicker-templatesEditInputs__btns":"f3860","blocks-templates.inputs.DataPicker-templatesEditInputs__delete":"f3861","blocks-templates.inputs.DataPicker-templatesEditInputs__close":"f3862","blocks-templates.inputs.DataPicker-templatesEditInputs__title":"f3863","blocks-templates.inputs.DataPicker-templatesEditInputs__textInfo":"f3864","blocks-templates.inputs.DataPicker-templatesEditInputs__subtitle":"f3865","blocks-templates.inputs.DataPicker-templatesEditInputs__container":"f3866","blocks-templates.inputs.DataPicker-templatesEditInputs__iconContainer":"f3867","blocks-templates.inputs.DataPicker-templatesEditInputs__list":"f3868","blocks-templates.inputs.DataPicker-templatesEditInputs__item":"f3869","blocks-templates.inputs.DataPicker-templatesEditInputs__btnIcons":"f3870","blocks-templates.inputs.DataPicker-btnIconsActive":"f3871","blocks-templates.inputs.DataPicker-templatesEditInputs__input":"f3872","blocks-templates.inputs.DataPicker-templatesEditInputs__tabContainer":"f3873","blocks-templates.inputs.DataPicker-templatesInput":"f3874","blocks-templates.inputs.DataPicker-spaceBottom32":"f3875","blocks-templates.inputs.DataPicker-spaceBottom24":"f3876","blocks-templates.inputs.DataPicker-spaceBottom16":"f3877","blocks-templates.inputs.DataPicker-spaceBottom12":"f3878","blocks-templates.inputs.Img-templatesInput__input":"f3879","blocks-templates.inputs.Img-templatesInput__input:hover":"f3880","blocks-templates.inputs.Img-resetList":"f3881","blocks-templates.inputs.Img-resetBtn":"f3882","blocks-templates.inputs.Img-btnLightAgree":"f3883","blocks-templates.inputs.Img-blocks-templates.inputs.Img":"f3884","blocks-templates.inputs.Img-scrollBlock":"f3885","blocks-templates.inputs.Img-scrollBlock__container":"f3886","blocks-templates.inputs.Img-templatesEditInputs__head":"f3887","blocks-templates.inputs.Img-templatesEditInputs__btns":"f3888","blocks-templates.inputs.Img-templatesEditInputs__delete":"f3889","blocks-templates.inputs.Img-templatesEditInputs__close":"f3890","blocks-templates.inputs.Img-templatesEditInputs__title":"f3891","blocks-templates.inputs.Img-templatesEditInputs__textInfo":"f3892","blocks-templates.inputs.Img-templatesEditInputs__subtitle":"f3893","blocks-templates.inputs.Img-templatesEditInputs__container":"f3894","blocks-templates.inputs.Img-templatesEditInputs__iconContainer":"f3895","blocks-templates.inputs.Img-templatesEditInputs__list":"f3896","blocks-templates.inputs.Img-templatesEditInputs__item":"f3897","blocks-templates.inputs.Img-templatesEditInputs__btnIcons":"f3898","blocks-templates.inputs.Img-btnIconsActive":"f3899","blocks-templates.inputs.Img-templatesEditInputs__input":"f3900","blocks-templates.inputs.Img-templatesEditInputs__tabContainer":"f3901","blocks-templates.inputs.Img-templatesInput":"f3902","blocks-templates.inputs.Img-spaceBottom32":"f3903","blocks-templates.inputs.Img-spaceBottom24":"f3904","blocks-templates.inputs.Img-spaceBottom16":"f3905","blocks-templates.inputs.Img-spaceBottom12":"f3906","blocks-templates.inputs.Img.preview-resetBtn":"f3907","blocks-templates.inputs.Img.preview-btn-agree":"f3908","blocks-templates.inputs.Img.preview-btnChange":"f3909","blocks-templates.inputs.Img.preview-btn-neutral":"f3910","blocks-templates.inputs.Img.preview-resetList":"f3911","blocks-templates.inputs.Img.preview-btn-empty":"f3912","blocks-templates.inputs.Img.preview-btn-danger":"f3913","blocks-templates.inputs.Img.preview-btn-danger-empty":"f3914","blocks-templates.inputs.Img.preview-pages-news.edit.preview":"f3915","blocks-templates.inputs.Img.preview-newsEdit__subtitle":"f3916","blocks-templates.inputs.Img.preview-newsEdit__imgContainer":"f3917","blocks-templates.inputs.Img.preview-newsEdit__btns":"f3918","blocks-templates.inputs.Img.preview-fileInput":"f3919","blocks-templates.inputs.Img.preview-servicesModal__imgEdit":"f3920","blocks-templates.inputs.Img.preview-servicesImgEdit":"f3921","blocks-templates.inputs.Img.preview-servicesImgEdit__title":"f3922","blocks-templates.inputs.Img.preview-servicesImgEdit__container":"f3923","blocks-templates.inputs.Img.preview-servicesImgEdit__btnContainer":"f3924","blocks-templates.inputs-templatesInput__input":"f3925","blocks-templates.inputs-templatesInput__input:hover":"f3926","blocks-templates.inputs-resetList":"f3927","blocks-templates.inputs-resetBtn":"f3928","blocks-templates.inputs-btnLightAgree":"f3929","blocks-templates.inputs-scrollBlock":"f3930","blocks-templates.inputs-scrollBlock__container":"f3931","blocks-templates.inputs-templatesEditInputs__title":"f3932","blocks-templates.inputs-templatesEditInputs__textInfo":"f3933","blocks-templates.inputs-templatesEditInputs__subtitle":"f3934","blocks-templates.inputs-templatesEditInputs__container":"f3935","blocks-templates.inputs-templatesEditInputs__iconContainer":"f3936","blocks-templates.inputs-templatesEditInputs__list":"f3937","blocks-templates.inputs-templatesEditInputs__item":"f3938","blocks-templates.inputs-templatesEditInputs__btnIcons":"f3939","blocks-templates.inputs-btnIconsActive":"f3940","blocks-templates.inputs-templatesEditInputs__input":"f3941","blocks-templates.inputs-templatesEditInputs__tabContainer":"f3942","blocks-templates.inputs-templatesInput":"f3943","blocks-templates.inputs-spaceBottom32":"f3944","blocks-templates.inputs-spaceBottom24":"f3945","blocks-templates.inputs-spaceBottom16":"f3946","blocks-templates.inputs-spaceBottom12":"f3947","blocks-templates.inputs.Seporator-templatesInput__input":"f3948","blocks-templates.inputs.Seporator-templatesInput__input:hover":"f3949","blocks-templates.inputs.Seporator-resetList":"f3950","blocks-templates.inputs.Seporator-resetBtn":"f3951","blocks-templates.inputs.Seporator-btnLightAgree":"f3952","blocks-templates.inputs.Seporator-input-invalid":"f3953","blocks-templates.inputs.Seporator-blocks-templates.inputs.Seporator":"f3954","blocks-templates.inputs.Seporator-scrollBlock":"f3955","blocks-templates.inputs.Seporator-scrollBlock__container":"f3956","blocks-templates.inputs.Seporator-templatesEditInputs__head":"f3957","blocks-templates.inputs.Seporator-templatesEditInputs__btns":"f3958","blocks-templates.inputs.Seporator-templatesEditInputs__delete":"f3959","blocks-templates.inputs.Seporator-templatesEditInputs__close":"f3960","blocks-templates.inputs.Seporator-templatesEditInputs__title":"f3961","blocks-templates.inputs.Seporator-templatesEditInputs__textInfo":"f3962","blocks-templates.inputs.Seporator-templatesEditInputs__subtitle":"f3963","blocks-templates.inputs.Seporator-templatesEditInputs__container":"f3964","blocks-templates.inputs.Seporator-templatesEditInputs__iconContainer":"f3965","blocks-templates.inputs.Seporator-templatesEditInputs__list":"f3966","blocks-templates.inputs.Seporator-templatesEditInputs__item":"f3967","blocks-templates.inputs.Seporator-templatesEditInputs__btnIcons":"f3968","blocks-templates.inputs.Seporator-btnIconsActive":"f3969","blocks-templates.inputs.Seporator-templatesEditInputs__input":"f3970","blocks-templates.inputs.Seporator-templatesEditInputs__tabContainer":"f3971","blocks-templates.inputs.Seporator-templatesInput":"f3972","blocks-templates.inputs.Seporator-spaceBottom32":"f3973","blocks-templates.inputs.Seporator-spaceBottom24":"f3974","blocks-templates.inputs.Seporator-spaceBottom16":"f3975","blocks-templates.inputs.Seporator-spaceBottom12":"f3976","blocks-templates.inputs.Seporator-spaceBottom8":"f3977","blocks-templates.inputs.Test-templatesInput__input":"f3978","blocks-templates.inputs.Test-templatesInput__input:hover":"f3979","blocks-templates.inputs.Test-resetList":"f3980","blocks-templates.inputs.Test-resetBtn":"f3981","blocks-templates.inputs.Test-btnLightAgree":"f3982","blocks-templates.inputs.Test-blocks-templates.inputs.Test":"f3983","blocks-templates.inputs.Test-scrollBlock":"f3984","blocks-templates.inputs.Test-scrollBlock__container":"f3985","blocks-templates.inputs.Test-templatesEditInputs__title":"f3986","blocks-templates.inputs.Test-templatesEditInputs__textInfo":"f3987","blocks-templates.inputs.Test-templatesEditInputs__subtitle":"f3988","blocks-templates.inputs.Test-templatesEditInputs__container":"f3989","blocks-templates.inputs.Test-templatesEditInputs__iconContainer":"f3990","blocks-templates.inputs.Test-templatesEditInputs__list":"f3991","blocks-templates.inputs.Test-templatesEditInputs__item":"f3992","blocks-templates.inputs.Test-templatesEditInputs__btnIcons":"f3993","blocks-templates.inputs.Test-btnIconsActive":"f3994","blocks-templates.inputs.Test-templatesEditInputs__input":"f3995","blocks-templates.inputs.Test-templatesEditInputs__tabContainer":"f3996","blocks-templates.inputs.Test-templatesInput":"f3997","blocks-templates.inputs.Test-spaceBottom32":"f3998","blocks-templates.inputs.Test-spaceBottom24":"f3999","blocks-templates.inputs.Test-spaceBottom16":"f4000","blocks-templates.inputs.Test-spaceBottom12":"f4001","blocks-templates.inputs.Text-templatesInput__input":"f4002","blocks-templates.inputs.Text-templatesInput__input:hover":"f4003","blocks-templates.inputs.Text-resetList":"f4004","blocks-templates.inputs.Text-resetBtn":"f4005","blocks-templates.inputs.Text-btnLightAgree":"f4006","blocks-templates.inputs.Text-input-invalid":"f4007","blocks-templates.inputs.Text-blocks-templates.inputs.Text":"f4008","blocks-templates.inputs.Text-inputArea":"f4009","blocks-templates.inputs.Text-scrollBlock":"f4010","blocks-templates.inputs.Text-scrollBlock__container":"f4011","blocks-templates.inputs.Text-templatesEditInputs__head":"f4012","blocks-templates.inputs.Text-templatesEditInputs__btns":"f4013","blocks-templates.inputs.Text-templatesEditInputs__delete":"f4014","blocks-templates.inputs.Text-templatesEditInputs__close":"f4015","blocks-templates.inputs.Text-templatesEditInputs__title":"f4016","blocks-templates.inputs.Text-templatesEditInputs__textInfo":"f4017","blocks-templates.inputs.Text-templatesEditInputs__subtitle":"f4018","blocks-templates.inputs.Text-templatesEditInputs__container":"f4019","blocks-templates.inputs.Text-templatesEditInputs__iconContainer":"f4020","blocks-templates.inputs.Text-templatesEditInputs__list":"f4021","blocks-templates.inputs.Text-templatesEditInputs__item":"f4022","blocks-templates.inputs.Text-templatesEditInputs__btnIcons":"f4023","blocks-templates.inputs.Text-btnIconsActive":"f4024","blocks-templates.inputs.Text-templatesEditInputs__input":"f4025","blocks-templates.inputs.Text-templatesEditInputs__tabContainer":"f4026","blocks-templates.inputs.Text-templatesInput":"f4027","blocks-templates.inputs.Text-spaceBottom32":"f4028","blocks-templates.inputs.Text-spaceBottom24":"f4029","blocks-templates.inputs.Text-spaceBottom16":"f4030","blocks-templates.inputs.Text-spaceBottom12":"f4031","blocks-templates.inputs.Text-spaceBottom8":"f4032","blocks-templates.inputs.TextInput-templatesInput__input":"f4033","blocks-templates.inputs.TextInput-templatesInput__input:hover":"f4034","blocks-templates.inputs.TextInput-resetList":"f4035","blocks-templates.inputs.TextInput-resetBtn":"f4036","blocks-templates.inputs.TextInput-btnLightAgree":"f4037","blocks-templates.inputs.TextInput-input-invalid":"f4038","blocks-templates.inputs.TextInput-blocks-templates.inputs.TextInput":"f4039","blocks-templates.inputs.TextInput-scrollBlock":"f4040","blocks-templates.inputs.TextInput-scrollBlock__container":"f4041","blocks-templates.inputs.TextInput-templatesEditInputs__head":"f4042","blocks-templates.inputs.TextInput-templatesEditInputs__btns":"f4043","blocks-templates.inputs.TextInput-templatesEditInputs__delete":"f4044","blocks-templates.inputs.TextInput-templatesEditInputs__close":"f4045","blocks-templates.inputs.TextInput-templatesEditInputs__title":"f4046","blocks-templates.inputs.TextInput-templatesEditInputs__textInfo":"f4047","blocks-templates.inputs.TextInput-templatesEditInputs__subtitle":"f4048","blocks-templates.inputs.TextInput-templatesEditInputs__container":"f4049","blocks-templates.inputs.TextInput-templatesEditInputs__iconContainer":"f4050","blocks-templates.inputs.TextInput-templatesEditInputs__list":"f4051","blocks-templates.inputs.TextInput-templatesEditInputs__item":"f4052","blocks-templates.inputs.TextInput-templatesEditInputs__btnIcons":"f4053","blocks-templates.inputs.TextInput-btnIconsActive":"f4054","blocks-templates.inputs.TextInput-templatesEditInputs__input":"f4055","blocks-templates.inputs.TextInput-templatesEditInputs__tabContainer":"f4056","blocks-templates.inputs.TextInput-templatesInput":"f4057","blocks-templates.inputs.TextInput-spaceBottom32":"f4058","blocks-templates.inputs.TextInput-spaceBottom24":"f4059","blocks-templates.inputs.TextInput-spaceBottom16":"f4060","blocks-templates.inputs.TextInput-spaceBottom12":"f4061","blocks-templates.main.CounterInput-resetList":"f4062","blocks-templates.main.CounterInput-resetBtn":"f4063","blocks-templates.main.CounterInput-tag":"f4064","blocks-templates.main.CounterInput-inputStyle":"f4065","blocks-templates.main.CounterInput-inputStyle:hover":"f4066","blocks-templates.main.CounterInput-templatesEditItem":"f4067","blocks-templates.main.CounterInput-templatesEditItem__touch":"f4068","blocks-templates.main.CounterInput-templatesEditItem__sideMenu":"f4069","blocks-templates.main.CounterInput-templatesEditItem__touchImg":"f4070","blocks-templates.main.CounterInput-selected":"f4071","blocks-templates.main.CounterInput-templatesEditItem__container":"f4072","blocks-templates.main.CounterInput-templatesEditItem__decor":"f4073","blocks-templates.main.CounterInput-templatesEditItem__decorImg":"f4074","blocks-templates.main.CounterInput-templatesEditItem__content":"f4075","blocks-templates.main.CounterInput-templatesEditItem__title":"f4076","blocks-templates.main.CounterInput-templatesEditItem__input":"f4077","blocks-templates.main.CounterInput-templatesEditItem__empty":"f4078","blocks-templates.main.CounterInput-templatesEditItem__text":"f4079","blocks-templates.main.CounterInput-templatesEditItem__smallContainer":"f4080","blocks-templates.main.CounterInput-templatesEditItem__tag":"f4081","blocks-templates.main.CounterInput-templatesEditItem__number":"f4082","blocks-templates.main.CounterInput-templatesEditItem__btn":"f4083","blocks-templates.main.DataPicker copy 2-resetList":"f4084","blocks-templates.main.DataPicker copy 2-resetBtn":"f4085","blocks-templates.main.DataPicker copy 2-tag":"f4086","blocks-templates.main.DataPicker copy 2-inputStyle":"f4087","blocks-templates.main.DataPicker copy 2-inputStyle:hover":"f4088","blocks-templates.main.DataPicker copy 2-templatesEditItem":"f4089","blocks-templates.main.DataPicker copy 2-templatesEditItem__touch":"f4090","blocks-templates.main.DataPicker copy 2-templatesEditItem__sideMenu":"f4091","blocks-templates.main.DataPicker copy 2-templatesEditItem__touchImg":"f4092","blocks-templates.main.DataPicker copy 2-selected":"f4093","blocks-templates.main.DataPicker copy 2-templatesEditItem__container":"f4094","blocks-templates.main.DataPicker copy 2-templatesEditItem__decor":"f4095","blocks-templates.main.DataPicker copy 2-templatesEditItem__decorImg":"f4096","blocks-templates.main.DataPicker copy 2-templatesEditItem__content":"f4097","blocks-templates.main.DataPicker copy 2-templatesEditItem__title":"f4098","blocks-templates.main.DataPicker copy 2-templatesEditItem__input":"f4099","blocks-templates.main.DataPicker copy 2-templatesEditItem__empty":"f4100","blocks-templates.main.DataPicker copy 2-templatesEditItem__text":"f4101","blocks-templates.main.DataPicker copy 2-templatesEditItem__smallContainer":"f4102","blocks-templates.main.DataPicker copy 2-templatesEditItem__tag":"f4103","blocks-templates.main.DataPicker copy 2-templatesEditItem__number":"f4104","blocks-templates.main.DataPicker copy 2-templatesEditItem__btn":"f4105","blocks-templates.main.DataPicker-resetList":"f4106","blocks-templates.main.DataPicker-resetBtn":"f4107","blocks-templates.main.DataPicker-tag":"f4108","blocks-templates.main.DataPicker-inputStyle":"f4109","blocks-templates.main.DataPicker-inputStyle:hover":"f4110","blocks-templates.main.DataPicker-templatesEditItem":"f4111","blocks-templates.main.DataPicker-templatesEditItem__touch":"f4112","blocks-templates.main.DataPicker-templatesEditItem__sideMenu":"f4113","blocks-templates.main.DataPicker-templatesEditItem__touchImg":"f4114","blocks-templates.main.DataPicker-selected":"f4115","blocks-templates.main.DataPicker-templatesEditItem__container":"f4116","blocks-templates.main.DataPicker-templatesEditItem__decor":"f4117","blocks-templates.main.DataPicker-templatesEditItem__decorImg":"f4118","blocks-templates.main.DataPicker-templatesEditItem__content":"f4119","blocks-templates.main.DataPicker-templatesEditItem__title":"f4120","blocks-templates.main.DataPicker-templatesEditItem__input":"f4121","blocks-templates.main.DataPicker-templatesEditItem__empty":"f4122","blocks-templates.main.DataPicker-templatesEditItem__text":"f4123","blocks-templates.main.DataPicker-templatesEditItem__smallContainer":"f4124","blocks-templates.main.DataPicker-templatesEditItem__tag":"f4125","blocks-templates.main.DataPicker-templatesEditItem__number":"f4126","blocks-templates.main.DataPicker-templatesEditItem__btn":"f4127","blocks-templates.main.Img-resetList":"f4128","blocks-templates.main.Img-resetBtn":"f4129","blocks-templates.main.Img-tag":"f4130","blocks-templates.main.Img-inputStyle":"f4131","blocks-templates.main.Img-inputStyle:hover":"f4132","blocks-templates.main.Img-templatesEditItem":"f4133","blocks-templates.main.Img-templatesEditItem__img":"f4134","blocks-templates.main.Img-templatesEditItem__touch":"f4135","blocks-templates.main.Img-templatesEditItem__sideMenu":"f4136","blocks-templates.main.Img-templatesEditItem__touchImg":"f4137","blocks-templates.main.Img-selected":"f4138","blocks-templates.main.Img-templatesEditItem__container":"f4139","blocks-templates.main.Img-templatesEditItem__decor":"f4140","blocks-templates.main.Img-templatesEditItem__decorImg":"f4141","blocks-templates.main.Img-templatesEditItem__content":"f4142","blocks-templates.main.Img-templatesEditItem__title":"f4143","blocks-templates.main.Img-templatesEditItem__input":"f4144","blocks-templates.main.Img-templatesEditItem__empty":"f4145","blocks-templates.main.Img-templatesEditItem__text":"f4146","blocks-templates.main.Img-templatesEditItem__smallContainer":"f4147","blocks-templates.main.Img-templatesEditItem__tag":"f4148","blocks-templates.main.Img-templatesEditItem__number":"f4149","blocks-templates.main.Img-templatesEditItem__btn":"f4150","blocks-templates.main.item-resetList":"f4151","blocks-templates.main.item-resetBtn":"f4152","blocks-templates.main.item-tag":"f4153","blocks-templates.main.item-inputStyle":"f4154","blocks-templates.main.item-inputStyle:hover":"f4155","blocks-templates.main.item-templatesEditItem":"f4156","blocks-templates.main.item-templatesEditItem__touch":"f4157","blocks-templates.main.item-templatesEditItem__touchImg":"f4158","blocks-templates.main.item-templatesEditItem__outline":"f4159","blocks-templates.main.item-templatesEditItem__container":"f4160","blocks-templates.main.item-templatesEditItem__decor":"f4161","blocks-templates.main.item-templatesEditItem__decorImg":"f4162","blocks-templates.main.item-templatesEditItem__content":"f4163","blocks-templates.main.item-templatesEditItem__title":"f4164","blocks-templates.main.item-templatesEditItem__input":"f4165","blocks-templates.main.item-templatesEditItem__empty":"f4166","blocks-templates.main.item-templatesEditItem__text":"f4167","blocks-templates.main.item-templatesEditItem__smallContainer":"f4168","blocks-templates.main.item-templatesEditItem__tag":"f4169","blocks-templates.main.item-templatesEditItem__trash":"f4170","blocks-templates.main-resetList":"f4171","blocks-templates.main-resetBtn":"f4172","blocks-templates.main-blocks-templates.main":"f4173","blocks-templates.main-templatesEditMain":"f4174","blocks-templates.main-templatesEditMain__item":"f4175","blocks-templates.main-templatesEditMain__btn":"f4176","blocks-templates.main-templatesEditMain__list":"f4177","blocks-templates.main.Seporator-resetList":"f4178","blocks-templates.main.Seporator-resetBtn":"f4179","blocks-templates.main.Seporator-tag":"f4180","blocks-templates.main.Seporator-inputStyle":"f4181","blocks-templates.main.Seporator-inputStyle:hover":"f4182","blocks-templates.main.Seporator-templatesEditItem":"f4183","blocks-templates.main.Seporator-templatesEditItem__touch":"f4184","blocks-templates.main.Seporator-templatesEditItem__sideMenu":"f4185","blocks-templates.main.Seporator-templatesEditItem__touchImg":"f4186","blocks-templates.main.Seporator-selected":"f4187","blocks-templates.main.Seporator-templatesEditItem__container":"f4188","blocks-templates.main.Seporator-templatesEditItem__decor":"f4189","blocks-templates.main.Seporator-templatesEditItem__decorImg":"f4190","blocks-templates.main.Seporator-templatesEditItem__content":"f4191","blocks-templates.main.Seporator-templatesEditItem__title":"f4192","blocks-templates.main.Seporator-templatesEditItem__input":"f4193","blocks-templates.main.Seporator-templatesEditItem__empty":"f4194","blocks-templates.main.Seporator-templatesEditItem__text":"f4195","blocks-templates.main.Seporator-templatesEditItem__smallContainer":"f4196","blocks-templates.main.Seporator-templatesEditItem__tag":"f4197","blocks-templates.main.Seporator-templatesEditItem__btn":"f4198","blocks-templates.main.Seporator-templatesEditItem__number":"f4199","blocks-templates.main.Seporator-spaceBottom8":"f4200","blocks-templates.main.Text-resetList":"f4201","blocks-templates.main.Text-resetBtn":"f4202","blocks-templates.main.Text-tag":"f4203","blocks-templates.main.Text-inputStyle":"f4204","blocks-templates.main.Text-inputStyle:hover":"f4205","blocks-templates.main.Text-templatesEditItem":"f4206","blocks-templates.main.Text-templatesEditItem__touch":"f4207","blocks-templates.main.Text-templatesEditItem__sideMenu":"f4208","blocks-templates.main.Text-templatesEditItem__touchImg":"f4209","blocks-templates.main.Text-selected":"f4210","blocks-templates.main.Text-templatesEditItem__container":"f4211","blocks-templates.main.Text-templatesEditItem__decor":"f4212","blocks-templates.main.Text-templatesEditItem__decorImg":"f4213","blocks-templates.main.Text-templatesEditItem__content":"f4214","blocks-templates.main.Text-templatesEditItem__title":"f4215","blocks-templates.main.Text-templatesEditItem__input":"f4216","blocks-templates.main.Text-templatesEditItem__empty":"f4217","blocks-templates.main.Text-templatesEditItem__text":"f4218","blocks-templates.main.Text-templatesEditItem__smallContainer":"f4219","blocks-templates.main.Text-templatesEditItem__tag":"f4220","blocks-templates.main.Text-templatesEditInputs__textInfo":"f4221","blocks-templates.main.Text-templatesEditItem__btn":"f4222","blocks-templates.main.Text-templatesEditItem__number":"f4223","blocks-templates.main.Text-spaceBottom8":"f4224","blocks-templates.main.TextInput-resetList":"f4225","blocks-templates.main.TextInput-resetBtn":"f4226","blocks-templates.main.TextInput-tag":"f4227","blocks-templates.main.TextInput-inputStyle":"f4228","blocks-templates.main.TextInput-inputStyle:hover":"f4229","blocks-templates.main.TextInput-templatesEditItem":"f4230","blocks-templates.main.TextInput-templatesEditItem__touch":"f4231","blocks-templates.main.TextInput-templatesEditItem__sideMenu":"f4232","blocks-templates.main.TextInput-templatesEditItem__touchImg":"f4233","blocks-templates.main.TextInput-selected":"f4234","blocks-templates.main.TextInput-templatesEditItem__container":"f4235","blocks-templates.main.TextInput-templatesEditItem__decor":"f4236","blocks-templates.main.TextInput-multiline":"f4237","blocks-templates.main.TextInput-templatesEditItem__decorImg":"f4238","blocks-templates.main.TextInput-templatesEditItem__content":"f4239","blocks-templates.main.TextInput-templatesEditItem__title":"f4240","blocks-templates.main.TextInput-templatesEditItem__input":"f4241","blocks-templates.main.TextInput-templatesEditItem__empty":"f4242","blocks-templates.main.TextInput-templatesEditItem__text":"f4243","blocks-templates.main.TextInput-templatesEditItem__smallContainer":"f4244","blocks-templates.main.TextInput-templatesEditItem__tag":"f4245","blocks-templates.main.TextInput-templatesEditItem__btn":"f4246","blocks-templates.main.TextInput-templatesEditItem__number":"f4247","blocks-templates.main.TextInput-spaceBottom8":"f4248","blocks-templates.menu-resetList":"f4249","blocks-templates.menu-btnNeutral":"f4250","blocks-templates.menu-templatesEditMenu":"f4251","blocks-templates.menu-templatesEditMenu__title":"f4252","blocks-templates.menu-templatesEditMenu__list":"f4253","blocks-templates.menu-btnNeutral__img":"f4254","pages-404-wrapper-page":"f4255","pages-404-wrapper":"f4256","pages-404-errorPageContent":"f4257","pages-404-errorPageText":"f4258","pages-chat-resetList":"f4259","pages-chat-resetLink":"f4260","pages-chat-resetBtn":"f4261","pages-chat-btnAgree":"f4262","pages-chat-tag":"f4263","pages-chat-neutralTag":"f4264","pages-chat-hide":"f4265","pages-chat-wrapper":"f4266","pages-chat-search-btn__img":"f4267","pages-chat-textDarkMainBase":"f4268","pages-chat-textH2":"f4269","pages-chat-pages-chat":"f4270","pages-chat-chat__head":"f4271","pages-chat-chatHead":"f4272","pages-chat-chatHead__chatList":"f4273","pages-chat-chat__tab":"f4274","pages-chat-chat__title":"f4275","pages-chat-editchatHead__title":"f4276","pages-chat-chat__headUser":"f4277","pages-chat-chat__btnBack":"f4278","pages-chat-chat__imgBack":"f4279","pages-chat-chat__markerOnline":"f4280","pages-chat-userMarkOnline":"f4281","pages-chat-chat__main":"f4282","pages-chat-chat__loadConteiner":"f4283","pages-chats-resetList":"f4284","pages-chats-resetLink":"f4285","pages-chats-resetBtn":"f4286","pages-chats-btnAgree":"f4287","pages-chats-btnAgreeLight":"f4288","pages-chats-wrapper":"f4289","pages-chats-textDarkMainBase":"f4290","pages-chats-textH2":"f4291","pages-chats-requests__head":"f4292","pages-chats-requestsHead":"f4293","pages-chats-requestsHead__requestsList":"f4294","pages-chats-requests__tab":"f4295","pages-chats-requests__title":"f4296","pages-chats-editrequestsHead__title":"f4297","pages-chats-requests__main":"f4298","pages-chats-textMB":"f4299","pages-chats-textM":"f4300","pages-chats-dark500base":"f4301","pages-chats-pages-chats":"f4302","pages-client.add-resetList":"f4303","pages-client.add-resetBtn":"f4304","pages-client.add-btn-agree":"f4305","pages-client.add-btn-empty":"f4306","pages-client.add-btn-danger":"f4307","pages-client.add-btn-danger-empty":"f4308","pages-client.add-btn-change":"f4309","pages-client.add-btn-neutral":"f4310","pages-client.add-input-invalid":"f4311","pages-client.add-colorTextP":"f4312","pages-client.add-loader":"f4313","pages-client.add-textH2":"f4314","pages-client.add-pages-client.add":"f4315","pages-client.add-clients__head":"f4316","pages-client.add-clients__tab":"f4317","pages-client.add-clients__btn":"f4318","pages-client.add-clients__container":"f4319","pages-client.add-searchIput":"f4320","pages-client.add-clients__main":"f4321","pages-client.add-textDarkMainBase":"f4322","pages-client.add-dark500base":"f4323","pages-client.add-textMB":"f4324","pages-client.add-textM":"f4325","pages-client.add-textSB":"f4326","pages-client.add-textS":"f4327","pages-client.add-textCaptionS":"f4328","pages-client.add-addClient":"f4329","pages-client.add-addClient__scroll":"f4330","pages-client.add-addClient__content":"f4331","pages-client.add-input48":"f4332","pages-client.add-input48:hover":"f4333","pages-client.add-addClient__section":"f4334","pages-client.add-addClient__tabList":"f4335","pages-client.add-addClient__tabItem":"f4336","pages-client.add-addClient__toggle":"f4337","pages-client.add-addClient__item":"f4338","pages-client.add-addClient__title":"f4339","pages-client.add-addClient__subtitle":"f4340","pages-client.add-addClient__select":"f4341","pages-client.add-addClient__input":"f4342","pages-client.add-addClient__inputBig":"f4343","pages-client.add-addClient__btns":"f4344","pages-client.add-addClient__imgContainer":"f4345","pages-client.add-addClient__container":"f4346","pages-client.add-input-block":"f4347","pages-client.add-spaceBottm40":"f4348","pages-client.add-addClient__menu":"f4349","pages-client.add-addClientMenu":"f4350","pages-client.add-addClientMenu__list":"f4351","pages-client-resetBtn":"f4352","pages-client-btn-agree":"f4353","pages-client-btn-change":"f4354","pages-client-btn-neutral":"f4355","pages-client-colorTextP":"f4356","pages-client-textH2":"f4357","pages-client-pages-client":"f4358","pages-client-clients__head":"f4359","pages-client-clients__tab":"f4360","pages-client-clients__btn":"f4361","pages-client-clients__container":"f4362","pages-client-searchIput":"f4363","pages-client-clients__main":"f4364","pages-client.watchClient.info-resetList":"f4365","pages-client.watchClient.info-resetLink":"f4366","pages-client.watchClient.info-resetBtn":"f4367","pages-client.watchClient.info-btnAgree":"f4368","pages-client.watchClient.info-btnNeutral":"f4369","pages-client.watchClient.info-btnLight":"f4370","pages-client.watchClient.info-btnEmpty":"f4371","pages-client.watchClient.info-input40":"f4372","pages-client.watchClient.info-input40:hover":"f4373","pages-client.watchClient.info-clientInfo":"f4374","pages-client.watchClient.info-textH3":"f4375","pages-client.watchClient.info-textLB":"f4376","pages-client.watchClient.info-textS":"f4377","pages-client.watchClient.info-textM":"f4378","pages-client.watchClient.info-colorTextPrim":"f4379","pages-client.watchClient.info-colorTextSec":"f4380","pages-client.watchClient.info-colorTextTetr":"f4381","pages-client.watchClient.info-colorTextAcc":"f4382","pages-client.watchClient.info-clientInfo__main":"f4383","pages-client.watchClient.info-clientInfo__scroll":"f4384","pages-client.watchClient.info-clientInfo__content":"f4385","pages-client.watchClient.info-clientInfo__item":"f4386","pages-client.watchClient.info-btnClose":"f4387","pages-client.watchClient.info-clientInfo__commentInfo":"f4388","pages-client.watchClient.info-commentInput":"f4389","pages-client.watchClient.info-commentInput__buttons":"f4390","pages-client.watchClient.info-commentInput__input":"f4391","pages-client.watchClient.info-clientInfo__section":"f4392","pages-client.watchClient.info-clientStatistic":"f4393","pages-client.watchClient.info-clientInfo__title":"f4394","pages-client.watchClient.info-clientInfo__notes":"f4395","pages-client.watchClient.info-flexFull":"f4396","pages-client.watchClient.info-cloudElement":"f4397","pages-client.watchClient.info-clientInfo__menu":"f4398","pages-client.watchClient.info-clientInfoMenu":"f4399","pages-client.watchClient.info-clientInfoMenu__scrollContainer":"f4400","pages-client.watchClient.info-clientInfoMenu__main":"f4401","pages-client.watchClient.info-clientInfoMenu__head":"f4402","pages-client.watchClient.info-clientInfoMenu__title":"f4403","pages-client.watchClient.info-clientInfoMenu__overflow":"f4404","pages-client.watchClient.info-clientInfoMenu__bigText":"f4405","pages-client.watchClient.info-clientInfoMenu__section":"f4406","pages-client.watchClient.info-clientInfoMenu__subtitle":"f4407","pages-client.watchClient.info-clientInfoMenu__list":"f4408","pages-client.watchClient.info-clientInfoMenu__item":"f4409","pages-client.watchClient.info-spaceBottom24":"f4410","pages-client.watchClient.info-spaceBottom16":"f4411","pages-client.watchClient.info-spaceBottom12":"f4412","pages-client.watchClient.info-spaceBottom8":"f4413","pages-client.watchClient.infoClientContent-resetList":"f4414","pages-client.watchClient.infoClientContent-resetLink":"f4415","pages-client.watchClient.infoClientContent-resetBtn":"f4416","pages-client.watchClient.infoClientContent-btnAgree":"f4417","pages-client.watchClient.infoClientContent-btnNeutral":"f4418","pages-client.watchClient.infoClientContent-btnLight":"f4419","pages-client.watchClient.infoClientContent-btnEmpty":"f4420","pages-client.watchClient.infoClientContent-input40":"f4421","pages-client.watchClient.infoClientContent-input40:hover":"f4422","pages-client.watchClient.infoClientContent-clientInfo":"f4423","pages-client.watchClient.infoClientContent-textH3":"f4424","pages-client.watchClient.infoClientContent-textLB":"f4425","pages-client.watchClient.infoClientContent-textS":"f4426","pages-client.watchClient.infoClientContent-textM":"f4427","pages-client.watchClient.infoClientContent-colorTextPrim":"f4428","pages-client.watchClient.infoClientContent-colorTextSec":"f4429","pages-client.watchClient.infoClientContent-colorTextTetr":"f4430","pages-client.watchClient.infoClientContent-colorTextAcc":"f4431","pages-client.watchClient.infoClientContent-colorTextNeg":"f4432","pages-client.watchClient.infoClientContent-clientInfo__main":"f4433","pages-client.watchClient.infoClientContent-clientInfo__scroll":"f4434","pages-client.watchClient.infoClientContent-clientInfo__content":"f4435","pages-client.watchClient.infoClientContent-clientInfo__item":"f4436","pages-client.watchClient.infoClientContent-btnClose":"f4437","pages-client.watchClient.infoClientContent-clientInfo__commentInfo":"f4438","pages-client.watchClient.infoClientContent-commentInput":"f4439","pages-client.watchClient.infoClientContent-commentInput__buttons":"f4440","pages-client.watchClient.infoClientContent-commentInput__input":"f4441","pages-client.watchClient.infoClientContent-clientInfo__section":"f4442","pages-client.watchClient.infoClientContent-clientStatistic":"f4443","pages-client.watchClient.infoClientContent-clientInfo__title":"f4444","pages-client.watchClient.infoClientContent-clientInfo__notes":"f4445","pages-client.watchClient.infoClientContent-flexFull":"f4446","pages-client.watchClient.infoClientContent-cloudElement":"f4447","pages-client.watchClient.infoClientContent-clientInfo__menu":"f4448","pages-client.watchClient.infoClientContent-clientInfoMenu":"f4449","pages-client.watchClient.infoClientContent-clientInfoMenu__scrollContainer":"f4450","pages-client.watchClient.infoClientContent-clientInfoMenu__main":"f4451","pages-client.watchClient.infoClientContent-clientInfoMenu__head":"f4452","pages-client.watchClient.infoClientContent-clientInfoMenu__title":"f4453","pages-client.watchClient.infoClientContent-clientInfoMenu__overflow":"f4454","pages-client.watchClient.infoClientContent-clientInfoMenu__bigText":"f4455","pages-client.watchClient.infoClientContent-clientInfoOnline":"f4456","pages-client.watchClient.infoClientContent-clientInfoMenu__section":"f4457","pages-client.watchClient.infoClientContent-clientInfoMenu__subtitle":"f4458","pages-client.watchClient.infoClientContent-clientInfoMenu__list":"f4459","pages-client.watchClient.infoClientContent-clientInfoMenu__item":"f4460","pages-client.watchClient.infoClientContent-spaceBottom24":"f4461","pages-client.watchClient.infoClientContent-spaceBottom16":"f4462","pages-client.watchClient.infoClientContent-spaceBottom12":"f4463","pages-client.watchClient.infoClientContent-spaceBottom8":"f4464","pages-client.watchClient.notes-resetList":"f4465","pages-client.watchClient.notes-resetLink":"f4466","pages-client.watchClient.notes-resetBtn":"f4467","pages-client.watchClient.notes-btnAgree":"f4468","pages-client.watchClient.notes-btnNeutral":"f4469","pages-client.watchClient.notes-btnLight":"f4470","pages-client.watchClient.notes-btnEmpty":"f4471","pages-client.watchClient.notes-input40":"f4472","pages-client.watchClient.notes-input40:hover":"f4473","pages-client.watchClient.notes-clientInfo":"f4474","pages-client.watchClient.notes-textH3":"f4475","pages-client.watchClient.notes-textLB":"f4476","pages-client.watchClient.notes-textS":"f4477","pages-client.watchClient.notes-textM":"f4478","pages-client.watchClient.notes-colorTextPrim":"f4479","pages-client.watchClient.notes-colorTextSec":"f4480","pages-client.watchClient.notes-colorTextTetr":"f4481","pages-client.watchClient.notes-colorTextAcc":"f4482","pages-client.watchClient.notes-clientInfo__main":"f4483","pages-client.watchClient.notes-clientInfo__scroll":"f4484","pages-client.watchClient.notes-clientInfo__content":"f4485","pages-client.watchClient.notes-clientInfo__item":"f4486","pages-client.watchClient.notes-btnClose":"f4487","pages-client.watchClient.notes-clientInfo__commentInfo":"f4488","pages-client.watchClient.notes-commentInput":"f4489","pages-client.watchClient.notes-commentInput__buttons":"f4490","pages-client.watchClient.notes-commentInput__input":"f4491","pages-client.watchClient.notes-clientInfo__section":"f4492","pages-client.watchClient.notes-clientStatistic":"f4493","pages-client.watchClient.notes-clientInfo__title":"f4494","pages-client.watchClient.notes-clientInfo__notes":"f4495","pages-client.watchClient.notes-flexFull":"f4496","pages-client.watchClient.notes-cloudElement":"f4497","pages-client.watchClient.notes-clientInfo__menu":"f4498","pages-client.watchClient.notes-clientInfoMenu":"f4499","pages-client.watchClient.notes-clientInfoMenu__scrollContainer":"f4500","pages-client.watchClient.notes-clientInfoMenu__main":"f4501","pages-client.watchClient.notes-clientInfoMenu__head":"f4502","pages-client.watchClient.notes-clientInfoMenu__title":"f4503","pages-client.watchClient.notes-clientInfoMenu__overflow":"f4504","pages-client.watchClient.notes-clientInfoMenu__bigText":"f4505","pages-client.watchClient.notes-clientInfoOnline":"f4506","pages-client.watchClient.notes-clientInfoMenu__section":"f4507","pages-client.watchClient.notes-clientInfoMenu__subtitle":"f4508","pages-client.watchClient.notes-clientInfoMenu__list":"f4509","pages-client.watchClient.notes-clientInfoMenu__item":"f4510","pages-client.watchClient.notes-spaceBottom24":"f4511","pages-client.watchClient.notes-spaceBottom16":"f4512","pages-client.watchClient.notes-spaceBottom12":"f4513","pages-client.watchClient.notes-spaceBottom8":"f4514","pages-client.watchClient.receipts-clientsRequests":"f4515","pages-client.watchClient.requests-clientsRequests":"f4516","pages-clients-resetList":"f4517","pages-clients-resetLink":"f4518","pages-clients-resetBtn":"f4519","pages-clients-btnAgree":"f4520","pages-clients-btnAgreeLight":"f4521","pages-clients-wrapper":"f4522","pages-clients-textDarkMainBase":"f4523","pages-clients-textH2":"f4524","pages-clients-requests__head":"f4525","pages-clients-requestsHead":"f4526","pages-clients-requestsHead__requestsList":"f4527","pages-clients-requests__tab":"f4528","pages-clients-requests__title":"f4529","pages-clients-editrequestsHead__title":"f4530","pages-clients-requests__main":"f4531","pages-clients-textMB":"f4532","pages-clients-textM":"f4533","pages-clients-dark500base":"f4534","pages-clients-pages-clients":"f4535","pages-editor-resetList":"f4536","pages-editor-resetLink":"f4537","pages-editor-resetBtn":"f4538","pages-editor-btn-agree":"f4539","pages-editor-textDarkMainBase":"f4540","pages-editor-dark500base":"f4541","pages-editor-textH2":"f4542","pages-editor-pages-editor":"f4543","pages-editor-partners__head":"f4544","pages-editor-partners__title":"f4545","pages-editor-partners__scrollContainer":"f4546","pages-editor-partners__scroll":"f4547","pages-events.createModal-resetBtn":"f4548","pages-events.createModal-btnAgree":"f4549","pages-events.createModal-btnDanger":"f4550","pages-events.createModal-input-block__field":"f4551","pages-events.createModal-input-block__field:hover":"f4552","pages-events.createModal-input-invalid":"f4553","pages-events.createModal-ColorTextPr":"f4554","pages-events.createModal-ColorTextSec":"f4555","pages-events.createModal-textH3":"f4556","pages-events.createModal-textL":"f4557","pages-events.createModal-modal":"f4558","pages-events.createModal-modal__container":"f4559","pages-events.createModal-modal__head":"f4560","pages-events.createModal-modal__title":"f4561","pages-events.createModal-modal__close":"f4562","pages-events.createModal-modal__info":"f4563","pages-events.createModal-modal__btnContainer":"f4564","pages-events.createModal-wholeWidth":"f4565","pages-events.edit-resetLink":"f4566","pages-events.edit-resetBtn":"f4567","pages-events.edit-btnAgreeLight":"f4568","pages-events.edit-input-invalid":"f4569","pages-events.edit-wrapper":"f4570","pages-events.edit-textDarkMainBase":"f4571","pages-events.edit-dark500base":"f4572","pages-events.edit-textH2":"f4573","pages-events.edit-textLB":"f4574","pages-events.edit-textL":"f4575","pages-events.edit-textMB":"f4576","pages-events.edit-textSB":"f4577","pages-events.edit-textS":"f4578","pages-events.edit-textCaptionS":"f4579","pages-events.edit-pages-events.edit":"f4580","pages-events.edit-ivent__head":"f4581","pages-events.edit-iventHead":"f4582","pages-events.edit-iventHead__eventList":"f4583","pages-events.edit-ivent__tab":"f4584","pages-events.edit-ivent__title":"f4585","pages-events.edit-iventForumHead":"f4586","pages-events.edit-iventForumHead__btnImg":"f4587","pages-events.edit-iventForumHead__avatar":"f4588","pages-events.edit-iventForumHead__container":"f4589","pages-events.edit-editIventHead":"f4590","pages-events.edit-editIventHead__title":"f4591","pages-events.edit-ivent__main":"f4592","pages-events.edit-loadContainer":"f4593","pages-events-resetList":"f4594","pages-events-resetLink":"f4595","pages-events-resetBtn":"f4596","pages-events-btnAgree":"f4597","pages-events-btnAgreeLight":"f4598","pages-events-wrapper":"f4599","pages-events-textDarkMainBase":"f4600","pages-events-textH2":"f4601","pages-events-requests__head":"f4602","pages-events-requestsHead":"f4603","pages-events-requestsHead__requestsList":"f4604","pages-events-requests__tab":"f4605","pages-events-requests__title":"f4606","pages-events-editrequestsHead__title":"f4607","pages-events-requests__main":"f4608","pages-events-textMB":"f4609","pages-events-textM":"f4610","pages-events-dark500base":"f4611","pages-events-pages-events":"f4612","pages-events.item-resetList":"f4613","pages-events.item-resetLink":"f4614","pages-events.item-resetBtn":"f4615","pages-events.item-btnAgree":"f4616","pages-events.item-btnAgreeLight":"f4617","pages-events.item-btnCencel":"f4618","pages-events.item-ivent__search":"f4619","pages-events.item-pages-events.item":"f4620","pages-events.item-textDarkMainBase":"f4621","pages-events.item-dark500base":"f4622","pages-events.item-textH2":"f4623","pages-events.item-textLB":"f4624","pages-events.item-textL":"f4625","pages-events.item-textMB":"f4626","pages-events.item-textSB":"f4627","pages-events.item-textS":"f4628","pages-events.item-textCaptionS":"f4629","pages-events.item-ivent":"f4630","pages-events.item-ivent__head":"f4631","pages-events.item-iventHead":"f4632","pages-events.item-iventHead__eventList":"f4633","pages-events.item-ivent__tab":"f4634","pages-events.item-ivent__title":"f4635","pages-events.item-iventForumHead":"f4636","pages-events.item-iventForumHead__btnImg":"f4637","pages-events.item-iventForumHead__avatar":"f4638","pages-events.item-iventForumHead__container":"f4639","pages-events.item-editIventHead":"f4640","pages-events.item-editIventHead__title":"f4641","pages-events.item-ivent__main":"f4642","pages-events.item-loadContainer":"f4643","pages-icons-resetList":"f4644","pages-icons-resetBtn":"f4645","pages-icons-pages-icons":"f4646","pages-icons-scroll":"f4647","pages-icons-scroll__container":"f4648","pages-icons-list":"f4649","pages-icons-btn":"f4650","pages-index-resetList":"f4651","pages-index-resetLink":"f4652","pages-index-resetBtn":"f4653","pages-index-btn__neutral":"f4654","pages-index-fullWrapper":"f4655","pages-index-wrapper":"f4656","pages-index-textDarkMainBase":"f4657","pages-index-textSecondary":"f4658","pages-index-dark500base":"f4659","pages-index-textMB":"f4660","pages-index-textSB":"f4661","pages-index-textS":"f4662","pages-index-textCaptionS":"f4663","pages-index-textCaptionLB":"f4664","pages-index-bg_accent_100_base":"f4665","pages-index-bg_dark_100_base":"f4666","pages-index-head":"f4667","pages-index-head__container":"f4668","pages-index-head__link":"f4669","pages-index-head__scrollWrapper":"f4670","pages-index-head__scroll":"f4671","pages-index-head__notification":"f4672","pages-index-head__subtitel":"f4673","pages-index-notification":"f4674","pages-index-notification__value":"f4675","pages-index-notification__item":"f4676","pages-index-notification__btn":"f4677","pages-index-notification__text":"f4678","pages-index-nav__list":"f4679","pages-index-nav__btn":"f4680","pages-index-nav__btnSelect":"f4681","pages-index-nav__icon":"f4682","pages-index-login":"f4683","pages-index-login__container":"f4684","pages-index-login__img01":"f4685","pages-index-mainContent":"f4686","pages-index-spaceBottom16":"f4687","pages-news.edit-resetBtn":"f4688","pages-news.edit-btn-agree":"f4689","pages-news.edit-btn-change":"f4690","pages-news.edit-btn-cancel":"f4691","pages-news.edit-btn-neutral":"f4692","pages-news.edit-input-invalid":"f4693","pages-news.edit-resetList":"f4694","pages-news.edit-btn-empty":"f4695","pages-news.edit-btn-danger":"f4696","pages-news.edit-btn-danger-empty":"f4697","pages-news.edit-textDarkMainBase":"f4698","pages-news.edit-dark500base":"f4699","pages-news.edit-textH2":"f4700","pages-news.edit-textMB":"f4701","pages-news.edit-textM":"f4702","pages-news.edit-textSB":"f4703","pages-news.edit-textS":"f4704","pages-news.edit-textCaptionS":"f4705","pages-news.edit-newsEdit":"f4706","pages-news.edit-newsEdit__scroll":"f4707","pages-news.edit-newsEdit__content":"f4708","pages-news.edit-input48":"f4709","pages-news.edit-input48:hover":"f4710","pages-news.edit-newsEdit__item":"f4711","pages-news.edit-newsEdit__subtitle":"f4712","pages-news.edit-newsEdit__select":"f4713","pages-news.edit-newsEdit__input":"f4714","pages-news.edit-newsEdit__inputBig":"f4715","pages-news.edit-newsEdit__btns":"f4716","pages-news.edit-newsEdit__imgContainer":"f4717","pages-news.edit-newsEdit__menu":"f4718","pages-news.edit-newsEditMenu":"f4719","pages-news.edit-newsEditMenu__list":"f4720","pages-news.edit-colorTextP":"f4721","pages-news.edit-pages-news.edit":"f4722","pages-news.edit-newsmain__head":"f4723","pages-news.edit-newsmain__btn":"f4724","pages-news.edit-newsmain__container":"f4725","pages-news.edit-searchIput":"f4726","pages-news.edit-newsmain__main":"f4727","pages-news.edit-loadContainer":"f4728","pages-news.edit.preview-resetBtn":"f4729","pages-news.edit.preview-btn-agree":"f4730","pages-news.edit.preview-btn-change":"f4731","pages-news.edit.preview-btn-neutral":"f4732","pages-news.edit.preview-resetList":"f4733","pages-news.edit.preview-btn-empty":"f4734","pages-news.edit.preview-btn-danger":"f4735","pages-news.edit.preview-btn-danger-empty":"f4736","pages-news.edit.preview-pages-news.edit.preview":"f4737","pages-news.edit.preview-newsEdit__subtitle":"f4738","pages-news.edit.preview-newsEdit__imgContainer":"f4739","pages-news.edit.preview-newsEdit__btns":"f4740","pages-news.edit.preview-fileInput":"f4741","pages-news.item-resetBtn":"f4742","pages-news.item-btn-agree":"f4743","pages-news.item-btn-change":"f4744","pages-news.item-btn-cancel":"f4745","pages-news.item-btn-neutral":"f4746","pages-news.item-resetList":"f4747","pages-news.item-resetLink":"f4748","pages-news.item-news":"f4749","pages-news.item-news__scroll":"f4750","pages-news.item-news__content":"f4751","pages-news.item-news__title":"f4752","pages-news.item-news__imgContainer":"f4753","pages-news.item-news__img":"f4754","pages-news.item-news__container":"f4755","pages-news.item-news__text":"f4756","pages-news.item-news__menu":"f4757","pages-news.item-newsMenu":"f4758","pages-news.item-newsMenu__scrollContainer":"f4759","pages-news.item-newsMenu__main":"f4760","pages-news.item-newsMenu__statuses":"f4761","pages-news.item-newsMenu__list":"f4762","pages-news.item-newsMenu__item":"f4763","pages-news.item-newsMenu__subtitle":"f4764","pages-news.item-newsMenu__text":"f4765","pages-news.item-colorTextP":"f4766","pages-news.item-textH2":"f4767","pages-news.item-pages-news.item":"f4768","pages-news.item-newsmain__head":"f4769","pages-news.item-newsmain__btn":"f4770","pages-news.item-newsmain__container":"f4771","pages-news.item-searchIput":"f4772","pages-news.item-newsmain__main":"f4773","pages-news.item-loadContainer":"f4774","pages-news-resetList":"f4775","pages-news-resetLink":"f4776","pages-news-resetBtn":"f4777","pages-news-btnAgree":"f4778","pages-news-btnAgreeLight":"f4779","pages-news-wrapper":"f4780","pages-news-textDarkMainBase":"f4781","pages-news-textH2":"f4782","pages-news-requests__head":"f4783","pages-news-requestsHead":"f4784","pages-news-requestsHead__requestsList":"f4785","pages-news-requests__tab":"f4786","pages-news-requests__title":"f4787","pages-news-editrequestsHead__title":"f4788","pages-news-requests__main":"f4789","pages-news-textMB":"f4790","pages-news-textM":"f4791","pages-news-dark500base":"f4792","pages-news-pages-news":"f4793","pages-operators.edit-resetList":"f4794","pages-operators.edit-resetLink":"f4795","pages-operators.edit-resetBtn":"f4796","pages-operators.edit-btnAgree":"f4797","pages-operators.edit-btnAgreeLight":"f4798","pages-operators.edit-btn-danger":"f4799","pages-operators.edit-btnCencel":"f4800","pages-operators.edit-btnNeutral":"f4801","pages-operators.edit-inputBlock__field":"f4802","pages-operators.edit-inputBlock__field:hover":"f4803","pages-operators.edit-input-invalid":"f4804","pages-operators.edit-wrapper":"f4805","pages-operators.edit-textM":"f4806","pages-operators.edit-textLB":"f4807","pages-operators.edit-colorPrimary":"f4808","pages-operators.edit-colorSecond":"f4809","pages-operators.edit-ivent":"f4810","pages-operators.edit-ivent__title":"f4811","pages-operators.edit-ivent__main":"f4812","pages-operators.edit-ivent__container":"f4813","pages-operators.edit-ivent__form":"f4814","pages-operators.edit-ivent__section":"f4815","pages-operators.edit-ivent__btnContainer":"f4816","pages-operators.edit-ivent__inputs":"f4817","pages-operators.edit-inputBlock":"f4818","pages-operators.edit-inputBlock__select":"f4819","pages-operators.edit-ivent__btnCopy":"f4820","pages-operators.edit-ivent__btnWrapper":"f4821","pages-operators.edit-spaceBottom16":"f4822","pages-operators.edit-spaceBottom8":"f4823","pages-operators.edit-spaceGap16":"f4824","pages-operators.edit-pages-operators.edit":"f4825","pages-operators.edit-operators__head":"f4826","pages-operators.edit-operatorsHead":"f4827","pages-operators.edit-operatorsHead__container":"f4828","pages-operators.edit-operators__tab":"f4829","pages-operators.edit-operators__title":"f4830","pages-operators.edit-operatorsHead__btnBack":"f4831","pages-operators.edit-operatorsHead__imgBack":"f4832","pages-operators.edit-operators__main":"f4833","pages-operators.edit-textMB":"f4834","pages-operators.edit-textDarkMainBase":"f4835","pages-operators.edit-dark500base":"f4836","pages-operators.edit-pages-operators":"f4837","pages-operators.item-resetList":"f4838","pages-operators.item-resetLink":"f4839","pages-operators.item-resetBtn":"f4840","pages-operators.item-btnAgree":"f4841","pages-operators.item-btnAgreeLight":"f4842","pages-operators.item-wrapper":"f4843","pages-operators.item-pages-operators.item":"f4844","pages-operators.item-operators__head":"f4845","pages-operators.item-operatorsHead":"f4846","pages-operators.item-operatorsHead__container":"f4847","pages-operators.item-operators__tab":"f4848","pages-operators.item-operators__title":"f4849","pages-operators.item-operatorsHead__btnBack":"f4850","pages-operators.item-operatorsHead__imgBack":"f4851","pages-operators.item-operators__main":"f4852","pages-operators.item-textMB":"f4853","pages-operators.item-textM":"f4854","pages-operators.item-textDarkMainBase":"f4855","pages-operators.item-dark500base":"f4856","pages-operators.item-pages-operators":"f4857","pages-operators.item.requests-clientsRequests":"f4858","pages-operators-resetList":"f4859","pages-operators-resetLink":"f4860","pages-operators-resetBtn":"f4861","pages-operators-btnAgree":"f4862","pages-operators-btnAgreeLight":"f4863","pages-operators-wrapper":"f4864","pages-operators-textDarkMainBase":"f4865","pages-operators-textH2":"f4866","pages-operators-requests__head":"f4867","pages-operators-requestsHead":"f4868","pages-operators-requestsHead__requestsList":"f4869","pages-operators-requests__tab":"f4870","pages-operators-requests__title":"f4871","pages-operators-editrequestsHead__title":"f4872","pages-operators-requests__main":"f4873","pages-operators-textMB":"f4874","pages-operators-textM":"f4875","pages-operators-dark500base":"f4876","pages-operators-pages-operators":"f4877","pages-partners.description-resetBtn":"f4878","pages-partners.description-btn-change":"f4879","pages-partners.description-colorTextP":"f4880","pages-partners.description-textH2":"f4881","pages-partners.description-clients__head":"f4882","pages-partners.description-clients__btn":"f4883","pages-partners.description-clients__main":"f4884","pages-partners.description-addClient":"f4885","pages-partners.description.edit-resetList":"f4886","pages-partners.description.edit-resetBtn":"f4887","pages-partners.description.edit-resetLink":"f4888","pages-partners.description.edit-colorTextP":"f4889","pages-partners.description.edit-textH2":"f4890","pages-partners.description.edit-clients__head":"f4891","pages-partners.description.edit-clients__btn":"f4892","pages-partners.description.edit-clients__img":"f4893","pages-partners.description.edit-clients__main":"f4894","pages-partners.description.edit-addClient":"f4895","pages-partners.description.edit-pages-partners.description.edit":"f4896","pages-partners.description.edit-loadConteiner":"f4897","pages-partners.description.info-resetList":"f4898","pages-partners.description.info-resetBtn":"f4899","pages-partners.description.info-resetLink":"f4900","pages-partners.description.info-btnNeutral":"f4901","pages-partners.description.info-colorTextP":"f4902","pages-partners.description.info-textH2":"f4903","pages-partners.description.info-clients__head":"f4904","pages-partners.description.info-clients__btn":"f4905","pages-partners.description.info-clients__img":"f4906","pages-partners.description.info-clients__main":"f4907","pages-partners.description.info-addClient":"f4908","pages-partners.description.info-pages-partners.description.info":"f4909","pages-partners.description.info-loadConteiner":"f4910","pages-partners-resetList":"f4911","pages-partners-resetLink":"f4912","pages-partners-resetBtn":"f4913","pages-partners-btn-agree":"f4914","pages-partners-wrapper":"f4915","pages-partners-textDarkMainBase":"f4916","pages-partners-dark500base":"f4917","pages-partners-textH2":"f4918","pages-partners-textMB":"f4919","pages-partners-textM":"f4920","pages-partners-textSB":"f4921","pages-partners-textS":"f4922","pages-partners-textCaptionS":"f4923","pages-partners-pages-partners":"f4924","pages-partners-partners__head":"f4925","pages-partners-partners__title":"f4926","pages-partners-partners__main":"f4927","pages-partners-partners__select-container":"f4928","pages-partners-partners__scroll":"f4929","pages-partners-partners__list":"f4930","pages-privileges.add-resetList":"f4931","pages-privileges.add-resetLink":"f4932","pages-privileges.add-resetBtn":"f4933","pages-privileges.add-btnAgree":"f4934","pages-privileges.add-btnAgreeLight":"f4935","pages-privileges.add-btn-agree":"f4936","pages-privileges.add-btn-empty":"f4937","pages-privileges.add-btn-danger":"f4938","pages-privileges.add-btn-danger-empty":"f4939","pages-privileges.add-input48":"f4940","pages-privileges.add-input48:hover":"f4941","pages-privileges.add-textDarkMainBase":"f4942","pages-privileges.add-textH2":"f4943","pages-privileges.add-pages-privileges.add":"f4944","pages-privileges.add-privilege__head":"f4945","pages-privileges.add-privilegeHead":"f4946","pages-privileges.add-privilegeHead__privilegeList":"f4947","pages-privileges.add-privilege__title":"f4948","pages-privileges.add-privilege__link":"f4949","pages-privileges.add-privilege__linkImg":"f4950","pages-privileges.add-privilege__main":"f4951","pages-privileges.add-clients__main":"f4952","pages-privileges.add-dark500base":"f4953","pages-privileges.add-textMB":"f4954","pages-privileges.add-textM":"f4955","pages-privileges.add-textSB":"f4956","pages-privileges.add-textS":"f4957","pages-privileges.add-textCaptionS":"f4958","pages-privileges.add-addClient":"f4959","pages-privileges.add-addClient__scroll":"f4960","pages-privileges.add-addClient__content":"f4961","pages-privileges.add-addClient__inputWithBtn":"f4962","pages-privileges.add-addClient__section":"f4963","pages-privileges.add-addClient__list":"f4964","pages-privileges.add-addClient__listGorisontal":"f4965","pages-privileges.add-addClient__toggle":"f4966","pages-privileges.add-addClient__item":"f4967","pages-privileges.add-addClient__delete":"f4968","pages-privileges.add-colorRed":"f4969","pages-privileges.add-addClient__title":"f4970","pages-privileges.add-addClient__subtitle":"f4971","pages-privileges.add-addClient__select":"f4972","pages-privileges.add-addClient__input":"f4973","pages-privileges.add-addClient__inputBig":"f4974","pages-privileges.add-addClient__btns":"f4975","pages-privileges.add-addClient__imgContainer":"f4976","pages-privileges.add-addClient__container":"f4977","pages-privileges.add-inputMedium":"f4978","pages-privileges.add-inputSmall":"f4979","pages-privileges.add-input-block":"f4980","pages-privileges.add-spaceBottm40":"f4981","pages-privileges.add-spaceBottm12":"f4982","pages-privileges.add-spaceBottm8":"f4983","pages-privileges.add-spaceBottm20":"f4984","pages-privileges.add-hint":"f4985","pages-privileges.add-hint__icon":"f4986","pages-privileges.add-hint__info":"f4987","pages-privileges.add-addClient__menu":"f4988","pages-privileges.add-addClientMenu":"f4989","pages-privileges.add-addClientMenu__list":"f4990","pages-privileges.add-loadConteiner":"f4991","pages-privileges.add-cloudDisabled":"f4992","pages-privileges.add-cloudDisabled__text":"f4993","pages-privileges.add-cloudDisabled__input":"f4994","pages-privileges.edit-resetList":"f4995","pages-privileges.edit-resetLink":"f4996","pages-privileges.edit-resetBtn":"f4997","pages-privileges.edit-btnAgree":"f4998","pages-privileges.edit-btnNeutral":"f4999","pages-privileges.edit-btnDanger":"f5000","pages-privileges.edit-btnAgreeLight":"f5001","pages-privileges.edit-wrapper":"f5002","pages-privileges.edit-textDarkMainBase":"f5003","pages-privileges.edit-textH2":"f5004","pages-privileges.edit-privilege":"f5005","pages-privileges.edit-privilege__head":"f5006","pages-privileges.edit-privilegeHead":"f5007","pages-privileges.edit-privilegeHead__privilegeList":"f5008","pages-privileges.edit-privilege__btnBack":"f5009","pages-privileges.edit-privilege__imgBack":"f5010","pages-privileges.edit-privilege__title":"f5011","pages-privileges.edit-privilegeHead__container":"f5012","pages-privileges.edit-privilege__main":"f5013","pages-privileges.edit-textMB":"f5014","pages-privileges.edit-textM":"f5015","pages-privileges.edit-dark500base":"f5016","pages-privileges.edit-pages-services":"f5017","pages-privileges.edit-privilege__footer":"f5018","pages-privileges.edit-privilege__buttons":"f5019","pages-privileges.edit.privilegeListEdit-resetList":"f5020","pages-privileges.edit.privilegeListEdit-resetLink":"f5021","pages-privileges.edit.privilegeListEdit-resetBtn":"f5022","pages-privileges.edit.privilegeListEdit-btnAgree":"f5023","pages-privileges.edit.privilegeListEdit-btnAgreeLight":"f5024","pages-privileges.edit.privilegeListEdit-btnAgreeLightSmasll":"f5025","pages-privileges.edit.privilegeListEdit-privilegeSer__scroll":"f5026","pages-privileges.edit.privilegeListEdit-privilegeSer__head":"f5027","pages-privileges.edit.privilegeListEdit-privilegeSer__title":"f5028","pages-privileges.edit.privilegeListEdit-privilegeSer__scrollContainer":"f5029","pages-privileges.edit.privilegeListEdit-privilegeSer__section":"f5030","pages-privileges.edit.privilegeListEdit-privilegeSection__container":"f5031","pages-privileges.edit.privilegeListEdit-privilegeSection__btnMove":"f5032","pages-privileges.edit.privilegeListEdit-privilegeSection__btn":"f5033","pages-privileges.edit.privilegeListEdit-privilegeSection__btnBar":"f5034","pages-privileges.edit.privilegeListEdit-privilegeSection":"f5035","pages-privileges.edit.privilegeListEdit-privilegeSection__buttons":"f5036","pages-privileges.edit.privilegeListEdit-privilegeSection__head":"f5037","pages-privileges.edit.privilegeListEdit-privilegeSer__subtitle":"f5038","pages-privileges.edit.privilegeListEdit-privilegeSer__list":"f5039","pages-privileges.edit.privilegeListEdit-privilegeSer__item":"f5040","pages-privileges.edit.privilegeListEdit-privilegeSer__empty":"f5041","pages-privileges.edit.privilegeListEdit-privilegeEmpty":"f5042","pages-privileges.edit.privilegeListEdit-privilegeEmpty__text":"f5043","pages-privileges.edit.privilegeListEdit-privilegeBlock":"f5044","pages-privileges.edit.privilegeListEdit-privilegeBlock__imgContainer":"f5045","pages-privileges.edit.privilegeListEdit-privilegeBlock__img":"f5046","pages-privileges.edit.privilegeListEdit-privilegeBlock__main":"f5047","pages-privileges.edit.privilegeListEdit-privilegeBlock__title":"f5048","pages-privileges.edit.privilegeListEdit-privilegeBlock__text":"f5049","pages-privileges.edit.privilegeListEdit-privilegeBlock__subtext":"f5050","pages-privileges.edit.privilegeListEdit-pages-services":"f5051","pages-privileges.item-resetList":"f5052","pages-privileges.item-resetLink":"f5053","pages-privileges.item-resetBtn":"f5054","pages-privileges.item-btnAgree":"f5055","pages-privileges.item-btnAgreeLight":"f5056","pages-privileges.item-btnAgreeLightSmall":"f5057","pages-privileges.item-btnDangerLight":"f5058","pages-privileges.item-wrapper":"f5059","pages-privileges.item-textDarkMainBase":"f5060","pages-privileges.item-textH2":"f5061","pages-privileges.item-pages-privileges.item":"f5062","pages-privileges.item-privilege__head":"f5063","pages-privileges.item-privilegeHead":"f5064","pages-privileges.item-privilegeHead__privilegeList":"f5065","pages-privileges.item-privilegeHead__btnContainer":"f5066","pages-privileges.item-requests__tab":"f5067","pages-privileges.item-privilege__btnBack":"f5068","pages-privileges.item-privilege__imgBack":"f5069","pages-privileges.item-privilege__title":"f5070","pages-privileges.item-privilegeSer__head":"f5071","pages-privileges.item-privilegeSer__headContainer":"f5072","pages-privileges.item-privilegeSer__title":"f5073","pages-privileges.item-privilege__main":"f5074","pages-privileges.item-privilege__table":"f5075","pages-privileges.item-textMB":"f5076","pages-privileges.item-textM":"f5077","pages-privileges.item-dark500base":"f5078","pages-privileges.item-loadContainer":"f5079","pages-privileges.item-pages-services":"f5080","pages-privileges.item.privilegeService.preview-resetBtn":"f5081","pages-privileges.item.privilegeService.preview-btn-agree":"f5082","pages-privileges.item.privilegeService.preview-btnChange":"f5083","pages-privileges.item.privilegeService.preview-btn-neutral":"f5084","pages-privileges.item.privilegeService.preview-resetList":"f5085","pages-privileges.item.privilegeService.preview-btn-empty":"f5086","pages-privileges.item.privilegeService.preview-btn-danger":"f5087","pages-privileges.item.privilegeService.preview-btn-danger-empty":"f5088","pages-privileges.item.privilegeService.preview-pages-news.edit.preview":"f5089","pages-privileges.item.privilegeService.preview-newsEdit__subtitle":"f5090","pages-privileges.item.privilegeService.preview-newsEdit__imgContainer":"f5091","pages-privileges.item.privilegeService.preview-newsEdit__btns":"f5092","pages-privileges.item.privilegeService.preview-fileInput":"f5093","pages-privileges.item.privilegeService.preview-servicesModal__imgEdit":"f5094","pages-privileges.item.privilegeService.preview-servicesImgEdit":"f5095","pages-privileges.item.privilegeService.preview-servicesImgEdit__title":"f5096","pages-privileges.item.privilegeService.preview-servicesImgEdit__container":"f5097","pages-privileges.item.privilegeService.preview-servicesImgEdit__btnContainer":"f5098","pages-privileges.item.privilegeService-resetList":"f5099","pages-privileges.item.privilegeService-resetLink":"f5100","pages-privileges.item.privilegeService-resetBtn":"f5101","pages-privileges.item.privilegeService-btnAgree":"f5102","pages-privileges.item.privilegeService-btnDanger":"f5103","pages-privileges.item.privilegeService-btnAgreeLight":"f5104","pages-privileges.item.privilegeService-btnAgreeLightSmall":"f5105","pages-privileges.item.privilegeService-btnAgreeEmptySmall":"f5106","pages-privileges.item.privilegeService-btnDangerEmptySmall":"f5107","pages-privileges.item.privilegeService-privilegeSer__scroll":"f5108","pages-privileges.item.privilegeService-cat__logo":"f5109","pages-privileges.item.privilegeService-cat__logoImg":"f5110","pages-privileges.item.privilegeService-cat__header":"f5111","pages-privileges.item.privilegeService-cat__container":"f5112","pages-privileges.item.privilegeService-cat__cloud":"f5113","pages-privileges.item.privilegeService-btnDangerOpacity":"f5114","pages-privileges.item.privilegeService-cat__edit":"f5115","pages-privileges.item.privilegeService-cat__actions":"f5116","pages-privileges.item.privilegeService-cat__bigBtn":"f5117","pages-privileges.item.privilegeService-privilegeSer__scrollContainer":"f5118","pages-privileges.item.privilegeService-privilegeSer__section":"f5119","pages-privileges.item.privilegeService-privilegeSer__inputsBlock":"f5120","pages-privileges.item.privilegeService-privilegeSer__title":"f5121","pages-privileges.item.privilegeService-privilegeSer__text":"f5122","pages-privileges.item.privilegeService-privilegeSer__textEmpty":"f5123","pages-privileges.item.privilegeService-privilegeInputTitle":"f5124","pages-privileges.item.privilegeService-privilegeSer__list":"f5125","pages-privileges.item.privilegeService-privilegeSer__item":"f5126","pages-privileges.item.privilegeService-privilegeBlock":"f5127","pages-privileges.item.privilegeService-privilegeBlock__imgContainer":"f5128","pages-privileges.item.privilegeService-privilegeBlock__img":"f5129","pages-privileges.item.privilegeService-privilegeBlock__main":"f5130","pages-privileges.item.privilegeService-privilegeBlock__title":"f5131","pages-privileges.item.privilegeService-privilegeBlock__text":"f5132","pages-privileges.item.privilegeService-privilegeBlock__subtext":"f5133","pages-privileges.item.privilegeService-privilegeBlock__btnContainer":"f5134","pages-privileges.item.privilegeService-privilegeBlock__empty":"f5135","pages-privileges.item.privilegeService-privilegeBlock__emptyText":"f5136","pages-privileges.item.privilegeService-cat__icon":"f5137","pages-privileges.item.privilegeService-spaceRight16":"f5138","pages-privileges.item.privilegeService-spaceLeft16":"f5139","pages-privileges.item.privilegeService-spaceTop20":"f5140","pages-privileges.item.privilegeService-pages-services":"f5141","pages-privileges.item.privilegeService.selectIcon-resetList":"f5142","pages-privileges.item.privilegeService.selectIcon-resetBtn":"f5143","pages-privileges.item.privilegeService.selectIcon-selectIcon":"f5144","pages-privileges.item.privilegeService.selectIcon-selectImgContainer":"f5145","pages-privileges.item.privilegeService.selectIcon-selectIcon__container":"f5146","pages-privileges.item.privilegeService.selectIcon-selectIcon__list":"f5147","pages-privileges.item.privilegeService.selectIcon-colorDark200":"f5148","pages-privileges.item.privilegeService.selectIcon-selectIcon__hoverItem":"f5149","pages-privileges.item.privilegeService.selectIcon-selectIcon__activeItem":"f5150","pages-privileges.pitem-resetList":"f5151","pages-privileges.pitem-resetLink":"f5152","pages-privileges.pitem-resetBtn":"f5153","pages-privileges.pitem-btnAgree":"f5154","pages-privileges.pitem-btnAgreeLight":"f5155","pages-privileges.pitem-btnAgreeLightSmall":"f5156","pages-privileges.pitem-btnAgreeEmptySmall":"f5157","pages-privileges.pitem-wrapper":"f5158","pages-privileges.pitem-textDarkMainBase":"f5159","pages-privileges.pitem-textH2":"f5160","pages-privileges.pitem-pages-privileges":"f5161","pages-privileges.pitem-privilege__head":"f5162","pages-privileges.pitem-privilegeHead":"f5163","pages-privileges.pitem-privilegeHead__privilegeList":"f5164","pages-privileges.pitem-privilege__title":"f5165","pages-privileges.pitem-privilege__scroll":"f5166","pages-privileges.pitem-privilege__scrollContainer":"f5167","pages-privileges.pitem-pages-services":"f5168","pages-privileges.pitem-privilege__list":"f5169","pages-privileges.pitem-privilege__item":"f5170","pages-privileges.pitem-privilege__subhead":"f5171","pages-privileges.pitem-privilege__subtitle":"f5172","pages-privileges.pitem-privilege__container":"f5173","pages-privileges.pitem-privilege__chosen":"f5174","pages-privileges.pitem-privilege__blockInfo":"f5175","pages-privileges.pitem-privilegeBlockInfo":"f5176","pages-privileges.pitem-privilegeBlockInfo__title":"f5177","pages-privileges.pitem-privilegeBlockInfo__text":"f5178","pages-privileges.pitem-spaceBottom16":"f5179","pages-privileges-resetList":"f5180","pages-privileges-resetLink":"f5181","pages-privileges-resetBtn":"f5182","pages-privileges-btnAgree":"f5183","pages-privileges-btnAgreeLight":"f5184","pages-privileges-btnAgreeLightSmall":"f5185","pages-privileges-wrapper":"f5186","pages-privileges-textDarkMainBase":"f5187","pages-privileges-textH2":"f5188","pages-privileges-pages-privileges":"f5189","pages-privileges-privilege__head":"f5190","pages-privileges-privilegeHead":"f5191","pages-privileges-privilegeHead__privilegeList":"f5192","pages-privileges-privilege__title":"f5193","pages-privileges-privilege__tab":"f5194","pages-privileges-privilege__scroll":"f5195","pages-privileges-privilege__scrollContainer":"f5196","pages-privileges-pages-services":"f5197","pages-privileges-privilege__list":"f5198","pages-privileges-privilege__item":"f5199","pages-privileges-privilege__subhead":"f5200","pages-privileges-privilege__subtitle":"f5201","pages-privileges-privilege__container":"f5202","pages-privileges-privilege__chosen":"f5203","pages-privileges-privilege__blockInfo":"f5204","pages-privileges-privilegeBlockInfo":"f5205","pages-privileges-privilegeBlockInfo__title":"f5206","pages-privileges-privilegeBlockInfo__text":"f5207","pages-privileges.service.preview-resetBtn":"f5208","pages-privileges.service.preview-btn-agree":"f5209","pages-privileges.service.preview-btn-change":"f5210","pages-privileges.service.preview-btn-neutral":"f5211","pages-privileges.service.preview-resetList":"f5212","pages-privileges.service.preview-btn-empty":"f5213","pages-privileges.service.preview-btn-danger":"f5214","pages-privileges.service.preview-btn-danger-empty":"f5215","pages-privileges.service.preview-pages-news.edit.preview":"f5216","pages-privileges.service.preview-newsEdit__subtitle":"f5217","pages-privileges.service.preview-newsEdit__imgContainer":"f5218","pages-privileges.service.preview-newsEdit__btns":"f5219","pages-privileges.service.preview-fileInput":"f5220","pages-privileges.service.preview-servicesModal__imgEdit":"f5221","pages-privileges.service.preview-servicesImgEdit":"f5222","pages-privileges.service.preview-servicesImgEdit__title":"f5223","pages-privileges.service.preview-servicesImgEdit__container":"f5224","pages-privileges.service.preview-servicesImgEdit__btnContainer":"f5225","pages-privileges.service-eventModal__tag":"f5226","pages-privileges.service-resetBtn":"f5227","pages-privileges.service-btnAgree":"f5228","pages-privileges.service-btnAgreeMain":"f5229","pages-privileges.service-btnNeutral":"f5230","pages-privileges.service-btnNeutralTwo":"f5231","pages-privileges.service-btnEmpty":"f5232","pages-privileges.service-btnCancel":"f5233","pages-privileges.service-btnSmallLight":"f5234","pages-privileges.service-btnDangerous":"f5235","pages-privileges.service-tag":"f5236","pages-privileges.service-input-invalid":"f5237","pages-privileges.service-ColorTextPr":"f5238","pages-privileges.service-ColorTextSec":"f5239","pages-privileges.service-textH3":"f5240","pages-privileges.service-textMB":"f5241","pages-privileges.service-textM":"f5242","pages-privileges.service-servicesModalSelect":"f5243","pages-privileges.service-servicesModalSelect__text":"f5244","pages-privileges.service-servicesModalSelect__select":"f5245","pages-privileges.service-servicesModal__editTitle":"f5246","pages-privileges.service-input48":"f5247","pages-privileges.service-input48:hover":"f5248","pages-privileges.service-input40":"f5249","pages-privileges.service-input40:hover":"f5250","pages-privileges.service-servicesDescription":"f5251","pages-privileges.service-servicesDescription__title":"f5252","pages-privileges.service-servicesDescription__input":"f5253","pages-privileges.service-servicesSite_input":"f5254","pages-privileges.service-servicesModal":"f5255","pages-privileges.service-servicesModal__head":"f5256","pages-privileges.service-servicesModal__containerHead":"f5257","pages-privileges.service-servicesModal__btnBack":"f5258","pages-privileges.service-servicesModal__title":"f5259","pages-privileges.service-servicesModal__imgBack":"f5260","pages-privileges.service-servicesModal__close":"f5261","pages-privileges.service-servicesModal__scroll":"f5262","pages-privileges.service-servicesModal__imgContainer":"f5263","pages-privileges.service-servicesModal__tag":"f5264","pages-privileges.service-servicesModal__scrollContainer":"f5265","pages-privileges.service-servicesModal__section":"f5266","pages-privileges.service-servicesModal__subhead":"f5267","pages-privileges.service-servicesModal__textContainer":"f5268","pages-privileges.service-servicesModalSection__title":"f5269","pages-privileges.service-servicesModal__container":"f5270","pages-privileges.service-placeholderColor":"f5271","pages-privileges.service-servicesModalBlock":"f5272","pages-privileges.service-servicesModalBlock__subtitle":"f5273","pages-privileges.service-servicesModalBlock__input":"f5274","pages-privileges.service-servicesModalBlock__btnContainer":"f5275","pages-privileges.service-eventModal__editMenu":"f5276","pages-privileges.service-bottomSpace24":"f5277","pages-privileges.service-bottomSpace16":"f5278","pages-privileges.service-bottomSpace12":"f5279","pages-privileges.service-bottomSpace8":"f5280","pages-privileges.service-eventModal":"f5281","pages-privileges.service-eventModal__container":"f5282","pages-privileges.service-eventModal__close":"f5283","pages-privileges.service-eventModal__block":"f5284","pages-privileges.service-eventModal__head":"f5285","pages-privileges.service-eventModal__title":"f5286","pages-privileges.service-eventModal__scroll":"f5287","pages-privileges.service-eventModal__scrollContainer":"f5288","pages-privileges.service-eventModal__info":"f5289","pages-privileges.service-eventModalInfo":"f5290","pages-privileges.service-eventModalInfo__item":"f5291","pages-privileges.service-eventModalInfo__subtitle":"f5292","pages-privileges.service-eventModalInfo__text":"f5293","pages-privileges.service-eventModalInfo__container":"f5294","pages-privileges.service-toggle":"f5295","pages-privileges.service-eventModalInfo__content":"f5296","pages-privileges.service-wholeWidth":"f5297","pages-privileges.service.templates.item-resetList":"f5298","pages-privileges.service.templates.item-btnNeutral":"f5299","pages-privileges.service.templates.item-ColorTextPr":"f5300","pages-privileges.service.templates.item-ColorTextSec":"f5301","pages-privileges.service.templates.item-textH3":"f5302","pages-privileges.service.templates.item-textMB":"f5303","pages-privileges.service.templates.item-textM":"f5304","pages-privileges.service.templates.item-pages-privileges.service.templates":"f5305","pages-privileges.service.templates.item-servicesModalT__head":"f5306","pages-privileges.service.templates.item-servicesModalT__title":"f5307","pages-privileges.service.templates.item-servicesModalT__close":"f5308","pages-privileges.service.templates.item-servicesModalT__scroll":"f5309","pages-privileges.service.templates.item-servicesModalT__scrollContainer":"f5310","pages-privileges.service.templates.item-input48":"f5311","pages-privileges.service.templates.item-input48:hover":"f5312","pages-privileges.service.templates.item-servicesModalTIput":"f5313","pages-privileges.service.templates.item-servicesModalTIput__input":"f5314","pages-privileges.service.templates.item-servicesModalTIput__img":"f5315","pages-privileges.service.templates.item-servicesModalT__list":"f5316","pages-privileges.service.templates.item-resetBtn":"f5317","pages-privileges.service.templates.item-servicesBlock":"f5318","pages-privileges.service.templates.item-servicesBlock__btn":"f5319","pages-privileges.service.templates.item-servicesBlock__img01":"f5320","pages-privileges.service.templates.item-servicesBlock__favorite":"f5321","pages-privileges.service.templates.item-servicesBlock__img02":"f5322","pages-privileges.service.templates.item-opacityVisible":"f5323","pages-privileges.service.templates.item-servicesModalT__btnContainer":"f5324","pages-privileges.service.templates-resetList":"f5325","pages-privileges.service.templates-btnNeutral":"f5326","pages-privileges.service.templates-ColorTextPr":"f5327","pages-privileges.service.templates-ColorTextSec":"f5328","pages-privileges.service.templates-textH3":"f5329","pages-privileges.service.templates-textMB":"f5330","pages-privileges.service.templates-textM":"f5331","pages-privileges.service.templates-pages-privileges.service.templates":"f5332","pages-privileges.service.templates-servicesModalT__head":"f5333","pages-privileges.service.templates-servicesModalT__title":"f5334","pages-privileges.service.templates-servicesModalT__close":"f5335","pages-privileges.service.templates-servicesModalT__scroll":"f5336","pages-privileges.service.templates-servicesModalT__scrollContainer":"f5337","pages-privileges.service.templates-input48":"f5338","pages-privileges.service.templates-input48:hover":"f5339","pages-privileges.service.templates-servicesModalTIput":"f5340","pages-privileges.service.templates-servicesModalTIput__input":"f5341","pages-privileges.service.templates-servicesModalTIput__img":"f5342","pages-privileges.service.templates-servicesModalT__list":"f5343","pages-privileges.service.templates-resetBtn":"f5344","pages-privileges.service.templates-servicesBlock":"f5345","pages-privileges.service.templates-servicesBlock__btn":"f5346","pages-privileges.service.templates-servicesBlock__img01":"f5347","pages-privileges.service.templates-servicesBlock__favorite":"f5348","pages-privileges.service.templates-servicesBlock__img02":"f5349","pages-privileges.service.templates-opacityVisible":"f5350","pages-privileges.service.templates-servicesModalT__btnContainer":"f5351","pages-profile-resetList":"f5352","pages-profile-resetBtn":"f5353","pages-profile-login__btn":"f5354","pages-profile-btnEdit":"f5355","pages-profile-btnAgree":"f5356","pages-profile-btnAgreeBig":"f5357","pages-profile-btnNeutral":"f5358","pages-profile-input__input":"f5359","pages-profile-input__input:hover":"f5360","pages-profile-input-invalid":"f5361","pages-profile-pages-profile":"f5362","pages-profile-authProfile__header":"f5363","pages-profile-authProfileHeader":"f5364","pages-profile-authProfileHeader__btnBack":"f5365","pages-profile-authProfileHeader__img":"f5366","pages-profile-authProfileHeader__title":"f5367","pages-profile-authProfile__main":"f5368","pages-profile-authProfile__container":"f5369","pages-profile-authProfile__info":"f5370","pages-profile-authProfile__section":"f5371","pages-profile-authProfile__subtitle":"f5372","pages-profile-authProfile__btnContaner":"f5373","pages-profile-authProfile__list":"f5374","pages-profile-authProfile__item":"f5375","pages-profile-input":"f5376","pages-profile-authProfileblock":"f5377","pages-profile-authProfileblock__title":"f5378","pages-profile-authProfileblock__text":"f5379","pages-profile-authProfile__bigBlock":"f5380","pages-profile-authProfile__tab":"f5381","pages-profile-authProfile__menu":"f5382","pages-receipts.add-resetLink":"f5383","pages-receipts.add-resetBtn":"f5384","pages-receipts.add-btnAgreeLight":"f5385","pages-receipts.add-input-invalid":"f5386","pages-receipts.add-wrapper":"f5387","pages-receipts.add-textDarkMainBase":"f5388","pages-receipts.add-dark500base":"f5389","pages-receipts.add-textH2":"f5390","pages-receipts.add-textLB":"f5391","pages-receipts.add-textL":"f5392","pages-receipts.add-textMB":"f5393","pages-receipts.add-textSB":"f5394","pages-receipts.add-textS":"f5395","pages-receipts.add-textCaptionS":"f5396","pages-receipts.add-pages-receipts.add":"f5397","pages-receipts.add-ivent__head":"f5398","pages-receipts.add-iventHead":"f5399","pages-receipts.add-iventHead__eventList":"f5400","pages-receipts.add-ivent__tab":"f5401","pages-receipts.add-ivent__title":"f5402","pages-receipts.add-iventForumHead":"f5403","pages-receipts.add-iventForumHead__btnImg":"f5404","pages-receipts.add-iventForumHead__avatar":"f5405","pages-receipts.add-iventForumHead__container":"f5406","pages-receipts.add-editIventHead":"f5407","pages-receipts.add-editIventHead__title":"f5408","pages-receipts.add-ivent__main":"f5409","pages-receipts.add-loadContainer":"f5410","pages-receipts.item-resetLink":"f5411","pages-receipts.item-resetBtn":"f5412","pages-receipts.item-btnAgreeLight":"f5413","pages-receipts.item-wrapper":"f5414","pages-receipts.item-textDarkMainBase":"f5415","pages-receipts.item-dark500base":"f5416","pages-receipts.item-textH2":"f5417","pages-receipts.item-textLB":"f5418","pages-receipts.item-textL":"f5419","pages-receipts.item-textMB":"f5420","pages-receipts.item-textSB":"f5421","pages-receipts.item-textS":"f5422","pages-receipts.item-textCaptionS":"f5423","pages-receipts.item-pages-receipts.item":"f5424","pages-receipts.item-ivent__head":"f5425","pages-receipts.item-iventHead":"f5426","pages-receipts.item-iventHead__eventList":"f5427","pages-receipts.item-ivent__title":"f5428","pages-receipts.item-iventForumHead":"f5429","pages-receipts.item-iventForumHead__btnImg":"f5430","pages-receipts.item-iventForumHead__avatar":"f5431","pages-receipts.item-iventForumHead__container":"f5432","pages-receipts.item-editIventHead":"f5433","pages-receipts.item-ivent__main":"f5434","pages-receipts.item-loadContainer":"f5435","pages-receipts-resetList":"f5436","pages-receipts-resetLink":"f5437","pages-receipts-resetBtn":"f5438","pages-receipts-btnAgree":"f5439","pages-receipts-btnAgreeLight":"f5440","pages-receipts-requests__search":"f5441","pages-receipts-textDarkMainBase":"f5442","pages-receipts-textH2":"f5443","pages-receipts-requests__head":"f5444","pages-receipts-requestsHead":"f5445","pages-receipts-requestsHead__requestsList":"f5446","pages-receipts-requests__tab":"f5447","pages-receipts-requests__title":"f5448","pages-receipts-editrequestsHead__title":"f5449","pages-receipts-requests__main":"f5450","pages-receipts-textMB":"f5451","pages-receipts-textM":"f5452","pages-receipts-dark500base":"f5453","pages-receipts-pages-receipts":"f5454","pages-requests.item-resetList":"f5455","pages-requests.item-resetLink":"f5456","pages-requests.item-resetBtn":"f5457","pages-requests.item-btnAgree":"f5458","pages-requests.item-btnCancel":"f5459","pages-requests.item-btnAgreeLight":"f5460","pages-requests.item-requests__search":"f5461","pages-requests.item-wrapper":"f5462","pages-requests.item-textDarkMainBase":"f5463","pages-requests.item-textH2":"f5464","pages-requests.item-pages-requests.item":"f5465","pages-requests.item-requests__head":"f5466","pages-requests.item-requestsHead":"f5467","pages-requests.item-requestsHead__requestsList":"f5468","pages-requests.item-requestsHead__btn":"f5469","pages-requests.item-requestsHead__btnImg":"f5470","pages-requests.item-editrequestsHead__title":"f5471","pages-requests.item-requests__main":"f5472","pages-requests-resetList":"f5473","pages-requests-resetLink":"f5474","pages-requests-resetBtn":"f5475","pages-requests-btnAgree":"f5476","pages-requests-btnAgreeLight":"f5477","pages-requests-requests__search":"f5478","pages-requests-wrapper":"f5479","pages-requests-textDarkMainBase":"f5480","pages-requests-textH2":"f5481","pages-requests-requests__head":"f5482","pages-requests-requestsHead":"f5483","pages-requests-requestsHead__requestsList":"f5484","pages-requests-requests__tab":"f5485","pages-requests-requests__title":"f5486","pages-requests-editrequestsHead__title":"f5487","pages-requests-requests__main":"f5488","pages-requests-textMB":"f5489","pages-requests-textM":"f5490","pages-requests-dark500base":"f5491","pages-requests-pages-requests":"f5492","pages-service-resetList":"f5493","pages-service-resetLink":"f5494","pages-service-resetBtn":"f5495","pages-service-btnAgree":"f5496","pages-service-btnAgreeLight":"f5497","pages-service-textDarkMainBase":"f5498","pages-service-textH2":"f5499","pages-service-pages-service":"f5500","pages-service-service__head":"f5501","pages-service-serviceHead":"f5502","pages-service-serviceHead__serviceList":"f5503","pages-service-serviceHead__link":"f5504","pages-service-requestsHead__btnImg":"f5505","pages-service-service__tab":"f5506","pages-service-service__title":"f5507","pages-service-editserviceHead__title":"f5508","pages-service-service__main":"f5509","pages-service-textMB":"f5510","pages-service-textM":"f5511","pages-service-dark500base":"f5512","pages-service-loadConteiner":"f5513","pages-services-resetList":"f5514","pages-services-resetLink":"f5515","pages-services-resetBtn":"f5516","pages-services-btnAgree":"f5517","pages-services-btnAgreeLight":"f5518","pages-services-pages-services":"f5519","pages-services-textDarkMainBase":"f5520","pages-services-textH2":"f5521","pages-services-requests__head":"f5522","pages-services-requestsHead":"f5523","pages-services-requestsHead__requestsList":"f5524","pages-services-requests__tab":"f5525","pages-services-requests__title":"f5526","pages-services-editrequestsHead__title":"f5527","pages-services-requests__main":"f5528","pages-services-textMB":"f5529","pages-services-textM":"f5530","pages-services-dark500base":"f5531","pages-services-loadConteiner":"f5532","pages-templates.edit.code-code":"f5533","pages-templates.edit.code-code__container":"f5534","pages-templates.edit-resetLink":"f5535","pages-templates.edit-btnDanger":"f5536","pages-templates.edit-btnNeutral":"f5537","pages-templates.edit-btnAngree":"f5538","pages-templates.edit-input-invalid":"f5539","pages-templates.edit-pages-templates.edit":"f5540","pages-templates.edit-templatesEdit":"f5541","pages-templates.edit-textDarkMainBase":"f5542","pages-templates.edit-textH2":"f5543","pages-templates.edit-templatesEdit__menu":"f5544","pages-templates.edit-bottomLine":"f5545","pages-templates.edit-templatesEditHead":"f5546","pages-templates.edit-templatesEdit__tab":"f5547","pages-templates.edit-templatesEdit__title":"f5548","pages-templates.edit-templatesEdit__main":"f5549","pages-templates.edit-grayLineRight":"f5550","pages-templates.edit-templatesEdit__column":"f5551","pages-templates.edit-templatesEdit__inputs":"f5552","pages-templates.edit-templatesEdit__footer":"f5553","pages-templates.edit-footerEditMenu__container":"f5554","pages-templates.edit.form-pages-templates.edit.form":"f5555","pages-templates.edit.form-grayLineRight":"f5556","pages-templates.edit.form-templatesEdit__column":"f5557","pages-templates.edit.form-templatesEdit__inputs":"f5558","pages-templates.edit.form-templatesEdit__menu":"f5559","pages-templates.edit.form-bottomLine":"f5560","pages-templates.edit.main-input48":"f5561","pages-templates.edit.main-input48:hover":"f5562","pages-templates.edit.main-resetList":"f5563","pages-templates.edit.main-block__scroll":"f5564","pages-templates.edit.main-block__content":"f5565","pages-templates.edit.main-hint":"f5566","pages-templates.edit.main-hint__icon":"f5567","pages-templates.edit.main-hint__text":"f5568","pages-templates.edit.main-hint__info":"f5569","pages-templates.edit.main-templateEdit__id":"f5570","pages-templates.edit.main-templateEdit__section":"f5571","pages-templates.edit.main-templateEdit__row":"f5572","pages-templates.edit.main-templateEdit__list":"f5573","pages-templates.edit.main-templateEdit__inputBig":"f5574","pages-templates.edit.main-templateEdit__item":"f5575","pages-templates.edit.main-templateEdit__title":"f5576","pages-templates.edit.main-templateEdit__subtitle":"f5577","pages-templates.edit.main-templatesEditInputs__textInfo":"f5578","pages-templates.edit.main-spaceBottm40":"f5579","pages-templates.edit.main-spaceBottm16":"f5580","pages-templates.edit.main-spaceBottm12":"f5581","pages-templates.edit.main-spaceBottm8":"f5582","pages-templates-resetList":"f5583","pages-templates-resetLink":"f5584","pages-templates-resetBtn":"f5585","pages-templates-btnAgree":"f5586","pages-templates-btnAgreeLight":"f5587","pages-templates-pages-templates":"f5588","pages-templates-templatesHead":"f5589","pages-templates-templatesHead__templatesList":"f5590","pages-templates-templates__tab":"f5591","pages-templates-templates__title":"f5592","pages-templates-templates":"f5593","pages-test-resetList":"f5594","pages-test-input":"f5595","pages-test-input:hover":"f5596","pages-test-wrapper":"f5597","layout-main-body":"f5598","blocks-portal-blocks-portal":"f5599","blocks-changeCountry-resetBtn":"f5600","blocks-changeCountry-resetList":"f5601","blocks-changeCountry-language":"f5602","blocks-changeCountry-flag":"f5603","blocks-changeCountry-flag__img":"f5604","blocks-changeCountry-language__chosen":"f5605","blocks-changeCountry-language__hoverContainer":"f5606","blocks-changeCountry-language__container":"f5607","blocks-changeCountry-scrollBar":"f5608","blocks-changeCountry-language__list":"f5609","blocks-changeCountry-language__btn":"f5610","blocks-changeCountry-circle":"f5611","blocks-requests.invoiceList.item-resetLink":"f5612","blocks-requests.invoiceList.item-textLink":"f5613","blocks-requests.invoiceList.item-colorTextTetr":"f5614","pages-analytics-resetList":"f5615","pages-analytics-resetLink":"f5616","pages-analytics-resetBtn":"f5617","pages-analytics-btnAgree":"f5618","pages-analytics-btnAgreeLight":"f5619","pages-analytics-wrapper":"f5620","pages-analytics-textDarkMainBase":"f5621","pages-analytics-textH2":"f5622","pages-analytics-requests__head":"f5623","pages-analytics-requestsHead":"f5624","pages-analytics-requestsHead__requestsList":"f5625","pages-analytics-requests__tab":"f5626","pages-analytics-requests__title":"f5627","pages-analytics-editrequestsHead__title":"f5628","pages-analytics-requests__main":"f5629","pages-analytics-textMB":"f5630","pages-analytics-textM":"f5631","pages-analytics-dark500base":"f5632","pages-analytics-pages-analytics":"f5633"}
window.renderBlocks['blocks-authorization.check'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';
 
    if (query.url === 'index'){
        if (context.token){ 
            return '<meta http-equiv="refresh" content="0;URL=/dashboard"/>'; 
        }
    } else {
        if (!context.token){ 
            return '<meta http-equiv="refresh" content="0;URL=/"/>'; 
        }
    }

__p+='';
}
return __p;
}
window.renderBlocks['blocks-authorization.login'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('login') ))==null?'':__t)+
' scrollBar">\r\n    <div class="'+
((__t=( f.getClass('login__container') ))==null?'':__t)+
'">\r\n        <h1 class="'+
((__t=( f.getClass('login__titleHidden', 'visuallyHidden') ))==null?'':__t)+
'">\r\n            Авторизация\r\n        </h1>\r\n        <div class="'+
((__t=( f.getClass('head__flag') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock('changeCountry') ))==null?'':__t)+
'\r\n        </div>\r\n        <div class="'+
((__t=( f.getClass('login__logo') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock('icons.logoTwoString') ))==null?'':__t)+
'\r\n        </div>\r\n        <ul class="'+
((__t=( f.getClass('resetList', 'login__list') ))==null?'':__t)+
'">\r\n            <li class="'+
((__t=( f.getClass('login__item') ))==null?'':__t)+
'">\r\n                <label class="'+
((__t=( f.getClass('input') ))==null?'':__t)+
'">\r\n                    Логин\r\n                    <input '+
((__t=( e.ref('login') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('input__input') ))==null?'':__t)+
'" type="text">\r\n                </label>\r\n            </li>\r\n            <li class="'+
((__t=( f.getClass('login__item') ))==null?'':__t)+
'">\r\n                <label class="'+
((__t=( f.getClass('input') ))==null?'':__t)+
'">\r\n                    Пароль\r\n                    <input '+
((__t=( e.ref('password') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('input__input', 'passWordRightSpace') ))==null?'':__t)+
'" type="password">\r\n                </label>\r\n                <button '+
((__t=( e.click('showPassword') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'input__show') ))==null?'':__t)+
'" style="width: 32px; min-width: 32px; height: 32px;" aria-label="Показать пароль">\r\n                    '+
((__t=( f.renderBlock('icons.i_eye') ))==null?'':__t)+
'\r\n                </button>\r\n                <button '+
((__t=( e.click('hidePassword') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'input__show') ))==null?'':__t)+
'" style="width: 32px; min-width: 32px; height: 32px;display:none" aria-label="Скрыть пароль">\r\n                    '+
((__t=( f.renderBlock('icons.i_eye-closed') ))==null?'':__t)+
'\r\n                </button>\r\n            </li>\r\n        </ul>\r\n        <div class="'+
((__t=( f.getClass('login__btnContainer') ))==null?'':__t)+
'">\r\n            <button  '+
((__t=( e.click('enter') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('login__btn') ))==null?'':__t)+
'">\r\n                Войти\r\n            </button>\r\n            \r\n            ';
 if (data.error) { 
__p+='\r\n                <div class="'+
((__t=( f.getClass('login__info') ))==null?'':__t)+
'">\r\n                    <div class="'+
((__t=( f.getClass('login__img') ))==null?'':__t)+
'" style="width: 20px; min-width: 20px; height: 20px;">\r\n                        '+
((__t=( f.renderBlock('icons.i_alert-triangle') ))==null?'':__t)+
'\r\n                    </div>\r\n                    '+
((__t=(  data.error ))==null?'':__t)+
'\r\n                </div>\r\n            ';
 } 
__p+='\r\n\r\n        </div>\r\n    </div>\r\n</div>\r\n\r\n';
 console.log(ctx._meta) 
__p+='';
}
return __p;
}
window.renderBlocks['blocks-builder.blocks.Audio'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';
 responseState.value = data.value 
__p+='\r\n';

 if ((data.value || {}).filename === undefined) { 
__p+='\r\n  <div class="'+
((__t=( f.getClass('audioBtnContainer') ))==null?'':__t)+
'">\r\n    <button '+
((__t=( e.click('openUploadDialog', {index:data.index}) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'audioUploadContainer', 'cntr', 'uploadImgAdd') ))==null?'':__t)+
' audioUploadContainer" aria-label="Добавить аудио">\r\n      <div class="'+
((__t=( f.getClass('audioUploadContainerImage', 'iconColorMain') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n        '+
((__t=( f.renderBlock('builder.icons.i_headphones') ))==null?'':__t)+
'\r\n      </div>\r\n      <div class="'+
((__t=( f.getClass('audioUploadContainerText') ))==null?'':__t)+
' audioUploadContainerText">Добавьте аудио</div>\r\n      <div class="'+
((__t=( f.getClass('iconColorMain') ))==null?'':__t)+
' uploadImgBg"\r\n        style="width: 24px; min-width: 24px; height: 24px;">\r\n        '+
((__t=( f.renderBlock('builder.icons.i_plus') ))==null?'':__t)+
'\r\n      </div>\r\n    </button>\r\n    <button '+
((__t=( e.click('remove') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'audioUploadBtnDelete', 'audioUploadBtnDeleteImg') ))==null?'':__t)+
' uploadBtnDelete" aria-label="Удалить блок">\r\n      <div class="'+
((__t=( f.getClass('iconColorMain') ))==null?'':__t)+
'"\r\n        style="width: 24px; min-width: 24px; height: 24px;">\r\n        '+
((__t=( f.renderBlock('builder.icons.i_x') ))==null?'':__t)+
'\r\n      </div>\r\n    </button>\r\n  </div>\r\n\r\n<input accept=".mp3,audio/*" class="'+
((__t=( f.getClass('fileInput') ))==null?'':__t)+
'"  type="file" '+
((__t=( e.change('fileChanged', {index:data.index}) ))==null?'':__t)+
'/>\r\n\r\n';
 } else {  
__p+='\r\n\r\n<div class="'+
((__t=( f.getClass('container',  data.first ? 'first' : '', 'cntr') ))==null?'':__t)+
' audioUploadContainer" tabindex="0" aria-label="Блок аудио">\r\n  <audio class="'+
((__t=( f.getClass('lessonBlockAudio') ))==null?'':__t)+
'" preload="metadata">\r\n    <source src=\''+
((__t=( utils.makeImageUrl(data.value, 0, 'url') ))==null?'':__t)+
'\' type=\''+
((__t=(
    data.value.content_type ))==null?'':__t)+
'\' />\r\n  </audio>\r\n\r\n  <div class="'+
((__t=( f.getClass('lessonBlockAudioControls') ))==null?'':__t)+
'">\r\n    <button class="'+
((__t=( f.getClass('resetBtn', 'lessonBlockAudioBtn') ))==null?'':__t)+
' mediaBlockAudioBtnPlay" aria-label="Начать/остановить проигрывание">\r\n      <div class="'+
((__t=( f.getClass('lessonBlockAudioImgPlay', 'iconColorMain') ))==null?'':__t)+
'" \r\n        style="width: 24px; min-width: 24px; height: 24px;">\r\n        '+
((__t=( f.renderBlock('builder.icons.i_play') ))==null?'':__t)+
'\r\n      </div>\r\n      \r\n      <div class="'+
((__t=( f.getClass('lessonBlockAudioImgPause', 'iconColorMain') ))==null?'':__t)+
'"\r\n        style="display: none; width: 24px; min-width: 24px; height: 24px;">\r\n        '+
((__t=( f.renderBlock('builder.icons.i_pause') ))==null?'':__t)+
'\r\n      </div>\r\n    </button>\r\n    <p class="'+
((__t=( f.getClass('lessonBlockAudioText', 'lessonBlockAudioCurrentTime') ))==null?'':__t)+
'">'+
((__t=( utils.mmss(data.value.options.duration) ))==null?'':__t)+
'</p>\r\n    <div class="'+
((__t=( f.getClass('lessonBlockAudioProgress') ))==null?'':__t)+
'">\r\n      <input\r\n        class="'+
((__t=( f.getClass('lessonBlockAudioline') ))==null?'':__t)+
' lessonBlockAudioline"\r\n        type="range"\r\n        max="100"\r\n        min="0"\r\n        defaultValue="0"\r\n        value="0"\r\n      />\r\n    </div>\r\n    <p class="'+
((__t=( f.getClass('lessonBlockAudioText', 'lessonBlockAudioTime') ))==null?'':__t)+
'">'+
((__t=( utils.mmss(data.value.options.duration) ))==null?'':__t)+
'</p>\r\n    \r\n    <button class="'+
((__t=( f.getClass('resetBtn', 'lessonBlockAudioBtnSound', 'lessonBlockAudioImgOn') ))==null?'':__t)+
' mediaBlockAudioBtnSound" aria-label="Убрать звук">\r\n      <div class="'+
((__t=( f.getClass('iconColorMain') ))==null?'':__t)+
'"\r\n        style="width: 24px; min-width: 24px; height: 24px;">\r\n        '+
((__t=( f.renderBlock('builder.icons.i_audio') ))==null?'':__t)+
'\r\n      </div>\r\n      <div class="'+
((__t=( f.getClass('iconColorMain') ))==null?'':__t)+
'"\r\n        style="display: none; width: 24px; min-width: 24px; height: 24px;">\r\n        '+
((__t=( f.renderBlock('builder.icons.i_audio_mute') ))==null?'':__t)+
'\r\n      </div>\r\n    </button>\r\n  </div>\r\n  \r\n</div>\r\n\r\n';
 } 
__p+='';
}
return __p;
}
window.renderBlocks['blocks-builder.blocks.Code'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('codePreContainer') ))==null?'':__t)+
' codePreContainer">\r\n    <div class="'+
((__t=( f.getClass('codePreHeader') ))==null?'':__t)+
'">\r\n        <button class="'+
((__t=( f.getClass('resetBtn', 'codePreType') ))==null?'':__t)+
'">\r\n            <span class="'+
((__t=( f.getClass('codePreTypeText') ))==null?'':__t)+
'">CODE</span>\r\n            <svg class="'+
((__t=( f.getClass('codePreTypeImg') ))==null?'':__t)+
'" width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n                <path fill-rule="evenodd" clip-rule="evenodd" d="M4.41058 6.91205C4.73602 6.58661 5.26366 6.58661 5.58909 6.91205L9.99984 11.3228L14.4106 6.91205C14.736 6.58661 15.2637 6.58661 15.5891 6.91205C15.9145 7.23748 15.9145 7.76512 15.5891 8.09056L10.5891 13.0906C10.2637 13.416 9.73602 13.416 9.41058 13.0906L4.41058 8.09056C4.08514 7.76512 4.08514 7.23748 4.41058 6.91205Z" fill="currentColor"/>\r\n            </svg>\r\n        </button>\r\n        <div class="'+
((__t=( f.getClass('codePreBtnsContainer') ))==null?'':__t)+
'" aria-label="Развернуть">\r\n            <button class="'+
((__t=( f.getClass('resetBtn', 'codePreBtn') ))==null?'':__t)+
'">\r\n                <svg class="'+
((__t=( f.getClass('codePreBtnImg') ))==null?'':__t)+
'" width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n                    <path fill-rule="evenodd" clip-rule="evenodd" d="M11.6665 2.5013C11.6665 2.04106 12.0396 1.66797 12.4998 1.66797H17.4998C17.9601 1.66797 18.3332 2.04106 18.3332 2.5013V7.5013C18.3332 7.96154 17.9601 8.33464 17.4998 8.33464C17.0396 8.33464 16.6665 7.96154 16.6665 7.5013V3.33464H12.4998C12.0396 3.33464 11.6665 2.96154 11.6665 2.5013Z" fill="currentColor"/>\r\n                    <path fill-rule="evenodd" clip-rule="evenodd" d="M2.49984 11.668C2.96007 11.668 3.33317 12.0411 3.33317 12.5013V16.668H7.49984C7.96007 16.668 8.33317 17.0411 8.33317 17.5013C8.33317 17.9615 7.96007 18.3346 7.49984 18.3346H2.49984C2.0396 18.3346 1.6665 17.9615 1.6665 17.5013V12.5013C1.6665 12.0411 2.0396 11.668 2.49984 11.668Z" fill="currentColor"/>\r\n                    <path fill-rule="evenodd" clip-rule="evenodd" d="M18.0894 1.91205C18.4149 2.23748 18.4149 2.76512 18.0894 3.09056L12.2561 8.92389C11.9306 9.24933 11.403 9.24933 11.0776 8.92389C10.7521 8.59845 10.7521 8.07082 11.0776 7.74538L16.9109 1.91205C17.2363 1.58661 17.764 1.58661 18.0894 1.91205Z" fill="currentColor"/>\r\n                    <path fill-rule="evenodd" clip-rule="evenodd" d="M8.92243 11.0761C9.24786 11.4015 9.24786 11.9292 8.92243 12.2546L3.08909 18.088C2.76366 18.4134 2.23602 18.4134 1.91058 18.088C1.58514 17.7625 1.58514 17.2349 1.91058 16.9094L7.74392 11.0761C8.06935 10.7507 8.59699 10.7507 8.92243 11.0761Z" fill="currentColor"/>\r\n                </svg>\r\n            </button>\r\n            <button class="'+
((__t=( f.getClass('resetBtn', 'codePreBtn') ))==null?'':__t)+
'" aria-label="Копировать">\r\n                <svg class="'+
((__t=( f.getClass('codePreBtnImg') ))==null?'':__t)+
'" width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n                    <g clip-path="url(#clip0_8501_49515)">\r\n                    <path fill-rule="evenodd" clip-rule="evenodd" d="M8.3335 7.4987C7.87326 7.4987 7.50016 7.87179 7.50016 8.33203V16.6654C7.50016 17.1256 7.87326 17.4987 8.3335 17.4987H16.6668C17.1271 17.4987 17.5002 17.1256 17.5002 16.6654V8.33203C17.5002 7.87179 17.1271 7.4987 16.6668 7.4987H8.3335ZM5.8335 8.33203C5.8335 6.95132 6.95278 5.83203 8.3335 5.83203H16.6668C18.0475 5.83203 19.1668 6.95132 19.1668 8.33203V16.6654C19.1668 18.0461 18.0475 19.1654 16.6668 19.1654H8.3335C6.95278 19.1654 5.8335 18.0461 5.8335 16.6654V8.33203Z" fill="currentColor"/>\r\n                    <path fill-rule="evenodd" clip-rule="evenodd" d="M3.3335 2.4987C2.87707 2.4987 2.50016 2.8756 2.50016 3.33203V11.6654C2.50016 12.1218 2.87707 12.4987 3.3335 12.4987C3.79373 12.4987 4.16683 12.8718 4.16683 13.332C4.16683 13.7923 3.79373 14.1654 3.3335 14.1654C1.95659 14.1654 0.833496 13.0423 0.833496 11.6654V3.33203C0.833496 1.95513 1.95659 0.832031 3.3335 0.832031H11.6668C13.0437 0.832031 14.1668 1.95513 14.1668 3.33203C14.1668 3.79227 13.7937 4.16536 13.3335 4.16536C12.8733 4.16536 12.5002 3.79227 12.5002 3.33203C12.5002 2.8756 12.1233 2.4987 11.6668 2.4987H3.3335Z" fill="currentColor"/>\r\n                    </g>\r\n                    <defs>\r\n                    <clipPath id="clip0_8501_49515">\r\n                    <rect width="20" height="20" fill="white"/>\r\n                    </clipPath>\r\n                    </defs>\r\n                </svg>\r\n            </button>\r\n        </div>\r\n    </div>\r\n    ';

        const fid = e.makeId();
    
__p+='\r\n\r\n    <pre class="'+
((__t=( f.getClass('codePre') ))==null?'':__t)+
'">\r\n        <code f-id="'+
((__t=( fid ))==null?'':__t)+
'" '+
((__t=( e.on('input', 'onInput', '', fid, false) ))==null?'':__t)+
' '+
((__t=( e.on('click', 'focus', '', fid, false) ))==null?'':__t)+
' contenteditable="true" \r\n        class="'+
((__t=( f.getClass('containerCodeMediaBlock') ))==null?'':__t)+
' containerCodeMediaBlock language-javascript">'+
((__t=( utils.hljs.highlightAuto(data.value).value ))==null?'':__t)+
'</code>\r\n    </pre>\r\n</div>\r\n';
}
return __p;
}
window.renderBlocks['blocks-builder.blocks.File'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';

 if (Object.keys(data.value || {}).length === 0) { 
__p+='\r\n    <div class="'+
((__t=( f.getClass('pdfBtnContainer') ))==null?'':__t)+
'">\r\n        <button '+
((__t=( e.click('openUploadDialog', {index:data.index}) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'pdfUploadContainer', 'cntr', 'uploadImgAdd') ))==null?'':__t)+
' pdfUploadContainer fileUploadNoneFile">\r\n            <div class="'+
((__t=( f.getClass('pdfUploadContainerImage', 'iconColorMain') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                '+
((__t=( f.renderBlock('builder.icons.i_paper_clip') ))==null?'':__t)+
'\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('pdfUploadContainerText') ))==null?'':__t)+
' pdfUploadContainerText">Добавьте вложение</div>\r\n            <div class="'+
((__t=( f.getClass('iconColorMain') ))==null?'':__t)+
' uploadImgBg"\r\n                style="width: 24px; min-width: 24px; height: 24px;">\r\n                '+
((__t=( f.renderBlock('builder.icons.i_plus') ))==null?'':__t)+
'\r\n            </div>\r\n        </button>\r\n        <button '+
((__t=( e.click('remove') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'pdfUploadBtnDelete', 'pdfUploadBtnDeleteImg') ))==null?'':__t)+
' uploadBtnDelete" aria-label="Удалить блок">\r\n            <div class="'+
((__t=( f.getClass('iconColorMain') ))==null?'':__t)+
'"\r\n                style="width: 24px; min-width: 24px; height: 24px;">\r\n                '+
((__t=( f.renderBlock('builder.icons.i_x') ))==null?'':__t)+
'\r\n            </div>\r\n        </button>\r\n    </div>\r\n\r\n<input class="'+
((__t=( f.getClass('fileInput') ))==null?'':__t)+
'"  type="file" '+
((__t=( e.change('fileChanged', {index:data.index}) ))==null?'':__t)+
'/>\r\n\r\n';
 } else {  
__p+='\r\n\r\n<div class="'+
((__t=( f.getClass('container',  data.first ? 'first' : '', 'cntr') ))==null?'':__t)+
' pdfUploadContainer pdfUploadOutlineWeb">\r\n    <a external="true" class="'+
((__t=( f.getClass('lessonBlockPDFLink') ))==null?'':__t)+
' lessonBlockPDFLink" target="_blank" href="'+
((__t=( utils.makeImageUrl(data.value, 0, 'url') ))==null?'':__t)+
'" title="'+
((__t=( utils.extract(data, 'value.options.filename', 'Файл') ))==null?'':__t)+
'" download>\r\n        <div class="'+
((__t=( f.getClass('lessonBlcokPDFLeft') ))==null?'':__t)+
' lessonBlcokFileLeft">\r\n            <div class="'+
((__t=( f.getClass('pdfUploadContainerImage', 'iconColorMain') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                '+
((__t=( f.renderBlock('builder.icons.i_paper_clip') ))==null?'':__t)+
'\r\n            </div>\r\n            <p class="'+
((__t=( f.getClass('lessonBlockPDFName') ))==null?'':__t)+
' pdfUploadContainerText">'+
((__t=( utils.extract(data, 'value.options.filename', 'Файл') ))==null?'':__t)+
' Lorem, ipsum dolor sit amet consectetur adipisicing elit. Accusamus ut suscipit nobis reiciendis exercitationem officia ex, blanditiis molestiae odit obcaecati quos iste rerum, nemo enim magni vero, magnam doloribus odio.</p>\r\n            <div class="'+
((__t=( f.getClass('iconColorMain') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                '+
((__t=( f.renderBlock('builder.icons.i_download') ))==null?'':__t)+
'\r\n            </div>\r\n        </div>\r\n    </a>\r\n</div>\r\n\r\n';
 } 
__p+='';
}
return __p;
}
window.renderBlocks['blocks-builder.blocks.Header1'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';

    const fid = e.makeId();

__p+='\r\n<div f-id="'+
((__t=( fid ))==null?'':__t)+
'" '+
((__t=( e.on('input', 'onInput', '', fid, false) ))==null?'':__t)+
' '+
((__t=( e.on('click', 'focus', '', fid, false) ))==null?'':__t)+
' contenteditable="true" class="'+
((__t=( f.getClass('mediablockH1', 'error', data.first ? 'first' : '') ))==null?'':__t)+
' mediablockH1">'+
((__t=( utils.parseMessageEntities(data, context) ))==null?'':__t)+
'</div>\r\n';
}
return __p;
}
window.renderBlocks['blocks-builder.blocks.Header2'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';

    const fid = e.makeId();

__p+='\r\n<div f-id="'+
((__t=( fid ))==null?'':__t)+
'" '+
((__t=( e.on('input', 'onInput', '', fid, false) ))==null?'':__t)+
' '+
((__t=( e.on('click', 'focus', '', fid, false) ))==null?'':__t)+
' contenteditable="true" class="'+
((__t=( f.getClass('mediablockH2', data.first ? 'first' : '') ))==null?'':__t)+
' mediablockH2">'+
((__t=( utils.parseMessageEntities(data, context) ))==null?'':__t)+
'</div>\r\n';
}
return __p;
}
window.renderBlocks['blocks-builder.blocks.Header3'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';

    const fid = e.makeId();
    

__p+='\r\n<div f-id="'+
((__t=( fid ))==null?'':__t)+
'" '+
((__t=( e.on('input', 'onInput', '', fid, false) ))==null?'':__t)+
' '+
((__t=( e.on('click', 'focus', '', fid, false) ))==null?'':__t)+
' contenteditable="true" class="'+
((__t=( f.getClass('mediablockH3', data.first ? 'first' : '') ))==null?'':__t)+
' mediablockH3">'+
((__t=( utils.parseMessageEntities(data, context) ))==null?'':__t)+
'</div>\r\n';
}
return __p;
}
window.renderBlocks['blocks-builder.blocks.Highlight'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';

    const fid = e.makeId();

__p+='\r\n\r\n<div class="'+
((__t=( f.getClass('mediablockHL', data.first ? 'first' : '') ))==null?'':__t)+
' mediablockHL">\r\n    <div f-id="'+
((__t=( fid ))==null?'':__t)+
'" '+
((__t=( e.on('input', 'onInput', '', fid, false) ))==null?'':__t)+
' '+
((__t=( e.on('click', 'focus', '', fid, false) ))==null?'':__t)+
' contenteditable="true" class="'+
((__t=( f.getClass('lessonBlockHL') ))==null?'':__t)+
' lessonBlockHL">'+
((__t=( utils.parseMessageEntities(data, context) ))==null?'':__t)+
'</div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-builder.blocks.HTML'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';

    const fid = e.makeId();

__p+='\r\n<div f-id="'+
((__t=( fid ))==null?'':__t)+
'" '+
((__t=( e.on('input', 'onInput', '', fid, false) ))==null?'':__t)+
' '+
((__t=( e.on('click', 'focus', '', fid, false) ))==null?'':__t)+
' contenteditable="true" class="'+
((__t=( f.getClass('containerTextMediaBlock') ))==null?'':__t)+
' containerTextCodeBlock">'+
((__t=( utils.replaceUrlsWithLinks(data.value) ))==null?'':__t)+
'</div>\r\n';
}
return __p;
}
window.renderBlocks['blocks-builder.blocks.List'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';

    const fid = e.makeId();
    if (!data.options)
         data.options = {}
    const level = data.options.level || 0;

__p+='\r\n\r\n<div  '+
((__t=( e.on('click', 'focus', '', fid, false) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('container') ))==null?'':__t)+
'" style="margin-left:'+
((__t=( 16 * level ))==null?'':__t)+
'px" >\r\n    <div class="'+
((__t=( f.getClass('mediaBlockBgList') ))==null?'':__t)+
'"></div>\r\n    <div class="'+
((__t=( f.getClass('marker') ))==null?'':__t)+
' mediaBlockListMarker"></div>\r\n    <div tabindex="0" f-id="'+
((__t=( fid ))==null?'':__t)+
'" '+
((__t=( e.on('input', 'onInput', '', fid, false) ))==null?'':__t)+
' contenteditable="true" class="'+
((__t=( f.getClass('list') ))==null?'':__t)+
' containerListMediaBlock">'+
((__t=( utils.parseMessageEntities(data, context)  ))==null?'':__t)+
'</div>\r\n</div>\r\n';
}
return __p;
}
window.renderBlocks['blocks-builder.blocks'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';
 const cfid = e.makeId(); 
__p+='\r\n\r\n<div '+
((__t=(e.ref('container', {}, cfid, true) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('container') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('helper') ))==null?'':__t)+
'">\r\n        <button '+
((__t=( e.click('addBlock') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'action') ))==null?'':__t)+
'" aria-label="Добавить блок" style="width: 24px; min-width: 24px; min-height: 24px;">\r\n            <div class="'+
((__t=( f.getClass('icon') ))==null?'':__t)+
'" style="width: 100%;">\r\n                '+
((__t=( f.renderBlock('builder.icons.i_plus') ))==null?'':__t)+
'\r\n            </div>\r\n        </button>\r\n        \r\n        ';
 const hfid = e.makeId(); 
__p+='\r\n        <button draggable="true" f-id="'+
((__t=( hfid ))==null?'':__t)+
'" \r\n            '+
((__t=( e.click('openMenu',{},hfid, false) ))==null?'':__t)+
'\r\n            '+
((__t=( e.on('dragstart', 'dragstart', {},hfid, false) ))==null?'':__t)+
'\r\n            '+
((__t=( e.on('dragend', 'dragend', {},hfid, false) ))==null?'':__t)+
'\r\n        \r\n            class="'+
((__t=( f.getClass('resetBtn', 'action') ))==null?'':__t)+
'" aria-label="Редактировать" style="width: 24px; min-width: 24px; min-height: 24px;">\r\n            <div class="'+
((__t=( f.getClass('icon') ))==null?'':__t)+
'" style="width: 100%;">\r\n                '+
((__t=( f.renderBlock('builder.icons.i_six-dots') ))==null?'':__t)+
'\r\n            </div>\r\n        </button>\r\n    </div>\r\n\r\n    ';
 const zfid = e.makeId(); 
__p+='\r\n\r\n    <div f-id="'+
((__t=( zfid ))==null?'':__t)+
'" class="'+
((__t=( f.getClass('zone') ))==null?'':__t)+
'"\r\n        '+
((__t=( e.ref('zone', {}, zfid, false) ))==null?'':__t)+
'\r\n        '+
((__t=( e.on('keydown', 'onKeydown', {index}, zfid, false) ))==null?'':__t)+
'\r\n        '+
((__t=( e.on('drop', 'drop', {}, zfid, false) ))==null?'':__t)+
'\r\n\r\n    \r\n        >\r\n        ';

        let blocksType = {
            'audio':"builder.blocks.Audio",
            'text':"builder.blocks.Text",
            'header1':"builder.blocks.Header1",
            'header2':"builder.blocks.Header2",
            'header3':"builder.blocks.Header3",
            'highlight':"builder.blocks.Highlight",
            'html':"builder.blocks.HTML",
            'builtInPDF':"builder.blocks.PDF",
            'photo':"builder.blocks.Photo",
            'video':"builder.blocks.Video",
            'list':"builder.blocks.List",
            'file':"builder.blocks.File",
            'code':"builder.blocks.Code",

        };

        for (let index in data.blocks){
        const block = data.blocks[index];

        if (blocksType[block.type] !== undefined){  
            const fid = e.makeId();
        
__p+='\r\n\r\n            <div f-id="'+
((__t=( fid ))==null?'':__t)+
'" \r\n            '+
((__t=( e.pointerover('pointerover', {index}, fid, false) ))==null?'':__t)+
' '+
((__t=( e.pointerout('pointerout',{index}, fid, false) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('element') ))==null?'':__t)+
'" >\r\n                '+
((__t=( f.renderBlock(blocksType[block.type], {
                    value: block.value, 
                    type: block.type,
                    options: block.options,
                    first: index === 0 , 
                    last: index === data.blocks.length - 1, 
                    index,
                    path: `${data.path}.blocks.${index}`,
                    name: data.name,
                    _new: block._new,
                    upload_file:block.upload_file,
                    need_crop:block.need_crop,
                    placeholder:'Введите текст'
                    }) ))==null?'':__t)+
'\r\n            </div>\r\n\r\n        ';
   
        } else {
            console.log('Неизвестный блок', block);
        }
        }
        
__p+='\r\n\r\n        <div class="'+
((__t=( f.getClass('addNewBlockSection') ))==null?'':__t)+
'" '+
((__t=( e.on('click','onAreaDBClick') ))==null?'':__t)+
'></div>\r\n\r\n    </div>\r\n    '+
((__t=( f.renderEmptyBlock('builder.contextMenu.textAction') ))==null?'':__t)+
'\r\n\r\n\r\n</div>\r\n<div class="'+
((__t=( f.getClass('selectFrame') ))==null?'':__t)+
'"></div>\r\n'+
((__t=( f.renderEmptyBlock('builder.contextMenu.addBlock') ))==null?'':__t)+
'\r\n'+
((__t=( f.renderEmptyBlock('builder.contextMenu.options') ))==null?'':__t)+
'\r\n\r\n';
}
return __p;
}
window.renderBlocks['blocks-builder.blocks.PDF'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';

 if (Object.keys(data.value || {}).length === 0) { 
__p+='\r\n    <div class="'+
((__t=( f.getClass('pdfBtnContainer') ))==null?'':__t)+
'">\r\n        <button '+
((__t=( e.click('openUploadDialog', {index:data.index}) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'pdfUploadContainer', 'cntr', 'uploadImgAdd') ))==null?'':__t)+
' pdfUploadContainer pdfUploadContainerPadding">\r\n            <div class="'+
((__t=( f.getClass('pdfUploadContainerImage', 'iconColorMain') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                '+
((__t=( f.renderBlock('builder.icons.i_pdf') ))==null?'':__t)+
'\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('pdfUploadContainerText') ))==null?'':__t)+
' pdfUploadContainerText">Добавьте PDF</div>\r\n            <div class="'+
((__t=( f.getClass('iconColorMain') ))==null?'':__t)+
' uploadImgBg"\r\n                style="width: 24px; min-width: 24px; height: 24px;">\r\n                '+
((__t=( f.renderBlock('builder.icons.i_plus') ))==null?'':__t)+
'\r\n            </div>\r\n        </button>\r\n        <button '+
((__t=( e.click('remove') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'pdfUploadBtnDelete', 'pdfUploadBtnDeleteImg') ))==null?'':__t)+
' pdfUploadBtnDelete" aria-label="Удалить блок">\r\n            <div class="'+
((__t=( f.getClass('iconColorMain') ))==null?'':__t)+
'"\r\n                style="width: 24px; min-width: 24px; height: 24px;">\r\n                '+
((__t=( f.renderBlock('builder.icons.i_x') ))==null?'':__t)+
'\r\n              </div>\r\n        </button>\r\n    </div>\r\n\r\n<input accept="application/pdf" class="'+
((__t=( f.getClass('fileInput') ))==null?'':__t)+
'"  type="file" '+
((__t=( e.change('fileChanged', {index:data.index}) ))==null?'':__t)+
'/>\r\n\r\n';
 } else {  
__p+='\r\n\r\n<div class="'+
((__t=( f.getClass('container',  data.first ? 'first' : '', 'cntr') ))==null?'':__t)+
' pdfUploadContainer">\r\n    <a external="true" class="'+
((__t=( f.getClass('lessonBlockPDFLink') ))==null?'':__t)+
' lessonBlockPDFLink" target="_blank" href="'+
((__t=( utils.makeImageUrl(data.value, 0, 'url') ))==null?'':__t)+
'" title="'+
((__t=( utils.extract(data, 'value.options.filename', 'Файл') ))==null?'':__t)+
'" download>\r\n        <div class="'+
((__t=( f.getClass('lessonBlcokPDFLeft') ))==null?'':__t)+
' lessonBlcokPDFLeft">\r\n            <div class="'+
((__t=( f.getClass('pdfUploadContainerImage', 'iconColorMain') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                '+
((__t=( f.renderBlock('builder.icons.i_pdf') ))==null?'':__t)+
'\r\n            </div>\r\n            <p class="'+
((__t=( f.getClass('lessonBlockPDFName') ))==null?'':__t)+
' pdfUploadContainerText">'+
((__t=( utils.extract(data, 'value.options.filename', 'Файл') ))==null?'':__t)+
'</p>\r\n            <div class="'+
((__t=( f.getClass('iconColorMain') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                '+
((__t=( f.renderBlock('builder.icons.i_download') ))==null?'':__t)+
'\r\n            </div>\r\n        </div>\r\n    </a>\r\n</div>\r\n\r\n';
 } 
__p+='';
}
return __p;
}
window.renderBlocks['blocks-builder.blocks.Photo'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';

 if (Object.keys(data.value || {}).length === 0 || data.value.upload_file !== undefined) { 
__p+='\r\n    <div class="'+
((__t=( f.getClass('photoBtnContainer') ))==null?'':__t)+
'">\r\n        <button '+
((__t=( e.click('openUploadDialog', {index:data.index}) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn','photoUploadContainer', 'cntr', 'uploadImgAdd') ))==null?'':__t)+
' photoUploadContainer">\r\n            <div class="'+
((__t=( f.getClass('photoUploadContainerImage', 'iconColorMain') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                '+
((__t=( f.renderBlock('builder.icons.i_img') ))==null?'':__t)+
'\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('photoUploadContainerText') ))==null?'':__t)+
' photoUploadContainerText">Добавьте изображение</div>\r\n            <div class="'+
((__t=( f.getClass('iconColorMain') ))==null?'':__t)+
' uploadImgBg"\r\n                style="width: 24px; min-width: 24px; height: 24px;">\r\n                '+
((__t=( f.renderBlock('builder.icons.i_plus') ))==null?'':__t)+
'\r\n            </div>\r\n        </button>\r\n        <button '+
((__t=( e.click('remove') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'photoUploadBtnDelete', 'photoUploadBtnDeleteImg') ))==null?'':__t)+
' photoUploadBtnDelete" aria-label="Удалить блок">\r\n            <div class="'+
((__t=( f.getClass('iconColorMain') ))==null?'':__t)+
'"\r\n                style="width: 24px; min-width: 24px; height: 24px;">\r\n                '+
((__t=( f.renderBlock('builder.icons.i_x') ))==null?'':__t)+
'\r\n            </div>\r\n        </button>\r\n    </div>\r\n\r\n<input accept="image/jpeg,image/png" class="'+
((__t=( f.getClass('fileInput') ))==null?'':__t)+
'"  type="file" '+
((__t=( e.change('fileChanged', {index:data.index}) ))==null?'':__t)+
'/>\r\n\r\n';
 } else if (data.value.local_file !== undefined) {  
__p+='\r\n<div class="'+
((__t=( f.getClass('containerMediaPhoto', data.first ? 'first' : '', 'cntr') ))==null?'':__t)+
' containerMediaPhoto">\r\n    <img class="'+
((__t=( f.getClass('lessonBlockImg') ))==null?'':__t)+
'" src="'+
((__t=( data.value.local_file ))==null?'':__t)+
'" alt="'+
((__t=( utils.extract(data, 'value.options.filename', 'Файл') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('loadingProgressContainer') ))==null?'':__t)+
'">\r\n        <span class="'+
((__t=( f.getClass('loadingProgress') ))==null?'':__t)+
'">\r\n            '+
((__t=( data.value.progress ))==null?'':__t)+
'%\r\n        </span>\r\n    </div>\r\n</div>\r\n';
 } else { 
__p+='\r\n\r\n    <div class="'+
((__t=( f.getClass('lessonBlockImgConitainer') ))==null?'':__t)+
' lessonBlockImgConitainer">\r\n        <button class="'+
((__t=( f.getClass('resetBtn', 'containerMediaPhoto', data.first ? 'first' : '', 'cntr') ))==null?'':__t)+
' containerMediaPhoto">\r\n            <img class="'+
((__t=( f.getClass('lessonBlockImg') ))==null?'':__t)+
'" src="'+
((__t=( utils.makeImageUrl(data.value, 0, 'filename') ))==null?'':__t)+
'" alt="'+
((__t=( utils.extract(data, 'value.options.filename', 'Файл') ))==null?'':__t)+
'">\r\n        </button>\r\n    </div>\r\n';
 } 
__p+='';
}
return __p;
}
window.renderBlocks['blocks-builder.blocks.TaskAnswer'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('container', data.first ? 'first' : '') ))==null?'':__t)+
'">'+
((__t=( data.value ))==null?'':__t)+
'</div>\r\n';
}
return __p;
}
window.renderBlocks['blocks-builder.blocks.Text'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';

    const fid = e.makeId();

__p+='\r\n<div f-id="'+
((__t=( fid ))==null?'':__t)+
'" '+
((__t=( e.on('input', 'onInput', '', fid, false) ))==null?'':__t)+
' '+
((__t=( e.on('click', 'focus', '', fid, false) ))==null?'':__t)+
' contenteditable="true" \r\nclass="'+
((__t=( f.getClass('containerTextMediaBlock') ))==null?'':__t)+
' containerTextMediaBlock">'+
((__t=( utils.parseMessageEntities(data, context) ))==null?'':__t)+
'</div>\r\n';
}
return __p;
}
window.renderBlocks['blocks-builder.blocks.Video'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('videoUpload') ))==null?'':__t)+
' videoUpload">\r\n    ';
 if ((data.value || {}).filename === undefined) { 
__p+='\r\n        <div class="'+
((__t=( f.getClass('videoBtnContainer') ))==null?'':__t)+
'">\r\n            <button '+
((__t=( e.click('openUploadDialog', {index:data.index}) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'videoUploadContainer', 'cntr', 'uploadImgAdd') ))==null?'':__t)+
' videoUploadContainer">\r\n                <div class="'+
((__t=( f.getClass('videoUploadContainerImage', 'iconColorMain') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                    '+
((__t=( f.renderBlock('builder.icons.i_video') ))==null?'':__t)+
'\r\n                </div>\r\n                <div class="'+
((__t=( f.getClass('videoUploadContainerText') ))==null?'':__t)+
' videoUploadContainerText">Добавьте видео</div>\r\n                <div class="'+
((__t=( f.getClass('iconColorMain') ))==null?'':__t)+
' uploadImgBg"\r\n                    style="width: 24px; min-width: 24px; height: 24px;">\r\n                    '+
((__t=( f.renderBlock('builder.icons.i_plus') ))==null?'':__t)+
'\r\n                </div>\r\n            </button>\r\n            <button '+
((__t=( e.click('remove') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'videoUploadBtnDelete', 'videoUploadBtnDeleteImg') ))==null?'':__t)+
' videoUploadBtnDelete" aria-label="Удалить блок">\r\n                <div class="'+
((__t=( f.getClass('iconColorMain') ))==null?'':__t)+
'"\r\n                    style="width: 24px; min-width: 24px; height: 24px;">\r\n                    '+
((__t=( f.renderBlock('builder.icons.i_x') ))==null?'':__t)+
'\r\n                </div>\r\n            </button>\r\n        </div>\r\n\r\n        <input accept="video/mp4,video/x-m4v" class="'+
((__t=( f.getClass('fileInput') ))==null?'':__t)+
'"  type="file" '+
((__t=( e.change('fileChanged', {index:data.index}) ))==null?'':__t)+
'/>\r\n\r\n        ';
 } else { 
__p+='\r\n\r\n        ';
 if (data.value.video_preview && !data.play) { 
__p+='\r\n            <div class="'+
((__t=( f.getClass('container',  data.first ? 'first' : '', 'cntr') ))==null?'':__t)+
' mediablockVideo">\r\n                <div class="'+
((__t=( f.getClass('containerImgEmpty') ))==null?'':__t)+
' containerImgEmpty">\r\n                    <img class="'+
((__t=( f.getClass('containerImg') ))==null?'':__t)+
' mediablockVideoImg"  src="'+
((__t=( utils.makeImageUrl(data.value, 0, 'video_preview') ))==null?'':__t)+
'" alt="">\r\n                </div>\r\n                <button '+
((__t=( e.click('play') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'play') ))==null?'':__t)+
' mediablockVideoPlay">\r\n                    <div class="'+
((__t=( f.getClass('playBg') ))==null?'':__t)+
'" style="width: 91px; height: 62px;">\r\n                        '+
((__t=( f.renderBlock('icons.i_play') ))==null?'':__t)+
'\r\n                    </div>\r\n                </button>\r\n            </div>\r\n        ';
 } else if( (data.value.video_preview === undefined) && !data.play) { 
__p+='\r\n            asdfa\r\n            <div class="'+
((__t=( f.getClass('videoUploadContainerVideo') ))==null?'':__t)+
' mediablockVideo">\r\n                <div class="'+
((__t=( f.getClass('videoUploadContainerBg') ))==null?'':__t)+
'">\r\n\r\n                </div>\r\n                <video class="'+
((__t=( f.getClass('videoUploadVideo') ))==null?'':__t)+
' mediablockVideoPlayer" '+
((__t=( e.ref('player') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('container',  data.first ? 'first' : '', 'cntr') ))==null?'':__t)+
'" controls poster="'+
((__t=( utils.makeImageUrl(data.value, 0, 'video_preview') ))==null?'':__t)+
'" preload="none">\r\n                    <source src="'+
((__t=( data.value.local_file ? data.value.local_file : utils.makeImageUrl(data.value, 0, 'filename') ))==null?'':__t)+
'" type="'+
((__t=( data.value.content_type ))==null?'':__t)+
'">\r\n                </video>\r\n            </div>\r\n        ';
 } else { 
__p+='\r\n            <div class="'+
((__t=( f.getClass('videoUploadContainerVideo') ))==null?'':__t)+
' mediablockVideo">\r\n                <div class="'+
((__t=( f.getClass('containerImgEmpty') ))==null?'':__t)+
' containerImgEmpty">\r\n                    <img class="'+
((__t=( f.getClass('containerImg', 'containerImgInvis') ))==null?'':__t)+
' containerImgInvis"  src="'+
((__t=( utils.makeImageUrl(data.value, 0, 'video_preview') ))==null?'':__t)+
'">\r\n                </div>\r\n                <video class="'+
((__t=( f.getClass('videoUploadVideo') ))==null?'':__t)+
' mediablockVideoPlayer" '+
((__t=( e.ref('player') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('container',  data.first ? 'first' : '', 'cntr') ))==null?'':__t)+
'" controls poster="'+
((__t=( utils.makeImageUrl(data.value, 0, 'video_preview') ))==null?'':__t)+
'" preload="none">\r\n                    <source src="'+
((__t=( data.value.local_file ? data.value.local_file : utils.makeImageUrl(data.value, 0, 'filename') ))==null?'':__t)+
'" type="'+
((__t=( data.value.content_type ))==null?'':__t)+
'">\r\n                </video>\r\n            </div>\r\n        ';
 } 
__p+='\r\n    ';
 } 
__p+='\r\n</div>\r\n\r\n';
}
return __p;
}
window.renderBlocks['blocks-builder.contextMenu.addBlock'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div '+
((__t=( e.click('_hide') ))==null?'':__t)+
' class="'+
((__t=( f.getClass("layout") ))==null?'':__t)+
'"></div>\r\n\r\n<div class="'+
((__t=( f.getClass('popupAddWrapper') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('popupAdd') ))==null?'':__t)+
' scrollBar">\r\n        <div class="'+
((__t=( f.getClass('popupAddContainer') ))==null?'':__t)+
'">\r\n            <input class="'+
((__t=( f.getClass('popupAdd__search') ))==null?'':__t)+
'" type="text" placeholder="Найти">\r\n            <h3 class="'+
((__t=( f.getClass('popupAddTitle') ))==null?'':__t)+
'">\r\n                Текст\r\n            </h3>\r\n            <ul class="'+
((__t=( f.getClass('resetList', 'popupAddList') ))==null?'':__t)+
'">\r\n            ';
 if (data.blocks.includes('text')) { 
__p+='\r\n                <li '+
((__t=( e.click('select', {value: "text", def: "" }) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('popupAddItem') ))==null?'':__t)+
'">\r\n                \r\n                \r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'popupAddItemBtn', 'popupAddItemBtnDisabled') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('popupAddItemImgContainer', 'popapColorSecond') ))==null?'':__t)+
'" style="width: 40px; min-width: 40px; height: 40px;">\r\n                            '+
((__t=( f.renderBlock('builder.icons.i_text') ))==null?'':__t)+
'\r\n                        </div>\r\n                        <div class="'+
((__t=( f.getClass('popupAddItemContainer') ))==null?'':__t)+
'">\r\n                            <h4 class="'+
((__t=( f.getClass('popupAddItemTitle') ))==null?'':__t)+
'" aria-hidden="true">\r\n                                Текст\r\n                            </h4>\r\n                            <P class="'+
((__t=( f.getClass('popupAddItemText') ))==null?'':__t)+
'">\r\n                                Обычный текст\r\n                            </P>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n            ';
 } 
__p+='\r\n            ';
 if (data.blocks.includes('header1')) { 
__p+='\r\n                <li '+
((__t=( e.click('select', {value: "header1", def: "" }) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('popupAddItem') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'popupAddItemBtn') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('popupAddItemImgContainer', 'popapColorSecond') ))==null?'':__t)+
'" style="width: 40px; min-width: 40px; height: 40px;">\r\n                            '+
((__t=( f.renderBlock('builder.icons.i_header1') ))==null?'':__t)+
'\r\n                        </div>\r\n                        <div class="'+
((__t=( f.getClass('popupAddItemContainer') ))==null?'':__t)+
'">\r\n                            <h4 class="'+
((__t=( f.getClass('popupAddItemTitle') ))==null?'':__t)+
'" aria-hidden="true">\r\n                                Заголовок 1\r\n                            </h4>\r\n                            <P class="'+
((__t=( f.getClass('popupAddItemText') ))==null?'':__t)+
'">\r\n                                Большой заголовок\r\n                            </P>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n            ';
 } 
__p+='\r\n            ';
 if (data.blocks.includes('header2')) { 
__p+='\r\n                <li '+
((__t=( e.click('select', {value: "header2", def: "" }) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('popupAddItem') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'popupAddItemBtn') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('popupAddItemImgContainer', 'popapColorSecond') ))==null?'':__t)+
'" style="width: 40px; min-width: 40px; height: 40px;">\r\n                            '+
((__t=( f.renderBlock('builder.icons.i_header2') ))==null?'':__t)+
'\r\n                        </div>\r\n                        <div class="'+
((__t=( f.getClass('popupAddItemContainer') ))==null?'':__t)+
'">\r\n                            <h4 class="'+
((__t=( f.getClass('popupAddItemTitle') ))==null?'':__t)+
'" aria-hidden="true">\r\n                                Заголовок 2\r\n                            </h4>\r\n                            <P class="'+
((__t=( f.getClass('popupAddItemText') ))==null?'':__t)+
'">\r\n                                Средний заголовок\r\n                            </P>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n            ';
 } 
__p+='\r\n            ';
 if (data.blocks.includes('header3')) { 
__p+='\r\n                <li '+
((__t=( e.click('select', {value: "header3", def: "" }) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('popupAddItem') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'popupAddItemBtn') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('popupAddItemImgContainer', 'popapColorSecond') ))==null?'':__t)+
'" style="width: 40px; min-width: 40px; height: 40px;">\r\n                            '+
((__t=( f.renderBlock('builder.icons.i_header3') ))==null?'':__t)+
'\r\n                        </div>\r\n                        <div class="'+
((__t=( f.getClass('popupAddItemContainer') ))==null?'':__t)+
'">\r\n                            <h4 class="'+
((__t=( f.getClass('popupAddItemTitle') ))==null?'':__t)+
'" aria-hidden="true">\r\n                                Заголовок 3\r\n                            </h4>\r\n                            <P class="'+
((__t=( f.getClass('popupAddItemText') ))==null?'':__t)+
'">\r\n                                Маленький заголовок\r\n                            </P>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n            ';
 } 
__p+='\r\n            ';
 if (data.blocks.includes('list')) { 
__p+='\r\n                <li '+
((__t=( e.click('select', {value: "list", def: "" }) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('popupAddItem') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'popupAddItemBtn') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('popupAddItemImgContainer', 'popapColorSecond') ))==null?'':__t)+
'" style="width: 40px; min-width: 40px; height: 40px;">\r\n                            '+
((__t=( f.renderBlock('builder.icons.i_list') ))==null?'':__t)+
'\r\n                        </div>\r\n                        <div class="'+
((__t=( f.getClass('popupAddItemContainer') ))==null?'':__t)+
'">\r\n                            <h4 class="'+
((__t=( f.getClass('popupAddItemTitle') ))==null?'':__t)+
'" aria-hidden="true">\r\n                                Список\r\n                            </h4>\r\n                            <P class="'+
((__t=( f.getClass('popupAddItemText') ))==null?'':__t)+
'">\r\n                                Простой список\r\n                            </P>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n            ';
 } 
__p+='\r\n            </ul>\r\n            <p class="'+
((__t=( f.getClass('popupAddTitle') ))==null?'':__t)+
'">\r\n                Медиаблоки\r\n            </p>\r\n            <ul class="'+
((__t=( f.getClass('resetList', 'popupAddList') ))==null?'':__t)+
'">\r\n            ';
 if (data.blocks.includes('photo')) { 
__p+='\r\n                <li '+
((__t=( e.click('select', {value: "photo", def: {} }) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('popupAddItem') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'popupAddItemBtn') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('popupAddItemImgContainer', 'popapColorSecond') ))==null?'':__t)+
'" style="width: 40px; min-width: 40px; height: 40px;">\r\n                            '+
((__t=( f.renderBlock('builder.icons.i_img') ))==null?'':__t)+
'\r\n                        </div>\r\n                        <div class="'+
((__t=( f.getClass('popupAddItemContainer') ))==null?'':__t)+
'">\r\n                            <h4 class="'+
((__t=( f.getClass('popupAddItemTitle') ))==null?'':__t)+
'" aria-hidden="true">\r\n                                Картинка\r\n                            </h4>\r\n                            <P class="'+
((__t=( f.getClass('popupAddItemText') ))==null?'':__t)+
'">\r\n                                Встроенная картинка\r\n                            </P>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n            ';
 } 
__p+='\r\n            ';
 if (data.blocks.includes('video')) { 
__p+='\r\n                <li '+
((__t=( e.click('select', {value: "video", def: {} }) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('popupAddItem') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'popupAddItemBtn') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('popupAddItemImgContainer', 'popapColorSecond') ))==null?'':__t)+
'" style="width: 40px; min-width: 40px; height: 40px;">\r\n                            '+
((__t=( f.renderBlock('builder.icons.i_video') ))==null?'':__t)+
'\r\n                        </div>\r\n                        <div class="'+
((__t=( f.getClass('popupAddItemContainer') ))==null?'':__t)+
'">\r\n                            <h4 class="'+
((__t=( f.getClass('popupAddItemTitle') ))==null?'':__t)+
'" aria-hidden="true">\r\n                                Видео\r\n                            </h4>\r\n                            <P class="'+
((__t=( f.getClass('popupAddItemText') ))==null?'':__t)+
'">\r\n                                Видео с жесткого диска\r\n                            </P>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n            ';
 } 
__p+='\r\n            ';
 if (data.blocks.includes('audio')) { 
__p+='\r\n                <li '+
((__t=( e.click('select', {value: "audio", def: {} }) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('popupAddItem') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'popupAddItemBtn') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('popupAddItemImgContainer', 'popapColorSecond') ))==null?'':__t)+
'" style="width: 40px; min-width: 40px; height: 40px;">\r\n                            '+
((__t=( f.renderBlock('builder.icons.i_headphones') ))==null?'':__t)+
'\r\n                        </div>\r\n                        <div class="'+
((__t=( f.getClass('popupAddItemContainer') ))==null?'':__t)+
'">\r\n                            <h4 class="'+
((__t=( f.getClass('popupAddItemTitle') ))==null?'':__t)+
'" aria-hidden="true">\r\n                                Аудио\r\n                            </h4>\r\n                            <P class="'+
((__t=( f.getClass('popupAddItemText') ))==null?'':__t)+
'">\r\n                                Аудио-файл\r\n                            </P>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n            ';
 } 
__p+='\r\n            ';
 if (data.blocks.includes('builtInPDF')) { 
__p+='    \r\n                <li '+
((__t=( e.click('select', {value: "builtInPDF", def: {} }) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('popupAddItem') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'popupAddItemBtn') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('popupAddItemImgContainer', 'popapColorSecond') ))==null?'':__t)+
'" style="width: 40px; min-width: 40px; height: 40px;">\r\n                            '+
((__t=( f.renderBlock('builder.icons.i_pdf') ))==null?'':__t)+
'\r\n                        </div>\r\n                        <div class="'+
((__t=( f.getClass('popupAddItemContainer') ))==null?'':__t)+
'">\r\n                            <h4 class="'+
((__t=( f.getClass('popupAddItemTitle') ))==null?'':__t)+
'" aria-hidden="true">\r\n                                PDF\r\n                            </h4>\r\n                            <P class="'+
((__t=( f.getClass('popupAddItemText') ))==null?'':__t)+
'">\r\n                                Встроенный PDF\r\n                            </P>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n            ';
 } 
__p+='\r\n            </ul>\r\n            <p class="'+
((__t=( f.getClass('popupAddTitle') ))==null?'':__t)+
'">\r\n                Специальные блоки\r\n            </p>\r\n            <ul class="'+
((__t=( f.getClass('resetList', 'popupAddList') ))==null?'':__t)+
'">\r\n             ';
 if (data.blocks.includes('highlight')) { 
__p+='    \r\n                <li '+
((__t=( e.click('select', {value: "highlight", def: '' }) ))==null?'':__t)+
'  class="'+
((__t=( f.getClass('popupAddItem') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'popupAddItemBtn') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('popupAddItemImgContainer', 'popapColorSecond') ))==null?'':__t)+
'" style="width: 40px; min-width: 40px; height: 40px;">\r\n                            '+
((__t=( f.renderBlock('builder.icons.i_marker') ))==null?'':__t)+
'\r\n                        </div>\r\n                        <div class="'+
((__t=( f.getClass('popupAddItemContainer') ))==null?'':__t)+
'">\r\n                            <h4 class="'+
((__t=( f.getClass('popupAddItemTitle') ))==null?'':__t)+
'" aria-hidden="true">\r\n                                Выделенный блок\r\n                            </h4>\r\n                            <P class="'+
((__t=( f.getClass('popupAddItemText') ))==null?'':__t)+
'">\r\n                                Текст в плашке\r\n                            </P>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n            ';
 } 
__p+='\r\n            ';
 if (data.blocks.includes('file')) { 
__p+='\r\n                <li '+
((__t=( e.click('select', {value: "file", def: {} }) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('popupAddItem') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'popupAddItemBtn') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('popupAddItemImgContainer', 'popapColorSecond') ))==null?'':__t)+
'" style="width: 40px; min-width: 40px; height: 40px;">\r\n                            '+
((__t=( f.renderBlock('builder.icons.i_paper_clip') ))==null?'':__t)+
'\r\n                        </div>\r\n                        <div class="'+
((__t=( f.getClass('popupAddItemContainer') ))==null?'':__t)+
'">\r\n                            <h4 class="'+
((__t=( f.getClass('popupAddItemTitle') ))==null?'':__t)+
'" aria-hidden="true">\r\n                                Вложение\r\n                            </h4>\r\n                            <P class="'+
((__t=( f.getClass('popupAddItemText') ))==null?'':__t)+
'">\r\n                                Файлы\r\n                            </P>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n              ';
 } 
__p+='\r\n            </ul>\r\n        </div>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-builder.contextMenu.changeType'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div '+
((__t=( e.pointerover('blure') ))==null?'':__t)+
' class="'+
((__t=( f.getClass("layout") ))==null?'':__t)+
'"></div>\r\n\r\n\r\n<div class="'+
((__t=( f.getClass('popupChTypeWrapper') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('popupChType') ))==null?'':__t)+
' scrollBar">\r\n        <div class="'+
((__t=( f.getClass('popupChTypeContainer') ))==null?'':__t)+
'">\r\n            <h3 class="'+
((__t=( f.getClass('popupChTypeTitle') ))==null?'':__t)+
'">\r\n                Текст\r\n            </h3>\r\n            <ul class="'+
((__t=( f.getClass('resetList', 'popupChTypeList') ))==null?'':__t)+
'">\r\n                <li '+
((__t=( e.click('select', {value: "text", def: "" }) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('popupChTypeItem') ))==null?'':__t)+
'">\r\n                    \r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'popupChTypeItemBtn', data.selected === 'text' && 'popupChTypeItemBtnActive') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('popupChTypeItemImg') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                            '+
((__t=( f.renderBlock('builder.icons.i_text') ))==null?'':__t)+
'\r\n                        </div>\r\n                        <p class="'+
((__t=( f.getClass('popupChTypeItemText') ))==null?'':__t)+
'">\r\n                            Текст\r\n                        </p>\r\n                    </button>\r\n                </li>\r\n                ';
 if (data.blocks.includes('header1')){ 
__p+='\r\n                    <li '+
((__t=( e.click('select', {value: "header1", def: "" }) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('popupChTypeItem') ))==null?'':__t)+
'">\r\n                        <button class="'+
((__t=( f.getClass('resetBtn', 'popupChTypeItemBtn', data.selected === 'header1' && 'popupChTypeItemBtnActive') ))==null?'':__t)+
'">\r\n                            <div class="'+
((__t=( f.getClass('popupChTypeItemImg') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                                '+
((__t=( f.renderBlock('builder.icons.i_header1') ))==null?'':__t)+
'\r\n                            </div>\r\n                            <p class="'+
((__t=( f.getClass('popupChTypeItemText') ))==null?'':__t)+
'">\r\n                                Заголовок 1\r\n                            </p>\r\n                        </button>\r\n                    </li>\r\n                ';
 } 
__p+='\r\n\r\n                ';
 if (data.blocks.includes('header2')){ 
__p+='\r\n                    <li '+
((__t=( e.click('select', {value: "header2", def: "" }) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('popupChTypeItem') ))==null?'':__t)+
'">\r\n                        <button class="'+
((__t=( f.getClass('resetBtn', 'popupChTypeItemBtn', data.selected === 'header2' && 'popupChTypeItemBtnActive') ))==null?'':__t)+
'">\r\n                            <div class="'+
((__t=( f.getClass('popupChTypeItemImg') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                                '+
((__t=( f.renderBlock('builder.icons.i_header2') ))==null?'':__t)+
'                                  \r\n                            </div>\r\n                            <p class="'+
((__t=( f.getClass('popupChTypeItemText') ))==null?'':__t)+
'">\r\n                                Заголовок 2\r\n                            </p>\r\n                        </button>\r\n                    </li>\r\n                ';
 } 
__p+='\r\n\r\n                ';
 if (data.blocks.includes('header3')){ 
__p+='\r\n                    <li '+
((__t=( e.click('select', {value: "header3", def: "" }) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('popupChTypeItem') ))==null?'':__t)+
'">\r\n                        <button class="'+
((__t=( f.getClass('resetBtn', 'popupChTypeItemBtn', data.selected === 'header3' && 'popupChTypeItemBtnActive') ))==null?'':__t)+
'">\r\n                            <div class="'+
((__t=( f.getClass('popupChTypeItemImg') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                                '+
((__t=( f.renderBlock('builder.icons.i_header3') ))==null?'':__t)+
'\r\n                            </div>\r\n                            <p class="'+
((__t=( f.getClass('popupChTypeItemText') ))==null?'':__t)+
'">\r\n                                Заголовок 3\r\n                            </p>\r\n                        </button>\r\n                    </li>\r\n                ';
 } 
__p+='\r\n\r\n                \r\n                <li '+
((__t=( e.click('select', {value: "list", def: "" }) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('popupChTypeItem') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'popupChTypeItemBtn', data.selected === 'list' && 'popupChTypeItemBtnActive') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('popupChTypeItemImg') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                            '+
((__t=( f.renderBlock('builder.icons.i_list') ))==null?'':__t)+
'\r\n                        </div>\r\n                        <p class="'+
((__t=( f.getClass('popupChTypeItemText') ))==null?'':__t)+
'">\r\n                            Список\r\n                        </p>\r\n                    </button>\r\n                </li>\r\n            </ul>\r\n\r\n            <h3 class="'+
((__t=( f.getClass('popupChTypeTitle') ))==null?'':__t)+
'">\r\n                Медиаблоки\r\n            </h3>\r\n            <ul class="'+
((__t=( f.getClass('resetList', 'popupChTypeList') ))==null?'':__t)+
'">\r\n                \r\n                <li class="'+
((__t=( f.getClass('popupChTypeItem') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'popupChTypeItemBtn', data.selected === 'highlight' && 'popupChTypeItemBtnActive') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('popupChTypeItemImg') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                            '+
((__t=( f.renderBlock('builder.icons.i_img') ))==null?'':__t)+
'\r\n                        </div>\r\n                        <p class="'+
((__t=( f.getClass('popupChTypeItemText') ))==null?'':__t)+
'">\r\n                            Картинка //добавить функционал\r\n                        </p>\r\n                    </button>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('popupChTypeItem') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'popupChTypeItemBtn', data.selected === 'highlight' && 'popupChTypeItemBtnActive') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('popupChTypeItemImg') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                            '+
((__t=( f.renderBlock('builder.icons.i_video') ))==null?'':__t)+
'\r\n                        </div>\r\n                        <p class="'+
((__t=( f.getClass('popupChTypeItemText') ))==null?'':__t)+
'">\r\n                            Видео //добавить функционал\r\n                        </p>\r\n                    </button>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('popupChTypeItem') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'popupChTypeItemBtn', data.selected === 'highlight' && 'popupChTypeItemBtnActive') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('popupChTypeItemImg') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                            '+
((__t=( f.renderBlock('builder.icons.i_headphones') ))==null?'':__t)+
'\r\n                        </div>\r\n                        <p class="'+
((__t=( f.getClass('popupChTypeItemText') ))==null?'':__t)+
'">\r\n                            Аудио //добавить функционал\r\n                        </p>\r\n                    </button>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('popupChTypeItem') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'popupChTypeItemBtn', data.selected === 'highlight' && 'popupChTypeItemBtnActive') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('popupChTypeItemImg') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                            '+
((__t=( f.renderBlock('builder.icons.i_pdf') ))==null?'':__t)+
'\r\n                        </div>\r\n                        <p class="'+
((__t=( f.getClass('popupChTypeItemText') ))==null?'':__t)+
'">\r\n                            PDF //добавить функционал\r\n                        </p>\r\n                    </button>\r\n                </li>\r\n            </ul>\r\n            \r\n            <h3 class="'+
((__t=( f.getClass('popupChTypeTitle') ))==null?'':__t)+
'">\r\n                Специальные блоки\r\n            </h3>\r\n            <ul class="'+
((__t=( f.getClass('resetList', 'popupChTypeList') ))==null?'':__t)+
'">\r\n                <li '+
((__t=( e.click('select', {value: "highlight", def: "" }) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('popupChTypeItem') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'popupChTypeItemBtn', data.selected === 'highlight' && 'popupChTypeItemBtnActive') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('popupChTypeItemImg') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                            '+
((__t=( f.renderBlock('builder.icons.i_marker') ))==null?'':__t)+
'\r\n                        </div>\r\n                        <p class="'+
((__t=( f.getClass('popupChTypeItemText') ))==null?'':__t)+
'">\r\n                            Выделенный блок\r\n                        </p>\r\n                    </button>\r\n                </li>\r\n\r\n                \r\n                <li class="'+
((__t=( f.getClass('popupChTypeItem') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'popupChTypeItemBtn', data.selected === 'highlight' && 'popupChTypeItemBtnActive') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('popupChTypeItemImg') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                            '+
((__t=( f.renderBlock('builder.icons.i_paper_clip') ))==null?'':__t)+
'\r\n                        </div>\r\n                        <p class="'+
((__t=( f.getClass('popupChTypeItemText') ))==null?'':__t)+
'">\r\n                            Вложение //добавить функционал\r\n                        </p>\r\n                    </button>\r\n                </li>\r\n            </ul>\r\n        </div>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-builder.contextMenu.color'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div '+
((__t=( e.pointerover('blure') ))==null?'':__t)+
' class="'+
((__t=( f.getClass("layout") ))==null?'':__t)+
'"></div>\r\n\r\n<div class="'+
((__t=( f.getClass('popupColorWrapper') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('popupColor') ))==null?'':__t)+
' scrollBar">\r\n        <div class="'+
((__t=( f.getClass('popupColorContainer') ))==null?'':__t)+
'">\r\n            <h3 class="'+
((__t=( f.getClass('popupColorTitle') ))==null?'':__t)+
'">\r\n                Цвет текста\r\n            </h3>\r\n\r\n            <ul class="'+
((__t=( f.getClass('resetList', 'popupColorList') ))==null?'':__t)+
'">\r\n                <li class="'+
((__t=( f.getClass('popupColorItem') ))==null?'':__t)+
'">\r\n                    <button '+
((__t=( e.click('setColor', void 0) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'popupColorItemBtn',  data.color === void 0 && 'popupColorItemBtnActive') ))==null?'':__t)+
'">\r\n                        <p class="'+
((__t=( f.getClass('popupColorItemText', 'popupColorText00') ))==null?'':__t)+
'">\r\n                            Текст стандратный\r\n                        </p>\r\n                    </button>\r\n                </li>\r\n\r\n\r\n                <li class="'+
((__t=( f.getClass('popupColorItem') ))==null?'':__t)+
'">\r\n                    <button '+
((__t=( e.click('setColor','textGray') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'popupColorItemBtn', data.color === 'textGray' && 'popupColorItemBtnActive') ))==null?'':__t)+
'">\r\n                        <p class="'+
((__t=( f.getClass('popupColorItemText', 'popupColorText01') ))==null?'':__t)+
'">\r\n                            Текст серый\r\n                        </p>\r\n                    </button>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('popupColorItem') ))==null?'':__t)+
'">\r\n                    <button '+
((__t=( e.click('setColor','textLightGray') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'popupColorItemBtn',  data.color === 'textLightGray' && 'popupColorItemBtnActive') ))==null?'':__t)+
'">\r\n                        <p class="'+
((__t=( f.getClass('popupColorItemText', 'popupColorText03') ))==null?'':__t)+
'">\r\n                            Текст светло-серый\r\n                        </p>\r\n                    </button>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('popupColorItem') ))==null?'':__t)+
'">\r\n                    <button '+
((__t=( e.click('setColor','textGreen') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'popupColorItemBtn',  data.color === 'textGreen' && 'popupColorItemBtnActive') ))==null?'':__t)+
'">\r\n                        <p class="'+
((__t=( f.getClass('popupColorItemText', 'popupColorText04') ))==null?'':__t)+
'">\r\n                            Текст зелёный\r\n                        </p>\r\n                    </button>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('popupColorItem') ))==null?'':__t)+
'">\r\n                    <button '+
((__t=( e.click('setColor','textRed') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'popupColorItemBtn',  data.color === 'textRed' && 'popupColorItemBtnActive') ))==null?'':__t)+
'">\r\n                        <p class="'+
((__t=( f.getClass('popupColorItemText', 'popupColorText06') ))==null?'':__t)+
'">\r\n                            Текст красный\r\n                        </p>\r\n                    </button>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('popupColorItem') ))==null?'':__t)+
'">\r\n                    <button '+
((__t=( e.click('setColor','textOrange') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'popupColorItemBtn',  data.color === 'textOrange' && 'popupColorItemBtnActive') ))==null?'':__t)+
'">\r\n                        <p class="'+
((__t=( f.getClass('popupColorItemText', 'popupColorText07') ))==null?'':__t)+
'">\r\n                            Текст оранжевый\r\n                        </p>\r\n                    </button>\r\n                </li>\r\n\r\n                <li class="'+
((__t=( f.getClass('popupColorItem') ))==null?'':__t)+
'">\r\n                    <button '+
((__t=( e.click('setColor','textBlue') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'popupColorItemBtn',  data.color === 'textBlue' && 'popupColorItemBtnActive') ))==null?'':__t)+
'">\r\n                        <p class="'+
((__t=( f.getClass('popupColorItemText', 'popupColorText08') ))==null?'':__t)+
'">\r\n                            Текст синий\r\n                        </p>\r\n                    </button>\r\n                </li>\r\n                \r\n            </ul>\r\n        </div>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-builder.contextMenu.options'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div '+
((__t=( e.click('_hide',{value:void 0}) ))==null?'':__t)+
' class="'+
((__t=( f.getClass("layout") ))==null?'':__t)+
'"></div>\r\n\r\n\r\n<div class="'+
((__t=( f.getClass('popupOrgWrapper') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('popupOrg') ))==null?'':__t)+
' scrollBar">\r\n        <div class="'+
((__t=( f.getClass('popupOrgContainer') ))==null?'':__t)+
'">\r\n            <h2 class="'+
((__t=( f.getClass('visuallyHidden') ))==null?'':__t)+
'">\r\n                Управление выбранным блоком\r\n            </h2>\r\n            <ul  '+
((__t=( e.on('pointerover', 'showSubMenu') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetList', 'popupOrgList') ))==null?'':__t)+
'">\r\n            ';
 if (data.actions.includes('removeAction')){ 
__p+='\r\n                <li  '+
((__t=( e.click('select', "removeAction") ))==null?'':__t)+
' class="'+
((__t=( f.getClass('popupOrgItem') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'popupOrgItemBtn', 'popupOrgItemBtnDisabled') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('popupOrgItemImg', 'popapColorSecond') ))==null?'':__t)+
'" style="width: 40px; min-width: 40px; height: 40px;">\r\n                            '+
((__t=( f.renderBlock('builder.icons.i_wastebasket') ))==null?'':__t)+
'\r\n                        </div>\r\n                        <div class="'+
((__t=( f.getClass('popupOrgItemContainer') ))==null?'':__t)+
'">\r\n                            <h3 class="'+
((__t=( f.getClass('popupOrgItemTitle') ))==null?'':__t)+
'">\r\n                                Удалить\r\n                            </h3>\r\n                            <P class="'+
((__t=( f.getClass('popupOrgItemText') ))==null?'':__t)+
'">\r\n                                Del\r\n                            </P>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n            ';
 } 
__p+='\r\n            ';
 if (data.actions.includes('copyAction')){ 
__p+='\r\n                <li  '+
((__t=( e.click('select', "copyAction" ) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('popupOrgItem') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'popupOrgItemBtn') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('popupOrgItemImg', 'popapColorSecond') ))==null?'':__t)+
'" style="width: 40px; min-width: 40px; height: 40px;">\r\n                            '+
((__t=( f.renderBlock('builder.icons.i_two_squares') ))==null?'':__t)+
'\r\n                        </div>\r\n                        <div class="'+
((__t=( f.getClass('popupOrgItemContainer') ))==null?'':__t)+
'">\r\n                            <h3 class="'+
((__t=( f.getClass('popupOrgItemTitle') ))==null?'':__t)+
'">\r\n                                Дублировать\r\n                            </h3>\r\n                            <P class="'+
((__t=( f.getClass('popupOrgItemText') ))==null?'':__t)+
'">\r\n                                Дублировать блок\r\n                            </P>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n            ';
 } 
__p+='\r\n            ';
 if (data.actions.includes('changeTypeAction')){ 
__p+='\r\n                <li  '+
((__t=( e.on('pointerover', 'showSubMenu', 'changeBlock') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('popupOrgItem') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'popupOrgItemBtn', 'popupArrowImg01') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('popupOrgItemImg', 'popapColorSecond') ))==null?'':__t)+
'" style="width: 40px; min-width: 40px; height: 40px;">\r\n                            '+
((__t=( f.renderBlock('builder.icons.i_move_square') ))==null?'':__t)+
'\r\n                        </div>\r\n                        <div class="'+
((__t=( f.getClass('popupOrgItemContainer') ))==null?'':__t)+
'">\r\n                            <h3 class="'+
((__t=( f.getClass('popupOrgItemTitle') ))==null?'':__t)+
'">\r\n                                Блок\r\n                            </h3>\r\n                            <P class="'+
((__t=( f.getClass('popupOrgItemText') ))==null?'':__t)+
'">\r\n                                Изменить тип блока\r\n                            </P>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n            ';
 } 
__p+='\r\n            ';
 if (data.actions.includes('changeBlockColor' === 'this is commet')){ 
__p+='\r\n                <li  '+
((__t=( e.on('pointerover', 'showSubMenu', 'color') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('popupOrgItem') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'popupOrgItemBtn', 'popupArrowImg01') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('popupOrgItemImg', 'popapColorSecond') ))==null?'':__t)+
'" style="width: 40px; min-width: 40px; height: 40px;">\r\n                            '+
((__t=( f.renderBlock('builder.icons.i_paint_roller') ))==null?'':__t)+
'\r\n                        </div>\r\n                        <div class="'+
((__t=( f.getClass('popupOrgItemContainer') ))==null?'':__t)+
'">\r\n                            <h3 class="'+
((__t=( f.getClass('popupOrgItemTitle') ))==null?'':__t)+
'">\r\n                                Цвет текста\r\n                            </h3>\r\n                            <P class="'+
((__t=( f.getClass('popupOrgItemText') ))==null?'':__t)+
'">\r\n                                Изменить цвет\r\n                            </P>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n            ';
 } 
__p+='\r\n            ';
 if (data.actions.includes('recrop')){ 
__p+='\r\n                <li   '+
((__t=( e.click('select', "recrop" ) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('popupOrgItem') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'popupOrgItemBtn') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('popupOrgItemImg', 'popapColorSecond') ))==null?'':__t)+
'" style="width: 40px; min-width: 40px; height: 40px;">\r\n                        </div>\r\n                        <div class="'+
((__t=( f.getClass('popupOrgItemContainer') ))==null?'':__t)+
'">\r\n                            <h3 class="'+
((__t=( f.getClass('popupOrgItemTitle') ))==null?'':__t)+
'">\r\n                                Редактор\r\n                            </h3>\r\n                            <P class="'+
((__t=( f.getClass('popupOrgItemText') ))==null?'':__t)+
'">\r\n                                Изменить размер\r\n                            </P>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n            ';
 } 
__p+='\r\n            </ul>\r\n        </div>\r\n    </div>\r\n</div>\r\n\r\n'+
((__t=( f.renderEmptyBlock('builder.contextMenu.color') ))==null?'':__t)+
'\r\n'+
((__t=( f.renderEmptyBlock('builder.contextMenu.changeType', {blocks: data.blocks}) ))==null?'':__t)+
'\r\n';
}
return __p;
}
window.renderBlocks['blocks-builder.contextMenu.textAction'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div '+
((__t=( e.on('pointerover', 'showSubMenu') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('popupTextEditWrapper') ))==null?'':__t)+
'">\r\n    <h3 class="'+
((__t=( f.getClass('visuallyHidden') ))==null?'':__t)+
'">\r\n        Меню редактирования текста\r\n    </h3 class="'+
((__t=( f.getClass('visuallyHidden') ))==null?'':__t)+
'">\r\n    <button '+
((__t=( e.on('pointerover', 'showSubMenu', 'changeBlock') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'popupTextEditBtn', 'popupTextEditSelect', 'mainColor') ))==null?'':__t)+
'" aria-label=\'Выбрать формат текста\'>\r\n        '+
((__t=( data.typeLabel ))==null?'':__t)+
'\r\n        <div class="'+
((__t=( f.getClass('popupIcon') ))==null?'':__t)+
'" style="width: 16px; min-width: 16px; height: 16px;">\r\n            '+
((__t=( f.renderBlock('builder.icons.i_arrow_select') ))==null?'':__t)+
'\r\n        </div>\r\n    </button>\r\n\r\n    <!-- ';
 if (false) { 
__p+='\r\n    <button '+
((__t=( e.on('pointerover', 'showSubMenu', 'color') ))==null?'':__t)+
'  class="'+
((__t=( f.getClass('resetBtn', 'popupTextEditBtn', 'popupTextEditSelect', 'popupArrowImg02') ))==null?'':__t)+
'" aria-label="Выбрать цвет текста">\r\n        <div '+
((__t=( data.color ? ` style="background:${data.color}" ` : '' ))==null?'':__t)+
' style="background:'+
((__t=( data.color ))==null?'':__t)+
'" class="'+
((__t=( f.getClass('popupTextEditColor', 'ne') ))==null?'':__t)+
'"></div>\r\n        <div class="'+
((__t=( f.getClass('popupIcon') ))==null?'':__t)+
'" style="width: 16px; min-width: 16px; height: 16px;">\r\n            '+
((__t=( f.renderBlock('builder.icons.i_arrow_select') ))==null?'':__t)+
'\r\n        </div>\r\n    </button>\r\n    ';
 } 
__p+=' -->\r\n\r\n    <ul class="'+
((__t=( f.getClass('resetList', 'popupTextEditList') ))==null?'':__t)+
'">\r\n        <li class="'+
((__t=( f.getClass('popupTextEditItem') ))==null?'':__t)+
'">\r\n            \r\n            <button '+
((__t=( e.click('toggleActionbold')  ))==null?'':__t)+
'  class="'+
((__t=( f.getClass('resetBtn', 'popupTextEditBtn', data.active.B && 'popupTextEditBtnActive' ) ))==null?'':__t)+
'" aria-label=\'Выделить\'>\r\n                <div class="'+
((__t=( f.getClass('popupIcon') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                    '+
((__t=( f.renderBlock('builder.icons.i_text_bold') ))==null?'':__t)+
'\r\n                </div>\r\n            </button>\r\n        </li>\r\n        <li class="'+
((__t=( f.getClass('popupTextEditItem') ))==null?'':__t)+
'">\r\n            <button '+
((__t=( e.click('toggleActionunderline')  ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'popupTextEditBtn',  data.active.U && 'popupTextEditBtnActive') ))==null?'':__t)+
'" aria-label=\'Подчеркнуть\'>\r\n                <div class="'+
((__t=( f.getClass('popupIcon') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                    '+
((__t=( f.renderBlock('builder.icons.i_text_underline') ))==null?'':__t)+
'\r\n                </div>\r\n            </button>\r\n        </li>\r\n        <li class="'+
((__t=( f.getClass('popupTextEditItem') ))==null?'':__t)+
'">\r\n            <button '+
((__t=( e.click('toggleActionstrike')  ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'popupTextEditBtn',  data.active.STRIKE && 'popupTextEditBtnActive') ))==null?'':__t)+
'" aria-label=\'Зачеркнуть\'>\r\n                <div class="'+
((__t=( f.getClass('popupIcon') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                    '+
((__t=( f.renderBlock('builder.icons.i_text_strike') ))==null?'':__t)+
'\r\n                </div>\r\n            </button>\r\n        </li>\r\n        <li class="'+
((__t=( f.getClass('popupTextEditItem') ))==null?'':__t)+
'">\r\n            <button '+
((__t=( e.click('toggleActionitalic')  ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'popupTextEditBtn',  data.active.I && 'popupTextEditBtnActive') ))==null?'':__t)+
'" aria-label=\'Курсив\'>\r\n                <div class="'+
((__t=( f.getClass('popupIcon') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                    '+
((__t=( f.renderBlock('builder.icons.i_text_italic') ))==null?'':__t)+
'\r\n                </div>\r\n            </button>\r\n        </li>\r\n    </ul>\r\n\r\n    <button '+
((__t=( e.click('toggleActionlink') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'popupTextEditBtn',  data.active.A && 'popupTextEditBtnActive') ))==null?'':__t)+
'" aria-label=\'Сделать ссылкой\'>\r\n        <div class="'+
((__t=( f.getClass('popupIcon') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n            '+
((__t=( f.renderBlock('builder.icons.i_text_link') ))==null?'':__t)+
'\r\n        </div>\r\n    </button>\r\n    <button '+
((__t=( e.click('toggleActionunformat') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'popupTextEditBtn') ))==null?'':__t)+
'" aria-label=\'Сбросить стили\'>\r\n        <div class="'+
((__t=( f.getClass('popupIcon') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n            '+
((__t=( f.renderBlock('builder.icons.i_eraser') ))==null?'':__t)+
'\r\n        </div>\r\n    </button>\r\n</div>\r\n\r\n'+
((__t=( f.renderEmptyBlock('builder.contextMenu.color',{mode:'vertical'}) ))==null?'':__t)+
'\r\n'+
((__t=( f.renderEmptyBlock('builder.contextMenu.changeType',{mode:'vertical',blocks: data.blocks }) ))==null?'':__t)+
'\r\n'+
((__t=( f.renderEmptyBlock('modal.prompt') ))==null?'':__t)+
'\r\n\r\n';
}
return __p;
}
window.renderBlocks['blocks-builder.icons.i_arrow_select'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M13.354 6.35354L8.35403 11.3535C8.30759 11.4 8.25245 11.4369 8.19175 11.4621C8.13105 11.4872 8.06599 11.5002 8.00028 11.5002C7.93457 11.5002 7.86951 11.4872 7.80881 11.4621C7.74811 11.4369 7.69296 11.4 7.64653 11.3535L2.64653 6.35354C2.55271 6.25972 2.5 6.13247 2.5 5.99979C2.5 5.86711 2.55271 5.73986 2.64653 5.64604C2.74035 5.55222 2.8676 5.49951 3.00028 5.49951C3.13296 5.49951 3.26021 5.55222 3.35403 5.64604L8.00028 10.2929L12.6465 5.64604C12.693 5.59958 12.7481 5.56273 12.8088 5.53759C12.8695 5.51245 12.9346 5.49951 13.0003 5.49951C13.066 5.49951 13.131 5.51245 13.1917 5.53759C13.2524 5.56273 13.3076 5.59958 13.354 5.64604C13.4005 5.69249 13.4373 5.74764 13.4625 5.80834C13.4876 5.86904 13.5006 5.93409 13.5006 5.99979C13.5006 6.06549 13.4876 6.13054 13.4625 6.19124C13.4373 6.25193 13.4005 6.30708 13.354 6.35354Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-builder.icons.i_audio_mute'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M11.4332 4.09871C11.7797 4.26523 12 4.6156 12 5.00001V19C12 19.3844 11.7797 19.7348 11.4332 19.9013C11.0867 20.0678 10.6755 20.021 10.3753 19.7809L5.64922 16H2C1.44772 16 1 15.5523 1 15V9.00001C1 8.44772 1.44772 8.00001 2 8.00001H5.64922L10.3753 4.21914C10.6755 3.979 11.0867 3.93219 11.4332 4.09871ZM10 7.08063L6.62469 9.78088C6.44738 9.92273 6.22707 10 6 10H3V14H6C6.22707 14 6.44738 14.0773 6.62469 14.2191L10 16.9194V7.08063Z" fill="currentColor"/>\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M22.7071 8.29289C23.0976 8.68342 23.0976 9.31658 22.7071 9.70711L16.7071 15.7071C16.3166 16.0976 15.6834 16.0976 15.2929 15.7071C14.9024 15.3166 14.9024 14.6834 15.2929 14.2929L21.2929 8.29289C21.6834 7.90237 22.3166 7.90237 22.7071 8.29289Z" fill="currentColor"/>\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M15.2929 8.29289C15.6834 7.90237 16.3166 7.90237 16.7071 8.29289L22.7071 14.2929C23.0976 14.6834 23.0976 15.3166 22.7071 15.7071C22.3166 16.0976 21.6834 16.0976 21.2929 15.7071L15.2929 9.70711C14.9024 9.31658 14.9024 8.68342 15.2929 8.29289Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-builder.icons.i_audio'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M11.4332 4.09871C11.7797 4.26523 12 4.6156 12 5.00001V19C12 19.3844 11.7797 19.7348 11.4332 19.9013C11.0867 20.0678 10.6755 20.021 10.3753 19.7809L5.64922 16H2C1.44772 16 1 15.5523 1 15V9.00001C1 8.44772 1.44772 8.00001 2 8.00001H5.64922L10.3753 4.21914C10.6755 3.979 11.0867 3.93219 11.4332 4.09871ZM10 7.08063L6.62469 9.78088C6.44738 9.92273 6.22707 10 6 10H3V14H6C6.22707 14 6.44738 14.0773 6.62469 14.2191L10 16.9194V7.08063Z" fill="currentColor"/>\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M14.833 7.75372C15.2236 7.36326 15.8568 7.36335 16.2473 7.75394C17.3721 8.8791 18.004 10.405 18.004 11.9959C18.004 13.5869 17.3721 15.1128 16.2473 16.2379C15.8568 16.6285 15.2236 16.6286 14.833 16.2382C14.4425 15.8477 14.4424 15.2145 14.8328 14.8239C15.5827 14.0738 16.004 13.0566 16.004 11.9959C16.004 10.9353 15.5827 9.91805 14.8328 9.16794C14.4424 8.77735 14.4425 8.14419 14.833 7.75372Z" fill="currentColor"/>\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M18.3633 4.22247C18.7539 3.83201 19.3871 3.8321 19.7775 4.22269C21.8397 6.28549 22.9982 9.08288 22.9982 11.9997C22.9982 14.9165 21.8397 17.7139 19.7775 19.7767C19.3871 20.1673 18.7539 20.1674 18.3633 19.7769C17.9727 19.3864 17.9726 18.7533 18.3631 18.3627C20.0503 16.6749 20.9982 14.3862 20.9982 11.9997C20.9982 9.61321 20.0503 7.32444 18.3631 5.63669C17.9726 5.2461 17.9727 4.61294 18.3633 4.22247Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-builder.icons.i_download'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M12 2C12.5523 2 13 2.44772 13 3V17C13 17.5523 12.5523 18 12 18C11.4477 18 11 17.5523 11 17V3C11 2.44772 11.4477 2 12 2Z" fill="currentColor"/>\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M5.29289 10.2929C5.68342 9.90237 6.31658 9.90237 6.70711 10.2929L12 15.5858L17.2929 10.2929C17.6834 9.90237 18.3166 9.90237 18.7071 10.2929C19.0976 10.6834 19.0976 11.3166 18.7071 11.7071L12.7071 17.7071C12.3166 18.0976 11.6834 18.0976 11.2929 17.7071L5.29289 11.7071C4.90237 11.3166 4.90237 10.6834 5.29289 10.2929Z" fill="currentColor"/>\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M4 21C4 20.4477 4.44772 20 5 20H19C19.5523 20 20 20.4477 20 21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-builder.icons.i_eraser'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M14.9559 4.36917C14.4729 3.83241 13.6377 3.77598 13.0063 4.40731L3.40634 14.0073C3.39394 14.0197 3.38122 14.0318 3.36819 14.0435C2.83143 14.5266 2.775 15.3618 3.40634 15.9931L7.70634 20.2931C8.09686 20.6836 8.09686 21.3168 7.70634 21.7073C7.31581 22.0978 6.68265 22.0978 6.29212 21.7073L1.99212 17.4073C0.630069 16.0453 0.567602 13.8947 2.00917 12.5761L11.5921 2.9931C12.9542 1.63104 15.1047 1.56858 16.4234 3.01015L22.0063 8.5931C23.3684 9.95515 23.4309 12.1057 21.9893 13.4243L13.7063 21.7073C13.3158 22.0978 12.6826 22.0978 12.2921 21.7073C11.9016 21.3168 11.9016 20.6836 12.2921 20.2931L20.5921 11.9931C20.6045 11.9807 20.6172 11.9686 20.6303 11.9569C21.167 11.4738 21.2235 10.6386 20.5921 10.0073L14.9921 4.40731C14.9797 4.39492 14.9677 4.3822 14.9559 4.36917Z" fill="currentColor"/>\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M6 21C6 20.4477 6.44772 20 7 20H22C22.5523 20 23 20.4477 23 21C23 21.5523 22.5523 22 22 22H7C6.44772 22 6 21.5523 6 21Z" fill="currentColor"/>\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M4.29289 10.2929C4.68342 9.90237 5.31658 9.90237 5.70711 10.2929L14.7071 19.2929C15.0976 19.6834 15.0976 20.3166 14.7071 20.7071C14.3166 21.0976 13.6834 21.0976 13.2929 20.7071L4.29289 11.7071C3.90237 11.3166 3.90237 10.6834 4.29289 10.2929Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-builder.icons.i_header1'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M10 5C10 4.44772 10.4477 4 11 4H13C13.5523 4 14 4.44772 14 5V11C14 11.5523 13.5523 12 13 12C12.4477 12 12 11.5523 12 11V6H11C10.4477 6 10 5.55228 10 5Z" fill="currentColor"/>\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M3 4C3.55228 4 4 4.44772 4 5H3H2C2 4.44772 2.44772 4 3 4ZM4 7V5.00102L3 5H2V10.999L3 11H2C2 11.5523 2.44772 12 3 12C3.55228 12 4 11.5523 4 11V9H6V11C6 11.5523 6.44772 12 7 12C7.55228 12 8 11.5523 8 11V5C8 4.44772 7.55228 4 7 4C6.44772 4 6 4.44772 6 5V7H4Z" fill="currentColor"/>\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M10 11C10 10.4477 10.4477 10 11 10H15C15.5523 10 16 10.4477 16 11C16 11.5523 15.5523 12 15 12H11C10.4477 12 10 11.5523 10 11Z" fill="currentColor"/>\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M2 15C2 14.4477 2.44772 14 3 14H21.5C22.0523 14 22.5 14.4477 22.5 15C22.5 15.5523 22.0523 16 21.5 16H3C2.44772 16 2 15.5523 2 15Z" fill="currentColor"/>\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M2 19C2 18.4477 2.44772 18 3 18H14.5C15.0523 18 15.5 18.4477 15.5 19C15.5 19.5523 15.0523 20 14.5 20H3C2.44772 20 2 19.5523 2 19Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-builder.icons.i_header2'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M2 15C2 14.4477 2.44772 14 3 14H21.5C22.0523 14 22.5 14.4477 22.5 15C22.5 15.5523 22.0523 16 21.5 16H3C2.44772 16 2 15.5523 2 15Z" fill="currentColor"/>\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M2 19C2 18.4477 2.44772 18 3 18H14.5C15.0523 18 15.5 18.4477 15.5 19C15.5 19.5523 15.0523 20 14.5 20H3C2.44772 20 2 19.5523 2 19Z" fill="currentColor"/>\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M3 4C3.55228 4 4 4.44772 4 5H3H2C2 4.44772 2.44772 4 3 4ZM4 7V5.00102L3 5H2V10.999L3 11H2C2 11.5523 2.44772 12 3 12C3.55228 12 4 11.5523 4 11V9H6V11C6 11.5523 6.44772 12 7 12C7.55228 12 8 11.5523 8 11V5C8 4.44772 7.55228 4 7 4C6.44772 4 6 4.44772 6 5V7H4Z" fill="currentColor"/>\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M13.493 4.28848C14.396 4.71889 15.0002 5.60164 15.0002 6.71043C15.0002 7.40965 14.641 7.98984 14.3174 8.40118C13.9915 8.81542 13.5727 9.21453 13.217 9.55351C13.2081 9.56207 13.1991 9.5706 13.1902 9.57908C13.0331 9.72887 12.8875 9.86813 12.7546 10.0001H14.0002C14.5525 10.0001 15.0002 10.4478 15.0002 11.0001C15.0002 11.5524 14.5525 12.0001 14.0002 12.0001H11.0002C10.4479 12.0001 10.0002 11.5524 10.0002 11.0001C10.0002 10.3009 10.3594 9.72067 10.6831 9.30933C11.009 8.8951 11.4277 8.49599 11.7834 8.157C11.7924 8.14844 11.8013 8.13992 11.8102 8.13143C12.199 7.7609 12.5172 7.45475 12.7456 7.16451C12.9844 6.86091 13.0002 6.72616 13.0002 6.71043C13.0002 6.38935 12.8544 6.19969 12.6325 6.09389C12.3831 5.97502 11.9521 5.93466 11.4305 6.18326C10.9319 6.42088 10.3351 6.20936 10.0975 5.71081C9.8599 5.21226 10.0714 4.61547 10.57 4.37785C11.5484 3.91151 12.6174 3.87114 13.493 4.28848Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-builder.icons.i_header3'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M2 15C2 14.4477 2.44772 14 3 14H21.5C22.0523 14 22.5 14.4477 22.5 15C22.5 15.5523 22.0523 16 21.5 16H3C2.44772 16 2 15.5523 2 15Z" fill="currentColor"/>\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M2 19C2 18.4477 2.44772 18 3 18H14.5C15.0523 18 15.5 18.4477 15.5 19C15.5 19.5523 15.0523 20 14.5 20H3C2.44772 20 2 19.5523 2 19Z" fill="currentColor"/>\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M3 4C3.55228 4 4 4.44772 4 5H3H2C2 4.44772 2.44772 4 3 4ZM4 7V5.00102L3 5H2V10.999L3 11H2C2 11.5523 2.44772 12 3 12C3.55228 12 4 11.5523 4 11V9H6V11C6 11.5523 6.44772 12 7 12C7.55228 12 8 11.5523 8 11V5C8 4.44772 7.55228 4 7 4C6.44772 4 6 4.44772 6 5V7H4Z" fill="currentColor"/>\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M12.657 6.08632C12.3775 5.96808 11.9416 5.94345 11.4668 6.19394C10.9783 6.45164 10.3734 6.26456 10.1157 5.77608C9.85804 5.28761 10.0451 4.68271 10.5336 4.42501C11.5159 3.90677 12.58 3.88213 13.4362 4.24436C14.2812 4.60179 15.0002 5.39218 15.0002 6.46257C15.0002 7.17286 14.6846 7.82883 14.1658 8.29418C13.6505 8.75632 12.9728 9.00004 12.2859 9.00004C11.7336 9.00004 11.2859 8.55232 11.2859 8.00004C11.2859 7.44775 11.7336 7.00004 12.2859 7.00004C12.5084 7.00004 12.7027 6.91979 12.8304 6.80527C12.9545 6.69395 13.0002 6.56781 13.0002 6.46257C13.0002 6.37987 12.9478 6.20934 12.657 6.08632Z" fill="currentColor"/>\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M11.5001 8C11.5001 7.44772 11.9478 7 12.5001 7C13.1493 7 13.7803 7.24642 14.2522 7.69803C14.7255 8.15107 15.0001 8.77513 15.0001 9.4356C15.0001 10.4918 14.3774 11.3848 13.4581 11.7807C12.5262 12.1821 11.4076 12.0358 10.4169 11.3247C9.96828 11.0026 9.86564 10.3778 10.1877 9.92917C10.5097 9.48051 11.1345 9.37787 11.5832 9.69992C12.0926 10.0656 12.474 10.0269 12.667 9.94379C12.8728 9.85517 13.0001 9.6714 13.0001 9.4356C13.0001 9.33459 12.9586 9.22834 12.8693 9.14292C12.7786 9.05608 12.6465 9 12.5001 9C11.9478 9 11.5001 8.55228 11.5001 8Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-builder.icons.i_headphones'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M12 4C9.87827 4 7.84344 4.84285 6.34315 6.34315C4.84285 7.84344 4 9.87827 4 12V18C4 18.5523 3.55228 19 3 19C2.44772 19 2 18.5523 2 18V12C2 9.34784 3.05357 6.8043 4.92893 4.92893C6.8043 3.05357 9.34784 2 12 2C14.6522 2 17.1957 3.05357 19.0711 4.92893C20.9464 6.8043 22 9.34784 22 12V18C22 18.5523 21.5523 19 21 19C20.4477 19 20 18.5523 20 18V12C20 9.87827 19.1571 7.84344 17.6569 6.34315C16.1566 4.84285 14.1217 4 12 4Z" fill="currentColor"/>\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M2 14C2 13.4477 2.44772 13 3 13H6C6.79565 13 7.55871 13.3161 8.12132 13.8787C8.68393 14.4413 9 15.2044 9 16V19C9 19.7956 8.68393 20.5587 8.12132 21.1213C7.55871 21.6839 6.79565 22 6 22H5C4.20435 22 3.44129 21.6839 2.87868 21.1213C2.31607 20.5587 2 19.7956 2 19V14ZM4 15V19C4 19.2652 4.10536 19.5196 4.29289 19.7071C4.48043 19.8946 4.73478 20 5 20H6C6.26522 20 6.51957 19.8946 6.70711 19.7071C6.89464 19.5196 7 19.2652 7 19V16C7 15.7348 6.89464 15.4804 6.70711 15.2929C6.51957 15.1054 6.26522 15 6 15H4ZM18 15C17.7348 15 17.4804 15.1054 17.2929 15.2929C17.1054 15.4804 17 15.7348 17 16V19C17 19.2652 17.1054 19.5196 17.2929 19.7071C17.4804 19.8946 17.7348 20 18 20H19C19.2652 20 19.5196 19.8946 19.7071 19.7071C19.8946 19.5196 20 19.2652 20 19V15H18ZM15.8787 13.8787C16.4413 13.3161 17.2043 13 18 13H21C21.5523 13 22 13.4477 22 14V19C22 19.7957 21.6839 20.5587 21.1213 21.1213C20.5587 21.6839 19.7957 22 19 22H18C17.2043 22 16.4413 21.6839 15.8787 21.1213C15.3161 20.5587 15 19.7957 15 19V16C15 15.2043 15.3161 14.4413 15.8787 13.8787Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-builder.icons.i_img'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M5 4C4.44772 4 4 4.44772 4 5V19C4 19.5523 4.44772 20 5 20H19C19.5523 20 20 19.5523 20 19V5C20 4.44772 19.5523 4 19 4H5ZM2 5C2 3.34315 3.34315 2 5 2H19C20.6569 2 22 3.34315 22 5V19C22 20.6569 20.6569 22 19 22H5C3.34315 22 2 20.6569 2 19V5Z" fill="currentColor"/>\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M8.5 8C8.22386 8 8 8.22386 8 8.5C8 8.77614 8.22386 9 8.5 9C8.77614 9 9 8.77614 9 8.5C9 8.22386 8.77614 8 8.5 8ZM6 8.5C6 7.11929 7.11929 6 8.5 6C9.88071 6 11 7.11929 11 8.5C11 9.88071 9.88071 11 8.5 11C7.11929 11 6 9.88071 6 8.5Z" fill="currentColor"/>\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M15.2929 9.29289C15.6834 8.90237 16.3166 8.90237 16.7071 9.29289L21.7071 14.2929C22.0976 14.6834 22.0976 15.3166 21.7071 15.7071C21.3166 16.0976 20.6834 16.0976 20.2929 15.7071L16 11.4142L5.70711 21.7071C5.31658 22.0976 4.68342 22.0976 4.29289 21.7071C3.90237 21.3166 3.90237 20.6834 4.29289 20.2929L15.2929 9.29289Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-builder.icons.i_list'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M7 6C7 5.44772 7.44772 5 8 5H21C21.5523 5 22 5.44772 22 6C22 6.55228 21.5523 7 21 7H8C7.44772 7 7 6.55228 7 6Z" fill="currentColor"/>\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M7 12C7 11.4477 7.44772 11 8 11H21C21.5523 11 22 11.4477 22 12C22 12.5523 21.5523 13 21 13H8C7.44772 13 7 12.5523 7 12Z" fill="currentColor"/>\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M7 18C7 17.4477 7.44772 17 8 17H21C21.5523 17 22 17.4477 22 18C22 18.5523 21.5523 19 21 19H8C7.44772 19 7 18.5523 7 18Z" fill="currentColor"/>\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M2 6C2 5.44772 2.44772 5 3 5H3.01C3.56228 5 4.01 5.44772 4.01 6C4.01 6.55228 3.56228 7 3.01 7H3C2.44772 7 2 6.55228 2 6Z" fill="currentColor"/>\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M2 12C2 11.4477 2.44772 11 3 11H3.01C3.56228 11 4.01 11.4477 4.01 12C4.01 12.5523 3.56228 13 3.01 13H3C2.44772 13 2 12.5523 2 12Z" fill="currentColor"/>\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M2 18C2 17.4477 2.44772 17 3 17H3.01C3.56228 17 4.01 17.4477 4.01 18C4.01 18.5523 3.56228 19 3.01 19H3C2.44772 19 2 18.5523 2 18Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-builder.icons.i_marker'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M9.70711 10.2929C10.0976 10.6834 10.0976 11.3166 9.70711 11.7071L4 17.4142V19H11.5858L14.2929 16.2929C14.6834 15.9024 15.3166 15.9024 15.7071 16.2929C16.0976 16.6834 16.0976 17.3166 15.7071 17.7071L12.7071 20.7071C12.5196 20.8946 12.2652 21 12 21H3C2.44772 21 2 20.5523 2 20V17C2 16.7348 2.10536 16.4804 2.29289 16.2929L8.29289 10.2929C8.68342 9.90237 9.31658 9.90237 9.70711 10.2929Z" fill="currentColor"/>\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M14.7069 3.29289C15.0975 3.68342 15.0975 4.31658 14.7069 4.70711L10.1111 9.30297C9.92967 9.48958 9.82812 9.73963 9.82812 10C9.82812 10.2604 9.92967 10.5104 10.1111 10.697L15.3028 15.8887C15.4894 16.0702 15.7395 16.1717 15.9998 16.1717C16.2602 16.1717 16.5103 16.0702 16.6969 15.8887L21.2927 11.2929C21.6833 10.9024 22.3164 10.9024 22.7069 11.2929C23.0975 11.6834 23.0975 12.3166 22.7069 12.7071L18.0999 17.3142C17.5391 17.8639 16.7851 18.1717 15.9998 18.1717C15.2146 18.1717 14.4606 17.8638 13.8998 17.3141L13.8927 17.3071L8.68566 12.1C8.13598 11.5392 7.82812 10.7853 7.82812 10C7.82812 9.21474 8.13602 8.46079 8.6857 7.9L8.6927 7.89286L13.2927 3.29289C13.6833 2.90237 14.3164 2.90237 14.7069 3.29289Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-builder.icons.i_move_square'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M10 20C10 21.1 9.1 22 8 22" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\r\n    <path d="M4 22C2.9 22 2 21.1 2 20" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\r\n    <path d="M2 16C2 14.9 2.9 14 4 14" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\r\n    <path d="M8 14C9.1 14 10 14.9 10 16" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\r\n    <path d="M21 17L18 14L15 17" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\r\n    <path d="M18 14V19C18 20.7 16.7 22 15 22H14" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\r\n    <path d="M16 10H20C21.1046 10 22 9.10457 22 8V4C22 2.89543 21.1046 2 20 2H16C14.8954 2 14 2.89543 14 4V8C14 9.10457 14.8954 10 16 10Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-builder.icons.i_paint_roller'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M4 3C3.44772 3 3 3.44772 3 4V6C3 6.55228 3.44772 7 4 7H16C16.5523 7 17 6.55228 17 6V4C17 3.44772 16.5523 3 16 3H4ZM1 4C1 2.34315 2.34315 1 4 1H16C17.6569 1 19 2.34315 19 4V6C19 7.65685 17.6569 9 16 9H4C2.34315 9 1 7.65685 1 6V4Z" fill="currentColor"/>\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M17 5C17 4.44772 17.4477 4 18 4H20C20.7956 4 21.5587 4.31607 22.1213 4.87868C22.6839 5.44129 23 6.20435 23 7V10C23 10.7957 22.6839 11.5587 22.1213 12.1213C21.5587 12.6839 20.7957 13 20 13H12C11.7348 13 11.4804 13.1054 11.2929 13.2929C11.1054 13.4804 11 13.7348 11 14V16C11 16.5523 10.5523 17 10 17C9.44772 17 9 16.5523 9 16V14C9 13.2043 9.31607 12.4413 9.87868 11.8787C10.4413 11.3161 11.2043 11 12 11H20C20.2652 11 20.5196 10.8946 20.7071 10.7071C20.8946 10.5196 21 10.2652 21 10V7C21 6.73478 20.8946 6.48043 20.7071 6.29289C20.5196 6.10536 20.2652 6 20 6H18C17.4477 6 17 5.55228 17 5Z" fill="currentColor"/>\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M7 17C7 15.8954 7.89543 15 9 15H11C12.1046 15 13 15.8954 13 17V21C13 22.1046 12.1046 23 11 23H9C7.89543 23 7 22.1046 7 21V17ZM11 17H9V21H11V17Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-builder.icons.i_paper_clip'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M17.2883 3.8824C16.7241 3.31921 15.9593 3.0032 15.1621 3.00391C14.365 3.00461 13.6007 3.32196 13.0375 3.88615L4.46691 12.4568C3.5286 13.3951 3.00146 14.6677 3.00146 15.9947C3.00146 17.3216 3.5286 18.5943 4.46691 19.5326C5.40522 20.4709 6.67783 20.998 8.0048 20.998C9.33177 20.998 10.6044 20.4709 11.5427 19.5326L20.7327 10.3426C21.1232 9.95204 21.7564 9.95204 22.1469 10.3426C22.5374 10.7331 22.5374 11.3663 22.1469 11.7568L12.9569 20.9468C11.6435 22.2602 9.8622 22.998 8.0048 22.998C6.1474 22.998 4.36607 22.2602 3.05269 20.9468C1.73931 19.6334 1.00146 17.8521 1.00146 15.9947C1.00146 14.1373 1.73931 12.3559 3.05269 11.0426L11.6221 2.47319C12.5599 1.53399 13.8331 1.00508 15.1604 1.00391C16.488 1.00274 17.7617 1.529 18.7013 2.46694C19.6409 3.40487 20.1694 4.67764 20.1706 6.00525C20.1717 7.33286 19.6455 8.60656 18.7075 9.54615L10.1169 18.1168C9.55409 18.6796 8.79075 18.9958 7.9948 18.9958C7.19886 18.9958 6.43551 18.6796 5.87269 18.1168C5.30988 17.554 4.99369 16.7906 4.99369 15.9947C4.99369 15.1987 5.30988 14.4354 5.87269 13.8726L14.3631 5.39214C14.7539 5.00185 15.387 5.00222 15.7773 5.39298C16.1676 5.78373 16.1672 6.4169 15.7765 6.80719L7.28691 15.2868C7.09942 15.4745 6.99369 15.7294 6.99369 15.9947C6.99369 16.2602 7.09916 16.5148 7.28691 16.7026C7.47465 16.8903 7.72929 16.9958 7.9948 16.9958C8.26031 16.9958 8.51495 16.8903 8.70269 16.7026L17.2921 8.13319C17.2924 8.1329 17.2926 8.13261 17.2929 8.13233C17.8556 7.56822 18.1713 6.80379 18.1706 6.00701C18.1699 5.20984 17.8525 4.44559 17.2883 3.8824Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-builder.icons.i_pause'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M9.75 20.25H7.5C7.30109 20.25 7.11032 20.171 6.96967 20.0303C6.82902 19.8897 6.75 19.6989 6.75 19.5V4.5C6.75 4.30109 6.82902 4.11032 6.96967 3.96967C7.11032 3.82902 7.30109 3.75 7.5 3.75H9.75C9.94891 3.75 10.1397 3.82902 10.2803 3.96967C10.421 4.11032 10.5 4.30109 10.5 4.5V19.5C10.5 19.6989 10.421 19.8897 10.2803 20.0303C10.1397 20.171 9.94891 20.25 9.75 20.25Z" fill="currentColor"/>\r\n    <path d="M16.5 20.25H14.25C14.0511 20.25 13.8603 20.171 13.7197 20.0303C13.579 19.8897 13.5 19.6989 13.5 19.5V4.5C13.5 4.30109 13.579 4.11032 13.7197 3.96967C13.8603 3.82902 14.0511 3.75 14.25 3.75H16.5C16.6989 3.75 16.8897 3.82902 17.0303 3.96967C17.171 4.11032 17.25 4.30109 17.25 4.5V19.5C17.25 19.6989 17.171 19.8897 17.0303 20.0303C16.8897 20.171 16.6989 20.25 16.5 20.25Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-builder.icons.i_pdf'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M3.87868 1.87868C4.44129 1.31607 5.20435 1 6 1H14.5C14.7652 1 15.0196 1.10536 15.2071 1.29289L20.7071 6.79289C20.8946 6.98043 21 7.23478 21 7.5V20C21 20.7957 20.6839 21.5587 20.1213 22.1213C19.5587 22.6839 18.7957 23 18 23H4C3.44772 23 3 22.5523 3 22C3 21.4477 3.44772 21 4 21H18C18.2652 21 18.5196 20.8946 18.7071 20.7071C18.8946 20.5196 19 20.2652 19 20V7.91421L14.0858 3H6C5.73478 3 5.48043 3.10536 5.29289 3.29289C5.10536 3.48043 5 3.73478 5 4V8C5 8.55228 4.55228 9 4 9C3.44772 9 3 8.55228 3 8V4C3 3.20435 3.31607 2.44129 3.87868 1.87868Z" fill="currentColor"/>\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M14 1C14.5523 1 15 1.44772 15 2V7H20C20.5523 7 21 7.44772 21 8C21 8.55228 20.5523 9 20 9H14C13.4477 9 13 8.55228 13 8V2C13 1.44772 13.4477 1 14 1Z" fill="currentColor"/>\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M6 11H10C10.5523 11 11 11.4477 11 12V17C11 17.2652 10.8946 17.5196 10.7071 17.7071L9.70711 18.7071C9.51957 18.8946 9.26522 19 9 19H6V11ZM8 13V17H8.58579L9 16.5858V13H8Z" fill="currentColor"/>\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M12 12C12 11.4477 12.4477 11 13 11H16C16.5523 11 17 11.4477 17 12C17 12.5523 16.5523 13 16 13H14V14H15C15.5523 14 16 14.4477 16 15C16 15.5523 15.5523 16 15 16H14V17.999L13 18L12 18V12.001L13 12H12ZM13 18L12 18C12 18.5523 12.4477 19 13 19C13.5523 19 14 18.5523 14 18H13Z" fill="currentColor"/>\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M0 12C0 11.4477 0.447715 11 1 11H4C4.55228 11 5 11.4477 5 12V15C5 15.5523 4.55228 16 4 16H2V17.999L1 18L0 18V12.001L1 12H0ZM2 13V14H3V13H2ZM1 18L0 18C0 18.5523 0.447715 19 1 19C1.55228 19 2 18.5523 2 18H1Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-builder.icons.i_play'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M6.23445 20.6251C5.94665 20.6245 5.66394 20.5491 5.41414 20.4062C4.85164 20.0874 4.50195 19.4687 4.50195 18.797V5.20321C4.50195 4.52961 4.85164 3.91274 5.41414 3.59399C5.66989 3.44701 5.96043 3.37142 6.25539 3.37513C6.55034 3.37884 6.83889 3.46171 7.09086 3.61508L18.7088 10.5695C18.951 10.7213 19.1506 10.9321 19.2889 11.1822C19.4273 11.4322 19.4999 11.7134 19.4999 11.9991C19.4999 12.2849 19.4273 12.566 19.2889 12.8161C19.1506 13.0662 18.951 13.277 18.7088 13.4288L7.08898 20.3851C6.83112 20.541 6.53577 20.6239 6.23445 20.6251Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-builder.icons.i_plus'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M21 12C21 12.1989 20.921 12.3897 20.7803 12.5303C20.6397 12.671 20.4489 12.75 20.25 12.75H12.75V20.25C12.75 20.4489 12.671 20.6397 12.5303 20.7803C12.3897 20.921 12.1989 21 12 21C11.8011 21 11.6103 20.921 11.4697 20.7803C11.329 20.6397 11.25 20.4489 11.25 20.25V12.75H3.75C3.55109 12.75 3.36032 12.671 3.21967 12.5303C3.07902 12.3897 3 12.1989 3 12C3 11.8011 3.07902 11.6103 3.21967 11.4697C3.36032 11.329 3.55109 11.25 3.75 11.25H11.25V3.75C11.25 3.55109 11.329 3.36032 11.4697 3.21967C11.6103 3.07902 11.8011 3 12 3C12.1989 3 12.3897 3.07902 12.5303 3.21967C12.671 3.36032 12.75 3.55109 12.75 3.75V11.25H20.25C20.4489 11.25 20.6397 11.329 20.7803 11.4697C20.921 11.6103 21 11.8011 21 12Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-builder.icons.i_six-dots'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M9.75 5.625C9.75 5.8475 9.68402 6.06501 9.5604 6.25002C9.43679 6.43502 9.26109 6.57922 9.05552 6.66437C8.84995 6.74951 8.62375 6.77179 8.40552 6.72838C8.1873 6.68498 7.98684 6.57783 7.82951 6.4205C7.67217 6.26316 7.56503 6.06271 7.52162 5.84448C7.47821 5.62625 7.50049 5.40005 7.58564 5.19448C7.67078 4.98891 7.81498 4.81321 7.99998 4.6896C8.18499 4.56598 8.4025 4.5 8.625 4.5C8.92337 4.5 9.20952 4.61853 9.4205 4.82951C9.63147 5.04048 9.75 5.32663 9.75 5.625ZM15.375 6.75C15.5975 6.75 15.815 6.68402 16 6.5604C16.185 6.43679 16.3292 6.26109 16.4144 6.05552C16.4995 5.84995 16.5218 5.62375 16.4784 5.40552C16.435 5.1873 16.3278 4.98684 16.1705 4.82951C16.0132 4.67217 15.8127 4.56503 15.5945 4.52162C15.3762 4.47821 15.15 4.50049 14.9445 4.58564C14.7389 4.67078 14.5632 4.81498 14.4396 4.99998C14.316 5.18499 14.25 5.4025 14.25 5.625C14.25 5.92337 14.3685 6.20952 14.5795 6.4205C14.7905 6.63147 15.0766 6.75 15.375 6.75ZM8.625 10.875C8.4025 10.875 8.18499 10.941 7.99998 11.0646C7.81498 11.1882 7.67078 11.3639 7.58564 11.5695C7.50049 11.775 7.47821 12.0012 7.52162 12.2195C7.56503 12.4377 7.67217 12.6382 7.82951 12.7955C7.98684 12.9528 8.1873 13.06 8.40552 13.1034C8.62375 13.1468 8.84995 13.1245 9.05552 13.0394C9.26109 12.9542 9.43679 12.81 9.5604 12.625C9.68402 12.44 9.75 12.2225 9.75 12C9.75 11.7016 9.63147 11.4155 9.4205 11.2045C9.20952 10.9935 8.92337 10.875 8.625 10.875ZM15.375 10.875C15.1525 10.875 14.935 10.941 14.75 11.0646C14.565 11.1882 14.4208 11.3639 14.3356 11.5695C14.2505 11.775 14.2282 12.0012 14.2716 12.2195C14.315 12.4377 14.4222 12.6382 14.5795 12.7955C14.7368 12.9528 14.9373 13.06 15.1555 13.1034C15.3738 13.1468 15.6 13.1245 15.8055 13.0394C16.0111 12.9542 16.1868 12.81 16.3104 12.625C16.434 12.44 16.5 12.2225 16.5 12C16.5 11.7016 16.3815 11.4155 16.1705 11.2045C15.9595 10.9935 15.6734 10.875 15.375 10.875ZM8.625 17.25C8.4025 17.25 8.18499 17.316 7.99998 17.4396C7.81498 17.5632 7.67078 17.7389 7.58564 17.9445C7.50049 18.15 7.47821 18.3762 7.52162 18.5945C7.56503 18.8127 7.67217 19.0132 7.82951 19.1705C7.98684 19.3278 8.1873 19.435 8.40552 19.4784C8.62375 19.5218 8.84995 19.4995 9.05552 19.4144C9.26109 19.3292 9.43679 19.185 9.5604 19C9.68402 18.815 9.75 18.5975 9.75 18.375C9.75 18.0766 9.63147 17.7905 9.4205 17.5795C9.20952 17.3685 8.92337 17.25 8.625 17.25ZM15.375 17.25C15.1525 17.25 14.935 17.316 14.75 17.4396C14.565 17.5632 14.4208 17.7389 14.3356 17.9445C14.2505 18.15 14.2282 18.3762 14.2716 18.5945C14.315 18.8127 14.4222 19.0132 14.5795 19.1705C14.7368 19.3278 14.9373 19.435 15.1555 19.4784C15.3738 19.5218 15.6 19.4995 15.8055 19.4144C16.0111 19.3292 16.1868 19.185 16.3104 19C16.434 18.815 16.5 18.5975 16.5 18.375C16.5 18.0766 16.3815 17.7905 16.1705 17.5795C15.9595 17.3685 15.6734 17.25 15.375 17.25Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-builder.icons.i_text_bold'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M14 12C15.0609 12 16.0783 11.5786 16.8284 10.8284C17.5786 10.0783 18 9.06087 18 8C18 6.93913 17.5786 5.92172 16.8284 5.17157C16.0783 4.42143 15.0609 4 14 4H6V12" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\r\n    <path d="M15 20C16.0609 20 17.0783 19.5786 17.8284 18.8284C18.5786 18.0783 19 17.0609 19 16C19 14.9391 18.5786 13.9217 17.8284 13.1716C17.0783 12.4214 16.0609 12 15 12H6V20H15Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-builder.icons.i_text_italic'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M19 4H10" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\r\n    <path d="M14 20H5" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\r\n    <path d="M15 4L9 20" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-builder.icons.i_text_link'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M10 13C10.4295 13.5741 10.9774 14.0491 11.6066 14.3929C12.2357 14.7367 12.9315 14.9411 13.6467 14.9923C14.3618 15.0435 15.0796 14.9403 15.7513 14.6897C16.4231 14.4392 17.0331 14.047 17.54 13.54L20.54 10.54C21.4508 9.59695 21.9548 8.33394 21.9434 7.02296C21.932 5.71198 21.4061 4.45791 20.4791 3.53087C19.5521 2.60383 18.298 2.07799 16.987 2.0666C15.676 2.0552 14.413 2.55918 13.47 3.46997L11.75 5.17997" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\r\n    <path d="M14.0002 11.0002C13.5707 10.4261 13.0228 9.95104 12.3936 9.60729C11.7645 9.26353 11.0687 9.05911 10.3535 9.00789C9.63841 8.95667 8.92061 9.05986 8.24885 9.31044C7.5771 9.56103 6.96709 9.95316 6.4602 10.4602L3.4602 13.4602C2.54941 14.4032 2.04544 15.6662 2.05683 16.9772C2.06822 18.2882 2.59407 19.5423 3.52111 20.4693C4.44815 21.3964 5.70221 21.9222 7.01319 21.9336C8.32418 21.945 9.58719 21.441 10.5302 20.5302L12.2402 18.8202" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-builder.icons.i_text_strike'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M15.9996 4H8.99962C8.51955 3.99975 8.04642 4.11471 7.61999 4.33524C7.19356 4.55576 6.82629 4.8754 6.54901 5.26731C6.27174 5.65921 6.09257 6.11194 6.02655 6.58745C5.96053 7.06297 6.0096 7.54738 6.16962 8" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\r\n    <path d="M14 12C15.0609 12 16.0783 12.4214 16.8284 13.1716C17.5786 13.9217 18 14.9391 18 16C18 17.0609 17.5786 18.0783 16.8284 18.8284C16.0783 19.5786 15.0609 20 14 20H6" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\r\n    <path d="M4 12H20" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-builder.icons.i_text_underline'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M6 4V10C6 11.5913 6.63214 13.1174 7.75736 14.2426C8.88258 15.3679 10.4087 16 12 16C13.5913 16 15.1174 15.3679 16.2426 14.2426C17.3679 13.1174 18 11.5913 18 10V4" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\r\n    <path d="M4 20H20" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-builder.icons.i_text'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M2 15C2 14.4477 2.44772 14 3 14H21.5C22.0523 14 22.5 14.4477 22.5 15C22.5 15.5523 22.0523 16 21.5 16H3C2.44772 16 2 15.5523 2 15Z" fill="currentColor"/>\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M2 19C2 18.4477 2.44772 18 3 18H14.5C15.0523 18 15.5 18.4477 15.5 19C15.5 19.5523 15.0523 20 14.5 20H3C2.44772 20 2 19.5523 2 19Z" fill="currentColor"/>\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M2 5C2 4.44772 2.44772 4 3 4H7C7.55228 4 8 4.44772 8 5C8 5.55228 7.55228 6 7 6H6V11C6 11.5523 5.55228 12 5 12C4.44772 12 4 11.5523 4 11V6H3C2.44772 6 2 5.55228 2 5Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-builder.icons.i_two_squares'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M20 8H10C8.89543 8 8 8.89543 8 10V20C8 21.1046 8.89543 22 10 22H20C21.1046 22 22 21.1046 22 20V10C22 8.89543 21.1046 8 20 8Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\r\n    <path d="M4 16C2.9 16 2 15.1 2 14V4C2 2.9 2.9 2 4 2H14C15.1 2 16 2.9 16 4" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-builder.icons.i_video'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <g clip-path="url(#clip0_10511_2506)">\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M11.9999 3C12 3 12.0001 3 12.0001 4L12.0001 5L11.9246 5.00011C11.8746 5.00022 11.8007 5.00044 11.7058 5.00089C11.516 5.00178 11.2426 5.00356 10.9089 5.00713C10.2411 5.01427 9.33406 5.02855 8.37479 5.05706C7.41391 5.08561 6.40869 5.12821 5.5422 5.19141C4.65409 5.25619 3.99421 5.33761 3.66544 5.42419C3.36674 5.51 3.09566 5.67253 2.87922 5.89566C2.66809 6.11333 2.51618 6.38119 2.43769 6.67375C2.13815 8.34737 1.99167 10.0448 2.00007 11.7451L2.00013 11.7563C1.98941 13.4635 2.13479 15.1681 2.43456 16.8487C2.52119 17.1264 2.67461 17.3788 2.88166 17.5837C3.09857 17.7984 3.36702 17.9537 3.66122 18.0347C3.98854 18.1217 4.65028 18.2035 5.5422 18.2686C6.40869 18.3318 7.41391 18.3744 8.37479 18.4029C9.33406 18.4314 10.2411 18.4457 10.9089 18.4529C11.2426 18.4564 11.516 18.4582 11.7058 18.4591C11.8007 18.4596 11.8746 18.4598 11.9246 18.4599H12.0756C12.1256 18.4598 12.1995 18.4596 12.2944 18.4591C12.4841 18.4582 12.7576 18.4564 13.0913 18.4529C13.759 18.4457 14.6661 18.4314 15.6254 18.4029C16.5863 18.3744 17.5915 18.3318 18.458 18.2686C19.3461 18.2038 20.006 18.1224 20.3347 18.0358C20.6334 17.95 20.9045 17.7875 21.1209 17.5643C21.3321 17.3467 21.484 17.0788 21.5625 16.7863C21.8597 15.1253 22.0062 13.4409 22.0001 11.7536L22.0001 11.7437C22.0108 10.0306 21.8644 8.32008 21.5625 6.63377C21.484 6.3412 21.3321 6.07333 21.1209 5.85566C20.907 5.63509 20.6396 5.47373 20.345 5.38717C20.005 5.3072 19.3427 5.23348 18.4643 5.17498C17.596 5.11716 16.5894 5.07822 15.628 5.05213C14.668 5.02609 13.7603 5.01304 13.0922 5.00651C12.7583 5.00325 12.4847 5.00162 12.2948 5.00081L12.0758 5.0001L12.0001 5L12.0001 4C12.0001 3 12 3 11.9999 3L12.0798 3.0001C12.1313 3.00021 12.2068 3.00042 12.3034 3.00083C12.4964 3.00166 12.7737 3.00331 13.1117 3.00661C13.7874 3.01321 14.7072 3.02641 15.6822 3.05287C16.6558 3.07928 17.6916 3.11909 18.5972 3.1794C19.4768 3.23798 20.3116 3.32017 20.8373 3.44854C20.849 3.45141 20.8607 3.45448 20.8723 3.45777C21.5124 3.63886 22.0934 3.98566 22.5565 4.46315C23.0197 4.94063 23.3486 5.53189 23.5102 6.17719L22.5401 6.42L23.5242 6.24249C23.8521 8.06021 24.0114 9.90432 24.0001 11.7513C24.0063 13.5707 23.8471 15.3869 23.5242 17.1774C23.5203 17.1994 23.5156 17.2212 23.5102 17.2428C23.3486 17.8881 23.0197 18.4794 22.5565 18.9569C22.0934 19.4343 21.5124 19.7811 20.8723 19.9622L20.8584 19.966C20.3248 20.1088 19.4828 20.1992 18.6035 20.2633C17.6962 20.3295 16.6589 20.3731 15.6848 20.4021C14.7091 20.4311 13.7886 20.4455 13.1127 20.4528C12.7745 20.4564 12.497 20.4582 12.3038 20.4591C12.2071 20.4595 12.1316 20.4598 12.08 20.4599L12.0005 20.46L11.9202 20.4599C11.8686 20.4598 11.793 20.4595 11.6964 20.4591C11.5032 20.4582 11.2257 20.4564 10.8875 20.4528C10.2115 20.4455 9.29111 20.4311 8.31538 20.4021C7.34126 20.3731 6.30398 20.3295 5.39671 20.2633C4.51741 20.1992 3.67537 20.1088 3.14172 19.966L3.13616 19.9646C2.50909 19.793 1.93687 19.4626 1.47479 19.0052C1.01271 18.5479 0.676391 17.9792 0.498325 17.3539C0.489286 17.3222 0.481823 17.29 0.475965 17.2575C0.148126 15.44 -0.0111821 13.5961 6.83708e-05 11.7493C-0.00864589 9.91636 0.150649 8.08643 0.475958 6.28253C0.479912 6.2606 0.484598 6.23881 0.490009 6.21719C0.651527 5.57189 0.980479 4.98063 1.44364 4.50315C1.9068 4.02566 2.48776 3.67886 3.12785 3.49777L3.14172 3.49395C3.67537 3.35123 4.51741 3.26085 5.39671 3.19671C6.30398 3.13054 7.34125 3.08689 8.31538 3.05794C9.29111 3.02895 10.2115 3.01448 10.8875 3.00724C11.2257 3.00363 11.5032 3.00182 11.6964 3.00091C11.793 3.00046 11.8686 3.00023 11.9202 3.00011L11.9999 3Z" fill="currentColor"/>\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M9.24718 7.61608C9.55499 7.43702 9.9348 7.43517 10.2443 7.6112L15.9943 10.8812C16.3069 11.059 16.5 11.3909 16.5 11.7505C16.5 12.1101 16.3069 12.442 15.9943 12.6197L10.2443 15.8897C9.9348 16.0658 9.55499 16.0639 9.24718 15.8849C8.93937 15.7058 8.75 15.3766 8.75 15.0205V8.48047C8.75 8.12437 8.93937 7.79513 9.24718 7.61608ZM10.75 10.1996V13.3014L13.4771 11.7505L10.75 10.1996Z" fill="currentColor"/>\r\n    </g>\r\n    <defs>\r\n    <clipPath id="clip0_10511_2506">\r\n    <rect width="24" height="24" fill="white"/>\r\n    </clipPath>\r\n    </defs>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-builder.icons.i_wastebasket'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M3 6H21" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\r\n    <path d="M19 6V20C19 21 18 22 17 22H7C6 22 5 21 5 20V6" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\r\n    <path d="M8 6V4C8 3 9 2 10 2H14C15 2 16 3 16 4V6" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\r\n    <path d="M10 11V17" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\r\n    <path d="M14 11V17" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-builder.icons.i_x'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M37.4142 10.5858C38.1953 11.3668 38.1953 12.6332 37.4142 13.4142L13.4142 37.4142C12.6332 38.1953 11.3668 38.1953 10.5858 37.4142C9.80474 36.6332 9.80474 35.3668 10.5858 34.5858L34.5858 10.5858C35.3668 9.80474 36.6332 9.80474 37.4142 10.5858Z" fill="currentColor"/>\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M10.5858 10.5858C11.3668 9.80474 12.6332 9.80474 13.4142 10.5858L37.4142 34.5858C38.1953 35.3668 38.1953 36.6332 37.4142 37.4142C36.6332 38.1953 35.3668 38.1953 34.5858 37.4142L10.5858 13.4142C9.80474 12.6332 9.80474 11.3668 10.5858 10.5858Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-builder.ImageCropper'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('layout') ))==null?'':__t)+
'">\r\n    <div '+
((__t=( e.click('cancel')))==null?'':__t)+
' class="'+
((__t=( f.getClass('overlay') ))==null?'':__t)+
'"></div>\r\n    <div class="'+
((__t=( f.getClass('container') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('scrollContaner') ))==null?'':__t)+
' scrollBar">\r\n            <div class="'+
((__t=( f.getClass('header') ))==null?'':__t)+
'">\r\n                <h2 class="'+
((__t=( f.getClass('title') ))==null?'':__t)+
'">\r\n                    '+
((__t=( data.title ? data.title : 'Выберите обложку курса' ))==null?'':__t)+
'\r\n                </h2>\r\n                <button '+
((__t=( e.click('cancel')))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'cancel', 'cancelImg01') ))==null?'':__t)+
'"></button>\r\n            </div>\r\n            <p  class="'+
((__t=( f.getClass('text') ))==null?'':__t)+
'">\r\n                '+
((__t=( data.subtitle ? data.subtitle : 'Для обложек мы используем изображение формата 16:10, это соответствует разрешению, 1920х1200. Для наилучшего качества используйте изображение формата PNG или JPG размером от 1200х750' ))==null?'':__t)+
'\r\n            </p>\r\n            <div class="'+
((__t=( f.getClass('imgCroppermain') ))==null?'':__t)+
' imgCroppermain">\r\n                <div class="'+
((__t=( f.getClass('imgContainer') ))==null?'':__t)+
' imgCroppermainImgContainer">\r\n                    <img class="'+
((__t=( f.getClass('img') ))==null?'':__t)+
'" src=""/>\r\n                </div>\r\n                \r\n                <div class="'+
((__t=( f.getClass('actions') ))==null?'':__t)+
' imgCropperActions">\r\n                    <div class="'+
((__t=( f.getClass('imgCropperSettings') ))==null?'':__t)+
' imgCropperSettings">\r\n                        <div class="'+
((__t=( f.getClass('imgCropperColumn') ))==null?'':__t)+
' imgCropperColumn">\r\n                            <h3 class="'+
((__t=( f.getClass('subtitle') ))==null?'':__t)+
'">\r\n                                Формат\r\n                            </h3>\r\n                            <button '+
((__t=(e.click('changeAspectRatio', 16/10)))==null?'':__t)+
' class="'+
((__t=( f.getClass('btn', 'btnBlue20') ))==null?'':__t)+
'">\r\n                                Оригинальный\r\n                            </button>\r\n                            <button '+
((__t=(e.click('changeAspectRatio', 0)))==null?'':__t)+
' class="'+
((__t=( f.getClass('btn', 'textColordark_main_base') ))==null?'':__t)+
'">\r\n                                Свободный\r\n                            </button>\r\n                            <ul class="'+
((__t=( f.getClass('resetList', 'list') ))==null?'':__t)+
'">\r\n                                <li class="'+
((__t=( f.getClass('item') ))==null?'':__t)+
'">\r\n                                    <button '+
((__t=(e.click('changeAspectRatio', 16/10)))==null?'':__t)+
' class="'+
((__t=( f.getClass('btn', 'textColordark_main_base') ))==null?'':__t)+
'">\r\n                                        16:10\r\n                                    </button>\r\n                                </li>\r\n                                <li class="'+
((__t=( f.getClass('item') ))==null?'':__t)+
'">\r\n                                    <button '+
((__t=(e.click('changeAspectRatio', 4/3)))==null?'':__t)+
' class="'+
((__t=( f.getClass('btn', 'textColordark_main_base') ))==null?'':__t)+
'">\r\n                                        4:3\r\n                                    </button>\r\n                                </li>\r\n                                <li class="'+
((__t=( f.getClass('item') ))==null?'':__t)+
'">\r\n                                    <button  '+
((__t=(e.click('changeAspectRatio', 1/1)))==null?'':__t)+
' class="'+
((__t=( f.getClass('btn', 'textColordark_main_base') ))==null?'':__t)+
'">\r\n                                        1:1\r\n                                    </button>\r\n                                </li>\r\n                            </ul>\r\n                        </div>\r\n                        <div class="'+
((__t=( f.getClass('imgCropperColumn') ))==null?'':__t)+
'">\r\n                            <h3 class="'+
((__t=( f.getClass('subtitle') ))==null?'':__t)+
'">\r\n                                Изменить\r\n                            </h3>\r\n                            <ul class="'+
((__t=( f.getClass('resetList', 'list') ))==null?'':__t)+
' imgCropperList">\r\n                                <li class="'+
((__t=( f.getClass('item') ))==null?'':__t)+
'">\r\n                                    <button '+
((__t=(e.click('rotate',-90)))==null?'':__t)+
' class="'+
((__t=( f.getClass('btn', 'textColordark_main_base') ))==null?'':__t)+
'">\r\n                                        <svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n                                            <path fill-rule="evenodd" clip-rule="evenodd" d="M11.9962 2.50001L12 2.5C13.9778 2.50001 15.9112 3.0865 17.5557 4.18531C19.2002 5.28412 20.4819 6.84591 21.2388 8.67317C21.9957 10.5004 22.1937 12.5111 21.8079 14.4509C21.422 16.3907 20.4696 18.1726 19.0711 19.5711C17.6725 20.9696 15.8907 21.922 13.9509 22.3079C12.0111 22.6937 10.0004 22.4957 8.17317 21.7388C6.3459 20.9819 4.78412 19.7002 3.6853 18.0557C2.58649 16.4112 2 14.4778 2 12.5C2 11.9477 2.44772 11.5 3 11.5C3.55228 11.5 4 11.9477 4 12.5C4 14.0823 4.46919 15.629 5.34824 16.9446C6.22729 18.2602 7.47672 19.2855 8.93853 19.891C10.4003 20.4965 12.0089 20.655 13.5607 20.3463C15.1126 20.0376 16.538 19.2757 17.6569 18.1569C18.7757 17.038 19.5376 15.6126 19.8463 14.0607C20.155 12.5089 19.9965 10.9003 19.391 9.43854C18.7855 7.97673 17.7602 6.7273 16.4446 5.84825C15.1295 4.96955 13.5835 4.50038 12.0019 4.50001C9.7473 4.50897 7.58329 5.38786 5.96097 6.95325L3.70711 9.20711C3.31658 9.59764 2.68342 9.59764 2.29289 9.20711C1.90237 8.81659 1.90237 8.18342 2.29289 7.7929L4.55289 5.5329L4.56496 5.52104C6.55946 3.5929 9.22213 2.51045 11.9962 2.50001Z" fill="currentColor"/>\r\n                                            <path fill-rule="evenodd" clip-rule="evenodd" d="M3 2.5C3.55228 2.5 4 2.94772 4 3.5V7.5H8C8.55228 7.5 9 7.94772 9 8.5C9 9.05228 8.55228 9.5 8 9.5H3C2.44772 9.5 2 9.05228 2 8.5V3.5C2 2.94772 2.44772 2.5 3 2.5Z" fill="currentColor"/>\r\n                                        </svg>\r\n                                    </button>\r\n                                </li>\r\n                                <li class="'+
((__t=( f.getClass('item') ))==null?'':__t)+
'">\r\n                                    <button '+
((__t=(e.click('rotate',90)))==null?'':__t)+
' class="'+
((__t=( f.getClass('btn', 'textColordark_main_base') ))==null?'':__t)+
'">\r\n                                        <svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n                                            <path fill-rule="evenodd" clip-rule="evenodd" d="M12 4.5C10.4178 4.5 8.87104 4.96919 7.55544 5.84824C6.23985 6.72729 5.21447 7.97672 4.60897 9.43853C4.00347 10.9003 3.84504 12.5089 4.15372 14.0607C4.4624 15.6126 5.22433 17.038 6.34315 18.1569C7.46197 19.2757 8.88743 20.0376 10.4393 20.3463C11.9911 20.655 13.5997 20.4965 15.0615 19.891C16.5233 19.2855 17.7727 18.2602 18.6518 16.9446C19.5308 15.629 20 14.0823 20 12.5C20 11.9477 20.4477 11.5 21 11.5C21.5523 11.5 22 11.9477 22 12.5C22 14.4778 21.4135 16.4112 20.3147 18.0557C19.2159 19.7002 17.6541 20.9819 15.8268 21.7388C13.9996 22.4957 11.9889 22.6937 10.0491 22.3079C8.10929 21.922 6.32746 20.9696 4.92894 19.5711C3.53041 18.1725 2.578 16.3907 2.19215 14.4509C1.8063 12.5111 2.00433 10.5004 2.76121 8.67317C3.51809 6.8459 4.79981 5.28412 6.4443 4.1853C8.08879 3.08649 10.0222 2.5 12 2.5C14.7858 2.5 17.4422 3.60521 19.433 5.51909L19.4471 5.53289L21.7071 7.79289C22.0976 8.18342 22.0976 8.81658 21.7071 9.20711C21.3166 9.59763 20.6834 9.59763 20.2929 9.20711L18.0401 6.95427C16.4117 5.39226 14.251 4.5 12 4.5Z" fill="currentColor"/>\r\n                                            <path fill-rule="evenodd" clip-rule="evenodd" d="M21 2.5C21.5523 2.5 22 2.94772 22 3.5V8.5C22 9.05228 21.5523 9.5 21 9.5H16C15.4477 9.5 15 9.05228 15 8.5C15 7.94772 15.4477 7.5 16 7.5H20V3.5C20 2.94772 20.4477 2.5 21 2.5Z" fill="currentColor"/>\r\n                                        </svg>\r\n                                    </button>\r\n                                </li>\r\n                                <li class="'+
((__t=( f.getClass('item') ))==null?'':__t)+
'">\r\n                                    <button '+
((__t=( e.click('flip', 'horizontal') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btn', 'textColordark_main_base') ))==null?'':__t)+
'">\r\n                                        <svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n                                            <path fill-rule="evenodd" clip-rule="evenodd" d="M2.61732 6.57615C2.99099 6.42137 3.42111 6.50692 3.70711 6.79292L8.70711 11.7929C9.09763 12.1834 9.09763 12.8166 8.70711 13.2071L3.70711 18.2071C3.42111 18.4931 2.99099 18.5787 2.61732 18.4239C2.24364 18.2691 2 17.9045 2 17.5V7.50003C2 7.09557 2.24364 6.73093 2.61732 6.57615ZM4 9.91424V15.0858L6.58579 12.5L4 9.91424Z" fill="currentColor"/>\r\n                                            <path fill-rule="evenodd" clip-rule="evenodd" d="M21.3827 6.57615C21.7564 6.73093 22 7.09557 22 7.50003V17.5C22 17.9045 21.7564 18.2691 21.3827 18.4239C21.009 18.5787 20.5789 18.4931 20.2929 18.2071L15.2929 13.2071C14.9024 12.8166 14.9024 12.1834 15.2929 11.7929L20.2929 6.79292C20.5789 6.50692 21.009 6.42137 21.3827 6.57615ZM17.4142 12.5L20 15.0858V9.91424L17.4142 12.5Z" fill="currentColor"/>\r\n                                            <path fill-rule="evenodd" clip-rule="evenodd" d="M12 19.5C12.5523 19.5 13 19.9477 13 20.5V22.5C13 23.0523 12.5523 23.5 12 23.5C11.4477 23.5 11 23.0523 11 22.5V20.5C11 19.9477 11.4477 19.5 12 19.5Z" fill="currentColor"/>\r\n                                            <path fill-rule="evenodd" clip-rule="evenodd" d="M12 13.5C12.5523 13.5 13 13.9477 13 14.5V16.5C13 17.0523 12.5523 17.5 12 17.5C11.4477 17.5 11 17.0523 11 16.5V14.5C11 13.9477 11.4477 13.5 12 13.5Z" fill="currentColor"/>\r\n                                            <path fill-rule="evenodd" clip-rule="evenodd" d="M12 7.5C12.5523 7.5 13 7.94772 13 8.5V10.5C13 11.0523 12.5523 11.5 12 11.5C11.4477 11.5 11 11.0523 11 10.5V8.5C11 7.94772 11.4477 7.5 12 7.5Z" fill="currentColor"/>\r\n                                            <path fill-rule="evenodd" clip-rule="evenodd" d="M12 1.5C12.5523 1.5 13 1.94772 13 2.5V4.5C13 5.05228 12.5523 5.5 12 5.5C11.4477 5.5 11 5.05228 11 4.5V2.5C11 1.94772 11.4477 1.5 12 1.5Z" fill="currentColor"/>\r\n                                        </svg>\r\n                                    </button>\r\n                                </li>\r\n                                <li class="'+
((__t=( f.getClass('item') ))==null?'':__t)+
'">\r\n                                    <button '+
((__t=( e.click('flip', 'vertical') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btn', 'textColordark_main_base') ))==null?'':__t)+
'">\r\n                                        <svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n                                            <path fill-rule="evenodd" clip-rule="evenodd" d="M6.07615 3.11732C6.23093 2.74364 6.59557 2.5 7.00003 2.5H17C17.4045 2.5 17.7691 2.74364 17.9239 3.11732C18.0787 3.49099 17.9931 3.92111 17.7071 4.20711L12.7071 9.20711C12.3166 9.59763 11.6834 9.59763 11.2929 9.20711L6.29292 4.20711C6.00692 3.92111 5.92137 3.49099 6.07615 3.11732ZM9.41424 4.5L12 7.08579L14.5858 4.5H9.41424Z" fill="currentColor"/>\r\n                                            <path fill-rule="evenodd" clip-rule="evenodd" d="M11.2929 15.7929C11.6834 15.4024 12.3166 15.4024 12.7071 15.7929L17.7071 20.7929C17.9931 21.0789 18.0787 21.509 17.9239 21.8827C17.7691 22.2564 17.4045 22.5 17 22.5H7.00003C6.59557 22.5 6.23093 22.2564 6.07615 21.8827C5.92137 21.509 6.00692 21.0789 6.29292 20.7929L11.2929 15.7929ZM9.41424 20.5H14.5858L12 17.9142L9.41424 20.5Z" fill="currentColor"/>\r\n                                            <path fill-rule="evenodd" clip-rule="evenodd" d="M1 12.5C1 11.9477 1.44772 11.5 2 11.5H4C4.55228 11.5 5 11.9477 5 12.5C5 13.0523 4.55228 13.5 4 13.5H2C1.44772 13.5 1 13.0523 1 12.5Z" fill="currentColor"/>\r\n                                            <path fill-rule="evenodd" clip-rule="evenodd" d="M7 12.5C7 11.9477 7.44772 11.5 8 11.5H10C10.5523 11.5 11 11.9477 11 12.5C11 13.0523 10.5523 13.5 10 13.5H8C7.44772 13.5 7 13.0523 7 12.5Z" fill="currentColor"/>\r\n                                            <path fill-rule="evenodd" clip-rule="evenodd" d="M13 12.5C13 11.9477 13.4477 11.5 14 11.5H16C16.5523 11.5 17 11.9477 17 12.5C17 13.0523 16.5523 13.5 16 13.5H14C13.4477 13.5 13 13.0523 13 12.5Z" fill="currentColor"/>\r\n                                            <path fill-rule="evenodd" clip-rule="evenodd" d="M19 12.5C19 11.9477 19.4477 11.5 20 11.5H22C22.5523 11.5 23 11.9477 23 12.5C23 13.0523 22.5523 13.5 22 13.5H20C19.4477 13.5 19 13.0523 19 12.5Z" fill="currentColor"/>\r\n                                        </svg>\r\n                                    </button>\r\n                                </li>\r\n                            </ul>\r\n                        </div>\r\n                    </div>\r\n                    <button '+
((__t=( e.click('reset') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnReturn') ))==null?'':__t)+
'">\r\n                        Отменить изменения\r\n                    </button>\r\n                </div>\r\n                \r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('subactions2') ))==null?'':__t)+
' mediablockPhotoBtnMain">\r\n                <div class="'+
((__t=( f.getClass('btnContainer') ))==null?'':__t)+
'">\r\n                \r\n                </div>\r\n                <div class="'+
((__t=( f.getClass('btnContainer') ))==null?'':__t)+
' mediablockPhotoBtnContainer">\r\n                    <button class="'+
((__t=( f.getClass('btnEmptyNeut') ))==null?'':__t)+
'" '+
((__t=( e.click('cancel')))==null?'':__t)+
'>Отменить</button>\r\n                    <button class="'+
((__t=( f.getClass('save') ))==null?'':__t)+
'" '+
((__t=( e.click('save')))==null?'':__t)+
'>Сохранить</button>\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </div>\r\n</div>\r\n';
}
return __p;
}
window.renderBlocks['blocks-chats.attachment.file'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='\r\n';
 const makeImageUrl = (
  file,
) => {
  if (!file)
    return
  return `${file.storage_endpoint}/${file.storage_bucketname}/${file.url}`;
}

const isAttachment = (data.attachments || []).length > 0;

__p+='\r\n\r\n<a target="_blank" href="'+
((__t=(makeImageUrl(data)))==null?'':__t)+
'" style="text-decoration: none;">\r\n<div class="'+
((__t=( f.getClass('inputFile') ))==null?'':__t)+
'">\r\n    \r\n    <div class="'+
((__t=( f.getClass('inputFile__item') ))==null?'':__t)+
'">\r\n\r\n        <div class="'+
((__t=( f.getClass('inputFile__head') ))==null?'':__t)+
'">\r\n            <span class="'+
((__t=( f.getClass('inputFile__type') ))==null?'':__t)+
'">\r\n                '+
((__t=( data.content_type ))==null?'':__t)+
'\r\n            </span>\r\n        </div>\r\n\r\n        \r\n        <div class="'+
((__t=( f.getClass('inputFile__main') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('inputFile__icon') ))==null?'':__t)+
'" style="min-width: 32px; height: 32px; width: 32px;">\r\n                '+
((__t=( data.content_type === "application/pdf" ? f.renderBlock('icons.i_pdf') : f.renderBlock('icons.i_page') ))==null?'':__t)+
'\r\n            </div>\r\n\r\n        </div>\r\n        <div class="'+
((__t=( f.getClass('inputFile__footer') ))==null?'':__t)+
'">\r\n            <p class="'+
((__t=( f.getClass('inputFile__size') ))==null?'':__t)+
'">\r\n                 '+
((__t=( (data.size / 1024 / 1024).toFixed(2) ))==null?'':__t)+
' Мб\r\n            </p>\r\n        </div>\r\n    </div>\r\n    <p class="'+
((__t=( f.getClass('inputFile__name') ))==null?'':__t)+
'">\r\n        '+
((__t=( data.filename ))==null?'':__t)+
'\r\n    </p>\r\n</div>\r\n</a>';
}
return __p;
}
window.renderBlocks['blocks-chats.attachment'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='\r\n';


const replaceUrlsWithLinks = (text = "")=>  {
  const expressionWithHttp =
    /(https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b(.*))/gi;

  let regex = new RegExp(expressionWithHttp);

  try {
    return text.replace(regex, (a) => {
      if ( a.length > 40 ) {
        return `<a style="word-wrap: break-word;" href='${a}'>${a.slice(0, 40)}...</a>`;
      } else {
        return `<a style="word-wrap: break-word;" href='${a}'>${a}</a>`;
      };
      // return `<a style="word-wrap: break-word; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; max-width: 400px;" href='${a}'>${a}</a>`;
    });
  } catch (err) {
    return text;
  }
}

__p+='\r\n\r\n\r\n\r\n<div class="'+
((__t=( f.getClass('message', data.usr_id && 'messageOperator') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('message__cloud') ))==null?'':__t)+
'">\r\n\r\n        <!-- Начало вставленное сообщение \r\n        <div class="'+
((__t=( f.getClass('message__cloud') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('message__head') ))==null?'':__t)+
'">\r\n                <p class="'+
((__t=( f.getClass('message__headText') ))==null?'':__t)+
'">\r\n                    Сообщение\r\n                </p>\r\n                <div class="'+
((__t=( f.getClass('message__headImg') ))==null?'':__t)+
'" style="width: 16px; min-width: 16px; height: 16px;">\r\n                    '+
((__t=( f.renderBlock('icons.i_arrow-up') ))==null?'':__t)+
'\r\n                </div>\r\n            </div>\r\n            <p class="'+
((__t=( f.getClass('message__text') ))==null?'':__t)+
'">\r\n                Добрый день. Хотим забронировать переговорную. На 05.09 на 6 человек с 11:30до 12:30. На члена клуба Воробьёв Денис Юрьевич\r\n            </p>\r\n        </div>\r\n         Конец вставленное сообщение -->\r\n\r\n        <!-- Начало вставленные картинки (стиль выделен комментариями в файле со стилями) \r\n        <div class="'+
((__t=( f.getClass('message__imgContainer', 'messageImgs') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('messageImgs__main') ))==null?'':__t)+
'">\r\n                <img class="'+
((__t=( f.getClass('messageImgs__img') ))==null?'':__t)+
'" src="/img/test/news-img01.jpg" alt="" style="width: 100%; max-height: 600px;">\r\n            </div>\r\n            <ul class="'+
((__t=( f.getClass('resetList', 'messageImgs__list') ))==null?'':__t)+
'">\r\n                <li class="'+
((__t=( f.getClass('messageImgs__item') ))==null?'':__t)+
'">\r\n                    <img class="'+
((__t=( f.getClass('messageImgs__imgList') ))==null?'':__t)+
'" src="/img/test/news-img01.jpg" alt="" style="width: 100%; max-height: 300px;">\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('messageImgs__item') ))==null?'':__t)+
'">\r\n                    <img class="'+
((__t=( f.getClass('messageImgs__imgList') ))==null?'':__t)+
'" src="/img/test/news-img01.jpg" alt="" style="width: 100%; max-height: 300px;">\r\n                </li>\r\n            </ul>\r\n        </div>\r\n         Конец вставленные картинки -->\r\n\r\n        <p class="'+
((__t=( f.getClass('message__text') ))==null?'':__t)+
'">\r\n            '+
((__t=( replaceUrlsWithLinks(data.text) ))==null?'':__t)+
'\r\n        </p>\r\n        <div class="'+
((__t=( f.getClass('message__container') ))==null?'':__t)+
'">\r\n\r\n            <div class="'+
((__t=( f.getClass('message__info') ))==null?'':__t)+
'">\r\n                <time class="'+
((__t=( f.getClass('message__subtext') ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(data.created_at).locale(context.locale).format('YYYY-MM-DDTHH:mm') ))==null?'':__t)+
'">\r\n                    '+
((__t=( utils.moment(data.created_at).locale(context.locale).format('HH:mm D MMMM YYYY') ))==null?'':__t)+
'\r\n                </time>\r\n                ';
 if (data.usr_id) { 
__p+='\r\n                    <span class="'+
((__t=( f.getClass('message__subtext') ))==null?'':__t)+
'">\r\n                        •\r\n                    </span>\r\n                    <p class="'+
((__t=( f.getClass('message__subtext') ))==null?'':__t)+
'">\r\n                        '+
((__t=( data.first_name ))==null?'':__t)+
' '+
((__t=( data.last_name ))==null?'':__t)+
'\r\n                    </p>\r\n                ';
 } 
__p+='\r\n            </div>\r\n\r\n            \r\n            ';
 if (data.usr_id){ 
__p+='\r\n                <div class="'+
((__t=( f.getClass('message__status') ))==null?'':__t)+
'">\r\n                    \r\n                    ';
 if ( MSGStatus.prototype.isRead(data.status)) { 
__p+='\r\n                    <div class="'+
((__t=( f.getClass('message__chack', 'shiftRight') ))==null?'':__t)+
'" style="width: 20px; height: 20px; min-width: 20px;">\r\n                        '+
((__t=( f.renderBlock('icons.i_check-chat') ))==null?'':__t)+
'\r\n                    </div>\r\n                    ';
 } 
__p+='\r\n                    \r\n                    ';
 if (MSGStatus.prototype.isReceived(data.status)) { 
__p+='\r\n                        <div class="'+
((__t=( f.getClass('message__chack') ))==null?'':__t)+
'" style="width: 20px; height: 20px; min-width: 20px;">\r\n                            '+
((__t=( f.renderBlock('icons.i_check-chat') ))==null?'':__t)+
'\r\n                        </div>\r\n                    ';
 } 
__p+='\r\n                </div>\r\n            ';
 } 
__p+='\r\n\r\n            ';
 if (!data.usr_id){ 
__p+='\r\n                <div class="'+
((__t=( f.getClass('message__addRequest') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('btnNeutral', 'customHeight20') ))==null?'':__t)+
'">\r\n                        Создать запрос\r\n                    </button>\r\n                    <button class="'+
((__t=( f.getClass('btnNeutral', 'customHeight20') ))==null?'':__t)+
'">\r\n                        Ответить\r\n                    </button>\r\n                </div>\r\n            ';
 } 
__p+='\r\n        </div>\r\n    </div>\r\n</div>  ';
}
return __p;
}
window.renderBlocks['blocks-chats.chatMain'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('chatMain') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('chatMain__container') ))==null?'':__t)+
' chatOperator__main">\r\n\r\n        '+
((__t=( f.renderBlock('chats.messageList',{cl_id: data.cl_id, me_id:data.me._id}) ))==null?'':__t)+
'\r\n    \r\n        <div class="'+
((__t=( f.getClass('chatMain__input') ))==null?'':__t)+
'">\r\n            ';
 if (data.chat.session_usr_id === data.me._id){ 
__p+='\r\n                '+
((__t=( f.renderBlock('chats.input',{text:'', attachments:[], cl_id: data.cl_id}) ))==null?'':__t)+
'\r\n            ';
 } else { 
__p+='\r\n                <div class="'+
((__t=( f.getClass('chatMain__openSession', 'chatOpenSession') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('chatOpenSession__bgBase') ))==null?'':__t)+
'">\r\n                    <div class="'+
((__t=( f.getClass('chatOpenSession__bgColor') ))==null?'':__t)+
'"></div>\r\n                </div>\r\n                <div class="'+
((__t=( f.getClass('chatOpenSession__container') ))==null?'':__t)+
'">\r\n                    <div class="'+
((__t=( f.getClass('chatOpenSession__info') ))==null?'':__t)+
'">\r\n                        ';
 if (data.chat.session_usr_id !== undefined) { 
__p+='\r\n                            <h2 class="'+
((__t=( f.getClass('chatOpenSession__title') ))==null?'':__t)+
'">\r\n                                Сессия открыта\r\n                            </h2>\r\n                        ';
 } 
__p+='\r\n                        <p class="'+
((__t=( f.getClass('chatOpenSession__text') ))==null?'':__t)+
'">\r\n                            '+
((__t=( data.chat.session_first_name ))==null?'':__t)+
' '+
((__t=( data.chat.session_last_name ))==null?'':__t)+
'\r\n                        </p>\r\n                    </div>\r\n                    ';
 if (data.chat.session_usr_id === undefined){ 
__p+='\r\n                        <button '+
((__t=( data.openSession ))==null?'':__t)+
' class="'+
((__t=( f.getClass('chatOpenSession__btn') ))==null?'':__t)+
'">\r\n                            Открыть сессию\r\n                        </button>\r\n                    ';
 } 
__p+='\r\n                    \r\n                    ';
 if (data.killSession){ 
__p+='\r\n                        <button '+
((__t=( data.killSession ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnDangerLight') ))==null?'':__t)+
'">\r\n                            Завершить сессию\r\n                        </button>\r\n                    ';
 } 
__p+='\r\n                </div>\r\n                </div>\r\n            ';
 } 
__p+='\r\n        </div>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('chatMain__rightMenuContainer') ))==null?'':__t)+
' chatMain__rightMenuContainer">\r\n        '+
((__t=( f.renderBlock('chats.chatRightMenu',{
            cl_id: data.cl_id,
            chat: data.chat,
            me: data.me,
            card_type_id: data.card_type_id
        }) ))==null?'':__t)+
'\r\n    </div>\r\n</div>  ';
}
return __p;
}
window.renderBlocks['blocks-chats.chatRightMenu'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('container') ))==null?'':__t)+
'" style="width:100%">\r\n    <div class="'+
((__t=( f.getClass('chatMain__menu', 'chatMainMenu') ))==null?'':__t)+
' chatMainMenu">\r\n\r\n            <div class="'+
((__t=( f.getClass('chatMainMenu__head') ))==null?'':__t)+
' chatMainMenu__head">\r\n                '+
((__t=( f.renderBlock('chats.tabChat', {
                    name:'MenuMode',
                    selected: data.mode || 'information',
                    items:[
                        {title:'Чат',value:'chat', icon:'icons.i_message-square-two'},
                    //  {title:'Заметки',value:'notes', icon:'icons.i_page'},
                        {title:'Запросы',value:'requests', icon:'icons.i_users'},
                        {title:'Информация',value:'information', icon:'icons.i_message-square-two'},
                        {title:'Сессии',value:'sessions', icon:'icons.i_clock'},
                    ]
                }) ))==null?'':__t)+
'\r\n            </div>      \r\n            ';
 if (data.mode !== 'chat') { 
__p+='\r\n                <div class="'+
((__t=( f.getClass('chatMainMenu__container') ))==null?'':__t)+
' chatMainMenu__container">\r\n                    <div class="'+
((__t=( f.getClass('chatMainMenu__bgColor') ))==null?'':__t)+
'">\r\n                        ';
 if (data.mode === 'notes') { 
__p+='\r\n                            '+
((__t=( f.renderBlock('chats.chatTab.chNotes',{cl_id: data.cl_id}) ))==null?'':__t)+
'\r\n                        ';
 } else if (data.mode == 'requests'){ 
__p+='\r\n                            '+
((__t=( f.renderBlock('chats.chatTab.chRequests',{...data}) ))==null?'':__t)+
'\r\n                        ';
 } else if (data.mode == 'information'){ 
__p+='\r\n                            '+
((__t=( f.renderBlock('chats.chatTab.chClient',{cl_id: data.cl_id}) ))==null?'':__t)+
'\r\n                        ';
 } else if (data.mode == 'sessions'){ 
__p+='\r\n                            '+
((__t=( f.renderBlock('chats.chatTab.chSessions',{cl_id: data.cl_id}) ))==null?'':__t)+
'\r\n                        ';
 } 
__p+='\r\n                    </div>\r\n                </div>\r\n            ';
 } 
__p+='\r\n\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-chats.chatTab.chClient'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='    <div class="'+
((__t=( f.getClass('chNotes__container') ))==null?'':__t)+
'">\r\n        '+
((__t=( data.loaded ?  f.renderBlock('clients.watchClient.infoClientContent',data) : '' ))==null?'':__t)+
'\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('chNotes__info') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('menuChatBlock') ))==null?'':__t)+
'">\r\n            <h3 class="'+
((__t=( f.getClass('menuChatBlock__title') ))==null?'':__t)+
'">\r\n                Последняя активность\r\n            </h3>\r\n            <div class="'+
((__t=( f.getClass('menuChatBlock__container') ))==null?'':__t)+
'">\r\n                <time class="'+
((__t=( f.getClass('menuChatBlock__text') ))==null?'':__t)+
'" datetime="2024-09-24 12:15">\r\n                    22:33 23 июня 2024\r\n                </time>\r\n            </div>\r\n        </div>\r\n    </div>\r\n';
}
return __p;
}
window.renderBlocks['blocks-chats.chatTab.chNotes'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('chNotes') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('chNotes__head') ))==null?'':__t)+
'">\r\n        <h2 class="'+
((__t=( f.getClass('chNotes__title') ))==null?'':__t)+
'">\r\n            Заметки\r\n        </h2>\r\n        <button class="'+
((__t=( f.getClass('chNotes__btnAgree') ))==null?'':__t)+
'">\r\n            Добавить заметку\r\n        </button>\r\n    </div>\r\n    <p class="'+
((__t=( f.getClass('chNotes__textInfo') ))==null?'':__t)+
'">\r\n        Для внутреннего использования, клиент их не видит\r\n    </p>\r\n    <div class="'+
((__t=( f.getClass('chNotes__scroll', 'scroll') ))==null?'':__t)+
' scrollBar">\r\n        <div class="'+
((__t=( f.getClass('scroll__container') ))==null?'':__t)+
'">\r\n            <ul class="'+
((__t=( f.getClass('resetList', 'chNotes__list') ))==null?'':__t)+
'">\r\n                <li class="'+
((__t=( f.getClass('chNotes__item', 'menuChatBlock') ))==null?'':__t)+
'">\r\n                    <h3 class="'+
((__t=( f.getClass('menuChatBlock__title') ))==null?'':__t)+
'">\r\n                        Зал для не курящих\r\n                    </h3>\r\n                    <div class="'+
((__t=( f.getClass('menuChatBlock__container') ))==null?'':__t)+
'">\r\n                        <time class="'+
((__t=( f.getClass('menuChatBlock__text') ))==null?'':__t)+
'" datetime="2024-09-24 12:15">\r\n                            12:15 24 июня 2024\r\n                        </time>\r\n                        <span class="'+
((__t=( f.getClass('menuChatBlock__text') ))==null?'':__t)+
'">\r\n                            •\r\n                        </span>\r\n                        <p class="'+
((__t=( f.getClass('menuChatBlock__text') ))==null?'':__t)+
'">\r\n                            Сорокин Денис\r\n                        </p>\r\n                    </div>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('chNotes__item', 'menuChatBlock') ))==null?'':__t)+
'">\r\n                    <h3 class="'+
((__t=( f.getClass('menuChatBlock__title') ))==null?'':__t)+
'">\r\n                        Обычно заказывает билеты в последний момент\r\n                    </h3>\r\n                    <div class="'+
((__t=( f.getClass('menuChatBlock__container') ))==null?'':__t)+
'">\r\n                        <time class="'+
((__t=( f.getClass('menuChatBlock__text') ))==null?'':__t)+
'" datetime="2024-09-24 12:15">\r\n                            12:15 24 июня 2024\r\n                        </time>\r\n                        <span class="'+
((__t=( f.getClass('menuChatBlock__text') ))==null?'':__t)+
'">\r\n                            •\r\n                        </span>\r\n                        <p class="'+
((__t=( f.getClass('menuChatBlock__text') ))==null?'':__t)+
'">\r\n                            Сорокин Денис\r\n                        </p>\r\n                    </div>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('chNotes__item', 'menuChatBlock') ))==null?'':__t)+
'">\r\n                    <h3 class="'+
((__t=( f.getClass('menuChatBlock__title') ))==null?'':__t)+
'">\r\n                        Предпочитает место у окна\r\n                    </h3>\r\n                    <div class="'+
((__t=( f.getClass('menuChatBlock__container') ))==null?'':__t)+
'">\r\n                        <time class="'+
((__t=( f.getClass('menuChatBlock__text') ))==null?'':__t)+
'" datetime="2024-09-24 12:15">\r\n                            12:15 24 июня 2024\r\n                        </time>\r\n                        <span class="'+
((__t=( f.getClass('menuChatBlock__text') ))==null?'':__t)+
'">\r\n                            •\r\n                        </span>\r\n                        <p class="'+
((__t=( f.getClass('menuChatBlock__text') ))==null?'':__t)+
'">\r\n                            Сорокин Денис\r\n                        </p>\r\n                    </div>\r\n                </li>\r\n            </ul>\r\n        </div>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-chats.chatTab.chRequests'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('chRequests') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('chRequests__head') ))==null?'':__t)+
'">\r\n        <h2 class="'+
((__t=( f.getClass('chRequests__title') ))==null?'':__t)+
'">\r\n            Активные запросы\r\n        </h2>\r\n        <button '+
((__t=( e.click('createRequest') ))==null?'':__t)+
'  class="'+
((__t=( f.getClass('chRequests__btnAgree') ))==null?'':__t)+
'">\r\n            Создать запрос\r\n        </button>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('chRequests__scroll', 'scroll') ))==null?'':__t)+
' scrollBar">\r\n        <div class="'+
((__t=( f.getClass('scroll__container') ))==null?'':__t)+
'">\r\n            \r\n            <div class="'+
((__t=( f.getClass('chRequests__section') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('resetList', 'chRequests__list') ))==null?'':__t)+
'">\r\n \r\n                    '+
((__t=( f.renderBlock("list",{
                        pref:'list',
                        rowBlock:'chats.chatTab.chRequests.item',
                        params:{
                            params:{
                                cl_id: data.cl_id,
                                confirmed: false,
                                completed :  false,
                                canceled : false
                            }
                        },
                        limit:10,
                        list:'request_list',
                        command:'client.getList',
                    })  ))==null?'':__t)+
'\r\n                </div>\r\n            </div>\r\n\r\n            \r\n            <div class="'+
((__t=( f.getClass('chRequests__section') ))==null?'':__t)+
'">\r\n                <h2 class="'+
((__t=( f.getClass('chRequests__title') ))==null?'':__t)+
'">\r\n                    История запросов\r\n                </h2>\r\n                <div class="'+
((__t=( f.getClass('resetList', 'chRequests__list') ))==null?'':__t)+
'">\r\n                  '+
((__t=( f.renderBlock("list",{
                        pref:'listhistory',
                        rowBlock:'chats.chatTab.chRequests.item',
                        params:{
                            params:{
                                cl_id: data.cl_id,
                                confirmed: true,
                      
                            }
                        },
                        limit:10,
                        list:'request_list',
                        command:'client.getList',
                    })  ))==null?'':__t)+
'\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-chats.chatTab.chRequests.item'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='    <button '+
((__t=( e.click('goToMessage',{msg: data, type:'message'}) ))==null?'':__t)+
'  class="'+
((__t=( f.getClass('resetBtn', 'menuChatBlock') ))==null?'':__t)+
'">\r\n        <h3 class="'+
((__t=( f.getClass('menuChatBlock__title') ))==null?'':__t)+
'">\r\n            '+
((__t=( data.text))==null?'':__t)+
'\r\n        </h3>\r\n        <div class="'+
((__t=( f.getClass('menuChatBlock__container') ))==null?'':__t)+
'">\r\n\r\n            <time class="'+
((__t=( f.getClass('menuChatBlock__text') ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(data.created_at).locale(context.locale).format('YYYY-MM-DDTHH:mm') ))==null?'':__t)+
'">\r\n                '+
((__t=( utils.moment(data.created_at).locale(context.locale).format('HH:mm D MMMM YYYY') ))==null?'':__t)+
'\r\n            </time>\r\n            ';
 if (data.completed_at) {  
__p+='\r\n                <span class="'+
((__t=( f.getClass('menuChatBlock__text') ))==null?'':__t)+
'">\r\n                    —\r\n                </span>\r\n                <time class="'+
((__t=( f.getClass('menuChatBlock__text') ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(data.completed_at).locale(context.locale).format('YYYY-MM-DDTHH:mm') ))==null?'':__t)+
'">\r\n                    '+
((__t=( utils.moment(data.completed_at).locale(context.locale).format('HH:mm D MMMM YYYY') ))==null?'':__t)+
'\r\n                </time>\r\n            ';
 } else if (data.confirmed_at){  
__p+='\r\n                <span class="'+
((__t=( f.getClass('menuChatBlock__text') ))==null?'':__t)+
'">\r\n                     —\r\n                </span>\r\n                <time class="'+
((__t=( f.getClass('menuChatBlock__text') ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(data.confirmed_at).locale(context.locale).format('YYYY-MM-DDTHH:mm') ))==null?'':__t)+
'">\r\n                    '+
((__t=( utils.moment(data.confirmed_at).locale(context.locale).format('HH:mm D MMMM YYYY') ))==null?'':__t)+
'\r\n                </time>\r\n            ';
 } 
__p+='\r\n\r\n            \r\n\r\n            ';
 if (data.user) {  
__p+='\r\n                <span class="'+
((__t=( f.getClass('menuChatBlock__text') ))==null?'':__t)+
'">\r\n                    •\r\n                </span>\r\n                <p class="'+
((__t=( f.getClass('menuChatBlock__text') ))==null?'':__t)+
'">\r\n                    '+
((__t=( data.user.first_name ))==null?'':__t)+
' '+
((__t=( data.user.last_name ))==null?'':__t)+
'\r\n                </p>\r\n            ';
 } 
__p+='\r\n        </div>\r\n    </button>\r\n';
}
return __p;
}
window.renderBlocks['blocks-chats.chatTab.chSessions'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('chRequests') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('chRequests__head') ))==null?'':__t)+
'">\r\n        <h2 class="'+
((__t=( f.getClass('chRequests__title') ))==null?'':__t)+
'">\r\n            Сессии\r\n        </h2>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('chRequests__scroll', 'scroll') ))==null?'':__t)+
' scrollBar">\r\n        <div class="'+
((__t=( f.getClass('scroll__container') ))==null?'':__t)+
'">\r\n            \r\n            <div class="'+
((__t=( f.getClass('chRequests__section') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('resetList', 'chRequests__list') ))==null?'':__t)+
'">\r\n                    '+
((__t=( f.renderBlock("list",{
                        pref:'list',
                        rowBlock:'chats.chatTab.chSessions.item',
                        params:{
                            sorting: [
                                { field: 'started_at', order: 'desc' }
                            ],
                            params:{
                                cl_id: data.cl_id,
                            }
                        },
                        limit:10,
                        list:'chat_session_list',
                        command:'client.getList',
              
                    })  ))==null?'':__t)+
'\r\n\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-chats.chatTab.chSessions.item'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<button '+
((__t=( e.click('goToMessage',{msg: data, type:'session'}) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'menuChatBlock') ))==null?'':__t)+
'">\r\n    <h3 class="'+
((__t=( f.getClass('menuChatBlock__title') ))==null?'':__t)+
'">\r\n        '+
((__t=( data.user_first_name ))==null?'':__t)+
' '+
((__t=( data.user_last_name ))==null?'':__t)+
'\r\n    </h3>\r\n    <div class="'+
((__t=( f.getClass('menuChatBlock__container') ))==null?'':__t)+
'">\r\n        <time class="'+
((__t=( f.getClass('menuChatBlock__text') ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(data.started_at).locale(context.locale).format('YYYY-MM-DDTHH:mm') ))==null?'':__t)+
'">\r\n            '+
((__t=( utils.moment(data.started_at).locale(context.locale).format('HH:mm D MMMM YYYY') ))==null?'':__t)+
'\r\n        </time>\r\n        ';
 if(data.finished_at) { 
__p+='\r\n        <span class="'+
((__t=( f.getClass('menuChatBlock__text') ))==null?'':__t)+
'">\r\n            —\r\n        </span>\r\n        <time class="'+
((__t=( f.getClass('menuChatBlock__text') ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(data.finished_at).locale(context.locale).format('YYYY-MM-DDTHH:mm') ))==null?'':__t)+
'">\r\n            '+
((__t=( utils.moment(data.finished_at).locale(context.locale).format('HH:mm D MMMM YYYY') ))==null?'':__t)+
'\r\n        </time>\r\n        ';
 } 
__p+='\r\n    </div>\r\n</button>';
}
return __p;
}
window.renderBlocks['blocks-chats.input'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('input') ))==null?'':__t)+
' chatOperator__input">\r\n    <div class="'+
((__t=( f.getClass('input__bgBase') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('input__bgColor') ))==null?'':__t)+
'"></div>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('input__container') ))==null?'':__t)+
'">\r\n        \r\n        ';
 if (data.message) { 
__p+='\r\n            <div '+
((__t=( e.click('goToMessage',{msg: data.message, type:'message'}) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('input__addFiles') ))==null?'':__t)+
'">\r\n                '+
((__t=( console.log(data.message, ' в input.fr') ))==null?'':__t)+
'\r\n                '+
((__t=( f.renderBlock('chats.input.inputAnswer',data.message) ))==null?'':__t)+
'\r\n                <button '+
((__t=( e.click('removeAnswer') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'input__closeAnswer') ))==null?'':__t)+
'" style="height: 20px; width: 20px" aria-label="Отменить ответ">\r\n                    '+
((__t=( f.renderBlock('icons.i_x') ))==null?'':__t)+
'\r\n                </button>\r\n            </div> \r\n        ';
 } 
__p+='\r\n        \r\n        ';

            const fid = e.makeId();
        
__p+='\r\n\r\n        <textarea \r\n            placeholder="Введите сообщение" \r\n            f-id="'+
((__t=( fid ))==null?'':__t)+
'"\r\n            '+
((__t=( e.on('keydown','enter',{},fid, false) ))==null?'':__t)+
' \r\n            '+
((__t=( e.on('input','changeText',{},fid, false) ))==null?'':__t)+
' \r\n            class="'+
((__t=( f.getClass('input__input') ))==null?'':__t)+
'\r\n        ">'+
((__t=( data.text ))==null?'':__t)+
'</textarea>\r\n\r\n        <div class="'+
((__t=( f.getClass('input__menu') ))==null?'':__t)+
'">\r\n            <button '+
((__t=( e.click('startSendAttach')))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'input__secondBtn') ))==null?'':__t)+
'" style="width: 40px; min-width: 40px; height: 40px;">\r\n                '+
((__t=( f.renderBlock('icons.i_paper-clip') ))==null?'':__t)+
'\r\n            </button>\r\n            <button '+
((__t=( e.click('sendTextMessage') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('input__btnAgree') ))==null?'':__t)+
'">\r\n                Отправить\r\n            </button>\r\n        </div>\r\n    </div>\r\n\r\n    <input multiple '+
((__t=( e.on('change','attachChange') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('fileInput') ))==null?'':__t)+
'" type="file" />\r\n\r\n    '+
((__t=( f.renderEmptyBlock("ImageCropper",{
        title:'Изображение',
        subtitle:'Рекомендуемый размер изображения 1024x1024'
    }) ))==null?'':__t)+
'\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-chats.input.inputAnswer'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';
 console.log(data.type, 'приходит в inputAnswer') 
__p+='\r\n<div class="'+
((__t=( f.getClass('resetList', 'inputAnswer') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('inputAnswer__head') ))==null?'':__t)+
'">\r\n        <h3 class="'+
((__t=( f.getClass('inputAnswer__title') ))==null?'':__t)+
'">\r\n            Ответить на сообщение\r\n        </h3>\r\n        <div class="'+
((__t=( f.getClass('inputAnswer__imgAnswer') ))==null?'':__t)+
'" style="width: 16px; height: 16px; min-width: 16px;">\r\n            '+
((__t=( f.renderBlock('icons.i_arrow-up') ))==null?'':__t)+
'\r\n        </div>\r\n    </div>\r\n    \r\n        ';
 if ( data.type === "request") { 
__p+='\r\n            <p class="'+
((__t=( f.getClass('inputAnswer__text') ))==null?'':__t)+
'">\r\n                Запрос: '+
((__t=( data.request.text ))==null?'':__t)+
'\r\n            </p>\r\n        ';
 } else if ( data.type === "attachment") { 
__p+='\r\n            ';
 if ( data?.attachments && data?.attachments[0]) {
                let firstAttach = data.attachments[0];
                if (firstAttach.data !== undefined){
                    firstAttach = {
                        ...firstAttach,
                        ...firstAttach.data,
                        data: void 0
                    }
                } 
__p+=' \r\n                <div class="'+
((__t=( f.getClass('inputAnswer__addFile') ))==null?'':__t)+
'">\r\n                    <div class="'+
((__t=( f.getClass('inputAnswer__icon') ))==null?'':__t)+
'" style="width: 20px; height: 20px; min-width: 20px;">\r\n                        '+
((__t=( f.renderBlock('icons.i_page') ))==null?'':__t)+
'\r\n                    </div>\r\n                    <p class="'+
((__t=( f.getClass('inputAnswer__addText') ))==null?'':__t)+
'">\r\n                        '+
((__t=( data.attachments[0].data.filename ))==null?'':__t)+
'\r\n                    </p>\r\n                </div>\r\n            ';
 } else { 
__p+='  \r\n                <p class="'+
((__t=( f.getClass('inputAnswer__text') ))==null?'':__t)+
'">\r\n                    Файл\r\n                </p>\r\n            ';
 } 
__p+='  \r\n        ';
 } else { 
__p+='\r\n            <p class="'+
((__t=( f.getClass('inputAnswer__text') ))==null?'':__t)+
'">\r\n                '+
((__t=(data.text))==null?'':__t)+
'\r\n            </p>\r\n        ';
 } 
__p+='\r\n    \r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-chats.input.inputFile'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('inputFile') ))==null?'':__t)+
'">\r\n    \r\n    <div class="'+
((__t=( f.getClass('inputFile__item', 'whiteBg') ))==null?'':__t)+
'">\r\n        \r\n        \r\n        <div class="'+
((__t=( f.getClass('inputFile__imgContainer') ))==null?'':__t)+
'" style="display: flex; align-items: center; height: 100%; width: 100%; overflow: hidden;">\r\n            <img class="'+
((__t=( f.getClass('inputFile__img') ))==null?'':__t)+
'" src="/img/test/news-img01.jpg" alt="" aria-hidden="true" style="width: 100%;">\r\n        </div>\r\n\r\n        <div class="'+
((__t=( f.getClass('inputFile__head') ))==null?'':__t)+
'">\r\n            <span class="'+
((__t=( f.getClass('inputFile__type') ))==null?'':__t)+
'">\r\n                JPG\r\n            </span>\r\n            <button class="'+
((__t=( f.getClass('resetBtn', 'inputFile__close') ))==null?'':__t)+
'" style="min-width: 32px; height: 32px; width: 32px;">\r\n                '+
((__t=( f.renderBlock('icons.i_x') ))==null?'':__t)+
'\r\n            </button>\r\n        </div>\r\n\r\n        \r\n        <div class="'+
((__t=( f.getClass('inputFile__main') ))==null?'':__t)+
'">\r\n            \r\n            <div class="'+
((__t=( f.getClass('inputFile__icon') ))==null?'':__t)+
'" style="min-width: 32px; height: 32px; width: 32px;">\r\n                '+
((__t=( f.renderBlock('icons.i_pdf') ))==null?'':__t)+
'\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('inputFile__icon') ))==null?'':__t)+
'" style="min-width: 32px; height: 32px; width: 32px;">\r\n                '+
((__t=( f.renderBlock('icons.i_page') ))==null?'':__t)+
'\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('inputFile__icon') ))==null?'':__t)+
'" style="min-width: 32px; height: 32px; width: 32px;">\r\n                '+
((__t=( f.renderBlock('icons.a_processing') ))==null?'':__t)+
'\r\n            </div>\r\n        </div>\r\n        <div class="'+
((__t=( f.getClass('inputFile__footer') ))==null?'':__t)+
'">\r\n            <p class="'+
((__t=( f.getClass('inputFile__size') ))==null?'':__t)+
'">\r\n                1,43 Мб\r\n            </p>\r\n        </div>\r\n    </div>\r\n    <p class="'+
((__t=( f.getClass('inputFile__name') ))==null?'':__t)+
'">\r\n        Загрузка...\r\n    </p>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-chats.input.inputList'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('resetList', 'inputList') ))==null?'':__t)+
'">\r\n    <ul class="'+
((__t=( f.getClass('resetList', 'inputList__list') ))==null?'':__t)+
'">\r\n        <li class="'+
((__t=( f.getClass('inputItemt') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock('chats.input.inputFile') ))==null?'':__t)+
'\r\n        </li>\r\n        <li class="'+
((__t=( f.getClass('inputItemt') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock('chats.input.inputFile') ))==null?'':__t)+
'\r\n        </li>\r\n        <li class="'+
((__t=( f.getClass('inputItemt') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock('chats.input.inputFile') ))==null?'':__t)+
'\r\n        </li>\r\n    </ul>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-chats.message'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='\r\n';


const replaceUrlsWithLinks = (text = "")=>  {
  const expressionWithHttp =
    /(https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b(.*?))/gi;

  let regex = new RegExp(expressionWithHttp);

  try {
    return text.replace(regex, (a) => {
      if ( a.length > 40 ) {
        return `<a style="word-wrap: break-word;" href='${a}'>${a.slice(0, 40)}...</a>`;
      } else {
        return `<a style="word-wrap: break-word;" href='${a}'>${a}</a>`;
      };
      // return `<a style="word-wrap: break-word; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; max-width: 400px;" href='${a}'>${a}</a>`;
    });
  } catch (err) {
    return text;
  }
}

const makeImageUrl = (
  file,
) => {
  if (!file)
    return
  return `${file.storage_endpoint}/${file.storage_bucketname}/${file.url}`;
}

const isAttachment = (data.attachments || []).length > 0;
const messageId = data._id;

__p+='\r\n\r\n\r\n\r\n<div class="'+
((__t=( f.getClass('message', data.usr_id && 'messageOperator') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('message__cloud') ))==null?'':__t)+
'">\r\n\r\n        ';
 if (data.message) {
__p+='\r\n            <div '+
((__t=( e.click('goToMessage',{msg: data.message, type:'message'}) ))==null?'':__t)+
'  class="'+
((__t=( f.getClass('message__cloud') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('message__head') ))==null?'':__t)+
'">\r\n                    <p class="'+
((__t=( f.getClass('message__headText') ))==null?'':__t)+
'">\r\n                        Сообщение\r\n                    </p>\r\n                    <div class="'+
((__t=( f.getClass('message__headImg') ))==null?'':__t)+
'" style="width: 16px; min-width: 16px; height: 16px;">\r\n                        '+
((__t=( f.renderBlock('icons.i_arrow-up') ))==null?'':__t)+
'\r\n                    </div>\r\n                </div>\r\n\r\n                ';
 if ( data.message?.attachments && data.message?.attachments[0]) { 
                    let firstAttach = data.message.attachments[0];

                    if (firstAttach.data !== undefined){
                        firstAttach = {
                            ...firstAttach,
                            ...firstAttach.data,
                            data: void 0
                        }
                    }


                    const firstAttachType = firstAttach.content_type.split('/')[0];
                    
__p+='\r\n                    <div class="'+
((__t=( f.getClass('message__imgContainer', 'messageImgs') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('messageImgs__main') ))==null?'':__t)+
'">\r\n                            ';
 if (firstAttachType === 'image') { 
__p+='\r\n                                <div class="'+
((__t=( f.getClass('messageImgs__imgContainer') ))==null?'':__t)+
'" style="width: 100%; height: 422px; overflow: hidden;">\r\n                                    <img class="'+
((__t=( f.getClass('messageImgs__img') ))==null?'':__t)+
'" src="'+
((__t=( makeImageUrl(firstAttach) ))==null?'':__t)+
'" alt="" style="height: 100%;">\r\n                                </div>\r\n                            ';
 } else if(firstAttachType === 'video') { 
__p+='\r\n                                <div class="'+
((__t=( f.getClass('messageImgs__imgContainer') ))==null?'':__t)+
'" style="width: 100%; height: 422px; overflow: hidden;">\r\n                                    <video preload="metadata" controls="true" class="'+
((__t=( f.getClass('messageImgs__img') ))==null?'':__t)+
'" style="height: 100%; width: 100%;">\r\n                                        <source  src="'+
((__t=( makeImageUrl(firstAttach) ))==null?'':__t)+
'" />\r\n                                    </video>\r\n                                </div>\r\n                            ';
 } else if(firstAttachType === 'invoice') { 
__p+='\r\n                                <div class="'+
((__t=( f.getClass('message__cloud') ))==null?'':__t)+
'">\r\n                                    <div class="'+
((__t=( f.getClass('message__head') ))==null?'':__t)+
'">\r\n                                        <div class="'+
((__t=( f.getClass('message__headContainer', 'spaceRightAuto') ))==null?'':__t)+
'">\r\n                                            <div class="'+
((__t=( f.getClass('message__receiptImg') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                                                '+
((__t=( f.renderBlock('icons.i_wallet') ))==null?'':__t)+
'\r\n                                            </div>\r\n                                            <h2 class="'+
((__t=( f.getClass('message__text') ))==null?'':__t)+
'">\r\n                                                Счёт\r\n                                            </h2>\r\n                                        </div>\r\n                                        \r\n                                        <!-- <a href="" class="'+
((__t=( f.getClass('resetLink', 'message__receiptStatus') ))==null?'':__t)+
'">\r\n                                            Ожидает оплаты\r\n                                        </a>\r\n                                        <a href="" class="'+
((__t=( f.getClass('resetLink', 'message__receiptStatus', 'receiptCancelled') ))==null?'':__t)+
'">\r\n                                            Отменён\r\n                                        </a>\r\n                                        <a href="" class="'+
((__t=( f.getClass('resetLink', 'message__receiptStatus', 'receiptPayed') ))==null?'':__t)+
'">\r\n                                            Оплачен\r\n                                        </a> -->\r\n                                        \r\n                                    </div>\r\n                                    <p class="'+
((__t=( f.getClass('message__text') ))==null?'':__t)+
'">\r\n                                        Название счёта\r\n                                    </p>\r\n                                    <div class="'+
((__t=( f.getClass('message__info') ))==null?'':__t)+
'">\r\n                                        <time class="'+
((__t=( f.getClass('message__subtext') ))==null?'':__t)+
'" datetime="2025-06-16T14:42">\r\n                                            14:42 16 июня 2025\r\n                                        </time>\r\n                                        <span class="'+
((__t=( f.getClass('message__subtext') ))==null?'':__t)+
'">\r\n                                            •\r\n                                        </span>\r\n                                        <p class="'+
((__t=( f.getClass('message__subtext') ))==null?'':__t)+
'">\r\n                                            Название организации/имя?\r\n                                        </p>\r\n                                    </div>\r\n                                </div>\r\n                            ';
 } else if(firstAttachType === 'audio') { 
__p+='\r\n                                \r\n                                \r\n                                <div class="'+
((__t=( f.getClass('attachAudio') ))==null?'':__t)+
'">\r\n                                    <div class="'+
((__t=( f.getClass('lessonBlockAudioControls') ))==null?'':__t)+
'">\r\n                                        <button class="'+
((__t=( f.getClass('resetBtn', 'lessonBlockAudioBtn') ))==null?'':__t)+
' mediaBlockAudioBtnPlay" aria-label="Начать/остановить проигрывание">\r\n                                            <div class="'+
((__t=( f.getClass('lessonBlockAudioImgPlay', 'iconColorMain') ))==null?'':__t)+
'" \r\n                                                style="width: 24px; min-width: 24px; height: 24px;">\r\n                                                '+
((__t=( f.renderBlock('builder.icons.i_play') ))==null?'':__t)+
'\r\n                                            </div>\r\n                                            \r\n                                            <div class="'+
((__t=( f.getClass('lessonBlockAudioImgPause', 'iconColorMain') ))==null?'':__t)+
'"\r\n                                                style="display: none; width: 24px; min-width: 24px; height: 24px;">\r\n                                                '+
((__t=( f.renderBlock('builder.icons.i_pause') ))==null?'':__t)+
'\r\n                                            </div>\r\n                                        </button>\r\n                                        <p class="'+
((__t=( f.getClass('lessonBlockAudioText', 'lessonBlockAudioCurrentTime') ))==null?'':__t)+
'">время</p>\r\n                                        <div class="'+
((__t=( f.getClass('lessonBlockAudioProgress') ))==null?'':__t)+
'">\r\n                                            <input\r\n                                                class="'+
((__t=( f.getClass('lessonBlockAudioline') ))==null?'':__t)+
' lessonBlockAudioline"\r\n                                                type="range"\r\n                                                max="100"\r\n                                                min="0"\r\n                                                defaultValue="0"\r\n                                                value="0"\r\n                                            />\r\n                                        </div>\r\n                                        <p class="'+
((__t=( f.getClass('lessonBlockAudioText', 'lessonBlockAudioTime') ))==null?'':__t)+
'">время</p>\r\n                                    </div>\r\n                                    <div class="'+
((__t=( f.getClass('attachAudio__container') ))==null?'':__t)+
'">\r\n                                        <p class="'+
((__t=( f.getClass('attachAudio__name') ))==null?'':__t)+
'">\r\n                                            Название файла\r\n                                        </p>\r\n                                        <span class="'+
((__t=( f.getClass('attachAudio__size') ))==null?'':__t)+
'">\r\n                                            10bm\r\n                                        </span>\r\n                                    </div>\r\n                                </div>\r\n                            ';
 } else { 
__p+='\r\n                                <div class="'+
((__t=( f.getClass('message__fileConteiner') ))==null?'':__t)+
'">\r\n                                    '+
((__t=( f.renderBlock('chats.attachment.file', firstAttach) ))==null?'':__t)+
'\r\n                                </div>\r\n                            ';
 } 
__p+='\r\n\r\n                        </div>\r\n                    </div>\r\n                ';
 } 
__p+='\r\n\r\n                ';
 if (data.message.text && data.message.text !== 'empty'){ 
__p+='\r\n                    <p class="'+
((__t=( f.getClass('message__text') ))==null?'':__t)+
'">\r\n                        '+
((__t=( data.message.text ))==null?'':__t)+
'\r\n                    </p>\r\n                ';
 } 
__p+='\r\n            </div>\r\n        ';
 } 
__p+='\r\n\r\n        ';
 if (isAttachment) { 
                let firstAttach = data.attachments[0];

                if (firstAttach.data !== undefined){
                    firstAttach = {
                        ...firstAttach,
                        ...firstAttach.data,
                        data: void 0
                    }
                }

                const firstAttachType = firstAttach.content_type.split('/')[0];
            
__p+='\r\n            <div class="'+
((__t=( f.getClass('message__imgContainer', 'messageImgs') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('messageImgs__main') ))==null?'':__t)+
'">\r\n                    ';
 if (firstAttachType === 'image') { 
__p+='\r\n                        <div class="'+
((__t=( f.getClass('messageImgs__imgContainer') ))==null?'':__t)+
'" style="width: 100%; height: 422px; overflow: hidden;">\r\n                            <img class="'+
((__t=( f.getClass('messageImgs__img') ))==null?'':__t)+
'" src="'+
((__t=( makeImageUrl(firstAttach) ))==null?'':__t)+
'" alt="" style="height: 100%;">\r\n                        </div>\r\n                    ';
 } else if(firstAttachType === 'video') { 
__p+='\r\n                        <div class="'+
((__t=( f.getClass('messageImgs__imgContainer') ))==null?'':__t)+
'" style="width: 100%; height: 422px; overflow: hidden;">\r\n                            <video preload="metadata" controls="true" class="'+
((__t=( f.getClass('messageImgs__img') ))==null?'':__t)+
'" style="height: 100%; width: 100%;">\r\n                                <source  src="'+
((__t=( makeImageUrl(firstAttach) ))==null?'':__t)+
'" />\r\n                            </video>\r\n                        </div>\r\n                    ';
 } else if(firstAttachType === 'invoice') { 
__p+='\r\n                        <div class="'+
((__t=( f.getClass('message__cloud') ))==null?'':__t)+
'">\r\n                            <div class="'+
((__t=( f.getClass('message__head') ))==null?'':__t)+
'">\r\n                                <div class="'+
((__t=( f.getClass('message__headContainer', 'spaceRightAuto') ))==null?'':__t)+
'">\r\n                                    <div class="'+
((__t=( f.getClass('message__receiptImg') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                                        '+
((__t=( f.renderBlock('icons.i_wallet') ))==null?'':__t)+
'\r\n                                    </div>\r\n                                    <h2 class="'+
((__t=( f.getClass('message__text') ))==null?'':__t)+
'">\r\n                                        Счёт\r\n                                    </h2>\r\n                                </div>\r\n                                \r\n                                <!-- <a href="" class="'+
((__t=( f.getClass('resetLink', 'message__receiptStatus') ))==null?'':__t)+
'">\r\n                                    Ожидает оплаты\r\n                                </a>\r\n                                <a href="" class="'+
((__t=( f.getClass('resetLink', 'message__receiptStatus', 'receiptCancelled') ))==null?'':__t)+
'">\r\n                                    Отменён\r\n                                </a>\r\n                                <a href="" class="'+
((__t=( f.getClass('resetLink', 'message__receiptStatus', 'receiptPayed') ))==null?'':__t)+
'">\r\n                                    Оплачен\r\n                                </a> -->\r\n                                \r\n                            </div>\r\n                            <p class="'+
((__t=( f.getClass('message__text') ))==null?'':__t)+
'">\r\n                                Название счёта\r\n                            </p>\r\n                            <div class="'+
((__t=( f.getClass('message__info') ))==null?'':__t)+
'">\r\n                                <time class="'+
((__t=( f.getClass('message__subtext') ))==null?'':__t)+
'" datetime="2025-06-16T14:42">\r\n                                    14:42 16 июня 2025\r\n                                </time>\r\n                                <span class="'+
((__t=( f.getClass('message__subtext') ))==null?'':__t)+
'">\r\n                                    •\r\n                                </span>\r\n                                <p class="'+
((__t=( f.getClass('message__subtext') ))==null?'':__t)+
'">\r\n                                    Название организации/имя?\r\n                                </p>\r\n                            </div>\r\n                        </div>\r\n                    ';
 } else if(firstAttachType === 'audio') { 
__p+='\r\n                        \r\n                        \r\n                        <div class="'+
((__t=( f.getClass('attachAudio') ))==null?'':__t)+
'">\r\n                            <div class="'+
((__t=( f.getClass('lessonBlockAudioControls') ))==null?'':__t)+
'">\r\n                                <button class="'+
((__t=( f.getClass('resetBtn', 'lessonBlockAudioBtn') ))==null?'':__t)+
' mediaBlockAudioBtnPlay" aria-label="Начать/остановить проигрывание">\r\n                                    <div class="'+
((__t=( f.getClass('lessonBlockAudioImgPlay', 'iconColorMain') ))==null?'':__t)+
'" \r\n                                        style="width: 24px; min-width: 24px; height: 24px;">\r\n                                        '+
((__t=( f.renderBlock('builder.icons.i_play') ))==null?'':__t)+
'\r\n                                    </div>\r\n                                    \r\n                                    <div class="'+
((__t=( f.getClass('lessonBlockAudioImgPause', 'iconColorMain') ))==null?'':__t)+
'"\r\n                                        style="display: none; width: 24px; min-width: 24px; height: 24px;">\r\n                                        '+
((__t=( f.renderBlock('builder.icons.i_pause') ))==null?'':__t)+
'\r\n                                    </div>\r\n                                </button>\r\n                                <p class="'+
((__t=( f.getClass('lessonBlockAudioText', 'lessonBlockAudioCurrentTime') ))==null?'':__t)+
'">время</p>\r\n                                <div class="'+
((__t=( f.getClass('lessonBlockAudioProgress') ))==null?'':__t)+
'">\r\n                                    <input\r\n                                        class="'+
((__t=( f.getClass('lessonBlockAudioline') ))==null?'':__t)+
' lessonBlockAudioline"\r\n                                        type="range"\r\n                                        max="100"\r\n                                        min="0"\r\n                                        defaultValue="0"\r\n                                        value="0"\r\n                                    />\r\n                                </div>\r\n                                <p class="'+
((__t=( f.getClass('lessonBlockAudioText', 'lessonBlockAudioTime') ))==null?'':__t)+
'">время</p>\r\n                            </div>\r\n                            <div class="'+
((__t=( f.getClass('attachAudio__container') ))==null?'':__t)+
'">\r\n                                <p class="'+
((__t=( f.getClass('attachAudio__name') ))==null?'':__t)+
'">\r\n                                    Название файла\r\n                                </p>\r\n                                <span class="'+
((__t=( f.getClass('attachAudio__size') ))==null?'':__t)+
'">\r\n                                    10bm\r\n                                </span>\r\n                            </div>\r\n                        </div>\r\n                    ';
 } else { 
__p+='\r\n                        <div class="'+
((__t=( f.getClass('message__fileConteiner') ))==null?'':__t)+
'">\r\n                            '+
((__t=( f.renderBlock('chats.attachment.file', firstAttach) ))==null?'':__t)+
'\r\n                        </div>\r\n                    ';
 } 
__p+='\r\n                </div>\r\n            </div>\r\n        ';
 } 
__p+='\r\n\r\n        ';
 if (data.text && data.text !== 'empty') { 
__p+='\r\n            ';
 if (data.editIndex === messageId){ 
__p+='\r\n                <div class="'+
((__t=( f.getClass('message__textContainer') ))==null?'':__t)+
'">\r\n                    <textarea '+
((__t=( e.ref(`inpText_${messageId}`) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('message__text', 'messageInput') ))==null?'':__t)+
' scrollBar" name="" id="">'+
((__t=( replaceUrlsWithLinks(data.text) ))==null?'':__t)+
'</textarea>\r\n                </div>\r\n            ';
 } else { 
__p+='\r\n                <div class="'+
((__t=( f.getClass('message__textContainer') ))==null?'':__t)+
'">\r\n                    <p class="'+
((__t=( f.getClass('message__text') ))==null?'':__t)+
'">\r\n                        '+
((__t=( replaceUrlsWithLinks(data.text) ))==null?'':__t)+
'\r\n                    </p>\r\n                </div>\r\n            ';
 } 
__p+='\r\n        ';
 } 
__p+='\r\n        <div class="'+
((__t=( f.getClass('message__container') ))==null?'':__t)+
'">\r\n\r\n            <div class="'+
((__t=( f.getClass('message__info') ))==null?'':__t)+
'">\r\n                <time class="'+
((__t=( f.getClass('message__subtext') ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(data.created_at).locale(context.locale).format('YYYY-MM-DDTHH:mm') ))==null?'':__t)+
'">\r\n                    '+
((__t=( utils.moment(data.created_at).locale(context.locale).format('HH:mm D MMMM YYYY') ))==null?'':__t)+
'\r\n                </time>\r\n                ';
 if (data.usr_id) { 
__p+='\r\n                    <span class="'+
((__t=( f.getClass('message__subtext') ))==null?'':__t)+
'">\r\n                        •\r\n                    </span>\r\n                    <p class="'+
((__t=( f.getClass('message__subtext') ))==null?'':__t)+
'">\r\n                        '+
((__t=( data.first_name ))==null?'':__t)+
' '+
((__t=( data.last_name ))==null?'':__t)+
'\r\n                    </p>\r\n                ';
 } 
__p+='\r\n\r\n\r\n                ';
 if (MSGStatus.prototype.isRemoved(data.status)) {
__p+='\r\n                    <p class="'+
((__t=( f.getClass('message__subtext__removed') ))==null?'':__t)+
'">\r\n                        Сообщение удалено\r\n                    </p>\r\n                ';
 } 
__p+='\r\n            </div>\r\n            \r\n            ';
 if (data.with_out_actions !== true){  
__p+='\r\n                <div class="'+
((__t=( f.getClass('message__checkInfo') ))==null?'':__t)+
'">\r\n                    ';
 if (data.usr_id && data.usr_id === context.options._id && !MSGStatus.prototype.isRemoved(data.status)){ 
__p+='\r\n                        <div class="'+
((__t=( f.getClass('message__addRequest') ))==null?'':__t)+
' chatOperator__messageRequest">\r\n                            <button '+
((__t=( e.click('makeAnswer') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'btnIcon', 'colorSecond', 'message__btnEdit') ))==null?'':__t)+
'" style="min-width: 24px; height: 24px; width: 24px;" aria-label="Ответить">\r\n                                '+
((__t=( f.renderBlock('icons.i_arrow-bend-up-left') ))==null?'':__t)+
'\r\n                            </button>\r\n                            ';
 if (data.editIndex === messageId){ 
__p+='\r\n                                <button '+
((__t=( e.click('acceptText', {messageId: messageId, attachments: data.attachments, status: data.status}) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'btnIcon', 'colorSecond', 'message__btnEdit') ))==null?'':__t)+
' chatOperator__messageRequest" style="min-width: 24px; height: 24px; width: 24px;" aria-label="Принять изменения">\r\n                                    '+
((__t=( f.renderBlock('icons.i_check') ))==null?'':__t)+
'\r\n                                </button>\r\n                                <button '+
((__t=( e.click('cancelEdit') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'btnIcon', 'colorSecond', 'message__btnEdit') ))==null?'':__t)+
' chatOperator__messageRequest" style="min-width: 24px; height: 24px; width: 24px;" aria-label="Отменить">\r\n                                    '+
((__t=( f.renderBlock('icons.i_x') ))==null?'':__t)+
'\r\n                                </button>\r\n                            ';
 } else { 
__p+='\r\n                                <button '+
((__t=( e.click('editText', messageId) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'btnIcon', 'colorSecond', 'message__btnEdit') ))==null?'':__t)+
' chatOperator__messageRequest" style="min-width: 24px; height: 24px; width: 24px;" aria-label="Редактировать">\r\n                                    '+
((__t=( f.renderBlock('icons.i_pen') ))==null?'':__t)+
'\r\n                                </button>\r\n                            ';
 } 
__p+='\r\n                            \r\n                            <button '+
((__t=( e.click('remove') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'btnIcon', 'colorDanger', 'message__btnEdit') ))==null?'':__t)+
'" style="min-width: 24px; height: 24px; width: 24px;" aria-label="Удалить">\r\n                                '+
((__t=( f.renderBlock('icons.i_wastebasket') ))==null?'':__t)+
'\r\n                            </button>\r\n                        </div>\r\n                    ';
 } 
__p+='\r\n                    \r\n                    ';
 if (data.usr_id){ 
__p+='\r\n                        <div class="'+
((__t=( f.getClass('message__status') ))==null?'':__t)+
'">\r\n                            \r\n                            ';
 if ( MSGStatus.prototype.isRead(data.status)) { 
__p+='\r\n                            <div class="'+
((__t=( f.getClass('message__chack', 'shiftRight') ))==null?'':__t)+
'" style="width: 20px; height: 20px; min-width: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_check-chat') ))==null?'':__t)+
'\r\n                            </div>\r\n                            ';
 } 
__p+='\r\n                            \r\n                            ';
 if (MSGStatus.prototype.isReceived(data.status)) { 
__p+='\r\n                                <div class="'+
((__t=( f.getClass('message__chack') ))==null?'':__t)+
'" style="width: 20px; height: 20px; min-width: 20px;">\r\n                                    '+
((__t=( f.renderBlock('icons.i_check-chat') ))==null?'':__t)+
'\r\n                                </div>\r\n                            ';
 } 
__p+='\r\n                        </div>\r\n                    ';
 } 
__p+='\r\n                    \r\n                    ';
 if (!data.usr_id && !MSGStatus.prototype.isRemoved(data.status)){ 
__p+='\r\n                        <div class="'+
((__t=( f.getClass('message__addRequest') ))==null?'':__t)+
'">\r\n                            ';
 if (!isAttachment) { 
__p+='\r\n                                <button '+
((__t=( e.click('createRequest') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnNeutral', 'customHeight20') ))==null?'':__t)+
'">\r\n                                    Создать запрос\r\n                                </button>\r\n                            ';
 } 
__p+='\r\n                            <button '+
((__t=( e.click('makeAnswer') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'btnIcon', 'colorSecond', 'message__btnEdit') ))==null?'':__t)+
'" style="min-width: 24px; height: 24px; width: 24px;" aria-label="Ответить">\r\n                                '+
((__t=( f.renderBlock('icons.i_arrow-bend-up-left') ))==null?'':__t)+
'\r\n                            </button>\r\n                        </div>\r\n                    ';
 } 
__p+='\r\n                </div>\r\n            ';
 } 
__p+='\r\n\r\n        </div>\r\n    </div>\r\n</div>  ';
}
return __p;
}
window.renderBlocks['blocks-chats.messageList.list'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';
 
for (let index = 0; index < (data.data || []).length; index++) { 
    const msg = data.data[index];
    const prevMsg = data.data[index - 1] || data.prevMsg;
    let d = 0;

    let insertLineBefore = false;

    if (prevMsg) {        
        if (msg.usr_id !== undefined && prevMsg.usr_id == undefined) {
            insertLineBefore = true;
        }

        if (msg.usr_id === undefined && prevMsg.usr_id !== undefined) {
            insertLineBefore = true;
        }

        d =  utils.moment(msg.created_at).diff(utils.moment(prevMsg.created_at), 'days');
    }


__p+='\r\n\r\n    ';
 if (insertLineBefore){  
__p+='\r\n        <div style="height:12px"></div>\r\n    ';
 } 
__p+='\r\n\r\n    ';
 if (msg.type === 'text') { 
__p+='\r\n        <div msg-id="'+
((__t=(msg._id))==null?'':__t)+
'" class="'+
((__t=( f.getClass('messageList__item') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock('chats.message', {...msg}) ))==null?'':__t)+
'\r\n        </div> \r\n    ';
 } else if (msg.type === 'request') { 
__p+='\r\n        <div msg-id="'+
((__t=(msg._id))==null?'':__t)+
'" class="'+
((__t=( f.getClass('messageList__item') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock('chats.request', {...msg}) ))==null?'':__t)+
'\r\n        </div> \r\n    ';
 } else if (msg.type === "attachment") { 
__p+='\r\n        <div msg-id="'+
((__t=(msg._id))==null?'':__t)+
'" class="'+
((__t=( f.getClass('messageList__item') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock('chats.message', {...msg}) ))==null?'':__t)+
'\r\n        </div> \r\n    ';
 } else if (msg.type === 'start_session') { 
__p+='\r\n        <div s-id="'+
((__t=(msg._id))==null?'':__t)+
'" class="'+
((__t=( f.getClass('messageList__item') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock('chats.sessionStatus', {...msg}) ))==null?'':__t)+
'\r\n        </div>\r\n    ';
 }  else if (msg.type === 'finish_session') { 
__p+='\r\n        <div s-id="'+
((__t=(msg._id))==null?'':__t)+
'" class="'+
((__t=( f.getClass('messageList__item') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock('chats.sessionStatus', {...msg}) ))==null?'':__t)+
'\r\n        </div> \r\n    ';
 } 
__p+='\r\n\r\n    \r\n    ';
 if (d > 0){ 
__p+='\r\n        <time class="'+
((__t=( f.getClass('chatScroll__time') ))==null?'':__t)+
'" datetime="2024-09-21">\r\n            '+
((__t=( utils.moment(msg.created_at).format('DD MMMM') ))==null?'':__t)+
'\r\n        </time>\r\n    ';
 } 
__p+='\r\n\r\n\r\n';
 } 
__p+=' ';
}
return __p;
}
window.renderBlocks['blocks-chats.messageList'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='\r\n\r\n';
 if ( data.data && (data.data).length === 0){ 
__p+='\r\n    <p class="'+
((__t=( f.getClass('chat__noMessage') ))==null?'':__t)+
'">\r\n        Сообщений нет\r\n    </p>\r\n';
 } else if (data.data === undefined){ 
__p+='\r\n    <p class="'+
((__t=( f.getClass('chat__noMessage') ))==null?'':__t)+
'">\r\n        Инициализация\r\n    </p>\r\n';
 } 
__p+='\r\n\r\n<div '+
((__t=( e.ref('body') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('chatScroll') ))==null?'':__t)+
' scrollBar">\r\n    <div class="'+
((__t=( f.getClass('chatScroll__container') ))==null?'':__t)+
' chatOperator__scrollContainer">\r\n        <button '+
((__t=( e.ref('end')))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnAgree') ))==null?'':__t)+
'">\r\n            Загрузить предыдущие\r\n        </button>\r\n\r\n        <div class="'+
((__t=( f.getClass('messageList') ))==null?'':__t)+
'">\r\n            <div  class="'+
((__t=( f.getClass('resetList', 'messageList__list') ))==null?'':__t)+
'" '+
((__t=( e.ref('container') ))==null?'':__t)+
'>\r\n                '+
((__t=( f.renderBlock('chats.messageList.list', data) ))==null?'':__t)+
'\r\n            </div>\r\n        </div>\r\n    </div>\r\n</div>\r\n\r\n\r\n<div class="'+
((__t=( f.getClass('chatMain__gradient') ))==null?'':__t)+
'">\r\n</div>\r\n\r\n\r\n<!-- \r\nrenderBlock(\'chats.messageStatus\')\r\nrenderBlock(\'chats.sessionStatus\')\r\n -->';
}
return __p;
}
window.renderBlocks['blocks-chats.request'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';

const parseRequest = ({request}) => {
    if (!request?.template)
        return request.text;
  const arr = request?.template?.split(/{(.+?)}/g);
  return arr?.map(key => {
    if (request?.payload && request?.payload[key]) {
      return `<b>${request.payload[key]}</b>`;
    } else {
      return key;
    }
  }).join(' ');
};

__p+='\r\n\r\n';

    const isActive = data.request.completed === false;

__p+='\r\n\r\n\r\n<div class="'+
((__t=( f.getClass('message') ))==null?'':__t)+
'">\r\n    \r\n    <div class="'+
((__t=( f.getClass('message__cloud', isActive && 'messageActive', 'messageCloudFocus') ))==null?'':__t)+
' focus-body" tabindex="0">\r\n        <div class="'+
((__t=( f.getClass('message__head') ))==null?'':__t)+
'">\r\n            <h2 class="'+
((__t=( f.getClass('message__titel', 'messageActive__color') ))==null?'':__t)+
'">\r\n                Запрос\r\n            </h2>\r\n            <a href="/requests/'+
((__t=( data.request._id ))==null?'':__t)+
'" class="'+
((__t=( f.getClass('message__statusContainer') ))==null?'':__t)+
'">\r\n\r\n                ';
 if (data.request.canceled === false && data.request.completed === false && data.request.confirmed === false) { 
__p+='\r\n                    <div class="'+
((__t=( f.getClass('btnTake') ))==null?'':__t)+
'">\r\n                        Взять в работу\r\n                    </div>  \r\n                ';
 } else { 
__p+='\r\n                        <div class="'+
((__t=( f.getClass('message__status') ))==null?'':__t)+
'">\r\n                            <span class="'+
((__t=( f.getClass('message__statusText') ))==null?'':__t)+
'">\r\n                                ';
 if (data.request.canceled) {
__p+='\r\n                                    Отменен\r\n                                ';
 } else if (data.request.confirmed){ 
__p+='\r\n                                    В работе\r\n                                ';
 } else { 
__p+='\r\n                                    Выполнен\r\n                                ';
 } 
__p+='\r\n                            </span>\r\n                            <div class="'+
((__t=( f.getClass('message__chack') ))==null?'':__t)+
'" style="width: 20px; height: 20px; min-width: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_check-chat') ))==null?'':__t)+
'\r\n                            </div>\r\n                        </div>\r\n                    ';
 } 
__p+='\r\n\r\n            </a>\r\n        </div>\r\n        ';
 if ( data.text && data.text != 'empty' ) { 
__p+='\r\n            <p class="'+
((__t=( f.getClass('message__text', 'messageActive__color', 'marginBottom4') ))==null?'':__t)+
'">\r\n                '+
((__t=( data.text ))==null?'':__t)+
'\r\n            </p>\r\n        ';
 } 
__p+='\r\n        <p class="'+
((__t=( f.getClass('message__text', 'messageActive__color') ))==null?'':__t)+
'">\r\n            '+
((__t=( parseRequest(data) ))==null?'':__t)+
'\r\n        </p>\r\n        <div class="'+
((__t=( f.getClass('message__container') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('message__info') ))==null?'':__t)+
'">\r\n                <time class="'+
((__t=( f.getClass('message__subtext', 'messageActive__color') ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(data.created_at).locale(context.locale).format('YYYY-MM-DDTHH:mm') ))==null?'':__t)+
'">\r\n                    '+
((__t=( utils.moment(data.created_at).locale(context.locale).format('HH:mm D MMMM YYYY') ))==null?'':__t)+
'\r\n                </time>\r\n              <!--  <span class="'+
((__t=( f.getClass('message__subtext', 'messageActive__color') ))==null?'':__t)+
'">\r\n                    •\r\n                </span>\r\n                <p class="'+
((__t=( f.getClass('message__subtext', 'messageActive__color') ))==null?'':__t)+
'">\r\n                    Сорокин Денис\r\n                </p> -->\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('message__addRequest') ))==null?'':__t)+
' chatOperator__messageRequest">\r\n                <button '+
((__t=( e.click('makeAnswer') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'btnIcon', 'colorWhite', 'message__btnEdit') ))==null?'':__t)+
'" style="min-width: 24px; height: 24px; width: 24px;" aria-label="Ответить">\r\n                    '+
((__t=( f.renderBlock('icons.i_arrow-bend-up-left') ))==null?'':__t)+
'\r\n                </button>\r\n            </div>\r\n        </div>\r\n    </div>\r\n</div>  ';
}
return __p;
}
window.renderBlocks['blocks-chats.sessionStatus'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='\r\n<div class="'+
((__t=( f.getClass('chatScroll__session', 'chatSession', data.type === 'finish_session' &&  'chatSessionEnd') ))==null?'':__t)+
'">\r\n    <p class="'+
((__t=( f.getClass('chatSession__textBold') ))==null?'':__t)+
'">\r\n        '+
((__t=(  data.type === 'finish_session' ? 'Сессия закрыта' : 'Сессия открыта' ))==null?'':__t)+
'\r\n    </p>\r\n    <div class="'+
((__t=( f.getClass('chatSession__line') ))==null?'':__t)+
'">\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('chatSession__container') ))==null?'':__t)+
'">\r\n        <time class="'+
((__t=( f.getClass('chatSession__text') ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(data.received_at).locale(context.locale).format('YYYY-MM-DDTHH:mm') ))==null?'':__t)+
'">\r\n            '+
((__t=( utils.moment(data.received_at).locale(context.locale).format('HH:mm D MMMM YYYY') ))==null?'':__t)+
' \r\n        </time>\r\n        <span class="'+
((__t=( f.getClass('chatSession__text') ))==null?'':__t)+
'">\r\n            •\r\n        </span>\r\n        <p class="'+
((__t=( f.getClass('chatSession__text') ))==null?'':__t)+
'">\r\n            '+
((__t=( data.first_name ))==null?'':__t)+
' '+
((__t=( data.last_name ))==null?'':__t)+
'\r\n        </p>\r\n    </div>\r\n</div>\r\n';
}
return __p;
}
window.renderBlocks['blocks-chats.tabChat'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<nav class="'+
((__t=( f.getClass('tabNav') ))==null?'':__t)+
' tabChat">\r\n    <ul class="'+
((__t=( f.getClass('resetList', 'tabListNav') ))==null?'':__t)+
' tabChat__list">\r\n        ';
 for (let item of data.items) { 
            const selected = (item.variant && Array.isArray(item.variant)) ? item.variant.includes(data.selected) :  data.selected === item.value;
            
__p+='\r\n            <li class="'+
((__t=( f.getClass('tabNavItem') ))==null?'':__t)+
' tabChat__item">\r\n                <button '+
((__t=( e.click('change', item) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'tabNavBtn', selected && 'tabNavBtnActiv') ))==null?'':__t)+
' tabChat__btn">\r\n                    <div class="'+
((__t=( f.getClass('tabNav__bigContent') ))==null?'':__t)+
' tabChat__btnBig">\r\n                        '+
((__t=( item.title ))==null?'':__t)+
'\r\n                    </div>\r\n                    <div class="'+
((__t=( f.getClass('tabNavItem__smallContent') ))==null?'':__t)+
' tabChat__btnSmall">\r\n                        <!-- чат - icons.i_message-square-two\r\n                        Заметки - icons.i_page\r\n                        Запросы - icons.i_users\r\n                        Информация - i_message-square-two\r\n                        Сессии -icons.i_clock -->\r\n                        <div class="'+
((__t=( f.getClass('tabNav__imgBlock') ))==null?'':__t)+
'" style="width: 20px; min-width: 20px; height: 20px;">\r\n                            '+
((__t=( f.renderBlock(item.icon) ))==null?'':__t)+
'\r\n                        </div>\r\n                        <p class="'+
((__t=( f.getClass('chatMainMenuWrap__lable') ))==null?'':__t)+
'">\r\n                            '+
((__t=( item.title ))==null?'':__t)+
'\r\n                        </p>\r\n                    </div>\r\n                </button>\r\n            </li>\r\n        ';
 } 
__p+='\r\n    </ul>\r\n</nav>';
}
return __p;
}
window.renderBlocks['blocks-checkInputs.checkBox'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='\r\n<div class="'+
((__t=( f.getClass('checkboxContainer') ))==null?'':__t)+
'">\r\n    <label class="'+
((__t=( f.getClass('drawFLable', 'checkbox') ))==null?'':__t)+
' checkbox">\r\n        <input \r\n            '+
((__t=( data.click ? data.click : '' ))==null?'':__t)+
' \r\n            '+
((__t=( data.ref ? data.ref : '' ))==null?'':__t)+
' \r\n            class="'+
((__t=( f.getClass('drawFCheckbox', 'checkboxInput') ))==null?'':__t)+
' checkboxInput" \r\n            type="Checkbox" \r\n            '+
((__t=( data.value ? 'checked': '' ))==null?'':__t)+
'\r\n        >\r\n        \r\n        \r\n        <p class="'+
((__t=( f.getClass('drawFItemText', 'checkboxText') ))==null?'':__t)+
' checkboxText">'+
((__t=( data.label ))==null?'':__t)+
'</p>\r\n    </label>\r\n    ';
 if( data.subtext ) { 
__p+='\r\n        <span class="'+
((__t=( f.getClass('checkboxSubtext') ))==null?'':__t)+
'">\r\n            '+
((__t=( data.subtext ))==null?'':__t)+
'\r\n        </span>\r\n    ';
 } 
__p+='\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-checkInputs.checkRadio'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<label class="'+
((__t=( f.getClass('drawFLable', 'checkRadio') ))==null?'':__t)+
' checkRadio">\r\n    <input class="'+
((__t=( f.getClass('drawFCheckRadio', 'checkRadioInput') ))==null?'':__t)+
' checkRadioInput" type="radio" name="">\r\n    \r\n    <p class="'+
((__t=( f.getClass('drawFItemText', 'checkRadioText') ))==null?'':__t)+
' checkRadioText">Чекбокс</p>\r\n</label>';
}
return __p;
}
window.renderBlocks['blocks-checkInputs.checkToggle'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('checkToggleMain') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('checkToggleMain__wrapper') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('checkToggleMain__bgBase') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('checkToggleMain__bg') ))==null?'':__t)+
'">\r\n            </div>\r\n        </div>\r\n        <label class="'+
((__t=( f.getClass('checkToggle') ))==null?'':__t)+
' checkToggle">\r\n            <input \r\n                '+
((__t=( data.click ? data.click[0]( data.click[1], data.click[2]) : '' ))==null?'':__t)+
'\r\n                '+
((__t=( data.id && `id="${data.id}"` ))==null?'':__t)+
'  \r\n                '+
((__t=( data.name && `name="${data.name}"` ))==null?'':__t)+
'  \r\n                '+
((__t=( data.checked && "checked" ))==null?'':__t)+
' \r\n                '+
((__t=( data.ref ? data.ref : '' ))==null?'':__t)+
'     \r\n                '+
((__t=( data.disabled && 'disabled' ))==null?'':__t)+
'\r\n                '+
((__t=( data.value && `value="${data.value}"` ))==null?'':__t)+
'  \r\n                class="'+
((__t=( f.getClass('checkToggleInput') ))==null?'':__t)+
' checkToggleInput" type="checkbox">\r\n            <p class="'+
((__t=( f.getClass('checkToggleText') ))==null?'':__t)+
' checkToggleText">'+
((__t=( data.label || 'Название свича' ))==null?'':__t)+
'</p>\r\n        </label>\r\n    </div>\r\n    ';
 if ( data.description ) { 
__p+='\r\n        <p class="'+
((__t=( f.getClass('checkToggleMain__subtext') ))==null?'':__t)+
'">\r\n            '+
((__t=( data.description ))==null?'':__t)+
'\r\n        </p>\r\n    ';
 } 
__p+='\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-clients.addClient'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('addClient') ))==null?'':__t)+
'">\r\n    \r\n    <div class="'+
((__t=( f.getClass('addClient__scroll') ))==null?'':__t)+
' scrollBar">\r\n        <div class="'+
((__t=( f.getClass('addClient__content') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('addClient__section') ))==null?'':__t)+
'">\r\n                <h2 class="'+
((__t=( f.getClass('addClient__title') ))==null?'':__t)+
'">\r\n                    Информация о клиенте\r\n                </h2>\r\n                <div class="'+
((__t=( f.getClass('addClient__container') ))==null?'':__t)+
'">\r\n                    <label class="'+
((__t=( f.getClass('addClient__item') ))==null?'':__t)+
'">\r\n                        <h3 class="'+
((__t=( f.getClass('addClient__subtitle') ))==null?'':__t)+
'">\r\n                            Имя\r\n                        </h3>\r\n                        <input class="'+
((__t=( f.getClass('input48', 'input-small') ))==null?'':__t)+
'" placeholder="Test" name="" id="" type="text">\r\n                    </label>\r\n                    <label class="'+
((__t=( f.getClass('addClient__item') ))==null?'':__t)+
'">\r\n                        <h3 class="'+
((__t=( f.getClass('addClient__subtitle') ))==null?'':__t)+
'">\r\n                            Фамилия\r\n                        </h3>\r\n                        <input class="'+
((__t=( f.getClass('input48', 'input-small') ))==null?'':__t)+
'" placeholder="Test" name="" id="" type="text">\r\n                    </label>\r\n                </div>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('addClient__section') ))==null?'':__t)+
'">\r\n                <h2 class="'+
((__t=( f.getClass('addClient__title') ))==null?'':__t)+
'">\r\n                    Контактная информация\r\n                </h2>\r\n                <div class="'+
((__t=( f.getClass('addClient__container') ))==null?'':__t)+
'">\r\n                    <label class="'+
((__t=( f.getClass('addClient__item') ))==null?'':__t)+
'">\r\n                        <h3 class="'+
((__t=( f.getClass('addClient__subtitle') ))==null?'':__t)+
'">\r\n                            Номер телефона\r\n                        </h3>\r\n                        <input class="'+
((__t=( f.getClass('input48', 'input-small') ))==null?'':__t)+
'" placeholder="Test" name="" id="" type="tel">\r\n                    </label>\r\n                    <label class="'+
((__t=( f.getClass('addClient__item') ))==null?'':__t)+
'">\r\n                        <h3 class="'+
((__t=( f.getClass('addClient__subtitle') ))==null?'':__t)+
'">\r\n                            Электронная почта\r\n                        </h3>\r\n                        <input class="'+
((__t=( f.getClass('input48', 'input-small') ))==null?'':__t)+
'" placeholder="Test" name="" id="" type="email">\r\n                    </label>\r\n                </div>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('addClient__section') ))==null?'':__t)+
'">\r\n                <h2 class="'+
((__t=( f.getClass('addClient__title') ))==null?'':__t)+
'">\r\n                    Предпочтительный способ связи\r\n                </h2>\r\n                <ul class="'+
((__t=( f.getClass('resetList', 'addClient__tabList') ))==null?'':__t)+
'">\r\n                    <li class="'+
((__t=( f.getClass('addClient__tabItem') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('addClient__toggle', 'spaceBottm40') ))==null?'':__t)+
'">\r\n                            '+
((__t=( f.renderBlock('checkInputs.checkBox') ))==null?'':__t)+
'\r\n                        </div>\r\n                    </li>\r\n                    <li class="'+
((__t=( f.getClass('addClient__tabItem') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('addClient__toggle', 'spaceBottm40') ))==null?'':__t)+
'">\r\n                            '+
((__t=( f.renderBlock('checkInputs.checkBox') ))==null?'':__t)+
'\r\n                        </div>\r\n                    </li>\r\n                    <li class="'+
((__t=( f.getClass('addClient__tabItem') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('addClient__toggle', 'spaceBottm40') ))==null?'':__t)+
'">\r\n                            '+
((__t=( f.renderBlock('checkInputs.checkBox') ))==null?'':__t)+
'\r\n                        </div>\r\n                    </li>\r\n                    <li class="'+
((__t=( f.getClass('addClient__tabItem') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('addClient__toggle', 'spaceBottm40') ))==null?'':__t)+
'">\r\n                            '+
((__t=( f.renderBlock('checkInputs.checkBox') ))==null?'':__t)+
'\r\n                        </div>\r\n                    </li>\r\n                    <li class="'+
((__t=( f.getClass('addClient__tabItem') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('addClient__toggle', 'spaceBottm40') ))==null?'':__t)+
'">\r\n                            '+
((__t=( f.renderBlock('checkInputs.checkBox') ))==null?'':__t)+
'\r\n                        </div>\r\n                    </li>\r\n                    <li class="'+
((__t=( f.getClass('addClient__tabItem') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('addClient__toggle', 'spaceBottm40') ))==null?'':__t)+
'">\r\n                            '+
((__t=( f.renderBlock('checkInputs.checkBox') ))==null?'':__t)+
'\r\n                        </div>\r\n                    </li>\r\n                </ul>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('addClient__section') ))==null?'':__t)+
'">\r\n                <h2 class="'+
((__t=( f.getClass('addClient__title') ))==null?'':__t)+
'">\r\n                    Помощник\r\n                </h2>\r\n                <div class="'+
((__t=( f.getClass('addClient__toggle', 'spaceBottm40') ))==null?'':__t)+
'">\r\n                    '+
((__t=( f.renderBlock('checkInputs.checkToggle') ))==null?'':__t)+
'\r\n                    <label class="'+
((__t=( f.getClass('addClient__item', 'spaceBottm40') ))==null?'':__t)+
'">\r\n                        <h3 class="'+
((__t=( f.getClass('addClient__subtitle') ))==null?'':__t)+
'">\r\n                            Выберите клиента\r\n                        </h3>\r\n                        <input class="'+
((__t=( f.getClass('input48', 'input-small') ))==null?'':__t)+
'" placeholder="Test" name="" id="" type="text">\r\n                    </label>\r\n                </div>\r\n                <label class="'+
((__t=( f.getClass('addClient__item', 'spaceBottm40') ))==null?'':__t)+
'">\r\n                    <h3 class="'+
((__t=( f.getClass('addClient__subtitle') ))==null?'':__t)+
'">\r\n                        Статус\r\n                    </h3>\r\n                    <div class="'+
((__t=( f.getClass('addClient__select') ))==null?'':__t)+
'">\r\n                        '+
((__t=( f.renderBlock('select_50',{
                            key:'type',
                            default:'',
                            selected:query.type,
                            items: [
                                {name:'Бронза',value:'bronze'},
                                {name:'Серебро',value:'silver'},
                                {name:'Золото',value:'gold'}
                            ]
                        }) ))==null?'':__t)+
'\r\n                    </div>\r\n                </label>\r\n                <div class="'+
((__t=( f.getClass('addClient__item', 'spaceBottm40') ))==null?'':__t)+
'">\r\n                    <h3 class="'+
((__t=( f.getClass('addClient__subtitle') ))==null?'':__t)+
'">\r\n                        Срок действия\r\n                    </h3>\r\n                    <input class="'+
((__t=( f.getClass('input48') ))==null?'':__t)+
'" placeholder="Введите текст" type="date">\r\n                </div>\r\n                <div class="'+
((__t=( f.getClass('addClient__item', 'spaceBottm40') ))==null?'':__t)+
'">\r\n                    <h3 class="'+
((__t=( f.getClass('addClient__subtitle') ))==null?'':__t)+
'">\r\n                        Добавить заметку\r\n                    </h3>\r\n                    <textarea class="'+
((__t=( f.getClass('addClient__inputBig', 'input48') ))==null?'':__t)+
'" placeholder="Введите текст"></textarea>\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('addClient__menu', 'addClientMenu') ))==null?'':__t)+
'">\r\n        \r\n        <button class="'+
((__t=( f.getClass('btn-danger') ))==null?'':__t)+
'">\r\n            Удалить\r\n        </button>\r\n        <ul class="'+
((__t=( f.getClass('resetList', 'addClientMenu__list') ))==null?'':__t)+
'">\r\n            <li class="'+
((__t=( f.getClass('addClientMenu__item') ))==null?'':__t)+
'">\r\n                <button class="'+
((__t=( f.getClass('btn-empty') ))==null?'':__t)+
'">\r\n                    Отмена\r\n                </button>\r\n            </li>\r\n            <li class="'+
((__t=( f.getClass('addClientMenu__item') ))==null?'':__t)+
'">\r\n                <button class="'+
((__t=( f.getClass('btn-agree') ))==null?'':__t)+
'">\r\n                    Изменить\r\n                </button>\r\n            </li>\r\n        </ul>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-clients'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('clients') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('clients__head') ))==null?'':__t)+
'">\r\n        <!-- Заголовок главной страницы клиентов\r\n        <h1 class="'+
((__t=( f.getClass('clients__title', 'textH2', 'colorTextP') ))==null?'':__t)+
'">\r\n            Клиенты\r\n        </h1> -->\r\n        <button class="'+
((__t=( f.getClass('resetBtn', 'clients__btn') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('clients__img') ))==null?'':__t)+
'" style="height: 24px; width: 24px; min-width: 24px;">\r\n                '+
((__t=( f.renderBlock('navigation.back') ))==null?'':__t)+
'\r\n            </div>\r\n            <h1 class="'+
((__t=( f.getClass('clients__title', 'textH2', 'colorTextP') ))==null?'':__t)+
'">\r\n                Добавить клиента\r\n            </h1>\r\n        </button>\r\n        <div class="'+
((__t=( f.getClass('clients__container') ))==null?'':__t)+
'">\r\n            <button class="'+
((__t=( f.getClass('clients__search', 'btn-neutral', 'searchIput') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('searchInput__img') ))==null?'':__t)+
'" style="height: 24px; width: 24px; min-width: 24px;">\r\n                    '+
((__t=( f.renderBlock('icons.i_search') ))==null?'':__t)+
'\r\n                </div>\r\n                Поиск\r\n            </button>\r\n            <button class="'+
((__t=( f.getClass('btn-agree') ))==null?'':__t)+
'">\r\n                Редактировать\r\n            </button>\r\n        </div>\r\n        <div class="'+
((__t=( f.getClass('clients__tab') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock('tab', {
                name:'clients',
                selected: query.type || 'information',
                items:[
                    {title:'Информация',value:'information'},
                    {title:'Запросы',value:'requests'},
                    {title:'Счета',value:'receipts'},
                ]
            }) ))==null?'':__t)+
'\r\n        </div>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('clients__main') ))==null?'':__t)+
'">\r\n        \r\n        \r\n            \r\n            \r\n            \r\n        '+
((__t=( f.renderBlock('clients.watchClient.infoClient') ))==null?'':__t)+
'\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-clients.notes.input'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('clientInfo__input', 'commentInput') ))==null?'':__t)+
'">\r\n    ';
 if (!data.showInput) { 
__p+='\r\n        <div class="'+
((__t=( f.getClass('commentInput__buttons') ))==null?'':__t)+
'">\r\n            <button '+
((__t=( e.click('add') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnLight') ))==null?'':__t)+
'">\r\n                Добавить\r\n            </button>\r\n        </div>\r\n    ';
 } else { 
__p+='\r\n    <textarea '+
((__t=( e.on('input', 'changeText') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('input40', 'commentInput__input') ))==null?'':__t)+
'" placeholder="Добавить комментарий">'+
((__t=( data.text))==null?'':__t)+
'</textarea>\r\n    <div class="'+
((__t=( f.getClass('commentInput__buttons') ))==null?'':__t)+
'">\r\n        <button '+
((__t=( e.click('save') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnLight') ))==null?'':__t)+
'">\r\n            Сохранить\r\n        </button>\r\n        <button  '+
((__t=( e.click('close') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnEmpty') ))==null?'':__t)+
'">\r\n            Отмена\r\n        </button>\r\n    </div>\r\n    ';
 } 
__p+='\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-clients.notes.item'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';
 if (data.startEdit !== true){ 
__p+='\r\n    <div n-id="'+
((__t=( data._id ))==null?'':__t)+
'" class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement', 'flexFull') ))==null?'':__t)+
'">\r\n        <p class="'+
((__t=( f.getClass('clientInfo__headtext', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n        '+
((__t=( data.text ))==null?'':__t)+
'\r\n        </p>\r\n        <div class="'+
((__t=( f.getClass('clientInfo__container') ))==null?'':__t)+
'">\r\n            <p class="'+
((__t=( f.getClass('clientInfo__commentInfo', 'colorTextTetr', 'textS') ))==null?'':__t)+
'">\r\n                <time class="'+
((__t=( f.getClass('clientInfo__commentData') ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(data.created_at).locale(context.locale).format('YYYY-MM-DDTHH:mm')))==null?'':__t)+
'">\r\n                    '+
((__t=( utils.moment(data.created_at).locale(context.locale).format('HH:mm D MMMM YYYY')))==null?'':__t)+
'\r\n                </time>\r\n                &bull;\r\n                <span class="'+
((__t=( f.getClass('clientInfo__commentName') ))==null?'':__t)+
'">\r\n                    '+
((__t=(data.user_first_name))==null?'':__t)+
'  '+
((__t=(data.user_last_name))==null?'':__t)+
'\r\n                </span>\r\n            </p>\r\n            <div class="'+
((__t=( f.getClass('clientInfo__buttons') ))==null?'':__t)+
'">\r\n                <button '+
((__t=( e.click('edit') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'btnEdit') ))==null?'':__t)+
'" style="width: 20px; height: 20px;" aria-label="Редактировать комментарий">\r\n                    '+
((__t=( f.renderBlock('icons.i_pen') ))==null?'':__t)+
'\r\n                </button>\r\n                <button '+
((__t=( e.click('remove', data) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'btnEdit') ))==null?'':__t)+
'" style="width: 20px; height: 20px;" aria-label="Удалить комментарий">\r\n                    '+
((__t=( f.renderBlock('icons.i_wastebasket') ))==null?'':__t)+
'\r\n                </button>\r\n            </div>\r\n        </div>\r\n    </div>\r\n';
 } else { 
__p+='\r\n    <div class="'+
((__t=( f.getClass('clientInfo__input', 'commentInput') ))==null?'':__t)+
'">\r\n\r\n        <textarea '+
((__t=( e.on('input', 'changeText') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('input40', 'commentInput__input') ))==null?'':__t)+
'" placeholder="Добавить комментарий">'+
((__t=( data.text))==null?'':__t)+
'</textarea>\r\n        <div class="'+
((__t=( f.getClass('commentInput__buttons') ))==null?'':__t)+
'">\r\n            <button '+
((__t=( e.click('save') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnLight') ))==null?'':__t)+
'">\r\n                Сохранить\r\n            </button>\r\n            <button  '+
((__t=( e.click('close') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnEmpty') ))==null?'':__t)+
'">\r\n                Отмена\r\n            </button>\r\n        </div>\r\n\r\n    </div>\r\n';
 } 
__p+='';
}
return __p;
}
window.renderBlocks['blocks-clients.notes'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('clientInfo__section') ))==null?'':__t)+
'">\r\n    <h2 class="'+
((__t=( f.getClass('clientInfo__title', 'textLB', 'colorTextPrim', 'spaceBottom8') ))==null?'':__t)+
'">\r\n        '+
((__t=( data.title ? data.title : 'Заметки' ))==null?'':__t)+
'\r\n    </h2>\r\n    <p class="'+
((__t=( f.getClass('clientInfo__textInfo', 'textM', 'colorTextSec', 'spaceBottom16') ))==null?'':__t)+
'">\r\n        '+
((__t=( data.subtitle ? data.subtitle : 'Для внутреннего использования, клиент их не видит' ))==null?'':__t)+
'\r\n    </p>\r\n    <div class="'+
((__t=( f.getClass('resetList', 'clientInfo__notes', 'clientStatistic', 'spaceBottom16') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock("list",{
                pref:'list',
                rowBlock:'clients.notes.item',
                params:{                          
                    params:{
                        cl_id: data.cl_id,
                        removed: false,
                    },
                    sorting: [
                        {field: 'created_at', order: 'desc'}, {field: '_id', order: 'asc'}
                    ],
                },
                limit:4,
                list:'client_note_list',
                command:'client.getList',
            })  ))==null?'':__t)+
'\r\n\r\n    </div>\r\n    \r\n    '+
((__t=( f.renderBlock('clients.notes.input', {cl_id: data.cl_id}) ))==null?'':__t)+
'\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-clients.watchClient.infoClient'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('clientInfo') ))==null?'':__t)+
'">\r\n    \r\n    <div class="'+
((__t=( f.getClass('clientInfo__scroll') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('clientInfo__content') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock('clients.watchClient.infoClientContent', data) ))==null?'':__t)+
'\r\n        </div>\r\n    </div>\r\n    \r\n    <div class="'+
((__t=( f.getClass('clientInfo__menu', 'clientInfoMenu') ))==null?'':__t)+
' scrollBar" aria-label="Боковое меню">\r\n        <div class="'+
((__t=( f.getClass('clientInfoMenu__scrollContainer') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('clientInfoMenu__main') ))==null?'':__t)+
'">\r\n                <h2 class="'+
((__t=( f.getClass('clientInfoMenu__title') ))==null?'':__t)+
'">\r\n                    Клиент\r\n                </h2>\r\n                <div class="'+
((__t=( f.getClass('clientInfoMenu__overflow') ))==null?'':__t)+
'">\r\n                    \r\n                    <p class="'+
((__t=( f.getClass('clientInfoMenu__bigText') ))==null?'':__t)+
'">\r\n                        Иванова Дарья\r\n                    </p>\r\n                </div>\r\n                <button class="'+
((__t=( f.getClass('btnLight', 'spaceBottom24') ))==null?'':__t)+
'">\r\n                    Открыть чат\r\n                </button>\r\n                <ul class="'+
((__t=( f.getClass('resetList', 'clientInfoMenu__list') ))==null?'':__t)+
'">\r\n                    <li class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement') ))==null?'':__t)+
'">\r\n                        <h3 class="'+
((__t=( f.getClass('clientInfoMenu__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                            Помощник\r\n                        </h3>\r\n                        <a class="'+
((__t=( f.getClass('resetLink', 'clientInfoMenu__text', 'textM', 'colorTextAcc') ))==null?'':__t)+
'" href="#">\r\n                            Илья Фёдоров\r\n                        </a>\r\n                    </li>\r\n                    <li class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement') ))==null?'':__t)+
'">\r\n                        <h3 class="'+
((__t=( f.getClass('clientInfoMenu__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                            Помощник\r\n                        </h3>\r\n                        <a class="'+
((__t=( f.getClass('resetLink', 'clientInfoMenu__text', 'textM', 'colorTextAcc') ))==null?'':__t)+
'" href="#">\r\n                            Ольга Тарасовa\r\n                        </a>\r\n                    </li>\r\n                </ul>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('clientInfoMenu__section', 'flexFull') ))==null?'':__t)+
'">\r\n                <h2 class="'+
((__t=( f.getClass('clientInfoMenu__subtitle', 'textM', 'colorTextSec', 'spaceBottom24') ))==null?'':__t)+
'">\r\n                    Активные запросы\r\n                </h2>\r\n                <ul class="'+
((__t=( f.getClass('resetList', 'clientInfoMenu__list', 'spaceBottom12') ))==null?'':__t)+
'">\r\n                    <li class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement') ))==null?'':__t)+
'">\r\n                        <time class="'+
((__t=( f.getClass('clientInfoMenu__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'" datetime="2024-06-23 22:33">\r\n                            22:33 23 июня 2024\r\n                        </time>\r\n                        <p class="'+
((__t=( f.getClass('clientInfoMenu__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                            VIP зал и Fast track\r\n                        </p>\r\n                    </li>\r\n                    <li class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement') ))==null?'':__t)+
'">\r\n                        <time class="'+
((__t=( f.getClass('clientInfoMenu__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'" datetime="2024-07-22 12:41">\r\n                            12:41 22 июня 2024\r\n                        </time>\r\n                        <p class="'+
((__t=( f.getClass('clientInfoMenu__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                            Бронирование отеля\r\n                        </p>\r\n                    </li>\r\n                </ul>\r\n                <button class="'+
((__t=( f.getClass('btnNeutral') ))==null?'':__t)+
'">\r\n                    Создать запрос\r\n                </button>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('clientInfoMenu__section') ))==null?'':__t)+
'">\r\n                <ul class="'+
((__t=( f.getClass('resetList', 'clientInfoMenu__list') ))==null?'':__t)+
'">\r\n                    <li class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement') ))==null?'':__t)+
'">\r\n                        <h4 class="'+
((__t=( f.getClass('clientInfoMenu__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                            Последнее обращение\r\n                        </h4>\r\n                        <time class="'+
((__t=( f.getClass('clientInfoMenu__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'" datetime="2024-05-14 10:32">\r\n                            14 мая 2024 10:32\r\n                        </time>\r\n                    </li>\r\n                    <li class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement') ))==null?'':__t)+
'">\r\n                        <h4 class="'+
((__t=( f.getClass('clientInfoMenu__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                            Обслуживание до\r\n                        </h4>\r\n                        <time class="'+
((__t=( f.getClass('clientInfoMenu__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'" datetime="2024-05-14 10:11">\r\n                            14 мая 2024 10:11\r\n                        </time>\r\n                    </li>\r\n                    <li class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement') ))==null?'':__t)+
'">\r\n                        <h4 class="'+
((__t=( f.getClass('clientInfoMenu__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                            Регистрация\r\n                        </h4>\r\n                        <time class="'+
((__t=( f.getClass('clientInfoMenu__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'" datetime="2024-05-14 10:11">\r\n                            14 мая 2024 10:11\r\n                        </time>\r\n                    </li>\r\n                </ul>\r\n            </div>\r\n        </div>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-clients.watchClient.infoClientContent'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';
 if (!data.communications){
    data.communications = {};
    console.log(data, ' in stie@fixers blocks.clients.watchClient.infoClientContant')
} 
__p+='\r\n<div class="'+
((__t=( f.getClass('clientInfo__head', 'spaceBottom12') ))==null?'':__t)+
'">\r\n    <h2 class="'+
((__t=( f.getClass('clientInfo__title', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n        Информация о клиенте\r\n    </h2>\r\n    <a href="/clients/'+
((__t=( data.cl_id ))==null?'':__t)+
'" class="'+
((__t=( f.getClass('resetLink', 'btnLightBlueSmall') ))==null?'':__t)+
'">Перейти в профиль</a>\r\n</div>\r\n<div class="'+
((__t=( f.getClass('clientInfo__scroll') ))==null?'':__t)+
' scrollBar">\r\n    <div class="'+
((__t=( f.getClass('clientInfo__content') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('clientInfo__section') ))==null?'':__t)+
'">\r\n            <ul class="'+
((__t=( f.getClass('resetList', 'clientInfo__list', 'clientStatistic') ))==null?'':__t)+
'">\r\n                <li class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement', 'flexFull') ))==null?'':__t)+
'">\r\n                    <p class="'+
((__t=( f.getClass('clientInfo__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                        Запросы\r\n                    </p>\r\n                    <span class="'+
((__t=( f.getClass('clientInfo__text', 'textH3', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                        '+
((__t=( data.total_request_count ))==null?'':__t)+
'\r\n                    </span>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement', 'flexFull') ))==null?'':__t)+
'">\r\n                    <p class="'+
((__t=( f.getClass('clientInfo__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                        Сообщения\r\n                    </p>\r\n                    <span class="'+
((__t=( f.getClass('clientInfo__text', 'textH3', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                        '+
((__t=( data.total_message_count ))==null?'':__t)+
'\r\n                    </span>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement', 'flexFull') ))==null?'':__t)+
'">\r\n                    <p class="'+
((__t=( f.getClass('clientInfo__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                        Счета\r\n                    </p>\r\n                    <span class="'+
((__t=( f.getClass('clientInfo__text', 'textH3', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                        '+
((__t=( data.total_invoice_count ))==null?'':__t)+
'\r\n                    </span>\r\n                </li>\r\n            </ul>\r\n        </div>\r\n        <div class="'+
((__t=( f.getClass('clientInfo__section') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('clientInfo__list', 'clientStatistic', 'spaceBottom8') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement', 'flexFull') ))==null?'':__t)+
'">\r\n                    <h3 class="'+
((__t=( f.getClass('clientInfo__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                        Имя\r\n                    </h3>\r\n                    <span class="'+
((__t=( f.getClass('clientInfo__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                        '+
((__t=( data.first_name ))==null?'':__t)+
' '+
((__t=( data.last_name ))==null?'':__t)+
'\r\n                    </span>\r\n                </div>\r\n                <div class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement') ))==null?'':__t)+
'">\r\n                    <h3 class="'+
((__t=( f.getClass('clientInfo__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                        ID клиента\r\n                    </h3>\r\n                    <span class="'+
((__t=( f.getClass('clientInfo__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                        '+
((__t=( data._id ))==null?'':__t)+
'\r\n                    </span>\r\n                </div>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('clientInfo__list', 'clientStatistic') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement', 'flexFull') ))==null?'':__t)+
'">\r\n                    <h3 class="'+
((__t=( f.getClass('clientInfo__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                        Номер телефона\r\n                    </h3>\r\n                    <p class="'+
((__t=( f.getClass('clientInfo__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                        '+
((__t=( data.phone_number ))==null?'':__t)+
'\r\n                    </p>\r\n                </div>\r\n        \r\n                ';
 if (data.email){ 
__p+='\r\n                    <div class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement', 'flexFull') ))==null?'':__t)+
'">\r\n                        <h3 class="'+
((__t=( f.getClass('clientInfo__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                            Электронная почта\r\n                        </h3>\r\n                        <p class="'+
((__t=( f.getClass('clientInfo__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                        '+
((__t=( data.email ))==null?'':__t)+
'\r\n                        </p>\r\n                    </div> \r\n                ';
 } 
__p+='\r\n        \r\n            </div>\r\n        </div>\r\n        ';
 if (data.privilegeInfo) { 
__p+='\r\n            ';
 let changePeriod = data.privilegeInfo.changedPeriod; 
__p+='\r\n            <div class="'+
((__t=( f.getClass('clientInfo__section') ))==null?'':__t)+
'">\r\n                <h2 class="'+
((__t=( f.getClass('clientInfo__title', 'textM', 'colorTextPrim', 'spaceBottom12') ))==null?'':__t)+
'">\r\n                    Тариф\r\n                </h2>\r\n                <div class="'+
((__t=( f.getClass('clientInfo__list', 'clientStatistic', 'spaceBottom8') ))==null?'':__t)+
'">\r\n                    <div class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement', 'flexFull') ))==null?'':__t)+
'">\r\n                        <h3 class="'+
((__t=( f.getClass('clientInfo__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                            Название\r\n                        </h3>\r\n                        <span class="'+
((__t=( f.getClass('clientInfo__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                            '+
((__t=( data.privilegeInfo.name || ""  ))==null?'':__t)+
'\r\n                        </span>\r\n                    </div>\r\n                    <div class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement') ))==null?'':__t)+
'">\r\n                        <h3 class="'+
((__t=( f.getClass('clientInfo__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                            Цена\r\n                        </h3>\r\n                        <span class="'+
((__t=( f.getClass('clientInfo__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                            '+
((__t=( utils.beautifyAmount( {amount: changePeriod.price.amount, currency: changePeriod.price.currency} ) ))==null?'':__t)+
'\r\n                        </span>\r\n                    </div>\r\n                </div>\r\n                <div class="'+
((__t=( f.getClass('clientInfo__list', 'clientStatistic') ))==null?'':__t)+
'">\r\n                    <div class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement', 'flexFull') ))==null?'':__t)+
'">\r\n                        <h3 class="'+
((__t=( f.getClass('clientInfo__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                            Период\r\n                        </h3>\r\n                        <p class="'+
((__t=( f.getClass('clientInfo__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                            '+
((__t=( changePeriod.title ))==null?'':__t)+
'\r\n                        </p>\r\n                    </div>\r\n                    <div class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement', 'flexFull') ))==null?'':__t)+
'">\r\n                        <h3 class="'+
((__t=( f.getClass('clientInfo__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                            Дата начала\r\n                        </h3>\r\n                        <time class="'+
((__t=( f.getClass('clientInfo__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(data.started_at).locale(context.locale).format('YYYY-MM-DDTHH:mm')))==null?'':__t)+
'">\r\n                            '+
((__t=( utils.moment(data.started_at).locale(context.locale).format('DD.MM.YYYY') ))==null?'':__t)+
'\r\n                        </time>\r\n                    </div>\r\n                    <div class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement', 'flexFull') ))==null?'':__t)+
'">\r\n                        <h3 class="'+
((__t=( f.getClass('clientInfo__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                            Дата окончания\r\n                        </h3>\r\n                        <time class="'+
((__t=( f.getClass('clientInfo__text', 'textM', utils.moment().isAfter(data.finished_at) ? 'colorTextNeg' : 'colorTextPrim') ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(data.finished_at).locale(context.locale).format('YYYY-MM-DDTHH:mm')))==null?'':__t)+
'">\r\n                            '+
((__t=( utils.moment(data.finished_at).locale(context.locale).format('DD.MM.YYYY') ))==null?'':__t)+
'\r\n                        </time>\r\n                    </div>\r\n                </div>\r\n            </div>\r\n        ';
 } 
__p+='\r\n        ';
 if (data.communications.app) { 
__p+='\r\n            <div class="'+
((__t=( f.getClass('clientInfo__section') ))==null?'':__t)+
'">\r\n                <h2 class="'+
((__t=( f.getClass('clientInfo__title', 'textM', 'colorTextSec', 'spaceBottom16') ))==null?'':__t)+
'">\r\n                    Предпочтительный способ связи\r\n                </h2>\r\n                <div class="'+
((__t=( f.getClass('clientInfo__list', 'clientStatistic') ))==null?'':__t)+
'">\r\n                    ';
 if (data.communications.app) { 
__p+='\r\n                        <div class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement', 'flexFull') ))==null?'':__t)+
'">\r\n                            <p class="'+
((__t=( f.getClass('clientInfo__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                                Приложение\r\n                            </p>\r\n                        </div>\r\n                    ';
 } 
__p+='\r\n        \r\n                    ';
 if (data.communications.sms) { 
__p+='\r\n                        <div class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement', 'flexFull') ))==null?'':__t)+
'">\r\n                            <p class="'+
((__t=( f.getClass('clientInfo__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                                СМС\r\n                            </p>\r\n                        </div>\r\n                    ';
 } 
__p+='\r\n        \r\n                    ';
 if (data.communications.whatsapp) { 
__p+='\r\n                        <div class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement', 'flexFull') ))==null?'':__t)+
'">\r\n                            <p class="'+
((__t=( f.getClass('clientInfo__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                                Whatsapp\r\n                            </p>\r\n                        </div> \r\n                    ';
 } 
__p+='\r\n        \r\n                    ';
 if (data.communications.call) { 
__p+='\r\n                        <div class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement', 'flexFull') ))==null?'':__t)+
'">\r\n                            <p class="'+
((__t=( f.getClass('clientInfo__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                                Звонок\r\n                            </p>\r\n                        </div> \r\n                    ';
 } 
__p+='\r\n        \r\n        \r\n                    ';
 if (data.communications.viber) { 
__p+='\r\n                        <div class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement', 'flexFull') ))==null?'':__t)+
'">\r\n                            <p class="'+
((__t=( f.getClass('clientInfo__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                                Viber\r\n                            </p>\r\n                        </div> \r\n                    ';
 } 
__p+='\r\n        \r\n                    \r\n                    ';
 if (data.communications.telegram) { 
__p+='\r\n                        <div class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement', 'flexFull') ))==null?'':__t)+
'">\r\n                            <p class="'+
((__t=( f.getClass('clientInfo__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                                Telegram\r\n                            </p>\r\n                        </div> \r\n                    ';
 } 
__p+='\r\n                </div>\r\n            </div>\r\n        ';
 } 
__p+='\r\n        '+
((__t=( f.renderBlock('clients.notes', {cl_id: data._id}) ))==null?'':__t)+
'\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-clients.watchClient.receipts'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('clientsRequests') ))==null?'':__t)+
'">\r\n    '+
((__t=( f.renderBlock("table")  ))==null?'':__t)+
'\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-clients.watchClient.requests'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('clientsRequests') ))==null?'':__t)+
'">\r\n    '+
((__t=( f.renderBlock("table")  ))==null?'':__t)+
'\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-connection'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';
}
return __p;
}
window.renderBlocks['blocks-createPartner'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('ivent') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('ivent__head') ))==null?'':__t)+
'">\r\n        <button class="'+
((__t=( f.getClass('resetBtn', 'ivent__head-btn', 'chevron-left-img') ))==null?'':__t)+
'">\r\n            <h1 class="'+
((__t=( f.getClass('ivent__title', 'pagetitle', 'colorGrayN90m') ))==null?'':__t)+
'">\r\n                Новый партнер\r\n            </h1>\r\n        </button>\r\n        \r\n        <div class="'+
((__t=( f.getClass('ivent__head-avatar') ))==null?'':__t)+
'" style="height: 56px; width: 56px; min-width: 56px;">\r\n            <img class="'+
((__t=( f.getClass('ivent__head-img') ))==null?'':__t)+
'" src="/img/test_img.png" alt="" style="width: 100%;" aria-hidden="true">\r\n        </div>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('ivent__main') ))==null?'':__t)+
' scrollBar">\r\n        <div class="'+
((__t=( f.getClass('ivent__container') ))==null?'':__t)+
'">\r\n            <form class="'+
((__t=( f.getClass('ivent__form', 'form') ))==null?'':__t)+
'" action="" method="POST">\r\n                <label class="'+
((__t=( f.getClass('form__item', 'input-block', 'mainMenu16reg', 'colorGrayN70s') ))==null?'':__t)+
'">\r\n                    Название\r\n                    <input class="'+
((__t=( f.getClass('input-block__field') ))==null?'':__t)+
'" placeholder="" name="" id="">\r\n                </label>\r\n                <label class="'+
((__t=( f.getClass('form__item', 'input-block', 'mainMenu16reg', 'colorGrayN70s') ))==null?'':__t)+
'">\r\n                    Директор\r\n                    <input class="'+
((__t=( f.getClass('input-block__field') ))==null?'':__t)+
'" placeholder="" name="" id="">\r\n                </label>\r\n                <label class="'+
((__t=( f.getClass('form__item', 'input-block', 'mainMenu16reg', 'colorGrayN70s') ))==null?'':__t)+
'">\r\n                    Краткое описание\r\n                    <textarea class="'+
((__t=( f.getClass('input-block__field', 'text-area') ))==null?'':__t)+
' scrollBar" name="" id=""></textarea>\r\n                </label>\r\n                <label class="'+
((__t=( f.getClass('form__item', 'input-block', 'mainMenu16reg', 'colorGrayN70s') ))==null?'':__t)+
'">\r\n                    Детальное описание\r\n                    <textarea class="'+
((__t=( f.getClass('input-block__field', 'text-area') ))==null?'':__t)+
' scrollBar" name="" id=""></textarea>\r\n                </label>\r\n                \r\n                <div class="'+
((__t=( f.getClass('form__container') ))==null?'':__t)+
'">\r\n                    <span class="'+
((__t=( f.getClass('form__text','mainMenu16reg', 'colorGrayN70s') ))==null?'':__t)+
'">\r\n                        Обложка\r\n                    </span>\r\n                    <div  class="'+
((__t=( f.getClass('form__btn-container') ))==null?'':__t)+
'">\r\n                        <button class="'+
((__t=( f.getClass('btn-agree') ))==null?'':__t)+
'">Загрузить</button>\r\n                    </div>\r\n                    \r\n                    <div class="'+
((__t=( f.getClass('form__avatar', 'avatar') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('avatar__container') ))==null?'':__t)+
'" style="width: 128px; height: 96px;">\r\n                            <img class="'+
((__t=( f.getClass('avatar__img') ))==null?'':__t)+
'" src="/img/test_img.png" alt="" style="width: 100%;" aria-hidden="true">\r\n                        </div>\r\n                        <div class="'+
((__t=( f.getClass('avatar__buttons') ))==null?'':__t)+
'">\r\n                            <button class="'+
((__t=( f.getClass('btn-change') ))==null?'':__t)+
'">Изменить</button>\r\n                            <button class="'+
((__t=( f.getClass('btn-danger') ))==null?'':__t)+
'">Удалить</button>\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n                <div class="'+
((__t=( f.getClass('form__container') ))==null?'':__t)+
'">\r\n                    <span class="'+
((__t=( f.getClass('form__text','mainMenu16reg', 'colorGrayN70s') ))==null?'':__t)+
'">\r\n                        Логотип\r\n                    </span>\r\n                    <div  class="'+
((__t=( f.getClass('form__btn-container') ))==null?'':__t)+
'">\r\n                        <button class="'+
((__t=( f.getClass('btn-agree') ))==null?'':__t)+
'">Загрузить</button>\r\n                    </div>\r\n                    \r\n                    <div class="'+
((__t=( f.getClass('form__avatar', 'avatar') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('avatar__container') ))==null?'':__t)+
'" style="width: 320px; height: 240px;">\r\n                            <img class="'+
((__t=( f.getClass('avatar__img') ))==null?'':__t)+
'" src="/img/test_img.png" alt="" style="width: 100%;" aria-hidden="true">\r\n                        </div>\r\n                        <div class="'+
((__t=( f.getClass('avatar__buttons') ))==null?'':__t)+
'">\r\n                            <button class="'+
((__t=( f.getClass('btn-change') ))==null?'':__t)+
'">Изменить</button>\r\n                            <button class="'+
((__t=( f.getClass('btn-danger') ))==null?'':__t)+
'">Удалить</button>\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n            </form>\r\n            <div class="'+
((__t=( f.getClass('ivent__btn-container') ))==null?'':__t)+
'">\r\n                <button class="'+
((__t=( f.getClass('btn-cencel') ))==null?'':__t)+
'">Отмена</button>\r\n                <button class="'+
((__t=( f.getClass('btn-agree') ))==null?'':__t)+
'">Изменить</button>\r\n            </div>\r\n        </div>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-dev.Backlight'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';
 if (data.openBlock !== undefined) { 
__p+='\r\n    '+
((__t=( f.renderBlock('dev.Backlight.info', data.openBlock) ))==null?'':__t)+
'\r\n';
 } 
__p+='';
}
return __p;
}
window.renderBlocks['blocks-dev.Backlight.info'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div>\r\n<div>'+
((__t=( data.name ))==null?'':__t)+
'</div>\r\n<div>'+
((__t=( data.id ))==null?'':__t)+
'</div>\r\n\r\n\r\n</div>\r\n\r\n<button '+
((__t=( e.click('close') ))==null?'':__t)+
'>Закрыть</button>\r\n<button '+
((__t=( e.click('console') ))==null?'':__t)+
'>В консоль</button>\r\n<button '+
((__t=( e.click('editor') ))==null?'':__t)+
' >Редактор</button>';
}
return __p;
}
window.renderBlocks['blocks-dev.Updater'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';
 state.port = data.port  
__p+='';
}
return __p;
}
window.renderBlocks['blocks-dev.WrongBlock'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div style="min-width: 100px;    min-height: 100px;    background: #f00;    display: flex;    justify-content: center;    align-items: center;    font-size: 48px;    border: 10px dashed;">Сломанный блок</div>';
}
return __p;
}
window.renderBlocks['blocks-eventList.editEvent'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='    <div class="'+
((__t=( f.getClass('ivent') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('ivent__main') ))==null?'':__t)+
' scrollBar editEventScroll">\r\n            <div class="'+
((__t=( f.getClass('ivent__container') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('ivent__form', 'form') ))==null?'':__t)+
'" action="" method="POST">\r\n                    <label class="'+
((__t=( f.getClass('form__item', 'input-block', 'mainMenu16reg', 'colorGrayN70s') ))==null?'':__t)+
'">\r\n                        Название события\r\n                        <input required '+
((__t=( e.on('input', 'changeText', 'title') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('input-block__field') ))==null?'':__t)+
'" placeholder="Введите текст" name="" id="" type="text" value="'+
((__t=( data.event.title ))==null?'':__t)+
'">\r\n                    </label>\r\n                    ';
 if (data.event.external && data.categories.length > 0){ 
__p+='\r\n                        <label class="'+
((__t=( f.getClass('form__item', 'input-block', 'mainMenu16reg', 'colorGrayN70s') ))==null?'':__t)+
'">\r\n                            Категория мероприятия\r\n                            \r\n                            '+
((__t=( f.renderBlock('select_50',{
                                key:'Category',
                                default:'',
                                selected: data.event.category_id,
                                items: data.categories.map(c => {
                                    return {name: c.title ,value:c._id}
                                })
                            }) ))==null?'':__t)+
'\r\n\r\n                        </label>\r\n                    ';
 } 
__p+='\r\n\r\n   \r\n\r\n                    <div class="'+
((__t=( f.getClass('input__btnLabel') ))==null?'':__t)+
'">\r\n                        <p class="'+
((__t=( f.getClass('mainMenu16reg', 'colorGrayN70s') ))==null?'':__t)+
'">\r\n                            Шаблон услуги\r\n                        </p>\r\n                        '+
((__t=( f.renderBlock('select_50',{
                            key:'Servive',
                            default:void 0,
                            selected:data.event?.service?._id,
                            items: [{name:'Без услуги', value: void 0},...data.services.map(s => {
                                return {name:s.name, value: s._id};
                            })]
                        }) ))==null?'':__t)+
'\r\n                    </div>\r\n\r\n\r\n\r\n                    <div class="'+
((__t=( f.getClass('form__short-container') ))==null?'':__t)+
'">\r\n                        <label class="'+
((__t=( f.getClass('form__item', 'input-block', 'mainMenu16reg', 'colorGrayN70s') ))==null?'':__t)+
'">\r\n                            Дата начала\r\n                            <input required '+
((__t=( e.on('input', 'changeDate', 'started_at') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('input-block__field', 'input-small') ))==null?'':__t)+
'" id="" type="datetime-local" value="'+
((__t=( data.event.started_at ? utils.moment(data.event.started_at).locale(context.locale).format('YYYY-MM-DDTHH:mm') : '' ))==null?'':__t)+
'">\r\n                        </label>\r\n                        <label class="'+
((__t=( f.getClass('form__item', 'input-block', 'mainMenu16reg', 'colorGrayN70s') ))==null?'':__t)+
'">\r\n                            Дата завершения\r\n                            <input required '+
((__t=( e.on('input', 'changeDate', 'finished_at') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('input-block__field', 'input-small') ))==null?'':__t)+
'" id="" type="datetime-local" value="'+
((__t=( data.event.finished_at ? utils.moment(data.event.finished_at).locale(context.locale).format('YYYY-MM-DDTHH:mm') : '' ))==null?'':__t)+
'">\r\n                        </label>\r\n                    </div>\r\n                    <label class="'+
((__t=( f.getClass('form__item', 'input-block', 'mainMenu16reg', 'colorGrayN70s') ))==null?'':__t)+
'">\r\n                        Место проведения\r\n                        <input required '+
((__t=( e.on('input', 'changeText', 'city') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('input-block__field') ))==null?'':__t)+
'" placeholder="Введите текст" name="" id="" type="text" value="'+
((__t=( data.event.city ))==null?'':__t)+
'">\r\n                    </label>\r\n                    <label class="'+
((__t=( f.getClass('form__item', 'input-block', 'mainMenu16reg', 'colorGrayN70s') ))==null?'':__t)+
'">\r\n                        Ключевые слова, по которым пользователи в поиске смогут найти мероприятие\r\n                        <textarea required '+
((__t=( e.on('input', 'changeText', 'keywords') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('input-block__field', 'text-area') ))==null?'':__t)+
'" placeholder="Город, место проведения, название" name="">'+
((__t=( data.event.keywords ))==null?'':__t)+
'</textarea>\r\n                    </label>\r\n                    <label class="'+
((__t=( f.getClass('form__item', 'input-block', 'mainMenu16reg', 'colorGrayN70s') ))==null?'':__t)+
'">\r\n                        Краткое описание\r\n                        <textarea required '+
((__t=( e.on('input', 'changeText', 'subtitle') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('input-block__field', 'text-area') ))==null?'':__t)+
'" placeholder="Введите текст" name="" id="">'+
((__t=( data.event.subtitle ))==null?'':__t)+
'</textarea>\r\n                    </label>\r\n\r\n                    <div class="'+
((__t=( f.getClass('form__item', 'input-block') ))==null?'':__t)+
'">\r\n                        <p class="'+
((__t=( f.getClass('mainMenu16reg', 'colorGrayN70s') ))==null?'':__t)+
'">\r\n                            Полное описание\r\n                        </p>\r\n                        <p class="'+
((__t=( f.getClass('mainMenu16reg', 'colorGrayN70s') ))==null?'':__t)+
'">\r\n                            Выберите тип редактора. «Обычный» подходит для описания в один абзац, «Продвинутый» позволяет разбивать на абзацы, вставлять картинки, добавлять файлы, выделять текст и т.п.\r\n                        </p>\r\n                        <p class="'+
((__t=( f.getClass('mainMenu16semi', 'colorGrayN70s', 'spaceBottm8') ))==null?'':__t)+
'">\r\n                            Если будет заполнено описание в режиме "Продвинутый", то в приложении будет отображаться только оно.\r\n                        </p>\r\n                        <div class="'+
((__t=( f.getClass('ivent__tab', 'spaceBottm8') ))==null?'':__t)+
'">\r\n                            '+
((__t=( f.renderBlock('tab', {
                                name:'DescriptionEditMode',
                                selected: data.description_mode,
                                items:[
                                    {title:'Обычный',value:'simple'},
                                    {title:'Продвинутый',value:'advanced'},
                                ]
                            }) ))==null?'':__t)+
'\r\n                        </div>\r\n                        ';
 if (data.description_mode === 'simple') { 
__p+='\r\n                            <textarea required '+
((__t=( e.on('input', 'changeText', 'description') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('input-block__field', 'text-area') ))==null?'':__t)+
'" placeholder="Введите текст" name="" id="">'+
((__t=( data.event.description ))==null?'':__t)+
'</textarea>\r\n                        ';
 } 
__p+='\r\n\r\n                        ';
 if (data.description_mode === 'advanced') { 
__p+='\r\n                            '+
((__t=( f.renderBlock('builder.blocks',{
                                    blocks: data.event.description_blocks,
                                    path: `description_blocks`,
                                    name: 'DescriptionBlocks',
                                    scrollClass: 'editEventScroll',
                                })
                            ))==null?'':__t)+
'\r\n                        ';
 } 
__p+='\r\n                    </div>\r\n\r\n\r\n                    \r\n                    ';
 let checkSecondImg = data.event.img && data.event.img.url != data.event.logo.url ? true : false 
__p+='\r\n                    <div class="'+
((__t=( f.getClass('addClient__item', 'spaceBottm64') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('addClient__imgBlock', 'spaceBottm24') ))==null?'':__t)+
'">\r\n                            '+
((__t=( f.renderBlock('eventList.editEvent.preview',{
                                title: 'Изображение в списке мероприятий и на странице мероприятия. Рекомендуемый размер 1180px*640px',
                                img:data.event.logo,
                                imgStyle:'width: 100%; max-width: 320px; overflow: hidden;',
                                pref:'preview',
                                path:'logo'
                            }) ))==null?'':__t)+
'\r\n                        </div>\r\n                        <div class="'+
((__t=( f.getClass('addClient__checkbox', 'spaceBottm40') ))==null?'':__t)+
'">\r\n                            '+
((__t=( f.renderBlock('checkInputs.checkBox', {
                                label: 'Использовать другое изображение на странице мероприятия',
                                click: e.click('useOnePreview'),
                                value:  checkSecondImg || data.event._use_one_preview,
                            }) ))==null?'':__t)+
'\r\n                        </div>\r\n                        ';
 if ( checkSecondImg || data.event._use_one_preview ){ 
__p+='\r\n                            <div class="'+
((__t=( f.getClass('addClient__imgBlock') ))==null?'':__t)+
'">\r\n                                '+
((__t=( f.renderBlock('eventList.editEvent.preview',{
                                    title: 'Изображение на странице мероприятия. Рекомендуемый размер 1180px*640px',
                                    img:data.event.img,
                                    imgStyle:'width: 100%; max-width: 320px; overflow: hidden;',
                                    pref:'previewPage',
                                    path:'img'
                                }) ))==null?'':__t)+
'\r\n                            </div>\r\n                        ';
 } 
__p+='\r\n                    </div>                    \r\n                </div>\r\n            </div>\r\n        </div>\r\n        <div class="'+
((__t=( f.getClass('ivent__btnContainer') ))==null?'':__t)+
'">\r\n            ';
 if (!data.event.published) {
__p+='\r\n                ';
 if (data.event.removed){  
__p+='\r\n                    <button '+
((__t=( e.click('restore') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnAgree', 'spaceAutoRight') ))==null?'':__t)+
'">Восстановить</button>\r\n                ';
 } else { 
__p+='\r\n                    <button '+
((__t=( e.click('remove') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnCencel', 'spaceAutoRight') ))==null?'':__t)+
'">Удалить</button>\r\n                ';
 } 
__p+='\r\n            ';
 } else { 
__p+='\r\n                <div class="'+
((__t=( f.getClass('spaceAutoRight') ))==null?'':__t)+
'"></div>\r\n            ';
 } 
__p+='\r\n\r\n            ';
 if (!data.event.removed){ 
__p+='\r\n\r\n                ';
 if (!data.event.published) {
__p+='\r\n                    <button '+
((__t=( e.click('save') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnAgree') ))==null?'':__t)+
'">Сохранить</button>\r\n                ';
 } 
__p+='\r\n\r\n\r\n                ';
 if (data.event.published) {
__p+='\r\n                    <button '+
((__t=( e.click('unpublish') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnCencel') ))==null?'':__t)+
'">Снять с публикации</button>\r\n                ';
 }    else { 
__p+='\r\n                    <button '+
((__t=( e.click('publish') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnAgree') ))==null?'':__t)+
'">Опубликовать</button>\r\n                ';
 } 
__p+='\r\n\r\n            ';
 } 
__p+='\r\n\r\n        </div>\r\n    </div>\r\n'+
((__t=( f.renderEmptyBlock("ImageCropper",{
    title:'Изображение в списке мероприятий',
    subtitle:'Рекомендуемый размер изображения 1180*640'
}) ))==null?'':__t)+
'';
}
return __p;
}
window.renderBlocks['blocks-eventList.editEvent.materials'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='           <div class="'+
((__t=( f.getClass('addClient__extra', 'addClientExtra') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('addClientExtra__head') ))==null?'':__t)+
'">\r\n                            <h2 class="'+
((__t=( f.getClass('addClientExtra__title') ))==null?'':__t)+
'">\r\n                                Дополнительные материалы\r\n                            </h2>\r\n                            <p class="'+
((__t=( f.getClass('addClientExtra__textInfo') ))==null?'':__t)+
'">\r\n                                Дополнительные материалы отображаются на экране информации о мероприятии. Можно \r\n                                добавить несколько материалов. Добавьте ссылку на материал или загрузите файл напрямую\r\n                            </p>\r\n                        </div>\r\n                        <div class="'+
((__t=( f.getClass('addClientExtra__list') ))==null?'':__t)+
'">\r\n                            ';
 for (let index = 0; index < data.materials.length; index++) {
                                const material = data.materials[index]; 
__p+='\r\n    \r\n                                <div class="'+
((__t=( f.getClass('addClientExtra__container') ))==null?'':__t)+
'">\r\n                                    <span class="'+
((__t=( f.getClass('addClientExtra__number') ))==null?'':__t)+
'">\r\n                                        №'+
((__t=( index + 1 ))==null?'':__t)+
'\r\n                                    </span>\r\n                                    <div class="'+
((__t=( f.getClass('addClientExtra__list') ))==null?'':__t)+
'">\r\n                                        ';
 if (material.url) { 
__p+='\r\n    \r\n                                            <label class="'+
((__t=( f.getClass('form__item', 'input-block', 'mainMenu16reg', 'colorGrayN70s') ))==null?'':__t)+
'">\r\n                                                Заголовок\r\n                                                <input required '+
((__t=( e.on('input', 'onLabelChanged', index) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('input-block__field') ))==null?'':__t)+
'" placeholder="Введите текст" name="" id="" type="text" value="'+
((__t=( material.label ))==null?'':__t)+
'">\r\n                                            </label>\r\n    \r\n    \r\n                                        ';
 } 
__p+='\r\n    \r\n                                        <div class="'+
((__t=( f.getClass('form__item', 'input-block') ))==null?'':__t)+
'">\r\n                                            <p class="'+
((__t=( f.getClass('mainMenu16reg', 'colorGrayN70s') ))==null?'':__t)+
'">\r\n                                                Файл\r\n                                            </p>\r\n                                            \r\n                                            ';
 if (material.name){ 
__p+='\r\n                                                <div class="'+
((__t=( f.getClass('addClientExtra__file') ))==null?'':__t)+
'">\r\n                                                    <p class="'+
((__t=( f.getClass('addClientExtra__fileName') ))==null?'':__t)+
'">\r\n                                                        '+
((__t=( material.name ))==null?'':__t)+
', '+
((__t=( material.size ))==null?'':__t)+
'\r\n                                                    </p>\r\n                                      \r\n                                                </div>\r\n                                            ';
 } 
__p+='\r\n                                            ';
 if (!material.url){ 
__p+='\r\n                                            <div class="'+
((__t=( f.getClass('addClientExtra__btnLeft') ))==null?'':__t)+
'">\r\n                                                <button '+
((__t=( e.click('startLoadFile', index) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnAgreeLight', 'btnMinWidth157') ))==null?'':__t)+
'">\r\n                                                    Загрузить файл\r\n                                                    ';
 if (material.loading){ 
__p+='\r\n                                                        <div class="'+
((__t=( f.getClass('btnAgreeLight__loader') ))==null?'':__t)+
'">\r\n                                                            '+
((__t=( f.renderBlock('loaderBarTwo') ))==null?'':__t)+
'\r\n                                                        </div>\r\n                                                    ';
 } 
__p+='\r\n                                                </button>\r\n                                            </div>\r\n                                            ';
 } 
__p+='\r\n                                            ';
 if (material.error){ 
__p+='\r\n                                                <div class="'+
((__t=( f.getClass('addClientExtra__textError') ))==null?'':__t)+
'">\r\n                                                    Ошибка при загрузке файла\r\n                                                </div>\r\n                                            ';
 } 
__p+='\r\n                                        </div>\r\n                                    </div>\r\n                                    <div class="'+
((__t=( f.getClass('addClientExtra__btnRight') ))==null?'':__t)+
'">\r\n                                        <button '+
((__t=( e.click('remove', index) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnCencelLight') ))==null?'':__t)+
'">\r\n                                            Удалить\r\n                                        </button>\r\n                                    </div>\r\n                                </div>\r\n                            \r\n                            ';
 } 
__p+=' \r\n                        </div>\r\n\r\n                        <div class="'+
((__t=( f.getClass('addClientExtra__btnLeft', 'fieldTop20') ))==null?'':__t)+
'">\r\n                            <button '+
((__t=( e.click('add') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnAgree') ))==null?'':__t)+
'">\r\n                                Добавить материал\r\n                            </button>\r\n                        </div>\r\n                    </div>\r\n\r\n                    <input '+
((__t=( e.on('change','fileChange') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('fileInput') ))==null?'':__t)+
'" type="file" />\r\n';
}
return __p;
}
window.renderBlocks['blocks-eventList.editEvent.preview'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='    <h2 class="'+
((__t=( f.getClass('newsEdit__subtitle') ))==null?'':__t)+
'">\r\n        '+
((__t=( data.title ))==null?'':__t)+
'\r\n    </h2>\r\n    \r\n    ';
 if (data.img !== undefined) {  
__p+='\r\n        <div class="'+
((__t=( f.getClass('newsEdit__imgContainer') ))==null?'':__t)+
'" style="position: relative; '+
((__t=( data.imgStyle ))==null?'':__t)+
'">\r\n            <img class="'+
((__t=( f.getClass('newsEdit__img') ))==null?'':__t)+
'" src="'+
((__t=( utils.makeImageUrl(data.img) ))==null?'':__t)+
'" style="position: absolute; top: 50%; left: 0; transform: translateY(-50%); width: 100%;">\r\n        </div>\r\n    ';
 } 
__p+='\r\n\r\n    <div class="'+
((__t=( f.getClass('newsEdit__btns') ))==null?'':__t)+
'">\r\n        <button '+
((__t=( e.click('change')))==null?'':__t)+
' class="'+
((__t=( f.getClass('btn-agree') ))==null?'':__t)+
'">\r\n            Загрузить   \r\n        </button>\r\n        ';
 if (data.img) {  
__p+='\r\n            <button '+
((__t=( e.click('recrop')))==null?'':__t)+
'  class="'+
((__t=( f.getClass('btn-agree') ))==null?'':__t)+
'">\r\n                Изменить\r\n            </button>\r\n            <button '+
((__t=( e.click('remove')))==null?'':__t)+
'  class="'+
((__t=( f.getClass('btn-danger-empty') ))==null?'':__t)+
'">\r\n                Удалить\r\n            </button>\r\n        ';
 } 
__p+='\r\n    </div>\r\n\r\n<input accept="image/jpeg,image/png"  '+
((__t=( e.on('change','avatarChange') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('fileInput') ))==null?'':__t)+
'" type="file" />\r\n\r\n\r\n';
}
return __p;
}
window.renderBlocks['blocks-eventList.editPartners.createModal'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';
 if (data.show) { 
__p+='\r\n    <div class="'+
((__t=( f.getClass('modal') ))==null?'':__t)+
' scrollBar">\r\n        <div class="'+
((__t=( f.getClass('modal__container') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('modal__head') ))==null?'':__t)+
'">\r\n                <h2 class="'+
((__t=( f.getClass('modal__title') ))==null?'':__t)+
'">\r\n                    Категория партнера\r\n                </h2>\r\n                <button '+
((__t=( e.click('hide') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'modal__close') ))==null?'':__t)+
'" style="width: 24px; height: 24px; min-width: 24px;">\r\n                    '+
((__t=( f.renderBlock('icons.i_x') ))==null?'':__t)+
'\r\n                </button>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('modal__info', 'textL', 'ColorTextSec') ))==null?'':__t)+
'">\r\n                <p class="'+
((__t=( f.getClass('modal__text', 'textL', 'ColorTextSec') ))==null?'':__t)+
'">\r\n                    Введите название категории, позже вы можете его изменить\r\n                </p>\r\n                <p class="'+
((__t=( f.getClass('modal__text', 'textL', 'ColorTextSec') ))==null?'':__t)+
'">\r\n                    <input required value="'+
((__t=(data.label))==null?'':__t)+
'" type="text" required minlength="4" maxlength="30" '+
((__t=( e.ref('input') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('input-block__field') ))==null?'':__t)+
'" />\r\n                </p>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('modal__btnContainer') ))==null?'':__t)+
'">\r\n                <button '+
((__t=( e.click('cancel') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnDanger') ))==null?'':__t)+
'">\r\n                    Отмена\r\n                </button>\r\n\r\n                <button '+
((__t=( e.click('success') ))==null?'':__t)+
'  class="'+
((__t=( f.getClass('btnAgree') ))==null?'':__t)+
'">\r\n                    '+
((__t=(data.label ? 'Сохранить' : 'Создать'))==null?'':__t)+
'\r\n                </button>\r\n            </div>\r\n        </div>\r\n    </div>\r\n';
 } 
__p+='';
}
return __p;
}
window.renderBlocks['blocks-eventList.editPartners'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('eddServices') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('services__head') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('services__headContainer') ))==null?'':__t)+
'">\r\n            <h2 class="'+
((__t=( f.getClass('services__litle', 'textH3', 'textColorPr') ))==null?'':__t)+
'">\r\n                Партнеры мероприятия\r\n            </h2>\r\n            <button   '+
((__t=( e.click('openCreateCatModal') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnLightSmall') ))==null?'':__t)+
'">\r\n                Добавить уровень\r\n            </button>\r\n        </div>\r\n    </div>\r\n    ';
 if (data.partners) { 
__p+=' \r\n        <div class="'+
((__t=( f.getClass('eddServices__scroll') ))==null?'':__t)+
' scrollBar">\r\n            <div class="'+
((__t=( f.getClass('eddServices__scroll-container') ))==null?'':__t)+
'">\r\n                \r\n                ';
 for (let i = 0; i < data.partners.length; i++) { 
__p+='\r\n                    <div class="'+
((__t=( f.getClass('eddServices__section') ))==null?'':__t)+
'">\r\n                        \r\n                        <div class="'+
((__t=( f.getClass('eddServices__subhead', 'servicesCategory') ))==null?'':__t)+
'">\r\n                            <div class="'+
((__t=( f.getClass('servicesCategory__input') ))==null?'':__t)+
'">'+
((__t=( data.partners[i].label ))==null?'':__t)+
'</div>\r\n                            <div class="'+
((__t=( f.getClass('servicesCategory__container') ))==null?'':__t)+
'">\r\n                                <!--  <button class="'+
((__t=( f.getClass('resetBtn', 'servicesCategory__btn') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                                    '+
((__t=( f.renderBlock('icons.i_check') ))==null?'':__t)+
'\r\n                                </button> -->\r\n                                <button '+
((__t=( e.on('click', 'openCreateCatModal', {index:i}) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'servicesCategory__btn') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                                    '+
((__t=( f.renderBlock('icons.i_pen') ))==null?'':__t)+
'\r\n                                </button> \r\n                                ';
 if (data.partners[i].items.length === 0) { 
__p+='\r\n                                    <button '+
((__t=( e.click('removeCat', i) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'servicesCategory__btn') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                                        '+
((__t=( f.renderBlock('icons.i_x') ))==null?'':__t)+
'\r\n                                    </button>\r\n                                ';
 } 
__p+='\r\n                            </div>\r\n                        </div>\r\n                        \r\n                        <ul class="'+
((__t=( f.getClass('resetList', 'eddServices__list') ))==null?'':__t)+
'">\r\n                            ';
 for (let j = 0; j < data.partners[i].items.length; j++) { 
__p+='\r\n                                <li class="'+
((__t=( f.getClass('eddServices__item', 'serviceBlock') ))==null?'':__t)+
'">\r\n                                    <button class="'+
((__t=( f.getClass('resetBtn', 'serviceBlock__btn') ))==null?'':__t)+
'">\r\n                                        \r\n                                        <div class="'+
((__t=( f.getClass('serviceBlock__preview') ))==null?'':__t)+
'" style="width: 48px; height: 48px; min-width: 48px;">\r\n                                            <img src="'+
((__t=( utils.makeImageUrl(data.partners[i].items[j].logo) ))==null?'':__t)+
'" alt="" style="width: 100%">\r\n                                        </div>\r\n                                        <div class="'+
((__t=( f.getClass('serviceBlock__container') ))==null?'':__t)+
'">\r\n                                            <p class="'+
((__t=( f.getClass('serviceBlock__text') ))==null?'':__t)+
'">\r\n                                                '+
((__t=( data.partners[i].items[j].name ))==null?'':__t)+
'\r\n                                            </p>\r\n                                        </div>\r\n                                    </button>\r\n                                    <button '+
((__t=( e.click('removePartnerLink', {index: i, _id:data.partners[i].items[j].eventpartner_id }) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'serviceBlock__btnCancel') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                                        '+
((__t=( f.renderBlock('icons.i_x') ))==null?'':__t)+
'\r\n                                    </button>\r\n                                </li>\r\n                            ';
 } 
__p+='\r\n                        </ul>\r\n                        \r\n                        <div class="'+
((__t=( f.getClass('eddServices__sectionBtn') ))==null?'':__t)+
'">\r\n                            <button '+
((__t=( e.click('openAddModal',i) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnLight') ))==null?'':__t)+
'">\r\n                                Добавить партнера\r\n                            </button>\r\n                        </div>\r\n                    </div>\r\n                ';
 } 
__p+='\r\n            </div>\r\n        </div>\r\n    ';
 } else { 
__p+='\r\n        <div class="'+
((__t=( f.getClass('eddServices') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('eddServicesEmptyPage') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('eddServicesEmptyPage__container') ))==null?'':__t)+
'">\r\n                    <p class="'+
((__t=( f.getClass('eddServicesEmptyPage__text') ))==null?'':__t)+
'">\r\n                        Добавьте уровень партнерства\r\n                    </p>\r\n                </div>\r\n            </div>\r\n        </div>\r\n    ';
 } 
__p+='\r\n\r\n    <div class="'+
((__t=( f.getClass('serviceBlock__btnContainer') ))==null?'':__t)+
'">\r\n        ';
 if (!data.published) {
__p+='\r\n               ';
 if (data.removed){  
__p+='\r\n                    <button '+
((__t=( e.click('restore') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnAgree', 'spaceAutoRight') ))==null?'':__t)+
'">Восстановить</button>\r\n                ';
 } else { 
__p+='\r\n                    <button '+
((__t=( e.click('remove') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnCencel', 'spaceAutoRight') ))==null?'':__t)+
'">Удалить</button>\r\n                ';
 } 
__p+='\r\n        ';
 } else { 
__p+='\r\n            <div class="'+
((__t=( f.getClass('spaceAutoRight') ))==null?'':__t)+
'"></div>\r\n        ';
 } 
__p+='\r\n        <button '+
((__t=( e.click('prev') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnNeutral') ))==null?'':__t)+
'">Назад</button>\r\n        ';
 if (!data.removed){ 
__p+='\r\n            ';
 if (!data.published) {
__p+='\r\n                <button '+
((__t=( e.click('save') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnAgree') ))==null?'':__t)+
'">Сохранить</button>\r\n            ';
 } 
__p+='\r\n            ';
 if (data.published) {
__p+='\r\n                <button '+
((__t=( e.click('unpublish') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnCencel') ))==null?'':__t)+
'">Снять с публикации</button>\r\n            ';
 }    else { 
__p+='\r\n                <button '+
((__t=( e.click('publish') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnAgree') ))==null?'':__t)+
'">Опубликовать</button>\r\n            ';
 } 
__p+='\r\n        ';
 } 
__p+='\r\n    </div>\r\n</div>\r\n\r\n\r\n'+
((__t=( f.renderBlock('eventList.editPartners.createModal', {
    pref: 'createCatRef'
}) ))==null?'':__t)+
'';
}
return __p;
}
window.renderBlocks['blocks-eventList.editProgram'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='\r\n    ';
 const items = data.items[data.programm] 
__p+='\r\n\r\n    ';
 if (data.items.length > 0){  
__p+='\r\n        <div class="'+
((__t=( f.getClass('ivent__tab', 'iventTab') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('iventTab__container') ))==null?'':__t)+
'">\r\n        \r\n                    <nav class="'+
((__t=( f.getClass('iventTab__tab') ))==null?'':__t)+
'">\r\n                        <ul class="'+
((__t=( f.getClass('resetList', 'iventTab__list') ))==null?'':__t)+
'">\r\n                            \r\n                            ';
 for (let index = 0; index < data.items.length; index++) { 
__p+='\r\n                                <li class="'+
((__t=( f.getClass('iventTab__item') ))==null?'':__t)+
'">\r\n                                    <button '+
((__t=( e.click('changeProgramm', index) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'btnTab', 'iventTab__btn', data.programm == index && 'btnTabActive') ))==null?'':__t)+
'">\r\n                                        <span '+
((__t=( index == data.programm ?  e.ref('currentProgrammTitle') : '' ))==null?'':__t)+
' class="'+
((__t=( f.getClass('iventTab__text') ))==null?'':__t)+
'">\r\n                                            '+
((__t=(  data.items[index].title || 'Новая программа' ))==null?'':__t)+
'\r\n                                        </span>\r\n                                    </button>\r\n                                </li>\r\n                            ';
 } 
__p+='\r\n                        </ul>\r\n                    </nav>\r\n            \r\n                <div class="'+
((__t=( f.getClass('iventTab__btnsContainer') ))==null?'':__t)+
'">\r\n                    <button '+
((__t=( e.click('addProgram')))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnLightSmall') ))==null?'':__t)+
'">\r\n                        Новая\r\n                    </button>\r\n                    <button '+
((__t=( e.click('addProgram')))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnLightSmall') ))==null?'':__t)+
'">\r\n                        Импорт\r\n                    </button>\r\n                </div>\r\n                ';
 if (items){ 
__p+='\r\n                    <div class="'+
((__t=( f.getClass('iventNav') ))==null?'':__t)+
' scrollBar">\r\n                        <h2 class="'+
((__t=( f.getClass('iventNav__title') ))==null?'':__t)+
'">\r\n                            РАСПИСАНИЕ\r\n                        </h2>\r\n                        <nav class="'+
((__t=( f.getClass('iventNav__nav') ))==null?'':__t)+
'">\r\n                            <ol class="'+
((__t=( f.getClass('resetList', 'iventNav__list') ))==null?'':__t)+
'">\r\n                                ';
 for (let index = 0; index < items.program.length; index++) {
                                    const program = items.program[index]; 
__p+='\r\n                                    <li class="'+
((__t=( f.getClass('iventNav__item') ))==null?'':__t)+
'">\r\n                                        <button '+
((__t=( e.click('changeDay', index) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'iventNav__btn') ))==null?'':__t)+
'">\r\n                                            <time class="'+
((__t=( f.getClass('iventNav__date') ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(program.start_at).locale(context.locale).format('YYYY-MM-DD') ))==null?'':__t)+
'">\r\n                                                '+
((__t=( utils.moment(program.start_at).locale(context.locale).format('D MMMM') ))==null?'':__t)+
'\r\n                                            </time>\r\n                                        </button>\r\n                                        <button  '+
((__t=( e.click('removeDay',index) ))==null?'':__t)+
'  class="'+
((__t=( f.getClass('resetBtn', 'iventNav__btnDelete') ))==null?'':__t)+
'" style="width: 24px; height: 24px;" aria-label="Удалить дату">\r\n                                            '+
((__t=( f.renderBlock('icons.i_wastebasket') ))==null?'':__t)+
'\r\n                                        </button>\r\n                                    </li>\r\n                                ';
 } 
__p+='\r\n                            </ol>\r\n                            <div class="'+
((__t=( f.getClass('iventNav__btnContainer') ))==null?'':__t)+
'">\r\n                                <button '+
((__t=( e.click('addDay') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnLightSmall') ))==null?'':__t)+
'">\r\n                                    Добавить дату\r\n                                </button>\r\n                            </div>\r\n                        </nav>\r\n                    \r\n                    </div>\r\n                ';
 } 
__p+='\r\n            </div>\r\n        </div>\r\n    ';
 } 
__p+='\r\n    \r\n    ';
 if (items) { 
__p+='\r\n        ';
 if (items.program.length === 0){ 
__p+='\r\n        \r\n            <div class="'+
((__t=( f.getClass('iventEmptyPage') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('iventEmptyPage__container') ))==null?'':__t)+
'">\r\n                    <p class="'+
((__t=( f.getClass('iventEmptyPage__text') ))==null?'':__t)+
'">\r\n                        Чтобы добавить программу мероприятия, укажите даты проведения мероприятия в разделе информация\r\n                    </p>\r\n                </div>\r\n            </div>\r\n        ';
 } else { 
__p+='\r\n\r\n            <div class="'+
((__t=( f.getClass('ivent') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('ivent__head', 'iventHead') ))==null?'':__t)+
'">\r\n                    <div class="'+
((__t=( f.getClass('iventHead__container') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('iventHead__imgContainer') ))==null?'':__t)+
'">\r\n                            '+
((__t=( f.renderBlock('eventList.editProgram.selectIcon', {img: items.img}) ))==null?'':__t)+
'\r\n                        </div>\r\n                        <h2 class="'+
((__t=( f.getClass('iventHead__title') ))==null?'':__t)+
'">\r\n                            <input '+
((__t=( e.on('input','changeProgrammTitle')))==null?'':__t)+
' value="'+
((__t=( items.title ))==null?'':__t)+
'" class="'+
((__t=( f.getClass('iventHead__input') ))==null?'':__t)+
'" placeholder="Введите название" type="text">\r\n                        </h2>\r\n                    </div>\r\n                    ';
 
                    const showRemoveButton =items.program.reduce((acc, b) => {
                        return acc + b.timeline.reduce((ac, b2) => {
                            return ac + b2.items.length
                        }, 0)
                    }, 0)
                    
                    if (showRemoveButton === 0 ){ 
__p+='\r\n                        <div class="'+
((__t=( f.getClass('iventHead__btnContainer') ))==null?'':__t)+
'">\r\n                            <button '+
((__t=( e.click('removeProgram') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('iventHead__btn') ))==null?'':__t)+
'">\r\n                                Удалить программу\r\n                            </button>\r\n                        </div>\r\n                    ';
 } 
__p+='\r\n                </div>\r\n                <div class="'+
((__t=( f.getClass('ivent__scroll') ))==null?'':__t)+
' scrollBar">\r\n                    <div class="'+
((__t=( f.getClass('ivent__scroll-container') ))==null?'':__t)+
'">\r\n                        \r\n                        ';
  for (let index = 0; index < items.program.length; index++) {
                            const program = items.program[index]; 
__p+='\r\n                            <div '+
((__t=( e.ref(`programm_day_${index}`) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('ivent__section') ))==null?'':__t)+
'">\r\n                                <div class="'+
((__t=( f.getClass('ivent__subtitle') ))==null?'':__t)+
'">\r\n                                    <h3 class="'+
((__t=( f.getClass('textLB', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                                        <time class="'+
((__t=( f.getClass('ivent__date', 'textLB', 'textDarkMainBase') ))==null?'':__t)+
'" datetime="2022-09-06">\r\n                                            '+
((__t=( utils.moment(program.start_at).locale(context.locale).format('D MMMM') ))==null?'':__t)+
'\r\n                                        </time>\r\n                                    </h3>\r\n                                </div>\r\n                                ';
 if (program.timeline.length > 0){ 
__p+='\r\n                                    <ul class="'+
((__t=( f.getClass('resetList', 'ivent__list') ))==null?'':__t)+
'">\r\n\r\n                                        ';
 for (let dindex = 0; dindex < program.timeline.length; dindex++) {  
                                            const timeline =  program.timeline[dindex];
                                        
__p+='\r\n                                            ';
 for (let tdindex = 0; tdindex < timeline.items.length; tdindex++) {
                                                const line = timeline.items[tdindex]; 
                                            
__p+='\r\n                                                <li class="'+
((__t=( f.getClass('ivent__item', 'schedule') ))==null?'':__t)+
'">\r\n                                                    <button '+
((__t=( e.click('editEvent', {
                                                        program: data.program,
                                                        index: index,
                                                        dindex:dindex,
                                                        tdindex:tdindex
                                                    }) ))==null?'':__t)+
'  \r\n                                                    class="'+
((__t=( f.getClass('resetBtn', 'schedule__btn') ))==null?'':__t)+
'">\r\n                                                        <div class="'+
((__t=( f.getClass('schedule__container') ))==null?'':__t)+
'">\r\n                                                            <div class="'+
((__t=( f.getClass('schedule__interval', 'textSB', 'dark500base', 'timeImg') ))==null?'':__t)+
'">\r\n                                                                <div class="'+
((__t=( f.getClass('schedule__img-clock') ))==null?'':__t)+
'" style="min-width: 16px; width: 16px; height: 16px;">\r\n                                                                    '+
((__t=( f.renderBlock('icons.i_clock') ))==null?'':__t)+
'\r\n                                                                </div>\r\n                                                                <time class="'+
((__t=( f.getClass('schedule__time', 'textSB', 'dark500base') ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(line.start_at).format('YYYY-MM-DDTHH:mm') ))==null?'':__t)+
'">\r\n                                                                    '+
((__t=( utils.moment(line.start_at).format('HH:mm') ))==null?'':__t)+
'-\r\n                                                                </time>\r\n                                                                <time class="'+
((__t=( f.getClass('schedule__time', 'textSB', 'dark500base') ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(line.finish_at).format('YYYY-MM-DDTHH:mm') ))==null?'':__t)+
'">\r\n                                                                    '+
((__t=( utils.moment(line.finish_at).format('HH:mm') ))==null?'':__t)+
'\r\n                                                                </time>\r\n                                                            </div>\r\n\r\n                                                            ';
 if (line.location) { 
__p+='\r\n                                                                <div class="'+
((__t=( f.getClass('schedule__location') ))==null?'':__t)+
'">\r\n                                                                    <div class="'+
((__t=( f.getClass('schedule__img-map') ))==null?'':__t)+
'" style="min-width: 16px; width: 16px; height: 16px;">\r\n                                                                        '+
((__t=( f.renderBlock('icons.i_map-pin') ))==null?'':__t)+
'\r\n                                                                    </div>\r\n                                                                    <p class="'+
((__t=( f.getClass('schedule__location-text', 'textSB', 'accentMainBase') ))==null?'':__t)+
'">\r\n                                                                        '+
((__t=( line.location ))==null?'':__t)+
'\r\n                                                                    </p>\r\n                                                                </div>\r\n                                                            ';
 } 
__p+='\r\n\r\n                                                        </div>\r\n                                                        <p class="'+
((__t=( f.getClass('schedule__text', 'textM', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                                                            '+
((__t=( line.title ))==null?'':__t)+
'\r\n                                                        </p>\r\n                                                    </button>\r\n                                                    <button '+
((__t=( e.click('removeItem', {index, dindex, tdindex}) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'schedule__btnCancel') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                                                        '+
((__t=( f.renderBlock('icons.i_x') ))==null?'':__t)+
'\r\n                                                    </button>\r\n                                                </li>\r\n\r\n                                            ';
 } 
__p+='\r\n                                        ';
 } 
__p+='\r\n                                    </ul>\r\n\r\n\r\n                                    \r\n                                    <div class="'+
((__t=( f.getClass('ivent__sectionBtn') ))==null?'':__t)+
'">\r\n                                        <button '+
((__t=( e.click('addEvent', {
                                            program: data.program,
                                            index: index,
                                        }) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnLight') ))==null?'':__t)+
'">\r\n                                            Добавить\r\n                                        </button>\r\n                                    </div>\r\n                                ';
 } else {
__p+='\r\n                                    <ul class="'+
((__t=( f.getClass('resetList', 'ivent__list') ))==null?'':__t)+
'">\r\n                                        <li class="'+
((__t=( f.getClass('ivent__item', 'schedule') ))==null?'':__t)+
'">\r\n                                            \r\n                                            <div class="'+
((__t=( f.getClass('resetBtn', 'schedule__empty') ))==null?'':__t)+
'">\r\n                                                <p class="'+
((__t=( f.getClass('schedule__secondText') ))==null?'':__t)+
'">\r\n                                                    Событий нет\r\n                                                </p>\r\n                                                <button '+
((__t=( e.click('addEvent',{index}) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnLight') ))==null?'':__t)+
'">\r\n                                                    Добавить\r\n                                                </button>\r\n                                            </div>\r\n                                        </li>\r\n                                    </ul>\r\n                                ';
 } 
__p+='\r\n                            </div>\r\n                            \r\n                        ';
 } 
__p+='\r\n\r\n                    </div>\r\n                </div>\r\n            </div>\r\n        ';
 } 
__p+='\r\n    ';
 } else if (!data.finished_at || !data.started_at) { 
__p+='\r\n            <div class="'+
((__t=( f.getClass('iventEmptyPage') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('iventEmptyPage__container') ))==null?'':__t)+
'">\r\n                    <p class="'+
((__t=( f.getClass('iventEmptyPage__text') ))==null?'':__t)+
'">\r\n                        Чтобы добавить программу мероприятия, укажите даты проведения мероприятия в разделе информация\r\n                    </p>\r\n                    <button '+
((__t=( e.click('selectDates') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnLightBig') ))==null?'':__t)+
'">\r\n                        Добавить даты\r\n                    </button>\r\n                </div>\r\n            </div>\r\n    ';
 } else if (data.items.length === 0){ 
__p+='\r\n            <div class="'+
((__t=( f.getClass('iventEmptyPage') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('iventEmptyPage__container') ))==null?'':__t)+
'">\r\n                    <p class="'+
((__t=( f.getClass('iventEmptyPage__text') ))==null?'':__t)+
'">\r\n                        Что бы добавить события мероприятия добавльте программу\r\n                    </p>\r\n                    <button '+
((__t=( e.click('addProgram')))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnLightBig') ))==null?'':__t)+
'">\r\n                        Добавить программу\r\n                    </button>\r\n                </div>\r\n            </div>\r\n    ';
 } 
__p+='\r\n\r\n    <div class="'+
((__t=( f.getClass('schedule__btnContainer') ))==null?'':__t)+
'">\r\n        ';
 if (!data.published) {
__p+='\r\n               ';
 if (data.removed){  
__p+='\r\n                    <button '+
((__t=( e.click('restore') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnAgree', 'spaceAutoRight') ))==null?'':__t)+
'">Восстановить</button>\r\n                ';
 } else { 
__p+='\r\n                    <button '+
((__t=( e.click('remove') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnCencel', 'spaceAutoRight') ))==null?'':__t)+
'">Удалить</button>\r\n                ';
 } 
__p+='\r\n        ';
 } else { 
__p+='\r\n            <div class="'+
((__t=( f.getClass('spaceAutoRight') ))==null?'':__t)+
'"></div>\r\n        ';
 } 
__p+='\r\n        <button '+
((__t=( e.click('prev') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnNeutral') ))==null?'':__t)+
'">Назад</button>\r\n       \r\n        ';
 if (!data.removed){ 
__p+='\r\n            ';
 if (!data.published) {
__p+='\r\n                <button '+
((__t=( e.click('save') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnAgree') ))==null?'':__t)+
'">Сохранить</button>\r\n            ';
 } 
__p+='\r\n        ';
 } 
__p+='\r\n\r\n\r\n        <button '+
((__t=( e.click('next') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnAgree') ))==null?'':__t)+
'">Далее</button>\r\n    </div>\r\n';
}
return __p;
}
window.renderBlocks['blocks-eventList.editProgram.selectIcon'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('selectIcon') ))==null?'':__t)+
'">\r\n    <button class="'+
((__t=( f.getClass('resetBtn', 'selectImgContainer', 'colorBrandMain') ))==null?'':__t)+
'" style="width:48px; height: 48px; min-width: 48px;">\r\n       ';
 if (data.img) { 
__p+=' \r\n            <img src="'+
((__t=( utils.makeImageUrl(data.img) ))==null?'':__t)+
'" style="width: 100%;">\r\n       ';
 } 
__p+='\r\n    </button>\r\n    ';
 if (data.icons) { 
__p+='\r\n        <div class="'+
((__t=( f.getClass('selectIcon__container') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('selectIcon__backColor') ))==null?'':__t)+
'">\r\n                <ul class="'+
((__t=( f.getClass('resetList', 'selectIcon__list', 'colorBrandMain') ))==null?'':__t)+
'">\r\n                    ';
 for (let index = 0; index < data.icons.length; index++) {
                        const icon = data.icons[index]; 
__p+='\r\n    \r\n                        <li '+
((__t=( e.click('selectIcon', index)))==null?'':__t)+
' class="'+
((__t=( f.getClass('selectIcon__item') ))==null?'':__t)+
'" style="width:48px; height: 48px; min-width: 48px;">\r\n                            <button class="'+
((__t=( f.getClass('resetBtn', 'selectImgContainer') ))==null?'':__t)+
'">\r\n                                <img src="'+
((__t=( utils.makeImageUrl(icon) ))==null?'':__t)+
'" style="width: 100%;">\r\n                                <div class="'+
((__t=( f.getClass('selectIcon__hoverItem') ))==null?'':__t)+
'">\r\n\r\n                                </div>\r\n                            </button>\r\n                        </li>\r\n                    ';
 } 
__p+='\r\n                </ul>\r\n            </div>\r\n        </div>\r\n    ';
 } 
__p+='\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-eventList.editServices'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('eddServices') ))==null?'':__t)+
'">\r\n    ';
 if (data.services) { 
__p+='\r\n        <div class="'+
((__t=( f.getClass('eddServices__scroll') ))==null?'':__t)+
' scrollBar">\r\n            <div class="'+
((__t=( f.getClass('eddServices__scroll-container') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('services__head') ))==null?'':__t)+
'">\r\n                    <h2 class="'+
((__t=( f.getClass('services__litle', 'textH3', 'textColorPr') ))==null?'':__t)+
'">\r\n                        Доступные сервисы\r\n                    </h2>\r\n                </div>\r\n                \r\n                <div class="'+
((__t=( f.getClass('eddServices__section') ))==null?'':__t)+
'">\r\n                    <ul class="'+
((__t=( f.getClass('resetList', 'eddServices__list') ))==null?'':__t)+
'">\r\n                        ';
 for (let i = 0; i < data.services.length; i++) { 
__p+='\r\n                            \r\n                            <li class="'+
((__t=( f.getClass('eddServices__item', 'schedule') ))==null?'':__t)+
'">\r\n                                <button '+
((__t=( e.click('openService', data.services[i]) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'serviceBlock__btn', !data.services[i].template_id && 'no-active') ))==null?'':__t)+
'">\r\n                                    ';
 if (!data.services[i].img) { 
__p+='\r\n                                        \r\n                                        <div class="'+
((__t=( f.getClass('serviceBlock__empty') ))==null?'':__t)+
'" style="width: 48px; height: 48px; min-width: 48px;">\r\n                                            '+
((__t=( f.renderBlock('icons.i_map-pin') ))==null?'':__t)+
'\r\n                                        </div>\r\n                                    ';
 } else { 
__p+='\r\n                                        \r\n                                        <div class="'+
((__t=( f.getClass('serviceBlock__preview') ))==null?'':__t)+
'" style="width: 48px; height: 48px; min-width: 48px;">\r\n                                            <img src="'+
((__t=( utils.makeImageUrl(data.services[i].img) ))==null?'':__t)+
'" alt="" style="width: 100%">\r\n                                        </div>\r\n                                    ';
 } 
__p+='\r\n                                    <div class="'+
((__t=( f.getClass('serviceBlock__container') ))==null?'':__t)+
'">\r\n                                        <!-- <h3 class="'+
((__t=( f.getClass('serviceBlock__title') ))==null?'':__t)+
'">\r\n                                            Привилегия\r\n                                        </h3> -->\r\n                                        <p class="'+
((__t=( f.getClass('serviceBlock__text') ))==null?'':__t)+
'">\r\n                                            '+
((__t=( data.services[i].name ))==null?'':__t)+
'\r\n                                        </p>\r\n                                        <!-- <p class="'+
((__t=( f.getClass('serviceBlock__secondtext') ))==null?'':__t)+
'">\r\n                                            Подпись\r\n                                        </p> -->\r\n                                    </div>\r\n                                </button>\r\n                                     <!-- <button class="'+
((__t=( f.getClass('resetBtn', 'schedule__btnCancel') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                                    '+
((__t=( f.renderBlock('icons.i_x') ))==null?'':__t)+
'\r\n                                </button>-->\r\n                            </li>\r\n                        ';
 } 
__p+='\r\n                    </ul>\r\n                    \r\n                    <div class="'+
((__t=( f.getClass('eddServices__sectionBtn') ))==null?'':__t)+
'">\r\n                        <button '+
((__t=( e.click('addService') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnLight') ))==null?'':__t)+
'">\r\n                            Добавить сервис\r\n                        </button>\r\n                    </div>\r\n                </div>\r\n            </div>\r\n        </div>\r\n    ';
 } else { 
__p+='\r\n        <div class="'+
((__t=( f.getClass('eddServices') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('eddServicesEmptyPage') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('eddServicesEmptyPage__container') ))==null?'':__t)+
'">\r\n                    <button '+
((__t=( e.click('addService') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnLightBig') ))==null?'':__t)+
'">\r\n                        Добавить сервис\r\n                    </button>\r\n                </div>\r\n            </div>\r\n        </div>\r\n    ';
 } 
__p+='\r\n    <div class="'+
((__t=( f.getClass('schedule__btnContainer') ))==null?'':__t)+
'">\r\n        ';
 if (!data.published) {
__p+='\r\n            ';
 if (data.removed){  
__p+='\r\n                <button '+
((__t=( e.click('restore') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnAgree', 'spaceAutoRight') ))==null?'':__t)+
'">Восстановить</button>\r\n            ';
 } else { 
__p+='\r\n                <button '+
((__t=( e.click('remove') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnCencel', 'spaceAutoRight') ))==null?'':__t)+
'">Удалить</button>\r\n            ';
 } 
__p+='\r\n        ';
 } else { 
__p+='\r\n            <div class="'+
((__t=( f.getClass('spaceAutoRight') ))==null?'':__t)+
'"></div>\r\n        ';
 } 
__p+='\r\n        <button '+
((__t=( e.click('prev') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnNeutral') ))==null?'':__t)+
'">Назад</button>\r\n\r\n        ';
 if (!data.removed){ 
__p+='\r\n            ';
 if (!data.published) {
__p+='\r\n                <button '+
((__t=( e.click('save') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnAgree') ))==null?'':__t)+
'" >Сохранить</button>\r\n            ';
 } 
__p+='\r\n        ';
 } 
__p+='\r\n        \r\n        <button '+
((__t=( e.click('next') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnAgree') ))==null?'':__t)+
'">Далее</button>\r\n    </div>\r\n</div>\r\n\r\n\r\n'+
((__t=( f.renderBlock('pages-privileges.service', {pref: 'service'}) ))==null?'':__t)+
'\r\n';
}
return __p;
}
window.renderBlocks['blocks-eventList.event'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('iventInfo') ))==null?'':__t)+
'">\r\n    \r\n    <div class="'+
((__t=( f.getClass('iventInfo__scroll') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('iventInfo__content') ))==null?'':__t)+
'">\r\n            <h2 class="'+
((__t=( f.getClass('iventInfo__title') ))==null?'':__t)+
'">\r\n                '+
((__t=( data.event.title ))==null?'':__t)+
'\r\n            </h2>\r\n            <div class="'+
((__t=( f.getClass('iventInfo__imgContainer') ))==null?'':__t)+
'" style="position: relative; width: 100%; max-width: 320px; overflow: hidden;">\r\n                <img class="'+
((__t=( f.getClass('iventInfo__img') ))==null?'':__t)+
'" src="'+
((__t=( utils.makeImageUrl(data.event.logo) ))==null?'':__t)+
'" alt="" style="position: absolute; top: 50%; left: 0; transform: translateY(-50%); width: 100%;">\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('iventInfo__container') ))==null?'':__t)+
'">\r\n                <p class="'+
((__t=( f.getClass('iventInfo__text') ))==null?'':__t)+
'">\r\n                    '+
((__t=( data.event.description ))==null?'':__t)+
'\r\n                </p>\r\n            </div>\r\n        </div>\r\n    </div>\r\n    \r\n    <div class="'+
((__t=( f.getClass('iventInfo__menu', 'iventInfoMenu') ))==null?'':__t)+
' scrollBar">\r\n        <div class="'+
((__t=( f.getClass('iventInfoMenu__scrollContainer') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('iventInfoMenu__main') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('iventInfoMenu__list') ))==null?'':__t)+
'">\r\n                    <div class="'+
((__t=( f.getClass('iventInfoMenu__item') ))==null?'':__t)+
'">\r\n                        <h3 class="'+
((__t=( f.getClass('iventInfoMenu__subtitle') ))==null?'':__t)+
'">\r\n                            Статус\r\n                        </h3>\r\n                        <p class="'+
((__t=( f.getClass('iventInfoMenu__text') ))==null?'':__t)+
'">\r\n                            ';
 if (EVStatus.prototype.isRemoved(data.event.status)) { 
__p+='\r\n                                Удалено\r\n                            ';
 } else if (EVStatus.prototype.isPublished(data.event.status)) {
__p+='\r\n                                Черновик\r\n                            ';
 } else { 
__p+='\r\n                                Опубликовано\r\n                            ';
 } 
__p+='\r\n                        </p>\r\n                    </div>\r\n                    <div class="'+
((__t=( f.getClass('iventInfoMenu__item') ))==null?'':__t)+
'">\r\n                        <h3 class="'+
((__t=( f.getClass('iventInfoMenu__subtitle') ))==null?'':__t)+
'">\r\n                            Мероприятие\r\n                        </h3>\r\n                        <p class="'+
((__t=( f.getClass('iventInfoMenu__text') ))==null?'':__t)+
'">\r\n                            ';
  
                                const started = moment(data.event.started_at);
                                const finished = moment(data.event.finished_at);
                                const now = moment();
                            
                                if ( finished.isBefore(started) || started === undefined || finished === undefined ) { 
                            
__p+='\r\n                                ошибка дат\r\n                            ';
 } else if ( finished.isBefore(now) ) { 
__p+='\r\n                                Завершено\r\n                            ';
 } else if ( now.isBefore(started) ) { 
__p+='\r\n                                Запланировано\r\n                            ';
 } else { 
__p+='\r\n                                Идёт\r\n                            ';
 } 
__p+='\r\n                        </p>\r\n                    </div>\r\n                    <div class="'+
((__t=( f.getClass('iventInfoMenu__item') ))==null?'':__t)+
'">\r\n                        <h3 class="'+
((__t=( f.getClass('iventInfoMenu__subtitle') ))==null?'':__t)+
'">\r\n                            Начало\r\n                        </h3>\r\n                        <time class="'+
((__t=( f.getClass('iventInfoMenu__text') ))==null?'':__t)+
'" datetime="'+
((__t=( moment(data.event.started_at).locale(context.locale).format('YYYY-MM-DDTHH:mm') ))==null?'':__t)+
'">\r\n                            '+
((__t=( utils.moment(data.event.started_at).locale(context.locale).format('D MMMM YYYY HH:mm') ))==null?'':__t)+
'\r\n                        </time>\r\n                    </div>\r\n                    <div class="'+
((__t=( f.getClass('iventInfoMenu__item') ))==null?'':__t)+
'">\r\n                        <h3 class="'+
((__t=( f.getClass('iventInfoMenu__subtitle') ))==null?'':__t)+
'">\r\n                            Завершение\r\n                        </h3>\r\n                        <time class="'+
((__t=( f.getClass('iventInfoMenu__text') ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(data.event.finished_at).locale(context.locale).format('YYYY-MM-DDTHH:mm') ))==null?'':__t)+
'">\r\n                            '+
((__t=( utils.moment(data.event.finished_at).locale(context.locale).format('D MMMM YYYY HH:mm') ))==null?'':__t)+
'\r\n                        </time>\r\n                    </div>\r\n                    <div class="'+
((__t=( f.getClass('iventInfoMenu__item') ))==null?'':__t)+
'">\r\n                        <h3 class="'+
((__t=( f.getClass('iventInfoMenu__subtitle') ))==null?'':__t)+
'">\r\n                            Место проведения\r\n                        </h3>\r\n                        <p class="'+
((__t=( f.getClass('iventInfoMenu__text') ))==null?'':__t)+
'">\r\n                            '+
((__t=( data.event.city ))==null?'':__t)+
'\r\n                        </p>\r\n                    </div>\r\n                </div>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('iventInfoMenu__statuses') ))==null?'':__t)+
'">\r\n                <ul class="'+
((__t=( f.getClass('resetList', 'iventInfoMenu__list') ))==null?'':__t)+
'">\r\n                    <li class="'+
((__t=( f.getClass('iventInfoMenu__item') ))==null?'':__t)+
'">\r\n                        <h4 class="'+
((__t=( f.getClass('iventInfoMenu__subtitle') ))==null?'':__t)+
'">\r\n                            Изменен\r\n                        </h4>\r\n                        <time class="'+
((__t=( f.getClass('iventInfoMenu__text') ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(data.event._timestamp).locale(context.locale).format('YYYY-MM-DDTHH:mm') ))==null?'':__t)+
'">\r\n                            '+
((__t=( utils.moment(data.event._timestamp).locale(context.locale).format('D MMMM YYYY HH:mm') ))==null?'':__t)+
'\r\n                        </time>\r\n                    </li>\r\n                    <li class="'+
((__t=( f.getClass('iventInfoMenu__item') ))==null?'':__t)+
'">\r\n                        <h4 class="'+
((__t=( f.getClass('iventInfoMenu__subtitle') ))==null?'':__t)+
'">\r\n                            Создан\r\n                        </h4>\r\n                        <time class="'+
((__t=( f.getClass('iventInfoMenu__text') ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(data.event.created_at).locale(context.locale).format('YYYY-MM-DDTHH:mm') ))==null?'':__t)+
'">\r\n                            '+
((__t=( moment(data.event.created_at).locale(context.locale).format('D MMMM YYYY HH:mm') ))==null?'':__t)+
'\r\n                        </time>\r\n                    </li>\r\n                </ul>\r\n                <div class="'+
((__t=( f.getClass('iventInfoMenu__item') ))==null?'':__t)+
'">\r\n                    <h4 class="'+
((__t=( f.getClass('iventInfoMenu__subtitle') ))==null?'':__t)+
'">\r\n                        Добавил\r\n                    </h4>\r\n                    <a class="'+
((__t=( f.getClass('resetLink', 'iventInfoMenu__link') ))==null?'':__t)+
'" href="/operators/'+
((__t=( data.event.created_by ))==null?'':__t)+
'">\r\n                        '+
((__t=( data.event.user_first_name + " " + data.event.user_last_name ))==null?'':__t)+
'\r\n                    </a>\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-eventList'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('ivent') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('ivent__head', 'iventHead') ))==null?'':__t)+
'">\r\n        \r\n        <div class="'+
((__t=( f.getClass('iventHead__eventList') ))==null?'':__t)+
'">\r\n            <h1 class="'+
((__t=( f.getClass('ivent__title', 'textH2', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                Мероприятия\r\n            </h1>\r\n            <button class="'+
((__t=( f.getClass('ivent__search', 'search-btn') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('search-btn__img') ))==null?'':__t)+
'" style="height: 20px; width: 20px;">\r\n                    '+
((__t=( f.renderBlock("icons.i_search")  ))==null?'':__t)+
'\r\n                </div>\r\n                Поиск\r\n            </button>\r\n            <button class="'+
((__t=( f.getClass('btnAgree') ))==null?'':__t)+
'">\r\n                Добавить\r\n            </button>\r\n        </div>\r\n        <div class="'+
((__t=( f.getClass('ivent__tab') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock('tab', {
                name:'clients',
                selected: query.type || 'all',
                items:[
                    {title:'Все',value:'all'},
                    {title:'Актуальные',value:'actual'},
                ]
            }) ))==null?'':__t)+
'\r\n        </div>\r\n        \r\n\r\n        \r\n        <div class="'+
((__t=( f.getClass('iventHead__eventList') ))==null?'':__t)+
'">\r\n            <button class="'+
((__t=( f.getClass('resetBtn', 'iventForumHead') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('iventForumHead__btnImg') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                    '+
((__t=( f.renderBlock('icons.i_chevron-left') ))==null?'':__t)+
'\r\n                </div>\r\n                <div class="'+
((__t=( f.getClass('iventForumHead__avatar') ))==null?'':__t)+
'" style="width: 48px; min-width: 48px; height: 48px;">\r\n                    <img class="'+
((__t=( f.getClass('iventForumHead__img') ))==null?'':__t)+
'" src="/img/test_img.png" alt="" aria-hidden="true" style="width: 100%;">\r\n                </div>\r\n                <div class="'+
((__t=( f.getClass('iventForumHead__container') ))==null?'':__t)+
'">\r\n                    <h1 class="'+
((__t=( f.getClass('iventForumHead__title', 'textLB', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                        Международный бизнес форум «Мир возможностей»\r\n                    </h1>\r\n                    <span class="'+
((__t=( f.getClass('iventForumHead__dates', 'textL', 'dark500base') ))==null?'':__t)+
'">\r\n                        <time class="'+
((__t=( f.getClass('iventForumHead__date', 'textL', 'dark500base') ))==null?'':__t)+
'" datetime="2024-09-06">\r\n                            6 сентября\r\n                        </time>\r\n                        -\r\n                        <time class="'+
((__t=( f.getClass('iventForumHead__date', 'textL', 'dark500base') ))==null?'':__t)+
'" datetime="2024-09-11">\r\n                            11 сентября\r\n                        </time>\r\n                        Сочи\r\n                    </span>\r\n                </div>\r\n            </button>\r\n            <button class="'+
((__t=( f.getClass('btnAgreeLight') ))==null?'':__t)+
'">\r\n                Редактировать\r\n            </button>\r\n        </div>\r\n        <div class="'+
((__t=( f.getClass('ivent__tab') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock('tab', {
                name:'clients',
                selected: query.type || 'information',
                items:[
                    {title:'Информация',value:'information'},
                    {title:'Программа',value:'program'},
                    {title:'Сервисы',value:'services'},
                    {title:'Партнеры',value:'partners'},
                ]
            }) ))==null?'':__t)+
'\r\n        </div>\r\n        \r\n\r\n        \r\n        <div class="'+
((__t=( f.getClass('iventHead__eventList') ))==null?'':__t)+
'">\r\n            <button class="'+
((__t=( f.getClass('resetBtn', 'editIventHead') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('editIventHead__img') ))==null?'':__t)+
'" style="height: 24px; width: 24px; min-width: 24px;">\r\n                    '+
((__t=( f.renderBlock('icons.i_chevron-left') ))==null?'':__t)+
'\r\n                </div>\r\n                <h1 class="'+
((__t=( f.getClass('editIventHead__title', 'textH2', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                    Новое мероприятие\r\n                </h1>\r\n            </button>\r\n        </div>\r\n        <div class="'+
((__t=( f.getClass('ivent__tab') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock('tab', {
                name:'clients',
                selected: query.type || 'information',
                items:[
                    {title:'Информация',value:'information'},
                    {title:'Программа',value:'program'},
                    {title:'Сервисы',value:'services'},
                    {title:'Партнеры',value:'partners'},
                ]
            }) ))==null?'':__t)+
'\r\n        </div>\r\n        \r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('ivent__main') ))==null?'':__t)+
'">\r\n        \r\n        \r\n        \r\n        \r\n        \r\n\r\n        \r\n        \r\n        \r\n        \r\n        '+
((__t=( f.renderBlock("eventList.editEvent")  ))==null?'':__t)+
'\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-eventList.eventModal'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';
 if (data.visible) { 
__p+='\r\n    <div class="'+
((__t=( f.getClass('eventModal') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('eventModal__container') ))==null?'':__t)+
'">\r\n            <button '+
((__t=( e.click('close') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'eventModal__close') ))==null?'':__t)+
'" style="width: 24px; height: 24px; min-width: 24px;"  aria-label="Закрыть">\r\n                '+
((__t=( f.renderBlock('icons.i_x') ))==null?'':__t)+
'\r\n            </button>\r\n            <div class="'+
((__t=( f.getClass('eventModal__block') ))==null?'':__t)+
'">\r\n                \r\n                \r\n                    \r\n                \r\n                    \r\n                \r\n                \r\n                \r\n                ';
 if ( data.content[0] === 'partners') { 
__p+='\r\n                    '+
((__t=( f.renderBlock('eventList.eventModal.modalPartnersList', data.content ) ))==null?'':__t)+
'\r\n                ';
 } else if ( data.content[0]  === 'services' ) { 
__p+='\r\n                    '+
((__t=( f.renderBlock('eventList.eventModal.modalServices', data.content ) ))==null?'':__t)+
'\r\n                ';
 } else if ( data.content[0]  === 'program' ) { 
__p+='\r\n                    '+
((__t=( f.renderBlock('eventList.eventModal.modalProgram', data.content ) ))==null?'':__t)+
'\r\n                ';
 } else if (data.content[0]  === 'editProgramm') { 
__p+='\r\n                    '+
((__t=( f.renderBlock('eventList.eventModal.modalEditProgram', data.content ) ))==null?'':__t)+
'\r\n                ';
 } 
__p+='\r\n            </div>\r\n        </div>\r\n    </div>\r\n';
 } 
__p+='';
}
return __p;
}
window.renderBlocks['blocks-eventList.eventModal.modalEditProgram'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='    <div class="'+
((__t=( f.getClass('programEditModal__head') ))==null?'':__t)+
'">\r\n        <h2 class="'+
((__t=( f.getClass('programEditModal__title', 'textH3', 'ColorTextPr') ))==null?'':__t)+
'">\r\n            '+
((__t=( data[1].event_title ))==null?'':__t)+
'\r\n        </h2>\r\n        <div class="'+
((__t=( f.getClass('programEditModal__tab') ))==null?'':__t)+
'">\r\n            <div>'+
((__t=(data[1].program_title ))==null?'':__t)+
'</div>\r\n        </div>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('programEditModal__scroll') ))==null?'':__t)+
' scrollBar">\r\n        <div class="'+
((__t=( f.getClass('programEditModal__scrollContainer') ))==null?'':__t)+
'">\r\n            <lable class="'+
((__t=( f.getClass('programEditModal__input', 'input') ))==null?'':__t)+
'">\r\n                <h3 class="'+
((__t=( f.getClass('input__title') ))==null?'':__t)+
'">\r\n                    Название\r\n                </h3>\r\n                <input '+
((__t=( e.ref('title') ))==null?'':__t)+
' required value="'+
((__t=( data[1].title ))==null?'':__t)+
'" class="'+
((__t=( f.getClass('input__input') ))==null?'':__t)+
'" type="text">\r\n            </lable>\r\n            <div class="'+
((__t=( f.getClass('programEditModal__section') ))==null?'':__t)+
'">\r\n                <lable class="'+
((__t=( f.getClass('programEditModal__input', 'input') ))==null?'':__t)+
'">\r\n                    <h3 class="'+
((__t=( f.getClass('input__title') ))==null?'':__t)+
'">\r\n                        Время начала\r\n                    </h3>\r\n                    <input '+
((__t=( e.ref('start_at') ))==null?'':__t)+
' required class="'+
((__t=( f.getClass('input__input') ))==null?'':__t)+
'" type="time" value="'+
((__t=( data[1].start_at ? utils.moment(data[1].start_at).format('HH:mm') : '' ))==null?'':__t)+
'">\r\n                </lable>\r\n                <lable class="'+
((__t=( f.getClass('programEditModal__input', 'input') ))==null?'':__t)+
'">\r\n                    <h3 class="'+
((__t=( f.getClass('input__title') ))==null?'':__t)+
'">\r\n                        Время завершения\r\n                    </h3>\r\n                    <input '+
((__t=( e.ref('finish_at') ))==null?'':__t)+
' required class="'+
((__t=( f.getClass('input__input') ))==null?'':__t)+
'" type="time" value="'+
((__t=( data[1].finish_at ? utils.moment(data[1].finish_at).format('HH:mm') : '' ))==null?'':__t)+
'">\r\n                </lable>\r\n            </div>\r\n            <lable class="'+
((__t=( f.getClass('programEditModal__input', 'input') ))==null?'':__t)+
'">\r\n                <h3 class="'+
((__t=( f.getClass('input__title') ))==null?'':__t)+
'">\r\n                    Место проведения\r\n                </h3>\r\n                <input '+
((__t=( e.ref('location') ))==null?'':__t)+
' required value="'+
((__t=( data[1].location ))==null?'':__t)+
'"  class="'+
((__t=( f.getClass('input__input') ))==null?'':__t)+
'" type="text">\r\n            </lable>\r\n            <lable class="'+
((__t=( f.getClass('programEditModal__input', 'input') ))==null?'':__t)+
'">\r\n                <h3 class="'+
((__t=( f.getClass('input__title') ))==null?'':__t)+
'">\r\n                    Описание\r\n                </h3>\r\n                <textarea '+
((__t=( e.ref('description') ))==null?'':__t)+
' required class="'+
((__t=( f.getClass('input__input', 'programEditModal__textarea') ))==null?'':__t)+
'">'+
((__t=( data[1].description ))==null?'':__t)+
'</textarea>\r\n            </lable>\r\n        </div>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('eventModal__menu') ))==null?'':__t)+
'">\r\n        <div></div>\r\n        \r\n        <div class="'+
((__t=( f.getClass('eventModal__btnGroup') ))==null?'':__t)+
'">\r\n            <button '+
((__t=( e.click('close') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnAgree') ))==null?'':__t)+
'">\r\n                Закрыть\r\n            </button>\r\n   \r\n            <button '+
((__t=( e.click('add') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnAgreeMain') ))==null?'':__t)+
'">\r\n                Добавить\r\n            </button>\r\n        </div>\r\n    </div>\r\n';
}
return __p;
}
window.renderBlocks['blocks-eventList.eventModal.modalPartners'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('partnersModal') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('partnersModal__head') ))==null?'':__t)+
'">\r\n        <h2 class="'+
((__t=( f.getClass('partnersModal__title', 'textH3', 'ColorTextPr') ))==null?'':__t)+
'">\r\n            '+
((__t=( data[1].name ))==null?'':__t)+
'\r\n        </h2>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('partnersModal__scroll') ))==null?'':__t)+
' scrollBar">\r\n        <div class="'+
((__t=( f.getClass('partnersModal__scrollContainer') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('partnersModal__section') ))==null?'':__t)+
'">\r\n                <h3 class="'+
((__t=( f.getClass('partnersModal__subtitle', 'colorTextSec', 'textS') ))==null?'':__t)+
'">\r\n                    Директор\r\n                </h3>\r\n                <p class="'+
((__t=( f.getClass('partnersModal__text', 'textM', 'colorTextPr') ))==null?'':__t)+
'">\r\n                    '+
((__t=( data[1].director ))==null?'':__t)+
'\r\n                </p>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('partnersModal__section') ))==null?'':__t)+
'">\r\n                <h3 class="'+
((__t=( f.getClass('partnersModal__subtitle', 'colorTextSec', 'textS') ))==null?'':__t)+
'">\r\n                    Краткое описание\r\n                </h3>\r\n                <p class="'+
((__t=( f.getClass('partnersModal__text', 'textM', 'colorTextPr') ))==null?'':__t)+
'">\r\n                    '+
((__t=( data[1].subtitle ))==null?'':__t)+
'\r\n                </p>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('partnersModal__section') ))==null?'':__t)+
'">\r\n                <h3 class="'+
((__t=( f.getClass('partnersModal__subtitle', 'colorTextSec', 'textS') ))==null?'':__t)+
'">\r\n                    Полное описание\r\n                </h3>\r\n                <p class="'+
((__t=( f.getClass('partnersModal__text', 'textM', 'colorTextPr') ))==null?'':__t)+
'">\r\n                    '+
((__t=( data[1].description ))==null?'':__t)+
'\r\n                </p>\r\n\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('partnersModal__section') ))==null?'':__t)+
'">\r\n                <h3 class="'+
((__t=( f.getClass('partnersModal__subtitle', 'colorTextSec', 'textS') ))==null?'':__t)+
'">\r\n                    Логотип\r\n                </h3>\r\n                <div class="'+
((__t=( f.getClass('partnersModal__logo') ))==null?'':__t)+
'" style="width: 96px; height: 96px; overflow: hidden;">\r\n                    <img class="'+
((__t=( f.getClass('partnersModal__imgLogo') ))==null?'':__t)+
'" src="'+
((__t=( utils.makeImageUrl(data[1].logo) ))==null?'':__t)+
'" alt="" aria-hidden="true" style="width: 100%;">\r\n                </div>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('partnersModal__section') ))==null?'':__t)+
'">\r\n                <h3 class="'+
((__t=( f.getClass('partnersModal__subtitle', 'colorTextSec', 'textS') ))==null?'':__t)+
'">\r\n                    Обложка\r\n                </h3>\r\n                <div class="'+
((__t=( f.getClass('partnersModal__preview') ))==null?'':__t)+
'" style="width: 320px; height: 240px; overflow: hidden;">\r\n                    <img class="'+
((__t=( f.getClass('partnersModal__imgPreview') ))==null?'':__t)+
'" src="'+
((__t=( utils.makeImageUrl(data[1].img) ))==null?'':__t)+
'" alt="" style="width: 100%;" aria-hidden="true">\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-eventList.eventModal.modalPartnersList.item'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='    <button '+
((__t=( e.click('onItemClick', data) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'partnersBlock__btn') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('partnersBlock__preview') ))==null?'':__t)+
'" style="width: 48px; height: 48px; min-width: 48px;">\r\n            <img src="'+
((__t=( utils.makeImageUrl(data.logo) ))==null?'':__t)+
'" alt="" style="width: 100%">\r\n        </div>\r\n        <div class="'+
((__t=( f.getClass('partnersBlock__container') ))==null?'':__t)+
'">\r\n            <p class="'+
((__t=( f.getClass('partnersBlock__secondtext') ))==null?'':__t)+
'">\r\n               '+
((__t=( data.name ))==null?'':__t)+
'\r\n            </p>\r\n        </div>\r\n    </button>';
}
return __p;
}
window.renderBlocks['blocks-eventList.eventModal.modalPartnersList'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('partnersEditModal__head') ))==null?'':__t)+
'">\r\n    <h2 class="'+
((__t=( f.getClass('partnersEditModal__title', 'textH3', 'ColorTextPr') ))==null?'':__t)+
'">\r\n        Выберите шаблон\r\n    </h2>\r\n    <div class="'+
((__t=( f.getClass('partnersEditModal__iput', 'partnersEditModalIput') ))==null?'':__t)+
'">\r\n        <input '+
((__t=( e.on('input','onInputSearch') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('input48', 'partnersEditModalIput__input') ))==null?'':__t)+
'" type="text" placeholder="Найти">\r\n        <div class="'+
((__t=( f.getClass('partnersEditModalIput__img') ))==null?'':__t)+
'" style="width: 20px; min-width: 20px; height: 20px;">\r\n            '+
((__t=( f.renderBlock('icons.i_search') ))==null?'':__t)+
'\r\n        </div>\r\n    </div>\r\n</div>\r\n<div class="'+
((__t=( f.getClass('partnersEditModal__scroll') ))==null?'':__t)+
' scrollBar">\r\n    <div class="'+
((__t=( f.getClass('partnersEditModal__scrollContainer') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('resetList', 'partnersEditModal__list') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock("list",{
                pref:'list',
                rowBlock:'eventList.eventModal.modalPartnersList.item',
                params:{},
                limit:20,
                command:'partner.getList',
            })  ))==null?'':__t)+
'\r\n        </div>   \r\n    </div>\r\n</div>\r\n';
}
return __p;
}
window.renderBlocks['blocks-eventList.eventModal.modalProgram'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('programModal') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('programModal__head') ))==null?'':__t)+
'">\r\n        <h2 class="'+
((__t=( f.getClass('programModal__tag') ))==null?'':__t)+
'">\r\n            ';
 if ( data[0] === 'business' ) { 
__p+='\r\n                Деловая программа\r\n            ';
 } else { 
__p+='\r\n                Культурная программа\r\n            ';
 } 
__p+='\r\n        </h2>\r\n    </div>\r\n    <h3 class="'+
((__t=( f.getClass('programModal__title', 'textH3', 'ColorTextPr') ))==null?'':__t)+
'">\r\n        '+
((__t=( data[1].title ))==null?'':__t)+
'\r\n    </h3>\r\n    <div class="'+
((__t=( f.getClass('programModal__scroll') ))==null?'':__t)+
' scrollBar">\r\n        <div class="'+
((__t=( f.getClass('programModal__scrollContainer') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('programModal__info', 'programModalInfo') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('programModalInfo__item') ))==null?'':__t)+
'">\r\n                    <h4 class="'+
((__t=( f.getClass('programModalInfo__subtitle') ))==null?'':__t)+
'">\r\n                        Время\r\n                    </h4>\r\n                    <p class="'+
((__t=( f.getClass('programModalInfo__container', 'programModalInfo__text') ))==null?'':__t)+
'">\r\n                        <time class="'+
((__t=( f.getClass('programModalInfo__text') ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(data[1].start_at).locale(context.locale).format('YYYY-MM-DDTHH:mm') ))==null?'':__t)+
'">\r\n                            '+
((__t=( utils.moment(data[1].start_at).locale(context.locale).format('HH:mm') ))==null?'':__t)+
'\r\n                        </time>\r\n                        <span class="'+
((__t=( f.getClass('programModalInfo__separator') ))==null?'':__t)+
'">\r\n                            &nbsp-&nbsp\r\n                        </span>\r\n                        <time class="'+
((__t=( f.getClass('programModalInfo__text') ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(data[1].finish_at).locale(context.locale).format('YYYY-MM-DDTHH:mm') ))==null?'':__t)+
'">\r\n                            '+
((__t=( utils.moment(data[1].finish_at).locale(context.locale).format('HH:mm') ))==null?'':__t)+
'\r\n                        </time>\r\n                    </p>\r\n                </div>\r\n                <div class="'+
((__t=( f.getClass('programModalInfo__item', 'wholeWidth') ))==null?'':__t)+
'">\r\n                    <h4 class="'+
((__t=( f.getClass('programModalInfo__subtitle') ))==null?'':__t)+
'">\r\n                        Место\r\n                    </h4>\r\n                    <p class="'+
((__t=( f.getClass('programModalInfo__text') ))==null?'':__t)+
'">\r\n                        '+
((__t=( data[1].location ))==null?'':__t)+
'\r\n                    </p>\r\n                </div>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('programModalInfo__content', 'textM', 'ColorTextPr') ))==null?'':__t)+
'">\r\n                <p class="'+
((__t=( f.getClass('textM', 'ColorTextPr') ))==null?'':__t)+
'">\r\n                    '+
((__t=( data[1].description ))==null?'':__t)+
'\r\n                </p>\r\n            </div>\r\n        </div>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-eventList.eventModal.modalServices'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('servicesModal') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('servicesModal__head') ))==null?'':__t)+
'">\r\n        \r\n        <h2 class="'+
((__t=( f.getClass('servicesModal__title', 'textH3', 'ColorTextPr') ))==null?'':__t)+
'">\r\n            Заказ одежды\r\n        </h2>\r\n        \r\n        \r\n        <button class="'+
((__t=( f.getClass('servicesModal__btnBack') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('servicesModal__imgBack') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                '+
((__t=( f.renderBlock('icons.i_chevron-left') ))==null?'':__t)+
'\r\n            </div>\r\n            <h2 class="'+
((__t=( f.getClass('servicesModal__title', 'textH3', 'ColorTextPr') ))==null?'':__t)+
'">\r\n                Заказ одежды\r\n            </h2>\r\n        </button>\r\n                \r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('servicesModal__scroll') ))==null?'':__t)+
' scrollBar">\r\n        <div class="'+
((__t=( f.getClass('servicesModal__scrollContainer') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('servicesModal__section') ))==null?'':__t)+
'">\r\n                <label class="'+
((__t=( f.getClass('servicesModal__subhead') ))==null?'':__t)+
'">\r\n                    <h3 class="'+
((__t=( f.getClass('servicesModal__subtitle', 'textM', 'ColorTextSec') ))==null?'':__t)+
'">\r\n                        Название услуги\r\n                    </h3>\r\n                    <input class="'+
((__t=( f.getClass('servicesModal__name') ))==null?'':__t)+
'" type="text" value="Заказ одежды">\r\n                </label>\r\n                <div class="'+
((__t=( f.getClass('servicesModal__block', 'servicesModalBlock') ))==null?'':__t)+
'">\r\n                    <h4 class="'+
((__t=( f.getClass('servicesModalBlock__subtitle') ))==null?'':__t)+
'">\r\n                        Шаблон\r\n                    </h4>\r\n                    <p class="'+
((__t=( f.getClass('servicesModalBlock__input') ))==null?'':__t)+
'">\r\n                        Заказ одежды\r\n                    </p>\r\n                </div>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('servicesModal__section', 'servicesModalSection') ))==null?'':__t)+
'">\r\n                <h3 class="'+
((__t=( f.getClass('servicesModalSection__title', 'textM', 'ColorTextPr') ))==null?'':__t)+
'">\r\n                    Поля шаблона\r\n                </h3>\r\n                <div class="'+
((__t=( f.getClass('servicesModal__block', 'servicesModalBlock', 'bottomSpace8') ))==null?'':__t)+
'">\r\n                    <h4 class="'+
((__t=( f.getClass('servicesModalBlock__subtitle') ))==null?'':__t)+
'">\r\n                        Строка\r\n                    </h4>\r\n                    <p class="'+
((__t=( f.getClass('servicesModalBlock__input') ))==null?'':__t)+
'">\r\n                        Ресторан\r\n                    </p>\r\n                </div>\r\n                <div class="'+
((__t=( f.getClass('servicesModal__container', 'bottomSpace8') ))==null?'':__t)+
'">\r\n                    <div class="'+
((__t=( f.getClass('servicesModal__block', 'servicesModalBlock') ))==null?'':__t)+
'">\r\n                        <h4 class="'+
((__t=( f.getClass('servicesModalBlock__subtitle') ))==null?'':__t)+
'">\r\n                            Выбор даты\r\n                        </h4>\r\n                        <p class="'+
((__t=( f.getClass('servicesModalBlock__input') ))==null?'':__t)+
'">\r\n                            Дата брони\r\n                        </p>\r\n                    </div>\r\n                    <div class="'+
((__t=( f.getClass('servicesModal__block', 'servicesModalBlock') ))==null?'':__t)+
'">\r\n                        <h4 class="'+
((__t=( f.getClass('servicesModalBlock__subtitle') ))==null?'':__t)+
'">\r\n                            Выбор даты\r\n                        </h4>\r\n                        <p class="'+
((__t=( f.getClass('servicesModalBlock__input') ))==null?'':__t)+
'">\r\n                            Время брони\r\n                        </p>\r\n                    </div>\r\n                </div>\r\n                <div class="'+
((__t=( f.getClass('servicesModal__block', 'servicesModalBlock', 'bottomSpace8') ))==null?'':__t)+
'">\r\n                    <h4 class="'+
((__t=( f.getClass('servicesModalBlock__subtitle') ))==null?'':__t)+
'">\r\n                        Счетчик\r\n                    </h4>\r\n                    <p class="'+
((__t=( f.getClass('servicesModalBlock__input') ))==null?'':__t)+
'">\r\n                        Количество персон\r\n                    </p>\r\n                </div>\r\n                <div class="'+
((__t=( f.getClass('servicesModal__block', 'servicesModalBlock', 'bottomSpace8') ))==null?'':__t)+
'">\r\n                    <h4 class="'+
((__t=( f.getClass('servicesModalBlock__subtitle') ))==null?'':__t)+
'">\r\n                        Текстовое поле\r\n                    </h4>\r\n                    <p class="'+
((__t=( f.getClass('servicesModalBlock__input') ))==null?'':__t)+
'">\r\n                        Пожелания к бронированию\r\n                    </p>\r\n                </div>\r\n                <div class="'+
((__t=( f.getClass('servicesModal__block', 'servicesModalBlock', 'bottomSpace8') ))==null?'':__t)+
'">\r\n                    <h4 class="'+
((__t=( f.getClass('servicesModalBlock__subtitle') ))==null?'':__t)+
'">\r\n                        Строка\r\n                    </h4>\r\n                    <p class="'+
((__t=( f.getClass('servicesModalBlock__input') ))==null?'':__t)+
'">\r\n                        Ресторан\r\n                    </p>\r\n                </div>\r\n                <div class="'+
((__t=( f.getClass('servicesModal__container', 'bottomSpace8') ))==null?'':__t)+
'">\r\n                    <div class="'+
((__t=( f.getClass('servicesModal__block', 'servicesModalBlock') ))==null?'':__t)+
'">\r\n                        <h4 class="'+
((__t=( f.getClass('servicesModalBlock__subtitle') ))==null?'':__t)+
'">\r\n                            Выбор даты\r\n                        </h4>\r\n                        <p class="'+
((__t=( f.getClass('servicesModalBlock__input') ))==null?'':__t)+
'">\r\n                            Дата брони\r\n                        </p>\r\n                    </div>\r\n                    <div class="'+
((__t=( f.getClass('servicesModal__block', 'servicesModalBlock') ))==null?'':__t)+
'">\r\n                        <h4 class="'+
((__t=( f.getClass('servicesModalBlock__subtitle') ))==null?'':__t)+
'">\r\n                            Выбор даты\r\n                        </h4>\r\n                        <p class="'+
((__t=( f.getClass('servicesModalBlock__input') ))==null?'':__t)+
'">\r\n                            Время брони\r\n                        </p>\r\n                    </div>\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-eventList.eventModal.modalTemplate'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('servicesModalT') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('servicesModalT__head') ))==null?'':__t)+
'">\r\n        <h2 class="'+
((__t=( f.getClass('servicesModalT__title', 'textH3', 'ColorTextPr') ))==null?'':__t)+
'">\r\n            Выберите шаблон\r\n        </h2>\r\n        <div class="'+
((__t=( f.getClass('servicesModalT__iput', 'servicesModalTIput') ))==null?'':__t)+
'">\r\n            <input class="'+
((__t=( f.getClass('input48', 'servicesModalTIput__input') ))==null?'':__t)+
'" type="text" placeholder="Найти">\r\n            <div class="'+
((__t=( f.getClass('servicesModalTIput__img') ))==null?'':__t)+
'" style="width: 20px; min-width: 20px; height: 20px;">\r\n                '+
((__t=( f.renderBlock('icons.i_search') ))==null?'':__t)+
'\r\n            </div>\r\n        </div>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('servicesModalT__scroll') ))==null?'':__t)+
' scrollBar">\r\n        <div class="'+
((__t=( f.getClass('servicesModalT__scrollContainer') ))==null?'':__t)+
'">\r\n            <ul class="'+
((__t=( f.getClass('resetList', 'servicesModalT__list') ))==null?'':__t)+
'">\r\n                <li class="'+
((__t=( f.getClass('servicesModalT__item', 'servicesBlock') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__btn') ))==null?'':__t)+
'">\r\n                        Доставка аккредитации\r\n                    </button>\r\n                    \r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__favorite') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__container') ))==null?'':__t)+
'" style="position: relative;">\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img01') ))==null?'':__t)+
'" style="width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star') ))==null?'':__t)+
'\r\n                            </div>\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img02') ))==null?'':__t)+
'" style="position: absolute; top: 0; width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star-fill') ))==null?'':__t)+
'\r\n                            </div>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('servicesModalT__item', 'servicesBlock') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__btn') ))==null?'':__t)+
'">\r\n                        Гостиничное размещение\r\n                    </button>\r\n                    \r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__favorite', 'opacityVisible') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__container') ))==null?'':__t)+
'" style="position: relative;">\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img01') ))==null?'':__t)+
'" style="width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star') ))==null?'':__t)+
'\r\n                            </div>\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img02') ))==null?'':__t)+
'" style="position: absolute; top: 0; width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star-fill') ))==null?'':__t)+
'\r\n                            </div>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('servicesModalT__item', 'servicesBlock') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__btn') ))==null?'':__t)+
'">\r\n                        Размещение\r\n                    </button>\r\n                    \r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__favorite') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__container') ))==null?'':__t)+
'" style="position: relative;">\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img01') ))==null?'':__t)+
'" style="width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star') ))==null?'':__t)+
'\r\n                            </div>\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img02') ))==null?'':__t)+
'" style="position: absolute; top: 0; width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star-fill') ))==null?'':__t)+
'\r\n                            </div>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('servicesModalT__item', 'servicesBlock') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__btn') ))==null?'':__t)+
'">\r\n                        Размещение\r\n                    </button>\r\n                    \r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__favorite') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__container') ))==null?'':__t)+
'" style="position: relative;">\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img01') ))==null?'':__t)+
'" style="width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star') ))==null?'':__t)+
'\r\n                            </div>\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img02') ))==null?'':__t)+
'" style="position: absolute; top: 0; width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star-fill') ))==null?'':__t)+
'\r\n                            </div>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('servicesModalT__item', 'servicesBlock') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__btn') ))==null?'':__t)+
'">\r\n                        Размещение\r\n                    </button>\r\n                    \r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__favorite') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__container') ))==null?'':__t)+
'" style="position: relative;">\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img01') ))==null?'':__t)+
'" style="width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star') ))==null?'':__t)+
'\r\n                            </div>\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img02') ))==null?'':__t)+
'" style="position: absolute; top: 0; width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star-fill') ))==null?'':__t)+
'\r\n                            </div>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('servicesModalT__item', 'servicesBlock') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__btn') ))==null?'':__t)+
'">\r\n                        Размещение\r\n                    </button>\r\n                    \r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__favorite') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__container') ))==null?'':__t)+
'" style="position: relative;">\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img01') ))==null?'':__t)+
'" style="width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star') ))==null?'':__t)+
'\r\n                            </div>\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img02') ))==null?'':__t)+
'" style="position: absolute; top: 0; width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star-fill') ))==null?'':__t)+
'\r\n                            </div>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('servicesModalT__item', 'servicesBlock') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__btn') ))==null?'':__t)+
'">\r\n                        Размещение\r\n                    </button>\r\n                    \r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__favorite') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__container') ))==null?'':__t)+
'" style="position: relative;">\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img01') ))==null?'':__t)+
'" style="width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star') ))==null?'':__t)+
'\r\n                            </div>\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img02') ))==null?'':__t)+
'" style="position: absolute; top: 0; width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star-fill') ))==null?'':__t)+
'\r\n                            </div>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n            </ul>\r\n        </div>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-eventList.eventModalEdit'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('eventModal') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('eventModal__container') ))==null?'':__t)+
'">\r\n        <button class="'+
((__t=( f.getClass('resetBtn', 'eventModal__close') ))==null?'':__t)+
'" style="width: 24px; height: 24px; min-width: 24px;"  aria-label="Закрыть">\r\n            '+
((__t=( f.renderBlock('icons.i_x') ))==null?'':__t)+
'\r\n        </button>\r\n        <div class="'+
((__t=( f.getClass('eventModal__block') ))==null?'':__t)+
'">\r\n            \r\n            \r\n                \r\n            \r\n                \r\n            \r\n            \r\n            '+
((__t=( f.renderBlock('partners.description.info') ))==null?'':__t)+
'\r\n        </div>\r\n        <div class="'+
((__t=( f.getClass('eventModal__menu') ))==null?'':__t)+
'">\r\n            <button class="'+
((__t=( f.getClass('btnCancel') ))==null?'':__t)+
'">\r\n                Удалить\r\n            </button>\r\n            \r\n            <div class="'+
((__t=( f.getClass('eventModal__btnGroup') ))==null?'':__t)+
'">\r\n                <button class="'+
((__t=( f.getClass('btnAgree') ))==null?'':__t)+
'">\r\n                    Закрыть\r\n                </button>\r\n                <button class="'+
((__t=( f.getClass('btnNeutral') ))==null?'':__t)+
'">\r\n                    Отмена\r\n                </button>\r\n                <button class="'+
((__t=( f.getClass('btnAgreeMain') ))==null?'':__t)+
'">\r\n                    Добавить\r\n                </button>\r\n            </div>\r\n        </div>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-eventList.eventModalEdit.modalEditPartners'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('partnersEditModal') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('partnersEditModal__head') ))==null?'':__t)+
'">\r\n        <h2 class="'+
((__t=( f.getClass('partnersEditModal__title', 'textH3', 'ColorTextPr') ))==null?'':__t)+
'">\r\n            Выберите шаблон\r\n        </h2>\r\n        <div class="'+
((__t=( f.getClass('partnersEditModal__iput', 'partnersEditModalIput') ))==null?'':__t)+
'">\r\n            <input class="'+
((__t=( f.getClass('input48', 'partnersEditModalIput__input') ))==null?'':__t)+
'" type="text" placeholder="Найти">\r\n            <div class="'+
((__t=( f.getClass('partnersEditModalIput__img') ))==null?'':__t)+
'" style="width: 20px; min-width: 20px; height: 20px;">\r\n                '+
((__t=( f.renderBlock('icons.i_search') ))==null?'':__t)+
'\r\n            </div>\r\n        </div>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('partnersEditModal__scroll') ))==null?'':__t)+
' scrollBar">\r\n        <div class="'+
((__t=( f.getClass('partnersEditModal__scrollContainer') ))==null?'':__t)+
'">\r\n            <ul class="'+
((__t=( f.getClass('resetList', 'partnersEditModal__list') ))==null?'':__t)+
'">\r\n                <li class="'+
((__t=( f.getClass('partnersEditModal__item', 'partnersBlock') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'partnersBlock__btn') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('partnersBlock__preview') ))==null?'':__t)+
'" style="width: 48px; height: 48px; min-width: 48px;">\r\n                            <img src="/img/partners_logo/avtodor.png" alt="" style="width: 100%">\r\n                        </div>\r\n                        <div class="'+
((__t=( f.getClass('partnersBlock__container') ))==null?'':__t)+
'">\r\n                            <p class="'+
((__t=( f.getClass('partnersBlock__secondtext') ))==null?'':__t)+
'">\r\n                                АО «СОГАЗ»\r\n                            </p>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('partnersEditModal__item', 'partnersBlock') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'partnersBlock__btn') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('partnersBlock__preview') ))==null?'':__t)+
'" style="width: 48px; height: 48px; min-width: 48px;">\r\n                            <img src="/img/partners_logo/avtodor.png" alt="" style="width: 100%">\r\n                        </div>\r\n                        <div class="'+
((__t=( f.getClass('partnersBlock__container') ))==null?'':__t)+
'">\r\n                            <p class="'+
((__t=( f.getClass('partnersBlock__secondtext') ))==null?'':__t)+
'">\r\n                                АО «СОГАЗ»\r\n                            </p>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('partnersEditModal__item', 'partnersBlock') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'partnersBlock__btn') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('partnersBlock__preview') ))==null?'':__t)+
'" style="width: 48px; height: 48px; min-width: 48px;">\r\n                            <img src="/img/partners_logo/avtodor.png" alt="" style="width: 100%">\r\n                        </div>\r\n                        <div class="'+
((__t=( f.getClass('partnersBlock__container') ))==null?'':__t)+
'">\r\n                            <p class="'+
((__t=( f.getClass('partnersBlock__secondtext') ))==null?'':__t)+
'">\r\n                                АО «СОГАЗ»\r\n                            </p>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n            </ul>\r\n        </div>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-eventList.eventModalEdit.modalEditProgram'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('programEditModal') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('programEditModal__head') ))==null?'':__t)+
'">\r\n        <h2 class="'+
((__t=( f.getClass('programEditModal__title', 'textH3', 'ColorTextPr') ))==null?'':__t)+
'">\r\n            ООО «СИБУР»\r\n        </h2>\r\n        <p class="'+
((__t=( f.getClass('programEditModal__text', 'textM', 'colorTextSec') ))==null?'':__t)+
'">\r\n            Вы можете загрузить программу события из источника, для этого вставьте ссылку на программу\r\n        </p>\r\n        <div class="'+
((__t=( f.getClass('programEditModal__tab') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock('tab', {
                name:'clients',
                selected: query.type || 'business',
                items:[
                    {title:'Деловая программа',value:'business'},
                    {title:'Культурная программа',value:'cultural'},
                ]
            }) ))==null?'':__t)+
'\r\n        </div>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('programEditModal__scroll') ))==null?'':__t)+
' scrollBar">\r\n        <div class="'+
((__t=( f.getClass('programEditModal__scrollContainer') ))==null?'':__t)+
'">\r\n            <lable class="'+
((__t=( f.getClass('programEditModal__input', 'input') ))==null?'':__t)+
'">\r\n                <h3 class="'+
((__t=( f.getClass('input__title') ))==null?'':__t)+
'">\r\n                    Название\r\n                </h3>\r\n                <input class="'+
((__t=( f.getClass('input__input') ))==null?'':__t)+
'" type="text">\r\n            </lable>\r\n            <div class="'+
((__t=( f.getClass('programEditModal__section') ))==null?'':__t)+
'">\r\n                <lable class="'+
((__t=( f.getClass('programEditModal__input', 'input') ))==null?'':__t)+
'">\r\n                    <h3 class="'+
((__t=( f.getClass('input__title') ))==null?'':__t)+
'">\r\n                        Дата начала\r\n                    </h3>\r\n                    <input class="'+
((__t=( f.getClass('input__input') ))==null?'':__t)+
'" type="date">\r\n                </lable>\r\n                <lable class="'+
((__t=( f.getClass('programEditModal__input', 'input') ))==null?'':__t)+
'">\r\n                    <h3 class="'+
((__t=( f.getClass('input__title') ))==null?'':__t)+
'">\r\n                        Дата завершения\r\n                    </h3>\r\n                    <input class="'+
((__t=( f.getClass('input__input') ))==null?'':__t)+
'" type="date">\r\n                </lable>\r\n            </div>\r\n            <lable class="'+
((__t=( f.getClass('programEditModal__input', 'input') ))==null?'':__t)+
'">\r\n                <h3 class="'+
((__t=( f.getClass('input__title') ))==null?'':__t)+
'">\r\n                    Место проведения\r\n                </h3>\r\n                <input class="'+
((__t=( f.getClass('input__input') ))==null?'':__t)+
'" type="text">\r\n            </lable>\r\n            <lable class="'+
((__t=( f.getClass('programEditModal__input', 'input') ))==null?'':__t)+
'">\r\n                <h3 class="'+
((__t=( f.getClass('input__title') ))==null?'':__t)+
'">\r\n                    Место проведения\r\n                </h3>\r\n                <textarea class="'+
((__t=( f.getClass('input__input', 'programEditModal__textarea') ))==null?'':__t)+
'"></textarea>\r\n            </lable>\r\n            <lable class="'+
((__t=( f.getClass('programEditModal__input', 'input') ))==null?'':__t)+
'">\r\n                <h3 class="'+
((__t=( f.getClass('input__title') ))==null?'':__t)+
'">\r\n                    URL\r\n                </h3>\r\n                <textarea class="'+
((__t=( f.getClass('input__input', 'programEditModal__linkarea') ))==null?'':__t)+
'"></textarea>\r\n            </lable>\r\n        </div>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-eventList.eventModalEdit.modalPartners'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('partnersModal') ))==null?'':__t)+
'">\r\n    '+
((__t=( f.renderBlock('partners.infoContent', data) ))==null?'':__t)+
'\r\n    <!-- <div class="'+
((__t=( f.getClass('partnersModal__head') ))==null?'':__t)+
'">\r\n        <h2 class="'+
((__t=( f.getClass('partnersModal__title', 'textH3', 'ColorTextPr') ))==null?'':__t)+
'">\r\n            ООО «СИБУР»\r\n        </h2>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('partnersModal__scroll') ))==null?'':__t)+
' scrollBar">\r\n        <div class="'+
((__t=( f.getClass('partnersModal__scrollContainer') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('partnersModal__section') ))==null?'':__t)+
'">\r\n                <h3 class="'+
((__t=( f.getClass('partnersModal__subtitle', 'colorTextSec', 'textS') ))==null?'':__t)+
'">\r\n                    Директор\r\n                </h3>\r\n                <p class="'+
((__t=( f.getClass('partnersModal__text', 'textM', 'colorTextPr') ))==null?'':__t)+
'">\r\n                    Михаил Карисалов — Председатель правления, генеральный директор ООО «СИБУР»\r\n                </p>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('partnersModal__section') ))==null?'':__t)+
'">\r\n                <h3 class="'+
((__t=( f.getClass('partnersModal__subtitle', 'colorTextSec', 'textS') ))==null?'':__t)+
'">\r\n                    Краткое описание\r\n                </h3>\r\n                <p class="'+
((__t=( f.getClass('partnersModal__text', 'textM', 'colorTextPr') ))==null?'':__t)+
'">\r\n                    СИБУР — одна из наиболее динамично развивающихся компаний в \r\n                    глобальной нефтехимии, российский лидер по производству полимеров и каучуков\r\n                </p>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('partnersModal__section') ))==null?'':__t)+
'">\r\n                <h3 class="'+
((__t=( f.getClass('partnersModal__subtitle', 'colorTextSec', 'textS') ))==null?'':__t)+
'">\r\n                    Полное описание\r\n                </h3>\r\n                <p class="'+
((__t=( f.getClass('partnersModal__text', 'textM', 'colorTextPr') ))==null?'':__t)+
'">\r\n                    СИБУР — одна из наиболее динамично развивающихся компаний в глобальной \r\n                    нефтехимии, российский лидер по производству полимеров и каучуков. \r\n                </p>\r\n                <p class="'+
((__t=( f.getClass('partnersModal__text', 'textM', 'colorTextPr') ))==null?'':__t)+
'">\r\n                    Мы выпускаем востребованные продукты для общества и используем передовые \r\n                    технологии для создания новых возможностей, инвестируем в социальную \r\n                    инфраструктуру, улучшая качество жизни людей Мы развиваемся через партнерство \r\n                    и обмен опытом, постоянный рост, движение к масштабным целям и приверженность \r\n                    принципам устойчивого развития. Уникальная вертикально-интегрированная \r\n                    бизнес-модель позволяет СИБУРу создавать высококонкурентную продукцию,\r\n                    которая применяется во многих секторах экономики по всему миру: строительстве, \r\n                    пищевой промышленности, медицине и фармацевтике, сельском хозяйстве, \r\n                    автомобилестроении и других\r\n                </p>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('partnersModal__section') ))==null?'':__t)+
'">\r\n                <h3 class="'+
((__t=( f.getClass('partnersModal__subtitle', 'colorTextSec', 'textS') ))==null?'':__t)+
'">\r\n                    Логотип\r\n                </h3>\r\n                <div class="'+
((__t=( f.getClass('partnersModal__logo') ))==null?'':__t)+
'" style="width: 128px; height: 96px; overflow: hidden;">\r\n                    <img class="'+
((__t=( f.getClass('partnersModal__imgLogo') ))==null?'':__t)+
'" src="/img/test_img.png" alt="" aria-hidden="true" style="width: 100%;">\r\n                </div>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('partnersModal__section') ))==null?'':__t)+
'">\r\n                <h3 class="'+
((__t=( f.getClass('partnersModal__subtitle', 'colorTextSec', 'textS') ))==null?'':__t)+
'">\r\n                    Обложка\r\n                </h3>\r\n                <div class="'+
((__t=( f.getClass('partnersModal__preview') ))==null?'':__t)+
'" style="width: 320px; height: 240px; overflow: hidden;">\r\n                    <img class="'+
((__t=( f.getClass('partnersModal__imgPreview') ))==null?'':__t)+
'" src="/img/test_img.png" alt="" style="width: 100%;" aria-hidden="true">\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </div> -->\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-eventList.eventModalEdit.modalProgram'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('programModal') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('programModal__head') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('programModal__tag') ))==null?'':__t)+
'">\r\n            Деловая программа\r\n        </div>\r\n    </div>\r\n    <h2 class="'+
((__t=( f.getClass('programModal__title', 'textH3', 'ColorTextPr') ))==null?'':__t)+
'">\r\n        Северный морской путь: расширяя арктические горизонты\r\n    </h2>\r\n    <div class="'+
((__t=( f.getClass('programModal__scroll') ))==null?'':__t)+
' scrollBar">\r\n        <div class="'+
((__t=( f.getClass('programModal__scrollContainer') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('programModal__info', 'programModalInfo') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('programModalInfo__item') ))==null?'':__t)+
'">\r\n                    <h3 class="'+
((__t=( f.getClass('programModalInfo__subtitle') ))==null?'':__t)+
'">\r\n                        Завершение\r\n                    </h3>\r\n                    <div class="'+
((__t=( f.getClass('programModalInfo__container', 'programModalInfo__text') ))==null?'':__t)+
'">\r\n                        <time class="'+
((__t=( f.getClass('programModalInfo__text') ))==null?'':__t)+
'" datetime="2024-09-11 12:00">\r\n                            12:00\r\n                        </time>\r\n                        -\r\n                        <time class="'+
((__t=( f.getClass('programModalInfo__text') ))==null?'':__t)+
'" datetime="2024-09-11 15:00">\r\n                            15:00\r\n                        </time>\r\n                    </div>\r\n                </div>\r\n                <div class="'+
((__t=( f.getClass('programModalInfo__item', 'wholeWidth') ))==null?'':__t)+
'">\r\n                    <h3 class="'+
((__t=( f.getClass('programModalInfo__subtitle') ))==null?'':__t)+
'">\r\n                        Место\r\n                    </h3>\r\n                    <p class="'+
((__t=( f.getClass('programModalInfo__text') ))==null?'':__t)+
'">\r\n                        Павильон, зона А, 3-й этаж, конференц-зал А \r\n                    </p>\r\n                </div>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('programModalInfo__content', 'textM', 'ColorTextPr') ))==null?'':__t)+
'">\r\n                <p class="'+
((__t=( f.getClass('textM', 'ColorTextPr') ))==null?'':__t)+
'">\r\n                    В апреле 2024 года в Дубае пройдёт международный бизнес-форум «Мир возможностей», организованный Корпорацией «Синергия» при поддержке Фонда Росконгресс. Мероприятие закрепит стратегическое партнёрство двух стран, обсуждавшееся в ходе Петербургского международного экономического форума в июне 2023 года, а также будет способствовать дальнейшему развитию двусторонних экономических отношений между ОАЭ и Россией.\r\n                </p>\r\n                <p class="'+
((__t=( f.getClass('textM', 'ColorTextPr') ))==null?'':__t)+
'">\r\n                    Компания сотрудничала с Bork, McKinsey, Helix, St. Petersburg Open, St. Petersburg Ladies Trophy и Соз. На протяжении многих лет Flowerfine являлись партнерами международных профессиональных теннисных турниров, таких как St. Petersburg Open и the St. Petersburg Ladies Trophy, которые проводились осенью и зимой \u2028на хардовых кортах комплекса "Сибур Арена" в Санкт-Петербурге.\r\n                </p>\r\n            </div>\r\n        </div>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-eventList.eventModalEdit.modalSerTemplate'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('servicesModalT') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('servicesModalT__head') ))==null?'':__t)+
'">\r\n        <h2 class="'+
((__t=( f.getClass('servicesModalT__title', 'textH3', 'ColorTextPr') ))==null?'':__t)+
'">\r\n            Выберите шаблон\r\n        </h2>\r\n        <div class="'+
((__t=( f.getClass('servicesModalT__iput', 'servicesModalTIput') ))==null?'':__t)+
'">\r\n            <input class="'+
((__t=( f.getClass('input48', 'servicesModalTIput__input') ))==null?'':__t)+
'" type="text" placeholder="Найти">\r\n            <div class="'+
((__t=( f.getClass('servicesModalTIput__img') ))==null?'':__t)+
'" style="width: 20px; min-width: 20px; height: 20px;">\r\n                '+
((__t=( f.renderBlock('icons.i_search') ))==null?'':__t)+
'\r\n            </div>\r\n        </div>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('servicesModalT__scroll') ))==null?'':__t)+
' scrollBar">\r\n        <div class="'+
((__t=( f.getClass('servicesModalT__scrollContainer') ))==null?'':__t)+
'">\r\n            <ul class="'+
((__t=( f.getClass('resetList', 'servicesModalT__list') ))==null?'':__t)+
'">\r\n                <li class="'+
((__t=( f.getClass('servicesModalT__item', 'servicesBlock') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__btn') ))==null?'':__t)+
'">\r\n                        Доставка аккредитации\r\n                    </button>\r\n                    \r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__favorite') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__container') ))==null?'':__t)+
'" style="position: relative;">\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img01') ))==null?'':__t)+
'" style="width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star') ))==null?'':__t)+
'\r\n                            </div>\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img02') ))==null?'':__t)+
'" style="position: absolute; top: 0; width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star-fill') ))==null?'':__t)+
'\r\n                            </div>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('servicesModalT__item', 'servicesBlock') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__btn') ))==null?'':__t)+
'">\r\n                        Гостиничное размещение\r\n                    </button>\r\n                    \r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__favorite', 'opacityVisible') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__container') ))==null?'':__t)+
'" style="position: relative;">\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img01') ))==null?'':__t)+
'" style="width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star') ))==null?'':__t)+
'\r\n                            </div>\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img02') ))==null?'':__t)+
'" style="position: absolute; top: 0; width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star-fill') ))==null?'':__t)+
'\r\n                            </div>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('servicesModalT__item', 'servicesBlock') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__btn') ))==null?'':__t)+
'">\r\n                        Размещение\r\n                    </button>\r\n                    \r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__favorite') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__container') ))==null?'':__t)+
'" style="position: relative;">\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img01') ))==null?'':__t)+
'" style="width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star') ))==null?'':__t)+
'\r\n                            </div>\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img02') ))==null?'':__t)+
'" style="position: absolute; top: 0; width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star-fill') ))==null?'':__t)+
'\r\n                            </div>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('servicesModalT__item', 'servicesBlock') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__btn') ))==null?'':__t)+
'">\r\n                        Размещение\r\n                    </button>\r\n                    \r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__favorite') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__container') ))==null?'':__t)+
'" style="position: relative;">\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img01') ))==null?'':__t)+
'" style="width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star') ))==null?'':__t)+
'\r\n                            </div>\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img02') ))==null?'':__t)+
'" style="position: absolute; top: 0; width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star-fill') ))==null?'':__t)+
'\r\n                            </div>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('servicesModalT__item', 'servicesBlock') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__btn') ))==null?'':__t)+
'">\r\n                        Размещение\r\n                    </button>\r\n                    \r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__favorite') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__container') ))==null?'':__t)+
'" style="position: relative;">\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img01') ))==null?'':__t)+
'" style="width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star') ))==null?'':__t)+
'\r\n                            </div>\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img02') ))==null?'':__t)+
'" style="position: absolute; top: 0; width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star-fill') ))==null?'':__t)+
'\r\n                            </div>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('servicesModalT__item', 'servicesBlock') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__btn') ))==null?'':__t)+
'">\r\n                        Размещение\r\n                    </button>\r\n                    \r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__favorite') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__container') ))==null?'':__t)+
'" style="position: relative;">\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img01') ))==null?'':__t)+
'" style="width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star') ))==null?'':__t)+
'\r\n                            </div>\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img02') ))==null?'':__t)+
'" style="position: absolute; top: 0; width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star-fill') ))==null?'':__t)+
'\r\n                            </div>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('servicesModalT__item', 'servicesBlock') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__btn') ))==null?'':__t)+
'">\r\n                        Размещение\r\n                    </button>\r\n                    \r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__favorite') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__container') ))==null?'':__t)+
'" style="position: relative;">\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img01') ))==null?'':__t)+
'" style="width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star') ))==null?'':__t)+
'\r\n                            </div>\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img02') ))==null?'':__t)+
'" style="position: absolute; top: 0; width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star-fill') ))==null?'':__t)+
'\r\n                            </div>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n            </ul>\r\n        </div>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-eventList.eventModalEdit.modalServices'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('servicesModal') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('servicesModal__head') ))==null?'':__t)+
'">\r\n        \r\n        <h2 class="'+
((__t=( f.getClass('servicesModal__title', 'textH3', 'ColorTextPr') ))==null?'':__t)+
'">\r\n            Заказ одежды\r\n        </h2>\r\n        \r\n        \r\n        <button class="'+
((__t=( f.getClass('servicesModal__btnBack') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('servicesModal__imgBack') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                '+
((__t=( f.renderBlock('icons.i_chevron-left') ))==null?'':__t)+
'\r\n            </div>\r\n            <h2 class="'+
((__t=( f.getClass('servicesModal__title', 'textH3', 'ColorTextPr') ))==null?'':__t)+
'">\r\n                Заказ одежды\r\n            </h2>\r\n        </button>\r\n                \r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('servicesModal__scroll') ))==null?'':__t)+
' scrollBar">\r\n        <div class="'+
((__t=( f.getClass('servicesModal__scrollContainer') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('servicesModal__section') ))==null?'':__t)+
'">\r\n                <label class="'+
((__t=( f.getClass('servicesModal__subhead') ))==null?'':__t)+
'">\r\n                    <h3 class="'+
((__t=( f.getClass('servicesModal__subtitle', 'textM', 'ColorTextSec') ))==null?'':__t)+
'">\r\n                        Название услуги\r\n                    </h3>\r\n                    <input class="'+
((__t=( f.getClass('servicesModal__name') ))==null?'':__t)+
'" type="text" value="Заказ одежды">\r\n                </label>\r\n                <div class="'+
((__t=( f.getClass('servicesModal__block', 'servicesModalBlock') ))==null?'':__t)+
'">\r\n                    <h4 class="'+
((__t=( f.getClass('servicesModalBlock__subtitle') ))==null?'':__t)+
'">\r\n                        Шаблон\r\n                    </h4>\r\n                    <p class="'+
((__t=( f.getClass('servicesModalBlock__input') ))==null?'':__t)+
'">\r\n                        Заказ одежды\r\n                    </p>\r\n                </div>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('servicesModal__section', 'servicesModalSection') ))==null?'':__t)+
'">\r\n                <h3 class="'+
((__t=( f.getClass('servicesModalSection__title', 'textM', 'ColorTextPr') ))==null?'':__t)+
'">\r\n                    Поля шаблона\r\n                </h3>\r\n                <div class="'+
((__t=( f.getClass('servicesModal__block', 'servicesModalBlock', 'bottomSpace8') ))==null?'':__t)+
'">\r\n                    <h4 class="'+
((__t=( f.getClass('servicesModalBlock__subtitle') ))==null?'':__t)+
'">\r\n                        Строка\r\n                    </h4>\r\n                    <p class="'+
((__t=( f.getClass('servicesModalBlock__input') ))==null?'':__t)+
'">\r\n                        Ресторан\r\n                    </p>\r\n                </div>\r\n                <div class="'+
((__t=( f.getClass('servicesModal__container', 'bottomSpace8') ))==null?'':__t)+
'">\r\n                    <div class="'+
((__t=( f.getClass('servicesModal__block', 'servicesModalBlock') ))==null?'':__t)+
'">\r\n                        <h4 class="'+
((__t=( f.getClass('servicesModalBlock__subtitle') ))==null?'':__t)+
'">\r\n                            Выбор даты\r\n                        </h4>\r\n                        <p class="'+
((__t=( f.getClass('servicesModalBlock__input') ))==null?'':__t)+
'">\r\n                            Дата брони\r\n                        </p>\r\n                    </div>\r\n                    <div class="'+
((__t=( f.getClass('servicesModal__block', 'servicesModalBlock') ))==null?'':__t)+
'">\r\n                        <h4 class="'+
((__t=( f.getClass('servicesModalBlock__subtitle') ))==null?'':__t)+
'">\r\n                            Выбор даты\r\n                        </h4>\r\n                        <p class="'+
((__t=( f.getClass('servicesModalBlock__input') ))==null?'':__t)+
'">\r\n                            Время брони\r\n                        </p>\r\n                    </div>\r\n                </div>\r\n                <div class="'+
((__t=( f.getClass('servicesModal__block', 'servicesModalBlock', 'bottomSpace8') ))==null?'':__t)+
'">\r\n                    <h4 class="'+
((__t=( f.getClass('servicesModalBlock__subtitle') ))==null?'':__t)+
'">\r\n                        Счетчик\r\n                    </h4>\r\n                    <p class="'+
((__t=( f.getClass('servicesModalBlock__input') ))==null?'':__t)+
'">\r\n                        Количество персон\r\n                    </p>\r\n                </div>\r\n                <div class="'+
((__t=( f.getClass('servicesModal__block', 'servicesModalBlock', 'bottomSpace8') ))==null?'':__t)+
'">\r\n                    <h4 class="'+
((__t=( f.getClass('servicesModalBlock__subtitle') ))==null?'':__t)+
'">\r\n                        Текстовое поле\r\n                    </h4>\r\n                    <p class="'+
((__t=( f.getClass('servicesModalBlock__input') ))==null?'':__t)+
'">\r\n                        Пожелания к бронированию\r\n                    </p>\r\n                </div>\r\n                <div class="'+
((__t=( f.getClass('servicesModal__block', 'servicesModalBlock', 'bottomSpace8') ))==null?'':__t)+
'">\r\n                    <h4 class="'+
((__t=( f.getClass('servicesModalBlock__subtitle') ))==null?'':__t)+
'">\r\n                        Строка\r\n                    </h4>\r\n                    <p class="'+
((__t=( f.getClass('servicesModalBlock__input') ))==null?'':__t)+
'">\r\n                        Ресторан\r\n                    </p>\r\n                </div>\r\n                <div class="'+
((__t=( f.getClass('servicesModal__container', 'bottomSpace8') ))==null?'':__t)+
'">\r\n                    <div class="'+
((__t=( f.getClass('servicesModal__block', 'servicesModalBlock') ))==null?'':__t)+
'">\r\n                        <h4 class="'+
((__t=( f.getClass('servicesModalBlock__subtitle') ))==null?'':__t)+
'">\r\n                            Выбор даты\r\n                        </h4>\r\n                        <p class="'+
((__t=( f.getClass('servicesModalBlock__input') ))==null?'':__t)+
'">\r\n                            Дата брони\r\n                        </p>\r\n                    </div>\r\n                    <div class="'+
((__t=( f.getClass('servicesModal__block', 'servicesModalBlock') ))==null?'':__t)+
'">\r\n                        <h4 class="'+
((__t=( f.getClass('servicesModalBlock__subtitle') ))==null?'':__t)+
'">\r\n                            Выбор даты\r\n                        </h4>\r\n                        <p class="'+
((__t=( f.getClass('servicesModalBlock__input') ))==null?'':__t)+
'">\r\n                            Время брони\r\n                        </p>\r\n                    </div>\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-eventList.partners'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';
 if (data.partners.length > 0) { 
__p+=' \r\n    <div class="'+
((__t=( f.getClass('partners') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('partners__scroll') ))==null?'':__t)+
' scrollBar">\r\n            <div class="'+
((__t=( f.getClass('partners__scroll-container') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('partners__head') ))==null?'':__t)+
'">\r\n                    <h2 class="'+
((__t=( f.getClass('partners__litle', 'textH3', 'textColorPr') ))==null?'':__t)+
'">\r\n                        Партнеры мероприятия\r\n                    </h2>\r\n                </div>\r\n                \r\n                ';
 for (let i = 0; i < data.partners.length; i++) { 
__p+='\r\n                    <div class="'+
((__t=( f.getClass('partners__section') ))==null?'':__t)+
'">\r\n                        <h3 class="'+
((__t=( f.getClass('partners__subtytle') ))==null?'':__t)+
'">\r\n                            '+
((__t=( data.partners[i].label ))==null?'':__t)+
'\r\n                        </h3>\r\n                        <ul class="'+
((__t=( f.getClass('resetList', 'partners__list') ))==null?'':__t)+
'">\r\n                            ';
 for (let j = 0; j < data.partners[i].items.length; j++) { 
__p+='\r\n                                <li class="'+
((__t=( f.getClass('partners__item', 'partnersBlock') ))==null?'':__t)+
'">\r\n                                    <button '+
((__t=( e.click('openModal', {name: 'partners', content: data.partners[i].items[j]} ) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'partnersBlock__btn') ))==null?'':__t)+
'">\r\n                                        <div class="'+
((__t=( f.getClass('partnersBlock__preview') ))==null?'':__t)+
'" style="width: 48px; height: 48px; min-width: 48px;">\r\n                                            <img src="'+
((__t=( utils.makeImageUrl(data.partners[i].items[j].logo) ))==null?'':__t)+
'" alt="" style="width: 100%">\r\n                                        </div>\r\n                                        <div class="'+
((__t=( f.getClass('partnersBlock__container') ))==null?'':__t)+
'">\r\n                                            <p class="'+
((__t=( f.getClass('partnersBlock__secondtext') ))==null?'':__t)+
'">\r\n                                                '+
((__t=( data.partners[i].items[j].name ))==null?'':__t)+
'\r\n                                            </p>\r\n                                        </div>\r\n                                    </button>\r\n                                </li>\r\n                            ';
 } 
__p+='\r\n                        </ul>\r\n                    </div>\r\n                ';
 } 
__p+='\r\n            </div>\r\n        </div>\r\n    </div>\r\n';
 } else { 
__p+='\r\n    <div class="'+
((__t=( f.getClass('emptyPage') ))==null?'':__t)+
'">\r\n        <p class="'+
((__t=( f.getClass('emptyPage__text') ))==null?'':__t)+
'">\r\n            Список пуст\r\n        </p>\r\n    </div>\r\n';
 } 
__p+='\r\n';
}
return __p;
}
window.renderBlocks['blocks-eventList.program.Delete_cultural'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';
 if ( data.program.length != 0 ) { 
__p+='\r\n    <div class="'+
((__t=( f.getClass('ivent') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('programNav') ))==null?'':__t)+
'">\r\n            <h3 class="'+
((__t=( f.getClass('programNav__title') ))==null?'':__t)+
'">\r\n                РАСПИСАНИЕ\r\n            </h3>\r\n            <nav class="'+
((__t=( f.getClass('programNav__container') ))==null?'':__t)+
'">\r\n                <ol class="'+
((__t=( f.getClass('resetList', 'programNav__list') ))==null?'':__t)+
'">\r\n                    ';
 for (let i=0; i < data.program.length; i++ ) { 
__p+='\r\n                        <li class="'+
((__t=( f.getClass('programNav__item') ))==null?'':__t)+
'">\r\n                            <a class="'+
((__t=( f.getClass('resetLink', 'programNav__text') ))==null?'':__t)+
'" href="#cultural_'+
((__t=( i ))==null?'':__t)+
'">\r\n                                '+
((__t=( utils.moment(data.program[i].start_at).locale(context.locale).format('D MMMM') ))==null?'':__t)+
'\r\n                            </a>\r\n                        </li>\r\n                    ';
 } 
__p+='\r\n                </ol>\r\n            </nav>\r\n        </div>\r\n        <div class="'+
((__t=( f.getClass('ivent__scroll') ))==null?'':__t)+
' scrollBar">\r\n            <div class="'+
((__t=( f.getClass('ivent__scroll-container') ))==null?'':__t)+
'">\r\n                \r\n                ';
 for (let i=0; i < data.program.length; i++ ) { 
__p+='\r\n                    <div class="'+
((__t=( f.getClass('ivent__section') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('ivent__subtitle') ))==null?'':__t)+
'">\r\n                            <h4 class="'+
((__t=( f.getClass('textLB', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                                <time class="'+
((__t=( f.getClass('ivent__date', 'textLB', 'textDarkMainBase') ))==null?'':__t)+
'" id="cultural_'+
((__t=( i ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(data.program[i].start_at).locale(context.locale).format('YYYY-MM-DDTHH:mm') ))==null?'':__t)+
'">\r\n                                    '+
((__t=( utils.moment(data.program[i].start_at).locale(context.locale).format('D MMMM') ))==null?'':__t)+
'\r\n                                </time>\r\n                            </h4>\r\n                        </div>\r\n    \r\n                        <ul class="'+
((__t=( f.getClass('resetList', 'ivent__list', 'schedule') ))==null?'':__t)+
'">\r\n                            ';
 for (let j=0; j < data.program[i].timeline.length; j++ ) { 
__p+='\r\n                                <li class="'+
((__t=( f.getClass('schedule__item') ))==null?'':__t)+
'">\r\n                                    \r\n                                    <button '+
((__t=( e.click('openModal', {cultural: data.program[i].timeline[j].items[0]} ) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'schedule__btn') ))==null?'':__t)+
'">\r\n                                        <div class="'+
((__t=( f.getClass('schedule__container') ))==null?'':__t)+
'">\r\n                                            <div class="'+
((__t=( f.getClass('schedule__interval', 'timeImg') ))==null?'':__t)+
'">\r\n                                                <div class="'+
((__t=( f.getClass('schedule__img-clock') ))==null?'':__t)+
'" style="min-width: 16px; width: 16px; height: 16px;">\r\n                                                    '+
((__t=( f.renderBlock('icons.i_clock') ))==null?'':__t)+
'\r\n                                                </div>\r\n                                                <time class="'+
((__t=( f.getClass('schedule__time', 'textSB', 'dark500base', 'active-white') ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(data.program[i].timeline[j].items[0].start_at).locale(context.locale).format('YYYY-MM-DDTHH:mm') ))==null?'':__t)+
'">\r\n                                                    '+
((__t=( utils.moment(data.program[i].timeline[j].items[0].start_at).locale(context.locale).format('HH:mm') ))==null?'':__t)+
'\r\n                                                </time>\r\n                                                -\r\n                                                <time class="'+
((__t=( f.getClass('schedule__time', 'textSB', 'dark500base', 'active-white') ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(data.program[i].timeline[j].items[0].finish_at).locale(context.locale).format('YYYY-MM-DDTHH:mm') ))==null?'':__t)+
'">\r\n                                                    '+
((__t=( utils.moment(data.program[i].timeline[j].items[0].finish_at).locale(context.locale).format('HH:mm') ))==null?'':__t)+
'\r\n                                                </time>\r\n                                            </div>\r\n                                            <div class="'+
((__t=( f.getClass('schedule__location') ))==null?'':__t)+
'">\r\n                                                <div class="'+
((__t=( f.getClass('schedule__img-map') ))==null?'':__t)+
'" style="min-width: 16px; width: 16px; height: 16px;">\r\n                                                    '+
((__t=( f.renderBlock('icons.i_map-pin') ))==null?'':__t)+
'\r\n                                                </div>\r\n                                                <p class="'+
((__t=( f.getClass('schedule__location', 'textSB', 'accentMainBase', 'active-white') ))==null?'':__t)+
'">\r\n                                                    '+
((__t=( data.program[i].timeline[j].items[0].location ))==null?'':__t)+
'\r\n                                                </p>\r\n                                            </div>\r\n                                        </div>\r\n                                        <p class="'+
((__t=( f.getClass('schedule__text', 'textM', 'textDarkMainBase', 'active-white') ))==null?'':__t)+
'">\r\n                                            '+
((__t=( data.program[i].timeline[j].items[0].title ))==null?'':__t)+
'\r\n                                        </p>\r\n                                    </button>\r\n                                </li>\r\n                            ';
 } 
__p+='\r\n                        </ul>\r\n                    </div>\r\n                ';
 } 
__p+='\r\n            </div>\r\n        </div>\r\n    </div>\r\n';
 } else { 
__p+='\r\n    <div class="'+
((__t=( f.getClass('emptyPage') ))==null?'':__t)+
'">\r\n        <p class="'+
((__t=( f.getClass('emptyPage__text') ))==null?'':__t)+
'">\r\n            Список пуст\r\n        </p>\r\n    </div>\r\n';
 } 
__p+='\r\n\r\n';
}
return __p;
}
window.renderBlocks['blocks-eventList.program.Delete_programContent'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';
 if ( data.content.program.length != 0 ) { 
__p+='\r\n    <div class="'+
((__t=( f.getClass('ivent') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('programNav') ))==null?'':__t)+
'">\r\n            <h3 class="'+
((__t=( f.getClass('programNav__title') ))==null?'':__t)+
'">\r\n                РАСПИСАНИЕ\r\n            </h3>\r\n            <nav class="'+
((__t=( f.getClass('programNav__container') ))==null?'':__t)+
'">\r\n                <ol class="'+
((__t=( f.getClass('resetList', 'programNav__list') ))==null?'':__t)+
'">\r\n                    ';
 for (let i=0; i < data.content.program.length; i++ ) { 
__p+='\r\n                        <li class="'+
((__t=( f.getClass('programNav__item') ))==null?'':__t)+
'">\r\n                            ';
 console.log('dataProgram_'+i) 
__p+='\r\n                            <button '+
((__t=( e.click('moveToClass', {searchClass: 'dataProgram_'+i} ) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'programNav__text') ))==null?'':__t)+
'">\r\n                                '+
((__t=( utils.moment(data.content.program[i].start_at).locale(context.locale).format('D MMMM') ))==null?'':__t)+
'\r\n                            </button>\r\n                        </li>\r\n                    ';
 } 
__p+='\r\n                </ol>\r\n            </nav>\r\n        </div>\r\n        <div class="'+
((__t=( f.getClass('ivent__scroll') ))==null?'':__t)+
' scrollBar">\r\n            <div class="'+
((__t=( f.getClass('ivent__scroll-container') ))==null?'':__t)+
'">\r\n                \r\n                ';
 for (let i=0; i < data.content.program.length; i++ ) { 
__p+='\r\n                    <div class="'+
((__t=( f.getClass('ivent__section') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('ivent__subtitle') ))==null?'':__t)+
'">\r\n                            <h4 class="'+
((__t=( f.getClass('textLB', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                                <time class="'+
((__t=( f.getClass('ivent__date', 'textLB', 'textDarkMainBase') ))==null?'':__t)+
'" '+
((__t=( e.ref( 'dataProgram_'+i ) ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(data.content.program[i].start_at).locale(context.locale).format('YYYY-MM-DDTHH:mm') ))==null?'':__t)+
'" tabindex="0">\r\n                                    '+
((__t=( utils.moment(data.content.program[i].start_at).locale(context.locale).format('D MMMM') ))==null?'':__t)+
'\r\n                                </time>\r\n                            </h4>\r\n                        </div>\r\n    \r\n                        <ul class="'+
((__t=( f.getClass('resetList', 'ivent__list', 'schedule') ))==null?'':__t)+
'">\r\n                            ';
 for (let j=0; j < data.content.program[i].timeline.length; j++ ) { 
__p+='\r\n                                <li class="'+
((__t=( f.getClass('schedule__item') ))==null?'':__t)+
'">\r\n                                    \r\n                                    <button '+
((__t=( e.click('openModal', { name: data.programMod, content: data.content.program[i].timeline[j].items[0] } ) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'schedule__btn') ))==null?'':__t)+
'">\r\n                                        <div class="'+
((__t=( f.getClass('schedule__container') ))==null?'':__t)+
'">\r\n                                            <div class="'+
((__t=( f.getClass('schedule__interval', 'timeImg') ))==null?'':__t)+
'">\r\n                                                <div class="'+
((__t=( f.getClass('schedule__img-clock') ))==null?'':__t)+
'" style="min-width: 16px; width: 16px; height: 16px;">\r\n                                                    '+
((__t=( f.renderBlock('icons.i_clock') ))==null?'':__t)+
'\r\n                                                </div>\r\n                                                <time class="'+
((__t=( f.getClass('schedule__time', 'textSB', 'dark500base', 'active-white') ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(data.content.program[i].timeline[j].items[0].start_at).locale(context.locale).format('YYYY-MM-DDTHH:mm') ))==null?'':__t)+
'">\r\n                                                    '+
((__t=( utils.moment(data.content.program[i].timeline[j].items[0].start_at).locale(context.locale).format('HH:mm') ))==null?'':__t)+
'\r\n                                                </time>\r\n                                                -\r\n                                                <time class="'+
((__t=( f.getClass('schedule__time', 'textSB', 'dark500base', 'active-white') ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(data.content.program[i].timeline[j].items[0].finish_at).locale(context.locale).format('YYYY-MM-DDTHH:mm') ))==null?'':__t)+
'">\r\n                                                    '+
((__t=( utils.moment(data.content.program[i].timeline[j].items[0].finish_at).locale(context.locale).format('HH:mm') ))==null?'':__t)+
'\r\n                                                </time>\r\n                                            </div>\r\n                                            <div class="'+
((__t=( f.getClass('schedule__location') ))==null?'':__t)+
'">\r\n                                                ';
 if ( data.content.program[i].timeline[j].items[0].location ) { 
__p+='\r\n                                                    <div class="'+
((__t=( f.getClass('schedule__img-map') ))==null?'':__t)+
'" style="min-width: 16px; width: 16px; height: 16px;">\r\n                                                        '+
((__t=( f.renderBlock('icons.i_map-pin') ))==null?'':__t)+
'\r\n                                                    </div>\r\n                                                    <p class="'+
((__t=( f.getClass('schedule__location', 'textSB', 'accentMainBase', 'active-white') ))==null?'':__t)+
'">\r\n                                                        '+
((__t=( data.content.program[i].timeline[j].items[0].location ))==null?'':__t)+
'\r\n                                                    </p>\r\n                                                ';
 } 
__p+='\r\n                                            </div>\r\n                                        </div>\r\n                                        <p class="'+
((__t=( f.getClass('schedule__text', 'textM', 'textDarkMainBase', 'active-white') ))==null?'':__t)+
'">\r\n                                            '+
((__t=( data.content.program[i].timeline[j].items[0].title ))==null?'':__t)+
'\r\n                                        </p>\r\n                                    </button>\r\n                                </li>\r\n                            ';
 } 
__p+='\r\n                        </ul>\r\n                    </div>\r\n                ';
 } 
__p+='\r\n            </div>\r\n        </div>\r\n    </div>\r\n';
 } else { 
__p+='\r\n    <div class="'+
((__t=( f.getClass('emptyPage') ))==null?'':__t)+
'">\r\n        <p class="'+
((__t=( f.getClass('emptyPage__text') ))==null?'':__t)+
'">\r\n            Список пуст\r\n        </p>\r\n    </div>\r\n';
 } 
__p+='\r\n\r\n';
}
return __p;
}
window.renderBlocks['blocks-eventList.program'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('ivent') ))==null?'':__t)+
'">\r\n    \r\n    ';
 const items = data.items[data.programm] 
__p+='\r\n    \r\n    ';
 if (data.items.length > 0){  
__p+='\r\n        <div class="'+
((__t=( f.getClass('ivent__tab', 'iventTab') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('iventTab__container') ))==null?'':__t)+
' scrollBar">\r\n                <nav class="'+
((__t=( f.getClass('iventTab__tab') ))==null?'':__t)+
'">\r\n                    <ul class="'+
((__t=( f.getClass('resetList', 'iventTab__list') ))==null?'':__t)+
'">\r\n                        \r\n                        ';
 for (let i = 0; i < data.items.length; i++) { 
__p+='\r\n                            <li class="'+
((__t=( f.getClass('iventTab__item') ))==null?'':__t)+
'">\r\n                                <button '+
((__t=( e.click('changeProgramm', i) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'btnTab', 'iventTab__btn', data.programm == i && 'btnTabActive') ))==null?'':__t)+
'">\r\n                                    <span class="'+
((__t=( f.getClass('iventTab__text') ))==null?'':__t)+
'">\r\n                                        '+
((__t=(  data.items[i].title || 'Нет программы' ))==null?'':__t)+
'\r\n                                    </span>\r\n                                </button>\r\n                            </li>\r\n                        ';
 } 
__p+='\r\n                    </ul>\r\n                </nav>\r\n\r\n                <div class="'+
((__t=( f.getClass('iventNav') ))==null?'':__t)+
'">\r\n                    <h2 class="'+
((__t=( f.getClass('iventNav__title') ))==null?'':__t)+
'">\r\n                        РАСПИСАНИЕ\r\n                    </h2>\r\n                    <nav class="'+
((__t=( f.getClass('iventNav__nav') ))==null?'':__t)+
'">\r\n                        <ol class="'+
((__t=( f.getClass('resetList', 'iventNav__list') ))==null?'':__t)+
'">\r\n                            ';
 for (let i=0; i < items.program.length; i++ ) { 
                                const program = items.program[i]; 
__p+='\r\n                                <li class="'+
((__t=( f.getClass('iventNav__item') ))==null?'':__t)+
'">\r\n                                    <button '+
((__t=( e.click('changeDay', i) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'programNav__text') ))==null?'':__t)+
'">\r\n                                        <time class="'+
((__t=( f.getClass('iventNav__date') ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(program.start_at).locale(context.locale).format('YYYY-MM-DD') ))==null?'':__t)+
'">\r\n                                            '+
((__t=( utils.moment(program.start_at).locale(context.locale).format('D MMMM') ))==null?'':__t)+
'\r\n                                        </time>\r\n                                    </button>\r\n                                </li>\r\n                            ';
 } 
__p+='\r\n                        </ol>\r\n                    </nav>\r\n                </div>\r\n            </div>\r\n        </div>\r\n    \r\n        <div class="'+
((__t=( f.getClass('ivent__main') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('ivent__head', 'iventHead') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('iventHead__container') ))==null?'':__t)+
'">\r\n                    <div class="'+
((__t=( f.getClass('iventHead__imgContainer') ))==null?'':__t)+
'" style="width: 48px; min-width: 48px; height: 48px;">\r\n                        <img class="'+
((__t=( f.getClass('iventForumHead__img') ))==null?'':__t)+
'" src="'+
((__t=( utils.makeImageUrl(items.img) ))==null?'':__t)+
'" alt="" aria-hidden="true" style="width: 100%;">\r\n                    </div>\r\n                    <h2 class="'+
((__t=( f.getClass('iventHead__title') ))==null?'':__t)+
'">\r\n                        '+
((__t=( items.title ))==null?'':__t)+
'\r\n                    </h2>\r\n                </div>\r\n            </div>\r\n            ';
 if ( items.program.length > 0 ) { 
__p+='\r\n                <div class="'+
((__t=( f.getClass('ivent_program') ))==null?'':__t)+
'">\r\n                    <div class="'+
((__t=( f.getClass('ivent__scroll') ))==null?'':__t)+
' scrollBar">\r\n                        <div class="'+
((__t=( f.getClass('ivent__scroll-container') ))==null?'':__t)+
'">\r\n                            \r\n                            ';
 for (let i=0; i < items.program.length; i++ ) {
                                const program = items.program[i]; 
__p+='\r\n                                <div '+
((__t=( e.ref(`programm_day_${i}`) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('ivent__section') ))==null?'':__t)+
'">\r\n                                    <div class="'+
((__t=( f.getClass('ivent__subtitle') ))==null?'':__t)+
'">\r\n                                        <h3 class="'+
((__t=( f.getClass('textLB', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                                            <time class="'+
((__t=( f.getClass('ivent__date', 'textLB', 'textDarkMainBase') ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(program.start_at).locale(context.locale).format('YYYY-MM-DD') ))==null?'':__t)+
'">\r\n                                                '+
((__t=( utils.moment(program.start_at).locale(context.locale).format('D MMMM') ))==null?'':__t)+
'\r\n                                            </time>\r\n                                        </h3>\r\n                                    </div>\r\n                \r\n                                    <ul class="'+
((__t=( f.getClass('resetList', 'ivent__list', 'schedule') ))==null?'':__t)+
'">\r\n                                        ';
 for (let j=0; j < program.timeline.length; j++ ) { 
                                            const timeline =  program.timeline[j]; 
__p+='\r\n                                            ';
 for (let d = 0; d < timeline.items.length; d++) {
                                                const line = timeline.items[d]; 
__p+='\r\n                                                <li class="'+
((__t=( f.getClass('schedule__item') ))==null?'':__t)+
'">\r\n                                                    \r\n                                                    <button '+
((__t=( e.click('openModal', {name: 'program', content: line } ) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'schedule__btn') ))==null?'':__t)+
'">\r\n                                                        <div class="'+
((__t=( f.getClass('schedule__container') ))==null?'':__t)+
'">\r\n                                                            <div class="'+
((__t=( f.getClass('schedule__interval', 'timeImg') ))==null?'':__t)+
'">\r\n                                                                <div class="'+
((__t=( f.getClass('schedule__img-clock') ))==null?'':__t)+
'" style="min-width: 16px; width: 16px; height: 16px;">\r\n                                                                    '+
((__t=( f.renderBlock('icons.i_clock') ))==null?'':__t)+
'\r\n                                                                </div>\r\n                                                                <time class="'+
((__t=( f.getClass('schedule__time', 'textSB', 'dark500base', 'active-white') ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(line.start_at).format('YYYY-MM-DDTHH:mm') ))==null?'':__t)+
'">\r\n                                                                    '+
((__t=( utils.moment(line.start_at).format('HH:mm') ))==null?'':__t)+
'-\r\n                                                                </time>\r\n                                                                <time class="'+
((__t=( f.getClass('schedule__time', 'textSB', 'dark500base', 'active-white') ))==null?'':__t)+
'" datetime="utils.moment(line.finish_at).format(\'YYYY-MM-DDTHH:mm\') %>">\r\n                                                                    '+
((__t=( utils.moment(line.finish_at).format('HH:mm') ))==null?'':__t)+
'\r\n                                                                </time>\r\n                                                            </div>\r\n                                                            ';
 if (line.location) { 
__p+='\r\n                                                                <div class="'+
((__t=( f.getClass('schedule__location') ))==null?'':__t)+
'">\r\n                                                                    <div class="'+
((__t=( f.getClass('schedule__img-map') ))==null?'':__t)+
'" style="min-width: 16px; width: 16px; height: 16px;">\r\n                                                                        '+
((__t=( f.renderBlock('icons.i_map-pin') ))==null?'':__t)+
'\r\n                                                                    </div>\r\n                                                                    <p class="'+
((__t=( f.getClass('schedule__location', 'textSB', 'accentMainBase', 'active-white') ))==null?'':__t)+
'">\r\n                                                                        '+
((__t=( line.location ))==null?'':__t)+
'\r\n                                                                    </p>\r\n                                                                </div>\r\n                                                            ';
 } 
__p+='\r\n                                                        </div>\r\n                                                        <p class="'+
((__t=( f.getClass('schedule__text', 'textM', 'textDarkMainBase', 'active-white') ))==null?'':__t)+
'">\r\n                                                            '+
((__t=( line.title ))==null?'':__t)+
'\r\n                                                        </p>\r\n                                                    </button>\r\n                                                </li>\r\n                                            ';
 } 
__p+='\r\n                                        ';
 } 
__p+='\r\n                                    </ul>\r\n                                </div>\r\n                            ';
 } 
__p+='\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n            ';
 } 
__p+='\r\n            ';
 } else { 
__p+='\r\n                <div class="'+
((__t=( f.getClass('emptyPage') ))==null?'':__t)+
'">\r\n                    <p class="'+
((__t=( f.getClass('emptyPage__text') ))==null?'':__t)+
'">\r\n                        Список пуст\r\n                    </p>\r\n                </div>\r\n            ';
 } 
__p+='\r\n        </div>\r\n    <!-- <div class="'+
((__t=( f.getClass('schedule__btn-container') ))==null?'':__t)+
'">\r\n        <button class="'+
((__t=( f.getClass('btnNeutral') ))==null?'':__t)+
'">Отмена</button>\r\n        <button class="'+
((__t=( f.getClass('btnLight') ))==null?'':__t)+
'">Опубликовать</button>\r\n    </div> -->\r\n</div>\r\n';
}
return __p;
}
window.renderBlocks['blocks-eventList.services'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('services') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('services__scroll') ))==null?'':__t)+
' scrollBar">\r\n\r\n        ';
 if (data.services.length) { 
__p+='\r\n            <div class="'+
((__t=( f.getClass('services__scroll-container') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('services__head') ))==null?'':__t)+
'">\r\n                    <h2 class="'+
((__t=( f.getClass('services__litle', 'textH3', 'textColorPr') ))==null?'':__t)+
'">\r\n                        Доступные сервисы\r\n                    </h2>\r\n                </div>\r\n                \r\n                <div class="'+
((__t=( f.getClass('services__section') ))==null?'':__t)+
'">\r\n                    <ul class="'+
((__t=( f.getClass('resetList', 'services__list') ))==null?'':__t)+
'">\r\n                        ';
 for (let i = 0; i < data.services.length; i++) { 
__p+='\r\n                            <li class="'+
((__t=( f.getClass('services__item', 'serviceBlock') ))==null?'':__t)+
'">\r\n                                <button '+
((__t=( e.click('openModal', {name: 'services', content: data.services[i]} ) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'serviceBlock__btn') ))==null?'':__t)+
'">\r\n                                    \r\n                                    ';
 if (!data.services[i].img) { 
__p+='\r\n                                        \r\n                                        <div class="'+
((__t=( f.getClass('serviceBlock__empty') ))==null?'':__t)+
'" style="width: 48px; height: 48px; min-width: 48px;">\r\n                                            '+
((__t=( f.renderBlock('icons.i_map-pin') ))==null?'':__t)+
'\r\n                                        </div>\r\n                                    ';
 } else { 
__p+='\r\n                                        <div class="'+
((__t=( f.getClass('serviceBlock__preview') ))==null?'':__t)+
'" style="width: 48px; height: 48px; min-width: 48px;">\r\n                                            <img src="'+
((__t=( utils.makeImageUrl(data.services[i].img) ))==null?'':__t)+
'" alt="" style="width: 100%">\r\n                                        </div>\r\n                                    ';
 } 
__p+='\r\n                                    <div class="'+
((__t=( f.getClass('serviceBlock__container') ))==null?'':__t)+
'">\r\n                                        <!-- <h3 class="'+
((__t=( f.getClass('serviceBlock__title') ))==null?'':__t)+
'">\r\n                                            Привилегия\r\n                                        </h3> -->\r\n                                        <p class="'+
((__t=( f.getClass('serviceBlock__text') ))==null?'':__t)+
'">\r\n                                            '+
((__t=( data.services[i].name ))==null?'':__t)+
'\r\n                                        </p>\r\n                                        <!-- <p class="'+
((__t=( f.getClass('serviceBlock__secondtext') ))==null?'':__t)+
'">\r\n                                            Подпись\r\n                                        </p> -->\r\n                                    </div>\r\n                                </button>\r\n                            </li>\r\n                        ';
 } 
__p+='\r\n                    </ul>\r\n                </div>\r\n            </div>\r\n        ';
 } else { 
__p+='\r\n            <div class="'+
((__t=( f.getClass('partners__emptyPage') ))==null?'':__t)+
'">\r\n                <p class="'+
((__t=( f.getClass('textM', 'dark500base') ))==null?'':__t)+
'">\r\n                    Список пуст\r\n                </p>\r\n            </div>\r\n        ';
 } 
__p+='\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-flags.f_ru'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" id="flag-icons-ru" viewBox="0 0 512 512">\r\n  <path fill="#fff" d="M0 0h512v170.7H0z"/>\r\n  <path fill="#0039a6" d="M0 170.7h512v170.6H0z"/>\r\n  <path fill="#d52b1e" d="M0 341.3h512V512H0z"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-flags.f_sh'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" id="flag-icons-sh" viewBox="0 0 512 512">\r\n  <path fill="#012169" d="M0 0h512v512H0z"/>\r\n  <path fill="#FFF" d="M512 0v64L322 256l190 187v69h-67L254 324 68 512H0v-68l186-187L0 74V0h62l192 188L440 0z"/>\r\n  <path fill="#C8102E" d="m184 324 11 34L42 512H0v-3zm124-12 54 8 150 147v45zM512 0 320 196l-4-44L466 0zM0 1l193 189-59-8L0 49z"/>\r\n  <path fill="#FFF" d="M176 0v512h160V0zM0 176v160h512V176z"/>\r\n  <path fill="#C8102E" d="M0 208v96h512v-96zM208 0v512h96V0z"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-flags.f_us'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" id="flag-icons-us" viewBox="0 0 512 512">\r\n  <path fill="#bd3d44" d="M0 0h512v512H0"/>\r\n  <path stroke="#fff" stroke-width="40" d="M0 58h512M0 137h512M0 216h512M0 295h512M0 374h512M0 453h512"/>\r\n  <path fill="#192f5d" d="M0 0h390v275H0z"/>\r\n  <marker id="us-a" markerHeight="30" markerWidth="30">\r\n    <path fill="#fff" d="m15 0 9.3 28.6L0 11h30L5.7 28.6"/>\r\n  </marker>\r\n  <path fill="none" marker-mid="url(#us-a)" d="m0 0 18 11h65 65 65 65 66L51 39h65 65 65 65L18 66h65 65 65 65 66L51 94h65 65 65 65L18 121h65 65 65 65 66L51 149h65 65 65 65L18 177h65 65 65 65 66L51 205h65 65 65 65L18 232h65 65 65 65 66z"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-form.autocompleteInput'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='\r\n<div class="'+
((__t=( f.getClass('container') ))==null?'':__t)+
'">\r\n    ';
 if (data.selected) { 
__p+='\r\n        <div class="'+
((__t=( f.getClass('selected') ))==null?'':__t)+
'">\r\n            <div '+
((__t=( e.click('edit') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('input__input', 'inputResult') ))==null?'':__t)+
'">'+
((__t=( data.itemExtractor(data.selected) ))==null?'':__t)+
'</div>\r\n            <div '+
((__t=( e.click('clear') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn','selected__btnClear') ))==null?'':__t)+
'" aria-label="Очистить поле" style="width: 20px; height: 20px" tabindex="0">\r\n                '+
((__t=( f.renderBlock('icons.i_x') ))==null?'':__t)+
'\r\n            </div>\r\n        </div>\r\n        \r\n    ';
 } else { 
__p+='\r\n        ';

            const fid = e.makeId();
        
__p+='\r\n        <input _id="'+
((__t=( data.name ))==null?'':__t)+
'" value="'+
((__t=( data.params.query ))==null?'':__t)+
'" '+
((__t=( e.on('click', 'search', '', fid, false) ))==null?'':__t)+
' f-id="'+
((__t=( fid ))==null?'':__t)+
'" '+
((__t=( e.on('input','input',  '', fid, false) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('input__input', 'inputLongSmall') ))==null?'':__t)+
'" type="text"placeholder="Введите имя">\r\n\r\n        ';
 if (data.params.query && !data.loading){ 
__p+='\r\n              <div '+
((__t=( e.click('clear') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn','selected__btnClear') ))==null?'':__t)+
'" aria-label="Очистить поле" style="width: 20px; height: 20px" tabindex="0">\r\n                '+
((__t=( f.renderBlock('icons.i_x') ))==null?'':__t)+
'\r\n            </div>\r\n        ';
 } 
__p+='\r\n    ';
 } 
__p+='\r\n\r\n    ';
 if (data.loading){ 
__p+='\r\n        <div class="'+
((__t=( f.getClass('container__loader') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock('loaderBarSmall') ))==null?'':__t)+
'\r\n        </div>\r\n    ';
 } 
__p+='\r\n</div>\r\n\r\n';
 if ((data.data || []).length > 0) { 
__p+='\r\n    <div class="'+
((__t=( f.getClass('wrapper') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('wrapper__container') ))==null?'':__t)+
'">\r\n            ';
 for (let index = 0; index < data.data.length; index++) {
                const element = data.data[index]; 
__p+='\r\n    \r\n                <button '+
((__t=( e.click('select', element) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'item') ))==null?'':__t)+
'">'+
((__t=( data.itemExtractor(element) ))==null?'':__t)+
'</button>\r\n            ';
 } 
__p+='\r\n        </div>\r\n     </div>\r\n';
 } 
__p+='';
}
return __p;
}
window.renderBlocks['blocks-icons.a_processing'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div style="width:'+
((__t=( data.size ))==null?'':__t)+
'px;">\r\n<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200">\r\n    <radialGradient id="a3" cx=".66" fx=".66" cy=".3125" fy=".3125" gradientTransform="scale(1.5)">\r\n        <stop offset="0" stop-color="'+
((__t=( data.color ))==null?'':__t)+
'"></stop>\r\n        <stop offset=".3" stop-color="'+
((__t=( data.color ))==null?'':__t)+
'" stop-opacity=".9"></stop>\r\n        <stop offset=".6" stop-color="'+
((__t=( data.color ))==null?'':__t)+
'" stop-opacity=".6"></stop>\r\n        <stop offset=".8" stop-color="'+
((__t=( data.color ))==null?'':__t)+
'" stop-opacity=".3"></stop>\r\n        <stop offset="1" stop-color="'+
((__t=( data.color ))==null?'':__t)+
'" stop-opacity="0"></stop>\r\n    </radialGradient>\r\n    <circle transform-origin="center" fill="none" stroke="url(#a3)" stroke-width="13" stroke-linecap="round" stroke-dasharray="200 1000" stroke-dashoffset="0" cx="100" cy="100" r="70">\r\n        <animateTransform type="rotate" attributeName="transform" calcMode="spline" dur="2" values="360;0" keyTimes="0;1" keySplines="0 0 1 1" repeatCount="indefinite"></animateTransform>\r\n    </circle>\r\n    <circle transform-origin="center" fill="none" opacity=".2" stroke="'+
((__t=( data.color ))==null?'':__t)+
'" stroke-width="13" stroke-linecap="round" cx="100" cy="100" r="70"></circle>\r\n</svg>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_alert-triangle'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M18.4999 14.6946L11.6678 2.82974C11.4971 2.53906 11.2534 2.29803 10.9608 2.13057C10.6682 1.9631 10.337 1.875 9.99986 1.875C9.66275 1.875 9.33149 1.9631 9.03892 2.13057C8.74635 2.29803 8.50262 2.53906 8.33189 2.82974L1.49986 14.6946C1.33559 14.9757 1.24902 15.2955 1.24902 15.6211C1.24902 15.9468 1.33559 16.2665 1.49986 16.5477C1.6684 16.8401 1.91171 17.0825 2.20483 17.2498C2.49795 17.4172 2.83032 17.5036 3.16783 17.5001H16.8319C17.1691 17.5033 17.5012 17.4168 17.794 17.2494C18.0868 17.0821 18.3299 16.8399 18.4983 16.5477C18.6628 16.2667 18.7496 15.947 18.7499 15.6214C18.7502 15.2957 18.6639 14.9759 18.4999 14.6946ZM17.4163 15.9219C17.3567 16.0235 17.2712 16.1075 17.1685 16.1651C17.0658 16.2228 16.9496 16.2521 16.8319 16.2501H3.16783C3.05008 16.2521 2.9339 16.2228 2.83121 16.1651C2.72852 16.1075 2.64302 16.0235 2.58346 15.9219C2.52951 15.8306 2.50105 15.7264 2.50105 15.6204C2.50105 15.5143 2.52951 15.4101 2.58346 15.3188L9.41549 3.45396C9.47625 3.35284 9.56214 3.26917 9.66482 3.21108C9.7675 3.153 9.88346 3.12247 10.0014 3.12247C10.1194 3.12247 10.2354 3.153 10.338 3.21108C10.4407 3.26917 10.5266 3.35284 10.5874 3.45396L17.4194 15.3188C17.4729 15.4104 17.5008 15.5147 17.5002 15.6208C17.4997 15.7269 17.4707 15.8309 17.4163 15.9219ZM9.37486 11.2501V8.12505C9.37486 7.95929 9.44071 7.80032 9.55792 7.68311C9.67513 7.5659 9.8341 7.50005 9.99986 7.50005C10.1656 7.50005 10.3246 7.5659 10.4418 7.68311C10.559 7.80032 10.6249 7.95929 10.6249 8.12505V11.2501C10.6249 11.4158 10.559 11.5748 10.4418 11.692C10.3246 11.8092 10.1656 11.8751 9.99986 11.8751C9.8341 11.8751 9.67513 11.8092 9.55792 11.692C9.44071 11.5748 9.37486 11.4158 9.37486 11.2501ZM10.9374 14.0626C10.9374 14.248 10.8824 14.4292 10.7794 14.5834C10.6764 14.7376 10.5299 14.8577 10.3586 14.9287C10.1873 14.9996 9.99882 15.0182 9.81696 14.982C9.63511 14.9459 9.46806 14.8566 9.33695 14.7255C9.20584 14.5944 9.11655 14.4273 9.08038 14.2454C9.0442 14.0636 9.06277 13.8751 9.13372 13.7038C9.20468 13.5325 9.32484 13.3861 9.47901 13.283C9.63319 13.18 9.81444 13.1251 9.99986 13.1251C10.2485 13.1251 10.487 13.2238 10.6628 13.3996C10.8386 13.5755 10.9374 13.8139 10.9374 14.0626Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_arrow-bend-up-left'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" fill="currentColor" viewBox="0 0 256 256">\r\n    <path d="M232,200a8,8,0,0,1-16,0,88.1,88.1,0,0,0-88-88H51.31l34.35,34.34a8,8,0,0,1-11.32,11.32l-48-48a8,8,0,0,1,0-11.32l48-48A8,8,0,0,1,85.66,61.66L51.31,96H128A104.11,104.11,0,0,1,232,200Z"></path>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_arrow-down'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M19.281 14.0306L12.531 20.7806C12.4614 20.8504 12.3787 20.9057 12.2876 20.9434C12.1966 20.9812 12.099 21.0006 12.0004 21.0006C11.9019 21.0006 11.8043 20.9812 11.7132 20.9434C11.6222 20.9057 11.5394 20.8504 11.4698 20.7806L4.71979 14.0306C4.57906 13.8899 4.5 13.699 4.5 13.5C4.5 13.301 4.57906 13.1101 4.71979 12.9694C4.86052 12.8286 5.05139 12.7496 5.25042 12.7496C5.44944 12.7496 5.64031 12.8286 5.78104 12.9694L11.2504 18.4397V3.75C11.2504 3.55109 11.3294 3.36032 11.4701 3.21967C11.6107 3.07902 11.8015 3 12.0004 3C12.1993 3 12.3901 3.07902 12.5307 3.21967C12.6714 3.36032 12.7504 3.55109 12.7504 3.75V18.4397L18.2198 12.9694C18.3605 12.8286 18.5514 12.7496 18.7504 12.7496C18.9494 12.7496 19.1403 12.8286 19.281 12.9694C19.4218 13.1101 19.5008 13.301 19.5008 13.5C19.5008 13.699 19.4218 13.8899 19.281 14.0306Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_arrow-up'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M12.854 7.35366C12.8076 7.40014 12.7524 7.43702 12.6917 7.46218C12.631 7.48735 12.566 7.5003 12.5003 7.5003C12.4346 7.5003 12.3695 7.48735 12.3088 7.46218C12.2481 7.43702 12.193 7.40014 12.1465 7.35366L8.50028 3.70678V13.4999C8.50028 13.6325 8.4476 13.7597 8.35383 13.8535C8.26006 13.9472 8.13289 13.9999 8.00028 13.9999C7.86767 13.9999 7.74049 13.9472 7.64672 13.8535C7.55296 13.7597 7.50028 13.6325 7.50028 13.4999V3.70678L3.85403 7.35366C3.76021 7.44748 3.63296 7.50018 3.50028 7.50018C3.3676 7.50018 3.24035 7.44748 3.14653 7.35366C3.05271 7.25984 3 7.13259 3 6.99991C3 6.86722 3.05271 6.73997 3.14653 6.64615L7.64653 2.14615C7.69296 2.09967 7.74811 2.06279 7.80881 2.03763C7.86951 2.01246 7.93457 1.99951 8.00028 1.99951C8.06599 1.99951 8.13105 2.01246 8.19175 2.03763C8.25245 2.06279 8.30759 2.09967 8.35403 2.14615L12.854 6.64615C12.9005 6.69259 12.9374 6.74774 12.9626 6.80843C12.9877 6.86913 13.0007 6.9342 13.0007 6.99991C13.0007 7.06561 12.9877 7.13068 12.9626 7.19138C12.9374 7.25207 12.9005 7.30722 12.854 7.35366Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_arrows-indent'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M17.5 10.0005C17.5 10.1663 17.4342 10.3252 17.3169 10.4424C17.1997 10.5596 17.0408 10.6255 16.875 10.6255H3.125C2.95924 10.6255 2.80027 10.5596 2.68306 10.4424C2.56585 10.3252 2.5 10.1663 2.5 10.0005C2.5 9.83473 2.56585 9.67576 2.68306 9.55855C2.80027 9.44134 2.95924 9.37549 3.125 9.37549H16.875C17.0408 9.37549 17.1997 9.44134 17.3169 9.55855C17.4342 9.67576 17.5 9.83473 17.5 10.0005ZM7.94219 4.19268L9.375 2.75909V7.50049C9.375 7.66625 9.44085 7.82522 9.55806 7.94243C9.67527 8.05964 9.83424 8.12549 10 8.12549C10.1658 8.12549 10.3247 8.05964 10.4419 7.94243C10.5592 7.82522 10.625 7.66625 10.625 7.50049V2.75909L12.0578 4.19268C12.1751 4.30995 12.3341 4.37584 12.5 4.37584C12.6659 4.37584 12.8249 4.30995 12.9422 4.19268C13.0595 4.0754 13.1253 3.91634 13.1253 3.75049C13.1253 3.58464 13.0595 3.42558 12.9422 3.3083L10.4422 0.808304C10.3841 0.750194 10.3152 0.704095 10.2393 0.672642C10.1635 0.641189 10.0821 0.625 10 0.625C9.91787 0.625 9.83654 0.641189 9.76066 0.672642C9.68479 0.704095 9.61586 0.750194 9.55781 0.808304L7.05781 3.3083C6.94054 3.42558 6.87465 3.58464 6.87465 3.75049C6.87465 3.91634 6.94054 4.0754 7.05781 4.19268C7.17509 4.30995 7.33415 4.37584 7.5 4.37584C7.66585 4.37584 7.82491 4.30995 7.94219 4.19268ZM12.0578 15.8083L10.625 17.2419V12.5005C10.625 12.3347 10.5592 12.1758 10.4419 12.0585C10.3247 11.9413 10.1658 11.8755 10 11.8755C9.83424 11.8755 9.67527 11.9413 9.55806 12.0585C9.44085 12.1758 9.375 12.3347 9.375 12.5005V17.2419L7.94219 15.8083C7.82491 15.691 7.66585 15.6251 7.5 15.6251C7.33415 15.6251 7.17509 15.691 7.05781 15.8083C6.94054 15.9256 6.87465 16.0846 6.87465 16.2505C6.87465 16.4163 6.94054 16.5754 7.05781 16.6927L9.55781 19.1927C9.61586 19.2508 9.68479 19.2969 9.76066 19.3283C9.83654 19.3598 9.91787 19.376 10 19.376C10.0821 19.376 10.1635 19.3598 10.2393 19.3283C10.3152 19.2969 10.3841 19.2508 10.4422 19.1927L12.9422 16.6927C13.0595 16.5754 13.1253 16.4163 13.1253 16.2505C13.1253 16.0846 13.0595 15.9256 12.9422 15.8083C12.8249 15.691 12.6659 15.6251 12.5 15.6251C12.3341 15.6251 12.1751 15.691 12.0578 15.8083Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_box'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M17.475 5.16798L10.6 1.40626C10.4163 1.30477 10.2099 1.25153 10 1.25153C9.79013 1.25153 9.58369 1.30477 9.4 1.40626L2.525 5.16954C2.32866 5.27697 2.16477 5.43514 2.05043 5.62753C1.93609 5.81993 1.87551 6.03949 1.875 6.26329V13.7352C1.87551 13.959 1.93609 14.1785 2.05043 14.3709C2.16477 14.5633 2.32866 14.7215 2.525 14.8289L9.4 18.5922C9.58369 18.6937 9.79013 18.7469 10 18.7469C10.2099 18.7469 10.4163 18.6937 10.6 18.5922L17.475 14.8289C17.6713 14.7215 17.8352 14.5633 17.9496 14.3709C18.0639 14.1785 18.1245 13.959 18.125 13.7352V6.26408C18.1249 6.03987 18.0645 5.81982 17.9502 5.62698C17.8358 5.43414 17.6717 5.2756 17.475 5.16798ZM10 2.50001L16.2766 5.93751L13.9508 7.21095L7.67344 3.77345L10 2.50001ZM10 9.37501L3.72344 5.93751L6.37187 4.48751L12.6484 7.92501L10 9.37501ZM3.125 7.03126L9.375 10.4516V17.1539L3.125 13.736V7.03126ZM16.875 13.7328L10.625 17.1539V10.4547L13.125 9.08673V11.875C13.125 12.0408 13.1908 12.1997 13.3081 12.317C13.4253 12.4342 13.5842 12.5 13.75 12.5C13.9158 12.5 14.0747 12.4342 14.1919 12.317C14.3092 12.1997 14.375 12.0408 14.375 11.875V8.40236L16.875 7.03126V13.732V13.7328Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_briefcase'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M1.5 4.5C1.5 3.94772 1.94772 3.5 2.5 3.5H13.5C14.0523 3.5 14.5 3.94772 14.5 4.5V12.5C14.5 13.0523 14.0523 13.5 13.5 13.5H2.5C1.94772 13.5 1.5 13.0523 1.5 12.5V4.5ZM13.5 4.5H2.5V12.5H13.5V4.5Z" fill="currentColor"/>\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M5.43934 1.93934C5.72064 1.65804 6.10218 1.5 6.5 1.5H9.5C9.89782 1.5 10.2794 1.65804 10.5607 1.93934C10.842 2.22064 11 2.60218 11 3V4C11 4.27614 10.7761 4.5 10.5 4.5C10.2239 4.5 10 4.27614 10 4V3C10 2.86739 9.94732 2.74021 9.85355 2.64645C9.75979 2.55268 9.63261 2.5 9.5 2.5H6.5C6.36739 2.5 6.24022 2.55268 6.14645 2.64645C6.05268 2.74021 6 2.86739 6 3V4C6 4.27614 5.77614 4.5 5.5 4.5C5.22386 4.5 5 4.27614 5 4V3C5 2.60218 5.15804 2.22064 5.43934 1.93934Z" fill="currentColor"/>\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M14.4329 7.14421C14.5712 7.38323 14.4895 7.6891 14.2505 7.82739C12.351 8.92643 10.1946 9.50356 8.00009 9.50024C5.80567 9.5036 3.64936 8.92672 1.74976 7.82806C1.51071 7.68981 1.42901 7.38395 1.56726 7.14491C1.70551 6.90587 2.01137 6.82416 2.25041 6.96242C3.9976 7.97292 5.98092 8.50346 7.99929 8.50024H8.00087C10.0193 8.50342 12.0026 7.97267 13.7497 6.96183C13.9887 6.82354 14.2946 6.90519 14.4329 7.14421Z" fill="currentColor"/>\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M6.5 7C6.5 6.72386 6.72386 6.5 7 6.5H9C9.27614 6.5 9.5 6.72386 9.5 7C9.5 7.27614 9.27614 7.5 9 7.5H7C6.72386 7.5 6.5 7.27614 6.5 7Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_buildings'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M23.25 19.5H21.75V9C21.9489 9 22.1397 8.92098 22.2803 8.78033C22.421 8.63968 22.5 8.44891 22.5 8.25C22.5 8.05109 22.421 7.86032 22.2803 7.71967C22.1397 7.57902 21.9489 7.5 21.75 7.5H17.25V4.5C17.4489 4.5 17.6397 4.42098 17.7803 4.28033C17.921 4.13968 18 3.94891 18 3.75C18 3.55109 17.921 3.36032 17.7803 3.21967C17.6397 3.07902 17.4489 3 17.25 3H3.75C3.55109 3 3.36032 3.07902 3.21967 3.21967C3.07902 3.36032 3 3.55109 3 3.75C3 3.94891 3.07902 4.13968 3.21967 4.28033C3.36032 4.42098 3.55109 4.5 3.75 4.5V19.5H2.25C2.05109 19.5 1.86032 19.579 1.71967 19.7197C1.57902 19.8603 1.5 20.0511 1.5 20.25C1.5 20.4489 1.57902 20.6397 1.71967 20.7803C1.86032 20.921 2.05109 21 2.25 21H23.25C23.4489 21 23.6397 20.921 23.7803 20.7803C23.921 20.6397 24 20.4489 24 20.25C24 20.0511 23.921 19.8603 23.7803 19.7197C23.6397 19.579 23.4489 19.5 23.25 19.5ZM20.25 9V19.5H17.25V9H20.25ZM5.25 4.5H15.75V19.5H13.5V15C13.5 14.8011 13.421 14.6103 13.2803 14.4697C13.1397 14.329 12.9489 14.25 12.75 14.25H8.25C8.05109 14.25 7.86032 14.329 7.71967 14.4697C7.57902 14.6103 7.5 14.8011 7.5 15V19.5H5.25V4.5ZM12 19.5H9V15.75H12V19.5ZM6.75 7.5C6.75 7.30109 6.82902 7.11032 6.96967 6.96967C7.11032 6.82902 7.30109 6.75 7.5 6.75H9C9.19891 6.75 9.38968 6.82902 9.53033 6.96967C9.67098 7.11032 9.75 7.30109 9.75 7.5C9.75 7.69891 9.67098 7.88968 9.53033 8.03033C9.38968 8.17098 9.19891 8.25 9 8.25H7.5C7.30109 8.25 7.11032 8.17098 6.96967 8.03033C6.82902 7.88968 6.75 7.69891 6.75 7.5ZM11.25 7.5C11.25 7.30109 11.329 7.11032 11.4697 6.96967C11.6103 6.82902 11.8011 6.75 12 6.75H13.5C13.6989 6.75 13.8897 6.82902 14.0303 6.96967C14.171 7.11032 14.25 7.30109 14.25 7.5C14.25 7.69891 14.171 7.88968 14.0303 8.03033C13.8897 8.17098 13.6989 8.25 13.5 8.25H12C11.8011 8.25 11.6103 8.17098 11.4697 8.03033C11.329 7.88968 11.25 7.69891 11.25 7.5ZM6.75 11.25C6.75 11.0511 6.82902 10.8603 6.96967 10.7197C7.11032 10.579 7.30109 10.5 7.5 10.5H9C9.19891 10.5 9.38968 10.579 9.53033 10.7197C9.67098 10.8603 9.75 11.0511 9.75 11.25C9.75 11.4489 9.67098 11.6397 9.53033 11.7803C9.38968 11.921 9.19891 12 9 12H7.5C7.30109 12 7.11032 11.921 6.96967 11.7803C6.82902 11.6397 6.75 11.4489 6.75 11.25ZM11.25 11.25C11.25 11.0511 11.329 10.8603 11.4697 10.7197C11.6103 10.579 11.8011 10.5 12 10.5H13.5C13.6989 10.5 13.8897 10.579 14.0303 10.7197C14.171 10.8603 14.25 11.0511 14.25 11.25C14.25 11.4489 14.171 11.6397 14.0303 11.7803C13.8897 11.921 13.6989 12 13.5 12H12C11.8011 12 11.6103 11.921 11.4697 11.7803C11.329 11.6397 11.25 11.4489 11.25 11.25Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_calculator'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M6.25 9.375H13.75C13.9158 9.375 14.0747 9.30915 14.1919 9.19194C14.3092 9.07473 14.375 8.91576 14.375 8.75V5C14.375 4.83424 14.3092 4.67527 14.1919 4.55806C14.0747 4.44085 13.9158 4.375 13.75 4.375H6.25C6.08424 4.375 5.92527 4.44085 5.80806 4.55806C5.69085 4.67527 5.625 4.83424 5.625 5V8.75C5.625 8.91576 5.69085 9.07473 5.80806 9.19194C5.92527 9.30915 6.08424 9.375 6.25 9.375ZM6.875 5.625H13.125V8.125H6.875V5.625ZM15.625 1.875H4.375C4.04348 1.875 3.72554 2.0067 3.49112 2.24112C3.2567 2.47554 3.125 2.79348 3.125 3.125V16.875C3.125 17.2065 3.2567 17.5245 3.49112 17.7589C3.72554 17.9933 4.04348 18.125 4.375 18.125H15.625C15.9565 18.125 16.2745 17.9933 16.5089 17.7589C16.7433 17.5245 16.875 17.2065 16.875 16.875V3.125C16.875 2.79348 16.7433 2.47554 16.5089 2.24112C16.2745 2.0067 15.9565 1.875 15.625 1.875ZM15.625 16.875H4.375V3.125H15.625V16.875ZM7.8125 11.5625C7.8125 11.7479 7.75752 11.9292 7.6545 12.0833C7.55149 12.2375 7.40507 12.3577 7.23377 12.4286C7.06246 12.4996 6.87396 12.5182 6.6921 12.482C6.51025 12.4458 6.3432 12.3565 6.21209 12.2254C6.08098 12.0943 5.99169 11.9273 5.95551 11.7454C5.91934 11.5635 5.93791 11.375 6.00886 11.2037C6.07982 11.0324 6.19998 10.886 6.35415 10.783C6.50832 10.68 6.68958 10.625 6.875 10.625C7.12364 10.625 7.3621 10.7238 7.53791 10.8996C7.71373 11.0754 7.8125 11.3139 7.8125 11.5625ZM10.9375 11.5625C10.9375 11.7479 10.8825 11.9292 10.7795 12.0833C10.6765 12.2375 10.5301 12.3577 10.3588 12.4286C10.1875 12.4996 9.99896 12.5182 9.8171 12.482C9.63525 12.4458 9.4682 12.3565 9.33709 12.2254C9.20598 12.0943 9.11669 11.9273 9.08051 11.7454C9.04434 11.5635 9.06291 11.375 9.13386 11.2037C9.20482 11.0324 9.32498 10.886 9.47915 10.783C9.63332 10.68 9.81458 10.625 10 10.625C10.2486 10.625 10.4871 10.7238 10.6629 10.8996C10.8387 11.0754 10.9375 11.3139 10.9375 11.5625ZM14.0625 11.5625C14.0625 11.7479 14.0075 11.9292 13.9045 12.0833C13.8015 12.2375 13.6551 12.3577 13.4838 12.4286C13.3125 12.4996 13.124 12.5182 12.9421 12.482C12.7602 12.4458 12.5932 12.3565 12.4621 12.2254C12.331 12.0943 12.2417 11.9273 12.2055 11.7454C12.1693 11.5635 12.1879 11.375 12.2589 11.2037C12.3298 11.0324 12.45 10.886 12.6042 10.783C12.7583 10.68 12.9396 10.625 13.125 10.625C13.3736 10.625 13.6121 10.7238 13.7879 10.8996C13.9637 11.0754 14.0625 11.3139 14.0625 11.5625ZM7.8125 14.6875C7.8125 14.8729 7.75752 15.0542 7.6545 15.2083C7.55149 15.3625 7.40507 15.4827 7.23377 15.5536C7.06246 15.6246 6.87396 15.6432 6.6921 15.607C6.51025 15.5708 6.3432 15.4815 6.21209 15.3504C6.08098 15.2193 5.99169 15.0523 5.95551 14.8704C5.91934 14.6885 5.93791 14.5 6.00886 14.3287C6.07982 14.1574 6.19998 14.011 6.35415 13.908C6.50832 13.805 6.68958 13.75 6.875 13.75C7.12364 13.75 7.3621 13.8488 7.53791 14.0246C7.71373 14.2004 7.8125 14.4389 7.8125 14.6875ZM10.9375 14.6875C10.9375 14.8729 10.8825 15.0542 10.7795 15.2083C10.6765 15.3625 10.5301 15.4827 10.3588 15.5536C10.1875 15.6246 9.99896 15.6432 9.8171 15.607C9.63525 15.5708 9.4682 15.4815 9.33709 15.3504C9.20598 15.2193 9.11669 15.0523 9.08051 14.8704C9.04434 14.6885 9.06291 14.5 9.13386 14.3287C9.20482 14.1574 9.32498 14.011 9.47915 13.908C9.63332 13.805 9.81458 13.75 10 13.75C10.2486 13.75 10.4871 13.8488 10.6629 14.0246C10.8387 14.2004 10.9375 14.4389 10.9375 14.6875ZM14.0625 14.6875C14.0625 14.8729 14.0075 15.0542 13.9045 15.2083C13.8015 15.3625 13.6551 15.4827 13.4838 15.5536C13.3125 15.6246 13.124 15.6432 12.9421 15.607C12.7602 15.5708 12.5932 15.4815 12.4621 15.3504C12.331 15.2193 12.2417 15.0523 12.2055 14.8704C12.1693 14.6885 12.1879 14.5 12.2589 14.3287C12.3298 14.1574 12.45 14.011 12.6042 13.908C12.7583 13.805 12.9396 13.75 13.125 13.75C13.3736 13.75 13.6121 13.8488 13.7879 14.0246C13.9637 14.2004 14.0625 14.4389 14.0625 14.6875Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_calendar'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M16.25 2.5H14.375V1.875C14.375 1.70924 14.3092 1.55027 14.1919 1.43306C14.0747 1.31585 13.9158 1.25 13.75 1.25C13.5842 1.25 13.4253 1.31585 13.3081 1.43306C13.1908 1.55027 13.125 1.70924 13.125 1.875V2.5H6.875V1.875C6.875 1.70924 6.80915 1.55027 6.69194 1.43306C6.57473 1.31585 6.41576 1.25 6.25 1.25C6.08424 1.25 5.92527 1.31585 5.80806 1.43306C5.69085 1.55027 5.625 1.70924 5.625 1.875V2.5H3.75C3.41848 2.5 3.10054 2.6317 2.86612 2.86612C2.6317 3.10054 2.5 3.41848 2.5 3.75V16.25C2.5 16.5815 2.6317 16.8995 2.86612 17.1339C3.10054 17.3683 3.41848 17.5 3.75 17.5H16.25C16.5815 17.5 16.8995 17.3683 17.1339 17.1339C17.3683 16.8995 17.5 16.5815 17.5 16.25V3.75C17.5 3.41848 17.3683 3.10054 17.1339 2.86612C16.8995 2.6317 16.5815 2.5 16.25 2.5ZM5.625 3.75V4.375C5.625 4.54076 5.69085 4.69973 5.80806 4.81694C5.92527 4.93415 6.08424 5 6.25 5C6.41576 5 6.57473 4.93415 6.69194 4.81694C6.80915 4.69973 6.875 4.54076 6.875 4.375V3.75H13.125V4.375C13.125 4.54076 13.1908 4.69973 13.3081 4.81694C13.4253 4.93415 13.5842 5 13.75 5C13.9158 5 14.0747 4.93415 14.1919 4.81694C14.3092 4.69973 14.375 4.54076 14.375 4.375V3.75H16.25V6.25H3.75V3.75H5.625ZM16.25 16.25H3.75V7.5H16.25V16.25Z" fill="currentColor"/>\r\n</svg>\r\n';
}
return __p;
}
window.renderBlocks['blocks-icons.i_chart'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M21.75 19.5C21.75 19.6989 21.671 19.8897 21.5303 20.0303C21.3897 20.171 21.1989 20.25 21 20.25H3C2.80109 20.25 2.61032 20.171 2.46967 20.0303C2.32902 19.8897 2.25 19.6989 2.25 19.5V4.5C2.25 4.30109 2.32902 4.11032 2.46967 3.96967C2.61032 3.82902 2.80109 3.75 3 3.75C3.19891 3.75 3.38968 3.82902 3.53033 3.96967C3.67098 4.11032 3.75 4.30109 3.75 4.5V13.3472L8.50594 9.1875C8.63536 9.07421 8.79978 9.00885 8.97165 9.00236C9.14353 8.99587 9.31241 9.04866 9.45 9.15188L14.9634 13.2872L20.5059 8.4375C20.5786 8.36556 20.6652 8.30925 20.7605 8.27201C20.8557 8.23478 20.9575 8.21741 21.0597 8.22097C21.1619 8.22454 21.2623 8.24896 21.3547 8.29275C21.4471 8.33653 21.5296 8.39875 21.5971 8.47558C21.6645 8.5524 21.7156 8.64222 21.7471 8.7395C21.7786 8.83678 21.7899 8.93948 21.7802 9.04128C21.7706 9.14307 21.7402 9.24182 21.691 9.33146C21.6418 9.42109 21.5748 9.49972 21.4941 9.5625L15.4941 14.8125C15.3646 14.9258 15.2002 14.9912 15.0283 14.9976C14.8565 15.0041 14.6876 14.9513 14.55 14.8481L9.03656 10.7147L3.75 15.3403V18.75H21C21.1989 18.75 21.3897 18.829 21.5303 18.9697C21.671 19.1103 21.75 19.3011 21.75 19.5Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_check-chat'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M15.5634 6.69549L8.56337 13.5705C8.44647 13.6855 8.28907 13.7499 8.12509 13.7499C7.96112 13.7499 7.80371 13.6855 7.68681 13.5705L4.68681 10.6244C4.62828 10.5668 4.58166 10.4983 4.54961 10.4227C4.51756 10.3472 4.50071 10.266 4.50002 10.1839C4.49933 10.1019 4.51482 10.0204 4.54559 9.94434C4.57637 9.86824 4.62183 9.79894 4.67939 9.74041C4.73695 9.68188 4.80547 9.63526 4.88104 9.60321C4.95661 9.57116 5.03776 9.55431 5.11985 9.55362C5.20193 9.55293 5.28335 9.56842 5.35945 9.59919C5.43555 9.62997 5.50484 9.67543 5.56337 9.73299L8.12509 12.2486L14.6876 5.8033C14.8059 5.68706 14.9655 5.62258 15.1314 5.62405C15.2135 5.62477 15.2947 5.64167 15.3703 5.67376C15.4459 5.70586 15.5144 5.75253 15.572 5.81111C15.6295 5.8697 15.675 5.93904 15.7057 6.01519C15.7365 6.09134 15.7519 6.1728 15.7512 6.25492C15.7505 6.33704 15.7336 6.41822 15.7015 6.49381C15.6694 6.5694 15.622 6.63793 15.5634 6.69549Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_check-double'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M14.026 8.03594L5.62605 16.2859C5.48577 16.4239 5.29688 16.5013 5.10011 16.5013C4.90334 16.5013 4.71445 16.4239 4.57417 16.2859L0.974175 12.7506C0.903938 12.6816 0.847993 12.5993 0.809533 12.5087C0.771074 12.418 0.750853 12.3206 0.750026 12.2221C0.749199 12.1236 0.767782 12.0259 0.804713 11.9346C0.841645 11.8432 0.896201 11.7601 0.965268 11.6899C1.03434 11.6196 1.11656 11.5637 1.20725 11.5252C1.29794 11.4867 1.39531 11.4665 1.49381 11.4657C1.59232 11.4649 1.69002 11.4835 1.78134 11.5204C1.87266 11.5573 1.95581 11.6119 2.02605 11.6809L5.10011 14.6997L12.9751 6.96532C13.1171 6.82583 13.3087 6.74846 13.5077 6.75021C13.6062 6.75109 13.7036 6.77136 13.7943 6.80987C13.8851 6.84839 13.9673 6.9044 14.0364 6.97469C14.1054 7.04499 14.16 7.12821 14.1969 7.21958C14.2338 7.31096 14.2523 7.40871 14.2515 7.50726C14.2506 7.60581 14.2303 7.70322 14.1918 7.79393C14.1533 7.88464 14.0963 7.96688 14.026 8.03594ZM23.0354 6.97469C22.9664 6.90434 22.8842 6.84829 22.7934 6.80974C22.7027 6.77119 22.6053 6.7509 22.5067 6.75003C22.4082 6.74916 22.3104 6.76772 22.219 6.80467C22.1276 6.84161 22.0444 6.8962 21.9742 6.96532L14.0992 14.6997L12.3339 12.9653C12.1919 12.826 12.0004 12.7487 11.8014 12.7505C11.6025 12.7524 11.4124 12.8332 11.2731 12.9752C11.1337 13.1171 11.0565 13.3087 11.0583 13.5076C11.0602 13.7065 11.141 13.8966 11.2829 14.0359L13.5732 16.2859C13.7135 16.4239 13.9024 16.5013 14.0992 16.5013C14.2959 16.5013 14.4848 16.4239 14.6251 16.2859L23.0251 8.03594C23.0955 7.96697 23.1517 7.88479 23.1903 7.79411C23.2289 7.70343 23.2493 7.60602 23.2502 7.50746C23.2512 7.40889 23.2327 7.31111 23.1959 7.21969C23.159 7.12828 23.1045 7.04502 23.0354 6.97469Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_check'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M21.531 7.28104L9.53104 19.281C9.46139 19.3508 9.37867 19.4061 9.28762 19.4438C9.19657 19.4816 9.09898 19.501 9.00042 19.501C8.90186 19.501 8.80426 19.4816 8.71321 19.4438C8.62216 19.4061 8.53945 19.3508 8.46979 19.281L3.21979 14.031C3.07906 13.8903 3 13.6994 3 13.5004C3 13.3014 3.07906 13.1105 3.21979 12.9698C3.36052 12.8291 3.55139 12.75 3.75042 12.75C3.94944 12.75 4.14031 12.8291 4.28104 12.9698L9.00042 17.6901L20.4698 6.21979C20.6105 6.07906 20.8014 6 21.0004 6C21.1994 6 21.3903 6.07906 21.531 6.21979C21.6718 6.36052 21.7508 6.55139 21.7508 6.75042C21.7508 6.94944 21.6718 7.14031 21.531 7.28104Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_chevron-down'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M3.96967 8.46967C4.26256 8.17678 4.73744 8.17678 5.03033 8.46967L12 15.4393L18.9697 8.46967C19.2626 8.17678 19.7374 8.17678 20.0303 8.46967C20.3232 8.76256 20.3232 9.23744 20.0303 9.53033L12.5303 17.0303C12.2374 17.3232 11.7626 17.3232 11.4697 17.0303L3.96967 9.53033C3.67678 9.23744 3.67678 8.76256 3.96967 8.46967Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_chevron-left'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M15.5303 3.96967C15.8232 4.26256 15.8232 4.73744 15.5303 5.03033L8.56066 12L15.5303 18.9697C15.8232 19.2626 15.8232 19.7374 15.5303 20.0303C15.2374 20.3232 14.7626 20.3232 14.4697 20.0303L6.96967 12.5303C6.67678 12.2374 6.67678 11.7626 6.96967 11.4697L14.4697 3.96967C14.7626 3.67678 15.2374 3.67678 15.5303 3.96967Z" fill="currentColor"/>\r\n</svg>\r\n';
}
return __p;
}
window.renderBlocks['blocks-icons.i_chevron-right'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M8.46967 3.96967C8.76256 3.67678 9.23744 3.67678 9.53033 3.96967L17.0303 11.4697C17.3232 11.7626 17.3232 12.2374 17.0303 12.5303L9.53033 20.0303C9.23744 20.3232 8.76256 20.3232 8.46967 20.0303C8.17678 19.7374 8.17678 19.2626 8.46967 18.9697L15.4393 12L8.46967 5.03033C8.17678 4.73744 8.17678 4.26256 8.46967 3.96967Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_chevron-up'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M20.0303 15.5303C19.7374 15.8232 19.2626 15.8232 18.9697 15.5303L12 8.56066L5.03033 15.5303C4.73744 15.8232 4.26256 15.8232 3.96967 15.5303C3.67678 15.2374 3.67678 14.7626 3.96967 14.4697L11.4697 6.96967C11.7626 6.67678 12.2374 6.67678 12.5303 6.96967L20.0303 14.4697C20.3232 14.7626 20.3232 15.2374 20.0303 15.5303Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_clock'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M8 1.5C6.71442 1.5 5.45772 1.88122 4.3888 2.59545C3.31988 3.30968 2.48676 4.32484 1.99479 5.51256C1.50282 6.70028 1.37409 8.00721 1.6249 9.26809C1.8757 10.529 2.49477 11.6872 3.40381 12.5962C4.31285 13.5052 5.47104 14.1243 6.73192 14.3751C7.99279 14.6259 9.29973 14.4972 10.4874 14.0052C11.6752 13.5132 12.6903 12.6801 13.4046 11.6112C14.1188 10.5423 14.5 9.28558 14.5 8C14.4982 6.27665 13.8128 4.62441 12.5942 3.40582C11.3756 2.18722 9.72335 1.50182 8 1.5ZM8 13.5C6.91221 13.5 5.84884 13.1774 4.94437 12.5731C4.0399 11.9687 3.33495 11.1098 2.91867 10.1048C2.50238 9.09977 2.39347 7.9939 2.60568 6.927C2.8179 5.86011 3.34173 4.8801 4.11092 4.11091C4.8801 3.34172 5.86011 2.8179 6.92701 2.60568C7.9939 2.39346 9.09977 2.50238 10.1048 2.91866C11.1098 3.33494 11.9687 4.03989 12.5731 4.94436C13.1774 5.84883 13.5 6.9122 13.5 8C13.4983 9.45818 12.9184 10.8562 11.8873 11.8873C10.8562 12.9184 9.45819 13.4983 8 13.5ZM12 8C12 8.13261 11.9473 8.25979 11.8536 8.35355C11.7598 8.44732 11.6326 8.5 11.5 8.5H8C7.86739 8.5 7.74022 8.44732 7.64645 8.35355C7.55268 8.25979 7.5 8.13261 7.5 8V4.5C7.5 4.36739 7.55268 4.24021 7.64645 4.14645C7.74022 4.05268 7.86739 4 8 4C8.13261 4 8.25979 4.05268 8.35356 4.14645C8.44732 4.24021 8.5 4.36739 8.5 4.5V7.5H11.5C11.6326 7.5 11.7598 7.55268 11.8536 7.64645C11.9473 7.74021 12 7.86739 12 8Z" fill="currentColor" fill-opacity="0.88"/>\r\n</svg>\r\n';
}
return __p;
}
window.renderBlocks['blocks-icons.i_dish'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M1.875 14.375H18.125C18.2908 14.375 18.4497 14.3092 18.5669 14.1919C18.6842 14.0747 18.75 13.9158 18.75 13.75C18.75 13.5842 18.6842 13.4253 18.5669 13.3081C18.4497 13.1908 18.2908 13.125 18.125 13.125H17.5V11.875C17.4977 9.99478 16.7902 8.18382 15.5172 6.80005C14.2443 5.41628 12.4985 4.5604 10.625 4.40156V3.125H11.875C12.0408 3.125 12.1997 3.05915 12.3169 2.94194C12.4342 2.82473 12.5 2.66576 12.5 2.5C12.5 2.33424 12.4342 2.17527 12.3169 2.05806C12.1997 1.94085 12.0408 1.875 11.875 1.875H8.125C7.95924 1.875 7.80027 1.94085 7.68306 2.05806C7.56585 2.17527 7.5 2.33424 7.5 2.5C7.5 2.66576 7.56585 2.82473 7.68306 2.94194C7.80027 3.05915 7.95924 3.125 8.125 3.125H9.375V4.40156C7.5015 4.5604 5.75574 5.41628 4.48278 6.80005C3.20982 8.18382 2.50228 9.99478 2.5 11.875V13.125H1.875C1.70924 13.125 1.55027 13.1908 1.43306 13.3081C1.31585 13.4253 1.25 13.5842 1.25 13.75C1.25 13.9158 1.31585 14.0747 1.43306 14.1919C1.55027 14.3092 1.70924 14.375 1.875 14.375ZM3.75 11.875C3.75 10.2174 4.40848 8.62769 5.58058 7.45558C6.75269 6.28348 8.3424 5.625 10 5.625C11.6576 5.625 13.2473 6.28348 14.4194 7.45558C15.5915 8.62769 16.25 10.2174 16.25 11.875V13.125H3.75V11.875ZM18.75 16.25C18.75 16.4158 18.6842 16.5747 18.5669 16.6919C18.4497 16.8092 18.2908 16.875 18.125 16.875H1.875C1.70924 16.875 1.55027 16.8092 1.43306 16.6919C1.31585 16.5747 1.25 16.4158 1.25 16.25C1.25 16.0842 1.31585 15.9253 1.43306 15.8081C1.55027 15.6908 1.70924 15.625 1.875 15.625H18.125C18.2908 15.625 18.4497 15.6908 18.5669 15.8081C18.6842 15.9253 18.75 16.0842 18.75 16.25Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_doc'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M4.875 13.5H3.375C3.17609 13.5 2.98532 13.579 2.84467 13.7197C2.70402 13.8603 2.625 14.0511 2.625 14.25V19.5C2.625 19.6989 2.70402 19.8897 2.84467 20.0303C2.98532 20.171 3.17609 20.25 3.375 20.25H4.875C5.77011 20.25 6.62855 19.8944 7.26149 19.2615C7.89442 18.6285 8.25 17.7701 8.25 16.875C8.25 15.9799 7.89442 15.1215 7.26149 14.4885C6.62855 13.8556 5.77011 13.5 4.875 13.5ZM4.875 18.75H4.125V15H4.875C5.37228 15 5.84919 15.1975 6.20083 15.5492C6.55246 15.9008 6.75 16.3777 6.75 16.875C6.75 17.3723 6.55246 17.8492 6.20083 18.2008C5.84919 18.5525 5.37228 18.75 4.875 18.75ZM20.7684 18.2897C20.9121 18.4272 20.9953 18.6161 20.9997 18.815C21.0041 19.0138 20.9294 19.2063 20.7919 19.35C20.5307 19.6311 20.2149 19.8559 19.8638 20.0107C19.5127 20.1655 19.1337 20.2469 18.75 20.25C17.0953 20.25 15.75 18.7359 15.75 16.875C15.75 15.0141 17.0953 13.5 18.75 13.5C19.1337 13.5031 19.5127 13.5845 19.8638 13.7393C20.2149 13.8941 20.5307 14.1189 20.7919 14.4C20.9264 14.5443 20.9986 14.7357 20.993 14.9329C20.9874 15.13 20.9043 15.317 20.7618 15.4534C20.6193 15.5897 20.4288 15.6644 20.2316 15.6613C20.0344 15.6583 19.8463 15.5776 19.7081 15.4369C19.5864 15.3029 19.4387 15.1951 19.274 15.12C19.1092 15.0449 18.931 15.0041 18.75 15C17.9231 15 17.25 15.8438 17.25 16.875C17.25 17.9062 17.9231 18.75 18.75 18.75C18.931 18.7459 19.1092 18.7051 19.274 18.63C19.4387 18.5549 19.5864 18.4471 19.7081 18.3131C19.8456 18.1694 20.0346 18.0862 20.2334 18.0818C20.4323 18.0774 20.6247 18.1522 20.7684 18.2897ZM12 13.5C10.3453 13.5 9 15.0141 9 16.875C9 18.7359 10.3453 20.25 12 20.25C13.6547 20.25 15 18.7359 15 16.875C15 15.0141 13.6547 13.5 12 13.5ZM12 18.75C11.1731 18.75 10.5 17.9062 10.5 16.875C10.5 15.8438 11.1731 15 12 15C12.8269 15 13.5 15.8438 13.5 16.875C13.5 17.9062 12.8269 18.75 12 18.75ZM4.5 11.25C4.69891 11.25 4.88968 11.171 5.03033 11.0303C5.17098 10.8897 5.25 10.6989 5.25 10.5V3.75H13.5V8.25C13.5 8.44891 13.579 8.63968 13.7197 8.78033C13.8603 8.92098 14.0511 9 14.25 9H18.75V10.5C18.75 10.6989 18.829 10.8897 18.9697 11.0303C19.1103 11.171 19.3011 11.25 19.5 11.25C19.6989 11.25 19.8897 11.171 20.0303 11.0303C20.171 10.8897 20.25 10.6989 20.25 10.5V8.25C20.2501 8.15148 20.2307 8.05391 20.1931 7.96286C20.1555 7.87182 20.1003 7.78908 20.0306 7.71938L14.7806 2.46938C14.7109 2.39975 14.6282 2.34454 14.5371 2.3069C14.4461 2.26926 14.3485 2.24992 14.25 2.25H5.25C4.85218 2.25 4.47064 2.40804 4.18934 2.68934C3.90804 2.97064 3.75 3.35218 3.75 3.75V10.5C3.75 10.6989 3.82902 10.8897 3.96967 11.0303C4.11032 11.171 4.30109 11.25 4.5 11.25ZM15 4.81031L17.6897 7.5H15V4.81031Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_dotted-folder'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M1.875 6.25V5C1.875 4.66848 2.0067 4.35054 2.24112 4.11612C2.47554 3.8817 2.79348 3.75 3.125 3.75H7.29141C7.56176 3.75067 7.82472 3.83832 8.04141 4L10.375 5.75C10.4407 5.79925 10.496 5.86094 10.5378 5.93157C10.5796 6.00219 10.6071 6.08036 10.6187 6.16161C10.6303 6.24286 10.6258 6.32561 10.6054 6.40511C10.5851 6.48462 10.5492 6.55934 10.5 6.625C10.4508 6.69066 10.3891 6.74598 10.3184 6.7878C10.2478 6.82961 10.1696 6.85711 10.0884 6.86872C10.0071 6.88033 9.92439 6.87582 9.84489 6.85545C9.76538 6.83508 9.69066 6.79925 9.625 6.75L7.29141 5H3.125V6.25C3.125 6.41576 3.05915 6.57473 2.94194 6.69194C2.82473 6.80915 2.66576 6.875 2.5 6.875C2.33424 6.875 2.17527 6.80915 2.05806 6.69194C1.94085 6.57473 1.875 6.41576 1.875 6.25ZM6.875 15.625H3.125V15C3.125 14.8342 3.05915 14.6753 2.94194 14.5581C2.82473 14.4408 2.66576 14.375 2.5 14.375C2.33424 14.375 2.17527 14.4408 2.05806 14.5581C1.94085 14.6753 1.875 14.8342 1.875 15V15.6734C1.87541 15.992 2.00214 16.2974 2.22739 16.5226C2.45263 16.7479 2.75802 16.8746 3.07656 16.875H6.875C7.04076 16.875 7.19973 16.8092 7.31694 16.6919C7.43415 16.5747 7.5 16.4158 7.5 16.25C7.5 16.0842 7.43415 15.9253 7.31694 15.8081C7.19973 15.6908 7.04076 15.625 6.875 15.625ZM12.5 15.625H10C9.83424 15.625 9.67527 15.6908 9.55806 15.8081C9.44085 15.9253 9.375 16.0842 9.375 16.25C9.375 16.4158 9.44085 16.5747 9.55806 16.6919C9.67527 16.8092 9.83424 16.875 10 16.875H12.5C12.6658 16.875 12.8247 16.8092 12.9419 16.6919C13.0592 16.5747 13.125 16.4158 13.125 16.25C13.125 16.0842 13.0592 15.9253 12.9419 15.8081C12.8247 15.6908 12.6658 15.625 12.5 15.625ZM17.5 11.25C17.3342 11.25 17.1753 11.3158 17.0581 11.4331C16.9408 11.5503 16.875 11.7092 16.875 11.875V15.625H15.625C15.4592 15.625 15.3003 15.6908 15.1831 15.8081C15.0658 15.9253 15 16.0842 15 16.25C15 16.4158 15.0658 16.5747 15.1831 16.6919C15.3003 16.8092 15.4592 16.875 15.625 16.875H16.9445C17.2575 16.8746 17.5575 16.7501 17.7788 16.5288C18.0001 16.3075 18.1246 16.0075 18.125 15.6945V11.875C18.125 11.7092 18.0592 11.5503 17.9419 11.4331C17.8247 11.3158 17.6658 11.25 17.5 11.25ZM16.875 5.625H13.125C12.9592 5.625 12.8003 5.69085 12.6831 5.80806C12.5658 5.92527 12.5 6.08424 12.5 6.25C12.5 6.41576 12.5658 6.57473 12.6831 6.69194C12.8003 6.80915 12.9592 6.875 13.125 6.875H16.875V8.75C16.875 8.91576 16.9408 9.07473 17.0581 9.19194C17.1753 9.30915 17.3342 9.375 17.5 9.375C17.6658 9.375 17.8247 9.30915 17.9419 9.19194C18.0592 9.07473 18.125 8.91576 18.125 8.75V6.875C18.125 6.54348 17.9933 6.22554 17.7589 5.99112C17.5245 5.7567 17.2065 5.625 16.875 5.625ZM2.5 12.5C2.66576 12.5 2.82473 12.4342 2.94194 12.3169C3.05915 12.1997 3.125 12.0408 3.125 11.875V9.375C3.125 9.20924 3.05915 9.05027 2.94194 8.93306C2.82473 8.81585 2.66576 8.75 2.5 8.75C2.33424 8.75 2.17527 8.81585 2.05806 8.93306C1.94085 9.05027 1.875 9.20924 1.875 9.375V11.875C1.875 12.0408 1.94085 12.1997 2.05806 12.3169C2.17527 12.4342 2.33424 12.5 2.5 12.5Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_expand-window'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M21 9.75C21 9.94891 20.921 10.1397 20.7803 10.2803C20.6397 10.421 20.4489 10.5 20.25 10.5C20.0511 10.5 19.8603 10.421 19.7197 10.2803C19.579 10.1397 19.5 9.94891 19.5 9.75V5.56125L13.2816 11.7806C13.1408 11.9214 12.95 12.0004 12.7509 12.0004C12.5519 12.0004 12.361 11.9214 12.2203 11.7806C12.0796 11.6399 12.0005 11.449 12.0005 11.25C12.0005 11.051 12.0796 10.8601 12.2203 10.7194L18.4387 4.5H14.25C14.0511 4.5 13.8603 4.42098 13.7197 4.28033C13.579 4.13968 13.5 3.94891 13.5 3.75C13.5 3.55109 13.579 3.36032 13.7197 3.21967C13.8603 3.07902 14.0511 3 14.25 3H20.25C20.4489 3 20.6397 3.07902 20.7803 3.21967C20.921 3.36032 21 3.55109 21 3.75V9.75ZM17.25 12C17.0511 12 16.8603 12.079 16.7197 12.2197C16.579 12.3603 16.5 12.5511 16.5 12.75V19.5H4.5V7.5H11.25C11.4489 7.5 11.6397 7.42098 11.7803 7.28033C11.921 7.13968 12 6.94891 12 6.75C12 6.55109 11.921 6.36032 11.7803 6.21967C11.6397 6.07902 11.4489 6 11.25 6H4.5C4.10218 6 3.72064 6.15804 3.43934 6.43934C3.15804 6.72064 3 7.10218 3 7.5V19.5C3 19.8978 3.15804 20.2794 3.43934 20.5607C3.72064 20.842 4.10218 21 4.5 21H16.5C16.8978 21 17.2794 20.842 17.5607 20.5607C17.842 20.2794 18 19.8978 18 19.5V12.75C18 12.5511 17.921 12.3603 17.7803 12.2197C17.6397 12.079 17.4489 12 17.25 12Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_eye-closed'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M17.8129 13.6727C17.7416 13.7134 17.6628 13.7396 17.5813 13.7499C17.4998 13.7601 17.417 13.7542 17.3378 13.7324C17.2585 13.7106 17.1844 13.6735 17.1195 13.623C17.0547 13.5725 17.0004 13.5098 16.9598 13.4383L15.4754 10.8445C14.6125 11.428 13.6605 11.8676 12.6567 12.1461L13.1153 14.8977C13.1288 14.9787 13.1263 15.0615 13.1077 15.1416C13.0892 15.2216 13.0551 15.2971 13.0074 15.364C12.9596 15.4308 12.8992 15.4875 12.8295 15.531C12.7598 15.5744 12.6822 15.6037 12.6012 15.6172C12.5679 15.6226 12.5342 15.6255 12.5004 15.6258C12.3526 15.6256 12.2096 15.5729 12.0969 15.4772C11.9842 15.3815 11.909 15.249 11.8848 15.1031L11.434 12.4016C10.4834 12.5339 9.51904 12.5339 8.56842 12.4016L8.11764 15.1031C8.09338 15.2493 8.01801 15.382 7.90498 15.4777C7.79194 15.5735 7.64857 15.6259 7.50045 15.6258C7.4659 15.6256 7.43142 15.6228 7.39732 15.6172C7.31631 15.6037 7.23874 15.5744 7.16905 15.531C7.09936 15.4875 7.03891 15.4308 6.99117 15.364C6.94343 15.2971 6.90933 15.2216 6.89081 15.1416C6.8723 15.0615 6.86973 14.9787 6.88326 14.8977L7.3442 12.1461C6.34078 11.8667 5.38936 11.4264 4.52701 10.8422L3.04732 13.4383C2.96444 13.5827 2.82759 13.6883 2.66686 13.7318C2.50614 13.7753 2.33471 13.7532 2.19029 13.6703C2.04587 13.5874 1.94029 13.4506 1.89678 13.2899C1.85327 13.1291 1.87538 12.9577 1.95826 12.8133L3.52076 10.0789C2.97193 9.60476 2.46726 9.08178 2.01295 8.51641C1.95629 8.45315 1.91312 8.37901 1.88607 8.29851C1.85902 8.21801 1.84866 8.13285 1.85562 8.04821C1.86258 7.96357 1.88671 7.88124 1.92655 7.80625C1.96639 7.73125 2.02109 7.66515 2.08732 7.612C2.15355 7.55885 2.22992 7.51975 2.31176 7.49709C2.3936 7.47443 2.4792 7.46869 2.56334 7.48021C2.64748 7.49174 2.72838 7.52029 2.80112 7.56413C2.87385 7.60796 2.93689 7.66615 2.98639 7.73516C4.28326 9.33985 6.55201 11.2508 10.0004 11.2508C13.4489 11.2508 15.7176 9.33751 17.0145 7.73516C17.0634 7.66474 17.1263 7.60514 17.1993 7.56008C17.2722 7.51501 17.3537 7.48544 17.4386 7.4732C17.5234 7.46096 17.6099 7.46631 17.6926 7.48893C17.7753 7.51155 17.8525 7.55095 17.9194 7.60467C17.9862 7.6584 18.0412 7.7253 18.0811 7.80122C18.121 7.87714 18.1448 7.96045 18.1511 8.04597C18.1574 8.13149 18.146 8.21739 18.1177 8.29832C18.0893 8.37925 18.0446 8.45349 17.9864 8.51641C17.5321 9.08178 17.0274 9.60476 16.4786 10.0789L18.0411 12.8133C18.083 12.8846 18.1104 12.9635 18.1216 13.0454C18.1329 13.1273 18.1277 13.2107 18.1065 13.2906C18.0853 13.3706 18.0484 13.4455 17.998 13.5111C17.9476 13.5766 17.8847 13.6316 17.8129 13.6727Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_eye'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M19.3211 9.74688C19.2937 9.68516 18.632 8.21719 17.1609 6.74609C15.2008 4.78594 12.725 3.75 9.99999 3.75C7.27499 3.75 4.79921 4.78594 2.83905 6.74609C1.36796 8.21719 0.703118 9.6875 0.678899 9.74688C0.643362 9.82681 0.625 9.91331 0.625 10.0008C0.625 10.0883 0.643362 10.1748 0.678899 10.2547C0.706243 10.3164 1.36796 11.7836 2.83905 13.2547C4.79921 15.2141 7.27499 16.25 9.99999 16.25C12.725 16.25 15.2008 15.2141 17.1609 13.2547C18.632 11.7836 19.2937 10.3164 19.3211 10.2547C19.3566 10.1748 19.375 10.0883 19.375 10.0008C19.375 9.91331 19.3566 9.82681 19.3211 9.74688ZM9.99999 15C7.5953 15 5.49452 14.1258 3.75546 12.4023C3.0419 11.6927 2.43483 10.8836 1.95312 10C2.4347 9.11636 3.04179 8.30717 3.75546 7.59766C5.49452 5.87422 7.5953 5 9.99999 5C12.4047 5 14.5055 5.87422 16.2445 7.59766C16.9595 8.307 17.5679 9.11619 18.0508 10C17.4875 11.0516 15.0336 15 9.99999 15ZM9.99999 6.25C9.25831 6.25 8.53329 6.46993 7.9166 6.88199C7.29992 7.29404 6.81927 7.87971 6.53544 8.56494C6.25162 9.25016 6.17735 10.0042 6.32205 10.7316C6.46674 11.459 6.82389 12.1272 7.34834 12.6517C7.87279 13.1761 8.54097 13.5333 9.2684 13.6779C9.99583 13.8226 10.7498 13.7484 11.4351 13.4645C12.1203 13.1807 12.7059 12.7001 13.118 12.0834C13.5301 11.4667 13.75 10.7417 13.75 10C13.749 9.00576 13.3535 8.05253 12.6505 7.34949C11.9475 6.64645 10.9942 6.25103 9.99999 6.25ZM9.99999 12.5C9.50554 12.5 9.02219 12.3534 8.61107 12.0787C8.19994 11.804 7.87951 11.4135 7.69029 10.9567C7.50107 10.4999 7.45157 9.99723 7.54803 9.51227C7.64449 9.02732 7.88259 8.58186 8.23222 8.23223C8.58186 7.8826 9.02731 7.6445 9.51227 7.54804C9.99722 7.45157 10.4999 7.50108 10.9567 7.6903C11.4135 7.87952 11.804 8.19995 12.0787 8.61107C12.3534 9.0222 12.5 9.50555 12.5 10C12.5 10.663 12.2366 11.2989 11.7678 11.7678C11.2989 12.2366 10.663 12.5 9.99999 12.5Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_filter'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M18.75 12.75C18.75 12.9489 18.671 13.1397 18.5303 13.2803C18.3897 13.421 18.1989 13.5 18 13.5H6C5.80109 13.5 5.61032 13.421 5.46967 13.2803C5.32902 13.1397 5.25 12.9489 5.25 12.75C5.25 12.5511 5.32902 12.3603 5.46967 12.2197C5.61032 12.079 5.80109 12 6 12H18C18.1989 12 18.3897 12.079 18.5303 12.2197C18.671 12.3603 18.75 12.5511 18.75 12.75ZM21.75 7.5H2.25C2.05109 7.5 1.86032 7.57902 1.71967 7.71967C1.57902 7.86032 1.5 8.05109 1.5 8.25C1.5 8.44891 1.57902 8.63968 1.71967 8.78033C1.86032 8.92098 2.05109 9 2.25 9H21.75C21.9489 9 22.1397 8.92098 22.2803 8.78033C22.421 8.63968 22.5 8.44891 22.5 8.25C22.5 8.05109 22.421 7.86032 22.2803 7.71967C22.1397 7.57902 21.9489 7.5 21.75 7.5ZM14.25 16.5H9.75C9.55109 16.5 9.36032 16.579 9.21967 16.7197C9.07902 16.8603 9 17.0511 9 17.25C9 17.4489 9.07902 17.6397 9.21967 17.7803C9.36032 17.921 9.55109 18 9.75 18H14.25C14.4489 18 14.6397 17.921 14.7803 17.7803C14.921 17.6397 15 17.4489 15 17.25C15 17.0511 14.921 16.8603 14.7803 16.7197C14.6397 16.579 14.4489 16.5 14.25 16.5Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_folder'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n<path d="M6.875 8.75C6.875 8.58424 6.94085 8.42527 7.05806 8.30806C7.17527 8.19085 7.33424 8.125 7.5 8.125H13.75C13.9158 8.125 14.0747 8.19085 14.1919 8.30806C14.3092 8.42527 14.375 8.58424 14.375 8.75C14.375 8.91576 14.3092 9.07473 14.1919 9.19194C14.0747 9.30915 13.9158 9.375 13.75 9.375H7.5C7.33424 9.375 7.17527 9.30915 7.05806 9.19194C6.94085 9.07473 6.875 8.91576 6.875 8.75ZM7.5 11.875H13.75C13.9158 11.875 14.0747 11.8092 14.1919 11.6919C14.3092 11.5747 14.375 11.4158 14.375 11.25C14.375 11.0842 14.3092 10.9253 14.1919 10.8081C14.0747 10.6908 13.9158 10.625 13.75 10.625H7.5C7.33424 10.625 7.17527 10.6908 7.05806 10.8081C6.94085 10.9253 6.875 11.0842 6.875 11.25C6.875 11.4158 6.94085 11.5747 7.05806 11.6919C7.17527 11.8092 7.33424 11.875 7.5 11.875ZM18.125 5V14.375C18.125 14.8723 17.9275 15.3492 17.5758 15.7008C17.2242 16.0525 16.7473 16.25 16.25 16.25H2.5C2.0042 16.25 1.52859 16.0536 1.1772 15.7039C0.825819 15.3541 0.627272 14.8794 0.625 14.3836V6.875C0.625 6.70924 0.690848 6.55027 0.808058 6.43306C0.925268 6.31585 1.08424 6.25 1.25 6.25C1.41576 6.25 1.57473 6.31585 1.69194 6.43306C1.80915 6.55027 1.875 6.70924 1.875 6.875V14.375C1.875 14.5408 1.94085 14.6997 2.05806 14.8169C2.17527 14.9342 2.33424 15 2.5 15C2.66576 15 2.82473 14.9342 2.94194 14.8169C3.05915 14.6997 3.125 14.5408 3.125 14.375V5C3.125 4.66848 3.2567 4.35054 3.49112 4.11612C3.72554 3.8817 4.04348 3.75 4.375 3.75H16.875C17.2065 3.75 17.5245 3.8817 17.7589 4.11612C17.9933 4.35054 18.125 4.66848 18.125 5ZM16.875 5H4.375V14.375C4.37531 14.5879 4.33911 14.7993 4.26797 15H16.25C16.4158 15 16.5747 14.9342 16.6919 14.8169C16.8092 14.6997 16.875 14.5408 16.875 14.375V5Z" fill="currentColor"/>\r\n</svg>\r\n';
}
return __p;
}
window.renderBlocks['blocks-icons.i_folders-two'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M17.5 5H12.0836L9.91641 3.375C9.69972 3.21332 9.43676 3.12567 9.16641 3.125H5.625C5.29348 3.125 4.97554 3.2567 4.74112 3.49112C4.5067 3.72554 4.375 4.04348 4.375 4.375V5.625H3.125C2.79348 5.625 2.47554 5.7567 2.24112 5.99112C2.0067 6.22554 1.875 6.54348 1.875 6.875V15.625C1.875 15.9565 2.0067 16.2745 2.24112 16.5089C2.47554 16.7433 2.79348 16.875 3.125 16.875H15.0695C15.3825 16.8746 15.6825 16.7501 15.9038 16.5288C16.1251 16.3075 16.2496 16.0075 16.25 15.6945V14.375H17.5695C17.8825 14.3746 18.1825 14.2501 18.4038 14.0288C18.6251 13.8075 18.7496 13.5075 18.75 13.1945V6.25C18.75 5.91848 18.6183 5.60054 18.3839 5.36612C18.1495 5.1317 17.8315 5 17.5 5ZM15 15.625H3.125V6.875H6.66641L9 8.625C9.10818 8.70614 9.23977 8.75 9.375 8.75H15V15.625ZM17.5 13.125H16.25V8.75C16.25 8.41848 16.1183 8.10054 15.8839 7.86612C15.6495 7.6317 15.3315 7.5 15 7.5H9.58359L7.41641 5.875C7.19972 5.71332 6.93676 5.62567 6.66641 5.625H5.625V4.375H9.16641L11.5 6.125C11.6082 6.20614 11.7398 6.25 11.875 6.25H17.5V13.125Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_four-persons'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M2.125 9.8754C2.19066 9.92465 2.26538 9.96048 2.34489 9.98085C2.4244 10.0012 2.50714 10.0057 2.58839 9.99412C2.66964 9.98251 2.74781 9.95501 2.81843 9.9132C2.88906 9.87138 2.95075 9.81606 3 9.7504C3.37841 9.24585 3.86909 8.83634 4.43319 8.55429C4.99729 8.27224 5.61932 8.1254 6.25 8.1254C6.88068 8.1254 7.5027 8.27224 8.06681 8.55429C8.63091 8.83634 9.12159 9.24585 9.5 9.7504C9.59957 9.88289 9.74769 9.9704 9.91178 9.9937C10.0759 10.017 10.2425 9.97416 10.375 9.87462C10.4222 9.83949 10.4641 9.79764 10.4992 9.7504C10.8776 9.24585 11.3683 8.83634 11.9324 8.55429C12.4965 8.27224 13.1185 8.1254 13.7492 8.1254C14.3799 8.1254 15.0019 8.27224 15.566 8.55429C16.1301 8.83634 16.6208 9.24585 16.9992 9.7504C17.0988 9.88301 17.2469 9.97064 17.4111 9.994C17.5753 10.0174 17.742 9.97457 17.8746 9.87501C18.0072 9.77545 18.0948 9.62729 18.1182 9.46312C18.1416 9.29895 18.0988 9.13223 17.9992 8.99962C17.446 8.25795 16.7083 7.67402 15.8594 7.30587C16.3248 6.88098 16.6508 6.32532 16.7947 5.71181C16.9387 5.09829 16.8938 4.4556 16.6659 3.86807C16.438 3.28054 16.0379 2.77563 15.5179 2.4196C14.998 2.06357 14.3825 1.87305 13.7523 1.87305C13.1222 1.87305 12.5067 2.06357 11.9868 2.4196C11.4668 2.77563 11.0667 3.28054 10.8388 3.86807C10.6109 4.4556 10.566 5.09829 10.7099 5.71181C10.8539 6.32532 11.1799 6.88098 11.6453 7.30587C11.0324 7.57091 10.4756 7.95033 10.0047 8.42384C9.53381 7.95033 8.977 7.57091 8.36406 7.30587C8.82944 6.88098 9.1555 6.32532 9.29943 5.71181C9.44336 5.09829 9.39845 4.4556 9.17058 3.86807C8.94272 3.28054 8.54255 2.77563 8.0226 2.4196C7.50264 2.06357 6.8872 1.87305 6.25703 1.87305C5.62686 1.87305 5.01142 2.06357 4.49146 2.4196C3.97151 2.77563 3.57134 3.28054 3.34348 3.86807C3.11562 4.4556 3.0707 5.09829 3.21464 5.71181C3.35857 6.32532 3.68462 6.88098 4.15 7.30587C3.29738 7.67282 2.55602 8.25713 2 9.0004C1.95075 9.06606 1.91492 9.14078 1.89455 9.22029C1.87418 9.2998 1.86967 9.38254 1.88128 9.46379C1.89289 9.54504 1.92039 9.62321 1.9622 9.69383C2.00402 9.76446 2.05934 9.82616 2.125 9.8754ZM13.75 3.1254C14.1208 3.1254 14.4834 3.23537 14.7917 3.4414C15.1 3.64742 15.3404 3.94026 15.4823 4.28287C15.6242 4.62548 15.6613 5.00248 15.589 5.36619C15.5166 5.72991 15.338 6.064 15.0758 6.32623C14.8136 6.58845 14.4795 6.76703 14.1158 6.83937C13.7521 6.91172 13.3751 6.87459 13.0325 6.73267C12.6899 6.59076 12.397 6.35044 12.191 6.04209C11.985 5.73375 11.875 5.37124 11.875 5.0004C11.875 4.50312 12.0725 4.02621 12.4242 3.67458C12.7758 3.32294 13.2527 3.1254 13.75 3.1254ZM6.25 3.1254C6.62084 3.1254 6.98335 3.23537 7.29169 3.4414C7.60004 3.64742 7.84036 3.94026 7.98227 4.28287C8.12419 4.62548 8.16132 5.00248 8.08897 5.36619C8.01663 5.72991 7.83805 6.064 7.57583 6.32623C7.3136 6.58845 6.97951 6.76703 6.61579 6.83937C6.25208 6.91172 5.87508 6.87459 5.53247 6.73267C5.18986 6.59076 4.89702 6.35044 4.69099 6.04209C4.48497 5.73375 4.375 5.37124 4.375 5.0004C4.375 4.50312 4.57254 4.02621 4.92417 3.67458C5.27581 3.32294 5.75272 3.1254 6.25 3.1254ZM15.8594 15.4309C16.3248 15.006 16.6508 14.4503 16.7947 13.8368C16.9387 13.2233 16.8938 12.5806 16.6659 11.9931C16.438 11.4055 16.0379 10.9006 15.5179 10.5446C14.998 10.1886 14.3825 9.99805 13.7523 9.99805C13.1222 9.99805 12.5067 10.1886 11.9868 10.5446C11.4668 10.9006 11.0667 11.4055 10.8388 11.9931C10.6109 12.5806 10.566 13.2233 10.7099 13.8368C10.8539 14.4503 11.1799 15.006 11.6453 15.4309C11.0324 15.6959 10.4756 16.0753 10.0047 16.5488C9.53381 16.0753 8.977 15.6959 8.36406 15.4309C8.82944 15.006 9.1555 14.4503 9.29943 13.8368C9.44336 13.2233 9.39845 12.5806 9.17058 11.9931C8.94272 11.4055 8.54255 10.9006 8.0226 10.5446C7.50264 10.1886 6.8872 9.99805 6.25703 9.99805C5.62686 9.99805 5.01142 10.1886 4.49146 10.5446C3.97151 10.9006 3.57134 11.4055 3.34348 11.9931C3.11562 12.5806 3.0707 13.2233 3.21464 13.8368C3.35857 14.4503 3.68462 15.006 4.15 15.4309C3.29738 15.7978 2.55602 16.3821 2 17.1254C1.95075 17.1911 1.91492 17.2658 1.89455 17.3453C1.87418 17.4248 1.86967 17.5075 1.88128 17.5888C1.89289 17.67 1.92039 17.7482 1.9622 17.8188C2.00402 17.8895 2.05934 17.9512 2.125 18.0004C2.19066 18.0496 2.26538 18.0855 2.34489 18.1058C2.4244 18.1262 2.50714 18.1307 2.58839 18.1191C2.66964 18.1075 2.74781 18.08 2.81843 18.0382C2.88906 17.9964 2.95075 17.9411 3 17.8754C3.37841 17.3709 3.86909 16.9613 4.43319 16.6793C4.99729 16.3972 5.61932 16.2504 6.25 16.2504C6.88068 16.2504 7.5027 16.3972 8.06681 16.6793C8.63091 16.9613 9.12159 17.3709 9.5 17.8754C9.59957 18.0079 9.74769 18.0954 9.91178 18.1187C10.0759 18.142 10.2425 18.0992 10.375 17.9996C10.4222 17.9645 10.4641 17.9226 10.4992 17.8754C10.8776 17.3709 11.3683 16.9613 11.9324 16.6793C12.4965 16.3972 13.1185 16.2504 13.7492 16.2504C14.3799 16.2504 15.0019 16.3972 15.566 16.6793C16.1301 16.9613 16.6208 17.3709 16.9992 17.8754C17.0988 18.008 17.2469 18.0956 17.4111 18.119C17.5753 18.1424 17.742 18.0996 17.8746 18C18.0072 17.9004 18.0948 17.7523 18.1182 17.5881C18.1416 17.424 18.0988 17.2572 17.9992 17.1246C17.446 16.383 16.7083 15.799 15.8594 15.4309ZM6.25 11.2504C6.62084 11.2504 6.98335 11.3604 7.29169 11.5664C7.60004 11.7724 7.84036 12.0653 7.98227 12.4079C8.12419 12.7505 8.16132 13.1275 8.08897 13.4912C8.01663 13.8549 7.83805 14.189 7.57583 14.4512C7.3136 14.7134 6.97951 14.892 6.61579 14.9644C6.25208 15.0367 5.87508 14.9996 5.53247 14.8577C5.18986 14.7158 4.89702 14.4754 4.69099 14.1671C4.48497 13.8588 4.375 13.4962 4.375 13.1254C4.375 12.6281 4.57254 12.1512 4.92417 11.7996C5.27581 11.4479 5.75272 11.2504 6.25 11.2504ZM13.75 11.2504C14.1208 11.2504 14.4834 11.3604 14.7917 11.5664C15.1 11.7724 15.3404 12.0653 15.4823 12.4079C15.6242 12.7505 15.6613 13.1275 15.589 13.4912C15.5166 13.8549 15.338 14.189 15.0758 14.4512C14.8136 14.7134 14.4795 14.892 14.1158 14.9644C13.7521 15.0367 13.3751 14.9996 13.0325 14.8577C12.6899 14.7158 12.397 14.4754 12.191 14.1671C11.985 13.8588 11.875 13.4962 11.875 13.1254C11.875 12.6281 12.0725 12.1512 12.4242 11.7996C12.7758 11.4479 13.2527 11.2504 13.75 11.2504Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_glass'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M14.375 1.5625C14.375 1.37708 14.43 1.19582 14.533 1.04165C14.6361 0.887482 14.7825 0.767321 14.9538 0.696363C15.1251 0.625406 15.3136 0.606841 15.4954 0.643014C15.6773 0.679188 15.8444 0.768476 15.9755 0.899588C16.1066 1.0307 16.1959 1.19775 16.232 1.3796C16.2682 1.56146 16.2496 1.74996 16.1787 1.92127C16.1077 2.09257 15.9876 2.23899 15.8334 2.342C15.6792 2.44502 15.498 2.5 15.3125 2.5C15.0639 2.5 14.8255 2.40123 14.6496 2.22541C14.4738 2.0496 14.375 1.81114 14.375 1.5625ZM12.8219 5.72109C13.3891 9.17813 13.1618 11.6398 12.1454 13.0383C11.8963 13.39 11.5772 13.6864 11.2079 13.9086C10.8387 14.1309 10.4274 14.2743 10 14.3297V18.125H11.25C11.4158 18.125 11.5748 18.1908 11.692 18.3081C11.8092 18.4253 11.875 18.5842 11.875 18.75C11.875 18.9158 11.8092 19.0747 11.692 19.1919C11.5748 19.3092 11.4158 19.375 11.25 19.375H7.50005C7.33429 19.375 7.17532 19.3092 7.05811 19.1919C6.9409 19.0747 6.87505 18.9158 6.87505 18.75C6.87505 18.5842 6.9409 18.4253 7.05811 18.3081C7.17532 18.1908 7.33429 18.125 7.50005 18.125H8.75005V14.3297C8.32275 14.274 7.91158 14.1305 7.54239 13.9083C7.1732 13.686 6.85396 13.3898 6.60474 13.0383C5.58911 11.6398 5.36177 9.17813 5.92896 5.72109C6.19268 4.143 6.56359 2.58471 7.03911 1.05703C7.07988 0.931454 7.15936 0.82201 7.26617 0.744397C7.37297 0.666783 7.50162 0.624986 7.63364 0.625H11.1172C11.2493 0.624986 11.3779 0.666783 11.4847 0.744397C11.5915 0.82201 11.671 0.931454 11.7118 1.05703C12.1873 2.58471 12.5582 4.143 12.8219 5.72109ZM7.32818 5H11.4219C11.1875 3.78281 10.8969 2.67109 10.6579 1.875H8.09302C7.85396 2.67109 7.56489 3.78281 7.32818 5ZM11.6407 6.25H7.10942C6.75864 8.59375 6.70786 11.0578 7.61333 12.3039C8.01802 12.8563 8.5938 13.125 9.37505 13.125C10.1563 13.125 10.7329 12.8563 11.1344 12.3039C12.0391 11.0578 11.9891 8.59375 11.6407 6.25ZM17.1875 3.125C17.0021 3.125 16.8209 3.17998 16.6667 3.283C16.5125 3.38601 16.3924 3.53243 16.3214 3.70373C16.2505 3.87504 16.2319 4.06354 16.2681 4.2454C16.3042 4.42725 16.3935 4.5943 16.5246 4.72541C16.6557 4.85652 16.8228 4.94581 17.0047 4.98199C17.1865 5.01816 17.375 4.99959 17.5463 4.92864C17.7176 4.85768 17.864 4.73752 17.9671 4.58335C18.0701 4.42918 18.125 4.24792 18.125 4.0625C18.125 3.81386 18.0263 3.5754 17.8505 3.39959C17.6746 3.22377 17.4362 3.125 17.1875 3.125ZM15.3125 6.875C15.1271 6.875 14.9459 6.92998 14.7917 7.033C14.6375 7.13601 14.5174 7.28243 14.4464 7.45373C14.3755 7.62504 14.3569 7.81354 14.3931 7.9954C14.4292 8.17726 14.5185 8.3443 14.6496 8.47541C14.7807 8.60652 14.9478 8.69581 15.1297 8.73199C15.3115 8.76816 15.5 8.74959 15.6713 8.67864C15.8426 8.60768 15.989 8.48752 16.0921 8.33335C16.1951 8.17918 16.25 7.99792 16.25 7.8125C16.25 7.56386 16.1513 7.3254 15.9755 7.14959C15.7996 6.97377 15.5612 6.875 15.3125 6.875Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_headset'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M15.7727 4.27031C15.025 3.51514 14.1357 2.91486 13.1558 2.50383C12.1758 2.09281 11.1244 1.87912 10.0617 1.875H10C7.84512 1.875 5.77849 2.73102 4.25476 4.25476C2.73102 5.77849 1.875 7.84512 1.875 10V14.375C1.875 14.8723 2.07254 15.3492 2.42417 15.7008C2.77581 16.0525 3.25272 16.25 3.75 16.25H5C5.49728 16.25 5.9742 16.0525 6.32583 15.7008C6.67746 15.3492 6.875 14.8723 6.875 14.375V11.25C6.875 10.7527 6.67746 10.2758 6.32583 9.92417C5.9742 9.57254 5.49728 9.375 5 9.375H3.15313C3.27366 8.07182 3.76315 6.83 4.56424 5.79508C5.36532 4.76016 6.44481 3.97502 7.67617 3.53169C8.90753 3.08836 10.2398 3.0052 11.5167 3.29196C12.7936 3.57872 13.9624 4.22352 14.8859 5.15078C16.0148 6.28539 16.7091 7.78052 16.8477 9.375H15C14.5027 9.375 14.0258 9.57254 13.6742 9.92417C13.3225 10.2758 13.125 10.7527 13.125 11.25V14.375C13.125 14.8723 13.3225 15.3492 13.6742 15.7008C14.0258 16.0525 14.5027 16.25 15 16.25H16.875C16.875 16.7473 16.6775 17.2242 16.3258 17.5758C15.9742 17.9275 15.4973 18.125 15 18.125H10.625C10.4592 18.125 10.3003 18.1908 10.1831 18.3081C10.0658 18.4253 10 18.5842 10 18.75C10 18.9158 10.0658 19.0747 10.1831 19.1919C10.3003 19.3092 10.4592 19.375 10.625 19.375H15C15.8288 19.375 16.6237 19.0458 17.2097 18.4597C17.7958 17.8737 18.125 17.0788 18.125 16.25V10C18.1291 8.93717 17.9234 7.88398 17.5197 6.90077C17.1161 5.91757 16.5224 5.02368 15.7727 4.27031ZM5 10.625C5.16576 10.625 5.32473 10.6908 5.44194 10.8081C5.55915 10.9253 5.625 11.0842 5.625 11.25V14.375C5.625 14.5408 5.55915 14.6997 5.44194 14.8169C5.32473 14.9342 5.16576 15 5 15H3.75C3.58424 15 3.42527 14.9342 3.30806 14.8169C3.19085 14.6997 3.125 14.5408 3.125 14.375V10.625H5ZM15 15C14.8342 15 14.6753 14.9342 14.5581 14.8169C14.4408 14.6997 14.375 14.5408 14.375 14.375V11.25C14.375 11.0842 14.4408 10.9253 14.5581 10.8081C14.6753 10.6908 14.8342 10.625 15 10.625H16.875V15H15Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_img'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M16.875 3.125H3.125C2.79348 3.125 2.47554 3.2567 2.24112 3.49112C2.0067 3.72554 1.875 4.04348 1.875 4.375V15.625C1.875 15.9565 2.0067 16.2745 2.24112 16.5089C2.47554 16.7433 2.79348 16.875 3.125 16.875H16.875C17.2065 16.875 17.5245 16.7433 17.7589 16.5089C17.9933 16.2745 18.125 15.9565 18.125 15.625V4.375C18.125 4.04348 17.9933 3.72554 17.7589 3.49112C17.5245 3.2567 17.2065 3.125 16.875 3.125ZM16.875 4.375V12.4023L14.8383 10.3664C14.7222 10.2503 14.5844 10.1582 14.4327 10.0954C14.281 10.0325 14.1185 10.0002 13.9543 10.0002C13.7901 10.0002 13.6276 10.0325 13.4759 10.0954C13.3242 10.1582 13.1864 10.2503 13.0703 10.3664L11.5078 11.9289L8.07031 8.49141C7.83592 8.25716 7.5181 8.12558 7.18672 8.12558C6.85534 8.12558 6.53752 8.25716 6.30313 8.49141L3.125 11.6695V4.375H16.875ZM3.125 13.4375L7.1875 9.375L13.4375 15.625H3.125V13.4375ZM16.875 15.625H15.2055L12.393 12.8125L13.9555 11.25L16.875 14.1703V15.625ZM11.25 7.8125C11.25 7.62708 11.305 7.44582 11.408 7.29165C11.511 7.13748 11.6574 7.01732 11.8287 6.94636C12 6.87541 12.1885 6.85684 12.3704 6.89301C12.5523 6.92919 12.7193 7.01848 12.8504 7.14959C12.9815 7.2807 13.0708 7.44775 13.107 7.6296C13.1432 7.81146 13.1246 7.99996 13.0536 8.17127C12.9827 8.34257 12.8625 8.48899 12.7083 8.592C12.5542 8.69502 12.3729 8.75 12.1875 8.75C11.9389 8.75 11.7004 8.65123 11.5246 8.47541C11.3488 8.2996 11.25 8.06114 11.25 7.8125Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_letters'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M6.81568 4.10912C6.76521 4.00174 6.68522 3.91096 6.58506 3.84736C6.48489 3.78377 6.3687 3.75 6.25006 3.75C6.13141 3.75 6.01522 3.78377 5.91506 3.84736C5.8149 3.91096 5.7349 4.00174 5.68443 4.10912L0.684432 14.7341C0.649498 14.8084 0.629537 14.8888 0.625688 14.9708C0.621838 15.0528 0.634177 15.1348 0.661998 15.212C0.718186 15.368 0.834028 15.4952 0.984041 15.5658C1.13405 15.6363 1.30595 15.6444 1.46191 15.5882C1.61788 15.532 1.74513 15.4162 1.81568 15.2661L3.11724 12.5005H9.38287L10.6844 15.2661C10.7194 15.3404 10.7686 15.4071 10.8293 15.4624C10.89 15.5176 10.961 15.5604 11.0382 15.5882C11.1154 15.616 11.1974 15.6284 11.2794 15.6245C11.3614 15.6207 11.4418 15.6007 11.5161 15.5658C11.5904 15.5308 11.657 15.4816 11.7123 15.4209C11.7675 15.3602 11.8103 15.2892 11.8381 15.212C11.8659 15.1348 11.8783 15.0528 11.8744 14.9708C11.8706 14.8888 11.8506 14.8084 11.8157 14.7341L6.81568 4.10912ZM3.70553 11.2505L6.25006 5.84349L8.79459 11.2505H3.70553ZM15.6251 7.50052C14.6282 7.50052 13.8493 7.77162 13.3102 8.30677C13.1974 8.42443 13.1349 8.58152 13.1363 8.74455C13.1376 8.90757 13.2026 9.06362 13.3174 9.17941C13.4321 9.2952 13.5876 9.36156 13.7506 9.36434C13.9136 9.36711 14.0713 9.30609 14.1899 9.19427C14.4868 8.89974 14.9712 8.75052 15.6251 8.75052C16.6587 8.75052 17.5001 9.45365 17.5001 10.313V10.5646C16.9454 10.1935 16.2924 9.99705 15.6251 10.0005C13.9016 10.0005 12.5001 11.2622 12.5001 12.813C12.5001 14.3638 13.9016 15.6255 15.6251 15.6255C16.2926 15.6284 16.9458 15.4312 17.5001 15.0591C17.5078 15.2249 17.5811 15.3808 17.7038 15.4925C17.8265 15.6042 17.9886 15.6626 18.1544 15.6548C18.3201 15.6471 18.476 15.5738 18.5877 15.451C18.6994 15.3283 18.7578 15.1663 18.7501 15.0005V10.313C18.7501 8.76224 17.3485 7.50052 15.6251 7.50052ZM15.6251 14.3755C14.5915 14.3755 13.7501 13.6724 13.7501 12.813C13.7501 11.9536 14.5915 11.2505 15.6251 11.2505C16.6587 11.2505 17.5001 11.9536 17.5001 12.813C17.5001 13.6724 16.6587 14.3755 15.6251 14.3755Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_link'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M13.0027 10.687C12.2872 10.0522 11.3562 9.71487 10.4002 9.74392C9.44419 9.77296 8.5354 10.1662 7.85976 10.8432L5.6009 13.0974C4.90855 13.8024 4.52237 14.7521 4.5264 15.7403C4.53043 16.7296 4.9252 17.6772 5.62472 18.3767C6.32424 19.0762 7.27183 19.471 8.2611 19.475C9.24939 19.479 10.1993 19.0927 10.9043 18.4002L11.8339 17.4706C12.1268 17.1777 12.6016 17.1777 12.8945 17.4706C13.1874 17.7635 13.1874 18.2384 12.8945 18.5313L11.9627 19.4631L11.9583 19.4674C10.9711 20.4388 9.63996 20.9806 8.25499 20.975C6.87002 20.9693 5.54339 20.4167 4.56406 19.4373C3.58473 18.458 3.03205 17.1314 3.02641 15.7464C3.02077 14.3614 3.56263 13.0303 4.53395 12.0431C4.53556 12.0414 4.53718 12.0398 4.5388 12.0382L6.79802 9.78364C6.79819 9.78348 6.79836 9.78331 6.79853 9.78314C7.74437 8.83564 9.01647 8.28527 10.3547 8.24461C11.6931 8.20395 12.9965 8.67625 13.9982 9.56489C14.308 9.83978 14.3364 10.3138 14.0615 10.6237C13.7866 10.9335 13.3126 10.9619 13.0027 10.687Z" fill="currentColor"/>\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M13.0962 5.6002L12.1666 6.52981C11.8737 6.8227 11.3988 6.8227 11.1059 6.52981C10.813 6.23691 10.813 5.76204 11.1059 5.46915L12.0378 4.53727L12.0421 4.53297C13.0294 3.56165 14.3605 3.01979 15.7455 3.02543C17.1304 3.03107 18.4571 3.58375 19.4364 4.56308C20.4157 5.54241 20.9684 6.86904 20.9741 8.25401C20.9797 9.63898 20.4378 10.9701 19.4665 11.9573L19.4622 11.9617L17.202 14.2219C17.202 14.2219 17.2019 14.222 17.2019 14.222C16.2553 15.169 14.9827 15.7185 13.6443 15.7581C12.3059 15.7978 11.0029 15.3245 10.0019 14.4352C9.69222 14.16 9.66422 13.686 9.93933 13.3763C10.2144 13.0667 10.6885 13.0387 10.9981 13.3138C11.7132 13.9491 12.6439 14.2871 13.5999 14.2588C14.5559 14.2305 15.465 13.8379 16.1411 13.1615L18.3993 10.9033C19.0918 10.1983 19.4781 9.24842 19.4741 8.26012C19.47 7.27086 19.0753 6.32326 18.3757 5.62374C17.6762 4.92422 16.7286 4.52945 15.7394 4.52542C14.7511 4.5214 13.8012 4.90768 13.0962 5.6002Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_lock'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M13 5H11V3.5C11 2.70435 10.6839 1.94129 10.1213 1.37868C9.55871 0.81607 8.79565 0.5 8 0.5C7.20435 0.5 6.44129 0.81607 5.87868 1.37868C5.31607 1.94129 5 2.70435 5 3.5V5H3C2.73478 5 2.48043 5.10536 2.29289 5.29289C2.10536 5.48043 2 5.73478 2 6V13C2 13.2652 2.10536 13.5196 2.29289 13.7071C2.48043 13.8946 2.73478 14 3 14H13C13.2652 14 13.5196 13.8946 13.7071 13.7071C13.8946 13.5196 14 13.2652 14 13V6C14 5.73478 13.8946 5.48043 13.7071 5.29289C13.5196 5.10536 13.2652 5 13 5ZM6 3.5C6 2.96957 6.21071 2.46086 6.58579 2.08579C6.96086 1.71071 7.46957 1.5 8 1.5C8.53043 1.5 9.03914 1.71071 9.41421 2.08579C9.78929 2.46086 10 2.96957 10 3.5V5H6V3.5ZM13 13H3V6H13V13Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_login'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n<path d="M11.25 20.25C11.25 20.4489 11.171 20.6397 11.0303 20.7803C10.8897 20.921 10.6989 21 10.5 21H4.5C4.30109 21 4.11032 20.921 3.96967 20.7803C3.82902 20.6397 3.75 20.4489 3.75 20.25V3.75C3.75 3.55109 3.82902 3.36032 3.96967 3.21967C4.11032 3.07902 4.30109 3 4.5 3H10.5C10.6989 3 10.8897 3.07902 11.0303 3.21967C11.171 3.36032 11.25 3.55109 11.25 3.75C11.25 3.94891 11.171 4.13968 11.0303 4.28033C10.8897 4.42098 10.6989 4.5 10.5 4.5H5.25V19.5H10.5C10.6989 19.5 10.8897 19.579 11.0303 19.7197C11.171 19.8603 11.25 20.0511 11.25 20.25ZM21.5306 11.4694L17.7806 7.71937C17.6399 7.57864 17.449 7.49958 17.25 7.49958C17.051 7.49958 16.8601 7.57864 16.7194 7.71937C16.5786 7.86011 16.4996 8.05098 16.4996 8.25C16.4996 8.44902 16.5786 8.63989 16.7194 8.78063L19.1897 11.25H10.5C10.3011 11.25 10.1103 11.329 9.96967 11.4697C9.82902 11.6103 9.75 11.8011 9.75 12C9.75 12.1989 9.82902 12.3897 9.96967 12.5303C10.1103 12.671 10.3011 12.75 10.5 12.75H19.1897L16.7194 15.2194C16.5786 15.3601 16.4996 15.551 16.4996 15.75C16.4996 15.949 16.5786 16.1399 16.7194 16.2806C16.8601 16.4214 17.051 16.5004 17.25 16.5004C17.449 16.5004 17.6399 16.4214 17.7806 16.2806L21.5306 12.5306C21.6004 12.461 21.6557 12.3783 21.6934 12.2872C21.7312 12.1962 21.7506 12.0986 21.7506 12C21.7506 11.9014 21.7312 11.8038 21.6934 11.7128C21.6557 11.6217 21.6004 11.539 21.5306 11.4694Z" fill="currentColor"/>\r\n</svg>\r\n';
}
return __p;
}
window.renderBlocks['blocks-icons.i_map-pin'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M8 4C7.50555 4 7.0222 4.14662 6.61107 4.42133C6.19995 4.69603 5.87952 5.08648 5.6903 5.54329C5.50108 6.00011 5.45157 6.50277 5.54804 6.98773C5.6445 7.47268 5.8826 7.91814 6.23223 8.26777C6.58186 8.6174 7.02732 8.8555 7.51227 8.95196C7.99723 9.04843 8.49989 8.99892 8.95671 8.8097C9.41352 8.62048 9.80397 8.30005 10.0787 7.88893C10.3534 7.4778 10.5 6.99445 10.5 6.5C10.5 5.83696 10.2366 5.20107 9.76777 4.73223C9.29893 4.26339 8.66304 4 8 4ZM8 8C7.70333 8 7.41332 7.91203 7.16664 7.7472C6.91997 7.58238 6.72771 7.34811 6.61418 7.07403C6.50065 6.79994 6.47094 6.49834 6.52882 6.20736C6.5867 5.91639 6.72956 5.64912 6.93934 5.43934C7.14912 5.22956 7.41639 5.0867 7.70736 5.02882C7.99834 4.97094 8.29994 5.00065 8.57403 5.11418C8.84811 5.22771 9.08238 5.41997 9.2472 5.66664C9.41203 5.91332 9.5 6.20333 9.5 6.5C9.5 6.89782 9.34196 7.27936 9.06066 7.56066C8.77936 7.84196 8.39782 8 8 8ZM8 1C6.54182 1.00165 5.14383 1.58165 4.11274 2.61274C3.08165 3.64383 2.50165 5.04182 2.5 6.5C2.5 8.4625 3.40688 10.5425 5.125 12.5156C5.89701 13.4072 6.76591 14.2101 7.71562 14.9094C7.7997 14.9683 7.89985 14.9999 8.0025 14.9999C8.10515 14.9999 8.20531 14.9683 8.28938 14.9094C9.23734 14.2098 10.1046 13.4069 10.875 12.5156C12.5906 10.5425 13.5 8.4625 13.5 6.5C13.4983 5.04182 12.9184 3.64383 11.8873 2.61274C10.8562 1.58165 9.45818 1.00165 8 1ZM8 13.875C6.96688 13.0625 3.5 10.0781 3.5 6.5C3.5 5.30653 3.97411 4.16193 4.81802 3.31802C5.66193 2.47411 6.80653 2 8 2C9.19347 2 10.3381 2.47411 11.182 3.31802C12.0259 4.16193 12.5 5.30653 12.5 6.5C12.5 10.0769 9.03312 13.0625 8 13.875Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_message-circle-two'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M15.8972 6.80598C15.2184 5.21688 14.0118 3.9109 12.4812 3.10883C10.9506 2.30677 9.19006 2.05782 7.49712 2.40408C5.80418 2.75034 4.28274 3.67057 3.19001 5.00918C2.09727 6.3478 1.5003 8.02268 1.5 9.75067V15.9382C1.5 16.2863 1.63828 16.6201 1.88442 16.8662C2.13056 17.1124 2.4644 17.2507 2.8125 17.2507H8.12531C8.71058 18.5872 9.67231 19.7245 10.8931 20.5236C12.1139 21.3227 13.5409 21.749 15 21.7507H21.1875C21.5356 21.7507 21.8694 21.6124 22.1156 21.3662C22.3617 21.1201 22.5 20.7863 22.5 20.4382V14.2507C22.4996 12.4172 21.8277 10.6473 20.6111 9.27558C19.3945 7.90386 17.7175 7.02532 15.8972 6.80598ZM3 9.75067C3 8.56398 3.35189 7.40394 4.01118 6.41725C4.67047 5.43055 5.60754 4.66152 6.7039 4.20739C7.80026 3.75327 9.00666 3.63445 10.1705 3.86596C11.3344 4.09747 12.4035 4.66891 13.2426 5.50803C14.0818 6.34714 14.6532 7.41624 14.8847 8.58013C15.1162 9.74401 14.9974 10.9504 14.5433 12.0468C14.0892 13.1431 13.3201 14.0802 12.3334 14.7395C11.3467 15.3988 10.1867 15.7507 9 15.7507H3V9.75067ZM21 20.2507H15C13.939 20.2495 12.8973 19.9676 11.9805 19.4336C11.0637 18.8996 10.3045 18.1326 9.78 17.2104C10.8072 17.1038 11.8013 16.786 12.6999 16.277C13.5985 15.7679 14.3822 15.0787 15.0018 14.2524C15.6213 13.4261 16.0634 12.4807 16.3003 11.4755C16.5371 10.4703 16.5636 9.42694 16.3781 8.41098C17.6937 8.72145 18.8659 9.46705 19.7048 10.527C20.5436 11.5869 21 12.899 21 14.2507V20.2507Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_message-square-two'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M16.875 6.25H14.375V3.75C14.375 3.41848 14.2433 3.10054 14.0089 2.86612C13.7745 2.6317 13.4565 2.5 13.125 2.5H3.125C2.79348 2.5 2.47554 2.6317 2.24112 2.86612C2.0067 3.10054 1.875 3.41848 1.875 3.75V13.75C1.87537 13.8676 1.9089 13.9827 1.97174 14.0821C2.03458 14.1814 2.12418 14.2611 2.23025 14.3118C2.33631 14.3626 2.45455 14.3824 2.57136 14.369C2.68818 14.3555 2.79884 14.3094 2.89062 14.2359L5.625 12.0312V14.375C5.625 14.7065 5.7567 15.0245 5.99112 15.2589C6.22554 15.4933 6.54348 15.625 6.875 15.625H14.1867L17.1094 17.9859C17.22 18.0754 17.3578 18.1244 17.5 18.125C17.6658 18.125 17.8247 18.0592 17.9419 17.9419C18.0592 17.8247 18.125 17.6658 18.125 17.5V7.5C18.125 7.16848 17.9933 6.85054 17.7589 6.61612C17.5245 6.3817 17.2065 6.25 16.875 6.25ZM5.19922 10.7641L3.125 12.4414V3.75H13.125V10.625H5.59219C5.44914 10.625 5.31044 10.6741 5.19922 10.7641ZM16.875 16.1914L14.8008 14.5141C14.6902 14.4246 14.5524 14.3756 14.4102 14.375H6.875V11.875H13.125C13.4565 11.875 13.7745 11.7433 14.0089 11.5089C14.2433 11.2745 14.375 10.9565 14.375 10.625V7.5H16.875V16.1914Z" fill="currentColor"/>\r\n</svg>\r\n';
}
return __p;
}
window.renderBlocks['blocks-icons.i_minus'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M21 12C21 12.1989 20.921 12.3897 20.7803 12.5303C20.6397 12.671 20.4489 12.75 20.25 12.75H3.75C3.55109 12.75 3.36032 12.671 3.21967 12.5303C3.07902 12.3897 3 12.1989 3 12C3 11.8011 3.07902 11.6103 3.21967 11.4697C3.36032 11.329 3.55109 11.25 3.75 11.25H20.25C20.4489 11.25 20.6397 11.329 20.7803 11.4697C20.921 11.6103 21 11.8011 21 12Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_mixer'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M3.75 8.25002H6.84375C7.00898 8.89533 7.38428 9.4673 7.91048 9.87575C8.43669 10.2842 9.08387 10.5059 9.75 10.5059C10.4161 10.5059 11.0633 10.2842 11.5895 9.87575C12.1157 9.4673 12.491 8.89533 12.6562 8.25002H20.25C20.4489 8.25002 20.6397 8.17101 20.7803 8.03035C20.921 7.8897 21 7.69894 21 7.50002C21 7.30111 20.921 7.11035 20.7803 6.96969C20.6397 6.82904 20.4489 6.75002 20.25 6.75002H12.6562C12.491 6.10471 12.1157 5.53274 11.5895 5.12429C11.0633 4.71584 10.4161 4.49414 9.75 4.49414C9.08387 4.49414 8.43669 4.71584 7.91048 5.12429C7.38428 5.53274 7.00898 6.10471 6.84375 6.75002H3.75C3.55109 6.75002 3.36032 6.82904 3.21967 6.96969C3.07902 7.11035 3 7.30111 3 7.50002C3 7.69894 3.07902 7.8897 3.21967 8.03035C3.36032 8.17101 3.55109 8.25002 3.75 8.25002ZM9.75 6.00002C10.0467 6.00002 10.3367 6.088 10.5834 6.25282C10.83 6.41764 11.0223 6.65191 11.1358 6.926C11.2494 7.20009 11.2791 7.50169 11.2212 7.79266C11.1633 8.08363 11.0204 8.3509 10.8107 8.56068C10.6009 8.77046 10.3336 8.91332 10.0426 8.9712C9.75166 9.02908 9.45006 8.99937 9.17597 8.88584C8.90189 8.77231 8.66762 8.58005 8.5028 8.33338C8.33797 8.0867 8.25 7.7967 8.25 7.50002C8.25 7.1022 8.40804 6.72067 8.68934 6.43936C8.97064 6.15806 9.35218 6.00002 9.75 6.00002ZM20.25 15.75H18.6562C18.491 15.1047 18.1157 14.5327 17.5895 14.1243C17.0633 13.7158 16.4161 13.4941 15.75 13.4941C15.0839 13.4941 14.4367 13.7158 13.9105 14.1243C13.3843 14.5327 13.009 15.1047 12.8438 15.75H3.75C3.55109 15.75 3.36032 15.829 3.21967 15.9697C3.07902 16.1103 3 16.3011 3 16.5C3 16.6989 3.07902 16.8897 3.21967 17.0304C3.36032 17.171 3.55109 17.25 3.75 17.25H12.8438C13.009 17.8953 13.3843 18.4673 13.9105 18.8758C14.4367 19.2842 15.0839 19.5059 15.75 19.5059C16.4161 19.5059 17.0633 19.2842 17.5895 18.8758C18.1157 18.4673 18.491 17.8953 18.6562 17.25H20.25C20.4489 17.25 20.6397 17.171 20.7803 17.0304C20.921 16.8897 21 16.6989 21 16.5C21 16.3011 20.921 16.1103 20.7803 15.9697C20.6397 15.829 20.4489 15.75 20.25 15.75ZM15.75 18C15.4533 18 15.1633 17.912 14.9166 17.7472C14.67 17.5824 14.4777 17.3481 14.3642 17.074C14.2506 16.8 14.2209 16.4984 14.2788 16.2074C14.3367 15.9164 14.4796 15.6491 14.6893 15.4394C14.8991 15.2296 15.1664 15.0867 15.4574 15.0288C15.7483 14.971 16.0499 15.0007 16.324 15.1142C16.5981 15.2277 16.8324 15.42 16.9972 15.6667C17.162 15.9133 17.25 16.2034 17.25 16.5C17.25 16.8978 17.092 17.2794 16.8107 17.5607C16.5294 17.842 16.1478 18 15.75 18Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_moon'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M21.8948 13.3348C21.7986 13.2384 21.6779 13.17 21.5458 13.1369C21.4136 13.1039 21.275 13.1075 21.1448 13.1473C19.7147 13.5796 18.1941 13.6159 16.745 13.2522C15.2959 12.8885 13.9727 12.1384 12.9163 11.082C11.8598 10.0256 11.1098 8.70234 10.7461 7.25327C10.3824 5.8042 10.4187 4.28361 10.851 2.85352C10.8911 2.72321 10.895 2.58443 10.8621 2.4521C10.8293 2.31977 10.761 2.1989 10.6646 2.10248C10.5681 2.00607 10.4473 1.93776 10.3149 1.90491C10.1826 1.87206 10.0438 1.8759 9.91351 1.91602C7.93635 2.52169 6.20058 3.73552 4.9532 5.38477C3.86233 6.83308 3.19694 8.55687 3.03176 10.3625C2.86658 12.1681 3.20817 13.984 4.01814 15.6062C4.82812 17.2284 6.07439 18.5926 7.61695 19.5456C9.1595 20.4985 10.9372 21.0024 12.7504 21.0007C14.8657 21.0072 16.9248 20.3196 18.6116 19.0432C20.2609 17.7958 21.4747 16.0601 22.0804 14.0829C22.12 13.9531 22.1237 13.8149 22.091 13.6832C22.0583 13.5514 21.9905 13.431 21.8948 13.3348ZM17.7098 17.8451C16.1212 19.0416 14.1539 19.624 12.17 19.4851C10.1861 19.3462 8.3192 18.4953 6.91289 17.0891C5.50658 15.6829 4.65556 13.816 4.51648 11.8321C4.37741 9.84827 4.95964 7.88092 6.15601 6.29227C6.93545 5.26296 7.94313 4.42857 9.09976 3.85477C9.03387 4.31717 9.00066 4.78364 9.00038 5.25071C9.00311 7.83573 10.0312 10.3141 11.8591 12.142C13.687 13.9699 16.1654 14.998 18.7504 15.0007C19.2184 15.0006 19.6858 14.9674 20.1491 14.9013C19.5748 16.0582 18.7398 17.0659 17.7098 17.8451Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_page-fill'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M16.875 3.125H3.125C2.79348 3.125 2.47554 3.2567 2.24112 3.49112C2.0067 3.72554 1.875 4.04348 1.875 4.375V15.625C1.875 15.9565 2.0067 16.2745 2.24112 16.5089C2.47554 16.7433 2.79348 16.875 3.125 16.875H16.875C17.2065 16.875 17.5245 16.7433 17.7589 16.5089C17.9933 16.2745 18.125 15.9565 18.125 15.625V4.375C18.125 4.04348 17.9933 3.72554 17.7589 3.49112C17.5245 3.2567 17.2065 3.125 16.875 3.125ZM16.875 15.625H3.125V4.375H16.875V15.625ZM14.375 7.5C14.375 7.66576 14.3092 7.82473 14.1919 7.94194C14.0747 8.05915 13.9158 8.125 13.75 8.125H6.25C6.08424 8.125 5.92527 8.05915 5.80806 7.94194C5.69085 7.82473 5.625 7.66576 5.625 7.5C5.625 7.33424 5.69085 7.17527 5.80806 7.05806C5.92527 6.94085 6.08424 6.875 6.25 6.875H13.75C13.9158 6.875 14.0747 6.94085 14.1919 7.05806C14.3092 7.17527 14.375 7.33424 14.375 7.5ZM14.375 10C14.375 10.1658 14.3092 10.3247 14.1919 10.4419C14.0747 10.5592 13.9158 10.625 13.75 10.625H6.25C6.08424 10.625 5.92527 10.5592 5.80806 10.4419C5.69085 10.3247 5.625 10.1658 5.625 10C5.625 9.83424 5.69085 9.67527 5.80806 9.55806C5.92527 9.44085 6.08424 9.375 6.25 9.375H13.75C13.9158 9.375 14.0747 9.44085 14.1919 9.55806C14.3092 9.67527 14.375 9.83424 14.375 10ZM14.375 12.5C14.375 12.6658 14.3092 12.8247 14.1919 12.9419C14.0747 13.0592 13.9158 13.125 13.75 13.125H6.25C6.08424 13.125 5.92527 13.0592 5.80806 12.9419C5.69085 12.8247 5.625 12.6658 5.625 12.5C5.625 12.3342 5.69085 12.1753 5.80806 12.0581C5.92527 11.9408 6.08424 11.875 6.25 11.875H13.75C13.9158 11.875 14.0747 11.9408 14.1919 12.0581C14.3092 12.1753 14.375 12.3342 14.375 12.5Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_page'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M20.0306 7.71938L14.7806 2.46938C14.7109 2.39975 14.6282 2.34454 14.5371 2.3069C14.4461 2.26926 14.3485 2.24992 14.25 2.25H5.25C4.85218 2.25 4.47064 2.40804 4.18934 2.68934C3.90804 2.97064 3.75 3.35218 3.75 3.75V20.25C3.75 20.6478 3.90804 21.0294 4.18934 21.3107C4.47064 21.592 4.85218 21.75 5.25 21.75H18.75C19.1478 21.75 19.5294 21.592 19.8107 21.3107C20.092 21.0294 20.25 20.6478 20.25 20.25V8.25C20.2501 8.15148 20.2307 8.05391 20.1931 7.96286C20.1555 7.87182 20.1003 7.78908 20.0306 7.71938ZM15 4.81031L17.6897 7.5H15V4.81031ZM18.75 20.25H5.25V3.75H13.5V8.25C13.5 8.44891 13.579 8.63968 13.7197 8.78033C13.8603 8.92098 14.0511 9 14.25 9H18.75V20.25Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_paper-clip'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 20 22" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M19.6553 11.4697C19.725 11.5393 19.7803 11.622 19.8181 11.7131C19.8558 11.8041 19.8753 11.9017 19.8753 12.0003C19.8753 12.0989 19.8558 12.1964 19.8181 12.2875C19.7803 12.3785 19.725 12.4613 19.6553 12.5309L11.9631 20.2184C10.9784 21.203 9.64281 21.7561 8.25027 21.756C6.85772 21.756 5.52225 21.2027 4.53763 20.2179C3.55301 19.2332 2.99991 17.8977 3 16.5051C3.00009 15.1126 3.55336 13.7771 4.5381 12.7925L13.8437 3.34998C14.5468 2.6462 15.5006 2.25053 16.4953 2.25C17.4901 2.24947 18.4443 2.64414 19.1481 3.34717C19.8519 4.0502 20.2476 5.00401 20.2481 5.99877C20.2486 6.99353 19.8539 7.94776 19.1509 8.65154L9.84341 18.094C9.42072 18.5167 8.84743 18.7542 8.24966 18.7542C7.65189 18.7542 7.0786 18.5167 6.65591 18.094C6.23322 17.6714 5.99576 17.0981 5.99576 16.5003C5.99576 15.9025 6.23322 15.3292 6.65591 14.9065L14.4653 6.97342C14.5337 6.90044 14.616 6.84188 14.7074 6.8012C14.7988 6.76051 14.8974 6.73851 14.9974 6.7365C15.0974 6.73448 15.1968 6.7525 15.2897 6.78947C15.3827 6.82645 15.4673 6.88165 15.5386 6.95181C15.6098 7.02198 15.6664 7.10569 15.7048 7.19804C15.7433 7.29038 15.7629 7.38948 15.7625 7.4895C15.762 7.58953 15.7416 7.68846 15.7024 7.78048C15.6632 7.87249 15.6059 7.95573 15.534 8.02529L7.72372 15.9669C7.6538 16.0362 7.59822 16.1187 7.56016 16.2096C7.5221 16.3004 7.50231 16.3979 7.50192 16.4964C7.50153 16.5949 7.52054 16.6925 7.55787 16.7836C7.59521 16.8748 7.65013 16.9577 7.71951 17.0276C7.78888 17.0976 7.87135 17.1531 7.9622 17.1912C8.05306 17.2293 8.15052 17.249 8.24902 17.2494C8.34753 17.2498 8.44514 17.2308 8.53629 17.1935C8.62745 17.1562 8.71036 17.1012 8.78029 17.0319L18.0868 7.59404C18.5095 7.17222 18.7473 6.59977 18.748 6.00261C18.7486 5.40545 18.5119 4.83251 18.0901 4.40982C17.6683 3.98713 17.0959 3.74932 16.4987 3.74871C15.9015 3.74809 15.3286 3.98472 14.9059 4.40654L5.60216 13.8453C5.25363 14.1933 4.97704 14.6065 4.7882 15.0614C4.59936 15.5162 4.50197 16.0039 4.50158 16.4964C4.50119 16.9889 4.59781 17.4767 4.78592 17.9318C4.97403 18.387 5.24996 18.8007 5.59794 19.1492C5.94593 19.4977 6.35915 19.7743 6.81402 19.9632C7.2689 20.152 7.75651 20.2494 8.24902 20.2498C8.74154 20.2502 9.2293 20.1536 9.68448 19.9654C10.1396 19.7773 10.5533 19.5014 10.9018 19.1534L18.595 11.4659C18.7361 11.3259 18.9271 11.2476 19.1259 11.2483C19.3247 11.249 19.5151 11.3286 19.6553 11.4697Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_pdf'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M28 19.5C28 19.7652 27.8946 20.0196 27.7071 20.2071C27.5196 20.3946 27.2652 20.5 27 20.5H24V22.5H26C26.2652 22.5 26.5196 22.6054 26.7071 22.7929C26.8946 22.9804 27 23.2348 27 23.5C27 23.7652 26.8946 24.0196 26.7071 24.2071C26.5196 24.3946 26.2652 24.5 26 24.5H24V26.5C24 26.7652 23.8946 27.0196 23.7071 27.2071C23.5196 27.3946 23.2652 27.5 23 27.5C22.7348 27.5 22.4804 27.3946 22.2929 27.2071C22.1054 27.0196 22 26.7652 22 26.5V19.5C22 19.2348 22.1054 18.9804 22.2929 18.7929C22.4804 18.6054 22.7348 18.5 23 18.5H27C27.2652 18.5 27.5196 18.6054 27.7071 18.7929C27.8946 18.9804 28 19.2348 28 19.5ZM11.5 22C11.5 22.9283 11.1313 23.8185 10.4749 24.4749C9.8185 25.1313 8.92826 25.5 8 25.5H7V26.5C7 26.7652 6.89464 27.0196 6.70711 27.2071C6.51957 27.3946 6.26522 27.5 6 27.5C5.73478 27.5 5.48043 27.3946 5.29289 27.2071C5.10536 27.0196 5 26.7652 5 26.5V19.5C5 19.2348 5.10536 18.9804 5.29289 18.7929C5.48043 18.6054 5.73478 18.5 6 18.5H8C8.92826 18.5 9.8185 18.8687 10.4749 19.5251C11.1313 20.1815 11.5 21.0717 11.5 22ZM9.5 22C9.5 21.6022 9.34196 21.2206 9.06066 20.9393C8.77936 20.658 8.39782 20.5 8 20.5H7V23.5H8C8.39782 23.5 8.77936 23.342 9.06066 23.0607C9.34196 22.7794 9.5 22.3978 9.5 22ZM20.5 23C20.5 24.1935 20.0259 25.3381 19.182 26.182C18.3381 27.0259 17.1935 27.5 16 27.5H14C13.7348 27.5 13.4804 27.3946 13.2929 27.2071C13.1054 27.0196 13 26.7652 13 26.5V19.5C13 19.2348 13.1054 18.9804 13.2929 18.7929C13.4804 18.6054 13.7348 18.5 14 18.5H16C17.1935 18.5 18.3381 18.9741 19.182 19.818C20.0259 20.6619 20.5 21.8065 20.5 23ZM18.5 23C18.5 22.337 18.2366 21.7011 17.7678 21.2322C17.2989 20.7634 16.663 20.5 16 20.5H15V25.5H16C16.663 25.5 17.2989 25.2366 17.7678 24.7678C18.2366 24.2989 18.5 23.663 18.5 23ZM5 14.5V5.5C5 4.96957 5.21071 4.46086 5.58579 4.08579C5.96086 3.71071 6.46957 3.5 7 3.5H19C19.1314 3.4999 19.2615 3.52568 19.3829 3.57586C19.5042 3.62605 19.6146 3.69967 19.7075 3.7925L26.7075 10.7925C26.8003 10.8854 26.8739 10.9958 26.9241 11.1172C26.9743 11.2385 27.0001 11.3686 27 11.5V14.5C27 14.7652 26.8946 15.0196 26.7071 15.2071C26.5196 15.3946 26.2652 15.5 26 15.5C25.7348 15.5 25.4804 15.3946 25.2929 15.2071C25.1054 15.0196 25 14.7652 25 14.5V12.5H19C18.7348 12.5 18.4804 12.3946 18.2929 12.2071C18.1054 12.0196 18 11.7652 18 11.5V5.5H7V14.5C7 14.7652 6.89464 15.0196 6.70711 15.2071C6.51957 15.3946 6.26522 15.5 6 15.5C5.73478 15.5 5.48043 15.3946 5.29289 15.2071C5.10536 15.0196 5 14.7652 5 14.5ZM20 10.5H23.5863L20 6.91375V10.5Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_pen'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M21.8113 6.87821L17.6216 2.68946C17.4823 2.55014 17.3169 2.43962 17.1349 2.36421C16.9529 2.28881 16.7578 2.25 16.5608 2.25C16.3638 2.25 16.1687 2.28881 15.9867 2.36421C15.8047 2.43962 15.6393 2.55014 15.5 2.68946L3.93969 14.2498C3.7998 14.3886 3.68889 14.5538 3.61341 14.7358C3.53792 14.9178 3.49938 15.113 3.50001 15.3101V19.4998C3.50001 19.8976 3.65804 20.2791 3.93935 20.5604C4.22065 20.8417 4.60218 20.9998 5.00001 20.9998H9.18969C9.38675 21.0004 9.58196 20.9619 9.76399 20.8864C9.94602 20.8109 10.1112 20.7 10.25 20.5601L18.0941 12.717L18.4203 14.0201L14.9703 17.4691C14.8296 17.6098 14.7505 17.8005 14.7504 17.9994C14.7503 18.1984 14.8292 18.3892 14.9699 18.5299C15.1105 18.6707 15.3012 18.7498 15.5001 18.7499C15.6991 18.7499 15.8899 18.671 16.0306 18.5304L19.7806 14.7804C19.8724 14.6888 19.9388 14.5751 19.9734 14.4502C20.0081 14.3254 20.0098 14.1936 19.9784 14.0679L19.3316 11.4795L21.8113 8.99977C21.9506 8.86048 22.0611 8.69511 22.1365 8.5131C22.2119 8.33109 22.2507 8.136 22.2507 7.93899C22.2507 7.74198 22.2119 7.5469 22.1365 7.36489C22.0611 7.18288 21.9506 7.0175 21.8113 6.87821ZM5.00001 16.8101L7.68969 19.4998H5.00001V16.8101ZM9.50001 19.1895L5.31032 14.9998L13.25 7.06009L17.4397 11.2498L9.50001 19.1895ZM18.5 10.1895L14.3113 5.99977L16.5613 3.74977L20.75 7.93946L18.5 10.1895Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_plus'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M21 12C21 12.1989 20.921 12.3897 20.7803 12.5303C20.6397 12.671 20.4489 12.75 20.25 12.75H12.75V20.25C12.75 20.4489 12.671 20.6397 12.5303 20.7803C12.3897 20.921 12.1989 21 12 21C11.8011 21 11.6103 20.921 11.4697 20.7803C11.329 20.6397 11.25 20.4489 11.25 20.25V12.75H3.75C3.55109 12.75 3.36032 12.671 3.21967 12.5303C3.07902 12.3897 3 12.1989 3 12C3 11.8011 3.07902 11.6103 3.21967 11.4697C3.36032 11.329 3.55109 11.25 3.75 11.25H11.25V3.75C11.25 3.55109 11.329 3.36032 11.4697 3.21967C11.6103 3.07902 11.8011 3 12 3C12.1989 3 12.3897 3.07902 12.5303 3.21967C12.671 3.36032 12.75 3.55109 12.75 3.75V11.25H20.25C20.4489 11.25 20.6397 11.329 20.7803 11.4697C20.921 11.6103 21 11.8011 21 12Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_presentation'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M20.25 3.75H12.75V2.25C12.75 2.05109 12.671 1.86032 12.5303 1.71967C12.3897 1.57902 12.1989 1.5 12 1.5C11.8011 1.5 11.6103 1.57902 11.4697 1.71967C11.329 1.86032 11.25 2.05109 11.25 2.25V3.75H3.75C3.35218 3.75 2.97064 3.90804 2.68934 4.18934C2.40804 4.47064 2.25 4.85218 2.25 5.25V16.5C2.25 16.8978 2.40804 17.2794 2.68934 17.5607C2.97064 17.842 3.35218 18 3.75 18H7.44L5.41406 20.5313C5.28974 20.6867 5.23225 20.8851 5.25422 21.0829C5.2762 21.2807 5.37585 21.4616 5.53125 21.5859C5.68665 21.7103 5.88507 21.7678 6.08286 21.7458C6.28066 21.7238 6.46162 21.6242 6.58594 21.4688L9.36 18H14.64L17.4141 21.4688C17.4756 21.5457 17.5517 21.6098 17.638 21.6573C17.7244 21.7048 17.8192 21.7349 17.9171 21.7458C18.0151 21.7567 18.1142 21.7481 18.2088 21.7207C18.3035 21.6933 18.3918 21.6475 18.4688 21.5859C18.5457 21.5244 18.6098 21.4483 18.6573 21.362C18.7048 21.2756 18.7349 21.1808 18.7458 21.0829C18.7567 20.9849 18.7481 20.8858 18.7207 20.7912C18.6933 20.6965 18.6475 20.6082 18.5859 20.5313L16.56 18H20.25C20.6478 18 21.0294 17.842 21.3107 17.5607C21.592 17.2794 21.75 16.8978 21.75 16.5V5.25C21.75 4.85218 21.592 4.47064 21.3107 4.18934C21.0294 3.90804 20.6478 3.75 20.25 3.75ZM20.25 16.5H3.75V5.25H20.25V16.5ZM9.75 11.25V13.5C9.75 13.6989 9.67098 13.8897 9.53033 14.0303C9.38968 14.171 9.19891 14.25 9 14.25C8.80109 14.25 8.61032 14.171 8.46967 14.0303C8.32902 13.8897 8.25 13.6989 8.25 13.5V11.25C8.25 11.0511 8.32902 10.8603 8.46967 10.7197C8.61032 10.579 8.80109 10.5 9 10.5C9.19891 10.5 9.38968 10.579 9.53033 10.7197C9.67098 10.8603 9.75 11.0511 9.75 11.25ZM12.75 9.75V13.5C12.75 13.6989 12.671 13.8897 12.5303 14.0303C12.3897 14.171 12.1989 14.25 12 14.25C11.8011 14.25 11.6103 14.171 11.4697 14.0303C11.329 13.8897 11.25 13.6989 11.25 13.5V9.75C11.25 9.55109 11.329 9.36032 11.4697 9.21967C11.6103 9.07902 11.8011 9 12 9C12.1989 9 12.3897 9.07902 12.5303 9.21967C12.671 9.36032 12.75 9.55109 12.75 9.75ZM15.75 8.25V13.5C15.75 13.6989 15.671 13.8897 15.5303 14.0303C15.3897 14.171 15.1989 14.25 15 14.25C14.8011 14.25 14.6103 14.171 14.4697 14.0303C14.329 13.8897 14.25 13.6989 14.25 13.5V8.25C14.25 8.05109 14.329 7.86032 14.4697 7.71967C14.6103 7.57902 14.8011 7.5 15 7.5C15.1989 7.5 15.3897 7.57902 15.5303 7.71967C15.671 7.86032 15.75 8.05109 15.75 8.25Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_printer'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M16.7711 5.625H15.625V3.125C15.625 2.95924 15.5592 2.80027 15.4419 2.68306C15.3247 2.56585 15.1658 2.5 15 2.5H5C4.83424 2.5 4.67527 2.56585 4.55806 2.68306C4.44085 2.80027 4.375 2.95924 4.375 3.125V5.625H3.22891C2.1375 5.625 1.25 6.46641 1.25 7.5V13.75C1.25 13.9158 1.31585 14.0747 1.43306 14.1919C1.55027 14.3092 1.70924 14.375 1.875 14.375H4.375V16.875C4.375 17.0408 4.44085 17.1997 4.55806 17.3169C4.67527 17.4342 4.83424 17.5 5 17.5H15C15.1658 17.5 15.3247 17.4342 15.4419 17.3169C15.5592 17.1997 15.625 17.0408 15.625 16.875V14.375H18.125C18.2908 14.375 18.4497 14.3092 18.5669 14.1919C18.6842 14.0747 18.75 13.9158 18.75 13.75V7.5C18.75 6.46641 17.8625 5.625 16.7711 5.625ZM5.625 3.75H14.375V5.625H5.625V3.75ZM14.375 16.25H5.625V12.5H14.375V16.25ZM17.5 13.125H15.625V11.875C15.625 11.7092 15.5592 11.5503 15.4419 11.4331C15.3247 11.3158 15.1658 11.25 15 11.25H5C4.83424 11.25 4.67527 11.3158 4.55806 11.4331C4.44085 11.5503 4.375 11.7092 4.375 11.875V13.125H2.5V7.5C2.5 7.15547 2.82734 6.875 3.22891 6.875H16.7711C17.1727 6.875 17.5 7.15547 17.5 7.5V13.125ZM15.625 9.0625C15.625 9.24792 15.57 9.42918 15.467 9.58335C15.364 9.73752 15.2176 9.85768 15.0463 9.92864C14.875 9.99959 14.6865 10.0182 14.5046 9.98199C14.3227 9.94581 14.1557 9.85652 14.0246 9.72541C13.8935 9.5943 13.8042 9.42725 13.768 9.2454C13.7318 9.06354 13.7504 8.87504 13.8214 8.70373C13.8923 8.53243 14.0125 8.38601 14.1667 8.283C14.3208 8.17998 14.5021 8.125 14.6875 8.125C14.9361 8.125 15.1746 8.22377 15.3504 8.39959C15.5262 8.5754 15.625 8.81386 15.625 9.0625Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_pulse'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M18.75 10.0002C18.75 10.1659 18.6842 10.3249 18.5669 10.4421C18.4497 10.5593 18.2908 10.6252 18.125 10.6252H16.0109L13.0594 16.5299C13.0074 16.6337 12.9276 16.721 12.8288 16.782C12.73 16.843 12.6161 16.8752 12.5 16.8752H12.4688C12.3475 16.8692 12.2307 16.828 12.1324 16.7567C12.0342 16.6854 11.9589 16.587 11.9156 16.4736L7.44922 4.74704L4.94375 10.2588C4.89411 10.368 4.81409 10.4606 4.71324 10.5256C4.61239 10.5905 4.49497 10.6251 4.375 10.6252H1.875C1.70924 10.6252 1.55027 10.5593 1.43306 10.4421C1.31585 10.3249 1.25 10.1659 1.25 10.0002C1.25 9.8344 1.31585 9.67543 1.43306 9.55822C1.55027 9.44101 1.70924 9.37516 1.875 9.37516H3.97266L6.93125 2.86657C6.98226 2.75425 7.06536 2.65954 7.17009 2.59437C7.27482 2.52919 7.39649 2.49646 7.51979 2.5003C7.64308 2.50415 7.76248 2.54439 7.86295 2.61596C7.96342 2.68753 8.04046 2.78723 8.08438 2.90251L12.5773 14.6994L15.0656 9.72204C15.1174 9.61791 15.1971 9.53028 15.296 9.469C15.3948 9.40772 15.5087 9.37523 15.625 9.37516H18.125C18.2908 9.37516 18.4497 9.44101 18.5669 9.55822C18.6842 9.67543 18.75 9.8344 18.75 10.0002Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_question'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" fill="currentColor" viewBox="0 0 256 256">\r\n    <path d="M140,180a12,12,0,1,1-12-12A12,12,0,0,1,140,180ZM128,72c-22.06,0-40,16.15-40,36v4a8,8,0,0,0,16,0v-4c0-11,10.77-20,24-20s24,9,24,20-10.77,20-24,20a8,8,0,0,0-8,8v8a8,8,0,0,0,16,0v-.72c18.24-3.35,32-17.9,32-35.28C168,88.15,150.06,72,128,72Zm104,56A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"></path>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_receipt'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" fill="currentColor" viewBox="0 0 256 256">\r\n    <path d="M230.14,58.87A8,8,0,0,0,224,56H62.68L56.6,22.57A8,8,0,0,0,48.73,16H24a8,8,0,0,0,0,16h18L67.56,172.29a24,24,0,0,0,5.33,11.27,28,28,0,1,0,44.4,8.44h45.42A27.75,27.75,0,0,0,160,204a28,28,0,1,0,28-28H91.17a8,8,0,0,1-7.87-6.57L80.13,152h116a24,24,0,0,0,23.61-19.71l12.16-66.86A8,8,0,0,0,230.14,58.87ZM104,204a12,12,0,1,1-12-12A12,12,0,0,1,104,204Zm96,0a12,12,0,1,1-12-12A12,12,0,0,1,200,204Zm4-74.57A8,8,0,0,1,196.1,136H77.22L65.59,72H214.41Z"></path>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_ring-gap'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M21.75 12C21.75 14.5859 20.7228 17.0659 18.8943 18.8943C17.0658 20.7228 14.5859 21.75 12 21.75C9.41414 21.75 6.93419 20.7228 5.10571 18.8943C3.27723 17.0659 2.25 14.5859 2.25 12C2.25 8.1563 4.48219 4.6538 7.93688 3.06849C8.02638 3.02737 8.12311 3.00428 8.22153 3.00054C8.31996 2.9968 8.41816 3.01249 8.51052 3.0467C8.60289 3.08091 8.68761 3.13298 8.75985 3.19994C8.8321 3.26689 8.89044 3.34742 8.93156 3.43692C8.97268 3.52643 8.99577 3.62316 8.99951 3.72158C9.00325 3.82001 8.98756 3.91821 8.95335 4.01057C8.91914 4.10294 8.86707 4.18766 8.80011 4.2599C8.73316 4.33215 8.65263 4.39049 8.56312 4.43161C5.63906 5.77411 3.75 8.74411 3.75 12C3.75 14.1881 4.61919 16.2865 6.16637 17.8337C7.71354 19.3809 9.81196 20.25 12 20.25C14.188 20.25 16.2865 19.3809 17.8336 17.8337C19.3808 16.2865 20.25 14.1881 20.25 12C20.25 8.74411 18.3609 5.77411 15.4369 4.43161C15.2561 4.34857 15.1157 4.19711 15.0466 4.01057C14.9776 3.82403 14.9854 3.61769 15.0684 3.43692C15.1515 3.25616 15.3029 3.1158 15.4895 3.0467C15.676 2.9776 15.8824 2.98544 16.0631 3.06849C19.5178 4.6538 21.75 8.1563 21.75 12Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_scroll'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M9 9.75C9 9.55109 9.07902 9.36032 9.21967 9.21967C9.36032 9.07902 9.55109 9 9.75 9H15.75C15.9489 9 16.1397 9.07902 16.2803 9.21967C16.421 9.36032 16.5 9.55109 16.5 9.75C16.5 9.94891 16.421 10.1397 16.2803 10.2803C16.1397 10.421 15.9489 10.5 15.75 10.5H9.75C9.55109 10.5 9.36032 10.421 9.21967 10.2803C9.07902 10.1397 9 9.94891 9 9.75ZM9.75 13.5H15.75C15.9489 13.5 16.1397 13.421 16.2803 13.2803C16.421 13.1397 16.5 12.9489 16.5 12.75C16.5 12.5511 16.421 12.3603 16.2803 12.2197C16.1397 12.079 15.9489 12 15.75 12H9.75C9.55109 12 9.36032 12.079 9.21967 12.2197C9.07902 12.3603 9 12.5511 9 12.75C9 12.9489 9.07902 13.1397 9.21967 13.2803C9.36032 13.421 9.55109 13.5 9.75 13.5ZM21.75 18C21.75 18.7956 21.4339 19.5587 20.8713 20.1213C20.3087 20.6839 19.5456 21 18.75 21H8.25C7.45435 21 6.69129 20.6839 6.12868 20.1213C5.56607 19.5587 5.25 18.7956 5.25 18V6C5.25 5.60218 5.09196 5.22064 4.81066 4.93934C4.52936 4.65804 4.14782 4.5 3.75 4.5C3.35218 4.5 2.97064 4.65804 2.68934 4.93934C2.40804 5.22064 2.25 5.60218 2.25 6C2.25 6.53813 2.70281 6.90188 2.7075 6.90563C2.83163 7.00115 2.92273 7.13313 2.96804 7.28306C3.01334 7.43299 3.01057 7.59335 2.96011 7.74162C2.90965 7.8899 2.81404 8.01866 2.68668 8.10983C2.55933 8.201 2.40663 8.25002 2.25 8.25C2.08781 8.25028 1.93003 8.19725 1.80094 8.09906C1.69219 8.01937 0.75 7.27594 0.75 6C0.75 5.20435 1.06607 4.44129 1.62868 3.87868C2.19129 3.31607 2.95435 3 3.75 3H16.5C17.2956 3 18.0587 3.31607 18.6213 3.87868C19.1839 4.44129 19.5 5.20435 19.5 6V15.75H20.25C20.4123 15.75 20.5702 15.8026 20.7 15.9C20.8125 15.9806 21.75 16.7241 21.75 18ZM9.02437 16.2638C9.07562 16.1125 9.17342 15.9813 9.30376 15.889C9.4341 15.7968 9.59031 15.7481 9.75 15.75H18V6C18 5.60218 17.842 5.22064 17.5607 4.93934C17.2794 4.65804 16.8978 4.5 16.5 4.5H6.34594C6.61119 4.95535 6.75064 5.47302 6.75 6V18C6.75 18.3978 6.90804 18.7794 7.18934 19.0607C7.47064 19.342 7.85218 19.5 8.25 19.5C8.64782 19.5 9.02936 19.342 9.31066 19.0607C9.59196 18.7794 9.75 18.3978 9.75 18C9.75 17.4619 9.29719 17.0981 9.2925 17.0944C9.16469 17.0029 9.06963 16.8729 9.02136 16.7233C8.97308 16.5738 8.97414 16.4127 9.02437 16.2638ZM20.25 18C20.2406 17.7221 20.1334 17.4565 19.9472 17.25H11.1347C11.2101 17.4929 11.2483 17.7457 11.2481 18C11.2488 18.5267 11.1101 19.0443 10.8459 19.5H18.75C19.1478 19.5 19.5294 19.342 19.8107 19.0607C20.092 18.7794 20.25 18.3978 20.25 18Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_search'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n<path d="M17.9421 17.0575L14.0304 13.1466C15.1642 11.7854 15.7295 10.0395 15.6089 8.27214C15.4882 6.50475 14.6908 4.85192 13.3825 3.65748C12.0743 2.46304 10.3559 1.81895 8.58486 1.8592C6.81382 1.89945 5.12647 2.62094 3.87383 3.87358C2.62118 5.12622 1.89969 6.81357 1.85944 8.58462C1.8192 10.3557 2.46328 12.074 3.65772 13.3823C4.85217 14.6906 6.505 15.488 8.27238 15.6086C10.0398 15.7293 11.7856 15.1639 13.1468 14.0302L17.0577 17.9419C17.1158 17.9999 17.1848 18.046 17.2606 18.0774C17.3365 18.1089 17.4178 18.125 17.4999 18.125C17.5821 18.125 17.6634 18.1089 17.7392 18.0774C17.8151 18.046 17.8841 17.9999 17.9421 17.9419C18.0002 17.8838 18.0463 17.8149 18.0777 17.739C18.1091 17.6631 18.1253 17.5818 18.1253 17.4997C18.1253 17.4176 18.1091 17.3363 18.0777 17.2604C18.0463 17.1845 18.0002 17.1156 17.9421 17.0575ZM3.12493 8.74969C3.12493 7.63717 3.45483 6.54963 4.07292 5.62461C4.691 4.69958 5.56951 3.97861 6.59734 3.55287C7.62517 3.12712 8.75617 3.01573 9.84732 3.23277C10.9385 3.44981 11.9407 3.98554 12.7274 4.77221C13.5141 5.55888 14.0498 6.56116 14.2669 7.65231C14.4839 8.74345 14.3725 9.87445 13.9468 10.9023C13.521 11.9301 12.8 12.8086 11.875 13.4267C10.95 14.0448 9.86245 14.3747 8.74993 14.3747C7.2586 14.373 5.82882 13.7799 4.77429 12.7253C3.71975 11.6708 3.12659 10.241 3.12493 8.74969Z" fill="currentColor"/>\r\n</svg>\r\n';
}
return __p;
}
window.renderBlocks['blocks-icons.i_server'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n<path d="M16.25 10.625H3.75C3.41848 10.625 3.10054 10.7567 2.86612 10.9911C2.6317 11.2255 2.5 11.5435 2.5 11.875V15.625C2.5 15.9565 2.6317 16.2745 2.86612 16.5089C3.10054 16.7433 3.41848 16.875 3.75 16.875H16.25C16.5815 16.875 16.8995 16.7433 17.1339 16.5089C17.3683 16.2745 17.5 15.9565 17.5 15.625V11.875C17.5 11.5435 17.3683 11.2255 17.1339 10.9911C16.8995 10.7567 16.5815 10.625 16.25 10.625ZM16.25 15.625H3.75V11.875H16.25V15.625ZM16.25 3.125H3.75C3.41848 3.125 3.10054 3.2567 2.86612 3.49112C2.6317 3.72554 2.5 4.04348 2.5 4.375V8.125C2.5 8.45652 2.6317 8.77446 2.86612 9.00888C3.10054 9.2433 3.41848 9.375 3.75 9.375H16.25C16.5815 9.375 16.8995 9.2433 17.1339 9.00888C17.3683 8.77446 17.5 8.45652 17.5 8.125V4.375C17.5 4.04348 17.3683 3.72554 17.1339 3.49112C16.8995 3.2567 16.5815 3.125 16.25 3.125ZM16.25 8.125H3.75V4.375H16.25V8.125ZM15 6.25C15 6.43542 14.945 6.61668 14.842 6.77085C14.739 6.92502 14.5926 7.04518 14.4213 7.11614C14.25 7.18709 14.0615 7.20566 13.8796 7.16949C13.6977 7.13331 13.5307 7.04402 13.3996 6.91291C13.2685 6.7818 13.1792 6.61475 13.143 6.4329C13.1068 6.25104 13.1254 6.06254 13.1964 5.89123C13.2673 5.71993 13.3875 5.57351 13.5417 5.4705C13.6958 5.36748 13.8771 5.3125 14.0625 5.3125C14.3111 5.3125 14.5496 5.41127 14.7254 5.58709C14.9012 5.7629 15 6.00136 15 6.25ZM15 13.75C15 13.9354 14.945 14.1167 14.842 14.2708C14.739 14.425 14.5926 14.5452 14.4213 14.6161C14.25 14.6871 14.0615 14.7057 13.8796 14.6695C13.6977 14.6333 13.5307 14.544 13.3996 14.4129C13.2685 14.2818 13.1792 14.1148 13.143 13.9329C13.1068 13.751 13.1254 13.5625 13.1964 13.3912C13.2673 13.2199 13.3875 13.0735 13.5417 12.9705C13.6958 12.8675 13.8771 12.8125 14.0625 12.8125C14.3111 12.8125 14.5496 12.9113 14.7254 13.0871C14.9012 13.2629 15 13.5014 15 13.75Z" fill="currentColor"/>\r\n</svg>\r\n';
}
return __p;
}
window.renderBlocks['blocks-icons.i_six-dots'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M9.75 5.625C9.75 5.8475 9.68402 6.06501 9.5604 6.25002C9.43679 6.43502 9.26109 6.57922 9.05552 6.66437C8.84995 6.74951 8.62375 6.77179 8.40552 6.72838C8.1873 6.68498 7.98684 6.57783 7.82951 6.4205C7.67217 6.26316 7.56503 6.06271 7.52162 5.84448C7.47821 5.62625 7.50049 5.40005 7.58564 5.19448C7.67078 4.98891 7.81498 4.81321 7.99998 4.6896C8.18499 4.56598 8.4025 4.5 8.625 4.5C8.92337 4.5 9.20952 4.61853 9.4205 4.82951C9.63147 5.04048 9.75 5.32663 9.75 5.625ZM15.375 6.75C15.5975 6.75 15.815 6.68402 16 6.5604C16.185 6.43679 16.3292 6.26109 16.4144 6.05552C16.4995 5.84995 16.5218 5.62375 16.4784 5.40552C16.435 5.1873 16.3278 4.98684 16.1705 4.82951C16.0132 4.67217 15.8127 4.56503 15.5945 4.52162C15.3762 4.47821 15.15 4.50049 14.9445 4.58564C14.7389 4.67078 14.5632 4.81498 14.4396 4.99998C14.316 5.18499 14.25 5.4025 14.25 5.625C14.25 5.92337 14.3685 6.20952 14.5795 6.4205C14.7905 6.63147 15.0766 6.75 15.375 6.75ZM8.625 10.875C8.4025 10.875 8.18499 10.941 7.99998 11.0646C7.81498 11.1882 7.67078 11.3639 7.58564 11.5695C7.50049 11.775 7.47821 12.0012 7.52162 12.2195C7.56503 12.4377 7.67217 12.6382 7.82951 12.7955C7.98684 12.9528 8.1873 13.06 8.40552 13.1034C8.62375 13.1468 8.84995 13.1245 9.05552 13.0394C9.26109 12.9542 9.43679 12.81 9.5604 12.625C9.68402 12.44 9.75 12.2225 9.75 12C9.75 11.7016 9.63147 11.4155 9.4205 11.2045C9.20952 10.9935 8.92337 10.875 8.625 10.875ZM15.375 10.875C15.1525 10.875 14.935 10.941 14.75 11.0646C14.565 11.1882 14.4208 11.3639 14.3356 11.5695C14.2505 11.775 14.2282 12.0012 14.2716 12.2195C14.315 12.4377 14.4222 12.6382 14.5795 12.7955C14.7368 12.9528 14.9373 13.06 15.1555 13.1034C15.3738 13.1468 15.6 13.1245 15.8055 13.0394C16.0111 12.9542 16.1868 12.81 16.3104 12.625C16.434 12.44 16.5 12.2225 16.5 12C16.5 11.7016 16.3815 11.4155 16.1705 11.2045C15.9595 10.9935 15.6734 10.875 15.375 10.875ZM8.625 17.25C8.4025 17.25 8.18499 17.316 7.99998 17.4396C7.81498 17.5632 7.67078 17.7389 7.58564 17.9445C7.50049 18.15 7.47821 18.3762 7.52162 18.5945C7.56503 18.8127 7.67217 19.0132 7.82951 19.1705C7.98684 19.3278 8.1873 19.435 8.40552 19.4784C8.62375 19.5218 8.84995 19.4995 9.05552 19.4144C9.26109 19.3292 9.43679 19.185 9.5604 19C9.68402 18.815 9.75 18.5975 9.75 18.375C9.75 18.0766 9.63147 17.7905 9.4205 17.5795C9.20952 17.3685 8.92337 17.25 8.625 17.25ZM15.375 17.25C15.1525 17.25 14.935 17.316 14.75 17.4396C14.565 17.5632 14.4208 17.7389 14.3356 17.9445C14.2505 18.15 14.2282 18.3762 14.2716 18.5945C14.315 18.8127 14.4222 19.0132 14.5795 19.1705C14.7368 19.3278 14.9373 19.435 15.1555 19.4784C15.3738 19.5218 15.6 19.4995 15.8055 19.4144C16.0111 19.3292 16.1868 19.185 16.3104 19C16.434 18.815 16.5 18.5975 16.5 18.375C16.5 18.0766 16.3815 17.7905 16.1705 17.5795C15.9595 17.3685 15.6734 17.25 15.375 17.25Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_square-four'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M9.75 3.75H5.25C4.85218 3.75 4.47064 3.90804 4.18934 4.18934C3.90804 4.47064 3.75 4.85218 3.75 5.25V9.75C3.75 10.1478 3.90804 10.5294 4.18934 10.8107C4.47064 11.092 4.85218 11.25 5.25 11.25H9.75C10.1478 11.25 10.5294 11.092 10.8107 10.8107C11.092 10.5294 11.25 10.1478 11.25 9.75V5.25C11.25 4.85218 11.092 4.47064 10.8107 4.18934C10.5294 3.90804 10.1478 3.75 9.75 3.75ZM9.75 9.75H5.25V5.25H9.75V9.75ZM18.75 3.75H14.25C13.8522 3.75 13.4706 3.90804 13.1893 4.18934C12.908 4.47064 12.75 4.85218 12.75 5.25V9.75C12.75 10.1478 12.908 10.5294 13.1893 10.8107C13.4706 11.092 13.8522 11.25 14.25 11.25H18.75C19.1478 11.25 19.5294 11.092 19.8107 10.8107C20.092 10.5294 20.25 10.1478 20.25 9.75V5.25C20.25 4.85218 20.092 4.47064 19.8107 4.18934C19.5294 3.90804 19.1478 3.75 18.75 3.75ZM18.75 9.75H14.25V5.25H18.75V9.75ZM9.75 12.75H5.25C4.85218 12.75 4.47064 12.908 4.18934 13.1893C3.90804 13.4706 3.75 13.8522 3.75 14.25V18.75C3.75 19.1478 3.90804 19.5294 4.18934 19.8107C4.47064 20.092 4.85218 20.25 5.25 20.25H9.75C10.1478 20.25 10.5294 20.092 10.8107 19.8107C11.092 19.5294 11.25 19.1478 11.25 18.75V14.25C11.25 13.8522 11.092 13.4706 10.8107 13.1893C10.5294 12.908 10.1478 12.75 9.75 12.75ZM9.75 18.75H5.25V14.25H9.75V18.75ZM18.75 12.75H14.25C13.8522 12.75 13.4706 12.908 13.1893 13.1893C12.908 13.4706 12.75 13.8522 12.75 14.25V18.75C12.75 19.1478 12.908 19.5294 13.1893 19.8107C13.4706 20.092 13.8522 20.25 14.25 20.25H18.75C19.1478 20.25 19.5294 20.092 19.8107 19.8107C20.092 19.5294 20.25 19.1478 20.25 18.75V14.25C20.25 13.8522 20.092 13.4706 19.8107 13.1893C19.5294 12.908 19.1478 12.75 18.75 12.75ZM18.75 18.75H14.25V14.25H18.75V18.75Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_square-two'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M6.75 3.125C6.75 2.77982 7.02982 2.5 7.375 2.5H17.375C17.7202 2.5 18 2.77982 18 3.125V13.125C18 13.4702 17.7202 13.75 17.375 13.75H13.625C13.2798 13.75 13 13.4702 13 13.125C13 12.7798 13.2798 12.5 13.625 12.5H16.75V3.75H8V6.875C8 7.22018 7.72018 7.5 7.375 7.5C7.02982 7.5 6.75 7.22018 6.75 6.875V3.125Z" fill="currentColor"/>\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M3 6.875C3 6.52982 3.27982 6.25 3.625 6.25H13.625C13.9702 6.25 14.25 6.52982 14.25 6.875V16.875C14.25 17.2202 13.9702 17.5 13.625 17.5H3.625C3.27982 17.5 3 17.2202 3 16.875V6.875ZM4.25 7.5V16.25H13V7.5H4.25Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_star-fill'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M18.3039 8.97274L14.7882 12.0063L15.8593 16.5431C15.9184 16.7893 15.9032 17.0476 15.8156 17.2852C15.728 17.5229 15.5719 17.7292 15.3671 17.8782C15.1623 18.0271 14.9179 18.1121 14.6648 18.1222C14.4118 18.1324 14.1614 18.0673 13.9453 17.9352L9.99995 15.5071L6.0523 17.9352C5.83622 18.0666 5.58613 18.131 5.3335 18.1205C5.08087 18.11 4.837 18.0249 4.63261 17.8761C4.42822 17.7272 4.27243 17.5212 4.18488 17.284C4.09732 17.0468 4.08191 16.789 4.14058 16.5431L5.21558 12.0063L1.69995 8.97274C1.50878 8.80752 1.37052 8.58963 1.30244 8.34629C1.23436 8.10296 1.23947 7.84496 1.31715 7.60451C1.39483 7.36407 1.54162 7.15184 1.73919 6.99432C1.93677 6.83681 2.17637 6.74099 2.42808 6.71884L7.03745 6.34696L8.81558 2.04384C8.91182 1.80932 9.07563 1.60872 9.28618 1.46754C9.49673 1.32636 9.7445 1.25098 9.998 1.25098C10.2515 1.25098 10.4993 1.32636 10.7098 1.46754C10.9204 1.60872 11.0842 1.80932 11.1804 2.04384L12.9578 6.34696L17.5671 6.71884C17.8193 6.74017 18.0596 6.83545 18.2579 6.99275C18.4562 7.15004 18.6037 7.36236 18.6819 7.6031C18.76 7.84383 18.7654 8.10228 18.6973 8.34606C18.6292 8.58984 18.4907 8.80811 18.2992 8.97352L18.3039 8.97274Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_star'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M18.6864 7.59833C18.6082 7.35812 18.4607 7.1464 18.2625 6.98986C18.0642 6.83331 17.8241 6.73895 17.5723 6.71864L12.9629 6.34677L11.1832 2.04286C11.087 1.80834 10.9232 1.60774 10.7126 1.46656C10.5021 1.32538 10.2543 1.25 10.0008 1.25C9.74731 1.25 9.49954 1.32538 9.28899 1.46656C9.07844 1.60774 8.91463 1.80834 8.81839 2.04286L7.04026 6.34599L2.42854 6.71864C2.17634 6.73997 1.93604 6.83525 1.73774 6.99255C1.53945 7.14985 1.39199 7.36217 1.31383 7.6029C1.23567 7.84364 1.23029 8.10209 1.29836 8.34587C1.36644 8.58965 1.50494 8.80792 1.69651 8.97333L5.21214 12.0069L4.14104 16.5429C4.08114 16.7893 4.09581 17.048 4.18318 17.286C4.27056 17.5241 4.4267 17.7309 4.63179 17.88C4.83688 18.0292 5.08167 18.1141 5.33509 18.1239C5.5885 18.1337 5.83911 18.0679 6.05511 17.935L10.0004 15.5069L13.9481 17.935C14.1641 18.0664 14.4142 18.1308 14.6669 18.1203C14.9195 18.1098 15.1634 18.0247 15.3678 17.8759C15.5722 17.727 15.7279 17.521 15.8155 17.2838C15.9031 17.0466 15.9185 16.7888 15.8598 16.5429L14.7848 12.0061L18.3004 8.97255C18.4935 8.80741 18.6333 8.58867 18.702 8.34403C18.7707 8.09939 18.7653 7.83987 18.6864 7.59833ZM17.4879 8.02567L13.6832 11.3069C13.5965 11.3817 13.5319 11.4789 13.4967 11.5879C13.4614 11.6969 13.4567 11.8135 13.4832 11.9249L14.6457 16.8311C14.6487 16.8379 14.649 16.8456 14.6466 16.8525C14.6441 16.8595 14.639 16.8653 14.6325 16.8686C14.6184 16.8796 14.6145 16.8772 14.6028 16.8686L10.3278 14.2397C10.2293 14.1792 10.116 14.1472 10.0004 14.1472C9.88484 14.1472 9.77153 14.1792 9.67308 14.2397L5.39808 16.8702C5.38636 16.8772 5.38323 16.8796 5.36839 16.8702C5.36179 16.8668 5.35674 16.8611 5.35427 16.8541C5.3518 16.8471 5.3521 16.8395 5.35511 16.8327L6.51761 11.9265C6.5441 11.815 6.53946 11.6984 6.50419 11.5894C6.46892 11.4805 6.40437 11.3833 6.31761 11.3085L2.51292 8.02724C2.50354 8.01942 2.49495 8.01239 2.50276 7.98817C2.51058 7.96395 2.51683 7.96708 2.52854 7.96552L7.52229 7.56239C7.63683 7.55257 7.74644 7.51134 7.83907 7.44325C7.93169 7.37516 8.00374 7.28284 8.04729 7.17645L9.97073 2.51942C9.97698 2.50614 9.97933 2.49989 9.99808 2.49989C10.0168 2.49989 10.0192 2.50614 10.0254 2.51942L11.9535 7.17645C11.9975 7.28289 12.07 7.3751 12.1631 7.44293C12.2561 7.51076 12.3661 7.55156 12.4809 7.56083L17.4746 7.96395C17.4864 7.96395 17.4934 7.96395 17.5004 7.98661C17.5075 8.00927 17.5004 8.01786 17.4879 8.02567Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_sun'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M11.25 3.75V3C11.25 2.80109 11.329 2.61032 11.4697 2.46967C11.6103 2.32902 11.8011 2.25 12 2.25C12.1989 2.25 12.3897 2.32902 12.5303 2.46967C12.671 2.61032 12.75 2.80109 12.75 3V3.75C12.75 3.94891 12.671 4.13968 12.5303 4.28033C12.3897 4.42098 12.1989 4.5 12 4.5C11.8011 4.5 11.6103 4.42098 11.4697 4.28033C11.329 4.13968 11.25 3.94891 11.25 3.75ZM18 12C18 13.1867 17.6481 14.3467 16.9888 15.3334C16.3295 16.3201 15.3925 17.0892 14.2961 17.5433C13.1997 17.9974 11.9933 18.1162 10.8295 17.8847C9.66557 17.6532 8.59647 17.0818 7.75736 16.2426C6.91824 15.4035 6.3468 14.3344 6.11529 13.1705C5.88378 12.0067 6.0026 10.8003 6.45672 9.7039C6.91085 8.60754 7.67988 7.67047 8.66658 7.01118C9.65327 6.35189 10.8133 6 12 6C13.5908 6.00174 15.1159 6.63444 16.2407 7.75928C17.3656 8.88412 17.9983 10.4092 18 12ZM16.5 12C16.5 11.11 16.2361 10.24 15.7416 9.49993C15.2471 8.75991 14.5443 8.18314 13.7221 7.84254C12.8998 7.50195 11.995 7.41283 11.1221 7.58647C10.2492 7.7601 9.44736 8.18868 8.81802 8.81802C8.18868 9.44736 7.7601 10.2492 7.58647 11.1221C7.41283 11.995 7.50195 12.8998 7.84254 13.7221C8.18314 14.5443 8.75991 15.2471 9.49993 15.7416C10.24 16.2361 11.11 16.5 12 16.5C13.1931 16.4988 14.337 16.0243 15.1806 15.1806C16.0243 14.337 16.4988 13.1931 16.5 12ZM5.46938 6.53063C5.61011 6.67136 5.80098 6.75042 6 6.75042C6.19902 6.75042 6.38989 6.67136 6.53063 6.53063C6.67136 6.38989 6.75042 6.19902 6.75042 6C6.75042 5.80098 6.67136 5.61011 6.53063 5.46938L5.78062 4.71938C5.63989 4.57864 5.44902 4.49958 5.25 4.49958C5.05098 4.49958 4.86011 4.57864 4.71938 4.71938C4.57864 4.86011 4.49958 5.05098 4.49958 5.25C4.49958 5.44902 4.57864 5.63989 4.71938 5.78062L5.46938 6.53063ZM5.46938 17.4694L4.71938 18.2194C4.57864 18.3601 4.49958 18.551 4.49958 18.75C4.49958 18.949 4.57864 19.1399 4.71938 19.2806C4.86011 19.4214 5.05098 19.5004 5.25 19.5004C5.44902 19.5004 5.63989 19.4214 5.78062 19.2806L6.53063 18.5306C6.60031 18.4609 6.65558 18.3782 6.6933 18.2872C6.73101 18.1961 6.75042 18.0985 6.75042 18C6.75042 17.9015 6.73101 17.8039 6.6933 17.7128C6.65558 17.6218 6.60031 17.5391 6.53063 17.4694C6.46094 17.3997 6.37822 17.3444 6.28717 17.3067C6.19613 17.269 6.09855 17.2496 6 17.2496C5.90145 17.2496 5.80387 17.269 5.71283 17.3067C5.62178 17.3444 5.53906 17.3997 5.46938 17.4694ZM18 6.75C18.0985 6.75008 18.1961 6.73074 18.2871 6.6931C18.3782 6.65546 18.4609 6.60025 18.5306 6.53063L19.2806 5.78062C19.4214 5.63989 19.5004 5.44902 19.5004 5.25C19.5004 5.05098 19.4214 4.86011 19.2806 4.71938C19.1399 4.57864 18.949 4.49958 18.75 4.49958C18.551 4.49958 18.3601 4.57864 18.2194 4.71938L17.4694 5.46938C17.3644 5.57427 17.2928 5.70796 17.2639 5.85352C17.2349 5.99908 17.2497 6.14998 17.3065 6.28709C17.3633 6.42421 17.4596 6.54139 17.583 6.62379C17.7065 6.70619 17.8516 6.75012 18 6.75ZM18.5306 17.4694C18.3899 17.3286 18.199 17.2496 18 17.2496C17.801 17.2496 17.6101 17.3286 17.4694 17.4694C17.3286 17.6101 17.2496 17.801 17.2496 18C17.2496 18.199 17.3286 18.3899 17.4694 18.5306L18.2194 19.2806C18.2891 19.3503 18.3718 19.4056 18.4628 19.4433C18.5539 19.481 18.6515 19.5004 18.75 19.5004C18.8485 19.5004 18.9461 19.481 19.0372 19.4433C19.1282 19.4056 19.2109 19.3503 19.2806 19.2806C19.3503 19.2109 19.4056 19.1282 19.4433 19.0372C19.481 18.9461 19.5004 18.8485 19.5004 18.75C19.5004 18.6515 19.481 18.5539 19.4433 18.4628C19.4056 18.3718 19.3503 18.2891 19.2806 18.2194L18.5306 17.4694ZM3.75 11.25H3C2.80109 11.25 2.61032 11.329 2.46967 11.4697C2.32902 11.6103 2.25 11.8011 2.25 12C2.25 12.1989 2.32902 12.3897 2.46967 12.5303C2.61032 12.671 2.80109 12.75 3 12.75H3.75C3.94891 12.75 4.13968 12.671 4.28033 12.5303C4.42098 12.3897 4.5 12.1989 4.5 12C4.5 11.8011 4.42098 11.6103 4.28033 11.4697C4.13968 11.329 3.94891 11.25 3.75 11.25ZM12 19.5C11.8011 19.5 11.6103 19.579 11.4697 19.7197C11.329 19.8603 11.25 20.0511 11.25 20.25V21C11.25 21.1989 11.329 21.3897 11.4697 21.5303C11.6103 21.671 11.8011 21.75 12 21.75C12.1989 21.75 12.3897 21.671 12.5303 21.5303C12.671 21.3897 12.75 21.1989 12.75 21V20.25C12.75 20.0511 12.671 19.8603 12.5303 19.7197C12.3897 19.579 12.1989 19.5 12 19.5ZM21 11.25H20.25C20.0511 11.25 19.8603 11.329 19.7197 11.4697C19.579 11.6103 19.5 11.8011 19.5 12C19.5 12.1989 19.579 12.3897 19.7197 12.5303C19.8603 12.671 20.0511 12.75 20.25 12.75H21C21.1989 12.75 21.3897 12.671 21.5303 12.5303C21.671 12.3897 21.75 12.1989 21.75 12C21.75 11.8011 21.671 11.6103 21.5303 11.4697C21.3897 11.329 21.1989 11.25 21 11.25Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_text-left'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M2.5 5C2.5 4.83424 2.56585 4.67527 2.68306 4.55806C2.80027 4.44085 2.95924 4.375 3.125 4.375H16.875C17.0408 4.375 17.1997 4.44085 17.3169 4.55806C17.4342 4.67527 17.5 4.83424 17.5 5C17.5 5.16576 17.4342 5.32473 17.3169 5.44194C17.1997 5.55915 17.0408 5.625 16.875 5.625H3.125C2.95924 5.625 2.80027 5.55915 2.68306 5.44194C2.56585 5.32473 2.5 5.16576 2.5 5ZM3.125 8.75H13.125C13.2908 8.75 13.4497 8.68415 13.5669 8.56694C13.6842 8.44973 13.75 8.29076 13.75 8.125C13.75 7.95924 13.6842 7.80027 13.5669 7.68306C13.4497 7.56585 13.2908 7.5 13.125 7.5H3.125C2.95924 7.5 2.80027 7.56585 2.68306 7.68306C2.56585 7.80027 2.5 7.95924 2.5 8.125C2.5 8.29076 2.56585 8.44973 2.68306 8.56694C2.80027 8.68415 2.95924 8.75 3.125 8.75ZM16.875 10.625H3.125C2.95924 10.625 2.80027 10.6908 2.68306 10.8081C2.56585 10.9253 2.5 11.0842 2.5 11.25C2.5 11.4158 2.56585 11.5747 2.68306 11.6919C2.80027 11.8092 2.95924 11.875 3.125 11.875H16.875C17.0408 11.875 17.1997 11.8092 17.3169 11.6919C17.4342 11.5747 17.5 11.4158 17.5 11.25C17.5 11.0842 17.4342 10.9253 17.3169 10.8081C17.1997 10.6908 17.0408 10.625 16.875 10.625ZM13.125 13.75H3.125C2.95924 13.75 2.80027 13.8158 2.68306 13.9331C2.56585 14.0503 2.5 14.2092 2.5 14.375C2.5 14.5408 2.56585 14.6997 2.68306 14.8169C2.80027 14.9342 2.95924 15 3.125 15H13.125C13.2908 15 13.4497 14.9342 13.5669 14.8169C13.6842 14.6997 13.75 14.5408 13.75 14.375C13.75 14.2092 13.6842 14.0503 13.5669 13.9331C13.4497 13.8158 13.2908 13.75 13.125 13.75Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_text'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M21 12C21 12.1989 20.921 12.3897 20.7803 12.5303C20.6397 12.671 20.4489 12.75 20.25 12.75H3.75C3.55109 12.75 3.36032 12.671 3.21967 12.5303C3.07902 12.3897 3 12.1989 3 12C3 11.8011 3.07902 11.6103 3.21967 11.4697C3.36032 11.329 3.55109 11.25 3.75 11.25H20.25C20.4489 11.25 20.6397 11.329 20.7803 11.4697C20.921 11.6103 21 11.8011 21 12ZM3.75 6.75H20.25C20.4489 6.75 20.6397 6.67098 20.7803 6.53033C20.921 6.38968 21 6.19891 21 6C21 5.80109 20.921 5.61032 20.7803 5.46967C20.6397 5.32902 20.4489 5.25 20.25 5.25H3.75C3.55109 5.25 3.36032 5.32902 3.21967 5.46967C3.07902 5.61032 3 5.80109 3 6C3 6.19891 3.07902 6.38968 3.21967 6.53033C3.36032 6.67098 3.55109 6.75 3.75 6.75ZM20.25 17.25H3.75C3.55109 17.25 3.36032 17.329 3.21967 17.4697C3.07902 17.6103 3 17.8011 3 18C3 18.1989 3.07902 18.3897 3.21967 18.5303C3.36032 18.671 3.55109 18.75 3.75 18.75H20.25C20.4489 18.75 20.6397 18.671 20.7803 18.5303C20.921 18.3897 21 18.1989 21 18C21 17.8011 20.921 17.6103 20.7803 17.4697C20.6397 17.329 20.4489 17.25 20.25 17.25Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_tray'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M16.25 2.5H3.75C3.41848 2.5 3.10054 2.6317 2.86612 2.86612C2.6317 3.10054 2.5 3.41848 2.5 3.75V16.25C2.5 16.5815 2.6317 16.8995 2.86612 17.1339C3.10054 17.3683 3.41848 17.5 3.75 17.5H16.25C16.5815 17.5 16.8995 17.3683 17.1339 17.1339C17.3683 16.8995 17.5 16.5815 17.5 16.25V3.75C17.5 3.41848 17.3683 3.10054 17.1339 2.86612C16.8995 2.6317 16.5815 2.5 16.25 2.5ZM16.25 3.75V11.875H14.0078C13.8437 11.8746 13.6812 11.9068 13.5297 11.9697C13.3781 12.0325 13.2406 12.1249 13.125 12.2414L11.6164 13.75H8.38359L6.875 12.2414C6.75935 12.1248 6.62168 12.0324 6.46999 11.9695C6.3183 11.9066 6.15562 11.8745 5.99141 11.875H3.75V3.75H16.25ZM16.25 16.25H3.75V13.125H5.99141L7.5 14.6336C7.61565 14.7502 7.75332 14.8426 7.90501 14.9055C8.0567 14.9684 8.21938 15.0005 8.38359 15H11.6164C11.7806 15.0005 11.9433 14.9684 12.095 14.9055C12.2467 14.8426 12.3843 14.7502 12.5 14.6336L14.0086 13.125H16.25V16.25Z" fill="currentColor"/>\r\n</svg>\r\n';
}
return __p;
}
window.renderBlocks['blocks-icons.i_user'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M12 3.75C9.1005 3.75 6.75 6.1005 6.75 9C6.75 11.8995 9.1005 14.25 12 14.25C14.8995 14.25 17.25 11.8995 17.25 9C17.25 6.1005 14.8995 3.75 12 3.75ZM5.25 9C5.25 5.27208 8.27208 2.25 12 2.25C15.7279 2.25 18.75 5.27208 18.75 9C18.75 12.7279 15.7279 15.75 12 15.75C8.27208 15.75 5.25 12.7279 5.25 9Z" fill="currentColor"/>\r\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M12.0001 15.75C8.40045 15.75 5.3407 17.703 3.64926 20.6257C3.44178 20.9842 2.98296 21.1066 2.62445 20.8991C2.26595 20.6917 2.14352 20.2328 2.35099 19.8743C4.29143 16.5214 7.82792 14.25 12.0001 14.25C16.1723 14.25 19.7088 16.5214 21.6493 19.8743C21.8567 20.2328 21.7343 20.6917 21.3758 20.8991C21.0173 21.1066 20.5585 20.9842 20.351 20.6257C18.6595 17.703 15.5998 15.75 12.0001 15.75Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_users'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n<path d="M9.16026 12.3374C9.99791 11.7798 10.6339 10.9674 10.9741 10.0203C11.3143 9.07325 11.3407 8.04185 11.0494 7.07862C10.7581 6.1154 10.1646 5.27149 9.35653 4.67169C8.54851 4.07189 7.56891 3.74805 6.5626 3.74805C5.55629 3.74805 4.57669 4.07189 3.76867 4.67169C2.96065 5.27149 2.3671 6.1154 2.0758 7.07862C1.78449 8.04185 1.8109 9.07325 2.15111 10.0203C2.49133 10.9674 3.12729 11.7798 3.96494 12.3374C2.4497 12.8959 1.15565 13.9293 0.275881 15.2835C0.229643 15.3523 0.197527 15.4295 0.181398 15.5107C0.165269 15.592 0.165449 15.6756 0.181929 15.7568C0.198409 15.838 0.230858 15.915 0.277392 15.9836C0.323926 16.0521 0.383616 16.1107 0.452992 16.1559C0.522368 16.2012 0.600047 16.2322 0.681512 16.2472C0.762978 16.2621 0.846606 16.2607 0.927534 16.2431C1.00846 16.2255 1.08508 16.1919 1.15293 16.1444C1.22078 16.0969 1.2785 16.0364 1.32276 15.9664C1.89025 15.0935 2.66678 14.3763 3.58185 13.8798C4.49691 13.3833 5.52151 13.1232 6.5626 13.1232C7.60369 13.1232 8.62829 13.3833 9.54335 13.8798C10.4584 14.3763 11.235 15.0935 11.8024 15.9664C11.8941 16.1026 12.0357 16.1973 12.1966 16.23C12.3576 16.2626 12.5249 16.2307 12.6624 16.1409C12.8 16.0512 12.8967 15.911 12.9317 15.7506C12.9666 15.5901 12.9371 15.4224 12.8493 15.2835C11.9695 13.9293 10.6755 12.8959 9.16026 12.3374ZM3.1251 8.43745C3.1251 7.75758 3.32671 7.09297 3.70442 6.52768C4.08214 5.96238 4.619 5.52179 5.24713 5.26161C5.87525 5.00144 6.56641 4.93336 7.23322 5.066C7.90003 5.19864 8.51254 5.52603 8.99328 6.00677C9.47402 6.48751 9.80141 7.10002 9.93405 7.76683C10.0667 8.43363 9.99861 9.1248 9.73844 9.75292C9.47826 10.381 9.03767 10.9179 8.47237 11.2956C7.90708 11.6733 7.24247 11.8749 6.5626 11.8749C5.65124 11.8739 4.77749 11.5114 4.13306 10.867C3.48863 10.2226 3.12613 9.34881 3.1251 8.43745ZM19.5423 16.1484C19.4035 16.2389 19.2344 16.2706 19.0722 16.2365C18.91 16.2023 18.768 16.1052 18.6774 15.9664C18.1106 15.093 17.3342 14.3755 16.4189 13.8791C15.5037 13.3828 14.4788 13.1236 13.4376 13.1249C13.2718 13.1249 13.1129 13.0591 12.9957 12.9419C12.8784 12.8247 12.8126 12.6657 12.8126 12.4999C12.8126 12.3342 12.8784 12.1752 12.9957 12.058C13.1129 11.9408 13.2718 11.8749 13.4376 11.8749C13.9438 11.8745 14.4437 11.7622 14.9015 11.5461C15.3593 11.3301 15.7637 11.0156 16.0859 10.6251C16.4081 10.2346 16.64 9.77779 16.7652 9.28727C16.8903 8.79676 16.9056 8.28466 16.8099 7.78756C16.7142 7.29047 16.5098 6.82064 16.2115 6.41166C15.9132 6.00268 15.5282 5.66464 15.0841 5.42169C14.64 5.17874 14.1477 5.03688 13.6424 5.00625C13.1371 4.97562 12.6313 5.05696 12.161 5.24448C12.0844 5.27762 12.0018 5.29506 11.9183 5.29577C11.8348 5.29647 11.752 5.28043 11.6748 5.24859C11.5975 5.21675 11.5275 5.16975 11.4688 5.11038C11.41 5.05101 11.3638 4.98046 11.3327 4.90291C11.3017 4.82536 11.2866 4.74238 11.2881 4.65887C11.2897 4.57536 11.3081 4.49302 11.342 4.41671C11.376 4.3404 11.4249 4.27167 11.4858 4.21458C11.5468 4.15749 11.6186 4.1132 11.697 4.08432C12.7731 3.65514 13.9701 3.6397 15.0569 4.04097C16.1438 4.44224 17.0435 5.23179 17.5826 6.2573C18.1217 7.28282 18.2619 8.47164 17.9761 9.59442C17.6904 10.7172 16.999 11.6944 16.0353 12.3374C17.5505 12.8959 18.8445 13.9293 19.7243 15.2835C19.8148 15.4224 19.8465 15.5915 19.8124 15.7537C19.7783 15.9158 19.6811 16.0578 19.5423 16.1484Z" fill="currentColor"/>\r\n</svg>\r\n';
}
return __p;
}
window.renderBlocks['blocks-icons.i_wallet'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M21.0938 6.75H5.46875C5.26155 6.75 5.06284 6.67098 4.91632 6.53033C4.76981 6.38968 4.6875 6.19891 4.6875 6C4.6875 5.80109 4.76981 5.61032 4.91632 5.46967C5.06284 5.32902 5.26155 5.25 5.46875 5.25H18.75C18.9572 5.25 19.1559 5.17098 19.3024 5.03033C19.4489 4.88968 19.5312 4.69891 19.5312 4.5C19.5312 4.30109 19.4489 4.11032 19.3024 3.96967C19.1559 3.82902 18.9572 3.75 18.75 3.75H5.46875C4.84715 3.75 4.25101 3.98705 3.81147 4.40901C3.37193 4.83097 3.125 5.40326 3.125 6V18C3.125 18.5967 3.37193 19.169 3.81147 19.591C4.25101 20.0129 4.84715 20.25 5.46875 20.25H21.0938C21.5082 20.25 21.9056 20.092 22.1986 19.8107C22.4916 19.5294 22.6562 19.1478 22.6562 18.75V8.25C22.6562 7.85218 22.4916 7.47064 22.1986 7.18934C21.9056 6.90804 21.5082 6.75 21.0938 6.75ZM21.0938 18.75H5.46875C5.26155 18.75 5.06284 18.671 4.91632 18.5303C4.76981 18.3897 4.6875 18.1989 4.6875 18V8.12156C4.93835 8.20693 5.2026 8.25037 5.46875 8.25H21.0938V18.75ZM16.4062 13.125C16.4062 12.9025 16.475 12.685 16.6037 12.5C16.7325 12.315 16.9155 12.1708 17.1297 12.0856C17.3438 12.0005 17.5794 11.9782 17.8067 12.0216C18.0341 12.065 18.2429 12.1722 18.4068 12.3295C18.5707 12.4868 18.6823 12.6873 18.7275 12.9055C18.7727 13.1238 18.7495 13.35 18.6608 13.5555C18.5721 13.7611 18.4219 13.9368 18.2292 14.0604C18.0365 14.184 17.8099 14.25 17.5781 14.25C17.2673 14.25 16.9693 14.1315 16.7495 13.9205C16.5297 13.7095 16.4062 13.4234 16.4062 13.125Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_wastebasket'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M17.2754 3.75H14.1504V3.125C14.1504 2.62772 13.9528 2.15081 13.6012 1.79917C13.2496 1.44754 12.7727 1.25 12.2754 1.25H8.52539C8.02811 1.25 7.5512 1.44754 7.19957 1.79917C6.84793 2.15081 6.65039 2.62772 6.65039 3.125V3.75H3.52539C3.35963 3.75 3.20066 3.81585 3.08345 3.93306C2.96624 4.05027 2.90039 4.20924 2.90039 4.375C2.90039 4.54076 2.96624 4.69973 3.08345 4.81694C3.20066 4.93415 3.35963 5 3.52539 5H4.15039V16.25C4.15039 16.5815 4.28209 16.8995 4.51651 17.1339C4.75093 17.3683 5.06887 17.5 5.40039 17.5H15.4004C15.7319 17.5 16.0499 17.3683 16.2843 17.1339C16.5187 16.8995 16.6504 16.5815 16.6504 16.25V5H17.2754C17.4412 5 17.6001 4.93415 17.7173 4.81694C17.8345 4.69973 17.9004 4.54076 17.9004 4.375C17.9004 4.20924 17.8345 4.05027 17.7173 3.93306C17.6001 3.81585 17.4412 3.75 17.2754 3.75ZM7.90039 3.125C7.90039 2.95924 7.96624 2.80027 8.08345 2.68306C8.20066 2.56585 8.35963 2.5 8.52539 2.5H12.2754C12.4412 2.5 12.6001 2.56585 12.7173 2.68306C12.8345 2.80027 12.9004 2.95924 12.9004 3.125V3.75H7.90039V3.125ZM15.4004 16.25H5.40039V5H15.4004V16.25ZM9.15039 8.125V13.125C9.15039 13.2908 9.08454 13.4497 8.96733 13.5669C8.85012 13.6842 8.69115 13.75 8.52539 13.75C8.35963 13.75 8.20066 13.6842 8.08345 13.5669C7.96624 13.4497 7.90039 13.2908 7.90039 13.125V8.125C7.90039 7.95924 7.96624 7.80027 8.08345 7.68306C8.20066 7.56585 8.35963 7.5 8.52539 7.5C8.69115 7.5 8.85012 7.56585 8.96733 7.68306C9.08454 7.80027 9.15039 7.95924 9.15039 8.125ZM12.9004 8.125V13.125C12.9004 13.2908 12.8345 13.4497 12.7173 13.5669C12.6001 13.6842 12.4412 13.75 12.2754 13.75C12.1096 13.75 11.9507 13.6842 11.8334 13.5669C11.7162 13.4497 11.6504 13.2908 11.6504 13.125V8.125C11.6504 7.95924 11.7162 7.80027 11.8334 7.68306C11.9507 7.56585 12.1096 7.5 12.2754 7.5C12.4412 7.5 12.6001 7.56585 12.7173 7.68306C12.8345 7.80027 12.9004 7.95924 12.9004 8.125Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.i_x'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n<path d="M19.2806 18.2193C19.3502 18.289 19.4055 18.3717 19.4432 18.4628C19.4809 18.5538 19.5003 18.6514 19.5003 18.7499C19.5003 18.8485 19.4809 18.9461 19.4432 19.0371C19.4055 19.1281 19.3502 19.2109 19.2806 19.2806C19.2109 19.3502 19.1281 19.4055 19.0371 19.4432C18.9461 19.4809 18.8485 19.5003 18.7499 19.5003C18.6514 19.5003 18.5538 19.4809 18.4628 19.4432C18.3717 19.4055 18.289 19.3502 18.2193 19.2806L11.9999 13.0602L5.78055 19.2806C5.63982 19.4213 5.44895 19.5003 5.24993 19.5003C5.05091 19.5003 4.86003 19.4213 4.7193 19.2806C4.57857 19.1398 4.49951 18.949 4.49951 18.7499C4.49951 18.5509 4.57857 18.36 4.7193 18.2193L10.9396 11.9999L4.7193 5.78055C4.57857 5.63982 4.49951 5.44895 4.49951 5.24993C4.49951 5.05091 4.57857 4.86003 4.7193 4.7193C4.86003 4.57857 5.05091 4.49951 5.24993 4.49951C5.44895 4.49951 5.63982 4.57857 5.78055 4.7193L11.9999 10.9396L18.2193 4.7193C18.36 4.57857 18.5509 4.49951 18.7499 4.49951C18.949 4.49951 19.1398 4.57857 19.2806 4.7193C19.4213 4.86003 19.5003 5.05091 19.5003 5.24993C19.5003 5.44895 19.4213 5.63982 19.2806 5.78055L13.0602 11.9999L19.2806 18.2193Z" fill="currentColor"/>\r\n</svg>\r\n';
}
return __p;
}
window.renderBlocks['blocks-icons.logo'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 144 28" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M4.2 28H0.264V0.975999H19.224V4.432H4.2V12.064H15.864V15.376H4.2V28ZM27.9724 27.136V1.84H31.9084V27.136H27.9724ZM24.2764 28V24.544H35.5564V28H24.2764ZM24.2764 4.432V0.975999H35.5564V4.432H24.2764ZM40.8052 28L50.5972 13.696L41.6692 0.975999H46.4692L53.1892 11.248L59.9572 0.975999H64.6613L55.8772 13.696L65.6692 28H60.9652L53.1892 16.288L45.4612 28H40.8052ZM70.1606 28V0.975999H88.8806V4.432H74.0966V12.64H85.6166V15.952H74.0966V24.736H89.3606V28H70.1606ZM94.8439 28V0.975999H104.3C106.604 0.975999 108.556 1.216 110.156 1.696C111.788 2.176 113.036 2.992 113.9 4.144C114.764 5.264 115.196 6.816 115.196 8.8C115.196 10.176 114.956 11.408 114.476 12.496C114.028 13.584 113.34 14.448 112.412 15.088C111.484 15.696 110.332 16 108.956 16C110.012 16 110.828 16.208 111.404 16.624C112.012 17.008 112.46 17.536 112.748 18.208C113.036 18.848 113.228 19.536 113.324 20.272C113.42 21.008 113.484 21.728 113.516 22.432C113.58 23.136 113.692 23.744 113.852 24.256C114.012 24.768 114.284 25.12 114.668 25.312C115.084 25.504 115.676 25.456 116.444 25.168V27.568C115.996 27.952 115.42 28.208 114.716 28.336C114.012 28.496 113.292 28.448 112.556 28.192C111.852 27.968 111.244 27.488 110.732 26.752C110.252 25.984 110.012 24.88 110.012 23.44C110.012 22.096 109.948 20.976 109.82 20.08C109.724 19.184 109.484 18.496 109.1 18.016C108.716 17.504 108.124 17.136 107.324 16.912C106.524 16.656 105.436 16.528 104.06 16.528C102.716 16.496 100.988 16.512 98.8759 16.576V28H94.8439ZM98.8759 13.6H104.444C106.076 13.6 107.42 13.504 108.476 13.312C109.532 13.088 110.316 12.656 110.828 12.016C111.372 11.344 111.644 10.368 111.644 9.088C111.644 7.584 111.324 6.496 110.684 5.824C110.044 5.152 109.116 4.736 107.9 4.576C106.684 4.384 105.18 4.288 103.388 4.288H98.8759V13.6ZM132.138 28.576C130.666 28.576 129.242 28.4 127.866 28.048C126.49 27.696 125.242 27.152 124.122 26.416C123.002 25.68 122.106 24.736 121.434 23.584C120.762 22.4 120.41 20.992 120.378 19.36H124.41C124.41 19.456 124.442 19.712 124.506 20.128C124.57 20.544 124.73 21.024 124.986 21.568C125.274 22.112 125.69 22.64 126.234 23.152C126.81 23.664 127.594 24.096 128.586 24.448C129.61 24.768 130.89 24.928 132.426 24.928C133.61 24.928 134.602 24.8 135.402 24.544C136.202 24.288 136.842 23.952 137.322 23.536C137.802 23.12 138.138 22.688 138.33 22.24C138.554 21.792 138.666 21.392 138.666 21.04C138.666 20.048 138.346 19.248 137.706 18.64C137.098 18.032 136.266 17.552 135.21 17.2C134.154 16.816 132.986 16.48 131.706 16.192C130.458 15.872 129.21 15.536 127.962 15.184C126.714 14.8 125.562 14.304 124.506 13.696C123.482 13.088 122.682 12.304 122.106 11.344C121.53 10.352 121.274 9.088 121.338 7.552C121.434 6.08 121.946 4.816 122.874 3.76C123.802 2.704 125.066 1.904 126.666 1.36C128.298 0.783999 130.154 0.495999 132.234 0.495999C134.122 0.495999 135.85 0.831999 137.418 1.504C139.018 2.176 140.298 3.184 141.258 4.528C142.25 5.84 142.73 7.52 142.698 9.568H138.81C138.842 8.448 138.618 7.552 138.138 6.88C137.658 6.176 137.034 5.632 136.266 5.248C135.53 4.864 134.762 4.608 133.962 4.48C133.162 4.32 132.442 4.24 131.802 4.24C130.01 4.24 128.522 4.576 127.338 5.248C126.186 5.888 125.594 6.8 125.562 7.984C125.53 9.008 125.834 9.824 126.474 10.432C127.114 11.04 127.962 11.52 129.018 11.872C130.074 12.224 131.242 12.544 132.522 12.832C133.802 13.12 135.066 13.44 136.314 13.792C137.562 14.144 138.698 14.624 139.722 15.232C140.778 15.808 141.594 16.592 142.17 17.584C142.778 18.576 143.05 19.856 142.986 21.424C142.922 22.928 142.41 24.208 141.45 25.264C140.49 26.32 139.21 27.136 137.61 27.712C136.01 28.288 134.186 28.576 132.138 28.576Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.logoTwoString'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg width="100%" height="100%" viewBox="0 0 144 28" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n    <path d="M4.2 28H0.264V0.975999H19.224V4.432H4.2V12.064H15.864V15.376H4.2V28ZM27.9724 27.136V1.84H31.9084V27.136H27.9724ZM24.2764 28V24.544H35.5564V28H24.2764ZM24.2764 4.432V0.975999H35.5564V4.432H24.2764ZM40.8052 28L50.5972 13.696L41.6692 0.975999H46.4692L53.1892 11.248L59.9572 0.975999H64.6613L55.8772 13.696L65.6692 28H60.9652L53.1892 16.288L45.4612 28H40.8052ZM70.1606 28V0.975999H88.8806V4.432H74.0966V12.64H85.6166V15.952H74.0966V24.736H89.3606V28H70.1606ZM94.8439 28V0.975999H104.3C106.604 0.975999 108.556 1.216 110.156 1.696C111.788 2.176 113.036 2.992 113.9 4.144C114.764 5.264 115.196 6.816 115.196 8.8C115.196 10.176 114.956 11.408 114.476 12.496C114.028 13.584 113.34 14.448 112.412 15.088C111.484 15.696 110.332 16 108.956 16C110.012 16 110.828 16.208 111.404 16.624C112.012 17.008 112.46 17.536 112.748 18.208C113.036 18.848 113.228 19.536 113.324 20.272C113.42 21.008 113.484 21.728 113.516 22.432C113.58 23.136 113.692 23.744 113.852 24.256C114.012 24.768 114.284 25.12 114.668 25.312C115.084 25.504 115.676 25.456 116.444 25.168V27.568C115.996 27.952 115.42 28.208 114.716 28.336C114.012 28.496 113.292 28.448 112.556 28.192C111.852 27.968 111.244 27.488 110.732 26.752C110.252 25.984 110.012 24.88 110.012 23.44C110.012 22.096 109.948 20.976 109.82 20.08C109.724 19.184 109.484 18.496 109.1 18.016C108.716 17.504 108.124 17.136 107.324 16.912C106.524 16.656 105.436 16.528 104.06 16.528C102.716 16.496 100.988 16.512 98.8759 16.576V28H94.8439ZM98.8759 13.6H104.444C106.076 13.6 107.42 13.504 108.476 13.312C109.532 13.088 110.316 12.656 110.828 12.016C111.372 11.344 111.644 10.368 111.644 9.088C111.644 7.584 111.324 6.496 110.684 5.824C110.044 5.152 109.116 4.736 107.9 4.576C106.684 4.384 105.18 4.288 103.388 4.288H98.8759V13.6ZM132.138 28.576C130.666 28.576 129.242 28.4 127.866 28.048C126.49 27.696 125.242 27.152 124.122 26.416C123.002 25.68 122.106 24.736 121.434 23.584C120.762 22.4 120.41 20.992 120.378 19.36H124.41C124.41 19.456 124.442 19.712 124.506 20.128C124.57 20.544 124.73 21.024 124.986 21.568C125.274 22.112 125.69 22.64 126.234 23.152C126.81 23.664 127.594 24.096 128.586 24.448C129.61 24.768 130.89 24.928 132.426 24.928C133.61 24.928 134.602 24.8 135.402 24.544C136.202 24.288 136.842 23.952 137.322 23.536C137.802 23.12 138.138 22.688 138.33 22.24C138.554 21.792 138.666 21.392 138.666 21.04C138.666 20.048 138.346 19.248 137.706 18.64C137.098 18.032 136.266 17.552 135.21 17.2C134.154 16.816 132.986 16.48 131.706 16.192C130.458 15.872 129.21 15.536 127.962 15.184C126.714 14.8 125.562 14.304 124.506 13.696C123.482 13.088 122.682 12.304 122.106 11.344C121.53 10.352 121.274 9.088 121.338 7.552C121.434 6.08 121.946 4.816 122.874 3.76C123.802 2.704 125.066 1.904 126.666 1.36C128.298 0.783999 130.154 0.495999 132.234 0.495999C134.122 0.495999 135.85 0.831999 137.418 1.504C139.018 2.176 140.298 3.184 141.258 4.528C142.25 5.84 142.73 7.52 142.698 9.568H138.81C138.842 8.448 138.618 7.552 138.138 6.88C137.658 6.176 137.034 5.632 136.266 5.248C135.53 4.864 134.762 4.608 133.962 4.48C133.162 4.32 132.442 4.24 131.802 4.24C130.01 4.24 128.522 4.576 127.338 5.248C126.186 5.888 125.594 6.8 125.562 7.984C125.53 9.008 125.834 9.824 126.474 10.432C127.114 11.04 127.962 11.52 129.018 11.872C130.074 12.224 131.242 12.544 132.522 12.832C133.802 13.12 135.066 13.44 136.314 13.792C137.562 14.144 138.698 14.624 139.722 15.232C140.778 15.808 141.594 16.592 142.17 17.584C142.778 18.576 143.05 19.856 142.986 21.424C142.922 22.928 142.41 24.208 141.45 25.264C140.49 26.32 139.21 27.136 137.61 27.712C136.01 28.288 134.186 28.576 132.138 28.576Z" fill="currentColor"/>\r\n</svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.AirplaneTakeoff'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"><rect width="256" height="256" fill="none"/><line x1="24" y1="216" x2="168" y2="216" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><path d="M88,116.51,58.65,88a8,8,0,0,1,2.2-13.3L68,72l57.53,21.17,54.84-32.75a32,32,0,0,1,41,7.32L240,91.64l-147.41,88a32,32,0,0,1-38-4.32L18.53,140a8,8,0,0,1,2.32-13.19L24,125.27,55.79,136Z" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.ArrowDown'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M205.66,149.66l-72,72a8,8,0,0,1-11.32,0l-72-72a8,8,0,0,1,11.32-11.32L120,196.69V40a8,8,0,0,1,16,0V196.69l58.34-58.35a8,8,0,0,1,11.32,11.32Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.ArrowsOutLineVertical'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM101.66,53.66,120,35.31V96a8,8,0,0,0,16,0V35.31l18.34,18.35a8,8,0,0,0,11.32-11.32l-32-32a8,8,0,0,0-11.32,0l-32,32a8,8,0,0,0,11.32,11.32Zm52.68,148.68L136,220.69V160a8,8,0,0,0-16,0v60.69l-18.34-18.35a8,8,0,0,0-11.32,11.32l32,32a8,8,0,0,0,11.32,0l32-32a8,8,0,0,0-11.32-11.32Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.ArrowSquareOut'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M224,104a8,8,0,0,1-16,0V59.32l-66.33,66.34a8,8,0,0,1-11.32-11.32L196.68,48H152a8,8,0,0,1,0-16h64a8,8,0,0,1,8,8Zm-40,24a8,8,0,0,0-8,8v72H48V80h72a8,8,0,0,0,0-16H48A16,16,0,0,0,32,80V208a16,16,0,0,0,16,16H176a16,16,0,0,0,16-16V136A8,8,0,0,0,184,128Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.ArrowUp'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M205.66,117.66a8,8,0,0,1-11.32,0L136,59.31V216a8,8,0,0,1-16,0V59.31L61.66,117.66a8,8,0,0,1-11.32-11.32l72-72a8,8,0,0,1,11.32,0l72,72A8,8,0,0,1,205.66,117.66Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.Article'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,160H40V56H216V200ZM184,96a8,8,0,0,1-8,8H80a8,8,0,0,1,0-16h96A8,8,0,0,1,184,96Zm0,32a8,8,0,0,1-8,8H80a8,8,0,0,1,0-16h96A8,8,0,0,1,184,128Zm0,32a8,8,0,0,1-8,8H80a8,8,0,0,1,0-16h96A8,8,0,0,1,184,160Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.Briefcase'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M216,56H176V48a24,24,0,0,0-24-24H104A24,24,0,0,0,80,48v8H40A16,16,0,0,0,24,72V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V72A16,16,0,0,0,216,56ZM96,48a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96ZM216,72v41.61A184,184,0,0,1,128,136a184.07,184.07,0,0,1-88-22.38V72Zm0,128H40V131.64A200.19,200.19,0,0,0,128,152a200.25,200.25,0,0,0,88-20.37V200ZM104,112a8,8,0,0,1,8-8h32a8,8,0,0,1,0,16H112A8,8,0,0,1,104,112Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.BuildingOffice'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M248,208H232V96a8,8,0,0,0,0-16H184V48a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16V208H24a8,8,0,0,0,0,16H248a8,8,0,0,0,0-16ZM216,96V208H184V96ZM56,48H168V208H144V160a8,8,0,0,0-8-8H88a8,8,0,0,0-8,8v48H56Zm72,160H96V168h32ZM72,80a8,8,0,0,1,8-8H96a8,8,0,0,1,0,16H80A8,8,0,0,1,72,80Zm48,0a8,8,0,0,1,8-8h16a8,8,0,0,1,0,16H128A8,8,0,0,1,120,80ZM72,120a8,8,0,0,1,8-8H96a8,8,0,0,1,0,16H80A8,8,0,0,1,72,120Zm48,0a8,8,0,0,1,8-8h16a8,8,0,0,1,0,16H128A8,8,0,0,1,120,120Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.Calculator'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M80,120h96a8,8,0,0,0,8-8V64a8,8,0,0,0-8-8H80a8,8,0,0,0-8,8v48A8,8,0,0,0,80,120Zm8-48h80v32H88ZM200,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V40A16,16,0,0,0,200,24Zm0,192H56V40H200ZM100,148a12,12,0,1,1-12-12A12,12,0,0,1,100,148Zm40,0a12,12,0,1,1-12-12A12,12,0,0,1,140,148Zm40,0a12,12,0,1,1-12-12A12,12,0,0,1,180,148Zm-80,40a12,12,0,1,1-12-12A12,12,0,0,1,100,188Zm40,0a12,12,0,1,1-12-12A12,12,0,0,1,140,188Zm40,0a12,12,0,1,1-12-12A12,12,0,0,1,180,188Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.CalendarBlank'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM72,48v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80H48V48ZM208,208H48V96H208V208Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.CallBell'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M24,184H232a8,8,0,0,0,0-16h-8V152a96.12,96.12,0,0,0-88-95.66V40h16a8,8,0,0,0,0-16H104a8,8,0,0,0,0,16h16V56.34A96.12,96.12,0,0,0,32,152v16H24a8,8,0,0,0,0,16Zm24-32a80,80,0,0,1,160,0v16H48Zm192,56a8,8,0,0,1-8,8H24a8,8,0,0,1,0-16H232A8,8,0,0,1,240,208Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.CaretDown'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.CaretLeft'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M165.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L91.31,128Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.CaretRight'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.Champagne'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M184,20a12,12,0,1,1,12,12A12,12,0,0,1,184,20ZM164.12,73.23c7.26,44.25,4.35,75.76-8.66,93.66A39.94,39.94,0,0,1,128,183.42V232h16a8,8,0,0,1,0,16H96a8,8,0,0,1,0-16h16V183.42a40,40,0,0,1-27.46-16.53c-13-17.9-15.91-49.41-8.65-93.66A451,451,0,0,1,90.1,13.53,8,8,0,0,1,97.71,8H142.3a8,8,0,0,1,7.61,5.53A451,451,0,0,1,164.12,73.23ZM93.8,64h52.4c-3-15.58-6.72-29.81-9.78-40H103.59C100.53,34.19,96.83,48.42,93.8,64ZM149,80H91c-4.49,30-5.14,61.54,6.45,77.49C102.63,164.56,110,168,120,168s17.38-3.44,22.52-10.51C154.1,141.54,153.46,110,149,80Zm71-40a12,12,0,1,0,12,12A12,12,0,0,0,220,40ZM196,88a12,12,0,1,0,12,12A12,12,0,0,0,196,88Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.ChartLine'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M232,208a8,8,0,0,1-8,8H32a8,8,0,0,1-8-8V48a8,8,0,0,1,16,0v94.37L90.73,98a8,8,0,0,1,10.07-.38l58.81,44.11L218.73,90a8,8,0,1,1,10.54,12l-64,56a8,8,0,0,1-10.07.38L96.39,114.29,40,163.63V200H224A8,8,0,0,1,232,208Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.Chats'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M216,80H184V48a16,16,0,0,0-16-16H40A16,16,0,0,0,24,48V176a8,8,0,0,0,13,6.22L72,154V184a16,16,0,0,0,16,16h93.59L219,230.22a8,8,0,0,0,5,1.78,8,8,0,0,0,8-8V96A16,16,0,0,0,216,80ZM66.55,137.78,40,159.25V48H168v88H71.58A8,8,0,0,0,66.55,137.78ZM216,207.25l-26.55-21.47a8,8,0,0,0-5-1.78H88V152h80a16,16,0,0,0,16-16V96h32Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.ChatsTeardrop'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M169.57,72.59A80,80,0,0,0,16,104v64a16,16,0,0,0,16,16H86.67A80.15,80.15,0,0,0,160,232h64a16,16,0,0,0,16-16V152A80,80,0,0,0,169.57,72.59ZM32,104a64,64,0,1,1,64,64H32ZM224,216H160a64.14,64.14,0,0,1-55.68-32.43A79.93,79.93,0,0,0,174.7,89.71,64,64,0,0,1,224,152Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.Check'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.Checks'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M149.61,85.71l-89.6,88a8,8,0,0,1-11.22,0L10.39,136a8,8,0,1,1,11.22-11.41L54.4,156.79l84-82.5a8,8,0,1,1,11.22,11.42Zm96.1-11.32a8,8,0,0,0-11.32-.1l-84,82.5-18.83-18.5a8,8,0,0,0-11.21,11.42l24.43,24a8,8,0,0,0,11.22,0l89.6-88A8,8,0,0,0,245.71,74.39Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.ChefHat'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"><rect width="256" height="256" fill="none"/><line x1="96" y1="160" x2="88" y2="128" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><line x1="160" y1="160" x2="168" y2="128" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><line x1="128" y1="160" x2="128" y2="128" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><path d="M173.65,65.12A48,48,0,1,1,184,160H72A48,48,0,1,1,82.35,65.12" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><path d="M80,80a48,48,0,0,1,96,0" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><path d="M200,157.27V208a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V157.27" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.CircleNotch'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M232,128a104,104,0,0,1-208,0c0-41,23.81-78.36,60.66-95.27a8,8,0,0,1,6.68,14.54C60.15,61.59,40,93.27,40,128a88,88,0,0,0,176,0c0-34.73-20.15-66.41-51.34-80.73a8,8,0,0,1,6.68-14.54C208.19,49.64,232,87,232,128Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.Clock'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm64-88a8,8,0,0,1-8,8H128a8,8,0,0,1-8-8V72a8,8,0,0,1,16,0v48h48A8,8,0,0,1,192,128Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.Copy'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.DotsSixVertical'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M104,60A12,12,0,1,1,92,48,12,12,0,0,1,104,60Zm60,12a12,12,0,1,0-12-12A12,12,0,0,0,164,72ZM92,116a12,12,0,1,0,12,12A12,12,0,0,0,92,116Zm72,0a12,12,0,1,0,12,12A12,12,0,0,0,164,116ZM92,184a12,12,0,1,0,12,12A12,12,0,0,0,92,184Zm72,0a12,12,0,1,0,12,12A12,12,0,0,0,164,184Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.Eye (1)'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"><rect width="256" height="256" fill="none"/><path d="M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Z" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><circle cx="128" cy="128" r="40" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.Eye'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.EyeClosed'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M228,175a8,8,0,0,1-10.92-3l-19-33.2A123.23,123.23,0,0,1,162,155.46l5.87,35.22a8,8,0,0,1-6.58,9.21A8.4,8.4,0,0,1,160,200a8,8,0,0,1-7.88-6.69l-5.77-34.58a133.06,133.06,0,0,1-36.68,0l-5.77,34.58A8,8,0,0,1,96,200a8.4,8.4,0,0,1-1.32-.11,8,8,0,0,1-6.58-9.21L94,155.46a123.23,123.23,0,0,1-36.06-16.69L39,172A8,8,0,1,1,25.06,164l20-35a153.47,153.47,0,0,1-19.3-20A8,8,0,1,1,38.22,99c16.6,20.54,45.64,45,89.78,45s73.18-24.49,89.78-45A8,8,0,1,1,230.22,109a153.47,153.47,0,0,1-19.3,20l20,35A8,8,0,0,1,228,175Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.FaceMask'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"><rect width="256" height="256" fill="none"/><path d="M40,77.09a8,8,0,0,1,5.27-7.52l80-29.09a8,8,0,0,1,5.46,0l80,29.09A8,8,0,0,1,216,77.09V136c0,56-88,72-88,72s-88-16-88-72Z" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><line x1="88" y1="104" x2="168" y2="104" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><line x1="88" y1="136" x2="168" y2="136" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><path d="M213.41,152H224a24,24,0,0,0,24-24V104a24,24,0,0,0-24-24h-8" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><path d="M42.59,152H32A24,24,0,0,1,8,128V104A24,24,0,0,1,32,80h8" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.File'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.FileDoc'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M52,144H36a8,8,0,0,0-8,8v56a8,8,0,0,0,8,8H52a36,36,0,0,0,0-72Zm0,56H44V160h8a20,20,0,0,1,0,40Zm169.53-4.91a8,8,0,0,1,.25,11.31A30.06,30.06,0,0,1,200,216c-17.65,0-32-16.15-32-36s14.35-36,32-36a30.06,30.06,0,0,1,21.78,9.6,8,8,0,0,1-11.56,11.06A14.24,14.24,0,0,0,200,160c-8.82,0-16,9-16,20s7.18,20,16,20a14.24,14.24,0,0,0,10.22-4.66A8,8,0,0,1,221.53,195.09ZM128,144c-17.65,0-32,16.15-32,36s14.35,36,32,36,32-16.15,32-36S145.65,144,128,144Zm0,56c-8.82,0-16-9-16-20s7.18-20,16-20,16,9,16,20S136.82,200,128,200ZM48,120a8,8,0,0,0,8-8V40h88V88a8,8,0,0,0,8,8h48v16a8,8,0,0,0,16,0V88a8,8,0,0,0-2.34-5.66l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72A8,8,0,0,0,48,120ZM160,51.31,188.69,80H160Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.FilePdf'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M224,152a8,8,0,0,1-8,8H192v16h16a8,8,0,0,1,0,16H192v16a8,8,0,0,1-16,0V152a8,8,0,0,1,8-8h32A8,8,0,0,1,224,152ZM92,172a28,28,0,0,1-28,28H56v8a8,8,0,0,1-16,0V152a8,8,0,0,1,8-8H64A28,28,0,0,1,92,172Zm-16,0a12,12,0,0,0-12-12H56v24h8A12,12,0,0,0,76,172Zm88,8a36,36,0,0,1-36,36H112a8,8,0,0,1-8-8V152a8,8,0,0,1,8-8h16A36,36,0,0,1,164,180Zm-16,0a20,20,0,0,0-20-20h-8v40h8A20,20,0,0,0,148,180ZM40,112V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88v24a8,8,0,0,1-16,0V96H152a8,8,0,0,1-8-8V40H56v72a8,8,0,0,1-16,0ZM160,80h28.69L160,51.31Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.FlowerTulip'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"><rect width="256" height="256" fill="none"/><line x1="128" y1="232" x2="128" y2="176" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><path d="M48,56h0a80,80,0,0,1,80,80v40a0,0,0,0,1,0,0h0A80,80,0,0,1,48,96V56A0,0,0,0,1,48,56Z" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><path d="M208,56h0a0,0,0,0,1,0,0V96a80,80,0,0,1-80,80h0a0,0,0,0,1,0,0V136a80,80,0,0,1,80-80Z" transform="translate(336 232) rotate(180)" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><polyline points="80 208 128 232 176 208" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><path d="M86.77,66C100,38,128,24,128,24s28,14,41.23,42" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.Folders'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M224,64H154.67L126.93,43.2a16.12,16.12,0,0,0-9.6-3.2H72A16,16,0,0,0,56,56V72H40A16,16,0,0,0,24,88V200a16,16,0,0,0,16,16H192.89A15.13,15.13,0,0,0,208,200.89V184h16.89A15.13,15.13,0,0,0,240,168.89V80A16,16,0,0,0,224,64ZM192,200H40V88H85.33l29.87,22.4A8,8,0,0,0,120,112h72Zm32-32H208V112a16,16,0,0,0-16-16H122.67L94.93,75.2a16.12,16.12,0,0,0-9.6-3.2H72V56h45.33L147.2,78.4A8,8,0,0,0,152,80h72Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.FolderSimpleDashed'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M24,80V64A16,16,0,0,1,40,48H93.33a16.12,16.12,0,0,1,9.6,3.2L132.8,73.6a8,8,0,1,1-9.6,12.8L93.33,64H40V80a8,8,0,0,1-16,0ZM88,200H40v-8a8,8,0,0,0-16,0v8.62A15.4,15.4,0,0,0,39.38,216H88a8,8,0,0,0,0-16Zm72,0H128a8,8,0,0,0,0,16h32a8,8,0,0,0,0-16Zm64-56a8,8,0,0,0-8,8v48H200a8,8,0,0,0,0,16h16.89A15.13,15.13,0,0,0,232,200.89V152A8,8,0,0,0,224,144Zm-8-72H168a8,8,0,0,0,0,16h48v24a8,8,0,0,0,16,0V88A16,16,0,0,0,216,72ZM32,160a8,8,0,0,0,8-8V120a8,8,0,0,0-16,0v32A8,8,0,0,0,32,160Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.FunnelSimple'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M200,136a8,8,0,0,1-8,8H64a8,8,0,0,1,0-16H192A8,8,0,0,1,200,136Zm32-56H24a8,8,0,0,0,0,16H232a8,8,0,0,0,0-16Zm-80,96H104a8,8,0,0,0,0,16h48a8,8,0,0,0,0-16Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.Gift'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"><rect width="256" height="256" fill="none"/><rect x="32" y="80" width="192" height="48" rx="8" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><path d="M208,128v72a8,8,0,0,1-8,8H56a8,8,0,0,1-8-8V128" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><line x1="128" y1="80" x2="128" y2="208" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><path d="M176.79,31.21c9.34,9.34,9.89,25.06,0,33.82C159.88,80,128,80,128,80s0-31.88,15-48.79C151.73,21.32,167.45,21.87,176.79,31.21Z" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><path d="M79.21,31.21c-9.34,9.34-9.89,25.06,0,33.82C96.12,80,128,80,128,80s0-31.88-15-48.79C104.27,21.32,88.55,21.87,79.21,31.21Z" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.Guitar'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"><rect width="256" height="256" fill="none"/><line x1="204" y1="12" x2="244" y2="52" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><line x1="176" y1="56" x2="200" y2="80" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><path d="M60.07,112a16.23,16.23,0,0,0,14.72-10A34.21,34.21,0,0,1,82.4,90.4c17.23-17.23,49.82-12.57,72.8,10.4s27.63,55.57,10.4,72.8a34.21,34.21,0,0,1-11.66,7.61,16.23,16.23,0,0,0-10,14.72C143.56,208,139.39,219,131.2,227.2,110,248.4,69.88,242.67,41.6,214.4S7.6,146,28.8,124.8C37,116.61,48,112.44,60.07,112Z" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><line x1="56" y1="168" x2="88" y2="200" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><circle cx="112" cy="144" r="24" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><line x1="112" y1="120" x2="212" y2="20" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><line x1="136" y1="144" x2="236" y2="44" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.Handshake'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"><rect width="256" height="256" fill="none"/><polyline points="200 152 160 192 96 176 40 136" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><polyline points="72.68 70.63 128 56 183.32 70.63" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><path d="M34.37,60.42,8.85,111.48a8,8,0,0,0,3.57,10.73L40,136,72.68,70.63,45.11,56.85A8,8,0,0,0,34.37,60.42Z" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><path d="M216,136l27.58-13.79a8,8,0,0,0,3.57-10.73L221.63,60.42a8,8,0,0,0-10.74-3.57L183.32,70.63Z" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><path d="M184,72H144L98.34,116.29a8,8,0,0,0,1.38,12.42C117.23,139.9,141,139.13,160,120l40,32,16-16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><polyline points="124.06 216 82.34 205.57 56 186.75" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.HardDrives'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M208,136H48a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V152A16,16,0,0,0,208,136Zm0,64H48V152H208v48Zm0-160H48A16,16,0,0,0,32,56v48a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V56A16,16,0,0,0,208,40Zm0,64H48V56H208v48ZM192,80a12,12,0,1,1-12-12A12,12,0,0,1,192,80Zm0,96a12,12,0,1,1-12-12A12,12,0,0,1,192,176Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.Headset'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M201.89,54.66A103.43,103.43,0,0,0,128.79,24H128A104,104,0,0,0,24,128v56a24,24,0,0,0,24,24H64a24,24,0,0,0,24-24V144a24,24,0,0,0-24-24H40.36A88.12,88.12,0,0,1,190.54,65.93,87.39,87.39,0,0,1,215.65,120H192a24,24,0,0,0-24,24v40a24,24,0,0,0,24,24h24a24,24,0,0,1-24,24H136a8,8,0,0,0,0,16h56a40,40,0,0,0,40-40V128A103.41,103.41,0,0,0,201.89,54.66ZM64,136a8,8,0,0,1,8,8v40a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V136Zm128,56a8,8,0,0,1-8-8V144a8,8,0,0,1,8-8h24v56Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.Heart'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"><rect width="256" height="256" fill="none"/><path d="M128,224S24,168,24,102A54,54,0,0,1,78,48c22.59,0,41.94,12.31,50,32,8.06-19.69,27.41-32,50-32a54,54,0,0,1,54,54C232,168,128,224,128,224Z" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.Image'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,16V158.75l-26.07-26.06a16,16,0,0,0-22.63,0l-20,20-44-44a16,16,0,0,0-22.62,0L40,149.37V56ZM40,172l52-52,80,80H40Zm176,28H194.63l-36-36,20-20L216,181.38V200ZM144,100a12,12,0,1,1,12,12A12,12,0,0,1,144,100Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.Link'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M240,88.23a54.43,54.43,0,0,1-16,37L189.25,160a54.27,54.27,0,0,1-38.63,16h-.05A54.63,54.63,0,0,1,96,119.84a8,8,0,0,1,16,.45A38.62,38.62,0,0,0,150.58,160h0a38.39,38.39,0,0,0,27.31-11.31l34.75-34.75a38.63,38.63,0,0,0-54.63-54.63l-11,11A8,8,0,0,1,135.7,59l11-11A54.65,54.65,0,0,1,224,48,54.86,54.86,0,0,1,240,88.23ZM109,185.66l-11,11A38.41,38.41,0,0,1,70.6,208h0a38.63,38.63,0,0,1-27.29-65.94L78,107.31A38.63,38.63,0,0,1,144,135.71a8,8,0,0,0,16,.45A54.86,54.86,0,0,0,144,96a54.65,54.65,0,0,0-77.27,0L32,130.75A54.62,54.62,0,0,0,70.56,224h0a54.28,54.28,0,0,0,38.64-16l11-11A8,8,0,0,0,109,185.66Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.List'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16ZM216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.LockSimple'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M208,80H176V56a48,48,0,0,0-96,0V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80ZM96,56a32,32,0,0,1,64,0V80H96ZM208,208H48V96H208V208Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.MagnifyingGlass'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M229.66,218.34l-50.07-50.06a88.11,88.11,0,1,0-11.31,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.MapPin'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M128,64a40,40,0,1,0,40,40A40,40,0,0,0,128,64Zm0,64a24,24,0,1,1,24-24A24,24,0,0,1,128,128Zm0-112a88.1,88.1,0,0,0-88,88c0,31.4,14.51,64.68,42,96.25a254.19,254.19,0,0,0,41.45,38.3,8,8,0,0,0,9.18,0A254.19,254.19,0,0,0,174,200.25c27.45-31.57,42-64.85,42-96.25A88.1,88.1,0,0,0,128,16Zm0,206c-16.53-13-72-60.75-72-118a72,72,0,0,1,144,0C200,161.23,144.53,209,128,222Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.Minus'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.Moon'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M233.54,142.23a8,8,0,0,0-8-2,88.08,88.08,0,0,1-109.8-109.8,8,8,0,0,0-10-10,104.84,104.84,0,0,0-52.91,37A104,104,0,0,0,136,224a103.09,103.09,0,0,0,62.52-20.88,104.84,104.84,0,0,0,37-52.91A8,8,0,0,0,233.54,142.23ZM188.9,190.34A88,88,0,0,1,65.66,67.11a89,89,0,0,1,31.4-26A106,106,0,0,0,96,56,104.11,104.11,0,0,0,200,160a106,106,0,0,0,14.92-1.06A89,89,0,0,1,188.9,190.34Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.Newspaper'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M88,112a8,8,0,0,1,8-8h80a8,8,0,0,1,0,16H96A8,8,0,0,1,88,112Zm8,40h80a8,8,0,0,0,0-16H96a8,8,0,0,0,0,16ZM232,64V184a24,24,0,0,1-24,24H32A24,24,0,0,1,8,184.11V88a8,8,0,0,1,16,0v96a8,8,0,0,0,16,0V64A16,16,0,0,1,56,48H216A16,16,0,0,1,232,64Zm-16,0H56V184a23.84,23.84,0,0,1-1.37,8H208a8,8,0,0,0,8-8Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.NoteBlank'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"><rect width="256" height="256" fill="none"/><path d="M156.69,216H48a8,8,0,0,1-8-8V48a8,8,0,0,1,8-8H208a8,8,0,0,1,8,8V156.69a8,8,0,0,1-2.34,5.65l-51.32,51.32A8,8,0,0,1,156.69,216Z" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><polyline points="215.28 159.99 160 159.99 160 215.27" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.Package (1)'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"><rect width="256" height="256" fill="none"/><line x1="128" y1="129.09" x2="128" y2="231.97" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><polyline points="32.7 76.92 128 129.08 223.3 76.92" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><path d="M219.84,182.84l-88,48.18a8,8,0,0,1-7.68,0l-88-48.18a8,8,0,0,1-4.16-7V80.18a8,8,0,0,1,4.16-7l88-48.18a8,8,0,0,1,7.68,0l88,48.18a8,8,0,0,1,4.16,7v95.64A8,8,0,0,1,219.84,182.84Z" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><polyline points="81.56 48.31 176 100 176 152" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.Package'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M223.68,66.15,135.68,18a15.88,15.88,0,0,0-15.36,0l-88,48.17a16,16,0,0,0-8.32,14v95.64a16,16,0,0,0,8.32,14l88,48.17a15.88,15.88,0,0,0,15.36,0l88-48.17a16,16,0,0,0,8.32-14V80.18A16,16,0,0,0,223.68,66.15ZM128,32l80.34,44-29.77,16.3-80.35-44ZM128,120,47.66,76l33.9-18.56,80.34,44ZM40,90l80,43.78v85.79L40,175.82Zm176,85.78h0l-80,43.79V133.82l32-17.51V152a8,8,0,0,0,16,0V107.55L216,90v85.77Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.Paperclip'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M209.66,122.34a8,8,0,0,1,0,11.32l-82.05,82a56,56,0,0,1-79.2-79.21L147.67,35.73a40,40,0,1,1,56.61,56.55L105,193A24,24,0,1,1,71,159L154.3,74.38A8,8,0,1,1,165.7,85.6L82.39,170.31a8,8,0,1,0,11.27,11.36L192.93,81A24,24,0,1,0,159,47L59.76,147.68a40,40,0,1,0,56.53,56.62l82.06-82A8,8,0,0,1,209.66,122.34Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.Pen'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M227.32,73.37,182.63,28.69a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31l83.67-83.66,3.48,13.9-36.8,36.79a8,8,0,0,0,11.31,11.32l40-40a8,8,0,0,0,2.11-7.6l-6.9-27.61L227.32,96A16,16,0,0,0,227.32,73.37ZM48,179.31,76.69,208H48Zm48,25.38L51.31,160,136,75.31,180.69,120Zm96-96L147.32,64l24-24L216,84.69Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.Plus'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.PresentationChart'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M216,40H136V24a8,8,0,0,0-16,0V40H40A16,16,0,0,0,24,56V176a16,16,0,0,0,16,16H79.36L57.75,219a8,8,0,0,0,12.5,10l29.59-37h56.32l29.59,37a8,8,0,1,0,12.5-10l-21.61-27H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,136H40V56H216V176ZM104,120v24a8,8,0,0,1-16,0V120a8,8,0,0,1,16,0Zm32-16v40a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm32-16v56a8,8,0,0,1-16,0V88a8,8,0,0,1,16,0Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.Printer'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M214.67,72H200V40a8,8,0,0,0-8-8H64a8,8,0,0,0-8,8V72H41.33C27.36,72,16,82.77,16,96v80a8,8,0,0,0,8,8H56v32a8,8,0,0,0,8,8H192a8,8,0,0,0,8-8V184h32a8,8,0,0,0,8-8V96C240,82.77,228.64,72,214.67,72ZM72,48H184V72H72ZM184,208H72V160H184Zm40-40H200V152a8,8,0,0,0-8-8H64a8,8,0,0,0-8,8v16H32V96c0-4.41,4.19-8,9.33-8H214.67c5.14,0,9.33,3.59,9.33,8Zm-24-52a12,12,0,1,1-12-12A12,12,0,0,1,200,116Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.Pulse'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M240,128a8,8,0,0,1-8,8H204.94l-37.78,75.58A8,8,0,0,1,160,216h-.4a8,8,0,0,1-7.08-5.14L95.35,60.76,63.28,131.31A8,8,0,0,1,56,136H24a8,8,0,0,1,0-16H50.85L88.72,36.69a8,8,0,0,1,14.76.46l57.51,151,31.85-63.71A8,8,0,0,1,200,120h32A8,8,0,0,1,240,128Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.Scroll'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M96,104a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H104A8,8,0,0,1,96,104Zm8,40h64a8,8,0,0,0,0-16H104a8,8,0,0,0,0,16Zm128,48a32,32,0,0,1-32,32H88a32,32,0,0,1-32-32V64a16,16,0,0,0-32,0c0,5.74,4.83,9.62,4.88,9.66h0A8,8,0,0,1,24,88a7.89,7.89,0,0,1-4.79-1.61h0C18.05,85.54,8,77.61,8,64A32,32,0,0,1,40,32H176a32,32,0,0,1,32,32V168h8a8,8,0,0,1,4.8,1.6C222,170.46,232,178.39,232,192ZM96.26,173.48A8.07,8.07,0,0,1,104,168h88V64a16,16,0,0,0-16-16H67.69A31.71,31.71,0,0,1,72,64V192a16,16,0,0,0,32,0c0-5.74-4.83-9.62-4.88-9.66A7.82,7.82,0,0,1,96.26,173.48ZM216,192a12.58,12.58,0,0,0-3.23-8h-94a26.92,26.92,0,0,1,1.21,8,31.82,31.82,0,0,1-4.29,16H200A16,16,0,0,0,216,192Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.SignOut'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M120,216a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V40a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H56V208h56A8,8,0,0,1,120,216Zm109.66-93.66-40-40a8,8,0,0,0-11.32,11.32L204.69,120H112a8,8,0,0,0,0,16h92.69l-26.35,26.34a8,8,0,0,0,11.32,11.32l40-40A8,8,0,0,0,229.66,122.34Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.SlidersHorizontal'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M40,88H73a32,32,0,0,0,62,0h81a8,8,0,0,0,0-16H135a32,32,0,0,0-62,0H40a8,8,0,0,0,0,16Zm64-24A16,16,0,1,1,88,80,16,16,0,0,1,104,64ZM216,168H199a32,32,0,0,0-62,0H40a8,8,0,0,0,0,16h97a32,32,0,0,0,62,0h17a8,8,0,0,0,0-16Zm-48,24a16,16,0,1,1,16-16A16,16,0,0,1,168,192Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.SquaresFour'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M104,40H56A16,16,0,0,0,40,56v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,104,40Zm0,64H56V56h48v48Zm96-64H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm0,64H152V56h48v48Zm-96,32H56a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,104,136Zm0,64H56V152h48v48Zm96-64H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,200,136Zm0,64H152V152h48v48Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.Star'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M239.18,97.26A16.38,16.38,0,0,0,224.92,86l-59-4.76L143.14,26.15a16.36,16.36,0,0,0-30.27,0L90.11,81.23,31.08,86a16.46,16.46,0,0,0-9.37,28.86l45,38.83L53,211.75a16.38,16.38,0,0,0,24.5,17.82L128,198.49l50.53,31.08A16.4,16.4,0,0,0,203,211.75l-13.76-58.07,45-38.83A16.43,16.43,0,0,0,239.18,97.26Zm-15.34,5.47-48.7,42a8,8,0,0,0-2.56,7.91l14.88,62.8a.37.37,0,0,1-.17.48c-.18.14-.23.11-.38,0l-54.72-33.65a8,8,0,0,0-8.38,0L69.09,215.94c-.15.09-.19.12-.38,0a.37.37,0,0,1-.17-.48l14.88-62.8a8,8,0,0,0-2.56-7.91l-48.7-42c-.12-.1-.23-.19-.13-.5s.18-.27.33-.29l63.92-5.16A8,8,0,0,0,103,91.86l24.62-59.61c.08-.17.11-.25.35-.25s.27.08.35.25L153,91.86a8,8,0,0,0,6.75,4.92l63.92,5.16c.15,0,.24,0,.33.29S224,102.63,223.84,102.73Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.StarFill'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M234.29,114.85l-45,38.83L203,211.75a16.4,16.4,0,0,1-24.5,17.82L128,198.49,77.47,229.57A16.4,16.4,0,0,1,53,211.75l13.76-58.07-45-38.83A16.46,16.46,0,0,1,31.08,86l59-4.76,22.76-55.08a16.36,16.36,0,0,1,30.27,0l22.75,55.08,59,4.76a16.46,16.46,0,0,1,9.37,28.86Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.SunDim'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M120,40V32a8,8,0,0,1,16,0v8a8,8,0,0,1-16,0Zm72,88a64,64,0,1,1-64-64A64.07,64.07,0,0,1,192,128Zm-16,0a48,48,0,1,0-48,48A48.05,48.05,0,0,0,176,128ZM58.34,69.66A8,8,0,0,0,69.66,58.34l-8-8A8,8,0,0,0,50.34,61.66Zm0,116.68-8,8a8,8,0,0,0,11.32,11.32l8-8a8,8,0,0,0-11.32-11.32ZM192,72a8,8,0,0,0,5.66-2.34l8-8a8,8,0,0,0-11.32-11.32l-8,8A8,8,0,0,0,192,72Zm5.66,114.34a8,8,0,0,0-11.32,11.32l8,8a8,8,0,0,0,11.32-11.32ZM40,120H32a8,8,0,0,0,0,16h8a8,8,0,0,0,0-16Zm88,88a8,8,0,0,0-8,8v8a8,8,0,0,0,16,0v-8A8,8,0,0,0,128,208Zm96-88h-8a8,8,0,0,0,0,16h8a8,8,0,0,0,0-16Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.TextAa'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M87.24,52.59a8,8,0,0,0-14.48,0l-64,136a8,8,0,1,0,14.48,6.81L39.9,160h80.2l16.66,35.4a8,8,0,1,0,14.48-6.81ZM47.43,144,80,74.79,112.57,144ZM200,96c-12.76,0-22.73,3.47-29.63,10.32a8,8,0,0,0,11.26,11.36c3.8-3.77,10-5.68,18.37-5.68,13.23,0,24,9,24,20v3.22A42.76,42.76,0,0,0,200,128c-22.06,0-40,16.15-40,36s17.94,36,40,36a42.73,42.73,0,0,0,24-7.25,8,8,0,0,0,16-.75V132C240,112.15,222.06,96,200,96Zm0,88c-13.23,0-24-9-24-20s10.77-20,24-20,24,9,24,20S213.23,184,200,184Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.TextAlignLeft'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M32,64a8,8,0,0,1,8-8H216a8,8,0,0,1,0,16H40A8,8,0,0,1,32,64Zm8,48H168a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16Zm176,24H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Zm-48,40H40a8,8,0,0,0,0,16H168a8,8,0,0,0,0-16Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.ThumbsUp'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"><rect width="256" height="256" fill="none"/><path d="M32,104H80a0,0,0,0,1,0,0V208a0,0,0,0,1,0,0H32a8,8,0,0,1-8-8V112A8,8,0,0,1,32,104Z" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><path d="M80,104l40-80a32,32,0,0,1,32,32V80h64a16,16,0,0,1,15.87,18l-12,96A16,16,0,0,1,204,208H80" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.Ticket'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"><rect width="256" height="256" fill="none"/><line x1="96" y1="56" x2="96" y2="200" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><path d="M24,160a32,32,0,0,0,0-64V64a8,8,0,0,1,8-8H224a8,8,0,0,1,8,8V96a32,32,0,0,0,0,64v32a8,8,0,0,1-8,8H32a8,8,0,0,1-8-8Z" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.Towel'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"><rect width="256" height="256" fill="none"/><path d="M216,152V48a16,16,0,0,0-16-16h0a16,16,0,0,0-16,16V216a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V48A16,16,0,0,1,72,32H200" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><line x1="56" y1="192" x2="184" y2="192" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.Trash'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.Tray'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32Zm0,16V152h-28.7A15.86,15.86,0,0,0,168,156.69L148.69,176H107.31L88,156.69A15.86,15.86,0,0,0,76.69,152H48V48Zm0,160H48V168H76.69L96,187.31A15.86,15.86,0,0,0,107.31,192h41.38A15.86,15.86,0,0,0,160,187.31L179.31,168H208v40Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.TreePalm'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"><rect width="256" height="256" fill="none"/><path d="M128,104a65.47,65.47,0,0,1,17.84-45.25,58.87,58.87,0,0,1,86.16,0Z" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><path d="M128,104.52a64.26,64.26,0,0,1,87.42,23.26A63,63,0,0,1,221.81,176Z" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><path d="M128,104a65.47,65.47,0,0,0-17.84-45.25,58.87,58.87,0,0,0-86.16,0Z" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><path d="M128,104.52a64.26,64.26,0,0,0-87.42,23.26A63,63,0,0,0,34.19,176Z" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><line x1="128" y1="104.52" x2="128" y2="224" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.User'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M230.92,212c-15.23-26.33-38.7-45.21-66.09-54.16a72,72,0,1,0-73.66,0C63.78,166.78,40.31,185.66,25.08,212a8,8,0,1,0,13.85,8c18.84-32.56,52.14-52,89.07-52s70.23,19.44,89.07,52a8,8,0,1,0,13.85-8ZM72,96a56,56,0,1,1,56,56A56.06,56.06,0,0,1,72,96Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.Users'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M117.25,157.92a60,60,0,1,0-66.5,0A95.83,95.83,0,0,0,3.53,195.63a8,8,0,1,0,13.4,8.74,80,80,0,0,1,134.14,0,8,8,0,0,0,13.4-8.74A95.83,95.83,0,0,0,117.25,157.92ZM40,108a44,44,0,1,1,44,44A44.05,44.05,0,0,1,40,108Zm210.14,98.7a8,8,0,0,1-11.07-2.33A79.83,79.83,0,0,0,172,168a8,8,0,0,1,0-16,44,44,0,1,0-16.34-84.87,8,8,0,1,1-5.94-14.85,60,60,0,0,1,55.53,105.64,95.83,95.83,0,0,1,47.22,37.71A8,8,0,0,1,250.14,206.7Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.UsersFour'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M27.2,126.4a8,8,0,0,0,11.2-1.6,52,52,0,0,1,83.2,0,8,8,0,0,0,11.2,1.59,7.73,7.73,0,0,0,1.59-1.59h0a52,52,0,0,1,83.2,0,8,8,0,0,0,12.8-9.61A67.85,67.85,0,0,0,203,93.51a40,40,0,1,0-53.94,0,67.27,67.27,0,0,0-21,14.31,67.27,67.27,0,0,0-21-14.31,40,40,0,1,0-53.94,0A67.88,67.88,0,0,0,25.6,115.2,8,8,0,0,0,27.2,126.4ZM176,40a24,24,0,1,1-24,24A24,24,0,0,1,176,40ZM80,40A24,24,0,1,1,56,64,24,24,0,0,1,80,40ZM203,197.51a40,40,0,1,0-53.94,0,67.27,67.27,0,0,0-21,14.31,67.27,67.27,0,0,0-21-14.31,40,40,0,1,0-53.94,0A67.88,67.88,0,0,0,25.6,219.2a8,8,0,1,0,12.8,9.6,52,52,0,0,1,83.2,0,8,8,0,0,0,11.2,1.59,7.73,7.73,0,0,0,1.59-1.59h0a52,52,0,0,1,83.2,0,8,8,0,0,0,12.8-9.61A67.85,67.85,0,0,0,203,197.51ZM80,144a24,24,0,1,1-24,24A24,24,0,0,1,80,144Zm96,0a24,24,0,1,1-24,24A24,24,0,0,1,176,144Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.Wallet'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M216,64H56a8,8,0,0,1,0-16H192a8,8,0,0,0,0-16H56A24,24,0,0,0,32,56V184a24,24,0,0,0,24,24H216a16,16,0,0,0,16-16V80A16,16,0,0,0,216,64Zm0,128H56a8,8,0,0,1-8-8V78.63A23.84,23.84,0,0,0,56,80H216Zm-48-60a12,12,0,1,1,12,12A12,12,0,0,1,168,132Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.Warning'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.Waves'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"><rect width="256" height="256" fill="none"/><path d="M40,185.61c72-59.69,104,56.47,176-3.22" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><path d="M40,129.61c72-59.69,104,56.47,176-3.22" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><path d="M40,73.61c72-59.69,104,56.47,176-3.22" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor.icons.X'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"/></svg>';
}
return __p;
}
window.renderBlocks['blocks-icons.phosphor'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';
}
return __p;
}
window.renderBlocks['blocks-ImageCropper'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('layout') ))==null?'':__t)+
'">\r\n    <div '+
((__t=( e.click('cancel')))==null?'':__t)+
' class="'+
((__t=( f.getClass('overlay') ))==null?'':__t)+
'"></div>\r\n    <div class="'+
((__t=( f.getClass('container') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('scrollContaner') ))==null?'':__t)+
' scrollBar">\r\n            <div class="'+
((__t=( f.getClass('header') ))==null?'':__t)+
'">\r\n                <h2 class="'+
((__t=( f.getClass('title') ))==null?'':__t)+
'">\r\n                    '+
((__t=( data.title ? data.title : 'Выберите обложку курса' ))==null?'':__t)+
'\r\n                </h2>\r\n                <button '+
((__t=( e.click('cancel')))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'cancel') ))==null?'':__t)+
'">\r\n                    <div class="'+
((__t=( f.getClass('cancel__img') ))==null?'':__t)+
'" style="width: 32px; min-width: 32px; height: 32px;">\r\n                        '+
((__t=( f.renderBlock('icons.i_x') ))==null?'':__t)+
'\r\n                    </div>\r\n                </button>\r\n            </div>\r\n            <p  class="'+
((__t=( f.getClass('text') ))==null?'':__t)+
'">\r\n                '+
((__t=( data.subtitle ? data.subtitle : 'Для обложек мы используем изображение формата 16:10, это соответствует разрешению, 1920х1200. Для наилучшего качества используйте изображение формата PNG или JPG размером от 1200х750' ))==null?'':__t)+
'\r\n            </p>\r\n            <div class="'+
((__t=( f.getClass('imgCroppermain') ))==null?'':__t)+
' imgCroppermain">\r\n                <div class="'+
((__t=( f.getClass('imgContainer') ))==null?'':__t)+
' imgCroppermainImgContainer">\r\n                    <img class="'+
((__t=( f.getClass('img') ))==null?'':__t)+
'" src=""/>\r\n                </div>\r\n                \r\n                <div class="'+
((__t=( f.getClass('actions') ))==null?'':__t)+
' imgCropperActions">\r\n                    <div class="'+
((__t=( f.getClass('imgCropperSettings') ))==null?'':__t)+
' imgCropperSettings">\r\n                        <div class="'+
((__t=( f.getClass('imgCropperColumn') ))==null?'':__t)+
' imgCropperColumn">\r\n                            <h3 class="'+
((__t=( f.getClass('subtitle') ))==null?'':__t)+
'">\r\n                                Формат\r\n                            </h3>\r\n                            <button '+
((__t=(e.click('changeAspectRatio', 16/10)))==null?'':__t)+
' class="'+
((__t=( f.getClass('btn') ))==null?'':__t)+
'">\r\n                                Оригинальный\r\n                            </button>\r\n                            <button '+
((__t=(e.click('changeAspectRatio', 0)))==null?'':__t)+
' class="'+
((__t=( f.getClass('btn') ))==null?'':__t)+
'">\r\n                                Свободный\r\n                            </button>\r\n                            <ul class="'+
((__t=( f.getClass('resetList', 'list') ))==null?'':__t)+
'">\r\n                                <li class="'+
((__t=( f.getClass('item') ))==null?'':__t)+
'">\r\n                                    <button '+
((__t=(e.click('changeAspectRatio', 16/10)))==null?'':__t)+
' class="'+
((__t=( f.getClass('btn') ))==null?'':__t)+
'">\r\n                                        16:10\r\n                                    </button>\r\n                                </li>\r\n                                <li class="'+
((__t=( f.getClass('item') ))==null?'':__t)+
'">\r\n                                    <button '+
((__t=(e.click('changeAspectRatio', 4/3)))==null?'':__t)+
' class="'+
((__t=( f.getClass('btn') ))==null?'':__t)+
'">\r\n                                        4:3\r\n                                    </button>\r\n                                </li>\r\n                                <li class="'+
((__t=( f.getClass('item') ))==null?'':__t)+
'">\r\n                                    <button  '+
((__t=(e.click('changeAspectRatio', 1/1)))==null?'':__t)+
' class="'+
((__t=( f.getClass('btn') ))==null?'':__t)+
'">\r\n                                        1:1\r\n                                    </button>\r\n                                </li>\r\n                            </ul>\r\n                        </div>\r\n                        <div class="'+
((__t=( f.getClass('imgCropperColumn') ))==null?'':__t)+
'">\r\n                            <h3 class="'+
((__t=( f.getClass('subtitle') ))==null?'':__t)+
'">\r\n                                Изменить\r\n                            </h3>\r\n                            <ul class="'+
((__t=( f.getClass('resetList', 'list') ))==null?'':__t)+
' imgCropperList">\r\n                                <li class="'+
((__t=( f.getClass('item') ))==null?'':__t)+
'">\r\n                                    <button '+
((__t=(e.click('rotate',-90)))==null?'':__t)+
' class="'+
((__t=( f.getClass('btn', 'textColordark_main_base') ))==null?'':__t)+
'">\r\n                                        <svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n                                            <path fill-rule="evenodd" clip-rule="evenodd" d="M11.9962 2.50001L12 2.5C13.9778 2.50001 15.9112 3.0865 17.5557 4.18531C19.2002 5.28412 20.4819 6.84591 21.2388 8.67317C21.9957 10.5004 22.1937 12.5111 21.8079 14.4509C21.422 16.3907 20.4696 18.1726 19.0711 19.5711C17.6725 20.9696 15.8907 21.922 13.9509 22.3079C12.0111 22.6937 10.0004 22.4957 8.17317 21.7388C6.3459 20.9819 4.78412 19.7002 3.6853 18.0557C2.58649 16.4112 2 14.4778 2 12.5C2 11.9477 2.44772 11.5 3 11.5C3.55228 11.5 4 11.9477 4 12.5C4 14.0823 4.46919 15.629 5.34824 16.9446C6.22729 18.2602 7.47672 19.2855 8.93853 19.891C10.4003 20.4965 12.0089 20.655 13.5607 20.3463C15.1126 20.0376 16.538 19.2757 17.6569 18.1569C18.7757 17.038 19.5376 15.6126 19.8463 14.0607C20.155 12.5089 19.9965 10.9003 19.391 9.43854C18.7855 7.97673 17.7602 6.7273 16.4446 5.84825C15.1295 4.96955 13.5835 4.50038 12.0019 4.50001C9.7473 4.50897 7.58329 5.38786 5.96097 6.95325L3.70711 9.20711C3.31658 9.59764 2.68342 9.59764 2.29289 9.20711C1.90237 8.81659 1.90237 8.18342 2.29289 7.7929L4.55289 5.5329L4.56496 5.52104C6.55946 3.5929 9.22213 2.51045 11.9962 2.50001Z" fill="currentColor"/>\r\n                                            <path fill-rule="evenodd" clip-rule="evenodd" d="M3 2.5C3.55228 2.5 4 2.94772 4 3.5V7.5H8C8.55228 7.5 9 7.94772 9 8.5C9 9.05228 8.55228 9.5 8 9.5H3C2.44772 9.5 2 9.05228 2 8.5V3.5C2 2.94772 2.44772 2.5 3 2.5Z" fill="currentColor"/>\r\n                                        </svg>\r\n                                    </button>\r\n                                </li>\r\n                                <li class="'+
((__t=( f.getClass('item') ))==null?'':__t)+
'">\r\n                                    <button '+
((__t=(e.click('rotate',90)))==null?'':__t)+
' class="'+
((__t=( f.getClass('btn', 'textColordark_main_base') ))==null?'':__t)+
'">\r\n                                        <svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n                                            <path fill-rule="evenodd" clip-rule="evenodd" d="M12 4.5C10.4178 4.5 8.87104 4.96919 7.55544 5.84824C6.23985 6.72729 5.21447 7.97672 4.60897 9.43853C4.00347 10.9003 3.84504 12.5089 4.15372 14.0607C4.4624 15.6126 5.22433 17.038 6.34315 18.1569C7.46197 19.2757 8.88743 20.0376 10.4393 20.3463C11.9911 20.655 13.5997 20.4965 15.0615 19.891C16.5233 19.2855 17.7727 18.2602 18.6518 16.9446C19.5308 15.629 20 14.0823 20 12.5C20 11.9477 20.4477 11.5 21 11.5C21.5523 11.5 22 11.9477 22 12.5C22 14.4778 21.4135 16.4112 20.3147 18.0557C19.2159 19.7002 17.6541 20.9819 15.8268 21.7388C13.9996 22.4957 11.9889 22.6937 10.0491 22.3079C8.10929 21.922 6.32746 20.9696 4.92894 19.5711C3.53041 18.1725 2.578 16.3907 2.19215 14.4509C1.8063 12.5111 2.00433 10.5004 2.76121 8.67317C3.51809 6.8459 4.79981 5.28412 6.4443 4.1853C8.08879 3.08649 10.0222 2.5 12 2.5C14.7858 2.5 17.4422 3.60521 19.433 5.51909L19.4471 5.53289L21.7071 7.79289C22.0976 8.18342 22.0976 8.81658 21.7071 9.20711C21.3166 9.59763 20.6834 9.59763 20.2929 9.20711L18.0401 6.95427C16.4117 5.39226 14.251 4.5 12 4.5Z" fill="currentColor"/>\r\n                                            <path fill-rule="evenodd" clip-rule="evenodd" d="M21 2.5C21.5523 2.5 22 2.94772 22 3.5V8.5C22 9.05228 21.5523 9.5 21 9.5H16C15.4477 9.5 15 9.05228 15 8.5C15 7.94772 15.4477 7.5 16 7.5H20V3.5C20 2.94772 20.4477 2.5 21 2.5Z" fill="currentColor"/>\r\n                                        </svg>\r\n                                    </button>\r\n                                </li>\r\n                                <li class="'+
((__t=( f.getClass('item') ))==null?'':__t)+
'">\r\n                                    <button '+
((__t=( e.click('flip', 'horizontal') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btn', 'textColordark_main_base') ))==null?'':__t)+
'">\r\n                                        <svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n                                            <path fill-rule="evenodd" clip-rule="evenodd" d="M2.61732 6.57615C2.99099 6.42137 3.42111 6.50692 3.70711 6.79292L8.70711 11.7929C9.09763 12.1834 9.09763 12.8166 8.70711 13.2071L3.70711 18.2071C3.42111 18.4931 2.99099 18.5787 2.61732 18.4239C2.24364 18.2691 2 17.9045 2 17.5V7.50003C2 7.09557 2.24364 6.73093 2.61732 6.57615ZM4 9.91424V15.0858L6.58579 12.5L4 9.91424Z" fill="currentColor"/>\r\n                                            <path fill-rule="evenodd" clip-rule="evenodd" d="M21.3827 6.57615C21.7564 6.73093 22 7.09557 22 7.50003V17.5C22 17.9045 21.7564 18.2691 21.3827 18.4239C21.009 18.5787 20.5789 18.4931 20.2929 18.2071L15.2929 13.2071C14.9024 12.8166 14.9024 12.1834 15.2929 11.7929L20.2929 6.79292C20.5789 6.50692 21.009 6.42137 21.3827 6.57615ZM17.4142 12.5L20 15.0858V9.91424L17.4142 12.5Z" fill="currentColor"/>\r\n                                            <path fill-rule="evenodd" clip-rule="evenodd" d="M12 19.5C12.5523 19.5 13 19.9477 13 20.5V22.5C13 23.0523 12.5523 23.5 12 23.5C11.4477 23.5 11 23.0523 11 22.5V20.5C11 19.9477 11.4477 19.5 12 19.5Z" fill="currentColor"/>\r\n                                            <path fill-rule="evenodd" clip-rule="evenodd" d="M12 13.5C12.5523 13.5 13 13.9477 13 14.5V16.5C13 17.0523 12.5523 17.5 12 17.5C11.4477 17.5 11 17.0523 11 16.5V14.5C11 13.9477 11.4477 13.5 12 13.5Z" fill="currentColor"/>\r\n                                            <path fill-rule="evenodd" clip-rule="evenodd" d="M12 7.5C12.5523 7.5 13 7.94772 13 8.5V10.5C13 11.0523 12.5523 11.5 12 11.5C11.4477 11.5 11 11.0523 11 10.5V8.5C11 7.94772 11.4477 7.5 12 7.5Z" fill="currentColor"/>\r\n                                            <path fill-rule="evenodd" clip-rule="evenodd" d="M12 1.5C12.5523 1.5 13 1.94772 13 2.5V4.5C13 5.05228 12.5523 5.5 12 5.5C11.4477 5.5 11 5.05228 11 4.5V2.5C11 1.94772 11.4477 1.5 12 1.5Z" fill="currentColor"/>\r\n                                        </svg>\r\n                                    </button>\r\n                                </li>\r\n                                <li class="'+
((__t=( f.getClass('item') ))==null?'':__t)+
'">\r\n                                    <button '+
((__t=( e.click('flip', 'vertical') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btn', 'textColordark_main_base') ))==null?'':__t)+
'">\r\n                                        <svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n                                            <path fill-rule="evenodd" clip-rule="evenodd" d="M6.07615 3.11732C6.23093 2.74364 6.59557 2.5 7.00003 2.5H17C17.4045 2.5 17.7691 2.74364 17.9239 3.11732C18.0787 3.49099 17.9931 3.92111 17.7071 4.20711L12.7071 9.20711C12.3166 9.59763 11.6834 9.59763 11.2929 9.20711L6.29292 4.20711C6.00692 3.92111 5.92137 3.49099 6.07615 3.11732ZM9.41424 4.5L12 7.08579L14.5858 4.5H9.41424Z" fill="currentColor"/>\r\n                                            <path fill-rule="evenodd" clip-rule="evenodd" d="M11.2929 15.7929C11.6834 15.4024 12.3166 15.4024 12.7071 15.7929L17.7071 20.7929C17.9931 21.0789 18.0787 21.509 17.9239 21.8827C17.7691 22.2564 17.4045 22.5 17 22.5H7.00003C6.59557 22.5 6.23093 22.2564 6.07615 21.8827C5.92137 21.509 6.00692 21.0789 6.29292 20.7929L11.2929 15.7929ZM9.41424 20.5H14.5858L12 17.9142L9.41424 20.5Z" fill="currentColor"/>\r\n                                            <path fill-rule="evenodd" clip-rule="evenodd" d="M1 12.5C1 11.9477 1.44772 11.5 2 11.5H4C4.55228 11.5 5 11.9477 5 12.5C5 13.0523 4.55228 13.5 4 13.5H2C1.44772 13.5 1 13.0523 1 12.5Z" fill="currentColor"/>\r\n                                            <path fill-rule="evenodd" clip-rule="evenodd" d="M7 12.5C7 11.9477 7.44772 11.5 8 11.5H10C10.5523 11.5 11 11.9477 11 12.5C11 13.0523 10.5523 13.5 10 13.5H8C7.44772 13.5 7 13.0523 7 12.5Z" fill="currentColor"/>\r\n                                            <path fill-rule="evenodd" clip-rule="evenodd" d="M13 12.5C13 11.9477 13.4477 11.5 14 11.5H16C16.5523 11.5 17 11.9477 17 12.5C17 13.0523 16.5523 13.5 16 13.5H14C13.4477 13.5 13 13.0523 13 12.5Z" fill="currentColor"/>\r\n                                            <path fill-rule="evenodd" clip-rule="evenodd" d="M19 12.5C19 11.9477 19.4477 11.5 20 11.5H22C22.5523 11.5 23 11.9477 23 12.5C23 13.0523 22.5523 13.5 22 13.5H20C19.4477 13.5 19 13.0523 19 12.5Z" fill="currentColor"/>\r\n                                        </svg>\r\n                                    </button>\r\n                                </li>\r\n                            </ul>\r\n                        </div>\r\n                    </div>\r\n                    <button '+
((__t=( e.click('reset') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnReturn') ))==null?'':__t)+
'">\r\n                        Отменить изменения\r\n                    </button>\r\n                </div>\r\n                \r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('subactions2') ))==null?'':__t)+
' mediablockPhotoBtnMain">\r\n                <div class="'+
((__t=( f.getClass('btnContainer') ))==null?'':__t)+
'">\r\n                \r\n                </div>\r\n                <div class="'+
((__t=( f.getClass('btnContainer') ))==null?'':__t)+
' mediablockPhotoBtnContainer">\r\n                    <button class="'+
((__t=( f.getClass('btnNotSave') ))==null?'':__t)+
'" '+
((__t=( e.click('cancel')))==null?'':__t)+
'>Отменить</button>\r\n                    <button class="'+
((__t=( f.getClass('save') ))==null?'':__t)+
'" '+
((__t=( e.click('save')))==null?'':__t)+
'>Сохранить</button>\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </div>\r\n</div>\r\n';
}
return __p;
}
window.renderBlocks['blocks-inputUnified.inputAnswer'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('resetList', 'inputAnswer') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('inputAnswer__head') ))==null?'':__t)+
'">\r\n        <h3 class="'+
((__t=( f.getClass('inputAnswer__title') ))==null?'':__t)+
'">\r\n            Ответить на сообщение\r\n        </h3>\r\n        <div class="'+
((__t=( f.getClass('inputAnswer__imgAnswer') ))==null?'':__t)+
'" style="width: 16px; height: 16px; min-width: 16px;">\r\n            '+
((__t=( f.renderBlock('icons.i_arrow-up') ))==null?'':__t)+
'\r\n        </div>\r\n    </div>\r\n    <p class="'+
((__t=( f.getClass('inputAnswer__text') ))==null?'':__t)+
'">\r\n        Добрый день. Хотим забронировать переговорную. На 05.09 на 6 человек с 11:30до 12:30. На члена клуба Воробьёв Денис Юрьевич\r\n    </p>\r\n    <div class="'+
((__t=( f.getClass('inputAnswer__addFile') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('inputAnswer__icon') ))==null?'':__t)+
'" style="width: 20px; height: 20px; min-width: 20px;">\r\n            '+
((__t=( f.renderBlock('icons.i_page') ))==null?'':__t)+
'\r\n        </div>\r\n        <p class="'+
((__t=( f.getClass('inputAnswer__addText') ))==null?'':__t)+
'">\r\n            Вложение\r\n        </p>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-inputUnified.inputFile'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('inputFile') ))==null?'':__t)+
'">\r\n    \r\n    <div class="'+
((__t=( f.getClass('inputFile__item', 'whiteBg') ))==null?'':__t)+
'">\r\n        \r\n        \r\n        <div class="'+
((__t=( f.getClass('inputFile__imgContainer') ))==null?'':__t)+
'" style="display: flex; align-items: center; height: 100%; width: 100%; overflow: hidden;">\r\n            <img class="'+
((__t=( f.getClass('inputFile__img') ))==null?'':__t)+
'" src="/img/test/news-img01.jpg" alt="" aria-hidden="true" style="width: 100%;">\r\n        </div>\r\n\r\n        <div class="'+
((__t=( f.getClass('inputFile__head') ))==null?'':__t)+
'">\r\n            <span class="'+
((__t=( f.getClass('inputFile__type') ))==null?'':__t)+
'">\r\n                JPG\r\n            </span>\r\n            <button class="'+
((__t=( f.getClass('resetBtn', 'inputFile__close') ))==null?'':__t)+
'" style="min-width: 32px; height: 32px; width: 32px;">\r\n                '+
((__t=( f.renderBlock('icons.i_x') ))==null?'':__t)+
'\r\n            </button>\r\n        </div>\r\n\r\n        \r\n        <div class="'+
((__t=( f.getClass('inputFile__main') ))==null?'':__t)+
'">\r\n            \r\n            <div class="'+
((__t=( f.getClass('inputFile__icon') ))==null?'':__t)+
'" style="min-width: 32px; height: 32px; width: 32px;">\r\n                '+
((__t=( f.renderBlock('icons.i_pdf') ))==null?'':__t)+
'\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('inputFile__icon') ))==null?'':__t)+
'" style="min-width: 32px; height: 32px; width: 32px;">\r\n                '+
((__t=( f.renderBlock('icons.i_page') ))==null?'':__t)+
'\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('inputFile__icon') ))==null?'':__t)+
'" style="min-width: 32px; height: 32px; width: 32px;">\r\n                '+
((__t=( f.renderBlock('icons.a_processing') ))==null?'':__t)+
'\r\n            </div>\r\n        </div>\r\n        <div class="'+
((__t=( f.getClass('inputFile__footer') ))==null?'':__t)+
'">\r\n            <p class="'+
((__t=( f.getClass('inputFile__size') ))==null?'':__t)+
'">\r\n                1,43 Мб\r\n            </p>\r\n        </div>\r\n    </div>\r\n    <p class="'+
((__t=( f.getClass('inputFile__name') ))==null?'':__t)+
'">\r\n        Загрузка...\r\n    </p>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-inputUnified.inputList'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('resetList', 'inputList') ))==null?'':__t)+
'">\r\n    <ul class="'+
((__t=( f.getClass('resetList', 'inputList__list') ))==null?'':__t)+
'">\r\n        <li class="'+
((__t=( f.getClass('inputItemt') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock('inputUnified.inputFile') ))==null?'':__t)+
'\r\n        </li>\r\n        <li class="'+
((__t=( f.getClass('inputItemt') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock('inputUnified.inputFile') ))==null?'':__t)+
'\r\n        </li>\r\n        <li class="'+
((__t=( f.getClass('inputItemt') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock('inputUnified.inputFile') ))==null?'':__t)+
'\r\n        </li>\r\n    </ul>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-inputUnified'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<form class="'+
((__t=( f.getClass('input') ))==null?'':__t)+
'" method="POST">\r\n    <div class="'+
((__t=( f.getClass('input__bgBase') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('input__bgColor') ))==null?'':__t)+
'"></div>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('input__container') ))==null?'':__t)+
'">\r\n        \r\n        <div class="'+
((__t=( f.getClass('input__addFiles') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock('inputUnified.inputList') ))==null?'':__t)+
'\r\n        </div>\r\n\r\n        \r\n        <div class="'+
((__t=( f.getClass('input__addFiles') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock('inputUnified.inputAnswer') ))==null?'':__t)+
'\r\n        </div>\r\n        \r\n        <textarea class="'+
((__t=( f.getClass('input__input') ))==null?'':__t)+
'" name="messageText" id="" placeholder="Введите сообщение …"></textarea>\r\n        <div class="'+
((__t=( f.getClass('input__menu') ))==null?'':__t)+
'">\r\n            <button class="'+
((__t=( f.getClass('resetBtn', 'input__secondBtn') ))==null?'':__t)+
'" style="width: 40px; min-width: 40px; height: 40px;">\r\n                '+
((__t=( f.renderBlock('icons.i_paper-clip') ))==null?'':__t)+
'\r\n            </button>\r\n            <button class="'+
((__t=( f.getClass('input__btnAgree') ))==null?'':__t)+
'">\r\n                Отправить\r\n            </button>\r\n        </div>\r\n    </div>\r\n</form>';
}
return __p;
}
window.renderBlocks['blocks-iventSchedule'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('schedule') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('schedule__modal') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('schedule__head') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('schedule__tag') ))==null?'':__t)+
'">\r\n                Деловая программа\r\n            </div>\r\n            <button class="'+
((__t=( f.getClass('resetBtn', 'schedule__btn-close', 'img-x') ))==null?'':__t)+
'" aria-label="Закрыть"></button>\r\n        </div>\r\n        <h2 class="'+
((__t=( f.getClass('schedule__title', 'textH3', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n            Северный морской путь: расширяя арктические горизонты\r\n        </h2>\r\n        <div class="'+
((__t=( f.getClass('schedule__container', 'schedule-info') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('schedule-info__column') ))==null?'':__t)+
'">\r\n                <h3 class="'+
((__t=( f.getClass('schedule-info__title', 'textS', 'dark500base') ))==null?'':__t)+
'">\r\n                    Время\r\n                </h3>\r\n                <div class="'+
((__t=( f.getClass('schedule-info__container') ))==null?'':__t)+
'">\r\n                    <time class="'+
((__t=( f.getClass('schedule-info__time', 'textM', 'textDarkMainBase') ))==null?'':__t)+
'" datetime="">12:00&nbsp</time>\r\n                    <time class="'+
((__t=( f.getClass('schedule-info__time', 'textM', 'textDarkMainBase') ))==null?'':__t)+
'" datetime="">- 15:00</time>\r\n                </div>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('schedule-info__column', 'flexOne') ))==null?'':__t)+
'">\r\n                <h3 class="'+
((__t=( f.getClass('schedule-info__title', 'textS', 'dark500base') ))==null?'':__t)+
'">\r\n                    Место\r\n                </h3>\r\n                <div class="'+
((__t=( f.getClass('schedule-info__container', 'textM', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                    Павильон, зона А, 3-й этаж, конференц-зал А\r\n                </div>\r\n            </div>\r\n        </div>\r\n        <div class="'+
((__t=( f.getClass('schedule__scroll') ))==null?'':__t)+
' scrollBar">\r\n            <div class="'+
((__t=( f.getClass('schedule__discription', 'textM', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                <p class="'+
((__t=( f.getClass('schedule__text', 'textM', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                    В апреле 2024 года в Дубае пройдёт международный бизнес-форум «Мир возможностей», организованный \r\n                    Корпорацией «Синергия» при поддержке Фонда Росконгресс. Мероприятие закрепит стратегическое \r\n                    партнёрство двух стран, обсуждавшееся в ходе Петербургского международного экономического форума \r\n                    в июне 2023 года, а также будет способствовать дальнейшему развитию двусторонних экономических \r\n                    отношений между ОАЭ и Россией.\r\n                </p>\r\n                <p class="'+
((__t=( f.getClass('schedule__text', 'textM', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                    Компания сотрудничала с Bork, McKinsey, Helix, St. Petersburg Open, St. Petersburg Ladies Trophy и Соз. \r\n                </p>\r\n                <p class="'+
((__t=( f.getClass('schedule__text', 'textM', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                    На протяжении многих лет Flowerfine являлись партнерами международных профессиональных теннисных \r\n                    турниров, таких как St. Petersburg Open и the St. Petersburg Ladies Trophy, которые проводились \r\n                    осенью и зимой на хардовых кортах комплекса "Сибур Арена" в Санкт-Петербурге. \r\n                </p>\r\n            </div>\r\n        </div>\r\n        <div class="'+
((__t=( f.getClass('schedule__btn-container') ))==null?'':__t)+
'">\r\n            <button class="'+
((__t=( f.getClass('btn-light') ))==null?'':__t)+
'">\r\n                Закрыть\r\n            </button>\r\n        </div>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-list'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';
 if (data.inited) { 
__p+='\r\n    ';
 if (data.data.length === 0) { 
__p+='\r\n        <p class="'+
((__t=( f.getClass('empty') ))==null?'':__t)+
'">\r\n            '+
((__t=( data.emptyText || 'Ничего нет'))==null?'':__t)+
'\r\n        </p>\r\n    ';
 } else { 
__p+='\r\n        ';
 for (let index = 0; index < data.data.length; index++) { 
            const item = data.data[index]; 
__p+='\r\n            '+
((__t=( data.rowBlock ? f.renderBlock(data.rowBlock, item) : '' ))==null?'':__t)+
'\r\n        ';
 } 
__p+='\r\n        ';
 if (!data._end) { 
__p+='\r\n            <div '+
((__t=( e.ref('end') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('requests__leod') ))==null?'':__t)+
'">\r\n                <button '+
((__t=( e.click('getNext') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnAgreeLight', 'btnWidth145') ))==null?'':__t)+
'">\r\n                    Загрузить еще\r\n                </button>\r\n            </div>\r\n        ';
 } 
__p+='\r\n    ';
 } 
__p+='\r\n';
 } else { 
__p+='\r\n    <div class="'+
((__t=( f.getClass('loader') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('loader__container') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock('loaderBarTwo') ))==null?'':__t)+
'\r\n        </div>\r\n    </div>\r\n';
 } 
__p+='\r\n';
}
return __p;
}
window.renderBlocks['blocks-loaderBar'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('loaderBar') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('loaderBarProgress') ))==null?'':__t)+
'"></div>\r\n</div>\r\n';
}
return __p;
}
window.renderBlocks['blocks-loaderBarSmall'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('loadCircle') ))==null?'':__t)+
' pulsating-circle" style="width: 12.5px; height: 12.5px; min-width: 12.5px;">\r\n    <div class="'+
((__t=( f.getClass('loadCircle__inside') ))==null?'':__t)+
' loadCircle__inside"></div>\r\n    <div class="'+
((__t=( f.getClass('loadCircle__outside') ))==null?'':__t)+
' loadCircle__outside"></div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-loaderBarTwo'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('loaderBarTwo') ))==null?'':__t)+
'" loaderBarTwo aria-label="Идёт загрузка">\r\n    <div class="'+
((__t=( f.getClass('loaderBarTwo__item') ))==null?'':__t)+
' loaderBarTwoAnimation loaderBarTwo__one"></div>\r\n    <div class="'+
((__t=( f.getClass('loaderBarTwo__item') ))==null?'':__t)+
' loaderBarTwoAnimation loaderBarTwo__two"></div>\r\n    <div class="'+
((__t=( f.getClass('loaderBarTwo__item') ))==null?'':__t)+
' loaderBarTwoAnimation loaderBarTwo__three"></div>\r\n    <div class="'+
((__t=( f.getClass('loaderBarTwo__item') ))==null?'':__t)+
' loaderBarTwoAnimation loaderBarTwo__two loaderBarTwoDelay__two"></div>\r\n    <div class="'+
((__t=( f.getClass('loaderBarTwo__item') ))==null?'':__t)+
' loaderBarTwoAnimation loaderBarTwo__one loaderBarTwoDelay__one"></div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-loaderPage'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='Получаем данные';
}
return __p;
}
window.renderBlocks['blocks-MediaBlocks.Audio'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';
 responseState.value = data.value 
__p+='\r\n<div class="'+
((__t=( f.getClass('container',  data.first ? 'first' : '') ))==null?'':__t)+
'">\r\n  <audio class="'+
((__t=( f.getClass('lessonBlockAudio') ))==null?'':__t)+
'" preload="metadata">\r\n    <source src=\''+
((__t=( utils.makeImageUrl(data.value, 0, 'url') ))==null?'':__t)+
'\' type=\''+
((__t=(
    data.value.content_type ))==null?'':__t)+
'\' />\r\n  </audio>\r\n\r\n  <div class="'+
((__t=( f.getClass('lessonBlockAudioControls') ))==null?'':__t)+
'">\r\n    <button class="'+
((__t=( f.getClass('lessonBlockAudioBtn') ))==null?'':__t)+
'" aria-label="Начать/остановить проигрывание">\r\n      <div class="'+
((__t=( f.getClass('lessonBlockAudioImgPlay', 'containerIcon') ))==null?'':__t)+
'" \r\n        style="width: 24px; min-width: 24px; height: 24px;">\r\n        '+
((__t=( f.renderBlock('builder.icons.i_play') ))==null?'':__t)+
'\r\n      </div>\r\n      <div class="'+
((__t=( f.getClass('lessonBlockAudioImgPause', 'containerIcon') ))==null?'':__t)+
'"\r\n        style="display: none; width: 24px; min-width: 24px; height: 24px;">\r\n        '+
((__t=( f.renderBlock('builder.icons.i_pause') ))==null?'':__t)+
'\r\n      </div>\r\n    </button>\r\n    <p class="'+
((__t=( f.getClass('lessonBlockAudioTime') ))==null?'':__t)+
'">00:00</p>\r\n    <div class="'+
((__t=( f.getClass('lessonBlockAudioProgress') ))==null?'':__t)+
'">\r\n      <input\r\n        class="'+
((__t=( f.getClass('lessonBlockAudioline') ))==null?'':__t)+
'"\r\n        type="range"\r\n        max="100"\r\n        min="0"\r\n        defaultValue="0"\r\n        value="0"\r\n      />\r\n    </div>\r\n    <p class="'+
((__t=( f.getClass('lessonBlockAudioTime') ))==null?'':__t)+
'">00:00</p>\r\n    \r\n    <button class="'+
((__t=( f.getClass('resetBtn', 'lessonBlockAudioBtnSound', 'lessonBlockAudioImgOn', 'hiddenBlock') ))==null?'':__t)+
'" alt="Настроить звук">\r\n      <div class="'+
((__t=( f.getClass('containerIcon') ))==null?'':__t)+
'"\r\n        style="width: 24px; min-width: 24px; height: 24px;">\r\n        '+
((__t=( f.renderBlock('builder.icons.i_audio') ))==null?'':__t)+
'\r\n      </div>\r\n      <div class="'+
((__t=( f.getClass('containerIcon') ))==null?'':__t)+
'"\r\n        style="display: none; width: 24px; min-width: 24px; height: 24px;">\r\n        '+
((__t=( f.renderBlock('builder.icons.i_audio_mute') ))==null?'':__t)+
'\r\n      </div>\r\n    </button>\r\n  </div>\r\n</div>\r\n';
}
return __p;
}
window.renderBlocks['blocks-MediaBlocks.Code'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='\r\n<div class="'+
((__t=( f.getClass('codePreContainer') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('codePreHeader') ))==null?'':__t)+
'">\r\n        <button class="'+
((__t=( f.getClass('resetBtn', 'codePreType') ))==null?'':__t)+
'">\r\n            <span class="'+
((__t=( f.getClass('codePreTypeText') ))==null?'':__t)+
'">CODE</span>\r\n            <svg class="'+
((__t=( f.getClass('codePreTypeImg') ))==null?'':__t)+
'" width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n                <path fill-rule="evenodd" clip-rule="evenodd" d="M4.41058 6.91205C4.73602 6.58661 5.26366 6.58661 5.58909 6.91205L9.99984 11.3228L14.4106 6.91205C14.736 6.58661 15.2637 6.58661 15.5891 6.91205C15.9145 7.23748 15.9145 7.76512 15.5891 8.09056L10.5891 13.0906C10.2637 13.416 9.73602 13.416 9.41058 13.0906L4.41058 8.09056C4.08514 7.76512 4.08514 7.23748 4.41058 6.91205Z" fill="currentColor"/>\r\n            </svg>\r\n        </button>\r\n        <div class="'+
((__t=( f.getClass('codePreBtnsContainer') ))==null?'':__t)+
'" aria-label="Развернуть">\r\n            <button class="'+
((__t=( f.getClass('resetBtn', 'codePreBtn') ))==null?'':__t)+
'">\r\n                <svg class="'+
((__t=( f.getClass('codePreBtnImg') ))==null?'':__t)+
'" width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n                    <path fill-rule="evenodd" clip-rule="evenodd" d="M11.6665 2.5013C11.6665 2.04106 12.0396 1.66797 12.4998 1.66797H17.4998C17.9601 1.66797 18.3332 2.04106 18.3332 2.5013V7.5013C18.3332 7.96154 17.9601 8.33464 17.4998 8.33464C17.0396 8.33464 16.6665 7.96154 16.6665 7.5013V3.33464H12.4998C12.0396 3.33464 11.6665 2.96154 11.6665 2.5013Z" fill="currentColor"/>\r\n                    <path fill-rule="evenodd" clip-rule="evenodd" d="M2.49984 11.668C2.96007 11.668 3.33317 12.0411 3.33317 12.5013V16.668H7.49984C7.96007 16.668 8.33317 17.0411 8.33317 17.5013C8.33317 17.9615 7.96007 18.3346 7.49984 18.3346H2.49984C2.0396 18.3346 1.6665 17.9615 1.6665 17.5013V12.5013C1.6665 12.0411 2.0396 11.668 2.49984 11.668Z" fill="currentColor"/>\r\n                    <path fill-rule="evenodd" clip-rule="evenodd" d="M18.0894 1.91205C18.4149 2.23748 18.4149 2.76512 18.0894 3.09056L12.2561 8.92389C11.9306 9.24933 11.403 9.24933 11.0776 8.92389C10.7521 8.59845 10.7521 8.07082 11.0776 7.74538L16.9109 1.91205C17.2363 1.58661 17.764 1.58661 18.0894 1.91205Z" fill="currentColor"/>\r\n                    <path fill-rule="evenodd" clip-rule="evenodd" d="M8.92243 11.0761C9.24786 11.4015 9.24786 11.9292 8.92243 12.2546L3.08909 18.088C2.76366 18.4134 2.23602 18.4134 1.91058 18.088C1.58514 17.7625 1.58514 17.2349 1.91058 16.9094L7.74392 11.0761C8.06935 10.7507 8.59699 10.7507 8.92243 11.0761Z" fill="currentColor"/>\r\n                </svg>\r\n            </button>\r\n            <button class="'+
((__t=( f.getClass('resetBtn', 'codePreBtn') ))==null?'':__t)+
'" aria-label="Копировать">\r\n                <svg class="'+
((__t=( f.getClass('codePreBtnImg') ))==null?'':__t)+
'" width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n                    <g clip-path="url(#clip0_8501_49515)">\r\n                    <path fill-rule="evenodd" clip-rule="evenodd" d="M8.3335 7.4987C7.87326 7.4987 7.50016 7.87179 7.50016 8.33203V16.6654C7.50016 17.1256 7.87326 17.4987 8.3335 17.4987H16.6668C17.1271 17.4987 17.5002 17.1256 17.5002 16.6654V8.33203C17.5002 7.87179 17.1271 7.4987 16.6668 7.4987H8.3335ZM5.8335 8.33203C5.8335 6.95132 6.95278 5.83203 8.3335 5.83203H16.6668C18.0475 5.83203 19.1668 6.95132 19.1668 8.33203V16.6654C19.1668 18.0461 18.0475 19.1654 16.6668 19.1654H8.3335C6.95278 19.1654 5.8335 18.0461 5.8335 16.6654V8.33203Z" fill="currentColor"/>\r\n                    <path fill-rule="evenodd" clip-rule="evenodd" d="M3.3335 2.4987C2.87707 2.4987 2.50016 2.8756 2.50016 3.33203V11.6654C2.50016 12.1218 2.87707 12.4987 3.3335 12.4987C3.79373 12.4987 4.16683 12.8718 4.16683 13.332C4.16683 13.7923 3.79373 14.1654 3.3335 14.1654C1.95659 14.1654 0.833496 13.0423 0.833496 11.6654V3.33203C0.833496 1.95513 1.95659 0.832031 3.3335 0.832031H11.6668C13.0437 0.832031 14.1668 1.95513 14.1668 3.33203C14.1668 3.79227 13.7937 4.16536 13.3335 4.16536C12.8733 4.16536 12.5002 3.79227 12.5002 3.33203C12.5002 2.8756 12.1233 2.4987 11.6668 2.4987H3.3335Z" fill="currentColor"/>\r\n                    </g>\r\n                    <defs>\r\n                    <clipPath id="clip0_8501_49515">\r\n                    <rect width="20" height="20" fill="white"/>\r\n                    </clipPath>\r\n                    </defs>\r\n                </svg>\r\n            </button>\r\n        </div>\r\n    </div>\r\n    <pre class="'+
((__t=( f.getClass('codePre') ))==null?'':__t)+
'">\r\n    <code \r\n    class="'+
((__t=( f.getClass('containerCodeMediaBlock') ))==null?'':__t)+
' containerCodeMediaBlock language-javascript">'+
((__t=( utils.hljs.highlightAuto(data.value).value ))==null?'':__t)+
'</code></pre>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-MediaBlocks.File'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('container',  data.first ? 'first' : '') ))==null?'':__t)+
'">\r\n    <a external="true" class="'+
((__t=( f.getClass('lessonBlockPDFLink') ))==null?'':__t)+
'" target="_blank" href="'+
((__t=( utils.makeImageUrl(data.value, 0, 'url') ))==null?'':__t)+
'" title="'+
((__t=( utils.extract(data, 'value.options.filename', 'Файл') ))==null?'':__t)+
'" download>\r\n        <div class="'+
((__t=( f.getClass('lessonBlcokPDFLeft') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('containerIcon', 'iconColorMain', 'spaceRight16') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                '+
((__t=( f.renderBlock('builder.icons.i_paper_clip') ))==null?'':__t)+
'\r\n            </div>\r\n            <p class="'+
((__t=( f.getClass('lessonBlockPDFName') ))==null?'':__t)+
'">'+
((__t=( utils.extract(data, 'value.options.filename', 'Файл') ))==null?'':__t)+
'</p>\r\n            <div class="'+
((__t=( f.getClass('containerIcon', 'iconColorThird') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                '+
((__t=( f.renderBlock('builder.icons.i_download') ))==null?'':__t)+
'\r\n            </div>\r\n        </div>\r\n    </a>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-MediaBlocks.Header1'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('mediablockH1', data.first ? 'first' : '') ))==null?'':__t)+
' mediablockH1">'+
((__t=( utils.parseMessageEntities(data, context) ))==null?'':__t)+
'</div>\r\n';
}
return __p;
}
window.renderBlocks['blocks-MediaBlocks.Header2'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('mediablockH2', data.first ? 'first' : '') ))==null?'':__t)+
' mediablockH2">'+
((__t=( utils.parseMessageEntities(data, context) ))==null?'':__t)+
'</div>\r\n';
}
return __p;
}
window.renderBlocks['blocks-MediaBlocks.Header3'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('mediablockH3', data.first ? 'first' : '') ))==null?'':__t)+
' mediablockH3">'+
((__t=( utils.parseMessageEntities(data, context) ))==null?'':__t)+
'</div>\r\n';
}
return __p;
}
window.renderBlocks['blocks-MediaBlocks.Highlight'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('mediablockHL', data.first ? 'first' : '') ))==null?'':__t)+
' mediablockHL">\r\n    <div class="'+
((__t=( f.getClass('lessonBlockHL') ))==null?'':__t)+
' lessonBlockHL">\r\n      '+
((__t=( utils.parseMessageEntities(data, context) ))==null?'':__t)+
'\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-MediaBlocks.HTML'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('mediablockHTML') ))==null?'':__t)+
' mediablockHTML">'+
((__t=( utils.replaceUrlsWithLinks(data.value) ))==null?'':__t)+
'</div>\r\n';
}
return __p;
}
window.renderBlocks['blocks-MediaBlocks.List'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';

    if (!data.options)
         data.options = {}
    const level = data.options.level || 0;

__p+='\r\n\r\n<div class="'+
((__t=( f.getClass('container') ))==null?'':__t)+
'" style="margin-left:'+
((__t=( 16 * level ))==null?'':__t)+
'px" >\r\n    <div class="'+
((__t=( f.getClass('marker') ))==null?'':__t)+
' mediaBlockListMarker"></div>\r\n    <div tabindex="0" class="'+
((__t=( f.getClass('list') ))==null?'':__t)+
' containerListMediaBlock">'+
((__t=( utils.parseMessageEntities(data, context)  ))==null?'':__t)+
'</div>\r\n</div>\r\n';
}
return __p;
}
window.renderBlocks['blocks-MediaBlocks'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';

let blocksType = {
    'audio':"MediaBlocks.Audio",
    'text':"MediaBlocks.Text",
    'header1':"MediaBlocks.Header1",
    'header2':"MediaBlocks.Header2",
    'header3':"MediaBlocks.Header3",
    'highlight':"MediaBlocks.Highlight",
    'html':"MediaBlocks.HTML",
    'builtInPDF':"MediaBlocks.PDF",
    'photo':"MediaBlocks.Photo",
    'video':"MediaBlocks.Video",
    'list':"MediaBlocks.List",
    'code':"MediaBlocks.Code",
    'file':"MediaBlocks.File",


};

for (let index in data.blocks){
   const block = data.blocks[index];

   if (blocksType[block.type] !== undefined){  
__p+='\r\n    '+
((__t=( f.renderBlock(blocksType[block.type], {value: block.value, options: block.options,  first: index === 0 , last: index === data.blocks.length - 1  }) ))==null?'':__t)+
'\r\n   ';
   
   } else {
    console.log('Неизвестный блок', block);
   }
}

__p+='\r\n\r\n';
}
return __p;
}
window.renderBlocks['blocks-MediaBlocks.PDF'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('container',  data.first ? 'first' : '') ))==null?'':__t)+
'">\r\n    <a external="true" class="'+
((__t=( f.getClass('lessonBlockPDFLink') ))==null?'':__t)+
'" target="_blank" href="'+
((__t=( utils.makeImageUrl(data.value, 0, 'url') ))==null?'':__t)+
'" title="'+
((__t=( utils.extract(data, 'value.options.filename', 'Файл') ))==null?'':__t)+
'" download>\r\n        <div class="'+
((__t=( f.getClass('lessonBlcokPDFLeft') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('containerIcon', 'iconColorMain', 'spaceRight16') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                '+
((__t=( f.renderBlock('builder.icons.i_pdf') ))==null?'':__t)+
'\r\n            </div>\r\n            <p class="'+
((__t=( f.getClass('lessonBlockPDFName') ))==null?'':__t)+
'">'+
((__t=( utils.extract(data, 'value.options.filename', 'Файл') ))==null?'':__t)+
'</p>\r\n            <div class="'+
((__t=( f.getClass('containerIcon', 'iconColorThird') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                '+
((__t=( f.renderBlock('builder.icons.i_download') ))==null?'':__t)+
'\r\n            </div>\r\n        </div>\r\n    </a>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-MediaBlocks.Photo'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('containerMediaPhoto', data.first ? 'first' : '') ))==null?'':__t)+
' containerMediaPhoto">\r\n    <div class="'+
((__t=( f.getClass('lessonBlockImgContainer') ))==null?'':__t)+
'">\r\n        <img class="'+
((__t=( f.getClass('lessonBlockImgBg') ))==null?'':__t)+
'" src="'+
((__t=( data.value.local_file ? data.value.local_file :  utils.makeImageUrl(data.value, 0, 'filename') ))==null?'':__t)+
'" alt="'+
((__t=( utils.extract(data, 'value.options.filename', 'Файл') ))==null?'':__t)+
'">\r\n        <img class="'+
((__t=( f.getClass('lessonBlockImg') ))==null?'':__t)+
'" src="'+
((__t=( data.value.local_file ? data.value.local_file :  utils.makeImageUrl(data.value, 0, 'filename') ))==null?'':__t)+
'" alt="'+
((__t=( utils.extract(data, 'value.options.filename', 'Файл') ))==null?'':__t)+
'">\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-MediaBlocks.TaskAnswer'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('container', data.first ? 'first' : '') ))==null?'':__t)+
'">'+
((__t=( data.value ))==null?'':__t)+
'</div>\r\n';
}
return __p;
}
window.renderBlocks['blocks-MediaBlocks.Text'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('containerTextMediaBlock') ))==null?'':__t)+
' containerTextMediaBlock">'+
((__t=( utils.parseMessageEntities(data, context) ))==null?'':__t)+
'</div>';
}
return __p;
}
window.renderBlocks['blocks-MediaBlocks.Video'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='\r\n<div class="'+
((__t=( f.getClass('container') ))==null?'':__t)+
'">\r\n    ';
 if (data.value.video_preview){ 
__p+='\r\n        <img class="'+
((__t=( f.getClass('container__img',  data.first ? 'first' : '') ))==null?'':__t)+
' '+
((__t=( data.videoClass && data.videoClass ))==null?'':__t)+
'"   src="'+
((__t=( utils.makeImageUrl(data.value, 0, 'video_preview') ))==null?'':__t)+
'">\r\n    ';
 } else { 
__p+='\r\n        <img class="'+
((__t=( f.getClass('container__img',  data.first ? 'first' : '') ))==null?'':__t)+
' '+
((__t=( data.videoClass && data.videoClass ))==null?'':__t)+
'"   src="/img/card_paid_img01.jpg">\r\n    ';
 } 
__p+='\r\n    <button '+
((__t=( e.click('play') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'play') ))==null?'':__t)+
' mediablockVideoPlay" aria-label="Воспроизвести/остановить видео">\r\n        <div class="'+
((__t=( f.getClass('playBg') ))==null?'':__t)+
'" style="width: 91px; height: 62px;">\r\n            '+
((__t=( f.renderBlock('icons.i_play-triangle') ))==null?'':__t)+
'\r\n        </div>\r\n    </button>\r\n</div>\r\n\r\n';
 if (data.show) { 
__p+='\r\n    <div class="'+
((__t=( f.getClass('video') ))==null?'':__t)+
'">\r\n        <div  '+
((__t=( e.click('close') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('overlay') ))==null?'':__t)+
'"></div>\r\n        <div class="'+
((__t=( f.getClass('videoContainer') ))==null?'':__t)+
'">\r\n            <video class="'+
((__t=( f.getClass('videoPlayer') ))==null?'':__t)+
'" autoplay="autoplay" controls poster="'+
((__t=( utils.makeImageUrl(data.value, 0, 'video_preview') ))==null?'':__t)+
'" preload="none">\r\n                <source src="'+
((__t=( utils.makeImageUrl(data.value, 0, 'url') ))==null?'':__t)+
'" type="'+
((__t=( data.value.content_type ))==null?'':__t)+
'">\r\n            </video>\r\n        </div>\r\n    </div>\r\n';
 } 
__p+='\r\n';
}
return __p;
}
window.renderBlocks['blocks-menu'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='\r\n';
 const url = data.url ? data.url : query.url; 
__p+='\r\n';
 const allow = utils.testPolicy(data?.me?.allowed_commands)  
__p+='\r\n\r\n\r\n';
 if ((query.url === 'index' && context.isMobile) || !context.isMobile) { 
__p+='\r\n    <header class="'+
((__t=( f.getClass('head') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('head__flag') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock('changeCountry') ))==null?'':__t)+
'\r\n        </div>\r\n        <div class="'+
((__t=( f.getClass('head__container', 'spaceBottom16') ))==null?'':__t)+
'">\r\n            <a class="'+
((__t=( f.getClass('resetLink', 'head__link') ))==null?'':__t)+
'" href="/" title="Переход на главную страницу">\r\n                '+
((__t=( f.renderBlock('icons.logo') ))==null?'':__t)+
'\r\n            </a>\r\n        </div>\r\n        <div class="'+
((__t=( f.getClass('head__notification') ))==null?'':__t)+
'">\r\n                        ';
 if (data.my_open_sessions > 0 || data.new_chat_count > 0 || data.open_request_count > 0) { 
__p+='\r\n                            <ul class="'+
((__t=( f.getClass('resetList', 'notification', 'bg_accent_100_base') ))==null?'':__t)+
'">\r\n                                ';
 if (data.my_open_sessions > 0) { 
__p+='\r\n                                    <li class="'+
((__t=( f.getClass('notification__item') ))==null?'':__t)+
'">\r\n                                        <button '+
((__t=( e.click('goToOpenSession') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'notification__btn', 'btn__neutral') ))==null?'':__t)+
'">\r\n                                            <span class="'+
((__t=( f.getClass('notification__text', 'textSB', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                                                Открытые сессии\r\n                                            </span>\r\n                                            <span class="'+
((__t=( f.getClass('notification__value', 'textCaptionS', 'textCaptionS') ))==null?'':__t)+
'">\r\n                                                '+
((__t=( data.my_open_sessions ))==null?'':__t)+
'\r\n                                            </span>\r\n                                        </button>\r\n                                    </li>\r\n                                ';
 } 
__p+='\r\n\r\n                                ';
 if (data.new_chat_count > 0) { 
__p+='\r\n                                    <li class="'+
((__t=( f.getClass('notification__item', 'notification-active') ))==null?'':__t)+
'">\r\n                                        <button '+
((__t=( e.click('goToOpenChat') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'notification__btn', 'btn__neutral') ))==null?'':__t)+
'">\r\n                                            <span class="'+
((__t=( f.getClass('notification__text', 'textSB', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                                                Открытые чаты\r\n                                            </span>\r\n                                            <span class="'+
((__t=( f.getClass('notification__value', 'textCaptionS', 'textCaptionS') ))==null?'':__t)+
'">\r\n                                                '+
((__t=( data.new_chat_count ))==null?'':__t)+
'\r\n                                            </span>\r\n                                        </button>\r\n                                    </li>\r\n                                ';
 } 
__p+='\r\n\r\n                                ';
 if (data.open_request_count > 0) { 
__p+='\r\n                                    <li class="'+
((__t=( f.getClass('notification__item') ))==null?'':__t)+
'">\r\n                                        <button '+
((__t=( e.click('goToMyRequest') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'notification__btn', 'btn__neutral') ))==null?'':__t)+
'">\r\n                                            <span class="'+
((__t=( f.getClass('notification__text', 'textSB', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                                                Мои запросы\r\n                                            </span>\r\n                                            <span class="'+
((__t=( f.getClass('notification__value', 'textCaptionS', 'textCaptionS') ))==null?'':__t)+
'">\r\n                                            '+
((__t=( data.open_request_count ))==null?'':__t)+
'  \r\n                                            </span>\r\n                                        </button>\r\n                                    </li>\r\n                                ';
 } 
__p+='\r\n                            </ul>\r\n                        ';
 } 
__p+='\r\n                        ';
 if (data.common_new_chat_count > 0 || data.new_request_count > 0) { 
__p+='\r\n                            <ul class="'+
((__t=( f.getClass('resetList', 'notification', 'bg_dark_100_base') ))==null?'':__t)+
'">\r\n                                ';
 if (data.common_new_chat_count > 0) { 
__p+='\r\n                                    <li class="'+
((__t=( f.getClass('notification__item') ))==null?'':__t)+
'">\r\n                                        <div class="'+
((__t=( f.getClass('notification__bgContainer') ))==null?'':__t)+
'">\r\n\r\n                                        </div>\r\n                                        <button  '+
((__t=( e.click('goToNewChat') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'notification__btn', 'btn__neutral') ))==null?'':__t)+
'">\r\n                                            <span class="'+
((__t=( f.getClass('notification__text', 'textSB', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                                                Обращения\r\n                                            </span>\r\n                                            <span class="'+
((__t=( f.getClass('notification__value', 'textCaptionS', 'textCaptionS') ))==null?'':__t)+
'">\r\n                                                '+
((__t=( data.common_new_chat_count ))==null?'':__t)+
'  \r\n                                            </span>\r\n                                        </button>\r\n                                    </li>\r\n                                ';
 } 
__p+='\r\n                                ';
 if (data.new_request_count > 0) { 
__p+='\r\n                                    <li class="'+
((__t=( f.getClass('notification__item') ))==null?'':__t)+
'">\r\n                                        <button '+
((__t=( e.click('goToOpenRequest') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'notification__btn', 'btn__neutral') ))==null?'':__t)+
'">\r\n                                            <span class="'+
((__t=( f.getClass('notification__text', 'textSB', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                                                Запросы\r\n                                            </span>\r\n                                            <span class="'+
((__t=( f.getClass('notification__value', 'textCaptionS', 'textCaptionS') ))==null?'':__t)+
'">\r\n                                                '+
((__t=( data.new_request_count ))==null?'':__t)+
'  \r\n                                            </span>\r\n                                        </button>\r\n                                    </li>\r\n                                ';
 } 
__p+='\r\n                            </ul>\r\n                        ';
 } 
__p+='\r\n\r\n\r\n                    <!--   <ul class="'+
((__t=( f.getClass('resetList', 'notification', 'bg_dark_100_base') ))==null?'':__t)+
'">\r\n                            <li class="'+
((__t=( f.getClass('notification__item') ))==null?'':__t)+
'">\r\n                                <button class="'+
((__t=( f.getClass('resetBtn', 'notification__btn', 'btn__neutral') ))==null?'':__t)+
'">\r\n                                    <span class="'+
((__t=( f.getClass('notification__text', 'textSB', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                                        Запрос\r\n                                    </span>\r\n                                    <span class="'+
((__t=( f.getClass('notification__value', 'textCaptionS', 'textCaptionS') ))==null?'':__t)+
'">\r\n                                        1\r\n                                    </span>\r\n                                </button>\r\n                            </li>\r\n                            <li class="'+
((__t=( f.getClass('notification__item', 'notification-active') ))==null?'':__t)+
'">\r\n                                <button class="'+
((__t=( f.getClass('resetBtn', 'notification__btn', 'btn__neutral') ))==null?'':__t)+
'">\r\n                                    <span class="'+
((__t=( f.getClass('notification__text', 'textSB', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                                        Сообщения\r\n                                    </span>\r\n                                    <span class="'+
((__t=( f.getClass('notification__value', 'textCaptionS', 'textCaptionS') ))==null?'':__t)+
'">\r\n                                        9\r\n                                    </span>\r\n                                </button>\r\n                            </li>\r\n                            <li class="'+
((__t=( f.getClass('notification__item') ))==null?'':__t)+
'">\r\n                                <button class="'+
((__t=( f.getClass('resetBtn', 'notification__btn', 'btn__neutral') ))==null?'':__t)+
'">\r\n                                    <span class="'+
((__t=( f.getClass('notification__text', 'textSB', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                                        Счета\r\n                                    </span>\r\n                                    <span class="'+
((__t=( f.getClass('notification__value', 'textCaptionS', 'textCaptionS') ))==null?'':__t)+
'">\r\n                                        12\r\n                                    </span>\r\n                                </button>\r\n                            </li>\r\n                        </ul> -->\r\n                    </div>\r\n        <div class="'+
((__t=( f.getClass('resetLink', 'head__scrollWrapper') ))==null?'':__t)+
' scrollBar">\r\n            <div class="'+
((__t=( f.getClass('resetLink', 'head__scroll') ))==null?'':__t)+
'">\r\n                \r\n                <nav class="'+
((__t=( f.getClass('head__nav', 'nav') ))==null?'':__t)+
'">\r\n                    <p class="'+
((__t=( f.getClass('head__subtitel', 'textCaptionLB', 'textSecondary') ))==null?'':__t)+
'">\r\n                        Клиенты\r\n                    </p>\r\n                    <ul class="'+
((__t=( f.getClass('resetList', 'nav__list') ))==null?'':__t)+
'">\r\n                        ';
 if (allow('getList','request')) { 
__p+='\r\n                            <li class="'+
((__t=( f.getClass('nav__item') ))==null?'':__t)+
'">\r\n                                <a href="/requests" class="'+
((__t=( f.getClass('resetBtn', 'nav__btn', 'textSecondary', 'textMB', /^requests/.test(url) && 'nav__btnSelect') ))==null?'':__t)+
'">\r\n                                    <div class="'+
((__t=( f.getClass('nav__icon') ))==null?'':__t)+
'" style="width: 20px; height: 20px;">\r\n                                        '+
((__t=( f.renderBlock('icons.i_tray') ))==null?'':__t)+
'\r\n                                    </div>\r\n                                    Запросы\r\n                                </a>\r\n                            </li>\r\n                        ';
 } 
__p+='\r\n\r\n                        ';
 if (allow('getList','chat_session')) { 
__p+='\r\n                            <li class="'+
((__t=( f.getClass('nav__item') ))==null?'':__t)+
'">\r\n                                <a href="/chats" class="'+
((__t=( f.getClass('resetBtn', 'nav__btn', 'textSecondary', 'textMB', /^chats/.test(url) && 'nav__btnSelect') ))==null?'':__t)+
'">\r\n                                    <div class="'+
((__t=( f.getClass('nav__icon') ))==null?'':__t)+
'" style="width: 20px; height: 20px;">\r\n                                        '+
((__t=( f.renderBlock('icons.i_message-square-two') ))==null?'':__t)+
'\r\n                                    </div>\r\n                                    Чаты\r\n                                </a>\r\n                            </li>\r\n                        ';
 } 
__p+='\r\n\r\n                        ';
 if (context.dev === true && allow('getList','invoice')) { 
__p+='\r\n                            <li class="'+
((__t=( f.getClass('nav__item') ))==null?'':__t)+
'">\r\n                                <a href="/receipts" class="'+
((__t=( f.getClass('resetBtn', 'nav__btn', 'textSecondary', 'textMB', /^receipts/.test(url) && 'nav__btnSelect') ))==null?'':__t)+
'">\r\n                                    <div class="'+
((__t=( f.getClass('nav__icon') ))==null?'':__t)+
'" style="width: 20px; height: 20px;">\r\n                                        '+
((__t=( f.renderBlock('icons.i_printer') ))==null?'':__t)+
'\r\n                                    </div>\r\n                                    Счета\r\n                                </a>\r\n                            </li>\r\n                        ';
 } 
__p+='\r\n                        ';
 if (allow('getList','client')) { 
__p+='\r\n                            <li class="'+
((__t=( f.getClass('nav__item') ))==null?'':__t)+
'">\r\n                                <a href="/clients" class="'+
((__t=( f.getClass('resetBtn', 'nav__btn', 'textSecondary', 'textMB', /^clients/.test(url) && 'nav__btnSelect') ))==null?'':__t)+
'">\r\n                                    <div class="'+
((__t=( f.getClass('nav__icon') ))==null?'':__t)+
'" style="width: 20px; height: 20px;">\r\n                                        '+
((__t=( f.renderBlock('icons.i_users') ))==null?'':__t)+
'\r\n                                    </div>\r\n                                    Клиенты\r\n                                </a>\r\n                            </li>\r\n                        ';
 } 
__p+='\r\n                    </ul>\r\n                    <p class="'+
((__t=( f.getClass('head__subtitel', 'textCaptionLB', 'textSecondary') ))==null?'':__t)+
'">\r\n                        Контент\r\n                    </p>\r\n                    <ul class="'+
((__t=( f.getClass('resetList', 'nav__list') ))==null?'':__t)+
'">\r\n\r\n\r\n                        ';
 if (allow('getList','event')) { 
__p+='\r\n                            <li class="'+
((__t=( f.getClass('nav__item') ))==null?'':__t)+
'">\r\n                                <a href="/events" class="'+
((__t=( f.getClass('resetBtn', 'nav__btn', 'textSecondary', 'textMB', /^events/.test(url) && 'nav__btnSelect') ))==null?'':__t)+
'">\r\n                                    <div class="'+
((__t=( f.getClass('nav__icon') ))==null?'':__t)+
'" style="width: 20px; height: 20px;">\r\n                                        '+
((__t=( f.renderBlock('icons.i_calendar') ))==null?'':__t)+
'\r\n                                    </div>\r\n                                    Мероприятия\r\n                                </a>\r\n                            </li>\r\n                        ';
 } 
__p+='\r\n\r\n                        ';
 if (allow('getList','service')) { 
__p+='\r\n                            <li class="'+
((__t=( f.getClass('nav__item') ))==null?'':__t)+
'">\r\n                                <a href="/services" class="'+
((__t=( f.getClass('resetBtn', 'nav__btn', 'textSecondary', 'textMB', /^services/.test(url) && 'nav__btnSelect') ))==null?'':__t)+
'">\r\n                                    <div class="'+
((__t=( f.getClass('nav__icon') ))==null?'':__t)+
'" style="width: 20px; height: 20px;">\r\n                                        '+
((__t=( f.renderBlock('icons.i_box') ))==null?'':__t)+
'\r\n                                    </div>\r\n                                    Услуги\r\n                                </a>\r\n                            </li>\r\n                        ';
 } 
__p+='\r\n                    </ul>\r\n                    <p class="'+
((__t=( f.getClass('head__subtitel', 'textCaptionLB', 'textSecondary') ))==null?'':__t)+
'">\r\n                        Администрирование\r\n                    </p>\r\n                    <ul class="'+
((__t=( f.getClass('resetList', 'nav__list') ))==null?'':__t)+
'">\r\n                        ';
 if (allow('getList','analytics')) { 
__p+='\r\n                            <li class="'+
((__t=( f.getClass('nav__item') ))==null?'':__t)+
'">\r\n                                <a href="/activity" class="'+
((__t=( f.getClass('resetBtn', 'nav__btn', 'textSecondary', 'textMB', /^activity/.test(url) && 'nav__btnSelect') ))==null?'':__t)+
'">\r\n                                    <div class="'+
((__t=( f.getClass('nav__icon') ))==null?'':__t)+
'" style="width: 20px; height: 20px;">\r\n                                        '+
((__t=( f.renderBlock('icons.i_pulse') ))==null?'':__t)+
'\r\n                                    </div>\r\n                                    Активность\r\n                                </a>\r\n                            </li>\r\n                        ';
 } 
__p+='\r\n                        ';
 if (allow('getList','users')) { 
__p+='\r\n                            <li class="'+
((__t=( f.getClass('nav__item') ))==null?'':__t)+
'">\r\n                                <a href="/operators" class="'+
((__t=( f.getClass('resetBtn', 'nav__btn', 'textSecondary', 'textMB', /^operators/.test(url) && 'nav__btnSelect') ))==null?'':__t)+
'">\r\n                                    <div class="'+
((__t=( f.getClass('nav__icon') ))==null?'':__t)+
'" style="width: 20px; height: 20px;">\r\n                                        '+
((__t=( f.renderBlock('icons.i_headset') ))==null?'':__t)+
'\r\n                                    </div>\r\n                                    Операторы\r\n                                </a>\r\n                            </li>\r\n                        ';
 } 
__p+='\r\n\r\n                        ';
 if (allow('getList','service')) { 
__p+='\r\n                            <li class="'+
((__t=( f.getClass('nav__item') ))==null?'':__t)+
'">\r\n                                <a href="/privileges" class="'+
((__t=( f.getClass('resetBtn', 'nav__btn', 'textSecondary', 'textMB', /^privileges/.test(url) && 'nav__btnSelect') ))==null?'':__t)+
'">\r\n                                    <div class="'+
((__t=( f.getClass('nav__icon') ))==null?'':__t)+
'" style="width: 20px; height: 20px;">\r\n                                        '+
((__t=( f.renderBlock('icons.i_receipt') ))==null?'':__t)+
'\r\n                                    </div>\r\n                                    Тарифы\r\n                                </a>\r\n                            </li>\r\n                        ';
 } 
__p+='\r\n\r\n                        ';
 if ( context.dev === true && allow('getList','request_template')) { 
__p+='\r\n                            <li class="'+
((__t=( f.getClass('nav__item') ))==null?'':__t)+
'">\r\n                                <a href="/templates" class="'+
((__t=( f.getClass('resetBtn', 'nav__btn', 'textSecondary', 'textMB', /^management/.test(url) && 'nav__btnSelect') ))==null?'':__t)+
'">\r\n                                    <div class="'+
((__t=( f.getClass('nav__icon') ))==null?'':__t)+
'" style="width: 20px; height: 20px;">\r\n                                        '+
((__t=( f.renderBlock('icons.i_dotted-folder') ))==null?'':__t)+
'\r\n                                    </div>\r\n                                    Шаблоны услуг\r\n                                </a>\r\n                            </li>\r\n                        ';
 } 
__p+='\r\n\r\n\r\n\r\n                        ';
 if (context.dev === 3) { 
__p+='\r\n                            <li class="'+
((__t=( f.getClass('nav__item') ))==null?'':__t)+
'">\r\n                                <a href="/editor" class="'+
((__t=( f.getClass('resetBtn', 'nav__btn', 'textSecondary', 'textMB', /^editor/.test(url) && 'nav__btnSelect') ))==null?'':__t)+
'">\r\n                                    <div class="'+
((__t=( f.getClass('nav__icon') ))==null?'':__t)+
'" style="width: 20px; height: 20px;">\r\n                                        '+
((__t=( f.renderBlock('icons.i_four-persons') ))==null?'':__t)+
'\r\n                                    </div>\r\n                                    Редактор\r\n                                </a>\r\n                            </li>\r\n                        ';
 } 
__p+='\r\n\r\n                        ';
 if (context.dev === true) { 
__p+='\r\n                            <li class="'+
((__t=( f.getClass('nav__item') ))==null?'':__t)+
'">\r\n                                <a href="/analytics" class="'+
((__t=( f.getClass('resetBtn', 'nav__btn', 'textSecondary', 'textMB', /^analytics/.test(url) && 'nav__btnSelect') ))==null?'':__t)+
'">\r\n                                    <div class="'+
((__t=( f.getClass('nav__icon') ))==null?'':__t)+
'" style="width: 20px; height: 20px;">\r\n                                        '+
((__t=( f.renderBlock('icons.i_four-persons') ))==null?'':__t)+
'\r\n                                    </div>\r\n                                    Аналитика\r\n                                </a>\r\n                            </li>\r\n                        ';
 } 
__p+='\r\n                    </ul>\r\n                </nav>\r\n            </div>\r\n        </div>\r\n        <div class="'+
((__t=( f.getClass('head__container') ))==null?'':__t)+
'">\r\n            ';
 if (data.me){ 
__p+='\r\n            <div class="'+
((__t=( f.getClass('resetBtn', 'login') ))==null?'':__t)+
'">\r\n                <a class="'+
((__t=( f.getClass('resetBtn', 'login__btn') ))==null?'':__t)+
'" href="/profile">\r\n                    <div class="'+
((__t=( f.getClass('login__container') ))==null?'':__t)+
'">\r\n                        <span class="'+
((__t=( f.getClass('login__phone', 'textSB', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                            '+
((__t=( data.me.first_name ))==null?'':__t)+
'  '+
((__t=( data.me.last_name ))==null?'':__t)+
'\r\n                        </span>\r\n                        <span class="'+
((__t=( f.getClass('login__phone', 'textS', 'dark500base') ))==null?'':__t)+
'">\r\n                            '+
((__t=( data.me.email))==null?'':__t)+
'\r\n                        </span>\r\n                    </div>\r\n                </a>\r\n                <button '+
((__t=( e.click('deauth') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'login__exit') ))==null?'':__t)+
'" style="width: 20px; height: 20px;" aria-label="Выход из профиля">\r\n                    '+
((__t=( f.renderBlock('icons.i_login') ))==null?'':__t)+
'\r\n                </button>\r\n            </div>\r\n            ';
 } 
__p+='\r\n        </div>\r\n    </header>\r\n';
 } 
__p+='';
}
return __p;
}
window.renderBlocks['blocks-modalUniversal.empty'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';
 if (data.show) { 
__p+='\r\n    <div class="'+
((__t=( f.getClass('modal') ))==null?'':__t)+
' scrollBar">\r\n        <div class="'+
((__t=( f.getClass('modal__container') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('modal__head') ))==null?'':__t)+
'">\r\n                <h2 class="'+
((__t=( f.getClass('modal__title') ))==null?'':__t)+
'">\r\n                    '+
((__t=( data.title ))==null?'':__t)+
'\r\n                </h2>\r\n                <button '+
((__t=( e.click('hide') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'modal__close') ))==null?'':__t)+
'" style="width: 24px; height: 24px; min-width: 24px;">\r\n                    '+
((__t=( f.renderBlock('icons.i_x') ))==null?'':__t)+
'\r\n                </button>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('modal__info', 'textL', 'ColorTextSec') ))==null?'':__t)+
'">\r\n                <p class="'+
((__t=( f.getClass('modal__text', 'textL', 'ColorTextSec') ))==null?'':__t)+
'">\r\n                    '+
((__t=( data.subtitle ))==null?'':__t)+
'\r\n                </p>\r\n                <p class="'+
((__t=( f.getClass('modal__text', 'textL', 'ColorTextSec') ))==null?'':__t)+
'">\r\n                      '+
((__t=( data.text ))==null?'':__t)+
'\r\n                </p>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('modal__btnContainer') ))==null?'':__t)+
'">\r\n\r\n                ';
 if (data.onCancelText){ 
__p+='\r\n                    <button '+
((__t=( e.click('cancel') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnAgree') ))==null?'':__t)+
'">\r\n                        '+
((__t=( data.onCancelText ))==null?'':__t)+
'\r\n                    </button>\r\n                ';
 } 
__p+='\r\n\r\n                ';
 if (data.onSuccessText){ 
__p+='\r\n                    <button '+
((__t=( e.click('success') ))==null?'':__t)+
'  class="'+
((__t=( f.getClass('btnAgree') ))==null?'':__t)+
'">\r\n                        '+
((__t=( data.onSuccessText ))==null?'':__t)+
'\r\n                    </button>\r\n                ';
 } 
__p+='\r\n\r\n                ';
 if (data.onFailureText){ 
__p+='\r\n                    <button '+
((__t=( e.click('fail') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnDanger') ))==null?'':__t)+
'">\r\n                        '+
((__t=( data.onFailureText ))==null?'':__t)+
'\r\n                    </button>\r\n                ';
 } 
__p+='\r\n            </div>\r\n        </div>\r\n    </div>\r\n';
 } 
__p+='';
}
return __p;
}
window.renderBlocks['blocks-modalUniversal.modalAgree'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';
 if (data.show) { 
__p+='\r\n    <div class="'+
((__t=( f.getClass('modal') ))==null?'':__t)+
' scrollBar">\r\n        <div class="'+
((__t=( f.getClass('modal__container') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('modal__head') ))==null?'':__t)+
'">\r\n                <h2 class="'+
((__t=( f.getClass('modal__title') ))==null?'':__t)+
'">\r\n                    '+
((__t=( data.title ))==null?'':__t)+
'\r\n                </h2>\r\n                <button '+
((__t=( e.click('hide') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'modal__close') ))==null?'':__t)+
'" style="width: 24px; height: 24px; min-width: 24px;">\r\n                    '+
((__t=( f.renderBlock('icons.i_x') ))==null?'':__t)+
'\r\n                </button>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('modal__info', 'textL', 'ColorTextSec') ))==null?'':__t)+
'">\r\n                <p class="'+
((__t=( f.getClass('modal__text', 'textL', 'ColorTextSec') ))==null?'':__t)+
'">\r\n                    '+
((__t=( data.subtitle ))==null?'':__t)+
'\r\n                </p>\r\n                <p class="'+
((__t=( f.getClass('modal__text', 'textL', 'ColorTextSec') ))==null?'':__t)+
'">\r\n                      '+
((__t=( data.text ))==null?'':__t)+
'\r\n                </p>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('modal__btnContainer') ))==null?'':__t)+
'">\r\n\r\n                ';
 if (data.onCancelText){ 
__p+='\r\n                    <button '+
((__t=( e.click('cancel') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnAgree') ))==null?'':__t)+
'">\r\n                        '+
((__t=( data.onCancelText ))==null?'':__t)+
'\r\n                    </button>\r\n                ';
 } 
__p+='\r\n\r\n                ';
 if (data.onSuccessText){ 
__p+='\r\n                    <button '+
((__t=( e.click('success') ))==null?'':__t)+
'  class="'+
((__t=( f.getClass('btnAgree') ))==null?'':__t)+
'">\r\n                        '+
((__t=( data.onSuccessText ))==null?'':__t)+
'\r\n                    </button>\r\n                ';
 } 
__p+='\r\n\r\n                ';
 if (data.onFailureText){ 
__p+='\r\n                    <button '+
((__t=( e.click('fail') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnDanger') ))==null?'':__t)+
'">\r\n                        '+
((__t=( data.onFailureText ))==null?'':__t)+
'\r\n                    </button>\r\n                ';
 } 
__p+='\r\n            </div>\r\n        </div>\r\n    </div>\r\n';
 } 
__p+='';
}
return __p;
}
window.renderBlocks['blocks-navigation.back'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<a href="'+
((__t=( data.href ))==null?'':__t)+
'">\r\n    '+
((__t=( f.renderBlock('icons.i_chevron-left') ))==null?'':__t)+
'\r\n</a>';
}
return __p;
}
window.renderBlocks['blocks-news.edit'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('newsEdit') ))==null?'':__t)+
'">\r\n    \r\n    <div class="'+
((__t=( f.getClass('newsEdit__scroll') ))==null?'':__t)+
' scrollBar">\r\n        <div class="'+
((__t=( f.getClass('newsEdit__content') ))==null?'':__t)+
'">\r\n            <label class="'+
((__t=( f.getClass('newsEdit__item') ))==null?'':__t)+
'">\r\n                <h2 class="'+
((__t=( f.getClass('newsEdit__subtitle') ))==null?'':__t)+
'">\r\n                    Категория\r\n                </h2>\r\n                <div class="'+
((__t=( f.getClass('newsEdit__select') ))==null?'':__t)+
'">\r\n                    '+
((__t=( f.renderBlock('select_50',{
                        key:'type',
                        default:'media',
                        selected:query.type,
                        items: [
                            {name:'Медиа',value:'media'},
                            {name:'Индивидуальный',value:'individual'},
                            {name:'Групповой',value:'group'}
                        ]
                    }) ))==null?'':__t)+
'\r\n                </div>\r\n            </label>\r\n            <div class="'+
((__t=( f.getClass('newsEdit__item') ))==null?'':__t)+
'">\r\n                <h2 class="'+
((__t=( f.getClass('newsEdit__subtitle') ))==null?'':__t)+
'">\r\n                    Заголовок\r\n                </h2>\r\n                не получилось сделать изменение цвета плейсхолдера при наведении \r\n                <textarea class="'+
((__t=( f.getClass('newsEdit__input', 'input48') ))==null?'':__t)+
'" placeholder="Введите текст"></textarea>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('newsEdit__item') ))==null?'':__t)+
'">\r\n                <h2 class="'+
((__t=( f.getClass('newsEdit__subtitle') ))==null?'':__t)+
'">\r\n                    Обложка\r\n                </h2>\r\n                \r\n                <div class="'+
((__t=( f.getClass('newsEdit__imgContainer') ))==null?'':__t)+
'">\r\n                    <img class="'+
((__t=( f.getClass('newsEdit__imgContainer') ))==null?'':__t)+
'" src="/img/test/news-img01.jpg" style="max-width: 574px; max-height: 500px;">\r\n                </div>\r\n                <div class="'+
((__t=( f.getClass('newsEdit__btns') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('btn-agree') ))==null?'':__t)+
'">\r\n                        Загрузить\r\n                    </button>\r\n                    <button class="'+
((__t=( f.getClass('btn-agree') ))==null?'':__t)+
'">\r\n                        Изменить\r\n                    </button>\r\n                    <button class="'+
((__t=( f.getClass('btn-danger-empty') ))==null?'':__t)+
'">\r\n                        Удалить\r\n                    </button>\r\n                </div>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('newsEdit__item') ))==null?'':__t)+
'">\r\n                <h2 class="'+
((__t=( f.getClass('newsEdit__subtitle') ))==null?'':__t)+
'">\r\n                    Подзаголовок\r\n                </h2>\r\n                <textarea class="'+
((__t=( f.getClass('newsEdit__input', 'input48') ))==null?'':__t)+
'" placeholder="Введите текст"></textarea>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('newsEdit__item') ))==null?'':__t)+
'">\r\n                <h2 class="'+
((__t=( f.getClass('newsEdit__subtitle') ))==null?'':__t)+
'">\r\n                    Подзаголовок\r\n                </h2>\r\n                <textarea class="'+
((__t=( f.getClass('newsEdit__inputBig', 'input48') ))==null?'':__t)+
'" placeholder="Введите текст"></textarea>\r\n            </div>\r\n        </div>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('newsEdit__menu', 'newsEditMenu') ))==null?'':__t)+
'">\r\n        \r\n        <button class="'+
((__t=( f.getClass('btn-danger') ))==null?'':__t)+
'">\r\n            Удалить\r\n        </button>\r\n        <ul class="'+
((__t=( f.getClass('resetList', 'newsEditMenu__list') ))==null?'':__t)+
'">\r\n            <li class="'+
((__t=( f.getClass('newsEditMenu__item') ))==null?'':__t)+
'">\r\n                <button class="'+
((__t=( f.getClass('btn-empty') ))==null?'':__t)+
'">\r\n                    Отмена\r\n                </button>\r\n            </li>\r\n            <li class="'+
((__t=( f.getClass('newsEditMenu__item') ))==null?'':__t)+
'">\r\n                \r\n                <button class="'+
((__t=( f.getClass('btn-empty') ))==null?'':__t)+
'">\r\n                    Снять с публикации\r\n                </button>\r\n            </li>\r\n            <li class="'+
((__t=( f.getClass('newsEditMenu__item') ))==null?'':__t)+
'">\r\n                <button class="'+
((__t=( f.getClass('btn-empty') ))==null?'':__t)+
'">\r\n                    Сохранить черновик\r\n                </button>\r\n            </li>\r\n            <li class="'+
((__t=( f.getClass('newsEditMenu__item') ))==null?'':__t)+
'">\r\n                <button class="'+
((__t=( f.getClass('btn-agree') ))==null?'':__t)+
'">\r\n                    Сохранить\r\n                </button>\r\n            </li>\r\n            <li class="'+
((__t=( f.getClass('newsEditMenu__item') ))==null?'':__t)+
'">\r\n                <button class="'+
((__t=( f.getClass('btn-agree') ))==null?'':__t)+
'">\r\n                    Опубликовать\r\n                </button>\r\n            </li>\r\n        </ul>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-news'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('news') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('news__head') ))==null?'':__t)+
'">\r\n        <button class="'+
((__t=( f.getClass('resetBtn', 'news__btn') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('news__img') ))==null?'':__t)+
'" style="height: 24px; width: 24px; min-width: 24px;">\r\n                '+
((__t=( f.renderBlock('navigation.back') ))==null?'':__t)+
'\r\n            </div>\r\n            <h1 class="'+
((__t=( f.getClass('news__title', 'textH2', 'colorTextP') ))==null?'':__t)+
'">\r\n                Новости\r\n            </h1>\r\n        </button>\r\n        <div class="'+
((__t=( f.getClass('news__container') ))==null?'':__t)+
'">\r\n            <button class="'+
((__t=( f.getClass('news__search', 'btn-neutral', 'searchIput') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('searchInput__img') ))==null?'':__t)+
'" style="height: 24px; width: 24px; min-width: 24px;">\r\n                    '+
((__t=( f.renderBlock('icons.i_search') ))==null?'':__t)+
'\r\n                </div>\r\n                Поиск\r\n            </button>\r\n            <button class="'+
((__t=( f.getClass('btn-agree') ))==null?'':__t)+
'">\r\n                Добавить\r\n            </button>\r\n            <button class="'+
((__t=( f.getClass('btn-change') ))==null?'':__t)+
'">\r\n                Редактировать\r\n            </button>\r\n        </div>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('news__main') ))==null?'':__t)+
'">\r\n        \r\n        \r\n        '+
((__t=( f.renderBlock('news.edit') ))==null?'':__t)+
'\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-news.theNews'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('news') ))==null?'':__t)+
'">\r\n    \r\n    <div class="'+
((__t=( f.getClass('news__scroll') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('news__content') ))==null?'':__t)+
'">\r\n            <h2 class="'+
((__t=( f.getClass('news__title') ))==null?'':__t)+
'">\r\n                Официальным автомобилем ПМЭФ-2О24 выступит премиальный бренд HONGQI\r\n            </h2>\r\n            <div class="'+
((__t=( f.getClass('news__imgContainer') ))==null?'':__t)+
'">\r\n                <img class="'+
((__t=( f.getClass('news__img') ))==null?'':__t)+
'" src="/img/test/news-img01.jpg" alt="" style="max-width: 768px; max-height: 884px;">\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('news__container') ))==null?'':__t)+
'">\r\n                <p class="'+
((__t=( f.getClass('news__text') ))==null?'':__t)+
'">\r\n                    На протяжении всех дней работы Петербургского международного экономического форума (ПМЭФ) для передвижения \r\n                    его спикеров и партнеров будут использоваться автомобили премиального бренда из Китая — HONGQI (Хончи).\r\n                </p>\r\n                <p class="'+
((__t=( f.getClass('news__text') ))==null?'':__t)+
'">\r\n                    На данный момент HONGQI присутствует на рынках 28 стран, в частности — Бахрейна, Германии, Дании, Израиля, \r\n                    Катара, Норвегии, Нидерландов, ОАЭ, Саудовской Аравии, Филиппин, Швеции, и ряда других. В 2023 году Бренд \r\n                    официально вышел и на рынок России.\r\n                </p>\r\n                <p class="'+
((__t=( f.getClass('news__text') ))==null?'':__t)+
'">\r\n                    «Новый официальный автомобиль Форума поможет обеспечить необходимый уровень \r\n                    качества с точки зрения удобства, комфорта и безопасности для высокопоставленных гостей и участников ПМЭФ-2024. \r\n                    Мы надеемся, что официальные лица и гости Форума высоко оценят тот транспортный парк, который мы смогли \r\n                    сформировать благодаря партнерству с HONGQI», — отметил председатель правления, директор Фонда Росконгресс \r\n                    Александр Стуглев.\r\n                </p>\r\n                <p class="'+
((__t=( f.getClass('news__text') ))==null?'':__t)+
'">\r\n                    Помимо формирования официального парка мероприятия, в рамках выставочной экспозиции ПМЭФ-2024 \r\n                    HONGQI представит участникам и гостям Форума флагманские модели и новинки российской модельной линейки бренда. \r\n                </p>\r\n                <p class="'+
((__t=( f.getClass('news__text') ))==null?'':__t)+
'"> \r\n                    «Бренд HONGQI обладает богатым наследием, многолетним опытом создания представительских автомобилей. Это делает \r\n                    его поистине уникальным не только для автомобильной промышленности Китая, но и для России. Участие HO\r\n                </p>\r\n            </div>\r\n        </div>\r\n    </div>\r\n    \r\n    <div class="'+
((__t=( f.getClass('news__menu', 'newsMenu') ))==null?'':__t)+
' scrollBar">\r\n        <div class="'+
((__t=( f.getClass('newsMenu__scrollContainer') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('newsMenu__main') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('newsMenu__list') ))==null?'':__t)+
'">\r\n                    <div class="'+
((__t=( f.getClass('newsMenu__item') ))==null?'':__t)+
'">\r\n                        <h3 class="'+
((__t=( f.getClass('newsMenu__subtitle') ))==null?'':__t)+
'">\r\n                            Статус\r\n                        </h3>\r\n                        <p class="'+
((__t=( f.getClass('newsMenu__text') ))==null?'':__t)+
'">\r\n                            Опубликована\r\n                        </p>\r\n                    </div>\r\n                    <div class="'+
((__t=( f.getClass('newsMenu__item') ))==null?'':__t)+
'">\r\n                        <h3 class="'+
((__t=( f.getClass('newsMenu__subtitle') ))==null?'':__t)+
'">\r\n                            Категория\r\n                        </h3>\r\n                        <p class="'+
((__t=( f.getClass('newsMenu__text') ))==null?'':__t)+
'">\r\n                            Медиа\r\n                        </p>\r\n                    </div>\r\n                    <div class="'+
((__t=( f.getClass('newsMenu__item') ))==null?'':__t)+
'">\r\n                        <h3 class="'+
((__t=( f.getClass('newsMenu__subtitle') ))==null?'':__t)+
'">\r\n                            Подзаголовок статьи\r\n                        </h3>\r\n                        <p class="'+
((__t=( f.getClass('newsMenu__text') ))==null?'':__t)+
'">\r\n                            На протяжении всех дней работы Петербургского международного экономического форума (ПМЭФ) для передвижения его спикеров и партнеров будут использоваться автомобили премиального бренда из Китая — HONGQI (Хончи).\r\n                        </p>\r\n                    </div>\r\n                    <div class="'+
((__t=( f.getClass('newsMenu__item') ))==null?'':__t)+
'">\r\n                        <h3 class="'+
((__t=( f.getClass('newsMenu__subtitle') ))==null?'':__t)+
'">\r\n                            Автор\r\n                        </h3>\r\n                        <p class="'+
((__t=( f.getClass('newsMenu__text') ))==null?'':__t)+
'">\r\n                            Сорокин Денис\r\n                        </p>\r\n                    </div>\r\n                </div>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('newsMenu__statuses') ))==null?'':__t)+
'">\r\n                <h3 class="'+
((__t=( f.getClass('newsMenu__subtitle') ))==null?'':__t)+
'">\r\n                    Статусы\r\n                </h3>\r\n                <ul class="'+
((__t=( f.getClass('resetList', 'newsMenu__list') ))==null?'':__t)+
'">\r\n                    <li class="'+
((__t=( f.getClass('newsMenu__item') ))==null?'':__t)+
'">\r\n                        <h4 class="'+
((__t=( f.getClass('newsMenu__subtitle') ))==null?'':__t)+
'">\r\n                            Изменен\r\n                        </h4>\r\n                        <time class="'+
((__t=( f.getClass('newsMenu__text') ))==null?'':__t)+
'" datetime="2024-05-14 10:32">\r\n                            14 мая 2024 10:32\r\n                        </time>\r\n                    </li>\r\n                    <li class="'+
((__t=( f.getClass('newsMenu__item') ))==null?'':__t)+
'">\r\n                        <h4 class="'+
((__t=( f.getClass('newsMenu__subtitle') ))==null?'':__t)+
'">\r\n                            Опубликован\r\n                        </h4>\r\n                        <time class="'+
((__t=( f.getClass('newsMenu__text') ))==null?'':__t)+
'" datetime="2024-05-14 10:11">\r\n                            14 мая 2024 10:11\r\n                        </time>\r\n                    </li>\r\n                    <li class="'+
((__t=( f.getClass('newsMenu__item') ))==null?'':__t)+
'">\r\n                        <h4 class="'+
((__t=( f.getClass('newsMenu__subtitle') ))==null?'':__t)+
'">\r\n                            Создан\r\n                        </h4>\r\n                        <time class="'+
((__t=( f.getClass('newsMenu__text') ))==null?'':__t)+
'" datetime="2024-05-14 10:11">\r\n                            14 мая 2024 10:11\r\n                        </time>\r\n                    </li>\r\n                </ul>\r\n            </div>\r\n        </div>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-notificationList.notification'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='\r\n<div class="'+
((__t=( f.getClass('notification', data.mode === 'error' && 'notificationError') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('notification__head') ))==null?'':__t)+
'">\r\n        <p class="'+
((__t=( f.getClass('notification__text') ))==null?'':__t)+
'">\r\n            '+
((__t=( data.text ))==null?'':__t)+
'\r\n        </p>\r\n        <button '+
((__t=( data.action3 ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'notification__btnClose') ))==null?'':__t)+
'" style="width: 20px; height: 20px; min-width: 20px;">\r\n            '+
((__t=( f.renderBlock('icons.i_x') ))==null?'':__t)+
'\r\n        </button>\r\n    </div>\r\n    ';
 if (data.action1Text) { 
__p+='\r\n        <button '+
((__t=( data.action1 ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'btnNeutral') ))==null?'':__t)+
'">\r\n            '+
((__t=( data.action1Text ))==null?'':__t)+
'\r\n        </button>\r\n    ';
 } 
__p+='\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-notificationList.notificationBig'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='\r\n<div class="'+
((__t=( f.getClass('notification', data.mode === 'error' && 'notificationError') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('notification__head') ))==null?'':__t)+
'">\r\n        <h2 class="'+
((__t=( f.getClass('notification__title') ))==null?'':__t)+
'">\r\n           '+
((__t=( data.title ))==null?'':__t)+
'\r\n        </h2>\r\n        <button '+
((__t=( data.action3 ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'notification__btnClose') ))==null?'':__t)+
'" style="width: 20px; height: 20px; min-width: 20px;">\r\n            '+
((__t=( f.renderBlock('icons.i_x') ))==null?'':__t)+
'\r\n        </button>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('notification__container') ))==null?'':__t)+
'">\r\n        <p class="'+
((__t=( f.getClass('notification__text') ))==null?'':__t)+
'">\r\n            '+
((__t=( data.text ))==null?'':__t)+
'\r\n        </p>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('notification__btnConteiner') ))==null?'':__t)+
'">\r\n        ';
 if (data.action2Text){ 
__p+='\r\n            <button '+
((__t=( data.action2 ))==null?'':__t)+
'  class="'+
((__t=( f.getClass('resetBtn', 'btnEmpty') ))==null?'':__t)+
'">\r\n                '+
((__t=( data.action2Text ))==null?'':__t)+
'\r\n            </button>\r\n        ';
 } 
__p+='\r\n        ';
 if (data.action1Text){ 
__p+='\r\n            <button '+
((__t=( data.action1 ))==null?'':__t)+
'  class="'+
((__t=( f.getClass('resetBtn', 'btnNeutral') ))==null?'':__t)+
'">\r\n                '+
((__t=( data.action1Text ))==null?'':__t)+
'\r\n            </button>\r\n        ';
 } 
__p+='\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-notificationList'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';
 if ((data.list || []).length > 0){ 
__p+='\r\n    <ul class="'+
((__t=( f.getClass('resetList', 'notificationList') ))==null?'':__t)+
'">\r\n        ';
 for (let index = 0; index < data.list.length; index++) {
            const notification = data.list[index]; 
            const blockName = notification.type === 'big' ? 'notificationList.notificationBig' : 'notificationList.notification';
        
__p+=' \r\n\r\n            <li n-id="'+
((__t=(notification._id))==null?'':__t)+
'" class="'+
((__t=( f.getClass('notificationList__item', notification._new && 'notification__new') ))==null?'':__t)+
'">\r\n                '+
((__t=( f.renderBlock(blockName, {
                        ...notification,
                        action1: notification.action1 ? e.click('action1', index) : void 0,
                        action2: notification.action2 ? e.click('action2', index) : void 0,
                        action3: e.click('action3', index),
                    }) ))==null?'':__t)+
'\r\n            </li>\r\n        ';
 } 
__p+='\r\n    </ul>\r\n';
 } 
__p+='';
}
return __p;
}
window.renderBlocks['blocks-online'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass(data.online && 'online', 'badge') ))==null?'':__t)+
'"></div>';
}
return __p;
}
window.renderBlocks['blocks-operators.editOperator'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('ivent') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('ivent__main') ))==null?'':__t)+
' scrollBar">\r\n        <div class="'+
((__t=( f.getClass('ivent__container') ))==null?'':__t)+
'">\r\n            <form class="'+
((__t=( f.getClass('ivent__form', 'form') ))==null?'':__t)+
'" action="" method="POST">\r\n                <div class="'+
((__t=( f.getClass('ivent__section') ))==null?'':__t)+
'">\r\n                    <h2 class="'+
((__t=( f.getClass('ivent__title', 'colorPrimary', 'textLB', 'spaceBottom8') ))==null?'':__t)+
'">\r\n                        Оператор\r\n                    </h2>\r\n                    <p class="'+
((__t=( f.getClass('ivent__info', 'colorSecond', 'textM', 'spaceBottom16') ))==null?'':__t)+
'">\r\n                        Для внутреннего использования, клиент их не видит\r\n                    </p>\r\n                    <div class="'+
((__t=( f.getClass('ivent__inputs') ))==null?'':__t)+
'">\r\n                        <label class="'+
((__t=( f.getClass('inputBlock', 'textM', 'colorSecond') ))==null?'':__t)+
'">\r\n                            Имя\r\n                            <input class="'+
((__t=( f.getClass('inputBlock__field') ))==null?'':__t)+
'" name="" id="" type="text">\r\n                        </label>\r\n                        <label class="'+
((__t=( f.getClass('inputBlock', 'textM', 'colorSecond') ))==null?'':__t)+
'">\r\n                            Фамилия\r\n                            <input class="'+
((__t=( f.getClass('inputBlock__field') ))==null?'':__t)+
'" name="" id="" type="text">\r\n                        </label>\r\n                    </div>\r\n                </div>\r\n\r\n                <div class="'+
((__t=( f.getClass('ivent__section') ))==null?'':__t)+
'">\r\n                    <h2 class="'+
((__t=( f.getClass('ivent__title', 'colorPrimary', 'textLB', 'spaceBottom8') ))==null?'':__t)+
'">\r\n                        Контактная информация\r\n                    </h2>\r\n                    <p class="'+
((__t=( f.getClass('ivent__info', 'colorSecond', 'textM', 'spaceBottom16') ))==null?'':__t)+
'">\r\n                        Логином будет электронная почта\r\n                    </p>\r\n                    <div class="'+
((__t=( f.getClass('ivent__inputs') ))==null?'':__t)+
'">\r\n                        <label class="'+
((__t=( f.getClass('inputBlock', 'textM', 'colorSecond') ))==null?'':__t)+
'">\r\n                            Номер телефона\r\n                            <input class="'+
((__t=( f.getClass('inputBlock__field') ))==null?'':__t)+
'" name="" id="" type="text">\r\n                        </label>\r\n                        <label class="'+
((__t=( f.getClass('inputBlock', 'textM', 'colorSecond') ))==null?'':__t)+
'">\r\n                            Электронная почта\r\n                            <input class="'+
((__t=( f.getClass('inputBlock__field') ))==null?'':__t)+
'" name="" id="" type="email">\r\n                        </label>\r\n                    </div>\r\n                </div>\r\n\r\n                <div class="'+
((__t=( f.getClass('ivent__section') ))==null?'':__t)+
'">\r\n                    <h2 class="'+
((__t=( f.getClass('ivent__title', 'colorPrimary', 'textLB', 'spaceBottom8') ))==null?'':__t)+
'">\r\n                        Безопасность\r\n                    </h2>\r\n                    <div class="'+
((__t=( f.getClass('ivent__inputs', 'spaceGap16') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('ivent__btnWrapper', 'inputBlock') ))==null?'':__t)+
'">\r\n                            <label class="'+
((__t=( f.getClass('inputBlock', 'textM', 'colorSecond') ))==null?'':__t)+
'">\r\n                                Пароль\r\n                                <input class="'+
((__t=( f.getClass('inputBlock__field') ))==null?'':__t)+
'" name="" id="" type="text">\r\n                            </label>\r\n                            <button class="'+
((__t=( f.getClass('resetBtn', 'ivent__btnCopy') ))==null?'':__t)+
'" style="width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_square-two') ))==null?'':__t)+
'\r\n                            </button>\r\n                        </div>\r\n                        <button class="'+
((__t=( f.getClass('btnNeutral') ))==null?'':__t)+
'">Сгенерировать</button>\r\n                    </div>\r\n                </div>\r\n                <div class="'+
((__t=( f.getClass('ivent__section') ))==null?'':__t)+
'">\r\n                    <div class="'+
((__t=( f.getClass('ivent__inputs') ))==null?'':__t)+
'">\r\n                        <label class="'+
((__t=( f.getClass('inputBlock', 'textM', 'colorSecond') ))==null?'':__t)+
'">\r\n                            Уровень прав\r\n                            <div class="'+
((__t=( f.getClass('inputBlock__select') ))==null?'':__t)+
'">\r\n                                '+
((__t=( f.renderBlock('select_50',{
                                    key:'type',
                                    default:'operator',
                                    selected:query.type,
                                    items: [
                                        {name:'Оператор',value:'operator'},
                                        {name:'Администратор',value:'administrator'},
                                    ]
                                }) ))==null?'':__t)+
'\r\n                            </div>\r\n                        </label>\r\n                    </div>\r\n                </div>\r\n            </form>\r\n        </div>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('ivent__btnContainer') ))==null?'':__t)+
'">\r\n        <button class="'+
((__t=( f.getClass('btnCencel') ))==null?'':__t)+
'">Отмена</button>\r\n        <button class="'+
((__t=( f.getClass('btnAgree') ))==null?'':__t)+
'">Далее</button>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-operators.infoOperator'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('operatorInfo') ))==null?'':__t)+
'">\r\n    \r\n    <div class="'+
((__t=( f.getClass('operatorInfo__scroll') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('operatorInfo__content') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock('operators.infoOperContent', data) ))==null?'':__t)+
'\r\n        </div>\r\n    </div>\r\n    \r\n    <div class="'+
((__t=( f.getClass('operatorInfo__menu', 'operatorInfoMenu') ))==null?'':__t)+
' scrollBar" aria-label="Боковое меню">\r\n        <div class="'+
((__t=( f.getClass('operatorInfoMenu__scrollContainer') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('operatorInfoMenu__main', 'flexFull') ))==null?'':__t)+
'">\r\n                <h2 class="'+
((__t=( f.getClass('operatorInfoMenu__title', 'spaceBottom12') ))==null?'':__t)+
'">\r\n                    Информация\r\n                </h2>\r\n                <ul class="'+
((__t=( f.getClass('resetList', 'operatorInfoMenu__list') ))==null?'':__t)+
'">\r\n                    <li class="'+
((__t=( f.getClass('operatorInfo__item', 'cloudElement') ))==null?'':__t)+
'">\r\n                        <h3 class="'+
((__t=( f.getClass('operatorInfoMenu__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                            ID оператора\r\n                        </h3>\r\n                        <p class="'+
((__t=( f.getClass('resetLink', 'operatorInfoMenu__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                            '+
((__t=( data._id ))==null?'':__t)+
'\r\n                        </p>\r\n                    </li>\r\n                    ';
 if (data.phone_number) { 
__p+='\r\n                        <li class="'+
((__t=( f.getClass('operatorInfo__item', 'cloudElement') ))==null?'':__t)+
'">\r\n                            <h3 class="'+
((__t=( f.getClass('operatorInfoMenu__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                                Номер телефона\r\n                            </h3>\r\n                            <p class="'+
((__t=( f.getClass('resetLink', 'operatorInfoMenu__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                                '+
((__t=( data.phone_number ))==null?'':__t)+
'\r\n                            </p>\r\n                        </li>\r\n                    ';
 } 
__p+='\r\n\r\n                    ';
 if (data.email) { 
__p+='\r\n                        <li class="'+
((__t=( f.getClass('operatorInfo__item', 'cloudElement') ))==null?'':__t)+
'">\r\n                            <h3 class="'+
((__t=( f.getClass('operatorInfoMenu__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                                Электронная почта\r\n                            </h3>\r\n                            <p class="'+
((__t=( f.getClass('resetLink', 'operatorInfoMenu__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                                '+
((__t=( data.email ))==null?'':__t)+
'\r\n                            </p>\r\n                        </li>\r\n                    ';
 } 
__p+='\r\n\r\n                    <li class="'+
((__t=( f.getClass('operatorInfo__item', 'cloudElement') ))==null?'':__t)+
'">\r\n                        <h3 class="'+
((__t=( f.getClass('operatorInfoMenu__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                            Дата регистрации\r\n                        </h3>\r\n                        <time class="'+
((__t=( f.getClass('resetLink', 'operatorInfoMenu__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(data.created_at).locale(context.locale).format('YYYY-MM-DDTHH:mm') ))==null?'':__t)+
'">\r\n                            '+
((__t=( utils.moment(data.created_at).locale(context.locale).format('HH:mm D MMMM YYYY') ))==null?'':__t)+
'\r\n                        </time>\r\n                    </li>\r\n                </ul>\r\n            </div>\r\n            ';
 if (!USRStatus.prototype.isRemoved(data.status)){ 
__p+='\r\n\r\n                <div class="'+
((__t=( f.getClass('operatorInfoMenu__section') ))==null?'':__t)+
'">\r\n                    <h2 class="'+
((__t=( f.getClass('operatorInfoMenu__subtitle', 'textM', 'colorTextSec', 'spaceBottom20') ))==null?'':__t)+
'">\r\n                        Безопасность\r\n                    </h2>\r\n                    <ul class="'+
((__t=( f.getClass('resetList', 'operatorInfoMenu__list', 'spaceBottom12') ))==null?'':__t)+
'">\r\n                        <li class="'+
((__t=( f.getClass('operatorInfo__item') ))==null?'':__t)+
'">\r\n                            <button '+
((__t=( e.click('changePassword') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnLight') ))==null?'':__t)+
'">\r\n                                Сменить пароль\r\n                            </button>\r\n                        </li>\r\n                            <li class="'+
((__t=( f.getClass('operatorInfo__item') ))==null?'':__t)+
'">\r\n                                <button  '+
((__t=( e.click('block') ))==null?'':__t)+
'  class="'+
((__t=( f.getClass('btnDangLight') ))==null?'':__t)+
'">\r\n                                    Заблокировать доступ\r\n                                </button>\r\n                            </li>\r\n                    </ul>\r\n                </div>\r\n                \r\n                <div class="'+
((__t=( f.getClass('operatorInfoMenu__section') ))==null?'':__t)+
'">\r\n                    <div class="'+
((__t=( f.getClass('operatorInfoMenu__container', 'spaceBottom12') ))==null?'':__t)+
'">\r\n                        <h2 class="'+
((__t=( f.getClass('operatorInfoMenu__subtitle', 'textM', 'colorTextSec') ))==null?'':__t)+
'">\r\n                            Сессии\r\n                        </h2>\r\n                        <button '+
((__t=( e.click('closeAllSession') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnLightSmall', 'spaceBottom12') ))==null?'':__t)+
'">\r\n                            Завершить все\r\n                        </button>\r\n                    </div>\r\n\r\n                    <div class="'+
((__t=( f.getClass('resetList', 'operatorInfoMenu__list') ))==null?'':__t)+
'">\r\n                        '+
((__t=( f.renderBlock("list",{
                            pref:'session_list',
                            emptyText:'Cессий нет',
                            rowBlock:'operators.infoOperator.session',
                            params:{
                                sorting: [
                                    { field: 'created_at', order: 'desc' }
                                ],
                                params:{
                                    usr_id:data._id,
                                    closed:false,
                                }
                            },
                            limit:4,
                            list:'session_list',
                            command:'users.getList',
                        }) ))==null?'':__t)+
'\r\n                    </div>\r\n                </div> \r\n            ';
 } 
__p+='\r\n        </div>\r\n    </div>\r\n</div>\r\n\r\n'+
((__t=( f.renderBlock('modalUniversal.modalAgree',{pref:'modal'}) ))==null?'':__t)+
'\r\n'+
((__t=( f.renderBlock('operators.modalPass', {pref:'modalPass', _id: data._id}) ))==null?'':__t)+
'';
}
return __p;
}
window.renderBlocks['blocks-operators.infoOperator.session'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<li class="'+
((__t=( f.getClass('operatorInfo__item', 'cloudElement') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('cloudElement__container') ))==null?'':__t)+
'">\r\n        <time class="'+
((__t=( f.getClass('operatorInfoMenu__text', 'textS', 'colorTextSec') ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(data.created_at).locale(context.locale).format('YYYY-MM-DDTHH:mm')))==null?'':__t)+
'">\r\n            '+
((__t=( utils.moment(data.created_at).locale(context.locale).format('D MMMM YYYY HH:mm')))==null?'':__t)+
'\r\n        </time>\r\n        <button '+
((__t=( e.click('close', data._id) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'btnClose') ))==null?'':__t)+
'" style="width: 20px; height: 20px; min-width: 20px;">\r\n            '+
((__t=( f.renderBlock('icons.i_x') ))==null?'':__t)+
'\r\n        </button>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('cloudElement__lable') ))==null?'':__t)+
'">\r\n        <p class="'+
((__t=( f.getClass('operatorInfoMenu__headtext', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n           '+
((__t=( data.user_agent ))==null?'':__t)+
'\r\n        </p>\r\n    </div>\r\n</li>';
}
return __p;
}
window.renderBlocks['blocks-operators.infoOperContent'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('operatorInfo__section') ))==null?'':__t)+
'">\r\n    <ul class="'+
((__t=( f.getClass('resetList', 'operatorInfo__list', 'clientStatistic') ))==null?'':__t)+
'">\r\n        <li class="'+
((__t=( f.getClass('operatorInfo__item', 'cloudElement', 'flexFull') ))==null?'':__t)+
'">\r\n            <p class="'+
((__t=( f.getClass('operatorInfo__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                Закрыто запросов\r\n            </p>\r\n            <span class="'+
((__t=( f.getClass('operatorInfo__text', 'textH3', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                '+
((__t=(data.closed_request_count))==null?'':__t)+
'\r\n            </span>\r\n        </li>\r\n        <li class="'+
((__t=( f.getClass('operatorInfo__item', 'cloudElement', 'flexFull') ))==null?'':__t)+
'">\r\n            <p class="'+
((__t=( f.getClass('operatorInfo__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                Сообщения в чатах\r\n            </p>\r\n            <span class="'+
((__t=( f.getClass('operatorInfo__text', 'textH3', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                '+
((__t=( data.message_count ))==null?'':__t)+
'\r\n            </span>\r\n        </li>\r\n    </ul>\r\n</div>\r\n<div class="'+
((__t=( f.getClass('operatorInfo__section') ))==null?'':__t)+
'">\r\n    <h2 class="'+
((__t=( f.getClass('operatorInfo__title', 'textLB', 'colorTextPrim', 'spaceBottom16') ))==null?'':__t)+
'">\r\n        Открытые сессии\r\n    </h2>\r\n    <div class="'+
((__t=( f.getClass('resetList','operatorInfoMenu__list') ))==null?'':__t)+
'">\r\n        '+
((__t=( f.renderBlock("list",{
            emptyText:'Открытых сессий нет',
            rowBlock:'operators.infoOperContent.sessionItem',
            params:{
                sorting: [
                    { field: 'started_at', order: 'desc' }
                ],
                params:{
                    usr_id: data._id,
                    finished_at: '{NULL}'
                }
            },
            limit:4,
            list:'chat_session_list',
            command:'client.getList',
        })  ))==null?'':__t)+
'\r\n    </div>\r\n</div>\r\n<div class="'+
((__t=( f.getClass('operatorInfo__section') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('operatorInfo__subHead', 'spaceBottom16') ))==null?'':__t)+
'">\r\n        <h2 class="'+
((__t=( f.getClass('operatorInfo__title', 'textLB', 'colorTextPrim') ))==null?'':__t)+
'">\r\n            Активные запросы\r\n        </h2>\r\n        <a href="/operators/'+
((__t=( data._id ))==null?'':__t)+
'?type=requests" class="'+
((__t=( f.getClass('btnLightSmall') ))==null?'':__t)+
'">\r\n            Все запросы\r\n        </a>\r\n    </div>\r\n\r\n    <div class="'+
((__t=( f.getClass('resetList','operatorInfoMenu__list') ))==null?'':__t)+
'">\r\n        '+
((__t=( f.renderBlock("list",{
            emptyText:'Активных запросов нет',
            rowBlock:'operators.infoOperContent.requestItem',
            params:{
                params:{
                    usr_id: data._id,
                    confirmed: true,
                    completed: false,
                    canceled: false,
                },
                sorting: [
                    {field: 'created_at', order: 'desc'}, {field: '_id', order: 'asc'}
                ],
            },
            limit:4,
            list:'request_list',
            command:'client.getList',
        })  ))==null?'':__t)+
'\r\n    </div>\r\n\r\n</div>\r\n<div class="'+
((__t=( f.getClass('operatorInfo__section') ))==null?'':__t)+
'">\r\n    <h2 class="'+
((__t=( f.getClass('operatorInfo__title', 'textLB', 'colorTextPrim', 'spaceBottom16') ))==null?'':__t)+
'">\r\n        Созданные заметки\r\n    </h2>\r\n\r\n    <div class="'+
((__t=( f.getClass('resetList','operatorInfoMenu__list') ))==null?'':__t)+
'">\r\n        '+
((__t=( f.renderBlock("list",{
            emptyText:' Оператор не создавал заметок',
            rowBlock:'operators.infoOperContent.noteItem',
            params:{
                params:{
                    usr_id: data._id,
                    removed:false
                },
                sorting: [
                    {field: 'created_at', order: 'desc'}, {field: '_id', order: 'asc'}
                ],
            },
            sorting: [
                {field: 'created_at', order: 'desc'}, {field: '_id', order: 'asc'}
            ],
            limit:4,
            list:'client_note_list',
            command:'client.getList',
        })  ))==null?'':__t)+
'\r\n</div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-operators.infoOperContent.noteItem'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='    <a href="/clients/'+
((__t=( data.cl_id ))==null?'':__t)+
'" class="'+
((__t=( f.getClass('resetBtn', 'menuChatBlock') ))==null?'':__t)+
'">\r\n        <h3 class="'+
((__t=( f.getClass('menuChatBlock__title') ))==null?'':__t)+
'">\r\n            '+
((__t=( data.text ))==null?'':__t)+
'\r\n        </h3>\r\n        <div class="'+
((__t=( f.getClass('menuChatBlock__container') ))==null?'':__t)+
'">\r\n\r\n            <time class="'+
((__t=( f.getClass('menuChatBlock__text') ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(data.created_at).locale(context.locale).format('YYYY-MM-DDTHH:mm') ))==null?'':__t)+
'">\r\n                '+
((__t=( utils.moment(data.created_at).locale(context.locale).format('HH:mm D MMMM YYYY') ))==null?'':__t)+
'\r\n            </time>\r\n\r\n            <span class="'+
((__t=( f.getClass('menuChatBlock__text') ))==null?'':__t)+
'">\r\n                •\r\n            </span>\r\n            <p class="'+
((__t=( f.getClass('menuChatBlock__text') ))==null?'':__t)+
'">\r\n                '+
((__t=( data.client_first_name ))==null?'':__t)+
' '+
((__t=( data.client_last_name ))==null?'':__t)+
'\r\n            </p>\r\n        </div>\r\n    </a>\r\n';
}
return __p;
}
window.renderBlocks['blocks-operators.infoOperContent.requestItem'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<a href="/requests/'+
((__t=( data._id ))==null?'':__t)+
'"  class="'+
((__t=( f.getClass('resetBtn', 'menuChatBlock') ))==null?'':__t)+
'">\r\n    <h3 class="'+
((__t=( f.getClass('menuChatBlock__title') ))==null?'':__t)+
'">\r\n        '+
((__t=( data.text))==null?'':__t)+
'\r\n    </h3>\r\n    <div class="'+
((__t=( f.getClass('menuChatBlock__container') ))==null?'':__t)+
'">\r\n\r\n        <time class="'+
((__t=( f.getClass('menuChatBlock__text') ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(data.created_at).locale(context.locale).format('YYYY-MM-DDTHH:mm') ))==null?'':__t)+
'">\r\n            '+
((__t=( utils.moment(data.created_at).locale(context.locale).format('HH:mm D MMMM YYYY') ))==null?'':__t)+
'\r\n        </time>\r\n        ';
 if (data.completed_at) {  
__p+='\r\n            <span class="'+
((__t=( f.getClass('menuChatBlock__text') ))==null?'':__t)+
'">\r\n                —\r\n            </span>\r\n            <time class="'+
((__t=( f.getClass('menuChatBlock__text') ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(data.completed_at).locale(context.locale).format('YYYY-MM-DDTHH:mm') ))==null?'':__t)+
'">\r\n                '+
((__t=( utils.moment(data.completed_at).locale(context.locale).format('HH:mm D MMMM YYYY') ))==null?'':__t)+
'\r\n            </time>\r\n        ';
 } else if (data.confirmed_at){  
__p+='\r\n            <span class="'+
((__t=( f.getClass('menuChatBlock__text') ))==null?'':__t)+
'">\r\n                    —\r\n            </span>\r\n            <time class="'+
((__t=( f.getClass('menuChatBlock__text') ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(data.confirmed_at).locale(context.locale).format('YYYY-MM-DDTHH:mm') ))==null?'':__t)+
'">\r\n                '+
((__t=( utils.moment(data.confirmed_at).locale(context.locale).format('HH:mm D MMMM YYYY') ))==null?'':__t)+
'\r\n            </time>\r\n        ';
 } 
__p+='\r\n\r\n        \r\n\r\n        ';
 if (data.user) {  
__p+='\r\n            <span class="'+
((__t=( f.getClass('menuChatBlock__text') ))==null?'':__t)+
'">\r\n                •\r\n            </span>\r\n            <p class="'+
((__t=( f.getClass('menuChatBlock__text') ))==null?'':__t)+
'">\r\n                '+
((__t=( data.client.first_name ))==null?'':__t)+
' '+
((__t=( data.client.last_name ))==null?'':__t)+
'\r\n            </p>\r\n        ';
 } 
__p+='\r\n    </div>\r\n</a>\r\n';
}
return __p;
}
window.renderBlocks['blocks-operators.infoOperContent.sessionItem'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<button '+
((__t=( e.click('goToMessage',{msg: data, type:'session'}) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'menuChatBlock') ))==null?'':__t)+
'">\r\n    <h3 class="'+
((__t=( f.getClass('menuChatBlock__title') ))==null?'':__t)+
'">\r\n        '+
((__t=( data.client_first_name ))==null?'':__t)+
' '+
((__t=( data.client_last_name ))==null?'':__t)+
'\r\n    </h3>\r\n    <div class="'+
((__t=( f.getClass('menuChatBlock__container') ))==null?'':__t)+
'">\r\n        <time class="'+
((__t=( f.getClass('menuChatBlock__text') ))==null?'':__t)+
'">\r\n            '+
((__t=( utils.moment(data.started_at).locale(context.locale).fromNow(true) ))==null?'':__t)+
'\r\n        </time>\r\n    </div>\r\n</button>';
}
return __p;
}
window.renderBlocks['blocks-operators.modalPass'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';
 if (data.visible) { 
__p+='\r\n    <div class="'+
((__t=( f.getClass('modal') ))==null?'':__t)+
' scrollBar">\r\n        <div class="'+
((__t=( f.getClass('modal__container') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('modal__head') ))==null?'':__t)+
'">\r\n                <h2 class="'+
((__t=( f.getClass('modal__title') ))==null?'':__t)+
'">\r\n                    Изменить пароль\r\n                </h2>\r\n                <button '+
((__t=( e.click('hide') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'modal__close') ))==null?'':__t)+
'" style="width: 24px; height: 24px; min-width: 24px;">\r\n                    '+
((__t=( f.renderBlock('icons.i_x') ))==null?'':__t)+
'\r\n                </button>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('modal__info', 'textL', 'ColorTextSec') ))==null?'':__t)+
'">\r\n                <p class="'+
((__t=( f.getClass('modal__text', 'textL', 'ColorTextSec') ))==null?'':__t)+
'">\r\n                    Вы можете изменить пароль оператора, после этого все его сессии будут завершены, чтобы оператор смог войти в админ панель, вам нужно будет сообщить ему новый пароль\r\n                </p>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('ivent__inputs') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('ivent__btnWrapper', 'inputBlock') ))==null?'':__t)+
'">\r\n                    <label class="'+
((__t=( f.getClass('inputBlock') ))==null?'':__t)+
'">\r\n                        Новый пароль\r\n                        <input '+
((__t=( e.on('input', 'input')))==null?'':__t)+
' class="'+
((__t=( f.getClass('inputBlock__field') ))==null?'':__t)+
'" value="'+
((__t=( data.password ))==null?'':__t)+
'" type="text">\r\n                    </label>\r\n                    <button '+
((__t=( e.click('copy') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'ivent__btnCopy') ))==null?'':__t)+
'" style="width: 20px; height: 20px;" aria-label="Скопировать">\r\n                        '+
((__t=( f.renderBlock('icons.i_square-two') ))==null?'':__t)+
'\r\n                    </button>\r\n                </div>\r\n                <button '+
((__t=( e.click('gen') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnNeutral') ))==null?'':__t)+
'">Сгенерировать</button>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('modal__btnContainer') ))==null?'':__t)+
'">\r\n                <button '+
((__t=( e.click('hide') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnAgree') ))==null?'':__t)+
'">\r\n                    Отмена\r\n                </button>\r\n                <button '+
((__t=( e.click('save') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnDanger') ))==null?'':__t)+
'">\r\n                    Изменить\r\n                </button>\r\n            </div>\r\n        </div>\r\n    </div>\r\n';
 } 
__p+='';
}
return __p;
}
window.renderBlocks['blocks-partners.editContent'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('clients__main') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('addClient') ))==null?'':__t)+
'">\r\n        \r\n        <div class="'+
((__t=( f.getClass('addClient__scroll') ))==null?'':__t)+
' scrollBar">\r\n            <div class="'+
((__t=( f.getClass('addClient__content') ))==null?'':__t)+
'">\r\n                <label class="'+
((__t=( f.getClass('addClient__item', 'spaceBottm24') ))==null?'':__t)+
'">\r\n                    <h2 class="'+
((__t=( f.getClass('addClient__subtitle') ))==null?'':__t)+
'">\r\n                        Название\r\n                    </h2>\r\n                    <input required '+
((__t=( e.on('input', 'changeText', 'name') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('input48', 'input-small') ))==null?'':__t)+
'" placeholder="Введите текст" value="'+
((__t=( data.partner.name ))==null?'':__t)+
'" name="" id="" type="text">\r\n                </label>\r\n                <label class="'+
((__t=( f.getClass('addClient__item', 'spaceBottm24') ))==null?'':__t)+
'">\r\n                    <h2 class="'+
((__t=( f.getClass('addClient__subtitle') ))==null?'':__t)+
'">\r\n                        Директор\r\n                    </h2>\r\n                    <input required '+
((__t=( e.on('input', 'changeText', 'director') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('input48', 'input-small') ))==null?'':__t)+
'" placeholder="Введите текст" value="'+
((__t=( data.partner.director ))==null?'':__t)+
'" name="" id="" type="text">\r\n                </label>\r\n                <label class="'+
((__t=( f.getClass('addClient__item', 'spaceBottm24') ))==null?'':__t)+
'">\r\n                    <h2 class="'+
((__t=( f.getClass('addClient__subtitle') ))==null?'':__t)+
'">\r\n                        Краткое описание\r\n                    </h2>\r\n                    <textarea required '+
((__t=( e.on('input', 'changeText', 'subtitle') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('addClient__inputBig', 'input48') ))==null?'':__t)+
'" placeholder="Введите текст">'+
((__t=( data.partner.subtitle ))==null?'':__t)+
'</textarea>\r\n                </label>\r\n                <label class="'+
((__t=( f.getClass('addClient__item', 'spaceBottm24') ))==null?'':__t)+
'">\r\n                    <h2 class="'+
((__t=( f.getClass('addClient__subtitle') ))==null?'':__t)+
'">\r\n                        Детальное описание\r\n                    </h2>\r\n                    <textarea required '+
((__t=( e.on('input', 'changeText', 'description') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('addClient__inputBig', 'input48') ))==null?'':__t)+
'" placeholder="Введите текст">'+
((__t=( data.partner.description ))==null?'':__t)+
'</textarea>\r\n                </label>\r\n                <div class="'+
((__t=( f.getClass('addClient__item', 'spaceBottm24') ))==null?'':__t)+
'">\r\n                    '+
((__t=( f.renderBlock('partners.editContent.preview',{
                        title: 'Логотип',
                        img:data.partner.logo,
                        imgStyle:'width: 128px; height: 96px; overflow: hidden;',
                        pref:'logo'
                    }) ))==null?'':__t)+
'\r\n                </div>\r\n                <div class="'+
((__t=( f.getClass('addClient__item', 'spaceBottm24') ))==null?'':__t)+
'">\r\n                    '+
((__t=( f.renderBlock('partners.editContent.preview',{
                        title:'Обложка',
                        img:data.partner.img,
                        imgStyle:'width: 320px; height: 240px; overflow: hidden;',
                        pref:'preview'
                    }) ))==null?'':__t)+
'\r\n                </div>\r\n            </div>\r\n        </div>\r\n\r\n        <div class="'+
((__t=( f.getClass('addClient__menu', 'addClientMenu') ))==null?'':__t)+
'">\r\n            \r\n            <div style="flex:1" >\r\n                ';
 if (data._id) { 
__p+='\r\n                    <button '+
((__t=( e.click('remove') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btn-danger') ))==null?'':__t)+
'">\r\n                        Удалить\r\n                    </button>\r\n                ';
 } 
__p+='\r\n            </div>\r\n\r\n            <ul class="'+
((__t=( f.getClass('resetList', 'addClientMenu__list') ))==null?'':__t)+
'">\r\n                <li class="'+
((__t=( f.getClass('addClientMenu__item') ))==null?'':__t)+
'">\r\n                    <button '+
((__t=( e.click('goBack') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btn-empty') ))==null?'':__t)+
'">\r\n                        Отмена\r\n                    </button>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('addClientMenu__item') ))==null?'':__t)+
'">\r\n                    ';
 if (data._id) { 
__p+='\r\n                        <button '+
((__t=( e.click('makaDate') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btn-agree') ))==null?'':__t)+
'">\r\n                            Изменить\r\n                        </button>\r\n                    ';
 } else { 
__p+='\r\n                        <button '+
((__t=( e.click('makaDate') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btn-agree') ))==null?'':__t)+
'">\r\n                            Добавить\r\n                        </button>\r\n                    ';
 } 
__p+='\r\n                </li>\r\n            </ul>\r\n        </div>\r\n        \r\n    </div>\r\n</div>\r\n'+
((__t=( f.renderBlock('modalUniversal.modalAgree',{pref:'modal'}) ))==null?'':__t)+
'';
}
return __p;
}
window.renderBlocks['blocks-partners.editContent.preview'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='    <h2 class="'+
((__t=( f.getClass('newsEdit__subtitle') ))==null?'':__t)+
'">\r\n        '+
((__t=( data.title ))==null?'':__t)+
'\r\n    </h2>\r\n    \r\n    ';
 if (data.img !== undefined) {  
__p+='\r\n        <div class="'+
((__t=( f.getClass('newsEdit__imgContainer') ))==null?'':__t)+
'" style="'+
((__t=( data.imgStyle ))==null?'':__t)+
'">\r\n            <img class="'+
((__t=( f.getClass('newsEdit__img') ))==null?'':__t)+
'" src="'+
((__t=( utils.makeImageUrl(data.img) ))==null?'':__t)+
'" style="max-width: 100%;">\r\n        </div>\r\n    ';
 } 
__p+='\r\n\r\n    <div class="'+
((__t=( f.getClass('newsEdit__btns') ))==null?'':__t)+
'">\r\n        ';
 if (data.img) {  
__p+='\r\n            <button '+
((__t=( e.click('recrop')))==null?'':__t)+
'  class="'+
((__t=( f.getClass('btn-agree') ))==null?'':__t)+
'">\r\n                Изменить\r\n            </button>\r\n            <button '+
((__t=( e.click('remove')))==null?'':__t)+
'  class="'+
((__t=( f.getClass('btn-danger-empty') ))==null?'':__t)+
'">\r\n                Удалить\r\n            </button>\r\n        ';
 } else { 
__p+='\r\n            <button '+
((__t=( e.click('change')))==null?'':__t)+
' class="'+
((__t=( f.getClass('btn-agree') ))==null?'':__t)+
'">\r\n                Загрузить\r\n            </button>\r\n        ';
 } 
__p+='\r\n    </div>\r\n\r\n<input accept="image/jpeg,image/png"  '+
((__t=( e.on('change','avatarChange') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('fileInput') ))==null?'':__t)+
'" type="file" />\r\n\r\n'+
((__t=( f.renderEmptyBlock("ImageCropper",{
    title:'Изображение профиля',
    subtitle:'Рекомендуемый размер изображения 300х300'
}) ))==null?'':__t)+
'\r\n';
}
return __p;
}
window.renderBlocks['blocks-partners.infoContent'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('partnersModal') ))==null?'':__t)+
'">\r\n    <!-- <div class="'+
((__t=( f.getClass('partnersModal__head') ))==null?'':__t)+
'">\r\n        <h2 class="'+
((__t=( f.getClass('partnersModal__title', 'textH3', 'ColorTextPr') ))==null?'':__t)+
'">\r\n            Название\r\n        </h2>\r\n    </div> -->\r\n    <div class="'+
((__t=( f.getClass('partnersModal__scroll') ))==null?'':__t)+
' scrollBar">\r\n        <div class="'+
((__t=( f.getClass('partnersModal__scrollContainer') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('partnersModal__section') ))==null?'':__t)+
'">\r\n                <h3 class="'+
((__t=( f.getClass('partnersModal__subtitle', 'colorTextSec', 'textS') ))==null?'':__t)+
'">\r\n                    Название\r\n                </h3>\r\n                <p class="'+
((__t=( f.getClass('partnersModal__text', 'textM', 'colorTextPr') ))==null?'':__t)+
'">\r\n                    '+
((__t=( data.partner.name ))==null?'':__t)+
'\r\n                </p>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('partnersModal__section') ))==null?'':__t)+
'">\r\n                <h3 class="'+
((__t=( f.getClass('partnersModal__subtitle', 'colorTextSec', 'textS') ))==null?'':__t)+
'">\r\n                    Директор\r\n                </h3>\r\n                <p class="'+
((__t=( f.getClass('partnersModal__text', 'textM', 'colorTextPr') ))==null?'':__t)+
'">\r\n                    '+
((__t=( data.partner.director ))==null?'':__t)+
'\r\n                </p>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('partnersModal__section') ))==null?'':__t)+
'">\r\n                <h3 class="'+
((__t=( f.getClass('partnersModal__subtitle', 'colorTextSec', 'textS') ))==null?'':__t)+
'">\r\n                    Краткое описание\r\n                </h3>\r\n                <p class="'+
((__t=( f.getClass('partnersModal__text', 'textM', 'colorTextPr') ))==null?'':__t)+
'">\r\n                    '+
((__t=( data.partner.subtitle ))==null?'':__t)+
'\r\n                </p>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('partnersModal__section') ))==null?'':__t)+
'">\r\n                <h3 class="'+
((__t=( f.getClass('partnersModal__subtitle', 'colorTextSec', 'textS') ))==null?'':__t)+
'">\r\n                    Полное описание\r\n                </h3>\r\n                <p class="'+
((__t=( f.getClass('partnersModal__text', 'textM', 'colorTextPr') ))==null?'':__t)+
'">\r\n                    '+
((__t=( data.partner.description ))==null?'':__t)+
'\r\n                </p>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('partnersModal__section') ))==null?'':__t)+
'">\r\n                <h3 class="'+
((__t=( f.getClass('partnersModal__subtitle', 'colorTextSec', 'textS') ))==null?'':__t)+
'">\r\n                    Логотип\r\n                </h3>\r\n                <div class="'+
((__t=( f.getClass('partnersModal__logo') ))==null?'':__t)+
'" style="width: 128px; height: 96px; overflow: hidden;">\r\n                    <img class="'+
((__t=( f.getClass('partnersModal__imgLogo') ))==null?'':__t)+
'" src="'+
((__t=( utils.makeImageUrl(data.partner.logo) ))==null?'':__t)+
'" alt="" aria-hidden="true" style="max-width: 100%;">\r\n                </div>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('partnersModal__section') ))==null?'':__t)+
'">\r\n                <h3 class="'+
((__t=( f.getClass('partnersModal__subtitle', 'colorTextSec', 'textS') ))==null?'':__t)+
'">\r\n                    Обложка\r\n                </h3>\r\n                <div class="'+
((__t=( f.getClass('partnersModal__preview') ))==null?'':__t)+
'" style="width: 320px; height: 240px; overflow: hidden;">\r\n                    <img class="'+
((__t=( f.getClass('partnersModal__imgPreview') ))==null?'':__t)+
'" src="'+
((__t=( utils.makeImageUrl(data.partner.img) ))==null?'':__t)+
'" alt="" style="max-width: 100%;" aria-hidden="true">\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-partners.item'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<a class="'+
((__t=( f.getClass('resetList', 'organization') ))==null?'':__t)+
'" href="/partners/'+
((__t=( data._id ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('organization__logo') ))==null?'':__t)+
'" style="min-width: 48px; height: 48px; width: 48px; text-align: center;">\r\n        <img class="'+
((__t=( f.getClass('organization__logo-img') ))==null?'':__t)+
'" src="'+
((__t=( utils.makeImageUrl(data.logo) ))==null?'':__t)+
'" style="max-width: 48px; max-height: 48px;" alt="" aria-hidden="true">\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('organization__container') ))==null?'':__t)+
'">\r\n        <p class="'+
((__t=( f.getClass('organization__text', 'textMB', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n            '+
((__t=( data.name ))==null?'':__t)+
'\r\n        </p>\r\n    </div>\r\n</a>';
}
return __p;
}
window.renderBlocks['blocks-partners'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('partners') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('partners__head') ))==null?'':__t)+
'">\r\n        <h1 class="'+
((__t=( f.getClass('partners__title', 'textH2', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n            Мероприятия\r\n        </h1>\r\n        <div class="'+
((__t=( f.getClass('partners__search') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock("search")  ))==null?'':__t)+
'\r\n        </div>\r\n        <button class="'+
((__t=( f.getClass('btn-agree') ))==null?'':__t)+
'">\r\n            Добавить\r\n        </button>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('partners__main') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('partners__select-container') ))==null?'':__t)+
'">\r\n            \r\n            '+
((__t=( f.renderBlock("select_40")  ))==null?'':__t)+
'\r\n        </div>\r\n        <div class="'+
((__t=( f.getClass('partners__scroll') ))==null?'':__t)+
'">\r\n            <ul class="'+
((__t=( f.getClass('resetList', 'partners__list') ))==null?'':__t)+
'">\r\n                <li class="'+
((__t=( f.getClass('partners__item') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'organization') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('organization__logo') ))==null?'':__t)+
'" style="min-width: 48px; text-align: center;">\r\n                            <img class="'+
((__t=( f.getClass('organization__logo-img') ))==null?'':__t)+
'" src="/img/partners_logo/avtodor.png" style="max-width: 48px; max-height: 48px;" alt="" aria-hidden="true">\r\n                        </div>\r\n                        <div class="'+
((__t=( f.getClass('organization__container') ))==null?'':__t)+
'">\r\n                            <p class="'+
((__t=( f.getClass('organization__text', 'textMB', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                                ГК «Автодор»\r\n                            </p>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('partners__item') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'organization') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('organization__logo') ))==null?'':__t)+
'" style="min-width: 48px; text-align: center;">\r\n                            <img class="'+
((__t=( f.getClass('organization__logo-img') ))==null?'':__t)+
'" src="/img/partners_logo/sibur.png" style="max-width: 48px; max-height: 48px;" alt="" aria-hidden="true">\r\n                        </div>\r\n                        <div class="'+
((__t=( f.getClass('organization__container') ))==null?'':__t)+
'">\r\n                            <p class="'+
((__t=( f.getClass('organization__text', 'textMB', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                                ООО «СИБУР»\r\n                            </p>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('partners__item') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'organization') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('organization__logo') ))==null?'':__t)+
'" style="min-width: 48px; text-align: center;">\r\n                            <img class="'+
((__t=( f.getClass('organization__logo-img') ))==null?'':__t)+
'" src="/img/partners_logo/sogaz.png" style="max-width: 48px; max-height: 48px;" alt="" aria-hidden="true">\r\n                        </div>\r\n                        <div class="'+
((__t=( f.getClass('organization__container') ))==null?'':__t)+
'">\r\n                            <p class="'+
((__t=( f.getClass('organization__text', 'textMB', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                                АО «СОГАЗ»\r\n                            </p>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('partners__item') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'organization') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('organization__logo') ))==null?'':__t)+
'" style="min-width: 48px; text-align: center;">\r\n                            <img class="'+
((__t=( f.getClass('organization__logo-img') ))==null?'':__t)+
'" src="/img/partners_logo/evrohim.png" style="max-width: 48px; max-height: 48px;" alt="" aria-hidden="true">\r\n                        </div>\r\n                        <div class="'+
((__t=( f.getClass('organization__container') ))==null?'':__t)+
'">\r\n                            <p class="'+
((__t=( f.getClass('organization__text', 'textMB', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                                Минерально-химическая компания ЕвроХим\r\n                            </p>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('partners__item') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'organization') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('organization__logo') ))==null?'':__t)+
'" style="min-width: 48px; text-align: center;">\r\n                            <img class="'+
((__t=( f.getClass('organization__logo-img') ))==null?'':__t)+
'" src="/img/partners_logo/msp.png" style="max-width: 48px; max-height: 48px;" alt="" aria-hidden="true">\r\n                        </div>\r\n                        <div class="'+
((__t=( f.getClass('organization__container') ))==null?'':__t)+
'">\r\n                            <p class="'+
((__t=( f.getClass('organization__text', 'textMB', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                                АО «Корпорация «МСП»\r\n                            </p>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('partners__item') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'organization') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('organization__logo') ))==null?'':__t)+
'" style="min-width: 48px; text-align: center;">\r\n                            <img class="'+
((__t=( f.getClass('organization__logo-img') ))==null?'':__t)+
'" src="/img/partners_logo/aurus.png" style="max-width: 48px; max-height: 48px;" alt="" aria-hidden="true">\r\n                        </div>\r\n                        <div class="'+
((__t=( f.getClass('organization__container') ))==null?'':__t)+
'">\r\n                            <p class="'+
((__t=( f.getClass('organization__text', 'textMB', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                                Пермский край\r\n                            </p>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('partners__item') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'organization') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('organization__logo') ))==null?'':__t)+
'" style="min-width: 48px; text-align: center;">\r\n                            <img class="'+
((__t=( f.getClass('organization__logo-img') ))==null?'':__t)+
'" src="/img/partners_logo/sverdl_obl.png" style="max-width: 48px; max-height: 48px;" alt="" aria-hidden="true">\r\n                        </div>\r\n                        <div class="'+
((__t=( f.getClass('organization__container') ))==null?'':__t)+
'">\r\n                            <p class="'+
((__t=( f.getClass('organization__text', 'textMB', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                                Правительство Свердловской области\r\n                            </p>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('partners__item') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'organization') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('organization__logo') ))==null?'':__t)+
'" style="min-width: 48px; text-align: center;">\r\n                            <img class="'+
((__t=( f.getClass('organization__logo-img') ))==null?'':__t)+
'" src="/img/partners_logo/krasni_ortiybr.png" style="max-width: 48px; max-height: 48px;" alt="" aria-hidden="true">\r\n                        </div>\r\n                        <div class="'+
((__t=( f.getClass('organization__container') ))==null?'':__t)+
'">\r\n                            <p class="'+
((__t=( f.getClass('organization__text', 'textMB', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                                Московская кондитерская фабрика «Красный Октябрь»\r\n                            </p>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('partners__item') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'organization') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('organization__logo') ))==null?'':__t)+
'" style="min-width: 48px; text-align: center;">\r\n                            <img class="'+
((__t=( f.getClass('organization__logo-img') ))==null?'':__t)+
'" src="/img/partners_logo/premor_kray.png" style="max-width: 48px; max-height: 48px;" alt="" aria-hidden="true">\r\n                        </div>\r\n                        <div class="'+
((__t=( f.getClass('organization__container') ))==null?'':__t)+
'">\r\n                            <p class="'+
((__t=( f.getClass('organization__text', 'textMB', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                                Питьевая вода AURUS\r\n                            </p>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n            </ul>\r\n        </div>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-privileges.privilegeNew'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('privilege') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('privilege__head', 'privilegeHead') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('privilegeHead__privilegeList') ))==null?'':__t)+
'">\r\n            <button class="'+
((__t=( f.getClass('resetBtn', 'privilege__btnBack') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('privilege__imgBack') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                    '+
((__t=( f.renderBlock('navigation.back') ))==null?'':__t)+
'\r\n                </div>\r\n            </button>\r\n            <h1 class="'+
((__t=( f.getClass('privilege__title') ))==null?'':__t)+
'">\r\n                <input class="'+
((__t=( f.getClass('privilege__input') ))==null?'':__t)+
'" type="text" placeholder="Название уровня привилегии">\r\n            </h1>\r\n        </div>\r\n    </div>\r\n    \r\n    <div class="'+
((__t=( f.getClass('privilege__main') ))==null?'':__t)+
'">\r\n        '+
((__t=( f.renderBlock("privileges.privilegeNew.privilegeNewEdit")  ))==null?'':__t)+
'\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('privilege__footer') ))==null?'':__t)+
'">\r\n        <button class="'+
((__t=( f.getClass('btnDanger') ))==null?'':__t)+
'">\r\n            Удалить\r\n        </button>\r\n        <div class="'+
((__t=( f.getClass('privilege__buttons') ))==null?'':__t)+
'">\r\n            <button class="'+
((__t=( f.getClass('btnNeutral') ))==null?'':__t)+
'">\r\n                Отмена\r\n            </button>\r\n            <button class="'+
((__t=( f.getClass('btnAgree') ))==null?'':__t)+
'">\r\n                Создать\r\n            </button>\r\n        </div>\r\n    </div>\r\n</div>\r\n';
}
return __p;
}
window.renderBlocks['blocks-privileges.privilegeNew.privilegeNewEdit'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('privilegeSerNew__scroll') ))==null?'':__t)+
' scrollBar">\r\n    <div class="'+
((__t=( f.getClass('privilegeSerNew__scrollContainer') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('privilegeSerNew__head') ))==null?'':__t)+
'">\r\n            <h2 class="'+
((__t=( f.getClass('privilegeSerNew__title') ))==null?'':__t)+
'">\r\n                Доступные услуги\r\n            </h2>\r\n            <button class="'+
((__t=( f.getClass('btnAgreeLightSmasll') ))==null?'':__t)+
'">\r\n                Добавить категорию\r\n            </button>\r\n        </div>\r\n        <div class="'+
((__t=( f.getClass('privilegeSerNew__section') ))==null?'':__t)+
'">\r\n            \r\n            <div class="'+
((__t=( f.getClass('privilegeSerNew__block', 'privilegeSerBlock') ))==null?'':__t)+
'">\r\n                <input class="'+
((__t=( f.getClass('privilegeSerBlock__input') ))==null?'':__t)+
'" type="text" placeholder="Введите название">\r\n                <div class="'+
((__t=( f.getClass('privilegeSerBlock__container') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'privilegeSerBlock__smallBtn') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;" aria-label="Подтвердить">\r\n                        '+
((__t=( f.renderBlock('icons.i_check') ))==null?'':__t)+
'\r\n                    </button>\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'privilegeSerBlock__smallBtn') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;" aria-label="Удалить">\r\n                        '+
((__t=( f.renderBlock('icons.i_wastebasket') ))==null?'':__t)+
'\r\n                    </button>\r\n                </div>\r\n            </div>\r\n            \r\n        </div>\r\n    </div>\r\n    \r\n    <div class="'+
((__t=( f.getClass('privilegeSerNew__empty') ))==null?'':__t)+
'">\r\n        <button class="'+
((__t=( f.getClass('btnAgreeLight') ))==null?'':__t)+
'">\r\n            Добавить категорию\r\n        </button>\r\n    </div>\r\n    \r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-privileges.privilegesModal.madalSerTemplate'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('servicesModalT') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('servicesModalT__head') ))==null?'':__t)+
'">\r\n        <h2 class="'+
((__t=( f.getClass('servicesModalT__title', 'textH3', 'ColorTextPr') ))==null?'':__t)+
'">\r\n            Выберите шаблон\r\n        </h2>\r\n        <div class="'+
((__t=( f.getClass('servicesModalT__iput', 'servicesModalTIput') ))==null?'':__t)+
'">\r\n            <input class="'+
((__t=( f.getClass('input48', 'servicesModalTIput__input') ))==null?'':__t)+
'" type="text" placeholder="Найти">\r\n            <div class="'+
((__t=( f.getClass('servicesModalTIput__img') ))==null?'':__t)+
'" style="width: 20px; min-width: 20px; height: 20px;">\r\n                '+
((__t=( f.renderBlock('icons.i_search') ))==null?'':__t)+
'\r\n            </div>\r\n        </div>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('servicesModalT__scroll') ))==null?'':__t)+
' scrollBar">\r\n        <div class="'+
((__t=( f.getClass('servicesModalT__scrollContainer') ))==null?'':__t)+
'">\r\n            <ul class="'+
((__t=( f.getClass('resetList', 'servicesModalT__list') ))==null?'':__t)+
'">\r\n                <li class="'+
((__t=( f.getClass('servicesModalT__item', 'servicesBlock') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__btn') ))==null?'':__t)+
'">\r\n                        Доставка аккредитации\r\n                    </button>\r\n                    \r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__favorite') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__container') ))==null?'':__t)+
'" style="position: relative;">\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img01') ))==null?'':__t)+
'" style="width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star') ))==null?'':__t)+
'\r\n                            </div>\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img02') ))==null?'':__t)+
'" style="position: absolute; top: 0; width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star-fill') ))==null?'':__t)+
'\r\n                            </div>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('servicesModalT__item', 'servicesBlock') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__btn') ))==null?'':__t)+
'">\r\n                        Гостиничное размещение\r\n                    </button>\r\n                    \r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__favorite', 'opacityVisible') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__container') ))==null?'':__t)+
'" style="position: relative;">\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img01') ))==null?'':__t)+
'" style="width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star') ))==null?'':__t)+
'\r\n                            </div>\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img02') ))==null?'':__t)+
'" style="position: absolute; top: 0; width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star-fill') ))==null?'':__t)+
'\r\n                            </div>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('servicesModalT__item', 'servicesBlock') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__btn') ))==null?'':__t)+
'">\r\n                        Размещение\r\n                    </button>\r\n                    \r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__favorite') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__container') ))==null?'':__t)+
'" style="position: relative;">\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img01') ))==null?'':__t)+
'" style="width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star') ))==null?'':__t)+
'\r\n                            </div>\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img02') ))==null?'':__t)+
'" style="position: absolute; top: 0; width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star-fill') ))==null?'':__t)+
'\r\n                            </div>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('servicesModalT__item', 'servicesBlock') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__btn') ))==null?'':__t)+
'">\r\n                        Размещение\r\n                    </button>\r\n                    \r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__favorite') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__container') ))==null?'':__t)+
'" style="position: relative;">\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img01') ))==null?'':__t)+
'" style="width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star') ))==null?'':__t)+
'\r\n                            </div>\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img02') ))==null?'':__t)+
'" style="position: absolute; top: 0; width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star-fill') ))==null?'':__t)+
'\r\n                            </div>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('servicesModalT__item', 'servicesBlock') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__btn') ))==null?'':__t)+
'">\r\n                        Размещение\r\n                    </button>\r\n                    \r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__favorite') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__container') ))==null?'':__t)+
'" style="position: relative;">\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img01') ))==null?'':__t)+
'" style="width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star') ))==null?'':__t)+
'\r\n                            </div>\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img02') ))==null?'':__t)+
'" style="position: absolute; top: 0; width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star-fill') ))==null?'':__t)+
'\r\n                            </div>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('servicesModalT__item', 'servicesBlock') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__btn') ))==null?'':__t)+
'">\r\n                        Размещение\r\n                    </button>\r\n                    \r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__favorite') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__container') ))==null?'':__t)+
'" style="position: relative;">\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img01') ))==null?'':__t)+
'" style="width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star') ))==null?'':__t)+
'\r\n                            </div>\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img02') ))==null?'':__t)+
'" style="position: absolute; top: 0; width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star-fill') ))==null?'':__t)+
'\r\n                            </div>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('servicesModalT__item', 'servicesBlock') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__btn') ))==null?'':__t)+
'">\r\n                        Размещение\r\n                    </button>\r\n                    \r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__favorite') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__container') ))==null?'':__t)+
'" style="position: relative;">\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img01') ))==null?'':__t)+
'" style="width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star') ))==null?'':__t)+
'\r\n                            </div>\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img02') ))==null?'':__t)+
'" style="position: absolute; top: 0; width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star-fill') ))==null?'':__t)+
'\r\n                            </div>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n            </ul>\r\n        </div>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('servicesModalT__btnContainer') ))==null?'':__t)+
'">\r\n        <button class="'+
((__t=( f.getClass('btnNeutral') ))==null?'':__t)+
'">\r\n            Отмена\r\n        </button>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-privileges.privilegesModal.madalServices'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('servicesModal') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('servicesModal__head') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('servicesModal__containerHead') ))==null?'':__t)+
'">\r\n            <h2 class="'+
((__t=( f.getClass('servicesModal__title', 'textH3', 'ColorTextPr') ))==null?'':__t)+
'">\r\n                Заказ одежды\r\n            </h2>\r\n            \r\n            <button class="'+
((__t=( f.getClass('resetBtn', 'servicesModal__editTitle') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                '+
((__t=( f.renderBlock('icons.i_pen') ))==null?'':__t)+
'\r\n            </button>\r\n            \r\n\r\n        </div>\r\n        <button class="'+
((__t=( f.getClass('btnSmallLight') ))==null?'':__t)+
'">\r\n            Редактировать\r\n        </button>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('servicesModal__scroll') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('servicesModal__scrollContainer') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('servicesModal__section') ))==null?'':__t)+
'">\r\n                \r\n                <div class="'+
((__t=( f.getClass('servicesModal__select', 'servicesModalSelect', 'bottomSpace24') ))==null?'':__t)+
'">\r\n                    <h3 class="'+
((__t=( f.getClass('servicesModalSelect__text') ))==null?'':__t)+
'">\r\n                        Метка\r\n                    </h3>\r\n                    <div class="'+
((__t=( f.getClass('servicesModalSelect__select') ))==null?'':__t)+
'">\r\n                        '+
((__t=( f.renderBlock('select_50',{
                            key:'type',
                            default:'one',
                            selected:query.type,
                            items: [
                                {name:'20%',value:'one'},
                                {name:'40%',value:'two'},
                                {name:'60%',value:'three'}
                            ]
                        }) ))==null?'':__t)+
'\r\n                    </div>\r\n                </div>\r\n                \r\n\r\n                <div class="'+
((__t=( f.getClass('servicesModal__subhead', 'bottomSpace12') ))==null?'':__t)+
'">\r\n                    <h3 class="'+
((__t=( f.getClass('servicesModal__tag', 'tag') ))==null?'':__t)+
'">\r\n                        Привилегия\r\n                    </h3>\r\n                </div>\r\n                \r\n                <div class="'+
((__t=( f.getClass('servicesModal__imgEdit', 'servicesImgEdit') ))==null?'':__t)+
'">\r\n                    <h3 class="'+
((__t=( f.getClass('servicesImgEdit__title') ))==null?'':__t)+
'">\r\n                        Выберите изображение\r\n                    </h3>\r\n                    <div class="'+
((__t=( f.getClass('servicesImgEdit__container') ))==null?'':__t)+
'" style="width: 128px; height: 128px;">\r\n                        <img class="'+
((__t=( f.getClass('servicesModal__img') ))==null?'':__t)+
'" src="img/test/news-img01.jpg" alt="" style="height: 100%;">\r\n                    </div>\r\n                    <div class="'+
((__t=( f.getClass('servicesImgEdit__btnContainer') ))==null?'':__t)+
'">\r\n                        <button class="'+
((__t=( f.getClass('btnAgree') ))==null?'':__t)+
'">\r\n                            Изменить\r\n                        </button>\r\n                        <button class="'+
((__t=( f.getClass('btnDangerous') ))==null?'':__t)+
'">\r\n                            Удалить\r\n                        </button>\r\n                    </div>\r\n                </div>\r\n                \r\n                 \r\n                <div class="'+
((__t=( f.getClass('servicesModal__imgContainer', 'bottomSpace16') ))==null?'':__t)+
'" style="width: 128px; height: 128px;">\r\n                    <img class="'+
((__t=( f.getClass('servicesModal__img') ))==null?'':__t)+
'" src="img/test/news-img01.jpg" alt="" style="height: 100%;">\r\n                </div>\r\n                <div class="'+
((__t=( f.getClass('servicesModal__textContainer', 'bottomSpace24') ))==null?'':__t)+
'">\r\n                    <p class="'+
((__t=( f.getClass('servicesModal__text', 'textM', 'ColorTextPr') ))==null?'':__t)+
'">\r\n                        ZEGNA MADE FOR YOU - эксклюзивный сервис для индивидуального заказа одежды \r\n                        бренда ZEGNA предоставляется персонально для резидентов Росконгресс Клуба\r\n                    </p>\r\n                    <p class="'+
((__t=( f.getClass('servicesModal__text', 'textM', 'ColorTextPr') ))==null?'':__t)+
'">\r\n                        ZEGNA - бренд №1 в мире мужской одежды люкс сегмента. Более 500 бутиков \r\n                        представлены в 100 странах по всему миру. Бренд Zegna управляется четвертым \r\n                        поколением семьи. Известен тем, кто ценит "тихую роскошь".\r\n                    </p>\r\n                    <p class="'+
((__t=( f.getClass('servicesModal__text', 'textM', 'ColorTextPr') ))==null?'':__t)+
'">\r\n                        Специалисты ZEGNA MADE FOR YOU приезжают лично к Вам. Вы может выбрать для \r\n                        себя любое изделие бренда, которое будет произведено персонально для Вас. \r\n                        Вы создаете свой индивидуальный и эксклюзивный гардероб, без необходимости \r\n                        тратить время на магазины\r\n                    </p>\r\n                </div>\r\n                \r\n                <div class="'+
((__t=( f.getClass('servicesModal__description', 'servicesDescription') ))==null?'':__t)+
'">\r\n                    <h3 class="'+
((__t=( f.getClass('servicesDescription__title') ))==null?'':__t)+
'">\r\n                        Описание\r\n                    </h3>\r\n                    <textarea class="'+
((__t=( f.getClass('servicesDescription__input', 'input48') ))==null?'':__t)+
'" name="" id=""></textarea>\r\n                </div>\r\n                \r\n                \r\n                <div class="'+
((__t=( f.getClass('servicesModal__block', 'servicesModalBlock') ))==null?'':__t)+
'">\r\n                    <h4 class="'+
((__t=( f.getClass('servicesModalBlock__subtitle') ))==null?'':__t)+
'">\r\n                        Шаблон\r\n                    </h4>\r\n                    <p class="'+
((__t=( f.getClass('servicesModalBlock__input') ))==null?'':__t)+
'">\r\n                        Заказ одежды\r\n                    </p>\r\n                </div>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('servicesModal__section', 'servicesModalSection') ))==null?'':__t)+
'">\r\n                <h3 class="'+
((__t=( f.getClass('servicesModalSection__title', 'textM', 'ColorTextPr') ))==null?'':__t)+
'">\r\n                    Поля шаблона\r\n                </h3>\r\n                <div class="'+
((__t=( f.getClass('servicesModal__block', 'servicesModalBlock', 'bottomSpace8') ))==null?'':__t)+
'">\r\n                    <h4 class="'+
((__t=( f.getClass('servicesModalBlock__subtitle') ))==null?'':__t)+
'">\r\n                        Строка\r\n                    </h4>\r\n                    <p class="'+
((__t=( f.getClass('servicesModalBlock__input') ))==null?'':__t)+
'">\r\n                        Ресторан\r\n                    </p>\r\n                </div>\r\n                <div class="'+
((__t=( f.getClass('servicesModal__container', 'bottomSpace8') ))==null?'':__t)+
'">\r\n                    <div class="'+
((__t=( f.getClass('servicesModal__block', 'servicesModalBlock') ))==null?'':__t)+
'">\r\n                        <h4 class="'+
((__t=( f.getClass('servicesModalBlock__subtitle') ))==null?'':__t)+
'">\r\n                            Выбор даты\r\n                        </h4>\r\n                        <p class="'+
((__t=( f.getClass('servicesModalBlock__input') ))==null?'':__t)+
'">\r\n                            Дата брони\r\n                        </p>\r\n                    </div>\r\n                    <div class="'+
((__t=( f.getClass('servicesModal__block', 'servicesModalBlock') ))==null?'':__t)+
'">\r\n                        <h4 class="'+
((__t=( f.getClass('servicesModalBlock__subtitle') ))==null?'':__t)+
'">\r\n                            Выбор даты\r\n                        </h4>\r\n                        <p class="'+
((__t=( f.getClass('servicesModalBlock__input') ))==null?'':__t)+
'">\r\n                            Время брони\r\n                        </p>\r\n                    </div>\r\n                </div>\r\n                <div class="'+
((__t=( f.getClass('servicesModal__block', 'servicesModalBlock', 'bottomSpace8') ))==null?'':__t)+
'">\r\n                    <h4 class="'+
((__t=( f.getClass('servicesModalBlock__subtitle') ))==null?'':__t)+
'">\r\n                        Счетчик\r\n                    </h4>\r\n                    <p class="'+
((__t=( f.getClass('servicesModalBlock__input') ))==null?'':__t)+
'">\r\n                        Количество персон\r\n                    </p>\r\n                </div>\r\n                <div class="'+
((__t=( f.getClass('servicesModal__block', 'servicesModalBlock', 'bottomSpace8') ))==null?'':__t)+
'">\r\n                    <h4 class="'+
((__t=( f.getClass('servicesModalBlock__subtitle') ))==null?'':__t)+
'">\r\n                        Текстовое поле\r\n                    </h4>\r\n                    <p class="'+
((__t=( f.getClass('servicesModalBlock__input') ))==null?'':__t)+
'">\r\n                        Пожелания к бронированию\r\n                    </p>\r\n                </div>\r\n                <div class="'+
((__t=( f.getClass('servicesModal__block', 'servicesModalBlock', 'bottomSpace8') ))==null?'':__t)+
'">\r\n                    <h4 class="'+
((__t=( f.getClass('servicesModalBlock__subtitle') ))==null?'':__t)+
'">\r\n                        Строка\r\n                    </h4>\r\n                    <p class="'+
((__t=( f.getClass('servicesModalBlock__input') ))==null?'':__t)+
'">\r\n                        Ресторан\r\n                    </p>\r\n                </div>\r\n                <div class="'+
((__t=( f.getClass('servicesModal__container', 'bottomSpace8') ))==null?'':__t)+
'">\r\n                    <div class="'+
((__t=( f.getClass('servicesModal__block', 'servicesModalBlock') ))==null?'':__t)+
'">\r\n                        <h4 class="'+
((__t=( f.getClass('servicesModalBlock__subtitle') ))==null?'':__t)+
'">\r\n                            Выбор даты\r\n                        </h4>\r\n                        <p class="'+
((__t=( f.getClass('servicesModalBlock__input') ))==null?'':__t)+
'">\r\n                            Дата брони\r\n                        </p>\r\n                    </div>\r\n                    <div class="'+
((__t=( f.getClass('servicesModal__block', 'servicesModalBlock') ))==null?'':__t)+
'">\r\n                        <h4 class="'+
((__t=( f.getClass('servicesModalBlock__subtitle') ))==null?'':__t)+
'">\r\n                            Выбор даты\r\n                        </h4>\r\n                        <p class="'+
((__t=( f.getClass('servicesModalBlock__input') ))==null?'':__t)+
'">\r\n                            Время брони\r\n                        </p>\r\n                    </div>\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('eventModal__editMenu') ))==null?'':__t)+
'">\r\n        <button class="'+
((__t=( f.getClass('btnNeutral') ))==null?'':__t)+
'">\r\n            Отмена\r\n        </button>\r\n        <button class="'+
((__t=( f.getClass('btnAgreeMain') ))==null?'':__t)+
'">\r\n            Добавить\r\n        </button>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-privileges.privilegesModal'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('eventModal') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('eventModal__container') ))==null?'':__t)+
'">\r\n        <button class="'+
((__t=( f.getClass('resetBtn', 'eventModal__close') ))==null?'':__t)+
'" style="width: 24px; height: 24px; min-width: 24px;"  aria-label="Закрыть">\r\n            '+
((__t=( f.renderBlock('icons.i_x') ))==null?'':__t)+
'\r\n        </button>\r\n        <div class="'+
((__t=( f.getClass('eventModal__block') ))==null?'':__t)+
'">\r\n            \r\n            \r\n\r\n            '+
((__t=( f.renderBlock('privileges.privilegesModal.madalServices') ))==null?'':__t)+
'\r\n        </div>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-programNeedDelete'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('ivent') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('ivent__head', 'head') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('head__container') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('forum-lable') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('forum-lable__avatar') ))==null?'':__t)+
'">\r\n                    <img class="'+
((__t=( f.getClass('forum-lable__img') ))==null?'':__t)+
'" src="/img/test_img.png" alt="" aria-hidden="true" style="max-width: 56px;">\r\n                </div>\r\n                <div class="'+
((__t=( f.getClass('forum-lable__container') ))==null?'':__t)+
'">\r\n                    <h1 class="'+
((__t=( f.getClass('forum-lable__title', 'textH4', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                        Международный бизнес форум «Мир возможностей»\r\n                    </h1>\r\n                    <span class="'+
((__t=( f.getClass('forum-lable__dates', 'textMB', 'dark500base') ))==null?'':__t)+
'">\r\n                        <time class="'+
((__t=( f.getClass('forum-lable__date', 'textMB', 'dark500base') ))==null?'':__t)+
'" datetime="2024-09-06">\r\n                            6 сентября\r\n                        </time>\r\n                        -\r\n                        <time class="'+
((__t=( f.getClass('forum-lable__date', 'textMB', 'dark500base') ))==null?'':__t)+
'" datetime="2024-09-11">\r\n                            11 сентября\r\n                        </time>\r\n                        Сочи\r\n                    </span>\r\n                </div>\r\n            </div>\r\n            <button class="'+
((__t=( f.getClass('btn-agree') ))==null?'':__t)+
'">\r\n                Редактировать\r\n            </button>\r\n        </div>\r\n        <div class="'+
((__t=( f.getClass('head__tab') ))==null?'':__t)+
'">\r\n            \r\n            <div class="'+
((__t=( f.getClass('div-delete') ))==null?'':__t)+
'">\r\n                <button class="'+
((__t=( f.getClass('btn-neutral', 'btn-ative') ))==null?'':__t)+
'" '+
((__t=( e.click('tabBusiness') ))==null?'':__t)+
'>\r\n                    Деловая программа\r\n                </button>\r\n                <button class="'+
((__t=( f.getClass('btn-neutral') ))==null?'':__t)+
'" '+
((__t=( e.click('tabCulture') ))==null?'':__t)+
'>\r\n                    Культурная программа\r\n                </button>\r\n                <button class="'+
((__t=( f.getClass('btn-neutral') ))==null?'':__t)+
'" '+
((__t=( e.click('tabPartners') ))==null?'':__t)+
'>\r\n                    Партнеры\r\n                </button>\r\n            </div>\r\n            <button class="'+
((__t=( f.getClass('btn-agree') ))==null?'':__t)+
'">\r\n                Импортировать\r\n            </button>\r\n        </div>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('ivent__main') ))==null?'':__t)+
'">\r\n        ';
 if ( data.step === undefined ) { 
__p+='\r\n            '+
((__t=( f.renderBlock('tab_ivent') ))==null?'':__t)+
'\r\n        ';
 } else if( data.step === 'tab_cultural' ) { 
__p+='\r\n            <p>Культурная программа полностью идетнична бизнес-программе</p>\r\n        ';
 } else if( data.step === 'tab_partners' ) { 
__p+='\r\n            '+
((__t=( f.renderBlock('tab_partners') ))==null?'':__t)+
'\r\n        ';
 } 
__p+='\r\n    </div>\r\n</div>\r\n\r\n';
}
return __p;
}
window.renderBlocks['blocks-progress'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';
 if (data.show) { 
__p+='\r\n    <div class="'+
((__t=( f.getClass('wrapper') ))==null?'':__t)+
'">\r\n\r\n\r\n        '+
((__t=( f.renderBlock('loaderBarTwo') ))==null?'':__t)+
'\r\n\r\n\r\n    </div>\r\n';
 } 
__p+='';
}
return __p;
}
window.renderBlocks['blocks-receipts.edit'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='    <div class="'+
((__t=( f.getClass('ivent') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('ivent__main') ))==null?'':__t)+
' scrollBar editEventScroll">\r\n            <div class="'+
((__t=( f.getClass('ivent__container') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('ivent__form', 'form') ))==null?'':__t)+
'" action="" method="POST">\r\n                    <div class="'+
((__t=( f.getClass('form__item') ))==null?'':__t)+
'">\r\n                        <h2 class="'+
((__t=( f.getClass('ivent__title', 'mainMenu18semi', 'colorGrayN90m') ))==null?'':__t)+
'">\r\n                            Информация о счете\r\n                        </h2>\r\n                        <div class="'+
((__t=( f.getClass('clientStatistic') ))==null?'':__t)+
'">\r\n                            <div class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement', 'cloudElementBig') ))==null?'':__t)+
'">\r\n                                <h3 class="'+
((__t=( f.getClass('tableData14medium', 'colorGrayN70s') ))==null?'':__t)+
'">\r\n                                    Запрос\r\n                                </h3>\r\n                                <a href="/requests/'+
((__t=( data.request._id ))==null?'':__t)+
'" class="'+
((__t=( f.getClass('resetLink', 'mainMenu16reg', 'colorAccentMain') ))==null?'':__t)+
'">\r\n                                    '+
((__t=( data.request.title ))==null?'':__t)+
'\r\n                                </a>\r\n                            </div>\r\n                            <div class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement') ))==null?'':__t)+
'">\r\n                                <h3 class="'+
((__t=( f.getClass('tableData14medium', 'colorGrayN70s') ))==null?'':__t)+
'">\r\n                                    ID запроса\r\n                                </h3>\r\n                                <span class="'+
((__t=( f.getClass('mainMenu16reg', 'colorGrayN90m') ))==null?'':__t)+
'">\r\n                                   '+
((__t=( data.request._id ))==null?'':__t)+
'\r\n                                </span>\r\n                            </div>\r\n                            <div class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement') ))==null?'':__t)+
'">\r\n                                <h3 class="'+
((__t=( f.getClass('tableData14medium', 'colorGrayN70s') ))==null?'':__t)+
'">\r\n                                    Клиент\r\n                                </h3>\r\n                                <a href="" class="'+
((__t=( f.getClass('resetLink', 'clientInfo__link', 'mainMenu16reg', 'colorAccentMain') ))==null?'':__t)+
'">\r\n                                    '+
((__t=( data.client.last_name ))==null?'':__t)+
' '+
((__t=( data.client.first_name ))==null?'':__t)+
'\r\n                                    '+
((__t=( f.renderBlock('online', {cl_id: data.client._id, online: data.client.online}) ))==null?'':__t)+
'\r\n                                </a>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                    <div class="'+
((__t=( f.getClass('form__short-container') ))==null?'':__t)+
'">\r\n                        <label class="'+
((__t=( f.getClass('form__item', 'input-block', 'mainMenu16reg', 'colorGrayN70s') ))==null?'':__t)+
'" name="">\r\n                            Сумма к оплате\r\n                            <input required value="'+
((__t=( data.new_invoice.amount ))==null?'':__t)+
'" '+
((__t=( data.handler.on('input','changeText', 'amount') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('input-block__fieldBig', 'input-small') ))==null?'':__t)+
'" type="number" min=\'10\' max=\'99999999999\' value=""  placeholder="Введите сумму">\r\n                        </label>\r\n                        <div class="'+
((__t=( f.getClass('form__item', 'input-block', 'mainMenu16reg', 'colorGrayN70s') ))==null?'':__t)+
'">\r\n                            <h3 class="'+
((__t=( f.getClass('mainMenu16reg', 'colorGrayN70s') ))==null?'':__t)+
'">\r\n                                Валюта\r\n                            </h3> \r\n                             '+
((__t=( f.renderBlock('select_50',{
                                    key:'Currency',
                                    default: 'RUB',
                                    selected: data.new_invoice.currency,
                                    items: [
                                        {name:'Рубли',value:'RUB'},
                                        {name:'Доллары',value:'USD'},
                                    ]
                                }) ))==null?'':__t)+
'\r\n                        </div>\r\n                    </div>\r\n\r\n                    <label class="'+
((__t=( f.getClass('form__item', 'input-block', 'mainMenu16reg', 'colorGrayN70s') ))==null?'':__t)+
'">\r\n                        Комментарий\r\n                        <textarea required '+
((__t=( data.handler.on('input','changeText', 'comment') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('input-block__field', 'text-area') ))==null?'':__t)+
'" placeholder="Будет видно пользователю при оплате" name="">'+
((__t=( data.new_invoice.comment))==null?'':__t)+
'</textarea>\r\n                    </label>\r\n                    \r\n                </div>\r\n            </div>\r\n        </div>\r\n        <div class="'+
((__t=( f.getClass('ivent__btnContainer') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('ivent__btnLongContainer') ))==null?'':__t)+
'">\r\n            </div>\r\n            <button '+
((__t=( data.handler.click('cancel') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnAgreeEmpty') ))==null?'':__t)+
'">Отмена</button>\r\n            <button  '+
((__t=( data.handler.click('create') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnAgree') ))==null?'':__t)+
'">Создать счёт</button>\r\n\r\n        </div>\r\n    </div>';
}
return __p;
}
window.renderBlocks['blocks-receipts.item'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('receipts') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('receipts__main') ))==null?'':__t)+
' scrollBar editEventScroll">\r\n        <div class="'+
((__t=( f.getClass('receipts__container') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('receipts__form', 'form') ))==null?'':__t)+
'" action="" method="POST">\r\n                <div class="'+
((__t=( f.getClass('form__container') ))==null?'':__t)+
'">\r\n                    <div class="'+
((__t=( f.getClass('cloudElement', 'cloudElementBig') ))==null?'':__t)+
'">\r\n                        <h2 class="'+
((__t=( f.getClass('textS', 'colorSecond') ))==null?'':__t)+
'">\r\n                            Запрос\r\n                        </h2>\r\n                        <a href="/requests/'+
((__t=(data.receipt.request_id))==null?'':__t)+
'" class="'+
((__t=( f.getClass('resetLink', 'textM', 'colorAccentMain') ))==null?'':__t)+
'">\r\n                            '+
((__t=( data.receipt.request ))==null?'':__t)+
'\r\n                        </a>\r\n                    </div>\r\n                    <div class="'+
((__t=( f.getClass('cloudElement') ))==null?'':__t)+
'">\r\n                        <h2 class="'+
((__t=( f.getClass('textS', 'colorSecond') ))==null?'':__t)+
'">\r\n                            Сумма\r\n                        </h2>\r\n                        <span class="'+
((__t=( f.getClass('textM', 'colorMain') ))==null?'':__t)+
'">\r\n                            '+
((__t=( data.receipt.amount_text ))==null?'':__t)+
'\r\n                        </span>\r\n                    </div>\r\n                    <div class="'+
((__t=( f.getClass('cloudElement') ))==null?'':__t)+
'">\r\n                        <h2 class="'+
((__t=( f.getClass('textS', 'colorSecond') ))==null?'':__t)+
'">\r\n                            Ссылка на оплату\r\n                        </h2>\r\n                        ';
 if(data.receipt.link) { 
__p+='\r\n                            <button '+
((__t=( data.handler.click('copy', { copy: data.receipt.link}) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'textM', 'colorAccentMain', 'copyLinkBtn') ))==null?'':__t)+
'">\r\n                                Копировать\r\n                                <div class="'+
((__t=( f.getClass('imgIcon') ))==null?'':__t)+
'" style="width: 20px; min-width: 20px; height: 20px;">\r\n                                    '+
((__t=( f.renderBlock('icons.i_square-two') ))==null?'':__t)+
'\r\n                                </div>\r\n                            </button>\r\n                        ';
 } else { 
__p+='\r\n                            <p class="'+
((__t=( f.getClass('textM', 'colorMain') ))==null?'':__t)+
'">\r\n                                отсутствует\r\n                            </p>\r\n                        ';
 } 
__p+='\r\n                    </div>\r\n                </div>\r\n                <div class="'+
((__t=( f.getClass('form__section') ))==null?'':__t)+
'">\r\n                    <h2 class="'+
((__t=( f.getClass('receipts__title', 'textLB', 'colorMain') ))==null?'':__t)+
'">\r\n                        Информация о счете\r\n                    </h2>\r\n                    <div class="'+
((__t=( f.getClass('cloudElement', 'cloudElementBig', 'spaceBottom8') ))==null?'':__t)+
'">\r\n                        <h3 class="'+
((__t=( f.getClass('textS', 'colorSecond') ))==null?'':__t)+
'">\r\n                            Клиент\r\n                        </h3>\r\n                        <a href="/clients/'+
((__t=( data.receipt.cl_id ))==null?'':__t)+
'" class="'+
((__t=( f.getClass('resetLink', 'textM', 'colorAccentMain') ))==null?'':__t)+
'">\r\n                            '+
((__t=( data.receipt.client_first_name + ' ' + data.receipt.client_last_name ))==null?'':__t)+
'\r\n                        </a>\r\n                    </div>\r\n\r\n                                      <div class="'+
((__t=( f.getClass('cloudElement', 'cloudElementBig', 'spaceBottom8') ))==null?'':__t)+
'">\r\n                        <h3 class="'+
((__t=( f.getClass('textS', 'colorSecond') ))==null?'':__t)+
'">\r\n                            Коментарий\r\n                        </h3>\r\n                        <div class="'+
((__t=( f.getClass('resetLink', 'textM') ))==null?'':__t)+
'">\r\n                            '+
((__t=( data.receipt.comment ))==null?'':__t)+
'\r\n                        </div>\r\n                    </div>\r\n                    \r\n                    <div class="'+
((__t=( f.getClass('form__container') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('cloudElement', 'cloudElementBig') ))==null?'':__t)+
'">\r\n                            <h3 class="'+
((__t=( f.getClass('textS', 'colorSecond') ))==null?'':__t)+
'">\r\n                                Номер телефона\r\n                            </h3>\r\n                            <p class="'+
((__t=( f.getClass('textM', 'colorMain') ))==null?'':__t)+
'">\r\n                                '+
((__t=( data.phone ))==null?'':__t)+
'\r\n                            </p>\r\n                        </div>\r\n                        <div class="'+
((__t=( f.getClass('cloudElement', 'cloudElementBig') ))==null?'':__t)+
'">\r\n                            <h3 class="'+
((__t=( f.getClass('textS', 'colorSecond') ))==null?'':__t)+
'">\r\n                                Электронная почта\r\n                            </h3>\r\n                            <p class="'+
((__t=( f.getClass('textM', 'colorMain') ))==null?'':__t)+
'">\r\n                                '+
((__t=( data.email || "Не указана" ))==null?'':__t)+
'\r\n                            </p>\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n                <div class="'+
((__t=( f.getClass('form__section') ))==null?'':__t)+
'">\r\n                    <h2 class="'+
((__t=( f.getClass('receipts__title', 'textLB', 'colorMain') ))==null?'':__t)+
'">\r\n                        Статусы\r\n                    </h2>\r\n                    <ol class="'+
((__t=( f.getClass('resetList', 'form__section', 'listGap8') ))==null?'':__t)+
'">\r\n                        ';
 if (data.receipt.created_at) { 
__p+='\r\n                            <li class="'+
((__t=( f.getClass('cloudElement') ))==null?'':__t)+
'">\r\n                                <h3 class="'+
((__t=( f.getClass('textS', 'colorSecond') ))==null?'':__t)+
'">\r\n                                    Создан\r\n                                </h3>\r\n                                <time class="'+
((__t=( f.getClass('textM', 'colorMain') ))==null?'':__t)+
'" datetime="22:33 23 июня 2024">\r\n                                    '+
((__t=( utils.moment(data.receipt.created_at).locale(context.locale).format('HH:mm D MMMM YYYY') ))==null?'':__t)+
'\r\n                                </time>\r\n                            </li>\r\n                        ';
 } 
__p+='\r\n                        ';
 if (data.receipt._timestamp) { 
__p+='\r\n                            <li class="'+
((__t=( f.getClass('cloudElement') ))==null?'':__t)+
'">\r\n                                <h3 class="'+
((__t=( f.getClass('textS', 'colorSecond') ))==null?'':__t)+
'">\r\n                                    Изменен\r\n                                </h3>\r\n                                <time class="'+
((__t=( f.getClass('textM', 'colorMain') ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(data.receipt._timestamp).locale(context.locale).format('YYYY-MM-DDTHH:mm') ))==null?'':__t)+
'">\r\n                                    '+
((__t=( utils.moment(data.receipt._timestamp).locale(context.locale).format('HH:mm D MMMM YYYY') ))==null?'':__t)+
'\r\n                                </time>\r\n                            </li>\r\n                        ';
 } 
__p+='\r\n                        ';
 if (data.receipt.paid_at) { 
__p+='\r\n                            <li class="'+
((__t=( f.getClass('cloudElement') ))==null?'':__t)+
'">\r\n                                <h3 class="'+
((__t=( f.getClass('textS', 'colorSecond') ))==null?'':__t)+
'">\r\n                                    Оплачен\r\n                                </h3>\r\n                                <time class="'+
((__t=( f.getClass('textM', 'colorMain') ))==null?'':__t)+
'" datetime="22:33 23 июня 2024">\r\n                                    '+
((__t=( utils.moment(data.receipt.paid_at).locale(context.locale).format('HH:mm D MMMM YYYY') ))==null?'':__t)+
'\r\n                                </time>\r\n                            </li>\r\n                        ';
 } 
__p+='\r\n                        ';
 if (data.receipt.canceled) { 
__p+='\r\n                            <li class="'+
((__t=( f.getClass('cloudElement') ))==null?'':__t)+
'">\r\n                                <h3 class="'+
((__t=( f.getClass('textS', 'colorSecond') ))==null?'':__t)+
'">\r\n                                    Отменен\r\n                                </h3>\r\n                                <time class="'+
((__t=( f.getClass('textM', 'colorMain') ))==null?'':__t)+
'" datetime="22:33 23 июня 2024">\r\n                                    '+
((__t=( utils.moment(data.receipt.canceled).locale(context.locale).format('HH:mm D MMMM YYYY') ))==null?'':__t)+
'\r\n                                </time>\r\n                            </li>\r\n                        ';
 } 
__p+='\r\n                    </ol>\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-requests.form.CounterInput'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('label') ))==null?'':__t)+
'">'+
((__t=( data.label ))==null?'':__t)+
'</div>\r\n<input \r\n    max="'+
((__t=( data.component.max ))==null?'':__t)+
'" \r\n    min="'+
((__t=( data.component.min ))==null?'':__t)+
'" \r\n    value="'+
((__t=( data.value ))==null?'':__t)+
'"\r\n    '+
((__t=( e.on('input', 'input') ))==null?'':__t)+
' \r\n    class="'+
((__t=( f.getClass('textInput__input', 'pickerSmall') ))==null?'':__t)+
'" \r\n    type="number" />';
}
return __p;
}
window.renderBlocks['blocks-requests.form.DataPicker'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('label') ))==null?'':__t)+
'">'+
((__t=( data.label ))==null?'':__t)+
'</div>\r\n<input \r\n    value="'+
((__t=( data.value ))==null?'':__t)+
'" \r\n    '+
((__t=( e.on('input', 'input') ))==null?'':__t)+
' \r\n    class="'+
((__t=( f.getClass('dataPicker__input', 'pickerSmall') ))==null?'':__t)+
'" \r\n    min="'+
((__t=( utils.moment().format('YYYY-MM-DD') ))==null?'':__t)+
'"\r\n    type="date" />';
}
return __p;
}
window.renderBlocks['blocks-requests.form'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';
 
const inputs = [];

const compiteTemplate = (template, payload) =>  {
    const arr = template?.split(/{(.+?)}/g);
    return arr
      ?.map((key) => {
        if (payload && payload[key]) {
          return payload[key];
        } else {
          return key;
        }
      })
      .join("");
  }



 
__p+='\r\n';
 if (!data.loaded){ 
__p+='\r\n    <div class="'+
((__t=( f.getClass('loaderWrapper') ))==null?'':__t)+
'">\r\n        '+
((__t=( f.renderBlock('loaderBarTwo') ))==null?'':__t)+
'\r\n    </div>\r\n';
 } else { 
__p+='\r\n    ';
 if (data.request_template && (data.request_template.fields || []).length > 0){ 
__p+='\r\n        <div class="'+
((__t=( f.getClass('form') ))==null?'':__t)+
'">\r\n            <h2 class="'+
((__t=( f.getClass('form__title', 'spaceBottom24') ))==null?'':__t)+
'">Форма</h2>\r\n\r\n            <div class="'+
((__t=( f.getClass('form__container') ))==null?'':__t)+
'">\r\n                ';
 for (let index = 0; index < data.request_template.fields.length; index++) {
                    const field = data.request_template.fields[index]; 
__p+='\r\n                    '+
((__t=( f.renderBlock(`requests.form.${field.component.name}`, {...field}) ))==null?'':__t)+
'\r\n                ';
 } 
__p+='\r\n                <div class="'+
((__t=( f.getClass('scrollBar__conteiner') ))==null?'':__t)+
'">\r\n                </div>\r\n            </div>\r\n\r\n        </div>\r\n    ';
 } 
__p+='\r\n\r\n    <div class="'+
((__t=( f.getClass('form') ))==null?'':__t)+
'">\r\n\r\n        <div class="'+
((__t=( f.getClass('form__block', 'spaceBottom24') ))==null?'':__t)+
'">\r\n            <h2 class="'+
((__t=( f.getClass('form__subtitle', 'spaceBottom8') ))==null?'':__t)+
'">Заголовок</h2>\r\n            <p class="'+
((__t=( f.getClass('form__text') ))==null?'':__t)+
'">'+
((__t=( data.request_template.title ))==null?'':__t)+
'</p>\r\n        </div>\r\n\r\n        <div class="'+
((__t=( f.getClass('form__block', 'spaceBottom24') ))==null?'':__t)+
'">\r\n            <h2 class="'+
((__t=( f.getClass('form__subtitle', 'spaceBottom8') ))==null?'':__t)+
'">Сообщение</h2>\r\n            <p class="'+
((__t=( f.getClass('form__text') ))==null?'':__t)+
'">'+
((__t=( compiteTemplate(data.request_template.template, data.request_template.payload)  ))==null?'':__t)+
'</p>\r\n        </div>\r\n    </div>\r\n\r\n';
 } 
__p+='';
}
return __p;
}
window.renderBlocks['blocks-requests.form.SelectPicker'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div  class="'+
((__t=( f.getClass('label') ))==null?'':__t)+
'">'+
((__t=( data.label ))==null?'':__t)+
'</div>\r\n\r\n'+
((__t=( f.renderBlock('select_50',{
    key:"FormSelect",
    default:data.emptyValue,
    selected:data.value,
    items: data.component.props.items.map((item) => {
        return {name: item.label , value: item.value}
    })
}) ))==null?'':__t)+
'';
}
return __p;
}
window.renderBlocks['blocks-requests.form.Seporator'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div  class="'+
((__t=( f.getClass('seporator') ))==null?'':__t)+
'"></div>\r\n';
}
return __p;
}
window.renderBlocks['blocks-requests.form.TextInput'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<h3 class="'+
((__t=( f.getClass('label') ))==null?'':__t)+
'">'+
((__t=( data.label ))==null?'':__t)+
'</h3>\r\n';
 if (data.multiline){ 
__p+='\r\n<input     \r\n    value="'+
((__t=( data.value ))==null?'':__t)+
'"\r\n    '+
((__t=( e.on('input', 'input') ))==null?'':__t)+
' \r\n    class="'+
((__t=( f.getClass('textInput__input', 'textInputArea') ))==null?'':__t)+
'" \r\n    placeholder="'+
((__t=( data.placeholder))==null?'':__t)+
'" \r\n    type="text" \r\n/>\r\n\r\n';
 } else { 
__p+='\r\n<textarea     \r\n    '+
((__t=( e.on('input', 'input') ))==null?'':__t)+
'  \r\n    placeholder="'+
((__t=( data.placeholder))==null?'':__t)+
'" \r\n    class="'+
((__t=( f.getClass('textInput__input', 'textInputArea') ))==null?'':__t)+
'">'+
((__t=( data.value ))==null?'':__t)+
'</textarea>\r\n';
 } 
__p+='';
}
return __p;
}
window.renderBlocks['blocks-requests.notes.input'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('clientInfo__input', 'commentInput') ))==null?'':__t)+
'">\r\n    ';
 if (!data.showInput) { 
__p+='\r\n        <div class="'+
((__t=( f.getClass('commentInput__buttons') ))==null?'':__t)+
'">\r\n            <button '+
((__t=( e.click('add') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnLight') ))==null?'':__t)+
'">\r\n                Добавить\r\n            </button>\r\n        </div>\r\n    ';
 } else { 
__p+='\r\n    <textarea '+
((__t=( e.on('input', 'changeText') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('input40', 'commentInput__input') ))==null?'':__t)+
'" placeholder="Добавить комментарий">'+
((__t=( data.text))==null?'':__t)+
'</textarea>\r\n    <div class="'+
((__t=( f.getClass('commentInput__buttons') ))==null?'':__t)+
'">\r\n        <button '+
((__t=( e.click('save') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnLight') ))==null?'':__t)+
'">\r\n            Сохранить\r\n        </button>\r\n        <button  '+
((__t=( e.click('close') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnEmpty') ))==null?'':__t)+
'">\r\n            Отмена\r\n        </button>\r\n    </div>\r\n    ';
 } 
__p+='\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-requests.notes.item'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';
 if (data.startEdit !== true){ 
__p+='\r\n    <div n-id="'+
((__t=( data._id ))==null?'':__t)+
'" class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement', 'flexFull') ))==null?'':__t)+
'">\r\n        <p class="'+
((__t=( f.getClass('clientInfo__headtext', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n        '+
((__t=( data.text ))==null?'':__t)+
'\r\n        </p>\r\n        <div class="'+
((__t=( f.getClass('clientInfo__container') ))==null?'':__t)+
'">\r\n            <p class="'+
((__t=( f.getClass('clientInfo__commentInfo', 'colorTextTetr', 'textS') ))==null?'':__t)+
'">\r\n                <time class="'+
((__t=( f.getClass('clientInfo__commentData') ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(data.created_at).locale(context.locale).format('YYYY-MM-DDTHH:mm')))==null?'':__t)+
'">\r\n                    '+
((__t=( utils.moment(data.created_at).locale(context.locale).format('HH:mm D MMMM YYYY')))==null?'':__t)+
'\r\n                </time>\r\n                &bull;\r\n                <span class="'+
((__t=( f.getClass('clientInfo__commentName') ))==null?'':__t)+
'">\r\n                    '+
((__t=(data.user_first_name))==null?'':__t)+
'  '+
((__t=(data.user_last_name))==null?'':__t)+
'\r\n                </span>\r\n            </p>\r\n            <div class="'+
((__t=( f.getClass('clientInfo__buttons') ))==null?'':__t)+
'">\r\n                <button '+
((__t=( e.click('edit') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'btnEdit') ))==null?'':__t)+
'" style="width: 20px; height: 20px;" aria-label="Редактировать комментарий">\r\n                    '+
((__t=( f.renderBlock('icons.i_pen') ))==null?'':__t)+
'\r\n                </button>\r\n                <button '+
((__t=( e.click('remove', data) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'btnEdit') ))==null?'':__t)+
'" style="width: 20px; height: 20px;" aria-label="Удалить комментарий">\r\n                    '+
((__t=( f.renderBlock('icons.i_wastebasket') ))==null?'':__t)+
'\r\n                </button>\r\n            </div>\r\n        </div>\r\n    </div>\r\n';
 } else { 
__p+='\r\n    <div class="'+
((__t=( f.getClass('clientInfo__input', 'commentInput') ))==null?'':__t)+
'">\r\n\r\n        <textarea '+
((__t=( e.on('input', 'changeText') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('input40', 'commentInput__input') ))==null?'':__t)+
'" placeholder="Добавить комментарий">'+
((__t=( data.text))==null?'':__t)+
'</textarea>\r\n        <div class="'+
((__t=( f.getClass('commentInput__buttons') ))==null?'':__t)+
'">\r\n            <button '+
((__t=( e.click('save') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnLight') ))==null?'':__t)+
'">\r\n                Сохранить\r\n            </button>\r\n            <button  '+
((__t=( e.click('close') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnEmpty') ))==null?'':__t)+
'">\r\n                Отмена\r\n            </button>\r\n        </div>\r\n\r\n    </div>\r\n';
 } 
__p+='';
}
return __p;
}
window.renderBlocks['blocks-requests.notes'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('clientInfo__section') ))==null?'':__t)+
'">\r\n    <h2 class="'+
((__t=( f.getClass('clientInfo__title', 'textLB', 'colorTextPrim', 'spaceBottom8') ))==null?'':__t)+
'">\r\n        '+
((__t=( data.title ? data.title : 'Заметки' ))==null?'':__t)+
'\r\n    </h2>\r\n    <p class="'+
((__t=( f.getClass('clientInfo__textInfo', 'textM', 'colorTextSec', 'spaceBottom16') ))==null?'':__t)+
'">\r\n        '+
((__t=( data.subtitle ? data.subtitle : 'Для внутреннего использования, клиент их не видит' ))==null?'':__t)+
'\r\n    </p>\r\n    <div class="'+
((__t=( f.getClass('resetList', 'clientInfo__notes', 'clientStatistic', 'spaceBottom16') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock("list",{
                pref:'list',
                rowBlock:'requests.notes.item',
                params:{                          
                    params:{
                        rq_id: data.rq_id,
                        removed: false,
                    },
                    sorting: [
                        {field: 'created_at', order: 'desc'}, {field: '_id', order: 'asc'}
                    ],
                },
                limit:10,
                list:'request_note_list',
                command:'request.getList',
            })  ))==null?'':__t)+
'\r\n    </div>\r\n    \r\n    '+
((__t=( f.renderBlock('requests.notes.input', {rq_id: data.rq_id}) ))==null?'':__t)+
'\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-requests.request'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('requests') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('requests__head', 'requestsHead') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('requestsHead__requestsList') ))==null?'':__t)+
'">\r\n            <button class="'+
((__t=( f.getClass('resetBtn', 'requestsHead__btn') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('requestsHead__btnImg') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                    '+
((__t=( f.renderBlock('navigation.back') ))==null?'':__t)+
'\r\n                </div>\r\n                <h1 class="'+
((__t=( f.getClass('requests__title', 'textH2', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                    VIP зал и Fast track\r\n                </h1>\r\n            </button>\r\n            <button class="'+
((__t=( f.getClass('btnCancel') ))==null?'':__t)+
'">\r\n                Отменить запрос\r\n            </button>\r\n            <button class="'+
((__t=( f.getClass('btnAgree') ))==null?'':__t)+
'">\r\n                Запрос выполнен\r\n            </button>\r\n        </div>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('requests__main') ))==null?'':__t)+
'">\r\n        '+
((__t=( f.renderBlock('requests.requestMain') ))==null?'':__t)+
'\r\n    </div>\r\n</div>\r\n'+
((__t=( f.renderBlock('requests.requestsModal') ))==null?'':__t)+
'';
}
return __p;
}
window.renderBlocks['blocks-requests.requestContent'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('requestContent__section') ))==null?'':__t)+
'">\r\n    <ul class="'+
((__t=( f.getClass('resetList', 'requestContent__list', 'clientStatistic', 'spaceBottom24') ))==null?'':__t)+
'">\r\n        <li class="'+
((__t=( f.getClass('requestContent__item', 'cloudElement', 'flexFull') ))==null?'':__t)+
'">\r\n            <p class="'+
((__t=( f.getClass('requestContent__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                Статус\r\n            </p>\r\n            ';
 if (!data.request.status) { 
__p+='\r\n                <span class="'+
((__t=( f.getClass('requestContent__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                    Не назначен\r\n                </span>\r\n            ';
 } else if (RQStatus.prototype.isCanceled(data.request.status)){
__p+='\r\n                <span class="'+
((__t=( f.getClass('requestContent__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                    Отменен\r\n                </span>\r\n            ';
 } else if (RQStatus.prototype.isCompleted(data.request.status)){  
__p+='\r\n                <span class="'+
((__t=( f.getClass('requestContent__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                    Выполнен\r\n                </span>\r\n            ';
 } else if (RQStatus.prototype.isConfirmed(data.request.status)){  
__p+='\r\n                <span class="'+
((__t=( f.getClass('requestContent__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                    В работе\r\n                </span>\r\n            ';
 } 
__p+='\r\n        </li>\r\n        <li class="'+
((__t=( f.getClass('requestContent__item', 'cloudElement', 'flexFull') ))==null?'':__t)+
'">\r\n            <p class="'+
((__t=( f.getClass('requestContent__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                Оператор\r\n            </p>\r\n            ';
 if (data.request.usr_id){ 
__p+='\r\n                <a class="'+
((__t=( f.getClass('resetLink', 'requestContent__text', 'textM', 'colorTextAcc') ))==null?'':__t)+
'" href="">\r\n                    '+
((__t=( data.request.user.first_name ))==null?'':__t)+
' '+
((__t=( data.request.user.last_name ))==null?'':__t)+
'\r\n                </a>\r\n            ';
 } else { 
__p+='\r\n                <span class="'+
((__t=( f.getClass('requestContent__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                    Не назначен\r\n                </span>\r\n            ';
 } 
__p+='\r\n        </li>\r\n        <li class="'+
((__t=( f.getClass('requestContent__item', 'cloudElement', 'flexFull') ))==null?'':__t)+
'">\r\n            <p class="'+
((__t=( f.getClass('requestContent__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                Источник\r\n            </p>\r\n            <span class="'+
((__t=( f.getClass('requestContent__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                Приложение\r\n            </span>\r\n        </li>\r\n        <li class="'+
((__t=( f.getClass('requestContent__item', 'cloudElement') ))==null?'':__t)+
'">\r\n            <p class="'+
((__t=( f.getClass('requestContent__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                ID запроса\r\n            </p>\r\n            <span class="'+
((__t=( f.getClass('requestContent__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                '+
((__t=( data.request._id))==null?'':__t)+
'\r\n            </span>\r\n        </li>\r\n    </ul>\r\n    <div class="'+
((__t=( f.getClass('requestContent__item', 'cloudElement', 'spaceBottom8') ))==null?'':__t)+
'">\r\n        <p class="'+
((__t=( f.getClass('requestContent__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n            Услуга\r\n        </p>\r\n        <p class="'+
((__t=( f.getClass('requestContent__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n            '+
((__t=( data.request.text ))==null?'':__t)+
'\r\n        </p>\r\n    </div>\r\n    ';
 if (data.request.comment){ 
__p+='\r\n        <div class="'+
((__t=( f.getClass('requestContent__item', 'cloudElement') ))==null?'':__t)+
'">\r\n            <p class="'+
((__t=( f.getClass('requestContent__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                Комментарий оператора (его видит клиент)\r\n            </p>\r\n            <p class="'+
((__t=( f.getClass('requestContent__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                '+
((__t=( data.request.comment ))==null?'':__t)+
'\r\n            </p>\r\n        </div>\r\n    ';
 } 
__p+='\r\n</div>\r\n\r\n<div class="'+
((__t=( f.getClass('requestContent__section') ))==null?'':__t)+
'">\r\n    '+
((__t=( f.renderBlock('requests.notes', {
        rq_id: data.request._id, 
        title:'Комментарии к запросу', 
        subtitle:'Для внутреннего использования, клиент их не видит',
    }) ))==null?'':__t)+
'\r\n</div>\r\n\r\n<div class="'+
((__t=( f.getClass('requestContent__section') ))==null?'':__t)+
'">\r\n    '+
((__t=( f.renderBlock('clients.notes', {
        cl_id: data.client._id, 
        title:'Заметки о клиенте', 
        subtitle:'Для внутреннего использования, клиент их не видит, для создания перейдите вы профиль',
    }) ))==null?'':__t)+
'\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-requests.requestMain'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('requestMain') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('requestMain__scroll') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('requestMain__content') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock('requests.requestContent', data) ))==null?'':__t)+
'\r\n        </div>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('requestMain__menu', 'requestMainMenu') ))==null?'':__t)+
' scrollBar" aria-label="Боковое меню">\r\n        <div class="'+
((__t=( f.getClass('requestMainMenu__scrollContainer') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('requestMainMenu__main') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('requestMainMenu__head', 'spaceBottom20') ))==null?'':__t)+
'">\r\n                    <h2 class="'+
((__t=( f.getClass('requestMainMenu__title') ))==null?'':__t)+
'">\r\n                        Клиент\r\n                    </h2>\r\n                    <div class="'+
((__t=( f.getClass('requestMainMenu__userContainer') ))==null?'':__t)+
'">\r\n                        <p class="'+
((__t=( f.getClass('requestMainMenu__user') ))==null?'':__t)+
'">\r\n                            '+
((__t=( data.client.last_name ))==null?'':__t)+
' '+
((__t=( data.client.first_name ))==null?'':__t)+
'\r\n                        </p>\r\n                        '+
((__t=( f.renderBlock('online', {cl_id: data.client._id, online: data.client.online}) ))==null?'':__t)+
'\r\n                    </div>\r\n                </div>\r\n                <ul class="'+
((__t=( f.getClass('resetList', 'requestMainMenu__list') ))==null?'':__t)+
'">\r\n                    <li class="'+
((__t=( f.getClass('requestMain__item') ))==null?'':__t)+
'">\r\n                        <a href="/chats/'+
((__t=( data.client._id ))==null?'':__t)+
'" class="'+
((__t=( f.getClass('btnLight') ))==null?'':__t)+
'">\r\n                            Открыть чат\r\n                        </a>\r\n                    </li>\r\n                    <li class="'+
((__t=( f.getClass('requestMain__item') ))==null?'':__t)+
'">\r\n                        <a href="/chats/'+
((__t=( data.client._id ))==null?'':__t)+
'?msg='+
((__t=( data.request.msg_id ))==null?'':__t)+
'" class="'+
((__t=( f.getClass('btnLight') ))==null?'':__t)+
'">\r\n                            К сообщению\r\n                        </a>\r\n                    </li>\r\n                    <li class="'+
((__t=( f.getClass('requestMain__item') ))==null?'':__t)+
'">\r\n                        <a href="/clients/'+
((__t=( data.client._id ))==null?'':__t)+
'" class="'+
((__t=( f.getClass('btnLight') ))==null?'':__t)+
'">\r\n                            Открыть профиль\r\n                        </a>\r\n                    </li>\r\n                </ul>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('requestMainMenu__section', 'flexFull') ))==null?'':__t)+
'">\r\n                 <h2 class="'+
((__t=( f.getClass('requestMainMenu__subtitle', 'textM', 'colorTextSec', 'spaceBottom12') ))==null?'':__t)+
'">\r\n                    Счета\r\n                </h2>\r\n                <a href="/receipts/add?rq='+
((__t=(data.request._id))==null?'':__t)+
'" class="'+
((__t=( f.getClass('btnNeutral', 'spaceBottom16') ))==null?'':__t)+
'">\r\n                    Создать счёт\r\n                </a>\r\n\r\n                '+
((__t=( f.renderBlock('requests.invoiceList', {rq_id:data.request._id}) ))==null?'':__t)+
'\r\n            </div>\r\n\r\n            <div class="'+
((__t=( f.getClass('requestMainMenu__section') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('requestMainMenu__container', 'spaceBottom8') ))==null?'':__t)+
'">\r\n                    <h2 class="'+
((__t=( f.getClass('requestMainMenu__subtitle', 'textM', 'colorTextSec') ))==null?'':__t)+
'">\r\n                        Статусы\r\n                    </h2>\r\n                </div>\r\n                <ul class="'+
((__t=( f.getClass('resetList', 'requestMainMenu__list') ))==null?'':__t)+
'">\r\n                    ';
 if (data.request.completed_at){ 
__p+='\r\n                        <li class="'+
((__t=( f.getClass('requestMain__item', 'cloudElement') ))==null?'':__t)+
'">\r\n                            <h4 class="'+
((__t=( f.getClass('requestMainMenu__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                                Выполнен\r\n                            </h4>\r\n                            <time class="'+
((__t=( f.getClass('requestMainMenu__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(data.request.completed_at).locale(context.locale).format('YYYY-MM-DDTHH:mm')))==null?'':__t)+
'">\r\n                                '+
((__t=( utils.moment(data.request.completed_at).locale(context.locale).format('HH:mm D MMMM YYYY')))==null?'':__t)+
'\r\n                            </time>\r\n                        </li>\r\n                    ';
 } 
__p+='\r\n                    ';
 if (data.request.canceled_at){ 
__p+='\r\n                        <li class="'+
((__t=( f.getClass('requestMain__item', 'cloudElement') ))==null?'':__t)+
'">\r\n                            <h4 class="'+
((__t=( f.getClass('requestMainMenu__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                                Отменен\r\n                            </h4>\r\n                            <time class="'+
((__t=( f.getClass('requestMainMenu__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(data.request.canceled_at).locale(context.locale).format('YYYY-MM-DDTHH:mm')))==null?'':__t)+
'">\r\n                                '+
((__t=( utils.moment(data.request.canceled_at).locale(context.locale).format('HH:mm D MMMM YYYY')))==null?'':__t)+
'\r\n                            </time>\r\n                        </li>\r\n                    ';
 } 
__p+='\r\n                    ';
 if (data.request.confirmed_at){ 
__p+='\r\n                        <li class="'+
((__t=( f.getClass('requestMain__item', 'cloudElement') ))==null?'':__t)+
'">\r\n                            <h4 class="'+
((__t=( f.getClass('requestMainMenu__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                                Взят в работу\r\n                            </h4>\r\n                            <time class="'+
((__t=( f.getClass('requestMainMenu__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(data.request.confirmed_at).locale(context.locale).format('YYYY-MM-DDTHH:mm')))==null?'':__t)+
'">\r\n                                '+
((__t=( utils.moment(data.request.confirmed_at).locale(context.locale).format('HH:mm D MMMM YYYY')))==null?'':__t)+
'\r\n                            </time>\r\n                        </li>\r\n                    ';
 } 
__p+='\r\n                    ';
 if (data.request.created_at){ 
__p+='\r\n                        <li class="'+
((__t=( f.getClass('requestMain__item', 'cloudElement') ))==null?'':__t)+
'">\r\n                            <h4 class="'+
((__t=( f.getClass('requestMainMenu__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                                Создан\r\n                            </h4>\r\n                            <time class="'+
((__t=( f.getClass('requestMainMenu__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(data.request.created_at).locale(context.locale).format('YYYY-MM-DDTHH:mm')))==null?'':__t)+
'">\r\n                                '+
((__t=( utils.moment(data.request.created_at).locale(context.locale).format('HH:mm D MMMM YYYY')))==null?'':__t)+
'\r\n                            </time>\r\n                        </li>\r\n                    ';
 } 
__p+='\r\n                </ul>\r\n            </div>\r\n        </div>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-requests'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('requests') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('requests__head', 'requestsHead') ))==null?'':__t)+
'">\r\n        \r\n        <div class="'+
((__t=( f.getClass('requestsHead__requestsList') ))==null?'':__t)+
'">\r\n            <h1 class="'+
((__t=( f.getClass('requests__title', 'textH2', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                Запросы\r\n            </h1>\r\n            <button class="'+
((__t=( f.getClass('requests__search', 'search-btn') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('search-btn__img') ))==null?'':__t)+
'" style="height: 20px; width: 20px;">\r\n                    '+
((__t=( f.renderBlock("icons.i_search")  ))==null?'':__t)+
'\r\n                </div>\r\n                Поиск\r\n            </button>\r\n            <button class="'+
((__t=( f.getClass('btnAgree') ))==null?'':__t)+
'">\r\n                Добавить\r\n            </button>\r\n        </div>\r\n        <div class="'+
((__t=( f.getClass('requests__tab') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock('tab', {
                name:'clients',
                selected: query.type || 'all',
                items:[
                    {title:'Все',value:'all'},
                    {title:'Новые',value:'new'},
                    {title:'В обработке',processing:''},
                    {title:'Завершенные',value:'complete'},
                    {title:'Отмененные',value:'canceled'},
                ]
            }) ))==null?'':__t)+
'\r\n        </div>\r\n        \r\n\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('requests__main') ))==null?'':__t)+
'">\r\n        '+
((__t=( f.renderBlock("table")  ))==null?'':__t)+
'\r\n    </div>\r\n    \r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-requests.requestsModal.requestAdd'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='    <div class="'+
((__t=( f.getClass('requestModalContent__head', 'spaceBottom24') ))==null?'':__t)+
'">\r\n        <h2 class="'+
((__t=( f.getClass('requestModalContent__title', 'textH3', 'ColorTextPr', 'spaceBottom24') ))==null?'':__t)+
'">\r\n            Добавить запрос\r\n        </h2>\r\n        <label class="'+
((__t=( f.getClass('input') ))==null?'':__t)+
'">\r\n            <h3 class="'+
((__t=( f.getClass('input__title') ))==null?'':__t)+
'">\r\n                Источник\r\n            </h3>\r\n            <div class="'+
((__t=( f.getClass('programEditModal__tab') ))==null?'':__t)+
'">\r\n                '+
((__t=( f.renderBlock('tab', {
                    name:'Initiator',
                    selected: data?.initiator || 'calls',
                    items:[
                        {title:'Звонок',value:'calls'},
                        {title:'Чат',value:'chat'},
                        {title:'Другое',value:'another'},
                    ]
                }) ))==null?'':__t)+
'\r\n            </div>\r\n        </label>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('requestModalContent__scroll') ))==null?'':__t)+
' scrollBar">\r\n        <div class="'+
((__t=( f.getClass('requestModalContent__scrollContainer') ))==null?'':__t)+
'">\r\n            <label class="'+
((__t=( f.getClass('input') ))==null?'':__t)+
'">\r\n                <h3 class="'+
((__t=( f.getClass('input__title') ))==null?'':__t)+
'">\r\n                    Клиент\r\n                </h3>\r\n                '+
((__t=( f.renderBlock('form.autocompleteInput',{
                    name:'Client',
                    selected: data.client,
                    limit:14,
                    list:'client_entity',
                    command:'client.getList',
                    params:{},
                    itemExtractor:(item) => {
                        return `${item.first_name} ${item.last_name}`;
                    } 
                }) ))==null?'':__t)+
'\r\n            </label>\r\n            <div class="'+
((__t=( f.getClass('requestModalContent__operator') ))==null?'':__t)+
'">\r\n                <label class="'+
((__t=( f.getClass('input') ))==null?'':__t)+
'">\r\n                    <h3 class="'+
((__t=( f.getClass('input__title') ))==null?'':__t)+
'">\r\n                        Оператор\r\n                    </h3>\r\n                    '+
((__t=( f.renderBlock('form.autocompleteInput',{
                        name:'User',
                        selected: data.user,
                        limit:14,
                        list:'users',
                        command:'users.getList',
                        params:{},
                        itemExtractor:(item) => {
                            return `${item.first_name} ${item.last_name}`;
                        } 
                    }) ))==null?'':__t)+
'\r\n\r\n                </label>\r\n                <button '+
((__t=( e.click('take') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnLight') ))==null?'':__t)+
'">\r\n                    Взять самому\r\n                </button>\r\n            </div>\r\n\r\n\r\n            ';
 if (data.message){  
__p+='\r\n                <div class="'+
((__t=( f.getClass('requestModalContent__services', 'input') ))==null?'':__t)+
'">\r\n                    <h3 class="'+
((__t=( f.getClass('input__title') ))==null?'':__t)+
'">\r\n                        Сообщение\r\n                    </h3>\r\n                    <div>\r\n                        '+
((__t=( f.renderBlock('chats.message', {...data.message, with_out_actions: true}) ))==null?'':__t)+
'\r\n                    </div>\r\n                </div>\r\n            ';
 } else { 
__p+='\r\n                <div class="'+
((__t=( f.getClass('requestModalContent__services', 'input') ))==null?'':__t)+
'">\r\n                    <h3 class="'+
((__t=( f.getClass('input__title') ))==null?'':__t)+
'">\r\n                        Услуга\r\n                    </h3>\r\n                    ';
 if (!data.select_service) { 
__p+='\r\n                    <button '+
((__t=( data.client && data.client.card_type_id  ? '' : 'disabled'))==null?'':__t)+
' '+
((__t=( e.click('canSelectService') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnLight') ))==null?'':__t)+
'">\r\n                        Выбрать услугу\r\n                    </button>\r\n                    ';
 } else if (data.client) { 
__p+='\r\n                        <div class="'+
((__t=( f.getClass('requestModalContent__container') ))==null?'':__t)+
'">\r\n                        '+
((__t=( f.renderBlock('form.autocompleteInput',{
                            name:'Service',
                            placeholder:'Введите услугу',
                            selected: data.service,
                            limit:14,
                            command:'service.getList',
                            list:'service_view',
                            params:{
                                params: {
                                    card_type_id: data.client.card_type_id
                                }
                            },
                            itemExtractor:(item) => {
                                return `${item.name}`;
                            } 
                        }) ))==null?'':__t)+
'\r\n                        </div>\r\n                    ';
 } 
__p+='\r\n                </div>\r\n            ';
 } 
__p+='\r\n\r\n            ';
 if (data.service === void 0){ 
__p+='\r\n                <lable class="'+
((__t=( f.getClass('input') ))==null?'':__t)+
'">\r\n                    <h3 class="'+
((__t=( f.getClass('input__title') ))==null?'':__t)+
'">\r\n                        Заголовок запроса\r\n                    </h3>\r\n                    <input value="'+
((__t=( data.title ))==null?'':__t)+
'" required minlength="3" '+
((__t=( e.on('input','onTextChange','title') ))==null?'':__t)+
'  class="'+
((__t=( f.getClass('input__input', 'inputLongSmall') ))==null?'':__t)+
'" type="text"placeholder="Введите заголовок">\r\n                </lable>\r\n\r\n                <lable class="'+
((__t=( f.getClass('requestModalContent__input', 'input') ))==null?'':__t)+
'">\r\n                    <h3 class="'+
((__t=( f.getClass('input__title') ))==null?'':__t)+
'">\r\n                        Сообщение\r\n                    </h3>\r\n                    <textarea '+
((__t=( e.on('input','onTextChange', 'text') ))==null?'':__t)+
' required minlength="3" class="'+
((__t=( f.getClass('input__input', 'requestModalContent__textarea') ))==null?'':__t)+
'" placeholder="Добавить комментарий">'+
((__t=( data.text ))==null?'':__t)+
'</textarea>\r\n                </lable>\r\n            ';
 } else { 
__p+='\r\n              '+
((__t=( f.renderBlock('requests.form', {pref:'form', ...data.service}) ))==null?'':__t)+
'\r\n            ';
 } 
__p+='\r\n\r\n        </div>\r\n    </div>\r\n';
}
return __p;
}
window.renderBlocks['blocks-requests.requestsModal.requestCanceled'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('requestModalContent__head') ))==null?'':__t)+
'">\r\n    <h2 class="'+
((__t=( f.getClass('requestModalContent__title', 'textH3', 'ColorTextPr') ))==null?'':__t)+
'">\r\n        Отмена запроса\r\n    </h2>\r\n</div>\r\n<lable class="'+
((__t=( f.getClass('requestModalContent__input', 'input') ))==null?'':__t)+
'">\r\n    <h3 class="'+
((__t=( f.getClass('input__title') ))==null?'':__t)+
'">\r\n        Комментарий (его увидет клиент)\r\n    </h3>\r\n    <textarea '+
((__t=( e.on('input', 'onTextChange') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('input__input', 'requestModalContent__textarea') ))==null?'':__t)+
'">'+
((__t=( data.request.comment ))==null?'':__t)+
'</textarea>\r\n</lable>';
}
return __p;
}
window.renderBlocks['blocks-requests.requestsModal.requestCompleted'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('requestModalContent__head') ))==null?'':__t)+
'">\r\n    <h2 class="'+
((__t=( f.getClass('requestModalContent__title', 'textH3', 'ColorTextPr') ))==null?'':__t)+
'">\r\n        Запрос выполнен\r\n    </h2>\r\n</div>\r\n<lable class="'+
((__t=( f.getClass('requestModalContent__input', 'input') ))==null?'':__t)+
'">\r\n    <h3 class="'+
((__t=( f.getClass('input__title') ))==null?'':__t)+
'">\r\n        Добавьте комментарий (необязательно, его увиделт клиент)\r\n    </h3>\r\n    <textarea  '+
((__t=( e.on('input', 'onTextChange') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('input__input', 'requestModalContent__textarea') ))==null?'':__t)+
'">'+
((__t=( data.request.comment ))==null?'':__t)+
'</textarea>\r\n</lable>';
}
return __p;
}
window.renderBlocks['blocks-requests.requestsModal.requestConfirm'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='    <div class="'+
((__t=( f.getClass('requestModalContent__head') ))==null?'':__t)+
'">\r\n        <h2 class="'+
((__t=( f.getClass('requestModalContent__title', 'textH3', 'ColorTextPr') ))==null?'':__t)+
'">\r\n            Взять в работу\r\n        </h2>\r\n    </div>\r\n    <lable class="'+
((__t=( f.getClass('requestModalContent__input', 'input') ))==null?'':__t)+
'">\r\n        <h3 class="'+
((__t=( f.getClass('input__title') ))==null?'':__t)+
'">\r\n            Добавьте комментарий (необязательно). Он будет виден клиенту\r\n        </h3>\r\n        <textarea '+
((__t=( e.on('input', 'onTextChange') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('input__input', 'requestModalContent__textarea') ))==null?'':__t)+
'">'+
((__t=( data.request.comment ))==null?'':__t)+
'</textarea>\r\n    </lable>\r\n';
}
return __p;
}
window.renderBlocks['blocks-requests.requestsModal'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';
 if (data.visible){ 
__p+='\r\n    <div class="'+
((__t=( f.getClass('requestModal') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('requestModal__container') ))==null?'':__t)+
'">\r\n            <button '+
((__t=( e.click('close') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'requestModal__close') ))==null?'':__t)+
'" style="width: 24px; height: 24px; min-width: 24px;" aria-label="Закрыть">\r\n                '+
((__t=( f.renderBlock('icons.i_x') ))==null?'':__t)+
'\r\n            </button>\r\n            <div class="'+
((__t=( f.getClass('requestModal__block') ))==null?'':__t)+
'">\r\n  \r\n                '+
((__t=( f.renderBlock(`requests.requestsModal.${data.mode}`,{...data, pref:'content'}) ))==null?'':__t)+
'\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('requestModal__menu') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('requestModal__btnGroup') ))==null?'':__t)+
'">\r\n                    ';
 if (data.mode === 'requestConfirm'){ 
__p+='\r\n                        <button '+
((__t=( e.click('confirm') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnAgree') ))==null?'':__t)+
'">\r\n                            Взять в работу\r\n                        </button>\r\n                    ';
 } else if (data.mode === 'requestCanceled') { 
__p+='\r\n                        <button '+
((__t=( e.click('confirm') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnCancel') ))==null?'':__t)+
'">\r\n                            Отменить запрос\r\n                        </button> \r\n                    ';
 } else if (data.mode === 'requestCompleted') { 
__p+='\r\n                        <button '+
((__t=( e.click('confirm') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnAgree') ))==null?'':__t)+
'">\r\n                            Закрыть запрос\r\n                        </button>\r\n                    ';
 } else if (data.mode === 'requestAdd') { 
__p+='\r\n                        <button '+
((__t=( e.click('close') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnNeutral') ))==null?'':__t)+
'">\r\n                           Отмена\r\n                        </button>\r\n                        <button '+
((__t=( e.click('confirm') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnAgree') ))==null?'':__t)+
'">\r\n                            Создать запрос\r\n                        </button>\r\n                    ';
 } 
__p+='\r\n\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </div>\r\n';
 } 
__p+='';
}
return __p;
}
window.renderBlocks['blocks-requests.requestsModal.requestServices'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('requestServices') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('requestServices__head', 'spaceBottom16') ))==null?'':__t)+
'">\r\n        <button class="'+
((__t=( f.getClass('resetBtn', 'requestServices__btnHead', 'spaceBottom24') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('requestServices__btnImg') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                '+
((__t=( f.renderBlock('navigation.back') ))==null?'':__t)+
'\r\n            </div>\r\n            <h2 class="'+
((__t=( f.getClass('requestServices__title', 'textH3', 'ColorTextPr') ))==null?'':__t)+
'">\r\n                Выберите услугу\r\n            </h2>\r\n        </button>\r\n        <div class="'+
((__t=( f.getClass('servicesModalTIput') ))==null?'':__t)+
'">\r\n            <input class="'+
((__t=( f.getClass('input48', 'servicesModalTIput__input') ))==null?'':__t)+
'" type="text" placeholder="Найти">\r\n            <div class="'+
((__t=( f.getClass('servicesModalTIput__img') ))==null?'':__t)+
'" style="width: 20px; min-width: 20px; height: 20px;">\r\n                '+
((__t=( f.renderBlock('icons.i_search') ))==null?'':__t)+
'\r\n            </div>\r\n        </div>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('requestServices__scroll') ))==null?'':__t)+
' scrollBar">\r\n        <div class="'+
((__t=( f.getClass('requestServices__scrollContainer') ))==null?'':__t)+
'">\r\n            <ul class="'+
((__t=( f.getClass('resetList', 'servicesModalT__list') ))==null?'':__t)+
'">\r\n                <li class="'+
((__t=( f.getClass('servicesModalT__item', 'servicesBlock') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__btn') ))==null?'':__t)+
'">\r\n                        Доставка аккредитации\r\n                    </button>\r\n                    \r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__favorite') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__container') ))==null?'':__t)+
'" style="position: relative;">\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img01') ))==null?'':__t)+
'" style="width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star') ))==null?'':__t)+
'\r\n                            </div>\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img02') ))==null?'':__t)+
'" style="position: absolute; top: 0; width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star-fill') ))==null?'':__t)+
'\r\n                            </div>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('servicesModalT__item', 'servicesBlock') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__btn') ))==null?'':__t)+
'">\r\n                        Гостиничное размещение\r\n                    </button>\r\n                    \r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__favorite', 'opacityVisible') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__container') ))==null?'':__t)+
'" style="position: relative;">\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img01') ))==null?'':__t)+
'" style="width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star') ))==null?'':__t)+
'\r\n                            </div>\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img02') ))==null?'':__t)+
'" style="position: absolute; top: 0; width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star-fill') ))==null?'':__t)+
'\r\n                            </div>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('servicesModalT__item', 'servicesBlock') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__btn') ))==null?'':__t)+
'">\r\n                        Размещение\r\n                    </button>\r\n                    \r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__favorite') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__container') ))==null?'':__t)+
'" style="position: relative;">\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img01') ))==null?'':__t)+
'" style="width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star') ))==null?'':__t)+
'\r\n                            </div>\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img02') ))==null?'':__t)+
'" style="position: absolute; top: 0; width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star-fill') ))==null?'':__t)+
'\r\n                            </div>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('servicesModalT__item', 'servicesBlock') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__btn') ))==null?'':__t)+
'">\r\n                        Размещение\r\n                    </button>\r\n                    \r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__favorite') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__container') ))==null?'':__t)+
'" style="position: relative;">\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img01') ))==null?'':__t)+
'" style="width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star') ))==null?'':__t)+
'\r\n                            </div>\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img02') ))==null?'':__t)+
'" style="position: absolute; top: 0; width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star-fill') ))==null?'':__t)+
'\r\n                            </div>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('servicesModalT__item', 'servicesBlock') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__btn') ))==null?'':__t)+
'">\r\n                        Размещение\r\n                    </button>\r\n                    \r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__favorite') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__container') ))==null?'':__t)+
'" style="position: relative;">\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img01') ))==null?'':__t)+
'" style="width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star') ))==null?'':__t)+
'\r\n                            </div>\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img02') ))==null?'':__t)+
'" style="position: absolute; top: 0; width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star-fill') ))==null?'':__t)+
'\r\n                            </div>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('servicesModalT__item', 'servicesBlock') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__btn') ))==null?'':__t)+
'">\r\n                        Размещение\r\n                    </button>\r\n                    \r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__favorite') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__container') ))==null?'':__t)+
'" style="position: relative;">\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img01') ))==null?'':__t)+
'" style="width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star') ))==null?'':__t)+
'\r\n                            </div>\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img02') ))==null?'':__t)+
'" style="position: absolute; top: 0; width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star-fill') ))==null?'':__t)+
'\r\n                            </div>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('servicesModalT__item', 'servicesBlock') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__btn') ))==null?'':__t)+
'">\r\n                        Размещение\r\n                    </button>\r\n                    \r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__favorite') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__container') ))==null?'':__t)+
'" style="position: relative;">\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img01') ))==null?'':__t)+
'" style="width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star') ))==null?'':__t)+
'\r\n                            </div>\r\n                            <div class="'+
((__t=( f.getClass('servicesBlock__img02') ))==null?'':__t)+
'" style="position: absolute; top: 0; width: 20px; height: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_star-fill') ))==null?'':__t)+
'\r\n                            </div>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n            </ul>\r\n        </div>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-search'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='    <div class="'+
((__t=( f.getClass('search__container') ))==null?'':__t)+
' searchHeader">\r\n        <div class="'+
((__t=( f.getClass('search__off') ))==null?'':__t)+
'">\r\n            <button '+
((__t=( e.click('open') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('search__btn', 'searchBtn') ))==null?'':__t)+
' searchHeader__btn">\r\n                <span class="'+
((__t=( f.getClass('searchBtn__text') ))==null?'':__t)+
' searchHeader__text" >\r\n                    Поиск\r\n                </span>\r\n            </button>\r\n            <div class="'+
((__t=( f.getClass('search__icon') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                '+
((__t=( f.renderBlock('icons.i_search') ))==null?'':__t)+
'\r\n            </div>\r\n        </div>\r\n\r\n        ';
 if (data.open) { 
__p+='\r\n            <div class="'+
((__t=( f.getClass('search__on') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('search__iconBig') ))==null?'':__t)+
'" style="width: 32px; min-width: 32px; height: 32px;">\r\n                    '+
((__t=( f.renderBlock('icons.i_search') ))==null?'':__t)+
'\r\n                </div>\r\n                <input autofocus  '+
((__t=( e.on('keydown', 'enter')))==null?'':__t)+
'  class="'+
((__t=( f.getClass('search__input') ))==null?'':__t)+
'" type="text" placeholder="Введите текст">\r\n                <button '+
((__t=( e.click('close') ))==null?'':__t)+
'  class="'+
((__t=( f.getClass('resetBtn', 'search__cancel') ))==null?'':__t)+
'" style="width: 32px; min-width: 32px; height: 32px;">\r\n                    '+
((__t=( f.renderBlock('icons.i_x') ))==null?'':__t)+
'\r\n                </button>\r\n            </div>\r\n        ';
 } 
__p+='\r\n    </div>\r\n';
}
return __p;
}
window.renderBlocks['blocks-searchResult'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';
 if (data.data.length > 0) { 
__p+='\r\n    <div  class="'+
((__t=( f.getClass("searchBarResult") ))==null?'':__t)+
' searchBarResult">\r\n        <div class="'+
((__t=( f.getClass("content") ))==null?'':__t)+
'">\r\n        \r\n            ';
 for (let item of data.data){  
__p+='\r\n\r\n                <a href="/course/'+
((__t=( item.link ))==null?'':__t)+
'" class="'+
((__t=( f.getClass("item") ))==null?'':__t)+
'">\r\n                    <div class="'+
((__t=( f.getClass("previewContain") ))==null?'':__t)+
'">\r\n                        <img class="'+
((__t=( f.getClass("preview") ))==null?'':__t)+
'" src="'+
((__t=( utils.renderPreview(item.intro_blocks) ))==null?'':__t)+
'" />\r\n                    </div>\r\n                    <div class="'+
((__t=( f.getClass("body") ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass("title") ))==null?'':__t)+
'">'+
((__t=( item.title ))==null?'':__t)+
'</div>\r\n                        <div class="'+
((__t=( f.getClass("date") ))==null?'':__t)+
'">'+
((__t=( item.start_at ))==null?'':__t)+
'</div>\r\n                    </div>\r\n                </a>\r\n\r\n            ';
 } 
__p+='\r\n        \r\n        </div>\r\n        <div class="'+
((__t=( f.getClass("ContainShowAll") ))==null?'':__t)+
'">\r\n            <a class="'+
((__t=( f.getClass("showAll") ))==null?'':__t)+
'" href="/search?q='+
((__t=( data.query ))==null?'':__t)+
'">Показать все</a>\r\n        </div>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass("overlay") ))==null?'':__t)+
'"></div>\r\n';
 } 
__p+='\r\n';
}
return __p;
}
window.renderBlocks['blocks-select_40'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<button class="'+
((__t=( f.getClass('resetBtn', 'select', 'textM', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n    По названию\r\n    <div class="'+
((__t=( f.getClass('select__img') ))==null?'':__t)+
'" style="height: 20px; width: 20px;">\r\n        '+
((__t=( f.renderBlock("icons.i_chevron-down")  ))==null?'':__t)+
'\r\n    </div>\r\n</button>';
}
return __p;
}
window.renderBlocks['blocks-select_50'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';
 
    state.key = data.key;

    let name =  data.items.filter(item => item.value === (data.selected || data.default));

    name = name[0] ? name[0].name : ''

__p+='\r\n\r\n<div style="position:relative">\r\n    \r\n    <div class="'+
((__t=( f.getClass('block-select-container', 'block-select-img') ))==null?'':__t)+
' block-select-container" tabindex="0">\r\n        <p class="'+
((__t=( f.getClass('block-select-first') ))==null?'':__t)+
'">'+
((__t=( name ))==null?'':__t)+
'</p>\r\n        <div class="'+
((__t=( f.getClass('block-select-img') ))==null?'':__t)+
'" style="width: 20px; height: 20px;">\r\n            '+
((__t=( f.renderBlock( 'icons.i_chevron-down' ) ))==null?'':__t)+
'\r\n        </div>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('block-select-list') ))==null?'':__t)+
'">\r\n        <ul class="'+
((__t=( f.getClass('blockSelectScroll') ))==null?'':__t)+
' scrollBar">\r\n            ';
 for (let item of data.items){ 
__p+='\r\n                <li '+
((__t=( e.click('select', item) ))==null?'':__t)+
' class=\''+
((__t=( f.getClass("block-select-item") ))==null?'':__t)+
'\' value="'+
((__t=( item.value ))==null?'':__t)+
'" tabindex="0">'+
((__t=( item.name ))==null?'':__t)+
'</li>\r\n            ';
 } 
__p+='\r\n        </ul>\r\n    </div>\r\n</div>\r\n';
}
return __p;
}
window.renderBlocks['blocks-service.info'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('clientInfo') ))==null?'':__t)+
'">\r\n    \r\n    <div class="'+
((__t=( f.getClass('clientInfo__scroll') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('clientInfo__content') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('clientInfo__section') ))==null?'':__t)+
'">\r\n                <ul class="'+
((__t=( f.getClass('resetList', 'clientInfo__list', 'clientStatistic') ))==null?'':__t)+
'">\r\n                    <li class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement', 'flexFull') ))==null?'':__t)+
'">\r\n                        <p class="'+
((__t=( f.getClass('clientInfo__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                            Активных запросов\r\n                        </p>\r\n                        <span class="'+
((__t=( f.getClass('clientInfo__text', 'textH3', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                            '+
((__t=( data.active_request_count ? data.active_request_count : 0 ))==null?'':__t)+
'\r\n                        </span>\r\n                    </li>\r\n                    <li class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement', 'flexFull') ))==null?'':__t)+
'">\r\n                        <p class="'+
((__t=( f.getClass('clientInfo__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                            Запросов\r\n                        </p>\r\n                        <span class="'+
((__t=( f.getClass('clientInfo__text', 'textH3', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                            '+
((__t=( data.total_request_count ))==null?'':__t)+
'\r\n                        </span>\r\n                    </li>\r\n                    <li class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement', 'flexFull') ))==null?'':__t)+
'">\r\n                        <p class="'+
((__t=( f.getClass('clientInfo__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                            Счетов\r\n                        </p>\r\n                        <span class="'+
((__t=( f.getClass('clientInfo__text', 'textH3', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                            !!! Нет кода\r\n                        </span>\r\n                    </li>\r\n                </ul>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('clientInfo__section') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('clientInfo__list', 'clientStatistic', 'spaceBottom8') ))==null?'':__t)+
'">\r\n                    <div class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement', 'flexFull') ))==null?'':__t)+
'">\r\n                        <h3 class="'+
((__t=( f.getClass('clientInfo__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                            Название\r\n                        </h3>\r\n                        <span class="'+
((__t=( f.getClass('clientInfo__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                            '+
((__t=( data.name ))==null?'':__t)+
'\r\n                        </span>\r\n                    </div>\r\n                </div>\r\n                <div class="'+
((__t=( f.getClass('clientInfo__list', 'clientStatistic') ))==null?'':__t)+
'">\r\n                    <div class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement', 'flexFull') ))==null?'':__t)+
'">\r\n                        <h3 class="'+
((__t=( f.getClass('clientInfo__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                            Статус\r\n                        </h3>\r\n                        <p class="'+
((__t=( f.getClass('clientInfo__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                            '+
((__t=( data.status ? 'Активна' : 'Неактивна' ))==null?'':__t)+
'\r\n                        </p>\r\n                    </div>\r\n            \r\n                    <div class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement', 'cloudElementSmall') ))==null?'':__t)+
'">\r\n                        <h3 class="'+
((__t=( f.getClass('clientInfo__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                            ID услуги\r\n                        </h3>\r\n                        <span class="'+
((__t=( f.getClass('clientInfo__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                            '+
((__t=( data._id ))==null?'':__t)+
'\r\n                        </span>\r\n                    </div>\r\n                </div>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('clientInfo__section') ))==null?'':__t)+
'">\r\n                <h2 class="'+
((__t=( f.getClass('clientInfo__title', 'textLB', 'colorTextPrim', 'spaceBottom16') ))==null?'':__t)+
'">\r\n                    Особенности\r\n                </h2>\r\n                <div class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement', 'flexFull', 'spaceBottom8') ))==null?'':__t)+
'">\r\n                    <h3 class="'+
((__t=( f.getClass('clientInfo__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                        Требуемый уровень\r\n                    </h3>\r\n                    <span class="'+
((__t=( f.getClass('clientInfo__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                        '+
((__t=( data.card_type_name ? data.card_type_name : 'Нет' ))==null?'':__t)+
'\r\n                    </span>\r\n                </div>\r\n                <div class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement', 'flexFull', 'spaceBottom8') ))==null?'':__t)+
'">\r\n                    <h3 class="'+
((__t=( f.getClass('clientInfo__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                        Мероприятие\r\n                    </h3>\r\n                    <span class="'+
((__t=( f.getClass('clientInfo__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                        '+
((__t=( data.event_title ? data.event_title : 'Нет' ))==null?'':__t)+
'\r\n                    </span>\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </div>\r\n    \r\n    \r\n    <div class="'+
((__t=( f.getClass('clientInfo__menu', 'clientInfoMenu') ))==null?'':__t)+
' scrollBar" aria-label="Боковое меню">\r\n        <div class="'+
((__t=( f.getClass('clientInfoMenu__scrollContainer') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('clientInfoMenu__main') ))==null?'':__t)+
'">\r\n                ';
 if ( data.template_title ) { 
__p+='\r\n                    <div class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement') ))==null?'':__t)+
'">\r\n                        <h2 class="'+
((__t=( f.getClass('clientInfoMenu__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                            Шаблон\r\n                        </h2>\r\n                        <a class="'+
((__t=( f.getClass('resetLink', 'clientInfoMenu__text', 'textM', 'colorTextAcc') ))==null?'':__t)+
'" href="#">\r\n                            '+
((__t=( data.template_title ))==null?'':__t)+
'\r\n                        </a>\r\n                    </div> \r\n                ';
 } 
__p+='\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('clientInfoMenu__section') ))==null?'':__t)+
'">\r\n                <ul class="'+
((__t=( f.getClass('resetList', 'clientInfoMenu__list') ))==null?'':__t)+
'">\r\n                    <li class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement') ))==null?'':__t)+
'">\r\n                        <h2 class="'+
((__t=( f.getClass('clientInfoMenu__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                            Добавлена\r\n                        </h2>\r\n                        <time class="'+
((__t=( f.getClass('clientInfoMenu__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'" datetime=" '+
((__t=( utils.moment(data.created_at).locale(context.locale).format('YYYY-MM-DDTHH:mm')))==null?'':__t)+
'">\r\n                            '+
((__t=( utils.moment(data.created_at).locale(context.locale).format('HH:mm DD MMMM YYYY')))==null?'':__t)+
'\r\n                        </time>\r\n                    </li>\r\n                    <li class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement') ))==null?'':__t)+
'">\r\n                        <h2 class="'+
((__t=( f.getClass('clientInfoMenu__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                            Изменена\r\n                        </h2>\r\n                        <time class="'+
((__t=( f.getClass('clientInfoMenu__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'" datetime=" '+
((__t=( utils.moment(data._timestamp).locale(context.locale).format('YYYY-MM-DDTHH:mm')))==null?'':__t)+
'">\r\n                            '+
((__t=( utils.moment(data._timestamp).locale(context.locale).format('HH:mm DD MMMM YYYY')))==null?'':__t)+
'\r\n                        </time>\r\n                    </li>\r\n                    <li class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement') ))==null?'':__t)+
'">\r\n                        <h2 class="'+
((__t=( f.getClass('clientInfoMenu__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                            Создана\r\n                        </h2>\r\n                        <a class="'+
((__t=( f.getClass('clientInfoMenu__text', 'textM', 'colorTextAcc') ))==null?'':__t)+
'" href="/operators/'+
((__t=( data.created_by ))==null?'':__t)+
'">\r\n                            '+
((__t=( data.user_last_name ))==null?'':__t)+
' '+
((__t=( data.user_first_name ))==null?'':__t)+
'\r\n                        </a>\r\n                    </li>\r\n                </ul>\r\n            </div>\r\n        </div>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-tab_partners'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('partners') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('partners__main') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('partners__categories', 'categories') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('categories__head') ))==null?'':__t)+
'">\r\n                <h2 class="'+
((__t=( f.getClass('categories__title', 'textH3', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                    Категории\r\n                </h2>\r\n                <button class="'+
((__t=( f.getClass('btn-agree-small') ))==null?'':__t)+
'">\r\n                    Добавить\r\n                </button>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('categories__scroll', 'scroll-bar') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('categories__container', 'scroll-bar__container') ))==null?'':__t)+
'">\r\n                    \r\n                    <div class="'+
((__t=( f.getClass('categories__section') ))==null?'':__t)+
'">\r\n                        <h3 class="'+
((__t=( f.getClass('categories__subtitle', 'textSB', 'dark500base') ))==null?'':__t)+
'">\r\n                            Золотой\r\n                        </h3>\r\n                        <ul class="'+
((__t=( f.getClass('resetList', 'categories__list') ))==null?'':__t)+
'">\r\n                            \r\n                            <li class="'+
((__t=( f.getClass('categories__item') ))==null?'':__t)+
'">\r\n                                <p class="'+
((__t=( f.getClass('categories__text', 'textM', 'dark500base') ))==null?'':__t)+
'">\r\n                                    Перетащите партнера из списка\r\n                                </p>\r\n                            </li>\r\n                            <li class="'+
((__t=( f.getClass('categories__item') ))==null?'':__t)+
'">\r\n                                <button class="'+
((__t=( f.getClass('resetBtn', 'organization') ))==null?'':__t)+
'">\r\n                                    <div class="'+
((__t=( f.getClass('organization__logo') ))==null?'':__t)+
'" style="min-width: 48px; text-align: center;">\r\n                                        <img class="'+
((__t=( f.getClass('organization__logo-img') ))==null?'':__t)+
'" src="/img/partners_logo/avtodor.png" style="max-width: 48px; max-height: 48px;" alt="" aria-hidden="true">\r\n                                    </div>\r\n                                    <div class="'+
((__t=( f.getClass('organization__container') ))==null?'':__t)+
'">\r\n                                        <p class="'+
((__t=( f.getClass('organization__text', 'textMB', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                                            ГК «Автодор»\r\n                                        </p>\r\n                                    </div>\r\n                                </button>\r\n                                \r\n                                <button class="'+
((__t=( f.getClass('resetBtn', 'categories__btn-delete') ))==null?'':__t)+
'" aria-label="Закрыть" style="width: 24px;">\r\n                                    '+
((__t=( f.renderBlock('icons.i_x') ))==null?'':__t)+
'\r\n                                </button>\r\n                            </li>\r\n                        </ul>\r\n                    </div>\r\n                    \r\n                    <div class="'+
((__t=( f.getClass('categories__section') ))==null?'':__t)+
'">\r\n                        <h3 class="'+
((__t=( f.getClass('categories__subtitle', 'textSB', 'dark500base') ))==null?'':__t)+
'">\r\n                            Серебряный\r\n                        </h3>\r\n                        <ul class="'+
((__t=( f.getClass('resetList', 'categories__list') ))==null?'':__t)+
'">\r\n                            \r\n                            <li class="'+
((__t=( f.getClass('categories__item') ))==null?'':__t)+
'">\r\n                                <p class="'+
((__t=( f.getClass('categories__text', 'textM', 'dark500base') ))==null?'':__t)+
'">\r\n                                    Перетащите партнера из списка\r\n                                </p>\r\n                            </li>\r\n                            <li class="'+
((__t=( f.getClass('categories__item') ))==null?'':__t)+
'">\r\n                                <button class="'+
((__t=( f.getClass('resetBtn', 'organization') ))==null?'':__t)+
'">\r\n                                    <div class="'+
((__t=( f.getClass('organization__logo') ))==null?'':__t)+
'" style="min-width: 48px; text-align: center;">\r\n                                        <img class="'+
((__t=( f.getClass('organization__logo-img') ))==null?'':__t)+
'" src="/img/partners_logo/evrohim.png" style="max-width: 48px; max-height: 48px;" alt="" aria-hidden="true">\r\n                                    </div>\r\n                                    <div class="'+
((__t=( f.getClass('organization__container') ))==null?'':__t)+
'">\r\n                                        <p class="'+
((__t=( f.getClass('organization__text', 'textMB', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                                            Минерально-химическая компания ЕвроХим\r\n                                        </p>\r\n                                    </div>\r\n                                </button>\r\n                                \r\n                                <button class="'+
((__t=( f.getClass('resetBtn', 'categories__btn-delete') ))==null?'':__t)+
'" aria-label="Закрыть" style="width: 24px;">\r\n                                    '+
((__t=( f.renderBlock('icons.i_x') ))==null?'':__t)+
'\r\n                                </button>\r\n                            </li>\r\n                        </ul>\r\n                    </div>\r\n                    \r\n                    <div class="'+
((__t=( f.getClass('categories__section') ))==null?'':__t)+
'">\r\n                        <h3 class="'+
((__t=( f.getClass('categories__subtitle', 'textSB', 'dark500base') ))==null?'':__t)+
'">\r\n                            Бронзовый\r\n                        </h3>\r\n                        <ul class="'+
((__t=( f.getClass('resetList', 'categories__list') ))==null?'':__t)+
'">\r\n                            \r\n                            <li class="'+
((__t=( f.getClass('categories__item') ))==null?'':__t)+
'">\r\n                                <p class="'+
((__t=( f.getClass('categories__text', 'textM', 'dark500base') ))==null?'':__t)+
'">\r\n                                    Перетащите партнера из списка\r\n                                </p>\r\n                            </li>\r\n                            <li class="'+
((__t=( f.getClass('categories__item') ))==null?'':__t)+
'">\r\n                                <button class="'+
((__t=( f.getClass('resetBtn', 'organization') ))==null?'':__t)+
'">\r\n                                    <div class="'+
((__t=( f.getClass('organization__logo') ))==null?'':__t)+
'" style="min-width: 48px; text-align: center;">\r\n                                        <img class="'+
((__t=( f.getClass('organization__logo-img') ))==null?'':__t)+
'" src="/img/partners_logo/aurus.png" style="max-width: 48px; max-height: 48px;" alt="" aria-hidden="true">\r\n                                    </div>\r\n                                    <div class="'+
((__t=( f.getClass('organization__container') ))==null?'':__t)+
'">\r\n                                        <p class="'+
((__t=( f.getClass('organization__text', 'textMB', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                                            Пермский край\r\n                                        </p>\r\n                                    </div>\r\n                                </button>\r\n                                \r\n                                <button class="'+
((__t=( f.getClass('resetBtn', 'categories__btn-delete') ))==null?'':__t)+
'" aria-label="Закрыть" style="width: 24px;">\r\n                                    '+
((__t=( f.renderBlock('icons.i_x') ))==null?'':__t)+
'\r\n                                </button>\r\n                            </li>\r\n                            <li class="'+
((__t=( f.getClass('categories__item') ))==null?'':__t)+
'">\r\n                                <button class="'+
((__t=( f.getClass('resetBtn', 'organization') ))==null?'':__t)+
'">\r\n                                    <div class="'+
((__t=( f.getClass('organization__logo') ))==null?'':__t)+
'" style="min-width: 48px; text-align: center;">\r\n                                        <img class="'+
((__t=( f.getClass('organization__logo-img') ))==null?'':__t)+
'" src="/img/partners_logo/premor_kray.png" style="max-width: 48px; max-height: 48px;" alt="" aria-hidden="true">\r\n                                    </div>\r\n                                    <div class="'+
((__t=( f.getClass('organization__container') ))==null?'':__t)+
'">\r\n                                        <p class="'+
((__t=( f.getClass('organization__text', 'textMB', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                                            Питьевая вода AURUS\r\n                                        </p>\r\n                                    </div>\r\n                                </button>\r\n                                \r\n                                <button class="'+
((__t=( f.getClass('resetBtn', 'categories__btn-delete') ))==null?'':__t)+
'" aria-label="Закрыть" style="width: 24px;">\r\n                                    '+
((__t=( f.renderBlock('icons.i_x') ))==null?'':__t)+
'\r\n                                </button>\r\n                            </li>\r\n                        </ul>\r\n                    </div>\r\n                </div>\r\n            </div>\r\n        </div>\r\n        <div class="'+
((__t=( f.getClass('partners__container', 'partner-list') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('partner-list__head') ))==null?'':__t)+
'">\r\n                <h2 class="'+
((__t=( f.getClass('partner-list__title', 'textH3', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                    Партнёры\r\n                </h2>\r\n                <button class="'+
((__t=( f.getClass('btn-agree-small') ))==null?'':__t)+
'">\r\n                    Добавить\r\n                </button>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('partner-list__search') ))==null?'':__t)+
'">\r\n                '+
((__t=( f.renderBlock('search') ))==null?'':__t)+
'\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('partner-list__scroll', 'scroll-bar') ))==null?'':__t)+
'">\r\n                <ul class="'+
((__t=( f.getClass('resetList', 'partner-list__list', 'scroll-bar__container') ))==null?'':__t)+
'">\r\n                    <li class="'+
((__t=( f.getClass('partner-list__item') ))==null?'':__t)+
'">\r\n                        <button class="'+
((__t=( f.getClass('resetBtn', 'organization') ))==null?'':__t)+
'">\r\n                            <div class="'+
((__t=( f.getClass('organization__logo') ))==null?'':__t)+
'" style="min-width: 48px; text-align: center;">\r\n                                <img class="'+
((__t=( f.getClass('organization__logo-img') ))==null?'':__t)+
'" src="/img/partners_logo/sibur.png" style="max-width: 48px; max-height: 48px;" alt="" aria-hidden="true">\r\n                            </div>\r\n                            <div class="'+
((__t=( f.getClass('organization__container') ))==null?'':__t)+
'">\r\n                                <p class="'+
((__t=( f.getClass('organization__text', 'textMB', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                                    ООО «СИБУР»\r\n                                </p>\r\n                            </div>\r\n                        </button>\r\n                    </li>\r\n                    <li class="'+
((__t=( f.getClass('partner-list__item') ))==null?'':__t)+
'">\r\n                        <button class="'+
((__t=( f.getClass('resetBtn', 'organization') ))==null?'':__t)+
'">\r\n                            <div class="'+
((__t=( f.getClass('organization__logo') ))==null?'':__t)+
'" style="min-width: 48px; text-align: center;">\r\n                                <img class="'+
((__t=( f.getClass('organization__logo-img') ))==null?'':__t)+
'" src="/img/partners_logo/sogaz.png" style="max-width: 48px; max-height: 48px;" alt="" aria-hidden="true">\r\n                            </div>\r\n                            <div class="'+
((__t=( f.getClass('organization__container') ))==null?'':__t)+
'">\r\n                                <p class="'+
((__t=( f.getClass('organization__text', 'textMB', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                                    АО «СОГАЗ»\r\n                                </p>\r\n                            </div>\r\n                        </button>\r\n                    </li>\r\n                    <li class="'+
((__t=( f.getClass('partner-list__item') ))==null?'':__t)+
'">\r\n                        <button class="'+
((__t=( f.getClass('resetBtn', 'organization') ))==null?'':__t)+
'">\r\n                            <div class="'+
((__t=( f.getClass('organization__logo') ))==null?'':__t)+
'" style="min-width: 48px; text-align: center;">\r\n                                <img class="'+
((__t=( f.getClass('organization__logo-img') ))==null?'':__t)+
'" src="/img/partners_logo/msp.png" style="max-width: 48px; max-height: 48px;" alt="" aria-hidden="true">\r\n                            </div>\r\n                            <div class="'+
((__t=( f.getClass('organization__container') ))==null?'':__t)+
'">\r\n                                <p class="'+
((__t=( f.getClass('organization__text', 'textMB', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                                    АО «Корпорация «МСП»\r\n                                </p>\r\n                            </div>\r\n                        </button>\r\n                    </li>\r\n                    <li class="'+
((__t=( f.getClass('partner-list__item') ))==null?'':__t)+
'">\r\n                        <button class="'+
((__t=( f.getClass('resetBtn', 'organization') ))==null?'':__t)+
'">\r\n                            <div class="'+
((__t=( f.getClass('organization__logo') ))==null?'':__t)+
'" style="min-width: 48px; text-align: center;">\r\n                                <img class="'+
((__t=( f.getClass('organization__logo-img') ))==null?'':__t)+
'" src="/img/partners_logo/sverdl_obl.png" style="max-width: 48px; max-height: 48px;" alt="" aria-hidden="true">\r\n                            </div>\r\n                            <div class="'+
((__t=( f.getClass('organization__container') ))==null?'':__t)+
'">\r\n                                <p class="'+
((__t=( f.getClass('organization__text', 'textMB', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                                    Правительство Свердловской области\r\n                                </p>\r\n                            </div>\r\n                        </button>\r\n                    </li>\r\n                    <li class="'+
((__t=( f.getClass('partner-list__item') ))==null?'':__t)+
'">\r\n                        <button class="'+
((__t=( f.getClass('resetBtn', 'organization') ))==null?'':__t)+
'">\r\n                            <div class="'+
((__t=( f.getClass('organization__logo') ))==null?'':__t)+
'" style="min-width: 48px; text-align: center;">\r\n                                <img class="'+
((__t=( f.getClass('organization__logo-img') ))==null?'':__t)+
'" src="/img/partners_logo/krasni_ortiybr.png" style="max-width: 48px; max-height: 48px;" alt="" aria-hidden="true">\r\n                            </div>\r\n                            <div class="'+
((__t=( f.getClass('organization__container') ))==null?'':__t)+
'">\r\n                                <p class="'+
((__t=( f.getClass('organization__text', 'textMB', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                                    Московская кондитерская фабрика «Красный Октябрь»\r\n                                </p>\r\n                            </div>\r\n                        </button>\r\n                    </li>\r\n                </ul>\r\n            </div>\r\n        </div>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('partners__btn-container') ))==null?'':__t)+
'">\r\n        <button class="'+
((__t=( f.getClass('btn-cencel') ))==null?'':__t)+
'">Отмена</button>\r\n        <button class="'+
((__t=( f.getClass('btn-agree') ))==null?'':__t)+
'">Далее</button>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-tab'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<nav class="'+
((__t=( f.getClass('tabNav') ))==null?'':__t)+
'">\r\n    <ul class="'+
((__t=( f.getClass('resetList', 'tabListNav') ))==null?'':__t)+
'">\r\n        ';
 for (let item of data.items) { 
            const selected = (item.variant && Array.isArray(item.variant)) ? item.variant.includes(data.selected) :  data.selected === item.value;
            
__p+='\r\n            <li class="'+
((__t=( f.getClass('tabNavItem') ))==null?'':__t)+
'">\r\n                <button '+
((__t=( item.disabled ? '' :  e.click('change', item) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'tabNavBtn', selected && 'tabNavBtnActiv') ))==null?'':__t)+
'">\r\n                    '+
((__t=( item.title ))==null?'':__t)+
'  \r\n                </button>\r\n            </li>\r\n        ';
 } 
__p+='\r\n    </ul>\r\n</nav>';
}
return __p;
}
window.renderBlocks['blocks-table.bool'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';
 
let res = data.value;
if (data.options && data.options.condidtion){
    let func = new Function('data', `return ${data.options.condidtion}`)
    res = func(data);
}

 
__p+='\r\n\r\n<div class="'+
((__t=( f.getClass('ivent__cell', 'textM', 'dark500base') ))==null?'':__t)+
' '+
((__t=( data.col_class ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('badge', res ?  'bagePositive' : 'bageWarning') ))==null?'':__t)+
'">\r\n        '+
((__t=( res ? data.options.locale[0] : data.options.locale[1] ))==null?'':__t)+
'\r\n    </div>\r\n</div>\r\n';
}
return __p;
}
window.renderBlocks['blocks-table.chat_client'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('ivent__cell') ))==null?'':__t)+
' '+
((__t=(data.col_class ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('tableClient', 'column02HoverWidth') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('tableClient__container') ))==null?'':__t)+
'">\r\n               <div class="'+
((__t=( f.getClass('tableClient__img') ))==null?'':__t)+
'" style="width: 16px; min-width: 16px; height: 16px;">\r\n                '+
((__t=( f.renderBlock('icons.i_search') ))==null?'':__t)+
'\r\n            </div>\r\n            <a href="/clients/'+
((__t=(data.value._id))==null?'':__t)+
'" class="'+
((__t=( f.getClass('tableClient__text', 'textM', 'textSecondery') ))==null?'':__t)+
'">\r\n                '+
((__t=( data.value.first_name ))==null?'':__t)+
' '+
((__t=( data.value.last_name ))==null?'':__t)+
'\r\n            </a>\r\n        </div>\r\n      <!--  <span class="'+
((__t=( f.getClass('tableClient__subtext', 'textS', 'textTertiary') ))==null?'':__t)+
'">\r\n            Леонид Максимов\r\n        </span> -->\r\n    </div>\r\n</div> ';
}
return __p;
}
window.renderBlocks['blocks-table.chat_message'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';

const replaceUrlsWithLinks = (text = "")=>  {
  const expressionWithHttp =
    /(https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b(.*))/gi;

  let regex = new RegExp(expressionWithHttp);

  try {
    return text.replace(regex, (a) => {
      if ( a.length > 40 ) {
        return `<a style="word-wrap: break-word;" href='${a}'>${a.slice(0, 40)}...</a>`;
      } else {
        return `<a style="word-wrap: break-word;" href='${a}'>${a}</a>`;
      };
      // return `<a style="word-wrap: break-word; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; max-width: 400px;" href='${a}'>${a}</a>`;
    });
  } catch (err) {
    return text;
  }
}


__p+='\r\n\r\n<div class="'+
((__t=( f.getClass('ivent__cell') ))==null?'':__t)+
' '+
((__t=(data.col_class ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('ivent__fitContent', 'column02HoverWidth') ))==null?'':__t)+
'">\r\n      ';
 if (data.value.has_unread_messages) { 
__p+='\r\n        <p class="'+
((__t=( f.getClass('ivent__marker') ))==null?'':__t)+
'">\r\n          Клиент не прочитал ответ\r\n        </p>\r\n      ';
 } 
__p+='\r\n      ';
 if (data.value.last_message_at) { 
__p+=' \r\n        <time class="'+
((__t=( f.getClass('ivent__time', 'textS', 'colorBase', 'spaceBottom4') ))==null?'':__t)+
'"  datetime="'+
((__t=( utils.moment(data.value.last_message_at).locale(context.locale).format('YYYY-MM-DDTHH:mm')))==null?'':__t)+
'">\r\n          '+
((__t=( utils.moment(data.value.last_message_at).locale('ru').fromNow() ))==null?'':__t)+
'\r\n        </time>\r\n      ';
 } 
__p+='\r\n      ';
 if ( (data.value.attachments || []).length ) { 
__p+=' \r\n        <div class="'+
((__t=( f.getClass('ivent__attachment') ))==null?'':__t)+
'">\r\n          <div class="'+
((__t=( f.getClass('ivent__icon', 'darkSecond') ))==null?'':__t)+
'" style="width: 16px; min-width: 16px; height: 16px;">\r\n            '+
((__t=( f.renderBlock('icons.i_page') ))==null?'':__t)+
'\r\n          </div>\r\n          <p class="'+
((__t=( f.getClass('textM', 'darkSecond') ))==null?'':__t)+
'">\r\n            Вложение\r\n          </p>\r\n        </div>\r\n      ';
 } else { 
__p+='\r\n        <p class="'+
((__t=( f.getClass('textM', 'darkSecond') ))==null?'':__t)+
'">\r\n          '+
((__t=( replaceUrlsWithLinks(data.value.text) ))==null?'':__t)+
'\r\n        </p>\r\n      ';
 } 
__p+='\r\n    </div>\r\n</div>  ';
}
return __p;
}
window.renderBlocks['blocks-table.client'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('ivent__cell') ))==null?'':__t)+
' '+
((__t=(data.col_class ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('resetLink', 'tableClient', 'column02HoverWidth') ))==null?'':__t)+
'" href="/clients/'+
((__t=(data.value._id))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('tableClient__container') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('tableClient__img') ))==null?'':__t)+
'" style="width: 16px; min-width: 16px; height: 16px;">\r\n                '+
((__t=( f.renderBlock('icons.i_briefcase') ))==null?'':__t)+
'\r\n            </div>\r\n            <p class="'+
((__t=( f.getClass('tableClient__text', 'textM', 'textSecondery') ))==null?'':__t)+
'">\r\n                '+
((__t=( data.value.first_name ))==null?'':__t)+
' '+
((__t=( data.value.last_name ))==null?'':__t)+
'\r\n            </p>\r\n        </div>\r\n        \r\n       <span class="'+
((__t=( f.getClass('tableClient__subtext', 'textS', 'textTertiary') ))==null?'':__t)+
'">\r\n            '+
((__t=( data.value.first_name ))==null?'':__t)+
' '+
((__t=( data.value.last_name ))==null?'':__t)+
'\r\n        </span>\r\n    </div>\r\n</div> ';
}
return __p;
}
window.renderBlocks['blocks-table.client2'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('ivent__cell') ))==null?'':__t)+
' '+
((__t=(data.col_class ))==null?'':__t)+
'">\r\n    <a class="'+
((__t=( f.getClass('resetLink', 'tableClient', 'column02HoverWidth') ))==null?'':__t)+
'" href="/clients/'+
((__t=(data.value._id))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('tableClient__container') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('tableClient__img') ))==null?'':__t)+
'" style="width: 16px; min-width: 16px; height: 16px;">\r\n                '+
((__t=( f.renderBlock('icons.i_briefcase') ))==null?'':__t)+
'\r\n            </div>\r\n            <p class="'+
((__t=( f.getClass('tableClient__text', 'textM', 'textSecondery') ))==null?'':__t)+
'">\r\n                '+
((__t=( data.value.first_name ))==null?'':__t)+
' '+
((__t=( data.value.last_name ))==null?'':__t)+
'\r\n            </p>\r\n        </div>\r\n        \r\n       <span class="'+
((__t=( f.getClass('tableClient__subtext', 'textS', 'textTertiary') ))==null?'':__t)+
'">\r\n            '+
((__t=( data.value.first_name ))==null?'':__t)+
' '+
((__t=( data.value.last_name ))==null?'':__t)+
'\r\n        </span>\r\n    </a>\r\n</div> ';
}
return __p;
}
window.renderBlocks['blocks-table.datetime'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<time class="'+
((__t=( f.getClass('ivent__cell','textM', 'dark500base') ))==null?'':__t)+
' '+
((__t=(data.col_class ))==null?'':__t)+
'" datetime=" '+
((__t=( utils.moment(data.value).format()))==null?'':__t)+
'">\r\n    '+
((__t=( utils.moment(data.value).locale(context.locale).format(data.options.format)))==null?'':__t)+
'\r\n</time>';
}
return __p;
}
window.renderBlocks['blocks-table.fewWords'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('ivent__cell') ))==null?'':__t)+
' '+
((__t=(data.col_class ))==null?'':__t)+
'">\r\n    <p class="'+
((__t=( f.getClass('ivent__fitContent', 'textM', 'textDarkMainBase', 'column02HoverWidth') ))==null?'':__t)+
'">\r\n        '+
((__t=( data.value ))==null?'':__t)+
'\r\n    </p>\r\n</div>  ';
}
return __p;
}
window.renderBlocks['blocks-table.id'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('ivent__cell', 'textM', 'dark500base') ))==null?'':__t)+
' '+
((__t=(data.col_class ))==null?'':__t)+
'">\r\n    <span class="'+
((__t=( f.getClass('ivent__background') ))==null?'':__t)+
'">\r\n        '+
((__t=( data.value ))==null?'':__t)+
'\r\n    </span>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-table.operator'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('ivent__cell') ))==null?'':__t)+
' '+
((__t=(data.col_class ))==null?'':__t)+
'">\r\n    <a class="'+
((__t=( f.getClass('resetLink', 'tableClient', 'column02HoverWidth') ))==null?'':__t)+
'" href="/operators/'+
((__t=(data.value._id))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('tableClient__container') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('tableClient__img') ))==null?'':__t)+
'" style="width: 16px; min-width: 16px; height: 16px;">\r\n                '+
((__t=( f.renderBlock('icons.i_briefcase') ))==null?'':__t)+
'\r\n            </div>\r\n            <p class="'+
((__t=( f.getClass('tableClient__text', 'textM', 'textSecondery') ))==null?'':__t)+
'">\r\n                '+
((__t=( data.value.first_name ))==null?'':__t)+
' '+
((__t=( data.value.last_name ))==null?'':__t)+
'\r\n            </p>\r\n        </div>\r\n        \r\n       <span class="'+
((__t=( f.getClass('tableClient__subtext', 'textS', 'textTertiary') ))==null?'':__t)+
'">\r\n            '+
((__t=( data.value.first_name ))==null?'':__t)+
' '+
((__t=( data.value.last_name ))==null?'':__t)+
'\r\n        </span>\r\n    </a>\r\n</div> ';
}
return __p;
}
window.renderBlocks['blocks-table.short_text'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('ivent__cell', 'textSB', 'dark500base') ))==null?'':__t)+
' '+
((__t=( data.col_class ))==null?'':__t)+
'">\r\n    <span class="'+
((__t=( f.getClass('ivent__fitContent') ))==null?'':__t)+
'">\r\n        '+
((__t=( data.value ))==null?'':__t)+
'\r\n    </span>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-table.status'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('ivent__cell', 'textM', 'dark500base') ))==null?'':__t)+
' '+
((__t=( data.col_class ))==null?'':__t)+
'">\r\n';

const st =  new globalThis[data.options.class_name](data.value);
const statuses = st.toString().split('|');

for (let index = 0; index < statuses.length; index++) {
  const status = statuses[index];

  if (!status)
    continue;

__p+='\r\n\r\n\r\n    <div class="'+
((__t=( f.getClass('badge',  data.options.alias[status] &&  data.options.alias[status][1]  ) ))==null?'':__t)+
'">\r\n        '+
((__t=( data.options.alias[status] ? data.options.alias[status][0] : status ))==null?'':__t)+
'\r\n    </div>\r\n\r\n';
 } 
__p+='\r\n\r\n';
 if (!data.value && data.options.alias[''] ) { 
__p+='\r\n    <div class="'+
((__t=( f.getClass('badge',  data.options.alias[status] &&  data.options.alias[''][1]  ) ))==null?'':__t)+
'">\r\n        '+
((__t=( data.options.alias[''][0] ))==null?'':__t)+
'\r\n    </div>\r\n';
 } 
__p+='\r\n\r\n\r\n\r\n</div>\r\n';
}
return __p;
}
window.renderBlocks['blocks-table'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('ivent__wrapper') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('ivent__subhead') ))==null?'':__t)+
'">\r\n        ';
 for (let index = 0; index < data.columns.length; index++) { 
            const col = data.columns[index]; 
__p+='\r\n\r\n            <h2 class="'+
((__t=( f.getClass('ivent__cellSubhead', col.col_class) ))==null?'':__t)+
'">\r\n                '+
((__t=( col.title ))==null?'':__t)+
'\r\n            </h2>\r\n                \r\n        ';
 } 
__p+='\r\n    </div>\r\n\r\n    ';
 if (data.inited){ 
__p+='\r\n        <div  '+
((__t=( e.ref('body') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('ivent__scroll') ))==null?'':__t)+
' scrollBar">\r\n            <div class="'+
((__t=( f.getClass('ivent__scrollContainer') ))==null?'':__t)+
'">\r\n                <ul class="'+
((__t=( f.getClass('resetList', 'ivent__list') ))==null?'':__t)+
'">\r\n                    ';
 for (let index = 0; index < data.data.length; index++) { 
                        const item = data.data[index]; 
__p+='\r\n    \r\n                        <li '+
((__t=( e.click('rowClick', item) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('ivent__item') ))==null?'':__t)+
'">\r\n                            <button class="'+
((__t=( f.getClass('resetBtn', 'ivent__link') ))==null?'':__t)+
'" href="#">\r\n                                ';
 for (let index = 0; index < data.columns.length; index++) { 
                                    const col = data.columns[index]; 
                                
__p+='\r\n\r\n                                ';
 let keyValue;
                                    if( Array.isArray(col.key) ) {
                                        const arr = []
                                        for (let j=0; j < col.key.length; j++) {
                                            arr.push( item[col.key[j]] )
                                        };
                                        keyValue = arr.join(' ');
                                        
                                    } else if (col.key) {
                                        keyValue = item[col.key];
                                    } else {
                                        keyValue = item;
                                } 
__p+='\r\n    \r\n                                '+
((__t=( f.renderBlock(`table.${col.type ? col.type : 'text'}`, {
                                        col_class: f.getClass(col.col_class),
                                        value:  keyValue,
                                        options: (col.options || {})
                                    })))==null?'':__t)+
'\r\n                                ';
 } 
__p+='\r\n                            </button>\r\n                        </li>\r\n                    ';
 } 
__p+='\r\n                </ul>\r\n                ';
 if (!data._end){ 
__p+='\r\n                    <div '+
((__t=( e.ref('end') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('requests__leod') ))==null?'':__t)+
'">\r\n                        <button class="'+
((__t=( f.getClass('btnAgreeLight', 'btnWidth145') ))==null?'':__t)+
'">\r\n                            Загрузить еще\r\n                            <div class="'+
((__t=( f.getClass('requests__iconAnimation') ))==null?'':__t)+
'" style="width: 20px; height: 20px; min-width: 20px;">\r\n                                '+
((__t=( f.renderBlock('icons.a_processing') ))==null?'':__t)+
'\r\n                            </div>\r\n                        </button>\r\n                    </div>\r\n                ';
 } else if (data.error) { 
__p+='\r\n                    <div class="'+
((__t=( f.getClass('errorBlock') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('errorBlock__container') ))==null?'':__t)+
'">\r\n                            <div class="'+
((__t=( f.getClass('errorBlock__img') ))==null?'':__t)+
'" style="width: 16px; min-width: 16px; height: 16px;">\r\n                                '+
((__t=( f.renderBlock('icons.i_lock') ))==null?'':__t)+
'\r\n                            </div>\r\n                            <p class="'+
((__t=( f.getClass('errorBlock__text') ))==null?'':__t)+
'">\r\n                                '+
((__t=( data.error ))==null?'':__t)+
'\r\n                            </p>\r\n                        </div>\r\n                    </div>\r\n                ';
 } 
__p+='\r\n\r\n            </div>\r\n        </div>\r\n    ';
 } else { 
__p+='\r\n        <div class="'+
((__t=( f.getClass('loader') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('loader__container') ))==null?'':__t)+
'">\r\n                '+
((__t=( f.renderBlock('loaderBarTwo') ))==null?'':__t)+
'\r\n            </div>\r\n        </div>\r\n    ';
 } 
__p+='\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-table.text'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('ivent__cell') ))==null?'':__t)+
' '+
((__t=(data.col_class ))==null?'':__t)+
'">\r\n    <span class="'+
((__t=( f.getClass('ivent__fitContent', 'textM', 'dark500base', 'column04HoverWidth') ))==null?'':__t)+
'">\r\n        '+
((__t=( data.value ))==null?'':__t)+
'\r\n    </span>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-table.title'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('ivent__cell') ))==null?'':__t)+
' '+
((__t=(data.col_class ))==null?'':__t)+
'">\r\n    <p class="'+
((__t=( f.getClass('ivent__fitContent', 'textM', 'textDarkMainBase', 'column02HoverWidth') ))==null?'':__t)+
'">\r\n        '+
((__t=( data.value ))==null?'':__t)+
'\r\n    </p>\r\n</div>  ';
}
return __p;
}
window.renderBlocks['blocks-table.user'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('ivent__cell') ))==null?'':__t)+
' '+
((__t=(data.col_class ))==null?'':__t)+
'">\r\n    <div href="/users/'+
((__t=(data.session_first_id))==null?'':__t)+
'" class="'+
((__t=( f.getClass('resetLink', 'tableClient__text', 'textM', 'textSecondery') ))==null?'':__t)+
'">\r\n        '+
((__t=( data.value.session_first_name ))==null?'':__t)+
' '+
((__t=( data.value.session_last_name ))==null?'':__t)+
'\r\n    </div>\r\n</div> \r\n\r\n';
}
return __p;
}
window.renderBlocks['blocks-tabTwo'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<nav class="'+
((__t=( f.getClass('tabNav') ))==null?'':__t)+
'">\r\n    <ul class="'+
((__t=( f.getClass('resetList', 'tabListNav') ))==null?'':__t)+
'">\r\n        ';
 for (let item of data.items) { 
            const selected = (item.variant && Array.isArray(item.variant)) ? item.variant.includes(data.selected) :  data.selected === item.value;
            
__p+='\r\n            <li class="'+
((__t=( f.getClass('tabNavItem') ))==null?'':__t)+
'">\r\n                <button '+
((__t=( e.click('change', item) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'tabNavBtn', selected && 'tabNavBtnActiv') ))==null?'':__t)+
'">\r\n                    '+
((__t=( item.title ))==null?'':__t)+
'  \r\n                </button>\r\n            </li>\r\n        ';
 } 
__p+='\r\n    </ul>\r\n</nav>';
}
return __p;
}
window.renderBlocks['blocks-templates.icons'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='        ';
 const icons = ["Heart", "ArrowDown","ArrowsOutLineVertical","ArrowSquareOut","ArrowUp","Article","Briefcase","BuildingOffice","Calculator","CalendarBlank","CallBell","CaretDown","CaretLeft","CaretRight","Champagne","ChartLine","Chats","ChatsTeardrop","Check","Checks","CircleNotch","Clock","Copy","DotsSixVertical","Eye","EyeClosed","File","FileDoc","FilePdf","Folders","FolderSimpleDashed","FunnelSimple","HardDrives","Headset","Image","Link","List","LockSimple","MagnifyingGlass","MapPin","Minus","Moon","Newspaper","Package","Paperclip","Pen","Plus","PresentationChart","Printer","Pulse","Scroll","SignOut","SlidersHorizontal","SquaresFour","Star","StarFill","SunDim","TextAa","TextAlignLeft","Trash","Tray","User","Users","UsersFour","Wallet","Warning","X"] 
__p+='\r\n        \r\n        \r\n        \r\n        <div class="'+
((__t=( f.getClass('templatesEditInputs__iconContainer') ))==null?'':__t)+
'">\r\n            <h3 class="'+
((__t=( f.getClass('templatesEditInputs__subtitle', 'spaceBottom12') ))==null?'':__t)+
'">\r\n                Иконка\r\n            </h3>\r\n            <div class="'+
((__t=( f.getClass('templatesEditInputs__btns', 'spaceBottom16') ))==null?'':__t)+
'">\r\n                <button '+
((__t=( e.click('select', void 0) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnLightAgree') ))==null?'':__t)+
'">\r\n                    Без иконки\r\n                </button>\r\n            </div>\r\n            <ul class="'+
((__t=( f.getClass('resetList', 'templatesEditInputs__list') ))==null?'':__t)+
'">\r\n                \r\n\r\n\r\n                \r\n\r\n            ';
 for (let index = 0; index < icons.length; index++) {
                const iconName = icons[index];
__p+='\r\n\r\n                <li class="'+
((__t=( f.getClass('templatesEditInputs__item') ))==null?'':__t)+
'">\r\n                    <button '+
((__t=( e.click('select', iconName) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn','templatesEditInputs__btnIcons', data?.icon?.name === iconName && 'btnIconsActive') ))==null?'':__t)+
'" style="width: 28px; min-width: 28px; height: 28px;">\r\n                        '+
((__t=( f.renderBlock(`icons.phosphor.icons.${iconName}`) ))==null?'':__t)+
'\r\n                    </button>\r\n                </li>\r\n            \r\n            ';
 } 
__p+='\r\n      \r\n\r\n              \r\n\r\n            </ul>\r\n        </div>';
}
return __p;
}
window.renderBlocks['blocks-templates.inputs.CounterInput'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('templatesEditInputs', 'scrollBlock') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('scrollBlock__container') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('templatesEditInputs__head', 'spaceBottom16') ))==null?'':__t)+
'">\r\n            <h2 class="'+
((__t=( f.getClass('templatesEditInputs__title') ))==null?'':__t)+
'">\r\n                Настройки блока\r\n            </h2>\r\n            <div class="'+
((__t=( f.getClass('templatesEditInputs__btns') ))==null?'':__t)+
'">\r\n                <button '+
((__t=( e.click('deletSelect', data.selectedIndex) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'templatesEditInputs__delete') ))==null?'':__t)+
'" style="min-width: 24px; width: 24px; height: 24px;">\r\n                    '+
((__t=( f.renderBlock('icons.i_wastebasket') ))==null?'':__t)+
'\r\n                </button>\r\n                <button '+
((__t=( e.click('resetSelect') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'templatesEditInputs__close') ))==null?'':__t)+
'" style="min-width: 24px; width: 24px; height: 24px;">\r\n                    '+
((__t=( f.renderBlock('icons.i_x') ))==null?'':__t)+
'\r\n                </button>\r\n            </div>\r\n        </div>\r\n        <lable class="'+
((__t=( f.getClass('templatesEditInputs__input', 'templatesInput', 'spaceBottom32') ))==null?'':__t)+
'">\r\n            <h3 class="'+
((__t=( f.getClass('templatesEditInputs__subtitle') ))==null?'':__t)+
'">\r\n                Привязка к параметру\r\n            </h3>\r\n\r\n            '+
((__t=( f.renderBlock('select_50',{
                key:'_type',
                default:'',
                selected: data.field.name,
                items: Object.keys(data.payload).map((k) => {
                    return {name:k,value:k};
                })
            }) ))==null?'':__t)+
'\r\n        </lable>\r\n\r\n        <lable class="'+
((__t=( f.getClass('templatesEditInputs__input', 'templatesInput', 'spaceBottom32') ))==null?'':__t)+
'">\r\n            <h3 class="'+
((__t=( f.getClass('templatesEditInputs__subtitle') ))==null?'':__t)+
'">\r\n                Название поля\r\n            </h3>\r\n            <input '+
((__t=( e.on('input', 'change', {key:'label'})))==null?'':__t)+
'  value="'+
((__t=( data.field.label))==null?'':__t)+
'" class="'+
((__t=( f.getClass('templatesInput__input') ))==null?'':__t)+
'" type="text">\r\n        </lable>\r\n\r\n        \r\n        <div class="'+
((__t=( f.getClass('templatesEditInputs__container', 'spaceBottom32') ))==null?'':__t)+
'">\r\n            <lable class="'+
((__t=( f.getClass('templatesEditInputs__input', 'templatesInput') ))==null?'':__t)+
'">\r\n                <h3 class="'+
((__t=( f.getClass('templatesEditInputs__subtitle') ))==null?'':__t)+
'">\r\n                    Стартовое значение\r\n                </h3>\r\n                <input '+
((__t=( e.on('input', 'change', {key:'value'})))==null?'':__t)+
'  value="'+
((__t=( data.field.value ))==null?'':__t)+
'" class="'+
((__t=( f.getClass('templatesInput__input') ))==null?'':__t)+
'" type="number">\r\n            </lable>\r\n            <lable class="'+
((__t=( f.getClass('templatesEditInputs__input', 'templatesInput') ))==null?'':__t)+
'">\r\n                <h3 class="'+
((__t=( f.getClass('templatesEditInputs__subtitle') ))==null?'':__t)+
'">\r\n                    Шаг\r\n                </h3>\r\n                <input '+
((__t=( e.on('input', 'changeComponentProp', {key:'step'})))==null?'':__t)+
'  value="'+
((__t=( data.field.component.step || 1 ))==null?'':__t)+
'" class="'+
((__t=( f.getClass('templatesInput__input') ))==null?'':__t)+
'" type="number">\r\n            </lable>\r\n        </div>\r\n        \r\n        \r\n        <div class="'+
((__t=( f.getClass('templatesEditInputs__container', 'spaceBottom32') ))==null?'':__t)+
'">\r\n            <lable class="'+
((__t=( f.getClass('templatesEditInputs__input', 'templatesInput') ))==null?'':__t)+
'">\r\n                <h3 class="'+
((__t=( f.getClass('templatesEditInputs__subtitle') ))==null?'':__t)+
'">\r\n                    Минимальное значение\r\n                </h3>\r\n                <input '+
((__t=( e.on('input', 'changeComponentProp', {key:'min'})))==null?'':__t)+
'  value="'+
((__t=( data.field.component.min || 1 ))==null?'':__t)+
'" class="'+
((__t=( f.getClass('templatesInput__input') ))==null?'':__t)+
'" type="number">\r\n            </lable>\r\n            <lable class="'+
((__t=( f.getClass('templatesEditInputs__input', 'templatesInput') ))==null?'':__t)+
'">\r\n                <h3 class="'+
((__t=( f.getClass('templatesEditInputs__subtitle') ))==null?'':__t)+
'">\r\n                    Максимальное значение\r\n                </h3>\r\n                <input '+
((__t=( e.on('input', 'changeComponentProp', {key:'max'})))==null?'':__t)+
'  value="'+
((__t=( data.field.component.max || 1 ))==null?'':__t)+
'" class="'+
((__t=( f.getClass('templatesInput__input') ))==null?'':__t)+
'" type="number">\r\n            </lable>\r\n        </div>\r\n        \r\n\r\n\r\n\r\n   \r\n\r\n        \r\n        <div class="'+
((__t=( f.getClass('templatesEditInputs__tabContainer', 'spaceBottom32') ))==null?'':__t)+
'">\r\n            <h3 class="'+
((__t=( f.getClass('templatesEditInputs__subtitle') ))==null?'':__t)+
'">\r\n                Опции\r\n            </h3>\r\n            '+
((__t=( f.renderBlock('checkInputs.checkToggle', {
                'label':'Обязательный для заполнения',
                checked: data.required,
                click: [e.click, 'changeRequiredSwitch'],
            }) ))==null?'':__t)+
'\r\n\r\n        </div>\r\n        \r\n\r\n        '+
((__t=( f.renderBlock('templates.icons', {icon: data.field.icon}) ))==null?'':__t)+
'\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-templates.inputs.DataPicker'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('templatesEditInputs', 'scrollBlock') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('scrollBlock__container') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('templatesEditInputs__head', 'spaceBottom16') ))==null?'':__t)+
'">\r\n            <h2 class="'+
((__t=( f.getClass('templatesEditInputs__title') ))==null?'':__t)+
'">\r\n                Настройки блока\r\n            </h2>\r\n            <div class="'+
((__t=( f.getClass('templatesEditInputs__btns') ))==null?'':__t)+
'">\r\n                <button '+
((__t=( e.click('deletSelect', data.selectedIndex) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'templatesEditInputs__delete') ))==null?'':__t)+
'" style="min-width: 24px; width: 24px; height: 24px;">\r\n                    '+
((__t=( f.renderBlock('icons.i_wastebasket') ))==null?'':__t)+
'\r\n                </button>\r\n                <button '+
((__t=( e.click('resetSelect') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'templatesEditInputs__close') ))==null?'':__t)+
'" style="min-width: 24px; width: 24px; height: 24px;">\r\n                    '+
((__t=( f.renderBlock('icons.i_x') ))==null?'':__t)+
'\r\n                </button>\r\n            </div>\r\n        </div>\r\n\r\n        <lable class="'+
((__t=( f.getClass('templatesEditInputs__input', 'templatesInput', 'spaceBottom32') ))==null?'':__t)+
'">\r\n            <h3 class="'+
((__t=( f.getClass('templatesEditInputs__subtitle') ))==null?'':__t)+
'">\r\n                Привязка к параметру\r\n            </h3>\r\n            '+
((__t=( f.renderBlock('select_50',{
                key:'_type',
                default:'',
                selected: data.field.name,
                items: Object.keys(data.payload).map((k) => {
                    return {name:k,value:k};
                })
            }) ))==null?'':__t)+
'\r\n\r\n        </lable>\r\n\r\n        <lable class="'+
((__t=( f.getClass('templatesEditInputs__input', 'templatesInput', 'spaceBottom32') ))==null?'':__t)+
'">\r\n            <h3 class="'+
((__t=( f.getClass('templatesEditInputs__subtitle') ))==null?'':__t)+
'">\r\n                Название поля\r\n            </h3>\r\n            <input '+
((__t=( e.on('input', 'change', {key:'label'})))==null?'':__t)+
'  value="'+
((__t=( data.field.label))==null?'':__t)+
'" class="'+
((__t=( f.getClass('templatesInput__input') ))==null?'':__t)+
'" type="text">\r\n        </lable>\r\n\r\n        <div class="'+
((__t=( f.getClass('templatesEditInputs__tabContainer', 'spaceBottom32') ))==null?'':__t)+
'">\r\n            <h3 class="'+
((__t=( f.getClass('templatesEditInputs__subtitle') ))==null?'':__t)+
'">\r\n                Режим\r\n            </h3>\r\n            <div class="'+
((__t=( f.getClass('templatesEditInputs__tab') ))==null?'':__t)+
'">\r\n                '+
((__t=( f.renderBlock('tabTwo', {
                    name:'DateMode',
                    selected: data.field.component.props.mode,
                    items:[
                        {title:'Дата', value:'date'},
                        {title:'Время', value:'time'},
                        {title:'Дата/Время', value:'datetime'},

                    ]
                }) ))==null?'':__t)+
'\r\n            </div>\r\n        </div>\r\n\r\n\r\n        <div class="'+
((__t=( f.getClass('templatesEditInputs__tabContainer', 'spaceBottom32') ))==null?'':__t)+
'">\r\n            <h3 class="'+
((__t=( f.getClass('templatesEditInputs__subtitle') ))==null?'':__t)+
'">\r\n                Формат даты\r\n            </h3>\r\n            <div class="'+
((__t=( f.getClass('templatesEditInputs__tab') ))==null?'':__t)+
'">\r\n                '+
((__t=( f.renderBlock('tabTwo', {
                    name:'DateFormat',
                    selected: data.field.component.props.format,
                    items:[
                      data.field.component.props.mode === 'date' &&  {title:'Д.ММ.ГГГГ', value:'D.MM.YYYY'},
                        data.field.component.props.mode === 'date' &&  {title:'Д.ММММ', value:'D.MMMM'},

                      data.field.component.props.mode === 'time' &&   {title:'ЧЧ/ММ/СС', value:'HH:mm:ss'},
                      data.field.component.props.mode === 'time' &&   {title:'ЧЧ/ММ', value:'HH.mm'},


                       data.field.component.props.mode === 'datetime' &&  {title:'Д.ММ.ГГГГ ЧЧ:ММ', value:'D.MM.YYYY HH:mm'},
                       data.field.component.props.mode === 'datetime' &&  {title:'Д.ММММ ЧЧ:ММ', value:'D.MMMM. HH:mm'},

                    ].filter(e => !!e)
                }) ))==null?'':__t)+
'\r\n            </div>\r\n        </div>\r\n\r\n        \r\n        <div class="'+
((__t=( f.getClass('templatesEditInputs__tabContainer', 'spaceBottom32') ))==null?'':__t)+
'">\r\n            <h3 class="'+
((__t=( f.getClass('templatesEditInputs__subtitle') ))==null?'':__t)+
'">\r\n                Опции\r\n            </h3>\r\n            '+
((__t=( f.renderBlock('checkInputs.checkToggle', {
                    'label':'Обязательный для заполнения',
                    checked: data.required,
                    click: [e.click, 'changeRequiredSwitch'],
                 }) ))==null?'':__t)+
'\r\n\r\n\r\n        </div>\r\n        \r\n\r\n        '+
((__t=( f.renderBlock('templates.icons', {icon: data.field.icon}) ))==null?'':__t)+
'\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-templates.inputs.Img'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('templatesEditInputs', 'scrollBlock') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('scrollBlock__container') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('templatesEditInputs__head', 'spaceBottom16') ))==null?'':__t)+
'">\r\n            <h2 class="'+
((__t=( f.getClass('templatesEditInputs__title') ))==null?'':__t)+
'">\r\n                Настройки блока\r\n            </h2>\r\n            <div class="'+
((__t=( f.getClass('templatesEditInputs__btns') ))==null?'':__t)+
'">\r\n                <button '+
((__t=( e.click('deletSelect', data.selectedIndex) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'templatesEditInputs__delete') ))==null?'':__t)+
'" style="min-width: 24px; width: 24px; height: 24px;">\r\n                    '+
((__t=( f.renderBlock('icons.i_wastebasket') ))==null?'':__t)+
'\r\n                </button>\r\n                <button '+
((__t=( e.click('resetSelect') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'templatesEditInputs__close') ))==null?'':__t)+
'" style="min-width: 24px; width: 24px; height: 24px;">\r\n                    '+
((__t=( f.renderBlock('icons.i_x') ))==null?'':__t)+
'\r\n                </button>\r\n            </div>\r\n        </div>\r\n\r\n        <lable class="'+
((__t=( f.getClass('templatesEditInputs__input', 'templatesInput', 'spaceBottom32') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock('templates.inputs.Img.preview', {img: data.field.value}) ))==null?'':__t)+
'\r\n        </lable>\r\n\r\n      \r\n    </div>\r\n</div>  ';
}
return __p;
}
window.renderBlocks['blocks-templates.inputs.Img.preview'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='    ';
 if (data.img !== undefined) {  
__p+='\r\n        <div class="'+
((__t=( f.getClass('servicesImgEdit__container') ))==null?'':__t)+
'" style="max-width: 320px; width: 100%; max-height: 320px;">\r\n            <img class="'+
((__t=( f.getClass('servicesModal__img') ))==null?'':__t)+
'" src="'+
((__t=( utils.makeImageUrl(data.img) ))==null?'':__t)+
'" style="width: 100%;">\r\n        </div>\r\n    ';
 } 
__p+='\r\n\r\n    <div class="'+
((__t=( f.getClass('servicesImgEdit__btnContainer') ))==null?'':__t)+
'">\r\n        <button '+
((__t=( e.click('change')))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnChange') ))==null?'':__t)+
'">\r\n            Загрузить\r\n        </button>\r\n        ';
 if (data.img) {  
__p+='\r\n            <button '+
((__t=( e.click('recrop')))==null?'':__t)+
'  class="'+
((__t=( f.getClass('btn-agree') ))==null?'':__t)+
'">\r\n                Изменить\r\n            </button>\r\n            <button '+
((__t=( e.click('remove')))==null?'':__t)+
'  class="'+
((__t=( f.getClass('btn-danger-empty') ))==null?'':__t)+
'">\r\n                Удалить\r\n            </button>\r\n        ';
 } 
__p+='\r\n    </div>\r\n\r\n         \r\n\r\n\r\n<input accept="image/jpeg,image/png"  '+
((__t=( e.on('change','avatarChange') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('fileInput') ))==null?'':__t)+
'" type="file" />\r\n\r\n'+
((__t=( f.renderEmptyBlock("ImageCropper",{
    title:'Изображение профиля',
    subtitle:'Рекомендуемый размер изображения 300х300'
}) ))==null?'':__t)+
'\r\n';
}
return __p;
}
window.renderBlocks['blocks-templates.inputs'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='\r\n';
 if (data.field.component.name === 'TextInput') { 
__p+='\r\n    '+
((__t=( f.renderBlock('templates.inputs.TextInput',{...data, inited: false}) ))==null?'':__t)+
'\r\n';
 } else if (data.field.component.name === 'DataPicker') { 
__p+='\r\n    '+
((__t=( f.renderBlock('templates.inputs.DataPicker',{...data, inited: false}) ))==null?'':__t)+
'\r\n';
 } else if (data.field.component.name === 'CounterInput') { 
__p+='\r\n    '+
((__t=( f.renderBlock('templates.inputs.CounterInput',{...data, inited: false}) ))==null?'':__t)+
'\r\n';
 } else if (data.field.component.name === 'Seporator') { 
__p+='\r\n    '+
((__t=( f.renderBlock('templates.inputs.Seporator',{...data, inited: false}) ))==null?'':__t)+
'\r\n';
 } else if (data.field.component.name === 'Text') { 
__p+='\r\n    '+
((__t=( f.renderBlock('templates.inputs.Text',{...data, inited: false}) ))==null?'':__t)+
'\r\n';
 } else if (data.field.component.name === 'Img') { 
__p+='\r\n    '+
((__t=( f.renderBlock('templates.inputs.Img',{...data, inited: false}) ))==null?'':__t)+
'\r\n';
 } else { 
__p+='\r\n\r\n    '+
((__t=( f.renderBlock('templates.inputs.Test',{...data, inited: false}) ))==null?'':__t)+
'\r\n';
 } 
__p+='\r\n\r\n';
}
return __p;
}
window.renderBlocks['blocks-templates.inputs.Seporator'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('templatesEditInputs', 'scrollBlock') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('scrollBlock__container') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('templatesEditInputs__head', 'spaceBottom16') ))==null?'':__t)+
'">\r\n            <h2 class="'+
((__t=( f.getClass('templatesEditInputs__title') ))==null?'':__t)+
'">\r\n                Настройки блока\r\n            </h2>\r\n            <div class="'+
((__t=( f.getClass('templatesEditInputs__btns') ))==null?'':__t)+
'">\r\n                <button '+
((__t=( e.click('deletSelect', data.selectedIndex) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'templatesEditInputs__delete') ))==null?'':__t)+
'" style="min-width: 24px; width: 24px; height: 24px;">\r\n                    '+
((__t=( f.renderBlock('icons.i_wastebasket') ))==null?'':__t)+
'\r\n                </button>\r\n                <button '+
((__t=( e.click('resetSelect') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'templatesEditInputs__close') ))==null?'':__t)+
'" style="min-width: 24px; width: 24px; height: 24px;">\r\n                    '+
((__t=( f.renderBlock('icons.i_x') ))==null?'':__t)+
'\r\n                </button>\r\n            </div>\r\n        </div>\r\n        <p class="'+
((__t=( f.getClass('templatesEditInputs__textInfo', 'spaceBottom12') ))==null?'':__t)+
'">\r\n            Горизонтальная линия-разделитель на странице. Если ввести текст, то вместо линии будет размещён подзаголовок. \r\n        </p>\r\n        <lable class="'+
((__t=( f.getClass('templatesEditInputs__input', 'templatesInput', 'spaceBottom32') ))==null?'':__t)+
'">\r\n            <h3 class="'+
((__t=( f.getClass('templatesEditInputs__subtitle') ))==null?'':__t)+
'">\r\n                Название поля\r\n            </h3>\r\n            <input '+
((__t=( e.on('input', 'change', {key:'label'})))==null?'':__t)+
'  value="'+
((__t=( data.field.label))==null?'':__t)+
'" class="'+
((__t=( f.getClass('templatesInput__input') ))==null?'':__t)+
'" type="text">\r\n        </lable>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-templates.inputs.Test'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('templatesEditInputs', 'scrollBlock') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('scrollBlock__container') ))==null?'':__t)+
'">\r\n        <h2 class="'+
((__t=( f.getClass('templatesEditInputs__title', 'spaceBottom16') ))==null?'':__t)+
'">\r\n            Настройки блока\r\n        </h2>\r\n        <lable class="'+
((__t=( f.getClass('templatesEditInputs__input', 'templatesInput', 'spaceBottom32') ))==null?'':__t)+
'">\r\n            <h3 class="'+
((__t=( f.getClass('templatesEditInputs__subtitle') ))==null?'':__t)+
'">\r\n                Текст лейбла\r\n            </h3>\r\n            <input value="'+
((__t=( data.field.label))==null?'':__t)+
'" class="'+
((__t=( f.getClass('templatesInput__input') ))==null?'':__t)+
'" type="text">\r\n        </lable>\r\n        <lable class="'+
((__t=( f.getClass('templatesEditInputs__input', 'templatesInput', 'spaceBottom32') ))==null?'':__t)+
'">\r\n            <h3 class="'+
((__t=( f.getClass('templatesEditInputs__subtitle') ))==null?'':__t)+
'">\r\n                Текст в пустом инпуте\r\n            </h3>\r\n            <input value="'+
((__t=( data.field.placeholder))==null?'':__t)+
'" class="'+
((__t=( f.getClass('templatesInput__input') ))==null?'':__t)+
'" type="text">\r\n        </lable>\r\n        <lable class="'+
((__t=( f.getClass('templatesEditInputs__input', 'templatesInput', 'spaceBottom32') ))==null?'':__t)+
'">\r\n            <h3 class="'+
((__t=( f.getClass('templatesEditInputs__subtitle') ))==null?'':__t)+
'">\r\n                Максимальная длина сообщения\r\n            </h3>\r\n            <input class="'+
((__t=( f.getClass('templatesInput__input') ))==null?'':__t)+
'" type="number">\r\n        </lable>\r\n\r\n        \r\n        <div class="'+
((__t=( f.getClass('templatesEditInputs__container', 'spaceBottom32') ))==null?'':__t)+
'">\r\n            <lable class="'+
((__t=( f.getClass('templatesEditInputs__input', 'templatesInput') ))==null?'':__t)+
'">\r\n                <h3 class="'+
((__t=( f.getClass('templatesEditInputs__subtitle') ))==null?'':__t)+
'">\r\n                    Стартовое значение\r\n                </h3>\r\n                <input class="'+
((__t=( f.getClass('templatesInput__input') ))==null?'':__t)+
'" type="number">\r\n            </lable>\r\n            <lable class="'+
((__t=( f.getClass('templatesEditInputs__input', 'templatesInput') ))==null?'':__t)+
'">\r\n                <h3 class="'+
((__t=( f.getClass('templatesEditInputs__subtitle') ))==null?'':__t)+
'">\r\n                    Шаг\r\n                </h3>\r\n                <input class="'+
((__t=( f.getClass('templatesInput__input') ))==null?'':__t)+
'" type="number">\r\n            </lable>\r\n        </div>\r\n        \r\n        \r\n        <div class="'+
((__t=( f.getClass('templatesEditInputs__container', 'spaceBottom32') ))==null?'':__t)+
'">\r\n            <lable class="'+
((__t=( f.getClass('templatesEditInputs__input', 'templatesInput') ))==null?'':__t)+
'">\r\n                <h3 class="'+
((__t=( f.getClass('templatesEditInputs__subtitle') ))==null?'':__t)+
'">\r\n                    Минимальное значение\r\n                </h3>\r\n                <input class="'+
((__t=( f.getClass('templatesInput__input') ))==null?'':__t)+
'" type="number">\r\n            </lable>\r\n            <lable class="'+
((__t=( f.getClass('templatesEditInputs__input', 'templatesInput') ))==null?'':__t)+
'">\r\n                <h3 class="'+
((__t=( f.getClass('templatesEditInputs__subtitle') ))==null?'':__t)+
'">\r\n                    Максимальное значение\r\n                </h3>\r\n                <input class="'+
((__t=( f.getClass('templatesInput__input') ))==null?'':__t)+
'" type="number">\r\n            </lable>\r\n        </div>\r\n        \r\n\r\n\r\n\r\n        \r\n        <div class="'+
((__t=( f.getClass('templatesEditInputs__tabContainer', 'spaceBottom32') ))==null?'':__t)+
'">\r\n            <h3 class="'+
((__t=( f.getClass('templatesEditInputs__subtitle') ))==null?'':__t)+
'">\r\n                Формат даты\r\n            </h3>\r\n            <div class="'+
((__t=( f.getClass('templatesEditInputs__tab') ))==null?'':__t)+
'">\r\n                '+
((__t=( f.renderBlock('tabTwo', {
                    name:'_dateFormat',
                    selected: data.dateFormat || 'short',
                    items:[
                        {title:'ДД/ММ', value:'short'},
                        {title:'ДД/ММ/ГГГГ', value:'long'},
                    ]
                }) ))==null?'':__t)+
'\r\n            </div>\r\n        </div>\r\n        \r\n        \r\n        <div class="'+
((__t=( f.getClass('templatesEditInputs__tabContainer', 'spaceBottom32') ))==null?'':__t)+
'">\r\n            <h3 class="'+
((__t=( f.getClass('templatesEditInputs__subtitle') ))==null?'':__t)+
'">\r\n                Формат времени\r\n            </h3>\r\n            <div class="'+
((__t=( f.getClass('templatesEditInputs__tab') ))==null?'':__t)+
'">\r\n                '+
((__t=( f.renderBlock('tabTwo', {
                    name:'_timeFormat',
                    selected: data.timeFormat || 'half',
                    items:[
                        {title:'12 часов', value:'half'},
                        {title:'24 часа', value:'whole'},
                    ]
                }) ))==null?'':__t)+
'\r\n            </div>\r\n        </div>\r\n        \r\n        \r\n        <div class="'+
((__t=( f.getClass('templatesEditInputs__tabContainer', 'spaceBottom32') ))==null?'':__t)+
'">\r\n            <h3 class="'+
((__t=( f.getClass('templatesEditInputs__subtitle') ))==null?'':__t)+
'">\r\n                Размер разделителя\r\n            </h3>\r\n            <div class="'+
((__t=( f.getClass('templatesEditInputs__tab') ))==null?'':__t)+
'">\r\n                '+
((__t=( f.renderBlock('tabTwo', {
                    name:'_dividing',
                    selected: data.dividing || 'standart',
                    items:[
                        {title:'Стардартный', value:'standart'},
                        {title:'Большой', value:'big'},
                    ]
                }) ))==null?'':__t)+
'\r\n            </div>\r\n        </div>\r\n        \r\n\r\n\r\n        \r\n        <div class="'+
((__t=( f.getClass('templatesEditInputs__tabContainer', 'spaceBottom32') ))==null?'':__t)+
'">\r\n            <h3 class="'+
((__t=( f.getClass('templatesEditInputs__subtitle') ))==null?'':__t)+
'">\r\n                Обязательный для заполнения\r\n            </h3>\r\n            '+
((__t=( f.renderBlock('checkInputs.checkToggle') ))==null?'':__t)+
'\r\n        </div>\r\n        \r\n\r\n        <div class="'+
((__t=( f.getClass('templatesEditInputs__tabContainer', 'spaceBottom32') ))==null?'':__t)+
'">\r\n            <h3 class="'+
((__t=( f.getClass('templatesEditInputs__subtitle') ))==null?'':__t)+
'">\r\n                Формат даты\r\n            </h3>\r\n            '+
((__t=( f.renderBlock('checkInputs.checkToggle') ))==null?'':__t)+
'\r\n        </div>\r\n\r\n        '+
((__t=( f.renderBlock('templates.icons') ))==null?'':__t)+
'\r\n\r\n\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-templates.inputs.Text'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('templatesEditInputs', 'scrollBlock') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('scrollBlock__container') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('templatesEditInputs__head', 'spaceBottom16') ))==null?'':__t)+
'">\r\n            <h2 class="'+
((__t=( f.getClass('templatesEditInputs__title') ))==null?'':__t)+
'">\r\n                Настройки блока\r\n            </h2>\r\n            <div class="'+
((__t=( f.getClass('templatesEditInputs__btns') ))==null?'':__t)+
'">\r\n                <button '+
((__t=( e.click('deletSelect', data.selectedIndex) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'templatesEditInputs__delete') ))==null?'':__t)+
'" style="min-width: 24px; width: 24px; height: 24px;">\r\n                    '+
((__t=( f.renderBlock('icons.i_wastebasket') ))==null?'':__t)+
'\r\n                </button>\r\n                <button '+
((__t=( e.click('resetSelect') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'templatesEditInputs__close') ))==null?'':__t)+
'" style="min-width: 24px; width: 24px; height: 24px;">\r\n                    '+
((__t=( f.renderBlock('icons.i_x') ))==null?'':__t)+
'\r\n                </button>\r\n            </div>\r\n        </div>\r\n        <p class="'+
((__t=( f.getClass('templatesEditInputs__textInfo', 'spaceBottom12') ))==null?'':__t)+
'">\r\n            В данном блоке размещается пояснение или важная для пользователя информация\r\n        </p>\r\n        <lable class="'+
((__t=( f.getClass('templatesEditInputs__input', 'templatesInput', 'spaceBottom32') ))==null?'':__t)+
'">\r\n            <h3 class="'+
((__t=( f.getClass('templatesEditInputs__subtitle') ))==null?'':__t)+
'">\r\n                Текст\r\n            </h3>\r\n            <textarea '+
((__t=( e.on('input', 'change', {key:'value'})))==null?'':__t)+
' class="'+
((__t=( f.getClass('templatesInput__input', 'inputArea') ))==null?'':__t)+
'" type="text">'+
((__t=( data.field.value ))==null?'':__t)+
'</textarea>\r\n        </lable>\r\n    </div>\r\n</div>  ';
}
return __p;
}
window.renderBlocks['blocks-templates.inputs.TextInput'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('templatesEditInputs', 'scrollBlock') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('scrollBlock__container') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('templatesEditInputs__head', 'spaceBottom16') ))==null?'':__t)+
'">\r\n            <h2 class="'+
((__t=( f.getClass('templatesEditInputs__title') ))==null?'':__t)+
'">\r\n                Настройки блока\r\n            </h2>\r\n            <div class="'+
((__t=( f.getClass('templatesEditInputs__btns') ))==null?'':__t)+
'">\r\n                <button '+
((__t=( e.click('deletSelect', data.selectedIndex) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'templatesEditInputs__delete') ))==null?'':__t)+
'" style="min-width: 24px; width: 24px; height: 24px;">\r\n                    '+
((__t=( f.renderBlock('icons.i_wastebasket') ))==null?'':__t)+
'\r\n                </button>\r\n                <button '+
((__t=( e.click('resetSelect') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'templatesEditInputs__close') ))==null?'':__t)+
'" style="min-width: 24px; width: 24px; height: 24px;">\r\n                    '+
((__t=( f.renderBlock('icons.i_x') ))==null?'':__t)+
'\r\n                </button>\r\n            </div>\r\n        </div>\r\n        <lable class="'+
((__t=( f.getClass('templatesEditInputs__input', 'templatesInput', 'spaceBottom32') ))==null?'':__t)+
'">\r\n            <h3 class="'+
((__t=( f.getClass('templatesEditInputs__subtitle') ))==null?'':__t)+
'">\r\n                Привязка к параметру\r\n            </h3>\r\n\r\n            '+
((__t=( f.renderBlock('select_50',{
                key:'_type',
                default:'',
                selected: data.field.name,
                items: Object.keys(data.payload).map((k) => {
                    return {name:k,value:k};
                })
            }) ))==null?'':__t)+
'\r\n\r\n        </lable>\r\n        <p class="'+
((__t=( f.getClass('templatesEditInputs__textInfo', 'spaceBottom12') ))==null?'':__t)+
'">\r\n            Поле заполняется, если есть какой-то типовой текст, в форме, не требующий заполнения от клиента. В случае необходимости, клиент может его изменить.\r\n        </p>\r\n        <lable class="'+
((__t=( f.getClass('templatesEditInputs__input', 'templatesInput', 'spaceBottom32') ))==null?'':__t)+
'">\r\n            <h3 class="'+
((__t=( f.getClass('templatesEditInputs__subtitle') ))==null?'':__t)+
'">\r\n                Значение\r\n            </h3>\r\n            <input '+
((__t=( e.on('input', 'change', {key:'value'})))==null?'':__t)+
' value="'+
((__t=( data.field.value))==null?'':__t)+
'" class="'+
((__t=( f.getClass('templatesInput__input') ))==null?'':__t)+
'" type="text">\r\n        </lable>\r\n\r\n\r\n        <lable class="'+
((__t=( f.getClass('templatesEditInputs__input', 'templatesInput', 'spaceBottom32') ))==null?'':__t)+
'">\r\n            <h3 class="'+
((__t=( f.getClass('templatesEditInputs__subtitle') ))==null?'':__t)+
'">\r\n                Название поля\r\n            </h3>\r\n            <input '+
((__t=( e.on('input', 'change', {key:'label'})))==null?'':__t)+
'  value="'+
((__t=( data.field.label))==null?'':__t)+
'" class="'+
((__t=( f.getClass('templatesInput__input') ))==null?'':__t)+
'" type="text">\r\n        </lable>\r\n        <p class="'+
((__t=( f.getClass('templatesEditInputs__textInfo', 'spaceBottom12') ))==null?'':__t)+
'">\r\n            Текст в пустом инпуте является пояснением и примером для клиента. Исчезает сразу после начала ввода текста. Например - "Укажите название отеля"\r\n        </p>\r\n        <lable class="'+
((__t=( f.getClass('templatesEditInputs__input', 'templatesInput', 'spaceBottom32') ))==null?'':__t)+
'">\r\n            <h3 class="'+
((__t=( f.getClass('templatesEditInputs__subtitle') ))==null?'':__t)+
'">\r\n                Текст в пустом инпуте\r\n            </h3>\r\n            <input '+
((__t=( e.on('input', 'change', {key:'placeholder'})))==null?'':__t)+
' value="'+
((__t=( data.field.placeholder))==null?'':__t)+
'" class="'+
((__t=( f.getClass('templatesInput__input') ))==null?'':__t)+
'" type="text">\r\n        </lable>\r\n        <lable class="'+
((__t=( f.getClass('templatesEditInputs__input', 'templatesInput', 'spaceBottom32') ))==null?'':__t)+
'">\r\n            <h3 class="'+
((__t=( f.getClass('templatesEditInputs__subtitle') ))==null?'':__t)+
'">\r\n                Максимальная длина сообщения\r\n            </h3>\r\n            <input '+
((__t=( e.on('input', 'change', {key:'max_length'})))==null?'':__t)+
' max="1000" value="'+
((__t=( data.max_length))==null?'':__t)+
'" class="'+
((__t=( f.getClass('templatesInput__input') ))==null?'':__t)+
'" type="number">\r\n        </lable>\r\n        <lable class="'+
((__t=( f.getClass('templatesEditInputs__input', 'templatesInput', 'spaceBottom32') ))==null?'':__t)+
'">\r\n            <h3 class="'+
((__t=( f.getClass('templatesEditInputs__subtitle') ))==null?'':__t)+
'">\r\n                Минимальная длина сообщения\r\n            </h3>\r\n            <input '+
((__t=( e.on('input', 'change', {key:'min_length'}) ))==null?'':__t)+
' value="'+
((__t=( data.min_length))==null?'':__t)+
'"  class="'+
((__t=( f.getClass('templatesInput__input') ))==null?'':__t)+
'" type="number">\r\n        </lable>\r\n\r\n        \r\n        <div class="'+
((__t=( f.getClass('templatesEditInputs__tabContainer', 'spaceBottom32') ))==null?'':__t)+
'">\r\n            <h3 class="'+
((__t=( f.getClass('templatesEditInputs__subtitle') ))==null?'':__t)+
'">\r\n                Опции\r\n            </h3>\r\n            '+
((__t=( f.renderBlock('checkInputs.checkToggle', {
                'label':'Обязательный для заполнения',
                checked: data.required,
                click: [e.click, 'changeRequiredSwitch'],
            }) ))==null?'':__t)+
'\r\n\r\n            '+
((__t=( f.renderBlock('checkInputs.checkToggle', {
                'label':'Обрезать пробелы', 
                checked: data.trim,
                click: [e.click, 'changeTrimSwitch'],
            }) ))==null?'':__t)+
'\r\n\r\n            '+
((__t=( f.renderBlock('checkInputs.checkToggle', {
                'label':'Многострочный', 
                checked: data.field.multiline,
                click: [e.click, 'changeMultilineSwitch'],
            }) ))==null?'':__t)+
'\r\n\r\n\r\n        </div>\r\n        \r\n\r\n        '+
((__t=( f.renderBlock('templates.icons', {icon: data.field.icon}) ))==null?'':__t)+
'\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-templates.main.CounterInput'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('templatesEditItem', data.selected && 'selected') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('templatesEditItem__sideMenu') ))==null?'':__t)+
'">\r\n        <div>\r\n            ';
 if (data.index > 0){  
__p+='\r\n                <button  '+
((__t=( data.e.click('moveUp', data.index) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'templatesEditItem__btn') ))==null?'':__t)+
'" aria-label="Переместить блок вверх">\r\n                    <div class="'+
((__t=( f.getClass('templatesEditItem__touchImg') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                        '+
((__t=( f.renderBlock('icons.i_chevron-up') ))==null?'':__t)+
'\r\n                    </div>\r\n                </button>\r\n            ';
 } 
__p+='\r\n        </div>\r\n\r\n        <div>\r\n            ';
 if (data.index < data.length-1) {  
__p+='\r\n                <button '+
((__t=( data.e.click('moveDown', data.index) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'templatesEditItem__btn') ))==null?'':__t)+
'" aria-label="Переместить блок вверх">\r\n                    <div class="'+
((__t=( f.getClass('templatesEditItem__touchImg') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                        '+
((__t=( f.renderBlock('icons.i_chevron-down') ))==null?'':__t)+
'\r\n                    </div>\r\n                </button>\r\n            ';
 } 
__p+='\r\n        </div>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('templatesEditItem__container') ))==null?'':__t)+
'">\r\n        \r\n        ';
 if (data.item.icon && data.item.icon.name){ 
__p+='\r\n            <div class="'+
((__t=( f.getClass('templatesEditItem__decor') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('templatesEditItem__decorImg') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                    '+
((__t=( f.renderBlock(`icons.phosphor.icons.${data.item.icon.name}`) ))==null?'':__t)+
'\r\n                </div>\r\n            </div>\r\n        ';
 } 
__p+='\r\n\r\n        <div class="'+
((__t=( f.getClass('templatesEditItem__content') ))==null?'':__t)+
'">\r\n            <h2 class="'+
((__t=( f.getClass('templatesEditItem__title') ))==null?'':__t)+
'">\r\n                '+
((__t=( data.item.label ))==null?'':__t)+
'\r\n            </h2>\r\n            <div class="'+
((__t=( f.getClass('templatesEditItem__input', 'inputStyle') ))==null?'':__t)+
'" type="text" value="'+
((__t=( data.item.placeholder))==null?'':__t)+
'" placeholder="Введите название">'+
((__t=( data.item.value))==null?'':__t)+
'</div>\r\n\r\n            <p class="'+
((__t=( f.getClass('templatesEditItem__tag', 'tag') ))==null?'':__t)+
'">\r\n                '+
((__t=( data.item.component.name ))==null?'':__t)+
'\r\n            </p>\r\n        </div>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('templatesEditItem__smallContainer') ))==null?'':__t)+
'">\r\n        <span class="'+
((__t=( f.getClass('templatesEditItem__number') ))==null?'':__t)+
'">\r\n            №'+
((__t=( data.index + 1 ))==null?'':__t)+
'\r\n        </span>\r\n        <button '+
((__t=( data.e.click('removeIndex', data.index) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'templatesEditItem__btn') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n            '+
((__t=( f.renderBlock('icons.i_wastebasket') ))==null?'':__t)+
'\r\n        </button>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-templates.main.DataPicker copy 2'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('templatesEditItem', data.selected && 'selected') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('templatesEditItem__sideMenu') ))==null?'':__t)+
'">\r\n        \r\n        <div>\r\n            <button class="'+
((__t=( f.getClass('resetBtn', 'templatesEditItem__btn') ))==null?'':__t)+
'" aria-label="Переместить блок вверх">\r\n                <div class="'+
((__t=( f.getClass('templatesEditItem__touchImg') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                    '+
((__t=( f.renderBlock('icons.i_chevron-up') ))==null?'':__t)+
'\r\n                </div>\r\n            </button>\r\n        </div>\r\n        <div>\r\n            <button class="'+
((__t=( f.getClass('resetBtn', 'templatesEditItem__btn') ))==null?'':__t)+
'" aria-label="Переместить блок вверх">\r\n                <div class="'+
((__t=( f.getClass('templatesEditItem__touchImg') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                    '+
((__t=( f.renderBlock('icons.i_chevron-down') ))==null?'':__t)+
'\r\n                </div>\r\n            </button>\r\n        </div>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('templatesEditItem__container') ))==null?'':__t)+
'">\r\n        ';
 if (data.item.icon && data.item.icon.name){ 
__p+='\r\n            <div class="'+
((__t=( f.getClass('templatesEditItem__decor') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('templatesEditItem__decorImg') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                    '+
((__t=( f.renderBlock(`icons.phosphor.icons.${data.item.icon.name}`) ))==null?'':__t)+
'\r\n                </div>\r\n            </div>\r\n        ';
 } 
__p+='\r\n        <div class="'+
((__t=( f.getClass('templatesEditItem__content') ))==null?'':__t)+
'">\r\n            <h2 class="'+
((__t=( f.getClass('templatesEditItem__title') ))==null?'':__t)+
'">\r\n                '+
((__t=( data.item.label ))==null?'':__t)+
'\r\n            </h2>\r\n            <div class="'+
((__t=( f.getClass('templatesEditItem__input', 'inputStyle') ))==null?'':__t)+
'" type="text" value="'+
((__t=( data.item.placeholder))==null?'':__t)+
'" placeholder="Введите название">'+
((__t=( utils.moment().locale(context.locale).format(data?.item?.component?.props?.format)))==null?'':__t)+
'</div>\r\n            <p class="'+
((__t=( f.getClass('templatesEditItem__tag', 'tag') ))==null?'':__t)+
'">\r\n                '+
((__t=( data.item.component.name ))==null?'':__t)+
'\r\n            </p>\r\n        </div>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('templatesEditItem__smallContainer') ))==null?'':__t)+
'">\r\n        <span class="'+
((__t=( f.getClass('templatesEditItem__number') ))==null?'':__t)+
'">\r\n            №'+
((__t=( data.index + 1 ))==null?'':__t)+
'\r\n        </span>\r\n        <button class="'+
((__t=( f.getClass('resetBtn', 'templatesEditItem__btn') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n            '+
((__t=( f.renderBlock('icons.i_wastebasket') ))==null?'':__t)+
'\r\n        </button>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-templates.main.DataPicker'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('templatesEditItem', data.selected && 'selected') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('templatesEditItem__sideMenu') ))==null?'':__t)+
'">\r\n        <div>\r\n            ';
 if (data.index > 0){  
__p+='\r\n               <button  '+
((__t=( data.e.click('moveUp', data.index) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'templatesEditItem__btn') ))==null?'':__t)+
'" aria-label="Переместить блок вверх">\r\n                   <div class="'+
((__t=( f.getClass('templatesEditItem__touchImg') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                       '+
((__t=( f.renderBlock('icons.i_chevron-up') ))==null?'':__t)+
'\r\n                   </div>\r\n               </button>\r\n           ';
 } 
__p+='\r\n        </div>\r\n        <div>\r\n            ';
 if (data.index < data.length-1) {  
__p+='\r\n                <button '+
((__t=( data.e.click('moveDown', data.index) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'templatesEditItem__btn') ))==null?'':__t)+
'" aria-label="Переместить блок вверх">\r\n                    <div class="'+
((__t=( f.getClass('templatesEditItem__touchImg') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                        '+
((__t=( f.renderBlock('icons.i_chevron-down') ))==null?'':__t)+
'\r\n                    </div>\r\n                </button>\r\n            ';
 } 
__p+='    \r\n        </div>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('templatesEditItem__container') ))==null?'':__t)+
'">\r\n        ';
 if (data.item.icon && data.item.icon.name){ 
__p+='\r\n            <div class="'+
((__t=( f.getClass('templatesEditItem__decor') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('templatesEditItem__decorImg') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                    '+
((__t=( f.renderBlock(`icons.phosphor.icons.${data.item.icon.name}`) ))==null?'':__t)+
'\r\n                </div>\r\n            </div>\r\n        ';
 } 
__p+='\r\n        <div class="'+
((__t=( f.getClass('templatesEditItem__content') ))==null?'':__t)+
'">\r\n            <h2 class="'+
((__t=( f.getClass('templatesEditItem__title') ))==null?'':__t)+
'">\r\n                '+
((__t=( data.item.label ))==null?'':__t)+
'\r\n            </h2>\r\n            <div class="'+
((__t=( f.getClass('templatesEditItem__input', 'inputStyle', 'spaceBottom8') ))==null?'':__t)+
'" type="text" value="'+
((__t=( data.item.placeholder))==null?'':__t)+
'" placeholder="Введите название">'+
((__t=( utils.moment().locale(context.locale).format(data?.item?.component?.props?.format)))==null?'':__t)+
'</div>\r\n            <p class="'+
((__t=( f.getClass('templatesEditItem__tag', 'tag') ))==null?'':__t)+
'">\r\n                '+
((__t=( data.item.component.name ))==null?'':__t)+
'\r\n            </p>\r\n        </div>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('templatesEditItem__smallContainer') ))==null?'':__t)+
'">\r\n        <span class="'+
((__t=( f.getClass('templatesEditItem__number') ))==null?'':__t)+
'">\r\n            №'+
((__t=( data.index + 1 ))==null?'':__t)+
'\r\n        </span>\r\n        <button '+
((__t=( data.e.click('removeIndex', data.index) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'templatesEditItem__btn') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n            '+
((__t=( f.renderBlock('icons.i_wastebasket') ))==null?'':__t)+
'\r\n        </button>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-templates.main.Img'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('templatesEditItem', data.selected && 'selected') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('templatesEditItem__sideMenu') ))==null?'':__t)+
'">\r\n        <div>\r\n            ';
 if (data.index > 0){  
__p+='\r\n               <button  '+
((__t=( data.e.click('moveUp', data.index) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'templatesEditItem__btn') ))==null?'':__t)+
'" aria-label="Переместить блок вверх">\r\n                   <div class="'+
((__t=( f.getClass('templatesEditItem__touchImg') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                       '+
((__t=( f.renderBlock('icons.i_chevron-up') ))==null?'':__t)+
'\r\n                   </div>\r\n               </button>\r\n           ';
 } 
__p+='\r\n        </div>\r\n        <div>\r\n            ';
 if (data.index < data.length-1) {  
__p+='\r\n                <button '+
((__t=( data.e.click('moveDown', data.index) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'templatesEditItem__btn') ))==null?'':__t)+
'" aria-label="Переместить блок вверх">\r\n                    <div class="'+
((__t=( f.getClass('templatesEditItem__touchImg') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                        '+
((__t=( f.renderBlock('icons.i_chevron-down') ))==null?'':__t)+
'\r\n                    </div>\r\n                </button>\r\n            ';
 } 
__p+='    \r\n        </div>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('templatesEditItem__container') ))==null?'':__t)+
'">\r\n\r\n\r\n        <div class="'+
((__t=( f.getClass('templatesEditItem__content') ))==null?'':__t)+
'">\r\n            <h2 class="'+
((__t=( f.getClass('templatesEditItem__title') ))==null?'':__t)+
'">\r\n                ';
 if (data.item.value) { 
__p+='\r\n                    <img class="'+
((__t=( f.getClass('templatesEditItem__img') ))==null?'':__t)+
'" src="'+
((__t=( utils.makeImageUrl(data.item.value) ))==null?'':__t)+
'" style="width: 100%;">\r\n                ';
 } 
__p+='\r\n            </h2>\r\n\r\n            <p class="'+
((__t=( f.getClass('templatesEditItem__tag', 'tag') ))==null?'':__t)+
'">\r\n                '+
((__t=( data.item.component.name ))==null?'':__t)+
'\r\n            </p>\r\n        </div>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('templatesEditItem__smallContainer') ))==null?'':__t)+
'">\r\n        <span class="'+
((__t=( f.getClass('templatesEditItem__number') ))==null?'':__t)+
'">\r\n            №'+
((__t=( data.index + 1 ))==null?'':__t)+
'\r\n        </span>\r\n        <button '+
((__t=( data.e.click('removeIndex', data.index) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'templatesEditItem__btn') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n            '+
((__t=( f.renderBlock('icons.i_wastebasket') ))==null?'':__t)+
'\r\n        </button>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-templates.main.item'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('templatesEditItem') ))==null?'':__t)+
'">\r\n    <button class="'+
((__t=( f.getClass('resetBtn', 'templatesEditItem__touch') ))==null?'':__t)+
'" aria-label="Удерживаете, чтобы переместить блок">\r\n        <div class="'+
((__t=( f.getClass('templatesEditItem__touchImg') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n            '+
((__t=( f.renderBlock('icons.i_six-dots') ))==null?'':__t)+
'\r\n        </div>\r\n        <div class="'+
((__t=( f.getClass('templatesEditItem__outline') ))==null?'':__t)+
'">\r\n        </div>\r\n    </button>\r\n    <div class="'+
((__t=( f.getClass('templatesEditItem__container') ))==null?'':__t)+
'">\r\n        \r\n        <div class="'+
((__t=( f.getClass('templatesEditItem__decor') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('templatesEditItem__decorImg') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                '+
((__t=( f.renderBlock('icons.i_wallet') ))==null?'':__t)+
'\r\n            </div>\r\n        </div>\r\n        \r\n        <div class="'+
((__t=( f.getClass('templatesEditItem__content') ))==null?'':__t)+
'">\r\n\r\n            \r\n            <h2 class="'+
((__t=( f.getClass('templatesEditItem__title') ))==null?'':__t)+
'">\r\n                Label\r\n            </h2>\r\n            <input class="'+
((__t=( f.getClass('templatesEditItem__input', 'inputStyle') ))==null?'':__t)+
'" type="text" placeholder="Введите название">\r\n            \r\n\r\n            <p class="'+
((__t=( f.getClass('templatesEditItem__empty') ))==null?'':__t)+
'">\r\n                Выберете блок и введите текст в панели справа\r\n            </p>\r\n\r\n            <p class="'+
((__t=( f.getClass('templatesEditItem__text') ))==null?'':__t)+
'">\r\n                Lorem ipsum dolor sit amet consectetur adipisicing elit. Officiis modi corporis saepe eveniet libero fugit voluptatum earum unde inventore, quia, natus quae consequatur magnam! Ducimus obcaecati aspernatur quidem reprehenderit error.\r\n            </p>\r\n\r\n            <p class="'+
((__t=( f.getClass('templatesEditItem__tag', 'tag') ))==null?'':__t)+
'">\r\n                Ввод текста\r\n            </p>\r\n        </div>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('templatesEditItem__smallContainer') ))==null?'':__t)+
'">\r\n        <button class="'+
((__t=( f.getClass('resetBtn', 'templatesEditItem__trash') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n            '+
((__t=( f.renderBlock('icons.i_wastebasket') ))==null?'':__t)+
'\r\n        </button>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-templates.main'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div  class="'+
((__t=( f.getClass('templatesEditMain') ))==null?'':__t)+
' scrollBar">\r\n    <ul class="'+
((__t=( f.getClass('resetList', 'templatesEditMain__list') ))==null?'':__t)+
'">\r\n        ';
 for (let index = 0; index < data.fields.length; index++) {
            const item = data.fields[index];
            const blockName = item.component.name;
        
__p+='\r\n\r\n            <li class="'+
((__t=( f.getClass('templatesEditMain__item') ))==null?'':__t)+
'">\r\n                ';
 if( data.selectedIndex != index ) { 
__p+='\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'templatesEditMain__btn') ))==null?'':__t)+
'" '+
((__t=( data.e.click('selectFild',{index}) ))==null?'':__t)+
'></button>\r\n                ';
 } 
__p+='\r\n                '+
((__t=( f.renderBlock(`templates.main.${blockName}`, {
                    item, 
                    index,
                    selected: data.selectedIndex == index,
                    e: e,
                    length: data.fields.length
                }) ))==null?'':__t)+
'\r\n            </li>\r\n\r\n        ';
 } 
__p+='\r\n\r\n    </ul>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-templates.main.Seporator'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('templatesEditItem', data.selected && 'selected') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('templatesEditItem__sideMenu') ))==null?'':__t)+
'">\r\n        <div>\r\n            ';
 if (data.index > 0){  
__p+='\r\n                <button  '+
((__t=( data.e.click('moveUp', data.index) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'templatesEditItem__btn') ))==null?'':__t)+
'" aria-label="Переместить блок вверх">\r\n                    <div class="'+
((__t=( f.getClass('templatesEditItem__touchImg') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                        '+
((__t=( f.renderBlock('icons.i_chevron-up') ))==null?'':__t)+
'\r\n                    </div>\r\n                </button>\r\n            ';
 } 
__p+='\r\n        </div>\r\n\r\n        <div>\r\n            ';
 if (data.index < data.length-1) {  
__p+='\r\n                <button '+
((__t=( data.e.click('moveDown', data.index) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'templatesEditItem__btn') ))==null?'':__t)+
'" aria-label="Переместить блок вверх">\r\n                    <div class="'+
((__t=( f.getClass('templatesEditItem__touchImg') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                        '+
((__t=( f.renderBlock('icons.i_chevron-down') ))==null?'':__t)+
'\r\n                    </div>\r\n                </button>\r\n            ';
 } 
__p+='\r\n        </div>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('templatesEditItem__container') ))==null?'':__t)+
'">\r\n        \r\n        ';
 if (data.item.icon && data.item.icon.name){ 
__p+='\r\n            <div class="'+
((__t=( f.getClass('templatesEditItem__decor') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('templatesEditItem__decorImg') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                    '+
((__t=( f.renderBlock(`icons.phosphor.icons.${data.item.icon.name}`) ))==null?'':__t)+
'\r\n                </div>\r\n            </div>\r\n        ';
 } 
__p+='\r\n\r\n        <div class="'+
((__t=( f.getClass('templatesEditItem__content') ))==null?'':__t)+
'">\r\n            <h2 class="'+
((__t=( f.getClass('templatesEditItem__title', 'spaceBottom8') ))==null?'':__t)+
'">\r\n                '+
((__t=( data.item.label ))==null?'':__t)+
'\r\n            </h2>\r\n            <p class="'+
((__t=( f.getClass('templatesEditItem__tag', 'tag') ))==null?'':__t)+
'">\r\n                '+
((__t=( data.item.component.name ))==null?'':__t)+
'\r\n            </p>\r\n        </div>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('templatesEditItem__smallContainer') ))==null?'':__t)+
'">\r\n        <span class="'+
((__t=( f.getClass('templatesEditItem__number') ))==null?'':__t)+
'">\r\n            №'+
((__t=( data.index + 1 ))==null?'':__t)+
'\r\n        </span>\r\n        <button '+
((__t=( data.e.click('removeIndex', data.index) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'templatesEditItem__btn') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n            '+
((__t=( f.renderBlock('icons.i_wastebasket') ))==null?'':__t)+
'\r\n        </button>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-templates.main.Text'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('templatesEditItem', data.selected && 'selected') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('templatesEditItem__sideMenu') ))==null?'':__t)+
'">\r\n        <div>\r\n            ';
 if (data.index > 0){  
__p+='\r\n                <button  '+
((__t=( data.e.click('moveUp', data.index) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'templatesEditItem__btn') ))==null?'':__t)+
'" aria-label="Переместить блок вверх">\r\n                    <div class="'+
((__t=( f.getClass('templatesEditItem__touchImg') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                        '+
((__t=( f.renderBlock('icons.i_chevron-up') ))==null?'':__t)+
'\r\n                    </div>\r\n                </button>\r\n            ';
 } 
__p+='\r\n        </div>\r\n\r\n        <div>\r\n            ';
 if (data.index < data.length-1) {  
__p+='\r\n                <button '+
((__t=( data.e.click('moveDown', data.index) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'templatesEditItem__btn') ))==null?'':__t)+
'" aria-label="Переместить блок вверх">\r\n                    <div class="'+
((__t=( f.getClass('templatesEditItem__touchImg') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                        '+
((__t=( f.renderBlock('icons.i_chevron-down') ))==null?'':__t)+
'\r\n                    </div>\r\n                </button>\r\n            ';
 } 
__p+='\r\n        </div>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('templatesEditItem__container') ))==null?'':__t)+
'">\r\n\r\n\r\n        <div class="'+
((__t=( f.getClass('templatesEditItem__content') ))==null?'':__t)+
'">\r\n            <h2 class="'+
((__t=( f.getClass('templatesEditInputs__textInfo', 'spaceBottom8') ))==null?'':__t)+
'">\r\n                '+
((__t=( data.item.value ))==null?'':__t)+
'\r\n            </h2>\r\n\r\n            <p class="'+
((__t=( f.getClass('templatesEditItem__tag', 'tag') ))==null?'':__t)+
'">\r\n                '+
((__t=( data.item.component.name ))==null?'':__t)+
'\r\n            </p>\r\n        </div>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('templatesEditItem__smallContainer') ))==null?'':__t)+
'">\r\n        <span class="'+
((__t=( f.getClass('templatesEditItem__number') ))==null?'':__t)+
'">\r\n            №'+
((__t=( data.index + 1 ))==null?'':__t)+
'\r\n        </span>\r\n        <button '+
((__t=( data.e.click('removeIndex', data.index) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'templatesEditItem__btn') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n            '+
((__t=( f.renderBlock('icons.i_wastebasket') ))==null?'':__t)+
'\r\n        </button>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-templates.main.TextInput'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('templatesEditItem', data.selected && 'selected') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('templatesEditItem__sideMenu') ))==null?'':__t)+
'">\r\n        ';
 if (data.index > 0){  
__p+='\r\n            <button '+
((__t=( data.e.click('moveUp', data.index) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'templatesEditItem__btn') ))==null?'':__t)+
'" aria-label="Переместить блок вверх">\r\n                <div class="'+
((__t=( f.getClass('templatesEditItem__touchImg') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                    '+
((__t=( f.renderBlock('icons.i_chevron-up') ))==null?'':__t)+
'\r\n                </div>\r\n            </button>\r\n        ';
 } 
__p+='\r\n        ';
 if (data.index < data.length-1) {  
__p+='\r\n            <button '+
((__t=( data.e.click('moveDown', data.index) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'templatesEditItem__btn') ))==null?'':__t)+
'" aria-label="Переместить блок вверх">\r\n                <div class="'+
((__t=( f.getClass('templatesEditItem__touchImg') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                    '+
((__t=( f.renderBlock('icons.i_chevron-down') ))==null?'':__t)+
'\r\n                </div>\r\n            </button>\r\n        ';
 } 
__p+='\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('templatesEditItem__container') ))==null?'':__t)+
'">\r\n\r\n        ';
 if (data.item.icon && data.item.icon.name){ 
__p+='\r\n            <div class="'+
((__t=( f.getClass('templatesEditItem__decor') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('templatesEditItem__decorImg') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                    '+
((__t=( f.renderBlock(`icons.phosphor.icons.${data.item.icon.name}`) ))==null?'':__t)+
'\r\n                </div>\r\n            </div>\r\n        ';
 } 
__p+='\r\n\r\n        <div class="'+
((__t=( f.getClass('templatesEditItem__content') ))==null?'':__t)+
'">\r\n            <h2 class="'+
((__t=( f.getClass('templatesEditItem__title') ))==null?'':__t)+
'">\r\n                '+
((__t=( data.item.label ))==null?'':__t)+
'\r\n            </h2>\r\n\r\n            ';
 if (data.item.value){ 
__p+='\r\n                <div  class="'+
((__t=( f.getClass('inputStyle', 'templatesEditItem__input', data.item.multiline && 'multiline') ))==null?'':__t)+
'">\r\n                    '+
((__t=( data.item.value))==null?'':__t)+
'\r\n                </div>\r\n            ';
 } else { 
__p+='\r\n            <div  class="'+
((__t=( f.getClass('inputStyle', 'templatesEditItem__input', data.item.multiline && 'multiline') ))==null?'':__t)+
'">\r\n                \r\n                '+
((__t=( data.item.placeholder))==null?'':__t)+
'\r\n            </div>\r\n            ';
 } 
__p+='\r\n\r\n            <p class="'+
((__t=( f.getClass('templatesEditItem__tag', 'tag') ))==null?'':__t)+
'">\r\n                '+
((__t=( data.item.component.name ))==null?'':__t)+
'\r\n            </p>\r\n        </div>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('templatesEditItem__smallContainer') ))==null?'':__t)+
'">\r\n        <span class="'+
((__t=( f.getClass('templatesEditItem__number') ))==null?'':__t)+
'">\r\n            №'+
((__t=( data.index + 1 ))==null?'':__t)+
'\r\n        </span>\r\n        <button '+
((__t=( data.e.click('removeIndex', data.index) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'templatesEditItem__btn') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n            '+
((__t=( f.renderBlock('icons.i_wastebasket') ))==null?'':__t)+
'\r\n        </button>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-templates.menu'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';
 const Items = [
    {
        "label":"Ввод текста",
        "icon":"icons.i_letters",
        "component":"TextInput"
    },
        {
        "label":"Выбор даты",
        "icon":"icons.i_calendar",
        "component":"DataPicker"
    },
        {
        "label":"Счётчик",
        "icon":"icons.i_calculator",
        "component":"CounterInput",
        pref: 'validInformation',
    },
        {
        "label":"Текст",
        "icon":"icons.i_page-fill",
        "component":"Text"
    },
    {
        "label":"Картинка",
        "icon":"icons.i_img",
        "component":"Img"
    },
    {
        "label":"Отступ",
        "icon":"icons.i_arrows-indent",
        "component":"Seporator"
    }
] 
__p+='\r\n<div class="'+
((__t=( f.getClass('templatesEditMenu') ))==null?'':__t)+
'">\r\n    <h2 class="'+
((__t=( f.getClass('templatesEditMenu__title') ))==null?'':__t)+
'">\r\n        Добавить блок\r\n    </h2>\r\n    <ul class="'+
((__t=( f.getClass('resetList', 'templatesEditMenu__list') ))==null?'':__t)+
'">\r\n        ';
 for (let index = 0; index < Items.length; index++) {
                const element = Items[index];
__p+='\r\n            <li class="'+
((__t=( f.getClass('templatesEditMenu__item') ))==null?'':__t)+
'">\r\n                <button '+
((__t=( data.e.click('addField', element.component ) ))==null?'':__t)+
'class="'+
((__t=( f.getClass('btnNeutral') ))==null?'':__t)+
'">\r\n                    <div class="'+
((__t=( f.getClass('btnNeutral__img') ))==null?'':__t)+
'" style="width: 20px; min-width: 20px; height: 20px;">\r\n                        '+
((__t=( f.renderBlock(element.icon) ))==null?'':__t)+
'\r\n                    </div>\r\n                    <span class="'+
((__t=( f.getClass('btnNeutral__text') ))==null?'':__t)+
'">\r\n                        '+
((__t=( element.label))==null?'':__t)+
'\r\n                    </span>\r\n                </button>\r\n            </li>\r\n        ';
 } 
__p+='\r\n    </ul>\r\n</div>';
}
return __p;
}
window.renderBlocks['pages-404'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass("wrapper-page") ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass("wrapper") ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass("errorPageContent") ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass("errorPageText") ))==null?'':__t)+
'">Что-то пошло не так</div>\r\n            </div>\r\n    </div>\r\n</div>\r\n';
}
return __p;
}
window.renderBlocks['pages-auth'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+=''+
((__t=( f.renderBlock('authorization.login') ))==null?'':__t)+
'';
}
return __p;
}
window.renderBlocks['pages-chat'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('chat__head', 'chatHead') ))==null?'':__t)+
' chatOperator">\r\n    <div class="'+
((__t=( f.getClass('chatHead__chatList') ))==null?'':__t)+
' chatOperator__chatList">\r\n        <div class="'+
((__t=( f.getClass('chat__headUser') ))==null?'':__t)+
'">\r\n            <a href="/chats" class="'+
((__t=( f.getClass('resetBtn', 'chat__btnBack') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('chat__imgBack') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                    '+
((__t=( f.renderBlock('icons.i_chevron-left') ))==null?'':__t)+
'\r\n                </div>\r\n                <h1 class="'+
((__t=( f.getClass('chat__title', 'textH2', 'textDarkMainBase') ))==null?'':__t)+
' chatOperator__title">\r\n                    '+
((__t=( data.first_name ))==null?'':__t)+
' '+
((__t=( data.last_name ))==null?'':__t)+
'\r\n                </h1>\r\n                <div class="'+
((__t=( f.getClass('chat__markerOnline') ))==null?'':__t)+
'">\r\n                    '+
((__t=( f.renderBlock('online', {cl_id: data._id, online: data.online}) ))==null?'':__t)+
'\r\n                </div> \r\n            </a>\r\n                <span '+
((__t=( e.ref('has_unread_messages') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('tag', 'neutralTag', data.loaded && !data.chat.has_unread_messages && 'hide' ) ))==null?'':__t)+
'">\r\n                    Клиент не прочитал все сообщения\r\n                </span>\r\n       \r\n        </div>\r\n        <div class="'+
((__t=( f.getClass('chat__search') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock('search')  ))==null?'':__t)+
'\r\n        </div>\r\n\r\n        ';
 if (data.loaded){ 
__p+='\r\n            ';
 if (data.chat.session_usr_id && data.chat.session_usr_id === data.me._id){ 
__p+='\r\n                <button '+
((__t=( e.click('closeSession') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnAgree') ))==null?'':__t)+
'">\r\n                    Завершить сессию\r\n                </button>\r\n            ';
 } else if (data.chat.session_usr_id === void 0) { 
__p+='\r\n                <button '+
((__t=( e.click('openSession') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnAgree') ))==null?'':__t)+
'">\r\n                    Открыть сессию\r\n                </button>\r\n            ';
 } 
__p+='\r\n        ';
 } 
__p+='\r\n    </div>\r\n</div>\r\n<div class="'+
((__t=( f.getClass('chat__main') ))==null?'':__t)+
'">\r\n    ';
 if (data.loaded) { 
__p+='\r\n        '+
((__t=( f.renderBlock("chats.chatMain", {
            cl_id: data.cl_id,
            chat: data.chat,
            me: data.me,
            card_type_id: data.card_type_id,
            openSession: data.chat.session_usr_id === undefined ?  e.click('openSession') : void 0,
            killSession: data.me.access_level >= 2 &&  data.chat.session_usr_id !== undefined && data.me._id !== data.chat.session_usr_id ?  e.click('killSession') : void 0
    }) ))==null?'':__t)+
'\r\n    ';
 } else { 
__p+='\r\n        <div class="'+
((__t=( f.getClass('chat__loadConteiner') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock('loaderBarTwo') ))==null?'':__t)+
'\r\n        </div>\r\n    ';
 } 
__p+='\r\n</div>\r\n'+
((__t=( f.renderBlock('requests.requestsModal') ))==null?'':__t)+
'';
}
return __p;
}
window.renderBlocks['pages-chats'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('requests__head', 'requestsHead') ))==null?'':__t)+
'">\r\n    \r\n    <div class="'+
((__t=( f.getClass('requestsHead__requestsList') ))==null?'':__t)+
'">\r\n        <h1 class="'+
((__t=( f.getClass('requests__title', 'textH2', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n            <a class="'+
((__t=( f.getClass('resetLink') ))==null?'':__t)+
'" href="/">\r\n                Чаты\r\n            </a>\r\n        </h1>\r\n        <div class="'+
((__t=( f.getClass('requests__search') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock('search')  ))==null?'':__t)+
'\r\n        </div>\r\n    </div>\r\n\r\n    <div class="'+
((__t=( f.getClass('requests__tab') ))==null?'':__t)+
'">\r\n        '+
((__t=( f.renderBlock('tab', {
            name:'_chats_mode',
            selected: query.type || 'all',
            items:[
                {title:'Все', value:'all'},
                {title:'Новые', value:'new'},
                {title:'Мои открытые', value:'my'},
                {title: '⚠️', value:'attention'}
            ]
        }) ))==null?'':__t)+
'\r\n    </div>\r\n    \r\n</div>\r\n';

    const params = {};
    let command = 'client.getList';
    let list = 'chat_list';

    if ( query.type === 'new'){
        command = 'users.getNewChats';
    } else if (query.type === 'my') {
     // params.last_message_id = '{NOT_NULL}';
      params.session_usr_id = '{caller_id}';
    } else if (query.type === 'attention'){
        params.has_unread_messages_after_online = true;
    }


__p+='  \r\n\r\n\r\n<div class="'+
((__t=( f.getClass('requests__main') ))==null?'':__t)+
'">\r\n    '+
((__t=( f.renderBlock("table",{
        pref:'table',
        params:{
            params,
            sorting: [
                {field: 'last_session_finished_at', order: 'desc'}
            ],

        },
        limit:10,
        command,
        list,
        columns:[
         {
                title: 'ID',
                key:'_id',
                col_class:'column07',
                type:'id'
            },
            {
                title: 'Клиент',
                col_class:'column08',
                type:'client'
            },
            {
                title: 'Последний сеанс',
                key:'last_online_at',
                col_class:'column07',
                type:'datetime',
                options:{
                    format:'DD.MM.YYYY HH:mm'
                }
            },  
            {
                title: 'Сообщение',
                
                col_class:'column02',
                type:'chat_message'
            },
           {
                title: 'Телефон',
                key:'phone_number',
                col_class:'column07',
                type:'short_text'
            },


           {
                title: 'Оператор',
                col_class:'column05',
                type:'user'
            },

           //{
                //title: 'Есть непрочитанное',
                //key:'has_unread_messages',
                //col_class:'column07',
                //type:'bool',
                //options:{
                //    locale:['Есть','Нет']
                //}
            //},

            //{
                //title: 'Ответ',
                //col_class:'column09',
                //type:'bool',
                //options:{
                //    'condidtion':'!data.value.message_usr_id && data.value.session_usr_id', 
                //    locale:['Есть','Нет']
                //}
            //},

           
        ]
    })  ))==null?'':__t)+
'\r\n</div>\r\n\r\n\r\n<!-- \r\n\r\n{\r\n    "_id": "1",\r\n    "last_name": "Тест",\r\n    "first_name": "Райнхольд",\r\n    "phone_number": "+79999999999",\r\n    "session_usr_id": 1,\r\n    "session_started_at": "2024-11-22T06:52:35Z",\r\n    "session_id": "628",\r\n    "session_last_name": "Админ",\r\n    "session_first_name": "Админ",\r\n    "message_id": "2931",\r\n    "removed": false,\r\n    "has_unread_messages": false,\r\n    "last_message_id": "2931",\r\n    "text": "Получено",\r\n    "attachments": [],\r\n    "message_usr_id": 5,\r\n    "last_message_at": "2024-11-03T11:22:30Z",\r\n    "message_status": 4,\r\n    "last_user_lastname": "Власова",\r\n    "last_user_firstname": "Светлана"\r\n}\r\n\r\n-->';
}
return __p;
}
window.renderBlocks['pages-client.add'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';
 if (data.loaded){ 
__p+='\r\n\r\n    <div class="'+
((__t=( f.getClass('addClient') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('clients__head') ))==null?'':__t)+
'">\r\n\r\n            <a href="/clients'+
((__t=( data._id ? '/' + data._id : '' ))==null?'':__t)+
'"  class="'+
((__t=( f.getClass('resetBtn', 'clients__btn') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('clients__img') ))==null?'':__t)+
'" style="height: 24px; width: 24px; min-width: 24px;">\r\n                       '+
((__t=( f.renderBlock('icons.i_chevron-left') ))==null?'':__t)+
'\r\n                </div>\r\n                <h1 class="'+
((__t=( f.getClass('clients__title', 'textH2', 'colorTextP') ))==null?'':__t)+
'">\r\n                    '+
((__t=( data._id  ? 'Редактировать клиента' : 'Добавление клиента' ))==null?'':__t)+
'\r\n                </h1>\r\n            </a>\r\n\r\n            <div class="'+
((__t=( f.getClass('clients__container') ))==null?'':__t)+
'">\r\n                ';
 if (data.need_rebase !== true){ 
__p+='\r\n                    <button '+
((__t=( e.click('wantRebase') ))==null?'':__t)+
' href="/clients/'+
((__t=( data._id ))==null?'':__t)+
'/edit" class="'+
((__t=( f.getClass('btn-change') ))==null?'':__t)+
'">\r\n                        Сбросить локальную базу пользователя\r\n                    </button>\r\n                ';
 } else { 
__p+='\r\n                    <div disabled class="'+
((__t=( f.getClass('btn-danger-empty') ))==null?'':__t)+
'">Ожидает сброса локальной базы</div>\r\n                ';
 } 
__p+='\r\n            </div>\r\n\r\n        </div>\r\n        <div class="'+
((__t=( f.getClass('clients__main') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('addClient') ))==null?'':__t)+
'">\r\n                \r\n                <div class="'+
((__t=( f.getClass('addClient__scroll') ))==null?'':__t)+
' scrollBar">\r\n                    <div class="'+
((__t=( f.getClass('addClient__content') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('addClient__section') ))==null?'':__t)+
'">\r\n                            <h2 class="'+
((__t=( f.getClass('addClient__title') ))==null?'':__t)+
'">\r\n                                Информация о клиенте\r\n                            </h2>\r\n                            <div class="'+
((__t=( f.getClass('addClient__container') ))==null?'':__t)+
'">\r\n                                <label class="'+
((__t=( f.getClass('addClient__item') ))==null?'':__t)+
'">\r\n                                    <h3 class="'+
((__t=( f.getClass('addClient__subtitle') ))==null?'':__t)+
'">\r\n                                        Имя\r\n                                    </h3>\r\n                                    <input minlength="1" required '+
((__t=( e.on('input', 'onInputChange', 'first_name') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('input48', 'input-small') ))==null?'':__t)+
'" placeholder="Имя" value="'+
((__t=( data.first_name ))==null?'':__t)+
'" name="" id="" type="text">\r\n                                </label>\r\n                                <label class="'+
((__t=( f.getClass('addClient__item') ))==null?'':__t)+
'">\r\n                                    <h3 class="'+
((__t=( f.getClass('addClient__subtitle') ))==null?'':__t)+
'">\r\n                                        Фамилия\r\n                                    </h3>\r\n                                    <input minlength="1" required '+
((__t=( e.on('input', 'onInputChange', 'last_name') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('input48', 'input-small') ))==null?'':__t)+
'" placeholder="Фамилия" name="" value="'+
((__t=( data.last_name ))==null?'':__t)+
'" id="" type="text">\r\n                                </label>\r\n                            </div>\r\n                        </div>\r\n                        <div class="'+
((__t=( f.getClass('addClient__section') ))==null?'':__t)+
'">\r\n                            <h2 class="'+
((__t=( f.getClass('addClient__title') ))==null?'':__t)+
'">\r\n                                Контактная информация\r\n                            </h2>\r\n                            <div class="'+
((__t=( f.getClass('addClient__container') ))==null?'':__t)+
'">\r\n                                <label class="'+
((__t=( f.getClass('addClient__item') ))==null?'':__t)+
'">\r\n                                    <h3 class="'+
((__t=( f.getClass('addClient__subtitle') ))==null?'':__t)+
'">\r\n                                        Номер телефона\r\n                                    </h3>\r\n                                    <input required '+
((__t=( e.on('input', 'onInputChange', 'phone_number') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('input48', 'input-small') ))==null?'':__t)+
'" placeholder="Номер телефона" value="'+
((__t=( data.phone_number ))==null?'':__t)+
'" name="" id="" type="tel">\r\n                                </label>\r\n                                <label class="'+
((__t=( f.getClass('addClient__item') ))==null?'':__t)+
'">\r\n                                    <h3 class="'+
((__t=( f.getClass('addClient__subtitle') ))==null?'':__t)+
'">\r\n                                        Электронная почта\r\n                                    </h3>\r\n                                    <input '+
((__t=( e.on('input', 'onInputChange', 'email') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('input48', 'input-small') ))==null?'':__t)+
'" placeholder="Электронная почта" value="'+
((__t=( data.email ))==null?'':__t)+
'" name="" id="" type="email">\r\n                                </label>\r\n                            </div>\r\n                        </div>\r\n                        <div class="'+
((__t=( f.getClass('addClient__section') ))==null?'':__t)+
'">\r\n                            <h2 class="'+
((__t=( f.getClass('addClient__title') ))==null?'':__t)+
'">\r\n                                Предпочтительный способ связи\r\n                            </h2>\r\n                            <ul class="'+
((__t=( f.getClass('resetList', 'addClient__tabList') ))==null?'':__t)+
'">\r\n                                <li class="'+
((__t=( f.getClass('addClient__tabItem') ))==null?'':__t)+
'">\r\n                                    <div class="'+
((__t=( f.getClass('addClient__toggle', 'spaceBottm40') ))==null?'':__t)+
'">\r\n                                        '+
((__t=( f.renderBlock('checkInputs.checkBox',{value: data.communications.app, label:'Приложение', click: e.click('changeCommunication','app')}) ))==null?'':__t)+
'\r\n                                    </div>\r\n                                </li>\r\n                                <li class="'+
((__t=( f.getClass('addClient__tabItem') ))==null?'':__t)+
'">\r\n                                    <div class="'+
((__t=( f.getClass('addClient__toggle', 'spaceBottm40') ))==null?'':__t)+
'">\r\n                                        '+
((__t=( f.renderBlock('checkInputs.checkBox',{value: data.communications.call ,label:'Звонок', click: e.click('changeCommunication','call')}) ))==null?'':__t)+
'\r\n                                    </div>\r\n                                </li>\r\n                                <li class="'+
((__t=( f.getClass('addClient__tabItem') ))==null?'':__t)+
'">\r\n                                    <div class="'+
((__t=( f.getClass('addClient__toggle', 'spaceBottm40') ))==null?'':__t)+
'">\r\n                                        '+
((__t=( f.renderBlock('checkInputs.checkBox',{value: data.communications.sms ,label:'СМС', click: e.click('changeCommunication','sms')}) ))==null?'':__t)+
'\r\n                                    </div>\r\n                                </li>\r\n                                <li class="'+
((__t=( f.getClass('addClient__tabItem') ))==null?'':__t)+
'">\r\n                                    <div class="'+
((__t=( f.getClass('addClient__toggle', 'spaceBottm40') ))==null?'':__t)+
'">\r\n                                        '+
((__t=( f.renderBlock('checkInputs.checkBox',{value: data.communications.whatsapp ,label:'Whatsapp', click: e.click('changeCommunication','whatsapp')}) ))==null?'':__t)+
'\r\n                                    </div>\r\n                                </li>\r\n                                <li class="'+
((__t=( f.getClass('addClient__tabItem') ))==null?'':__t)+
'">\r\n                                    <div class="'+
((__t=( f.getClass('addClient__toggle', 'spaceBottm40') ))==null?'':__t)+
'">\r\n                                        '+
((__t=( f.renderBlock('checkInputs.checkBox',{value: data.communications.viber ,label:'Viber', click: e.click('changeCommunication','viber')}) ))==null?'':__t)+
'\r\n                                    </div>\r\n                                </li>\r\n                                <li class="'+
((__t=( f.getClass('addClient__tabItem') ))==null?'':__t)+
'">\r\n                                    <div class="'+
((__t=( f.getClass('addClient__toggle', 'spaceBottm40') ))==null?'':__t)+
'">\r\n                                        '+
((__t=( f.renderBlock('checkInputs.checkBox', {value: data.communications.telegram , label:'Telegram', click: e.click('changeCommunication','telegram')}) ))==null?'':__t)+
'\r\n                                    </div>\r\n                                </li>\r\n                            </ul>\r\n                        </div>\r\n                        <div class="'+
((__t=( f.getClass('addClient__section') ))==null?'':__t)+
'">\r\n\r\n                            <label class="'+
((__t=( f.getClass('addClient__item', 'spaceBottm40') ))==null?'':__t)+
'">\r\n                                <h3 class="'+
((__t=( f.getClass('addClient__subtitle') ))==null?'':__t)+
'">\r\n                                    Статус\r\n                                </h3>\r\n                                <div class="'+
((__t=( f.getClass('addClient__select') ))==null?'':__t)+
'">\r\n                                    '+
((__t=( f.renderBlock('select_50',{
                                        key:'CardType',
                                        default:'',
                                        selected:data.card_type_id,
                                        items: (data.card_list || []).map(card => {
                                            return {name:card.name,value: card._id}
                                        })            
                                    }) ))==null?'':__t)+
'\r\n                                </div>\r\n                            </label>\r\n                            <div class="'+
((__t=( f.getClass('addClient__item', 'spaceBottm40') ))==null?'':__t)+
'">\r\n                                <h3 class="'+
((__t=( f.getClass('addClient__subtitle') ))==null?'':__t)+
'">\r\n                                    Срок действия c \r\n                                </h3>\r\n                                <input required '+
((__t=( e.on('input', 'onDataInputChange','started_at') ))==null?'':__t)+
'  value="'+
((__t=( data.started_at ? utils.moment(data.started_at).format('YYYY-MM-DD') : void 0 ))==null?'':__t)+
'" class="'+
((__t=( f.getClass('input48') ))==null?'':__t)+
'" placeholder="Введите текст" type="date">\r\n                            </div>\r\n                            <div class="'+
((__t=( f.getClass('addClient__item', 'spaceBottm40') ))==null?'':__t)+
'">\r\n                                <h3 class="'+
((__t=( f.getClass('addClient__subtitle') ))==null?'':__t)+
'">\r\n                                    Срок действия до\r\n                                </h3>\r\n                                <input required '+
((__t=( e.on('input', 'onDataInputChange','finished_at') ))==null?'':__t)+
' value="'+
((__t=( data.started_at ? utils.moment(data.finished_at).format('YYYY-MM-DD') : void 0 ))==null?'':__t)+
'" class="'+
((__t=( f.getClass('input48') ))==null?'':__t)+
'" placeholder="Введите текст" type="date">\r\n                            </div>\r\n                            <div class="'+
((__t=( f.getClass('addClient__item', 'spaceBottm40') ))==null?'':__t)+
'">\r\n                                <h3 class="'+
((__t=( f.getClass('addClient__subtitle') ))==null?'':__t)+
'">\r\n                                    Добавить заметку\r\n                                </h3>\r\n                                <textarea '+
((__t=( e.on('input', 'onInputChange', 'comment') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('addClient__inputBig', 'input48') ))==null?'':__t)+
'" placeholder="Введите текст">'+
((__t=( data.comment ))==null?'':__t)+
'</textarea>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n\r\n\r\n                <div class="'+
((__t=( f.getClass('addClient__menu', 'addClientMenu') ))==null?'':__t)+
'">\r\n                    \r\n                    ';
 if (data._id) { 
__p+='\r\n                        <button '+
((__t=( e.click('remove') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btn-danger') ))==null?'':__t)+
'">\r\n                            Удалить\r\n                        </button>\r\n                    ';
 } else { 
__p+='\r\n                        <div style="flex:1" ></div>\r\n                    ';
 } 
__p+='\r\n\r\n                    <ul class="'+
((__t=( f.getClass('resetList', 'addClientMenu__list') ))==null?'':__t)+
'">\r\n                        <li class="'+
((__t=( f.getClass('addClientMenu__item') ))==null?'':__t)+
'">\r\n                            <button '+
((__t=( e.click('cancel') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btn-empty') ))==null?'':__t)+
'">\r\n                                Отмена\r\n                            </button>\r\n                        </li>\r\n                        <li class="'+
((__t=( f.getClass('addClientMenu__item') ))==null?'':__t)+
'">\r\n                            ';
 if (data._id) { 
__p+='\r\n                                <button '+
((__t=( e.click('update') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btn-agree') ))==null?'':__t)+
'">\r\n                                    Изменить\r\n                                </button>\r\n                            ';
 } else { 
__p+='\r\n                                <button '+
((__t=( e.click('add') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btn-agree') ))==null?'':__t)+
'">\r\n                                    Добавить\r\n                                </button>\r\n                            ';
 } 
__p+='\r\n                        </li>\r\n                    </ul>\r\n                </div>\r\n                \r\n            </div>\r\n        </div>\r\n    </div>\r\n\r\n    '+
((__t=( f.renderBlock('modalUniversal.modalAgree',{pref:'modal'}) ))==null?'':__t)+
'\r\n\r\n';
 } else { 
__p+='\r\n    <div class="'+
((__t=( f.getClass('loader') ))==null?'':__t)+
'">\r\n        '+
((__t=( f.renderBlock('loaderBarTwo') ))==null?'':__t)+
'\r\n    </div>\r\n';
 } 
__p+='\r\n\r\n'+
((__t=( f.renderBlock('modalUniversal.modalAgree',{pref:'modal'}) ))==null?'':__t)+
'';
}
return __p;
}
window.renderBlocks['pages-client'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='    <div class="'+
((__t=( f.getClass('clients__head') ))==null?'':__t)+
'">\r\n\r\n        <a href="/clients" class="'+
((__t=( f.getClass('resetBtn', 'clients__btn') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('clients__img') ))==null?'':__t)+
'" style="height: 24px; width: 24px; min-width: 24px;">\r\n                '+
((__t=( f.renderBlock('icons.i_chevron-left') ))==null?'':__t)+
'\r\n            </div>\r\n            <h1 class="'+
((__t=( f.getClass('clients__title', 'textH2', 'colorTextP') ))==null?'':__t)+
'">\r\n                '+
((__t=( data.first_name ))==null?'':__t)+
' '+
((__t=( data.last_name ))==null?'':__t)+
'\r\n            </h1>\r\n        </a>\r\n        <div class="'+
((__t=( f.getClass('clients__container') ))==null?'':__t)+
'">\r\n\r\n            <a  href="/clients/'+
((__t=( data._id ))==null?'':__t)+
'/edit" class="'+
((__t=( f.getClass('btn-agree') ))==null?'':__t)+
'">\r\n                Редактировать\r\n            </a>\r\n        </div>\r\n        <div class="'+
((__t=( f.getClass('clients__tab') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock('tab', {
                name:'_mode',
                selected: data.mode,
                items:[
                    {title:'Информация',value:'info'},
                    {title:'Запросы',value:'requests'}
                ]
            }) ))==null?'':__t)+
'\r\n        </div>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('clients__main') ))==null?'':__t)+
'">\r\n        \r\n        \r\n            \r\n            \r\n            \r\n        '+
((__t=( data.loaded && f.renderBlock(`pages-client.watchClient.${data.mode}`,{
            ...data,
            createRequest:data.mode !== 'requests' && e.on('click','createRequest')
        }) ))==null?'':__t)+
'\r\n    </div>\r\n    '+
((__t=( f.renderBlock('requests.requestsModal') ))==null?'':__t)+
'\r\n';
}
return __p;
}
window.renderBlocks['pages-client.watchClient.info'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('clientInfo') ))==null?'':__t)+
'">\r\n    \r\n    <div class="'+
((__t=( f.getClass('clientInfo__scroll') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('clientInfo__content') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock('pages-client.watchClient.infoClientContent', data) ))==null?'':__t)+
'\r\n        </div>\r\n    </div>\r\n    \r\n    \r\n    <div class="'+
((__t=( f.getClass('clientInfo__menu', 'clientInfoMenu') ))==null?'':__t)+
' scrollBar" aria-label="Боковое меню">\r\n        <div class="'+
((__t=( f.getClass('clientInfoMenu__scrollContainer') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('clientInfoMenu__main') ))==null?'':__t)+
'">\r\n                <h2 class="'+
((__t=( f.getClass('clientInfoMenu__title') ))==null?'':__t)+
'">\r\n                    Клиент\r\n                </h2>\r\n                <div class="'+
((__t=( f.getClass('clientInfoMenu__overflow') ))==null?'':__t)+
'">\r\n                    \r\n                    <p class="'+
((__t=( f.getClass('clientInfoMenu__bigText', data.online && 'clientInfoOnline') ))==null?'':__t)+
'">\r\n                        '+
((__t=( data.first_name ))==null?'':__t)+
'  '+
((__t=( data.last_name ))==null?'':__t)+
'\r\n                    </p>\r\n                    '+
((__t=( f.renderBlock('online', {cl_id: data._id, online: data.online}) ))==null?'':__t)+
'\r\n                </div>\r\n                <a href="/chats/'+
((__t=(data._id))==null?'':__t)+
'" class="'+
((__t=( f.getClass('btnLight', 'spaceBottom24') ))==null?'':__t)+
'">\r\n                    Открыть чат\r\n                </a>\r\n                 <!--  <ul class="'+
((__t=( f.getClass('resetList', 'clientInfoMenu__list') ))==null?'':__t)+
'">\r\n                   \r\n                 <li class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement') ))==null?'':__t)+
'">\r\n                        <h3 class="'+
((__t=( f.getClass('clientInfoMenu__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                            Помощник\r\n                        </h3>\r\n                        <a class="'+
((__t=( f.getClass('resetLink', 'clientInfoMenu__text', 'textM', 'colorTextAcc') ))==null?'':__t)+
'" href="#">\r\n                            Илья Фёдоров\r\n                        </a>\r\n                    </li> \r\n\r\n                    <li class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement') ))==null?'':__t)+
'">\r\n                        <h3 class="'+
((__t=( f.getClass('clientInfoMenu__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                            Помощник\r\n                        </h3>\r\n                        <a class="'+
((__t=( f.getClass('resetLink', 'clientInfoMenu__text', 'textM', 'colorTextAcc') ))==null?'':__t)+
'" href="#">\r\n                            Ольга Тарасовa\r\n                        </a>\r\n                    </li>\r\n                </ul>-->\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('clientInfoMenu__section', 'flexFull') ))==null?'':__t)+
'">\r\n                <h2 class="'+
((__t=( f.getClass('clientInfoMenu__subtitle', 'textM', 'colorTextSec', 'spaceBottom24') ))==null?'':__t)+
'">\r\n                    Активные запросы\r\n                </h2>\r\n                <ul class="'+
((__t=( f.getClass('resetList', 'clientInfoMenu__list', 'spaceBottom12') ))==null?'':__t)+
'">\r\n                    ';
 for (let index = 0; index < (data.request_list || []).length; index++) {
                        const request = data.request_list[index]; 
__p+='\r\n\r\n                        <li class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement') ))==null?'':__t)+
'">\r\n                            <time class="'+
((__t=( f.getClass('clientInfoMenu__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(request.created_at).locale(context.locale).format('YYYY-MM-DDTHH:mm')))==null?'':__t)+
'">\r\n                                '+
((__t=( utils.moment(request.created_at).locale(context.locale).format('HH:mm DD MMMM YYYY')))==null?'':__t)+
'\r\n                            </time>\r\n                            <a href="/requests/'+
((__t=( request._id ))==null?'':__t)+
'" class="'+
((__t=( f.getClass('clientInfoMenu__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                                '+
((__t=( request.title ))==null?'':__t)+
'\r\n                            </a>\r\n                        </li>\r\n                    ';
 } 
__p+='\r\n                </ul>\r\n                <button '+
((__t=( data.createRequest ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnNeutral') ))==null?'':__t)+
'">\r\n                    Создать запрос\r\n                </button>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('clientInfoMenu__section') ))==null?'':__t)+
'">\r\n                <ul class="'+
((__t=( f.getClass('resetList', 'clientInfoMenu__list') ))==null?'':__t)+
'">\r\n                    <li class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement') ))==null?'':__t)+
'">\r\n                        <h4 class="'+
((__t=( f.getClass('clientInfoMenu__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                            Последнее обращение\r\n                        </h4>\r\n                        <time class="'+
((__t=( f.getClass('clientInfoMenu__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(data.last_message_at).locale(context.locale).format('YYYY-MM-DDTHH:mm')))==null?'':__t)+
'">\r\n                            '+
((__t=( utils.moment(data.last_message_at).locale(context.locale).format('HH:mm DD MMMM YYYY')))==null?'':__t)+
'\r\n                        </time>\r\n                    </li>\r\n                    <li class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement') ))==null?'':__t)+
'">\r\n                        <h4 class="'+
((__t=( f.getClass('clientInfoMenu__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                            Обслуживание до\r\n                        </h4>\r\n                        <time class="'+
((__t=( f.getClass('clientInfoMenu__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(data.finished_at).locale(context.locale).format('YYYY-MM-DDTHH:mm')))==null?'':__t)+
'">\r\n                            '+
((__t=( utils.moment(data.finished_at).locale(context.locale).format('HH:mm DD MMMM YYYY')))==null?'':__t)+
'\r\n                        </time>\r\n                    </li>\r\n                    <li class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement') ))==null?'':__t)+
'">\r\n                        <h4 class="'+
((__t=( f.getClass('clientInfoMenu__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                            Регистрация\r\n                        </h4>\r\n                        <time class="'+
((__t=( f.getClass('clientInfoMenu__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(data.created_at).locale(context.locale).format('YYYY-MM-DDTHH:mm')))==null?'':__t)+
'">\r\n                            '+
((__t=( utils.moment(data.created_at).locale(context.locale).format('HH:mm DD MMMM YYYY')))==null?'':__t)+
'\r\n                        </time>\r\n                    </li>\r\n                </ul>\r\n            </div>\r\n        </div>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['pages-client.watchClient.infoClientContent'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('clientInfo__section') ))==null?'':__t)+
'">\r\n    <ul class="'+
((__t=( f.getClass('resetList', 'clientInfo__list', 'clientStatistic') ))==null?'':__t)+
'">\r\n        <li class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement', 'flexFull') ))==null?'':__t)+
'">\r\n            <p class="'+
((__t=( f.getClass('clientInfo__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                Запросы\r\n            </p>\r\n            <span class="'+
((__t=( f.getClass('clientInfo__text', 'textH3', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                '+
((__t=( data.total_request_count))==null?'':__t)+
'\r\n            </span>\r\n        </li>\r\n        <li class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement', 'flexFull') ))==null?'':__t)+
'">\r\n            <p class="'+
((__t=( f.getClass('clientInfo__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                Сообщения\r\n            </p>\r\n            <span class="'+
((__t=( f.getClass('clientInfo__text', 'textH3', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                '+
((__t=( data.total_message_count))==null?'':__t)+
'\r\n            </span>\r\n        </li>\r\n        <li class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement', 'flexFull') ))==null?'':__t)+
'">\r\n            <p class="'+
((__t=( f.getClass('clientInfo__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                Счета\r\n            </p>\r\n            <span class="'+
((__t=( f.getClass('clientInfo__text', 'textH3', 'colorTextPrim') ))==null?'':__t)+
'">\r\n               '+
((__t=( data.total_invoice_count ))==null?'':__t)+
'\r\n            </span>\r\n        </li>\r\n    </ul>\r\n</div>\r\n<div class="'+
((__t=( f.getClass('clientInfo__section') ))==null?'':__t)+
'">\r\n    <h2 class="'+
((__t=( f.getClass('clientInfo__title', 'textLB', 'colorTextPrim', 'spaceBottom16') ))==null?'':__t)+
'">\r\n        Информация\r\n    </h2>\r\n    <div class="'+
((__t=( f.getClass('clientInfo__list', 'clientStatistic', 'spaceBottom8') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement', 'flexFull') ))==null?'':__t)+
'">\r\n            <h3 class="'+
((__t=( f.getClass('clientInfo__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                Имя\r\n            </h3>\r\n            <span class="'+
((__t=( f.getClass('clientInfo__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                '+
((__t=( data.first_name ))==null?'':__t)+
' '+
((__t=( data.last_name ))==null?'':__t)+
'\r\n            </span>\r\n        </div>\r\n        <div class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement') ))==null?'':__t)+
'">\r\n            <h3 class="'+
((__t=( f.getClass('clientInfo__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                ID клиента\r\n            </h3>\r\n            <span class="'+
((__t=( f.getClass('clientInfo__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                '+
((__t=( data._id ))==null?'':__t)+
'\r\n            </span>\r\n        </div>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('clientInfo__list', 'clientStatistic') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement', 'flexFull') ))==null?'':__t)+
'">\r\n            <h3 class="'+
((__t=( f.getClass('clientInfo__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                Номер телефона\r\n            </h3>\r\n            <p class="'+
((__t=( f.getClass('clientInfo__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n               '+
((__t=( data.phone_number ))==null?'':__t)+
'\r\n            </p>\r\n        </div>\r\n\r\n        ';
 if (data.email) { 
__p+='\r\n            <div class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement', 'flexFull') ))==null?'':__t)+
'">\r\n                <h3 class="'+
((__t=( f.getClass('clientInfo__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                    Электронная почта\r\n                </h3>\r\n                <p class="'+
((__t=( f.getClass('clientInfo__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                    '+
((__t=( data.email ))==null?'':__t)+
'\r\n                </p>\r\n            </div>\r\n        ';
 } 
__p+='\r\n    </div>\r\n</div>\r\n';
 if (data.privilegeInfo) { 
__p+='\r\n    ';
 let changePeriod = data.privilegeInfo.changedPeriod; 
__p+='\r\n    <div class="'+
((__t=( f.getClass('clientInfo__section') ))==null?'':__t)+
'">\r\n        <h2 class="'+
((__t=( f.getClass('clientInfo__title', 'textLB', 'colorTextPrim', 'spaceBottom16') ))==null?'':__t)+
'">\r\n            Тариф\r\n        </h2>\r\n        <div class="'+
((__t=( f.getClass('clientInfo__list', 'clientStatistic', 'spaceBottom8') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement', 'flexFull') ))==null?'':__t)+
'">\r\n                <h3 class="'+
((__t=( f.getClass('clientInfo__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                    Название\r\n                </h3>\r\n                <span class="'+
((__t=( f.getClass('clientInfo__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                    '+
((__t=( data.privilegeInfo.name || ""  ))==null?'':__t)+
'\r\n                </span>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement') ))==null?'':__t)+
'">\r\n                <h3 class="'+
((__t=( f.getClass('clientInfo__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                    Цена\r\n                </h3>\r\n                <span class="'+
((__t=( f.getClass('clientInfo__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                    '+
((__t=( utils.beautifyAmount( {amount: changePeriod.price.amount, currency: changePeriod.price.currency} ) ))==null?'':__t)+
'\r\n                </span>\r\n            </div>\r\n        </div>\r\n        <div class="'+
((__t=( f.getClass('clientInfo__list', 'clientStatistic') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement', 'flexFull') ))==null?'':__t)+
'">\r\n                <h3 class="'+
((__t=( f.getClass('clientInfo__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                    Период\r\n                </h3>\r\n                <p class="'+
((__t=( f.getClass('clientInfo__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                    '+
((__t=( changePeriod.title ))==null?'':__t)+
'\r\n                </p>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement', 'flexFull') ))==null?'':__t)+
'">\r\n                <h3 class="'+
((__t=( f.getClass('clientInfo__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                    Дата начала\r\n                </h3>\r\n                <time class="'+
((__t=( f.getClass('clientInfo__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(data.started_at).locale(context.locale).format('YYYY-MM-DDTHH:mm')))==null?'':__t)+
'">\r\n                    '+
((__t=( utils.moment(data.started_at).locale(context.locale).format('DD.MM.YYYY') ))==null?'':__t)+
'\r\n                </time>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement', 'flexFull') ))==null?'':__t)+
'">\r\n                <h3 class="'+
((__t=( f.getClass('clientInfo__headtext', 'textS', 'colorTextSec') ))==null?'':__t)+
'">\r\n                    Дата окончания\r\n                </h3>\r\n                <time class="'+
((__t=( f.getClass('clientInfo__text', 'textM', utils.moment().isAfter(data.finished_at) ? 'colorTextNeg' : 'colorTextPrim' ) ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(data.finished_at).locale(context.locale).format('YYYY-MM-DDTHH:mm')))==null?'':__t)+
'">\r\n                    '+
((__t=( utils.moment(data.finished_at).locale(context.locale).format('DD.MM.YYYY') ))==null?'':__t)+
'\r\n                </time>\r\n            </div>\r\n        </div>\r\n    </div>\r\n';
 } 
__p+='\r\n<div class="'+
((__t=( f.getClass('clientInfo__section') ))==null?'':__t)+
'">\r\n    <h2 class="'+
((__t=( f.getClass('clientInfo__title', 'textLB', 'colorTextPrim', 'spaceBottom16') ))==null?'':__t)+
'">\r\n        Предпочтительный способ связи\r\n    </h2>\r\n    <div class="'+
((__t=( f.getClass('clientInfo__list', 'clientStatistic') ))==null?'':__t)+
'">\r\n        \r\n        ';
 if (data.communications.app) { 
__p+='\r\n            <div class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement', 'flexFull') ))==null?'':__t)+
'">\r\n                <p class="'+
((__t=( f.getClass('clientInfo__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                    Приложение\r\n                </p>\r\n            </div>\r\n        ';
 } 
__p+='\r\n\r\n        ';
 if (data.communications.sms) { 
__p+='\r\n            <div class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement', 'flexFull') ))==null?'':__t)+
'">\r\n                <p class="'+
((__t=( f.getClass('clientInfo__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                    СМС\r\n                </p>\r\n            </div>\r\n        ';
 } 
__p+='\r\n\r\n        ';
 if (data.communications.whatsapp) { 
__p+='\r\n            <div class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement', 'flexFull') ))==null?'':__t)+
'">\r\n                <p class="'+
((__t=( f.getClass('clientInfo__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                    Whatsapp\r\n                </p>\r\n            </div> \r\n        ';
 } 
__p+='\r\n\r\n        ';
 if (data.communications.call) { 
__p+='\r\n            <div class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement', 'flexFull') ))==null?'':__t)+
'">\r\n                <p class="'+
((__t=( f.getClass('clientInfo__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                    Звонок\r\n                </p>\r\n            </div> \r\n        ';
 } 
__p+='\r\n\r\n\r\n        ';
 if (data.communications.viber) { 
__p+='\r\n            <div class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement', 'flexFull') ))==null?'':__t)+
'">\r\n                <p class="'+
((__t=( f.getClass('clientInfo__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                    Viber\r\n                </p>\r\n            </div> \r\n        ';
 } 
__p+='\r\n\r\n        \r\n        ';
 if (data.communications.telegram) { 
__p+='\r\n            <div class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement', 'flexFull') ))==null?'':__t)+
'">\r\n                <p class="'+
((__t=( f.getClass('clientInfo__text', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                    Telegram\r\n                </p>\r\n            </div> \r\n        ';
 } 
__p+='\r\n\r\n\r\n    </div>\r\n</div>\r\n\r\n\r\n '+
((__t=( f.renderBlock('clients.notes', {cl_id: data._id}) ))==null?'':__t)+
'\r\n';
}
return __p;
}
window.renderBlocks['pages-client.watchClient.notes'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('clientInfo__section') ))==null?'':__t)+
'">\r\n    <h2 class="'+
((__t=( f.getClass('clientInfo__title', 'textLB', 'colorTextPrim', 'spaceBottom8') ))==null?'':__t)+
'">\r\n        Заметки\r\n    </h2>\r\n    <p class="'+
((__t=( f.getClass('clientInfo__textInfo', 'textM', 'colorTextSec', 'spaceBottom16') ))==null?'':__t)+
'">\r\n        Для внутреннего использования, клиент их не видит\r\n    </p>\r\n    <ol class="'+
((__t=( f.getClass('resetList', 'clientInfo__notes', 'clientStatistic', 'spaceBottom16') ))==null?'':__t)+
'">\r\n        <li class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement', 'flexFull') ))==null?'':__t)+
'">\r\n            <p class="'+
((__t=( f.getClass('clientInfo__headtext', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                Зал для не курящих Lorem ipsum dolor sit amet consectetur adipisicing elit. Animi necessitatibus amet, eligendi nostrum enim expedita architecto quis deleniti recusandae mollitia error maiores placeat laudantium incidunt iusto officiis labore aspernatur voluptates!\r\n            </p>\r\n            <p class="'+
((__t=( f.getClass('clientInfo__commentInfo', 'colorTextTetr', 'textS') ))==null?'':__t)+
'">\r\n                <time class="'+
((__t=( f.getClass('clientInfo__commentData') ))==null?'':__t)+
'" datetime="2024-06-23 22:33">\r\n                    22:33 23 июня 2024\r\n                </time>\r\n                &bull;\r\n                <span class="'+
((__t=( f.getClass('clientInfo__commentName') ))==null?'':__t)+
'">\r\n                    Сорокин Денис\r\n                </span>\r\n            </p>\r\n            <button class="'+
((__t=( f.getClass('resetBtn', 'btnClose') ))==null?'':__t)+
'" style="width: 32px; height: 32px;">\r\n                '+
((__t=( f.renderBlock('icons.i_x') ))==null?'':__t)+
'\r\n            </button>\r\n        </li>\r\n        <li class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement', 'flexFull') ))==null?'':__t)+
'">\r\n            <p class="'+
((__t=( f.getClass('clientInfo__headtext', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                Обычно заказывает билеты в последний момент\r\n            </p>\r\n            <p class="'+
((__t=( f.getClass('clientInfo__commentInfo', 'colorTextTetr', 'textS') ))==null?'':__t)+
'">\r\n                <time class="'+
((__t=( f.getClass('clientInfo__commentData') ))==null?'':__t)+
'" datetime="2024-06-23 22:33">\r\n                    22:33 23 июня 2024\r\n                </time>\r\n                &bull;\r\n                <span class="'+
((__t=( f.getClass('clientInfo__commentName') ))==null?'':__t)+
'">\r\n                    Сорокин Денис\r\n                </span>\r\n            </p>\r\n            <button class="'+
((__t=( f.getClass('resetBtn', 'btnClose') ))==null?'':__t)+
'" style="width: 32px; height: 32px;">\r\n                '+
((__t=( f.renderBlock('icons.i_x') ))==null?'':__t)+
'\r\n            </button>\r\n        </li>\r\n        <li class="'+
((__t=( f.getClass('clientInfo__item', 'cloudElement', 'flexFull') ))==null?'':__t)+
'">\r\n            <p class="'+
((__t=( f.getClass('clientInfo__headtext', 'textM', 'colorTextPrim') ))==null?'':__t)+
'">\r\n                Предпочитает место у окна\r\n            </p>\r\n            <p class="'+
((__t=( f.getClass('clientInfo__commentInfo', 'colorTextTetr', 'textS') ))==null?'':__t)+
'">\r\n                <time class="'+
((__t=( f.getClass('clientInfo__commentData') ))==null?'':__t)+
'" datetime="2024-06-23 22:33">\r\n                    22:33 23 июня 2024\r\n                </time>\r\n                &bull;\r\n                <span class="'+
((__t=( f.getClass('clientInfo__commentName') ))==null?'':__t)+
'">\r\n                    Сорокин Денис\r\n                </span>\r\n            </p>\r\n            <button class="'+
((__t=( f.getClass('resetBtn', 'btnClose') ))==null?'':__t)+
'" style="width: 32px; height: 32px;">\r\n                '+
((__t=( f.renderBlock('icons.i_x') ))==null?'':__t)+
'\r\n            </button>\r\n        </li>\r\n    </ol>\r\n    <div class="'+
((__t=( f.getClass('clientInfo__input', 'commentInput') ))==null?'':__t)+
'">\r\n        \r\n        <div class="'+
((__t=( f.getClass('commentInput__buttons') ))==null?'':__t)+
'">\r\n            <button class="'+
((__t=( f.getClass('btnLight') ))==null?'':__t)+
'">\r\n                Добавить\r\n            </button>\r\n        </div>\r\n        \r\n        <textarea class="'+
((__t=( f.getClass('input40', 'commentInput__input') ))==null?'':__t)+
'" id="" placeholder="Добавить комментарий"></textarea>\r\n        <div class="'+
((__t=( f.getClass('commentInput__buttons') ))==null?'':__t)+
'">\r\n            <button class="'+
((__t=( f.getClass('btnLight') ))==null?'':__t)+
'">\r\n                Сохранить\r\n            </button>\r\n            <button class="'+
((__t=( f.getClass('btnEmpty') ))==null?'':__t)+
'">\r\n                Отмена\r\n            </button>\r\n        </div>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['pages-client.watchClient.receipts'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('clientsRequests') ))==null?'':__t)+
'">\r\n    '+
((__t=( f.renderBlock("table")  ))==null?'':__t)+
'\r\n</div>';
}
return __p;
}
window.renderBlocks['pages-client.watchClient.requests'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('clientsRequests') ))==null?'':__t)+
'">\r\n '+
((__t=( data._id && f.renderBlock("table",{
        pref:'table',
        params:{
            params:{
                cl_id: data._id
            }
        },
        limit:10,
        list:'request_list',
        command:'client.getList',
        columns:[
            {
                title: 'Статус',
                key:'status',
                col_class:'column07',
                type:'status',
                options:{
                    'class_name':'RQStatus',
                    'alias':{
                        '':['Новый', 'bagePositive'],
                        'Canceled':['Отменен', 'bageError' ],
                        'Completed':['Завершен','bage'],
                        'Confirmed':['Подтвержден','bageAccent']
                    }
                }
            },
            {
                title: 'Запрос',
                key:'title',
                col_class:'column02',
                type:'title'

            },
            {
                title: 'Клиент',
                key:'client',
                col_class:'column05',
                type:'client'
            },
            {
                title: 'Дата и время',
                key:'created_at',
                col_class:'column04',
                type:'datetime',
                options:{
                    format:'D MMMM YYYY'
                }
            },
            {
                title: 'ID',
                key:'_id',
                col_class:'column05',
                type:'id'
            },
        ]
    })  ))==null?'':__t)+
'\r\n</div>';
}
return __p;
}
window.renderBlocks['pages-clients'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('requests__head', 'requestsHead') ))==null?'':__t)+
'">\r\n    \r\n    <div class="'+
((__t=( f.getClass('requestsHead__requestsList') ))==null?'':__t)+
'">\r\n        <h1 class="'+
((__t=( f.getClass('requests__title', 'textH2', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n            <a class="'+
((__t=( f.getClass('resetLink') ))==null?'':__t)+
'" href="/">\r\n                Клиенты\r\n            </a>\r\n        </h1>\r\n        <div class="'+
((__t=( f.getClass('requests__search') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock("search")  ))==null?'':__t)+
'\r\n        </div>\r\n        <a href="/clients/add" class="'+
((__t=( f.getClass('btnAgree') ))==null?'':__t)+
'">\r\n            Добавить\r\n        </a>\r\n    </div>\r\n</div>\r\n\r\n<div class="'+
((__t=( f.getClass('requests__main') ))==null?'':__t)+
'">\r\n    '+
((__t=( f.renderBlock("table",{
        pref:'table',
        params:{
       
        },
        limit:10,
        list:'client_entity',
        command:'client.getList',
        columns:[
            {
                title: 'ID',
                key:'_id',
                col_class:'column07',
                type:'id'
            },
            {
                title: 'Клиент',
                col_class:'column02',
                type:'client'
            },
            {
                title: 'Запросы',
                key:'total_request_count',
                col_class:'column09',
                type:'id'
            },
                   {
                title: 'Счета',
                key:'total_invoice_count',
                col_class:'column09',
                type:'id'
            },
            {
                title: 'Тариф',
                key:'card_name',
                col_class:'column07',
                type:'id'
            },            
            {
                title: 'Подписка',
                key:'finished_at',
                col_class:'column04',
                type:'datetime',
                options:{
                    format:'D MMMM YYYY'
                }
            },
        ]
    })  ))==null?'':__t)+
'\r\n</div>\r\n';
}
return __p;
}
window.renderBlocks['pages-editor'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('partners__head') ))==null?'':__t)+
'">\r\n    <h1 class="'+
((__t=( f.getClass('partners__title', 'textH2', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n        <a class="'+
((__t=( f.getClass('resetLink') ))==null?'':__t)+
'" href="/">\r\n            Редактор\r\n        </a>\r\n    </h1>\r\n</div>\r\n<div class="'+
((__t=( f.getClass('partners__scrollContainer') ))==null?'':__t)+
' editorPositionScroll">\r\n    <div class="'+
((__t=( f.getClass('partners__scroll') ))==null?'':__t)+
'">\r\n        '+
((__t=( f.renderBlock('builder.blocks',{
                blocks: [{"options":{"entities":[]},"value":"Обычный текст","type":"text"},{"type":"header1","value":"Заголовок 1","options":{"entities":[]}},{"type":"header2","value":"Заголовок 2","options":{"entities":[]}},{"type":"header3","value":"Заголовок 3","options":{"entities":[]}},{"type":"list","value":"Список","options":{"entities":[],"level":0}},{"type":"list","value":"список 1","options":{"level":0,"entities":[]}},{"type":"list","value":"список 2","options":{"level":1,"entities":[]}},{"type":"list","value":"список 3","options":{"level":2,"entities":[]}},{"type":"list","value":"список 2","options":{"level":1,"entities":[]}},{"type":"text","value":"","options":{"level":1}},{"type":"highlight","value":"Выделенный  блок ","options":{"entities":[]}},{"type":"text","value":"","options":{}},{"type":"photo","value":{"ready":true,"_uv":"859","options":{"size":1604605},"filename":"image/FILE-1281A1A1_b5d91cb688ce8317acd0425ab72f2a0e7f084517d85314e6784264f25b135dd5.jpeg","medium_filename":"thumbnails/1024/FILE-1281A1A1_b5d91cb688ce8317acd0425ab72f2a0e7f084517d85314e6784264f25b135dd5.jpeg","small_filename":"thumbnails/512/FILE-1281A1A1_b5d91cb688ce8317acd0425ab72f2a0e7f084517d85314e6784264f25b135dd5.jpeg","prefix":"ART","pin":0,"content_type":"image/jpeg","status":96,"_id":"FILE-1281A1A1","_took":23,"loaded":true},"options":{}},{"type":"video","value":{"ready":true,"_uv":"467","options":{"size":6384527,"duration":4620.9980000000005,"filename":"Мяч02.mp4"},"filename":"video/FILE-1282A1A1_8a4b3b9182174b8ccbca4778426548e03b83f42a2d5eea3d95fc1ad965cd1001.mp4","prefix":"ART","pin":0,"content_type":"video/mp4","status":32,"_id":"FILE-1282A1A1","_took":24,"loaded":true},"options":{}},{"type":"audio","value":{"ready":true,"_uv":"932","options":{"size":10944,"duration":648,"filename":"call_connected_070518_01.mp3"},"filename":"other/FILE-1196A2A1_58892dd0ee18d7d9f32551dc43fa027350dbd66205399f3a9a8fb1e4d4233750.mp3","prefix":"ART","pin":0,"content_type":"audio/mpeg","status":32,"_id":"FILE-1196A2A1","_took":21,"loaded":true},"options":{}},{"value":{"prefix":"ART","_id":"FILE-1279A5A1","status":32,"options":{"size":48940922,"filename":"mame.zip"},"filename":"other/FILE-1279A5A1_3da661ae60f799893e0c296b880dbb6a16104caae076677f9c9343d9e31203c1.false","bucket":"udeu","content_type":"application/x-zip-compressed"},"options":{},"type":"file"},{"type":"builtInPDF","value":{"ready":true,"_uv":"136","options":{"size":384621,"filename":"1 вариант.pdf"},"filename":"other/FILE-1283A1A1_92a9792cc7dec517b98da94ae1b5075918229cbcaf739a68c43dd30bd0343cd0.pdf","prefix":"ART","pin":0,"content_type":"application/pdf","status":32,"_id":"FILE-1283A1A1","_took":22,"loaded":true},"options":{}},{"type":"text","value":"","options":{}}],
                path: `description_blocks`,
                name: 'description_blocks',
                scrollClass: 'editorPositionScroll',
            })
        ))==null?'':__t)+
'\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['pages-event'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+=''+
((__t=( f.renderBlock('eventList') ))==null?'':__t)+
'';
}
return __p;
}
window.renderBlocks['pages-events.createModal'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';
 if (data.show) { 
__p+='\r\n    <div class="'+
((__t=( f.getClass('modal') ))==null?'':__t)+
' scrollBar">\r\n        <div class="'+
((__t=( f.getClass('modal__container') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('modal__head') ))==null?'':__t)+
'">\r\n                <h2 class="'+
((__t=( f.getClass('modal__title') ))==null?'':__t)+
'">\r\n                    Создать мероприятие\r\n                </h2>\r\n                <button '+
((__t=( e.click('hide') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'modal__close') ))==null?'':__t)+
'" style="width: 24px; height: 24px; min-width: 24px;">\r\n                    '+
((__t=( f.renderBlock('icons.i_x') ))==null?'':__t)+
'\r\n                </button>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('modal__info', 'textL', 'ColorTextSec') ))==null?'':__t)+
'">\r\n                <p class="'+
((__t=( f.getClass('modal__text', 'textL', 'ColorTextSec') ))==null?'':__t)+
'">\r\n                    Введите название мерприятия, позже вы можете его изменить.\r\n                </p>\r\n                <p class="'+
((__t=( f.getClass('modal__text', 'textL', 'ColorTextSec') ))==null?'':__t)+
'">\r\n                    <input class="'+
((__t=( f.getClass('input-block__field') ))==null?'':__t)+
'" type="text" minlength="4" required '+
((__t=( e.ref('input') ))==null?'':__t)+
'>\r\n                </p>\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('modal__btnContainer') ))==null?'':__t)+
'">\r\n                <button '+
((__t=( e.click('cancel') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnDanger') ))==null?'':__t)+
'">\r\n                    Отмена\r\n                </button>\r\n                <button '+
((__t=( e.click('success') ))==null?'':__t)+
'  class="'+
((__t=( f.getClass('btnAgree') ))==null?'':__t)+
'">\r\n                    Создать\r\n                </button>\r\n            </div>\r\n        </div>\r\n    </div>\r\n';
 } 
__p+='';
}
return __p;
}
window.renderBlocks['pages-events.edit'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';
 if (data.loaded){ 
__p+='\r\n    <div class="'+
((__t=( f.getClass('ivent__head', 'iventHead') ))==null?'':__t)+
'">\r\n        \r\n        <div class="'+
((__t=( f.getClass('iventHead__eventList') ))==null?'':__t)+
'">\r\n            \r\n            <a class="'+
((__t=( f.getClass('resetLink', 'editIventHead') ))==null?'':__t)+
'" href="'+
((__t=( (data._id != 'new') ? `/events/${data._id}?mode=${data.mode}` : '/events' ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('editIventHead__img') ))==null?'':__t)+
'" style="height: 24px; width: 24px; min-width: 24px;">\r\n                    '+
((__t=( f.renderBlock('icons.i_chevron-left') ))==null?'':__t)+
'\r\n                </div>\r\n                <h1 class="'+
((__t=( f.getClass('editIventHead__title', 'textH2', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                    '+
((__t=( data.event._id ? 'Редактирование мероприятия' : 'Создание нового мероприятия' ))==null?'':__t)+
'\r\n                </h1>\r\n            </a>\r\n        </div>\r\n        ';
 if (!data.event.external) { 
__p+='\r\n            <div class="'+
((__t=( f.getClass('ivent__tab') ))==null?'':__t)+
'">\r\n                '+
((__t=( f.renderBlock('tab', {
                    name:'EventEditMode',
                    selected: data.mode || 'information',
                    items:[
                        {title:'Информация',value:'information'},
                        {title:'Программа',value:'program'},
                        {title:'Сервисы',value:'services'},
                        {title:'Партнеры',value:'partners'},
                    ]
                }) ))==null?'':__t)+
'\r\n            </div>\r\n        ';
 } 
__p+='\r\n        \r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('ivent__main') ))==null?'':__t)+
'">\r\n        ';
 if (data.mode === 'information') { 
__p+='\r\n            \r\n            '+
((__t=( f.renderBlock('eventList.editEvent', {
                event: data.event, 
                published: data.event.published, 
                removed: data.event.removed, 
                categories: data.categories, 
                services: data.services,  
                description_mode: data.description_mode,
                _id: data.event._id,
                pref: 'validInformation',

            }) ))==null?'':__t)+
'\r\n        ';
 } else if (data.mode == 'program'){ 
__p+='\r\n            '+
((__t=( f.renderBlock('eventList.editProgram', {
                items: data.event.items, 
                programm:0, 
                title: data.event.title,
                started_at: data.event.started_at,
                finished_at: data.event.finished_at,
                published: data.event.published, removed: data.event.removed,
                _id: data.event._id, 
                pref: 'validProgram',
            }) ))==null?'':__t)+
'\r\n        ';
 } else if (data.mode == 'services'){ 
__p+='\r\n            '+
((__t=( f.renderBlock('eventList.editServices', {
                services: data.event.services,
                _id: data.event._id,
                published: data.event.published,
                removed: data.event.removed,
                pref: 'validServices',
            }) ))==null?'':__t)+
'\r\n        ';
 } else if (data.mode == 'partners'){ 
__p+='\r\n            '+
((__t=( f.renderBlock('eventList.editPartners', {
                partners: data.partners, 
                _id: data.event._id, 
                published: data.event.published, 
                removed: data.event.removed,
                pref: 'validPartners',
            }) ))==null?'':__t)+
'\r\n        ';
 } 
__p+='\r\n    </div>\r\n\r\n';
 } else { 
__p+='\r\n    <div class="'+
((__t=( f.getClass('loadContainer') ))==null?'':__t)+
'">\r\n        '+
((__t=( f.renderBlock('loaderBarTwo') ))==null?'':__t)+
'\r\n    </div>\r\n';
 } 
__p+='\r\n\r\n'+
((__t=( f.renderBlock('eventList.eventModal') ))==null?'':__t)+
'\r\n'+
((__t=( f.renderBlock('modalUniversal.modalAgree',{pref:'modal'}) ))==null?'':__t)+
'';
}
return __p;
}
window.renderBlocks['pages-events'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('requests__head', 'requestsHead') ))==null?'':__t)+
'">\r\n    \r\n    <div class="'+
((__t=( f.getClass('requestsHead__requestsList') ))==null?'':__t)+
'">\r\n        <h1 class="'+
((__t=( f.getClass('requests__title', 'textH2', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n            Мероприятия\r\n        </h1>\r\n        <div class="'+
((__t=( f.getClass('requests__search') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock("search")  ))==null?'':__t)+
'\r\n        </div>\r\n        <button '+
((__t=( e.click('createEvent') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnAgree') ))==null?'':__t)+
'">\r\n            Добавить\r\n        </button>\r\n    </div>\r\n\r\n    <div class="'+
((__t=( f.getClass('requests__tab') ))==null?'':__t)+
'">\r\n        '+
((__t=( f.renderBlock('tab', {
            name:'_mode',
            selected: query.type || 'published',
            items:[
                {title:'Опубликованные', value:'published'},
                {title:'Черновики', value:'removed'}
            ]
        }) ))==null?'':__t)+
'\r\n\r\n        '+
((__t=( f.renderBlock('tab', {
            name:'_filter',
            selected: query.filter || 'current',
            items:[
                {title:'Все', value:'all'},
                {title:'Актуальные', value:'current'},
            ]
        }) ))==null?'':__t)+
'\r\n    </div>\r\n    \r\n</div>\r\n';

    const params = {
        sorting: [
            { 
                field: 'finished_at', 
                order: 'desc' 
            },
        ],
        params:{
            removed: false,
            external: true
        }
    };

    if (query.type == 'removed'){
        params.params.removed = true;
    }

    if (query.filter == 'current' || query.filter == void 0){
        params.params.finished = true;
    }





    ///query.type === 'new'


__p+='  \r\n\r\n<div class="'+
((__t=( f.getClass('requests__main') ))==null?'':__t)+
'">\r\n    '+
((__t=( f.renderBlock("table",{
        pref:'table',
        params:{
            ...params
        },
        limit:10,
        list:'event_view',
        command:'event.getList',
        columns:[
            {
                title: 'ID',
                key:'_id',
                col_class:'column01',
                type:'id'
            },{
                title: 'Название',
                key:'title',
                col_class:'column02',
                type:'title'
            }, 
            {
                title: 'Опубликовано',
                col_class:'column07',
                type:'bool',
                options:{
                    'condidtion':'data.value.published', 
                    locale:['Да','Нет']
                }
            },
            {
                title: 'Место',
                key:'city',
                col_class:'column04',
                type:'short_text'

            },{
                title: 'Начало',
               key:'started_at',
                col_class:'column04',
                type:'datetime',
                options:{
                    format:'D MMMM YYYY'
                }
            },{
                title: 'Заканчивается',
               key:'finished_at',
                col_class:'column04',
                type:'datetime',
                options:{
                    format:'D MMMM YYYY'
                }
            }
        ]
    })  ))==null?'':__t)+
'\r\n</div>\r\n\r\n'+
((__t=( f.renderBlock("pages-events.createModal",{pref:'add_event'}) ))==null?'':__t)+
'';
}
return __p;
}
window.renderBlocks['pages-events.item'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';
 if (data.loaded){ 
__p+='\r\n    <div class="'+
((__t=( f.getClass('ivent') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('ivent__head', 'iventHead') ))==null?'':__t)+
'">\r\n            \r\n            <div class="'+
((__t=( f.getClass('iventHead__eventList') ))==null?'':__t)+
'">\r\n                <a class="'+
((__t=( f.getClass('resetLink', 'iventForumHead') ))==null?'':__t)+
'" href="/events">\r\n                    <div class="'+
((__t=( f.getClass('iventForumHead__btnImg') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                        '+
((__t=( f.renderBlock('icons.i_chevron-left') ))==null?'':__t)+
'\r\n                    </div>\r\n                    <div class="'+
((__t=( f.getClass('iventForumHead__avatar') ))==null?'':__t)+
'" style="width: 48px; min-width: 48px; height: 48px;">\r\n                        <img class="'+
((__t=( f.getClass('iventForumHead__img') ))==null?'':__t)+
'" src="'+
((__t=( utils.makeImageUrl(data.event.logo) ))==null?'':__t)+
'" alt="" aria-hidden="true" style="width: 100%;">\r\n                    </div>\r\n                    <div class="'+
((__t=( f.getClass('iventForumHead__container') ))==null?'':__t)+
'">\r\n                        <h1 class="'+
((__t=( f.getClass('iventForumHead__title', 'textLB', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                            '+
((__t=( data.event.title ))==null?'':__t)+
'\r\n                        </h1>\r\n                        <span class="'+
((__t=( f.getClass('iventForumHead__dates', 'textL', 'dark500base') ))==null?'':__t)+
'">\r\n                            \r\n                            <time class="'+
((__t=( f.getClass('iventForumHead__date', 'textL', 'dark500base') ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(data.started_at).locale(context.locale).format('YYYY-MM-DDTHH:mm') ))==null?'':__t)+
'">\r\n                                '+
((__t=( utils.moment(data.started_at).locale(context.locale).format('D MMMM') ))==null?'':__t)+
'\r\n                            </time>\r\n                            -\r\n                            <time class="'+
((__t=( f.getClass('iventForumHead__date', 'textL', 'dark500base') ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(data.finished_at).locale(context.locale).format('YYYY-MM-DDTHH:mm') ))==null?'':__t)+
'">\r\n                                '+
((__t=( utils.moment(data.finished_at).locale(context.locale).format('D MMMM') ))==null?'':__t)+
',\r\n                            </time>\r\n                            '+
((__t=( data.event.city ))==null?'':__t)+
'\r\n                        </span>\r\n                    </div>\r\n                </a>\r\n                ';
 if (data.event.published || data.published) { 
__p+='\r\n                    <button '+
((__t=( e.click('unpublish') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnCencel') ))==null?'':__t)+
'">\r\n                        Снять с публикации\r\n                    </button>\r\n                ';
 } else { 
__p+='\r\n                    <a class="'+
((__t=( f.getClass('resetLink', 'btnAgreeLight') ))==null?'':__t)+
'" href="/events/'+
((__t=( data._id ))==null?'':__t)+
'/edit?mode='+
((__t=(data.mode))==null?'':__t)+
'">\r\n                        Редактировать\r\n                    </a>\r\n                ';
 } 
__p+='\r\n            </div>\r\n            ';
 if (!data.event.external) { 
__p+='\r\n                <div class="'+
((__t=( f.getClass('ivent__tab') ))==null?'':__t)+
'">\r\n                    '+
((__t=( f.renderBlock('tab', {
                        name:'EventMode',
                        selected: data.mode || 'information',
                        items:[
                            {title:'Информация',value:'information'},
                            {title:'Программа',value:'program'},
                            {title:'Сервисы',value:'services'},
                            {title:'Партнеры',value:'partners'},
                        ]
                    }) ))==null?'':__t)+
'\r\n                </div>\r\n            ';
 } 
__p+='\r\n            \r\n\r\n        </div>\r\n        <div class="'+
((__t=( f.getClass('ivent__main') ))==null?'':__t)+
'">\r\n            \r\n            \r\n            \r\n            \r\n            \r\n\r\n            \r\n            \r\n            \r\n            \r\n            ';
 if (data.mode === 'information') { 
__p+='\r\n                '+
((__t=( f.renderBlock('eventList.event', data) ))==null?'':__t)+
'\r\n            ';
 } else if (data.mode == 'program'){ 
__p+='\r\n                '+
((__t=( f.renderBlock('eventList.program', {
                    items: data.event.items, 
                    programm:0, 
                    title:data.event.title,
                    started_at: data.event.started_at,
                    finished_at: data.event.finished_at,
                }) ))==null?'':__t)+
'\r\n            ';
 } else if (data.mode == 'services'){ 
__p+='\r\n                '+
((__t=( f.renderBlock('eventList.services', {services: data.event.services}) ))==null?'':__t)+
'\r\n            ';
 } else if (data.mode == 'partners'){ 
__p+='\r\n                '+
((__t=( f.renderBlock('eventList.partners', {partners: data.partners}) ))==null?'':__t)+
'\r\n            ';
 } 
__p+='\r\n        </div>\r\n    </div>\r\n';
 } else { 
__p+='\r\n    <div class="'+
((__t=( f.getClass('loadContainer') ))==null?'':__t)+
'">\r\n        '+
((__t=( f.renderBlock('loaderBarTwo') ))==null?'':__t)+
'\r\n    </div>\r\n';
 } 
__p+='\r\n\r\n'+
((__t=( f.renderBlock("eventList.eventModal") ))==null?'':__t)+
'';
}
return __p;
}
window.renderBlocks['pages-icons'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('scroll') ))==null?'':__t)+
'">\r\n  <div class="'+
((__t=( f.getClass('resetList', 'scroll__container') ))==null?'':__t)+
'">\r\n    <h1>\r\n      Нажми для копирования в буфер\r\n    </h1>\r\n    <ul class="'+
((__t=( f.getClass('resetList', 'list') ))==null?'':__t)+
'">\r\n      ';
 for (let index = 0; index < data.names.length; index++) { 
        const name = data.names[index]; 
__p+='\r\n          <li class="'+
((__t=( f.getClass('item') ))==null?'':__t)+
'">\r\n            <button '+
((__t=( e.click('copyBuffer', `icons.phosphor.icons.${name}`) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'btn') ))==null?'':__t)+
'">\r\n              <div class="'+
((__t=( f.getClass('imgContainer') ))==null?'':__t)+
'" style="min-width: 24px; width: 24px; height: 24px;">\r\n                '+
((__t=( f.renderBlock(`icons.phosphor.icons.${name}`) ))==null?'':__t)+
'\r\n              </div>\r\n              icons.phosphor.icons.'+
((__t=( name ))==null?'':__t)+
'\r\n            </button>\r\n          </li>\r\n        ';
 } 
__p+='\r\n    </ul>\r\n  </div>\r\n</div>\r\n\r\n\r\n'+
((__t=( JSON.stringify(data.names) ))==null?'':__t)+
'';
}
return __p;
}
window.renderBlocks['pages-index'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';
  if (!context.token){ 
__p+='\r\n    '+
((__t=( f.renderBlock('authorization.login') ))==null?'':__t)+
'\r\n';
 } else { 
__p+='\r\n    ';
 if (data.ready){ 
__p+='\r\n        <div class="'+
((__t=( f.getClass('wrapper') ))==null?'':__t)+
'">\r\n            \r\n\r\n            '+
((__t=( f.renderBlock('menu') ))==null?'':__t)+
'\r\n\r\n\r\n            \r\n\r\n            \r\n            <main class="'+
((__t=( f.getClass('mainContent') ))==null?'':__t)+
'">\r\n\r\n                \r\n                    \r\n                    \r\n                \r\n                    \r\n                        \r\n                        \r\n                \r\n                    \r\n                        \r\n                        \r\n                            \r\n                            \r\n                            \r\n                \r\n                    \r\n                        \r\n                        \r\n                        \r\n                        \r\n\r\n                        \r\n                        \r\n                        \r\n                        \r\n                \r\n                    \r\n                \r\n\r\n                '+
((__t=( f.renderInnerPortal('org') ))==null?'':__t)+
'\r\n            \r\n                \r\n\r\n                \r\n\r\n            </main>\r\n            \r\n        </div>\r\n    ';
 } else { 
__p+='\r\n        <div class="'+
((__t=( f.getClass('fullWrapper') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock('loaderBarTwo') ))==null?'':__t)+
'\r\n        </div>\r\n    ';
 } 
__p+='\r\n';
 } 
__p+='\r\n'+
((__t=( f.renderBlock('notificationList') ))==null?'':__t)+
'\r\n\r\n\r\n\r\n<!-- Приоритеты:\r\nАвторизация - есть\r\nНовости (просмотр / добавления) - есть\r\nДобавление клиента - есть\r\nДобавление оператора - есть?\r\nДобавление Мероприятия - \r\nЧаты -->';
}
return __p;
}
window.renderBlocks['pages-news.edit'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';
 if ( data.loaded ) { 
__p+='\r\n    <div class="'+
((__t=( f.getClass('newsmain__head') ))==null?'':__t)+
'">\r\n        <a href="/news'+
((__t=( data._id != 'new' ? '/' + data._id : '' ))==null?'':__t)+
'" class="'+
((__t=( f.getClass('resetBtn', 'newsmain__btn') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('newsmain__img') ))==null?'':__t)+
'" style="height: 24px; width: 24px; min-width: 24px;">\r\n                 '+
((__t=( f.renderBlock('icons.i_chevron-left') ))==null?'':__t)+
'\r\n            </div>\r\n            <h1 class="'+
((__t=( f.getClass('newsmain__title', 'textH2', 'colorTextP') ))==null?'':__t)+
'">\r\n                Редактировать новость\r\n            </h1>\r\n        </a>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('newsmain__main') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('newsEdit') ))==null?'':__t)+
'">\r\n            \r\n            <div class="'+
((__t=( f.getClass('newsEdit__scroll') ))==null?'':__t)+
' scrollBar">\r\n                <div class="'+
((__t=( f.getClass('newsEdit__content') ))==null?'':__t)+
'">\r\n                    <label class="'+
((__t=( f.getClass('newsEdit__item') ))==null?'':__t)+
'">\r\n                        <h2 class="'+
((__t=( f.getClass('newsEdit__subtitle') ))==null?'':__t)+
'">\r\n                            Категория\r\n                        </h2>\r\n                        <div class="'+
((__t=( f.getClass('newsEdit__select') ))==null?'':__t)+
'">\r\n                            '+
((__t=( f.renderBlock('select_50',{
                                key:'Category',
                                default:'media',
                                selected: data.category_id,
                                items: data.categories.map(c => {
                                    return {name: c.title ,value:c._id}
                                })
                            }) ))==null?'':__t)+
'\r\n                        </div>\r\n                    </label>\r\n                    <div class="'+
((__t=( f.getClass('newsEdit__item') ))==null?'':__t)+
'">\r\n                        <h2 class="'+
((__t=( f.getClass('newsEdit__subtitle') ))==null?'':__t)+
'">\r\n                            Заголовок\r\n                        </h2>\r\n                        <textarea required minlength="1" '+
((__t=( e.on('input', 'changeText', 'title') ))==null?'':__t)+
' required class="'+
((__t=( f.getClass('newsEdit__input', 'input48') ))==null?'':__t)+
'" placeholder="Введите текст">'+
((__t=( data.title ))==null?'':__t)+
'</textarea>\r\n                    </div>\r\n                    \r\n                    '+
((__t=( f.renderBlock('pages-news.edit.preview',{
                        img:data.img,
                        pref:'preview'
                    }) ))==null?'':__t)+
'\r\n\r\n                    <div class="'+
((__t=( f.getClass('newsEdit__item') ))==null?'':__t)+
'">\r\n                        <h2 class="'+
((__t=( f.getClass('newsEdit__subtitle') ))==null?'':__t)+
'">\r\n                            Подзаголовок\r\n                        </h2>\r\n                        <textarea required minlength="1" '+
((__t=( e.on('input','changeText', 'subtitle') ))==null?'':__t)+
' required class="'+
((__t=( f.getClass('newsEdit__input', 'input48') ))==null?'':__t)+
'" placeholder="Введите текст">'+
((__t=( data.subtitle ))==null?'':__t)+
'</textarea>\r\n                    </div>\r\n                    <div class="'+
((__t=( f.getClass('newsEdit__item') ))==null?'':__t)+
'">\r\n                        <h2 class="'+
((__t=( f.getClass('newsEdit__subtitle') ))==null?'':__t)+
'">\r\n                            Текст новости\r\n                        </h2>\r\n                        <textarea required minlength="1" '+
((__t=( e.on('input','changeText', 'text') ))==null?'':__t)+
' required class="'+
((__t=( f.getClass('newsEdit__inputBig', 'input48') ))==null?'':__t)+
'" placeholder="Введите текст">'+
((__t=( data.text ))==null?'':__t)+
'</textarea>\r\n                    </div>\r\n                </div>\r\n            </div>\r\n\r\n\r\n            <div class="'+
((__t=( f.getClass('newsEdit__menu', 'newsEditMenu') ))==null?'':__t)+
'">\r\n                \r\n                ';
 if (!NEWSStatus.prototype.isPublished(data.status)) { 
__p+='\r\n                    <button '+
((__t=( e.click('remove') ))==null?'':__t)+
'  '+
((__t=( data._id === 'new' && 'disabled' ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btn-danger') ))==null?'':__t)+
'">\r\n                        Удалить\r\n                    </button>\r\n                 ';
 } else { 
__p+='\r\n                    <div></div>\r\n                 ';
 } 
__p+='\r\n\r\n\r\n                <ul class="'+
((__t=( f.getClass('resetList', 'newsEditMenu__list') ))==null?'':__t)+
'">\r\n                    <li class="'+
((__t=( f.getClass('newsEditMenu__item') ))==null?'':__t)+
'">\r\n\r\n\r\n\r\n                        \r\n                    </li>\r\n                    <li class="'+
((__t=( f.getClass('newsEditMenu__item') ))==null?'':__t)+
'">\r\n                        ';
 if (NEWSStatus.prototype.isPublished(data.status)) { 
__p+='\r\n                            <button '+
((__t=( e.click('unpublish') ))==null?'':__t)+
' '+
((__t=( data._id === 'new' && 'disabled' ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btn-cancel') ))==null?'':__t)+
'">\r\n                                Снять с публикации\r\n                            </button>\r\n                        ';
 } 
__p+='\r\n                    </li>\r\n                    <li class="'+
((__t=( f.getClass('newsEditMenu__item') ))==null?'':__t)+
'">\r\n                \r\n                    </li>\r\n                    <li class="'+
((__t=( f.getClass('newsEditMenu__item') ))==null?'':__t)+
'">\r\n                        ';
 if (!NEWSStatus.prototype.isPublished(data.status)) { 
__p+='\r\n                            <button '+
((__t=( e.click('makaDate') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btn-agree') ))==null?'':__t)+
'">\r\n                                Сохранить\r\n                            </button>\r\n                        ';
 } 
__p+='\r\n                    </li>\r\n                    <li class="'+
((__t=( f.getClass('newsEditMenu__item') ))==null?'':__t)+
'">\r\n                        ';
 if (!NEWSStatus.prototype.isPublished(data.status)) { 
__p+='\r\n                            <button  '+
((__t=( e.click('publish') ))==null?'':__t)+
' '+
((__t=( data._id === 'new' && 'disabled' ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btn-agree') ))==null?'':__t)+
'">\r\n                                Опубликовать\r\n                            </button>\r\n                        ';
 } 
__p+='\r\n                    </li>\r\n                </ul>\r\n            </div>\r\n        </div>\r\n    </div>\r\n';
 } else { 
__p+='\r\n    <div class="'+
((__t=( f.getClass('loadContainer') ))==null?'':__t)+
'">\r\n        '+
((__t=( f.renderBlock('loaderBarTwo') ))==null?'':__t)+
'\r\n    </div>\r\n';
 } 
__p+='\r\n'+
((__t=( f.renderBlock('modalUniversal.modalAgree',{pref:'modal'}) ))==null?'':__t)+
'';
}
return __p;
}
window.renderBlocks['pages-news.edit.preview'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='    <h2 class="'+
((__t=( f.getClass('newsEdit__subtitle') ))==null?'':__t)+
'">\r\n        Обложка\r\n    </h2>\r\n    \r\n    ';
 if (data.img !== undefined) {  
__p+='\r\n        <div class="'+
((__t=( f.getClass('newsEdit__imgContainer') ))==null?'':__t)+
'">\r\n            <img class="'+
((__t=( f.getClass('newsEdit__imgContainer') ))==null?'':__t)+
'" src="'+
((__t=( utils.makeImageUrl(data.img) ))==null?'':__t)+
'" style="max-width: 574px; max-height: 500px;">\r\n        </div>\r\n    ';
 } 
__p+='\r\n\r\n    <div class="'+
((__t=( f.getClass('newsEdit__btns') ))==null?'':__t)+
'">\r\n        ';
 if (data.img) {  
__p+='\r\n            <button '+
((__t=( e.click('recrop')))==null?'':__t)+
'  class="'+
((__t=( f.getClass('btn-agree') ))==null?'':__t)+
'">\r\n                Изменить\r\n            </button>\r\n            <button '+
((__t=( e.click('remove')))==null?'':__t)+
'  class="'+
((__t=( f.getClass('btn-danger-empty') ))==null?'':__t)+
'">\r\n                Удалить\r\n            </button>\r\n        ';
 } else { 
__p+='\r\n            <button '+
((__t=( e.click('change')))==null?'':__t)+
' class="'+
((__t=( f.getClass('btn-agree') ))==null?'':__t)+
'">\r\n                Загрузить\r\n            </button>\r\n        ';
 } 
__p+='\r\n    </div>\r\n\r\n<input accept="image/jpeg,image/png"  '+
((__t=( e.on('change','avatarChange') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('fileInput') ))==null?'':__t)+
'" type="file" />\r\n\r\n'+
((__t=( f.renderEmptyBlock("ImageCropper",{
    title:'Изображение профиля',
    subtitle:'Рекомендуемый размер изображения 300х300'
}) ))==null?'':__t)+
'\r\n';
}
return __p;
}
window.renderBlocks['pages-news.item'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';
 if ( data.loaded ) { 
__p+='\r\n    <div class="'+
((__t=( f.getClass('newsmain__head') ))==null?'':__t)+
'">\r\n        <a href="/news" class="'+
((__t=( f.getClass('resetBtn', 'newsmain__btn') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('newsmain__img') ))==null?'':__t)+
'" style="height: 24px; width: 24px; min-width: 24px;">\r\n                '+
((__t=( f.renderBlock('icons.i_chevron-left') ))==null?'':__t)+
'\r\n            </div>\r\n            <h1 class="'+
((__t=( f.getClass('newsmain__title', 'textH2', 'colorTextP') ))==null?'':__t)+
'">\r\n                Новость\r\n            </h1>\r\n        </a>\r\n        <div class="'+
((__t=( f.getClass('newsmain__container') ))==null?'':__t)+
'">\r\n            ';
 if(NEWSStatus.prototype.isPublished(data.status)) { 
__p+='\r\n                <button '+
((__t=( e.click('unpublish') ))==null?'':__t)+
' '+
((__t=( data._id === 'new' && 'disabled' ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btn-cancel') ))==null?'':__t)+
'">\r\n                    Снять с публикации\r\n                </button>\r\n            ';
 } else { 
__p+='\r\n                <a href="/news/'+
((__t=( data._id ))==null?'':__t)+
'/edit" class="'+
((__t=( f.getClass('btn-change') ))==null?'':__t)+
'">\r\n                    Редактировать\r\n                </a>\r\n            ';
 } 
__p+='\r\n        </div>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('newsmain__main') ))==null?'':__t)+
'">\r\n\r\n        <div class="'+
((__t=( f.getClass('news') ))==null?'':__t)+
'">\r\n\r\n\r\n            <div class="'+
((__t=( f.getClass('news__scroll') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('news__content') ))==null?'':__t)+
'">\r\n                    <h2 class="'+
((__t=( f.getClass('news__title') ))==null?'':__t)+
'">\r\n                        '+
((__t=( data.title ))==null?'':__t)+
'\r\n                    </h2>\r\n                    <div class="'+
((__t=( f.getClass('news__imgContainer') ))==null?'':__t)+
'">\r\n                        <img class="'+
((__t=( f.getClass('news__img') ))==null?'':__t)+
'" src="'+
((__t=( utils.makeImageUrl(data.img) ))==null?'':__t)+
'" alt="" style="max-width: 768px; max-height: 884px;">\r\n                    </div>\r\n                    <div class="'+
((__t=( f.getClass('news__container') ))==null?'':__t)+
'">\r\n                        ';
 for (let index = 0; index < data.paragraphs.length; index++) {
                            const p =  data.paragraphs[index]; 
__p+='\r\n                            <p class="'+
((__t=( f.getClass('news__text') ))==null?'':__t)+
'">\r\n                            '+
((__t=(p ))==null?'':__t)+
'\r\n                            </p>             \r\n                        ';
 } 
__p+='\r\n                    </div>\r\n                </div>\r\n            </div>\r\n            \r\n            <div class="'+
((__t=( f.getClass('news__menu', 'newsMenu') ))==null?'':__t)+
' scrollBar">\r\n                <div class="'+
((__t=( f.getClass('newsMenu__scrollContainer') ))==null?'':__t)+
'">\r\n                    <div class="'+
((__t=( f.getClass('newsMenu__main') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('newsMenu__list') ))==null?'':__t)+
'">\r\n                            <div class="'+
((__t=( f.getClass('newsMenu__item') ))==null?'':__t)+
'">\r\n                                <h3 class="'+
((__t=( f.getClass('newsMenu__subtitle') ))==null?'':__t)+
'">\r\n                                    Статус\r\n                                </h3>\r\n                                <p class="'+
((__t=( f.getClass('newsMenu__text') ))==null?'':__t)+
'">\r\n                                    ';
 if (NEWSStatus.prototype.isRemoved(data.status)) { 
__p+='\r\n                                        Удалена\r\n                                    ';
 } else if (NEWSStatus.prototype.isPublished(data.status)) { 
__p+='\r\n                                        Опубликована\r\n                                    ';
 } else { 
__p+='\r\n                                        Черновик\r\n                                    ';
 } 
__p+='\r\n                                </p>\r\n                            </div>\r\n                            <div class="'+
((__t=( f.getClass('newsMenu__item') ))==null?'':__t)+
'">\r\n                                <h3 class="'+
((__t=( f.getClass('newsMenu__subtitle') ))==null?'':__t)+
'">\r\n                                    Категория\r\n                                </h3>\r\n                                <p class="'+
((__t=( f.getClass('newsMenu__text') ))==null?'':__t)+
'">\r\n                                '+
((__t=( data.categories.find(c => c._id === data.category_id).title ))==null?'':__t)+
'\r\n                                </p>\r\n                            </div>\r\n                            <div class="'+
((__t=( f.getClass('newsMenu__item') ))==null?'':__t)+
'">\r\n                                <h3 class="'+
((__t=( f.getClass('newsMenu__subtitle') ))==null?'':__t)+
'">\r\n                                    Подзаголовок статьи\r\n                                </h3>\r\n                                <p class="'+
((__t=( f.getClass('newsMenu__text') ))==null?'':__t)+
'">\r\n                                    '+
((__t=( data.subtitle ))==null?'':__t)+
'\r\n                                </p>\r\n                            </div>\r\n                            <div class="'+
((__t=( f.getClass('newsMenu__item') ))==null?'':__t)+
'">\r\n                                <h3 class="'+
((__t=( f.getClass('newsMenu__subtitle') ))==null?'':__t)+
'">\r\n                                    Автор id\r\n                                </h3>\r\n                                <p class="'+
((__t=( f.getClass('newsMenu__text') ))==null?'':__t)+
'">\r\n                                    '+
((__t=( data.created_by ))==null?'':__t)+
'\r\n                                </p>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                    <div class="'+
((__t=( f.getClass('newsMenu__statuses') ))==null?'':__t)+
'">\r\n                        <h3 class="'+
((__t=( f.getClass('newsMenu__subtitle') ))==null?'':__t)+
'">\r\n                            Статусы\r\n                        </h3>\r\n                        <ul class="'+
((__t=( f.getClass('resetList', 'newsMenu__list') ))==null?'':__t)+
'">\r\n                            <li class="'+
((__t=( f.getClass('newsMenu__item') ))==null?'':__t)+
'">\r\n                                <h4 class="'+
((__t=( f.getClass('newsMenu__subtitle') ))==null?'':__t)+
'">\r\n                                    Дата публикации\r\n                                </h4>\r\n                                <time class="'+
((__t=( f.getClass('newsMenu__text') ))==null?'':__t)+
'" datetime="'+
((__t=( utils.moment(data.published_at).locale(context.locale).format('YYYY-MM-DDTHH:mm')))==null?'':__t)+
'">\r\n                                    '+
((__t=( utils.moment(data.published_at).locale(context.locale).format('D MMMM YYYY HH:mm')))==null?'':__t)+
'\r\n                                </time>\r\n                            </li>\r\n                            <li class="'+
((__t=( f.getClass('newsMenu__item') ))==null?'':__t)+
'">\r\n                                <h4 class="'+
((__t=( f.getClass('newsMenu__subtitle') ))==null?'':__t)+
'">\r\n                                    Создан\r\n                                </h4>\r\n                                <time class="'+
((__t=( f.getClass('newsMenu__text') ))==null?'':__t)+
'" datetime=" '+
((__t=( utils.moment(data.created_at).locale(context.locale).format('YYYY-MM-DDTHH:mm')))==null?'':__t)+
'">\r\n                                    '+
((__t=( utils.moment(data.created_at).locale(context.locale).format('D MMMM YYYY HH:mm')))==null?'':__t)+
'\r\n                                </time>\r\n                            </li>\r\n                        </ul>\r\n                    </div>\r\n                </div>\r\n            </div>\r\n        </div>\r\n\r\n    </div>\r\n';
 } else { 
__p+='\r\n    <div class="'+
((__t=( f.getClass('loadContainer') ))==null?'':__t)+
'">\r\n        '+
((__t=( f.renderBlock('loaderBarTwo') ))==null?'':__t)+
'\r\n    </div>\r\n';
 } 
__p+='\r\n';
}
return __p;
}
window.renderBlocks['pages-news'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('requests__head', 'requestsHead') ))==null?'':__t)+
'">\r\n    \r\n    <div class="'+
((__t=( f.getClass('requestsHead__requestsList') ))==null?'':__t)+
'">\r\n        <h1 class="'+
((__t=( f.getClass('requests__title', 'textH2', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n            <a class="'+
((__t=( f.getClass('resetLink') ))==null?'':__t)+
'" href="/">\r\n                Новости\r\n            </a>\r\n        </h1>\r\n        <div class="'+
((__t=( f.getClass('requests__search') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock("search")  ))==null?'':__t)+
'\r\n        </div>\r\n        <a href="/news/new/edit" class="'+
((__t=( f.getClass('resetLink', 'btnAgree') ))==null?'':__t)+
'">\r\n            Добавить\r\n        </a>\r\n    </div>\r\n</div>\r\n\r\n<div class="'+
((__t=( f.getClass('requests__main') ))==null?'':__t)+
'">\r\n    '+
((__t=( f.renderBlock("table",{
        pref:'table',
        params:{
            params: {removed_param: false},
            sorting: [
                {field: 'published_at', order: 'desc'}, {field: '_id', order: 'asc'}
            ],
        },
        limit:10,
        list:'news_view',
        command:'news.getList',
        columns:[
            {
                title: 'ID',
                key:'_id',
                col_class:'column01',
                type:'id'
            },
            {
                title: 'Статус',
                key:'status',
                col_class:'column07',
                type:'status',
                options:{
                    'class_name':'NEWSStatus',
                    'alias':{
                        '':['Черновик', 'bage'],
                        'Removed':['Удалена', 'bageError' ],
                        'Published':['Опубликована','bageAccent'],
                    }
                }
            },
            {
                title: 'Заголовок',
                key:'title',
                col_class:'column02',
                type:'title'

            },

            {
                title: 'Категория',
                key:'category_title',
                col_class:'column05',
                type:'title'

            },

            {
                title: 'Дата изменения',
                key:'created_at',
                col_class:'column04',
                type:'datetime',
                options:{
                    format:'D MMMM YYYY'
                }
            },    
               {
                title: 'Дата публикации',
                key:'published_at',
                col_class:'column04',
                type:'datetime',
                options:{
                    format:'D MMMM YYYY'
                }
            },  
        ]
    })  ))==null?'':__t)+
'\r\n</div>';
}
return __p;
}
window.renderBlocks['pages-operators.edit'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';
 if (data.loaded){ 
__p+='\r\n    <div class="'+
((__t=( f.getClass('operators__head', 'operatorsHead') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('operatorsHead__container') ))==null?'':__t)+
'">\r\n            <a href="/operators'+
((__t=( data._id != 'add' ? '/' + data._id : '' ))==null?'':__t)+
'" class="'+
((__t=( f.getClass('resetBtn', 'operatorsHead__btnBack') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('operatorsHead__imgBack') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                    '+
((__t=( f.renderBlock('icons.i_chevron-left') ))==null?'':__t)+
'\r\n                </div>\r\n                <h1 class="'+
((__t=( f.getClass('operators__title') ))==null?'':__t)+
'">\r\n                  Редактировать\r\n                </h1>\r\n            </a>\r\n    \r\n        </div>\r\n    </div>\r\n\r\n    <div class="'+
((__t=( f.getClass('operators__main') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('ivent') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('ivent__main') ))==null?'':__t)+
' scrollBar">\r\n        <div class="'+
((__t=( f.getClass('ivent__container') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('ivent__form', 'form') ))==null?'':__t)+
'" action="" method="POST">\r\n                <div class="'+
((__t=( f.getClass('ivent__section') ))==null?'':__t)+
'">\r\n                    <h2 class="'+
((__t=( f.getClass('ivent__title', 'colorPrimary', 'textLB', 'spaceBottom8') ))==null?'':__t)+
'">\r\n                        Оператор\r\n                    </h2>\r\n                    <p class="'+
((__t=( f.getClass('ivent__info', 'colorSecond', 'textM', 'spaceBottom16') ))==null?'':__t)+
'">\r\n                        Для внутреннего использования, клиент их не видит\r\n                    </p>\r\n                    <div class="'+
((__t=( f.getClass('ivent__inputs') ))==null?'':__t)+
'">\r\n                        <label class="'+
((__t=( f.getClass('inputBlock', 'textM', 'colorSecond') ))==null?'':__t)+
'">\r\n                            Имя\r\n                            <input required '+
((__t=( e.on('input','input', 'first_name') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('inputBlock__field') ))==null?'':__t)+
'" value="'+
((__t=( data.first_name ))==null?'':__t)+
'" type="text">\r\n                        </label>\r\n                        <label class="'+
((__t=( f.getClass('inputBlock', 'textM', 'colorSecond') ))==null?'':__t)+
'">\r\n                            Фамилия\r\n                            <input required '+
((__t=( e.on('input','input', 'last_name') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('inputBlock__field') ))==null?'':__t)+
'" value="'+
((__t=( data.last_name ))==null?'':__t)+
'" type="text">\r\n                        </label>\r\n                    </div>\r\n                </div>\r\n\r\n                <div class="'+
((__t=( f.getClass('ivent__section') ))==null?'':__t)+
'">\r\n                    <h2 class="'+
((__t=( f.getClass('ivent__title', 'colorPrimary', 'textLB', 'spaceBottom8') ))==null?'':__t)+
'">\r\n                        Контактная информация\r\n                    </h2>\r\n                    <p class="'+
((__t=( f.getClass('ivent__info', 'colorSecond', 'textM', 'spaceBottom16') ))==null?'':__t)+
'">\r\n                        Логином будет электронная почта\r\n                    </p>\r\n                    <div class="'+
((__t=( f.getClass('ivent__inputs') ))==null?'':__t)+
'">\r\n                        <label class="'+
((__t=( f.getClass('inputBlock', 'textM', 'colorSecond') ))==null?'':__t)+
'">\r\n                            Номер телефона\r\n                            <input required '+
((__t=( e.on('input','input', 'phone_number') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('inputBlock__field') ))==null?'':__t)+
'"value="'+
((__t=( data.phone_number ))==null?'':__t)+
'" type="tel">\r\n                        </label>\r\n                        <label class="'+
((__t=( f.getClass('inputBlock', 'textM', 'colorSecond') ))==null?'':__t)+
'">\r\n                            Электронная почта\r\n                            <input required '+
((__t=( e.on('input','input', 'email') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('inputBlock__field') ))==null?'':__t)+
'" value="'+
((__t=( data.email ))==null?'':__t)+
'" type="email">\r\n                        </label>\r\n                    </div>\r\n                </div>\r\n\r\n                ';
 if (data._id === void 0) { 
__p+='\r\n                    <div class="'+
((__t=( f.getClass('ivent__section') ))==null?'':__t)+
'">\r\n                        <h2 class="'+
((__t=( f.getClass('ivent__title', 'colorPrimary', 'textLB', 'spaceBottom8') ))==null?'':__t)+
'">\r\n                            Безопасность\r\n                        </h2>\r\n                        <div class="'+
((__t=( f.getClass('ivent__inputs', 'spaceGap16') ))==null?'':__t)+
'">\r\n                            <div class="'+
((__t=( f.getClass('ivent__btnWrapper', 'inputBlock') ))==null?'':__t)+
'">\r\n                                <label class="'+
((__t=( f.getClass('inputBlock', 'textM', 'colorSecond') ))==null?'':__t)+
'">\r\n                                    Пароль\r\n                                    <input required minlength="4" '+
((__t=( e.on('input','input', 'new_password') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('inputBlock__field') ))==null?'':__t)+
'" name="" id="" value="'+
((__t=( data.new_password ))==null?'':__t)+
'" type="text">\r\n                                </label>\r\n                                <button '+
((__t=( e.click('copy') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'ivent__btnCopy') ))==null?'':__t)+
'" style="width: 20px; height: 20px;">\r\n                                    '+
((__t=( f.renderBlock('icons.i_square-two') ))==null?'':__t)+
'\r\n                                </button>\r\n                            </div>\r\n                            <button '+
((__t=( e.click('gen') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnNeutral') ))==null?'':__t)+
'">Сгенерировать</button>\r\n                        </div>\r\n                    </div>\r\n                ';
 } 
__p+='\r\n                <div class="'+
((__t=( f.getClass('ivent__section') ))==null?'':__t)+
'">\r\n                    <div class="'+
((__t=( f.getClass('ivent__inputs') ))==null?'':__t)+
'">\r\n                        <label class="'+
((__t=( f.getClass('inputBlock', 'textM', 'colorSecond') ))==null?'':__t)+
'">\r\n                            Уровень прав\r\n                            <div class="'+
((__t=( f.getClass('inputBlock__select') ))==null?'':__t)+
'">\r\n                                '+
((__t=( f.renderBlock('select_50',{
                                    key:'AccessLevel',
                                    default: 1,
                                    selected: data.access_level,
                                    items: [
                                        {name:'Оператор',value:1},
                                        {name:'Модератор',value:2},
                                        {name:'Администратор',value:3},
                                    ]
                                }) ))==null?'':__t)+
'\r\n                            </div>\r\n                        </label>\r\n                    </div>\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('ivent__btnContainer') ))==null?'':__t)+
'">\r\n        ';
 if (USRStatus.prototype.isRemoved(data.status)){ 
__p+='\r\n           <button '+
((__t=( e.click('tryRestore') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnAgree') ))==null?'':__t)+
'">\r\n                Восстановить\r\n            </button>\r\n        ';
 } else { 
__p+='\r\n            <button '+
((__t=( e.click('remove') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btn-danger') ))==null?'':__t)+
'">\r\n                Удалить\r\n            </button>\r\n            <div style="display:flex; flex:1"></div>\r\n            <button '+
((__t=( e.click('cancel') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnCencel') ))==null?'':__t)+
'">Отмена</button>\r\n            <button '+
((__t=( e.click('save') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnAgree') ))==null?'':__t)+
'">'+
((__t=( data._id ? 'Изменить' : 'Добавить'))==null?'':__t)+
'</button>\r\n        ';
 } 
__p+='\r\n\r\n\r\n    </div>\r\n</div>\r\n    </div>\r\n';
 } else { 
__p+='\r\n    <div class="'+
((__t=( f.getClass('operators__main') ))==null?'':__t)+
'">\r\n        '+
((__t=( f.renderBlock('loaderBarTwo') ))==null?'':__t)+
'\r\n    </div>\r\n';
 } 
__p+='\r\n\r\n'+
((__t=( f.renderBlock('modalUniversal.modalAgree',{pref:'modal'}) ))==null?'':__t)+
'\r\n';
}
return __p;
}
window.renderBlocks['pages-operators.item'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';
 if (data.loaded){ 
__p+='\r\n    <div class="'+
((__t=( f.getClass('operators__head', 'operatorsHead') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('operatorsHead__container') ))==null?'':__t)+
'">\r\n            <a href="/operators" class="'+
((__t=( f.getClass('resetBtn', 'operatorsHead__btnBack') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('operatorsHead__imgBack') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                    '+
((__t=( f.renderBlock('icons.i_chevron-left') ))==null?'':__t)+
'\r\n                </div>\r\n                <h1 class="'+
((__t=( f.getClass('operators__title') ))==null?'':__t)+
'">\r\n                   '+
((__t=( data.first_name ))==null?'':__t)+
' '+
((__t=( data.last_name ))==null?'':__t)+
'\r\n                </h1>\r\n            </a>\r\n        \r\n            <a href="/operators/'+
((__t=( data._id ))==null?'':__t)+
'/edit" class="'+
((__t=( f.getClass('btnAgree') ))==null?'':__t)+
'">\r\n                Редактировать\r\n            </a>\r\n        </div>\r\n\r\n        <div class="'+
((__t=( f.getClass('operators__tab') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock('tab', {
                name:'_operators_mode',
                selected: query.type || 'information',
                items:[
                    {title:'Информация', value:'information'},
                    {title:'Запросы', value:'requests'},
                   // {title:'Активность', value:'activity'}
                ]
            }) ))==null?'':__t)+
'\r\n        </div>\r\n    </div>\r\n\r\n    <div class="'+
((__t=( f.getClass('operators__main') ))==null?'':__t)+
'">\r\n        \r\n        \r\n        ';
 if (query.type === 'information' || !query.type) { 
__p+='\r\n            '+
((__t=( f.renderBlock('operators.infoOperator', data) ))==null?'':__t)+
'\r\n        ';
 } else if (query.type === 'requests'){  
__p+='\r\n            '+
((__t=( f.renderBlock('pages-operators.item.requests', data) ))==null?'':__t)+
'\r\n        ';
 } 
__p+='\r\n    </div>\r\n';
 } else { 
__p+='\r\n    <div class="'+
((__t=( f.getClass('operators__main') ))==null?'':__t)+
'">\r\n        '+
((__t=( f.renderBlock('loaderBarTwo') ))==null?'':__t)+
'\r\n    </div>\r\n';
 } 
__p+='';
}
return __p;
}
window.renderBlocks['pages-operators.item.requests'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('clientsRequests') ))==null?'':__t)+
'">\r\n '+
((__t=( data._id && f.renderBlock("table",{
        pref:'table',
        params:{
            params:{
                usr_id: data._id
            }
        },
        limit:10,
        list:'request_list',
        command:'client.getList',
        columns:[
            {
                title: 'Статус',
                key:'status',
                col_class:'column07',
                type:'status',
                options:{
                    'class_name':'RQStatus',
                    'alias':{
                        '':['Новый', 'bagePositive'],
                        'Canceled':['Отменен', 'bageError' ],
                        'Completed':['Завершен','bage'],
                        'Confirmed':['Подтвержден','bageAccent']
                    }
                }
            },
            {
                title: 'Запрос',
                key:'title',
                col_class:'column02',
                type:'title'

            },
            {
                title: 'Клиент',
                key:'client',
                col_class:'column05',
                type:'client'
            },
            {
                title: 'Дата и время',
                key:'created_at',
                col_class:'column04',
                type:'datetime',
                options:{
                    format:'D MMMM YYYY'
                }
            },
            {
                title: 'ID',
                key:'_id',
                col_class:'column05',
                type:'id'
            },
        ]
    })  ))==null?'':__t)+
'\r\n</div>';
}
return __p;
}
window.renderBlocks['pages-operators'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('requests__head', 'requestsHead') ))==null?'':__t)+
'">\r\n    \r\n    <div class="'+
((__t=( f.getClass('requestsHead__requestsList') ))==null?'':__t)+
'">\r\n        <h1 class="'+
((__t=( f.getClass('requests__title', 'textH2', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n            <a class="'+
((__t=( f.getClass('resetLink') ))==null?'':__t)+
'" href="/">\r\n                Клиенты\r\n            </a>\r\n        </h1>\r\n        <div class="'+
((__t=( f.getClass('requests__search') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock("search")  ))==null?'':__t)+
'\r\n        </div>\r\n        <a href="/operators/add" class="'+
((__t=( f.getClass('btnAgree') ))==null?'':__t)+
'">\r\n            Добавить\r\n        </a>\r\n    </div>\r\n</div>\r\n\r\n<div class="'+
((__t=( f.getClass('requests__main') ))==null?'':__t)+
'">\r\n    '+
((__t=( f.renderBlock("table",{
        pref:'table',
        params:{
            removed:true,
            sorting: [
                {field: 'created_at', order: 'asc'}, {field: '_id', order: 'asc'}
            ],
        },
        limit:10,
        list:'users',
        command:'users.getList',
        columns:[
            {
                title: 'ID',
                key:'_id',
                col_class:'column07',
                type:'id'
            },
            {
                title: 'Уровень доступа',
                key:'access_level',
                col_class:'column07',
                type:'id'
            },
            {
                title: 'В сети',
                key:'online',
                col_class:'column07',
                type:'bool',
                options:{
                    locale:['В сети','Не в сети']
                }
            },
            {
                title: 'Статус',
                key:'status',
                col_class:'column07',
                type:'status',
                options:{
                    'class_name':'USRStatus',
                    'alias':{
                        '':['Оператор', 'bagePositive'],
                        'Removed':['Удален', 'bageError' ],
                        'Supervisor':['Супервизор','bageAccent']
                    }
                }
            },
            {
                title: 'Имя',
                col_class:'column02',
                type:'operator'
            },
        ]
    })  ))==null?'':__t)+
'\r\n</div>\r\n';
}
return __p;
}
window.renderBlocks['pages-partners.description'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('addClient') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('clients__head') ))==null?'':__t)+
'">\r\n\r\n        <button class="'+
((__t=( f.getClass('resetBtn', 'clients__btn') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('clients__img') ))==null?'':__t)+
'" style="height: 24px; width: 24px; min-width: 24px;">\r\n                '+
((__t=( f.renderBlock('navigation.back') ))==null?'':__t)+
'\r\n            </div>\r\n            <h1 class="'+
((__t=( f.getClass('clients__title', 'textH2', 'colorTextP') ))==null?'':__t)+
'">\r\n                Новый партнер\r\n            </h1>\r\n        </button>\r\n\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('clients__main') ))==null?'':__t)+
'">\r\n        '+
((__t=( f.renderBlock('partners.description.info') ))==null?'':__t)+
'\r\n    </div>\r\n</div>\r\n\r\n'+
((__t=( f.renderBlock('modalUniversal.modalAgree',{pref:'modal'}) ))==null?'':__t)+
'';
}
return __p;
}
window.renderBlocks['pages-partners.description.edit'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';
 if (data.loaded){ 
__p+='\r\n    <div class="'+
((__t=( f.getClass('addClient') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('clients__head') ))==null?'':__t)+
'">\r\n            <a class="'+
((__t=( f.getClass('resetLink', 'clients__btn') ))==null?'':__t)+
'" href="/partners'+
((__t=( data._id != 'new' ? '/' + data._id : '' ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('clients__img') ))==null?'':__t)+
'" style="height: 24px; width: 24px; min-width: 24px;">\r\n                    '+
((__t=( f.renderBlock('icons.i_chevron-left') ))==null?'':__t)+
'\r\n                </div>\r\n                <h1 class="'+
((__t=( f.getClass('clients__title', 'textH2', 'colorTextP') ))==null?'':__t)+
'">\r\n                    Редактировать\r\n                </h1>\r\n            </a>\r\n        </div>\r\n        <div class="'+
((__t=( f.getClass('clients__main') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock('partners.editContent', data) ))==null?'':__t)+
'\r\n        </div>\r\n    </div>\r\n';
 } else { 
__p+='\r\n    <div class="'+
((__t=( f.getClass('loadConteiner') ))==null?'':__t)+
'">\r\n        '+
((__t=( f.renderBlock('loaderBarTwo') ))==null?'':__t)+
'\r\n    </div>\r\n';
 } 
__p+='';
}
return __p;
}
window.renderBlocks['pages-partners.description.info'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';
 if (data.loaded){ 
__p+='\r\n    <div class="'+
((__t=( f.getClass('addClient') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('clients__head') ))==null?'':__t)+
'">\r\n            <a class="'+
((__t=( f.getClass('resetLink', 'clients__btn') ))==null?'':__t)+
'" href="/partners">\r\n                <div class="'+
((__t=( f.getClass('clients__img') ))==null?'':__t)+
'" style="height: 24px; width: 24px; min-width: 24px;">\r\n                    '+
((__t=( f.renderBlock('icons.i_chevron-left') ))==null?'':__t)+
'\r\n                </div>\r\n                <h1 class="'+
((__t=( f.getClass('clients__title', 'textH2', 'colorTextP') ))==null?'':__t)+
'">\r\n                    '+
((__t=( data.partner.name ))==null?'':__t)+
'\r\n                </h1>\r\n            </a>\r\n            <a class="'+
((__t=( f.getClass('ResetLink', 'btnNeutral') ))==null?'':__t)+
'" href="/partners/'+
((__t=( data._id ))==null?'':__t)+
'/edit">\r\n                Редактировать\r\n            </a>\r\n        </div>\r\n        <div class="'+
((__t=( f.getClass('clients__main') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock('partners.infoContent', data) ))==null?'':__t)+
'\r\n        </div>\r\n    </div>\r\n';
 } else { 
__p+='\r\n    <div class="'+
((__t=( f.getClass('loadConteiner') ))==null?'':__t)+
'">\r\n        '+
((__t=( f.renderBlock('loaderBarTwo') ))==null?'':__t)+
'\r\n    </div>\r\n';
 } 
__p+='';
}
return __p;
}
window.renderBlocks['pages-partners'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('partners__head') ))==null?'':__t)+
'">\r\n    <h1 class="'+
((__t=( f.getClass('partners__title', 'textH2', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n        <a class="'+
((__t=( f.getClass('resetLink') ))==null?'':__t)+
'" href="/">\r\n            Партнёры\r\n        </a>\r\n    </h1>\r\n    <div class="'+
((__t=( f.getClass('partners__search') ))==null?'':__t)+
'">\r\n        '+
((__t=( f.renderBlock("search")  ))==null?'':__t)+
'\r\n    </div>\r\n    <a href="/partners/new/edit" class="'+
((__t=( f.getClass('btn-agree') ))==null?'':__t)+
'">\r\n        Добавить\r\n    </a>\r\n</div>\r\n<div class="'+
((__t=( f.getClass('partners__main') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('partners__select-container') ))==null?'':__t)+
'">\r\n        \r\n        '+
((__t=( f.renderBlock("select_40")  ))==null?'':__t)+
'\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('partners__scroll') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('resetList', 'partners__list') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock("list",{
                pref:'list',
                rowBlock:'partners.item',
                params:{},
                limit:10,
                command:'partner.getList',
            })  ))==null?'':__t)+
'\r\n        </div>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['pages-privileges.add'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('privilege__head', 'privilegeHead') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('privilegeHead__privilegeList') ))==null?'':__t)+
'">\r\n        <h1 class="'+
((__t=( f.getClass('privilege__title', 'textH2', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n            <a class="'+
((__t=( f.getClass('privilege__link', 'resetLink') ))==null?'':__t)+
'" href="/privileges">\r\n                <div class="'+
((__t=( f.getClass('privilege__linkImg', 'textDarkMainBase') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                    '+
((__t=( f.renderBlock('icons.i_chevron-left') ))==null?'':__t)+
'\r\n                </div>\r\n                ';
 if (data._id){ 
__p+='\r\n                Редактирование тарифа\r\n                ';
 } else { 
__p+='\r\n                Создание тарифа\r\n                ';
 } 
__p+='\r\n            </a>\r\n        </h1>\r\n    </div>\r\n</div>\r\n\r\n\r\n';
 if (data.loaded) {  
    if (data.published){
        data.disabled = true;
    }
    
    
__p+='\r\n<div class="'+
((__t=( f.getClass('privilege__main') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('addClient') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('clients__main') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('addClient') ))==null?'':__t)+
'">\r\n                \r\n                <div class="'+
((__t=( f.getClass('addClient__scroll') ))==null?'':__t)+
' scrollBar">\r\n                    <div class="'+
((__t=( f.getClass('addClient__content') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('addClient__section') ))==null?'':__t)+
'">\r\n                            <label class="'+
((__t=( f.getClass(data.disabled ? 'cloudDisabled' : 'addClient__item', 'spaceBottm12') ))==null?'':__t)+
'">\r\n                                <h2 class="'+
((__t=( f.getClass(data.disabled ? 'cloudDisabled__text' : 'addClient__subtitle') ))==null?'':__t)+
'">\r\n                                    Название тарифа\r\n                                </h2>\r\n                                <input '+
((__t=( data.disabled && 'disabled' ))==null?'':__t)+
' '+
((__t=( e.on('input','onChange' , {path: 'name'}) ))==null?'':__t)+
' value="'+
((__t=( data.name ))==null?'':__t)+
'" required class="'+
((__t=( f.getClass(data.disabled ? 'cloudDisabled__input' : 'input48') ))==null?'':__t)+
'" placeholder="Введите текст"  type="text">\r\n                            </label>\r\n                            <div class="'+
((__t=( f.getClass('addClient__item', 'spaceBottm12') ))==null?'':__t)+
'">\r\n                                <div class="'+
((__t=( f.getClass('addClient__hint', 'hint') ))==null?'':__t)+
'">\r\n                                    <h2 class="'+
((__t=( f.getClass('addClient__subtitle') ))==null?'':__t)+
'">\r\n                                        Метка\r\n                                    </h2>\r\n                                    <div class="'+
((__t=( f.getClass('hint__icon') ))==null?'':__t)+
'" tabindex="0" style="width: 20px; height: 20px; min-width: 20px;">\r\n                                        '+
((__t=( f.renderBlock('icons.i_question') ))==null?'':__t)+
'\r\n                                        <p class="'+
((__t=( f.getClass('hint__info') ))==null?'':__t)+
'">\r\n                                            Необязательная информация о тарифе, служащая для его продвижения. Например - “хит продаж”.\r\n                                        </p>\r\n                                    </div>\r\n                                </div>\r\n                                <div class="'+
((__t=( f.getClass('addClient__inputWithBtn') ))==null?'':__t)+
'">\r\n                                    <input '+
((__t=( e.on('input','onChange' ,{path: 'options.badge'}) ))==null?'':__t)+
' value="'+
((__t=( data.options.badge ))==null?'':__t)+
'" required class="'+
((__t=( f.getClass('input48') ))==null?'':__t)+
'" placeholder="Введите текст" name="" id="" type="text">\r\n                                    ';
 if (data.disabled){ 
__p+='\r\n                                        <button '+
((__t=( e.click('changeBadge')  ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnAgreeLight') ))==null?'':__t)+
'">\r\n                                            Изменить\r\n                                        </button>\r\n                                    ';
 } 
__p+='\r\n                                </div>\r\n                            </div>\r\n                        </div>\r\n                        <div class="'+
((__t=( f.getClass('addClient__section') ))==null?'':__t)+
'">\r\n                            <h2 class="'+
((__t=( f.getClass('addClient__title', 'spaceBottm12') ))==null?'':__t)+
'">\r\n                                Описание тарифа для клиента\r\n                            </h2>\r\n                            <p class="'+
((__t=( f.getClass('textM', 'dark500base', 'spaceBottm20') ))==null?'':__t)+
'">\r\n                                Список опций, которые видит клиент при выборе тарифного плана, служит его описанием. Например: "24 часа курирование оператором", "Выбор отеля из 50 доступных" и т.п.\r\n                            </p>\r\n                            <ul class="'+
((__t=( f.getClass('resetList', 'addClient__list', 'spaceBottm20') ))==null?'':__t)+
'">\r\n                            ';
 for (let index = 0; index < data.options.labels.length; index++) {
                                const option = data.options.labels[index]; 
__p+='\r\n                                \r\n                                <li class="'+
((__t=( f.getClass('addClient__item') ))==null?'':__t)+
'">\r\n                                    ';
 if (data.disabled){ 
__p+='\r\n                                        <p class="'+
((__t=( f.getClass('textM', 'textDarkMainBase', 'cloudDisabled') ))==null?'':__t)+
'">\r\n                                            '+
((__t=( option ))==null?'':__t)+
'\r\n                                        </p>\r\n                                    ';
 } else { 
__p+='\r\n                                        <input '+
((__t=( data.disabled && 'disabled' ))==null?'':__t)+
' '+
((__t=( e.on('input','onChange' ,{path: `options.labels.${index}`}) ))==null?'':__t)+
' required class="'+
((__t=( f.getClass('input48') ))==null?'':__t)+
'" placeholder="Введите текст" value="'+
((__t=( option ))==null?'':__t)+
'" name="" id="" type="text">\r\n                                    ';
 } 
__p+='\r\n                                    ';
 if (!data.disabled){ 
__p+='\r\n                                        <button '+
((__t=( e.click('removeOption', {index})))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'addClient__delete') ))==null?'':__t)+
'  privilegesBtnOpacity" aria-label="Удалить">\r\n                                            <div class="'+
((__t=( f.getClass('addClient__icon', 'colorRed') ))==null?'':__t)+
'" style="width: 24px; height: 24px; min-width: 24px;">\r\n                                                '+
((__t=( f.renderBlock('icons.i_wastebasket') ))==null?'':__t)+
'\r\n                                            </div>\r\n                                        </button>\r\n                                    ';
 } 
__p+='\r\n                                </li>\r\n\r\n                            ';
 } 
__p+='\r\n                  \r\n                            </ul>\r\n                            ';
 if (!data.disabled) { 
__p+='\r\n                                <div class="'+
((__t=( f.getClass('addClient__btns') ))==null?'':__t)+
'">\r\n                                    <button '+
((__t=( e.click('addOption') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnAgree') ))==null?'':__t)+
'">\r\n                                        Добавить\r\n                                    </button>\r\n                                </div>\r\n                            ';
 } 
__p+='\r\n                        </div>\r\n                        <div class="'+
((__t=( f.getClass('addClient__section') ))==null?'':__t)+
'">\r\n                            <h2 class="'+
((__t=( f.getClass('addClient__title', 'spaceBottm12') ))==null?'':__t)+
'">\r\n                                Настройки тарифа\r\n                            </h2>\r\n                            <label class="'+
((__t=( f.getClass( data.disabled ? 'cloudDisabled' : 'addClient__item', 'spaceBottm12') ))==null?'':__t)+
'">\r\n                                <h3 class="'+
((__t=( f.getClass( data.disabled ? 'cloudDisabled__text' : 'addClient__subtitle') ))==null?'':__t)+
'">\r\n                                    Количество запросов в день\r\n                                </h3>\r\n                                ';
 if (data.options.options.request_count_per_day != -1) { 
__p+=' \r\n                                    <input '+
((__t=( data.disabled && 'disabled' ))==null?'':__t)+
' '+
((__t=( e.on('input','onChange' ,{path: `options.options.request_count_per_day`}) ))==null?'':__t)+
' required class="'+
((__t=( f.getClass( data.disabled ? 'cloudDisabled__input' : 'input48', 'inputSmall') ))==null?'':__t)+
'" placeholder="0" value="'+
((__t=( data.options.options.request_count_per_day ))==null?'':__t)+
'" name="" id="" type="number">\r\n                                ';
 } 
__p+='\r\n                            </label>\r\n                            <!-- Предлагаю изначально у инпута выставлять статус checked, т.е. по умолчанию \r\n                             будет стоять неограничено. И только если возникнет необходимость, оператор\r\n                             вынужден бы был снимать галочку для ввода количества -->\r\n                            ';
 if (!data.disabled){ 
__p+='\r\n                                <div class="'+
((__t=( f.getClass('addClient__check') ))==null?'':__t)+
'">\r\n                                    '+
((__t=( f.renderBlock('checkInputs.checkBox', {
                                        label: 'Неограниченне количество',
                                        value: data.options.options.request_count_per_day === -1 ,
                                        click: e.click('unlimitedRequestClick')
                                    }) ))==null?'':__t)+
'\r\n                                </div>\r\n                            ';
 } 
__p+='\r\n                        </div>\r\n                        <div class="'+
((__t=( f.getClass('addClient__section') ))==null?'':__t)+
'">\r\n                            <h2 class="'+
((__t=( f.getClass('addClient__title', 'spaceBottm12') ))==null?'':__t)+
'">\r\n                                Цены периодов\r\n                            </h2>\r\n                            <p class="'+
((__t=( f.getClass('textM', 'dark500base', 'spaceBottm20') ))==null?'':__t)+
'">\r\n                                Периоды действия тарифа, доступные клиенту. Если цена равна 0, то данный период не будет показан пользователю при выборе.\r\n                            </p>\r\n                            <div class="'+
((__t=( f.getClass('addClient__item', 'spaceBottm20') ))==null?'':__t)+
'">\r\n                                <h3 class="'+
((__t=( f.getClass('addClient__subtitle') ))==null?'':__t)+
'">\r\n                                    Валюта\r\n                                </h3>\r\n                                ';
 if( data.disabled ) { 
__p+='\r\n                                    <p class="'+
((__t=( f.getClass('textM', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                                        ';
 if( data.currency === 'RUB' ) { 
__p+='\r\n                                            Рубли\r\n                                        ';
 } else if( data.currency === 'USD' ) { 
__p+='\r\n                                            Доллары\r\n                                        ';
 } else if( data.currency === 'EUR' ) { 
__p+='\r\n                                            Евро\r\n                                        ';
 } else { 
__p+='\r\n                                            Некорректное значение\r\n                                        ';
 } 
__p+='\r\n                                    </p>\r\n                                ';
 } else { 
__p+='\r\n                                    <div class="'+
((__t=( f.getClass('addClient__select', 'inputMedium') ))==null?'':__t)+
'">\r\n                                        '+
((__t=( f.renderBlock('select_50',{
                                            key:'Currency',
                                            default:data.currency,
                                            value: data.currency,
                                            disabled: data.disabled,
                                            items: [
                                                {name:'Рубли',value:'RUB'},
                                                {name:'Доллары',value:'USD'},
                                                {name:'Евро',value:'EUR'}
                                            ]         
                                        }) ))==null?'':__t)+
'\r\n                                    </div>\r\n                                ';
 } 
__p+='\r\n                            </div>\r\n                            <ul class="'+
((__t=( f.getClass('resetList', 'addClient__listGorisontal', 'spaceBottm20') ))==null?'':__t)+
'">\r\n                                ';
 for (let index = 0; index < data.periods.length; index++) {
                                    const period = data.periods[index]; 
__p+='\r\n                                    <li class="'+
((__t=( f.getClass('addClient__container') ))==null?'':__t)+
'">\r\n                                        <label class="'+
((__t=( f.getClass( data.disabled ? 'cloudDisabled' : 'addClient__item' ) ))==null?'':__t)+
'">\r\n                                            <h3 class="'+
((__t=( f.getClass( data.disabled ? 'cloudDisabled__text' : 'addClient__subtitle') ))==null?'':__t)+
'">\r\n                                                '+
((__t=( period.title ))==null?'':__t)+
'\r\n                                            </h3>\r\n                                            <input '+
((__t=( data.disabled && 'disabled' ))==null?'':__t)+
' '+
((__t=( e.on('input','onChange' ,{path: `periods.${index}.price.amount`}) ))==null?'':__t)+
' class="'+
((__t=( f.getClass( data.disabled ? 'cloudDisabled__input' : 'input48') ))==null?'':__t)+
'" placeholder="0" name="" value="'+
((__t=( period.price.amount ))==null?'':__t)+
'" id="" type="number">\r\n                                        </label>\r\n                                    </li>\r\n                                ';
 } 
__p+='\r\n                            </ul>\r\n       \r\n                        </div>\r\n                    </div>\r\n                </div>\r\n\r\n\r\n                <div class="'+
((__t=( f.getClass('addClient__menu', 'addClientMenu') ))==null?'':__t)+
'">\r\n                    \r\n                    ';
 if (data._id && data.member_count == 0 && data.published !== true){ 
__p+='\r\n                        <button '+
((__t=( e.click('wantRemove') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btn-danger') ))==null?'':__t)+
'">\r\n                            Удалить\r\n                        </button>\r\n                    ';
 } else { 
__p+='\r\n                            <div></div>\r\n                    ';
 } 
__p+='\r\n                    <div class="'+
((__t=( f.getClass('resetList', 'addClientMenu__list') ))==null?'':__t)+
'">\r\n                        \r\n                        ';
 if (data.published !== true){ 
__p+='\r\n                            <button '+
((__t=( e.click('save')))==null?'':__t)+
' class="'+
((__t=( f.getClass('btn-empty') ))==null?'':__t)+
'">\r\n                                Сохранить\r\n                            </button>\r\n                        ';
 } 
__p+='\r\n                        ';
 if (data._id && data.published !== true){ 
__p+='\r\n                            <button '+
((__t=( e.click('publish')))==null?'':__t)+
' class="'+
((__t=( f.getClass('btn-agree') ))==null?'':__t)+
'">\r\n                                Опубликовать\r\n                            </button>\r\n                        ';
 } 
__p+='\r\n\r\n                        ';
 if (data._id && data.published === true){ 
__p+='\r\n                        <button '+
((__t=( e.click('unpublish')))==null?'':__t)+
' class="'+
((__t=( f.getClass('btn-danger') ))==null?'':__t)+
'">\r\n                                Снять с публикации\r\n                            </button>\r\n                        ';
 } 
__p+='\r\n\r\n                    </div>\r\n                </div>\r\n                \r\n            </div>\r\n        </div>\r\n    </div>\r\n</div>\r\n';
 } else { 
__p+='\r\n    <div class="'+
((__t=( f.getClass('loadConteiner') ))==null?'':__t)+
'">\r\n        '+
((__t=( f.renderBlock('loaderBarTwo') ))==null?'':__t)+
'\r\n    </div>\r\n';
 } 
__p+='\r\n\r\n'+
((__t=( f.renderBlock('modalUniversal.modalAgree',{pref:'modal'}) ))==null?'':__t)+
'\r\n';
}
return __p;
}
window.renderBlocks['pages-privileges.edit'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('privilege') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('privilege__head', 'privilegeHead') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('privilegeHead__privilegeList') ))==null?'':__t)+
'">\r\n            <a href="/privileges" class="'+
((__t=( f.getClass('resetBtn', 'privilege__btnBack') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('privilege__imgBack') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                    '+
((__t=( f.renderBlock('icons.i_chevron-left') ))==null?'':__t)+
'\r\n                </div>\r\n                <h1 class="'+
((__t=( f.getClass('privilege__title') ))==null?'':__t)+
'">\r\n                    Золотой Lorem ipsum dolor sit amet consectetur adipisicing elit. Commodi iure fugit quaerat cumque libero? Dolores deserunt, quisquam neque pariatur ullam saepe dolorem excepturi accusantium qui minus earum quasi repudiandae sequi.\r\n                </h1>\r\n            </a>\r\n            <div class="'+
((__t=( f.getClass('privilegeHead__container') ))==null?'':__t)+
'">\r\n                '+
((__t=( f.renderBlock('search') ))==null?'':__t)+
'\r\n                <button class="'+
((__t=( f.getClass('btnAgree') ))==null?'':__t)+
'">\r\n                    Изменить\r\n                </button>\r\n            </div>\r\n        </div>\r\n    </div>\r\n    \r\n    <div class="'+
((__t=( f.getClass('privilege__main') ))==null?'':__t)+
'">\r\n        '+
((__t=( f.renderBlock("pages-privileges.edit.privilegeListEdit")  ))==null?'':__t)+
'\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('privilege__footer') ))==null?'':__t)+
'">\r\n        <button class="'+
((__t=( f.getClass('btnDanger') ))==null?'':__t)+
'">\r\n            Удалить\r\n        </button>\r\n        <div class="'+
((__t=( f.getClass('privilege__buttons') ))==null?'':__t)+
'">\r\n            <button class="'+
((__t=( f.getClass('btnNeutral') ))==null?'':__t)+
'">\r\n                Отмена\r\n            </button>\r\n            <button class="'+
((__t=( f.getClass('btnAgree') ))==null?'':__t)+
'">\r\n                Создать\r\n            </button>\r\n        </div>\r\n    </div>\r\n</div>\r\n';
}
return __p;
}
window.renderBlocks['pages-privileges.edit.privilegeListEdit'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('privilegeSer__scroll') ))==null?'':__t)+
' scrollBar">\r\n    <div class="'+
((__t=( f.getClass('privilegeSer__scrollContainer') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('privilegeSer__head') ))==null?'':__t)+
'">\r\n            <h2 class="'+
((__t=( f.getClass('privilegeSer__title') ))==null?'':__t)+
'">\r\n                Доступные услуги\r\n            </h2>\r\n            <button class="'+
((__t=( f.getClass('btnAgreeLightSmasll') ))==null?'':__t)+
'">\r\n                Добавить категорию\r\n            </button>\r\n        </div>\r\n        <div class="'+
((__t=( f.getClass('privilegeSer__section', 'privilegeSection') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('privilegeSection__head') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('privilegeSection__container') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'privilegeSection__btnMove', 'colorSecondary') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                        '+
((__t=( f.renderBlock('icons.i_six-dots') ))==null?'':__t)+
'\r\n                    </button>\r\n                    <h3 class="'+
((__t=( f.getClass('privilegeSer__subtitle') ))==null?'':__t)+
'">\r\n                        Страхование\r\n                    </h3>\r\n                </div>\r\n                <div class="'+
((__t=( f.getClass('privilegeSection__btnBar') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'privilegeSection__btn') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                        '+
((__t=( f.renderBlock('icons.i_plus') ))==null?'':__t)+
'\r\n                    </button>\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'privilegeSection__btn') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                        '+
((__t=( f.renderBlock('icons.i_pen') ))==null?'':__t)+
'\r\n                    </button>\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'privilegeSection__btn') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                        '+
((__t=( f.renderBlock('icons.i_wastebasket') ))==null?'':__t)+
'\r\n                    </button>\r\n                </div>\r\n            </div>\r\n            <ul class="'+
((__t=( f.getClass('resetList', 'privilegeSer__list') ))==null?'':__t)+
'">\r\n                <li class="'+
((__t=( f.getClass('privilegeSer__item') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'privilegeBlock') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('privilegeBlock__imgContainer') ))==null?'':__t)+
'">\r\n                            <div class="'+
((__t=( f.getClass('privilegeBlock__img') ))==null?'':__t)+
'" style="width: 24px; height: 24px; min-width: 24px;">\r\n                                '+
((__t=( f.renderBlock("icons.i_map-pin") ))==null?'':__t)+
'\r\n                            </div>\r\n                        </div>\r\n                        <div class="'+
((__t=( f.getClass('privilegeBlock__main') ))==null?'':__t)+
'">\r\n                            <h3 class="'+
((__t=( f.getClass('privilegeBlock__title') ))==null?'':__t)+
'">\r\n                                Привилегия\r\n                            </h3>\r\n                            <p class="'+
((__t=( f.getClass('privilegeBlock__text') ))==null?'':__t)+
'">\r\n                                Автострахование\r\n                            </p>\r\n                            <span class="'+
((__t=( f.getClass('privilegeBlock__subtext') ))==null?'':__t)+
'">\r\n                                саr_rent\r\n                            </span>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('privilegeSer__item') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'privilegeBlock') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('privilegeBlock__imgContainer') ))==null?'':__t)+
'">\r\n                            <div class="'+
((__t=( f.getClass('privilegeBlock__img') ))==null?'':__t)+
'" style="width: 24px; height: 24px; min-width: 24px;">\r\n                                '+
((__t=( f.renderBlock("icons.i_map-pin") ))==null?'':__t)+
'\r\n                            </div>\r\n                        </div>\r\n                        <div class="'+
((__t=( f.getClass('privilegeBlock__main') ))==null?'':__t)+
'">\r\n                            <h3 class="'+
((__t=( f.getClass('privilegeBlock__title') ))==null?'':__t)+
'">\r\n                                Привилегия\r\n                            </h3>\r\n                            <p class="'+
((__t=( f.getClass('privilegeBlock__text') ))==null?'':__t)+
'">\r\n                                Страхование недвижимости\r\n                            </p>\r\n                            <span class="'+
((__t=( f.getClass('privilegeBlock__subtext') ))==null?'':__t)+
'">\r\n                                саr_rent\r\n                            </span>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n                <li class="'+
((__t=( f.getClass('privilegeSer__item') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'privilegeBlock') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('privilegeBlock__imgContainer') ))==null?'':__t)+
'">\r\n                            <div class="'+
((__t=( f.getClass('privilegeBlock__img') ))==null?'':__t)+
'" style="width: 24px; height: 24px; min-width: 24px;">\r\n                                '+
((__t=( f.renderBlock("icons.i_map-pin") ))==null?'':__t)+
'\r\n                            </div>\r\n                        </div>\r\n                        <div class="'+
((__t=( f.getClass('privilegeBlock__main') ))==null?'':__t)+
'">\r\n                            <h3 class="'+
((__t=( f.getClass('privilegeBlock__title') ))==null?'':__t)+
'">\r\n                                Привилегия\r\n                            </h3>\r\n                            <p class="'+
((__t=( f.getClass('privilegeBlock__text') ))==null?'':__t)+
'">\r\n                                Страхование путешественников\r\n                            </p>\r\n                            <span class="'+
((__t=( f.getClass('privilegeBlock__subtext') ))==null?'':__t)+
'">\r\n                                саr_rent\r\n                            </span>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n            </ul>\r\n            \r\n            <!-- <div class="'+
((__t=( f.getClass('privilegeSer__empty', 'privilegeEmpty') ))==null?'':__t)+
'">\r\n                <h4 class="'+
((__t=( f.getClass('privilegeEmpty__text') ))==null?'':__t)+
'">\r\n                    Услуг нет\r\n                </h4>\r\n                <button class="'+
((__t=( f.getClass('btnAgreeLight') ))==null?'':__t)+
'">\r\n                    Добавить\r\n                </button>\r\n            </div> -->\r\n            \r\n            <div class="'+
((__t=( f.getClass('privilegeSection__buttons') ))==null?'':__t)+
'">\r\n                <button class="'+
((__t=( f.getClass('btnAgreeLight') ))==null?'':__t)+
'">\r\n                    Добавить услугу\r\n                </button>\r\n            </div>\r\n        </div>\r\n\r\n        <div class="'+
((__t=( f.getClass('privilegeSer__section', 'privilegeSection') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('privilegeSection__head') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('privilegeSection__container') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'privilegeSection__btnMove', 'colorSecondary') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                        '+
((__t=( f.renderBlock('icons.i_six-dots') ))==null?'':__t)+
'\r\n                    </button>\r\n                    <h3 class="'+
((__t=( f.getClass('privilegeSer__subtitle') ))==null?'':__t)+
'">\r\n                        Бизнес-авиация\r\n                    </h3>\r\n                </div>\r\n                <div class="'+
((__t=( f.getClass('privilegeSection__btnBar') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'privilegeSection__btn') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                        '+
((__t=( f.renderBlock('icons.i_plus') ))==null?'':__t)+
'\r\n                    </button>\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'privilegeSection__btn') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                        '+
((__t=( f.renderBlock('icons.i_pen') ))==null?'':__t)+
'\r\n                    </button>\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'privilegeSection__btn') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                        '+
((__t=( f.renderBlock('icons.i_wastebasket') ))==null?'':__t)+
'\r\n                    </button>\r\n                </div>\r\n            </div>\r\n            <ul class="'+
((__t=( f.getClass('resetList', 'privilegeSer__list') ))==null?'':__t)+
'">\r\n                <li class="'+
((__t=( f.getClass('privilegeSer__item') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'privilegeBlock') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('privilegeBlock__imgContainer') ))==null?'':__t)+
'">\r\n                            <div class="'+
((__t=( f.getClass('privilegeBlock__img') ))==null?'':__t)+
'" style="width: 24px; height: 24px; min-width: 24px;">\r\n                                '+
((__t=( f.renderBlock("icons.i_map-pin") ))==null?'':__t)+
'\r\n                            </div>\r\n                        </div>\r\n                        <div class="'+
((__t=( f.getClass('privilegeBlock__main') ))==null?'':__t)+
'">\r\n                            <h3 class="'+
((__t=( f.getClass('privilegeBlock__title') ))==null?'':__t)+
'">\r\n                                Привилегия\r\n                            </h3>\r\n                            <p class="'+
((__t=( f.getClass('privilegeBlock__text') ))==null?'':__t)+
'">\r\n                                Бизнес-авиация\r\n                            </p>\r\n                            <span class="'+
((__t=( f.getClass('privilegeBlock__subtext') ))==null?'':__t)+
'">\r\n                                саr_rent\r\n                            </span>\r\n                        </div>\r\n                    </button>\r\n                </li>\r\n            </ul>\r\n            \r\n            <!-- <div class="'+
((__t=( f.getClass('privilegeSer__empty', 'privilegeEmpty') ))==null?'':__t)+
'">\r\n                <h4 class="'+
((__t=( f.getClass('privilegeEmpty__text') ))==null?'':__t)+
'">\r\n                    Услуг нет\r\n                </h4>\r\n                <button class="'+
((__t=( f.getClass('btnAgreeLight') ))==null?'':__t)+
'">\r\n                    Добавить\r\n                </button>\r\n            </div> -->\r\n            \r\n            <div class="'+
((__t=( f.getClass('privilegeSection__buttons') ))==null?'':__t)+
'">\r\n                <button class="'+
((__t=( f.getClass('btnAgreeLight') ))==null?'':__t)+
'">\r\n                    Добавить услугу\r\n                </button>\r\n            </div>\r\n        </div>\r\n\r\n        <div class="'+
((__t=( f.getClass('privilegeSer__section', 'privilegeSection') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('privilegeSection__head') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('privilegeSection__container') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'privilegeSection__btnMove', 'colorSecondary') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                        '+
((__t=( f.renderBlock('icons.i_six-dots') ))==null?'':__t)+
'\r\n                    </button>\r\n                    <h3 class="'+
((__t=( f.getClass('privilegeSer__subtitle') ))==null?'':__t)+
'">\r\n                        Заказ цветов\r\n                    </h3>\r\n                </div>\r\n                <div class="'+
((__t=( f.getClass('privilegeSection__btnBar') ))==null?'':__t)+
'">\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'privilegeSection__btn') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;" aria-label="Добавить">\r\n                        '+
((__t=( f.renderBlock('icons.i_plus') ))==null?'':__t)+
'\r\n                    </button>\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'privilegeSection__btn') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;" aria-label="Редактировать">\r\n                        '+
((__t=( f.renderBlock('icons.i_pen') ))==null?'':__t)+
'\r\n                    </button>\r\n                    <button class="'+
((__t=( f.getClass('resetBtn', 'privilegeSection__btn') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;" aria-label="Удалить">\r\n                        '+
((__t=( f.renderBlock('icons.i_wastebasket') ))==null?'':__t)+
'\r\n                    </button>\r\n                </div>\r\n            </div>\r\n            \r\n            <div class="'+
((__t=( f.getClass('privilegeSer__empty', 'privilegeEmpty') ))==null?'':__t)+
'">\r\n                <h4 class="'+
((__t=( f.getClass('privilegeEmpty__text') ))==null?'':__t)+
'">\r\n                    Услуг нет\r\n                </h4>\r\n                <button class="'+
((__t=( f.getClass('btnAgreeLight') ))==null?'':__t)+
'">\r\n                    Добавить\r\n                </button>\r\n            </div>\r\n            \r\n        </div>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['pages-privileges.item'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='    <div class="'+
((__t=( f.getClass('privilege__head', 'privilegeHead') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('privilegeHead__privilegeList') ))==null?'':__t)+
'">\r\n            <a href="/privileges" class="'+
((__t=( f.getClass('resetBtn', 'privilege__btnBack') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('privilege__imgBack') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                    '+
((__t=( f.renderBlock('icons.i_chevron-left') ))==null?'':__t)+
'\r\n                </div>\r\n                <h1 class="'+
((__t=( f.getClass('privilege__title') ))==null?'':__t)+
'">\r\n                    '+
((__t=( data.name ))==null?'':__t)+
'\r\n                </h1>\r\n            </a>\r\n \r\n            <div class="'+
((__t=( f.getClass('privilegeHead__btnContainer') ))==null?'':__t)+
'">\r\n                <button class="'+
((__t=( f.getClass('btnDangerLight') ))==null?'':__t)+
'">\r\n                    Удалить\r\n                </button>\r\n                <button '+
((__t=( e.click('cnageMode') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnAgreeLight') ))==null?'':__t)+
'">\r\n                    Список клиентов\r\n                </button>\r\n            </div>\r\n        </div>\r\n        <div class="'+
((__t=( f.getClass('requests__tab') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock('tab', {
                name:'_mode',
                selected: data.mode || 'services',
                items:[
                    {title:'Услуги', value:'services'},
                    {title:'Клиенты', value:'clients'},
                ]
            }) ))==null?'':__t)+
'\r\n        </div>\r\n    </div>\r\n\r\n    \r\n    <div class="'+
((__t=( f.getClass('privilege__main') ))==null?'':__t)+
'">\r\n        ';
 if (data.loaded) { 
__p+='\r\n            ';
 if (data.mode === 'services') { 
__p+='\r\n                <div class="'+
((__t=( f.getClass('privilegeSer__head') ))==null?'':__t)+
'">\r\n                    <div class="'+
((__t=( f.getClass('privilegeSer__headContainer') ))==null?'':__t)+
'">\r\n                        <h2 class="'+
((__t=( f.getClass('privilegeSer__title', 'textDarkMainBase', '') ))==null?'':__t)+
'">\r\n                            Услуги\r\n                        </h2>\r\n                        <button '+
((__t=( e.click('create') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnAgreeLightSmall') ))==null?'':__t)+
'">\r\n                            Добавить категорию\r\n                        </button>\r\n                    </div>\r\n                </div>\r\n            '+
((__t=( f.renderBlock("pages-privileges.item.privilegeService", {
                ...data,
                handler: e
                })  ))==null?'':__t)+
'\r\n            ';
 } else { 
__p+='\r\n                <div class="'+
((__t=( f.getClass('privilege__table') ))==null?'':__t)+
'">\r\n                    '+
((__t=( f.renderBlock("table",{
                        pref:'table',
                        params:{
                            card_type_id: data._id
                        },
                        limit:10,
                        list:'client_entity',
                        command:'client.getList',
                        columns:[
                            {
                                title: 'ID',
                                key:'_id',
                                col_class:'column09',
                                type:'id'
                            },
                            {
                                title: 'Клиент',
                                col_class:'column02',
                                type:'client'
                            },
                            {
                                title: 'Запросы',
                                key:'total_request_count',
                                col_class:'column09',
                                type:'id'
                            },
                                {
                                title: 'Счета',
                                key:'total_invoice_count',
                                col_class:'column09',
                                type:'id'
                            },
                            {
                                title: 'Карта лояльности',
                                key:'card_name',
                                col_class:'column07',
                                type:'id'
                            },            
                            {
                                title: 'Подписка',
                                key:'finished_at',
                                col_class:'column04',
                                type:'datetime',
                                options:{
                                    format:'D MMMM YYYY'
                                }
                            },
                        ]
                    })  ))==null?'':__t)+
'\r\n                </div>\r\n            ';
 } 
__p+='\r\n        ';
 } else { 
__p+='\r\n            <div class="'+
((__t=( f.getClass('loadContainer') ))==null?'':__t)+
'">\r\n                '+
((__t=( f.renderBlock('loaderBarTwo') ))==null?'':__t)+
'\r\n            </div>\r\n        ';
 } 
__p+='\r\n    </div>\r\n\r\n'+
((__t=( f.renderBlock('pages-privileges.service', {pref: 'service'}) ))==null?'':__t)+
'\r\n'+
((__t=( f.renderBlock('modalUniversal.modalAgree',{pref:'modal'}) ))==null?'':__t)+
'\r\n';
}
return __p;
}
window.renderBlocks['pages-privileges.item.privilegeService.preview'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='    ';
 if (data.img !== undefined) {  
__p+='\r\n        <div class="'+
((__t=( f.getClass('servicesImgEdit__container') ))==null?'':__t)+
'" style="width: 48px; min-width: 48px; height: 48px;">\r\n            <img class="'+
((__t=( f.getClass('servicesModal__img') ))==null?'':__t)+
'" src="'+
((__t=( utils.makeImageUrl(data.img) ))==null?'':__t)+
'" style="width: 100%;">\r\n        </div>\r\n    ';
 } 
__p+='\r\n\r\n    <div class="'+
((__t=( f.getClass('servicesImgEdit__btnContainer') ))==null?'':__t)+
'">\r\n        <button '+
((__t=( e.click('change')))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnChange') ))==null?'':__t)+
'">\r\n            Загрузить\r\n        </button>\r\n        ';
 if (data.img) {  
__p+='\r\n            <button '+
((__t=( e.click('recrop')))==null?'':__t)+
'  class="'+
((__t=( f.getClass('btn-agree') ))==null?'':__t)+
'">\r\n                Изменить\r\n            </button>\r\n            <button '+
((__t=( e.click('remove')))==null?'':__t)+
'  class="'+
((__t=( f.getClass('btn-danger-empty') ))==null?'':__t)+
'">\r\n                Удалить\r\n            </button>\r\n        ';
 } 
__p+='\r\n    </div>\r\n\r\n         \r\n\r\n\r\n<input accept="image/jpeg,image/png"  '+
((__t=( e.on('change','avatarChange') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('fileInput') ))==null?'':__t)+
'" type="file" />\r\n\r\n'+
((__t=( f.renderEmptyBlock("ImageCropper",{
    title:'Изображение профиля',
    subtitle:'Рекомендуемый размер изображения 300х300'
}) ))==null?'':__t)+
'\r\n';
}
return __p;
}
window.renderBlocks['pages-privileges.item.privilegeService'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('privilegeSer__scroll') ))==null?'':__t)+
' scrollBar">\r\n    <div class="'+
((__t=( f.getClass('privilegeSer__scrollContainer') ))==null?'':__t)+
'">\r\n        ';
 if (data.addNewCat) {
__p+='\r\n            <div class="'+
((__t=( f.getClass('privilegeSer__section') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('cat__header') ))==null?'':__t)+
'">\r\n                    <div class="'+
((__t=( f.getClass('cat__container') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('cat__icon') ))==null?'':__t)+
'">\r\n                            '+
((__t=( f.renderBlock('pages-privileges.item.privilegeService.selectIcon',{ edit: data.addNewCat, type:'svg', index:-1, catNumger:-1}) ))==null?'':__t)+
'\r\n                        </div>\r\n                        <div class="'+
((__t=( f.getClass('cat__cloud') ))==null?'':__t)+
'">\r\n                            <input autofocus '+
((__t=( data.handler.ref(`select_input_-1`, -1) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('privilegeSer__title', 'privilegeInputTitle') ))==null?'':__t)+
'" placeholder="Введите название" value=""/>\r\n                            <button  '+
((__t=( data.handler.click('cancelCreate') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnDanger', 'btnDangerOpacity') ))==null?'':__t)+
'">\r\n                                Удалить\r\n                            </button>\r\n                            <div class="'+
((__t=( f.getClass('cat__bigBtn') ))==null?'':__t)+
'">\r\n                                <button '+
((__t=( data.handler.click('saveCat') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnAgreeEmptySmall') ))==null?'':__t)+
'">\r\n                                    Создать\r\n                                </button>\r\n                            </div>\r\n                        </div>\r\n\r\n                    </div>\r\n                    <input '+
((__t=( data.handler.ref(`select_desc`, -1) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('privilegeSer__text', 'privilegeInputTitle') ))==null?'':__t)+
'" placeholder=\'Кратоке описание\' value=""/>\r\n                </div>  \r\n                <div class="'+
((__t=( f.getClass('privilegeBlock__empty') ))==null?'':__t)+
'">\r\n                    <p class="'+
((__t=( f.getClass('privilegeBlock__emptyText') ))==null?'':__t)+
'">\r\n                        Услуг нет\r\n                    </p>\r\n                    <button class="'+
((__t=( f.getClass('btnAgreeLight') ))==null?'':__t)+
'">Добавить</button>\r\n                </div>\r\n            </div>\r\n        ';
 } 
__p+='\r\n        ';
 for (let index = 0; index < data.categories.length; index++) {
            const cat = data.categories[index];
            const catNumger = index;
            
__p+='\r\n            <div class="'+
((__t=( f.getClass('privilegeSer__section') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('cat__header') ))==null?'':__t)+
'">\r\n                    <div class="'+
((__t=( f.getClass('cat__container') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('cat__icon') ))==null?'':__t)+
'">\r\n                            '+
((__t=( f.renderBlock('pages-privileges.item.privilegeService.selectIcon',{ index, img:cat.img, type:'svg', edit: data.editIndex === index, catNumger: catNumger}) ))==null?'':__t)+
'\r\n                        </div>\r\n                        ';
 if (data.editIndex === index){ 
__p+='\r\n                            ';

                                const fid = e.makeId();
                            
__p+='\r\n                            <div class="'+
((__t=( f.getClass('cat__cloud') ))==null?'':__t)+
'">\r\n                                \r\n                                <div class="'+
((__t=( f.getClass('privilegeSer__inputsBlock') ))==null?'':__t)+
'">\r\n                                    <input \r\n                                        f-id="'+
((__t=( fid ))==null?'':__t)+
'"\r\n                                        '+
((__t=( data.handler.ref(`select_input_${index}`, index, fid, false) ))==null?'':__t)+
' \r\n                                        '+
((__t=( data.handler.on('input', 'inputCatName', index, fid, false) ))==null?'':__t)+
' \r\n                                        class="'+
((__t=( f.getClass('privilegeSer__title', 'privilegeInputTitle') ))==null?'':__t)+
'" \r\n                                        value="'+
((__t=( cat.name ))==null?'':__t)+
'"\r\n                                        placeholder="Новая категория"\r\n                                    />\r\n                                </div>\r\n                                <div class="'+
((__t=( f.getClass('cat__actions', 'spaceRight16') ))==null?'':__t)+
'">\r\n                                    <button '+
((__t=( data.handler.click('saveCat', index) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'cat__edit') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;" aria-label="Подтвердить изменения">\r\n                                        '+
((__t=( f.renderBlock('icons.i_check') ))==null?'':__t)+
'\r\n                                    </button>\r\n                                    <button '+
((__t=( data.handler.click('cancelEdit', index) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'cat__edit') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;" aria-label="Отменить изменения">\r\n                                        '+
((__t=( f.renderBlock('icons.i_x') ))==null?'':__t)+
'\r\n                                    </button>\r\n                                </div>\r\n                                <button '+
((__t=( data.handler.click('tryRemoveCat', cat) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnDanger') ))==null?'':__t)+
'">\r\n                                    Удалить\r\n                                </button>\r\n                            </div>\r\n                        ';
 } else { 
__p+='\r\n                            <div class="'+
((__t=( f.getClass('cat__cloud') ))==null?'':__t)+
'">\r\n                                <button '+
((__t=(  data.handler.click('startEdit', index) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'cat__edit') ))==null?'':__t)+
'">\r\n                                    <div class="'+
((__t=( f.getClass('privilegeSer__inputsBlock') ))==null?'':__t)+
'">\r\n                                        <h3 class="'+
((__t=( f.getClass('privilegeSer__title') ))==null?'':__t)+
'">\r\n                                            '+
((__t=( cat.name ))==null?'':__t)+
'\r\n                                        </h3>\r\n                                    </div>\r\n                                </button>\r\n                                <button '+
((__t=( data.handler.click('tryRemoveCat', cat) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnDanger', 'btnDangerOpacity') ))==null?'':__t)+
'">\r\n                                    Удалить\r\n                                </button>\r\n                            </div>\r\n                        ';
 } 
__p+='\r\n                    </div>\r\n                    ';
 if (data.editIndex === index){ 
__p+='\r\n                        <input '+
((__t=( data.handler.on('input', 'inputCatDescription', index) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('privilegeSer__text', 'privilegeInputTitle') ))==null?'':__t)+
'" placeholder=\'Кратоке описание\' value="'+
((__t=( cat.description ))==null?'':__t)+
'"/>\r\n                    ';
 } else { 
__p+='\r\n                        <p class="'+
((__t=( f.getClass('privilegeSer__text', cat.description ? '' : 'privilegeSer__textEmpty') ))==null?'':__t)+
'">\r\n                            '+
((__t=( cat.description ? cat.description : 'Описание категории' ))==null?'':__t)+
'\r\n                        </p>\r\n                    ';
 } 
__p+='\r\n                </div>\r\n\r\n                ';
 if ( cat.services.length ) { 
__p+='\r\n                    <ul class="'+
((__t=( f.getClass('resetList', 'privilegeSer__list') ))==null?'':__t)+
'">\r\n                        ';
 for (let index = 0; index < cat.services.length; index++) {
                            const service = cat.services[index];
                        
__p+='\r\n                        <li class="'+
((__t=( f.getClass('privilegeSer__item') ))==null?'':__t)+
'">\r\n                            <button '+
((__t=( data.handler.click('openService', service)))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'privilegeBlock') ))==null?'':__t)+
'">\r\n                                <div class="'+
((__t=( f.getClass('privilegeBlock__imgContainer') ))==null?'':__t)+
' style="width: 24px; height: 24px; min-width: 24px;"">\r\n                                    <img class="'+
((__t=( f.getClass('privilegeBlock__img') ))==null?'':__t)+
'" style="width: 100%;"src="'+
((__t=( utils.makeImageUrl(service.img)))==null?'':__t)+
'" />\r\n                                </div>\r\n                                <div class="'+
((__t=( f.getClass('privilegeBlock__main') ))==null?'':__t)+
'">\r\n                                    <h3 class="'+
((__t=( f.getClass('privilegeBlock__title') ))==null?'':__t)+
'">\r\n                                        '+
((__t=( service.type ))==null?'':__t)+
'\r\n                                    </h3>\r\n                                    <p class="'+
((__t=( f.getClass('privilegeBlock__text') ))==null?'':__t)+
'">\r\n                                        '+
((__t=( service.name ))==null?'':__t)+
'\r\n                                    </p>\r\n                                    <span class="'+
((__t=( f.getClass('privilegeBlock__subtext') ))==null?'':__t)+
'">\r\n                                        '+
((__t=( service.template_id ))==null?'':__t)+
'\r\n                                    </span>\r\n                                </div>\r\n                            </button>\r\n                        </li>\r\n                        ';
 } 
__p+='\r\n                    </ul>\r\n                    <div class="'+
((__t=( f.getClass('privilegeBlock__btnContainer') ))==null?'':__t)+
'">\r\n                        <button class="'+
((__t=( f.getClass('btnAgreeLightSmall') ))==null?'':__t)+
'" '+
((__t=( data.handler.click('addService', cat)))==null?'':__t)+
' >Добавить услугу</button>\r\n                    </div>\r\n                ';
 } else { 
__p+='\r\n                    <div class="'+
((__t=( f.getClass('privilegeBlock__empty') ))==null?'':__t)+
'">\r\n                        <p class="'+
((__t=( f.getClass('privilegeBlock__emptyText') ))==null?'':__t)+
'">\r\n                            Услуг нет\r\n                        </p>\r\n                        <button class="'+
((__t=( f.getClass('btnAgreeLight') ))==null?'':__t)+
'" '+
((__t=( data.handler.click('addService', cat)))==null?'':__t)+
' >Добавить</button>\r\n                    </div>\r\n                ';
 } 
__p+='\r\n            </div>\r\n         ';
 } 
__p+='\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['pages-privileges.item.privilegeService.selectIcon'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';
 if (data.icons) { 
__p+='\r\n    <div class="'+
((__t=( f.getClass('selectIcon') ))==null?'':__t)+
'">\r\n        <button class="'+
((__t=( f.getClass('resetBtn', 'selectImgContainer', 'colorDark200') ))==null?'':__t)+
'" style="min-height: 48px; min-width: 48px;">\r\n            '+
((__t=( data.selectedIcons > -1 ?  data.icons[data.selectedIcons].svg : data.icons[0].svg ))==null?'':__t)+
'\r\n        </button>\r\n        ';
 if (data.edit){ 
__p+='\r\n            <div class="'+
((__t=( f.getClass('selectIcon__container') ))==null?'':__t)+
'">\r\n                <ul class="'+
((__t=( f.getClass('resetList', 'selectIcon__list') ))==null?'':__t)+
' scrollBar">\r\n                    \r\n                    ';
 for (let i = 0; i < data.icons.length; i++) { 
__p+='\r\n                        <li class="'+
((__t=( f.getClass('selectIcon__item') ))==null?'':__t)+
'">\r\n                            <button '+
((__t=( e.click('cahnge', i) ))==null?'':__t)+
'  class="'+
((__t=( f.getClass('resetBtn', 'selectImgContainer', data.selectedIcons === i ? 'selectIcon__activeItem' : '') ))==null?'':__t)+
'" style="width:48px; height: 48px; min-width: 48px;">\r\n                                ';
 let icon = data.icons[i].svg 
__p+='\r\n                                '+
((__t=( icon ))==null?'':__t)+
'\r\n                                <div class="'+
((__t=( f.getClass('selectIcon__hoverItem') ))==null?'':__t)+
'">\r\n                                </div>\r\n                            </button>\r\n                        </li>\r\n                    ';
 } 
__p+='\r\n                </ul>\r\n            </div>\r\n        ';
 } 
__p+='\r\n    </div>\r\n';
 } 
__p+='';
}
return __p;
}
window.renderBlocks['pages-privileges.pitem'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('privilege__item') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('privilege__subhead') ))==null?'':__t)+
'">\r\n        <h2 class="'+
((__t=( f.getClass('privilege__subtitle') ))==null?'':__t)+
'">\r\n            '+
((__t=( data.name ))==null?'':__t)+
'\r\n        </h2>\r\n        \r\n        <div class="'+
((__t=( f.getClass('privilege__container') ))==null?'':__t)+
'">\r\n            <a href="/privileges/'+
((__t=(data._id))==null?'':__t)+
'/edit" class="'+
((__t=( f.getClass('btnAgreeEmptySmall', 'privilege__chosen') ))==null?'':__t)+
'">\r\n                Изменить\r\n            </a>\r\n            <a href="/privileges/'+
((__t=(data._id))==null?'':__t)+
'" class="'+
((__t=( f.getClass('btnAgreeLightSmall', 'privilege__chosen') ))==null?'':__t)+
'">\r\n                Открыть\r\n            </a>\r\n        </div>\r\n    </div>\r\n    \r\n    <div class="'+
((__t=( f.getClass('privilege__container', 'spaceBottom16') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('privilege__blockInfo', 'privilegeBlockInfo') ))==null?'':__t)+
'">\r\n            <p class="'+
((__t=( f.getClass('privilegeBlockInfo__title') ))==null?'':__t)+
'">\r\n                Участники\r\n            </p>\r\n            <span class="'+
((__t=( f.getClass('privilegeBlockInfo__text') ))==null?'':__t)+
'">\r\n                '+
((__t=( data.member_count ))==null?'':__t)+
'\r\n            </span>\r\n        </div>\r\n        <div class="'+
((__t=( f.getClass('privilege__blockInfo', 'privilegeBlockInfo') ))==null?'':__t)+
'">\r\n            <p class="'+
((__t=( f.getClass('privilegeBlockInfo__title') ))==null?'':__t)+
'">\r\n                Привилегии\r\n            </p>\r\n            <span class="'+
((__t=( f.getClass('privilegeBlockInfo__text') ))==null?'':__t)+
'">\r\n                '+
((__t=( data.service_count ))==null?'':__t)+
'\r\n            </span>\r\n        </div>\r\n    </div>\r\n    <!--\r\n    <div class="'+
((__t=( f.getClass('privilegeBlockInfo__btnContainer') ))==null?'':__t)+
'">\r\n        <a href="/privileges/'+
((__t=(data._id))==null?'':__t)+
'/edit" class="'+
((__t=( f.getClass('btnAgree') ))==null?'':__t)+
'">\r\n            Редактировать\r\n        </a>\r\n    </div> -->\r\n</div>';
}
return __p;
}
window.renderBlocks['pages-privileges'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('privilege__head', 'privilegeHead') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('privilegeHead__privilegeList') ))==null?'':__t)+
'">\r\n        <h1 class="'+
((__t=( f.getClass('privilege__title', 'textH2', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n            Привилегии\r\n        </h1>\r\n        <div class="'+
((__t=( f.getClass('privilege__search') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock("search")  ))==null?'':__t)+
'\r\n        </div>\r\n        <a href="/privileges/add" class="'+
((__t=( f.getClass('btnAgree') ))==null?'':__t)+
'">\r\n            Добавить\r\n        </a>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('privilege__tab') ))==null?'':__t)+
'">\r\n        '+
((__t=( f.renderBlock('tab', {
            name:'_mode',
            selected: query.type || 'published',
            items:[
                {title:'Опубликованные', value:'published'},
                {title:'Неопубликованные', value:'unpublished'},
            ]
        }) ))==null?'':__t)+
'\r\n    </div>\r\n</div>\r\n\r\n<div class="'+
((__t=( f.getClass('privilege__scroll') ))==null?'':__t)+
' scrollBar">\r\n    <div class="'+
((__t=( f.getClass('privilege__scrollContainer') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('resetList', 'privilege__list') ))==null?'':__t)+
'">\r\n                '+
((__t=( f.renderBlock("list",{
                    pref:'list',
                    rowBlock:'pages-privileges.pitem',
                    params:{
                        params:{
           
                        }
                    },
                    limit:10,
                    list:'card_type_view',
                    command:'client.getList',
                })  ))==null?'':__t)+
'\r\n        </div>\r\n    </div>\r\n</div>\r\n';
}
return __p;
}
window.renderBlocks['pages-privileges.service.preview'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='    <h2 class="'+
((__t=( f.getClass('servicesImgEdit__title') ))==null?'':__t)+
'">\r\n        Обложка\r\n    </h2>\r\n    \r\n    ';
 if (data.img !== undefined) {  
__p+='\r\n        <div class="'+
((__t=( f.getClass('servicesImgEdit__container') ))==null?'':__t)+
'" style="width: 128px; height: 128px;">\r\n            <img class="'+
((__t=( f.getClass('servicesModal__img') ))==null?'':__t)+
'" src="'+
((__t=( utils.makeImageUrl(data.img) ))==null?'':__t)+
'" style="height: 100%;">\r\n        </div>\r\n    ';
 } 
__p+='\r\n\r\n    <div class="'+
((__t=( f.getClass('servicesImgEdit__btnContainer') ))==null?'':__t)+
'">\r\n        ';
 if (data.img) {  
__p+='\r\n            <button '+
((__t=( e.click('recrop')))==null?'':__t)+
'  class="'+
((__t=( f.getClass('btn-agree') ))==null?'':__t)+
'">\r\n                Изменить\r\n            </button>\r\n            <button '+
((__t=( e.click('remove')))==null?'':__t)+
'  class="'+
((__t=( f.getClass('btn-danger-empty') ))==null?'':__t)+
'">\r\n                Удалить\r\n            </button>\r\n        ';
 } else { 
__p+='\r\n            <button '+
((__t=( e.click('change')))==null?'':__t)+
' class="'+
((__t=( f.getClass('btn-agree') ))==null?'':__t)+
'">\r\n                Загрузить\r\n            </button>\r\n        ';
 } 
__p+='\r\n    </div>\r\n\r\n         \r\n\r\n\r\n<input accept="image/jpeg,image/png"  '+
((__t=( e.on('change','avatarChange') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('fileInput') ))==null?'':__t)+
'" type="file" />\r\n\r\n'+
((__t=( f.renderEmptyBlock("ImageCropper",{
    title:'Изображение профиля',
    subtitle:'Рекомендуемый размер изображения 300х300'
}) ))==null?'':__t)+
'\r\n';
}
return __p;
}
window.renderBlocks['pages-privileges.service'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';
 if (data.visible) { 
__p+='\r\n    <div class="'+
((__t=( f.getClass('eventModal') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('eventModal__container') ))==null?'':__t)+
'">\r\n            <button '+
((__t=( e.click('close')))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'eventModal__close') ))==null?'':__t)+
'" style="width: 24px; height: 24px; min-width: 24px;"  aria-label="Закрыть">\r\n                '+
((__t=( f.renderBlock('icons.i_x') ))==null?'':__t)+
'\r\n            </button>\r\n            ';
 if (data.change_templat){ 
__p+='\r\n                '+
((__t=( f.renderBlock('pages-privileges.service.templates') ))==null?'':__t)+
'\r\n            ';
 } else { 
__p+='\r\n                <div class="'+
((__t=( f.getClass('eventModal__block') ))==null?'':__t)+
'">\r\n                    <div class="'+
((__t=( f.getClass('servicesModal') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('servicesModal__head') ))==null?'':__t)+
'">\r\n\r\n                            <div class="'+
((__t=( f.getClass('servicesModal__containerHead') ))==null?'':__t)+
'">\r\n                                ';
 if (data.edit){ 
__p+='\r\n                                    <input required '+
((__t=( e.on('input', 'input', 'service.new_name') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('servicesModal__title', 'textH3', 'ColorTextPr') ))==null?'':__t)+
'" type="text" value="'+
((__t=( data.service.new_name || data.service.name ))==null?'':__t)+
'"/ placeholder="Введите название">\r\n                                    \r\n                                    <!-- <button class="'+
((__t=( f.getClass('resetBtn', 'servicesModal__editTitle') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                                        ';
 f.renderBlock('icons.i_pen') 
__p+='\r\n                                    </button> -->\r\n                                ';
 } else { 
__p+='\r\n                                    <h2 class="'+
((__t=( f.getClass('servicesModal__headImg', 'textH3') ))==null?'':__t)+
'">\r\n                                        '+
((__t=( data.service.name ))==null?'':__t)+
'\r\n                                    </h2>\r\n                                ';
 } 
__p+='\r\n                                \r\n\r\n                            </div>\r\n                            ';
 if (!data.edit){ 
__p+='\r\n                                <button '+
((__t=( e.click('edit', true) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnSmallLight') ))==null?'':__t)+
'">\r\n                                    Редактировать\r\n                                </button>\r\n                            ';
 } 
__p+='\r\n\r\n                        </div>\r\n                        <div class="'+
((__t=( f.getClass('servicesModal__scroll') ))==null?'':__t)+
'">\r\n                            <div class="'+
((__t=( f.getClass('servicesModal__scrollContainer') ))==null?'':__t)+
'">\r\n                                <div class="'+
((__t=( f.getClass('servicesModal__section') ))==null?'':__t)+
'">\r\n\r\n                                ';
 if (!data.event) { 
__p+='\r\n                                    ';
 if (data.edit){ 
__p+='\r\n\r\n                                        \r\n                                        <div class="'+
((__t=( f.getClass('servicesModal__select', 'servicesModalSelect', 'bottomSpace24') ))==null?'':__t)+
'">\r\n                                            <h3 class="'+
((__t=( f.getClass('servicesModalSelect__text') ))==null?'':__t)+
'">\r\n                                                Метка\r\n                                            </h3>\r\n                                            <div class="'+
((__t=( f.getClass('servicesModalSelect__select') ))==null?'':__t)+
'">\r\n                                                '+
((__t=( f.renderBlock('select_50',{
                                                    key:'_type',
                                                    default:3,
                                                    selected: data.service?.new_type?._id ||  +data.service.service_type_id || 3,
                                                    items: data.types.map(type => {
                                                        return {name: type.name ,value: +type._id}
                                                    })
                                                }) ))==null?'':__t)+
'\r\n                                            </div>\r\n                                        </div>\r\n                                    ';
 } else { 
__p+='\r\n                                        <div class="'+
((__t=( f.getClass('servicesModal__subhead', 'bottomSpace12') ))==null?'':__t)+
'">\r\n                                            <h3 class="'+
((__t=( f.getClass('servicesModal__tag', 'tag') ))==null?'':__t)+
'">\r\n                                                '+
((__t=( data.type.name ))==null?'':__t)+
'\r\n                                            </h3>\r\n                                        </div>\r\n\r\n                                    ';
 } 
__p+='\r\n                                ';
 } 
__p+='\r\n                                    \r\n                                    \r\n                                    ';
 if (data.edit){ 
__p+='\r\n                                        <div class="'+
((__t=( f.getClass('servicesModal__textContainer', 'bottomSpace24') ))==null?'':__t)+
'">\r\n                                            '+
((__t=( f.renderBlock('pages-privileges.service.preview', data.need_load_image_data ? data.need_load_image_data : {
                                                img: data.service.img,
                                                pref:'preview'
                                            }) ))==null?'':__t)+
'\r\n                                        </div>\r\n                                    ';
 } else { 
__p+='\r\n                                        <div class="'+
((__t=( f.getClass('servicesModal__imgContainer', 'bottomSpace16') ))==null?'':__t)+
'" style="width: 128px; height: 128px;">\r\n                                            <img class="'+
((__t=( f.getClass('servicesModal__img') ))==null?'':__t)+
'" src="'+
((__t=( utils.makeImageUrl(data.service.img)))==null?'':__t)+
'" alt="" style="height: 100%;">\r\n                                        </div>\r\n            \r\n                                        ';
 if (data.service.description){ 
__p+='\r\n                                            <div class="'+
((__t=( f.getClass('servicesModal__textContainer', 'bottomSpace24') ))==null?'':__t)+
'">\r\n                                                <p class="'+
((__t=( f.getClass('servicesModal__text', 'textM', 'ColorTextPr') ))==null?'':__t)+
'">\r\n                                                    '+
((__t=( data.service.description ))==null?'':__t)+
'\r\n                                                </p>\r\n                                            </div>\r\n                                        ';
 } 
__p+='\r\n\r\n                                        ';
 if (data.service.subtitle){ 
__p+='\r\n                                            <div class="'+
((__t=( f.getClass('servicesModal__textContainer', 'bottomSpace16') ))==null?'':__t)+
'">\r\n                                                <h3 class="'+
((__t=( f.getClass('servicesModal__text', 'textM', 'ColorTextPr') ))==null?'':__t)+
'">\r\n                                                    '+
((__t=( data.service.subtitle ))==null?'':__t)+
'\r\n                                                </h3>\r\n                                            </div>\r\n                                        ';
 } 
__p+='\r\n\r\n                                        ';
 if (data.service.site){ 
__p+='\r\n                                            <div class="'+
((__t=( f.getClass('servicesModal__block', 'servicesModalBlock', 'bottomSpace8') ))==null?'':__t)+
'">\r\n                                                <h4 class="'+
((__t=( f.getClass('servicesModalBlock__subtitle') ))==null?'':__t)+
'">\r\n                                                    Сайт\r\n                                                </h4>\r\n                                                <p class="'+
((__t=( f.getClass('servicesModalBlock__input') ))==null?'':__t)+
'">\r\n                                                    '+
((__t=( data.service.site ))==null?'':__t)+
'\r\n                                                </p>\r\n                                            </div>\r\n                                        ';
 } 
__p+='\r\n\r\n                                        ';
 if (data.service.discount){ 
__p+='\r\n                                            <div class="'+
((__t=( f.getClass('servicesModal__block', 'servicesModalBlock', 'bottomSpace8') ))==null?'':__t)+
'">\r\n                                                <h4 class="'+
((__t=( f.getClass('servicesModalBlock__subtitle') ))==null?'':__t)+
'">\r\n                                                    Скидка\r\n                                                </h4>\r\n                                                <p class="'+
((__t=( f.getClass('servicesModalBlock__input') ))==null?'':__t)+
'">\r\n                                                    '+
((__t=( data.service.discount ))==null?'':__t)+
'%\r\n                                                </p>\r\n                                            </div>\r\n                                        ';
 } 
__p+='\r\n                                    ';
 } 
__p+='\r\n\r\n                                    ';
 if (data.edit){ 
__p+='\r\n                                        ';
 if (!data.event){ 
__p+='\r\n                                            <div class="'+
((__t=( f.getClass('servicesModal__description', 'servicesDescription') ))==null?'':__t)+
'">\r\n                                                <h3 class="'+
((__t=( f.getClass('servicesDescription__title') ))==null?'':__t)+
'">\r\n                                                    Описание\r\n                                                </h3>\r\n                                                <textarea required '+
((__t=( e.on('input', 'input', 'service.new_description') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('servicesDescription__input', 'input48') ))==null?'':__t)+
'" name="" id="">'+
((__t=( data.service.new_description || data.service.description ))==null?'':__t)+
'</textarea>\r\n                                            </div>\r\n\r\n                                            <div class="'+
((__t=( f.getClass('servicesModal__description', 'servicesDescription') ))==null?'':__t)+
'">\r\n                                                <h3 class="'+
((__t=( f.getClass('servicesDescription__title') ))==null?'':__t)+
'">\r\n                                                    Краткое описание\r\n                                                </h3>\r\n                                                <textarea required '+
((__t=( e.on('input', 'input', 'service.new_subtitle') ))==null?'':__t)+
'фываыва class="'+
((__t=( f.getClass('servicesDescription__input', 'input48') ))==null?'':__t)+
'" name="" id="">'+
((__t=( data.service.new_subtitle || data.service.subtitle ))==null?'':__t)+
'</textarea>\r\n                                            </div>\r\n\r\n                                            <div class="'+
((__t=( f.getClass('servicesModal__description', 'servicesDescription') ))==null?'':__t)+
'">\r\n                                                <h3 class="'+
((__t=( f.getClass('servicesDescription__title') ))==null?'':__t)+
'">\r\n                                                    Сайт (если есть)\r\n                                                </h3>\r\n                                                <input '+
((__t=( e.on('input', 'input', 'service.new_site') ))==null?'':__t)+
' type="text" value="'+
((__t=( data.service.new_site ||  data.service.site ))==null?'':__t)+
'" class="'+
((__t=( f.getClass('servicesSite_input', 'input40') ))==null?'':__t)+
'"/>\r\n                                            </div>\r\n\r\n                                            <div class="'+
((__t=( f.getClass('servicesModal__description', 'servicesDescription') ))==null?'':__t)+
'">\r\n                                                <h3 class="'+
((__t=( f.getClass('servicesDescription__title') ))==null?'':__t)+
'">\r\n                                                    Скидка (если есть)\r\n                                                </h3>\r\n                                                <input '+
((__t=( e.on('input', 'input', 'service.new_discount') ))==null?'':__t)+
' type="text" value="'+
((__t=( data.service.new_discount || data.service.discount ))==null?'':__t)+
'" class="'+
((__t=( f.getClass('servicesSite_input', 'input40') ))==null?'':__t)+
'"/>\r\n                                            </div>\r\n                                        ';
 } 
__p+='\r\n                                    ';
 } 
__p+='\r\n                                    \r\n                                    <div class="'+
((__t=( f.getClass('servicesModal__block', 'servicesModalBlock', 'bottomSpace8') ))==null?'':__t)+
'">\r\n                                        <h4 class="'+
((__t=( f.getClass('servicesModalBlock__subtitle') ))==null?'':__t)+
'">\r\n                                            Шаблон\r\n                                        </h4>\r\n                                            ';
 if (data.request_template) { 
__p+='\r\n\r\n                                        <p class="'+
((__t=( f.getClass('servicesModalBlock__input') ))==null?'':__t)+
'">\r\n                                            '+
((__t=( data.request_template.title ))==null?'':__t)+
'\r\n                                        </p>\r\n\r\n                                        ';
 if (data.edit){ 
__p+='\r\n                                            <button class="'+
((__t=( f.getClass('btnAgreeMain') ))==null?'':__t)+
'" '+
((__t=( e.click('changeRequestTemplate') ))==null?'':__t)+
'>Изменить</button>\r\n                                        ';
 } 
__p+='\r\n\r\n                                    </div>\r\n                                    \r\n                                    <div class="'+
((__t=( f.getClass('servicesModal__block', 'servicesModalBlock', 'bottomSpace8') ))==null?'':__t)+
'">\r\n                                        <h4 class="'+
((__t=( f.getClass('servicesModalBlock__subtitle') ))==null?'':__t)+
'">\r\n                                            Template\r\n                                        </h4>\r\n                                        <p class="'+
((__t=( f.getClass('servicesModalBlock__input') ))==null?'':__t)+
'">\r\n                                            '+
((__t=( data.request_template.template ))==null?'':__t)+
'\r\n                                        </p>\r\n                                        ';
 } else { 
__p+='\r\n                                            ';
 if (data.edit){ 
__p+='\r\n                                                <div class="'+
((__t=( f.getClass('servicesModalBlock__btnContainer') ))==null?'':__t)+
'">\r\n                                                    <button class="'+
((__t=( f.getClass('btnNeutralTwo') ))==null?'':__t)+
'" '+
((__t=( e.click('changeRequestTemplate') ))==null?'':__t)+
'>Выбрать шаблон</button>\r\n                                                </div>\r\n                                            ';
 } else { 
__p+='\r\n                                                <p class="'+
((__t=( f.getClass('servicesModalBlock__input') ))==null?'':__t)+
'">\r\n                                                    Шаблон не указон\r\n                                                </p>\r\n                                            ';
 } 
__p+='\r\n                                        ';
 } 
__p+='\r\n                                    </div>\r\n                                </div>\r\n\r\n                                ';
 if (data.request_template) { 
__p+='\r\n                                    ';
 if (Object.keys(data.request_template.payload).length > 0) { 
__p+='\r\n                                        <div class="'+
((__t=( f.getClass('servicesModal__section', 'servicesModalSection') ))==null?'':__t)+
'">\r\n                                                <h3 class="'+
((__t=( f.getClass('servicesModalSection__title', 'textM', 'ColorTextPr') ))==null?'':__t)+
'">\r\n                                                    Значения шаблона\r\n                                                </h3>\r\n                                                ';
 const payloadKeys = Object.keys(data.request_template.payload); 
__p+='\r\n\r\n                                                ';
 for (let index = 0; index < payloadKeys.length; index++) {
                                                    const k = payloadKeys[index];
                                                    const value = data.request_template.payload[k]
                                                
                                                
__p+='\r\n\r\n                                                    <div class="'+
((__t=( f.getClass('servicesModal__block', 'servicesModalBlock', 'bottomSpace8') ))==null?'':__t)+
'">\r\n                                                        <h4 class="'+
((__t=( f.getClass('servicesModalBlock__subtitle') ))==null?'':__t)+
'">\r\n                                                            '+
((__t=( k ))==null?'':__t)+
'\r\n                                                        </h4>\r\n                                                        <p class="'+
((__t=( f.getClass('servicesModalBlock__input') ))==null?'':__t)+
'">\r\n                                                            '+
((__t=( value ))==null?'':__t)+
'\r\n                                                        </p>\r\n                                                    </div>\r\n\r\n                                                ';
 } 
__p+='\r\n\r\n                                        </div>\r\n                                    ';
 } 
__p+='\r\n\r\n                                    ';
 if ((data.request_template.fields || []).length > 0) { 
__p+='\r\n                                        <div class="'+
((__t=( f.getClass('servicesModal__section', 'servicesModalSection') ))==null?'':__t)+
'">\r\n                                            <h3 class="'+
((__t=( f.getClass('servicesModalSection__title', 'textM', 'ColorTextPr') ))==null?'':__t)+
'">\r\n                                                Поля шаблона\r\n                                            </h3>\r\n\r\n                                            ';
 for (let index = 0; index < data.request_template.fields.length; index++) {
                                                const field = data.request_template.fields[index];
                                            
__p+='\r\n\r\n                                                <div class="'+
((__t=( f.getClass('servicesModal__block', 'servicesModalBlock', 'bottomSpace8') ))==null?'':__t)+
'">\r\n                                                    <h4 class="'+
((__t=( f.getClass('servicesModalBlock__subtitle') ))==null?'':__t)+
'">\r\n                                                        '+
((__t=( field.name  ))==null?'':__t)+
'\r\n                                                    </h4>\r\n                                                    <p class="'+
((__t=( f.getClass('servicesModalBlock__input') ))==null?'':__t)+
'">\r\n                                                        '+
((__t=( field.label ))==null?'':__t)+
'\r\n                                                    </p>\r\n                                                    <p class="'+
((__t=( f.getClass('servicesModalBlock__input') ))==null?'':__t)+
'">\r\n                                                        '+
((__t=( field.value ))==null?'':__t)+
'\r\n                                                    </p>\r\n                                                </div>\r\n\r\n                                            ';
 } 
__p+='\r\n                                        </div>\r\n                                    ';
 } 
__p+='\r\n                                ';
 } 
__p+='\r\n                                ';
 if (data.edit){ 
__p+='\r\n                                    <div class="'+
((__t=( f.getClass('servicesModalSection', 'servicesModalBlock', 'servicesModal_toggle', 'toggle') ))==null?'':__t)+
'">\r\n                                        '+
((__t=( f.renderBlock('checkInputs.checkToggle', { 
                                            label: 'Техническая услуга',
                                            description: 'Недоступна для просмотра клиенту',
                                            click: [e.click, 'changeTechSwitch'],
                                            checked: !!data.service.technical

                                        } ) ))==null?'':__t)+
'\r\n                                    </div>\r\n                                ';
 } 
__p+='\r\n                            </div>\r\n                        </div>\r\n                        \r\n                        ';
 if (data.edit){ 
__p+='\r\n                            <div class="'+
((__t=( f.getClass('eventModal__editMenu') ))==null?'':__t)+
'">\r\n                                ';
 if (data.create !== true){ 
__p+='\r\n                                    <button '+
((__t=( e.click('cancelEdit') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnNeutral') ))==null?'':__t)+
'">\r\n                                        Отмена\r\n                                    </button>\r\n                                ';
 } else { 
__p+='\r\n                                    <button '+
((__t=( e.click('close') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnNeutral') ))==null?'':__t)+
'">\r\n                                        Закрыть\r\n                                    </button>\r\n                                ';
 } 
__p+='\r\n                                \r\n                                <button '+
((__t=( e.click('upsert') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnAgreeMain') ))==null?'':__t)+
'">\r\n                                    ';
 if (data.service._id) { 
__p+='\r\n                                        Изменить\r\n                                    ';
 } else { 
__p+='\r\n                                        Добавить\r\n                                    ';
 } 
__p+='\r\n                                </button>\r\n                            </div>\r\n                        ';
 } else { 
__p+='\r\n                            <div class="'+
((__t=( f.getClass('eventModal__editMenu') ))==null?'':__t)+
'">\r\n                                '+
((__t=( f.renderBlock('modalUniversal.modalAgree',{pref:'modal'}) ))==null?'':__t)+
'\r\n                                <button '+
((__t=( e.click('wantRemove') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnCancel') ))==null?'':__t)+
'">\r\n                                    Удалить\r\n                                </button>\r\n                            </div>\r\n                        ';
 } 
__p+='\r\n\r\n                    </div>\r\n                </div>\r\n            ';
 } 
__p+='\r\n        </div>\r\n    </div>\r\n\r\n\r\n';
 } 
__p+='';
}
return __p;
}
window.renderBlocks['pages-privileges.service.templates.item'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('servicesModalT__item', 'servicesBlock') ))==null?'':__t)+
'">\r\n    <button '+
((__t=( e.click('select', data) ))==null?'':__t)+
' class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__btn') ))==null?'':__t)+
'">\r\n        '+
((__t=( data.title))==null?'':__t)+
'\r\n    </button>\r\n    <!-- Класс добавлено в избранное opacityVisible \r\n    <button class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__favorite', 'opacityVisible') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('resetBtn', 'servicesBlock__container') ))==null?'':__t)+
'" style="position: relative;">\r\n            <div class="'+
((__t=( f.getClass('servicesBlock__img01') ))==null?'':__t)+
'" style="width: 20px; height: 20px;">\r\n                '+
((__t=( f.renderBlock('icons.i_star') ))==null?'':__t)+
'\r\n            </div>\r\n            <div class="'+
((__t=( f.getClass('servicesBlock__img02') ))==null?'':__t)+
'" style="position: absolute; top: 0; width: 20px; height: 20px;">\r\n                '+
((__t=( f.renderBlock('icons.i_star-fill') ))==null?'':__t)+
'\r\n            </div>\r\n        </div>\r\n    </button> -->\r\n</div>';
}
return __p;
}
window.renderBlocks['pages-privileges.service.templates'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='    <div class="'+
((__t=( f.getClass('servicesModalT__head') ))==null?'':__t)+
'">\r\n        <h2 class="'+
((__t=( f.getClass('servicesModalT__title', 'textH3', 'ColorTextPr') ))==null?'':__t)+
'">\r\n            Выберите шаблон\r\n        </h2>\r\n        <div class="'+
((__t=( f.getClass('servicesModalT__iput', 'servicesModalTIput') ))==null?'':__t)+
'">\r\n            <input '+
((__t=( e.on('input','search')))==null?'':__t)+
' class="'+
((__t=( f.getClass('input48', 'servicesModalTIput__input') ))==null?'':__t)+
'" type="text" placeholder="Найти">\r\n            <div class="'+
((__t=( f.getClass('servicesModalTIput__img') ))==null?'':__t)+
'" style="width: 20px; min-width: 20px; height: 20px;">\r\n                '+
((__t=( f.renderBlock('icons.i_search') ))==null?'':__t)+
'\r\n            </div>\r\n        </div>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('servicesModalT__scroll') ))==null?'':__t)+
' scrollBar">\r\n        <div class="'+
((__t=( f.getClass('servicesModalT__scrollContainer') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('resetList', 'servicesModalT__list') ))==null?'':__t)+
'">\r\n                '+
((__t=( f.renderBlock("list",{
                    pref:'list',
                    emptyText:'Открытых сессий нет',
                    rowBlock:'pages-privileges.service.templates.item',
                    params:{
                    },
                    limit:12,
                    autoLoad:true,
                    command:'request_template.getList',
                })  ))==null?'':__t)+
' \r\n            </div>\r\n        </div>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('servicesModalT__btnContainer') ))==null?'':__t)+
'">\r\n        <button class="'+
((__t=( f.getClass('btnNeutral') ))==null?'':__t)+
'">\r\n            Отмена\r\n        </button>\r\n    </div>\r\n';
}
return __p;
}
window.renderBlocks['pages-profile'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='    <div class="'+
((__t=( f.getClass('authProfile__header', 'authProfileHeader') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('resetBtn', 'authProfileHeader__btnBack') ))==null?'':__t)+
'">\r\n            <h1 class="'+
((__t=( f.getClass('authProfileHeader__title') ))==null?'':__t)+
'">\r\n                Профиль\r\n            </h1>\r\n        </div>\r\n        ';
 if (!data.edit){ 
__p+='\r\n            <button '+
((__t=( e.click('edit') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnEdit') ))==null?'':__t)+
'">\r\n                Редактировать\r\n            </button>\r\n        ';
 } else { 
__p+='\r\n    \r\n        ';
 } 
__p+='\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('authProfile__main') ))==null?'':__t)+
' scrollBar">\r\n\r\n\r\n        <div class="'+
((__t=( f.getClass('authProfile__container') ))==null?'':__t)+
'" method="POST">\r\n            <div class="'+
((__t=( f.getClass('authProfile__section') ))==null?'':__t)+
'">\r\n                <p class="'+
((__t=( f.getClass('authProfile__info') ))==null?'':__t)+
'">\r\n                    Информация с этой страницы отображается только для операторов, клиенты не видят этой информации\r\n                </p>\r\n            </div>\r\n\r\n            ';
 if (data.edit){ 
__p+='\r\n            \r\n            <div class="'+
((__t=( f.getClass('authProfile__form') ))==null?'':__t)+
'" method="POST">\r\n                <div class="'+
((__t=( f.getClass('authProfile__section') ))==null?'':__t)+
'">\r\n                    <h2 class="'+
((__t=( f.getClass('authProfile__subtitle') ))==null?'':__t)+
'">\r\n                        Личная информация\r\n                    </h2>\r\n                    <ul class="'+
((__t=( f.getClass('resetList', 'authProfile__list') ))==null?'':__t)+
'">\r\n                        <li class="'+
((__t=( f.getClass('authProfile__item') ))==null?'':__t)+
'">\r\n                            <label class="'+
((__t=( f.getClass('input') ))==null?'':__t)+
'">\r\n                                Имя\r\n                                <input required '+
((__t=( e.on('input', 'onInputChange', 'first_name') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('input__input') ))==null?'':__t)+
'" type="text" value="'+
((__t=( data.first_name ))==null?'':__t)+
'" placeholder="Введите текст">\r\n                            </label>\r\n                        </li>\r\n                        <li class="'+
((__t=( f.getClass('authProfile__item') ))==null?'':__t)+
'">\r\n                            <label class="'+
((__t=( f.getClass('input') ))==null?'':__t)+
'">\r\n                                Фамилия\r\n                                <input required '+
((__t=( e.on('input', 'onInputChange', 'last_name') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('input__input') ))==null?'':__t)+
'" type="text"  value="'+
((__t=( data.last_name ))==null?'':__t)+
'" placeholder="Введите текст">\r\n                            </label>\r\n                        </li>\r\n                    </ul>\r\n                </div>\r\n                <div class="'+
((__t=( f.getClass('authProfile__section') ))==null?'':__t)+
'">\r\n                    <h2 class="'+
((__t=( f.getClass('authProfile__subtitle') ))==null?'':__t)+
'">\r\n                        Контактная информация\r\n                    </h2>\r\n                    <ul class="'+
((__t=( f.getClass('resetList', 'authProfile__list') ))==null?'':__t)+
'">\r\n                        <li class="'+
((__t=( f.getClass('authProfile__item') ))==null?'':__t)+
'">\r\n                            <label class="'+
((__t=( f.getClass('input') ))==null?'':__t)+
'">\r\n                                Электронная почта (логин)\r\n                                <input required '+
((__t=( e.on('input', 'onInputChange', 'email') ))==null?'':__t)+
'   value="'+
((__t=( data.email ))==null?'':__t)+
'" class="'+
((__t=( f.getClass('input__input') ))==null?'':__t)+
'" type="email" placeholder="Введите текст">\r\n                            </label>\r\n                        </li>\r\n                        <li class="'+
((__t=( f.getClass('authProfile__item') ))==null?'':__t)+
'">\r\n                            <label class="'+
((__t=( f.getClass('input') ))==null?'':__t)+
'">\r\n                                Номер телефона\r\n                                <input required '+
((__t=( e.on('input', 'onInputChange', 'phone_number') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('input__input') ))==null?'':__t)+
'" value="'+
((__t=( data.phone_number ))==null?'':__t)+
'" type="tel" placeholder="Введите текст">\r\n                            </label>\r\n                        </li>\r\n                    </ul>\r\n                </div>\r\n            </div>\r\n            ';
 } else { 
__p+='\r\n            \r\n            <div class="'+
((__t=( f.getClass('authProfile__form') ))==null?'':__t)+
'" method="POST">\r\n                <div class="'+
((__t=( f.getClass('authProfile__section') ))==null?'':__t)+
'">\r\n                    <h2 class="'+
((__t=( f.getClass('authProfile__subtitle') ))==null?'':__t)+
'">\r\n                        Личная информация\r\n                    </h2>\r\n                    <ul class="'+
((__t=( f.getClass('resetList', 'authProfile__list') ))==null?'':__t)+
'">\r\n                        <li class="'+
((__t=( f.getClass('authProfile__item') ))==null?'':__t)+
'">\r\n                            <div class="'+
((__t=( f.getClass('authProfile__block', 'authProfileblock') ))==null?'':__t)+
'">\r\n                                <h3 class="'+
((__t=( f.getClass('authProfileblock__title') ))==null?'':__t)+
'">\r\n                                    Имя\r\n                                </h3>\r\n                                <p class="'+
((__t=( f.getClass('authProfileblock__text') ))==null?'':__t)+
'">\r\n                                    '+
((__t=( data.first_name ))==null?'':__t)+
'\r\n                                </p>\r\n                            </div>\r\n                        </li>\r\n                        <li class="'+
((__t=( f.getClass('authProfile__item') ))==null?'':__t)+
'">\r\n                            <div class="'+
((__t=( f.getClass('authProfile__block', 'authProfileblock') ))==null?'':__t)+
'">\r\n                                <h3 class="'+
((__t=( f.getClass('authProfileblock__title') ))==null?'':__t)+
'">\r\n                                    Фамилия\r\n                                </h3>\r\n                                <p class="'+
((__t=( f.getClass('authProfileblock__text') ))==null?'':__t)+
'">\r\n                                    '+
((__t=( data.last_name ))==null?'':__t)+
'\r\n                                </p>\r\n                            </div>\r\n                        </li>\r\n                    </ul>\r\n                </div>\r\n                <div class="'+
((__t=( f.getClass('authProfile__section') ))==null?'':__t)+
'">\r\n                    <h2 class="'+
((__t=( f.getClass('authProfile__subtitle') ))==null?'':__t)+
'">\r\n                        Контактная информация\r\n                    </h2>\r\n                    <ul class="'+
((__t=( f.getClass('resetList', 'authProfile__list') ))==null?'':__t)+
'">\r\n                        <li class="'+
((__t=( f.getClass('authProfile__item') ))==null?'':__t)+
'">\r\n                            <div class="'+
((__t=( f.getClass('authProfile__block', 'authProfileblock') ))==null?'':__t)+
'">\r\n                                <h3 class="'+
((__t=( f.getClass('authProfileblock__title') ))==null?'':__t)+
'">\r\n                                    Электронная почта (логин)\r\n                                </h3>\r\n                                <p class="'+
((__t=( f.getClass('authProfileblock__text') ))==null?'':__t)+
'">\r\n                                    '+
((__t=( data.email ))==null?'':__t)+
'\r\n                                </p>\r\n                            </div>\r\n                        </li>\r\n                        <li class="'+
((__t=( f.getClass('authProfile__item') ))==null?'':__t)+
'">\r\n                            <div class="'+
((__t=( f.getClass('authProfile__block', 'authProfileblock') ))==null?'':__t)+
'">\r\n                                <h3 class="'+
((__t=( f.getClass('authProfileblock__title') ))==null?'':__t)+
'">\r\n                                    Номер телефона\r\n                                </h3>\r\n                                <p class="'+
((__t=( f.getClass('authProfileblock__text') ))==null?'':__t)+
'">\r\n                                    '+
((__t=( data.phone_number))==null?'':__t)+
'\r\n                                </p>\r\n                            </div>\r\n                        </li>\r\n                    </ul>\r\n                </div>\r\n                <div class="'+
((__t=( f.getClass('authProfile__section') ))==null?'':__t)+
'">\r\n                    <h2 class="'+
((__t=( f.getClass('authProfile__subtitle') ))==null?'':__t)+
'">\r\n                        Отображение\r\n                    </h2>\r\n                    <div class="'+
((__t=( f.getClass('authProfile__bigBlock') ))==null?'':__t)+
'">\r\n                        <div class="'+
((__t=( f.getClass('authProfile__tab') ))==null?'':__t)+
'">\r\n                            '+
((__t=( f.renderBlock('checkInputs.checkToggle',{
                                label:'Темная тема', 
                                checked: context.theme !== 'light',
                                click: [e.click, 'changeThemeSwitch'],
                            }) ))==null?'':__t)+
'\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n                <div class="'+
((__t=( f.getClass('authProfile__section') ))==null?'':__t)+
'">\r\n                    <h2 class="'+
((__t=( f.getClass('authProfile__subtitle') ))==null?'':__t)+
'">\r\n                        Безопасность\r\n                    </h2>\r\n                    <div class="'+
((__t=( f.getClass('authProfile__btnContaner') ))==null?'':__t)+
'">\r\n                        <button '+
((__t=( e.click('changePassword')))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnEdit') ))==null?'':__t)+
'">\r\n                            Сменить пароль\r\n                        </button>\r\n                    </div>\r\n                </div>\r\n                <div class="'+
((__t=( f.getClass('authProfile__btnExit') ))==null?'':__t)+
'">\r\n                    <button '+
((__t=( e.click('exit')))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnAgreeBig') ))==null?'':__t)+
'">\r\n                        Выйти\r\n                    </button>\r\n                </div>\r\n            </div>\r\n            ';
 } 
__p+='\r\n        </div>\r\n    </div>\r\n    ';
 if (data.edit){ 
__p+='\r\n        <div class="'+
((__t=( f.getClass('authProfile__menu') ))==null?'':__t)+
'">\r\n            <button '+
((__t=( e.click('cancelEdit') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnNeutral') ))==null?'':__t)+
'">\r\n                Отмена\r\n            </button>\r\n            <button '+
((__t=( e.click('save') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnAgree') ))==null?'':__t)+
'">\r\n                Сохранить\r\n            </button>\r\n        </div>  \r\n    ';
 } 
__p+='\r\n\r\n\r\n'+
((__t=( f.renderBlock('operators.modalPass', {pref:'modalPass', _id: data._id}) ))==null?'':__t)+
'';
}
return __p;
}
window.renderBlocks['pages-receipts.add'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';
 if (data.loaded){ 
__p+='\r\n    <div class="'+
((__t=( f.getClass('ivent__head', 'iventHead') ))==null?'':__t)+
'">\r\n        \r\n\r\n        <div class="'+
((__t=( f.getClass('iventHead__eventList') ))==null?'':__t)+
'">\r\n            <a class="'+
((__t=( f.getClass('resetLink', 'editIventHead') ))==null?'':__t)+
'" href="/requests/'+
((__t=( data.request._id ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('editIventHead__img') ))==null?'':__t)+
'" style="height: 24px; width: 24px; min-width: 24px;">\r\n                    '+
((__t=( f.renderBlock('icons.i_chevron-left') ))==null?'':__t)+
'\r\n                </div>\r\n                <h1 class="'+
((__t=( f.getClass('editIventHead__title', 'textH2', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                    Создать счёт\r\n                </h1>\r\n            </a>\r\n        </div>\r\n        \r\n    </div>\r\n\r\n    <div class="'+
((__t=( f.getClass('ivent__main') ))==null?'':__t)+
'">\r\n        '+
((__t=( f.renderBlock('receipts.edit',{client: data.client, request: data.request, handler: e, new_invoice: data.new_invoice}) ))==null?'':__t)+
'\r\n    </div>\r\n';
 } else { 
__p+='\r\n    <!-- <div class="'+
((__t=( f.getClass('loadContainer') ))==null?'':__t)+
'">\r\n        '+
((__t=( f.renderBlock('loaderBarTwo') ))==null?'':__t)+
'\r\n    </div> -->\r\n';
 } 
__p+='';
}
return __p;
}
window.renderBlocks['pages-receipts.item'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';
 if (data.loaded){ 
__p+='\r\n    <div class="'+
((__t=( f.getClass('ivent__head', 'iventHead') ))==null?'':__t)+
'">\r\n        \r\n        <div class="'+
((__t=( f.getClass('iventHead__eventList') ))==null?'':__t)+
'">\r\n            <a class="'+
((__t=( f.getClass('resetLink', 'editIventHead') ))==null?'':__t)+
'" href="/receipts">\r\n                <div class="'+
((__t=( f.getClass('editIventHead__img') ))==null?'':__t)+
'" style="height: 24px; width: 24px; min-width: 24px;">\r\n                    '+
((__t=( f.renderBlock('icons.i_chevron-left') ))==null?'':__t)+
'\r\n                </div>\r\n                <h1 class="'+
((__t=( f.getClass('textH2', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                    '+
((__t=( data.receipt.comment ))==null?'':__t)+
'\r\n                </h1>\r\n            </a>\r\n            <a class="'+
((__t=( f.getClass('btnAgreeLight') ))==null?'':__t)+
'" href="/chats/'+
((__t=( data.receipt.cl_id ))==null?'':__t)+
'">\r\n                Открыть чат\r\n            </a>\r\n        </div>\r\n        \r\n    </div>\r\n\r\n    <div class="'+
((__t=( f.getClass('ivent__main') ))==null?'':__t)+
'">\r\n        '+
((__t=( f.renderBlock('receipts.item', {receipt: data.receipt, phone: data.client.phone_number, email: data.client.email, handler: e }) ))==null?'':__t)+
'\r\n    </div>\r\n';
 } else { 
__p+='\r\n    <div class="'+
((__t=( f.getClass('loadContainer') ))==null?'':__t)+
'">\r\n        '+
((__t=( f.renderBlock('loaderBarTwo') ))==null?'':__t)+
'\r\n    </div>\r\n';
 } 
__p+='';
}
return __p;
}
window.renderBlocks['pages-receipts'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('requests__head', 'requestsHead') ))==null?'':__t)+
'">\r\n    \r\n    <div class="'+
((__t=( f.getClass('requestsHead__requestsList') ))==null?'':__t)+
'">\r\n        <h1 class="'+
((__t=( f.getClass('requests__title', 'textH2', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n            Счета\r\n        </h1>\r\n        <div class="'+
((__t=( f.getClass('requestsHead__search') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock('search')  ))==null?'':__t)+
'\r\n        </div>\r\n    </div>\r\n\r\n    <div class="'+
((__t=( f.getClass('requests__tab') ))==null?'':__t)+
'">\r\n        '+
((__t=( f.renderBlock('tab', {
            name:'_receipts_mode',
            selected: query.type || 'all',
            items:[
                {title:'Все', value:'all'},
                {title:'Ожидают оплаты', value:'awaiting'},
                {title:'Оплачены', value:'paid'},
            ]
        }) ))==null?'':__t)+
'\r\n    </div>\r\n    \r\n</div>\r\n<div class="'+
((__t=( f.getClass('requests__main') ))==null?'':__t)+
'">\r\n    '+
((__t=( f.renderBlock("table",{
        pref:'table',
        params:{
            sorting: [
                {field: 'created_at', order: 'desc'}
            ],
        },
        limit:10,
        list:'invoice_view',
        command:'invoice.getList',
        columns:[
            {
                title: 'Статус',
                key:'status',
                col_class:'column07',
                type:'status',
                options:{
                    'class_name':'INVStatus',
                    'alias':{
                        '':['Ожидает', 'bageAccent'],
                        'Removed':['Отменён', 'bage' ],
                        'Paid':['Оплачен','bagePositive'],
                        'SubscriptionPayment':['Подписка','bagePositive'],
                    }
                }
            },
            {
                title: 'Запрос',
                key:'comment',
                col_class:'column02',
                type:'title'
            },

            {
                title: 'Клиент',
                key:['client_first_name', 'client_last_name'],
                col_class:'column05',
                type:'fewWords'
            },

            {
                title: 'Сумма',
                key:'amount_text',
                col_class:'column05',
                type:'title'
            },

            {
                title: 'Дата изменения',
                key:'_timestamp',
                col_class:'column04',
                type:'datetime',
                options:{
                    format:'D MMMM YYYY'
                }
            },    
        ]
    })  ))==null?'':__t)+
'\r\n</div>\r\n'+
((__t=( f.renderBlock('requests.requestsModal') ))==null?'':__t)+
'';
}
return __p;
}
window.renderBlocks['pages-requests.item'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='    ';
 if (data.loaded){ 
__p+='\r\n    <div class="'+
((__t=( f.getClass('requests__head', 'requestsHead') ))==null?'':__t)+
'">\r\n        \r\n        <div class="'+
((__t=( f.getClass('requestsHead__requestsList') ))==null?'':__t)+
'">\r\n            <a href="/requests" class="'+
((__t=( f.getClass('resetBtn', 'requestsHead__btn') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('requestsHead__btnImg') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                    '+
((__t=( f.renderBlock('icons.i_chevron-left') ))==null?'':__t)+
'\r\n                </div>\r\n                <h1 class="'+
((__t=( f.getClass('requests__title', 'textH2', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                    '+
((__t=( data.request.title ))==null?'':__t)+
'\r\n                </h1>\r\n            </a>\r\n\r\n\r\n            ';
 if (!data.request.status) { 
__p+='\r\n                <button '+
((__t=( e.click('take') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnAgree') ))==null?'':__t)+
'">\r\n                   Взять в работу\r\n                </button>\r\n            ';
 } else if (RQStatus.prototype.isConfirmed(data.request.status) && !RQStatus.prototype.isCanceled(data.request.status) && !RQStatus.prototype.isCompleted(data.request.status)){  
__p+='\r\n                <button '+
((__t=( e.click('completed') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnAgree') ))==null?'':__t)+
'">\r\n                    Запрос выполнен\r\n                </button>\r\n                <button '+
((__t=( e.click('unconfirm') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnCancel') ))==null?'':__t)+
'">\r\n                   Отказаться\r\n                </button>\r\n                <button '+
((__t=( e.click('close') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnCancel') ))==null?'':__t)+
'">\r\n                    Отменить запрос\r\n                </button>\r\n            ';
 } 
__p+='\r\n        </div>\r\n        \r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('requests__main') ))==null?'':__t)+
'">\r\n        '+
((__t=( f.renderBlock('requests.requestMain', data) ))==null?'':__t)+
'\r\n    </div>\r\n    ';
 } else { 
__p+='\r\n        <div class="'+
((__t=( f.getClass('requests__main') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock('loaderBarTwo') ))==null?'':__t)+
'\r\n        </div>\r\n    ';
 } 
__p+='\r\n    \r\n\r\n'+
((__t=( f.renderBlock('requests.requestsModal') ))==null?'':__t)+
'';
}
return __p;
}
window.renderBlocks['pages-requests'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('requests__head', 'requestsHead') ))==null?'':__t)+
'">\r\n    \r\n    <div class="'+
((__t=( f.getClass('requestsHead__requestsList') ))==null?'':__t)+
'">\r\n        <h1 class="'+
((__t=( f.getClass('requests__title', 'textH2', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n            Запросы\r\n        </h1>\r\n        <div class="'+
((__t=( f.getClass('requestsHead__search') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock('search')  ))==null?'':__t)+
'\r\n        </div>\r\n        <button '+
((__t=( e.click('create') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnAgree') ))==null?'':__t)+
'">\r\n            Добавить\r\n        </button>\r\n    </div>\r\n\r\n    <div class="'+
((__t=( f.getClass('requests__tab') ))==null?'':__t)+
'">\r\n        '+
((__t=( f.renderBlock('tab', {
            name:'_request_mode',
            selected: query.type || 'all',
            items:[
                {title:'Все', value:'all'},
                {title:'Новые', value:'new'},
                {title:'Мои', value:'my'},
                {title:'В обработке', value:'processing'},
                {title:'Завершенные', value:'complete'},
                {title:'Отмененные', value:'canceled'},
            ]
        }) ))==null?'':__t)+
'\r\n    </div>\r\n    \r\n</div>\r\n';

    const params = {};

    if (query.type === 'new') {
        params.confirmed = false;
        params.completed = false;
        params.canceled = false;
    }

    if (query.type === 'processing') {
        params.confirmed = true;
        params.completed = false;
        params.canceled = false;
    }

    if (query.type === 'completed') {
        params.confirmed = true;
        params.completed = true;
        params.canceled = false;
    }

    if (query.type === 'canceled') {
        params.canceled = true;
    }

    if (query.type === 'my'){
        params.usr_id = '{caller_id}';
    }  

        if (query.type === 'processing'){
        params.usr_id = '{caller_id}';
    }  


__p+='  \r\n\r\n\r\n<div class="'+
((__t=( f.getClass('requests__main') ))==null?'':__t)+
'">\r\n    '+
((__t=( f.renderBlock("table",{
        pref:'table',
        params:{
            params,
            sorting: [
                {field: 'created_at', order: 'desc'}, {field: '_id', order: 'asc'}
            ],
        },
        limit:10,
        list:'request_list',
        command:'client.getList',
        columns:[
            {
                title: 'Статус',
                key:'status',
                col_class:'column07',
                type:'status',
                options:{
                    'class_name':'RQStatus',
                    'alias':{
                        '':['Новый', 'bagePositive'],
                        'Canceled':['Отменен', 'bageError' ],
                        'Completed':['Завершен','bage'],
                        'Confirmed':['Подтвержден','bageAccent']
                    }
                }
            },
            {
                title: 'Запрос',
                key:'title',
                col_class:'column02',
                type:'title'

            },
            {
                title: 'Клиент',
                key:'client',
                col_class:'column05',
                type:'client'
            },
            {
                title: 'Дата и время',
                key:'created_at',
                col_class:'column04',
                type:'datetime',
                options:{
                    format:'D MMMM YYYY'
                }
            },
            {
                title: 'ID',
                key:'_id',
                col_class:'column05',
                type:'id'
            },
        ]
    })  ))==null?'':__t)+
'\r\n</div>\r\n'+
((__t=( f.renderBlock('requests.requestsModal') ))==null?'':__t)+
'';
}
return __p;
}
window.renderBlocks['pages-service'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';
 if (data.loaded){ 
__p+='\r\n    <div class="'+
((__t=( f.getClass('service__head', 'serviceHead') ))==null?'':__t)+
'">\r\n        \r\n        <div class="'+
((__t=( f.getClass('serviceHead__serviceList') ))==null?'':__t)+
'">\r\n            <a class="'+
((__t=( f.getClass('resetLink', 'serviceHead__link') ))==null?'':__t)+
'" href="/services">\r\n                <div class="'+
((__t=( f.getClass('requestsHead__btnImg') ))==null?'':__t)+
'" style="width: 24px; min-width: 24px; height: 24px;">\r\n                    '+
((__t=( f.renderBlock('icons.i_chevron-left') ))==null?'':__t)+
'\r\n                </div>\r\n                <h1 class="'+
((__t=( f.getClass('service__title', 'textH2', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n                    '+
((__t=( data.name ))==null?'':__t)+
'\r\n                </h1>\r\n            </a>\r\n            <button '+
((__t=( e.click('editService') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnAgreeLight') ))==null?'':__t)+
'">\r\n                Редактировать\r\n            </button>\r\n        </div>\r\n\r\n        <div class="'+
((__t=( f.getClass('service__tab') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock('tab', {
                name:'_mode',
                selected: data.mode,
                items:[
                    {title:'Информация',value:'info'},
                    {title:'Запросы',value:'service'},
                    {title:'Счета',value:'receipts'},
                ]
            }) ))==null?'':__t)+
'\r\n        </div>\r\n        \r\n    </div>\r\n\r\n    <div class="'+
((__t=( f.getClass('service__main') ))==null?'':__t)+
'">\r\n        '+
((__t=( f.renderBlock('service.info', data) ))==null?'':__t)+
'\r\n    </div>\r\n';
 } else { 
__p+='\r\n    <div class="'+
((__t=( f.getClass('loadConteiner') ))==null?'':__t)+
'">\r\n        '+
((__t=( f.renderBlock('loaderBarTwo') ))==null?'':__t)+
'\r\n    </div>\r\n';
 } 
__p+='\r\n\r\n'+
((__t=( f.renderBlock('pages-privileges.service', {pref: 'service'}) ))==null?'':__t)+
'\r\n';
}
return __p;
}
window.renderBlocks['pages-services'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('requests__head', 'requestsHead') ))==null?'':__t)+
'">\r\n    \r\n    <div class="'+
((__t=( f.getClass('requestsHead__requestsList') ))==null?'':__t)+
'">\r\n        <h1 class="'+
((__t=( f.getClass('requests__title', 'textH2', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n            <a class="'+
((__t=( f.getClass('resetLink') ))==null?'':__t)+
'" href="/">\r\n                Услуги\r\n            </a>\r\n        </h1>\r\n        <div class="'+
((__t=( f.getClass('requests__search') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock("search")  ))==null?'':__t)+
'\r\n        </div>\r\n        <button  '+
((__t=( e.click('addService')  ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnAgree') ))==null?'':__t)+
'">\r\n            Добавить\r\n        </button>\r\n    </div>\r\n\r\n    <div class="'+
((__t=( f.getClass('requests__tab') ))==null?'':__t)+
'">\r\n        '+
((__t=( f.renderBlock('tab', {
            name:'_mode',
            selected: query.type || 'all',
            items:[
                {title:'Все', value:'all'},
                {title:'Мероприятия', value:'events'},
                {title:'Привилегии', value:'privilege'}
            ]
        }) ))==null?'':__t)+
'\r\n    </div>\r\n    \r\n</div>\r\n\r\n';

    const params = {
    };

    if (query.type === 'events'){
        params.event_id ='{NOT_NULL}';
    } else if (query.type === 'privilege'){
        params.event_id ='{NULL}';
    }



__p+='  \r\n\r\n\r\n<div class="'+
((__t=( f.getClass('requests__main') ))==null?'':__t)+
'">\r\n    '+
((__t=( f.renderBlock("table",{
        pref:'table',
        params:{
            params
        },
        limit:10,
        list:'service_view',
        command:'client.getList',
        columns:[
            {
                title: 'ID',
                key:'_id',
                col_class:'column01',
                type:'id'
            },{
                title: 'Название',
                key:'name',
                col_class:'column02',
                type:'title'
            },{
                title: 'Мероприятие',
                key:'event_title',
                col_class:'column02',
                type:'text'
            },            
            {
                title: 'Шаблон',
                key:'template_id',
                col_class:'column05',
                type:'short_text'
            },{
                title: 'Запросы',
                key:'total_request_count',
                col_class:'column06',
                type:'id'
            },{
                title: 'Тип',
                key:'type',
                col_class:'column05',
                type:'short_text'
            },
            {
                title: 'Категория',
                key:'category',
                col_class:'column04',
                type:'short_text'
            },

        ]
    })  ))==null?'':__t)+
'\r\n</div>\r\n'+
((__t=( f.renderBlock('pages-privileges.service', {pref: 'service'}) ))==null?'':__t)+
'\r\n';
}
return __p;
}
window.renderBlocks['pages-templates.edit.code'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('code') ))==null?'':__t)+
' scrollBar">\r\n    <pre class="'+
((__t=( f.getClass('code__container') ))==null?'':__t)+
'">\r\n        '+
((__t=( JSON.stringify(data, null, 2) ))==null?'':__t)+
'\r\n    </pre>\r\n</div>';
}
return __p;
}
window.renderBlocks['pages-templates.edit'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('templatesEdit') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('templatesEdit__head', 'templatesEditHead', 'bottomLine') ))==null?'':__t)+
'">\r\n        \r\n        <h1 class="'+
((__t=( f.getClass('templatesEdit__title', 'textH2', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n            <a class="'+
((__t=( f.getClass('resetLink') ))==null?'':__t)+
'" href="/">\r\n                <div>\r\n\r\n                </div>\r\n                \r\n                '+
((__t=( data.loaded ? data.template.title : 'Название шаблона' ))==null?'':__t)+
'\r\n            </a>\r\n        </h1>\r\n        <div class="'+
((__t=( f.getClass('templatesEdit__tab') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock('tab', {
                name:'Mode',
                selected: data.mode || 'main',
                items:[
                    {title:'Основное', value:'main'},
                    {title:'Форма', value:'form'},
                    {title:'Код', value:'code'},
                ]
            }) ))==null?'':__t)+
'\r\n        </div>\r\n    </div>\r\n\r\n    <div class="'+
((__t=( f.getClass('templatesEdit__main') ))==null?'':__t)+
'">\r\n        ';
 if (data.loaded) { 
__p+='\r\n            ';
 if (data.mode === 'form') { 
__p+='\r\n                '+
((__t=( f.renderBlock('pages-templates.edit.form',{fields: data.template.fields, payload:  data.template.payload}) ))==null?'':__t)+
'\r\n            ';
 } else if (data.mode === 'code') { 
__p+='\r\n                '+
((__t=( f.renderBlock('pages-templates.edit.code',{template: data.template}) ))==null?'':__t)+
'\r\n            ';
 } else { 
__p+='\r\n                '+
((__t=( f.renderBlock('pages-templates.edit.main',{template: data.template, e: e}) ))==null?'':__t)+
'\r\n            ';
 } 
__p+='\r\n        ';
 } 
__p+='\r\n    </div>\r\n\r\n    <div class="'+
((__t=( f.getClass('templatesEdit__footer', 'footerEditMenu') ))==null?'':__t)+
'">\r\n       <div> ';
 if (!data.isNew) { 
__p+='\r\n            <button '+
((__t=( e.click('remove') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnDanger') ))==null?'':__t)+
'">\r\n                Удалить\r\n            </button>\r\n        ';
 } 
__p+='</div>\r\n        <div class="'+
((__t=( f.getClass('footerEditMenu__container') ))==null?'':__t)+
'">\r\n            <button class="'+
((__t=( f.getClass('btnAngree') ))==null?'':__t)+
'">\r\n                Назад\r\n            </button>\r\n            <button '+
((__t=( e.click('save') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('btnNeutral') ))==null?'':__t)+
'">\r\n                Сохранить\r\n            </button>\r\n        </div>\r\n    </div>\r\n</div>\r\n'+
((__t=( f.renderBlock('modalUniversal.modalAgree',{pref:'modal'}) ))==null?'':__t)+
'';
}
return __p;
}
window.renderBlocks['pages-templates.edit.form'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div '+
((__t=( e.click('clickToBg') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('templatesEdit__column', 'grayLineRight') ))==null?'':__t)+
'">\r\n    '+
((__t=( f.renderBlock('templates.main', {
        pref:'main' ,
        fields: data.fields, 
        e: e, selectedIndex: 
        data.selectedField
    }) ))==null?'':__t)+
'\r\n</div>\r\n<div class="'+
((__t=( f.getClass('templatesEdit__column') ))==null?'':__t)+
'">\r\n    ';
 if (data.selectedField === void 0){ 
__p+='\r\n    <div class="'+
((__t=( f.getClass('templatesEdit__menu', 'bottomLine') ))==null?'':__t)+
' scrollBar">\r\n        '+
((__t=( f.renderBlock('templates.menu', {  e: e }) ))==null?'':__t)+
'\r\n    </div>\r\n    ';
 } else { 
__p+='\r\n    <div class="'+
((__t=( f.getClass('templatesEdit__inputs') ))==null?'':__t)+
'">\r\n        '+
((__t=( f.renderBlock('templates.inputs', {
                selectedIndex: data.selectedField, 
                field: data.fields[data.selectedField],
                e: e,
                payload: data.payload
            }) ))==null?'':__t)+
'\r\n    </div>\r\n    ';
 } 
__p+='\r\n</div>\r\n';
}
return __p;
}
window.renderBlocks['pages-templates.edit.main'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('block__scroll') ))==null?'':__t)+
' scrollBar">\r\n    <div class="'+
((__t=( f.getClass('block__content') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('templateEdit__section') ))==null?'':__t)+
'">\r\n\r\n            <div class="'+
((__t=( f.getClass('templateEdit__item', 'spaceBottm40') ))==null?'':__t)+
'">\r\n                <h2 class="'+
((__t=( f.getClass('templateEdit__subtitle') ))==null?'':__t)+
'">\r\n                    Идентификатор вносится при создании шаблона, и далее не изменяется.\r\n                </h2>\r\n                ';
 if (!data.template._id) { 
__p+='\r\n                    <input '+
((__t=( data.e.on('input','idChange') ))==null?'':__t)+
' value="'+
((__t=( data.template._id ))==null?'':__t)+
'" required class="'+
((__t=( f.getClass('input48') ))==null?'':__t)+
'" placeholder="Введите текст" type="text">\r\n                ';
 } else { 
__p+='\r\n                    <p class="'+
((__t=( f.getClass('templateEdit__id') ))==null?'':__t)+
'">\r\n                        '+
((__t=( data.template._id ))==null?'':__t)+
'\r\n                    </p>\r\n                ';
 } 
__p+='\r\n            </div>\r\n            \r\n            <div class="'+
((__t=( f.getClass('templateEdit__item', 'spaceBottm40') ))==null?'':__t)+
'">\r\n                <h2 class="'+
((__t=( f.getClass('templateEdit__subtitle') ))==null?'':__t)+
'">\r\n                    Название шаблона\r\n                </h2>\r\n                <input '+
((__t=( data.e.on('input','titleChange') ))==null?'':__t)+
' value="'+
((__t=( data.template.title))==null?'':__t)+
'" required class="'+
((__t=( f.getClass('input48') ))==null?'':__t)+
'" placeholder="Введите текст" type="text">\r\n            </div>\r\n\r\n\r\n            <div class="'+
((__t=( f.getClass('templateEdit__item', 'spaceBottm40') ))==null?'':__t)+
'">\r\n                <h2 class="'+
((__t=( f.getClass('templateEdit__subtitle') ))==null?'':__t)+
'">\r\n                    Шаблон автоответа\r\n                </h2>\r\n                <p class="'+
((__t=( f.getClass('templatesEditInputs__textInfo') ))==null?'':__t)+
'">\r\n                    Данное сообщение получает пользователь в чате после заполнения формы. В \r\n                    скобках { } указывается техническое название блока, значение из которого будет вставлено в итоговое сообщение.\r\n                    Название блока пишется на латинице.\r\n                </p>\r\n                <p class="'+
((__t=( f.getClass('templatesEditInputs__textInfo') ))==null?'':__t)+
'">\r\n                    Название блока пишется на латинице, без пробелов. Для разделения слов используется нижнее подчёркивание. Например { name_hotel }\r\n                </p>\r\n                <p class="'+
((__t=( f.getClass('templatesEditInputs__textInfo') ))==null?'':__t)+
'">\r\n                    Итоговый шаблон сообщения будет выглядеть следующим образом: - "Заявка на { hotel_name } была принята. Оператор свяжется с вами в течение 5 минут."\r\n                </p>\r\n                <div class="'+
((__t=( f.getClass('hint', 'spaceBottm12') ))==null?'':__t)+
'">\r\n                    <p class="'+
((__t=( f.getClass('templatesEditInputs__textInfo') ))==null?'':__t)+
'">\r\n                        Список технических названий, доступных по умолчанию\r\n                    </p>\r\n                    <div class="'+
((__t=( f.getClass('hint__icon') ))==null?'':__t)+
'" tabindex="0" style="width: 20px; height: 20px; min-width: 20px;">\r\n                        '+
((__t=( f.renderBlock('icons.i_question') ))==null?'':__t)+
'\r\n                        <div class="'+
((__t=( f.getClass('hint__info') ))==null?'':__t)+
'">\r\n                            <p class="'+
((__t=( f.getClass('hint__text', 'spaceBottm8') ))==null?'':__t)+
'">\r\n                                Данные технические названия формируются системой автоматически и могут быть использованы в автоответе\r\n                            </p>\r\n                            <h3 class="'+
((__t=( f.getClass('hint__text', 'spaceBottm8') ))==null?'':__t)+
'">\r\n                                Параметры события\r\n                            </h3>\r\n                            <ul class="'+
((__t=( f.getClass('resetList', 'spaceBottm12') ))==null?'':__t)+
'">\r\n                                <li class="'+
((__t=( f.getClass('hint__text') ))==null?'':__t)+
'">\r\n                                    {title} - название события\r\n                                </li>\r\n                                <li class="'+
((__t=( f.getClass('hint__text') ))==null?'':__t)+
'">\r\n                                    {city} - город проведения события\r\n                                </li>\r\n                                <li class="'+
((__t=( f.getClass('hint__text') ))==null?'':__t)+
'">\r\n                                    {event_id} - внутренний идентификатор события\r\n                                </li>\r\n                                <li class="'+
((__t=( f.getClass('hint__text') ))==null?'':__t)+
'">\r\n                                    {date} - начала и окончания события\r\n                                </li>\r\n                            </ul>\r\n                            <h3 class="'+
((__t=( f.getClass('hint__text', 'spaceBottm8') ))==null?'':__t)+
'">\r\n                                Параметры сервиса\r\n                            </h3>\r\n                            <ul class="'+
((__t=( f.getClass('resetList') ))==null?'':__t)+
'">\r\n                                <li class="'+
((__t=( f.getClass('hint__text') ))==null?'':__t)+
'">\r\n                                    {name} - имя сервиса\r\n                                </li>\r\n                                <li class="'+
((__t=( f.getClass('hint__text') ))==null?'':__t)+
'">\r\n                                    {category} - категория сервиса\r\n                                </li>\r\n                                <li class="'+
((__t=( f.getClass('hint__text') ))==null?'':__t)+
'">\r\n                                    {category_description} - описание категории сервиса\r\n                                </li>\r\n                                <li class="'+
((__t=( f.getClass('hint__text') ))==null?'':__t)+
'">\r\n                                    {discription} - описание сервиса\r\n                                </li>\r\n                                <li class="'+
((__t=( f.getClass('hint__text') ))==null?'':__t)+
'">\r\n                                    {subtitle} - краткое описание сервиса\r\n                                </li>\r\n                                <li class="'+
((__t=( f.getClass('hint__text') ))==null?'':__t)+
'">\r\n                                    {type} - тип сервиса\r\n                                </li>\r\n                            </ul>\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n                \r\n                \r\n                <textarea '+
((__t=( data.e.on('input','templateChange') ))==null?'':__t)+
' class="'+
((__t=( f.getClass('templateEdit__inputBig', 'input48') ))==null?'':__t)+
'" placeholder="Введите текст">'+
((__t=( data.template.template ))==null?'':__t)+
'</textarea>\r\n            </div>\r\n        </div>\r\n\r\n        <div class="'+
((__t=( f.getClass('templateEdit__section') ))==null?'':__t)+
'">\r\n            <h2 class="'+
((__t=( f.getClass('templateEdit__title', 'spaceBottm16') ))==null?'':__t)+
'">\r\n                Параметры\r\n            </h2>\r\n\r\n            ';
 for (let params in data.template.payload){
                if (['accept_button'].includes(params)) continue;
             
__p+='\r\n                <div class="'+
((__t=( f.getClass('templateEdit__row', 'spaceBottm40') ))==null?'':__t)+
'">\r\n                    <div class="'+
((__t=( f.getClass('templateEdit__item') ))==null?'':__t)+
'">\r\n                        <h3 class="'+
((__t=( f.getClass('templateEdit__subtitle') ))==null?'':__t)+
'">\r\n                            Параметр\r\n                        </h3>\r\n                        <input disabled value="'+
((__t=( params ))==null?'':__t)+
'" required class="'+
((__t=( f.getClass('input48') ))==null?'':__t)+
'" placeholder="Введите текст" type="text">\r\n                    </div>\r\n                    <div class="'+
((__t=( f.getClass('templateEdit__item') ))==null?'':__t)+
'">\r\n                        <h3 class="'+
((__t=( f.getClass('templateEdit__subtitle') ))==null?'':__t)+
'">\r\n                            Значение\r\n                        </h3>\r\n                        <input '+
((__t=( data.e.on('input','paramChange', {param:params}) ))==null?'':__t)+
' value="'+
((__t=( data.template.payload[params] || ''  ))==null?'':__t)+
'" class="'+
((__t=( f.getClass('input48') ))==null?'':__t)+
'" placeholder="Введите текст" type="text">\r\n                    </div>\r\n                </div>\r\n            ';
 } 
__p+='\r\n        </div>\r\n\r\n        <div class="'+
((__t=( f.getClass('templateEdit__section') ))==null?'':__t)+
'">\r\n            <h2 class="'+
((__t=( f.getClass('templateEdit__title', 'spaceBottm16') ))==null?'':__t)+
'">\r\n                Параметры по умолчанию\r\n            </h2>\r\n\r\n            <div class="'+
((__t=( f.getClass('templateEdit__row', 'spaceBottm40') ))==null?'':__t)+
'">\r\n                <div class="'+
((__t=( f.getClass('templateEdit__item') ))==null?'':__t)+
'">\r\n                    <h3 class="'+
((__t=( f.getClass('templateEdit__subtitle') ))==null?'':__t)+
'">\r\n                        Кнопка на форме\r\n                    </h3>   \r\n                    <input disabled value="accept_button" required class="'+
((__t=( f.getClass('input48') ))==null?'':__t)+
'" placeholder="Введите текст" type="text">\r\n                </div>\r\n                <div class="'+
((__t=( f.getClass('templateEdit__item') ))==null?'':__t)+
'">\r\n                    <h3 class="'+
((__t=( f.getClass('templateEdit__subtitle') ))==null?'':__t)+
'">\r\n                        Название\r\n                    </h3>\r\n                    <input value="'+
((__t=( data.template.payload['accept_button'] || ''  ))==null?'':__t)+
'" class="'+
((__t=( f.getClass('input48') ))==null?'':__t)+
'" placeholder="Введите текст" type="text">\r\n                </div>\r\n            </div>\r\n\r\n        </div>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['pages-templates'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('templatesHead') ))==null?'':__t)+
'">\r\n    \r\n    <div class="'+
((__t=( f.getClass('templatesHead__templatesList') ))==null?'':__t)+
'">\r\n        <h1 class="'+
((__t=( f.getClass('templates__title', 'textH2', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n            <a class="'+
((__t=( f.getClass('resetLink') ))==null?'':__t)+
'" href="/">\r\n                Шаблоны услуг\r\n            </a>\r\n        </h1>\r\n        <div class="'+
((__t=( f.getClass('templates__search') ))==null?'':__t)+
'">\r\n            '+
((__t=( f.renderBlock("search")  ))==null?'':__t)+
'\r\n        </div>\r\n        <a href="/templates/new/edit" class="'+
((__t=( f.getClass('resetLink', 'btnAgree') ))==null?'':__t)+
'">\r\n            Добавить\r\n        </a>\r\n    </div>\r\n</div>\r\n<div class="'+
((__t=( f.getClass('templates') ))==null?'':__t)+
'">\r\n    '+
((__t=( f.renderBlock("table",{
        pref:'table',
        params:{
       
        },
        limit:10,
        command:'request_template.getList',
        columns:[
            {
                title: 'ID',
                key:'_id',
                col_class:'column07',
                type:'id'
            },
            {
                title: 'Название',
                key:'title',
                col_class:'column02',
                type:'title'

            },
            {
                title: 'Дата создания',
                key:'_timestamp',
                col_class:'column10',
                type:'datetime',
                options:{
                    format:'D MMMM YYYY HH:mm'
                }
            },    
        ]
    })  ))==null?'':__t)+
'\r\n</div>';
}
return __p;
}
window.renderBlocks['pages-test.1'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+=' '+
((__t=( f.renderBlock('icons.i_message-square-two') ))==null?'':__t)+
'\r\n';
}
return __p;
}
window.renderBlocks['pages-test.2'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='                                '+
((__t=( f.renderBlock('icons.i_printer') ))==null?'':__t)+
'\r\n';
}
return __p;
}
window.renderBlocks['pages-test.3'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='                                '+
((__t=( f.renderBlock('icons.i_users') ))==null?'':__t)+
'\r\n';
}
return __p;
}
window.renderBlocks['pages-test'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<div class="'+
((__t=( f.getClass('wrapper') ))==null?'':__t)+
'">\r\n    <input class="'+
((__t=( f.getClass('input') ))==null?'':__t)+
'" type="email" >\r\n</div>';
}
return __p;
}
window.renderBlocks['layout-main'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<!DOCTYPE html>\r\n<html lang="ru">\r\n<head>\r\n    <meta charset="utf-8">\r\n    <title>'+
((__t=( meta.title ))==null?'':__t)+
'</title>\r\n    \r\n    <link rel="shortcut icon" type="image/x-icon" href="'+
((__t=( meta.favicon ))==null?'':__t)+
'" style="width: 12px; height: 12px;" />\r\n    <link href="/style.css" rel="stylesheet">\r\n    \r\n    <meta name="viewport" content="width=device-width, initial-scale=1.0">\r\n    <meta name="keywords" content="'+
((__t=( meta.keywords ))==null?'':__t)+
'">\r\n    <meta name="description" content="'+
((__t=( meta.description ))==null?'':__t)+
'" />\r\n\r\n    <meta name="og:title" property="og:title" content="'+
((__t=( meta.title ))==null?'':__t)+
'" />\r\n    <meta name="og:description" property="og:description" content="'+
((__t=( meta.description ))==null?'':__t)+
'" />\r\n    <meta name="og:url" property="og:url" content="'+
((__t=( meta.url ))==null?'':__t)+
'" />\r\n    <meta name="og:image" property="og:image" content="'+
((__t=( meta.image ))==null?'':__t)+
'" />\r\n    <meta name="og:type" property="og:type" content="website" />\r\n\r\n    <script '+
((__t=( options.dev ? `id="bundle-fr-script"` : ``))==null?'':__t)+
' src="/bundle.js?v=1"></script>\r\n</head>\r\n    <body class="'+
((__t=( f.getClass('body') ))==null?'':__t)+
'" id="layout">\r\n        '+
((__t=( options.dev ? f.renderBlock('dev.Updater', options) : '' ))==null?'':__t)+
'\r\n        '+
((__t=( f.renderBlock('loaderBar') ))==null?'':__t)+
'\r\n        '+
((__t=( f.renderBlock('connection') ))==null?'':__t)+
'\r\n        '+
((__t=( f.renderBlock('progress') ))==null?'':__t)+
'    \r\n       \r\n        <div id="root">\r\n            '+
((__t=( options.dev ? f.renderBlock('dev.Backlight', options) : '' ))==null?'':__t)+
'\r\n            '+
((__t=( data.content ))==null?'':__t)+
'\r\n        </div>\r\n    </body>\r\n    <script style="display:none">\r\n        window.Page.setState( '+
((__t=( JSON.stringify(data.state) ))==null?'':__t)+
', '+
((__t=( JSON.stringify(data.debug || {}) ))==null?'':__t)+
', '+
((__t=( JSON.stringify(meta) ))==null?'':__t)+
');\r\n    </script>\r\n</html>';
}
return __p;
}
window.renderBlocks['blocks-portal'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+=''+
((__t=( data.html ))==null?'':__t)+
'';
}
return __p;
}
window.renderBlocks['blocks-changeCountry'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='';

    counties = [
        {
            label:'RU',
            iconBlock:'flags.f_ru',
            code:'ru'
        },
        {
            label:'USA',
            iconBlock:'flags.f_us',
            code:'us'
        },
        {
            label:'EN',
            iconBlock:'flags.f_sh',
            code:'en'
        }
    ]

    const current = counties.find(c => c.code === context.options.country) || counties[0]


__p+='\r\n\r\n\r\n<div class="'+
((__t=( f.getClass('language') ))==null?'':__t)+
'">\r\n    <div class="'+
((__t=( f.getClass('language__img', 'flag', 'circle') ))==null?'':__t)+
'" style="width: 20px; height: 20px; min-height: 20px;">\r\n        \r\n        <div class="'+
((__t=( f.getClass('flag__img') ))==null?'':__t)+
'" style="width: 100%;">\r\n            '+
((__t=( f.renderBlock(current.iconBlock) ))==null?'':__t)+
'\r\n        </div>\r\n    </div>\r\n    <div class="'+
((__t=( f.getClass('language__hoverContainer') ))==null?'':__t)+
'">\r\n        <div class="'+
((__t=( f.getClass('language__container') ))==null?'':__t)+
'">\r\n            <div class="'+
((__t=( f.getClass('scrollBar') ))==null?'':__t)+
' scrollBar">\r\n                <ul class="'+
((__t=( f.getClass('resetList', 'language__list') ))==null?'':__t)+
'">\r\n\r\n                ';
   for (let index = 0; index < counties.length; index++) {
                        const country = counties[index];
__p+='\r\n\r\n                        <li class="'+
((__t=( f.getClass('resetBtn', 'language__item') ))==null?'':__t)+
'">\r\n                            <button '+
((__t=( e.click('change', {country: country.code}) ))==null?'':__t)+
'class="'+
((__t=( f.getClass('resetBtn', 'language__btn') ))==null?'':__t)+
'">\r\n                                <div class="'+
((__t=( f.getClass('language__img', 'flag') ))==null?'':__t)+
'" style="width: 24px; height: 24px; min-height: 24px;">\r\n                                    <div class="'+
((__t=( f.getClass('flag__img') ))==null?'':__t)+
'" style="width: 100%;">\r\n                                        '+
((__t=( f.renderBlock(country.iconBlock) ))==null?'':__t)+
'\r\n                                    </div>\r\n                                </div>\r\n                                '+
((__t=( country.label ))==null?'':__t)+
'\r\n                            </button>\r\n                        </li>\r\n\r\n                ';
 } 
__p+='\r\n\r\n\r\n \r\n\r\n\r\n\r\n                   \r\n                </ul>\r\n            </div>\r\n        </div>\r\n    </div>\r\n</div>';
}
return __p;
}
window.renderBlocks['blocks-requests.invoiceList'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+=''+
((__t=( f.renderBlock("list",{
    pref:'list',
    rowBlock:'requests.invoiceList.item',
    params:{                          
        params:{
            request_id: data.rq_id,
        },
        sorting: [
            {field: 'created_at', order: 'desc'}, {field: '_id', order: 'asc'}
        ],
    },
    limit:10,
    command:'invoice.getList',
    emptyText:'Счетов нет'
})  ))==null?'':__t)+
'';
}
return __p;
}
window.renderBlocks['blocks-requests.invoiceList.item'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<a href="/receipts/'+
((__t=(data._id))==null?'':__t)+
'" class="'+
((__t=( f.getClass('resetLink', 'textLink', 'spaceBottom4') ))==null?'':__t)+
'">'+
((__t=( data.comment ))==null?'':__t)+
' ('+
((__t=( utils.beautifyAmount(data) ))==null?'':__t)+
') </a>';
}
return __p;
}
window.renderBlocks['pages-analytics'] = function(obj){
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='<link href="/analytics/css/main.7842c1c6.css" rel="stylesheet">\r\n\r\n<div class="'+
((__t=( f.getClass('requests__head', 'requestsHead') ))==null?'':__t)+
'">\r\n    \r\n    <div class="'+
((__t=( f.getClass('requestsHead__requestsList') ))==null?'':__t)+
'">\r\n        <h1 class="'+
((__t=( f.getClass('requests__title', 'textH2', 'textDarkMainBase') ))==null?'':__t)+
'">\r\n            Аналитика\r\n        </h1>\r\n    </div>\r\n</div>\r\n\r\n\r\n<div class="'+
((__t=( f.getClass('requests__main') ))==null?'':__t)+
'">\r\n    <div id="fixers-analytics"></div>\r\n</div>\r\n\r\n';
}
return __p;
}
Page._routes = [{"route":"test","block":"pages-test","portal":"test","routs":[{"route":"1","block":"pages-test.1"},{"route":"2","block":"pages-test.2"},{"route":"3","block":"pages-test.3"}]},{"route":"","block":"pages-index","portal":"org","routs":[{"route":"icons","block":"pages-icons"},{"route":"dashboard","block":"pages-index"},{"route":"requests/(.*)","block":"pages-requests.item"},{"route":"requests","block":"pages-requests"},{"route":"chats/(.*)","block":"pages-chat"},{"route":"chats","block":"pages-chats"},{"route":"receipts/add","block":"pages-receipts.add"},{"route":"receipts/(.*)/edit","block":"pages-receipts.edit"},{"route":"receipts/(.*)","block":"pages-receipts.item"},{"route":"receipts","block":"pages-receipts"},{"route":"news/(.*)/edit","block":"pages-news.edit"},{"route":"news/(.*)","block":"pages-news.item"},{"route":"news","block":"pages-news"},{"route":"clients/add","block":"pages-client.add"},{"route":"clients/(.*)/edit","block":"pages-client.add"},{"route":"clients/(.*)","block":"pages-client"},{"route":"clients","block":"pages-clients"},{"route":"partners/(.*)/edit","block":"pages-partners.description.edit"},{"route":"partners/(.*)","block":"pages-partners.description.info"},{"route":"partners","block":"pages-partners"},{"route":"events/(.*)/edit","block":"pages-events.edit"},{"route":"events/(.*)","block":"pages-events.item"},{"route":"events","block":"pages-events"},{"route":"services/(.*)","block":"pages-service"},{"route":"services","block":"pages-services"},{"route":"operators/add","block":"pages-operators.edit"},{"route":"operators/(.*)/edit","block":"pages-operators.edit"},{"route":"operators/(.*)","block":"pages-operators.item"},{"route":"operators","block":"pages-operators"},{"route":"privileges/add","block":"pages-privileges.add"},{"route":"privileges/(.*)/edit","block":"pages-privileges.add"},{"route":"privileges/(.*)","block":"pages-privileges.item"},{"route":"privileges","block":"pages-privileges"},{"route":"templates/(.*)/edit","block":"pages-templates.edit"},{"route":"templates/edit","block":"pages-templates.edit"},{"route":"templates","block":"pages-templates"},{"route":"profile","block":"pages-profile"},{"route":"editor","block":"pages-editor"},{"route":"analytics","block":"pages-analytics"}]}]
Page._meta = {"title":"Fixers Concierge BackOffice","keywords":"Fixers Concierge BackOffice","description":"Fixers Concierge BackOffice","url":"http://localhost:8089","image":"https://static.tildacdn.com/tild3330-3830-4536-a664-613435656565/rc-club-logo.png","project":"fixers","favicon":"/img/fixers.ico"}
Page._options = {"dev":false,"name":"fixers"}