!function(a,b){"use strict";"function"==typeof define&&define.amd?define([],b):"object"==typeof module&&module.exports?module.exports=b():(a.AnchorJS=b(),a.anchors=new a.AnchorJS)}(this,function(){"use strict";function a(a){function b(a){a.icon=a.hasOwnProperty("icon")?a.icon:"",a.visible=a.hasOwnProperty("visible")?a.visible:"hover",a.placement=a.hasOwnProperty("placement")?a.placement:"right",a.class=a.hasOwnProperty("class")?a.class:"",a.truncate=a.hasOwnProperty("truncate")?Math.floor(a.truncate):64}function c(a){var b;if("string"==typeof a||a instanceof String)b=[].slice.call(document.querySelectorAll(a));else{if(!(Array.isArray(a)||a instanceof NodeList))throw new Error("The selector provided to AnchorJS was invalid.");b=[].slice.call(a)}return b}function d(){if(null===document.head.querySelector("style.anchorjs")){var a,b=document.createElement("style"),c=" .anchorjs-link { opacity: 0; text-decoration: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }",d=" *:hover > .anchorjs-link, .anchorjs-link:focus { opacity: 1; }",e=' @font-face { font-family: "anchorjs-icons"; src: url(data:n/a;base64,AAEAAAALAIAAAwAwT1MvMg8yG2cAAAE4AAAAYGNtYXDp3gC3AAABpAAAAExnYXNwAAAAEAAAA9wAAAAIZ2x5ZlQCcfwAAAH4AAABCGhlYWQHFvHyAAAAvAAAADZoaGVhBnACFwAAAPQAAAAkaG10eASAADEAAAGYAAAADGxvY2EACACEAAAB8AAAAAhtYXhwAAYAVwAAARgAAAAgbmFtZQGOH9cAAAMAAAAAunBvc3QAAwAAAAADvAAAACAAAQAAAAEAAHzE2p9fDzz1AAkEAAAAAADRecUWAAAAANQA6R8AAAAAAoACwAAAAAgAAgAAAAAAAAABAAADwP/AAAACgAAA/9MCrQABAAAAAAAAAAAAAAAAAAAAAwABAAAAAwBVAAIAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAMCQAGQAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAg//0DwP/AAEADwABAAAAAAQAAAAAAAAAAAAAAIAAAAAAAAAIAAAACgAAxAAAAAwAAAAMAAAAcAAEAAwAAABwAAwABAAAAHAAEADAAAAAIAAgAAgAAACDpy//9//8AAAAg6cv//f///+EWNwADAAEAAAAAAAAAAAAAAAAACACEAAEAAAAAAAAAAAAAAAAxAAACAAQARAKAAsAAKwBUAAABIiYnJjQ3NzY2MzIWFxYUBwcGIicmNDc3NjQnJiYjIgYHBwYUFxYUBwYGIwciJicmNDc3NjIXFhQHBwYUFxYWMzI2Nzc2NCcmNDc2MhcWFAcHBgYjARQGDAUtLXoWOR8fORYtLTgKGwoKCjgaGg0gEhIgDXoaGgkJBQwHdR85Fi0tOAobCgoKOBoaDSASEiANehoaCQkKGwotLXoWOR8BMwUFLYEuehYXFxYugC44CQkKGwo4GkoaDQ0NDXoaShoKGwoFBe8XFi6ALjgJCQobCjgaShoNDQ0NehpKGgobCgoKLYEuehYXAAAADACWAAEAAAAAAAEACAAAAAEAAAAAAAIAAwAIAAEAAAAAAAMACAAAAAEAAAAAAAQACAAAAAEAAAAAAAUAAQALAAEAAAAAAAYACAAAAAMAAQQJAAEAEAAMAAMAAQQJAAIABgAcAAMAAQQJAAMAEAAMAAMAAQQJAAQAEAAMAAMAAQQJAAUAAgAiAAMAAQQJAAYAEAAMYW5jaG9yanM0MDBAAGEAbgBjAGgAbwByAGoAcwA0ADAAMABAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAH//wAP) format("truetype"); }',f=" [data-anchorjs-icon]::after { content: attr(data-anchorjs-icon); }";b.className="anchorjs",b.appendChild(document.createTextNode("")),a=document.head.querySelector('[rel="stylesheet"], style'),void 0===a?document.head.appendChild(b):document.head.insertBefore(b,a),b.sheet.insertRule(c,b.sheet.cssRules.length),b.sheet.insertRule(d,b.sheet.cssRules.length),b.sheet.insertRule(f,b.sheet.cssRules.length),b.sheet.insertRule(e,b.sheet.cssRules.length)}}this.options=a||{},this.elements=[],b(this.options),this.isTouchDevice=function(){return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)},this.add=function(a){var e,f,g,h,i,j,k,l,m,n,o,p,q=[];if(b(this.options),p=this.options.visible,"touch"===p&&(p=this.isTouchDevice()?"always":"hover"),a||(a="h1, h2, h3, h4, h5, h6"),e=c(a),0===e.length)return!1;for(d(),f=document.querySelectorAll("[id]"),g=[].map.call(f,function(a){return a.id}),i=0;i-1,c=a.lastChild&&(" "+a.lastChild.className+" ").indexOf(" anchorjs-link ")>-1;return b||c||!1}}return a}),/*! * clipboard.js v1.5.12 * https://zenorocha.github.io/clipboard.js * * Licensed MIT © Zeno Rocha */ !function(a){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=a();else if("function"==typeof define&&define.amd)define([],a);else{var b;b="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,b.Clipboard=a()}}(function(){var a;return function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;gd;d++)c[d].fn.apply(c[d].ctx,b);return this},off:function(a,b){var c=this.e||(this.e={}),d=c[a],e=[];if(d&&b)for(var f=0,g=d.length;g>f;f++)d[f].fn!==b&&d[f].fn._!==b&&e.push(d[f]);return e.length?c[a]=e:delete c[a],this}},b.exports=d},{}],8:[function(b,c,d){!function(e,f){if("function"==typeof a&&a.amd)a(["module","select"],f);else if("undefined"!=typeof d)f(c,b("select"));else{var g={exports:{}};f(g,e.select),e.clipboardAction=g.exports}}(this,function(a,b){"use strict";function c(a){return a&&a.__esModule?a:{default:a}}function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var e=c(b),f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol?"symbol":typeof a},g=function(){function a(a,b){for(var c=0;c>>0;if("function"!=typeof a)throw TypeError();var d,e=arguments[1];for(d=0;d>16&255)),e.push(String.fromCharCode(f>>8&255)),e.push(String.fromCharCode(255&f)),g=0,f=0),d+=1;return 12===g?(f>>=4,e.push(String.fromCharCode(255&f))):18===g&&(f>>=2,e.push(String.fromCharCode(f>>8&255)),e.push(String.fromCharCode(255&f))),e.join("")},a.btoa=a.btoa||function(a){a=String(a);var c,d,e,f,g,h,i,j=0,k=[];if(/[^\x00-\xFF]/.test(a))throw Error("InvalidCharacterError");for(;j>2,g=(3&c)<<4|d>>4,h=(15&d)<<2|e>>6,i=63&e,j===a.length+2?(h=64,i=64):j===a.length+1&&(i=64),k.push(b.charAt(f),b.charAt(g),b.charAt(h),b.charAt(i));return k.join("")}}(a),Object.prototype.hasOwnProperty||(Object.prototype.hasOwnProperty=function(a){var b=this.__proto__||this.constructor.prototype;return a in this&&(!(a in b)||b[a]!==this[a])}),function(){if("performance"in a==0&&(a.performance={}),Date.now=Date.now||function(){return(new Date).getTime()},"now"in a.performance==0){var b=Date.now();performance.timing&&performance.timing.navigationStart&&(b=performance.timing.navigationStart),a.performance.now=function(){return Date.now()-b}}}(),a.requestAnimationFrame||(a.webkitRequestAnimationFrame&&a.webkitCancelAnimationFrame?!function(a){a.requestAnimationFrame=function(b){return webkitRequestAnimationFrame(function(){b(a.performance.now())})},a.cancelAnimationFrame=a.webkitCancelAnimationFrame}(a):a.mozRequestAnimationFrame&&a.mozCancelAnimationFrame?!function(a){a.requestAnimationFrame=function(b){return mozRequestAnimationFrame(function(){b(a.performance.now())})},a.cancelAnimationFrame=a.mozCancelAnimationFrame}(a):!function(a){a.requestAnimationFrame=function(b){return a.setTimeout(b,1e3/60)},a.cancelAnimationFrame=a.clearTimeout}(a))}}(this),function(a,b){"object"==typeof exports&&"object"==typeof module?module.exports=b():"function"==typeof define&&define.amd?define([],b):"object"==typeof exports?exports.Holder=b():a.Holder=b()}(this,function(){return function(a){function b(d){if(c[d])return c[d].exports;var e=c[d]={exports:{},id:d,loaded:!1};return a[d].call(e.exports,e,e.exports,b),e.loaded=!0,e.exports}var c={};return b.m=a,b.c=c,b.p="",b(0)}([function(a,b,c){a.exports=c(1)},function(a,b,c){(function(b){function d(a,b,c,d){var g=e(c.substr(c.lastIndexOf(a.domain)),a);g&&f({mode:null,el:d,flags:g,engineSettings:b})}function e(a,b){var c={theme:A(E.settings.themes.gray,null),stylesheets:b.stylesheets,instanceOptions:b},d=a.indexOf("?"),e=[a];d!==-1&&(e=[a.slice(0,d),a.slice(d+1)]);var f=e[0].split("/");c.holderURL=a;var g=f[1],h=g.match(/([\d]+p?)x([\d]+p?)/);if(!h)return!1;if(c.fluid=g.indexOf("p")!==-1,c.dimensions={width:h[1].replace("p","%"),height:h[2].replace("p","%")},2===e.length){var i=r.parse(e[1]);if(t.truthy(i.ratio)){c.fluid=!0;var j=parseFloat(c.dimensions.width.replace("%","")),k=parseFloat(c.dimensions.height.replace("%",""));k=Math.floor(100*(k/j)),j=100,c.dimensions.width=j+"%",c.dimensions.height=k+"%"}if(c.auto=t.truthy(i.auto),i.bg&&(c.theme.bg=t.parseColor(i.bg)),i.fg&&(c.theme.fg=t.parseColor(i.fg)),i.bg&&!i.fg&&(c.autoFg=!0),i.theme&&c.instanceOptions.themes.hasOwnProperty(i.theme)&&(c.theme=A(c.instanceOptions.themes[i.theme],null)),i.text&&(c.text=i.text),i.textmode&&(c.textmode=i.textmode),i.size&&(c.size=i.size),i.font&&(c.font=i.font),i.align&&(c.align=i.align),i.lineWrap&&(c.lineWrap=i.lineWrap),c.nowrap=t.truthy(i.nowrap),c.outline=t.truthy(i.outline),t.truthy(i.random)){E.vars.cache.themeKeys=E.vars.cache.themeKeys||Object.keys(c.instanceOptions.themes);var l=E.vars.cache.themeKeys[0|Math.random()*E.vars.cache.themeKeys.length];c.theme=A(c.instanceOptions.themes[l],null)}}return c}function f(a){var b=a.mode,c=a.el,d=a.flags,e=a.engineSettings,f=d.dimensions,h=d.theme,i=f.width+"x"+f.height;b=null==b?d.fluid?"fluid":"image":b;var l=/holder_([a-z]+)/g,m=!1;if(null!=d.text&&(h.text=d.text,"object"===c.nodeName.toLowerCase())){for(var n=h.text.split("\\n"),o=0;o1){var u,v=0,x=0,y=0;t=new h.Group("line"+y),"left"!==a.align&&"right"!==a.align||(f=a.width*(1-2*(1-d)));for(var z=0;z=f||B===!0)&&(b(p,t,v,p.properties.leading),p.add(t),v=0,x+=p.properties.leading,y+=1,t=new h.Group("line"+y),t.y=x),B!==!0&&(r.moveTo(v,0),v+=q.spaceWidth+A.width,t.add(r))}if(b(p,t,v,p.properties.leading),p.add(t),"left"===a.align)p.moveTo(a.width-e,null,null);else if("right"===a.align){for(u in p.children)t=p.children[u],t.moveTo(a.width-t.width,null,null);p.moveTo(0-(a.width-e),null,null)}else{for(u in p.children)t=p.children[u],t.moveTo((p.width-t.width)/2,null,null);p.moveTo((a.width-p.width)/2,null,null)}p.moveTo(null,(a.height-p.height)/2,null),(a.height-p.height)/2<0&&p.moveTo(null,0,null)}else r=new h.Text(a.text),t=new h.Group("line0"),t.add(r),p.add(t),"left"===a.align?p.moveTo(a.width-e,null,null):"right"===a.align?p.moveTo(0-(a.width-e),null,null):p.moveTo((a.width-q.boundingBox.width)/2,null,null),p.moveTo(null,(a.height-q.boundingBox.height)/2,null);return g}function i(a,b,c,d){var e=parseInt(a,10),f=parseInt(b,10),g=Math.max(e,f),h=Math.min(e,f),i=.8*Math.min(h,g*d);return Math.round(Math.max(c,i))}function j(a){var b;b=null==a||null==a.nodeType?E.vars.resizableImages:[a];for(var c=0,d=b.length;c1){c.nodeValue="";for(var r=0;r=0?b:1)}function f(a){v?e(a):w.push(a)}null==document.readyState&&document.addEventListener&&(document.addEventListener("DOMContentLoaded",function a(){document.removeEventListener("DOMContentLoaded",a,!1),document.readyState="complete"},!1),document.readyState="loading");var g=a.document,h=g.documentElement,i="load",j=!1,k="on"+i,l="complete",m="readyState",n="attachEvent",o="detachEvent",p="addEventListener",q="DOMContentLoaded",r="onreadystatechange",s="removeEventListener",t=p in g,u=j,v=j,w=[];if(g[m]===l)e(b);else if(t)g[p](q,c,j),a[p](i,c,j);else{g[n](r,c),a[n](k,c);try{u=null==a.frameElement&&h}catch(a){}u&&u.doScroll&&!function a(){if(!v){try{u.doScroll("left")}catch(b){return e(a,50)}d(),b()}}()}return f.version="1.4.0",f.isReady=function(){return v},f}a.exports="undefined"!=typeof window&&c(window)},function(a,b,c){var d=encodeURIComponent,e=decodeURIComponent,f=c(4),g=c(5),h=/(\w+)\[(\d+)\]/,i=/\w+\.\w+/;b.parse=function(a){if("string"!=typeof a)return{};if(a=f(a),""===a)return{};"?"===a.charAt(0)&&(a=a.slice(1));for(var b={},c=a.split("&"),d=0;d=0;d--)c=a.charCodeAt(d),c>128?b.unshift(["&#",c,";"].join("")):b.unshift(a[d]);return b.join("")},b.imageExists=function(a,b){var c=new Image;c.onerror=function(){b.call(this,!1)},c.onload=function(){b.call(this,!0)},c.src=a},b.decodeHtmlEntity=function(a){return a.replace(/&#(\d+);/g,function(a,b){return String.fromCharCode(b)})},b.dimensionCheck=function(a){var b={height:a.clientHeight,width:a.clientWidth};return!(!b.height||!b.width)&&b},b.truthy=function(a){return"string"==typeof a?"true"===a||"yes"===a||"1"===a||"on"===a||"✓"===a:!!a},b.parseColor=function(a){var b,c=/(^(?:#?)[0-9a-f]{6}$)|(^(?:#?)[0-9a-f]{3}$)/i,d=/^rgb\((\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/,e=/^rgba\((\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(0\.\d{1,}|1)\)$/,f=a.match(c);return null!==f?(b=f[1]||f[2],"#"!==b[0]?"#"+b:b):(f=a.match(d),null!==f?b="rgb("+f.slice(1).join(",")+")":(f=a.match(e),null!==f?b="rgba("+f.slice(1).join(",")+")":null))},b.canvasRatio=function(){var b=1,c=1;if(a.document){var d=a.document.createElement("canvas");if(d.getContext){var e=d.getContext("2d");b=a.devicePixelRatio||1,c=e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1}}return b/c}}).call(b,function(){return this}())},function(a,b,c){(function(a){var d=c(9),e="http://www.w3.org/2000/svg",f=8;b.initSVG=function(a,b,c){var g,h,i=!1;a&&a.querySelector?(h=a.querySelector("style"),null===h&&(i=!0)):(a=d.newEl("svg",e),i=!0),i&&(g=d.newEl("defs",e),h=d.newEl("style",e),d.setAttr(h,{type:"text/css"}),g.appendChild(h),a.appendChild(g)),a.webkitMatchesSelector&&a.setAttribute("xmlns",e);for(var j=0;j=0;i--){var j=h.createProcessingInstruction("xml-stylesheet",'href="'+g[i]+'" rel="stylesheet"');h.insertBefore(j,h.firstChild)}h.removeChild(h.documentElement),f=e.serializeToString(h)}var k=e.serializeToString(b);return k=k.replace(/\&(\#[0-9]{2,}\;)/g,"&$1"),f+k}}}).call(b,function(){return this}())},function(a,b){(function(a){b.newEl=function(b,c){if(a.document)return null==c?a.document.createElement(b):a.document.createElementNS(c,b)},b.setAttr=function(a,b){for(var c in b)a.setAttribute(c,b[c])},b.createXML=function(){if(a.DOMParser)return(new DOMParser).parseFromString("","application/xml")},b.getNodeArray=function(b){var c=null;return"string"==typeof b?c=document.querySelectorAll(b):a.NodeList&&b instanceof a.NodeList?c=b:a.Node&&b instanceof a.Node?c=[b]:a.HTMLCollection&&b instanceof a.HTMLCollection?c=b:b instanceof Array?c=b:null===b&&(c=[]),c=Array.prototype.slice.call(c)}}).call(b,function(){return this}())},function(a,b){var c=function(a,b){"string"==typeof a&&(this.original=a,"#"===a.charAt(0)&&(a=a.slice(1)),/[^a-f0-9]+/i.test(a)||(3===a.length&&(a=a.replace(/./g,"$&$&")),6===a.length&&(this.alpha=1,b&&b.alpha&&(this.alpha=b.alpha),this.set(parseInt(a,16)))))};c.rgb2hex=function(a,b,c){function d(a){var b=(0|a).toString(16);return a<16&&(b="0"+b),b}return[a,b,c].map(d).join("")},c.hsl2rgb=function(a,b,c){var d=a/60,e=(1-Math.abs(2*c-1))*b,f=e*(1-Math.abs(parseInt(d)%2-1)),g=c-e/2,h=0,i=0,j=0;return d>=0&&d<1?(h=e,i=f):d>=1&&d<2?(h=f,i=e):d>=2&&d<3?(i=e,j=f):d>=3&&d<4?(i=f,j=e):d>=4&&d<5?(h=f,j=e):d>=5&&d<6&&(h=e,j=f),h+=g,i+=g,j+=g,h=parseInt(255*h),i=parseInt(255*i),j=parseInt(255*j),[h,i,j]},c.prototype.set=function(a){this.raw=a;var b=(16711680&this.raw)>>16,c=(65280&this.raw)>>8,d=255&this.raw,e=.2126*b+.7152*c+.0722*d,f=-.09991*b-.33609*c+.436*d,g=.615*b-.55861*c-.05639*d;return this.rgb={r:b,g:c,b:d},this.yuv={y:e,u:f,v:g},this},c.prototype.lighten=function(a){var b=Math.min(1,Math.max(0,Math.abs(a)))*(a<0?-1:1),d=255*b|0,e=Math.min(255,Math.max(0,this.rgb.r+d)),f=Math.min(255,Math.max(0,this.rgb.g+d)),g=Math.min(255,Math.max(0,this.rgb.b+d)),h=c.rgb2hex(e,f,g);return new c(h)},c.prototype.toHex=function(a){return(a?"#":"")+this.raw.toString(16)},c.prototype.lighterThan=function(a){return a instanceof c||(a=new c(a)),this.yuv.y>a.yuv.y},c.prototype.blendAlpha=function(a){a instanceof c||(a=new c(a));var b=a,d=this,e=b.alpha*b.rgb.r+(1-b.alpha)*d.rgb.r,f=b.alpha*b.rgb.g+(1-b.alpha)*d.rgb.g,g=b.alpha*b.rgb.b+(1-b.alpha)*d.rgb.b;return new c(c.rgb2hex(e,f,g))},a.exports=c},function(a,b){a.exports={version:"2.9.4",svg_ns:"http://www.w3.org/2000/svg"}},function(a,b,c){function d(a,b){return l.element({tag:b,width:a.width,height:a.height,fill:a.properties.fill})}function e(a){return j.cssProps({fill:a.fill,"font-weight":a.font.weight,"font-family":a.font.family+", monospace","font-size":a.font.size+a.font.units})}function f(a,b,c){var d=c/2;return["M",d,d,"H",a-d,"V",b-d,"H",d,"V",0,"M",0,d,"L",a,b-d,"M",0,b-d,"L",a,d].join(" ")}var g=c(13),h=c(8),i=c(11),j=c(7),k=i.svg_ns,l={element:function(a){var b=a.tag,c=a.content||"";return delete a.tag,delete a.content,[b,c,a]}};a.exports=function(a,b){var c=b.engineSettings,i=c.stylesheets,j=i.map(function(a){return''}).join("\n"),m="holder_"+Number(new Date).toString(16),n=a.root,o=n.children.holderTextGroup,p="#"+m+" text { "+e(o.properties)+" } ";o.y+=.8*o.textPositionData.boundingBox.height;var q=[];Object.keys(o.children).forEach(function(a){var b=o.children[a];Object.keys(b.children).forEach(function(a){var c=b.children[a],d=o.x+b.x+c.x,e=o.y+b.y+c.y,f=l.element({tag:"text",content:c.properties.text,x:d,y:e});q.push(f)})});var r=l.element({tag:"g",content:q}),s=null;if(n.children.holderBg.properties.outline){var t=n.children.holderBg.properties.outline;s=l.element({tag:"path",d:f(n.children.holderBg.width,n.children.holderBg.height,t.width),"stroke-width":t.width,stroke:t.fill,fill:"none"})}var u=d(n.children.holderBg,"rect"),v=[];v.push(u),t&&v.push(s),v.push(r);var w=l.element({tag:"g",id:m,content:v}),x=l.element({tag:"style",content:p,type:"text/css"}),y=l.element({tag:"defs",content:x}),z=l.element({tag:"svg",content:[y,w],width:n.properties.width,height:n.properties.height,xmlns:k,viewBox:[0,0,n.properties.width,n.properties.height].join(" "),preserveAspectRatio:"none"}),A=g(z);A=j+A[0];var B=h.svgStringToDataURI(A,"background"===b.mode);return B}},function(a,b,c){c(14),a.exports=function a(b,c,d){"use strict";function e(a){var b=a.match(/^[\w-]+/),c={tag:b?b[0]:"div",attr:{},children:[]},e=a.match(/#([\w-]+)/),f=a.match(/\$([\w-]+)/),g=a.match(/\.[\w-]+/g);return e&&(c.attr.id=e[1],d[e[1]]=c),f&&(d[f[1]]=c),g&&(c.attr.class=g.join(" ").replace(/\./g,"")),a.match(/&$/g)&&(n=!1),c}function f(a,b){if(null!==b&&b!==!1&&void 0!==b)return"string"!=typeof b&&"object"!=typeof b?String(b):b}function g(a){return a||0===a?String(a).replace(/&/g,"&").replace(/"/g,"""):""}function h(a){return String(a).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}var i,j,k,l,m=1,n=!0;if(d=d||{},"string"==typeof b[0])b[0]=e(b[0]);else{if(!Array.isArray(b[0]))throw new Error("First element of array must be a string, or an array and not "+JSON.stringify(b[0]));m=0}for(;m",b[0]=i}return d[0]=b[0],k&&k(b[0]),d}},function(a,b){"use strict";function c(a){var b=""+a,c=d.exec(b);if(!c)return b;var e,f="",g=0,h=0;for(g=c.index;g]/;a.exports=c},function(a,b,c){var d=c(9),e=c(7);a.exports=function(){var a=d.newEl("canvas"),b=null;return function(c){null==b&&(b=a.getContext("2d"));var d=e.canvasRatio(),f=c.root;a.width=d*f.properties.width,a.height=d*f.properties.height,b.textBaseline="middle";var g=f.children.holderBg,h=d*g.width,i=d*g.height,j=2,k=j/2;b.fillStyle=g.properties.fill,b.fillRect(0,0,h,i),g.properties.outline&&(b.strokeStyle=g.properties.outline.fill,b.lineWidth=g.properties.outline.width,b.moveTo(k,k),b.lineTo(h-k,k),b.lineTo(h-k,i-k),b.lineTo(k,i-k),b.lineTo(k,k),b.moveTo(0,k),b.lineTo(h,i-k),b.moveTo(0,i-k),b.lineTo(h,k),b.stroke());var l=f.children.holderTextGroup;b.font=l.properties.font.weight+" "+d*l.properties.font.size+l.properties.font.units+" "+l.properties.font.family+", monospace",b.fillStyle=l.properties.fill;for(var m in l.children){var n=l.children[m];for(var o in n.children){var p=n.children[o],q=d*(l.x+n.x+p.x),r=d*(l.y+n.y+p.y+l.properties.leading/2);b.fillText(p.properties.text,q,r)}}return a.toDataURL("image/png")}}()}])}),function(a,b){b&&(Holder=a.Holder); }(this,"undefined"!=typeof Meteor&&"undefined"!=typeof Package),/*! * JavaScript for Bootstrap's docs (https://getbootstrap.com) * Copyright 2011-2016 The Bootstrap Authors * Copyright 2011-2016 Twitter, Inc. * Licensed under the Creative Commons Attribution 3.0 Unported License. For * details, see https://creativecommons.org/licenses/by/3.0/. */ !function(a){"use strict";a(function(){a(".tooltip-demo").tooltip({selector:'[data-toggle="tooltip"]',container:"body"}),a('[data-toggle="popover"]').popover(),a(".tooltip-test").tooltip(),a(".popover-test").popover(),a('.bd-example-indeterminate [type="checkbox"]').prop("indeterminate",!0),a('.bd-content [href="#"]').click(function(a){a.preventDefault()}),a("#exampleModal").on("show.bs.modal",function(b){var c=a(b.relatedTarget),d=c.data("whatever"),e=a(this);e.find(".modal-title").text("New message to "+d),e.find(".modal-body input").val(d)}),a(".highlight").each(function(){var b='
Copy
';a(this).before(b),a(".btn-clipboard").tooltip()});var b=new Clipboard(".btn-clipboard",{target:function(a){return a.parentNode.nextElementSibling}});b.on("success",function(b){a(b.trigger).attr("title","Copied!").tooltip("_fixTitle").tooltip("show").attr("title","Copy to clipboard").tooltip("_fixTitle"),b.clearSelection()}),b.on("error",function(b){var c=/Mac/i.test(navigator.userAgent)?"⌘":"Ctrl-",d="Press "+c+"C to copy";a(b.trigger).attr("title",d).tooltip("_fixTitle").tooltip("show").attr("title","Copy to clipboard").tooltip("_fixTitle")})})}(jQuery),function(){"use strict";anchors.options.placement="left",anchors.add(".bd-content > h1, .bd-content > h2, .bd-content > h3, .bd-content > h4, .bd-content > h5")}();