Help
RSS
API
Feed
Maltego
Contact
Domain > www.eng.maham-trading.com
×
More information on this domain is in
AlienVault OTX
Is this malicious?
Yes
No
DNS Resolutions
Date
IP Address
2019-01-02
88.99.17.174
(
ClassC
)
2024-09-15
88.198.66.73
(
ClassC
)
Port 80
HTTP/1.1 200 OKDate: Sun, 15 Sep 2024 22:06:28 GMTServer: Apache/2.4.41 (Ubuntu)Set-Cookie: PHPSESSIDqucgq97ipb8e4pb90acq3n81ki; path/Expires: Thu, 19 Nov 1981 08:52:00 GMTCache-Control: no-store, no-cache, must-revalidatePragma: no-cacheVary: Accept-EncodingTransfer-Encoding: chunkedContent-Type: text/html; charsetUTF-8 html langes> head> meta charsetutf-8> meta nameviewport contentwidthdevice-width, initial-scale1, shrink-to-fitno> title>CRM-DIL 2022/title> !-- Incrustando el encabezado de estilos y scripts de la plantilla --> link relicon hrefdist/img/icono.png typeimage/png />!-- Font & Icon -->link relstylesheet hreffont/inter/inter.min.css idfont-css>link relstylesheet hrefplugins/material-design-icons-iconfont/material-design-icons.min.css>link relstylesheet hrefplugins/fontawesome-free/css/all.min.css>!-- Plugins -->!-- CSS plugins goes here -->!--link relstylesheet hrefplugins/trumbowyg-main/dist/ui/trumbowyg.css>link relstylesheet hrefplugins/trumbowyg-main/dist/plugins/colors/ui/trumbowyg.colors.min.css>link relstylesheet hrefplugins/trumbowyg-main/dist/plugins/emoji/ui/trumbowyg.emoji.min.css>link relstylesheet hrefplugins/trumbowyg-main/dist/plugins/table/ui/trumbowyg.table.min.css>link relstylesheet hrefplugins/trumbowyg-main/dist/plugins/giphy/ui/trumbowyg.giphy.min.css>link relstylesheet hrefplugins/msuggest/magicsuggest.css>-->!-- Main Style -->link relstylesheet hrefplugins/simplebar/simplebar.min.css>link relstylesheet hrefdist/css/bootstrap.min.css>link relstylesheet hrefdist/css/style.min.css idmain-css>link relstylesheet hrefdist/css/sidebar-royal.min.css idtheme-css>link relstylesheet hrefplugins/wenk/dist/wenk.min.css>!--link hrefplugins/smartwizard/css/smart_wizard.css relstylesheet>-->link hrefplugins/smartwizard/css/smart_wizard_all.css relstylesheet>link hrefplugins/duallistbox/duallistbox.min.css relstylesheet>link relstylesheet hrefplugins/star-rating/star-rating.min.css>link relstylesheet hrefplugins/bootstrap-select/bootstrap-select.css>link relstylesheet hrefplugins/bootstrap-duallistbox/src/bootstrap-duallistbox.css>link relstylesheet hrefplugins/DT_select/css/select.dataTables.min.css>!-- Main Style -->link relstylesheet hrefplugins/simplebar/simplebar.css>link relstylesheet hrefdist/css/style.css idmain-css>link relstylesheet hrefdist/css/sidebar-gray.min.css idtheme-css>link hrefplugins/datatables/dataTables.bootstrap4.min.css relstylesheet>link hrefplugins/datatables/responsive.bootstrap4.min.css relstylesheet>!--link hrefplugins/select2_4013/css/select2.css relstylesheet>-->!--link hrefplugins/select_2/package/dist/css/select2.css relstylesheet>-->link hrefplugins/new_select2/css/select2.css relstylesheet>link hrefplugins/nouislider/nouislider.css relstylesheet>link hrefplugins/bootstrap-touchspin/jquery.bootstrap-touchspin.css relstylesheet>!-- link relstylesheet hrefplugins/imgareaselect-master/distfiles/css/imgareaselect-animated.css> -->link hrefhttps://cdn.datatables.net/fixedheader/3.1.7/css/fixedHeader.dataTables.min.css relstylesheet>!-- options: blue,cyan,dark,gray,green,pink,purple,red,royal,ash,crimson,namn,frost -->!--script srcdist/js/jquery.min.js>/script>-->script srcdist/js/jquery.js>/script>script srcdist/js/protip.min.js>/script>!--script srchttps://code.jquery.com/jquery-2.2.4.min.js integritysha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44 crossoriginanonymous>/script>-->script srcplugins/bootstrap-dropdown/jquery.dropdown.js>/script>script srcplugins/msuggest/magicsuggest.js>/script>!--script srcdist/js/bootstrap.js>//!function(t,e){objecttypeof exports&&undefined!typeof module?module.exportse(require(@popperjs/core)):functiontypeof define&&define.amd?define(@popperjs/core,e):(tundefined!typeof globalThis?globalThis:t||self).bootstrape(t.Popper)}(this,(function(t){use strict;function e(t){if(t&&t.__esModule)return t;var eObject.create(null);return t&&Object.keys(t).forEach((function(s){if(default!s){var iObject.getOwnPropertyDescriptor(t,s);Object.defineProperty(e,s,i.get?i:{enumerable:!0,get:function(){return ts}})}})),e.defaultt,Object.freeze(e)}var se(t);const i{find:(t,edocument.documentElement)>.concat(...Element.prototype.querySelectorAll.call(e,t)),findOne:(t,edocument.documentElement)>Element.prototype.querySelector.call(e,t),children:(t,e)>.concat(...t.children).filter(t>t.matches(e)),parents(t,e){const s;let it.parentNode;for(;i&&i.nodeTypeNode.ELEMENT_NODE&&3!i.nodeType;)i.matches(e)&&s.push(i),ii.parentNode;return s},prev(t,e){let st.previousElementSibling;for(;s;){if(s.matches(e))returns;ss.previousElementSibling}return},next(t,e){let st.nextElementSibling;for(;s;){if(s.matches(e))returns;ss.nextElementSibling}return}},nt>{do{t+Math.floor(1e6*Math.random())}while(document.getElementById(t));return t},ot>{let et.getAttribute(data-bs-target);if(!e||#e){let st.getAttribute(href);if(!s||!s.includes(#)&&!s.startsWith(.))return null;s.includes(#)&&!s.startsWith(#)&&(s#+s.split(#)1),es&!s?s.trim():null}return e},rt>{const eo(t);return e&&document.querySelector(e)?e:null},at>{const eo(t);return e?document.querySelector(e):null},lt>{t.dispatchEvent(new Event(transitionend))},ct>!(!t||object!typeof t)&&(void 0!t.jquery&&(tt0),void 0!t.nodeType),ht>c(t)?t.jquery?t0:t:stringtypeof t&&t.length>0?i.findOne(t):null,d(t,e,s)>{Object.keys(s).forEach(i>{const nsi,oei,ro&&c(o)?element:null(ao)?+a:{}.toString.call(a).match(/\s(a-z+)/i)1.toLowerCase();var a;if(!new RegExp(n).test(r))throw new TypeError(`${t.toUpperCase()}: Option ${i} provided type ${r} but expected type ${n}.`)})},ut>!(!c(t)||0t.getClientRects().length)&&visiblegetComputedStyle(t).getPropertyValue(visibility),gt>!t||t.nodeType!Node.ELEMENT_NODE||!!t.classList.contains(disabled)||(void 0!t.disabled?t.disabled:t.hasAttribute(disabled)&&false!t.getAttribute(disabled)),pt>{if(!document.documentElement.attachShadow)return null;if(functiontypeof t.getRootNode){const et.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?p(t.parentNode):null},f()>{},mt>t.offsetHeight,_()>{const{jQuery:t}window;return t&&!document.body.hasAttribute(data-bs-no-jquery)?t:null},b,v()>rtldocument.documentElement.dir,yt>{var e;e()>{const e_();if(e){const st.NAME,ie.fns;e.fnst.jQueryInterface,e.fns.Constructort,e.fns.noConflict()>(e.fnsi,t.jQueryInterface)}},loadingdocument.readyState?(b.length||document.addEventListener(DOMContentLoaded,()>{b.forEach(t>t())}),b.push(e)):e()},wt>{functiontypeof t&&t()},E(t,e,s!0)>{if(!s)return void w(t);const i(t>{if(!t)return 0;let{transitionDuration:e,transitionDelay:s}window.getComputedStyle(t);const iNumber.parseFloat(e),nNumber.parseFloat(s);return i||n?(ee.split(,)0,ss.split(,)0,1e3*(Number.parseFloat(e)+Number.parseFloat(s))):0})(e)+5;let n!1;const o({target:s})>{se&&(n!0,e.removeEventListener(transitionend,o),w(t))};e.addEventListener(transitionend,o),setTimeout(()>{n||l(e)},i)},A(t,e,s,i)>{let nt.indexOf(e);if(-1n)return t!s&&i?t.length-1:0;const ot.length;return n+s?1:-1,i&&(n(n+o)%o),tMath.max(0,Math.min(n,o-1))},T/^.*(?\..*)\.|.*/,C/\..*/,k/::\d+$/,L{};let O1;const D{mouseenter:mouseover,mouseleave:mouseout},I/^(mouseenter|mouseleave)/i,Nnew Set(click,dblclick,mouseup,mousedown,contextmenu,mousewheel,DOMMouseScroll,mouseover,mouseout,mousemove,selectstart,selectend,keydown,keypress,keyup,orientationchange,touchstart,touchmove,touchend,touchcancel,pointerdown,pointermove,pointerup,pointerleave,pointercancel,gesturestart,gesturechange,gestureend,focus,blur,change,reset,select,submit,focusin,focusout,load,unload,beforeunload,resize,move,DOMContentLoaded,readystatechange,error,abort,scroll);function S(t,e){return e&&`${e}::${O++}`||t.uidEvent||O++}function x(t){const eS(t);return t.uidEvente,LeLe||{},Le}function M(t,e,snull){const iObject.keys(t);for(let n0,oi.length;no;n++){const otin;if(o.originalHandlere&&o.delegationSelectors)return o}return null}function P(t,e,s){const istringtypeof e,ni?s:e;let oR(t);return N.has(o)||(ot),i,n,o}function j(t,e,s,i,n){if(string!typeof e||!t)return;if(s||(si,inull),I.test(e)){const tt>function(e){if(!e.relatedTarget||e.relatedTarget!e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)};i?it(i):st(s)}consto,r,aP(e,s,i),lx(t),cla||(la{}),hM(c,r,o?s:null);if(h)return void(h.oneOffh.oneOff&&n);const dS(r,e.replace(T,)),uo?function(t,e,s){return function i(n){const ot.querySelectorAll(e);for(let{target:r}n;r&&r!this;rr.parentNode)for(let ao.length;a--;)if(oar)return n.delegateTargetr,i.oneOff&&B.off(t,n.type,e,s),s.apply(r,n);return null}}(t,s,i):function(t,e){return function s(i){return i.delegateTargett,s.oneOff&&B.off(t,i.type,e),e.apply(t,i)}}(t,s);u.delegationSelectoro?s:null,u.originalHandlerr,u.oneOffn,u.uidEventd,cdu,t.addEventListener(a,u,o)}function H(t,e,s,i,n){const oM(es,i,n);o&&(t.removeEventListener(s,o,Boolean(n)),delete eso.uidEvent)}function R(t){return tt.replace(C,),Dt||t}const B{on(t,e,s,i){j(t,e,s,i,!1)},one(t,e,s,i){j(t,e,s,i,!0)},off(t,e,s,i){if(string!typeof e||!t)return;constn,o,rP(e,s,i),ar!e,lx(t),ce.startsWith(.);if(void 0!o){if(!l||!lr)return;return void H(t,l,r,o,n?s:null)}c&&Object.keys(l).forEach(s>{!function(t,e,s,i){const nes||{};Object.keys(n).forEach(o>{if(o.includes(i)){const ino;H(t,e,s,i.originalHandler,i.delegationSelector)}})}(t,l,s,e.slice(1))});const hlr||{};Object.keys(h).forEach(s>{const is.replace(k,);if(!a||e.includes(i)){const ehs;H(t,l,r,e.originalHandler,e.delegationSelector)}})},trigger(t,e,s){if(string!typeof e||!t)return null;const i_(),nR(e),oe!n,rN.has(n);let a,l!0,c!0,h!1,dnull;return o&&i&&(ai.Event(e,s),i(t).trigger(a),l!a.isPropagationStopped(),c!a.isImmediatePropagationStopped(),ha.isDefaultPrevented()),r?(ddocument.createEvent(HTMLEvents),d.initEvent(n,l,!0)):dnew CustomEvent(e,{bubbles:l,cancelable:!0}),void 0!s&&Object.keys(s).forEach(t>{Object.defineProperty(d,t,{get:()>st})}),h&&d.preventDefault(),c&&t.dispatchEvent(d),d.defaultPrevented&&void 0!a&&a.preventDefault(),d}},$new Map;var W{set(t,e,s){$.has(t)||$.set(t,new Map);const i$.get(t);i.has(e)||0i.size?i.set(e,s):console.error(`Bootstrap doesnt allow more than one instance per element. Bound instance: ${Array.from(i.keys())0}.`)},get:(t,e)>$.has(t)&&$.get(t).get(e)||null,remove(t,e){if(!$.has(t))return;const s$.get(t);s.delete(e),0s.size&&$.delete(t)}};class q{constructor(t){(th(t))&&(this._elementt,W.set(this._element,this.constructor.DATA_KEY,this))}dispose(){W.remove(this._element,this.constructor.DATA_KEY),B.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach(t>{thistnull})}_queueCallback(t,e,s!0){E(t,e,s)}static getInstance(t){return W.get(t,this.DATA_KEY)}static getOrCreateInstance(t,e{}){return this.getInstance(t)||new this(t,objecttypeof e?e:null)}static get VERSION(){return5.0.2}static get NAME(){throw new Error(You have to implement the static method NAME, for each component!)}static get DATA_KEY(){returnbs.+this.NAME}static get EVENT_KEY(){return.+this.DATA_KEY}}class z extends q{static get NAME(){returnalert}close(t){const et?this._getRootElement(t):this._element,sthis._triggerCloseEvent(e);nulls||s.defaultPrevented||this._removeElement(e)}_getRootElement(t){return a(t)||t.closest(.alert)}_triggerCloseEvent(t){return B.trigger(t,close.bs.alert)}_removeElement(t){t.classList.remove(show);const et.classList.contains(fade);this._queueCallback(()>this._destroyElement(t),t,e)}_destroyElement(t){t.remove(),B.trigger(t,closed.bs.alert)}static jQueryInterface(t){return this.each((function(){const ez.getOrCreateInstance(this);closet&&et(this)}))}static handleDismiss(t){return function(e){e&&e.preventDefault(),t.close(this)}}}B.on(document,click.bs.alert.data-api,data-bs-dismissalert,z.handleDismiss(new z)),y(z);class F extends q{static get NAME(){returnbutton}toggle(){this._element.setAttribute(aria-pressed,this._element.classList.toggle(active))}static jQueryInterface(t){return this.each((function(){const eF.getOrCreateInstance(this);togglet&&et()}))}}function U(t){returntruet||false!t&&(tNumber(t).toString()?Number(t):t||nullt?null:t)}function K(t){return t.replace(/A-Z/g,t>-+t.toLowerCase())}B.on(document,click.bs.button.data-api,data-bs-togglebutton,t>{t.preventDefault();const et.target.closest(data-bs-togglebutton);F.getOrCreateInstance(e).toggle()}),y(F);const V{setDataAttribute(t,e,s){t.setAttribute(data-bs-+K(e),s)},removeDataAttribute(t,e){t.removeAttribute(data-bs-+K(e))},getDataAttributes(t){if(!t)return{};const e{};return Object.keys(t.dataset).filter(t>t.startsWith(bs)).forEach(s>{let is.replace(/^bs/,);ii.charAt(0).toLowerCase()+i.slice(1,i.length),eiU(t.datasets)}),e},getDataAttribute:(t,e)>U(t.getAttribute(data-bs-+K(e))),offset(t){const et.getBoundingClientRect();return{top:e.top+document.body.scrollTop,left:e.left+document.body.scrollLeft}},position:t>({top:t.offsetTop,left:t.offsetLeft})},Q{interval:5e3,keyboard:!0,slide:!1,pause:hover,wrap:!0,touch:!0},X{interval:(number|boolean),keyboard:boolean,slide:(boolean|string),pause:(string|boolean),wrap:boolean,touch:boolean},Ynext,Gprev,Zleft,Jright,tt{ArrowLeft:J,ArrowRight:Z};class et extends q{constructor(t,e){super(t),this._itemsnull,this._intervalnull,this._activeElementnull,this._isPaused!1,this._isSliding!1,this.touchTimeoutnull,this.touchStartX0,this.touchDeltaX0,this._configthis._getConfig(e),this._indicatorsElementi.findOne(.carousel-indicators,this._element),this._touchSupportedontouchstartin document.documentElement||navigator.maxTouchPoints>0,this._pointerEventBoolean(window.PointerEvent),this._addEventListeners()}static get Default(){return Q}static get NAME(){returncarousel}next(){this._slide(Y)}nextWhenVisible(){!document.hidden&&u(this._element)&&this.next()}prev(){this._slide(G)}pause(t){t||(this._isPaused!0),i.findOne(.carousel-item-next, .carousel-item-prev,this._element)&&(l(this._element),this.cycle(!0)),clearInterval(this._interval),this._intervalnull}cycle(t){t||(this._isPaused!1),this._interval&&(clearInterval(this._interval),this._intervalnull),this._config&&this._config.interval&&!this._isPaused&&(this._updateInterval(),this._intervalsetInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))}to(t){this._activeElementi.findOne(.active.carousel-item,this._element);const ethis._getItemIndex(this._activeElement);if(t>this._items.length-1||t0)return;if(this._isSliding)return void B.one(this._element,slid.bs.carousel,()>this.to(t));if(et)return this.pause(),void this.cycle();const st>e?Y:G;this._slide(s,this._itemst)}_getConfig(t){return t{...Q,...V.getDataAttributes(this._element),...objecttypeof t?t:{}},d(carousel,t,X),t}_handleSwipe(){const tMath.abs(this.touchDeltaX);if(t40)return;const et/this.touchDeltaX;this.touchDeltaX0,e&&this._slide(e>0?J:Z)}_addEventListeners(){this._config.keyboard&&B.on(this._element,keydown.bs.carousel,t>this._keydown(t)),hoverthis._config.pause&&(B.on(this._element,mouseenter.bs.carousel,t>this.pause(t)),B.on(this._element,mouseleave.bs.carousel,t>this.cycle(t))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}_addTouchEventListeners(){const tt>{!this._pointerEvent||pen!t.pointerType&&touch!t.pointerType?this._pointerEvent||(this.touchStartXt.touches0.clientX):this.touchStartXt.clientX},et>{this.touchDeltaXt.touches&&t.touches.length>1?0:t.touches0.clientX-this.touchStartX},st>{!this._pointerEvent||pen!t.pointerType&&touch!t.pointerType||(this.touchDeltaXt.clientX-this.touchStartX),this._handleSwipe(),hoverthis._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeoutsetTimeout(t>this.cycle(t),500+this._config.interval))};i.find(.carousel-item img,this._element).forEach(t>{B.on(t,dragstart.bs.carousel,t>t.preventDefault())}),this._pointerEvent?(B.on(this._element,pointerdown.bs.carousel,e>t(e)),B.on(this._element,pointerup.bs.carousel,t>s(t)),this._element.classList.add(pointer-event)):(B.on(this._element,touchstart.bs.carousel,e>t(e)),B.on(this._element,touchmove.bs.carousel,t>e(t)),B.on(this._element,touchend.bs.carousel,t>s(t)))}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const ettt.key;e&&(t.preventDefault(),this._slide(e))}_getItemIndex(t){return this._itemst&&t.parentNode?i.find(.carousel-item,t.parentNode):,this._items.indexOf(t)}_getItemByOrder(t,e){const stY;return A(this._items,e,s,this._config.wrap)}_triggerSlideEvent(t,e){const sthis._getItemIndex(t),nthis._getItemIndex(i.findOne(.active.carousel-item,this._element));return B.trigger(this._element,slide.bs.carousel,{relatedTarget:t,direction:e,from:n,to:s})}_setActiveIndicatorElement(t){if(this._indicatorsElement){const ei.findOne(.active,this._indicatorsElement);e.classList.remove(active),e.removeAttribute(aria-current);const si.find(data-bs-target,this._indicatorsElement);for(let e0;es.length;e++)if(Number.parseInt(se.getAttribute(data-bs-slide-to),10)this._getItemIndex(t)){se.classList.add(active),se.setAttribute(aria-current,true);break}}}_updateInterval(){const tthis._activeElement||i.findOne(.active.carousel-item,this._element);if(!t)return;const eNumber.parseInt(t.getAttribute(data-bs-interval),10);e?(this._config.defaultIntervalthis._config.defaultInterval||this._config.interval,this._config.intervale):this._config.intervalthis._config.defaultInterval||this._config.interval}_slide(t,e){const sthis._directionToOrder(t),ni.findOne(.active.carousel-item,this._element),othis._getItemIndex(n),re||this._getItemByOrder(s,n),athis._getItemIndex(r),lBoolean(this._interval),csY,hc?carousel-item-start:carousel-item-end,dc?carousel-item-next:carousel-item-prev,uthis._orderToDirection(s);if(r&&r.classList.contains(active))return void(this._isSliding!1);if(this._isSliding)return;if(this._triggerSlideEvent(r,u).defaultPrevented)return;if(!n||!r)return;this._isSliding!0,l&&this.pause(),this._setActiveIndicatorElement(r),this._activeElementr;const g()>{B.trigger(this._element,slid.bs.carousel,{relatedTarget:r,direction:u,from:o,to:a})};if(this._element.classList.contains(slide)){r.classList.add(d),m(r),n.classList.add(h),r.classList.add(h);const t()>{r.classList.remove(h,d),r.classList.add(active),n.classList.remove(active,d,h),this._isSliding!1,setTimeout(g,0)};this._queueCallback(t,n,!0)}else n.classList.remove(active),r.classList.add(active),this._isSliding!1,g();l&&this.cycle()}_directionToOrder(t){returnJ,Z.includes(t)?v()?tZ?G:Y:tZ?Y:G:t}_orderToDirection(t){returnY,G.includes(t)?v()?tG?Z:J:tG?J:Z:t}static carouselInterface(t,e){const set.getOrCreateInstance(t,e);let{_config:i}s;objecttypeof e&&(i{...i,...e});const nstringtypeof e?e:i.slide;if(numbertypeof e)s.to(e);else if(stringtypeof n){if(void 0sn)throw new TypeError(`No method named ${n}`);sn()}else i.interval&&i.ride&&(s.pause(),s.cycle())}static jQueryInterface(t){return this.each((function(){et.carouselInterface(this,t)}))}static dataApiClickHandler(t){const ea(this);if(!e||!e.classList.contains(carousel))return;const s{...V.getDataAttributes(e),...V.getDataAttributes(this)},ithis.getAttribute(data-bs-slide-to);i&&(s.interval!1),et.carouselInterface(e,s),i&&et.getInstance(e).to(i),t.preventDefault()}}B.on(document,click.bs.carousel.data-api,data-bs-slide, data-bs-slide-to,et.dataApiClickHandler),B.on(window,load.bs.carousel.data-api,()>{const ti.find(data-bs-ridecarousel);for(let e0,st.length;es;e++)et.carouselInterface(te,et.getInstance(te))}),y(et);const st{toggle:!0,parent:},it{toggle:boolean,parent:(string|element)};class nt extends q{constructor(t,e){super(t),this._isTransitioning!1,this._configthis._getConfig(e),this._triggerArrayi.find(`data-bs-togglecollapsehref#${this._element.id},data-bs-togglecollapsedata-bs-target#${this._element.id}`);const si.find(data-bs-togglecollapse);for(let t0,es.length;te;t++){const est,nr(e),oi.find(n).filter(t>tthis._element);null!n&&o.length&&(this._selectorn,this._triggerArray.push(e))}this._parentthis._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}static get Default(){return st}static get NAME(){returncollapse}toggle(){this._element.classList.contains(show)?this.hide():this.show()}show(){if(this._isTransitioning||this._element.classList.contains(show))return;let t,e;this._parent&&(ti.find(.show, .collapsing,this._parent).filter(t>stringtypeof this._config.parent?t.getAttribute(data-bs-parent)this._config.parent:t.classList.contains(collapse)),0t.length&&(tnull));const si.findOne(this._selector);if(t){const it.find(t>s!t);if(ei?nt.getInstance(i):null,e&&e._isTransitioning)return}if(B.trigger(this._element,show.bs.collapse).defaultPrevented)return;t&&t.forEach(t>{s!t&&nt.collapseInterface(t,hide),e||W.set(t,bs.collapse,null)});const nthis._getDimension();this._element.classList.remove(collapse),this._element.classList.add(collapsing),this._element.stylen0,this._triggerArray.length&&this._triggerArray.forEach(t>{t.classList.remove(collapsed),t.setAttribute(aria-expanded,!0)}),this.setTransitioning(!0);const oscroll+(n0.toUpperCase()+n.slice(1));this._queueCallback(()>{this._element.classList.remove(collapsing),this._element.classList.add(collapse,show),this._element.stylen,this.setTransitioning(!1),B.trigger(this._element,shown.bs.collapse)},this._element,!0),this._element.stylenthis._elemento+px}hide(){if(this._isTransitioning||!this._element.classList.contains(show))return;if(B.trigger(this._element,hide.bs.collapse).defaultPrevented)return;const tthis._getDimension();this._element.styletthis._element.getBoundingClientRect()t+px,m(this._element),this._element.classList.add(collapsing),this._element.classList.remove(collapse,show);const ethis._triggerArray.length;if(e>0)for(let t0;te;t++){const ethis._triggerArrayt,sa(e);s&&!s.classList.contains(show)&&(e.classList.add(collapsed),e.setAttribute(aria-expanded,!1))}this.setTransitioning(!0),this._element.stylet,this._queueCallback(()>{this.setTransitioning(!1),this._element.classList.remove(collapsing),this._element.classList.add(collapse),B.trigger(this._element,hidden.bs.collapse)},this._element,!0)}setTransitioning(t){this._isTransitioningt}_getConfig(t){return(t{...st,...t}).toggleBoolean(t.toggle),d(collapse,t,it),t}_getDimension(){return this._element.classList.contains(width)?width:height}_getParent(){let{parent:t}this._config;th(t);const e`data-bs-togglecollapsedata-bs-parent${t}`;return i.find(e,t).forEach(t>{const ea(t);this._addAriaAndCollapsedClass(e,t)}),t}_addAriaAndCollapsedClass(t,e){if(!t||!e.length)return;const st.classList.contains(show);e.forEach(t>{s?t.classList.remove(collapsed):t.classList.add(collapsed),t.setAttribute(aria-expanded,s)})}static collapseInterface(t,e){let snt.getInstance(t);const i{...st,...V.getDataAttributes(t),...objecttypeof e&&e?e:{}};if(!s&&i.toggle&&stringtypeof e&&/show|hide/.test(e)&&(i.toggle!1),s||(snew nt(t,i)),stringtypeof e){if(void 0se)throw new TypeError(`No method named ${e}`);se()}}static jQueryInterface(t){return this.each((function(){nt.collapseInterface(this,t)}))}}B.on(document,click.bs.collapse.data-api,data-bs-togglecollapse,(function(t){(At.target.tagName||t.delegateTarget&&At.delegateTarget.tagName)&&t.preventDefault();const eV.getDataAttributes(this),sr(this);i.find(s).forEach(t>{const snt.getInstance(t);let i;s?(nulls._parent&&stringtypeof e.parent&&(s._config.parente.parent,s._parents._getParent()),itoggle):ie,nt.collapseInterface(t,i)})})),y(nt);const otnew RegExp(ArrowUp|ArrowDown|Escape),rtv()?top-end:top-start,atv()?top-start:top-end,ltv()?bottom-end:bottom-start,ctv()?bottom-start:bottom-end,htv()?left-start:right-start,dtv()?right-start:left-start,ut{offset:0,2,boundary:clippingParents,reference:toggle,display:dynamic,popperConfig:null,autoClose:!0},gt{offset:(array|string|function),boundary:(string|element),reference:(string|element|object),display:string,popperConfig:(null|object|function),autoClose:(boolean|string)};class pt extends q{constructor(t,e){super(t),this._poppernull,this._configthis._getConfig(e),this._menuthis._getMenuElement(),this._inNavbarthis._detectNavbar(),this._addEventListeners()}static get Default(){return ut}static get DefaultType(){return gt}static get NAME(){returndropdown}toggle(){g(this._element)||(this._element.classList.contains(show)?this.hide():this.show())}show(){if(g(this._element)||this._menu.classList.contains(show))return;const tpt.getParentFromElement(this._element),e{relatedTarget:this._element};if(!B.trigger(this._element,show.bs.dropdown,e).defaultPrevented){if(this._inNavbar)V.setDataAttribute(this._menu,popper,none);else{if(void 0s)throw new TypeError(Bootstraps dropdowns require Popper (https://popper.js.org));let ethis._element;parentthis._config.reference?et:c(this._config.reference)?eh(this._config.reference):objecttypeof this._config.reference&&(ethis._config.reference);const ithis._getPopperConfig(),ni.modifiers.find(t>applyStylest.name&&!1t.enabled);this._poppers.createPopper(e,this._menu,i),n&&V.setDataAttribute(this._menu,popper,static)}ontouchstartin document.documentElement&&!t.closest(.navbar-nav)&&.concat(...document.body.children).forEach(t>B.on(t,mouseover,f)),this._element.focus(),this._element.setAttribute(aria-expanded,!0),this._menu.classList.toggle(show),this._element.classList.toggle(show),B.trigger(this._element,shown.bs.dropdown,e)}}hide(){if(g(this._element)||!this._menu.classList.contains(show))return;const t{relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbarthis._detectNavbar(),this._popper&&this._popper.update()}_addEventListeners(){B.on(this._element,click.bs.dropdown,t>{t.preventDefault(),this.toggle()})}_completeHide(t){B.trigger(this._element,hide.bs.dropdown,t).defaultPrevented||(ontouchstartin document.documentElement&&.concat(...document.body.children).forEach(t>B.off(t,mouseover,f)),this._popper&&this._popper.destroy(),this._menu.classList.remove(show),this._element.classList.remove(show),this._element.setAttribute(aria-expanded,false),V.removeDataAttribute(this._menu,popper),B.trigger(this._element,hidden.bs.dropdown,t))}_getConfig(t){if(t{...this.constructor.Default,...V.getDataAttributes(this._element),...t},d(dropdown,t,this.constructor.DefaultType),objecttypeof t.reference&&!c(t.reference)&&function!typeof t.reference.getBoundingClientRect)throw new TypeError(dropdown.toUpperCase()+: Option reference provided type object without a required getBoundingClientRect method.);return t}_getMenuElement(){return i.next(this._element,.dropdown-menu)0}_getPlacement(){const tthis._element.parentNode;if(t.classList.contains(dropend))return ht;if(t.classList.contains(dropstart))return dt;const eendgetComputedStyle(this._menu).getPropertyValue(--bs-position).trim();return t.classList.contains(dropup)?e?at:rt:e?ct:lt}_detectNavbar(){return null!this._element.closest(.navbar)}_getOffset(){const{offset:t}this._config;returnstringtypeof t?t.split(,).map(t>Number.parseInt(t,10)):functiontypeof t?e>t(e,this._element):t}_getPopperConfig(){const t{placement:this._getPlacement(),modifiers:{name:preventOverflow,options:{boundary:this._config.boundary}},{name:offset,options:{offset:this._getOffset()}}};returnstaticthis._config.display&&(t.modifiers{name:applyStyles,enabled:!1}),{...t,...functiontypeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_selectMenuItem({key:t,target:e}){const si.find(.dropdown-menu .dropdown-item:not(.disabled):not(:disabled),this._menu).filter(u);s.length&&A(s,e,ArrowDownt,!s.includes(e)).focus()}static dropdownInterface(t,e){const spt.getOrCreateInstance(t,e);if(stringtypeof e){if(void 0se)throw new TypeError(`No method named ${e}`);se()}}static jQueryInterface(t){return this.each((function(){pt.dropdownInterface(this,t)}))}static clearMenus(t){if(t&&(2t.button||keyupt.type&&Tab!t.key))return;const ei.find(data-bs-toggledropdown);for(let s0,ie.length;si;s++){const ipt.getInstance(es);if(!i||!1i._config.autoClose)continue;if(!i._element.classList.contains(show))continue;const n{relatedTarget:i._element};if(t){const et.composedPath(),se.includes(i._menu);if(e.includes(i._element)||insidei._config.autoClose&&!s||outsidei._config.autoClose&&s)continue;if(i._menu.contains(t.target)&&(keyupt.type&&Tabt.key||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;clickt.type&&(n.clickEventt)}i._completeHide(n)}}static getParentFromElement(t){return a(t)||t.parentNode}static dataApiKeydownHandler(t){if(/input|textarea/i.test(t.target.tagName)?Spacet.key||Escape!t.key&&(ArrowDown!t.key&&ArrowUp!t.key||t.target.closest(.dropdown-menu)):!ot.test(t.key))return;const ethis.classList.contains(show);if(!e&&Escapet.key)return;if(t.preventDefault(),t.stopPropagation(),g(this))return;const s()>this.matches(data-bs-toggledropdown)?this:i.prev(this,data-bs-toggledropdown)0;returnEscapet.key?(s().focus(),void pt.clearMenus()):ArrowUpt.key||ArrowDownt.key?(e||s().click(),void pt.getInstance(s())._selectMenuItem(t)):void(e&&Space!t.key||pt.clearMenus())}}B.on(document,keydown.bs.dropdown.data-api,data-bs-toggledropdown,pt.dataApiKeydownHandler),B.on(document,keydown.bs.dropdown.data-api,.dropdown-menu,pt.dataApiKeydownHandler),B.on(document,click.bs.dropdown.data-api,pt.clearMenus),B.on(document,keyup.bs.dropdown.data-api,pt.clearMenus),B.on(document,click.bs.dropdown.data-api,data-bs-toggledropdown,(function(t){t.preventDefault(),pt.dropdownInterface(this)})),y(pt);class ft{constructor(){this._elementdocument.body}getWidth(){const tdocument.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const tthis.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,paddingRight,e>e+t),this._setElementAttributes(.fixed-top, .fixed-bottom, .is-fixed, .sticky-top,paddingRight,e>e+t),this._setElementAttributes(.sticky-top,marginRight,e>e-t)}_disableOverFlow(){this._saveInitialAttribute(this._element,overflow),this._element.style.overflowhidden}_setElementAttributes(t,e,s){const ithis.getWidth();this._applyManipulationCallback(t,t>{if(t!this._element&&window.innerWidth>t.clientWidth+i)return;this._saveInitialAttribute(t,e);const nwindow.getComputedStyle(t)e;t.stylees(Number.parseFloat(n))+px})}reset(){this._resetElementAttributes(this._element,overflow),this._resetElementAttributes(this._element,paddingRight),this._resetElementAttributes(.fixed-top, .fixed-bottom, .is-fixed, .sticky-top,paddingRight),this._resetElementAttributes(.sticky-top,marginRight)}_saveInitialAttribute(t,e){const st.stylee;s&&V.setDataAttribute(t,e,s)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,t>{const sV.getDataAttribute(t,e);void 0s?t.style.removeProperty(e):(V.removeDataAttribute(t,e),t.stylees)})}_applyManipulationCallback(t,e){c(t)?e(t):i.find(t,this._element).forEach(e)}isOverflowing(){return this.getWidth()>0}}const mt{isVisible:!0,isAnimated:!1,rootElement:body,clickCallback:null},_t{isVisible:boolean,isAnimated:boolean,rootElement:(element|string),clickCallback:(function|null)};class bt{constructor(t){this._configthis._getConfig(t),this._isAppended!1,this._elementnull}show(t){this._config.isVisible?(this._append(),this._config.isAnimated&&m(this._getElement()),this._getElement().classList.add(show),this._emulateAnimation(()>{w(t)})):w(t)}hide(t){this._config.isVisible?(this._getElement().classList.remove(show),this._emulateAnimation(()>{this.dispose(),w(t)})):w(t)}_getElement(){if(!this._element){const tdocument.createElement(div);t.classNamemodal-backdrop,this._config.isAnimated&&t.classList.add(fade),this._elementt}return this._element}_getConfig(t){return(t{...mt,...objecttypeof t?t:{}}).rootElementh(t.rootElement),d(backdrop,t,_t),t}_append(){this._isAppended||(this._config.rootElement.appendChild(this._getElement()),B.on(this._getElement(),mousedown.bs.backdrop,()>{w(this._config.clickCallback)}),this._isAppended!0)}dispose(){this._isAppended&&(B.off(this._element,mousedown.bs.backdrop),this._element.remove(),this._isAppended!1)}_emulateAnimation(t){E(t,this._getElement(),this._config.isAnimated)}}const vt{backdrop:!0,keyboard:!0,focus:!0},yt{backdrop:(boolean|string),keyboard:boolean,focus:boolean};class wt extends q{constructor(t,e){super(t),this._configthis._getConfig(e),this._dialogi.findOne(.modal-dialog,this._element),this._backdropthis._initializeBackDrop(),this._isShown!1,this._ignoreBackdropClick!1,this._isTransitioning!1,this._scrollBarnew ft}static get Default(){return vt}static get NAME(){returnmodal}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||B.trigger(this._element,show.bs.modal,{relatedTarget:t}).defaultPrevented||(this._isShown!0,this._isAnimated()&&(this._isTransitioning!0),this._scrollBar.hide(),document.body.classList.add(modal-open),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),B.on(this._element,click.dismiss.bs.modal,data-bs-dismissmodal,t>this.hide(t)),B.on(this._dialog,mousedown.dismiss.bs.modal,()>{B.one(this._element,mouseup.dismiss.bs.modal,t>{t.targetthis._element&&(this._ignoreBackdropClick!0)})}),this._showBackdrop(()>this._showElement(t)))}hide(t){if(t&&A,AREA.includes(t.target.tagName)&&t.preventDefault(),!this._isShown||this._isTransitioning)return;if(B.trigger(this._element,hide.bs.modal).defaultPrevented)return;this._isShown!1;const ethis._isAnimated();e&&(this._isTransitioning!0),this._setEscapeEvent(),this._setResizeEvent(),B.off(document,focusin.bs.modal),this._element.classList.remove(show),B.off(this._element,click.dismiss.bs.modal),B.off(this._dialog,mousedown.dismiss.bs.modal),this._queueCallback(()>this._hideModal(),this._element,e)}dispose(){window,this._dialog.forEach(t>B.off(t,.bs.modal)),this._backdrop.dispose(),super.dispose(),B.off(document,focusin.bs.modal)}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new bt({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_getConfig(t){return t{...vt,...V.getDataAttributes(this._element),...objecttypeof t?t:{}},d(modal,t,yt),t}_showElement(t){const ethis._isAnimated(),si.findOne(.modal-body,this._dialog);this._element.parentNode&&this._element.parentNode.nodeTypeNode.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.displayblock,this._element.removeAttribute(aria-hidden),this._element.setAttribute(aria-modal,!0),this._element.setAttribute(role,dialog),this._element.scrollTop0,s&&(s.scrollTop0),e&&m(this._element),this._element.classList.add(show),this._config.focus&&this._enforceFocus(),this._queueCallback(()>{this._config.focus&&this._element.focus(),this._isTransitioning!1,B.trigger(this._element,shown.bs.modal,{relatedTarget:t})},this._dialog,e)}_enforceFocus(){B.off(document,focusin.bs.modal),B.on(document,focusin.bs.modal,t>{documentt.target||this._elementt.target||this._element.contains(t.target)||this._element.focus()})}_setEscapeEvent(){this._isShown?B.on(this._element,keydown.dismiss.bs.modal,t>{this._config.keyboard&&Escapet.key?(t.preventDefault(),this.hide()):this._config.keyboard||Escape!t.key||this._triggerBackdropTransition()}):B.off(this._element,keydown.dismiss.bs.modal)}_setResizeEvent(){this._isShown?B.on(window,resize.bs.modal,()>this._adjustDialog()):B.off(window,resize.bs.modal)}_hideModal(){this._element.style.displaynone,this._element.setAttribute(aria-hidden,!0),this._element.removeAttribute(aria-modal),this._element.removeAttribute(role),this._isTransitioning!1,this._backdrop.hide(()>{document.body.classList.remove(modal-open),this._resetAdjustments(),this._scrollBar.reset(),B.trigger(this._element,hidden.bs.modal)})}_showBackdrop(t){B.on(this._element,click.dismiss.bs.modal,t>{this._ignoreBackdropClick?this._ignoreBackdropClick!1:t.targett.currentTarget&&(!0this._config.backdrop?this.hide():staticthis._config.backdrop&&this._triggerBackdropTransition())}),this._backdrop.show(t)}_isAnimated(){return this._element.classList.contains(fade)}_triggerBackdropTransition(){if(B.trigger(this._element,hidePrevented.bs.modal).defaultPrevented)return;const{classList:t,scrollHeight:e,style:s}this._element,ie>document.documentElement.clientHeight;!i&&hiddens.overflowY||t.contains(modal-static)||(i||(s.overflowYhidden),t.add(modal-static),this._queueCallback(()>{t.remove(modal-static),i||this._queueCallback(()>{s.overflowY},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const tthis._element.scrollHeight>document.documentElement.clientHeight,ethis._scrollBar.getWidth(),se>0;(!s&&t&&!v()||s&&!t&&v())&&(this._element.style.paddingLefte+px),(s&&!t&&!v()||!s&&t&&v())&&(this._element.style.paddingRighte+px)}_resetAdjustments(){this._element.style.paddingLeft,this._element.style.paddingRight}static jQueryInterface(t,e){return this.each((function(){const swt.getOrCreateInstance(this,t);if(stringtypeof t){if(void 0st)throw new TypeError(`No method named ${t}`);st(e)}}))}}B.on(document,click.bs.modal.data-api,data-bs-togglemodal,(function(t){const ea(this);A,AREA.includes(this.tagName)&&t.preventDefault(),B.one(e,show.bs.modal,t>{t.defaultPrevented||B.one(e,hidden.bs.modal,()>{u(this)&&this.focus()})}),wt.getOrCreateInstance(e).toggle(this)})),y(wt);const Et{backdrop:!0,keyboard:!0,scroll:!1},At{backdrop:boolean,keyboard:boolean,scroll:boolean};class Tt extends q{constructor(t,e){super(t),this._configthis._getConfig(e),this._isShown!1,this._backdropthis._initializeBackDrop(),this._addEventListeners()}static get NAME(){returnoffcanvas}static get Default(){return Et}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||B.trigger(this._element,show.bs.offcanvas,{relatedTarget:t}).defaultPrevented||(this._isShown!0,this._element.style.visibilityvisible,this._backdrop.show(),this._config.scroll||((new ft).hide(),this._enforceFocusOnElement(this._element)),this._element.removeAttribute(aria-hidden),this._element.setAttribute(aria-modal,!0),this._element.setAttribute(role,dialog),this._element.classList.add(show),this._queueCallback(()>{B.trigger(this._element,shown.bs.offcanvas,{relatedTarget:t})},this._element,!0))}hide(){this._isShown&&(B.trigger(this._element,hide.bs.offcanvas).defaultPrevented||(B.off(document,focusin.bs.offcanvas),this._element.blur(),this._isShown!1,this._element.classList.remove(show),this._backdrop.hide(),this._queueCallback(()>{this._element.setAttribute(aria-hidden,!0),this._element.removeAttribute(aria-modal),this._element.removeAttribute(role),this._element.style.visibilityhidden,this._config.scroll||(new ft).reset(),B.trigger(this._element,hidden.bs.offcanvas)},this._element,!0)))}dispose(){this._backdrop.dispose(),super.dispose(),B.off(document,focusin.bs.offcanvas)}_getConfig(t){return t{...Et,...V.getDataAttributes(this._element),...objecttypeof t?t:{}},d(offcanvas,t,At),t}_initializeBackDrop(){return new bt({isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:()>this.hide()})}_enforceFocusOnElement(t){B.off(document,focusin.bs.offcanvas),B.on(document,focusin.bs.offcanvas,e>{documente.target||te.target||t.contains(e.target)||t.focus()}),t.focus()}_addEventListeners(){B.on(this._element,click.dismiss.bs.offcanvas,data-bs-dismissoffcanvas,()>this.hide()),B.on(this._element,keydown.dismiss.bs.offcanvas,t>{this._config.keyboard&&Escapet.key&&this.hide()})}static jQueryInterface(t){return this.each((function(){const eTt.getOrCreateInstance(this,t);if(stringtypeof t){if(void 0et||t.startsWith(_)||constructort)throw new TypeError(`No method named ${t}`);et(this)}}))}}B.on(document,click.bs.offcanvas.data-api,data-bs-toggleoffcanvas,(function(t){const ea(this);if(A,AREA.includes(this.tagName)&&t.preventDefault(),g(this))return;B.one(e,hidden.bs.offcanvas,()>{u(this)&&this.focus()});const si.findOne(.offcanvas.show);s&&s!e&&Tt.getInstance(s).hide(),Tt.getOrCreateInstance(e).toggle(this)})),B.on(window,load.bs.offcanvas.data-api,()>i.find(.offcanvas.show).forEach(t>Tt.getOrCreateInstance(t).show())),y(Tt);const Ctnew Set(background,cite,href,itemtype,longdesc,poster,src,xlink:href),kt/^(?:(?:https?|mailto|ftp|tel|file):|^#&/:?*(?:#/?|$))/i,Lt/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,\d+/a-z+*$/i,Ot(t,e)>{const st.nodeName.toLowerCase();if(e.includes(s))return!Ct.has(s)||Boolean(kt.test(t.nodeValue)||Lt.test(t.nodeValue));const ie.filter(t>t instanceof RegExp);for(let t0,ei.length;te;t++)if(it.test(s))return!0;return!1};function Dt(t,e,s){if(!t.length)return t;if(s&&functiontypeof s)return s(t);const i(new window.DOMParser).parseFromString(t,text/html),nObject.keys(e),o.concat(...i.body.querySelectorAll(*));for(let t0,so.length;ts;t++){const sot,is.nodeName.toLowerCase();if(!n.includes(i)){s.remove();continue}const r.concat(...s.attributes),a.concat(e*||,ei||);r.forEach(t>{Ot(t,a)||s.removeAttribute(t.nodeName)})}return i.body.innerHTML}const Itnew RegExp((^|\\s)bs-tooltip\\S+,g),Ntnew Set(sanitize,allowList,sanitizeFn),St{animation:boolean,template:string,title:(string|element|function),trigger:string,delay:(number|object),html:boolean,selector:(string|boolean),placement:(string|function),offset:(array|string|function),container:(string|element|boolean),fallbackPlacements:array,boundary:(string|element),customClass:(string|function),sanitize:boolean,sanitizeFn:(null|function),allowList:object,popperConfig:(null|object|function)},xt{AUTO:auto,TOP:top,RIGHT:v()?left:right,BOTTOM:bottom,LEFT:v()?right:left},Mt{animation:!0,template:div classtooltip roletooltip>div classtooltip-arrow>/div>div classtooltip-inner>/div>/div>,trigger:hover focus,title:,delay:0,html:!1,selector:!1,placement:top,offset:0,0,container:!1,fallbackPlacements:top,right,bottom,left,boundary:clippingParents,customClass:,sanitize:!0,sanitizeFn:null,allowList:{*:class,dir,id,lang,role,/^aria-\w-*$/i,a:target,href,title,rel,area:,b:,br:,col:,code:,div:,em:,hr:,h1:,h2:,h3:,h4:,h5:,h6:,i:,img:src,srcset,alt,title,width,height,li:,ol:,p:,pre:,s:,small:,span:,sub:,sup:,strong:,u:,ul:},popperConfig:null},Pt{HIDE:hide.bs.tooltip,HIDDEN:hidden.bs.tooltip,SHOW:show.bs.tooltip,SHOWN:shown.bs.tooltip,INSERTED:inserted.bs.tooltip,CLICK:click.bs.tooltip,FOCUSIN:focusin.bs.tooltip,FOCUSOUT:focusout.bs.tooltip,MOUSEENTER:mouseenter.bs.tooltip,MOUSELEAVE:mouseleave.bs.tooltip};class jt extends q{constructor(t,e){if(void 0s)throw new TypeError(Bootstraps tooltips require Popper (https://popper.js.org));super(t),this._isEnabled!0,this._timeout0,this._hoverState,this._activeTrigger{},this._poppernull,this._configthis._getConfig(e),this.tipnull,this._setListeners()}static get Default(){return Mt}static get NAME(){returntooltip}static get Event(){return Pt}static get DefaultType(){return St}enable(){this._isEnabled!0}disable(){this._isEnabled!1}toggleEnabled(){this._isEnabled!this._isEnabled}toggle(t){if(this._isEnabled)if(t){const ethis._initializeOnDelegatedTarget(t);e._activeTrigger.click!e._activeTrigger.click,e._isWithActiveTrigger()?e._enter(null,e):e._leave(null,e)}else{if(this.getTipElement().classList.contains(show))return void this._leave(null,this);this._enter(null,this)}}dispose(){clearTimeout(this._timeout),B.off(this._element.closest(.modal),hide.bs.modal,this._hideModalHandler),this.tip&&this.tip.remove(),this._popper&&this._popper.destroy(),super.dispose()}show(){if(nonethis._element.style.display)throw new Error(Please use show on visible elements);if(!this.isWithContent()||!this._isEnabled)return;const tB.trigger(this._element,this.constructor.Event.SHOW),ep(this._element),inulle?this._element.ownerDocument.documentElement.contains(this._element):e.contains(this._element);if(t.defaultPrevented||!i)return;const othis.getTipElement(),rn(this.constructor.NAME);o.setAttribute(id,r),this._element.setAttribute(aria-describedby,r),this.setContent(),this._config.animation&&o.classList.add(fade);const afunctiontypeof this._config.placement?this._config.placement.call(this,o,this._element):this._config.placement,lthis._getAttachment(a);this._addAttachmentClass(l);const{container:c}this._config;W.set(o,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(c.appendChild(o),B.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update():this._poppers.createPopper(this._element,o,this._getPopperConfig(l)),o.classList.add(show);const hfunctiontypeof this._config.customClass?this._config.customClass():this._config.customClass;h&&o.classList.add(...h.split( )),ontouchstartin document.documentElement&&.concat(...document.body.children).forEach(t>{B.on(t,mouseover,f)});const dthis.tip.classList.contains(fade);this._queueCallback(()>{const tthis._hoverState;this._hoverStatenull,B.trigger(this._element,this.constructor.Event.SHOWN),outt&&this._leave(null,this)},this.tip,d)}hide(){if(!this._popper)return;const tthis.getTipElement();if(B.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented)return;t.classList.remove(show),ontouchstartin document.documentElement&&.concat(...document.body.children).forEach(t>B.off(t,mouseover,f)),this._activeTrigger.click!1,this._activeTrigger.focus!1,this._activeTrigger.hover!1;const ethis.tip.classList.contains(fade);this._queueCallback(()>{this._isWithActiveTrigger()||(show!this._hoverState&&t.remove(),this._cleanTipClass(),this._element.removeAttribute(aria-describedby),B.trigger(this._element,this.constructor.Event.HIDDEN),this._popper&&(this._popper.destroy(),this._poppernull))},this.tip,e),this._hoverState}update(){null!this._popper&&this._popper.update()}isWithContent(){return Boolean(this.getTitle())}getTipElement(){if(this.tip)return this.tip;const tdocument.createElement(div);return t.innerHTMLthis._config.template,this.tipt.children0,this.tip}setContent(){const tthis.getTipElement();this.setElementContent(i.findOne(.tooltip-inner,t),this.getTitle()),t.classList.remove(fade,show)}setElementContent(t,e){if(null!t)return c(e)?(eh(e),void(this._config.html?e.parentNode!t&&(t.innerHTML,t.appendChild(e)):t.textContente.textContent)):void(this._config.html?(this._config.sanitize&&(eDt(e,this._config.allowList,this._config.sanitizeFn)),t.innerHTMLe):t.textContente)}getTitle(){let tthis._element.getAttribute(data-bs-original-title);return t||(tfunctiontypeof this._config.title?this._config.title.call(this._element):this._config.title),t}updateAttachment(t){returnrightt?end:leftt?start:t}_initializeOnDelegatedTarget(t,e){const sthis.constructor.DATA_KEY;return(ee||W.get(t.delegateTarget,s))||(enew this.constructor(t.delegateTarget,this._getDelegateConfig()),W.set(t.delegateTarget,s,e)),e}_getOffset(){const{offset:t}this._config;returnstringtypeof t?t.split(,).map(t>Number.parseInt(t,10)):functiontypeof t?e>t(e,this._element):t}_getPopperConfig(t){const e{placement:t,modifiers:{name:flip,options:{fallbackPlacements:this._config.fallbackPlacements}},{name:offset,options:{offset:this._getOffset()}},{name:preventOverflow,options:{boundary:this._config.boundary}},{name:arrow,options:{element:`.${this.constructor.NAME}-arrow`}},{name:onChange,enabled:!0,phase:afterWrite,fn:t>this._handlePopperPlacementChange(t)},onFirstUpdate:t>{t.options.placement!t.placement&&this._handlePopperPlacementChange(t)}};return{...e,...functiontypeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_addAttachmentClass(t){this.getTipElement().classList.add(bs-tooltip-+this.updateAttachment(t))}_getAttachment(t){return xtt.toUpperCase()}_setListeners(){this._config.trigger.split( ).forEach(t>{if(clickt)B.on(this._element,this.constructor.Event.CLICK,this._config.selector,t>this.toggle(t));else if(manual!t){const ehovert?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,shovert?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT;B.on(this._element,e,this._config.selector,t>this._enter(t)),B.on(this._element,s,this._config.selector,t>this._leave(t))}}),this._hideModalHandler()>{this._element&&this.hide()},B.on(this._element.closest(.modal),hide.bs.modal,this._hideModalHandler),this._config.selector?this._config{...this._config,trigger:manual,selector:}:this._fixTitle()}_fixTitle(){const tthis._element.getAttribute(title),etypeof this._element.getAttribute(data-bs-original-title);(t||string!e)&&(this._element.setAttribute(data-bs-original-title,t||),!t||this._element.getAttribute(aria-label)||this._element.textContent||this._element.setAttribute(aria-label,t),this._element.setAttribute(title,))}_enter(t,e){ethis._initializeOnDelegatedTarget(t,e),t&&(e._activeTriggerfocusint.type?focus:hover!0),e.getTipElement().classList.contains(show)||showe._hoverState?e._hoverStateshow:(clearTimeout(e._timeout),e._hoverStateshow,e._config.delay&&e._config.delay.show?e._timeoutsetTimeout(()>{showe._hoverState&&e.show()},e._config.delay.show):e.show())}_leave(t,e){ethis._initializeOnDelegatedTarget(t,e),t&&(e._activeTriggerfocusoutt.type?focus:hovere._element.contains(t.relatedTarget)),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverStateout,e._config.delay&&e._config.delay.hide?e._timeoutsetTimeout(()>{oute._hoverState&&e.hide()},e._config.delay.hide):e.hide())}_isWithActiveTrigger(){for(const t in this._activeTrigger)if(this._activeTriggert)return!0;return!1}_getConfig(t){const eV.getDataAttributes(this._element);return Object.keys(e).forEach(t>{Nt.has(t)&&delete et}),(t{...this.constructor.Default,...e,...objecttypeof t&&t?t:{}}).container!1t.container?document.body:h(t.container),numbertypeof t.delay&&(t.delay{show:t.delay,hide:t.delay}),numbertypeof t.title&&(t.titlet.title.toString()),numbertypeof t.content&&(t.contentt.content.toString()),d(tooltip,t,this.constructor.DefaultType),t.sanitize&&(t.templateDt(t.template,t.allowList,t.sanitizeFn)),t}_getDelegateConfig(){const t{};if(this._config)for(const e in this._config)this.constructor.Defaulte!this._confige&&(tethis._confige);return t}_cleanTipClass(){const tthis.getTipElement(),et.getAttribute(class).match(It);null!e&&e.length>0&&e.map(t>t.trim()).forEach(e>t.classList.remove(e))}_handlePopperPlacementChange(t){const{state:e}t;e&&(this.tipe.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(e.placement)))}static jQueryInterface(t){return this.each((function(){const ejt.getOrCreateInstance(this,t);if(stringtypeof t){if(void 0et)throw new TypeError(`No method named ${t}`);et()}}))}}y(jt);const Htnew RegExp((^|\\s)bs-popover\\S+,g),Rt{...jt.Default,placement:right,offset:0,8,trigger:click,content:,template:div classpopover roletooltip>div classpopover-arrow>/div>h3 classpopover-header>/h3>div classpopover-body>/div>/div>},Bt{...jt.DefaultType,content:(string|element|function)},$t{HIDE:hide.bs.popover,HIDDEN:hidden.bs.popover,SHOW:show.bs.popover,SHOWN:shown.bs.popover,INSERTED:inserted.bs.popover,CLICK:click.bs.popover,FOCUSIN:focusin.bs.popover,FOCUSOUT:focusout.bs.popover,MOUSEENTER:mouseenter.bs.popover,MOUSELEAVE:mouseleave.bs.popover};class Wt extends jt{static get Default(){return Rt}static get NAME(){returnpopover}static get Event(){return $t}static get DefaultType(){return Bt}isWithContent(){return this.getTitle()||this._getContent()}getTipElement(){return this.tip||(this.tipsuper.getTipElement(),this.getTitle()||i.findOne(.popover-header,this.tip).remove(),this._getContent()||i.findOne(.popover-body,this.tip).remove()),this.tip}setContent(){const tthis.getTipElement();this.setElementContent(i.findOne(.popover-header,t),this.getTitle());let ethis._getContent();functiontypeof e&&(ee.call(this._element)),this.setElementContent(i.findOne(.popover-body,t),e),t.classList.remove(fade,show)}_addAttachmentClass(t){this.getTipElement().classList.add(bs-popover-+this.updateAttachment(t))}_getContent(){return this._element.getAttribute(data-bs-content)||this._config.content}_cleanTipClass(){const tthis.getTipElement(),et.getAttribute(class).match(Ht);null!e&&e.length>0&&e.map(t>t.trim()).forEach(e>t.classList.remove(e))}static jQueryInterface(t){return this.each((function(){const eWt.getOrCreateInstance(this,t);if(stringtypeof t){if(void 0et)throw new TypeError(`No method named ${t}`);et()}}))}}y(Wt);const qt{offset:10,method:auto,target:},zt{offset:number,method:string,target:(string|element)};class Ft extends q{constructor(t,e){super(t),this._scrollElementBODYthis._element.tagName?window:this._element,this._configthis._getConfig(e),this._selector`${this._config.target} .nav-link, ${this._config.target} .list-group-item, ${this._config.target} .dropdown-item`,this._offsets,this._targets,this._activeTargetnull,this._scrollHeight0,B.on(this._scrollElement,scroll.bs.scrollspy,()>this._process()),this.refresh(),this._process()}static get Default(){return qt}static get NAME(){returnscrollspy}refresh(){const tthis._scrollElementthis._scrollElement.window?offset:position,eautothis._config.method?t:this._config.method,spositione?this._getScrollTop():0;this._offsets,this._targets,this._scrollHeightthis._getScrollHeight(),i.find(this._selector).map(t>{const nr(t),on?i.findOne(n):null;if(o){const to.getBoundingClientRect();if(t.width||t.height)returnVe(o).top+s,n}return null}).filter(t>t).sort((t,e)>t0-e0).forEach(t>{this._offsets.push(t0),this._targets.push(t1)})}dispose(){B.off(this._scrollElement,.bs.scrollspy),super.dispose()}_getConfig(t){if(string!typeof(t{...qt,...V.getDataAttributes(this._element),...objecttypeof t&&t?t:{}}).target&&c(t.target)){let{id:e}t.target;e||(en(scrollspy),t.target.ide),t.target#+e}return d(scrollspy,t,zt),t}_getScrollTop(){return this._scrollElementwindow?this._scrollElement.pageYOffset:this._scrollElement.scrollTop}_getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}_getOffsetHeight(){return this._scrollElementwindow?window.innerHeight:this._scrollElement.getBoundingClientRect().height}_process(){const tthis._getScrollTop()+this._config.offset,ethis._getScrollHeight(),sthis._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!e&&this.refresh(),t>s){const tthis._targetsthis._targets.length-1;this._activeTarget!t&&this._activate(t)}else{if(this._activeTarget&&tthis._offsets0&&this._offsets0>0)return this._activeTargetnull,void this._clear();for(let ethis._offsets.length;e--;)this._activeTarget!this._targetse&&t>this._offsetse&&(void 0this._offsetse+1||tthis._offsetse+1)&&this._activate(this._targetse)}}_activate(t){this._activeTargett,this._clear();const ethis._selector.split(,).map(e>`${e}data-bs-target${t},${e}href${t}`),si.findOne(e.join(,));s.classList.contains(dropdown-item)?(i.findOne(.dropdown-toggle,s.closest(.dropdown)).classList.add(active),s.classList.add(active)):(s.classList.add(active),i.parents(s,.nav, .list-group).forEach(t>{i.prev(t,.nav-link, .list-group-item).forEach(t>t.classList.add(active)),i.prev(t,.nav-item).forEach(t>{i.children(t,.nav-link).forEach(t>t.classList.add(active))})})),B.trigger(this._scrollElement,activate.bs.scrollspy,{relatedTarget:t})}_clear(){i.find(this._selector).filter(t>t.classList.contains(active)).forEach(t>t.classList.remove(active))}static jQueryInterface(t){return this.each((function(){const eFt.getOrCreateInstance(this,t);if(stringtypeof t){if(void 0et)throw new TypeError(`No method named ${t}`);et()}}))}}B.on(window,load.bs.scrollspy.data-api,()>{i.find(data-bs-spyscroll).forEach(t>new Ft(t))}),y(Ft);class Ut extends q{static get NAME(){returntab}show(){if(this._element.parentNode&&this._element.parentNode.nodeTypeNode.ELEMENT_NODE&&this._element.classList.contains(active))return;let t;const ea(this._element),sthis._element.closest(.nav, .list-group);if(s){const eULs.nodeName||OLs.nodeName?:scope > li > .active:.active;ti.find(e,s),ttt.length-1}const nt?B.trigger(t,hide.bs.tab,{relatedTarget:this._element}):null;if(B.trigger(this._element,show.bs.tab,{relatedTarget:t}).defaultPrevented||null!n&&n.defaultPrevented)return;this._activate(this._element,s);const o()>{B.trigger(t,hidden.bs.tab,{relatedTarget:this._element}),B.trigger(this._element,shown.bs.tab,{relatedTarget:t})};e?this._activate(e,e.parentNode,o):o()}_activate(t,e,s){const n(!e||UL!e.nodeName&&OL!e.nodeName?i.children(e,.active):i.find(:scope > li > .active,e))0,os&&n&&n.classList.contains(fade),r()>this._transitionComplete(t,n,s);n&&o?(n.classList.remove(show),this._queueCallback(r,t,!0)):r()}_transitionComplete(t,e,s){if(e){e.classList.remove(active);const ti.findOne(:scope > .dropdown-menu .active,e.parentNode);t&&t.classList.remove(active),tabe.getAttribute(role)&&e.setAttribute(aria-selected,!1)}t.classList.add(active),tabt.getAttribute(role)&&t.setAttribute(aria-selected,!0),m(t),t.classList.contains(fade)&&t.classList.add(show);let nt.parentNode;if(n&&LIn.nodeName&&(nn.parentNode),n&&n.classList.contains(dropdown-menu)){const et.closest(.dropdown);e&&i.find(.dropdown-toggle,e).forEach(t>t.classList.add(active)),t.setAttribute(aria-expanded,!0)}s&&s()}static jQueryInterface(t){return this.each((function(){const eUt.getOrCreateInstance(this);if(stringtypeof t){if(void 0et)throw new TypeError(`No method named ${t}`);et()}}))}}B.on(document,click.bs.tab.data-api,data-bs-toggletab, data-bs-togglepill, data-bs-togglelist,(function(t){A,AREA.includes(this.tagName)&&t.preventDefault(),g(this)||Ut.getOrCreateInstance(this).show()})),y(Ut);const Kt{animation:boolean,autohide:boolean,delay:number},Vt{animation:!0,autohide:!0,delay:5e3};class Qt extends q{constructor(t,e){super(t),this._configthis._getConfig(e),this._timeoutnull,this._hasMouseInteraction!1,this._hasKeyboardInteraction!1,this._setListeners()}static get DefaultType(){return Kt}static get Default(){return Vt}static get NAME(){returntoast}show(){B.trigger(this._element,show.bs.toast).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add(fade),this._element.classList.remove(hide),m(this._element),this._element.classList.add(showing),this._queueCallback(()>{this._element.classList.remove(showing),this._element.classList.add(show),B.trigger(this._element,shown.bs.toast),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this._element.classList.contains(show)&&(B.trigger(this._element,hide.bs.toast).defaultPrevented||(this._element.classList.remove(show),this._queueCallback(()>{this._element.classList.add(hide),B.trigger(this._element,hidden.bs.toast)},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this._element.classList.contains(show)&&this._element.classList.remove(show),super.dispose()}_getConfig(t){return t{...Vt,...V.getDataAttributes(this._element),...objecttypeof t&&t?t:{}},d(toast,t,this.constructor.DefaultType),t}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeoutsetTimeout(()>{this.hide()},this._config.delay)))}_onInteraction(t,e){switch(t.type){casemouseover:casemouseout:this._hasMouseInteractione;break;casefocusin:casefocusout:this._hasKeyboardInteractione}if(e)return void this._clearTimeout();const st.relatedTarget;this._elements||this._element.contains(s)||this._maybeScheduleHide()}_setListeners(){B.on(this._element,click.dismiss.bs.toast,data-bs-dismisstoast,()>this.hide()),B.on(this._element,mouseover.bs.toast,t>this._onInteraction(t,!0)),B.on(this._element,mouseout.bs.toast,t>this._onInteraction(t,!1)),B.on(this._element,focusin.bs.toast,t>this._onInteraction(t,!0)),B.on(this._element,focusout.bs.toast,t>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeoutnull}static jQueryInterface(t){return this.each((function(){const eQt.getOrCreateInstance(this,t);if(stringtypeof t){if(void 0et)throw new TypeError(`No method named ${t}`);et(this)}}))}}return y(Qt),{Alert:z,Button:F,Carousel:et,Collapse:nt,Dropdown:pt,Modal:wt,Offcanvas:Tt,Popover:Wt,ScrollSpy:Ft,Tab:Ut,Toast:Qt,Tooltip:jt}}));/script>-->script srcplugins/nouislider/nouislider.js>/script>script srcplugins/bootstrap-touchspin/jquery.bootstrap-touchspin.js>/script>script data-srcplugins/autosize/autosize.min.js>/*! autosize 4.0.2 license: MIT http://www.jacklmoore.com/autosize*/!function(e,t){if(functiontypeof define&&define.amd)define(module,exports,t);else if(undefined!typeof exports)t(module,exports);else{var n{exports:{}};t(n,n.exports),e.autosizen.exports}}(this,function(e,t){use strict;var n,o,pfunctiontypeof Map?new Map:(n,o,{has:function(e){return-1n.indexOf(e)},get:function(e){return on.indexOf(e)},set:function(e,t){-1n.indexOf(e)&&(n.push(e),o.push(t))},delete:function(e){var tn.indexOf(e);-1t&&(n.splice(t,1),o.splice(t,1))}}),cfunction(e){return new Event(e,{bubbles:!0})};try{new Event(test)}catch(e){cfunction(e){var tdocument.createEvent(Event);return t.initEvent(e,!0,!1),t}}function r(r){if(r&&r.nodeName&&TEXTAREAr.nodeName&&!p.has(r)){var e,nnull,onull,inull,dfunction(){r.clientWidth!o&&a()},lfunction(t){window.removeEventListener(resize,d,!1),r.removeEventListener(input,a,!1),r.removeEventListener(keyup,a,!1),r.removeEventListener(autosize:destroy,l,!1),r.removeEventListener(autosize:update,a,!1),Object.keys(t).forEach(function(e){r.styleete}),p.delete(r)}.bind(r,{height:r.style.height,resize:r.style.resize,overflowY:r.style.overflowY,overflowX:r.style.overflowX,wordWrap:r.style.wordWrap});r.addEventListener(autosize:destroy,l,!1),onpropertychangein r&&oninputin r&&r.addEventListener(keyup,a,!1),window.addEventListener(resize,d,!1),r.addEventListener(input,a,!1),r.addEventListener(autosize:update,a,!1),r.style.overflowXhidden,r.style.wordWrapbreak-word,p.set(r,{destroy:l,update:a}),vertical(ewindow.getComputedStyle(r,null)).resize?r.style.resizenone:bothe.resize&&(r.style.resizehorizontal),ncontent-boxe.boxSizing?-(parseFloat(e.paddingTop)+parseFloat(e.paddingBottom)):parseFloat(e.borderTopWidth)+parseFloat(e.borderBottomWidth),isNaN(n)&&(n0),a()}function s(e){var tr.style.width;r.style.width0px,r.offsetWidth,r.style.widtht,r.style.overflowYe}function u(){if(0!r.scrollHeight){var efunction(e){for(var t;e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),ee.parentNode;return t}(r),tdocument.documentElement&&document.documentElement.scrollTop;r.style.height,r.style.heightr.scrollHeight+n+px,or.clientWidth,e.forEach(function(e){e.node.scrollTope.scrollTop}),t&&(document.documentElement.scrollTopt)}}function a(){u();var eMath.round(parseFloat(r.style.height)),twindow.getComputedStyle(r,null),ncontent-boxt.boxSizing?Math.round(parseFloat(t.height)):r.offsetHeight;if(ne?hiddent.overflowY&&(s(scroll),u(),ncontent-boxt.boxSizing?Math.round(parseFloat(window.getComputedStyle(r,null).height)):r.offsetHeight):hidden!t.overflowY&&(s(hidden),u(),ncontent-boxt.boxSizing?Math.round(parseFloat(window.getComputedStyle(r,null).height)):r.offsetHeight),i!n){in;var oc(autosize:resized);try{r.dispatchEvent(o)}catch(e){}}}}function i(e){var tp.get(e);t&&t.destroy()}function d(e){var tp.get(e);t&&t.update()}var lnull;undefinedtypeof window||function!typeof window.getComputedStyle?((lfunction(e){return e}).destroyfunction(e){return e},l.updatefunction(e){return e}):((lfunction(e,t){return e&&Array.prototype.forEach.call(e.length?e:e,function(e){return r(e)}),e}).destroyfunction(e){return e&&Array.prototype.forEach.call(e.length?e:e,i),e},l.updatefunction(e){return e&&Array.prototype.forEach.call(e.length?e:e,d),e}),t.defaultl,e.exportst.default});/script>script data-srcdist/js/autocomplete.min.js> function autocomplete(e,t){let n;function i(e){if(!e)return!1;!function(e){...e.map((e>e.classList.remove(active)))}(e),n>e.length&&(n0),n0&&(ne.length-1),en.classList.add(active)}function s(t){...document.getElementsByClassName(autocomplete-items).map((n>t!n&&t!e?n.remove():))}e.addEventListener(input,(function(){let i,a,o,rthis.value;if(s(),!r)return!1;if(n-1,t.filter((e>e.toUpperCase().startsWith(r.toUpperCase()))).length){idocument.createElement(div),i.setAttribute(id,this.id+autocomplete-list),i.setAttribute(class,dropdown-menu autocomplete-items show),this.insertAdjacentElement(afterend,i);const nwindow.getComputedStyle(e).marginBottom.replace(px,),lwindow.getComputedStyle(i).marginTop.replace(px,);for(i.style.marginTop-(n-l)+px,i.addEventListener(mousedown,(e>e.preventDefault())),o0;ot.length;o++)to.substr(0,r.length).toUpperCase()r.toUpperCase()&&(adocument.createElement(a),a.setAttribute(class,dropdown-item),a.setAttribute(href,#),a.setAttribute(tabindex,-1),a.innerHTML`strong>${to.substr(0,r.length)}/strong>`,a.innerHTML+to.substr(r.length),a.innerHTML+`input typehidden value${to}>`,a.addEventListener(mousedown,(e>e.preventDefault())),a.addEventListener(click,(function(t){e.valuethis.getElementsByTagName(input)0.value,s(),t.preventDefault()})),i.appendChild(a))}})),e.addEventListener(keydown,(function(e){var tdocument.getElementById(this.id+autocomplete-list);t&&(tt.getElementsByTagName(a)),40e.keyCode?(n++,i(t)):38e.keyCode?(n--,i(t)):13e.keyCode&&(n>-1&&t&&tn.click(),e.preventDefault())})),document.addEventListener(click,(e>s(e.target)))}/script>script typetext/javascript srcplugins/duallistbox/duallistbox.min.js>/script>script typetext/javascript srcplugins/new_select2/js/select2.js>/script>script data-srcplugins/chart.js/Chart.min.js>/*! * Chart.js v2.9.4 * https://www.chartjs.org * (c) 2020 Chart.js Contributors * Released under the MIT License */!function(t,e){objecttypeof exports&&undefined!typeof module?module.exportse(function(){try{return require(moment)}catch(t){}}()):functiontypeof define&&define.amd?define(require,(function(t){return e(function(){try{return t(moment)}catch(t){}}())})):(tt||self).Charte(t.moment)}(this,(function(t){use strict;tt&&t.hasOwnProperty(default)?t.default:t;var e{aliceblue:240,248,255,antiquewhite:250,235,215,aqua:0,255,255,aquamarine:127,255,212,azure:240,255,255,beige:245,245,220,bisque:255,228,196,black:0,0,0,blanchedalmond:255,235,205,blue:0,0,255,blueviolet:138,43,226,brown:165,42,42,burlywood:222,184,135,cadetblue:95,158,160,chartreuse:127,255,0,chocolate:210,105,30,coral:255,127,80,cornflowerblue:100,149,237,cornsilk:255,248,220,crimson:220,20,60,cyan:0,255,255,darkblue:0,0,139,darkcyan:0,139,139,darkgoldenrod:184,134,11,darkgray:169,169,169,darkgreen:0,100,0,darkgrey:169,169,169,darkkhaki:189,183,107,darkmagenta:139,0,139,darkolivegreen:85,107,47,darkorange:255,140,0,darkorchid:153,50,204,darkred:139,0,0,darksalmon:233,150,122,darkseagreen:143,188,143,darkslateblue:72,61,139,darkslategray:47,79,79,darkslategrey:47,79,79,darkturquoise:0,206,209,darkviolet:148,0,211,deeppink:255,20,147,deepskyblue:0,191,255,dimgray:105,105,105,dimgrey:105,105,105,dodgerblue:30,144,255,firebrick:178,34,34,floralwhite:255,250,240,forestgreen:34,139,34,fuchsia:255,0,255,gainsboro:220,220,220,ghostwhite:248,248,255,gold:255,215,0,goldenrod:218,165,32,gray:128,128,128,green:0,128,0,greenyellow:173,255,47,grey:128,128,128,honeydew:240,255,240,hotpink:255,105,180,indianred:205,92,92,indigo:75,0,130,ivory:255,255,240,khaki:240,230,140,lavender:230,230,250,lavenderblush:255,240,245,lawngreen:124,252,0,lemonchiffon:255,250,205,lightblue:173,216,230,lightcoral:240,128,128,lightcyan:224,255,255,lightgoldenrodyellow:250,250,210,lightgray:211,211,211,lightgreen:144,238,144,lightgrey:211,211,211,lightpink:255,182,193,lightsalmon:255,160,122,lightseagreen:32,178,170,lightskyblue:135,206,250,lightslategray:119,136,153,lightslategrey:119,136,153,lightsteelblue:176,196,222,lightyellow:255,255,224,lime:0,255,0,limegreen:50,205,50,linen:250,240,230,magenta:255,0,255,maroon:128,0,0,mediumaquamarine:102,205,170,mediumblue:0,0,205,mediumorchid:186,85,211,mediumpurple:147,112,219,mediumseagreen:60,179,113,mediumslateblue:123,104,238,mediumspringgreen:0,250,154,mediumturquoise:72,209,204,mediumvioletred:199,21,133,midnightblue:25,25,112,mintcream:245,255,250,mistyrose:255,228,225,moccasin:255,228,181,navajowhite:255,222,173,navy:0,0,128,oldlace:253,245,230,olive:128,128,0,olivedrab:107,142,35,orange:255,165,0,orangered:255,69,0,orchid:218,112,214,palegoldenrod:238,232,170,palegreen:152,251,152,paleturquoise:175,238,238,palevioletred:219,112,147,papayawhip:255,239,213,peachpuff:255,218,185,peru:205,133,63,pink:255,192,203,plum:221,160,221,powderblue:176,224,230,purple:128,0,128,rebeccapurple:102,51,153,red:255,0,0,rosybrown:188,143,143,royalblue:65,105,225,saddlebrown:139,69,19,salmon:250,128,114,sandybrown:244,164,96,seagreen:46,139,87,seashell:255,245,238,sienna:160,82,45,silver:192,192,192,skyblue:135,206,235,slateblue:106,90,205,slategray:112,128,144,slategrey:112,128,144,snow:255,250,250,springgreen:0,255,127,steelblue:70,130,180,tan:210,180,140,teal:0,128,128,thistle:216,191,216,tomato:255,99,71,turquoise:64,224,208,violet:238,130,238,wheat:245,222,179,white:255,255,255,whitesmoke:245,245,245,yellow:255,255,0,yellowgreen:154,205,50},nfunction(t,e){return t(e{exports:{}},e.exports),e.exports}((function(t){var n{};for(var i in e)e.hasOwnProperty(i)&&(neii);var at.exports{rgb:{channels:3,labels:rgb},hsl:{channels:3,labels:hsl},hsv:{channels:3,labels:hsv},hwb:{channels:3,labels:hwb},cmyk:{channels:4,labels:cmyk},xyz:{channels:3,labels:xyz},lab:{channels:3,labels:lab},lch:{channels:3,labels:lch},hex:{channels:1,labels:hex},keyword:{channels:1,labels:keyword},ansi16:{channels:1,labels:ansi16},ansi256:{channels:1,labels:ansi256},hcg:{channels:3,labels:h,c,g},apple:{channels:3,labels:r16,g16,b16},gray:{channels:1,labels:gray}};for(var r in a)if(a.hasOwnProperty(r)){if(!(channelsin ar))throw new Error(missing channels property: +r);if(!(labelsin ar))throw new Error(missing channel labels property: +r);if(ar.labels.length!ar.channels)throw new Error(channel and label counts mismatch: +r);var oar.channels,sar.labels;delete ar.channels,delete ar.labels,Object.defineProperty(ar,channels,{value:o}),Object.defineProperty(ar,labels,{value:s})}a.rgb.hslfunction(t){var e,n,it0/255,at1/255,rt2/255,oMath.min(i,a,r),sMath.max(i,a,r),ls-o;return so?e0:is?e(a-r)/l:as?e2+(r-i)/l:rs&&(e4+(i-a)/l),(eMath.min(60*e,360))0&&(e+360),n(o+s)/2,e,100*(so?0:n.5?l/(s+o):l/(2-s-o)),100*n},a.rgb.hsvfunction(t){var e,n,i,a,r,ot0/255,st1/255,lt2/255,uMath.max(o,s,l),du-Math.min(o,s,l),hfunction(t){return(u-t)/6/d+.5};return 0d?ar0:(rd/u,eh(o),nh(s),ih(l),ou?ai-n:su?a1/3+e-i:lu&&(a2/3+n-e),a0?a+1:a>1&&(a-1)),360*a,100*r,100*u},a.rgb.hwbfunction(t){var et0,nt1,it2;returna.rgb.hsl(t)0,100*(1/255*Math.min(e,Math.min(n,i))),100*(i1-1/255*Math.max(e,Math.max(n,i)))},a.rgb.cmykfunction(t){var e,nt0/255,it1/255,at2/255;return100*((1-n-(eMath.min(1-n,1-i,1-a)))/(1-e)||0),100*((1-i-e)/(1-e)||0),100*((1-a-e)/(1-e)||0),100*e},a.rgb.keywordfunction(t){var int;if(i)return i;var a,r,o,s1/0;for(var l in e)if(e.hasOwnProperty(l)){var uel,d(rt,ou,Math.pow(r0-o0,2)+Math.pow(r1-o1,2)+Math.pow(r2-o2,2));ds&&(sd,al)}return a},a.keyword.rgbfunction(t){return et},a.rgb.xyzfunction(t){var et0/255,nt1/255,it2/255;return100*(.4124*(ee>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92)+.3576*(nn>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(ii>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92)),100*(.2126*e+.7152*n+.0722*i),100*(.0193*e+.1192*n+.9505*i)},a.rgb.labfunction(t){var ea.rgb.xyz(t),ne0,ie1,re2;return i/100,r/108.883,n(n/95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,116*(ii>.008856?Math.pow(i,1/3):7.787*i+16/116)-16,500*(n-i),200*(i-(rr>.008856?Math.pow(r,1/3):7.787*r+16/116))},a.hsl.rgbfunction(t){var e,n,i,a,r,ot0/360,st1/100,lt2/100;if(0s)returnr255*l,r,r;e2*l-(nl.5?l*(1+s):l+s-l*s),a0,0,0;for(var u0;u3;u++)(io+1/3*-(u-1))0&&i++,i>1&&i--,r6*i1?e+6*(n-e)*i:2*i1?n:3*i2?e+(n-e)*(2/3-i)*6:e,au255*r;return a},a.hsl.hsvfunction(t){var et0,nt1/100,it2/100,an,rMath.max(i,.01);return n*(i*2)1?i:2-i,a*r1?r:2-r,e,100*(0i?2*a/(r+a):2*n/(i+n)),100*((i+n)/2)},a.hsv.rgbfunction(t){var et0/60,nt1/100,it2/100,aMath.floor(e)%6,re-Math.floor(e),o255*i*(1-n),s255*i*(1-n*r),l255*i*(1-n*(1-r));switch(i*255,a){case 0:returni,l,o;case 1:returns,i,o;case 2:returno,i,l;case 3:returno,s,i;case 4:returnl,o,i;case 5:returni,o,s}},a.hsv.hslfunction(t){var e,n,i,at0,rt1/100,ot2/100,sMath.max(o,.01);return i(2-r)*o,nr*s,a,100*(n(n/(e(2-r)*s)1?e:2-e)||0),100*(i/2)},a.hwb.rgbfunction(t){var e,n,i,a,r,o,s,lt0/360,ut1/100,dt2/100,hu+d;switch(h>1&&(u/h,d/h),i6*l-(eMath.floor(6*l)),0!(1&e)&&(i1-i),au+i*((n1-d)-u),e){default:case 6:case 0:rn,oa,su;break;case 1:ra,on,su;break;case 2:ru,on,sa;break;case 3:ru,oa,sn;break;case 4:ra,ou,sn;break;case 5:rn,ou,sa}return255*r,255*o,255*s},a.cmyk.rgbfunction(t){var et0/100,nt1/100,it2/100,at3/100;return255*(1-Math.min(1,e*(1-a)+a)),255*(1-Math.min(1,n*(1-a)+a)),255*(1-Math.min(1,i*(1-a)+a))},a.xyz.rgbfunction(t){var e,n,i,at0/100,rt1/100,ot2/100;return n-.9689*a+1.8758*r+.0415*o,i.0557*a+-.204*r+1.057*o,e(e3.2406*a+-1.5372*r+-.4986*o)>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e,nn>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,ii>.0031308?1.055*Math.pow(i,1/2.4)-.055:12.92*i,255*(eMath.min(Math.max(0,e),1)),255*(nMath.min(Math.max(0,n),1)),255*(iMath.min(Math.max(0,i),1))},a.xyz.labfunction(t){var et0,nt1,it2;return n/100,i/108.883,e(e/95.047)>.008856?Math.pow(e,1/3):7.787*e+16/116,116*(nn>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(e-n),200*(n-(ii>.008856?Math.pow(i,1/3):7.787*i+16/116))},a.lab.xyzfunction(t){var e,n,i,at0;et1/500+(n(a+16)/116),in-t2/200;var rMath.pow(n,3),oMath.pow(e,3),sMath.pow(i,3);return nr>.008856?r:(n-16/116)/7.787,eo>.008856?o:(e-16/116)/7.787,is>.008856?s:(i-16/116)/7.787,e*95.047,n*100,i*108.883},a.lab.lchfunction(t){var e,nt0,it1,at2;return(e360*Math.atan2(a,i)/2/Math.PI)0&&(e+360),n,Math.sqrt(i*i+a*a),e},a.lch.labfunction(t){var e,nt0,it1;return et2/360*2*Math.PI,n,i*Math.cos(e),i*Math.sin(e)},a.rgb.ansi16function(t){var et0,nt1,it2,r1 in arguments?arguments1:a.rgb.hsv(t)2;if(0(rMath.round(r/50)))return 30;var o30+(Math.round(i/255)2|Math.round(n/255)1|Math.round(e/255));return 2r&&(o+60),o},a.hsv.ansi16function(t){return a.rgb.ansi16(a.hsv.rgb(t),t2)},a.rgb.ansi256function(t){var et0,nt1,it2;return en&&ni?e8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(n/255*5)+Math.round(i/255*5)},a.ansi16.rgbfunction(t){var et%10;if(0e||7e)return t>50&&(e+3.5),ee/10.5*255,e,e;var n.5*(1+~~(t>50));return(1&e)*n*255,(e>>1&1)*n*255,(e>>2&1)*n*255},a.ansi256.rgbfunction(t){if(t>232){var e10*(t-232)+8;returne,e,e}var n;return t-16,Math.floor(t/36)/5*255,Math.floor((nt%36)/6)/5*255,n%6/5*255},a.rgb.hexfunction(t){var e(((255&Math.round(t0))16)+((255&Math.round(t1))8)+(255&Math.round(t2))).toString(16).toUpperCase();return000000.substring(e.length)+e},a.hex.rgbfunction(t){var et.toString(16).match(/a-f0-9{6}|a-f0-9{3}/i);if(!e)return0,0,0;var ne0;3e0.length&&(nn.split().map((function(t){return t+t})).join());var iparseInt(n,16);returni>>16&255,i>>8&255,255&i},a.rgb.hcgfunction(t){var e,nt0/255,it1/255,at2/255,rMath.max(Math.max(n,i),a),oMath.min(Math.min(n,i),a),sr-o;return es0?0:rn?(i-a)/s%6:ri?2+(a-n)/s:4+(n-i)/s+4,e/6,360*(e%1),100*s,100*(s1?o/(1-s):0)},a.hsl.hcgfunction(t){var et1/100,nt2/100,i1,a0;return(in.5?2*e*n:2*e*(1-n))1&&(a(n-.5*i)/(1-i)),t0,100*i,100*a},a.hsv.hcgfunction(t){var et1/100,nt2/100,ie*n,a0;return i1&&(a(n-i)/(1-i)),t0,100*i,100*a},a.hcg.rgbfunction(t){var et0/360,nt1/100,it2/100;if(0n)return255*i,255*i,255*i;var a,r0,0,0,oe%1*6,so%1,l1-s;switch(Math.floor(o)){case 0:r01,r1s,r20;break;case 1:r0l,r11,r20;break;case 2:r00,r11,r2s;break;case 3:r00,r1l,r21;break;case 4:r0s,r10,r21;break;default:r01,r10,r2l}return a(1-n)*i,255*(n*r0+a),255*(n*r1+a),255*(n*r2+a)},a.hcg.hsvfunction(t){var et1/100,ne+t2/100*(1-e),i0;return n>0&&(ie/n),t0,100*i,100*n},a.hcg.hslfunction(t){var et1/100,nt2/100*(1-e)+.5*e,i0;return n>0&&n.5?ie/(2*n):n>.5&&n1&&(ie/(2*(1-n))),t0,100*i,100*n},a.hcg.hwbfunction(t){var et1/100,ne+t2/100*(1-e);returnt0,100*(n-e),100*(1-n)},a.hwb.hcgfunction(t){var et1/100,n1-t2/100,in-e,a0;return i1&&(a(n-i)/(1-i)),t0,100*i,100*a},a.apple.rgbfunction(t){returnt0/65535*255,t1/65535*255,t2/65535*255},a.rgb.applefunction(t){returnt0/255*65535,t1/255*65535,t2/255*65535},a.gray.rgbfunction(t){returnt0/100*255,t0/100*255,t0/100*255},a.gray.hsla.gray.hsvfunction(t){return0,0,t0},a.gray.hwbfunction(t){return0,100,t0},a.gray.cmykfunction(t){return0,0,0,t0},a.gray.labfunction(t){returnt0,0,0},a.gray.hexfunction(t){var e255&Math.round(t0/100*255),n((e16)+(e8)+e).toString(16).toUpperCase();return000000.substring(n.length)+n},a.rgb.grayfunction(t){return(t0+t1+t2)/3/255*100}}));n.rgb,n.hsl,n.hsv,n.hwb,n.cmyk,n.xyz,n.lab,n.lch,n.hex,n.keyword,n.ansi16,n.ansi256,n.hcg,n.apple,n.gray;function i(t){var efunction(){for(var t{},eObject.keys(n),ie.length,a0;ai;a++)tea{distance:-1,parent:null};return t}(),it;for(et.distance0;i.length;)for(var ai.pop(),rObject.keys(na),or.length,s0;so;s++){var lrs,uel;-1u.distance&&(u.distanceea.distance+1,u.parenta,i.unshift(l))}return e}function a(t,e){return function(n){return e(t(n))}}function r(t,e){for(var iet.parent,t,rnet.parentt,oet.parent;eo.parent;)i.unshift(eo.parent),ra(neo.parento,r),oeo.parent;return r.conversioni,r}var o{};Object.keys(n).forEach((function(t){ot{},Object.defineProperty(ot,channels,{value:nt.channels}),Object.defineProperty(ot,labels,{value:nt.labels});var efunction(t){for(var ei(t),n{},aObject.keys(e),oa.length,s0;so;s++){var las;null!el.parent&&(nlr(l,e))}return n}(t);Object.keys(e).forEach((function(n){var ien;otnfunction(t){var efunction(e){if(nulle)return e;arguments.length>1&&(eArray.prototype.slice.call(arguments));var nt(e);if(objecttypeof n)for(var in.length,a0;ai;a++)naMath.round(na);return n};returnconversionin t&&(e.conversiont.conversion),e}(i),otn.rawfunction(t){var efunction(e){return nulle?e:(arguments.length>1&&(eArray.prototype.slice.call(arguments)),t(e))};returnconversionin t&&(e.conversiont.conversion),e}(i)}))}));var so,l{aliceblue:240,248,255,antiquewhite:250,235,215,aqua:0,255,255,aquamarine:127,255,212,azure:240,255,255,beige:245,245,220,bisque:255,228,196,black:0,0,0,blanchedalmond:255,235,205,blue:0,0,255,blueviolet:138,43,226,brown:165,42,42,burlywood:222,184,135,cadetblue:95,158,160,chartreuse:127,255,0,chocolate:210,105,30,coral:255,127,80,cornflowerblue:100,149,237,cornsilk:255,248,220,crimson:220,20,60,cyan:0,255,255,darkblue:0,0,139,darkcyan:0,139,139,darkgoldenrod:184,134,11,darkgray:169,169,169,darkgreen:0,100,0,darkgrey:169,169,169,darkkhaki:189,183,107,darkmagenta:139,0,139,darkolivegreen:85,107,47,darkorange:255,140,0,darkorchid:153,50,204,darkred:139,0,0,darksalmon:233,150,122,darkseagreen:143,188,143,darkslateblue:72,61,139,darkslategray:47,79,79,darkslategrey:47,79,79,darkturquoise:0,206,209,darkviolet:148,0,211,deeppink:255,20,147,deepskyblue:0,191,255,dimgray:105,105,105,dimgrey:105,105,105,dodgerblue:30,144,255,firebrick:178,34,34,floralwhite:255,250,240,forestgreen:34,139,34,fuchsia:255,0,255,gainsboro:220,220,220,ghostwhite:248,248,255,gold:255,215,0,goldenrod:218,165,32,gray:128,128,128,green:0,128,0,greenyellow:173,255,47,grey:128,128,128,honeydew:240,255,240,hotpink:255,105,180,indianred:205,92,92,indigo:75,0,130,ivory:255,255,240,khaki:240,230,140,lavender:230,230,250,lavenderblush:255,240,245,lawngreen:124,252,0,lemonchiffon:255,250,205,lightblue:173,216,230,lightcoral:240,128,128,lightcyan:224,255,255,lightgoldenrodyellow:250,250,210,lightgray:211,211,211,lightgreen:144,238,144,lightgrey:211,211,211,lightpink:255,182,193,lightsalmon:255,160,122,lightseagreen:32,178,170,lightskyblue:135,206,250,lightslategray:119,136,153,lightslategrey:119,136,153,lightsteelblue:176,196,222,lightyellow:255,255,224,lime:0,255,0,limegreen:50,205,50,linen:250,240,230,magenta:255,0,255,maroon:128,0,0,mediumaquamarine:102,205,170,mediumblue:0,0,205,mediumorchid:186,85,211,mediumpurple:147,112,219,mediumseagreen:60,179,113,mediumslateblue:123,104,238,mediumspringgreen:0,250,154,mediumturquoise:72,209,204,mediumvioletred:199,21,133,midnightblue:25,25,112,mintcream:245,255,250,mistyrose:255,228,225,moccasin:255,228,181,navajowhite:255,222,173,navy:0,0,128,oldlace:253,245,230,olive:128,128,0,olivedrab:107,142,35,orange:255,165,0,orangered:255,69,0,orchid:218,112,214,palegoldenrod:238,232,170,palegreen:152,251,152,paleturquoise:175,238,238,palevioletred:219,112,147,papayawhip:255,239,213,peachpuff:255,218,185,peru:205,133,63,pink:255,192,203,plum:221,160,221,powderblue:176,224,230,purple:128,0,128,rebeccapurple:102,51,153,red:255,0,0,rosybrown:188,143,143,royalblue:65,105,225,saddlebrown:139,69,19,salmon:250,128,114,sandybrown:244,164,96,seagreen:46,139,87,seashell:255,245,238,sienna:160,82,45,silver:192,192,192,skyblue:135,206,235,slateblue:106,90,205,slategray:112,128,144,slategrey:112,128,144,snow:255,250,250,springgreen:0,255,127,steelblue:70,130,180,tan:210,180,140,teal:0,128,128,thistle:216,191,216,tomato:255,99,71,turquoise:64,224,208,violet:238,130,238,wheat:245,222,179,white:255,255,255,whitesmoke:245,245,245,yellow:255,255,0,yellowgreen:154,205,50},u{getRgba:d,getHsla:h,getRgb:function(t){var ed(t);return e&&e.slice(0,3)},getHsl:function(t){var eh(t);return e&&e.slice(0,3)},getHwb:c,getAlpha:function(t){var ed(t);if(e)return e3;if(eh(t))return e3;if(ec(t))return e3},hexString:function(t,e){evoid 0!e&&3t.length?e:t3;return#+v(t0)+v(t1)+v(t2)+(e>0&&e1?v(Math.round(255*e)):)},rgbString:function(t,e){if(e1||t3&&t31)return f(t,e);returnrgb(+t0+, +t1+, +t2+)},rgbaString:f,percentString:function(t,e){if(e1||t3&&t31)return g(t,e);var nMath.round(t0/255*100),iMath.round(t1/255*100),aMath.round(t2/255*100);returnrgb(+n+%, +i+%, +a+%)},percentaString:g,hslString:function(t,e){if(e1||t3&&t31)return p(t,e);returnhsl(+t0+, +t1+%, +t2+%)},hslaString:p,hwbString:function(t,e){void 0e&&(evoid 0!t3?t3:1);returnhwb(+t0+, +t1+%, +t2+%+(void 0!e&&1!e?, +e:)+)},keyword:function(t){return bt.slice(0,3)}};function d(t){if(t){var e0,0,0,n1,it.match(/^#(a-fA-F0-9{3,4})$/i),a;if(i){a(ii1)3;for(var r0;re.length;r++)erparseInt(ir+ir,16);a&&(nMath.round(parseInt(a+a,16)/255*100)/100)}else if(it.match(/^#(a-fA-F0-9{6}(a-fA-F0-9{2})?)$/i)){ai2,ii1;for(r0;re.length;r++)erparseInt(i.slice(2*r,2*r+2),16);a&&(nMath.round(parseInt(a,16)/255*100)/100)}else if(it.match(/^rgba?\(\s*(+-?\d+)\s*,\s*(+-?\d+)\s*,\s*(+-?\d+)\s*(?:,\s*(+-?\d\.+)\s*)?\)$/i)){for(r0;re.length;r++)erparseInt(ir+1);nparseFloat(i4)}else if(it.match(/^rgba?\(\s*(+-?\d\.+)\%\s*,\s*(+-?\d\.+)\%\s*,\s*(+-?\d\.+)\%\s*(?:,\s*(+-?\d\.+)\s*)?\)$/i)){for(r0;re.length;r++)erMath.round(2.55*parseFloat(ir+1));nparseFloat(i4)}else if(it.match(/(\w+)/)){if(transparenti1)return0,0,0,0;if(!(eli1))return}for(r0;re.length;r++)erm(er,0,255);return nn||0n?m(n,0,1):1,e3n,e}}function h(t){if(t){var et.match(/^hsla?\(\s*(+-?\d+)(?:deg)?\s*,\s*(+-?\d\.+)%\s*,\s*(+-?\d\.+)%\s*(?:,\s*(+-?\d\.+)\s*)?\)/);if(e){var nparseFloat(e4);returnm(parseInt(e1),0,360),m(parseFloat(e2),0,100),m(parseFloat(e3),0,100),m(isNaN(n)?1:n,0,1)}}}function c(t){if(t){var et.match(/^hwb\(\s*(+-?\d+)(?:deg)?\s*,\s*(+-?\d\.+)%\s*,\s*(+-?\d\.+)%\s*(?:,\s*(+-?\d\.+)\s*)?\)/);if(e){var nparseFloat(e4);returnm(parseInt(e1),0,360),m(parseFloat(e2),0,100),m(parseFloat(e3),0,100),m(isNaN(n)?1:n,0,1)}}}function f(t,e){return void 0e&&(evoid 0!t3?t3:1),rgba(+t0+, +t1+, +t2+, +e+)}function g(t,e){returnrgba(+Math.round(t0/255*100)+%, +Math.round(t1/255*100)+%, +Math.round(t2/255*100)+%, +(e||t3||1)+)}function p(t,e){return void 0e&&(evoid 0!t3?t3:1),hsla(+t0+, +t1+%, +t2+%, +e+)}function m(t,e,n){return Math.min(Math.max(e,t),n)}function v(t){var et.toString(16).toUpperCase();return e.length2?0+e:e}var b{};for(var x in l)blxx;var yfunction(t){return t instanceof y?t:this instanceof y?(this.valid!1,this.values{rgb:0,0,0,hsl:0,0,0,hsv:0,0,0,hwb:0,0,0,cmyk:0,0,0,0,alpha:1},void(stringtypeof t?(eu.getRgba(t))?this.setValues(rgb,e):(eu.getHsla(t))?this.setValues(hsl,e):(eu.getHwb(t))&&this.setValues(hwb,e):objecttypeof t&&(void 0!(et).r||void 0!e.red?this.setValues(rgb,e):void 0!e.l||void 0!e.lightness?this.setValues(hsl,e):void 0!e.v||void 0!e.value?this.setValues(hsv,e):void 0!e.w||void 0!e.whiteness?this.setValues(hwb,e):void 0e.c&&void 0e.cyan||this.setValues(cmyk,e)))):new y(t);var e};y.prototype{isValid:function(){return this.valid},rgb:function(){return this.setSpace(rgb,arguments)},hsl:function(){return this.setSpace(hsl,arguments)},hsv:function(){return this.setSpace(hsv,arguments)},hwb:function(){return this.setSpace(hwb,arguments)},cmyk:function(){return this.setSpace(cmyk,arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var tthis.values;return 1!t.alpha?t.hwb.concat(t.alpha):t.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var tthis.values;return t.rgb.concat(t.alpha)},hslaArray:function(){var tthis.values;return t.hsl.concat(t.alpha)},alpha:function(t){return void 0t?this.values.alpha:(this.setValues(alpha,t),this)},red:function(t){return this.setChannel(rgb,0,t)},green:function(t){return this.setChannel(rgb,1,t)},blue:function(t){return this.setChannel(rgb,2,t)},hue:function(t){return t&&(t(t%360)0?360+t:t),this.setChannel(hsl,0,t)},saturation:function(t){return this.setChannel(hsl,1,t)},lightness:function(t){return this.setChannel(hsl,2,t)},saturationv:function(t){return this.setChannel(hsv,1,t)},whiteness:function(t){return this.setChannel(hwb,1,t)},blackness:function(t){return this.setChannel(hwb,2,t)},value:function(t){return this.setChannel(hsv,2,t)},cyan:function(t){return this.setChannel(cmyk,0,t)},magenta:function(t){return this.setChannel(cmyk,1,t)},yellow:function(t){return this.setChannel(cmyk,2,t)},black:function(t){return this.setChannel(cmyk,3,t)},hexString:function(){return u.hexString(this.values.rgb)},rgbString:function(){return u.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return u.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return u.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return u.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return u.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return u.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return u.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var tthis.values.rgb;return t016|t18|t2},luminosity:function(){for(var tthis.values.rgb,e,n0;nt.length;n++){var itn/255;eni.03928?i/12.92:Math.pow((i+.055)/1.055,2.4)}return.2126*e0+.7152*e1+.0722*e2},contrast:function(t){var ethis.luminosity(),nt.luminosity();return e>n?(e+.05)/(n+.05):(n+.05)/(e+.05)},level:function(t){var ethis.contrast(t);return e>7.1?AAA:e>4.5?AA:},dark:function(){var tthis.values.rgb;return(299*t0+587*t1+114*t2)/1e3128},light:function(){return!this.dark()},negate:function(){for(var t,e0;e3;e++)te255-this.values.rgbe;return this.setValues(rgb,t),this},lighten:function(t){var ethis.values.hsl;return e2+e2*t,this.setValues(hsl,e),this},darken:function(t){var ethis.values.hsl;return e2-e2*t,this.setValues(hsl,e),this},saturate:function(t){var ethis.values.hsl;return e1+e1*t,this.setValues(hsl,e),this},desaturate:function(t){var ethis.values.hsl;return e1-e1*t,this.setValues(hsl,e),this},whiten:function(t){var ethis.values.hwb;return e1+e1*t,this.setValues(hwb,e),this},blacken:function(t){var ethis.values.hwb;return e2+e2*t,this.setValues(hwb,e),this},greyscale:function(){var tthis.values.rgb,e.3*t0+.59*t1+.11*t2;return this.setValues(rgb,e,e,e),this},clearer:function(t){var ethis.values.alpha;return this.setValues(alpha,e-e*t),this},opaquer:function(t){var ethis.values.alpha;return this.setValues(alpha,e+e*t),this},rotate:function(t){var ethis.values.hsl,n(e0+t)%360;return e0n0?360+n:n,this.setValues(hsl,e),this},mix:function(t,e){var nt,ivoid 0e?.5:e,a2*i-1,rthis.alpha()-n.alpha(),o((a*r-1?a:(a+r)/(1+a*r))+1)/2,s1-o;return this.rgb(o*this.red()+s*n.red(),o*this.green()+s*n.green(),o*this.blue()+s*n.blue()).alpha(this.alpha()*i+n.alpha()*(1-i))},toJSON:function(){return this.rgb()},clone:function(){var t,e,nnew y,ithis.values,an.values;for(var r in i)i.hasOwnProperty(r)&&(tir,object Array(e{}.toString.call(t))?art.slice(0):object Numbere?art:console.error(unexpected color value:,t));return n}},y.prototype.spaces{rgb:red,green,blue,hsl:hue,saturation,lightness,hsv:hue,saturation,value,hwb:hue,whiteness,blackness,cmyk:cyan,magenta,yellow,black},y.prototype.maxes{rgb:255,255,255,hsl:360,100,100,hsv:360,100,100,hwb:360,100,100,cmyk:100,100,100,100},y.prototype.getValuesfunction(t){for(var ethis.values,n{},i0;it.length;i++)nt.charAt(i)eti;return 1!e.alpha&&(n.ae.alpha),n},y.prototype.setValuesfunction(t,e){var n,i,athis.values,rthis.spaces,othis.maxes,l1;if(this.valid!0,alphat)le;else if(e.length)ate.slice(0,t.length),let.length;else if(void 0!et.charAt(0)){for(n0;nt.length;n++)atnet.charAt(n);le.a}else if(void 0!ert0){var urt;for(n0;nt.length;n++)atneun;le.alpha}if(a.alphaMath.max(0,Math.min(1,void 0l?a.alpha:l)),alphat)return!1;for(n0;nt.length;n++)iMath.max(0,Math.min(otn,atn)),atnMath.round(i);for(var d in r)d!t&&(adstd(at));return!0},y.prototype.setSpacefunction(t,e){var ne0;return void 0n?this.getValues(t):(numbertypeof n&&(nArray.prototype.slice.call(e)),this.setValues(t,n),this)},y.prototype.setChannelfunction(t,e,n){var ithis.valuest;return void 0n?ie:nie?this:(ien,this.setValues(t,i),this)},undefined!typeof window&&(window.Colory);var _y;function k(t){return-1__proto__,prototype,constructor.indexOf(t)}var w,M{noop:function(){},uid:(w0,function(){return w++}),isNullOrUndef:function(t){return nullt},isArray:function(t){if(Array.isArray&&Array.isArray(t))return!0;var eObject.prototype.toString.call(t);returnobjecte.substr(0,7)&&Arraye.substr(-6)},isObject:function(t){return null!t&&object ObjectObject.prototype.toString.call(t)},isFinite:function(t){return(numbertypeof t||t instanceof Number)&&isFinite(t)},valueOrDefault:function(t,e){return void 0t?e:t},valueAtIndexOrDefault:function(t,e,n){return M.valueOrDefault(M.isArray(t)?te:t,n)},callback:function(t,e,n){if(t&&functiontypeof t.call)return t.apply(n,e)},each:function(t,e,n,i){var a,r,o;if(M.isArray(t))if(rt.length,i)for(ar-1;a>0;a--)e.call(n,ta,a);else for(a0;ar;a++)e.call(n,ta,a);else if(M.isObject(t))for(r(oObject.keys(t)).length,a0;ar;a++)e.call(n,toa,oa)},arrayEquals:function(t,e){var n,i,a,r;if(!t||!e||t.length!e.length)return!1;for(n0,it.length;ni;++n)if(atn,ren,a instanceof Array&&r instanceof Array){if(!M.arrayEquals(a,r))return!1}else if(a!r)return!1;return!0},clone:function(t){if(M.isArray(t))return t.map(M.clone);if(M.isObject(t)){for(var eObject.create(t),nObject.keys(t),in.length,a0;ai;++a)enaM.clone(tna);return e}return t},_merger:function(t,e,n,i){if(k(t)){var aet,rnt;M.isObject(a)&&M.isObject(r)?M.merge(a,r,i):etM.clone(r)}},_mergerIf:function(t,e,n){if(k(t)){var iet,ant;M.isObject(i)&&M.isObject(a)?M.mergeIf(i,a):e.hasOwnProperty(t)||(etM.clone(a))}},merge:function(t,e,n){var i,a,r,o,s,lM.isArray(e)?e:e,ul.length;if(!M.isObject(t))return t;for(i(nn||{}).merger||M._merger,a0;au;++a)if(ela,M.isObject(e))for(s0,o(rObject.keys(e)).length;so;++s)i(rs,t,e,n);return t},mergeIf:function(t,e){return M.merge(t,e,{merger:M._mergerIf})},extend:Object.assign||function(t){return M.merge(t,.slice.call(arguments,1),{merger:function(t,e,n){etnt}})},inherits:function(t){var ethis,nt&&t.hasOwnProperty(constructor)?t.constructor:function(){return e.apply(this,arguments)},ifunction(){this.constructorn};return i.prototypee.prototype,n.prototypenew i,n.extendM.inherits,t&&M.extend(n.prototype,t),n.__super__e.prototype,n},_deprecated:function(t,e,n,i){void 0!e&&console.warn(t+: +n+ is deprecated. Please use +i+ instead)}},SM;M.callCallbackM.callback,M.indexOffunction(t,e,n){return Array.prototype.indexOf.call(t,e,n)},M.getValueOrDefaultM.valueOrDefault,M.getValueAtIndexOrDefaultM.valueAtIndexOrDefault;var C{linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return-t*(t-2)},easeInOutQuad:function(t){return(t/.5)1?.5*t*t:-.5*(--t*(t-2)-1)},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return(t-1)*t*t+1},easeInOutCubic:function(t){return(t/.5)1?.5*t*t*t:.5*((t-2)*t*t+2)},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return-((t-1)*t*t*t-1)},easeInOutQuart:function(t){return(t/.5)1?.5*t*t*t*t:-.5*((t-2)*t*t*t-2)},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return(t-1)*t*t*t*t+1},easeInOutQuint:function(t){return(t/.5)1?.5*t*t*t*t*t:.5*((t-2)*t*t*t*t+2)},easeInSine:function(t){return 1-Math.cos(t*(Math.PI/2))},easeOutSine:function(t){return Math.sin(t*(Math.PI/2))},easeInOutSine:function(t){return-.5*(Math.cos(Math.PI*t)-1)},easeInExpo:function(t){return 0t?0:Math.pow(2,10*(t-1))},easeOutExpo:function(t){return 1t?1:1-Math.pow(2,-10*t)},easeInOutExpo:function(t){return 0t?0:1t?1:(t/.5)1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))},easeInCirc:function(t){return t>1?t:-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math.sqrt(1-(t-1)*t)},easeInOutCirc:function(t){return(t/.5)1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-2)*t)+1)},easeInElastic:function(t){var e1.70158,n0,i1;return 0t?0:1t?1:(n||(n.3),i1?(i1,en/4):en/(2*Math.PI)*Math.asin(1/i),-i*Math.pow(2,10*(t-1))*Math.sin((t-e)*(2*Math.PI)/n))},easeOutElastic:function(t){var e1.70158,n0,i1;return 0t?0:1t?1:(n||(n.3),i1?(i1,en/4):en/(2*Math.PI)*Math.asin(1/i),i*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/n)+1)},easeInOutElastic:function(t){var e1.70158,n0,i1;return 0t?0:2(t/.5)?1:(n||(n.45),i1?(i1,en/4):en/(2*Math.PI)*Math.asin(1/i),t1?i*Math.pow(2,10*(t-1))*Math.sin((t-e)*(2*Math.PI)/n)*-.5:i*Math.pow(2,-10*(t-1))*Math.sin((t-e)*(2*Math.PI)/n)*.5+1)},easeInBack:function(t){var e1.70158;return t*t*((e+1)*t-e)},easeOutBack:function(t){var e1.70158;return(t-1)*t*((e+1)*t+e)+1},easeInOutBack:function(t){var e1.70158;return(t/.5)1?t*t*((1+(e*1.525))*t-e)*.5:.5*((t-2)*t*((1+(e*1.525))*t+e)+2)},easeInBounce:function(t){return 1-C.easeOutBounce(1-t)},easeOutBounce:function(t){return t1/2.75?7.5625*t*t:t2/2.75?7.5625*(t-1.5/2.75)*t+.75:t2.5/2.75?7.5625*(t-2.25/2.75)*t+.9375:7.5625*(t-2.625/2.75)*t+.984375},easeInOutBounce:function(t){return t.5?.5*C.easeInBounce(2*t):.5*C.easeOutBounce(2*t-1)+.5}},P{effects:C};S.easingEffectsC;var AMath.PI,DA/180,T2*A,IA/2,FA/4,O2*A/3,L{clear:function(t){t.ctx.clearRect(0,0,t.width,t.height)},roundedRect:function(t,e,n,i,a,r){if(r){var oMath.min(r,a/2,i/2),se+o,ln+o,ue+i-o,dn+a-o;t.moveTo(e,l),su&&ld?(t.arc(s,l,o,-A,-I),t.arc(u,l,o,-I,0),t.arc(u,d,o,0,I),t.arc(s,d,o,I,A)):su?(t.moveTo(s,n),t.arc(u,l,o,-I,I),t.arc(s,l,o,I,A+I)):ld?(t.arc(s,l,o,-A,0),t.arc(s,d,o,0,A)):t.arc(s,l,o,-A,A),t.closePath(),t.moveTo(e,n)}else t.rect(e,n,i,a)},drawPoint:function(t,e,n,i,a,r){var o,s,l,u,d,h(r||0)*D;if(e&&objecttypeof e&&(object HTMLImageElement(oe.toString())||object HTMLCanvasElemento))return t.save(),t.translate(i,a),t.rotate(h),t.drawImage(e,-e.width/2,-e.height/2,e.width,e.height),void t.restore();if(!(isNaN(n)||n0)){switch(t.beginPath(),e){default:t.arc(i,a,n,0,T),t.closePath();break;casetriangle:t.moveTo(i+Math.sin(h)*n,a-Math.cos(h)*n),h+O,t.lineTo(i+Math.sin(h)*n,a-Math.cos(h)*n),h+O,t.lineTo(i+Math.sin(h)*n,a-Math.cos(h)*n),t.closePath();break;caserectRounded:un-(d.516*n),sMath.cos(h+F)*u,lMath.sin(h+F)*u,t.arc(i-s,a-l,d,h-A,h-I),t.arc(i+l,a-s,d,h-I,h),t.arc(i+s,a+l,d,h,h+I),t.arc(i-l,a+s,d,h+I,h+A),t.closePath();break;caserect:if(!r){uMath.SQRT1_2*n,t.rect(i-u,a-u,2*u,2*u);break}h+F;caserectRot:sMath.cos(h)*n,lMath.sin(h)*n,t.moveTo(i-s,a-l),t.lineTo(i+l,a-s),t.lineTo(i+s,a+l),t.lineTo(i-l,a+s),t.closePath();break;casecrossRot:h+F;casecross:sMath.cos(h)*n,lMath.sin(h)*n,t.moveTo(i-s,a-l),t.lineTo(i+s,a+l),t.moveTo(i+l,a-s),t.lineTo(i-l,a+s);break;casestar:sMath.cos(h)*n,lMath.sin(h)*n,t.moveTo(i-s,a-l),t.lineTo(i+s,a+l),t.moveTo(i+l,a-s),t.lineTo(i-l,a+s),h+F,sMath.cos(h)*n,lMath.sin(h)*n,t.moveTo(i-s,a-l),t.lineTo(i+s,a+l),t.moveTo(i+l,a-s),t.lineTo(i-l,a+s);break;caseline:sMath.cos(h)*n,lMath.sin(h)*n,t.moveTo(i-s,a-l),t.lineTo(i+s,a+l);break;casedash:t.moveTo(i,a),t.lineTo(i+Math.cos(h)*n,a+Math.sin(h)*n)}t.fill(),t.stroke()}},_isPointInArea:function(t,e){return t.x>e.left-1e-6&&t.xe.right+1e-6&&t.y>e.top-1e-6&&t.ye.bottom+1e-6},clipArea:function(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()},unclipArea:function(t){t.restore()},lineTo:function(t,e,n,i){var an.steppedLine;if(a){if(middlea){var r(e.x+n.x)/2;t.lineTo(r,i?n.y:e.y),t.lineTo(r,i?e.y:n.y)}elseaftera&&!i||after!a&&i?t.lineTo(e.x,n.y):t.lineTo(n.x,e.y);t.lineTo(n.x,n.y)}else n.tension?t.bezierCurveTo(i?e.controlPointPreviousX:e.controlPointNextX,i?e.controlPointPreviousY:e.controlPointNextY,i?n.controlPointNextX:n.controlPointPreviousX,i?n.controlPointNextY:n.controlPointPreviousY,n.x,n.y):t.lineTo(n.x,n.y)}},RL;S.clearL.clear,S.drawRoundedRectanglefunction(t){t.beginPath(),L.roundedRect.apply(L,arguments)};var z{_set:function(t,e){return S.merge(thist||(thist{}),e)}};z._set(global,{defaultColor:rgba(0,0,0,0.1),defaultFontColor:#666,defaultFontFamily:Helvetica Neue, Helvetica, Arial, sans-serif,defaultFontSize:12,defaultFontStyle:normal,defaultLineHeight:1.2,showLines:!0});var Nz,BS.valueOrDefault;var E{toLineHeight:function(t,e){var n(+t).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!n||normaln1)return 1.2*e;switch(t+n2,n3){casepx:return t;case%:t/100}return e*t},toPadding:function(t){var e,n,i,a;return S.isObject(t)?(e+t.top||0,n+t.right||0,i+t.bottom||0,a+t.left||0):enia+t||0,{top:e,right:n,bottom:i,left:a,height:e+i,width:a+n}},_parseFont:function(t){var eN.global,nB(t.fontSize,e.defaultFontSize),i{family:B(t.fontFamily,e.defaultFontFamily),lineHeight:S.options.toLineHeight(B(t.lineHeight,e.defaultLineHeight),n),size:n,style:B(t.fontStyle,e.defaultFontStyle),weight:null,string:};return i.stringfunction(t){return!t||S.isNullOrUndef(t.size)||S.isNullOrUndef(t.family)?null:(t.style?t.style+ :)+(t.weight?t.weight+ :)+t.size+px +t.family}(i),i},resolve:function(t,e,n,i){var a,r,o,s!0;for(a0,rt.length;ar;++a)if(void 0!(ota)&&(void 0!e&&functiontypeof o&&(oo(e),s!1),void 0!n&&S.isArray(o)&&(oon,s!1),void 0!o))return i&&!s&&(i.cacheable!1),o}},W{_factorize:function(t){var e,n,iMath.sqrt(t);for(e1;ei;e++)t%e0&&(n.push(e),n.push(t/e));return i(0|i)&&n.push(i),n.sort((function(t,e){return t-e})).pop(),n},log10:Math.log10||function(t){var eMath.log(t)*Math.LOG10E,nMath.round(e);return tMath.pow(10,n)?n:e}},VW;S.log10W.log10;var HS,jP,qR,UE,YV,G{getRtlAdapter:function(t,e,n){return t?function(t,e){return{x:function(n){return t+t+e-n},setWidth:function(t){et},textAlign:function(t){returncentert?t:rightt?left:right},xPlus:function(t,e){return t-e},leftForLtr:function(t,e){return t-e}}}(e,n):{x:function(t){return t},setWidth:function(t){},textAlign:function(t){return t},xPlus:function(t,e){return t+e},leftForLtr:function(t,e){return t}}},overrideTextDirection:function(t,e){var n,i;ltr!e&&rtl!e||(i(nt.canvas.style).getPropertyValue(direction),n.getPropertyPriority(direction),n.setProperty(direction,e,important),t.prevTextDirectioni)},restoreTextDirection:function(t){var et.prevTextDirection;void 0!e&&(delete t.prevTextDirection,t.canvas.style.setProperty(direction,e0,e1))}};H.easingj,H.canvasq,H.optionsU,H.mathY,H.rtlG;var Xfunction(t){H.extend(this,t),this.initialize.apply(this,arguments)};H.extend(X.prototype,{_type:void 0,initialize:function(){this.hidden!1},pivot:function(){var tthis;return t._view||(t._viewH.extend({},t._model)),t._start{},t},transition:function(t){var ethis,ne._model,ie._start,ae._view;return n&&1!t?(a||(ae._view{}),i||(ie._start{}),function(t,e,n,i){var a,r,o,s,l,u,d,h,c,fObject.keys(n);for(a0,rf.length;ar;++a)if(unofa,e.hasOwnProperty(o)||(eou),(seo)!u&&_!o0){if(t.hasOwnProperty(o)||(tos),(dtypeof u)typeof(lto))if(stringd){if((h_(l)).valid&&(c_(u)).valid){eoc.mix(h,i).rgbString();continue}}else if(H.isFinite(l)&&H.isFinite(u)){eol+(u-l)*i;continue}eou}}(i,a,n,t),e):(e._viewH.extend({},n),e._startnull,e)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return H.isNumber(this._model.x)&&H.isNumber(this._model.y)}}),X.extendH.inherits;var KX,ZK.extend({chart:null,currentStep:0,numSteps:60,easing:,render:null,onAnimationProgress:null,onAnimationComplete:null}),$Z;Object.defineProperty(Z.prototype,animationObject,{get:function(){return this}}),Object.defineProperty(Z.prototype,chartInstance,{get:function(){return this.chart},set:function(t){this.chartt}}),N._set(global,{animation:{duration:1e3,easing:easeOutQuart,onProgress:H.noop,onComplete:H.noop}});var J{animations:,request:null,addAnimation:function(t,e,n,i){var a,r,othis.animations;for(e.chartt,e.startTimeDate.now(),e.durationn,i||(t.animating!0),a0,ro.length;ar;++a)if(oa.chartt)return void(oae);o.push(e),1o.length&&this.requestAnimationFrame()},cancelAnimation:function(t){var eH.findIndex(this.animations,(function(e){return e.chartt}));-1!e&&(this.animations.splice(e,1),t.animating!1)},requestAnimationFrame:function(){var tthis;nullt.request&&(t.requestH.requestAnimFrame.call(window,(function(){t.requestnull,t.startDigest()})))},startDigest:function(){this.advance(),this.animations.length>0&&this.requestAnimationFrame()},advance:function(){for(var t,e,n,i,athis.animations,r0;ra.length;)e(tar).chart,nt.numSteps,iMath.floor((Date.now()-t.startTime)/t.duration*n)+1,t.currentStepMath.min(i,n),H.callback(t.render,e,t,e),H.callback(t.onAnimationProgress,t,e),t.currentStep>n?(H.callback(t.onAnimationComplete,t,e),e.animating!1,a.splice(r,1)):++r}},QH.options.resolve,ttpush,pop,shift,splice,unshift;function et(t,e){var nt._chartjs;if(n){var in.listeners,ai.indexOf(e);-1!a&&i.splice(a,1),i.length>0||(tt.forEach((function(e){delete te})),delete t._chartjs)}}var ntfunction(t,e){this.initialize(t,e)};H.extend(nt.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:backgroundColor,borderCapStyle,borderColor,borderDash,borderDashOffset,borderJoinStyle,borderWidth,_dataElementOptions:backgroundColor,borderColor,borderWidth,pointStyle,initialize:function(t,e){var nthis;n.chartt,n.indexe,n.linkScales(),n.addElements(),n._typen.getMeta().type},updateIndex:function(t){this.indext},linkScales:function(){var tthis.getMeta(),ethis.chart,ne.scales,ithis.getDataset(),ae.options.scales;null!t.xAxisID&&t.xAxisID in n&&!i.xAxisID||(t.xAxisIDi.xAxisID||a.xAxes0.id),null!t.yAxisID&&t.yAxisID in n&&!i.yAxisID||(t.yAxisIDi.yAxisID||a.yAxes0.id)},getDataset:function(){return this.chart.data.datasetsthis.index},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(t){return this.chart.scalest},_getValueScaleId:function(){return this.getMeta().yAxisID},_getIndexScaleId:function(){return this.getMeta().xAxisID},_getValueScale:function(){return this.getScaleForId(this._getValueScaleId())},_getIndexScale:function(){return this.getScaleForId(this._getIndexScaleId())},reset:function(){this._update(!0)},destroy:function(){this._data&&et(this._data,this)},createMetaDataset:function(){var tthis.datasetElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(t){var ethis.dataElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index,_index:t})},addElements:function(){var t,e,nthis.getMeta(),ithis.getDataset().data||,an.data;for(t0,ei.length;te;++t)atat||this.createMetaData(t);n.datasetn.dataset||this.createMetaDataset()},addElementAndReset:function(t){var ethis.createMetaData(t);this.getMeta().data.splice(t,0,e),this.updateElement(e,t,!0)},buildOrUpdateElements:function(){var t,e,nthis,in.getDataset(),ai.data||(i.data);n._data!a&&(n._data&&et(n._data,n),a&&Object.isExtensible(a)&&(en,(ta)._chartjs?t._chartjs.listeners.push(e):(Object.defineProperty(t,_chartjs,{configurable:!0,enumerable:!1,value:{listeners:e}}),tt.forEach((function(e){var nonData+e.charAt(0).toUpperCase()+e.slice(1),ite;Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:function(){var eArray.prototype.slice.call(arguments),ai.apply(this,e);return H.each(t._chartjs.listeners,(function(t){functiontypeof tn&&tn.apply(t,e)})),a}})})))),n._dataa),n.resyncElements()},_configure:function(){this._configH.merge(Object.create(null),this.chart.options.datasetsthis._type,this.getDataset(),{merger:function(t,e,n){_meta!t&&data!t&&H._merger(t,e,n)}})},_update:function(t){this._configure(),this._cachedDataOptsnull,this.update(t)},update:H.noop,transition:function(t){for(var ethis.getMeta(),ne.data||,in.length,a0;ai;++a)na.transition(t);e.dataset&&e.dataset.transition(t)},draw:function(){var tthis.getMeta(),et.data||,ne.length,i0;for(t.dataset&&t.dataset.draw();in;++i)ei.draw()},getStyle:function(t){var e,nthis.getMeta(),in.dataset;return this._configure(),i&&void 0t?ethis._resolveDatasetElementOptions(i||{}):(tt||0,ethis._resolveDataElementOptions(n.datat||{},t)),!1!e.fill&&null!e.fill||(e.backgroundColore.borderColor),e},_resolveDatasetElementOptions:function(t,e){var n,i,a,r,othis,so.chart,lo._config,ut.custom||{},ds.options.elementso.datasetElementType.prototype._type||{},ho._datasetElementOptions,c{},f{chart:s,dataset:o.getDataset(),datasetIndex:o.index,hover:e};for(n0,ih.length;ni;++n)ahn,re?hover+a.charAt(0).toUpperCase()+a.slice(1):a,caQ(ur,lr,dr,f);return c},_resolveDataElementOptions:function(t,e){var nthis,it&&t.custom,an._cachedDataOpts;if(a&&!i)return a;var r,o,s,l,un.chart,dn._config,hu.options.elementsn.dataElementType.prototype._type||{},cn._dataElementOptions,f{},g{chart:u,dataIndex:e,dataset:n.getDataset(),datasetIndex:n.index},p{cacheable:!i};if(ii||{},H.isArray(c))for(o0,sc.length;os;++o)flcoQ(il,dl,hl,g,e,p);else for(o0,s(rObject.keys(c)).length;os;++o)flroQ(il,dcl,dl,hl,g,e,p);return p.cacheable&&(n._cachedDataOptsObject.freeze(f)),f},removeHoverStyle:function(t){H.merge(t._model,t.$previousStyle||{}),delete t.$previousStyle},setHoverStyle:function(t){var ethis.chart.data.datasetst._datasetIndex,nt._index,it.custom||{},at._model,rH.getHoverColor;t.$previousStyle{backgroundColor:a.backgroundColor,borderColor:a.borderColor,borderWidth:a.borderWidth},a.backgroundColorQ(i.hoverBackgroundColor,e.hoverBackgroundColor,r(a.backgroundColor),void 0,n),a.borderColorQ(i.hoverBorderColor,e.hoverBorderColor,r(a.borderColor),void 0,n),a.borderWidthQ(i.hoverBorderWidth,e.hoverBorderWidth,a.borderWidth,void 0,n)},_removeDatasetHoverStyle:function(){var tthis.getMeta().dataset;t&&this.removeHoverStyle(t)},_setDatasetHoverStyle:function(){var t,e,n,i,a,r,othis.getMeta().dataset,s{};if(o){for(ro._model,athis._resolveDatasetElementOptions(o,!0),t0,e(iObject.keys(a)).length;te;++t)snitrn,rnan;o.$previousStyles}},resyncElements:function(){var tthis.getMeta(),ethis.getDataset().data,nt.data.length,ie.length;in?t.data.splice(i,n-i):i>n&&this.insertElements(n,i-n)},insertElements:function(t,e){for(var n0;ne;++n)this.addElementAndReset(t+n)},onDataPush:function(){var targuments.length;this.insertElements(this.getDataset().data.length-t,t)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(t,e){this.getMeta().data.splice(t,e),this.insertElements(t,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),nt.extendH.inherits;var itnt,at2*Math.PI;function rt(t,e){var ne.startAngle,ie.endAngle,ae.pixelMargin,ra/e.outerRadius,oe.x,se.y;t.beginPath(),t.arc(o,s,e.outerRadius,n-r,i+r),e.innerRadius>a?(ra/e.innerRadius,t.arc(o,s,e.innerRadius-a,i+r,n-r,!0)):t.arc(o,s,a,i+Math.PI/2,n-Math.PI/2),t.closePath(),t.clip()}function ot(t,e,n){var iinnere.borderAlign;i?(t.lineWidth2*e.borderWidth,t.lineJoinround):(t.lineWidthe.borderWidth,t.lineJoinbevel),n.fullCircles&&function(t,e,n,i){var a,rn.endAngle;for(i&&(n.endAnglen.startAngle+at,rt(t,n),n.endAngler,n.endAnglen.startAngle&&n.fullCircles&&(n.endAngle+at,n.fullCircles--)),t.beginPath(),t.arc(n.x,n.y,n.innerRadius,n.startAngle+at,n.startAngle,!0),a0;an.fullCircles;++a)t.stroke();for(t.beginPath(),t.arc(n.x,n.y,e.outerRadius,n.startAngle,n.startAngle+at),a0;an.fullCircles;++a)t.stroke()}(t,e,n,i),i&&rt(t,n),t.beginPath(),t.arc(n.x,n.y,e.outerRadius,n.startAngle,n.endAngle),t.arc(n.x,n.y,n.innerRadius,n.endAngle,n.startAngle,!0),t.closePath(),t.stroke()}N._set(global,{elements:{arc:{backgroundColor:N.global.defaultColor,borderColor:#fff,borderWidth:2,borderAlign:center}}});var stK.extend({_type:arc,inLabelRange:function(t){var ethis._view;return!!e&&Math.pow(t-e.x,2)Math.pow(e.radius+e.hoverRadius,2)},inRange:function(t,e){var nthis._view;if(n){for(var iH.getAngleFromPoint(n,{x:t,y:e}),ai.angle,ri.distance,on.startAngle,sn.endAngle;so;)s+at;for(;a>s;)a-at;for(;ao;)a+at;var la>o&&as,ur>n.innerRadius&&rn.outerRadius;return l&&u}return!1},getCenterPoint:function(){var tthis._view,e(t.startAngle+t.endAngle)/2,n(t.innerRadius+t.outerRadius)/2;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},getArea:function(){var tthis._view;return Math.PI*((t.endAngle-t.startAngle)/(2*Math.PI))*(Math.pow(t.outerRadius,2)-Math.pow(t.innerRadius,2))},tooltipPosition:function(){var tthis._view,et.startAngle+(t.endAngle-t.startAngle)/2,n(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},draw:function(){var t,ethis._chart.ctx,nthis._view,iinnern.borderAlign?.33:0,a{x:n.x,y:n.y,innerRadius:n.innerRadius,outerRadius:Math.max(n.outerRadius-i,0),pixelMargin:i,startAngle:n.startAngle,endAngle:n.endAngle,fullCircles:Math.floor(n.circumference/at)};if(e.save(),e.fillStylen.backgroundColor,e.strokeStylen.borderColor,a.fullCircles){for(a.endAnglea.startAngle+at,e.beginPath(),e.arc(a.x,a.y,a.outerRadius,a.startAngle,a.endAngle),e.arc(a.x,a.y,a.innerRadius,a.endAngle,a.startAngle,!0),e.closePath(),t0;ta.fullCircles;++t)e.fill();a.endAnglea.startAngle+n.circumference%at}e.beginPath(),e.arc(a.x,a.y,a.outerRadius,a.startAngle,a.endAngle),e.arc(a.x,a.y,a.innerRadius,a.endAngle,a.startAngle,!0),e.closePath(),e.fill(),n.borderWidth&&ot(e,n,a),e.restore()}}),ltH.valueOrDefault,utN.global.defaultColor;N._set(global,{elements:{line:{tension:.4,backgroundColor:ut,borderWidth:3,borderColor:ut,borderCapStyle:butt,borderDash:,borderDashOffset:0,borderJoinStyle:miter,capBezierPoints:!0,fill:!0}}});var dtK.extend({_type:line,draw:function(){var t,e,n,ithis,ai._view,ri._chart.ctx,oa.spanGaps,si._children.slice(),lN.global,ul.elements.line,d-1,hi._loop;if(s.length){if(i._loop){for(t0;ts.length;++t)if(eH.previousItem(s,t),!st._view.skip&&e._view.skip){ss.slice(t).concat(s.slice(0,t)),ho;break}h&&s.push(s0)}for(r.save(),r.lineCapa.borderCapStyle||u.borderCapStyle,r.setLineDash&&r.setLineDash(a.borderDash||u.borderDash),r.lineDashOffsetlt(a.borderDashOffset,u.borderDashOffset),r.lineJoina.borderJoinStyle||u.borderJoinStyle,r.lineWidthlt(a.borderWidth,u.borderWidth),r.strokeStylea.borderColor||l.defaultColor,r.beginPath(),(ns0._view).skip||(r.moveTo(n.x,n.y),d0),t1;ts.length;++t)nst._view,e-1d?H.previousItem(s,t):sd,n.skip||(d!t-1&&!o||-1d?r.moveTo(n.x,n.y):H.canvas.lineTo(r,e._view,n),dt);h&&r.closePath(),r.stroke(),r.restore()}}}),htH.valueOrDefault,ctN.global.defaultColor;function ft(t){var ethis._view;return!!e&&Math.abs(t-e.x)e.radius+e.hitRadius}N._set(global,{elements:{point:{radius:3,pointStyle:circle,backgroundColor:ct,borderColor:ct,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}});var gtK.extend({_type:point,inRange:function(t,e){var nthis._view;return!!n&&Math.pow(t-n.x,2)+Math.pow(e-n.y,2)Math.pow(n.hitRadius+n.radius,2)},inLabelRange:ft,inXRange:ft,inYRange:function(t){var ethis._view;return!!e&&Math.abs(t-e.y)e.radius+e.hitRadius},getCenterPoint:function(){var tthis._view;return{x:t.x,y:t.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var tthis._view;return{x:t.x,y:t.y,padding:t.radius+t.borderWidth}},draw:function(t){var ethis._view,nthis._chart.ctx,ie.pointStyle,ae.rotation,re.radius,oe.x,se.y,lN.global,ul.defaultColor;e.skip||(void 0t||H.canvas._isPointInArea(e,t))&&(n.strokeStylee.borderColor||u,n.lineWidthht(e.borderWidth,l.elements.point.borderWidth),n.fillStylee.backgroundColor||u,H.canvas.drawPoint(n,i,r,o,s,a))}}),ptN.global.defaultColor;function mt(t){return t&&void 0!t.width}function vt(t){var e,n,i,a,r;return mt(t)?(rt.width/2,et.x-r,nt.x+r,iMath.min(t.y,t.base),aMath.max(t.y,t.base)):(rt.height/2,eMath.min(t.x,t.base),nMath.max(t.x,t.base),it.y-r,at.y+r),{left:e,top:i,right:n,bottom:a}}function bt(t,e,n){return te?n:tn?e:t}function xt(t,e,n){var i,a,r,o,st.borderWidth,lfunction(t){var et.borderSkipped,n{};return e?(t.horizontal?t.base>t.x&&(ebt(e,left,right)):t.baset.y&&(ebt(e,bottom,top)),ne!0,n):n}(t);return H.isObject(s)?(i+s.top||0,a+s.right||0,r+s.bottom||0,o+s.left||0):iaro+s||0,{t:l.top||i0?0:i>n?n:i,r:l.right||a0?0:a>e?e:a,b:l.bottom||r0?0:r>n?n:r,l:l.left||o0?0:o>e?e:o}}function yt(t,e,n){var inulle,anulln,r!(!t||i&&a)&&vt(t);return r&&(i||e>r.left&&er.right)&&(a||n>r.top&&nr.bottom)}N._set(global,{elements:{rectangle:{backgroundColor:pt,borderColor:pt,borderSkipped:bottom,borderWidth:0}}});var _tK.extend({_type:rectangle,draw:function(){var tthis._chart.ctx,ethis._view,nfunction(t){var evt(t),ne.right-e.left,ie.bottom-e.top,axt(t,n/2,i/2);return{outer:{x:e.left,y:e.top,w:n,h:i},inner:{x:e.left+a.l,y:e.top+a.t,w:n-a.l-a.r,h:i-a.t-a.b}}}(e),in.outer,an.inner;t.fillStylee.backgroundColor,t.fillRect(i.x,i.y,i.w,i.h),i.wa.w&&i.ha.h||(t.save(),t.beginPath(),t.rect(i.x,i.y,i.w,i.h),t.clip(),t.fillStylee.borderColor,t.rect(a.x,a.y,a.w,a.h),t.fill(evenodd),t.restore())},height:function(){var tthis._view;return t.base-t.y},inRange:function(t,e){return yt(this._view,t,e)},inLabelRange:function(t,e){var nthis._view;return mt(n)?yt(n,t,null):yt(n,null,e)},inXRange:function(t){return yt(this._view,t,null)},inYRange:function(t){return yt(this._view,null,t)},getCenterPoint:function(){var t,e,nthis._view;return mt(n)?(tn.x,e(n.y+n.base)/2):(t(n.x+n.base)/2,en.y),{x:t,y:e}},getArea:function(){var tthis._view;return mt(t)?t.width*Math.abs(t.y-t.base):t.height*Math.abs(t.x-t.base)},tooltipPosition:function(){var tthis._view;return{x:t.x,y:t.y}}}),kt{},wtst,Mtdt,Stgt,Ct_t;kt.Arcwt,kt.LineMt,kt.PointSt,kt.RectangleCt;var PtH._deprecated,AtH.valueOrDefault;function Dt(t,e,n){var i,a,rn.barThickness,oe.stackCount,se.pixelst,lH.isNullOrUndef(r)?function(t,e){var n,i,a,r,ot._length;for(a1,re.length;ar;++a)oMath.min(o,Math.abs(ea-ea-1));for(a0,rt.getTicks().length;ar;++a)it.getPixelForTick(a),oa>0?Math.min(o,Math.abs(i-n)):o,ni;return o}(e.scale,e.pixels):-1;return H.isNullOrUndef(r)?(il*n.categoryPercentage,an.barPercentage):(ir*o,a1),{chunk:i/o,ratio:a,start:s-i/2}}N._set(bar,{hover:{mode:label},scales:{xAxes:{type:category,offset:!0,gridLines:{offsetGridLines:!0}},yAxes:{type:linear}}}),N._set(global,{datasets:{bar:{categoryPercentage:.8,barPercentage:.9}}});var Ttit.extend({dataElementType:kt.Rectangle,_dataElementOptions:backgroundColor,borderColor,borderSkipped,borderWidth,barPercentage,barThickness,categoryPercentage,maxBarThickness,minBarLength,initialize:function(){var t,e,nthis;it.prototype.initialize.apply(n,arguments),(tn.getMeta()).stackn.getDataset().stack,t.bar!0,en._getIndexScale().options,Pt(bar chart,e.barPercentage,scales.x/yAxes.barPercentage,dataset.barPercentage),Pt(bar chart,e.barThickness,scales.x/yAxes.barThickness,dataset.barThickness),Pt(bar chart,e.categoryPercentage,scales.x/yAxes.categoryPercentage,dataset.categoryPercentage),Pt(bar chart,n._getValueScale().options.minBarLength,scales.x/yAxes.minBarLength,dataset.minBarLength),Pt(bar chart,e.maxBarThickness,scales.x/yAxes.maxBarThickness,dataset.maxBarThickness)},update:function(t){var e,n,ithis.getMeta().data;for(this._rulerthis.getRuler(),e0,ni.length;en;++e)this.updateElement(ie,e,t)},updateElement:function(t,e,n){var ithis,ai.getMeta(),ri.getDataset(),oi._resolveDataElementOptions(t,e);t._xScalei.getScaleForId(a.xAxisID),t._yScalei.getScaleForId(a.yAxisID),t._datasetIndexi.index,t._indexe,t._model{backgroundColor:o.backgroundColor,borderColor:o.borderColor,borderSkipped:o.borderSkipped,borderWidth:o.borderWidth,datasetLabel:r.label,label:i.chart.data.labelse},H.isArray(r.datae)&&(t._model.borderSkippednull),i._updateElementGeometry(t,e,n,o),t.pivot()},_updateElementGeometry:function(t,e,n,i){var athis,rt._model,oa._getValueScale(),so.getBasePixel(),lo.isHorizontal(),ua._ruler||a.getRuler(),da.calculateBarValuePixels(a.index,e,i),ha.calculateBarIndexPixels(a.index,e,u,i);r.horizontall,r.basen?s:d.base,r.xl?n?s:d.head:h.center,r.yl?h.center:n?s:d.head,r.heightl?h.size:void 0,r.widthl?void 0:h.size},_getStacks:function(t){var e,n,ithis._getIndexScale(),ai._getMatchingVisibleMetas(this._type),ri.options.stacked,oa.length,s;for(e0;eo&&(nae,(!1r||-1s.indexOf(n.stack)||void 0r&&void 0n.stack)&&s.push(n.stack),n.index!t);++e);return s},getStackCount:function(){return this._getStacks().length},getStackIndex:function(t,e){var nthis._getStacks(t),ivoid 0!e?n.indexOf(e):-1;return-1i?n.length-1:i},getRuler:function(){var t,e,nthis._getIndexScale(),i;for(t0,ethis.getMeta().data.length;te;++t)i.push(n.getPixelForValue(null,t,this.index));return{pixels:i,start:n._startPixel,end:n._endPixel,stackCount:this.getStackCount(),scale:n}},calculateBarValuePixels:function(t,e,n){var i,a,r,o,s,l,u,dthis.chart,hthis._getValueScale(),ch.isHorizontal(),fd.data.datasets,gh._getMatchingVisibleMetas(this._type),ph._parseValue(ft.datae),mn.minBarLength,vh.options.stacked,bthis.getMeta().stack,xvoid 0p.start?0:p.max>0&&p.min>0?p.min:p.max,yvoid 0p.start?p.end:p.max>0&&p.min>0?p.max-p.min:p.min-p.max,_g.length;if(v||void 0v&&void 0!b)for(i0;i_&&(agi).index!t;++i)a.stackb&&(rvoid 0(uh._parseValue(fa.index.datae)).start?u.end:u.min>0&&u.max>0?u.max:u.min,(p.min0&&r0||p.max>0&&r>0)&&(x+r));return oh.getPixelForValue(x),l(sh.getPixelForValue(x+y))-o,void 0!m&&Math.abs(l)m&&(lm,sy>0&&!c||y0&&c?o-m:o+m),{size:l,base:o,head:s,center:s+l/2}},calculateBarIndexPixels:function(t,e,n,i){var aflexi.barThickness?function(t,e,n){var i,ae.pixels,rat,ot>0?at-1:null,sta.length-1?at+1:null,ln.categoryPercentage;return nullo&&(or-(nulls?e.end-e.start:s-r)),nulls&&(sr+r-o),ir-(r-Math.min(o,s))/2*l,{chunk:Math.abs(s-o)/2*l/e.stackCount,ratio:n.barPercentage,start:i}}(e,n,i):Dt(e,n,i),rthis.getStackIndex(t,this.getMeta().stack),oa.start+a.chunk*r+a.chunk/2,sMath.min(At(i.maxBarThickness,1/0),a.chunk*a.ratio);return{base:o-s/2,head:o+s/2,center:o,size:s}},draw:function(){var tthis.chart,ethis._getValueScale(),nthis.getMeta().data,ithis.getDataset(),an.length,r0;for(H.canvas.clipArea(t.ctx,t.chartArea);ra;++r){var oe._parseValue(i.datar);isNaN(o.min)||isNaN(o.max)||nr.draw()}H.canvas.unclipArea(t.ctx)},_resolveDataElementOptions:function(){var tthis,eH.extend({},it.prototype._resolveDataElementOptions.apply(t,arguments)),nt._getIndexScale().options,it._getValueScale().options;return e.barPercentageAt(n.barPercentage,e.barPercentage),e.barThicknessAt(n.barThickness,e.barThickness),e.categoryPercentageAt(n.categoryPercentage,e.categoryPercentage),e.maxBarThicknessAt(n.maxBarThickness,e.maxBarThickness),e.minBarLengthAt(i.minBarLength,e.minBarLength),e}}),ItH.valueOrDefault,FtH.options.resolve;N._set(bubble,{hover:{mode:single},scales:{xAxes:{type:linear,position:bottom,id:x-axis-0},yAxes:{type:linear,position:left,id:y-axis-0}},tooltips:{callbacks:{title:function(){return},label:function(t,e){var ne.datasetst.datasetIndex.label||,ie.datasetst.datasetIndex.datat.index;return n+: (+t.xLabel+, +t.yLabel+, +i.r+)}}}});var Otit.extend({dataElementType:kt.Point,_dataElementOptions:backgroundColor,borderColor,borderWidth,hoverBackgroundColor,hoverBorderColor,hoverBorderWidth,hoverRadius,hitRadius,pointStyle,rotation,update:function(t){var ethis,ne.getMeta().data;H.each(n,(function(n,i){e.updateElement(n,i,t)}))},updateElement:function(t,e,n){var ithis,ai.getMeta(),rt.custom||{},oi.getScaleForId(a.xAxisID),si.getScaleForId(a.yAxisID),li._resolveDataElementOptions(t,e),ui.getDataset().datae,di.index,hn?o.getPixelForDecimal(.5):o.getPixelForValue(objecttypeof u?u:NaN,e,d),cn?s.getBasePixel():s.getPixelForValue(u,e,d);t._xScaleo,t._yScales,t._optionsl,t._datasetIndexd,t._indexe,t._model{backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,hitRadius:l.hitRadius,pointStyle:l.pointStyle,rotation:l.rotation,radius:n?0:l.radius,skip:r.skip||isNaN(h)||isNaN(c),x:h,y:c},t.pivot()},setHoverStyle:function(t){var et._model,nt._options,iH.getHoverColor;t.$previousStyle{backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColorIt(n.hoverBackgroundColor,i(n.backgroundColor)),e.borderColorIt(n.hoverBorderColor,i(n.borderColor)),e.borderWidthIt(n.hoverBorderWidth,n.borderWidth),e.radiusn.radius+n.hoverRadius},_resolveDataElementOptions:function(t,e){var nthis,in.chart,an.getDataset(),rt.custom||{},oa.datae||{},sit.prototype._resolveDataElementOptions.apply(n,arguments),l{chart:i,dataIndex:e,dataset:a,datasetIndex:n.index};return n._cachedDataOptss&&(sH.extend({},s)),s.radiusFt(r.radius,o.r,n._config.radius,i.options.elements.point.radius,l,e),s}}),LtH.valueOrDefault,RtMath.PI,zt2*Rt,NtRt/2;N._set(doughnut,{animation:{animateRotate:!0,animateScale:!1},hover:{mode:single},legendCallback:function(t){var e,n,i,adocument.createElement(ul),rt.data,or.datasets,sr.labels;if(a.setAttribute(class,t.id+-legend),o.length)for(e0,no0.data.length;en;++e)(ia.appendChild(document.createElement(li))).appendChild(document.createElement(span)).style.backgroundColoro0.backgroundColore,se&&i.appendChild(document.createTextNode(se));return a.outerHTML},legend:{labels:{generateLabels:function(t){var et.data;return e.labels.length&&e.datasets.length?e.labels.map((function(n,i){var at.getDatasetMeta(0),ra.controller.getStyle(i);return{text:n,fillStyle:r.backgroundColor,strokeStyle:r.borderColor,lineWidth:r.borderWidth,hidden:isNaN(e.datasets0.datai)||a.datai.hidden,index:i}})):}},onClick:function(t,e){var n,i,a,re.index,othis.chart;for(n0,i(o.data.datasets||).length;ni;++n)(ao.getDatasetMeta(n)).datar&&(a.datar.hidden!a.datar.hidden);o.update()}},cutoutPercentage:50,rotation:-Nt,circumference:zt,tooltips:{callbacks:{title:function(){return},label:function(t,e){var ne.labelst.index,i: +e.datasetst.datasetIndex.datat.index;return H.isArray(n)?(nn.slice())0+i:n+i,n}}}});var Btit.extend({dataElementType:kt.Arc,linkScales:H.noop,_dataElementOptions:backgroundColor,borderColor,borderWidth,borderAlign,hoverBackgroundColor,hoverBorderColor,hoverBorderWidth,getRingIndex:function(t){for(var e0,n0;nt;++n)this.chart.isDatasetVisible(n)&&++e;return e},update:function(t){var e,n,i,a,rthis,or.chart,so.chartArea,lo.options,u1,d1,h0,c0,fr.getMeta(),gf.data,pl.cutoutPercentage/100||0,ml.circumference,vr._getRingWeight(r.index);if(mzt){var bl.rotation%zt,x(b+b>Rt?-zt:b-Rt?zt:0)+m,yMath.cos(b),_Math.sin(b),kMath.cos(x),wMath.sin(x),Mb0&&x>0||x>zt,SbNt&&x>Nt||x>zt+Nt,Cb-Nt&&x>-Nt||x>Rt+Nt,Pb-Rt||x>Rt?-1:Math.min(y,y*p,k,k*p),AC?-1:Math.min(_,_*p,w,w*p),DM?1:Math.max(y,y*p,k,k*p),TS?1:Math.max(_,_*p,w,w*p);u(D-P)/2,d(T-A)/2,h-(D+P)/2,c-(T+A)/2}for(i0,ag.length;ia;++i)gi._optionsr._resolveDataElementOptions(gi,i);for(o.borderWidthr.getMaxBorderWidth(),e(s.right-s.left-o.borderWidth)/u,n(s.bottom-s.top-o.borderWidth)/d,o.outerRadiusMath.max(Math.min(e,n)/2,0),o.innerRadiusMath.max(o.outerRadius*p,0),o.radiusLength(o.outerRadius-o.innerRadius)/(r._getVisibleDatasetWeightTotal()||1),o.offsetXh*o.outerRadius,o.offsetYc*o.outerRadius,f.totalr.calculateTotal(),r.outerRadiuso.outerRadius-o.radiusLength*r._getRingWeightOffset(r.index),r.innerRadiusMath.max(r.outerRadius-o.radiusLength*v,0),i0,ag.length;ia;++i)r.updateElement(gi,i,t)},updateElement:function(t,e,n){var ithis,ai.chart,ra.chartArea,oa.options,so.animation,l(r.left+r.right)/2,u(r.top+r.bottom)/2,do.rotation,ho.rotation,ci.getDataset(),fn&&s.animateRotate?0:t.hidden?0:i.calculateCircumference(c.datae)*(o.circumference/zt),gn&&s.animateScale?0:i.innerRadius,pn&&s.animateScale?0:i.outerRadius,mt._options||{};H.extend(t,{_datasetIndex:i.index,_index:e,_model:{backgroundColor:m.backgroundColor,borderColor:m.borderColor,borderWidth:m.borderWidth,borderAlign:m.borderAlign,x:l+a.offsetX,y:u+a.offsetY,startAngle:d,endAngle:h,circumference:f,outerRadius:p,innerRadius:g,label:H.valueAtIndexOrDefault(c.label,e,a.data.labelse)}});var vt._model;n&&s.animateRotate||(v.startAngle0e?o.rotation:i.getMeta().datae-1._model.endAngle,v.endAnglev.startAngle+v.circumference),t.pivot()},calculateTotal:function(){var t,ethis.getDataset(),nthis.getMeta(),i0;return H.each(n.data,(function(n,a){te.dataa,isNaN(t)||n.hidden||(i+Math.abs(t))})),i},calculateCircumference:function(t){var ethis.getMeta().total;return e>0&&!isNaN(t)?zt*(Math.abs(t)/e):0},getMaxBorderWidth:function(t){var e,n,i,a,r,o,s,l,u0,dthis.chart;if(!t)for(e0,nd.data.datasets.length;en;++e)if(d.isDatasetVisible(e)){t(id.getDatasetMeta(e)).data,e!this.index&&(ri.controller);break}if(!t)return 0;for(e0,nt.length;en;++e)ate,r?(r._configure(),or._resolveDataElementOptions(a,e)):oa._options,inner!o.borderAlign&&(so.borderWidth,u(lo.hoverBorderWidth)>(us>u?s:u)?l:u);return u},setHoverStyle:function(t){var et._model,nt._options,iH.getHoverColor;t.$previousStyle{backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth},e.backgroundColorLt(n.hoverBackgroundColor,i(n.backgroundColor)),e.borderColorLt(n.hoverBorderColor,i(n.borderColor)),e.borderWidthLt(n.hoverBorderWidth,n.borderWidth)},_getRingWeightOffset:function(t){for(var e0,n0;nt;++n)this.chart.isDatasetVisible(n)&&(e+this._getRingWeight(n));return e},_getRingWeight:function(t){return Math.max(Lt(this.chart.data.datasetst.weight,1),0)},_getVisibleDatasetWeightTotal:function(){return this._getRingWeightOffset(this.chart.data.datasets.length)}});N._set(horizontalBar,{hover:{mode:index,axis:y},scales:{xAxes:{type:linear,position:bottom},yAxes:{type:category,position:left,offset:!0,gridLines:{offsetGridLines:!0}}},elements:{rectangle:{borderSkipped:left}},tooltips:{mode:index,axis:y}}),N._set(global,{datasets:{horizontalBar:{categoryPercentage:.8,barPercentage:.9}}});var EtTt.extend({_getValueScaleId:function(){return this.getMeta().xAxisID},_getIndexScaleId:function(){return this.getMeta().yAxisID}}),WtH.valueOrDefault,VtH.options.resolve,HtH.canvas._isPointInArea;function jt(t,e){var nt&&t.options.ticks||{},in.reverse,avoid 0n.min?e:0,rvoid 0n.max?e:0;return{start:i?r:a,end:i?a:r}}function qt(t,e,n){var in/2,ajt(t,i),rjt(e,i);return{top:r.end,right:a.end,bottom:r.start,left:a.start}}function Ut(t){var e,n,i,a;return H.isObject(t)?(et.top,nt.right,it.bottom,at.left):eniat,{top:e,right:n,bottom:i,left:a}}N._set(line,{showLines:!0,spanGaps:!1,hover:{mode:label},scales:{xAxes:{type:category,id:x-axis-0},yAxes:{type:linear,id:y-axis-0}}});var Ytit.extend({datasetElementType:kt.Line,dataElementType:kt.Point,_datasetElementOptions:backgroundColor,borderCapStyle,borderColor,borderDash,borderDashOffset,borderJoinStyle,borderWidth,cubicInterpolationMode,fill,_dataElementOptions:{backgroundColor:pointBackgroundColor,borderColor:pointBorderColor,borderWidth:pointBorderWidth,hitRadius:pointHitRadius,hoverBackgroundColor:pointHoverBackgroundColor,hoverBorderColor:pointHoverBorderColor,hoverBorderWidth:pointHoverBorderWidth,hoverRadius:pointHoverRadius,pointStyle:pointStyle,radius:pointRadius,rotation:pointRotation},update:function(t){var e,n,ithis,ai.getMeta(),ra.dataset,oa.data||,si.chart.options,li._config,ui._showLineWt(l.showLine,s.showLines);for(i._xScalei.getScaleForId(a.xAxisID),i._yScalei.getScaleForId(a.yAxisID),u&&(void 0!l.tension&&void 0l.lineTension&&(l.lineTensionl.tension),r._scalei._yScale,r._datasetIndexi.index,r._childreno,r._modeli._resolveDatasetElementOptions(r),r.pivot()),e0,no.length;en;++e)i.updateElement(oe,e,t);for(u&&0!r._model.tension&&i.updateBezierControlPoints(),e0,no.length;en;++e)oe.pivot()},updateElement:function(t,e,n){var i,a,rthis,or.getMeta(),st.custom||{},lr.getDataset(),ur.index,dl.datae,hr._xScale,cr._yScale,fo.dataset._model,gr._resolveDataElementOptions(t,e);ih.getPixelForValue(objecttypeof d?d:NaN,e,u),an?c.getBasePixel():r.calculatePointY(d,e,u),t._xScaleh,t._yScalec,t._optionsg,t._datasetIndexu,t._indexe,t._model{x:i,y:a,skip:s.skip||isNaN(i)||isNaN(a),radius:g.radius,pointStyle:g.pointStyle,rotation:g.rotation,backgroundColor:g.backgroundColor,borderColor:g.borderColor,borderWidth:g.borderWidth,tension:Wt(s.tension,f?f.tension:0),steppedLine:!!f&&f.steppedLine,hitRadius:g.hitRadius}},_resolveDatasetElementOptions:function(t){var ethis,ne._config,it.custom||{},ae.chart.options,ra.elements.line,oit.prototype._resolveDatasetElementOptions.apply(e,arguments);return o.spanGapsWt(n.spanGaps,a.spanGaps),o.tensionWt(n.lineTension,r.tension),o.steppedLineVt(i.steppedLine,n.steppedLine,r.stepped),o.clipUt(Wt(n.clip,qt(e._xScale,e._yScale,o.borderWidth))),o},calculatePointY:function(t,e,n){var i,a,r,o,s,l,u,dthis.chart,hthis._yScale,c0,f0;if(h.options.stacked){for(s+h.getRightValue(t),u(ld._getSortedVisibleDatasetMetas()).length,i0;iu&&(rli).index!n;++i)ad.data.datasetsr.index,liner.type&&r.yAxisIDh.id&&((o+h.getRightValue(a.datae))0?f+o||0:c+o||0);return s0?h.getPixelForValue(f+s):h.getPixelForValue(c+s)}return h.getPixelForValue(t)},updateBezierControlPoints:function(){var t,e,n,i,athis.chart,rthis.getMeta(),or.dataset._model,sa.chartArea,lr.data||;function u(t,e,n){return Math.max(Math.min(t,n),e)}if(o.spanGaps&&(ll.filter((function(t){return!t._model.skip}))),monotoneo.cubicInterpolationMode)H.splineCurveMonotone(l);else for(t0,el.length;te;++t)nlt._model,iH.splineCurve(H.previousItem(l,t)._model,n,H.nextItem(l,t)._model,o.tension),n.controlPointPreviousXi.previous.x,n.controlPointPreviousYi.previous.y,n.controlPointNextXi.next.x,n.controlPointNextYi.next.y;if(a.options.elements.line.capBezierPoints)for(t0,el.length;te;++t)nlt._model,Ht(n,s)&&(t>0&&Ht(lt-1._model,s)&&(n.controlPointPreviousXu(n.controlPointPreviousX,s.left,s.right),n.controlPointPreviousYu(n.controlPointPreviousY,s.top,s.bottom)),tl.length-1&&Ht(lt+1._model,s)&&(n.controlPointNextXu(n.controlPointNextX,s.left,s.right),n.controlPointNextYu(n.controlPointNextY,s.top,s.bottom)))},draw:function(){var t,ethis.chart,nthis.getMeta(),in.data||,ae.chartArea,re.canvas,o0,si.length;for(this._showLine&&(tn.dataset._model.clip,H.canvas.clipArea(e.ctx,{left:!1t.left?0:a.left-t.left,right:!1t.right?r.width:a.right+t.right,top:!1t.top?0:a.top-t.top,bottom:!1t.bottom?r.height:a.bottom+t.bottom}),n.dataset.draw(),H.canvas.unclipArea(e.ctx));os;++o)io.draw(a)},setHoverStyle:function(t){var et._model,nt._options,iH.getHoverColor;t.$previousStyle{backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColorWt(n.hoverBackgroundColor,i(n.backgroundColor)),e.borderColorWt(n.hoverBorderColor,i(n.borderColor)),e.borderWidthWt(n.hoverBorderWidth,n.borderWidth),e.radiusWt(n.hoverRadius,n.radius)}}),GtH.options.resolve;N._set(polarArea,{scale:{type:radialLinear,angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(t){var e,n,i,adocument.createElement(ul),rt.data,or.datasets,sr.labels;if(a.setAttribute(class,t.id+-legend),o.length)for(e0,no0.data.length;en;++e)(ia.appendChild(document.createElement(li))).appendChild(document.createElement(span)).style.backgroundColoro0.backgroundColore,se&&i.appendChild(document.createTextNode(se));return a.outerHTML},legend:{labels:{generateLabels:function(t){var et.data;return e.labels.length&&e.datasets.length?e.labels.map((function(n,i){var at.getDatasetMeta(0),ra.controller.getStyle(i);return{text:n,fillStyle:r.backgroundColor,strokeStyle:r.borderColor,lineWidth:r.borderWidth,hidden:isNaN(e.datasets0.datai)||a.datai.hidden,index:i}})):}},onClick:function(t,e){var n,i,a,re.index,othis.chart;for(n0,i(o.data.datasets||).length;ni;++n)(ao.getDatasetMeta(n)).datar.hidden!a.datar.hidden;o.update()}},tooltips:{callbacks:{title:function(){return},label:function(t,e){return e.labelst.index+: +t.yLabel}}}});var Xtit.extend({dataElementType:kt.Arc,linkScales:H.noop,_dataElementOptions:backgroundColor,borderColor,borderWidth,borderAlign,hoverBackgroundColor,hoverBorderColor,hoverBorderWidth,_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(t){var e,n,i,athis,ra.getDataset(),oa.getMeta(),sa.chart.options.startAngle||0,la._starts,ua._angles,do.data;for(a._updateRadius(),o.counta.countVisibleElements(),e0,nr.data.length;en;e++)les,ia._computeAngle(e),uei,s+i;for(e0,nd.length;en;++e)de._optionsa._resolveDataElementOptions(de,e),a.updateElement(de,e,t)},_updateRadius:function(){var tthis,et.chart,ne.chartArea,ie.options,aMath.min(n.right-n.left,n.bottom-n.top);e.outerRadiusMath.max(a/2,0),e.innerRadiusMath.max(i.cutoutPercentage?e.outerRadius/100*i.cutoutPercentage:1,0),e.radiusLength(e.outerRadius-e.innerRadius)/e.getVisibleDatasetCount(),t.outerRadiuse.outerRadius-e.radiusLength*t.index,t.innerRadiust.outerRadius-e.radiusLength},updateElement:function(t,e,n){var ithis,ai.chart,ri.getDataset(),oa.options,so.animation,la.scale,ua.data.labels,dl.xCenter,hl.yCenter,co.startAngle,ft.hidden?0:l.getDistanceFromCenterForValue(r.datae),gi._startse,pg+(t.hidden?0:i._anglese),ms.animateScale?0:l.getDistanceFromCenterForValue(r.datae),vt._options||{};H.extend(t,{_datasetIndex:i.index,_index:e,_scale:l,_model:{backgroundColor:v.backgroundColor,borderColor:v.borderColor,borderWidth:v.borderWidth,borderAlign:v.borderAlign,x:d,y:h,innerRadius:0,outerRadius:n?m:f,startAngle:n&&s.animateRotate?c:g,endAngle:n&&s.animateRotate?c:p,label:H.valueAtIndexOrDefault(u,e,ue)}}),t.pivot()},countVisibleElements:function(){var tthis.getDataset(),ethis.getMeta(),n0;return H.each(e.data,(function(e,i){isNaN(t.datai)||e.hidden||n++})),n},setHoverStyle:function(t){var et._model,nt._options,iH.getHoverColor,aH.valueOrDefault;t.$previousStyle{backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth},e.backgroundColora(n.hoverBackgroundColor,i(n.backgroundColor)),e.borderColora(n.hoverBorderColor,i(n.borderColor)),e.borderWidtha(n.hoverBorderWidth,n.borderWidth)},_computeAngle:function(t){var ethis,nthis.getMeta().count,ie.getDataset(),ae.getMeta();if(isNaN(i.datat)||a.datat.hidden)return 0;var r{chart:e.chart,dataIndex:t,dataset:i,datasetIndex:e.index};return Gt(e.chart.options.elements.arc.angle,2*Math.PI/n,r,t)}});N._set(pie,H.clone(N.doughnut)),N._set(pie,{cutoutPercentage:0});var KtBt,ZtH.valueOrDefault;N._set(radar,{spanGaps:!1,scale:{type:radialLinear},elements:{line:{fill:start,tension:0}}});var $tit.extend({datasetElementType:kt.Line,dataElementType:kt.Point,linkScales:H.noop,_datasetElementOptions:backgroundColor,borderWidth,borderColor,borderCapStyle,borderDash,borderDashOffset,borderJoinStyle,fill,_dataElementOptions:{backgroundColor:pointBackgroundColor,borderColor:pointBorderColor,borderWidth:pointBorderWidth,hitRadius:pointHitRadius,hoverBackgroundColor:pointHoverBackgroundColor,hoverBorderColor:pointHoverBorderColor,hoverBorderWidth:pointHoverBorderWidth,hoverRadius:pointHoverRadius,pointStyle:pointStyle,radius:pointRadius,rotation:pointRotation},_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(t){var e,n,ithis,ai.getMeta(),ra.dataset,oa.data||,si.chart.scale,li._config;for(void 0!l.tension&&void 0l.lineTension&&(l.lineTensionl.tension),r._scales,r._datasetIndexi.index,r._childreno,r._loop!0,r._modeli._resolveDatasetElementOptions(r),r.pivot(),e0,no.length;en;++e)i.updateElement(oe,e,t);for(i.updateBezierControlPoints(),e0,no.length;en;++e)oe.pivot()},updateElement:function(t,e,n){var ithis,at.custom||{},ri.getDataset(),oi.chart.scale,so.getPointPositionForValue(e,r.datae),li._resolveDataElementOptions(t,e),ui.getMeta().dataset._model,dn?o.xCenter:s.x,hn?o.yCenter:s.y;t._scaleo,t._optionsl,t._datasetIndexi.index,t._indexe,t._model{x:d,y:h,skip:a.skip||isNaN(d)||isNaN(h),radius:l.radius,pointStyle:l.pointStyle,rotation:l.rotation,backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,tension:Zt(a.tension,u?u.tension:0),hitRadius:l.hitRadius}},_resolveDatasetElementOptions:function(){var tthis,et._config,nt.chart.options,iit.prototype._resolveDatasetElementOptions.apply(t,arguments);return i.spanGapsZt(e.spanGaps,n.spanGaps),i.tensionZt(e.lineTension,n.elements.line.tension),i},updateBezierControlPoints:function(){var t,e,n,i,athis.getMeta(),rthis.chart.chartArea,oa.data||;function s(t,e,n){return Math.max(Math.min(t,n),e)}for(a.dataset._model.spanGaps&&(oo.filter((function(t){return!t._model.skip}))),t0,eo.length;te;++t)not._model,iH.splineCurve(H.previousItem(o,t,!0)._model,n,H.nextItem(o,t,!0)._model,n.tension),n.controlPointPreviousXs(i.previous.x,r.left,r.right),n.controlPointPreviousYs(i.previous.y,r.top,r.bottom),n.controlPointNextXs(i.next.x,r.left,r.right),n.controlPointNextYs(i.next.y,r.top,r.bottom)},setHoverStyle:function(t){var et._model,nt._options,iH.getHoverColor;t.$previousStyle{backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColorZt(n.hoverBackgroundColor,i(n.backgroundColor)),e.borderColorZt(n.hoverBorderColor,i(n.borderColor)),e.borderWidthZt(n.hoverBorderWidth,n.borderWidth),e.radiusZt(n.hoverRadius,n.radius)}});N._set(scatter,{hover:{mode:single},scales:{xAxes:{id:x-axis-1,type:linear,position:bottom},yAxes:{id:y-axis-1,type:linear,position:left}},tooltips:{callbacks:{title:function(){return},label:function(t){return(+t.xLabel+, +t.yLabel+)}}}}),N._set(global,{datasets:{scatter:{showLine:!1}}});var Jt{bar:Tt,bubble:Ot,doughnut:Bt,horizontalBar:Et,line:Yt,polarArea:Xt,pie:Kt,radar:$t,scatter:Yt};function Qt(t,e){return t.native?{x:t.x,y:t.y}:H.getRelativePosition(t,e)}function te(t,e){var n,i,a,r,o,s,lt._getSortedVisibleDatasetMetas();for(i0,rl.length;ir;++i)for(a0,o(nli.data).length;ao;++a)(sna)._view.skip||e(s)}function ee(t,e){var n;return te(t,(function(t){t.inRange(e.x,e.y)&&n.push(t)})),n}function ne(t,e,n,i){var aNumber.POSITIVE_INFINITY,r;return te(t,(function(t){if(!n||t.inRange(e.x,e.y)){var ot.getCenterPoint(),si(e,o);sa?(rt,as):sa&&r.push(t)}})),r}function ie(t){var e-1!t.indexOf(x),n-1!t.indexOf(y);return function(t,i){var ae?Math.abs(t.x-i.x):0,rn?Math.abs(t.y-i.y):0;return Math.sqrt(Math.pow(a,2)+Math.pow(r,2))}}function ae(t,e,n){var iQt(e,t);n.axisn.axis||x;var aie(n.axis),rn.intersect?ee(t,i):ne(t,i,!1,a),o;return r.length?(t._getSortedVisibleDatasetMetas().forEach((function(t){var et.datar0._index;e&&!e._view.skip&&o.push(e)})),o):}var re{modes:{single:function(t,e){var nQt(e,t),i;return te(t,(function(t){if(t.inRange(n.x,n.y))return i.push(t),i})),i.slice(0,1)},label:ae,index:ae,dataset:function(t,e,n){var iQt(e,t);n.axisn.axis||xy;var aie(n.axis),rn.intersect?ee(t,i):ne(t,i,!1,a);return r.length>0&&(rt.getDatasetMeta(r0._datasetIndex).data),r},x-axis:function(t,e){return ae(t,e,{intersect:!1})},point:function(t,e){return ee(t,Qt(e,t))},nearest:function(t,e,n){var iQt(e,t);n.axisn.axis||xy;var aie(n.axis);return ne(t,i,n.intersect,a)},x:function(t,e,n){var iQt(e,t),a,r!1;return te(t,(function(t){t.inXRange(i.x)&&a.push(t),t.inRange(i.x,i.y)&&(r!0)})),n.intersect&&!r&&(a),a},y:function(t,e,n){var iQt(e,t),a,r!1;return te(t,(function(t){t.inYRange(i.y)&&a.push(t),t.inRange(i.x,i.y)&&(r!0)})),n.intersect&&!r&&(a),a}}},oeH.extend;function se(t,e){return H.where(t,(function(t){return t.pose}))}function le(t,e){return t.sort((function(t,n){var ie?n:t,ae?t:n;return i.weighta.weight?i.index-a.index:i.weight-a.weight}))}function ue(t,e,n,i){return Math.max(tn,en)+Math.max(ti,ei)}function de(t,e,n){var i,a,rn.box,ot.maxPadding;if(n.size&&(tn.pos-n.size),n.sizen.horizontal?r.height:r.width,tn.pos+n.size,r.getPadding){var sr.getPadding();o.topMath.max(o.top,s.top),o.leftMath.max(o.left,s.left),o.bottomMath.max(o.bottom,s.bottom),o.rightMath.max(o.right,s.right)}if(ie.outerWidth-ue(o,t,left,right),ae.outerHeight-ue(o,t,top,bottom),i!t.w||a!t.h){t.wi,t.ha;var ln.horizontal?i,t.w:a,t.h;return!(l0l1||isNaN(l0)&&isNaN(l1))}}function he(t,e){var ne.maxPadding;function i(t){var i{left:0,top:0,right:0,bottom:0};return t.forEach((function(t){itMath.max(et,nt)})),i}return i(t?left,right:top,bottom)}function ce(t,e,n){var i,a,r,o,s,l,u;for(i0,at.length;ia;++i)(o(rti).box).update(r.width||e.w,r.height||e.h,he(r.horizontal,e)),de(e,n,r)&&(l!0,u.length&&(s!0)),o.fullWidth||u.push(r);return s&&ce(u,e,n)||l}function fe(t,e,n){var i,a,r,o,sn.padding,le.x,ue.y;for(i0,at.length;ia;++i)o(rti).box,r.horizontal?(o.lefto.fullWidth?s.left:e.left,o.righto.fullWidth?n.outerWidth-s.right:e.left+e.w,o.topu,o.bottomu+o.height,o.widtho.right-o.left,uo.bottom):(o.leftl,o.rightl+o.width,o.tope.top,o.bottome.top+e.h,o.heighto.bottom-o.top,lo.right);e.xl,e.yu}N._set(global,{layout:{padding:{top:0,right:0,bottom:0,left:0}}});var ge,pe{defaults:{},addBox:function(t,e){t.boxes||(t.boxes),e.fullWidthe.fullWidth||!1,e.positione.position||top,e.weighte.weight||0,e._layerse._layers||function(){return{z:0,draw:function(){e.draw.apply(e,arguments)}}},t.boxes.push(e)},removeBox:function(t,e){var nt.boxes?t.boxes.indexOf(e):-1;-1!n&&t.boxes.splice(n,1)},configure:function(t,e,n){for(var i,afullWidth,position,weight,ra.length,o0;or;++o)iao,n.hasOwnProperty(i)&&(eini)},update:function(t,e,n){if(t){var it.options.layout||{},aH.options.toPadding(i.padding),re-a.width,on-a.height,sfunction(t){var efunction(t){var e,n,i,a;for(e0,n(t||).length;en;++e)ite,a.push({index:e,box:i,pos:i.position,horizontal:i.isHorizontal(),weight:i.weight});return a}(t),nle(se(e,left),!0),ile(se(e,right)),ale(se(e,top),!0),rle(se(e,bottom));return{leftAndTop:n.concat(a),rightAndBottom:i.concat(r),chartArea:se(e,chartArea),vertical:n.concat(i),horizontal:a.concat(r)}}(t.boxes),ls.vertical,us.horizontal,dObject.freeze({outerWidth:e,outerHeight:n,padding:a,availableWidth:r,vBoxMaxWidth:r/2/l.length,hBoxMaxHeight:o/2}),hoe({maxPadding:oe({},a),w:r,h:o,x:a.left,y:a.top},a);!function(t,e){var n,i,a;for(n0,it.length;ni;++n)(atn).widtha.horizontal?a.box.fullWidth&&e.availableWidth:e.vBoxMaxWidth,a.heighta.horizontal&&e.hBoxMaxHeight}(l.concat(u),d),ce(l,h,d),ce(u,h,d)&&ce(l,h,d),function(t){var et.maxPadding;function n(n){var iMath.max(en-tn,0);return tn+i,i}t.y+n(top),t.x+n(left),n(right),n(bottom)}(h),fe(s.leftAndTop,h,d),h.x+h.w,h.y+h.h,fe(s.rightAndBottom,h,d),t.chartArea{left:h.left,top:h.top,right:h.left+h.w,bottom:h.top+h.h},H.each(s.chartArea,(function(e){var ne.box;oe(n,t.chartArea),n.update(h.w,h.h)}))}}},me(geObject.freeze({__proto__:null,default:@keyframes chartjs-render-animation{from{opacity:.99}to{opacity:1}}.chartjs-render-monitor{animation:chartjs-render-animation 1ms}.chartjs-size-monitor,.chartjs-size-monitor-expand,.chartjs-size-monitor-shrink{position:absolute;direction:ltr;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1}.chartjs-size-monitor-expand>div{position:absolute;width:1000000px;height:1000000px;left:0;top:0}.chartjs-size-monitor-shrink>div{position:absolute;width:200%;height:200%;left:0;top:0}}))&&ge.default||ge,ve$chartjs,bechartjs-size-monitor,xechartjs-render-monitor,yechartjs-render-animation,_eanimationstart,webkitAnimationStart,ke{touchstart:mousedown,touchmove:mousemove,touchend:mouseup,pointerenter:mouseenter,pointerdown:mousedown,pointermove:mousemove,pointerup:mouseup,pointerleave:mouseout,pointerout:mouseout};function we(t,e){var nH.getStyle(t,e),in&&n.match(/^(\d+)(\.\d+)?px$/);return i?Number(i1):void 0}var Me!!function(){var t!1;try{var eObject.defineProperty({},passive,{get:function(){t!0}});window.addEventListener(e,null,e)}catch(t){}return t}()&&{passive:!0};function Se(t,e,n){t.addEventListener(e,n,Me)}function Ce(t,e,n){t.removeEventListener(e,n,Me)}function Pe(t,e,n,i,a){return{type:t,chart:e,native:a||null,x:void 0!n?n:null,y:void 0!i?i:null}}function Ae(t){var edocument.createElement(div);return e.classNamet||,e}function De(t,e,n){var i,a,r,o,stve||(tve{}),ls.resizerfunction(t){var eAe(be),nAe(be+-expand),iAe(be+-shrink);n.appendChild(Ae()),i.appendChild(Ae()),e.appendChild(n),e.appendChild(i),e._resetfunction(){n.scrollLeft1e6,n.scrollTop1e6,i.scrollLeft1e6,i.scrollTop1e6};var afunction(){e._reset(),t()};return Se(n,scroll,a.bind(n,expand)),Se(i,scroll,a.bind(i,shrink)),e}((ifunction(){if(s.resizer){var in.options.maintainAspectRatio&&t.parentNode,ai?i.clientWidth:0;e(Pe(resize,n)),i&&i.clientWidtha&&n.canvas&&e(Pe(resize,n))}},r!1,o,function(){oArray.prototype.slice.call(arguments),aa||this,r||(r!0,H.requestAnimFrame.call(window,(function(){r!1,i.apply(a,o)})))}));!function(t,e){var ntve||(tve{}),in.renderProxyfunction(t){t.animationNameye&&e()};H.each(_e,(function(e){Se(t,e,i)})),n.reflow!!t.offsetParent,t.classList.add(xe)}(t,(function(){if(s.resizer){var et.parentNode;e&&e!l.parentNode&&e.insertBefore(l,e.firstChild),l._reset()}}))}function Te(t){var etve||{},ne.resizer;delete e.resizer,function(t){var etve||{},ne.renderProxy;n&&(H.each(_e,(function(e){Ce(t,e,n)})),delete e.renderProxy),t.classList.remove(xe)}(t),n&&n.parentNode&&n.parentNode.removeChild(n)}var Ie{disableCSSInjection:!1,_enabled:undefined!typeof window&&undefined!typeof document,_ensureLoaded:function(t){if(!this.disableCSSInjection){var et.getRootNode?t.getRootNode():document;!function(t,e){var ntve||(tve{});if(!n.containsStyles){n.containsStyles!0,e/* Chart.js */\n+e;var idocument.createElement(style);i.setAttribute(type,text/css),i.appendChild(document.createTextNode(e)),t.appendChild(i)}}(e.host?e:document.head,me)}},acquireContext:function(t,e){stringtypeof t?tdocument.getElementById(t):t.length&&(tt0),t&&t.canvas&&(tt.canvas);var nt&&t.getContext&&t.getContext(2d);return n&&n.canvast?(this._ensureLoaded(t),function(t,e){var nt.style,it.getAttribute(height),at.getAttribute(width);if(tve{initial:{height:i,width:a,style:{display:n.display,height:n.height,width:n.width}}},n.displayn.display||block,nulla||a){var rwe(t,width);void 0!r&&(t.widthr)}if(nulli||i)if(t.style.height)t.heightt.width/(e.options.aspectRatio||2);else{var owe(t,height);void 0!r&&(t.heighto)}}(t,e),n):null},releaseContext:function(t){var et.canvas;if(eve){var neve.initial;height,width.forEach((function(t){var int;H.isNullOrUndef(i)?e.removeAttribute(t):e.setAttribute(t,i)})),H.each(n.style||{},(function(t,n){e.stylent})),e.widthe.width,delete eve}},addEventListener:function(t,e,n){var it.canvas;if(resize!e){var anve||(nve{});Se(i,e,(a.proxies||(a.proxies{}))t.id+_+efunction(e){n(function(t,e){var nket.type||t.type,iH.getRelativePosition(t,e);return Pe(n,e,i.x,i.y,t)}(e,t))})}else De(i,n,t)},removeEventListener:function(t,e,n){var it.canvas;if(resize!e){var a((nve||{}).proxies||{})t.id+_+e;a&&Ce(i,e,a)}else Te(i)}};H.addEventSe,H.removeEventCe;var FeIe._enabled?Ie:{acquireContext:function(t){return t&&t.canvas&&(tt.canvas),t&&t.getContext(2d)||null}},OeH.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},Fe);N._set(global,{plugins:{}});var Le{_plugins:,_cacheId:0,register:function(t){var ethis._plugins;.concat(t).forEach((function(t){-1e.indexOf(t)&&e.push(t)})),this._cacheId++},unregister:function(t){var ethis._plugins;.concat(t).forEach((function(t){var ne.indexOf(t);-1!n&&e.splice(n,1)})),this._cacheId++},clear:function(){this._plugins,this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(t,e,n){var i,a,r,o,s,lthis.descriptors(t),ul.length;for(i0;iu;++i)if(functiontypeof(s(r(ali).plugin)e)&&((ot.concat(n||)).push(a.options),!1s.apply(r,o)))return!1;return!0},descriptors:function(t){var et.$plugins||(t.$plugins{});if(e.idthis._cacheId)return e.descriptors;var n,i,at&&t.config||{},ra.options&&a.options.plugins||{};return this._plugins.concat(a.plugins||).forEach((function(t){if(-1n.indexOf(t)){var et.id,are;!1!a&&(!0a&&(aH.clone(N.global.pluginse)),n.push(t),i.push({plugin:t,options:a||{}}))}})),e.descriptorsi,e.idthis._cacheId,i},_invalidate:function(t){delete t.$plugins}},Re{constructors:{},defaults:{},registerScaleType:function(t,e,n){this.constructorste,this.defaultstH.clone(n)},getScaleConstructor:function(t){return this.constructors.hasOwnProperty(t)?this.constructorst:void 0},getScaleDefaults:function(t){return this.defaults.hasOwnProperty(t)?H.merge(Object.create(null),N.scale,this.defaultst):{}},updateScaleDefaults:function(t,e){this.defaults.hasOwnProperty(t)&&(this.defaultstH.extend(this.defaultst,e))},addScalesToLayout:function(t){H.each(t.scales,(function(e){e.fullWidthe.options.fullWidth,e.positione.options.position,e.weighte.options.weight,pe.addBox(t,e)}))}},zeH.valueOrDefault,NeH.rtl.getRtlAdapter;N._set(global,{tooltips:{enabled:!0,custom:null,mode:nearest,position:average,intersect:!0,backgroundColor:rgba(0,0,0,0.8),titleFontStyle:bold,titleSpacing:2,titleMarginBottom:6,titleFontColor:#fff,titleAlign:left,bodySpacing:2,bodyFontColor:#fff,bodyAlign:left,footerFontStyle:bold,footerSpacing:2,footerMarginTop:6,footerFontColor:#fff,footerAlign:left,yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:#fff,displayColors:!0,borderColor:rgba(0,0,0,0),borderWidth:0,callbacks:{beforeTitle:H.noop,title:function(t,e){var n,ie.labels,ai?i.length:0;if(t.length>0){var rt0;r.label?nr.label:r.xLabel?nr.xLabel:a>0&&r.indexa&&(nir.index)}return n},afterTitle:H.noop,beforeBody:H.noop,beforeLabel:H.noop,label:function(t,e){var ne.datasetst.datasetIndex.label||;return n&&(n+: ),H.isNullOrUndef(t.value)?n+t.yLabel:n+t.value,n},labelColor:function(t,e){var ne.getDatasetMeta(t.datasetIndex).datat.index._view;return{borderColor:n.borderColor,backgroundColor:n.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:H.noop,afterBody:H.noop,beforeFooter:H.noop,footer:H.noop,afterFooter:H.noop}}});var Be{average:function(t){if(!t.length)return!1;var e,n,i0,a0,r0;for(e0,nt.length;en;++e){var ote;if(o&&o.hasValue()){var so.tooltipPosition();i+s.x,a+s.y,++r}}return{x:i/r,y:a/r}},nearest:function(t,e){var n,i,a,re.x,oe.y,sNumber.POSITIVE_INFINITY;for(n0,it.length;ni;++n){var ltn;if(l&&l.hasValue()){var ul.getCenterPoint(),dH.distanceBetweenPoints(e,u);ds&&(sd,al)}}if(a){var ha.tooltipPosition();rh.x,oh.y}return{x:r,y:o}}};function Ee(t,e){return e&&(H.isArray(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function We(t){return(stringtypeof t||t instanceof String)&&t.indexOf(\n)>-1?t.split(\n):t}function Ve(t){var eN.global;return{xPadding:t.xPadding,yPadding:t.yPadding,xAlign:t.xAlign,yAlign:t.yAlign,rtl:t.rtl,textDirection:t.textDirection,bodyFontColor:t.bodyFontColor,_bodyFontFamily:ze(t.bodyFontFamily,e.defaultFontFamily),_bodyFontStyle:ze(t.bodyFontStyle,e.defaultFontStyle),_bodyAlign:t.bodyAlign,bodyFontSize:ze(t.bodyFontSize,e.defaultFontSize),bodySpacing:t.bodySpacing,titleFontColor:t.titleFontColor,_titleFontFamily:ze(t.titleFontFamily,e.defaultFontFamily),_titleFontStyle:ze(t.titleFontStyle,e.defaultFontStyle),titleFontSize:ze(t.titleFontSize,e.defaultFontSize),_titleAlign:t.titleAlign,titleSpacing:t.titleSpacing,titleMarginBottom:t.titleMarginBottom,footerFontColor:t.footerFontColor,_footerFontFamily:ze(t.footerFontFamily,e.defaultFontFamily),_footerFontStyle:ze(t.footerFontStyle,e.defaultFontStyle),footerFontSize:ze(t.footerFontSize,e.defaultFontSize),_footerAlign:t.footerAlign,footerSpacing:t.footerSpacing,footerMarginTop:t.footerMarginTop,caretSize:t.caretSize,cornerRadius:t.cornerRadius,backgroundColor:t.backgroundColor,opacity:0,legendColorBackground:t.multiKeyBackground,displayColors:t.displayColors,borderColor:t.borderColor,borderWidth:t.borderWidth}}function He(t,e){returncentere?t.x+t.width/2:righte?t.x+t.width-t.xPadding:t.x+t.xPadding}function je(t){return Ee(,We(t))}var qeK.extend({initialize:function(){this._modelVe(this._options),this._lastActive},getTitle:function(){var tthis,et._options,ne.callbacks,in.beforeTitle.apply(t,arguments),an.title.apply(t,arguments),rn.afterTitle.apply(t,arguments),o;return oEe(o,We(i)),oEe(o,We(a)),oEe(o,We(r))},getBeforeBody:function(){return je(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(t,e){var nthis,in._options.callbacks,a;return H.each(t,(function(t){var r{before:,lines:,after:};Ee(r.before,We(i.beforeLabel.call(n,t,e))),Ee(r.lines,i.label.call(n,t,e)),Ee(r.after,We(i.afterLabel.call(n,t,e))),a.push(r)})),a},getAfterBody:function(){return je(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var tthis,et._options.callbacks,ne.beforeFooter.apply(t,arguments),ie.footer.apply(t,arguments),ae.afterFooter.apply(t,arguments),r;return rEe(r,We(n)),rEe(r,We(i)),rEe(r,We(a))},update:function(t){var e,n,i,a,r,o,s,l,u,d,hthis,ch._options,fh._model,gh._modelVe(c),ph._active,mh._data,v{xAlign:f.xAlign,yAlign:f.yAlign},b{x:f.x,y:f.y},x{width:f.width,height:f.height},y{x:f.caretX,y:f.caretY};if(p.length){g.opacity1;var _,k;yBec.position.call(h,p,h._eventPosition);var w;for(e0,np.length;en;++e)w.push((ipe,avoid 0,rvoid 0,ovoid 0,svoid 0,lvoid 0,uvoid 0,dvoid 0,ai._xScale,ri._yScale||i._scale,oi._index,si._datasetIndex,li._chart.getDatasetMeta(s).controller,ul._getIndexScale(),dl._getValueScale(),{xLabel:a?a.getLabelForIndex(o,s):,yLabel:r?r.getLabelForIndex(o,s):,label:u?+u.getLabelForIndex(o,s):,value:d?+d.getLabelForIndex(o,s):,index:o,datasetIndex:s,x:i._model.x,y:i._model.y}));c.filter&&(ww.filter((function(t){return c.filter(t,m)}))),c.itemSort&&(ww.sort((function(t,e){return c.itemSort(t,e,m)}))),H.each(w,(function(t){_.push(c.callbacks.labelColor.call(h,t,h._chart)),k.push(c.callbacks.labelTextColor.call(h,t,h._chart))})),g.titleh.getTitle(w,m),g.beforeBodyh.getBeforeBody(w,m),g.bodyh.getBody(w,m),g.afterBodyh.getAfterBody(w,m),g.footerh.getFooter(w,m),g.xy.x,g.yy.y,g.caretPaddingc.caretPadding,g.labelColors_,g.labelTextColorsk,g.dataPointsw,xfunction(t,e){var nt._chart.ctx,i2*e.yPadding,a0,re.body,or.reduce((function(t,e){return t+e.before.length+e.lines.length+e.after.length}),0);o+e.beforeBody.length+e.afterBody.length;var se.title.length,le.footer.length,ue.titleFontSize,de.bodyFontSize,he.footerFontSize;i+s*u,i+s?(s-1)*e.titleSpacing:0,i+s?e.titleMarginBottom:0,i+o*d,i+o?(o-1)*e.bodySpacing:0,i+l?e.footerMarginTop:0,i+l*h,i+l?(l-1)*e.footerSpacing:0;var c0,ffunction(t){aMath.max(a,n.measureText(t).width+c)};return n.fontH.fontString(u,e._titleFontStyle,e._titleFontFamily),H.each(e.title,f),n.fontH.fontString(d,e._bodyFontStyle,e._bodyFontFamily),H.each(e.beforeBody.concat(e.afterBody),f),ce.displayColors?d+2:0,H.each(r,(function(t){H.each(t.before,f),H.each(t.lines,f),H.each(t.after,f)})),c0,n.fontH.fontString(h,e._footerFontStyle,e._footerFontFamily),H.each(e.footer,f),{width:a+2*e.xPadding,height:i}}(this,g),bfunction(t,e,n,i){var at.x,rt.y,ot.caretSize,st.caretPadding,lt.cornerRadius,un.xAlign,dn.yAlign,ho+s,cl+s;returnrightu?a-e.width:centeru&&((a-e.width/2)+e.width>i.width&&(ai.width-e.width),a0&&(a0)),topd?r+h:r-bottomd?e.height+h:e.height/2,centerd?leftu?a+h:rightu&&(a-h):leftu?a-c:rightu&&(a+c),{x:a,y:r}}(g,x,vfunction(t,e){var n,i,a,r,o,st._model,lt._chart,ut._chart.chartArea,dcenter,hcenter;s.ye.height?htop:s.y>l.height-e.height&&(hbottom);var c(u.left+u.right)/2,f(u.top+u.bottom)/2;centerh?(nfunction(t){return tc},ifunction(t){return t>c}):(nfunction(t){return te.width/2},ifunction(t){return t>l.width-e.width/2}),afunction(t){return t+e.width+s.caretSize+s.caretPadding>l.width},rfunction(t){return t-e.width-s.caretSize-s.caretPadding0},ofunction(t){return tf?top:bottom},n(s.x)?(dleft,a(s.x)&&(dcenter,ho(s.y))):i(s.x)&&(dright,r(s.x)&&(dcenter,ho(s.y)));var gt._options;return{xAlign:g.xAlign?g.xAlign:d,yAlign:g.yAlign?g.yAlign:h}}(this,x),h._chart)}else g.opacity0;return g.xAlignv.xAlign,g.yAlignv.yAlign,g.xb.x,g.yb.y,g.widthx.width,g.heightx.height,g.caretXy.x,g.caretYy.y,h._modelg,t&&c.custom&&c.custom.call(h,g),h},drawCaret:function(t,e){var nthis._chart.ctx,ithis._view,athis.getCaretPosition(t,e,i);n.lineTo(a.x1,a.y1),n.lineTo(a.x2,a.y2),n.lineTo(a.x3,a.y3)},getCaretPosition:function(t,e,n){var i,a,r,o,s,l,un.caretSize,dn.cornerRadius,hn.xAlign,cn.yAlign,ft.x,gt.y,pe.width,me.height;if(centerc)sg+m/2,lefth?(a(if)-u,ri,os+u,ls-u):(a(if+p)+u,ri,os-u,ls+u);else if(lefth?(i(af+d+u)-u,ra+u):righth?(i(af+p-d-u)-u,ra+u):(i(an.caretX)-u,ra+u),topc)s(og)-u,lo;else{s(og+m)+u,lo;var vr;ri,iv}return{x1:i,x2:a,x3:r,y1:o,y2:s,y3:l}},drawTitle:function(t,e,n){var i,a,r,oe.title,so.length;if(s){var lNe(e.rtl,e.x,e.width);for(t.xHe(e,e._titleAlign),n.textAlignl.textAlign(e._titleAlign),n.textBaselinemiddle,ie.titleFontSize,ae.titleSpacing,n.fillStylee.titleFontColor,n.fontH.fontString(i,e._titleFontStyle,e._titleFontFamily),r0;rs;++r)n.fillText(or,l.x(t.x),t.y+i/2),t.y+i+a,r+1s&&(t.y+e.titleMarginBottom-a)}},drawBody:function(t,e,n){var i,a,r,o,s,l,u,d,he.bodyFontSize,ce.bodySpacing,fe._bodyAlign,ge.body,pe.displayColors,m0,vp?He(e,left):0,bNe(e.rtl,e.x,e.width),xfunction(e){n.fillText(e,b.x(t.x+m),t.y+h/2),t.y+h+c},yb.textAlign(f);for(n.textAlignf,n.textBaselinemiddle,n.fontH.fontString(h,e._bodyFontStyle,e._bodyFontFamily),t.xHe(e,y),n.fillStylee.bodyFontColor,H.each(e.beforeBody,x),mp&&right!y?centerf?h/2+1:h+2:0,s0,ug.length;su;++s){for(igs,ae.labelTextColorss,re.labelColorss,n.fillStylea,H.each(i.before,x),l0,d(oi.lines).length;ld;++l){if(p){var _b.x(v);n.fillStylee.legendColorBackground,n.fillRect(b.leftForLtr(_,h),t.y,h,h),n.lineWidth1,n.strokeStyler.borderColor,n.strokeRect(b.leftForLtr(_,h),t.y,h,h),n.fillStyler.backgroundColor,n.fillRect(b.leftForLtr(b.xPlus(_,1),h-2),t.y+1,h-2,h-2),n.fillStylea}x(ol)}H.each(i.after,x)}m0,H.each(e.afterBody,x),t.y-c},drawFooter:function(t,e,n){var i,a,re.footer,or.length;if(o){var sNe(e.rtl,e.x,e.width);for(t.xHe(e,e._footerAlign),t.y+e.footerMarginTop,n.textAligns.textAlign(e._footerAlign),n.textBaselinemiddle,ie.footerFontSize,n.fillStylee.footerFontColor,n.fontH.fontString(i,e._footerFontStyle,e._footerFontFamily),a0;ao;++a)n.fillText(ra,s.x(t.x),t.y+i/2),t.y+i+e.footerSpacing}},drawBackground:function(t,e,n,i){n.fillStylee.backgroundColor,n.strokeStylee.borderColor,n.lineWidthe.borderWidth;var ae.xAlign,re.yAlign,ot.x,st.y,li.width,ui.height,de.cornerRadius;n.beginPath(),n.moveTo(o+d,s),topr&&this.drawCaret(t,i),n.lineTo(o+l-d,s),n.quadraticCurveTo(o+l,s,o+l,s+d),centerr&&righta&&this.drawCaret(t,i),n.lineTo(o+l,s+u-d),n.quadraticCurveTo(o+l,s+u,o+l-d,s+u),bottomr&&this.drawCaret(t,i),n.lineTo(o+d,s+u),n.quadraticCurveTo(o,s+u,o,s+u-d),centerr&&lefta&&this.drawCaret(t,i),n.lineTo(o,s+d),n.quadraticCurveTo(o,s,o+d,s),n.closePath(),n.fill(),e.borderWidth>0&&n.stroke()},draw:function(){var tthis._chart.ctx,ethis._view;if(0!e.opacity){var n{width:e.width,height:e.height},i{x:e.x,y:e.y},aMath.abs(e.opacity.001)?0:e.opacity,re.title.length||e.beforeBody.length||e.body.length||e.afterBody.length||e.footer.length;this._options.enabled&&r&&(t.save(),t.globalAlphaa,this.drawBackground(i,e,t,n),i.y+e.yPadding,H.rtl.overrideTextDirection(t,e.textDirection),this.drawTitle(i,e,t),this.drawBody(i,e,t),this.drawFooter(i,e,t),H.rtl.restoreTextDirection(t,e.textDirection),t.restore())}},handleEvent:function(t){var e,nthis,in._options;return n._lastActiven._lastActive||,mouseoutt.type?n._active:(n._activen._chart.getElementsAtEventForMode(t,i.mode,i),i.reverse&&n._active.reverse()),(e!H.arrayEquals(n._active,n._lastActive))&&(n._lastActiven._active,(i.enabled||i.custom)&&(n._eventPosition{x:t.x,y:t.y},n.update(!0),n.pivot())),e}}),UeBe,Yeqe;Ye.positionersUe;var GeH.valueOrDefault;function Xe(){return H.merge(Object.create(null),.slice.call(arguments),{merger:function(t,e,n,i){if(xAxest||yAxest){var a,r,o,snt.length;for(et||(et),a0;as;++a)onta,rGe(o.type,xAxest?category:linear),a>et.length&&et.push({}),!eta.type||o.type&&o.type!eta.type?H.merge(eta,Re.getScaleDefaults(r),o):H.merge(eta,o)}else H._merger(t,e,n,i)}})}function Ke(){return H.merge(Object.create(null),.slice.call(arguments),{merger:function(t,e,n,i){var aet||Object.create(null),rnt;scalest?etXe(a,r):scalet?etH.merge(a,Re.getScaleDefaults(r.type),r):H._merger(t,e,n,i)}})}function Ze(t){var et.options;H.each(t.scales,(function(e){pe.removeBox(t,e)})),eKe(N.global,Nt.config.type,e),t.optionst.config.optionse,t.ensureScalesHaveIDs(),t.buildOrUpdateScales(),t.tooltip._optionse.tooltips,t.tooltip.initialize()}function $e(t,e,n){var i,afunction(t){return t.idi};do{ie+n++}while(H.findIndex(t,a)>0);return i}function Je(t){returntopt||bottomt}function Qe(t,e){return function(n,i){return ntit?ne-ie:nt-it}}N._set(global,{elements:{},events:mousemove,mouseout,click,touchstart,touchmove,hover:{onHover:null,mode:nearest,intersect:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive:!0,responsiveAnimationDuration:0});var tnfunction(t,e){return this.construct(t,e),this};H.extend(tn.prototype,{construct:function(t,e){var nthis;efunction(t){var e(tt||Object.create(null)).datat.data||{};return e.datasetse.datasets||,e.labelse.labels||,t.optionsKe(N.global,Nt.type,t.options||{}),t}(e);var iOe.acquireContext(t,e),ai&&i.canvas,ra&&a.height,oa&&a.width;n.idH.uid(),n.ctxi,n.canvasa,n.confige,n.widtho,n.heightr,n.aspectRatior?o/r:null,n.optionse.options,n._bufferedRender!1,n._layers,n.chartn,n.controllern,tn.instancesn.idn,Object.defineProperty(n,data,{get:function(){return n.config.data},set:function(t){n.config.datat}}),i&&a?(n.initialize(),n.update()):console.error(Failed to create chart: cant acquire context from the given item)},initialize:function(){var tthis;return Le.notify(t,beforeInit),H.retinaScale(t,t.options.devicePixelRatio),t.bindEvents(),t.options.responsive&&t.resize(!0),t.initToolTip(),Le.notify(t,afterInit),t},clear:function(){return H.canvas.clear(this),this},stop:function(){return J.cancelAnimation(this),this},resize:function(t){var ethis,ne.options,ie.canvas,an.maintainAspectRatio&&e.aspectRatio||null,rMath.max(0,Math.floor(H.getMaximumWidth(i))),oMath.max(0,Math.floor(a?r/a:H.getMaximumHeight(i)));if((e.width!r||e.height!o)&&(i.widthe.widthr,i.heighte.heighto,i.style.widthr+px,i.style.heighto+px,H.retinaScale(e,n.devicePixelRatio),!t)){var s{width:r,height:o};Le.notify(e,resize,s),n.onResize&&n.onResize(e,s),e.stop(),e.update({duration:n.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var tthis.options,et.scales||{},nt.scale;H.each(e.xAxes,(function(t,n){t.id||(t.id$e(e.xAxes,x-axis-,n))})),H.each(e.yAxes,(function(t,n){t.id||(t.id$e(e.yAxes,y-axis-,n))})),n&&(n.idn.id||scale)},buildOrUpdateScales:function(){var tthis,et.options,nt.scales||{},i,aObject.keys(n).reduce((function(t,e){return te!1,t}),{});e.scales&&(ii.concat((e.scales.xAxes||).map((function(t){return{options:t,dtype:category,dposition:bottom}})),(e.scales.yAxes||).map((function(t){return{options:t,dtype:linear,dposition:left}})))),e.scale&&i.push({options:e.scale,dtype:radialLinear,isDefault:!0,dposition:chartArea}),H.each(i,(function(e){var ie.options,ri.id,oGe(i.type,e.dtype);Je(i.position)!Je(e.dposition)&&(i.positione.dposition),ar!0;var snull;if(r in n&&nr.typeo)(snr).optionsi,s.ctxt.ctx,s.chartt;else{var lRe.getScaleConstructor(o);if(!l)return;snew l({id:r,type:o,options:i,ctx:t.ctx,chart:t}),ns.ids}s.mergeTicksOptions(),e.isDefault&&(t.scales)})),H.each(a,(function(t,e){t||delete ne})),t.scalesn,Re.addScalesToLayout(this)},buildOrUpdateControllers:function(){var t,e,nthis,i,an.data.datasets;for(t0,ea.length;te;t++){var rat,on.getDatasetMeta(t),sr.type||n.config.type;if(o.type&&o.type!s&&(n.destroyDatasetMeta(t),on.getDatasetMeta(t)),o.types,o.orderr.order||0,o.indext,o.controller)o.controller.updateIndex(t),o.controller.linkScales();else{var lJto.type;if(void 0l)throw new Error(+o.type+ is not a chart type.);o.controllernew l(n,t),i.push(o.controller)}}return i},resetElements:function(){var tthis;H.each(t.data.datasets,(function(e,n){t.getDatasetMeta(n).controller.reset()}),t)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(t){var e,n,ithis;if(t&&objecttypeof t||(t{duration:t,lazy:arguments1}),Ze(i),Le._invalidate(i),!1!Le.notify(i,beforeUpdate)){i.tooltip._datai.data;var ai.buildOrUpdateControllers();for(e0,ni.data.datasets.length;en;e++)i.getDatasetMeta(e).controller.buildOrUpdateElements();i.updateLayout(),i.options.animation&&i.options.animation.duration&&H.each(a,(function(t){t.reset()})),i.updateDatasets(),i.tooltip.initialize(),i.lastActive,Le.notify(i,afterUpdate),i._layers.sort(Qe(z,_idx)),i._bufferedRender?i._bufferedRequest{duration:t.duration,easing:t.easing,lazy:t.lazy}:i.render(t)}},updateLayout:function(){var tthis;!1!Le.notify(t,beforeLayout)&&(pe.update(this,this.width,this.height),t._layers,H.each(t.boxes,(function(e){e._configure&&e._configure(),t._layers.push.apply(t._layers,e._layers())}),t),t._layers.forEach((function(t,e){t._idxe})),Le.notify(t,afterScaleUpdate),Le.notify(t,afterLayout))},updateDatasets:function(){if(!1!Le.notify(this,beforeDatasetsUpdate)){for(var t0,ethis.data.datasets.length;te;++t)this.updateDataset(t);Le.notify(this,afterDatasetsUpdate)}},updateDataset:function(t){var ethis.getDatasetMeta(t),n{meta:e,index:t};!1!Le.notify(this,beforeDatasetUpdate,n)&&(e.controller._update(),Le.notify(this,afterDatasetUpdate,n))},render:function(t){var ethis;t&&objecttypeof t||(t{duration:t,lazy:arguments1});var ne.options.animation,iGe(t.duration,n&&n.duration),at.lazy;if(!1!Le.notify(e,beforeRender)){var rfunction(t){Le.notify(e,afterRender),H.callback(n&&n.onComplete,t,e)};if(n&&i){var onew $({numSteps:i/16.66,easing:t.easing||n.easing,render:function(t,e){var nH.easing.effectse.easing,ie.currentStep,ai/e.numSteps;t.draw(n(a),a,i)},onAnimationProgress:n.onProgress,onAnimationComplete:r});J.addAnimation(e,o,i,a)}else e.draw(),r(new $({numSteps:0,chart:e}));return e}},draw:function(t){var e,n,ithis;if(i.clear(),H.isNullOrUndef(t)&&(t1),i.transition(t),!(i.width0||i.height0)&&!1!Le.notify(i,beforeDraw,t)){for(ni._layers,e0;en.length&&ne.z0;++e)ne.draw(i.chartArea);for(i.drawDatasets(t);en.length;++e)ne.draw(i.chartArea);i._drawTooltip(t),Le.notify(i,afterDraw,t)}},transition:function(t){for(var e0,n(this.data.datasets||).length;en;++e)this.isDatasetVisible(e)&&this.getDatasetMeta(e).controller.transition(t);this.tooltip.transition(t)},_getSortedDatasetMetas:function(t){var e,n,i;for(e0,n(this.data.datasets||).length;en;++e)t&&!this.isDatasetVisible(e)||i.push(this.getDatasetMeta(e));return i.sort(Qe(order,index)),i},_getSortedVisibleDatasetMetas:function(){return this._getSortedDatasetMetas(!0)},drawDatasets:function(t){var e,n;if(!1!Le.notify(this,beforeDatasetsDraw,t)){for(n(ethis._getSortedVisibleDatasetMetas()).length-1;n>0;--n)this.drawDataset(en,t);Le.notify(this,afterDatasetsDraw,t)}},drawDataset:function(t,e){var n{meta:t,index:t.index,easingValue:e};!1!Le.notify(this,beforeDatasetDraw,n)&&(t.controller.draw(e),Le.notify(this,afterDatasetDraw,n))},_drawTooltip:function(t){var ethis.tooltip,n{tooltip:e,easingValue:t};!1!Le.notify(this,beforeTooltipDraw,n)&&(e.draw(),Le.notify(this,afterTooltipDraw,n))},getElementAtEvent:function(t){return re.modes.single(this,t)},getElementsAtEvent:function(t){return re.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return re.modesx-axis(this,t,{intersect:!0})},getElementsAtEventForMode:function(t,e,n){var ire.modese;returnfunctiontypeof i?i(this,t,n):},getDatasetAtEvent:function(t){return re.modes.dataset(this,t,{intersect:!0})},getDatasetMeta:function(t){var ethis.data.datasetst;e._meta||(e._meta{});var ne._metathis.id;return n||(ne._metathis.id{type:null,data:,dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e.order||0,index:t}),n},getVisibleDatasetCount:function(){for(var t0,e0,nthis.data.datasets.length;en;++e)this.isDatasetVisible(e)&&t++;return t},isDatasetVisible:function(t){var ethis.getDatasetMeta(t);returnbooleantypeof e.hidden?!e.hidden:!this.data.datasetst.hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(t){var ethis.id,nthis.data.datasetst,in._meta&&n._metae;i&&(i.controller.destroy(),delete n._metae)},destroy:function(){var t,e,nthis,in.canvas;for(n.stop(),t0,en.data.datasets.length;te;++t)n.destroyDatasetMeta(t);i&&(n.unbindEvents(),H.canvas.clear(n),Oe.releaseContext(n.ctx),n.canvasnull,n.ctxnull),Le.notify(n,destroy),delete tn.instancesn.id},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var tthis;t.tooltipnew Ye({_chart:t,_chartInstance:t,_data:t.data,_options:t.options.tooltips},t)},bindEvents:function(){var tthis,et._listeners{},nfunction(){t.eventHandler.apply(t,arguments)};H.each(t.options.events,(function(i){Oe.addEventListener(t,i,n),ein})),t.options.responsive&&(nfunction(){t.resize()},Oe.addEventListener(t,resize,n),e.resizen)},unbindEvents:function(){var tthis,et._listeners;e&&(delete t._listeners,H.each(e,(function(e,n){Oe.removeEventListener(t,n,e)})))},updateHoverStyle:function(t,e,n){var i,a,r,on?set:remove;for(a0,rt.length;ar;++a)(ita)&&this.getDatasetMeta(i._datasetIndex).controllero+HoverStyle(i);datasete&&this.getDatasetMeta(t0._datasetIndex).controller_+o+DatasetHoverStyle()},eventHandler:function(t){var ethis,ne.tooltip;if(!1!Le.notify(e,beforeEvent,t)){e._bufferedRender!0,e._bufferedRequestnull;var ie.handleEvent(t);n&&(in._start?n.handleEvent(t):i|n.handleEvent(t)),Le.notify(e,afterEvent,t);var ae._bufferedRequest;return a?e.render(a):i&&!e.animating&&(e.stop(),e.render({duration:e.options.hover.animationDuration,lazy:!0})),e._bufferedRender!1,e._bufferedRequestnull,e}},handleEvent:function(t){var e,nthis,in.options||{},ai.hover;return n.lastActiven.lastActive||,mouseoutt.type?n.active:n.activen.getElementsAtEventForMode(t,a.mode,a),H.callback(i.onHover||i.hover.onHover,t.native,n.active,n),mouseup!t.type&&click!t.type||i.onClick&&i.onClick.call(n,t.native,n.active),n.lastActive.length&&n.updateHoverStyle(n.lastActive,a.mode,!1),n.active.length&&a.mode&&n.updateHoverStyle(n.active,a.mode,!0),e!H.arrayEquals(n.active,n.lastActive),n.lastActiven.active,e}}),tn.instances{};var entn;tn.Controllertn,tn.types{},H.configMergeKe,H.scaleMergeXe;function nn(){throw new Error(This method is not implemented: either no adapter can be found or an incomplete integration was provided.)}function an(t){this.optionst||{}}H.extend(an.prototype,{formats:nn,parse:nn,format:nn,add:nn,diff:nn,startOf:nn,endOf:nn,_create:function(t){return t}}),an.overridefunction(t){H.extend(an.prototype,t)};var rn{_date:an},on{formatters:{values:function(t){return H.isArray(t)?t:+t},linear:function(t,e,n){var in.length>3?n2-n1:n1-n0;Math.abs(i)>1&&t!Math.floor(t)&&(it-Math.floor(t));var aH.log10(Math.abs(i)),r;if(0!t)if(Math.max(Math.abs(n0),Math.abs(nn.length-1))1e-4){var oH.log10(Math.abs(t)),sMath.floor(o)-Math.floor(a);sMath.max(Math.min(s,20),0),rt.toExponential(s)}else{var l-1*Math.floor(a);lMath.max(Math.min(l,20),0),rt.toFixed(l)}else r0;return r},logarithmic:function(t,e,n){var it/Math.pow(10,Math.floor(H.log10(t)));return 0t?0:1i||2i||5i||0e||en.length-1?t.toExponential():}}},snH.isArray,lnH.isNullOrUndef,unH.valueOrDefault,dnH.valueAtIndexOrDefault;function hn(t,e,n){var i,at.getTicks().length,rMath.min(e,a-1),ot.getPixelForTick(r),st._startPixel,lt._endPixel;if(!(n&&(i1a?Math.max(o-s,l-o):0e?(t.getPixelForTick(1)-o)/2:(o-t.getPixelForTick(r-1))/2,(o+re?i:-i)s-1e-6||o>l+1e-6)))return o}function cn(t,e,n,i){var a,r,o,s,l,u,d,h,c,f,g,p,m,vn.length,b,x,y,_0,k0;for(a0;av;++a){if(sna.label,lna.major?e.major:e.minor,t.fontul.string,diuiu||{data:{},gc:},hl.lineHeight,cf0,ln(s)||sn(s)){if(sn(s))for(r0,os.length;ro;++r)gsr,ln(g)||sn(g)||(cH.measureText(t,d.data,d.gc,c,g),f+h)}else cH.measureText(t,d.data,d.gc,c,s),fh;b.push(c),x.push(f),y.push(h/2),_Math.max(c,_),kMath.max(f,k)}function w(t){return{width:bt||0,height:xt||0,offset:yt||0}}return function(t,e){H.each(t,(function(t){var n,it.gc,ai.length/2;if(a>e){for(n0;na;++n)delete t.datain;i.splice(0,a)}}))}(i,v),pb.indexOf(_),mx.indexOf(k),{first:w(0),last:w(v-1),widest:w(p),highest:w(m)}}function fn(t){return t.drawTicks?t.tickMarkLength:0}function gn(t){var e,n;return t.display?(eH.options._parseFont(t),nH.options.toPadding(t.padding),e.lineHeight+n.height):0}function pn(t,e){return H.extend(H.options._parseFont({fontFamily:un(e.fontFamily,t.fontFamily),fontSize:un(e.fontSize,t.fontSize),fontStyle:un(e.fontStyle,t.fontStyle),lineHeight:un(e.lineHeight,t.lineHeight)}),{color:H.options.resolve(e.fontColor,t.fontColor,N.global.defaultFontColor)})}function mn(t){var epn(t,t.minor);return{minor:e,major:t.major.enabled?pn(t,t.major):e}}function vn(t){var e,n,i,a;for(n0,it.length;ni;++n)void 0!(etn)._index&&a.push(e);return a}function bn(t,e,n,i){var a,r,o,s,lun(n,0),uMath.min(un(i,t.length),t.length),d0;for(eMath.ceil(e),i&&(e(ai-n)/Math.floor(a/e)),sl;s0;)d++,sMath.round(l+d*e);for(rMath.max(l,0);ru;r++)otr,rs?(o._indexr,d++,sMath.round(l+d*e)):delete o.label}N._set(scale,{display:!0,position:left,offset:!1,gridLines:{display:!0,color:rgba(0,0,0,0.1),lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:rgba(0,0,0,0.25),zeroLineBorderDash:,zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:,borderDashOffset:0},scaleLabel:{display:!1,labelString:,padding:{top:4,bottom:4}},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:on.formatters.values,minor:{},major:{}}});var xnK.extend({zeroLineIndex:0,getPadding:function(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}},getTicks:function(){return this._ticks},_getLabels:function(){var tthis.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||},mergeTicksOptions:function(){},beforeUpdate:function(){H.callback(this.options.beforeUpdate,this)},update:function(t,e,n){var i,a,r,o,s,lthis,ul.options.ticks,du.sampleSize;if(l.beforeUpdate(),l.maxWidtht,l.maxHeighte,l.marginsH.extend({left:0,right:0,top:0,bottom:0},n),l._ticksnull,l.ticksnull,l._labelSizesnull,l._maxLabelLines0,l.longestLabelWidth0,l.longestTextCachel.longestTextCache||{},l._gridLineItemsnull,l._labelItemsnull,l.beforeSetDimensions(),l.setDimensions(),l.afterSetDimensions(),l.beforeDataLimits(),l.determineDataLimits(),l.afterDataLimits(),l.beforeBuildTicks(),ol.buildTicks()||,(!(ol.afterBuildTicks(o)||o)||!o.length)&&l.ticks)for(o,i0,al.ticks.length;ia;++i)o.push({value:l.ticksi,major:!1});return l._tickso,sdo.length,rl._convertTicksToLabels(s?function(t,e){for(var n,it.length/e,a0,rt.length;ar;a+i)n.push(tMath.floor(a));return n}(o,d):o),l._configure(),l.beforeCalculateTickRotation(),l.calculateTickRotation(),l.afterCalculateTickRotation(),l.beforeFit(),l.fit(),l.afterFit(),l._ticksToDrawu.display&&(u.autoSkip||autou.source)?l._autoSkip(o):o,s&&(rl._convertTicksToLabels(l._ticksToDraw)),l.ticksr,l.afterUpdate(),l.minSize},_configure:function(){var t,e,nthis,in.options.ticks.reverse;n.isHorizontal()?(tn.left,en.right):(tn.top,en.bottom,i!i),n._startPixelt,n._endPixele,n._reversePixelsi,n._lengthe-t},afterUpdate:function(){H.callback(this.options.afterUpdate,this)},beforeSetDimensions:function(){H.callback(this.options.beforeSetDimensions,this)},setDimensions:function(){var tthis;t.isHorizontal()?(t.widtht.maxWidth,t.left0,t.rightt.width):(t.heightt.maxHeight,t.top0,t.bottomt.height),t.paddingLeft0,t.paddingTop0,t.paddingRight0,t.paddingBottom0},afterSetDimensions:function(){H.callback(this.options.afterSetDimensions,this)},beforeDataLimits:function(){H.callback(this.options.beforeDataLimits,this)},determineDataLimits:H.noop,afterDataLimits:function(){H.callback(this.options.afterDataLimits,this)},beforeBuildTicks:function(){H.callback(this.options.beforeBuildTicks,this)},buildTicks:H.noop,afterBuildTicks:function(t){var ethis;return sn(t)&&t.length?H.callback(e.options.afterBuildTicks,e,t):(e.ticksH.callback(e.options.afterBuildTicks,e,e.ticks)||e.ticks,t)},beforeTickToLabelConversion:function(){H.callback(this.options.beforeTickToLabelConversion,this)},convertTicksToLabels:function(){var tthis.options.ticks;this.ticksthis.ticks.map(t.userCallback||t.callback,this)},afterTickToLabelConversion:function(){H.callback(this.options.afterTickToLabelConversion,this)},beforeCalculateTickRotation:function(){H.callback(this.options.beforeCalculateTickRotation,this)},calculateTickRotation:function(){var t,e,n,i,a,r,o,sthis,ls.options,ul.ticks,ds.getTicks().length,hu.minRotation||0,cu.maxRotation,fh;!s._isVisible()||!u.display||h>c||d1||!s.isHorizontal()?s.labelRotationh:(e(ts._getLabelSizes()).widest.width,nt.highest.height-t.highest.offset,iMath.min(s.maxWidth,s.chart.width-e),e+6>(al.offset?s.maxWidth/d:i/(d-1))&&(ai/(d-(l.offset?.5:1)),rs.maxHeight-fn(l.gridLines)-u.padding-gn(l.scaleLabel),oMath.sqrt(e*e+n*n),fH.toDegrees(Math.min(Math.asin(Math.min((t.highest.height+6)/a,1)),Math.asin(Math.min(r/o,1))-Math.asin(n/o))),fMath.max(h,Math.min(c,f))),s.labelRotationf)},afterCalculateTickRotation:function(){H.callback(this.options.afterCalculateTickRotation,this)},beforeFit:function(){H.callback(this.options.beforeFit,this)},fit:function(){var tthis,et.minSize{width:0,height:0},nt.chart,it.options,ai.ticks,ri.scaleLabel,oi.gridLines,st._isVisible(),lbottomi.position,ut.isHorizontal();if(u?e.widtht.maxWidth:s&&(e.widthfn(o)+gn(r)),u?s&&(e.heightfn(o)+gn(r)):e.heightt.maxHeight,a.display&&s){var dmn(a),ht._getLabelSizes(),ch.first,fh.last,gh.widest,ph.highest,m.4*d.minor.lineHeight,va.padding;if(u){var b0!t.labelRotation,xH.toRadians(t.labelRotation),yMath.cos(x),_Math.sin(x),k_*g.width+y*(p.height-(b?p.offset:0))+(b?0:m);e.heightMath.min(t.maxHeight,e.height+k+v);var w,M,St.getPixelForTick(0)-t.left,Ct.right-t.getPixelForTick(t.getTicks().length-1);b?(wl?y*c.width+_*c.offset:_*(c.height-c.offset),Ml?_*(f.height-f.offset):y*f.width+_*f.offset):(wc.width/2,Mf.width/2),t.paddingLeftMath.max((w-S)*t.width/(t.width-S),0)+3,t.paddingRightMath.max((M-C)*t.width/(t.width-C),0)+3}else{var Pa.mirror?0:g.width+v+m;e.widthMath.min(t.maxWidth,e.width+P),t.paddingTopc.height/2,t.paddingBottomf.height/2}}t.handleMargins(),u?(t.widtht._lengthn.width-t.margins.left-t.margins.right,t.heighte.height):(t.widthe.width,t.heightt._lengthn.height-t.margins.top-t.margins.bottom)},handleMargins:function(){var tthis;t.margins&&(t.margins.leftMath.max(t.paddingLeft,t.margins.left),t.margins.topMath.max(t.paddingTop,t.margins.top),t.margins.rightMath.max(t.paddingRight,t.margins.right),t.margins.bottomMath.max(t.paddingBottom,t.margins.bottom))},afterFit:function(){H.callback(this.options.afterFit,this)},isHorizontal:function(){var tthis.options.position;returntopt||bottomt},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(t){if(ln(t))return NaN;if((numbertypeof t||t instanceof Number)&&!isFinite(t))return NaN;if(t)if(this.isHorizontal()){if(void 0!t.x)return this.getRightValue(t.x)}else if(void 0!t.y)return this.getRightValue(t.y);return t},_convertTicksToLabels:function(t){var e,n,i,athis;for(a.tickst.map((function(t){return t.value})),a.beforeTickToLabelConversion(),ea.convertTicksToLabels(t)||a.ticks,a.afterTickToLabelConversion(),n0,it.length;ni;++n)tn.labelen;return e},_getLabelSizes:function(){var tthis,et._labelSizes;return e||(t._labelSizesecn(t.ctx,mn(t.options.ticks),t.getTicks(),t.longestTextCache),t.longestLabelWidthe.widest.width),e},_parseValue:function(t){var e,n,i,a;return sn(t)?(e+this.getRightValue(t0),n+this.getRightValue(t1),iMath.min(e,n),aMath.max(e,n)):(evoid 0,nt+this.getRightValue(t),it,at),{min:i,max:a,start:e,end:n}},_getScaleLabel:function(t){var ethis._parseValue(t);return void 0!e.start?+e.start+, +e.end+:+this.getRightValue(t)},getLabelForIndex:H.noop,getPixelForValue:H.noop,getValueForPixel:H.noop,getPixelForTick:function(t){var ethis.options.offset,nthis._ticks.length,i1/Math.max(n-(e?0:1),1);return t0||t>n-1?null:this.getPixelForDecimal(t*i+(e?i/2:0))},getPixelForDecimal:function(t){return this._reversePixels&&(t1-t),this._startPixel+t*this._length},getDecimalForPixel:function(t){var e(t-this._startPixel)/this._length;return this._reversePixels?1-e:e},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var tthis.min,ethis.max;return this.beginAtZero?0:t0&&e0?e:t>0&&e>0?t:0},_autoSkip:function(t){var e,n,i,a,rthis.options.ticks,othis._length,sr.maxTicksLimit||o/this._tickSize()+1,lr.major.enabled?function(t){var e,n,i;for(e0,nt.length;en;e++)te.major&&i.push(e);return i}(t):,ul.length,dl0,hlu-1;if(u>s)return function(t,e,n){var i,a,r0,oe0;for(nMath.ceil(n),i0;it.length;i++)ati,io?(a._indexi,oe++r*n):delete a.label}(t,l,u/s),vn(t);if(ifunction(t,e,n,i){var a,r,o,s,lfunction(t){var e,n,it.length;if(i2)return!1;for(nt0,e1;ei;++e)if(te-te-1!n)return!1;return n}(t),u(e.length-1)/i;if(!l)return Math.max(u,1);for(o0,s(aH.math._factorize(l)).length-1;os;o++)if((rao)>u)return r;return Math.max(u,1)}(l,t,0,s),u>0){for(e0,nu-1;en;e++)bn(t,i,le,le+1);return au>1?(h-d)/(u-1):null,bn(t,i,H.isNullOrUndef(a)?0:d-a,d),bn(t,i,h,H.isNullOrUndef(a)?t.length:h+a),vn(t)}return bn(t,i),vn(t)},_tickSize:function(){var tthis.options.ticks,eH.toRadians(this.labelRotation),nMath.abs(Math.cos(e)),iMath.abs(Math.sin(e)),athis._getLabelSizes(),rt.autoSkipPadding||0,oa?a.widest.width+r:0,sa?a.highest.height+r:0;return this.isHorizontal()?s*n>o*i?o/n:s/i:s*io*n?s/n:o/i},_isVisible:function(){var t,e,n,ithis.chart,athis.options.display;if(auto!a)return!!a;for(t0,ei.data.datasets.length;te;++t)if(i.isDatasetVisible(t)&&((ni.getDatasetMeta(t)).xAxisIDthis.id||n.yAxisIDthis.id))return!0;return!1},_computeGridLineItems:function(t){var e,n,i,a,r,o,s,l,u,d,h,c,f,g,p,m,v,bthis,xb.chart,yb.options,_y.gridLines,ky.position,w_.offsetGridLines,Mb.isHorizontal(),Sb._ticksToDraw,CS.length+(w?1:0),Pfn(_),A,D_.drawBorder?dn(_.lineWidth,0,0):0,TD/2,IH._alignPixel,Ffunction(t){return I(x,t,D)};for(topk?(eF(b.bottom),sb.bottom-P,ue-T,hF(t.top)+T,ft.bottom):bottomk?(eF(b.top),ht.top,fF(t.bottom)-T,se+T,ub.top+P):leftk?(eF(b.right),ob.right-P,le-T,dF(t.left)+T,ct.right):(eF(b.left),dt.left,cF(t.right)-T,oe+T,lb.left+P),n0;nC;++n)iSn||{},ln(i.label)&&nS.length||(nb.zeroLineIndex&&y.offsetw?(g_.zeroLineWidth,p_.zeroLineColor,m_.zeroLineBorderDash||,v_.zeroLineBorderDashOffset||0):(gdn(_.lineWidth,n,1),pdn(_.color,n,rgba(0,0,0,0.1)),m_.borderDash||,v_.borderDashOffset||0),void 0!(ahn(b,i._index||n,w))&&(rI(x,a,g),M?oldcr:suhfr,A.push({tx1:o,ty1:s,tx2:l,ty2:u,x1:d,y1:h,x2:c,y2:f,width:g,color:p,borderDash:m,borderDashOffset:v})));return A.ticksLengthC,A.borderValuee,A},_computeLabelItems:function(){var t,e,n,i,a,r,o,s,l,u,d,h,cthis,fc.options,gf.ticks,pf.position,mg.mirror,vc.isHorizontal(),bc._ticksToDraw,xmn(g),yg.padding,_fn(f.gridLines),k-H.toRadians(c.labelRotation),w;for(topp?(rc.bottom-_-y,ok?left:center):bottomp?(rc.top+_+y,ok?right:center):leftp?(ac.right-(m?0:_)-y,om?left:right):(ac.left+(m?0:_)+y,om?right:left),t0,eb.length;te;++t)i(nbt).label,ln(i)||(sc.getPixelForTick(n._index||t)+g.labelOffset,u(ln.major?x.major:x.minor).lineHeight,dsn(i)?i.length:1,v?(as,htopp?((k?1:.5)-d)*u:(k?0:.5)*u):(rs,h(1-d)*u/2),w.push({x:a,y:r,rotation:k,label:i,font:l,textOffset:h,textAlign:o}));return w},_drawGrid:function(t){var ethis,ne.options.gridLines;if(n.display){var i,a,r,o,s,le.ctx,ue.chart,dH._alignPixel,hn.drawBorder?dn(n.lineWidth,0,0):0,ce._gridLineItems||(e._gridLineItemse._computeGridLineItems(t));for(r0,oc.length;ro;++r)i(scr).width,as.color,i&&a&&(l.save(),l.lineWidthi,l.strokeStylea,l.setLineDash&&(l.setLineDash(s.borderDash),l.lineDashOffsets.borderDashOffset),l.beginPath(),n.drawTicks&&(l.moveTo(s.tx1,s.ty1),l.lineTo(s.tx2,s.ty2)),n.drawOnChartArea&&(l.moveTo(s.x1,s.y1),l.lineTo(s.x2,s.y2)),l.stroke(),l.restore());if(h){var f,g,p,m,vh,bdn(n.lineWidth,c.ticksLength-1,1),xc.borderValue;e.isHorizontal()?(fd(u,e.left,v)-v/2,gd(u,e.right,b)+b/2,pmx):(pd(u,e.top,v)-v/2,md(u,e.bottom,b)+b/2,fgx),l.lineWidthh,l.strokeStyledn(n.color,0),l.beginPath(),l.moveTo(f,p),l.lineTo(g,m),l.stroke()}}},_drawLabels:function(){var tthis;if(t.options.ticks.display){var e,n,i,a,r,o,s,l,ut.ctx,dt._labelItems||(t._labelItemst._computeLabelItems());for(e0,id.length;ei;++e){if(o(rde).font,u.save(),u.translate(r.x,r.y),u.rotate(r.rotation),u.fonto.string,u.fillStyleo.color,u.textBaselinemiddle,u.textAlignr.textAlign,sr.label,lr.textOffset,sn(s))for(n0,as.length;na;++n)u.fillText(+sn,0,l),l+o.lineHeight;else u.fillText(s,0,l);u.restore()}}},_drawTitle:function(){var tthis,et.ctx,nt.options,in.scaleLabel;if(i.display){var a,r,oun(i.fontColor,N.global.defaultFontColor),sH.options._parseFont(i),lH.options.toPadding(i.padding),us.lineHeight/2,dn.position,h0;if(t.isHorizontal())at.left+t.width/2,rbottomd?t.bottom-u-l.bottom:t.top+u+l.top;else{var cleftd;ac?t.left+u+l.top:t.right-u-l.top,rt.top+t.height/2,hc?-.5*Math.PI:.5*Math.PI}e.save(),e.translate(a,r),e.rotate(h),e.textAligncenter,e.textBaselinemiddle,e.fillStyleo,e.fonts.string,e.fillText(i.labelString,0,0),e.restore()}},draw:function(t){this._isVisible()&&(this._drawGrid(t),this._drawTitle(),this._drawLabels())},_layers:function(){var tthis,et.options,ne.ticks&&e.ticks.z||0,ie.gridLines&&e.gridLines.z||0;return t._isVisible()&&n!i&&t.drawt._draw?{z:i,draw:function(){t._drawGrid.apply(t,arguments),t._drawTitle.apply(t,arguments)}},{z:n,draw:function(){t._drawLabels.apply(t,arguments)}}:{z:n,draw:function(){t.draw.apply(t,arguments)}}},_getMatchingVisibleMetas:function(t){var ethis,ne.isHorizontal();return e.chart._getSortedVisibleDatasetMetas().filter((function(i){return(!t||i.typet)&&(n?i.xAxisIDe.id:i.yAxisIDe.id)}))}});xn.prototype._drawxn.prototype.draw;var ynxn,_nH.isNullOrUndef,knyn.extend({determineDataLimits:function(){var t,ethis,ne._getLabels(),ie.options.ticks,ai.min,ri.max,o0,sn.length-1;void 0!a&&(tn.indexOf(a))>0&&(ot),void 0!r&&(tn.indexOf(r))>0&&(st),e.minIndexo,e.maxIndexs,e.minno,e.maxns},buildTicks:function(){var tthis._getLabels(),ethis.minIndex,nthis.maxIndex;this.ticks0e&&nt.length-1?t:t.slice(e,n+1)},getLabelForIndex:function(t,e){var nthis.chart;return n.getDatasetMeta(e).controller._getValueScaleId()this.id?this.getRightValue(n.data.datasetse.datat):this._getLabels()t},_configure:function(){var tthis,et.options.offset,nt.ticks;yn.prototype._configure.call(t),t.isHorizontal()||(t._reversePixels!t._reversePixels),n&&(t._startValuet.minIndex-(e?.5:0),t._valueRangeMath.max(n.length-(e?0:1),1))},getPixelForValue:function(t,e,n){var i,a,r,othis;return _n(e)||_n(n)||(to.chart.data.datasetsn.datae),_n(t)||(io.isHorizontal()?t.x:t.y),(void 0!i||void 0!t&&isNaN(e))&&(ao._getLabels(),tH.valueOrDefault(i,t),e-1!(ra.indexOf(t))?r:e,isNaN(e)&&(et)),o.getPixelForDecimal((e-o._startValue)/o._valueRange)},getPixelForTick:function(t){var ethis.ticks;return t0||t>e.length-1?null:this.getPixelForValue(et,t+this.minIndex)},getValueForPixel:function(t){var eMath.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange);return Math.min(Math.max(e,0),this.ticks.length-1)},getBasePixel:function(){return this.bottom}}),wn{position:bottom};kn._defaultswn;var MnH.noop,SnH.isNullOrUndef;var Cnyn.extend({getRightValue:function(t){returnstringtypeof t?+t:yn.prototype.getRightValue.call(this,t)},handleTickRangeOptions:function(){var tthis,et.options.ticks;if(e.beginAtZero){var nH.sign(t.min),iH.sign(t.max);n0&&i0?t.max0:n>0&&i>0&&(t.min0)}var avoid 0!e.min||void 0!e.suggestedMin,rvoid 0!e.max||void 0!e.suggestedMax;void 0!e.min?t.mine.min:void 0!e.suggestedMin&&(nullt.min?t.mine.suggestedMin:t.minMath.min(t.min,e.suggestedMin)),void 0!e.max?t.maxe.max:void 0!e.suggestedMax&&(nullt.max?t.maxe.suggestedMax:t.maxMath.max(t.max,e.suggestedMax)),a!r&&t.min>t.max&&(a?t.maxt.min+1:t.mint.max-1),t.mint.max&&(t.max++,e.beginAtZero||t.min--)},getTickLimit:function(){var t,ethis.options.ticks,ne.stepSize,ie.maxTicksLimit;return n?tMath.ceil(this.max/n)-Math.floor(this.min/n)+1:(tthis._computeTickLimit(),ii||11),i&&(tMath.min(i,t)),t},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:Mn,buildTicks:function(){var tthis,et.options.ticks,nt.getTickLimit(),i{maxTicks:nMath.max(2,n),min:e.min,max:e.max,precision:e.precision,stepSize:H.valueOrDefault(e.fixedStepSize,e.stepSize)},at.ticksfunction(t,e){var n,i,a,r,o,st.stepSize,ls||1,ut.maxTicks-1,dt.min,ht.max,ct.precision,fe.min,ge.max,pH.niceNum((g-f)/u/l)*l;if(p1e-14&&Sn(d)&&Sn(h))returnf,g;(rMath.ceil(g/p)-Math.floor(f/p))>u&&(pH.niceNum(r*p/u/l)*l),s||Sn(c)?nMath.pow(10,H._decimalPlaces(p)):(nMath.pow(10,c),pMath.ceil(p*n)/n),iMath.floor(f/p)*p,aMath.ceil(g/p)*p,s&&(!Sn(d)&&H.almostWhole(d/p,p/1e3)&&(id),!Sn(h)&&H.almostWhole(h/p,p/1e3)&&(ah)),r(a-i)/p,rH.almostEquals(r,Math.round(r),p/1e3)?Math.round(r):Math.ceil(r),iMath.round(i*n)/n,aMath.round(a*n)/n,o.push(Sn(d)?i:d);for(var m1;mr;++m)o.push(Math.round((i+m*p)*n)/n);return o.push(Sn(h)?a:h),o}(i,t);t.handleDirectionalChanges(),t.maxH.max(a),t.minH.min(a),e.reverse?(a.reverse(),t.startt.max,t.endt.min):(t.startt.min,t.endt.max)},convertTicksToLabels:function(){var tthis;t.ticksAsNumberst.ticks.slice(),t.zeroLineIndext.ticks.indexOf(0),yn.prototype.convertTicksToLabels.call(t)},_configure:function(){var t,ethis,ne.getTicks(),ie.min,ae.max;yn.prototype._configure.call(e),e.options.offset&&n.length&&(i-t(a-i)/Math.max(n.length-1,1)/2,a+t),e._startValuei,e._endValuea,e._valueRangea-i}}),Pn{position:left,ticks:{callback:on.formatters.linear}};function An(t,e,n,i){var a,r,ot.options,sfunction(t,e,n){var in.type,void 0e&&void 0n.stack?n.index:,n.stack.join(.);return void 0ti&&(ti{pos:,neg:}),ti}(e,o.stacked,n),ls.pos,us.neg,di.length;for(a0;ad;++a)rt._parseValue(ia),isNaN(r.min)||isNaN(r.max)||n.dataa.hidden||(lala||0,uaua||0,o.relativePoints?la100:r.min0||r.max0?ua+r.min:la+r.max)}function Dn(t,e,n){var i,a,rn.length;for(i0;ir;++i)at._parseValue(ni),isNaN(a.min)||isNaN(a.max)||e.datai.hidden||(t.minMath.min(t.min,a.min),t.maxMath.max(t.max,a.max))}var TnCn.extend({determineDataLimits:function(){var t,e,n,i,athis,ra.options,oa.chart.data.datasets,sa._getMatchingVisibleMetas(),lr.stacked,u{},ds.length;if(a.minNumber.POSITIVE_INFINITY,a.maxNumber.NEGATIVE_INFINITY,void 0l)for(t0;!l&&td;++t)lvoid 0!(est).stack;for(t0;td;++t)no(est).index.data,l?An(a,u,e,n):Dn(a,e,n);H.each(u,(function(t){it.pos.concat(t.neg),a.minMath.min(a.min,H.min(i)),a.maxMath.max(a.max,H.max(i))})),a.minH.isFinite(a.min)&&!isNaN(a.min)?a.min:0,a.maxH.isFinite(a.max)&&!isNaN(a.max)?a.max:1,a.handleTickRangeOptions()},_computeTickLimit:function(){var t;return this.isHorizontal()?Math.ceil(this.width/40):(tH.options._parseFont(this.options.ticks),Math.ceil(this.height/t.lineHeight))},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(t,e){return this._getScaleLabel(this.chart.data.datasetse.datat)},getPixelForValue:function(t){return this.getPixelForDecimal((+this.getRightValue(t)-this._startValue)/this._valueRange)},getValueForPixel:function(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange},getPixelForTick:function(t){var ethis.ticksAsNumbers;return t0||t>e.length-1?null:this.getPixelForValue(et)}}),InPn;Tn._defaultsIn;var FnH.valueOrDefault,OnH.math.log10;var Ln{position:left,ticks:{callback:on.formatters.logarithmic}};function Rn(t,e){return H.isFinite(t)&&t>0?t:e}var znyn.extend({determineDataLimits:function(){var t,e,n,i,a,r,othis,so.options,lo.chart,ul.data.datasets,do.isHorizontal();function h(t){return d?t.xAxisIDo.id:t.yAxisIDo.id}o.minNumber.POSITIVE_INFINITY,o.maxNumber.NEGATIVE_INFINITY,o.minNotZeroNumber.POSITIVE_INFINITY;var cs.stacked;if(void 0c)for(t0;tu.length;t++)if(el.getDatasetMeta(t),l.isDatasetVisible(t)&&h(e)&&void 0!e.stack){c!0;break}if(s.stacked||c){var f{};for(t0;tu.length;t++){var g(el.getDatasetMeta(t)).type,void 0s.stacked&&void 0e.stack?t:,e.stack.join(.);if(l.isDatasetVisible(t)&&h(e))for(void 0fg&&(fg),a0,r(iut.data).length;ar;a++){var pfg;no._parseValue(ia),isNaN(n.min)||isNaN(n.max)||e.dataa.hidden||n.min0||n.max0||(papa||0,pa+n.max)}}H.each(f,(function(t){if(t.length>0){var eH.min(t),nH.max(t);o.minMath.min(o.min,e),o.maxMath.max(o.max,n)}}))}else for(t0;tu.length;t++)if(el.getDatasetMeta(t),l.isDatasetVisible(t)&&h(e))for(a0,r(iut.data).length;ar;a++)no._parseValue(ia),isNaN(n.min)||isNaN(n.max)||e.dataa.hidden||n.min0||n.max0||(o.minMath.min(n.min,o.min),o.maxMath.max(n.max,o.max),0!n.min&&(o.minNotZeroMath.min(n.min,o.minNotZero)));o.minH.isFinite(o.min)?o.min:null,o.maxH.isFinite(o.max)?o.max:null,o.minNotZeroH.isFinite(o.minNotZero)?o.minNotZero:null,this.handleTickRangeOptions()},handleTickRangeOptions:function(){var tthis,et.options.ticks;t.minRn(e.min,t.min),t.maxRn(e.max,t.max),t.mint.max&&(0!t.min&&null!t.min?(t.minMath.pow(10,Math.floor(On(t.min))-1),t.maxMath.pow(10,Math.floor(On(t.max))+1)):(t.min1,t.max10)),nullt.min&&(t.minMath.pow(10,Math.floor(On(t.max))-1)),nullt.max&&(t.max0!t.min?Math.pow(10,Math.floor(On(t.min))+1):10),nullt.minNotZero&&(t.min>0?t.minNotZerot.min:t.max1?t.minNotZeroMath.pow(10,Math.floor(On(t.max))):t.minNotZero1)},buildTicks:function(){var tthis,et.options.ticks,n!t.isHorizontal(),i{min:Rn(e.min),max:Rn(e.max)},at.ticksfunction(t,e){var n,i,a,rFn(t.min,Math.pow(10,Math.floor(On(e.min)))),oMath.floor(On(e.max)),sMath.ceil(e.max/Math.pow(10,o));0r?(nMath.floor(On(e.minNotZero)),iMath.floor(e.minNotZero/Math.pow(10,n)),a.push(r),ri*Math.pow(10,n)):(nMath.floor(On(r)),iMath.floor(r/Math.pow(10,n)));var ln0?Math.pow(10,Math.abs(n)):1;do{a.push(r),10++i&&(i1,l++n>0?1:l),rMath.round(i*Math.pow(10,n)*l)/l}while(no||no&&is);var uFn(t.max,r);return a.push(u),a}(i,t);t.maxH.max(a),t.minH.min(a),e.reverse?(n!n,t.startt.max,t.endt.min):(t.startt.min,t.endt.max),n&&a.reverse()},convertTicksToLabels:function(){this.tickValuesthis.ticks.slice(),yn.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(t,e){return this._getScaleLabel(this.chart.data.datasetse.datat)},getPixelForTick:function(t){var ethis.tickValues;return t0||t>e.length-1?null:this.getPixelForValue(et)},_getFirstTickValue:function(t){var eMath.floor(On(t));return Math.floor(t/Math.pow(10,e))*Math.pow(10,e)},_configure:function(){var tthis,et.min,n0;yn.prototype._configure.call(t),0e&&(et._getFirstTickValue(t.minNotZero),nFn(t.options.ticks.fontSize,N.global.defaultFontSize)/t._length),t._startValueOn(e),t._valueOffsetn,t._valueRange(On(t.max)-On(e))/(1-n)},getPixelForValue:function(t){var ethis,n0;return(t+e.getRightValue(t))>e.min&&t>0&&(n(On(t)-e._startValue)/e._valueRange+e._valueOffset),e.getPixelForDecimal(n)},getValueForPixel:function(t){var ethis,ne.getDecimalForPixel(t);return 0n&&0e.min?0:Math.pow(10,e._startValue+(n-e._valueOffset)*e._valueRange)}}),NnLn;zn._defaultsNn;var BnH.valueOrDefault,EnH.valueAtIndexOrDefault,WnH.options.resolve,Vn{display:!0,animate:!0,position:chartArea,angleLines:{display:!0,color:rgba(0,0,0,0.1),lineWidth:1,borderDash:,borderDashOffset:0},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:rgba(255,255,255,0.75),backdropPaddingY:2,backdropPaddingX:2,callback:on.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(t){return t}}};function Hn(t){var et.ticks;return e.display&&t.display?Bn(e.fontSize,N.global.defaultFontSize)+2*e.backdropPaddingY:0}function jn(t,e,n,i,a){return ti||ta?{start:e-n/2,end:e+n/2}:ti||t>a?{start:e-n,end:e}:{start:e,end:e+n}}function qn(t){return 0t||180t?center:t180?left:right}function Un(t,e,n,i){var a,r,on.y+i/2;if(H.isArray(e))for(a0,re.length;ar;++a)t.fillText(ea,n.x,o),o+i;else t.fillText(e,n.x,o)}function Yn(t,e,n){90t||270t?n.y-e.h/2:(t>270||t90)&&(n.y-e.h)}function Gn(t){return H.isNumber(t)?t:0}var XnCn.extend({setDimensions:function(){var tthis;t.widtht.maxWidth,t.heightt.maxHeight,t.paddingTopHn(t.options)/2,t.xCenterMath.floor(t.width/2),t.yCenterMath.floor((t.height-t.paddingTop)/2),t.drawingAreaMath.min(t.height-t.paddingTop,t.width)/2},determineDataLimits:function(){var tthis,et.chart,nNumber.POSITIVE_INFINITY,iNumber.NEGATIVE_INFINITY;H.each(e.data.datasets,(function(a,r){if(e.isDatasetVisible(r)){var oe.getDatasetMeta(r);H.each(a.data,(function(e,a){var r+t.getRightValue(e);isNaN(r)||o.dataa.hidden||(nMath.min(r,n),iMath.max(r,i))}))}})),t.minnNumber.POSITIVE_INFINITY?0:n,t.maxiNumber.NEGATIVE_INFINITY?0:i,t.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/Hn(this.options))},convertTicksToLabels:function(){var tthis;Cn.prototype.convertTicksToLabels.call(t),t.pointLabelst.chart.data.labels.map((function(){var eH.callback(t.options.pointLabels.callback,arguments,t);return e||0e?e:}))},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasetse.datat)},fit:function(){var tthis.options;t.display&&t.pointLabels.display?function(t){var e,n,i,aH.options._parseFont(t.options.pointLabels),r{l:0,r:t.width,t:0,b:t.height-t.paddingTop},o{};t.ctx.fonta.string,t._pointLabelSizes;var s,l,u,dt.chart.data.labels.length;for(e0;ed;e++){it.getPointPosition(e,t.drawingArea+5),st.ctx,la.lineHeight,ut.pointLabelse,nH.isArray(u)?{w:H.longestText(s,s.font,u),h:u.length*l}:{w:s.measureText(u).width,h:l},t._pointLabelSizesen;var ht.getIndexAngle(e),cH.toDegrees(h)%360,fjn(c,i.x,n.w,0,180),gjn(c,i.y,n.h,90,270);f.startr.l&&(r.lf.start,o.lh),f.end>r.r&&(r.rf.end,o.rh),g.startr.t&&(r.tg.start,o.th),g.end>r.b&&(r.bg.end,o.bh)}t.setReductions(t.drawingArea,r,o)}(this):this.setCenterPoint(0,0,0,0)},setReductions:function(t,e,n){var ithis,ae.l/Math.sin(n.l),rMath.max(e.r-i.width,0)/Math.sin(n.r),o-e.t/Math.cos(n.t),s-Math.max(e.b-(i.height-i.paddingTop),0)/Math.cos(n.b);aGn(a),rGn(r),oGn(o),sGn(s),i.drawingAreaMath.min(Math.floor(t-(a+r)/2),Math.floor(t-(o+s)/2)),i.setCenterPoint(a,r,o,s)},setCenterPoint:function(t,e,n,i){var athis,ra.width-e-a.drawingArea,ot+a.drawingArea,sn+a.drawingArea,la.height-a.paddingTop-i-a.drawingArea;a.xCenterMath.floor((o+r)/2+a.left),a.yCenterMath.floor((s+l)/2+a.top+a.paddingTop)},getIndexAngle:function(t){var ethis.chart,n(t*(360/e.data.labels.length)+((e.options||{}).startAngle||0))%360;return(n0?n+360:n)*Math.PI*2/360},getDistanceFromCenterForValue:function(t){var ethis;if(H.isNullOrUndef(t))return NaN;var ne.drawingArea/(e.max-e.min);return e.options.ticks.reverse?(e.max-t)*n:(t-e.min)*n},getPointPosition:function(t,e){var nthis.getIndexAngle(t)-Math.PI/2;return{x:Math.cos(n)*e+this.xCenter,y:Math.sin(n)*e+this.yCenter}},getPointPositionForValue:function(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))},getBasePosition:function(t){var ethis.min,nthis.max;return this.getPointPositionForValue(t||0,this.beginAtZero?0:e0&&n0?n:e>0&&n>0?e:0)},_drawGrid:function(){var t,e,n,ithis,ai.ctx,ri.options,or.gridLines,sr.angleLines,lBn(s.lineWidth,o.lineWidth),uBn(s.color,o.color);if(r.pointLabels.display&&function(t){var et.ctx,nt.options,in.pointLabels,aHn(n),rt.getDistanceFromCenterForValue(n.ticks.reverse?t.min:t.max),oH.options._parseFont(i);e.save(),e.fonto.string,e.textBaselinemiddle;for(var st.chart.data.labels.length-1;s>0;s--){var l0s?a/2:0,ut.getPointPosition(s,r+l+5),dEn(i.fontColor,s,N.global.defaultFontColor);e.fillStyled;var ht.getIndexAngle(s),cH.toDegrees(h);e.textAlignqn(c),Yn(c,t._pointLabelSizess,u),Un(e,t.pointLabelss,u,o.lineHeight)}e.restore()}(i),o.display&&H.each(i.ticks,(function(t,n){0!n&&(ei.getDistanceFromCenterForValue(i.ticksAsNumbersn),function(t,e,n,i){var a,rt.ctx,oe.circular,st.chart.data.labels.length,lEn(e.color,i-1),uEn(e.lineWidth,i-1);if((o||s)&&l&&u){if(r.save(),r.strokeStylel,r.lineWidthu,r.setLineDash&&(r.setLineDash(e.borderDash||),r.lineDashOffsete.borderDashOffset||0),r.beginPath(),o)r.arc(t.xCenter,t.yCenter,n,0,2*Math.PI);else{at.getPointPosition(0,n),r.moveTo(a.x,a.y);for(var d1;ds;d++)at.getPointPosition(d,n),r.lineTo(a.x,a.y)}r.closePath(),r.stroke(),r.restore()}}(i,o,e,n))})),s.display&&l&&u){for(a.save(),a.lineWidthl,a.strokeStyleu,a.setLineDash&&(a.setLineDash(Wn(s.borderDash,o.borderDash,)),a.lineDashOffsetWn(s.borderDashOffset,o.borderDashOffset,0)),ti.chart.data.labels.length-1;t>0;t--)ei.getDistanceFromCenterForValue(r.ticks.reverse?i.min:i.max),ni.getPointPosition(t,e),a.beginPath(),a.moveTo(i.xCenter,i.yCenter),a.lineTo(n.x,n.y),a.stroke();a.restore()}},_drawLabels:function(){var tthis,et.ctx,nt.options.ticks;if(n.display){var i,a,rt.getIndexAngle(0),oH.options._parseFont(n),sBn(n.fontColor,N.global.defaultFontColor);e.save(),e.fonto.string,e.translate(t.xCenter,t.yCenter),e.rotate(r),e.textAligncenter,e.textBaselinemiddle,H.each(t.ticks,(function(r,l){(0!l||n.reverse)&&(it.getDistanceFromCenterForValue(t.ticksAsNumbersl),n.showLabelBackdrop&&(ae.measureText(r).width,e.fillStylen.backdropColor,e.fillRect(-a/2-n.backdropPaddingX,-i-o.size/2-n.backdropPaddingY,a+2*n.backdropPaddingX,o.size+2*n.backdropPaddingY)),e.fillStyles,e.fillText(r,0,-i))})),e.restore()}},_drawTitle:H.noop}),KnVn;Xn._defaultsKn;var ZnH._deprecated,$nH.options.resolve,JnH.valueOrDefault,QnNumber.MIN_SAFE_INTEGER||-9007199254740991,tiNumber.MAX_SAFE_INTEGER||9007199254740991,ei{millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},niObject.keys(ei);function ii(t,e){return t-e}function ai(t){return H.valueOrDefault(t.time.min,t.ticks.min)}function ri(t){return H.valueOrDefault(t.time.max,t.ticks.max)}function oi(t,e,n,i){var afunction(t,e,n){for(var i,a,r,o0,st.length-1;o>0&&os;){if(at(io+s>>1)-1||null,rti,!a)return{lo:null,hi:r};if(ren)oi+1;else{if(!(ae>n))return{lo:a,hi:r};si-1}}return{lo:r,hi:null}}(t,e,n),ra.lo?a.hi?a.lo:tt.length-2:t0,oa.lo?a.hi?a.hi:tt.length-1:t1,soe-re,ls?(n-re)/s:0,u(oi-ri)*l;return ri+u}function si(t,e){var nt._adapter,it.options.time,ai.parser,ra||i.format,oe;returnfunctiontypeof a&&(oa(o)),H.isFinite(o)||(ostringtypeof r?n.parse(o,r):n.parse(o)),null!o?+o:(a||function!typeof r||(or(e),H.isFinite(o)||(on.parse(o))),o)}function li(t,e){if(H.isNullOrUndef(e))return null;var nt.options.time,isi(t,t.getRightValue(e));return nulli?i:(n.round&&(i+t._adapter.startOf(i,n.round)),i)}function ui(t,e,n,i){var a,r,o,sni.length;for(ani.indexOf(t);as-1;++a)if(o(reinia).steps?r.steps:ti,r.common&&Math.ceil((n-e)/(o*r.size))i)return nia;return nis-1}function di(t,e,n){var i,a,r,o{},se.length;for(i0;is;++i)oaeii,r.push({value:a,major:!1});return 0!s&&n?function(t,e,n,i){var a,r,ot._adapter,s+o.startOf(e0.value,i),lee.length-1.value;for(as;al;a+o.add(a,1,i))(rna)>0&&(er.major!0);return e}(t,r,o,n):r}var hiyn.extend({initialize:function(){this.mergeTicksOptions(),yn.prototype.initialize.call(this)},update:function(){var tthis,et.options,ne.time||(e.time{}),it._adapternew rn._date(e.adapters.date);return Zn(time scale,n.format,time.format,time.parser),Zn(time scale,n.min,time.min,ticks.min),Zn(time scale,n.max,time.max,ticks.max),H.mergeIf(n.displayFormats,i.formats()),yn.prototype.update.apply(t,arguments)},getRightValue:function(t){return t&&void 0!t.t&&(tt.t),yn.prototype.getRightValue.call(this,t)},determineDataLimits:function(){var t,e,n,i,a,r,o,sthis,ls.chart,us._adapter,ds.options,hd.time.unit||day,cti,fQn,g,p,m,vs._getLabels();for(t0,nv.length;tn;++t)m.push(li(s,vt));for(t0,n(l.data.datasets||).length;tn;++t)if(l.isDatasetVisible(t))if(al.data.datasetst.data,H.isObject(a0))for(pt,e0,ia.length;ei;++e)rli(s,ae),g.push(r),pter;else ptm.slice(0),o||(gg.concat(m),o!0);else pt;m.length&&(cMath.min(c,m0),fMath.max(f,mm.length-1)),g.length&&(gn>1?function(t){var e,n,i,a{},r;for(e0,nt.length;en;++e)aite||(ai!0,r.push(i));return r}(g).sort(ii):g.sort(ii),cMath.min(c,g0),fMath.max(f,gg.length-1)),cli(s,ai(d))||c,fli(s,ri(d))||f,ccti?+u.startOf(Date.now(),h):c,ffQn?+u.endOf(Date.now(),h)+1:f,s.minMath.min(c,f),s.maxMath.max(c+1,f),s._table,s._timestamps{data:g,datasets:p,labels:m}},buildTicks:function(){var t,e,n,ithis,ai.min,ri.max,oi.options,so.ticks,lo.time,ui._timestamps,d,hi.getLabelCapacity(a),cs.source,fo.distribution;for(udatac||autoc&&seriesf?u.data:labelsc?u.labels:function(t,e,n,i){var a,rt._adapter,ot.options,so.time,ls.unit||ui(s.minUnit,e,n,i),u$n(s.stepSize,s.unitStepSize,1),dweekl&&s.isoWeekday,he,c;if(d&&(h+r.startOf(h,isoWeek,d)),h+r.startOf(h,d?day:l),r.diff(n,e,l)>1e5*u)throw e+ and +n+ are too far apart with stepSize of +u+ +l;for(ah;an;a+r.add(a,u,l))c.push(a);return a!n&&ticks!o.bounds||c.push(a),c}(i,a,r,h),tickso.bounds&&u.length&&(au0,ruu.length-1),ali(i,ai(o))||a,rli(i,ri(o))||r,t0,eu.length;te;++t)(nut)>a&&nr&&d.push(n);return i.mina,i.maxr,i._unitl.unit||(s.autoSkip?ui(l.minUnit,i.min,i.max,h):function(t,e,n,i,a){var r,o;for(rni.length-1;r>ni.indexOf(n);r--)if(onir,eio.common&&t._adapter.diff(a,i,o)>e-1)return o;return nin?ni.indexOf(n):0}(i,d.length,l.minUnit,i.min,i.max)),i._majorUnits.major.enabled&&year!i._unit?function(t){for(var eni.indexOf(t)+1,nni.length;en;++e)if(einie.common)return nie}(i._unit):void 0,i._tablefunction(t,e,n,i){if(lineari||!t.length)return{time:e,pos:0},{time:n,pos:1};var a,r,o,s,l,u,de;for(a0,rt.length;ar;++a)(sta)>e&&sn&&d.push(s);for(d.push(n),a0,rd.length;ar;++a)lda+1,oda-1,sda,void 0!o&&void 0!l&&Math.round((l+o)/2)s||u.push({time:s,pos:a/(r-1)});return u}(i._timestamps.data,a,r,f),i._offsetsfunction(t,e,n,i,a){var r,o,s0,l0;return a.offset&&e.length&&(roi(t,time,e0,pos),s1e.length?1-r:(oi(t,time,e1,pos)-r)/2,ooi(t,time,ee.length-1,pos),l1e.length?o:(o-oi(t,time,ee.length-2,pos))/2),{start:s,end:l,factor:1/(s+1+l)}}(i._table,d,0,0,o),s.reverse&&d.reverse(),di(i,d,i._majorUnit)},getLabelForIndex:function(t,e){var nthis,in._adapter,an.chart.data,rn.options.time,oa.labels&&ta.labels.length?a.labelst:,sa.datasetse.datat;return H.isObject(s)&&(on.getRightValue(s)),r.tooltipFormat?i.format(si(n,o),r.tooltipFormat):stringtypeof o?o:i.format(si(n,o),r.displayFormats.datetime)},tickFormatFunction:function(t,e,n,i){var athis._adapter,rthis.options,or.time.displayFormats,sothis._unit,lthis._majorUnit,uol,dne,hr.ticks,cl&&u&&d&&d.major,fa.format(t,i||(c?u:s)),gc?h.major:h.minor,p$n(g.callback,g.userCallback,h.callback,h.userCallback);return p?p(f,e,n):f},convertTicksToLabels:function(t){var e,n,i;for(e0,nt.length;en;++e)i.push(this.tickFormatFunction(te.value,e,t));return i},getPixelForOffset:function(t){var ethis._offsets,noi(this._table,time,t,pos);return this.getPixelForDecimal((e.start+n)*e.factor)},getPixelForValue:function(t,e,n){var inull;if(void 0!e&&void 0!n&&(ithis._timestamps.datasetsne),nulli&&(ili(this,t)),null!i)return this.getPixelForOffset(i)},getPixelForTick:function(t){var ethis.getTicks();return t>0&&te.length?this.getPixelForOffset(et.value):null},getValueForPixel:function(t){var ethis._offsets,nthis.getDecimalForPixel(t)/e.factor-e.end,ioi(this._table,pos,n,time);return this._adapter._create(i)},_getLabelSize:function(t){var ethis.options.ticks,nthis.ctx.measureText(t).width,iH.toRadians(this.isHorizontal()?e.maxRotation:e.minRotation),aMath.cos(i),rMath.sin(i),oJn(e.fontSize,N.global.defaultFontSize);return{w:n*a+o*r,h:n*r+o*a}},getLabelWidth:function(t){return this._getLabelSize(t).w},getLabelCapacity:function(t){var ethis,ne.options.time,in.displayFormats,ain.unit||i.millisecond,re.tickFormatFunction(t,0,di(e,t,e._majorUnit),a),oe._getLabelSize(r),sMath.floor(e.isHorizontal()?e.width/o.w:e.height/o.h);return e.options.offset&&s--,s>0?s:1}}),ci{position:bottom,distribution:linear,bounds:data,adapters:{},time:{parser:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:millisecond,displayFormats:{}},ticks:{autoSkip:!1,source:auto,major:{enabled:!1}}};hi._defaultsci;var fi{category:kn,linear:Tn,logarithmic:zn,radialLinear:Xn,time:hi},gi{datetime:MMM D, YYYY, h:mm:ss a,millisecond:h:mm:ss.SSS a,second:h:mm:ss a,minute:h:mm a,hour:hA,day:MMM D,week:ll,month:MMM YYYY,quarter:QQ - YYYY,year:YYYY};rn._date.override(functiontypeof t?{_id:moment,formats:function(){return gi},parse:function(e,n){returnstringtypeof e&&stringtypeof n?et(e,n):e instanceof t||(et(e)),e.isValid()?e.valueOf():null},format:function(e,n){return t(e).format(n)},add:function(e,n,i){return t(e).add(n,i).valueOf()},diff:function(e,n,i){return t(e).diff(t(n),i)},startOf:function(e,n,i){return et(e),isoWeekn?e.isoWeekday(i).valueOf():e.startOf(n).valueOf()},endOf:function(e,n){return t(e).endOf(n).valueOf()},_create:function(e){return t(e)}}:{}),N._set(global,{plugins:{filler:{propagate:!0}}});var pi{dataset:function(t){var et.fill,nt.chart,in.getDatasetMeta(e),ai&&n.isDatasetVisible(e)&&i.dataset._children||,ra.length||0;return r?function(t,e){return er&&ae._view||null}:null},boundary:function(t){var et.boundary,ne?e.x:null,ie?e.y:null;return H.isArray(e)?function(t,n){return en}:function(t){return{x:nulln?t.x:n,y:nulli?t.y:i}}}};function mi(t,e,n){var i,at._model||{},ra.fill;if(void 0r&&(r!!a.backgroundColor),!1r||nullr)return!1;if(!0r)returnorigin;if(iparseFloat(r,10),isFinite(i)&&Math.floor(i)i)return-!r0&&+!r0||(ie+i),!(ie||i0||i>n)&&i;switch(r){casebottom:returnstart;casetop:returnend;casezero:returnorigin;caseorigin:casestart:caseend:return r;default:return!1}}function vi(t){return(t.el._scale||{}).getPointPositionForValue?function(t){var e,n,i,a,r,ot.el._scale,so.options,lo.chart.data.labels.length,ut.fill,d;if(!l)return null;for(es.ticks.reverse?o.max:o.min,ns.ticks.reverse?o.min:o.max,io.getPointPositionForValue(0,e),a0;al;++a)rstartu||endu?o.getPointPositionForValue(a,startu?e:n):o.getBasePosition(a),s.gridLines.circular&&(r.cxi.x,r.cyi.y,r.angleo.getIndexAngle(a)-Math.PI/2),d.push(r);return d}(t):function(t){var e,nt.el._model||{},it.el._scale||{},at.fill,rnull;if(isFinite(a))return null;if(starta?rvoid 0n.scaleBottom?i.bottom:n.scaleBottom:enda?rvoid 0n.scaleTop?i.top:n.scaleTop:void 0!n.scaleZero?rn.scaleZero:i.getBasePixel&&(ri.getBasePixel()),null!r){if(void 0!r.x&&void 0!r.y)return r;if(H.isFinite(r))return{x:(ei.isHorizontal())?r:null,y:e?null:r}}return null}(t)}function bi(t,e,n){var i,ate.fill,re;if(!n)return a;for(;!1!a&&-1r.indexOf(a);){if(!isFinite(a))return a;if(!(ita))return!1;if(i.visible)return a;r.push(a),ai.fill}return!1}function xi(t){var et.fill,ndataset;return!1e?null:(isFinite(e)||(nboundary),pin(t))}function yi(t){return t&&!t.skip}function _i(t,e,n,i,a){var r,o,s,l;if(i&&a){for(t.moveTo(e0.x,e0.y),r1;ri;++r)H.canvas.lineTo(t,er-1,er);if(void 0n0.angle)for(t.lineTo(na-1.x,na-1.y),ra-1;r>0;--r)H.canvas.lineTo(t,nr,nr-1,!0);else for(on0.cx,sn0.cy,lMath.sqrt(Math.pow(n0.x-o,2)+Math.pow(n0.y-s,2)),ra-1;r>0;--r)t.arc(o,s,l,nr.angle,nr-1.angle,!0)}}function ki(t,e,n,i,a,r){var o,s,l,u,d,h,c,f,ge.length,pi.spanGaps,m,v,b0,x0;for(t.beginPath(),o0,sg;os;++o)dn(uelo%g._view,l,i),hyi(u),cyi(d),r&&void 0f&&h&&(sg+(fo+1)),h&&c?(bm.push(u),xv.push(d)):b&&x&&(p?(h&&m.push(u),c&&v.push(d)):(_i(t,m,v,b,x),bx0,m,v));_i(t,m,v,b,x),t.closePath(),t.fillStylea,t.fill()}var wi{id:filler,afterDatasetsUpdate:function(t,e){var n,i,a,r,o(t.data.datasets||).length,se.propagate,l;for(i0;io;++i)rnull,(a(nt.getDatasetMeta(i)).dataset)&&a._model&&a instanceof kt.Line&&(r{visible:t.isDatasetVisible(i),fill:mi(a,i,o),chart:t,el:a}),n.$fillerr,l.push(r);for(i0;io;++i)(rli)&&(r.fillbi(l,i,s),r.boundaryvi(r),r.mapperxi(r))},beforeDatasetsDraw:function(t){var e,n,i,a,r,o,s,lt._getSortedVisibleDatasetMetas(),ut.ctx;for(nl.length-1;n>0;--n)(eln.$filler)&&e.visible&&(a(ie.el)._view,ri._children||,oe.mapper,sa.backgroundColor||N.global.defaultColor,o&&s&&r.length&&(H.canvas.clipArea(u,t.chartArea),ki(u,r,o,a,s,i._loop),H.canvas.unclipArea(u)))}},MiH.rtl.getRtlAdapter,SiH.noop,CiH.valueOrDefault;function Pi(t,e){return t.usePointStyle&&t.boxWidth>e?e:t.boxWidth}N._set(global,{legend:{display:!0,position:top,align:center,fullWidth:!0,reverse:!1,weight:1e3,onClick:function(t,e){var ne.datasetIndex,ithis.chart,ai.getDatasetMeta(n);a.hiddennulla.hidden?!i.data.datasetsn.hidden:null,i.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(t){var et.data.datasets,nt.options.legend||{},in.labels&&n.labels.usePointStyle;return t._getSortedDatasetMetas().map((function(n){var an.controller.getStyle(i?0:void 0);return{text:en.index.label,fillStyle:a.backgroundColor,hidden:!t.isDatasetVisible(n.index),lineCap:a.borderCapStyle,lineDash:a.borderDash,lineDashOffset:a.borderDashOffset,lineJoin:a.borderJoinStyle,lineWidth:a.borderWidth,strokeStyle:a.borderColor,pointStyle:a.pointStyle,rotation:a.rotation,datasetIndex:n.index}}),this)}}},legendCallback:function(t){var e,n,i,adocument.createElement(ul),rt.data.datasets;for(a.setAttribute(class,t.id+-legend),e0,nr.length;en;e++)(ia.appendChild(document.createElement(li))).appendChild(document.createElement(span)).style.backgroundColorre.backgroundColor,re.label&&i.appendChild(document.createTextNode(re.label));return a.outerHTML}});var AiK.extend({initialize:function(t){H.extend(this,t),this.legendHitBoxes,this._hoveredItemnull,this.doughnutMode!1},beforeUpdate:Si,update:function(t,e,n){var ithis;return i.beforeUpdate(),i.maxWidtht,i.maxHeighte,i.marginsn,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:Si,beforeSetDimensions:Si,setDimensions:function(){var tthis;t.isHorizontal()?(t.widtht.maxWidth,t.left0,t.rightt.width):(t.heightt.maxHeight,t.top0,t.bottomt.height),t.paddingLeft0,t.paddingTop0,t.paddingRight0,t.paddingBottom0,t.minSize{width:0,height:0}},afterSetDimensions:Si,beforeBuildLabels:Si,buildLabels:function(){var tthis,et.options.labels||{},nH.callback(e.generateLabels,t.chart,t)||;e.filter&&(nn.filter((function(n){return e.filter(n,t.chart.data)}))),t.options.reverse&&n.reverse(),t.legendItemsn},afterBuildLabels:Si,beforeFit:Si,fit:function(){var tthis,et.options,ne.labels,ie.display,at.ctx,rH.options._parseFont(n),or.size,st.legendHitBoxes,lt.minSize,ut.isHorizontal();if(u?(l.widtht.maxWidth,l.heighti?10:0):(l.widthi?10:0,l.heightt.maxHeight),i){if(a.fontr.string,u){var dt.lineWidths0,h0;a.textAlignleft,a.textBaselinemiddle,H.each(t.legendItems,(function(t,e){var iPi(n,o)+o/2+a.measureText(t.text).width;(0e||dd.length-1+i+2*n.padding>l.width)&&(h+o+n.padding,dd.length-(e>0?0:1)0),se{left:0,top:0,width:i,height:o},dd.length-1+i+n.padding})),l.height+h}else{var cn.padding,ft.columnWidths,gt.columnHeights,pn.padding,m0,v0;H.each(t.legendItems,(function(t,e){var iPi(n,o)+o/2+a.measureText(t.text).width;e>0&&v+o+2*c>l.height&&(p+m+n.padding,f.push(m),g.push(v),m0,v0),mMath.max(m,i),v+o+c,se{left:0,top:0,width:i,height:o}})),p+m,f.push(m),g.push(v),l.width+p}t.widthl.width,t.heightl.height}else t.widthl.widtht.heightl.height0},afterFit:Si,isHorizontal:function(){returntopthis.options.position||bottomthis.options.position},draw:function(){var tthis,et.options,ne.labels,iN.global,ai.defaultColor,ri.elements.line,ot.height,st.columnHeights,lt.width,ut.lineWidths;if(e.display){var d,hMi(e.rtl,t.left,t.minSize.width),ct.ctx,fCi(n.fontColor,i.defaultFontColor),gH.options._parseFont(n),pg.size;c.textAlignh.textAlign(left),c.textBaselinemiddle,c.lineWidth.5,c.strokeStylef,c.fillStylef,c.fontg.string;var mPi(n,p),vt.legendHitBoxes,bfunction(t,i){switch(e.align){casestart:return n.padding;caseend:return t-i;default:return(t-i+n.padding)/2}},xt.isHorizontal();dx?{x:t.left+b(l,u0),y:t.top+n.padding,line:0}:{x:t.left+n.padding,y:t.top+b(o,s0),line:0},H.rtl.overrideTextDirection(t.ctx,e.textDirection);var yp+n.padding;H.each(t.legendItems,(function(e,i){var fc.measureText(e.text).width,gm+p/2+f,_d.x,kd.y;h.setWidth(t.minSize.width),x?i>0&&_+g+n.padding>t.left+t.minSize.width&&(kd.y+y,d.line++,_d.xt.left+b(l,ud.line)):i>0&&k+y>t.top+t.minSize.height&&(_d.x_+t.columnWidthsd.line+n.padding,d.line++,kd.yt.top+b(o,sd.line));var wh.x(_);!function(t,e,i){if(!(isNaN(m)||m0)){c.save();var oCi(i.lineWidth,r.borderWidth);if(c.fillStyleCi(i.fillStyle,a),c.lineCapCi(i.lineCap,r.borderCapStyle),c.lineDashOffsetCi(i.lineDashOffset,r.borderDashOffset),c.lineJoinCi(i.lineJoin,r.borderJoinStyle),c.lineWidtho,c.strokeStyleCi(i.strokeStyle,a),c.setLineDash&&c.setLineDash(Ci(i.lineDash,r.borderDash)),n&&n.usePointStyle){var sm*Math.SQRT2/2,lh.xPlus(t,m/2),ue+p/2;H.canvas.drawPoint(c,i.pointStyle,s,l,u,i.rotation)}else c.fillRect(h.leftForLtr(t,m),e,m,p),0!o&&c.strokeRect(h.leftForLtr(t,m),e,m,p);c.restore()}}(w,k,e),vi.lefth.leftForLtr(w,vi.width),vi.topk,function(t,e,n,i){var ap/2,rh.xPlus(t,m+a),oe+a;c.fillText(n.text,r,o),n.hidden&&(c.beginPath(),c.lineWidth2,c.moveTo(r,o),c.lineTo(h.xPlus(r,i),o),c.stroke())}(w,k,e,f),x?d.x+g+n.padding:d.y+y})),H.rtl.restoreTextDirection(t.ctx,e.textDirection)}},_getLegendItemAt:function(t,e){var n,i,a,rthis;if(t>r.left&&tr.right&&e>r.top&&er.bottom)for(ar.legendHitBoxes,n0;na.length;++n)if(t>(ian).left&&ti.left+i.width&&e>i.top&&ei.top+i.height)return r.legendItemsn;return null},handleEvent:function(t){var e,nthis,in.options,amouseupt.type?click:t.type;if(mousemovea){if(!i.onHover&&!i.onLeave)return}else{if(click!a)return;if(!i.onClick)return}en._getLegendItemAt(t.x,t.y),clicka?e&&i.onClick&&i.onClick.call(n,t.native,e):(i.onLeave&&e!n._hoveredItem&&(n._hoveredItem&&i.onLeave.call(n,t.native,n._hoveredItem),n._hoveredIteme),i.onHover&&e&&i.onHover.call(n,t.native,e))}});function Di(t,e){var nnew Ai({ctx:t.ctx,options:e,chart:t});pe.configure(t,n,e),pe.addBox(t,n),t.legendn}var Ti{id:legend,_element:Ai,beforeInit:function(t){var et.options.legend;e&&Di(t,e)},beforeUpdate:function(t){var et.options.legend,nt.legend;e?(H.mergeIf(e,N.global.legend),n?(pe.configure(t,n,e),n.optionse):Di(t,e)):n&&(pe.removeBox(t,n),delete t.legend)},afterEvent:function(t,e){var nt.legend;n&&n.handleEvent(e)}},IiH.noop;N._set(global,{title:{display:!1,fontStyle:bold,fullWidth:!0,padding:10,position:top,text:,weight:2e3}});var FiK.extend({initialize:function(t){H.extend(this,t),this.legendHitBoxes},beforeUpdate:Ii,update:function(t,e,n){var ithis;return i.beforeUpdate(),i.maxWidtht,i.maxHeighte,i.marginsn,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:Ii,beforeSetDimensions:Ii,setDimensions:function(){var tthis;t.isHorizontal()?(t.widtht.maxWidth,t.left0,t.rightt.width):(t.heightt.maxHeight,t.top0,t.bottomt.height),t.paddingLeft0,t.paddingTop0,t.paddingRight0,t.paddingBottom0,t.minSize{width:0,height:0}},afterSetDimensions:Ii,beforeBuildLabels:Ii,buildLabels:Ii,afterBuildLabels:Ii,beforeFit:Ii,fit:function(){var t,ethis,ne.options,ie.minSize{},ae.isHorizontal();n.display?(t(H.isArray(n.text)?n.text.length:1)*H.options._parseFont(n).lineHeight+2*n.padding,e.widthi.widtha?e.maxWidth:t,e.heighti.heighta?t:e.maxHeight):e.widthi.widthe.heighti.height0},afterFit:Ii,isHorizontal:function(){var tthis.options.position;returntopt||bottomt},draw:function(){var tthis,et.ctx,nt.options;if(n.display){var i,a,r,oH.options._parseFont(n),so.lineHeight,ls/2+n.padding,u0,dt.top,ht.left,ct.bottom,ft.right;e.fillStyleH.valueOrDefault(n.fontColor,N.global.defaultFontColor),e.fonto.string,t.isHorizontal()?(ah+(f-h)/2,rd+l,if-h):(aleftn.position?h+l:f-l,rd+(c-d)/2,ic-d,uMath.PI*(leftn.position?-.5:.5)),e.save(),e.translate(a,r),e.rotate(u),e.textAligncenter,e.textBaselinemiddle;var gn.text;if(H.isArray(g))for(var p0,m0;mg.length;++m)e.fillText(gm,0,p,i),p+s;else e.fillText(g,0,0,i);e.restore()}}});function Oi(t,e){var nnew Fi({ctx:t.ctx,options:e,chart:t});pe.configure(t,n,e),pe.addBox(t,n),t.titleBlockn}var Li{},Riwi,ziTi,Ni{id:title,_element:Fi,beforeInit:function(t){var et.options.title;e&&Oi(t,e)},beforeUpdate:function(t){var et.options.title,nt.titleBlock;e?(H.mergeIf(e,N.global.title),n?(pe.configure(t,n,e),n.optionse):Oi(t,e)):n&&(pe.removeBox(t,n),delete t.titleBlock)}};for(var Bi in Li.fillerRi,Li.legendzi,Li.titleNi,en.helpersH,function(){function t(t,e,n){var i;returnstringtypeof t?(iparseInt(t,10),-1!t.indexOf(%)&&(ii/100*e.parentNoden)):it,i}function e(t){return null!t&&none!t}function n(n,i,a){var rdocument.defaultView,oH._getParentNode(n),sr.getComputedStyle(n)i,lr.getComputedStyle(o)i,ue(s),de(l),hNumber.POSITIVE_INFINITY;return u||d?Math.min(u?t(s,n,a):h,d?t(l,o,a):h):none}H.wherefunction(t,e){if(H.isArray(t)&&Array.prototype.filter)return t.filter(e);var n;return H.each(t,(function(t){e(t)&&n.push(t)})),n},H.findIndexArray.prototype.findIndex?function(t,e,n){return t.findIndex(e,n)}:function(t,e,n){nvoid 0n?t:n;for(var i0,at.length;ia;++i)if(e.call(n,ti,i,t))return i;return-1},H.findNextWherefunction(t,e,n){H.isNullOrUndef(n)&&(n-1);for(var in+1;it.length;i++){var ati;if(e(a))return a}},H.findPreviousWherefunction(t,e,n){H.isNullOrUndef(n)&&(nt.length);for(var in-1;i>0;i--){var ati;if(e(a))return a}},H.isNumberfunction(t){return!isNaN(parseFloat(t))&&isFinite(t)},H.almostEqualsfunction(t,e,n){return Math.abs(t-e)n},H.almostWholefunction(t,e){var nMath.round(t);return n-et&&n+e>t},H.maxfunction(t){return t.reduce((function(t,e){return isNaN(e)?t:Math.max(t,e)}),Number.NEGATIVE_INFINITY)},H.minfunction(t){return t.reduce((function(t,e){return isNaN(e)?t:Math.min(t,e)}),Number.POSITIVE_INFINITY)},H.signMath.sign?function(t){return Math.sign(t)}:function(t){return 0(t+t)||isNaN(t)?t:t>0?1:-1},H.toRadiansfunction(t){return t*(Math.PI/180)},H.toDegreesfunction(t){return t*(180/Math.PI)},H._decimalPlacesfunction(t){if(H.isFinite(t)){for(var e1,n0;Math.round(t*e)/e!t;)e*10,n++;return n}},H.getAngleFromPointfunction(t,e){var ne.x-t.x,ie.y-t.y,aMath.sqrt(n*n+i*i),rMath.atan2(i,n);return r-.5*Math.PI&&(r+2*Math.PI),{angle:r,distance:a}},H.distanceBetweenPointsfunction(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},H.aliasPixelfunction(t){return t%20?0:.5},H._alignPixelfunction(t,e,n){var it.currentDevicePixelRatio,an/2;return Math.round((e-a)*i)/i+a},H.splineCurvefunction(t,e,n,i){var at.skip?e:t,re,on.skip?e:n,sMath.sqrt(Math.pow(r.x-a.x,2)+Math.pow(r.y-a.y,2)),lMath.sqrt(Math.pow(o.x-r.x,2)+Math.pow(o.y-r.y,2)),us/(s+l),dl/(s+l),hi*(uisNaN(u)?0:u),ci*(disNaN(d)?0:d);return{previous:{x:r.x-h*(o.x-a.x),y:r.y-h*(o.y-a.y)},next:{x:r.x+c*(o.x-a.x),y:r.y+c*(o.y-a.y)}}},H.EPSILONNumber.EPSILON||1e-14,H.splineCurveMonotonefunction(t){var e,n,i,a,r,o,s,l,u,d(t||).map((function(t){return{model:t._model,deltaK:0,mK:0}})),hd.length;for(e0;eh;++e)if(!(ide).model.skip){if(ne>0?de-1:null,(aeh-1?de+1:null)&&!a.model.skip){var ca.model.x-i.model.x;i.deltaK0!c?(a.model.y-i.model.y)/c:0}!n||n.model.skip?i.mKi.deltaK:!a||a.model.skip?i.mKn.deltaK:this.sign(n.deltaK)!this.sign(i.deltaK)?i.mK0:i.mK(n.deltaK+i.deltaK)/2}for(e0;eh-1;++e)ide,ade+1,i.model.skip||a.model.skip||(H.almostEquals(i.deltaK,0,this.EPSILON)?i.mKa.mK0:(ri.mK/i.deltaK,oa.mK/i.deltaK,(lMath.pow(r,2)+Math.pow(o,2))9||(s3/Math.sqrt(l),i.mKr*s*i.deltaK,a.mKo*s*i.deltaK)));for(e0;eh;++e)(ide).model.skip||(ne>0?de-1:null,aeh-1?de+1:null,n&&!n.model.skip&&(u(i.model.x-n.model.x)/3,i.model.controlPointPreviousXi.model.x-u,i.model.controlPointPreviousYi.model.y-u*i.mK),a&&!a.model.skip&&(u(a.model.x-i.model.x)/3,i.model.controlPointNextXi.model.x+u,i.model.controlPointNextYi.model.y+u*i.mK))},H.nextItemfunction(t,e,n){return n?e>t.length-1?t0:te+1:e>t.length-1?tt.length-1:te+1},H.previousItemfunction(t,e,n){return n?e0?tt.length-1:te-1:e0?t0:te-1},H.niceNumfunction(t,e){var nMath.floor(H.log10(t)),it/Math.pow(10,n);return(e?i1.5?1:i3?2:i7?5:10:i1?1:i2?2:i5?5:10)*Math.pow(10,n)},H.requestAnimFrameundefinedtypeof window?function(t){t()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)},H.getRelativePositionfunction(t,e){var n,i,at.originalEvent||t,rt.target||t.srcElement,or.getBoundingClientRect(),sa.touches;s&&s.length>0?(ns0.clientX,is0.clientY):(na.clientX,ia.clientY);var lparseFloat(H.getStyle(r,padding-left)),uparseFloat(H.getStyle(r,padding-top)),dparseFloat(H.getStyle(r,padding-right)),hparseFloat(H.getStyle(r,padding-bottom)),co.right-o.left-l-d,fo.bottom-o.top-u-h;return{x:nMath.round((n-o.left-l)/c*r.width/e.currentDevicePixelRatio),y:iMath.round((i-o.top-u)/f*r.height/e.currentDevicePixelRatio)}},H.getConstraintWidthfunction(t){return n(t,max-width,clientWidth)},H.getConstraintHeightfunction(t){return n(t,max-height,clientHeight)},H._calculatePaddingfunction(t,e,n){return(eH.getStyle(t,e)).indexOf(%)>-1?n*parseInt(e,10)/100:parseInt(e,10)},H._getParentNodefunction(t){var et.parentNode;return e&&object ShadowRoote.toString()&&(ee.host),e},H.getMaximumWidthfunction(t){var eH._getParentNode(t);if(!e)return t.clientWidth;var ne.clientWidth,in-H._calculatePadding(e,padding-left,n)-H._calculatePadding(e,padding-right,n),aH.getConstraintWidth(t);return isNaN(a)?i:Math.min(i,a)},H.getMaximumHeightfunction(t){var eH._getParentNode(t);if(!e)return t.clientHeight;var ne.clientHeight,in-H._calculatePadding(e,padding-top,n)-H._calculatePadding(e,padding-bottom,n),aH.getConstraintHeight(t);return isNaN(a)?i:Math.min(i,a)},H.getStylefunction(t,e){return t.currentStyle?t.currentStylee:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},H.retinaScalefunction(t,e){var nt.currentDevicePixelRatioe||undefined!typeof window&&window.devicePixelRatio||1;if(1!n){var it.canvas,at.height,rt.width;i.heighta*n,i.widthr*n,t.ctx.scale(n,n),i.style.height||i.style.width||(i.style.heighta+px,i.style.widthr+px)}},H.fontStringfunction(t,e,n){return e+ +t+px +n},H.longestTextfunction(t,e,n,i){var a(ii||{}).datai.data||{},ri.garbageCollecti.garbageCollect||;i.font!e&&(ai.data{},ri.garbageCollect,i.fonte),t.fonte;var o,s,l,u,d,h0,cn.length;for(o0;oc;o++)if(null!(uno)&&!0!H.isArray(u))hH.measureText(t,a,r,h,u);else if(H.isArray(u))for(s0,lu.length;sl;s++)null(dus)||H.isArray(d)||(hH.measureText(t,a,r,h,d));var fr.length/2;if(f>n.length){for(o0;of;o++)delete aro;r.splice(0,f)}return h},H.measureTextfunction(t,e,n,i,a){var rea;return r||(reat.measureText(a).width,n.push(a)),r>i&&(ir),i},H.numberOfLabelLinesfunction(t){var e1;return H.each(t,(function(t){H.isArray(t)&&t.length>e&&(et.length)})),e},H.color_?function(t){return t instanceof CanvasGradient&&(tN.global.defaultColor),_(t)}:function(t){return console.error(Color.js not found!),t},H.getHoverColorfunction(t){return t instanceof CanvasPattern||t instanceof CanvasGradient?t:H.color(t).saturate(.5).darken(.1).rgbString()}}(),en._adaptersrn,en.Animation$,en.animationServiceJ,en.controllersJt,en.DatasetControllerit,en.defaultsN,en.ElementK,en.elementskt,en.Interactionre,en.layoutspe,en.platformOe,en.pluginsLe,en.Scaleyn,en.scaleServiceRe,en.Tickson,en.TooltipYe,en.helpers.each(fi,(function(t,e){en.scaleService.registerScaleType(e,t,t._defaults)})),Li)Li.hasOwnProperty(Bi)&&en.plugins.register(LiBi);en.platform.initialize();var Eien;returnundefined!typeof window&&(window.Charten),en.Charten,en.LegendLi.legend._element,en.TitleLi.title._element,en.pluginServiceen.plugins,en.PluginBaseen.Element.extend({}),en.canvasHelpersen.helpers.canvas,en.layoutServiceen.layouts,en.LinearScaleBaseCn,en.helpers.each(Bar,Bubble,Doughnut,Line,PolarArea,Radar,Scatter,(function(t){entfunction(e,n){return new en(e,en.helpers.merge(n||{},{type:t.charAt(0).toLowerCase()+t.slice(1)}))}})),Ei}));/script>script data-srcplugins/jquery-sparkline/jquery.sparkline.min.js>(function(document,Math,undefined){(function(factory){if(typeof definefunction&&define.amd){define(jquery,factory)}else if(jQuery&&!jQuery.fn.sparkline){factory(jQuery)}})(function($){use strict;var UNSET_OPTION{},getDefaults,createClass,SPFormat,clipval,quartile,normalizeValue,normalizeValues,remove,isNumber,all,sum,addCSS,ensureArray,formatNumber,RangeMap,MouseHandler,Tooltip,barHighlightMixin,line,bar,tristate,discrete,bullet,pie,box,defaultStyles,initStyles,VShape,VCanvas_base,VCanvas_canvas,VCanvas_vml,pending,shapeCount0;getDefaultsfunction(){return{common:{type:line,lineColor:#00f,fillColor:#cdf,defaultPixelsPerValue:3,width:auto,height:auto,composite:false,tagValuesAttribute:values,tagOptionsPrefix:spark,enableTagOptions:false,enableHighlight:true,highlightLighten:1.4,tooltipSkipNull:true,tooltipPrefix:,tooltipSuffix:,disableHiddenCheck:false,numberFormatter:false,numberDigitGroupCount:3,numberDigitGroupSep:,,numberDecimalMark:.,disableTooltips:false,disableInteraction:false},line:{spotColor:#f80,highlightSpotColor:#5f5,highlightLineColor:#f22,spotRadius:1.5,minSpotColor:#f80,maxSpotColor:#f80,lineWidth:1,normalRangeMin:undefined,normalRangeMax:undefined,normalRangeColor:#ccc,drawNormalOnTop:false,chartRangeMin:undefined,chartRangeMax:undefined,chartRangeMinX:undefined,chartRangeMaxX:undefined,tooltipFormat:new SPFormat(span stylecolor: {{color}}>●/span> {{prefix}}{{y}}{{suffix}})},bar:{barColor:#3366cc,negBarColor:#f44,stackedBarColor:#3366cc,#dc3912,#ff9900,#109618,#66aa00,#dd4477,#0099c6,#990099,zeroColor:undefined,nullColor:undefined,zeroAxis:true,barWidth:4,barSpacing:1,chartRangeMax:undefined,chartRangeMin:undefined,chartRangeClip:false,colorMap:undefined,tooltipFormat:new SPFormat(span stylecolor: {{color}}>●/span> {{prefix}}{{value}}{{suffix}})},tristate:{barWidth:4,barSpacing:1,posBarColor:#6f6,negBarColor:#f44,zeroBarColor:#999,colorMap:{},tooltipFormat:new SPFormat(span stylecolor: {{color}}>●/span> {{value:map}}),tooltipValueLookups:{map:{-1:Loss,0:Draw,1:Win}}},discrete:{lineHeight:auto,thresholdColor:undefined,thresholdValue:0,chartRangeMax:undefined,chartRangeMin:undefined,chartRangeClip:false,tooltipFormat:new SPFormat({{prefix}}{{value}}{{suffix}})},bullet:{targetColor:#f33,targetWidth:3,performanceColor:#33f,rangeColors:#d3dafe,#a8b6ff,#7f94ff,base:undefined,tooltipFormat:new SPFormat({{fieldkey:fields}} - {{value}}),tooltipValueLookups:{fields:{r:Range,p:Performance,t:Target}}},pie:{offset:0,sliceColors:#3366cc,#dc3912,#ff9900,#109618,#66aa00,#dd4477,#0099c6,#990099,borderWidth:0,borderColor:#000,tooltipFormat:new SPFormat(span stylecolor: {{color}}>●/span> {{value}} ({{percent.1}}%))},box:{raw:false,boxLineColor:#000,boxFillColor:#cdf,whiskerColor:#000,outlierLineColor:#333,outlierFillColor:#fff,medianColor:#f00,showOutliers:true,outlierIQR:1.5,spotRadius:1.5,target:undefined,targetColor:#4a2,chartRangeMax:undefined,chartRangeMin:undefined,tooltipFormat:new SPFormat({{field:fields}}: {{value}}),tooltipFormatFieldlistKey:field,tooltipValueLookups:{fields:{lq:Lower Quartile,med:Median,uq:Upper Quartile,lo:Left Outlier,ro:Right Outlier,lw:Left Whisker,rw:Right Whisker}}}}};defaultStyles.jqstooltip { +position: absolute;+left: 0px;+top: 0px;+visibility: hidden;+background: rgb(0, 0, 0) transparent;+background-color: rgba(0,0,0,0.6);+filter:progid:DXImageTransform.Microsoft.gradient(startColorstr#99000000, endColorstr#99000000);+-ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr#99000000, endColorstr#99000000);+color: white;+font: 10px arial, san serif;+text-align: left;+white-space: nowrap;+padding: 5px;+border: 1px solid white;+box-sizing: content-box;+z-index: 10000;+}+.jqsfield { +color: white;+font: 10px arial, san serif;+text-align: left;+};createClassfunction(){var Class,args;Classfunction(){this.init.apply(this,arguments)};if(arguments.length>1){if(arguments0){Class.prototype$.extend(new arguments0,argumentsarguments.length-1);Class._superarguments0.prototype}else{Class.prototypeargumentsarguments.length-1}if(arguments.length>2){argsArray.prototype.slice.call(arguments,1,-1);args.unshift(Class.prototype);$.extend.apply($,args)}}else{Class.prototypearguments0}Class.prototype.clsClass;return Class};$.SPFormatClassSPFormatcreateClass({fre:/\{\{(\w.+?)(:(.+?))?\}\}/g,precre:/(\w+)\.(\d+)/,init:function(format,fclass){this.formatformat;this.fclassfclass},render:function(fieldset,lookups,options){var selfthis,fieldsfieldset,match,token,lookupkey,fieldvalue,prec;return this.format.replace(this.fre,function(){var lookup;tokenarguments1;lookupkeyarguments3;matchself.precre.exec(token);if(match){precmatch2;tokenmatch1}else{precfalse}fieldvaluefieldstoken;if(fieldvalueundefined){return}if(lookupkey&&lookups&&lookupslookupkey){lookuplookupslookupkey;if(lookup.get){return lookupslookupkey.get(fieldvalue)||fieldvalue}else{return lookupslookupkeyfieldvalue||fieldvalue}}if(isNumber(fieldvalue)){if(options.get(numberFormatter)){fieldvalueoptions.get(numberFormatter)(fieldvalue)}else{fieldvalueformatNumber(fieldvalue,prec,options.get(numberDigitGroupCount),options.get(numberDigitGroupSep),options.get(numberDecimalMark))}}return fieldvalue})}});$.spformatfunction(format,fclass){return new SPFormat(format,fclass)};clipvalfunction(val,min,max){if(valmin){return min}if(val>max){return max}return val};quartilefunction(values,q){var vl;if(q2){vlMath.floor(values.length/2);return values.length%2?valuesvl:(valuesvl-1+valuesvl)/2}else{if(values.length%2){vl(values.length*q+q)/4;return vl%1?(valuesMath.floor(vl)+valuesMath.floor(vl)-1)/2:valuesvl-1}else{vl(values.length*q+2)/4;return vl%1?(valuesMath.floor(vl)+valuesMath.floor(vl)-1)/2:valuesvl-1}}};normalizeValuefunction(val){var nf;switch(val){caseundefined:valundefined;break;casenull:valnull;break;casetrue:valtrue;break;casefalse:valfalse;break;default:nfparseFloat(val);if(valnf){valnf}}return val};normalizeValuesfunction(vals){var i,result;for(ivals.length;i--;){resultinormalizeValue(valsi)}return result};removefunction(vals,filter){var i,vl,result;for(i0,vlvals.length;ivl;i++){if(valsi!filter){result.push(valsi)}}return result};isNumberfunction(num){return!isNaN(parseFloat(num))&&isFinite(num)};formatNumberfunction(num,prec,groupsize,groupsep,decsep){var p,i;num(precfalse?parseFloat(num).toString():num.toFixed(prec)).split();p(p$.inArray(.,num))0?num.length:p;if(pnum.length){numpdecsep}for(ip-groupsize;i>0;i-groupsize){num.splice(i,0,groupsep)}return num.join()};allfunction(val,arr,ignoreNull){var i;for(iarr.length;i--;){if(ignoreNull&&arrinull)continue;if(arri!val){return false}}return true};sumfunction(vals){var total0,i;for(ivals.length;i--;){total+typeof valsinumber?valsi:0}return total};ensureArrayfunction(val){return $.isArray(val)?val:val};addCSSfunction(css){var tag,iefail;if(document.createStyleSheet){try{document.createStyleSheet().cssTextcss;return}catch(e){iefailtrue}}tagdocument.createElement(style);tag.typetext/css;document.getElementsByTagName(head)0.appendChild(tag);if(iefail){document.styleSheetsdocument.styleSheets.length-1.cssTextcss}else{tagtypeof document.body.style.WebkitAppearancestring?innerText:innerHTMLcss}};$.fn.simpledrawfunction(width,height,useExisting,interact){var target,mhandler;if(useExisting&&(targetthis.data(_jqs_vcanvas))){return target}if($.fn.sparkline.canvasfalse){return false}else if($.fn.sparkline.canvasundefined){var eldocument.createElement(canvas);if(!!(el.getContext&&el.getContext(2d))){$.fn.sparkline.canvasfunction(width,height,target,interact){return new VCanvas_canvas(width,height,target,interact)}}else if(document.namespaces&&!document.namespaces.v){document.namespaces.add(v,urn:schemas-microsoft-com:vml,#default#VML);$.fn.sparkline.canvasfunction(width,height,target,interact){return new VCanvas_vml(width,height,target)}}else{$.fn.sparkline.canvasfalse;return false}}if(widthundefined){width$(this).innerWidth()}if(heightundefined){height$(this).innerHeight()}target$.fn.sparkline.canvas(width,height,this,interact);mhandler$(this).data(_jqs_mhandler);if(mhandler){mhandler.registerCanvas(target)}return target};$.fn.cleardrawfunction(){var targetthis.data(_jqs_vcanvas);if(target){target.reset()}};$.RangeMapClassRangeMapcreateClass({init:function(map){var key,range,rangelist;for(key in map){if(map.hasOwnProperty(key)&&typeof keystring&&key.indexOf(:)>-1){rangekey.split(:);range0range0.length0?-Infinity:parseFloat(range0);range1range1.length0?Infinity:parseFloat(range1);range2mapkey;rangelist.push(range)}}this.mapmap;this.rangelistrangelist||false},get:function(value){var rangelistthis.rangelist,i,range,result;if((resultthis.mapvalue)!undefined){return result}if(rangelist){for(irangelist.length;i--;){rangerangelisti;if(range0value&&range1>value){return range2}}}return undefined}});$.range_mapfunction(map){return new RangeMap(map)};MouseHandlercreateClass({init:function(el,options){var $el$(el);this.$el$el;this.optionsoptions;this.currentPageX0;this.currentPageY0;this.elel;this.splist;this.tooltipnull;this.overfalse;this.displayTooltips!options.get(disableTooltips);this.highlightEnabled!options.get(disableHighlight)},registerSparkline:function(sp){this.splist.push(sp);if(this.over){this.updateDisplay()}},registerCanvas:function(canvas){var $canvas$(canvas.canvas);this.canvascanvas;this.$canvas$canvas;$canvas.mouseenter($.proxy(this.mouseenter,this));$canvas.mouseleave($.proxy(this.mouseleave,this));$canvas.click($.proxy(this.mouseclick,this))},reset:function(removeTooltip){this.splist;if(this.tooltip&&removeTooltip){this.tooltip.remove();this.tooltipundefined}},mouseclick:function(e){var clickEvent$.Event(sparklineClick);clickEvent.originalEvente;clickEvent.sparklinesthis.splist;this.$el.trigger(clickEvent)},mouseenter:function(e){$(document.body).unbind(mousemove.jqs);$(document.body).bind(mousemove.jqs,$.proxy(this.mousemove,this));this.overtrue;this.currentPageXe.pageX;this.currentPageYe.pageY;this.currentEle.target;if(!this.tooltip&&this.displayTooltips){this.tooltipnew Tooltip(this.options);this.tooltip.updatePosition(e.pageX,e.pageY)}this.updateDisplay()},mouseleave:function(){$(document.body).unbind(mousemove.jqs);var splistthis.splist,spcountsplist.length,needsRefreshfalse,sp,i;this.overfalse;this.currentElnull;if(this.tooltip){this.tooltip.remove();this.tooltipnull}for(i0;ispcount;i++){spsplisti;if(sp.clearRegionHighlight()){needsRefreshtrue}}if(needsRefresh){this.canvas.render()}},mousemove:function(e){this.currentPageXe.pageX;this.currentPageYe.pageY;this.currentEle.target;if(this.tooltip){this.tooltip.updatePosition(e.pageX,e.pageY)}this.updateDisplay()},updateDisplay:function(){var splistthis.splist,spcountsplist.length,needsRefreshfalse,offsetthis.$canvas.offset(),localXthis.currentPageX-offset.left,localYthis.currentPageY-offset.top,tooltiphtml,sp,i,result,changeEvent;if(!this.over){return}for(i0;ispcount;i++){spsplisti;resultsp.setRegionHighlight(this.currentEl,localX,localY);if(result){needsRefreshtrue}}if(needsRefresh){changeEvent$.Event(sparklineRegionChange);changeEvent.sparklinesthis.splist;this.$el.trigger(changeEvent);if(this.tooltip){tooltiphtml;for(i0;ispcount;i++){spsplisti;tooltiphtml+sp.getCurrentRegionTooltip()}this.tooltip.setContent(tooltiphtml)}if(!this.disableHighlight){this.canvas.render()}}if(resultnull){this.mouseleave()}}});TooltipcreateClass({sizeStyle:position: static !important;+display: block !important;+visibility: hidden !important;+float: left !important;,init:function(options){var tooltipClassnameoptions.get(tooltipClassname,jqstooltip),sizetipStylethis.sizeStyle,offset;this.containeroptions.get(tooltipContainer)||document.body;this.tooltipOffsetXoptions.get(tooltipOffsetX,10);this.tooltipOffsetYoptions.get(tooltipOffsetY,12);$(#jqssizetip).remove();$(#jqstooltip).remove();this.sizetip$(div/>,{id:jqssizetip,style:sizetipStyle,class:tooltipClassname});this.tooltip$(div/>,{id:jqstooltip,class:tooltipClassname}).appendTo(this.container);offsetthis.tooltip.offset();this.offsetLeftoffset.left;this.offsetTopoffset.top;this.hiddentrue;$(window).unbind(resize.jqs scroll.jqs);$(window).bind(resize.jqs scroll.jqs,$.proxy(this.updateWindowDims,this));this.updateWindowDims()},updateWindowDims:function(){this.scrollTop$(window).scrollTop();this.scrollLeft$(window).scrollLeft();this.scrollRightthis.scrollLeft+$(window).width();this.updatePosition()},getSize:function(content){this.sizetip.html(content).appendTo(this.container);this.widththis.sizetip.width()+1;this.heightthis.sizetip.height();this.sizetip.remove()},setContent:function(content){if(!content){this.tooltip.css(visibility,hidden);this.hiddentrue;return}this.getSize(content);this.tooltip.html(content).css({width:this.width,height:this.height,visibility:visible});if(this.hidden){this.hiddenfalse;this.updatePosition()}},updatePosition:function(x,y){if(xundefined){if(this.mousexundefined){return}xthis.mousex-this.offsetLeft;ythis.mousey-this.offsetTop}else{this.mousexxx-this.offsetLeft;this.mouseyyy-this.offsetTop}if(!this.height||!this.width||this.hidden){return}y-this.height+this.tooltipOffsetY;x+this.tooltipOffsetX;if(ythis.scrollTop){ythis.scrollTop}if(xthis.scrollLeft){xthis.scrollLeft}else if(x+this.width>this.scrollRight){xthis.scrollRight-this.width}this.tooltip.css({left:x,top:y})},remove:function(){this.tooltip.remove();this.sizetip.remove();this.sizetipthis.tooltipundefined;$(window).unbind(resize.jqs scroll.jqs)}});initStylesfunction(){addCSS(defaultStyles)};$(initStyles);pending;$.fn.sparklinefunction(userValues,userOptions){return this.each(function(){var optionsnew $.fn.sparkline.options(this,userOptions),$this$(this),render,i;renderfunction(){var values,width,height,tmp,mhandler,sp,vals;if(userValueshtml||userValuesundefined){valsthis.getAttribute(options.get(tagValuesAttribute));if(valsundefined||valsnull){vals$this.html()}valuesvals.replace(/(^\s*)|(\s*$)|\s+/g,).split(,)}else{valuesuserValues}widthoptions.get(width)auto?values.length*options.get(defaultPixelsPerValue):options.get(width);if(options.get(height)auto){if(!options.get(composite)||!$.data(this,_jqs_vcanvas)){tmpdocument.createElement(span);tmp.innerHTMLa;$this.html(tmp);height$(tmp).innerHeight()||$(tmp).height();$(tmp).remove();tmpnull}}else{heightoptions.get(height)}if(!options.get(disableInteraction)){mhandler$.data(this,_jqs_mhandler);if(!mhandler){mhandlernew MouseHandler(this,options);$.data(this,_jqs_mhandler,mhandler)}else if(!options.get(composite)){mhandler.reset()}}else{mhandlerfalse}if(options.get(composite)&&!$.data(this,_jqs_vcanvas)){if(!$.data(this,_jqs_errnotify)){alert(Attempted to attach a composite sparkline to an element with no existing sparkline);$.data(this,_jqs_errnotify,true)}return}spnew($.fn.sparklineoptions.get(type))(this,values,options,width,height);sp.render();if(mhandler){mhandler.registerSparkline(sp)}};if($(this).html()&&!options.get(disableHiddenCheck)&&$(this).is(:hidden)||!$(this).parents(body).length){if(!options.get(composite)&&$.data(this,_jqs_pending)){for(ipending.length;i;i--){if(pendingi-10this){pending.splice(i-1,1)}}}pending.push(this,render);$.data(this,_jqs_pending,true)}else{render.call(this)}})};$.fn.sparkline.defaultsgetDefaults();$.sparkline_display_visiblefunction(){var el,i,pl;var done;for(i0,plpending.length;ipl;i++){elpendingi0;if($(el).is(:visible)&&!$(el).parents().is(:hidden)){pendingi1.call(el);$.data(pendingi0,_jqs_pending,false);done.push(i)}else if(!$(el).closest(html).length&&!$.data(el,_jqs_pending)){$.data(pendingi0,_jqs_pending,false);done.push(i)}}for(idone.length;i;i--){pending.splice(donei-1,1)}};$.fn.sparkline.optionscreateClass({init:function(tag,userOptions){var extendedOptions,defaults,base,tagOptionType;this.userOptionsuserOptionsuserOptions||{};this.tagtag;this.tagValCache{};defaults$.fn.sparkline.defaults;basedefaults.common;this.tagOptionsPrefixuserOptions.enableTagOptions&&(userOptions.tagOptionsPrefix||base.tagOptionsPrefix);tagOptionTypethis.getTagSetting(type);if(tagOptionTypeUNSET_OPTION){extendedOptionsdefaultsuserOptions.type||base.type}else{extendedOptionsdefaultstagOptionType}this.mergedOptions$.extend({},base,extendedOptions,userOptions)},getTagSetting:function(key){var prefixthis.tagOptionsPrefix,val,i,pairs,keyval;if(prefixfalse||prefixundefined){return UNSET_OPTION}if(this.tagValCache.hasOwnProperty(key)){valthis.tagValCache.key}else{valthis.tag.getAttribute(prefix+key);if(valundefined||valnull){valUNSET_OPTION}else if(val.substr(0,1)){valval.substr(1,val.length-2).split(,);for(ival.length;i--;){valinormalizeValue(vali.replace(/(^\s*)|(\s*$)/g,))}}else if(val.substr(0,1){){pairsval.substr(1,val.length-2).split(,);val{};for(ipairs.length;i--;){keyvalpairsi.split(:,2);valkeyval0.replace(/(^\s*)|(\s*$)/g,)normalizeValue(keyval1.replace(/(^\s*)|(\s*$)/g,))}}else{valnormalizeValue(val)}this.tagValCache.keyval}return val},get:function(key,defaultval){var tagOptionthis.getTagSetting(key),result;if(tagOption!UNSET_OPTION){return tagOption}return(resultthis.mergedOptionskey)undefined?defaultval:result}});$.fn.sparkline._basecreateClass({disabled:false,init:function(el,values,options,width,height){this.elel;this.$el$(el);this.valuesvalues;this.optionsoptions;this.widthwidth;this.heightheight;this.currentRegionundefined},initTarget:function(){var interactive!this.options.get(disableInteraction);if(!(this.targetthis.$el.simpledraw(this.width,this.height,this.options.get(composite),interactive))){this.disabledtrue}else{this.canvasWidththis.target.pixelWidth;this.canvasHeightthis.target.pixelHeight}},render:function(){if(this.disabled){this.el.innerHTML;return false}return true},getRegion:function(x,y){},setRegionHighlight:function(el,x,y){var currentRegionthis.currentRegion,highlightEnabled!this.options.get(disableHighlight),newRegion;if(x>this.canvasWidth||y>this.canvasHeight||x0||y0){return null}newRegionthis.getRegion(el,x,y);if(currentRegion!newRegion){if(currentRegion!undefined&&highlightEnabled){this.removeHighlight()}this.currentRegionnewRegion;if(newRegion!undefined&&highlightEnabled){this.renderHighlight()}return true}return false},clearRegionHighlight:function(){if(this.currentRegion!undefined){this.removeHighlight();this.currentRegionundefined;return true}return false},renderHighlight:function(){this.changeHighlight(true)},removeHighlight:function(){this.changeHighlight(false)},changeHighlight:function(highlight){},getCurrentRegionTooltip:function(){var optionsthis.options,header,entries,fields,formats,formatlen,fclass,text,i,showFields,showFieldsKey,newFields,fv,formatter,format,fieldlen,j;if(this.currentRegionundefined){return}fieldsthis.getCurrentRegionFields();formatteroptions.get(tooltipFormatter);if(formatter){return formatter(this,options,fields)}if(options.get(tooltipChartTitle)){header+div classjqs jqstitle>+options.get(tooltipChartTitle)+/div>\n}formatsthis.options.get(tooltipFormat);if(!formats){return}if(!$.isArray(formats)){formatsformats}if(!$.isArray(fields)){fieldsfields}showFieldsthis.options.get(tooltipFormatFieldlist);showFieldsKeythis.options.get(tooltipFormatFieldlistKey);if(showFields&&showFieldsKey){newFields;for(ifields.length;i--;){fvfieldsishowFieldsKey;if((j$.inArray(fv,showFields))!-1){newFieldsjfieldsi}}fieldsnewFields}formatlenformats.length;fieldlenfields.length;for(i0;iformatlen;i++){formatformatsi;if(typeof formatstring){formatnew SPFormat(format)}fclassformat.fclass||jqsfield;for(j0;jfieldlen;j++){if(!fieldsj.isNull||!options.get(tooltipSkipNull)){$.extend(fieldsj,{prefix:options.get(tooltipPrefix),suffix:options.get(tooltipSuffix)});textformat.render(fieldsj,options.get(tooltipValueLookups),options);entries.push(div class+fclass+>+text+/div>)}}}if(entries.length){return header+entries.join(\n)}return},getCurrentRegionFields:function(){},calcHighlightColor:function(color,options){var highlightColoroptions.get(highlightColor),lightenoptions.get(highlightLighten),parse,mult,rgbnew,i;if(highlightColor){return highlightColor}if(lighten){parse/^#(0-9a-f)(0-9a-f)(0-9a-f)$/i.exec(color)||/^#(0-9a-f{2})(0-9a-f{2})(0-9a-f{2})$/i.exec(color);if(parse){rgbnew;multcolor.length4?16:1;for(i0;i3;i++){rgbnewiclipval(Math.round(parseInt(parsei+1,16)*mult*lighten),0,255)}returnrgb(+rgbnew.join(,)+)}}return color}});barHighlightMixin{changeHighlight:function(highlight){var currentRegionthis.currentRegion,targetthis.target,shapeidsthis.regionShapescurrentRegion,newShapes;if(shapeids){newShapesthis.renderRegion(currentRegion,highlight);if($.isArray(newShapes)||$.isArray(shapeids)){target.replaceWithShapes(shapeids,newShapes);this.regionShapescurrentRegion$.map(newShapes,function(newShape){return newShape.id})}else{target.replaceWithShape(shapeids,newShapes);this.regionShapescurrentRegionnewShapes.id}}},render:function(){var valuesthis.values,targetthis.target,regionShapesthis.regionShapes,shapes,ids,i,j;if(!this.cls._super.render.call(this)){return}for(ivalues.length;i--;){shapesthis.renderRegion(i);if(shapes){if($.isArray(shapes)){ids;for(jshapes.length;j--;){shapesj.append();ids.push(shapesj.id)}regionShapesiids}else{shapes.append();regionShapesishapes.id}}else{regionShapesinull}}target.render()}};$.fn.sparkline.linelinecreateClass($.fn.sparkline._base,{type:line,init:function(el,values,options,width,height){line._super.init.call(this,el,values,options,width,height);this.vertices;this.regionMap;this.xvalues;this.yvalues;this.yminmax;this.hightlightSpotIdnull;this.lastShapeIdnull;this.initTarget()},getRegion:function(el,x,y){var i,regionMapthis.regionMap;for(iregionMap.length;i--;){if(regionMapi!null&&x>regionMapi0&&xregionMapi1){return regionMapi2}}return undefined},getCurrentRegionFields:function(){var currentRegionthis.currentRegion;return{isNull:this.yvaluescurrentRegionnull,x:this.xvaluescurrentRegion,y:this.yvaluescurrentRegion,color:this.options.get(lineColor),fillColor:this.options.get(fillColor),offset:currentRegion}},renderHighlight:function(){var currentRegionthis.currentRegion,targetthis.target,vertexthis.verticescurrentRegion,optionsthis.options,spotRadiusoptions.get(spotRadius),highlightSpotColoroptions.get(highlightSpotColor),highlightLineColoroptions.get(highlightLineColor),highlightSpot,highlightLine;if(!vertex){return}if(spotRadius&&highlightSpotColor){highlightSpottarget.drawCircle(vertex0,vertex1,spotRadius,undefined,highlightSpotColor);this.highlightSpotIdhighlightSpot.id;target.insertAfterShape(this.lastShapeId,highlightSpot)}if(highlightLineColor){highlightLinetarget.drawLine(vertex0,this.canvasTop,vertex0,this.canvasTop+this.canvasHeight,highlightLineColor);this.highlightLineIdhighlightLine.id;target.insertAfterShape(this.lastShapeId,highlightLine)}},removeHighlight:function(){var targetthis.target;if(this.highlightSpotId){target.removeShapeId(this.highlightSpotId);this.highlightSpotIdnull}if(this.highlightLineId){target.removeShapeId(this.highlightLineId);this.highlightLineIdnull}},scanValues:function(){var valuesthis.values,valcountvalues.length,xvaluesthis.xvalues,yvaluesthis.yvalues,yminmaxthis.yminmax,i,val,isStr,isArray,sp;for(i0;ivalcount;i++){valvaluesi;isStrtypeof valuesistring;isArraytypeof valuesiobject&&valuesiinstanceof Array;spisStr&&valuesi.split(:);if(isStr&&sp.length2){xvalues.push(Number(sp0));yvalues.push(Number(sp1));yminmax.push(Number(sp1))}else if(isArray){xvalues.push(val0);yvalues.push(val1);yminmax.push(val1)}else{xvalues.push(i);if(valuesinull||valuesinull){yvalues.push(null)}else{yvalues.push(Number(val));yminmax.push(Number(val))}}}if(this.options.get(xvalues)){xvaluesthis.options.get(xvalues)}this.maxythis.maxyorgMath.max.apply(Math,yminmax);this.minythis.minyorgMath.min.apply(Math,yminmax);this.maxxMath.max.apply(Math,xvalues);this.minxMath.min.apply(Math,xvalues);this.xvaluesxvalues;this.yvaluesyvalues;this.yminmaxyminmax},processRangeOptions:function(){var optionsthis.options,normalRangeMinoptions.get(normalRangeMin),normalRangeMaxoptions.get(normalRangeMax);if(normalRangeMin!undefined){if(normalRangeMinthis.miny){this.minynormalRangeMin}if(normalRangeMax>this.maxy){this.maxynormalRangeMax}}if(options.get(chartRangeMin)!undefined&&(options.get(chartRangeClip)||options.get(chartRangeMin)this.miny)){this.minyoptions.get(chartRangeMin)}if(options.get(chartRangeMax)!undefined&&(options.get(chartRangeClip)||options.get(chartRangeMax)>this.maxy)){this.maxyoptions.get(chartRangeMax)}if(options.get(chartRangeMinX)!undefined&&(options.get(chartRangeClipX)||options.get(chartRangeMinX)this.minx)){this.minxoptions.get(chartRangeMinX)}if(options.get(chartRangeMaxX)!undefined&&(options.get(chartRangeClipX)||options.get(chartRangeMaxX)>this.maxx)){this.maxxoptions.get(chartRangeMaxX)}},drawNormalRange:function(canvasLeft,canvasTop,canvasHeight,canvasWidth,rangey){var normalRangeMinthis.options.get(normalRangeMin),normalRangeMaxthis.options.get(normalRangeMax),ytopcanvasTop+Math.round(canvasHeight-canvasHeight*((normalRangeMax-this.miny)/rangey)),heightMath.round(canvasHeight*(normalRangeMax-normalRangeMin)/rangey);this.target.drawRect(canvasLeft,ytop,canvasWidth,height,undefined,this.options.get(normalRangeColor)).append()},render:function(){var optionsthis.options,targetthis.target,canvasWidththis.canvasWidth,canvasHeightthis.canvasHeight,verticesthis.vertices,spotRadiusoptions.get(spotRadius),regionMapthis.regionMap,rangex,rangey,yvallast,canvasTop,canvasLeft,vertex,path,paths,x,y,xnext,xpos,xposnext,last,next,yvalcount,lineShapes,fillShapes,plen,valueSpots,hlSpotsEnabled,color,xvalues,yvalues,i;if(!line._super.render.call(this)){return}this.scanValues();this.processRangeOptions();xvaluesthis.xvalues;yvaluesthis.yvalues;if(!this.yminmax.length||this.yvalues.length2){return}canvasTopcanvasLeft0;rangexthis.maxx-this.minx0?1:this.maxx-this.minx;rangeythis.maxy-this.miny0?1:this.maxy-this.miny;yvallastthis.yvalues.length-1;if(spotRadius&&(canvasWidthspotRadius*4||canvasHeightspotRadius*4)){spotRadius0}if(spotRadius){hlSpotsEnabledoptions.get(highlightSpotColor)&&!options.get(disableInteraction);if(hlSpotsEnabled||options.get(minSpotColor)||options.get(spotColor)&&yvaluesyvallastthis.miny){canvasHeight-Math.ceil(spotRadius)}if(hlSpotsEnabled||options.get(maxSpotColor)||options.get(spotColor)&&yvaluesyvallastthis.maxy){canvasHeight-Math.ceil(spotRadius);canvasTop+Math.ceil(spotRadius)}if(hlSpotsEnabled||(options.get(minSpotColor)||options.get(maxSpotColor))&&(yvalues0this.miny||yvalues0this.maxy)){canvasLeft+Math.ceil(spotRadius);canvasWidth-Math.ceil(spotRadius)}if(hlSpotsEnabled||options.get(spotColor)||(options.get(minSpotColor)||options.get(maxSpotColor)&&(yvaluesyvallastthis.miny||yvaluesyvallastthis.maxy))){canvasWidth-Math.ceil(spotRadius)}}canvasHeight--;if(options.get(normalRangeMin)!undefined&&!options.get(drawNormalOnTop)){this.drawNormalRange(canvasLeft,canvasTop,canvasHeight,canvasWidth,rangey)}path;pathspath;lastnextnull;yvalcountyvalues.length;for(i0;iyvalcount;i++){xxvaluesi;xnextxvaluesi+1;yyvaluesi;xposcanvasLeft+Math.round((x-this.minx)*(canvasWidth/rangex));xposnextiyvalcount-1?canvasLeft+Math.round((xnext-this.minx)*(canvasWidth/rangex)):canvasWidth;nextxpos+(xposnext-xpos)/2;regionMapilast||0,next,i;lastnext;if(ynull){if(i){if(yvaluesi-1!null){path;paths.push(path)}vertices.push(null)}}else{if(ythis.miny){ythis.miny}if(y>this.maxy){ythis.maxy}if(!path.length){path.push(xpos,canvasTop+canvasHeight)}vertexxpos,canvasTop+Math.round(canvasHeight-canvasHeight*((y-this.miny)/rangey));path.push(vertex);vertices.push(vertex)}}lineShapes;fillShapes;plenpaths.length;for(i0;iplen;i++){pathpathsi;if(path.length){if(options.get(fillColor)){path.push(pathpath.length-10,canvasTop+canvasHeight);fillShapes.push(path.slice(0));path.pop()}if(path.length>2){path0path00,path11}lineShapes.push(path)}}plenfillShapes.length;for(i0;iplen;i++){target.drawShape(fillShapesi,options.get(fillColor),options.get(fillColor)).append()}if(options.get(normalRangeMin)!undefined&&options.get(drawNormalOnTop)){this.drawNormalRange(canvasLeft,canvasTop,canvasHeight,canvasWidth,rangey)}plenlineShapes.length;for(i0;iplen;i++){target.drawShape(lineShapesi,options.get(lineColor),undefined,options.get(lineWidth)).append()}if(spotRadius&&options.get(valueSpots)){valueSpotsoptions.get(valueSpots);if(valueSpots.getundefined){valueSpotsnew RangeMap(valueSpots)}for(i0;iyvalcount;i++){colorvalueSpots.get(yvaluesi);if(color){target.drawCircle(canvasLeft+Math.round((xvaluesi-this.minx)*(canvasWidth/rangex)),canvasTop+Math.round(canvasHeight-canvasHeight*((yvaluesi-this.miny)/rangey)),spotRadius,undefined,color).append()}}}if(spotRadius&&options.get(spotColor)&&yvaluesyvallast!null){target.drawCircle(canvasLeft+Math.round((xvaluesxvalues.length-1-this.minx)*(canvasWidth/rangex)),canvasTop+Math.round(canvasHeight-canvasHeight*((yvaluesyvallast-this.miny)/rangey)),spotRadius,undefined,options.get(spotColor)).append()}if(this.maxy!this.minyorg){if(spotRadius&&options.get(minSpotColor)){xxvalues$.inArray(this.minyorg,yvalues);target.drawCircle(canvasLeft+Math.round((x-this.minx)*(canvasWidth/rangex)),canvasTop+Math.round(canvasHeight-canvasHeight*((this.minyorg-this.miny)/rangey)),spotRadius,undefined,options.get(minSpotColor)).append()}if(spotRadius&&options.get(maxSpotColor)){xxvalues$.inArray(this.maxyorg,yvalues);target.drawCircle(canvasLeft+Math.round((x-this.minx)*(canvasWidth/rangex)),canvasTop+Math.round(canvasHeight-canvasHeight*((this.maxyorg-this.miny)/rangey)),spotRadius,undefined,options.get(maxSpotColor)).append()}}this.lastShapeIdtarget.getLastShapeId();this.canvasTopcanvasTop;target.render()}});$.fn.sparkline.barbarcreateClass($.fn.sparkline._base,barHighlightMixin,{type:bar,init:function(el,values,options,width,height){var barWidthparseInt(options.get(barWidth),10),barSpacingparseInt(options.get(barSpacing),10),chartRangeMinoptions.get(chartRangeMin),chartRangeMaxoptions.get(chartRangeMax),chartRangeClipoptions.get(chartRangeClip),stackMinInfinity,stackMax-Infinity,isStackString,groupMin,groupMax,stackRanges,numValues,i,vlen,range,zeroAxis,xaxisOffset,min,max,clipMin,clipMax,stacked,vlist,j,slen,svals,val,yoffset,yMaxCalc,canvasHeightEf;bar._super.init.call(this,el,values,options,width,height);for(i0,vlenvalues.length;ivlen;i++){valvaluesi;isStackStringtypeof valstring&&val.indexOf(:)>-1;if(isStackString||$.isArray(val)){stackedtrue;if(isStackString){valvaluesinormalizeValues(val.split(:));}valremove(val,null);groupMinMath.min.apply(Math,val);groupMaxMath.max.apply(Math,val);if(groupMinstackMin){stackMingroupMin}if(groupMax>stackMax){stackMaxgroupMax}}}this.stackedstacked;this.regionShapes{};this.barWidthbarWidth;this.barSpacingbarSpacing;this.totalBarWidthbarWidth+barSpacing;this.widthwidthvalues.length*barWidth+(values.length-1)*barSpacing;this.initTarget();if(chartRangeClip){clipMinchartRangeMinundefined?-Infinity:chartRangeMin;clipMaxchartRangeMaxundefined?Infinity:chartRangeMax}numValues;stackRangesstacked?:numValues;var stackTotals;var stackRangesNeg;for(i0,vlenvalues.length;ivlen;i++){if(stacked){vlistvaluesi;valuesisvals;stackTotalsi0;stackRangesistackRangesNegi0;for(j0,slenvlist.length;jslen;j++){valsvalsjchartRangeClip?clipval(vlistj,clipMin,clipMax):vlistj;if(val!null){if(val>0){stackTotalsi+val}if(stackMin0&&stackMax>0){if(val0){stackRangesNegi+Math.abs(val)}else{stackRangesi+val}}else{stackRangesi+Math.abs(val-(val0?stackMax:stackMin))}numValues.push(val)}}}else{valchartRangeClip?clipval(valuesi,clipMin,clipMax):valuesi;valvaluesinormalizeValue(val);if(val!null){numValues.push(val)}}}this.maxmaxMath.max.apply(Math,numValues);this.minminMath.min.apply(Math,numValues);this.stackMaxstackMaxstacked?Math.max.apply(Math,stackTotals):max;this.stackMinstackMinstacked?Math.min.apply(Math,numValues):min;if(options.get(chartRangeMin)!undefined&&(options.get(chartRangeClip)||options.get(chartRangeMin)min)){minoptions.get(chartRangeMin)}if(options.get(chartRangeMax)!undefined&&(options.get(chartRangeClip)||options.get(chartRangeMax)>max)){maxoptions.get(chartRangeMax)}this.zeroAxiszeroAxisoptions.get(zeroAxis,true);if(min0&&max>0&&zeroAxis){xaxisOffset0}else if(zeroAxisfalse){xaxisOffsetmin}else if(min>0){xaxisOffsetmin}else{xaxisOffsetmax}this.xaxisOffsetxaxisOffset;rangestacked?Math.max.apply(Math,stackRanges)+Math.max.apply(Math,stackRangesNeg):max-min;this.canvasHeightEfzeroAxis&&min0?this.canvasHeight-2:this.canvasHeight-1;if(minxaxisOffset){yMaxCalcstacked&&max>0?stackMax:max;yoffset(yMaxCalc-xaxisOffset)/range*this.canvasHeight;if(yoffset!Math.ceil(yoffset)){this.canvasHeightEf-2;yoffsetMath.ceil(yoffset)}}else{yoffsetthis.canvasHeight}this.yoffsetyoffset;if($.isArray(options.get(colorMap))){this.colorMapByIndexoptions.get(colorMap);this.colorMapByValuenull}else{this.colorMapByIndexnull;this.colorMapByValueoptions.get(colorMap);if(this.colorMapByValue&&this.colorMapByValue.getundefined){this.colorMapByValuenew RangeMap(this.colorMapByValue)}}this.rangerange},getRegion:function(el,x,y){var resultMath.floor(x/this.totalBarWidth);return result0||result>this.values.length?undefined:result},getCurrentRegionFields:function(){var currentRegionthis.currentRegion,valuesensureArray(this.valuescurrentRegion),result,value,i;for(ivalues.length;i--;){valuevaluesi;result.push({isNull:valuenull,value:value,color:this.calcColor(i,value,currentRegion),offset:currentRegion})}return result},calcColor:function(stacknum,value,valuenum){var colorMapByIndexthis.colorMapByIndex,colorMapByValuethis.colorMapByValue,optionsthis.options,color,newColor;if(this.stacked){coloroptions.get(stackedBarColor)}else{colorvalue0?options.get(negBarColor):options.get(barColor)}if(value0&&options.get(zeroColor)!undefined){coloroptions.get(zeroColor)}if(colorMapByValue&&(newColorcolorMapByValue.get(value))){colornewColor}else if(colorMapByIndex&&colorMapByIndex.length>valuenum){colorcolorMapByIndexvaluenum}return $.isArray(color)?colorstacknum%color.length:color},renderRegion:function(valuenum,highlight){var valsthis.valuesvaluenum,optionsthis.options,xaxisOffsetthis.xaxisOffset,result,rangethis.range,stackedthis.stacked,targetthis.target,xvaluenum*this.totalBarWidth,canvasHeightEfthis.canvasHeightEf,yoffsetthis.yoffset,y,height,color,isNull,yoffsetNeg,i,valcount,val,minPlotted,allMin;vals$.isArray(vals)?vals:vals;valcountvals.length;valvals0;isNullall(null,vals);allMinall(xaxisOffset,vals,true);if(isNull){if(options.get(nullColor)){colorhighlight?options.get(nullColor):this.calcHighlightColor(options.get(nullColor),options);yyoffset>0?yoffset-1:yoffset;return target.drawRect(x,y,this.barWidth-1,0,color,color)}else{return undefined}}yoffsetNegyoffset;for(i0;ivalcount;i++){valvalsi;if(stacked&&valxaxisOffset){if(!allMin||minPlotted){continue}minPlottedtrue}if(range>0){heightMath.floor(canvasHeightEf*(Math.abs(val-xaxisOffset)/range))+1}else{height1}if(valxaxisOffset||valxaxisOffset&&yoffset0){yyoffsetNeg;yoffsetNeg+height}else{yyoffset-height;yoffset-height}colorthis.calcColor(i,val,valuenum);if(highlight){colorthis.calcHighlightColor(color,options)}result.push(target.drawRect(x,y,this.barWidth-1,height-1,color,color))}if(result.length1){return result0}return result}});$.fn.sparkline.tristatetristatecreateClass($.fn.sparkline._base,barHighlightMixin,{type:tristate,init:function(el,values,options,width,height){var barWidthparseInt(options.get(barWidth),10),barSpacingparseInt(options.get(barSpacing),10);tristate._super.init.call(this,el,values,options,width,height);this.regionShapes{};this.barWidthbarWidth;this.barSpacingbarSpacing;this.totalBarWidthbarWidth+barSpacing;this.values$.map(values,Number);this.widthwidthvalues.length*barWidth+(values.length-1)*barSpacing;if($.isArray(options.get(colorMap))){this.colorMapByIndexoptions.get(colorMap);this.colorMapByValuenull}else{this.colorMapByIndexnull;this.colorMapByValueoptions.get(colorMap);if(this.colorMapByValue&&this.colorMapByValue.getundefined){this.colorMapByValuenew RangeMap(this.colorMapByValue)}}this.initTarget()},getRegion:function(el,x,y){return Math.floor(x/this.totalBarWidth)},getCurrentRegionFields:function(){var currentRegionthis.currentRegion;return{isNull:this.valuescurrentRegionundefined,value:this.valuescurrentRegion,color:this.calcColor(this.valuescurrentRegion,currentRegion),offset:currentRegion}},calcColor:function(value,valuenum){var valuesthis.values,optionsthis.options,colorMapByIndexthis.colorMapByIndex,colorMapByValuethis.colorMapByValue,color,newColor;if(colorMapByValue&&(newColorcolorMapByValue.get(value))){colornewColor}else if(colorMapByIndex&&colorMapByIndex.length>valuenum){colorcolorMapByIndexvaluenum}else if(valuesvaluenum0){coloroptions.get(negBarColor)}else if(valuesvaluenum>0){coloroptions.get(posBarColor)}else{coloroptions.get(zeroBarColor)}return color},renderRegion:function(valuenum,highlight){var valuesthis.values,optionsthis.options,targetthis.target,canvasHeight,height,halfHeight,x,y,color;canvasHeighttarget.pixelHeight;halfHeightMath.round(canvasHeight/2);xvaluenum*this.totalBarWidth;if(valuesvaluenum0){yhalfHeight;heighthalfHeight-1}else if(valuesvaluenum>0){y0;heighthalfHeight-1}else{yhalfHeight-1;height2}colorthis.calcColor(valuesvaluenum,valuenum);if(colornull){return}if(highlight){colorthis.calcHighlightColor(color,options)}return target.drawRect(x,y,this.barWidth-1,height-1,color,color)}});$.fn.sparkline.discretediscretecreateClass($.fn.sparkline._base,barHighlightMixin,{type:discrete,init:function(el,values,options,width,height){discrete._super.init.call(this,el,values,options,width,height);this.regionShapes{};this.valuesvalues$.map(values,Number);this.minMath.min.apply(Math,values);this.maxMath.max.apply(Math,values);this.rangethis.max-this.min;this.widthwidthoptions.get(width)auto?values.length*2:this.width;this.intervalMath.floor(width/values.length);this.itemWidthwidth/values.length;if(options.get(chartRangeMin)!undefined&&(options.get(chartRangeClip)||options.get(chartRangeMin)this.min)){this.minoptions.get(chartRangeMin)}if(options.get(chartRangeMax)!undefined&&(options.get(chartRangeClip)||options.get(chartRangeMax)>this.max)){this.maxoptions.get(chartRangeMax)}this.initTarget();if(this.target){this.lineHeightoptions.get(lineHeight)auto?Math.round(this.canvasHeight*.3):options.get(lineHeight)}},getRegion:function(el,x,y){return Math.floor(x/this.itemWidth)},getCurrentRegionFields:function(){var currentRegionthis.currentRegion;return{isNull:this.valuescurrentRegionundefined,value:this.valuescurrentRegion,offset:currentRegion}},renderRegion:function(valuenum,highlight){var valuesthis.values,optionsthis.options,minthis.min,maxthis.max,rangethis.range,intervalthis.interval,targetthis.target,canvasHeightthis.canvasHeight,lineHeightthis.lineHeight,pheightcanvasHeight-lineHeight,ytop,val,color,x;valclipval(valuesvaluenum,min,max);xvaluenum*interval;ytopMath.round(pheight-pheight*((val-min)/range));coloroptions.get(thresholdColor)&&valoptions.get(thresholdValue)?options.get(thresholdColor):options.get(lineColor);if(highlight){colorthis.calcHighlightColor(color,options)}return target.drawLine(x,ytop,x,ytop+lineHeight,color)}});$.fn.sparkline.bulletbulletcreateClass($.fn.sparkline._base,{type:bullet,init:function(el,values,options,width,height){var min,max,vals;bullet._super.init.call(this,el,values,options,width,height);this.valuesvaluesnormalizeValues(values);valsvalues.slice();vals0vals0null?vals2:vals0;vals1values1null?vals2:vals1;minMath.min.apply(Math,values);maxMath.max.apply(Math,values);if(options.get(base)undefined){minmin0?min:0}else{minoptions.get(base)}this.minmin;this.maxmax;this.rangemax-min;this.shapes{};this.valueShapes{};this.regiondata{};this.widthwidthoptions.get(width)auto?4.0em:width;this.targetthis.$el.simpledraw(width,height,options.get(composite));if(!values.length){this.disabledtrue}this.initTarget()},getRegion:function(el,x,y){var shapeidthis.target.getShapeAt(el,x,y);return shapeid!undefined&&this.shapesshapeid!undefined?this.shapesshapeid:undefined},getCurrentRegionFields:function(){var currentRegionthis.currentRegion;return{fieldkey:currentRegion.substr(0,1),value:this.valuescurrentRegion.substr(1),region:currentRegion}},changeHighlight:function(highlight){var currentRegionthis.currentRegion,shapeidthis.valueShapescurrentRegion,shape;delete this.shapesshapeid;switch(currentRegion.substr(0,1)){caser:shapethis.renderRange(currentRegion.substr(1),highlight);break;casep:shapethis.renderPerformance(highlight);break;caset:shapethis.renderTarget(highlight);break}this.valueShapescurrentRegionshape.id;this.shapesshape.idcurrentRegion;this.target.replaceWithShape(shapeid,shape)},renderRange:function(rn,highlight){var rangevalthis.valuesrn,rangewidthMath.round(this.canvasWidth*((rangeval-this.min)/this.range)),colorthis.options.get(rangeColors)rn-2;if(highlight){colorthis.calcHighlightColor(color,this.options)}return this.target.drawRect(0,0,rangewidth-1,this.canvasHeight-1,color,color)},renderPerformance:function(highlight){var perfvalthis.values1,perfwidthMath.round(this.canvasWidth*((perfval-this.min)/this.range)),colorthis.options.get(performanceColor);if(highlight){colorthis.calcHighlightColor(color,this.options)}return this.target.drawRect(0,Math.round(this.canvasHeight*.3),perfwidth-1,Math.round(this.canvasHeight*.4)-1,color,color)},renderTarget:function(highlight){var targetvalthis.values0,xMath.round(this.canvasWidth*((targetval-this.min)/this.range)-this.options.get(targetWidth)/2),targettopMath.round(this.canvasHeight*.1),targetheightthis.canvasHeight-targettop*2,colorthis.options.get(targetColor);if(highlight){colorthis.calcHighlightColor(color,this.options)}return this.target.drawRect(x,targettop,this.options.get(targetWidth)-1,targetheight-1,color,color)},render:function(){var vlenthis.values.length,targetthis.target,i,shape;if(!bullet._super.render.call(this)){return}for(i2;ivlen;i++){shapethis.renderRange(i).append();this.shapesshape.idr+i;this.valueShapesr+ishape.id}if(this.values1!null){shapethis.renderPerformance().append();this.shapesshape.idp1;this.valueShapes.p1shape.id}if(this.values0!null){shapethis.renderTarget().append();this.shapesshape.idt0;this.valueShapes.t0shape.id}target.render()}});$.fn.sparkline.piepiecreateClass($.fn.sparkline._base,{type:pie,init:function(el,values,options,width,height){var total0,i;pie._super.init.call(this,el,values,options,width,height);this.shapes{};this.valueShapes{};this.valuesvalues$.map(values,Number);if(options.get(width)auto){this.widththis.height}if(values.length>0){for(ivalues.length;i--;){total+valuesi}}this.totaltotal;this.initTarget();this.radiusMath.floor(Math.min(this.canvasWidth,this.canvasHeight)/2)},getRegion:function(el,x,y){var shapeidthis.target.getShapeAt(el,x,y);return shapeid!undefined&&this.shapesshapeid!undefined?this.shapesshapeid:undefined},getCurrentRegionFields:function(){var currentRegionthis.currentRegion;return{isNull:this.valuescurrentRegionundefined,value:this.valuescurrentRegion,percent:this.valuescurrentRegion/this.total*100,color:this.options.get(sliceColors)currentRegion%this.options.get(sliceColors).length,offset:currentRegion}},changeHighlight:function(highlight){var currentRegionthis.currentRegion,newslicethis.renderSlice(currentRegion,highlight),shapeidthis.valueShapescurrentRegion;delete this.shapesshapeid;this.target.replaceWithShape(shapeid,newslice);this.valueShapescurrentRegionnewslice.id;this.shapesnewslice.idcurrentRegion},renderSlice:function(valuenum,highlight){var targetthis.target,optionsthis.options,radiusthis.radius,borderWidthoptions.get(borderWidth),offsetoptions.get(offset),circle2*Math.PI,valuesthis.values,totalthis.total,nextoffset?2*Math.PI*(offset/360):0,start,end,i,vlen,color;vlenvalues.length;for(i0;ivlen;i++){startnext;endnext;if(total>0){endnext+circle*(valuesi/total)}if(valuenumi){coloroptions.get(sliceColors)i%options.get(sliceColors).length;if(highlight){colorthis.calcHighlightColor(color,options)}return target.drawPieSlice(radius,radius,radius-borderWidth,start,end,undefined,color)}nextend}},render:function(){var targetthis.target,valuesthis.values,optionsthis.options,radiusthis.radius,borderWidthoptions.get(borderWidth),donutWidthoptions.get(donutWidth),shape,i;if(!pie._super.render.call(this)){return}if(borderWidth){target.drawCircle(radius,radius,Math.floor(radius-borderWidth/2),options.get(borderColor),undefined,borderWidth).append()}for(ivalues.length;i--;){if(valuesi){shapethis.renderSlice(i).append();this.valueShapesishape.id;this.shapesshape.idi}}if(donutWidth){target.drawCircle(radius,radius,radius-donutWidth,options.get(donutColor),options.get(donutColor),0).append()}target.render()}});$.fn.sparkline.boxboxcreateClass($.fn.sparkline._base,{type:box,init:function(el,values,options,width,height){box._super.init.call(this,el,values,options,width,height);this.values$.map(values,Number);this.widthoptions.get(width)auto?4.0em:width;this.initTarget();if(!this.values.length){this.disabled1}},getRegion:function(){return 1},getCurrentRegionFields:function(){var result{field:lq,value:this.quartiles0},{field:med,value:this.quartiles1},{field:uq,value:this.quartiles2};if(this.loutlier!undefined){result.push({field:lo,value:this.loutlier})}if(this.routlier!undefined){result.push({field:ro,value:this.routlier})}if(this.lwhisker!undefined){result.push({field:lw,value:this.lwhisker})}if(this.rwhisker!undefined){result.push({field:rw,value:this.rwhisker})}return result},render:function(){var targetthis.target,valuesthis.values,vlenvalues.length,optionsthis.options,canvasWidththis.canvasWidth,canvasHeightthis.canvasHeight,minValueoptions.get(chartRangeMin)undefined?Math.min.apply(Math,values):options.get(chartRangeMin),maxValueoptions.get(chartRangeMax)undefined?Math.max.apply(Math,values):options.get(chartRangeMax),canvasLeft0,lwhisker,loutlier,iqr,q1,q2,q3,rwhisker,routlier,i,size,unitSize;if(!box._super.render.call(this)){return}if(options.get(raw)){if(options.get(showOutliers)&&values.length>5){loutliervalues0;lwhiskervalues1;q1values2;q2values3;q3values4;rwhiskervalues5;routliervalues6}else{lwhiskervalues0;q1values1;q2values2;q3values3;rwhiskervalues4}}else{values.sort(function(a,b){return a-b});q1quartile(values,1);q2quartile(values,2);q3quartile(values,3);iqrq3-q1;if(options.get(showOutliers)){lwhiskerrwhiskerundefined;for(i0;ivlen;i++){if(lwhiskerundefined&&valuesi>q1-iqr*options.get(outlierIQR)){lwhiskervaluesi}if(valuesiq3+iqr*options.get(outlierIQR)){rwhiskervaluesi}}loutliervalues0;routliervaluesvlen-1}else{lwhiskervalues0;rwhiskervaluesvlen-1}}this.quartilesq1,q2,q3;this.lwhiskerlwhisker;this.rwhiskerrwhisker;this.loutlierloutlier;this.routlierroutlier;unitSizecanvasWidth/(maxValue-minValue+1);if(options.get(showOutliers)){canvasLeftMath.ceil(options.get(spotRadius));canvasWidth-2*Math.ceil(options.get(spotRadius));unitSizecanvasWidth/(maxValue-minValue+1);if(loutlierlwhisker){target.drawCircle((loutlier-minValue)*unitSize+canvasLeft,canvasHeight/2,options.get(spotRadius),options.get(outlierLineColor),options.get(outlierFillColor)).append()}if(routlier>rwhisker){target.drawCircle((routlier-minValue)*unitSize+canvasLeft,canvasHeight/2,options.get(spotRadius),options.get(outlierLineColor),options.get(outlierFillColor)).append()}}target.drawRect(Math.round((q1-minValue)*unitSize+canvasLeft),Math.round(canvasHeight*.1),Math.round((q3-q1)*unitSize),Math.round(canvasHeight*.8),options.get(boxLineColor),options.get(boxFillColor)).append();target.drawLine(Math.round((lwhisker-minValue)*unitSize+canvasLeft),Math.round(canvasHeight/2),Math.round((q1-minValue)*unitSize+canvasLeft),Math.round(canvasHeight/2),options.get(lineColor)).append();target.drawLine(Math.round((lwhisker-minValue)*unitSize+canvasLeft),Math.round(canvasHeight/4),Math.round((lwhisker-minValue)*unitSize+canvasLeft),Math.round(canvasHeight-canvasHeight/4),options.get(whiskerColor)).append();target.drawLine(Math.round((rwhisker-minValue)*unitSize+canvasLeft),Math.round(canvasHeight/2),Math.round((q3-minValue)*unitSize+canvasLeft),Math.round(canvasHeight/2),options.get(lineColor)).append();target.drawLine(Math.round((rwhisker-minValue)*unitSize+canvasLeft),Math.round(canvasHeight/4),Math.round((rwhisker-minValue)*unitSize+canvasLeft),Math.round(canvasHeight-canvasHeight/4),options.get(whiskerColor)).append();target.drawLine(Math.round((q2-minValue)*unitSize+canvasLeft),Math.round(canvasHeight*.1),Math.round((q2-minValue)*unitSize+canvasLeft),Math.round(canvasHeight*.9),options.get(medianColor)).append();if(options.get(target)){sizeMath.ceil(options.get(spotRadius));target.drawLine(Math.round((options.get(target)-minValue)*unitSize+canvasLeft),Math.round(canvasHeight/2-size),Math.round((options.get(target)-minValue)*unitSize+canvasLeft),Math.round(canvasHeight/2+size),options.get(targetColor)).append();target.drawLine(Math.round((options.get(target)-minValue)*unitSize+canvasLeft-size),Math.round(canvasHeight/2),Math.round((options.get(target)-minValue)*unitSize+canvasLeft+size),Math.round(canvasHeight/2),options.get(targetColor)).append()}target.render()}});VShapecreateClass({init:function(target,id,type,args){this.targettarget;this.idid;this.typetype;this.argsargs},append:function(){this.target.appendShape(this);return this}});VCanvas_basecreateClass({_pxregex:/(\d+)(px)?\s*$/i,init:function(width,height,target){if(!width){return}this.widthwidth;this.heightheight;this.targettarget;this.lastShapeIdnull;if(target0){targettarget0}$.data(target,_jqs_vcanvas,this)},drawLine:function(x1,y1,x2,y2,lineColor,lineWidth){return this.drawShape(x1,y1,x2,y2,lineColor,lineWidth)},drawShape:function(path,lineColor,fillColor,lineWidth){return this._genShape(Shape,path,lineColor,fillColor,lineWidth)},drawCircle:function(x,y,radius,lineColor,fillColor,lineWidth){return this._genShape(Circle,x,y,radius,lineColor,fillColor,lineWidth)},drawPieSlice:function(x,y,radius,startAngle,endAngle,lineColor,fillColor){return this._genShape(PieSlice,x,y,radius,startAngle,endAngle,lineColor,fillColor)},drawRect:function(x,y,width,height,lineColor,fillColor){return this._genShape(Rect,x,y,width,height,lineColor,fillColor)},getElement:function(){return this.canvas},getLastShapeId:function(){return this.lastShapeId},reset:function(){alert(reset not implemented)},_insert:function(el,target){$(target).html(el)},_calculatePixelDims:function(width,height,canvas){var match;matchthis._pxregex.exec(height);if(match){this.pixelHeightmatch1}else{this.pixelHeight$(canvas).height()}matchthis._pxregex.exec(width);if(match){this.pixelWidthmatch1}else{this.pixelWidth$(canvas).width()}},_genShape:function(shapetype,shapeargs){var idshapeCount++;shapeargs.unshift(id);return new VShape(this,id,shapetype,shapeargs)},appendShape:function(shape){alert(appendShape not implemented)},replaceWithShape:function(shapeid,shape){alert(replaceWithShape not implemented)},insertAfterShape:function(shapeid,shape){alert(insertAfterShape not implemented)},removeShapeId:function(shapeid){alert(removeShapeId not implemented)},getShapeAt:function(el,x,y){alert(getShapeAt not implemented)},render:function(){alert(render not implemented)}});VCanvas_canvascreateClass(VCanvas_base,{init:function(width,height,target,interact){VCanvas_canvas._super.init.call(this,width,height,target);this.canvasdocument.createElement(canvas);if(target0){targettarget0}$.data(target,_jqs_vcanvas,this);$(this.canvas).css({display:inline-block,width:width,height:height,verticalAlign:top});this._insert(this.canvas,target);this._calculatePixelDims(width,height,this.canvas);this.canvas.widththis.pixelWidth;this.canvas.heightthis.pixelHeight;this.interactinteract;this.shapes{};this.shapeseq;this.currentTargetShapeIdundefined;$(this.canvas).css({width:this.pixelWidth,height:this.pixelHeight})},_getContext:function(lineColor,fillColor,lineWidth){var contextthis.canvas.getContext(2d);if(lineColor!undefined){context.strokeStylelineColor}context.lineWidthlineWidthundefined?1:lineWidth;if(fillColor!undefined){context.fillStylefillColor}return context},reset:function(){var contextthis._getContext();context.clearRect(0,0,this.pixelWidth,this.pixelHeight);this.shapes{};this.shapeseq;this.currentTargetShapeIdundefined},_drawShape:function(shapeid,path,lineColor,fillColor,lineWidth){var contextthis._getContext(lineColor,fillColor,lineWidth),i,plen;context.beginPath();context.moveTo(path00+.5,path01+.5);for(i1,plenpath.length;iplen;i++){context.lineTo(pathi0+.5,pathi1+.5)}if(lineColor!undefined){context.stroke()}if(fillColor!undefined){context.fill()}if(this.targetX!undefined&&this.targetY!undefined&&context.isPointInPath(this.targetX,this.targetY)){this.currentTargetShapeIdshapeid}},_drawCircle:function(shapeid,x,y,radius,lineColor,fillColor,lineWidth){var contextthis._getContext(lineColor,fillColor,lineWidth);context.beginPath();context.arc(x,y,radius,0,2*Math.PI,false);if(this.targetX!undefined&&this.targetY!undefined&&context.isPointInPath(this.targetX,this.targetY)){this.currentTargetShapeIdshapeid}if(lineColor!undefined){context.stroke()}if(fillColor!undefined){context.fill()}},_drawPieSlice:function(shapeid,x,y,radius,startAngle,endAngle,lineColor,fillColor){var contextthis._getContext(lineColor,fillColor);context.beginPath();context.moveTo(x,y);context.arc(x,y,radius,startAngle,endAngle,false);context.lineTo(x,y);context.closePath();if(lineColor!undefined){context.stroke()}if(fillColor){context.fill()}if(this.targetX!undefined&&this.targetY!undefined&&context.isPointInPath(this.targetX,this.targetY)){this.currentTargetShapeIdshapeid}},_drawRect:function(shapeid,x,y,width,height,lineColor,fillColor){return this._drawShape(shapeid,x,y,x+width,y,x+width,y+height,x,y+height,x,y,lineColor,fillColor)},appendShape:function(shape){this.shapesshape.idshape;this.shapeseq.push(shape.id);this.lastShapeIdshape.id;return shape.id},replaceWithShape:function(shapeid,shape){var shapeseqthis.shapeseq,i;this.shapesshape.idshape;for(ishapeseq.length;i--;){if(shapeseqishapeid){shapeseqishape.id}}delete this.shapesshapeid},replaceWithShapes:function(shapeids,shapes){var shapeseqthis.shapeseq,shapemap{},sid,i,first;for(ishapeids.length;i--;){shapemapshapeidsitrue}for(ishapeseq.length;i--;){sidshapeseqi;if(shapemapsid){shapeseq.splice(i,1);delete this.shapessid;firsti}}for(ishapes.length;i--;){shapeseq.splice(first,0,shapesi.id);this.shapesshapesi.idshapesi}},insertAfterShape:function(shapeid,shape){var shapeseqthis.shapeseq,i;for(ishapeseq.length;i--;){if(shapeseqishapeid){shapeseq.splice(i+1,0,shape.id);this.shapesshape.idshape;return}}},removeShapeId:function(shapeid){var shapeseqthis.shapeseq,i;for(ishapeseq.length;i--;){if(shapeseqishapeid){shapeseq.splice(i,1);break}}delete this.shapesshapeid},getShapeAt:function(el,x,y){this.targetXx;this.targetYy;this.render();return this.currentTargetShapeId},render:function(){var shapeseqthis.shapeseq,shapesthis.shapes,shapeCountshapeseq.length,contextthis._getContext(),shapeid,shape,i;context.clearRect(0,0,this.pixelWidth,this.pixelHeight);for(i0;ishapeCount;i++){shapeidshapeseqi;shapeshapesshapeid;this_draw+shape.type.apply(this,shape.args)}if(!this.interact){this.shapes{};this.shapeseq}}});VCanvas_vmlcreateClass(VCanvas_base,{init:function(width,height,target){var groupel;VCanvas_vml._super.init.call(this,width,height,target);if(target0){targettarget0}$.data(target,_jqs_vcanvas,this);this.canvasdocument.createElement(span);$(this.canvas).css({display:inline-block,position:relative,overflow:hidden,width:width,height:height,margin:0px,padding:0px,verticalAlign:top});this._insert(this.canvas,target);this._calculatePixelDims(width,height,this.canvas);this.canvas.widththis.pixelWidth;this.canvas.heightthis.pixelHeight;groupelv:group coordorigin0 0 coordsize+this.pixelWidth+ +this.pixelHeight++ styleposition:absolute;top:0;left:0;width:+this.pixelWidth+px;height+this.pixelHeight+px;>/v:group>;this.canvas.insertAdjacentHTML(beforeEnd,groupel);this.group$(this.canvas).children()0;this.renderedfalse;this.prerender},_drawShape:function(shapeid,path,lineColor,fillColor,lineWidth){var vpath,initial,stroke,fill,closed,vel,plen,i;for(i0,plenpath.length;iplen;i++){vpathi+pathi0+,+pathi1}initialvpath.splice(0,1);lineWidthlineWidthundefined?1:lineWidth;strokelineColorundefined? strokedfalse : strokeWeight+lineWidth+px strokeColor+lineColor+ ;fillfillColorundefined? filledfalse: fillColor+fillColor+ filledtrue ;closedvpath0vpathvpath.length-1?x :;velv:shape coordorigin0 0 coordsize+this.pixelWidth+ +this.pixelHeight+ + idjqsshape+shapeid+ +stroke+fill+ styleposition:absolute;left:0px;top:0px;height:+this.pixelHeight+px;width:+this.pixelWidth+px;padding:0px;margin:0px; + pathm +initial+ l +vpath.join(, )+ +closed+e>+ /v:shape>;return vel},_drawCircle:function(shapeid,x,y,radius,lineColor,fillColor,lineWidth){var stroke,fill,vel;x-radius;y-radius;strokelineColorundefined? strokedfalse : strokeWeight+lineWidth+px strokeColor+lineColor+ ;fillfillColorundefined? filledfalse: fillColor+fillColor+ filledtrue ;velv:oval + idjqsshape+shapeid+ +stroke+fill+ styleposition:absolute;top:+y+px; left:+x+px; width:+radius*2+px; height:+radius*2+px>/v:oval>;return vel},_drawPieSlice:function(shapeid,x,y,radius,startAngle,endAngle,lineColor,fillColor){var vpath,startx,starty,endx,endy,stroke,fill,vel;if(startAngleendAngle){return}if(endAngle-startAngle2*Math.PI){startAngle0;endAngle2*Math.PI}startxx+Math.round(Math.cos(startAngle)*radius);startyy+Math.round(Math.sin(startAngle)*radius);endxx+Math.round(Math.cos(endAngle)*radius);endyy+Math.round(Math.sin(endAngle)*radius);if(startxendx&&startyendy){if(endAngle-startAngleMath.PI){return}startxendxx+radius;startyendyy}if(startxendx&&startyendy&&endAngle-startAngleMath.PI){return}vpathx-radius,y-radius,x+radius,y+radius,startx,starty,endx,endy;strokelineColorundefined? strokedfalse : strokeWeight1px strokeColor+lineColor+ ;fillfillColorundefined? filledfalse: fillColor+fillColor+ filledtrue ;velv:shape coordorigin0 0 coordsize+this.pixelWidth+ +this.pixelHeight+ + idjqsshape+shapeid+ +stroke+fill+ styleposition:absolute;left:0px;top:0px;height:+this.pixelHeight+px;width:+this.pixelWidth+px;padding:0px;margin:0px; + pathm +x+,+y+ wa +vpath.join(, )+ x e>+ /v:shape>;return vel},_drawRect:function(shapeid,x,y,width,height,lineColor,fillColor){return this._drawShape(shapeid,x,y,x,y+height,x+width,y+height,x+width,y,x,y,lineColor,fillColor)},reset:function(){this.group.innerHTML},appendShape:function(shape){var velthis_draw+shape.type.apply(this,shape.args);if(this.rendered){this.group.insertAdjacentHTML(beforeEnd,vel)}else{this.prerender+vel}this.lastShapeIdshape.id;return shape.id},replaceWithShape:function(shapeid,shape){var existing$(#jqsshape+shapeid),velthis_draw+shape.type.apply(this,shape.args);existing0.outerHTMLvel},replaceWithShapes:function(shapeids,shapes){var existing$(#jqsshape+shapeids0),replace,slenshapes.length,i;for(i0;islen;i++){replace+this_draw+shapesi.type.apply(this,shapesi.args)}existing0.outerHTMLreplace;for(i1;ishapeids.length;i++){$(#jqsshape+shapeidsi).remove()}},insertAfterShape:function(shapeid,shape){var existing$(#jqsshape+shapeid),velthis_draw+shape.type.apply(this,shape.args);existing0.insertAdjacentHTML(afterEnd,vel)},removeShapeId:function(shapeid){var existing$(#jqsshape+shapeid);this.group.removeChild(existing0)},getShapeAt:function(el,x,y){var shapeidel.id.substr(8);return shapeid},render:function(){if(!this.rendered){this.group.innerHTMLthis.prerender;this.renderedtrue}}})})})(document,Math);/script>script data-srcplugins/datatables/jquery.dataTables.bootstrap4.responsive.min.js>/*! DataTables 1.10.21 * ©2008-2020 SpryMedia Ltd - datatables.net/license */ !function(e){use strict;functiontypeof define&&define.amd?define(jquery,(function(t){return e(t,window,document)})):objecttypeof exports?module.exportsfunction(t,n){return t||(twindow),n||(nundefined!typeof window?require(jquery):require(jquery)(t)),e(n,t,t.document)}:e(jQuery,window,document)}((function(e,t,n,a){use strict;var r,o,i,s,lfunction(t){this.$function(e,t){return this.api(!0).$(e,t)},this._function(e,t){return this.api(!0).rows(e,t).data()},this.apifunction(e){return new o(e?ot(thisr.iApiIndex):this)},this.fnAddDatafunction(t,n){var rthis.api(!0),oe.isArray(t)&&(e.isArray(t0)||e.isPlainObject(t0))?r.rows.add(t):r.row.add(t);return(na||n)&&r.draw(),o.flatten().toArray()},this.fnAdjustColumnSizingfunction(e){var tthis.api(!0).columns.adjust(),nt.settings()0,rn.oScroll;ea||e?t.draw(!1):r.sX&&r.sY||Be(n)},this.fnClearTablefunction(e){var tthis.api(!0).clear();(ea||e)&&t.draw()},this.fnClosefunction(e){this.api(!0).row(e).child.hide()},this.fnDeleteRowfunction(e,t,n){var rthis.api(!0),or.rows(e),io.settings()0,si.aoDatao00;return o.remove(),t&&t.call(this,i,s),(na||n)&&r.draw(),s},this.fnDestroyfunction(e){this.api(!0).destroy(e)},this.fnDrawfunction(e){this.api(!0).draw(e)},this.fnFilterfunction(e,t,n,r,o,i){var sthis.api(!0);nullt||ta?s.search(e,n,r,i):s.column(t).search(e,n,r,i),s.draw()},this.fnGetDatafunction(e,t){var nthis.api(!0);if(e!a){var re.nodeName?e.nodeName.toLowerCase():;return t!a||tdr||thr?n.cell(e,t).data():n.row(e).data()||null}return n.data().toArray()},this.fnGetNodesfunction(e){var tthis.api(!0);return e!a?t.row(e).node():t.rows().nodes().flatten().toArray()},this.fnGetPositionfunction(e){var tthis.api(!0),ne.nodeName.toUpperCase();if(TRn)return t.row(e).index();if(TDn||THn){var at.cell(e).index();returna.row,a.columnVisible,a.column}return null},this.fnIsOpenfunction(e){return this.api(!0).row(e).child.isShown()},this.fnOpenfunction(e,t,n){return this.api(!0).row(e).child(t,n).show().child()0},this.fnPageChangefunction(e,t){var nthis.api(!0).page(e);(ta||t)&&n.draw(!1)},this.fnSetColumnVisfunction(e,t,n){var rthis.api(!0).column(e).visible(t);(na||n)&&r.columns.adjust().draw()},this.fnSettingsfunction(){return ot(thisr.iApiIndex)},this.fnSortfunction(e){this.api(!0).order(e).draw()},this.fnSortListenerfunction(e,t,n){this.api(!0).order.listener(e,t,n)},this.fnUpdatefunction(e,t,n,r,o){var ithis.api(!0);return na||nulln?i.row(t).data(e):i.cell(t,n).data(e),(oa||o)&&i.columns.adjust(),(ra||r)&&i.draw(),0},this.fnVersionCheckr.fnVersionCheck;var nthis,ita,sthis.length;for(var u in i&&(t{}),this.oApithis.internalr.internal,l.ext.internal)u&&(thisukt(u));return this.each((function(){var r,os>1?lt({},t,!0):t,u0,cthis.getAttribute(id),d!1,fl.defaults,he(this);if(tablethis.nodeName.toLowerCase()){L(f),R(f.column),I(f,f,!0),I(f.column,f.column,!0),I(f,e.extend(o,h.data()),!0);var pl.settings;for(u0,rp.length;ur;u++){var gpu;if(g.nTablethis||g.nTHead&&g.nTHead.parentNodethis||g.nTFoot&&g.nTFoot.parentNodethis){var bo.bRetrieve!a?o.bRetrieve:f.bRetrieve,vo.bDestroy!a?o.bDestroy:f.bDestroy;if(i||b)return g.oInstance;if(v){g.oInstance.fnDestroy();break}return void it(g,0,Cannot reinitialise DataTable,3)}if(g.sTableIdthis.id){p.splice(u,1);break}}null!c&&!c||(cDataTables_Table_+l.ext._unique++,this.idc);var me.extend(!0,{},l.models.oSettings,{sDestroyWidth:h0.style.width,sInstance:c,sTableId:c});m.nTablethis,m.oApin.internal,m.oInito,p.push(m),m.oInstance1n.length?n:h.dataTable(),L(o),A(o.oLanguage),o.aLengthMenu&&!o.iDisplayLength&&(o.iDisplayLengthe.isArray(o.aLengthMenu0)?o.aLengthMenu00:o.aLengthMenu0),olt(e.extend(!0,{},f),o),st(m.oFeatures,o,bPaginate,bLengthChange,bFilter,bSort,bSortMulti,bInfo,bProcessing,bAutoWidth,bSortClasses,bServerSide,bDeferRender),st(m,o,asStripeClasses,ajax,fnServerData,fnFormatNumber,sServerMethod,aaSorting,aaSortingFixed,aLengthMenu,sPaginationType,sAjaxSource,sAjaxDataProp,iStateDuration,sDom,bSortCellsTop,iTabIndex,fnStateLoadCallback,fnStateSaveCallback,renderer,searchDelay,rowId,iCookieDuration,iStateDuration,oSearch,oPreviousSearch,aoSearchCols,aoPreSearchCols,iDisplayLength,_iDisplayLength),st(m.oScroll,o,sScrollX,sX,sScrollXInner,sXInner,sScrollY,sY,bScrollCollapse,bCollapse),st(m.oLanguage,o,fnInfoCallback),ct(m,aoDrawCallback,o.fnDrawCallback,user),ct(m,aoServerParams,o.fnServerParams,user),ct(m,aoStateSaveParams,o.fnStateSaveParams,user),ct(m,aoStateLoadParams,o.fnStateLoadParams,user),ct(m,aoStateLoaded,o.fnStateLoaded,user),ct(m,aoRowCallback,o.fnRowCallback,user),ct(m,aoRowCreatedCallback,o.fnCreatedRow,user),ct(m,aoHeaderCallback,o.fnHeaderCallback,user),ct(m,aoFooterCallback,o.fnFooterCallback,user),ct(m,aoInitComplete,o.fnInitComplete,user),ct(m,aoPreDrawCallback,o.fnPreDrawCallback,user),m.rowIdFnY(o.rowId),P(m);var ym.oClasses;if(e.extend(y,l.ext.classes,o.oClasses),h.addClass(y.sTable),m.iInitDisplayStarta&&(m.iInitDisplayStarto.iDisplayStart,m._iDisplayStarto.iDisplayStart),null!o.iDeferLoading){m.bDeferLoading!0;var Se.isArray(o.iDeferLoading);m._iRecordsDisplayS?o.iDeferLoading0:o.iDeferLoading,m._iRecordsTotalS?o.iDeferLoading1:o.iDeferLoading}var Dm.oLanguage;e.extend(!0,D,o.oLanguage),D.sUrl&&(e.ajax({dataType:json,url:D.sUrl,success:function(t){A(t),I(f.oLanguage,t),e.extend(!0,D,t),Pe(m)},error:function(){Pe(m)}}),d!0),nullo.asStripeClasses&&(m.asStripeClassesy.sStripeOdd,y.sStripeEven);var _m.asStripeClasses,wh.children(tbody).find(tr).eq(0);-1!e.inArray(!0,e.map(_,(function(e,t){return w.hasClass(e)})))&&(e(tbody tr,this).removeClass(_.join( )),m.asDestroyStripes_.slice());var C,x,Tthis.getElementsByTagName(thead);if(0!T.length&&(ce(m.aoHeader,T0),xde(m)),nullo.aoColumns)for(C,u0,rx.length;ur;u++)C.push(null);else Co.aoColumns;for(u0,rC.length;ur;u++)k(m,x?xu:null);if(U(m,o.aoColumnDefs,C,(function(e,t){N(m,e,t)})),w.length){var Ffunction(e,t){return null!e.getAttribute(data-+t)?t:null};e(w0).children(th, td).each((function(e,t){var nm.aoColumnse;if(n.mDatae){var rF(t,sort)||F(t,order),oF(t,filter)||F(t,search);nullr&&nullo||(n.mData{_:e+.display,sort:null!r?e+.@data-+r:a,type:null!r?e+.@data-+r:a,filter:null!o?e+.@data-+o:a},N(m,e))}}))}var jm.oFeatures,Hfunction(){if(o.aaSortinga){var tm.aaSorting;for(u0,rt.length;ur;u++)tu1m.aoColumnsu.asSorting0}tt(m),j.bSort&&ct(m,aoDrawCallback,(function(){if(m.bSorted){var tYe(m),n{};e.each(t,(function(e,t){nt.srct.dir})),dt(m,null,order,m,t,n),Qe(m)}})),ct(m,aoDrawCallback,(function(){(m.bSorted||ssppt(m)||j.bDeferRender)&&tt(m)}),sc);var nh.children(caption).each((function(){this._captionSidee(this).css(caption-side)})),ih.children(thead);0i.length&&(ie(thead/>).appendTo(h)),m.nTHeadi0;var sh.children(tbody);0s.length&&(se(tbody/>).appendTo(h)),m.nTBodys0;var lh.children(tfoot);if(0l.length&&n.length>0&&(!m.oScroll.sX||!m.oScroll.sY)&&(le(tfoot/>).appendTo(h)),0l.length||0l.children().length?h.addClass(y.sNoFooter):l.length>0&&(m.nTFootl0,ce(m.aoFooter,m.nTFoot)),o.aaData)for(u0;uo.aaData.length;u++)V(m,o.aaDatau);else(m.bDeferLoading||dompt(m))&&q(m,e(m.nTBody).children(tr));m.aiDisplaym.aiDisplayMaster.slice(),m.bInitialised!0,!1d&&Pe(m)};o.bStateSave?(j.bStateSave!0,ct(m,aoDrawCallback,at,state_save),rt(m,o,H)):H()}else it(null,0,Non-table node initialisation (+this.nodeName+),2)})),nnull,this},u{},c/\r\n\u2028/g,d/.*?>/g,f/^\d{2,4}\.\/\-\d{1,2}\.\/\-\d{1,2}(T {1}\d{1,2}:\.\d{2}(\.:\d{2})?)?$/,hnew RegExp((\\+/,.,*,+,?,|,(,),,,{,},\\,$,^,-.join(|\\)+),g),p/,$£€¥%\u2009\u202F\u20BD\u20a9\u20BArfkɃΞ/gi,gfunction(e){return!e||!0e||-e},bfunction(e){var tparseInt(e,10);return!isNaN(t)&&isFinite(e)?t:null},vfunction(e,t){return ut||(utnew RegExp(we(t),g)),stringtypeof e&&.!t?e.replace(/\./g,).replace(ut,.):e},mfunction(e,t,n){var astringtypeof e;return!!g(e)||(t&&a&&(ev(e,t)),n&&a&&(ee.replace(p,)),!isNaN(parseFloat(e))&&isFinite(e))},yfunction(e,t,n){return!!g(e)||(function(e){return g(e)||stringtypeof e}(e)&&!!m(C(e),t,n)||null)},Sfunction(e,t,n){var r,o0,ie.length;if(n!a)for(;oi;o++)eo&&eot&&r.push(eotn);else for(;oi;o++)eo&&r.push(eot);return r},Dfunction(e,t,n,r){var o,i0,st.length;if(r!a)for(;is;i++)etin&&o.push(etinr);else for(;is;i++)o.push(etin);return o},_function(e,t){var n,r;ta?(t0,ne):(nt,te);for(var ot;on;o++)r.push(o);return r},wfunction(e){for(var t,n0,ae.length;na;n++)en&&t.push(en);return t},Cfunction(e){return e.replace(d,)},xfunction(e){if(function(e){if(e.length2)return!0;for(var te.slice().sort(),nt0,a1,rt.length;ar;a++){if(tan)return!1;nta}return!0}(e))return e.slice();var t,n,a,r,oe.length,i0;e:for(n0;no;n++){for(ten,a0;ai;a++)if(rat)continue e;r.push(t),i++}return r};function T(t){var n,a,r{};e.each(t,(function(e,o){(ne.match(/^(^A-Z+?)(A-Z)/))&&-1!a aa ai ao as b fn i m o s .indexOf(n1+ )&&(ae.replace(n0,n2.toLowerCase()),rae,on1&&T(te))})),t._hungarianMapr}function I(t,n,r){var o;t._hungarianMap||T(t),e.each(n,(function(i,s){(ot._hungarianMapi)a||!r&&no!a||(oo.charAt(0)?(no||(no{}),e.extend(!0,no,ni),I(to,no,r)):noni)}))}function A(e){var tl.defaults.oLanguage,nt.sDecimal;if(n&&Pt(n),e){var ae.sZeroRecords;!e.sEmptyTable&&a&&No data available in tablet.sEmptyTable&&st(e,e,sZeroRecords,sEmptyTable),!e.sLoadingRecords&&a&&Loading...t.sLoadingRecords&&st(e,e,sZeroRecords,sLoadingRecords),e.sInfoThousands&&(e.sThousandse.sInfoThousands);var re.sDecimal;r&&n!r&&Pt(r)}}l.util{throttle:function(e,t){var n,r,ot!a?t:200;return function(){var tthis,i+new Date,sarguments;n&&in+o?(clearTimeout(r),rsetTimeout((function(){na,e.apply(t,s)}),o)):(ni,e.apply(t,s))}},escapeRegex:function(e){return e.replace(h,\\$1)}};var Ffunction(e,t,n){et!a&&(enet)};function L(e){F(e,ordering,bSort),F(e,orderMulti,bSortMulti),F(e,orderClasses,bSortClasses),F(e,orderCellsTop,bSortCellsTop),F(e,order,aaSorting),F(e,orderFixed,aaSortingFixed),F(e,paging,bPaginate),F(e,pagingType,sPaginationType),F(e,pageLength,iDisplayLength),F(e,searching,bFilter),booleantypeof e.sScrollX&&(e.sScrollXe.sScrollX?100%:),booleantypeof e.scrollX&&(e.scrollXe.scrollX?100%:);var te.aoSearchCols;if(t)for(var n0,at.length;na;n++)tn&&I(l.models.oSearch,tn)}function R(t){F(t,orderable,bSortable),F(t,orderData,aDataSort),F(t,orderSequence,asSorting),F(t,orderDataType,sortDataType);var nt.aDataSort;number!typeof n||e.isArray(n)||(t.aDataSortn)}function P(n){if(!l.__browser){var a{};l.__browsera;var re(div/>).css({position:fixed,top:0,left:-1*e(t).scrollLeft(),height:1,width:1,overflow:hidden}).append(e(div/>).css({position:absolute,top:1,left:1,width:100,overflow:scroll}).append(e(div/>).css({width:100%,height:10}))).appendTo(body),or.children(),io.children();a.barWidtho0.offsetWidth-o0.clientWidth,a.bScrollOversize100i0.offsetWidth&&100!o0.clientWidth,a.bScrollbarLeft1!Math.round(i.offset().left),a.bBounding!!r0.getBoundingClientRect().width,r.remove()}e.extend(n.oBrowser,l.__browser),n.oScroll.iBarWidthl.__browser.barWidth}function j(e,t,n,r,o,i){var s,lr,u!1;for(n!a&&(sn,u!0);l!o;)e.hasOwnProperty(l)&&(su?t(s,el,l,e):el,u!0,l+i);return s}function k(t,a){var rl.defaults.column,ot.aoColumns.length,ie.extend({},l.models.oColumn,r,{nTh:a||n.createElement(th),sTitle:r.sTitle?r.sTitle:a?a.innerHTML:,aDataSort:r.aDataSort?r.aDataSort:o,mData:r.mData?r.mData:o,idx:o});t.aoColumns.push(i);var st.aoPreSearchCols;soe.extend({},l.models.oSearch,so),N(t,o,e(a).data())}function N(t,n,r){var ot.aoColumnsn,it.oClasses,se(o.nTh);if(!o.sWidthOrig){o.sWidthOrigs.attr(width)||null;var u(s.attr(style)||).match(/width:\s*(\d+pxem%+)/);u&&(o.sWidthOrigu1)}r!a&&null!r&&(R(r),I(l.defaults.column,r,!0),r.mDataPropa||r.mData||(r.mDatar.mDataProp),r.sType&&(o._sManualTyper.sType),r.className&&!r.sClass&&(r.sClassr.className),r.sClass&&s.addClass(r.sClass),e.extend(o,r),st(o,r,sWidth,sWidthOrig),r.iDataSort!a&&(o.aDataSortr.iDataSort),st(o,r,aDataSort));var co.mData,dY(c),fo.mRender?Y(o.mRender):null,hfunction(e){returnstringtypeof e&&-1!e.indexOf(@)};o._bAttrSrce.isPlainObject(c)&&(h(c.sort)||h(c.type)||h(c.filter)),o._setternull,o.fnGetDatafunction(e,t,n){var rd(e,t,a,n);return f&&t?f(r,t,e,n):r},o.fnSetDatafunction(e,t,n){return Z(c)(e,t,n)},number!typeof c&&(t._rowReadObject!0),t.oFeatures.bSort||(o.bSortable!1,s.addClass(i.sSortableNone));var p-1!e.inArray(asc,o.asSorting),g-1!e.inArray(desc,o.asSorting);o.bSortable&&(p||g)?p&&!g?(o.sSortingClassi.sSortableAsc,o.sSortingClassJUIi.sSortJUIAscAllowed):!p&&g?(o.sSortingClassi.sSortableDesc,o.sSortingClassJUIi.sSortJUIDescAllowed):(o.sSortingClassi.sSortable,o.sSortingClassJUIi.sSortJUI):(o.sSortingClassi.sSortableNone,o.sSortingClassJUI)}function H(e){if(!1!e.oFeatures.bAutoWidth){var te.aoColumns;qe(e);for(var n0,at.length;na;n++)tn.nTh.style.widthtn.sWidth}var re.oScroll;r.sY&&r.sX||Be(e),dt(e,null,column-sizing,e)}function O(e,t){var nE(e,bVisible);returnnumbertypeof nt?nt:null}function W(t,n){var aE(t,bVisible),re.inArray(n,a);return-1!r?r:null}function M(t){var n0;return e.each(t.aoColumns,(function(t,a){a.bVisible&&none!e(a.nTh).css(display)&&n++})),n}function E(t,n){var a;return e.map(t.aoColumns,(function(e,t){en&&a.push(t)})),a}function B(e){var t,n,r,o,i,s,u,c,d,fe.aoColumns,he.aoData,pl.ext.type.detect;for(t0,nf.length;tn;t++)if(d,!(uft).sType&&u._sManualType)u.sTypeu._sManualType;else if(!u.sType){for(r0,op.length;ro;r++){for(i0,sh.length;is&&(dia&&(diX(e,i,t,type)),(cpr(di,e))||rp.length-1)&&html!c;i++);if(c){u.sTypec;break}}u.sType||(u.sTypestring)}}function U(t,n,r,o){var i,s,l,u,c,d,f,ht.aoColumns;if(n)for(in.length-1;i>0;i--){var p(fni).targets!a?f.targets:f.aTargets;for(e.isArray(p)||(pp),l0,up.length;lu;l++)if(numbertypeof pl&&pl>0){for(;h.lengthpl;)k(t);o(pl,f)}else if(numbertypeof pl&&pl0)o(h.length+pl,f);else if(stringtypeof pl)for(c0,dh.length;cd;c++)(_allpl||e(hc.nTh).hasClass(pl))&&o(c,f)}if(r)for(i0,sr.length;is;i++)o(i,ri)}function V(t,n,r,o){var it.aoData.length,se.extend(!0,{},l.models.oRow,{src:r?dom:data,idx:i});s._aDatan,t.aoData.push(s);for(var ut.aoColumns,c0,du.length;cd;c++)uc.sTypenull;t.aiDisplayMaster.push(i);var ft.rowIdFn(n);return f!a&&(t.aIdsfs),!r&&t.oFeatures.bDeferRender||ae(t,i,r,o),i}function q(t,n){var a;return n instanceof e||(ne(n)),n.map((function(e,n){return ane(t,n),V(t,a.data,n,a.cells)}))}function X(e,t,n,r){var oe.iDraw,ie.aoColumnsn,se.aoDatat._aData,li.sDefaultContent,ui.fnGetData(s,r,{settings:e,row:t,col:n});if(ua)return e.iDrawError!o&&nulll&&(it(e,0,Requested unknown parameter +(functiontypeof i.mData?{function}:+i.mData+)+ for row +t+, column +n,4),e.iDrawErroro),l;if(u!s&&null!u||nulll||ra){if(functiontypeof u)return u.call(s)}else ul;return nullu&&displayr?:u}function z(e,t,n,a){var re.aoColumnsn,oe.aoDatat._aData;r.fnSetData(o,a,{settings:e,row:t,col:n})}var J/\.*?\$/,$/\(\)$/;function G(t){return e.map(t.match(/(\\.|^\.)+/g)||,(function(e){return e.replace(/\\\./g,.)}))}function Y(t){if(e.isPlainObject(t)){var n{};return e.each(t,(function(e,t){t&&(neY(t))})),function(e,t,r,o){var int||n._;return i!a?i(e,t,r,o):e}}if(nullt)return function(e){return e};if(functiontypeof t)return function(e,n,a,r){return t(e,n,a,r)};if(string!typeof t||-1t.indexOf(.)&&-1t.indexOf()&&-1t.indexOf(())return function(e,n){return et};var rfunction(t,n,o){var i,s,l,u;if(!o)for(var cG(o),d0,fc.length;df;d++){if(icd.match(J),scd.match($),i){if(cdcd.replace(J,),!cd&&(ttcd),l,c.splice(0,d+1),uc.join(.),e.isArray(t))for(var h0,pt.length;hp;h++)l.push(r(th,n,u));var gi0.substring(1,i0.length-1);tg?l:l.join(g);break}if(s)cdcd.replace($,),ttcd();else{if(nullt||tcda)return a;ttcd}}return t};return function(e,n){return r(e,n,t)}}function Z(t){if(e.isPlainObject(t))return Z(t._);if(nullt)return function(){};if(functiontypeof t)return function(e,n,a){t(e,set,n,a)};if(string!typeof t||-1t.indexOf(.)&&-1t.indexOf()&&-1t.indexOf(())return function(e,n){etn};var nfunction(t,r,o){for(var i,s,l,u,c,dG(o),fdd.length-1,h0,pd.length-1;hp;h++){if(sdh.match(J),ldh.match($),s){if(dhdh.replace(J,),tdh,(id.slice()).splice(0,h+1),ci.join(.),e.isArray(r))for(var g0,br.length;gb;g++)n(u{},rg,c),tdh.push(u);else tdhr;return}l&&(dhdh.replace($,),ttdh(r)),null!tdh&&tdh!a||(tdh{}),ttdh}f.match($)?ttf.replace($,)(r):tf.replace(J,)r};return function(e,a){return n(e,a,t)}}function Q(e){return S(e.aoData,_aData)}function K(e){e.aoData.length0,e.aiDisplayMaster.length0,e.aiDisplay.length0,e.aIds{}}function ee(e,t,n){for(var r-1,o0,ie.length;oi;o++)eot?ro:eo>t&&eo--;-1!r&&na&&e.splice(r,1)}function te(e,t,n,r){var o,i,se.aoDatat,lfunction(n,a){for(;n.childNodes.length;)n.removeChild(n.firstChild);n.innerHTMLX(e,t,a,display)};if(dom!n&&(n&&auto!n||dom!s.src)){var us.anCells;if(u)if(r!a)l(ur,r);else for(o0,iu.length;oi;o++)l(uo,o)}else s._aDatane(e,s,r,ra?a:s._aData).data;s._aSortDatanull,s._aFilterDatanull;var ce.aoColumns;if(r!a)cr.sTypenull;else{for(o0,ic.length;oi;o++)co.sTypenull;re(e,s)}}function ne(t,n,r,o){var i,s,l,u,cn.firstChild,d0,ft.aoColumns,ht._rowReadObject;oo!a?o:h?{}:;var pfunction(e,t){if(stringtypeof e){var ne.indexOf(@);if(-1!n){var ae.substring(n+1);Z(e)(o,t.getAttribute(a))}}},gfunction(t){r!a&&r!d||(sfd,le.trim(t.innerHTML),s&&s._bAttrSrc?(Z(s.mData._)(o,l),p(s.mData.sort,t),p(s.mData.type,t),p(s.mData.filter,t)):h?(s._setter||(s._setterZ(s.mData)),s._setter(o,l)):odl);d++};if(c)for(;c;)TD!(ic.nodeName.toUpperCase())&&TH!i||(g(c),u.push(c)),cc.nextSibling;else for(var b0,v(un.anCells).length;bv;b++)g(ub);var mn.firstChild?n:n.nTr;if(m){var ym.getAttribute(id);y&&Z(t.rowId)(o,y)}return{data:o,cells:u}}function ae(t,a,r,o){var i,s,l,u,c,d,ft.aoDataa,hf._aData,p;if(nullf.nTr){for(ir||n.createElement(tr),f.nTri,f.anCellsp,i._DT_RowIndexa,re(t,f),u0,ct.aoColumns.length;uc;u++)lt.aoColumnsu,(s(d!r)?n.createElement(l.sCellType):ou)._DT_CellIndex{row:a,column:u},p.push(s),!d&&(r&&!l.mRender&&l.mDatau||e.isPlainObject(l.mData)&&l.mData._u+.display)||(s.innerHTMLX(t,a,u,display)),l.sClass&&(s.className+ +l.sClass),l.bVisible&&!r?i.appendChild(s):!l.bVisible&&r&&s.parentNode.removeChild(s),l.fnCreatedCell&&l.fnCreatedCell.call(t.oInstance,s,X(t,a,u),h,a,u);dt(t,aoRowCreatedCallback,null,i,h,a,p)}f.nTr.setAttribute(role,row)}function re(t,n){var an.nTr,rn._aData;if(a){var ot.rowIdFn(r);if(o&&(a.ido),r.DT_RowClass){var ir.DT_RowClass.split( );n.__rowcn.__rowc?x(n.__rowc.concat(i)):i,e(a).removeClass(n.__rowc.join( )).addClass(r.DT_RowClass)}r.DT_RowAttr&&e(a).attr(r.DT_RowAttr),r.DT_RowData&&e(a).data(r.DT_RowData)}}function oe(t){var n,a,r,o,i,st.nTHead,lt.nTFoot,u0e(th, td,s).length,ct.oClasses,dt.aoColumns;for(u&&(oe(tr/>).appendTo(s)),n0,ad.length;na;n++)idn,re(i.nTh).addClass(i.sClass),u&&r.appendTo(o),t.oFeatures.bSort&&(r.addClass(i.sSortingClass),!1!i.bSortable&&(r.attr(tabindex,t.iTabIndex).attr(aria-controls,t.sTableId),et(t,i.nTh,n))),i.sTitle!r0.innerHTML&&r.html(i.sTitle),ht(t,header)(t,r,i,c);if(u&&ce(t.aoHeader,s),e(s).find(>tr).attr(role,row),e(s).find(>tr>th, >tr>td).addClass(c.sHeaderTH),e(l).find(>tr>th, >tr>td).addClass(c.sFooterTH),null!l){var ft.aoFooter0;for(n0,af.length;na;n++)(idn).nTffn.cell,i.sClass&&e(i.nTf).addClass(i.sClass)}}function ie(t,n,r){var o,i,s,l,u,c,d,f,h,p,g,bt.aoColumns.length;if(n){for(ra&&(r!1),o0,in.length;oi;o++){for(pono.slice(),po.nTrno.nTr,sb-1;s>0;s--)t.aoColumnss.bVisible||r||po.splice(s,1);g.push()}for(o0,ip.length;oi;o++){if(dpo.nTr)for(;cd.firstChild;)d.removeChild(c);for(s0,lpo.length;sl;s++)if(f1,h1,gosa){for(d.appendChild(pos.cell),gos1;po+f!a&&pos.cellpo+fs.cell;)go+fs1,f++;for(;pos+h!a&&pos.cellpos+h.cell;){for(u0;uf;u++)go+us+h1;h++}e(pos.cell).attr(rowspan,f).attr(colspan,h)}}}}function se(t){var ndt(t,aoPreDrawCallback,preDraw,t);if(-1e.inArray(!1,n)){var r,o0,it.asStripeClasses,si.length,l(t.aoOpenRows.length,t.oLanguage),ut.iInitDisplayStart,cssppt(t),dt.aiDisplay;t.bDrawing!0,u!a&&-1!u&&(t._iDisplayStartc?u:u>t.fnRecordsDisplay()?0:u,t.iInitDisplayStart-1);var ft._iDisplayStart,ht.fnDisplayEnd();if(t.bDeferLoading)t.bDeferLoading!1,t.iDraw++,Me(t,!1);else if(c){if(!t.bDestroying&&!he(t))return}else t.iDraw++;if(0!d.length)for(var pc?0:f,gc?t.aoData.length:h,bp;bg;b++){var vdb,mt.aoDatav;nullm.nTr&&ae(t,v);var ym.nTr;if(0!s){var Sio%s;m._sRowStripe!S&&(e(y).removeClass(m._sRowStripe).addClass(S),m._sRowStripeS)}dt(t,aoRowCallback,null,y,m._aData,o,b,v),r.push(y),o++}else{var Dl.sZeroRecords;1t.iDraw&&ajaxpt(t)?Dl.sLoadingRecords:l.sEmptyTable&&0t.fnRecordsTotal()&&(Dl.sEmptyTable),r0e(tr/>,{class:s?i0:}).append(e(td />,{valign:top,colSpan:M(t),class:t.oClasses.sRowEmpty}).html(D))0}dt(t,aoHeaderCallback,header,e(t.nTHead).children(tr)0,Q(t),f,h,d),dt(t,aoFooterCallback,footer,e(t.nTFoot).children(tr)0,Q(t),f,h,d);var _e(t.nTBody);_.children().detach(),_.append(e(r)),dt(t,aoDrawCallback,draw,t),t.bSorted!1,t.bFiltered!1,t.bDrawing!1}else Me(t,!1)}function le(e,t){var ne.oFeatures,an.bSort,rn.bFilter;a&&Ze(e),r?me(e,e.oPreviousSearch):e.aiDisplaye.aiDisplayMaster.slice(),!0!t&&(e._iDisplayStart0),e._drawHoldt,se(e),e._drawHold!1}function ue(t){var nt.oClasses,ae(t.nTable),re(div/>).insertBefore(a),ot.oFeatures,ie(div/>,{id:t.sTableId+_wrapper,class:n.sWrapper+(t.nTFoot?: +n.sNoFooter)});t.nHoldingr0,t.nTableWrapperi0,t.nTableReinsertBeforet.nTable.nextSibling;for(var s,u,c,d,f,h,pt.sDom.split(),g0;gp.length;g++){if(snull,(upg)){if(ce(div/>)0,(dpg+1)||d){for(f,h2;pg+h!d;)f+pg+h,h++;if(Hf?fn.sJUIHeader:Ff&&(fn.sJUIFooter),-1!f.indexOf(.)){var bf.split(.);c.idb0.substr(1,b0.length-1),c.classNameb1}else#f.charAt(0)?c.idf.substr(1,f.length-1):c.classNamef;g+h}i.append(c),ie(c)}else if(>u)ii.parent();else if(lu&&o.bPaginate&&o.bLengthChange)sNe(t);else if(fu&&o.bFilter)sve(t);else if(ru&&o.bProcessing)sWe(t);else if(tu)sEe(t);else if(iu&&o.bInfo)sFe(t);else if(pu&&o.bPaginate)sHe(t);else if(0!l.ext.feature.length)for(var vl.ext.feature,m0,yv.length;my;m++)if(uvm.cFeature){svm.fnInit(t);break}if(s){var St.aanFeatures;Su||(Su),Su.push(s),i.append(s)}}r.replaceWith(i),t.nHoldingnull}function ce(t,n){var a,r,o,i,s,l,u,c,d,f,he(n).children(tr),pfunction(e,t,n){for(var aet;an;)n++;return n};for(t.splice(0,t.length),o0,lh.length;ol;o++)t.push();for(o0,lh.length;ol;o++)for(0,r(aho).firstChild;r;){if(TDr.nodeName.toUpperCase()||THr.nodeName.toUpperCase())for(c(c1*r.getAttribute(colspan))&&0!c&&1!c?c:1,d(d1*r.getAttribute(rowspan))&&0!d&&1!d?d:1,up(t,o,0),f1c,s0;sc;s++)for(i0;id;i++)to+iu+s{cell:r,unique:f},to+i.nTra;rr.nextSibling}}function de(e,t,n){var a;n||(ne.aoHeader,t&&ce(n,t));for(var r0,on.length;ro;r++)for(var i0,snr.length;is;i++)!nri.unique||ai&&e.bSortCellsTop||(ainri.cell);return a}function fe(t,n,a){if(dt(t,aoServerParams,serverParams,n),n&&e.isArray(n)){var r{},o/(.*?)\\$/;e.each(n,(function(e,t){var nt.name.match(o);if(n){var an0;ra||(ra),ra.push(t.value)}else rt.namet.value})),nr}var i,st.ajax,lt.oInstance,ufunction(e){dt(t,null,xhr,t,e,t.jqXHR),a(e)};if(e.isPlainObject(s)&&s.data){var cfunctiontypeof(is.data)?i(n,t):i;nfunctiontypeof i&&c?c:e.extend(!0,n,c),delete s.data}var d{data:n,success:function(e){var ne.error||e.sError;n&&it(t,0,n),t.jsone,u(e)},dataType:json,cache:!1,type:t.sServerMethod,error:function(n,a,r){var odt(t,null,xhr,t,null,t.jqXHR);-1e.inArray(!0,o)&&(parsererrora?it(t,0,Invalid JSON response,1):4n.readyState&&it(t,0,Ajax error,7)),Me(t,!1)}};t.oAjaxDatan,dt(t,null,preXhr,t,n),t.fnServerData?t.fnServerData.call(l,t.sAjaxSource,e.map(n,(function(e,t){return{name:t,value:e}})),u,t):t.sAjaxSource||stringtypeof s?t.jqXHRe.ajax(e.extend(d,{url:s||t.sAjaxSource})):functiontypeof s?t.jqXHRs.call(l,n,u,t):(t.jqXHRe.ajax(e.extend(d,s)),s.datai)}function he(e){return!e.bAjaxDataGet||(e.iDraw++,Me(e,!0),fe(e,pe(e),(function(t){ge(e,t)})),!1)}function pe(t){var n,a,r,o,it.aoColumns,si.length,ut.oFeatures,ct.oPreviousSearch,dt.aoPreSearchCols,f,hYe(t),pt._iDisplayStart,g!1!u.bPaginate?t._iDisplayLength:-1,bfunction(e,t){f.push({name:e,value:t})};b(sEcho,t.iDraw),b(iColumns,s),b(sColumns,S(i,sName).join(,)),b(iDisplayStart,p),b(iDisplayLength,g);var v{draw:t.iDraw,columns:,order:,start:p,length:g,search:{value:c.sSearch,regex:c.bRegex}};for(n0;ns;n++)rin,odn,afunctiontypeof r.mData?function:r.mData,v.columns.push({data:a,name:r.sName,searchable:r.bSearchable,orderable:r.bSortable,search:{value:o.sSearch,regex:o.bRegex}}),b(mDataProp_+n,a),u.bFilter&&(b(sSearch_+n,o.sSearch),b(bRegex_+n,o.bRegex),b(bSearchable_+n,r.bSearchable)),u.bSort&&b(bSortable_+n,r.bSortable);u.bFilter&&(b(sSearch,c.sSearch),b(bRegex,c.bRegex)),u.bSort&&(e.each(h,(function(e,t){v.order.push({column:t.col,dir:t.dir}),b(iSortCol_+e,t.col),b(sSortDir_+e,t.dir)})),b(iSortingCols,h.length));var ml.ext.legacy.ajax;return nullm?t.sAjaxSource?f:v:m?f:v}function ge(e,t){var nfunction(e,n){return te!a?te:tn},rbe(e,t),on(sEcho,draw),in(iTotalRecords,recordsTotal),sn(iTotalDisplayRecords,recordsFiltered);if(o!a){if(1*oe.iDraw)return;e.iDraw1*o}K(e),e._iRecordsTotalparseInt(i,10),e._iRecordsDisplayparseInt(s,10);for(var l0,ur.length;lu;l++)V(e,rl);e.aiDisplaye.aiDisplayMaster.slice(),e.bAjaxDataGet!1,se(e),e._bInitComplete||je(e,t),e.bAjaxDataGet!0,Me(e,!1)}function be(t,n){var re.isPlainObject(t.ajax)&&t.ajax.dataSrc!a?t.ajax.dataSrc:t.sAjaxDataProp;returndatar?n.aaData||nr:!r?Y(r)(n):n}function ve(t){var at.oClasses,rt.sTableId,ot.oLanguage,it.oPreviousSearch,st.aanFeatures,linput typesearch class+a.sFilterInput+/>,uo.sSearch;uu.match(/_INPUT_/)?u.replace(_INPUT_,l):u+l;var ce(div/>,{id:s.f?null:r+_filter,class:a.sFilter}).append(e(label/>).append(u)),dfunction(){s.f;var ethis.value?this.value:;e!i.sSearch&&(me(t,{sSearch:e,bRegex:i.bRegex,bSmart:i.bSmart,bCaseInsensitive:i.bCaseInsensitive}),t._iDisplayStart0,se(t))},fnull!t.searchDelay?t.searchDelay:ssppt(t)?400:0,he(input,c).val(i.sSearch).attr(placeholder,o.sSearchPlaceholder).on(keyup.DT search.DT input.DT paste.DT cut.DT,f?Xe(d,f):d).on(mouseup,(function(e){setTimeout((function(){d.call(h0)}),10)})).on(keypress.DT,(function(e){if(13e.keyCode)return!1})).attr(aria-controls,r);return e(t.nTable).on(search.dt.DT,(function(e,a){if(ta)try{h0!n.activeElement&&h.val(i.sSearch)}catch(e){}})),c0}function me(e,t,n){var re.oPreviousSearch,oe.aoPreSearchCols,ifunction(e){r.sSearche.sSearch,r.bRegexe.bRegex,r.bSmarte.bSmart,r.bCaseInsensitivee.bCaseInsensitive},sfunction(e){return e.bEscapeRegex!a?!e.bEscapeRegex:e.bRegex};if(B(e),ssp!pt(e)){De(e,t.sSearch,n,s(t),t.bSmart,t.bCaseInsensitive),i(t);for(var l0;lo.length;l++)Se(e,ol.sSearch,l,s(ol),ol.bSmart,ol.bCaseInsensitive);ye(e)}else i(t);e.bFiltered!0,dt(e,null,search,e)}function ye(t){for(var n,a,rl.ext.search,ot.aiDisplay,i0,sr.length;is;i++){for(var u,c0,do.length;cd;c++)aoc,nt.aoDataa,ri(t,n._aFilterData,a,n._aData,c)&&u.push(a);o.length0,e.merge(o,u)}}function Se(e,t,n,a,r,o){if(!t){for(var i,s,le.aiDisplay,u_e(t,a,r,o),c0;cl.length;c++)ie.aoDatalc._aFilterDatan,u.test(i)&&s.push(lc);e.aiDisplays}}function De(e,t,n,a,r,o){var i,s,u,c_e(t,a,r,o),de.oPreviousSearch.sSearch,fe.aiDisplayMaster,h;if(0!l.ext.search.length&&(n!0),sTe(e),t.length0)e.aiDisplayf.slice();else{for((s||n||a||d.length>t.length||0!t.indexOf(d)||e.bSorted)&&(e.aiDisplayf.slice()),ie.aiDisplay,u0;ui.length;u++)c.test(e.aoDataiu._sFilterRow)&&h.push(iu);e.aiDisplayh}}function _e(t,n,a,r){if(tn?t:we(t),a){var oe.map(t.match(/^+|^ +/g)||,(function(e){if(e.charAt(0)){var te.match(/^(.*)$/);et?t1:e}return e.replace(,)}));t^(?.*?+o.join()(?.*?)+).*$}return new RegExp(t,r?i:)}var wel.util.escapeRegex,Cee(div>)0,xeCe.textContent!a;function Te(e){var t,n,a,r,o,i,s,u,ce.aoColumns,dl.ext.type.search,f!1;for(n0,re.aoData.length;nr;n++)if(!(ue.aoDatan)._aFilterData){for(i,a0,oc.length;ao;a++)(tca).bSearchable?(sX(e,n,a,filter),dt.sType&&(sdt.sType(s)),nulls&&(s),string!typeof s&&s.toString&&(ss.toString())):s,s.indexOf&&-1!s.indexOf(&)&&(Ce.innerHTMLs,sxe?Ce.textContent:Ce.innerText),s.replace&&(ss.replace(/\r\n\u2028/g,)),i.push(s);u._aFilterDatai,u._sFilterRowi.join( ),f!0}return f}function Ie(e){return{search:e.sSearch,smart:e.bSmart,regex:e.bRegex,caseInsensitive:e.bCaseInsensitive}}function Ae(e){return{sSearch:e.search,bSmart:e.smart,bRegex:e.regex,bCaseInsensitive:e.caseInsensitive}}function Fe(t){var nt.sTableId,at.aanFeatures.i,re(div/>,{class:t.oClasses.sInfo,id:a?null:n+_info});return a||(t.aoDrawCallback.push({fn:Le,sName:information}),r.attr(role,status).attr(aria-live,polite),e(t.nTable).attr(aria-describedby,n+_info)),r0}function Le(t){var nt.aanFeatures.i;if(0!n.length){var at.oLanguage,rt._iDisplayStart+1,ot.fnDisplayEnd(),it.fnRecordsTotal(),st.fnRecordsDisplay(),ls?a.sInfo:a.sInfoEmpty;s!i&&(l+ +a.sInfoFiltered),lRe(t,l+a.sInfoPostFix);var ua.fnInfoCallback;null!u&&(lu.call(t.oInstance,t,r,o,i,s,l)),e(n).html(l)}}function Re(e,t){var ne.fnFormatNumber,ae._iDisplayStart+1,re._iDisplayLength,oe.fnRecordsDisplay(),i-1r;return t.replace(/_START_/g,n.call(e,a)).replace(/_END_/g,n.call(e,e.fnDisplayEnd())).replace(/_MAX_/g,n.call(e,e.fnRecordsTotal())).replace(/_TOTAL_/g,n.call(e,o)).replace(/_PAGE_/g,n.call(e,i?1:Math.ceil(a/r))).replace(/_PAGES_/g,n.call(e,i?1:Math.ceil(o/r)))}function Pe(e){var t,n,a,re.iInitDisplayStart,oe.aoColumns,ie.oFeatures,se.bDeferLoading;if(e.bInitialised){for(ue(e),oe(e),ie(e,e.aoHeader),ie(e,e.aoFooter),Me(e,!0),i.bAutoWidth&&qe(e),t0,no.length;tn;t++)(aot).sWidth&&(a.nTh.style.widthGe(a.sWidth));dt(e,null,preInit,e),le(e);var lpt(e);(ssp!l||s)&&(ajaxl?fe(e,,(function(n){var abe(e,n);for(t0;ta.length;t++)V(e,at);e.iInitDisplayStartr,le(e),Me(e,!1),je(e,n)})):(Me(e,!1),je(e)))}else setTimeout((function(){Pe(e)}),200)}function je(e,t){e._bInitComplete!0,(t||e.oInit.aaData)&&H(e),dt(e,null,plugin-init,e,t),dt(e,aoInitComplete,init,e,t)}function ke(e,t){var nparseInt(t,10);e._iDisplayLengthn,ft(e),dt(e,null,length,e,n)}function Ne(t){for(var nt.oClasses,at.sTableId,rt.aLengthMenu,oe.isArray(r0),io?r0:r,so?r1:r,le(select/>,{name:a+_length,aria-controls:a,class:n.sLengthSelect}),u0,ci.length;uc;u++)l0unew Option(numbertypeof su?t.fnFormatNumber(su):su,iu);var de(div>label/>/div>).addClass(n.sLength);return t.aanFeatures.l||(d0.ida+_length),d.children().append(t.oLanguage.sLengthMenu.replace(_MENU_,l0.outerHTML)),e(select,d).val(t._iDisplayLength).on(change.DT,(function(n){ke(t,e(this).val()),se(t)})),e(t.nTable).on(length.dt.DT,(function(n,a,r){ta&&e(select,d).val(r)})),d0}function He(t){var nt.sPaginationType,al.ext.pagern,rfunctiontypeof a,ofunction(e){se(e)},ie(div/>).addClass(t.oClasses.sPaging+n)0,st.aanFeatures;return r||a.fnInit(t,i,o),s.p||(i.idt.sTableId+_paginate,t.aoDrawCallback.push({fn:function(e){if(r){var t,n,ie._iDisplayStart,le._iDisplayLength,ue.fnRecordsDisplay(),c-1l,dc?0:Math.ceil(i/l),fc?1:Math.ceil(u/l),ha(d,f);for(t0,ns.p.length;tn;t++)ht(e,pageButton)(e,s.pt,t,h,d,f)}else a.fnUpdate(e,o)},sName:pagination})),i}function Oe(e,t,n){var ae._iDisplayStart,re._iDisplayLength,oe.fnRecordsDisplay();0o||-1r?a0:numbertypeof t?(at*r)>o&&(a0):firstt?a0:previoust?(ar>0?a-r:0)0&&(a0):nextt?a+ro&&(a+r):lastt?aMath.floor((o-1)/r)*r:it(e,0,Unknown paging action: +t,5);var ie._iDisplayStart!a;return e._iDisplayStarta,i&&(dt(e,null,page,e),n&&se(e)),i}function We(t){return e(div/>,{id:t.aanFeatures.r?null:t.sTableId+_processing,class:t.oClasses.sProcessing}).html(t.oLanguage.sProcessing).insertBefore(t.nTable)0}function Me(t,n){t.oFeatures.bProcessing&&e(t.aanFeatures.r).css(display,n?block:none),dt(t,null,processing,t,n)}function Ee(t){var ne(t.nTable);n.attr(role,grid);var at.oScroll;if(a.sX&&a.sY)return t.nTable;var ra.sX,oa.sY,it.oClasses,sn.children(caption),ls.length?s0._captionSide:null,ue(n0.cloneNode(!1)),ce(n0.cloneNode(!1)),dn.children(tfoot),fdiv/>,hfunction(e){return e?Ge(e):null};d.length||(dnull);var pe(f,{class:i.sScrollWrapper}).append(e(f,{class:i.sScrollHead}).css({overflow:hidden,position:relative,border:0,width:r?h(r):100%}).append(e(f,{class:i.sScrollHeadInner}).css({box-sizing:content-box,width:a.sXInner||100%}).append(u.removeAttr(id).css(margin-left,0).append(topl?s:null).append(n.children(thead))))).append(e(f,{class:i.sScrollBody}).css({position:relative,overflow:auto,width:h(r)}).append(n));d&&p.append(e(f,{class:i.sScrollFoot}).css({overflow:hidden,border:0,width:r?h(r):100%}).append(e(f,{class:i.sScrollFootInner}).append(c.removeAttr(id).css(margin-left,0).append(bottoml?s:null).append(n.children(tfoot)))));var gp.children(),bg0,vg1,md?g2:null;return r&&e(v).on(scroll.DT,(function(e){var tthis.scrollLeft;b.scrollLeftt,d&&(m.scrollLeftt)})),e(v).css(max-height,o),a.bCollapse||e(v).css(height,o),t.nScrollHeadb,t.nScrollBodyv,t.nScrollFootm,t.aoDrawCallback.push({fn:Be,sName:scrolling}),p0}function Be(t){var n,r,o,i,s,l,u,c,d,ft.oScroll,hf.sX,pf.sXInner,gf.sY,bf.iBarWidth,ve(t.nScrollHead),mv0.style,yv.children(div),Dy0.style,_y.children(table),wt.nScrollBody,Ce(w),xw.style,Te(t.nScrollFoot).children(div),IT.children(table),Ae(t.nTHead),Fe(t.nTable),LF0,RL.style,Pt.nTFoot?e(t.nTFoot):null,jt.oBrowser,kj.bScrollOversize,NS(t.aoColumns,nTh),W,M,E,B,Ufunction(e){var te.style;t.paddingTop0,t.paddingBottom0,t.borderTopWidth0,t.borderBottomWidth0,t.height0},Vw.scrollHeight>w.clientHeight;if(t.scrollBarVis!V&&t.scrollBarVis!a)return t.scrollBarVisV,void H(t);t.scrollBarVisV,F.children(thead, tfoot).remove(),P&&(lP.clone().prependTo(F),rP.find(tr),il.find(tr)),sA.clone().prependTo(F),nA.find(tr),os.find(tr),s.find(th, td).removeAttr(tabindex),h||(x.width100%,v0.style.width100%),e.each(de(t,s),(function(e,n){uO(t,e),n.style.widtht.aoColumnsu.sWidth})),P&&Ue((function(e){e.style.width}),i),dF.outerWidth(),h?(R.width100%,k&&(F.find(tbody).height()>w.offsetHeight||scrollC.css(overflow-y))&&(R.widthGe(F.outerWidth()-b)),dF.outerWidth()):!p&&(R.widthGe(p),dF.outerWidth()),Ue(U,o),Ue((function(t){E.push(t.innerHTML),W.push(Ge(e(t).css(width)))}),o),Ue((function(t,n){-1!e.inArray(t,N)&&(t.style.widthWn)}),n),e(o).height(0),P&&(Ue(U,i),Ue((function(t){B.push(t.innerHTML),M.push(Ge(e(t).css(width)))}),i),Ue((function(e,t){e.style.widthMt}),r),e(i).height(0)),Ue((function(e,t){e.innerHTMLdiv classdataTables_sizing>+Et+/div>,e.childNodes0.style.height0,e.childNodes0.style.overflowhidden,e.style.widthWt}),o),P&&Ue((function(e,t){e.innerHTMLdiv classdataTables_sizing>+Bt+/div>,e.childNodes0.style.height0,e.childNodes0.style.overflowhidden,e.style.widthMt}),i),F.outerWidth()d?(cw.scrollHeight>w.offsetHeight||scrollC.css(overflow-y)?d+b:d,k&&(w.scrollHeight>w.offsetHeight||scrollC.css(overflow-y))&&(R.widthGe(c-b)),!h&&p||it(t,1,Possible column misalignment,6)):c100%,x.widthGe(c),m.widthGe(c),P&&(t.nScrollFoot.style.widthGe(c)),g||k&&(x.heightGe(L.offsetHeight+b));var qF.outerWidth();_0.style.widthGe(q),D.widthGe(q);var XF.height()>w.clientHeight||scrollC.css(overflow-y),zpadding+(j.bScrollbarLeft?Left:Right);DzX?b+px:0px,P&&(I0.style.widthGe(q),T0.style.widthGe(q),T0.stylezX?b+px:0px),F.children(colgroup).insertBefore(F.children(thead)),C.trigger(scroll),!t.bSorted&&!t.bFiltered||t._drawHold||(w.scrollTop0)}function Ue(e,t,n){for(var a,r,o0,i0,st.length;is;){for(ati.firstChild,rn?ni.firstChild:null;a;)1a.nodeType&&(n?e(a,r,o):e(a,o),o++),aa.nextSibling,rn?r.nextSibling:null;i++}}var Ve/.*?>/g;function qe(n){var a,r,o,in.nTable,sn.aoColumns,ln.oScroll,ul.sY,cl.sX,dl.sXInner,fs.length,hE(n,bVisible),pe(th,n.nTHead),gi.getAttribute(width),bi.parentNode,v!1,mn.oBrowser,ym.bScrollOversize,Si.style.width;for(S&&-1!S.indexOf(%)&&(gS),a0;ah.length;a++)null!(rsha).sWidth&&(r.sWidthze(r.sWidthOrig,b),v!0);if(y||!v&&!c&&!u&&fM(n)&&fp.length)for(a0;af;a++){var DO(n,a);null!D&&(sD.sWidthGe(p.eq(a).width()))}else{var _e(i).clone().css(visibility,hidden).removeAttr(id);_.find(tbody tr).remove();var we(tr/>).appendTo(_.find(tbody));for(_.find(thead, tfoot).remove(),_.append(e(n.nTHead).clone()).append(e(n.nTFoot).clone()),_.find(tfoot th, tfoot td).css(width,),pde(n,_.find(thead)0),a0;ah.length;a++)rsha,pa.style.widthnull!r.sWidthOrig&&!r.sWidthOrig?Ge(r.sWidthOrig):,r.sWidthOrig&&c&&e(pa).append(e(div/>).css({width:r.sWidthOrig,margin:0,padding:0,border:0,height:1}));if(n.aoData.length)for(a0;ah.length;a++)rsoha,e(Je(n,o)).clone(!1).append(r.sContentPadding).appendTo(w);e(name,_).removeAttr(name);var Ce(div/>).css(c||u?{position:absolute,top:0,left:0,height:1,right:0,overflow:hidden}:{}).append(_).appendTo(b);c&&d?_.width(d):c?(_.css(width,auto),_.removeAttr(width),_.width()b.clientWidth&&g&&_.width(b.clientWidth)):u?_.width(b.clientWidth):g&&_.width(g);var x0;for(a0;ah.length;a++){var Te(pa),IT.outerWidth()-T.width(),Am.bBounding?Math.ceil(pa.getBoundingClientRect().width):T.outerWidth();x+A,sha.sWidthGe(A-I)}i.style.widthGe(x),C.remove()}if(g&&(i.style.widthGe(g)),(g||c)&&!n._reszEvt){var Ffunction(){e(t).on(resize.DT-+n.sInstance,Xe((function(){H(n)})))};y?setTimeout(F,1e3):F(),n._reszEvt!0}}var Xel.util.throttle;function ze(t,a){if(!t)return 0;var re(div/>).css(width,Ge(t)).appendTo(a||n.body),or0.offsetWidth;return r.remove(),o}function Je(t,n){var a$e(t,n);if(a0)return null;var rt.aoDataa;return r.nTr?r.anCellsn:e(td/>).html(X(t,a,n,display))0}function $e(e,t){for(var n,a-1,r-1,o0,ie.aoData.length;oi;o++)(n(n(nX(e,o,t,display)+).replace(Ve,)).replace(/ /g, )).length>a&&(an.length,ro);return r}function Ge(e){return nulle?0px:numbertypeof e?e0?0px:e+px:e.match(/\d$/)?e+px:e}function Ye(t){var n,r,o,i,s,u,c,d,ft.aoColumns,ht.aaSortingFixed,pe.isPlainObject(h),g,bfunction(t){t.length&&!e.isArray(t0)?g.push(t):e.merge(g,t)};for(e.isArray(h)&&b(h),p&&h.pre&&b(h.pre),b(t.aaSorting),p&&h.post&&b(h.post),n0;ng.length;n++)for(r0,o(ifcgn0.aDataSort).length;ro;r++)ufsir.sType||string,gn._idxa&&(gn._idxe.inArray(gn1,fs.asSorting)),d.push({src:c,col:s,dir:gn1,index:gn._idx,type:u,formatter:l.ext.type.orderu+-pre});return d}function Ze(e){var t,n,a,r,o,i,sl.ext.type.order,ue.aoData,c(e.aoColumns,0),de.aiDisplayMaster;for(B(e),t0,n(oYe(e)).length;tn;t++)(rot).formatter&&c++,nt(e,r.col);if(ssp!pt(e)&&0!o.length){for(t0,ad.length;ta;t++)idtt;co.length?d.sort((function(e,t){var n,a,r,s,l,co.length,due._aSortData,fut._aSortData;for(r0;rc;r++)if(0!(s(nd(lor).col)(afl.col)?-1:n>a?1:0))returnascl.dir?s:-s;return(nie)(ait)?-1:n>a?1:0})):d.sort((function(e,t){var n,a,r,l,c,do.length,fue._aSortData,hut._aSortData;for(r0;rd;r++)if(nf(cor).col,ahc.col,0!(l(sc.type+-+c.dir||sstring-+c.dir)(n,a)))return l;return(nie)(ait)?-1:n>a?1:0}))}e.bSorted!0}function Qe(e){for(var t,n,ae.aoColumns,rYe(e),oe.oLanguage.oAria,i0,sa.length;is;i++){var lai,ul.asSorting,cl.sTitle.replace(/.*?>/g,),dl.nTh;d.removeAttribute(aria-sort),l.bSortable?(r.length>0&&r0.coli?(d.setAttribute(aria-sort,ascr0.dir?ascending:descending),nur0.index+1||u0):nu0,tc+(ascn?o.sSortAscending:o.sSortDescending)):tc,d.setAttribute(aria-label,t)}}function Ke(t,n,r,o){var i,st.aoColumnsn,lt.aaSorting,us.asSorting,cfunction(t,n){var rt._idx;return ra&&(re.inArray(t1,u)),r+1u.length?r+1:n?null:0};if(numbertypeof l0&&(lt.aaSortingl),r&&t.oFeatures.bSortMulti){var de.inArray(n,S(l,0));-1!d?(null(ic(ld,!0))&&1l.length&&(i0),nulli?l.splice(d,1):(ld1ui,ld._idxi)):(l.push(n,u0,0),ll.length-1._idx0)}else l.length&&l00n?(ic(l0),l.length1,l01ui,l0._idxi):(l.length0,l.push(n,u0),l0._idx0);le(t),functiontypeof o&&o(t)}function et(e,t,n,a){var re.aoColumnsn;ut(t,{},(function(t){!1!r.bSortable&&(e.oFeatures.bProcessing?(Me(e,!0),setTimeout((function(){Ke(e,n,t.shiftKey,a),ssp!pt(e)&&Me(e,!1)}),0)):Ke(e,n,t.shiftKey,a))}))}function tt(t){var n,a,r,ot.aLastSort,it.oClasses.sSortColumn,sYe(t),lt.oFeatures;if(l.bSort&&l.bSortClasses){for(n0,ao.length;na;n++)ron.src,e(S(t.aoData,anCells,r)).removeClass(i+(n2?n+1:3));for(n0,as.length;na;n++)rsn.src,e(S(t.aoData,anCells,r)).addClass(i+(n2?n+1:3))}t.aLastSorts}function nt(e,t){var n,a,r,oe.aoColumnst,il.ext.ordero.sSortDataType;i&&(ni.call(e.oInstance,e,t,W(e,t)));for(var sl.ext.type.ordero.sType+-pre,u0,ce.aoData.length;uc;u++)(ae.aoDatau)._aSortData||(a._aSortData),a._aSortDatat&&!i||(ri?nu:X(e,u,t,sort),a._aSortDatats?s(r):r)}function at(t){if(t.oFeatures.bStateSave&&!t.bDestroying){var n{time:+new Date,start:t._iDisplayStart,length:t._iDisplayLength,order:e.extend(!0,,t.aaSorting),search:Ie(t.oPreviousSearch),columns:e.map(t.aoColumns,(function(e,n){return{visible:e.bVisible,search:Ie(t.aoPreSearchColsn)}}))};dt(t,aoStateSaveParams,stateSaveParams,t,n),t.oSavedStaten,t.fnStateSaveCallback.call(t.oInstance,t,n)}}function rt(t,n,r){var o,i,st.aoColumns,lfunction(n){if(n&&n.time){var ldt(t,aoStateLoadParams,stateLoadParams,t,n);if(-1e.inArray(!1,l)){var ut.iStateDuration;if(u>0&&n.time+new Date-1e3*u)r();else if(n.columns&&s.length!n.columns.length)r();else{if(t.oLoadedStatee.extend(!0,{},n),n.start!a&&(t._iDisplayStartn.start,t.iInitDisplayStartn.start),n.length!a&&(t._iDisplayLengthn.length),n.order!a&&(t.aaSorting,e.each(n.order,(function(e,n){t.aaSorting.push(n0>s.length?0,n1:n)}))),n.search!a&&e.extend(t.oPreviousSearch,Ae(n.search)),n.columns)for(o0,in.columns.length;oi;o++){var cn.columnso;c.visible!a&&(so.bVisiblec.visible),c.search!a&&e.extend(t.aoPreSearchColso,Ae(c.search))}dt(t,aoStateLoaded,stateLoaded,t,n),r()}}else r()}else r()};if(t.oFeatures.bStateSave){var ut.fnStateLoadCallback.call(t.oInstance,t,l);u!a&&l(u)}else r()}function ot(t){var nl.settings,ae.inArray(t,S(n,nTable));return-1!a?na:null}function it(e,n,a,r){if(aDataTables warning: +(e?table id+e.sTableId+ - :)+a,r&&(a+. For more information about this error, please see http://datatables.net/tn/+r),n)t.console&&console.log&&console.log(a);else{var ol.ext,io.sErrMode||o.errMode;if(e&&dt(e,null,error,e,r,a),alerti)alert(a);else{if(throwi)throw new Error(a);functiontypeof i&&i(e,r,a)}}}function st(t,n,r,o){e.isArray(r)?e.each(r,(function(a,r){e.isArray(r)?st(t,n,r0,r1):st(t,n,r)})):(oa&&(or),nr!a&&(tonr))}function lt(t,n,a){var r;for(var o in n)n.hasOwnProperty(o)&&(rno,e.isPlainObject(r)?(e.isPlainObject(to)||(to{}),e.extend(!0,to,r)):a&&data!o&&aaData!o&&e.isArray(r)?tor.slice():tor);return t}function ut(t,n,a){e(t).on(click.DT,n,(function(n){e(t).trigger(blur),a(n)})).on(keypress.DT,n,(function(e){13e.which&&(e.preventDefault(),a(e))})).on(selectstart.DT,(function(){return!1}))}function ct(e,t,n,a){n&&et.push({fn:n,sName:a})}function dt(t,n,a,r){var o;if(n&&(oe.map(tn.slice().reverse(),(function(e,n){return e.fn.apply(t.oInstance,r)}))),null!a){var ie.Event(a+.dt);e(t.nTable).trigger(i,r),o.push(i.result)}return o}function ft(e){var te._iDisplayStart,ne.fnDisplayEnd(),ae._iDisplayLength;t>n&&(tn-a),t-t%a,(-1a||t0)&&(t0),e._iDisplayStartt}function ht(t,n){var at.renderer,rl.ext.renderern;return e.isPlainObject(a)&&an?ran||r._:stringtypeof a&&ra||r._}function pt(e){return e.oFeatures.bServerSide?ssp:e.ajax||e.sAjaxSource?ajax:dom}var gt,btArray.prototype;ofunction(t,n){if(!(this instanceof o))return new o(t,n);var a,rfunction(t){var nfunction(t){var n,a,rl.settings,oe.map(r,(function(e,t){return e.nTable}));return t?t.nTable&&t.oApi?t:t.nodeName&&tablet.nodeName.toLowerCase()?-1!(ne.inArray(t,o))?rn:null:t&&functiontypeof t.settings?t.settings().toArray():(stringtypeof t?ae(t):t instanceof e&&(at),a?a.map((function(t){return-1!(ne.inArray(this,o))?rn:null})).toArray():void 0):}(t);n&&a.push.apply(a,n)};if(e.isArray(t))for(var i0,st.length;is;i++)r(ti);else r(t);this.contextx(a),n&&e.merge(this,n),this.selector{rows:null,cols:null,opts:null},o.extend(this,this,gt)},l.Apio,e.extend(o.prototype,{any:function(){return 0!this.count()},concat:bt.concat,context:,count:function(){return this.flatten().length},each:function(e){for(var t0,nthis.length;tn;t++)e.call(this,thist,t,this);return this},eq:function(e){var tthis.context;return t.length>e?new o(te,thise):null},filter:function(e){var t;if(bt.filter)tbt.filter.call(this,e,this);else for(var n0,athis.length;na;n++)e.call(this,thisn,n,this)&&t.push(thisn);return new o(this.context,t)},flatten:function(){var e;return new o(this.context,e.concat.apply(e,this.toArray()))},join:bt.join,indexOf:bt.indexOf||function(e,t){for(var nt||0,athis.length;na;n++)if(thisne)return n;return-1},iterator:function(e,t,n,r){var i,s,l,u,c,d,f,h,p,gthis.context,bthis.selector;for(stringtypeof e&&(rn,nt,te,e!1),s0,lg.length;sl;s++){var vnew o(gs);if(tablet)(in.call(v,gs,s))!a&&p.push(i);else if(columnst||rowst)(in.call(v,gs,thiss,s))!a&&p.push(i);else if(columnt||column-rowst||rowt||cellt)for(fthiss,column-rowst&&(d_t(gs,b.opts)),u0,cf.length;uc;u++)hfu,(icellt?n.call(v,gs,h.row,h.column,s,u):n.call(v,gs,h,s,u,d))!a&&p.push(i)}if(p.length||r){var mnew o(g,e?p.concat.apply(,p):p),ym.selector;return y.rowsb.rows,y.colsb.cols,y.optsb.opts,m}return this},lastIndexOf:bt.lastIndexOf||function(e,t){return this.indexOf.apply(this.toArray.reverse(),arguments)},length:0,map:function(e){var t;if(bt.map)tbt.map.call(this,e,this);else for(var n0,athis.length;na;n++)t.push(e.call(this,thisn,n));return new o(this.context,t)},pluck:function(e){return this.map((function(t){return te}))},pop:bt.pop,push:bt.push,reduce:bt.reduce||function(e,t){return j(this,e,t,0,this.length,1)},reduceRight:bt.reduceRight||function(e,t){return j(this,e,t,this.length-1,-1,-1)},reverse:bt.reverse,selector:null,shift:bt.shift,slice:function(){return new o(this.context,this)},sort:bt.sort,splice:bt.splice,toArray:function(){return bt.slice.call(this)},to$:function(){return e(this)},toJQuery:function(){return e(this)},unique:function(){return new o(this.context,x(this))},unshift:bt.unshift}),o.extendfunction(e,t,n){if(n.length&&t&&(t instanceof o||t.__dt_wrapper)){var a,r,i,sfunction(e,t,n){return function(){var at.apply(e,arguments);return o.extend(a,a,n.methodExt),a}};for(a0,rn.length;ar;a++)t(ina).namefunctioni.type?s(e,i.val,i):objecti.type?{}:i.val,ti.name.__dt_wrapper!0,o.extend(e,ti.name,i.propExt)}},o.registerifunction(t,n){if(e.isArray(t))for(var a0,rt.length;ar;a++)o.register(ta,n);else{var i,s,l,u,ct.split(.),dgt,ffunction(e,t){for(var n0,ae.length;na;n++)if(en.namet)return en;return null};for(i0,sc.length;is;i++){var hf(d,l(u-1!ci.indexOf(()))?ci.replace((),):ci);h||(h{name:l,val:{},methodExt:,propExt:,type:object},d.push(h)),is-1?(h.valn,h.typefunctiontypeof n?function:e.isPlainObject(n)?object:other):du?h.methodExt:h.propExt}}},o.registerPluralsfunction(t,n,r){o.register(t,r),o.register(n,(function(){var tr.apply(this,arguments);return tthis?this:t instanceof o?t.length?e.isArray(t0)?new o(t.context,t0):t0:a:t}))};var vtfunction(t,n){if(e.isArray(t))return e.map(t,(function(e){return vt(e,n)}));if(numbertypeof t)returnnt;var ae.map(n,(function(e,t){return e.nTable}));return e(a).filter(t).map((function(t){var re.inArray(this,a);return nr})).toArray()};i(tables(),(function(e){return e!a&&null!e?new o(vt(e,this.context)):this})),i(table(),(function(e){var tthis.tables(e),nt.context;return n.length?new o(n0):t})),s(tables().nodes(),table().node(),(function(){return this.iterator(table,(function(e){return e.nTable}),1)})),s(tables().body(),table().body(),(function(){return this.iterator(table,(function(e){return e.nTBody}),1)})),s(tables().header(),table().header(),(function(){return this.iterator(table,(function(e){return e.nTHead}),1)})),s(tables().footer(),table().footer(),(function(){return this.iterator(table,(function(e){return e.nTFoot}),1)})),s(tables().containers(),table().container(),(function(){return this.iterator(table,(function(e){return e.nTableWrapper}),1)})),i(draw(),(function(e){return this.iterator(table,(function(t){pagee?se(t):(stringtypeof e&&(efull-hold!e),le(t,!1e))}))})),i(page(),(function(e){return ea?this.page.info().page:this.iterator(table,(function(t){Oe(t,e)}))})),i(page.info(),(function(e){if(0this.context.length)return a;var tthis.context0,nt._iDisplayStart,rt.oFeatures.bPaginate?t._iDisplayLength:-1,ot.fnRecordsDisplay(),i-1r;return{page:i?0:Math.floor(n/r),pages:i?1:Math.ceil(o/r),start:n,end:t.fnDisplayEnd(),length:r,recordsTotal:t.fnRecordsTotal(),recordsDisplay:o,serverSide:ssppt(t)}})),i(page.len(),(function(e){return ea?0!this.context.length?this.context0._iDisplayLength:a:this.iterator(table,(function(t){ke(t,e)}))}));var mtfunction(e,t,n){if(n){var anew o(e);a.one(draw,(function(){n(a.ajax.json())}))}if(ssppt(e))le(e,t);else{Me(e,!0);var re.jqXHR;r&&4!r.readyState&&r.abort(),fe(e,,(function(n){K(e);for(var abe(e,n),r0,oa.length;ro;r++)V(e,ar);le(e,t),Me(e,!1)}))}};i(ajax.json(),(function(){var ethis.context;if(e.length>0)return e0.json})),i(ajax.params(),(function(){var ethis.context;if(e.length>0)return e0.oAjaxData})),i(ajax.reload(),(function(e,t){return this.iterator(table,(function(n){mt(n,!1t,e)}))})),i(ajax.url(),(function(t){var nthis.context;return ta?0n.length?a:(nn0).ajax?e.isPlainObject(n.ajax)?n.ajax.url:n.ajax:n.sAjaxSource:this.iterator(table,(function(n){e.isPlainObject(n.ajax)?n.ajax.urlt:n.ajaxt}))})),i(ajax.url().load(),(function(e,t){return this.iterator(table,(function(n){mt(n,!1t,e)}))}));var ytfunction(t,n,o,i,s){var l,u,c,d,f,h,p,gtypeof n;for(n&&string!g&&function!g&&n.length!a||(nn),c0,dn.length;cd;c++)for(f0,h(unc&&nc.split&&!nc.match(/\\(:/)?nc.split(,):nc).length;fh;f++)(lo(stringtypeof uf?e.trim(uf):uf))&&l.length&&(pp.concat(l));var br.selectort;if(b.length)for(c0,db.length;cd;c++)pbc(i,s,p);return x(p)},Stfunction(t){return t||(t{}),t.filter&&t.searcha&&(t.searcht.filter),e.extend({search:none,order:current,page:all},t)},Dtfunction(e){for(var t0,ne.length;tn;t++)if(et.length>0)return e0et,e0.length1,e.length1,e.contexte.contextt,e;return e.length0,e},_tfunction(t,n){var a,r,ot.aiDisplay,it.aiDisplayMaster,sn.search,ln.order,un.page;if(ssppt(t))returnremoveds?:_(0,i.length);if(currentu)for(dt._iDisplayStart,ft.fnDisplayEnd();df;d++)r.push(od);else if(currentl||appliedl){if(nones)ri.slice();else if(applieds)ro.slice();else if(removeds){for(var c{},d0,fo.length;df;d++)codnull;re.map(i,(function(e){return c.hasOwnProperty(e)?null:e}))}}else if(indexl||originall)for(d0,ft.aoData.length;df;d++)(nones||-1(ae.inArray(d,o))&&removeds||a>0&&applieds)&&r.push(d);return r};i(rows(),(function(t,n){ta?t:e.isPlainObject(t)&&(nt,t),nSt(n);var rthis.iterator(table,(function(r){return function(t,n,r){var o;return yt(row,n,(function(n){var ib(n),st.aoData;if(null!i&&!r)returni;if(o||(o_t(t,r)),null!i&&-1!e.inArray(i,o))returni;if(nulln||na||n)return o;if(functiontypeof n)return e.map(o,(function(e){var tse;return n(e,t._aData,t.nTr)?e:null}));if(n.nodeName){var ln._DT_RowIndex,un._DT_CellIndex;if(l!a)return sl&&sl.nTrn?l:;if(u)return su.row&&su.row.nTrn.parentNode?u.row:;var ce(n).closest(*data-dt-row);return c.length?c.data(dt-row):}if(stringtypeof n&n.charAt(0)){var dt.aIdsn.replace(/^#/,);if(d!a)returnd.idx}var fw(D(t.aoData,o,nTr));return e(f).filter(n).map((function(){return this._DT_RowIndex})).toArray()}),t,r)}(r,t,n)}),1);return r.selector.rowst,r.selector.optsn,r})),i(rows().nodes(),(function(){return this.iterator(row,(function(e,t){return e.aoDatat.nTr||a}),1)})),i(rows().data(),(function(){return this.iterator(!0,rows,(function(e,t){return D(e.aoData,t,_aData)}),1)})),s(rows().cache(),row().cache(),(function(e){return this.iterator(row,(function(t,n){var at.aoDatan;returnsearche?a._aFilterData:a._aSortData}),1)})),s(rows().invalidate(),row().invalidate(),(function(e){return this.iterator(row,(function(t,n){te(t,n,e)}))})),s(rows().indexes(),row().index(),(function(){return this.iterator(row,(function(e,t){return t}),1)})),s(rows().ids(),row().id(),(function(e){for(var t,nthis.context,a0,rn.length;ar;a++)for(var i0,sthisa.length;is;i++){var lna.rowIdFn(na.aoDatathisai._aData);t.push((!0e?#:)+l)}return new o(n,t)})),s(rows().remove(),row().remove(),(function(){var ethis;return this.iterator(row,(function(t,n,r){var o,i,s,l,u,c,dt.aoData,fdn;for(d.splice(n,1),o0,id.length;oi;o++)if(c(udo).anCells,null!u.nTr&&(u.nTr._DT_RowIndexo),null!c)for(s0,lc.length;sl;s++)cs._DT_CellIndex.rowo;ee(t.aiDisplayMaster,n),ee(t.aiDisplay,n),ee(er,n,!1),t._iRecordsDisplay>0&&t._iRecordsDisplay--,ft(t);var ht.rowIdFn(f._aData);h!a&&delete t.aIdsh})),this.iterator(table,(function(e){for(var t0,ne.aoData.length;tn;t++)e.aoDatat.idxt})),this})),i(rows.add(),(function(t){var nthis.iterator(table,(function(e){var n,a,r,o;for(a0,rt.length;ar;a++)(nta).nodeName&&TRn.nodeName.toUpperCase()?o.push(q(e,n)0):o.push(V(e,n));return o}),1),athis.rows(-1);return a.pop(),e.merge(a,n),a})),i(row(),(function(e,t){return Dt(this.rows(e,t))})),i(row().data(),(function(t){var nthis.context;if(ta)return n.length&&this.length?n0.aoDatathis0._aData:a;var rn0.aoDatathis0;return r._aDatat,e.isArray(t)&&r.nTr&&r.nTr.id&&Z(n0.rowId)(t,r.nTr.id),te(n0,this0,data),this})),i(row().node(),(function(){var ethis.context;return e.length&&this.length&&e0.aoDatathis0.nTr||null})),i(row.add(),(function(t){t instanceof e&&t.length&&(tt0);var nthis.iterator(table,(function(e){return t.nodeName&&TRt.nodeName.toUpperCase()?q(e,t)0:V(e,t)}));return this.row(n0)}));var wtfunction(e,t){var ne.context;if(n.length){var rn0.aoDatat!a?t:e0;r&&r._details&&(r._details.remove(),r._detailsShowa,r._detailsa)}},Ctfunction(e,t){var ne.context;if(n.length&&e.length){var an0.aoDatae0;a._details&&(a._detailsShowt,t?a._details.insertAfter(a.nTr):a._details.detach(),xt(n0))}},xtfunction(e){var tnew o(e),n.dt.DT_details,adraw+n,rcolumn-visibility+n,idestroy+n,se.aoData;t.off(a+ +r+ +i),S(s,_details).length>0&&(t.on(a,(function(n,a){ea&&t.rows({page:current}).eq(0).each((function(e){var tse;t._detailsShow&&t._details.insertAfter(t.nTr)}))})),t.on(r,(function(t,n,a,r){if(en)for(var o,iM(n),l0,us.length;lu;l++)(osl)._details&&o._details.children(tdcolspan).attr(colspan,i)})),t.on(i,(function(n,a){if(ea)for(var r0,os.length;ro;r++)sr._details&&wt(t,r)})))},Ttrow().child();i(Tt,(function(t,n){var rthis.context;return ta?r.length&&this.length?r0.aoDatathis0._details:a:(!0t?this.child.show():!1t?wt(this):r.length&&this.length&&function(t,n,a,r){var o,ifunction(n,a){if(e.isArray(n)||n instanceof e)for(var r0,sn.length;rs;r++)i(nr,a);else if(n.nodeName&&trn.nodeName.toLowerCase())o.push(n);else{var le(tr>td/>/tr>).addClass(a);e(td,l).addClass(a).html(n)0.colSpanM(t),o.push(l0)}};i(a,r),n._details&&n._details.detach(),n._detailse(o),n._detailsShow&&n._details.insertAfter(n.nTr)}(r0,r0.aoDatathis0,t,n),this)})),i(row().child.show(),Tt+.show(),(function(e){return Ct(this,!0),this})),i(row().child.hide(),Tt+.hide(),(function(){return Ct(this,!1),this})),i(row().child.remove(),Tt+.remove(),(function(){return wt(this),this})),i(row().child.isShown(),(function(){var ethis.context;return e.length&&this.length&&e0.aoDatathis0._detailsShow||!1}));var It/^(^:+):(name|visIdx|visible)$/,Atfunction(e,t,n,a,r){for(var o,i0,sr.length;is;i++)o.push(X(e,ri,t));return o};i(columns(),(function(t,n){ta?t:e.isPlainObject(t)&&(nt,t),nSt(n);var rthis.iterator(table,(function(a){return function(t,n,a){var rt.aoColumns,oS(r,sName),iS(r,nTh);return yt(column,n,(function(n){var sb(n);if(n)return _(r.length);if(null!s)returns>0?s:r.length+s;if(functiontypeof n){var l_t(t,a);return e.map(r,(function(e,a){return n(a,At(t,a,0,0,l),ia)?a:null}))}var ustringtypeof n?n.match(It):;if(u)switch(u2){casevisIdx:casevisible:var cparseInt(u1,10);if(c0){var de.map(r,(function(e,t){return e.bVisible?t:null}));returndd.length+c}returnO(t,c);casename:return e.map(o,(function(e,t){return eu1?t:null}));default:return}if(n.nodeName&&n._DT_CellIndex)returnn._DT_CellIndex.column;var fe(i).filter(n).map((function(){return e.inArray(this,i)})).toArray();if(f.length||!n.nodeName)return f;var he(n).closest(*data-dt-column);return h.length?h.data(dt-column):}),t,a)}(a,t,n)}),1);return r.selector.colst,r.selector.optsn,r})),s(columns().header(),column().header(),(function(e,t){return this.iterator(column,(function(e,t){return e.aoColumnst.nTh}),1)})),s(columns().footer(),column().footer(),(function(e,t){return this.iterator(column,(function(e,t){return e.aoColumnst.nTf}),1)})),s(columns().data(),column().data(),(function(){return this.iterator(column-rows,At,1)})),s(columns().dataSrc(),column().dataSrc(),(function(){return this.iterator(column,(function(e,t){return e.aoColumnst.mData}),1)})),s(columns().cache(),column().cache(),(function(e){return this.iterator(column-rows,(function(t,n,a,r,o){return D(t.aoData,o,searche?_aFilterData:_aSortData,n)}),1)})),s(columns().nodes(),column().nodes(),(function(){return this.iterator(column-rows,(function(e,t,n,a,r){return D(e.aoData,r,anCells,t)}),1)})),s(columns().visible(),column().visible(),(function(t,n){var rthis,othis.iterator(column,(function(n,r){if(ta)return n.aoColumnsr.bVisible;!function(t,n,r){var o,i,s,l,ut.aoColumns,cun,dt.aoData;if(ra)return c.bVisible;if(c.bVisible!r){if(r){var fe.inArray(!0,S(u,bVisible),n+1);for(i0,sd.length;is;i++)ldi.nTr,odi.anCells,l&&l.insertBefore(on,of||null)}else e(S(t.aoData,anCells,n)).detach();c.bVisibler}}(n,r,t)}));return t!a&&this.iterator(table,(function(o){ie(o,o.aoHeader),ie(o,o.aoFooter),o.aiDisplay.length||e(o.nTBody).find(tdcolspan).attr(colspan,M(o)),at(o),r.iterator(column,(function(e,a){dt(e,null,column-visibility,e,a,t,n)})),(na||n)&&r.columns.adjust()})),o})),s(columns().indexes(),column().index(),(function(e){return this.iterator(column,(function(t,n){returnvisiblee?W(t,n):n}),1)})),i(columns.adjust(),(function(){return this.iterator(table,(function(e){H(e)}),1)})),i(column.index(),(function(e,t){if(0!this.context.length){var nthis.context0;if(fromVisiblee||toDatae)return O(n,t);if(fromDatae||toVisiblee)return W(n,t)}})),i(column(),(function(e,t){return Dt(this.columns(e,t))}));i(cells(),(function(t,n,r){if(e.isPlainObject(t)&&(t.rowa?(rt,tnull):(rn,nnull)),e.isPlainObject(n)&&(rn,nnull),nulln||na)return this.iterator(table,(function(n){return function(t,n,r){var o,i,s,l,u,c,d,ft.aoData,h_t(t,r),pw(D(f,h,anCells)),ge(.concat.apply(,p)),bt.aoColumns.length;return yt(cell,n,(function(n){var rfunctiontypeof n;if(nulln||na||r){for(i,s0,lh.length;sl;s++)for(ohs,u0;ub;u++)c{row:o,column:u},r?(dfo,n(c,X(t,o,u),d.anCells?d.anCellsu:null)&&i.push(c)):i.push(c);return i}if(e.isPlainObject(n))return n.column!a&&n.row!a&&-1!e.inArray(n.row,h)?n:;var pg.filter(n).map((function(e,t){return{row:t._DT_CellIndex.row,column:t._DT_CellIndex.column}})).toArray();return p.length||!n.nodeName?p:(de(n).closest(*data-dt-row)).length?{row:d.data(dt-row),column:d.data(dt-column)}:}),t,r)}(n,t,St(r))}));var o,i,s,l,ur?{page:r.page,order:r.order,search:r.search}:{},cthis.columns(n,u),dthis.rows(t,u),fthis.iterator(table,(function(e,t){var n;for(o0,idt.length;oi;o++)for(s0,lct.length;sl;s++)n.push({row:dto,column:cts});return n}),1),hr&&r.selected?this.cells(f,r):f;return e.extend(h.selector,{cols:n,rows:t,opts:r}),h})),s(cells().nodes(),cell().node(),(function(){return this.iterator(cell,(function(e,t,n){var re.aoDatat;return r&&r.anCells?r.anCellsn:a}),1)})),i(cells().data(),(function(){return this.iterator(cell,(function(e,t,n){return X(e,t,n)}),1)})),s(cells().cache(),cell().cache(),(function(e){return esearche?_aFilterData:_aSortData,this.iterator(cell,(function(t,n,a){return t.aoDatanea}),1)})),s(cells().render(),cell().render(),(function(e){return this.iterator(cell,(function(t,n,a){return X(t,n,a,e)}),1)})),s(cells().indexes(),cell().index(),(function(){return this.iterator(cell,(function(e,t,n){return{row:t,column:n,columnVisible:W(e,n)}}),1)})),s(cells().invalidate(),cell().invalidate(),(function(e){return this.iterator(cell,(function(t,n,a){te(t,n,e,a)}))})),i(cell(),(function(e,t,n){return Dt(this.cells(e,t,n))})),i(cell().data(),(function(e){var tthis.context,nthis0;return ea?t.length&&n.length?X(t0,n0.row,n0.column):a:(z(t0,n0.row,n0.column,e),te(t0,n0.row,data,n0.column),this)})),i(order(),(function(t,n){var rthis.context;return ta?0!r.length?r0.aaSorting:a:(numbertypeof t?tt,n:t.length&&!e.isArray(t0)&&(tArray.prototype.slice.call(arguments)),this.iterator(table,(function(e){e.aaSortingt.slice()})))})),i(order.listener(),(function(e,t,n){return this.iterator(table,(function(a){et(a,e,t,n)}))})),i(order.fixed(),(function(t){if(!t){var nthis.context,rn.length?n0.aaSortingFixed:a;return e.isArray(r)?{pre:r}:r}return this.iterator(table,(function(n){n.aaSortingFixede.extend(!0,{},t)}))})),i(columns().order(),column().order(),(function(t){var nthis;return this.iterator(table,(function(a,r){var o;e.each(nr,(function(e,n){o.push(n,t)})),a.aaSortingo}))})),i(search(),(function(t,n,r,o){var ithis.context;return ta?0!i.length?i0.oPreviousSearch.sSearch:a:this.iterator(table,(function(a){a.oFeatures.bFilter&&me(a,e.extend({},a.oPreviousSearch,{sSearch:t+,bRegex:null!n&&n,bSmart:nullr||r,bCaseInsensitive:nullo||o}),1)}))})),s(columns().search(),column().search(),(function(t,n,r,o){return this.iterator(column,(function(i,s){var li.aoPreSearchCols;if(ta)return ls.sSearch;i.oFeatures.bFilter&&(e.extend(ls,{sSearch:t+,bRegex:null!n&&n,bSmart:nullr||r,bCaseInsensitive:nullo||o}),me(i,i.oPreviousSearch,1))}))})),i(state(),(function(){return this.context.length?this.context0.oSavedState:null})),i(state.clear(),(function(){return this.iterator(table,(function(e){e.fnStateSaveCallback.call(e.oInstance,e,{})}))})),i(state.loaded(),(function(){return this.context.length?this.context0.oLoadedState:null})),i(state.save(),(function(){return this.iterator(table,(function(e){at(e)}))})),l.versionCheckl.fnVersionCheckfunction(e){for(var t,n,al.version.split(.),re.split(.),o0,ir.length;oi;o++)if((tparseInt(ao,10)||0)!(nparseInt(ro,10)||0))return t>n;return!0},l.isDataTablel.fnIsDataTablefunction(t){var ne(t).get(0),a!1;return t instanceof l.Api||(e.each(l.settings,(function(t,r){var or.nScrollHead?e(table,r.nScrollHead)0:null,ir.nScrollFoot?e(table,r.nScrollFoot)0:null;r.nTable!n&&o!n&&i!n||(a!0)})),a)},l.tablesl.fnTablesfunction(t){var n!1;e.isPlainObject(t)&&(nt.api,tt.visible);var ae.map(l.settings,(function(n){if(!t||t&&e(n.nTable).is(:visible))return n.nTable}));return n?new o(a):a},l.camelToHungarianI,i($(),(function(t,n){var athis.rows(n).nodes(),re(a);return e(.concat(r.filter(t).toArray(),r.find(t).toArray()))})),e.each(on,one,off,(function(t,n){i(n+(),(function(){var tArray.prototype.slice.call(arguments);t0e.map(t0.split(/\s/),(function(e){return e.match(/\.dt\b/)?e:e+.dt})).join( );var ae(this.tables().nodes());return an.apply(a,t),this}))})),i(clear(),(function(){return this.iterator(table,(function(e){K(e)}))})),i(settings(),(function(){return new o(this.context,this.context)})),i(init(),(function(){var ethis.context;return e.length?e0.oInit:null})),i(data(),(function(){return this.iterator(table,(function(e){return S(e.aoData,_aData)})).flatten()})),i(destroy(),(function(n){return nn||!1,this.iterator(table,(function(a){var r,ia.nTableWrapper.parentNode,sa.oClasses,ua.nTable,ca.nTBody,da.nTHead,fa.nTFoot,he(u),pe(c),ge(a.nTableWrapper),be.map(a.aoData,(function(e){return e.nTr}));a.bDestroying!0,dt(a,aoDestroyCallback,destroy,a),n||new o(a).columns().visible(!0),g.off(.DT).find(:not(tbody *)).off(.DT),e(t).off(.DT-+a.sInstance),u!d.parentNode&&(h.children(thead).detach(),h.append(d)),f&&u!f.parentNode&&(h.children(tfoot).detach(),h.append(f)),a.aaSorting,a.aaSortingFixed,tt(a),e(b).removeClass(a.asStripeClasses.join( )),e(th, td,d).removeClass(s.sSortable+ +s.sSortableAsc+ +s.sSortableDesc+ +s.sSortableNone),p.children().detach(),p.append(b);var vn?remove:detach;hv(),gv(),!n&&i&&(i.insertBefore(u,a.nTableReinsertBefore),h.css(width,a.sDestroyWidth).removeClass(s.sTable),(ra.asDestroyStripes.length)&&p.children().each((function(t){e(this).addClass(a.asDestroyStripest%r)})));var me.inArray(a,l.settings);-1!m&&l.settings.splice(m,1)}))})),e.each(column,row,cell,(function(e,t){i(t+s().every(),(function(e){var nthis.selector.opts,rthis;return this.iterator(t,(function(o,i,s,l,u){e.call(rt(i,cellt?s:n,cellt?n:a),i,s,l,u)}))}))})),i(i18n(),(function(t,n,r){var othis.context0,iY(t)(o.oLanguage);return ia&&(in),r!a&&e.isPlainObject(i)&&(iir!a?ir:i._),i.replace(%d,r)})),l.version1.10.21,l.settings,l.models{},l.models.oSearch{bCaseInsensitive:!0,sSearch:,bRegex:!1,bSmart:!0},l.models.oRow{nTr:null,anCells:null,_aData:,_aSortData:null,_aFilterData:null,_sFilterRow:null,_sRowStripe:,src:null,idx:-1},l.models.oColumn{idx:null,aDataSort:null,asSorting:null,bSearchable:null,bSortable:null,bVisible:null,_sManualType:null,_bAttrSrc:!1,fnCreatedCell:null,fnGetData:null,fnSetData:null,mData:null,mRender:null,nTh:null,nTf:null,sClass:null,sContentPadding:null,sDefaultContent:null,sName:null,sSortDataType:std,sSortingClass:null,sSortingClassJUI:null,sTitle:null,sType:null,sWidth:null,sWidthOrig:null},l.defaults{aaData:null,aaSorting:0,asc,aaSortingFixed:,ajax:null,aLengthMenu:10,25,50,100,aoColumns:null,aoColumnDefs:null,aoSearchCols:,asStripeClasses:null,bAutoWidth:!0,bDeferRender:!1,bDestroy:!1,bFilter:!0,bInfo:!0,bLengthChange:!0,bPaginate:!0,bProcessing:!1,bRetrieve:!1,bScrollCollapse:!1,bServerSide:!1,bSort:!0,bSortMulti:!0,bSortCellsTop:!1,bSortClasses:!0,bStateSave:!1,fnCreatedRow:null,fnDrawCallback:null,fnFooterCallback:null,fnFormatNumber:function(e){return e.toString().replace(/\B(?(\d{3})+(?!\d))/g,this.oLanguage.sThousands)},fnHeaderCallback:null,fnInfoCallback:null,fnInitComplete:null,fnPreDrawCallback:null,fnRowCallback:null,fnServerData:null,fnServerParams:null,fnStateLoadCallback:function(e){try{return JSON.parse((-1e.iStateDuration?sessionStorage:localStorage).getItem(DataTables_+e.sInstance+_+location.pathname))}catch(e){return{}}},fnStateLoadParams:null,fnStateLoaded:null,fnStateSaveCallback:function(e,t){try{(-1e.iStateDuration?sessionStorage:localStorage).setItem(DataTables_+e.sInstance+_+location.pathname,JSON.stringify(t))}catch(e){}},fnStateSaveParams:null,iStateDuration:7200,iDeferLoading:null,iDisplayLength:10,iDisplayStart:0,iTabIndex:0,oClasses:{},oLanguage:{oAria:{sSortAscending:: activate to sort column ascending,sSortDescending:: activate to sort column descending},oPaginate:{sFirst:First,sLast:Last,sNext:Next,sPrevious:Previous},sEmptyTable:No data available in table,sInfo:Showing _START_ to _END_ of _TOTAL_ entries,sInfoEmpty:Showing 0 to 0 of 0 entries,sInfoFiltered:(filtered from _MAX_ total entries),sInfoPostFix:,sDecimal:,sThousands:,,sLengthMenu:Show _MENU_ entries,sLoadingRecords:Loading...,sProcessing:Processing...,sSearch:Search:,sSearchPlaceholder:,sUrl:,sZeroRecords:No matching records found},oSearch:e.extend({},l.models.oSearch),sAjaxDataProp:data,sAjaxSource:null,sDom:lfrtip,searchDelay:null,sPaginationType:simple_numbers,sScrollX:,sScrollXInner:,sScrollY:,sServerMethod:GET,renderer:null,rowId:DT_RowId},T(l.defaults),l.defaults.column{aDataSort:null,iDataSort:-1,asSorting:asc,desc,bSearchable:!0,bSortable:!0,bVisible:!0,fnCreatedCell:null,mData:null,mRender:null,sCellType:td,sClass:,sContentPadding:,sDefaultContent:null,sName:,sSortDataType:std,sTitle:null,sType:null,sWidth:null},T(l.defaults.column),l.models.oSettings{oFeatures:{bAutoWidth:null,bDeferRender:null,bFilter:null,bInfo:null,bLengthChange:null,bPaginate:null,bProcessing:null,bServerSide:null,bSort:null,bSortMulti:null,bSortClasses:null,bStateSave:null},oScroll:{bCollapse:null,iBarWidth:0,sX:null,sXInner:null,sY:null},oLanguage:{fnInfoCallback:null},oBrowser:{bScrollOversize:!1,bScrollbarLeft:!1,bBounding:!1,barWidth:0},ajax:null,aanFeatures:,aoData:,aiDisplay:,aiDisplayMaster:,aIds:{},aoColumns:,aoHeader:,aoFooter:,oPreviousSearch:{},aoPreSearchCols:,aaSorting:null,aaSortingFixed:,asStripeClasses:null,asDestroyStripes:,sDestroyWidth:0,aoRowCallback:,aoHeaderCallback:,aoFooterCallback:,aoDrawCallback:,aoRowCreatedCallback:,aoPreDrawCallback:,aoInitComplete:,aoStateSaveParams:,aoStateLoadParams:,aoStateLoaded:,sTableId:,nTable:null,nTHead:null,nTFoot:null,nTBody:null,nTableWrapper:null,bDeferLoading:!1,bInitialised:!1,aoOpenRows:,sDom:null,searchDelay:null,sPaginationType:two_button,iStateDuration:0,aoStateSave:,aoStateLoad:,oSavedState:null,oLoadedState:null,sAjaxSource:null,sAjaxDataProp:null,bAjaxDataGet:!0,jqXHR:null,json:a,oAjaxData:a,fnServerData:null,aoServerParams:,sServerMethod:null,fnFormatNumber:null,aLengthMenu:null,iDraw:0,bDrawing:!1,iDrawError:-1,_iDisplayLength:10,_iDisplayStart:0,_iRecordsTotal:0,_iRecordsDisplay:0,oClasses:{},bFiltered:!1,bSorted:!1,bSortCellsTop:null,oInit:null,aoDestroyCallback:,fnRecordsTotal:function(){returnssppt(this)?1*this._iRecordsTotal:this.aiDisplayMaster.length},fnRecordsDisplay:function(){returnssppt(this)?1*this._iRecordsDisplay:this.aiDisplay.length},fnDisplayEnd:function(){var ethis._iDisplayLength,tthis._iDisplayStart,nt+e,athis.aiDisplay.length,rthis.oFeatures,or.bPaginate;return r.bServerSide?!1o||-1e?t+a:Math.min(t+e,this._iRecordsDisplay):!o||n>a||-1e?a:n},oInstance:null,sInstance:null,iTabIndex:0,nScrollHead:null,nScrollFoot:null,aLastSort:,oPlugins:{},rowIdFn:null,rowId:null},l.extr{buttons:{},classes:{},builder:-source-,errMode:alert,feature:,search:,selector:{cell:,column:,row:},internal:{},legacy:{ajax:null},pager:{},renderer:{pageButton:{},header:{}},order:{},type:{detect:,search:{},order:{}},_unique:0,fnVersionCheck:l.fnVersionCheck,iApiIndex:0,oJUIClasses:{},sVersion:l.version},e.extend(r,{afnFiltering:r.search,aTypes:r.type.detect,ofnSearch:r.type.search,oSort:r.type.order,afnSortData:r.order,aoFeatures:r.feature,oApi:r.internal,oStdClasses:r.classes,oPagination:r.pager}),e.extend(l.ext.classes,{sTable:dataTable,sNoFooter:no-footer,sPageButton:paginate_button,sPageButtonActive:current,sPageButtonDisabled:disabled,sStripeOdd:odd,sStripeEven:even,sRowEmpty:dataTables_empty,sWrapper:dataTables_wrapper,sFilter:dataTables_filter,sInfo:dataTables_info,sPaging:dataTables_paginate paging_,sLength:dataTables_length,sProcessing:dataTables_processing,sSortAsc:sorting_asc,sSortDesc:sorting_desc,sSortable:sorting,sSortableAsc:sorting_asc_disabled,sSortableDesc:sorting_desc_disabled,sSortableNone:sorting_disabled,sSortColumn:sorting_,sFilterInput:,sLengthSelect:,sScrollWrapper:dataTables_scroll,sScrollHead:dataTables_scrollHead,sScrollHeadInner:dataTables_scrollHeadInner,sScrollBody:dataTables_scrollBody,sScrollFoot:dataTables_scrollFoot,sScrollFootInner:dataTables_scrollFootInner,sHeaderTH:,sFooterTH:,sSortJUIAsc:,sSortJUIDesc:,sSortJUI:,sSortJUIAscAllowed:,sSortJUIDescAllowed:,sSortJUIWrapper:,sSortIcon:,sJUIHeader:,sJUIFooter:});var Ftl.ext.pager;function Lt(e,t){var n,aFt.numbers_length,rMath.floor(a/2);return ta?n_(0,t):er?((n_(0,a-2)).push(ellipsis),n.push(t-1)):e>t-1-r?((n_(t-(a-2),t)).splice(0,0,ellipsis),n.splice(0,0,0)):((n_(e-r+2,e+r-1)).push(ellipsis),n.push(t-1),n.splice(0,0,ellipsis),n.splice(0,0,0)),n.DT_elspan,n}e.extend(Ft,{simple:function(e,t){returnprevious,next},full:function(e,t){returnfirst,previous,next,last},numbers:function(e,t){returnLt(e,t)},simple_numbers:function(e,t){returnprevious,Lt(e,t),next},full_numbers:function(e,t){returnfirst,previous,Lt(e,t),next,last},first_last_numbers:function(e,t){returnfirst,Lt(e,t),last},_numbers:Lt,numbers_length:7}),e.extend(!0,l.ext.renderer,{pageButton:{_:function(t,r,o,i,s,l){var u,c,d,ft.oClasses,ht.oLanguage.oPaginate,pt.oLanguage.oAria.paginate||{},g0,bfunction(n,a){var r,i,d,v,mf.sPageButtonDisabled,yfunction(e){Oe(t,e.data.action,!0)};for(r0,ia.length;ri;r++)if(dar,e.isArray(d)){var Se(+(d.DT_el||div)+/>).appendTo(n);b(S,d)}else{switch(unull,cd,vt.iTabIndex,d){caseellipsis:n.append(span classellipsis>…/span>);break;casefirst:uh.sFirst,0s&&(v-1,c+ +m);break;caseprevious:uh.sPrevious,0s&&(v-1,c+ +m);break;casenext:uh.sNext,0!l&&s!l-1||(v-1,c+ +m);break;caselast:uh.sLast,sl-1&&(v-1,c+ +m);break;default:ud+1,csd?f.sPageButtonActive:}null!u&&(ut(e(a>,{class:f.sPageButton+ +c,aria-controls:t.sTableId,aria-label:pd,data-dt-idx:g,tabindex:v,id:0o&&stringtypeof d?t.sTableId+_+d:null}).html(u).appendTo(n),{action:d},y),g++)}};try{de(r).find(n.activeElement).data(dt-idx)}catch(e){}b(e(r).empty(),i),d!a&&e(r).find(data-dt-idx+d+).trigger(focus)}}}),e.extend(l.ext.type.detect,function(e,t){var nt.oLanguage.sDecimal;return m(e,n)?num+n:null},function(e,t){if(e&&!(e instanceof Date)&&!f.test(e))return null;var nDate.parse(e);return null!n&&!isNaN(n)||g(e)?date:null},function(e,t){var nt.oLanguage.sDecimal;return m(e,n,!0)?num-fmt+n:null},function(e,t){var nt.oLanguage.sDecimal;return y(e,n)?html-num+n:null},function(e,t){var nt.oLanguage.sDecimal;return y(e,n,!0)?html-num-fmt+n:null},function(e,t){return g(e)||stringtypeof e&&-1!e.indexOf()?html:null}),e.extend(l.ext.type.search,{html:function(e){return g(e)?e:stringtypeof e?e.replace(c, ).replace(d,):},string:function(e){return g(e)?e:stringtypeof e?e.replace(c, ):e}});var Rtfunction(e,t,n,a){return 0e||e&&-!e?(t&&(ev(e,t)),e.replace&&(n&&(ee.replace(n,)),a&&(ee.replace(a,))),1*e):-1/0};function Pt(t){e.each({num:function(e){return Rt(e,t)},num-fmt:function(e){return Rt(e,t,p)},html-num:function(e){return Rt(e,t,d)},html-num-fmt:function(e){return Rt(e,t,d,p)}},(function(e,n){r.type.ordere+t+-pren,e.match(/^html\-/)&&(r.type.searche+tr.type.search.html)}))}e.extend(r.type.order,{date-pre:function(e){var tDate.parse(e);return isNaN(t)?-1/0:t},html-pre:function(e){return g(e)?:e.replace?e.replace(/.*?>/g,).toLowerCase():e+},string-pre:function(e){return g(e)?:stringtypeof e?e.toLowerCase():e.toString?e.toString():},string-asc:function(e,t){return et?-1:e>t?1:0},string-desc:function(e,t){return et?1:e>t?-1:0}}),Pt(),e.extend(!0,l.ext.renderer,{header:{_:function(t,n,a,r){e(t.nTable).on(order.dt.DT,(function(e,o,i,s){if(to){var la.idx;n.removeClass(a.sSortingClass+ +r.sSortAsc+ +r.sSortDesc).addClass(ascsl?r.sSortAsc:descsl?r.sSortDesc:a.sSortingClass)}}))},jqueryui:function(t,n,a,r){e(div/>).addClass(r.sSortJUIWrapper).append(n.contents()).append(e(span/>).addClass(r.sSortIcon+ +a.sSortingClassJUI)).appendTo(n),e(t.nTable).on(order.dt.DT,(function(e,o,i,s){if(to){var la.idx;n.removeClass(r.sSortAsc+ +r.sSortDesc).addClass(ascsl?r.sSortAsc:descsl?r.sSortDesc:a.sSortingClass),n.find(span.+r.sSortIcon).removeClass(r.sSortJUIAsc+ +r.sSortJUIDesc+ +r.sSortJUI+ +r.sSortJUIAscAllowed+ +r.sSortJUIDescAllowed).addClass(ascsl?r.sSortJUIAsc:descsl?r.sSortJUIDesc:a.sSortingClassJUI)}}))}}});var jtfunction(e){returnstringtypeof e?e.replace(/&/g,&).replace(//g,<).replace(/>/g,>).replace(//g,"):e};function kt(e){return function(){var tot(thisl.ext.iApiIndex).concat(Array.prototype.slice.call(arguments));return l.ext.internale.apply(this,t)}}return l.render{number:function(e,t,n,a,r){return{display:function(o){if(number!typeof o&&string!typeof o)return o;var io0?-:,sparseFloat(o);if(isNaN(s))return jt(o);ss.toFixed(n),oMath.abs(s);var lparseInt(o,10),un?t+(o-l).toFixed(n).substring(2):;return i+(a||)+l.toString().replace(/\B(?(\d{3})+(?!\d))/g,e)+u+(r||)}}},text:function(){return{display:jt,filter:jt}}},e.extend(l.ext.internal,{_fnExternApiFunc:kt,_fnBuildAjax:fe,_fnAjaxUpdate:he,_fnAjaxParameters:pe,_fnAjaxUpdateDraw:ge,_fnAjaxDataSrc:be,_fnAddColumn:k,_fnColumnOptions:N,_fnAdjustColumnSizing:H,_fnVisibleToColumnIndex:O,_fnColumnIndexToVisible:W,_fnVisbleColumns:M,_fnGetColumns:E,_fnColumnTypes:B,_fnApplyColumnDefs:U,_fnHungarianMap:T,_fnCamelToHungarian:I,_fnLanguageCompat:A,_fnBrowserDetect:P,_fnAddData:V,_fnAddTr:q,_fnNodeToDataIndex:function(e,t){return t._DT_RowIndex!a?t._DT_RowIndex:null},_fnNodeToColumnIndex:function(t,n,a){return e.inArray(a,t.aoDatan.anCells)},_fnGetCellData:X,_fnSetCellData:z,_fnSplitObjNotation:G,_fnGetObjectDataFn:Y,_fnSetObjectDataFn:Z,_fnGetDataMaster:Q,_fnClearTable:K,_fnDeleteIndex:ee,_fnInvalidate:te,_fnGetRowElements:ne,_fnCreateTr:ae,_fnBuildHead:oe,_fnDrawHead:ie,_fnDraw:se,_fnReDraw:le,_fnAddOptionsHtml:ue,_fnDetectHeader:ce,_fnGetUniqueThs:de,_fnFeatureHtmlFilter:ve,_fnFilterComplete:me,_fnFilterCustom:ye,_fnFilterColumn:Se,_fnFilter:De,_fnFilterCreateSearch:_e,_fnEscapeRegex:we,_fnFilterData:Te,_fnFeatureHtmlInfo:Fe,_fnUpdateInfo:Le,_fnInfoMacros:Re,_fnInitialise:Pe,_fnInitComplete:je,_fnLengthChange:ke,_fnFeatureHtmlLength:Ne,_fnFeatureHtmlPaginate:He,_fnPageChange:Oe,_fnFeatureHtmlProcessing:We,_fnProcessingDisplay:Me,_fnFeatureHtmlTable:Ee,_fnScrollDraw:Be,_fnApplyToChildren:Ue,_fnCalculateColumnWidths:qe,_fnThrottle:Xe,_fnConvertToWidth:ze,_fnGetWidestNode:Je,_fnGetMaxLenString:$e,_fnStringToCss:Ge,_fnSortFlatten:Ye,_fnSort:Ze,_fnSortAria:Qe,_fnSortListener:Ke,_fnSortAttachListener:et,_fnSortingClasses:tt,_fnSortData:nt,_fnSaveState:at,_fnLoadState:rt,_fnSettingsFromNode:ot,_fnLog:it,_fnMap:st,_fnBindAction:ut,_fnCallbackReg:ct,_fnCallbackFire:dt,_fnLengthOverflow:ft,_fnRenderer:ht,_fnDataSource:pt,_fnRowAttributes:re,_fnExtend:lt,_fnCalculateEnd:function(){}}),e.fn.dataTablel,l.$e,e.fn.dataTableSettingsl.settings,e.fn.dataTableExtl.ext,e.fn.DataTablefunction(t){return e(this).dataTable(t).api()},e.each(l,(function(t,n){e.fn.DataTabletn})),e.fn.dataTable})), /*! DataTables Bootstrap 4 integration * ©2011-2017 SpryMedia Ltd - datatables.net/license */ function(e){functiontypeof define&&define.amd?define(jquery,datatables.net,(function(t){return e(t,window,document)})):objecttypeof exports?module.exportsfunction(t,n){return t||(twindow),n&&n.fn.dataTable||(nrequire(datatables.net)(t,n).$),e(n,t,t.document)}:e(jQuery,window,document)}((function(e,t,n,a){use strict;var re.fn.dataTable;return e.extend(!0,r.defaults,{dom:rowcol-sm-12 col-md-6l>col-sm-12 col-md-6f>>rowcol-sm-12tr>>rowcol-sm-12 col-md-5i>col-sm-12 col-md-7p>>,renderer:bootstrap}),e.extend(r.ext.classes,{sWrapper:dataTables_wrapper dt-bootstrap4,sFilterInput:form-control form-control-sm,sLengthSelect:custom-select custom-select-sm form-control form-control-sm,sProcessing:dataTables_processing card,sPageButton:paginate_button page-item}),r.ext.renderer.pageButton.bootstrapfunction(t,o,i,s,l,u){var c,d,f,hnew r.Api(t),pt.oClasses,gt.oLanguage.oPaginate,bt.oLanguage.oAria.paginate||{},v0,mfunction(n,a){var r,o,s,f,yfunction(t){t.preventDefault(),e(t.currentTarget).hasClass(disabled)||h.page()t.data.action||h.page(t.data.action).draw(page)};for(r0,oa.length;ro;r++)if(far,e.isArray(f))m(n,f);else{switch(c,d,f){caseellipsis:c…,ddisabled;break;casefirst:cg.sFirst,df+(l>0?: disabled);break;caseprevious:cg.sPrevious,df+(l>0?: disabled);break;casenext:cg.sNext,df+(lu-1?: disabled);break;caselast:cg.sLast,df+(lu-1?: disabled);break;default:cf+1,dlf?active:}c&&(se(li>,{class:p.sPageButton+ +d,id:0i&&stringtypeof f?t.sTableId+_+f:null}).append(e(a>,{href:#,aria-controls:t.sTableId,aria-label:bf,data-dt-idx:v,tabindex:t.iTabIndex,class:page-link}).html(c)).appendTo(n),t.oApi._fnBindAction(s,{action:f},y),v++)}};try{fe(o).find(n.activeElement).data(dt-idx)}catch(e){}m(e(o).empty().html(ul classpagination/>).children(ul),s),f!a&&e(o).find(data-dt-idx+f+).trigger(focus)},r})), /*! Responsive 2.2.5 * 2014-2020 SpryMedia Ltd - datatables.net/license */ function(e){functiontypeof define&&define.amd?define(jquery,datatables.net,(function(t){return e(t,window,document)})):objecttypeof exports?module.exportsfunction(t,n){return t||(twindow),n&&n.fn.dataTable||(nrequire(datatables.net)(t,n).$),e(n,t,t.document)}:e(jQuery,window,document)}((function(e,t,n,a){use strict;var re.fn.dataTable,ofunction(t,n){if(!r.versionCheck||!r.versionCheck(1.10.10))throwDataTables Responsive requires DataTables 1.10.10 or newer;this.s{dt:new r.Api(t),columns:,current:},this.s.dt.settings()0.responsive||(n&&stringtypeof n.details?n.details{type:n.details}:n&&!1n.details?n.details{type:!1}:n&&!0n.details&&(n.details{type:inline}),this.ce.extend(!0,{},o.defaults,r.defaults.responsive,n),t.responsivethis,this._constructor())};e.extend(o.prototype,{_constructor:function(){var nthis,athis.s.dt,oa.settings()0,ie(t).innerWidth();a.settings()0._responsivethis,e(t).on(resize.dtr orientationchange.dtr,r.util.throttle((function(){var ae(t).innerWidth();a!i&&(n._resize(),ia)}))),o.oApi._fnCallbackReg(o,aoRowCreatedCallback,(function(t,r,o){-1!e.inArray(!1,n.s.current)&&e(>td, >th,t).each((function(t){var ra.column.index(toData,t);!1n.s.currentr&&e(this).css(display,none)}))})),a.on(destroy.dtr,(function(){a.off(.dtr),e(a.table().body()).off(.dtr),e(t).off(resize.dtr orientationchange.dtr),a.cells(.dtr-control).nodes().to$().removeClass(dtr-control),e.each(n.s.current,(function(e,t){!1t&&n._setColumnVis(e,!0)}))})),this.c.breakpoints.sort((function(e,t){return e.widtht.width?1:e.width>t.width?-1:0})),this._classLogic(),this._resizeAuto();var sthis.c.details;!1!s.type&&(n._detailsInit(),a.on(column-visibility.dtr,(function(){n._timer&&clearTimeout(n._timer),n._timersetTimeout((function(){n._timernull,n._classLogic(),n._resizeAuto(),n._resize(),n._redrawChildren()}),100)})),a.on(draw.dtr,(function(){n._redrawChildren()})),e(a.table().node()).addClass(dtr-+s.type)),a.on(column-reorder.dtr,(function(e,t,a){n._classLogic(),n._resizeAuto(),n._resize(!0)})),a.on(column-sizing.dtr,(function(){n._resizeAuto(),n._resize()})),a.on(preXhr.dtr,(function(){var e;a.rows().every((function(){this.child.isShown()&&e.push(this.id(!0))})),a.one(draw.dtr,(function(){n._resizeAuto(),n._resize(),a.rows(e).every((function(){n._detailsDisplay(this,!1)}))}))})),a.on(draw.dtr,(function(){n._controlClass()})).on(init.dtr,(function(t,r,o){dtt.namespace&&(n._resizeAuto(),n._resize(),e.inArray(!1,n.s.current)&&a.columns.adjust())})),this._resize()},_columnsVisiblity:function(t){var n,a,rthis.s.dt,othis.s.columns,io.map((function(e,t){return{columnIdx:t,priority:e.priority}})).sort((function(e,t){return e.priority!t.priority?e.priority-t.priority:e.columnIdx-t.columnIdx})),se.map(o,(function(n,a){return!1r.column(a).visible()?not-visible:(!n.auto||null!n.minWidth)&&(!0n.auto?-:-1!e.inArray(t,n.includeIn))})),l0;for(n0,as.length;na;n++)!0sn&&(l+on.minWidth);var ur.settings()0.oScroll,cu.sY||u.sX?u.iBarWidth:0,dr.table().container().offsetWidth-c-l;for(n0,as.length;na;n++)on.control&&(d-on.minWidth);var f!1;for(n0,ai.length;na;n++){var hin.columnIdx;-sh&&!oh.control&&oh.minWidth&&(f||d-oh.minWidth0?(f!0,sh!1):sh!0,d-oh.minWidth)}var p!1;for(n0,ao.length;na;n++)if(!on.control&&!on.never&&!1sn){p!0;break}for(n0,ao.length;na;n++)on.control&&(snp),not-visiblesn&&(sn!1);return-1e.inArray(!0,s)&&(s0!0),s},_classLogic:function(){var tthis,nthis.c.breakpoints,rthis.s.dt,or.columns().eq(0).map((function(e){var tthis.column(e),nt.header().className,or.settings()0.aoColumnse.responsivePriority,it.header().getAttribute(data-priority);return oa&&(oia||nulli?1e4:1*i),{className:n,includeIn:,auto:!1,control:!1,never:!!n.match(/\bnever\b/),priority:o}})),ifunction(t,n){var aot.includeIn;-1e.inArray(n,a)&&a.push(n)},sfunction(e,a,r,s){var l,u,c;if(r){if(max-r)for(lt._find(a).width,u0,cn.length;uc;u++)nu.widthl&&i(e,nu.name);else if(min-r)for(lt._find(a).width,u0,cn.length;uc;u++)nu.width>l&&i(e,nu.name);else if(not-r)for(u0,cn.length;uc;u++)-1nu.name.indexOf(s)&&i(e,nu.name)}else oe.includeIn.push(a)};o.each((function(t,a){for(var rt.className.split( ),o!1,i0,lr.length;il;i++){var ue.trim(ri);if(allu)return o!0,void(t.includeIne.map(n,(function(e){return e.name})));if(noneu||t.never)return void(o!0);if(controlu)return o!0,void(t.control!0);e.each(n,(function(e,t){var nt.name.split(-),rnew RegExp((min\\-|max\\-|not\\-)?(+n0+)(\\-_a-zA-Z0-9)?),iu.match(r);i&&(o!0,i2n0&&i3-+n1?s(a,t.name,i1,i2+i3):i2!n0||i3||s(a,t.name,i1,i2))}))}o||(t.auto!0)})),this.s.columnso},_controlClass:function(){if(inlinethis.c.details.type){var tthis.s.dt,nthis.s.current,ae.inArray(!0,n);t.cells(null,(function(e){return e!a}),{page:current}).nodes().to$().filter(.dtr-control).removeClass(dtr-control),t.cells(null,a,{page:current}).nodes().to$().addClass(dtr-control)}},_detailsDisplay:function(t,n){var athis,rthis.s.dt,othis.c.details;if(o&&!1!o.type){var io.display(t,n,(function(){return o.renderer(r,t0,a._detailsObj(t0))}));!0!i&&!1!i||e(r.table().node()).triggerHandler(responsive-display.dt,r,t,i,n)}},_detailsInit:function(){var tthis,nthis.s.dt,rthis.c.details;inliner.type&&(r.targettd.dtr-control, th.dtr-control),n.on(draw.dtr,(function(){t._tabIndexes()})),t._tabIndexes(),e(n.table().body()).on(keyup.dtr,td, th,(function(t){13t.keyCode&&e(this).data(dtr-keyboard)&&e(this).click()}));var or.target,istringtypeof o?o:td, th;oa&&nullo||e(n.table().body()).on(click.dtr mousedown.dtr mouseup.dtr,i,(function(a){if(e(n.table().node()).hasClass(collapsed)&&-1!e.inArray(e(this).closest(tr).get(0),n.rows().nodes().toArray())){if(numbertypeof o){var ro0?n.columns().eq(0).length+o:o;if(n.cell(this).index().column!r)return}var in.row(e(this).closest(tr));clicka.type?t._detailsDisplay(i,!1):mousedowna.type?e(this).css(outline,none):mouseupa.type&&e(this).trigger(blur).css(outline,)}}))},_detailsObj:function(t){var nthis,athis.s.dt;return e.map(this.s.columns,(function(r,o){if(!r.never&&!r.control){var ia.settings()0.aoColumnso;return{className:i.sClass,columnIndex:o,data:a.cell(t,o).render(n.c.orthogonal),hidden:a.column(o).visible()&&!n.s.currento,rowIndex:t,title:null!i.sTitle?i.sTitle:e(a.column(o).header()).text()}}}))},_find:function(e){for(var tthis.c.breakpoints,n0,at.length;na;n++)if(tn.namee)return tn},_redrawChildren:function(){var ethis,tthis.s.dt;t.rows({page:current}).iterator(row,(function(n,a){t.row(a);e._detailsDisplay(t.row(a),!0)}))},_resize:function(n){var a,r,othis,ithis.s.dt,se(t).innerWidth(),lthis.c.breakpoints,ul0.name,cthis.s.columns,dthis.s.current.slice();for(al.length-1;a>0;a--)if(sla.width){ula.name;break}var fthis._columnsVisiblity(u);this.s.currentf;var h!1;for(a0,rc.length;ar;a++)if(!1fa&&!ca.never&&!ca.control&&!1!i.column(a).visible()){h!0;break}e(i.table().node()).toggleClass(collapsed,h);var p!1,g0;i.columns().eq(0).each((function(e,t){!0ft&&g++,(n||ft!dt)&&(p!0,o._setColumnVis(e,ft))})),p&&(this._redrawChildren(),e(i.table().node()).trigger(responsive-resize.dt,i,this.s.current),0i.page.info().recordsDisplay&&e(td,i.table().body()).eq(0).attr(colspan,g))},_resizeAuto:function(){var tthis.s.dt,nthis.s.columns;if(this.c.auto&&-1!e.inArray(!0,e.map(n,(function(e){return e.auto})))){e.isEmptyObject(i)||e.each(i,(function(e){var ne.split(-);s(t,1*n0,1*n1)}));t.table().node().offsetWidth,t.columns;var at.table().node().cloneNode(!1),re(t.table().header().cloneNode(!1)).appendTo(a),oe(t.table().body()).clone(!1,!1).empty().appendTo(a);a.style.widthauto;var lt.columns().header().filter((function(e){return t.column(e).visible()})).to$().clone(!1).css(display,table-cell).css(width,auto).css(min-width,0);e(o).append(e(t.rows({page:current}).nodes()).clone(!1)).find(th, td).css(display,);var ut.table().footer();if(u){var ce(u.cloneNode(!1)).appendTo(a),dt.columns().footer().filter((function(e){return t.column(e).visible()})).to$().clone(!1).css(display,table-cell);e(tr/>).append(d).appendTo(c)}e(tr/>).append(l).appendTo(r),inlinethis.c.details.type&&e(a).addClass(dtr-inline collapsed),e(a).find(name).removeAttr(name),e(a).css(position,relative);var fe(div/>).css({width:1,height:1,overflow:hidden,clear:both}).append(a);f.insertBefore(t.table().node()),l.each((function(e){var at.column.index(fromVisible,e);na.minWidththis.offsetWidth||0})),f.remove()}},_responsiveOnlyHidden:function(){var tthis.s.dt;return e.map(this.s.current,(function(e,n){return!1t.column(n).visible()||e}))},_setColumnVis:function(t,n){var athis.s.dt,rn?:none;e(a.column(t).header()).css(display,r),e(a.column(t).footer()).css(display,r),a.column(t).nodes().to$().css(display,r),e.isEmptyObject(i)||a.cells(null,t).indexes().each((function(e){s(a,e.row,e.column)}))},_tabIndexes:function(){var tthis.s.dt,nt.cells({page:current}).nodes().to$(),at.settings()0,rthis.c.details.target;n.filter(data-dtr-keyboard).removeData(data-dtr-keyboard),numbertypeof r?t.cells(null,r,{page:current}).nodes().to$().attr(tabIndex,a.iTabIndex).data(dtr-keyboard,1):(td:first-child, th:first-childr&&(r>td:first-child, >th:first-child),e(r,t.rows({page:current}).nodes()).attr(tabIndex,a.iTabIndex).data(dtr-keyboard,1))}}),o.breakpoints{name:desktop,width:1/0},{name:tablet-l,width:1024},{name:tablet-p,width:768},{name:mobile-l,width:480},{name:mobile-p,width:320},o.display{childRow:function(t,n,a){return n?e(t.node()).hasClass(parent)?(t.child(a(),child).show(),!0):void 0:t.child.isShown()?(t.child(!1),e(t.node()).removeClass(parent),!1):(t.child(a(),child).show(),e(t.node()).addClass(parent),!0)},childRowImmediate:function(t,n,a){return!n&&t.child.isShown()||!t.responsive.hasHidden()?(t.child(!1),e(t.node()).removeClass(parent),!1):(t.child(a(),child).show(),e(t.node()).addClass(parent),!0)},modal:function(t){return function(a,r,o){if(r)e(div.dtr-modal-content).empty().append(o());else{var ifunction(){s.remove(),e(n).off(keypress.dtr)},se(div classdtr-modal/>).append(e(div classdtr-modal-display/>).append(e(div classdtr-modal-content/>).append(o())).append(e(div classdtr-modal-close>×/div>).click((function(){i()})))).append(e(div classdtr-modal-background/>).click((function(){i()}))).appendTo(body);e(n).on(keyup.dtr,(function(e){27e.keyCode&&(e.stopPropagation(),i())}))}t&&t.header&&e(div.dtr-modal-content).prepend(h2>+t.header(a)+/h2>)}}};var i{};function s(e,t,n){var rt+-+n;if(ir){for(var oe.cell(t,n).node(),sir0.parentNode.childNodes,l,u0,cs.length;uc;u++)l.push(su);for(var d0,fl.length;df;d++)o.appendChild(ld);ira}}o.renderer{listHiddenNodes:function(){return function(t,n,a){var re(ul data-dtr-index+n+ classdtr-details/>),o!1;e.each(a,(function(n,a){if(a.hidden){var sa.className?class+a.className+:;e(li +s+ data-dtr-index+a.columnIndex+ data-dt-row+a.rowIndex+ data-dt-column+a.columnIndex+>span classdtr-title>+a.title+/span> /li>).append(e(span classdtr-data/>).append(function(e,t,n){var at+-+n;if(ia)return ia;for(var r,oe.cell(t,n).node().childNodes,s0,lo.length;sl;s++)r.push(os);return iar,r}(t,a.rowIndex,a.columnIndex))).appendTo(r),o!0}}));return!!o&&r}},listHidden:function(){return function(t,n,a){var re.map(a,(function(e){var te.className?class+e.className+:;return e.hidden?li +t+ data-dtr-index+e.columnIndex+ data-dt-row+e.rowIndex+ data-dt-column+e.columnIndex+>span classdtr-title>+e.title+/span> span classdtr-data>+e.data+/span>/li>:})).join();return!!r&&e(ul data-dtr-index+n+ classdtr-details/>).append(r)}},tableAll:function(t){return te.extend({tableClass:},t),function(n,a,r){var oe.map(r,(function(e){returntr +(e.className?class+e.className+:)+ data-dt-row+e.rowIndex+ data-dt-column+e.columnIndex+>td>+e.title+:/td> td>+e.data+/td>/tr>})).join();return e(table class+t.tableClass+ dtr-details width100%/>).append(o)}}},o.defaults{breakpoints:o.breakpoints,auto:!0,details:{display:o.display.childRow,renderer:o.renderer.listHidden(),target:0,type:inline},orthogonal:display};var le.fn.dataTable.Api;return l.register(responsive(),(function(){return this})),l.register(responsive.index(),(function(t){return{column:(te(t)).data(dtr-index),row:t.parent().data(dtr-index)}})),l.register(responsive.rebuild(),(function(){return this.iterator(table,(function(e){e._responsive&&e._responsive._classLogic()}))})),l.register(responsive.recalc(),(function(){return this.iterator(table,(function(e){e._responsive&&(e._responsive._resizeAuto(),e._responsive._resize())}))})),l.register(responsive.hasHidden(),(function(){var tthis.context0;return!!t._responsive&&-1!e.inArray(!1,t._responsive._responsiveOnlyHidden())})),l.registerPlural(columns().responsiveHidden(),column().responsiveHidden(),(function(){return this.iterator(column,(function(e,t){return!!e._responsive&&e._responsive._responsiveOnlyHidden()t}),1)})),o.version2.2.5,e.fn.dataTable.Responsiveo,e.fn.DataTable.Responsiveo,e(n).on(preInit.dt.dtr,(function(t,n,a){if(dtt.namespace&&(e(n.nTable).hasClass(responsive)||e(n.nTable).hasClass(dt-responsive)||n.oInit.responsive||r.defaults.responsive)){var in.oInit.responsive;!1!i&&new o(n,e.isPlainObject(i)?i:{})}})),o})), /*! Bootstrap 4 integration for DataTables Responsive * ©2016 SpryMedia Ltd - datatables.net/license */ function(e){functiontypeof define&&define.amd?define(jquery,datatables.net-bs4,datatables.net-responsive,(function(t){return e(t,window,document)})):objecttypeof exports?module.exportsfunction(t,n){return t||(twindow),n&&n.fn.dataTable||(nrequire(datatables.net-bs4)(t,n).$),n.fn.dataTable.Responsive||require(datatables.net-responsive)(t,n),e(n,t,t.document)}:e(jQuery,window,document)}((function(e,t,n,a){use strict;var re.fn.dataTable,or.Responsive.display,io.modal,se(div classmodal fade dtr-bs-modal roledialog>div classmodal-dialog roledocument>div classmodal-content>div classmodal-header>button typebutton classclose data-dismissmodal aria-labelClose>span aria-hiddentrue>×/span>/button>/div>div classmodal-body/>/div>/div>/div>);return o.modalfunction(t){return function(n,a,r){if(e.fn.modal){if(!a){if(t&&t.header){var os.find(div.modal-header),lo.find(button).detach();o.empty().append(h4 classmodal-title>+t.header(n)+/h4>).append(l)}s.find(div.modal-body).empty().append(r()),s.appendTo(body).modal()}}else i(n,a,r)}},r.Responsive})); /script>!--script data-srcplugins/select_2/package/dist/js/select2.min.js>/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */!function(n){functiontypeof define&&define.amd?define(jquery,n):objecttypeof module&&module.exports?module.exportsfunction(e,t){return void 0t&&(tundefined!typeof window?require(jquery):require(jquery)(e)),n(t),t}:n(jQuery)}(function(u){var efunction(){if(u&&u.fn&&u.fn.select2&&u.fn.select2.amd)var eu.fn.select2.amd;var t,n,r,h,o,s,f,g,m,v,y,_,i,a,b;function w(e,t){return i.call(e,t)}function l(e,t){var n,r,i,o,s,a,l,c,u,d,p,ht&&t.split(/),fy.map,gf&&f*||{};if(e){for(s(ee.split(/)).length-1,y.nodeIdCompat&&b.test(es)&&(eses.replace(b,)),.e0.charAt(0)&&h&&(eh.slice(0,h.length-1).concat(e)),u0;ue.length;u++)if(.(peu))e.splice(u,1),--u;else if(..p){if(0u||1u&&..e2||..eu-1)continue;0u&&(e.splice(u-1,2),u-2)}ee.join(/)}if((h||g)&&f){for(u(ne.split(/)).length;0u;--u){if(rn.slice(0,u).join(/),h)for(dh.length;0d;--d)if(i(ifh.slice(0,d).join(/))&&ir){oi,au;break}if(o)break;!l&&g&&gr&&(lgr,cu)}!o&&l&&(ol,ac),o&&(n.splice(0,a,o),en.join(/))}return e}function A(t,n){return function(){var ea.call(arguments,0);returnstring!typeof e0&&1e.length&&e.push(null),s.apply(h,e.concat(t,n))}}function x(t){return function(e){mte}}function D(e){if(w(v,e)){var tve;delete ve,_e!0,o.apply(h,t)}if(!w(m,e)&&!w(_,e))throw new Error(No +e);return me}function c(e){var t,ne?e.indexOf(!):-1;return-1n&&(te.substring(0,n),ee.substring(n+1,e.length)),t,e}function S(e){return e?c(e):}return e&&e.requirejs||(e?ne:e{},m{},v{},y{},_{},iObject.prototype.hasOwnProperty,a.slice,b/\.js$/,ffunction(e,t){var n,r,ic(e),oi0,st1;return ei1,o&&(nD(ol(o,s))),o?en&&n.normalize?n.normalize(e,(rs,function(e){return l(e,r)})):l(e,s):(o(ic(el(e,s)))0,ei1,o&&(nD(o))),{f:o?o+!+e:e,n:e,pr:o,p:n}},g{require:function(e){return A(e)},exports:function(e){var tme;return void 0!t?t:me{}},module:function(e){return{id:e,uri:,exports:me,config:(te,function(){return y&&y.config&&y.configt||{}})};var t}},ofunction(e,t,n,r){var i,o,s,a,l,c,u,d,ptypeof n;if(cS(rr||e),undefinedp||functionp){for(t!t.length&&n.length?require,exports,module:t,l0;lt.length;l+1)if(require(o(af(tl,c)).f))dlg.require(e);else if(exportso)dlg.exports(e),u!0;else if(moduleo)idlg.module(e);else if(w(m,o)||w(v,o)||w(_,o))dlD(o);else{if(!a.p)throw new Error(e+ missing +o);a.p.load(a.n,A(r,!0),x(o),{}),dlmo}sn?n.apply(me,d):void 0,e&&(i&&i.exports!h&&i.exports!me?mei.exports:sh&&u||(mes))}else e&&(men)},tnsfunction(e,t,n,r,i){if(stringtypeof e)return ge?ge(t):D(f(e,S(t)).f);if(!e.splice){if((ye).deps&&s(y.deps,y.callback),!t)return;t.splice?(et,tn,nnull):eh}return tt||function(){},functiontypeof n&&(nr,ri),r?o(h,e,t,n):setTimeout(function(){o(h,e,t,n)},4),s},s.configfunction(e){return s(e)},t._definedm,(rfunction(e,t,n){if(string!typeof e)throw new Error(See almond README: incorrect module build, no module name);t.splice||(nt,t),w(m,e)||w(v,e)||(vee,t,n)}).amd{jQuery:!0},e.requirejst,e.requiren,e.definer),e.define(almond,function(){}),e.define(jquery,,function(){var eu||$;return nulle&&console&&console.error&&console.error(Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page.),e}),e.define(select2/utils,jquery,function(o){var i{};function u(e){var te.prototype,n;for(var r in t){functiontypeof tr&&constructor!r&&n.push(r)}return n}i.Extendfunction(e,t){var n{}.hasOwnProperty;function r(){this.constructore}for(var i in t)n.call(t,i)&&(eiti);return r.prototypet.prototype,e.prototypenew r,e.__super__t.prototype,e},i.Decoratefunction(r,i){var eu(i),tu(r);function o(){var eArray.prototype.unshift,ti.prototype.constructor.length,nr.prototype.constructor;0t&&(e.call(arguments,r.prototype.constructor),ni.prototype.constructor),n.apply(this,arguments)}i.displayNamer.displayName,o.prototypenew function(){this.constructoro};for(var n0;nt.length;n++){var stn;o.prototypesr.prototypes}function a(e){var tfunction(){};e in o.prototype&&(to.prototypee);var ni.prototypee;return function(){return Array.prototype.unshift.call(arguments,t),n.apply(this,arguments)}}for(var l0;le.length;l++){var cel;o.prototypeca(c)}return o};function e(){this.listeners{}}e.prototype.onfunction(e,t){this.listenersthis.listeners||{},e in this.listeners?this.listenerse.push(t):this.listenerset},e.prototype.triggerfunction(e){var tArray.prototype.slice,nt.call(arguments,1);this.listenersthis.listeners||{},nulln&&(n),0n.length&&n.push({}),(n0._typee)in this.listeners&&this.invoke(this.listenerse,t.call(arguments,1)),*in this.listeners&&this.invoke(this.listeners*,arguments)},e.prototype.invokefunction(e,t){for(var n0,re.length;nr;n++)en.apply(this,t)},i.Observablee,i.generateCharsfunction(e){for(var t,n0;ne;n++){t+Math.floor(36*Math.random()).toString(36)}return t},i.bindfunction(e,t){return function(){e.apply(t,arguments)}},i._convertDatafunction(e){for(var t in e){var nt.split(-),re;if(1!n.length){for(var i0;in.length;i++){var oni;(oo.substring(0,1).toLowerCase()+o.substring(1))in r||(ro{}),in.length-1&&(roet),rro}delete et}}return e},i.hasScrollfunction(e,t){var no(t),rt.style.overflowX,it.style.overflowY;return(r!i||hidden!i&&visible!i)&&(scrollr||scrolli||(n.innerHeight()t.scrollHeight||n.innerWidth()t.scrollWidth))},i.escapeMarkupfunction(e){var t{\\:\,&:&,:<,>:>,:",:',/:/};returnstring!typeof e?e:String(e).replace(/&>\/\\/g,function(e){return te})},i.appendManyfunction(e,t){if(1.7o.fn.jquery.substr(0,3)){var no();o.map(t,function(e){nn.add(e)}),tn}e.append(t)},i.__cache{};var n0;return i.GetUniqueElementIdfunction(e){var te.getAttribute(data-select2-id);return nullt&&(e.id?(te.id,e.setAttribute(data-select2-id,t)):(e.setAttribute(data-select2-id,++n),tn.toString())),t},i.StoreDatafunction(e,t,n){var ri.GetUniqueElementId(e);i.__cacher||(i.__cacher{}),i.__cachertn},i.GetDatafunction(e,t){var ni.GetUniqueElementId(e);return t?i.__cachen&&null!i.__cachent?i.__cachent:o(e).data(t):i.__cachen},i.RemoveDatafunction(e){var ti.GetUniqueElementId(e);null!i.__cachet&&delete i.__cachet,e.removeAttribute(data-select2-id)},i}),e.define(select2/results,jquery,./utils,function(h,f){function r(e,t,n){this.$elemente,this.datan,this.optionst,r.__super__.constructor.call(this)}return f.Extend(r,f.Observable),r.prototype.renderfunction(){var eh(ul classselect2-results__options rolelistbox>/ul>);return this.options.get(multiple)&&e.attr(aria-multiselectable,true),this.$resultse},r.prototype.clearfunction(){this.$results.empty()},r.prototype.displayMessagefunction(e){var tthis.options.get(escapeMarkup);this.clear(),this.hideLoading();var nh(li rolealert aria-liveassertive classselect2-results__option>/li>),rthis.options.get(translations).get(e.message);n.append(t(r(e.args))),n0.className+ select2-results__message,this.$results.append(n)},r.prototype.hideMessagesfunction(){this.$results.find(.select2-results__message).remove()},r.prototype.appendfunction(e){this.hideLoading();var t;if(null!e.results&&0!e.results.length){e.resultsthis.sort(e.results);for(var n0;ne.results.length;n++){var re.resultsn,ithis.option(r);t.push(i)}this.$results.append(t)}else 0this.$results.children().length&&this.trigger(results:message,{message:noResults})},r.prototype.positionfunction(e,t){t.find(.select2-results).append(e)},r.prototype.sortfunction(e){return this.options.get(sorter)(e)},r.prototype.highlightFirstItemfunction(){var ethis.$results.find(.select2-results__optionaria-selected),te.filter(aria-selectedtrue);0t.length?t.first().trigger(mouseenter):e.first().trigger(mouseenter),this.ensureHighlightVisible()},r.prototype.setClassesfunction(){var tthis;this.data.current(function(e){var rh.map(e,function(e){return e.id.toString()});t.$results.find(.select2-results__optionaria-selected).each(function(){var eh(this),tf.GetData(this,data),n+t.id;null!t.element&&t.element.selected||nullt.element&&-1h.inArray(n,r)?e.attr(aria-selected,true):e.attr(aria-selected,false)})})},r.prototype.showLoadingfunction(e){this.hideLoading();var t{disabled:!0,loading:!0,text:this.options.get(translations).get(searching)(e)},nthis.option(t);n.className+ loading-results,this.$results.prepend(n)},r.prototype.hideLoadingfunction(){this.$results.find(.loading-results).remove()},r.prototype.optionfunction(e){var tdocument.createElement(li);t.classNameselect2-results__option;var n{role:option,aria-selected:false},rwindow.Element.prototype.matches||window.Element.prototype.msMatchesSelector||window.Element.prototype.webkitMatchesSelector;for(var i in(null!e.element&&r.call(e.element,:disabled)||nulle.element&&e.disabled)&&(delete naria-selected,naria-disabledtrue),nulle.id&&delete naria-selected,null!e._resultId&&(t.ide._resultId),e.title&&(t.titlee.title),e.children&&(n.rolegroup,naria-labele.text,delete naria-selected),n){var oni;t.setAttribute(i,o)}if(e.children){var sh(t),adocument.createElement(strong);a.classNameselect2-results__group;h(a);this.template(e,a);for(var l,c0;ce.children.length;c++){var ue.childrenc,dthis.option(u);l.push(d)}var ph(ul>/ul>,{class:select2-results__options select2-results__options--nested});p.append(l),s.append(a),s.append(p)}else this.template(e,t);return f.StoreData(t,data,e),t},r.prototype.bindfunction(t,e){var lthis,nt.id+-results;this.$results.attr(id,n),t.on(results:all,function(e){l.clear(),l.append(e.data),t.isOpen()&&(l.setClasses(),l.highlightFirstItem())}),t.on(results:append,function(e){l.append(e.data),t.isOpen()&&l.setClasses()}),t.on(query,function(e){l.hideMessages(),l.showLoading(e)}),t.on(select,function(){t.isOpen()&&(l.setClasses(),l.options.get(scrollAfterSelect)&&l.highlightFirstItem())}),t.on(unselect,function(){t.isOpen()&&(l.setClasses(),l.options.get(scrollAfterSelect)&&l.highlightFirstItem())}),t.on(open,function(){l.$results.attr(aria-expanded,true),l.$results.attr(aria-hidden,false),l.setClasses(),l.ensureHighlightVisible()}),t.on(close,function(){l.$results.attr(aria-expanded,false),l.$results.attr(aria-hidden,true),l.$results.removeAttr(aria-activedescendant)}),t.on(results:toggle,function(){var el.getHighlightedResults();0!e.length&&e.trigger(mouseup)}),t.on(results:select,function(){var el.getHighlightedResults();if(0!e.length){var tf.GetData(e0,data);truee.attr(aria-selected)?l.trigger(close,{}):l.trigger(select,{data:t})}}),t.on(results:previous,function(){var el.getHighlightedResults(),tl.$results.find(aria-selected),nt.index(e);if(!(n0)){var rn-1;0e.length&&(r0);var it.eq(r);i.trigger(mouseenter);var ol.$results.offset().top,si.offset().top,al.$results.scrollTop()+(s-o);0r?l.$results.scrollTop(0):s-o0&&l.$results.scrollTop(a)}}),t.on(results:next,function(){var el.getHighlightedResults(),tl.$results.find(aria-selected),nt.index(e)+1;if(!(n>t.length)){var rt.eq(n);r.trigger(mouseenter);var il.$results.offset().top+l.$results.outerHeight(!1),or.offset().top+r.outerHeight(!1),sl.$results.scrollTop()+o-i;0n?l.$results.scrollTop(0):io&&l.$results.scrollTop(s)}}),t.on(results:focus,function(e){e.element.addClass(select2-results__option--highlighted)}),t.on(results:message,function(e){l.displayMessage(e)}),h.fn.mousewheel&&this.$results.on(mousewheel,function(e){var tl.$results.scrollTop(),nl.$results.get(0).scrollHeight-t+e.deltaY,r0e.deltaY&&t-e.deltaY0,ie.deltaY0&&nl.$results.height();r?(l.$results.scrollTop(0),e.preventDefault(),e.stopPropagation()):i&&(l.$results.scrollTop(l.$results.get(0).scrollHeight-l.$results.height()),e.preventDefault(),e.stopPropagation())}),this.$results.on(mouseup,.select2-results__optionaria-selected,function(e){var th(this),nf.GetData(this,data);true!t.attr(aria-selected)?l.trigger(select,{originalEvent:e,data:n}):l.options.get(multiple)?l.trigger(unselect,{originalEvent:e,data:n}):l.trigger(close,{})}),this.$results.on(mouseenter,.select2-results__optionaria-selected,function(e){var tf.GetData(this,data);l.getHighlightedResults().removeClass(select2-results__option--highlighted),l.trigger(results:focus,{data:t,element:h(this)})})},r.prototype.getHighlightedResultsfunction(){return this.$results.find(.select2-results__option--highlighted)},r.prototype.destroyfunction(){this.$results.remove()},r.prototype.ensureHighlightVisiblefunction(){var ethis.getHighlightedResults();if(0!e.length){var tthis.$results.find(aria-selected).index(e),nthis.$results.offset().top,re.offset().top,ithis.$results.scrollTop()+(r-n),or-n;i-2*e.outerHeight(!1),t2?this.$results.scrollTop(0):(o>this.$results.outerHeight()||o0)&&this.$results.scrollTop(i)}},r.prototype.templatefunction(e,t){var nthis.options.get(templateResult),rthis.options.get(escapeMarkup),in(e,t);nulli?t.style.displaynone:stringtypeof i?t.innerHTMLr(i):h(t).append(i)},r}),e.define(select2/keys,,function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}}),e.define(select2/selection/base,jquery,../utils,../keys,function(n,r,i){function o(e,t){this.$elemente,this.optionst,o.__super__.constructor.call(this)}return r.Extend(o,r.Observable),o.prototype.renderfunction(){var en(span classselect2-selection rolecombobox aria-haspopuptrue aria-expandedfalse>/span>);return this._tabindex0,null!r.GetData(this.$element0,old-tabindex)?this._tabindexr.GetData(this.$element0,old-tabindex):null!this.$element.attr(tabindex)&&(this._tabindexthis.$element.attr(tabindex)),e.attr(title,this.$element.attr(title)),e.attr(tabindex,this._tabindex),e.attr(aria-disabled,false),this.$selectione},o.prototype.bindfunction(e,t){var nthis,re.id+-results;this.containere,this.$selection.on(focus,function(e){n.trigger(focus,e)}),this.$selection.on(blur,function(e){n._handleBlur(e)}),this.$selection.on(keydown,function(e){n.trigger(keypress,e),e.whichi.SPACE&&e.preventDefault()}),e.on(results:focus,function(e){n.$selection.attr(aria-activedescendant,e.data._resultId)}),e.on(selection:update,function(e){n.update(e.data)}),e.on(open,function(){n.$selection.attr(aria-expanded,true),n.$selection.attr(aria-owns,r),n._attachCloseHandler(e)}),e.on(close,function(){n.$selection.attr(aria-expanded,false),n.$selection.removeAttr(aria-activedescendant),n.$selection.removeAttr(aria-owns),n.$selection.trigger(focus),n._detachCloseHandler(e)}),e.on(enable,function(){n.$selection.attr(tabindex,n._tabindex),n.$selection.attr(aria-disabled,false)}),e.on(disable,function(){n.$selection.attr(tabindex,-1),n.$selection.attr(aria-disabled,true)})},o.prototype._handleBlurfunction(e){var tthis;window.setTimeout(function(){document.activeElementt.$selection0||n.contains(t.$selection0,document.activeElement)||t.trigger(blur,e)},1)},o.prototype._attachCloseHandlerfunction(e){n(document.body).on(mousedown.select2.+e.id,function(e){var tn(e.target).closest(.select2);n(.select2.select2-container--open).each(function(){this!t0&&r.GetData(this,element).select2(close)})})},o.prototype._detachCloseHandlerfunction(e){n(document.body).off(mousedown.select2.+e.id)},o.prototype.positionfunction(e,t){t.find(.selection).append(e)},o.prototype.destroyfunction(){this._detachCloseHandler(this.container)},o.prototype.updatefunction(e){throw new Error(The `update` method must be defined in child classes.)},o.prototype.isEnabledfunction(){return!this.isDisabled()},o.prototype.isDisabledfunction(){return this.options.get(disabled)},o}),e.define(select2/selection/single,jquery,./base,../utils,../keys,function(e,t,n,r){function i(){i.__super__.constructor.apply(this,arguments)}return n.Extend(i,t),i.prototype.renderfunction(){var ei.__super__.render.call(this);return e.addClass(select2-selection--single),e.html(span classselect2-selection__rendered>/span>span classselect2-selection__arrow rolepresentation>b rolepresentation>/b>/span>),e},i.prototype.bindfunction(t,e){var nthis;i.__super__.bind.apply(this,arguments);var rt.id+-container;this.$selection.find(.select2-selection__rendered).attr(id,r).attr(role,textbox).attr(aria-readonly,true),this.$selection.attr(aria-labelledby,r),this.$selection.on(mousedown,function(e){1e.which&&n.trigger(toggle,{originalEvent:e})}),this.$selection.on(focus,function(e){}),this.$selection.on(blur,function(e){}),t.on(focus,function(e){t.isOpen()||n.$selection.trigger(focus)})},i.prototype.clearfunction(){var ethis.$selection.find(.select2-selection__rendered);e.empty(),e.removeAttr(title)},i.prototype.displayfunction(e,t){var nthis.options.get(templateSelection);return this.options.get(escapeMarkup)(n(e,t))},i.prototype.selectionContainerfunction(){return e(span>/span>)},i.prototype.updatefunction(e){if(0!e.length){var te0,nthis.$selection.find(.select2-selection__rendered),rthis.display(t,n);n.empty().append(r);var it.title||t.text;i?n.attr(title,i):n.removeAttr(title)}else this.clear()},i}),e.define(select2/selection/multiple,jquery,./base,../utils,function(i,e,l){function n(e,t){n.__super__.constructor.apply(this,arguments)}return l.Extend(n,e),n.prototype.renderfunction(){var en.__super__.render.call(this);return e.addClass(select2-selection--multiple),e.html(ul classselect2-selection__rendered>/ul>),e},n.prototype.bindfunction(e,t){var rthis;n.__super__.bind.apply(this,arguments),this.$selection.on(click,function(e){r.trigger(toggle,{originalEvent:e})}),this.$selection.on(click,.select2-selection__choice__remove,function(e){if(!r.isDisabled()){var ti(this).parent(),nl.GetData(t0,data);r.trigger(unselect,{originalEvent:e,data:n})}})},n.prototype.clearfunction(){var ethis.$selection.find(.select2-selection__rendered);e.empty(),e.removeAttr(title)},n.prototype.displayfunction(e,t){var nthis.options.get(templateSelection);return this.options.get(escapeMarkup)(n(e,t))},n.prototype.selectionContainerfunction(){return i(li classselect2-selection__choice>span classselect2-selection__choice__remove rolepresentation>×/span>/li>)},n.prototype.updatefunction(e){if(this.clear(),0!e.length){for(var t,n0;ne.length;n++){var ren,ithis.selectionContainer(),othis.display(r,i);i.append(o);var sr.title||r.text;s&&i.attr(title,s),l.StoreData(i0,data,r),t.push(i)}var athis.$selection.find(.select2-selection__rendered);l.appendMany(a,t)}},n}),e.define(select2/selection/placeholder,../utils,function(e){function t(e,t,n){this.placeholderthis.normalizePlaceholder(n.get(placeholder)),e.call(this,t,n)}return t.prototype.normalizePlaceholderfunction(e,t){returnstringtypeof t&&(t{id:,text:t}),t},t.prototype.createPlaceholderfunction(e,t){var nthis.selectionContainer();return n.html(this.display(t)),n.addClass(select2-selection__placeholder).removeClass(select2-selection__choice),n},t.prototype.updatefunction(e,t){var n1t.length&&t0.id!this.placeholder.id;if(1t.length||n)return e.call(this,t);this.clear();var rthis.createPlaceholder(this.placeholder);this.$selection.find(.select2-selection__rendered).append(r)},t}),e.define(select2/selection/allowClear,jquery,../keys,../utils,function(i,r,a){function e(){}return e.prototype.bindfunction(e,t,n){var rthis;e.call(this,t,n),nullthis.placeholder&&this.options.get(debug)&&window.console&&console.error&&console.error(Select2: The `allowClear` option should be used in combination with the `placeholder` option.),this.$selection.on(mousedown,.select2-selection__clear,function(e){r._handleClear(e)}),t.on(keypress,function(e){r._handleKeyboardClear(e,t)})},e.prototype._handleClearfunction(e,t){if(!this.isDisabled()){var nthis.$selection.find(.select2-selection__clear);if(0!n.length){t.stopPropagation();var ra.GetData(n0,data),ithis.$element.val();this.$element.val(this.placeholder.id);var o{data:r};if(this.trigger(clear,o),o.prevented)this.$element.val(i);else{for(var s0;sr.length;s++)if(o{data:rs},this.trigger(unselect,o),o.prevented)return void this.$element.val(i);this.$element.trigger(input).trigger(change),this.trigger(toggle,{})}}}},e.prototype._handleKeyboardClearfunction(e,t,n){n.isOpen()||t.which!r.DELETE&&t.which!r.BACKSPACE||this._handleClear(t)},e.prototype.updatefunction(e,t){if(e.call(this,t),!(0this.$selection.find(.select2-selection__placeholder).length||0t.length)){var nthis.options.get(translations).get(removeAllItems),ri(span classselect2-selection__clear title+n()+>×/span>);a.StoreData(r0,data,t),this.$selection.find(.select2-selection__rendered).prepend(r)}},e}),e.define(select2/selection/search,jquery,../utils,../keys,function(r,a,l){function e(e,t,n){e.call(this,t,n)}return e.prototype.renderfunction(e){var tr(li classselect2-search select2-search--inline>input classselect2-search__field typesearch tabindex-1 autocompleteoff autocorrectoff autocapitalizenone spellcheckfalse rolesearchbox aria-autocompletelist />/li>);this.$searchContainert,this.$searcht.find(input);var ne.call(this);return this._transferTabIndex(),n},e.prototype.bindfunction(e,t,n){var rthis,it.id+-results;e.call(this,t,n),t.on(open,function(){r.$search.attr(aria-controls,i),r.$search.trigger(focus)}),t.on(close,function(){r.$search.val(),r.$search.removeAttr(aria-controls),r.$search.removeAttr(aria-activedescendant),r.$search.trigger(focus)}),t.on(enable,function(){r.$search.prop(disabled,!1),r._transferTabIndex()}),t.on(disable,function(){r.$search.prop(disabled,!0)}),t.on(focus,function(e){r.$search.trigger(focus)}),t.on(results:focus,function(e){e.data._resultId?r.$search.attr(aria-activedescendant,e.data._resultId):r.$search.removeAttr(aria-activedescendant)}),this.$selection.on(focusin,.select2-search--inline,function(e){r.trigger(focus,e)}),this.$selection.on(focusout,.select2-search--inline,function(e){r._handleBlur(e)}),this.$selection.on(keydown,.select2-search--inline,function(e){if(e.stopPropagation(),r.trigger(keypress,e),r._keyUpPreventede.isDefaultPrevented(),e.whichl.BACKSPACE&&r.$search.val()){var tr.$searchContainer.prev(.select2-selection__choice);if(0t.length){var na.GetData(t0,data);r.searchRemoveChoice(n),e.preventDefault()}}}),this.$selection.on(click,.select2-search--inline,function(e){r.$search.val()&&e.stopPropagation()});var odocument.documentMode,so&&o11;this.$selection.on(input.searchcheck,.select2-search--inline,function(e){s?r.$selection.off(input.search input.searchcheck):r.$selection.off(keyup.search)}),this.$selection.on(keyup.search input.search,.select2-search--inline,function(e){if(s&&inpute.type)r.$selection.off(input.search input.searchcheck);else{var te.which;t!l.SHIFT&&t!l.CTRL&&t!l.ALT&&t!l.TAB&&r.handleSearch(e)}})},e.prototype._transferTabIndexfunction(e){this.$search.attr(tabindex,this.$selection.attr(tabindex)),this.$selection.attr(tabindex,-1)},e.prototype.createPlaceholderfunction(e,t){this.$search.attr(placeholder,t.text)},e.prototype.updatefunction(e,t){var nthis.$search0document.activeElement;this.$search.attr(placeholder,),e.call(this,t),this.$selection.find(.select2-selection__rendered).append(this.$searchContainer),this.resizeSearch(),n&&this.$search.trigger(focus)},e.prototype.handleSearchfunction(){if(this.resizeSearch(),!this._keyUpPrevented){var ethis.$search.val();this.trigger(query,{term:e})}this._keyUpPrevented!1},e.prototype.searchRemoveChoicefunction(e,t){this.trigger(unselect,{data:t}),this.$search.val(t.text),this.handleSearch()},e.prototype.resizeSearchfunction(){this.$search.css(width,25px);var e;!this.$search.attr(placeholder)?ethis.$selection.find(.select2-selection__rendered).width():e.75*(this.$search.val().length+1)+em;this.$search.css(width,e)},e}),e.define(select2/selection/eventRelay,jquery,function(s){function e(){}return e.prototype.bindfunction(e,t,n){var rthis,iopen,opening,close,closing,select,selecting,unselect,unselecting,clear,clearing,oopening,closing,selecting,unselecting,clearing;e.call(this,t,n),t.on(*,function(e,t){if(-1!s.inArray(e,i)){tt||{};var ns.Event(select2:+e,{params:t});r.$element.trigger(n),-1!s.inArray(e,o)&&(t.preventedn.isDefaultPrevented())}})},e}),e.define(select2/translation,jquery,require,function(t,n){function r(e){this.dicte||{}}return r.prototype.allfunction(){return this.dict},r.prototype.getfunction(e){return this.dicte},r.prototype.extendfunction(e){this.dictt.extend({},e.all(),this.dict)},r._cache{},r.loadPathfunction(e){if(!(e in r._cache)){var tn(e);r._cacheet}return new r(r._cachee)},r}),e.define(select2/diacritics,,function(){return{Ⓐ:A,A:A,À:A,Á:A,Â:A,Ầ:A,Ấ:A,Ẫ:A,Ẩ:A,Ã:A,Ā:A,Ă:A,Ằ:A,Ắ:A,Ẵ:A,Ẳ:A,Ȧ:A,Ǡ:A,Ä:A,Ǟ:A,Ả:A,Å:A,Ǻ:A,Ǎ:A,Ȁ:A,Ȃ:A,Ạ:A,Ậ:A,Ặ:A,Ḁ:A,Ą:A,Ⱥ:A,Ɐ:A,Ꜳ:AA,Æ:AE,Ǽ:AE,Ǣ:AE,Ꜵ:AO,Ꜷ:AU,Ꜹ:AV,Ꜻ:AV,Ꜽ:AY,Ⓑ:B,B:B,Ḃ:B,Ḅ:B,Ḇ:B,Ƀ:B,Ƃ:B,Ɓ:B,Ⓒ:C,C:C,Ć:C,Ĉ:C,Ċ:C,Č:C,Ç:C,Ḉ:C,Ƈ:C,Ȼ:C,Ꜿ:C,Ⓓ:D,D:D,Ḋ:D,Ď:D,Ḍ:D,Ḑ:D,Ḓ:D,Ḏ:D,Đ:D,Ƌ:D,Ɗ:D,Ɖ:D,Ꝺ:D,DZ:DZ,DŽ:DZ,Dz:Dz,Dž:Dz,Ⓔ:E,E:E,È:E,É:E,Ê:E,Ề:E,Ế:E,Ễ:E,Ể:E,Ẽ:E,Ē:E,Ḕ:E,Ḗ:E,Ĕ:E,Ė:E,Ë:E,Ẻ:E,Ě:E,Ȅ:E,Ȇ:E,Ẹ:E,Ệ:E,Ȩ:E,Ḝ:E,Ę:E,Ḙ:E,Ḛ:E,Ɛ:E,Ǝ:E,Ⓕ:F,F:F,Ḟ:F,Ƒ:F,Ꝼ:F,Ⓖ:G,G:G,Ǵ:G,Ĝ:G,Ḡ:G,Ğ:G,Ġ:G,Ǧ:G,Ģ:G,Ǥ:G,Ɠ:G,Ꞡ:G,Ᵹ:G,Ꝿ:G,Ⓗ:H,H:H,Ĥ:H,Ḣ:H,Ḧ:H,Ȟ:H,Ḥ:H,Ḩ:H,Ḫ:H,Ħ:H,Ⱨ:H,Ⱶ:H,Ɥ:H,Ⓘ:I,I:I,Ì:I,Í:I,Î:I,Ĩ:I,Ī:I,Ĭ:I,İ:I,Ï:I,Ḯ:I,Ỉ:I,Ǐ:I,Ȉ:I,Ȋ:I,Ị:I,Į:I,Ḭ:I,Ɨ:I,Ⓙ:J,J:J,Ĵ:J,Ɉ:J,Ⓚ:K,K:K,Ḱ:K,Ǩ:K,Ḳ:K,Ķ:K,Ḵ:K,Ƙ:K,Ⱪ:K,Ꝁ:K,Ꝃ:K,Ꝅ:K,Ꞣ:K,Ⓛ:L,L:L,Ŀ:L,Ĺ:L,Ľ:L,Ḷ:L,Ḹ:L,Ļ:L,Ḽ:L,Ḻ:L,Ł:L,Ƚ:L,Ɫ:L,Ⱡ:L,Ꝉ:L,Ꝇ:L,Ꞁ:L,LJ:LJ,Lj:Lj,Ⓜ:M,M:M,Ḿ:M,Ṁ:M,Ṃ:M,Ɱ:M,Ɯ:M,Ⓝ:N,N:N,Ǹ:N,Ń:N,Ñ:N,Ṅ:N,Ň:N,Ṇ:N,Ņ:N,Ṋ:N,Ṉ:N,Ƞ:N,Ɲ:N,Ꞑ:N,Ꞥ:N,NJ:NJ,Nj:Nj,Ⓞ:O,O:O,Ò:O,Ó:O,Ô:O,Ồ:O,Ố:O,Ỗ:O,Ổ:O,Õ:O,Ṍ:O,Ȭ:O,Ṏ:O,Ō:O,Ṑ:O,Ṓ:O,Ŏ:O,Ȯ:O,Ȱ:O,Ö:O,Ȫ:O,Ỏ:O,Ő:O,Ǒ:O,Ȍ:O,Ȏ:O,Ơ:O,Ờ:O,Ớ:O,Ỡ:O,Ở:O,Ợ:O,Ọ:O,Ộ:O,Ǫ:O,Ǭ:O,Ø:O,Ǿ:O,Ɔ:O,Ɵ:O,Ꝋ:O,Ꝍ:O,Œ:OE,Ƣ:OI,Ꝏ:OO,Ȣ:OU,Ⓟ:P,P:P,Ṕ:P,Ṗ:P,Ƥ:P,Ᵽ:P,Ꝑ:P,Ꝓ:P,Ꝕ:P,Ⓠ:Q,Q:Q,Ꝗ:Q,Ꝙ:Q,Ɋ:Q,Ⓡ:R,R:R,Ŕ:R,Ṙ:R,Ř:R,Ȑ:R,Ȓ:R,Ṛ:R,Ṝ:R,Ŗ:R,Ṟ:R,Ɍ:R,Ɽ:R,Ꝛ:R,Ꞧ:R,Ꞃ:R,Ⓢ:S,S:S,ẞ:S,Ś:S,Ṥ:S,Ŝ:S,Ṡ:S,Š:S,Ṧ:S,Ṣ:S,Ṩ:S,Ș:S,Ş:S,Ȿ:S,Ꞩ:S,Ꞅ:S,Ⓣ:T,T:T,Ṫ:T,Ť:T,Ṭ:T,Ț:T,Ţ:T,Ṱ:T,Ṯ:T,Ŧ:T,Ƭ:T,Ʈ:T,Ⱦ:T,Ꞇ:T,Ꜩ:TZ,Ⓤ:U,U:U,Ù:U,Ú:U,Û:U,Ũ:U,Ṹ:U,Ū:U,Ṻ:U,Ŭ:U,Ü:U,Ǜ:U,Ǘ:U,Ǖ:U,Ǚ:U,Ủ:U,Ů:U,Ű:U,Ǔ:U,Ȕ:U,Ȗ:U,Ư:U,Ừ:U,Ứ:U,Ữ:U,Ử:U,Ự:U,Ụ:U,Ṳ:U,Ų:U,Ṷ:U,Ṵ:U,Ʉ:U,Ⓥ:V,V:V,Ṽ:V,Ṿ:V,Ʋ:V,Ꝟ:V,Ʌ:V,Ꝡ:VY,Ⓦ:W,W:W,Ẁ:W,Ẃ:W,Ŵ:W,Ẇ:W,Ẅ:W,Ẉ:W,Ⱳ:W,Ⓧ:X,X:X,Ẋ:X,Ẍ:X,Ⓨ:Y,Y:Y,Ỳ:Y,Ý:Y,Ŷ:Y,Ỹ:Y,Ȳ:Y,Ẏ:Y,Ÿ:Y,Ỷ:Y,Ỵ:Y,Ƴ:Y,Ɏ:Y,Ỿ:Y,Ⓩ:Z,Z:Z,Ź:Z,Ẑ:Z,Ż:Z,Ž:Z,Ẓ:Z,Ẕ:Z,Ƶ:Z,Ȥ:Z,Ɀ:Z,Ⱬ:Z,Ꝣ:Z,ⓐ:a,a:a,ẚ:a,à:a,á:a,â:a,ầ:a,ấ:a,ẫ:a,ẩ:a,ã:a,ā:a,ă:a,ằ:a,ắ:a,ẵ:a,ẳ:a,ȧ:a,ǡ:a,ä:a,ǟ:a,ả:a,å:a,ǻ:a,ǎ:a,ȁ:a,ȃ:a,ạ:a,ậ:a,ặ:a,ḁ:a,ą:a,ⱥ:a,ɐ:a,ꜳ:aa,æ:ae,ǽ:ae,ǣ:ae,ꜵ:ao,ꜷ:au,ꜹ:av,ꜻ:av,ꜽ:ay,ⓑ:b,b:b,ḃ:b,ḅ:b,ḇ:b,ƀ:b,ƃ:b,ɓ:b,ⓒ:c,c:c,ć:c,ĉ:c,ċ:c,č:c,ç:c,ḉ:c,ƈ:c,ȼ:c,ꜿ:c,ↄ:c,ⓓ:d,d:d,ḋ:d,ď:d,ḍ:d,ḑ:d,ḓ:d,ḏ:d,đ:d,ƌ:d,ɖ:d,ɗ:d,ꝺ:d,dz:dz,dž:dz,ⓔ:e,e:e,è:e,é:e,ê:e,ề:e,ế:e,ễ:e,ể:e,ẽ:e,ē:e,ḕ:e,ḗ:e,ĕ:e,ė:e,ë:e,ẻ:e,ě:e,ȅ:e,ȇ:e,ẹ:e,ệ:e,ȩ:e,ḝ:e,ę:e,ḙ:e,ḛ:e,ɇ:e,ɛ:e,ǝ:e,ⓕ:f,f:f,ḟ:f,ƒ:f,ꝼ:f,ⓖ:g,g:g,ǵ:g,ĝ:g,ḡ:g,ğ:g,ġ:g,ǧ:g,ģ:g,ǥ:g,ɠ:g,ꞡ:g,ᵹ:g,ꝿ:g,ⓗ:h,h:h,ĥ:h,ḣ:h,ḧ:h,ȟ:h,ḥ:h,ḩ:h,ḫ:h,ẖ:h,ħ:h,ⱨ:h,ⱶ:h,ɥ:h,ƕ:hv,ⓘ:i,i:i,ì:i,í:i,î:i,ĩ:i,ī:i,ĭ:i,ï:i,ḯ:i,ỉ:i,ǐ:i,ȉ:i,ȋ:i,ị:i,į:i,ḭ:i,ɨ:i,ı:i,ⓙ:j,j:j,ĵ:j,ǰ:j,ɉ:j,ⓚ:k,k:k,ḱ:k,ǩ:k,ḳ:k,ķ:k,ḵ:k,ƙ:k,ⱪ:k,ꝁ:k,ꝃ:k,ꝅ:k,ꞣ:k,ⓛ:l,l:l,ŀ:l,ĺ:l,ľ:l,ḷ:l,ḹ:l,ļ:l,ḽ:l,ḻ:l,ſ:l,ł:l,ƚ:l,ɫ:l,ⱡ:l,ꝉ:l,ꞁ:l,ꝇ:l,lj:lj,ⓜ:m,m:m,ḿ:m,ṁ:m,ṃ:m,ɱ:m,ɯ:m,ⓝ:n,n:n,ǹ:n,ń:n,ñ:n,ṅ:n,ň:n,ṇ:n,ņ:n,ṋ:n,ṉ:n,ƞ:n,ɲ:n,ʼn:n,ꞑ:n,ꞥ:n,nj:nj,ⓞ:o,o:o,ò:o,ó:o,ô:o,ồ:o,ố:o,ỗ:o,ổ:o,õ:o,ṍ:o,ȭ:o,ṏ:o,ō:o,ṑ:o,ṓ:o,ŏ:o,ȯ:o,ȱ:o,ö:o,ȫ:o,ỏ:o,ő:o,ǒ:o,ȍ:o,ȏ:o,ơ:o,ờ:o,ớ:o,ỡ:o,ở:o,ợ:o,ọ:o,ộ:o,ǫ:o,ǭ:o,ø:o,ǿ:o,ɔ:o,ꝋ:o,ꝍ:o,ɵ:o,œ:oe,ƣ:oi,ȣ:ou,ꝏ:oo,ⓟ:p,p:p,ṕ:p,ṗ:p,ƥ:p,ᵽ:p,ꝑ:p,ꝓ:p,ꝕ:p,ⓠ:q,q:q,ɋ:q,ꝗ:q,ꝙ:q,ⓡ:r,r:r,ŕ:r,ṙ:r,ř:r,ȑ:r,ȓ:r,ṛ:r,ṝ:r,ŗ:r,ṟ:r,ɍ:r,ɽ:r,ꝛ:r,ꞧ:r,ꞃ:r,ⓢ:s,s:s,ß:s,ś:s,ṥ:s,ŝ:s,ṡ:s,š:s,ṧ:s,ṣ:s,ṩ:s,ș:s,ş:s,ȿ:s,ꞩ:s,ꞅ:s,ẛ:s,ⓣ:t,t:t,ṫ:t,ẗ:t,ť:t,ṭ:t,ț:t,ţ:t,ṱ:t,ṯ:t,ŧ:t,ƭ:t,ʈ:t,ⱦ:t,ꞇ:t,ꜩ:tz,ⓤ:u,u:u,ù:u,ú:u,û:u,ũ:u,ṹ:u,ū:u,ṻ:u,ŭ:u,ü:u,ǜ:u,ǘ:u,ǖ:u,ǚ:u,ủ:u,ů:u,ű:u,ǔ:u,ȕ:u,ȗ:u,ư:u,ừ:u,ứ:u,ữ:u,ử:u,ự:u,ụ:u,ṳ:u,ų:u,ṷ:u,ṵ:u,ʉ:u,ⓥ:v,v:v,ṽ:v,ṿ:v,ʋ:v,ꝟ:v,ʌ:v,ꝡ:vy,ⓦ:w,w:w,ẁ:w,ẃ:w,ŵ:w,ẇ:w,ẅ:w,ẘ:w,ẉ:w,ⱳ:w,ⓧ:x,x:x,ẋ:x,ẍ:x,ⓨ:y,y:y,ỳ:y,ý:y,ŷ:y,ỹ:y,ȳ:y,ẏ:y,ÿ:y,ỷ:y,ẙ:y,ỵ:y,ƴ:y,ɏ:y,ỿ:y,ⓩ:z,z:z,ź:z,ẑ:z,ż:z,ž:z,ẓ:z,ẕ:z,ƶ:z,ȥ:z,ɀ:z,ⱬ:z,ꝣ:z,Ά:Α,Έ:Ε,Ή:Η,Ί:Ι,Ϊ:Ι,Ό:Ο,Ύ:Υ,Ϋ:Υ,Ώ:Ω,ά:α,έ:ε,ή:η,ί:ι,ϊ:ι,ΐ:ι,ό:ο,ύ:υ,ϋ:υ,ΰ:υ,ώ:ω,ς:σ,’:}}),e.define(select2/data/base,../utils,function(r){function n(e,t){n.__super__.constructor.call(this)}return r.Extend(n,r.Observable),n.prototype.currentfunction(e){throw new Error(The `current` method must be defined in child classes.)},n.prototype.queryfunction(e,t){throw new Error(The `query` method must be defined in child classes.)},n.prototype.bindfunction(e,t){},n.prototype.destroyfunction(){},n.prototype.generateResultIdfunction(e,t){var ne.id+-result-;return n+r.generateChars(4),null!t.id?n+-+t.id.toString():n+-+r.generateChars(4),n},n}),e.define(select2/data/select,./base,../utils,jquery,function(e,a,l){function n(e,t){this.$elemente,this.optionst,n.__super__.constructor.call(this)}return a.Extend(n,e),n.prototype.currentfunction(e){var n,rthis;this.$element.find(:selected).each(function(){var el(this),tr.item(e);n.push(t)}),e(n)},n.prototype.selectfunction(i){var othis;if(i.selected!0,l(i.element).is(option))return i.element.selected!0,void this.$element.trigger(input).trigger(change);if(this.$element.prop(multiple))this.current(function(e){var t;(ii).push.apply(i,e);for(var n0;ni.length;n++){var rin.id;-1l.inArray(r,t)&&t.push(r)}o.$element.val(t),o.$element.trigger(input).trigger(change)});else{var ei.id;this.$element.val(e),this.$element.trigger(input).trigger(change)}},n.prototype.unselectfunction(i){var othis;if(this.$element.prop(multiple)){if(i.selected!1,l(i.element).is(option))return i.element.selected!1,void this.$element.trigger(input).trigger(change);this.current(function(e){for(var t,n0;ne.length;n++){var ren.id;r!i.id&&-1l.inArray(r,t)&&t.push(r)}o.$element.val(t),o.$element.trigger(input).trigger(change)})}},n.prototype.bindfunction(e,t){var nthis;(this.containere).on(select,function(e){n.select(e.data)}),e.on(unselect,function(e){n.unselect(e.data)})},n.prototype.destroyfunction(){this.$element.find(*).each(function(){a.RemoveData(this)})},n.prototype.queryfunction(r,e){var i,othis;this.$element.children().each(function(){var el(this);if(e.is(option)||e.is(optgroup)){var to.item(e),no.matches(r,t);null!n&&i.push(n)}}),e({results:i})},n.prototype.addOptionsfunction(e){a.appendMany(this.$element,e)},n.prototype.optionfunction(e){var t;e.children?(tdocument.createElement(optgroup)).labele.text:void 0!(tdocument.createElement(option)).textContent?t.textContente.text:t.innerTexte.text,void 0!e.id&&(t.valuee.id),e.disabled&&(t.disabled!0),e.selected&&(t.selected!0),e.title&&(t.titlee.title);var nl(t),rthis._normalizeItem(e);return r.elementt,a.StoreData(t,data,r),n},n.prototype.itemfunction(e){var t{};if(null!(ta.GetData(e0,data)))return t;if(e.is(option))t{id:e.val(),text:e.text(),disabled:e.prop(disabled),selected:e.prop(selected),title:e.prop(title)};else if(e.is(optgroup)){t{text:e.prop(label),children:,title:e.prop(title)};for(var ne.children(option),r,i0;in.length;i++){var ol(ni),sthis.item(o);r.push(s)}t.childrenr}return(tthis._normalizeItem(t)).elemente0,a.StoreData(e0,data,t),t},n.prototype._normalizeItemfunction(e){e!Object(e)&&(e{id:e,text:e});return null!(el.extend({},{text:},e)).id&&(e.ide.id.toString()),null!e.text&&(e.texte.text.toString()),nulle._resultId&&e.id&&null!this.container&&(e._resultIdthis.generateResultId(this.container,e)),l.extend({},{selected:!1,disabled:!1},e)},n.prototype.matchesfunction(e,t){return this.options.get(matcher)(e,t)},n}),e.define(select2/data/array,./select,../utils,jquery,function(e,f,g){function r(e,t){this._dataToConvertt.get(data)||,r.__super__.constructor.call(this,e,t)}return f.Extend(r,e),r.prototype.bindfunction(e,t){r.__super__.bind.call(this,e,t),this.addOptions(this.convertToOptions(this._dataToConvert))},r.prototype.selectfunction(n){var ethis.$element.find(option).filter(function(e,t){return t.valuen.id.toString()});0e.length&&(ethis.option(n),this.addOptions(e)),r.__super__.select.call(this,n)},r.prototype.convertToOptionsfunction(e){var tthis,nthis.$element.find(option),rn.map(function(){return t.item(g(this)).id}).get(),i;function o(e){return function(){return g(this).val()e.id}}for(var s0;se.length;s++){var athis._normalizeItem(es);if(0g.inArray(a.id,r)){var ln.filter(o(a)),cthis.item(l),ug.extend(!0,{},a,c),dthis.option(u);l.replaceWith(d)}else{var pthis.option(a);if(a.children){var hthis.convertToOptions(a.children);f.appendMany(p,h)}i.push(p)}}return i},r}),e.define(select2/data/ajax,./array,../utils,jquery,function(e,t,o){function n(e,t){this.ajaxOptionsthis._applyDefaults(t.get(ajax)),null!this.ajaxOptions.processResults&&(this.processResultsthis.ajaxOptions.processResults),n.__super__.constructor.call(this,e,t)}return t.Extend(n,e),n.prototype._applyDefaultsfunction(e){var t{data:function(e){return o.extend({},e,{q:e.term})},transport:function(e,t,n){var ro.ajax(e);return r.then(t),r.fail(n),r}};return o.extend({},t,e,!0)},n.prototype.processResultsfunction(e){return e},n.prototype.queryfunction(n,r){var ithis;null!this._request&&(o.isFunction(this._request.abort)&&this._request.abort(),this._requestnull);var to.extend({type:GET},this.ajaxOptions);function e(){var et.transport(t,function(e){var ti.processResults(e,n);i.options.get(debug)&&window.console&&console.error&&(t&&t.results&&o.isArray(t.results)||console.error(Select2: The AJAX results did not return an array in the `results` key of the response.)),r(t)},function(){statusin e&&(0e.status||0e.status)||i.trigger(results:message,{message:errorLoading})});i._requeste}functiontypeof t.url&&(t.urlt.url.call(this.$element,n)),functiontypeof t.data&&(t.datat.data.call(this.$element,n)),this.ajaxOptions.delay&&null!n.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeoutwindow.setTimeout(e,this.ajaxOptions.delay)):e()},n}),e.define(select2/data/tags,jquery,function(u){function e(e,t,n){var rn.get(tags),in.get(createTag);void 0!i&&(this.createTagi);var on.get(insertTag);if(void 0!o&&(this.insertTago),e.call(this,t,n),u.isArray(r))for(var s0;sr.length;s++){var ars,lthis._normalizeItem(a),cthis.option(l);this.$element.append(c)}}return e.prototype.queryfunction(e,c,u){var dthis;this._removeOldTags(),null!c.term&&nullc.page?e.call(this,c,function e(t,n){for(var rt.results,i0;ir.length;i++){var ori,snull!o.children&&!e({results:o.children},!0);if((o.text||).toUpperCase()(c.term||).toUpperCase()||s)return!n&&(t.datar,void u(t))}if(n)return!0;var ad.createTag(c);if(null!a){var ld.option(a);l.attr(data-select2-tag,!0),d.addOptions(l),d.insertTag(r,a)}t.resultsr,u(t)}):e.call(this,c,u)},e.prototype.createTagfunction(e,t){var nu.trim(t.term);returnn?null:{id:n,text:n}},e.prototype.insertTagfunction(e,t,n){t.unshift(n)},e.prototype._removeOldTagsfunction(e){this.$element.find(optiondata-select2-tag).each(function(){this.selected||u(this).remove()})},e}),e.define(select2/data/tokenizer,jquery,function(d){function e(e,t,n){var rn.get(tokenizer);void 0!r&&(this.tokenizerr),e.call(this,t,n)}return e.prototype.bindfunction(e,t,n){e.call(this,t,n),this.$searcht.dropdown.$search||t.selection.$search||n.find(.select2-search__field)},e.prototype.queryfunction(e,t,n){var ithis;t.termt.term||;var rthis.tokenizer(t,this.options,function(e){var t,ni._normalizeItem(e);if(!i.$element.find(option).filter(function(){return d(this).val()n.id}).length){var ri.option(n);r.attr(data-select2-tag,!0),i._removeOldTags(),i.addOptions(r)}tn,i.trigger(select,{data:t})});r.term!t.term&&(this.$search.length&&(this.$search.val(r.term),this.$search.trigger(focus)),t.termr.term),e.call(this,t,n)},e.prototype.tokenizerfunction(e,t,n,r){for(var in.get(tokenSeparators)||,ot.term,s0,athis.createTag||function(e){return{id:e.term,text:e.term}};so.length;){var los;if(-1!d.inArray(l,i)){var co.substr(0,s),ua(d.extend({},t,{term:c}));null!u?(r(u),oo.substr(s+1)||,s0):s++}else s++}return{term:o}},e}),e.define(select2/data/minimumInputLength,,function(){function e(e,t,n){this.minimumInputLengthn.get(minimumInputLength),e.call(this,t,n)}return e.prototype.queryfunction(e,t,n){t.termt.term||,t.term.lengththis.minimumInputLength?this.trigger(results:message,{message:inputTooShort,args:{minimum:this.minimumInputLength,input:t.term,params:t}}):e.call(this,t,n)},e}),e.define(select2/data/maximumInputLength,,function(){function e(e,t,n){this.maximumInputLengthn.get(maximumInputLength),e.call(this,t,n)}return e.prototype.queryfunction(e,t,n){t.termt.term||,0this.maximumInputLength&&t.term.length>this.maximumInputLength?this.trigger(results:message,{message:inputTooLong,args:{maximum:this.maximumInputLength,input:t.term,params:t}}):e.call(this,t,n)},e}),e.define(select2/data/maximumSelectionLength,,function(){function e(e,t,n){this.maximumSelectionLengthn.get(maximumSelectionLength),e.call(this,t,n)}return e.prototype.bindfunction(e,t,n){var rthis;e.call(this,t,n),t.on(select,function(){r._checkIfMaximumSelected()})},e.prototype.queryfunction(e,t,n){var rthis;this._checkIfMaximumSelected(function(){e.call(r,t,n)})},e.prototype._checkIfMaximumSelectedfunction(e,n){var rthis;this.current(function(e){var tnull!e?e.length:0;0r.maximumSelectionLength&&t>r.maximumSelectionLength?r.trigger(results:message,{message:maximumSelected,args:{maximum:r.maximumSelectionLength}}):n&&n()})},e}),e.define(select2/dropdown,jquery,./utils,function(t,e){function n(e,t){this.$elemente,this.optionst,n.__super__.constructor.call(this)}return e.Extend(n,e.Observable),n.prototype.renderfunction(){var et(span classselect2-dropdown>span classselect2-results>/span>/span>);return e.attr(dir,this.options.get(dir)),this.$dropdowne},n.prototype.bindfunction(){},n.prototype.positionfunction(e,t){},n.prototype.destroyfunction(){this.$dropdown.remove()},n}),e.define(select2/dropdown/search,jquery,../utils,function(o,e){function t(){}return t.prototype.renderfunction(e){var te.call(this),no(span classselect2-search select2-search--dropdown>input classselect2-search__field typesearch tabindex-1 autocompleteoff autocorrectoff autocapitalizenone spellcheckfalse rolesearchbox aria-autocompletelist />/span>);return this.$searchContainern,this.$searchn.find(input),t.prepend(n),t},t.prototype.bindfunction(e,t,n){var rthis,it.id+-results;e.call(this,t,n),this.$search.on(keydown,function(e){r.trigger(keypress,e),r._keyUpPreventede.isDefaultPrevented()}),this.$search.on(input,function(e){o(this).off(keyup)}),this.$search.on(keyup input,function(e){r.handleSearch(e)}),t.on(open,function(){r.$search.attr(tabindex,0),r.$search.attr(aria-controls,i),r.$search.trigger(focus),window.setTimeout(function(){r.$search.trigger(focus)},0)}),t.on(close,function(){r.$search.attr(tabindex,-1),r.$search.removeAttr(aria-controls),r.$search.removeAttr(aria-activedescendant),r.$search.val(),r.$search.trigger(blur)}),t.on(focus,function(){t.isOpen()||r.$search.trigger(focus)}),t.on(results:all,function(e){null!e.query.term&&!e.query.term||(r.showSearch(e)?r.$searchContainer.removeClass(select2-search--hide):r.$searchContainer.addClass(select2-search--hide))}),t.on(results:focus,function(e){e.data._resultId?r.$search.attr(aria-activedescendant,e.data._resultId):r.$search.removeAttr(aria-activedescendant)})},t.prototype.handleSearchfunction(e){if(!this._keyUpPrevented){var tthis.$search.val();this.trigger(query,{term:t})}this._keyUpPrevented!1},t.prototype.showSearchfunction(e,t){return!0},t}),e.define(select2/dropdown/hidePlaceholder,,function(){function e(e,t,n,r){this.placeholderthis.normalizePlaceholder(n.get(placeholder)),e.call(this,t,n,r)}return e.prototype.appendfunction(e,t){t.resultsthis.removePlaceholder(t.results),e.call(this,t)},e.prototype.normalizePlaceholderfunction(e,t){returnstringtypeof t&&(t{id:,text:t}),t},e.prototype.removePlaceholderfunction(e,t){for(var nt.slice(0),rt.length-1;0r;r--){var itr;this.placeholder.idi.id&&n.splice(r,1)}return n},e}),e.define(select2/dropdown/infiniteScroll,jquery,function(n){function e(e,t,n,r){this.lastParams{},e.call(this,t,n,r),this.$loadingMorethis.createLoadingMore(),this.loading!1}return e.prototype.appendfunction(e,t){this.$loadingMore.remove(),this.loading!1,e.call(this,t),this.showLoadingMore(t)&&(this.$results.append(this.$loadingMore),this.loadMoreIfNeeded())},e.prototype.bindfunction(e,t,n){var rthis;e.call(this,t,n),t.on(query,function(e){r.lastParamse,r.loading!0}),t.on(query:append,function(e){r.lastParamse,r.loading!0}),this.$results.on(scroll,this.loadMoreIfNeeded.bind(this))},e.prototype.loadMoreIfNeededfunction(){var en.contains(document.documentElement,this.$loadingMore0);if(!this.loading&&e){var tthis.$results.offset().top+this.$results.outerHeight(!1);this.$loadingMore.offset().top+this.$loadingMore.outerHeight(!1)t+50&&this.loadMore()}},e.prototype.loadMorefunction(){this.loading!0;var en.extend({},{page:1},this.lastParams);e.page++,this.trigger(query:append,e)},e.prototype.showLoadingMorefunction(e,t){return t.pagination&&t.pagination.more},e.prototype.createLoadingMorefunction(){var en(li classselect2-results__option select2-results__option--load-moreroleoption aria-disabledtrue>/li>),tthis.options.get(translations).get(loadingMore);return e.html(t(this.lastParams)),e},e}),e.define(select2/dropdown/attachBody,jquery,../utils,function(f,a){function e(e,t,n){this.$dropdownParentf(n.get(dropdownParent)||document.body),e.call(this,t,n)}return e.prototype.bindfunction(e,t,n){var rthis;e.call(this,t,n),t.on(open,function(){r._showDropdown(),r._attachPositioningHandler(t),r._bindContainerResultHandlers(t)}),t.on(close,function(){r._hideDropdown(),r._detachPositioningHandler(t)}),this.$dropdownContainer.on(mousedown,function(e){e.stopPropagation()})},e.prototype.destroyfunction(e){e.call(this),this.$dropdownContainer.remove()},e.prototype.positionfunction(e,t,n){t.attr(class,n.attr(class)),t.removeClass(select2),t.addClass(select2-container--open),t.css({position:absolute,top:-999999}),this.$containern},e.prototype.renderfunction(e){var tf(span>/span>),ne.call(this);return t.append(n),this.$dropdownContainert},e.prototype._hideDropdownfunction(e){this.$dropdownContainer.detach()},e.prototype._bindContainerResultHandlersfunction(e,t){if(!this._containerResultsHandlersBound){var nthis;t.on(results:all,function(){n._positionDropdown(),n._resizeDropdown()}),t.on(results:append,function(){n._positionDropdown(),n._resizeDropdown()}),t.on(results:message,function(){n._positionDropdown(),n._resizeDropdown()}),t.on(select,function(){n._positionDropdown(),n._resizeDropdown()}),t.on(unselect,function(){n._positionDropdown(),n._resizeDropdown()}),this._containerResultsHandlersBound!0}},e.prototype._attachPositioningHandlerfunction(e,t){var nthis,rscroll.select2.+t.id,iresize.select2.+t.id,oorientationchange.select2.+t.id,sthis.$container.parents().filter(a.hasScroll);s.each(function(){a.StoreData(this,select2-scroll-position,{x:f(this).scrollLeft(),y:f(this).scrollTop()})}),s.on(r,function(e){var ta.GetData(this,select2-scroll-position);f(this).scrollTop(t.y)}),f(window).on(r+ +i+ +o,function(e){n._positionDropdown(),n._resizeDropdown()})},e.prototype._detachPositioningHandlerfunction(e,t){var nscroll.select2.+t.id,rresize.select2.+t.id,iorientationchange.select2.+t.id;this.$container.parents().filter(a.hasScroll).off(n),f(window).off(n+ +r+ +i)},e.prototype._positionDropdownfunction(){var ef(window),tthis.$dropdown.hasClass(select2-dropdown--above),nthis.$dropdown.hasClass(select2-dropdown--below),rnull,ithis.$container.offset();i.bottomi.top+this.$container.outerHeight(!1);var o{height:this.$container.outerHeight(!1)};o.topi.top,o.bottomi.top+o.height;var sthis.$dropdown.outerHeight(!1),ae.scrollTop(),le.scrollTop()+e.height(),cai.top-s,ul>i.bottom+s,d{left:i.left,top:o.bottom},pthis.$dropdownParent;staticp.css(position)&&(pp.offsetParent());var h{top:0,left:0};(f.contains(document.body,p0)||p0.isConnected)&&(hp.offset()),d.top-h.top,d.left-h.left,t||n||(rbelow),u||!c||t?!c&&u&&t&&(rbelow):rabove,(abover||t&&below!r)&&(d.topo.top-h.top-s),null!r&&(this.$dropdown.removeClass(select2-dropdown--below select2-dropdown--above).addClass(select2-dropdown--+r),this.$container.removeClass(select2-container--below select2-container--above).addClass(select2-container--+r)),this.$dropdownContainer.css(d)},e.prototype._resizeDropdownfunction(){var e{width:this.$container.outerWidth(!1)+px};this.options.get(dropdownAutoWidth)&&(e.minWidthe.width,e.positionrelative,e.widthauto),this.$dropdown.css(e)},e.prototype._showDropdownfunction(e){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},e}),e.define(select2/dropdown/minimumResultsForSearch,,function(){function e(e,t,n,r){this.minimumResultsForSearchn.get(minimumResultsForSearch),this.minimumResultsForSearch0&&(this.minimumResultsForSearch1/0),e.call(this,t,n,r)}return e.prototype.showSearchfunction(e,t){return!(function e(t){for(var n0,r0;rt.length;r++){var itr;i.children?n+e(i.children):n++}return n}(t.data.results)this.minimumResultsForSearch)&&e.call(this,t)},e}),e.define(select2/dropdown/selectOnClose,../utils,function(o){function e(){}return e.prototype.bindfunction(e,t,n){var rthis;e.call(this,t,n),t.on(close,function(e){r._handleSelectOnClose(e)})},e.prototype._handleSelectOnClosefunction(e,t){if(t&&null!t.originalSelect2Event){var nt.originalSelect2Event;if(selectn._type||unselectn._type)return}var rthis.getHighlightedResults();if(!(r.length1)){var io.GetData(r0,data);null!i.element&&i.element.selected||nulli.element&&i.selected||this.trigger(select,{data:i})}},e}),e.define(select2/dropdown/closeOnSelect,,function(){function e(){}return e.prototype.bindfunction(e,t,n){var rthis;e.call(this,t,n),t.on(select,function(e){r._selectTriggered(e)}),t.on(unselect,function(e){r._selectTriggered(e)})},e.prototype._selectTriggeredfunction(e,t){var nt.originalEvent;n&&(n.ctrlKey||n.metaKey)||this.trigger(close,{originalEvent:n,originalSelect2Event:t})},e}),e.define(select2/i18n/en,,function(){return{errorLoading:function(){returnThe results could not be loaded.},inputTooLong:function(e){var te.input.length-e.maximum,nPlease delete +t+ character;return 1!t&&(n+s),n},inputTooShort:function(e){returnPlease enter +(e.minimum-e.input.length)+ or more characters},loadingMore:function(){returnLoading more results…},maximumSelected:function(e){var tYou can only select +e.maximum+ item;return 1!e.maximum&&(t+s),t},noResults:function(){returnNo results found},searching:function(){returnSearching…},removeAllItems:function(){returnRemove all items}}}),e.define(select2/defaults,jquery,require,./results,./selection/single,./selection/multiple,./selection/placeholder,./selection/allowClear,./selection/search,./selection/eventRelay,./utils,./translation,./diacritics,./data/select,./data/array,./data/ajax,./data/tags,./data/tokenizer,./data/minimumInputLength,./data/maximumInputLength,./data/maximumSelectionLength,./dropdown,./dropdown/search,./dropdown/hidePlaceholder,./dropdown/infiniteScroll,./dropdown/attachBody,./dropdown/minimumResultsForSearch,./dropdown/selectOnClose,./dropdown/closeOnSelect,./i18n/en,function(c,u,d,p,h,f,g,m,v,y,s,t,_,$,b,w,A,x,D,S,E,C,O,T,q,L,I,j,e){function n(){this.reset()}return n.prototype.applyfunction(e){if(null(ec.extend(!0,{},this.defaults,e)).dataAdapter){if(null!e.ajax?e.dataAdapterb:null!e.data?e.dataAdapter$:e.dataAdapter_,0e.minimumInputLength&&(e.dataAdaptery.Decorate(e.dataAdapter,x)),0e.maximumInputLength&&(e.dataAdaptery.Decorate(e.dataAdapter,D)),0e.maximumSelectionLength&&(e.dataAdaptery.Decorate(e.dataAdapter,S)),e.tags&&(e.dataAdaptery.Decorate(e.dataAdapter,w)),nulle.tokenSeparators&&nulle.tokenizer||(e.dataAdaptery.Decorate(e.dataAdapter,A)),null!e.query){var tu(e.amdBase+compat/query);e.dataAdaptery.Decorate(e.dataAdapter,t)}if(null!e.initSelection){var nu(e.amdBase+compat/initSelection);e.dataAdaptery.Decorate(e.dataAdapter,n)}}if(nulle.resultsAdapter&&(e.resultsAdapterd,null!e.ajax&&(e.resultsAdaptery.Decorate(e.resultsAdapter,T)),null!e.placeholder&&(e.resultsAdaptery.Decorate(e.resultsAdapter,O)),e.selectOnClose&&(e.resultsAdaptery.Decorate(e.resultsAdapter,I))),nulle.dropdownAdapter){if(e.multiple)e.dropdownAdapterE;else{var ry.Decorate(E,C);e.dropdownAdapterr}if(0!e.minimumResultsForSearch&&(e.dropdownAdaptery.Decorate(e.dropdownAdapter,L)),e.closeOnSelect&&(e.dropdownAdaptery.Decorate(e.dropdownAdapter,j)),null!e.dropdownCssClass||null!e.dropdownCss||null!e.adaptDropdownCssClass){var iu(e.amdBase+compat/dropdownCss);e.dropdownAdaptery.Decorate(e.dropdownAdapter,i)}e.dropdownAdaptery.Decorate(e.dropdownAdapter,q)}if(nulle.selectionAdapter){if(e.multiple?e.selectionAdapterh:e.selectionAdapterp,null!e.placeholder&&(e.selectionAdaptery.Decorate(e.selectionAdapter,f)),e.allowClear&&(e.selectionAdaptery.Decorate(e.selectionAdapter,g)),e.multiple&&(e.selectionAdaptery.Decorate(e.selectionAdapter,m)),null!e.containerCssClass||null!e.containerCss||null!e.adaptContainerCssClass){var ou(e.amdBase+compat/containerCss);e.selectionAdaptery.Decorate(e.selectionAdapter,o)}e.selectionAdaptery.Decorate(e.selectionAdapter,v)}e.languagethis._resolveLanguage(e.language),e.language.push(en);for(var s,a0;ae.language.length;a++){var le.languagea;-1s.indexOf(l)&&s.push(l)}return e.languages,e.translationsthis._processTranslations(e.language,e.debug),e},n.prototype.resetfunction(){function a(e){return e.replace(/^\u0000-\u007E/g,function(e){return te||e})}this.defaults{amdBase:./,amdLanguageBase:./i18n/,closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:y.escapeMarkup,language:{},matcher:function e(t,n){if(c.trim(t.term))return n;if(n.children&&0n.children.length){for(var rc.extend(!0,{},n),in.children.length-1;0i;i--)nulle(t,n.childreni)&&r.children.splice(i,1);return 0r.children.length?r:e(t,r)}var oa(n.text).toUpperCase(),sa(t.term).toUpperCase();return-1o.indexOf(s)?n:null},minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,scrollAfterSelect:!1,sorter:function(e){return e},templateResult:function(e){return e.text},templateSelection:function(e){return e.text},theme:default,width:resolve}},n.prototype.applyFromElementfunction(e,t){var ne.language,rthis.defaults.language,it.prop(lang),ot.closest(lang).prop(lang),sArray.prototype.concat.call(this._resolveLanguage(i),this._resolveLanguage(n),this._resolveLanguage(r),this._resolveLanguage(o));return e.languages,e},n.prototype._resolveLanguagefunction(e){if(!e)return;if(c.isEmptyObject(e))return;if(c.isPlainObject(e))returne;var t;tc.isArray(e)?e:e;for(var n,r0;rt.length;r++)if(n.push(tr),stringtypeof tr&&0tr.indexOf(-)){var itr.split(-)0;n.push(i)}return n},n.prototype._processTranslationsfunction(e,t){for(var nnew s,r0;re.length;r++){var inew s,oer;if(stringtypeof o)try{is.loadPath(o)}catch(e){try{othis.defaults.amdLanguageBase+o,is.loadPath(o)}catch(e){t&&window.console&&console.warn&&console.warn(Select2: The language file for +o+ could not be automatically loaded. A fallback will be used instead.)}}else ic.isPlainObject(o)?new s(o):o;n.extend(i)}return n},n.prototype.setfunction(e,t){var n{};nc.camelCase(e)t;var ry._convertData(n);c.extend(!0,this.defaults,r)},new n}),e.define(select2/options,require,jquery,./defaults,./utils,function(r,d,i,p){function e(e,t){if(this.optionse,null!t&&this.fromElement(t),null!t&&(this.optionsi.applyFromElement(this.options,t)),this.optionsi.apply(this.options),t&&t.is(input)){var nr(this.get(amdBase)+compat/inputData);this.options.dataAdapterp.Decorate(this.options.dataAdapter,n)}}return e.prototype.fromElementfunction(e){var tselect2;nullthis.options.multiple&&(this.options.multiplee.prop(multiple)),nullthis.options.disabled&&(this.options.disablede.prop(disabled)),nullthis.options.dir&&(e.prop(dir)?this.options.dire.prop(dir):e.closest(dir).prop(dir)?this.options.dire.closest(dir).prop(dir):this.options.dirltr),e.prop(disabled,this.options.disabled),e.prop(multiple,this.options.multiple),p.GetData(e0,select2Tags)&&(this.options.debug&&window.console&&console.warn&&console.warn(Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tagstrue` attributes and will be removed in future versions of Select2.),p.StoreData(e0,data,p.GetData(e0,select2Tags)),p.StoreData(e0,tags,!0)),p.GetData(e0,ajaxUrl)&&(this.options.debug&&window.console&&console.warn&&console.warn(Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2.),e.attr(ajax--url,p.GetData(e0,ajaxUrl)),p.StoreData(e0,ajax-Url,p.GetData(e0,ajaxUrl)));var n{};function r(e,t){return t.toUpperCase()}for(var i0;ie0.attributes.length;i++){var oe0.attributesi.name,sdata-;if(o.substr(0,s.length)s){var ao.substring(s.length),lp.GetData(e0,a);na.replace(/-(a-z)/g,r)l}}d.fn.jquery&&1.d.fn.jquery.substr(0,2)&&e0.dataset&&(nd.extend(!0,{},e0.dataset,n));var cd.extend(!0,{},p.GetData(e0),n);for(var u in cp._convertData(c))-1d.inArray(u,t)||(d.isPlainObject(this.optionsu)?d.extend(this.optionsu,cu):this.optionsucu);return this},e.prototype.getfunction(e){return this.optionse},e.prototype.setfunction(e,t){this.optionset},e}),e.define(select2/core,jquery,./options,./utils,./keys,function(o,c,u,r){var dfunction(e,t){null!u.GetData(e0,select2)&&u.GetData(e0,select2).destroy(),this.$elemente,this.idthis._generateId(e),tt||{},this.optionsnew c(t,e),d.__super__.constructor.call(this);var ne.attr(tabindex)||0;u.StoreData(e0,old-tabindex,n),e.attr(tabindex,-1);var rthis.options.get(dataAdapter);this.dataAdapternew r(e,this.options);var ithis.render();this._placeContainer(i);var othis.options.get(selectionAdapter);this.selectionnew o(e,this.options),this.$selectionthis.selection.render(),this.selection.position(this.$selection,i);var sthis.options.get(dropdownAdapter);this.dropdownnew s(e,this.options),this.$dropdownthis.dropdown.render(),this.dropdown.position(this.$dropdown,i);var athis.options.get(resultsAdapter);this.resultsnew a(e,this.options,this.dataAdapter),this.$resultsthis.results.render(),this.results.position(this.$results,this.$dropdown);var lthis;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(e){l.trigger(selection:update,{data:e})}),e.addClass(select2-hidden-accessible),e.attr(aria-hidden,true),this._syncAttributes(),u.StoreData(e0,select2,this),e.data(select2,this)};return u.Extend(d,u.Observable),d.prototype._generateIdfunction(e){returnselect2-+(null!e.attr(id)?e.attr(id):null!e.attr(name)?e.attr(name)+-+u.generateChars(2):u.generateChars(4)).replace(/(:|\.|\|\|,)/g,)},d.prototype._placeContainerfunction(e){e.insertAfter(this.$element);var tthis._resolveWidth(this.$element,this.options.get(width));null!t&&e.css(width,t)},d.prototype._resolveWidthfunction(e,t){var n/^width:((-+?(0-9*\.)?0-9+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if(resolvet){var rthis._resolveWidth(e,style);return null!r?r:this._resolveWidth(e,element)}if(elementt){var ie.outerWidth(!1);return i0?auto:i+px}if(style!t)returncomputedstyle!t?t:window.getComputedStyle(e0).width;var oe.attr(style);if(string!typeof o)return null;for(var so.split(;),a0,ls.length;al;a+1){var csa.replace(/\s/g,).match(n);if(null!c&&1c.length)return c1}return null},d.prototype._bindAdaptersfunction(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},d.prototype._registerDomEventsfunction(){var tthis;this.$element.on(change.select2,function(){t.dataAdapter.current(function(e){t.trigger(selection:update,{data:e})})}),this.$element.on(focus.select2,function(e){t.trigger(focus,e)}),this._syncAu.bind(this._syncAttributes,this),this._syncSu.bind(this._syncSubtree,this),this.$element0.attachEvent&&this.$element0.attachEvent(onpropertychange,this._syncA);var ewindow.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!e?(this._observernew e(function(e){t._syncA(),t._syncS(null,e)}),this._observer.observe(this.$element0,{attributes:!0,childList:!0,subtree:!1})):this.$element0.addEventListener&&(this.$element0.addEventListener(DOMAttrModified,t._syncA,!1),this.$element0.addEventListener(DOMNodeInserted,t._syncS,!1),this.$element0.addEventListener(DOMNodeRemoved,t._syncS,!1))},d.prototype._registerDataEventsfunction(){var nthis;this.dataAdapter.on(*,function(e,t){n.trigger(e,t)})},d.prototype._registerSelectionEventsfunction(){var nthis,rtoggle,focus;this.selection.on(toggle,function(){n.toggleDropdown()}),this.selection.on(focus,function(e){n.focus(e)}),this.selection.on(*,function(e,t){-1o.inArray(e,r)&&n.trigger(e,t)})},d.prototype._registerDropdownEventsfunction(){var nthis;this.dropdown.on(*,function(e,t){n.trigger(e,t)})},d.prototype._registerResultsEventsfunction(){var nthis;this.results.on(*,function(e,t){n.trigger(e,t)})},d.prototype._registerEventsfunction(){var nthis;this.on(open,function(){n.$container.addClass(select2-container--open)}),this.on(close,function(){n.$container.removeClass(select2-container--open)}),this.on(enable,function(){n.$container.removeClass(select2-container--disabled)}),this.on(disable,function(){n.$container.addClass(select2-container--disabled)}),this.on(blur,function(){n.$container.removeClass(select2-container--focus)}),this.on(query,function(t){n.isOpen()||n.trigger(open,{}),this.dataAdapter.query(t,function(e){n.trigger(results:all,{data:e,query:t})})}),this.on(query:append,function(t){this.dataAdapter.query(t,function(e){n.trigger(results:append,{data:e,query:t})})}),this.on(keypress,function(e){var te.which;n.isOpen()?tr.ESC||tr.TAB||tr.UP&&e.altKey?(n.close(e),e.preventDefault()):tr.ENTER?(n.trigger(results:select,{}),e.preventDefault()):tr.SPACE&&e.ctrlKey?(n.trigger(results:toggle,{}),e.preventDefault()):tr.UP?(n.trigger(results:previous,{}),e.preventDefault()):tr.DOWN&&(n.trigger(results:next,{}),e.preventDefault()):(tr.ENTER||tr.SPACE||tr.DOWN&&e.altKey)&&(n.open(),e.preventDefault())})},d.prototype._syncAttributesfunction(){this.options.set(disabled,this.$element.prop(disabled)),this.isDisabled()?(this.isOpen()&&this.close(),this.trigger(disable,{})):this.trigger(enable,{})},d.prototype._isChangeMutationfunction(e,t){var n!1,rthis;if(!e||!e.target||OPTIONe.target.nodeName||OPTGROUPe.target.nodeName){if(t)if(t.addedNodes&&0t.addedNodes.length)for(var i0;it.addedNodes.length;i++){t.addedNodesi.selected&&(n!0)}else t.removedNodes&&0t.removedNodes.length?n!0:o.isArray(t)&&o.each(t,function(e,t){if(r._isChangeMutation(e,t))return!(n!0)});else n!0;return n}},d.prototype._syncSubtreefunction(e,t){var nthis._isChangeMutation(e,t),rthis;n&&this.dataAdapter.current(function(e){r.trigger(selection:update,{data:e})})},d.prototype.triggerfunction(e,t){var nd.__super__.trigger,r{open:opening,close:closing,select:selecting,unselect:unselecting,clear:clearing};if(void 0t&&(t{}),e in r){var ire,o{prevented:!1,name:e,args:t};if(n.call(this,i,o),o.prevented)return void(t.prevented!0)}n.call(this,e,t)},d.prototype.toggleDropdownfunction(){this.isDisabled()||(this.isOpen()?this.close():this.open())},d.prototype.openfunction(){this.isOpen()||this.isDisabled()||this.trigger(query,{})},d.prototype.closefunction(e){this.isOpen()&&this.trigger(close,{originalEvent:e})},d.prototype.isEnabledfunction(){return!this.isDisabled()},d.prototype.isDisabledfunction(){return this.options.get(disabled)},d.prototype.isOpenfunction(){return this.$container.hasClass(select2-container--open)},d.prototype.hasFocusfunction(){return this.$container.hasClass(select2-container--focus)},d.prototype.focusfunction(e){this.hasFocus()||(this.$container.addClass(select2-container--focus),this.trigger(focus,{}))},d.prototype.enablefunction(e){this.options.get(debug)&&window.console&&console.warn&&console.warn(Select2: The `select2(enable)` method has been deprecated and will be removed in later Select2 versions. Use $element.prop(disabled) instead.),null!e&&0!e.length||(e!0);var t!e0;this.$element.prop(disabled,t)},d.prototype.datafunction(){this.options.get(debug)&&0arguments.length&&window.console&&console.warn&&console.warn(Select2: Data can no longer be set using `select2(data)`. You should consider setting the value instead using `$element.val()`.);var t;return this.dataAdapter.current(function(e){te}),t},d.prototype.valfunction(e){if(this.options.get(debug)&&window.console&&console.warn&&console.warn(Select2: The `select2(val)` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.),nulle||0e.length)return this.$element.val();var te0;o.isArray(t)&&(to.map(t,function(e){return e.toString()})),this.$element.val(t).trigger(input).trigger(change)},d.prototype.destroyfunction(){this.$container.remove(),this.$element0.detachEvent&&this.$element0.detachEvent(onpropertychange,this._syncA),null!this._observer?(this._observer.disconnect(),this._observernull):this.$element0.removeEventListener&&(this.$element0.removeEventListener(DOMAttrModified,this._syncA,!1),this.$element0.removeEventListener(DOMNodeInserted,this._syncS,!1),this.$element0.removeEventListener(DOMNodeRemoved,this._syncS,!1)),this._syncAnull,this._syncSnull,this.$element.off(.select2),this.$element.attr(tabindex,u.GetData(this.$element0,old-tabindex)),this.$element.removeClass(select2-hidden-accessible),this.$element.attr(aria-hidden,false),u.RemoveData(this.$element0),this.$element.removeData(select2),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapternull,this.selectionnull,this.dropdownnull,this.resultsnull},d.prototype.renderfunction(){var eo(span classselect2 select2-container>span classselection>/span>span classdropdown-wrapper aria-hiddentrue>/span>/span>);return e.attr(dir,this.options.get(dir)),this.$containere,this.$container.addClass(select2-container--+this.options.get(theme)),u.StoreData(e0,element,this.$element),e},d}),e.define(jquery-mousewheel,jquery,function(e){return e}),e.define(jquery.select2,jquery,jquery-mousewheel,./select2/core,./select2/defaults,./select2/utils,function(i,e,o,t,s){if(nulli.fn.select2){var aopen,close,destroy;i.fn.select2function(t){if(objecttypeof(tt||{}))return this.each(function(){var ei.extend(!0,{},t);new o(i(this),e)}),this;if(string!typeof t)throw new Error(Invalid arguments for Select2: +t);var n,rArray.prototype.slice.call(arguments,1);return this.each(function(){var es.GetData(this,select2);nulle&&window.console&&console.error&&console.error(The select2(+t+) method was called on an element that is not using Select2.),net.apply(e,r)}),-1i.inArray(t,a)?this:n}}return nulli.fn.select2.defaults&&(i.fn.select2.defaultst),o}),{define:e.define,require:e.require}}(),te.require(jquery.select2);return u.fn.select2.amde,t});/script>-->style typetext/css> /* Chart.js */ @keyframes chartjs-render-animation{from{opacity:.99}to{opacity:1}}.chartjs-render-monitor{animation:chartjs-render-animation 1ms}.chartjs-size-monitor,.chartjs-size-monitor-expand,.chartjs-size-monitor-shrink{position:absolute;direction:ltr;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1}.chartjs-size-monitor-expand>div{position:absolute;width:1000000px;height:1000000px;left:0;top:0}.chartjs-size-monitor-shrink>div{position:absolute;width:200%;height:200%;left:0;top:0}/style>style typetext/css> .jqstooltip { position: absolute;left: 0px;top: 0px;visibility: hidden;background: rgb(0, 0, 0) transparent;background-color: rgba(0,0,0,0.6);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr#99000000, endColorstr#99000000);-ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr#99000000, endColorstr#99000000);color: white;font: 10px arial, san serif;text-align: left;white-space: nowrap;padding: 5px;border: 1px solid white;box-sizing: content-box;z-index: 10000;}.jqsfield { color: white;font: 10px arial, san serif;text-align: left;}/style>script data-srcplugins/datatables/jquery.dataTables.bootstrap4.responsive.min.js>/*! DataTables 1.10.21 * ©2008-2020 SpryMedia Ltd - datatables.net/license */!function(e){use strict;functiontypeof define&&define.amd?define(jquery,(function(t){return e(t,window,document)})):objecttypeof exports?module.exportsfunction(t,n){return t||(twindow),n||(nundefined!typeof window?require(jquery):require(jquery)(t)),e(n,t,t.document)}:e(jQuery,window,document)}((function(e,t,n,a){use strict;var r,o,i,s,lfunction(t){this.$function(e,t){return this.api(!0).$(e,t)},this._function(e,t){return this.api(!0).rows(e,t).data()},this.apifunction(e){return new o(e?ot(thisr.iApiIndex):this)},this.fnAddDatafunction(t,n){var rthis.api(!0),oe.isArray(t)&&(e.isArray(t0)||e.isPlainObject(t0))?r.rows.add(t):r.row.add(t);return(na||n)&&r.draw(),o.flatten().toArray()},this.fnAdjustColumnSizingfunction(e){var tthis.api(!0).columns.adjust(),nt.settings()0,rn.oScroll;ea||e?t.draw(!1):r.sX&&r.sY||Be(n)},this.fnClearTablefunction(e){var tthis.api(!0).clear();(ea||e)&&t.draw()},this.fnClosefunction(e){this.api(!0).row(e).child.hide()},this.fnDeleteRowfunction(e,t,n){var rthis.api(!0),or.rows(e),io.settings()0,si.aoDatao00;return o.remove(),t&&t.call(this,i,s),(na||n)&&r.draw(),s},this.fnDestroyfunction(e){this.api(!0).destroy(e)},this.fnDrawfunction(e){this.api(!0).draw(e)},this.fnFilterfunction(e,t,n,r,o,i){var sthis.api(!0);nullt||ta?s.search(e,n,r,i):s.column(t).search(e,n,r,i),s.draw()},this.fnGetDatafunction(e,t){var nthis.api(!0);if(e!a){var re.nodeName?e.nodeName.toLowerCase():;return t!a||tdr||thr?n.cell(e,t).data():n.row(e).data()||null}return n.data().toArray()},this.fnGetNodesfunction(e){var tthis.api(!0);return e!a?t.row(e).node():t.rows().nodes().flatten().toArray()},this.fnGetPositionfunction(e){var tthis.api(!0),ne.nodeName.toUpperCase();if(TRn)return t.row(e).index();if(TDn||THn){var at.cell(e).index();returna.row,a.columnVisible,a.column}return null},this.fnIsOpenfunction(e){return this.api(!0).row(e).child.isShown()},this.fnOpenfunction(e,t,n){return this.api(!0).row(e).child(t,n).show().child()0},this.fnPageChangefunction(e,t){var nthis.api(!0).page(e);(ta||t)&&n.draw(!1)},this.fnSetColumnVisfunction(e,t,n){var rthis.api(!0).column(e).visible(t);(na||n)&&r.columns.adjust().draw()},this.fnSettingsfunction(){return ot(thisr.iApiIndex)},this.fnSortfunction(e){this.api(!0).order(e).draw()},this.fnSortListenerfunction(e,t,n){this.api(!0).order.listener(e,t,n)},this.fnUpdatefunction(e,t,n,r,o){var ithis.api(!0);return na||nulln?i.row(t).data(e):i.cell(t,n).data(e),(oa||o)&&i.columns.adjust(),(ra||r)&&i.draw(),0},this.fnVersionCheckr.fnVersionCheck;var nthis,ita,sthis.length;for(var u in i&&(t{}),this.oApithis.internalr.internal,l.ext.internal)u&&(thisukt(u));return this.each((function(){var r,os>1?lt({},t,!0):t,u0,cthis.getAttribute(id),d!1,fl.defaults,he(this);if(tablethis.nodeName.toLowerCase()){L(f),R(f.column),I(f,f,!0),I(f.column,f.column,!0),I(f,e.extend(o,h.data()),!0);var pl.settings;for(u0,rp.length;ur;u++){var gpu;if(g.nTablethis||g.nTHead&&g.nTHead.parentNodethis||g.nTFoot&&g.nTFoot.parentNodethis){var bo.bRetrieve!a?o.bRetrieve:f.bRetrieve,vo.bDestroy!a?o.bDestroy:f.bDestroy;if(i||b)return g.oInstance;if(v){g.oInstance.fnDestroy();break}return void it(g,0,Cannot reinitialise DataTable,3)}if(g.sTableIdthis.id){p.splice(u,1);break}}null!c&&!c||(cDataTables_Table_+l.ext._unique++,this.idc);var me.extend(!0,{},l.models.oSettings,{sDestroyWidth:h0.style.width,sInstance:c,sTableId:c});m.nTablethis,m.oApin.internal,m.oInito,p.push(m),m.oInstance1n.length?n:h.dataTable(),L(o),A(o.oLanguage),o.aLengthMenu&&!o.iDisplayLength&&(o.iDisplayLengthe.isArray(o.aLengthMenu0)?o.aLengthMenu00:o.aLengthMenu0),olt(e.extend(!0,{},f),o),st(m.oFeatures,o,bPaginate,bLengthChange,bFilter,bSort,bSortMulti,bInfo,bProcessing,bAutoWidth,bSortClasses,bServerSide,bDeferRender),st(m,o,asStripeClasses,ajax,fnServerData,fnFormatNumber,sServerMethod,aaSorting,aaSortingFixed,aLengthMenu,sPaginationType,sAjaxSource,sAjaxDataProp,iStateDuration,sDom,bSortCellsTop,iTabIndex,fnStateLoadCallback,fnStateSaveCallback,renderer,searchDelay,rowId,iCookieDuration,iStateDuration,oSearch,oPreviousSearch,aoSearchCols,aoPreSearchCols,iDisplayLength,_iDisplayLength),st(m.oScroll,o,sScrollX,sX,sScrollXInner,sXInner,sScrollY,sY,bScrollCollapse,bCollapse),st(m.oLanguage,o,fnInfoCallback),ct(m,aoDrawCallback,o.fnDrawCallback,user),ct(m,aoServerParams,o.fnServerParams,user),ct(m,aoStateSaveParams,o.fnStateSaveParams,user),ct(m,aoStateLoadParams,o.fnStateLoadParams,user),ct(m,aoStateLoaded,o.fnStateLoaded,user),ct(m,aoRowCallback,o.fnRowCallback,user),ct(m,aoRowCreatedCallback,o.fnCreatedRow,user),ct(m,aoHeaderCallback,o.fnHeaderCallback,user),ct(m,aoFooterCallback,o.fnFooterCallback,user),ct(m,aoInitComplete,o.fnInitComplete,user),ct(m,aoPreDrawCallback,o.fnPreDrawCallback,user),m.rowIdFnY(o.rowId),P(m);var ym.oClasses;if(e.extend(y,l.ext.classes,o.oClasses),h.addClass(y.sTable),m.iInitDisplayStarta&&(m.iInitDisplayStarto.iDisplayStart,m._iDisplayStarto.iDisplayStart),null!o.iDeferLoading){m.bDeferLoading!0;var Se.isArray(o.iDeferLoading);m._iRecordsDisplayS?o.iDeferLoading0:o.iDeferLoading,m._iRecordsTotalS?o.iDeferLoading1:o.iDeferLoading}var Dm.oLanguage;e.extend(!0,D,o.oLanguage),D.sUrl&&(e.ajax({dataType:json,url:D.sUrl,success:function(t){A(t),I(f.oLanguage,t),e.extend(!0,D,t),Pe(m)},error:function(){Pe(m)}}),d!0),nullo.asStripeClasses&&(m.asStripeClassesy.sStripeOdd,y.sStripeEven);var _m.asStripeClasses,wh.children(tbody).find(tr).eq(0);-1!e.inArray(!0,e.map(_,(function(e,t){return w.hasClass(e)})))&&(e(tbody tr,this).removeClass(_.join( )),m.asDestroyStripes_.slice());var C,x,Tthis.getElementsByTagName(thead);if(0!T.length&&(ce(m.aoHeader,T0),xde(m)),nullo.aoColumns)for(C,u0,rx.length;ur;u++)C.push(null);else Co.aoColumns;for(u0,rC.length;ur;u++)k(m,x?xu:null);if(U(m,o.aoColumnDefs,C,(function(e,t){N(m,e,t)})),w.length){var Ffunction(e,t){return null!e.getAttribute(data-+t)?t:null};e(w0).children(th, td).each((function(e,t){var nm.aoColumnse;if(n.mDatae){var rF(t,sort)||F(t,order),oF(t,filter)||F(t,search);nullr&&nullo||(n.mData{_:e+.display,sort:null!r?e+.@data-+r:a,type:null!r?e+.@data-+r:a,filter:null!o?e+.@data-+o:a},N(m,e))}}))}var jm.oFeatures,Hfunction(){if(o.aaSortinga){var tm.aaSorting;for(u0,rt.length;ur;u++)tu1m.aoColumnsu.asSorting0}tt(m),j.bSort&&ct(m,aoDrawCallback,(function(){if(m.bSorted){var tYe(m),n{};e.each(t,(function(e,t){nt.srct.dir})),dt(m,null,order,m,t,n),Qe(m)}})),ct(m,aoDrawCallback,(function(){(m.bSorted||ssppt(m)||j.bDeferRender)&&tt(m)}),sc);var nh.children(caption).each((function(){this._captionSidee(this).css(caption-side)})),ih.children(thead);0i.length&&(ie(thead/>).appendTo(h)),m.nTHeadi0;var sh.children(tbody);0s.length&&(se(tbody/>).appendTo(h)),m.nTBodys0;var lh.children(tfoot);if(0l.length&&n.length>0&&(!m.oScroll.sX||!m.oScroll.sY)&&(le(tfoot/>).appendTo(h)),0l.length||0l.children().length?h.addClass(y.sNoFooter):l.length>0&&(m.nTFootl0,ce(m.aoFooter,m.nTFoot)),o.aaData)for(u0;uo.aaData.length;u++)V(m,o.aaDatau);else(m.bDeferLoading||dompt(m))&&q(m,e(m.nTBody).children(tr));m.aiDisplaym.aiDisplayMaster.slice(),m.bInitialised!0,!1d&&Pe(m)};o.bStateSave?(j.bStateSave!0,ct(m,aoDrawCallback,at,state_save),rt(m,o,H)):H()}else it(null,0,Non-table node initialisation (+this.nodeName+),2)})),nnull,this},u{},c/\r\n\u2028/g,d/.*?>/g,f/^\d{2,4}\.\/\-\d{1,2}\.\/\-\d{1,2}(T {1}\d{1,2}:\.\d{2}(\.:\d{2})?)?$/,hnew RegExp((\\+/,.,*,+,?,|,(,),,,{,},\\,$,^,-.join(|\\)+),g),p/,$£€¥%\u2009\u202F\u20BD\u20a9\u20BArfkɃΞ/gi,gfunction(e){return!e||!0e||-e},bfunction(e){var tparseInt(e,10);return!isNaN(t)&&isFinite(e)?t:null},vfunction(e,t){return ut||(utnew RegExp(we(t),g)),stringtypeof e&&.!t?e.replace(/\./g,).replace(ut,.):e},mfunction(e,t,n){var astringtypeof e;return!!g(e)||(t&&a&&(ev(e,t)),n&&a&&(ee.replace(p,)),!isNaN(parseFloat(e))&&isFinite(e))},yfunction(e,t,n){return!!g(e)||(function(e){return g(e)||stringtypeof e}(e)&&!!m(C(e),t,n)||null)},Sfunction(e,t,n){var r,o0,ie.length;if(n!a)for(;oi;o++)eo&&eot&&r.push(eotn);else for(;oi;o++)eo&&r.push(eot);return r},Dfunction(e,t,n,r){var o,i0,st.length;if(r!a)for(;is;i++)etin&&o.push(etinr);else for(;is;i++)o.push(etin);return o},_function(e,t){var n,r;ta?(t0,ne):(nt,te);for(var ot;on;o++)r.push(o);return r},wfunction(e){for(var t,n0,ae.length;na;n++)en&&t.push(en);return t},Cfunction(e){return e.replace(d,)},xfunction(e){if(function(e){if(e.length2)return!0;for(var te.slice().sort(),nt0,a1,rt.length;ar;a++){if(tan)return!1;nta}return!0}(e))return e.slice();var t,n,a,r,oe.length,i0;e:for(n0;no;n++){for(ten,a0;ai;a++)if(rat)continue e;r.push(t),i++}return r};function T(t){var n,a,r{};e.each(t,(function(e,o){(ne.match(/^(^A-Z+?)(A-Z)/))&&-1!a aa ai ao as b fn i m o s .indexOf(n1+ )&&(ae.replace(n0,n2.toLowerCase()),rae,on1&&T(te))})),t._hungarianMapr}function I(t,n,r){var o;t._hungarianMap||T(t),e.each(n,(function(i,s){(ot._hungarianMapi)a||!r&&no!a||(oo.charAt(0)?(no||(no{}),e.extend(!0,no,ni),I(to,no,r)):noni)}))}function A(e){var tl.defaults.oLanguage,nt.sDecimal;if(n&&Pt(n),e){var ae.sZeroRecords;!e.sEmptyTable&&a&&No data available in tablet.sEmptyTable&&st(e,e,sZeroRecords,sEmptyTable),!e.sLoadingRecords&&a&&Loading...t.sLoadingRecords&&st(e,e,sZeroRecords,sLoadingRecords),e.sInfoThousands&&(e.sThousandse.sInfoThousands);var re.sDecimal;r&&n!r&&Pt(r)}}l.util{throttle:function(e,t){var n,r,ot!a?t:200;return function(){var tthis,i+new Date,sarguments;n&&in+o?(clearTimeout(r),rsetTimeout((function(){na,e.apply(t,s)}),o)):(ni,e.apply(t,s))}},escapeRegex:function(e){return e.replace(h,\\$1)}};var Ffunction(e,t,n){et!a&&(enet)};function L(e){F(e,ordering,bSort),F(e,orderMulti,bSortMulti),F(e,orderClasses,bSortClasses),F(e,orderCellsTop,bSortCellsTop),F(e,order,aaSorting),F(e,orderFixed,aaSortingFixed),F(e,paging,bPaginate),F(e,pagingType,sPaginationType),F(e,pageLength,iDisplayLength),F(e,searching,bFilter),booleantypeof e.sScrollX&&(e.sScrollXe.sScrollX?100%:),booleantypeof e.scrollX&&(e.scrollXe.scrollX?100%:);var te.aoSearchCols;if(t)for(var n0,at.length;na;n++)tn&&I(l.models.oSearch,tn)}function R(t){F(t,orderable,bSortable),F(t,orderData,aDataSort),F(t,orderSequence,asSorting),F(t,orderDataType,sortDataType);var nt.aDataSort;number!typeof n||e.isArray(n)||(t.aDataSortn)}function P(n){if(!l.__browser){var a{};l.__browsera;var re(div/>).css({position:fixed,top:0,left:-1*e(t).scrollLeft(),height:1,width:1,overflow:hidden}).append(e(div/>).css({position:absolute,top:1,left:1,width:100,overflow:scroll}).append(e(div/>).css({width:100%,height:10}))).appendTo(body),or.children(),io.children();a.barWidtho0.offsetWidth-o0.clientWidth,a.bScrollOversize100i0.offsetWidth&&100!o0.clientWidth,a.bScrollbarLeft1!Math.round(i.offset().left),a.bBounding!!r0.getBoundingClientRect().width,r.remove()}e.extend(n.oBrowser,l.__browser),n.oScroll.iBarWidthl.__browser.barWidth}function j(e,t,n,r,o,i){var s,lr,u!1;for(n!a&&(sn,u!0);l!o;)e.hasOwnProperty(l)&&(su?t(s,el,l,e):el,u!0,l+i);return s}function k(t,a){var rl.defaults.column,ot.aoColumns.length,ie.extend({},l.models.oColumn,r,{nTh:a||n.createElement(th),sTitle:r.sTitle?r.sTitle:a?a.innerHTML:,aDataSort:r.aDataSort?r.aDataSort:o,mData:r.mData?r.mData:o,idx:o});t.aoColumns.push(i);var st.aoPreSearchCols;soe.extend({},l.models.oSearch,so),N(t,o,e(a).data())}function N(t,n,r){var ot.aoColumnsn,it.oClasses,se(o.nTh);if(!o.sWidthOrig){o.sWidthOrigs.attr(width)||null;var u(s.attr(style)||).match(/width:\s*(\d+pxem%+)/);u&&(o.sWidthOrigu1)}r!a&&null!r&&(R(r),I(l.defaults.column,r,!0),r.mDataPropa||r.mData||(r.mDatar.mDataProp),r.sType&&(o._sManualTyper.sType),r.className&&!r.sClass&&(r.sClassr.className),r.sClass&&s.addClass(r.sClass),e.extend(o,r),st(o,r,sWidth,sWidthOrig),r.iDataSort!a&&(o.aDataSortr.iDataSort),st(o,r,aDataSort));var co.mData,dY(c),fo.mRender?Y(o.mRender):null,hfunction(e){returnstringtypeof e&&-1!e.indexOf(@)};o._bAttrSrce.isPlainObject(c)&&(h(c.sort)||h(c.type)||h(c.filter)),o._setternull,o.fnGetDatafunction(e,t,n){var rd(e,t,a,n);return f&&t?f(r,t,e,n):r},o.fnSetDatafunction(e,t,n){return Z(c)(e,t,n)},number!typeof c&&(t._rowReadObject!0),t.oFeatures.bSort||(o.bSortable!1,s.addClass(i.sSortableNone));var p-1!e.inArray(asc,o.asSorting),g-1!e.inArray(desc,o.asSorting);o.bSortable&&(p||g)?p&&!g?(o.sSortingClassi.sSortableAsc,o.sSortingClassJUIi.sSortJUIAscAllowed):!p&&g?(o.sSortingClassi.sSortableDesc,o.sSortingClassJUIi.sSortJUIDescAllowed):(o.sSortingClassi.sSortable,o.sSortingClassJUIi.sSortJUI):(o.sSortingClassi.sSortableNone,o.sSortingClassJUI)}function H(e){if(!1!e.oFeatures.bAutoWidth){var te.aoColumns;qe(e);for(var n0,at.length;na;n++)tn.nTh.style.widthtn.sWidth}var re.oScroll;r.sY&&r.sX||Be(e),dt(e,null,column-sizing,e)}function O(e,t){var nE(e,bVisible);returnnumbertypeof nt?nt:null}function W(t,n){var aE(t,bVisible),re.inArray(n,a);return-1!r?r:null}function M(t){var n0;return e.each(t.aoColumns,(function(t,a){a.bVisible&&none!e(a.nTh).css(display)&&n++})),n}function E(t,n){var a;return e.map(t.aoColumns,(function(e,t){en&&a.push(t)})),a}function B(e){var t,n,r,o,i,s,u,c,d,fe.aoColumns,he.aoData,pl.ext.type.detect;for(t0,nf.length;tn;t++)if(d,!(uft).sType&&u._sManualType)u.sTypeu._sManualType;else if(!u.sType){for(r0,op.length;ro;r++){for(i0,sh.length;is&&(dia&&(diX(e,i,t,type)),(cpr(di,e))||rp.length-1)&&html!c;i++);if(c){u.sTypec;break}}u.sType||(u.sTypestring)}}function U(t,n,r,o){var i,s,l,u,c,d,f,ht.aoColumns;if(n)for(in.length-1;i>0;i--){var p(fni).targets!a?f.targets:f.aTargets;for(e.isArray(p)||(pp),l0,up.length;lu;l++)if(numbertypeof pl&&pl>0){for(;h.lengthpl;)k(t);o(pl,f)}else if(numbertypeof pl&&pl0)o(h.length+pl,f);else if(stringtypeof pl)for(c0,dh.length;cd;c++)(_allpl||e(hc.nTh).hasClass(pl))&&o(c,f)}if(r)for(i0,sr.length;is;i++)o(i,ri)}function V(t,n,r,o){var it.aoData.length,se.extend(!0,{},l.models.oRow,{src:r?dom:data,idx:i});s._aDatan,t.aoData.push(s);for(var ut.aoColumns,c0,du.length;cd;c++)uc.sTypenull;t.aiDisplayMaster.push(i);var ft.rowIdFn(n);return f!a&&(t.aIdsfs),!r&&t.oFeatures.bDeferRender||ae(t,i,r,o),i}function q(t,n){var a;return n instanceof e||(ne(n)),n.map((function(e,n){return ane(t,n),V(t,a.data,n,a.cells)}))}function X(e,t,n,r){var oe.iDraw,ie.aoColumnsn,se.aoDatat._aData,li.sDefaultContent,ui.fnGetData(s,r,{settings:e,row:t,col:n});if(ua)return e.iDrawError!o&&nulll&&(it(e,0,Requested unknown parameter +(functiontypeof i.mData?{function}:+i.mData+)+ for row +t+, column +n,4),e.iDrawErroro),l;if(u!s&&null!u||nulll||ra){if(functiontypeof u)return u.call(s)}else ul;return nullu&&displayr?:u}function z(e,t,n,a){var re.aoColumnsn,oe.aoDatat._aData;r.fnSetData(o,a,{settings:e,row:t,col:n})}var J/\.*?\$/,$/\(\)$/;function G(t){return e.map(t.match(/(\\.|^\.)+/g)||,(function(e){return e.replace(/\\\./g,.)}))}function Y(t){if(e.isPlainObject(t)){var n{};return e.each(t,(function(e,t){t&&(neY(t))})),function(e,t,r,o){var int||n._;return i!a?i(e,t,r,o):e}}if(nullt)return function(e){return e};if(functiontypeof t)return function(e,n,a,r){return t(e,n,a,r)};if(string!typeof t||-1t.indexOf(.)&&-1t.indexOf()&&-1t.indexOf(())return function(e,n){return et};var rfunction(t,n,o){var i,s,l,u;if(!o)for(var cG(o),d0,fc.length;df;d++){if(icd.match(J),scd.match($),i){if(cdcd.replace(J,),!cd&&(ttcd),l,c.splice(0,d+1),uc.join(.),e.isArray(t))for(var h0,pt.length;hp;h++)l.push(r(th,n,u));var gi0.substring(1,i0.length-1);tg?l:l.join(g);break}if(s)cdcd.replace($,),ttcd();else{if(nullt||tcda)return a;ttcd}}return t};return function(e,n){return r(e,n,t)}}function Z(t){if(e.isPlainObject(t))return Z(t._);if(nullt)return function(){};if(functiontypeof t)return function(e,n,a){t(e,set,n,a)};if(string!typeof t||-1t.indexOf(.)&&-1t.indexOf()&&-1t.indexOf(())return function(e,n){etn};var nfunction(t,r,o){for(var i,s,l,u,c,dG(o),fdd.length-1,h0,pd.length-1;hp;h++){if(sdh.match(J),ldh.match($),s){if(dhdh.replace(J,),tdh,(id.slice()).splice(0,h+1),ci.join(.),e.isArray(r))for(var g0,br.length;gb;g++)n(u{},rg,c),tdh.push(u);else tdhr;return}l&&(dhdh.replace($,),ttdh(r)),null!tdh&&tdh!a||(tdh{}),ttdh}f.match($)?ttf.replace($,)(r):tf.replace(J,)r};return function(e,a){return n(e,a,t)}}function Q(e){return S(e.aoData,_aData)}function K(e){e.aoData.length0,e.aiDisplayMaster.length0,e.aiDisplay.length0,e.aIds{}}function ee(e,t,n){for(var r-1,o0,ie.length;oi;o++)eot?ro:eo>t&&eo--;-1!r&&na&&e.splice(r,1)}function te(e,t,n,r){var o,i,se.aoDatat,lfunction(n,a){for(;n.childNodes.length;)n.removeChild(n.firstChild);n.innerHTMLX(e,t,a,display)};if(dom!n&&(n&&auto!n||dom!s.src)){var us.anCells;if(u)if(r!a)l(ur,r);else for(o0,iu.length;oi;o++)l(uo,o)}else s._aDatane(e,s,r,ra?a:s._aData).data;s._aSortDatanull,s._aFilterDatanull;var ce.aoColumns;if(r!a)cr.sTypenull;else{for(o0,ic.length;oi;o++)co.sTypenull;re(e,s)}}function ne(t,n,r,o){var i,s,l,u,cn.firstChild,d0,ft.aoColumns,ht._rowReadObject;oo!a?o:h?{}:;var pfunction(e,t){if(stringtypeof e){var ne.indexOf(@);if(-1!n){var ae.substring(n+1);Z(e)(o,t.getAttribute(a))}}},gfunction(t){r!a&&r!d||(sfd,le.trim(t.innerHTML),s&&s._bAttrSrc?(Z(s.mData._)(o,l),p(s.mData.sort,t),p(s.mData.type,t),p(s.mData.filter,t)):h?(s._setter||(s._setterZ(s.mData)),s._setter(o,l)):odl);d++};if(c)for(;c;)TD!(ic.nodeName.toUpperCase())&&TH!i||(g(c),u.push(c)),cc.nextSibling;else for(var b0,v(un.anCells).length;bv;b++)g(ub);var mn.firstChild?n:n.nTr;if(m){var ym.getAttribute(id);y&&Z(t.rowId)(o,y)}return{data:o,cells:u}}function ae(t,a,r,o){var i,s,l,u,c,d,ft.aoDataa,hf._aData,p;if(nullf.nTr){for(ir||n.createElement(tr),f.nTri,f.anCellsp,i._DT_RowIndexa,re(t,f),u0,ct.aoColumns.length;uc;u++)lt.aoColumnsu,(s(d!r)?n.createElement(l.sCellType):ou)._DT_CellIndex{row:a,column:u},p.push(s),!d&&(r&&!l.mRender&&l.mDatau||e.isPlainObject(l.mData)&&l.mData._u+.display)||(s.innerHTMLX(t,a,u,display)),l.sClass&&(s.className+ +l.sClass),l.bVisible&&!r?i.appendChild(s):!l.bVisible&&r&&s.parentNode.removeChild(s),l.fnCreatedCell&&l.fnCreatedCell.call(t.oInstance,s,X(t,a,u),h,a,u);dt(t,aoRowCreatedCallback,null,i,h,a,p)}f.nTr.setAttribute(role,row)}function re(t,n){var an.nTr,rn._aData;if(a){var ot.rowIdFn(r);if(o&&(a.ido),r.DT_RowClass){var ir.DT_RowClass.split( );n.__rowcn.__rowc?x(n.__rowc.concat(i)):i,e(a).removeClass(n.__rowc.join( )).addClass(r.DT_RowClass)}r.DT_RowAttr&&e(a).attr(r.DT_RowAttr),r.DT_RowData&&e(a).data(r.DT_RowData)}}function oe(t){var n,a,r,o,i,st.nTHead,lt.nTFoot,u0e(th, td,s).length,ct.oClasses,dt.aoColumns;for(u&&(oe(tr/>).appendTo(s)),n0,ad.length;na;n++)idn,re(i.nTh).addClass(i.sClass),u&&r.appendTo(o),t.oFeatures.bSort&&(r.addClass(i.sSortingClass),!1!i.bSortable&&(r.attr(tabindex,t.iTabIndex).attr(aria-controls,t.sTableId),et(t,i.nTh,n))),i.sTitle!r0.innerHTML&&r.html(i.sTitle),ht(t,header)(t,r,i,c);if(u&&ce(t.aoHeader,s),e(s).find(>tr).attr(role,row),e(s).find(>tr>th, >tr>td).addClass(c.sHeaderTH),e(l).find(>tr>th, >tr>td).addClass(c.sFooterTH),null!l){var ft.aoFooter0;for(n0,af.length;na;n++)(idn).nTffn.cell,i.sClass&&e(i.nTf).addClass(i.sClass)}}function ie(t,n,r){var o,i,s,l,u,c,d,f,h,p,g,bt.aoColumns.length;if(n){for(ra&&(r!1),o0,in.length;oi;o++){for(pono.slice(),po.nTrno.nTr,sb-1;s>0;s--)t.aoColumnss.bVisible||r||po.splice(s,1);g.push()}for(o0,ip.length;oi;o++){if(dpo.nTr)for(;cd.firstChild;)d.removeChild(c);for(s0,lpo.length;sl;s++)if(f1,h1,gosa){for(d.appendChild(pos.cell),gos1;po+f!a&&pos.cellpo+fs.cell;)go+fs1,f++;for(;pos+h!a&&pos.cellpos+h.cell;){for(u0;uf;u++)go+us+h1;h++}e(pos.cell).attr(rowspan,f).attr(colspan,h)}}}}function se(t){var ndt(t,aoPreDrawCallback,preDraw,t);if(-1e.inArray(!1,n)){var r,o0,it.asStripeClasses,si.length,l(t.aoOpenRows.length,t.oLanguage),ut.iInitDisplayStart,cssppt(t),dt.aiDisplay;t.bDrawing!0,u!a&&-1!u&&(t._iDisplayStartc?u:u>t.fnRecordsDisplay()?0:u,t.iInitDisplayStart-1);var ft._iDisplayStart,ht.fnDisplayEnd();if(t.bDeferLoading)t.bDeferLoading!1,t.iDraw++,Me(t,!1);else if(c){if(!t.bDestroying&&!he(t))return}else t.iDraw++;if(0!d.length)for(var pc?0:f,gc?t.aoData.length:h,bp;bg;b++){var vdb,mt.aoDatav;nullm.nTr&&ae(t,v);var ym.nTr;if(0!s){var Sio%s;m._sRowStripe!S&&(e(y).removeClass(m._sRowStripe).addClass(S),m._sRowStripeS)}dt(t,aoRowCallback,null,y,m._aData,o,b,v),r.push(y),o++}else{var Dl.sZeroRecords;1t.iDraw&&ajaxpt(t)?Dl.sLoadingRecords:l.sEmptyTable&&0t.fnRecordsTotal()&&(Dl.sEmptyTable),r0e(tr/>,{class:s?i0:}).append(e(td />,{valign:top,colSpan:M(t),class:t.oClasses.sRowEmpty}).html(D))0}dt(t,aoHeaderCallback,header,e(t.nTHead).children(tr)0,Q(t),f,h,d),dt(t,aoFooterCallback,footer,e(t.nTFoot).children(tr)0,Q(t),f,h,d);var _e(t.nTBody);_.children().detach(),_.append(e(r)),dt(t,aoDrawCallback,draw,t),t.bSorted!1,t.bFiltered!1,t.bDrawing!1}else Me(t,!1)}function le(e,t){var ne.oFeatures,an.bSort,rn.bFilter;a&&Ze(e),r?me(e,e.oPreviousSearch):e.aiDisplaye.aiDisplayMaster.slice(),!0!t&&(e._iDisplayStart0),e._drawHoldt,se(e),e._drawHold!1}function ue(t){var nt.oClasses,ae(t.nTable),re(div/>).insertBefore(a),ot.oFeatures,ie(div/>,{id:t.sTableId+_wrapper,class:n.sWrapper+(t.nTFoot?: +n.sNoFooter)});t.nHoldingr0,t.nTableWrapperi0,t.nTableReinsertBeforet.nTable.nextSibling;for(var s,u,c,d,f,h,pt.sDom.split(),g0;gp.length;g++){if(snull,(upg)){if(ce(div/>)0,(dpg+1)||d){for(f,h2;pg+h!d;)f+pg+h,h++;if(Hf?fn.sJUIHeader:Ff&&(fn.sJUIFooter),-1!f.indexOf(.)){var bf.split(.);c.idb0.substr(1,b0.length-1),c.classNameb1}else#f.charAt(0)?c.idf.substr(1,f.length-1):c.classNamef;g+h}i.append(c),ie(c)}else if(>u)ii.parent();else if(lu&&o.bPaginate&&o.bLengthChange)sNe(t);else if(fu&&o.bFilter)sve(t);else if(ru&&o.bProcessing)sWe(t);else if(tu)sEe(t);else if(iu&&o.bInfo)sFe(t);else if(pu&&o.bPaginate)sHe(t);else if(0!l.ext.feature.length)for(var vl.ext.feature,m0,yv.length;my;m++)if(uvm.cFeature){svm.fnInit(t);break}if(s){var St.aanFeatures;Su||(Su),Su.push(s),i.append(s)}}r.replaceWith(i),t.nHoldingnull}function ce(t,n){var a,r,o,i,s,l,u,c,d,f,he(n).children(tr),pfunction(e,t,n){for(var aet;an;)n++;return n};for(t.splice(0,t.length),o0,lh.length;ol;o++)t.push();for(o0,lh.length;ol;o++)for(0,r(aho).firstChild;r;){if(TDr.nodeName.toUpperCase()||THr.nodeName.toUpperCase())for(c(c1*r.getAttribute(colspan))&&0!c&&1!c?c:1,d(d1*r.getAttribute(rowspan))&&0!d&&1!d?d:1,up(t,o,0),f1c,s0;sc;s++)for(i0;id;i++)to+iu+s{cell:r,unique:f},to+i.nTra;rr.nextSibling}}function de(e,t,n){var a;n||(ne.aoHeader,t&&ce(n,t));for(var r0,on.length;ro;r++)for(var i0,snr.length;is;i++)!nri.unique||ai&&e.bSortCellsTop||(ainri.cell);return a}function fe(t,n,a){if(dt(t,aoServerParams,serverParams,n),n&&e.isArray(n)){var r{},o/(.*?)\\$/;e.each(n,(function(e,t){var nt.name.match(o);if(n){var an0;ra||(ra),ra.push(t.value)}else rt.namet.value})),nr}var i,st.ajax,lt.oInstance,ufunction(e){dt(t,null,xhr,t,e,t.jqXHR),a(e)};if(e.isPlainObject(s)&&s.data){var cfunctiontypeof(is.data)?i(n,t):i;nfunctiontypeof i&&c?c:e.extend(!0,n,c),delete s.data}var d{data:n,success:function(e){var ne.error||e.sError;n&&it(t,0,n),t.jsone,u(e)},dataType:json,cache:!1,type:t.sServerMethod,error:function(n,a,r){var odt(t,null,xhr,t,null,t.jqXHR);-1e.inArray(!0,o)&&(parsererrora?it(t,0,Invalid JSON response,1):4n.readyState&&it(t,0,Ajax error,7)),Me(t,!1)}};t.oAjaxDatan,dt(t,null,preXhr,t,n),t.fnServerData?t.fnServerData.call(l,t.sAjaxSource,e.map(n,(function(e,t){return{name:t,value:e}})),u,t):t.sAjaxSource||stringtypeof s?t.jqXHRe.ajax(e.extend(d,{url:s||t.sAjaxSource})):functiontypeof s?t.jqXHRs.call(l,n,u,t):(t.jqXHRe.ajax(e.extend(d,s)),s.datai)}function he(e){return!e.bAjaxDataGet||(e.iDraw++,Me(e,!0),fe(e,pe(e),(function(t){ge(e,t)})),!1)}function pe(t){var n,a,r,o,it.aoColumns,si.length,ut.oFeatures,ct.oPreviousSearch,dt.aoPreSearchCols,f,hYe(t),pt._iDisplayStart,g!1!u.bPaginate?t._iDisplayLength:-1,bfunction(e,t){f.push({name:e,value:t})};b(sEcho,t.iDraw),b(iColumns,s),b(sColumns,S(i,sName).join(,)),b(iDisplayStart,p),b(iDisplayLength,g);var v{draw:t.iDraw,columns:,order:,start:p,length:g,search:{value:c.sSearch,regex:c.bRegex}};for(n0;ns;n++)rin,odn,afunctiontypeof r.mData?function:r.mData,v.columns.push({data:a,name:r.sName,searchable:r.bSearchable,orderable:r.bSortable,search:{value:o.sSearch,regex:o.bRegex}}),b(mDataProp_+n,a),u.bFilter&&(b(sSearch_+n,o.sSearch),b(bRegex_+n,o.bRegex),b(bSearchable_+n,r.bSearchable)),u.bSort&&b(bSortable_+n,r.bSortable);u.bFilter&&(b(sSearch,c.sSearch),b(bRegex,c.bRegex)),u.bSort&&(e.each(h,(function(e,t){v.order.push({column:t.col,dir:t.dir}),b(iSortCol_+e,t.col),b(sSortDir_+e,t.dir)})),b(iSortingCols,h.length));var ml.ext.legacy.ajax;return nullm?t.sAjaxSource?f:v:m?f:v}function ge(e,t){var nfunction(e,n){return te!a?te:tn},rbe(e,t),on(sEcho,draw),in(iTotalRecords,recordsTotal),sn(iTotalDisplayRecords,recordsFiltered);if(o!a){if(1*oe.iDraw)return;e.iDraw1*o}K(e),e._iRecordsTotalparseInt(i,10),e._iRecordsDisplayparseInt(s,10);for(var l0,ur.length;lu;l++)V(e,rl);e.aiDisplaye.aiDisplayMaster.slice(),e.bAjaxDataGet!1,se(e),e._bInitComplete||je(e,t),e.bAjaxDataGet!0,Me(e,!1)}function be(t,n){var re.isPlainObject(t.ajax)&&t.ajax.dataSrc!a?t.ajax.dataSrc:t.sAjaxDataProp;returndatar?n.aaData||nr:!r?Y(r)(n):n}function ve(t){var at.oClasses,rt.sTableId,ot.oLanguage,it.oPreviousSearch,st.aanFeatures,linput typesearch class+a.sFilterInput+/>,uo.sSearch;uu.match(/_INPUT_/)?u.replace(_INPUT_,l):u+l;var ce(div/>,{id:s.f?null:r+_filter,class:a.sFilter}).append(e(label/>).append(u)),dfunction(){s.f;var ethis.value?this.value:;e!i.sSearch&&(me(t,{sSearch:e,bRegex:i.bRegex,bSmart:i.bSmart,bCaseInsensitive:i.bCaseInsensitive}),t._iDisplayStart0,se(t))},fnull!t.searchDelay?t.searchDelay:ssppt(t)?400:0,he(input,c).val(i.sSearch).attr(placeholder,o.sSearchPlaceholder).on(keyup.DT search.DT input.DT paste.DT cut.DT,f?Xe(d,f):d).on(mouseup,(function(e){setTimeout((function(){d.call(h0)}),10)})).on(keypress.DT,(function(e){if(13e.keyCode)return!1})).attr(aria-controls,r);return e(t.nTable).on(search.dt.DT,(function(e,a){if(ta)try{h0!n.activeElement&&h.val(i.sSearch)}catch(e){}})),c0}function me(e,t,n){var re.oPreviousSearch,oe.aoPreSearchCols,ifunction(e){r.sSearche.sSearch,r.bRegexe.bRegex,r.bSmarte.bSmart,r.bCaseInsensitivee.bCaseInsensitive},sfunction(e){return e.bEscapeRegex!a?!e.bEscapeRegex:e.bRegex};if(B(e),ssp!pt(e)){De(e,t.sSearch,n,s(t),t.bSmart,t.bCaseInsensitive),i(t);for(var l0;lo.length;l++)Se(e,ol.sSearch,l,s(ol),ol.bSmart,ol.bCaseInsensitive);ye(e)}else i(t);e.bFiltered!0,dt(e,null,search,e)}function ye(t){for(var n,a,rl.ext.search,ot.aiDisplay,i0,sr.length;is;i++){for(var u,c0,do.length;cd;c++)aoc,nt.aoDataa,ri(t,n._aFilterData,a,n._aData,c)&&u.push(a);o.length0,e.merge(o,u)}}function Se(e,t,n,a,r,o){if(!t){for(var i,s,le.aiDisplay,u_e(t,a,r,o),c0;cl.length;c++)ie.aoDatalc._aFilterDatan,u.test(i)&&s.push(lc);e.aiDisplays}}function De(e,t,n,a,r,o){var i,s,u,c_e(t,a,r,o),de.oPreviousSearch.sSearch,fe.aiDisplayMaster,h;if(0!l.ext.search.length&&(n!0),sTe(e),t.length0)e.aiDisplayf.slice();else{for((s||n||a||d.length>t.length||0!t.indexOf(d)||e.bSorted)&&(e.aiDisplayf.slice()),ie.aiDisplay,u0;ui.length;u++)c.test(e.aoDataiu._sFilterRow)&&h.push(iu);e.aiDisplayh}}function _e(t,n,a,r){if(tn?t:we(t),a){var oe.map(t.match(/^+|^ +/g)||,(function(e){if(e.charAt(0)){var te.match(/^(.*)$/);et?t1:e}return e.replace(,)}));t^(?.*?+o.join()(?.*?)+).*$}return new RegExp(t,r?i:)}var wel.util.escapeRegex,Cee(div>)0,xeCe.textContent!a;function Te(e){var t,n,a,r,o,i,s,u,ce.aoColumns,dl.ext.type.search,f!1;for(n0,re.aoData.length;nr;n++)if(!(ue.aoDatan)._aFilterData){for(i,a0,oc.length;ao;a++)(tca).bSearchable?(sX(e,n,a,filter),dt.sType&&(sdt.sType(s)),nulls&&(s),string!typeof s&&s.toString&&(ss.toString())):s,s.indexOf&&-1!s.indexOf(&)&&(Ce.innerHTMLs,sxe?Ce.textContent:Ce.innerText),s.replace&&(ss.replace(/\r\n\u2028/g,)),i.push(s);u._aFilterDatai,u._sFilterRowi.join( ),f!0}return f}function Ie(e){return{search:e.sSearch,smart:e.bSmart,regex:e.bRegex,caseInsensitive:e.bCaseInsensitive}}function Ae(e){return{sSearch:e.search,bSmart:e.smart,bRegex:e.regex,bCaseInsensitive:e.caseInsensitive}}function Fe(t){var nt.sTableId,at.aanFeatures.i,re(div/>,{class:t.oClasses.sInfo,id:a?null:n+_info});return a||(t.aoDrawCallback.push({fn:Le,sName:information}),r.attr(role,status).attr(aria-live,polite),e(t.nTable).attr(aria-describedby,n+_info)),r0}function Le(t){var nt.aanFeatures.i;if(0!n.length){var at.oLanguage,rt._iDisplayStart+1,ot.fnDisplayEnd(),it.fnRecordsTotal(),st.fnRecordsDisplay(),ls?a.sInfo:a.sInfoEmpty;s!i&&(l+ +a.sInfoFiltered),lRe(t,l+a.sInfoPostFix);var ua.fnInfoCallback;null!u&&(lu.call(t.oInstance,t,r,o,i,s,l)),e(n).html(l)}}function Re(e,t){var ne.fnFormatNumber,ae._iDisplayStart+1,re._iDisplayLength,oe.fnRecordsDisplay(),i-1r;return t.replace(/_START_/g,n.call(e,a)).replace(/_END_/g,n.call(e,e.fnDisplayEnd())).replace(/_MAX_/g,n.call(e,e.fnRecordsTotal())).replace(/_TOTAL_/g,n.call(e,o)).replace(/_PAGE_/g,n.call(e,i?1:Math.ceil(a/r))).replace(/_PAGES_/g,n.call(e,i?1:Math.ceil(o/r)))}function Pe(e){var t,n,a,re.iInitDisplayStart,oe.aoColumns,ie.oFeatures,se.bDeferLoading;if(e.bInitialised){for(ue(e),oe(e),ie(e,e.aoHeader),ie(e,e.aoFooter),Me(e,!0),i.bAutoWidth&&qe(e),t0,no.length;tn;t++)(aot).sWidth&&(a.nTh.style.widthGe(a.sWidth));dt(e,null,preInit,e),le(e);var lpt(e);(ssp!l||s)&&(ajaxl?fe(e,,(function(n){var abe(e,n);for(t0;ta.length;t++)V(e,at);e.iInitDisplayStartr,le(e),Me(e,!1),je(e,n)})):(Me(e,!1),je(e)))}else setTimeout((function(){Pe(e)}),200)}function je(e,t){e._bInitComplete!0,(t||e.oInit.aaData)&&H(e),dt(e,null,plugin-init,e,t),dt(e,aoInitComplete,init,e,t)}function ke(e,t){var nparseInt(t,10);e._iDisplayLengthn,ft(e),dt(e,null,length,e,n)}function Ne(t){for(var nt.oClasses,at.sTableId,rt.aLengthMenu,oe.isArray(r0),io?r0:r,so?r1:r,le(select/>,{name:a+_length,aria-controls:a,class:n.sLengthSelect}),u0,ci.length;uc;u++)l0unew Option(numbertypeof su?t.fnFormatNumber(su):su,iu);var de(div>label/>/div>).addClass(n.sLength);return t.aanFeatures.l||(d0.ida+_length),d.children().append(t.oLanguage.sLengthMenu.replace(_MENU_,l0.outerHTML)),e(select,d).val(t._iDisplayLength).on(change.DT,(function(n){ke(t,e(this).val()),se(t)})),e(t.nTable).on(length.dt.DT,(function(n,a,r){ta&&e(select,d).val(r)})),d0}function He(t){var nt.sPaginationType,al.ext.pagern,rfunctiontypeof a,ofunction(e){se(e)},ie(div/>).addClass(t.oClasses.sPaging+n)0,st.aanFeatures;return r||a.fnInit(t,i,o),s.p||(i.idt.sTableId+_paginate,t.aoDrawCallback.push({fn:function(e){if(r){var t,n,ie._iDisplayStart,le._iDisplayLength,ue.fnRecordsDisplay(),c-1l,dc?0:Math.ceil(i/l),fc?1:Math.ceil(u/l),ha(d,f);for(t0,ns.p.length;tn;t++)ht(e,pageButton)(e,s.pt,t,h,d,f)}else a.fnUpdate(e,o)},sName:pagination})),i}function Oe(e,t,n){var ae._iDisplayStart,re._iDisplayLength,oe.fnRecordsDisplay();0o||-1r?a0:numbertypeof t?(at*r)>o&&(a0):firstt?a0:previoust?(ar>0?a-r:0)0&&(a0):nextt?a+ro&&(a+r):lastt?aMath.floor((o-1)/r)*r:it(e,0,Unknown paging action: +t,5);var ie._iDisplayStart!a;return e._iDisplayStarta,i&&(dt(e,null,page,e),n&&se(e)),i}function We(t){return e(div/>,{id:t.aanFeatures.r?null:t.sTableId+_processing,class:t.oClasses.sProcessing}).html(t.oLanguage.sProcessing).insertBefore(t.nTable)0}function Me(t,n){t.oFeatures.bProcessing&&e(t.aanFeatures.r).css(display,n?block:none),dt(t,null,processing,t,n)}function Ee(t){var ne(t.nTable);n.attr(role,grid);var at.oScroll;if(a.sX&&a.sY)return t.nTable;var ra.sX,oa.sY,it.oClasses,sn.children(caption),ls.length?s0._captionSide:null,ue(n0.cloneNode(!1)),ce(n0.cloneNode(!1)),dn.children(tfoot),fdiv/>,hfunction(e){return e?Ge(e):null};d.length||(dnull);var pe(f,{class:i.sScrollWrapper}).append(e(f,{class:i.sScrollHead}).css({overflow:hidden,position:relative,border:0,width:r?h(r):100%}).append(e(f,{class:i.sScrollHeadInner}).css({box-sizing:content-box,width:a.sXInner||100%}).append(u.removeAttr(id).css(margin-left,0).append(topl?s:null).append(n.children(thead))))).append(e(f,{class:i.sScrollBody}).css({position:relative,overflow:auto,width:h(r)}).append(n));d&&p.append(e(f,{class:i.sScrollFoot}).css({overflow:hidden,border:0,width:r?h(r):100%}).append(e(f,{class:i.sScrollFootInner}).append(c.removeAttr(id).css(margin-left,0).append(bottoml?s:null).append(n.children(tfoot)))));var gp.children(),bg0,vg1,md?g2:null;return r&&e(v).on(scroll.DT,(function(e){var tthis.scrollLeft;b.scrollLeftt,d&&(m.scrollLeftt)})),e(v).css(max-height,o),a.bCollapse||e(v).css(height,o),t.nScrollHeadb,t.nScrollBodyv,t.nScrollFootm,t.aoDrawCallback.push({fn:Be,sName:scrolling}),p0}function Be(t){var n,r,o,i,s,l,u,c,d,ft.oScroll,hf.sX,pf.sXInner,gf.sY,bf.iBarWidth,ve(t.nScrollHead),mv0.style,yv.children(div),Dy0.style,_y.children(table),wt.nScrollBody,Ce(w),xw.style,Te(t.nScrollFoot).children(div),IT.children(table),Ae(t.nTHead),Fe(t.nTable),LF0,RL.style,Pt.nTFoot?e(t.nTFoot):null,jt.oBrowser,kj.bScrollOversize,NS(t.aoColumns,nTh),W,M,E,B,Ufunction(e){var te.style;t.paddingTop0,t.paddingBottom0,t.borderTopWidth0,t.borderBottomWidth0,t.height0},Vw.scrollHeight>w.clientHeight;if(t.scrollBarVis!V&&t.scrollBarVis!a)return t.scrollBarVisV,void H(t);t.scrollBarVisV,F.children(thead, tfoot).remove(),P&&(lP.clone().prependTo(F),rP.find(tr),il.find(tr)),sA.clone().prependTo(F),nA.find(tr),os.find(tr),s.find(th, td).removeAttr(tabindex),h||(x.width100%,v0.style.width100%),e.each(de(t,s),(function(e,n){uO(t,e),n.style.widtht.aoColumnsu.sWidth})),P&&Ue((function(e){e.style.width}),i),dF.outerWidth(),h?(R.width100%,k&&(F.find(tbody).height()>w.offsetHeight||scrollC.css(overflow-y))&&(R.widthGe(F.outerWidth()-b)),dF.outerWidth()):!p&&(R.widthGe(p),dF.outerWidth()),Ue(U,o),Ue((function(t){E.push(t.innerHTML),W.push(Ge(e(t).css(width)))}),o),Ue((function(t,n){-1!e.inArray(t,N)&&(t.style.widthWn)}),n),e(o).height(0),P&&(Ue(U,i),Ue((function(t){B.push(t.innerHTML),M.push(Ge(e(t).css(width)))}),i),Ue((function(e,t){e.style.widthMt}),r),e(i).height(0)),Ue((function(e,t){e.innerHTMLdiv classdataTables_sizing>+Et+/div>,e.childNodes0.style.height0,e.childNodes0.style.overflowhidden,e.style.widthWt}),o),P&&Ue((function(e,t){e.innerHTMLdiv classdataTables_sizing>+Bt+/div>,e.childNodes0.style.height0,e.childNodes0.style.overflowhidden,e.style.widthMt}),i),F.outerWidth()d?(cw.scrollHeight>w.offsetHeight||scrollC.css(overflow-y)?d+b:d,k&&(w.scrollHeight>w.offsetHeight||scrollC.css(overflow-y))&&(R.widthGe(c-b)),!h&&p||it(t,1,Possible column misalignment,6)):c100%,x.widthGe(c),m.widthGe(c),P&&(t.nScrollFoot.style.widthGe(c)),g||k&&(x.heightGe(L.offsetHeight+b));var qF.outerWidth();_0.style.widthGe(q),D.widthGe(q);var XF.height()>w.clientHeight||scrollC.css(overflow-y),zpadding+(j.bScrollbarLeft?Left:Right);DzX?b+px:0px,P&&(I0.style.widthGe(q),T0.style.widthGe(q),T0.stylezX?b+px:0px),F.children(colgroup).insertBefore(F.children(thead)),C.trigger(scroll),!t.bSorted&&!t.bFiltered||t._drawHold||(w.scrollTop0)}function Ue(e,t,n){for(var a,r,o0,i0,st.length;is;){for(ati.firstChild,rn?ni.firstChild:null;a;)1a.nodeType&&(n?e(a,r,o):e(a,o),o++),aa.nextSibling,rn?r.nextSibling:null;i++}}var Ve/.*?>/g;function qe(n){var a,r,o,in.nTable,sn.aoColumns,ln.oScroll,ul.sY,cl.sX,dl.sXInner,fs.length,hE(n,bVisible),pe(th,n.nTHead),gi.getAttribute(width),bi.parentNode,v!1,mn.oBrowser,ym.bScrollOversize,Si.style.width;for(S&&-1!S.indexOf(%)&&(gS),a0;ah.length;a++)null!(rsha).sWidth&&(r.sWidthze(r.sWidthOrig,b),v!0);if(y||!v&&!c&&!u&&fM(n)&&fp.length)for(a0;af;a++){var DO(n,a);null!D&&(sD.sWidthGe(p.eq(a).width()))}else{var _e(i).clone().css(visibility,hidden).removeAttr(id);_.find(tbody tr).remove();var we(tr/>).appendTo(_.find(tbody));for(_.find(thead, tfoot).remove(),_.append(e(n.nTHead).clone()).append(e(n.nTFoot).clone()),_.find(tfoot th, tfoot td).css(width,),pde(n,_.find(thead)0),a0;ah.length;a++)rsha,pa.style.widthnull!r.sWidthOrig&&!r.sWidthOrig?Ge(r.sWidthOrig):,r.sWidthOrig&&c&&e(pa).append(e(div/>).css({width:r.sWidthOrig,margin:0,padding:0,border:0,height:1}));if(n.aoData.length)for(a0;ah.length;a++)rsoha,e(Je(n,o)).clone(!1).append(r.sContentPadding).appendTo(w);e(name,_).removeAttr(name);var Ce(div/>).css(c||u?{position:absolute,top:0,left:0,height:1,right:0,overflow:hidden}:{}).append(_).appendTo(b);c&&d?_.width(d):c?(_.css(width,auto),_.removeAttr(width),_.width()b.clientWidth&&g&&_.width(b.clientWidth)):u?_.width(b.clientWidth):g&&_.width(g);var x0;for(a0;ah.length;a++){var Te(pa),IT.outerWidth()-T.width(),Am.bBounding?Math.ceil(pa.getBoundingClientRect().width):T.outerWidth();x+A,sha.sWidthGe(A-I)}i.style.widthGe(x),C.remove()}if(g&&(i.style.widthGe(g)),(g||c)&&!n._reszEvt){var Ffunction(){e(t).on(resize.DT-+n.sInstance,Xe((function(){H(n)})))};y?setTimeout(F,1e3):F(),n._reszEvt!0}}var Xel.util.throttle;function ze(t,a){if(!t)return 0;var re(div/>).css(width,Ge(t)).appendTo(a||n.body),or0.offsetWidth;return r.remove(),o}function Je(t,n){var a$e(t,n);if(a0)return null;var rt.aoDataa;return r.nTr?r.anCellsn:e(td/>).html(X(t,a,n,display))0}function $e(e,t){for(var n,a-1,r-1,o0,ie.aoData.length;oi;o++)(n(n(nX(e,o,t,display)+).replace(Ve,)).replace(/ /g, )).length>a&&(an.length,ro);return r}function Ge(e){return nulle?0px:numbertypeof e?e0?0px:e+px:e.match(/\d$/)?e+px:e}function Ye(t){var n,r,o,i,s,u,c,d,ft.aoColumns,ht.aaSortingFixed,pe.isPlainObject(h),g,bfunction(t){t.length&&!e.isArray(t0)?g.push(t):e.merge(g,t)};for(e.isArray(h)&&b(h),p&&h.pre&&b(h.pre),b(t.aaSorting),p&&h.post&&b(h.post),n0;ng.length;n++)for(r0,o(ifcgn0.aDataSort).length;ro;r++)ufsir.sType||string,gn._idxa&&(gn._idxe.inArray(gn1,fs.asSorting)),d.push({src:c,col:s,dir:gn1,index:gn._idx,type:u,formatter:l.ext.type.orderu+-pre});return d}function Ze(e){var t,n,a,r,o,i,sl.ext.type.order,ue.aoData,c(e.aoColumns,0),de.aiDisplayMaster;for(B(e),t0,n(oYe(e)).length;tn;t++)(rot).formatter&&c++,nt(e,r.col);if(ssp!pt(e)&&0!o.length){for(t0,ad.length;ta;t++)idtt;co.length?d.sort((function(e,t){var n,a,r,s,l,co.length,due._aSortData,fut._aSortData;for(r0;rc;r++)if(0!(s(nd(lor).col)(afl.col)?-1:n>a?1:0))returnascl.dir?s:-s;return(nie)(ait)?-1:n>a?1:0})):d.sort((function(e,t){var n,a,r,l,c,do.length,fue._aSortData,hut._aSortData;for(r0;rd;r++)if(nf(cor).col,ahc.col,0!(l(sc.type+-+c.dir||sstring-+c.dir)(n,a)))return l;return(nie)(ait)?-1:n>a?1:0}))}e.bSorted!0}function Qe(e){for(var t,n,ae.aoColumns,rYe(e),oe.oLanguage.oAria,i0,sa.length;is;i++){var lai,ul.asSorting,cl.sTitle.replace(/.*?>/g,),dl.nTh;d.removeAttribute(aria-sort),l.bSortable?(r.length>0&&r0.coli?(d.setAttribute(aria-sort,ascr0.dir?ascending:descending),nur0.index+1||u0):nu0,tc+(ascn?o.sSortAscending:o.sSortDescending)):tc,d.setAttribute(aria-label,t)}}function Ke(t,n,r,o){var i,st.aoColumnsn,lt.aaSorting,us.asSorting,cfunction(t,n){var rt._idx;return ra&&(re.inArray(t1,u)),r+1u.length?r+1:n?null:0};if(numbertypeof l0&&(lt.aaSortingl),r&&t.oFeatures.bSortMulti){var de.inArray(n,S(l,0));-1!d?(null(ic(ld,!0))&&1l.length&&(i0),nulli?l.splice(d,1):(ld1ui,ld._idxi)):(l.push(n,u0,0),ll.length-1._idx0)}else l.length&&l00n?(ic(l0),l.length1,l01ui,l0._idxi):(l.length0,l.push(n,u0),l0._idx0);le(t),functiontypeof o&&o(t)}function et(e,t,n,a){var re.aoColumnsn;ut(t,{},(function(t){!1!r.bSortable&&(e.oFeatures.bProcessing?(Me(e,!0),setTimeout((function(){Ke(e,n,t.shiftKey,a),ssp!pt(e)&&Me(e,!1)}),0)):Ke(e,n,t.shiftKey,a))}))}function tt(t){var n,a,r,ot.aLastSort,it.oClasses.sSortColumn,sYe(t),lt.oFeatures;if(l.bSort&&l.bSortClasses){for(n0,ao.length;na;n++)ron.src,e(S(t.aoData,anCells,r)).removeClass(i+(n2?n+1:3));for(n0,as.length;na;n++)rsn.src,e(S(t.aoData,anCells,r)).addClass(i+(n2?n+1:3))}t.aLastSorts}function nt(e,t){var n,a,r,oe.aoColumnst,il.ext.ordero.sSortDataType;i&&(ni.call(e.oInstance,e,t,W(e,t)));for(var sl.ext.type.ordero.sType+-pre,u0,ce.aoData.length;uc;u++)(ae.aoDatau)._aSortData||(a._aSortData),a._aSortDatat&&!i||(ri?nu:X(e,u,t,sort),a._aSortDatats?s(r):r)}function at(t){if(t.oFeatures.bStateSave&&!t.bDestroying){var n{time:+new Date,start:t._iDisplayStart,length:t._iDisplayLength,order:e.extend(!0,,t.aaSorting),search:Ie(t.oPreviousSearch),columns:e.map(t.aoColumns,(function(e,n){return{visible:e.bVisible,search:Ie(t.aoPreSearchColsn)}}))};dt(t,aoStateSaveParams,stateSaveParams,t,n),t.oSavedStaten,t.fnStateSaveCallback.call(t.oInstance,t,n)}}function rt(t,n,r){var o,i,st.aoColumns,lfunction(n){if(n&&n.time){var ldt(t,aoStateLoadParams,stateLoadParams,t,n);if(-1e.inArray(!1,l)){var ut.iStateDuration;if(u>0&&n.time+new Date-1e3*u)r();else if(n.columns&&s.length!n.columns.length)r();else{if(t.oLoadedStatee.extend(!0,{},n),n.start!a&&(t._iDisplayStartn.start,t.iInitDisplayStartn.start),n.length!a&&(t._iDisplayLengthn.length),n.order!a&&(t.aaSorting,e.each(n.order,(function(e,n){t.aaSorting.push(n0>s.length?0,n1:n)}))),n.search!a&&e.extend(t.oPreviousSearch,Ae(n.search)),n.columns)for(o0,in.columns.length;oi;o++){var cn.columnso;c.visible!a&&(so.bVisiblec.visible),c.search!a&&e.extend(t.aoPreSearchColso,Ae(c.search))}dt(t,aoStateLoaded,stateLoaded,t,n),r()}}else r()}else r()};if(t.oFeatures.bStateSave){var ut.fnStateLoadCallback.call(t.oInstance,t,l);u!a&&l(u)}else r()}function ot(t){var nl.settings,ae.inArray(t,S(n,nTable));return-1!a?na:null}function it(e,n,a,r){if(aDataTables warning: +(e?table id+e.sTableId+ - :)+a,r&&(a+. For more information about this error, please see http://datatables.net/tn/+r),n)t.console&&console.log&&console.log(a);else{var ol.ext,io.sErrMode||o.errMode;if(e&&dt(e,null,error,e,r,a),alerti)alert(a);else{if(throwi)throw new Error(a);functiontypeof i&&i(e,r,a)}}}function st(t,n,r,o){e.isArray(r)?e.each(r,(function(a,r){e.isArray(r)?st(t,n,r0,r1):st(t,n,r)})):(oa&&(or),nr!a&&(tonr))}function lt(t,n,a){var r;for(var o in n)n.hasOwnProperty(o)&&(rno,e.isPlainObject(r)?(e.isPlainObject(to)||(to{}),e.extend(!0,to,r)):a&&data!o&&aaData!o&&e.isArray(r)?tor.slice():tor);return t}function ut(t,n,a){e(t).on(click.DT,n,(function(n){e(t).trigger(blur),a(n)})).on(keypress.DT,n,(function(e){13e.which&&(e.preventDefault(),a(e))})).on(selectstart.DT,(function(){return!1}))}function ct(e,t,n,a){n&&et.push({fn:n,sName:a})}function dt(t,n,a,r){var o;if(n&&(oe.map(tn.slice().reverse(),(function(e,n){return e.fn.apply(t.oInstance,r)}))),null!a){var ie.Event(a+.dt);e(t.nTable).trigger(i,r),o.push(i.result)}return o}function ft(e){var te._iDisplayStart,ne.fnDisplayEnd(),ae._iDisplayLength;t>n&&(tn-a),t-t%a,(-1a||t0)&&(t0),e._iDisplayStartt}function ht(t,n){var at.renderer,rl.ext.renderern;return e.isPlainObject(a)&&an?ran||r._:stringtypeof a&&ra||r._}function pt(e){return e.oFeatures.bServerSide?ssp:e.ajax||e.sAjaxSource?ajax:dom}var gt,btArray.prototype;ofunction(t,n){if(!(this instanceof o))return new o(t,n);var a,rfunction(t){var nfunction(t){var n,a,rl.settings,oe.map(r,(function(e,t){return e.nTable}));return t?t.nTable&&t.oApi?t:t.nodeName&&tablet.nodeName.toLowerCase()?-1!(ne.inArray(t,o))?rn:null:t&&functiontypeof t.settings?t.settings().toArray():(stringtypeof t?ae(t):t instanceof e&&(at),a?a.map((function(t){return-1!(ne.inArray(this,o))?rn:null})).toArray():void 0):}(t);n&&a.push.apply(a,n)};if(e.isArray(t))for(var i0,st.length;is;i++)r(ti);else r(t);this.contextx(a),n&&e.merge(this,n),this.selector{rows:null,cols:null,opts:null},o.extend(this,this,gt)},l.Apio,e.extend(o.prototype,{any:function(){return 0!this.count()},concat:bt.concat,context:,count:function(){return this.flatten().length},each:function(e){for(var t0,nthis.length;tn;t++)e.call(this,thist,t,this);return this},eq:function(e){var tthis.context;return t.length>e?new o(te,thise):null},filter:function(e){var t;if(bt.filter)tbt.filter.call(this,e,this);else for(var n0,athis.length;na;n++)e.call(this,thisn,n,this)&&t.push(thisn);return new o(this.context,t)},flatten:function(){var e;return new o(this.context,e.concat.apply(e,this.toArray()))},join:bt.join,indexOf:bt.indexOf||function(e,t){for(var nt||0,athis.length;na;n++)if(thisne)return n;return-1},iterator:function(e,t,n,r){var i,s,l,u,c,d,f,h,p,gthis.context,bthis.selector;for(stringtypeof e&&(rn,nt,te,e!1),s0,lg.length;sl;s++){var vnew o(gs);if(tablet)(in.call(v,gs,s))!a&&p.push(i);else if(columnst||rowst)(in.call(v,gs,thiss,s))!a&&p.push(i);else if(columnt||column-rowst||rowt||cellt)for(fthiss,column-rowst&&(d_t(gs,b.opts)),u0,cf.length;uc;u++)hfu,(icellt?n.call(v,gs,h.row,h.column,s,u):n.call(v,gs,h,s,u,d))!a&&p.push(i)}if(p.length||r){var mnew o(g,e?p.concat.apply(,p):p),ym.selector;return y.rowsb.rows,y.colsb.cols,y.optsb.opts,m}return this},lastIndexOf:bt.lastIndexOf||function(e,t){return this.indexOf.apply(this.toArray.reverse(),arguments)},length:0,map:function(e){var t;if(bt.map)tbt.map.call(this,e,this);else for(var n0,athis.length;na;n++)t.push(e.call(this,thisn,n));return new o(this.context,t)},pluck:function(e){return this.map((function(t){return te}))},pop:bt.pop,push:bt.push,reduce:bt.reduce||function(e,t){return j(this,e,t,0,this.length,1)},reduceRight:bt.reduceRight||function(e,t){return j(this,e,t,this.length-1,-1,-1)},reverse:bt.reverse,selector:null,shift:bt.shift,slice:function(){return new o(this.context,this)},sort:bt.sort,splice:bt.splice,toArray:function(){return bt.slice.call(this)},to$:function(){return e(this)},toJQuery:function(){return e(this)},unique:function(){return new o(this.context,x(this))},unshift:bt.unshift}),o.extendfunction(e,t,n){if(n.length&&t&&(t instanceof o||t.__dt_wrapper)){var a,r,i,sfunction(e,t,n){return function(){var at.apply(e,arguments);return o.extend(a,a,n.methodExt),a}};for(a0,rn.length;ar;a++)t(ina).namefunctioni.type?s(e,i.val,i):objecti.type?{}:i.val,ti.name.__dt_wrapper!0,o.extend(e,ti.name,i.propExt)}},o.registerifunction(t,n){if(e.isArray(t))for(var a0,rt.length;ar;a++)o.register(ta,n);else{var i,s,l,u,ct.split(.),dgt,ffunction(e,t){for(var n0,ae.length;na;n++)if(en.namet)return en;return null};for(i0,sc.length;is;i++){var hf(d,l(u-1!ci.indexOf(()))?ci.replace((),):ci);h||(h{name:l,val:{},methodExt:,propExt:,type:object},d.push(h)),is-1?(h.valn,h.typefunctiontypeof n?function:e.isPlainObject(n)?object:other):du?h.methodExt:h.propExt}}},o.registerPluralsfunction(t,n,r){o.register(t,r),o.register(n,(function(){var tr.apply(this,arguments);return tthis?this:t instanceof o?t.length?e.isArray(t0)?new o(t.context,t0):t0:a:t}))};var vtfunction(t,n){if(e.isArray(t))return e.map(t,(function(e){return vt(e,n)}));if(numbertypeof t)returnnt;var ae.map(n,(function(e,t){return e.nTable}));return e(a).filter(t).map((function(t){var re.inArray(this,a);return nr})).toArray()};i(tables(),(function(e){return e!a&&null!e?new o(vt(e,this.context)):this})),i(table(),(function(e){var tthis.tables(e),nt.context;return n.length?new o(n0):t})),s(tables().nodes(),table().node(),(function(){return this.iterator(table,(function(e){return e.nTable}),1)})),s(tables().body(),table().body(),(function(){return this.iterator(table,(function(e){return e.nTBody}),1)})),s(tables().header(),table().header(),(function(){return this.iterator(table,(function(e){return e.nTHead}),1)})),s(tables().footer(),table().footer(),(function(){return this.iterator(table,(function(e){return e.nTFoot}),1)})),s(tables().containers(),table().container(),(function(){return this.iterator(table,(function(e){return e.nTableWrapper}),1)})),i(draw(),(function(e){return this.iterator(table,(function(t){pagee?se(t):(stringtypeof e&&(efull-hold!e),le(t,!1e))}))})),i(page(),(function(e){return ea?this.page.info().page:this.iterator(table,(function(t){Oe(t,e)}))})),i(page.info(),(function(e){if(0this.context.length)return a;var tthis.context0,nt._iDisplayStart,rt.oFeatures.bPaginate?t._iDisplayLength:-1,ot.fnRecordsDisplay(),i-1r;return{page:i?0:Math.floor(n/r),pages:i?1:Math.ceil(o/r),start:n,end:t.fnDisplayEnd(),length:r,recordsTotal:t.fnRecordsTotal(),recordsDisplay:o,serverSide:ssppt(t)}})),i(page.len(),(function(e){return ea?0!this.context.length?this.context0._iDisplayLength:a:this.iterator(table,(function(t){ke(t,e)}))}));var mtfunction(e,t,n){if(n){var anew o(e);a.one(draw,(function(){n(a.ajax.json())}))}if(ssppt(e))le(e,t);else{Me(e,!0);var re.jqXHR;r&&4!r.readyState&&r.abort(),fe(e,,(function(n){K(e);for(var abe(e,n),r0,oa.length;ro;r++)V(e,ar);le(e,t),Me(e,!1)}))}};i(ajax.json(),(function(){var ethis.context;if(e.length>0)return e0.json})),i(ajax.params(),(function(){var ethis.context;if(e.length>0)return e0.oAjaxData})),i(ajax.reload(),(function(e,t){return this.iterator(table,(function(n){mt(n,!1t,e)}))})),i(ajax.url(),(function(t){var nthis.context;return ta?0n.length?a:(nn0).ajax?e.isPlainObject(n.ajax)?n.ajax.url:n.ajax:n.sAjaxSource:this.iterator(table,(function(n){e.isPlainObject(n.ajax)?n.ajax.urlt:n.ajaxt}))})),i(ajax.url().load(),(function(e,t){return this.iterator(table,(function(n){mt(n,!1t,e)}))}));var ytfunction(t,n,o,i,s){var l,u,c,d,f,h,p,gtypeof n;for(n&&string!g&&function!g&&n.length!a||(nn),c0,dn.length;cd;c++)for(f0,h(unc&&nc.split&&!nc.match(/\\(:/)?nc.split(,):nc).length;fh;f++)(lo(stringtypeof uf?e.trim(uf):uf))&&l.length&&(pp.concat(l));var br.selectort;if(b.length)for(c0,db.length;cd;c++)pbc(i,s,p);return x(p)},Stfunction(t){return t||(t{}),t.filter&&t.searcha&&(t.searcht.filter),e.extend({search:none,order:current,page:all},t)},Dtfunction(e){for(var t0,ne.length;tn;t++)if(et.length>0)return e0et,e0.length1,e.length1,e.contexte.contextt,e;return e.length0,e},_tfunction(t,n){var a,r,ot.aiDisplay,it.aiDisplayMaster,sn.search,ln.order,un.page;if(ssppt(t))returnremoveds?:_(0,i.length);if(currentu)for(dt._iDisplayStart,ft.fnDisplayEnd();df;d++)r.push(od);else if(currentl||appliedl){if(nones)ri.slice();else if(applieds)ro.slice();else if(removeds){for(var c{},d0,fo.length;df;d++)codnull;re.map(i,(function(e){return c.hasOwnProperty(e)?null:e}))}}else if(indexl||originall)for(d0,ft.aoData.length;df;d++)(nones||-1(ae.inArray(d,o))&&removeds||a>0&&applieds)&&r.push(d);return r};i(rows(),(function(t,n){ta?t:e.isPlainObject(t)&&(nt,t),nSt(n);var rthis.iterator(table,(function(r){return function(t,n,r){var o;return yt(row,n,(function(n){var ib(n),st.aoData;if(null!i&&!r)returni;if(o||(o_t(t,r)),null!i&&-1!e.inArray(i,o))returni;if(nulln||na||n)return o;if(functiontypeof n)return e.map(o,(function(e){var tse;return n(e,t._aData,t.nTr)?e:null}));if(n.nodeName){var ln._DT_RowIndex,un._DT_CellIndex;if(l!a)return sl&&sl.nTrn?l:;if(u)return su.row&&su.row.nTrn.parentNode?u.row:;var ce(n).closest(*data-dt-row);return c.length?c.data(dt-row):}if(stringtypeof n&n.charAt(0)){var dt.aIdsn.replace(/^#/,);if(d!a)returnd.idx}var fw(D(t.aoData,o,nTr));return e(f).filter(n).map((function(){return this._DT_RowIndex})).toArray()}),t,r)}(r,t,n)}),1);return r.selector.rowst,r.selector.optsn,r})),i(rows().nodes(),(function(){return this.iterator(row,(function(e,t){return e.aoDatat.nTr||a}),1)})),i(rows().data(),(function(){return this.iterator(!0,rows,(function(e,t){return D(e.aoData,t,_aData)}),1)})),s(rows().cache(),row().cache(),(function(e){return this.iterator(row,(function(t,n){var at.aoDatan;returnsearche?a._aFilterData:a._aSortData}),1)})),s(rows().invalidate(),row().invalidate(),(function(e){return this.iterator(row,(function(t,n){te(t,n,e)}))})),s(rows().indexes(),row().index(),(function(){return this.iterator(row,(function(e,t){return t}),1)})),s(rows().ids(),row().id(),(function(e){for(var t,nthis.context,a0,rn.length;ar;a++)for(var i0,sthisa.length;is;i++){var lna.rowIdFn(na.aoDatathisai._aData);t.push((!0e?#:)+l)}return new o(n,t)})),s(rows().remove(),row().remove(),(function(){var ethis;return this.iterator(row,(function(t,n,r){var o,i,s,l,u,c,dt.aoData,fdn;for(d.splice(n,1),o0,id.length;oi;o++)if(c(udo).anCells,null!u.nTr&&(u.nTr._DT_RowIndexo),null!c)for(s0,lc.length;sl;s++)cs._DT_CellIndex.rowo;ee(t.aiDisplayMaster,n),ee(t.aiDisplay,n),ee(er,n,!1),t._iRecordsDisplay>0&&t._iRecordsDisplay--,ft(t);var ht.rowIdFn(f._aData);h!a&&delete t.aIdsh})),this.iterator(table,(function(e){for(var t0,ne.aoData.length;tn;t++)e.aoDatat.idxt})),this})),i(rows.add(),(function(t){var nthis.iterator(table,(function(e){var n,a,r,o;for(a0,rt.length;ar;a++)(nta).nodeName&&TRn.nodeName.toUpperCase()?o.push(q(e,n)0):o.push(V(e,n));return o}),1),athis.rows(-1);return a.pop(),e.merge(a,n),a})),i(row(),(function(e,t){return Dt(this.rows(e,t))})),i(row().data(),(function(t){var nthis.context;if(ta)return n.length&&this.length?n0.aoDatathis0._aData:a;var rn0.aoDatathis0;return r._aDatat,e.isArray(t)&&r.nTr&&r.nTr.id&&Z(n0.rowId)(t,r.nTr.id),te(n0,this0,data),this})),i(row().node(),(function(){var ethis.context;return e.length&&this.length&&e0.aoDatathis0.nTr||null})),i(row.add(),(function(t){t instanceof e&&t.length&&(tt0);var nthis.iterator(table,(function(e){return t.nodeName&&TRt.nodeName.toUpperCase()?q(e,t)0:V(e,t)}));return this.row(n0)}));var wtfunction(e,t){var ne.context;if(n.length){var rn0.aoDatat!a?t:e0;r&&r._details&&(r._details.remove(),r._detailsShowa,r._detailsa)}},Ctfunction(e,t){var ne.context;if(n.length&&e.length){var an0.aoDatae0;a._details&&(a._detailsShowt,t?a._details.insertAfter(a.nTr):a._details.detach(),xt(n0))}},xtfunction(e){var tnew o(e),n.dt.DT_details,adraw+n,rcolumn-visibility+n,idestroy+n,se.aoData;t.off(a+ +r+ +i),S(s,_details).length>0&&(t.on(a,(function(n,a){ea&&t.rows({page:current}).eq(0).each((function(e){var tse;t._detailsShow&&t._details.insertAfter(t.nTr)}))})),t.on(r,(function(t,n,a,r){if(en)for(var o,iM(n),l0,us.length;lu;l++)(osl)._details&&o._details.children(tdcolspan).attr(colspan,i)})),t.on(i,(function(n,a){if(ea)for(var r0,os.length;ro;r++)sr._details&&wt(t,r)})))},Ttrow().child();i(Tt,(function(t,n){var rthis.context;return ta?r.length&&this.length?r0.aoDatathis0._details:a:(!0t?this.child.show():!1t?wt(this):r.length&&this.length&&function(t,n,a,r){var o,ifunction(n,a){if(e.isArray(n)||n instanceof e)for(var r0,sn.length;rs;r++)i(nr,a);else if(n.nodeName&&trn.nodeName.toLowerCase())o.push(n);else{var le(tr>td/>/tr>).addClass(a);e(td,l).addClass(a).html(n)0.colSpanM(t),o.push(l0)}};i(a,r),n._details&&n._details.detach(),n._detailse(o),n._detailsShow&&n._details.insertAfter(n.nTr)}(r0,r0.aoDatathis0,t,n),this)})),i(row().child.show(),Tt+.show(),(function(e){return Ct(this,!0),this})),i(row().child.hide(),Tt+.hide(),(function(){return Ct(this,!1),this})),i(row().child.remove(),Tt+.remove(),(function(){return wt(this),this})),i(row().child.isShown(),(function(){var ethis.context;return e.length&&this.length&&e0.aoDatathis0._detailsShow||!1}));var It/^(^:+):(name|visIdx|visible)$/,Atfunction(e,t,n,a,r){for(var o,i0,sr.length;is;i++)o.push(X(e,ri,t));return o};i(columns(),(function(t,n){ta?t:e.isPlainObject(t)&&(nt,t),nSt(n);var rthis.iterator(table,(function(a){return function(t,n,a){var rt.aoColumns,oS(r,sName),iS(r,nTh);return yt(column,n,(function(n){var sb(n);if(n)return _(r.length);if(null!s)returns>0?s:r.length+s;if(functiontypeof n){var l_t(t,a);return e.map(r,(function(e,a){return n(a,At(t,a,0,0,l),ia)?a:null}))}var ustringtypeof n?n.match(It):;if(u)switch(u2){casevisIdx:casevisible:var cparseInt(u1,10);if(c0){var de.map(r,(function(e,t){return e.bVisible?t:null}));returndd.length+c}returnO(t,c);casename:return e.map(o,(function(e,t){return eu1?t:null}));default:return}if(n.nodeName&&n._DT_CellIndex)returnn._DT_CellIndex.column;var fe(i).filter(n).map((function(){return e.inArray(this,i)})).toArray();if(f.length||!n.nodeName)return f;var he(n).closest(*data-dt-column);return h.length?h.data(dt-column):}),t,a)}(a,t,n)}),1);return r.selector.colst,r.selector.optsn,r})),s(columns().header(),column().header(),(function(e,t){return this.iterator(column,(function(e,t){return e.aoColumnst.nTh}),1)})),s(columns().footer(),column().footer(),(function(e,t){return this.iterator(column,(function(e,t){return e.aoColumnst.nTf}),1)})),s(columns().data(),column().data(),(function(){return this.iterator(column-rows,At,1)})),s(columns().dataSrc(),column().dataSrc(),(function(){return this.iterator(column,(function(e,t){return e.aoColumnst.mData}),1)})),s(columns().cache(),column().cache(),(function(e){return this.iterator(column-rows,(function(t,n,a,r,o){return D(t.aoData,o,searche?_aFilterData:_aSortData,n)}),1)})),s(columns().nodes(),column().nodes(),(function(){return this.iterator(column-rows,(function(e,t,n,a,r){return D(e.aoData,r,anCells,t)}),1)})),s(columns().visible(),column().visible(),(function(t,n){var rthis,othis.iterator(column,(function(n,r){if(ta)return n.aoColumnsr.bVisible;!function(t,n,r){var o,i,s,l,ut.aoColumns,cun,dt.aoData;if(ra)return c.bVisible;if(c.bVisible!r){if(r){var fe.inArray(!0,S(u,bVisible),n+1);for(i0,sd.length;is;i++)ldi.nTr,odi.anCells,l&&l.insertBefore(on,of||null)}else e(S(t.aoData,anCells,n)).detach();c.bVisibler}}(n,r,t)}));return t!a&&this.iterator(table,(function(o){ie(o,o.aoHeader),ie(o,o.aoFooter),o.aiDisplay.length||e(o.nTBody).find(tdcolspan).attr(colspan,M(o)),at(o),r.iterator(column,(function(e,a){dt(e,null,column-visibility,e,a,t,n)})),(na||n)&&r.columns.adjust()})),o})),s(columns().indexes(),column().index(),(function(e){return this.iterator(column,(function(t,n){returnvisiblee?W(t,n):n}),1)})),i(columns.adjust(),(function(){return this.iterator(table,(function(e){H(e)}),1)})),i(column.index(),(function(e,t){if(0!this.context.length){var nthis.context0;if(fromVisiblee||toDatae)return O(n,t);if(fromDatae||toVisiblee)return W(n,t)}})),i(column(),(function(e,t){return Dt(this.columns(e,t))}));i(cells(),(function(t,n,r){if(e.isPlainObject(t)&&(t.rowa?(rt,tnull):(rn,nnull)),e.isPlainObject(n)&&(rn,nnull),nulln||na)return this.iterator(table,(function(n){return function(t,n,r){var o,i,s,l,u,c,d,ft.aoData,h_t(t,r),pw(D(f,h,anCells)),ge(.concat.apply(,p)),bt.aoColumns.length;return yt(cell,n,(function(n){var rfunctiontypeof n;if(nulln||na||r){for(i,s0,lh.length;sl;s++)for(ohs,u0;ub;u++)c{row:o,column:u},r?(dfo,n(c,X(t,o,u),d.anCells?d.anCellsu:null)&&i.push(c)):i.push(c);return i}if(e.isPlainObject(n))return n.column!a&&n.row!a&&-1!e.inArray(n.row,h)?n:;var pg.filter(n).map((function(e,t){return{row:t._DT_CellIndex.row,column:t._DT_CellIndex.column}})).toArray();return p.length||!n.nodeName?p:(de(n).closest(*data-dt-row)).length?{row:d.data(dt-row),column:d.data(dt-column)}:}),t,r)}(n,t,St(r))}));var o,i,s,l,ur?{page:r.page,order:r.order,search:r.search}:{},cthis.columns(n,u),dthis.rows(t,u),fthis.iterator(table,(function(e,t){var n;for(o0,idt.length;oi;o++)for(s0,lct.length;sl;s++)n.push({row:dto,column:cts});return n}),1),hr&&r.selected?this.cells(f,r):f;return e.extend(h.selector,{cols:n,rows:t,opts:r}),h})),s(cells().nodes(),cell().node(),(function(){return this.iterator(cell,(function(e,t,n){var re.aoDatat;return r&&r.anCells?r.anCellsn:a}),1)})),i(cells().data(),(function(){return this.iterator(cell,(function(e,t,n){return X(e,t,n)}),1)})),s(cells().cache(),cell().cache(),(function(e){return esearche?_aFilterData:_aSortData,this.iterator(cell,(function(t,n,a){return t.aoDatanea}),1)})),s(cells().render(),cell().render(),(function(e){return this.iterator(cell,(function(t,n,a){return X(t,n,a,e)}),1)})),s(cells().indexes(),cell().index(),(function(){return this.iterator(cell,(function(e,t,n){return{row:t,column:n,columnVisible:W(e,n)}}),1)})),s(cells().invalidate(),cell().invalidate(),(function(e){return this.iterator(cell,(function(t,n,a){te(t,n,e,a)}))})),i(cell(),(function(e,t,n){return Dt(this.cells(e,t,n))})),i(cell().data(),(function(e){var tthis.context,nthis0;return ea?t.length&&n.length?X(t0,n0.row,n0.column):a:(z(t0,n0.row,n0.column,e),te(t0,n0.row,data,n0.column),this)})),i(order(),(function(t,n){var rthis.context;return ta?0!r.length?r0.aaSorting:a:(numbertypeof t?tt,n:t.length&&!e.isArray(t0)&&(tArray.prototype.slice.call(arguments)),this.iterator(table,(function(e){e.aaSortingt.slice()})))})),i(order.listener(),(function(e,t,n){return this.iterator(table,(function(a){et(a,e,t,n)}))})),i(order.fixed(),(function(t){if(!t){var nthis.context,rn.length?n0.aaSortingFixed:a;return e.isArray(r)?{pre:r}:r}return this.iterator(table,(function(n){n.aaSortingFixede.extend(!0,{},t)}))})),i(columns().order(),column().order(),(function(t){var nthis;return this.iterator(table,(function(a,r){var o;e.each(nr,(function(e,n){o.push(n,t)})),a.aaSortingo}))})),i(search(),(function(t,n,r,o){var ithis.context;return ta?0!i.length?i0.oPreviousSearch.sSearch:a:this.iterator(table,(function(a){a.oFeatures.bFilter&&me(a,e.extend({},a.oPreviousSearch,{sSearch:t+,bRegex:null!n&&n,bSmart:nullr||r,bCaseInsensitive:nullo||o}),1)}))})),s(columns().search(),column().search(),(function(t,n,r,o){return this.iterator(column,(function(i,s){var li.aoPreSearchCols;if(ta)return ls.sSearch;i.oFeatures.bFilter&&(e.extend(ls,{sSearch:t+,bRegex:null!n&&n,bSmart:nullr||r,bCaseInsensitive:nullo||o}),me(i,i.oPreviousSearch,1))}))})),i(state(),(function(){return this.context.length?this.context0.oSavedState:null})),i(state.clear(),(function(){return this.iterator(table,(function(e){e.fnStateSaveCallback.call(e.oInstance,e,{})}))})),i(state.loaded(),(function(){return this.context.length?this.context0.oLoadedState:null})),i(state.save(),(function(){return this.iterator(table,(function(e){at(e)}))})),l.versionCheckl.fnVersionCheckfunction(e){for(var t,n,al.version.split(.),re.split(.),o0,ir.length;oi;o++)if((tparseInt(ao,10)||0)!(nparseInt(ro,10)||0))return t>n;return!0},l.isDataTablel.fnIsDataTablefunction(t){var ne(t).get(0),a!1;return t instanceof l.Api||(e.each(l.settings,(function(t,r){var or.nScrollHead?e(table,r.nScrollHead)0:null,ir.nScrollFoot?e(table,r.nScrollFoot)0:null;r.nTable!n&&o!n&&i!n||(a!0)})),a)},l.tablesl.fnTablesfunction(t){var n!1;e.isPlainObject(t)&&(nt.api,tt.visible);var ae.map(l.settings,(function(n){if(!t||t&&e(n.nTable).is(:visible))return n.nTable}));return n?new o(a):a},l.camelToHungarianI,i($(),(function(t,n){var athis.rows(n).nodes(),re(a);return e(.concat(r.filter(t).toArray(),r.find(t).toArray()))})),e.each(on,one,off,(function(t,n){i(n+(),(function(){var tArray.prototype.slice.call(arguments);t0e.map(t0.split(/\s/),(function(e){return e.match(/\.dt\b/)?e:e+.dt})).join( );var ae(this.tables().nodes());return an.apply(a,t),this}))})),i(clear(),(function(){return this.iterator(table,(function(e){K(e)}))})),i(settings(),(function(){return new o(this.context,this.context)})),i(init(),(function(){var ethis.context;return e.length?e0.oInit:null})),i(data(),(function(){return this.iterator(table,(function(e){return S(e.aoData,_aData)})).flatten()})),i(destroy(),(function(n){return nn||!1,this.iterator(table,(function(a){var r,ia.nTableWrapper.parentNode,sa.oClasses,ua.nTable,ca.nTBody,da.nTHead,fa.nTFoot,he(u),pe(c),ge(a.nTableWrapper),be.map(a.aoData,(function(e){return e.nTr}));a.bDestroying!0,dt(a,aoDestroyCallback,destroy,a),n||new o(a).columns().visible(!0),g.off(.DT).find(:not(tbody *)).off(.DT),e(t).off(.DT-+a.sInstance),u!d.parentNode&&(h.children(thead).detach(),h.append(d)),f&&u!f.parentNode&&(h.children(tfoot).detach(),h.append(f)),a.aaSorting,a.aaSortingFixed,tt(a),e(b).removeClass(a.asStripeClasses.join( )),e(th, td,d).removeClass(s.sSortable+ +s.sSortableAsc+ +s.sSortableDesc+ +s.sSortableNone),p.children().detach(),p.append(b);var vn?remove:detach;hv(),gv(),!n&&i&&(i.insertBefore(u,a.nTableReinsertBefore),h.css(width,a.sDestroyWidth).removeClass(s.sTable),(ra.asDestroyStripes.length)&&p.children().each((function(t){e(this).addClass(a.asDestroyStripest%r)})));var me.inArray(a,l.settings);-1!m&&l.settings.splice(m,1)}))})),e.each(column,row,cell,(function(e,t){i(t+s().every(),(function(e){var nthis.selector.opts,rthis;return this.iterator(t,(function(o,i,s,l,u){e.call(rt(i,cellt?s:n,cellt?n:a),i,s,l,u)}))}))})),i(i18n(),(function(t,n,r){var othis.context0,iY(t)(o.oLanguage);return ia&&(in),r!a&&e.isPlainObject(i)&&(iir!a?ir:i._),i.replace(%d,r)})),l.version1.10.21,l.settings,l.models{},l.models.oSearch{bCaseInsensitive:!0,sSearch:,bRegex:!1,bSmart:!0},l.models.oRow{nTr:null,anCells:null,_aData:,_aSortData:null,_aFilterData:null,_sFilterRow:null,_sRowStripe:,src:null,idx:-1},l.models.oColumn{idx:null,aDataSort:null,asSorting:null,bSearchable:null,bSortable:null,bVisible:null,_sManualType:null,_bAttrSrc:!1,fnCreatedCell:null,fnGetData:null,fnSetData:null,mData:null,mRender:null,nTh:null,nTf:null,sClass:null,sContentPadding:null,sDefaultContent:null,sName:null,sSortDataType:std,sSortingClass:null,sSortingClassJUI:null,sTitle:null,sType:null,sWidth:null,sWidthOrig:null},l.defaults{aaData:null,aaSorting:0,asc,aaSortingFixed:,ajax:null,aLengthMenu:10,25,50,100,aoColumns:null,aoColumnDefs:null,aoSearchCols:,asStripeClasses:null,bAutoWidth:!0,bDeferRender:!1,bDestroy:!1,bFilter:!0,bInfo:!0,bLengthChange:!0,bPaginate:!0,bProcessing:!1,bRetrieve:!1,bScrollCollapse:!1,bServerSide:!1,bSort:!0,bSortMulti:!0,bSortCellsTop:!1,bSortClasses:!0,bStateSave:!1,fnCreatedRow:null,fnDrawCallback:null,fnFooterCallback:null,fnFormatNumber:function(e){return e.toString().replace(/\B(?(\d{3})+(?!\d))/g,this.oLanguage.sThousands)},fnHeaderCallback:null,fnInfoCallback:null,fnInitComplete:null,fnPreDrawCallback:null,fnRowCallback:null,fnServerData:null,fnServerParams:null,fnStateLoadCallback:function(e){try{return JSON.parse((-1e.iStateDuration?sessionStorage:localStorage).getItem(DataTables_+e.sInstance+_+location.pathname))}catch(e){return{}}},fnStateLoadParams:null,fnStateLoaded:null,fnStateSaveCallback:function(e,t){try{(-1e.iStateDuration?sessionStorage:localStorage).setItem(DataTables_+e.sInstance+_+location.pathname,JSON.stringify(t))}catch(e){}},fnStateSaveParams:null,iStateDuration:7200,iDeferLoading:null,iDisplayLength:10,iDisplayStart:0,iTabIndex:0,oClasses:{},oLanguage:{oAria:{sSortAscending:: activate to sort column ascending,sSortDescending:: activate to sort column descending},oPaginate:{sFirst:First,sLast:Last,sNext:Next,sPrevious:Previous},sEmptyTable:No data available in table,sInfo:Showing _START_ to _END_ of _TOTAL_ entries,sInfoEmpty:Showing 0 to 0 of 0 entries,sInfoFiltered:(filtered from _MAX_ total entries),sInfoPostFix:,sDecimal:,sThousands:,,sLengthMenu:Show _MENU_ entries,sLoadingRecords:Loading...,sProcessing:Processing...,sSearch:Search:,sSearchPlaceholder:,sUrl:,sZeroRecords:No matching records found},oSearch:e.extend({},l.models.oSearch),sAjaxDataProp:data,sAjaxSource:null,sDom:lfrtip,searchDelay:null,sPaginationType:simple_numbers,sScrollX:,sScrollXInner:,sScrollY:,sServerMethod:GET,renderer:null,rowId:DT_RowId},T(l.defaults),l.defaults.column{aDataSort:null,iDataSort:-1,asSorting:asc,desc,bSearchable:!0,bSortable:!0,bVisible:!0,fnCreatedCell:null,mData:null,mRender:null,sCellType:td,sClass:,sContentPadding:,sDefaultContent:null,sName:,sSortDataType:std,sTitle:null,sType:null,sWidth:null},T(l.defaults.column),l.models.oSettings{oFeatures:{bAutoWidth:null,bDeferRender:null,bFilter:null,bInfo:null,bLengthChange:null,bPaginate:null,bProcessing:null,bServerSide:null,bSort:null,bSortMulti:null,bSortClasses:null,bStateSave:null},oScroll:{bCollapse:null,iBarWidth:0,sX:null,sXInner:null,sY:null},oLanguage:{fnInfoCallback:null},oBrowser:{bScrollOversize:!1,bScrollbarLeft:!1,bBounding:!1,barWidth:0},ajax:null,aanFeatures:,aoData:,aiDisplay:,aiDisplayMaster:,aIds:{},aoColumns:,aoHeader:,aoFooter:,oPreviousSearch:{},aoPreSearchCols:,aaSorting:null,aaSortingFixed:,asStripeClasses:null,asDestroyStripes:,sDestroyWidth:0,aoRowCallback:,aoHeaderCallback:,aoFooterCallback:,aoDrawCallback:,aoRowCreatedCallback:,aoPreDrawCallback:,aoInitComplete:,aoStateSaveParams:,aoStateLoadParams:,aoStateLoaded:,sTableId:,nTable:null,nTHead:null,nTFoot:null,nTBody:null,nTableWrapper:null,bDeferLoading:!1,bInitialised:!1,aoOpenRows:,sDom:null,searchDelay:null,sPaginationType:two_button,iStateDuration:0,aoStateSave:,aoStateLoad:,oSavedState:null,oLoadedState:null,sAjaxSource:null,sAjaxDataProp:null,bAjaxDataGet:!0,jqXHR:null,json:a,oAjaxData:a,fnServerData:null,aoServerParams:,sServerMethod:null,fnFormatNumber:null,aLengthMenu:null,iDraw:0,bDrawing:!1,iDrawError:-1,_iDisplayLength:10,_iDisplayStart:0,_iRecordsTotal:0,_iRecordsDisplay:0,oClasses:{},bFiltered:!1,bSorted:!1,bSortCellsTop:null,oInit:null,aoDestroyCallback:,fnRecordsTotal:function(){returnssppt(this)?1*this._iRecordsTotal:this.aiDisplayMaster.length},fnRecordsDisplay:function(){returnssppt(this)?1*this._iRecordsDisplay:this.aiDisplay.length},fnDisplayEnd:function(){var ethis._iDisplayLength,tthis._iDisplayStart,nt+e,athis.aiDisplay.length,rthis.oFeatures,or.bPaginate;return r.bServerSide?!1o||-1e?t+a:Math.min(t+e,this._iRecordsDisplay):!o||n>a||-1e?a:n},oInstance:null,sInstance:null,iTabIndex:0,nScrollHead:null,nScrollFoot:null,aLastSort:,oPlugins:{},rowIdFn:null,rowId:null},l.extr{buttons:{},classes:{},builder:-source-,errMode:alert,feature:,search:,selector:{cell:,column:,row:},internal:{},legacy:{ajax:null},pager:{},renderer:{pageButton:{},header:{}},order:{},type:{detect:,search:{},order:{}},_unique:0,fnVersionCheck:l.fnVersionCheck,iApiIndex:0,oJUIClasses:{},sVersion:l.version},e.extend(r,{afnFiltering:r.search,aTypes:r.type.detect,ofnSearch:r.type.search,oSort:r.type.order,afnSortData:r.order,aoFeatures:r.feature,oApi:r.internal,oStdClasses:r.classes,oPagination:r.pager}),e.extend(l.ext.classes,{sTable:dataTable,sNoFooter:no-footer,sPageButton:paginate_button,sPageButtonActive:current,sPageButtonDisabled:disabled,sStripeOdd:odd,sStripeEven:even,sRowEmpty:dataTables_empty,sWrapper:dataTables_wrapper,sFilter:dataTables_filter,sInfo:dataTables_info,sPaging:dataTables_paginate paging_,sLength:dataTables_length,sProcessing:dataTables_processing,sSortAsc:sorting_asc,sSortDesc:sorting_desc,sSortable:sorting,sSortableAsc:sorting_asc_disabled,sSortableDesc:sorting_desc_disabled,sSortableNone:sorting_disabled,sSortColumn:sorting_,sFilterInput:,sLengthSelect:,sScrollWrapper:dataTables_scroll,sScrollHead:dataTables_scrollHead,sScrollHeadInner:dataTables_scrollHeadInner,sScrollBody:dataTables_scrollBody,sScrollFoot:dataTables_scrollFoot,sScrollFootInner:dataTables_scrollFootInner,sHeaderTH:,sFooterTH:,sSortJUIAsc:,sSortJUIDesc:,sSortJUI:,sSortJUIAscAllowed:,sSortJUIDescAllowed:,sSortJUIWrapper:,sSortIcon:,sJUIHeader:,sJUIFooter:});var Ftl.ext.pager;function Lt(e,t){var n,aFt.numbers_length,rMath.floor(a/2);return ta?n_(0,t):er?((n_(0,a-2)).push(ellipsis),n.push(t-1)):e>t-1-r?((n_(t-(a-2),t)).splice(0,0,ellipsis),n.splice(0,0,0)):((n_(e-r+2,e+r-1)).push(ellipsis),n.push(t-1),n.splice(0,0,ellipsis),n.splice(0,0,0)),n.DT_elspan,n}e.extend(Ft,{simple:function(e,t){returnprevious,next},full:function(e,t){returnfirst,previous,next,last},numbers:function(e,t){returnLt(e,t)},simple_numbers:function(e,t){returnprevious,Lt(e,t),next},full_numbers:function(e,t){returnfirst,previous,Lt(e,t),next,last},first_last_numbers:function(e,t){returnfirst,Lt(e,t),last},_numbers:Lt,numbers_length:7}),e.extend(!0,l.ext.renderer,{pageButton:{_:function(t,r,o,i,s,l){var u,c,d,ft.oClasses,ht.oLanguage.oPaginate,pt.oLanguage.oAria.paginate||{},g0,bfunction(n,a){var r,i,d,v,mf.sPageButtonDisabled,yfunction(e){Oe(t,e.data.action,!0)};for(r0,ia.length;ri;r++)if(dar,e.isArray(d)){var Se(+(d.DT_el||div)+/>).appendTo(n);b(S,d)}else{switch(unull,cd,vt.iTabIndex,d){caseellipsis:n.append(span classellipsis>…/span>);break;casefirst:uh.sFirst,0s&&(v-1,c+ +m);break;caseprevious:uh.sPrevious,0s&&(v-1,c+ +m);break;casenext:uh.sNext,0!l&&s!l-1||(v-1,c+ +m);break;caselast:uh.sLast,sl-1&&(v-1,c+ +m);break;default:ud+1,csd?f.sPageButtonActive:}null!u&&(ut(e(a>,{class:f.sPageButton+ +c,aria-controls:t.sTableId,aria-label:pd,data-dt-idx:g,tabindex:v,id:0o&&stringtypeof d?t.sTableId+_+d:null}).html(u).appendTo(n),{action:d},y),g++)}};try{de(r).find(n.activeElement).data(dt-idx)}catch(e){}b(e(r).empty(),i),d!a&&e(r).find(data-dt-idx+d+).trigger(focus)}}}),e.extend(l.ext.type.detect,function(e,t){var nt.oLanguage.sDecimal;return m(e,n)?num+n:null},function(e,t){if(e&&!(e instanceof Date)&&!f.test(e))return null;var nDate.parse(e);return null!n&&!isNaN(n)||g(e)?date:null},function(e,t){var nt.oLanguage.sDecimal;return m(e,n,!0)?num-fmt+n:null},function(e,t){var nt.oLanguage.sDecimal;return y(e,n)?html-num+n:null},function(e,t){var nt.oLanguage.sDecimal;return y(e,n,!0)?html-num-fmt+n:null},function(e,t){return g(e)||stringtypeof e&&-1!e.indexOf()?html:null}),e.extend(l.ext.type.search,{html:function(e){return g(e)?e:stringtypeof e?e.replace(c, ).replace(d,):},string:function(e){return g(e)?e:stringtypeof e?e.replace(c, ):e}});var Rtfunction(e,t,n,a){return 0e||e&&-!e?(t&&(ev(e,t)),e.replace&&(n&&(ee.replace(n,)),a&&(ee.replace(a,))),1*e):-1/0};function Pt(t){e.each({num:function(e){return Rt(e,t)},num-fmt:function(e){return Rt(e,t,p)},html-num:function(e){return Rt(e,t,d)},html-num-fmt:function(e){return Rt(e,t,d,p)}},(function(e,n){r.type.ordere+t+-pren,e.match(/^html\-/)&&(r.type.searche+tr.type.search.html)}))}e.extend(r.type.order,{date-pre:function(e){var tDate.parse(e);return isNaN(t)?-1/0:t},html-pre:function(e){return g(e)?:e.replace?e.replace(/.*?>/g,).toLowerCase():e+},string-pre:function(e){return g(e)?:stringtypeof e?e.toLowerCase():e.toString?e.toString():},string-asc:function(e,t){return et?-1:e>t?1:0},string-desc:function(e,t){return et?1:e>t?-1:0}}),Pt(),e.extend(!0,l.ext.renderer,{header:{_:function(t,n,a,r){e(t.nTable).on(order.dt.DT,(function(e,o,i,s){if(to){var la.idx;n.removeClass(a.sSortingClass+ +r.sSortAsc+ +r.sSortDesc).addClass(ascsl?r.sSortAsc:descsl?r.sSortDesc:a.sSortingClass)}}))},jqueryui:function(t,n,a,r){e(div/>).addClass(r.sSortJUIWrapper).append(n.contents()).append(e(span/>).addClass(r.sSortIcon+ +a.sSortingClassJUI)).appendTo(n),e(t.nTable).on(order.dt.DT,(function(e,o,i,s){if(to){var la.idx;n.removeClass(r.sSortAsc+ +r.sSortDesc).addClass(ascsl?r.sSortAsc:descsl?r.sSortDesc:a.sSortingClass),n.find(span.+r.sSortIcon).removeClass(r.sSortJUIAsc+ +r.sSortJUIDesc+ +r.sSortJUI+ +r.sSortJUIAscAllowed+ +r.sSortJUIDescAllowed).addClass(ascsl?r.sSortJUIAsc:descsl?r.sSortJUIDesc:a.sSortingClassJUI)}}))}}});var jtfunction(e){returnstringtypeof e?e.replace(/&/g,&).replace(//g,<).replace(/>/g,>).replace(//g,"):e};function kt(e){return function(){var tot(thisl.ext.iApiIndex).concat(Array.prototype.slice.call(arguments));return l.ext.internale.apply(this,t)}}return l.render{number:function(e,t,n,a,r){return{display:function(o){if(number!typeof o&&string!typeof o)return o;var io0?-:,sparseFloat(o);if(isNaN(s))return jt(o);ss.toFixed(n),oMath.abs(s);var lparseInt(o,10),un?t+(o-l).toFixed(n).substring(2):;return i+(a||)+l.toString().replace(/\B(?(\d{3})+(?!\d))/g,e)+u+(r||)}}},text:function(){return{display:jt,filter:jt}}},e.extend(l.ext.internal,{_fnExternApiFunc:kt,_fnBuildAjax:fe,_fnAjaxUpdate:he,_fnAjaxParameters:pe,_fnAjaxUpdateDraw:ge,_fnAjaxDataSrc:be,_fnAddColumn:k,_fnColumnOptions:N,_fnAdjustColumnSizing:H,_fnVisibleToColumnIndex:O,_fnColumnIndexToVisible:W,_fnVisbleColumns:M,_fnGetColumns:E,_fnColumnTypes:B,_fnApplyColumnDefs:U,_fnHungarianMap:T,_fnCamelToHungarian:I,_fnLanguageCompat:A,_fnBrowserDetect:P,_fnAddData:V,_fnAddTr:q,_fnNodeToDataIndex:function(e,t){return t._DT_RowIndex!a?t._DT_RowIndex:null},_fnNodeToColumnIndex:function(t,n,a){return e.inArray(a,t.aoDatan.anCells)},_fnGetCellData:X,_fnSetCellData:z,_fnSplitObjNotation:G,_fnGetObjectDataFn:Y,_fnSetObjectDataFn:Z,_fnGetDataMaster:Q,_fnClearTable:K,_fnDeleteIndex:ee,_fnInvalidate:te,_fnGetRowElements:ne,_fnCreateTr:ae,_fnBuildHead:oe,_fnDrawHead:ie,_fnDraw:se,_fnReDraw:le,_fnAddOptionsHtml:ue,_fnDetectHeader:ce,_fnGetUniqueThs:de,_fnFeatureHtmlFilter:ve,_fnFilterComplete:me,_fnFilterCustom:ye,_fnFilterColumn:Se,_fnFilter:De,_fnFilterCreateSearch:_e,_fnEscapeRegex:we,_fnFilterData:Te,_fnFeatureHtmlInfo:Fe,_fnUpdateInfo:Le,_fnInfoMacros:Re,_fnInitialise:Pe,_fnInitComplete:je,_fnLengthChange:ke,_fnFeatureHtmlLength:Ne,_fnFeatureHtmlPaginate:He,_fnPageChange:Oe,_fnFeatureHtmlProcessing:We,_fnProcessingDisplay:Me,_fnFeatureHtmlTable:Ee,_fnScrollDraw:Be,_fnApplyToChildren:Ue,_fnCalculateColumnWidths:qe,_fnThrottle:Xe,_fnConvertToWidth:ze,_fnGetWidestNode:Je,_fnGetMaxLenString:$e,_fnStringToCss:Ge,_fnSortFlatten:Ye,_fnSort:Ze,_fnSortAria:Qe,_fnSortListener:Ke,_fnSortAttachListener:et,_fnSortingClasses:tt,_fnSortData:nt,_fnSaveState:at,_fnLoadState:rt,_fnSettingsFromNode:ot,_fnLog:it,_fnMap:st,_fnBindAction:ut,_fnCallbackReg:ct,_fnCallbackFire:dt,_fnLengthOverflow:ft,_fnRenderer:ht,_fnDataSource:pt,_fnRowAttributes:re,_fnExtend:lt,_fnCalculateEnd:function(){}}),e.fn.dataTablel,l.$e,e.fn.dataTableSettingsl.settings,e.fn.dataTableExtl.ext,e.fn.DataTablefunction(t){return e(this).dataTable(t).api()},e.each(l,(function(t,n){e.fn.DataTabletn})),e.fn.dataTable})),/*! DataTables Bootstrap 4 integration * ©2011-2017 SpryMedia Ltd - datatables.net/license */function(e){functiontypeof define&&define.amd?define(jquery,datatables.net,(function(t){return e(t,window,document)})):objecttypeof exports?module.exportsfunction(t,n){return t||(twindow),n&&n.fn.dataTable||(nrequire(datatables.net)(t,n).$),e(n,t,t.document)}:e(jQuery,window,document)}((function(e,t,n,a){use strict;var re.fn.dataTable;return e.extend(!0,r.defaults,{dom:rowcol-sm-12 col-md-6l>col-sm-12 col-md-6f>>rowcol-sm-12tr>>rowcol-sm-12 col-md-5i>col-sm-12 col-md-7p>>,renderer:bootstrap}),e.extend(r.ext.classes,{sWrapper:dataTables_wrapper dt-bootstrap4,sFilterInput:form-control form-control-sm,sLengthSelect:custom-select custom-select-sm form-control form-control-sm,sProcessing:dataTables_processing card,sPageButton:paginate_button page-item}),r.ext.renderer.pageButton.bootstrapfunction(t,o,i,s,l,u){var c,d,f,hnew r.Api(t),pt.oClasses,gt.oLanguage.oPaginate,bt.oLanguage.oAria.paginate||{},v0,mfunction(n,a){var r,o,s,f,yfunction(t){t.preventDefault(),e(t.currentTarget).hasClass(disabled)||h.page()t.data.action||h.page(t.data.action).draw(page)};for(r0,oa.length;ro;r++)if(far,e.isArray(f))m(n,f);else{switch(c,d,f){caseellipsis:c…,ddisabled;break;casefirst:cg.sFirst,df+(l>0?: disabled);break;caseprevious:cg.sPrevious,df+(l>0?: disabled);break;casenext:cg.sNext,df+(lu-1?: disabled);break;caselast:cg.sLast,df+(lu-1?: disabled);break;default:cf+1,dlf?active:}c&&(se(li>,{class:p.sPageButton+ +d,id:0i&&stringtypeof f?t.sTableId+_+f:null}).append(e(a>,{href:#,aria-controls:t.sTableId,aria-label:bf,data-dt-idx:v,tabindex:t.iTabIndex,class:page-link}).html(c)).appendTo(n),t.oApi._fnBindAction(s,{action:f},y),v++)}};try{fe(o).find(n.activeElement).data(dt-idx)}catch(e){}m(e(o).empty().html(ul classpagination/>).children(ul),s),f!a&&e(o).find(data-dt-idx+f+).trigger(focus)},r})),/*! Responsive 2.2.5 * 2014-2020 SpryMedia Ltd - datatables.net/license */function(e){functiontypeof define&&define.amd?define(jquery,datatables.net,(function(t){return e(t,window,document)})):objecttypeof exports?module.exportsfunction(t,n){return t||(twindow),n&&n.fn.dataTable||(nrequire(datatables.net)(t,n).$),e(n,t,t.document)}:e(jQuery,window,document)}((function(e,t,n,a){use strict;var re.fn.dataTable,ofunction(t,n){if(!r.versionCheck||!r.versionCheck(1.10.10))throwDataTables Responsive requires DataTables 1.10.10 or newer;this.s{dt:new r.Api(t),columns:,current:},this.s.dt.settings()0.responsive||(n&&stringtypeof n.details?n.details{type:n.details}:n&&!1n.details?n.details{type:!1}:n&&!0n.details&&(n.details{type:inline}),this.ce.extend(!0,{},o.defaults,r.defaults.responsive,n),t.responsivethis,this._constructor())};e.extend(o.prototype,{_constructor:function(){var nthis,athis.s.dt,oa.settings()0,ie(t).innerWidth();a.settings()0._responsivethis,e(t).on(resize.dtr orientationchange.dtr,r.util.throttle((function(){var ae(t).innerWidth();a!i&&(n._resize(),ia)}))),o.oApi._fnCallbackReg(o,aoRowCreatedCallback,(function(t,r,o){-1!e.inArray(!1,n.s.current)&&e(>td, >th,t).each((function(t){var ra.column.index(toData,t);!1n.s.currentr&&e(this).css(display,none)}))})),a.on(destroy.dtr,(function(){a.off(.dtr),e(a.table().body()).off(.dtr),e(t).off(resize.dtr orientationchange.dtr),a.cells(.dtr-control).nodes().to$().removeClass(dtr-control),e.each(n.s.current,(function(e,t){!1t&&n._setColumnVis(e,!0)}))})),this.c.breakpoints.sort((function(e,t){return e.widtht.width?1:e.width>t.width?-1:0})),this._classLogic(),this._resizeAuto();var sthis.c.details;!1!s.type&&(n._detailsInit(),a.on(column-visibility.dtr,(function(){n._timer&&clearTimeout(n._timer),n._timersetTimeout((function(){n._timernull,n._classLogic(),n._resizeAuto(),n._resize(),n._redrawChildren()}),100)})),a.on(draw.dtr,(function(){n._redrawChildren()})),e(a.table().node()).addClass(dtr-+s.type)),a.on(column-reorder.dtr,(function(e,t,a){n._classLogic(),n._resizeAuto(),n._resize(!0)})),a.on(column-sizing.dtr,(function(){n._resizeAuto(),n._resize()})),a.on(preXhr.dtr,(function(){var e;a.rows().every((function(){this.child.isShown()&&e.push(this.id(!0))})),a.one(draw.dtr,(function(){n._resizeAuto(),n._resize(),a.rows(e).every((function(){n._detailsDisplay(this,!1)}))}))})),a.on(draw.dtr,(function(){n._controlClass()})).on(init.dtr,(function(t,r,o){dtt.namespace&&(n._resizeAuto(),n._resize(),e.inArray(!1,n.s.current)&&a.columns.adjust())})),this._resize()},_columnsVisiblity:function(t){var n,a,rthis.s.dt,othis.s.columns,io.map((function(e,t){return{columnIdx:t,priority:e.priority}})).sort((function(e,t){return e.priority!t.priority?e.priority-t.priority:e.columnIdx-t.columnIdx})),se.map(o,(function(n,a){return!1r.column(a).visible()?not-visible:(!n.auto||null!n.minWidth)&&(!0n.auto?-:-1!e.inArray(t,n.includeIn))})),l0;for(n0,as.length;na;n++)!0sn&&(l+on.minWidth);var ur.settings()0.oScroll,cu.sY||u.sX?u.iBarWidth:0,dr.table().container().offsetWidth-c-l;for(n0,as.length;na;n++)on.control&&(d-on.minWidth);var f!1;for(n0,ai.length;na;n++){var hin.columnIdx;-sh&&!oh.control&&oh.minWidth&&(f||d-oh.minWidth0?(f!0,sh!1):sh!0,d-oh.minWidth)}var p!1;for(n0,ao.length;na;n++)if(!on.control&&!on.never&&!1sn){p!0;break}for(n0,ao.length;na;n++)on.control&&(snp),not-visiblesn&&(sn!1);return-1e.inArray(!0,s)&&(s0!0),s},_classLogic:function(){var tthis,nthis.c.breakpoints,rthis.s.dt,or.columns().eq(0).map((function(e){var tthis.column(e),nt.header().className,or.settings()0.aoColumnse.responsivePriority,it.header().getAttribute(data-priority);return oa&&(oia||nulli?1e4:1*i),{className:n,includeIn:,auto:!1,control:!1,never:!!n.match(/\bnever\b/),priority:o}})),ifunction(t,n){var aot.includeIn;-1e.inArray(n,a)&&a.push(n)},sfunction(e,a,r,s){var l,u,c;if(r){if(max-r)for(lt._find(a).width,u0,cn.length;uc;u++)nu.widthl&&i(e,nu.name);else if(min-r)for(lt._find(a).width,u0,cn.length;uc;u++)nu.width>l&&i(e,nu.name);else if(not-r)for(u0,cn.length;uc;u++)-1nu.name.indexOf(s)&&i(e,nu.name)}else oe.includeIn.push(a)};o.each((function(t,a){for(var rt.className.split( ),o!1,i0,lr.length;il;i++){var ue.trim(ri);if(allu)return o!0,void(t.includeIne.map(n,(function(e){return e.name})));if(noneu||t.never)return void(o!0);if(controlu)return o!0,void(t.control!0);e.each(n,(function(e,t){var nt.name.split(-),rnew RegExp((min\\-|max\\-|not\\-)?(+n0+)(\\-_a-zA-Z0-9)?),iu.match(r);i&&(o!0,i2n0&&i3-+n1?s(a,t.name,i1,i2+i3):i2!n0||i3||s(a,t.name,i1,i2))}))}o||(t.auto!0)})),this.s.columnso},_controlClass:function(){if(inlinethis.c.details.type){var tthis.s.dt,nthis.s.current,ae.inArray(!0,n);t.cells(null,(function(e){return e!a}),{page:current}).nodes().to$().filter(.dtr-control).removeClass(dtr-control),t.cells(null,a,{page:current}).nodes().to$().addClass(dtr-control)}},_detailsDisplay:function(t,n){var athis,rthis.s.dt,othis.c.details;if(o&&!1!o.type){var io.display(t,n,(function(){return o.renderer(r,t0,a._detailsObj(t0))}));!0!i&&!1!i||e(r.table().node()).triggerHandler(responsive-display.dt,r,t,i,n)}},_detailsInit:function(){var tthis,nthis.s.dt,rthis.c.details;inliner.type&&(r.targettd.dtr-control, th.dtr-control),n.on(draw.dtr,(function(){t._tabIndexes()})),t._tabIndexes(),e(n.table().body()).on(keyup.dtr,td, th,(function(t){13t.keyCode&&e(this).data(dtr-keyboard)&&e(this).click()}));var or.target,istringtypeof o?o:td, th;oa&&nullo||e(n.table().body()).on(click.dtr mousedown.dtr mouseup.dtr,i,(function(a){if(e(n.table().node()).hasClass(collapsed)&&-1!e.inArray(e(this).closest(tr).get(0),n.rows().nodes().toArray())){if(numbertypeof o){var ro0?n.columns().eq(0).length+o:o;if(n.cell(this).index().column!r)return}var in.row(e(this).closest(tr));clicka.type?t._detailsDisplay(i,!1):mousedowna.type?e(this).css(outline,none):mouseupa.type&&e(this).trigger(blur).css(outline,)}}))},_detailsObj:function(t){var nthis,athis.s.dt;return e.map(this.s.columns,(function(r,o){if(!r.never&&!r.control){var ia.settings()0.aoColumnso;return{className:i.sClass,columnIndex:o,data:a.cell(t,o).render(n.c.orthogonal),hidden:a.column(o).visible()&&!n.s.currento,rowIndex:t,title:null!i.sTitle?i.sTitle:e(a.column(o).header()).text()}}}))},_find:function(e){for(var tthis.c.breakpoints,n0,at.length;na;n++)if(tn.namee)return tn},_redrawChildren:function(){var ethis,tthis.s.dt;t.rows({page:current}).iterator(row,(function(n,a){t.row(a);e._detailsDisplay(t.row(a),!0)}))},_resize:function(n){var a,r,othis,ithis.s.dt,se(t).innerWidth(),lthis.c.breakpoints,ul0.name,cthis.s.columns,dthis.s.current.slice();for(al.length-1;a>0;a--)if(sla.width){ula.name;break}var fthis._columnsVisiblity(u);this.s.currentf;var h!1;for(a0,rc.length;ar;a++)if(!1fa&&!ca.never&&!ca.control&&!1!i.column(a).visible()){h!0;break}e(i.table().node()).toggleClass(collapsed,h);var p!1,g0;i.columns().eq(0).each((function(e,t){!0ft&&g++,(n||ft!dt)&&(p!0,o._setColumnVis(e,ft))})),p&&(this._redrawChildren(),e(i.table().node()).trigger(responsive-resize.dt,i,this.s.current),0i.page.info().recordsDisplay&&e(td,i.table().body()).eq(0).attr(colspan,g))},_resizeAuto:function(){var tthis.s.dt,nthis.s.columns;if(this.c.auto&&-1!e.inArray(!0,e.map(n,(function(e){return e.auto})))){e.isEmptyObject(i)||e.each(i,(function(e){var ne.split(-);s(t,1*n0,1*n1)}));t.table().node().offsetWidth,t.columns;var at.table().node().cloneNode(!1),re(t.table().header().cloneNode(!1)).appendTo(a),oe(t.table().body()).clone(!1,!1).empty().appendTo(a);a.style.widthauto;var lt.columns().header().filter((function(e){return t.column(e).visible()})).to$().clone(!1).css(display,table-cell).css(width,auto).css(min-width,0);e(o).append(e(t.rows({page:current}).nodes()).clone(!1)).find(th, td).css(display,);var ut.table().footer();if(u){var ce(u.cloneNode(!1)).appendTo(a),dt.columns().footer().filter((function(e){return t.column(e).visible()})).to$().clone(!1).css(display,table-cell);e(tr/>).append(d).appendTo(c)}e(tr/>).append(l).appendTo(r),inlinethis.c.details.type&&e(a).addClass(dtr-inline collapsed),e(a).find(name).removeAttr(name),e(a).css(position,relative);var fe(div/>).css({width:1,height:1,overflow:hidden,clear:both}).append(a);f.insertBefore(t.table().node()),l.each((function(e){var at.column.index(fromVisible,e);na.minWidththis.offsetWidth||0})),f.remove()}},_responsiveOnlyHidden:function(){var tthis.s.dt;return e.map(this.s.current,(function(e,n){return!1t.column(n).visible()||e}))},_setColumnVis:function(t,n){var athis.s.dt,rn?:none;e(a.column(t).header()).css(display,r),e(a.column(t).footer()).css(display,r),a.column(t).nodes().to$().css(display,r),e.isEmptyObject(i)||a.cells(null,t).indexes().each((function(e){s(a,e.row,e.column)}))},_tabIndexes:function(){var tthis.s.dt,nt.cells({page:current}).nodes().to$(),at.settings()0,rthis.c.details.target;n.filter(data-dtr-keyboard).removeData(data-dtr-keyboard),numbertypeof r?t.cells(null,r,{page:current}).nodes().to$().attr(tabIndex,a.iTabIndex).data(dtr-keyboard,1):(td:first-child, th:first-childr&&(r>td:first-child, >th:first-child),e(r,t.rows({page:current}).nodes()).attr(tabIndex,a.iTabIndex).data(dtr-keyboard,1))}}),o.breakpoints{name:desktop,width:1/0},{name:tablet-l,width:1024},{name:tablet-p,width:768},{name:mobile-l,width:480},{name:mobile-p,width:320},o.display{childRow:function(t,n,a){return n?e(t.node()).hasClass(parent)?(t.child(a(),child).show(),!0):void 0:t.child.isShown()?(t.child(!1),e(t.node()).removeClass(parent),!1):(t.child(a(),child).show(),e(t.node()).addClass(parent),!0)},childRowImmediate:function(t,n,a){return!n&&t.child.isShown()||!t.responsive.hasHidden()?(t.child(!1),e(t.node()).removeClass(parent),!1):(t.child(a(),child).show(),e(t.node()).addClass(parent),!0)},modal:function(t){return function(a,r,o){if(r)e(div.dtr-modal-content).empty().append(o());else{var ifunction(){s.remove(),e(n).off(keypress.dtr)},se(div classdtr-modal/>).append(e(div classdtr-modal-display/>).append(e(div classdtr-modal-content/>).append(o())).append(e(div classdtr-modal-close>×/div>).click((function(){i()})))).append(e(div classdtr-modal-background/>).click((function(){i()}))).appendTo(body);e(n).on(keyup.dtr,(function(e){27e.keyCode&&(e.stopPropagation(),i())}))}t&&t.header&&e(div.dtr-modal-content).prepend(h2>+t.header(a)+/h2>)}}};var i{};function s(e,t,n){var rt+-+n;if(ir){for(var oe.cell(t,n).node(),sir0.parentNode.childNodes,l,u0,cs.length;uc;u++)l.push(su);for(var d0,fl.length;df;d++)o.appendChild(ld);ira}}o.renderer{listHiddenNodes:function(){return function(t,n,a){var re(ul data-dtr-index+n+ classdtr-details/>),o!1;e.each(a,(function(n,a){if(a.hidden){var sa.className?class+a.className+:;e(li +s+ data-dtr-index+a.columnIndex+ data-dt-row+a.rowIndex+ data-dt-column+a.columnIndex+>span classdtr-title>+a.title+/span> /li>).append(e(span classdtr-data/>).append(function(e,t,n){var at+-+n;if(ia)return ia;for(var r,oe.cell(t,n).node().childNodes,s0,lo.length;sl;s++)r.push(os);return iar,r}(t,a.rowIndex,a.columnIndex))).appendTo(r),o!0}}));return!!o&&r}},listHidden:function(){return function(t,n,a){var re.map(a,(function(e){var te.className?class+e.className+:;return e.hidden?li +t+ data-dtr-index+e.columnIndex+ data-dt-row+e.rowIndex+ data-dt-column+e.columnIndex+>span classdtr-title>+e.title+/span> span classdtr-data>+e.data+/span>/li>:})).join();return!!r&&e(ul data-dtr-index+n+ classdtr-details/>).append(r)}},tableAll:function(t){return te.extend({tableClass:},t),function(n,a,r){var oe.map(r,(function(e){returntr +(e.className?class+e.className+:)+ data-dt-row+e.rowIndex+ data-dt-column+e.columnIndex+>td>+e.title+:/td> td>+e.data+/td>/tr>})).join();return e(table class+t.tableClass+ dtr-details width100%/>).append(o)}}},o.defaults{breakpoints:o.breakpoints,auto:!0,details:{display:o.display.childRow,renderer:o.renderer.listHidden(),target:0,type:inline},orthogonal:display};var le.fn.dataTable.Api;return l.register(responsive(),(function(){return this})),l.register(responsive.index(),(function(t){return{column:(te(t)).data(dtr-index),row:t.parent().data(dtr-index)}})),l.register(responsive.rebuild(),(function(){return this.iterator(table,(function(e){e._responsive&&e._responsive._classLogic()}))})),l.register(responsive.recalc(),(function(){return this.iterator(table,(function(e){e._responsive&&(e._responsive._resizeAuto(),e._responsive._resize())}))})),l.register(responsive.hasHidden(),(function(){var tthis.context0;return!!t._responsive&&-1!e.inArray(!1,t._responsive._responsiveOnlyHidden())})),l.registerPlural(columns().responsiveHidden(),column().responsiveHidden(),(function(){return this.iterator(column,(function(e,t){return!!e._responsive&&e._responsive._responsiveOnlyHidden()t}),1)})),o.version2.2.5,e.fn.dataTable.Responsiveo,e.fn.DataTable.Responsiveo,e(n).on(preInit.dt.dtr,(function(t,n,a){if(dtt.namespace&&(e(n.nTable).hasClass(responsive)||e(n.nTable).hasClass(dt-responsive)||n.oInit.responsive||r.defaults.responsive)){var in.oInit.responsive;!1!i&&new o(n,e.isPlainObject(i)?i:{})}})),o})),/*! Bootstrap 4 integration for DataTables Responsive * ©2016 SpryMedia Ltd - datatables.net/license */function(e){functiontypeof define&&define.amd?define(jquery,datatables.net-bs4,datatables.net-responsive,(function(t){return e(t,window,document)})):objecttypeof exports?module.exportsfunction(t,n){return t||(twindow),n&&n.fn.dataTable||(nrequire(datatables.net-bs4)(t,n).$),n.fn.dataTable.Responsive||require(datatables.net-responsive)(t,n),e(n,t,t.document)}:e(jQuery,window,document)}((function(e,t,n,a){use strict;var re.fn.dataTable,or.Responsive.display,io.modal,se(div classmodal fade dtr-bs-modal roledialog>div classmodal-dialog roledocument>div classmodal-content>div classmodal-header>button typebutton classclose data-dismissmodal aria-labelClose>span aria-hiddentrue>×/span>/button>/div>div classmodal-body/>/div>/div>/div>);return o.modalfunction(t){return function(n,a,r){if(e.fn.modal){if(!a){if(t&&t.header){var os.find(div.modal-header),lo.find(button).detach();o.empty().append(h4 classmodal-title>+t.header(n)+/h4>).append(l)}s.find(div.modal-body).empty().append(r()),s.appendTo(body).modal()}}else i(n,a,r)}},r.Responsive}));/script>!--script srcplugins/chart.js/Chart.min.js>/script>-->link hrefnode_modules/cropperjs/dist/cropper.css relstylesheet> style typetext/css>:root topadblock, :root scriptsrc^http://free-shoutbox.net/app/webroot/shoutbox/sb.php?shoutbox + #freeshoutbox_content, :root inputonclick^window.open(http://www.FriendlyDuck.com/, :root imgalt^Fuckbook, :root iframesrc^http://static.mozo.com.au/strips/, :root iframeid^google_ads_iframe, :root divjscontrollerU835zd + c-wizjsrendererYnuqN, :root divid^zergnet-widget, :root divid^traffective-ad-, :root divid^sticky_ad_, :root divid^q1-adset-, :root divid^proadszone-, :root divid^lazyad-, :root divid^gtm-ad-, :root divid^google_ads_iframe_, :root divid^ezoic-pub-ad, :root divid^dmRosAdWrapper, :root divid^div-gpt-ad, :root divid^div-adtech-ad-, :root divid^dfp-slot-, :root divid^dfp-ad-, :root divid^block-views-topheader-ad-block-, :root divid^advt-, :root divid^advads_, :root divid^ads300_600-widget, :root inputonclick^window.open(http://www.friendlyduck.com/, :root divid^ads300_250-widget, :root divid^ads300_100-widget, :root divid^ads250_250-widget, :root divid^ads120_600-widget, :root divid^adrotate_widgets-, :root divid^adfox_, :root divid^ad_script_, :root divid^ad_rect_, :root divid^ad_position_, :root divid^ad-server-, :root divid^ad-cid-, :root divid^acm-ad-tag-, :root divid^YFBMSN, :root divid^ADV-SLOT-, :root divdata-spotim-slot, :root divdata-rolesidebarAd, :root divdata-native_ad, :root divdata-mediatypeadvertising, :root divdata-id-advertdfpconf, :root divdata-flt-vesponsored_search_ads, :root divdata-crltruedata-id^CarouselPLA-, :root divdata-adunit, :root divdata-adunit-path, :root divclass^proadszone-, :root divclass^pane-google-admanager-, :root divclass^lifeOnwerAd, :root iframename^google_ads_iframe, :root divclass^largeRectangleAd_, :root divclass^index_adAfterContent_, :root divclass^block-openx-, :root divclass^backfill-taboola-home-slot-, :root divclass^advertisement-desktop, :root divclass^ads-partner-, :root divclass^adbanner_, :root divclass^ad_position_, :root divclass^SponsoredAds, :root divclass^ResponsiveAd-, :root divclass^PreAd_, :root divclass^Display_displayAd, :root divclass^AdhesionAd_, :root divclass^Ad__bigBox, :root divclass^Ad__adContainer, :root divclass^ad_border_, :root divclass^AdItem-, :root divclass^AdEmbeded__AddWrapper, :root spandata-component-types-ads-metrics, :root divclass^AdBannerWrapper-, :root divclass*_browserAdOuterContainer_, :root divclass*_AdInArticle_, :root divclass*-storyBodyAd-, :root div > classonclick*.updateAnalyticsEvents, :root bottomadblock, :root ahref^http://c.actiondesk.com/, :root asideid^div-gpt-ad, :root asideid^adrotate_widgets-, :root ahref^https://ad.doubleclick.net/, :root app-advertisement, :root amp-ad-custom, :root id*MGWrap, :root ad-desktop-sidebar, :root astyledisplay:block;width:300px;min-height:250pxhref^http://li.cnet.com/click?, :root divid^div-ads-, :root ahref^http://at.atwola.com/, :root aonmousedown^this.hrefhttps://paid.outbrain.com/network/redir?target_blank + .ob_source, :root aonmousedown^this.hrefhttp://paid.outbrain.com/network/redir?target_blank + .ob_source, :root ahref^//adbit.co/?aAdvertise&, :root ahref^http://popup.taboola.com/, :root ahref^https://fast-redirecting.com/, :root aonmousedown^this.href/wp-content/embed-ad-content/, :root divrolenavigation + c-wiz > script + div > .kxhcC, :root aonclick*//m.economictimes.com/etmack/click.htm, :root ahref^https://www.share-online.biz/affiliate/, :root ahref^https://www.securegfm.com/, :root DFP-AD, :root ahref^//porngames.adult/?SID, :root ahref^https://www.oneclickroot.com/?tap_a > img, :root ahref^https://www.mypornstarcams.com/landing/click/, :root ahref^https://www.iyalc.com/, :root ahref^https://www.goldenfrog.com/vyprvpn?offer_idhref*&aff_id, :root ahref^https://www.get-express-vpn.com/offer/, :root ahref^http://webgirlz.online/landing/, :root ahref^https://www.g4mz.com/, :root ahref^https://www.clicktraceclick.com/, :root ahref^https://www.camyou.com/?camhref*&track, :root ahref^https://www.camsoda.com/enter.php?id, :root ahref^https://www.brazzersnetwork.com/landing/, :root ahref^https://www.bebi.com, :root ahref^https://www.awin1.com/cread.php?awinaffid, :root ahref^https://www.adskeeper.co.uk/, :root ahref^http://farm.plista.com/pets, :root ahref^https://windscribe.com/promo/, :root ahref^http://ad-emea.doubleclick.net/, :root ahref^https://understandsolar.com/signup/?lead_sourcehref*&tracking_code, :root divid^tms-ad-dfp-, :root ahref^https://trust.zone/go/r.php?RID, :root ahref^https://trf.bannerator.com/, :root ahref^https://bestcond1tions.com/, :root ahref^https://trappist-1d.com/, :root ahref^https://traffic.bannerator.com/, :root ahref^https://tracking.truthfinder.com/?a, :root #rhs_block .xpdopen > ._OKe > div > .mod > ._yYf, :root ahref^https://tracking.gitads.io/, :root ahref^https://track.ultravpn.com/, :root ahref^https://www.adultempire.com/href*?partner_id, :root ahref^https://track.healthtrader.com/, :root ahref^https://track.clickmoi.xyz/, :root ahref^https://control.trafficfabrik.com/, :root ahref^https://track.52zxzh.com/, :root .raalignrightwidth30%, :root ahref^https://axdsz.pro/, :root ahref^https://tour.mrskin.com/, :root ahref^https://www.what-sexdating.com/, :root ahref^https://tc.tradetracker.net/ > img, :root ahref^https://t.mobtya.com/, :root ahref^https://t.hrtyj.com/, :root ahref^https://t.hrtye.com/, :root divid^ad_head_celtra_, :root ahref^https://t.grtyi.com/, :root ahref^https://syndication.optimizesrv.com/splash.php?, :root asideid^tn_ads_widget-, :root ahref^https://syndication.exoclick.com/splash.php?, :root ahref^http://connectlinking6.com/, :root ahref^http://cdn3.adexprts.com/, :root ahref^https://spygasm.com/track?, :root divid^ad-div-, :root ahref^https://secure.eveonline.com/ft/?aid, :root ahref^https://secure.bstlnk.com/, :root ahref^https://rev.adsession.com/, :root ahref^https://redirect.ero-advertising.com/, :root divid^yandex_ad, :root ahref*.frtyl.com/, :root ahref^http://y1jxiqds7v.com/, :root ahref^https://www.hotgirls4fuck.com/, :root ahref^https://www.pornhat.com/relnofollow, :root AD-SLOT, :root ahref^https://pubads.g.doubleclick.net/, :root ahref^https://prf.hn/click/href*/adref:, :root #rhs_block .mod > .gws-local-hotels__booking-module, :root ahref^http://www.my-dirty-hobby.com/?sub, :root ahref^https://porndeals.com/?track, :root ahref^https://offerforge.net/, :root ahref^https://my-movie.club/, :root ahref^https://msecure117.com/, :root ahref^https://mk-cdn.net/, :root ahref^https://mk-ads.com/, :root ahref^https://misspkl.com/, :root ahref^https://medleyads.com/, :root ahref*.approvallamp.club/, :root ahref^https://landing1.brazzersnetwork.com, :root ahref^http://adrunnr.com/, :root ahref^https://landing.brazzersplus.com/, :root ahref^https://land.rk.com/landing/, :root .ladswidth100%stylebackground:#FFF8DD, :root ahref^https://land.brazzersnetwork.com/landing/, :root ahref^https://juicyads.in/, :root ahref^https://join.virtuallust3d.com/, :root ahref^http://www.uniblue.com/cm/, :root ahref^https://join.sexworld3d.com/track/, :root ahref^https://join.dreamsexworld.com/, :root ahref^https://incisivetrk.cvtr.io/click?, :root ahref^https://iactrivago.ampxdirect.com/, :root divdata-ismultirowtruedata-id^CarouselPLA-, :root ahref^https://horny-pussies.com/tds, :root ahref^http://www.usearchmedia.com/signup?, :root aonmousedown^this.hrefhttp://staffpicks.outbrain.com/network/redir?target_blank + .ob_source, :root ahref^https://googleads.g.doubleclick.net/pcs/click, :root ahref^http://cdn.adstract.com/, :root ahref^https://gogoman.me/, :root ahref^https://go.stripchat.com/href*&campaignId, :root divclass^BlockAdvert-, :root asrc^https://www.utherverse.com/net/, :root ahref^https://go.hpyrdr.com/, :root ahref^https://adnetwrk.com/, :root ahref^https://go.gldrdr.com/, :root divid^mainads, :root ahref^https://go.currency.com/, :root ahref^https://track.afftck.com/, :root ahref^http://guideways.info/, :root ahref^https://go.cmrdr.com/, :root ahref*.inclk.com/, :root ahref^https://go.ad2up.com/, :root ahref^https://freeadult.games/, :root ahref^//nlkdom.com/, :root aonmousedown^this.hrefhttp://staffpicks.outbrain.com/network/redir?target_blank, :root ahref^https://fonts.fontplace9.com/, :root ahref^http://clkmon.com/adServe/, :root ahref^https://flirtaescopa.com/, :root ahref^https://fleshlight.sjv.io/, :root ahref^https://earandmarketing.com/, :root lazy-adleftthin_banner, :root ahref^https://dynamicadx.com/, :root .GFYY1SVE2 > .GFYY1SVD2 > .GFYY1SVG5, :root ahref^https://djtcollectorclub.org/href*?affiliate_id, :root ahref^http://adf.ly/?id, :root ahref^https://uncensored3d.com/, :root ahref^https://creacdn.top-convert.com/, :root ahref^https://retiremely.com/, :root ahref^https://cpmspace.com/, :root ahref^https://click.plista.com/pets, :root ahref^https://chaturbate.xyz/, :root ahref^http://look.djfiln.com/, :root ahref^https://chaturbate.jjgirls.com/href*?tour, :root ahref^http://rekoverr.com/, :root ahref^https://chaturbate.com/in/?track, :root ahref^https://chaturbate.com/in/?tour, :root ahref^https://chaturbate.com/affiliates/, :root .mod > ._jH + .rscontainer, :root ahref^https://blackorange.go2cloud.org/, :root ahref^http://www.fleshlight.com/, :root ahref^https://aweptjmp.com/, :root ahref^http://www.1clickdownloader.com/, :root ahref^https://www.googleadservices.com/pagead/aclk?, :root ahref^https://awentw.com/, :root ahref^https://albionsoftwares.com/, :root ahref^https://affiliate.rusvpn.com/click.php?, :root ahref^http://adultfriendfinder.com/p/register.cgi?pid, :root ahref^https://www.popads.net/users/, :root iframesrc^http://ad.yieldmanager.com/, :root ahref^http://pubads.g.doubleclick.net/, :root ahref^https://sexdatingz.live/, :root ahref^//bwnjijl7w.com/, :root ahref^https://adultfriendfinder.com/go/page/landing, :root ahref*pussl3.com, :root ahref^https://adswick.com/, :root ADS-RIGHT, :root .GKJYXHBF2 > .GKJYXHBE2 > .GKJYXHBH5, :root ahref^https://adserver.adreactor.com/, :root ahref^https://refpaano.host/, :root ahref^https://meet-to-fuck.com/tds, :root ahref^https://adhealers.com/, :root ahref^http://zevera.com/afi.html, :root ahref^http://go.oclaserver.com/, :root ahref^https://ad.atdmt.com/, :root .trc_rbox .syndicatedItem, :root ahref^https://aaucwbe.com/, :root ahref^https://8a1ccf65f2b1302.com/, :root ahref^http://xtgem.com/click?, :root ahref^https://ads.trafficpoizon.com/, :root divclass^local-feed-banner-ads, :root ahref^http://wxdownloadmanager.com/dl/, :root ahref^http://www.zergnet.com/i/, :root ahref^http://www.torntv-downloader.com/, :root ahref^http://www.tirerack.com/affiliates/, :root ahref^http://www.text-link-ads.com/, :root ahref^https://weedzy.co.uk/href*&utm_, :root ahref^https://gghf.mobi/, :root ahref^http://www.terraclicks.com/, :root aonmousedown^this.hrefhttps://paid.outbrain.com/network/redir?target_blank, :root ahref^http://www.sfippa.com/, :root ahref^http://www.xmediaserve.com/, :root ahref^http://www.sex.com/videos/?utm_, :root ahref^http://paid.outbrain.com/network/redir?, :root ahref^http://www.sex.com/?utm_, :root aonmousedown^this.hrefhttp://paid.outbrain.com/network/redir?target_blank, :root ahref^http://www.roboform.com/php/land.php, :root ahref^http://secure.signup-page.com/, :root ahref^http://www.quick-torrent.com/download.html?aff, :root ahref^http://ffxitrack.com/, :root ahref^https://www.im88trk.com/, :root ahref^http://www.pinkvisualgames.com/?revid, :root ahref^https://trklvs.com/, :root ahref^http://www.paddypower.com/?AFF_ID, :root ahref^http://www.onwebcam.com/random?t_link, :root ahref^https://go.247traffic.com/, :root ahref^http://www.freefilesdownloader.com/, :root ahref^http://www.mysuperpharm.com/, :root .trc_rbox_border_elm .syndicatedItem, :root ahref^http://www.myfreepaysite.com/sfw_int.php?aid, :root ahref^http://www.myfreepaysite.com/sfw.php?aid, :root .rhsvwstylebackground-color:#fff;margin:0 0 14px;padding-bottom:1px;padding-top:1px;, :root ahref^http://www.moneyducks.com/, :root ahref^http://bcntrack.com/, :root ahref^http://www.securegfm.com/, :root ahref^http://www.liversely.net/, :root ahref^http://www.linkbucks.com/referral/, :root ahref^https://fakelay.com/, :root ahref^//88d7b6aa44fb8eb.com/, :root ahref^http://www.ireel.com/signup?ref, :root href*prayuserparka.com/, :root ahref^http://www.idownloadplay.com/, :root ahref^http://www.hitcpm.com/, :root ahref^http://fusionads.net, :root ahref^http://www.hibids10.com/, :root divclass^awpcp-random-ads, :root href*//securesafemembers.com, :root ahref^http://www.graboid.com/affiliates/, :root ahref^http://www.gamebookers.com/cgi-bin/intro.cgi?, :root divid^div_openx_ad_, :root ahref^http://www.friendlyquacks.com/, :root ahref^https://www.financeads.net/tc.php?, :root ahref^http://www.friendlyduck.com/AF_, :root ahref^https://content.oneindia.com/www/delivery/, :root ahref^http://www.fpcTraffic2.com/blind/in.cgi?, :root ahref^http://www.flashx.tv/downloadthis, :root .trc_rbox_div atarget_blankhref^http://tab, :root ahref^https://americafirstpolls.com/, :root ahref^http://clickserv.sitescout.com/, :root ahref^http://www.firstload.de/affiliate/, :root ahref^http://www.twinplan.com/AF_, :root ahref^http://www.fducks.com/, :root ahref^http://www.epicgameads.com/, :root ahref^http://www.easydownloadnow.com/, :root ahref^http://www.duckssolutions.com/, :root ahref^https://go.trkclick2.com/, :root ahref^http://www.duckcash.eu/, :root ahref^http://go.seomojo.com/tracking202/, :root ahref^http://www.downloadweb.org/, :root ahref^http://www.down1oads.com/, :root ahref^https://trafficmedia.center/, :root ahref^http://www.dealcent.com/register.php?affid, :root .rscontainer > .ellip, :root ahref^http://www.clkads.com/adServe/, :root ahref^http://www.clickansave.net/, :root ahref^https://track.interactivegf.com/, :root divclass^adpubs-, :root ahref*deliver.trafficfabrik.com, :root ahref^http://www.cash-duck.com/, :root ahref^https://aff-ads.stickywilds.com/, :root ahref^http://www.bitlord.me/share/, :root divclass^Directory__footerAds, :root ahref^http://www.bet365.com/href*?affiliate, :root ahref^http://www.bet365.com/href*&affiliate, :root ahref^http://www.badoink.com/go.php?, :root ahref^http://www.babylon.com/welcome/index?affID, :root ahref^http://www.sexgangsters.com/?pid, :root ahref^http://www.amazon.co.uk/exec/obidos/external-search?, :root ahref^https://ads-for-free.com/click.php?, :root ahref^http://www.socialsex.com/, :root divclass^index_adBeforeContent_, :root ahref^http://www.affbuzzads.com/affiliate/, :root ahref^http://go.ad2up.com/, :root ahref^https://badoinkvr.com/, :root ahref*/adServe/banners?, :root ahref^http://www.adxpansion.com, :root .plistaList > .itemLinkPET, :root ahref^http://www.adbrite.com/mb/commerce/purchase_form.php?, :root ahref^http://www.adultdvdempire.com/?partner_idhref*&utm_, :root ahref^http://www.ragazzeinvendita.com/?rcid, :root ahref^http://www.TwinPlan.com/AF_, :root ahref^http://www.123-reg.co.uk/affiliate2.cgi, :root divitemtypehttp://www.schema.org/WPAdBlock, :root ahref^http://wopertific.info/, :root ahref^http://bodelen.com/, :root ahref^http://wgpartner.com/, :root ahref^http://web.adblade.com/, :root ahref^https://go.onclasrv.com/, :root ahref^http://wct.link/, :root ahref^https://topoffers.com/href*/?pid, :root ahref^http://vinfdv6b4j.com/, :root ahref^http://s9kkremkr0.com/, :root ahref^https://www.nutaku.net/signup/landing/, :root ahref^http://us.marketgid.com, :root ahref^http://ul.to/ref/, :root ahref^http://ucam.xxx/?utm_, :root ahref^https://adsrv4k.com/, :root ahref^http://trk.mdrtrck.com/, :root ahref^http://traffic.tc-clicks.com/, :root ahref^http://www.liutilities.com/, :root ahref^http://www.dl-provider.com/search/, :root ahref^http://tc.tradetracker.net/ > img, :root ahref^http://tracking.deltamediallc.com/, :root ahref^http://tour.affbuzzads.com/, :root ahref^https://iac.ampxdirect.com/, :root ahref^http://t.mdn2015x3.com/, :root divaria-labelAds, :root ahref^http://axdsz.pro/, :root ahref^https://go.ebrokerserve.com/, :root ahref^http://galleries.securewebsiteaccess.com/, :root ahref^http://stateresolver.link/, :root ahref^http://sharesuper.info/, :root ahref^https://awecrptjmp.com/, :root ahref^http://server.cpmstar.com/click.aspx?poolid, :root .trc_related_container divdata-item-syndicatedtrue, :root ahref^https://www.firstload.com/affiliate/, :root ahref^http://see.kmisln.com/, :root ahref^http://www.downloadthesefiles.com/, :root ahref^http://secure.cbdpure.com/aff/, :root asideid^advads_ad_widget-, :root ahref^http://lp.ezdownloadpro.info/, :root ahref^http://uploaded.net/ref/, :root ahref^http://t.mdn2015x1.com/, :root ahref^http://azmobilestore.co/, :root ahref^http://s5prou7ulr.com/, :root ahref^https://affiliates.bet-at-home.com/processing/, :root ahref^https://ads.ad4game.com/, :root ahref^https://betway.com/href*&a, :root ahref^https://easygamepromo.com/ef/custom_affiliate/, :root ahref^http://record.betsafe.com/, :root ahref^http://mo8mwxi1.com/, :root ahref^https://bnsjb1ab1e.com/, :root ahref^https://prf.hn/click/href*/creativeref:, :root ahref^//oardilin.com/, :root ahref^http://pwrads.net/, :root ahref^http://promos.bwin.com/, :root ahref*.irtyc.com/, :root ahref^http://z1.zedo.com/, :root ahref^http://pokershibes.com/index.php?ref, :root ahref^https://bs.serving-sys.com, :root href*wap4dollar.com/, :root .__y_elastic .__y_item, :root ahref^https://mcdlks.com/, :root adata-redirect^https://paid.outbrain.com/network/redir?, :root ahref^http://play4k.co/, :root ahref^http://partner.sbaffiliates.com/, :root divid^ad-gpt-, :root ahref^http://pan.adraccoon.com?, :root ahref^https://dltags.com/, :root ahref^http://onclickads.net/, :root ahref^http://mmo123.co/, :root ahref^https://www.oboom.com/ref/, :root ahref^http://media.paddypower.com/redirect.aspx?, :root ahref^http://allaptair.club/, :root .section-resultdata-result-ad-type, :root ahref^https://deliver.ptgncdn.com/, :root ahref^http://latestdownloads.net/download.php?, :root ahref^http://k2s.cc/code/, :root #topstuff > #tads, :root ahref*.bang.com/href*&aff, :root adata-widget-outbrain-redirect^http://paid.outbrain.com/network/redir?, :root ahref^http://join3.bannedsextapes.com/track/, :root ahref^https://gamescarousel.com/, :root ahref^http://istri.it/?, :root ahref^//awejmp.com/, :root ahref^http://mob1ledev1ces.com/, :root ahref^http://www.fbooksluts.com/, :root ahref^http://www.cdjapan.co.jp/aff/click.cgi/, :root ahref^//api.ad-goi.com/, :root ahref*//ridingintractable.com/, :root ahref^http://intent.bingads.com/, :root divid^crt-style, :root ahref^http://igromir.info/, :root ahref^https://track.themadtrcker.com/, :root ahref^http://hyperlinksecure.com/go/, :root ahref^https://intrev.co/, :root ahref^http://https://www.get-express-vpn.com/offer/, :root .ob_container .item-container-obpd, :root ahref^http://websitedhoome.com/, :root ahref^http://www.adskeeper.co.uk/, :root ahref^https://clickadilla.com/, :root ahref^http://www.gfrevenge.com/landing/, :root ahref^http://45eijvhgj2.com/, :root ahref^http://hpn.houzz.com/, :root ahref^http://searchtabnew.com/, :root ahref*?adlivkhref*&refer, :root ahref^//look.djfiln.com/, :root ahref^http://greensmoke.com/, :root ahref^//5e1fcb75b6d662d.com/, :root #tadsaria-label, :root ahref^http://googleads.g.doubleclick.net/pcs/click, :root asideitemtypehttps://schema.org/WPAdBlock, :root ahref^https://watchmygirlfriend.tv/, :root .nrelate .nr_partner, :root ahref^http://go.xtbaffiliates.com/, :root ahref^http://go.trafficshop.com/, :root ahref^http://install.securewebsiteaccess.com/, :root ahref^http://www.revenuehits.com/, :root ahref^http://go.mobisla.com/, :root ahref^//srv.buysellads.com/, :root ahref^http://g1.v.fwmrm.net/ad/, :root .widget-pane-section-resultdata-result-ad-type, :root ahref^http://imads.integral-marketing.com/, :root ahref^http://freesoftwarelive.com/, :root ahref^http://adtrackone.eu/, :root ahref^http://finaljuyu.com/, :root ahref^http://fileloadr.com/, :root ahref^http://extra.bet365.com/href*?affiliate, :root ahref^http://ethfw0370q.com/, :root id^bunyad_ads_, :root ahref^http://elitefuckbook.com/, :root ahref^http://eclkmpsa.com/, :root ahref^http://earandmarketing.com/, :root ahref*.mfroute.com/, :root #content > #center > .dose > .dosesingle, :root ahref^http://campaign.bharatmatrimony.com/track/, :root ahref*3wr110.xyz/, :root ahref^http://d2.zedo.com/, :root ahref^http://keep2share.cc/pr/, :root ahref^https://iqoption.com/lp/mobile-partner/href*?aff, :root ahref^http://cp.cbbp1.com, :root ahref^http://contractallsticker.net/, :root ahref^http://codec.codecm.com/, :root ahref^https://paid.outbrain.com/network/redir?, :root ahref^http://www.downloadplayer1.com/, :root ahref^http://clicks.binarypromos.com/, :root ahref^https://dediseedbox.com/clients/aff.php?, :root ahref^http://www.wantstraffic.com/, :root ahref^http://databass.info/, :root ahref^http://www.urmediazone.com/signup, :root ahref^http://click.plista.com/pets, :root ahref^http://chaturbate.com/affiliates/, :root ahref^http://www.firstload.com/affiliate/, :root ahref^http://www.friendlyadvertisements.com/, :root ahref^http://go.fpmarkets.com/, :root ahref^//00ae8b5a9c1d597.com/, :root ahref^http://cdn3.adbrau.com/, :root ahref^http://amzn.to/ > imgsrc^data, :root ahref^http://bs.serving-sys.com/, :root ahref^http://cpaway.afftrack.com/, :root ahref^http://cdn.adsrvmedia.net/, :root lazy-adtop_banner, :root ahref^http://360ads.go2cloud.org/, :root ahref^http://dftrck.com/, :root ahref^http://casino-x.com/?partner, :root ahref^http://record.sportsbetaffiliates.com.au/, :root ahref^http://campeeks.com/href*&utm_, :root #flowplayer > divstyleposition: absolute; width: 300px; height: 275px; left: 222.5px; top: 85px; z-index: 999;, :root ahref^http://download-performance.com/, :root ahref^http://www.on2url.com/app/adtrack.asp, :root #\5f _nq__hhstyledisplay:block!important, :root divclass^index_displayAd_, :root ahref^http://adultgames.xxx/, :root ahref^http://semi-cod.com/clicks/, :root ahref^http://campaign.bharatmatrimony.com/cbstrack/, :root ahref^http://xads.zedo.com/, :root ahref^http://www.affiliates1128.com/processing/, :root ahref^http://c.jumia.io/, :root ahref^http://yads.zedo.com/, :root ahref^https://bullads.net/get/, :root ahref^http://down1oads.com/, :root ahref^http://buysellads.com/, :root ahref^https://uncensored.game/, :root tdvaligntop > .mainmenustylepadding:10px 0 0 0 !important;, :root ahref^http://feedads.g.doubleclick.net/, :root ahref^http://betahit.click/, :root ahref^https://torguard.net/aff.php > img, :root ahref^http://bestorican.com/, :root ahref^http://bcp.crwdcntrl.net/, :root ahref^http://bc.vc/?r, :root ahref^http://banners.victor.com/processing/, :root ahref^http://affiliate.glbtracker.com/, :root ahref^https://transfer.xe.com/signup/track/redirect?, :root ahref^http://anonymous-net.com/, :root ahref^http://hotcandyland.com/partner/, :root ahref^https://see.kmisln.com/, :root ahref^https://www.travelzoo.com/oascampaignclick/, :root ahref^http://affiliates.thrixxx.com/, :root ahref^http://affiliates.pinnaclesports.com/processing/, :root ahref^http://affiliate.coral.co.uk/processing/, :root ahref^http://aff.ironsocket.com/, :root ahref^http://adsrv.keycaptcha.com, :root ahref^https://secure.adnxs.com/clktrb?, :root ahref^http://adserver.adtechus.com/, :root ahref^http://adserver.adreactor.com/, :root ahref^http://www.yourfuckbook.com/?, :root ahref^//go.onclasrv.com/, :root .GHOFUQ5BG2 > .GHOFUQ5BF2 > .GHOFUQ5BG5, :root #\5f _mom_ad_2, :root ahref^http://ads.sprintrade.com/, :root ahref^https://www.mrskin.com/tour, :root ahref^http://adserver.adtech.de/, :root ahref^http://cwcams.com/landing/click/, :root ahref^http://ads.betfair.com/redirect.aspx?, :root ahref^http://ads.affbuzzads.com/, :root id*MarketGid, :root #resultspanel > #topads, :root ahref^http://espn.zlbu.net/, :root ahref^http://admrotate.iplayer.org/, :root ahref^http://reallygoodlink.extremefreegames.com/, :root ahref^http://adlev.neodatagroup.com/, :root ahref^http://ad.doubleclick.net/, :root ahref^https://k2s.cc/pr/, :root ahref^http://ad.au.doubleclick.net/, :root ahref^http://srvpub.com/, :root ahref^http://a.adquantix.com/, :root ahref^http://NowDownloadAll.com, :root ahref^http://adtrack123.pl/, :root ahref^http://9amq5z4y1y.com/, :root ahref^//go.vedohd.org/, :root ahref^http://www.ducksnetwork.com/, :root ahref^http://3wr110.net/, :root ahref^http://1phads.com/, :root ahref^//zenhppyad.com/, :root ahref^//www.pd-news.com/, :root href*.doubleclick-net.com, :root ahref^//www.mgid.com/, :root ahref^http://lp.ncdownloader.com/, :root ahref^//pubads.g.doubleclick.net/, :root ahref^http://refer.webhostingbuzz.com/, :root ahref^//medleyads.com/spot/, :root ahref^https://ilovemyfreedoms.com/href*?affiliate_id, :root href*.afftracks.online/, :root ahref^//healthaffiliate.center/, :root .l-container > #fishtank, :root onclick*content.ad/, :root ahref^https://clixtrac.com/, :root href*.adcampo.com/, :root ahref^https://www.oboom.com/ad/, :root ahref^//4f6b2af479d337cf.com/, :root ahref^http://n217adserv.com/, :root ahref^//4c7og3qcob.com/, :root ahref^https://www.arthrozene.com/href*?tid, :root ahref^https://awejmp.com/, :root href*//go2page.net, :root ahref^ http://www.sex.com/href*&utm_, :root ahref^https://fileboom.me/pr/, :root ahref^http://marketgid.com, :root .GPMV2XEDA2 > .GPMV2XEDP1 > .GPMV2XEDJBB, :root ahref*onclkds., :root ahref^https://adclick.g.doubleclick.net/, :root ahref*.intab.fun/, :root ahref*get-express-vpn.xyz, :root ahref*.adsrv.eacdn.com/ > img, :root ahref^http://mgid.com/, :root ahref*a2g-secure.com, :root ahref*adscript, :root #mn #center_col > div > h2.spon:first-child, :root ahref*Adtracker, :root ahref^http://refpaano.host/, :root ahref*/cmd.php?ad, :root ahref^http://www.firstclass-download.com/, :root ahref*//bongacams7.com/track?, :root divid^advads-, :root ahref^http://www.myfreecams.com/?co_idhref*&track, :root ahref^https://track.afcpatrk.com/, :root ahref*.ad-center.com/, :root ahref*.udncoeln.com/, :root ahref^https://www.kingsoffetish.com/tour?partner_id, :root ahref*.qertewrt.com/, :root atarget_blankhref^http://api.taboola.com/, :root ahref*.smartadserver.com, :root .__ywvr .__y_item, :root ahref^https://farm.plista.com/pets, :root ahref*.red90121.com/, :root ahref^https://playuhd.host/, :root .mw > #rcnt > #center_col > #taw > #tvcap > .c, :root ahref*.purple6401.com/, :root ahref^http://www.greenmangaming.com/?tap_a, :root ahref*.opskln.com/, :root divid^div_ad_stack_, :root ahref*.ichlnk.com/, :root ahref^http://secure.hostgator.com/~affiliat/, :root onclick^window.open(http://adultfriendfinder.com/search/, :root href*.revrtb.com/, :root .mod > .gws-local-promotions__border, :root ahref^https://deliver.tf2www.com/, :root ahref^http://spygasm.com/track?, :root .ob_dual_right > .ob_ads_header ~ .odb_div, :root ahref*.adk2x.com/, :root ahref^http://data.committeemenencyclopedicrepertory.info/, :root ahref*.allsports4you.club, :root ahref^https://track.bruceads.com/, :root #MAIN.ShowTopic > .ad, :root ahref^https://porngames.adult/?SID, :root ahref^http://findersocket.com/, :root ahref^https://m.do.co/c/ > img, :root href*.ltroute.com/, :root #tads + div + .c, :root ahref^//jsmptjmp.com/, :root .commercial-unit-mobile-top .jackpot-main-content-container > .UpgKEd + .nZZLFc > .vci, :root ahref^https://financeads.net/tc.php?, :root #ssmiwdivjsdisplay, :root ahref*.adform.net/, :root ahref^http://duckcash.eu/, :root ahref^http://www.mobileandinternetadvertising.com/, :root ahref*exoclick, :root ahref^https://track.trkinator.com/, :root divid^ad-position-, :root adata-redirect^this.hrefhttp://paid.outbrain.com/network/redir?, :root ahref^http://liversely.com/, :root .GB3L-QEDGY .GB3L-QEDF- > .GB3L-QEDE-, :root adata-url^http://paid.outbrain.com/network/redir? + .author, :root ahref^http://liversely.net/, :root .rawidth30%alignright + tablewidth70%cellpadding0, :root ahref^http://www.coiwqe.site/, :root iframeid^google_ads_frame, :root ahref^http://www.bluehost.com/track/ > img, :root adata-url^http://paid.outbrain.com/network/redir?, :root ahref^http://n.admagnet.net/, :root href*.jetx.info/, :root ahref^http://bestchickshere.com/, :root divid^cns_ads_, :root adata-obtrack^http://paid.outbrain.com/network/redir?, :root ahref^http://www.getyourguide.com/?partner_id, :root onclick^window.open(https://www.brazzersnetwork.com/landing/, :root ahref^https://vod09197d7.club/, :root ahref^http://k2s.cc/pr/, :root ahref^http://9nl.es/, :root #assetsListingsstyledisplay: block;, :root onclick^window.open(window.open(//delivery.trafficfabrik.com/, :root ahref^https://keep2share.cc/pr/, :root adata-oburl^http://paid.outbrain.com/network/redir?, :root ahref^http://refpa.top/, :root ahref*//bongacams.com/track?, :root ahref^https://servedbyadbutler.com/, :root ahref^https://mob1ledev1ces.com/, :root adata-redirect^http://paid.outbrain.com/network/redir?, :root ahref^https://explore.findanswersnow.net/, :root id^adframe_wrap_, :root ahref^http://landingpagegenius.com/, :root adata-redirect^http://click.plista.com/pets, :root .section-subheader > .section-hotel-prices-header, :root href^https://go.affiliatexe.com/, :root ahref^http://a63t9o1azf.com/, :root href*//etracking.pro, :root ahref^http://www.fonts.com/BannerScript/, :root ahref^http://c.ketads.com/, :root ahref^http://6kup12tgxx.com/, :root atarget_blankonmousedownthis.href^http://paid.outbrain.com/network/redir?, :root ahref^http://online.ladbrokes.com/promoRedirect?, :root ahref^//mob1ledev1ces.com/, :root href^http://raboninco.com/, :root ahref^https://www.passeura.com/, :root ahref^http://www.pinkvisualpad.com/?revid, :root ahref^https://www.friendlyduck.com/AF_, :root href^http://advertisesimple.info/, :root #center_col > #resultStats + #tads + #res + #tads, :root ahref*//bongacams2.com/track?, :root href*cadsecs.com/, :root ahref^https://zononi.com/, :root ahref^http://adserving.unibet.com/, :root href*//trackout.business, :root #rhs_block .mod > .luhb-div > divdata-async-typeupdateHotelBookingModule, :root ahref^http://adclick.g.doubleclick.net/, :root href*//mclick.net, :root .commercial-unit-desktop-rhs > .iKidV > .Ee92ae + .P2mpm + .hp3sk, :root divrolenavigation + c-wiz > div > .kxhcC, :root ahref^http://www.download-provider.org/, :root href*//doubleclick-net.com, :root ahref^http://deloplen.com/afu.php?zoneid, :root ahref^//db52cc91beabf7e8.com/, :root id*ScriptRoot, :root ahref^http://partners.etoro.com/, :root href*.xiloy.site/, :root ahref^http://webtrackerplus.com/, :root ahref^https://ad13.adfarm1.adition.com/, :root ahref^http://clickandjoinyourgirl.com/, :root divitemtypehttp://schema.org/WPAdBlock, :root ahref^https://www.nudeidols.com/cams/, :root #center_col > #res > #topstuff + #search > div > #ires > #rso > #flun, :root href*.trackout.business, :root ahref^http://4c7og3qcob.com/, :root ahref^https://trusted-click-host.com/, :root ahref^https://members.linkifier.com/public/affiliateLanding?refCode, :root ahref^https://jmp.awempire.com/, :root .commercial-unit-mobile-top .jackpot-main-content-container > .UpgKEd + .nZZLFc > div > .vci, :root ahref*delivery.trafficfabrik.com, :root #ads > .dose > .dosesingle, :root ahref*.revimedia.com/, :root #center_col > #taw > #tvcap > .rscontainer, :root href*.securesafemembers.com, :root ahref^https://www.adxtro.com/, :root .gbfwa > divclass$_item, :root ahref^https://goraps.com/, :root href*.etracking.pro, :root ahref^http://tezfiles.com/pr/, :root #rhs_block > ol > .rhsvw > .kp-blk > .xpdopen > ._OKe > ol > ._DJe > .luhb-div, :root ahref^http://see-work.info/, :root ahref*/adrotate-out.php?, :root #atvcap + #tvcap > .mnr-c > .commercial-unit-mobile-top, :root .inlineNewsletterSubscription + .inlineNewsletterSubscription divclass$_item, :root ahref*.orange2258.com/, :root #taw > .med + div > #tvcap > .mnr-c:not(.qs-ic) > .commercial-unit-mobile-top, :root .plista_widget_belowArticleRelaunch_itemdata-typepet, :root #main-content > stylepadding:10px 0 0 0 !important;, :root #center_col > #resultStats + divstyleborder:1px solid #dedede;margin-bottom:11px;padding:5px 7px 5px 6px, :root ahref^http://get.slickvpn.com/, :root data-ad-module, :root href*.go2page.net, :root ahref^http://hd-plugins.com/download/, :root ahref^//voyeurhit.com/cs/, :root ahref^http://www.afgr3.com/, :root ad-id^googlead, :root .raalignleftwidth30%, :root ahref^https://trackjs.com/?utm_source, :root AFS-AD, :root #center_col > #\5f Emc, :root ahref^http://ads2.williamhill.com/redirect.aspx?, :root ahref^https://www.spyoff.com/, :root AD-TRIPLE-BOX, :root .trc_rbox_div .syndicatedItem, :root ahref^http://www.streamate.com/exports/, :root href*maskip.co/, :root #center_col > #main > .dfrd > .mnr-c > .c._oc._zs, :root divdata-subscriptAdvertising, :root divclass$dealnews > .dealnews, :root ahref^http://t.mdn2015x2.com/, :root divid^rc-widget-, :root ahref^http://b.bestcompleteusa.info/, :root .trc_rbox_div .syndicatedItemUB, :root adata-oburl^https://paid.outbrain.com/network/redir?, :root .icons-rss-feed + .icons-rss-feed divclass$_item, :root ahref^http://aflrm.com/, :root divid^google_dfp_, :root href*get-download.club/, :root #mn divstyleposition:relative > #center_col > div > ._dPg, :root ahref*5iclx7wa4q.com, :root ahref*//bongacams5.com/track?, :root FBS-AD, :root ahref*.clksite.com/, :root ahref^http://www.webtrackerplus.com/, :root .GJJKPX2N1 > .GJJKPX2M1 > .GJJKPX2P4, :root ahref^https://go.hpyjmp.com/, :root .vi-lb-placeholdertitleADVERTISEMENT, :root ahref^http://goldmoney.com/?gmrefcode, :root ahref^http://papi.mynativeplatform.com:80/pub2/, :root LEADERBOARD-AD, :root #mn #center_col > div > h2.spon:first-child + ol:last-child, :root ahref*.cfm?fphref*&prvtof, :root ahref*n47adshostnet.com/, :root #center_col > #taw > #tvcap > .commercial-unit-desktop-top, :root .plistaList > .plista_widget_underArticle_itemdata-typepet, :root ahref^http://servicegetbook.net/, :root #rhs_block > #mbEnd, :root ahref^http://cinema.friendscout24.de?, :root lazy-adlefttop_banner, :root ahref^http://www.mrskin.com/tour, :root .jobs-information-call-to-action + .jobs-information-call-to-action divclass$_item, :root ahref^http://api.content.ad/, :root ahref^http://adtransfer.net/, :root ahref*.clkcln.com/, :root #rhs_block > script + .c._oc._Ve.rhsvw, :root #\5f _mom_ad_12, :root .__zinit .__y_item, :root .chonclickga(this,event), :root .__ywl .__y_item, :root ahref^http://track.trkvluum.com/, :root ahref^http://linksnappy.com/?ref, :root src^/Redirect.a2b?, :root #center_col > #resultStats + #tads, :root .__yinit .__y_item, :root #center_col > divstylefont-size:14px;margin-right:0;min-height:5px > divstylefont-size:14px;margin:0 4px;padding:1px 5px;background:#fff8e7, :root ahref^https://secure.cbdpure.com/aff/, :root AMP-AD, :root iframesrc*mellowads.com, :root .__y_inner > .__y_item, :root #cnt #center_col > #res > #topstuff > .ts, :root ahref^https://landing.brazzersnetwork.com/, :root #cnt #center_col > #taw > #tvcap > .c._oc._Lp, :root ahref^https://sexsimulator.game/tab/?SID, :root .rc-ctadata-target, :root ahref*//promo-bc.com/track?, :root ahref*.trust.zone, :root divclass^hp-ad-rect-, :root ahref^http://dwn.pushtraffic.net/, :root ahref$/vghd.shtml, :root .GFYY1SVD2 > .GFYY1SVC2 > .GFYY1SVF5, :root ahref^http://affiliates.score-affiliates.com/, :root ahref^https://a.adtng.com/, :root #rhswrapper > #rhssectionborder0bgcolor#ffffff, :root .Mpopup + #Mad > #MadZone, :root ahref^http://ads.expekt.com/affiliates/, :root ahref^http://www.streamtunerhd.com/signup?, :root pid^div-gpt-ad-, :root ahref^http://fsoft4down.com/, :root ahref*ad2upapp.com/, :root ahref*.fwd28.com/, :root lazy-adleftbottom_banner, :root ahref^http://click.payserve.com/, :root ahref^http://serve.williamhill.com/promoRedirect?, :root href*.mclick.net, :root #center_col > #taw > #tvcap > .cu-container > .commercial-unit-desktop-top, :root ahref^http://www.menaon.com/installs/, :root ahref^http://taboola-href*/redirect.php?app.type, :root .mw > #rcnt > #center_col > #taw > .c, :root #rhs_block > .tscellspacing0cellpadding0stylepadding:0, :root divdata-ad-underplayer, :root #mbEndcellspacing0cellpadding0, :root #header + #content > #left > #rlblock_left, :root ahref^http://www.seekbang.com/cs/, :root ahref^http://syndication.exoclick.com/, :root ahref^http://bluehost.com/track/, :root ahref^https://squren.com/rotator/?atomid, :root ahref^//40ceexln7929.com/, :root #center_col > #resultStats + div + #res + #tads, :root ahref^http://www.afgr2.com/, :root #mn divstyleposition:relative > #center_col > ._Ak, :root #tadsbaria-label, :root ahref^//z6naousb.com/, :root divid^ad_bigbox_, :root #content > #right > .dose > .dosesingle, :root ahref^https://track.totalav.com/, :root ahref^http://ad-apac.doubleclick.net/, :root c-wizjsrendererYnuqN > div > div > .Rn1jbe, :root ahref*/servlet/click/zone?, :root ahref^http://t.wowtrk.com/, :root divclass^Ad__container, :root ahref^http://adprovider.adlure.net/, :root divid^adspot-, :root #\5f _admvnlb_modal_container, :root divid^drudge-column-ads-, :root ahref^http://tour.mrskin.com/, :root #main_col > #center_col divstylefont-size:14px;margin:0 4px;padding:1px 5px;background:#fff7ed, :root adata-nvp*trafficUrl:https://paid.outbrain.com/network/redir?, :root ahref^http://www.sex.com/pics/?utm_, :root ahref^http://vo2.qrlsx.com/, :root ahref^http://engine.newsmaxfeednetwork.com/, :root ahref^http://ad.yieldmanager.com/, :root ahref^http://www.plus500.com/?id, :root #flowplayer > divstylez-index: 208; position: absolute; width: 300px; height: 275px; left: 222.5px; top: 85px;, :root ahref^https://giftsale.co.uk/?utm_, :root ahref^https://syndication.dynsrvtbg.com/splash.php? { display: none !important; }/style> script data-src../plugins/chart.js/Chart.min.js>/*! * Chart.js v2.9.3 * https://www.chartjs.org * (c) 2019 Chart.js Contributors * Released under the MIT License */ !function(t,e){objecttypeof exports&&undefined!typeof module?module.exportse(function(){try{return require(moment)}catch(t){}}()):functiontypeof define&&define.amd?define(require,(function(t){return e(function(){try{return t(moment)}catch(t){}}())})):(tt||self).Charte(t.moment)}(this,(function(t){use strict;tt&&t.hasOwnProperty(default)?t.default:t;var e{aliceblue:240,248,255,antiquewhite:250,235,215,aqua:0,255,255,aquamarine:127,255,212,azure:240,255,255,beige:245,245,220,bisque:255,228,196,black:0,0,0,blanchedalmond:255,235,205,blue:0,0,255,blueviolet:138,43,226,brown:165,42,42,burlywood:222,184,135,cadetblue:95,158,160,chartreuse:127,255,0,chocolate:210,105,30,coral:255,127,80,cornflowerblue:100,149,237,cornsilk:255,248,220,crimson:220,20,60,cyan:0,255,255,darkblue:0,0,139,darkcyan:0,139,139,darkgoldenrod:184,134,11,darkgray:169,169,169,darkgreen:0,100,0,darkgrey:169,169,169,darkkhaki:189,183,107,darkmagenta:139,0,139,darkolivegreen:85,107,47,darkorange:255,140,0,darkorchid:153,50,204,darkred:139,0,0,darksalmon:233,150,122,darkseagreen:143,188,143,darkslateblue:72,61,139,darkslategray:47,79,79,darkslategrey:47,79,79,darkturquoise:0,206,209,darkviolet:148,0,211,deeppink:255,20,147,deepskyblue:0,191,255,dimgray:105,105,105,dimgrey:105,105,105,dodgerblue:30,144,255,firebrick:178,34,34,floralwhite:255,250,240,forestgreen:34,139,34,fuchsia:255,0,255,gainsboro:220,220,220,ghostwhite:248,248,255,gold:255,215,0,goldenrod:218,165,32,gray:128,128,128,green:0,128,0,greenyellow:173,255,47,grey:128,128,128,honeydew:240,255,240,hotpink:255,105,180,indianred:205,92,92,indigo:75,0,130,ivory:255,255,240,khaki:240,230,140,lavender:230,230,250,lavenderblush:255,240,245,lawngreen:124,252,0,lemonchiffon:255,250,205,lightblue:173,216,230,lightcoral:240,128,128,lightcyan:224,255,255,lightgoldenrodyellow:250,250,210,lightgray:211,211,211,lightgreen:144,238,144,lightgrey:211,211,211,lightpink:255,182,193,lightsalmon:255,160,122,lightseagreen:32,178,170,lightskyblue:135,206,250,lightslategray:119,136,153,lightslategrey:119,136,153,lightsteelblue:176,196,222,lightyellow:255,255,224,lime:0,255,0,limegreen:50,205,50,linen:250,240,230,magenta:255,0,255,maroon:128,0,0,mediumaquamarine:102,205,170,mediumblue:0,0,205,mediumorchid:186,85,211,mediumpurple:147,112,219,mediumseagreen:60,179,113,mediumslateblue:123,104,238,mediumspringgreen:0,250,154,mediumturquoise:72,209,204,mediumvioletred:199,21,133,midnightblue:25,25,112,mintcream:245,255,250,mistyrose:255,228,225,moccasin:255,228,181,navajowhite:255,222,173,navy:0,0,128,oldlace:253,245,230,olive:128,128,0,olivedrab:107,142,35,orange:255,165,0,orangered:255,69,0,orchid:218,112,214,palegoldenrod:238,232,170,palegreen:152,251,152,paleturquoise:175,238,238,palevioletred:219,112,147,papayawhip:255,239,213,peachpuff:255,218,185,peru:205,133,63,pink:255,192,203,plum:221,160,221,powderblue:176,224,230,purple:128,0,128,rebeccapurple:102,51,153,red:255,0,0,rosybrown:188,143,143,royalblue:65,105,225,saddlebrown:139,69,19,salmon:250,128,114,sandybrown:244,164,96,seagreen:46,139,87,seashell:255,245,238,sienna:160,82,45,silver:192,192,192,skyblue:135,206,235,slateblue:106,90,205,slategray:112,128,144,slategrey:112,128,144,snow:255,250,250,springgreen:0,255,127,steelblue:70,130,180,tan:210,180,140,teal:0,128,128,thistle:216,191,216,tomato:255,99,71,turquoise:64,224,208,violet:238,130,238,wheat:245,222,179,white:255,255,255,whitesmoke:245,245,245,yellow:255,255,0,yellowgreen:154,205,50},nfunction(t,e){return t(e{exports:{}},e.exports),e.exports}((function(t){var n{};for(var i in e)e.hasOwnProperty(i)&&(neii);var at.exports{rgb:{channels:3,labels:rgb},hsl:{channels:3,labels:hsl},hsv:{channels:3,labels:hsv},hwb:{channels:3,labels:hwb},cmyk:{channels:4,labels:cmyk},xyz:{channels:3,labels:xyz},lab:{channels:3,labels:lab},lch:{channels:3,labels:lch},hex:{channels:1,labels:hex},keyword:{channels:1,labels:keyword},ansi16:{channels:1,labels:ansi16},ansi256:{channels:1,labels:ansi256},hcg:{channels:3,labels:h,c,g},apple:{channels:3,labels:r16,g16,b16},gray:{channels:1,labels:gray}};for(var r in a)if(a.hasOwnProperty(r)){if(!(channelsin ar))throw new Error(missing channels property: +r);if(!(labelsin ar))throw new Error(missing channel labels property: +r);if(ar.labels.length!ar.channels)throw new Error(channel and label counts mismatch: +r);var oar.channels,sar.labels;delete ar.channels,delete ar.labels,Object.defineProperty(ar,channels,{value:o}),Object.defineProperty(ar,labels,{value:s})}a.rgb.hslfunction(t){var e,n,it0/255,at1/255,rt2/255,oMath.min(i,a,r),sMath.max(i,a,r),ls-o;return so?e0:is?e(a-r)/l:as?e2+(r-i)/l:rs&&(e4+(i-a)/l),(eMath.min(60*e,360))0&&(e+360),n(o+s)/2,e,100*(so?0:n.5?l/(s+o):l/(2-s-o)),100*n},a.rgb.hsvfunction(t){var e,n,i,a,r,ot0/255,st1/255,lt2/255,uMath.max(o,s,l),du-Math.min(o,s,l),hfunction(t){return(u-t)/6/d+.5};return 0d?ar0:(rd/u,eh(o),nh(s),ih(l),ou?ai-n:su?a1/3+e-i:lu&&(a2/3+n-e),a0?a+1:a>1&&(a-1)),360*a,100*r,100*u},a.rgb.hwbfunction(t){var et0,nt1,it2;returna.rgb.hsl(t)0,100*(1/255*Math.min(e,Math.min(n,i))),100*(i1-1/255*Math.max(e,Math.max(n,i)))},a.rgb.cmykfunction(t){var e,nt0/255,it1/255,at2/255;return100*((1-n-(eMath.min(1-n,1-i,1-a)))/(1-e)||0),100*((1-i-e)/(1-e)||0),100*((1-a-e)/(1-e)||0),100*e},a.rgb.keywordfunction(t){var int;if(i)return i;var a,r,o,s1/0;for(var l in e)if(e.hasOwnProperty(l)){var uel,d(rt,ou,Math.pow(r0-o0,2)+Math.pow(r1-o1,2)+Math.pow(r2-o2,2));ds&&(sd,al)}return a},a.keyword.rgbfunction(t){return et},a.rgb.xyzfunction(t){var et0/255,nt1/255,it2/255;return100*(.4124*(ee>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92)+.3576*(nn>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(ii>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92)),100*(.2126*e+.7152*n+.0722*i),100*(.0193*e+.1192*n+.9505*i)},a.rgb.labfunction(t){var ea.rgb.xyz(t),ne0,ie1,re2;return i/100,r/108.883,n(n/95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,116*(ii>.008856?Math.pow(i,1/3):7.787*i+16/116)-16,500*(n-i),200*(i-(rr>.008856?Math.pow(r,1/3):7.787*r+16/116))},a.hsl.rgbfunction(t){var e,n,i,a,r,ot0/360,st1/100,lt2/100;if(0s)returnr255*l,r,r;e2*l-(nl.5?l*(1+s):l+s-l*s),a0,0,0;for(var u0;u3;u++)(io+1/3*-(u-1))0&&i++,i>1&&i--,r6*i1?e+6*(n-e)*i:2*i1?n:3*i2?e+(n-e)*(2/3-i)*6:e,au255*r;return a},a.hsl.hsvfunction(t){var et0,nt1/100,it2/100,an,rMath.max(i,.01);return n*(i*2)1?i:2-i,a*r1?r:2-r,e,100*(0i?2*a/(r+a):2*n/(i+n)),100*((i+n)/2)},a.hsv.rgbfunction(t){var et0/60,nt1/100,it2/100,aMath.floor(e)%6,re-Math.floor(e),o255*i*(1-n),s255*i*(1-n*r),l255*i*(1-n*(1-r));switch(i*255,a){case 0:returni,l,o;case 1:returns,i,o;case 2:returno,i,l;case 3:returno,s,i;case 4:returnl,o,i;case 5:returni,o,s}},a.hsv.hslfunction(t){var e,n,i,at0,rt1/100,ot2/100,sMath.max(o,.01);return i(2-r)*o,nr*s,a,100*(n(n/(e(2-r)*s)1?e:2-e)||0),100*(i/2)},a.hwb.rgbfunction(t){var e,n,i,a,r,o,s,lt0/360,ut1/100,dt2/100,hu+d;switch(h>1&&(u/h,d/h),i6*l-(eMath.floor(6*l)),0!(1&e)&&(i1-i),au+i*((n1-d)-u),e){default:case 6:case 0:rn,oa,su;break;case 1:ra,on,su;break;case 2:ru,on,sa;break;case 3:ru,oa,sn;break;case 4:ra,ou,sn;break;case 5:rn,ou,sa}return255*r,255*o,255*s},a.cmyk.rgbfunction(t){var et0/100,nt1/100,it2/100,at3/100;return255*(1-Math.min(1,e*(1-a)+a)),255*(1-Math.min(1,n*(1-a)+a)),255*(1-Math.min(1,i*(1-a)+a))},a.xyz.rgbfunction(t){var e,n,i,at0/100,rt1/100,ot2/100;return n-.9689*a+1.8758*r+.0415*o,i.0557*a+-.204*r+1.057*o,e(e3.2406*a+-1.5372*r+-.4986*o)>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e,nn>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,ii>.0031308?1.055*Math.pow(i,1/2.4)-.055:12.92*i,255*(eMath.min(Math.max(0,e),1)),255*(nMath.min(Math.max(0,n),1)),255*(iMath.min(Math.max(0,i),1))},a.xyz.labfunction(t){var et0,nt1,it2;return n/100,i/108.883,e(e/95.047)>.008856?Math.pow(e,1/3):7.787*e+16/116,116*(nn>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(e-n),200*(n-(ii>.008856?Math.pow(i,1/3):7.787*i+16/116))},a.lab.xyzfunction(t){var e,n,i,at0;et1/500+(n(a+16)/116),in-t2/200;var rMath.pow(n,3),oMath.pow(e,3),sMath.pow(i,3);return nr>.008856?r:(n-16/116)/7.787,eo>.008856?o:(e-16/116)/7.787,is>.008856?s:(i-16/116)/7.787,e*95.047,n*100,i*108.883},a.lab.lchfunction(t){var e,nt0,it1,at2;return(e360*Math.atan2(a,i)/2/Math.PI)0&&(e+360),n,Math.sqrt(i*i+a*a),e},a.lch.labfunction(t){var e,nt0,it1;return et2/360*2*Math.PI,n,i*Math.cos(e),i*Math.sin(e)},a.rgb.ansi16function(t){var et0,nt1,it2,r1 in arguments?arguments1:a.rgb.hsv(t)2;if(0(rMath.round(r/50)))return 30;var o30+(Math.round(i/255)2|Math.round(n/255)1|Math.round(e/255));return 2r&&(o+60),o},a.hsv.ansi16function(t){return a.rgb.ansi16(a.hsv.rgb(t),t2)},a.rgb.ansi256function(t){var et0,nt1,it2;return en&&ni?e8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(n/255*5)+Math.round(i/255*5)},a.ansi16.rgbfunction(t){var et%10;if(0e||7e)return t>50&&(e+3.5),ee/10.5*255,e,e;var n.5*(1+~~(t>50));return(1&e)*n*255,(e>>1&1)*n*255,(e>>2&1)*n*255},a.ansi256.rgbfunction(t){if(t>232){var e10*(t-232)+8;returne,e,e}var n;return t-16,Math.floor(t/36)/5*255,Math.floor((nt%36)/6)/5*255,n%6/5*255},a.rgb.hexfunction(t){var e(((255&Math.round(t0))16)+((255&Math.round(t1))8)+(255&Math.round(t2))).toString(16).toUpperCase();return000000.substring(e.length)+e},a.hex.rgbfunction(t){var et.toString(16).match(/a-f0-9{6}|a-f0-9{3}/i);if(!e)return0,0,0;var ne0;3e0.length&&(nn.split().map((function(t){return t+t})).join());var iparseInt(n,16);returni>>16&255,i>>8&255,255&i},a.rgb.hcgfunction(t){var e,nt0/255,it1/255,at2/255,rMath.max(Math.max(n,i),a),oMath.min(Math.min(n,i),a),sr-o;return es0?0:rn?(i-a)/s%6:ri?2+(a-n)/s:4+(n-i)/s+4,e/6,360*(e%1),100*s,100*(s1?o/(1-s):0)},a.hsl.hcgfunction(t){var et1/100,nt2/100,i1,a0;return(in.5?2*e*n:2*e*(1-n))1&&(a(n-.5*i)/(1-i)),t0,100*i,100*a},a.hsv.hcgfunction(t){var et1/100,nt2/100,ie*n,a0;return i1&&(a(n-i)/(1-i)),t0,100*i,100*a},a.hcg.rgbfunction(t){var et0/360,nt1/100,it2/100;if(0n)return255*i,255*i,255*i;var a,r0,0,0,oe%1*6,so%1,l1-s;switch(Math.floor(o)){case 0:r01,r1s,r20;break;case 1:r0l,r11,r20;break;case 2:r00,r11,r2s;break;case 3:r00,r1l,r21;break;case 4:r0s,r10,r21;break;default:r01,r10,r2l}return a(1-n)*i,255*(n*r0+a),255*(n*r1+a),255*(n*r2+a)},a.hcg.hsvfunction(t){var et1/100,ne+t2/100*(1-e),i0;return n>0&&(ie/n),t0,100*i,100*n},a.hcg.hslfunction(t){var et1/100,nt2/100*(1-e)+.5*e,i0;return n>0&&n.5?ie/(2*n):n>.5&&n1&&(ie/(2*(1-n))),t0,100*i,100*n},a.hcg.hwbfunction(t){var et1/100,ne+t2/100*(1-e);returnt0,100*(n-e),100*(1-n)},a.hwb.hcgfunction(t){var et1/100,n1-t2/100,in-e,a0;return i1&&(a(n-i)/(1-i)),t0,100*i,100*a},a.apple.rgbfunction(t){returnt0/65535*255,t1/65535*255,t2/65535*255},a.rgb.applefunction(t){returnt0/255*65535,t1/255*65535,t2/255*65535},a.gray.rgbfunction(t){returnt0/100*255,t0/100*255,t0/100*255},a.gray.hsla.gray.hsvfunction(t){return0,0,t0},a.gray.hwbfunction(t){return0,100,t0},a.gray.cmykfunction(t){return0,0,0,t0},a.gray.labfunction(t){returnt0,0,0},a.gray.hexfunction(t){var e255&Math.round(t0/100*255),n((e16)+(e8)+e).toString(16).toUpperCase();return000000.substring(n.length)+n},a.rgb.grayfunction(t){return(t0+t1+t2)/3/255*100}}));n.rgb,n.hsl,n.hsv,n.hwb,n.cmyk,n.xyz,n.lab,n.lch,n.hex,n.keyword,n.ansi16,n.ansi256,n.hcg,n.apple,n.gray;function i(t){var efunction(){for(var t{},eObject.keys(n),ie.length,a0;ai;a++)tea{distance:-1,parent:null};return t}(),it;for(et.distance0;i.length;)for(var ai.pop(),rObject.keys(na),or.length,s0;so;s++){var lrs,uel;-1u.distance&&(u.distanceea.distance+1,u.parenta,i.unshift(l))}return e}function a(t,e){return function(n){return e(t(n))}}function r(t,e){for(var iet.parent,t,rnet.parentt,oet.parent;eo.parent;)i.unshift(eo.parent),ra(neo.parento,r),oeo.parent;return r.conversioni,r}var o{};Object.keys(n).forEach((function(t){ot{},Object.defineProperty(ot,channels,{value:nt.channels}),Object.defineProperty(ot,labels,{value:nt.labels});var efunction(t){for(var ei(t),n{},aObject.keys(e),oa.length,s0;so;s++){var las;null!el.parent&&(nlr(l,e))}return n}(t);Object.keys(e).forEach((function(n){var ien;otnfunction(t){var efunction(e){if(nulle)return e;arguments.length>1&&(eArray.prototype.slice.call(arguments));var nt(e);if(objecttypeof n)for(var in.length,a0;ai;a++)naMath.round(na);return n};returnconversionin t&&(e.conversiont.conversion),e}(i),otn.rawfunction(t){var efunction(e){return nulle?e:(arguments.length>1&&(eArray.prototype.slice.call(arguments)),t(e))};returnconversionin t&&(e.conversiont.conversion),e}(i)}))}));var so,l{aliceblue:240,248,255,antiquewhite:250,235,215,aqua:0,255,255,aquamarine:127,255,212,azure:240,255,255,beige:245,245,220,bisque:255,228,196,black:0,0,0,blanchedalmond:255,235,205,blue:0,0,255,blueviolet:138,43,226,brown:165,42,42,burlywood:222,184,135,cadetblue:95,158,160,chartreuse:127,255,0,chocolate:210,105,30,coral:255,127,80,cornflowerblue:100,149,237,cornsilk:255,248,220,crimson:220,20,60,cyan:0,255,255,darkblue:0,0,139,darkcyan:0,139,139,darkgoldenrod:184,134,11,darkgray:169,169,169,darkgreen:0,100,0,darkgrey:169,169,169,darkkhaki:189,183,107,darkmagenta:139,0,139,darkolivegreen:85,107,47,darkorange:255,140,0,darkorchid:153,50,204,darkred:139,0,0,darksalmon:233,150,122,darkseagreen:143,188,143,darkslateblue:72,61,139,darkslategray:47,79,79,darkslategrey:47,79,79,darkturquoise:0,206,209,darkviolet:148,0,211,deeppink:255,20,147,deepskyblue:0,191,255,dimgray:105,105,105,dimgrey:105,105,105,dodgerblue:30,144,255,firebrick:178,34,34,floralwhite:255,250,240,forestgreen:34,139,34,fuchsia:255,0,255,gainsboro:220,220,220,ghostwhite:248,248,255,gold:255,215,0,goldenrod:218,165,32,gray:128,128,128,green:0,128,0,greenyellow:173,255,47,grey:128,128,128,honeydew:240,255,240,hotpink:255,105,180,indianred:205,92,92,indigo:75,0,130,ivory:255,255,240,khaki:240,230,140,lavender:230,230,250,lavenderblush:255,240,245,lawngreen:124,252,0,lemonchiffon:255,250,205,lightblue:173,216,230,lightcoral:240,128,128,lightcyan:224,255,255,lightgoldenrodyellow:250,250,210,lightgray:211,211,211,lightgreen:144,238,144,lightgrey:211,211,211,lightpink:255,182,193,lightsalmon:255,160,122,lightseagreen:32,178,170,lightskyblue:135,206,250,lightslategray:119,136,153,lightslategrey:119,136,153,lightsteelblue:176,196,222,lightyellow:255,255,224,lime:0,255,0,limegreen:50,205,50,linen:250,240,230,magenta:255,0,255,maroon:128,0,0,mediumaquamarine:102,205,170,mediumblue:0,0,205,mediumorchid:186,85,211,mediumpurple:147,112,219,mediumseagreen:60,179,113,mediumslateblue:123,104,238,mediumspringgreen:0,250,154,mediumturquoise:72,209,204,mediumvioletred:199,21,133,midnightblue:25,25,112,mintcream:245,255,250,mistyrose:255,228,225,moccasin:255,228,181,navajowhite:255,222,173,navy:0,0,128,oldlace:253,245,230,olive:128,128,0,olivedrab:107,142,35,orange:255,165,0,orangered:255,69,0,orchid:218,112,214,palegoldenrod:238,232,170,palegreen:152,251,152,paleturquoise:175,238,238,palevioletred:219,112,147,papayawhip:255,239,213,peachpuff:255,218,185,peru:205,133,63,pink:255,192,203,plum:221,160,221,powderblue:176,224,230,purple:128,0,128,rebeccapurple:102,51,153,red:255,0,0,rosybrown:188,143,143,royalblue:65,105,225,saddlebrown:139,69,19,salmon:250,128,114,sandybrown:244,164,96,seagreen:46,139,87,seashell:255,245,238,sienna:160,82,45,silver:192,192,192,skyblue:135,206,235,slateblue:106,90,205,slategray:112,128,144,slategrey:112,128,144,snow:255,250,250,springgreen:0,255,127,steelblue:70,130,180,tan:210,180,140,teal:0,128,128,thistle:216,191,216,tomato:255,99,71,turquoise:64,224,208,violet:238,130,238,wheat:245,222,179,white:255,255,255,whitesmoke:245,245,245,yellow:255,255,0,yellowgreen:154,205,50},u{getRgba:d,getHsla:h,getRgb:function(t){var ed(t);return e&&e.slice(0,3)},getHsl:function(t){var eh(t);return e&&e.slice(0,3)},getHwb:c,getAlpha:function(t){var ed(t);if(e)return e3;if(eh(t))return e3;if(ec(t))return e3},hexString:function(t,e){evoid 0!e&&3t.length?e:t3;return#+v(t0)+v(t1)+v(t2)+(e>0&&e1?v(Math.round(255*e)):)},rgbString:function(t,e){if(e1||t3&&t31)return f(t,e);returnrgb(+t0+, +t1+, +t2+)},rgbaString:f,percentString:function(t,e){if(e1||t3&&t31)return g(t,e);var nMath.round(t0/255*100),iMath.round(t1/255*100),aMath.round(t2/255*100);returnrgb(+n+%, +i+%, +a+%)},percentaString:g,hslString:function(t,e){if(e1||t3&&t31)return p(t,e);returnhsl(+t0+, +t1+%, +t2+%)},hslaString:p,hwbString:function(t,e){void 0e&&(evoid 0!t3?t3:1);returnhwb(+t0+, +t1+%, +t2+%+(void 0!e&&1!e?, +e:)+)},keyword:function(t){return bt.slice(0,3)}};function d(t){if(t){var e0,0,0,n1,it.match(/^#(a-fA-F0-9{3,4})$/i),a;if(i){a(ii1)3;for(var r0;re.length;r++)erparseInt(ir+ir,16);a&&(nMath.round(parseInt(a+a,16)/255*100)/100)}else if(it.match(/^#(a-fA-F0-9{6}(a-fA-F0-9{2})?)$/i)){ai2,ii1;for(r0;re.length;r++)erparseInt(i.slice(2*r,2*r+2),16);a&&(nMath.round(parseInt(a,16)/255*100)/100)}else if(it.match(/^rgba?\(\s*(+-?\d+)\s*,\s*(+-?\d+)\s*,\s*(+-?\d+)\s*(?:,\s*(+-?\d\.+)\s*)?\)$/i)){for(r0;re.length;r++)erparseInt(ir+1);nparseFloat(i4)}else if(it.match(/^rgba?\(\s*(+-?\d\.+)\%\s*,\s*(+-?\d\.+)\%\s*,\s*(+-?\d\.+)\%\s*(?:,\s*(+-?\d\.+)\s*)?\)$/i)){for(r0;re.length;r++)erMath.round(2.55*parseFloat(ir+1));nparseFloat(i4)}else if(it.match(/(\w+)/)){if(transparenti1)return0,0,0,0;if(!(eli1))return}for(r0;re.length;r++)erm(er,0,255);return nn||0n?m(n,0,1):1,e3n,e}}function h(t){if(t){var et.match(/^hsla?\(\s*(+-?\d+)(?:deg)?\s*,\s*(+-?\d\.+)%\s*,\s*(+-?\d\.+)%\s*(?:,\s*(+-?\d\.+)\s*)?\)/);if(e){var nparseFloat(e4);returnm(parseInt(e1),0,360),m(parseFloat(e2),0,100),m(parseFloat(e3),0,100),m(isNaN(n)?1:n,0,1)}}}function c(t){if(t){var et.match(/^hwb\(\s*(+-?\d+)(?:deg)?\s*,\s*(+-?\d\.+)%\s*,\s*(+-?\d\.+)%\s*(?:,\s*(+-?\d\.+)\s*)?\)/);if(e){var nparseFloat(e4);returnm(parseInt(e1),0,360),m(parseFloat(e2),0,100),m(parseFloat(e3),0,100),m(isNaN(n)?1:n,0,1)}}}function f(t,e){return void 0e&&(evoid 0!t3?t3:1),rgba(+t0+, +t1+, +t2+, +e+)}function g(t,e){returnrgba(+Math.round(t0/255*100)+%, +Math.round(t1/255*100)+%, +Math.round(t2/255*100)+%, +(e||t3||1)+)}function p(t,e){return void 0e&&(evoid 0!t3?t3:1),hsla(+t0+, +t1+%, +t2+%, +e+)}function m(t,e,n){return Math.min(Math.max(e,t),n)}function v(t){var et.toString(16).toUpperCase();return e.length2?0+e:e}var b{};for(var x in l)blxx;var yfunction(t){return t instanceof y?t:this instanceof y?(this.valid!1,this.values{rgb:0,0,0,hsl:0,0,0,hsv:0,0,0,hwb:0,0,0,cmyk:0,0,0,0,alpha:1},void(stringtypeof t?(eu.getRgba(t))?this.setValues(rgb,e):(eu.getHsla(t))?this.setValues(hsl,e):(eu.getHwb(t))&&this.setValues(hwb,e):objecttypeof t&&(void 0!(et).r||void 0!e.red?this.setValues(rgb,e):void 0!e.l||void 0!e.lightness?this.setValues(hsl,e):void 0!e.v||void 0!e.value?this.setValues(hsv,e):void 0!e.w||void 0!e.whiteness?this.setValues(hwb,e):void 0e.c&&void 0e.cyan||this.setValues(cmyk,e)))):new y(t);var e};y.prototype{isValid:function(){return this.valid},rgb:function(){return this.setSpace(rgb,arguments)},hsl:function(){return this.setSpace(hsl,arguments)},hsv:function(){return this.setSpace(hsv,arguments)},hwb:function(){return this.setSpace(hwb,arguments)},cmyk:function(){return this.setSpace(cmyk,arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var tthis.values;return 1!t.alpha?t.hwb.concat(t.alpha):t.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var tthis.values;return t.rgb.concat(t.alpha)},hslaArray:function(){var tthis.values;return t.hsl.concat(t.alpha)},alpha:function(t){return void 0t?this.values.alpha:(this.setValues(alpha,t),this)},red:function(t){return this.setChannel(rgb,0,t)},green:function(t){return this.setChannel(rgb,1,t)},blue:function(t){return this.setChannel(rgb,2,t)},hue:function(t){return t&&(t(t%360)0?360+t:t),this.setChannel(hsl,0,t)},saturation:function(t){return this.setChannel(hsl,1,t)},lightness:function(t){return this.setChannel(hsl,2,t)},saturationv:function(t){return this.setChannel(hsv,1,t)},whiteness:function(t){return this.setChannel(hwb,1,t)},blackness:function(t){return this.setChannel(hwb,2,t)},value:function(t){return this.setChannel(hsv,2,t)},cyan:function(t){return this.setChannel(cmyk,0,t)},magenta:function(t){return this.setChannel(cmyk,1,t)},yellow:function(t){return this.setChannel(cmyk,2,t)},black:function(t){return this.setChannel(cmyk,3,t)},hexString:function(){return u.hexString(this.values.rgb)},rgbString:function(){return u.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return u.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return u.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return u.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return u.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return u.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return u.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var tthis.values.rgb;return t016|t18|t2},luminosity:function(){for(var tthis.values.rgb,e,n0;nt.length;n++){var itn/255;eni.03928?i/12.92:Math.pow((i+.055)/1.055,2.4)}return.2126*e0+.7152*e1+.0722*e2},contrast:function(t){var ethis.luminosity(),nt.luminosity();return e>n?(e+.05)/(n+.05):(n+.05)/(e+.05)},level:function(t){var ethis.contrast(t);return e>7.1?AAA:e>4.5?AA:},dark:function(){var tthis.values.rgb;return(299*t0+587*t1+114*t2)/1e3128},light:function(){return!this.dark()},negate:function(){for(var t,e0;e3;e++)te255-this.values.rgbe;return this.setValues(rgb,t),this},lighten:function(t){var ethis.values.hsl;return e2+e2*t,this.setValues(hsl,e),this},darken:function(t){var ethis.values.hsl;return e2-e2*t,this.setValues(hsl,e),this},saturate:function(t){var ethis.values.hsl;return e1+e1*t,this.setValues(hsl,e),this},desaturate:function(t){var ethis.values.hsl;return e1-e1*t,this.setValues(hsl,e),this},whiten:function(t){var ethis.values.hwb;return e1+e1*t,this.setValues(hwb,e),this},blacken:function(t){var ethis.values.hwb;return e2+e2*t,this.setValues(hwb,e),this},greyscale:function(){var tthis.values.rgb,e.3*t0+.59*t1+.11*t2;return this.setValues(rgb,e,e,e),this},clearer:function(t){var ethis.values.alpha;return this.setValues(alpha,e-e*t),this},opaquer:function(t){var ethis.values.alpha;return this.setValues(alpha,e+e*t),this},rotate:function(t){var ethis.values.hsl,n(e0+t)%360;return e0n0?360+n:n,this.setValues(hsl,e),this},mix:function(t,e){var nt,ivoid 0e?.5:e,a2*i-1,rthis.alpha()-n.alpha(),o((a*r-1?a:(a+r)/(1+a*r))+1)/2,s1-o;return this.rgb(o*this.red()+s*n.red(),o*this.green()+s*n.green(),o*this.blue()+s*n.blue()).alpha(this.alpha()*i+n.alpha()*(1-i))},toJSON:function(){return this.rgb()},clone:function(){var t,e,nnew y,ithis.values,an.values;for(var r in i)i.hasOwnProperty(r)&&(tir,object Array(e{}.toString.call(t))?art.slice(0):object Numbere?art:console.error(unexpected color value:,t));return n}},y.prototype.spaces{rgb:red,green,blue,hsl:hue,saturation,lightness,hsv:hue,saturation,value,hwb:hue,whiteness,blackness,cmyk:cyan,magenta,yellow,black},y.prototype.maxes{rgb:255,255,255,hsl:360,100,100,hsv:360,100,100,hwb:360,100,100,cmyk:100,100,100,100},y.prototype.getValuesfunction(t){for(var ethis.values,n{},i0;it.length;i++)nt.charAt(i)eti;return 1!e.alpha&&(n.ae.alpha),n},y.prototype.setValuesfunction(t,e){var n,i,athis.values,rthis.spaces,othis.maxes,l1;if(this.valid!0,alphat)le;else if(e.length)ate.slice(0,t.length),let.length;else if(void 0!et.charAt(0)){for(n0;nt.length;n++)atnet.charAt(n);le.a}else if(void 0!ert0){var urt;for(n0;nt.length;n++)atneun;le.alpha}if(a.alphaMath.max(0,Math.min(1,void 0l?a.alpha:l)),alphat)return!1;for(n0;nt.length;n++)iMath.max(0,Math.min(otn,atn)),atnMath.round(i);for(var d in r)d!t&&(adstd(at));return!0},y.prototype.setSpacefunction(t,e){var ne0;return void 0n?this.getValues(t):(numbertypeof n&&(nArray.prototype.slice.call(e)),this.setValues(t,n),this)},y.prototype.setChannelfunction(t,e,n){var ithis.valuest;return void 0n?ie:nie?this:(ien,this.setValues(t,i),this)},undefined!typeof window&&(window.Colory);var _,ky,w{noop:function(){},uid:(_0,function(){return _++}),isNullOrUndef:function(t){return nullt},isArray:function(t){if(Array.isArray&&Array.isArray(t))return!0;var eObject.prototype.toString.call(t);returnobjecte.substr(0,7)&&Arraye.substr(-6)},isObject:function(t){return null!t&&object ObjectObject.prototype.toString.call(t)},isFinite:function(t){return(numbertypeof t||t instanceof Number)&&isFinite(t)},valueOrDefault:function(t,e){return void 0t?e:t},valueAtIndexOrDefault:function(t,e,n){return w.valueOrDefault(w.isArray(t)?te:t,n)},callback:function(t,e,n){if(t&&functiontypeof t.call)return t.apply(n,e)},each:function(t,e,n,i){var a,r,o;if(w.isArray(t))if(rt.length,i)for(ar-1;a>0;a--)e.call(n,ta,a);else for(a0;ar;a++)e.call(n,ta,a);else if(w.isObject(t))for(r(oObject.keys(t)).length,a0;ar;a++)e.call(n,toa,oa)},arrayEquals:function(t,e){var n,i,a,r;if(!t||!e||t.length!e.length)return!1;for(n0,it.length;ni;++n)if(atn,ren,a instanceof Array&&r instanceof Array){if(!w.arrayEquals(a,r))return!1}else if(a!r)return!1;return!0},clone:function(t){if(w.isArray(t))return t.map(w.clone);if(w.isObject(t)){for(var e{},nObject.keys(t),in.length,a0;ai;++a)enaw.clone(tna);return e}return t},_merger:function(t,e,n,i){var aet,rnt;w.isObject(a)&&w.isObject(r)?w.merge(a,r,i):etw.clone(r)},_mergerIf:function(t,e,n){var iet,ant;w.isObject(i)&&w.isObject(a)?w.mergeIf(i,a):e.hasOwnProperty(t)||(etw.clone(a))},merge:function(t,e,n){var i,a,r,o,s,lw.isArray(e)?e:e,ul.length;if(!w.isObject(t))return t;for(i(nn||{}).merger||w._merger,a0;au;++a)if(ela,w.isObject(e))for(s0,o(rObject.keys(e)).length;so;++s)i(rs,t,e,n);return t},mergeIf:function(t,e){return w.merge(t,e,{merger:w._mergerIf})},extend:Object.assign||function(t){return w.merge(t,.slice.call(arguments,1),{merger:function(t,e,n){etnt}})},inherits:function(t){var ethis,nt&&t.hasOwnProperty(constructor)?t.constructor:function(){return e.apply(this,arguments)},ifunction(){this.constructorn};return i.prototypee.prototype,n.prototypenew i,n.extendw.inherits,t&&w.extend(n.prototype,t),n.__super__e.prototype,n},_deprecated:function(t,e,n,i){void 0!e&&console.warn(t+: +n+ is deprecated. Please use +i+ instead)}},Mw;w.callCallbackw.callback,w.indexOffunction(t,e,n){return Array.prototype.indexOf.call(t,e,n)},w.getValueOrDefaultw.valueOrDefault,w.getValueAtIndexOrDefaultw.valueAtIndexOrDefault;var S{linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return-t*(t-2)},easeInOutQuad:function(t){return(t/.5)1?.5*t*t:-.5*(--t*(t-2)-1)},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return(t-1)*t*t+1},easeInOutCubic:function(t){return(t/.5)1?.5*t*t*t:.5*((t-2)*t*t+2)},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return-((t-1)*t*t*t-1)},easeInOutQuart:function(t){return(t/.5)1?.5*t*t*t*t:-.5*((t-2)*t*t*t-2)},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return(t-1)*t*t*t*t+1},easeInOutQuint:function(t){return(t/.5)1?.5*t*t*t*t*t:.5*((t-2)*t*t*t*t+2)},easeInSine:function(t){return 1-Math.cos(t*(Math.PI/2))},easeOutSine:function(t){return Math.sin(t*(Math.PI/2))},easeInOutSine:function(t){return-.5*(Math.cos(Math.PI*t)-1)},easeInExpo:function(t){return 0t?0:Math.pow(2,10*(t-1))},easeOutExpo:function(t){return 1t?1:1-Math.pow(2,-10*t)},easeInOutExpo:function(t){return 0t?0:1t?1:(t/.5)1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))},easeInCirc:function(t){return t>1?t:-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math.sqrt(1-(t-1)*t)},easeInOutCirc:function(t){return(t/.5)1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-2)*t)+1)},easeInElastic:function(t){var e1.70158,n0,i1;return 0t?0:1t?1:(n||(n.3),i1?(i1,en/4):en/(2*Math.PI)*Math.asin(1/i),-i*Math.pow(2,10*(t-1))*Math.sin((t-e)*(2*Math.PI)/n))},easeOutElastic:function(t){var e1.70158,n0,i1;return 0t?0:1t?1:(n||(n.3),i1?(i1,en/4):en/(2*Math.PI)*Math.asin(1/i),i*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/n)+1)},easeInOutElastic:function(t){var e1.70158,n0,i1;return 0t?0:2(t/.5)?1:(n||(n.45),i1?(i1,en/4):en/(2*Math.PI)*Math.asin(1/i),t1?i*Math.pow(2,10*(t-1))*Math.sin((t-e)*(2*Math.PI)/n)*-.5:i*Math.pow(2,-10*(t-1))*Math.sin((t-e)*(2*Math.PI)/n)*.5+1)},easeInBack:function(t){var e1.70158;return t*t*((e+1)*t-e)},easeOutBack:function(t){var e1.70158;return(t-1)*t*((e+1)*t+e)+1},easeInOutBack:function(t){var e1.70158;return(t/.5)1?t*t*((1+(e*1.525))*t-e)*.5:.5*((t-2)*t*((1+(e*1.525))*t+e)+2)},easeInBounce:function(t){return 1-S.easeOutBounce(1-t)},easeOutBounce:function(t){return t1/2.75?7.5625*t*t:t2/2.75?7.5625*(t-1.5/2.75)*t+.75:t2.5/2.75?7.5625*(t-2.25/2.75)*t+.9375:7.5625*(t-2.625/2.75)*t+.984375},easeInOutBounce:function(t){return t.5?.5*S.easeInBounce(2*t):.5*S.easeOutBounce(2*t-1)+.5}},C{effects:S};M.easingEffectsS;var PMath.PI,AP/180,D2*P,TP/2,IP/4,F2*P/3,L{clear:function(t){t.ctx.clearRect(0,0,t.width,t.height)},roundedRect:function(t,e,n,i,a,r){if(r){var oMath.min(r,a/2,i/2),se+o,ln+o,ue+i-o,dn+a-o;t.moveTo(e,l),su&&ld?(t.arc(s,l,o,-P,-T),t.arc(u,l,o,-T,0),t.arc(u,d,o,0,T),t.arc(s,d,o,T,P)):su?(t.moveTo(s,n),t.arc(u,l,o,-T,T),t.arc(s,l,o,T,P+T)):ld?(t.arc(s,l,o,-P,0),t.arc(s,d,o,0,P)):t.arc(s,l,o,-P,P),t.closePath(),t.moveTo(e,n)}else t.rect(e,n,i,a)},drawPoint:function(t,e,n,i,a,r){var o,s,l,u,d,h(r||0)*A;if(e&&objecttypeof e&&(object HTMLImageElement(oe.toString())||object HTMLCanvasElemento))return t.save(),t.translate(i,a),t.rotate(h),t.drawImage(e,-e.width/2,-e.height/2,e.width,e.height),void t.restore();if(!(isNaN(n)||n0)){switch(t.beginPath(),e){default:t.arc(i,a,n,0,D),t.closePath();break;casetriangle:t.moveTo(i+Math.sin(h)*n,a-Math.cos(h)*n),h+F,t.lineTo(i+Math.sin(h)*n,a-Math.cos(h)*n),h+F,t.lineTo(i+Math.sin(h)*n,a-Math.cos(h)*n),t.closePath();break;caserectRounded:un-(d.516*n),sMath.cos(h+I)*u,lMath.sin(h+I)*u,t.arc(i-s,a-l,d,h-P,h-T),t.arc(i+l,a-s,d,h-T,h),t.arc(i+s,a+l,d,h,h+T),t.arc(i-l,a+s,d,h+T,h+P),t.closePath();break;caserect:if(!r){uMath.SQRT1_2*n,t.rect(i-u,a-u,2*u,2*u);break}h+I;caserectRot:sMath.cos(h)*n,lMath.sin(h)*n,t.moveTo(i-s,a-l),t.lineTo(i+l,a-s),t.lineTo(i+s,a+l),t.lineTo(i-l,a+s),t.closePath();break;casecrossRot:h+I;casecross:sMath.cos(h)*n,lMath.sin(h)*n,t.moveTo(i-s,a-l),t.lineTo(i+s,a+l),t.moveTo(i+l,a-s),t.lineTo(i-l,a+s);break;casestar:sMath.cos(h)*n,lMath.sin(h)*n,t.moveTo(i-s,a-l),t.lineTo(i+s,a+l),t.moveTo(i+l,a-s),t.lineTo(i-l,a+s),h+I,sMath.cos(h)*n,lMath.sin(h)*n,t.moveTo(i-s,a-l),t.lineTo(i+s,a+l),t.moveTo(i+l,a-s),t.lineTo(i-l,a+s);break;caseline:sMath.cos(h)*n,lMath.sin(h)*n,t.moveTo(i-s,a-l),t.lineTo(i+s,a+l);break;casedash:t.moveTo(i,a),t.lineTo(i+Math.cos(h)*n,a+Math.sin(h)*n)}t.fill(),t.stroke()}},_isPointInArea:function(t,e){return t.x>e.left-1e-6&&t.xe.right+1e-6&&t.y>e.top-1e-6&&t.ye.bottom+1e-6},clipArea:function(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()},unclipArea:function(t){t.restore()},lineTo:function(t,e,n,i){var an.steppedLine;if(a){if(middlea){var r(e.x+n.x)/2;t.lineTo(r,i?n.y:e.y),t.lineTo(r,i?e.y:n.y)}elseaftera&&!i||after!a&&i?t.lineTo(e.x,n.y):t.lineTo(n.x,e.y);t.lineTo(n.x,n.y)}else n.tension?t.bezierCurveTo(i?e.controlPointPreviousX:e.controlPointNextX,i?e.controlPointPreviousY:e.controlPointNextY,i?n.controlPointNextX:n.controlPointPreviousX,i?n.controlPointNextY:n.controlPointPreviousY,n.x,n.y):t.lineTo(n.x,n.y)}},OL;M.clearL.clear,M.drawRoundedRectanglefunction(t){t.beginPath(),L.roundedRect.apply(L,arguments)};var R{_set:function(t,e){return M.merge(thist||(thist{}),e)}};R._set(global,{defaultColor:rgba(0,0,0,0.1),defaultFontColor:#666,defaultFontFamily:Helvetica Neue, Helvetica, Arial, sans-serif,defaultFontSize:12,defaultFontStyle:normal,defaultLineHeight:1.2,showLines:!0});var zR,NM.valueOrDefault;var B{toLineHeight:function(t,e){var n(+t).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!n||normaln1)return 1.2*e;switch(t+n2,n3){casepx:return t;case%:t/100}return e*t},toPadding:function(t){var e,n,i,a;return M.isObject(t)?(e+t.top||0,n+t.right||0,i+t.bottom||0,a+t.left||0):enia+t||0,{top:e,right:n,bottom:i,left:a,height:e+i,width:a+n}},_parseFont:function(t){var ez.global,nN(t.fontSize,e.defaultFontSize),i{family:N(t.fontFamily,e.defaultFontFamily),lineHeight:M.options.toLineHeight(N(t.lineHeight,e.defaultLineHeight),n),size:n,style:N(t.fontStyle,e.defaultFontStyle),weight:null,string:};return i.stringfunction(t){return!t||M.isNullOrUndef(t.size)||M.isNullOrUndef(t.family)?null:(t.style?t.style+ :)+(t.weight?t.weight+ :)+t.size+px +t.family}(i),i},resolve:function(t,e,n,i){var a,r,o,s!0;for(a0,rt.length;ar;++a)if(void 0!(ota)&&(void 0!e&&functiontypeof o&&(oo(e),s!1),void 0!n&&M.isArray(o)&&(oon,s!1),void 0!o))return i&&!s&&(i.cacheable!1),o}},E{_factorize:function(t){var e,n,iMath.sqrt(t);for(e1;ei;e++)t%e0&&(n.push(e),n.push(t/e));return i(0|i)&&n.push(i),n.sort((function(t,e){return t-e})).pop(),n},log10:Math.log10||function(t){var eMath.log(t)*Math.LOG10E,nMath.round(e);return tMath.pow(10,n)?n:e}},WE;M.log10E.log10;var VM,HC,jO,qB,UW,Y{getRtlAdapter:function(t,e,n){return t?function(t,e){return{x:function(n){return t+t+e-n},setWidth:function(t){et},textAlign:function(t){returncentert?t:rightt?left:right},xPlus:function(t,e){return t-e},leftForLtr:function(t,e){return t-e}}}(e,n):{x:function(t){return t},setWidth:function(t){},textAlign:function(t){return t},xPlus:function(t,e){return t+e},leftForLtr:function(t,e){return t}}},overrideTextDirection:function(t,e){var n,i;ltr!e&&rtl!e||(i(nt.canvas.style).getPropertyValue(direction),n.getPropertyPriority(direction),n.setProperty(direction,e,important),t.prevTextDirectioni)},restoreTextDirection:function(t){var et.prevTextDirection;void 0!e&&(delete t.prevTextDirection,t.canvas.style.setProperty(direction,e0,e1))}};V.easingH,V.canvasj,V.optionsq,V.mathU,V.rtlY;var Gfunction(t){V.extend(this,t),this.initialize.apply(this,arguments)};V.extend(G.prototype,{_type:void 0,initialize:function(){this.hidden!1},pivot:function(){var tthis;return t._view||(t._viewV.extend({},t._model)),t._start{},t},transition:function(t){var ethis,ne._model,ie._start,ae._view;return n&&1!t?(a||(ae._view{}),i||(ie._start{}),function(t,e,n,i){var a,r,o,s,l,u,d,h,c,fObject.keys(n);for(a0,rf.length;ar;++a)if(unofa,e.hasOwnProperty(o)||(eou),(seo)!u&&_!o0){if(t.hasOwnProperty(o)||(tos),(dtypeof u)typeof(lto))if(stringd){if((hk(l)).valid&&(ck(u)).valid){eoc.mix(h,i).rgbString();continue}}else if(V.isFinite(l)&&V.isFinite(u)){eol+(u-l)*i;continue}eou}}(i,a,n,t),e):(e._viewV.extend({},n),e._startnull,e)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return V.isNumber(this._model.x)&&V.isNumber(this._model.y)}}),G.extendV.inherits;var XG,KX.extend({chart:null,currentStep:0,numSteps:60,easing:,render:null,onAnimationProgress:null,onAnimationComplete:null}),ZK;Object.defineProperty(K.prototype,animationObject,{get:function(){return this}}),Object.defineProperty(K.prototype,chartInstance,{get:function(){return this.chart},set:function(t){this.chartt}}),z._set(global,{animation:{duration:1e3,easing:easeOutQuart,onProgress:V.noop,onComplete:V.noop}});var ${animations:,request:null,addAnimation:function(t,e,n,i){var a,r,othis.animations;for(e.chartt,e.startTimeDate.now(),e.durationn,i||(t.animating!0),a0,ro.length;ar;++a)if(oa.chartt)return void(oae);o.push(e),1o.length&&this.requestAnimationFrame()},cancelAnimation:function(t){var eV.findIndex(this.animations,(function(e){return e.chartt}));-1!e&&(this.animations.splice(e,1),t.animating!1)},requestAnimationFrame:function(){var tthis;nullt.request&&(t.requestV.requestAnimFrame.call(window,(function(){t.requestnull,t.startDigest()})))},startDigest:function(){this.advance(),this.animations.length>0&&this.requestAnimationFrame()},advance:function(){for(var t,e,n,i,athis.animations,r0;ra.length;)e(tar).chart,nt.numSteps,iMath.floor((Date.now()-t.startTime)/t.duration*n)+1,t.currentStepMath.min(i,n),V.callback(t.render,e,t,e),V.callback(t.onAnimationProgress,t,e),t.currentStep>n?(V.callback(t.onAnimationComplete,t,e),e.animating!1,a.splice(r,1)):++r}},JV.options.resolve,Qpush,pop,shift,splice,unshift;function tt(t,e){var nt._chartjs;if(n){var in.listeners,ai.indexOf(e);-1!a&&i.splice(a,1),i.length>0||(Q.forEach((function(e){delete te})),delete t._chartjs)}}var etfunction(t,e){this.initialize(t,e)};V.extend(et.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:backgroundColor,borderCapStyle,borderColor,borderDash,borderDashOffset,borderJoinStyle,borderWidth,_dataElementOptions:backgroundColor,borderColor,borderWidth,pointStyle,initialize:function(t,e){var nthis;n.chartt,n.indexe,n.linkScales(),n.addElements(),n._typen.getMeta().type},updateIndex:function(t){this.indext},linkScales:function(){var tthis.getMeta(),ethis.chart,ne.scales,ithis.getDataset(),ae.options.scales;null!t.xAxisID&&t.xAxisID in n&&!i.xAxisID||(t.xAxisIDi.xAxisID||a.xAxes0.id),null!t.yAxisID&&t.yAxisID in n&&!i.yAxisID||(t.yAxisIDi.yAxisID||a.yAxes0.id)},getDataset:function(){return this.chart.data.datasetsthis.index},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(t){return this.chart.scalest},_getValueScaleId:function(){return this.getMeta().yAxisID},_getIndexScaleId:function(){return this.getMeta().xAxisID},_getValueScale:function(){return this.getScaleForId(this._getValueScaleId())},_getIndexScale:function(){return this.getScaleForId(this._getIndexScaleId())},reset:function(){this._update(!0)},destroy:function(){this._data&&tt(this._data,this)},createMetaDataset:function(){var tthis.datasetElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(t){var ethis.dataElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index,_index:t})},addElements:function(){var t,e,nthis.getMeta(),ithis.getDataset().data||,an.data;for(t0,ei.length;te;++t)atat||this.createMetaData(t);n.datasetn.dataset||this.createMetaDataset()},addElementAndReset:function(t){var ethis.createMetaData(t);this.getMeta().data.splice(t,0,e),this.updateElement(e,t,!0)},buildOrUpdateElements:function(){var t,e,nthis,in.getDataset(),ai.data||(i.data);n._data!a&&(n._data&&tt(n._data,n),a&&Object.isExtensible(a)&&(en,(ta)._chartjs?t._chartjs.listeners.push(e):(Object.defineProperty(t,_chartjs,{configurable:!0,enumerable:!1,value:{listeners:e}}),Q.forEach((function(e){var nonData+e.charAt(0).toUpperCase()+e.slice(1),ite;Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:function(){var eArray.prototype.slice.call(arguments),ai.apply(this,e);return V.each(t._chartjs.listeners,(function(t){functiontypeof tn&&tn.apply(t,e)})),a}})})))),n._dataa),n.resyncElements()},_configure:function(){this._configV.merge({},this.chart.options.datasetsthis._type,this.getDataset(),{merger:function(t,e,n){_meta!t&&data!t&&V._merger(t,e,n)}})},_update:function(t){this._configure(),this._cachedDataOptsnull,this.update(t)},update:V.noop,transition:function(t){for(var ethis.getMeta(),ne.data||,in.length,a0;ai;++a)na.transition(t);e.dataset&&e.dataset.transition(t)},draw:function(){var tthis.getMeta(),et.data||,ne.length,i0;for(t.dataset&&t.dataset.draw();in;++i)ei.draw()},getStyle:function(t){var e,nthis.getMeta(),in.dataset;return this._configure(),i&&void 0t?ethis._resolveDatasetElementOptions(i||{}):(tt||0,ethis._resolveDataElementOptions(n.datat||{},t)),!1!e.fill&&null!e.fill||(e.backgroundColore.borderColor),e},_resolveDatasetElementOptions:function(t,e){var n,i,a,r,othis,so.chart,lo._config,ut.custom||{},ds.options.elementso.datasetElementType.prototype._type||{},ho._datasetElementOptions,c{},f{chart:s,dataset:o.getDataset(),datasetIndex:o.index,hover:e};for(n0,ih.length;ni;++n)ahn,re?hover+a.charAt(0).toUpperCase()+a.slice(1):a,caJ(ur,lr,dr,f);return c},_resolveDataElementOptions:function(t,e){var nthis,it&&t.custom,an._cachedDataOpts;if(a&&!i)return a;var r,o,s,l,un.chart,dn._config,hu.options.elementsn.dataElementType.prototype._type||{},cn._dataElementOptions,f{},g{chart:u,dataIndex:e,dataset:n.getDataset(),datasetIndex:n.index},p{cacheable:!i};if(ii||{},V.isArray(c))for(o0,sc.length;os;++o)flcoJ(il,dl,hl,g,e,p);else for(o0,s(rObject.keys(c)).length;os;++o)flroJ(il,dcl,dl,hl,g,e,p);return p.cacheable&&(n._cachedDataOptsObject.freeze(f)),f},removeHoverStyle:function(t){V.merge(t._model,t.$previousStyle||{}),delete t.$previousStyle},setHoverStyle:function(t){var ethis.chart.data.datasetst._datasetIndex,nt._index,it.custom||{},at._model,rV.getHoverColor;t.$previousStyle{backgroundColor:a.backgroundColor,borderColor:a.borderColor,borderWidth:a.borderWidth},a.backgroundColorJ(i.hoverBackgroundColor,e.hoverBackgroundColor,r(a.backgroundColor),void 0,n),a.borderColorJ(i.hoverBorderColor,e.hoverBorderColor,r(a.borderColor),void 0,n),a.borderWidthJ(i.hoverBorderWidth,e.hoverBorderWidth,a.borderWidth,void 0,n)},_removeDatasetHoverStyle:function(){var tthis.getMeta().dataset;t&&this.removeHoverStyle(t)},_setDatasetHoverStyle:function(){var t,e,n,i,a,r,othis.getMeta().dataset,s{};if(o){for(ro._model,athis._resolveDatasetElementOptions(o,!0),t0,e(iObject.keys(a)).length;te;++t)snitrn,rnan;o.$previousStyles}},resyncElements:function(){var tthis.getMeta(),ethis.getDataset().data,nt.data.length,ie.length;in?t.data.splice(i,n-i):i>n&&this.insertElements(n,i-n)},insertElements:function(t,e){for(var n0;ne;++n)this.addElementAndReset(t+n)},onDataPush:function(){var targuments.length;this.insertElements(this.getDataset().data.length-t,t)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(t,e){this.getMeta().data.splice(t,e),this.insertElements(t,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),et.extendV.inherits;var ntet,it2*Math.PI;function at(t,e){var ne.startAngle,ie.endAngle,ae.pixelMargin,ra/e.outerRadius,oe.x,se.y;t.beginPath(),t.arc(o,s,e.outerRadius,n-r,i+r),e.innerRadius>a?(ra/e.innerRadius,t.arc(o,s,e.innerRadius-a,i+r,n-r,!0)):t.arc(o,s,a,i+Math.PI/2,n-Math.PI/2),t.closePath(),t.clip()}function rt(t,e,n){var iinnere.borderAlign;i?(t.lineWidth2*e.borderWidth,t.lineJoinround):(t.lineWidthe.borderWidth,t.lineJoinbevel),n.fullCircles&&function(t,e,n,i){var a,rn.endAngle;for(i&&(n.endAnglen.startAngle+it,at(t,n),n.endAngler,n.endAnglen.startAngle&&n.fullCircles&&(n.endAngle+it,n.fullCircles--)),t.beginPath(),t.arc(n.x,n.y,n.innerRadius,n.startAngle+it,n.startAngle,!0),a0;an.fullCircles;++a)t.stroke();for(t.beginPath(),t.arc(n.x,n.y,e.outerRadius,n.startAngle,n.startAngle+it),a0;an.fullCircles;++a)t.stroke()}(t,e,n,i),i&&at(t,n),t.beginPath(),t.arc(n.x,n.y,e.outerRadius,n.startAngle,n.endAngle),t.arc(n.x,n.y,n.innerRadius,n.endAngle,n.startAngle,!0),t.closePath(),t.stroke()}z._set(global,{elements:{arc:{backgroundColor:z.global.defaultColor,borderColor:#fff,borderWidth:2,borderAlign:center}}});var otX.extend({_type:arc,inLabelRange:function(t){var ethis._view;return!!e&&Math.pow(t-e.x,2)Math.pow(e.radius+e.hoverRadius,2)},inRange:function(t,e){var nthis._view;if(n){for(var iV.getAngleFromPoint(n,{x:t,y:e}),ai.angle,ri.distance,on.startAngle,sn.endAngle;so;)s+it;for(;a>s;)a-it;for(;ao;)a+it;var la>o&&as,ur>n.innerRadius&&rn.outerRadius;return l&&u}return!1},getCenterPoint:function(){var tthis._view,e(t.startAngle+t.endAngle)/2,n(t.innerRadius+t.outerRadius)/2;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},getArea:function(){var tthis._view;return Math.PI*((t.endAngle-t.startAngle)/(2*Math.PI))*(Math.pow(t.outerRadius,2)-Math.pow(t.innerRadius,2))},tooltipPosition:function(){var tthis._view,et.startAngle+(t.endAngle-t.startAngle)/2,n(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},draw:function(){var t,ethis._chart.ctx,nthis._view,iinnern.borderAlign?.33:0,a{x:n.x,y:n.y,innerRadius:n.innerRadius,outerRadius:Math.max(n.outerRadius-i,0),pixelMargin:i,startAngle:n.startAngle,endAngle:n.endAngle,fullCircles:Math.floor(n.circumference/it)};if(e.save(),e.fillStylen.backgroundColor,e.strokeStylen.borderColor,a.fullCircles){for(a.endAnglea.startAngle+it,e.beginPath(),e.arc(a.x,a.y,a.outerRadius,a.startAngle,a.endAngle),e.arc(a.x,a.y,a.innerRadius,a.endAngle,a.startAngle,!0),e.closePath(),t0;ta.fullCircles;++t)e.fill();a.endAnglea.startAngle+n.circumference%it}e.beginPath(),e.arc(a.x,a.y,a.outerRadius,a.startAngle,a.endAngle),e.arc(a.x,a.y,a.innerRadius,a.endAngle,a.startAngle,!0),e.closePath(),e.fill(),n.borderWidth&&rt(e,n,a),e.restore()}}),stV.valueOrDefault,ltz.global.defaultColor;z._set(global,{elements:{line:{tension:.4,backgroundColor:lt,borderWidth:3,borderColor:lt,borderCapStyle:butt,borderDash:,borderDashOffset:0,borderJoinStyle:miter,capBezierPoints:!0,fill:!0}}});var utX.extend({_type:line,draw:function(){var t,e,n,ithis,ai._view,ri._chart.ctx,oa.spanGaps,si._children.slice(),lz.global,ul.elements.line,d-1,hi._loop;if(s.length){if(i._loop){for(t0;ts.length;++t)if(eV.previousItem(s,t),!st._view.skip&&e._view.skip){ss.slice(t).concat(s.slice(0,t)),ho;break}h&&s.push(s0)}for(r.save(),r.lineCapa.borderCapStyle||u.borderCapStyle,r.setLineDash&&r.setLineDash(a.borderDash||u.borderDash),r.lineDashOffsetst(a.borderDashOffset,u.borderDashOffset),r.lineJoina.borderJoinStyle||u.borderJoinStyle,r.lineWidthst(a.borderWidth,u.borderWidth),r.strokeStylea.borderColor||l.defaultColor,r.beginPath(),(ns0._view).skip||(r.moveTo(n.x,n.y),d0),t1;ts.length;++t)nst._view,e-1d?V.previousItem(s,t):sd,n.skip||(d!t-1&&!o||-1d?r.moveTo(n.x,n.y):V.canvas.lineTo(r,e._view,n),dt);h&&r.closePath(),r.stroke(),r.restore()}}}),dtV.valueOrDefault,htz.global.defaultColor;function ct(t){var ethis._view;return!!e&&Math.abs(t-e.x)e.radius+e.hitRadius}z._set(global,{elements:{point:{radius:3,pointStyle:circle,backgroundColor:ht,borderColor:ht,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}});var ftX.extend({_type:point,inRange:function(t,e){var nthis._view;return!!n&&Math.pow(t-n.x,2)+Math.pow(e-n.y,2)Math.pow(n.hitRadius+n.radius,2)},inLabelRange:ct,inXRange:ct,inYRange:function(t){var ethis._view;return!!e&&Math.abs(t-e.y)e.radius+e.hitRadius},getCenterPoint:function(){var tthis._view;return{x:t.x,y:t.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var tthis._view;return{x:t.x,y:t.y,padding:t.radius+t.borderWidth}},draw:function(t){var ethis._view,nthis._chart.ctx,ie.pointStyle,ae.rotation,re.radius,oe.x,se.y,lz.global,ul.defaultColor;e.skip||(void 0t||V.canvas._isPointInArea(e,t))&&(n.strokeStylee.borderColor||u,n.lineWidthdt(e.borderWidth,l.elements.point.borderWidth),n.fillStylee.backgroundColor||u,V.canvas.drawPoint(n,i,r,o,s,a))}}),gtz.global.defaultColor;function pt(t){return t&&void 0!t.width}function mt(t){var e,n,i,a,r;return pt(t)?(rt.width/2,et.x-r,nt.x+r,iMath.min(t.y,t.base),aMath.max(t.y,t.base)):(rt.height/2,eMath.min(t.x,t.base),nMath.max(t.x,t.base),it.y-r,at.y+r),{left:e,top:i,right:n,bottom:a}}function vt(t,e,n){return te?n:tn?e:t}function bt(t,e,n){var i,a,r,o,st.borderWidth,lfunction(t){var et.borderSkipped,n{};return e?(t.horizontal?t.base>t.x&&(evt(e,left,right)):t.baset.y&&(evt(e,bottom,top)),ne!0,n):n}(t);return V.isObject(s)?(i+s.top||0,a+s.right||0,r+s.bottom||0,o+s.left||0):iaro+s||0,{t:l.top||i0?0:i>n?n:i,r:l.right||a0?0:a>e?e:a,b:l.bottom||r0?0:r>n?n:r,l:l.left||o0?0:o>e?e:o}}function xt(t,e,n){var inulle,anulln,r!(!t||i&&a)&&mt(t);return r&&(i||e>r.left&&er.right)&&(a||n>r.top&&nr.bottom)}z._set(global,{elements:{rectangle:{backgroundColor:gt,borderColor:gt,borderSkipped:bottom,borderWidth:0}}});var ytX.extend({_type:rectangle,draw:function(){var tthis._chart.ctx,ethis._view,nfunction(t){var emt(t),ne.right-e.left,ie.bottom-e.top,abt(t,n/2,i/2);return{outer:{x:e.left,y:e.top,w:n,h:i},inner:{x:e.left+a.l,y:e.top+a.t,w:n-a.l-a.r,h:i-a.t-a.b}}}(e),in.outer,an.inner;t.fillStylee.backgroundColor,t.fillRect(i.x,i.y,i.w,i.h),i.wa.w&&i.ha.h||(t.save(),t.beginPath(),t.rect(i.x,i.y,i.w,i.h),t.clip(),t.fillStylee.borderColor,t.rect(a.x,a.y,a.w,a.h),t.fill(evenodd),t.restore())},height:function(){var tthis._view;return t.base-t.y},inRange:function(t,e){return xt(this._view,t,e)},inLabelRange:function(t,e){var nthis._view;return pt(n)?xt(n,t,null):xt(n,null,e)},inXRange:function(t){return xt(this._view,t,null)},inYRange:function(t){return xt(this._view,null,t)},getCenterPoint:function(){var t,e,nthis._view;return pt(n)?(tn.x,e(n.y+n.base)/2):(t(n.x+n.base)/2,en.y),{x:t,y:e}},getArea:function(){var tthis._view;return pt(t)?t.width*Math.abs(t.y-t.base):t.height*Math.abs(t.x-t.base)},tooltipPosition:function(){var tthis._view;return{x:t.x,y:t.y}}}),_t{},ktot,wtut,Mtft,Styt;_t.Arckt,_t.Linewt,_t.PointMt,_t.RectangleSt;var CtV._deprecated,PtV.valueOrDefault;function At(t,e,n){var i,a,rn.barThickness,oe.stackCount,se.pixelst,lV.isNullOrUndef(r)?function(t,e){var n,i,a,r,ot._length;for(a1,re.length;ar;++a)oMath.min(o,Math.abs(ea-ea-1));for(a0,rt.getTicks().length;ar;++a)it.getPixelForTick(a),oa>0?Math.min(o,Math.abs(i-n)):o,ni;return o}(e.scale,e.pixels):-1;return V.isNullOrUndef(r)?(il*n.categoryPercentage,an.barPercentage):(ir*o,a1),{chunk:i/o,ratio:a,start:s-i/2}}z._set(bar,{hover:{mode:label},scales:{xAxes:{type:category,offset:!0,gridLines:{offsetGridLines:!0}},yAxes:{type:linear}}}),z._set(global,{datasets:{bar:{categoryPercentage:.8,barPercentage:.9}}});var Dtnt.extend({dataElementType:_t.Rectangle,_dataElementOptions:backgroundColor,borderColor,borderSkipped,borderWidth,barPercentage,barThickness,categoryPercentage,maxBarThickness,minBarLength,initialize:function(){var t,e,nthis;nt.prototype.initialize.apply(n,arguments),(tn.getMeta()).stackn.getDataset().stack,t.bar!0,en._getIndexScale().options,Ct(bar chart,e.barPercentage,scales.x/yAxes.barPercentage,dataset.barPercentage),Ct(bar chart,e.barThickness,scales.x/yAxes.barThickness,dataset.barThickness),Ct(bar chart,e.categoryPercentage,scales.x/yAxes.categoryPercentage,dataset.categoryPercentage),Ct(bar chart,n._getValueScale().options.minBarLength,scales.x/yAxes.minBarLength,dataset.minBarLength),Ct(bar chart,e.maxBarThickness,scales.x/yAxes.maxBarThickness,dataset.maxBarThickness)},update:function(t){var e,n,ithis.getMeta().data;for(this._rulerthis.getRuler(),e0,ni.length;en;++e)this.updateElement(ie,e,t)},updateElement:function(t,e,n){var ithis,ai.getMeta(),ri.getDataset(),oi._resolveDataElementOptions(t,e);t._xScalei.getScaleForId(a.xAxisID),t._yScalei.getScaleForId(a.yAxisID),t._datasetIndexi.index,t._indexe,t._model{backgroundColor:o.backgroundColor,borderColor:o.borderColor,borderSkipped:o.borderSkipped,borderWidth:o.borderWidth,datasetLabel:r.label,label:i.chart.data.labelse},V.isArray(r.datae)&&(t._model.borderSkippednull),i._updateElementGeometry(t,e,n,o),t.pivot()},_updateElementGeometry:function(t,e,n,i){var athis,rt._model,oa._getValueScale(),so.getBasePixel(),lo.isHorizontal(),ua._ruler||a.getRuler(),da.calculateBarValuePixels(a.index,e,i),ha.calculateBarIndexPixels(a.index,e,u,i);r.horizontall,r.basen?s:d.base,r.xl?n?s:d.head:h.center,r.yl?h.center:n?s:d.head,r.heightl?h.size:void 0,r.widthl?void 0:h.size},_getStacks:function(t){var e,n,ithis._getIndexScale(),ai._getMatchingVisibleMetas(this._type),ri.options.stacked,oa.length,s;for(e0;eo&&(nae,(!1r||-1s.indexOf(n.stack)||void 0r&&void 0n.stack)&&s.push(n.stack),n.index!t);++e);return s},getStackCount:function(){return this._getStacks().length},getStackIndex:function(t,e){var nthis._getStacks(t),ivoid 0!e?n.indexOf(e):-1;return-1i?n.length-1:i},getRuler:function(){var t,e,nthis._getIndexScale(),i;for(t0,ethis.getMeta().data.length;te;++t)i.push(n.getPixelForValue(null,t,this.index));return{pixels:i,start:n._startPixel,end:n._endPixel,stackCount:this.getStackCount(),scale:n}},calculateBarValuePixels:function(t,e,n){var i,a,r,o,s,l,u,dthis.chart,hthis._getValueScale(),ch.isHorizontal(),fd.data.datasets,gh._getMatchingVisibleMetas(this._type),ph._parseValue(ft.datae),mn.minBarLength,vh.options.stacked,bthis.getMeta().stack,xvoid 0p.start?0:p.max>0&&p.min>0?p.min:p.max,yvoid 0p.start?p.end:p.max>0&&p.min>0?p.max-p.min:p.min-p.max,_g.length;if(v||void 0v&&void 0!b)for(i0;i_&&(agi).index!t;++i)a.stackb&&(rvoid 0(uh._parseValue(fa.index.datae)).start?u.end:u.min>0&&u.max>0?u.max:u.min,(p.min0&&r0||p.max>0&&r>0)&&(x+r));return oh.getPixelForValue(x),l(sh.getPixelForValue(x+y))-o,void 0!m&&Math.abs(l)m&&(lm,sy>0&&!c||y0&&c?o-m:o+m),{size:l,base:o,head:s,center:s+l/2}},calculateBarIndexPixels:function(t,e,n,i){var aflexi.barThickness?function(t,e,n){var i,ae.pixels,rat,ot>0?at-1:null,sta.length-1?at+1:null,ln.categoryPercentage;return nullo&&(or-(nulls?e.end-e.start:s-r)),nulls&&(sr+r-o),ir-(r-Math.min(o,s))/2*l,{chunk:Math.abs(s-o)/2*l/e.stackCount,ratio:n.barPercentage,start:i}}(e,n,i):At(e,n,i),rthis.getStackIndex(t,this.getMeta().stack),oa.start+a.chunk*r+a.chunk/2,sMath.min(Pt(i.maxBarThickness,1/0),a.chunk*a.ratio);return{base:o-s/2,head:o+s/2,center:o,size:s}},draw:function(){var tthis.chart,ethis._getValueScale(),nthis.getMeta().data,ithis.getDataset(),an.length,r0;for(V.canvas.clipArea(t.ctx,t.chartArea);ra;++r){var oe._parseValue(i.datar);isNaN(o.min)||isNaN(o.max)||nr.draw()}V.canvas.unclipArea(t.ctx)},_resolveDataElementOptions:function(){var tthis,eV.extend({},nt.prototype._resolveDataElementOptions.apply(t,arguments)),nt._getIndexScale().options,it._getValueScale().options;return e.barPercentagePt(n.barPercentage,e.barPercentage),e.barThicknessPt(n.barThickness,e.barThickness),e.categoryPercentagePt(n.categoryPercentage,e.categoryPercentage),e.maxBarThicknessPt(n.maxBarThickness,e.maxBarThickness),e.minBarLengthPt(i.minBarLength,e.minBarLength),e}}),TtV.valueOrDefault,ItV.options.resolve;z._set(bubble,{hover:{mode:single},scales:{xAxes:{type:linear,position:bottom,id:x-axis-0},yAxes:{type:linear,position:left,id:y-axis-0}},tooltips:{callbacks:{title:function(){return},label:function(t,e){var ne.datasetst.datasetIndex.label||,ie.datasetst.datasetIndex.datat.index;return n+: (+t.xLabel+, +t.yLabel+, +i.r+)}}}});var Ftnt.extend({dataElementType:_t.Point,_dataElementOptions:backgroundColor,borderColor,borderWidth,hoverBackgroundColor,hoverBorderColor,hoverBorderWidth,hoverRadius,hitRadius,pointStyle,rotation,update:function(t){var ethis,ne.getMeta().data;V.each(n,(function(n,i){e.updateElement(n,i,t)}))},updateElement:function(t,e,n){var ithis,ai.getMeta(),rt.custom||{},oi.getScaleForId(a.xAxisID),si.getScaleForId(a.yAxisID),li._resolveDataElementOptions(t,e),ui.getDataset().datae,di.index,hn?o.getPixelForDecimal(.5):o.getPixelForValue(objecttypeof u?u:NaN,e,d),cn?s.getBasePixel():s.getPixelForValue(u,e,d);t._xScaleo,t._yScales,t._optionsl,t._datasetIndexd,t._indexe,t._model{backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,hitRadius:l.hitRadius,pointStyle:l.pointStyle,rotation:l.rotation,radius:n?0:l.radius,skip:r.skip||isNaN(h)||isNaN(c),x:h,y:c},t.pivot()},setHoverStyle:function(t){var et._model,nt._options,iV.getHoverColor;t.$previousStyle{backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColorTt(n.hoverBackgroundColor,i(n.backgroundColor)),e.borderColorTt(n.hoverBorderColor,i(n.borderColor)),e.borderWidthTt(n.hoverBorderWidth,n.borderWidth),e.radiusn.radius+n.hoverRadius},_resolveDataElementOptions:function(t,e){var nthis,in.chart,an.getDataset(),rt.custom||{},oa.datae||{},snt.prototype._resolveDataElementOptions.apply(n,arguments),l{chart:i,dataIndex:e,dataset:a,datasetIndex:n.index};return n._cachedDataOptss&&(sV.extend({},s)),s.radiusIt(r.radius,o.r,n._config.radius,i.options.elements.point.radius,l,e),s}}),LtV.valueOrDefault,OtMath.PI,Rt2*Ot,ztOt/2;z._set(doughnut,{animation:{animateRotate:!0,animateScale:!1},hover:{mode:single},legendCallback:function(t){var e,n,i,adocument.createElement(ul),rt.data,or.datasets,sr.labels;if(a.setAttribute(class,t.id+-legend),o.length)for(e0,no0.data.length;en;++e)(ia.appendChild(document.createElement(li))).appendChild(document.createElement(span)).style.backgroundColoro0.backgroundColore,se&&i.appendChild(document.createTextNode(se));return a.outerHTML},legend:{labels:{generateLabels:function(t){var et.data;return e.labels.length&&e.datasets.length?e.labels.map((function(n,i){var at.getDatasetMeta(0),ra.controller.getStyle(i);return{text:n,fillStyle:r.backgroundColor,strokeStyle:r.borderColor,lineWidth:r.borderWidth,hidden:isNaN(e.datasets0.datai)||a.datai.hidden,index:i}})):}},onClick:function(t,e){var n,i,a,re.index,othis.chart;for(n0,i(o.data.datasets||).length;ni;++n)(ao.getDatasetMeta(n)).datar&&(a.datar.hidden!a.datar.hidden);o.update()}},cutoutPercentage:50,rotation:-zt,circumference:Rt,tooltips:{callbacks:{title:function(){return},label:function(t,e){var ne.labelst.index,i: +e.datasetst.datasetIndex.datat.index;return V.isArray(n)?(nn.slice())0+i:n+i,n}}}});var Ntnt.extend({dataElementType:_t.Arc,linkScales:V.noop,_dataElementOptions:backgroundColor,borderColor,borderWidth,borderAlign,hoverBackgroundColor,hoverBorderColor,hoverBorderWidth,getRingIndex:function(t){for(var e0,n0;nt;++n)this.chart.isDatasetVisible(n)&&++e;return e},update:function(t){var e,n,i,a,rthis,or.chart,so.chartArea,lo.options,u1,d1,h0,c0,fr.getMeta(),gf.data,pl.cutoutPercentage/100||0,ml.circumference,vr._getRingWeight(r.index);if(mRt){var bl.rotation%Rt,x(b+b>Ot?-Rt:b-Ot?Rt:0)+m,yMath.cos(b),_Math.sin(b),kMath.cos(x),wMath.sin(x),Mb0&&x>0||x>Rt,Sbzt&&x>zt||x>Rt+zt,Cb-zt&&x>-zt||x>Ot+zt,Pb-Ot||x>Ot?-1:Math.min(y,y*p,k,k*p),AC?-1:Math.min(_,_*p,w,w*p),DM?1:Math.max(y,y*p,k,k*p),TS?1:Math.max(_,_*p,w,w*p);u(D-P)/2,d(T-A)/2,h-(D+P)/2,c-(T+A)/2}for(i0,ag.length;ia;++i)gi._optionsr._resolveDataElementOptions(gi,i);for(o.borderWidthr.getMaxBorderWidth(),e(s.right-s.left-o.borderWidth)/u,n(s.bottom-s.top-o.borderWidth)/d,o.outerRadiusMath.max(Math.min(e,n)/2,0),o.innerRadiusMath.max(o.outerRadius*p,0),o.radiusLength(o.outerRadius-o.innerRadius)/(r._getVisibleDatasetWeightTotal()||1),o.offsetXh*o.outerRadius,o.offsetYc*o.outerRadius,f.totalr.calculateTotal(),r.outerRadiuso.outerRadius-o.radiusLength*r._getRingWeightOffset(r.index),r.innerRadiusMath.max(r.outerRadius-o.radiusLength*v,0),i0,ag.length;ia;++i)r.updateElement(gi,i,t)},updateElement:function(t,e,n){var ithis,ai.chart,ra.chartArea,oa.options,so.animation,l(r.left+r.right)/2,u(r.top+r.bottom)/2,do.rotation,ho.rotation,ci.getDataset(),fn&&s.animateRotate?0:t.hidden?0:i.calculateCircumference(c.datae)*(o.circumference/Rt),gn&&s.animateScale?0:i.innerRadius,pn&&s.animateScale?0:i.outerRadius,mt._options||{};V.extend(t,{_datasetIndex:i.index,_index:e,_model:{backgroundColor:m.backgroundColor,borderColor:m.borderColor,borderWidth:m.borderWidth,borderAlign:m.borderAlign,x:l+a.offsetX,y:u+a.offsetY,startAngle:d,endAngle:h,circumference:f,outerRadius:p,innerRadius:g,label:V.valueAtIndexOrDefault(c.label,e,a.data.labelse)}});var vt._model;n&&s.animateRotate||(v.startAngle0e?o.rotation:i.getMeta().datae-1._model.endAngle,v.endAnglev.startAngle+v.circumference),t.pivot()},calculateTotal:function(){var t,ethis.getDataset(),nthis.getMeta(),i0;return V.each(n.data,(function(n,a){te.dataa,isNaN(t)||n.hidden||(i+Math.abs(t))})),i},calculateCircumference:function(t){var ethis.getMeta().total;return e>0&&!isNaN(t)?Rt*(Math.abs(t)/e):0},getMaxBorderWidth:function(t){var e,n,i,a,r,o,s,l,u0,dthis.chart;if(!t)for(e0,nd.data.datasets.length;en;++e)if(d.isDatasetVisible(e)){t(id.getDatasetMeta(e)).data,e!this.index&&(ri.controller);break}if(!t)return 0;for(e0,nt.length;en;++e)ate,r?(r._configure(),or._resolveDataElementOptions(a,e)):oa._options,inner!o.borderAlign&&(so.borderWidth,u(lo.hoverBorderWidth)>(us>u?s:u)?l:u);return u},setHoverStyle:function(t){var et._model,nt._options,iV.getHoverColor;t.$previousStyle{backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth},e.backgroundColorLt(n.hoverBackgroundColor,i(n.backgroundColor)),e.borderColorLt(n.hoverBorderColor,i(n.borderColor)),e.borderWidthLt(n.hoverBorderWidth,n.borderWidth)},_getRingWeightOffset:function(t){for(var e0,n0;nt;++n)this.chart.isDatasetVisible(n)&&(e+this._getRingWeight(n));return e},_getRingWeight:function(t){return Math.max(Lt(this.chart.data.datasetst.weight,1),0)},_getVisibleDatasetWeightTotal:function(){return this._getRingWeightOffset(this.chart.data.datasets.length)}});z._set(horizontalBar,{hover:{mode:index,axis:y},scales:{xAxes:{type:linear,position:bottom},yAxes:{type:category,position:left,offset:!0,gridLines:{offsetGridLines:!0}}},elements:{rectangle:{borderSkipped:left}},tooltips:{mode:index,axis:y}}),z._set(global,{datasets:{horizontalBar:{categoryPercentage:.8,barPercentage:.9}}});var BtDt.extend({_getValueScaleId:function(){return this.getMeta().xAxisID},_getIndexScaleId:function(){return this.getMeta().yAxisID}}),EtV.valueOrDefault,WtV.options.resolve,VtV.canvas._isPointInArea;function Ht(t,e){var nt&&t.options.ticks||{},in.reverse,avoid 0n.min?e:0,rvoid 0n.max?e:0;return{start:i?r:a,end:i?a:r}}function jt(t,e,n){var in/2,aHt(t,i),rHt(e,i);return{top:r.end,right:a.end,bottom:r.start,left:a.start}}function qt(t){var e,n,i,a;return V.isObject(t)?(et.top,nt.right,it.bottom,at.left):eniat,{top:e,right:n,bottom:i,left:a}}z._set(line,{showLines:!0,spanGaps:!1,hover:{mode:label},scales:{xAxes:{type:category,id:x-axis-0},yAxes:{type:linear,id:y-axis-0}}});var Utnt.extend({datasetElementType:_t.Line,dataElementType:_t.Point,_datasetElementOptions:backgroundColor,borderCapStyle,borderColor,borderDash,borderDashOffset,borderJoinStyle,borderWidth,cubicInterpolationMode,fill,_dataElementOptions:{backgroundColor:pointBackgroundColor,borderColor:pointBorderColor,borderWidth:pointBorderWidth,hitRadius:pointHitRadius,hoverBackgroundColor:pointHoverBackgroundColor,hoverBorderColor:pointHoverBorderColor,hoverBorderWidth:pointHoverBorderWidth,hoverRadius:pointHoverRadius,pointStyle:pointStyle,radius:pointRadius,rotation:pointRotation},update:function(t){var e,n,ithis,ai.getMeta(),ra.dataset,oa.data||,si.chart.options,li._config,ui._showLineEt(l.showLine,s.showLines);for(i._xScalei.getScaleForId(a.xAxisID),i._yScalei.getScaleForId(a.yAxisID),u&&(void 0!l.tension&&void 0l.lineTension&&(l.lineTensionl.tension),r._scalei._yScale,r._datasetIndexi.index,r._childreno,r._modeli._resolveDatasetElementOptions(r),r.pivot()),e0,no.length;en;++e)i.updateElement(oe,e,t);for(u&&0!r._model.tension&&i.updateBezierControlPoints(),e0,no.length;en;++e)oe.pivot()},updateElement:function(t,e,n){var i,a,rthis,or.getMeta(),st.custom||{},lr.getDataset(),ur.index,dl.datae,hr._xScale,cr._yScale,fo.dataset._model,gr._resolveDataElementOptions(t,e);ih.getPixelForValue(objecttypeof d?d:NaN,e,u),an?c.getBasePixel():r.calculatePointY(d,e,u),t._xScaleh,t._yScalec,t._optionsg,t._datasetIndexu,t._indexe,t._model{x:i,y:a,skip:s.skip||isNaN(i)||isNaN(a),radius:g.radius,pointStyle:g.pointStyle,rotation:g.rotation,backgroundColor:g.backgroundColor,borderColor:g.borderColor,borderWidth:g.borderWidth,tension:Et(s.tension,f?f.tension:0),steppedLine:!!f&&f.steppedLine,hitRadius:g.hitRadius}},_resolveDatasetElementOptions:function(t){var ethis,ne._config,it.custom||{},ae.chart.options,ra.elements.line,ont.prototype._resolveDatasetElementOptions.apply(e,arguments);return o.spanGapsEt(n.spanGaps,a.spanGaps),o.tensionEt(n.lineTension,r.tension),o.steppedLineWt(i.steppedLine,n.steppedLine,r.stepped),o.clipqt(Et(n.clip,jt(e._xScale,e._yScale,o.borderWidth))),o},calculatePointY:function(t,e,n){var i,a,r,o,s,l,u,dthis.chart,hthis._yScale,c0,f0;if(h.options.stacked){for(s+h.getRightValue(t),u(ld._getSortedVisibleDatasetMetas()).length,i0;iu&&(rli).index!n;++i)ad.data.datasetsr.index,liner.type&&r.yAxisIDh.id&&((o+h.getRightValue(a.datae))0?f+o||0:c+o||0);return s0?h.getPixelForValue(f+s):h.getPixelForValue(c+s)}return h.getPixelForValue(t)},updateBezierControlPoints:function(){var t,e,n,i,athis.chart,rthis.getMeta(),or.dataset._model,sa.chartArea,lr.data||;function u(t,e,n){return Math.max(Math.min(t,n),e)}if(o.spanGaps&&(ll.filter((function(t){return!t._model.skip}))),monotoneo.cubicInterpolationMode)V.splineCurveMonotone(l);else for(t0,el.length;te;++t)nlt._model,iV.splineCurve(V.previousItem(l,t)._model,n,V.nextItem(l,t)._model,o.tension),n.controlPointPreviousXi.previous.x,n.controlPointPreviousYi.previous.y,n.controlPointNextXi.next.x,n.controlPointNextYi.next.y;if(a.options.elements.line.capBezierPoints)for(t0,el.length;te;++t)nlt._model,Vt(n,s)&&(t>0&&Vt(lt-1._model,s)&&(n.controlPointPreviousXu(n.controlPointPreviousX,s.left,s.right),n.controlPointPreviousYu(n.controlPointPreviousY,s.top,s.bottom)),tl.length-1&&Vt(lt+1._model,s)&&(n.controlPointNextXu(n.controlPointNextX,s.left,s.right),n.controlPointNextYu(n.controlPointNextY,s.top,s.bottom)))},draw:function(){var t,ethis.chart,nthis.getMeta(),in.data||,ae.chartArea,re.canvas,o0,si.length;for(this._showLine&&(tn.dataset._model.clip,V.canvas.clipArea(e.ctx,{left:!1t.left?0:a.left-t.left,right:!1t.right?r.width:a.right+t.right,top:!1t.top?0:a.top-t.top,bottom:!1t.bottom?r.height:a.bottom+t.bottom}),n.dataset.draw(),V.canvas.unclipArea(e.ctx));os;++o)io.draw(a)},setHoverStyle:function(t){var et._model,nt._options,iV.getHoverColor;t.$previousStyle{backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColorEt(n.hoverBackgroundColor,i(n.backgroundColor)),e.borderColorEt(n.hoverBorderColor,i(n.borderColor)),e.borderWidthEt(n.hoverBorderWidth,n.borderWidth),e.radiusEt(n.hoverRadius,n.radius)}}),YtV.options.resolve;z._set(polarArea,{scale:{type:radialLinear,angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(t){var e,n,i,adocument.createElement(ul),rt.data,or.datasets,sr.labels;if(a.setAttribute(class,t.id+-legend),o.length)for(e0,no0.data.length;en;++e)(ia.appendChild(document.createElement(li))).appendChild(document.createElement(span)).style.backgroundColoro0.backgroundColore,se&&i.appendChild(document.createTextNode(se));return a.outerHTML},legend:{labels:{generateLabels:function(t){var et.data;return e.labels.length&&e.datasets.length?e.labels.map((function(n,i){var at.getDatasetMeta(0),ra.controller.getStyle(i);return{text:n,fillStyle:r.backgroundColor,strokeStyle:r.borderColor,lineWidth:r.borderWidth,hidden:isNaN(e.datasets0.datai)||a.datai.hidden,index:i}})):}},onClick:function(t,e){var n,i,a,re.index,othis.chart;for(n0,i(o.data.datasets||).length;ni;++n)(ao.getDatasetMeta(n)).datar.hidden!a.datar.hidden;o.update()}},tooltips:{callbacks:{title:function(){return},label:function(t,e){return e.labelst.index+: +t.yLabel}}}});var Gtnt.extend({dataElementType:_t.Arc,linkScales:V.noop,_dataElementOptions:backgroundColor,borderColor,borderWidth,borderAlign,hoverBackgroundColor,hoverBorderColor,hoverBorderWidth,_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(t){var e,n,i,athis,ra.getDataset(),oa.getMeta(),sa.chart.options.startAngle||0,la._starts,ua._angles,do.data;for(a._updateRadius(),o.counta.countVisibleElements(),e0,nr.data.length;en;e++)les,ia._computeAngle(e),uei,s+i;for(e0,nd.length;en;++e)de._optionsa._resolveDataElementOptions(de,e),a.updateElement(de,e,t)},_updateRadius:function(){var tthis,et.chart,ne.chartArea,ie.options,aMath.min(n.right-n.left,n.bottom-n.top);e.outerRadiusMath.max(a/2,0),e.innerRadiusMath.max(i.cutoutPercentage?e.outerRadius/100*i.cutoutPercentage:1,0),e.radiusLength(e.outerRadius-e.innerRadius)/e.getVisibleDatasetCount(),t.outerRadiuse.outerRadius-e.radiusLength*t.index,t.innerRadiust.outerRadius-e.radiusLength},updateElement:function(t,e,n){var ithis,ai.chart,ri.getDataset(),oa.options,so.animation,la.scale,ua.data.labels,dl.xCenter,hl.yCenter,co.startAngle,ft.hidden?0:l.getDistanceFromCenterForValue(r.datae),gi._startse,pg+(t.hidden?0:i._anglese),ms.animateScale?0:l.getDistanceFromCenterForValue(r.datae),vt._options||{};V.extend(t,{_datasetIndex:i.index,_index:e,_scale:l,_model:{backgroundColor:v.backgroundColor,borderColor:v.borderColor,borderWidth:v.borderWidth,borderAlign:v.borderAlign,x:d,y:h,innerRadius:0,outerRadius:n?m:f,startAngle:n&&s.animateRotate?c:g,endAngle:n&&s.animateRotate?c:p,label:V.valueAtIndexOrDefault(u,e,ue)}}),t.pivot()},countVisibleElements:function(){var tthis.getDataset(),ethis.getMeta(),n0;return V.each(e.data,(function(e,i){isNaN(t.datai)||e.hidden||n++})),n},setHoverStyle:function(t){var et._model,nt._options,iV.getHoverColor,aV.valueOrDefault;t.$previousStyle{backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth},e.backgroundColora(n.hoverBackgroundColor,i(n.backgroundColor)),e.borderColora(n.hoverBorderColor,i(n.borderColor)),e.borderWidtha(n.hoverBorderWidth,n.borderWidth)},_computeAngle:function(t){var ethis,nthis.getMeta().count,ie.getDataset(),ae.getMeta();if(isNaN(i.datat)||a.datat.hidden)return 0;var r{chart:e.chart,dataIndex:t,dataset:i,datasetIndex:e.index};return Yt(e.chart.options.elements.arc.angle,2*Math.PI/n,r,t)}});z._set(pie,V.clone(z.doughnut)),z._set(pie,{cutoutPercentage:0});var XtNt,KtV.valueOrDefault;z._set(radar,{spanGaps:!1,scale:{type:radialLinear},elements:{line:{fill:start,tension:0}}});var Ztnt.extend({datasetElementType:_t.Line,dataElementType:_t.Point,linkScales:V.noop,_datasetElementOptions:backgroundColor,borderWidth,borderColor,borderCapStyle,borderDash,borderDashOffset,borderJoinStyle,fill,_dataElementOptions:{backgroundColor:pointBackgroundColor,borderColor:pointBorderColor,borderWidth:pointBorderWidth,hitRadius:pointHitRadius,hoverBackgroundColor:pointHoverBackgroundColor,hoverBorderColor:pointHoverBorderColor,hoverBorderWidth:pointHoverBorderWidth,hoverRadius:pointHoverRadius,pointStyle:pointStyle,radius:pointRadius,rotation:pointRotation},_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(t){var e,n,ithis,ai.getMeta(),ra.dataset,oa.data||,si.chart.scale,li._config;for(void 0!l.tension&&void 0l.lineTension&&(l.lineTensionl.tension),r._scales,r._datasetIndexi.index,r._childreno,r._loop!0,r._modeli._resolveDatasetElementOptions(r),r.pivot(),e0,no.length;en;++e)i.updateElement(oe,e,t);for(i.updateBezierControlPoints(),e0,no.length;en;++e)oe.pivot()},updateElement:function(t,e,n){var ithis,at.custom||{},ri.getDataset(),oi.chart.scale,so.getPointPositionForValue(e,r.datae),li._resolveDataElementOptions(t,e),ui.getMeta().dataset._model,dn?o.xCenter:s.x,hn?o.yCenter:s.y;t._scaleo,t._optionsl,t._datasetIndexi.index,t._indexe,t._model{x:d,y:h,skip:a.skip||isNaN(d)||isNaN(h),radius:l.radius,pointStyle:l.pointStyle,rotation:l.rotation,backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,tension:Kt(a.tension,u?u.tension:0),hitRadius:l.hitRadius}},_resolveDatasetElementOptions:function(){var tthis,et._config,nt.chart.options,int.prototype._resolveDatasetElementOptions.apply(t,arguments);return i.spanGapsKt(e.spanGaps,n.spanGaps),i.tensionKt(e.lineTension,n.elements.line.tension),i},updateBezierControlPoints:function(){var t,e,n,i,athis.getMeta(),rthis.chart.chartArea,oa.data||;function s(t,e,n){return Math.max(Math.min(t,n),e)}for(a.dataset._model.spanGaps&&(oo.filter((function(t){return!t._model.skip}))),t0,eo.length;te;++t)not._model,iV.splineCurve(V.previousItem(o,t,!0)._model,n,V.nextItem(o,t,!0)._model,n.tension),n.controlPointPreviousXs(i.previous.x,r.left,r.right),n.controlPointPreviousYs(i.previous.y,r.top,r.bottom),n.controlPointNextXs(i.next.x,r.left,r.right),n.controlPointNextYs(i.next.y,r.top,r.bottom)},setHoverStyle:function(t){var et._model,nt._options,iV.getHoverColor;t.$previousStyle{backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColorKt(n.hoverBackgroundColor,i(n.backgroundColor)),e.borderColorKt(n.hoverBorderColor,i(n.borderColor)),e.borderWidthKt(n.hoverBorderWidth,n.borderWidth),e.radiusKt(n.hoverRadius,n.radius)}});z._set(scatter,{hover:{mode:single},scales:{xAxes:{id:x-axis-1,type:linear,position:bottom},yAxes:{id:y-axis-1,type:linear,position:left}},tooltips:{callbacks:{title:function(){return},label:function(t){return(+t.xLabel+, +t.yLabel+)}}}}),z._set(global,{datasets:{scatter:{showLine:!1}}});var $t{bar:Dt,bubble:Ft,doughnut:Nt,horizontalBar:Bt,line:Ut,polarArea:Gt,pie:Xt,radar:Zt,scatter:Ut};function Jt(t,e){return t.native?{x:t.x,y:t.y}:V.getRelativePosition(t,e)}function Qt(t,e){var n,i,a,r,o,s,lt._getSortedVisibleDatasetMetas();for(i0,rl.length;ir;++i)for(a0,o(nli.data).length;ao;++a)(sna)._view.skip||e(s)}function te(t,e){var n;return Qt(t,(function(t){t.inRange(e.x,e.y)&&n.push(t)})),n}function ee(t,e,n,i){var aNumber.POSITIVE_INFINITY,r;return Qt(t,(function(t){if(!n||t.inRange(e.x,e.y)){var ot.getCenterPoint(),si(e,o);sa?(rt,as):sa&&r.push(t)}})),r}function ne(t){var e-1!t.indexOf(x),n-1!t.indexOf(y);return function(t,i){var ae?Math.abs(t.x-i.x):0,rn?Math.abs(t.y-i.y):0;return Math.sqrt(Math.pow(a,2)+Math.pow(r,2))}}function ie(t,e,n){var iJt(e,t);n.axisn.axis||x;var ane(n.axis),rn.intersect?te(t,i):ee(t,i,!1,a),o;return r.length?(t._getSortedVisibleDatasetMetas().forEach((function(t){var et.datar0._index;e&&!e._view.skip&&o.push(e)})),o):}var ae{modes:{single:function(t,e){var nJt(e,t),i;return Qt(t,(function(t){if(t.inRange(n.x,n.y))return i.push(t),i})),i.slice(0,1)},label:ie,index:ie,dataset:function(t,e,n){var iJt(e,t);n.axisn.axis||xy;var ane(n.axis),rn.intersect?te(t,i):ee(t,i,!1,a);return r.length>0&&(rt.getDatasetMeta(r0._datasetIndex).data),r},x-axis:function(t,e){return ie(t,e,{intersect:!1})},point:function(t,e){return te(t,Jt(e,t))},nearest:function(t,e,n){var iJt(e,t);n.axisn.axis||xy;var ane(n.axis);return ee(t,i,n.intersect,a)},x:function(t,e,n){var iJt(e,t),a,r!1;return Qt(t,(function(t){t.inXRange(i.x)&&a.push(t),t.inRange(i.x,i.y)&&(r!0)})),n.intersect&&!r&&(a),a},y:function(t,e,n){var iJt(e,t),a,r!1;return Qt(t,(function(t){t.inYRange(i.y)&&a.push(t),t.inRange(i.x,i.y)&&(r!0)})),n.intersect&&!r&&(a),a}}},reV.extend;function oe(t,e){return V.where(t,(function(t){return t.pose}))}function se(t,e){return t.sort((function(t,n){var ie?n:t,ae?t:n;return i.weighta.weight?i.index-a.index:i.weight-a.weight}))}function le(t,e,n,i){return Math.max(tn,en)+Math.max(ti,ei)}function ue(t,e,n){var i,a,rn.box,ot.maxPadding;if(n.size&&(tn.pos-n.size),n.sizen.horizontal?r.height:r.width,tn.pos+n.size,r.getPadding){var sr.getPadding();o.topMath.max(o.top,s.top),o.leftMath.max(o.left,s.left),o.bottomMath.max(o.bottom,s.bottom),o.rightMath.max(o.right,s.right)}if(ie.outerWidth-le(o,t,left,right),ae.outerHeight-le(o,t,top,bottom),i!t.w||a!t.h)return t.wi,t.ha,n.horizontal?i!t.w:a!t.h}function de(t,e){var ne.maxPadding;function i(t){var i{left:0,top:0,right:0,bottom:0};return t.forEach((function(t){itMath.max(et,nt)})),i}return i(t?left,right:top,bottom)}function he(t,e,n){var i,a,r,o,s,l,u;for(i0,at.length;ia;++i)(o(rti).box).update(r.width||e.w,r.height||e.h,de(r.horizontal,e)),ue(e,n,r)&&(l!0,u.length&&(s!0)),o.fullWidth||u.push(r);return s&&he(u,e,n)||l}function ce(t,e,n){var i,a,r,o,sn.padding,le.x,ue.y;for(i0,at.length;ia;++i)o(rti).box,r.horizontal?(o.lefto.fullWidth?s.left:e.left,o.righto.fullWidth?n.outerWidth-s.right:e.left+e.w,o.topu,o.bottomu+o.height,o.widtho.right-o.left,uo.bottom):(o.leftl,o.rightl+o.width,o.tope.top,o.bottome.top+e.h,o.heighto.bottom-o.top,lo.right);e.xl,e.yu}z._set(global,{layout:{padding:{top:0,right:0,bottom:0,left:0}}});var fe,ge{defaults:{},addBox:function(t,e){t.boxes||(t.boxes),e.fullWidthe.fullWidth||!1,e.positione.position||top,e.weighte.weight||0,e._layerse._layers||function(){return{z:0,draw:function(){e.draw.apply(e,arguments)}}},t.boxes.push(e)},removeBox:function(t,e){var nt.boxes?t.boxes.indexOf(e):-1;-1!n&&t.boxes.splice(n,1)},configure:function(t,e,n){for(var i,afullWidth,position,weight,ra.length,o0;or;++o)iao,n.hasOwnProperty(i)&&(eini)},update:function(t,e,n){if(t){var it.options.layout||{},aV.options.toPadding(i.padding),re-a.width,on-a.height,sfunction(t){var efunction(t){var e,n,i,a;for(e0,n(t||).length;en;++e)ite,a.push({index:e,box:i,pos:i.position,horizontal:i.isHorizontal(),weight:i.weight});return a}(t),nse(oe(e,left),!0),ise(oe(e,right)),ase(oe(e,top),!0),rse(oe(e,bottom));return{leftAndTop:n.concat(a),rightAndBottom:i.concat(r),chartArea:oe(e,chartArea),vertical:n.concat(i),horizontal:a.concat(r)}}(t.boxes),ls.vertical,us.horizontal,dObject.freeze({outerWidth:e,outerHeight:n,padding:a,availableWidth:r,vBoxMaxWidth:r/2/l.length,hBoxMaxHeight:o/2}),hre({maxPadding:re({},a),w:r,h:o,x:a.left,y:a.top},a);!function(t,e){var n,i,a;for(n0,it.length;ni;++n)(atn).widtha.horizontal?a.box.fullWidth&&e.availableWidth:e.vBoxMaxWidth,a.heighta.horizontal&&e.hBoxMaxHeight}(l.concat(u),d),he(l,h,d),he(u,h,d)&&he(l,h,d),function(t){var et.maxPadding;function n(n){var iMath.max(en-tn,0);return tn+i,i}t.y+n(top),t.x+n(left),n(right),n(bottom)}(h),ce(s.leftAndTop,h,d),h.x+h.w,h.y+h.h,ce(s.rightAndBottom,h,d),t.chartArea{left:h.left,top:h.top,right:h.left+h.w,bottom:h.top+h.h},V.each(s.chartArea,(function(e){var ne.box;re(n,t.chartArea),n.update(h.w,h.h)}))}}},pe(feObject.freeze({__proto__:null,default:@keyframes chartjs-render-animation{from{opacity:.99}to{opacity:1}}.chartjs-render-monitor{animation:chartjs-render-animation 1ms}.chartjs-size-monitor,.chartjs-size-monitor-expand,.chartjs-size-monitor-shrink{position:absolute;direction:ltr;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1}.chartjs-size-monitor-expand>div{position:absolute;width:1000000px;height:1000000px;left:0;top:0}.chartjs-size-monitor-shrink>div{position:absolute;width:200%;height:200%;left:0;top:0}}))&&fe.default||fe,me$chartjs,vechartjs-size-monitor,bechartjs-render-monitor,xechartjs-render-animation,yeanimationstart,webkitAnimationStart,_e{touchstart:mousedown,touchmove:mousemove,touchend:mouseup,pointerenter:mouseenter,pointerdown:mousedown,pointermove:mousemove,pointerup:mouseup,pointerleave:mouseout,pointerout:mouseout};function ke(t,e){var nV.getStyle(t,e),in&&n.match(/^(\d+)(\.\d+)?px$/);return i?Number(i1):void 0}var we!!function(){var t!1;try{var eObject.defineProperty({},passive,{get:function(){t!0}});window.addEventListener(e,null,e)}catch(t){}return t}()&&{passive:!0};function Me(t,e,n){t.addEventListener(e,n,we)}function Se(t,e,n){t.removeEventListener(e,n,we)}function Ce(t,e,n,i,a){return{type:t,chart:e,native:a||null,x:void 0!n?n:null,y:void 0!i?i:null}}function Pe(t){var edocument.createElement(div);return e.classNamet||,e}function Ae(t,e,n){var i,a,r,o,stme||(tme{}),ls.resizerfunction(t){var ePe(ve),nPe(ve+-expand),iPe(ve+-shrink);n.appendChild(Pe()),i.appendChild(Pe()),e.appendChild(n),e.appendChild(i),e._resetfunction(){n.scrollLeft1e6,n.scrollTop1e6,i.scrollLeft1e6,i.scrollTop1e6};var afunction(){e._reset(),t()};return Me(n,scroll,a.bind(n,expand)),Me(i,scroll,a.bind(i,shrink)),e}((ifunction(){if(s.resizer){var in.options.maintainAspectRatio&&t.parentNode,ai?i.clientWidth:0;e(Ce(resize,n)),i&&i.clientWidtha&&n.canvas&&e(Ce(resize,n))}},r!1,o,function(){oArray.prototype.slice.call(arguments),aa||this,r||(r!0,V.requestAnimFrame.call(window,(function(){r!1,i.apply(a,o)})))}));!function(t,e){var ntme||(tme{}),in.renderProxyfunction(t){t.animationNamexe&&e()};V.each(ye,(function(e){Me(t,e,i)})),n.reflow!!t.offsetParent,t.classList.add(be)}(t,(function(){if(s.resizer){var et.parentNode;e&&e!l.parentNode&&e.insertBefore(l,e.firstChild),l._reset()}}))}function De(t){var etme||{},ne.resizer;delete e.resizer,function(t){var etme||{},ne.renderProxy;n&&(V.each(ye,(function(e){Se(t,e,n)})),delete e.renderProxy),t.classList.remove(be)}(t),n&&n.parentNode&&n.parentNode.removeChild(n)}var Te{disableCSSInjection:!1,_enabled:undefined!typeof window&&undefined!typeof document,_ensureLoaded:function(t){if(!this.disableCSSInjection){var et.getRootNode?t.getRootNode():document;!function(t,e){var ntme||(tme{});if(!n.containsStyles){n.containsStyles!0,e/* Chart.js */\n+e;var idocument.createElement(style);i.setAttribute(type,text/css),i.appendChild(document.createTextNode(e)),t.appendChild(i)}}(e.host?e:document.head,pe)}},acquireContext:function(t,e){stringtypeof t?tdocument.getElementById(t):t.length&&(tt0),t&&t.canvas&&(tt.canvas);var nt&&t.getContext&&t.getContext(2d);return n&&n.canvast?(this._ensureLoaded(t),function(t,e){var nt.style,it.getAttribute(height),at.getAttribute(width);if(tme{initial:{height:i,width:a,style:{display:n.display,height:n.height,width:n.width}}},n.displayn.display||block,nulla||a){var rke(t,width);void 0!r&&(t.widthr)}if(nulli||i)if(t.style.height)t.heightt.width/(e.options.aspectRatio||2);else{var oke(t,height);void 0!r&&(t.heighto)}}(t,e),n):null},releaseContext:function(t){var et.canvas;if(eme){var neme.initial;height,width.forEach((function(t){var int;V.isNullOrUndef(i)?e.removeAttribute(t):e.setAttribute(t,i)})),V.each(n.style||{},(function(t,n){e.stylent})),e.widthe.width,delete eme}},addEventListener:function(t,e,n){var it.canvas;if(resize!e){var anme||(nme{});Me(i,e,(a.proxies||(a.proxies{}))t.id+_+efunction(e){n(function(t,e){var n_et.type||t.type,iV.getRelativePosition(t,e);return Ce(n,e,i.x,i.y,t)}(e,t))})}else Ae(i,n,t)},removeEventListener:function(t,e,n){var it.canvas;if(resize!e){var a((nme||{}).proxies||{})t.id+_+e;a&&Se(i,e,a)}else De(i)}};V.addEventMe,V.removeEventSe;var IeTe._enabled?Te:{acquireContext:function(t){return t&&t.canvas&&(tt.canvas),t&&t.getContext(2d)||null}},FeV.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},Ie);z._set(global,{plugins:{}});var Le{_plugins:,_cacheId:0,register:function(t){var ethis._plugins;.concat(t).forEach((function(t){-1e.indexOf(t)&&e.push(t)})),this._cacheId++},unregister:function(t){var ethis._plugins;.concat(t).forEach((function(t){var ne.indexOf(t);-1!n&&e.splice(n,1)})),this._cacheId++},clear:function(){this._plugins,this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(t,e,n){var i,a,r,o,s,lthis.descriptors(t),ul.length;for(i0;iu;++i)if(functiontypeof(s(r(ali).plugin)e)&&((ot.concat(n||)).push(a.options),!1s.apply(r,o)))return!1;return!0},descriptors:function(t){var et.$plugins||(t.$plugins{});if(e.idthis._cacheId)return e.descriptors;var n,i,at&&t.config||{},ra.options&&a.options.plugins||{};return this._plugins.concat(a.plugins||).forEach((function(t){if(-1n.indexOf(t)){var et.id,are;!1!a&&(!0a&&(aV.clone(z.global.pluginse)),n.push(t),i.push({plugin:t,options:a||{}}))}})),e.descriptorsi,e.idthis._cacheId,i},_invalidate:function(t){delete t.$plugins}},Oe{constructors:{},defaults:{},registerScaleType:function(t,e,n){this.constructorste,this.defaultstV.clone(n)},getScaleConstructor:function(t){return this.constructors.hasOwnProperty(t)?this.constructorst:void 0},getScaleDefaults:function(t){return this.defaults.hasOwnProperty(t)?V.merge({},z.scale,this.defaultst):{}},updateScaleDefaults:function(t,e){this.defaults.hasOwnProperty(t)&&(this.defaultstV.extend(this.defaultst,e))},addScalesToLayout:function(t){V.each(t.scales,(function(e){e.fullWidthe.options.fullWidth,e.positione.options.position,e.weighte.options.weight,ge.addBox(t,e)}))}},ReV.valueOrDefault,zeV.rtl.getRtlAdapter;z._set(global,{tooltips:{enabled:!0,custom:null,mode:nearest,position:average,intersect:!0,backgroundColor:rgba(0,0,0,0.8),titleFontStyle:bold,titleSpacing:2,titleMarginBottom:6,titleFontColor:#fff,titleAlign:left,bodySpacing:2,bodyFontColor:#fff,bodyAlign:left,footerFontStyle:bold,footerSpacing:2,footerMarginTop:6,footerFontColor:#fff,footerAlign:left,yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:#fff,displayColors:!0,borderColor:rgba(0,0,0,0),borderWidth:0,callbacks:{beforeTitle:V.noop,title:function(t,e){var n,ie.labels,ai?i.length:0;if(t.length>0){var rt0;r.label?nr.label:r.xLabel?nr.xLabel:a>0&&r.indexa&&(nir.index)}return n},afterTitle:V.noop,beforeBody:V.noop,beforeLabel:V.noop,label:function(t,e){var ne.datasetst.datasetIndex.label||;return n&&(n+: ),V.isNullOrUndef(t.value)?n+t.yLabel:n+t.value,n},labelColor:function(t,e){var ne.getDatasetMeta(t.datasetIndex).datat.index._view;return{borderColor:n.borderColor,backgroundColor:n.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:V.noop,afterBody:V.noop,beforeFooter:V.noop,footer:V.noop,afterFooter:V.noop}}});var Ne{average:function(t){if(!t.length)return!1;var e,n,i0,a0,r0;for(e0,nt.length;en;++e){var ote;if(o&&o.hasValue()){var so.tooltipPosition();i+s.x,a+s.y,++r}}return{x:i/r,y:a/r}},nearest:function(t,e){var n,i,a,re.x,oe.y,sNumber.POSITIVE_INFINITY;for(n0,it.length;ni;++n){var ltn;if(l&&l.hasValue()){var ul.getCenterPoint(),dV.distanceBetweenPoints(e,u);ds&&(sd,al)}}if(a){var ha.tooltipPosition();rh.x,oh.y}return{x:r,y:o}}};function Be(t,e){return e&&(V.isArray(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function Ee(t){return(stringtypeof t||t instanceof String)&&t.indexOf(\n)>-1?t.split(\n):t}function We(t){var ez.global;return{xPadding:t.xPadding,yPadding:t.yPadding,xAlign:t.xAlign,yAlign:t.yAlign,rtl:t.rtl,textDirection:t.textDirection,bodyFontColor:t.bodyFontColor,_bodyFontFamily:Re(t.bodyFontFamily,e.defaultFontFamily),_bodyFontStyle:Re(t.bodyFontStyle,e.defaultFontStyle),_bodyAlign:t.bodyAlign,bodyFontSize:Re(t.bodyFontSize,e.defaultFontSize),bodySpacing:t.bodySpacing,titleFontColor:t.titleFontColor,_titleFontFamily:Re(t.titleFontFamily,e.defaultFontFamily),_titleFontStyle:Re(t.titleFontStyle,e.defaultFontStyle),titleFontSize:Re(t.titleFontSize,e.defaultFontSize),_titleAlign:t.titleAlign,titleSpacing:t.titleSpacing,titleMarginBottom:t.titleMarginBottom,footerFontColor:t.footerFontColor,_footerFontFamily:Re(t.footerFontFamily,e.defaultFontFamily),_footerFontStyle:Re(t.footerFontStyle,e.defaultFontStyle),footerFontSize:Re(t.footerFontSize,e.defaultFontSize),_footerAlign:t.footerAlign,footerSpacing:t.footerSpacing,footerMarginTop:t.footerMarginTop,caretSize:t.caretSize,cornerRadius:t.cornerRadius,backgroundColor:t.backgroundColor,opacity:0,legendColorBackground:t.multiKeyBackground,displayColors:t.displayColors,borderColor:t.borderColor,borderWidth:t.borderWidth}}function Ve(t,e){returncentere?t.x+t.width/2:righte?t.x+t.width-t.xPadding:t.x+t.xPadding}function He(t){return Be(,Ee(t))}var jeX.extend({initialize:function(){this._modelWe(this._options),this._lastActive},getTitle:function(){var tthis,et._options,ne.callbacks,in.beforeTitle.apply(t,arguments),an.title.apply(t,arguments),rn.afterTitle.apply(t,arguments),o;return oBe(o,Ee(i)),oBe(o,Ee(a)),oBe(o,Ee(r))},getBeforeBody:function(){return He(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(t,e){var nthis,in._options.callbacks,a;return V.each(t,(function(t){var r{before:,lines:,after:};Be(r.before,Ee(i.beforeLabel.call(n,t,e))),Be(r.lines,i.label.call(n,t,e)),Be(r.after,Ee(i.afterLabel.call(n,t,e))),a.push(r)})),a},getAfterBody:function(){return He(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var tthis,et._options.callbacks,ne.beforeFooter.apply(t,arguments),ie.footer.apply(t,arguments),ae.afterFooter.apply(t,arguments),r;return rBe(r,Ee(n)),rBe(r,Ee(i)),rBe(r,Ee(a))},update:function(t){var e,n,i,a,r,o,s,l,u,d,hthis,ch._options,fh._model,gh._modelWe(c),ph._active,mh._data,v{xAlign:f.xAlign,yAlign:f.yAlign},b{x:f.x,y:f.y},x{width:f.width,height:f.height},y{x:f.caretX,y:f.caretY};if(p.length){g.opacity1;var _,k;yNec.position.call(h,p,h._eventPosition);var w;for(e0,np.length;en;++e)w.push((ipe,avoid 0,rvoid 0,ovoid 0,svoid 0,lvoid 0,uvoid 0,dvoid 0,ai._xScale,ri._yScale||i._scale,oi._index,si._datasetIndex,li._chart.getDatasetMeta(s).controller,ul._getIndexScale(),dl._getValueScale(),{xLabel:a?a.getLabelForIndex(o,s):,yLabel:r?r.getLabelForIndex(o,s):,label:u?+u.getLabelForIndex(o,s):,value:d?+d.getLabelForIndex(o,s):,index:o,datasetIndex:s,x:i._model.x,y:i._model.y}));c.filter&&(ww.filter((function(t){return c.filter(t,m)}))),c.itemSort&&(ww.sort((function(t,e){return c.itemSort(t,e,m)}))),V.each(w,(function(t){_.push(c.callbacks.labelColor.call(h,t,h._chart)),k.push(c.callbacks.labelTextColor.call(h,t,h._chart))})),g.titleh.getTitle(w,m),g.beforeBodyh.getBeforeBody(w,m),g.bodyh.getBody(w,m),g.afterBodyh.getAfterBody(w,m),g.footerh.getFooter(w,m),g.xy.x,g.yy.y,g.caretPaddingc.caretPadding,g.labelColors_,g.labelTextColorsk,g.dataPointsw,xfunction(t,e){var nt._chart.ctx,i2*e.yPadding,a0,re.body,or.reduce((function(t,e){return t+e.before.length+e.lines.length+e.after.length}),0);o+e.beforeBody.length+e.afterBody.length;var se.title.length,le.footer.length,ue.titleFontSize,de.bodyFontSize,he.footerFontSize;i+s*u,i+s?(s-1)*e.titleSpacing:0,i+s?e.titleMarginBottom:0,i+o*d,i+o?(o-1)*e.bodySpacing:0,i+l?e.footerMarginTop:0,i+l*h,i+l?(l-1)*e.footerSpacing:0;var c0,ffunction(t){aMath.max(a,n.measureText(t).width+c)};return n.fontV.fontString(u,e._titleFontStyle,e._titleFontFamily),V.each(e.title,f),n.fontV.fontString(d,e._bodyFontStyle,e._bodyFontFamily),V.each(e.beforeBody.concat(e.afterBody),f),ce.displayColors?d+2:0,V.each(r,(function(t){V.each(t.before,f),V.each(t.lines,f),V.each(t.after,f)})),c0,n.fontV.fontString(h,e._footerFontStyle,e._footerFontFamily),V.each(e.footer,f),{width:a+2*e.xPadding,height:i}}(this,g),bfunction(t,e,n,i){var at.x,rt.y,ot.caretSize,st.caretPadding,lt.cornerRadius,un.xAlign,dn.yAlign,ho+s,cl+s;returnrightu?a-e.width:centeru&&((a-e.width/2)+e.width>i.width&&(ai.width-e.width),a0&&(a0)),topd?r+h:r-bottomd?e.height+h:e.height/2,centerd?leftu?a+h:rightu&&(a-h):leftu?a-c:rightu&&(a+c),{x:a,y:r}}(g,x,vfunction(t,e){var n,i,a,r,o,st._model,lt._chart,ut._chart.chartArea,dcenter,hcenter;s.ye.height?htop:s.y>l.height-e.height&&(hbottom);var c(u.left+u.right)/2,f(u.top+u.bottom)/2;centerh?(nfunction(t){return tc},ifunction(t){return t>c}):(nfunction(t){return te.width/2},ifunction(t){return t>l.width-e.width/2}),afunction(t){return t+e.width+s.caretSize+s.caretPadding>l.width},rfunction(t){return t-e.width-s.caretSize-s.caretPadding0},ofunction(t){return tf?top:bottom},n(s.x)?(dleft,a(s.x)&&(dcenter,ho(s.y))):i(s.x)&&(dright,r(s.x)&&(dcenter,ho(s.y)));var gt._options;return{xAlign:g.xAlign?g.xAlign:d,yAlign:g.yAlign?g.yAlign:h}}(this,x),h._chart)}else g.opacity0;return g.xAlignv.xAlign,g.yAlignv.yAlign,g.xb.x,g.yb.y,g.widthx.width,g.heightx.height,g.caretXy.x,g.caretYy.y,h._modelg,t&&c.custom&&c.custom.call(h,g),h},drawCaret:function(t,e){var nthis._chart.ctx,ithis._view,athis.getCaretPosition(t,e,i);n.lineTo(a.x1,a.y1),n.lineTo(a.x2,a.y2),n.lineTo(a.x3,a.y3)},getCaretPosition:function(t,e,n){var i,a,r,o,s,l,un.caretSize,dn.cornerRadius,hn.xAlign,cn.yAlign,ft.x,gt.y,pe.width,me.height;if(centerc)sg+m/2,lefth?(a(if)-u,ri,os+u,ls-u):(a(if+p)+u,ri,os-u,ls+u);else if(lefth?(i(af+d+u)-u,ra+u):righth?(i(af+p-d-u)-u,ra+u):(i(an.caretX)-u,ra+u),topc)s(og)-u,lo;else{s(og+m)+u,lo;var vr;ri,iv}return{x1:i,x2:a,x3:r,y1:o,y2:s,y3:l}},drawTitle:function(t,e,n){var i,a,r,oe.title,so.length;if(s){var lze(e.rtl,e.x,e.width);for(t.xVe(e,e._titleAlign),n.textAlignl.textAlign(e._titleAlign),n.textBaselinemiddle,ie.titleFontSize,ae.titleSpacing,n.fillStylee.titleFontColor,n.fontV.fontString(i,e._titleFontStyle,e._titleFontFamily),r0;rs;++r)n.fillText(or,l.x(t.x),t.y+i/2),t.y+i+a,r+1s&&(t.y+e.titleMarginBottom-a)}},drawBody:function(t,e,n){var i,a,r,o,s,l,u,d,he.bodyFontSize,ce.bodySpacing,fe._bodyAlign,ge.body,pe.displayColors,m0,vp?Ve(e,left):0,bze(e.rtl,e.x,e.width),xfunction(e){n.fillText(e,b.x(t.x+m),t.y+h/2),t.y+h+c},yb.textAlign(f);for(n.textAlignf,n.textBaselinemiddle,n.fontV.fontString(h,e._bodyFontStyle,e._bodyFontFamily),t.xVe(e,y),n.fillStylee.bodyFontColor,V.each(e.beforeBody,x),mp&&right!y?centerf?h/2+1:h+2:0,s0,ug.length;su;++s){for(igs,ae.labelTextColorss,re.labelColorss,n.fillStylea,V.each(i.before,x),l0,d(oi.lines).length;ld;++l){if(p){var _b.x(v);n.fillStylee.legendColorBackground,n.fillRect(b.leftForLtr(_,h),t.y,h,h),n.lineWidth1,n.strokeStyler.borderColor,n.strokeRect(b.leftForLtr(_,h),t.y,h,h),n.fillStyler.backgroundColor,n.fillRect(b.leftForLtr(b.xPlus(_,1),h-2),t.y+1,h-2,h-2),n.fillStylea}x(ol)}V.each(i.after,x)}m0,V.each(e.afterBody,x),t.y-c},drawFooter:function(t,e,n){var i,a,re.footer,or.length;if(o){var sze(e.rtl,e.x,e.width);for(t.xVe(e,e._footerAlign),t.y+e.footerMarginTop,n.textAligns.textAlign(e._footerAlign),n.textBaselinemiddle,ie.footerFontSize,n.fillStylee.footerFontColor,n.fontV.fontString(i,e._footerFontStyle,e._footerFontFamily),a0;ao;++a)n.fillText(ra,s.x(t.x),t.y+i/2),t.y+i+e.footerSpacing}},drawBackground:function(t,e,n,i){n.fillStylee.backgroundColor,n.strokeStylee.borderColor,n.lineWidthe.borderWidth;var ae.xAlign,re.yAlign,ot.x,st.y,li.width,ui.height,de.cornerRadius;n.beginPath(),n.moveTo(o+d,s),topr&&this.drawCaret(t,i),n.lineTo(o+l-d,s),n.quadraticCurveTo(o+l,s,o+l,s+d),centerr&&righta&&this.drawCaret(t,i),n.lineTo(o+l,s+u-d),n.quadraticCurveTo(o+l,s+u,o+l-d,s+u),bottomr&&this.drawCaret(t,i),n.lineTo(o+d,s+u),n.quadraticCurveTo(o,s+u,o,s+u-d),centerr&&lefta&&this.drawCaret(t,i),n.lineTo(o,s+d),n.quadraticCurveTo(o,s,o+d,s),n.closePath(),n.fill(),e.borderWidth>0&&n.stroke()},draw:function(){var tthis._chart.ctx,ethis._view;if(0!e.opacity){var n{width:e.width,height:e.height},i{x:e.x,y:e.y},aMath.abs(e.opacity.001)?0:e.opacity,re.title.length||e.beforeBody.length||e.body.length||e.afterBody.length||e.footer.length;this._options.enabled&&r&&(t.save(),t.globalAlphaa,this.drawBackground(i,e,t,n),i.y+e.yPadding,V.rtl.overrideTextDirection(t,e.textDirection),this.drawTitle(i,e,t),this.drawBody(i,e,t),this.drawFooter(i,e,t),V.rtl.restoreTextDirection(t,e.textDirection),t.restore())}},handleEvent:function(t){var e,nthis,in._options;return n._lastActiven._lastActive||,mouseoutt.type?n._active:(n._activen._chart.getElementsAtEventForMode(t,i.mode,i),i.reverse&&n._active.reverse()),(e!V.arrayEquals(n._active,n._lastActive))&&(n._lastActiven._active,(i.enabled||i.custom)&&(n._eventPosition{x:t.x,y:t.y},n.update(!0),n.pivot())),e}}),qeNe,Ueje;Ue.positionersqe;var YeV.valueOrDefault;function Ge(){return V.merge({},.slice.call(arguments),{merger:function(t,e,n,i){if(xAxest||yAxest){var a,r,o,snt.length;for(et||(et),a0;as;++a)onta,rYe(o.type,xAxest?category:linear),a>et.length&&et.push({}),!eta.type||o.type&&o.type!eta.type?V.merge(eta,Oe.getScaleDefaults(r),o):V.merge(eta,o)}else V._merger(t,e,n,i)}})}function Xe(){return V.merge({},.slice.call(arguments),{merger:function(t,e,n,i){var aet||{},rnt;scalest?etGe(a,r):scalet?etV.merge(a,Oe.getScaleDefaults(r.type),r):V._merger(t,e,n,i)}})}function Ke(t){var et.options;V.each(t.scales,(function(e){ge.removeBox(t,e)})),eXe(z.global,zt.config.type,e),t.optionst.config.optionse,t.ensureScalesHaveIDs(),t.buildOrUpdateScales(),t.tooltip._optionse.tooltips,t.tooltip.initialize()}function Ze(t,e,n){var i,afunction(t){return t.idi};do{ie+n++}while(V.findIndex(t,a)>0);return i}function $e(t){returntopt||bottomt}function Je(t,e){return function(n,i){return ntit?ne-ie:nt-it}}z._set(global,{elements:{},events:mousemove,mouseout,click,touchstart,touchmove,hover:{onHover:null,mode:nearest,intersect:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive:!0,responsiveAnimationDuration:0});var Qefunction(t,e){return this.construct(t,e),this};V.extend(Qe.prototype,{construct:function(t,e){var nthis;efunction(t){var e(tt||{}).datat.data||{};return e.datasetse.datasets||,e.labelse.labels||,t.optionsXe(z.global,zt.type,t.options||{}),t}(e);var iFe.acquireContext(t,e),ai&&i.canvas,ra&&a.height,oa&&a.width;n.idV.uid(),n.ctxi,n.canvasa,n.confige,n.widtho,n.heightr,n.aspectRatior?o/r:null,n.optionse.options,n._bufferedRender!1,n._layers,n.chartn,n.controllern,Qe.instancesn.idn,Object.defineProperty(n,data,{get:function(){return n.config.data},set:function(t){n.config.datat}}),i&&a?(n.initialize(),n.update()):console.error(Failed to create chart: cant acquire context from the given item)},initialize:function(){var tthis;return Le.notify(t,beforeInit),V.retinaScale(t,t.options.devicePixelRatio),t.bindEvents(),t.options.responsive&&t.resize(!0),t.initToolTip(),Le.notify(t,afterInit),t},clear:function(){return V.canvas.clear(this),this},stop:function(){return $.cancelAnimation(this),this},resize:function(t){var ethis,ne.options,ie.canvas,an.maintainAspectRatio&&e.aspectRatio||null,rMath.max(0,Math.floor(V.getMaximumWidth(i))),oMath.max(0,Math.floor(a?r/a:V.getMaximumHeight(i)));if((e.width!r||e.height!o)&&(i.widthe.widthr,i.heighte.heighto,i.style.widthr+px,i.style.heighto+px,V.retinaScale(e,n.devicePixelRatio),!t)){var s{width:r,height:o};Le.notify(e,resize,s),n.onResize&&n.onResize(e,s),e.stop(),e.update({duration:n.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var tthis.options,et.scales||{},nt.scale;V.each(e.xAxes,(function(t,n){t.id||(t.idZe(e.xAxes,x-axis-,n))})),V.each(e.yAxes,(function(t,n){t.id||(t.idZe(e.yAxes,y-axis-,n))})),n&&(n.idn.id||scale)},buildOrUpdateScales:function(){var tthis,et.options,nt.scales||{},i,aObject.keys(n).reduce((function(t,e){return te!1,t}),{});e.scales&&(ii.concat((e.scales.xAxes||).map((function(t){return{options:t,dtype:category,dposition:bottom}})),(e.scales.yAxes||).map((function(t){return{options:t,dtype:linear,dposition:left}})))),e.scale&&i.push({options:e.scale,dtype:radialLinear,isDefault:!0,dposition:chartArea}),V.each(i,(function(e){var ie.options,ri.id,oYe(i.type,e.dtype);$e(i.position)!$e(e.dposition)&&(i.positione.dposition),ar!0;var snull;if(r in n&&nr.typeo)(snr).optionsi,s.ctxt.ctx,s.chartt;else{var lOe.getScaleConstructor(o);if(!l)return;snew l({id:r,type:o,options:i,ctx:t.ctx,chart:t}),ns.ids}s.mergeTicksOptions(),e.isDefault&&(t.scales)})),V.each(a,(function(t,e){t||delete ne})),t.scalesn,Oe.addScalesToLayout(this)},buildOrUpdateControllers:function(){var t,e,nthis,i,an.data.datasets;for(t0,ea.length;te;t++){var rat,on.getDatasetMeta(t),sr.type||n.config.type;if(o.type&&o.type!s&&(n.destroyDatasetMeta(t),on.getDatasetMeta(t)),o.types,o.orderr.order||0,o.indext,o.controller)o.controller.updateIndex(t),o.controller.linkScales();else{var l$to.type;if(void 0l)throw new Error(+o.type+ is not a chart type.);o.controllernew l(n,t),i.push(o.controller)}}return i},resetElements:function(){var tthis;V.each(t.data.datasets,(function(e,n){t.getDatasetMeta(n).controller.reset()}),t)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(t){var e,n,ithis;if(t&&objecttypeof t||(t{duration:t,lazy:arguments1}),Ke(i),Le._invalidate(i),!1!Le.notify(i,beforeUpdate)){i.tooltip._datai.data;var ai.buildOrUpdateControllers();for(e0,ni.data.datasets.length;en;e++)i.getDatasetMeta(e).controller.buildOrUpdateElements();i.updateLayout(),i.options.animation&&i.options.animation.duration&&V.each(a,(function(t){t.reset()})),i.updateDatasets(),i.tooltip.initialize(),i.lastActive,Le.notify(i,afterUpdate),i._layers.sort(Je(z,_idx)),i._bufferedRender?i._bufferedRequest{duration:t.duration,easing:t.easing,lazy:t.lazy}:i.render(t)}},updateLayout:function(){var tthis;!1!Le.notify(t,beforeLayout)&&(ge.update(this,this.width,this.height),t._layers,V.each(t.boxes,(function(e){e._configure&&e._configure(),t._layers.push.apply(t._layers,e._layers())}),t),t._layers.forEach((function(t,e){t._idxe})),Le.notify(t,afterScaleUpdate),Le.notify(t,afterLayout))},updateDatasets:function(){if(!1!Le.notify(this,beforeDatasetsUpdate)){for(var t0,ethis.data.datasets.length;te;++t)this.updateDataset(t);Le.notify(this,afterDatasetsUpdate)}},updateDataset:function(t){var ethis.getDatasetMeta(t),n{meta:e,index:t};!1!Le.notify(this,beforeDatasetUpdate,n)&&(e.controller._update(),Le.notify(this,afterDatasetUpdate,n))},render:function(t){var ethis;t&&objecttypeof t||(t{duration:t,lazy:arguments1});var ne.options.animation,iYe(t.duration,n&&n.duration),at.lazy;if(!1!Le.notify(e,beforeRender)){var rfunction(t){Le.notify(e,afterRender),V.callback(n&&n.onComplete,t,e)};if(n&&i){var onew Z({numSteps:i/16.66,easing:t.easing||n.easing,render:function(t,e){var nV.easing.effectse.easing,ie.currentStep,ai/e.numSteps;t.draw(n(a),a,i)},onAnimationProgress:n.onProgress,onAnimationComplete:r});$.addAnimation(e,o,i,a)}else e.draw(),r(new Z({numSteps:0,chart:e}));return e}},draw:function(t){var e,n,ithis;if(i.clear(),V.isNullOrUndef(t)&&(t1),i.transition(t),!(i.width0||i.height0)&&!1!Le.notify(i,beforeDraw,t)){for(ni._layers,e0;en.length&&ne.z0;++e)ne.draw(i.chartArea);for(i.drawDatasets(t);en.length;++e)ne.draw(i.chartArea);i._drawTooltip(t),Le.notify(i,afterDraw,t)}},transition:function(t){for(var e0,n(this.data.datasets||).length;en;++e)this.isDatasetVisible(e)&&this.getDatasetMeta(e).controller.transition(t);this.tooltip.transition(t)},_getSortedDatasetMetas:function(t){var e,n,i;for(e0,n(this.data.datasets||).length;en;++e)t&&!this.isDatasetVisible(e)||i.push(this.getDatasetMeta(e));return i.sort(Je(order,index)),i},_getSortedVisibleDatasetMetas:function(){return this._getSortedDatasetMetas(!0)},drawDatasets:function(t){var e,n;if(!1!Le.notify(this,beforeDatasetsDraw,t)){for(n(ethis._getSortedVisibleDatasetMetas()).length-1;n>0;--n)this.drawDataset(en,t);Le.notify(this,afterDatasetsDraw,t)}},drawDataset:function(t,e){var n{meta:t,index:t.index,easingValue:e};!1!Le.notify(this,beforeDatasetDraw,n)&&(t.controller.draw(e),Le.notify(this,afterDatasetDraw,n))},_drawTooltip:function(t){var ethis.tooltip,n{tooltip:e,easingValue:t};!1!Le.notify(this,beforeTooltipDraw,n)&&(e.draw(),Le.notify(this,afterTooltipDraw,n))},getElementAtEvent:function(t){return ae.modes.single(this,t)},getElementsAtEvent:function(t){return ae.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return ae.modesx-axis(this,t,{intersect:!0})},getElementsAtEventForMode:function(t,e,n){var iae.modese;returnfunctiontypeof i?i(this,t,n):},getDatasetAtEvent:function(t){return ae.modes.dataset(this,t,{intersect:!0})},getDatasetMeta:function(t){var ethis.data.datasetst;e._meta||(e._meta{});var ne._metathis.id;return n||(ne._metathis.id{type:null,data:,dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e.order||0,index:t}),n},getVisibleDatasetCount:function(){for(var t0,e0,nthis.data.datasets.length;en;++e)this.isDatasetVisible(e)&&t++;return t},isDatasetVisible:function(t){var ethis.getDatasetMeta(t);returnbooleantypeof e.hidden?!e.hidden:!this.data.datasetst.hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(t){var ethis.id,nthis.data.datasetst,in._meta&&n._metae;i&&(i.controller.destroy(),delete n._metae)},destroy:function(){var t,e,nthis,in.canvas;for(n.stop(),t0,en.data.datasets.length;te;++t)n.destroyDatasetMeta(t);i&&(n.unbindEvents(),V.canvas.clear(n),Fe.releaseContext(n.ctx),n.canvasnull,n.ctxnull),Le.notify(n,destroy),delete Qe.instancesn.id},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var tthis;t.tooltipnew Ue({_chart:t,_chartInstance:t,_data:t.data,_options:t.options.tooltips},t)},bindEvents:function(){var tthis,et._listeners{},nfunction(){t.eventHandler.apply(t,arguments)};V.each(t.options.events,(function(i){Fe.addEventListener(t,i,n),ein})),t.options.responsive&&(nfunction(){t.resize()},Fe.addEventListener(t,resize,n),e.resizen)},unbindEvents:function(){var tthis,et._listeners;e&&(delete t._listeners,V.each(e,(function(e,n){Fe.removeEventListener(t,n,e)})))},updateHoverStyle:function(t,e,n){var i,a,r,on?set:remove;for(a0,rt.length;ar;++a)(ita)&&this.getDatasetMeta(i._datasetIndex).controllero+HoverStyle(i);datasete&&this.getDatasetMeta(t0._datasetIndex).controller_+o+DatasetHoverStyle()},eventHandler:function(t){var ethis,ne.tooltip;if(!1!Le.notify(e,beforeEvent,t)){e._bufferedRender!0,e._bufferedRequestnull;var ie.handleEvent(t);n&&(in._start?n.handleEvent(t):i|n.handleEvent(t)),Le.notify(e,afterEvent,t);var ae._bufferedRequest;return a?e.render(a):i&&!e.animating&&(e.stop(),e.render({duration:e.options.hover.animationDuration,lazy:!0})),e._bufferedRender!1,e._bufferedRequestnull,e}},handleEvent:function(t){var e,nthis,in.options||{},ai.hover;return n.lastActiven.lastActive||,mouseoutt.type?n.active:n.activen.getElementsAtEventForMode(t,a.mode,a),V.callback(i.onHover||i.hover.onHover,t.native,n.active,n),mouseup!t.type&&click!t.type||i.onClick&&i.onClick.call(n,t.native,n.active),n.lastActive.length&&n.updateHoverStyle(n.lastActive,a.mode,!1),n.active.length&&a.mode&&n.updateHoverStyle(n.active,a.mode,!0),e!V.arrayEquals(n.active,n.lastActive),n.lastActiven.active,e}}),Qe.instances{};var tnQe;Qe.ControllerQe,Qe.types{},V.configMergeXe,V.scaleMergeGe;function en(){throw new Error(This method is not implemented: either no adapter can be found or an incomplete integration was provided.)}function nn(t){this.optionst||{}}V.extend(nn.prototype,{formats:en,parse:en,format:en,add:en,diff:en,startOf:en,endOf:en,_create:function(t){return t}}),nn.overridefunction(t){V.extend(nn.prototype,t)};var an{_date:nn},rn{formatters:{values:function(t){return V.isArray(t)?t:+t},linear:function(t,e,n){var in.length>3?n2-n1:n1-n0;Math.abs(i)>1&&t!Math.floor(t)&&(it-Math.floor(t));var aV.log10(Math.abs(i)),r;if(0!t)if(Math.max(Math.abs(n0),Math.abs(nn.length-1))1e-4){var oV.log10(Math.abs(t)),sMath.floor(o)-Math.floor(a);sMath.max(Math.min(s,20),0),rt.toExponential(s)}else{var l-1*Math.floor(a);lMath.max(Math.min(l,20),0),rt.toFixed(l)}else r0;return r},logarithmic:function(t,e,n){var it/Math.pow(10,Math.floor(V.log10(t)));return 0t?0:1i||2i||5i||0e||en.length-1?t.toExponential():}}},onV.isArray,snV.isNullOrUndef,lnV.valueOrDefault,unV.valueAtIndexOrDefault;function dn(t,e,n){var i,at.getTicks().length,rMath.min(e,a-1),ot.getPixelForTick(r),st._startPixel,lt._endPixel;if(!(n&&(i1a?Math.max(o-s,l-o):0e?(t.getPixelForTick(1)-o)/2:(o-t.getPixelForTick(r-1))/2,(o+re?i:-i)s-1e-6||o>l+1e-6)))return o}function hn(t,e,n,i){var a,r,o,s,l,u,d,h,c,f,g,p,m,vn.length,b,x,y;for(a0;av;++a){if(sna.label,lna.major?e.major:e.minor,t.fontul.string,diuiu||{data:{},gc:},hl.lineHeight,cf0,sn(s)||on(s)){if(on(s))for(r0,os.length;ro;++r)gsr,sn(g)||on(g)||(cV.measureText(t,d.data,d.gc,c,g),f+h)}else cV.measureText(t,d.data,d.gc,c,s),fh;b.push(c),x.push(f),y.push(h/2)}function _(t){return{width:bt||0,height:xt||0,offset:yt||0}}return function(t,e){V.each(t,(function(t){var n,it.gc,ai.length/2;if(a>e){for(n0;na;++n)delete t.datain;i.splice(0,a)}}))}(i,v),pb.indexOf(Math.max.apply(null,b)),mx.indexOf(Math.max.apply(null,x)),{first:_(0),last:_(v-1),widest:_(p),highest:_(m)}}function cn(t){return t.drawTicks?t.tickMarkLength:0}function fn(t){var e,n;return t.display?(eV.options._parseFont(t),nV.options.toPadding(t.padding),e.lineHeight+n.height):0}function gn(t,e){return V.extend(V.options._parseFont({fontFamily:ln(e.fontFamily,t.fontFamily),fontSize:ln(e.fontSize,t.fontSize),fontStyle:ln(e.fontStyle,t.fontStyle),lineHeight:ln(e.lineHeight,t.lineHeight)}),{color:V.options.resolve(e.fontColor,t.fontColor,z.global.defaultFontColor)})}function pn(t){var egn(t,t.minor);return{minor:e,major:t.major.enabled?gn(t,t.major):e}}function mn(t){var e,n,i,a;for(n0,it.length;ni;++n)void 0!(etn)._index&&a.push(e);return a}function vn(t,e,n,i){var a,r,o,s,lln(n,0),uMath.min(ln(i,t.length),t.length),d0;for(eMath.ceil(e),i&&(e(ai-n)/Math.floor(a/e)),sl;s0;)d++,sMath.round(l+d*e);for(rMath.max(l,0);ru;r++)otr,rs?(o._indexr,d++,sMath.round(l+d*e)):delete o.label}z._set(scale,{display:!0,position:left,offset:!1,gridLines:{display:!0,color:rgba(0,0,0,0.1),lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:rgba(0,0,0,0.25),zeroLineBorderDash:,zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:,borderDashOffset:0},scaleLabel:{display:!1,labelString:,padding:{top:4,bottom:4}},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:rn.formatters.values,minor:{},major:{}}});var bnX.extend({zeroLineIndex:0,getPadding:function(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}},getTicks:function(){return this._ticks},_getLabels:function(){var tthis.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||},mergeTicksOptions:function(){},beforeUpdate:function(){V.callback(this.options.beforeUpdate,this)},update:function(t,e,n){var i,a,r,o,s,lthis,ul.options.ticks,du.sampleSize;if(l.beforeUpdate(),l.maxWidtht,l.maxHeighte,l.marginsV.extend({left:0,right:0,top:0,bottom:0},n),l._ticksnull,l.ticksnull,l._labelSizesnull,l._maxLabelLines0,l.longestLabelWidth0,l.longestTextCachel.longestTextCache||{},l._gridLineItemsnull,l._labelItemsnull,l.beforeSetDimensions(),l.setDimensions(),l.afterSetDimensions(),l.beforeDataLimits(),l.determineDataLimits(),l.afterDataLimits(),l.beforeBuildTicks(),ol.buildTicks()||,(!(ol.afterBuildTicks(o)||o)||!o.length)&&l.ticks)for(o,i0,al.ticks.length;ia;++i)o.push({value:l.ticksi,major:!1});return l._tickso,sdo.length,rl._convertTicksToLabels(s?function(t,e){for(var n,it.length/e,a0,rt.length;ar;a+i)n.push(tMath.floor(a));return n}(o,d):o),l._configure(),l.beforeCalculateTickRotation(),l.calculateTickRotation(),l.afterCalculateTickRotation(),l.beforeFit(),l.fit(),l.afterFit(),l._ticksToDrawu.display&&(u.autoSkip||autou.source)?l._autoSkip(o):o,s&&(rl._convertTicksToLabels(l._ticksToDraw)),l.ticksr,l.afterUpdate(),l.minSize},_configure:function(){var t,e,nthis,in.options.ticks.reverse;n.isHorizontal()?(tn.left,en.right):(tn.top,en.bottom,i!i),n._startPixelt,n._endPixele,n._reversePixelsi,n._lengthe-t},afterUpdate:function(){V.callback(this.options.afterUpdate,this)},beforeSetDimensions:function(){V.callback(this.options.beforeSetDimensions,this)},setDimensions:function(){var tthis;t.isHorizontal()?(t.widtht.maxWidth,t.left0,t.rightt.width):(t.heightt.maxHeight,t.top0,t.bottomt.height),t.paddingLeft0,t.paddingTop0,t.paddingRight0,t.paddingBottom0},afterSetDimensions:function(){V.callback(this.options.afterSetDimensions,this)},beforeDataLimits:function(){V.callback(this.options.beforeDataLimits,this)},determineDataLimits:V.noop,afterDataLimits:function(){V.callback(this.options.afterDataLimits,this)},beforeBuildTicks:function(){V.callback(this.options.beforeBuildTicks,this)},buildTicks:V.noop,afterBuildTicks:function(t){var ethis;return on(t)&&t.length?V.callback(e.options.afterBuildTicks,e,t):(e.ticksV.callback(e.options.afterBuildTicks,e,e.ticks)||e.ticks,t)},beforeTickToLabelConversion:function(){V.callback(this.options.beforeTickToLabelConversion,this)},convertTicksToLabels:function(){var tthis.options.ticks;this.ticksthis.ticks.map(t.userCallback||t.callback,this)},afterTickToLabelConversion:function(){V.callback(this.options.afterTickToLabelConversion,this)},beforeCalculateTickRotation:function(){V.callback(this.options.beforeCalculateTickRotation,this)},calculateTickRotation:function(){var t,e,n,i,a,r,o,sthis,ls.options,ul.ticks,ds.getTicks().length,hu.minRotation||0,cu.maxRotation,fh;!s._isVisible()||!u.display||h>c||d1||!s.isHorizontal()?s.labelRotationh:(e(ts._getLabelSizes()).widest.width,nt.highest.height-t.highest.offset,iMath.min(s.maxWidth,s.chart.width-e),e+6>(al.offset?s.maxWidth/d:i/(d-1))&&(ai/(d-(l.offset?.5:1)),rs.maxHeight-cn(l.gridLines)-u.padding-fn(l.scaleLabel),oMath.sqrt(e*e+n*n),fV.toDegrees(Math.min(Math.asin(Math.min((t.highest.height+6)/a,1)),Math.asin(Math.min(r/o,1))-Math.asin(n/o))),fMath.max(h,Math.min(c,f))),s.labelRotationf)},afterCalculateTickRotation:function(){V.callback(this.options.afterCalculateTickRotation,this)},beforeFit:function(){V.callback(this.options.beforeFit,this)},fit:function(){var tthis,et.minSize{width:0,height:0},nt.chart,it.options,ai.ticks,ri.scaleLabel,oi.gridLines,st._isVisible(),lbottomi.position,ut.isHorizontal();if(u?e.widtht.maxWidth:s&&(e.widthcn(o)+fn(r)),u?s&&(e.heightcn(o)+fn(r)):e.heightt.maxHeight,a.display&&s){var dpn(a),ht._getLabelSizes(),ch.first,fh.last,gh.widest,ph.highest,m.4*d.minor.lineHeight,va.padding;if(u){var b0!t.labelRotation,xV.toRadians(t.labelRotation),yMath.cos(x),_Math.sin(x),k_*g.width+y*(p.height-(b?p.offset:0))+(b?0:m);e.heightMath.min(t.maxHeight,e.height+k+v);var w,M,St.getPixelForTick(0)-t.left,Ct.right-t.getPixelForTick(t.getTicks().length-1);b?(wl?y*c.width+_*c.offset:_*(c.height-c.offset),Ml?_*(f.height-f.offset):y*f.width+_*f.offset):(wc.width/2,Mf.width/2),t.paddingLeftMath.max((w-S)*t.width/(t.width-S),0)+3,t.paddingRightMath.max((M-C)*t.width/(t.width-C),0)+3}else{var Pa.mirror?0:g.width+v+m;e.widthMath.min(t.maxWidth,e.width+P),t.paddingTopc.height/2,t.paddingBottomf.height/2}}t.handleMargins(),u?(t.widtht._lengthn.width-t.margins.left-t.margins.right,t.heighte.height):(t.widthe.width,t.heightt._lengthn.height-t.margins.top-t.margins.bottom)},handleMargins:function(){var tthis;t.margins&&(t.margins.leftMath.max(t.paddingLeft,t.margins.left),t.margins.topMath.max(t.paddingTop,t.margins.top),t.margins.rightMath.max(t.paddingRight,t.margins.right),t.margins.bottomMath.max(t.paddingBottom,t.margins.bottom))},afterFit:function(){V.callback(this.options.afterFit,this)},isHorizontal:function(){var tthis.options.position;returntopt||bottomt},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(t){if(sn(t))return NaN;if((numbertypeof t||t instanceof Number)&&!isFinite(t))return NaN;if(t)if(this.isHorizontal()){if(void 0!t.x)return this.getRightValue(t.x)}else if(void 0!t.y)return this.getRightValue(t.y);return t},_convertTicksToLabels:function(t){var e,n,i,athis;for(a.tickst.map((function(t){return t.value})),a.beforeTickToLabelConversion(),ea.convertTicksToLabels(t)||a.ticks,a.afterTickToLabelConversion(),n0,it.length;ni;++n)tn.labelen;return e},_getLabelSizes:function(){var tthis,et._labelSizes;return e||(t._labelSizesehn(t.ctx,pn(t.options.ticks),t.getTicks(),t.longestTextCache),t.longestLabelWidthe.widest.width),e},_parseValue:function(t){var e,n,i,a;return on(t)?(e+this.getRightValue(t0),n+this.getRightValue(t1),iMath.min(e,n),aMath.max(e,n)):(evoid 0,nt+this.getRightValue(t),it,at),{min:i,max:a,start:e,end:n}},_getScaleLabel:function(t){var ethis._parseValue(t);return void 0!e.start?+e.start+, +e.end+:+this.getRightValue(t)},getLabelForIndex:V.noop,getPixelForValue:V.noop,getValueForPixel:V.noop,getPixelForTick:function(t){var ethis.options.offset,nthis._ticks.length,i1/Math.max(n-(e?0:1),1);return t0||t>n-1?null:this.getPixelForDecimal(t*i+(e?i/2:0))},getPixelForDecimal:function(t){return this._reversePixels&&(t1-t),this._startPixel+t*this._length},getDecimalForPixel:function(t){var e(t-this._startPixel)/this._length;return this._reversePixels?1-e:e},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var tthis.min,ethis.max;return this.beginAtZero?0:t0&&e0?e:t>0&&e>0?t:0},_autoSkip:function(t){var e,n,i,a,rthis.options.ticks,othis._length,sr.maxTicksLimit||o/this._tickSize()+1,lr.major.enabled?function(t){var e,n,i;for(e0,nt.length;en;e++)te.major&&i.push(e);return i}(t):,ul.length,dl0,hlu-1;if(u>s)return function(t,e,n){var i,a,r0,oe0;for(nMath.ceil(n),i0;it.length;i++)ati,io?(a._indexi,oe++r*n):delete a.label}(t,l,u/s),mn(t);if(ifunction(t,e,n,i){var a,r,o,s,lfunction(t){var e,n,it.length;if(i2)return!1;for(nt0,e1;ei;++e)if(te-te-1!n)return!1;return n}(t),u(e.length-1)/i;if(!l)return Math.max(u,1);for(o0,s(aV.math._factorize(l)).length-1;os;o++)if((rao)>u)return r;return Math.max(u,1)}(l,t,0,s),u>0){for(e0,nu-1;en;e++)vn(t,i,le,le+1);return au>1?(h-d)/(u-1):null,vn(t,i,V.isNullOrUndef(a)?0:d-a,d),vn(t,i,h,V.isNullOrUndef(a)?t.length:h+a),mn(t)}return vn(t,i),mn(t)},_tickSize:function(){var tthis.options.ticks,eV.toRadians(this.labelRotation),nMath.abs(Math.cos(e)),iMath.abs(Math.sin(e)),athis._getLabelSizes(),rt.autoSkipPadding||0,oa?a.widest.width+r:0,sa?a.highest.height+r:0;return this.isHorizontal()?s*n>o*i?o/n:s/i:s*io*n?s/n:o/i},_isVisible:function(){var t,e,n,ithis.chart,athis.options.display;if(auto!a)return!!a;for(t0,ei.data.datasets.length;te;++t)if(i.isDatasetVisible(t)&&((ni.getDatasetMeta(t)).xAxisIDthis.id||n.yAxisIDthis.id))return!0;return!1},_computeGridLineItems:function(t){var e,n,i,a,r,o,s,l,u,d,h,c,f,g,p,m,v,bthis,xb.chart,yb.options,_y.gridLines,ky.position,w_.offsetGridLines,Mb.isHorizontal(),Sb._ticksToDraw,CS.length+(w?1:0),Pcn(_),A,D_.drawBorder?un(_.lineWidth,0,0):0,TD/2,IV._alignPixel,Ffunction(t){return I(x,t,D)};for(topk?(eF(b.bottom),sb.bottom-P,ue-T,hF(t.top)+T,ft.bottom):bottomk?(eF(b.top),ht.top,fF(t.bottom)-T,se+T,ub.top+P):leftk?(eF(b.right),ob.right-P,le-T,dF(t.left)+T,ct.right):(eF(b.left),dt.left,cF(t.right)-T,oe+T,lb.left+P),n0;nC;++n)iSn||{},sn(i.label)&&nS.length||(nb.zeroLineIndex&&y.offsetw?(g_.zeroLineWidth,p_.zeroLineColor,m_.zeroLineBorderDash||,v_.zeroLineBorderDashOffset||0):(gun(_.lineWidth,n,1),pun(_.color,n,rgba(0,0,0,0.1)),m_.borderDash||,v_.borderDashOffset||0),void 0!(adn(b,i._index||n,w))&&(rI(x,a,g),M?oldcr:suhfr,A.push({tx1:o,ty1:s,tx2:l,ty2:u,x1:d,y1:h,x2:c,y2:f,width:g,color:p,borderDash:m,borderDashOffset:v})));return A.ticksLengthC,A.borderValuee,A},_computeLabelItems:function(){var t,e,n,i,a,r,o,s,l,u,d,h,cthis,fc.options,gf.ticks,pf.position,mg.mirror,vc.isHorizontal(),bc._ticksToDraw,xpn(g),yg.padding,_cn(f.gridLines),k-V.toRadians(c.labelRotation),w;for(topp?(rc.bottom-_-y,ok?left:center):bottomp?(rc.top+_+y,ok?right:center):leftp?(ac.right-(m?0:_)-y,om?left:right):(ac.left+(m?0:_)+y,om?right:left),t0,eb.length;te;++t)i(nbt).label,sn(i)||(sc.getPixelForTick(n._index||t)+g.labelOffset,u(ln.major?x.major:x.minor).lineHeight,don(i)?i.length:1,v?(as,htopp?((k?1:.5)-d)*u:(k?0:.5)*u):(rs,h(1-d)*u/2),w.push({x:a,y:r,rotation:k,label:i,font:l,textOffset:h,textAlign:o}));return w},_drawGrid:function(t){var ethis,ne.options.gridLines;if(n.display){var i,a,r,o,s,le.ctx,ue.chart,dV._alignPixel,hn.drawBorder?un(n.lineWidth,0,0):0,ce._gridLineItems||(e._gridLineItemse._computeGridLineItems(t));for(r0,oc.length;ro;++r)i(scr).width,as.color,i&&a&&(l.save(),l.lineWidthi,l.strokeStylea,l.setLineDash&&(l.setLineDash(s.borderDash),l.lineDashOffsets.borderDashOffset),l.beginPath(),n.drawTicks&&(l.moveTo(s.tx1,s.ty1),l.lineTo(s.tx2,s.ty2)),n.drawOnChartArea&&(l.moveTo(s.x1,s.y1),l.lineTo(s.x2,s.y2)),l.stroke(),l.restore());if(h){var f,g,p,m,vh,bun(n.lineWidth,c.ticksLength-1,1),xc.borderValue;e.isHorizontal()?(fd(u,e.left,v)-v/2,gd(u,e.right,b)+b/2,pmx):(pd(u,e.top,v)-v/2,md(u,e.bottom,b)+b/2,fgx),l.lineWidthh,l.strokeStyleun(n.color,0),l.beginPath(),l.moveTo(f,p),l.lineTo(g,m),l.stroke()}}},_drawLabels:function(){var tthis;if(t.options.ticks.display){var e,n,i,a,r,o,s,l,ut.ctx,dt._labelItems||(t._labelItemst._computeLabelItems());for(e0,id.length;ei;++e){if(o(rde).font,u.save(),u.translate(r.x,r.y),u.rotate(r.rotation),u.fonto.string,u.fillStyleo.color,u.textBaselinemiddle,u.textAlignr.textAlign,sr.label,lr.textOffset,on(s))for(n0,as.length;na;++n)u.fillText(+sn,0,l),l+o.lineHeight;else u.fillText(s,0,l);u.restore()}}},_drawTitle:function(){var tthis,et.ctx,nt.options,in.scaleLabel;if(i.display){var a,r,oln(i.fontColor,z.global.defaultFontColor),sV.options._parseFont(i),lV.options.toPadding(i.padding),us.lineHeight/2,dn.position,h0;if(t.isHorizontal())at.left+t.width/2,rbottomd?t.bottom-u-l.bottom:t.top+u+l.top;else{var cleftd;ac?t.left+u+l.top:t.right-u-l.top,rt.top+t.height/2,hc?-.5*Math.PI:.5*Math.PI}e.save(),e.translate(a,r),e.rotate(h),e.textAligncenter,e.textBaselinemiddle,e.fillStyleo,e.fonts.string,e.fillText(i.labelString,0,0),e.restore()}},draw:function(t){this._isVisible()&&(this._drawGrid(t),this._drawTitle(),this._drawLabels())},_layers:function(){var tthis,et.options,ne.ticks&&e.ticks.z||0,ie.gridLines&&e.gridLines.z||0;return t._isVisible()&&n!i&&t.drawt._draw?{z:i,draw:function(){t._drawGrid.apply(t,arguments),t._drawTitle.apply(t,arguments)}},{z:n,draw:function(){t._drawLabels.apply(t,arguments)}}:{z:n,draw:function(){t.draw.apply(t,arguments)}}},_getMatchingVisibleMetas:function(t){var ethis,ne.isHorizontal();return e.chart._getSortedVisibleDatasetMetas().filter((function(i){return(!t||i.typet)&&(n?i.xAxisIDe.id:i.yAxisIDe.id)}))}});bn.prototype._drawbn.prototype.draw;var xnbn,ynV.isNullOrUndef,_nxn.extend({determineDataLimits:function(){var t,ethis,ne._getLabels(),ie.options.ticks,ai.min,ri.max,o0,sn.length-1;void 0!a&&(tn.indexOf(a))>0&&(ot),void 0!r&&(tn.indexOf(r))>0&&(st),e.minIndexo,e.maxIndexs,e.minno,e.maxns},buildTicks:function(){var tthis._getLabels(),ethis.minIndex,nthis.maxIndex;this.ticks0e&&nt.length-1?t:t.slice(e,n+1)},getLabelForIndex:function(t,e){var nthis.chart;return n.getDatasetMeta(e).controller._getValueScaleId()this.id?this.getRightValue(n.data.datasetse.datat):this._getLabels()t},_configure:function(){var tthis,et.options.offset,nt.ticks;xn.prototype._configure.call(t),t.isHorizontal()||(t._reversePixels!t._reversePixels),n&&(t._startValuet.minIndex-(e?.5:0),t._valueRangeMath.max(n.length-(e?0:1),1))},getPixelForValue:function(t,e,n){var i,a,r,othis;return yn(e)||yn(n)||(to.chart.data.datasetsn.datae),yn(t)||(io.isHorizontal()?t.x:t.y),(void 0!i||void 0!t&&isNaN(e))&&(ao._getLabels(),tV.valueOrDefault(i,t),e-1!(ra.indexOf(t))?r:e,isNaN(e)&&(et)),o.getPixelForDecimal((e-o._startValue)/o._valueRange)},getPixelForTick:function(t){var ethis.ticks;return t0||t>e.length-1?null:this.getPixelForValue(et,t+this.minIndex)},getValueForPixel:function(t){var eMath.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange);return Math.min(Math.max(e,0),this.ticks.length-1)},getBasePixel:function(){return this.bottom}}),kn{position:bottom};_n._defaultskn;var wnV.noop,MnV.isNullOrUndef;var Snxn.extend({getRightValue:function(t){returnstringtypeof t?+t:xn.prototype.getRightValue.call(this,t)},handleTickRangeOptions:function(){var tthis,et.options.ticks;if(e.beginAtZero){var nV.sign(t.min),iV.sign(t.max);n0&&i0?t.max0:n>0&&i>0&&(t.min0)}var avoid 0!e.min||void 0!e.suggestedMin,rvoid 0!e.max||void 0!e.suggestedMax;void 0!e.min?t.mine.min:void 0!e.suggestedMin&&(nullt.min?t.mine.suggestedMin:t.minMath.min(t.min,e.suggestedMin)),void 0!e.max?t.maxe.max:void 0!e.suggestedMax&&(nullt.max?t.maxe.suggestedMax:t.maxMath.max(t.max,e.suggestedMax)),a!r&&t.min>t.max&&(a?t.maxt.min+1:t.mint.max-1),t.mint.max&&(t.max++,e.beginAtZero||t.min--)},getTickLimit:function(){var t,ethis.options.ticks,ne.stepSize,ie.maxTicksLimit;return n?tMath.ceil(this.max/n)-Math.floor(this.min/n)+1:(tthis._computeTickLimit(),ii||11),i&&(tMath.min(i,t)),t},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:wn,buildTicks:function(){var tthis,et.options.ticks,nt.getTickLimit(),i{maxTicks:nMath.max(2,n),min:e.min,max:e.max,precision:e.precision,stepSize:V.valueOrDefault(e.fixedStepSize,e.stepSize)},at.ticksfunction(t,e){var n,i,a,r,o,st.stepSize,ls||1,ut.maxTicks-1,dt.min,ht.max,ct.precision,fe.min,ge.max,pV.niceNum((g-f)/u/l)*l;if(p1e-14&&Mn(d)&&Mn(h))returnf,g;(rMath.ceil(g/p)-Math.floor(f/p))>u&&(pV.niceNum(r*p/u/l)*l),s||Mn(c)?nMath.pow(10,V._decimalPlaces(p)):(nMath.pow(10,c),pMath.ceil(p*n)/n),iMath.floor(f/p)*p,aMath.ceil(g/p)*p,s&&(!Mn(d)&&V.almostWhole(d/p,p/1e3)&&(id),!Mn(h)&&V.almostWhole(h/p,p/1e3)&&(ah)),r(a-i)/p,rV.almostEquals(r,Math.round(r),p/1e3)?Math.round(r):Math.ceil(r),iMath.round(i*n)/n,aMath.round(a*n)/n,o.push(Mn(d)?i:d);for(var m1;mr;++m)o.push(Math.round((i+m*p)*n)/n);return o.push(Mn(h)?a:h),o}(i,t);t.handleDirectionalChanges(),t.maxV.max(a),t.minV.min(a),e.reverse?(a.reverse(),t.startt.max,t.endt.min):(t.startt.min,t.endt.max)},convertTicksToLabels:function(){var tthis;t.ticksAsNumberst.ticks.slice(),t.zeroLineIndext.ticks.indexOf(0),xn.prototype.convertTicksToLabels.call(t)},_configure:function(){var t,ethis,ne.getTicks(),ie.min,ae.max;xn.prototype._configure.call(e),e.options.offset&&n.length&&(i-t(a-i)/Math.max(n.length-1,1)/2,a+t),e._startValuei,e._endValuea,e._valueRangea-i}}),Cn{position:left,ticks:{callback:rn.formatters.linear}};function Pn(t,e,n,i){var a,r,ot.options,sfunction(t,e,n){var in.type,void 0e&&void 0n.stack?n.index:,n.stack.join(.);return void 0ti&&(ti{pos:,neg:}),ti}(e,o.stacked,n),ls.pos,us.neg,di.length;for(a0;ad;++a)rt._parseValue(ia),isNaN(r.min)||isNaN(r.max)||n.dataa.hidden||(lala||0,uaua||0,o.relativePoints?la100:r.min0||r.max0?ua+r.min:la+r.max)}function An(t,e,n){var i,a,rn.length;for(i0;ir;++i)at._parseValue(ni),isNaN(a.min)||isNaN(a.max)||e.datai.hidden||(t.minMath.min(t.min,a.min),t.maxMath.max(t.max,a.max))}var DnSn.extend({determineDataLimits:function(){var t,e,n,i,athis,ra.options,oa.chart.data.datasets,sa._getMatchingVisibleMetas(),lr.stacked,u{},ds.length;if(a.minNumber.POSITIVE_INFINITY,a.maxNumber.NEGATIVE_INFINITY,void 0l)for(t0;!l&&td;++t)lvoid 0!(est).stack;for(t0;td;++t)no(est).index.data,l?Pn(a,u,e,n):An(a,e,n);V.each(u,(function(t){it.pos.concat(t.neg),a.minMath.min(a.min,V.min(i)),a.maxMath.max(a.max,V.max(i))})),a.minV.isFinite(a.min)&&!isNaN(a.min)?a.min:0,a.maxV.isFinite(a.max)&&!isNaN(a.max)?a.max:1,a.handleTickRangeOptions()},_computeTickLimit:function(){var t;return this.isHorizontal()?Math.ceil(this.width/40):(tV.options._parseFont(this.options.ticks),Math.ceil(this.height/t.lineHeight))},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(t,e){return this._getScaleLabel(this.chart.data.datasetse.datat)},getPixelForValue:function(t){return this.getPixelForDecimal((+this.getRightValue(t)-this._startValue)/this._valueRange)},getValueForPixel:function(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange},getPixelForTick:function(t){var ethis.ticksAsNumbers;return t0||t>e.length-1?null:this.getPixelForValue(et)}}),TnCn;Dn._defaultsTn;var InV.valueOrDefault,FnV.math.log10;var Ln{position:left,ticks:{callback:rn.formatters.logarithmic}};function On(t,e){return V.isFinite(t)&&t>0?t:e}var Rnxn.extend({determineDataLimits:function(){var t,e,n,i,a,r,othis,so.options,lo.chart,ul.data.datasets,do.isHorizontal();function h(t){return d?t.xAxisIDo.id:t.yAxisIDo.id}o.minNumber.POSITIVE_INFINITY,o.maxNumber.NEGATIVE_INFINITY,o.minNotZeroNumber.POSITIVE_INFINITY;var cs.stacked;if(void 0c)for(t0;tu.length;t++)if(el.getDatasetMeta(t),l.isDatasetVisible(t)&&h(e)&&void 0!e.stack){c!0;break}if(s.stacked||c){var f{};for(t0;tu.length;t++){var g(el.getDatasetMeta(t)).type,void 0s.stacked&&void 0e.stack?t:,e.stack.join(.);if(l.isDatasetVisible(t)&&h(e))for(void 0fg&&(fg),a0,r(iut.data).length;ar;a++){var pfg;no._parseValue(ia),isNaN(n.min)||isNaN(n.max)||e.dataa.hidden||n.min0||n.max0||(papa||0,pa+n.max)}}V.each(f,(function(t){if(t.length>0){var eV.min(t),nV.max(t);o.minMath.min(o.min,e),o.maxMath.max(o.max,n)}}))}else for(t0;tu.length;t++)if(el.getDatasetMeta(t),l.isDatasetVisible(t)&&h(e))for(a0,r(iut.data).length;ar;a++)no._parseValue(ia),isNaN(n.min)||isNaN(n.max)||e.dataa.hidden||n.min0||n.max0||(o.minMath.min(n.min,o.min),o.maxMath.max(n.max,o.max),0!n.min&&(o.minNotZeroMath.min(n.min,o.minNotZero)));o.minV.isFinite(o.min)?o.min:null,o.maxV.isFinite(o.max)?o.max:null,o.minNotZeroV.isFinite(o.minNotZero)?o.minNotZero:null,this.handleTickRangeOptions()},handleTickRangeOptions:function(){var tthis,et.options.ticks;t.minOn(e.min,t.min),t.maxOn(e.max,t.max),t.mint.max&&(0!t.min&&null!t.min?(t.minMath.pow(10,Math.floor(Fn(t.min))-1),t.maxMath.pow(10,Math.floor(Fn(t.max))+1)):(t.min1,t.max10)),nullt.min&&(t.minMath.pow(10,Math.floor(Fn(t.max))-1)),nullt.max&&(t.max0!t.min?Math.pow(10,Math.floor(Fn(t.min))+1):10),nullt.minNotZero&&(t.min>0?t.minNotZerot.min:t.max1?t.minNotZeroMath.pow(10,Math.floor(Fn(t.max))):t.minNotZero1)},buildTicks:function(){var tthis,et.options.ticks,n!t.isHorizontal(),i{min:On(e.min),max:On(e.max)},at.ticksfunction(t,e){var n,i,a,rIn(t.min,Math.pow(10,Math.floor(Fn(e.min)))),oMath.floor(Fn(e.max)),sMath.ceil(e.max/Math.pow(10,o));0r?(nMath.floor(Fn(e.minNotZero)),iMath.floor(e.minNotZero/Math.pow(10,n)),a.push(r),ri*Math.pow(10,n)):(nMath.floor(Fn(r)),iMath.floor(r/Math.pow(10,n)));var ln0?Math.pow(10,Math.abs(n)):1;do{a.push(r),10++i&&(i1,l++n>0?1:l),rMath.round(i*Math.pow(10,n)*l)/l}while(no||no&&is);var uIn(t.max,r);return a.push(u),a}(i,t);t.maxV.max(a),t.minV.min(a),e.reverse?(n!n,t.startt.max,t.endt.min):(t.startt.min,t.endt.max),n&&a.reverse()},convertTicksToLabels:function(){this.tickValuesthis.ticks.slice(),xn.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(t,e){return this._getScaleLabel(this.chart.data.datasetse.datat)},getPixelForTick:function(t){var ethis.tickValues;return t0||t>e.length-1?null:this.getPixelForValue(et)},_getFirstTickValue:function(t){var eMath.floor(Fn(t));return Math.floor(t/Math.pow(10,e))*Math.pow(10,e)},_configure:function(){var tthis,et.min,n0;xn.prototype._configure.call(t),0e&&(et._getFirstTickValue(t.minNotZero),nIn(t.options.ticks.fontSize,z.global.defaultFontSize)/t._length),t._startValueFn(e),t._valueOffsetn,t._valueRange(Fn(t.max)-Fn(e))/(1-n)},getPixelForValue:function(t){var ethis,n0;return(t+e.getRightValue(t))>e.min&&t>0&&(n(Fn(t)-e._startValue)/e._valueRange+e._valueOffset),e.getPixelForDecimal(n)},getValueForPixel:function(t){var ethis,ne.getDecimalForPixel(t);return 0n&&0e.min?0:Math.pow(10,e._startValue+(n-e._valueOffset)*e._valueRange)}}),znLn;Rn._defaultszn;var NnV.valueOrDefault,BnV.valueAtIndexOrDefault,EnV.options.resolve,Wn{display:!0,animate:!0,position:chartArea,angleLines:{display:!0,color:rgba(0,0,0,0.1),lineWidth:1,borderDash:,borderDashOffset:0},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:rgba(255,255,255,0.75),backdropPaddingY:2,backdropPaddingX:2,callback:rn.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(t){return t}}};function Vn(t){var et.ticks;return e.display&&t.display?Nn(e.fontSize,z.global.defaultFontSize)+2*e.backdropPaddingY:0}function Hn(t,e,n,i,a){return ti||ta?{start:e-n/2,end:e+n/2}:ti||t>a?{start:e-n,end:e}:{start:e,end:e+n}}function jn(t){return 0t||180t?center:t180?left:right}function qn(t,e,n,i){var a,r,on.y+i/2;if(V.isArray(e))for(a0,re.length;ar;++a)t.fillText(ea,n.x,o),o+i;else t.fillText(e,n.x,o)}function Un(t,e,n){90t||270t?n.y-e.h/2:(t>270||t90)&&(n.y-e.h)}function Yn(t){return V.isNumber(t)?t:0}var GnSn.extend({setDimensions:function(){var tthis;t.widtht.maxWidth,t.heightt.maxHeight,t.paddingTopVn(t.options)/2,t.xCenterMath.floor(t.width/2),t.yCenterMath.floor((t.height-t.paddingTop)/2),t.drawingAreaMath.min(t.height-t.paddingTop,t.width)/2},determineDataLimits:function(){var tthis,et.chart,nNumber.POSITIVE_INFINITY,iNumber.NEGATIVE_INFINITY;V.each(e.data.datasets,(function(a,r){if(e.isDatasetVisible(r)){var oe.getDatasetMeta(r);V.each(a.data,(function(e,a){var r+t.getRightValue(e);isNaN(r)||o.dataa.hidden||(nMath.min(r,n),iMath.max(r,i))}))}})),t.minnNumber.POSITIVE_INFINITY?0:n,t.maxiNumber.NEGATIVE_INFINITY?0:i,t.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/Vn(this.options))},convertTicksToLabels:function(){var tthis;Sn.prototype.convertTicksToLabels.call(t),t.pointLabelst.chart.data.labels.map((function(){var eV.callback(t.options.pointLabels.callback,arguments,t);return e||0e?e:}))},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasetse.datat)},fit:function(){var tthis.options;t.display&&t.pointLabels.display?function(t){var e,n,i,aV.options._parseFont(t.options.pointLabels),r{l:0,r:t.width,t:0,b:t.height-t.paddingTop},o{};t.ctx.fonta.string,t._pointLabelSizes;var s,l,u,dt.chart.data.labels.length;for(e0;ed;e++){it.getPointPosition(e,t.drawingArea+5),st.ctx,la.lineHeight,ut.pointLabelse,nV.isArray(u)?{w:V.longestText(s,s.font,u),h:u.length*l}:{w:s.measureText(u).width,h:l},t._pointLabelSizesen;var ht.getIndexAngle(e),cV.toDegrees(h)%360,fHn(c,i.x,n.w,0,180),gHn(c,i.y,n.h,90,270);f.startr.l&&(r.lf.start,o.lh),f.end>r.r&&(r.rf.end,o.rh),g.startr.t&&(r.tg.start,o.th),g.end>r.b&&(r.bg.end,o.bh)}t.setReductions(t.drawingArea,r,o)}(this):this.setCenterPoint(0,0,0,0)},setReductions:function(t,e,n){var ithis,ae.l/Math.sin(n.l),rMath.max(e.r-i.width,0)/Math.sin(n.r),o-e.t/Math.cos(n.t),s-Math.max(e.b-(i.height-i.paddingTop),0)/Math.cos(n.b);aYn(a),rYn(r),oYn(o),sYn(s),i.drawingAreaMath.min(Math.floor(t-(a+r)/2),Math.floor(t-(o+s)/2)),i.setCenterPoint(a,r,o,s)},setCenterPoint:function(t,e,n,i){var athis,ra.width-e-a.drawingArea,ot+a.drawingArea,sn+a.drawingArea,la.height-a.paddingTop-i-a.drawingArea;a.xCenterMath.floor((o+r)/2+a.left),a.yCenterMath.floor((s+l)/2+a.top+a.paddingTop)},getIndexAngle:function(t){var ethis.chart,n(t*(360/e.data.labels.length)+((e.options||{}).startAngle||0))%360;return(n0?n+360:n)*Math.PI*2/360},getDistanceFromCenterForValue:function(t){var ethis;if(V.isNullOrUndef(t))return NaN;var ne.drawingArea/(e.max-e.min);return e.options.ticks.reverse?(e.max-t)*n:(t-e.min)*n},getPointPosition:function(t,e){var nthis.getIndexAngle(t)-Math.PI/2;return{x:Math.cos(n)*e+this.xCenter,y:Math.sin(n)*e+this.yCenter}},getPointPositionForValue:function(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))},getBasePosition:function(t){var ethis.min,nthis.max;return this.getPointPositionForValue(t||0,this.beginAtZero?0:e0&&n0?n:e>0&&n>0?e:0)},_drawGrid:function(){var t,e,n,ithis,ai.ctx,ri.options,or.gridLines,sr.angleLines,lNn(s.lineWidth,o.lineWidth),uNn(s.color,o.color);if(r.pointLabels.display&&function(t){var et.ctx,nt.options,in.pointLabels,aVn(n),rt.getDistanceFromCenterForValue(n.ticks.reverse?t.min:t.max),oV.options._parseFont(i);e.save(),e.fonto.string,e.textBaselinemiddle;for(var st.chart.data.labels.length-1;s>0;s--){var l0s?a/2:0,ut.getPointPosition(s,r+l+5),dBn(i.fontColor,s,z.global.defaultFontColor);e.fillStyled;var ht.getIndexAngle(s),cV.toDegrees(h);e.textAlignjn(c),Un(c,t._pointLabelSizess,u),qn(e,t.pointLabelss,u,o.lineHeight)}e.restore()}(i),o.display&&V.each(i.ticks,(function(t,n){0!n&&(ei.getDistanceFromCenterForValue(i.ticksAsNumbersn),function(t,e,n,i){var a,rt.ctx,oe.circular,st.chart.data.labels.length,lBn(e.color,i-1),uBn(e.lineWidth,i-1);if((o||s)&&l&&u){if(r.save(),r.strokeStylel,r.lineWidthu,r.setLineDash&&(r.setLineDash(e.borderDash||),r.lineDashOffsete.borderDashOffset||0),r.beginPath(),o)r.arc(t.xCenter,t.yCenter,n,0,2*Math.PI);else{at.getPointPosition(0,n),r.moveTo(a.x,a.y);for(var d1;ds;d++)at.getPointPosition(d,n),r.lineTo(a.x,a.y)}r.closePath(),r.stroke(),r.restore()}}(i,o,e,n))})),s.display&&l&&u){for(a.save(),a.lineWidthl,a.strokeStyleu,a.setLineDash&&(a.setLineDash(En(s.borderDash,o.borderDash,)),a.lineDashOffsetEn(s.borderDashOffset,o.borderDashOffset,0)),ti.chart.data.labels.length-1;t>0;t--)ei.getDistanceFromCenterForValue(r.ticks.reverse?i.min:i.max),ni.getPointPosition(t,e),a.beginPath(),a.moveTo(i.xCenter,i.yCenter),a.lineTo(n.x,n.y),a.stroke();a.restore()}},_drawLabels:function(){var tthis,et.ctx,nt.options.ticks;if(n.display){var i,a,rt.getIndexAngle(0),oV.options._parseFont(n),sNn(n.fontColor,z.global.defaultFontColor);e.save(),e.fonto.string,e.translate(t.xCenter,t.yCenter),e.rotate(r),e.textAligncenter,e.textBaselinemiddle,V.each(t.ticks,(function(r,l){(0!l||n.reverse)&&(it.getDistanceFromCenterForValue(t.ticksAsNumbersl),n.showLabelBackdrop&&(ae.measureText(r).width,e.fillStylen.backdropColor,e.fillRect(-a/2-n.backdropPaddingX,-i-o.size/2-n.backdropPaddingY,a+2*n.backdropPaddingX,o.size+2*n.backdropPaddingY)),e.fillStyles,e.fillText(r,0,-i))})),e.restore()}},_drawTitle:V.noop}),XnWn;Gn._defaultsXn;var KnV._deprecated,ZnV.options.resolve,$nV.valueOrDefault,JnNumber.MIN_SAFE_INTEGER||-9007199254740991,QnNumber.MAX_SAFE_INTEGER||9007199254740991,ti{millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},eiObject.keys(ti);function ni(t,e){return t-e}function ii(t){return V.valueOrDefault(t.time.min,t.ticks.min)}function ai(t){return V.valueOrDefault(t.time.max,t.ticks.max)}function ri(t,e,n,i){var afunction(t,e,n){for(var i,a,r,o0,st.length-1;o>0&&os;){if(at(io+s>>1)-1||null,rti,!a)return{lo:null,hi:r};if(ren)oi+1;else{if(!(ae>n))return{lo:a,hi:r};si-1}}return{lo:r,hi:null}}(t,e,n),ra.lo?a.hi?a.lo:tt.length-2:t0,oa.lo?a.hi?a.hi:tt.length-1:t1,soe-re,ls?(n-re)/s:0,u(oi-ri)*l;return ri+u}function oi(t,e){var nt._adapter,it.options.time,ai.parser,ra||i.format,oe;returnfunctiontypeof a&&(oa(o)),V.isFinite(o)||(ostringtypeof r?n.parse(o,r):n.parse(o)),null!o?+o:(a||function!typeof r||(or(e),V.isFinite(o)||(on.parse(o))),o)}function si(t,e){if(V.isNullOrUndef(e))return null;var nt.options.time,ioi(t,t.getRightValue(e));return nulli?i:(n.round&&(i+t._adapter.startOf(i,n.round)),i)}function li(t,e,n,i){var a,r,o,sei.length;for(aei.indexOf(t);as-1;++a)if(o(rtieia).steps?r.steps:Qn,r.common&&Math.ceil((n-e)/(o*r.size))i)return eia;return eis-1}function ui(t,e,n){var i,a,r,o{},se.length;for(i0;is;++i)oaeii,r.push({value:a,major:!1});return 0!s&&n?function(t,e,n,i){var a,r,ot._adapter,s+o.startOf(e0.value,i),lee.length-1.value;for(as;al;a+o.add(a,1,i))(rna)>0&&(er.major!0);return e}(t,r,o,n):r}var dixn.extend({initialize:function(){this.mergeTicksOptions(),xn.prototype.initialize.call(this)},update:function(){var tthis,et.options,ne.time||(e.time{}),it._adapternew an._date(e.adapters.date);return Kn(time scale,n.format,time.format,time.parser),Kn(time scale,n.min,time.min,ticks.min),Kn(time scale,n.max,time.max,ticks.max),V.mergeIf(n.displayFormats,i.formats()),xn.prototype.update.apply(t,arguments)},getRightValue:function(t){return t&&void 0!t.t&&(tt.t),xn.prototype.getRightValue.call(this,t)},determineDataLimits:function(){var t,e,n,i,a,r,o,sthis,ls.chart,us._adapter,ds.options,hd.time.unit||day,cQn,fJn,g,p,m,vs._getLabels();for(t0,nv.length;tn;++t)m.push(si(s,vt));for(t0,n(l.data.datasets||).length;tn;++t)if(l.isDatasetVisible(t))if(al.data.datasetst.data,V.isObject(a0))for(pt,e0,ia.length;ei;++e)rsi(s,ae),g.push(r),pter;else ptm.slice(0),o||(gg.concat(m),o!0);else pt;m.length&&(cMath.min(c,m0),fMath.max(f,mm.length-1)),g.length&&(gn>1?function(t){var e,n,i,a{},r;for(e0,nt.length;en;++e)aite||(ai!0,r.push(i));return r}(g).sort(ni):g.sort(ni),cMath.min(c,g0),fMath.max(f,gg.length-1)),csi(s,ii(d))||c,fsi(s,ai(d))||f,ccQn?+u.startOf(Date.now(),h):c,ffJn?+u.endOf(Date.now(),h)+1:f,s.minMath.min(c,f),s.maxMath.max(c+1,f),s._table,s._timestamps{data:g,datasets:p,labels:m}},buildTicks:function(){var t,e,n,ithis,ai.min,ri.max,oi.options,so.ticks,lo.time,ui._timestamps,d,hi.getLabelCapacity(a),cs.source,fo.distribution;for(udatac||autoc&&seriesf?u.data:labelsc?u.labels:function(t,e,n,i){var a,rt._adapter,ot.options,so.time,ls.unit||li(s.minUnit,e,n,i),uZn(s.stepSize,s.unitStepSize,1),dweekl&&s.isoWeekday,he,c;if(d&&(h+r.startOf(h,isoWeek,d)),h+r.startOf(h,d?day:l),r.diff(n,e,l)>1e5*u)throw e+ and +n+ are too far apart with stepSize of +u+ +l;for(ah;an;a+r.add(a,u,l))c.push(a);return a!n&&ticks!o.bounds||c.push(a),c}(i,a,r,h),tickso.bounds&&u.length&&(au0,ruu.length-1),asi(i,ii(o))||a,rsi(i,ai(o))||r,t0,eu.length;te;++t)(nut)>a&&nr&&d.push(n);return i.mina,i.maxr,i._unitl.unit||(s.autoSkip?li(l.minUnit,i.min,i.max,h):function(t,e,n,i,a){var r,o;for(rei.length-1;r>ei.indexOf(n);r--)if(oeir,tio.common&&t._adapter.diff(a,i,o)>e-1)return o;return ein?ei.indexOf(n):0}(i,d.length,l.minUnit,i.min,i.max)),i._majorUnits.major.enabled&&year!i._unit?function(t){for(var eei.indexOf(t)+1,nei.length;en;++e)if(tieie.common)return eie}(i._unit):void 0,i._tablefunction(t,e,n,i){if(lineari||!t.length)return{time:e,pos:0},{time:n,pos:1};var a,r,o,s,l,u,de;for(a0,rt.length;ar;++a)(sta)>e&&sn&&d.push(s);for(d.push(n),a0,rd.length;ar;++a)lda+1,oda-1,sda,void 0!o&&void 0!l&&Math.round((l+o)/2)s||u.push({time:s,pos:a/(r-1)});return u}(i._timestamps.data,a,r,f),i._offsetsfunction(t,e,n,i,a){var r,o,s0,l0;return a.offset&&e.length&&(rri(t,time,e0,pos),s1e.length?1-r:(ri(t,time,e1,pos)-r)/2,ori(t,time,ee.length-1,pos),l1e.length?o:(o-ri(t,time,ee.length-2,pos))/2),{start:s,end:l,factor:1/(s+1+l)}}(i._table,d,0,0,o),s.reverse&&d.reverse(),ui(i,d,i._majorUnit)},getLabelForIndex:function(t,e){var nthis,in._adapter,an.chart.data,rn.options.time,oa.labels&&ta.labels.length?a.labelst:,sa.datasetse.datat;return V.isObject(s)&&(on.getRightValue(s)),r.tooltipFormat?i.format(oi(n,o),r.tooltipFormat):stringtypeof o?o:i.format(oi(n,o),r.displayFormats.datetime)},tickFormatFunction:function(t,e,n,i){var athis._adapter,rthis.options,or.time.displayFormats,sothis._unit,lthis._majorUnit,uol,dne,hr.ticks,cl&&u&&d&&d.major,fa.format(t,i||(c?u:s)),gc?h.major:h.minor,pZn(g.callback,g.userCallback,h.callback,h.userCallback);return p?p(f,e,n):f},convertTicksToLabels:function(t){var e,n,i;for(e0,nt.length;en;++e)i.push(this.tickFormatFunction(te.value,e,t));return i},getPixelForOffset:function(t){var ethis._offsets,nri(this._table,time,t,pos);return this.getPixelForDecimal((e.start+n)*e.factor)},getPixelForValue:function(t,e,n){var inull;if(void 0!e&&void 0!n&&(ithis._timestamps.datasetsne),nulli&&(isi(this,t)),null!i)return this.getPixelForOffset(i)},getPixelForTick:function(t){var ethis.getTicks();return t>0&&te.length?this.getPixelForOffset(et.value):null},getValueForPixel:function(t){var ethis._offsets,nthis.getDecimalForPixel(t)/e.factor-e.end,iri(this._table,pos,n,time);return this._adapter._create(i)},_getLabelSize:function(t){var ethis.options.ticks,nthis.ctx.measureText(t).width,iV.toRadians(this.isHorizontal()?e.maxRotation:e.minRotation),aMath.cos(i),rMath.sin(i),o$n(e.fontSize,z.global.defaultFontSize);return{w:n*a+o*r,h:n*r+o*a}},getLabelWidth:function(t){return this._getLabelSize(t).w},getLabelCapacity:function(t){var ethis,ne.options.time,in.displayFormats,ain.unit||i.millisecond,re.tickFormatFunction(t,0,ui(e,t,e._majorUnit),a),oe._getLabelSize(r),sMath.floor(e.isHorizontal()?e.width/o.w:e.height/o.h);return e.options.offset&&s--,s>0?s:1}}),hi{position:bottom,distribution:linear,bounds:data,adapters:{},time:{parser:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:millisecond,displayFormats:{}},ticks:{autoSkip:!1,source:auto,major:{enabled:!1}}};di._defaultshi;var ci{category:_n,linear:Dn,logarithmic:Rn,radialLinear:Gn,time:di},fi{datetime:MMM D, YYYY, h:mm:ss a,millisecond:h:mm:ss.SSS a,second:h:mm:ss a,minute:h:mm a,hour:hA,day:MMM D,week:ll,month:MMM YYYY,quarter:QQ - YYYY,year:YYYY};an._date.override(functiontypeof t?{_id:moment,formats:function(){return fi},parse:function(e,n){returnstringtypeof e&&stringtypeof n?et(e,n):e instanceof t||(et(e)),e.isValid()?e.valueOf():null},format:function(e,n){return t(e).format(n)},add:function(e,n,i){return t(e).add(n,i).valueOf()},diff:function(e,n,i){return t(e).diff(t(n),i)},startOf:function(e,n,i){return et(e),isoWeekn?e.isoWeekday(i).valueOf():e.startOf(n).valueOf()},endOf:function(e,n){return t(e).endOf(n).valueOf()},_create:function(e){return t(e)}}:{}),z._set(global,{plugins:{filler:{propagate:!0}}});var gi{dataset:function(t){var et.fill,nt.chart,in.getDatasetMeta(e),ai&&n.isDatasetVisible(e)&&i.dataset._children||,ra.length||0;return r?function(t,e){return er&&ae._view||null}:null},boundary:function(t){var et.boundary,ne?e.x:null,ie?e.y:null;return V.isArray(e)?function(t,n){return en}:function(t){return{x:nulln?t.x:n,y:nulli?t.y:i}}}};function pi(t,e,n){var i,at._model||{},ra.fill;if(void 0r&&(r!!a.backgroundColor),!1r||nullr)return!1;if(!0r)returnorigin;if(iparseFloat(r,10),isFinite(i)&&Math.floor(i)i)return-!r0&&+!r0||(ie+i),!(ie||i0||i>n)&&i;switch(r){casebottom:returnstart;casetop:returnend;casezero:returnorigin;caseorigin:casestart:caseend:return r;default:return!1}}function mi(t){return(t.el._scale||{}).getPointPositionForValue?function(t){var e,n,i,a,r,ot.el._scale,so.options,lo.chart.data.labels.length,ut.fill,d;if(!l)return null;for(es.ticks.reverse?o.max:o.min,ns.ticks.reverse?o.min:o.max,io.getPointPositionForValue(0,e),a0;al;++a)rstartu||endu?o.getPointPositionForValue(a,startu?e:n):o.getBasePosition(a),s.gridLines.circular&&(r.cxi.x,r.cyi.y,r.angleo.getIndexAngle(a)-Math.PI/2),d.push(r);return d}(t):function(t){var e,nt.el._model||{},it.el._scale||{},at.fill,rnull;if(isFinite(a))return null;if(starta?rvoid 0n.scaleBottom?i.bottom:n.scaleBottom:enda?rvoid 0n.scaleTop?i.top:n.scaleTop:void 0!n.scaleZero?rn.scaleZero:i.getBasePixel&&(ri.getBasePixel()),null!r){if(void 0!r.x&&void 0!r.y)return r;if(V.isFinite(r))return{x:(ei.isHorizontal())?r:null,y:e?null:r}}return null}(t)}function vi(t,e,n){var i,ate.fill,re;if(!n)return a;for(;!1!a&&-1r.indexOf(a);){if(!isFinite(a))return a;if(!(ita))return!1;if(i.visible)return a;r.push(a),ai.fill}return!1}function bi(t){var et.fill,ndataset;return!1e?null:(isFinite(e)||(nboundary),gin(t))}function xi(t){return t&&!t.skip}function yi(t,e,n,i,a){var r,o,s,l;if(i&&a){for(t.moveTo(e0.x,e0.y),r1;ri;++r)V.canvas.lineTo(t,er-1,er);if(void 0n0.angle)for(t.lineTo(na-1.x,na-1.y),ra-1;r>0;--r)V.canvas.lineTo(t,nr,nr-1,!0);else for(on0.cx,sn0.cy,lMath.sqrt(Math.pow(n0.x-o,2)+Math.pow(n0.y-s,2)),ra-1;r>0;--r)t.arc(o,s,l,nr.angle,nr-1.angle,!0)}}function _i(t,e,n,i,a,r){var o,s,l,u,d,h,c,f,ge.length,pi.spanGaps,m,v,b0,x0;for(t.beginPath(),o0,sg;os;++o)dn(uelo%g._view,l,i),hxi(u),cxi(d),r&&void 0f&&h&&(sg+(fo+1)),h&&c?(bm.push(u),xv.push(d)):b&&x&&(p?(h&&m.push(u),c&&v.push(d)):(yi(t,m,v,b,x),bx0,m,v));yi(t,m,v,b,x),t.closePath(),t.fillStylea,t.fill()}var ki{id:filler,afterDatasetsUpdate:function(t,e){var n,i,a,r,o(t.data.datasets||).length,se.propagate,l;for(i0;io;++i)rnull,(a(nt.getDatasetMeta(i)).dataset)&&a._model&&a instanceof _t.Line&&(r{visible:t.isDatasetVisible(i),fill:pi(a,i,o),chart:t,el:a}),n.$fillerr,l.push(r);for(i0;io;++i)(rli)&&(r.fillvi(l,i,s),r.boundarymi(r),r.mapperbi(r))},beforeDatasetsDraw:function(t){var e,n,i,a,r,o,s,lt._getSortedVisibleDatasetMetas(),ut.ctx;for(nl.length-1;n>0;--n)(eln.$filler)&&e.visible&&(a(ie.el)._view,ri._children||,oe.mapper,sa.backgroundColor||z.global.defaultColor,o&&s&&r.length&&(V.canvas.clipArea(u,t.chartArea),_i(u,r,o,a,s,i._loop),V.canvas.unclipArea(u)))}},wiV.rtl.getRtlAdapter,MiV.noop,SiV.valueOrDefault;function Ci(t,e){return t.usePointStyle&&t.boxWidth>e?e:t.boxWidth}z._set(global,{legend:{display:!0,position:top,align:center,fullWidth:!0,reverse:!1,weight:1e3,onClick:function(t,e){var ne.datasetIndex,ithis.chart,ai.getDatasetMeta(n);a.hiddennulla.hidden?!i.data.datasetsn.hidden:null,i.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(t){var et.data.datasets,nt.options.legend||{},in.labels&&n.labels.usePointStyle;return t._getSortedDatasetMetas().map((function(n){var an.controller.getStyle(i?0:void 0);return{text:en.index.label,fillStyle:a.backgroundColor,hidden:!t.isDatasetVisible(n.index),lineCap:a.borderCapStyle,lineDash:a.borderDash,lineDashOffset:a.borderDashOffset,lineJoin:a.borderJoinStyle,lineWidth:a.borderWidth,strokeStyle:a.borderColor,pointStyle:a.pointStyle,rotation:a.rotation,datasetIndex:n.index}}),this)}}},legendCallback:function(t){var e,n,i,adocument.createElement(ul),rt.data.datasets;for(a.setAttribute(class,t.id+-legend),e0,nr.length;en;e++)(ia.appendChild(document.createElement(li))).appendChild(document.createElement(span)).style.backgroundColorre.backgroundColor,re.label&&i.appendChild(document.createTextNode(re.label));return a.outerHTML}});var PiX.extend({initialize:function(t){V.extend(this,t),this.legendHitBoxes,this._hoveredItemnull,this.doughnutMode!1},beforeUpdate:Mi,update:function(t,e,n){var ithis;return i.beforeUpdate(),i.maxWidtht,i.maxHeighte,i.marginsn,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:Mi,beforeSetDimensions:Mi,setDimensions:function(){var tthis;t.isHorizontal()?(t.widtht.maxWidth,t.left0,t.rightt.width):(t.heightt.maxHeight,t.top0,t.bottomt.height),t.paddingLeft0,t.paddingTop0,t.paddingRight0,t.paddingBottom0,t.minSize{width:0,height:0}},afterSetDimensions:Mi,beforeBuildLabels:Mi,buildLabels:function(){var tthis,et.options.labels||{},nV.callback(e.generateLabels,t.chart,t)||;e.filter&&(nn.filter((function(n){return e.filter(n,t.chart.data)}))),t.options.reverse&&n.reverse(),t.legendItemsn},afterBuildLabels:Mi,beforeFit:Mi,fit:function(){var tthis,et.options,ne.labels,ie.display,at.ctx,rV.options._parseFont(n),or.size,st.legendHitBoxes,lt.minSize,ut.isHorizontal();if(u?(l.widtht.maxWidth,l.heighti?10:0):(l.widthi?10:0,l.heightt.maxHeight),i){if(a.fontr.string,u){var dt.lineWidths0,h0;a.textAlignleft,a.textBaselinemiddle,V.each(t.legendItems,(function(t,e){var iCi(n,o)+o/2+a.measureText(t.text).width;(0e||dd.length-1+i+2*n.padding>l.width)&&(h+o+n.padding,dd.length-(e>0?0:1)0),se{left:0,top:0,width:i,height:o},dd.length-1+i+n.padding})),l.height+h}else{var cn.padding,ft.columnWidths,gt.columnHeights,pn.padding,m0,v0;V.each(t.legendItems,(function(t,e){var iCi(n,o)+o/2+a.measureText(t.text).width;e>0&&v+o+2*c>l.height&&(p+m+n.padding,f.push(m),g.push(v),m0,v0),mMath.max(m,i),v+o+c,se{left:0,top:0,width:i,height:o}})),p+m,f.push(m),g.push(v),l.width+p}t.widthl.width,t.heightl.height}else t.widthl.widtht.heightl.height0},afterFit:Mi,isHorizontal:function(){returntopthis.options.position||bottomthis.options.position},draw:function(){var tthis,et.options,ne.labels,iz.global,ai.defaultColor,ri.elements.line,ot.height,st.columnHeights,lt.width,ut.lineWidths;if(e.display){var d,hwi(e.rtl,t.left,t.minSize.width),ct.ctx,fSi(n.fontColor,i.defaultFontColor),gV.options._parseFont(n),pg.size;c.textAlignh.textAlign(left),c.textBaselinemiddle,c.lineWidth.5,c.strokeStylef,c.fillStylef,c.fontg.string;var mCi(n,p),vt.legendHitBoxes,bfunction(t,i){switch(e.align){casestart:return n.padding;caseend:return t-i;default:return(t-i+n.padding)/2}},xt.isHorizontal();dx?{x:t.left+b(l,u0),y:t.top+n.padding,line:0}:{x:t.left+n.padding,y:t.top+b(o,s0),line:0},V.rtl.overrideTextDirection(t.ctx,e.textDirection);var yp+n.padding;V.each(t.legendItems,(function(e,i){var fc.measureText(e.text).width,gm+p/2+f,_d.x,kd.y;h.setWidth(t.minSize.width),x?i>0&&_+g+n.padding>t.left+t.minSize.width&&(kd.y+y,d.line++,_d.xt.left+b(l,ud.line)):i>0&&k+y>t.top+t.minSize.height&&(_d.x_+t.columnWidthsd.line+n.padding,d.line++,kd.yt.top+b(o,sd.line));var wh.x(_);!function(t,e,i){if(!(isNaN(m)||m0)){c.save();var oSi(i.lineWidth,r.borderWidth);if(c.fillStyleSi(i.fillStyle,a),c.lineCapSi(i.lineCap,r.borderCapStyle),c.lineDashOffsetSi(i.lineDashOffset,r.borderDashOffset),c.lineJoinSi(i.lineJoin,r.borderJoinStyle),c.lineWidtho,c.strokeStyleSi(i.strokeStyle,a),c.setLineDash&&c.setLineDash(Si(i.lineDash,r.borderDash)),n&&n.usePointStyle){var sm*Math.SQRT2/2,lh.xPlus(t,m/2),ue+p/2;V.canvas.drawPoint(c,i.pointStyle,s,l,u,i.rotation)}else c.fillRect(h.leftForLtr(t,m),e,m,p),0!o&&c.strokeRect(h.leftForLtr(t,m),e,m,p);c.restore()}}(w,k,e),vi.lefth.leftForLtr(w,vi.width),vi.topk,function(t,e,n,i){var ap/2,rh.xPlus(t,m+a),oe+a;c.fillText(n.text,r,o),n.hidden&&(c.beginPath(),c.lineWidth2,c.moveTo(r,o),c.lineTo(h.xPlus(r,i),o),c.stroke())}(w,k,e,f),x?d.x+g+n.padding:d.y+y})),V.rtl.restoreTextDirection(t.ctx,e.textDirection)}},_getLegendItemAt:function(t,e){var n,i,a,rthis;if(t>r.left&&tr.right&&e>r.top&&er.bottom)for(ar.legendHitBoxes,n0;na.length;++n)if(t>(ian).left&&ti.left+i.width&&e>i.top&&ei.top+i.height)return r.legendItemsn;return null},handleEvent:function(t){var e,nthis,in.options,amouseupt.type?click:t.type;if(mousemovea){if(!i.onHover&&!i.onLeave)return}else{if(click!a)return;if(!i.onClick)return}en._getLegendItemAt(t.x,t.y),clicka?e&&i.onClick&&i.onClick.call(n,t.native,e):(i.onLeave&&e!n._hoveredItem&&(n._hoveredItem&&i.onLeave.call(n,t.native,n._hoveredItem),n._hoveredIteme),i.onHover&&e&&i.onHover.call(n,t.native,e))}});function Ai(t,e){var nnew Pi({ctx:t.ctx,options:e,chart:t});ge.configure(t,n,e),ge.addBox(t,n),t.legendn}var Di{id:legend,_element:Pi,beforeInit:function(t){var et.options.legend;e&&Ai(t,e)},beforeUpdate:function(t){var et.options.legend,nt.legend;e?(V.mergeIf(e,z.global.legend),n?(ge.configure(t,n,e),n.optionse):Ai(t,e)):n&&(ge.removeBox(t,n),delete t.legend)},afterEvent:function(t,e){var nt.legend;n&&n.handleEvent(e)}},TiV.noop;z._set(global,{title:{display:!1,fontStyle:bold,fullWidth:!0,padding:10,position:top,text:,weight:2e3}});var IiX.extend({initialize:function(t){V.extend(this,t),this.legendHitBoxes},beforeUpdate:Ti,update:function(t,e,n){var ithis;return i.beforeUpdate(),i.maxWidtht,i.maxHeighte,i.marginsn,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:Ti,beforeSetDimensions:Ti,setDimensions:function(){var tthis;t.isHorizontal()?(t.widtht.maxWidth,t.left0,t.rightt.width):(t.heightt.maxHeight,t.top0,t.bottomt.height),t.paddingLeft0,t.paddingTop0,t.paddingRight0,t.paddingBottom0,t.minSize{width:0,height:0}},afterSetDimensions:Ti,beforeBuildLabels:Ti,buildLabels:Ti,afterBuildLabels:Ti,beforeFit:Ti,fit:function(){var t,ethis,ne.options,ie.minSize{},ae.isHorizontal();n.display?(t(V.isArray(n.text)?n.text.length:1)*V.options._parseFont(n).lineHeight+2*n.padding,e.widthi.widtha?e.maxWidth:t,e.heighti.heighta?t:e.maxHeight):e.widthi.widthe.heighti.height0},afterFit:Ti,isHorizontal:function(){var tthis.options.position;returntopt||bottomt},draw:function(){var tthis,et.ctx,nt.options;if(n.display){var i,a,r,oV.options._parseFont(n),so.lineHeight,ls/2+n.padding,u0,dt.top,ht.left,ct.bottom,ft.right;e.fillStyleV.valueOrDefault(n.fontColor,z.global.defaultFontColor),e.fonto.string,t.isHorizontal()?(ah+(f-h)/2,rd+l,if-h):(aleftn.position?h+l:f-l,rd+(c-d)/2,ic-d,uMath.PI*(leftn.position?-.5:.5)),e.save(),e.translate(a,r),e.rotate(u),e.textAligncenter,e.textBaselinemiddle;var gn.text;if(V.isArray(g))for(var p0,m0;mg.length;++m)e.fillText(gm,0,p,i),p+s;else e.fillText(g,0,0,i);e.restore()}}});function Fi(t,e){var nnew Ii({ctx:t.ctx,options:e,chart:t});ge.configure(t,n,e),ge.addBox(t,n),t.titleBlockn}var Li{},Oiki,RiDi,zi{id:title,_element:Ii,beforeInit:function(t){var et.options.title;e&&Fi(t,e)},beforeUpdate:function(t){var et.options.title,nt.titleBlock;e?(V.mergeIf(e,z.global.title),n?(ge.configure(t,n,e),n.optionse):Fi(t,e)):n&&(ge.removeBox(t,n),delete t.titleBlock)}};for(var Ni in Li.fillerOi,Li.legendRi,Li.titlezi,tn.helpersV,function(){function t(t,e,n){var i;returnstringtypeof t?(iparseInt(t,10),-1!t.indexOf(%)&&(ii/100*e.parentNoden)):it,i}function e(t){return null!t&&none!t}function n(n,i,a){var rdocument.defaultView,oV._getParentNode(n),sr.getComputedStyle(n)i,lr.getComputedStyle(o)i,ue(s),de(l),hNumber.POSITIVE_INFINITY;return u||d?Math.min(u?t(s,n,a):h,d?t(l,o,a):h):none}V.wherefunction(t,e){if(V.isArray(t)&&Array.prototype.filter)return t.filter(e);var n;return V.each(t,(function(t){e(t)&&n.push(t)})),n},V.findIndexArray.prototype.findIndex?function(t,e,n){return t.findIndex(e,n)}:function(t,e,n){nvoid 0n?t:n;for(var i0,at.length;ia;++i)if(e.call(n,ti,i,t))return i;return-1},V.findNextWherefunction(t,e,n){V.isNullOrUndef(n)&&(n-1);for(var in+1;it.length;i++){var ati;if(e(a))return a}},V.findPreviousWherefunction(t,e,n){V.isNullOrUndef(n)&&(nt.length);for(var in-1;i>0;i--){var ati;if(e(a))return a}},V.isNumberfunction(t){return!isNaN(parseFloat(t))&&isFinite(t)},V.almostEqualsfunction(t,e,n){return Math.abs(t-e)n},V.almostWholefunction(t,e){var nMath.round(t);return n-et&&n+e>t},V.maxfunction(t){return t.reduce((function(t,e){return isNaN(e)?t:Math.max(t,e)}),Number.NEGATIVE_INFINITY)},V.minfunction(t){return t.reduce((function(t,e){return isNaN(e)?t:Math.min(t,e)}),Number.POSITIVE_INFINITY)},V.signMath.sign?function(t){return Math.sign(t)}:function(t){return 0(t+t)||isNaN(t)?t:t>0?1:-1},V.toRadiansfunction(t){return t*(Math.PI/180)},V.toDegreesfunction(t){return t*(180/Math.PI)},V._decimalPlacesfunction(t){if(V.isFinite(t)){for(var e1,n0;Math.round(t*e)/e!t;)e*10,n++;return n}},V.getAngleFromPointfunction(t,e){var ne.x-t.x,ie.y-t.y,aMath.sqrt(n*n+i*i),rMath.atan2(i,n);return r-.5*Math.PI&&(r+2*Math.PI),{angle:r,distance:a}},V.distanceBetweenPointsfunction(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},V.aliasPixelfunction(t){return t%20?0:.5},V._alignPixelfunction(t,e,n){var it.currentDevicePixelRatio,an/2;return Math.round((e-a)*i)/i+a},V.splineCurvefunction(t,e,n,i){var at.skip?e:t,re,on.skip?e:n,sMath.sqrt(Math.pow(r.x-a.x,2)+Math.pow(r.y-a.y,2)),lMath.sqrt(Math.pow(o.x-r.x,2)+Math.pow(o.y-r.y,2)),us/(s+l),dl/(s+l),hi*(uisNaN(u)?0:u),ci*(disNaN(d)?0:d);return{previous:{x:r.x-h*(o.x-a.x),y:r.y-h*(o.y-a.y)},next:{x:r.x+c*(o.x-a.x),y:r.y+c*(o.y-a.y)}}},V.EPSILONNumber.EPSILON||1e-14,V.splineCurveMonotonefunction(t){var e,n,i,a,r,o,s,l,u,d(t||).map((function(t){return{model:t._model,deltaK:0,mK:0}})),hd.length;for(e0;eh;++e)if(!(ide).model.skip){if(ne>0?de-1:null,(aeh-1?de+1:null)&&!a.model.skip){var ca.model.x-i.model.x;i.deltaK0!c?(a.model.y-i.model.y)/c:0}!n||n.model.skip?i.mKi.deltaK:!a||a.model.skip?i.mKn.deltaK:this.sign(n.deltaK)!this.sign(i.deltaK)?i.mK0:i.mK(n.deltaK+i.deltaK)/2}for(e0;eh-1;++e)ide,ade+1,i.model.skip||a.model.skip||(V.almostEquals(i.deltaK,0,this.EPSILON)?i.mKa.mK0:(ri.mK/i.deltaK,oa.mK/i.deltaK,(lMath.pow(r,2)+Math.pow(o,2))9||(s3/Math.sqrt(l),i.mKr*s*i.deltaK,a.mKo*s*i.deltaK)));for(e0;eh;++e)(ide).model.skip||(ne>0?de-1:null,aeh-1?de+1:null,n&&!n.model.skip&&(u(i.model.x-n.model.x)/3,i.model.controlPointPreviousXi.model.x-u,i.model.controlPointPreviousYi.model.y-u*i.mK),a&&!a.model.skip&&(u(a.model.x-i.model.x)/3,i.model.controlPointNextXi.model.x+u,i.model.controlPointNextYi.model.y+u*i.mK))},V.nextItemfunction(t,e,n){return n?e>t.length-1?t0:te+1:e>t.length-1?tt.length-1:te+1},V.previousItemfunction(t,e,n){return n?e0?tt.length-1:te-1:e0?t0:te-1},V.niceNumfunction(t,e){var nMath.floor(V.log10(t)),it/Math.pow(10,n);return(e?i1.5?1:i3?2:i7?5:10:i1?1:i2?2:i5?5:10)*Math.pow(10,n)},V.requestAnimFrameundefinedtypeof window?function(t){t()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)},V.getRelativePositionfunction(t,e){var n,i,at.originalEvent||t,rt.target||t.srcElement,or.getBoundingClientRect(),sa.touches;s&&s.length>0?(ns0.clientX,is0.clientY):(na.clientX,ia.clientY);var lparseFloat(V.getStyle(r,padding-left)),uparseFloat(V.getStyle(r,padding-top)),dparseFloat(V.getStyle(r,padding-right)),hparseFloat(V.getStyle(r,padding-bottom)),co.right-o.left-l-d,fo.bottom-o.top-u-h;return{x:nMath.round((n-o.left-l)/c*r.width/e.currentDevicePixelRatio),y:iMath.round((i-o.top-u)/f*r.height/e.currentDevicePixelRatio)}},V.getConstraintWidthfunction(t){return n(t,max-width,clientWidth)},V.getConstraintHeightfunction(t){return n(t,max-height,clientHeight)},V._calculatePaddingfunction(t,e,n){return(eV.getStyle(t,e)).indexOf(%)>-1?n*parseInt(e,10)/100:parseInt(e,10)},V._getParentNodefunction(t){var et.parentNode;return e&&object ShadowRoote.toString()&&(ee.host),e},V.getMaximumWidthfunction(t){var eV._getParentNode(t);if(!e)return t.clientWidth;var ne.clientWidth,in-V._calculatePadding(e,padding-left,n)-V._calculatePadding(e,padding-right,n),aV.getConstraintWidth(t);return isNaN(a)?i:Math.min(i,a)},V.getMaximumHeightfunction(t){var eV._getParentNode(t);if(!e)return t.clientHeight;var ne.clientHeight,in-V._calculatePadding(e,padding-top,n)-V._calculatePadding(e,padding-bottom,n),aV.getConstraintHeight(t);return isNaN(a)?i:Math.min(i,a)},V.getStylefunction(t,e){return t.currentStyle?t.currentStylee:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},V.retinaScalefunction(t,e){var nt.currentDevicePixelRatioe||undefined!typeof window&&window.devicePixelRatio||1;if(1!n){var it.canvas,at.height,rt.width;i.heighta*n,i.widthr*n,t.ctx.scale(n,n),i.style.height||i.style.width||(i.style.heighta+px,i.style.widthr+px)}},V.fontStringfunction(t,e,n){return e+ +t+px +n},V.longestTextfunction(t,e,n,i){var a(ii||{}).datai.data||{},ri.garbageCollecti.garbageCollect||;i.font!e&&(ai.data{},ri.garbageCollect,i.fonte),t.fonte;var o,s,l,u,d,h0,cn.length;for(o0;oc;o++)if(null!(uno)&&!0!V.isArray(u))hV.measureText(t,a,r,h,u);else if(V.isArray(u))for(s0,lu.length;sl;s++)null(dus)||V.isArray(d)||(hV.measureText(t,a,r,h,d));var fr.length/2;if(f>n.length){for(o0;of;o++)delete aro;r.splice(0,f)}return h},V.measureTextfunction(t,e,n,i,a){var rea;return r||(reat.measureText(a).width,n.push(a)),r>i&&(ir),i},V.numberOfLabelLinesfunction(t){var e1;return V.each(t,(function(t){V.isArray(t)&&t.length>e&&(et.length)})),e},V.colork?function(t){return t instanceof CanvasGradient&&(tz.global.defaultColor),k(t)}:function(t){return console.error(Color.js not found!),t},V.getHoverColorfunction(t){return t instanceof CanvasPattern||t instanceof CanvasGradient?t:V.color(t).saturate(.5).darken(.1).rgbString()}}(),tn._adaptersan,tn.AnimationZ,tn.animationService$,tn.controllers$t,tn.DatasetControllernt,tn.defaultsz,tn.ElementX,tn.elements_t,tn.Interactionae,tn.layoutsge,tn.platformFe,tn.pluginsLe,tn.Scalexn,tn.scaleServiceOe,tn.Ticksrn,tn.TooltipUe,tn.helpers.each(ci,(function(t,e){tn.scaleService.registerScaleType(e,t,t._defaults)})),Li)Li.hasOwnProperty(Ni)&&tn.plugins.register(LiNi);tn.platform.initialize();var Bitn;returnundefined!typeof window&&(window.Charttn),tn.Charttn,tn.LegendLi.legend._element,tn.TitleLi.title._element,tn.pluginServicetn.plugins,tn.PluginBasetn.Element.extend({}),tn.canvasHelperstn.helpers.canvas,tn.layoutServicetn.layouts,tn.LinearScaleBaseSn,tn.helpers.each(Bar,Bubble,Doughnut,Line,PolarArea,Radar,Scatter,(function(t){tntfunction(e,n){return new tn(e,tn.helpers.merge(n||{},{type:t.charAt(0).toLowerCase()+t.slice(1)}))}})),Bi}));/script>!-- script srchttps://cdn.ckeditor.com/ckeditor5/35.3.0/classic/ckeditor.js>/script> --> !-- script srcplugins/ckeditor5/ckeditor.js>/script>script srchttps://cdn.tiny.cloud/1/vk4e5m66wjtj31iq7agdgpsjlag9uhzryhmt1l7mktlb6l46/tinymce/6/tinymce.min.js referrerpolicyorigin>/script> -->script typetext/javascript srcplugins/trumbowyg-main/dist/trumbowyg.js>/script>script srcplugins/trumbowyg-main/dist/plugins/colors/trumbowyg.colors.min.js>/script>script srcplugins/trumbowyg-main/dist/plugins/emoji/trumbowyg.emoji.min.js>/script>script srcplugins/trumbowyg-main/dist/plugins/fontfamily/trumbowyg.fontfamily.min.js>/script>script srcplugins/trumbowyg-main/dist/plugins/fontsize/trumbowyg.fontsize.min.js>/script>script srcplugins/trumbowyg-main/dist/plugins/insertaudio/trumbowyg.insertaudio.min.js>/script>script srcplugins/trumbowyg-main/dist/plugins/lineheight/trumbowyg.lineheight.min.js>/script>script srcplugins/trumbowyg-main/dist/plugins/pasteimage/trumbowyg.pasteimage.min.js>/script>script srcplugins/trumbowyg-main/dist/plugins/table/trumbowyg.table.min.js>/script>script srcplugins/trumbowyg-main/dist/plugins/base64/trumbowyg.base64.min.js>/script>script srcplugins/trumbowyg-main/dist/plugins/giphy/trumbowyg.giphy.min.js>/script>script srcplugins/trumbowyg-main/dist/langs/es.min.js>/script> /head> body classhold-transition skkin-blue sidebar-expand sidebar-mini sidebar-collapse idmain-controller styleheight: 100%;> !-- Insrustando el HTML del LOGIN --> div idviewLogin nameviewLogin classcontainer-fluid stylebackground-image: url(../dist/img/fondo4.jpg); background-size: cover; background-position: center center; background-repeat: no-repeat; background-attachment: fixed; background-color: #66999; height: 100%;> div classrow m-0> div classrow col-lg-12 justify-content-center stylepadding-bottom: 10px; padding-top: 0px;> div classcol-lg-8 col-xl-8 d-none d-lg-block text-center mt-5> img src../dist/img/icono.png alt classimg-fluid stylewidth: 15%; margin-top: 5px; margin-left: auto; margin-right: auto;> /div> /div> div classrow col-lg-12> div classcol-lg-12 col-xl-12 d-flex justify-content-center align-items-start stylemargin-left: auto; margin-right: auto;> div classmb-5 col-sm-5> div classcard-body p-3> h3 classtext-center text-primary>CRM-DANTE ©/h3> p classfont-weight-light text-white text-center>label classtext-dark> ¡Bienvenid@!/label> Por favor ingresa tus datos de acceso./p> hr> form action methodpost class> div classform-group> !-- label classfont-size-sm text-dark forInputEmail>USERNAME/label> --> input typetext classform-control bg-gray-200 border-gray-200 idusr nameusername placeholderNombre de usuario autocompleteoff> /div> div classform-group> !-- label classfont-size-sm text-white forInputPassword>PASSWORD/label> --> span classinput-icon input-icon-right> input idpass nameuserpass typepassword classform-control placeholderPassword> svg idverPassLogin xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-eye data-togglepassword>path dM1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z>/path>circle cx12 cy12 r3>/circle>/svg> /span> !-- input typepassword classform-control bg-gray-200 border-gray-200 idpass nameuserpass placeholderPassword>--> /div> div classform-group d-flex justify-content-between align-items-center> div classcustom-control custom-checkbox> input typecheckbox classcustom-control-input idremember> label classcustom-control-label text-success forremember stylefont-size: 12px;>Recordar password/label> /div> a hrefforgot_pass classtext-warning text-decoration-underline small lk>Olvidé mi password/a> /div> button typesubmit classbtn btn-primary btn-block idaccesoP>ACCEDER/button> /form> /div> /div> /div> /div> /div> /div> !-- Main Scripts -->!--script srcdist/js/jquery.min.js>/script>-->script srcdist/js/popper.min.js>/script>script srcdist/js/bootstrap.min.js>/script>!--script srcdist/js/bootstrap.bundle.min.js>/script>-->script srcplugins/msuggest/magicsuggest.js>/script>script srcnode_modules/cropperjs/dist/cropper.js>/script>script srcnode_modules/jquery-cropper/dist/jquery-cropper.js>/script> script srcplugins/simplebar/simplebar.min.js>/script>script srcplugins/feather-icons/feather.min.js>/script>script srcplugins/smartwizard/js/jquery.smartWizard.js>/script>script srcplugins/nouislider/nouislider.js>/script>script srcplugins/bootstrap-touchspin/jquery.bootstrap-touchspin.js>/script>script srcdist/js/script.js>/script>script data-srcplugins/summernote/summernote-bs4.js>/*! For license information please see summernote-bs4.min.js.LICENSE.txt */!function(t,e){if(objecttypeof exports&&objecttypeof module)module.exportse(require(jquery));else if(functiontypeof define&&define.amd)define(jquery,e);else{var nobjecttypeof exports?e(require(jquery)):e(t.jQuery);for(var o in n)(objecttypeof exports?exports:t)ono}}(window,(function(t){return function(t){var e{};function n(o){if(eo)return eo.exports;var ieo{i:o,l:!1,exports:{}};return to.call(i.exports,i,i.exports,n),i.l!0,i.exports}return n.mt,n.ce,n.dfunction(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.rfunction(t){undefined!typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:Module}),Object.defineProperty(t,__esModule,{value:!0})},n.tfunction(t,e){if(1&e&&(tn(t)),8&e)return t;if(4&e&&objecttypeof t&&t&&t.__esModule)return t;var oObject.create(null);if(n.r(o),Object.defineProperty(o,default,{enumerable:!0,value:t}),2&e&&string!typeof t)for(var i in t)n.d(o,i,function(e){return te}.bind(null,i));return o},n.nfunction(t){var et&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,a,e),e},n.ofunction(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p,n(n.s53)}({0:function(e,n){e.exportst},1:function(t,e,n){use strict;var on(0),in.n(o);function r(t){return(rfunctiontypeof Symbol&&symboltypeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&functiontypeof Symbol&&t.constructorSymbol&&t!Symbol.prototype?symbol:typeof t})(t)}function a(t,e){for(var n0;ne.length;n++){var oen;o.enumerableo.enumerable||!1,o.configurable!0,valuein o&&(o.writable!0),Object.defineProperty(t,o.key,o)}}var sfunction(){function t(e,n,o,i){!function(t,e){if(!(t instanceof e))throw new TypeError(Cannot call a class as a function)}(this,t),this.markupe,this.childrenn,this.optionso,this.callbacki}var e,n,o;return et,(n{key:render,value:function(t){var ei()(this.markup);if(this.options&&this.options.contents&&e.html(this.options.contents),this.options&&this.options.className&&e.addClass(this.options.className),this.options&&this.options.data&&i.a.each(this.options.data,(function(t,n){e.attr(data-+t,n)})),this.options&&this.options.click&&e.on(click,this.options.click),this.children){var ne.find(.note-children-container);this.children.forEach((function(t){t.render(n.length?n:e)}))}return this.callback&&this.callback(e,this.options),this.options&&this.options.callback&&this.options.callback(e),t&&t.append(e),e}})&&a(e.prototype,n),o&&a(e,o),t}();e.a{create:function(t,e){return function(){var nobjectr(arguments1)?arguments1:arguments0,oArray.isArray(arguments0)?arguments0:;return n&&n.children&&(on.children),new s(t,o,n,e)}}}},2:function(t,e){(function(e){t.exportse}).call(this,{})},3:function(t,e,n){use strict;var on(0),in.n(o);i.a.summernotei.a.summernote||{lang:{}},i.a.extend(i.a.summernote.lang,{en-US:{font:{bold:Bold,italic:Italic,underline:Underline,clear:Remove Font Style,height:Line Height,name:Font Family,strikethrough:Strikethrough,subscript:Subscript,superscript:Superscript,size:Font Size,sizeunit:Font Size Unit},image:{image:Picture,insert:Insert Image,resizeFull:Resize full,resizeHalf:Resize half,resizeQuarter:Resize quarter,resizeNone:Original size,floatLeft:Float Left,floatRight:Float Right,floatNone:Remove float,shapeRounded:Shape: Rounded,shapeCircle:Shape: Circle,shapeThumbnail:Shape: Thumbnail,shapeNone:Shape: None,dragImageHere:Drag image or text here,dropImage:Drop image or Text,selectFromFiles:Select from files,maximumFileSize:Maximum file size,maximumFileSizeError:Maximum file size exceeded.,url:Image URL,remove:Remove Image,original:Original},video:{video:Video,videoLink:Video Link,insert:Insert Video,url:Video URL,providers:(YouTube, Vimeo, Vine, Instagram, DailyMotion or Youku)},link:{link:Link,insert:Insert Link,unlink:Unlink,edit:Edit,textToDisplay:Text to display,url:To what URL should this link go?,openInNewWindow:Open in new window,useProtocol:Use default protocol},table:{table:Table,addRowAbove:Add row above,addRowBelow:Add row below,addColLeft:Add column left,addColRight:Add column right,delRow:Delete row,delCol:Delete column,delTable:Delete table},hr:{insert:Insert Horizontal Rule},style:{style:Style,p:Normal,blockquote:Quote,pre:Code,h1:Header 1,h2:Header 2,h3:Header 3,h4:Header 4,h5:Header 5,h6:Header 6},lists:{unordered:Unordered list,ordered:Ordered list},options:{help:Help,fullscreen:Full Screen,codeview:Code View},paragraph:{paragraph:Paragraph,outdent:Outdent,indent:Indent,left:Align left,center:Align center,right:Align right,justify:Justify full},color:{recent:Recent Color,more:More Color,background:Background Color,foreground:Text Color,transparent:Transparent,setTransparent:Set transparent,reset:Reset,resetToDefault:Reset to default,cpSelect:Select},shortcut:{shortcuts:Keyboard shortcuts,close:Close,textFormatting:Text formatting,action:Action,paragraphFormatting:Paragraph formatting,documentStyle:Document Style,extraKeys:Extra keys},help:{escape:Escape,insertParagraph:Insert Paragraph,undo:Undo the last command,redo:Redo the last command,tab:Tab,untab:Untab,bold:Set a bold style,italic:Set a italic style,underline:Set a underline style,strikethrough:Set a strikethrough style,removeFormat:Clean a style,justifyLeft:Set left align,justifyCenter:Set center align,justifyRight:Set right align,justifyFull:Set full align,insertUnorderedList:Toggle unordered list,insertOrderedList:Toggle ordered list,outdent:Outdent on current paragraph,indent:Indent on current paragraph,formatPara:Change current blocks format as a paragraph(P tag),formatH1:Change current blocks format as H1,formatH2:Change current blocks format as H2,formatH3:Change current blocks format as H3,formatH4:Change current blocks format as H4,formatH5:Change current blocks format as H5,formatH6:Change current blocks format as H6,insertHorizontalRule:Insert horizontal rule,linkDialog.show:Show Link Dialog},history:{undo:Undo,redo:Redo},specialChar:{specialChar:SPECIAL CHARACTERS,select:Select Special characters},output:{noSelection:No Selection Made!}}});var rfunctiontypeof define&&n(2),asans-serif,serif,monospace,cursive,fantasy;function s(t){return-1i.a.inArray(t.toLowerCase(),a)?.concat(t,):t}var l,cnavigator.userAgent,u/MSIE|Trident/i.test(c);if(u){var d/MSIE (\d+.\d+)/.exec(c);d&&(lparseFloat(d1)),(d/Trident\/.*rv:(0-9{1,}.0-9{0,})/.exec(c))&&(lparseFloat(d1))}var h/Edge\/\d+/.test(c),fontouchstartin window||navigator.MaxTouchPoints>0||navigator.msMaxTouchPoints>0,pu?DOMCharacterDataModified DOMSubtreeModified DOMNodeInserted:input,m{isMac:navigator.appVersion.indexOf(Mac)>-1,isMSIE:u,isEdge:h,isFF:!h&&/firefox/i.test(c),isPhantom:/PhantomJS/i.test(c),isWebkit:!h&&/webkit/i.test(c),isChrome:!h&&/chrome/i.test(c),isSafari:!h&&/safari/i.test(c)&&!/chrome/i.test(c),browserVersion:l,jqueryVersion:parseFloat(i.a.fn.jquery),isSupportAmd:r,isSupportTouch:f,isFontInstalled:function(t){var eComic Sans MSt?Courier New:Comic Sans MS,ndocument.createElement(canvas).getContext(2d);n.font200px +e+;var on.measureText(mmmmmmmmmmwwwww).width;return n.font200px +s(t)+, +e+,o!n.measureText(mmmmmmmmmmwwwww).width},isW3CRangeSupport:!!document.createRange,inputEventName:p,genericFontFamilies:a,validFontName:s};var v0;var g{eq:function(t){return function(e){return te}},eq2:function(t,e){return te},peq2:function(t){return function(e,n){return etnt}},ok:function(){return!0},fail:function(){return!1},self:function(t){return t},not:function(t){return function(){return!t.apply(t,arguments)}},and:function(t,e){return function(n){return t(n)&&e(n)}},invoke:function(t,e){return function(){return te.apply(t,arguments)}},resetUniqueId:function(){v0},uniqueId:function(t){var e++v+;return t?t+e:e},rect2bnd:function(t){var ei()(document);return{top:t.top+e.scrollTop(),left:t.left+e.scrollLeft(),width:t.right-t.left,height:t.bottom-t.top}},invertObject:function(t){var e{};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(etnn);return e},namespaceToCamel:function(t,e){return(ee||)+t.split(.).map((function(t){return t.substring(0,1).toUpperCase()+t.substring(1)})).join()},debounce:function(t,e,n){var o;return function(){var ithis,rarguments,afunction(){onull,n||t.apply(i,r)},sn&&!o;clearTimeout(o),osetTimeout(a,e),s&&t.apply(i,r)}},isValidUrl:function(t){return/-a-zA-Z0-9@:%._\+~#{2,256}\.a-z{2,6}\b(-a-zA-Z0-9@:%_\+.~#?&//*)/gi.test(t)}};function b(t){return t0}function y(t){return tt.length-1}function k(t){return t.slice(1)}function w(t,e){if(t&&t.length&&e){if(t.indexOf)return-1!t.indexOf(e);if(t.contains)return t.contains(e)}return!1}var C{head:b,last:y,initial:function(t){return t.slice(0,t.length-1)},tail:k,prev:function(t,e){if(t&&t.length&&e){var nt.indexOf(e);return-1n?null:tn-1}return null},next:function(t,e){if(t&&t.length&&e){var nt.indexOf(e);return-1n?null:tn+1}return null},find:function(t,e){for(var n0,ot.length;no;n++){var itn;if(e(i))return i}},contains:w,all:function(t,e){for(var n0,ot.length;no;n++)if(!e(tn))return!1;return!0},sum:function(t,e){return ee||g.self,t.reduce((function(t,n){return t+e(n)}),0)},from:function(t){for(var e,nt.length,o-1;++on;)eoto;return e},isEmpty:function(t){return!t||!t.length},clusterBy:function(t,e){return t.length?k(t).reduce((function(t,n){var oy(t);return e(y(o),n)?oo.lengthn:tt.lengthn,t}),b(t)):},compact:function(t){for(var e,n0,ot.length;no;n++)tn&&e.push(tn);return e},unique:function(t){for(var e,n0,ot.length;no;n++)w(e,tn)||e.push(tn);return e}},xString.fromCharCode(160);function S(t){return t&&i()(t).hasClass(note-editable)}function T(t){return tt.toUpperCase(),function(e){return e&&e.nodeName.toUpperCase()t}}function E(t){return t&&3t.nodeType}function I(t){return t&&/^BR|^IMG|^HR|^IFRAME|^BUTTON|^INPUT|^AUDIO|^VIDEO|^EMBED/.test(t.nodeName.toUpperCase())}function $(t){return!S(t)&&(t&&/^DIV|^P|^LI|^H1-7/.test(t.nodeName.toUpperCase()))}var NT(PRE),PT(LI);var RT(TABLE),LT(DATA);function A(t){return!(B(t)||F(t)||D(t)||$(t)||R(t)||z(t)||L(t))}function F(t){return t&&/^UL|^OL/.test(t.nodeName.toUpperCase())}var DT(HR);function H(t){return t&&/^TD|^TH/.test(t.nodeName.toUpperCase())}var zT(BLOCKQUOTE);function B(t){return H(t)||z(t)||S(t)}var MT(A);var OT(BODY);var jm.isMSIE&&m.browserVersion11? :br>;function U(t){return E(t)?t.nodeValue.length:t?t.childNodes.length:0}function W(t){var eU(t);return 0e||(!E(t)&&1e&&t.innerHTMLj||!(!C.all(t.childNodes,E)||!t.innerHTML))}function K(t){I(t)||U(t)||(t.innerHTMLj)}function q(t,e){for(;t;){if(e(t))return t;if(S(t))break;tt.parentNode}return null}function V(t,e){ee||g.fail;var n;return q(t,(function(t){return S(t)||n.push(t),e(t)})),n}function _(t,e){ee||g.fail;for(var n;t&&!e(t);)n.push(t),tt.nextSibling;return n}function G(t,e){var ne.nextSibling,oe.parentNode;return n?o.insertBefore(t,n):o.appendChild(t),t}function Y(t,e){return i.a.each(e,(function(e,n){t.appendChild(n)})),t}function Z(t){return 0t.offset}function X(t){return t.offsetU(t.node)}function Q(t){return Z(t)||X(t)}function J(t,e){for(;t&&t!e;){if(0!et(t))return!1;tt.parentNode}return!0}function tt(t,e){if(!e)return!1;for(;t&&t!e;){if(et(t)!U(t.parentNode)-1)return!1;tt.parentNode}return!0}function et(t){for(var e0;tt.previousSibling;)e+1;return e}function nt(t){return!!(t&&t.childNodes&&t.childNodes.length)}function ot(t,e){var n,o;if(0t.offset){if(S(t.node))return null;nt.node.parentNode,oet(t.node)}else nt(t.node)?oU(nt.node.childNodest.offset-1):(nt.node,oe?0:t.offset-1);return{node:n,offset:o}}function it(t,e){var n,o;if(U(t.node)t.offset){if(S(t.node))return null;var iat(t.node);i?(ni,o0):(nt.node.parentNode,oet(t.node)+1)}else nt(t.node)?(nt.node.childNodest.offset,o0):(nt.node,oe?U(t.node):t.offset+1);return{node:n,offset:o}}function rt(t,e){var n,o;if(W(t.node))return{node:nt.node.nextSibling,offset:o0};if(U(t.node)t.offset){if(S(t.node))return null;var iat(t.node);i?(ni,o0):(nt.node.parentNode,oet(t.node)+1),S(n)&&(nt.node.nextSibling,o0)}else if(nt(t.node)){if(o0,W(nt.node.childNodest.offset))return null}else if(nt.node,oe?U(t.node):t.offset+1,W(n))return null;return{node:n,offset:o}}function at(t){if(t.nextSibling&&t.parentt.nextSibling.parent)return E(t.nextSibling)?t.nextSibling:at(t.nextSibling)}function st(t,e){return t.nodee.node&&t.offsete.offset}function lt(t,e){var ne&&e.isSkipPaddingBlankHTML,oe&&e.isNotSplitEdgePoint,ie&&e.isDiscardEmptySplits;if(i&&(n!0),Q(t)&&(E(t.node)||o)){if(Z(t))return t.node;if(X(t))return t.node.nextSibling}if(E(t.node))return t.node.splitText(t.offset);var rt.node.childNodest.offset,aG(t.node.cloneNode(!1),t.node);return Y(a,_(r)),n||(K(t.node),K(a)),i&&(W(t.node)&&dt(t.node),W(a))?(dt(a),t.node.nextSibling):a}function ct(t,e,n){var oV(e.node,g.eq(t));return o.length?1o.length?lt(e,n):o.reduce((function(t,o){return te.node&&(tlt(e,n)),lt({node:o,offset:t?et(t):U(o)},n)})):null}function ut(t){return document.createElement(t)}function dt(t,e){if(t&&t.parentNode){if(t.removeNode)return t.removeNode(e);var nt.parentNode;if(!e){for(var o,i0,rt.childNodes.length;ir;i++)o.push(t.childNodesi);for(var a0,so.length;as;a++)n.insertBefore(oa,t)}n.removeChild(t)}}var htT(TEXTAREA);function ft(t,e){var nht(t0)?t.val():t.html();return e?n.replace(/\n\r/g,):n}var pt{NBSP_CHAR:x,ZERO_WIDTH_NBSP_CHAR:\ufeff,blank:j,emptyPara:p>.concat(j,/p>),makePredByNodeName:T,isEditable:S,isControlSizing:function(t){return t&&i()(t).hasClass(note-control-sizing)},isText:E,isElement:function(t){return t&&1t.nodeType},isVoid:I,isPara:$,isPurePara:function(t){return $(t)&&!P(t)},isHeading:function(t){return t&&/^H1-7/.test(t.nodeName.toUpperCase())},isInline:A,isBlock:g.not(A),isBodyInline:function(t){return A(t)&&!q(t,$)},isBody:O,isParaInline:function(t){return A(t)&&!!q(t,$)},isPre:N,isList:F,isTable:R,isData:L,isCell:H,isBlockquote:z,isBodyContainer:B,isAnchor:M,isDiv:T(DIV),isLi:P,isBR:T(BR),isSpan:T(SPAN),isB:T(B),isU:T(U),isS:T(S),isI:T(I),isImg:T(IMG),isTextarea:ht,deepestChildIsEmpty:function(t){do{if(nullt.firstElementChild||t.firstElementChild.innerHTML)break}while(tt.firstElementChild);return W(t)},isEmpty:W,isEmptyAnchor:g.and(M,W),isClosestSibling:function(t,e){return t.nextSiblinge||t.previousSiblinge},withClosestSiblings:function(t,e){ee||g.ok;var n;return t.previousSibling&&e(t.previousSibling)&&n.push(t.previousSibling),n.push(t),t.nextSibling&&e(t.nextSibling)&&n.push(t.nextSibling),n},nodeLength:U,isLeftEdgePoint:Z,isRightEdgePoint:X,isEdgePoint:Q,isLeftEdgeOf:J,isRightEdgeOf:tt,isLeftEdgePointOf:function(t,e){return Z(t)&&J(t.node,e)},isRightEdgePointOf:function(t,e){return X(t)&&tt(t.node,e)},prevPoint:ot,nextPoint:it,nextPointWithEmptyNode:rt,isSamePoint:st,isVisiblePoint:function(t){if(E(t.node)||!nt(t.node)||W(t.node))return!0;var et.node.childNodest.offset-1,nt.node.childNodest.offset;return!(e&&!I(e)||n&&!I(n))},prevPointUntil:function(t,e){for(;t;){if(e(t))return t;tot(t)}return null},nextPointUntil:function(t,e){for(;t;){if(e(t))return t;tit(t)}return null},isCharPoint:function(t){if(!E(t.node))return!1;var et.node.nodeValue.charAt(t.offset-1);return e&& !e&&e!x},isSpacePoint:function(t){if(!E(t.node))return!1;var et.node.nodeValue.charAt(t.offset-1);return e||ex},walkPoint:function(t,e,n,o){for(var it;i&&(n(i),!st(i,e));){irt(i,o&&t.node!i.node&&e.node!i.node)}},ancestor:q,singleChildAncestor:function(t,e){for(tt.parentNode;t&&1U(t);){if(e(t))return t;if(S(t))break;tt.parentNode}return null},listAncestor:V,lastAncestor:function(t,e){var nV(t);return C.last(n.filter(e))},listNext:_,listPrev:function(t,e){ee||g.fail;for(var n;t&&!e(t);)n.push(t),tt.previousSibling;return n},listDescendant:function(t,e){var n;return ee||g.ok,function o(i){t!i&&e(i)&&n.push(i);for(var r0,ai.childNodes.length;ra;r++)o(i.childNodesr)}(t),n},commonAncestor:function(t,e){for(var nV(t),oe;o;oo.parentNode)if(n.indexOf(o)>-1)return o;return null},wrap:function(t,e){var nt.parentNode,oi()(+e+>)0;return n.insertBefore(o,t),o.appendChild(t),o},insertAfter:G,appendChildNodes:Y,position:et,hasChildren:nt,makeOffsetPath:function(t,e){return V(e,g.eq(t)).map(et).reverse()},fromOffsetPath:function(t,e){for(var nt,o0,ie.length;oi;o++)nn.childNodes.lengtheo?n.childNodesn.childNodes.length-1:n.childNodeseo;return n},splitTree:ct,splitPoint:function(t,e){var n,o,ie?$:B,rV(t.node,i),aC.last(r)||t.node;i(a)?(nrr.length-2,oa):o(na).parentNode;var sn&&ct(n,t,{isSkipPaddingBlankHTML:e,isNotSplitEdgePoint:e});return s||o!t.node||(st.node.childNodest.offset),{rightNode:s,container:o}},create:ut,createText:function(t){return document.createTextNode(t)},remove:dt,removeWhile:function(t,e){for(;t&&!S(t)&&e(t);){var nt.parentNode;dt(t),tn}},replace:function(t,e){if(t.nodeName.toUpperCase()e.toUpperCase())return t;var nut(e);return t.style.cssText&&(n.style.cssTextt.style.cssText),Y(n,C.from(t.childNodes)),G(n,t),dt(t),n},html:function(t,e){var nft(t);if(e){n(nn.replace(/(\/?)(\b(?!!)^>\s*)(.*?)(\s*\/?>)/g,(function(t,e,n){nn.toUpperCase();var o/^DIV|^TD|^TH|^P|^LI|^H1-7/.test(n)&&!!e,i/^BLOCKQUOTE|^TABLE|^TBODY|^TR|^HR|^UL|^OL/.test(n);return t+(o||i?\n:)}))).trim()}return n},value:ft,posFromPlaceholder:function(t){var ei()(t),ne.offset(),oe.outerHeight(!0);return{left:n.left,top:n.top+o}},attachEvents:function(t,e){Object.keys(e).forEach((function(n){t.on(n,en)}))},detachEvents:function(t,e){Object.keys(e).forEach((function(n){t.off(n,en)}))},isCustomStyleTag:function(t){return t&&!E(t)&&C.contains(t.classList,note-styletag)}};function mt(t,e){for(var n0;ne.length;n++){var oen;o.enumerableo.enumerable||!1,o.configurable!0,valuein o&&(o.writable!0),Object.defineProperty(t,o.key,o)}}var vtfunction(){function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError(Cannot call a class as a function)}(this,t),this.$notee,this.memos{},this.modules{},this.layoutInfo{},this.optionsi.a.extend(!0,{},n),i.a.summernote.uii.a.summernote.ui_template(this.options),this.uii.a.summernote.ui,this.initialize()}var e,n,o;return et,(n{key:initialize,value:function(){return this.layoutInfothis.ui.createLayout(this.$note),this._initialize(),this.$note.hide(),this}},{key:destroy,value:function(){this._destroy(),this.$note.removeData(summernote),this.ui.removeLayout(this.$note,this.layoutInfo)}},{key:reset,value:function(){var tthis.isDisabled();this.code(pt.emptyPara),this._destroy(),this._initialize(),t&&this.disable()}},{key:_initialize,value:function(){var tthis;this.options.idg.uniqueId(i.a.now()),this.options.containerthis.options.container||this.layoutInfo.editor;var ei.a.extend({},this.options.buttons);Object.keys(e).forEach((function(n){t.memo(button.+n,en)}));var ni.a.extend({},this.options.modules,i.a.summernote.plugins||{});Object.keys(n).forEach((function(e){t.module(e,ne,!0)})),Object.keys(this.modules).forEach((function(e){t.initializeModule(e)}))}},{key:_destroy,value:function(){var tthis;Object.keys(this.modules).reverse().forEach((function(e){t.removeModule(e)})),Object.keys(this.memos).forEach((function(e){t.removeMemo(e)})),this.triggerEvent(destroy,this)}},{key:code,value:function(t){var ethis.invoke(codeview.isActivated);if(void 0t)return this.invoke(codeview.sync),e?this.layoutInfo.codable.val():this.layoutInfo.editable.html();e?this.invoke(codeview.sync,t):this.layoutInfo.editable.html(t),this.$note.val(t),this.triggerEvent(change,t,this.layoutInfo.editable)}},{key:isDisabled,value:function(){returnfalsethis.layoutInfo.editable.attr(contenteditable)}},{key:enable,value:function(){this.layoutInfo.editable.attr(contenteditable,!0),this.invoke(toolbar.activate,!0),this.triggerEvent(disable,!1),this.options.editing!0}},{key:disable,value:function(){this.invoke(codeview.isActivated)&&this.invoke(codeview.deactivate),this.layoutInfo.editable.attr(contenteditable,!1),this.options.editing!1,this.invoke(toolbar.deactivate,!0),this.triggerEvent(disable,!0)}},{key:triggerEvent,value:function(){var tC.head(arguments),eC.tail(C.from(arguments)),nthis.options.callbacksg.namespaceToCamel(t,on);n&&n.apply(this.$note0,e),this.$note.trigger(summernote.+t,e)}},{key:initializeModule,value:function(t){var ethis.modulest;e.shouldInitializee.shouldInitialize||g.ok,e.shouldInitialize()&&(e.initialize&&e.initialize(),e.events&&pt.attachEvents(this.$note,e.events))}},{key:module,value:function(t,e,n){if(1arguments.length)return this.modulest;this.modulestnew e(this),n||this.initializeModule(t)}},{key:removeModule,value:function(t){var ethis.modulest;e.shouldInitialize()&&(e.events&&pt.detachEvents(this.$note,e.events),e.destroy&&e.destroy()),delete this.modulest}},{key:memo,value:function(t,e){if(1arguments.length)return this.memost;this.memoste}},{key:removeMemo,value:function(t){this.memost&&this.memost.destroy&&this.memost.destroy(),delete this.memost}},{key:createInvokeHandlerAndUpdateState,value:function(t,e){var nthis;return function(o){n.createInvokeHandler(t,e)(o),n.invoke(buttons.updateCurrentStyle)}}},{key:createInvokeHandler,value:function(t,e){var nthis;return function(o){o.preventDefault();var ri()(o.target);n.invoke(t,e||r.closest(data-value).data(value),r)}}},{key:invoke,value:function(){var tC.head(arguments),eC.tail(C.from(arguments)),nt.split(.),on.length>1,io&&C.head(n),ro?C.last(n):C.head(n),athis.modulesi||editor;return!i&&thisr?thisr.apply(this,e):a&&ar&&a.shouldInitialize()?ar.apply(a,e):void 0}})&&mt(e.prototype,n),o&&mt(e,o),t}();function gt(t,e){for(var n0;ne.length;n++){var oen;o.enumerableo.enumerable||!1,o.configurable!0,valuein o&&(o.writable!0),Object.defineProperty(t,o.key,o)}}function bt(t,e){var n,o,it.parentElement(),rdocument.body.createTextRange(),aC.from(i.childNodes);for(n0;na.length;n++)if(!pt.isText(an)){if(r.moveToElementText(an),r.compareEndPoints(StartToStart,t)>0)break;oan}if(0!n&&pt.isText(an-1)){var sdocument.body.createTextRange(),lnull;s.moveToElementText(o||i),s.collapse(!o),lo?o.nextSibling:i.firstChild;var ct.duplicate();c.setEndPoint(StartToStart,s);for(var uc.text.replace(/\r\n/g,).length;u>l.nodeValue.length&&l.nextSibling;)u-l.nodeValue.length,ll.nextSibling;l.nodeValue;e&&l.nextSibling&&pt.isText(l.nextSibling)&&ul.nodeValue.length&&(u-l.nodeValue.length,ll.nextSibling),il,nu}return{cont:i,offset:n}}function yt(t){var edocument.body.createTextRange(),nfunction t(e,n){var o,i;if(pt.isText(e)){var rpt.listPrev(e,g.not(pt.isText)),aC.last(r).previousSibling;oa||e.parentNode,n+C.sum(C.tail(r),pt.nodeLength),i!a}else{if(oe.childNodesn||e,pt.isText(o))return t(o,0);n0,i!1}return{node:o,collapseToStart:i,offset:n}}(t.node,t.offset);return e.moveToElementText(n.node),e.collapse(n.collapseToStart),e.moveStart(character,n.offset),e}i.a.fn.extend({summernote:function(){var ti.a.type(C.head(arguments)),estringt,nobjectt,oi.a.extend({},i.a.summernote.options,n?C.head(arguments):{});o.langInfoi.a.extend(!0,{},i.a.summernote.langen-US,i.a.summernote.lango.lang),o.iconsi.a.extend(!0,{},i.a.summernote.options.icons,o.icons),o.tooltipautoo.tooltip?!m.isSupportTouch:o.tooltip,this.each((function(t,e){var ni()(e);if(!n.data(summernote)){var rnew vt(n,o);n.data(summernote,r),n.data(summernote).triggerEvent(init,r.layoutInfo)}}));var rthis.first();if(r.length){var ar.data(summernote);if(e)return a.invoke.apply(a,C.from(arguments));o.focus&&a.invoke(editor.focus)}return this}});var ktfunction(){function t(e,n,o,i){!function(t,e){if(!(t instanceof e))throw new TypeError(Cannot call a class as a function)}(this,t),this.sce,this.son,this.eco,this.eoi,this.isOnEditablethis.makeIsOn(pt.isEditable),this.isOnListthis.makeIsOn(pt.isList),this.isOnAnchorthis.makeIsOn(pt.isAnchor),this.isOnCellthis.makeIsOn(pt.isCell),this.isOnDatathis.makeIsOn(pt.isData)}var e,n,o;return et,(n{key:nativeRange,value:function(){if(m.isW3CRangeSupport){var tdocument.createRange();return t.setStart(this.sc,this.so),t.setEnd(this.ec,this.eo),t}var eyt({node:this.sc,offset:this.so});return e.setEndPoint(EndToEnd,yt({node:this.ec,offset:this.eo})),e}},{key:getPoints,value:function(){return{sc:this.sc,so:this.so,ec:this.ec,eo:this.eo}}},{key:getStartPoint,value:function(){return{node:this.sc,offset:this.so}}},{key:getEndPoint,value:function(){return{node:this.ec,offset:this.eo}}},{key:select,value:function(){var tthis.nativeRange();if(m.isW3CRangeSupport){var edocument.getSelection();e.rangeCount>0&&e.removeAllRanges(),e.addRange(t)}else t.select();return this}},{key:scrollIntoView,value:function(t){var ei()(t).height();return t.scrollTop+ethis.sc.offsetTop&&(t.scrollTop+Math.abs(t.scrollTop+e-this.sc.offsetTop)),this}},{key:normalize,value:function(){var efunction(t,e){if(!t)return t;if(pt.isVisiblePoint(t)&&(!pt.isEdgePoint(t)||pt.isRightEdgePoint(t)&&!e||pt.isLeftEdgePoint(t)&&e||pt.isRightEdgePoint(t)&&e&&pt.isVoid(t.node.nextSibling)||pt.isLeftEdgePoint(t)&&!e&&pt.isVoid(t.node.previousSibling)||pt.isBlock(t.node)&&pt.isEmpty(t.node)))return t;var npt.ancestor(t.node,pt.isBlock),o!1;if(!o){var ipt.prevPoint(t)||{node:null};o(pt.isLeftEdgePointOf(t,n)||pt.isVoid(i.node))&&!e}var r!1;if(!r){var apt.nextPoint(t)||{node:null};r(pt.isRightEdgePointOf(t,n)||pt.isVoid(a.node))&&e}if(o||r){if(pt.isVisiblePoint(t))return t;e!e}return(e?pt.nextPointUntil(pt.nextPoint(t),pt.isVisiblePoint):pt.prevPointUntil(pt.prevPoint(t),pt.isVisiblePoint))||t},ne(this.getEndPoint(),!1),othis.isCollapsed()?n:e(this.getStartPoint(),!0);return new t(o.node,o.offset,n.node,n.offset)}},{key:nodes,value:function(t,e){tt||g.ok;var ne&&e.includeAncestor,oe&&e.fullyContains,ithis.getStartPoint(),rthis.getEndPoint(),a,s;return pt.walkPoint(i,r,(function(e){var i;pt.isEditable(e.node)||(o?(pt.isLeftEdgePoint(e)&&s.push(e.node),pt.isRightEdgePoint(e)&&C.contains(s,e.node)&&(ie.node)):in?pt.ancestor(e.node,t):e.node,i&&t(i)&&a.push(i))}),!0),C.unique(a)}},{key:commonAncestor,value:function(){return pt.commonAncestor(this.sc,this.ec)}},{key:expand,value:function(e){var npt.ancestor(this.sc,e),opt.ancestor(this.ec,e);if(!n&&!o)return new t(this.sc,this.so,this.ec,this.eo);var ithis.getPoints();return n&&(i.scn,i.so0),o&&(i.eco,i.eopt.nodeLength(o)),new t(i.sc,i.so,i.ec,i.eo)}},{key:collapse,value:function(e){return e?new t(this.sc,this.so,this.sc,this.so):new t(this.ec,this.eo,this.ec,this.eo)}},{key:splitText,value:function(){var ethis.scthis.ec,nthis.getPoints();return pt.isText(this.ec)&&!pt.isEdgePoint(this.getEndPoint())&&this.ec.splitText(this.eo),pt.isText(this.sc)&&!pt.isEdgePoint(this.getStartPoint())&&(n.scthis.sc.splitText(this.so),n.so0,e&&(n.ecn.sc,n.eothis.eo-this.so)),new t(n.sc,n.so,n.ec,n.eo)}},{key:deleteContents,value:function(){if(this.isCollapsed())return this;var ethis.splitText(),ne.nodes(null,{fullyContains:!0}),opt.prevPointUntil(e.getStartPoint(),(function(t){return!C.contains(n,t.node)})),r;return i.a.each(n,(function(t,e){var ne.parentNode;o.node!n&&1pt.nodeLength(n)&&r.push(n),pt.remove(e,!1)})),i.a.each(r,(function(t,e){pt.remove(e,!1)})),new t(o.node,o.offset,o.node,o.offset).normalize()}},{key:makeIsOn,value:function(t){return function(){var ept.ancestor(this.sc,t);return!!e&&ept.ancestor(this.ec,t)}}},{key:isLeftEdgeOf,value:function(t){if(!pt.isLeftEdgePoint(this.getStartPoint()))return!1;var ept.ancestor(this.sc,t);return e&&pt.isLeftEdgeOf(this.sc,e)}},{key:isCollapsed,value:function(){return this.scthis.ec&&this.sothis.eo}},{key:wrapBodyInlineWithPara,value:function(){if(pt.isBodyContainer(this.sc)&&pt.isEmpty(this.sc))return this.sc.innerHTMLpt.emptyPara,new t(this.sc.firstChild,0,this.sc.firstChild,0);var e,nthis.normalize();if(pt.isParaInline(this.sc)||pt.isPara(this.sc))return n;if(pt.isInline(n.sc)){var opt.listAncestor(n.sc,g.not(pt.isInline));eC.last(o),pt.isInline(e)||(eoo.length-2||n.sc.childNodesn.so)}else en.sc.childNodesn.so>0?n.so-1:0;if(e){var ipt.listPrev(e,pt.isParaInline).reverse();if((ii.concat(pt.listNext(e.nextSibling,pt.isParaInline))).length){var rpt.wrap(C.head(i),p);pt.appendChildNodes(r,C.tail(i))}}return this.normalize()}},{key:insertNode,value:function(t){var ethis;(pt.isText(t)||pt.isInline(t))&&(ethis.wrapBodyInlineWithPara().deleteContents());var npt.splitPoint(e.getStartPoint(),pt.isInline(t));return n.rightNode?(n.rightNode.parentNode.insertBefore(t,n.rightNode),pt.isEmpty(n.rightNode)&&pt.isPara(t)&&n.rightNode.parentNode.removeChild(n.rightNode)):n.container.appendChild(t),t}},{key:pasteHTML,value:function(t){ti.a.trim(t);var ei()(div>/div>).html(t)0,nC.from(e.childNodes),othis,r!1;return o.so>0&&(nn.reverse(),r!0),nn.map((function(t){return o.insertNode(t)})),r&&(nn.reverse()),n}},{key:toString,value:function(){var tthis.nativeRange();return m.isW3CRangeSupport?t.toString():t.text}},{key:getWordRange,value:function(e){var nthis.getEndPoint();if(!pt.isCharPoint(n))return this;var opt.prevPointUntil(n,(function(t){return!pt.isCharPoint(t)}));return e&&(npt.nextPointUntil(n,(function(t){return!pt.isCharPoint(t)}))),new t(o.node,o.offset,n.node,n.offset)}},{key:getWordsRange,value:function(e){var nthis.getEndPoint(),ofunction(t){return!pt.isCharPoint(t)&&!pt.isSpacePoint(t)};if(o(n))return this;var ipt.prevPointUntil(n,o);return e&&(npt.nextPointUntil(n,o)),new t(i.node,i.offset,n.node,n.offset)}},{key:getWordsMatchRange,value:function(e){var nthis.getEndPoint(),opt.prevPointUntil(n,(function(o){if(!pt.isCharPoint(o)&&!pt.isSpacePoint(o))return!0;var inew t(o.node,o.offset,n.node,n.offset),re.exec(i.toString());return r&&0r.index})),inew t(o.node,o.offset,n.node,n.offset),ri.toString(),ae.exec(r);return a&&a0.lengthr.length?i:null}},{key:bookmark,value:function(t){return{s:{path:pt.makeOffsetPath(t,this.sc),offset:this.so},e:{path:pt.makeOffsetPath(t,this.ec),offset:this.eo}}}},{key:paraBookmark,value:function(t){return{s:{path:C.tail(pt.makeOffsetPath(C.head(t),this.sc)),offset:this.so},e:{path:C.tail(pt.makeOffsetPath(C.last(t),this.ec)),offset:this.eo}}}},{key:getClientRects,value:function(){return this.nativeRange().getClientRects()}})&>(e.prototype,n),o&>(e,o),t}(),wt{create:function(t,e,n,o){if(4arguments.length)return new kt(t,e,n,o);if(2arguments.length)return new kt(t,e,nt,oe);var ithis.createFromSelection();if(!i&&1arguments.length){var rarguments0;return pt.isEditable(r)&&(rr.lastChild),this.createFromBodyElement(r,pt.emptyParaarguments0.innerHTML)}return i},createFromBodyElement:function(t){var earguments.length>1&&void 0!arguments1&&arguments1,nthis.createFromNode(t);return n.collapse(e)},createFromSelection:function(){var t,e,n,o;if(m.isW3CRangeSupport){var idocument.getSelection();if(!i||0i.rangeCount)return null;if(pt.isBody(i.anchorNode))return null;var ri.getRangeAt(0);tr.startContainer,er.startOffset,nr.endContainer,or.endOffset}else{var adocument.selection.createRange(),sa.duplicate();s.collapse(!1);var la;l.collapse(!0);var cbt(l,!0),ubt(s,!1);pt.isText(c.node)&&pt.isLeftEdgePoint(c)&&pt.isTextNode(u.node)&&pt.isRightEdgePoint(u)&&u.node.nextSiblingc.node&&(cu),tc.cont,ec.offset,nu.cont,ou.offset}return new kt(t,e,n,o)},createFromNode:function(t){var et,n0,ot,ipt.nodeLength(o);return pt.isVoid(e)&&(npt.listPrev(e).length-1,ee.parentNode),pt.isBR(o)?(ipt.listPrev(o).length-1,oo.parentNode):pt.isVoid(o)&&(ipt.listPrev(o).length,oo.parentNode),this.create(e,n,o,i)},createFromNodeBefore:function(t){return this.createFromNode(t).collapse(!0)},createFromNodeAfter:function(t){return this.createFromNode(t).collapse()},createFromBookmark:function(t,e){var npt.fromOffsetPath(t,e.s.path),oe.s.offset,ipt.fromOffsetPath(t,e.e.path),re.e.offset;return new kt(n,o,i,r)},createFromParaBookmark:function(t,e){var nt.s.offset,ot.e.offset,ipt.fromOffsetPath(C.head(e),t.s.path),rpt.fromOffsetPath(C.last(e),t.e.path);return new kt(i,n,r,o)}},Ct{BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,SPACE:32,DELETE:46,LEFT:37,UP:38,RIGHT:39,DOWN:40,NUM0:48,NUM1:49,NUM2:50,NUM3:51,NUM4:52,NUM5:53,NUM6:54,NUM7:55,NUM8:56,B:66,E:69,I:73,J:74,K:75,L:76,R:82,S:83,U:85,V:86,Y:89,Z:90,SLASH:191,LEFTBRACKET:219,BACKSLASH:220,RIGHTBRACKET:221,HOME:36,END:35,PAGEUP:33,PAGEDOWN:34},xt{isEdit:function(t){return C.contains(Ct.BACKSPACE,Ct.TAB,Ct.ENTER,Ct.SPACE,Ct.DELETE,t)},isMove:function(t){return C.contains(Ct.LEFT,Ct.UP,Ct.RIGHT,Ct.DOWN,t)},isNavigation:function(t){return C.contains(Ct.HOME,Ct.END,Ct.PAGEUP,Ct.PAGEDOWN,t)},nameFromCode:g.invertObject(Ct),code:Ct};function St(t,e){for(var n0;ne.length;n++){var oen;o.enumerableo.enumerable||!1,o.configurable!0,valuein o&&(o.writable!0),Object.defineProperty(t,o.key,o)}}var Ttfunction(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError(Cannot call a class as a function)}(this,t),this.stack,this.stackOffset-1,this.contexte,this.$editablee.layoutInfo.editable,this.editablethis.$editable0}var e,n,o;return et,(n{key:makeSnapshot,value:function(){var twt.create(this.editable);return{contents:this.$editable.html(),bookmark:t&&t.isOnEditable()?t.bookmark(this.editable):{s:{path:,offset:0},e:{path:,offset:0}}}}},{key:applySnapshot,value:function(t){null!t.contents&&this.$editable.html(t.contents),null!t.bookmark&&wt.createFromBookmark(this.editable,t.bookmark).select()}},{key:rewind,value:function(){this.$editable.html()!this.stackthis.stackOffset.contents&&this.recordUndo(),this.stackOffset0,this.applySnapshot(this.stackthis.stackOffset)}},{key:commit,value:function(){this.stack,this.stackOffset-1,this.recordUndo()}},{key:reset,value:function(){this.stack,this.stackOffset-1,this.$editable.html(),this.recordUndo()}},{key:undo,value:function(){this.$editable.html()!this.stackthis.stackOffset.contents&&this.recordUndo(),this.stackOffset>0&&(this.stackOffset--,this.applySnapshot(this.stackthis.stackOffset))}},{key:redo,value:function(){this.stack.length-1>this.stackOffset&&(this.stackOffset++,this.applySnapshot(this.stackthis.stackOffset))}},{key:recordUndo,value:function(){this.stackOffset++,this.stack.length>this.stackOffset&&(this.stackthis.stack.slice(0,this.stackOffset)),this.stack.push(this.makeSnapshot()),this.stack.length>this.context.options.historyLimit&&(this.stack.shift(),this.stackOffset-1)}})&&St(e.prototype,n),o&&St(e,o),t}();function Et(t,e){for(var n0;ne.length;n++){var oen;o.enumerableo.enumerable||!1,o.configurable!0,valuein o&&(o.writable!0),Object.defineProperty(t,o.key,o)}}var Itfunction(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError(Cannot call a class as a function)}(this,t)}var e,n,o;return et,(n{key:jQueryCSS,value:function(t,e){if(m.jqueryVersion1.9){var n{};return i.a.each(e,(function(e,o){not.css(o)})),n}return t.css(e)}},{key:fromNode,value:function(t){var ethis.jQueryCSS(t,font-family,font-size,text-align,list-style-type,line-height)||{},nt0.style.fontSize||efont-size;return efont-sizeparseInt(n,10),efont-size-unitn.match(/a-z%+$/),e}},{key:stylePara,value:function(t,e){i.a.each(t.nodes(pt.isPara,{includeAncestor:!0}),(function(t,n){i()(n).css(e)}))}},{key:styleNodes,value:function(t,e){tt.splitText();var ne&&e.nodeName||SPAN,o!(!e||!e.expandClosestSibling),r!(!e||!e.onlyPartialContains);if(t.isCollapsed())returnt.insertNode(pt.create(n));var apt.makePredByNodeName(n),st.nodes(pt.isText,{fullyContains:!0}).map((function(t){return pt.singleChildAncestor(t,a)||pt.wrap(t,n)}));if(o){if(r){var lt.nodes();ag.and(a,(function(t){return C.contains(l,t)}))}return s.map((function(t){var ept.withClosestSiblings(t,a),nC.head(e),oC.tail(e);return i.a.each(o,(function(t,e){pt.appendChildNodes(n,e.childNodes),pt.remove(e)})),C.head(e)}))}return s}},{key:current,value:function(t){var ei()(pt.isElement(t.sc)?t.sc:t.sc.parentNode),nthis.fromNode(e);try{ni.a.extend(n,{font-bold:document.queryCommandState(bold)?bold:normal,font-italic:document.queryCommandState(italic)?italic:normal,font-underline:document.queryCommandState(underline)?underline:normal,font-subscript:document.queryCommandState(subscript)?subscript:normal,font-superscript:document.queryCommandState(superscript)?superscript:normal,font-strikethrough:document.queryCommandState(strikethrough)?strikethrough:normal,font-family:document.queryCommandValue(fontname)||nfont-family})}catch(t){}if(t.isOnList()){var ocircle,disc,disc-leading-zero,square.indexOf(nlist-style-type)>-1;nlist-styleo?unordered:ordered}else nlist-stylenone;var rpt.ancestor(t.sc,pt.isPara);if(r&&r.styleline-height)nline-heightr.style.lineHeight;else{var aparseInt(nline-height,10)/parseInt(nfont-size,10);nline-heighta.toFixed(1)}return n.anchort.isOnAnchor()&&pt.ancestor(t.sc,pt.isAnchor),n.ancestorspt.listAncestor(t.sc,pt.isEditable),n.ranget,n}})&&Et(e.prototype,n),o&&Et(e,o),t}();function $t(t,e){for(var n0;ne.length;n++){var oen;o.enumerableo.enumerable||!1,o.configurable!0,valuein o&&(o.writable!0),Object.defineProperty(t,o.key,o)}}var Ntfunction(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError(Cannot call a class as a function)}(this,t)}var e,n,o;return et,(n{key:insertOrderedList,value:function(t){this.toggleList(OL,t)}},{key:insertUnorderedList,value:function(t){this.toggleList(UL,t)}},{key:indent,value:function(t){var ethis,nwt.create(t).wrapBodyInlineWithPara(),on.nodes(pt.isPara,{includeAncestor:!0}),rC.clusterBy(o,g.peq2(parentNode));i.a.each(r,(function(t,n){var oC.head(n);if(pt.isLi(o)){var re.findList(o.previousSibling);r?n.map((function(t){return r.appendChild(t)})):(e.wrapList(n,o.parentNode.nodeName),n.map((function(t){return t.parentNode})).map((function(t){return e.appendToPrevious(t)})))}else i.a.each(n,(function(t,e){i()(e).css(marginLeft,(function(t,e){return(parseInt(e,10)||0)+25}))}))})),n.select()}},{key:outdent,value:function(t){var ethis,nwt.create(t).wrapBodyInlineWithPara(),on.nodes(pt.isPara,{includeAncestor:!0}),rC.clusterBy(o,g.peq2(parentNode));i.a.each(r,(function(t,n){var oC.head(n);pt.isLi(o)?e.releaseList(n):i.a.each(n,(function(t,e){i()(e).css(marginLeft,(function(t,e){return(eparseInt(e,10)||0)>25?e-25:}))}))})),n.select()}},{key:toggleList,value:function(t,e){var nthis,owt.create(e).wrapBodyInlineWithPara(),ro.nodes(pt.isPara,{includeAncestor:!0}),ao.paraBookmark(r),sC.clusterBy(r,g.peq2(parentNode));if(C.find(r,pt.isPurePara)){var l;i.a.each(s,(function(e,o){ll.concat(n.wrapList(o,t))})),rl}else{var co.nodes(pt.isList,{includeAncestor:!0}).filter((function(e){return!i.a.nodeName(e,t)}));c.length?i.a.each(c,(function(e,n){pt.replace(n,t)})):rthis.releaseList(s,!0)}wt.createFromParaBookmark(a,r).select()}},{key:wrapList,value:function(t,e){var nC.head(t),oC.last(t),ipt.isList(n.previousSibling)&&n.previousSibling,rpt.isList(o.nextSibling)&&o.nextSibling,ai||pt.insertAfter(pt.create(e||UL),o);return tt.map((function(t){return pt.isPurePara(t)?pt.replace(t,LI):t})),pt.appendChildNodes(a,t),r&&(pt.appendChildNodes(a,C.from(r.childNodes)),pt.remove(r)),t}},{key:releaseList,value:function(t,e){var nthis,o;return i.a.each(t,(function(t,r){var aC.head(r),sC.last(r),le?pt.lastAncestor(a,pt.isList):a.parentNode,cl.parentNode;if(LIl.parentNode.nodeName)r.map((function(t){var en.findNextSiblings(t);c.nextSibling?c.parentNode.insertBefore(t,c.nextSibling):c.parentNode.appendChild(t),e.length&&(n.wrapList(e,l.nodeName),t.appendChild(e0.parentNode))})),0l.children.length&&c.removeChild(l),0c.childNodes.length&&c.parentNode.removeChild(c);else{var ul.childNodes.length>1?pt.splitTree(l,{node:s.parentNode,offset:pt.position(s)+1},{isSkipPaddingBlankHTML:!0}):null,dpt.splitTree(l,{node:a.parentNode,offset:pt.position(a)},{isSkipPaddingBlankHTML:!0});re?pt.listDescendant(d,pt.isLi):C.from(d.childNodes).filter(pt.isLi),!e&&pt.isList(l.parentNode)||(rr.map((function(t){return pt.replace(t,P)}))),i.a.each(C.from(r).reverse(),(function(t,e){pt.insertAfter(e,l)}));var hC.compact(l,d,u);i.a.each(h,(function(t,e){var ne.concat(pt.listDescendant(e,pt.isList));i.a.each(n.reverse(),(function(t,e){pt.nodeLength(e)||pt.remove(e,!0)}))}))}oo.concat(r)})),o}},{key:appendToPrevious,value:function(t){return t.previousSibling?pt.appendChildNodes(t.previousSibling,t):this.wrapList(t,LI)}},{key:findList,value:function(t){return t?C.find(t.children,(function(t){returnOL,UL.indexOf(t.nodeName)>-1})):null}},{key:findNextSiblings,value:function(t){for(var e;t.nextSibling;)e.push(t.nextSibling),tt.nextSibling;return e}})&&$t(e.prototype,n),o&&$t(e,o),t}();function Pt(t,e){for(var n0;ne.length;n++){var oen;o.enumerableo.enumerable||!1,o.configurable!0,valuein o&&(o.writable!0),Object.defineProperty(t,o.key,o)}}var Rtfunction(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError(Cannot call a class as a function)}(this,t),this.bulletnew Nt,this.optionse.options}var e,n,o;return et,(n{key:insertTab,value:function(t,e){var npt.createText(new Array(e+1).join(pt.NBSP_CHAR));(tt.deleteContents()).insertNode(n,!0),(twt.create(n,e)).select()}},{key:insertParagraph,value:function(t,e){e(e(ee||wt.create(t)).deleteContents()).wrapBodyInlineWithPara();var n,opt.ancestor(e.sc,pt.isPara);if(o){if(pt.isLi(o)&&(pt.isEmpty(o)||pt.deepestChildIsEmpty(o)))return void this.bullet.toggleList(o.parentNode.nodeName);var rnull;if(1this.options.blockquoteBreakingLevel?rpt.ancestor(o,pt.isBlockquote):2this.options.blockquoteBreakingLevel&&(rpt.lastAncestor(o,pt.isBlockquote)),r){ni()(pt.emptyPara)0,pt.isRightEdgePoint(e.getStartPoint())&&pt.isBR(e.sc.nextSibling)&&i()(e.sc.nextSibling).remove();var apt.splitTree(r,e.getStartPoint(),{isDiscardEmptySplits:!0});a?a.parentNode.insertBefore(n,a):pt.insertAfter(n,r)}else{npt.splitTree(o,e.getStartPoint());var spt.listDescendant(o,pt.isEmptyAnchor);ss.concat(pt.listDescendant(n,pt.isEmptyAnchor)),i.a.each(s,(function(t,e){pt.remove(e)})),(pt.isHeading(n)||pt.isPre(n)||pt.isCustomStyleTag(n))&&pt.isEmpty(n)&&(npt.replace(n,p))}}else{var le.sc.childNodese.so;ni()(pt.emptyPara)0,l?e.sc.insertBefore(n,l):e.sc.appendChild(n)}wt.create(n,0).normalize().select().scrollIntoView(t)}})&&Pt(e.prototype,n),o&&Pt(e,o),t}();function Lt(t,e){for(var n0;ne.length;n++){var oen;o.enumerableo.enumerable||!1,o.configurable!0,valuein o&&(o.writable!0),Object.defineProperty(t,o.key,o)}}var Atfunction t(e,n,o,i){var r{colPos:0,rowPos:0},a,s;function l(t,e,n,o,i,r,s){var l{baseRow:n,baseCell:o,isRowSpan:i,isColSpan:r,isVirtual:s};at||(at),atel}function c(t,e,n,o){return{baseCell:t.baseCell,action:e,virtualTable:{rowIndex:n,cellIndex:o}}}function u(t,e){if(!at)return e;if(!ate)return e;for(var ne;atn;)if(n++,!atn)return n}function d(t,e){var nu(t.rowIndex,e.cellIndex),oe.colSpan>1,ie.rowSpan>1,at.rowIndexr.rowPos&&e.cellIndexr.colPos;l(t.rowIndex,n,t,e,i,o,!1);var se.attributes.rowSpan?parseInt(e.attributes.rowSpan.value,10):0;if(s>1)for(var c1;cs;c++){var dt.rowIndex+c;h(d,n,e,a),l(d,n,t,e,!0,o,!0)}var fe.attributes.colSpan?parseInt(e.attributes.colSpan.value,10):0;if(f>1)for(var p1;pf;p++){var mu(t.rowIndex,n+p);h(t.rowIndex,m,e,a),l(t.rowIndex,m,t,e,i,!0,!0)}}function h(t,e,n,o){tr.rowPos&&r.colPos>n.cellIndex&&n.cellIndexe&&!o&&r.colPos++}function f(e){switch(n){case t.where.Column:if(e.isColSpan)return t.resultAction.SubtractSpanCount;break;case t.where.Row:if(!e.isVirtual&&e.isRowSpan)return t.resultAction.AddCell;if(e.isRowSpan)return t.resultAction.SubtractSpanCount}return t.resultAction.RemoveCell}function p(e){switch(n){case t.where.Column:if(e.isColSpan)return t.resultAction.SumSpanCount;if(e.isRowSpan&&e.isVirtual)return t.resultAction.Ignore;break;case t.where.Row:if(e.isRowSpan)return t.resultAction.SumSpanCount;if(e.isColSpan&&e.isVirtual)return t.resultAction.Ignore}return t.resultAction.AddCell}this.getActionListfunction(){for(var ent.where.Row?r.rowPos:-1,int.where.Column?r.colPos:-1,l0,u!0;u;){var de>0?e:l,hi>0?i:l,mad;if(!m)return u!1,s;var vmh;if(!v)return u!1,s;var gt.resultAction.Ignore;switch(o){case t.requestAction.Add:gp(v);break;case t.requestAction.Delete:gf(v)}s.push(c(v,g,d,h)),l++}return s},e&&e.tagName&&(tde.tagName.toLowerCase()||the.tagName.toLowerCase())&&(r.colPose.cellIndex,e.parentElement&&e.parentElement.tagName&&tre.parentElement.tagName.toLowerCase()&&(r.rowPose.parentElement.rowIndex)),function(){for(var ti.rows,e0;et.length;e++)for(var nte.cells,o0;on.length;o++)d(te,no)}()};At.where{Row:0,Column:1},At.requestAction{Add:0,Delete:1},At.resultAction{Ignore:0,SubtractSpanCount:1,RemoveCell:2,AddCell:3,SumSpanCount:4};var Ftfunction(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError(Cannot call a class as a function)}(this,t)}var e,n,o;return et,(n{key:tab,value:function(t,e){var npt.ancestor(t.commonAncestor(),pt.isCell),opt.ancestor(n,pt.isTable),ipt.listDescendant(o,pt.isCell),rCe?prev:next(i,n);r&&wt.create(r,0).select()}},{key:addRow,value:function(t,e){for(var npt.ancestor(t.commonAncestor(),pt.isCell),oi()(n).closest(tr),rthis.recoverAttributes(o),ai()(tr+r+>/tr>),snew At(n,At.where.Row,At.requestAction.Add,i()(o).closest(table)0).getActionList(),l0;ls.length;l++){var csl,uthis.recoverAttributes(c.baseCell);switch(c.action){case At.resultAction.AddCell:a.append(td+u+>+pt.blank+/td>);break;case At.resultAction.SumSpanCount:if(tope&&(c.baseCell.parent?c.baseCell.closest(tr).rowIndex:0)o0.rowIndex){var di()(div>/div>).append(i()(td+u+>+pt.blank+/td>).removeAttr(rowspan)).html();a.append(d);break}var hparseInt(c.baseCell.rowSpan,10);h++,c.baseCell.setAttribute(rowSpan,h)}}if(tope)o.before(a);else{if(n.rowSpan>1){var fo0.rowIndex+(n.rowSpan-2);return void i()(i()(o).parent().find(tr)f).after(i()(a))}o.after(a)}}},{key:addCol,value:function(t,e){var npt.ancestor(t.commonAncestor(),pt.isCell),oi()(n).closest(tr);i()(o).siblings().push(o);for(var rnew At(n,At.where.Column,At.requestAction.Add,i()(o).closest(table)0).getActionList(),a0;ar.length;a++){var sra,lthis.recoverAttributes(s.baseCell);switch(s.action){case At.resultAction.AddCell:righte?i()(s.baseCell).after(td+l+>+pt.blank+/td>):i()(s.baseCell).before(td+l+>+pt.blank+/td>);break;case At.resultAction.SumSpanCount:if(righte){var cparseInt(s.baseCell.colSpan,10);c++,s.baseCell.setAttribute(colSpan,c)}else i()(s.baseCell).before(td+l+>+pt.blank+/td>)}}}},{key:recoverAttributes,value:function(t){var e;if(!t)return e;for(var nt.attributes||,o0;on.length;o++)id!no.name.toLowerCase()&&no.specified&&(e+ +no.name++no.value+);return e}},{key:deleteRow,value:function(t){for(var ept.ancestor(t.commonAncestor(),pt.isCell),ni()(e).closest(tr),on.children(td, th).index(i()(e)),rn0.rowIndex,anew At(e,At.where.Row,At.requestAction.Delete,i()(n).closest(table)0).getActionList(),s0;sa.length;s++)if(as){var las.baseCell,cas.virtualTable,ul.rowSpan&&l.rowSpan>1,du?parseInt(l.rowSpan,10):0;switch(as.action){case At.resultAction.Ignore:continue;case At.resultAction.AddCell:var hn.next(tr)0;if(!h)continue;var fn0.cellso;u&&(d>2?(d--,h.insertBefore(f,h.cellso),h.cellso.setAttribute(rowSpan,d),h.cellso.innerHTML):2d&&(h.insertBefore(f,h.cellso),h.cellso.removeAttribute(rowSpan),h.cellso.innerHTML));continue;case At.resultAction.SubtractSpanCount:u&&(d>2?(d--,l.setAttribute(rowSpan,d),c.rowIndex!r&&l.cellIndexo&&(l.innerHTML)):2d&&(l.removeAttribute(rowSpan),c.rowIndex!r&&l.cellIndexo&&(l.innerHTML)));continue;case At.resultAction.RemoveCell:continue}}n.remove()}},{key:deleteCol,value:function(t){for(var ept.ancestor(t.commonAncestor(),pt.isCell),ni()(e).closest(tr),on.children(td, th).index(i()(e)),rnew At(e,At.where.Column,At.requestAction.Delete,i()(n).closest(table)0).getActionList(),a0;ar.length;a++)if(ra)switch(ra.action){case At.resultAction.Ignore:continue;case At.resultAction.SubtractSpanCount:var sra.baseCell;if(s.colSpan&&s.colSpan>1){var ls.colSpan?parseInt(s.colSpan,10):0;l>2?(l--,s.setAttribute(colSpan,l),s.cellIndexo&&(s.innerHTML)):2l&&(s.removeAttribute(colSpan),s.cellIndexo&&(s.innerHTML))}continue;case At.resultAction.RemoveCell:pt.remove(ra.baseCell,!0);continue}}},{key:createTable,value:function(t,e,n){for(var o,r,a0;at;a++)r.push(td>+pt.blank+/td>);or.join();for(var s,l,c0;ce;c++)l.push(tr>+o+/tr>);sl.join();var ui()(table>+s+/table>);return n&&n.tableClassName&&u.addClass(n.tableClassName),u0}},{key:deleteTable,value:function(t){var ept.ancestor(t.commonAncestor(),pt.isCell);i()(e).closest(table).remove()}})&&Lt(e.prototype,n),o&&Lt(e,o),t}();function Dt(t,e){for(var n0;ne.length;n++){var oen;o.enumerableo.enumerable||!1,o.configurable!0,valuein o&&(o.writable!0),Object.defineProperty(t,o.key,o)}}var Htfunction(){function t(e){var nthis;!function(t,e){if(!(t instanceof e))throw new TypeError(Cannot call a class as a function)}(this,t),this.contexte,this.$notee.layoutInfo.note,this.$editore.layoutInfo.editor,this.$editablee.layoutInfo.editable,this.optionse.options,this.langthis.options.langInfo,this.editablethis.$editable0,this.lastRangenull,this.snapshotnull,this.stylenew It,this.tablenew Ft,this.typingnew Rt(e),this.bulletnew Nt,this.historynew Tt(e),this.context.memo(help.escape,this.lang.help.escape),this.context.memo(help.undo,this.lang.help.undo),this.context.memo(help.redo,this.lang.help.redo),this.context.memo(help.tab,this.lang.help.tab),this.context.memo(help.untab,this.lang.help.untab),this.context.memo(help.insertParagraph,this.lang.help.insertParagraph),this.context.memo(help.insertOrderedList,this.lang.help.insertOrderedList),this.context.memo(help.insertUnorderedList,this.lang.help.insertUnorderedList),this.context.memo(help.indent,this.lang.help.indent),this.context.memo(help.outdent,this.lang.help.outdent),this.context.memo(help.formatPara,this.lang.help.formatPara),this.context.memo(help.insertHorizontalRule,this.lang.help.insertHorizontalRule),this.context.memo(help.fontName,this.lang.help.fontName);for(var obold,italic,underline,strikethrough,superscript,subscript,justifyLeft,justifyCenter,justifyRight,justifyFull,formatBlock,removeFormat,backColor,r0,ao.length;ra;r++)thisorfunction(t){return function(e){n.beforeCommand(),document.execCommand(t,!1,e),n.afterCommand(!0)}}(or),this.context.memo(help.+or,this.lang.helpor);this.fontNamethis.wrapCommand((function(t){return n.fontStyling(font-family,m.validFontName(t))})),this.fontSizethis.wrapCommand((function(t){var en.currentStyle()font-size-unit;return n.fontStyling(font-size,t+e)})),this.fontSizeUnitthis.wrapCommand((function(t){var en.currentStyle()font-size;return n.fontStyling(font-size,e+t)}));for(var s1;s6;s++)thisformatH+sfunction(t){return function(){n.formatBlock(H+t)}}(s),this.context.memo(help.formatH+s,this.lang.helpformatH+s);this.insertParagraphthis.wrapCommand((function(){n.typing.insertParagraph(n.editable)})),this.insertOrderedListthis.wrapCommand((function(){n.bullet.insertOrderedList(n.editable)})),this.insertUnorderedListthis.wrapCommand((function(){n.bullet.insertUnorderedList(n.editable)})),this.indentthis.wrapCommand((function(){n.bullet.indent(n.editable)})),this.outdentthis.wrapCommand((function(){n.bullet.outdent(n.editable)})),this.insertNodethis.wrapCommand((function(t){n.isLimited(i()(t).text().length)||(n.getLastRange().insertNode(t),n.setLastRange(wt.createFromNodeAfter(t).select()))})),this.insertTextthis.wrapCommand((function(t){if(!n.isLimited(t.length)){var en.getLastRange().insertNode(pt.createText(t));n.setLastRange(wt.create(e,pt.nodeLength(e)).select())}})),this.pasteHTMLthis.wrapCommand((function(t){if(!n.isLimited(t.length)){tn.context.invoke(codeview.purify,t);var en.getLastRange().pasteHTML(t);n.setLastRange(wt.createFromNodeAfter(C.last(e)).select())}})),this.formatBlockthis.wrapCommand((function(t,e){var on.options.callbacks.onApplyCustomStyle;o?o.call(n,e,n.context,n.onFormatBlock):n.onFormatBlock(t,e)})),this.insertHorizontalRulethis.wrapCommand((function(){var tn.getLastRange().insertNode(pt.create(HR));t.nextSibling&&n.setLastRange(wt.create(t.nextSibling,0).normalize().select())})),this.lineHeightthis.wrapCommand((function(t){n.style.stylePara(n.getLastRange(),{lineHeight:t})})),this.createLinkthis.wrapCommand((function(t){var et.url,ot.text,rt.isNewWindow,at.checkProtocol,st.range||n.getLastRange(),lo.length-s.toString().length;if(!(l>0&&n.isLimited(l))){var cs.toString()!o;stringtypeof e&&(ee.trim()),n.options.onCreateLink?en.options.onCreateLink(e):a&&(e/^(A-Za-zA-Za-z0-9+-.*\:|#|\/)/.test(e)?e:n.options.defaultProtocol+e);var u;if(c){var d(ss.deleteContents()).insertNode(i()(A>+o+/A>)0);u.push(d)}else un.style.styleNodes(s,{nodeName:A,expandClosestSibling:!0,onlyPartialContains:!0});i.a.each(u,(function(t,n){i()(n).attr(href,e),r?i()(n).attr(target,_blank):i()(n).removeAttr(target)})),n.setLastRange(n.createRangeFromList(u).select())}})),this.colorthis.wrapCommand((function(t){var et.foreColor,nt.backColor;e&&document.execCommand(foreColor,!1,e),n&&document.execCommand(backColor,!1,n)})),this.foreColorthis.wrapCommand((function(t){document.execCommand(foreColor,!1,t)})),this.insertTablethis.wrapCommand((function(t){var et.split(x);n.getLastRange().deleteContents().insertNode(n.table.createTable(e0,e1,n.options))})),this.removeMediathis.wrapCommand((function(){var ti()(n.restoreTarget()).parent();t.closest(figure).length?t.closest(figure).remove():ti()(n.restoreTarget()).detach(),n.context.triggerEvent(media.delete,t,n.$editable)})),this.floatMethis.wrapCommand((function(t){var ei()(n.restoreTarget());e.toggleClass(note-float-left,leftt),e.toggleClass(note-float-right,rightt),e.css(float,nonet?:t)})),this.resizethis.wrapCommand((function(t){var ei()(n.restoreTarget());0(tparseFloat(t))?e.css(width,):e.css({width:100*t+%,height:})}))}var e,n,o;return et,(n{key:initialize,value:function(){var tthis;this.$editable.on(keydown,(function(e){if(e.keyCodext.code.ENTER&&t.context.triggerEvent(enter,e),t.context.triggerEvent(keydown,e),t.snapshott.history.makeSnapshot(),t.hasKeyShortCut!1,e.isDefaultPrevented()||(t.options.shortcuts?t.hasKeyShortCutt.handleKeyMap(e):t.preventDefaultEditableShortCuts(e)),t.isLimited(1,e)){var nt.getLastRange();if(n.eo-n.so0)return!1}t.setLastRange(),t.options.recordEveryKeystroke&&!1t.hasKeyShortCut&&t.history.recordUndo()})).on(keyup,(function(e){t.setLastRange(),t.context.triggerEvent(keyup,e)})).on(focus,(function(e){t.setLastRange(),t.context.triggerEvent(focus,e)})).on(blur,(function(e){t.context.triggerEvent(blur,e)})).on(mousedown,(function(e){t.context.triggerEvent(mousedown,e)})).on(mouseup,(function(e){t.setLastRange(),t.history.recordUndo(),t.context.triggerEvent(mouseup,e)})).on(scroll,(function(e){t.context.triggerEvent(scroll,e)})).on(paste,(function(e){t.setLastRange(),t.context.triggerEvent(paste,e)})).on(input,(function(){t.isLimited(0)&&t.snapshot&&t.history.applySnapshot(t.snapshot)})),this.$editable.attr(spellcheck,this.options.spellCheck),this.$editable.attr(autocorrect,this.options.spellCheck),this.options.disableGrammar&&this.$editable.attr(data-gramm,!1),this.$editable.html(pt.html(this.$note)||pt.emptyPara),this.$editable.on(m.inputEventName,g.debounce((function(){t.context.triggerEvent(change,t.$editable.html(),t.$editable)}),10)),this.$editable.on(focusin,(function(e){t.context.triggerEvent(focusin,e)})).on(focusout,(function(e){t.context.triggerEvent(focusout,e)})),this.options.airMode?this.options.overrideContextMenu&&this.$editor.on(contextmenu,(function(e){return t.context.triggerEvent(contextmenu,e),!1})):(this.options.width&&this.$editor.outerWidth(this.options.width),this.options.height&&this.$editable.outerHeight(this.options.height),this.options.maxHeight&&this.$editable.css(max-height,this.options.maxHeight),this.options.minHeight&&this.$editable.css(min-height,this.options.minHeight)),this.history.recordUndo(),this.setLastRange()}},{key:destroy,value:function(){this.$editable.off()}},{key:handleKeyMap,value:function(t){var ethis.options.keyMapm.isMac?mac:pc,n;t.metaKey&&n.push(CMD),t.ctrlKey&&!t.altKey&&n.push(CTRL),t.shiftKey&&n.push(SHIFT);var oxt.nameFromCodet.keyCode;o&&n.push(o);var ien.join(+);if(TAB!o||this.options.tabDisable)if(i){if(!1!this.context.invoke(i))return t.preventDefault(),!0}else xt.isEdit(t.keyCode)&&this.afterCommand();else this.afterCommand();return!1}},{key:preventDefaultEditableShortCuts,value:function(t){(t.ctrlKey||t.metaKey)&&C.contains(66,73,85,t.keyCode)&&t.preventDefault()}},{key:isLimited,value:function(t,e){return tt||0,(void 0e||!(xt.isMove(e.keyCode)||xt.isNavigation(e.keyCode)||e.ctrlKey||e.metaKey||C.contains(xt.code.BACKSPACE,xt.code.DELETE,e.keyCode)))&&this.options.maxTextLength>0&&this.$editable.text().length+t>this.options.maxTextLength}},{key:createRange,value:function(){return this.focus(),this.setLastRange(),this.getLastRange()}},{key:createRangeFromList,value:function(t){var ewt.createFromNodeBefore(C.head(t)).getStartPoint(),nwt.createFromNodeAfter(C.last(t)).getEndPoint();return wt.create(e.node,e.offset,n.node,n.offset)}},{key:setLastRange,value:function(t){t?this.lastRanget:(this.lastRangewt.create(this.editable),0i()(this.lastRange.sc).closest(.note-editable).length&&(this.lastRangewt.createFromBodyElement(this.editable)))}},{key:getLastRange,value:function(){return this.lastRange||this.setLastRange(),this.lastRange}},{key:saveRange,value:function(t){t&&this.getLastRange().collapse().select()}},{key:restoreRange,value:function(){this.lastRange&&(this.lastRange.select(),this.focus())}},{key:saveTarget,value:function(t){this.$editable.data(target,t)}},{key:clearTarget,value:function(){this.$editable.removeData(target)}},{key:restoreTarget,value:function(){return this.$editable.data(target)}},{key:currentStyle,value:function(){var twt.create();return t&&(tt.normalize()),t?this.style.current(t):this.style.fromNode(this.$editable)}},{key:styleFromNode,value:function(t){return this.style.fromNode(t)}},{key:undo,value:function(){this.context.triggerEvent(before.command,this.$editable.html()),this.history.undo(),this.context.triggerEvent(change,this.$editable.html(),this.$editable)}},{key:commit,value:function(){this.context.triggerEvent(before.command,this.$editable.html()),this.history.commit(),this.context.triggerEvent(change,this.$editable.html(),this.$editable)}},{key:redo,value:function(){this.context.triggerEvent(before.command,this.$editable.html()),this.history.redo(),this.context.triggerEvent(change,this.$editable.html(),this.$editable)}},{key:beforeCommand,value:function(){this.context.triggerEvent(before.command,this.$editable.html()),document.execCommand(styleWithCSS,!1,this.options.styleWithCSS),this.focus()}},{key:afterCommand,value:function(t){this.normalizeContent(),this.history.recordUndo(),t||this.context.triggerEvent(change,this.$editable.html(),this.$editable)}},{key:tab,value:function(){var tthis.getLastRange();if(t.isCollapsed()&&t.isOnCell())this.table.tab(t);else{if(0this.options.tabSize)return!1;this.isLimited(this.options.tabSize)||(this.beforeCommand(),this.typing.insertTab(t,this.options.tabSize),this.afterCommand())}}},{key:untab,value:function(){var tthis.getLastRange();if(t.isCollapsed()&&t.isOnCell())this.table.tab(t,!0);else if(0this.options.tabSize)return!1}},{key:wrapCommand,value:function(t){return function(){this.beforeCommand(),t.apply(this,arguments),this.afterCommand()}}},{key:insertImage,value:function(t,e){var n,othis;return(nt,i.a.Deferred((function(t){var ei()(img>);e.one(load,(function(){e.off(error abort),t.resolve(e)})).one(error abort,(function(){e.off(load).detach(),t.reject(e)})).css({display:none}).appendTo(document.body).attr(src,n)})).promise()).then((function(t){o.beforeCommand(),functiontypeof e?e(t):(stringtypeof e&&t.attr(data-filename,e),t.css(width,Math.min(o.$editable.width(),t.width()))),t.show(),o.getLastRange().insertNode(t0),o.setLastRange(wt.createFromNodeAfter(t0).select()),o.afterCommand()})).fail((function(t){o.context.triggerEvent(image.upload.error,t)}))}},{key:insertImagesAsDataURL,value:function(t){var ethis;i.a.each(t,(function(t,n){var on.name;e.options.maximumImageFileSize&&e.options.maximumImageFileSizen.size?e.context.triggerEvent(image.upload.error,e.lang.image.maximumFileSizeError):function(t){return i.a.Deferred((function(e){i.a.extend(new FileReader,{onload:function(t){var nt.target.result;e.resolve(n)},onerror:function(t){e.reject(t)}}).readAsDataURL(t)})).promise()}(n).then((function(t){return e.insertImage(t,o)})).fail((function(){e.context.triggerEvent(image.upload.error)}))}))}},{key:insertImagesOrCallback,value:function(t){this.options.callbacks.onImageUpload?this.context.triggerEvent(image.upload,t):this.insertImagesAsDataURL(t)}},{key:getSelectedText,value:function(){var tthis.getLastRange();return t.isOnAnchor()&&(twt.createFromNode(pt.ancestor(t.sc,pt.isAnchor))),t.toString()}},{key:onFormatBlock,value:function(t,e){if(document.execCommand(FormatBlock,!1,m.isMSIE?+t+>:t),e&&e.length&&(e0.tagName.toUpperCase()!t.toUpperCase()&&(ee.find(t)),e&&e.length)){var ne0.className||;if(n){var othis.createRange();i()(o.sc,o.ec).closest(t).addClass(n)}}}},{key:formatPara,value:function(){this.formatBlock(P)}},{key:fontStyling,value:function(t,e){var nthis.getLastRange();if(!n){var othis.style.styleNodes(n);if(this.$editor.find(.note-status-output).html(),i()(o).css(t,e),n.isCollapsed()){var rC.head(o);r&&!pt.nodeLength(r)&&(r.innerHTMLpt.ZERO_WIDTH_NBSP_CHAR,wt.createFromNode(r.firstChild).select(),this.setLastRange(),this.$editable.data(bogus,r))}else this.setLastRange(this.createRangeFromList(o).select())}else{var ai.a.now();this.$editor.find(.note-status-output).html(div idnote-status-output-+a+ classalert alert-info>+this.lang.output.noSelection+/div>),setTimeout((function(){i()(#note-status-output-+a).remove()}),5e3)}}},{key:unlink,value:function(){var tthis.getLastRange();if(t.isOnAnchor()){var ept.ancestor(t.sc,pt.isAnchor);(twt.createFromNode(e)).select(),this.setLastRange(),this.beforeCommand(),document.execCommand(unlink),this.afterCommand()}}},{key:getLinkInfo,value:function(){var tthis.getLastRange().expand(pt.isAnchor),ei()(C.head(t.nodes(pt.isAnchor))),n{range:t,text:t.toString(),url:e.length?e.attr(href):};return e.length&&(n.isNewWindow_blanke.attr(target)),n}},{key:addRow,value:function(t){var ethis.getLastRange(this.$editable);e.isCollapsed()&&e.isOnCell()&&(this.beforeCommand(),this.table.addRow(e,t),this.afterCommand())}},{key:addCol,value:function(t){var ethis.getLastRange(this.$editable);e.isCollapsed()&&e.isOnCell()&&(this.beforeCommand(),this.table.addCol(e,t),this.afterCommand())}},{key:deleteRow,value:function(){var tthis.getLastRange(this.$editable);t.isCollapsed()&&t.isOnCell()&&(this.beforeCommand(),this.table.deleteRow(t),this.afterCommand())}},{key:deleteCol,value:function(){var tthis.getLastRange(this.$editable);t.isCollapsed()&&t.isOnCell()&&(this.beforeCommand(),this.table.deleteCol(t),this.afterCommand())}},{key:deleteTable,value:function(){var tthis.getLastRange(this.$editable);t.isCollapsed()&&t.isOnCell()&&(this.beforeCommand(),this.table.deleteTable(t),this.afterCommand())}},{key:resizeTo,value:function(t,e,n){var o;if(n){var it.y/t.x,re.data(ratio);o{width:r>i?t.x:t.y/r,height:r>i?t.x*r:t.y}}else o{width:t.x,height:t.y};e.css(o)}},{key:hasFocus,value:function(){return this.$editable.is(:focus)}},{key:focus,value:function(){this.hasFocus()||this.$editable.focus()}},{key:isEmpty,value:function(){return pt.isEmpty(this.$editable0)||pt.emptyParathis.$editable.html()}},{key:empty,value:function(){this.context.invoke(code,pt.emptyPara)}},{key:normalizeContent,value:function(){this.$editable0.normalize()}})&&Dt(e.prototype,n),o&&Dt(e,o),t}();function zt(t,e){for(var n0;ne.length;n++){var oen;o.enumerableo.enumerable||!1,o.configurable!0,valuein o&&(o.writable!0),Object.defineProperty(t,o.key,o)}}var Btfunction(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError(Cannot call a class as a function)}(this,t),this.contexte,this.$editablee.layoutInfo.editable}var e,n,o;return et,(n{key:initialize,value:function(){this.$editable.on(paste,this.pasteByEvent.bind(this))}},{key:pasteByEvent,value:function(t){var ethis,nt.originalEvent.clipboardData;if(n&&n.items&&n.items.length){var on.items.length>1?n.items1:C.head(n.items);fileo.kind&&-1!o.type.indexOf(image/)?(this.context.invoke(editor.insertImagesOrCallback,o.getAsFile()),t.preventDefault()):stringo.kind&&this.context.invoke(editor.isLimited,n.getData(Text).length)&&t.preventDefault()}else if(window.clipboardData){var iwindow.clipboardData.getData(text);this.context.invoke(editor.isLimited,i.length)&&t.preventDefault()}setTimeout((function(){e.context.invoke(editor.afterCommand)}),10)}})&&zt(e.prototype,n),o&&zt(e,o),t}();function Mt(t,e){for(var n0;ne.length;n++){var oen;o.enumerableo.enumerable||!1,o.configurable!0,valuein o&&(o.writable!0),Object.defineProperty(t,o.key,o)}}var Otfunction(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError(Cannot call a class as a function)}(this,t),this.contexte,this.$eventListeneri()(document),this.$editore.layoutInfo.editor,this.$editablee.layoutInfo.editable,this.optionse.options,this.langthis.options.langInfo,this.documentEventHandlers{},this.$dropzonei()(div classnote-dropzone>,div classnote-dropzone-message>/div>,/div>.join()).prependTo(this.$editor)}var e,n,o;return et,(n{key:initialize,value:function(){this.options.disableDragAndDrop?(this.documentEventHandlers.onDropfunction(t){t.preventDefault()},this.$eventListenerthis.$dropzone,this.$eventListener.on(drop,this.documentEventHandlers.onDrop)):this.attachDragAndDropEvent()}},{key:attachDragAndDropEvent,value:function(){var tthis,ei()(),nthis.$dropzone.find(.note-dropzone-message);this.documentEventHandlers.onDragenterfunction(o){var it.context.invoke(codeview.isActivated),rt.$editor.width()>0&&t.$editor.height()>0;i||e.length||!r||(t.$editor.addClass(dragover),t.$dropzone.width(t.$editor.width()),t.$dropzone.height(t.$editor.height()),n.text(t.lang.image.dragImageHere)),ee.add(o.target)},this.documentEventHandlers.onDragleavefunction(n){(ee.not(n.target)).length&&BODY!n.target.nodeName||(ei()(),t.$editor.removeClass(dragover))},this.documentEventHandlers.onDropfunction(){ei()(),t.$editor.removeClass(dragover)},this.$eventListener.on(dragenter,this.documentEventHandlers.onDragenter).on(dragleave,this.documentEventHandlers.onDragleave).on(drop,this.documentEventHandlers.onDrop),this.$dropzone.on(dragenter,(function(){t.$dropzone.addClass(hover),n.text(t.lang.image.dropImage)})).on(dragleave,(function(){t.$dropzone.removeClass(hover),n.text(t.lang.image.dragImageHere)})),this.$dropzone.on(drop,(function(e){var ne.originalEvent.dataTransfer;e.preventDefault(),n&&n.files&&n.files.length?(t.$editable.focus(),t.context.invoke(editor.insertImagesOrCallback,n.files)):i.a.each(n.types,(function(e,o){if(!(o.toLowerCase().indexOf(_moz_)>-1)){var rn.getData(o);o.toLowerCase().indexOf(text)>-1?t.context.invoke(editor.pasteHTML,r):i()(r).each((function(e,n){t.context.invoke(editor.insertNode,n)}))}}))})).on(dragover,!1)}},{key:destroy,value:function(){var tthis;Object.keys(this.documentEventHandlers).forEach((function(e){t.$eventListener.off(e.substr(2).toLowerCase(),t.documentEventHandlerse)})),this.documentEventHandlers{}}})&&Mt(e.prototype,n),o&&Mt(e,o),t}();function jt(t){if(undefinedtypeof Symbol||nulltSymbol.iterator){if(Array.isArray(t)||(tfunction(t,e){if(!t)return;if(stringtypeof t)return Ut(t,e);var nObject.prototype.toString.call(t).slice(8,-1);Objectn&&t.constructor&&(nt.constructor.name);if(Mapn||Setn)return Array.from(n);if(Argumentsn||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ut(t,e)}(t))){var e0,nfunction(){};return{s:n,n:function(){return e>t.length?{done:!0}:{done:!1,value:te++}},e:function(t){throw t},f:n}}throw new TypeError(Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a Symbol.iterator() method.)}var o,i,r!0,a!1;return{s:function(){otSymbol.iterator()},n:function(){var to.next();return rt.done,t},e:function(t){a!0,it},f:function(){try{r||nullo.return||o.return()}finally{if(a)throw i}}}}function Ut(t,e){(nulle||e>t.length)&&(et.length);for(var n0,onew Array(e);ne;n++)ontn;return o}function Wt(t,e){for(var n0;ne.length;n++){var oen;o.enumerableo.enumerable||!1,o.configurable!0,valuein o&&(o.writable!0),Object.defineProperty(t,o.key,o)}}var Ktfunction(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError(Cannot call a class as a function)}(this,t),this.contexte,this.$editore.layoutInfo.editor,this.$editablee.layoutInfo.editable,this.$codablee.layoutInfo.codable,this.optionse.options,this.CodeMirrorConstructorwindow.CodeMirror,this.options.codemirror.CodeMirrorConstructor&&(this.CodeMirrorConstructorthis.options.codemirror.CodeMirrorConstructor)}var e,n,o;return et,(n{key:sync,value:function(t){var ethis.isActivated(),nthis.CodeMirrorConstructor;e&&(t?n?this.$codable.data(cmEditor).getDoc().setValue(t):this.$codable.val(t):n&&this.$codable.data(cmEditor).save())}},{key:initialize,value:function(){var tthis;this.$codable.on(keyup,(function(e){e.keyCodext.code.ESCAPE&&t.deactivate()}))}},{key:isActivated,value:function(){return this.$editor.hasClass(codeview)}},{key:toggle,value:function(){this.isActivated()?this.deactivate():this.activate(),this.context.triggerEvent(codeview.toggled)}},{key:purify,value:function(t){if(this.options.codeviewFilter&&(tt.replace(this.options.codeviewFilterRegex,),this.options.codeviewIframeFilter)){var ethis.options.codeviewIframeWhitelistSrc.concat(this.options.codeviewIframeWhitelistSrcBase);tt.replace(/(iframe.*?>.*?(?:\/iframe>)?)/gi,(function(t){if(/.+src(??(||\s)?)\s\S+src(?(||\s)?)^>*?>/i.test(t))return;var n,ojt(e);try{for(o.s();!(no.n()).done;){var in.value;if(new RegExp(src(https?:)?//+i.replace(/-\/\\^$*+?.()|\{}/g,\\$&)+/(.+)).test(t))return t}}catch(t){o.e(t)}finally{o.f()}return}))}return t}},{key:activate,value:function(){var tthis,ethis.CodeMirrorConstructor;if(this.$codable.val(pt.html(this.$editable,this.options.prettifyHtml)),this.$codable.height(this.$editable.height()),this.context.invoke(toolbar.updateCodeview,!0),this.context.invoke(airPopover.updateCodeview,!0),this.$editor.addClass(codeview),this.$codable.focus(),e){var ne.fromTextArea(this.$codable0,this.options.codemirror);if(this.options.codemirror.tern){var onew e.TernServer(this.options.codemirror.tern);n.ternServero,n.on(cursorActivity,(function(t){o.updateArgHints(t)}))}n.on(blur,(function(e){t.context.triggerEvent(blur.codeview,n.getValue(),e)})),n.on(change,(function(){t.context.triggerEvent(change.codeview,n.getValue(),n)})),n.setSize(null,this.$editable.outerHeight()),this.$codable.data(cmEditor,n)}else this.$codable.on(blur,(function(e){t.context.triggerEvent(blur.codeview,t.$codable.val(),e)})),this.$codable.on(input,(function(){t.context.triggerEvent(change.codeview,t.$codable.val(),t.$codable)}))}},{key:deactivate,value:function(){if(this.CodeMirrorConstructor){var tthis.$codable.data(cmEditor);this.$codable.val(t.getValue()),t.toTextArea()}var ethis.purify(pt.value(this.$codable,this.options.prettifyHtml)||pt.emptyPara),nthis.$editable.html()!e;this.$editable.html(e),this.$editable.height(this.options.height?this.$codable.height():auto),this.$editor.removeClass(codeview),n&&this.context.triggerEvent(change,this.$editable.html(),this.$editable),this.$editable.focus(),this.context.invoke(toolbar.updateCodeview,!1),this.context.invoke(airPopover.updateCodeview,!1)}},{key:destroy,value:function(){this.isActivated()&&this.deactivate()}})&&Wt(e.prototype,n),o&&Wt(e,o),t}();function qt(t,e){for(var n0;ne.length;n++){var oen;o.enumerableo.enumerable||!1,o.configurable!0,valuein o&&(o.writable!0),Object.defineProperty(t,o.key,o)}}var Vtfunction(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError(Cannot call a class as a function)}(this,t),this.$documenti()(document),this.$statusbare.layoutInfo.statusbar,this.$editablee.layoutInfo.editable,this.optionse.options}var e,n,o;return et,(n{key:initialize,value:function(){var tthis;this.options.airMode||this.options.disableResizeEditor?this.destroy():this.$statusbar.on(mousedown,(function(e){e.preventDefault(),e.stopPropagation();var nt.$editable.offset().top-t.$document.scrollTop(),ofunction(e){var oe.clientY-(n+24);ot.options.minheight>0?Math.max(o,t.options.minheight):o,ot.options.maxHeight>0?Math.min(o,t.options.maxHeight):o,t.$editable.height(o)};t.$document.on(mousemove,o).one(mouseup,(function(){t.$document.off(mousemove,o)}))}))}},{key:destroy,value:function(){this.$statusbar.off(),this.$statusbar.addClass(locked)}})&&qt(e.prototype,n),o&&qt(e,o),t}();function _t(t,e){for(var n0;ne.length;n++){var oen;o.enumerableo.enumerable||!1,o.configurable!0,valuein o&&(o.writable!0),Object.defineProperty(t,o.key,o)}}var Gtfunction(){function t(e){var nthis;!function(t,e){if(!(t instanceof e))throw new TypeError(Cannot call a class as a function)}(this,t),this.contexte,this.$editore.layoutInfo.editor,this.$toolbare.layoutInfo.toolbar,this.$editablee.layoutInfo.editable,this.$codablee.layoutInfo.codable,this.$windowi()(window),this.$scrollbari()(html, body),this.onResizefunction(){n.resizeTo({h:n.$window.height()-n.$toolbar.outerHeight()})}}var e,n,o;return et,(n{key:resizeTo,value:function(t){this.$editable.css(height,t.h),this.$codable.css(height,t.h),this.$codable.data(cmeditor)&&this.$codable.data(cmeditor).setsize(null,t.h)}},{key:toggle,value:function(){this.$editor.toggleClass(fullscreen),this.isFullscreen()?(this.$editable.data(orgHeight,this.$editable.css(height)),this.$editable.data(orgMaxHeight,this.$editable.css(maxHeight)),this.$editable.css(maxHeight,),this.$window.on(resize,this.onResize).trigger(resize),this.$scrollbar.css(overflow,hidden)):(this.$window.off(resize,this.onResize),this.resizeTo({h:this.$editable.data(orgHeight)}),this.$editable.css(maxHeight,this.$editable.css(orgMaxHeight)),this.$scrollbar.css(overflow,visible)),this.context.invoke(toolbar.updateFullscreen,this.isFullscreen())}},{key:isFullscreen,value:function(){return this.$editor.hasClass(fullscreen)}})&&_t(e.prototype,n),o&&_t(e,o),t}();function Yt(t,e){for(var n0;ne.length;n++){var oen;o.enumerableo.enumerable||!1,o.configurable!0,valuein o&&(o.writable!0),Object.defineProperty(t,o.key,o)}}var Ztfunction(){function t(e){var nthis;!function(t,e){if(!(t instanceof e))throw new TypeError(Cannot call a class as a function)}(this,t),this.contexte,this.$documenti()(document),this.$editingAreae.layoutInfo.editingArea,this.optionse.options,this.langthis.options.langInfo,this.events{summernote.mousedown:function(t,e){n.update(e.target,e)&&e.preventDefault()},summernote.keyup summernote.scroll summernote.change summernote.dialog.shown:function(){n.update()},summernote.disable summernote.blur:function(){n.hide()},summernote.codeview.toggled:function(){n.update()}}}var e,n,o;return et,(n{key:initialize,value:function(){var tthis;this.$handlei()(div classnote-handle>,div classnote-control-selection>,div classnote-control-selection-bg>/div>,div classnote-control-holder note-control-nw>/div>,div classnote-control-holder note-control-ne>/div>,div classnote-control-holder note-control-sw>/div>,div class,this.options.disableResizeImage?note-control-holder:note-control-sizing, note-control-se>/div>,this.options.disableResizeImage?:div classnote-control-selection-info>/div>,/div>,/div>.join()).prependTo(this.$editingArea),this.$handle.on(mousedown,(function(e){if(pt.isControlSizing(e.target)){e.preventDefault(),e.stopPropagation();var nt.$handle.find(.note-control-selection).data(target),on.offset(),it.$document.scrollTop(),rfunction(e){t.context.invoke(editor.resizeTo,{x:e.clientX-o.left,y:e.clientY-(o.top-i)},n,!e.shiftKey),t.update(n0,e)};t.$document.on(mousemove,r).one(mouseup,(function(e){e.preventDefault(),t.$document.off(mousemove,r),t.context.invoke(editor.afterCommand)})),n.data(ratio)||n.data(ratio,n.height()/n.width())}})),this.$handle.on(wheel,(function(e){e.preventDefault(),t.update()}))}},{key:destroy,value:function(){this.$handle.remove()}},{key:update,value:function(t,e){if(this.context.isDisabled())return!1;var npt.isImg(t),othis.$handle.find(.note-control-selection);if(this.context.invoke(imagePopover.update,t,e),n){var ri()(t),ar.position(),s{left:a.left+parseInt(r.css(marginLeft),10),top:a.top+parseInt(r.css(marginTop),10)},l{w:r.outerWidth(!1),h:r.outerHeight(!1)};o.css({display:block,left:s.left,top:s.top,width:l.w,height:l.h}).data(target,r);var cnew Image;c.srcr.attr(src);var ul.w+x+l.h+ (+this.lang.image.original+: +c.width+x+c.height+);o.find(.note-control-selection-info).text(u),this.context.invoke(editor.saveTarget,t)}else this.hide();return n}},{key:hide,value:function(){this.context.invoke(editor.clearTarget),this.$handle.children().hide()}})&&Yt(e.prototype,n),o&&Yt(e,o),t}();function Xt(t,e){for(var n0;ne.length;n++){var oen;o.enumerableo.enumerable||!1,o.configurable!0,valuein o&&(o.writable!0),Object.defineProperty(t,o.key,o)}}var Qt/^(A-Za-zA-Za-z0-9+-.*\:\/{2}|tel:|mailto:A-Z0-9._%+-+@)?(www\.)?(.+)$/i,Jtfunction(){function t(e){var nthis;!function(t,e){if(!(t instanceof e))throw new TypeError(Cannot call a class as a function)}(this,t),this.contexte,this.optionse.options,this.events{summernote.keyup:function(t,e){e.isDefaultPrevented()||n.handleKeyup(e)},summernote.keydown:function(t,e){n.handleKeydown(e)}}}var e,n,o;return et,(n{key:initialize,value:function(){this.lastWordRangenull}},{key:destroy,value:function(){this.lastWordRangenull}},{key:replace,value:function(){if(this.lastWordRange){var tthis.lastWordRange.toString(),et.match(Qt);if(e&&(e1||e2)){var ne1?t:http://+t,othis.options.showDomainOnlyForAutolink?t.replace(/^(?:https?:\/\/)?(?:tel?:?)?(?:mailto?:?)?(?:www\.)?/i,).split(/)0:t,ri()(a />).html(o).attr(href,n)0;this.context.options.linkTargetBlank&&i()(r).attr(target,_blank),this.lastWordRange.insertNode(r),this.lastWordRangenull,this.context.invoke(editor.focus)}}}},{key:handleKeydown,value:function(t){if(C.contains(xt.code.ENTER,xt.code.SPACE,t.keyCode)){var ethis.context.invoke(editor.createRange).getWordRange();this.lastWordRangee}}},{key:handleKeyup,value:function(t){C.contains(xt.code.ENTER,xt.code.SPACE,t.keyCode)&&this.replace()}})&&Xt(e.prototype,n),o&&Xt(e,o),t}();function te(t,e){for(var n0;ne.length;n++){var oen;o.enumerableo.enumerable||!1,o.configurable!0,valuein o&&(o.writable!0),Object.defineProperty(t,o.key,o)}}var eefunction(){function t(e){var nthis;!function(t,e){if(!(t instanceof e))throw new TypeError(Cannot call a class as a function)}(this,t),this.$notee.layoutInfo.note,this.events{summernote.change:function(){n.$note.val(e.invoke(code))}}}var e,n,o;return et,(n{key:shouldInitialize,value:function(){return pt.isTextarea(this.$note0)}})&&te(e.prototype,n),o&&te(e,o),t}();function ne(t,e){for(var n0;ne.length;n++){var oen;o.enumerableo.enumerable||!1,o.configurable!0,valuein o&&(o.writable!0),Object.defineProperty(t,o.key,o)}}var oefunction(){function t(e){var nthis;!function(t,e){if(!(t instanceof e))throw new TypeError(Cannot call a class as a function)}(this,t),this.contexte,this.optionse.options.replace||{},this.keysxt.code.ENTER,xt.code.SPACE,xt.code.PERIOD,xt.code.COMMA,xt.code.SEMICOLON,xt.code.SLASH,this.previousKeydownCodenull,this.events{summernote.keyup:function(t,e){e.isDefaultPrevented()||n.handleKeyup(e)},summernote.keydown:function(t,e){n.handleKeydown(e)}}}var e,n,o;return et,(n{key:shouldInitialize,value:function(){return!!this.options.match}},{key:initialize,value:function(){this.lastWordnull}},{key:destroy,value:function(){this.lastWordnull}},{key:replace,value:function(){if(this.lastWord){var tthis,ethis.lastWord.toString();this.options.match(e,(function(e){if(e){var n;if(stringtypeof e?npt.createText(e):e instanceof jQuery?ne0:e instanceof Node&&(ne),!n)return;t.lastWord.insertNode(n),t.lastWordnull,t.context.invoke(editor.focus)}}))}}},{key:handleKeydown,value:function(t){if(this.previousKeydownCode&&C.contains(this.keys,this.previousKeydownCode))this.previousKeydownCodet.keyCode;else{if(C.contains(this.keys,t.keyCode)){var ethis.context.invoke(editor.createRange).getWordRange();this.lastWorde}this.previousKeydownCodet.keyCode}}},{key:handleKeyup,value:function(t){C.contains(this.keys,t.keyCode)&&this.replace()}})&&ne(e.prototype,n),o&&ne(e,o),t}();function ie(t,e){for(var n0;ne.length;n++){var oen;o.enumerableo.enumerable||!1,o.configurable!0,valuein o&&(o.writable!0),Object.defineProperty(t,o.key,o)}}var refunction(){function t(e){var nthis;!function(t,e){if(!(t instanceof e))throw new TypeError(Cannot call a class as a function)}(this,t),this.contexte,this.$editingAreae.layoutInfo.editingArea,this.optionse.options,!0this.options.inheritPlaceholder&&(this.options.placeholderthis.context.$note.attr(placeholder)||this.options.placeholder),this.events{summernote.init summernote.change:function(){n.update()},summernote.codeview.toggled:function(){n.update()}}}var e,n,o;return et,(n{key:shouldInitialize,value:function(){return!!this.options.placeholder}},{key:initialize,value:function(){var tthis;this.$placeholderi()(div classnote-placeholder>),this.$placeholder.on(click,(function(){t.context.invoke(focus)})).html(this.options.placeholder).prependTo(this.$editingArea),this.update()}},{key:destroy,value:function(){this.$placeholder.remove()}},{key:update,value:function(){var t!this.context.invoke(codeview.isActivated)&&this.context.invoke(editor.isEmpty);this.$placeholder.toggle(t)}})&&ie(e.prototype,n),o&&ie(e,o),t}();function ae(t,e){for(var n0;ne.length;n++){var oen;o.enumerableo.enumerable||!1,o.configurable!0,valuein o&&(o.writable!0),Object.defineProperty(t,o.key,o)}}var sefunction(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError(Cannot call a class as a function)}(this,t),this.uii.a.summernote.ui,this.contexte,this.$toolbare.layoutInfo.toolbar,this.optionse.options,this.langthis.options.langInfo,this.invertedKeyMapg.invertObject(this.options.keyMapm.isMac?mac:pc)}var e,n,o;return et,(n{key:representShortcut,value:function(t){var ethis.invertedKeyMapt;return this.options.shortcuts&&e?(m.isMac&&(ee.replace(CMD,⌘).replace(SHIFT,⇧)), (+(ee.replace(BACKSLASH,\\).replace(SLASH,/).replace(LEFTBRACKET,).replace(RIGHTBRACKET,))+)):}},{key:button,value:function(t){return!this.options.tooltip&&t.tooltip&&delete t.tooltip,t.containerthis.options.container,this.ui.button(t)}},{key:initialize,value:function(){this.addToolbarButtons(),this.addImagePopoverButtons(),this.addLinkPopoverButtons(),this.addTablePopoverButtons(),this.fontInstalledMap{}}},{key:destroy,value:function(){delete this.fontInstalledMap}},{key:isFontInstalled,value:function(t){return Object.prototype.hasOwnProperty.call(this.fontInstalledMap,t)||(this.fontInstalledMaptm.isFontInstalled(t)||C.contains(this.options.fontNamesIgnoreCheck,t)),this.fontInstalledMapt}},{key:isFontDeservedToAdd,value:function(t){return!(tt.toLowerCase())&&this.isFontInstalled(t)&&-1m.genericFontFamilies.indexOf(t)}},{key:colorPalette,value:function(t,e,n,o){var rthis;return this.ui.buttonGroup({className:note-color +t,children:this.button({className:note-current-color-button,contents:this.ui.icon(this.options.icons.font+ note-recent-color),tooltip:e,click:function(t){var ei()(t.currentTarget);n&&o?r.context.invoke(editor.color,{backColor:e.attr(data-backColor),foreColor:e.attr(data-foreColor)}):n?r.context.invoke(editor.color,{backColor:e.attr(data-backColor)}):o&&r.context.invoke(editor.color,{foreColor:e.attr(data-foreColor)})},callback:function(t){var et.find(.note-recent-color);n&&(e.css(background-color,r.options.colorButton.backColor),t.attr(data-backColor,r.options.colorButton.backColor)),o?(e.css(color,r.options.colorButton.foreColor),t.attr(data-foreColor,r.options.colorButton.foreColor)):e.css(color,transparent)}}),this.button({className:dropdown-toggle,contents:this.ui.dropdownButtonContents(,this.options),tooltip:this.lang.color.more,data:{toggle:dropdown}}),this.ui.dropdown({items:(n?div classnote-palette>,div classnote-palette-title>+this.lang.color.background+/div>,div>,button typebutton classnote-color-reset btn btn-light btn-default data-eventbackColor data-valuetransparent>,this.lang.color.transparent,/button>,/div>,div classnote-holder data-eventbackColor>\x3c!-- back colors --\x3e/div>,div>,button typebutton classnote-color-select btn btn-light btn-default data-eventopenPalette data-valuebackColorPicker>,this.lang.color.cpSelect,/button>,input typecolor idbackColorPicker classnote-btn note-color-select-btn value+this.options.colorButton.backColor+ data-eventbackColorPalette>,/div>,div classnote-holder-custom idbackColorPalette data-eventbackColor>/div>,/div>.join():)+(o?div classnote-palette>,div classnote-palette-title>+this.lang.color.foreground+/div>,div>,button typebutton classnote-color-reset btn btn-light btn-default data-eventremoveFormat data-valueforeColor>,this.lang.color.resetToDefault,/button>,/div>,div classnote-holder data-eventforeColor>\x3c!-- fore colors --\x3e/div>,div>,button typebutton classnote-color-select btn btn-light btn-default data-eventopenPalette data-valueforeColorPicker>,this.lang.color.cpSelect,/button>,input typecolor idforeColorPicker classnote-btn note-color-select-btn value+this.options.colorButton.foreColor+ data-eventforeColorPalette>,/div>,div classnote-holder-custom idforeColorPalette data-eventforeColor>/div>,/div>.join():),callback:function(t){t.find(.note-holder).each((function(t,e){var ni()(e);n.append(r.ui.palette({colors:r.options.colors,colorsName:r.options.colorsName,eventName:n.data(event),container:r.options.container,tooltip:r.options.tooltip}).render())}));var e#FFFFFF,#FFFFFF,#FFFFFF,#FFFFFF,#FFFFFF,#FFFFFF,#FFFFFF,#FFFFFF;t.find(.note-holder-custom).each((function(t,n){var oi()(n);o.append(r.ui.palette({colors:e,colorsName:e,eventName:o.data(event),container:r.options.container,tooltip:r.options.tooltip}).render())})),t.find(inputtypecolor).each((function(e,n){i()(n).change((function(){var et.find(#+i()(this).data(event)).find(.note-color-btn).first(),nthis.value.toUpperCase();e.css(background-color,n).attr(aria-label,n).attr(data-value,n).attr(data-original-title,n),e.click()}))}))},click:function(e){e.stopPropagation();var ni()(.+t).find(.note-dropdown-menu),oi()(e.target),ao.data(event),so.attr(data-value);if(openPalettea){var ln.find(#+s),ci()(n.find(#+l.data(event)).find(.note-color-row)0),uc.find(.note-color-btn).last().detach(),dl.val();u.css(background-color,d).attr(aria-label,d).attr(data-value,d).attr(data-original-title,d),c.prepend(u),l.click()}else{if(C.contains(backColor,foreColor,a)){var hbackColora?background-color:color,fo.closest(.note-color).find(.note-recent-color),po.closest(.note-color).find(.note-current-color-button);f.css(h,s),p.attr(data-+a,s)}r.context.invoke(editor.+a,s)}}})}).render()}},{key:addToolbarButtons,value:function(){var tthis;this.context.memo(button.style,(function(){return t.ui.buttonGroup(t.button({className:dropdown-toggle,contents:t.ui.dropdownButtonContents(t.ui.icon(t.options.icons.magic),t.options),tooltip:t.lang.style.style,data:{toggle:dropdown}}),t.ui.dropdown({className:dropdown-style,items:t.options.styleTags,title:t.lang.style.style,template:function(e){stringtypeof e&&(e{tag:e,title:Object.prototype.hasOwnProperty.call(t.lang.style,e)?t.lang.stylee:e});var ne.tag,oe.title;return+n+(e.style? style+e.style+ :)+(e.className? class+e.className+:)+>+o+/+n+>},click:t.context.createInvokeHandler(editor.formatBlock)})).render()}));for(var efunction(e,n){var ot.options.styleTagse;t.context.memo(button.style.+o,(function(){return t.button({className:note-btn-style-+o,contents:div data-value+o+>+o.toUpperCase()+/div>,tooltip:t.lang.styleo,click:t.context.createInvokeHandler(editor.formatBlock)}).render()}))},n0,othis.options.styleTags.length;no;n++)e(n);this.context.memo(button.bold,(function(){return t.button({className:note-btn-bold,contents:t.ui.icon(t.options.icons.bold),tooltip:t.lang.font.bold+t.representShortcut(bold),click:t.context.createInvokeHandlerAndUpdateState(editor.bold)}).render()})),this.context.memo(button.italic,(function(){return t.button({className:note-btn-italic,contents:t.ui.icon(t.options.icons.italic),tooltip:t.lang.font.italic+t.representShortcut(italic),click:t.context.createInvokeHandlerAndUpdateState(editor.italic)}).render()})),this.context.memo(button.underline,(function(){return t.button({className:note-btn-underline,contents:t.ui.icon(t.options.icons.underline),tooltip:t.lang.font.underline+t.representShortcut(underline),click:t.context.createInvokeHandlerAndUpdateState(editor.underline)}).render()})),this.context.memo(button.clear,(function(){return t.button({contents:t.ui.icon(t.options.icons.eraser),tooltip:t.lang.font.clear+t.representShortcut(removeFormat),click:t.context.createInvokeHandler(editor.removeFormat)}).render()})),this.context.memo(button.strikethrough,(function(){return t.button({className:note-btn-strikethrough,contents:t.ui.icon(t.options.icons.strikethrough),tooltip:t.lang.font.strikethrough+t.representShortcut(strikethrough),click:t.context.createInvokeHandlerAndUpdateState(editor.strikethrough)}).render()})),this.context.memo(button.superscript,(function(){return t.button({className:note-btn-superscript,contents:t.ui.icon(t.options.icons.superscript),tooltip:t.lang.font.superscript,click:t.context.createInvokeHandlerAndUpdateState(editor.superscript)}).render()})),this.context.memo(button.subscript,(function(){return t.button({className:note-btn-subscript,contents:t.ui.icon(t.options.icons.subscript),tooltip:t.lang.font.subscript,click:t.context.createInvokeHandlerAndUpdateState(editor.subscript)}).render()})),this.context.memo(button.fontname,(function(){var et.context.invoke(editor.currentStyle);return t.options.addDefaultFonts&&i.a.each(efont-family.split(,),(function(e,n){nn.trim().replace(/+/g,),t.isFontDeservedToAdd(n)&&-1t.options.fontNames.indexOf(n)&&t.options.fontNames.push(n)})),t.ui.buttonGroup(t.button({className:dropdown-toggle,contents:t.ui.dropdownButtonContents(span classnote-current-fontname>/span>,t.options),tooltip:t.lang.font.name,data:{toggle:dropdown}}),t.ui.dropdownCheck({className:dropdown-fontname,checkClassName:t.options.icons.menuCheck,items:t.options.fontNames.filter(t.isFontInstalled.bind(t)),title:t.lang.font.name,template:function(t){returnspan stylefont-family: +m.validFontName(t)+>+t+/span>},click:t.context.createInvokeHandlerAndUpdateState(editor.fontName)})).render()})),this.context.memo(button.fontsize,(function(){return t.ui.buttonGroup(t.button({className:dropdown-toggle,contents:t.ui.dropdownButtonContents(span classnote-current-fontsize>/span>,t.options),tooltip:t.lang.font.size,data:{toggle:dropdown}}),t.ui.dropdownCheck({className:dropdown-fontsize,checkClassName:t.options.icons.menuCheck,items:t.options.fontSizes,title:t.lang.font.size,click:t.context.createInvokeHandlerAndUpdateState(editor.fontSize)})).render()})),this.context.memo(button.fontsizeunit,(function(){return t.ui.buttonGroup(t.button({className:dropdown-toggle,contents:t.ui.dropdownButtonContents(span classnote-current-fontsizeunit>/span>,t.options),tooltip:t.lang.font.sizeunit,data:{toggle:dropdown}}),t.ui.dropdownCheck({className:dropdown-fontsizeunit,checkClassName:t.options.icons.menuCheck,items:t.options.fontSizeUnits,title:t.lang.font.sizeunit,click:t.context.createInvokeHandlerAndUpdateState(editor.fontSizeUnit)})).render()})),this.context.memo(button.color,(function(){return t.colorPalette(note-color-all,t.lang.color.recent,!0,!0)})),this.context.memo(button.forecolor,(function(){return t.colorPalette(note-color-fore,t.lang.color.foreground,!1,!0)})),this.context.memo(button.backcolor,(function(){return t.colorPalette(note-color-back,t.lang.color.background,!0,!1)})),this.context.memo(button.ul,(function(){return t.button({contents:t.ui.icon(t.options.icons.unorderedlist),tooltip:t.lang.lists.unordered+t.representShortcut(insertUnorderedList),click:t.context.createInvokeHandler(editor.insertUnorderedList)}).render()})),this.context.memo(button.ol,(function(){return t.button({contents:t.ui.icon(t.options.icons.orderedlist),tooltip:t.lang.lists.ordered+t.representShortcut(insertOrderedList),click:t.context.createInvokeHandler(editor.insertOrderedList)}).render()}));var rthis.button({contents:this.ui.icon(this.options.icons.alignLeft),tooltip:this.lang.paragraph.left+this.representShortcut(justifyLeft),click:this.context.createInvokeHandler(editor.justifyLeft)}),athis.button({contents:this.ui.icon(this.options.icons.alignCenter),tooltip:this.lang.paragraph.center+this.representShortcut(justifyCenter),click:this.context.createInvokeHandler(editor.justifyCenter)}),sthis.button({contents:this.ui.icon(this.options.icons.alignRight),tooltip:this.lang.paragraph.right+this.representShortcut(justifyRight),click:this.context.createInvokeHandler(editor.justifyRight)}),lthis.button({contents:this.ui.icon(this.options.icons.alignJustify),tooltip:this.lang.paragraph.justify+this.representShortcut(justifyFull),click:this.context.createInvokeHandler(editor.justifyFull)}),cthis.button({contents:this.ui.icon(this.options.icons.outdent),tooltip:this.lang.paragraph.outdent+this.representShortcut(outdent),click:this.context.createInvokeHandler(editor.outdent)}),uthis.button({contents:this.ui.icon(this.options.icons.indent),tooltip:this.lang.paragraph.indent+this.representShortcut(indent),click:this.context.createInvokeHandler(editor.indent)});this.context.memo(button.justifyLeft,g.invoke(r,render)),this.context.memo(button.justifyCenter,g.invoke(a,render)),this.context.memo(button.justifyRight,g.invoke(s,render)),this.context.memo(button.justifyFull,g.invoke(l,render)),this.context.memo(button.outdent,g.invoke(c,render)),this.context.memo(button.indent,g.invoke(u,render)),this.context.memo(button.paragraph,(function(){return t.ui.buttonGroup(t.button({className:dropdown-toggle,contents:t.ui.dropdownButtonContents(t.ui.icon(t.options.icons.alignLeft),t.options),tooltip:t.lang.paragraph.paragraph,data:{toggle:dropdown}}),t.ui.dropdown(t.ui.buttonGroup({className:note-align,children:r,a,s,l}),t.ui.buttonGroup({className:note-list,children:c,u}))).render()})),this.context.memo(button.height,(function(){return t.ui.buttonGroup(t.button({className:dropdown-toggle,contents:t.ui.dropdownButtonContents(t.ui.icon(t.options.icons.textHeight),t.options),tooltip:t.lang.font.height,data:{toggle:dropdown}}),t.ui.dropdownCheck({items:t.options.lineHeights,checkClassName:t.options.icons.menuCheck,className:dropdown-line-height,title:t.lang.font.height,click:t.context.createInvokeHandler(editor.lineHeight)})).render()})),this.context.memo(button.table,(function(){return t.ui.buttonGroup(t.button({className:dropdown-toggle,contents:t.ui.dropdownButtonContents(t.ui.icon(t.options.icons.table),t.options),tooltip:t.lang.table.table,data:{toggle:dropdown}}),t.ui.dropdown({title:t.lang.table.table,className:note-table,items:div classnote-dimension-picker>,div classnote-dimension-picker-mousecatcher data-eventinsertTable data-value1x1>/div>,div classnote-dimension-picker-highlighted>/div>,div classnote-dimension-picker-unhighlighted>/div>,/div>,div classnote-dimension-display>1 x 1/div>.join()}),{callback:function(e){e.find(.note-dimension-picker-mousecatcher).css({width:t.options.insertTableMaxSize.col+em,height:t.options.insertTableMaxSize.row+em}).mousedown(t.context.createInvokeHandler(editor.insertTable)).on(mousemove,t.tableMoveHandler.bind(t))}}).render()})),this.context.memo(button.link,(function(){return t.button({contents:t.ui.icon(t.options.icons.link),tooltip:t.lang.link.link+t.representShortcut(linkDialog.show),click:t.context.createInvokeHandler(linkDialog.show)}).render()})),this.context.memo(button.picture,(function(){return t.button({contents:t.ui.icon(t.options.icons.picture),tooltip:t.lang.image.image,click:t.context.createInvokeHandler(imageDialog.show)}).render()})),this.context.memo(button.video,(function(){return t.button({contents:t.ui.icon(t.options.icons.video),tooltip:t.lang.video.video,click:t.context.createInvokeHandler(videoDialog.show)}).render()})),this.context.memo(button.hr,(function(){return t.button({contents:t.ui.icon(t.options.icons.minus),tooltip:t.lang.hr.insert+t.representShortcut(insertHorizontalRule),click:t.context.createInvokeHandler(editor.insertHorizontalRule)}).render()})),this.context.memo(button.fullscreen,(function(){return t.button({className:btn-fullscreen note-codeview-keep,contents:t.ui.icon(t.options.icons.arrowsAlt),tooltip:t.lang.options.fullscreen,click:t.context.createInvokeHandler(fullscreen.toggle)}).render()})),this.context.memo(button.codeview,(function(){return t.button({className:btn-codeview note-codeview-keep,contents:t.ui.icon(t.options.icons.code),tooltip:t.lang.options.codeview,click:t.context.createInvokeHandler(codeview.toggle)}).render()})),this.context.memo(button.redo,(function(){return t.button({contents:t.ui.icon(t.options.icons.redo),tooltip:t.lang.history.redo+t.representShortcut(redo),click:t.context.createInvokeHandler(editor.redo)}).render()})),this.context.memo(button.undo,(function(){return t.button({contents:t.ui.icon(t.options.icons.undo),tooltip:t.lang.history.undo+t.representShortcut(undo),click:t.context.createInvokeHandler(editor.undo)}).render()})),this.context.memo(button.help,(function(){return t.button({contents:t.ui.icon(t.options.icons.question),tooltip:t.lang.options.help,click:t.context.createInvokeHandler(helpDialog.show)}).render()}))}},{key:addImagePopoverButtons,value:function(){var tthis;this.context.memo(button.resizeFull,(function(){return t.button({contents:span classnote-fontsize-10>100%/span>,tooltip:t.lang.image.resizeFull,click:t.context.createInvokeHandler(editor.resize,1)}).render()})),this.context.memo(button.resizeHalf,(function(){return t.button({contents:span classnote-fontsize-10>50%/span>,tooltip:t.lang.image.resizeHalf,click:t.context.createInvokeHandler(editor.resize,0.5)}).render()})),this.context.memo(button.resizeQuarter,(function(){return t.button({contents:span classnote-fontsize-10>25%/span>,tooltip:t.lang.image.resizeQuarter,click:t.context.createInvokeHandler(editor.resize,0.25)}).render()})),this.context.memo(button.resizeNone,(function(){return t.button({contents:t.ui.icon(t.options.icons.rollback),tooltip:t.lang.image.resizeNone,click:t.context.createInvokeHandler(editor.resize,0)}).render()})),this.context.memo(button.floatLeft,(function(){return t.button({contents:t.ui.icon(t.options.icons.floatLeft),tooltip:t.lang.image.floatLeft,click:t.context.createInvokeHandler(editor.floatMe,left)}).render()})),this.context.memo(button.floatRight,(function(){return t.button({contents:t.ui.icon(t.options.icons.floatRight),tooltip:t.lang.image.floatRight,click:t.context.createInvokeHandler(editor.floatMe,right)}).render()})),this.context.memo(button.floatNone,(function(){return t.button({contents:t.ui.icon(t.options.icons.rollback),tooltip:t.lang.image.floatNone,click:t.context.createInvokeHandler(editor.floatMe,none)}).render()})),this.context.memo(button.removeMedia,(function(){return t.button({contents:t.ui.icon(t.options.icons.trash),tooltip:t.lang.image.remove,click:t.context.createInvokeHandler(editor.removeMedia)}).render()}))}},{key:addLinkPopoverButtons,value:function(){var tthis;this.context.memo(button.linkDialogShow,(function(){return t.button({contents:t.ui.icon(t.options.icons.link),tooltip:t.lang.link.edit,click:t.context.createInvokeHandler(linkDialog.show)}).render()})),this.context.memo(button.unlink,(function(){return t.button({contents:t.ui.icon(t.options.icons.unlink),tooltip:t.lang.link.unlink,click:t.context.createInvokeHandler(editor.unlink)}).render()}))}},{key:addTablePopoverButtons,value:function(){var tthis;this.context.memo(button.addRowUp,(function(){return t.button({className:btn-md,contents:t.ui.icon(t.options.icons.rowAbove),tooltip:t.lang.table.addRowAbove,click:t.context.createInvokeHandler(editor.addRow,top)}).render()})),this.context.memo(button.addRowDown,(function(){return t.button({className:btn-md,contents:t.ui.icon(t.options.icons.rowBelow),tooltip:t.lang.table.addRowBelow,click:t.context.createInvokeHandler(editor.addRow,bottom)}).render()})),this.context.memo(button.addColLeft,(function(){return t.button({className:btn-md,contents:t.ui.icon(t.options.icons.colBefore),tooltip:t.lang.table.addColLeft,click:t.context.createInvokeHandler(editor.addCol,left)}).render()})),this.context.memo(button.addColRight,(function(){return t.button({className:btn-md,contents:t.ui.icon(t.options.icons.colAfter),tooltip:t.lang.table.addColRight,click:t.context.createInvokeHandler(editor.addCol,right)}).render()})),this.context.memo(button.deleteRow,(function(){return t.button({className:btn-md,contents:t.ui.icon(t.options.icons.rowRemove),tooltip:t.lang.table.delRow,click:t.context.createInvokeHandler(editor.deleteRow)}).render()})),this.context.memo(button.deleteCol,(function(){return t.button({className:btn-md,contents:t.ui.icon(t.options.icons.colRemove),tooltip:t.lang.table.delCol,click:t.context.createInvokeHandler(editor.deleteCol)}).render()})),this.context.memo(button.deleteTable,(function(){return t.button({className:btn-md,contents:t.ui.icon(t.options.icons.trash),tooltip:t.lang.table.delTable,click:t.context.createInvokeHandler(editor.deleteTable)}).render()}))}},{key:build,value:function(t,e){for(var n0,oe.length;no;n++){for(var ien,rArray.isArray(i)?i0:i,aArray.isArray(i)?1i.length?i0:i1:i,sthis.ui.buttonGroup({className:note-+r}).render(),l0,ca.length;lc;l++){var uthis.context.memo(button.+al);u&&s.append(functiontypeof u?u(this.context):u)}s.appendTo(t)}}},{key:updateCurrentStyle,value:function(t){var ethis,nt||this.$toolbar,othis.context.invoke(editor.currentStyle);if(this.updateBtnStates(n,{.note-btn-bold:function(){returnboldofont-bold},.note-btn-italic:function(){returnitalicofont-italic},.note-btn-underline:function(){returnunderlineofont-underline},.note-btn-subscript:function(){returnsubscriptofont-subscript},.note-btn-superscript:function(){returnsuperscriptofont-superscript},.note-btn-strikethrough:function(){returnstrikethroughofont-strikethrough}}),ofont-family){var rofont-family.split(,).map((function(t){return t.replace(/\\/g,).replace(/\s+$/,).replace(/^\s+/,)})),aC.find(r,this.isFontInstalled.bind(this));n.find(.dropdown-fontname a).each((function(t,e){var ni()(e),on.data(value)+a+;n.toggleClass(checked,o)})),n.find(.note-current-fontname).text(a).css(font-family,a)}if(ofont-size){var sofont-size;n.find(.dropdown-fontsize a).each((function(t,e){var ni()(e),on.data(value)+s+;n.toggleClass(checked,o)})),n.find(.note-current-fontsize).text(s);var lofont-size-unit;n.find(.dropdown-fontsizeunit a).each((function(t,e){var ni()(e),on.data(value)+l+;n.toggleClass(checked,o)})),n.find(.note-current-fontsizeunit).text(l)}if(oline-height){var coline-height;n.find(.dropdown-line-height li a).each((function(t,n){var oi()(n).data(value)+c+;e.classNameo?checked:}))}}},{key:updateBtnStates,value:function(t,e){var nthis;i.a.each(e,(function(e,o){n.ui.toggleBtnActive(t.find(e),o())}))}},{key:tableMoveHandler,value:function(t){var e,ni()(t.target.parentNode),on.next(),rn.find(.note-dimension-picker-mousecatcher),an.find(.note-dimension-picker-highlighted),sn.find(.note-dimension-picker-unhighlighted);if(void 0t.offsetX){var li()(t.target).offset();e{x:t.pageX-l.left,y:t.pageY-l.top}}else e{x:t.offsetX,y:t.offsetY};var cMath.ceil(e.x/18)||1,uMath.ceil(e.y/18)||1;a.css({width:c+em,height:u+em}),r.data(value,c+x+u),c>3&&cthis.options.insertTableMaxSize.col&&s.css({width:c+1+em}),u>3&&uthis.options.insertTableMaxSize.row&&s.css({height:u+1+em}),o.html(c+ x +u)}})&&ae(e.prototype,n),o&&ae(e,o),t}();function le(t,e){for(var n0;ne.length;n++){var oen;o.enumerableo.enumerable||!1,o.configurable!0,valuein o&&(o.writable!0),Object.defineProperty(t,o.key,o)}}var cefunction(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError(Cannot call a class as a function)}(this,t),this.contexte,this.$windowi()(window),this.$documenti()(document),this.uii.a.summernote.ui,this.$notee.layoutInfo.note,this.$editore.layoutInfo.editor,this.$toolbare.layoutInfo.toolbar,this.$editablee.layoutInfo.editable,this.$statusbare.layoutInfo.statusbar,this.optionse.options,this.isFollowing!1,this.followScrollthis.followScroll.bind(this)}var e,n,o;return et,(n{key:shouldInitialize,value:function(){return!this.options.airMode}},{key:initialize,value:function(){var tthis;this.options.toolbarthis.options.toolbar||,this.options.toolbar.length?this.context.invoke(buttons.build,this.$toolbar,this.options.toolbar):this.$toolbar.hide(),this.options.toolbarContainer&&this.$toolbar.appendTo(this.options.toolbarContainer),this.changeContainer(!1),this.$note.on(summernote.keyup summernote.mouseup summernote.change,(function(){t.context.invoke(buttons.updateCurrentStyle)})),this.context.invoke(buttons.updateCurrentStyle),this.options.followingToolbar&&this.$window.on(scroll resize,this.followScroll)}},{key:destroy,value:function(){this.$toolbar.children().remove(),this.options.followingToolbar&&this.$window.off(scroll resize,this.followScroll)}},{key:followScroll,value:function(){if(this.$editor.hasClass(fullscreen))return!1;var tthis.$editor.outerHeight(),ethis.$editor.width(),nthis.$toolbar.height(),othis.$statusbar.height(),r0;this.options.otherStaticBar&&(ri()(this.options.otherStaticBar).outerHeight());var athis.$document.scrollTop(),sthis.$editor.offset().top,ls-r,cs+t-r-n-o;!this.isFollowing&&a>l&&ac-n?(this.isFollowing!0,this.$editable.css({marginTop:this.$toolbar.outerHeight()}),this.$toolbar.css({position:fixed,top:r,width:e,zIndex:1e3})):this.isFollowing&&(al||a>c)&&(this.isFollowing!1,this.$toolbar.css({position:relative,top:0,width:100%,zIndex:auto}),this.$editable.css({marginTop:}))}},{key:changeContainer,value:function(t){t?this.$toolbar.prependTo(this.$editor):this.options.toolbarContainer&&this.$toolbar.appendTo(this.options.toolbarContainer),this.options.followingToolbar&&this.followScroll()}},{key:updateFullscreen,value:function(t){this.ui.toggleBtnActive(this.$toolbar.find(.btn-fullscreen),t),this.changeContainer(t)}},{key:updateCodeview,value:function(t){this.ui.toggleBtnActive(this.$toolbar.find(.btn-codeview),t),t?this.deactivate():this.activate()}},{key:activate,value:function(t){var ethis.$toolbar.find(button);t||(ee.not(.note-codeview-keep)),this.ui.toggleBtn(e,!0)}},{key:deactivate,value:function(t){var ethis.$toolbar.find(button);t||(ee.not(.note-codeview-keep)),this.ui.toggleBtn(e,!1)}})&&le(e.prototype,n),o&&le(e,o),t}();function ue(t,e){for(var n0;ne.length;n++){var oen;o.enumerableo.enumerable||!1,o.configurable!0,valuein o&&(o.writable!0),Object.defineProperty(t,o.key,o)}}var defunction(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError(Cannot call a class as a function)}(this,t),this.contexte,this.uii.a.summernote.ui,this.$bodyi()(document.body),this.$editore.layoutInfo.editor,this.optionse.options,this.langthis.options.langInfo,e.memo(help.linkDialog.show,this.options.langInfo.helplinkDialog.show)}var e,n,o;return et,(n{key:initialize,value:function(){var tthis.options.dialogsInBody?this.$body:this.options.container,ediv classform-group note-form-group>,label fornote-dialog-link-txt-.concat(this.options.id, classnote-form-label>).concat(this.lang.link.textToDisplay,/label>),input idnote-dialog-link-txt-.concat(this.options.id, classnote-link-text form-control note-form-control note-input typetext/>),/div>,div classform-group note-form-group>,label fornote-dialog-link-url-.concat(this.options.id, classnote-form-label>).concat(this.lang.link.url,/label>),input idnote-dialog-link-url-.concat(this.options.id, classnote-link-url form-control note-form-control note-input typetext valuehttp:///>),/div>,this.options.disableLinkTarget?:i()(div/>).append(this.ui.checkbox({className:sn-checkbox-open-in-new-window,text:this.lang.link.openInNewWindow,checked:!0}).render()).html(),i()(div/>).append(this.ui.checkbox({className:sn-checkbox-use-protocol,text:this.lang.link.useProtocol,checked:!0}).render()).html().join(),ninput typebutton href# class.concat(btn btn-primary note-btn note-btn-primary note-link-btn, value).concat(this.lang.link.insert, disabled>);this.$dialogthis.ui.dialog({className:link-dialog,title:this.lang.link.insert,fade:this.options.dialogsFade,body:e,footer:n}).render().appendTo(t)}},{key:destroy,value:function(){this.ui.hideDialog(this.$dialog),this.$dialog.remove()}},{key:bindEnterKey,value:function(t,e){t.on(keypress,(function(t){t.keyCodext.code.ENTER&&(t.preventDefault(),e.trigger(click))}))}},{key:toggleLinkBtn,value:function(t,e,n){this.ui.toggleBtn(t,e.val()&&n.val())}},{key:showLinkDialog,value:function(t){var ethis;return i.a.Deferred((function(n){var oe.$dialog.find(.note-link-text),ie.$dialog.find(.note-link-url),re.$dialog.find(.note-link-btn),ae.$dialog.find(.sn-checkbox-open-in-new-window inputtypecheckbox),se.$dialog.find(.sn-checkbox-use-protocol inputtypecheckbox);e.ui.onDialogShown(e.$dialog,(function(){e.context.triggerEvent(dialog.shown),!t.url&&g.isValidUrl(t.text)&&(t.urlt.text),o.on(input paste propertychange,(function(){t.texto.val(),e.toggleLinkBtn(r,o,i)})).val(t.text),i.on(input paste propertychange,(function(){t.text||o.val(i.val()),e.toggleLinkBtn(r,o,i)})).val(t.url),m.isSupportTouch||i.trigger(focus),e.toggleLinkBtn(r,o,i),e.bindEnterKey(i,r),e.bindEnterKey(o,r);var lvoid 0!t.isNewWindow?t.isNewWindow:e.context.options.linkTargetBlank;a.prop(checked,l);var c!t.url&&e.context.options.useProtocol;s.prop(checked,c),r.one(click,(function(r){r.preventDefault(),n.resolve({range:t.range,url:i.val(),text:o.val(),isNewWindow:a.is(:checked),checkProtocol:s.is(:checked)}),e.ui.hideDialog(e.$dialog)}))})),e.ui.onDialogHidden(e.$dialog,(function(){o.off(),i.off(),r.off(),pendingn.state()&&n.reject()})),e.ui.showDialog(e.$dialog)})).promise()}},{key:show,value:function(){var tthis,ethis.context.invoke(editor.getLinkInfo);this.context.invoke(editor.saveRange),this.showLinkDialog(e).then((function(e){t.context.invoke(editor.restoreRange),t.context.invoke(editor.createLink,e)})).fail((function(){t.context.invoke(editor.restoreRange)}))}})&&ue(e.prototype,n),o&&ue(e,o),t}();function he(t,e){for(var n0;ne.length;n++){var oen;o.enumerableo.enumerable||!1,o.configurable!0,valuein o&&(o.writable!0),Object.defineProperty(t,o.key,o)}}var fefunction(){function t(e){var nthis;!function(t,e){if(!(t instanceof e))throw new TypeError(Cannot call a class as a function)}(this,t),this.contexte,this.uii.a.summernote.ui,this.optionse.options,this.events{summernote.keyup summernote.mouseup summernote.change summernote.scroll:function(){n.update()},summernote.disable summernote.dialog.shown summernote.blur:function(){n.hide()}}}var e,n,o;return et,(n{key:shouldInitialize,value:function(){return!C.isEmpty(this.options.popover.link)}},{key:initialize,value:function(){this.$popoverthis.ui.popover({className:note-link-popover,callback:function(t){t.find(.popover-content,.note-popover-content).prepend(span>a target_blank>/a> /span>)}}).render().appendTo(this.options.container);var tthis.$popover.find(.popover-content,.note-popover-content);this.context.invoke(buttons.build,t,this.options.popover.link),this.$popover.on(mousedown,(function(t){t.preventDefault()}))}},{key:destroy,value:function(){this.$popover.remove()}},{key:update,value:function(){if(this.context.invoke(editor.hasFocus)){var tthis.context.invoke(editor.getLastRange);if(t.isCollapsed()&&t.isOnAnchor()){var ept.ancestor(t.sc,pt.isAnchor),ni()(e).attr(href);this.$popover.find(a).attr(href,n).text(n);var opt.posFromPlaceholder(e),ri()(this.options.container).offset();o.top-r.top,o.left-r.left,this.$popover.css({display:block,left:o.left,top:o.top})}else this.hide()}else this.hide()}},{key:hide,value:function(){this.$popover.hide()}})&&he(e.prototype,n),o&&he(e,o),t}();function pe(t,e){for(var n0;ne.length;n++){var oen;o.enumerableo.enumerable||!1,o.configurable!0,valuein o&&(o.writable!0),Object.defineProperty(t,o.key,o)}}var mefunction(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError(Cannot call a class as a function)}(this,t),this.contexte,this.uii.a.summernote.ui,this.$bodyi()(document.body),this.$editore.layoutInfo.editor,this.optionse.options,this.langthis.options.langInfo}var e,n,o;return et,(n{key:initialize,value:function(){var t;if(this.options.maximumImageFileSize){var eMath.floor(Math.log(this.options.maximumImageFileSize)/Math.log(1024)),n1*(this.options.maximumImageFileSize/Math.pow(1024,e)).toFixed(2)+ + KMGTPe+B;tsmall>.concat(this.lang.image.maximumFileSize+ : +n,/small>)}var othis.options.dialogsInBody?this.$body:this.options.container,idiv classform-group note-form-group note-group-select-from-files>,label fornote-dialog-image-file-+this.options.id+ classnote-form-label>+this.lang.image.selectFromFiles+/label>,input idnote-dialog-image-file-+this.options.id+ classnote-image-input form-control-file note-form-control note-input , typefile namefiles acceptimage/* multiplemultiple/>,t,/div>,div classform-group note-group-image-url>,label fornote-dialog-image-url-+this.options.id+ classnote-form-label>+this.lang.image.url+/label>,input idnote-dialog-image-url-+this.options.id+ classnote-image-url form-control note-form-control note-input typetext/>,/div>.join(),rinput typebutton href# class.concat(btn btn-primary note-btn note-btn-primary note-image-btn, value).concat(this.lang.image.insert, disabled>);this.$dialogthis.ui.dialog({title:this.lang.image.insert,fade:this.options.dialogsFade,body:i,footer:r}).render().appendTo(o)}},{key:destroy,value:function(){this.ui.hideDialog(this.$dialog),this.$dialog.remove()}},{key:bindEnterKey,value:function(t,e){t.on(keypress,(function(t){t.keyCodext.code.ENTER&&(t.preventDefault(),e.trigger(click))}))}},{key:show,value:function(){var tthis;this.context.invoke(editor.saveRange),this.showImageDialog().then((function(e){t.ui.hideDialog(t.$dialog),t.context.invoke(editor.restoreRange),stringtypeof e?t.options.callbacks.onImageLinkInsert?t.context.triggerEvent(image.link.insert,e):t.context.invoke(editor.insertImage,e):t.context.invoke(editor.insertImagesOrCallback,e)})).fail((function(){t.context.invoke(editor.restoreRange)}))}},{key:showImageDialog,value:function(){var tthis;return i.a.Deferred((function(e){var nt.$dialog.find(.note-image-input),ot.$dialog.find(.note-image-url),it.$dialog.find(.note-image-btn);t.ui.onDialogShown(t.$dialog,(function(){t.context.triggerEvent(dialog.shown),n.replaceWith(n.clone().on(change,(function(t){e.resolve(t.target.files||t.target.value)})).val()),o.on(input paste propertychange,(function(){t.ui.toggleBtn(i,o.val())})).val(),m.isSupportTouch||o.trigger(focus),i.click((function(t){t.preventDefault(),e.resolve(o.val())})),t.bindEnterKey(o,i)})),t.ui.onDialogHidden(t.$dialog,(function(){n.off(),o.off(),i.off(),pendinge.state()&&e.reject()})),t.ui.showDialog(t.$dialog)}))}})&&pe(e.prototype,n),o&&pe(e,o),t}();function ve(t,e){for(var n0;ne.length;n++){var oen;o.enumerableo.enumerable||!1,o.configurable!0,valuein o&&(o.writable!0),Object.defineProperty(t,o.key,o)}}var gefunction(){function t(e){var nthis;!function(t,e){if(!(t instanceof e))throw new TypeError(Cannot call a class as a function)}(this,t),this.contexte,this.uii.a.summernote.ui,this.editablee.layoutInfo.editable0,this.optionse.options,this.events{summernote.disable summernote.blur:function(){n.hide()}}}var e,n,o;return et,(n{key:shouldInitialize,value:function(){return!C.isEmpty(this.options.popover.image)}},{key:initialize,value:function(){this.$popoverthis.ui.popover({className:note-image-popover}).render().appendTo(this.options.container);var tthis.$popover.find(.popover-content,.note-popover-content);this.context.invoke(buttons.build,t,this.options.popover.image),this.$popover.on(mousedown,(function(t){t.preventDefault()}))}},{key:destroy,value:function(){this.$popover.remove()}},{key:update,value:function(t,e){if(pt.isImg(t)){var ni()(t).offset(),oi()(this.options.container).offset(),r{};this.options.popatmouse?(r.lefte.pageX-20,r.tope.pageY):rn,r.top-o.top,r.left-o.left,this.$popover.css({display:block,left:r.left,top:r.top})}else this.hide()}},{key:hide,value:function(){this.$popover.hide()}})&&ve(e.prototype,n),o&&ve(e,o),t}();function be(t,e){for(var n0;ne.length;n++){var oen;o.enumerableo.enumerable||!1,o.configurable!0,valuein o&&(o.writable!0),Object.defineProperty(t,o.key,o)}}var yefunction(){function t(e){var nthis;!function(t,e){if(!(t instanceof e))throw new TypeError(Cannot call a class as a function)}(this,t),this.contexte,this.uii.a.summernote.ui,this.optionse.options,this.events{summernote.mousedown:function(t,e){n.update(e.target)},summernote.keyup summernote.scroll summernote.change:function(){n.update()},summernote.disable summernote.blur:function(){n.hide()}}}var e,n,o;return et,(n{key:shouldInitialize,value:function(){return!C.isEmpty(this.options.popover.table)}},{key:initialize,value:function(){this.$popoverthis.ui.popover({className:note-table-popover}).render().appendTo(this.options.container);var tthis.$popover.find(.popover-content,.note-popover-content);this.context.invoke(buttons.build,t,this.options.popover.table),m.isFF&&document.execCommand(enableInlineTableEditing,!1,!1),this.$popover.on(mousedown,(function(t){t.preventDefault()}))}},{key:destroy,value:function(){this.$popover.remove()}},{key:update,value:function(t){if(this.context.isDisabled())return!1;var ept.isCell(t);if(e){var npt.posFromPlaceholder(t),oi()(this.options.container).offset();n.top-o.top,n.left-o.left,this.$popover.css({display:block,left:n.left,top:n.top})}else this.hide();return e}},{key:hide,value:function(){this.$popover.hide()}})&&be(e.prototype,n),o&&be(e,o),t}();function ke(t,e){for(var n0;ne.length;n++){var oen;o.enumerableo.enumerable||!1,o.configurable!0,valuein o&&(o.writable!0),Object.defineProperty(t,o.key,o)}}var wefunction(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError(Cannot call a class as a function)}(this,t),this.contexte,this.uii.a.summernote.ui,this.$bodyi()(document.body),this.$editore.layoutInfo.editor,this.optionse.options,this.langthis.options.langInfo}var e,n,o;return et,(n{key:initialize,value:function(){var tthis.options.dialogsInBody?this.$body:this.options.container,ediv classform-group note-form-group row-fluid>,label fornote-dialog-video-url-.concat(this.options.id, classnote-form-label>).concat(this.lang.video.url, small classtext-muted>).concat(this.lang.video.providers,/small>/label>),input idnote-dialog-video-url-.concat(this.options.id, classnote-video-url form-control note-form-control note-input typetext/>),/div>.join(),ninput typebutton href# class.concat(btn btn-primary note-btn note-btn-primary note-video-btn, value).concat(this.lang.video.insert, disabled>);this.$dialogthis.ui.dialog({title:this.lang.video.insert,fade:this.options.dialogsFade,body:e,footer:n}).render().appendTo(t)}},{key:destroy,value:function(){this.ui.hideDialog(this.$dialog),this.$dialog.remove()}},{key:bindEnterKey,value:function(t,e){t.on(keypress,(function(t){t.keyCodext.code.ENTER&&(t.preventDefault(),e.trigger(click))}))}},{key:createVideoNode,value:function(t){var e,nt.match(/\/\/(?:(?:www|m)\.)?(?:youtu\.be\/|youtube\.com\/(?:embed\/|v\/|watch\?v|watch\?.+&v))(\w|-{11})(?:(?:\?&t)(\S+))?$/),ot.match(/(?:www\.|\/\/)instagram\.com\/p\/(.a-zA-Z0-9_-*)/),rt.match(/\/\/vine\.co\/v\/(a-zA-Z0-9+)/),at.match(/\/\/(player\.)?vimeo\.com\/(a-z*\/)*(\d+)??.*/),st.match(/.+dailymotion.com\/(video|hub)\/(^_+)^#*(#video(^_&+))?/),lt.match(/\/\/v\.youku\.com\/v_show\/id_(\w+)*\.html/),ct.match(/\/\/v\.qq\.com.*?vid(.+)/),ut.match(/\/\/v\.qq\.com\/x?\/?(page|cover).*?\/(^\/+)\.html\??.*/),dt.match(/^.+.(mp4|m4v)$/),ht.match(/^.+.(ogg|ogv)$/),ft.match(/^.+.(webm)$/),pt.match(/(?:www\.|\/\/)facebook\.com\/(^\/+)\/videos\/(0-9+)/);if(n&&11n1.length){var mn1,v0;if(void 0!n2){var gn2.match(/^(?:(\d+)h)?(?:(\d+)m)?(?:(\d+)s)?$/);if(g)for(var b3600,60,1,y0,kb.length;yk;y++)v+void 0!gy+1?by*parseInt(gy+1,10):0}ei()(iframe>).attr(frameborder,0).attr(src,//www.youtube.com/embed/+m+(v>0??start+v:)).attr(width,640).attr(height,360)}else if(o&&o0.length)ei()(iframe>).attr(frameborder,0).attr(src,https://instagram.com/p/+o1+/embed/).attr(width,612).attr(height,710).attr(scrolling,no).attr(allowtransparency,true);else if(r&&r0.length)ei()(iframe>).attr(frameborder,0).attr(src,r0+/embed/simple).attr(width,600).attr(height,600).attr(class,vine-embed);else if(a&&a3.length)ei()(iframe webkitallowfullscreen mozallowfullscreen allowfullscreen>).attr(frameborder,0).attr(src,//player.vimeo.com/video/+a3).attr(width,640).attr(height,360);else if(s&&s2.length)ei()(iframe>).attr(frameborder,0).attr(src,//www.dailymotion.com/embed/video/+s2).attr(width,640).attr(height,360);else if(l&&l1.length)ei()(iframe webkitallowfullscreen mozallowfullscreen allowfullscreen>).attr(frameborder,0).attr(height,498).attr(width,510).attr(src,//player.youku.com/embed/+l1);else if(c&&c1.length||u&&u2.length){var wc&&c1.length?c1:u2;ei()(iframe webkitallowfullscreen mozallowfullscreen allowfullscreen>).attr(frameborder,0).attr(height,310).attr(width,500).attr(src,https://v.qq.com/txp/iframe/player.html?vid+w+&auto0)}else if(d||h||f)ei()(video controls>).attr(src,t).attr(width,640).attr(height,360);else{if(!p||!p0.length)return!1;ei()(iframe>).attr(frameborder,0).attr(src,https://www.facebook.com/plugins/video.php?href+encodeURIComponent(p0)+&show_text0&width560).attr(width,560).attr(height,301).attr(scrolling,no).attr(allowtransparency,true)}return e.addClass(note-video-clip),e0}},{key:show,value:function(){var tthis,ethis.context.invoke(editor.getSelectedText);this.context.invoke(editor.saveRange),this.showVideoDialog(e).then((function(e){t.ui.hideDialog(t.$dialog),t.context.invoke(editor.restoreRange);var nt.createVideoNode(e);n&&t.context.invoke(editor.insertNode,n)})).fail((function(){t.context.invoke(editor.restoreRange)}))}},{key:showVideoDialog,value:function(){var tthis;return i.a.Deferred((function(e){var nt.$dialog.find(.note-video-url),ot.$dialog.find(.note-video-btn);t.ui.onDialogShown(t.$dialog,(function(){t.context.triggerEvent(dialog.shown),n.on(input paste propertychange,(function(){t.ui.toggleBtn(o,n.val())})),m.isSupportTouch||n.trigger(focus),o.click((function(t){t.preventDefault(),e.resolve(n.val())})),t.bindEnterKey(n,o)})),t.ui.onDialogHidden(t.$dialog,(function(){n.off(),o.off(),pendinge.state()&&e.reject()})),t.ui.showDialog(t.$dialog)}))}})&&ke(e.prototype,n),o&&ke(e,o),t}();function Ce(t,e){for(var n0;ne.length;n++){var oen;o.enumerableo.enumerable||!1,o.configurable!0,valuein o&&(o.writable!0),Object.defineProperty(t,o.key,o)}}var xefunction(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError(Cannot call a class as a function)}(this,t),this.contexte,this.uii.a.summernote.ui,this.$bodyi()(document.body),this.$editore.layoutInfo.editor,this.optionse.options,this.langthis.options.langInfo}var e,n,o;return et,(n{key:initialize,value:function(){var tthis.options.dialogsInBody?this.$body:this.options.container,ep classtext-center>,a hrefhttp://summernote.org/ target_blank>Summernote 0.8.18/a> · ,a hrefhttps://github.com/summernote/summernote target_blank>Project/a> · ,a hrefhttps://github.com/summernote/summernote/issues target_blank>Issues/a>,/p>.join();this.$dialogthis.ui.dialog({title:this.lang.options.help,fade:this.options.dialogsFade,body:this.createShortcutList(),footer:e,callback:function(t){t.find(.modal-body,.note-modal-body).css({max-height:300,overflow:scroll})}}).render().appendTo(t)}},{key:destroy,value:function(){this.ui.hideDialog(this.$dialog),this.$dialog.remove()}},{key:createShortcutList,value:function(){var tthis,ethis.options.keyMapm.isMac?mac:pc;return Object.keys(e).map((function(n){var oen,ri()(div>div classhelp-list-item>/div>/div>);return r.append(i()(label>kbd>+n+/kdb>/label>).css({width:180,margin-right:10})).append(i()(span/>).html(t.context.memo(help.+o)||o)),r.html()})).join()}},{key:showHelpDialog,value:function(){var tthis;return i.a.Deferred((function(e){t.ui.onDialogShown(t.$dialog,(function(){t.context.triggerEvent(dialog.shown),e.resolve()})),t.ui.showDialog(t.$dialog)})).promise()}},{key:show,value:function(){var tthis;this.context.invoke(editor.saveRange),this.showHelpDialog().then((function(){t.context.invoke(editor.restoreRange)}))}})&&Ce(e.prototype,n),o&&Ce(e,o),t}();function Se(t,e){for(var n0;ne.length;n++){var oen;o.enumerableo.enumerable||!1,o.configurable!0,valuein o&&(o.writable!0),Object.defineProperty(t,o.key,o)}}var Tefunction(){function t(e){var nthis;!function(t,e){if(!(t instanceof e))throw new TypeError(Cannot call a class as a function)}(this,t),this.contexte,this.uii.a.summernote.ui,this.optionse.options,this.hidable!0,this.onContextmenu!1,this.pageXnull,this.pageYnull,this.events{summernote.contextmenu:function(t){n.options.editing&&(t.preventDefault(),t.stopPropagation(),n.onContextmenu!0,n.update(!0))},summernote.mousedown:function(t,e){n.pageXe.pageX,n.pageYe.pageY},summernote.keyup summernote.mouseup summernote.scroll:function(t,e){n.options.editing&&!n.onContextmenu&&(n.pageXe.pageX,n.pageYe.pageY,n.update()),n.onContextmenu!1},summernote.disable summernote.change summernote.dialog.shown summernote.blur:function(){n.hide()},summernote.focusout:function(){n.$popover.is(:active,:focus)||n.hide()}}}var e,n,o;return et,(n{key:shouldInitialize,value:function(){return this.options.airMode&&!C.isEmpty(this.options.popover.air)}},{key:initialize,value:function(){var tthis;this.$popoverthis.ui.popover({className:note-air-popover}).render().appendTo(this.options.container);var ethis.$popover.find(.popover-content);this.context.invoke(buttons.build,e,this.options.popover.air),this.$popover.on(mousedown,(function(){t.hidable!1})),this.$popover.on(mouseup,(function(){t.hidable!0}))}},{key:destroy,value:function(){this.$popover.remove()}},{key:update,value:function(t){var ethis.context.invoke(editor.currentStyle);if(!e.range||e.range.isCollapsed()&&!t)this.hide();else{var n{left:this.pageX,top:this.pageY},oi()(this.options.container).offset();n.top-o.top,n.left-o.left,this.$popover.css({display:block,left:Math.max(n.left,0)+-5,top:n.top+5}),this.context.invoke(buttons.updateCurrentStyle,this.$popover)}}},{key:updateCodeview,value:function(t){this.ui.toggleBtnActive(this.$popover.find(.btn-codeview),t),t&&this.hide()}},{key:hide,value:function(){this.hidable&&this.$popover.hide()}})&&Se(e.prototype,n),o&&Se(e,o),t}();function Ee(t,e){for(var n0;ne.length;n++){var oen;o.enumerableo.enumerable||!1,o.configurable!0,valuein o&&(o.writable!0),Object.defineProperty(t,o.key,o)}}var Iefunction(){function t(e){var nthis;!function(t,e){if(!(t instanceof e))throw new TypeError(Cannot call a class as a function)}(this,t),this.contexte,this.uii.a.summernote.ui,this.$editablee.layoutInfo.editable,this.optionse.options,this.hintthis.options.hint||,this.directionthis.options.hintDirection||bottom,this.hintsArray.isArray(this.hint)?this.hint:this.hint,this.events{summernote.keyup:function(t,e){e.isDefaultPrevented()||n.handleKeyup(e)},summernote.keydown:function(t,e){n.handleKeydown(e)},summernote.disable summernote.dialog.shown summernote.blur:function(){n.hide()}}}var e,n,o;return et,(n{key:shouldInitialize,value:function(){return this.hints.length>0}},{key:initialize,value:function(){var tthis;this.lastWordRangenull,this.matchingWordnull,this.$popoverthis.ui.popover({className:note-hint-popover,hideArrow:!0,direction:}).render().appendTo(this.options.container),this.$popover.hide(),this.$contentthis.$popover.find(.popover-content,.note-popover-content),this.$content.on(click,.note-hint-item,(function(e){t.$content.find(.active).removeClass(active),i()(e.currentTarget).addClass(active),t.replace()})),this.$popover.on(mousedown,(function(t){t.preventDefault()}))}},{key:destroy,value:function(){this.$popover.remove()}},{key:selectItem,value:function(t){this.$content.find(.active).removeClass(active),t.addClass(active),this.$content0.scrollTopt0.offsetTop-this.$content.innerHeight()/2}},{key:moveDown,value:function(){var tthis.$content.find(.note-hint-item.active),et.next();if(e.length)this.selectItem(e);else{var nt.parent().next();n.length||(nthis.$content.find(.note-hint-group).first()),this.selectItem(n.find(.note-hint-item).first())}}},{key:moveUp,value:function(){var tthis.$content.find(.note-hint-item.active),et.prev();if(e.length)this.selectItem(e);else{var nt.parent().prev();n.length||(nthis.$content.find(.note-hint-group).last()),this.selectItem(n.find(.note-hint-item).last())}}},{key:replace,value:function(){var tthis.$content.find(.note-hint-item.active);if(t.length){var ethis.nodeFromItem(t);if(null!this.matchingWord&&0this.matchingWord.length)this.lastWordRange.sothis.lastWordRange.eo;else if(null!this.matchingWord&&this.matchingWord.length>0&&!this.lastWordRange.isCollapsed()){var nthis.lastWordRange.eo-this.lastWordRange.so-this.matchingWord.length;n>0&&(this.lastWordRange.so+n)}if(this.lastWordRange.insertNode(e),nextthis.options.hintSelect){var odocument.createTextNode();i()(e).after(o),wt.createFromNodeBefore(o).select()}else wt.createFromNodeAfter(e).select();this.lastWordRangenull,this.hide(),this.context.invoke(editor.focus)}}},{key:nodeFromItem,value:function(t){var ethis.hintst.data(index),nt.data(item),oe.content?e.content(n):n;returnstringtypeof o&&(opt.createText(o)),o}},{key:createItemTemplates,value:function(t,e){var nthis.hintst;return e.map((function(e){var oi()(div classnote-hint-item/>);return o.append(n.template?n.template(e):e+),o.data({index:t,item:e}),o}))}},{key:handleKeydown,value:function(t){this.$popover.is(:visible)&&(t.keyCodext.code.ENTER?(t.preventDefault(),this.replace()):t.keyCodext.code.UP?(t.preventDefault(),this.moveUp()):t.keyCodext.code.DOWN&&(t.preventDefault(),this.moveDown()))}},{key:searchKeyword,value:function(t,e,n){var othis.hintst;if(o&&o.match.test(e)&&o.search){var io.match.exec(e);this.matchingWordi0,o.search(i1,n)}else n()}},{key:createGroup,value:function(t,e){var nthis,oi()(div classnote-hint-group note-hint-group-+t+>/div>);return this.searchKeyword(t,e,(function(e){(ee||).length&&(o.html(n.createItemTemplates(t,e)),n.show())})),o}},{key:handleKeyup,value:function(t){var ethis;if(!C.contains(xt.code.ENTER,xt.code.UP,xt.code.DOWN,t.keyCode)){var n,o,rthis.context.invoke(editor.getLastRange);if(wordsthis.options.hintMode){if(nr.getWordsRange(r),on.toString(),this.hints.forEach((function(t){if(t.match.test(o))return nr.getWordsMatchRange(t.match),!1})),!n)return void this.hide();on.toString()}else nr.getWordRange(),on.toString();if(this.hints.length&&o){this.$content.empty();var ag.rect2bnd(C.last(n.getClientRects())),si()(this.options.container).offset();a&&(a.top-s.top,a.left-s.left,this.$popover.hide(),this.lastWordRangen,this.hints.forEach((function(t,n){t.match.test(o)&&e.createGroup(n,o).appendTo(e.$content)})),this.$content.find(.note-hint-item:first).addClass(active),topthis.direction?this.$popover.css({left:a.left,top:a.top-this.$popover.outerHeight()-5}):this.$popover.css({left:a.left,top:a.top+a.height+5}))}else this.hide()}}},{key:show,value:function(){this.$popover.show()}},{key:hide,value:function(){this.$popover.hide()}})&&Ee(e.prototype,n),o&&Ee(e,o),t}();i.a.summernotei.a.extend(i.a.summernote,{version:0.8.18,plugins:{},dom:pt,range:wt,lists:C,options:{langInfo:i.a.summernote.langen-US,editing:!0,modules:{editor:Ht,clipboard:Bt,dropzone:Ot,codeview:Kt,statusbar:Vt,fullscreen:Gt,handle:Zt,hintPopover:Ie,autoLink:Jt,autoSync:ee,autoReplace:oe,placeholder:re,buttons:se,toolbar:ce,linkDialog:de,linkPopover:fe,imageDialog:me,imagePopover:ge,tablePopover:ye,videoDialog:we,helpDialog:xe,airPopover:Te},buttons:{},lang:en-US,followingToolbar:!1,toolbarPosition:top,otherStaticBar:,codeviewKeepButton:!1,toolbar:style,style,font,bold,underline,clear,fontname,fontname,color,color,para,ul,ol,paragraph,table,table,insert,link,picture,video,view,fullscreen,codeview,help,popatmouse:!0,popover:{image:resize,resizeFull,resizeHalf,resizeQuarter,resizeNone,float,floatLeft,floatRight,floatNone,remove,removeMedia,link:link,linkDialogShow,unlink,table:add,addRowDown,addRowUp,addColLeft,addColRight,delete,deleteRow,deleteCol,deleteTable,air:color,color,font,bold,underline,clear,para,ul,paragraph,table,table,insert,link,picture,view,fullscreen,codeview},airMode:!1,overrideContextMenu:!1,width:null,height:null,linkTargetBlank:!0,useProtocol:!0,defaultProtocol:http://,focus:!1,tabDisabled:!1,tabSize:4,styleWithCSS:!1,shortcuts:!0,textareaAutoSync:!0,tooltip:auto,container:null,maxTextLength:0,blockquoteBreakingLevel:2,spellCheck:!0,disableGrammar:!1,placeholder:null,inheritPlaceholder:!1,recordEveryKeystroke:!1,historyLimit:200,showDomainOnlyForAutolink:!1,hintMode:word,hintSelect:after,hintDirection:bottom,styleTags:p,blockquote,pre,h1,h2,h3,h4,h5,h6,fontNames:Arial,Arial Black,Comic Sans MS,Courier New,Helvetica Neue,Helvetica,Impact,Lucida Grande,Tahoma,Times New Roman,Verdana,fontNamesIgnoreCheck:,addDefaultFonts:!0,fontSizes:8,9,10,11,12,14,18,24,36,fontSizeUnits:px,pt,colors:#000000,#424242,#636363,#9C9C94,#CEC6CE,#EFEFEF,#F7F7F7,#FFFFFF,#FF0000,#FF9C00,#FFFF00,#00FF00,#00FFFF,#0000FF,#9C00FF,#FF00FF,#F7C6CE,#FFE7CE,#FFEFC6,#D6EFD6,#CEDEE7,#CEE7F7,#D6D6E7,#E7D6DE,#E79C9C,#FFC69C,#FFE79C,#B5D6A5,#A5C6CE,#9CC6EF,#B5A5D6,#D6A5BD,#E76363,#F7AD6B,#FFD663,#94BD7B,#73A5AD,#6BADDE,#8C7BC6,#C67BA5,#CE0000,#E79439,#EFC631,#6BA54A,#4A7B8C,#3984C6,#634AA5,#A54A7B,#9C0000,#B56308,#BD9400,#397B21,#104A5A,#085294,#311873,#731842,#630000,#7B3900,#846300,#295218,#083139,#003163,#21104A,#4A1031,colorsName:Black,Tundora,Dove Gray,Star Dust,Pale Slate,Gallery,Alabaster,White,Red,Orange Peel,Yellow,Green,Cyan,Blue,Electric Violet,Magenta,Azalea,Karry,Egg White,Zanah,Botticelli,Tropical Blue,Mischka,Twilight,Tonys Pink,Peach Orange,Cream Brulee,Sprout,Casper,Perano,Cold Purple,Careys Pink,Mandy,Rajah,Dandelion,Olivine,Gulf Stream,Viking,Blue Marguerite,Puce,Guardsman Red,Fire Bush,Golden Dream,Chelsea Cucumber,Smalt Blue,Boston Blue,Butterfly Bush,Cadillac,Sangria,Mai Tai,Buddha Gold,Forest Green,Eden,Venice Blue,Meteorite,Claret,Rosewood,Cinnamon,Olive,Parsley,Tiber,Midnight Blue,Valentino,Loulou,colorButton:{foreColor:#000000,backColor:#FFFF00},lineHeights:1.0,1.2,1.4,1.5,1.6,1.8,2.0,3.0,tableClassName:table table-bordered,insertTableMaxSize:{col:10,row:10},dialogsInBody:!1,dialogsFade:!1,maximumImageFileSize:null,callbacks:{onBeforeCommand:null,onBlur:null,onBlurCodeview:null,onChange:null,onChangeCodeview:null,onDialogShown:null,onEnter:null,onFocus:null,onImageLinkInsert:null,onImageUpload:null,onImageUploadError:null,onInit:null,onKeydown:null,onKeyup:null,onMousedown:null,onMouseup:null,onPaste:null,onScroll:null},codemirror:{mode:text/html,htmlMode:!0,lineNumbers:!0},codeviewFilter:!1,codeviewFilterRegex:/\/*(?:applet|b(?:ase|gsound|link)|embed|frame(?:set)?|ilayer|l(?:ayer|ink)|meta|object|s(?:cript|tyle)|t(?:itle|extarea)|xml)^>*?>/gi,codeviewIframeFilter:!0,codeviewIframeWhitelistSrc:,codeviewIframeWhitelistSrcBase:www.youtube.com,www.youtube-nocookie.com,www.facebook.com,vine.co,instagram.com,player.vimeo.com,www.dailymotion.com,player.youku.com,v.qq.com,keyMap:{pc:{ESC:escape,ENTER:insertParagraph,CTRL+Z:undo,CTRL+Y:redo,TAB:tab,SHIFT+TAB:untab,CTRL+B:bold,CTRL+I:italic,CTRL+U:underline,CTRL+SHIFT+S:strikethrough,CTRL+BACKSLASH:removeFormat,CTRL+SHIFT+L:justifyLeft,CTRL+SHIFT+E:justifyCenter,CTRL+SHIFT+R:justifyRight,CTRL+SHIFT+J:justifyFull,CTRL+SHIFT+NUM7:insertUnorderedList,CTRL+SHIFT+NUM8:insertOrderedList,CTRL+LEFTBRACKET:outdent,CTRL+RIGHTBRACKET:indent,CTRL+NUM0:formatPara,CTRL+NUM1:formatH1,CTRL+NUM2:formatH2,CTRL+NUM3:formatH3,CTRL+NUM4:formatH4,CTRL+NUM5:formatH5,CTRL+NUM6:formatH6,CTRL+ENTER:insertHorizontalRule,CTRL+K:linkDialog.show},mac:{ESC:escape,ENTER:insertParagraph,CMD+Z:undo,CMD+SHIFT+Z:redo,TAB:tab,SHIFT+TAB:untab,CMD+B:bold,CMD+I:italic,CMD+U:underline,CMD+SHIFT+S:strikethrough,CMD+BACKSLASH:removeFormat,CMD+SHIFT+L:justifyLeft,CMD+SHIFT+E:justifyCenter,CMD+SHIFT+R:justifyRight,CMD+SHIFT+J:justifyFull,CMD+SHIFT+NUM7:insertUnorderedList,CMD+SHIFT+NUM8:insertOrderedList,CMD+LEFTBRACKET:outdent,CMD+RIGHTBRACKET:indent,CMD+NUM0:formatPara,CMD+NUM1:formatH1,CMD+NUM2:formatH2,CMD+NUM3:formatH3,CMD+NUM4:formatH4,CMD+NUM5:formatH5,CMD+NUM6:formatH6,CMD+ENTER:insertHorizontalRule,CMD+K:linkDialog.show}},icons:{align:note-icon-align,alignCenter:note-icon-align-center,alignJustify:note-icon-align-justify,alignLeft:note-icon-align-left,alignRight:note-icon-align-right,rowBelow:note-icon-row-below,colBefore:note-icon-col-before,colAfter:note-icon-col-after,rowAbove:note-icon-row-above,rowRemove:note-icon-row-remove,colRemove:note-icon-col-remove,indent:note-icon-align-indent,outdent:note-icon-align-outdent,arrowsAlt:note-icon-arrows-alt,bold:note-icon-bold,caret:note-icon-caret,circle:note-icon-circle,close:note-icon-close,code:note-icon-code,eraser:note-icon-eraser,floatLeft:note-icon-float-left,floatRight:note-icon-float-right,font:note-icon-font,frame:note-icon-frame,italic:note-icon-italic,link:note-icon-link,unlink:note-icon-chain-broken,magic:note-icon-magic,menuCheck:note-icon-menu-check,minus:note-icon-minus,orderedlist:note-icon-orderedlist,pencil:note-icon-pencil,picture:note-icon-picture,question:note-icon-question,redo:note-icon-redo,rollback:note-icon-rollback,square:note-icon-square,strikethrough:note-icon-strikethrough,subscript:note-icon-subscript,superscript:note-icon-superscript,table:note-icon-table,textHeight:note-icon-text-height,trash:note-icon-trash,underline:note-icon-underline,undo:note-icon-undo,unorderedlist:note-icon-unorderedlist,video:note-icon-video}}})},5:function(t,e,n){},53:function(t,e,n){use strict;n.r(e);var on(0),in.n(o),rn(1);function a(t){return(afunctiontypeof Symbol&&symboltypeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&functiontypeof Symbol&&t.constructorSymbol&&t!Symbol.prototype?symbol:typeof t})(t)}var sr.a.create(div classnote-editor note-frame card/>),lr.a.create(div classnote-toolbar card-header roletoolbar/>),cr.a.create(div classnote-editing-area/>),ur.a.create(textarea classnote-codable aria-multilinetrue/>),dr.a.create(div classnote-editable card-block contentEditabletrue roletextbox aria-multilinetrue/>),hr.a.create(output classnote-status-output rolestatus aria-livepolite>/output>,div classnote-statusbar rolestatus>,div classnote-resizebar aria-labelResize>,div classnote-icon-bar>/div>,div classnote-icon-bar>/div>,div classnote-icon-bar>/div>,/div>,/div>.join()),fr.a.create(div classnote-editor note-airframe/>),pr.a.create(div classnote-editable contentEditabletrue roletextbox aria-multilinetrue>/div>,output classnote-status-output rolestatus aria-livepolite>/output>.join()),mr.a.create(div classnote-btn-group btn-group>),vr.a.create(div classnote-dropdown-menu dropdown-menu rolelist>,(function(t,e){var nArray.isArray(e.items)?e.items.map((function(t){var nstringtypeof t?t:t.value||,oe.template?e.template(t):t,iobjecta(t)?t.option:void 0;returna classdropdown-item href# +(data-value+n++(void 0!i? data-option+i+:))+ rolelistitem aria-label+n+>+o+/a>})).join():e.items;t.html(n).attr({aria-label:e.title}),e&&e.codeviewKeepButton&&t.addClass(note-codeview-keep)})),gfunction(t){return t},br.a.create(div classnote-dropdown-menu dropdown-menu note-check rolelist>,(function(t,e){var nArray.isArray(e.items)?e.items.map((function(t){var nstringtypeof t?t:t.value||,oe.template?e.template(t):t;returna classdropdown-item href# data-value+n+ rolelistitem aria-label+t+>+C(e.checkClassName)+ +o+/a>})).join():e.items;t.html(n).attr({aria-label:e.title}),e&&e.codeviewKeepButton&&t.addClass(note-codeview-keep)})),yr.a.create(div classmodal note-modal aria-hiddenfalse tabindex-1 roledialog/>,(function(t,e){e.fade&&t.addClass(fade),t.attr({aria-label:e.title}),t.html(div classmodal-dialog>,div classmodal-content>,e.title?div classmodal-header>h4 classmodal-title>+e.title+/h4>button typebutton classclose data-dismissmodal aria-labelClose aria-hiddentrue>×/button>/div>:,div classmodal-body>+e.body+/div>,e.footer?div classmodal-footer>+e.footer+/div>:,/div>,/div>.join())})),kr.a.create(div classnote-popover popover in>,div classarrow>/div>,div classpopover-content note-children-container>/div>,/div>.join(),(function(t,e){var nvoid 0!e.direction?e.direction:bottom;t.addClass(n),e.hideArrow&&t.find(.arrow).hide()})),wr.a.create(div classform-check>/div>,(function(t,e){t.html(label classform-check-label+(e.id? fornote-+e.id+:)+>,input typecheckbox classform-check-input+(e.id? idnote-+e.id+:),e.checked? checked:, aria-label+(e.text?e.text:)+, aria-checked+(e.checked?true:false)+/>, +(e.text?e.text:)+/label>.join())})),Cfunction(t,e){return+(ee||i)+ class+t+>/+e+>},xfunction(t){return{editor:s,toolbar:l,editingArea:c,codable:u,editable:d,statusbar:h,airEditor:f,airEditable:p,buttonGroup:m,dropdown:v,dropdownButtonContents:g,dropdownCheck:b,dialog:y,popover:k,icon:C,checkbox:w,options:t,palette:function(e,n){return r.a.create(div classnote-color-palette/>,(function(e,n){for(var o,i0,rn.colors.length;ir;i++){for(var an.eventName,sn.colorsi,ln.colorsNamei,c,u0,ds.length;ud;u++){var hsu,flu;c.push(button typebutton classnote-color-btn,stylebackground-color:,h, ,data-event,a, ,data-value,h, ,title,f, ,aria-label,f, ,data-togglebutton tabindex-1>/button>.join())}o.push(div classnote-color-row>+c.join()+/div>)}e.html(o.join()),n.tooltip&&e.find(.note-color-btn).tooltip({container:n.container||t.container,trigger:hover,placement:bottom})}))(e,n)},button:function(e,n){return r.a.create(button typebutton classnote-btn btn btn-light btn-sm tabindex-1>,(function(e,n){n&&n.tooltip&&e.attr({title:n.tooltip,aria-label:n.tooltip}).tooltip({container:n.container||t.container,trigger:hover,placement:bottom}).on(click,(function(t){i()(t.currentTarget).tooltip(hide)})),n&&n.codeviewButton&&e.addClass(note-codeview-keep)}))(e,n)},toggleBtn:function(t,e){t.toggleClass(disabled,!e),t.attr(disabled,!e)},toggleBtnActive:function(t,e){t.toggleClass(active,e)},onDialogShown:function(t,e){t.one(shown.bs.modal,e)},onDialogHidden:function(t,e){t.one(hidden.bs.modal,e)},showDialog:function(t){t.modal(show)},hideDialog:function(t){t.modal(hide)},createLayout:function(e){var n(t.airMode?f(c(u(),p())):bottomt.toolbarPosition?s(c(u(),d()),l(),h()):s(l(),c(u(),d()),h())).render();return n.insertAfter(e),{note:e,editor:n,toolbar:n.find(.note-toolbar),editingArea:n.find(.note-editing-area),editable:n.find(.note-editable),codable:n.find(.note-codable),statusbar:n.find(.note-statusbar)}},removeLayout:function(t,e){t.html(e.editable.html()),e.editor.remove(),t.show()}}};n(3),n(5);i.a.summernotei.a.extend(i.a.summernote,{ui_template:x,interface:bs4}),i.a.summernote.options.styleTagsp,{title:Blockquote,tag:blockquote,className:blockquote,value:blockquote},pre,h1,h2,h3,h4,h5,h6}})}));/script>!-- script srcplugins/datatables/jquery.dataTables.min.js>/script> -->script srcplugins/datatables/jquery.dataTables.js>/script>script srcplugins/datatables/jquery.dataTables.min.js>/script>script srcplugins/datatables/jquery.dataTables.bootstrap4.responsive.js>/script> script srcplugins/datatables/jquery.dataTables.bootstrap4.responsive.min.js>/script>script srcplugins/autosize/autosize.min.js>/script>script srcplugins/bootstrap-duallistbox/src/jquery.bootstrap-duallistbox.js>/script>script data-srcplugins/duallistbox/duallistbox.min.js> function duallistbox(e){e.previousElementSibling&&e.previousElementSibling.idduallistbox_+e.id&&e.previousElementSibling.remove(),e.style.displaynone,e.querySelectorAll(option).forEach((e,t)>e.dataset.indext);const te>`svg viewBox0 0 24 24 xmlnshttp://www.w3.org/2000/svg width1.375em height1.375em fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround>path d${e}/>/svg>`,nt(M13 17l5-5-5-5M6 17l5-5-5-5),ot(M11 17l-5-5 5-5M18 17l-5-5 5-5),l`\n div classduallistbox row idduallistbox_${e.id}>\n div classcol>\n input typetext classform-control form-control-sm placeholderFilter>\n select classform-control id${e.id}_1 multiple>/select>\n /div>\n div classcol-md-1 d-flex align-items-center justify-content-center>\n div classbtn-group-sm btn-group-vertical d-none d-md-inline-flex rolegroup>\n button classbtn btn-light move-all typebutton titleMove all>${n}/button>\n button classbtn btn-light remove-all typebutton titleRemove all>${o}/button>\n /div>\n div classbtn-group-sm btn-group d-md-none my-1 rolegroup>\n button classbtn btn-light move-all typebutton>Move all/button>\n button classbtn btn-light remove-all typebutton>Remove all/button>\n /div>\n /div>\n div classcol>\n input typetext classform-control form-control-sm placeholderFilter>\n select classform-control id${e.id}_2 multiple>/select>\n /div>\n /div>\n `;e.insertAdjacentHTML(beforebegin,l);const idocument.getElementById(duallistbox_+e.id),sdocument.getElementById(e.id+_1),rdocument.getElementById(e.id+_2),di.querySelectorAll(input);s.innerHTML...e.querySelectorAll(option:not(:checked)).map(e>e.outerHTML).join(),r.innerHTML...e.querySelectorAll(option:checked).map(e>e.outerHTML).join().replace(/selected/g,);const c(e)>{if(!e){const te.nextElementSibling.querySelectorAll(option);t.forEach(e>e.removeAttribute(hidden)),t.forEach(t>{-1t.textContent.toLowerCase().indexOf(e.value.toLowerCase())&&t.setAttribute(hidden,!0)})}else d.forEach(e>c(e))};d.forEach(e>e.addEventListener(keyup,()>c(e)));const a(e,t,n!0)>{const on?e.querySelectorAll(option:not(hidden):not(disabled)):e.selectedOptions;t.insertAdjacentHTML(beforeend,...o.map(e>(e.remove(),e.outerHTML)).join()),s,r.forEach(e>{e.innerHTML...e.options.sort((e,t)>e.dataset.index-t.dataset.index).map(e>e.outerHTML).join()}),m()};s.addEventListener(change,()>a(s,r,!1)),r.addEventListener(change,()>a(r,s,!1));const ue>{e?a(s,r,!0):a(r,s,!0),c()};i.addEventListener(click,e>{e.target.closest(.move-all)&&u(!0),e.target.closest(.remove-all)&&u(!1)});const m()>{const t...e.selectedOptions.map(e>e.dataset.index),n...r.options.map(e>e.dataset.index);t.join()!n.join()&&(e.querySelectorAll(option).forEach(e>{n.includes(e.dataset.index)?e.selected!0:e.selected!1}),e.dispatchEvent(new Event(change)))}}/script>script srcplugins/slugify/slugify.min.js>/script>!--script srcplugins/select2_4013/js/select2.full.js>/script>-->!--script srcplugins/select_2/package/dist/js/select2.full.js>/script>-->script srcplugins/new_select2/js/select2.js>/script>script srcplugins/bootstrap-select/bootstrap-select.min.js>/script>script srcplugins/chart.js/Chart.min.js>/script>div classsidebar-backdrop idsidebarBackdrop data-togglesidebar>/div>script srcdist/js/settings.min.js>/script>button styleposition:fixed;top:156px;right:-.25rem;z-index:1029 typebutton classbtn has-icon btn-light shadow data-togglemodal data-target#settingModal>i classmaterial-icons>settings/i>/button>!-- Incluyendo todos los mdales que se crean en la vista MODALS -->style> .image_area { position: relative; } img { display: block; max-width: 100%; } .preview { overflow: hidden; width: 160px; height: 160px; margin: 10px; border: 1px solid red; } .modal-lg{ max-width: 1000px !important; } .overlay { position: absolute; bottom: 10px; left: 0; right: 0; background-color: rgba(255, 255, 255, 0.5); overflow: hidden; height: 0; transition: .5s ease; width: 100%; } .image_area:hover .overlay { height: 50%; cursor: pointer; } .text { color: #333; font-size: 20px; position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); transform: translate(-50%, -50%); text-align: center; }/style>!-- ********************** POPOPS TABLE ********************************** -->div classbootbox modal bootbox-alert fade idmdlPrograms tabindex-1 roledialog aria-modaltrue stylepadding-right: 9px; display: none;> div classmodal-dialog modal-sm> div classmodal-content> div classmodal-body> div classbootbox-body idcontModalPrograms> section> ul classlist-group list-group-example idlstPrograms> li classlist-group-item has-icon>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-check-circle text-success mr-2>path dM22 11.08V12a10 10 0 1 1-5.93-9.14>/path>polyline points22 4 12 14.01 9 11.01>/polyline>/svg>strong>Intensivo/strong>/li> li classlist-group-item has-icon>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-check-circle text-success mr-2>path dM22 11.08V12a10 10 0 1 1-5.93-9.14>/path>polyline points22 4 12 14.01 9 11.01>/polyline>/svg>strong>Semi intensivo /strong>/li> li classlist-group-item has-icon>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-check-circle text-success mr-2>path dM22 11.08V12a10 10 0 1 1-5.93-9.14>/path>polyline points22 4 12 14.01 9 11.01>/polyline>/svg>strong>Regular /strong>/li> li classlist-group-item has-icon>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-check-circle text-success mr-2>path dM22 11.08V12a10 10 0 1 1-5.93-9.14>/path>polyline points22 4 12 14.01 9 11.01>/polyline>/svg>strong>Privado /strong>/li> li classlist-group-item has-icon>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-check-circle text-success mr-2>path dM22 11.08V12a10 10 0 1 1-5.93-9.14>/path>polyline points22 4 12 14.01 9 11.01>/polyline>/svg>strong>Sabatino /strong>/li> /ul> /section> /div> /div> div classmodal-footer> button typebutton classbtn btn-primary bootbox-accept namebtnCerrarPrograms>OK/button> /div> /div> /div>/div>!-- ********************** END POPOPS TABLE ****************************** -->div classsidebar-backdrop idsidebarBackdrop data-togglesidebar>/div>button styleposition:fixed;top:156px;right:-.25rem;z-index:1029 typebutton classbtn has-icon btn-light shadow data-togglemodal data-target#settingModal>i classmaterial-icons>settings/i>/button>div classmodal fade modal-content-right idsettingModal tabindex-1 roledialog aria-labelledbysettingModalLabel aria-hiddentrue> div classmodal-dialog modal-sm roledocument stylemax-width:270px> div classmodal-content> div classmodal-header bg-dark text-white shadow-none> h6 classmodal-title idsettingModalLabel>Settings/h6> button typebutton classclose data-dismissmodal aria-labelClose> span aria-hiddentrue>×/span> /button> /div> div classmodal-body> small classd-block text-secondary>Navigation theme/small> div classcustom-color custom-color-lg mt-2> div classcolor-item> input typeradio namenavigation-theme value../../css/sidebar-gray.min.css idnavigation-theme-gray classcustom-control-input checked> label classrounded-circle fornavigation-theme-gray stylebackground-color:#37474f>/label> /div> div classcolor-item> input typeradio namenavigation-theme value../../css/sidebar-blue.min.css idnavigation-theme-blue classcustom-control-input> label classrounded-circle fornavigation-theme-blue stylebackground-color:#2b579a>/label> /div> div classcolor-item> input typeradio namenavigation-theme value../../css/sidebar-cyan.min.css idnavigation-theme-cyan classcustom-control-input> label classrounded-circle fornavigation-theme-cyan stylebackground-color:#006064>/label> /div> div classcolor-item> input typeradio namenavigation-theme value../../css/sidebar-green.min.css idnavigation-theme-green classcustom-control-input> label classrounded-circle fornavigation-theme-green stylebackground-color:#217346>/label> /div> div classcolor-item> input typeradio namenavigation-theme value../../css/sidebar-pink.min.css idnavigation-theme-pink classcustom-control-input> label classrounded-circle fornavigation-theme-pink stylebackground-color:#ad1457>/label> /div> div classcolor-item> input typeradio namenavigation-theme value../../css/sidebar-purple.min.css idnavigation-theme-purple classcustom-control-input> label classrounded-circle fornavigation-theme-purple stylebackground-color:#7151c8>/label> /div> div classcolor-item> input typeradio namenavigation-theme value../../css/sidebar-red.min.css idnavigation-theme-red classcustom-control-input> label classrounded-circle fornavigation-theme-red stylebackground-color:#b7472a>/label> /div> div classcolor-item> input typeradio namenavigation-theme value../../css/sidebar-dark.min.css idnavigation-theme-dark classcustom-control-input> label classrounded-circle fornavigation-theme-dark stylebackground-color:#272822>/label> /div> div classcolor-item color-item-light> input typeradio namenavigation-theme value../../css/sidebar-white.min.css idnavigation-theme-white classcustom-control-input> label classrounded-circle fornavigation-theme-white stylebackground-color:#fff>/label> /div> div classcolor-item> input typeradio namenavigation-theme value../../css/sidebar-royal.min.css idnavigation-theme-royal classcustom-control-input> label classrounded-circle fornavigation-theme-royal stylebackground-color:#243b55>/label> /div> div classcolor-item> input typeradio namenavigation-theme value../../css/sidebar-ash.min.css idnavigation-theme-ash classcustom-control-input> label classrounded-circle fornavigation-theme-ash stylebackground-color:#606c88>/label> /div> div classcolor-item> input typeradio namenavigation-theme value../../css/sidebar-crimson.min.css idnavigation-theme-crimson classcustom-control-input> label classrounded-circle fornavigation-theme-crimson stylebackground-color:#573662>/label> /div> div classcolor-item> input typeradio namenavigation-theme value../../css/sidebar-namn.min.css idnavigation-theme-namn classcustom-control-input> label classrounded-circle fornavigation-theme-namn stylebackground-color:#9b3333>/label> /div> div classcolor-item> input typeradio namenavigation-theme value../../css/sidebar-frost.min.css idnavigation-theme-frost classcustom-control-input> label classrounded-circle fornavigation-theme-frost stylebackground-color:#00275a>/label> /div> /div> small classd-block text-secondary mt-4 mb-2>Font family/small> div classbtn-group-toggle btn-group-sm data-togglebuttons> label classbtn btn-light active> input typeradio namefont-family-theme value../../../font/inter/inter.min.css data-css checked> Inter /label> label classbtn btn-light> input typeradio namefont-family-theme value../../../font/roboto/roboto.min.css data-css../../css/font-family-roboto.min.css> Roboto /label> /div> /div> /div> /div>/div>!-- MODALS -->!-- Modal Comienzo -->div classbootbox modal fade idmodalConfirma tabindex-1 roledialog aria-labelledbyexampleModalCenterTitle aria-hiddentrue> div classmodal-dialog> div classmodal-content> div classmodal-header> h5 classmodal-title>¡ATENCIÓN!/h5> /div> div classmodal-body> div classbootbox-body idcontenido> /div> /div> div classmodal-footer> button typebutton classbtn btn-danger bootbox-cancel idbtnCancelar>Cancelar!/button> button typebutton classbtn btn-warning idbtnEsperar>Esperar/button> button typebutton classbtn btn-info bootbox-accept idbtnComenzar>Comenzar el seguimiento/button> /div> /div> /div>/div>!-- Modal START SEGUIMIENTO -->div classmodal fade idmodalSeguimiento1 tabindex-1 roledialog aria-labelledbyexampleModalCenterTitle aria-hiddentrue> div classmodal-dialog modal-lg roledocument> div classmodal-content> div classmodal-header bg-dark text-white shadow-none> h6 classmodal-title idlgModalLabel>Comienza el proceso de seguimiento/h6> button typebutton classclose data-dismissmodal aria-labelClose> span aria-hiddentrue>×/span> /button> /div> div classmodal-body> div classbootbox-body idcontenido> div classcard> div classcard-body> form> div classform-group row no-gutters> label forfirstNameLeft classcol-3 col-sm-2 col-form-label>Nombre/label> div classcol> input typetext classform-control idnombreContacto placeholder disabled> /div> /div> div classform-group row no-gutters> label forlastNameLeft classcol-3 col-sm-2 col-form-label>Correo/label> div classcol> span classinput-icon> i classmaterial-icons>mail_outline/i> input typetext classform-control placeholderInput icon idcorreoContacto disabled> /span> /div> /div> div classform-group row no-gutters> label forlastNameLeft classcol-3 col-sm-2 col-form-label>Telefono/label> div classcol> span classinput-icon> i classmaterial-icons>perm_phone_msg/i> input typetext classform-control placeholderInput icon idtelefonoContacto disabled> /span> /div> /div> div classform-group row no-gutters> label foraddressLeft classcol-3 col-sm-2 col-form-label>Notificación/label> div classcol> div classfloating-label input-icon mt-3> i classfa fa-edit>/i> textarea classform-control autosize idnotifContacto placeholderTextarea styleoverflow: hidden; overflow-wrap: break-word; resize: none; height: 74px;>/textarea> label forfloatingTextareaIconAutosize>Interacción con el contacto/label> /div> /div> /div> div classform-group row no-gutters> label forlastNameLeft classcol-3 col-sm-2 col-form-label>Próximo contacto/label> div classrow> div classcol-lg-4> span classinput-icon> svg data-toggletooltip data-placementtop title data-original-titleFecha de nacimiento xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-calendar>rect x3 y4 width18 height18 rx2 ry2>/rect>line x116 y12 x216 y26>/line>line x18 y12 x28 y26>/line>line x13 y110 x221 y210>/line>/svg> input typedate classform-control placeholderFecha de nacimiento nameproxFecha idproxFecha> /span> /div> div classcol-lg-4> span classinput-icon input-icon-right> select idcboHr classform-control custom-select required> option selected value0>Horario de interés/option> option value1>00:00 - 01:00/option>option value2>00:30 - 01:30/option>option value3>01:00 - 02:00/option>option value4>01:30 - 02:30/option>option value5>02:00 - 03:00/option>option value6>02:30 - 03:30/option>option value7>03:00 - 04:00/option>option value8>03:30 - 04:30/option>option value9>04:00 - 05:00/option>option value10>04:30 - 05:30/option>option value11>05:00 - 06:00/option>option value12>05:30 - 06:30/option>option value13>06:00 - 07:00/option>option value14>06:30 - 07:30/option>option value15>07:00 - 08:00/option>option value16>07:30 - 08:30/option>option value17>08:00 - 09:00/option>option value18>08:30 - 09:30/option>option value19>09:00 - 10:00/option>option value20>09:30 - 10:30/option>option value21>10:00 - 11:00/option>option value22>10:30 - 11:30/option>option value23>11:00 - 12:00/option>option value24>11:30 - 12:30/option>option value25>12:00 - 13:00/option>option value26>12:30 - 13:30/option>option value27>13:00 - 14:00/option>option value28>13:30 - 14:30/option>option value29>14:00 - 15:00/option>option value30>14:30 - 15:30/option>option value31>15:00 - 16:00/option>option value32>15:30 - 16:30/option>option value33>16:00 - 17:00/option>option value34>16:30 - 17:30/option>option value35>17:00 - 18:00/option>option value36>17:30 - 18:30/option>option value37>18:00 - 19:00/option>option value38>18:30 - 19:30/option>option value39>19:00 - 20:00/option>option value40>19:30 - 20:30/option>option value41>20:00 - 21:00/option>option value42>20:30 - 21:30/option>option value43>21:00 - 22:00/option>option value44>21:30 - 22:30/option>option value45>22:00 - 23:00/option>option value46>22:30 - 23:30/option>option value47>23:00 - 00:00/option>option value48>23:30 - 00:30/option>/select> /span> /div> div classcol-lg-4> span classinput-icon input-icon-right> select idcboMetCont classform-control custom-select required> option selected value0 disabled>Método de contacto/option> option value1>00:00 - 01:00/option>option value2>00:30 - 01:30/option>option value3>01:00 - 02:00/option>option value4>01:30 - 02:30/option>option value5>02:00 - 03:00/option>option value6>02:30 - 03:30/option>option value7>03:00 - 04:00/option>option value8>03:30 - 04:30/option>option value9>04:00 - 05:00/option>option value10>04:30 - 05:30/option>option value11>05:00 - 06:00/option>option value12>05:30 - 06:30/option>option value13>06:00 - 07:00/option>option value14>06:30 - 07:30/option>option value15>07:00 - 08:00/option>option value16>07:30 - 08:30/option>option value17>08:00 - 09:00/option>option value18>08:30 - 09:30/option>option value19>09:00 - 10:00/option>option value20>09:30 - 10:30/option>option value21>10:00 - 11:00/option>option value22>10:30 - 11:30/option>option value23>11:00 - 12:00/option>option value24>11:30 - 12:30/option>option value25>12:00 - 13:00/option>option value26>12:30 - 13:30/option>option value27>13:00 - 14:00/option>option value28>13:30 - 14:30/option>option value29>14:00 - 15:00/option>option value30>14:30 - 15:30/option>option value31>15:00 - 16:00/option>option value32>15:30 - 16:30/option>option value33>16:00 - 17:00/option>option value34>16:30 - 17:30/option>option value35>17:00 - 18:00/option>option value36>17:30 - 18:30/option>option value37>18:00 - 19:00/option>option value38>18:30 - 19:30/option>option value39>19:00 - 20:00/option>option value40>19:30 - 20:30/option>option value41>20:00 - 21:00/option>option value42>20:30 - 21:30/option>option value43>21:00 - 22:00/option>option value44>21:30 - 22:30/option>option value45>22:00 - 23:00/option>option value46>22:30 - 23:30/option>option value47>23:00 - 00:00/option>option value48>23:30 - 00:30/option> /select> /span> /div> /div> /div> div classform-group row no-gutters> label foraddressLeft classcol-3 col-sm-2 col-form-label>Resolución/label> div classcol> div classfloating-label input-icon mt-3> i classfa fa-thumbs-up>/i> textarea classform-control autosize idresolContacto placeholderTextarea styleoverflow: hidden; overflow-wrap: break-word; resize: none; height: 74px;>/textarea> label forfloatingTextareaIconAutosize>Resolución del seguimiento/label> /div> /div> /div> !-- div classform-group row no-gutters stylebackground: #add334;> label forlastNameLeft classcol-3 col-sm-2 col-form-label>Próximo contacto/label> div classcol-sm-10> span classinput-icon> svg data-toggletooltip data-placementtop title data-original-titleFecha de nacimiento xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-calendar>rect x3 y4 width18 height18 rx2 ry2>/rect>line x116 y12 x216 y26>/line>line x18 y12 x28 y26>/line>line x13 y110 x221 y210>/line>/svg> input typedate classform-control placeholderFecha de nacimiento nameproxFecha idproxFecha> /span> /div> /div> --> !-- div classrow no-gutters> div classcol offset-3 offset-sm-2> sdfgsdsgsdgsdg /div> /div> --> /form> /div> /div> /div> /div> div classmodal-footer> button typebutton classbtn btn-danger bootbox-cancel idbtnCancelarS>Cancelar!/button> button typebutton classbtn btn-warning idbtnEsperarS>Abrir venta/button> button typebutton classbtn btn-info bootbox-accept idbtnComenzarS>Agregar interacción/button> /div> /div> /div>/div>!-- Modal ADD SEGUIMIENTO EN PROCESO -->div classmodal fade idmodalSeguimiento2 tabindex-1 roledialog aria-labelledbyexampleModalCenterTitle aria-hiddentrue styleoverflow-y: scroll; padding-right: 9px;> div classmodal-dialog modal-lg roledocument> div classmodal-content> div classmodal-header bg-dark text-white shadow-none> h6 classmodal-title idlgModalLabel>Follow up/h6> button typebutton classclose data-dismissmodal aria-labelClose> span aria-hiddentrue>×/span> /button> /div> div classmodal-body> div classbootbox-body idcontenido> div classcard> div classcard-body> form> div classform-group row no-gutters> label forfirstNameLeft classcol-3 col-sm-2 col-form-label>Nombre/label> div classcol> input typetext classform-control idnombreContactoP placeholder disabled> /div> /div> div classform-group row no-gutters> label forlastNameLeft classcol-3 col-sm-2 col-form-label>Correo/label> div classcol> span classinput-icon> i classmaterial-icons>mail_outline/i> input typetext classform-control placeholderInput icon idcorreoContactoP disabled> /span> /div> /div> div classform-group row no-gutters> label forlastNameLeft classcol-3 col-sm-2 col-form-label>Telefono/label> div classcol> span classinput-icon> i classmaterial-icons>perm_phone_msg/i> input typetext classform-control placeholderInput icon idtelefonoContactoP disabled> /span> /div> /div> div classform-group row no-gutters> label foraddressLeft classcol-3 col-sm-2 col-form-label>Notificación/label> div classcol> div classfloating-label input-icon mt-3> i classfa fa-edit>/i> textarea classform-control autosize idnotifContactoP placeholderTextarea styleoverflow: hidden; overflow-wrap: break-word; resize: none; height: 74px;>/textarea> label forfloatingTextareaIconAutosize>Interacción con el contacto/label> /div> /div> /div> div classform-group row no-gutters> label forlastNameLeft classcol-3 col-sm-2 col-form-label>Próximo contacto/label> div classrow> div classcol-lg-4> span classinput-icon> svg data-toggletooltip data-placementtop title data-original-titleFecha de nacimiento xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-calendar>rect x3 y4 width18 height18 rx2 ry2>/rect>line x116 y12 x216 y26>/line>line x18 y12 x28 y26>/line>line x13 y110 x221 y210>/line>/svg> input typedate classform-control placeholderFecha de nacimiento nameproxFechaP idproxFechaP> /span> /div> div classcol-lg-4> span classinput-icon input-icon-right> select idcboHrP classform-control custom-select required> option selected value0>Horario de interés/option> option value1>00:00 - 01:00/option>option value2>00:30 - 01:30/option>option value3>01:00 - 02:00/option>option value4>01:30 - 02:30/option>option value5>02:00 - 03:00/option>option value6>02:30 - 03:30/option>option value7>03:00 - 04:00/option>option value8>03:30 - 04:30/option>option value9>04:00 - 05:00/option>option value10>04:30 - 05:30/option>option value11>05:00 - 06:00/option>option value12>05:30 - 06:30/option>option value13>06:00 - 07:00/option>option value14>06:30 - 07:30/option>option value15>07:00 - 08:00/option>option value16>07:30 - 08:30/option>option value17>08:00 - 09:00/option>option value18>08:30 - 09:30/option>option value19>09:00 - 10:00/option>option value20>09:30 - 10:30/option>option value21>10:00 - 11:00/option>option value22>10:30 - 11:30/option>option value23>11:00 - 12:00/option>option value24>11:30 - 12:30/option>option value25>12:00 - 13:00/option>option value26>12:30 - 13:30/option>option value27>13:00 - 14:00/option>option value28>13:30 - 14:30/option>option value29>14:00 - 15:00/option>option value30>14:30 - 15:30/option>option value31>15:00 - 16:00/option>option value32>15:30 - 16:30/option>option value33>16:00 - 17:00/option>option value34>16:30 - 17:30/option>option value35>17:00 - 18:00/option>option value36>17:30 - 18:30/option>option value37>18:00 - 19:00/option>option value38>18:30 - 19:30/option>option value39>19:00 - 20:00/option>option value40>19:30 - 20:30/option>option value41>20:00 - 21:00/option>option value42>20:30 - 21:30/option>option value43>21:00 - 22:00/option>option value44>21:30 - 22:30/option>option value45>22:00 - 23:00/option>option value46>22:30 - 23:30/option>option value47>23:00 - 00:00/option>option value48>23:30 - 00:30/option>/select> /span> /div> div classcol-lg-4> span classinput-icon input-icon-right> select idcboMetContP classform-control custom-select required> option selected value0 disabled>Método de contacto/option> option value1>00:00 - 01:00/option>option value2>00:30 - 01:30/option>option value3>01:00 - 02:00/option>option value4>01:30 - 02:30/option>option value5>02:00 - 03:00/option>option value6>02:30 - 03:30/option>option value7>03:00 - 04:00/option>option value8>03:30 - 04:30/option>option value9>04:00 - 05:00/option>option value10>04:30 - 05:30/option>option value11>05:00 - 06:00/option>option value12>05:30 - 06:30/option>option value13>06:00 - 07:00/option>option value14>06:30 - 07:30/option>option value15>07:00 - 08:00/option>option value16>07:30 - 08:30/option>option value17>08:00 - 09:00/option>option value18>08:30 - 09:30/option>option value19>09:00 - 10:00/option>option value20>09:30 - 10:30/option>option value21>10:00 - 11:00/option>option value22>10:30 - 11:30/option>option value23>11:00 - 12:00/option>option value24>11:30 - 12:30/option>option value25>12:00 - 13:00/option>option value26>12:30 - 13:30/option>option value27>13:00 - 14:00/option>option value28>13:30 - 14:30/option>option value29>14:00 - 15:00/option>option value30>14:30 - 15:30/option>option value31>15:00 - 16:00/option>option value32>15:30 - 16:30/option>option value33>16:00 - 17:00/option>option value34>16:30 - 17:30/option>option value35>17:00 - 18:00/option>option value36>17:30 - 18:30/option>option value37>18:00 - 19:00/option>option value38>18:30 - 19:30/option>option value39>19:00 - 20:00/option>option value40>19:30 - 20:30/option>option value41>20:00 - 21:00/option>option value42>20:30 - 21:30/option>option value43>21:00 - 22:00/option>option value44>21:30 - 22:30/option>option value45>22:00 - 23:00/option>option value46>22:30 - 23:30/option>option value47>23:00 - 00:00/option>option value48>23:30 - 00:30/option> /select> /span> /div> /div> /div> div classform-group row no-gutters> label foraddressLeft classcol-3 col-sm-2 col-form-label>Resolución/label> div classcol-lg-6> div classfloating-label input-icon mt-3> i classfa fa-thumbs-up>/i> textarea classform-control autosize idresolContactoP placeholderTextarea styleoverflow: hidden; overflow-wrap: break-word; resize: none; height: 74px;>/textarea> label forfloatingTextareaIconAutosize>Resolución del seguimiento/label> /div> /div> /div> div classrow no-gutters> div classcol offset-3 offset-sm-2> button classbtn btn-primary typebutton data-togglecollapse data-target#regHistory2 aria-expandedtrue aria-controlsregHistory2> Historial de interacciones /button> div classcard h-100 shadow-none bg-gray-300 collapse idregHistory2 style> div classcard-body idcontH>h6 classd-flex align-items-center mb-3>i classmaterial-icons text-danger mr-2>history/i>Historial de contacto/h6>div classtimeline timeline-left font-size-sm>div classtimeline-container left>div classpopover bs-popover-right popover-static>div classarrow>/div>div classpopover-body text-muted>a href# classtext-body>span idnombreCH>Villanueva Valeria /span>/a>Comienzo del seguimientodiv classsmall idfechaAccion>Hace 11 días/div>/div>/div>/div>br>/div>div classtimeline timeline-left font-size-sm>div classtimeline-container left>div classpopover bs-popover-right popover-static>div classarrow>/div>div classpopover-body text-muted>a href# classtext-body>span idnombreCH>Villanueva Valeria /span>/a>zdfasfasdfdiv classsmall idfechaAccion>Hace 11 días/div>/div>/div>/div>br>/div>/div> /div> /div> /div> /form> /div> /div> /div> /div> div classmodal-footer> button typebutton classbtn btn-danger bootbox-cancel idbtnCancelarP>Cancelar/button> !-- button typebutton classbtn btn-warning idbtnAbrirVentaP>Abrir venta/button> --> button typebutton classbtn btn-info bootbox-accept idbtnComenzarP>Agregar notificación/button> /div> /div> /div>/div>!-- Modal ADD SEGUIMIENTO EN PENDIENTE >>>>>>>>>>>>>>>>>>>>>>>>>> -->div classmodal fade idmodalSeguimientoPending tabindex-1 roledialog aria-labelledbyexampleModalCenterTitle aria-hiddentrue styleoverflow-y: scroll; padding-right: 9px;> div classmodal-dialog modal-lg roledocument> div classmodal-content> div classmodal-header bg-dark text-white shadow-none> h6 classmodal-title idlgModalLabelPending>Follow up/h6> button typebutton classclose data-dismissmodal aria-labelClose> span aria-hiddentrue>×/span> /button> /div> div classmodal-body> div classbootbox-body idcontenidoPending> div classcard> div classcard-body> form> div classform-group row no-gutters> label forfirstNameLeft classcol-3 col-sm-2 col-form-label>Nombre/label> div classcol> input typetext classform-control idnombreContactoPending placeholder disabled> /div> /div> div classform-group row no-gutters> label forlastNameLeft classcol-3 col-sm-2 col-form-label>Correo/label> div classcol> span classinput-icon> i classmaterial-icons>mail_outline/i> input typetext classform-control placeholderInput icon idcorreoContactoPending disabled> /span> /div> /div> div classform-group row no-gutters> label forlastNameLeft classcol-3 col-sm-2 col-form-label>Telefono/label> div classcol> span classinput-icon> i classmaterial-icons>perm_phone_msg/i> input typetext classform-control placeholderInput icon idtelefonoContactoPending disabled> /span> /div> /div> div classform-group row no-gutters> label foraddressLeft classcol-3 col-sm-2 col-form-label>Notificación/label> div classcol> div classfloating-label input-icon mt-3> i classfa fa-edit>/i> textarea classform-control autosize idnotifContactoPending placeholderTextarea styleoverflow: hidden; overflow-wrap: break-word; resize: none; height: 74px;>/textarea> label forfloatingTextareaIconAutosize>Interacción con el contacto/label> /div> /div> /div> div classform-group row no-gutters> label forlastNameLeft classcol-3 col-sm-2 col-form-label>Próximo contacto/label> div classrow> div classcol-lg-4> span classinput-icon> svg data-toggletooltip data-placementtop title data-original-titleFecha de nacimiento xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-calendar>rect x3 y4 width18 height18 rx2 ry2>/rect>line x116 y12 x216 y26>/line>line x18 y12 x28 y26>/line>line x13 y110 x221 y210>/line>/svg> input typedate classform-control placeholderFecha de nacimiento nameproxFechaPending idproxFechaPending> /span> /div> div classcol-lg-4> span classinput-icon input-icon-right> select idcboHrPending classform-control custom-select required> option selected value0>Horario de interés/option> option value1>00:00 - 01:00/option>option value2>00:30 - 01:30/option>option value3>01:00 - 02:00/option>option value4>01:30 - 02:30/option>option value5>02:00 - 03:00/option>option value6>02:30 - 03:30/option>option value7>03:00 - 04:00/option>option value8>03:30 - 04:30/option>option value9>04:00 - 05:00/option>option value10>04:30 - 05:30/option>option value11>05:00 - 06:00/option>option value12>05:30 - 06:30/option>option value13>06:00 - 07:00/option>option value14>06:30 - 07:30/option>option value15>07:00 - 08:00/option>option value16>07:30 - 08:30/option>option value17>08:00 - 09:00/option>option value18>08:30 - 09:30/option>option value19>09:00 - 10:00/option>option value20>09:30 - 10:30/option>option value21>10:00 - 11:00/option>option value22>10:30 - 11:30/option>option value23>11:00 - 12:00/option>option value24>11:30 - 12:30/option>option value25>12:00 - 13:00/option>option value26>12:30 - 13:30/option>option value27>13:00 - 14:00/option>option value28>13:30 - 14:30/option>option value29>14:00 - 15:00/option>option value30>14:30 - 15:30/option>option value31>15:00 - 16:00/option>option value32>15:30 - 16:30/option>option value33>16:00 - 17:00/option>option value34>16:30 - 17:30/option>option value35>17:00 - 18:00/option>option value36>17:30 - 18:30/option>option value37>18:00 - 19:00/option>option value38>18:30 - 19:30/option>option value39>19:00 - 20:00/option>option value40>19:30 - 20:30/option>option value41>20:00 - 21:00/option>option value42>20:30 - 21:30/option>option value43>21:00 - 22:00/option>option value44>21:30 - 22:30/option>option value45>22:00 - 23:00/option>option value46>22:30 - 23:30/option>option value47>23:00 - 00:00/option>option value48>23:30 - 00:30/option>/select> /span> /div> div classcol-lg-4> span classinput-icon input-icon-right> select idcboMetContPending classform-control custom-select required> option selected value0 disabled>Método de contacto/option> option value1>00:00 - 01:00/option>option value2>00:30 - 01:30/option>option value3>01:00 - 02:00/option>option value4>01:30 - 02:30/option>option value5>02:00 - 03:00/option>option value6>02:30 - 03:30/option>option value7>03:00 - 04:00/option>option value8>03:30 - 04:30/option>option value9>04:00 - 05:00/option>option value10>04:30 - 05:30/option>option value11>05:00 - 06:00/option>option value12>05:30 - 06:30/option>option value13>06:00 - 07:00/option>option value14>06:30 - 07:30/option>option value15>07:00 - 08:00/option>option value16>07:30 - 08:30/option>option value17>08:00 - 09:00/option>option value18>08:30 - 09:30/option>option value19>09:00 - 10:00/option>option value20>09:30 - 10:30/option>option value21>10:00 - 11:00/option>option value22>10:30 - 11:30/option>option value23>11:00 - 12:00/option>option value24>11:30 - 12:30/option>option value25>12:00 - 13:00/option>option value26>12:30 - 13:30/option>option value27>13:00 - 14:00/option>option value28>13:30 - 14:30/option>option value29>14:00 - 15:00/option>option value30>14:30 - 15:30/option>option value31>15:00 - 16:00/option>option value32>15:30 - 16:30/option>option value33>16:00 - 17:00/option>option value34>16:30 - 17:30/option>option value35>17:00 - 18:00/option>option value36>17:30 - 18:30/option>option value37>18:00 - 19:00/option>option value38>18:30 - 19:30/option>option value39>19:00 - 20:00/option>option value40>19:30 - 20:30/option>option value41>20:00 - 21:00/option>option value42>20:30 - 21:30/option>option value43>21:00 - 22:00/option>option value44>21:30 - 22:30/option>option value45>22:00 - 23:00/option>option value46>22:30 - 23:30/option>option value47>23:00 - 00:00/option>option value48>23:30 - 00:30/option> /select> /span> /div> /div> /div> div classform-group row no-gutters> label foraddressLeft classcol-3 col-sm-2 col-form-label>Resolución/label> div classcol-lg-6> div classfloating-label input-icon mt-3> i classfa fa-thumbs-up>/i> textarea classform-control autosize idresolContactoPending placeholderTextarea styleoverflow: hidden; overflow-wrap: break-word; resize: none; height: 74px;>/textarea> label forfloatingTextareaIconAutosize>Resolución del seguimiento/label> /div> /div> /div> div classrow no-gutters> div classcol offset-3 offset-sm-2> button classbtn btn-primary typebutton data-togglecollapse data-target#regHistoryPending aria-expandedtrue aria-controlsregHistoryPending> Historial de interacciones /button> div classcard h-100 shadow-none bg-gray-300 collapse idregHistoryPending style> div classcard-body idcontHPending>h6 classd-flex align-items-center mb-3>i classmaterial-icons text-danger mr-2>history/i>Historial de contacto/h6>div classtimeline timeline-left font-size-sm>div classtimeline-container left>div classpopover bs-popover-right popover-static>div classarrow>/div>div classpopover-body text-muted>a href# classtext-body>span idnombreCH>Villanueva Valeria /span>/a>Comienzo del seguimientodiv classsmall idfechaAccion>Hace 11 días/div>/div>/div>/div>br>/div>div classtimeline timeline-left font-size-sm>div classtimeline-container left>div classpopover bs-popover-right popover-static>div classarrow>/div>div classpopover-body text-muted>a href# classtext-body>span idnombreCH>Villanueva Valeria /span>/a>zdfasfasdfdiv classsmall idfechaAccion>Hace 11 días/div>/div>/div>/div>br>/div>/div> /div> /div> /div> /form> /div> /div> /div> /div> div classmodal-footer> button typebutton classbtn btn-danger bootbox-cancel idbtnCancelarPending>Cancelar/button> !-- button typebutton classbtn btn-warning idbtnAbrirVentaPending>Abrir venta/button> --> button typebutton classbtn btn-info bootbox-accept idbtnComenzarPending>Agregar notificación/button> /div> /div> /div>/div> !-- FIN DE MODAL DE SEGUIMIENTO EN PENDIENTE -->!-- MODAL INFO DE COINTACTO LEAD -->div classbootbox modal fade idmodalInfoLead tabindex-1 roledialog aria-labelledbyexampleModalCenterTitle aria-hiddentrue> div classmodal-dialog> div classmodal-content> div classmodal-header> h5 classmodal-title>¡ATENCIÓN!/h5> /div> div classmodal-body> div classbootbox-body idcontenidoLeadC> p idlblLeadC>/p> /div> /div> div classmodal-footer> button typebutton classbtn btn-danger bootbox-cancel idbtnCancelarLeadC>Cancelar!/button> button typebutton classbtn btn-warning idbtnEsperar>Esperar/button> button typebutton classbtn btn-info bootbox-accept idbtnComenzarLeadC>Comenzar el seguimiento/button> /div> /div> /div>/div>!-- MODAL INFO DE COINTACTO LEAD -->div classbootbox modal fade idmodalInfoOpen tabindex-1 roledialog aria-labelledbyexampleModalCenterTitle aria-hiddentrue> div classmodal-dialog> div classmodal-content> div classmodal-header> h5 classmodal-title>¡ATENCIÓN!/h5> /div> div classmodal-body> div classbootbox-body idcontenidoOpenC> p idlblOpenC>/p> /div> /div> div classmodal-footer> button typebutton classbtn btn-danger bootbox-cancel idbtnCancelarOpenC>Cancelar!/button> button typebutton classbtn btn-info bootbox-accept idbtnComenzarOpenC>Comenzar el seguimiento/button> /div> /div> /div>/div>!-- ************************************************************************************************************************ -->!-- MODAL DE DETALLE DE CONTACTO EN OPEN -->!-- ************************************************************************************************************************ -->div classmodal fade show idmodalDetailO tabindex-1 roledialog aria-labelledbymodalTitle aria-hiddentrue styleoverflow-y: scroll;> div classmodal-dialog modal-xl roledocument> div classmodal-content> div classmodal-header bg-dark text-white shadow-none> h6 classmodal-title idmodalTitleO>Información del contacto/h6> button typebutton classclose data-dismissmodal aria-labelClose> span aria-hiddentrue>×/span> /button> /div> div classmodal-body> div classrow gutters-sm> div classcol-md-4 mb-3> div classcard> div classcard-body> div classd-flex flex-column align-items-center text-center> div classrounded-circle stylebackground: #718096; color: #fff; height: 100px; width: 100px; text-align: center; font-size: 32px; padding-top: 26px;> label idinitialNO classtext-center>LT/label> /div> div classmt-3> h4 idnombreCO>Kenneth Valdez/h4> p classtext-secondary mb-1 idcorreoCO>Full Stack Developer/p> p classtext-muted font-size-sm>Ciudad: span idciudadConO>/span>/p> div classrow> ul> li styledisplay: inline-block> a href> div classrounded-circle font-size-sm stylebackground: #cbd5e0; color: #34495E; height: 40px; width: 40px; text-align: center; padding-top: 7px;> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-edit>path dM11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7>/path>path dM18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z>/path>/svg> /div> /a> label stylefont-size: 10px;>Nota/label> /li> li styledisplay: inline-block> a href> div classrounded-circle font-size-sm stylebackground: #cbd5e0; color: #34495E; height: 40px; width: 40px; text-align: center; padding-top: 7px;> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-mail>path dM4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z>/path>polyline points22,6 12,13 2,6>/polyline>/svg> /div> /a> label stylefont-size: 10px;>E-mail/label> /li> li styledisplay: inline-block> a href> div classrounded-circle font-size-sm stylebackground: #cbd5e0; color: #34495E; height: 40px; width: 40px; text-align: center; padding-top: 7px;> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-phone>path dM22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z>/path>/svg> /div> /a> label stylefont-size: 10px;>Tels/label> /li> li styledisplay: inline-block> a href> div classrounded-circle font-size-sm stylebackground: #cbd5e0; color: #34495E; height: 40px; width: 40px; text-align: center; padding-top: 7px;> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-info>circle cx12 cy12 r10>/circle>line x112 y116 x212 y212>/line>line x112 y18 x212.01 y28>/line>/svg> /div> /a> label stylefont-size: 10px;>Log/label> /li> li styledisplay: inline-block> a href> div classrounded-circle font-size-sm stylebackground: #cbd5e0; color: #34495E; height: 40px; width: 40px; text-align: center; padding-top: 7px;> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-file-text>path dM14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z>/path>polyline points14 2 14 8 20 8>/polyline>line x116 y113 x28 y213>/line>line x116 y117 x28 y217>/line>polyline points10 9 9 9 8 9>/polyline>/svg> /div> /a> label stylefont-size: 10px;>Historial/label> /li> li styledisplay: inline-block> a href> div classrounded-circle font-size-sm stylebackground: #cbd5e0; color: #34495E; height: 40px; width: 40px; text-align: center; padding-top: 7px;> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-clipboard>path dM16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2>/path>rect x8 y2 width8 height4 rx1 ry1>/rect>/svg> /div> /a> label stylefont-size: 10px;>Pend/label> /li> /ul> /div> !-- button classbtn btn-primary>Follow/button> button classbtn btn-outline-primary>Message/button> --> /div> /div> /div> /div> !-- *********************** ELEMENTOS DETALLADOS COLAPSADOS *************************** --> div classrow> div classcol-md-12 mb-3> div classcard mb-3> !-- Telefonos --> div classcard-header py-1 border-0> h6>Teléfonos/h6> button typebutton data-actioncollapse data-target#card-bodyTO data-togglecollapse aria-expandedtrue classbtn btn-sm btn-text-secondary btn-icon rounded-circle ml-auto>i classmaterial-icons>add/i>/button> /div> div classcollapse idcard-bodyTO style> div classcard-body> ul classlist-group has-icon list-group-borderless idlisTelefonosO> li classlist-group-item has-icon>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-check-circle text-success mr-2>path dM22 11.08V12a10 10 0 1 1-5.93-9.14>/path>polyline points22 4 12 14.01 9 11.01>/polyline>/svg>strong>Retina: 13.3-inch /strong>/li> /ul> /div> /div> /div> div classcard mb-3> !-- Correos --> div classcard-header py-1 border-0> h6>Correos/h6> button typebutton data-actioncollapse data-target#card-bodyCO data-togglecollapse aria-expandedtrue classbtn btn-sm btn-text-secondary btn-icon rounded-circle ml-auto>i classmaterial-icons>add/i>/button> /div> div classcollapse idcard-bodyCO style> div classcard-body> ul classlist-group has-icon list-group-borderless idlistCorreosO> li classlist-group-item has-icon>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-check-circle text-success mr-2>path dM22 11.08V12a10 10 0 1 1-5.93-9.14>/path>polyline points22 4 12 14.01 9 11.01>/polyline>/svg>strong>Retina: 13.3-inch /strong>/li> /ul> /div> /div> /div> div classcard mb-3> !-- Etiquetas --> div classcard-header py-1 border-0> h6>Etiquetas/h6> button typebutton data-actioncollapse data-target#card-bodyEO data-togglecollapse aria-expandedtrue classbtn btn-sm btn-text-secondary btn-icon rounded-circle ml-auto>i classmaterial-icons>add/i>/button> /div> div classcollapse idcard-bodyEO style> div classcard-body> div classtagin-wrapper form-control idcontEtiquetasO> span classtagin-tag>HTMLspan classtagin-tag-remove>/span>/span>span classtagin-tag>CSSspan classtagin-tag-remove>/span>/span> input typetext classtagin-input placeholder stylewidth: 3px;> /div> /div> /div> /div> div classcard mb-3> !-- Entrada de Interacciones --> div classcard-header py-1 border-0> h6>Agregar interacción/h6> button typebutton data-actioncollapse data-target#card-bodyIntOPEN data-togglecollapse aria-expandedtrue classbtn btn-sm btn-text-secondary btn-icon rounded-circle ml-auto>i classmaterial-icons>add/i>/button> /div> div classcollapse idcard-bodyIntOPEN style> div classcard-body> div classform-group row no-gutters> div classcol> div classfloating-label input-icon mt-3> i classfa fa-edit>/i> textarea classform-control autosize idinteraccOPEN placeholderTextarea styleoverflow: hidden; overflow-wrap: break-word; resize: none; height: 74px;>/textarea> label forfloatingTextareaIconAutosize>Interacción con el contacto/label> /div> div classfloating-label input-icon mt-3 styletext-align: right;> button typebutton classbtn btn-info has-icon idaddInteraccion1OPEN> Agregar i classmaterial-icons ml-1>exit_to_app/i> /button> /div> /div> /div> /div> /div> /div> /div> /div> !-- *********************** FIN DE ELEMENTOS DETALLADOS COLAPSADOS *************************** --> /div> !-- BARRA LATERAL IZQUIERA --> !-- +++++++++++++++++++++++++++++++ BARRA LATERAL DERECHA ++++++++++++++++++++++++++++++++++++++++ --> div classcol-md-8> div classcard> div classcard-body> section idsection1O> h5>Datos generales del contacto/h5> p classtext-muted font-size-sm> Estos datos se pueden modificar según se necesite. /p> div classrow> div classcol-md-12> form iddatosCO stylewidth: 100%;> div classrow> div classcol-md-6 mb-3> div classlist-with-gap> span classinput-icon> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-edit-3>path dM12 20h9>/path>path dM16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z>/path>/svg> input typetext classform-control placeholderPrimer nombre namefnO idfnO> /span> span classinput-icon> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-edit-3>path dM12 20h9>/path>path dM16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z>/path>/svg> input typetext classform-control placeholderPrimer apellido nameflO idflO> /span> /div> /div> div classcol-md-6 mb-3> div classlist-with-gap> span classinput-icon> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-edit-3>path dM12 20h9>/path>path dM16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z>/path>/svg> input typetext classform-control placeholderSegundo nombre namesn idsn> /span> span classinput-icon> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-edit-3>path dM12 20h9>/path>path dM16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z>/path>/svg> input typetext classform-control placeholderSegundo apellido nameslO idslO> /span> /div> /div> /div> div classrow> div classcol-md-6 mb-3> div classlist-with-gap> span classinput-icon> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-user>path dM20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2>/path>circle cx12 cy7 r4>/circle>/svg> input typetext classform-control placeholderDNI: namedniO iddniO valueO > /span> span classinput-icon> svg data-toggletooltip data-placementtop title data-original-titleFecha de nacimiento xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-calendar>rect x3 y4 width18 height18 rx2 ry2>/rect>line x116 y12 x216 y26>/line>line x18 y12 x28 y26>/line>line x13 y110 x221 y210>/line>/svg> input typedate classform-control placeholderFecha de nacimiento namebdO idfnacimientoO> /span> label classtext-muted font-size-sm>País de nacimiento/label> span classinput-icon input-icon-right> select idcbopaisNO classform-control custom-select namepaisnO> option selected value0>País de nacimiento.../option> /select> /span> label classtext-muted font-size-sm>País de residencia/label> span classinput-icon input-icon-right> select idcbopaisRO classform-control custom-select namepaisrO> option selected value0>País de residencia.../option> /select> /span> label classtext-muted font-size-sm>Ciudad de residencia/label> span classinput-icon input-icon-right> select idciudadCO classform-control custom-select nameciudadcO> option selected value0>Ciudad de residencia.../option> /select> /span> !-- ELEMENTO CONTENEDOR DE LOS PROGRAMAS ASIGNADOS DE CONTACTO --> label classtext-muted font-size-sm>Programas de interés/label> div classcard-body idProgramLabelsO> div classlist-with-gap idProgramListO stylebackground: #f4f4f4;> !-- button typebutton classfc-event btn btn-sm btn-primary>My event 1/button> button typebutton classfc-event btn btn-sm btn-secondary>My event 2/button> button typebutton classfc-event btn btn-sm btn-success>My event 3/button> button typebutton classfc-event btn btn-sm btn-warning>My event 4/button> button typebutton classfc-event btn btn-sm btn-danger>My event 5/button> button typebutton classfc-event btn btn-sm btn-info>My event 6/button> --> /div> /div> !-- FIN ELEMENTO CONTENEDOR DE LOS PROGRAMAS ASIGNADOS DE CONTACTO --> /div> /div> div classcol-md-6 mb-3> div classlist-with-gap> span classinput-icon> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-map-pin>path dM21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z>/path>circle cx12 cy10 r3>/circle>/svg> textarea classform-control rows2 placeholderDirección iddirO namedirO maxlength100>/textarea> /span> label classtext-muted font-size-sm>Género/label> span classinput-icon input-icon-right> select idgender1O classform-control custom-select namegender1O> option selected value0>Género/option> /select> /span> /div> br>br> div classcard -mt-3> ul classlist-group list-group-flush> li classlist-group-item d-flex justify-content-between align-items-center flex-wrap> h6 classmb-0>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-watch>circle cx12 cy12 r7>/circle>polyline points12 9 12 12 13.5 13.5>/polyline>path dM16.51 17.35l-.35 3.83a2 2 0 0 1-2 1.82H9.83a2 2 0 0 1-2-1.82l-.35-3.83m.01-10.7l.35-3.83A2 2 0 0 1 9.83 1h4.35a2 2 0 0 1 2 1.82l.35 3.83>/path>/svg>Edad/h6> span classtext-secondary idrangoedadCO>/span> /li> li classlist-group-item d-flex justify-content-between align-items-center flex-wrap> h6 classmb-0>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-globe mr-2 icon-inline>circle cx12 cy12 r10>/circle>line x12 y112 x222 y212>/line>path dM12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z>/path>/svg>Origen/h6> span classtext-secondary idorigenCO>/span> /li> li classlist-group-item d-flex justify-content-between align-items-center flex-wrap> h6 classmb-0>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-grid>rect x3 y3 width7 height7>/rect>rect x14 y3 width7 height7>/rect>rect x14 y14 width7 height7>/rect>rect x3 y14 width7 height7>/rect>/svg> Audiencia/h6> span classtext-secondary idaudienciaCO>/span> /li> li classlist-group-item d-flex justify-content-between align-items-center flex-wrap> h6 classmb-0>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-calendar mr-2>rect x3 y4 width18 height18 rx2 ry2>/rect>line x116 y12 x216 y26>/line>line x18 y12 x28 y26>/line>line x13 y110 x221 y210>/line>/svg>Fecha ingreso:/h6> span classtext-secondary idfechaCO>/span> /li> li classlist-group-item d-flex justify-content-between align-items-center flex-wrap> h6 classmb-0>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-clock text-success mr-2>circle cx12 cy12 r10>/circle>polyline points12 6 12 12 16 14>/polyline>/svg>Estátus/h6> span classtext-secondary idestatusCO>/span> /li> li classlist-group-item d-flex justify-content-between align-items-center flex-wrap> h6 classmb-0>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-eye text-danger mr-2>path dM1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z>/path>circle cx12 cy12 r3>/circle>/svg>Formulario/h6> span classtext-secondary idestatus2O>/span> /li> li classlist-group-item d-flex justify-content-between align-items-center flex-wrap> h6 classmb-0>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-map-pin text-primary>path dM21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z>/path>circle cx12 cy10 r3>/circle>/svg> IP/h6> span classtext-secondary iddiripCO>/span> /li> li classlist-group-item d-flex justify-content-between align-items-center flex-wrap> h6 classmb-0>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-users text-info mr-2>path dM17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2>/path>circle cx9 cy7 r4>/circle>path dM23 21v-2a4 4 0 0 0-3-3.87>/path>path dM16 3.13a4 4 0 0 1 0 7.75>/path>/svg>Propietario/h6> span classtext-secondary mr-1 idcambioUSRO>label idnombreAgenteO classmr-1>/label> /span> /li> /ul> /div> /div> /div> !-- FILA DE ELEMENTOS DEL CONTACTO --> /form> !-- FIN DEL FORMULARIO --> /div> /div> /section> section idsection2O> div classrow> div classcol-md-12 mb-3> !-- BOTÓN DEL COLLAPSE PARA EL HISTORIAL --> button classbtn btn-primary typebutton data-togglecollapse data-target#historialCompletO aria-expandedtrue aria-controlshistorialComplet> Ver historial de interacciones /button> !-- FIN BOTÓN DEL COLLAPSE PARA EL HISTORIAL --> div classcard h-100 shadow-none bg-gray-300 collapse fade idhistorialCompletO> div classcard-body idcontHistoryO> h6 classd-flex align-items-center mb-3>i classmaterial-icons text-danger mr-2>history/i>Historial de contacto/h6> /div> /div> /div> /div> /section> /div> /div> /div> !-- FIN BARRA LATERAL DERECHA --> /div> div classbootbox-body idcontenidoO> div classcard> div classcard-body> /div> /div> /div> /div> div classmodal-footer> button typebutton classbtn btn-danger bootbox-cancel idbtnCancelarCO>Cancelar/button> !-- button typebutton classbtn btn-info idbtnAbrirVentaP>Abrir venta/button> --> button typebutton classbtn btn-success bootbox-accept idbtnActualizarCO>Actualizar datos/button> /div> /div> /div>/div>!-- FIN DE DETALLE DE CONTACTO EN OPEN -->!-- ************************************************************************************************************************ -->!-- MODAL DE DETALLE DE CONTACTO PROCESS -->!-- ************************************************************************************************************************ -->div classmodal fade show idmodalDetail tabindex-1 roledialog aria-labelledbymodalTitle aria-hiddentrue styleoverflow-y: scroll;> div classmodal-dialog modal-xl roledocument> div classmodal-content> div classmodal-header bg-dark text-white shadow-none> h6 classmodal-title idmodalTitle>Información del contacto/h6> button typebutton classclose data-dismissmodal aria-labelClose> span aria-hiddentrue>×/span> /button> /div> div classmodal-body> div classrow gutters-sm> div classcol-md-4 mb-3> div classcard> div classcard-body> div classd-flex flex-column align-items-center text-center> div classrounded-circle stylebackground: #718096; color: #fff; height: 100px; width: 100px; text-align: center; font-size: 32px; padding-top: 26px;> label idinitialN classtext-center>LT/label> /div> div classmt-3> h4 idnombreC>Kenneth Valdez/h4> p classtext-secondary mb-1 idcorreoC>Full Stack Developer/p> p classtext-muted font-size-sm>Ciudad: span idciudadCon>/span>/p> div classrow> ul> li styledisplay: inline-block> a href> div classrounded-circle font-size-sm stylebackground: #cbd5e0; color: #34495E; height: 40px; width: 40px; text-align: center; padding-top: 7px;> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-edit>path dM11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7>/path>path dM18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z>/path>/svg> /div> /a> label stylefont-size: 10px;>Nota/label> /li> li styledisplay: inline-block> a href> div classrounded-circle font-size-sm stylebackground: #cbd5e0; color: #34495E; height: 40px; width: 40px; text-align: center; padding-top: 7px;> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-mail>path dM4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z>/path>polyline points22,6 12,13 2,6>/polyline>/svg> /div> /a> label stylefont-size: 10px;>E-mail/label> /li> li styledisplay: inline-block> a href> div classrounded-circle font-size-sm stylebackground: #cbd5e0; color: #34495E; height: 40px; width: 40px; text-align: center; padding-top: 7px;> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-phone>path dM22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z>/path>/svg> /div> /a> label stylefont-size: 10px;>Tels/label> /li> li styledisplay: inline-block> a href> div classrounded-circle font-size-sm stylebackground: #cbd5e0; color: #34495E; height: 40px; width: 40px; text-align: center; padding-top: 7px;> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-info>circle cx12 cy12 r10>/circle>line x112 y116 x212 y212>/line>line x112 y18 x212.01 y28>/line>/svg> /div> /a> label stylefont-size: 10px;>Log/label> /li> li styledisplay: inline-block> a href> div classrounded-circle font-size-sm stylebackground: #cbd5e0; color: #34495E; height: 40px; width: 40px; text-align: center; padding-top: 7px;> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-file-text>path dM14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z>/path>polyline points14 2 14 8 20 8>/polyline>line x116 y113 x28 y213>/line>line x116 y117 x28 y217>/line>polyline points10 9 9 9 8 9>/polyline>/svg> /div> /a> label stylefont-size: 10px;>Historial/label> /li> li styledisplay: inline-block> a href> div classrounded-circle font-size-sm stylebackground: #cbd5e0; color: #34495E; height: 40px; width: 40px; text-align: center; padding-top: 7px;> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-clipboard>path dM16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2>/path>rect x8 y2 width8 height4 rx1 ry1>/rect>/svg> /div> /a> label stylefont-size: 10px;>Pend/label> /li> /ul> /div> !-- button classbtn btn-primary>Follow/button> button classbtn btn-outline-primary>Message/button> --> /div> /div> /div> /div> !-- *********************** ELEMENTOS DETALLADOS COLAPSADOS *************************** --> div classrow> div classcol-md-12 mb-3> div classcard mb-3> !-- Telefonos --> div classcard-header py-1 border-0> h6>Teléfonos/h6> button typebutton data-actioncollapse data-target#card-bodyT data-togglecollapse aria-expandedtrue classbtn btn-sm btn-text-secondary btn-icon rounded-circle ml-auto>i classmaterial-icons>add/i>/button> /div> div classcollapse idcard-bodyT style> div classcard-body> ul classlist-group has-icon list-group-borderless idlisTelefonosPr> li classlist-group-item has-icon>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-check-circle text-success mr-2>path dM22 11.08V12a10 10 0 1 1-5.93-9.14>/path>polyline points22 4 12 14.01 9 11.01>/polyline>/svg>strong>Retina: 13.3-inch /strong>/li> /ul> /div> /div> /div> div classcard mb-3> !-- Correos --> div classcard-header py-1 border-0> h6>Correos/h6> button typebutton data-actioncollapse data-target#card-bodyC data-togglecollapse aria-expandedtrue classbtn btn-sm btn-text-secondary btn-icon rounded-circle ml-auto>i classmaterial-icons>add/i>/button> /div> div classcollapse idcard-bodyC style> div classcard-body> ul classlist-group has-icon list-group-borderless idlistCorreosPr> li classlist-group-item has-icon>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-check-circle text-success mr-2>path dM22 11.08V12a10 10 0 1 1-5.93-9.14>/path>polyline points22 4 12 14.01 9 11.01>/polyline>/svg>strong>Retina: 13.3-inch /strong>/li> /ul> /div> /div> /div> div classcard mb-3> !-- Etiquetas --> div classcard-header py-1 border-0> h6>Etiquetas/h6> button typebutton data-actioncollapse data-target#card-bodyE data-togglecollapse aria-expandedtrue classbtn btn-sm btn-text-secondary btn-icon rounded-circle ml-auto>i classmaterial-icons>add/i>/button> /div> div classcollapse idcard-bodyE style> div classcard-body> div classtagin-wrapper form-control idcontEtiquetasPr> span classtagin-tag>HTMLspan classtagin-tag-remove>/span>/span>span classtagin-tag>CSSspan classtagin-tag-remove>/span>/span> input typetext classtagin-input placeholder stylewidth: 3px;> /div> !-- ul classlist-group has-icon list-group-borderless idlistEtiquetas> li classlist-group-item has-icon>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-check-circle text-success mr-2>path dM22 11.08V12a10 10 0 1 1-5.93-9.14>/path>polyline points22 4 12 14.01 9 11.01>/polyline>/svg>strong>Retina: 13.3-inch /strong>/li> /ul> --> /div> /div> /div> !-- Programa de INTERES 2 --> div classcard mb-3> div classcard-header py-1 border-0> h6>Agregar programa de interés/h6> button typebutton data-actioncollapse data-target#card-body data-togglecollapse aria-expandedfalse classbtn btn-sm btn-text-secondary btn-icon rounded-circle ml-auto collapsed>i classmaterial-icons>add/i>/button> /div> div classcollapse idcard-body style> div classcard-body> form idfrmCreateEventPr novalidate> span classinput-icon input-icon-right> select idprogramsProcess classform-control custom-select nameprogramsProcess> /select> /span> button classbtn btn-light btn-block mt-1 typesubmit idaddProgramProcess>Agregar/button> /form> /div> /div> /div> !-- FIN Programa de INTERES 2 --> div classcard mb-3> !-- Entrada de Interacciones --> div classcard-header py-1 border-0> h6>Agregar interacción/h6> button typebutton data-actioncollapse data-target#card-bodyInt data-togglecollapse aria-expandedtrue classbtn btn-sm btn-text-secondary btn-icon rounded-circle ml-auto>i classmaterial-icons>add/i>/button> /div> div classcollapse idcard-bodyInt style> div classcard-body> div classform-group row no-gutters> div classcol> div classfloating-label input-icon mt-3> i classfa fa-edit>/i> textarea classform-control autosize idinteracc placeholderTextarea styleoverflow: hidden; overflow-wrap: break-word; resize: none; height: 74px;>/textarea> label forfloatingTextareaIconAutosize>Interacción con el contacto/label> /div> div classfloating-label input-icon mt-3 styletext-align: right;> button typebutton classbtn btn-info has-icon idaddInteraccion1> Agregar i classmaterial-icons ml-1>exit_to_app/i> /button> /div> /div> /div> /div> /div> /div> /div> /div> !-- *********************** FIN DE ELEMENTOS DETALLADOS COLAPSADOS *************************** --> /div> !-- BARRA LATERAL IZQUIERA --> !-- +++++++++++++++++++++++++++++++ BARRA LATERAL DERECHA ++++++++++++++++++++++++++++++++++++++++ --> div classcol-md-8> div classcard> div classcard-body> section idsection1> h5>Datos generales del contacto/h5> p classtext-muted font-size-sm> Estos datos se pueden modificar según se necesite. /p> div classrow> div classcol-md-12> form iddatosC stylewidth: 100%;> div classrow> div classcol-md-6 mb-3> div classlist-with-gap> span classinput-icon> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-edit-3>path dM12 20h9>/path>path dM16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z>/path>/svg> input typetext classform-control placeholderPrimer nombre namefnP idfnP> /span> span classinput-icon> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-edit-3>path dM12 20h9>/path>path dM16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z>/path>/svg> input typetext classform-control placeholderPrimer apellido nameflP idflP> /span> /div> /div> div classcol-md-6 mb-3> div classlist-with-gap> span classinput-icon> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-edit-3>path dM12 20h9>/path>path dM16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z>/path>/svg> input typetext classform-control placeholderSegundo nombre namesnP idsnP> /span> span classinput-icon> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-edit-3>path dM12 20h9>/path>path dM16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z>/path>/svg> input typetext classform-control placeholderSegundo apellido nameslP idslP> /span> /div> /div> /div> div classrow> div classcol-md-6 mb-3> div classlist-with-gap> span classinput-icon> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-user>path dM20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2>/path>circle cx12 cy7 r4>/circle>/svg> input typetext classform-control placeholderDNI: namedniP iddniP vluep> /span> span classinput-icon> svg data-toggletooltip data-placementtop title data-original-titleFecha de nacimiento xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-calendar>rect x3 y4 width18 height18 rx2 ry2>/rect>line x116 y12 x216 y26>/line>line x18 y12 x28 y26>/line>line x13 y110 x221 y210>/line>/svg> input typedate classform-control placeholderFecha de nacimiento namebdP idfnacimientoP> /span> label classtext-muted font-size-sm>País de nacimiento/label> span classinput-icon input-icon-right> select idcbopaisNP classform-control custom-select namepaisnP> option selected value0>País de nacimiento.../option> /select> /span> label classtext-muted font-size-sm>País de residencia/label> span classinput-icon input-icon-right> select idcbopaisRP classform-control custom-select namepaisrP> option selected value0>País de residencia.../option> /select> /span> label classtext-muted font-size-sm>Ciudad de residencia/label> span classinput-icon input-icon-right> select idciudadCP classform-control custom-select nameciudadcP> option selected value0>Ciudad de residencia.../option> /select> /span> !-- ELEMENTO CONTENEDOR DE LOS PROGRAMAS ASIGNADOS DE CONTACTO --> label classtext-muted font-size-sm>Programas de interés/label> div classcard-body idProgramLabelsP> div classlist-with-gap idProgramListP stylebackground: #f4f4f4;> /div> /div> !-- FIN ELEMENTO CONTENEDOR DE LOS PROGRAMAS ASIGNADOS DE CONTACTO --> /div> /div> div classcol-md-6 mb-3> div classlist-with-gap> span classinput-icon> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-map-pin>path dM21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z>/path>circle cx12 cy10 r3>/circle>/svg> textarea classform-control rows2 placeholderDirección iddirP namedirP maxlength100>/textarea> /span> label classtext-muted font-size-sm>Género/label> span classinput-icon input-icon-right> select idgender1P classform-control custom-select namegender1P> option selected value0>Género/option> /select> /span> /div> br>br> div classcard -mt-3> ul classlist-group list-group-flush> li classlist-group-item d-flex justify-content-between align-items-center flex-wrap> h6 classmb-0>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-watch>circle cx12 cy12 r7>/circle>polyline points12 9 12 12 13.5 13.5>/polyline>path dM16.51 17.35l-.35 3.83a2 2 0 0 1-2 1.82H9.83a2 2 0 0 1-2-1.82l-.35-3.83m.01-10.7l.35-3.83A2 2 0 0 1 9.83 1h4.35a2 2 0 0 1 2 1.82l.35 3.83>/path>/svg>Edad/h6> span classtext-secondary idrangoedadC>/span> /li> li classlist-group-item d-flex justify-content-between align-items-center flex-wrap> h6 classmb-0>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-globe mr-2 icon-inline>circle cx12 cy12 r10>/circle>line x12 y112 x222 y212>/line>path dM12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z>/path>/svg>Origen/h6> span classtext-secondary idorigenC>/span> /li> li classlist-group-item d-flex justify-content-between align-items-center flex-wrap> h6 classmb-0>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-grid>rect x3 y3 width7 height7>/rect>rect x14 y3 width7 height7>/rect>rect x14 y14 width7 height7>/rect>rect x3 y14 width7 height7>/rect>/svg> Audiencia/h6> span classtext-secondary idaudienciaC>/span> /li> li classlist-group-item d-flex justify-content-between align-items-center flex-wrap> h6 classmb-0>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-calendar mr-2>rect x3 y4 width18 height18 rx2 ry2>/rect>line x116 y12 x216 y26>/line>line x18 y12 x28 y26>/line>line x13 y110 x221 y210>/line>/svg>Fecha ingreso:/h6> span classtext-secondary idfechaC>/span> /li> li classlist-group-item d-flex justify-content-between align-items-center flex-wrap> h6 classmb-0>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-clock text-success mr-2>circle cx12 cy12 r10>/circle>polyline points12 6 12 12 16 14>/polyline>/svg>Estátus/h6> span classtext-secondary idestatusC>/span> /li> li classlist-group-item d-flex justify-content-between align-items-center flex-wrap> h6 classmb-0>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-eye text-danger mr-2>path dM1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z>/path>circle cx12 cy12 r3>/circle>/svg>Formulario/h6> span classtext-secondary idestatus2>/span> /li> li classlist-group-item d-flex justify-content-between align-items-center flex-wrap> h6 classmb-0>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-map-pin text-primary>path dM21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z>/path>circle cx12 cy10 r3>/circle>/svg> IP/h6> span classtext-secondary iddiripC>/span> /li> li classlist-group-item d-flex justify-content-between align-items-center flex-wrap> h6 classmb-0>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-users text-info mr-2>path dM17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2>/path>circle cx9 cy7 r4>/circle>path dM23 21v-2a4 4 0 0 0-3-3.87>/path>path dM16 3.13a4 4 0 0 1 0 7.75>/path>/svg>Propietario/h6> span classtext-secondary mr-1 idcambioUSRP>label idnombreAgenteP classmr-1>/label>/span> /li> /ul> /div> /div> /div> !-- FILA DE ELEMENTOS DEL CONTACTO --> /form> !-- FIN DEL FORMULARIO --> /div> /div> /section> section idsection2> div classrow> div classcol-md-12 mb-3> !-- BOTÓN DEL COLLAPSE PARA EL HISTORIAL --> button classbtn btn-primary typebutton data-togglecollapse data-target#historialComplet aria-expandedtrue aria-controlshistorialComplet> Ver historial de interacciones /button> !-- FIN BOTÓN DEL COLLAPSE PARA EL HISTORIAL --> div classcard h-100 shadow-none bg-gray-300 collapse fade idhistorialComplet> div classcard-body idcontHistory> h6 classd-flex align-items-center mb-3>i classmaterial-icons text-danger mr-2>history/i>Historial de contacto/h6> /div> /div> /div> /div> /section> /div> /div> /div> !-- FIN BARRA LATERAL DERECHA --> /div> div classbootbox-body idcontenido> div classcard> div classcard-body> /div> /div> /div> /div> div classmodal-footer> button typebutton classbtn btn-danger bootbox-cancel idbtnCancelarC>Cancelar/button> !-- button typebutton classbtn btn-info idbtnAbrirVentaP>Abrir venta/button> --> button typebutton classbtn btn-success bootbox-accept idbtnActualizarC>Actualizar datos/button> /div> /div> /div>/div>!-- ************************************************************************************************************************ -->!-- MODAL DE DETALLE DE CONTACTO PENDING -->!-- ************************************************************************************************************************ -->div classmodal fade show idmodalDetailPending tabindex-1 roledialog aria-labelledbymodalTitle aria-hiddentrue styleoverflow-y: scroll;> div classmodal-dialog modal-xl roledocument> div classmodal-content> div classmodal-header bg-dark text-white shadow-none> h6 classmodal-title idmodalTitlePending>Información del contacto/h6> button typebutton classclose data-dismissmodal aria-labelClose> span aria-hiddentrue>×/span> /button> /div> div classmodal-body> div classrow gutters-sm> div classcol-md-4 mb-3> div classcard> div classcard-body> div classd-flex flex-column align-items-center text-center> div classrounded-circle stylebackground: #718096; color: #fff; height: 100px; width: 100px; text-align: center; font-size: 32px; padding-top: 26px;> label idinitialNPending classtext-center>LT/label> /div> div classmt-3> h4 idnombreCPending>Kenneth Valdez/h4> p classtext-secondary mb-1 idcorreoCPending>Full Stack Developer/p> p classtext-muted font-size-sm>Ciudad: span idciudadConPending>/span>/p> div classrow> ul> li styledisplay: inline-block> a href> div classrounded-circle font-size-sm stylebackground: #cbd5e0; color: #34495E; height: 40px; width: 40px; text-align: center; padding-top: 7px;> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-edit>path dM11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7>/path>path dM18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z>/path>/svg> /div> /a> label stylefont-size: 10px;>Nota/label> /li> li styledisplay: inline-block> a href> div classrounded-circle font-size-sm stylebackground: #cbd5e0; color: #34495E; height: 40px; width: 40px; text-align: center; padding-top: 7px;> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-mail>path dM4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z>/path>polyline points22,6 12,13 2,6>/polyline>/svg> /div> /a> label stylefont-size: 10px;>E-mail/label> /li> li styledisplay: inline-block> a href> div classrounded-circle font-size-sm stylebackground: #cbd5e0; color: #34495E; height: 40px; width: 40px; text-align: center; padding-top: 7px;> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-phone>path dM22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z>/path>/svg> /div> /a> label stylefont-size: 10px;>Tels/label> /li> li styledisplay: inline-block> a href> div classrounded-circle font-size-sm stylebackground: #cbd5e0; color: #34495E; height: 40px; width: 40px; text-align: center; padding-top: 7px;> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-info>circle cx12 cy12 r10>/circle>line x112 y116 x212 y212>/line>line x112 y18 x212.01 y28>/line>/svg> /div> /a> label stylefont-size: 10px;>Log/label> /li> li styledisplay: inline-block> a href> div classrounded-circle font-size-sm stylebackground: #cbd5e0; color: #34495E; height: 40px; width: 40px; text-align: center; padding-top: 7px;> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-file-text>path dM14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z>/path>polyline points14 2 14 8 20 8>/polyline>line x116 y113 x28 y213>/line>line x116 y117 x28 y217>/line>polyline points10 9 9 9 8 9>/polyline>/svg> /div> /a> label stylefont-size: 10px;>Historial/label> /li> li styledisplay: inline-block> a href> div classrounded-circle font-size-sm stylebackground: #cbd5e0; color: #34495E; height: 40px; width: 40px; text-align: center; padding-top: 7px;> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-clipboard>path dM16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2>/path>rect x8 y2 width8 height4 rx1 ry1>/rect>/svg> /div> /a> label stylefont-size: 10px;>Pend/label> /li> /ul> /div> !-- button classbtn btn-primary>Follow/button> button classbtn btn-outline-primary>Message/button> --> /div> /div> /div> /div> !-- *********************** ELEMENTOS DETALLADOS COLAPSADOS *************************** --> div classrow> div classcol-md-12 mb-3> div classcard mb-3> !-- Telefonos --> div classcard-header py-1 border-0> h6>Teléfonos/h6> button typebutton data-actioncollapse data-target#card-bodyTPending data-togglecollapse aria-expandedfalse classbtn btn-sm btn-text-secondary btn-icon rounded-circle ml-auto>i classmaterial-icons>add/i>/button> /div> div classcollapse idcard-bodyTPending style> div classcard-body> ul classlist-group has-icon list-group-borderless idlisTelefonosPending> li classlist-group-item has-icon>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-check-circle text-success mr-2>path dM22 11.08V12a10 10 0 1 1-5.93-9.14>/path>polyline points22 4 12 14.01 9 11.01>/polyline>/svg>strong>Retina: 13.3-inch /strong>/li> /ul> /div> /div> /div> div classcard mb-3> !-- Correos --> div classcard-header py-1 border-0> h6>Correos/h6> button typebutton data-actioncollapse data-target#card-bodyCPending data-togglecollapse aria-expandedtrue classbtn btn-sm btn-text-secondary btn-icon rounded-circle ml-auto>i classmaterial-icons>add/i>/button> /div> div classcollapse idcard-bodyCPending style> div classcard-body> ul classlist-group has-icon list-group-borderless idlistCorreosPending> li classlist-group-item has-icon>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-check-circle text-success mr-2>path dM22 11.08V12a10 10 0 1 1-5.93-9.14>/path>polyline points22 4 12 14.01 9 11.01>/polyline>/svg>strong>Retina: 13.3-inch /strong>/li> /ul> /div> /div> /div> div classcard mb-3> !-- Etiquetas --> div classcard-header py-1 border-0> h6>Etiquetas/h6> button typebutton data-actioncollapse data-target#card-bodyEPending data-togglecollapse aria-expandedtrue classbtn btn-sm btn-text-secondary btn-icon rounded-circle ml-auto>i classmaterial-icons>add/i>/button> /div> div classcollapse idcard-bodyEPending style> div classcard-body> div classtagin-wrapper form-control idcontEtiquetasPending> span classtagin-tag>HTMLspan classtagin-tag-remove>/span>/span>span classtagin-tag>CSSspan classtagin-tag-remove>/span>/span> input typetext classtagin-input placeholder stylewidth: 3px;> /div> !-- ul classlist-group has-icon list-group-borderless idlistEtiquetas> li classlist-group-item has-icon>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-check-circle text-success mr-2>path dM22 11.08V12a10 10 0 1 1-5.93-9.14>/path>polyline points22 4 12 14.01 9 11.01>/polyline>/svg>strong>Retina: 13.3-inch /strong>/li> /ul> --> /div> /div> /div> !-- div classcard mb-3> !-- Programas de interés --> !-- div classcard-header py-1 border-0> h6>Programas de interés/h6> button typebutton data-actioncollapse data-target#card-bodyProPending data-togglecollapse aria-expandedtrue classbtn btn-sm btn-text-secondary btn-icon rounded-circle ml-auto>i classmaterial-icons>add/i>/button> /div> div classcollapse idcard-bodyProPending style> div classcard-body> div classrow> div classcol-lg-12 stylewidth: 100%;> select idcboProgramsPending nameprogramspending multiple classform-control select2 select2-hidden-accessible stylewidth:100%;> option value1 data-select2-id1>Intensivo/option> option value2 data-select2-id2>Semi intensivo/option> option value3 data-select2-id3>Regular/option> option value4 data-select2-id4>Privado/option> option value5 data-select2-id5>Adolescentes/option> option value6 data-select2-id6>Bambini/option> option value7 data-select2-id7>Sábatino/option> option value8 data-select2-id13>NA/option> /select> span classselect2 select2-container select2-container--default select2-container--focus select2-container--open select2-container--above dirltr data-select2-id1 stylewidth: 100%;> span classselection> span classselect2-selection select2-selection--multiple rolecombobox aria-haspopuptrue aria-expandedtrue tabindex-1 aria-disabledfalse aria-ownsselect2-cboPrograms-results aria-activedescendantselect2-cboPrograms-result-th2a-1> ul idlstPrograms classselect2-selection__rendered> /ul> /span> /span> span classdropdown-wrapper aria-hiddentrue>/span>/span> /div> /div> div classlist-with-gap> button idbtnSaveProgPend classbtn btn-icon text-secondary typebutton data-toggletooltip data-placementbottom data-original-titleGuardar los cambios>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-save>path dM19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z>/path>polyline points17 21 17 13 7 13 7 21>/polyline>polyline points7 3 7 8 15 8>/polyline>/svg>/button> /div> /div> /div> /div> --> div classcard mb-3> div classcard-header py-1 border-0> h6>Agregar programa de interés/h6> button typebutton data-actioncollapse data-target#card-bodyPending data-togglecollapse aria-expandedfalse classbtn btn-sm btn-text-secondary btn-icon rounded-circle ml-auto collapsed>i classmaterial-icons>add/i>/button> /div> div classcollapse idcard-bodyPending style> div classcard-body> form idfrmCreateEventPending novalidate> span classinput-icon input-icon-right> select idprogramsPending classform-control custom-select nameprogramsPending> /select> /span> button classbtn btn-light btn-block mt-1 typesubmit idaddProgramPending>Agregar/button> /form> /div> /div> /div> div classcard mb-3> !-- Entrada de Interacciones --> div classcard-header py-1 border-0> h6>Agregar interacción/h6> button typebutton data-actioncollapse data-target#card-bodyIntPending data-togglecollapse aria-expandedtrue classbtn btn-sm btn-text-secondary btn-icon rounded-circle ml-auto>i classmaterial-icons>add/i>/button> /div> div classcollapse idcard-bodyIntPending style> div classcard-body> div classform-group row no-gutters> div classcol> div classfloating-label input-icon mt-3> i classfa fa-edit>/i> textarea classform-control autosize idinteraccPending placeholderTextarea styleoverflow: hidden; overflow-wrap: break-word; resize: none; height: 74px;>/textarea> label forfloatingTextareaIconAutosize>Interacción con el contacto/label> /div> div classfloating-label input-icon mt-3 styletext-align: right;> button typebutton classbtn btn-info has-icon idaddInteraccion1Pending> Agregar i classmaterial-icons ml-1>exit_to_app/i> /button> /div> /div> /div> !-- ul classlist-group has-icon list-group-borderless idlistEtiquetas> li classlist-group-item has-icon>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-check-circle text-success mr-2>path dM22 11.08V12a10 10 0 1 1-5.93-9.14>/path>polyline points22 4 12 14.01 9 11.01>/polyline>/svg>strong>Retina: 13.3-inch /strong>/li> /ul> --> /div> /div> /div> /div> /div> !-- *********************** FIN DE ELEMENTOS DETALLADOS COLAPSADOS *************************** --> /div> !-- FIN BARRA LATERAL IZQUIERA --> !-- +++++++++++++++++++++++++++++++ BARRA LATERAL DERECHA ++++++++++++++++++++++++++++++++++++++++ --> div classcol-md-8> div classcard> div classcard-body> section idsection1Pending> h5>Datos generales del contacto/h5> p classtext-muted font-size-sm> Estos datos se pueden modificar según se necesite. /p> div classrow> div classcol-md-12> form iddatosCPending stylewidth: 100%;> div classrow> div classcol-md-6 mb-3> div classlist-with-gap> span classinput-icon> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-edit-3>path dM12 20h9>/path>path dM16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z>/path>/svg> input typetext classform-control placeholderPrimer nombre namefnPending idfnPending> /span> span classinput-icon> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-edit-3>path dM12 20h9>/path>path dM16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z>/path>/svg> input typetext classform-control placeholderPrimer apellido nameflPending idflPending> /span> /div> /div> div classcol-md-6 mb-3> div classlist-with-gap> span classinput-icon> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-edit-3>path dM12 20h9>/path>path dM16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z>/path>/svg> input typetext classform-control placeholderSegundo nombre namesnPending idsnPending> /span> span classinput-icon> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-edit-3>path dM12 20h9>/path>path dM16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z>/path>/svg> input typetext classform-control placeholderSegundo apellido nameslPending idslPending> /span> /div> /div> /div> div classrow> div classcol-md-6 mb-3> div classlist-with-gap> span classinput-icon> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-user>path dM20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2>/path>circle cx12 cy7 r4>/circle>/svg> input typetext classform-control placeholderDNI: namedniPending iddniPending vluep> /span> span classinput-icon> svg data-toggletooltip data-placementtop title data-original-titleFecha de nacimiento xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-calendar>rect x3 y4 width18 height18 rx2 ry2>/rect>line x116 y12 x216 y26>/line>line x18 y12 x28 y26>/line>line x13 y110 x221 y210>/line>/svg> input typedate classform-control placeholderFecha de nacimiento namebdPending idfnacimientoPending> /span> label classtext-muted font-size-sm>País de nacimiento/label> span classinput-icon input-icon-right> select idcbopaisNPending classform-control custom-select namepaisnPending> option selected value0>País de nacimiento.../option> /select> /span> label classtext-muted font-size-sm>País de residencia/label> span classinput-icon input-icon-right> select idcbopaisRPending classform-control custom-select namepaisrPending> option selected value0>País de residencia.../option> /select> /span> label classtext-muted font-size-sm>Ciudad de residencia/label> span classinput-icon input-icon-right> select idciudadCPending classform-control custom-select nameciudadcPending> option selected value0>Ciudad de residencia.../option> /select> /span> !-- ELEMENTO CONTENEDOR DE LOS PROGRAMAS ASIGNADOS DE CONTACTO --> label classtext-muted font-size-sm>Programas de interés/label> div classcard-body idProgramLabelsPending> div classlist-with-gap idProgramListPending stylebackground: #f4f4f4;> !-- button typebutton classfc-event btn btn-sm btn-primary>My event 1/button> button typebutton classfc-event btn btn-sm btn-secondary>My event 2/button> button typebutton classfc-event btn btn-sm btn-success>My event 3/button> button typebutton classfc-event btn btn-sm btn-warning>My event 4/button> button typebutton classfc-event btn btn-sm btn-danger>My event 5/button> button typebutton classfc-event btn btn-sm btn-info>My event 6/button> --> /div> /div> !-- FIN ELEMENTO CONTENEDOR DE LOS PROGRAMAS ASIGNADOS DE CONTACTO --> /div> /div> div classcol-md-6 mb-3> div classlist-with-gap> span classinput-icon> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-map-pin>path dM21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z>/path>circle cx12 cy10 r3>/circle>/svg> textarea classform-control rows2 placeholderDirección iddirPending namedirPending maxlength100>/textarea> /span> label classtext-muted font-size-sm>Género/label> span classinput-icon input-icon-right> select idgender1Pending classform-control custom-select namegender1Pending> option selected value0>Género/option> /select> /span> /div> br>br> div classcard -mt-3> ul classlist-group list-group-flush> li classlist-group-item d-flex justify-content-between align-items-center flex-wrap> h6 classmb-0>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-watch>circle cx12 cy12 r7>/circle>polyline points12 9 12 12 13.5 13.5>/polyline>path dM16.51 17.35l-.35 3.83a2 2 0 0 1-2 1.82H9.83a2 2 0 0 1-2-1.82l-.35-3.83m.01-10.7l.35-3.83A2 2 0 0 1 9.83 1h4.35a2 2 0 0 1 2 1.82l.35 3.83>/path>/svg>Edad/h6> span classtext-secondary idrangoedadCPending>/span> /li> li classlist-group-item d-flex justify-content-between align-items-center flex-wrap> h6 classmb-0>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-globe mr-2 icon-inline>circle cx12 cy12 r10>/circle>line x12 y112 x222 y212>/line>path dM12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z>/path>/svg>Origen/h6> span classtext-secondary idorigenCPending>/span> /li> li classlist-group-item d-flex justify-content-between align-items-center flex-wrap> h6 classmb-0>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-grid>rect x3 y3 width7 height7>/rect>rect x14 y3 width7 height7>/rect>rect x14 y14 width7 height7>/rect>rect x3 y14 width7 height7>/rect>/svg> Audiencia/h6> span classtext-secondary idaudienciaCPending>/span> /li> li classlist-group-item d-flex justify-content-between align-items-center flex-wrap> h6 classmb-0>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-calendar mr-2>rect x3 y4 width18 height18 rx2 ry2>/rect>line x116 y12 x216 y26>/line>line x18 y12 x28 y26>/line>line x13 y110 x221 y210>/line>/svg>Fecha ingreso:/h6> span classtext-secondary idfechaCPending>/span> /li> li classlist-group-item d-flex justify-content-between align-items-center flex-wrap> h6 classmb-0>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-clock text-success mr-2>circle cx12 cy12 r10>/circle>polyline points12 6 12 12 16 14>/polyline>/svg>Estátus/h6> span classtext-secondary idestatusCPending>/span> /li> li classlist-group-item d-flex justify-content-between align-items-center flex-wrap> h6 classmb-0>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-eye text-danger mr-2>path dM1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z>/path>circle cx12 cy12 r3>/circle>/svg>Formulario/h6> span classtext-secondary idestatus2Pending>/span> /li> li classlist-group-item d-flex justify-content-between align-items-center flex-wrap> h6 classmb-0>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-map-pin text-primary>path dM21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z>/path>circle cx12 cy10 r3>/circle>/svg> IP/h6> span classtext-secondary iddiripCPending>/span> /li> li classlist-group-item d-flex justify-content-between align-items-center flex-wrap> h6 classmb-0>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-users text-info mr-2>path dM17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2>/path>circle cx9 cy7 r4>/circle>path dM23 21v-2a4 4 0 0 0-3-3.87>/path>path dM16 3.13a4 4 0 0 1 0 7.75>/path>/svg>Propietario/h6> span classtext-secondary mr-1 idcambioUSRPending>label idnombreAgentePending classmr-1>/label>/span> /li> !-- li classlist-group-item d-flex justify-content-between align-items-center flex-wrap> h6 classmb-0>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-eye text-danger mr-2>path dM1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z>/path>circle cx12 cy12 r3>/circle>/svg>Formulario/h6> span classtext-secondary idsourceC>/span> /li> --> /ul> /div> /div> /div> !-- FILA DE ELEMENTOS DEL CONTACTO --> /form> !-- FIN DEL FORMULARIO --> /div> /div> /section> section idsection2Pending> div classrow> div classcol-md-12 mb-3> !-- BOTÓN DEL COLLAPSE PARA EL HISTORIAL --> button classbtn btn-primary typebutton data-togglecollapse data-target#historialCompletPending aria-expandedtrue aria-controlshistorialCompletPending> Ver historial de interacciones /button> !-- FIN BOTÓN DEL COLLAPSE PARA EL HISTORIAL --> div classcard h-100 shadow-none bg-gray-300 collapse fade idhistorialCompletPending> div classcard-body idcontHistoryPending> h6 classd-flex align-items-center mb-3>i classmaterial-icons text-danger mr-2>history/i>Historial de contacto/h6> !-- ---------------------- INICIO DE ELEMENTO DE TIMELINE ------------------------------------------------ -- div classtimeline timeline-left font-size-sm> div classtimeline-container left> div classpopover bs-popover-right popover-static> div classarrow>/div> div classpopover-body text-muted> a href# classtext-body>span idnombreCH>Usuario X/span>/a> Se cargó a la base de datos del sistema! div classsmall idfechaAccion> Hace 2 horas /div> /div> /div> /div> /div> -- ---------------------- INICIO DE ELEMENTO DE TIMELINE ------------------------------------------------ --> /div> /div> /div> /div> /section> /div> /div> /div> !-- FIN BARRA LATERAL DERECHA --> /div> div classbootbox-body idcontenidoPending> div classcard> div classcard-body> /div> /div> /div> /div> div classmodal-footer> button typebutton classbtn btn-danger bootbox-cancel idbtnCancelarCPending>Cancelar/button> !-- button typebutton classbtn btn-info idbtnAbrirVentaP>Abrir venta/button> --> button typebutton classbtn btn-success bootbox-accept idbtnActualizarCPending>Actualizar datos/button> /div> /div> /div>/div> !-- FIN MODAL INFO PENDING -->!-- +++++++++++++++++MODAL OPENSALE ++++++++++++++++++++++++++++++++++++++++ -->div classmodal fade show idmodalDetailOS tabindex-1 roledialog aria-labelledbymodalTitle aria-hiddentrue styleoverflow-y: scroll;> div classmodal-dialog modal-xl roledocument> div classmodal-content> div classmodal-header bg-dark text-white shadow-none> h6 classmodal-title idmodalTitleOS>Información del contacto OP/h6> button typebutton classclose data-dismissmodal aria-labelClose> span aria-hiddentrue>×/span> /button> /div> div classmodal-body> div classrow gutters-sm> div classcol-md-4 mb-3> div classcard> div classcard-body> div classd-flex flex-column align-items-center text-center> div classrounded-circle stylebackground: #718096; color: #fff; height: 100px; width: 100px; text-align: center; font-size: 32px; padding-top: 26px;> label idinitialNOS classtext-center>LT/label> /div> div classmt-3> h4 idnombreCOS>Kenneth Valdez/h4> p classtext-secondary mb-1 idcorreoCOS>Full Stack Developer/p> p classtext-muted font-size-sm>Ciudad: span idciudadConOS>/span>/p> div classrow> ul> li styledisplay: inline-block> a href> div classrounded-circle font-size-sm stylebackground: #cbd5e0; color: #34495E; height: 40px; width: 40px; text-align: center; padding-top: 7px;> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-edit>path dM11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7>/path>path dM18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z>/path>/svg> /div> /a> label stylefont-size: 10px;>Nota/label> /li> li styledisplay: inline-block> a href> div classrounded-circle font-size-sm stylebackground: #cbd5e0; color: #34495E; height: 40px; width: 40px; text-align: center; padding-top: 7px;> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-mail>path dM4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z>/path>polyline points22,6 12,13 2,6>/polyline>/svg> /div> /a> label stylefont-size: 10px;>E-mail/label> /li> li styledisplay: inline-block> a href> div classrounded-circle font-size-sm stylebackground: #cbd5e0; color: #34495E; height: 40px; width: 40px; text-align: center; padding-top: 7px;> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-phone>path dM22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z>/path>/svg> /div> /a> label stylefont-size: 10px;>Tels/label> /li> li styledisplay: inline-block> a href> div classrounded-circle font-size-sm stylebackground: #cbd5e0; color: #34495E; height: 40px; width: 40px; text-align: center; padding-top: 7px;> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-info>circle cx12 cy12 r10>/circle>line x112 y116 x212 y212>/line>line x112 y18 x212.01 y28>/line>/svg> /div> /a> label stylefont-size: 10px;>Log/label> /li> li styledisplay: inline-block> a href> div classrounded-circle font-size-sm stylebackground: #cbd5e0; color: #34495E; height: 40px; width: 40px; text-align: center; padding-top: 7px;> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-file-text>path dM14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z>/path>polyline points14 2 14 8 20 8>/polyline>line x116 y113 x28 y213>/line>line x116 y117 x28 y217>/line>polyline points10 9 9 9 8 9>/polyline>/svg> /div> /a> label stylefont-size: 10px;>Historial/label> /li> li styledisplay: inline-block> a href> div classrounded-circle font-size-sm stylebackground: #cbd5e0; color: #34495E; height: 40px; width: 40px; text-align: center; padding-top: 7px;> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-clipboard>path dM16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2>/path>rect x8 y2 width8 height4 rx1 ry1>/rect>/svg> /div> /a> label stylefont-size: 10px;>Pend/label> /li> /ul> /div> !-- button classbtn btn-primary>Follow/button> button classbtn btn-outline-primary>Message/button> --> /div> /div> /div> /div> !-- *********************** ELEMENTOS DETALLADOS COLAPSADOS *************************** --> div classrow> div classcol-md-12 mb-3> div classcard mb-3> !-- Telefonos --> div classcard-header py-1 border-0> h6>Teléfonos/h6> button typebutton data-actioncollapse data-target#card-bodyTOS data-togglecollapse aria-expandedtrue classbtn btn-sm btn-text-secondary btn-icon rounded-circle ml-auto>i classmaterial-icons>add/i>/button> /div> div classcollapse idcard-bodyTOS style> div classcard-body> ul classlist-group has-icon list-group-borderless idlisTelefonosOS> li classlist-group-item has-icon>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-check-circle text-success mr-2>path dM22 11.08V12a10 10 0 1 1-5.93-9.14>/path>polyline points22 4 12 14.01 9 11.01>/polyline>/svg>strong>Retina: 13.3-inch /strong>/li> /ul> /div> /div> /div> div classcard mb-3> !-- Correos --> div classcard-header py-1 border-0> h6>Correos/h6> button typebutton data-actioncollapse data-target#card-bodyCOS data-togglecollapse aria-expandedtrue classbtn btn-sm btn-text-secondary btn-icon rounded-circle ml-auto>i classmaterial-icons>add/i>/button> /div> div classcollapse idcard-bodyCOS style> div classcard-body> ul classlist-group has-icon list-group-borderless idlistCorreosOS> li classlist-group-item has-icon>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-check-circle text-success mr-2>path dM22 11.08V12a10 10 0 1 1-5.93-9.14>/path>polyline points22 4 12 14.01 9 11.01>/polyline>/svg>strong>Retina: 13.3-inch /strong>/li> /ul> /div> /div> /div> div classcard mb-3> !-- Etiquetas --> div classcard-header py-1 border-0> h6>Etiquetas/h6> button typebutton data-actioncollapse data-target#card-bodyEOS data-togglecollapse aria-expandedtrue classbtn btn-sm btn-text-secondary btn-icon rounded-circle ml-auto>i classmaterial-icons>add/i>/button> /div> div classcollapse idcard-bodyEOS style> div classcard-body> div classtagin-wrapper form-control idcontEtiquetasOS> span classtagin-tag>HTMLspan classtagin-tag-remove>/span>/span>span classtagin-tag>CSSspan classtagin-tag-remove>/span>/span> input typetext classtagin-input placeholder stylewidth: 3px;> /div> !-- ul classlist-group has-icon list-group-borderless idlistEtiquetas> li classlist-group-item has-icon>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-check-circle text-success mr-2>path dM22 11.08V12a10 10 0 1 1-5.93-9.14>/path>polyline points22 4 12 14.01 9 11.01>/polyline>/svg>strong>Retina: 13.3-inch /strong>/li> /ul> --> /div> /div> /div> !-- div classcard mb-3> !-- Programas de interés -->!-- div classcard-header py-1 border-0> h6>Programas de interés/h6> button typebutton data-actioncollapse data-target#card-bodyPro data-togglecollapse aria-expandedtrue classbtn btn-sm btn-text-secondary btn-icon rounded-circle ml-auto>i classmaterial-icons>add/i>/button> /div> div classcollapse idcard-bodyPro style> div classcard-body> div classrow> div classcol-lg-12 stylewidth: 100%;> select idcboPrograms nameprograms multiple classform-control select2 select2-hidden-accessible stylewidth:100%;> option value1 data-select2-id1>Intensivo/option> option value2 data-select2-id2>Semi intensivo/option> option value3 data-select2-id3>Regular/option> option value4 data-select2-id4>Privado/option> option value5 data-select2-id5>Adolescentes/option> option value6 data-select2-id6>Bambini/option> option value7 data-select2-id7>Sábatino/option> option value8 data-select2-id13>NA/option> /select> /div> /div> div classlist-with-gap> button idbtnSaveProgramasChanged classbtn btn-icon text-secondary typebutton data-toggletooltip data-placementbottom data-original-titleGuardar los cambios> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-save>path dM19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z>/path>polyline points17 21 17 13 7 13 7 21>/polyline>polyline points7 3 7 8 15 8>/polyline>/svg> /button> /div> /div> /div> /div> --> !-- Programa de INTERES 2 --> div classcard mb-3> div classcard-header py-1 border-0> h6>Agregar programa de interés/h6> button typebutton data-actioncollapse data-target#card-bodyOS data-togglecollapse aria-expandedfalse classbtn btn-sm btn-text-secondary btn-icon rounded-circle ml-auto collapsed>i classmaterial-icons>add/i>/button> /div> div classcollapse idcard-bodyOS style> div classcard-body> form idfrmCreateEventOS novalidate> span classinput-icon input-icon-right> select idprogramsOS classform-control custom-select nameprogramsOS> /select> /span> button classbtn btn-light btn-block mt-1 typesubmit idaddProgramOpenSale>Agregar/button> /form> /div> /div> /div> !-- FIN Programa de INTERES 2 --> div classcard mb-3> !-- Entrada de Interacciones --> div classcard-header py-1 border-0> h6>Agregar interacción/h6> button typebutton data-actioncollapse data-target#card-bodyIntOS data-togglecollapse aria-expandedtrue classbtn btn-sm btn-text-secondary btn-icon rounded-circle ml-auto>i classmaterial-icons>add/i>/button> /div> div classcollapse idcard-bodyIntOS style> div classcard-body> div classform-group row no-gutters> div classcol> div classfloating-label input-icon mt-3> i classfa fa-edit>/i> textarea classform-control autosize idinteraccOS placeholderTextarea styleoverflow: hidden; overflow-wrap: break-word; resize: none; height: 74px;>/textarea> label forfloatingTextareaIconAutosize>Interacción con el contacto/label> /div> div classfloating-label input-icon mt-3 styletext-align: right;> button typebutton classbtn btn-info has-icon idaddInteraccion1OS> Agregar i classmaterial-icons ml-1>exit_to_app/i> /button> /div> /div> /div> !-- ul classlist-group has-icon list-group-borderless idlistEtiquetas> li classlist-group-item has-icon>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-check-circle text-success mr-2>path dM22 11.08V12a10 10 0 1 1-5.93-9.14>/path>polyline points22 4 12 14.01 9 11.01>/polyline>/svg>strong>Retina: 13.3-inch /strong>/li> /ul> --> /div> /div> /div> /div> /div> !-- *********************** FIN DE ELEMENTOS DETALLADOS COLAPSADOS *************************** --> /div> !-- BARRA LATERAL IZQUIERA --> !-- +++++++++++++++++++++++++++++++ BARRA LATERAL DERECHA ++++++++++++++++++++++++++++++++++++++++ --> div classcol-md-8> div classcard> div classcard-body> section idsection1OS> h5>Datos generales del contacto/h5> p classtext-muted font-size-sm> Estos datos se pueden modificar según se necesite. /p> div classrow> div classcol-md-12> form iddatosCOS stylewidth: 100%;> div classrow> div classcol-md-6 mb-3> div classlist-with-gap> span classinput-icon> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-edit-3>path dM12 20h9>/path>path dM16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z>/path>/svg> input typetext classform-control placeholderPrimer nombre namefnPOS idfnPOS> /span> span classinput-icon> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-edit-3>path dM12 20h9>/path>path dM16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z>/path>/svg> input typetext classform-control placeholderPrimer apellido nameflPOS idflPOS> /span> /div> /div> div classcol-md-6 mb-3> div classlist-with-gap> span classinput-icon> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-edit-3>path dM12 20h9>/path>path dM16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z>/path>/svg> input typetext classform-control placeholderSegundo nombre namesnPOS idsnPOS> /span> span classinput-icon> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-edit-3>path dM12 20h9>/path>path dM16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z>/path>/svg> input typetext classform-control placeholderSegundo apellido nameslPOS idslPOS> /span> /div> /div> /div> div classrow> div classcol-md-6 mb-3> div classlist-with-gap> span classinput-icon> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-user>path dM20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2>/path>circle cx12 cy7 r4>/circle>/svg> input typetext classform-control placeholderDNI: namedniPOS iddniPOS vluep> /span> span classinput-icon> svg data-toggletooltip data-placementtop title data-original-titleFecha de nacimiento xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-calendar>rect x3 y4 width18 height18 rx2 ry2>/rect>line x116 y12 x216 y26>/line>line x18 y12 x28 y26>/line>line x13 y110 x221 y210>/line>/svg> input typedate classform-control placeholderFecha de nacimiento namebdPOS idfnacimientoPOS> /span> label classtext-muted font-size-sm>País de nacimiento/label> span classinput-icon input-icon-right> select idcbopaisNPOS classform-control custom-select namepaisnPOS> option selected value0>País de nacimiento.../option> /select> /span> label classtext-muted font-size-sm>País de residencia/label> span classinput-icon input-icon-right> select idcbopaisRPOS classform-control custom-select namepaisrPOS> option selected value0>País de residencia.../option> /select> /span> label classtext-muted font-size-sm>Ciudad de residencia/label> span classinput-icon input-icon-right> select idciudadCPOS classform-control custom-select nameciudadcPOS> option selected value0>Ciudad de residencia.../option> /select> /span> !-- ELEMENTO CONTENEDOR DE LOS PROGRAMAS ASIGNADOS DE CONTACTO --> label classtext-muted font-size-sm>Programas de interés/label> div classcard-body idProgramLabelsPOS> div classlist-with-gap idProgramListPOS stylebackground: #f4f4f4;> !-- button typebutton classfc-event btn btn-sm btn-primary>My event 1/button> button typebutton classfc-event btn btn-sm btn-secondary>My event 2/button> button typebutton classfc-event btn btn-sm btn-success>My event 3/button> button typebutton classfc-event btn btn-sm btn-warning>My event 4/button> button typebutton classfc-event btn btn-sm btn-danger>My event 5/button> button typebutton classfc-event btn btn-sm btn-info>My event 6/button> --> /div> /div> !-- FIN ELEMENTO CONTENEDOR DE LOS PROGRAMAS ASIGNADOS DE CONTACTO --> /div> /div> div classcol-md-6 mb-3> div classlist-with-gap> span classinput-icon> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-map-pin>path dM21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z>/path>circle cx12 cy10 r3>/circle>/svg> textarea classform-control rows2 placeholderDirección iddirPOS namedirPOS maxlength100>/textarea> /span> label classtext-muted font-size-sm>Género/label> span classinput-icon input-icon-right> select idgender1POS classform-control custom-select namegender1POS> option selected value0>Género/option> /select> /span> /div> br>br> div classcard -mt-3> ul classlist-group list-group-flush> li classlist-group-item d-flex justify-content-between align-items-center flex-wrap> h6 classmb-0>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-globe mr-2 icon-inline>circle cx12 cy12 r10>/circle>line x12 y112 x222 y212>/line>path dM12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z>/path>/svg>Origen/h6> span classtext-secondary idorigenCOS>/span> /li> li classlist-group-item d-flex justify-content-between align-items-center flex-wrap> h6 classmb-0>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-grid>rect x3 y3 width7 height7>/rect>rect x14 y3 width7 height7>/rect>rect x14 y14 width7 height7>/rect>rect x3 y14 width7 height7>/rect>/svg> Audiencia/h6> span classtext-secondary idaudienciaCOS>/span> /li> li classlist-group-item d-flex justify-content-between align-items-center flex-wrap> h6 classmb-0>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-calendar mr-2>rect x3 y4 width18 height18 rx2 ry2>/rect>line x116 y12 x216 y26>/line>line x18 y12 x28 y26>/line>line x13 y110 x221 y210>/line>/svg>Fecha ingreso:/h6> span classtext-secondary idfechaCOS>/span> /li> li classlist-group-item d-flex justify-content-between align-items-center flex-wrap> h6 classmb-0>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-clock text-success mr-2>circle cx12 cy12 r10>/circle>polyline points12 6 12 12 16 14>/polyline>/svg>Estátus/h6> span classtext-secondary idestatusCOS>/span> /li> li classlist-group-item d-flex justify-content-between align-items-center flex-wrap> h6 classmb-0>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-eye text-danger mr-2>path dM1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z>/path>circle cx12 cy12 r3>/circle>/svg>Formulario/h6> span classtext-secondary idestatus2OS>/span> /li> li classlist-group-item d-flex justify-content-between align-items-center flex-wrap> h6 classmb-0>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-map-pin text-primary>path dM21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z>/path>circle cx12 cy10 r3>/circle>/svg> IP/h6> span classtext-secondary iddiripCOS>/span> /li> li classlist-group-item d-flex justify-content-between align-items-center flex-wrap> h6 classmb-0>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-users text-info mr-2>path dM17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2>/path>circle cx9 cy7 r4>/circle>path dM23 21v-2a4 4 0 0 0-3-3.87>/path>path dM16 3.13a4 4 0 0 1 0 7.75>/path>/svg>Propietario/h6> span classtext-secondary mr-1 idcambioUSRPOS>label idnombreAgentePOS classmr-1>/label>/span> /li> !-- li classlist-group-item d-flex justify-content-between align-items-center flex-wrap> h6 classmb-0>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-eye text-danger mr-2>path dM1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z>/path>circle cx12 cy12 r3>/circle>/svg>Formulario/h6> span classtext-secondary idsourceC>/span> /li> --> /ul> /div> /div> /div> !-- FILA DE ELEMENTOS DEL CONTACTO --> /form> !-- FIN DEL FORMULARIO --> /div> /div> /section> section idsection2OS> div classrow> div classcol-md-12 mb-3> !-- BOTÓN DEL COLLAPSE PARA EL HISTORIAL --> button classbtn btn-primary typebutton data-togglecollapse data-target#historialCompletOS aria-expandedtrue aria-controlshistorialComplet> Ver historial de interacciones /button> !-- FIN BOTÓN DEL COLLAPSE PARA EL HISTORIAL --> div classcard h-100 shadow-none bg-gray-300 collapse fade idhistorialCompletOS> div classcard-body idcontHistoryOS> h6 classd-flex align-items-center mb-3>i classmaterial-icons text-danger mr-2>history/i>Historial de contacto/h6> /div> /div> /div> /div> /section> /div> /div> /div> !-- FIN BARRA LATERAL DERECHA --> /div> div classbootbox-body idcontenidoOS> div classcard> div classcard-body> /div> /div> /div> /div> div classmodal-footer> button typebutton classbtn btn-danger bootbox-cancel idbtnCancelarCOS>Cancelar/button> !-- button typebutton classbtn btn-info idbtnAbrirVentaP>Abrir venta/button> --> button typebutton classbtn btn-success bootbox-accept idbtnActualizarCOS>Actualizar datos/button> /div> /div> /div>/div>!-- +++++++++++++++++++++FIN MODAL OPENSALE++++++++++++++++++++++++++++++++ -->!-- ------------------------- MODAL PARA CAMBIAR EL TELEFONO OPENSALE--------------------------------------- -->div idmodalChangeTelOS classbootbox modal fade bootbox-prompt show tabindex-1 roledialog aria-modaltrue stylepadding-right: 9px; display: none;> div classmodal-dialog> div classmodal-content> div classmodal-header> h5 classmodal-title>Modificar el número de teléfono:/h5> /div> div classmodal-body> div classbootbox-body> form classbootbox-form> input classbootbox-input bootbox-input-text form-control autocompleteoff typetext idnumtOS> /form> /div> /div> div classmodal-footer> button typebutton classbtn btn-secondary btn-default bootbox-cancel idcancelTelOS>Cancelar/button> button typebutton classbtn btn-primary bootbox-accept idactTelOS>Actualizar/button> /div> /div> /div>/div>!-- ------------------------- FIN MODAL PARA CAMBIE EL TELEFONO --------------------------------------- -->!-- ------------------------- MODAL PARA EDITAR EL CORREO --------------------------------------- -->div idmodalChangeMailOS classbootbox modal fade bootbox-prompt show tabindex-1 roledialog aria-modaltrue stylepadding-right: 9px; display: none;> div classmodal-dialog> div classmodal-content> div classmodal-header> h5 classmodal-title>Modificar la dirección de correo:/h5> /div> div classmodal-body> div classbootbox-body> form classbootbox-form> input classbootbox-input bootbox-input-text form-control autocompleteoff typetext iddirmailOS> /form> /div> /div> div classmodal-footer> button typebutton classbtn btn-secondary btn-default bootbox-cancel idcancelMailModifOS>Cancelar/button> button typebutton classbtn btn-primary bootbox-accept idactMailOS>Actualizar/button> /div> /div> /div>/div>!-- ------------------------- FIN MODAL PARA CAMBIE EL TELEFONO --------------------------------------- -->!-- ************************************************************************************************************************ -->!-- MODAL DE DETALLE DE CONTACTO EN NOT AVAILABLE -->!-- ************************************************************************************************************************ -->div classmodal fade show idmodalDetailNA tabindex-1 roledialog aria-labelledbymodalTitle aria-hiddentrue styleoverflow-y: scroll;> div classmodal-dialog modal-xl roledocument> div classmodal-content> div classmodal-header bg-dark text-white shadow-none> h6 classmodal-title idmodalTitleNA>Información del contacto/h6> button typebutton classclose data-dismissmodal aria-labelClose> span aria-hiddentrue>×/span> /button> /div> div classmodal-body> div classrow gutters-sm> div classcol-md-4 mb-3> div classcard> div classcard-body> div classd-flex flex-column align-items-center text-center> div classrounded-circle stylebackground: #718096; color: #fff; height: 100px; width: 100px; text-align: center; font-size: 32px; padding-top: 26px;> label idinitialNNA classtext-center>LT/label> /div> div classmt-3> h4 idnombreCNA>Kenneth Valdez/h4> p classtext-secondary mb-1 idcorreoCNA>Full Stack Developer/p> p classtext-muted font-size-sm>Ciudad: span idciudadConNA>/span>/p> div classrow> ul> li styledisplay: inline-block> a href> div classrounded-circle font-size-sm stylebackground: #cbd5e0; color: #34495E; height: 40px; width: 40px; text-align: center; padding-top: 7px;> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-edit>path dM11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7>/path>path dM18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z>/path>/svg> /div> /a> label stylefont-size: 10px;>Nota/label> /li> li styledisplay: inline-block> a href> div classrounded-circle font-size-sm stylebackground: #cbd5e0; color: #34495E; height: 40px; width: 40px; text-align: center; padding-top: 7px;> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-mail>path dM4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z>/path>polyline points22,6 12,13 2,6>/polyline>/svg> /div> /a> label stylefont-size: 10px;>E-mail/label> /li> li styledisplay: inline-block> a href> div classrounded-circle font-size-sm stylebackground: #cbd5e0; color: #34495E; height: 40px; width: 40px; text-align: center; padding-top: 7px;> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-phone>path dM22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z>/path>/svg> /div> /a> label stylefont-size: 10px;>Tels/label> /li> li styledisplay: inline-block> a href> div classrounded-circle font-size-sm stylebackground: #cbd5e0; color: #34495E; height: 40px; width: 40px; text-align: center; padding-top: 7px;> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-info>circle cx12 cy12 r10>/circle>line x112 y116 x212 y212>/line>line x112 y18 x212.01 y28>/line>/svg> /div> /a> label stylefont-size: 10px;>Log/label> /li> li styledisplay: inline-block> a href> div classrounded-circle font-size-sm stylebackground: #cbd5e0; color: #34495E; height: 40px; width: 40px; text-align: center; padding-top: 7px;> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-file-text>path dM14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z>/path>polyline points14 2 14 8 20 8>/polyline>line x116 y113 x28 y213>/line>line x116 y117 x28 y217>/line>polyline points10 9 9 9 8 9>/polyline>/svg> /div> /a> label stylefont-size: 10px;>Historial/label> /li> li styledisplay: inline-block> a href> div classrounded-circle font-size-sm stylebackground: #cbd5e0; color: #34495E; height: 40px; width: 40px; text-align: center; padding-top: 7px;> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-clipboard>path dM16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2>/path>rect x8 y2 width8 height4 rx1 ry1>/rect>/svg> /div> /a> label stylefont-size: 10px;>Pend/label> /li> /ul> /div> !-- button classbtn btn-primary>Follow/button> button classbtn btn-outline-primary>Message/button> --> /div> /div> /div> /div> !-- *********************** ELEMENTOS DETALLADOS COLAPSADOS *************************** --> div classrow> div classcol-md-12 mb-3> div classcard mb-3> !-- Telefonos --> div classcard-header py-1 border-0> h6>Teléfonos/h6> button typebutton data-actioncollapse data-target#card-bodyTNA data-togglecollapse aria-expandedtrue classbtn btn-sm btn-text-secondary btn-icon rounded-circle ml-auto>i classmaterial-icons>add/i>/button> /div> div classcollapse idcard-bodyTNA style> div classcard-body> ul classlist-group has-icon list-group-borderless idlisTelefonosNA> li classlist-group-item has-icon>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-check-circle text-success mr-2>path dM22 11.08V12a10 10 0 1 1-5.93-9.14>/path>polyline points22 4 12 14.01 9 11.01>/polyline>/svg>strong>Retina: 13.3-inch /strong>/li> /ul> /div> /div> /div> div classcard mb-3> !-- Correos --> div classcard-header py-1 border-0> h6>Correos/h6> button typebutton data-actioncollapse data-target#card-bodyCNA data-togglecollapse aria-expandedtrue classbtn btn-sm btn-text-secondary btn-icon rounded-circle ml-auto>i classmaterial-icons>add/i>/button> /div> div classcollapse idcard-bodyCNA style> div classcard-body> ul classlist-group has-icon list-group-borderless idlistCorreosNA> li classlist-group-item has-icon>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-check-circle text-success mr-2>path dM22 11.08V12a10 10 0 1 1-5.93-9.14>/path>polyline points22 4 12 14.01 9 11.01>/polyline>/svg>strong>Retina: 13.3-inch /strong>/li> /ul> /div> /div> /div> div classcard mb-3> !-- Etiquetas --> div classcard-header py-1 border-0> h6>Etiquetas/h6> button typebutton data-actioncollapse data-target#card-bodyENA data-togglecollapse aria-expandedtrue classbtn btn-sm btn-text-secondary btn-icon rounded-circle ml-auto>i classmaterial-icons>add/i>/button> /div> div classcollapse idcard-bodyENA style> div classcard-body> div classtagin-wrapper form-control idcontEtiquetasNA> span classtagin-tag>HTMLspan classtagin-tag-remove>/span>/span>span classtagin-tag>CSSspan classtagin-tag-remove>/span>/span> input typetext classtagin-input placeholder stylewidth: 3px;> /div> /div> /div> /div> div classcard mb-3> !-- Entrada de Interacciones --> div classcard-header py-1 border-0> h6>Agregar interacción/h6> button typebutton data-actioncollapse data-target#card-bodyIntNA data-togglecollapse aria-expandedtrue classbtn btn-sm btn-text-secondary btn-icon rounded-circle ml-auto>i classmaterial-icons>add/i>/button> /div> div classcollapse idcard-bodyIntNA style> div classcard-body> div classform-group row no-gutters> div classcol> div classfloating-label input-icon mt-3> i classfa fa-edit>/i> textarea classform-control autosize idinteraccNA placeholderTextarea styleoverflow: hidden; overflow-wrap: break-word; resize: none; height: 74px;>/textarea> label forfloatingTextareaIconAutosize>Interacción con el contacto/label> /div> div classfloating-label input-icon mt-3 styletext-align: right;> button typebutton classbtn btn-info has-icon idaddInteraccion1NA> Agregar i classmaterial-icons ml-1>exit_to_app/i> /button> /div> /div> /div> /div> /div> /div> /div> /div> !-- *********************** FIN DE ELEMENTOS DETALLADOS COLAPSADOS *************************** --> /div> !-- BARRA LATERAL IZQUIERA --> !-- +++++++++++++++++++++++++++++++ BARRA LATERAL DERECHA ++++++++++++++++++++++++++++++++++++++++ --> div classcol-md-8> div classcard> div classcard-body> section idsection1NA> h5>Datos generales del contacto/h5> p classtext-muted font-size-sm> Estos datos se pueden modificar según se necesite. /p> div classrow> div classcol-md-12> form iddatosCNA stylewidth: 100%;> div classrow> div classcol-md-6 mb-3> div classlist-with-gap> span classinput-icon> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-edit-3>path dM12 20h9>/path>path dM16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z>/path>/svg> input typetext classform-control placeholderPrimer nombre namefnNA idfnNA> /span> span classinput-icon> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-edit-3>path dM12 20h9>/path>path dM16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z>/path>/svg> input typetext classform-control placeholderPrimer apellido nameflNA idflNA> /span> /div> /div> div classcol-md-6 mb-3> div classlist-with-gap> span classinput-icon> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-edit-3>path dM12 20h9>/path>path dM16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z>/path>/svg> input typetext classform-control placeholderSegundo nombre namesnNA idsnNA> /span> span classinput-icon> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-edit-3>path dM12 20h9>/path>path dM16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z>/path>/svg> input typetext classform-control placeholderSegundo apellido nameslNA idslNA> /span> /div> /div> /div> div classrow> div classcol-md-6 mb-3> div classlist-with-gap> span classinput-icon> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-user>path dM20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2>/path>circle cx12 cy7 r4>/circle>/svg> input typetext classform-control placeholderDNI: namedniNA iddniNA vluep> /span> span classinput-icon> svg data-toggletooltip data-placementtop title data-original-titleFecha de nacimiento xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-calendar>rect x3 y4 width18 height18 rx2 ry2>/rect>line x116 y12 x216 y26>/line>line x18 y12 x28 y26>/line>line x13 y110 x221 y210>/line>/svg> input typedate classform-control placeholderFecha de nacimiento namebdN idfnacimientoNA> /span> label classtext-muted font-size-sm>País de nacimiento/label> span classinput-icon input-icon-right> select idcbopaisNNA classform-control custom-select namepaisnNA> option selected value0>País de nacimiento.../option> /select> /span> label classtext-muted font-size-sm>País de residencia/label> span classinput-icon input-icon-right> select idcbopaisRNA classform-control custom-select namepaisrNA> option selected value0>País de residencia.../option> /select> /span> label classtext-muted font-size-sm>Ciudad de residencia/label> span classinput-icon input-icon-right> select idciudadCNA classform-control custom-select nameciudadcNA> option selected value0>Ciudad de residencia.../option> /select> /span> !-- ELEMENTO CONTENEDOR DE LOS PROGRAMAS ASIGNADOS DE CONTACTO --> label classtext-muted font-size-sm>Programas de interés/label> div classcard-body idProgramLabelsNA> div classlist-with-gap idProgramListNA stylebackground: #f4f4f4;> !-- button typebutton classfc-event btn btn-sm btn-primary>My event 1/button> button typebutton classfc-event btn btn-sm btn-secondary>My event 2/button> button typebutton classfc-event btn btn-sm btn-success>My event 3/button> button typebutton classfc-event btn btn-sm btn-warning>My event 4/button> button typebutton classfc-event btn btn-sm btn-danger>My event 5/button> button typebutton classfc-event btn btn-sm btn-info>My event 6/button> --> /div> /div> !-- FIN ELEMENTO CONTENEDOR DE LOS PROGRAMAS ASIGNADOS DE CONTACTO --> /div> /div> div classcol-md-6 mb-3> div classlist-with-gap> span classinput-icon> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-map-pin>path dM21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z>/path>circle cx12 cy10 r3>/circle>/svg> textarea classform-control rows2 placeholderDirección iddirNA namedirNA maxlength100>/textarea> /span> label classtext-muted font-size-sm>Género/label> span classinput-icon input-icon-right> select idgender1NA classform-control custom-select namegender1NA> option selected value0>Género/option> /select> /span> /div> br>br> div classcard -mt-3> ul classlist-group list-group-flush> li classlist-group-item d-flex justify-content-between align-items-center flex-wrap> h6 classmb-0>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-globe mr-2 icon-inline>circle cx12 cy12 r10>/circle>line x12 y112 x222 y212>/line>path dM12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z>/path>/svg>Origen/h6> span classtext-secondary idorigenCNA>/span> /li> li classlist-group-item d-flex justify-content-between align-items-center flex-wrap> h6 classmb-0>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-grid>rect x3 y3 width7 height7>/rect>rect x14 y3 width7 height7>/rect>rect x14 y14 width7 height7>/rect>rect x3 y14 width7 height7>/rect>/svg> Audiencia/h6> span classtext-secondary idaudienciaCNA>/span> /li> li classlist-group-item d-flex justify-content-between align-items-center flex-wrap> h6 classmb-0>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-calendar mr-2>rect x3 y4 width18 height18 rx2 ry2>/rect>line x116 y12 x216 y26>/line>line x18 y12 x28 y26>/line>line x13 y110 x221 y210>/line>/svg>Fecha ingreso:/h6> span classtext-secondary idfechaCNA>/span> /li> li classlist-group-item d-flex justify-content-between align-items-center flex-wrap> h6 classmb-0>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-clock text-success mr-2>circle cx12 cy12 r10>/circle>polyline points12 6 12 12 16 14>/polyline>/svg>Estátus/h6> span classtext-secondary idestatusCNA>/span> /li> li classlist-group-item d-flex justify-content-between align-items-center flex-wrap> h6 classmb-0>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-eye text-danger mr-2>path dM1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z>/path>circle cx12 cy12 r3>/circle>/svg>Formulario/h6> span classtext-secondary idestatus2NA>/span> /li> li classlist-group-item d-flex justify-content-between align-items-center flex-wrap> h6 classmb-0>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-map-pin text-primary>path dM21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z>/path>circle cx12 cy10 r3>/circle>/svg> IP/h6> span classtext-secondary iddiripCNA>/span> /li> li classlist-group-item d-flex justify-content-between align-items-center flex-wrap> h6 classmb-0>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-users text-info mr-2>path dM17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2>/path>circle cx9 cy7 r4>/circle>path dM23 21v-2a4 4 0 0 0-3-3.87>/path>path dM16 3.13a4 4 0 0 1 0 7.75>/path>/svg>Propietario/h6> span classtext-secondary mr-1 idcambioUSRO>label idnombreAgenteNA classmr-1>/label> /span> /li> /ul> /div> /div> /div> !-- FILA DE ELEMENTOS DEL CONTACTO --> /form> !-- FIN DEL FORMULARIO --> /div> /div> /section> section idsection2NA> div classrow> div classcol-md-12 mb-3> !-- BOTÓN DEL COLLAPSE PARA EL HISTORIAL --> button idbtnHistoryNA classbtn btn-primary typebutton data-togglecollapse data-target#historialCompletNA aria-expandedtrue aria-controlshistorialComplet> Ver historial de interacciones /button> !-- FIN BOTÓN DEL COLLAPSE PARA EL HISTORIAL --> div classcard h-100 shadow-none bg-gray-300 collapse fade idhistorialCompletNA> div classcard-body idcontHistoryNA> h6 classd-flex align-items-center mb-3>i classmaterial-icons text-danger mr-2>history/i>Historial de contacto/h6> /div> /div> /div> /div> /section> /div> /div> /div> !-- FIN BARRA LATERAL DERECHA --> /div> div classbootbox-body idcontenidoNA> div classcard> div classcard-body> /div> /div> /div> /div> div classmodal-footer> button typebutton classbtn btn-danger bootbox-cancel idbtnCancelarCNA>Cancelar/button> !-- button typebutton classbtn btn-info idbtnAbrirVentaP>Abrir venta/button> --> button typebutton classbtn btn-success bootbox-accept idbtnActualizarCNA>Actualizar datos/button> /div> /div> /div>/div>!-- FIN DE DETALLE DE CONTACTO EN NA -->!-- ++++++++++++++++++++ MODAL SUCCESS ++++++++++++++++++++++++++++++++++++ -->div classmodal fade modal-content-top idmodalSuccess tabindex-1 aria-labelledbytopModalLabel styledisplay: none; z-index: 2048; aria-hiddentrue> div classmodal-dialog roledocument> div classmodal-content> div classmodal-header> h6 classmodal-title idtopModalLabel>!Datos actualizados!/h6> button typebutton classclose data-dismissmodal aria-labelClose> span aria-hiddentrue>×/span> /button> /div> div classmodal-body text-center> section> i classmaterial-icons text-success>verified_user/i> /section> label idlblContenidoSuccess>!Los datos se actualizaron exitosamente!/label> /div> /div> /div>/div>!-- ++++++++++++++++++++ FIN MODAL SUCCESS ++++++++++++++++++++++++++++++++++++ -->!-- ++++++++++++++++++++ MODAL ERROR ++++++++++++++++++++++++++++++++++++ -->div classmodal fade modal-content-top idmodalError tabindex-1 aria-labelledbytopModalLabel styledisplay: none; aria-hiddentrue> div classmodal-dialog roledocument> div classmodal-content> div classmodal-header> h6 classmodal-title idtopModalLabelError>!Actualización de datos!/h6> button typebutton classclose data-dismissmodal aria-labelClose> span aria-hiddentrue>×/span> /button> /div> div classmodal-body text-center> section> i classmaterial-icons text-danger>report_problem/i> /section> label idlblContenidoError>!Los datos se actualizaron exitosamente!/label> /div> /div> /div>/div>!-- ++++++++++++++++++++ FIN MODAL ERROR ++++++++++++++++++++++++++++++++++++ -->!-- ------------------------- MODAL PARA CAMBIE EL TELEFONO --------------------------------------- -->div idmodalChangeTel classbootbox modal fade bootbox-prompt show tabindex-1 roledialog aria-modaltrue stylepadding-right: 9px; display: none;> div classmodal-dialog> div classmodal-content> div classmodal-header> h5 classmodal-title>Modificar el número de teléfono:/h5> /div> div classmodal-body> div classbootbox-body> form classbootbox-form> input classbootbox-input bootbox-input-text form-control autocompleteoff typetext idnumt> /form> /div> /div> div classmodal-footer> button typebutton classbtn btn-secondary btn-default bootbox-cancel idcancelTel>Cancelar/button> button typebutton classbtn btn-primary bootbox-accept idactTel>Actualizar/button> /div> /div> /div>/div>!-- ------------------------- FIN MODAL PARA CAMBIE EL TELEFONO --------------------------------------- -->div idmodalChangeTelPr classbootbox modal fade bootbox-prompt show tabindex-1 roledialog aria-modaltrue stylepadding-right: 9px; display: none;> div classmodal-dialog> div classmodal-content> div classmodal-header> h5 classmodal-title>Modificar el número de teléfono:/h5> /div> div classmodal-body> div classbootbox-body> form classbootbox-form> input classbootbox-input bootbox-input-text form-control autocompleteoff typetext idnumtPr> /form> /div> /div> div classmodal-footer> button typebutton classbtn btn-secondary btn-default bootbox-cancel idcancelTelPr>Cancelar/button> button typebutton classbtn btn-primary bootbox-accept idactTelPr>Actualizar/button> /div> /div> /div>/div>!-- ------------------------- FIN MODAL PARA CAMBIE EL TELEFONO --------------------------------------- -->!-- --------------------------- MODAL CAMBIA TELEFONO EN PENDING INFO --------------------------------- -->div idmodalChangeTelPending classbootbox modal fade bootbox-prompt show tabindex-1 roledialog aria-modaltrue stylepadding-right: 9px; display: none;> div classmodal-dialog> div classmodal-content> div classmodal-header> h5 classmodal-title>Modificar el número de teléfono:/h5> /div> div classmodal-body> div classbootbox-body> form classbootbox-form> input classbootbox-input bootbox-input-text form-control autocompleteoff typetext idnumtPending> /form> /div> /div> div classmodal-footer> button typebutton classbtn btn-secondary btn-default bootbox-cancel idcancelTelPending>Cancelar/button> button typebutton classbtn btn-primary bootbox-accept idactTelPending>Actualizar/button> /div> /div> /div>/div>!-- ------------------------- FIN MODAL PARA CAMBIE EL TELEFONO PENDING ---------------------------------- -->!-- ------------------------- MODAL PARA EDITAR EL CORREO --------------------------------------- -->div idmodalChangeMail classbootbox modal fade bootbox-prompt show tabindex-1 roledialog aria-modaltrue stylepadding-right: 9px; display: none;> div classmodal-dialog> div classmodal-content> div classmodal-header> h5 classmodal-title>Modificar la dirección de correo:/h5> /div> div classmodal-body> div classbootbox-body> form classbootbox-form> input classbootbox-input bootbox-input-text form-control autocompleteoff typetext iddirmail> /form> /div> /div> div classmodal-footer> button typebutton classbtn btn-secondary btn-default bootbox-cancel idcancelMailModif>Cancelar/button> button typebutton classbtn btn-primary bootbox-accept idactMail>Actualizar/button> /div> /div> /div>/div>!-- ------------------------- FIN MODAL PARA CAMBIE EL TELEFONO --------------------------------------- -->!-- ------------------------- MODAL PARA EDITAR EL CORREO PENDING ------------------------------------- -->div idmodalChangeMailPending classbootbox modal fade bootbox-prompt show tabindex-1 roledialog aria-modaltrue stylepadding-right: 9px; display: none;> div classmodal-dialog> div classmodal-content> div classmodal-header> h5 classmodal-title>Modificar la dirección de correo:/h5> /div> div classmodal-body> div classbootbox-body> form classbootbox-form> input classbootbox-input bootbox-input-text form-control autocompleteoff typetext iddirmailPending> /form> /div> /div> div classmodal-footer> button typebutton classbtn btn-secondary btn-default bootbox-cancel idcancelMailModPending>Cancelar/button> button typebutton classbtn btn-primary bootbox-accept idactMailPending>Actualizar/button> /div> /div> /div>/div>!-- ------------------------- FIN MODAL PARA CAMBIE EL CORREO PENDING--------------------------------------- -->!-- ------------------------ MENSAJE SUCCESS ---------------------------------------------------------- -->div classmodal fade modal-content-top idmsjSuccess tabindex-1 aria-labelledbytopModalLabel styledisplay: none; aria-hiddentrue> div classmodal-dialog roledocument> div classmodal-content> div classmodal-header> h6 classmodal-title idtitleSuccess>label idcontSuccess>/label>/h6> button typebutton classclose data-dismissmodal aria-labelClose> span aria-hiddentrue>×/span> /button> /div> div classmodal-body text-center> section> i classmaterial-icons text-success>verified_user/i> /section> label idcontMsjSuccess>/label> /div> /div> /div>/div>!-- ------------------------ FIN MENSAJE SUCCESS ---------------------------------------------------------- -->!-- ------------------------ MENSAJE SUCCESS OPEN ---------------------------------------------------------- -->div classmodal fade modal-content-top idmsjSuccessOpen tabindex-1 aria-labelledbytopModalLabel styledisplay: none; aria-hiddentrue> div classmodal-dialog roledocument> div classmodal-content> div classmodal-header> h6 classmodal-title idtitleSuccessO>label idcontSuccess>/label>/h6> button typebutton classclose data-dismissmodal aria-labelClose> span aria-hiddentrue>×/span> /button> /div> div classmodal-body text-center> section> i classmaterial-icons text-success>verified_user/i> /section> label idcontMsjSuccessO>/label> /div> /div> /div>/div>!-- ------------------------ FIN MENSAJE SUCCESS ---------------------------------------------------------- -->!-- ------------------------ MODAL APERTURA VENTA ---------------------------------------------------------- -->div classmodal fade modal-content-top idaprVenta tabindex-1 aria-labelledbytopModalLabel styledisplay: none; aria-hiddentrue> div classmodal-dialog roledocument> div classmodal-content> div classmodal-header> h6 classmodal-title idtitleApr>label idcontApr>Seleccione los datos de interés del contacto/label>/h6> button typebutton classclose data-dismissmodal aria-labelClose> span aria-hiddentrue>×/span> /button> /div> div classmodal-body> div classcard> div classinput-group> div classinput-group-prepend> span classinput-group-text>Nombre completo/span> /div> input typetext classform-control disabled placeholderFirstname namefname2 idfname2 disabled> input typetext classform-control disabled placeholderLastname namelname2 idlname2 disabled> /div> br> section idselect2 data-select2-idselect2> div classrow> div classcol-sm-6> h7>Programa de interés/h7> span classinput-icon input-icon-right> select idcboProg2 classform-control custom-select required> option selected value0 classtext-muted>Seleccione.../option> /select> /span> /div> div classcol-sm-6> h7>Horario de interés/h7> span classinput-icon input-icon-right> select idcboHor2 classform-control custom-select required> option selected value0 classtext-muted>Seleccione.../option> /select> /span> /div> /div>br>br> div classrow> div classcol-md-12 idmsjErr> /div> /div> br> /section> /div> label idcontMsjSuccess>/label> /div> div classmodal-footer> section> div classrow> div classlist-with-gap> button typebutton classbtn btn-primary has-icon idbtnAprV>i classmaterial-icons mr-1>thumb_up/i> OK/button>!-- button typebutton classbtn btn-success has-icon id>i classmaterial-icons mr-1>security/i> Vender/button>--> button typebutton classbtn btn-danger has-icon idbtnCancelarAprV>i classmaterial-icons mr-1>delete/i> Cancelar/button> /div> /div> /section> /div> /div> /div>/div>!-- ------------------------ FIN APERTURA VENTA ---------------------------------------------------------- -->!-- ------------------------ MODAL CAMBIO A CLIENTE ACTIVO ---------------------------------------------------------- -->!--div classmodal fade modal-content-top idmodalCli tabindex-1 aria-labelledbytopModalLabel styledisplay: none; aria-hiddentrue> div classmodal-dialog roledocument> div classmodal-content> div classmodal-header> h6 classmodal-title idtitleCli>label idcontCli>Seleccione los datos para registrar el cliente/label>/h6> button typebutton classclose data-dismissmodal aria-labelClose> span aria-hiddentrue>×/span> /button> /div> div classmodal-body> div classcard> div classinput-group> div classinput-group-prepend> span classinput-group-text>Nombre completo/span> /div> input typetext classform-control disabled placeholderFirstname namefname3 idfname3 disabled> input typetext classform-control disabled placeholderLastname namelname3 idlname3 disabled> /div> br> section idselect3 data-select2-idselect3> div classrow> div classcol-sm-6> h7>Programa a inscribir/h7> span classinput-icon input-icon-right> select idcboProg3 classform-control custom-select required> option selected value0 classtext-muted>Seleccione.../option> /select> /span> /div> div classcol-sm-6> h7>Horario a inscribir/h7> span classinput-icon input-icon-right> select idcboHor3 classform-control custom-select required> option selected value0 classtext-muted>Seleccione.../option> /select> /span> /div> /div>br> div classrow> div classcol-sm-6> h7>Nivel didáctico/h7> span classinput-icon input-icon-right> select idcboNivD3 classform-control custom-select required> option selected value0 classtext-muted>Seleccione.../option> /select> /span> /div> div classcol-sm-6> h7>Unidad didáctica/h7> span classinput-icon input-icon-right> select idcboUndD3 classform-control custom-select required> option selected value0 classtext-muted>Seleccione.../option> /select> /span> /div> /div>br> div classrow> div classcol-sm-6> h7>Fecha de inicio del curso/h7> span classinput-icon> svg data-toggletooltip data-placementtop title data-original-titleFecha de inicio xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-calendar>rect x3 y4 width18 height18 rx2 ry2>/rect>line x116 y12 x216 y26>/line>line x18 y12 x28 y26>/line>line x13 y110 x221 y210>/line>/svg> input typedate classform-control placeholderFecha de inicio namefinicio idfinicio> /span> /div> div classcol-sm-6> h7>Fecha de finalización/h7> span classinput-icon> svg data-toggletooltip data-placementtop title data-original-titleFecha de finalización xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-calendar>rect x3 y4 width18 height18 rx2 ry2>/rect>line x116 y12 x216 y26>/line>line x18 y12 x28 y26>/line>line x13 y110 x221 y210>/line>/svg> input typedate classform-control placeholderFecha de inicio nameffin idffin> /span> /div> /div> br> div classrow> div classcol-sm-6> div classrow> div classcol-sm-12> h7>Objetivo por el cual se inscribe/h7> div classrow> span classinput-icon input-icon-right col-sm-11> select idcboObjetivo classform-control custom-select required> option selected value0 classtext-muted>Seleccione.../option> /select> /span> button idbtnAddObj classbtn btn-icon btn-primary typebutton>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-plus-circle>circle cx12 cy12 r10>/circle>line x112 y18 x212 y216>/line>line x18 y112 x216 y212>/line>/svg>/button> /div> br> /div> /div> div classrow> div classcol-sm-6> h7>Horas por programa/h7> div classrow> div classcol-sm-12> input idtxtHrsProg classform-control inputmask typetext data-inputmask-aliasinteger data-inputmask-min0 inputmodenumeric styletext-align: right; maxlength2> /div> /div> /div> div classcol-sm-6> div classrow iddiasS> div classcol-sm-1> h7>center>L/center>/h7> div classcustom-control custom-control-nolabel custom-checkbox> input typecheckbox classcustom-control-input idchkL namediaS> label classcustom-control-label forchkL>/label> /div> /div> div classcol-sm-1> h7>M/h7> div classcustom-control custom-control-nolabel custom-checkbox> input typecheckbox classcustom-control-input idchkM namediaS> label classcustom-control-label forchkM>/label> /div> /div> div classcol-sm-1> h7>X/h7> div classcustom-control custom-control-nolabel custom-checkbox> input typecheckbox classcustom-control-input idchkX namediaS> label classcustom-control-label forchkX>/label> /div> /div> div classcol-sm-1> h7>J/h7> div classcustom-control custom-control-nolabel custom-checkbox> input typecheckbox classcustom-control-input idchkJ namediaS> label classcustom-control-label forchkJ>/label> /div> /div> div classcol-sm-1> h7>V/h7> div classcustom-control custom-control-nolabel custom-checkbox> input typecheckbox classcustom-control-input idchkV namediaS> label classcustom-control-label forchkV>/label> /div> /div> div classcol-sm-1> h7>S/h7> div classcustom-control custom-control-nolabel custom-checkbox> input typecheckbox classcustom-control-input idchkS namediaS> label classcustom-control-label forchkS>/label> /div> /div> div classcol-sm-1> h7>D/h7> div classcustom-control custom-control-nolabel custom-checkbox> input typecheckbox classcustom-control-input idchkD namediaS> label classcustom-control-label forchkD>/label> /div> /div> /div> /div> /div> /div> div classcol-sm-6> div classrow> div classcol-sm-4> h7>Grupo al cual inscribir/h7> div classrow> span classinput-icon input-icon-right col-sm-12> select idcboGrupos classform-control custom-select required> option selected value0 classtext-muted>Seleccione.../option> /select> /span> button idbtnAddObj classbtn btn-icon btn-primary typebutton>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-plus-circle>circle cx12 cy12 r10>/circle>line x112 y18 x212 y216>/line>line x18 y112 x216 y212>/line>/svg>/button> /div> /div> div classcol-sm-3> h8>Monto ($)/h8> div classrow> span classinput-icon input-icon-right col-sm-12> input idtxtMontoP classform-control inputmask typetext data-inputmask-aliasdecimal data-inputmask-digits2 data-inputmask-groupseparator, inputmodenumeric styletext-align: right; maxlength7 autocompleteoff> /span> /div> /div> div classcol-sm-2> h8>Parcial ($)/h8> div classrow> span classinput-icon input-icon-right col-sm-12> input idtxtParcialP classform-control inputmask typetext data-inputmask-aliasdecimal data-inputmask-digits2 data-inputmask-groupseparator, inputmodenumeric styletext-align: right; maxlength3 autocompleteoff> /span> /div> /div> div classcol-sm-2> h7>Descuento (% )/h7> div classdropdown dropdown-hover iddropDsc> a href# classdropdown-toggle data-toggledropdown>Descuento: /a> div classdropdown-menu> a name idcMonto classdropdown-item hrefjavascript:void(0)>Monto/a> a name idcPorcentaje classdropdown-item hrefjavascript:void(0)>Porcentaje (%)/a> a name idc0 classdropdown-item hrefjavascript:void(0)>0/a> /div> /div> div classrow> span classinput-icon input-icon-right col-sm-12> input idtxtDscP classform-control inputmask typetext data-inputmask-aliasinteger data-inputmask-digits0 data-inputmask-groupseparator, inputmodenumeric styletext-align: right; maxlength2 autocompleteoff> /span> button idbtnAddObj classbtn btn-icon btn-primary typebutton>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-plus-circle>circle cx12 cy12 r10>/circle>line x112 y18 x212 y216>/line>line x18 y112 x216 y212>/line>/svg>/button> /div> /div> /div> div classrow> div classcol-sm-4> h7 classtext-info>Modalidad del descuento/h7> div classrow> span classinput-icon input-icon-right col-sm-12> select idcboModDsc classform-control custom-select required> option selected value0 classtext-muted>Seleccione.../option> option value1>Único/option> option value2>Permanente/option> /select> /span> button idbtnAddObj classbtn btn-icon btn-primary typebutton>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-plus-circle>circle cx12 cy12 r10>/circle>line x112 y18 x212 y216>/line>line x18 y112 x216 y212>/line>/svg>/button> /div> /div> div classcol-sm-3> h8>Pendiente ($)/h8> div classrow> span classinput-icon input-icon-right col-sm-12> input idtxtPendiente disabled classform-control inputmask typetext data-inputmask-aliasdecimal data-inputmask-digits2 data-inputmask-groupseparator, inputmodenumeric styletext-align: right; maxlength7 autocompleteoff> /span> /div> /div> div classcol-sm-4> h8>Monto Neto ($): /h8> div classrow> span classinput-icon input-icon-right col-sm-12> input idtxtMontoNeto disabled classform-control inputmask typetext data-inputmask-aliasdecimal data-inputmask-digits2 data-inputmask-groupseparator, inputmodenumeric styletext-align: right; maxlength3 autocompleteoff> /span> /div> /div> /div> br> div classrow> div classcol-sm-6> h7>Horas semanales/h7> div classrow> span classinput-icon input-icon-right col-sm-12> select idcboHrsSemanales classform-control custom-select required> option selected value0 classtext-muted>Seleccione.../option> option value2.0 class>2/option> option value3.0 class>3/option> option value4.0 class>4/option> option value4.5 class>4.5/option> option value6.0 class>6/option> option value7.5 class>7.5/option> option value8.0 class>8/option> option value10.0 class>10/option> option value12.0 class>12/option> option value16.0 class>16/option> option value20.0 class>20/option> option value24.0 class>24/option> option value30.0 class>30/option> /select> /span> /div> /div> div classcol-sm-6> h7>Duración (semanas)/h7> div classrow> span classinput-icon input-icon-right col-sm-12> div classcustom-file> input typetext idtxtCamSem classform-control placeholder disabled value0> /div> /span> /div> /div> /div> /div> /div> br> div classrow> div classcol-md-12 idmsjErr3> /div> /div> br> /section> /div> label idcontMsjSuccess>/label> /div> div classmodal-footer> section> div classrow> div classlist-with-gap> button typebutton classbtn btn-primary has-icon idbtnRegCli>i classmaterial-icons mr-1>thumb_up/i> Registrar/button> button typebutton classbtn btn-danger has-icon idbtnCanCli>i classmaterial-icons mr-1>delete/i> Cancelar/button> /div> /div> /section> /div> /div> /div> /div>-->!-- ------------------------ FIN CAMBIO A CLIENTE ACTIVO ---------------------------------------------------------- -->!-- ------------------------- MODAL PARA AGREGAR EL OBJETIVO --------------------------------------- -->div idmodalAddObj classbootbox modal fade bootbox-prompt tabindex-1 roledialog aria-modaltrue stylepadding-right: 9px; display: none; z-index: 2001;> div classmodal-dialog> div classmodal-content> div classmodal-header> h5 classmodal-title>Agregar el objetivo por el cual se inscribe:/h5> /div> div classmodal-body> div classbootbox-body> form classbootbox-form> div classfloating-label input-icon mt-3> i classfa fa-award>/i> textarea classform-control autosize idtxtObjAV placeholderObjetivo styleoverflow: hidden; overflow-wrap: break-word; resize: none; height: 74px;>/textarea> label forfloatingTextareaIconAutosize>Objetivo/label> /div> /form> /div> /div> div classmodal-footer> button typebutton classbtn btn-secondary btn-default bootbox-cancel idcanObj>Cancelar/button> button typebutton classbtn btn-success bootbox-accept idaddObj>Agregar/button> /div> /div> /div>/div>!-- ------------------------- FIN MODAL PARA AGREGAR EL OBJETIVO--------------------------------------- -->!-- ------------------------- MODAL PARA ESTABLECER CONTACTO COMO NO APLICA --------------------------------------- -->div classmodal fade show idnotAvModal tabindex-1 aria-labelledbyverticalModalLabel styledisplay: none; padding-right: 9px; aria-modaltrue roledialog> div classmodal-dialog modal-dialog-centered roledocument> div classmodal-content> div classmodal-header> h6 classmodal-title idverticalModalLabel>Termina el seguimiento/h6> button typebutton classclose data-dismissmodal aria-labelClose> span aria-hiddentrue>×/span> /button> /div> div classmodal-body> section> div classrow> div classcol-sm-12 mb-3> div classlist-with-gap col-sm-12 idcontForm> div classfloating-label floating-label-lg col-sm-12> input typetext classform-control form-control-lg col-sm-12 mb-3 idupdateDown autocompleteoff maxlength250 placeholderRetroalimentación> label forupdateDown>Retroalimentación/label> /div> div classcol-sm-12> h7>Motivo por el cual no continúa el seguimiento/h7> div classrow> span classinput-icon input-icon-right col-sm-10> select idcboMotivo classform-control custom-select required> option selected value0>Seleccione.../option>/select> /span> button idbtnAddMotivo classbtn btn-icon btn-primary typebutton>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-plus-circle>circle cx12 cy12 r10>/circle>line x112 y18 x212 y216>/line>line x18 y112 x216 y212>/line>/svg>/button> /div> br> /div> div classcol-sm-12> div classrow list-with-gap> button typebutton idCancelarBaja classbtn btn-light>Cancelar/button> button typebutton idbtnDarBajafPclassbtn btn-dark>Dar de baja/button> /div> /div> /div> /div> /div> /section> /div> /div> /div>/div>!-- ------------------------- FIN MODAL NO APLICA ------------------------------------------------------------------ -->!-- ------------------------- MODAL PARA ESTABLECER CONTACTO COMO NO APLICA PENDING --------------------------------------- -->div classmodal fade show idnotAvModalPen tabindex-1 aria-labelledbyverticalModalLabel styledisplay: none; padding-right: 9px; aria-modaltrue roledialog> div classmodal-dialog modal-dialog-centered roledocument> div classmodal-content> div classmodal-header> h6 classmodal-title idverticalModalLabelPen>Termina el seguimiento/h6> button typebutton classclose data-dismissmodal aria-labelClose> span aria-hiddentrue>×/span> /button> /div> div classmodal-body> section> div classrow> div classcol-sm-12 mb-3> div classlist-with-gap col-sm-12 idcontFormPen> div classfloating-label floating-label-lg col-sm-12> input typetext classform-control form-control-lg col-sm-12 mb-3 idupdateDownPen autocompleteoff maxlength240 placeholderRetroalimentación> label forupdateDownPen>Retroalimentación/label> /div> div classcol-sm-12> h7>Motivo por el cual no continúa el seguimiento/h7> div classrow> span classinput-icon input-icon-right col-sm-10> select idcboMotivoPen classform-control custom-select required> option selected value0>Seleccione.../option>/select> /span> button idbtnAddMotivoPen classbtn btn-icon btn-primary typebutton>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-plus-circle>circle cx12 cy12 r10>/circle>line x112 y18 x212 y216>/line>line x18 y112 x216 y212>/line>/svg>/button> /div> br> /div> div classcol-sm-12> div classrow list-with-gap> button typebutton idCancelarBajaPen classbtn btn-light>Cancelar/button> button typebutton idbtnDarBajafPenclassbtn btn-dark>Dar de baja/button> /div> /div> /div> /div> /div> /section> /div> /div> /div>/div>!-- ------------------------- FIN MODAL NO APLICA PENDIENTE ------------------------------------------------------------------ -->!-- ------------------------- MODAL PARA AGREGAR EL MOTIVO --------------------------------------- -->div idmodalAddMotivo classbootbox modal fade bootbox-prompt tabindex-1 roledialog aria-modaltrue stylepadding-right: 9px; display: none;> div classmodal-dialog> div classmodal-content> div classmodal-header> h5 classmodal-title>Agregar el motivo por el cual no desea estar en el proceso:/h5> /div> div classmodal-body> div classbootbox-body> form classbootbox-form> div classfloating-label input-icon mt-3> i classfa fa-award>/i> textarea classform-control autosize idtxtMot placeholderObjetivo styleoverflow: hidden; overflow-wrap: break-word; resize: none; height: 74px;>/textarea> label forfloatingTextareaIconAutosize>Motivo/label> /div> /form> /div> /div> div classmodal-footer> button typebutton classbtn btn-secondary btn-default bootbox-cancel idcanMot>Cancelar/button> button typebutton classbtn btn-success bootbox-accept idaddMot>Agregar/button> /div> /div> /div>/div>!-- ------------------------- FIN MODAL PARA AGREGAR EL MOTIVO --------------------------------------- -->!-- ------------------------- MODAL PARA CANCELAR O RETIRAR ALUMNOS--------------------------------------- -->div classmodal fade show idretiraModal tabindex-1 aria-labelledbyverticalModalLabel2 styledisplay: none; padding-right: 9px; aria-modaltrue roledialog> div classmodal-dialog modal-dialog-centered roledocument> div classmodal-content> div classmodal-header> h6 classmodal-title idverticalModalLabel2>Retiro o cancelación para: label idalumnoRetiro>/label>/h6> button typebutton classclose data-dismissmodal aria-labelClose> span aria-hiddentrue>×/span> /button> /div> div classmodal-body> section> div classrow> div classcol-sm-12 mb-3> div classlist-with-gap col-sm-12 idcancelForm> div classfloating-label floating-label-lg col-sm-12> input typetext classform-control form-control-lg col-sm-12 mb-3 idcancelDown autocompleteoff maxlength250 placeholderRetroalimentación> label forupdateDown>Observaciones/label> /div> div classcol-sm-12> h7>Motivo por el cual no continúa con el curso:/h7> div classrow> span classinput-icon input-icon-right col-sm-10> select idcboMotivoCancel classform-control custom-select required> option selected value0>Seleccione.../option>/select> /span> button idbtnAddMotivoCancel classbtn btn-icon btn-primary typebutton>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-plus-circle>circle cx12 cy12 r10>/circle>line x112 y18 x212 y216>/line>line x18 y112 x216 y212>/line>/svg>/button> /div> br> /div> div classcol-sm-12> div classrow list-with-gap> button typebutton idCancelarCancel classbtn btn-light>Desistir/button> button typebutton idbtnCancelarMatclassbtn btn-dark>Cancelar matricula/button> /div> /div> /div> /div> /div> /section> /div> /div> /div>/div>!-- ------------------------- FIN MODAL RETIRADOS/CANCELADOS ------------------------------------------------------------------ -->!-- ------------------------- MODAL PARA AGREGAR EL MOTIVO DE CANCELACIÓN DE ALUMNO -------------------------------------- -->div idmodalAddMotivoCancel classbootbox modal fade bootbox-prompt tabindex-1 roledialog aria-modaltrue stylepadding-right: 9px; display: none;> div classmodal-dialog> div classmodal-content> div classmodal-header> h5 classmodal-title>Agregar el motivo por el cual no seguirá en el curso:/h5> /div> div classmodal-body> div classbootbox-body> form classbootbox-form> div classfloating-label input-icon mt-3> i classfa fa-award>/i> textarea classform-control autosize idtxtMotCancel placeholderObjetivo styleoverflow: hidden; overflow-wrap: break-word; resize: none; height: 74px;>/textarea> label forfloatingTextareaIconAutosize>Motivo/label> /div> /form> /div> /div> div classmodal-footer> button typebutton classbtn btn-secondary btn-default bootbox-cancel idcanMotCancel>Cancelar/button> button typebutton classbtn btn-success bootbox-accept idaddMotCancel>Agregar/button> /div> /div> /div>/div>!-- ------------------------- FIN MODAL PARA AGREGAR EL MOTIVO DE CANCELACION DEL ALUMNO -------------------------------- -->!-- ------------------------- MODAL PARA AGREGAR EL MOTIVO DE CANCELACIÓN DE ALUMNO PROCESS -------------------------------------- -->div idmodalAddMotivoCancelPr classbootbox modal fade bootbox-prompt tabindex-1 roledialog aria-modaltrue stylepadding-right: 9px; display: none;> div classmodal-dialog> div classmodal-content> div classmodal-header> h5 classmodal-title>Agregar el motivo por el cual no seguirá en el curso:/h5> /div> div classmodal-body> div classbootbox-body> form classbootbox-form> div classfloating-label input-icon mt-3> i classfa fa-award>/i> textarea classform-control autosize idtxtMotCancelPr placeholderObjetivo styleoverflow: hidden; overflow-wrap: break-word; resize: none; height: 74px;>/textarea> label forfloatingTextareaIconAutosize>Motivo/label> /div> /form> /div> /div> div classmodal-footer> button typebutton classbtn btn-secondary btn-default bootbox-cancel idcanMotCancelPr>Cancelar/button> button typebutton classbtn btn-success bootbox-accept idaddMotCancelPr>Agregar/button> /div> /div> /div>/div>!-- ------------------------- FIN MODAL PARA AGREGAR EL MOTIVO DE CANCELACION DEL ALUMNO PROCESS-------------------------------- --> !-- ------------------------- MODAL PRA LA ASIGNACIÓN DE COLORES A LAS PRIORIDADES -------------------------------- -->div classmodal fade modal-content-right show idcolorModal tabindex-1 roledialog aria-labelledbyrightModalLabel aria-modaltrue stylepadding-right: 9px; display: none;> div classmodal-dialog modal-sm roledocument> div classmodal-content> div classmodal-header> h6 classmodal-title idrightModalLabel>Color para las prioridades/h6> button typebutton classclose data-dismissmodal aria-labelClose> span aria-hiddentrue>×/span> /button> /div> div classmodal-body> section classcol-xl-12 stylepadding: 0px;> div classcustom-color custom-color-lg idListaColores stylewidth: 100%;> table stylewidth: 100%; idtblColores> /table> /div> /section> /div> div classmodal-footer> button classbtn btn-secondary typebutton data-dismissmodal idcierraColores>Cerrar/button> button classbtn btn-primary typebutton data-dismissmodal idguardaPrioridad>Guardar cambios/button> /div> /div> /div>/div>!-- ------------------------- FIN MODAL PRA LA ASIGNACIÓN DE COLORES A LAS PRIORIDADES ------------------------------->!-- ------------------------- MODAL PRA LA ASIGNACIÓN DE COLORES EN PENDING -------------------------------- -->div classmodal fade modal-content-right show idcolorPendingModal tabindex-1 roledialog aria-labelledbyrightModalLabel aria-modaltrue stylepadding-right: 9px; display: none;> div classmodal-dialog modal-sm roledocument> div classmodal-content> div classmodal-header> h6 classmodal-title idrightModalLabelPending>Color para las prioridades/h6> button typebutton classclose data-dismissmodal aria-labelClose> span aria-hiddentrue>×/span> /button> /div> div classmodal-body> section classcol-xl-12 stylepadding: 0px;> div classcustom-color custom-color-lg idListaColoresPending stylewidth: 100%;> table stylewidth: 100%; idtblColoresPending> /table> /div> /section> /div> div classmodal-footer> button classbtn btn-secondary typebutton data-dismissmodal idcierraColoresPending>Cerrar/button> button classbtn btn-primary typebutton data-dismissmodal idguardaPrioridadPending>Guardar cambios/button> /div> /div> /div>/div>!-- ----------------------- FIN MODAL DE COLORES DE PENDING -------------------------------------------------- -->!-- ------------------------- MODAL PARA CAMBIAR EL AGENTE PROPIETARIO OPEN --------------------------------------- -->div idmodalChangeAgent classbootbox modal fade bootbox-prompt show tabindex-1 roledialog aria-modaltrue stylepadding-right: 9px; display: none;> div classmodal-dialog> div classmodal-content> div classmodal-header> h5 classmodal-title>Seleccionar el nuevo agente a cargo:/h5> /div> div classmodal-body> div classbootbox-body> div classcol-sm-12 mb-1 data-select2-id80> select idagentesList classform-control select2 data-select2-id1 tabindex-1 aria-hiddentrue> option value1 data-select2-id3>Firefox/option> /select> /div> /div> /div> div classmodal-footer> button typebutton classbtn btn-secondary btn-default bootbox-cancel idcancelAgent>Cancelar/button> button typebutton classbtn btn-primary bootbox-accept idactAgent>Cambiar/button> /div> /div> /div>/div>!-- ------------------------- FIN MODAL PARA CAMBIAR EL AGENTE PROPIETARIO --------------------------------------- -->!-- ------------------------- MODAL PARA CAMBIAR EL AGENTE PROPIETARIO PROCESS --------------------------------------- -->div idmodalChangeAgentPr classbootbox modal fade bootbox-prompt tabindex-1 roledialog aria-modaltrue stylepadding-right: 9px; display: none;> div classmodal-dialog> div classmodal-content> div classmodal-header> h5 classmodal-title>Seleccionar el nuevo agente a cargo:/h5> /div> div classmodal-body> div classbootbox-body> div classcol-sm-12 mb-1 data-select2-id80> select idagentesListPr classform-control select2 data-select2-id1 tabindex-1 aria-hiddentrue> option value1 data-select2-id3>Firefox/option> /select> /div> /div> /div> div classmodal-footer> button typebutton classbtn btn-secondary btn-default bootbox-cancel idcancelAgentPr>Cancelar/button> button typebutton classbtn btn-primary bootbox-accept idactAgentPr>Cambiar/button> /div> /div> /div>/div>!-- ------------------------- FIN MODAL PARA CAMBIAR EL AGENTE PROPIETARIO PROCESS --------------------------------------- -->!-- ------------------------- MODAL PARA CAMBIAR EL AGENTE PROPIETARIO PENDING --------------------------------------- -->div idmodalChangeAgentPend classbootbox modal fade bootbox-prompt tabindex-1 roledialog aria-modaltrue stylepadding-right: 9px; display: none;> div classmodal-dialog> div classmodal-content> div classmodal-header> h5 classmodal-title>Seleccionar el nuevo agente a cargo:/h5> /div> div classmodal-body> div classbootbox-body> div classcol-sm-12 mb-1 data-select2-id80> select idagentesListPend classform-control select2 data-select2-id1 tabindex-1 aria-hiddentrue> option value1 data-select2-id3>Firefox/option> /select> /div> /div> /div> div classmodal-footer> button typebutton classbtn btn-secondary btn-default bootbox-cancel idcancelAgentPend>Cancelar/button> button typebutton classbtn btn-primary bootbox-accept idactAgentPend>Cambiar/button> /div> /div> /div>/div>!-- ------------------------- FIN MODAL PARA CAMBIAR EL AGENTE PROPIETARIO PENDING --------------------------------------- -->!-- ------------------------- MODAL PARA CAMBIAR EL AGENTE PROPIETARIO OPENSALE --------------------------------------- -->div idmodalChangeAgentOS classbootbox modal fade bootbox-prompt tabindex-1 roledialog aria-modaltrue stylepadding-right: 9px; display: none;> div classmodal-dialog> div classmodal-content> div classmodal-header> h5 classmodal-title>Seleccionar el nuevo agente a cargo:/h5> /div> div classmodal-body> div classbootbox-body> div classcol-sm-12 mb-1 data-select2-id80> select idagentesListOS classform-control select2 data-select2-id1 tabindex-1 aria-hiddentrue> option value1 data-select2-id3>Firefox/option> /select> /div> /div> /div> div classmodal-footer> button typebutton classbtn btn-secondary btn-default bootbox-cancel idcancelAgentOS>Cancelar/button> button typebutton classbtn btn-primary bootbox-accept idactAgentOS>Cambiar/button> /div> /div> /div>/div>!-- ------------------------- FIN MODAL PARA CAMBIAR EL AGENTE PROPIETARIO PROCESS --------------------------------------- -->!-- ------------------------ MODAL PARA CARGAR LA FOTO DEL AGENTE ---------------------------------------------------------- -->div classmodal fade modal-content-top idcargaFotoAgente tabindex-1 aria-labelledbytopModalLabel styledisplay: none; aria-hiddentrue> div classmodal-dialog roledocument> div classmodal-content> div classmodal-header> h6 classmodal-title id>label id>Cargar la fotografía para el agente/label>/h6> button typebutton classclose data-dismissmodal aria-labelClose> span aria-hiddentrue>×/span> /button> /div> div classmodal-body text-center> section> !-- i classmaterial-icons text-success>verified_user/i> --> div classrow> div classcol-12 col-md-12> div classcol-lg-12> div classimg-container> div classrow> div classcol-md-8> img src idsample_image /> /div> div classcol-md-4> div classpreview>/div> /div> /div> /div> /div> div idchangePic class>!-- label>Carga tu foto ... /label>input typefile namephotoimg idphotoimg acceptimage/*/> --> div classmodal-footer> button typebutton classbtn btn-default data-dismissmodal idcierraCrop>Close/button> button typebutton idbtn-crop classbtn btn-primary>Crop & Save/button> /div> /div> /div> /div> /section> label idcontMsjSuccess>/label> /div> /div> /div>/div>!-- ------------------------ FIN MODAL PARA CARGAR LA FOTO DEL AGENTE --------------------------------------------------- -->!-- ++++++++++++++++++ MODAL PARA ASIGNACIÓN DE PAISES A AGENTES ++++++++++++++++++++++++++++++++++++++++ -->div classmodal fade show idmodalAgentesInfo tabindex-1 roledialog aria-labelledbymodalTitle aria-hiddentrue styleoverflow-y: scroll;> div classmodal-dialog modal-xl roledocument> div classmodal-content> div classmodal-header bg-dark text-white shadow-none> h6 classmodal-title idxlModalLabel>Información & asignaciones de label idlblCurrentAgent classtext-warning>/label>/h6> button typebutton classclose data-dismissmodal aria-labelClose idcerrarModalAgent> span aria-hiddentrue>×/span> /button> /div> div classmodal-body> div classrow row-cols-2 row-cols-lg-4 gutters-sm> !-- New Orders --> div classcol mb-3> div classcard> div classcard-body> h6 classcard-title text-secondary font-size-sm>Seguimientos diarios/h6> div classd-flex align-items-center mb-1> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-bar-chart-2 mr-2>line x118 y120 x218 y210>/line>line x112 y120 x212 y24>/line>line x16 y120 x26 y214>/line>/svg> h3 classmb-0 mr-2 id TotDiario>57%/h3> /div> div classsparkline-data data-value0,0,0,0,0,0,0,0,0,0,0,40,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,45,1,0,0,35,0,0,40,0,0,45,0,0,0,5,0,0,20,0,5,0,0,0,0,0,0,0,0,0,0>canvas width376 height20 styledisplay: inline-block; width: 376px; height: 20px; vertical-align: top;>/canvas>/div> /div> /div> /div> !-- /New Orders --> !-- Bounce Rate --> div classcol mb-3> div classcard> div classcard-body> h6 classcard-title text-secondary font-size-sm>Seguimientos mensuales/h6> div classd-flex align-items-center mb-1> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-bar-chart-2 mr-2>line x118 y120 x218 y210>/line>line x112 y120 x212 y24>/line>line x16 y120 x26 y214>/line>/svg> h3 classmb-0 mr-2 id TotMensual>57%/h3> /div> div classsparkline-data data-value0,0,0,0,0,0,0,0,0,0,0,40,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,45,1,0,0,35,0,0,40,0,0,45,0,0,0,5,0,0,20,0,5,0,0,0,0,0,0,0,0,0,0>canvas width376 height20 styledisplay: inline-block; width: 376px; height: 20px; vertical-align: top;>/canvas>/div> /div> /div> /div> !-- /Bounce Rate --> !-- New Users --> div classcol mb-3> div classcard> div classcard-body> h6 classcard-title text-secondary font-size-sm>Seguimientos anuales/h6> div classd-flex align-items-center mb-1> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-user-plus mr-2>path dM16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2>/path>circle cx8.5 cy7 r4>/circle>line x120 y18 x220 y214>/line>line x123 y111 x217 y211>/line>/svg> h3 classmb-0 mr-2 id TotAnual>48/h3> /div> div classsparkline-data data-value0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,40,0,0,10,0,0,0,0,0,0,0,0,0,0,0,50,0,40,0,5,0,0,10,0,0,25,0,0,0,5,0,0,0,0,25,0,0,0,0,40,0,0,0,0,0>canvas width376 height20 styledisplay: inline-block; width: 376px; height: 20px; vertical-align: top;>/canvas>/div> /div> /div> /div> !-- /New Users --> !-- Unique Visitors --> div classcol mb-3> div classcard> div classcard-body> h6 classcard-title text-secondary font-size-sm>Total seguimientos/h6> div classd-flex align-items-center mb-1> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-pie-chart mr-2>path dM21.21 15.89A10 10 0 1 1 8 2.83>/path>path dM22 12A10 10 0 0 0 12 2v10z>/path>/svg> h3 classmb-0 mr-2 id TotDef>69/h3> /div> div classsparkline-data data-value0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10,0,0,0,45,0,0,37,0,39,0,0,0,5,0,31,0,43,0,0,30,0,0,0,0,0,0,0,0,0>canvas width376 height20 styledisplay: inline-block; width: 376px; height: 20px; vertical-align: top;>/canvas>/div> /div> /div> /div> !-- /Unique Visitors --> /div> div classrow> div classcol-xl-7 mb-3> div classcard h-100> div classcard-header py-1> i classmaterial-icons mr-2>show_cart/i> h6>Ventas mensuales/h6> button typebutton data-actionfullscreen classbtn btn-sm text-secondary btn-icon rouded-circle ml-auto>i classmaterial-icons>fullscreen/i>/button> /div> div classcard-body styleheight: 350px;> div classchartjs-size-monitor> div classchartjs-size-monitor-expand>div class>/div>/div> div classchartjs-size-monitor-shrink>div class>/div>/div> /div> canvas idmonthlySalesChart width800 height318 styledisplay: block; width: 800px; height: 318px; classchartjs-render-monitor>/canvas> /div> /div> /div> div classcol-md-6 col-xl-5 mb-3> div classcard h-100 overflow-hidden idtransaction-history> div classcard-header py-1> h6>Transaction History/h6> button typebutton data-actionreload classbtn btn-sm text-success btn-icon ml-auto rounded-circle> i classmaterial-icons>refresh/i> /button> div classdropdown> button classbtn text-secondary btn-icon btn-sm rounded-circle dropdown-toggle no-caret typebutton data-toggledropdown aria-haspopuptrue aria-expandedfalse> i classmaterial-icons>more_vert/i> /button> div classdropdown-menu dropdown-menu-right> button classdropdown-item typebutton>Action/button> button classdropdown-item typebutton>Another action/button> /div> /div> /div> ul classlist-group list-group-flush> li classlist-group-item d-flex> div classmedia> span classflex-center text-success p-2> i classmaterial-icons>check/i> /span> div classmedia-body ml-2> h6 classfont-size-sm mb-0>Payment from #10322/h6> span classsmall text-secondary>Mar 21, 2019, 3:30pm/span> /div> /div> div classml-auto text-right> h6 classmb-0>+ $250.00/h6> span classsmall text-success>Completed/span> /div> /li> li classlist-group-item d-flex> div classmedia> span classflex-center text-info p-2> i classmaterial-icons>subdirectory_arrow_left/i> /span> div classmedia-body ml-2> h6 classfont-size-sm mb-0>Process refund to #00910/h6> span classsmall text-secondary>Mar 21, 2019, 1:00pm/span> /div> /div> div classml-auto text-right> h6 classmb-0>-$16.50/h6> span classsmall text-success>Completed/span> /div> /li> li classlist-group-item d-flex> div classmedia> span classflex-center text-warning p-2> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-truck>rect x1 y3 width15 height13>/rect>polygon points16 8 20 8 23 11 23 16 16 16 16 8>/polygon>circle cx5.5 cy18.5 r2.5>/circle>circle cx18.5 cy18.5 r2.5>/circle>/svg> /span> div classmedia-body ml-2> h6 classfont-size-sm mb-0>Process delivery to #44333/h6> span classsmall text-secondary>Mar 20, 2019, 11:40am/span> /div> /div> div classml-auto text-right> h6 classmb-0>3 Items/h6> span classsmall text-info>For pickup/span> /div> /li> li classlist-group-item d-flex> div classmedia> span classflex-center text-success p-2> i classmaterial-icons>check/i> /span> div classmedia-body ml-2> h6 classfont-size-sm mb-0>Payment from #023328/h6> span classsmall text-secondary>Mar 20, 2019, 10:30pm/span> /div> /div> div classml-auto text-right> h6 classmb-0>+ $129.50/h6> span classsmall text-success>Completed/span> /div> /li> li classlist-group-item d-flex> div classmedia> span classflex-center text-secondary p-2> i classmaterial-icons>close/i> /span> div classmedia-body ml-2> h6 classfont-size-sm mb-0>Payment failed from #087651/h6> span classsmall text-secondary>Mar 19, 2019, 12:54pm/span> /div> /div> div classml-auto text-right> h6 classmb-0>$150.00/h6> span classsmall text-danger>Declined/span> /div> /li> /ul> /div> /div> /div> div classcard mt-2> div classcard-body> section idsection17> h5>Países/h5> p classtext-muted font-size-sm> Seleccionar el/los país(es) para asignar agente. /p> div classduallistbox row idcontPaises> div classcol> input idtxtSelectPais typetext classform-control form-control-md placeholderSeleccione país> select classform-control idpaisesDisponibles multiple> /select> /div> div classcol-md-1 d-flex align-items-center justify-content-center> div classbtn-group-sm btn-group-vertical d-doned-md-inline-flex rolegroup> button idbtnAddPais classbtn btn-light move-all typebutton titleAsignar país>svg viewBox0 0 24 24 xmlnshttp://www.w3.org/2000/svg width1.375em height1.375em fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround>path dM13 17l5-5-5-5M6 17l5-5-5-5>/path>/svg>/button> button idbtnRemovePais classbtn btn-light remove-all typebutton titleRemover país>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-slash>circle cx12 cy12 r10>/circle>line x14.93 y14.93 x219.07 y219.07>/line>/svg>/button> /div> div classbtn-group-sm btn-group d-md-none my-1 rolegroup> button classbtn btn-light move-all typebutton>Asignar país/button> button classbtn btn-light remove-all typebutton>Remover país/button> /div> /div> div classcol> input typetext classform-control form-control-md placeholderNombre de país> select classform-control idpaisesAsignados multiple> /select> /div> /div> select namecountries idtempDualList styledisplay: none;> /select> /section> /div> /div> /div> div classmodal-footer> button classbtn btn-success idbtnSaveAgentInfo>Guardar/button> button classbtn btn-warning idbtnCancelAgentInfo>Cancelar/button> /div> /div> /div>/div>!-- ++++++++++++++++++ FIN MODAL PARA ASIGNACIÓN DE PAISES A AGENTES ++++++++++++++++++++++++++++++++++++ -->!-- ------------------ Modal para pasar el modeal de Process a Pendiente -------------------------------- -->!-- ----------------------------------------------------------------------------------------------------- -->div classmodal fade idmodalToPending tabindex-1 roledialog aria-labelledbyexampleModalCenterTitle aria-hiddentrue styleoverflow-y: scroll; padding-right: 9px;> div classmodal-dialog modal-lg roledocument> div classmodal-content> div classmodal-header bg-dark text-white shadow-none> h6 classmodal-title idlgModalLabel>Clasificar/h6> button typebutton classclose data-dismissmodal aria-labelClose> span aria-hiddentrue>×/span> /button> /div> div classmodal-body> div classbootbox-body idcontenidoPending> div classcard> div classcard-body> div classform-group row no-gutters> label forfirstNameLeft classcol-3 col-sm-2 col-form-label>Nombre/label> div classcol> input typetext classform-control idnombreToPending placeholder disabled> /div> /div> div classform-group row no-gutters> label forlastNameLeft classcol-3 col-sm-2 col-form-label>Correo/label> div classcol> span classinput-icon> i classmaterial-icons>mail_outline/i> input typetext classform-control placeholderInput icon idcorreoToPending disabled> /span> /div> /div> div classform-group row no-gutters> label forlastNameLeft classcol-3 col-sm-2 col-form-label>Telefono/label> div classcol> span classinput-icon> i classmaterial-icons>perm_phone_msg/i> input typetext classform-control placeholderInput icon idtelefonoToPending disabled> /span> /div> /div> div classform-group row no-gutters> label foraddressLeft classcol-3 col-sm-2 col-form-label>Notificación/label> div classcol> div classfloating-label input-icon mt-3> i classfa fa-edit>/i> textarea classform-control autosize idnotifToPending placeholderTextarea styleoverflow: hidden; overflow-wrap: break-word; resize: none; height: 74px;>/textarea> label forfloatingTextareaIconAutosize>Notificación/label> /div> /div> /div> /div> /div> /div> /div> div classmodal-footer> button typebutton classbtn btn-danger bootbox-cancel idbtnCancPending>Cancelar/button> !-- button typebutton classbtn btn-warning idbtnAbrirVentaP>Abrir venta/button> --> button typebutton classbtn btn-info bootbox-accept idbtnStartPending>Pasar a pendiente/button> /div> /div> /div>/div>!-- ------------------- FIN PARA EL MODAL DE ENVÍO A PENDIENTES ----------------------------------- --> !-- ------------------------- MODAL PARA CAMBIE EL TELEFONO OPEN --------------------------------------- -->div idmodalChangeTelO classbootbox modal fade bootbox-prompt show tabindex-1 roledialog aria-modaltrue stylepadding-right: 9px; display: none;> div classmodal-dialog> div classmodal-content> div classmodal-header> h5 classmodal-title>Modificar el número de teléfono:/h5> /div> div classmodal-body> div classbootbox-body> form classbootbox-form> input classbootbox-input bootbox-input-text form-control autocompleteoff typetext idnumtO> /form> /div> /div> div classmodal-footer> button typebutton classbtn btn-secondary btn-default bootbox-cancel idcancelTelOpen>Cancelar/button> button typebutton classbtn btn-primary bootbox-accept idactTelOpen>Actualizar/button> /div> /div> /div>/div>!-- ------------------------- FIN MODAL PARA CAMBIE EL TELEFONO OPEN --------------------------------------- -->!-- ------------------------- MODAL PARA EDITAR EL CORREO OPEN --------------------------------------- -->div idmodalChangeMailO classbootbox modal fade bootbox-prompt show tabindex-1 roledialog aria-modaltrue stylepadding-right: 9px; display: none;> div classmodal-dialog> div classmodal-content> div classmodal-header> h5 classmodal-title>Modificar la dirección de correo:/h5> /div> div classmodal-body> div classbootbox-body> form classbootbox-form> input classbootbox-input bootbox-input-text form-control autocompleteoff typetext iddirmailO> /form> /div> /div> div classmodal-footer> button typebutton classbtn btn-secondary btn-default bootbox-cancel idcancelMailModif>Cancelar/button> button typebutton classbtn btn-primary bootbox-accept idactMailopen>Actualizar/button> /div> /div> /div>/div>!-- ------------------------- FIN MODAL PARA CAMBIE EL CORREO OPEN --------------------------------------- -->!-- ------------------------- MODAL PARA EDITAR EL CORREO PROCESS --------------------------------------- -->div idmodalChangeMailPr classbootbox modal fade bootbox-prompt show tabindex-1 roledialog aria-modaltrue stylepadding-right: 9px; display: none;> div classmodal-dialog> div classmodal-content> div classmodal-header> h5 classmodal-title>Modificar la dirección de correo:/h5> /div> div classmodal-body> div classbootbox-body> form classbootbox-form> input classbootbox-input bootbox-input-text form-control autocompleteoff typetext iddirmailPr> /form> /div> /div> div classmodal-footer> button typebutton classbtn btn-secondary btn-default bootbox-cancel idcancelMailModifPr>Cancelar/button> button typebutton classbtn btn-primary bootbox-accept idactMailPr>Actualizar/button> /div> /div> /div>/div>!-- ------------------------- FIN MODAL PARA CAMBIE EL CORREO PROCESS --------------------------------------- --> !-- ****************************************************************************************************** -->!-- MODAL PARA INFO EN LEAD -->!-- ****************************************************************************************************** -->!-- div idmodalInfoL classbootbox modal fade bootbox-alert tabindex-1 roledialog aria-modaltrue stylepadding-right: 9px; display: none;> div classmodal-dialog modal-lg> div classmodal-content> div classmodal-body> div classbootbox-body> div classrow gutters-sm> div classcol-md-4 mb-3> div classcard> div classcard-body> div classd-flex flex-column align-items-center text-center> img src../../../dist/img/user.svg altAdmin classrounded-circle width150> div classmt-3> h4 idnombreContactLead>A Flores/h4> p classtext-secondary mb-1 idmailContactLead>Full Stack Developer/p> p classtext-muted font-size-sm idphoneContactLead>Bay Area, San Francisco, CA/p> button classbtn btn-primary idtoOpenL>Comenzar proceso/button> button classbtn btn-outline-primary idcerrarLeadInfo>Cerrar/button> /div> /div> /div> /div> /div> div classcol-md-8> div classcard mb-3> div classcard-body> div classrow> div classcol-sm-3> h6 classmb-0>Audiencia de origen/h6> /div> div classcol-sm-9 text-secondary idnombreAudienciaL> Kenneth Valdez /div> /div> hr> div classrow> div classcol-sm-3> h6 classmb-0>Programa de interés/h6> /div> div classcol-sm-9 text-secondary idprogIntL> fip@jukmuh.al /div> /div> hr> div classrow> div classcol-sm-3> h6 classmb-0>IP de origen del contacto/h6> /div> div classcol-sm-9 text-secondary idipOrigenL> (239) 816-9029 /div> /div> hr> div classrow> div classcol-sm-3> h6 classmb-0>Fecha de ingreso al sistema/h6> /div> div classcol-sm-9 text-secondary iddateIngL> (320) 380-4539 /div> /div> hr> div classrow> div classcol-sm-3> h6 classmb-0>Valoración/h6> /div> div classcol-sm-9 text-secondary idvaloracionL> Bay Area, San Francisco, CA /div> /div> /div> /div> !-- div classrow gutters-sm> div classcol-sm-6 mb-3> div classcard h-100> div classcard-body> h6 classd-flex align-items-center mb-3>i classmaterial-icons text-info mr-2>assignment/i>Project Status/h6> small>Web Design/small> div classprogress mb-3 styleheight: 5px> div classprogress-bar bg-primary roleprogressbar stylewidth: 80% aria-valuenow80 aria-valuemin0 aria-valuemax100>/div> /div> small>Website Markup/small> div classprogress mb-3 styleheight: 5px> div classprogress-bar bg-primary roleprogressbar stylewidth: 72% aria-valuenow72 aria-valuemin0 aria-valuemax100>/div> /div> small>One Page/small> div classprogress mb-3 styleheight: 5px> div classprogress-bar bg-primary roleprogressbar stylewidth: 89% aria-valuenow89 aria-valuemin0 aria-valuemax100>/div> /div> small>Mobile Template/small> div classprogress mb-3 styleheight: 5px> div classprogress-bar bg-primary roleprogressbar stylewidth: 55% aria-valuenow55 aria-valuemin0 aria-valuemax100>/div> /div> small>Backend API/small> div classprogress mb-3 styleheight: 5px> div classprogress-bar bg-primary roleprogressbar stylewidth: 66% aria-valuenow66 aria-valuemin0 aria-valuemax100>/div> /div> /div> /div> /div> div classcol-sm-6 mb-3> div classcard h-100 shadow-none bg-gray-300> div classcard-body> h6 classd-flex align-items-center mb-3>i classmaterial-icons text-warning mr-2>rss_feed/i>Recent Activities/h6> div classtimeline timeline-left font-size-sm> div classtimeline-container left> div classpopover bs-popover-right popover-static> div classarrow>/div> div classpopover-body text-muted> a hrefjavascript:void(0) classtext-body>Kenneth Valdez/a> changed his profile photo. div classsmall>2 hours ago/div> /div> /div> /div> div classtimeline-container left> div classpopover bs-popover-right popover-static> div classarrow>/div> div classpopover-body text-muted> a hrefjavascript:void(0) classtext-body>Susan Smith/a> is now friends with Kenneth Valdez. div classsmall>5 hours ago/div> /div> /div> /div> div classtimeline-container left> div classpopover bs-popover-right popover-static> div classarrow>/div> div classpopover-body text-muted> a hrefjavascript:void(0) classtext-body>Kenneth Valdez/a> joined a hrefjavascript:void(0) classtext-body>Country Music/a> group. div classsmall>8 hours ago/div> /div> /div> /div> /div> /div> /div> /div> /div> --> !-- /div> /div> /div> /div> div classmodal-footer> button idbtnInfoL typebutton classbtn btn-primary bootbox-accept>OK/button> /div> /div> /div> /div> --> !-- ****************************************************************************************************** -->!-- FIN MODAL PARA INFO EN LEAD -->!-- ****************************************************************************************************** -->!-- ****************************************************************************************************** -->!-- MODAL PARA INTERACCIONES MASIVAS -->!-- ****************************************************************************************************** -->div classbootbox modal fade bootbox-prompt idmodalInteracMultiple tabindex-1 roledialog aria-modaltrue stylepadding-right: 9px; display: none;> div classmodal-dialog> div classmodal-content> div classmodal-header> h5 classmodal-title>Agregar la notificación/h5> /div> div classmodal-body> div classbootbox-body> form classbootbox-form> div classfloating-label input-icon mt-3> i classfa fa-thumbs-up>/i> textarea classform-control autosize idinteracMultiple placeholderTextarea styleoverflow: hidden; overflow-wrap: break-word; resize: none; height: 74px;>/textarea> label forfloatingTextareaIconAutosize>Interacción del seguimiento/label> /div> label classtext-muted font-size-sm>País de los contactos/label> span classinput-icon input-icon-right> select idpaisesInteracMulti classform-control custom-select namepaisn> option selected value0>Seleccionar país.../option> option idelementx value1>Afghanistan/option>option idelementx value2>Aland Islands/option>option idelementx value3>Albania/option>option idelementx value12>Algeria/option>option idelementx value223>American Samoa/option>option idelementx value5>Andorra/option>option idelementx value6>Angola/option>option idelementx value7>Anguilla/option>option idelementx value8>Antarctica/option>option idelementx value9>Antigua And Barbuda/option>option idelementx value13>Argentina/option>option idelementx value14>Armenia/option>option idelementx value15>Aruba/option>option idelementx value16>Australia/option>option idelementx value17>Austria/option>option idelementx value18>Azerbaijan/option>option idelementx value19>Bahamas/option>option idelementx value20>Bahrain/option>option idelementx value21>Bangladesh/option>option idelementx value22>Barbados/option>option idelementx value23>Belarus/option>option idelementx value25>Belgica-Luxemburgo/option>option idelementx value24>Belgium/option>option idelementx value26>Belize/option>option idelementx value27>Benin/option>option idelementx value28>Bermuda/option>option idelementx value29>Bhutan/option>option idelementx value30>Bolivia/option>option idelementx value31>Bonaire, Saint Eustatius and Saba/option>option idelementx value32>Bosnia and Herzegovina/option>option idelementx value33>Botswana/option>option idelementx value114>Bouvet Island/option>option idelementx value34>Brazil/option>option idelementx value254>British Indian Ocean Territory/option>option idelementx value35>Brunei Darussalam/option>option idelementx value36>Bulgaria/option>option idelementx value37>Burkina Faso/option>option idelementx value38>Burundi/option>option idelementx value40>Cambodia/option>option idelementx value41>Cameroon/option>option idelementx value42>Canada/option>option idelementx value39>Cape Verde/option>option idelementx value43>Categorías especiales/option>option idelementx value119>Cayman Islands/option>option idelementx value207>Central African Republic/option>option idelementx value44>Chad/option>option idelementx value45>Checoslovaquia/option>option idelementx value46>Chile/option>option idelementx value47>China/option>option idelementx value116>Christmas Island/option>option idelementx value49>Colombia/option>option idelementx value50>Comando I del Pacífico de Estados Unidos/option>option idelementx value51>Comoros/option>option idelementx value52>Congo/option>option idelementx value121>Cook Islands/option>option idelementx value56>Costa Rica/option>option idelementx value57>Cote DIvoire/option>option idelementx value58>Croatia/option>option idelementx value59>Cuba/option>option idelementx value60>Curacao/option>option idelementx value48>Cyprus/option>option idelementx value208>Czech Republic/option>option idelementx value53>Democratic Republic of the Congo/option>option idelementx value61>Denmark/option>option idelementx value62>Djibouti/option>option idelementx value63>Dominica/option>option idelementx value212>Dominican Republic/option>option idelementx value64>Ecuador/option>option idelementx value65>Egypt/option>option idelementx value66>El Salvador/option>option idelementx value102>Equatorial Guinea/option>option idelementx value68>Eritrea/option>option idelementx value72>Estonia/option>option idelementx value73>Ethiopia/option>option idelementx value74>Etiopía (incluida Eritrea)/option>option idelementx value75>European Union/option>option idelementx value76>Ex Sudan/option>option idelementx value123>Falkland Islands/option>option idelementx value124>Faroe Islands/option>option idelementx value77>Federación de Rusia/option>option idelementx value78>Fiji/option>option idelementx value80>Finland/option>option idelementx value81>Fm Panama Cz/option>option idelementx value82>Fm Rhod Nyas/option>option idelementx value83>Fm Tanganyik/option>option idelementx value84>Fm Vietnam DR/option>option idelementx value85>Fm Vietnam Rp/option>option idelementx value86>Fm Zanz-Pemb/option>option idelementx value87>France/option>option idelementx value100>French Guiana/option>option idelementx value200>French Polynesia/option>option idelementx value88>Gabon/option>option idelementx value89>Gambia/option>option idelementx value90>Gaza Strip/option>option idelementx value91>Georgia/option>option idelementx value4>Germany/option>option idelementx value92>Ghana/option>option idelementx value93>Gibraltar/option>option idelementx value95>Greece/option>option idelementx value96>Greenland/option>option idelementx value94>Grenada/option>option idelementx value97>Guadeloupe/option>option idelementx value98>Guam/option>option idelementx value99>Guatemala/option>option idelementx value101>Guinea/option>option idelementx value103>Guinea-Bissau/option>option idelementx value104>Guyana/option>option idelementx value105>Haiti/option>option idelementx value126>Heard and Mc Donald Islands/option>option idelementx value106>Honduras/option>option idelementx value107>Hong Kong (China)/option>option idelementx value108>Hungary/option>option idelementx value118>Iceland/option>option idelementx value109>India/option>option idelementx value110>Indonesia/option>option idelementx value111>Iran/option>option idelementx value112>Iraq/option>option idelementx value113>Ireland/option>option idelementx value115>Isla Bunker/option>option idelementx value120>Islas cocos/option>option idelementx value122>Islas del Pacífico/option>option idelementx value134>Israel/option>option idelementx value135>Italy/option>option idelementx value136>Jamaica/option>option idelementx value137>Japan/option>option idelementx value138>Jhonston Island/option>option idelementx value139>Jordan/option>option idelementx value140>Kazakhstan/option>option idelementx value141>Kenya/option>option idelementx value143>Kiribati/option>option idelementx value145>Kuwait/option>option idelementx value142>Kyrgyzstan/option>option idelementx value211>Lao Peoples Democratic Republic/option>option idelementx value148>Lebanon/option>option idelementx value146>Lesotho/option>option idelementx value147>Letonia/option>option idelementx value149>Liberia/option>option idelementx value150>Libya/option>option idelementx value151>Liechtenstein/option>option idelementx value152>Lithuania/option>option idelementx value153>Luxembourg/option>option idelementx value154>Macau/option>option idelementx value155>Macedonia/option>option idelementx value156>Madagascar/option>option idelementx value158>Malawi/option>option idelementx value157>Malaysia/option>option idelementx value159>Maldives/option>option idelementx value160>Mali/option>option idelementx value161>Malta/option>option idelementx value162>Mariana/option>option idelementx value127>Marshall Islands/option>option idelementx value164>Martinique/option>option idelementx value166>Mauritania/option>option idelementx value165>Mauritius/option>option idelementx value167>Mayotte/option>option idelementx value168>Mexico/option>option idelementx value169>Micronesia, Federated States of/option>option idelementx value170>Midway Islands/option>option idelementx value209>Moldova, Republic of/option>option idelementx value171>Monaco/option>option idelementx value172>Mongolia/option>option idelementx value173>Montenegro/option>option idelementx value174>Montserrat/option>option idelementx value163>Morocco/option>option idelementx value175>Mozambique/option>option idelementx value176>Mundo/option>option idelementx value177>Myanmar/option>option idelementx value178>Namibia/option>option idelementx value179>Nauru/option>option idelementx value180>Nepal/option>option idelementx value191>Netherlands/option>option idelementx value10>Netherlands Antilles/option>option idelementx value187>New Caledonia/option>option idelementx value188>New Zealand/option>option idelementx value181>Nicaragua/option>option idelementx value182>Niger/option>option idelementx value183>Nigeria/option>option idelementx value184>Niue/option>option idelementx value185>No especificados/option>option idelementx value117>Norfolkk Island/option>option idelementx value54>North Korea/option>option idelementx value186>Norway/option>option idelementx value189>Oman/option>option idelementx value190>Otra zona de Asia, no esp./option>option idelementx value280>Otro/option>option idelementx value192>Pakistan/option>option idelementx value193>Palau/option>option idelementx value194>Panama/option>option idelementx value195>Papua New Guinea/option>option idelementx value196>Paraguay/option>option idelementx value197>Pen Malaysia/option>option idelementx value198>Peru/option>option idelementx value79>Philippines/option>option idelementx value199>Pitcairn/option>option idelementx value201>Poland/option>option idelementx value202>Portugal/option>option idelementx value203>Puerto Rico/option>option idelementx value204>Qatar/option>option idelementx value144>Republic of Kosovo/option>option idelementx value206>República árabe Siria/option>option idelementx value210>República Democrática Alemana/option>option idelementx value214>Reunion/option>option idelementx value215>Romania/option>option idelementx value268>Russia/option>option idelementx value216>Rwanda/option>option idelementx value217>Ryukyu Is/option>option idelementx value218>Sabah/option>option idelementx value220>Saint Kitts and Nevis/option>option idelementx value221>Saint Kitts-Nevis-Anguilla-Aru/option>option idelementx value229>Saint Lucia/option>option idelementx value225>Saint Martin/option>option idelementx value227>Saint Vincent and the Grenadines/option>option idelementx value222>Samoa/option>option idelementx value231>Sao Tome and Principe/option>option idelementx value232>Sarawak/option>option idelementx value11>Saudi Arabia/option>option idelementx value233>Senegal/option>option idelementx value234>Serbia/option>option idelementx value235>Seychelles/option>option idelementx value236>Sierra Leone/option>option idelementx value237>SIKKIM/option>option idelementx value238>Singapore/option>option idelementx value224>Sint Maarten/option>option idelementx value213>Slovakia/option>option idelementx value69>Slovenia/option>option idelementx value128>Solomon Islands/option>option idelementx value239>Somalia/option>option idelementx value241>South Africa/option>option idelementx value125>South Georgia and the South Sandwich Islands/option>option idelementx value55>South Korea/option>option idelementx value243>South Sudan/option>option idelementx value70>Spain/option>option idelementx value240>Sri Lanka/option>option idelementx value228>St. Helena/option>option idelementx value226>St. Pierre and Miquelon/option>option idelementx value242>Sudan/option>option idelementx value246>Suriname/option>option idelementx value247>Svalbard and Jan Mayen Is/option>option idelementx value248>Swazilandia/option>option idelementx value244>Sweden/option>option idelementx value245>Switzerland/option>option idelementx value250>Taiwan/option>option idelementx value252>Tajikistan/option>option idelementx value251>Tanzania/option>option idelementx value253>Territorio Antártico Británico/option>option idelementx value255>Territorio Palestino Ocupado/option>option idelementx value249>Thailand/option>option idelementx value256>Tierras Australes y Antárticas Francesas/option>option idelementx value257>Timor-Leste/option>option idelementx value258>Togo/option>option idelementx value259>Tokelau/option>option idelementx value260>Tonga/option>option idelementx value261>Trinidad and Tobago/option>option idelementx value262>Tunisia/option>option idelementx value264>Turkey/option>option idelementx value263>Turkmenistan/option>option idelementx value129>Turks & Caicos Islands/option>option idelementx value265>Tuvalu/option>option idelementx value267>Uganda/option>option idelementx value266>Ukraine/option>option idelementx value67>United Arab Emirates/option>option idelementx value205>United Kingdom/option>option idelementx value71>United States of America/option>option idelementx value269>Uruguay/option>option idelementx value130>USA Minor Outlying Islands/option>option idelementx value270>Uzbekistan/option>option idelementx value271>Vanuatu/option>option idelementx value230>Vatican City State (Holy See)/option>option idelementx value272>Venezuela/option>option idelementx value273>Vietnam/option>option idelementx value132>Virgin Islands (British)/option>option idelementx value131>Virgin Islands (U.S.)/option>option idelementx value274>Wake Island/option>option idelementx value133>Wallis and Futuna Islands/option>option idelementx value219>Western Sahara/option>option idelementx value275>Yemen/option>option idelementx value276>Yemen, Rep. Dem. Del/option>option idelementx value277>Yugoslavia, Rep. Fed. de (Serbia y Montenegro)/option>option idelementx value278>Zambia/option>option idelementx value279>Zimbabwe/option>/select> /span> /form> /div> /div> div classmodal-footer> button idbtnCancelMulti typebutton classbtn btn-secondary btn-default bootbox-cancel>Cancel/button> button idbtnAddMulti typebutton classbtn btn-primary bootbox-accept>OK/button> /div> /div> /div>/div>!-- ****************************************************************************************************** -->!-- MODAL PARA INTERACCIONES MASIVAS -->!-- ****************************************************************************************************** -->!-- +++++++++++++++++++++MODAL CREACION DE NUEVO USUARIO+++++++++++++++++++++++++++++++++++++++++++++++++++++++++-->div classmodal fade modal-content-top idnu tabindex-1 aria-labelledbytopModalLabel styledisplay: none; aria-hiddentrue> div classmodal-dialog modal-xl roledocument> div classmodal-content> div classmodal-header> !--h6 classmodal-title idtitleCli>label idcontCli>Seleccione los datos para registrar el cliente/label>/h6>--> !--button typebutton classclose data-dismissmodal aria-labelClose> span aria-hiddentrue>×/span> /button> --> /div> div classmodal-body> div classcol-sm-12> h6>Registro de usuarios/h6> div classcard mt-2> div classcard-body> section idsection2> div classrow> div classcol-sm-6 mb-3> div classlist-with-gap idcontX> span classinput-icon> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-mail>path dM11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7>/path>path dM18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z>/path>/svg> input typetext classform-control placeholderPrimer Nombre required namepnombre7 maxlength25> /span> span classinput-icon> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-mail>path dM11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7>/path>path dM18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z>/path>/svg> input typetext classform-control placeholderSegundo Nombre namesnombre7 maxlength25> /span> span classinput-icon> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-mail>path dM11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7>/path>path dM18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z>/path>/svg> input typetext classform-control placeholderPrimer Apellido required namepapellido7 maxlength25> /span> span classinput-icon> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-mail>path dM11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7>/path>path dM18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z>/path>/svg> input typetext classform-control placeholderSegundo Apellido namesapellido7 maxlength25> /span> span classinput-icon> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-mail>path dM11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7>/path>path dM18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z>/path>/svg> input typetext classform-control placeholderUsername required nameusername7 maxlength25> /span> span classinput-icon> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-mail>path dM11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7>/path>path dM18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z>/path>/svg> input typetext classform-control placeholderPassword required namepassword7 maxlength25> /span> span classinput-icon> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-mail>path dM11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7>/path>path dM18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z>/path>/svg> input typetext classform-control placeholderConfirm password required namepassword2 maxlength25> /span> span classinput-icon data-toggletooltip-primary data-placementtop data-original-titleFecha de nacimiento > svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-lock>rect x3 y11 width18 height11 rx2 ry2>/rect>path dM7 11V7a5 5 0 0 1 10 0v4>/path>/svg> input typetext classform-control placeholderIdentificación (sin guiones) nameidentidad7 ididentidad maxlength25> /span> span classinput-icon> svg data-toggletooltip data-placementtop title data-original-titleFecha de nacimiento xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-calendar>rect x3 y4 width18 height18 rx2 ry2>/rect>line x116 y12 x216 y26>/line>line x18 y12 x28 y26>/line>line x13 y110 x221 y210>/line>/svg> input typedate classform-control placeholderFecha de nacimiento namefnacimiento7 idfnacimiento> /span> span classinput-icon> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-map-pin>path dM21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z>/path>circle cx12 cy10 r3>/circle>/svg> textarea classform-control rows2 placeholderDirección iddireccion7 maxlength100>/textarea> /span> span classinput-icon input-icon-right> select idcboNivelAcceso7 classform-control custom-select required> option selected value0>Nivel de Acceso/option> /select> /span> span classinput-icon input-icon-right> select idcboRegion7 classform-control custom-select required> option selected value0>Region/option> /select> /span> /div> /div> div classcol-sm-6 mb-3> div classlist-with-gap> span classinput-icon input-icon-right> div classform-group> div classcustom-control custom-radio> input typeradio namegender7 classcustom-control-input idgenero1 required value2> label classcustom-control-label forgenero1>Hombre/label> /div> div classcustom-control custom-radio> input typeradio namegender7 classcustom-control-input idgenero2 required value1> label classcustom-control-label forgenero2>Mujer/label> /div> div classcustom-control custom-radio> input typeradio namegender7 classcustom-control-input idgenero3 required value3> label classcustom-control-label forgenero3>Otro/label> /div> /div> /span> span classinput-icon input-icon-right> select idcbopais7 classform-control custom-select namecbopais7> option selected value0>País de residencia.../option> /select> /span> span classinput-icon input-icon-right> select idcbociudad7 classform-control custom-select namecbociudad7> option selected value0>Ciudad.../option> /select> /span> span classinput-icon input-icon-right> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-mail>path dM4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z>/path>polyline points22,6 12,13 2,6>/polyline>/svg> input typeemail classform-control placeholderCorreo electrońico required nameemail7 idemail7 patterna-zA-Z0-9_+(.a-zA-Z0-9_+)*@a-zA-Z0-9_+(.a-zA-Z0-9_+)*.a-zA-Z{1,5}> /span> span classinput-icon input-icon-right> select idcboMailServer7 classform-control custom-select required> option selected value0>Servidor de correo/option> /select> /span> span classinput-icon input-icon-right> svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-lock>path dM22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z>/path>/svg> input typetext classform-control placeholderTeléfono nametelefono7 idtelefono7 maxlength12> /span> span classinput-icon input-icon-right> select idcboTipoTel7 classform-control custom-select required> option selected value0>Tipo de teléfono/option> /select> /span> span classinput-icon input-icon-right> select idcboProvTel7 classform-control custom-select required> option selected value0>Proveedor del número telefónico/option> /select> /span> br> span classinput-icon input-icon-right> div classlist-with-gap> button typebutton classbtn btn-outline-primary idbtnAgregar>Agregar usuario/button> button typebutton classbtn btn-outline-danger data-dismissmodal aria-labelClose> span aria-hiddentrue>Cancelar operación/span> /button> /div> /span> /div> /div> /div> /section> /div> /div> /div> /div> /div> /div>/div>!-- +++++++++++++++++ MODAL PARA LA PIZARRA +++++++++++++++++++++++++++++++ -->div classmodal fade idmdlPizarra tabindex-1 aria-labelledbyxlModalLabel styledisplay: none; aria-hiddenfalse> div classmodal-dialog modal-xl roledocument> div classmodal-content> div classmodal-header bg-dark text-white shadow-none> h6 classmodal-title idxlModalLabel>Asignación de contacto para apertura de curso/h6> button typebutton classclose data-dismissmodal aria-labelClose> span aria-hiddentrue>×/span> /button> /div> div classmodal-body> div classcard> div classcard-header idbindStudent> h4 classd-flex align-items-center mb-3 idtitleBindStudent> i classmaterial-icons text-info mr-2 idiconBindStudent>assignment/i> Información del estudiante /h4> /div> div classcard-body> div classrow> div classcol-md-6> div classcard mb-3> div classcard-body> div classrow> div classcol-sm-3> h6 classmb-0>Nombre/h6> /div> div classcol-sm-6 text-secondary idfullnamestudent> Kenneth Valdez /div> !-- div classcol-sm-3 idcambianame2> button typebutton id cmbNameCUS classbtn btn-warning btn-sm>i classmaterial-icons>sync_alt/i>/button> /div> --> /div> hr> div classrow> div classcol-sm-3> h6 classmb-0>Email/h6> /div> div classcol-sm-9 text-secondary idmailstudent> fip@jukmuh.al /div> /div> hr> div classrow> div classcol-sm-3> h6 classmb-0>Móvil/h6> /div> div classcol-sm-9 text-secondary idphonestudent> (239) 816-9029 /div> /div> hr> div classrow> div classcol-sm-3> h6 classmb-0>País/h6> /div> div classcol-sm-9 text-secondary idpaisstudent> (320) 380-4539 /div> /div> hr> div classrow> div classcol-sm-3> h6 classmb-0>Programa/h6> /div> div classcol-sm-6 text-secondary idprogramstudent> Bay Area, San Francisco, CA /div> div classcol-sm-3 idcambiaprog2> button typebutton id cmbProg classbtn btn-warning btn-sm>i classmaterial-icons>sync_alt/i>/button> /div> /div> /div> /div> /div> div classcol-md-6> div classcard mb-3> div classrow ml-2 mr-2 mt-1 mb-1> div classcol-sm-12> h7>Horario a inscribir/h7> span classinput-icon input-icon-right> select idcboHor3 classform-control custom-select required> option selected value0>Seleccione.../option>option value1>00:00/option>option value2>00:30/option>option value3>01:00/option>option value4>01:30/option>option value5>02:00/option>option value6>02:30/option>option value7>03:00/option>option value8>03:30/option>option value9>04:00/option>option value10>04:30/option>option value11>05:00/option>option value12>05:30/option>option value13>06:00/option>option value14>06:30/option>option value15>07:00/option>option value16>07:30/option>option value17>08:00/option>option value18>08:30/option>option value19>09:00/option>option value20>09:30/option>option value21>10:00/option>option value22>10:30/option>option value23>11:00/option>option value24>11:30/option>option value25>12:00/option>option value26>12:30/option>option value27>13:00/option>option value28>13:30/option>option value29>14:00/option>option value30>14:30/option>option value31>15:00/option>option value32>15:30/option>option value33>16:00/option>option value34>16:30/option>option value35>17:00/option>option value36>17:30/option>option value37>18:00/option>option value38>18:30/option>option value39>19:00/option>option value40>19:30/option>option value41>20:00/option>option value42>20:30/option>option value43>21:00/option>option value44>21:30/option>option value45>22:00/option>option value46>22:30/option>option value47>23:00/option>option value48>23:30/option>/select> /span> /div> /div> div classrow ml-2 mr-2 mt-1 mb-1> div classcol-sm-6> h7>Fecha de inicio del curso/h7> span classinput-icon> svg data-toggletooltip data-placementtop title data-original-titleFecha de inicio xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-calendar>rect x3 y4 width18 height18 rx2 ry2>/rect>line x116 y12 x216 y26>/line>line x18 y12 x28 y26>/line>line x13 y110 x221 y210>/line>/svg> input typedate classform-control placeholderFecha de inicio namefinicio idfinicio> /span> /div> div classcol-sm-6> h7>Fecha de finalización/h7> span classinput-icon> svg data-toggletooltip data-placementtop title data-original-titleFecha de finalización xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-calendar>rect x3 y4 width18 height18 rx2 ry2>/rect>line x116 y12 x216 y26>/line>line x18 y12 x28 y26>/line>line x13 y110 x221 y210>/line>/svg> input typedate classform-control placeholderFecha de inicio nameffin idffin> /span> /div> /div> div classrow ml-2 mr-2 mt-1 mb-1> div classcol-sm-12> h7>Objetivo por el cual se inscribe/h7> div classrow> span classinput-icon input-icon-right col-sm-11> select idcboObjetivo classform-control custom-select required> option selected value0 classtext-muted>Seleccione.../option> /select> /span> button idbtnAddObj classbtn btn-icon btn-primary mb-0 typebutton>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-plus-circle>circle cx12 cy12 r10>/circle>line x112 y18 x212 y216>/line>line x18 y112 x216 y212>/line>/svg>/button> /div> /div> /div> div classrow ml-2 mr-2 mt-1 mb-1> div classcol-sm-12> h7>Grupo al cual inscribir/h7> div classrow> span classinput-icon input-icon-right col-sm-11> select idcboGrupos classform-control custom-select required> option selected value0 classtext-muted>Seleccione.../option> /select> /span> button idbtnAddGrupoCA classbtn btn-icon btn-primary mb-0 typebutton>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-plus-circle>circle cx12 cy12 r10>/circle>line x112 y18 x212 y216>/line>line x18 y112 x216 y212>/line>/svg>/button> /div> /div> /div> div classrow ml-2 mr-2 mt-1 mb-2> div classcol-sm-12> h7>Días a impartir las clases/h7> div classrow iddiasS> div classcol-sm-1> h7>center>L/center>/h7> div classcustom-control custom-control-nolabel custom-checkbox> input typecheckbox classcustom-control-input idchkL namediaS> label classcustom-control-label forchkL>/label> /div> /div> div classcol-sm-1> h7>M/h7> div classcustom-control custom-control-nolabel custom-checkbox> input typecheckbox classcustom-control-input idchkM namediaS> label classcustom-control-label forchkM>/label> /div> /div> div classcol-sm-1> h7>X/h7> div classcustom-control custom-control-nolabel custom-checkbox> input typecheckbox classcustom-control-input idchkX namediaS> label classcustom-control-label forchkX>/label> /div> /div> div classcol-sm-1> h7>J/h7> div classcustom-control custom-control-nolabel custom-checkbox> input typecheckbox classcustom-control-input idchkJ namediaS> label classcustom-control-label forchkJ>/label> /div> /div> div classcol-sm-1> h7>V/h7> div classcustom-control custom-control-nolabel custom-checkbox> input typecheckbox classcustom-control-input idchkV namediaS> label classcustom-control-label forchkV>/label> /div> /div> div classcol-sm-1> h7>S/h7> div classcustom-control custom-control-nolabel custom-checkbox> input typecheckbox classcustom-control-input idchkS namediaS> label classcustom-control-label forchkS>/label> /div> /div> div classcol-sm-1> h7>D/h7> div classcustom-control custom-control-nolabel custom-checkbox> input typecheckbox classcustom-control-input idchkD namediaS> label classcustom-control-label forchkD>/label> /div> /div> /div> /div> /div> div classrow ml-2 mr-2 mt-1 mb-3> div classcol-sm-12> h7>Observaciones/h7> div classfloating-label input-icon mt-1> i classfa fa-eye>/i> textarea classform-control autosize idtxtObsCustomer placeholderTextarea styleoverflow: hidden; overflow-wrap: break-word; resize: none; height: 74px;>/textarea> label forfloatingTextareaIconAutosize>Escriba el texto que desea anotar como observación/label> /div> /div> /div> div classrow ml-2 mr-2 mt-1 mb-3> div classcol-sm-12 idalertCustomerForm> /div> /div> /div> /div> /div> /div> div classmodal-footer> button idbtnProgramarEst typebutton classbtn btn-success has-icon>i classmaterial-icons mr-1>done_outline/i> Agregar/button> button idbtnCancelarProgramEst typebutton classbtn btn-danger has-icon>i classmaterial-icons mr-1>highlight_off/i> Cancelar/button> /div> /div> /div> /div> /div> /div>!-- +++++++++++++++++ FIN MODAL PARA LA PIZARRA +++++++++++++++++++++++++++ -->!-- ++++++++++++++++++ MODAL PARA MOSTRAR LOS GRUPOS SEGUN SU PROGRAMA +++++++ -->div classmodal fade idmdlDetalleProgramas tabindex-1 aria-labelledbylgModalLabel styledisplay: none; padding-right: 9px; aria-modaltrue roledialog> div classmodal-dialog modal-lg roledocument> div classmodal-content> div classmodal-header> h6 classmodal-title idbasicModalLabel>Grupos en este programa/h6> button typebutton classclose data-dismissmodal aria-labelClose> span aria-hiddentrue>×/span> /button> /div> div classmodal-body> div classcol-md-12 col-xl-12 mb-3> div classcard h-100 overflow-hidden idlistPrograms> div classcard-header py-1> /div> ul classlist-group list-group-flush idlistaGrupos> li classlist-group-item d-flex btn btn-light namegrupoL>div classmedia>span classflex-center text-success p-2>i classmaterial-icons>check/i>/span>div classmedia-body ml-2>h6 classfont-size-sm mb-0 idnombreGrupo>Payment from #10322/h6>span classsmall text-secondary idfInicioGrupo>Mar 21, 2019, 3:30pm/span>/div>/div>div classml-auto text-right>h6 classmb-0 idcantAlumnos>+ $250.00/h6>span classsmall text-success>En progreso/span>/div>/li> li classlist-group-item d-flex btn btn-light namegrupoL>div classmedia>span classflex-center text-success p-2>i classmaterial-icons>check/i>/span>div classmedia-body ml-2>h6 classfont-size-sm mb-0 idnombreGrupo>Payment from #10322/h6>span classsmall text-secondary idfInicioGrupo>Mar 21, 2019, 3:30pm/span>/div>/div>div classml-auto text-right>h6 classmb-0 idcantAlumnos>+ $250.00/h6>span classsmall text-success>En progreso/span>/div>/li> li classlist-group-item d-flex btn btn-light namegrupoL>div classmedia>span classflex-center text-success p-2>i classmaterial-icons>check/i>/span>div classmedia-body ml-2>h6 classfont-size-sm mb-0 idnombreGrupo>Payment from #10322/h6>span classsmall text-secondary idfInicioGrupo>Mar 21, 2019, 3:30pm/span>/div>/div>div classml-auto text-right>h6 classmb-0 idcantAlumnos>+ $250.00/h6>span classsmall text-success>En progreso/span>/div>/li> /ul> /div> /div> /div> div classmodal-footer> button idbtnOKGxP typebutton classbtn btn-secondary data-dismissmodal>Close/button> /div> /div> /div>/div>!-- ++++++++++++++ FIN MODAL PARA MOSTRAR LOS GRUPOS SEGUN SU PROGRAMA +++++++ -->!-- +++++++++++++++++ MODAL PARA MOSTRAR LOS ALUMNOS DE GRUPO SELECCIONADO +++++++ -->div classmodal fade idmdlAlumnosxGrupo tabindex-1 aria-labelledbybasicModalLabel styledisplay: none; padding-right: 9px; aria-modaltrue roledialog> div classmodal-dialog modal-lg roledocument> div classmodal-content> div classmodal-header> h6 classmodal-title idbasicModalLabel>Alumnos del grupo span>strong>label idnombreGrup>Nombre grupo/label>/strong>/span>/h6> button typebutton classclose data-dismissmodal aria-labelClose> span aria-hiddentrue>×/span> /button> /div> div classmodal-body> div classcard> div classcard-body> div classtable-responsive> table classtable idtblAlumosxGrupo stylewidth: 100%;> thead> tr> th scopecol>Nombre/th> th scopecol>Apellido/th> th scopecol>Finaliza/th> th scopecol>Pagado/th> th scopecol>Pendiente/th> th scopecol>Total/th> th scopecol>Acciones/th> /tr> /thead> tbody> /tbody> /table> /div> /div> /div> /div> div classmodal-footer> button typebutton classbtn btn-secondary data-dismissmodal>Cerrar/button> /div> /div> /div>/div>!-- ++++++++++++++ FIN MODAL PARA MOSTRAR ALUMNOS POR GRUPO +++++++++++++++++++++++ -->!-- ----------------- MODAL PARA LOS ALUMNOS EN PROGRESO -------------------- -->div classbootbox modal fade bootbox-alert idmdlCustomerProgress tabindex-1 roledialog aria-modaltrue stylepadding-right: 9px; display: none;> div classmodal-dialog modal-xl> div classmodal-content> div classmodal-body> div classbootbox-body> div classtab-pane section mt-3 idCurrentCustomer roletabpanel aria-labelledbyacustomer-tab> h5 idtituloGestAlumnos>Alumnos con programas en progreso/h5> div classcard> div classcard-body> div classtable-responsive> table classtable table-bordered table-sm has-checkAll mb-0 data-bulk-target#bulk-dropdown data-checked-classtable-warning idtblCurrentCustomer stylewidth: 100%;> caption classp-0 text-right>small>Showing 1 to 5 of 57 entries/small>/caption> Filter columns thead classthead-primary> !-- ELEMENTOS PARA LA BUSQUEDA INDIVIDUAL --> tr classcolumn-filter idbuscadores> td colspan1>/td>!-- th> idc /th>--> th> fname /th> th> lname /th> th> pais /th> th> finicio /th> th> ffin /th> th> programa /th> th> Grupo /th> th> Hora /th> td>button classbtn btn-sm btn-outline-primary btn-block has-icon>i classmaterial-icons>search/i>/button>/td> /tr> !-- FIN ELEMENTOS PARA LA BUSQUEDA INDIVIDUAL --> tr styletext-align: center; color: #000; classtext-uppercase> th scopecol> div classcustom-control custom-control-nolabel custom-checkbox> input typecheckbox classcustom-control-input idcheckAll> label classcustom-control-label forcheckAll>/label> /div> /th>!-- th scopecol>a hrefjavascript:void(0) class stylecolor: #000;>ID/a>/th>--> th scopecol>a hrefjavascript:void(0) class stylecolor: #000;>Nombre/a>/th> th scopecol>a hrefjavascript:void(0) class stylecolor: #000;>Apellido/a>/th> th scopecol>a hrefjavascript:void(0) class stylecolor: #000;>País/a>/th> th scopecol>a hrefjavascript:void(0) class stylecolor: #000;>Inicio/a>/th> th scopecol>a hrefjavascript:void(0) class stylecolor: #000;>Finaliza/a>/th> th scopecol>a hrefjavascript:void(0) class stylecolor: #000;>Programa/a>/th> th scopecol>a hrefjavascript:void(0) class stylecolor: #000;>Grupo/a>/th> th scopecol>a hrefjavascript:void(0) class stylecolor: #000;>Hora/a>/th> th scopecol classtext-center>Acciones/th> /tr> /thead> tbody> /tbody> /table> !-- /.table --> /div> !-- /.table-responsive --> /div> /div> /div> /div> br> !-- COllapse del avance del alumno --> div classcollapse idcontainerAvanceProg style> div classcard card-body idcontenidoAvanceProg>/div> /div> /div> div classmodal-footer> button idbtnCerrarActivos typebutton classbtn btn-warning bootbox-accept>Cerrar/button> /div> /div> /div>/div>!-- ----------------- FIN MODAL PARA LOS ALUMNOS EN PROGRESO ----------------- -->!-- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX TODO MODAL NUEVO DEBE IR SOBRE ESTOS XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX -->!-- ++++++++++++++++++ MODAL NUEVO APRETURA DE VENTA +++++++++++++++++++++ -->div classmodal fade idmdlAprVenta tabindex-1 roledialog aria-labelledbylgModalLabel stylepadding-right: 9px; display: none; z-index: 2000; aria-modaltrue> div classmodal-dialog modal-lg roledocument> div classmodal-content> div classmodal-header bg-dark text-white shadow-none> h6 classmodal-title idmdlAprVtalbl>Datos para apertura de venta/h6> button typebutton classclose data-dismissmodal aria-labelClose> span aria-hiddentrue>×/span> /button> /div> div classmodal-body> div classrow> !-- INICIO DEL WIZARD --> div classcol-md-12> div idsmartwizard classsw sw-theme-dots> ul classnav> li>a classnav-link idwzd1 href#wzdPasoInit>Datos inicialesbr>small>Programas y unidades didácticas/small>/a>/li> !-- li>a classnav-link idwzd2 href#wzdPasoCalendario>Calendarizaciónbr>small>Horarios y días a la semana/small>/a>/li> li>a classnav-link idwzd3 href#wzdPasoEstad>Objetivo y grupobr>small>Datos para uso estadístico/small>/a>/li> --> li>a classnav-link idwzd4 href#wzdPasoFinal>Registro de pagobr>small>Monto del cobro a registrar/small>/a>/li> /ul> div classtab-content> div idwzdPasoInit classtab-pane roletabpanel> p classsmall text-secondary>Asegúrese de completar todos los datos de este formulario para finalizar con éxito el proceso./p> form> div classform-group> div classinput-group> div classinput-group-prepend> span classinput-group-text>Nombre completo/span> /div> input typetext classform-control disabled placeholderFirstname namefname3 idfname3 disabled> input typetext classform-control disabled placeholderLastname namelname3 idlname3 disabled> /div> /div> div classrow> div classcol-sm-6> h7>Programa a inscribir/h7> span classinput-icon input-icon-right> select idcboProg3 classform-control custom-select required> option selected value0>Seleccione.../option>option value1>Intensivo/option>option value2>Semi intensivo/option>option value3>Regular/option>option value4>Privado/option>option value5>Adolescentes/option>option value6>Bambini/option>option value7>Sábado 2hrs AM/option>option value8>Sábado 2hrs PM/option>option value9>Sábado 3hrs AM/option>option value10>Sábado 3hrs PM/option>option value11>Sábado 3hrs AM/option>option value12>Sábado 3hrs PM/option>option value13>NA/option>option value14>Vacacional/option> /select> /span> /div> div classcol-sm-6> h7>Nivel didáctico a comenzar/h7> span classinput-icon input-icon-right> select idcboNivD3 classform-control custom-select col-sm-12 required> option selected value0>Seleccione.../option>option value1>A1/option>option value2>A2/option>option value3>B1/option>option value4>B2/option>option value5>C1/option>option value6>Salone virtuale/option>option value7>Bambini/option>option value8>A1 - Beginners/option> /select> /span> /div> !-- div classcol-sm-6> h7>Horario a inscribir/h7> span classinput-icon input-icon-right> select idcboHor3 classform-control custom-select required> option selected value0>Seleccione.../option>option value1>00:00/option>option value2>00:30/option>option value3>01:00/option>option value4>01:30/option>option value5>02:00/option>option value6>02:30/option>option value7>03:00/option>option value8>03:30/option>option value9>04:00/option>option value10>04:30/option>option value11>05:00/option>option value12>05:30/option>option value13>06:00/option>option value14>06:30/option>option value15>07:00/option>option value16>07:30/option>option value17>08:00/option>option value18>08:30/option>option value19>09:00/option>option value20>09:30/option>option value21>10:00/option>option value22>10:30/option>option value23>11:00/option>option value24>11:30/option>option value25>12:00/option>option value26>12:30/option>option value27>13:00/option>option value28>13:30/option>option value29>14:00/option>option value30>14:30/option>option value31>15:00/option>option value32>15:30/option>option value33>16:00/option>option value34>16:30/option>option value35>17:00/option>option value36>17:30/option>option value37>18:00/option>option value38>18:30/option>option value39>19:00/option>option value40>19:30/option>option value41>20:00/option>option value42>20:30/option>option value43>21:00/option>option value44>21:30/option>option value45>22:00/option>option value46>22:30/option>option value47>23:00/option>option value48>23:30/option>/select> /span> /div> --> /div> div classrow> div classcol-sm-6> div classrow> div classcol-sm-6 idnumHrsAV styledisplay: none;> h8>No. de horas/h8> span classinput-icon input-icon-right> select idcboNumHrsPriv classform-control custom-select required> option selected disabled value0>Seleccione.../option> option value1>1/option> option value8>8/option> option value12>12/option> option value16>16/option> option value24>24/option> option value48>48/option> option value64>64/option> option value80>80/option> option value304>304/option> option value400>400/option> option value600>600/option> option value700>Definir cantidad/option> /select> /span> br/> span classinput-icon input-icon-right> input idtxtCantHorasPriv classform-control typetext placeholderCantidad de horas styledisplay: none; autocompleteoff> /span> /div> div classcol-sm-6 idcanHrsAV styledisplay: none;> h8>Horas/semana/h8> span classinput-icon input-icon-right> select idcboClasesSemPriv classform-control custom-select required> option selected disabled value0>Seleccione.../option> option value1>1/option> option value2>2/option> option value3>3/option> option value4>4/option> option value5>5/option> option value6>6/option> option value7>7/option> option value8>8/option> option value9>9/option> option value10>10/option> option value11>11/option> option value12>12/option> option value13>13/option> option value14>14/option> option value15>15/option> option value16>16/option> option value17>17/option> option value18>18/option> /select> /span> /div> /div> /div> div classcol-sm-6> h7>Unidad didáctica a comenzar/h7> span classinput-icon input-icon-right> select idcboUndD3 classform-control custom-select required> option selected value0>Seleccione.../option> /select> /span> /div> /div> /form> /div> div idwzdPasoCalendario classtab-pane roletabpanel> p classsmall text-secondary>Asegúrese de completar todos los datos de este formulario para finalizar con éxito el proceso./p> form> div classform-group> div classinput-group> div classinput-group-prepend> span classinput-group-text>Nombre completo/span> /div> input typetext classform-control disabled placeholderFirstname namefname4 idfname4 disabled> input typetext classform-control disabled placeholderLastname namelname4 idlname4 disabled> /div> /div> div classrow> div classcol-sm-6> h7>Fecha de inicio del curso/h7> span classinput-icon> svg data-toggletooltip data-placementtop title data-original-titleFecha de inicio xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-calendar>rect x3 y4 width18 height18 rx2 ry2>/rect>line x116 y12 x216 y26>/line>line x18 y12 x28 y26>/line>line x13 y110 x221 y210>/line>/svg> input typedate classform-control placeholderFecha de inicio namefinicio idfinicio> /span> /div> div classcol-sm-6> h7>Fecha de finalización/h7> span classinput-icon> svg data-toggletooltip data-placementtop title data-original-titleFecha de finalización xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-calendar>rect x3 y4 width18 height18 rx2 ry2>/rect>line x116 y12 x216 y26>/line>line x18 y12 x28 y26>/line>line x13 y110 x221 y210>/line>/svg> input typedate classform-control placeholderFecha de inicio nameffin idffin> /span> /div> /div> br>br> div classrow> div classcol-sm-6> div classrow> div classcol-sm-6> h7>Horas por programa/h7> div classrow> div classcol-sm-12> input idtxtHrsProg classform-control inputmask typetext data-inputmask-aliasinteger data-inputmask-min0 inputmodenumeric styletext-align: right; maxlength2> /div> /div> /div> div classcol-sm-6> div classrow iddiasS> div classcol-sm-1> h7>center>L/center>/h7> div classcustom-control custom-control-nolabel custom-checkbox> input typecheckbox classcustom-control-input idchkL namediaS> label classcustom-control-label forchkL>/label> /div> /div> div classcol-sm-1> h7>M/h7> div classcustom-control custom-control-nolabel custom-checkbox> input typecheckbox classcustom-control-input idchkM namediaS> label classcustom-control-label forchkM>/label> /div> /div> div classcol-sm-1> h7>X/h7> div classcustom-control custom-control-nolabel custom-checkbox> input typecheckbox classcustom-control-input idchkX namediaS> label classcustom-control-label forchkX>/label> /div> /div> div classcol-sm-1> h7>J/h7> div classcustom-control custom-control-nolabel custom-checkbox> input typecheckbox classcustom-control-input idchkJ namediaS> label classcustom-control-label forchkJ>/label> /div> /div> div classcol-sm-1> h7>V/h7> div classcustom-control custom-control-nolabel custom-checkbox> input typecheckbox classcustom-control-input idchkV namediaS> label classcustom-control-label forchkV>/label> /div> /div> div classcol-sm-1> h7>S/h7> div classcustom-control custom-control-nolabel custom-checkbox> input typecheckbox classcustom-control-input idchkS namediaS> label classcustom-control-label forchkS>/label> /div> /div> div classcol-sm-1> h7>D/h7> div classcustom-control custom-control-nolabel custom-checkbox> input typecheckbox classcustom-control-input idchkD namediaS> label classcustom-control-label forchkD>/label> /div> /div> /div> /div> /div> /div> div classcol-sm-6> div classrow> div classcol-sm-6> h7>Horas semanales/h7> div classrow> span classinput-icon input-icon-right col-sm-12> select idcboHrsSemanales classform-control custom-select required> option selected value0 classtext-muted>Seleccione.../option> option value2.0 class>2/option> option value3.0 class>3/option> option value4.0 class>4/option> option value4.5 class>4.5/option> option value6.0 class>6/option> option value7.5 class>7.5/option> option value8.0 class>8/option> option value10.0 class>10/option> option value12.0 class>12/option> option value16.0 class>16/option> option value20.0 class>20/option> option value24.0 class>24/option> option value30.0 class>30/option> /select> /span> /div> /div> div classcol-sm-6> h7>Duración (semanas)/h7> div classrow> span classinput-icon input-icon-right col-sm-12> div classcustom-file> input typetext idtxtCamSem classform-control placeholder disabled value0> /div> /span> /div> /div> /div> /div> /div> /form> /div> div idwzdPasoEstad classtab-pane roletabpanel> div classaccordion accordion-flush idaccordion-flush> div classrow> p classsmall text-secondary col-sm-12>Asegúrese de completar todos los datos de este formulario para finalizar con éxito el proceso./p> div classinput-group col-sm-12> div classinput-group-prepend> span classinput-group-text>Nombre completo/span> /div> input typetext classform-control disabled placeholderFirstname namefname5 idfname5 disabled> input typetext classform-control disabled placeholderLastname namelname5 idlname5 disabled> /div> /div> br> div classrow> div classcol-sm-6> div classrow> div classcol-sm-12> h7>Objetivo por el cual se inscribe/h7> div classrow> span classinput-icon input-icon-right col-sm-11> select idcboObjetivo classform-control custom-select required> option selected value0 classtext-muted>Seleccione.../option> /select> /span> button idbtnAddObj classbtn btn-icon btn-primary typebutton>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-plus-circle>circle cx12 cy12 r10>/circle>line x112 y18 x212 y216>/line>line x18 y112 x216 y212>/line>/svg>/button> /div> br> /div> /div> /div> div classcol-sm-6> div classrow> div classcol-sm-11> h7>Grupo al cual inscribir/h7> div classrow> span classinput-icon input-icon-right col-sm-10> select idcboGrupos classform-control js-example-basic-single custom-select required> option selected value0 classtext-muted>Seleccione.../option> /select> /span> !-- button idbtnAddObj2 classbtn btn-icon btn-success typebutton>svg xmlnshttp://www.w3.org/2000/svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround classfeather feather-plus-circle>circle cx12 cy12 r10>/circle>line x112 y18 x212 y216>/line>line x18 y112 x216 y212>/line>/svg>/button> --> /div> br> /div> /div> /div> /div>!-- div classcard active> div classcard-header> button classbtn py-3 dropdown-toggle typebutton data-togglecollapse data-target#accordion-flush-1 aria-expandedtrue> i classfar fa-fw fa-credit-card mr-2>/i>Pay with Credit Card /button> /div> div idaccordion-flush-1 classcollapse show data-parent#accordion-flush> div classcard-body text-secondary pt-0> Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. /div> /div> /div> div classcard> div classcard-header> button classbtn py-3 dropdown-toggle collapsed typebutton data-togglecollapse data-target#accordion-flush-2 aria-expandedfalse> i classfab fa-fw fa-paypal mr-2>/i>Pay with Paypal /button> /div> div idaccordion-flush-2 classcollapse data-parent#accordion-flush> div classcard-body text-secondary pt-0> Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. /div> /div> /div> div classcard> div classcard-header> button classbtn py-3 dropdown-toggle collapsed typebutton data-togglecollapse data-target#accordion-flush-3 aria-expandedfalse> i classfa fa-fw fa-coins mr-2>/i>Reedem Points /button> /div> div idaccordion-flush-3 classcollapse data-parent#accordion-flush> div classcard-body text-secondary pt-0> Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. /div> /div> /div>--> /div> /div> div idwzdPasoFinal classtab-pane roletabpanel> div classrow> p classsmall text-secondary col-sm-12>Asegúrese de completar todos los datos de este formulario para finalizar con éxito el proceso./p> div classinput-group col-sm-12> div classinput-group-prepend> span classinput-group-text>Nombre completo/span> /div> input typetext classform-control disabled placeholderFirstname namefname6 idfname6 disabled> input typetext classform-control disabled placeholderLastname namelname6 idlname6 disabled> /div> /div> br> div classrow> div classcol-sm-4> h8>Monto ($)/h8> div classrow> span classinput-icon input-icon-right col-sm-12> input idtxtMontoP classform-control inputmask typetext data-inputmask-aliasdecimal data-inputmask-digits2 data-inputmask-groupseparator, inputmodenumeric styletext-align: right; maxlength7 autocompleteoff> /span> /div> /div> div classcol-sm-4> h8>Tipo de pago/h8> div classrow> span classinput-icon input-icon-right col-sm-12> select idcboTipoPagoAV classform-control custom-select required> option selected value0 classtext-muted>Seleccione.../option> option value1>Único/option> option value2>Parcial/option> option value3>Parcial editable/option> /select> /span> /div> /div> div classcol-sm-4> div classrow> div classcol-sm-12> div classdropdown dropdown-hover iddropDsc> a href# classdropdown-toggle data-toggledropdown>Descuento: /a> div classdropdown-menu> a name idcMonto classdropdown-item hrefjavascript:void(0)>Monto/a> a name idcPorcentaje classdropdown-item hrefjavascript:void(0)>Porcentaje (%)/a> a name idc0 classdropdown-item hrefjavascript:void(0)>0/a> /div> /div> div classrow> span classinput-icon input-icon-right col-sm-12> input idtxtDscP classform-control inputmask typetext data-inputmask-aliasdecimal data-inputmask-digits2 data-inputmask-groupseparator, inputmodenumeric styletext-align: right; maxlength5 autocompleteoff> /span>!-- span classinput-icon input-icon-right col-sm-12> input idtxtDscP classform-control inputmask typetext data-inputmask-aliasinteger data-inputmask-digits0 data-inputmask-groupseparator, inputmodenumeric styletext-align: right; maxlength2 autocompleteoff> /span>--> /div> /div> /div> /div> /div> div classrow> div classcol-sm-4> h7 classtext-info>Modalidad del descuento/h7> div classrow> span classinput-icon input-icon-right col-sm-12> select idcboModDsc classform-control custom-select required> option selected value0 classtext-muted>Seleccione.../option> option value1>Único/option> option value2>Permanente/option> /select> /span> /div> /div> div classcol-sm-4> div classrow iddivNumPagosAV styledisplay: none;> h8>No. de pagos/h8> div classinput-group bootstrap-touchspin bootstrap-touchspin-injected idcontNumPagosAV> input typetext value1 classbs-touchspin text-center form-control nametsNumPagosAV idNumPagosAV> /div> /div> /div> div classcol-sm-4> h8>Monto pendiente ($)/h8> div classrow> span classinput-icon input-icon-right col-sm-12> input idtxtMontoPendienteAV disabled classform-control inputmask typetext data-inputmask-aliasdecimal data-inputmask-digits2 data-inputmask-groupseparator, inputmodenumeric styletext-align: right; maxlength7 autocompleteoff> /span> /div> /div> /div> div classrow> div classcol-sm-4> /div> div classcol-sm-4> div classrow iddivMontoCuotaAV styledisplay: none;> h8>Monto cuota ($): /h8> span classinput-icon input-icon-right idcontMontoCuotaAV> input idtxtMontoCadaPagoAV disabled classform-control inputmask typetext data-inputmask-aliasdecimal data-inputmask-digits2 data-inputmask-groupseparator, inputmodenumeric styletext-align: right; maxlength7 autocompleteoff> /span> /div> /div> div classcol-sm-4> h8>Monto neto ($)/h8> div classrow> span classinput-icon input-icon-right col-sm-12> input idtxtMontoNetoAV disabled classform-control inputmask typetext data-inputmask-aliasdecimal data-inputmask-digits2 data-inputmask-groupseparator, inputmodenumeric styletext-align: right; maxlength7 autocompleteoff> /span> /div> /div> /div> div classalert alert-dismissible fade alert-success rolealert idalertWizard> strong idtitMsjWizard>Success!/strong> label idmsjAlertWizard>a simple success alert—check it out! /label> button typebutton classclose data-dismissalert aria-labelClose>span aria-hiddentrue>×/span>/button> /div> div classmodal-footer> section> div classrow> div classlist-with-gap> button typebutton classbtn btn-primary has-icon idbtnRegCli>i classmaterial-icons mr-1>thumb_up/i> Registrar estudiante/button> button typebutton classbtn btn-danger has-icon idbtnCanCli>i classmaterial-icons mr-1>delete/i> Cancelar/button> /div> /div> /section> /div> /div> div classtoolbar toolbar-bottom roletoolbar styletext-align: right;> div idmsjErr3>/div> button classbtn sw-btn-prev typebutton>Anterior/button> button classbtn sw-btn-next typebutton>Siguiente/button> /div> /div> /div> /div> !-- FIN CONTENIDO DEL WIZARD --> /div> /div> /div> /div>/div>!-- ++++++++++++++++++ MODAL NUEVO APRETURA DE VENTA FIN +++++++++++++++++ -->!-- ............ MODAL PARA N UEVO PROGRAMA DE ESTUDIO .................... -->div classbootbox modal fade bootbox-alert idmdlAddProgram tabindex-1 roledialog aria-modaltrue stylepadding-right: 9px; display: none;> div classmodal-dialog modal-lg> div classmodal-content> div classmodal-body> div classbootbox-body> section idsection2 classmt-2 py-2> div classcard card-example> div classcard-body> h5 classcard-title>Elementos requeridos/h5> h6 classcard-subtitle text-secondary mb-2>Debe llenar todos los datos/h6> div classcard-body> section> div classrow> div classcol-sm-6 mb-3> div classlist-with-gap> input idtxtNuevoPrograma typetext classform-control placeholderNombre del nuevo programa de estudio autocompleteoff /> textarea idtxtDescripPrograma classform-control rows2 placeholderEscriba la descripción del nuevo programa>/textarea> /div> br>br> div classlist-with-gap col-sm-12> h6>Niveles del nuevo programa/h6> p classtext-muted font-size-sm> Seleccione los niveles que formarán el nuevo programa. /p> div classrow stylewidth:100%;> div classcol-lg-12> select classform-control select2 idselectNivelesPrg stylewidth: 100%; z-index: 2005; namestates multiplemultiple> option value1 cantund6>A1/option> option value2 cantund6>A2/option> option value3 cantund8>B1/option> option value4 cantund8>B2/option> option value5 cantund10>C1/option> /select> /div> /div> /div> /div> div classcol-sm-6 mb-3> div classlist-with-gap> h6>Duración del programa (semanas):/h6> select classcustom-select idselectDuraSem> option selected disabled value0>Seleccione.../option> option value4>4/option> option value6>6/option> option value8>8/option> option value10>10/option> option value12>12/option> option value14>14/option> option value17>17/option> option value20>20/option> option value24>24 (6 semanas)/option> option value28>28/option> option value32>32 (8 semanas)/option> option value34>34/option> option value38>38/option> option value40>40 (10 semanas)/option> option value48>48/option> option value65>65/option> /select> h6>Total de horas por programa:/h6> select classcustom-select idselectHorasProg> option selected disabled value0>Seleccione.../option> option value45>45/option> option value48>48/option> option value60>60/option> option value64>64/option> option value75>75/option> option value80>80/option> option value90>90/option> option value96>96/option> option value150>150/option> option value160>160/option> option value210>210/option> option value224>224/option> option value285>285/option> option value304>304/option> /select> h6>Horas a impartir en la semana:/h6> select classcustom-select idselectHorasSemanales> option selected disabled value0>Seleccione.../option> option value2.0>2/option> option value3.0>3/option> option value4.5>4.5/option> option value7.5>7.5/option> /select> /div> /div> /div> /section> /div> /div> /div> /section> /div> /div> section> div classrow ml-5 idMsjContainer> /div> /section> div classmodal-footer> button idbtnAddNewProgram typebutton classbtn btn-success has-icon>i classmaterial-icons mr-1>done_outline/i> Agregar/button> button idbtnCancelNewProgram typebutton classbtn btn-danger has-icon>i classmaterial-icons mr-1>highlight_off/i> Cancelar/button> /div> /div> /div>/div>!-- ......... FIN MODAL PARA NUEVO PROGRAMA DE ESTUDIO .................... -->!-- ------------------------ MENSAJE ERROR ---------------------------------------------------------- -->div classmodal fade modal-content-top idmsjErrorPend tabindex-1 aria-labelledbytopModalLabel styledisplay: none; aria-hiddentrue> div classmodal-dialog roledocument> div classmodal-content> div classmodal-header> h6 classmodal-title idtitleError>label idcontError>/label>/h6> button typebutton classclose data-dismissmodal aria-labelClose> span aria-hiddentrue>×/span> /button> /div> div classmodal-body text-center> section> !-- i classmaterial-icons text-danger>verified_user/i> --> i classmaterial-icons text-danger>highlight_off/i> /section> label idcontMsjError>/label> /div> /div> /div>/div>!-- ------------------------ FIN MENSAJE ERROR ---------------------------------------------------------- -->div classmodal fade modal-content-right idsettingModal tabindex-1 roledialog aria-labelledbysettingModalLabel aria-hiddentrue> div classmodal-dialog modal-sm roledocument stylemax-width:270px> div classmodal-content> div classmodal-header bg-dark text-white shadow-none> h6 classmodal-title idsettingModalLabel>Settings/h6> button typebutton classclose data-dismissmodal aria-labelClose> span aria-hiddentrue>×/span> /button> /div> div classmodal-body> small classd-block text-secondary>Navigation theme/small> div classcustom-color custom-color-lg mt-2> div classcolor-item> input typeradio namenavigation-theme value../../css/sidebar-royal.min.css idnavigation-theme-royal classcustom-control-input checked> label classrounded-circle fornavigation-theme-royal stylebackground-color:#243b55>/label> /div> div classcolor-item> input typeradio namenavigation-theme value../../css/sidebar-blue.min.css idnavigation-theme-blue classcustom-control-input> label classrounded-circle fornavigation-theme-blue stylebackground-color:#2b579a>/label> /div> div classcolor-item> input typeradio namenavigation-theme value../../css/sidebar-cyan.min.css idnavigation-theme-cyan classcustom-control-input> label classrounded-circle fornavigation-theme-cyan stylebackground-color:#006064>/label> /div> div classcolor-item> input typeradio namenavigation-theme value../../css/sidebar-green.min.css idnavigation-theme-green classcustom-control-input> label classrounded-circle fornavigation-theme-green stylebackground-color:#217346>/label> /div> div classcolor-item> input typeradio namenavigation-theme value../../css/sidebar-pink.min.css idnavigation-theme-pink classcustom-control-input> label classrounded-circle fornavigation-theme-pink stylebackground-color:#ad1457>/label> /div> div classcolor-item> input typeradio namenavigation-theme value../../css/sidebar-purple.min.css idnavigation-theme-purple classcustom-control-input> label classrounded-circle fornavigation-theme-purple stylebackground-color:#7151c8>/label> /div> div classcolor-item> input typeradio namenavigation-theme value../../css/sidebar-red.min.css idnavigation-theme-red classcustom-control-input> label classrounded-circle fornavigation-theme-red stylebackground-color:#b7472a>/label> /div> div classcolor-item> input typeradio namenavigation-theme value../../css/sidebar-dark.min.css idnavigation-theme-dark classcustom-control-input> label classrounded-circle fornavigation-theme-dark stylebackground-color:#272822>/label> /div> div classcolor-item color-item-light> input typeradio namenavigation-theme value../../css/sidebar-white.min.css idnavigation-theme-white classcustom-control-input> label classrounded-circle fornavigation-theme-white stylebackground-color:#fff>/label> /div> div classcolor-item> input typeradio namenavigation-theme value../../css/sidebar-gray.min.css idnavigation-theme-gray classcustom-control-input> label classrounded-circle fornavigation-theme-gray stylebackground-color:#37474f>/label> /div> div classcolor-item> input typeradio namenavigation-theme value../../css/sidebar-ash.min.css idnavigation-theme-ash classcustom-control-input> label classrounded-circle fornavigation-theme-ash stylebackground-color:#606c88>/label> /div> div classcolor-item> input typeradio namenavigation-theme value../../css/sidebar-crimson.min.css idnavigation-theme-crimson classcustom-control-input> label classrounded-circle fornavigation-theme-crimson stylebackground-color:#573662>/label> /div> div classcolor-item> input typeradio namenavigation-theme value../../css/sidebar-namn.min.css idnavigation-theme-namn classcustom-control-input> label classrounded-circle fornavigation-theme-namn stylebackground-color:#9b3333>/label> /div> div classcolor-item> input typeradio namenavigation-theme value../../css/sidebar-frost.min.css idnavigation-theme-frost classcustom-control-input> label classrounded-circle fornavigation-theme-frost stylebackground-color:#00275a>/label> /div> /div> small classd-block text-secondary mt-4 mb-2>Font family/small> div classbtn-group-toggle btn-group-sm data-togglebuttons> label classbtn btn-light active> input typeradio namefont-family-theme value../../../font/inter/inter.min.css data-css checked> Inter /label> label classbtn btn-light> input typeradio namefont-family-theme value../../../font/roboto/roboto.min.css data-css../../css/font-family-roboto.min.css> Roboto /label> /div> /div> /div> /div>/div>!-- ************ CONTROLADORES DEL PROYECTO ****************************** -->script srcdist/js/js_crm/cabezote.js>/script>script srcdist/js/js_crm/ctr_cabezote.js>/script>script srcdist/js/js_crm/usr_settings.js>/script>script srcdist/js/js_crm/usr_settings2.js>/script>script srcdist/js/js_crm/ctr_inicio.js>/script>script srcdist/js/js_crm/ctr_open.js>/script>script srcdist/js/js_crm/ctr_process.js>/script>script srcdist/js/js_crm/ctr_pending.js>/script>script srcdist/js/js_crm/ctr_opensale.js>/script>script srcdist/js/js_crm/ctr_customer.js>/script>script srcdist/js/js_crm/ctr_na.js>/script>script srcdist/js/js_crm/ctr_retired.js>/script>!--script srcdist/js/js_crm/gral_dashboard.js>/script>-->script srcdist/js/js_crm/sls_monitor.js>/script>script srcdist/js/js_crm/crt_graldash.js>/script>script srcdist/js/js_crm/agentes/ctr_gestagentes.js>/script>script srcdist/js/js_crm/agentes/ctr_seg_mav.js>/script>script srcdist/js/js_crm/usuarios/ctr_new_user.js>/script>script srcdist/js/js_crm/usuarios/notifrecordatorios.js>alert(SCRIPTS);/script>script srcdist/js/js_crm/ctr_activecustomer.js>/script>script srcdist/js/js_crm/contactos/ctr_findc.js>/script>!-- script srcdist/js/js_crm/contactos/ctr_new_contact.js>/script> -->script srcdist/js/js_crm/rc_js.js>/script>!-- ---------CONTROLADORES DEL PROYECTO ----------------------------------- -->script typetext/javascript> $(document).ready(function(){ //$(#smartwizard).smartWizard(); $(#selectNivelesPrg).select2({ dropdownParent: $(#mdlAddProgram) }); });/script>script srcdist/js/ajax.js>/script>!-- script> App.ajax({ container: .main-body }) /script> -->!-- script srcdist/js/ajax.min.js idajax-js>/script> -->!-- Plugins -->!-- JS plugins goes here --> /body>/html>
Subdomains
Date
Domain
IP
eng.maham-trading.com
2024-08-28
88.198.66.73
www.eng.maham-trading.com
2024-09-15
88.198.66.73
www.maham-trading.com
2024-09-15
78.47.15.251
View on OTX
|
View on ThreatMiner
Please enable JavaScript to view the
comments powered by Disqus.
Data with thanks to
AlienVault OTX
,
VirusTotal
,
Malwr
and
others
. [
Sitemap
]