(()=>{var __webpack_modules__={476:e=>{"use strict";e.exports=function(e,t){return{_init_:function(){return}}}(j1,window)},253:()=>{var e;var t=document.documentElement.lang;function n(t){window.clearTimeout(e);t.prev().toggleClass("stacked");t.toggle()}function r(){$(".result").each((function(e,r){var i;var a=$(r);var o=a.prev().find(".title");if(t=="en"){i=$('
View
')}else if(t=="de"){i=$('
Anzeige
')}else{i=$('
View
')}o.append(i);$(".btn-viewer").tooltip();i.on("click",(function(e){e.preventDefault();n(a)}))}))}$(r)},921:e=>{"use strict";var t={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:"normal",autoplay:true,timelineOffset:0};var n={duration:1e3,delay:0,endDelay:0,easing:"easeOutElastic(1, .5)",round:0};var r=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective","matrix","matrix3d"];var i={CSS:{},springs:{}};function a(e,t,n){return Math.min(Math.max(e,t),n)}function o(e,t){return e.indexOf(t)>-1}function s(e,t){return e.apply(null,t)}var l={arr:function(e){return Array.isArray(e)},obj:function(e){return o(Object.prototype.toString.call(e),"Object")},pth:function(e){return l.obj(e)&&e.hasOwnProperty("totalLength")},svg:function(e){return e instanceof SVGElement},inp:function(e){return e instanceof HTMLInputElement},dom:function(e){return e.nodeType||l.svg(e)},str:function(e){return typeof e==="string"},fnc:function(e){return typeof e==="function"},und:function(e){return typeof e==="undefined"},hex:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)},rgb:function(e){return/^rgb/.test(e)},hsl:function(e){return/^hsl/.test(e)},col:function(e){return l.hex(e)||l.rgb(e)||l.hsl(e)},key:function(e){return!t.hasOwnProperty(e)&&!n.hasOwnProperty(e)&&e!=="targets"&&e!=="keyframes"}};function c(e){var t=/\(([^)]+)\)/.exec(e);return t?t[1].split(",").map((function(e){return parseFloat(e)})):[]}function u(e,t){var n=c(e);var r=a(l.und(n[0])?1:n[0],.1,100);var o=a(l.und(n[1])?100:n[1],.1,100);var s=a(l.und(n[2])?10:n[2],.1,100);var u=a(l.und(n[3])?0:n[3],.1,100);var d=Math.sqrt(o/r);var p=s/(2*Math.sqrt(o*r));var f=p<1?d*Math.sqrt(1-p*p):0;var h=1;var g=p<1?(p*d+-u)/f:-u+d;function m(e){var n=t?t*e/1e3:e;if(p<1){n=Math.exp(-n*p*d)*(h*Math.cos(f*n)+g*Math.sin(f*n))}else{n=(h+g*n)*Math.exp(-n*d)}if(e===0||e===1){return e}return 1-n}function v(){var t=i.springs[e];if(t){return t}var n=1/6;var r=0;var a=0;while(true){r+=n;if(m(r)===1){a++;if(a>=16){break}}else{a=0}}var o=r*n*1e3;i.springs[e]=o;return o}return t?m:v}function d(e){if(e===void 0)e=10;return function(t){return Math.ceil(a(t,1e-6,1)*e)*(1/e)}}var p=function(){var e=11;var t=1/(e-1);function n(e,t){return 1-3*t+3*e}function r(e,t){return 3*t-6*e}function i(e){return 3*e}function a(e,t,a){return((n(t,a)*e+r(t,a))*e+i(t))*e}function o(e,t,a){return 3*n(t,a)*e*e+2*r(t,a)*e+i(t)}function s(e,t,n,r,i){var o,s,l=0;do{s=t+(n-t)/2;o=a(s,r,i)-e;if(o>0){n=s}else{t=s}}while(Math.abs(o)>1e-7&&++l<10);return s}function l(e,t,n,r){for(var i=0;i<4;++i){var s=o(t,n,r);if(s===0){return t}var l=a(t,n,r)-e;t-=l/s}return t}function c(n,r,i,c){if(!(0<=n&&n<=1&&0<=i&&i<=1)){return}var u=new Float32Array(e);if(n!==r||i!==c){for(var d=0;d=.001){return l(r,f,n,i)}else if(h===0){return f}else{return s(r,a,a+t,n,i)}}return function(e){if(n===r&&i===c){return e}if(e===0||e===1){return e}return a(p(e),r,c)}}return c}();var f=function(){var e={linear:function(){return function(e){return e}}};var t={Sine:function(){return function(e){return 1-Math.cos(e*Math.PI/2)}},Circ:function(){return function(e){return 1-Math.sqrt(1-e*e)}},Back:function(){return function(e){return e*e*(3*e-2)}},Bounce:function(){return function(e){var t,n=4;while(e<((t=Math.pow(2,--n))-1)/11){}return 1/Math.pow(4,3-n)-7.5625*Math.pow((t*3-2)/22-e,2)}},Elastic:function(e,t){if(e===void 0)e=1;if(t===void 0)t=.5;var n=a(e,1,10);var r=a(t,.1,2);return function(e){return e===0||e===1?e:-n*Math.pow(2,10*(e-1))*Math.sin((e-1-r/(Math.PI*2)*Math.asin(1/n))*(Math.PI*2)/r)}}};var n=["Quad","Cubic","Quart","Quint","Expo"];n.forEach((function(e,n){t[e]=function(){return function(e){return Math.pow(e,n+2)}}}));Object.keys(t).forEach((function(n){var r=t[n];e["easeIn"+n]=r;e["easeOut"+n]=function(e,t){return function(n){return 1-r(e,t)(1-n)}};e["easeInOut"+n]=function(e,t){return function(n){return n<.5?r(e,t)(n*2)/2:1-r(e,t)(n*-2+2)/2}}}));return e}();function h(e,t){if(l.fnc(e)){return e}var n=e.split("(")[0];var r=f[n];var i=c(e);switch(n){case"spring":return u(e,t);case"cubicBezier":return s(p,i);case"steps":return s(d,i);default:return s(r,i)}}function g(e){try{var t=document.querySelectorAll(e);return t}catch(e){return}}function m(e,t){var n=e.length;var r=arguments.length>=2?arguments[1]:void 0;var i=[];for(var a=0;a1){n-=1}if(n<1/6){return e+(t-e)*6*n}if(n<1/2){return t}if(n<2/3){return e+(t-e)*(2/3-n)*6}return e}var s,l,c;if(r==0){s=l=c=i}else{var u=i<.5?i*(1+r):i+r-i*r;var d=2*i-u;s=o(d,u,n+1/3);l=o(d,u,n);c=o(d,u,n-1/3)}return"rgba("+s*255+","+l*255+","+c*255+","+a+")"}function A(e){if(l.rgb(e)){return E(e)}if(l.hex(e)){return L(e)}if(l.hsl(e)){return S(e)}}function T(e){var t=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(e);if(t){return t[1]}}function k(e){if(o(e,"translate")||e==="perspective"){return"px"}if(o(e,"rotate")||o(e,"skew")){return"deg"}}function M(e,t){if(!l.fnc(e)){return e}return e(t.target,t.id,t.total)}function I(e,t){return e.getAttribute(t)}function N(e,t,n){var r=T(t);if(b([n,"deg","rad","turn"],r)){return t}var a=i.CSS[t+n];if(!l.und(a)){return a}var o=100;var s=document.createElement(e.tagName);var c=e.parentNode&&e.parentNode!==document?e.parentNode:document.body;c.appendChild(s);s.style.position="absolute";s.style.width=o+n;var u=o/s.offsetWidth;c.removeChild(s);var d=u*parseFloat(t);i.CSS[t+n]=d;return d}function _(e,t,n){if(t in e.style){var r=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();var i=e.style[t]||getComputedStyle(e).getPropertyValue(r)||"0";return n?N(e,i,n):i}}function O(e,t){if(l.dom(e)&&!l.inp(e)&&(I(e,t)||l.svg(e)&&e[t])){return"attribute"}if(l.dom(e)&&b(r,t)){return"transform"}if(l.dom(e)&&t!=="transform"&&_(e,t)){return"css"}if(e[t]!=null){return"object"}}function D(e){if(!l.dom(e)){return}var t=e.style.transform||"";var n=/(\w+)\(([^)]*)\)/g;var r=new Map;var i;while(i=n.exec(t)){r.set(i[1],i[2])}return r}function F(e,t,n,r){var i=o(t,"scale")?1:0+k(t);var a=D(e).get(t)||i;if(n){n.transforms.list.set(t,a);n.transforms["last"]=t}return r?N(e,a,r):a}function R(e,t,n,r){switch(O(e,t)){case"transform":return F(e,t,r,n);case"css":return _(e,t,n);case"attribute":return I(e,t);default:return e[t]||0}}function j(e,t){var n=/^(\*=|\+=|-=)/.exec(e);if(!n){return e}var r=T(e)||0;var i=parseFloat(t);var a=parseFloat(e.replace(n[0],""));switch(n[0][0]){case"+":return i+a+r;case"-":return i-a+r;case"*":return i*a+r}}function P(e,t){if(l.col(e)){return A(e)}if(/\s/g.test(e)){return e}var n=T(e);var r=n?e.substr(0,e.length-n.length):e;if(t){return r+t}return r}function B(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function $(e){return Math.PI*2*I(e,"r")}function W(e){return I(e,"width")*2+I(e,"height")*2}function H(e){return B({x:I(e,"x1"),y:I(e,"y1")},{x:I(e,"x2"),y:I(e,"y2")})}function U(e){var t=e.points;var n=0;var r;for(var i=0;i0){n+=B(r,a)}r=a}return n}function G(e){var t=e.points;return U(e)+B(t.getItem(t.numberOfItems-1),t.getItem(0))}function q(e){if(e.getTotalLength){return e.getTotalLength()}switch(e.tagName.toLowerCase()){case"circle":return $(e);case"rect":return W(e);case"line":return H(e);case"polyline":return U(e);case"polygon":return G(e)}}function V(e){var t=q(e);e.setAttribute("stroke-dasharray",t);return t}function K(e){var t=e.parentNode;while(l.svg(t)){if(!l.svg(t.parentNode)){break}t=t.parentNode}return t}function z(e,t){var n=t||{};var r=n.el||K(e);var i=r.getBoundingClientRect();var a=I(r,"viewBox");var o=i.width;var s=i.height;var l=n.viewBox||(a?a.split(" "):[0,0,o,s]);return{el:r,viewBox:l,x:l[0]/1,y:l[1]/1,w:o/l[2],h:s/l[3]}}function X(e,t){var n=l.str(e)?g(e)[0]:e;var r=t||100;return function(e){return{property:e,el:n,svg:z(n),totalLength:q(n)*(r/100)}}}function Y(e,t){function n(n){if(n===void 0)n=0;var r=t+n>=1?t+n:0;return e.el.getPointAtLength(r)}var r=z(e.el,e.svg);var i=n();var a=n(-1);var o=n(+1);switch(e.property){case"x":return(i.x-r.x)*r.w;case"y":return(i.y-r.y)*r.h;case"angle":return Math.atan2(o.y-a.y,o.x-a.x)*180/Math.PI}}function J(e,t){var n=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g;var r=P(l.pth(e)?e.totalLength:e,t)+"";return{original:r,numbers:r.match(n)?r.match(n).map(Number):[0],strings:l.str(e)||t?r.split(n):[]}}function Q(e){var t=e?v(l.arr(e)?e.map(y):y(e)):[];return m(t,(function(e,t,n){return n.indexOf(e)===t}))}function Z(e){var t=Q(e);return t.map((function(e,n){return{target:e,id:n,total:t.length,transforms:{list:D(e)}}}))}function ee(e,t){var n=w(t);if(/^spring/.test(n.easing)){n.duration=u(n.easing)}if(l.arr(e)){var r=e.length;var i=r===2&&!l.obj(e[0]);if(!i){if(!l.fnc(t.duration)){n.duration=t.duration/r}}else{e={value:e}}}var a=l.arr(e)?e:[e];return a.map((function(e,n){var r=l.obj(e)&&!l.pth(e)?e:{value:e};if(l.und(r.delay)){r.delay=!n?t.delay:0}if(l.und(r.endDelay)){r.endDelay=n===a.length-1?t.endDelay:0}return r})).map((function(e){return x(e,n)}))}function te(e){var t=m(v(e.map((function(e){return Object.keys(e)}))),(function(e){return l.key(e)})).reduce((function(e,t){if(e.indexOf(t)<0){e.push(t)}return e}),[]);var n={};var r=function(r){var i=t[r];n[i]=e.map((function(e){var t={};for(var n in e){if(l.key(n)){if(n==i){t.value=e[n]}}else{t[n]=e[n]}}return t}))};for(var i=0;i-1){pe.splice(a,1);n=pe.length}}r++}e()}else{he=cancelAnimationFrame(he)}}return e}();function me(){if(document.hidden){pe.forEach((function(e){return e.pause()}));fe=pe.slice(0);ve.running=pe=[]}else{fe.forEach((function(e){return e.play()}))}}if(typeof document!=="undefined"){document.addEventListener("visibilitychange",me)}function ve(e){if(e===void 0)e={};var t=0,n=0,r=0;var i,o=0;var s=null;function l(e){var t=window.Promise&&new Promise((function(e){return s=e}));e.finished=t;return t}var c=de(e);var u=l(c);function d(){var e=c.direction;if(e!=="alternate"){c.direction=e!=="normal"?"normal":"reverse"}c.reversed=!c.reversed;i.forEach((function(e){return e.reversed=c.reversed}))}function p(e){return c.reversed?c.duration-e:e}function f(){t=0;n=p(c.currentTime)*(1/ve.speed)}function h(e,t){if(t){t.seek(e-t.timelineOffset)}}function g(e){if(!c.reversePlayback){for(var t=0;t2)){w=Math.round(w*h)/h}}g.push(w)}var E=f.length;if(!E){y=g[0]}else{y=f[0];for(var L=0;L0){c.began=true;y("begin")}if(!c.loopBegan&&c.currentTime>0){c.loopBegan=true;y("loopBegin")}if(m<=f&&c.currentTime!==0){v(0)}if(m>=h&&c.currentTime!==o||!o){v(o)}if(m>f&&m=o){n=0;b();if(!c.remaining){c.paused=true;if(!c.completed){c.completed=true;y("loopComplete");y("complete");if(!c.passThrough&&"Promise"in window){s();u=l(c)}}}else{t=r;y("loopComplete");c.loopBegan=false;if(c.direction==="alternate"){d()}}}}c.reset=function(){var e=c.direction;c.passThrough=false;c.currentTime=0;c.progress=0;c.paused=true;c.began=false;c.loopBegan=false;c.changeBegan=false;c.completed=false;c.changeCompleted=false;c.reversePlayback=false;c.reversed=e==="reverse";c.remaining=c.loop;i=c.children;o=i.length;for(var t=o;t--;){c.children[t].reset()}if(c.reversed&&c.loop!==true||e==="alternate"&&c.loop===1){c.remaining++}v(c.reversed?c.duration:0)};c.set=function(e,t){oe(e,t);return c};c.tick=function(e){r=e;if(!t){t=r}w((r+(n-t))*ve.speed)};c.seek=function(e){w(p(e))};c.pause=function(){c.paused=true;f()};c.play=function(){if(!c.paused){return}if(c.completed){c.reset()}c.paused=false;pe.push(c);f();if(!he){ge()}};c.reverse=function(){d();c.completed=c.reversed?false:true;f()};c.restart=function(){c.reset();c.play()};c.reset();if(c.autoplay){c.play()}return c}function ye(e,t){for(var n=t.length;n--;){if(b(e,t[n].animatable.target)){t.splice(n,1)}}}function be(e){var t=Q(e);for(var n=pe.length;n--;){var r=pe[n];var i=r.animations;var a=r.children;ye(t,i);for(var o=a.length;o--;){var s=a[o];var l=s.animations;ye(t,l);if(!l.length&&!s.children.length){a.splice(o,1)}}if(!i.length&&!a.length){r.pause()}}}function we(e,t){if(t===void 0)t={};var n=t.direction||"normal";var r=t.easing?h(t.easing):null;var i=t.grid;var a=t.axis;var o=t.from||0;var s=o==="first";var c=o==="center";var u=o==="last";var d=l.arr(e);var p=d?parseFloat(e[0]):parseFloat(e);var f=d?parseFloat(e[1]):0;var g=T(d?e[1]:e)||0;var m=t.start||0+(d?p:0);var v=[];var y=0;return function(e,t,l){if(s){o=0}if(c){o=(l-1)/2}if(u){o=l-1}if(!v.length){for(var h=0;h-1){pe.splice(a,1)}function s(e){e.passThrough=true}for(var c=0;c{ /*! * J1 Asciidoctor * Copyright (C) 2023 Juergen Adams * Licensed under MIT License. */ e.exports=function e(t){return{init:function(e){var t=e;var n=log4javascript.getLogger("j1.core.asciidoctor");var r={dummyOption:false};var e=$.extend(r,t);logText="J1 Asciidoctor is being initialized";n.info(logText);this.callouts()},callouts:function(e){var t="";if($(".colist > table > colgroup").length==0){t+="\x3c!-- [INFO ] [j1.core.asciidoctor ] [ place a colgroup dynamically ] --\x3e"+"\n";t+=' ';$(".colist > table").prepend(t)}},conums:function(e){var t=setInterval((function(){if(j1.getState()=="finished"){if($(".colist > table > colgroup").length==0){var e="";e+=' ';$(".colist > table").prepend(e);clearInterval(t)}}}))}}}(jQuery)},602:e=>{"use strict"; /*! * J1 Core * Copyright (C) 2023 Juergen Adams * Licensed under MIT License. */e.exports=function(e){var t=$.extend({foo:"foo_option",bar:"bar_option"},e);var n="loaded";return{_init_:function(e){return},getState:function(){return n},isMobile:function(e){var t=false;(function(e){if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm|cell|chtm|cldc|cmd|co(mp|nd)|craw|da(it|ll|ng)|dbte|dcs|devi|dica|dmob|do(c|p)o|ds(12|d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(|_)|g1 u|g560|gene|gf5|gmo|go(\.w|od)|gr(ad|un)|haie|hcit|hd(m|p|t)|hei|hi(pt|ta)|hp( i|ip)|hsc|ht(c(| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i(20|go|ma)|i230|iac( ||\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|[a-w])|libw|lynx|m1w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|mcr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|([1-8]|c))|phil|pire|pl(ay|uc)|pn2|po(ck|rt|se)|prox|psio|ptg|qaa|qc(07|12|21|32|60|[2-7]|i)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h|oo|p)|sdk\/|se(c(|0|1)|47|mc|nd|ri)|sgh|shar|sie(|m)|sk0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h|v|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl|tdg|tel(i|m)|tim|tmo|to(pl|sh)|ts(70|m|m3|m5)|tx9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas|your|zeto|zte/i.test(e.substr(0,4)))t=true})(navigator.userAgent||navigator.vendor||window.opera);return t},bsFormClearButton:function(){$(":input").on("keydown focus change mouseover",(function(){if($(this).val().length>0){$(this).nextAll(".form-clear").removeClass("d-none")}})).on("keydown keyup blur",(function(){if($(this).val().length===0){$(this).nextAll(".form-clear").addClass("d-none")}}))},createDropCap:function(){$(".paragraph.dropcap").children("p").addClass("dropcap");if($("p.dropcap").length){$("p.dropcap").each((function(){var e=$(this);var t=$.trim(e.text());var n=t[0];var r=''+n+"";e.html(t.replace(n,r))}))}}}}()},610:()=>{(function(e){function t(){var e=document.createElement("p");var t=false;if(e.addEventListener){e.addEventListener("DOMAttrModified",(function(){t=true}),false)}else if(e.attachEvent){e.attachEvent("onDOMAttrModified",(function(){t=true}))}else{return false}e.setAttribute("id","target");return t}function n(t,n){if(t){var r=this.data("attr-old-value");if(n.attributeName.indexOf("style")>=0){if(!r["style"])r["style"]={};var i=n.attributeName.split(".");n.attributeName=i[0];n.oldValue=r["style"][i[1]];n.newValue=i[1]+":"+this.prop("style")[e.camelCase(i[1])];r["style"][i[1]]=n.newValue}else{n.oldValue=r[n.attributeName];n.newValue=this.attr(n.attributeName);r[n.attributeName]=n.newValue}this.data("attr-old-value",r)}}var r=window.MutationObserver||window.WebKitMutationObserver;e.fn.attrchange=function(i,a){if(typeof i=="object"){var o={trackValues:false,callback:e.noop};if(typeof i==="function"){o.callback=i}else{e.extend(o,i)}if(o.trackValues){this.each((function(t,n){var r={};for(var i,t=0,a=n.attributes,o=a.length;t{e.exports=function e(t){var n={};var r;var i;var a;var o=$.extend({foo:"bar",bar:"foo"},t);return{init:function(e,t){i=log4javascript.getLogger("j1.core.navigator");a="core is being initialized";i.info(a);$("body").wrapInner('
');this.manageDropdownMenu(e,t);this.navbarSticky();this.eventHandler(e);n.type="command";n.action="core_initialized";n.text="navigator core initialized";j1.sendMessage("j1.core.navigator","j1.adapter.navigator",n);return true},eventHandler:function(e){var t=e;var n=log4javascript.getLogger("j1.core.navigator.eventHandler");var r=$("nav.navbar.navigator");var i=300;var a;var o;var s;var l;var c;var u;var d;$('a[href="#"]').click((function(e){a=document.querySelector('[id="'+decodeURI(c).split("#").join("")+'"]')?true:false;c=e.target.hash?e.target.hash:false;s=e.target.className?e.target.className:"";l=s.includes("nav-");if(l||!a){n.debug("\n"+'click event on href "#" detected: prevent default action');e.preventDefault?e.preventDefault():e.returnValue=false}}));$(".badge").on("click",(function(e){c=e.target.hash?e.target.hash:false;u=100;if(c){n.debug("\n"+"click event on badge detected: "+c);$("html, body").animate({scrollTop:$(c).offset().top-u},i);event.stopPropagation()}}));$(".badge-tag").on("click",(function(e){c=e.target.hash?e.target.hash:false;u=j1.getScrollOffset();if(c){n.debug("\n"+"click event on badge-tag detected: "+c);$("html, body").animate({scrollTop:$(c).offset().top+u},i);event.stopPropagation()}}));var p=r.hasClass("navbar-sticky");if(p){r.wrap("
")}if(r.hasClass("brand-center")){var f=new Array;var h=$("nav.brand-center");var g=h.find("ul.navbar-nav");h.find("ul.navbar-nav > li").each((function(){f.push($(this).html())}));var m=f.splice(0,Math.round(f.length/2));var v=f;var y="";var b=function(e){y="";for(var t=0;t"+e[t]+""}};b(m);g.html(y);h.find("ul.nav").first().addClass("navbar-left");b(v);g.after('').next().html(y);h.find("ul.nav").last().addClass("navbar-right");h.find("ul.nav.navbar-left").wrap("
");h.find("ul.nav.navbar-right").wrap("
");h.find("ul.navbar-nav > li").each((function(){var e=$("ul.dropdown-menu",this),t=$("ul.megamenu-content",this);e.closest("li").addClass("dropdown");t.closest("li").addClass("megamenu-fw")}))}if(r.find("ul.nav").hasClass("navbar-center")){r.addClass("menu-center")}if(r.hasClass("navbar-full")){$("nav.navbar.navigator").find("ul.nav").wrap("
");$(".wrap-full-menu").wrap("");$("ul.nav.navbar-nav").prepend("
  • ")}else if(r.hasClass("navbar-mobile")){r.removeClass("no-full")}else{r.addClass("no-full")}if(r.hasClass("no-background")){$(window).on("scroll",(function(){var e=$("nav.navbar").outerHeight();var t=$(window).scrollTop();if(t>e){$(".navbar-fixed").removeClass("no-background")}else{$(".navbar-fixed").addClass("no-background")}}))}if(r.hasClass("navbar-transparent")){$(window).on("scroll",(function(){var e=$("nav.navbar").outerHeight();var t=$(window).scrollTop();if(t>e){$(".navbar-fixed").removeClass("navbar-transparent");$(".navbar-fixed").addClass("navbar-scrolled")}else{$(".navbar-fixed").removeClass("navbar-scrolled");$(".navbar-fixed").addClass("navbar-transparent")}}))}$(".quicklink-nav").each((function(){if($("li.quicksearch")){n.debug("register OPEN event for QuickSearch");$("li.quicksearch > a",this).on("click",(function(e){n.debug("manage search action OPEN");$("#searchModal").modal("show")}))}if($("li.translate")){n.debug("register SHOW event for J1 Translator");$("li.translate > a",this).on("click",(function(e){j1.translator.showDialog()}))}if($("li.nbi-notebooks")){n.debug("register SHOW event for J1 NBI");$("li.nbi-notebooks > a",this).on("click",(function(e){j1.adapter.nbinteract.showDialog()}))}if($("li.cookie-consent")){n.debug("register SHOW event for J1 CookieConsent");$("li.cookie-consent > a",this).on("click",(function(e){j1.cookieConsent.showDialog()}))}}))},manageDropdownMenu:function(e,t){var n=e;var r=t;var i=$("nav.navbar.navigator");var a=window.matchMedia("(orientation: landscape)").matches?"landscape":"portrait";var o=$(window).width();var s=$("nav").width();var l=i.find("ul.nav").data("in");var c=i.find("ul.nav").data("out");var u="#"+r.xhr_container_id+".collapse";var d="#navigator_nav_quicklinks";var p=r.delay_menu_open;var f;var h;var g;var m;var v=992;var y=768;var b=576;var w={min:"0em",max:"40em"};var C={min:"40.063em",max:"64em"};var x={min:"64.063em",max:"90em"};var E={min:"90.063em",max:"120em"};var L={min:"120.063em"};if(n.nav_bar.media_breakpoint==="lg"){f=v}else if(n.nav_bar.media_breakpoint==="md"){f=y}else if(n.nav_bar.media_breakpoint==="sm"){f=b}else{f=v}if(o<=f){$(u).addClass("navbar-collapse");$(u).removeClass("show");$(d).addClass("show")}else if(o>f){$("#navigator_nav_quicklinks").removeClass("show");$("#desktop_menu").show();$(".dropdown-menu > li").on("mouseenter",(function(){if($("body").hasClass("stop-scrolling")){return false}else{$("body").addClass("stop-scrolling")}}));$(".dropdown-menu > li").on("mouseleave",(function(){if($("body").hasClass("stop-scrolling")){$("body").removeClass("stop-scrolling")}}));$(".dropdown-menu > li").hover((function(){var e=$(this);var t=e.find("ul");if(t.length==1){t.addClass("scrollable-menu")}}));$(u).removeClass("navbar-collapse");$(u).addClass("show");$("nav.navbar.navigator ul.nav").each((function(){$("a.dropdown-toggle",this).off("click");$(".megamenu-fw",this).each((function(){$(".title",this).off("click");$("a.dropdown-toggle",this).off("click");$(".content").removeClass("animate__animated ")}));$(".dropdown-menu",this).addClass("animate__animated ");$("li.dropdown",this).on("mouseenter",(function(e){h=$(".dropdown-menu",this).eq(0);g=$(this);h.removeClass(c);h.removeClass("open");g.addClass("open");m=window.setTimeout((function(){if(g.hasClass("open")){h.stop().fadeIn().addClass(l);h.addClass("open");g.addClass("open")}}),p);return true}));$("li.dropdown",this).on("mouseleave",(function(e){h=$(".dropdown-menu",this).eq(0);g=$(this);window.clearTimeout(m);h.removeClass(l);h.addClass(c);h.fadeOut("slow");g.removeClass("open");return true}))}))}if(i.hasClass("navbar-full")){var S=$(window).height(),A=$(window).width();$(".nav-full").css("height",S+"px");$(".wrap-full-menu").css("height",S+"px");$(".wrap-full-menu").css("width",A+"px");$(".navbar-collapse").addClass("animate__animated ");$(".navbar-toggle").each((function(){var e=$(this).data("target");$(this).off("click");$(this).on("click",(function(t){t.preventDefault();$(e).removeClass(c);$(e).addClass("in");$(e).addClass(l)}));$("li.close-full-menu").on("click",(function(t){t.preventDefault();$(e).addClass(c);setTimeout((function(){$(e).removeClass("in");$(e).removeClass(l)}),500)}))}))}},navbarSticky:function(){var e=$("nav.navbar.navigator"),t=e.hasClass("navbar-sticky");if(t){var n=e.height();$(".wrap-sticky").height(n);var r=$(".wrap-sticky").offset().top;$(window).on("scroll",(function(){var t=$(window).scrollTop();if(t>r){e.addClass("sticked")}else{e.removeClass("sticked")}}))}},updateSidebar:function(e){var t=log4javascript.getLogger("j1.core.navigator.updateSidebar");var n;n=JSON.stringify(e);a="user state data: "+n;t.debug(a);j1.resolveMacros(e);j1.updateMacros(e);return true}}}(jQuery)},814:e=>{"use strict";e.exports=function e(t){var n=$.extend({foo:"foo_option",bar:"bar_option"},t);function r(e){return e.slice(0,e.lastIndexOf("#"))}function i(){return"scrollBehavior"in document.documentElement.style}return{scroll:function(e,t){var n;var r;n=log4javascript.getLogger("j1.core.scrollSmooth");r="\n"+"run module scrollSmooth";n.debug(r);var i=t.duration;var a=t.offset;this.scrollTo(e,{duration:i,offset:a,callback:false})},scrollTo:function(e,t){var n=window.pageYOffset;var r={duration:t.duration,offset:t.offset||0,callback:t.callback,easing:t.easing||d};var i=document.querySelector('[id="'+decodeURI(e).split("#").join("")+'"]');var a=typeof e==="string"?r.offset+(e?i&&i.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):e;var o=typeof r.duration==="function"?r.duration(a):r.duration;var s;var l;requestAnimationFrame((function(e){s=e;c(e)}));function c(e){l=e-s;window.scrollTo(0,r.easing(l,n,a,o));if(l{e.exports=function(e){var t=[].forEach;var n=[].some;var r=document.body;var i=true;var a=" ";function o(e,t){var n=t.appendChild(l(e));if(e.children.length){var r=c(e.isCollapsed);e.children.forEach((function(e){o(e,r)}));n.appendChild(r)}}function s(e,t){var n=false;var r=c(n);t.forEach((function(e){o(e,r)}));var i=document.querySelector(e);if(i===null){return}if(i.firstChild){i.removeChild(i.firstChild)}if(t.length===0){return i}return i.appendChild(r)}function l(n){var r=document.createElement("li");var i=document.createElement("a");if(e.listItemClass){r.setAttribute("class",e.listItemClass)}if(e.onClick){i.onclick=e.onClick}if(e.includeHtml&&n.childNodes.length){t.call(n.childNodes,(function(e){i.appendChild(e.cloneNode(true))}))}else{i.textContent=n.textContent}i.setAttribute("href",e.basePath+"#"+n.id);i.setAttribute("class",e.linkClass+a+"node-name--"+n.nodeName+a+e.extraLinkClasses);r.appendChild(i);return r}function c(t){var n=e.orderedList?"ol":"ul";var r=document.createElement(n);var i=e.listClass+a+e.extraListClasses;if(t){i+=a+e.collapsibleClass;i+=a+e.isCollapsedClass}r.setAttribute("class",i);return r}function u(){if(e.scrollContainer&&document.querySelector(e.scrollContainer)){var t;t=document.querySelector(e.scrollContainer).scrollTop}else{t=document.documentElement.scrollTop||r.scrollTop}var n=document.querySelector(e.positionFixedSelector);if(e.fixedSidebarOffset==="auto"){e.fixedSidebarOffset=document.querySelector(e.tocSelector).offsetTop}if(t>e.fixedSidebarOffset){if(n.className.indexOf(e.positionFixedClass)===-1){n.className+=a+e.positionFixedClass}}else{n.className=n.className.split(a+e.positionFixedClass).join("")}}function d(t){var n=0;if(t!==document.querySelector(e.contentSelector&&t!=null)){n=t.offsetTop;if(e.hasInnerContainers){n+=d(t.offsetParent)}}return n}function p(o){if(e.scrollContainer&&document.querySelector(e.scrollContainer)){var s;s=document.querySelector(e.scrollContainer).scrollTop}else{s=document.documentElement.scrollTop||r.scrollTop}if(e.positionFixedSelector){u()}var l=o;var c;var p;if(i&&document.querySelector(e.tocSelector)!==null&&l.length>0){n.call(l,(function(t,n){p=d(t);if(p>s+e.headingsOffset+10){c=l[n];return true}else if(n===l.length-1){c=l[l.length-1];return true}}));var h=document.querySelector(e.tocSelector).querySelectorAll("."+e.linkClass);t.call(h,(function(t){t.className=t.className.split(a+e.activeLinkClass).join("")}));var g=document.querySelector(e.tocSelector).querySelectorAll("."+e.listItemClass);t.call(g,(function(t){t.className=t.className.split(a+e.activeListItemClass).join("")}));var m=document.querySelector(e.tocSelector).querySelector("."+e.linkClass+".node-name--"+c.nodeName+'[href="'+e.basePath+"#"+c.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/@])/g,"\\$1")+'"]');if(m.className.indexOf(e.activeLinkClass)===-1){m.className+=a+e.activeLinkClass}var v=m.parentNode;if(v&&v.className.indexOf(e.activeListItemClass)===-1){v.className+=a+e.activeListItemClass}var y=document.querySelector(e.tocSelector).querySelectorAll("."+e.listClass+"."+e.collapsibleClass);t.call(y,(function(t){if(t.className.indexOf(e.isCollapsedClass)===-1){t.className+=a+e.isCollapsedClass}}));if(m.nextSibling&&m.nextSibling.className.indexOf(e.isCollapsedClass)!==-1){m.nextSibling.className=m.nextSibling.className.split(a+e.isCollapsedClass).join("")}f(m.parentNode.parentNode)}}function f(t){if(t.className.indexOf(e.collapsibleClass)!==-1&&t.className.indexOf(e.isCollapsedClass)!==-1){t.className=t.className.split(a+e.isCollapsedClass).join("");return f(t.parentNode.parentNode)}return t}function h(t){var n=t.target||t.srcElement;if(typeof n.className!=="string"||n.className.indexOf(e.linkClass)===-1){return}i=false}function g(){i=true}return{enableTocAnimation:g,disableTocAnimation:h,render:s,updateToc:p}}},923:e=>{e.exports={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h1, h2, h3",ignoreSelector:".js-toc-ignore",hasInnerContainers:false,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:0,scrollSmooth:true,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(e){},headingsOffset:1,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:false,onClick:function(e){},orderedList:true,scrollContainer:null,skipRendering:false,headingLabelCallback:false,ignoreHiddenElements:false,headingObjectCallback:null,basePath:"",disableTocScrollSync:false}},407:e=>{e.exports=function e(t){var n=[].reduce;function r(e){return e[e.length-1]}function i(e){return+e.nodeName.split("H").join("")}function a(e){if(!(e instanceof window.HTMLElement))return e;if(t.ignoreHiddenElements&&(!e.offsetHeight||!e.offsetParent)){return null}var n={id:e.id,children:[],nodeName:e.nodeName,headingLevel:i(e),textContent:t.headingLabelCallback?String(t.headingLabelCallback(e.textContent)):e.textContent.trim()};if(t.includeHtml){n.childNodes=e.childNodes}if(t.headingObjectCallback){return t.headingObjectCallback(n,e)}return n}function o(e,n){var i=a(e);var o=i.headingLevel;var s=n;var l=r(s);var c=l?l.headingLevel:0;var u=o-c;while(u>0){l=r(s);if(l&&l.children!==undefined){s=l.children}u--}if(o>=t.collapseDepth){i.isCollapsed=true}s.push(i);return s}function s(e,n){var r=n;if(t.ignoreSelector){r=n.split(",").map((function e(n){return n.trim()+":not("+t.ignoreSelector+")"}))}try{return document.querySelector(e).querySelectorAll(r)}catch(t){console.warn("Element not found: "+e);return null}}function l(e){return n.call(e,(function e(t,n){var r=a(n);if(r){o(r,t.nest)}return t}),{nest:[]})}return{nestHeadingsArray:l,selectHeadings:s}}},968:(e,t)=>{t.initSmoothScrolling=n;function n(e){if(l()){}var t=e.duration;var n=e.offset;var i=location.hash?s(location.href):location.href;a();function a(){document.body.addEventListener("click",i,false);function i(i){if(!o(i.target)||i.target.className.indexOf("no-smooth-scroll")>-1||i.target.href.charAt(i.target.href.length-2)==="#"&&i.target.href.charAt(i.target.href.length-1)==="!"||i.target.className.indexOf(e.linkClass)===-1){return}r(i.target.hash,{duration:t,offset:n,callback:false})}}function o(e){return e.tagName.toLowerCase()==="a"&&(e.hash.length>0||e.href.charAt(e.href.length-1)==="#")&&(s(e.href)===i||s(e.href)+"#"===i)}function s(e){return e.slice(0,e.lastIndexOf("#"))}function l(){return"scrollBehavior"in document.documentElement.style}function c(e){var t=document.getElementById(e.substring(1));if(t){if(!/^(?:a|select|input|button|textarea)$/i.test(t.tagName)){t.tabIndex=-1}t.focus()}}}function r(e,t){var n=window.pageYOffset;var r={duration:t.duration,offset:t.offset||0,callback:t.callback,easing:t.easing||d};var i=document.querySelector('[id="'+decodeURI(e).split("#").join("")+'"]');var a=typeof e==="string"?r.offset+(e?i&&i.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):e;var o=typeof r.duration==="function"?r.duration(a):r.duration;var s;var l;requestAnimationFrame((function(e){s=e;c(e)}));function c(e){l=e-s;window.scrollTo(0,r.easing(l,n,a,o));if(l{e.exports=function e(t){var n=document.querySelector(t.tocSelector);if(n&&n.scrollHeight>n.clientHeight){var r=n.querySelector("."+t.activeListItemClass);if(r){n.scrollTop=r.offsetTop}}}},808:(e,t,n)=>{var r,i; /*! * JavaScript Cookie v2.2.1 * https://github.com/js-cookie/js-cookie * * Copyright 2006, 2015 Klaus Hartl & Fagner Brack * Released under the MIT license */(function(a){var o;if(true){!(r=a,i=typeof r==="function"?r.call(t,n,t,e):r,i!==undefined&&(e.exports=i));o=true}if(true){e.exports=a();o=true}if(!o){var s=window.Cookies;var l=window.Cookies=a();l.noConflict=function(){window.Cookies=s;return l}}})((function(){function e(){var e=0;var t={};for(;e{"use strict";var r=n(990);var i=n(150);function a(e,t){return function(){throw new Error("Function yaml."+e+" is removed in js-yaml 4. "+"Use yaml."+t+" instead, which is now safe by default.")}}e.exports.Type=n(364);e.exports.Schema=n(657);e.exports.FAILSAFE_SCHEMA=n(795);e.exports.JSON_SCHEMA=n(966);e.exports.CORE_SCHEMA=n(471);e.exports.DEFAULT_SCHEMA=n(601);e.exports.load=r.load;e.exports.loadAll=r.loadAll;e.exports.dump=i.dump;e.exports.YAMLException=n(425);e.exports.types={binary:n(531),float:n(215),map:n(945),null:n(151),pairs:n(879),set:n(982),timestamp:n(156),bool:n(771),int:n(518),merge:n(452),omap:n(605),seq:n(451),str:n(48)};e.exports.safeLoad=a("safeLoad","load");e.exports.safeLoadAll=a("safeLoadAll","loadAll");e.exports.safeDump=a("safeDump","dump")},347:e=>{"use strict";function t(e){return typeof e==="undefined"||e===null}function n(e){return typeof e==="object"&&e!==null}function r(e){if(Array.isArray(e))return e;else if(t(e))return[];return[e]}function i(e,t){var n,r,i,a;if(t){a=Object.keys(t);for(n=0,r=a.length;n{"use strict";var r=n(347);var i=n(425);var a=n(601);var o=Object.prototype.toString;var s=Object.prototype.hasOwnProperty;var l=65279;var c=9;var u=10;var d=13;var p=32;var f=33;var h=34;var g=35;var m=37;var v=38;var y=39;var b=42;var w=44;var C=45;var x=58;var E=61;var L=62;var S=63;var A=64;var T=91;var k=93;var M=96;var I=123;var N=124;var _=125;var O={};O[0]="\\0";O[7]="\\a";O[8]="\\b";O[9]="\\t";O[10]="\\n";O[11]="\\v";O[12]="\\f";O[13]="\\r";O[27]="\\e";O[34]='\\"';O[92]="\\\\";O[133]="\\N";O[160]="\\_";O[8232]="\\L";O[8233]="\\P";var D=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];var F=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function R(e,t){var n,r,i,a,o,l,c;if(t===null)return{};n={};r=Object.keys(t);for(i=0,a=r.length;i=55296&&n<=56319&&t+1=56320&&r<=57343){return(n-55296)*1024+r-56320+65536}}return n}function J(e){var t=/^\n* /;return t.test(e)}var Q=1,Z=2,ee=3,te=4,ne=5;function re(e,t,n,r,i,a,o,s){var l;var c=0;var d=null;var p=false;var f=false;var h=r!==-1;var g=-1;var m=z(Y(e,0))&&X(Y(e,e.length-1));if(t||o){for(l=0;l=65536?l+=2:l++){c=Y(e,l);if(!q(c)){return ne}m=m&&K(c,d,s);d=c}}else{for(l=0;l=65536?l+=2:l++){c=Y(e,l);if(c===u){p=true;if(h){f=f||l-g-1>r&&e[g+1]!==" ";g=l}}else if(!q(c)){return ne}m=m&&K(c,d,s);d=c}f=f||h&&(l-g-1>r&&e[g+1]!==" ")}if(!p&&!f){if(m&&!o&&!i(e)){return Q}return a===B?ne:Z}if(n>9&&J(e)){return ne}if(!o){return f?te:ee}return a===B?ne:Z}function ie(e,t,n,r,a){e.dump=function(){if(t.length===0){return e.quotingType===B?'""':"''"}if(!e.noCompatMode){if(D.indexOf(t)!==-1||F.test(t)){return e.quotingType===B?'"'+t+'"':"'"+t+"'"}}var o=e.indent*Math.max(1,n);var s=e.lineWidth===-1?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-o);var l=r||e.flowLevel>-1&&n>=e.flowLevel;function c(t){return U(e,t)}switch(re(t,l,e.indent,s,c,e.quotingType,e.forceQuotes&&!r,a)){case Q:return t;case Z:return"'"+t.replace(/'/g,"''")+"'";case ee:return"|"+ae(t,e.indent)+oe(W(t,o));case te:return">"+ae(t,e.indent)+oe(W(se(t,s),o));case ne:return'"'+ce(t,s)+'"';default:throw new i("impossible error: invalid scalar style")}}()}function ae(e,t){var n=J(e)?String(t):"";var r=e[e.length-1]==="\n";var i=r&&(e[e.length-2]==="\n"||e==="\n");var a=i?"+":r?"":"-";return n+a+"\n"}function oe(e){return e[e.length-1]==="\n"?e.slice(0,-1):e}function se(e,t){var n=/(\n+)([^\n]*)/g;var r=function(){var r=e.indexOf("\n");r=r!==-1?r:e.length;n.lastIndex=r;return le(e.slice(0,r),t)}();var i=e[0]==="\n"||e[0]===" ";var a;var o;while(o=n.exec(e)){var s=o[1],l=o[2];a=l[0]===" ";r+=s+(!i&&!a&&l!==""?"\n":"")+le(l,t);i=a}return r}function le(e,t){if(e===""||e[0]===" ")return e;var n=/ [^ ]/g;var r;var i=0,a,o=0,s=0;var l="";while(r=n.exec(e)){s=r.index;if(s-i>t){a=o>i?o:s;l+="\n"+e.slice(i,a);i=a+1}o=s}l+="\n";if(e.length-i>t&&o>i){l+=e.slice(i,o)+"\n"+e.slice(o+1)}else{l+=e.slice(i)}return l.slice(1)}function ce(e){var t="";var n=0;var r;for(var i=0;i=65536?i+=2:i++){n=Y(e,i);r=O[n];if(!r&&q(n)){t+=e[i];if(n>=65536)t+=e[i+1]}else{t+=r||j(n)}}return t}function ue(e,t,n){var r="",i=e.tag,a,o,s;for(a=0,o=n.length;a1024)u+="? ";u+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" ");if(!ge(e,t,c,false,false)){continue}u+=e.dump;r+=u}e.tag=i;e.dump="{"+r+"}"}function fe(e,t,n,r){var a="",o=e.tag,s=Object.keys(n),l,c,d,p,f,h;if(e.sortKeys===true){s.sort()}else if(typeof e.sortKeys==="function"){s.sort(e.sortKeys)}else if(e.sortKeys){throw new i("sortKeys must be a boolean or a function")}for(l=0,c=s.length;l1024;if(f){if(e.dump&&u===e.dump.charCodeAt(0)){h+="?"}else{h+="? "}}h+=e.dump;if(f){h+=H(e,t)}if(!ge(e,t+1,p,true,f)){continue}if(e.dump&&u===e.dump.charCodeAt(0)){h+=":"}else{h+=": "}h+=e.dump;a+=h}e.tag=o;e.dump=a||"{}"}function he(e,t,n){var r,a,l,c,u,d;a=n?e.explicitTypes:e.implicitTypes;for(l=0,c=a.length;l tag resolver accepts not "'+d+'" style')}e.dump=r}return true}}return false}function ge(e,t,n,r,a,s,l){e.tag=null;e.dump=n;if(!he(e,n,false)){he(e,n,true)}var c=o.call(e.dump);var u=r;var d;if(r){r=e.flowLevel<0||e.flowLevel>t}var p=c==="[object Object]"||c==="[object Array]",f,h;if(p){f=e.duplicates.indexOf(n);h=f!==-1}if(e.tag!==null&&e.tag!=="?"||h||e.indent!==2&&t>0){a=false}if(h&&e.usedDuplicates[f]){e.dump="*ref_"+f}else{if(p&&h&&!e.usedDuplicates[f]){e.usedDuplicates[f]=true}if(c==="[object Object]"){if(r&&Object.keys(e.dump).length!==0){fe(e,t,e.dump,a);if(h){e.dump="&ref_"+f+e.dump}}else{pe(e,t,e.dump);if(h){e.dump="&ref_"+f+" "+e.dump}}}else if(c==="[object Array]"){if(r&&e.dump.length!==0){if(e.noArrayIndent&&!l&&t>0){de(e,t-1,e.dump,a)}else{de(e,t,e.dump,a)}if(h){e.dump="&ref_"+f+e.dump}}else{ue(e,t,e.dump);if(h){e.dump="&ref_"+f+" "+e.dump}}}else if(c==="[object String]"){if(e.tag!=="?"){ie(e,e.dump,t,s,u)}}else if(c==="[object Undefined]"){return false}else{if(e.skipInvalid)return false;throw new i("unacceptable kind of an object to dump "+c)}if(e.tag!==null&&e.tag!=="?"){d=encodeURI(e.tag[0]==="!"?e.tag.slice(1):e.tag).replace(/!/g,"%21");if(e.tag[0]==="!"){d="!"+d}else if(d.slice(0,18)==="tag:yaml.org,2002:"){d="!!"+d.slice(18)}else{d="!<"+d+">"}e.dump=d+" "+e.dump}}return true}function me(e,t){var n=[],r=[],i,a;ve(e,n,r);for(i=0,a=r.length;i{"use strict";function t(e,t){var n="",r=e.reason||"(unknown reason)";if(!e.mark)return r;if(e.mark.name){n+='in "'+e.mark.name+'" '}n+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")";if(!t&&e.mark.snippet){n+="\n\n"+e.mark.snippet}return r+" "+n}function n(e,n){Error.call(this);this.name="YAMLException";this.reason=e;this.mark=n;this.message=t(this,false);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}else{this.stack=(new Error).stack||""}}n.prototype=Object.create(Error.prototype);n.prototype.constructor=n;n.prototype.toString=function e(n){return this.name+": "+t(this,n)};e.exports=n},990:(e,t,n)=>{"use strict";var r=n(347);var i=n(425);var a=n(192);var o=n(601);var s=Object.prototype.hasOwnProperty;var l=1;var c=2;var u=3;var d=4;var p=1;var f=2;var h=3;var g=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;var m=/[\x85\u2028\u2029]/;var v=/[,\[\]\{\}]/;var y=/^(?:!|!!|![a-z\-]+!)$/i;var b=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function w(e){return Object.prototype.toString.call(e)}function C(e){return e===10||e===13}function x(e){return e===9||e===32}function E(e){return e===9||e===32||e===10||e===13}function L(e){return e===44||e===91||e===93||e===123||e===125}function S(e){var t;if(48<=e&&e<=57){return e-48}t=e|32;if(97<=t&&t<=102){return t-97+10}return-1}function A(e){if(e===120){return 2}if(e===117){return 4}if(e===85){return 8}return 0}function T(e){if(48<=e&&e<=57){return e-48}return-1}function k(e){return e===48?"\0":e===97?"":e===98?"\b":e===116?"\t":e===9?"\t":e===110?"\n":e===118?"\v":e===102?"\f":e===114?"\r":e===101?"":e===32?" ":e===34?'"':e===47?"/":e===92?"\\":e===78?"…":e===95?" ":e===76?"\u2028":e===80?"\u2029":""}function M(e){if(e<=65535){return String.fromCharCode(e)}return String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}var I=new Array(256);var N=new Array(256);for(var _=0;_<256;_++){I[_]=k(_)?1:0;N[_]=k(_)}function O(e,t){this.input=e;this.filename=t["filename"]||null;this.schema=t["schema"]||o;this.onWarning=t["onWarning"]||null;this.legacy=t["legacy"]||false;this.json=t["json"]||false;this.listener=t["listener"]||null;this.implicitTypes=this.schema.compiledImplicit;this.typeMap=this.schema.compiledTypeMap;this.length=e.length;this.position=0;this.line=0;this.lineStart=0;this.lineIndent=0;this.firstTabInLine=-1;this.documents=[]}function D(e,t){var n={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};n.snippet=a(n);return new i(t,n)}function F(e,t){throw D(e,t)}function R(e,t){if(e.onWarning){e.onWarning.call(null,D(e,t))}}var j={YAML:function e(t,n,r){var i,a,o;if(t.version!==null){F(t,"duplication of %YAML directive")}if(r.length!==1){F(t,"YAML directive accepts exactly one argument")}i=/^([0-9]+)\.([0-9]+)$/.exec(r[0]);if(i===null){F(t,"ill-formed argument of the YAML directive")}a=parseInt(i[1],10);o=parseInt(i[2],10);if(a!==1){F(t,"unacceptable YAML version of the document")}t.version=r[0];t.checkLineBreaks=o<2;if(o!==1&&o!==2){R(t,"unsupported YAML version of the document")}},TAG:function e(t,n,r){var i,a;if(r.length!==2){F(t,"TAG directive accepts exactly two arguments")}i=r[0];a=r[1];if(!y.test(i)){F(t,"ill-formed tag handle (first argument) of the TAG directive")}if(s.call(t.tagMap,i)){F(t,'there is a previously declared suffix for "'+i+'" tag handle')}if(!b.test(a)){F(t,"ill-formed tag prefix (second argument) of the TAG directive")}try{a=decodeURIComponent(a)}catch(e){F(t,"tag prefix is malformed: "+a)}t.tagMap[i]=a}};function P(e,t,n,r){var i,a,o,s;if(t1){e.result+=r.repeat("\n",t-1)}}function q(e,t,n){var r,i,a,o,s,l,c,u,d=e.kind,p=e.result,f;f=e.input.charCodeAt(e.position);if(E(f)||L(f)||f===35||f===38||f===42||f===33||f===124||f===62||f===39||f===34||f===37||f===64||f===96){return false}if(f===63||f===45){i=e.input.charCodeAt(e.position+1);if(E(i)||n&&L(i)){return false}}e.kind="scalar";e.result="";a=o=e.position;s=false;while(f!==0){if(f===58){i=e.input.charCodeAt(e.position+1);if(E(i)||n&&L(i)){break}}else if(f===35){r=e.input.charCodeAt(e.position-1);if(E(r)){break}}else if(e.position===e.lineStart&&U(e)||n&&L(f)){break}else if(C(f)){l=e.line;c=e.lineStart;u=e.lineIndent;H(e,false,-1);if(e.lineIndent>=t){s=true;f=e.input.charCodeAt(e.position);continue}else{e.position=o;e.line=l;e.lineStart=c;e.lineIndent=u;break}}if(s){P(e,a,o,false);G(e,e.line-l);a=o=e.position;s=false}if(!x(f)){o=e.position+1}f=e.input.charCodeAt(++e.position)}P(e,a,o,false);if(e.result){return true}e.kind=d;e.result=p;return false}function V(e,t){var n,r,i;n=e.input.charCodeAt(e.position);if(n!==39){return false}e.kind="scalar";e.result="";e.position++;r=i=e.position;while((n=e.input.charCodeAt(e.position))!==0){if(n===39){P(e,r,e.position,true);n=e.input.charCodeAt(++e.position);if(n===39){r=e.position;e.position++;i=e.position}else{return true}}else if(C(n)){P(e,r,i,true);G(e,H(e,false,t));r=i=e.position}else if(e.position===e.lineStart&&U(e)){F(e,"unexpected end of the document within a single quoted scalar")}else{e.position++;i=e.position}}F(e,"unexpected end of the stream within a single quoted scalar")}function K(e,t){var n,r,i,a,o,s;s=e.input.charCodeAt(e.position);if(s!==34){return false}e.kind="scalar";e.result="";e.position++;n=r=e.position;while((s=e.input.charCodeAt(e.position))!==0){if(s===34){P(e,n,e.position,true);e.position++;return true}else if(s===92){P(e,n,e.position,true);s=e.input.charCodeAt(++e.position);if(C(s)){H(e,false,t)}else if(s<256&&I[s]){e.result+=N[s];e.position++}else if((o=A(s))>0){i=o;a=0;for(;i>0;i--){s=e.input.charCodeAt(++e.position);if((o=S(s))>=0){a=(a<<4)+o}else{F(e,"expected hexadecimal character")}}e.result+=M(a);e.position++}else{F(e,"unknown escape sequence")}n=r=e.position}else if(C(s)){P(e,n,r,true);G(e,H(e,false,t));n=r=e.position}else if(e.position===e.lineStart&&U(e)){F(e,"unexpected end of the document within a double quoted scalar")}else{e.position++;r=e.position}}F(e,"unexpected end of the stream within a double quoted scalar")}function z(e,t){var n=true,r,i,a,o=e.tag,s,c=e.anchor,u,d,p,f,h,g=Object.create(null),m,v,y,b;b=e.input.charCodeAt(e.position);if(b===91){d=93;h=false;s=[]}else if(b===123){d=125;h=true;s={}}else{return false}if(e.anchor!==null){e.anchorMap[e.anchor]=s}b=e.input.charCodeAt(++e.position);while(b!==0){H(e,true,t);b=e.input.charCodeAt(e.position);if(b===d){e.position++;e.tag=o;e.anchor=c;e.kind=h?"mapping":"sequence";e.result=s;return true}else if(!n){F(e,"missed comma between flow collection entries")}else if(b===44){F(e,"expected the node content, but found ','")}v=m=y=null;p=f=false;if(b===63){u=e.input.charCodeAt(e.position+1);if(E(u)){p=f=true;e.position++;H(e,true,t)}}r=e.line;i=e.lineStart;a=e.position;te(e,t,l,false,true);v=e.tag;m=e.result;H(e,true,t);b=e.input.charCodeAt(e.position);if((f||e.line===r)&&b===58){p=true;b=e.input.charCodeAt(++e.position);H(e,true,t);te(e,t,l,false,true);y=e.result}if(h){$(e,s,g,v,m,y,r,i,a)}else if(p){s.push($(e,null,g,v,m,y,r,i,a))}else{s.push(m)}H(e,true,t);b=e.input.charCodeAt(e.position);if(b===44){n=true;b=e.input.charCodeAt(++e.position)}else{n=false}}F(e,"unexpected end of the stream within a flow collection")}function X(e,t){var n,i,a=p,o=false,s=false,l=t,c=0,u=false,d,g;g=e.input.charCodeAt(e.position);if(g===124){i=false}else if(g===62){i=true}else{return false}e.kind="scalar";e.result="";while(g!==0){g=e.input.charCodeAt(++e.position);if(g===43||g===45){if(p===a){a=g===43?h:f}else{F(e,"repeat of a chomping mode identifier")}}else if((d=T(g))>=0){if(d===0){F(e,"bad explicit indentation width of a block scalar; it cannot be less than one")}else if(!s){l=t+d-1;s=true}else{F(e,"repeat of an indentation width identifier")}}else{break}}if(x(g)){do{g=e.input.charCodeAt(++e.position)}while(x(g));if(g===35){do{g=e.input.charCodeAt(++e.position)}while(!C(g)&&g!==0)}}while(g!==0){W(e);e.lineIndent=0;g=e.input.charCodeAt(e.position);while((!s||e.lineIndentl){l=e.lineIndent}if(C(g)){c++;continue}if(e.lineIndentt)&&l!==0){F(e,"bad indentation of a sequence entry")}else if(e.lineIndentt){if(y){o=e.line;s=e.lineStart;l=e.position}if(te(e,t,d,true,i)){if(y){m=e.result}else{v=e.result}}if(!y){$(e,f,h,g,m,v,o,s,l);g=m=v=null}H(e,true,-1);w=e.input.charCodeAt(e.position)}if((e.line===a||e.lineIndent>t)&&w!==0){F(e,"bad indentation of a mapping entry")}else if(e.lineIndentt){f=1}else if(e.lineIndent===t){f=0}else if(e.lineIndentt){f=1}else if(e.lineIndent===t){f=0}else if(e.lineIndent tag; it should be "scalar", not "'+e.kind+'"')}for(m=0,v=e.implicitTypes.length;m")}if(e.result!==null&&b.kind!==e.kind){F(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+b.kind+'", not "'+e.kind+'"')}if(!b.resolve(e.result,e.tag)){F(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}else{e.result=b.construct(e.result,e.tag);if(e.anchor!==null){e.anchorMap[e.anchor]=e.result}}}if(e.listener!==null){e.listener("close",e)}return e.tag!==null||e.anchor!==null||g}function ne(e){var t=e.position,n,r,i,a=false,o;e.version=null;e.checkLineBreaks=e.legacy;e.tagMap=Object.create(null);e.anchorMap=Object.create(null);while((o=e.input.charCodeAt(e.position))!==0){H(e,true,-1);o=e.input.charCodeAt(e.position);if(e.lineIndent>0||o!==37){break}a=true;o=e.input.charCodeAt(++e.position);n=e.position;while(o!==0&&!E(o)){o=e.input.charCodeAt(++e.position)}r=e.input.slice(n,e.position);i=[];if(r.length<1){F(e,"directive name must not be less than one character in length")}while(o!==0){while(x(o)){o=e.input.charCodeAt(++e.position)}if(o===35){do{o=e.input.charCodeAt(++e.position)}while(o!==0&&!C(o));break}if(C(o))break;n=e.position;while(o!==0&&!E(o)){o=e.input.charCodeAt(++e.position)}i.push(e.input.slice(n,e.position))}if(o!==0)W(e);if(s.call(j,r)){j[r](e,r,i)}else{R(e,'unknown document directive "'+r+'"')}}H(e,true,-1);if(e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45){e.position+=3;H(e,true,-1)}else if(a){F(e,"directives end mark is expected")}te(e,e.lineIndent-1,d,false,true);H(e,true,-1);if(e.checkLineBreaks&&m.test(e.input.slice(t,e.position))){R(e,"non-ASCII line breaks are interpreted as content")}e.documents.push(e.result);if(e.position===e.lineStart&&U(e)){if(e.input.charCodeAt(e.position)===46){e.position+=3;H(e,true,-1)}return}if(e.position{"use strict";var r=n(425);var i=n(364);function a(e,t){var n=[];e[t].forEach((function(e){var t=n.length;n.forEach((function(n,r){if(n.tag===e.tag&&n.kind===e.kind&&n.multi===e.multi){t=r}}));n[t]=e}));return n}function o(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},t,n;function r(t){if(t.multi){e.multi[t.kind].push(t);e.multi["fallback"].push(t)}else{e[t.kind][t.tag]=e["fallback"][t.tag]=t}}for(t=0,n=arguments.length;t{"use strict";e.exports=n(966)},601:(e,t,n)=>{"use strict";e.exports=n(471).extend({implicit:[n(156),n(452)],explicit:[n(531),n(605),n(879),n(982)]})},795:(e,t,n)=>{"use strict";var r=n(657);e.exports=new r({explicit:[n(48),n(451),n(945)]})},966:(e,t,n)=>{"use strict";e.exports=n(795).extend({implicit:[n(151),n(771),n(518),n(215)]})},192:(e,t,n)=>{"use strict";var r=n(347);function i(e,t,n,r,i){var a="";var o="";var s=Math.floor(i/2)-1;if(r-t>s){a=" ... ";t=r-s+a.length}if(n-r>s){o=" ...";n=r+s-o.length}return{str:a+e.slice(t,n).replace(/\t/g,"→")+o,pos:r-t+a.length}}function a(e,t){return r.repeat(" ",t-e.length)+e}function o(e,t){t=Object.create(t||null);if(!e.buffer)return null;if(!t.maxLength)t.maxLength=79;if(typeof t.indent!=="number")t.indent=1;if(typeof t.linesBefore!=="number")t.linesBefore=3;if(typeof t.linesAfter!=="number")t.linesAfter=2;var n=/\r?\n|\r|\0/g;var o=[0];var s=[];var l;var c=-1;while(l=n.exec(e.buffer)){s.push(l.index);o.push(l.index+l[0].length);if(e.position<=l.index&&c<0){c=o.length-2}}if(c<0)c=o.length-1;var u="",d,p;var f=Math.min(e.line+t.linesAfter,s.length).toString().length;var h=t.maxLength-(t.indent+f+3);for(d=1;d<=t.linesBefore;d++){if(c-d<0)break;p=i(e.buffer,o[c-d],s[c-d],e.position-(o[c]-o[c-d]),h);u=r.repeat(" ",t.indent)+a((e.line-d+1).toString(),f)+" | "+p.str+"\n"+u}p=i(e.buffer,o[c],s[c],e.position,h);u+=r.repeat(" ",t.indent)+a((e.line+1).toString(),f)+" | "+p.str+"\n";u+=r.repeat("-",t.indent+f+3+p.pos)+"^"+"\n";for(d=1;d<=t.linesAfter;d++){if(c+d>=s.length)break;p=i(e.buffer,o[c+d],s[c+d],e.position-(o[c]-o[c+d]),h);u+=r.repeat(" ",t.indent)+a((e.line+d+1).toString(),f)+" | "+p.str+"\n"}return u.replace(/\n$/,"")}e.exports=o},364:(e,t,n)=>{"use strict";var r=n(425);var i=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"];var a=["scalar","sequence","mapping"];function o(e){var t={};if(e!==null){Object.keys(e).forEach((function(n){e[n].forEach((function(e){t[String(e)]=n}))}))}return t}function s(e,t){t=t||{};Object.keys(t).forEach((function(t){if(i.indexOf(t)===-1){throw new r('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}}));this.options=t;this.tag=e;this.kind=t["kind"]||null;this.resolve=t["resolve"]||function(){return true};this.construct=t["construct"]||function(e){return e};this.instanceOf=t["instanceOf"]||null;this.predicate=t["predicate"]||null;this.represent=t["represent"]||null;this.representName=t["representName"]||null;this.defaultStyle=t["defaultStyle"]||null;this.multi=t["multi"]||false;this.styleAliases=o(t["styleAliases"]||null);if(a.indexOf(this.kind)===-1){throw new r('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}}e.exports=s},531:(e,t,n)=>{"use strict";var r=n(364);var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";function a(e){if(e===null)return false;var t,n,r=0,a=e.length,o=i;for(n=0;n64)continue;if(t<0)return false;r+=6}return r%8===0}function o(e){var t,n,r=e.replace(/[\r\n=]/g,""),a=r.length,o=i,s=0,l=[];for(t=0;t>16&255);l.push(s>>8&255);l.push(s&255)}s=s<<6|o.indexOf(r.charAt(t))}n=a%4*6;if(n===0){l.push(s>>16&255);l.push(s>>8&255);l.push(s&255)}else if(n===18){l.push(s>>10&255);l.push(s>>2&255)}else if(n===12){l.push(s>>4&255)}return new Uint8Array(l)}function s(e){var t="",n=0,r,a,o=e.length,s=i;for(r=0;r>18&63];t+=s[n>>12&63];t+=s[n>>6&63];t+=s[n&63]}n=(n<<8)+e[r]}a=o%3;if(a===0){t+=s[n>>18&63];t+=s[n>>12&63];t+=s[n>>6&63];t+=s[n&63]}else if(a===2){t+=s[n>>10&63];t+=s[n>>4&63];t+=s[n<<2&63];t+=s[64]}else if(a===1){t+=s[n>>2&63];t+=s[n<<4&63];t+=s[64];t+=s[64]}return t}function l(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"}e.exports=new r("tag:yaml.org,2002:binary",{kind:"scalar",resolve:a,construct:o,predicate:l,represent:s})},771:(e,t,n)=>{"use strict";var r=n(364);function i(e){if(e===null)return false;var t=e.length;return t===4&&(e==="true"||e==="True"||e==="TRUE")||t===5&&(e==="false"||e==="False"||e==="FALSE")}function a(e){return e==="true"||e==="True"||e==="TRUE"}function o(e){return Object.prototype.toString.call(e)==="[object Boolean]"}e.exports=new r("tag:yaml.org,2002:bool",{kind:"scalar",resolve:i,construct:a,predicate:o,represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"})},215:(e,t,n)=>{"use strict";var r=n(347);var i=n(364);var a=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?"+"|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?"+"|[-+]?\\.(?:inf|Inf|INF)"+"|\\.(?:nan|NaN|NAN))$");function o(e){if(e===null)return false;if(!a.test(e)||e[e.length-1]==="_"){return false}return true}function s(e){var t,n;t=e.replace(/_/g,"").toLowerCase();n=t[0]==="-"?-1:1;if("+-".indexOf(t[0])>=0){t=t.slice(1)}if(t===".inf"){return n===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY}else if(t===".nan"){return NaN}return n*parseFloat(t,10)}var l=/^[-+]?[0-9]+e/;function c(e,t){var n;if(isNaN(e)){switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}}else if(Number.POSITIVE_INFINITY===e){switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}}else if(Number.NEGATIVE_INFINITY===e){switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}}else if(r.isNegativeZero(e)){return"-0.0"}n=e.toString(10);return l.test(n)?n.replace("e",".e"):n}function u(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||r.isNegativeZero(e))}e.exports=new i("tag:yaml.org,2002:float",{kind:"scalar",resolve:o,construct:s,predicate:u,represent:c,defaultStyle:"lowercase"})},518:(e,t,n)=>{"use strict";var r=n(347);var i=n(364);function a(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function o(e){return 48<=e&&e<=55}function s(e){return 48<=e&&e<=57}function l(e){if(e===null)return false;var t=e.length,n=0,r=false,i;if(!t)return false;i=e[n];if(i==="-"||i==="+"){i=e[++n]}if(i==="0"){if(n+1===t)return true;i=e[++n];if(i==="b"){n++;for(;n=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},945:(e,t,n)=>{"use strict";var r=n(364);e.exports=new r("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return e!==null?e:{}}})},452:(e,t,n)=>{"use strict";var r=n(364);function i(e){return e==="<<"||e===null}e.exports=new r("tag:yaml.org,2002:merge",{kind:"scalar",resolve:i})},151:(e,t,n)=>{"use strict";var r=n(364);function i(e){if(e===null)return true;var t=e.length;return t===1&&e==="~"||t===4&&(e==="null"||e==="Null"||e==="NULL")}function a(){return null}function o(e){return e===null}e.exports=new r("tag:yaml.org,2002:null",{kind:"scalar",resolve:i,construct:a,predicate:o,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"})},605:(e,t,n)=>{"use strict";var r=n(364);var i=Object.prototype.hasOwnProperty;var a=Object.prototype.toString;function o(e){if(e===null)return true;var t=[],n,r,o,s,l,c=e;for(n=0,r=c.length;n{"use strict";var r=n(364);var i=Object.prototype.toString;function a(e){if(e===null)return true;var t,n,r,a,o,s=e;o=new Array(s.length);for(t=0,n=s.length;t{"use strict";var r=n(364);e.exports=new r("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return e!==null?e:[]}})},982:(e,t,n)=>{"use strict";var r=n(364);var i=Object.prototype.hasOwnProperty;function a(e){if(e===null)return true;var t,n=e;for(t in n){if(i.call(n,t)){if(n[t]!==null)return false}}return true}function o(e){return e!==null?e:{}}e.exports=new r("tag:yaml.org,2002:set",{kind:"mapping",resolve:a,construct:o})},48:(e,t,n)=>{"use strict";var r=n(364);e.exports=new r("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return e!==null?e:""}})},156:(e,t,n)=>{"use strict";var r=n(364);var i=new RegExp("^([0-9][0-9][0-9][0-9])"+"-([0-9][0-9])"+"-([0-9][0-9])$");var a=new RegExp("^([0-9][0-9][0-9][0-9])"+"-([0-9][0-9]?)"+"-([0-9][0-9]?)"+"(?:[Tt]|[ \\t]+)"+"([0-9][0-9]?)"+":([0-9][0-9])"+":([0-9][0-9])"+"(?:\\.([0-9]*))?"+"(?:[ \\t]*(Z|([-+])([0-9][0-9]?)"+"(?::([0-9][0-9]))?))?$");function o(e){if(e===null)return false;if(i.exec(e)!==null)return true;if(a.exec(e)!==null)return true;return false}function s(e){var t,n,r,o,s,l,c,u=0,d=null,p,f,h;t=i.exec(e);if(t===null)t=a.exec(e);if(t===null)throw new Error("Date resolve error");n=+t[1];r=+t[2]-1;o=+t[3];if(!t[4]){return new Date(Date.UTC(n,r,o))}s=+t[4];l=+t[5];c=+t[6];if(t[7]){u=t[7].slice(0,3);while(u.length<3){u+="0"}u=+u}if(t[9]){p=+t[10];f=+(t[11]||0);d=(p*60+f)*6e4;if(t[9]==="-")d=-d}h=new Date(Date.UTC(n,r,o,s,l,c,u));if(d)h.setTime(h.getTime()-d);return h}function l(e){return e.toISOString()}e.exports=new r("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:o,construct:s,instanceOf:Date,represent:l})},578:function(e,t){ /** * lite-url - Small, JS lib that uses regex for parsing a URL into it's component parts. * @version v1.0.5 * @link https://github.com/sadams/lite-url * @license BSD-3-Clause */ (function(){"use strict";function n(e,t,n){var r=e.split(t),i=r.shift();return n(i,r.join(t))}function r(e){var t={hash:"",host:"",hostname:"",origin:"",pathname:"",protocol:"",search:"",password:"",username:"",port:""};return n(e,"#",(function(e,r){r&&(t.hash=r?"#"+r:""),n(e,"?",(function(e,r){r&&(t.search="?"+r),e&&n(e,"//",(function(e,r){t.protocol=e,n(r,"/",(function(e,r){t.pathname="/"+(r||""),(t.protocol||e)&&(t.origin=t.protocol+"//"+e),n(e,"@",(function(e,r){if(r){var i=e.split(":");t.username=i[0],t.password=i[1]}else r=e;t.host=r,n(r,":",(function(e,n){t.hostname=e,n&&(t.port=n)}))}))}))}))}))})),t.href=t.origin+t.pathname+t.search+t.hash,t}function i(e){var t={},n=e.search;if(n){n=n.replace(new RegExp("\\?"),"");var r=n.split("&");for(var i in r)if(r.hasOwnProperty(i)&&r[i]){var a=r[i].split("=");t[a[0]]=a[1]}}return t}function a(e){var t=s[e];return"undefined"!=typeof t?t:(t=r(e),t.params=i(t),s[e]=t,t)}var o=this,s={};return a.changeQueryParser=function(e){i=e},true?(true&&e.exports&&(t=e.exports=a),t.liteURL=a):0,a}).call(this)},979:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(e,t){if(true){!(__WEBPACK_AMD_DEFINE_FACTORY__=e,__WEBPACK_AMD_DEFINE_RESULT__=typeof __WEBPACK_AMD_DEFINE_FACTORY__==="function"?__WEBPACK_AMD_DEFINE_FACTORY__.call(exports,__webpack_require__,exports,module):__WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_RESULT__!==undefined&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))}else{}})((function(){if(!Array.prototype.push){Array.prototype.push=function(){for(var e=0,t=arguments.length;e0){var e=this[0];for(var t=0,n=this.length-1;t2?n=i.slice(2).concat(n):n;for(a=0,o=s.length;a=0){e.splice(n,1);return true}else{return false}}function array_contains(e,t){for(var n=0,r=e.length;n=e.level}};Level.ALL=new Level(Number.MIN_VALUE,"ALL");Level.TRACE=new Level(1e4,"TRACE");Level.DEBUG=new Level(2e4,"DEBUG");Level.INFO=new Level(3e4,"INFO");Level.WARN=new Level(4e4,"WARN");Level.ERROR=new Level(5e4,"ERROR");Level.FATAL=new Level(6e4,"FATAL");Level.OFF=new Level(Number.MAX_VALUE,"OFF");log4javascript.Level=Level;function Timer(e,t){this.name=e;this.level=isUndefined(t)?Level.INFO:t;this.start=new Date}Timer.prototype.getElapsedTime=function(){return(new Date).getTime()-this.start.getTime()};var anonymousLoggerName="[anonymous]";var defaultLoggerName="[default]";var nullLoggerName="[null]";var rootLoggerName="root";function Logger(e){this.name=e;this.parent=null;this.children=[];var t=[];var n=null;var r=this.name===rootLoggerName;var i=this.name===nullLoggerName;var a=null;var o=false;this.addChild=function(e){this.children.push(e);e.parent=this;e.invalidateAppenderCache()};var s=true;this.getAdditivity=function(){return s};this.setAdditivity=function(e){var t=s!=e;s=e;if(t){this.invalidateAppenderCache()}};this.addAppender=function(e){if(i){handleError("Logger.addAppender: you may not add an appender to the null logger")}else{if(e instanceof log4javascript.Appender){if(!array_contains(t,e)){t.push(e);e.setAddedToLogger(this);this.invalidateAppenderCache()}}else{handleError("Logger.addAppender: appender supplied ('"+toStr(e)+"') is not a subclass of Appender")}}};this.removeAppender=function(e){array_remove(t,e);e.setRemovedFromLogger(this);this.invalidateAppenderCache()};this.removeAllAppenders=function(){var e=t.length;if(e>0){for(var n=0;n1&&isError(i)){n=i;r--}var a=[];for(var o=0;o<=r;o++){a[o]=t[o]}var s=new LoggingEvent(this,new Date,e,a,n);this.callAppenders(s)}};this.callAppenders=function(e){var t=this.getEffectiveAppenders();for(var n=0,r=t.length;n0?t:["Assertion Failure"];t.push(newLine);t.push(e);this.log(Level.ERROR,t)}};this.toString=function(){return"Logger["+this.name+"]"}}Logger.prototype={trace:function(){this.log(Level.TRACE,arguments)},debug:function(){this.log(Level.DEBUG,arguments)},info:function(){this.log(Level.INFO,arguments)},warn:function(){this.log(Level.WARN,arguments)},error:function(){this.log(Level.ERROR,arguments)},fatal:function(){this.log(Level.FATAL,arguments)},isEnabledFor:function(e){return e.isGreaterOrEqual(this.getEffectiveLevel())},isTraceEnabled:function(){return this.isEnabledFor(Level.TRACE)},isDebugEnabled:function(){return this.isEnabledFor(Level.DEBUG)},isInfoEnabled:function(){return this.isEnabledFor(Level.INFO)},isWarnEnabled:function(){return this.isEnabledFor(Level.WARN)},isErrorEnabled:function(){return this.isEnabledFor(Level.ERROR)},isFatalEnabled:function(){return this.isEnabledFor(Level.FATAL)}};Logger.prototype.trace.isEntryPoint=true;Logger.prototype.debug.isEntryPoint=true;Logger.prototype.info.isEntryPoint=true;Logger.prototype.warn.isEntryPoint=true;Logger.prototype.error.isEntryPoint=true;Logger.prototype.fatal.isEntryPoint=true;var loggers={};var loggerNames=[];var ROOT_LOGGER_DEFAULT_LEVEL=Level.DEBUG;var rootLogger=new Logger(rootLoggerName);rootLogger.setLevel(ROOT_LOGGER_DEFAULT_LEVEL);log4javascript.getRootLogger=function(){return rootLogger};log4javascript.getLogger=function(e){if(typeof e!="string"){e=anonymousLoggerName;logLog.warn("log4javascript.getLogger: non-string logger name "+toStr(e)+" supplied, returning anonymous logger")}if(e==rootLoggerName){handleError("log4javascript.getLogger: root logger may not be obtained by name")}if(!loggers[e]){var t=new Logger(e);loggers[e]=t;loggerNames.push(e);var n=e.lastIndexOf(".");var r;if(n>-1){var i=e.substring(0,n);r=log4javascript.getLogger(i)}else{r=rootLogger}r.addChild(t)}return loggers[e]};var defaultLogger=null;log4javascript.getDefaultLogger=function(){if(!defaultLogger){defaultLogger=createDefaultLogger()}return defaultLogger};var nullLogger=null;log4javascript.getNullLogger=function(){if(!nullLogger){nullLogger=new Logger(nullLoggerName);nullLogger.setLevel(Level.OFF)}return nullLogger};log4javascript.resetConfiguration=function(){rootLogger.setLevel(ROOT_LOGGER_DEFAULT_LEVEL);loggers={}};var LoggingEvent=function(e,t,n,r,i){this.logger=e;this.timeStamp=t;this.timeStampInMilliseconds=t.getTime();this.timeStampInSeconds=Math.floor(this.timeStampInMilliseconds/1e3);this.milliseconds=this.timeStamp.getMilliseconds();this.level=n;this.messages=r;this.exception=i};LoggingEvent.prototype={getThrowableStrRep:function(){return this.exception?getExceptionStringRep(this.exception):""},getCombinedMessages:function(){return this.messages.length==1?this.messages[0]:this.messages.join(newLine)},toString:function(){return"LoggingEvent["+this.level+"]"}};log4javascript.LoggingEvent=LoggingEvent;var Layout=function(){};Layout.prototype={defaults:{loggerKey:"logger",timeStampKey:"timestamp",millisecondsKey:"milliseconds",levelKey:"level",messageKey:"message",exceptionKey:"exception",urlKey:"url"},loggerKey:"logger",timeStampKey:"timestamp",millisecondsKey:"milliseconds",levelKey:"level",messageKey:"message",exceptionKey:"exception",urlKey:"url",batchHeader:"",batchFooter:"",batchSeparator:"",returnsPostData:false,overrideTimeStampsSetting:false,useTimeStampsInMilliseconds:null,format:function(){handleError("Layout.format: layout supplied has no format() method")},ignoresThrowable:function(){handleError("Layout.ignoresThrowable: layout supplied has no ignoresThrowable() method")},getContentType:function(){return"text/plain"},allowBatching:function(){return true},setTimeStampsInMilliseconds:function(e){this.overrideTimeStampsSetting=true;this.useTimeStampsInMilliseconds=bool(e)},isTimeStampsInMilliseconds:function(){return this.overrideTimeStampsSetting?this.useTimeStampsInMilliseconds:useTimeStampsInMilliseconds},getTimeStampValue:function(e){return this.isTimeStampsInMilliseconds()?e.timeStampInMilliseconds:e.timeStampInSeconds},getDataValues:function(e,t){var n=[[this.loggerKey,e.logger.name],[this.timeStampKey,this.getTimeStampValue(e)],[this.levelKey,e.level.name],[this.urlKey,window.location.href],[this.messageKey,t?e.getCombinedMessages():e.messages]];if(!this.isTimeStampsInMilliseconds()){n.push([this.millisecondsKey,e.milliseconds])}if(e.exception){n.push([this.exceptionKey,getExceptionStringRep(e.exception)])}if(this.hasCustomFields()){for(var r=0,i=this.customFields.length;r0},formatWithException:function(e){var t=this.format(e);if(e.exception&&this.ignoresThrowable()){t+=e.getThrowableStrRep()}return t},toString:function(){handleError("Layout.toString: all layouts must override this method")}};log4javascript.Layout=Layout;var Appender=function(){};Appender.prototype=new EventSupport;Appender.prototype.layout=new PatternLayout;Appender.prototype.threshold=Level.ALL;Appender.prototype.loggers=[];Appender.prototype.doAppend=function(e){if(enabled&&e.level.level>=this.threshold.level){this.append(e)}};Appender.prototype.append=function(e){};Appender.prototype.setLayout=function(e){if(e instanceof Layout){this.layout=e}else{handleError("Appender.setLayout: layout supplied to "+this.toString()+" is not a subclass of Layout")}};Appender.prototype.getLayout=function(){return this.layout};Appender.prototype.setThreshold=function(e){if(e instanceof Level){this.threshold=e}else{handleError("Appender.setThreshold: threshold supplied to "+this.toString()+" is not a subclass of Level")}};Appender.prototype.getThreshold=function(){return this.threshold};Appender.prototype.setAddedToLogger=function(e){this.loggers.push(e)};Appender.prototype.setRemovedFromLogger=function(e){array_remove(this.loggers,e)};Appender.prototype.group=emptyFunction;Appender.prototype.groupEnd=emptyFunction;Appender.prototype.toString=function(){handleError("Appender.toString: all appenders must override this method")};log4javascript.Appender=Appender;function SimpleLayout(){this.customFields=[]}SimpleLayout.prototype=new Layout;SimpleLayout.prototype.format=function(e){return e.level.name+" - "+e.getCombinedMessages()};SimpleLayout.prototype.ignoresThrowable=function(){return true};SimpleLayout.prototype.toString=function(){return"SimpleLayout"};log4javascript.SimpleLayout=SimpleLayout;function NullLayout(){this.customFields=[]}NullLayout.prototype=new Layout;NullLayout.prototype.format=function(e){return e.messages};NullLayout.prototype.ignoresThrowable=function(){return true};NullLayout.prototype.formatWithException=function(e){var t=e.messages,n=e.exception;return n?t.concat([n]):t};NullLayout.prototype.toString=function(){return"NullLayout"};log4javascript.NullLayout=NullLayout;function XmlLayout(e){this.combineMessages=extractBooleanFromParam(e,true);this.customFields=[]}XmlLayout.prototype=new Layout;XmlLayout.prototype.isCombinedMessages=function(){return this.combineMessages};XmlLayout.prototype.getContentType=function(){return"text/xml"};XmlLayout.prototype.escapeCdata=function(e){return e.replace(/\]\]>/,"]]>]]>"}var a=''+newLine;if(this.combineMessages){a+=i(e.getCombinedMessages())}else{a+=""+newLine;for(n=0,r=e.messages.length;n"+newLine}if(this.hasCustomFields()){for(n=0,r=this.customFields.length;n"+newLine}}if(e.exception){a+=""+newLine}a+=""+newLine+newLine;return a};XmlLayout.prototype.ignoresThrowable=function(){return false};XmlLayout.prototype.toString=function(){return"XmlLayout"};log4javascript.XmlLayout=XmlLayout;function escapeNewLines(e){return e.replace(/\r\n|\r|\n/g,"\\r\\n")}function JsonLayout(e,t){this.readable=extractBooleanFromParam(e,false);this.combineMessages=extractBooleanFromParam(t,true);this.batchHeader=this.readable?"["+newLine:"[";this.batchFooter=this.readable?"]"+newLine:"]";this.batchSeparator=this.readable?","+newLine:",";this.setKeys();this.colon=this.readable?": ":":";this.tab=this.readable?"\t":"";this.lineBreak=this.readable?newLine:"";this.customFields=[]}JsonLayout.prototype=new Layout;JsonLayout.prototype.isReadable=function(){return this.readable};JsonLayout.prototype.isCombinedMessages=function(){return this.combineMessages};JsonLayout.prototype.format=function(e){var t=this;var n=this.getDataValues(e,this.combineMessages);var r="{"+this.lineBreak;var i,a;function o(e,n,r){var i;var a=typeof e;if(e instanceof Date){i=String(e.getTime())}else if(r&&e instanceof Array){i="["+t.lineBreak;for(var s=0,l=e.length;s0){r.push(e);u="["+newLine;s=t-1;l=n+" ";c=[];for(a=0,o=e.length;a0){r.push(e);u="{"+newLine;s=t-1;l=n+" ";c=[];for(a in e){try{d=i(e[a],s,l);c.push(l+a+": "+d)}catch(e){c.push(l+a+": Error formatting property. Details: "+getExceptionStringRep(e))}}u+=c.join(","+newLine)+newLine+n+"}";return u}else{return p(toStr(e))}}return i(e,t,n)}var SimpleDateFormat;(function(){var e=/('[^']*')|(G+|y+|M+|w+|W+|D+|d+|F+|E+|a+|H+|k+|K+|h+|m+|s+|S+|Z+)|([a-zA-Z]+)|([^a-zA-Z']+)/;var t=["January","February","March","April","May","June","July","August","September","October","November","December"];var n=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];var r=0,i=1,a=2,o=3,s=4,l=5;var c={G:r,y:o,M:s,w:a,W:a,D:a,d:a,F:a,E:i,a:r,H:a,k:a,K:a,h:a,m:a,s:a,S:a,Z:l};var u=24*60*60*1e3;var d=7*u;var p=1;var f=function(e,t,n){var r=new Date(e,t,n,0,0,0);r.setMilliseconds(0);return r};Date.prototype.getDifference=function(e){return this.getTime()-e.getTime()};Date.prototype.isBefore=function(e){return this.getTime()=e){a++}return a};Date.prototype.getDayInYear=function(){var e=f(this.getFullYear(),0,1);return 1+Math.floor(this.getTimeSince(e)/u)};SimpleDateFormat=function(e){this.formatString=e};SimpleDateFormat.prototype.setMinimalDaysInFirstWeek=function(e){this.minimalDaysInFirstWeek=e};SimpleDateFormat.prototype.getMinimalDaysInFirstWeek=function(){return isUndefined(this.minimalDaysInFirstWeek)?p:this.minimalDaysInFirstWeek};var h=function(e,t){while(e.length=4?e:e.substr(0,Math.max(n,t))};var m=function(e,t){var n=""+e;return h(n,t)};SimpleDateFormat.prototype.format=function(u){var d="";var p;var f=this.formatString;while(p=e.exec(f)){var v=p[1];var y=p[2];var b=p[3];var w=p[4];if(v){if(v=="''"){d+="'"}else{d+=v.substring(1,v.length-1)}}else if(b){}else if(w){d+=w}else if(y){var C=y.charAt(0);var x=y.length;var E="";switch(C){case"G":E="AD";break;case"y":E=u.getFullYear();break;case"M":E=u.getMonth();break;case"w":E=u.getWeekInYear(this.getMinimalDaysInFirstWeek());break;case"W":E=u.getWeekInMonth(this.getMinimalDaysInFirstWeek());break;case"D":E=u.getDayInYear();break;case"d":E=u.getDate();break;case"F":E=1+Math.floor((u.getDate()-1)/7);break;case"E":E=n[u.getDay()];break;case"a":E=u.getHours()>=12?"PM":"AM";break;case"H":E=u.getHours();break;case"k":E=u.getHours()||24;break;case"K":E=u.getHours()%12;break;case"h":E=u.getHours()%12||12;break;case"m":E=u.getMinutes();break;case"s":E=u.getSeconds();break;case"S":E=u.getMilliseconds();break;case"Z":E=u.getTimezoneOffset();break}switch(c[C]){case r:d+=g(E,x,2);break;case i:d+=g(E,x,3);break;case a:d+=m(E,x);break;case o:if(x<=3){var L=""+E;d+=L.substr(2,2)}else{d+=m(E,x)}break;case s:if(x>=3){d+=g(t[E],x,x)}else{d+=m(E+1,x)}break;case l:var S=E>0;var A=S?"-":"+";var T=Math.abs(E);var k=""+Math.floor(T/60);k=h(k,2);var M=""+T%60;M=h(M,2);d+=A+k+M;break}}f=f.substr(p.index+p[0].length)}return d}})();log4javascript.SimpleDateFormat=SimpleDateFormat;function PatternLayout(e){if(e){this.pattern=e}else{this.pattern=PatternLayout.DEFAULT_CONVERSION_PATTERN}this.customFields=[]}PatternLayout.TTCC_CONVERSION_PATTERN="%r %p %c - %m%n";PatternLayout.DEFAULT_CONVERSION_PATTERN="%m%n";PatternLayout.ISO8601_DATEFORMAT="yyyy-MM-dd HH:mm:ss,SSS";PatternLayout.DATETIME_DATEFORMAT="dd MMM yyyy HH:mm:ss,SSS";PatternLayout.ABSOLUTETIME_DATEFORMAT="HH:mm:ss,SSS";PatternLayout.prototype=new Layout;PatternLayout.prototype.format=function(e){var t=/%(-?[0-9]+)?(\.?[0-9]+)?([acdfmMnpr%])(\{([^\}]+)\})?|([^%]+)/;var n="";var r;var i=this.pattern;while(r=t.exec(i)){var a=r[0];var o=r[1];var s=r[2];var l=r[3];var c=r[5];var u=r[6];if(u){n+=""+u}else{var d="";switch(l){case"a":case"m":var p=0;if(c){p=parseInt(c,10);if(isNaN(p)){handleError("PatternLayout.format: invalid specifier '"+c+"' for conversion character '"+l+"' - should be a number");p=0}}var f=l==="a"?e.messages[0]:e.messages;for(var h=0,g=f.length;h0&&d.charAt(d.length-1)!==" "){d+=" "}if(p===0){d+=f[h]}else{d+=formatObjectExpansion(f[h],p)}}break;case"c":var m=e.logger.name;if(c){var v=parseInt(c,10);var y=e.logger.name.split(".");if(v>=y.length){d=m}else{d=y.slice(y.length-v).join(".")}}else{d=m}break;case"d":var b=PatternLayout.ISO8601_DATEFORMAT;if(c){b=c;if(b=="ISO8601"){b=PatternLayout.ISO8601_DATEFORMAT}else if(b=="ABSOLUTE"){b=PatternLayout.ABSOLUTETIME_DATEFORMAT}else if(b=="DATE"){b=PatternLayout.DATETIME_DATEFORMAT}}d=new SimpleDateFormat(b).format(e.timeStamp);break;case"f":if(this.hasCustomFields()){var w=0;if(c){w=parseInt(c,10);if(isNaN(w)){handleError("PatternLayout.format: invalid specifier '"+c+"' for conversion character 'f' - should be a number")}else if(w===0){handleError("PatternLayout.format: invalid specifier '"+c+"' for conversion character 'f' - must be greater than zero")}else if(w>this.customFields.length){handleError("PatternLayout.format: invalid specifier '"+c+"' for conversion character 'f' - there aren't that many custom fields")}else{w=w-1}}var C=this.customFields[w].value;if(typeof C=="function"){C=C(this,e)}d=C}break;case"n":d=newLine;break;case"p":d=e.level.name;break;case"r":d=""+e.timeStamp.getDifference(applicationStartDate);break;case"%":d="%";break;default:d=a;break}var x;if(s){x=parseInt(s.substr(1),10);var E=d.length;if(x=200&&e.status<300||e.status==1223}function AjaxAppender(e,t){var n=this;var r=true;if(!e){handleError("AjaxAppender: URL must be specified in constructor");r=false}var i=this.defaults.timed;var a=this.defaults.waitForResponse;var o=this.defaults.batchSize;var s=this.defaults.timerInterval;var l=this.defaults.requestSuccessCallback;var c=this.defaults.failCallback;var u=this.defaults.postVarName;var d=this.defaults.sendAllOnUnload;var p=this.defaults.contentType;var f=null;var h=[];var g=[];var m=[];var v=false;var y=false;function b(e){if(y){handleError("AjaxAppender: configuration option '"+e+"' may not be set after the appender has been initialized");return false}return true}this.getSessionId=function(){return f};this.setSessionId=function(e){f=extractStringFromParam(e,null);this.layout.setCustomField("sessionid",f)};this.setLayout=function(e){if(b("layout")){this.layout=e;if(f!==null){this.setSessionId(f)}}};this.isTimed=function(){return i};this.setTimed=function(e){if(b("timed")){i=bool(e)}};this.getTimerInterval=function(){return s};this.setTimerInterval=function(e){if(b("timerInterval")){s=extractIntFromParam(e,s)}};this.isWaitForResponse=function(){return a};this.setWaitForResponse=function(e){if(b("waitForResponse")){a=bool(e)}};this.getBatchSize=function(){return o};this.setBatchSize=function(e){if(b("batchSize")){o=extractIntFromParam(e,o)}};this.isSendAllOnUnload=function(){return d};this.setSendAllOnUnload=function(e){if(b("sendAllOnUnload")){d=extractBooleanFromParam(e,d)}};this.setRequestSuccessCallback=function(e){l=extractFunctionFromParam(e,l)};this.setFailCallback=function(e){c=extractFunctionFromParam(e,c)};this.getPostVarName=function(){return u};this.setPostVarName=function(e){if(b("postVarName")){u=extractStringFromParam(e,u)}};this.getHeaders=function(){return m};this.addHeader=function(e,t){if(e.toLowerCase()=="content-type"){p=t}else{m.push({name:e,value:t})}};function w(){if(r&&enabled){v=true;var e;if(a){if(g.length>0){e=g.shift();S(x(e),w)}else{v=false;if(i){E()}}}else{while(e=g.shift()){S(x(e))}v=false;if(i){E()}}}}this.sendAll=w;function C(){var e=false;if(r&&enabled){var t=n.getLayout().allowBatching()?o:1;var s;var l=[];while(s=h.shift()){l.push(s);if(h.length>=t){g.push(l);l=[]}}if(l.length>0){g.push(l)}e=g.length>0;a=false;i=false;w()}return e}this.sendAllRemaining=C;function x(e){var t=[];var r;var i="";while(r=e.shift()){t.push(n.getLayout().formatWithException(r))}if(e.length==1){i=t.join("")}else{i=n.getLayout().batchHeader+t.join(n.getLayout().batchSeparator)+n.getLayout().batchFooter}if(p==n.defaults.contentType){i=n.getLayout().returnsPostData?i:urlEncode(u)+"="+urlEncode(i);if(i.length>0){i+="&"}i+="layout="+urlEncode(n.getLayout().toString())}return i}function E(){window.setTimeout(w,s)}function L(){var e="AjaxAppender: could not create XMLHttpRequest object. AjaxAppender disabled";handleError(e);r=false;if(c){c(e)}}function S(n,i){try{var a=getXmlHttp(L);if(r){a.onreadystatechange=function(){if(a.readyState==4){if(isHttpRequestSuccessful(a)){if(l){l(a)}if(i){i(a)}}else{var t="AjaxAppender.append: XMLHttpRequest request to URL "+e+" returned status code "+a.status;handleError(t);if(c){c(t)}}a.onreadystatechange=emptyFunction;a=null}};a.open("POST",e,true);if(t&&withCredentialsSupported){a.withCredentials=true}try{for(var o=0,s;s=m[o++];){a.setRequestHeader(s.name,s.value)}a.setRequestHeader("Content-Type",p)}catch(e){var u="AjaxAppender.append: your browser's XMLHttpRequest implementation"+" does not support setRequestHeader, therefore cannot post data. AjaxAppender disabled";handleError(u);r=false;if(c){c(u)}return}a.send(n)}}catch(t){var d="AjaxAppender.append: error sending log message to "+e;handleError(d,t);r=false;if(c){c(d+". Details: "+getExceptionStringRep(t))}}}this.append=function(e){if(r){if(!y){A()}h.push(e);var t=this.getLayout().allowBatching()?o:1;if(h.length>=t){var n;var s=[];while(n=h.shift()){s.push(n)}g.push(s);if(!i&&(!a||a&&!v)){w()}}}};function A(){y=true;if(d){var e=window.onbeforeunload;window.onbeforeunload=function(){if(e){e()}C()}}if(i){E()}}}AjaxAppender.prototype=new Appender;AjaxAppender.prototype.defaults={waitForResponse:false,timed:false,timerInterval:1e3,batchSize:1,sendAllOnUnload:false,requestSuccessCallback:null,failCallback:null,postVarName:"data",contentType:"application/x-www-form-urlencoded"};AjaxAppender.prototype.layout=new HttpPostDataLayout;AjaxAppender.prototype.toString=function(){return"AjaxAppender"};log4javascript.AjaxAppender=AjaxAppender;function setCookie(e,t,n,r){var i;r=r?"; path="+r:"";if(n){var a=new Date;a.setTime(a.getTime()+n*24*60*60*1e3);i="; expires="+a.toGMTString()}else{i=""}document.cookie=escape(e)+"="+escape(t)+i+r}function getCookie(e){var t=escape(e)+"=";var n=document.cookie.split(";");for(var r=0,i=n.length;r','',"","log4javascript",'',"\x3c!-- Make IE8 behave like IE7, having gone to all the trouble of making IE work --\x3e",'','