PageSourceSearch

https://reshalka-gdzw.ru/assets/application-e85d06fa261476803cf9d9…a8078e537960409124dce2b185c9be9b16835fe6.js

js reshalka-gdzw.ru collected 2026-10-08 14:35:19 UTC 81,696 bytes, 18 lines download raw bytes

1function dom(t){"loading"!==document.readyState?t():document.addEventListener("DOMContentLoaded",t)}function domevent(t,e,n){t instanceof NodeList?t.forEach(function(t){domevent(t,e,n)}):t.addEventListener(e,n,!1)}function qq(t){return document.querySelectorAll(t)}function qqq(t){return document.querySelector(t)}function arrayEach(t,e){for(var n=0;n<t.length;n++){e(t[n])}}function addYaParams(t){window.yaParams=window.yaParams||{},window.yaParams=extend(window.yaParams,t),eachSlice=function(t,e){for(var n=[],i=0,o=t.length;i<o;i+=e)n.push(t.slice(i,i+e));return n}}function loadextjs(t,e){var n=window.document.getElementsByTagName("script")[0],i=window.document.createElement("script");i.type="text/javascript",i.src=t,i.async=!0,n.parentNode.insertBefore(i,n),e&&(i.onload=e)}function setCookie(t,e,n){n.path="/",n.expires instanceof Date&&(n.expires=n.expires.toUTCString());var i=encodeURIComponent(t)+"="+encodeURIComponent(e);for(var o in n){i+="; "+o;var a=n[o];!0!==a&&(i+="="+a)}document.cookie=i}function extend(t){t=t||{};for(var e=1;e<arguments.length;e++)if(arguments[e])for(var n in arguments[e])arguments[e].hasOwnProperty(n)&&(t[n]=arguments[e][n]);return t}function stringFormat(t,e){return t.replace(/\{(\d+)\}/g,function(t,n){return(n=Number(n))<0||n>e.length-1?n:e[n]})}function stringFormatNames(t,e){return t.replace(/\{(\w+)\}/g,function(t,n){return e[n]})}function multiload(t,e){var n={},i=function(){for(var e in t){var i=t[e];if(!n[i])return!1}return!0};for(var o in t){var a=t[o];loadextjs(a,function(t){n[t]=!0,i()&&e()}.bind(null,a))}}(function(){(function(){(function(){this.Rails={linkClickSelector:"a[data-confirm], a[data-method], a[data-remote]:not([disabled]), a[data-disable-with], a[data-disable]",buttonClickSelector:{selector:"button[data-remote]:not([form]), button[data-confirm]:not([form])",exclude:"form button"},inputChangeSelector:"select[data-remote], input[data-remote], textarea[data-remote]",formSubmitSelector:"form",formInputClickSelector:"form input[type=submit], form input[type=image], form button[type=submit], form button:not([type]), input[type=submit][form], input[type=image][form], button[type=submit][form], button[form]:not([type])",formDisableSelector:"input[data-disable-with]:enabled, button[data-disable-with]:enabled, textarea[data-disable-with]:enabled, input[data-disable]:enabled, button[data-disable]:enabled, textarea[data-disable]:enabled",formEnableSelector:"input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled, input[data-disable]:disabled, button[data-disable]:disabled, textarea[data-disable]:disabled",fileInputSelector:"input[name][type=file]:not([disabled])",linkDisableSelector:"a[data-disable-with], a[data-disable]",buttonDisableSelector:"button[data-remote][data-disable-with], button[data-remote][data-disable]"}}).call(this)}).call(this);var t=this.Rails;(function(){(function(){var e,n;n=Element.prototype.matches||Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector,t.matches=function(t,e){return null!=e.exclude?n.call(t,e.selector)&&!n.call(t,e.exclude):n.call(t,e)},e="_ujsData",t.getData=function(t,n){var i;return null!=(i=t[e])?i[n]:void 0},t.setData=function(t,n,i){return null==t[e]&&(t[e]={}),t[e][n]=i},t.$=function(t){return Array.prototype.slice.call(document.querySelectorAll(t))}}).call(this),function(){var e,n,i;e=t.$,i=t.csrfToken=function(){var t;return(t=document.querySelector("meta[name=csrf-token]"))&&t.content},n=t.csrfParam=function(){var t;return(t=document.querySelector("meta[name=csrf-param]"))&&t.content},t.CSRFProtection=function(t){var e;if(null!=(e=i()))return t.setRequestHeader("X-CSRF-Token",e)},t.refreshCSRFTokens=function(){var t,o;if(o=i(),t=n(),null!=o&&null!=t)return e('form input[name="'+t+'"]').forEach(function(t){return t.value=o})}}.call(this),function(){var e,n,i;i=t.matches,"function"!=typeof(e=window.CustomEvent)&&((e=function(t,e){var n;return(n=document.createEvent("CustomEvent")).initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n}).prototype=window.Event.prototype),n=t.fire=function(t,n,i){var o;return o=new e(n,{bubbles:!0,cancelable:!0,detail:i}
1),t.dispatchEvent(o),!o.defaultPrevented},t.stopEverything=function(t){return n(t.target,"ujs:everythingStopped"),t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()},t.delegate=function(t,e,n,o){return t.addEventListener(n,function(t){var n;for(n=t.target;n instanceof Element&&!i(n,e);)n=n.parentNode;if(n instanceof Element&&!1===o.call(n,t))return t.preventDefault(),t.stopPropagation()})}}.call(this),function(){var e,n,i,o,a,r;n=t.CSRFProtection,o=t.fire,e={"*":"*/*",text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript",script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},t.ajax=function(t){var e;return t=a(t),e=i(t,function(){var n;return n=r(e.response,e.getResponseHeader("Content-Type")),2===Math.floor(e.status/100)?"function"==typeof t.success&&t.success(n,e.statusText,e):"function"==typeof t.error&&t.error(n,e.statusText,e),"function"==typeof t.complete?t.complete(e,e.statusText):void 0}),"function"==typeof t.beforeSend&&t.beforeSend(e,t),e.readyState===XMLHttpRequest.OPENED?e.send(t.data):o(document,"ajaxStop")},a=function(t){return t.type=t.type.toUpperCase(),"GET"===t.type&&t.data&&(t.url.indexOf("?")<0?t.url+="?"+t.data:t.url+="&"+t.data),null==e[t.dataType]&&(t.dataType="*"),t.accept=e[t.dataType],"*"!==t.dataType&&(t.accept+=", */*; q=0.01"),t},i=function(t,e){var i;return(i=new XMLHttpRequest).open(t.type,t.url,!0),i.setRequestHeader("Accept",t.accept),"string"==typeof t.data&&i.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"),t.crossDomain||i.setRequestHeader("X-Requested-With","XMLHttpRequest"),n(i),i.withCredentials=!!t.withCredentials,i.onreadystatechange=function(){if(i.readyState===XMLHttpRequest.DONE)return e(i)},i},r=function(t,e){var n,i;if("string"==typeof t&&"string"==typeof e)if(e.match(/\bjson\b/))try{t=JSON.parse(t)}catch(undefined){}else if(e.match(/\bjavascript\b/))(i=document.createElement("script")).innerHTML=t,document.body.appendChild(i);else if(e.match(/\b(xml|html|svg)\b/)){n=new DOMParser,e=e.replace(/;.+/,"");try{t=n.parseFromString(t,e)}catch(undefined){}}return t},t.href=function(t){return t.href},t.isCrossDomain=function(t){var e,n,i;(n=document.createElement("a")).href=location.href,i=document.createElement("a");try{return i.href=t,!((!i.protocol||":"===i.protocol)&&!i.host||n.protocol+"//"+n.host==i.protocol+"//"+i.host)}catch(e){return e,!0}}}.call(this),function(){var e,n;e=t.matches,n=function(t){return Array.prototype.slice.call(t)},t.serializeElement=function(t,i){var o,a;return o=[t],e(t,"form")&&(o=n(t.elements)),a=[],o.forEach(function(t){if(t.name)return e(t,"select")?n(t.options).forEach(function(e){if(e.selected)return a.push({name:t.name,value:e.value})}):t.checked||-1===["radio","checkbox","submit"].indexOf(t.type)?a.push({name:t.name,value:t.value}):void 0}),i&&a.push(i),a.map(function(t){return null!=t.name?encodeURIComponent(t.name)+"="+encodeURIComponent(t.value):t}).join("&")},t.formElements=function(t,i){return e(t,"form")?n(t.elements).filter(function(t){return e(t,i)}):n(t.querySelectorAll(i))}}.call(this),function(){var e,n,i;n=t.fire,i=t.stopEverything,t.handleConfirm=function(t){if(!e(this))return i(t)},e=function(t){var e,i,o;if(!(o=t.getAttribute("data-confirm")))return!0;if(e=!1,n(t,"confirm")){try{e=confirm(o)}catch(undefined){}i=n(t,"confirm:complete",[e])}return e&&i}}.call(this),function(){var e,n,i,o,a,r,s,l,c,u,d;c=t.matches,l=t.getData,u=t.setData,d=t.stopEverything,s=t.formElements,t.enableElement=function(e){var n;return n=e instanceof Event?e.target:e,c(n,t.linkDisableSelector)?r(n):c(n,t.buttonDisableSelector)||c(n,t.formEnableSelector)?o(n):c(n,t.formSubmitSelector)?a(n):void 0},t.disableElement=function(o){var a;return a=o instanceof Event?o.target:o,c(a,t.linkDisableSelector)?i(a):c(a,t.buttonDisableSelector)||c(a,t.formDisableSelector)?e(a):c(a,t.formSubmitSelector)?n(a):void 0},i=function(t){var e;return null!=(e=t.getAttribute("data-disable-with"))&&(u(t,"ujs:enable-with",t.innerHTML),t.innerHTML=e),t.addEventListener("click",d),u(t,"ujs:disabled",!0)},r=function(t){var e;return null!=(e=l(t,"ujs:enable-with"))&&(t.innerHTML=e,u(t,"ujs:enable-with",null)),t.removeEventListener("click",d),u(t,"ujs:disabled",null)},n=function(n){return s(n,t.formDisableSelector).forEach(e)},e=function(t){var e;return null!=(e=t.getAttribute("data-disable-with"))&&(c(t,"button")?(u(t,"ujs:enable-with",t.innerHTML),t.innerHTML=e):(u(t,"ujs:enable-with",t.value),t.value=e)),t.disabled=!0,u(t,"ujs:disabled",!0)},a=function(e){return s(e,t.formEnableSelector).forEach(o)},o=function(t){var e;return null!=(e=l(t,"ujs:enable-with"))&&(c(t,"button")?t.innerHTML=e:t.value=e,u(t,"ujs:enable-with",null)),t.disabled=!1,u(t,"ujs:disabled",null)}}.call(this),function(){var e;e=t.stopEverything,t.handleMethod=function(n){var i,o,a,r,s,l,c;if(c=(l=this).getAttribute("data-method"))return s=t.href(l),o=t.csrfToken(),i=t.csrfParam(),a=document.createElement("form"),r="<input name='_method' value='"+c+"' type='hidden' />",null==i||null==o||t.isCrossDomain(s)||(r+="<input name='"+i+"' value='"+o+"' type='hidden' />"),r+='<input type="submit" />',a.method="post",a.action=s,a.target=l.target,a.innerHTML=r,a.style.display="none",document.body.appendChild(a),a.querySelector('[type="submit"]').click(),e(n)}}.call(this),function(){var e,n,i,o,a,r,s,l,c,u=[].slice;r=t.matches,i=t.getData,l=t.setData,n=t.fire,c=t.stopEverything,e=t.ajax,o=t.isCrossDomain,s=t.serializeElement,a=function(t){var e;return null!=(e=t.getAttribute("data-remote"))&&"false"!==e},t.handleRemote=function(d){var f,p,h,m,g,v,b;return!a(m=this)||(n(m,"ajax:before")?(b=m.getAttribute("data-with-credentials"),h=m.getAttribute("data-type")||"script",r(m,t.formSubmitSelector)?(f=i(m,"ujs:submit-button"),g=i(m,"ujs:submit-button-formmethod")||m.method,v=i(m,"ujs:submit-button-formaction")||m.getAttribute("action")||location.href,"GET"===g.toUpperCase()&&(v=v.replace(/\?.*$/,"")),"multipart/form-data"===m.enctype?(p=new FormData(m),null!=f&&p.append(f.name,f.value)):p=s(m,f),l(m,"ujs:submit-button",null),l(m,"ujs:submit-button-formmethod",null),l(m,"ujs:submit-button-formaction",null)):r(m,t.buttonClickSelector)||r(m,t.inputChangeSelector)?(g=m.getAttribute("data-method"),v=m.getAttribute("data-url"),p=s(m,m.getAttribute("data-params"))):(g=m.getAttribute("data-method"),v=t.href(m),p=m.getAttribute("data-params")),e({type:g||"GET",url:v,data:p,dataType:h,beforeSend:function(t,e){return n(m,"ajax:beforeSend",[t,e])?n(m,"ajax:send",[t]):(n(m,"ajax:stopped"),t.abort())},success:function(){var t;return t=1<=arguments.length?u.call(arguments,0):[],n(m,"ajax:success",t)},error:function(){var t;return t=1<=arguments.length?u.call(arguments,0):[],n(m,"ajax:error",t)},complete:function(){var t;return t=1<=arguments.length?u.call(arguments,0):[],n(m,"ajax:complete",t)},crossDomain:o(v),withCredentials:null!=b&&"false"!==b}),c(d)):(n(m,"ajax:stopped"),!1))},t.formSubmitButtonClick=function(){var t,e;if(e=(t=this).form)return t.name&&l(e,"ujs:submit-button",{name:t.name,value:t.value}),l(e,"ujs:formnovalidate-button",t.formNoValidate),l(e,"ujs:submit-button-formaction",t.getAttribute("formaction")),l(e,"ujs:submit-button-formmethod",t.getAttribute("formmethod"))},t.handleMetaClick=function(t){var e,n,i;if(i=((n=this).getAttribute("data-method")||"GET").toUpperCase(),e=n.getAttribute("data-params"),(t.metaKey||t.ctrlKey)&&"GET"===i&&!e)return t.stopImmediatePropagation()}}.call(this),function(){var e,n,i,o,a,r,s,l,c,u,d,f,p;r=t.fire,i=t.delegate,l=t.getData,e=t.$,p=t.refreshCSRFTokens,n=t.CSRFProtection,a=t.enableElement,o=t.disableElement,c=t.handleConfirm,f=t.handleRemote,s=t.formSubmitButtonClick,u=t.handleMetaClick,d=t.handleMethod,"undefined"==typeof jQuery||null===jQuery||jQuery.rails||(jQuery.rails=t,jQuery.ajaxPrefilter(function(t,e,
1i){if(!t.crossDomain)return n(i)})),t.start=function(){if(window._rails_loaded)throw new Error("rails-ujs has already been loaded!");return window.addEventListener("pageshow",function(){return e(t.formEnableSelector).forEach(function(t){if(l(t,"ujs:disabled"))return a(t)}),e(t.linkDisableSelector).forEach(function(t){if(l(t,"ujs:disabled"))return a(t)})}),i(document,t.linkDisableSelector,"ajax:complete",a),i(document,t.linkDisableSelector,"ajax:stopped",a),i(document,t.buttonDisableSelector,"ajax:complete",a),i(document,t.buttonDisableSelector,"ajax:stopped",a),i(document,t.linkClickSelector,"click",c),i(document,t.linkClickSelector,"click",u),i(document,t.linkClickSelector,"click",o),i(document,t.linkClickSelector,"click",f),i(document,t.linkClickSelector,"click",d),i(document,t.buttonClickSelector,"click",c),i(document,t.buttonClickSelector,"click",o),i(document,t.buttonClickSelector,"click",f),i(document,t.inputChangeSelector,"change",c),i(document,t.inputChangeSelector,"change",f),i(document,t.formSubmitSelector,"submit",c),i(document,t.formSubmitSelector,"submit",f),i(document,t.formSubmitSelector,"submit",function(t){return setTimeout(function(){return o(t)},13)}
1),i(document,t.formSubmitSelector,"ajax:send",o),i(document,t.formSubmitSelector,"ajax:complete",a),i(document,t.formInputClickSelector,"click",c),i(document,t.formInputClickSelector,"click",s),document.addEventListener("DOMContentLoaded",p),window._rails_loaded=!0},window.Rails===t&&r(document,"rails:attachBindings")&&t.start()}.call(this)}).call(this),"object"==typeof module&&module.exports?module.exports=t:"function"==typeof define&&define.amd&&define(t)}).call(this),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self).BSN=e()}(this,function(){"use strict";function t(t){var e=getComputedStyle(t),n=e[x],i=E&&n&&"none"!==n?parseFloat(e[T]):0;return isNaN(i)?0:1e3*i}function e(e,n){var i=0;t(e)?e.addEventListener(k,function o(t){!i&&n(t),i=1,e.removeEventListener(k,o)}):setTimeout(function(){!i&&n(),i=1},17)}function n(t,e){var n=e&&e instanceof Element?e:document;return t instanceof Element?t:n.querySelector(t)}function i(t,e,n){var i=new CustomEvent(t+".bs."+e,{cancelable:!0});return i.relatedTarget=n,i}function o(t){this&&this.dispatchEvent(t)}function a(t){function a(e){t[e=e?"addEventListener":"removeEventListener"]("click",r,!1)}function r(e){l=e&&e.target.closest(".alert"),(t=n('[data-dismiss="alert"]',l))&&l&&(t===e.target||t.contains(e.target))&&c.close()}function s(){a(),l.parentNode.removeChild(l),o.call(l,d)}var l,c=this,u=i("close","alert"),d=i("closed","alert");c.close=function(){if(l&&t&&l.classList.contains("show")){if(o.call(l,u),u.defaultPrevented)return;c.dispose(),l.classList.remove("show"),l.classList.contains("fade")?e(l,s):s()}},c.dispose=function(){a(),delete t.Alert},t=n(t),l=t.closest(".alert"),t.Alert&&t.Alert.dispose(),t.Alert||a(1),c.element=t,t.Alert=c}function r(t){function e(e){var n,i="LABEL"===e.target.tagName?e.target:e.target.closest("LABEL")?e.target.closest("LABEL"):null;if(n=i&&i.getElementsByTagName("INPUT")[0]){if(o.call(n,u),o.call(t,u),"checkbox"===n.type){if(u.defaultPrevented)return;n.checked?(i.classList.remove("active"),n.getAttribute("checked"),n.removeAttribute("checked"),n.checked=!1):(i.classList.add("active"),n.getAttribute("checked"),n.setAttribute("checked","checked"),n.checked=!0),t.toggled||(t.toggled=!0)}if("radio"===n.type&&!t.toggled){if(u.defaultPrevented)return;(!n.checked||0===e.screenX&&0==e.screenY)&&(i.classList.add("active"),i.classList.add("focus"),n.setAttribute("checked","checked"),n.checked=!0,t.toggled=!0,Array.from(c).map(function(t){var e=t.getElementsByTagName("INPUT")[0];t!==i&&t.classList.contains("active")&&(o.call(e,u),t.classList.remove("active"),e.removeAttribute("checked"),e.checked=!1)}))}setTimeout(function(){t.toggled=!1},50)}}function a(t){32===(t.which||t.keyCode)&&t.target===document.activeElement&&e(t)}
1function r(t){32===(t.which||t.keyCode)&&t.preventDefault()}function s(t){if("INPUT"===t.target.tagName){var e="focusin"===t.type?"add":"remove";t.target.closest(".btn").classList[e]("focus")}}function l(n){t[n=n?"addEventListener":"removeEventListener"]("click",e,!1),t[n]("keyup",a,!1),t[n]("keydown",r,!1),t[n]("focusin",s,!1),t[n]("focusout",s,!1)}var c,u=i("change","button");this.dispose=function(){l(),delete t.Button},(t=n(t)).Button&&t.Button.dispose(),(c=t.getElementsByClassName("btn")).length&&(t.Button||l(1),t.toggled=!1,t.Button=this,Array.from(c).map(function(t){!t.classList.contains("active")&&n("input:checked",t)&&t.classList.add("active"),t.classList.contains("active")&&!n("input:checked",t)&&t.classList.remove("active")}))}function s(a,r){function s(){!1===w.interval||a.classList.contains("paused")||(a.classList.add("paused"),!y.isSliding&&(clearInterval(y.timer),y.timer=null))}function l(){!1!==w.interval&&a.classList.contains("paused")&&(a.classList.remove("paused"),!y.isSliding&&(clearInterval(y.timer),y.timer=null),!y.isSliding&&P.cycle())}function c(t){if(t.preventDefault(),!y.isSliding){var e=t.target;if(!e||e.classList.contains("active")||!e.getAttribute("data-slide-to"))return!1;y.index=parseInt(e.getAttribute("data-slide-to")),P.slideTo(y.index)}}function u(t){if(t.preventDefault(),!y.isSliding){var e=t.currentTarget||t.srcElement;e===x?y.index++:e===T&&y.index--,P.slideTo(y.index)}}function d(t){var e=t.which;if(!y.isSliding){switch(e){case 39:y.index++;break;case 37:y.index--;break;default:return}P.slideTo(y.index)}}function f(t){t=t?"addEventListener":"removeEventListener",w.pause&&w.interval&&(a[t](A[0],s,!1),a[t](A[1],l,!1),a[t]("touchstart",s,S),a[t]("touchend",l,S)),w.touch&&E.length>1&&a[t]("touchstart",h,S),x&&x[t]("click",u,!1),T&&T[t]("click",u,!1),C&&C[t]("click",c,!1),w.keyboard&&window[t]("keydown",d,!1)}function p(t){a[t=t?"addEventListener":"removeEventListener"]("touchmove",m,S),a[t]("touchend",g,S)}function h(t){y.isTouch||(y.touchPosition.startX=t.changedTouches[0].pageX,a.contains(t.target)&&(y.isTouch=!0,p(1)))}function m(t){if(y.isTouch)return y.touchPosition.currentX=t.changedTouches[0].pageX,"touchmove"===t.type&&t.changedTouches.length>1?(t.preventDefault(),!1):void 0;t.preventDefault()}function g(t){if(y.isTouch&&!y.isSliding&&(y.touchPosition.endX=y.touchPosition.currentX||t.changedTouches[0].pageX,y.isTouch)){if((!a.contains(t.target)||!a.contains(t.relatedTarget))&&Math.abs(y.touchPosition.startX-y.touchPosition.endX)<75)return!1;y.touchPosition.currentX<y.touchPosition.startX?y.index++:y.touchPosition.currentX>y.touchPosition.startX&&y.index--,y.isTouch=!1,P.slideTo(y.index),p()}}function v(t){Array.from(N).map(function(t){t.classList.remove("active")}),N[t]&&N[t].classList.add("active")}function b(t){if(y.touchPosition){var e=y.index,n=t&&t.target!==E[e]?1e3*t.elapsedTime+100:20,i=P.getActiveIndex(),r="left"===y.direction?"next":"prev";y.isSliding&&setTimeout(function(){y.touchPosition&&(y.isSliding=!1,E[e].classList.add("active"),E[i].classList.remove("active"),E[e].classList.remove("carousel-item-"+r),E[e].classList.remove("carousel-item-"+y.direction),E[i].classList.remove("carousel-item-"+y.direction),o.call(a,k),document.hidden||!w.interval||a.classList.contains("paused")||P.cycle())},n)}}r=r||{};var y,w,L,k,E,T,x,C,N,P=this;if(P.cycle=function(){y.timer&&(clearInterval(y.timer),y.timer=null),y.timer=setInterval(function(){var t=y.index||P.getActiveIndex();(function(t){var e=t.getBoundingClientRect(),n=window.innerHeight||document.documentElement.clientHeight;return e.top<=n&&e.bottom>=0})(a)&&(t++,P.slideTo(t))},w.interval)},P.slideTo=function(n){if(!y.isSliding){var r,s=P.getActiveIndex();s!==n&&(s<n||0===s&&n===E.length-1?y.direction="left":(s>n||s===E.length-1&&0===n)&&(y.direction="right"),n<0?n=E.length-1:n>=E.length&&(n=0),r="left"===y.direction?"next":"prev",L=i("slide","carousel",E[n]),k=i("slid","carousel",E[n]),o.call(a,L),L.defaultPrevented||(y.index=n,y.isSliding=!0,clearInterval(y.timer),y.timer=null,v(n),t(E[n])&&a.classList.contains("slide")?(E[n].classList.add("carousel-item-"+r),E[n].offsetWidth,E[n].classList.add("carousel-item-"+y.direction),E[s].classList.add("carousel-item-"+y.direction),e(E[n],b)):(E[n].classList.add("active"),E[n].offsetWidth,E[s].classList.remove("active"),setTimeout(function(){y.isSli
1ding=!1,w.interval&&a&&!a.classList.contains("paused")&&P.cycle(),o.call(a,k)},100))))}},P.getActiveIndex=function(){return Array.from(E).indexOf(a.getElementsByClassName("carousel-item active")[0])||0},P.dispose=function(){var t=["left","right","prev","next"];Array.from(E).map(function(e,n){e.classList.contains("active")&&v(n),t.map(function(t){return e.classList.remove("carousel-item-"+t)})}),clearInterval(y.timer),f(),y={},w={},delete a.Carousel},(a=n(a)).Carousel&&a.Carousel.dispose(),E=a.getElementsByClassName("carousel-item"),T=a.getElementsByClassName("carousel-control-prev")[0],x=a.getElementsByClassName("carousel-control-next")[0],C=a.getElementsByClassName("carousel-indicators")[0],N=C&&C.getElementsByTagName("LI")||[],!(E.length<2)){var M=a.getAttribute("data-interval"),_="false"===M?0:parseInt(M),D="false"===a.getAttribute("data-touch")?0:1,j="hover"===a.getAttribute("data-pause")||!1,H="true"===a.getAttribute("data-keyboard")||!1,I=r.interval,B=r.touch;(w={}).keyboard=!0===r.keyboard||H,w.pause=!("hover"!==r.pause&&!j)&&"hover",w.touch=B||D,w.interval="number"==typeof I?I:!1===I||0===_||!1===_?0:isNaN(_)?5e3:_,P.getActiveIndex()<0&&(E.length&&E[0].classList.add("active"),N.length&&v(0)),(y={}).direction="left",y.index=0,y.timer=null,y.isSliding=!1,y.isTouch=!1,y.touchPosition={startX:0,currentX:0,endX:0},f(1),w.interval&&P.cycle(),a.Carousel=P}}function l(t,a){function r(t,n){o.call(t,d),d.defaultPrevented||(t.isAnimating=!0,t.style.height=t.scrollHeight+"px",t.classList.remove("collapse"),t.classList.remove("show"),t.classList.add("collapsing"),t.offsetWidth,t.style.height="0px",e(t,function(){t.isAnimating=!1,t.setAttribute("aria-expanded","false"),n.setAttribute("aria-expanded","false"),t.classList.remove("collapsing"),t.classList.add("collapse"),t.style.height="",o.call(t,f)}))}a=a||{};var s,l,c,u,d,f,p=this,h=null,m=null;p.toggle=function(e){(e&&"A"===e.target.tagName||"A"===t.tagName)&&e.preventDefault(),(t.contains(e.target)||e.target===t)&&(m.classList.contains("show")?p.hide():p.show())},p.hide=function(){m.isAnimating||(r(m,t),t.classList.add("collapsed"))},p.show=function(){var i,a;h&&(s=h.getElementsByClassName("collapse show")[0],l=s&&(n('[data-target="#'+s.id+'"]',h)||n('[href="#'+s.id+'"]',h))),m.isAnimating||(l&&s!==m&&(r(s,l),l.classList.add("collapsed")),i=m,a=t,o.call(i,c),c.defaultPrevented||(i.isAnimating=!0,i.classList.add("collapsing"),i.classList.remove("collapse"),i.style.height=i.scrollHeight+"px",e(i,function(){i.isAnimating=!1,i.setAttribute("aria-expanded","true"),a.setAttribute("aria-expanded","true"),i.classList.remove("collapsing"),i.classList.add("collapse"),i.classList.add("show"),i.style.height="",o.call(i,u)})),t.classList.remove("collapsed"))},p.dispose=function(){t.removeEventListener("click",p.toggle,!1),delete t.Collapse},(t=n(t)).Collapse&&t.Collapse.dispose();var g=t.getAttribute("data-parent");c=i("show","collapse"),u=i("shown","collapse"),d=i("hide","collapse"),f=i("hidden","collapse"),(m=n(a.target||t.getAttribute("data-target")||t.getAttribute("href"))).isAnimating=!1,h=t.closest(a.parent||g),t.Collapse||t.addEventListener("click",p.toggle,!1),t.Collapse=p}function c(t){t.focus?t.focus():t.setActive()}function u(t,e){function a(t){(t.href&&"#"===t.href.slice(-1)||t.parentNode&&t.parentNode.href&&"#"===t.parentNode.href.slice(-1))&&this.preventDefault()}function r(){var e=t.open?"addEventListener":"removeEventListener";document[e]("click",s,!1),document[e]("keydown",u,!1),document[e]("keyup",d,!1),document[e]("focus",s,!1)}function s(e){var n=e.target,i=n&&(n.getAttribute("data-toggle")||n.parentNode&&n.parentNode.getAttribute&&n.parentNode.getAttribute("data-toggle"));("focus"!==e.type||n!==t&&n!==v&&!v.contains(n))&&(n!==v&&!v.contains(n)||!b&&!i)&&(w=n===t||t.contains(n)?t:null,y.hide(),a.call(e,n))}function l(e){w=t,y.show(),a.call(e,e.target)}function u(t){var e=t.which||t.keyCode;38!==e&&40!==e||t.preventDefault()}function d(e){var n=e.which||e.keyCode,i=document.activeElement,o=i===t,a=v.contains(i),r=i.parentNode===v||i.parentNode.parentNode===v,s=L.indexOf(i);r&&(s=o?0:38===n?s>1?s-1:0:40===n&&s<L.length-1?s+1:s,L[s]&&c(L[s])),(L.length&&r||!L.length&&(a||o)||!a)&&t.open&&27===n&&(y.toggle(),w=null)}var f,p,h,m,g,v,b,y=this,w=null,L=[];y.show=function(){f=i("show","dropdown",w),o.call(g,f),f.defaultPrevented||(v.classList.add("show"),g.classList.add("show"),t.setAttribute("aria-expanded",!0),t.open=!0,t.removeEventListener("click",l,!1),setTimeout(function(){c(v.getElementsByTagName("INPUT")[0]||t),r(),p=i("shown","dropdown",w),o.call(g,p)},1))},y.hide=function(){h=i("hide","dropdown",w),o.call(g,h),h.defaultPrevented||(v.classList.remove("show"),g.classList.remove("show"),t.setAttribute("aria-expanded",!1),t.open=!1,r(),c(t),setTimeout(function(){t.Dropdown&&t.addEventListener("click",l,!1)},1),m=i("hidden","dropdown",w),o.call(g,m))},y.toggle=function(){g.classList.contains("show")&&t.open?y.hide():y.show()},y.dispose=function(){g.classList.contains("show")&&t.open&&y.hide(),t.removeEventListener("click",l,!1),delete t.Dropdown},(t=n(t)).Dropdown&&t.Dropdown.dispose(),g=t.parentNode,v=n(".dropdown-menu",g),Array.from(v.children).map(function(t){t.children.length&&"A"===t.children[0].tagName&&L.push(t.children[0]),"A"===t.tagName&&L.push(t)}),t.Dropdown||(!("tabindex"in v)&&v.setAttribute("tabindex","0"),t.addEventListener("click",l,!1)),b=!0===e||"true"===t.getAttribute("data-persist")||!1,t.open=!1,t.Dropdown=y}function d(a,r){function s(){var t,e,n=document.body.classList.contains("modal-open"),i=parseInt(getComputedStyle(document.body).paddingRight),o=document.documentElement.clientHeight!==document.documentElement.scrollHeight||document.body.clientHeight!==document.body.scrollHeight,a=v.clientHeight!==v.scrollHeight;(e=document.createElement("div")).className="modal-scrollbar-measure",document.body.appendChild(e),t=e.offsetWidth-e.clientWidth,document.body.removeChild(e),k=t,v.style.paddingRight=!a&&k?k+"px":"",document.body.style.paddingRight=a||o?i+(n?0:k)+"px":"",x.length&&x.map(function(t){var e=getComputedStyle(t).paddingRight;t.style.paddingRight=a||o?parseInt(e)+(n?0:k)+"px":parseInt(e)+"px"})}
1function l(){(E=n(".modal-backdrop"))&&!document.getElementsByClassName("modal show")[0]&&(document.body.removeChild(E),E=null),null===E&&(document.body.classList.remove("modal-open"),document.body.style.paddingRight="",v.style.paddingRight="",x.length&&x.map(function(t){t.style.paddingRight=""}))}function u(t){t=t?"addEventListener":"removeEventListener",window[t]("resize",A.update,S),v[t]("click",g,!1),document[t]("keydown",m,!1)}function d(){v.style.display="block",s(),!document.getElementsByClassName("modal show")[0]&&document.body.classList.add("modal-open"),v.classList.add("show"),v.setAttribute("aria-hidden",!1),v.classList.contains("fade")?e(v,f):f()}function f(){c(v),v.isAnimating=!1,u(1),y=i("shown","modal",C),o.call(v,y)}function p(t){v.style.display="",a&&c(a),E=n(".modal-backdrop"),1!==t&&E&&E.classList.contains("show")&&!document.getElementsByClassName("modal show")[0]?(E.classList.remove("show"),e(E,l)):l(),u(),v.isAnimating=!1,L=i("hidden","modal"),o.call(v,L)}function h(t){if(!v.isAnimating){var e=t.target,n="#"+v.getAttribute("id"),i=e.getAttribute("data-target")||e.getAttribute("href"),o=a.getAttribute("data-target")||a.getAttribute("href");!v.classList.contains("show")&&(e===a&&i===n||a.contains(e)&&o===n)&&(v.modalTrigger=a,C=a,A.show(),t.preventDefault())}}function m(t){var e=t.which;!v.isAnimating&&N.keyboard&&27==e&&v.classList.contains("show")&&A.hide()}function g(t){if(!v.isAnimating){var e=t.target,n="modal"===e.getAttribute("data-dismiss"),i=e.closest('[data-dismiss="modal"]');v.classList.contains("show")&&(i||n||e===v&&"static"!==N.backdrop)&&(A.hide(),C=null,t.preventDefault())}}r=r||{};var v,b,y,w,L,k,E,T,x,A=this,C=null,N={};A.toggle=function(){v.classList.contains("show")?A.hide():A.show()},A.show=function(){if(!(v.classList.contains("show")&&v.isAnimating||(b=i("show","modal",C),o.call(v,b),b.defaultPrevented))){v.isAnimating=!0;var e,a=document.getElementsByClassName("modal show")[0];a&&a!==v&&(a.modalTrigger&&a.modalTrigger.Modal.hide(),a.Modal&&a.Modal.hide()),N.backdrop&&(e=document.createElement("div"),null===(E=n(".modal-backdrop"))&&(e.setAttribute("class","modal-backdrop"+(N.animation?" fade":"")),E=e,document.body.appendChild(E)),E=E),!E||a||E.classList.contains("show")||(E.offsetWidth,T=t(E),E.classList.add("show")),a?d():setTimeout(d,E&&T?T:0)}},A.hide=function(t){v.classList.contains("show")&&(w=i("hide","modal"),o.call(v,w),w.defaultPrevented||(v.isAnimating=!0,v.classList.remove("show"),v.setAttribute("aria-hidden",!0),v.classList.contains("fade")&&1!==t?e(v,p):p()))},A.setContent=function(t){n(".modal-content",v).innerHTML=t},A.update=function(){v.classList.contains("show")&&s()},A.dispose=function(){A.hide(1),a?(a.removeEventListener("click",h,!1),delete a.Modal):delete v.Modal};var P=n((a=n(a)).getAttribute("data-target")||a.getAttribute("href"));v=a.classList.contains("modal")?a:P,x=Array.from(document.getElementsByClassName("fixed-top")).concat(Array.from(document.getElementsByClassName("fixed-bottom"))),a.classList.contains("modal")&&(a=null),a&&a.Modal&&a.Modal.dispose(),v&&v.Modal&&v.Modal.dispose(),N.keyboard=!1!==r.keyboard&&"false"!==v.getAttribute("data-keyboard"),N.backdrop="static"!==r.backdrop&&"static"!==v.getAttribute("data-backdrop")||"static",N.backdrop=!1!==r.backdrop&&"false"!==v.getAttribute("data-backdrop")&&N.backdrop,N.animation=!!v.classList.contains("fade"),N.content=r.content,v.isAnimating=!1,a&&!a.Modal&&a.addEventListener("click",h,!1),N.content&&A.setContent(N.content.trim()),a?(v.modalTrigger=a,a.Modal=A):v.Modal=A}function f(){return{y:window.pageYOffset||document.documentElement.scrollTop,x:window.pageXOffset||document.documentElement.scrollLeft}}function p(t,e,n,i){var o,a,r,s,l,c,u=e.offsetWidth,d=e.offsetHeight,p=document.documentElement.clientWidth||document.body.clientWidth,h=document.documentElement.clientHeight||document.body.clientHeight,m=t.getBoundingClientRect(),g=i===document.body?f():{x:i.offsetLeft+i.scrollLeft,y:i.offsetTop+i.scrollTop},v=m.right-m.left,b=m.bottom-m.top,y=e.classList.contains("popover"),w=e.getElementsByClassName("arrow")[0],L=m.top+b/2-d/2<0,k=m.left+v/2-u/2<0,E=m.left+u/2+v/2>=p,T=m.top+d/2+b/2>=h,x=m.top-d<0,A=m.left-u<0,S=m.top+d+b>=h,C=m.left+u+v>=p;n="right"===(n="left"===(n="bottom"===(n="top"===(n=("left"===n||"right"===n)&&A&&C?"top":n)&&x?"bottom":n)&&S?"top":n)&&A?"right":n)&&C?"left":n,-1===e.className.indexOf(n)&&(e.className=e.className.replace(/\b(top|bottom|left|right)+/,n)),l=w.offsetWidth,c=w.offsetHeight,"left"===n||"right"===n?(a="left"===n?m.left+g.x-u-(y?l:0):m.left+g.x+v,L?(o=m.top+g.y,r=b/2-l):T?(o=m.top+g.y-d+b,r=d-b/2-l):(o=m.top+g.y-d/2+b/2,r=d/2-(y?.9*c:c/2))):"top"!==n&&"bottom"!==n||(o="top"===n?m.top+g.y-d-(y?c:0):m.top+g.y+b,k?(a=0,s=m.left+v/2-l):E?(a=p-1.01*u,s=u-(p-m.left)+v/2-l/2):(a=m.left+g.x-u/2+v/2,s=u/2-(y?l:l/2))),e.style.top=o+"px",e.style.left=a+"px",r&&(w.style.top=r+"px"),s&&(w.style.left=s+"px")}function h(t,a){function r(t){null!==$&&t.target===n(".close",$)&&B.hide()}function s(){return{0:a.title||t.getAttribute("data-title")||null,1:a.content||t.getAttribute("data-content")||null}}function l(){null===$&&t.focus()}function c(e){e=e?"addEventListener":"removeEventListener","hover"===q.trigger?(t[e](C,B.show),t[e](A[0],B.show),q.dismissible||t[e](A[1],B.hide)):"click"==q.trigger?t[e](q.trigger,B.toggle):"focus"==q.trigger&&(R&&t[e]("click",l,!1),t[e](q.trigger,B.toggle))}function u(e){$&&$.contains(e.target)||e.target===t||t.contains(e.target)||B.hide()}function d(e){e=e?"addEventListener":"removeEventListener",q.dismissible?document[e]("click",r,!1):("focus"==q.trigger&&t[e]("blur",B.hide),"hover"==q.trigger&&document[e]("touchstart",u,S)),window[e]("resize",B.hide,S)}function f(){d(1),o.call(t,x)}function h(){d(),q.container.removeChild($),O=null,$=null,o.call(t,P)}a=a||{};var m,g,v,b,y,w,L,k,E,T,x,N,P,M,_,D,j,H,I,B=this,$=null,O=0,R=/(iPhone|iPod|iPad)/.test(navigator.userAgent),q={}
2;B.toggle=function(){null===$?B.show():B.hide()},B.show=function(){clearTimeout(O),O=setTimeout(function(){if(null===$){if(o.call(t,T),T.defaultPrevented)return;!function(){m=s()[0]||null,g=(g=s()[1])?g.trim():null,$=document.createElement("div");var t=document.createElement("div");if(t.classList.add("arrow"),$.appendChild(t),null!==g&&null===q.template){if($.setAttribute("role","tooltip"),null!==m){var e=document.createElement("h3");e.classList.add("popover-header"),e.innerHTML=q.dismissible?m+E:m,$.appendChild(e)}var i=document.createElement("div");i.classList.add("popover-body"),i.innerHTML=q.dismissible&&null===m?g+E:g,$.appendChild(i)}else{var o=document.createElement("div");o.innerHTML=q.template.trim(),$.className=o.firstChild.className,$.innerHTML=o.firstChild.innerHTML;var a=n(".popover-header",$),r=n(".popover-body",$);m&&a&&(a.innerHTML=m.trim()),g&&r&&(r.innerHTML=g.trim())}q.container.appendChild($),$.style.display="block",!$.classList.contains("popover")&&$.classList.add("popover"),!$.classList.contains(q.animation)&&$.classList.add(q.animation),!$.classList.contains(I)&&$.classList.add(I)}(),p(t,$,q.placement,q.container),!$.classList.contains("show")&&$.classList.add("show"),q.animation?e($,f):f()}},20)},B.hide=function(){clearTimeout(O),O=setTimeout(function(){if($&&null!==$&&$.classList.contains("show")){if(o.c
2all(t,N),N.defaultPrevented)return;$.classList.remove("show"),q.animation?e($,h):h()}},q.delay)},B.dispose=function(){B.hide(),c(),delete t.Popover},(t=n(t)).Popover&&t.Popover.dispose(),v=t.getAttribute("data-trigger"),b=t.getAttribute("data-animation"),y=t.getAttribute("data-placement"),w=t.getAttribute("data-dismissible"),L=t.getAttribute("data-delay"),k=t.getAttribute("data-container"),E='<button type="button" class="close">\xd7</button>',T=i("show","popover"),x=i("shown","popover"),N=i("hide","popover"),P=i("hidden","popover"),M=n(a.container),_=n(k),D=t.closest(".modal"),j=t.closest(".fixed-top"),H=t.closest(".fixed-bottom"),q.template=a.template?a.template:null,q.trigger=a.trigger?a.trigger:v||"hover",q.animation=a.animation&&"fade"!==a.animation?a.animation:b||"fade",q.placement=a.placement?a.placement:y||"top",q.delay=parseInt(a.delay||L)||200,q.dismissible=!(!a.dismissible&&"true"!==w),q.container=M||_||j||H||D||document.body,I="bs-popover-"+q.placement;var X=s();m=X[0],((g=X[1])||q.template)&&(t.Popover||c(1),t.Popover=B)}function m(t,e){function a(){var e;e=u.getElementsByTagName("A"),s.length!==e.length&&(s.items=[],s.targets=[],Array.from(e).map(function(t){var e=t.getAttribute("href"),i=e&&"#"===e.charAt(0)&&"#"!==e.slice(-1)&&n(e);i&&(s.items.push(t),s.targets.push(i))}),s.length=e.length),s.scrollOffset=s.isWindow?f().y:t.scrollTop,s.items.map(function(e,n){return function(e){var n=s.items[e],a=s.targets[e],r=n.classList.contains("dropdown-item")&&n.closest(".dropdown-menu"),l=r&&r.previousElementSibling,c=n.nextElementSibling,u=c&&c.getElementsByClassName("active").length,d=s.isWindow&&a.getBoundingClientRect(),f=n.classList.contains("active")||!1,p=(s.isWindow?d.top+s.scrollOffset:a.offsetTop)-h.offset,m=s.isWindow?d.bottom+s.scrollOffset-h.offset:s.targets[e+1]?s.targets[e+1].offsetTop-h.offset:t.scrollHeight,g=u||s.scrollOffset>=p&&m>s.scrollOffset;if(!f&&g)n.classList.add("active"),l&&!l.classList.contains("active")&&l.classList.add("active"),o.call(t,i("activate","scrollspy",s.items[e]));else if(f&&!g)n.classList.remove("active"),l&&l.classList.contains("active")&&!n.parentNode.getElementsByClassName("active").length&&l.classList.remove("active");else if(f&&g||!g&&!f)return}(n)})}function r(t){d[t=t?"addEventListener":"removeEventListener"]("scroll",p.refresh,S),window[t]("resize",p.refresh,S)}e=e||{};var s,l,c,u,d,p=this,h={};p.refresh=function(){a()},p.dispose=function(){r(),delete t.ScrollSpy},(t=n(t)).ScrollSpy&&t.ScrollSpy.dispose(),l=t.getAttribute("data-target"),c=t.getAttribute("data-offset"),u=n(e.target||l),d=t.offsetHeight<t.scrollHeight?t:window,u&&(h.target=u,h.offset=parseInt(e.offset||c)||10,(s={}).length=0,s.items=[],s.targets=[],s.isWindow=d===window,t.ScrollSpy||r(1),p.refresh(),t.ScrollSpy=p)}function g(t,a){function r(){N.style.height="",N.classList.remove("collapsing"),p.isAnimating=!1}function s(){N?x?r():setTimeout(function(){N.style.height=A+"px",N.offsetWidth,e(N,r)},50):p.isAnimating=!1,g=i("shown","tab",w),o.call(y,g)}function l(){N&&(L.style.float="left",k.style.float="left",T=L.scrollHeight),m=i("show","tab",w),b=i("hidden","tab",y),o.call(y,m),m.defaultPrevented||(k.classList.add("active"),L.classList.remove("active"),N&&(A=k.scrollHeight,x=A===T,N.classList.add("collapsing"),N.style.height=T+"px",N.offsetHeight,L.style.float="",k.style.float=""),k.classList.contains("fade")?setTimeout(function(){k.classList.add("show"),e(k,s)},20):s(),o.call(w,b))}function c(){var t,e=p.getElementsByClassName("active");return 1!==e.length||e[0].parentNode.classList.contains("dropdown")?e.length>1&&(t=e[e.length-1]):t=e[0],t}function u(){return n(c().getAttribute("href"))}function d(t){t.preventDefault(),y=t.currentTarget,!p.isAnimating&&C.show()}a=a||{};var f,p,h,m,g,v,b,y,w,L,k,T,x,A,S,C=this,N=!1;C.show=function(){if(!(y=y||t).classList.contains("active")){if(k=n(y.getAttribute("href")),w=c(),L=u(),v=i("hide","tab",y),o.call(w,v),v.defaultPrevented)return;p.isAnimating=!0,w.classList.remove("active"),w.setAttribute("aria-selected","false"),y.classList.add("active"),y.setAttribute("aria-selected","true"),h&&(t.parentNode.classList.contains("dropdown-menu")?h.classList.contains("active")||h.classList.add("active"):h.classList.contains("active")&&h.classList.remove("active")),L.classList.contains("fade")?(L.classList.remove("show"),e(L,l)):l()}},C.dispose=function(){t.removeEventListener("click",d,!1),delete t.Tab},(t=n(t)).Tab&&t.Tab.dispose(),f=t.getAttribute("data-height"),p=t.closest(".
2nav"),h=p&&n(".dropdown-toggle",p),S=!(!E||!1===a.height||"false"===f),p.isAnimating=!1,t.Tab||t.addEventListener("click",d,!1),S&&(N=u().parentNode),t.Tab=C}function v(t,a){function r(){u.classList.remove("showing"),u.classList.add("show"),o.call(u,g),w.autohide&&b.hide()}function s(){u.classList.add("hide"),o.call(u,v)}function l(){u.classList.remove("show"),w.animation?e(u,s):s()}function c(){clearTimeout(y),t.removeEventListener("click",b.hide,!1),delete t.Toast}a=a||{};var u,d,f,p,h,m,g,v,b=this,y=0,w={};b.show=function(){if(u&&!u.classList.contains("show")){if(o.call(u,h),h.defaultPrevented)return;w.animation&&u.classList.add("fade"),u.classList.remove("hide"),u.offsetWidth,u.classList.add("showing"),w.animation?e(u,r):r()}},b.hide=function(t){if(u&&u.classList.contains("show")){if(o.call(u,m),m.defaultPrevented)return;t?l():y=setTimeout(l,w.delay)}},b.dispose=function(){w.animation?e(u,c):c()},(t=n(t)).Toast&&t.Toast.dispose(),u=t.closest(".toast"),d=t.getAttribute("data-animation"),f=t.getAttribute("data-autohide"),p=t.getAttribute("data-delay"),h=i("show","toast"),m=i("hide","toast"),g=i("shown","toast"),v=i("hidden","toast"),w.animation=!1===a.animation||"false"===d?0:1,w.autohide=!1===a.autohide||"false"===f?0:1,w.delay=parseInt(a.delay||p)||500,t.Toast||t.addEventListener("click",b.hide,!1),t.Toast=b}function b(t,a){function r(){return t.getAttribute("title")||t.getAttribute("data-title")||t.getAttribute("data-original-title")}function s(e){_&&_.contains(e.target)||e.target===t||t.contains(e.target)||M.hide()}function l(t){t=t?"addEventListener":"removeEventListener",document[t]("touchstart",s,S),window[t]("resize",M.hide,S)}function c(){l(1),o.call(t,y)}function u(){l(),j.container.removeChild(_),_=null,D=null,o.call(t,L)}function d(e){t[e=e?"addEventListener":"removeEventListener"](C,M.show,!1),t[e](A[0],M.show,!1),t[e](A[1],M.hide,!1)}a=a||{};var f,h,m,g,v,b,y,w,L,k,E,T,x,N,P,M=this,_=null,D=0,j={};M.show=function(){clearTimeout(D),D=setTimeout(function(){if(null===_){if(o.call(t,b),b.defaultPrevented)return;!1!==function(){if(f=r()){if(_=document.createElement("div"),j.template){var t=document.createElement("div");t.innerHTML=j.template.trim(),_.className=t.firstChild.className,_.innerHTML=t.firstChild.innerHTML,n(".tooltip-inner",_).innerHTML=f.trim()}else{var e=document.createElement("div");e.classList.add("arrow"),_.appendChild(e);var i=document.createElement("div");i.classList.add("tooltip-inner"),_.appendChild(i),i.innerHTML=f}_.style.left="0",_.style.top="0",_.setAttribute("role","tooltip"),!_.classList.contains("tooltip")&&_.classList.add("tooltip"),!_.classList.contains(j.animation)&&_.classList.add(j.animation),!_.classList.contains(P)&&_.classList.add(P),j.container.appendChild(_)}}()&&(p(t,_,j.placement,j.container),!_.classList.contains("show")&&_.classList.add("show"),j.animation?e(_,c):c())}},20)},M.hide=function(){clearTimeout(D),D=setTimeout(function(){if(_&&_.classList.contains("show")){if(o.call(t,w),w.defaultPrevented)return;_.classList.remove("show"),j.animation?e(_,u):u()}},j.delay)},M.toggle=function(){_?M.hide():M.show()},M.dispose=function(){d(),M.hide(),t.setAttribute("title",t.getAttribute("data-original-title")),t.removeAttribute("data-original-title"),delete t.Tooltip},(t=n(t)).Tooltip&&t.Tooltip.dispose(),h=t.getAttribute("data-animation"),m=t.getAttribute("data-placement"),g=t.getAttribute("data-delay"),v=t.getAttribute("data-container"),b=i("show","tooltip"),y=i("shown","tooltip"),w=i("hide","tooltip"),L=i("hidden","tooltip"),k=n(a.container),E=n(v),T=t.closest(".modal"),x=t.closest(".fixed-top"),N=t.closest(".fixed-bottom"),j.animation=a.animation&&"fade"!==a.animation?a.animation:h||"fade",j.placement=a.placement?a.placement:m||"top",j.template=a.template?a.template:null,j.delay=parseInt(a.delay||g)||200,j.container=k||E||x||N||T||document.body,P="bs-tooltip-"+j.placement,(f=r())&&(t.Tooltip||(t.setAttribute("data-original-title",f),t.removeAttribute("title"),d(1)),t.Tooltip=M)}function y(t,e){Array.from(e).map(function(e){return new t(e)})}function w(t){for(var e in t=t||document,N)y(N[e][0],t.querySelectorAll(N[e][1]))}function L(t,e){Array.from(e).map(function(e){return e[t].dispose()})}var k="webkitTransition"in document.head.style?"webkitTransitionEnd":"transitionend",E="webkitTransition"in document.head.style||"transition"in document.head.style,T="webkitTransition"in document.head.style?"webkitTransitionDuration":"transitionDuration",x="webkitTransition"in document.head.style?"webkitTransitionProperty":"transitionProperty",A="onmouseleave"in document?["mouseenter","mouseleave"]:["mouseover","mouseout"],S=!!function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});document.addEventListener("DOMContentLoaded",function n(){document.removeEventListener("DOMContentLoaded",n,e)},e)}catch(t){}return t}()&&{passive:!0},C="mousedown",N={};return N.Alert=[a,'[data-dismiss="alert"]'],N.Button=[r,'[data-toggle="buttons"]'],N.Carousel=[s,'[data-ride="carousel"]'],N.
2Collapse=[l,'[data-toggle="collapse"]'],N.Dropdown=[u,'[data-toggle="dropdown"]'],N.Modal=[d,'[data-toggle="modal"]'],N.Popover=[h,'[data-toggle="popover"],[data-tip="popover"]'],N.ScrollSpy=[m,'[data-spy="scroll"]'],N.Tab=[g,'[data-toggle="tab"]'],N.Toast=[v,'[data-dismiss="toast"]'],N.Tooltip=[b,'[data-toggle="tooltip"],[data-tip="tooltip"]'],document.body?w():document.addEventListener("DOMContentLoaded",function P(){w(),document.removeEventListener("DOMContentLoaded",P,!1)},!1),{Alert:a,Button:r,Carousel:s,Collapse:l,Dropdown:u,Modal:d,Popover:h,ScrollSpy:m,Tab:g,Toast:v,Tooltip:b,initCallback:w,removeDataAPI:function(t){for(var e in t=t||document,N)L(e,t.querySelectorAll(N[e][1]))},componentsInit:N,Version:"3.0.13"}}),
3/*!
4  * Bean - copyright (c) Jacob Thornton 2011-2012
5  * https://github.com/fat/bean
6  * MIT license
7  */
8function(t,e,n){"undefined"!=typeof module&&module.exports?module.exports=n():"function"==typeof define&&define.amd?define(n):e[t]=n()}("bean",this,function(t,e){t=t||"bean",e=e||this;var n,i,o,a,r,s=window,l=e[t],c=/[^\.]*(?=\..*)\.|.*/,u=/\..*/,d="addEventListener",f="removeEventListener",p=document||{},h=p.documentElement||{},m=h[d],g=m?d:"attachEvent",v={},b=Array.prototype.slice,y=function(t,e){return t.split(e||" ")},w=function(t){return"string"==typeof t},L=function(t){return"function"==typeof t},k=function(t,e,n){for(n=0;n<e.length;n++)e[n]&&(t[e[n]]=1);return t}({},y("click dblclick mouseup mousedown contextmenu mousewheel mousemultiwheel DOMMouseScroll mouseover mouseout mousemove selectstart selectend keydown keypress keyup orientationchange focus blur change reset select submit load unload beforeunload resize move DOMContentLoaded readystatechange message error abort scroll "+(m?"show input invalid touchstart touchmove touchend touchcancel gesturestart gesturechange gestureend textinput readystatechange pageshow pagehide popstate hashchange offline online afterprint beforeprint dragstart dragenter dragover dragleave drag drop dragend loadstart progress suspend emptied stalled loadmetadata loadeddata canplay canplaythrough playing waiting seeking seeked ended durationchange timeupdate play pause ratechange volumechange cuechange checking noupdate downloading cached updateready obsolete ":""))),E=(a="compareDocumentPosition"in h?function(t,e){return e.compareDocumentPosition&&16==(16&e.compareDocumentPosition(t))}:"contains"in h?function(t,e){return(e=9===e.nodeType||e===window?h:e)!==t&&e.contains(t)}:function(t,e){for(;t=t.parentNode;)if(t===e)return 1;return 0},{mouseenter:{base:"mouseover",condition:r=function(t){var e=t.relatedTarget;return e?e!==this&&"xul"!==e.prefix&&!/document/.test(this.toString())&&!a(e,this):null==e}}
8,mouseleave:{base:"mouseout",condition:r},mousewheel:{base:/Firefox/.test(navigator.userAgent)?"DOMMouseScroll":"mousewheel"}}),T=function(){var t=y("altKey attrChange attrName bubbles cancelable ctrlKey currentTarget detail eventPhase getModifierState isTrusted metaKey relatedNode relatedTarget shiftKey srcElement target timeStamp type view which propertyName"),e=t.concat(y("button buttons clientX clientY dataTransfer fromElement offsetX offsetY pageX pageY screenX screenY toElement")),n=e.concat(y("wheelDelta wheelDeltaX wheelDeltaY wheelDeltaZ axis")),i=t.concat(y("char charCode key keyCode keyIdentifier keyLocation location")),o=t.concat(y("data")),a=t.concat(y("touches targetTouches changedTouches scale rotation")),r=t.concat(y("data origin source")),l=t.concat(y("state")),c=/over|out/,u=[{reg:/key/i,fix:function(t,e){return e.keyCode=t.keyCode||t.which,i}},{reg:/click|mouse(?!(.*wheel|scroll))|menu|drag|drop/i,fix:function(t,n,i){return n.rightClick=3===t.which||2===t.button,n.pos={x:0,y:0},t.pageX||t.pageY?(n.clientX=t.pageX,n.clientY=t.pageY):(t.clientX||t.clientY)&&(n.clientX=t.clientX+p.body.scrollLeft+h.scrollLeft,n.clientY=t.clientY+p.body.scrollTop+h.scrollTop),c.test(i)&&(n.relatedTarget=t.relatedTarget||t[("mouseover"==i?"from":"to")+"Element"]),e}},{reg:/mouse.*(wheel|scroll)/i,fix:function(){return n}},{reg:/^text/i,fix:function(){return o}},{reg:/^touch|^gesture/i,fix:function(){return a}},{reg:/^message$/i,fix:function(){return r}},{reg:/^popstate$/i,fix:function(){return l}},{reg:/.*/,fix:function(){return t}}],d={},f=function(t,e,n){if(arguments.length&&(t=t||((e.ownerDocument||e.document||e).parentWindow||s).event,this.originalEvent=t,this.isNative=n,this.isBean=!0,t)){var i,o,a,r,l,c=t.type,f=t.target||t.srcElement;if(this.target=f&&3===f.nodeType?f.parentNode:f,n){if(!(l=d[c]))for(i=0,o=u.length;i<o;i++)if(u[i].reg.test(c)){d[c]=l=u[i].fix;break}for(i=(r=l(t,this,c)).length;i--;)!((a=r[i])in this)&&a in t&&(this[a]=t[a])}}};return f.prototype.preventDefault=function(){this.originalEvent.preventDefault?this.originalEvent.preventDefault():this.originalEvent.returnValue=!1},f.prototype.stopPropagation=function(){this.originalEvent.stopPropagation?this.originalEvent.stopPropagation():this.originalEvent.cancelBubble=!0},f.prototype.stop=function(){this.preventDefault(),this.stopPropagation(),this.stopped=!0},f.prototype.stopImmediatePropagation=function(){this.originalEvent.stopImmediatePropagation&&this.originalEvent.stopImmediatePropagation(),this.isImmediatePropagationStopped=function(){return!0}},f.prototype.isImmediatePropagationStopped=function(){return this.originalEvent.isImmediatePropagationStopped&&this.originalEvent.isImmediatePropagationStopped()},f.prototype.clone=function(t){var e=new f(this,this.element,this.isNative);return e.currentTarget=t,e},f}(),x=function(t,e){return m||e||t!==p&&t!==s?t:h},A=function(){var t=function(t,e,n,i){var o=function(n,o){return e.apply(t,i?b.call(o,n?0:1).concat(i):o)},a=function(n,i){return e.__beanDel?e.__beanDel.ft(n.target,t):i},r=n?function(t){var e=a(t,this);if(n.apply(e,arguments))return t&&(t.currentTarget=e),o(t,arguments)}:function(t){return e.__beanDel&&(t=t.clone(a(t))),o(t,arguments)};return r.__beanDel=e.__beanDel,r},e=function(e,n,i,o,a,r,s){var l,c=E[n];"unload"==n&&(i=M(_,e,n,i,o)),c&&(c.condition&&(i=t(e,i,c.condition,r)),n=c.base||n),this.isNative=l=k[n]&&!!e[g],this.customType=!m&&!l&&n,this.element=e,this.type=n,this.original=o,this.namespaces=a,this.eventType=m||l?n:"propertychange",this.target=x(e,l),this[g]=!!this.target[g],this.root=s,this.handler=t(e,i,null,r)};return e.prototype.inNamespaces=function(t){var e,n,i=0;if(!t)return!0;if(!this.namespaces)return!1;for(e=t.length;e--;)for(n=this.namespaces.length;n--;)t[e]==this.namespaces[n]&&i++;return t.length===i},e.prototype.matches=function(t,e,n){return!(this.element!==t||e&&this.original!==e||n&&this.handler!==n)},e}(),S=(i={},o=function(t,e,n,a,r,s){var l=r?"r":"$";if(e&&"*"!=e){var c,u=0,d=i[l+e],f="*"==t;if(!d)return;for(c=d.length;u<c;u++)if((f||d[u].matches(t,n,a))&&!s(d[u],d,u,e))return}else for(var p in i)p.charAt(0)==l&&o(t,p.substr(1),n,a,r,s)},{has:function(t,e,n,o){var a,r=i[(o?"r":"$")+e];if(r)for(a=r.length;a--;)if(!r[a].root&&r[a].matches(t,n,null))return!0;return!1},get:function(t,e,n,i){var a=[];return o(t,e,n,null,i,function(t){return a.push(t)}),a},put:function(t){var e=!t.root&&!this.has(t.element,t.type,null,!1),n=(t.root?"r":"$")+t.type;return(i[n]||(i[n]=[])).push(t),e},del:function(t){o(t.element,t.type,null,t.handler,t.root,function(t,e,n){return e.splice(n,1),t.removed=!0,0===e.length&&delete i[(t.root?"r":"$")+t.type],!1})},entries:function(){var t,e=[];for(t in i)"$"==t.charAt(0)&&(e=e.concat(i[t]));return e}}),C=function(t){n=arguments.length?t:p.querySelectorAll?function(t,e){return e.querySelectorAll(t)}:function(){throw new Error("Bean: No selector engine installed")}},N=function(t,e){if(m||!e||!t||t.propertyName=="_on"+e){var n=S.get(this,e||t.type,null,!1),i=n.length,o=0;for(t=new T(t,this,!0),e&&(t.type=e);o<i&&!t.isImmediatePropagationStopped();o++)n[o].removed||n[o].handler.call(this,t)}},P=m?function(t,e,n){t[n?d:f](e,N,!1)}:function(t,e,n,i){var o;
8n?(S.put(o=new A(t,i||e,function(e){N.call(t,e,i)},N,null,null,!0)),i&&null==t["_on"+i]&&(t["_on"+i]=0),o.target.attachEvent("on"+o.eventType,o.handler)):(o=S.get(t,i||e,N,!0)[0])&&(o.target.detachEvent("on"+o.eventType,o.handler),S.del(o))},M=function(t,e,n,i,o){return function(){i.apply(this,arguments),t(e,n,o)}},_=function(t,e,n,i){var o,a,r=e&&e.replace(u,""),s=S.get(t,r,null,!1),l={};for(o=0,a=s.length;o<a;o++)n&&s[o].original!==n||!s[o].inNamespaces(i)||(S.del(s[o]),!l[s[o].eventType]&&s[o][g]&&(l[s[o].eventType]={t:s[o].eventType,c:s[o].type}));for(o in l)S.has(t,l[o].t,null,!1)||P(t,l[o].t,!1,l[o].c)},D=function(t,e){var i=function(e,i){for(var o,a=w(t)?n(t,i):t;e&&e!==i;e=e.parentNode)for(o=a.length;o--;)if(a[o]===e)return e},o=function(t){var n=i(t.target,this);n&&e.apply(n,arguments)};return o.__beanDel={ft:i,selector:t},o},j=m?function(t,e,n){var i=p.createEvent(t?"HTMLEvents":"UIEvents");i[t?"initEvent":"initUIEvent"](e,!0,!0,s,1),n.dispatchEvent(i)}:function(t,e,n){n=x(n,t),t?n.fireEvent("on"+e,p.createEventObject()):n["_on"+e]++},H=function(t,e,n){var i,o,a,r,s=w(e);if(s&&e.indexOf(" ")>0){for(r=(e=y(e)).length;r--;)H(t,e[r],n);return t}if((o=s&&e.replace(u,""))&&E[o]&&(o=E[o].base),!e||s)(a=s&&e.replace(c,""))&&(a=y(a,".")),_(t,o,n,a);else if(L(e))_(t,null,e);else for(i in e)e.hasOwnProperty(i)&&H(t,i,e[i]);return t},I=function(t,e,i,o){var a,r,s,l,d,f,p;if(i!==undefined||"object"!=typeof e){for(L(i)?(d=b.call(arguments,3),o=a=i):(a=o,d=b.call(arguments,4),o=D(i,a,n)),s=y(e),this===v&&(o=M(H,t,e,o,a)),l=s.length;l--;)p=S.put(f=new A(t,s[l].replace(u,""),o,a,y(s[l].replace(c,""),"."),d,!1)),f[g]&&p&&P(t,f.eventType,!0,f.customType);return t}for(r in e)e.hasOwnProperty(r)&&I.call(this,t,r,e[r])},B={on:I,add:function(t,e,n,i){return I.apply(null,w(n)?[t,n,e,i].concat(arguments.length>3?b.call(arguments,5):[]):b.call(arguments))},one:function(){return I.apply(v,arguments)},off:H,remove:H,clone:function(t,e,n){for(var i,o,a=S.get(e,n,null,!1),r=a.length,s=0;s<r;s++)a[s].original&&(i=[t,a[s].type],(o=a[s].handler.__beanDel)&&i.push(o.selector),i.push(a[s].original),I.apply(null,i));return t},fire:function(t,e,n){var i,o,a,r,s,l=y(e);for(i=l.length;i--;)if(e=l[i].replace(u,""),(r=l[i].replace(c,""))&&(r=y(r,".")),r||n||!t[g])for(s=S.get(t,e,null,!1),n=[!1].concat(n),o=0,a=s.length;o<a;o++)s[o].inNamespaces(r)&&s[o].handler.apply(t,n);else j(k[e],e,t);return t},Event:T,setSelectorEngine:C,noConflict:function(){return e[t]=l,this}};if(s.attachEvent){var $=function(){var t,e=S.entries();for(t in e)e[t].type&&"unload"!==e[t].type&&H(e[t].element,e[t].type);s.detachEvent("onunload",$),s.CollectGarbage&&s.CollectGarbage()};s.attachEvent("onunload",$)}return C(),B}),
9/*!
10  * Bonzo: DOM Utility (c) Dustin Diaz 2012
11  * https://github.com/ded/bonzo
12  * License MIT
13  */
14function(t,e,n){"undefined"!=typeof module&&module.exports?module.exports=n():"function"==typeof define&&define.amd?define(n):e[t]=n()}("bonzo",this,function(){function t(t,e){var n=null,i=C.defaultView.getComputedStyle(t,"");return i&&(n=i[e]),t.style[e]||n}function e(t){return t&&t.nodeName&&(1==t.nodeType||11==t.nodeType)}function n(t,n,i){var o,a,r;if("string"==typeof t)return k.create(t);if(e(t)&&(t=[t]),i){for(r=[],o=0,a=t.length;o<a;o++)r[o]=b(n,t[o]);return r}return t}function i(t){return new RegExp("(^|\\s+)"+t+"(\\s+|$)")}function o(t,e,n,i){for(var o,a=0,r=t.length;a<r;a++)o=i?t.length-a-1:a,e.call(n||t[o],t[o],o,t);return t}function a(t,n,i){for(var o=0,r=t.length;o<r;o++)e(t[o])&&(a(t[o].childNodes,n,i),n.call(i||t[o],t[o],o,t));return t}function r(t){return t.replace(/-(.)/g,function(t,e){return e.toUpperCase()})}function s(t){return t?t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase():t}function l(t){t[U]("data-node-uid")||t[F]("data-node-uid",++q);var e=t[U]("data-node-uid");return R[e]||(R[e]={})}function c(t){var e=t[U]("data-node-uid");e&&delete R[e]}function u(t){var e;try{return null===t||t===undefined?undefined:"true"===t||"false"!==t&&("null"===t?null:(e=parseFloat(t))==t?e:t)}catch(A){}return undefined}function d(t,e,n){for(var i=0,o=t.length;i<o;++i)if(e.call(n||null,t[i],i,t))return!0;return!1}function f(t){return"transform"==t&&(t=Y.transform)||/^transform-?[Oo]rigin$/.test(t)&&(t=Y.transform+"Origin"),t?r(t):null}
14function p(t,e,i,a){var r=0,s=e||this,l=[];return o(n(V&&"string"==typeof t&&"<"!=t.charAt(0)?V(t):t),function(t,e){o(s,function(n){i(t,l[r++]=e>0?b(s,n):n)},null,a)},this,a),s.length=r,o(l,function(t){s[--r]=t},null,!a),s}function h(t,e,n){var i=k(t),o=i.css("position"),a=i.offset(),r="relative",s=o==r,l=[parseInt(i.css("left"),10),parseInt(i.css("top"),10)];"static"==o&&(i.css("position",r),o=r),isNaN(l[0])&&(l[0]=s?0:t.offsetLeft),isNaN(l[1])&&(l[1]=s?0:t.offsetTop),null!=e&&(t.style.left=e-a.left+l[0]+z),null!=n&&(t.style.top=n-a.top+l[1]+z)}function m(t,e){return"function"==typeof e?e.call(t,t):e}function g(t,e,n){var i=this[0];return i?null==t&&null==e?(y(i)?w():{x:i.scrollLeft,y:i.scrollTop})[n]:(y(i)?S.scrollTo(t,e):(null!=t&&(i.scrollLeft=t),null!=e&&(i.scrollTop=e)),this):this}function v(t){if(this.length=0,t){t="string"==typeof t||t.nodeType||"undefined"==typeof t.length?[t]:t,this.length=t.length;for(var e=0;e<t.length;e++)this[e]=t[e]}}function b(t,e){var n,i,o,a=e.cloneNode(!0);if(t.$&&"function"==typeof t.cloneEvents)for(t.$(a).cloneEvents(e),n=t.$(a).find("*"),i=t.$(e).find("*"),o=0;o<i.length;o++)t.$(n[o]).cloneEvents(i[o]);return a}function y(t){return t===S||/^(?:body|html)$/i.test(t.tagName)}function w(){return{x:S.pageXOffset||N.scrollLeft,y:S.pageYOffset||N.scrollTop}}function L(t){var e=document.createElement("script"),n=t.match(D);return e.src=n[1],e}function k(t){return new v(t)}var E,T,x,A,S=window,C=S.document,N=C.documentElement,P="parentNode",M=/^(checked|value|selected|disabled)$/i,_=/^(select|fieldset|table|tbody|tfoot|td|tr|colgroup)$/i,D=/\s*<script +src=['"]([^'"]+)['"]>/,j=["<table>","</table>",1],H=["<table><tbody><tr>","</tr></tbody></table>",3],I=["<select>","</select>",1],B=["_","",0,1],$={thead:j,tbody:j,tfoot:j,colgroup:j,caption:j,tr:["<table><tbody>","</tbody></table>",2],th:H,td:H,col:["<table><colgroup>","</colgroup></table>",2],fieldset:["<form>","</form>",1],legend:["<form><fieldset>","</fieldset></form>",2],option:I,optgroup:I,script:B,style:B,link:B,param:B,base:B},O=/^(checked|selected|disabled)$/,R={},q=0,X=/^-?[\d\.]+$/,W=/^data-(.+)$/,z="px",F="setAttribute",U="getAttribute",Y=(A=C.createElement("p"),{transform:function(){var t,e=["transform","webkitTransform","MozTransform","OTransform","msTransform"];for(t=0;t<e.length;t++)if(e[t]in A.style)return e[t]}(),classList:"classList"in A}),G=/\s+/,Q=String.prototype.toString,K={lineHeight:1,zoom:1,zIndex:1,opacity:1,boxFlex:1,WebkitBoxFlex:1,MozBoxFlex:1},V=C.querySelectorAll&&function(t){return C.querySelectorAll(t)};return Y.classList?(E=function(t,e){return t.classList.contains(e)},T=function(t,e){t.classList.add(e)},x=function(t,e){t.classList.remove(e)}):(E=function(t,e){return i(e).test(t.className)},T=function(t,e){t.className=(t.className+" "+e).trim()},x=function(t,e){t.className=t.className.replace(i(e)," ").trim()}),v.prototype={get:function(t){return this[t]||null},each:function(t,e){return o(this,t,e)},deepEach:function(t,e){return a(this,t,e)},map:function(t,e){var n,i,o=[];for(i=0;i<this.length;i++)n=t.call(this,this[i],i),e?e(n)&&o.push(n):o.push(n);return o},html:function(t,e){var i=e?"textContent":"innerHTML",a=this,r=function(e,i){o(n(t,a,i),function(t){e.appendChild(t)})},s=function(n,o){try{if(e||"string"==typeof t&&!_.test(n.tagName))return n[i]=t}catch(A){}r(n,o)};return void 0!==t?this.empty().each(s):this[0]?this[0][i]:""},text:function(t){return this.html(t,!0)},append:function(t){var e=this;return this.each(function(i,a){o(n(t,e,a),function(t){i.appendChild(t)})})},prepend:function(t){var e=this;return this.each(function(i,a){var r=i.firstChild;o(n(t,e,a),function(t){i.insertBefore(t,r)})})},appendTo:function(t,e){return p.call(this,t,e,function(t,e){t.appendChild(e)})},prependTo:function(t,e){return p.call(this,t,e,function(t,e){t.insertBefore(e,t.firstChild)},1)},before:function(t){var e=this;return this.each(function(i,a){o(n(t,e,a),function(t){i[P].insertBefore(t,i)})})},after:function(t){var e=this;return this.each(function(i,a){o(n(t,e,a),function(t){i[P].insertBefore(t,i.nextSibling)},null,1)})},insertBefore:function(t,e){return p.call(this,t,e,function(t,e){t[P].insertBefore(e,t)})},insertAfter:function(t,e){return p.call(this,t,e,function(t,e){var n=t.nextSibling;n?t[P].insertBefore(e,n):t[P].appendChild(e)},1)},replaceWith:function(t){var e=this;return this.each(function(i,a){o(n(t,e,a),function(t){i[P]&&i[P].replaceChild(t,i)})})},clone:function(t){var e,n,i=[];for(n=0,e=this.length;n<e;n++)i[n]=b(t||this,this[n]);return k(i)},addClass:function(t){return t=Q.call(t).split(G),this.each(function(e){o(t,function(t){t&&!E(e,m(e,t))&&T(e,m(e,t))})})},removeClass:function(t){return t=Q.call(t).split(G),this.each(function(e){o(t,function(t){t&&E(e,m(e,t))&&x(e,m(e,t))})})},hasClass:function(t){return t=Q.call(t).split(G),d(this,function(e){return d(t,function(t){return t&&E(e,t)})})},toggleClass:function(t,e){return t=Q.call(t).split(G),this.each(function(n){o(t,function(t){t&&(void 0!==e?e?!E(n,t)&&T(n,t):x(n,t):E(n,t)?x(n,t):T(n,t))})})},show:function(t){return t="string"==typeof t?t:"",this.each(function(e){e.style.display=t})},hide:function(){return this.each(function(t){t.style.display="none"})},toggle:function(t,e){return e="string"==typeof e?e:"","function"!=typeof t&&(t=null),this.each(function(n){n.style.display=n.offsetWidth||n.offsetHeight?"none":e,t&&t.call(n)})},first:function(){return k(this.length?this[0]:[])},last:function(){return k(this.length?this[this.length-1]:[])},next:function(){return this.related("nextSibling")},previous:function(){return this.related("previousSibling")},parent:function(){return this.related(P)},related:function(t){return k(this.map(function(e){for(e=e[t];e&&1!==e.nodeType;)e=e[t];return e||0},function(t){return t}))},focus:function(){return this.length&&this[0].focus(),this},blur:function(){return this.length&&this[0].blur(),this},css:function(e,n){function i(t,e,n){for(var i in a)if(a.hasOwnProperty(i)){n=a[i],(e=f(i))&&X.test(n)&&!(e in K)&&(n+=z);try{t.style[e]=m(t,n)}catch(A){}}}var o,a=e;return n===undefined&&"string"==typeof e?(n=this[0])?n===C||n===S?(o=n===C?k.doc():k.viewport(),"width"==e?o.width:"height"==e?o.height:""):(e=f(e))?t(n,e):null:null:("string"==typeof e&&((a={})[e]=n),this.each(i))},offset:function(t,e){if(t&&"object"==typeof t&&("number"==typeof t.top||"number"==typeof t.left))return this.each(function(e){h(e,t.left,t.top)});if("number"==typeof t||"number"==typeof e)return this.each(function(n){h(n,t,e)});if(!this[0])return{top:0,left:0,height:0,width:0};var n=this[0],i=n.ownerDocument.documentElement,o=n.getBoundingClientRect(),a=w(),r=n.offsetWidth,s=n.offsetHeight;return{top:o.top+a.y-Math.max(0,i&&i.clientTop,C.body.clientTop),left
14:o.left+a.x-Math.max(0,i&&i.clientLeft,C.body.clientLeft),height:s,width:r}},dim:function(){if(!this.length)return{height:0,width:0};var t,e,n=this[0],i=9==n.nodeType&&n.documentElement,o=i||!n.style||n.offsetWidth||n.offsetHeight?null:(t=this,e={position:n.style.position||"",visibility:n.style.visibility||"",display:n.style.display||""},t.first().css({position:"absolute",visibility:"hidden",display:"block"}),e),a=i?Math.max(n.body.scrollWidth,n.body.offsetWidth,i.scrollWidth,i.offsetWidth,i.clientWidth):n.offsetWidth,r=i?Math.max(n.body.scrollHeight,n.body.offsetHeight,i.scrollHeight,i.offsetHeight,i.clientHeight):n.offsetHeight;return o&&this.first().css(o),{height:r,width:a}},attr:function(t,e){var n,i=this[0];if("string"!=typeof t&&!(t instanceof String)){for(n in t)t.hasOwnProperty(n)&&this.attr(n,t[n]);return this}return void 0===e?i?M.test(t)?!(!O.test(t)||"string"!=typeof i[t])||i[t]:i[U](t):null:this.each(function(n){M.test(t)?n[t]=m(n,e):n[F](t,m(n,e))})},removeAttr:function(t){return this.each(function(e){O.test(t)?e[t]=!1:e.removeAttribute(t)})},val:function(t){return"string"==typeof t||"number"==typeof t?this.attr("value",t):this.length?this[0].value:null},data:function(t,e){var n,i,a=this[0];return void 0===e?a?(n=l(a),void 0===t?(o(a.attributes,function(t){(i=(""+t.name).match(W))&&(n[r(i[1])]=u(t.value))}),n):("undefined"==typeof n[t]&&(n[t]=u(this.attr("data-"+s(t)))),n[t])):null:this.each(function(n){l(n)[t]=e})},remove:function(){return this.deepEach(c),this.detach()},empty:function(){return this.each(function(t){for(a(t.childNodes,c);t.firstChild;)t.removeChild(t.firstChild)})},detach:function(){return this.each(function(t){t[P]&&t[P].removeChild(t)})},scrollTop:function(t){return g.call(this,null,t,"y")},scrollLeft:function(t){return g.call(this,t,null,"x")}},k.setQueryEngine=function(t){V=t,delete k.setQueryEngine},k.aug=function(t,e){for(var n in t)t.hasOwnProperty(n)&&((e||v.prototype)[n]=t[n])},k.create=function(t){return"string"==typeof t&&""!==t?function(){if(D.test(t))return[L(t)];var e=t.match(/^\s*<([^\s>]+)/),n=C.createElement("div"),i=[],a=e?$[e[1].toLowerCase()]:null,r=a?a[2]+1:1,s=a&&a[3],l=P;for(n.innerHTML=a?a[0]+t+a[1]:t;r--;)n=n.firstChild;s&&n&&1!==n.nodeType&&(n=n.nextSibling);do{e&&1!=n.nodeType||i.push(n)}while(n=n.nextSibling);return o(i,function(t){t[l]&&t[l].removeChild(t)}),i}():e(t)?[t.cloneNode(!0)]:[]},k.doc=function(){var t=k.viewport();return{width:Math.max(C.body.scrollWidth,N.scrollWidth,t.width),height:Math.max(C.body.scrollHeight,N.scrollHeight,t.height)}},k.firstChild=function(t){for(var e,n=t.childNodes,i=0,o=n&&n.length||0;i<o;i++)1===n[i].nodeType&&(e=n[o=i]);return e},k.viewport=function(){return{width:S.innerWidth,height:S.innerHeight}},k.isAncestor="compareDocumentPosition"in N?function(t,e){return 16==(16&t.compareDocumentPosition(e))}:function(t,e){return t!==e&&t.contains(e)},k}),
15/*! lozad.js - v1.14.0 - 2019-10-31
16* https://github.com/ApoorvSaxena/lozad.js
17* Copyright (c) 2019 Apoorv Saxena; Licensed MIT */
18function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.lozad=e()}(this,function(){"use strict";function t(t){t.setAttribute("data-loaded",!0)}function e(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:".lozad",n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},s=Object.assign({},i,n),l=s.root,c=s.rootMargin,u=s.threshold,d=s.load,f=s.loaded,p=void 0;return"undefined"!=typeof window&&window.IntersectionObserver&&(p=new IntersectionObserver(a(d,f),{root:l,rootMargin:c,threshold:u})),{observe:function(){for(var n=r(e,l),i=0;i<n.length;i++)o(n[i])||(p?p.observe(n[i]):(d(n[i]),t(n[i]),f(n[i])))},triggerLoad:function(e){o(e)||(d(e),t(e),f(e))},observer:p}}var n="undefined"!=typeof document&&document.documentMode,i={rootMargin:"0px",threshold:0,load:function(t){if("picture"===t.nodeName.toLowerCase()){var e=document.createElement("img");n&&t.getAttribute("data-iesrc")&&(e.src=t.getAttribute("data-iesrc")),t.getAttribute("data-alt")&&(e.alt=t.getAttribute("data-alt")),t.append(e)}if("video"===t.nodeName.toLowerCase()&&!t.getAttribute("data-src")&&t.children){for(var i=t.children,o=void 0,a=0;a<=i.length-1;a++)(o=i[a].getAttribute("data-src"))&&(i[a].src=o);t.load()}if(t.getAttribute("data-poster")&&(t.poster=t.getAttribute("data-poster")),t.getAttribute("data-src")&&(t.src=t.getAttribute("data-src")),t.getAttribute("data-srcset")&&t.setAttribute("srcset",t.getAttribute("data-srcset")),t.getAttribute("data-background-image"))t.style.backgroundImage="url('"+t.getAttribute("data-background-image").split(",").join("'),url
18('")+"')";else if(t.getAttribute("data-background-image-set")){var r=t.getAttribute("data-background-image-set").split(","),s=r[0].substr(0,r[0].indexOf(" "))||r[0];s=-1===s.indexOf("url(")?"url("+s+")":s,1===r.length?t.style.backgroundImage=s:t.setAttribute("style",(t.getAttribute("style")||"")+"background-image: "+s+"; background-image: -webkit-image-set("+r+"); background-image: image-set("+r+")")}t.getAttribute("data-toggle-class")&&t.classList.toggle(t.getAttribute("data-toggle-class"))},loaded:function(){}},o=function(t){return"true"===t.getAttribute("data-loaded")},a=function(e,n){return function(i,a){i.forEach(function(i){(i.intersectionRatio>0||i.isIntersecting)&&(a.unobserve(i.target),o(i.target)||(e(i.target),t(i.target),n(i.target)))})}},r=function(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:document;return t instanceof Element?[t]:t instanceof NodeList?t:e.querySelectorAll(t)};return e}),function(){"use strict";function t(e,n,i){return("string"==typeof n?n:n.toString()).replace(e.define||a,function(t,n,o,a){return 0===n.indexOf("def.")&&(n=n.substring(4)),n in i||(":"===o?(e.defineParams&&a.replace(e.defineParams,function(t,e,o){i[n]={arg:e,text:o}}),n in i||(i[n]=a)):new Function("def","def['"+n+"']="+a)(i)),""}).replace(e.use||a,function(n,o){e.useParams&&(o=o.replace(e.useParams,function(t,e,n,o){if(i[n]&&i[n].arg&&o){var a=(n+":"+o).replace(/'|\\/g,"_");return i.__exp=i.__exp||{},i.__exp[a]=i[n].text.replace(new RegExp("(^|[^\\w$])"+i[n].arg+"([^\\w$])","g"),"$1"+o+"$2"),e+"def.__exp['"+a+"']"}}));var a=new Function("def","return "+o)(i);return a?t(e,a,i):a})}function e(t){return t.replace(/\\('|\\)/g,"$1").replace(/[\r\t\n]/g," ")}var n,i={name:"doT",version:"1.1.1",templateSettings:{evaluate:/\{\{([\s\S]+?(\}?)+)\}\}/g,interpolate:/\{\{=([\s\S]+?)\}\}/g,encode:/\{\{!([\s\S]+?)\}\}/g,use:/\{\{#([\s\S]+?)\}\}/g,useParams:/(^|[^\w$])def(?:\.|\[[\'\"])([\w$\.]+)(?:[\'\"]\])?\s*\:\s*([\w$\.]+|\"[^\"]+\"|\'[^\']+\'|\{[^\}]+\})/g,define:/\{\{##\s*([\w\.$]+)\s*(\:|=)([\s\S]+?)#\}\}/g,defineParams:/^\s*([\w$]+):([\s\S]+)/,conditional:/\{\{\?(\?)?\s*([\s\S]*?)\s*\}\}/g,iterate:/\{\{~\s*(?:\}\}|([\s\S]+?)\s*\:\s*([\w$]+)\s*(?:\:\s*([\w$]+))?\s*\}\})/g,varname:"it",strip:!0,append:!0,selfcontained:!1,doNotSkipEncoded:!1},template:undefined,compile:undefined,log:!0};i.encodeHTMLSource=function(t){var e={"&":"&#38;","<":"&#60;",">":"&#62;",'"':"&#34;","'":"&#39;","/":"&#47;"},n=t?/[&<>"'\/]/g:/&(?!#?\w+;)|<|>|"|'|\//g;return function(t){return t?t.toString().replace(n,function(t){return e[t]||t}):""}},n=function(){return this||(0,eval)("this")}(),"undefined"!=typeof module&&module.exports?module.exports=i:"function"==typeof define&&define.amd?define(function(){return i}):n.doT=i;var o={append:{start:"'+(",end:")+'",startencode:"'+encodeHTML("},split:{start:"';out+=(",end:");out+='",startencode:"';out+=encodeHTML("}},a=/$^/;i.template=function(r,s,l){var c,u,d=(s=s||i.templateSettings).append?o.append:o.split,f=0,p=s.use||s.define?t(s,r,l||{}):r;p=("var out='"+(s.strip?p.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g," ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):p).replace(/'|\\/g,"\\$&").replace(s.interpolate||a,function(t,n){return d.start+e(n)+d.end}).replace(s.encode||a,function(t,n){return c=!0,d.startencode+e(n)+d.end}).replace(s.conditional||a,function(t,n,i){return n?i?"';}else if("+e(i)+"){out+='":"';}else{out+='":i?"';if("+e(i)+"){out+='":"';}out+='"}).replace(s.iterate||a,function(t,n,i,o){return n?(f+=1,u=o||"i"+f,n=e(n),"';var arr"+f+"="+n+";if(arr"+f+"){var "+i+","+u+"=-1,l"+f+"=arr"+f+".length-1;while("+u+"<l"+f+"){"+i+"=arr"+f+"["+u+"+=1];out+='"):"';} } out+='"}).replace(s.evaluate||a,function(t,n){return"';"+e(n)+"out+='"})+"';return out;").replace(/\n/g,"\\n").replace(/\t/g,"\\t").replace(/\r/g,"\\r").replace(/(\s|;|\}|^|\{)out\+='';/g,"$1").replace(/\+''/g,""),c&&(s.selfcontained||!n||n._encodeHTML||(n._encodeHTML=i.encodeHTMLSource(s.doNotSkipEncoded)),p="var encodeHTML = typeof _encodeHTML !== 'undefined' ? _encodeHTML : ("+i.encodeHTMLSource.toString()+"("+(s.doNotSkipEncoded||"")+"));"+p);try{return new Function(s.varname,p)}catch(h){throw"undefined"!=typeof console&&console.log("Could not create a template function: "+p),h}},i.compile=function(t,e){return i.template(t,null,e)}}(),function(){this.BooksFilter=function(){function t(t,e){var n,i,o,a;for(this.books=t,this.elem=e,this.template=doT.template(qqq("#book-filter-template").innerHTML),this.elem_books=qqq(".book_filter_list"),this.classnumber=null,this.subject=null,this.rowsclassnumbers=this.elem_books.querySelectorAll(".book-classnumber"),n=0,o=t.length;n<o;n++)(i=t[n]).elem=this.elem_books.querySelectorAll(".bookcard-item[data-id='"+i.id+"']");a=this,bean.on(this.elem,"click",".btn-classnumber ",function(){return a.subject=null,a.set_filter("classnumber",this,!0)}),bean.on(this.elem,"click",".btn-subject ",function(){return a.set_filter("subject",this,!1)})}return t.prototype.set_filter=function(t,e,n){var i;return i=e.dataset[t],n&&(i=parseInt(i)),this[t]===i?this[t]=null:this[t]=i,this.render()},t.prototype.render_books=function(t){var e,n,i,o,a,r;for(bonzo(this.rowsclassnumbers).hide(),r=[],i=0,a=t.length;i<a;i++)(o=t[i]).active?bonzo(o.elem).show():bonzo(o.elem).hide(),o.active?r.push(function(){var t,i,a,r;for(r=[],t=0,i=(a=o.classnumbers).length;t<i;t++)e=a[t],n=this.elem_books.querySelectorAll(".book-classnumber[data-classnumber='"+e+"']"),r.push(bonzo(n).show());return r}.call(this)):r.push(void 0);return r},t.prototype.sortBy=function(t,e){return t.sort(function(t,n){return e(t)>e(n)?1:-1}),t},t.prototype.unique=function(t){return Array.from(new Set(t))},t.prototype.render=function(){var t,e,n,i,o,a,r,s,l;
18for(r=this,e=this.books.map(function(t){return t.classnumbers}).flat(),e=this.sortBy(this.unique(e),function(t){return t}).map(function(t){return{classnumber:t,active:t===r.classnumber}}),n=[],null!==this.classnumber&&(n=this.books.filter(function(t){return t.classnumbers.includes(r.classnumber)}).map(function(t){return t.subject}),n=this.sortBy(this.unique(n),function(t){return t}).map(function(t){return{subject:t,active:t===r.subject}})),l={books_classnumber:e,books_subject:n},s=this.template(l),this.elem.innerHTML=s,i=0,o=(a=this.books).length;i<o;i++)t=a[i],null!==r.classnumber?t.active=t.classnumbers.includes(r.classnumber)&&(null===r.subject||t.subject===r.subject):t.active=!0;return this.render_books(this.books)},t}()}.call(this),function(){function t(t,e,n){var i=t.scrollTop,o=e-i,a=0,r=20,s=function(){a+=r;var e=Math.easeInOutQuad(a,i,o,n);t.scrollTop=e,a<n&&setTimeout(s,r)};s()}dom(function(){var e=document.getElementById("scrollup");e&&(e.style.display="none",domevent(e,"click",function(){t(document.documentElement,0,1e3),t(document.body,0,1e3)}),domevent(window,"scroll",function(){var t=document.getElementById("scrollup");document.body.scrollTop>200||document.documentElement.scrollTop>200?t.style.display="block":t.style.display="none"}))}),Math.easeInOutQuad=function(t,e,n,i){return(t/=i/2)<1?n/2*t*t+e:-n/2*(--t*(t-2)-1)+e}}(),function(){this.webuiPopoverShow=function(t,e){return t.webuiPopover("destroy"),t.webuiPopover(e),t.webuiPopover("show")},this.clipboard_listen=function(t){var e;return e=this,t.on("success",function(t){var n;return n={content:"\u0421\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u043e!",placement:"bottom",trigger:"manual",autoHide:1e3,arrow:!1,offsetTop:15,offsetLeft:15},e.webuiPopoverShow($(t.trigger),n)}),t.on("error",function(t){var n;return n={content:"\u041d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f!",placement:"bottom",trigger:"manual",style:"alert",autoHide:1e3,arrow:!1,offsetTop:15,offsetLeft:15},e.webuiPopoverShow($(t.trigger),n)})},this.analytic_event=function(t){var e,n,i,o,a,r;for(e={hitType:"event"},a=["eventCategory","eventAction","eventLabel"],n=i=0,o=t.length;i<o;n=++i)r=t[n],e[a[n]]=r;if("undefined"!=typeof ga)return ga("send",e)},this.waitCall=function(t,e){return setTimeout(e,t)},this.blackout=function(t){return t.prepend("<div class='blackout'></div>")},this.find_function_by_name=function(t,e){var n,i;for(i=t.split("."),n=0;n<i.length;)e=e[i[n]],n++;return e}}.call(this),function(){this.send_feedback=function(t,e,n){return $("#task_feedback_modal").modal("hide"),$.post("/feedback",{number:t,book_id:e,message:n}).always(function(){return $.notify({title:"\u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043e",message:""},{type:"success"})})},this.task_abv_show=function(t,e){var n,i,o,a,r;return window.overlay_adv?e():(window.overlay_adv=!0,$("#demo01").click(),r=$("#task_load_progress"),a=1e3*t,i=100,n=0,o=setInterval(function(){var t;return t=i*n*100/a,r.width(t+"%"),n++},i),setTimeout(function(){return $(".close-animatedModal").click(),clearInterval(o),e()},a))},this.task_adv_listener=function(t){return $(".show_task_adv, .breadcrumb a").click(function(){var e;return e=$(this).attr("href"),task_abv_show(t,function(){return window.location=e}),!1})},this.task_adv_listener_book=function(t){return $(".task-list a").click(function(){var e;return e=$(this).attr("href"),task_abv_show(t,function(){return window.location=e}),!1})},this.analytics_init=function(){if(window.externalservice)return domevent(qq("a[data-analyitcs_goal], button[data-analyitcs_goal], .analytics_metric[data-analyitcs_goal]"),"click",function(){var t,e,n;return e=(t=this).dataset.analyitcs_goal,(n=t.dataset.analyitcs_goal_params)?yaCounterR.reachGoal(e,{type:n}):yaCounterR.reachGoal(e)})},this.task_adv_social_open=function(t){return window.overlay_adv?t():(window.overlay_adv=!0,$("#demo01").click())},this.task_adv_social=function(t,e,n){return(t?$(".task-list a"):$(".show_task_adv, .breadcrumb a")).click(function(){var t,i;return n&&setCookie("social_adv_"+e,!0,{"max-age":864e3}),i=$(this).attr("href"),t=function(){return window.location=i},$("#animatedModal").show(),$("#demo01").animatedModal({color:"white",afterClose:t,zIndexIn:2147483650}),task_adv_social_open(t),!1})}}.call(this),function(t,e){"object"==typeof module&&module.exports?module.exports=e():"function"==typeof define&&define.amd?define(e):t.Spinner=e()}(this,function(){"use strict";function t(t,e){var n,i=document.createElement(t||"div");for(n in e)i[n]=e[n];return i}function e(t){for(var e=1,n=arguments.length;n>e;e++)t.appendChild(arguments[e]);return t}function n(t,e,n,i){var o=["opacity",e,~~(100*t),n,i].join("-"),a=.01+n/i*100,r=Math.max(1-(1-t)/e*(100-a),t),s=c.substring(0,c.indexOf("Animation")).toLowerCase(),l=s&&"-"+s+"-"||"";return f[o]||(u.insertRule("@"+l+"keyframes "+o+"{0%{opacity:"+r+"}"+a+"%{opacity:"+t+"}"+(a+.01)+"%{opacity:1}"+(a+e)%100+"%{opacity:"+t+"}100%{opacity:"+r+"}}",u.cssRules.length),f[o]=1),o}function i(t,e){var n,i,o=t.style;if(void 0!==o[e=e.charAt(0).toUpperCase()+e.slice(1)])return e;for(i=0;i<d.length;i++)if(void 0!==o[n=d[i]+e])return n}function o(t,e){for(var n in e)t.style[i(t,n)||n]=e[n];return t}function a(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)void 0===t[i]&&(t[i]=n[i])}return t}function r(t,e){return"string"==typeof t?t:t[e%t.length]}function s(t){this.opts=a(t||{},s.defaults,p)}function l(){function n(e,n){return t("<"+e+' xmlns="urn:schemas-microsoft.com:vml" class="spin-vml">',n)}u.addRule(".spin-vml","behavior:url(#default#VML)"),s.prototype.lines=function(t,i){function a(){return o(n("group",{coordsize:u+" "+u,coordorigin:-c+" "+-c}),{width:u,height:u})}
vendor: 2,835 bytes, line 18
18function s(t,s,l){e(f,e(o(a(),{rotation:360/i.lines*t+"deg",left:~~s}),e(o(n("roundrect",{arcsize:i.corners}),{width:c,height:i.scale*i.width,left:i.scale*i.radius,top:-i.scale*i.width>>1,filter:l}),n("fill",{color:r(i.color,t),opacity:i.opacity}),n("stroke",{opacity:0}))))}var l,c=i.scale*(i.length+i.width),u=2*i.scale*c,d=-(i.width+i.length)*i.scale*2+"px",f=o(a(),{position:"absolute",top:d,left:d});if(i.shadow)for(l=1;l<=i.lines;l++)s(l,-2,"progid:DXImageTransform.Microsoft.Blur(pixelradius=2,makeshadow=1,shadowopacity=.3)");for(l=1;l<=i.lines;l++)s(l);return e(t,f)},s.prototype.opacity=function(t,e,n,i){var o=t.firstChild;i=i.shadow&&i.lines||0,o&&e+i<o.childNodes.length&&((o=(o=(o=o.childNodes[e+i])&&o.firstChild)&&o.firstChild)&&(o.opacity=n))}}var c,u,d=["webkit","Moz","ms","O"],f={},p={lines:12,length:7,width:5,radius:10,scale:1,corners:1,color:"#000",opacity:.25,rotate:0,direction:1,speed:1,trail:100,fps:20,zIndex:2e9,className:"spinner",top:"50%",left:"50%",shadow:!1,hwaccel:!1,position:"absolute"};if(s.defaults={},a(s.prototype,{spin:function(e){this.stop();var n=this,i=n.opts,a=n.el=t(null,{className:i.className});if(o(a,{position:i.position,width:0,zIndex:i.zIndex,left:i.left,top:i.top}),e&&e.insertBefore(a,e.firstChild||null),a.setAttribute("role","progressbar"),n.lines(a,n.opts),!c){var r,s=0,l=(i.lines-1)*(1-i.direction)/2,u=i.fps,d=u/i.speed,f=(1-i.opacity)/(d*i.trail/100),p=d/i.lines;!function t(){s++;for(var e=0;e<i.lines;e++)r=Math.max(1-(s+(i.lines-e)*p)%d*f,i.opacity),n.opacity(a,e*i.direction+l,r,i);n.timeout=n.el&&setTimeout(t,~~(1e3/u))}()}return n},stop:function(){var t=this.el;return t&&(clearTimeout(this.timeout),t.parentNode&&t.parentNode.removeChild(t),this.el=void 0),this},lines:function(i,a){function s(e,n){return o(t(),{position:"absolute",width:a.scale*(a.length+a.width)+"px",height:a.scale*a.width+"px",background:e,boxShadow:n,transformOrigin:"left",transform:"rotate("+~~(360/a.lines*u+a.rotate)+"deg) translate("+a.scale*a.radius+"px,0)",borderRadius:(a.corners*a.scale*a.width>>1)+"px"})}for(var l,u=0,d=(a.lines-1)*(1-a.direction)/2;u<a.lines;u++)l=o(t(),{position:"absolute",top:1+~(a.scale*a.width/2)+"px",transform:a.hwaccel?"translate3d(0,0,0)":"",opacity:a.opacity,animation:c&&n(a.opacity,a.trail,d+u*a.direction,a.lines)+" "+1/a.speed+"s linear infinite"}),a.shadow&&e(l,o(s("#000","0 0 4px #000"),{top:"2px"})),e(i,e(l,s(r(a.color,u),"0 0 1px rgba(0,0,0,.1)")));return i},opacity:function(t,e,n){e<t.childNodes.length&&(t.childNodes[e].style.opacity=n)}}),"undefined"!=typeof document){u=function(){var n=t("style",{type:"text/css"});return e(document.getElementsByTagName("head")[0],n),n.sheet||n.styleSheet}();var h=o(t("group"),{behavior:"url(#default#VML)"});!i(h,"transform")&&h.adj?l():c=i(h,"animation")}return s}),dom(function(){analytics_init()});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.