<commit_before>'use strict';(function(q,t){"function"===typeof define&&define.amd?define([],t):"object"===typeof module&&module.exports?module.exports=t():q.anime=t()})(this,function(){function q(b,k){if(b.includes)return b.includes(k);f.array(b)||(b=Array.prototype.slice.call(b));return 0===b.length?!1:b.some(function(b){return b===searchitem})}var t={duration:1E3,delay:0,loop:!1,autoplay:!0,direction:"normal",easing:"easeOutElastic",elasticity:400,round:!1,begin:void 0,update:void 0,complete:void 0},l="translateX translateY translateZ rotate rotateX rotateY rotateZ scale scaleX scaleY scaleZ skewX skewY".split(" "),
f=function(){return{array:Array.isArray,object:function(b){return q(Object.prototype.toString.call(b),"Object")},html:function(b){return b instanceof NodeList||b instanceof HTMLCollection},node:function(b){return b.nodeType},svg:function(b){return b instanceof SVGElement},number:function(b){return!isNaN(parseInt(b))},string:function(b){return"string"===typeof b},func:function(b){return"function"===typeof b},undef:function(b){return"undefined"===typeof b},null:function(b){return"null"===typeof b},
hex:function(b){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(b)},rgb:function(b){return/^rgb/.test(b)},rgba:function(b){return/^rgba/.test(b)},hsl:function(b){return/^hsl/.test(b)},color:function(b){return f.hex(b)||f.rgb(b)||f.rgba(b)||f.hsl(b)}}}(),v=function(){var b={},k={Sine:function(b){return 1-Math.cos(b*Math.PI/2)},Circ:function(b){return 1-Math.sqrt(1-b*b)},Elastic:function(b,k){if(0===b||1===b)return b;k=1-Math.min(k,998)/1E3;b=b/1-1;return-(Math.pow(2,10*b)*Math.sin(2*(b-k/(2*Math.PI)*
Math.asin(1))*Math.PI/k))},Back:function(b){return b*b*(3*b-2)},Bounce:function(b){for(var k,a=4;b<((k=Math.pow(2,--a))-1)/11;);return 1/Math.pow(4,3-a)-7.5625*Math.pow((3*k-2)/22-b,2)}};["Quad","Cubic","Quart","Quint","Expo"].forEach(function(b,a){k[b]=function(b){return Math.pow(b,a+2)}});Object.keys(k).forEach(function(a){var n=k[a];b["easeIn"+a]=n;b["easeOut"+a]=function(b,k){return 1-n(1-b,k)};b["easeInOut"+a]=function(b,k){return.5>b?n(2*b,k)/2:1-n(-2*b+2,k)/2}});b.linear=function(b){return b};
return b}(),w=function(b){return f.string(b)?b:""+b},y=function(b){return b.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()},a=function(b){if(f.color(b))return!1;try{return document.querySelectorAll(b)}catch(k){return!1}},c=function(b){if(f.array(b))return b;f.string(b)&&(b=a(b)||b);return f.html(b)?[].slice.call(b):[b]},e=function(b){return Array.prototype.reduce.call(b,function(b,a){return b.concat(f.array(a)?e(a):a)},[])},m=function(b,k){var a={};b.forEach(function(b){var c=JSON.stringify(k.map(function(a){return b[a]}));
a[c]=a[c]||[];a[c].push(b)});return Object.keys(a).map(function(b){return a[b]})},g=function(b){return b.filter(function(b,a,n){return n.indexOf(b)===a})},p=function(b){var a={},d;for(d in b)a[d]=b[d];return a},h=function(b,a){for(var d in a)b[d]=f.undef(b[d])?a[d]:b[d];return b},L=function(b){b=b.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(b,a,k,d){return a+a+k+k+d+d});var a=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(b);b=parseInt(a[1],16);var d=parseInt(a[2],16),a=parseInt(a[3],16);
return"rgb("+b+","+d+","+a+")"},z=function(b,a,d){0>d&&(d+=1);1<d&&--d;return d<1/6?b+6*(a-b)*d:.5>d?a:d<2/3?b+(a-b)*(2/3-d)*6:b},u=function(b){return/([\+\-]?[0-9|auto\.]+)(%|px|pt|em|rem|in|cm|mm|ex|pc|vw|vh|deg)?/.exec(b)[2]},C=function(b,a,d){return u(a)?a:q(b,"translate")?u(d)?a+u(d):a+"px":q(b,"rotate")||q(b,"skew")?a+"deg":a},D=function(b,a){if((f.node(b)||f.svg(b))&&q(l,a))return"transform";if((f.node(b)||f.svg(b))&&"transform"!==a&&A(b,a))return"css";if((f.node(b)||f.svg(b))&&(b.getAttribute(a)||
f.svg(b)&&b[a]))return"attribute";if(!f.null(b[a])&&!f.undef(b[a]))return"object"},A=function(b,a){if(a in b.style)return getComputedStyle(b).getPropertyValue(y(a))||"0"},M=function(b,a){var d=q(a,"scale")?1:0;b=b.style.transform;if(!b)return d;for(var n=/(\w+)\((.+?)\)/g,c=[],e=[],f=[];c=n.exec(b);)e.push(c[1]),f.push(c[2]);b=f.filter(function(b,d){return e[d]===a});return b.length?b[0]:d},E=function(b,a){var d=D(b,a);return"transform"===d?M(b,a):"css"===d?A(b,a):"attribute"===d?b.getAttribute(a):
b[a]||0},F=function(b,a,d){if(f.color(a)){if(!f.rgb(a)&&!f.rgba(a))if(f.hex(a))a=L(a);else if(f.hsl(a)){b=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(a);a=parseInt(b[1])/360;d=parseInt(b[2])/100;b=parseInt(b[3])/100;if(0===d)d=b=a=b;else{var n=.5>b?b*(1+d):b+d-b*d,c=2*b-n;d=z(c,n,a+1/3);b=z(c,n,a);a=z(c,n,a-1/3)}a="rgb("+255*d+","+255*b+","+255*a+")"}else a=void 0;return a}if(u(a))return a;b=u(b.to)?u(b.to):u(b.from);!b&&d&&(b=u(d));return b?a+b:a},G=function(b){var a=/-?\d*\.?\d+/g;return{original:b,
numbers:w(b).match(a)?w(b).match(a).map(Number):[0],strings:w(b).split(a)}},N=function(b,a,d){return a.reduce(function(a,k,c){return a+b[c-1]+(k?k:d[c-1])})},O=function(b){return(b?e(f.array(b)?b.map(c):c(b)):[]).map(function(b,a){return{target:b,id:a}})},P=function(b,a){var d=[],n;for(n in b)if(!t.hasOwnProperty(n)&&"targets"!==n){var c=f.object(b[n])?p(b[n]):{value:b[n]};c.name=n;d.push(h(c,a))}return d},H=function(b,a,d,n){"transform"===d?(d=b+("("+C(b,a.from,a.to)+")"),a=b+("("+C(b,a.to)+")")):
(b="css"===d?A(n,b):void 0,d=F(a,a.from,b),a=F(a,a.to,b));return{from:G(d),to:G(a)}},Q=function(b,a){var d=[];b.forEach(function(n,e){var g=n.target;return a.forEach(function(a){var k=D(g,a.name);if(k){var m;m=a.name;var h=a.value,h=c(f.func(h)?h(g,e):h);m={from:1<h.length?h[0]:E(g,m),to:1<h.length?h[1]:h[0]};h=p(a);h.animatables=n;h.type=k;h.from=H(a.name,m,h.type,g).from;h.to=H(a.name,m,h.type,g).to;h.round=f.color(m.from)||h.round?1:0;h.delay=(f.func(h.delay)?h.delay(g,e,b.length):h.delay)/r.speed;
h.duration=(f.func(h.duration)?h.duration(g,e,b.length):h.duration)/r.speed;d.push(h)}})});return d},R=function(b,a){b=Q(b,a);return m(b,["name","from","to","delay","duration"]).map(function(b){var a=p(b[0]);a.animatables=b.map(function(b){return b.animatables});a.totalDuration=a.delay+a.duration;return a})},B=function(b,a){b.tweens.forEach(function(d){var c=d.from,e=b.duration-(d.delay+d.duration);d.from=d.to;d.to=c;a&&(d.delay=e)});b.reversed=b.reversed?!1:!0},I=function(b){var a=[],d=[];b.tweens.forEach(function(b){if("css"===
b.type||"transform"===b.type)a.push("css"===b.type?y(b.name):"transform"),b.animatables.forEach(function(b){return d.push(b.target)})});return{properties:g(a).join(", "),elements:g(d)}},S=function(b){var a=I(b);a.elements.forEach(function(b){return b.style.willChange=a.properties})},T=function(b){I(b).elements.forEach(function(b){return b.style.removeProperty("will-change")})},U=function(b,a){var d=b.path,c=b.value*a,e=function(e){return d.getPointAtLength(1<a?b.value+(e||0):c+(e||0))},h=e(),f=e(-1),
e=e(1),g=b.name;return"translateX"===g?h.x:"translateY"===g?h.y:"rotate"===g?180*Math.atan2(e.y-f.y,e.x-f.x)/Math.PI:void 0},V=function(b,a){var d=Math.min(Math.max(a-b.delay,0),b.duration)/b.duration;a=b.to.numbers.map(function(a,c){c=b.from.numbers[c];var k=v[b.easing](d,b.elasticity);a=b.path?U(b,k):c+k*(a-c);return b.round?Math.round(a*b.round)/b.round:a});return N(a,b.to.strings,b.from.strings)},J=function(b,a){var d=void 0;b.time=Math.min(a,b.duration);b.progress=b.time/b.duration*100;b.tweens.forEach(function(b){b.currentValue=
V(b,a);var c=b.currentValue;b.animatables.forEach(function(a){var k=a.id;switch(b.type){case "css":a.target.style[b.name]=c;break;case "attribute":a.target.setAttribute(b.name,c);break;case "object":a.target[b.name]=c;break;case "transform":d||(d={}),d[k]||(d[k]=[]),d[k].push(c)}})});if(d)for(var c in d)b.animatables[c].target.style.transform=d[c].join(" ");b.settings.update&&b.settings.update(b)},K=function(b){var a={animatables:O(b.targets),settings:h(b,t),time:0,progress:0,running:!1,ended:!1};
a.properties=P(b,a.settings);a.tweens=R(a.animatables,a.properties);a.duration=a.tweens.length?Math.max.apply(Math,a.tweens.map(function(a){return a.totalDuration})):b.duration/r.speed;return a},x=[],r=function(a){var c={},d=K(a);c.tick=function(){if(d.running){d.ended=!1;c.now=+new Date;c.current=c.last+c.now-c.start;J(d,c.current);var a=d.settings;a.begin&&c.current>=a.delay&&(a.begin(d),a.begin=void 0);c.current>=d.duration?(a.loop?(c.start=+new Date,"alternate"===a.direction&&B(d,!0),f.number(a.loop)&&
a.loop--,c.raf=requestAnimationFrame(c.tick)):(d.ended=!0,a.complete&&a.complete(d),d.pause()),c.last=0):c.raf=requestAnimationFrame(c.tick)}};d.seek=function(a){return J(d,a/100*d.duration)};d.pause=function(){d.running=!1;cancelAnimationFrame(c.raf);T(d);var a=x.indexOf(d);-1<a&&x.splice(a,1)};d.play=function(a){a&&(d=h(K(h(a,d.settings)),d));d.pause();d.running=!0;c.start=+new Date;c.last=d.ended?0:d.time;a=d.settings;"reverse"===a.direction&&B(d);"alternate"!==a.direction||a.loop||(a.loop=1);
S(d);x.push(d);c.raf=requestAnimationFrame(c.tick)};d.restart=function(){d.reversed&&B(d);d.pause();d.seek(0);d.play()};d.settings.autoplay&&d.play();return d};r.speed=1;r.list=x;r.remove=function(a){a=e(f.array(a)?a.map(c):c(a));for(var h,d=x.length-1;0<=d;d--){h=x[d];for(var g,m=h.tweens.length-1;0<=m;m--){g=h.tweens[m];for(var p=g.animatables.length-1;0<=p;p--)q(a,g.animatables[p].target)&&(g.animatables.splice(p,1),g.animatables.length||h.tweens.splice(m,1),h.tweens.length||h.pause())}}};r.easings=
v;r.getValue=E;r.path=function(b){b=f.string(b)?a(b)[0]:b;return{path:b,value:b.getTotalLength()}};r.random=function(a,c){return Math.floor(Math.random()*(c-a+1))+a};r.includes=q;r.dupeObj=p;r.mergeObjs=h;r.flattenArr=e;r.removeArrDupes=g;return r});Craft.addCSS(".craft-tooltip{position:fixed;box-sizing:content-box!important;overflow:visible;display:none;min-width:18px;width:auto;font-size:15px;height:26px;line-height:26px;padding-left:15px;padding-right:15px;background:#ededed;border-radius:3px;white-space:nowrap;color:#696662;-webkit-filter:drop-shadow(0 1px 2px hsla(0, 0%, 10%, .35));-moz-filter:drop-shadow(0 1px 2px hsla(0, 0%, 10%, .35));filter:drop-shadow(0 1px 2px hsla(0, 0%, 10%, .35));-webkit-transition:opacity 450ms ease;transition:opacity 450ms ease;z-index:5000}check-box,material-input,material-input>*,radio-button,radio-button>*,toggle-button{box-sizing:border-box}.craft-tooltip[direction=up],.craft-tooltip[direction=down]{height:22px;line-height:22px}.craft-tooltip:before{position:absolute;content:' ';display:block;pointer-events:none;-webkit-pointer-events:none;-moz-pointer-events:none;border-style:solid;width:0;height:0;z-index:1}.craft-tooltip[direction=right]{border-right:3px solid #696969;-webkit-transform:translateY(-15px) translateX(25px);transform:translateY(-15px) translateX(25px)}.craft-tooltip[direction=left]{border-left:3px solid #696969;-webkit-transform:translateY(-15px) translateX(calc(-100% - 25px));transform:translateY(-15px) translateX(calc(-100% - 25px))}.craft-tooltip[direction=down]{border-bottom:2px solid #696969;-webkit-transform:translateY(38px) translateX(-50%);transform:translateY(38px) translateX(-50%)}.craft-tooltip[direction=up]{border-top:2px solid #696969;-webkit-transform:translateY(-38px) translateX(-50%);transform:translateY(-38px) translateX(-50%)}.craft-tooltip[direction=right]:before{left:-20px;border-width:13px 22.5px 13px 0;border-color:transparent #ededed transparent transparent}.craft-tooltip[direction=left]:before{right:-20px;border-width:13px 0 13px 22.5px;border-color:transparent transparent transparent #ededed}.craft-tooltip[direction=down]:before{top:-12px;left:calc(50% - 12.5px);border-width:0 12.5px 12px;border-color:transparent transparent #ededed}.craft-tooltip[direction=up]:before{bottom:-12px;left:calc(50% - 12.5px);border-width:12px 12.5px 0;border-color:#ededed transparent transparent}[movehandle]{cursor:move}ripple-effect{display:inline-block;position:absolute;pointer-events:none;user-select:none;-moz-user-select:none;-webkit-user-select:none;opacity:.8;background:#d6c11b;border-radius:100%;-webkit-transform:scale(0);-moz-transform:scale(0);transform:scale(0);z-index:0}.hz-divider{margin:5px 0;border-top:1px solid #7f7f7f;font-size:.9em}.vert-divider{margin:5px 0;border-left:1px solid #666}toggle-button{overflow:visible!important;position:relative;display:inline-block;width:10mm;height:4mm;border-radius:4mm;background:#e9e9e9;box-shadow:inset 0 0 3px hsla(0,0%,20%,.2);cursor:pointer;-webkit-transition:all 130ms ease;transition:all 130ms ease}toggle-button>.toggle{position:absolute;display:inline-block;width:5mm;height:5mm;top:-.45mm;left:0;border-radius:100%;background:#fff;box-shadow:0 2px 5px hsla(0,0%,20%,.2),0 0 2px hsla(0,0%,20%,.2);-webkit-transition:all 120ms ease;transition:all 120ms ease}toggle-button[on]>.toggle{left:calc(100% - 5mm)}toggle-button:hover{background:#ebb4b1}toggle-button[on]:hover{background:#adeeb7}.notifications-bottom-left,.notifications-bottom-middle,.notifications-bottom-right,.notifications-top-left,.notifications-top-middle,.notifications-top-right{position:fixed;width:auto;height:auto;z-index:50}.notifications-top-left{top:0;left:0}.notifications-top-right{top:0;right:0}.notifications-top-middle{top:0;left:30%;right:30%;width:40%}.notifications-bottom-left{bottom:0;left:0}.notifications-bottom-right{bottom:0;right:0}.notifications-bottom-middle{bottom:0;left:30%;right:30%;width:40%}craft-notification{position:relative;display:block;pointer-events:all;-webkit-pointer-events:all;-moz-pointer-events:all;border-bottom-left-radius:2px;border-top-left-radius:2px;margin:2mm;padding-left:1mm;padding-right:6mm;height:6mm;line-height:6mm;width:auto;font-size:.8em;background:#fff;color:#282828;box-shadow:0 2px 5px rgba(47,47,47,.17);z-index:100000}craft-notification[state=bad]{border-left:4px solid red}craft-notification[state=good]{border-left:4px solid green}craft-notification[state=warning]{border-left:4px solid #dfb007}craft-notification>.notification-close{position:absolute;text-align:center;right:0;top:0;height:6mm;line-height:6mm;font-size:1.2em;width:6mm;color:red;text-shadow:0 1px 2px rgba(52,52,52,.29);cursor:not-allowed;z-index:5}[class^=flatbutton],[class^=pushbutton]{position:relative;display:inline-block;overflow:hidden;box-sizing:border-box;vertical-align:top;height:10mm;line-height:9.5mm;text-align:center;width:auto;min-width:16mm;margin:3px 0;padding-left:10px;padding-right:10px;outline:0!important;border:1px solid #737373;border-radius:2px;background:#b3b3b3;-ms-user-select:none;user-select:none;-moz-user-select:none;-webkit-user-select:none;cursor:pointer;-webkit-transition:all .2s ease,border .2s ease-in,boxShadow .1s linear,-webkit-filter .1s ease-in;transition:all .2s ease,border .2s ease-in,boxShadow .1s linear,-webkit-filter .1s ease-in;transition:all .2s ease,border .2s ease-in,boxShadow .1s linear,filter .1s ease-in;transition:all .2s ease,border .2s ease-in,boxShadow .1s linear,filter .1s ease-in,-webkit-filter .1s ease-in}button:active,input[type=button]:active,input[type=submit]:active{outline:0!important;box-shadow:inset 0 2px 4px hsla(0,0%,10%,.26)!important}button:hover,input[type=button]:hover,input[type=submit]:hover{outline:0!important;box-shadow:0 2px 4px hsla(0,0%,10%,.26)}button::-moz-focus-inner,input[type=button]::-moz-focus-inner,input[type=submit]::-moz-focus-inner{border:0;outline:0!important}[class*=flatbutton]{border-radius:3px;font-weight:600;font-size:15px;background:hsla(0,0%,50%,.01);color:#696969}[class*=flatbutton]:hover{-webkit-transform:translateZ(5px);transform:translateZ(5px);color:#fff;background:#595959}[class*=flatbutton]:active{box-shadow:inset 0 2px 2px hsla(0,0%,10%,.45);outline:0!important;filter:saturate(.95);-moz-filter:saturate(.95);-webkit-filter:saturate(.95)}.flatbutton-go{border-color:#209814;color:#209814}.flatbutton-info{border-color:#3074e3;color:#3074e3}.flatbutton-danger{border-color:#d11717;color:#d11717}.flatbutton-warning{border-color:#dfba1c;color:#dfba1c}.flatbutton-go:hover{background:#209814}.flatbutton-info:hover{background:#3074e3}.flatbutton-danger:hover{background:#d11717}.flatbutton-warning:hover{background:#dfba1c}code{padding:.2rem .5rem;margin:0 .2rem;font-size:90%;white-space:nowrap;background:#F1F1F1;border:1px solid #E1E1E1;border-radius:4px}pre>code{display:block;padding:1rem 1.5rem;white-space:pre}check-box,radio-button,radio-button>[radio],radio-button>label{display:inline-block}ul{list-style:circle inside}ol{list-style:decimal inside}ol,ul{padding-left:0;margin-top:0}ol ol,ol ul,ul ol,ul ul{margin:1.5rem 0 1.5rem 3rem;font-size:90%}li{margin-bottom:1rem}input[type=range],material-input{box-sizing:content-box!important}radio-button{position:relative;overflow:visible;cursor:pointer;color:#333}radio-button+radio-button,radio-button~radio-button{margin:auto 5px}radio-button>[radio]{vertical-align:middle;width:16px;height:16px;margin-right:5px;border-radius:100%;background:#999;-ms-user-select:none;user-select:none;-webkit-user-select:none;-moz-user-select:none;-webkit-transition:all 150ms ease;transition:all 150ms ease}radio-button:hover:not([disabled])>[radio]{filter:drop-shadow(0 1px 3px hsla(0, 0%, 10%, .45));-webkit-filter:drop-shadow(0 1px 3px hsla(0, 0%, 10%, .45))}radio-button[disabled]{pointer-events:none;-webkit-pointer-events:none;-moz-pointer-events:none;color:#a5a5a5}radio-button[disabled]>[radio]{background:#ccc}radio-button>label{cursor:pointer;vertical-align:middle}radio-button[checked]>[radio]{border:3px solid #a5a5a5;background:#4c4c4c}check-box{position:relative;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:18px;height:18px;line-height:16px;margin:auto 2px;font-size:18px;background:#fcfcfc;border:2px solid #32b9ea;border-radius:2px;color:#4c4c4c;cursor:pointer;box-shadow:0 1px 3px hsla(0,0%,10%,.3);transition:all 140ms ease}check-box[checked]:before{content:'\u2714'}check-box[checked]{box-shadow:inset 0 0 3px hsla(0,0%,10%,.3),0 1px 3px hsla(0,0%,10%,.3)}check-box:hover{border-color:#fff}input[type=range]{-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:0;border:none;z-index:500;height:23px;background:0 0}input[type=range]::-moz-focus-inner{border:0;outline:0!important}input[type=range]::-webkit-slider-runnable-track{height:8px;cursor:pointer;background:#d8d8d8;border-radius:3px;box-shadow:inset 0 0 5px #b2b2b2;border:0;outline:0!important}input[type=range]::-moz-range-track{height:8px;cursor:pointer;background:#d8d8d8;border:0;outline:0!important;border-radius:3px;box-shadow:inset 0 0 5px #b2b2b2}input[type=range]::-webkit-slider-thumb{box-shadow:0 1px 4px hsla(0,0%,20%,.5),0 -1px 3px hsla(0,0%,85%,.8);height:18px;width:18px;border-radius:100%;background:#f9f9f9;cursor:pointer;-webkit-appearance:none;appearance:none;margin-top:-5px}input[type=range]::-moz-range-thumb{box-shadow:0 1px 4px hsla(0,0%,20%,.5),0 -1px 3px hsla(0,0%,85%,.8);height:18px;width:18px;border:none;border-radius:100%;background:#f9f9f9;cursor:pointer;-moz-appearance:none;appearance:none;margin-top:-7px}text-collapser{position:relative;display:block;text-align:left;width:auto;height:auto}text-collapser>.text{display:none;position:relative;text-align:center;padding-left:10px;padding-top:5px}text-collapser>.indicator::first-letter{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;color:#383838}text-collapser>.indicator{position:relative;font-size:1.04em;display:inline-block;cursor:pointer;text-align:left;padding-right:5px;padding-left:5px;width:100%;height:auto;-webkit-transform:translateZ(10px);transform:translateZ(10px);z-index:2}.flat-input{background:#fff;border-bottom:2px solid #15eb84}text-collapser[open]>.indicator:before{content:'\u25bc '}text-collapser>.indicator:before{content:'\u25b6 '}text-collapser[open]>.text{display:inline-block}material-input{margin:20px auto 10px;position:relative;display:block;height:7mm!important;width:80%;text-align:left}material-input>input{-webkit-box-align:bottom;-webkit-align-items:bottom;-ms-flex-align:bottom;align-items:bottom;width:100%;height:7mm;display:block;padding:0!important;outline:0!important;border:none;border-top-left-radius:2px;border-top-right-radius:2px;border-bottom:1px solid #2a72df;-webkit-transition:all 250ms ease;transition:all 250ms ease}material-input>input:focus:invalid{border-bottom:1px solid red}material-input>input:focus:valid{border-bottom:1px solid green}material-input>input:focus{background:#eaeaea;border-bottom:1px solid grey}material-input>label{display:inline-block;position:absolute;-ms-user-select:none;user-select:none;-webkit-user-select:none;-moz-user-select:none;pointer-events:none;left:0;font-size:.9em;top:2.5mm;color:#666;-webkit-transition:all 240ms ease;transition:all 240ms ease}material-input>input.inputhastext+label{top:-10px;font-size:.75em}material-input>input:focus+label{top:-13px;font-size:.76em;color:#7f7f7f}material-input>span{position:absolute;cursor:pointer;right:0;top:2mm;color:grey;display:none;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAAq0lEQVR42o2RMQoCMRBFcwQ776C11upOekHEnaC47sQbWomIlWfRSm+wZiBFIAzfgYEw/PeKfLdYdyNiuSz5OHV/TLM9TTSvnPMsVx/ikPadBQh8aZ6C3Fyz62bp8SkFEOT4XQWZ670SaBCCeWwBBm0Bcb+xQSwYEFgLOO5L2LdyAEj9ObpGC7gOavuz0QLu0WoBgqhGCEJBOtwBWAly/qG1jInlWYJIoHnlfhcTzX2HEVUjAAAAAElFTkSuQmCC);background-size:14px 14px;background-repeat:no-repeat;width:5mm;height:5mm;font-size:1.4em;-webkit-transition:all 160ms ease;transition:all 160ms ease}material-input>span:hover{color:red}@media all and (max-width:480px){craft-notification{position:relative;text-align:center;width:95%;font-size:.7em;padding-left:4mm;margin:1mm auto}craft-notification>.notification-close{font-size:1em}.notifications-bottom-left,.notifications-bottom-middle,.notifications-bottom-right,.notifications-top-left,.notifications-top-middle,.notifications-top-right{position:relative;width:100%;left:0!important;height:auto;z-index:50}}");
Craft.exec(function(){var q=Craft,t=q.on,l=q.dom,f=q.is,v=q.query,w=q.queryEach;l.ripple=function(a){return l.element("ripple-effect","",a)};Craft.ripple=function(a,c){return w(a,function(a){a.ripplehandle=t(a).Mousedown(function(f){if(1==f.buttons){var g=l.ripple(c);g.Rx=f.clientX;g.Ry=f.clientY;g.appendTo(a)}})})};Craft.directive("ripple",{bind:function(a,c){""==c&&(c=a.getAttr("color-accent")||a.getAttr("color"));Craft.ripple(a,{color:c})},unbind:function(a){a.ripplehandle&&a.ripplehandle.off}});
Craft.newComponent("ripple-effect",{inserted:function(){var a=this,c=void 0,e=a.getAttr("timing")||a.timing||1600,f=l(a.parentNode),g=f.getRect(),p=Math.max(g.width,g.height);a.hasAttr("color-accent")?c=a.getAttr("color-accent"):a.hasAttr("color")?c=a.getAttr("color"):f.hasAttr("color-accent")&&(c=f.getAttr("color-accent"));a.css({width:p+"px",height:p+"px",backgroundColor:c||""}).move(parseInt(a.Rx)-g.left-p/2,parseInt(a.Ry)-g.top-p/2,!1,!0);anime({targets:a,scale:[0,2.5],opacity:[.7,0],duration:e,
easing:"easeInSine",complete:function(){a.remove()}})}});Craft.notification=function(a,c,e,m){f.Num(c)&&(m=e=c,c="");f.int(e)&&(f.String(e)&&(e=Number(e)),e=1==e?"top-left":2==e?"top-right":3==e?"bottom-left":4==e?"bottom-right":5==e?"bottom-middle":6==e?"top-middle":"top-left");var g=v(".notifications-"+e);null==g&&(l(document.body).prepend(l.div("","class=notifications-"+e)),g=v(".notifications-"+e));l.element("craft-notification",a,{duration:m,side:e,state:c}).appendTo(g)};Craft.newComponent("craft-notification",
{inserted:function(){var a=this;a.hasAttr("duration")&&0!=parseInt(a.getAttr("duration"),10)&&setTimeout(function(){a.remove()},parseInt(a.getAttr("duration"),10)||3E3);a.hasAttr("message")&&a.html(a.getAttr("message"));a.append(l.div("X","class=notification-close"));a.clickEvent=t(".notification-close",a).Click(function(c){a.remove()})},destroyed:function(){this.clickEvent.off}});Craft.newComponent("check-box",{inserted:function(){var a=this;a.check=a.Click(a.toggle.bind(a));a.colorAccent=function(c){a.css({borderColor:c})}},
set_value:function(a){this.toggleAttr("checked",a);if(f.Func(this.oncheck))this.oncheck(this.value)},get_value:function(){return this.hasAttr("checked")},toggle:function(a){this.value=f.Bool(a)?a:!this.value},destroyed:function(){this.check.off}});Craft.newComponent("toggle-button",{inserted:function(){this.tclick=this.Click(this.toggle.bind(this));this.toggleAttr("on",this.hasAttr("on")).append(l.span("","class=toggle"))},set_ontoggle:function(a){f.Func(a)&&(this.togglefunc=a)},toggle:function(a){this.toggleAttr("on",
f.Bool(a)?a:void 0);f.Def(this.togglefunc)&&this.togglefunc(this.on)},set_on:function(a){this.toggle(a)},get_on:function(){return this.hasAttr("on")},destroyed:function(){this.tclick.off}});Craft.newComponent("text-collapser",{inserted:function(){var a=this,c=a.html();a.html("");a.append(l.label(a.getAttr("summary"),"class=indicator")).append(l.label(c,"class=text"));a.newSetGet("open",function(c){return a.toggleAttr("open",c)},function(){return a.hasAttr("open")});a.onClick=t(".indicator",a).Click(function(c){a.toggle()})},
toggle:function(a){this.open=f.Bool(a)?a:!this.open},attr:function(a,c,e){"open"===a&&(this.open=this.hasAttr("open"))},destroyed:function(){this.onClick.off}});var y="name pattern value max maxlength min minlength size autofocus autocomplete disabled form_id required".split(" ");Craft.newComponent("material-input",{inserted:function(){var a=this,c=l.input();a.html("");a.newSetGet("value",function(a){c.Text(a).toggleClass("inputhastext",0<c.value.length||c.value);p()},function(){return c.value});
var e=a.getAttr("type");f.Null(e)?c.setAttr("type","text"):["submit","button","range"].some(function(a){return e!=a})?c.setAttr("type",e):console.warn("<material-input> is only for text type inputs it will default to text if wrong type is chosen");y.forEach(function(e){a.hasAttr(e)&&c.setAttr(e,a.getAttr(e))});a.append(c,l.span());c=l("input",a);a.input=c;var m=v("span",a),g=void 0,p=function(){g=0<c.value.length;c.toggleClass("inputhastext",!g);m.style.display=g?"block":"";return a};a.onblur=p;if(a.hasAttr("label")||
a.hasAttr("placeholder"))l.label(a.getAttr("label")||a.getAttr("placeholder")).appendTo(a),p();a.onInput=c.Input(function(c){(a.hasAttr("label")||a.hasAttr("placeholder"))&&p()});a.onClick=t("span",a).Click(function(c){a.value="";p()});a.append(m)},attr:function(a,c,e,m){e=this.input;f.Def(e)&&y.includes(a)&&m&&e.setAttr(a,c)}});Craft.newComponent("radio-button",{created:function(){var a=this;(a.hasAttr("name")||a.hasAttr("label"))&&a.append(l.label(a.getAttr("name")||a.getAttr("label")));a.prepend(l.span("",
"radio"));a.CheckGroup=function(a){var e=[];w("radio-button",a.parentNode,function(a){a.hasAttr("checked")&&e.push(a)});1<e.length&&e.forEach(function(e){e!=a&&(e.checked=!1)})};a.newSetGet("checked",function(c){a.toggleAttr("checked",c);a.hasAttr("checked")&&a.CheckGroup(a)},function(){return a.hasAttr("checked")});a.Click(function(c){a.checked=!a.checked})},attr:function(a,c,e,f){"checked"===a&&f?this.CheckGroup(this):"name"!==a&&"label"!==a||!this.hasAttr("name")&&!this.hasAttr("label")||(this.name=
this.getAttr("name")||this.getAttr("label"))}});Craft.directive("tooltip",{bind:function(a,c){function e(){g.style.display=m?"block":"none";setTimeout(function(){g.style.opacity=m?"1":"0"},10)}w(".craft-tooltip",function(c){c.owner==a?(c.EventListeners.forEach(function(a){a.off}),c.remove()):f.Def(c.owner)||c.remove()});var m=!1,g=l.span(a.getAttr("tooltip")||"","direction="+(a.getAttr("tooltip-direction")||"right")+"&class=craft-tooltip");g.owner=a;g.EventListeners=[];a.hasAttr("ripple")&&(g.style.borderColor=
a.getAttr("ripple"));a.hasAttr("color-accent")&&(g.style.borderColor=a.getAttr("color-accent"));g.mover=a.Mousemove(function(a){g.move(a.clientX,a.clientY)}).off;g.EventListeners.push(a.Mouseenter(function(c){m=!0;g.mover.on;if(c.target!==a||c.target.parentNode!==a)a.hasAttr("tooltip-delay")?setTimeout(e,parseInt(a.getAttr("tooltip-delay"))):e()}));g.EventListeners.push(a.Mouseleave(function(a){m=!1;g.mover.off;e()}));a.observeAttrs(function(c,h,m,l){"tooltip"===c&&l?g.html(h):"tooltip"!==c||l?"tooltip-delay"===
c&&l?setTimeout(e,parseInt(a.getAttr("tooltip-delay"))):"tooltip-direction"===c&&l&&g.setAttr("direction",h||"right"):(f.Def(g.EventListeners)&&g.EventListeners.forEach(function(a){a.off}),g.remove())});g.appendTo(document.body)}});Craft.directive("movable",{bind:function(a){a.style.position="fixed";a.mlisteners=[];var c=a.getRect(),e=v("[movehandle]",a),f=0,g=0,l=t(window).Mousemove(function(e){a.move(e.clientX-f+c.left,e.clientY-g+c.top)}).off;a.mlisteners.push(t(null==e?a:e).Mousedown(function(e){if(1==
e.button||1==e.buttons)c=a.getRect(),f=e.clientX,g=e.clientY,l.on}));a.mlisteners.push(t(document).Mouseup(function(a){l.off}))},unbind:function(a){a.mlisteners.forEach(function(a){a.off});delete a.mlisteners}})});
<commit_msg>updated web components<commit_after>'use strict';(function(q,t){"function"===typeof define&&define.amd?define([],t):"object"===typeof module&&module.exports?module.exports=t():q.anime=t()})(this,function(){function q(b,k){if(b.includes)return b.includes(k);f.array(b)||(b=Array.prototype.slice.call(b));return 0===b.length?!1:b.some(function(b){return b===searchitem})}var t={duration:1E3,delay:0,loop:!1,autoplay:!0,direction:"normal",easing:"easeOutElastic",elasticity:400,round:!1,begin:void 0,update:void 0,complete:void 0},l="translateX translateY translateZ rotate rotateX rotateY rotateZ scale scaleX scaleY scaleZ skewX skewY".split(" "),
f=function(){return{array:Array.isArray,object:function(b){return q(Object.prototype.toString.call(b),"Object")},html:function(b){return b instanceof NodeList||b instanceof HTMLCollection},node:function(b){return b.nodeType},svg:function(b){return b instanceof SVGElement},number:function(b){return!isNaN(parseInt(b))},string:function(b){return"string"===typeof b},func:function(b){return"function"===typeof b},undef:function(b){return"undefined"===typeof b},null:function(b){return"null"===typeof b},
hex:function(b){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(b)},rgb:function(b){return/^rgb/.test(b)},rgba:function(b){return/^rgba/.test(b)},hsl:function(b){return/^hsl/.test(b)},color:function(b){return f.hex(b)||f.rgb(b)||f.rgba(b)||f.hsl(b)}}}(),v=function(){var b={},k={Sine:function(b){return 1-Math.cos(b*Math.PI/2)},Circ:function(b){return 1-Math.sqrt(1-b*b)},Elastic:function(b,k){if(0===b||1===b)return b;k=1-Math.min(k,998)/1E3;b=b/1-1;return-(Math.pow(2,10*b)*Math.sin(2*(b-k/(2*Math.PI)*
Math.asin(1))*Math.PI/k))},Back:function(b){return b*b*(3*b-2)},Bounce:function(b){for(var k,a=4;b<((k=Math.pow(2,--a))-1)/11;);return 1/Math.pow(4,3-a)-7.5625*Math.pow((3*k-2)/22-b,2)}};["Quad","Cubic","Quart","Quint","Expo"].forEach(function(b,a){k[b]=function(b){return Math.pow(b,a+2)}});Object.keys(k).forEach(function(a){var n=k[a];b["easeIn"+a]=n;b["easeOut"+a]=function(b,k){return 1-n(1-b,k)};b["easeInOut"+a]=function(b,k){return.5>b?n(2*b,k)/2:1-n(-2*b+2,k)/2}});b.linear=function(b){return b};
return b}(),w=function(b){return f.string(b)?b:""+b},y=function(b){return b.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()},a=function(b){if(f.color(b))return!1;try{return document.querySelectorAll(b)}catch(k){return!1}},c=function(b){if(f.array(b))return b;f.string(b)&&(b=a(b)||b);return f.html(b)?[].slice.call(b):[b]},e=function(b){return Array.prototype.reduce.call(b,function(b,a){return b.concat(f.array(a)?e(a):a)},[])},m=function(b,k){var a={};b.forEach(function(b){var c=JSON.stringify(k.map(function(k){return b[k]}));
a[c]=a[c]||[];a[c].push(b)});return Object.keys(a).map(function(b){return a[b]})},g=function(b){return b.filter(function(b,a,n){return n.indexOf(b)===a})},p=function(b){var a={},d;for(d in b)a[d]=b[d];return a},h=function(b,a){for(var d in a)b[d]=f.undef(b[d])?a[d]:b[d];return b},L=function(b){b=b.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(b,a,k,d){return a+a+k+k+d+d});var a=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(b);b=parseInt(a[1],16);var d=parseInt(a[2],16),a=parseInt(a[3],16);
return"rgb("+b+","+d+","+a+")"},z=function(b,a,d){0>d&&(d+=1);1<d&&--d;return d<1/6?b+6*(a-b)*d:.5>d?a:d<2/3?b+(a-b)*(2/3-d)*6:b},u=function(b){return/([\+\-]?[0-9|auto\.]+)(%|px|pt|em|rem|in|cm|mm|ex|pc|vw|vh|deg)?/.exec(b)[2]},C=function(b,a,d){return u(a)?a:q(b,"translate")?u(d)?a+u(d):a+"px":q(b,"rotate")||q(b,"skew")?a+"deg":a},D=function(b,a){if((f.node(b)||f.svg(b))&&q(l,a))return"transform";if((f.node(b)||f.svg(b))&&"transform"!==a&&A(b,a))return"css";if((f.node(b)||f.svg(b))&&(b.getAttribute(a)||
f.svg(b)&&b[a]))return"attribute";if(!f.null(b[a])&&!f.undef(b[a]))return"object"},A=function(b,a){if(a in b.style)return getComputedStyle(b).getPropertyValue(y(a))||"0"},M=function(b,a){var d=q(a,"scale")?1:0;b=b.style.transform;if(!b)return d;for(var n=/(\w+)\((.+?)\)/g,c=[],e=[],f=[];c=n.exec(b);)e.push(c[1]),f.push(c[2]);b=f.filter(function(b,d){return e[d]===a});return b.length?b[0]:d},E=function(b,a){var d=D(b,a);return"transform"===d?M(b,a):"css"===d?A(b,a):"attribute"===d?b.getAttribute(a):
b[a]||0},F=function(b,a,d){if(f.color(a)){if(!f.rgb(a)&&!f.rgba(a))if(f.hex(a))a=L(a);else if(f.hsl(a)){b=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(a);a=parseInt(b[1])/360;d=parseInt(b[2])/100;b=parseInt(b[3])/100;if(0===d)d=b=a=b;else{var n=.5>b?b*(1+d):b+d-b*d,c=2*b-n;d=z(c,n,a+1/3);b=z(c,n,a);a=z(c,n,a-1/3)}a="rgb("+255*d+","+255*b+","+255*a+")"}else a=void 0;return a}if(u(a))return a;b=u(b.to)?u(b.to):u(b.from);!b&&d&&(b=u(d));return b?a+b:a},G=function(b){var a=/-?\d*\.?\d+/g;return{original:b,
numbers:w(b).match(a)?w(b).match(a).map(Number):[0],strings:w(b).split(a)}},N=function(b,a,d){return a.reduce(function(a,k,c){return a+b[c-1]+(k?k:d[c-1])})},O=function(b){return(b?e(f.array(b)?b.map(c):c(b)):[]).map(function(b,a){return{target:b,id:a}})},P=function(b,a){var d=[],n;for(n in b)if(!t.hasOwnProperty(n)&&"targets"!==n){var c=f.object(b[n])?p(b[n]):{value:b[n]};c.name=n;d.push(h(c,a))}return d},H=function(b,a,d,n){"transform"===d?(d=b+("("+C(b,a.from,a.to)+")"),a=b+("("+C(b,a.to)+")")):
(b="css"===d?A(n,b):void 0,d=F(a,a.from,b),a=F(a,a.to,b));return{from:G(d),to:G(a)}},Q=function(b,a){var d=[];b.forEach(function(n,e){var g=n.target;return a.forEach(function(a){var k=D(g,a.name);if(k){var m;m=a.name;var h=a.value,h=c(f.func(h)?h(g,e):h);m={from:1<h.length?h[0]:E(g,m),to:1<h.length?h[1]:h[0]};h=p(a);h.animatables=n;h.type=k;h.from=H(a.name,m,h.type,g).from;h.to=H(a.name,m,h.type,g).to;h.round=f.color(m.from)||h.round?1:0;h.delay=(f.func(h.delay)?h.delay(g,e,b.length):h.delay)/r.speed;
h.duration=(f.func(h.duration)?h.duration(g,e,b.length):h.duration)/r.speed;d.push(h)}})});return d},R=function(b,a){b=Q(b,a);return m(b,["name","from","to","delay","duration"]).map(function(b){var a=p(b[0]);a.animatables=b.map(function(b){return b.animatables});a.totalDuration=a.delay+a.duration;return a})},B=function(b,a){b.tweens.forEach(function(d){var c=d.from,e=b.duration-(d.delay+d.duration);d.from=d.to;d.to=c;a&&(d.delay=e)});b.reversed=b.reversed?!1:!0},I=function(b){var a=[],d=[];b.tweens.forEach(function(b){if("css"===
b.type||"transform"===b.type)a.push("css"===b.type?y(b.name):"transform"),b.animatables.forEach(function(b){return d.push(b.target)})});return{properties:g(a).join(", "),elements:g(d)}},S=function(b){var a=I(b);a.elements.forEach(function(b){return b.style.willChange=a.properties})},T=function(b){I(b).elements.forEach(function(b){return b.style.removeProperty("will-change")})},U=function(b,a){var d=b.path,c=b.value*a,e=function(e){return d.getPointAtLength(1<a?b.value+(e||0):c+(e||0))},h=e(),f=e(-1),
e=e(1),g=b.name;return"translateX"===g?h.x:"translateY"===g?h.y:"rotate"===g?180*Math.atan2(e.y-f.y,e.x-f.x)/Math.PI:void 0},V=function(b,a){var d=Math.min(Math.max(a-b.delay,0),b.duration)/b.duration;a=b.to.numbers.map(function(a,c){c=b.from.numbers[c];var k=v[b.easing](d,b.elasticity);a=b.path?U(b,k):c+k*(a-c);return b.round?Math.round(a*b.round)/b.round:a});return N(a,b.to.strings,b.from.strings)},J=function(b,a){var d=void 0;b.time=Math.min(a,b.duration);b.progress=b.time/b.duration*100;b.tweens.forEach(function(b){b.currentValue=
V(b,a);var c=b.currentValue;b.animatables.forEach(function(a){var k=a.id;switch(b.type){case "css":a.target.style[b.name]=c;break;case "attribute":a.target.setAttribute(b.name,c);break;case "object":a.target[b.name]=c;break;case "transform":d||(d={}),d[k]||(d[k]=[]),d[k].push(c)}})});if(d)for(var c in d)b.animatables[c].target.style.transform=d[c].join(" ");b.settings.update&&b.settings.update(b)},K=function(b){var a={animatables:O(b.targets),settings:h(b,t),time:0,progress:0,running:!1,ended:!1};
a.properties=P(b,a.settings);a.tweens=R(a.animatables,a.properties);a.duration=a.tweens.length?Math.max.apply(Math,a.tweens.map(function(a){return a.totalDuration})):b.duration/r.speed;return a},x=[],r=function(a){var c={},d=K(a);c.tick=function(){if(d.running){d.ended=!1;c.now=+new Date;c.current=c.last+c.now-c.start;J(d,c.current);var a=d.settings;a.begin&&c.current>=a.delay&&(a.begin(d),a.begin=void 0);c.current>=d.duration?(a.loop?(c.start=+new Date,"alternate"===a.direction&&B(d,!0),f.number(a.loop)&&
a.loop--,c.raf=requestAnimationFrame(c.tick)):(d.ended=!0,a.complete&&a.complete(d),d.pause()),c.last=0):c.raf=requestAnimationFrame(c.tick)}};d.seek=function(a){return J(d,a/100*d.duration)};d.pause=function(){d.running=!1;cancelAnimationFrame(c.raf);T(d);var a=x.indexOf(d);-1<a&&x.splice(a,1)};d.play=function(a){a&&(d=h(K(h(a,d.settings)),d));d.pause();d.running=!0;c.start=+new Date;c.last=d.ended?0:d.time;a=d.settings;"reverse"===a.direction&&B(d);"alternate"!==a.direction||a.loop||(a.loop=1);
S(d);x.push(d);c.raf=requestAnimationFrame(c.tick)};d.restart=function(){d.reversed&&B(d);d.pause();d.seek(0);d.play()};d.settings.autoplay&&d.play();return d};r.speed=1;r.list=x;r.remove=function(a){a=e(f.array(a)?a.map(c):c(a));for(var h,d=x.length-1;0<=d;d--){h=x[d];for(var g,m=h.tweens.length-1;0<=m;m--){g=h.tweens[m];for(var p=g.animatables.length-1;0<=p;p--)q(a,g.animatables[p].target)&&(g.animatables.splice(p,1),g.animatables.length||h.tweens.splice(m,1),h.tweens.length||h.pause())}}};r.easings=
v;r.getValue=E;r.path=function(b){b=f.string(b)?a(b)[0]:b;return{path:b,value:b.getTotalLength()}};r.random=function(a,c){return Math.floor(Math.random()*(c-a+1))+a};r.includes=q;r.dupeObj=p;r.mergeObjs=h;r.flattenArr=e;r.removeArrDupes=g;return r});Craft.addCSS(".craft-tooltip{position:fixed;box-sizing:content-box!important;overflow:visible;display:none;min-width:18px;width:auto;font-size:15px;height:26px;line-height:26px;padding-left:15px;padding-right:15px;background:#ededed;border-radius:3px;white-space:nowrap;color:#696662;-webkit-filter:drop-shadow(0 1px 2px hsla(0, 0%, 10%, .35));-moz-filter:drop-shadow(0 1px 2px hsla(0, 0%, 10%, .35));filter:drop-shadow(0 1px 2px hsla(0, 0%, 10%, .35));-webkit-transition:opacity 450ms ease;transition:opacity 450ms ease;z-index:5000}check-box,material-input,material-input>*,radio-button,radio-button>*,toggle-button{box-sizing:border-box}.craft-tooltip[direction=up],.craft-tooltip[direction=down]{height:22px;line-height:22px}.craft-tooltip:before{position:absolute;content:' ';display:block;pointer-events:none;-webkit-pointer-events:none;-moz-pointer-events:none;border-style:solid;width:0;height:0;z-index:1}.craft-tooltip[direction=right]{border-right:3px solid #696969;-webkit-transform:translateY(-15px) translateX(25px);transform:translateY(-15px) translateX(25px)}.craft-tooltip[direction=left]{border-left:3px solid #696969;-webkit-transform:translateY(-15px) translateX(calc(-100% - 25px));transform:translateY(-15px) translateX(calc(-100% - 25px))}.craft-tooltip[direction=down]{border-bottom:2px solid #696969;-webkit-transform:translateY(38px) translateX(-50%);transform:translateY(38px) translateX(-50%)}.craft-tooltip[direction=up]{border-top:2px solid #696969;-webkit-transform:translateY(-38px) translateX(-50%);transform:translateY(-38px) translateX(-50%)}.craft-tooltip[direction=right]:before{left:-20px;border-width:13px 22.5px 13px 0;border-color:transparent #ededed transparent transparent}.craft-tooltip[direction=left]:before{right:-20px;border-width:13px 0 13px 22.5px;border-color:transparent transparent transparent #ededed}.craft-tooltip[direction=down]:before{top:-12px;left:calc(50% - 12.5px);border-width:0 12.5px 12px;border-color:transparent transparent #ededed}.craft-tooltip[direction=up]:before{bottom:-12px;left:calc(50% - 12.5px);border-width:12px 12.5px 0;border-color:#ededed transparent transparent}[movehandle]{cursor:move}ripple-effect{display:inline-block;position:absolute;pointer-events:none;user-select:none;-moz-user-select:none;-webkit-user-select:none;opacity:.75;background:#d6c11b;border-radius:100%;transform:scale(0);-webkit-transform:scale(0);-moz-transform:scale(0);z-index:0;will-change:unset!important}.hz-divider{margin:5px 0;border-top:1px solid #7f7f7f;font-size:.9em}.vert-divider{margin:5px 0;border-left:1px solid #666}toggle-button{overflow:visible!important;position:relative;display:inline-block;width:10mm;height:4mm;border-radius:4mm;background:#e9e9e9;box-shadow:inset 0 0 3px hsla(0,0%,20%,.2);cursor:pointer;-webkit-transition:all 130ms ease;transition:all 130ms ease}toggle-button>.toggle{position:absolute;display:inline-block;width:5mm;height:5mm;top:-.45mm;left:0;border-radius:100%;background:#fff;box-shadow:0 2px 5px hsla(0,0%,20%,.2),0 0 2px hsla(0,0%,20%,.2);-webkit-transition:all 120ms ease;transition:all 120ms ease}toggle-button[on]>.toggle{left:calc(100% - 5mm)}toggle-button:hover{background:#ebb4b1}toggle-button[on]:hover{background:#adeeb7}.notifications-bottom-left,.notifications-bottom-middle,.notifications-bottom-right,.notifications-top-left,.notifications-top-middle,.notifications-top-right{position:fixed;width:auto;height:auto;z-index:50}.notifications-top-left{top:0;left:0}.notifications-top-right{top:0;right:0}.notifications-top-middle{top:0;left:30%;right:30%;width:40%}.notifications-bottom-left{bottom:0;left:0}.notifications-bottom-right{bottom:0;right:0}.notifications-bottom-middle{bottom:0;left:30%;right:30%;width:40%}craft-notification{position:relative;display:block;pointer-events:all;-webkit-pointer-events:all;-moz-pointer-events:all;border-bottom-left-radius:2px;border-top-left-radius:2px;margin:2mm;padding-left:1mm;padding-right:6mm;height:6mm;line-height:6mm;width:auto;font-size:.8em;background:#fff;color:#282828;box-shadow:0 2px 5px rgba(47,47,47,.17);z-index:100000}craft-notification[state=bad]{border-left:4px solid red}craft-notification[state=good]{border-left:4px solid green}craft-notification[state=warning]{border-left:4px solid #dfb007}craft-notification>.notification-close{position:absolute;text-align:center;right:0;top:0;height:6mm;line-height:6mm;font-size:1.2em;width:6mm;color:red;text-shadow:0 1px 2px rgba(52,52,52,.29);cursor:not-allowed;z-index:5}[class^=flatbutton],[class^=pushbutton]{position:relative;display:inline-block;overflow:hidden;box-sizing:border-box;vertical-align:top;height:10mm;line-height:9.5mm;text-align:center;width:auto;min-width:16mm;margin:3px 0;padding-left:10px;padding-right:10px;outline:0!important;border:1px solid #737373;border-radius:2px;background:#b3b3b3;-ms-user-select:none;user-select:none;-moz-user-select:none;-webkit-user-select:none;cursor:pointer;-webkit-transition:all .2s ease,border .2s ease-in,boxShadow .1s linear,-webkit-filter .1s ease-in;transition:all .2s ease,border .2s ease-in,boxShadow .1s linear,-webkit-filter .1s ease-in;transition:all .2s ease,border .2s ease-in,boxShadow .1s linear,filter .1s ease-in;transition:all .2s ease,border .2s ease-in,boxShadow .1s linear,filter .1s ease-in,-webkit-filter .1s ease-in}button:active,input[type=button]:active,input[type=submit]:active{outline:0!important;box-shadow:inset 0 2px 4px hsla(0,0%,10%,.26)!important}button:hover,input[type=button]:hover,input[type=submit]:hover{outline:0!important;box-shadow:0 2px 4px hsla(0,0%,10%,.26)}button::-moz-focus-inner,input[type=button]::-moz-focus-inner,input[type=submit]::-moz-focus-inner{border:0;outline:0!important}[class*=flatbutton]{border-radius:3px;font-weight:600;font-size:15px;background:hsla(0,0%,50%,.01);color:#696969}[class*=flatbutton]:hover{-webkit-transform:translateZ(5px);transform:translateZ(5px);color:#fff;background:#595959}[class*=flatbutton]:active{box-shadow:inset 0 2px 2px hsla(0,0%,10%,.45);outline:0!important;filter:saturate(.95);-moz-filter:saturate(.95);-webkit-filter:saturate(.95)}.flatbutton-go{border-color:#209814;color:#209814}.flatbutton-info{border-color:#3074e3;color:#3074e3}.flatbutton-danger{border-color:#d11717;color:#d11717}.flatbutton-warning{border-color:#dfba1c;color:#dfba1c}.flatbutton-go:hover{background:#209814}.flatbutton-info:hover{background:#3074e3}.flatbutton-danger:hover{background:#d11717}.flatbutton-warning:hover{background:#dfba1c}code{padding:.2rem .5rem;margin:0 .2rem;font-size:90%;white-space:nowrap;background:#F1F1F1;border:1px solid #E1E1E1;border-radius:4px}pre>code{display:block;padding:1rem 1.5rem;white-space:pre}check-box,radio-button,radio-button>[radio],radio-button>label{display:inline-block}ul{list-style:circle inside}ol{list-style:decimal inside}ol,ul{padding-left:0;margin-top:0}ol ol,ol ul,ul ol,ul ul{margin:1.5rem 0 1.5rem 3rem;font-size:90%}li{margin-bottom:1rem}input[type=range],material-input{box-sizing:content-box!important}radio-button{position:relative;overflow:visible;cursor:pointer;color:#333}radio-button+radio-button,radio-button~radio-button{margin:auto 5px}radio-button>[radio]{vertical-align:middle;width:16px;height:16px;margin-right:5px;border-radius:100%;background:#999;-ms-user-select:none;user-select:none;-webkit-user-select:none;-moz-user-select:none;-webkit-transition:all 150ms ease;transition:all 150ms ease}radio-button:hover:not([disabled])>[radio]{filter:drop-shadow(0 1px 3px hsla(0, 0%, 10%, .45));-webkit-filter:drop-shadow(0 1px 3px hsla(0, 0%, 10%, .45))}radio-button[disabled]{pointer-events:none;-webkit-pointer-events:none;-moz-pointer-events:none;color:#a5a5a5}radio-button[disabled]>[radio]{background:#ccc}radio-button>label{cursor:pointer;vertical-align:middle}radio-button[checked]>[radio]{border:3px solid #a5a5a5;background:#4c4c4c}check-box{position:relative;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:18px;height:18px;line-height:16px;margin:auto 2px;font-size:18px;background:#fcfcfc;border:2px solid #32b9ea;border-radius:2px;color:#4c4c4c;cursor:pointer;box-shadow:0 1px 3px hsla(0,0%,10%,.3);transition:all 140ms ease}check-box[checked]:before{content:'\u2714'}check-box[checked]{box-shadow:inset 0 0 3px hsla(0,0%,10%,.3),0 1px 3px hsla(0,0%,10%,.3)}check-box:hover{border-color:#fff}input[type=range]{-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:0;border:none;z-index:500;height:23px;background:0 0}input[type=range]::-moz-focus-inner{border:0;outline:0!important}input[type=range]::-webkit-slider-runnable-track{height:8px;cursor:pointer;background:#d8d8d8;border-radius:3px;box-shadow:inset 0 0 5px #b2b2b2;border:0;outline:0!important}input[type=range]::-moz-range-track{height:8px;cursor:pointer;background:#d8d8d8;border:0;outline:0!important;border-radius:3px;box-shadow:inset 0 0 5px #b2b2b2}input[type=range]::-webkit-slider-thumb{box-shadow:0 1px 4px hsla(0,0%,20%,.5),0 -1px 3px hsla(0,0%,85%,.8);height:18px;width:18px;border-radius:100%;background:#f9f9f9;cursor:pointer;-webkit-appearance:none;appearance:none;margin-top:-5px}input[type=range]::-moz-range-thumb{box-shadow:0 1px 4px hsla(0,0%,20%,.5),0 -1px 3px hsla(0,0%,85%,.8);height:18px;width:18px;border:none;border-radius:100%;background:#f9f9f9;cursor:pointer;-moz-appearance:none;appearance:none;margin-top:-7px}text-collapser{position:relative;display:block;text-align:left;width:auto;height:auto}text-collapser>.text{display:none;position:relative;text-align:center;padding-left:10px;padding-top:5px}text-collapser>.indicator::first-letter{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;color:#383838}text-collapser>.indicator{position:relative;font-size:1.04em;display:inline-block;cursor:pointer;text-align:left;padding-right:5px;padding-left:5px;width:100%;height:auto;-webkit-transform:translateZ(10px);transform:translateZ(10px);z-index:2}.flat-input{background:#fff;border-bottom:2px solid #15eb84}text-collapser[open]>.indicator:before{content:'\u25bc '}text-collapser>.indicator:before{content:'\u25b6 '}text-collapser[open]>.text{display:inline-block}material-input{margin:20px auto 10px;position:relative;display:block;height:7mm!important;width:80%;text-align:left}material-input>input{-webkit-box-align:bottom;-webkit-align-items:bottom;-ms-flex-align:bottom;align-items:bottom;width:100%;height:7mm;display:block;padding:0!important;outline:0!important;border:none;border-top-left-radius:2px;border-top-right-radius:2px;border-bottom:1px solid #2a72df;-webkit-transition:all 250ms ease;transition:all 250ms ease}material-input>input:focus:invalid{border-bottom:1px solid red}material-input>input:focus:valid{border-bottom:1px solid green}material-input>input:focus{background:#eaeaea;border-bottom:1px solid grey}material-input>label{display:inline-block;position:absolute;-ms-user-select:none;user-select:none;-webkit-user-select:none;-moz-user-select:none;pointer-events:none;left:0;font-size:.9em;top:2.5mm;color:#666;-webkit-transition:all 240ms ease;transition:all 240ms ease}material-input>input.inputhastext+label{top:-10px;font-size:.75em}material-input>input:focus+label{top:-13px;font-size:.76em;color:#7f7f7f}material-input>span{position:absolute;cursor:pointer;right:0;top:2mm;color:grey;display:none;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAAq0lEQVR42o2RMQoCMRBFcwQ776C11upOekHEnaC47sQbWomIlWfRSm+wZiBFIAzfgYEw/PeKfLdYdyNiuSz5OHV/TLM9TTSvnPMsVx/ikPadBQh8aZ6C3Fyz62bp8SkFEOT4XQWZ670SaBCCeWwBBm0Bcb+xQSwYEFgLOO5L2LdyAEj9ObpGC7gOavuz0QLu0WoBgqhGCEJBOtwBWAly/qG1jInlWYJIoHnlfhcTzX2HEVUjAAAAAElFTkSuQmCC);background-size:14px 14px;background-repeat:no-repeat;width:5mm;height:5mm;font-size:1.4em;-webkit-transition:all 160ms ease;transition:all 160ms ease}material-input>span:hover{color:red}@media all and (max-width:480px){craft-notification{position:relative;text-align:center;width:95%;font-size:.7em;padding-left:4mm;margin:1mm auto}craft-notification>.notification-close{font-size:1em}.notifications-bottom-left,.notifications-bottom-middle,.notifications-bottom-right,.notifications-top-left,.notifications-top-middle,.notifications-top-right{position:relative;width:100%;left:0!important;height:auto;z-index:50}}");
Craft.exec(function(){var q=Craft,t=q.on,l=q.dom,f=q.is,v=q.query,w=q.queryEach;l.ripple=function(a){return l.element("ripple-effect","",a)};Craft.ripple=function(a,c){return w(a,function(a){a.ripplehandle=t(a).Mousedown(function(f){if(1==f.buttons){var g=l.ripple(c);g.Rx=f.clientX;g.Ry=f.clientY;g.appendTo(a)}})})};Craft.directive("ripple",{bind:function(a,c){""==c&&(c=a.getAttr("color-accent")||a.getAttr("color"));Craft.ripple(a,{color:c})},unbind:function(a){a.ripplehandle&&a.ripplehandle.off}});
Craft.newComponent("ripple-effect",{inserted:function(){var a=this,c=void 0,e=Number(a.getAttr("ripple-timing"))||a.timing||1600,f=l(a.parentNode),g=f.getRect(),p=Math.max(g.width,g.height);a.hasAttr("color")?c=a.getAttr("color"):f.hasAttr("color-accent")&&(c=f.getAttr("color-accent"));a.css({width:p+"px",height:p+"px",backgroundColor:c||""}).move(parseInt(a.Rx)-g.left-p/2,parseInt(a.Ry)-g.top-p/2,!1,!0);anime({targets:a,scale:[0,2.5],opacity:[.7,0],duration:e,easing:"easeInSine",complete:function(){a.remove()}})}});
Craft.notification=function(a,c,e,m){f.Num(c)&&(m=e=c,c="");f.int(e)&&(f.String(e)&&(e=Number(e)),e=1==e?"top-left":2==e?"top-right":3==e?"bottom-left":4==e?"bottom-right":5==e?"bottom-middle":6==e?"top-middle":"top-left");var g=v(".notifications-"+e);null==g&&(l(document.body).prepend(l.div("","class=notifications-"+e)),g=v(".notifications-"+e));l.element("craft-notification",a,{duration:m,side:e,state:c}).appendTo(g)};Craft.newComponent("craft-notification",{inserted:function(){var a=this;a.hasAttr("duration")&&
0!=parseInt(a.getAttr("duration"),10)&&setTimeout(function(){a.remove()},parseInt(a.getAttr("duration"),10)||3E3);a.hasAttr("message")&&a.html(a.getAttr("message"));a.append(l.div("X","class=notification-close"));a.clickEvent=t(".notification-close",a).Click(function(c){a.remove()})},destroyed:function(){this.clickEvent.off}});Craft.newComponent("check-box",{inserted:function(){var a=this;a.check=a.Click(a.toggle.bind(a));a.colorAccent=function(c){a.css({borderColor:c})}},set_value:function(a){this.toggleAttr("checked",
a);if(f.Func(this.oncheck))this.oncheck(this.value)},get_value:function(){return this.hasAttr("checked")},toggle:function(a){this.value=f.Bool(a)?a:!this.value},destroyed:function(){this.check.off}});Craft.newComponent("toggle-button",{inserted:function(){this.tclick=this.Click(this.toggle.bind(this));this.toggleAttr("on",this.hasAttr("on")).append(l.span("","class=toggle"))},set_ontoggle:function(a){f.Func(a)&&(this.togglefunc=a)},toggle:function(a){this.toggleAttr("on",f.Bool(a)?a:void 0);f.Def(this.togglefunc)&&
this.togglefunc(this.on)},set_on:function(a){this.toggle(a)},get_on:function(){return this.hasAttr("on")},destroyed:function(){this.tclick.off}});Craft.newComponent("text-collapser",{inserted:function(){var a=this,c=a.html();a.html("");a.append(l.label(a.getAttr("summary"),"class=indicator")).append(l.label(c,"class=text"));a.newSetGet("open",function(c){return a.toggleAttr("open",c)},function(){return a.hasAttr("open")});a.onClick=t(".indicator",a).Click(function(c){a.toggle()})},toggle:function(a){this.open=
f.Bool(a)?a:!this.open},attr:function(a,c,e){"open"===a&&(this.open=this.hasAttr("open"))},destroyed:function(){this.onClick.off}});var y="name pattern value max maxlength min minlength size autofocus autocomplete disabled form_id required".split(" ");Craft.newComponent("material-input",{inserted:function(){var a=this,c=l.input();a.html("");a.newSetGet("value",function(a){c.Text(a).toggleClass("inputhastext",0<c.value.length||c.value);p()},function(){return c.value});var e=a.getAttr("type");f.Null(e)?
c.setAttr("type","text"):["submit","button","range"].some(function(a){return e!=a})?c.setAttr("type",e):console.warn("<material-input> is only for text type inputs it will default to text if wrong type is chosen");y.forEach(function(e){a.hasAttr(e)&&c.setAttr(e,a.getAttr(e))});a.append(c,l.span());c=l("input",a);a.input=c;var m=v("span",a),g=void 0,p=function(){g=0<c.value.length;c.toggleClass("inputhastext",!g);m.style.display=g?"block":"";return a};a.onblur=p;if(a.hasAttr("label")||a.hasAttr("placeholder"))l.label(a.getAttr("label")||
a.getAttr("placeholder")).appendTo(a),p();a.onInput=c.Input(function(c){(a.hasAttr("label")||a.hasAttr("placeholder"))&&p()});a.onClick=t("span",a).Click(function(c){a.value="";p()});a.append(m)},attr:function(a,c,e,m){e=this.input;f.Def(e)&&y.includes(a)&&m&&e.setAttr(a,c)}});Craft.newComponent("radio-button",{created:function(){var a=this;(a.hasAttr("name")||a.hasAttr("label"))&&a.append(l.label(a.getAttr("name")||a.getAttr("label")));a.prepend(l.span("","radio"));a.CheckGroup=function(a){var e=
[];w("radio-button",a.parentNode,function(a){a.hasAttr("checked")&&e.push(a)});1<e.length&&e.forEach(function(e){e!=a&&(e.checked=!1)})};a.newSetGet("checked",function(c){a.toggleAttr("checked",c);a.hasAttr("checked")&&a.CheckGroup(a)},function(){return a.hasAttr("checked")});a.Click(function(c){a.checked=!a.checked})},attr:function(a,c,e,f){"checked"===a&&f?this.CheckGroup(this):"name"!==a&&"label"!==a||!this.hasAttr("name")&&!this.hasAttr("label")||(this.name=this.getAttr("name")||this.getAttr("label"))}});
Craft.directive("tooltip",{bind:function(a,c){function e(){g.style.display=m?"block":"none";setTimeout(function(){g.style.opacity=m?"1":"0"},10)}w(".craft-tooltip",function(c){c.owner==a?(c.EventListeners.forEach(function(a){a.off}),c.remove()):f.Def(c.owner)||c.remove()});var m=!1,g=l.span(a.getAttr("tooltip")||"","direction="+(a.getAttr("tooltip-direction")||"right")+"&class=craft-tooltip");g.owner=a;g.EventListeners=[];a.hasAttr("ripple")&&(g.style.borderColor=a.getAttr("ripple"));a.hasAttr("color-accent")&&
(g.style.borderColor=a.getAttr("color-accent"));g.mover=a.Mousemove(function(a){g.move(a.clientX,a.clientY)}).off;g.EventListeners.push(a.Mouseenter(function(c){m=!0;g.mover.on;if(c.target!==a||c.target.parentNode!==a)a.hasAttr("tooltip-delay")?setTimeout(e,parseInt(a.getAttr("tooltip-delay"))):e()}));g.EventListeners.push(a.Mouseleave(function(a){m=!1;g.mover.off;e()}));a.observeAttrs(function(c,h,m,l){"tooltip"===c&&l?g.html(h):"tooltip"!==c||l?"tooltip-delay"===c&&l?setTimeout(e,parseInt(a.getAttr("tooltip-delay"))):
"tooltip-direction"===c&&l&&g.setAttr("direction",h||"right"):(f.Def(g.EventListeners)&&g.EventListeners.forEach(function(a){a.off}),g.remove())});g.appendTo(document.body)}});Craft.directive("movable",{bind:function(a){a.style.position="fixed";a.mlisteners=[];var c=a.getRect(),e=v("[movehandle]",a),f=0,g=0,l=t(window).Mousemove(function(e){a.move(e.clientX-f+c.left,e.clientY-g+c.top)}).off;a.mlisteners.push(t(null==e?a:e).Mousedown(function(e){if(1==e.button||1==e.buttons)c=a.getRect(),f=e.clientX,
g=e.clientY,l.on}));a.mlisteners.push(t(document).Mouseup(function(a){l.off}))},unbind:function(a){a.mlisteners.forEach(function(a){a.off});delete a.mlisteners}})});

{'fraction_non_alphanumeric': 0.25278900706143625, 'fraction_numerical': 0.03836077519648837, 'mean_word_length': 13.551375915172937, 'pattern_counts': {'":': 30, '<': 33, '<?xml version=': 0, '>': 75, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6797997', 'n_tokens_mistral': 24977, 'n_tokens_neox': 23836, 'n_words': 994}