lektor-website/assets/static/app.js

33 lines
134 KiB
JavaScript
Raw Normal View History

2021-11-29 01:24:51 +01:00
!function(t){function e(i){if(n[i])return n[i].exports;var o=n[i]={exports:{},id:i,loaded:!1};return t[i].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){(function(t){"use strict";function e(t){if(document.body.createTextRange){var e=document.body.createTextRange();e.moveToElementText(t),e.select()}else if(window.getSelection){var n=window.getSelection(),i=document.createRange();i.selectNodeContents(t),n.removeAllRanges(),n.addRange(i)}}function i(){var e=t(".badges li").hide();e.length>0&&window.setTimeout(function(){e.fadeIn(500)},1500)}function o(){var e=t(".download-btn");e.length<=0||(e.hide(),t.ajax({method:"GET",url:"https://api.github.com/repos/lektor/lektor/releases",crossDomain:!0}).then(function(t){s(e.toArray(),t)},function(){e.show()}))}function r(t){var e=null,n=null;if(navigator.platform.match(/^mac/i)&&(e=/\.dmg$/,n="For OSX 10.9 and later."),null!=e)for(var i=0;i<t.length;i++)if(t[i].name.match(e))return{url:t[i].browser_download_url,note:n};return null}function s(e,n){var i=n[0].tag_name,o="/downloads/",s=r(n[0].assets);e.forEach(function(e){var n=t('<div class="note"></div>').appendTo(e),r=t("a",e);s?(r.attr("href",s.url),n.append(t("<span></span>").text(s.note+" ")),n.append(t("<a>Other platforms</a>").attr("href",o))):r.attr("href",o),r.append(t('<span class="version"></span>').text(i)),t(e).fadeIn("slow")})}function a(){var n=t(".install-row pre");n.length>0&&n.on("dblclick",function(){e(this)})}function l(){var e=t(".google-custom-search");if(0!=e.length){var n="012722186170730423054:utwznhnrrmi",i=document.createElement("script");i.type="text/javascript",i.async=!0,i.src=("https:"==document.location.protocol?"https:":"http:")+"//cse.google.com/cse.js?cx="+n;var o=document.getElementsByTagName("script")[0];o.parentNode.insertBefore(i,o),t('\n <gcse:searchresults-only linktarget="_parent"></gcse:searchresults-only>\n ').appendTo(e),t('\n <div style="display: none">\n <div id="base_webResult">\n <div class="gs-webResult gs-result"\n data-vars="{\n longUrl: function() {\n var i = unescapedUrl.indexOf(visibleUrl);\n return i < 1 ? visibleUrl : unescapedUrl.substring(i);\n },\n processSearchTitle: function(title) {\n return title.split(\' | \').slice(0, -2).join(\' | \') || \'Documentation\';\n }\n }">\n <div class="gs-title">\n <a class="gs-title" data-attr="{href:unescapedUrl, target:target}"\n data-body="html(processSearchTitle(title))"></a>\n </div>\n <div class="gs-visibleUrl gs-visibleUrl-long" data-body="longUrl()"></div>\n <div class="gs-snippet" data-body="html(content)"></div>\n </div>\n </div>\n </div>\n ').appendTo(e);var r=u.parse(location.search);r.q&&t('input[name="q"]',e).val(r.q)}}function c(){navigator.appVersion.indexOf("Win")>=0&&t(".hide-for-windows").hide()}n(2);var u=n(16);t(function(){i(),o(),a(),l(),c()})}).call(e,n(1))},function(t,e,n){var i,o;/*!
* jQuery JavaScript Library v3.6.0
* https://jquery.com/
2015-12-19 14:52:17 +01:00
*
* Includes Sizzle.js
* https://sizzlejs.com/
2015-12-19 14:52:17 +01:00
*
2021-11-29 01:24:51 +01:00
* Copyright OpenJS Foundation and other contributors
2015-12-19 14:52:17 +01:00
* Released under the MIT license
* https://jquery.org/license
2015-12-19 14:52:17 +01:00
*
2021-11-29 01:24:51 +01:00
* Date: 2021-03-02T17:08Z
2015-12-19 14:52:17 +01:00
*/
2021-11-29 01:24:51 +01:00
!function(e,n){"use strict";"object"==typeof t&&"object"==typeof t.exports?t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}:n(e)}("undefined"!=typeof window?window:this,function(n,r){"use strict";function s(t,e,n){n=n||St;var i,o,r=n.createElement("script");if(r.text=t,e)for(i in kt)o=e[i]||e.getAttribute&&e.getAttribute(i),o&&r.setAttribute(i,o);n.head.appendChild(r).parentNode.removeChild(r)}function a(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?mt[yt.call(t)]||"object":typeof t}function l(t){var e=!!t&&"length"in t&&t.length,n=a(t);return!Ct(t)&&!Et(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}function c(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}function u(t,e,n){return Ct(e)?At.grep(t,function(t,i){return!!e.call(t,i,t)!==n}):e.nodeType?At.grep(t,function(t){return t===e!==n}):"string"!=typeof e?At.grep(t,function(t){return vt.call(e,t)>-1!==n}):At.filter(e,t,n)}function f(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function d(t){var e={};return At.each(t.match(Ft)||[],function(t,n){e[n]=!0}),e}function p(t){return t}function h(t){throw t}function g(t,e,n,i){var o;try{t&&Ct(o=t.promise)?o.call(t).done(e).fail(n):t&&Ct(o=t.then)?o.call(t,e,n):e.apply(void 0,[t].slice(i))}catch(t){n.apply(void 0,[t])}}function v(){St.removeEventListener("DOMContentLoaded",v),n.removeEventListener("load",v),At.ready()}function m(t,e){return e.toUpperCase()}function y(t){return t.replace(Bt,"ms-").replace(_t,m)}function b(){this.expando=At.expando+b.uid++}function x(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:Gt.test(t)?JSON.parse(t):t)}function w(t,e,n){var i;if(void 0===n&&1===t.nodeType)if(i="data-"+e.replace(Yt,"-$&").toLowerCase(),n=t.getAttribute(i),"string"==typeof n){try{n=x(n)}catch(t){}Xt.set(t,e,n)}else n=void 0;return n}function T(t,e,n,i){var o,r,s=20,a=i?function(){return i.cur()}:function(){return At.css(t,e,"")},l=a(),c=n&&n[3]||(At.cssNumber[e]?"":"px"),u=t.nodeType&&(At.cssNumber[e]||"px"!==c&&+l)&&Kt.exec(At.css(t,e));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;s--;)At.style(t,e,u+c),(1-r)*(1-(r=a()/l||.5))<=0&&(s=0),u/=r;u*=2,At.style(t,e,u+c),n=n||[]}return n&&(u=+u||+l||0,o=n[1]?u+(n[1]+1)*n[2]:+n[2],i&&(i.unit=c,i.start=u,i.end=o)),o}function C(t){var e,n=t.ownerDocument,i=t.nodeName,o=ie[i];return o?o:(e=n.body.appendChild(n.createElement(i)),o=At.css(e,"display"),e.parentNode.removeChild(e),"none"===o&&(o="block"),ie[i]=o,o)}function E(t,e){for(var n,i,o=[],r=0,s=t.length;r<s;r++)i=t[r],i.style&&(n=i.style.display,e?("none"===n&&(o[r]=Vt.get(i,"display")||null,o[r]||(i.style.display="")),""===i.style.display&&ne(i)&&(o[r]=C(i))):"none"!==n&&(o[r]="none",Vt.set(i,"display",n)));for(r=0;r<s;r++)null!=o[r]&&(t[r].style.display=o[r]);return t}function S(t,e){var n;return n="undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e||"*"):"undefined"!=typeof t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&c(t,e)?At.merge([t],n):n}function k(t,e){for(var n=0,i=t.length;n<i;n++)Vt.set(t[n],"globalEval",!e||Vt.get(e[n],"globalEval"))}function $(t,e,n,i,o){for(var r,s,l,c,u,f,d=e.createDocumentFragment(),p=[],h=0,g=t.length;h<g;h++)if(r=t[h],r||0===r)if("object"===a(r))At.merge(p,r.nodeType?[r]:r);else if(le.test(r)){for(s=s||d.appendChild(e.createElement("div")),l=(re.exec(r)||["",""])[1].toLowerCase(),c=ae[l]||ae._default,s.innerHTML=c[1]+At.htmlPrefilter(r)+c[2],f=c[0];f--;)s=s.lastChild;At.merge(p,s.childNodes),s=d.firstChild,s.textContent=""}else p.push(e.createTextNode(r));for(d.textContent="",h=0;r=p[h++];)if(i&&At.inArray(r,i)>-1)o&&o.push(r);else if(u=te(r),s=S(d.appendChild(r),"script"),u&&k(s),n)for(f=0;r=s[f++];)se.test(r.type||"")&&n.push(r);return d}function A(){return!0}function D(){return!1}function N(t,e){return t===j()==("focus"===e)}function j(){try{return St.activeElement}catch(t){}}function O(t,e,n,i,o,r){var s,a;if("object"==typeof e){"string"!=typeof n&&(i=i||n,n=void 0);for(a in e)O(t,a,n,i,e[a],r);return t}if(null=
* Sizzle CSS Selector Engine v2.3.6
* https://sizzlejs.com/
2015-12-19 14:52:17 +01:00
*
2021-11-29 01:24:51 +01:00
* Copyright JS Foundation and other contributors
2015-12-19 14:52:17 +01:00
* Released under the MIT license
2021-11-29 01:24:51 +01:00
* https://js.foundation/
2015-12-19 14:52:17 +01:00
*
2021-11-29 01:24:51 +01:00
* Date: 2021-02-16
2015-12-19 14:52:17 +01:00
*/
2021-11-29 01:24:51 +01:00
function(t){function e(t,e,n,i){var o,r,s,a,l,c,u,d=e&&e.ownerDocument,h=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==h&&9!==h&&11!==h)return n;if(!i&&(O(e),e=e||I,R)){if(11!==h&&(l=bt.exec(t)))if(o=l[1]){if(9===h){if(!(s=e.getElementById(o)))return n;if(s.id===o)return n.push(s),n}else if(d&&(s=d.getElementById(o))&&F(e,s)&&s.id===o)return n.push(s),n}else{if(l[2])return Z.apply(n,e.getElementsByTagName(t)),n;if((o=l[3])&&T.getElementsByClassName&&e.getElementsByClassName)return Z.apply(n,e.getElementsByClassName(o)),n}if(T.qsa&&!X[t+" "]&&(!q||!q.test(t))&&(1!==h||"object"!==e.nodeName.toLowerCase())){if(u=t,d=e,1===h&&(ft.test(t)||ut.test(t))){for(d=xt.test(t)&&f(e.parentNode)||e,d===e&&T.scope||((a=e.getAttribute("id"))?a=a.replace(Ct,Et):e.setAttribute("id",a=M)),c=k(t),r=c.length;r--;)c[r]=(a?"#"+a:":scope")+" "+p(c[r]);u=c.join(",")}try{return Z.apply(n,d.querySelectorAll(u)),n}catch(e){X(t,!0)}finally{a===M&&e.removeAttribute("id")}}}return A(t.replace(lt,"$1"),e,n,i)}function n(){function t(n,i){return e.push(n+" ")>C.cacheLength&&delete t[e.shift()],t[n+" "]=i}var e=[];return t}function i(t){return t[M]=!0,t}function o(t){var e=I.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function r(t,e){for(var n=t.split("|"),i=n.length;i--;)C.attrHandle[n[i]]=e}function s(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function a(t){return function(e){var n=e.nodeName.toLowerCase();return"input"===n&&e.type===t}}function l(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function c(t){return function(e){return"form"in e?e.parentNode&&e.disabled===!1?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&kt(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function u(t){return i(function(e){return e=+e,i(function(n,i){for(var o,r=t([],n.length,e),s=r.length;s--;)n[o=r[s]]&&(n[o]=!(i[o]=n[o]))})})}function f(t){return t&&"undefined"!=typeof t.getElementsByTagName&&t}function d(){}function p(t){for(var e=0,n=t.length,i="";e<n;e++)i+=t[e].value;return i}function h(t,e,n){var i=e.dir,o=e.next,r=o||i,s=n&&"parentNode"===r,a=B++;return e.first?function(e,n,o){for(;e=e[i];)if(1===e.nodeType||s)return t(e,n,o);return!1}:function(e,n,l){var c,u,f,d=[W,a];if(l){for(;e=e[i];)if((1===e.nodeType||s)&&t(e,n,l))return!0}else for(;e=e[i];)if(1===e.nodeType||s)if(f=e[M]||(e[M]={}),u=f[e.uniqueID]||(f[e.uniqueID]={}),o&&o===e.nodeName.toLowerCase())e=e[i]||e;else{if((c=u[r])&&c[0]===W&&c[1]===a)return d[2]=c[2];if(u[r]=d,d[2]=t(e,n,l))return!0}return!1}}function g(t){return t.length>1?function(e,n,i){for(var o=t.length;o--;)if(!t[o](e,n,i))return!1;return!0}:t[0]}function v(t,n,i){for(var o=0,r=n.length;o<r;o++)e(t,n[o],i);return i}function m(t,e,n,i,o){for(var r,s=[],a=0,l=t.length,c=null!=e;a<l;a++)(r=t[a])&&(n&&!n(r,i,o)||(s.push(r),c&&e.push(a)));return s}function y(t,e,n,o,r,s){return o&&!o[M]&&(o=y(o)),r&&!r[M]&&(r=y(r,s)),i(function(i,s,a,l){var c,u,f,d=[],p=[],h=s.length,g=i||v(e||"*",a.nodeType?[a]:a,[]),y=!t||!i&&e?g:m(g,d,t,a,l),b=n?r||(i?t:h||o)?[]:s:y;if(n&&n(y,b,a,l),o)for(c=m(b,p),o(c,[],a,l),u=c.length;u--;)(f=c[u])&&(b[p[u]]=!(y[p[u]]=f));if(i){if(r||t){if(r){for(c=[],u=b.length;u--;)(f=b[u])&&c.push(y[u]=f);r(null,b=[],c,l)}for(u=b.length;u--;)(f=b[u])&&(c=r?et(i,f):d[u])>-1&&(i[c]=!(s[c]=f))}}else b=m(b===s?b.splice(h,b.length):b),r?r(null,s,b,l):Z.apply(s,b)})}function b(t){for(var e,n,i,o=t.length,r=C.relative[t[0].type],s=r||C.relative[" "],a=r?1:0,l=h(function(t){return t===e},s,!0),c=h(function(t){return et(e,t)>-1},s,!0),u=[function(t,n,i){var o=!r&&(i||n!==D)||((e=n).nodeType?l(t,n,i):c(t,n,i));return e=null,o}];a<o;a++)if(n=C.relative[t[a].type])u=[h(g(u),n)];else{if(n=C.filter[t[a].type].apply(null,t[a].matches),n[M]){for(i=++a;i<o&&!C.relative[t[i].type];i++);return y(a>1&&g(u),a>1&&p(t.slice(0,a-1).concat({value:" "===
!function(){var t=St.createDocumentFragment(),e=t.appendChild(St.createElement("div")),n=St.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),e.appendChild(n),Tt.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",Tt.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,e.innerHTML="<option></option>",Tt.option=!!e.lastChild}();var ae={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};ae.tbody=ae.tfoot=ae.colgroup=ae.caption=ae.thead,ae.th=ae.td,Tt.option||(ae.optgroup=ae.option=[1,"<select multiple='multiple'>","</select>"]);var le=/<|&#?\w+;/,ce=/^([^.]*)(?:\.(.+)|)/;At.event={global:{},add:function(t,e,n,i,o){var r,s,a,l,c,u,f,d,p,h,g,v=Vt.get(t);if(zt(t))for(n.handler&&(r=n,n=r.handler,o=r.selector),o&&At.find.matchesSelector(Zt,o),n.guid||(n.guid=At.guid++),(l=v.events)||(l=v.events=Object.create(null)),(s=v.handle)||(s=v.handle=function(e){return"undefined"!=typeof At&&At.event.triggered!==e.type?At.event.dispatch.apply(t,arguments):void 0}),e=(e||"").match(Ft)||[""],c=e.length;c--;)a=ce.exec(e[c])||[],p=g=a[1],h=(a[2]||"").split(".").sort(),p&&(f=At.event.special[p]||{},p=(o?f.delegateType:f.bindType)||p,f=At.event.special[p]||{},u=At.extend({type:p,origType:g,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&At.expr.match.needsContext.test(o),namespace:h.join(".")},r),(d=l[p])||(d=l[p]=[],d.delegateCount=0,f.setup&&f.setup.call(t,i,h,s)!==!1||t.addEventListener&&t.addEventListener(p,s)),f.add&&(f.add.call(t,u),u.handler.guid||(u.handler.guid=n.guid)),o?d.splice(d.delegateCount++,0,u):d.push(u),At.event.global[p]=!0)},remove:function(t,e,n,i,o){var r,s,a,l,c,u,f,d,p,h,g,v=Vt.hasData(t)&&Vt.get(t);if(v&&(l=v.events)){for(e=(e||"").match(Ft)||[""],c=e.length;c--;)if(a=ce.exec(e[c])||[],p=g=a[1],h=(a[2]||"").split(".").sort(),p){for(f=At.event.special[p]||{},p=(i?f.delegateType:f.bindType)||p,d=l[p]||[],a=a[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=r=d.length;r--;)u=d[r],!o&&g!==u.origType||n&&n.guid!==u.guid||a&&!a.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(d.splice(r,1),u.selector&&d.delegateCount--,f.remove&&f.remove.call(t,u));s&&!d.length&&(f.teardown&&f.teardown.call(t,h,v.handle)!==!1||At.removeEvent(t,p,v.handle),delete l[p])}else for(p in l)At.event.remove(t,p+e[c],n,i,!0);At.isEmptyObject(l)&&Vt.remove(t,"handle events")}},dispatch:function(t){var e,n,i,o,r,s,a=new Array(arguments.length),l=At.event.fix(t),c=(Vt.get(this,"events")||Object.create(null))[l.type]||[],u=At.event.special[l.type]||{};for(a[0]=l,e=1;e<arguments.length;e++)a[e]=arguments[e];if(l.delegateTarget=this,!u.preDispatch||u.preDispatch.call(this,l)!==!1){for(s=At.event.handlers.call(this,l,c),e=0;(o=s[e++])&&!l.isPropagationStopped();)for(l.currentTarget=o.elem,n=0;(r=o.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&r.namespace!==!1&&!l.rnamespace.test(r.namespace)||(l.handleObj=r,l.data=r.data,i=((At.event.special[r.origType]||{}).handle||r.handler).apply(o.elem,a),void 0!==i&&(l.result=i)===!1&&(l.preventDefault(),l.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,l),l.result}},handlers:function(t,e){var n,i,o,r,s,a=[],l=e.delegateCount,c=t.target;if(l&&c.nodeType&&!("click"===t.type&&t.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==t.type||c.disabled!==!0)){for(r=[],s={},n=0;n<l;n++)i=e[n],o=i.selector+" ",void 0===s[o]&&(s[o]=i.needsContext?At(o,this).index(c)>-1:At.find(o,this,null,[c]).length),s[o]&&r.push(i);r.length&&a.push({elem:c,handlers:r})}return c=this,l<e.length&&a.push({elem:c,handlers:e.slice(l)}),a},addProp:function(t,e){Object.defineProperty(At.Event.prototype,t,{enumerable:!0,configurable:!0,get:Ct(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defin
return At.get(t,void 0,e,"script")}}),At.each(["get","post"],function(t,e){At[e]=function(t,n,i,o){return Ct(n)&&(o=o||i,i=n,n=void 0),At.ajax(At.extend({url:t,type:e,dataType:o,data:n,success:i},At.isPlainObject(t)&&t))}}),At.ajaxPrefilter(function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")}),At._evalUrl=function(t,e,n){return At.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){At.globalEval(t,e,n)}})},At.fn.extend({wrapAll:function(t){var e;return this[0]&&(Ct(t)&&(t=t.call(this[0])),e=At(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(t){return Ct(t)?this.each(function(e){At(this).wrapInner(t.call(this,e))}):this.each(function(){var e=At(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=Ct(t);return this.each(function(n){At(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){At(this).replaceWith(this.childNodes)}),this}}),At.expr.pseudos.hidden=function(t){return!At.expr.pseudos.visible(t)},At.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},At.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(t){}};var Ze={0:200,1223:204},tn=At.ajaxSettings.xhr();Tt.cors=!!tn&&"withCredentials"in tn,Tt.ajax=tn=!!tn,At.ajaxTransport(function(t){var e,i;if(Tt.cors||tn&&!t.crossDomain)return{send:function(o,r){var s,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(s in t.xhrFields)a[s]=t.xhrFields[s];t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest");for(s in o)a.setRequestHeader(s,o[s]);e=function(t){return function(){e&&(e=i=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===t?a.abort():"error"===t?"number"!=typeof a.status?r(0,"error"):r(a.status,a.statusText):r(Ze[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=e(),i=a.onerror=a.ontimeout=e("error"),void 0!==a.onabort?a.onabort=i:a.onreadystatechange=function(){4===a.readyState&&n.setTimeout(function(){e&&i()})},e=e("abort");try{a.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}}),At.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),At.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return At.globalEval(t),t}}}),At.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),At.ajaxTransport("script",function(t){if(t.crossDomain||t.scriptAttrs){var e,n;return{send:function(i,o){e=At("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&o("error"===t.type?404:200,t.type)}),St.head.appendChild(e[0])},abort:function(){n&&n()}}}});var en=[],nn=/(=)\?(?=&|$)|\?\?/;At.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=en.pop()||At.expando+"_"+qe.guid++;return this[t]=!0,t}}),At.ajaxPrefilter("json jsonp",function(t,e,i){var o,r,s,a=t.jsonp!==!1&&(nn.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&nn.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return o=t.jsonpCallback=Ct(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(nn,"$1"+o):t.jsonp!==!1&&(t.url+=(Pe.test(t.url)?"&":"?")+t.jsonp+"="+o),t.converters["script json"]=function(){return s||At.error(o+" was not called"),s[0]},t.dataTypes[0]="json",r=n[o],n[o]=function(){s=arguments},i.always(function(){void 0===
}),n.prototype=t.extend({},t.fn.tooltip.Constructor.prototype),n.prototype.constructor=n,n.prototype.getDefaults=function(){return n.DEFAULTS},n.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),n=this.getContent();if(this.options.html){var i=typeof n;this.options.sanitize&&(e=this.sanitizeHtml(e),"string"===i&&(n=this.sanitizeHtml(n))),t.find(".popover-title").html(e),t.find(".popover-content").children().detach().end()["string"===i?"html":"append"](n)}else t.find(".popover-title").text(e),t.find(".popover-content").children().detach().end().text(n);t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},n.prototype.hasContent=function(){return this.getTitle()||this.getContent()},n.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},n.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var i=t.fn.popover;t.fn.popover=e,t.fn.popover.Constructor=n,t.fn.popover.noConflict=function(){return t.fn.popover=i,this}}(t)}).call(e,n(1))},function(t,e,n){(function(t){+function(t){"use strict";function e(n,i){this.$body=t(document.body),this.$scrollElement=t(t(n).is(document.body)?window:n),this.options=t.extend({},e.DEFAULTS,i),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",t.proxy(this.process,this)),this.refresh(),this.process()}function n(n){return this.each(function(){var i=t(this),o=i.data("bs.scrollspy"),r="object"==typeof n&&n;o||i.data("bs.scrollspy",o=new e(this,r)),"string"==typeof n&&o[n]()})}e.VERSION="3.4.1",e.DEFAULTS={offset:10},e.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},e.prototype.refresh=function(){var e=this,n="offset",i=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),t.isWindow(this.$scrollElement[0])||(n="position",i=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var e=t(this),o=e.data("target")||e.attr("href"),r=/^#./.test(o)&&t(o);return r&&r.length&&r.is(":visible")&&[[r[n]().top+i,o]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){e.offsets.push(this[0]),e.targets.push(this[1])})},e.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),i=this.options.offset+n-this.$scrollElement.height(),o=this.offsets,r=this.targets,s=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),e>=i)return s!=(t=r[r.length-1])&&this.activate(t);if(s&&e<o[0])return this.activeTarget=null,this.clear();for(t=o.length;t--;)s!=r[t]&&e>=o[t]&&(void 0===o[t+1]||e<o[t+1])&&this.activate(r[t])},e.prototype.activate=function(e){this.activeTarget=e,this.clear();var n=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',i=t(n).parents("li").addClass("active");i.parent(".dropdown-menu").length&&(i=i.closest("li.dropdown").addClass("active")),i.trigger("activate.bs.scrollspy")},e.prototype.clear=function(){t(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var i=t.fn.scrollspy;t.fn.scrollspy=n,t.fn.scrollspy.Constructor=e,t.fn.scrollspy.noConflict=function(){return t.fn.scrollspy=i,this},t(window).on("load.bs.scrollspy.data-api",function(){t('[data-spy="scroll"]').each(function(){var e=t(this);n.call(e,e.data())})})}(t)}).call(e,n(1))},function(t,e,n){(function(t){+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),o=i.data("bs.tab");o||i.data("bs.tab",o=new n(this)),"string"==typeof e&&o[e]()})}var n=function(e){this.element=t(e)};n.VERSION="3.4.1",n.TRANSITION_DURATION=150,n.prototype.show=function(){var e=this.element,n=e.closest("ul:not(.dropdown-menu)"),i=e.data("target");if(i||(i=e.attr("href"),i=i&&i.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var
object-assign
(c) Sindre Sorhus
@license MIT
*/
2021-11-29 01:24:51 +01:00
"use strict";function n(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function i(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;var i=Object.getOwnPropertyNames(e).map(function(t){return e[t]});if("0123456789"!==i.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(t){o[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(t){return!1}}var o=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;t.exports=i()?Object.assign:function(t,e){for(var i,a,l=n(t),c=1;c<arguments.length;c++){i=Object(arguments[c]);for(var u in i)r.call(i,u)&&(l[u]=i[u]);if(o){a=o(i);for(var f=0;f<a.length;f++)s.call(i,a[f])&&(l[a[f]]=i[a[f]])}}return l}},function(t,e,n){"use strict";function i(t){switch(t.arrayFormat){case"index":return function(e,n,i){return null===n?[r(e,t),"[",i,"]"].join(""):[r(e,t),"[",r(i,t),"]=",r(n,t)].join("")};case"bracket":return function(e,n){return null===n?r(e,t):[r(e,t),"[]=",r(n,t)].join("")};default:return function(e,n){return null===n?r(e,t):[r(e,t),"=",r(n,t)].join("")}}}function o(t){var e;switch(t.arrayFormat){case"index":return function(t,n,i){return e=/\[(\d*)\]$/.exec(t),t=t.replace(/\[\d*\]$/,""),e?(void 0===i[t]&&(i[t]={}),void(i[t][e[1]]=n)):void(i[t]=n)};case"bracket":return function(t,n,i){return e=/(\[\])$/.exec(t),t=t.replace(/\[\]$/,""),e?void 0===i[t]?void(i[t]=[n]):void(i[t]=[].concat(i[t],n)):void(i[t]=n)};default:return function(t,e,n){return void 0===n[t]?void(n[t]=e):void(n[t]=[].concat(n[t],e))}}}function r(t,e){return e.encode?e.strict?a(t):encodeURIComponent(t):t}function s(t){return Array.isArray(t)?t.sort():"object"==typeof t?s(Object.keys(t)).sort(function(t,e){return Number(t)-Number(e)}).map(function(e){return t[e]}):t}var a=n(17),l=n(15);e.extract=function(t){return t.split("?")[1]||""},e.parse=function(t,e){e=l({arrayFormat:"none"},e);var n=o(e),i=Object.create(null);return"string"!=typeof t?i:(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach(function(t){var e=t.replace(/\+/g," ").split("="),o=e.shift(),r=e.length>0?e.join("="):void 0;r=void 0===r?null:decodeURIComponent(r),n(decodeURIComponent(o),r,i)}),Object.keys(i).sort().reduce(function(t,e){var n=i[e];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?t[e]=s(n):t[e]=n,t},Object.create(null))):i},e.stringify=function(t,e){var n={encode:!0,strict:!0,arrayFormat:"none"};e=l(n,e);var o=i(e);return t?Object.keys(t).sort().map(function(n){var i=t[n];if(void 0===i)return"";if(null===i)return r(n,e);if(Array.isArray(i)){var s=[];return i.slice().forEach(function(t){void 0!==t&&s.push(o(n,t,s.length))}),s.join("&")}return r(n,e)+"="+r(i,e)}).filter(function(t){return t.length>0}).join("&"):""}},function(t,e){"use strict";t.exports=function(t){return encodeURIComponent(t).replace(/[!'()*]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}}]);
2015-12-19 14:52:17 +01:00
//# sourceMappingURL=app.js.map