functionaddAnchors(a){"use strict";if(a){if("string"!=typeofa)thrownewError("AnchorJS accepts only strings; you used a "+typeofa)}elsea="h1, h2, h3, h4, h5, h6";for(varb=document.querySelectorAll(a),c=0;c<b.length;c++){vard;if(b[c].hasAttribute("id"))d=b[c].getAttribute("id");else{vare=document.body.textContent?"textContent":"innerText",f=b[c][e],g=f.replace(/\s+/g,"-").toLowerCase();b[c].setAttribute("id",g),d=g}varh='<a class="anchorjs-link" href="#'+d+'"><span class="anchorjs-icon"></span></a>';b[c].innerHTML+=h}}!function(a,b){"object"==typeofexports&&"object"==typeofmodule?module.exports=b():"function"==typeofdefine&&define.amd?define(b):"object"==typeofexports?exports.Holder=b():a.Holder=b()}(this,function(){returnfunction(a){functionb(d){if(c[d])returnc[d].exports;vare=c[d]={exports:{},id:d,loaded:!1};returna[d].call(e.exports,e,e.exports,b),e.loaded=!0,e.exports}varc={};returnb.m=a,b.c=c,b.p="",b(0)}([function(a,b,c){(function(b){functiond(a,b,c,d){varg=e(c.substr(c.lastIndexOf(a.domain)),a);g&&f({mode:null,el:d,flags:g,engineSettings:b})}functione(a,b){for(varc={theme:y(K.settings.themes.gray,null),stylesheets:b.stylesheets,holderURL:[]},d=!1,e=String.fromCharCode(11),f=a.replace(/([^\\])\//g,"$1"+e).split(e),g=/%[0-9a-f]{2}/gi,h=f.length,i=0;h>i;i++){varj=f[i];if(j.match(g))try{j=decodeURIComponent(j)}catch(k){j=f[i]}varl=!1;if(K.flags.dimensions.match(j))d=!0,c.dimensions=K.flags.dimensions.output(j),l=!0;elseif(K.flags.fluid.match(j))d=!0,c.dimensions=K.flags.fluid.output(j),c.fluid=!0,l=!0;elseif(K.flags.textmode.match(j))c.textmode=K.flags.textmode.output(j),l=!0;elseif(K.flags.colors.match(j)){varm=K.flags.colors.output(j);c.theme=y(c.theme,m),l=!0}elseif(b.themes[j])b.themes.hasOwnProperty(j)&&(c.theme=y(b.themes[j],null)),l=!0;elseif(K.flags.font.match(j))c.font=K.flags.font.output(j),l=!0;elseif(K.flags.auto.match(j))c.auto=!0,l=!0;elseif(K.flags.text.match(j))c.text=K.flags.text.output(j),l=!0;elseif(K.flags.size.match(j))c.size=K.flags.size.output(j),l=!0;elseif(K.flags.random.match(j)){null==K.vars.cache.themeKeys&&(K.vars.cache.themeKeys=Object.keys(b.themes));varn=K.vars.cache.themeKeys[0|Math.random()*K.vars.cache.themeKeys.length];c.theme=y(b.themes[n],null),l=!0}l&&c.holderURL.push(j)}returnc.holderURL.unshift(b.domain),c.holderURL=c.holderURL.join("/"),d?c:!1}functionf(a){varb=a.mode,c=a.el,d=a.flags,e=a.engineSettings,f=d.dimensions,h=d.theme,i=f.width+"x"+f.height;if(b=null==b?d.fluid?"fluid":"image":b,null!=d.text&&(h.text=d.text,"object"===c.nodeName.toLowerCase())){for(varl=h.text.split("\\n"),m=0;m<l.length;m++)l[m]=A(l[m]);h.text=l.join("\\n")}varn=d.holderURL,o=y(e,null);if(d.font&&(h.font=d.font,!o.noFontFallback&&"img"===c.nodeName.toLowerCase()&&K.setup.supportsCanvas&&"svg"===o.renderer&&(o=y(o,{renderer:"canvas"}))),d.font&&"canvas"==o.renderer&&(o.reRender=!0),"background"==b)null==c.getAttribute("data-background-src")&&p(c,{"data-background-src":n});else{varq={};q[K.vars.dataAttr]=n,p(c,q)}d.theme=h,c.holderData={flags:d,engineSettings:o},("image"==b||"fluid"==b)&&p(c,{alt:h.text?h.text+" ["+i+"]":i});varr={mode:b,el:c,holderSettings:{dimensions:f,theme:h,flags:d},engineSettings:o};"image"==b?("html"!=o.renderer&&d.auto||(c.style.width=f.width+"px",c.style.height=f.height+"px"),"html"==o.renderer?c.style.backgroundColor=h.background:(g(r),"exact"==d.textmode&&(c.holderData.resizeUpdate=!0,K.vars.resizableImages.push(c),j(c)))):"background"==b&&"html"!=o.renderer?g(r):"fluid"==b&&(c.holderData.resizeUpdate=!0,"%"==f.height.slice(-1)?c.style.height=f.height:null!=d.auto&&d.auto||(c.style.height=f.height+"px"),"%"==f.width.slice(-1)?c.style.width=f.width:null!=d.auto&&d.auto||(c.style.width=f.width+"px"),("inline"==c.style.display||""===c.style.display||"none"==c.style.display)&&(c.style.display="block"),k(c),"html"==o.renderer?c.style.backgroundColor=h.background:(K.vars.resizableImages.push(c),j(c)))}functiong(a){functionc(){varb=null;switch(i.renderer){case"canvas":b=M(k,a);break;case"svg":b=N(k,a);break;default:throw"Holder: invalid renderer: "+i.renderer}returnb}vard=null,e=a.mode,f=a.holderSettings,g=a.el,i=a.engineSettings;switch(i.renderer){case"svg":if(!K.setup.supportsSVG)return;break;case"canvas":if(!K.setup.supportsCanvas)return;break;default:return}varj={width:f.dimensions.width,height:f.dimensions.height,theme:f.theme,flags:f.flags},k=h(j);if(d=c(),null==d)throw"Holder: couldn't render placeholder";"background"==e?(g.style.backgroundImage="url("+d+")",g.style.backgroundSize=j.width+"px "+j.height+"px"):("img"===g.nodeName.toLowerCase()?p(g,{src:d}):"object"===g.nodeName.toLowerCase()&&(p(g,{data:d}),p(g,{type:"image/svg+xml"})),i.reRender&&b.setTimeout(function(){vara=c();if(null==a)throw"Holder: couldn't render placeholder";"img"===g.nodeName.toLowerCase()?p(g,{src:a}):"object"===g.nodeName.toLowerCase()&&(p(g,{data:a}),p(g,{type:"image/svg+xml"}))},100)),p(g,{"data-holder-rendered":!0})}functionh(a){functionb(a,b,c,d){b.width=c,b.height=d,a.width=Math.max(a.width,b.width),a.height+=b.height,a.add(b)}varc=K.defaults.size;switch(parseFloat(a.theme.size)?c=a.theme.size:parseFloat(a.flags.size)&&(c=a.flags.size),a.font={family:a.theme.font?a.theme.font:"Arial, Helvetica, Open Sans, sans-serif",size:i(a.width,a.height,c),units:a.theme.units?a.theme.units:K.defaults.units,weight:a.theme.fontweight?a.theme.fontweight:"bold"},a.text=a.theme.text?a.theme.text:Math.floor(a.width)+"x"+Math.floor(a.height),a.flags.textmode){case"literal":a.text=a.flags.dimensions.width+"x"+a.flags.dimensions.height;break;case"exact":if(!a.flags.exactDimensions)break;a.text=Math.floor(a.flags.exactDimensions.width)+"x"+Math.floor(a.flags.exactDimensions.height)}vard=neww({width:a.width,height:a.height}),e=d.Shape,f=newe.Rect("holderBg",{fill:a.theme.background});f.resize(a.width,a.height),d.root.add(f);varg=newe.Group("holderTextGroup",{text:a.text,align:"center",font:a.font,fill:a.theme.foreground});g.moveTo(null,null,1),d.root.add(g);varh=g.textPositionData=L(d);if(!h)throw"Holder: staging fallback not supported yet.";g.properties.leading=h.boundingBox.height;varj=null,k=null;if(h.lineCount>1){varl=0,m=0,n=a.width*K.setup.lineWrapRatio,o=0;k=newe.Group("line"+o);for(varp=0;p<h.words.length;p++){varq=h.words[p];j=newe.Text(q.text);varr="\\n"==q.text;(l+q.width>=n||r===!0)&&(b(g,k,l,g.properties.leading),l=0,m+=g.properties.leading,o+=1,k=newe.Group("line"+o),k.y=m),r!==!0&&(j.moveTo(l,0),l+=h.spaceWidth+q.width,k.add(j))}b(g,k,l,g.properties.leading);for(varsing.children)k=g.children[s],k.moveTo((g.width-k.width)/2,null,null);g.moveTo((a.width-g.width)/2,(a.height-g.height)/2,null),(a.height-g.height)/2<0&&g.moveTo(null,0,null)}elsej=newe.Text(a.text),k=newe.Group("line0"),k.add(j),g.add(k),g.moveTo((a.width-h.boundingBox.width)/2,(a.height-h.boundingBox.height)/2,null);returnd}functioni(a,b,c){vard=parseInt(a,10),e=parseInt(b,10),f=Math.max(d,e),g=Math.min(d,e),h=.8*Math.min(g,f*K.defaults.scale);returnMath.round(Math.max(c,h))}functionj(a){varb;b=null==a||null==a.nodeType?K.vars.resizableImages:[a];for(varc=0,d=b.length;d>c;c++){vare=b[c];if(e.holderData){varf=e.holderData.flags,h=E(e);if(h){if(!e.holderData.resizeUpdate)continue;if(f.fluid&&f.auto){vari=e.holderData.fluidConfig;switch(i.mode){case"width":h.height=h.width/i.ratio;break;case"height":h.width=h.height*i.ratio}}varj={mode:"image",holderSettings:{dimensions:h,theme:f.theme,flags:f},el:e,engineSettings:e.holderData.engineSettings};"exact"==f.textmode&&(f.exactDimensions=h,j.holderSettings.dimensions=f.dimensions),g(j)}elsen(e)}}}functionk(a){if(a.holderData){varb=E(a);if(b){varc=a.holderData.flags,d={fluidHeight:"%"==c.dimensions.height.slice(-1),fluidWidth:"%"==c.dimensions.width.slice(-1),mode:null,initialDimensions:b};d.fluidWidth&&!d.fluidHeight?(d.mode="width",d.ratio=d.initialDimensions.width/parseFloat(c.dimensions.height)):!d.fluidWidth&&d.fluidHeight&&(d.mode="height",d.ratio=parseFloat(c.dimensions.width)/d.initialDimensions.height),a.holderData.fluidConfig=d}elsen(a)}}functionl(){for(vara,c=[],d=Object.keys(K.vars.invisibleImages),e=0,f=d.length;f>e;e++)a=K.vars.invisibleImages[d[e]],E(a)&&"img"==a.nodeName.toLowerCase()&&(c.push(a),deleteK.vars.invisibleImages[d[e]]);c.length&&J.run({images:c}),b.requestAnimationFrame(l)}functionm(){K.vars.visibilityCheckStarted||(b.requestAnimationFrame(l),K.vars.visibilityCheckStarted=!0)}functionn(a){a.holderData.invisibleId||(K.vars.invisibleId+=1,K.vars.invisibleImages["i"+K.vars.invisibleId]=a,a.holderData.invisibleId=K.vars.invisibleId)}functiono(a,b){returnnull==b?document.createElement(a):document.createElementNS(b,a)}functionp(a,b){for(varcinb)a.setAttribute(c,b[c])}functionq(a,b,c){vard,e;null==a?(a=o("svg",F),d=o("defs",F),e=o("style",F),p(e,{type:"text/css"}),d.appendChild(e),a.appendChild(d)):e=a.querySelector("style"),a.webkitMatchesSelector&&a.setAttribute("xmlns",F);for(varf=0;f<a.childNodes.length;f++)a.childNodes[f].nodeType===G&&a.removeChild(a.childNodes[f]);for(;e.childNodes.length;)e.removeChild(e.childNodes[0]);returnp(a,{width:b,height:c,viewBox:"0 0 "+b+""+c,preserveAspectRatio:"none"}),a}functionr(a,c){if(b.XMLSerializer){vard=newXMLSerializer,e="",f=c.stylesheets;if(c.svgXMLStylesheet){for(varg=s(),h=f.length-1;h>=0;h--){vari=g.createProcessingInstruction("xml-stylesheet",'href="'+f[h]+'" rel="stylesheet"');g.insertBefore(i,g.firstChild)}varj=g.createProcessingInstruction("xml",'version="1.0" encoding="UTF-8" standalone="yes"');g.insertBefore(j,g.firstChild),g.removeChild(g.documentElement),e=d.serializeToString(g)}vark=d.serializeToString(a);returnk=k.replace(/\&(\#[0-9]{2,}\;)/g,"&$1"),e+k}}functions(){returnb.DOMParser?(newDOMParser).parseFromString("<xml />","application/xml"):void0}functiont(a){K.vars.debounceTimer||a.call(this),K.vars.debounceTimer&&b.clearTimeout(K.vars.debounceTimer),K.vars.debounceTimer=b.setTimeout(function(){K.vars.debounceTimer=null,a.call(this)},K.setup.debounce)}functionu(){t(function(){j(null)})}varv=c(1),w=c(2),x=c(3),y=x.extend,z=x.cssProps,A=x.encodeHtmlEntity,B=x.decodeHtmlEntity,C=x.imageExists,D=x.getNodeArray,E=x.dimensionCheck,F="http://www.w3.org/2000/svg",G=8,H="2.6.0",I="\nCreated with Holder.js "+H+".\nLearn more at http://holderjs.com\n(c) 2012-2015 Ivan Malopinsky - http://imsky.co\n",J={version:H,addTheme:function(a,b){returnnull!=a&&null!=b&&(K.settings.themes[a]=b),deleteK.vars.cache.themeKeys,this},addImage:function(a,b){varc=document.querySelectorAll(b);if(c.length)for(vard=0,e=c.length;e>d;d++){varf=o("img"),g={};g[K.vars.dataAttr]=a,p(f,g),c[d].appendChild(f)}returnthis},setResizeUpdate:function(a,b){a.holderData&&(a.holderData.resizeUpdate=!!b,a.holderData.resizeUpdate&&j(a))},run:function(a){a=a||{};varc={},g=y(K.settings,a);K.vars.preempted=!0,K.vars.dataAttr=g.dataAttr||K.vars.dataAttr,c.renderer=g.renderer?g.renderer:K.setup.renderer,-1===K.setup.renderers.join(",").indexOf(c.renderer)&&(c.renderer=K.setup.supportsSVG?"svg":K.setup.supportsCanvas?"canvas":"html");varh=D(g.images),i=D(g.bgnodes),j=D(g.stylenodes),k=D(g.objects);c.stylesheets=[],c.svgXMLStylesheet=!0,c.noFontFallback=g.noFontFallback?g.noFontFallback:!1;for(varl=0;l<j.length;l++){varm=j[l];if(m.attributes.rel&&m.attributes.href&&"stylesheet"==m.attributes.rel.value){varn=m.attributes.href.value,p=o("a");p.href=n;varq=p.protocol+"//"+p.host+p.pathname+p.search;c.stylesheets.push(q)}}for(l=0;l<i.length;l++)if(b.getComputedStyle){varr=b.getComputedStyle(i[l],null).getPropertyValue("background-image"),s=i[l].getAttribute("data-background-src"),t=null;t=null==s?r:s;varu=null,v="?"+g.domain+"/";if(0===t.indexOf(v))u=t.slice(1);elseif(-1!=t.indexOf(v)){varw=t.substr(t.indexOf(v)).slice(1),x=w.match(/([^\"]*)"?\)/);null!=x&&(u=x[1])}if(null!=u){varz=e(u,g);z&&f({mode:"background",el:i[l],flags:z,engineSettings:c})}}for(l=0;l<k.length;l++){varA=k[l],B={};try{B.data=A.getAttribute("data"),B.dataSrc=A.getAttribute(K.vars.dataAttr)}catch(E){}varF=null!=B.data&&0===B.data.indexOf(g.domain),G=null!=B.dataSrc&&0===B.dataSrc.indexOf(g.domain);F?d(g,c,B.data,A):G&&d(g,c,B.dataSrc,A)}for(l=0;l<h.length;l++){varH=h[l],I={};try{I.src=H.getAttribute("src"),I.dataSrc=H.getAttribute(K.vars.dataAttr),I.rendered=H.getAttribute("data-holder-rendered")}catch(E){}varJ=null!=I.src,L=null!=I.dataSrc&&0===I.dataSrc.indexOf(g.domain),M=null!=I.rendered&&"true"==I.rendered;J?0===I.src.indexOf(g.domain)?d(g,c,I.src,H):L&&(M?d(g,c,I.dataSrc,H):!function(a,b,c,e,f){C(a,function(a){a||d(b,c,e,f)})}(I.src,g,c,I.dataSrc,H)):L&&d(g,c,I.dataSrc,H)}returnthis}},K={settings:{domain:"holder.js",images:"img",objects:"object",bgnodes:"body .holderjs",stylenodes:"head link.holderjs",stylesheets:[],themes:{gray:{background:"#EEEEEE",foreground:"#AAAAAA"},social:{background:"#3a5a97",foreground:"#FFFFFF"},industrial:{background:"#434A52",foreground:"#C2F200"},sky:{background:"#0D8FDB",foreground:"#FFFFFF"},vine:{background:"#39DBAC",foreground:"#1E292C"},lava:{background:"#F8591A",foreground:"#1C2846"}}},defaults:{size:10,units:"pt",scale:1/16},flags:{dimensions:{regex:/^(\d+)x(\d+)$/,output:function(a){varb=this.regex.exec(a);return{width:+b[1],height:+b[2]}}},fluid:{regex:/^([0-9]+%?)x([0-9]+%?)$/,output:function(a){varb=this.regex.exec(a);return{width:b[1],height:b[2]}}},colors:{regex:/(?:#|\^)([0-9a-f]{3,})\:(?:#|\^)([0-9a-f]{3,})/i,output:function(a){varb=this.regex.exec(a);return{foreground:"#"+b[2],background:"#"+b[1]}}},text:{regex:/text\:(.*)/,output:function(a){returnthis.regex.exec(a)[1].replace("\\/","/")}},font:{regex:/font\:(.*)/,output:function(a){returnthis.regex.exec(a)[1]}},auto:{regex:/^auto$/},textmode:{regex:/textmode\:(.*)/,output:function(a){returnthis.regex.exec(a)[1]}},random:{regex:/^random$/},size:{regex:/size\:(\d+)/,output:function(a){returnthis.regex.exec(a)[1]}}}},L=function(){vara=null,b=null,c=null;returnfunction(d){vare=d.root;if(K.setup.supportsSVG){varf=!1,g=function(a){returndocument.createTextNode(a)};(null==a||a.parentNode!==document.body)&&(f=!0),a=q(a,e.properties.width,e.properties.height),a.style.display="block",f&&(b=o("text",F),c=g(null),p(b,{x:0}),b.appendChild(c),a.appendChild(b),document.body.appendChild(a),a.style.visibility="hidden",a.style.position="absolute",a.style.top="-100%",a.style.left="-100%");varh=e.children.holderTextGroup,i=h.properties;p(b,{y:i.font.size,style:z({"font-weight":i.font.weight,"font-size":i.font.size+i.font.units,"font-family":i.font.family})}),c.nodeValue=i.text;varj=b.getBBox(),k=Math.ceil(j.width/(e.properties.width*K.setup.lineWrapRatio)),l=i.text.split(""),m=i.text.match(/\\n/g);k+=null==m?0:m.length,c.nodeValue=i.text.replace(/[]+/g,"");varn=b.getComputedTextLength(),r=j.width-n,s=Math.round(r/Math.max(1,l.length-1)),t=[];if(k>1){c.nodeValue="";for(varu=0;u<l.length;u++)if(0!==l[u].length){c.nodeValue=B(l[u]);varv=b.getBBox();t.push({text:l[u],width:v.width})}}returna.style.display="none",{spaceWidth:s,lineCount:k,boundingBox:j,words:t}}return!1}}(),M=function(){vara=o("canvas"),b=null;returnfunction(c){null==b&&(b=a.getContext("2d"));vard=c.root;a.width=K.dpr(d.properties.width),a.height=K.dpr(d.properties.height),b.textBaseline="middle",b.fillStyle=d.children.holderBg.properties.fill,b.fillRect(0,0,K.dpr(d.children.holderBg.width),K.dpr(d.children.holderBg.height));vare=d.children.holderTextGroup;e.properties,b.font=e.properties.font.weight+""+K.dpr(e.properties.font.size)+e.properties.font.units+""+e.properties.font.family+", monospace",b.fillStyle=e.properties.fill;for(varfine.children){varg=e.children[f];for(varhing.children){vari=g.children[h],j=K.dpr(e.x+g.x+i.x),k=K.dpr(e.y+g.y+i.y+e.properties.leading/2);b.fillText(i.properties.text,j,k)}}returna.toDataURL("image/png")}}(),N=function(){if(b.XMLSerializer){vara=s(),c=q(null,0,0),d=o("rect",F);returnc.appendChild(d),function(b,e){varf=b.root;q(c,f.properties.width,f.properties.height);for(varg=c.querySelectorAll("g"),h=0;h<g.length;h++)g[h].parentNode.removeChild(g[h]);vari=e.holderSettings.flags.holderURL,j="holder_"+(Number(newDate)+32768+(0|32768*Math.random())).toString(16),k=o("g",F),l=f.children.holderTextGroup,m=l.properties,n=o("g",F),s=l.textPositionData,t="#"+j+" text { "+z({fill:m.fill,"font-weight":m.font.weight,"font-family":m.font.family+", monospace","font-size":m.font.size+m.font.units})+" } ",u=a.createComment("\nSource URL: "+i+I),v=a.createCDATASection(t),w=c.querySelector("style");p(k,{id:j}),c.insertBefore(u,c.firstChild),w.appendChild(v),k.appendChild(d),k.appendChild(n),c.appendChild(k),p(d,{width:f.children.holderBg.width,height:f.children.holderBg.height,fill:f.children.holderBg.properties.fill}),l.y+=.8*s.boundingBox.height;for(varxinl.children){vary=l.children[x];for(varAiny.children){varB=y.children[A],C=l.x+y.x+B.x,D=l.y+y.y+B.y,E=o("text",F),G=document.createTextNode(null);p(E,{x:C,y:D}),G.nodeValue=B.properties.text,E.appendChild(G),n.appendChild(E)}}varH="data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(r(c,e.engineSettings))));returnH}}}();for(varOinK.flags)K.flags.hasOwnProperty(O)&&(K.flags[O].match=function(a){returna.match(this.regex)});K.setup={renderer:"html",debounce:100,ratio:1,supportsCanvas:!1,supportsSVG:!1,lineWrapRatio:.9,renderers:["html","canvas","svg"]},K.dpr=function(a){returna*K.setup.ratio},K.vars={preempted:!1,resizableImages:[],invisibleImages:{},invisibleId:0,visibilityCheckStarted:!1,debounceTimer:null,cache:{},dataAttr:"data-src"},function(){vara=1,c=1,d=o("canvas"),e=null;d.getContext&&-1!=d.toDataURL("image/png").indexOf("data:image/png")&&(K.setup.renderer="canvas",e=d.getContext("2d"),K.setup.supportsCanvas=!0),K.setup.supportsCanvas&&(a=b.devicePixelRatio||1,c=e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1),K.setup.ratio=a/c,document.createElementNS&&document.createElementNS(F,"svg").createSVGRect&&(K.setup.renderer="svg",K.setup.supportsSVG=!0)}(),m(),v&&v(function(){K.vars.preempted||J.run(),b.addEventListener?(b.addEventListener("resize",u,!1),b.addEventListener("orientationchange",u,!1)):b.attachEvent("onresize",u),"object"==typeofb.Turbolinks&&b.document.addEventListener("page:change",function(){J.run()})}),a.exports=J}).call(b,function(){returnthis}())},function(a){functionb(a){functionb(a){if(!v){if(!g.body)returne(b);for(v=!0;a=w.shift();)e(a)}}functionc(a){(t||a.type===i||g[m]===l)&&(d(),b())}functiond(){t?(g[s](q,c,j),a[s](i,c,j)):(g[o](r,c),a[o](k,c))}functione(a,b){setTimeout(a,+b>=0?b:1)}functionf(a){v?e(a):w.push(a)}null==document.readyState&&document.addEventListener&&(document.addEventListener("DOMContentLoaded",functiony(){document.removeEventListener("DOMContentLoaded",y,!1),document.readyState="complete"},!1),document.readyState="loading");varg=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=ping,u=j,v=j,w=[];if(g[m]===l)e(b);elseif(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(x){}u&&u.doScroll&&!functionz(){if(!v){try{u.doScroll("left")}catch(a){returne(z,50)}d(),b()}}()}returnf.version="1.4.0",f.isReady=function(){returnv},f}a.exports="undefined"!=typeofwindow&&b(window)},function(a,b,c){vard=c(4),e=function(a){functionb(a,b){for(varcinb)a[c]=b[c];returna}varc=1,e=d.defclass({constructor:function(a){c++,this.parent=null,this.children={},this.id=c,this.name="n"+c,null!=a&&(this.name=a),this.x=0,this.y=0,this.z=0,this.width=0,this.height=0},resize:function(a,b){null!=a&&(this.width=a),null!=b&&(this.height=b)},moveTo:function(a,b,c){this.x=null!=a?a:this.x,this.y=null!=b?b:this.y,this.z=null!=c?c:this.z},add:function(a){varb=a.name;if(null!=this.children[b])throw"SceneGraph: child with that name already exists: "+b;this.children[b]=a,a.parent=this}}),f=d(e,function(b){this.constructor=function(){b.constructor.call(this,"root"),this.properties=a}}),g=d(e,function(a){functionc(c,d){if(a.constructor.call(this,c),this.properties={fill:"#000"},null!=d)b(this.properties,d);elseif(null!=c&&"string"!=typeofc)throw"SceneGraph: invalid node name"}this.Group=d.extend(this,{constructor:c,type:"group"}),this.Rect=d.extend(this,{constructor:c,type:"rect"}),this.Text=d.extend(this,{constructor:function(a){c.call(this),this.properties.text=a},type:"text"})}),h=newf;returnthis.Shape=g,this.root=h,this};a.exports=e},function(a,b){(function(a){b.extend=function(a,b){varc={};for(vardina)a.hasOwnProperty(d)&&(c[d]=a[d]);if(null!=b)for(vareinb)b.hasOwnProperty(e)&&(c[e]=b[e]);returnc},b.cssProps=function(a){varb=[];for(varcina)a.hasOwnProperty(c)&&b.push(c+":"+a[c]);returnb.join(";")},b.encodeHtmlEntity=function(a){for(varb=[],c=0,d=a.length-1;d>=0;d--)c=a.charCodeAt(d),b.unshift(c>128?["&#",c,";"].join(""):a[d]);returnb.join("")},b.getNodeArray=function(b){varc=null;return"string"==typeofb?c=document.querySelectorAll(b):a.NodeList&&binstanceofa.NodeList?c=b:a.Node&&binstanceofa.Node?c=[b]:a.HTMLCollection&&binstanceofa.HTMLCollection?c=b:binstanceofArray?c=b:null===b&&(c=[]),c},b.imageExists=function(a,b){varc=newImage;c.onerror=function(){b.call(this,!1)},c.onload=function(){b.call(this,!0)},c.src=a},b.decodeHtmlEntity=function(a){returna.replace(/&#(\d+);/g,function(a,b){returnString.fromCharCode(b)})},b.dimensionCheck=function(a){varb={height:a.clientHeight,width:a.clientWidth};returnb.height&&b.width?b:!1}}).call(b,function(){returnthis}())},function(a){varb=function(){},c=Array.prototype.slice,d=function(a,d){vare=b.prototype="function"==typeofa?a.prototype:a,f=newb,g=d.apply(f,c.call(arguments,2).concat(e));if("object"==typeofg)for(varhing)f[h]=g[h];if(!f.hasOwnProperty("constructor"))returnf;vari=f.constructor;returni.prototype=f,i};d.defclass=function(a){varb=a.constructor;returnb.prototype=a,b},d.extend=function(a,b){returnd(a,function(a){returnthis.uber=a,b})},a.exports=d}])}),/*!
* ZeroClipboard
* The ZeroClipboard library provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie and a JavaScript interface.
* Copyright (c) 2009-2014 Jon Rohan, James M. Greene
* Licensed MIT
* http://zeroclipboard.org/
* v2.2.0
*/
!function(a,b){"use strict";varc,d,e,f=a,g=f.document,h=f.navigator,i=f.setTimeout,j=f.clearTimeout,k=f.setInterval,l=f.clearInterval,m=f.getComputedStyle,n=f.encodeURIComponent,o=f.ActiveXObject,p=f.Error,q=f.Number.parseInt||f.parseInt,r=f.Number.parseFloat||f.parseFloat,s=f.Number.isNaN||f.isNaN,t=f.Date.now,u=f.Object.keys,v=f.Object.defineProperty,w=f.Object.prototype.hasOwnProperty,x=f.Array.prototype.slice,y=function(){vara=function(a){returna};if("function"==typeoff.wrap&&"function"==typeoff.unwrap)try{varb=g.createElement("div"),c=f.unwrap(b);1===b.nodeType&&c&&1===c.nodeType&&(a=f.unwrap)}catch(d){}returna}(),z=function(a){returnx.call(a,0)},A=function(){vara,c,d,e,f,g,h=z(arguments),i=h[0]||{};for(a=1,c=h.length;c>a;a++)if(null!=(d=h[a]))for(eind)w.call(d,e)&&(f=i[e],g=d[e],i!==g&&g!==b&&(i[e]=g));returni},B=function(a){varb,c,d,e;if("object"!=typeofa||null==a||"number"==typeofa.nodeType)b=a;elseif("number"==typeofa.length)for(b=[],c=0,d=a.length;d>c;c++)w.call(a,c)&&(b[c]=B(a[c]));else{b={};for(eina)w.call(a,e)&&(b[e]=B(a[e]))}returnb},C=function(a,b){for(varc={},d=0,e=b.length;e>d;d++)b[d]ina&&(c[b[d]]=a[b[d]]);returnc},D=function(a,b){varc={};for(vardina)-1===b.indexOf(d)&&(c[d]=a[d]);returnc},E=function(a){if(a)for(varbina)w.call(a,b)&&deletea[b];returna},F=function(a,b){if(a&&1===a.nodeType&&a.ownerDocument&&b&&(1===b.nodeType&&b.ownerDocument&&b.ownerDocument===a.ownerDocument||9===b.nodeType&&!b.ownerDocument&&b===a.ownerDocument))do{if(a===b)return!0;a=a.parentNode}while(a);return!1},G=function(a){varb;return"string"==typeofa&&a&&(b=a.split("#")[0].split("?")[0],b=a.slice(0,a.lastIndexOf("/")+1)),b},H=function(a){varb,c;return"string"==typeofa&&a&&(c=a.match(/^(?:|[^:@]*@|.+\)@(?=http[s]?|file)|.+?\s+(?: at |@)(?:[^:\(]+ )*[\(]?)((?:http[s]?|file):\/\/[\/]?.+?\/[^:\)]*?)(?::\d+)(?::\d+)?/),c&&c[1]?b=c[1]:(c=a.match(/\)@((?:http[s]?|file):\/\/[\/]?.+?\/[^:\)]*?)(?::\d+)(?::\d+)?/),c&&c[1]&&(b=c[1]))),b},I=function(){vara,b;try{thrownewp}catch(c){b=c}returnb&&(a=b.sourceURL||b.fileName||H(b.stack)),a},J=function(){vara,c,d;if(g.currentScript&&(a=g.currentScript.src))returna;if(c=g.getElementsByTagName("script"),1===c.length)returnc[0].src||b;if("readyState"inc[0])for(d=c.length;d--;)if("interactive"===c[d].readyState&&(a=c[d].src))returna;return"loading"===g.readyState&&(a=c[c.length-1].src)?a:(a=I())?a:b},K=function(){vara,c,d,e=g.getElementsByTagName("script");for(a=e.length;a--;){if(!(d=e[a].src)){c=null;break}if(d=G(d),null==c)c=d;elseif(c!==d){c=null;break}}returnc||b},L=function(){vara=G(J())||K()||"";returna+"ZeroClipboard.swf"},M=function(){returnnull==a.opener&&(!!a.top&&a!=a.top||!!a.parent&&a!=a.parent)}(),N={bridge:null,version:"0.0.0",pluginType:"unknown",disabled:null,outdated:null,sandboxed:null,unavailable:null,degraded:null,deactivated:null,overdue:null,ready:null},O="11.0.0",P={},Q={},R=null,S=0,T=0,U={ready:"Flash communication is established",error:{"flash-disabled":"Flash is disabled or not installed. May also be attempting to run Flash in a sandboxed iframe, which is impossible.","flash-outdated":"Flash is too outdated to support ZeroClipboard","flash-sandboxed":"Attempting to run Flash in a sandboxed iframe, which is impossible","flash-unavailable":"Flash is unable to communicate bidirectionally with JavaScript","flash-degraded":"Flash is unable to preserve data fidelity when communicating with JavaScript","flash-deactivated":"Flash is too outdated for your browser and/or is configured as click-to-activate.\nThis may also mean that the ZeroClipboard SWF object could not be loaded, so please check your `swfPath` configuration and/or network connectivity.\nMay also be attempting to run Flash in a sandboxed iframe, which is impossible.","flash-overdue":"Flash communication was established but NOT within the acceptable time limit","version-mismatch":"ZeroClipboard JS version number does not match ZeroClipboard SWF version number","clipboard-error":"At least one error was thrown while ZeroClipboard was attempting to inject your data into the clipboard","config-mismatch":"ZeroClipboard configuration does not match Flash's reality","swf-not-found":"The ZeroClipboard SWF object could not be loaded, so please check your `swfPath` configuration and/or network connectivity"}},V=["flash-unavailable","flash-degraded","flash-overdue","version-mismatch","config-mismatch","clipboard-error"],W=["flash-disabled","flash-outdated","flash-sandboxed","flash-unavailable","flash-degraded","flash-deactivated","flash-overdue"],X=newRegExp("^flash-("+W.map(function(a){returna.replace(/^flash-/,"")}).join("|")+")$"),Y=newRegExp("^flash-("+W.slice(1).map(function(a){returna.replace(/^flash-/,"")}).join("|")+")$"),Z={swfPath:L(),trustedDomains:a.location.host?[a.location.host]:[],cacheBust:!0,forceEnhancedClipboard:!1,flashLoadTimeout:3e4,autoActivate:!0,bubbleEvents:!0,containerId:"global-zeroclipboard-html-bridge",containerClass:"global-zeroclipboard-container",swfObjectId:"global-zeroclipboard-flash-bridge",hoverClass:"zeroclipboard-is-hover",activeClass:"zeroclipboard-is-active",forceHandCursor:!1,title:null,zIndex:999999999},$=function(a){if("object"==typeofa&&null!==a)for(varbina)if(w.call(a,b))if(/^(?:forceHandCursor|title|zIndex|bubbleEvents)$/.test(b))Z[b]=a[b];elseif(null==N.bridge)if("containerId"===b||"swfObjectId"===b){if(!na(a[b]))thrownewError("The specified `"+b+"` value is not valid as an HTML4 Element ID");Z[b]=a[b]}elseZ[b]=a[b];return"string"==typeofa&&a?w.call(Z,a)?Z[a]:void0:B(Z)},_=function(){returnTa(),{browser:C(h,["userAgent","platform","appName"]),flash:D(N,["bridge"]),zeroclipboard:{version:Va.version,config:Va.config()}}},aa=function(){return!!(N.disabled||N.outdated||N.sandboxed||N.unavailable||N.degraded||N.deactivated)},ba=function(a,d){vare,f,g,h={};if("string"==typeofa&&a)g=a.toLowerCase().split(/\s+/);elseif("object"==typeofa&&a&&"undefined"==typeofd)for(eina)w.call(a,e)&&"string"==typeofe&&e&&"function"==typeofa[e]&&Va.on(e,a[e]);if(g&&g.length){for(e=0,f=g.length;f>e;e++)a=g[e].replace(/^on/,""),h[a]=!0,P[a]||(P[a]=[]),P[a].push(d);if(h.ready&&N.ready&&Va.emit({type:"ready"}),h.error){for(e=0,f=W.length;f>e;e++)if(N[W[e].replace(/^flash-/,"")]===!0){Va.emit({type:"error",name:W[e]});break}c!==b&&Va.version!==c&&Va.emit({type:"error",name:"version-mismatch",jsVersion:Va.version,swfVersion:c})}}returnVa},ca=function(a,b){varc,d,e,f,g;if(0===arguments.length)f=u(P);elseif("string"==typeofa&&a)f=a.split(/\s+/);elseif("object"==typeofa&&a&&"undefined"==typeofb)for(cina)w.call(a,c)&&"string"==typeofc&&c&&"function"==typeofa[c]&&Va.off(c,a[c]);if(f&&f.length)for(c=0,d=f.length;d>c;c++)if(a=f[c].toLowerCase().replace(/^on/,""),g=P[a],g&&g.length)if(b)for(e=g.indexOf(b);-1!==e;)g.splice(e,1),e=g.indexOf(b,e);elseg.length=0;returnVa},da=function(a){varb;returnb="string"==typeofa&&a?B(P[a])||null:B(P)},ea=function(a){varb,c,d;returna=oa(a),a&&!va(a)?"ready"===a.type&&N.overdue===!0?Va.emit({type:"error",name:"flash-overdue"}):(b=A({},a),ta.call(this,b),"copy"===a.type&&(d=Da(Q),c=d.data,R=d.formatMap),c):void0},fa=function(){vara=N.sandboxed;if(Ta(),"boolean"!=typeofN.ready&&(N.ready=!1),N.sandboxed!==a&&N.sandboxed===!0)N.ready=!1,Va.emit({type:"error",name:"flash-sandboxed"});elseif(!Va.isFlashUnusable()&&null===N.bridge){varb=Z.flashLoadTimeout;"number"==typeofb&&b>=0&&(S=i(function(){"boolean"!=typeofN.deactivated&&(N.deactivated=!0),N.deactivated===!0&&Va.emit({type:"error",name:"flash-deactivated"})},b)),N.overdue=!1,Ba()}},ga=function(){Va.clearData(),Va.blur(),Va.emit("destroy"),Ca(),Va.off()},ha=function(a,b){varc;if("object"==typeofa&&a&&"undefined"==typeofb)c=a,Va.clearData();else{if("string"!=typeofa||!a)return;c={},c[a]=b}for(vardinc)"string"==typeofd&&d&&w.call(c,d)&&"string"==typeofc[d]&&c[d]&&(Q[d]=c[d])},ia=function(a){"undefined"==typeofa?(E(Q),R=null):"string"==typeofa&&w.call(Q,a)&&deleteQ[a]},ja=function(a){return"undefined"==typeofa?B(Q):"string"==typeofa&&w.call(Q,a)?Q[a]:void0},ka=function(a){if(a&&1===a.nodeType){d&&(La(d,Z.activeClass),d!==a&&La(d,Z.hoverClass)),d=a,Ka(a,Z.hoverClass);varb=a.getAttribute("title")||Z.title;if("string"==typeofb&&b){varc=Aa(N.bridge);c&&c.setAttribute("title",b)}vare=Z.forceHandCursor===!0||"pointer"===Ma(a,"cursor");Ra(e),Qa()}},la=function(){vara=Aa(N.bridge);a&&(a.removeAttribute("title"),a.style.left="0px",a.style.top="-9999px",a.style.width="1px",a.style.height="1px"),d&&(La(d,Z.hoverClass),La(d,Z.activeClass),d=null)},ma=function(){returnd||null},na=function(a){return"string"==typeofa&&a&&/^[A-Za-z][A-Za-z0-9_:\-\.]*$/.test(a)},oa=function(a){varb;if("string"==typeofa&&a?(b=a,a={}):"object"==typeofa&&a&&"string"==typeofa.type&&a.type&&(b=a.type),b){b=b.toLowerCase(),!a.target&&(/^(copy|aftercopy|_click)$/.test(b)||"error"===b&&"clipboard-error"===a.name)&&(a.target=e),A(a,{type:b,target:a.target||d||null,relatedTarget:a.relatedTarget||null,currentTarget:N&&N.bridge||null,timeStamp:a.timeStamp||t()||null});varc=U[a.type];return"error"===a.type&&a.name&&c&&(c=c[a.name]),c&&(a.message=c),"ready"===a.type&&A(a,{target:null,version:N.version}),"error"===a.type&&(X.test(a.name)&&A(a,{target:null,minimumVersion:O}),Y.test(a.name)&&A(a,{version:N.version})),"copy"===a.type&&(a.clipboardData={setData:Va.setData,clearData:Va.clearData}),"aftercopy"===a.type&&(a=Ea(a,R)),a.target&&!a.relatedTarget&&(a.relatedTarget=pa(a.target)),qa(a)}},pa=function(a){varb=a&&a.getAttribute&&a.getAttribute("data-clipboard-target");returnb?g.getElementById(b):null},qa=function(a){if(a&&/^_(?:click|mouse(?:over|out|down|up|move))$/.test(a.type)){varc=a.target,d="_mouseover"===a.type&&a.relatedTarget?a.relatedTarget:b,e="_mouseout"===a.type&&a.relatedTarget?a.relatedTarget:b,h=Na(c),i=f.screenLeft||f.screenX||0,j=f.screenTop||f.screenY||0,k=g.body.scrollLeft+g.documentElement.scrollLeft,l=g.body.scrollTop+g.documentElement.scrollTop,m=h.left+("number"==typeofa._stageX?a._stageX:0),n=h.top+("number"==typeofa._stageY?a._stageY:0),o=m-k,p=n-l,q=i+o,r=j+p,s="number"==typeofa.movementX?a.movementX:0,t="number"==typeofa.movementY?a.movementY:0;deletea._stageX,deletea._stageY,A(a,{srcElement:c,fromElement:d,toElement:e,screenX:q,screenY:r,pageX:m,pageY:n,clientX:o,clientY:p,x:o,y:p,movementX:s,movementY:t,offsetX:0,offsetY:0,layerX:0,layerY:0})}returna},ra=function(a){varb=a&&"string"==typeofa.type&&a.type||"";return!/^(?:(?:before)?copy|destroy)$/.test(b)},sa=function(a,b,c,d){d?i(function(){a.apply(b,c)},0):a.apply(b,c)},ta=function(a){if("object"==typeofa&&a&&a.type){varb=ra(a),c=P["*"]||[],d=P[a.type]||[],e=c.concat(d);if(e&&e.length){varg,h,i,j,k,l=this;for(g=0,h=e.length;h>g;g++)i=e[g],j=l,"string"==typeofi&&"function"==typeoff[i]&&(i=f[i]),"object"==typeofi&&i&&"function"==typeofi.handleEvent&&(j=i,i=i.handleEvent),"function"==typeofi&&(k=A({},a),sa(i,j,[k],b))}returnthis}},ua=function(a){varb=null;return(M===!1||a&&"error"===a.type&&a.name&&-1!==V.indexOf(a.name))&&(b=!1),b},va=function(a){varb=a.target||d||null,f="swf"===a._source;switch(deletea._source,a.type){case"error":varg="flash-sandboxed"===a.name||ua(a);"boolean"==typeofg&&(N.sandboxed=g),-1!==W.indexOf(a.name)?A(N,{disabled:"flash-disabled"===a.name,outdated:"flash-outdated"===a.name,unavailable:"flash-unavailable"===a.name,degraded:"flash-degraded"===a.name,deactivated:"flash-deactivated"===a.name,overdue:"flash-overdue"===a.name,ready:!1}):"version-mismatch"===a.name&&(c=a.swfVersion,A(N,{disabled:!1,outdated:!1,unavailable:!1,degraded:!1,deactivated:!1,overdue:!1,ready:!1})),Pa();break;case"ready":c=a.swfVersion;varh=N.deactivated===!0;A(N,{disabled:!1,outdated:!1,sandboxed:!1,unavailable:!1,degraded:!1,deactivated:!1,overdue:h,ready:!h}),Pa();break;case"beforecopy":e=b;break;case"copy":vari,j,k=a.relatedTarget;!Q["text/html"]&&!Q["text/plain"]&&k&&(j=k.value||k.outerHTML||k.innerHTML)&&(i=k.value||k.textContent||k.innerText)?(a.clipboardData.clearData(),a.clipboardData.setData("text/plain",i),j!==i&&a.clipboardData.setData("text/html",j)):!Q["text/plain"]&&a.target&&(i=a.target.getAttribute("data-clipboard-text"))&&(a.clipboardData.clearData(),a.clipboardData.setData("text/plain",i));break;case"aftercopy":wa(a),Va.clearData(),b&&b!==Ja()&&b.focus&&b.focus();break;case"_mouseover":Va.focus(b),Z.bubbleEvents===!0&&f&&(b&&b!==a.relatedTarget&&!F(a.relatedTarget,b)&&xa(A({},a,{type:"mouseenter",bubbles:!1,cancelable:!1})),xa(A({},a,{type:"mouseover"})));break;case"_mouseout":Va.blur(),Z.bubbleEvents===!0&&f&&(b&&b!==a.relatedTarget&&!F(a.relatedTarget,b)&&xa(A({},a,{type:"mouseleave",bubbles:!1,cancelable:!1})),xa(A({},a,{type:"mouseout"})));break;case"_mousedown":Ka(b,Z.activeClass),Z.bubbleEvents===!0&&f&&xa(A({},a,{type:a.type.slice(1)}));break;case"_mouseup":La(b,Z.activeClass),Z.bubbleEvents===!0&&f&&xa(A({},a,{type:a.type.slice(1)}));break;case"_click":e=null,Z.bubbleEvents===!0&&f&&xa(A({},a,{type:a.type.slice(1)}));break;case"_mousemove":Z.bubbleEvents===!0&&f&&xa(A({},a,{type:a.type.slice(1)}))}return/^_(?:click|mouse(?:over|out|down|up|move))$/.test(a.type)?!0:void0},wa=function(a){if(a.errors&&a.errors.length>0){varb=B(a);A(b,{type:"error",name:"clipboard-error"}),deleteb.success,i(function(){Va.emit(b)},0)}},xa=function(a){if(a&&"string"==typeofa.type&&a){varb,c=a.target||null,d=c&&c.ownerDocument||g,e={view:d.defaultView||f,canBubble:!0,cancelable:!0,detail:"click"===a.type?1:0,button:"number"==typeofa.which?a.which-1:"number"==typeofa.button?a.button:d.createEvent?0:1},h=A(e,a);c&&d.createEvent&&c.dispatchEvent&&(h=[h.type,h.canBubble,h.cancelable,h.view,h.detail,h.screenX,h.screenY,h.clientX,h.clientY,h.ctrlKey,h.altKey,h.shiftKey,h.metaKey,h.button,h.relatedTarget],b=d.createEvent("MouseEvents"),b.initMouseEvent&&(b.initMouseEvent.apply(b,h),b._source="js",c.dispatchEvent(b)))}},ya=function(){vara=Z.flashLoadTimeout;if("number"==typeofa&&a>=0){varb=Math.min(1e3,a/10),c=Z.swfObjectId+"_fallbackContent";T=k(function(){vara=g.getElementById(c);Oa(a)&&(Pa(),N.deactivated=null,Va.emit({type:"error",name:"swf-not-found"}))},b)}},za=function(){vara=g.createElement("div");returna.id=Z.containerId,a.className=Z.containerClass,a.style.position="absolute",a.style.left="0px",a.style.top="-9999px",a.style.width="1px",a.style.height="1px",a.style.zIndex=""+Sa(Z.zIndex),a},Aa=function(a){for(varb=a&&a.parentNode;b&&"OBJECT"===b.nodeName&&b.parentNode;)b=b.parentNode;returnb||null},Ba=function(){vara,b=N.bridge,c=Aa(b);if(!b){vard=Ia(f.location.host,Z),e="never"===d?"none":"all",h=Ga(A({jsVersion:Va.version},Z)),i=Z.swfPath+Fa(Z.swfPath,Z);c=za();varj=g.createElement("div");c.appendChild(j),g.body.appendChild(c);vark=g.createElement("div"),l="activex"===N.pluginType;k.innerHTML='<object id="'+Z.swfObjectId+'" name="'+Z.swfObjectId+'" width="100%" height="100%" '+(l?'classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"':'type="application/x-shockwave-flash" data="'+i+'"')+">"+(l?'<param name="movie" value="'+i+'"/>':"")+'<param name="allowScriptAccess" value="'+d+'"/><param name="allowNetworking" value="'+e+'"/><param name="menu" value="false"/><param name="wmode" value="transparent"/><param name="flashvars" value="'+h+'"/><div id="'+Z.swfObjectId+'_fallbackContent"> </div></object>',b=k.firstChild,k=null,y(b).ZeroClipboard=Va,c.replaceChild(b,j),ya()}returnb||(b=g[Z.swfObjectId],b&&(a=b.length)&&(b=b[a-1]),!b&&c&&(b=c.firstChild)),N.bridge=b||null,b},Ca=function(){vara=N.bridge;if(a){vard=Aa(a);d&&("activex"===N.pluginType&&"readyState"ina?(a.style.display="none",functione(){if(4===a.readyState){for(varbina)"function"==typeofa[b]&&(a[b]=null);a.parentNode&&a.parentNode.removeChild(a),d.parentNode&&d.parentNode.removeChild(d)}elsei(e,10)}()):(a.parentNode&&a.parentNode.removeChild(a),d.parentNode&&d.parentNode.removeChild(d))),Pa(),N.ready=null,N.bridge=null,N.deactivated=null,c=b}},Da=function(a){varb={},c={};if("object"==typeofa&&a){for(vardina)if(d&&w.call(a,d)&&"string"==typeofa[d]&&a[d])switch(d.toLowerCase()){case"text/plain":case"text":case"air:text":case"flash:text":b.text=a[d],c.text=d;break;case"text/html":case"html":case"air:html":case"flash:html":b.html=a[d],c.html=d;break;case"application/rtf":case"text/rtf":case"rtf":case"richtext":case"air:rtf":case"flash:rtf":b.rtf=a[d],c.rtf=d}return{data:b,formatMap:c}}},Ea=function(a,b){if("object"!=typeofa||!a||"object"!=typeofb||!b)returna;varc={};for(vardina)if(w.call(a,d))if("errors"===d){c[d]=a[d]?a[d].slice():[];for(vare=0,f=c[d].length;f>e;e++)c[d][e].format=b[c[d][e].format]}elseif("success"!==d&&"data"!==d)c[d]=a[d];else{c[d]={};varg=a[d];for(varhing)h&&w.call(g,h)&&w.call(b,h)&&(c[d][b[h]]=g[h])}returnc},Fa=function(a,b){varc=null==b||b&&b.cacheBust===!0;returnc?(-1===a.indexOf("?")?"?":"&")+"noCache="+t():""},Ga=function(a){varb,c,d,e,g="",h=[];if(a.trustedDomains&&("string"==typeofa.trustedDomains?e=[a.trustedDomains]:"object"==typeofa.trustedDomains&&"length"ina.trustedDomains&&(e=a.trustedDomains)),e&&e.length)for(b=0,c=e.length;c>b;b++)if(w.call(e,b)&&e[b]&&"string"==typeofe[b]){if(d=Ha(e[b]),!d)continue;if("*"===d){h.length=0,h.push(d);break}h.push.apply(h,[d,"//"+d,f.location.protocol+"//"+d])}returnh.length&&(g+="trustedOrigins="+n(h.join(","))),a.forceEnhancedClipboard===!0&&(g+=(g?"&":"")+"forceEnhancedClipboard=true"),"string"==typeofa.swfObjectId&&a.swfObjectId&&(g+=(g?"&":"")+"swfObjectId="+n(a.swfObjectId)),"string"==typeofa.jsVersion&&a.jsVersion&&(g+=(g?"&":"")+"jsVersion="+n(a.jsVersion)),g},Ha=function(a){if(null==a||""===a)returnnull;if(a=a.replace(/^\s+|\s+$/g,""),""===a)returnnull;varb=a.indexOf("//");a=-1===b?a:a.slice(b+2);varc=a.indexOf("/");returna=-1===c?a:-1===b||0===c?null:a.slice(0,c),a&&".swf"===a.slice(-4).toLowerCase()?null:a||null},Ia=function(){vara=function(a){varb,c,d,e=[];if("string"==typeofa&&(a=[a]),"object"!=typeofa||!a||"number"!=typeofa.length)returne;for(b=0,c=a.length;c>b;b++)if(w.call(a,b)&&(d=Ha(a[b]))){if("*"===d){e.length=0,e.push("*");break}-1===e.indexOf(d)&&e.push(d)}returne};returnfunction(b,c){vard=Ha(c.swfPath);null===d&&(d=b);vare=a(c.trustedDomains),f=e.length;if(f>0){if(1===f&&"*"===e[0])return"always";if(-1!==e.indexOf(b))return1===f&&b===d?"sameDomain":"always"}return"never"}}(),Ja=function(){try{returng.activeElement}catch(a){returnnull}},Ka=function(a,b){varc,d,e,f=[];if("string"==typeofb&&b&&(f=b.split(/\s+/)),a&&1===a.nodeType&&f.length>0)if(a.classList)for(c=0,d=f.length;d>c;c++)a.classList.add(f[c]);elseif(a.hasOwnProperty("className")){for(e=""+a.className+"",c=0,d=f.length;d>c;c++)-1===e.indexOf(""+f[c]+"")&&(e+=f[c]+"");a.className=e.replace(/^\s+|\s+$/g,"")}returna},La=function(a,b){varc,d,e,f=[];if("string"==typeofb&&b&&(f=b.split(/\s+/)),a&&1===a.nodeType&&f.length>0)if(a.classList&&a.classList.length>0)for(c=0,d=f.length;d>c;c++)a.classList.remove(f[c]);elseif(a.className){for(e=(""+a.className+"").replace(/[\r\n\t]/g,""),c=0,d=f.length;d>c;c++)e=e.replace(""+f[c]+"","");a.className=e.replace(/^\s+|\s+$/g,"")}returna},Ma=function(a,b){varc=m(a,null).getPropertyValue(b);return"cursor"!==b||c&&"auto"!==c||"A"!==a.nodeName?c:"pointer"},Na=function(a){varb={left:0,top:0,width:0,height:0};if(a.getBoundingClientRect){varc=a.getBoundingClientRect(),d=f.pageXOffset,e=f.pageYOffset,h=g.documentElement.clientLeft||0,i=g.documentElement.clientTop||0,j=0,k=0;if("relative"===Ma(g.body,"position")){varl=g.body.getBoundingClientRect(),m=g.documentElement.getBoundingClientRect();j=l.left-m.left||0,k=l.top-m.top||0}b.left=c.left+d-h-j,b.top=c.top+e-i-k,b.width="width"inc?c.width:c.right-c.left,b.height="height"inc?c.height:c.bottom-c.top}returnb},Oa=function(a){if(!a)return!1;varb=m(a,null),c=r(b.height)>0,d=r(b.width)>0,e=r(b.top)>=0,f=r(b.left)>=0,g=c&&d&&e&&f,h=g?null:Na(a),i="none"!==b.display&&"collapse"!==b.visibility&&(g||!!h&&(c||h.height>0)&&(d||h.width>0)&&(e||h.top>=0)&&(f||h.left>=0));returni},Pa=function(){j(S),S=0,l(T),T=0},Qa=function(){vara;if(d&&(a=Aa(N.bridge))){varb=Na(d);A(a.style,{width:b.width+"px",height:b.height+"px",top:b.top+"px",left:b.left+"px",zIndex:""+Sa(Z.zIndex)})}},Ra=function(a){N.ready===!0&&(N.bridge&&"function"==typeofN.bridge.setHandCursor?N.bridge.setHandCursor(a):N.ready=!1)},Sa=function(a){if(/^(?:auto|inherit)$/.test(a))returna;varb;return"number"!=typeofa||s(a)?"string"==typeofa&&(b=Sa(q(a,10))):b=a,"number"==typeofb?b:"auto"},Ta=function(b){varc,d,e,f=N.sandboxed,g=null;if(b=b===!0,M===!1)g=!1;else{try{d=a.frameElement||null}catch(h){e={name:h.name,message:h.message}}if(d&&1===d.nodeType&&"IFRAME"===d.nodeName)try{g=d.hasAttribute("sandbox")}catch(h){g=null}else{try{c=document.domain||null}catch(h){c=null}(null===c||e&&"SecurityError"===e.name&&/(^|[\s\(\[@])sandbox(es|ed|ing|[\s\.,!\)\]@]|$)/.test(e.message.toLowerCase()))&&(g=!0)}}returnN.sandboxed=g,f===g||b||Ua(o),g},Ua=function(a){functionb(a){varb=a.match(/[\d]+/g);returnb.length=3,b.join(".")}functionc(a){return!!a&&(a=a.toLowerCase())&&(/^(pepflashplayer\.dll|libpepflashplayer\.so|pepperflashplayer\.plugin)$/.test(a)||"chrome.plugin"===a.slice(-13))}functiond(a){a&&(i=!0,a.version&&(l=b(a.version)),!l&&a.description&&(l=b(a.description)),a.filename&&(k=c(a.filename)))}vare,f,g,i=!1,j=!1,k=!1,l="";if(h.plugins&&h.plugins.length)e=h.plugins["Shockwave Flash"],d(e),h.plugins["Shockwave Flash 2.0"]&&(i=!0,l="2.0.0.11");elseif(h.mimeTypes&&h.mimeTypes.length)g=h.mimeTypes["application/x-shockwave-flash"],e=g&&g.enabledPlugin,d(e);elseif("undefined"!=typeofa){j=!0;try{f=newa("ShockwaveFlash.ShockwaveFlash.7"),i=!0,l=b(f.GetVariable("$version"))}catch(m){try{f=newa("ShockwaveFlash.ShockwaveFlash.6"),i=!0,l="6.0.21"}catch(n){try{f=newa("ShockwaveFlash.ShockwaveFlash"),i=!0,l=b(f.GetVariable("$version"))}catch(o){j=!1}}}}N.disabled=i!==!0,N.outdated=l&&r(l)<r(O),N.version=l||"0.0.0",N.pluginType=k?"pepper":j?"activex":i?"netscape":"unknown"};Ua(o),Ta(!0);varVa=function(){returnthisinstanceofVa?void("function"==typeofVa._createClient&&Va._createClient.apply(this,z(arguments))):newVa};v(Va,"version",{value:"2.2.0",writable:!1,configurable:!0,enumerable:!0}),Va.config=function(){return$.apply(this,z(arguments))},Va.state=function(){return_.apply(this,z(arguments))},Va.isFlashUnusable=function(){returnaa.apply(this,z(arguments))},Va.on=function(){returnba.apply(this,z(arguments))},Va.off=function(){returnca.apply(this,z(arguments))},Va.handlers=function(){returnda.apply(this,z(arguments))},Va.emit=function(){returnea.apply(this,z(arguments))},Va.create=function(){returnfa.apply(this,z(arguments))},Va.destroy=function(){returnga.apply(this,z(arguments))},Va.setData=function(){returnha.apply(this,z(arguments))},Va.clearData=function(){returnia.apply(this,z(arguments))},Va.getData=function(){returnja.apply(this,z(arguments))},Va.focus=Va.activate=function(){returnka.apply(this,z(arguments))},Va.blur=Va.deactivate=function(){returnla.apply(this,z(arguments))},Va.activeElement=function(){returnma.apply(this,z(arguments))};varWa=0,Xa={},Ya=0,Za={},$a={};A(Z,{autoActivate:!0});var_a=function(a){varb=this;b.id=""+Wa++,Xa[b.id]={instance:b,elements:[],handlers:{}},a&&b.clip(a),Va.on("*",function(a){returnb.emit(a)}),Va.on("destroy",function(){b.destroy()}),Va.create()},ab=function(a,d){vare,f,g,h={},i=Xa[this.id],j=i&&i.handlers;if(!i)thrownewError("Attempted to add new listener(s) to a destroyed ZeroClipboard client instance");if("string"==typeofa&&a)g=a.toLowerCase().split(/\s+/);elseif("object"==typeofa&&a&&"undefined"==typeofd)for(eina)w.call(a,e)&&"string"==typeofe&&e&&"function"==typeofa[e]&&this.on(e,a[e]);if(g&&g.length){for(e=0,f=g.length;f>e;e++)a=g[e].replace(/^on/,""),h[a]=!0,j[a]||(j[a]=[]),j[a].push(d);if(h.ready&&N.ready&&this.emit({type:"ready",client:this}),h.error){for(e=0,f=W.length;f>e;e++)if(N[W[e].replace(/^flash-/,"")]){this.emit({type:"error",name:W[e],client:this});break}c!==b&&Va.version!==c&&this.emit({type:"error",name:"version-mismatch",jsVersion:Va.version,swfVersion:c})}}returnthis},bb=function(a,b){varc,d,e,f,g,h=Xa[this.id],i=h&&h.handlers;if(!i)returnthis;if(0===arguments.length)f=u(i);elseif("string"==typeofa&&a)f=a.split(/\s+/);elseif("object"==typeofa&&a&&"undefined"==typeofb)for(cina)w.call(a,c)&&"string"==typeofc&&c&&"function"==typeofa[c]&&this.off(c,a[c]);if(f&&f.length)for(c=0,d=f.length;d>c;c++)if(a=f[c].toLowerCase().replace(/^on/,""),g=i[a],g&&g.length)if(b)for(e=g.indexOf(b);-1!==e;)g.splice(e,1),e=g.indexOf(b,e);elseg.length=0;returnthis},cb=function(a){varb=null,c=Xa[this.id]&&Xa[this.id].handlers;returnc&&(b="string"==typeofa&&a?c[a]?c[a].slice(0):[]:B(c)),b},db=function(a){if(ib.call(this,a)){"object"==typeofa&&a&&"string"==typeofa.type&&a.type&&(a=A({},a));varb=A({},oa(a),{client:this});jb.call(this,b)}returnthis},eb=function(a){if(!Xa[this.id])thrownewError("Attempted to clip element(s) to a destroyed ZeroClipboard client instance");a=kb(a);for(varb=0;b<a.length;b++)if(w.call(a,b)&&a[b]&&1===a[b].nodeType){a[b].zcClippingId?-1===Za[a[b].zcClippingId].indexOf(this.id)&&Za[a[b].zcClippingId].push(this.id):(a[b].zcClippingId="zcClippingId_"+Ya++,Za[a[b].zcClippingId]=[this.id],Z.autoActivate===!0&&lb(a[b]));varc=Xa[this.id]&&Xa[this.id].elements;-1===c.indexOf(a[b])&&c.push(a[b])}returnthis},fb=function(a){varb=Xa[this.id];if(!b)returnthis;varc,d=b.elements;a="undefined"==typeofa?d.slice(0):kb(a);for(vare=a.length;e--;)if(w.call(a,e)&&a[e]&&1===a[e].nodeType){for(c=0;-1!==(c=d.indexOf(a[e],c));)d.splice(c,1);varf=Za[a[e].zcClippingId];if(f){for(c=0;-1!==(c=f.indexOf(this.id,c));)f.splice(c,1);0===f.length&&(Z.autoActivate===!0&&mb(a[e]),deletea[e].zcClippingId)}}returnthis},gb=function(){vara=Xa[this.id];returna&&a.elements?a.elements.slice(0):[]},hb=function(){Xa[this.id]&&(this.unclip(),this.off(),deleteXa[this.id])},ib=function(a){if(!a||!a.type)return!1;if(a.client&&a.client!==this)return!1;varb=Xa[this.id],c=b&&b.elements,d=!!c&&c.length>0,e=!a.target||d&&-1!==c.indexOf(a.target),f=a.relatedTarget&&d&&-1!==c.indexOf(a.relatedTarget),g=a.client&&a.client===this;returnb&&(e||f||g)?!0:!1},jb=function(a){varb=Xa[this.id];if("object"==typeofa&&a&&a.type&&b){varc=ra(a),d=b&&b.handlers["*"]||[],e=b&&b.handlers[a.type]||[],g=d.concat(e);if(g&&g.length){varh,i,j,k,l,m=this;for(h=0,i=g.length;i>h;h++)j=g[h],k=m,"string"==typeofj&&"function"==typeoff[j]&&(j=f[j]),"object"==typeofj&&j&&"function"==typeofj.handleEvent&&(k=j,j=j.handleEvent),"function"==typeofj&&(l=A({},a),sa(j,k,[l],c))}}},kb=function(a){return"string"==typeofa&&(a=[]),"number"!=typeofa.length?[a]:a},lb=function(a){if(a&&1===a.nodeType){varb=function(a){(a||(a=f.event))&&("js"!==a._source&&(a.stopImmediatePropagation(),a.preventDefault()),deletea._source)},c=function(c){(c||(c=f.event))&&(b(c),Va.focus(a))};a.addEventListener("mouseover",c,!1),a.addEventListener("mouseout",b,!1),a.addEventListener("mouseenter",b,!1),a.addEventListener("mouseleave",b,!1),a.addEventListener("mousemove",b,!1),$a[a.zcClippingId]={mouseover:c,mouseout:b,mouseenter:b,mouseleave:b,mousemove:b}}},mb=function(a){if(a&&1===a.nodeType){varb=$a[a.zcClippingId];if("object"==typeofb&&b){for(varc,d,e=["move","leave","enter","out","over"],f=0,g=e.length;g>f;f++)c="mouse"+e[f],d=b[c],"function"==typeofd&&a.removeEventListener(c,d,!1);delete$a[a.zcClippingId]}}};Va._createClient=function(){_a.apply(this,z(arguments))},Va.prototype.on=function(){returnab.apply(this,z(arguments))},Va.prototype.off=function(){returnbb.apply(this,z(arguments))},Va.prototype.handlers=function(){returncb.apply(this,z(arguments))},Va.prototype.emit=function(){returndb.apply(this,z(arguments))},Va.prototype.clip=function(){returneb.apply(this,z(arguments))},Va.prototype.unclip=function(){returnfb.apply(this,z(arguments))},Va.prototype.elements=function(){returngb.apply(this,z(arguments))},Va.prototype.destroy=function(){returnhb.apply(this,z(arguments))},Va.prototype.setText=function(a){if(!Xa[this.id])thrownewError("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");returnVa.setData("text/plain",a),this},Va.prototype.setHtml=function(a){if(!Xa[this.id])thrownewError("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");returnVa.setData("text/html",a),this},Va.prototype.setRichText=function(a){if(!Xa[this.id])thrownewError("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");returnVa.setData("application/rtf",a),this},Va.prototype.setData=function(){if(!Xa[this.id])thrownewError("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");returnVa.setData.apply(this,z(arguments)),this},Va.prototype.clearData=function(){if(!Xa[this.id])thrownewError("Attempted to clear pending clipboard data from a destroyed ZeroClipboard client instance");returnVa.clearData.apply(this,z(arguments)),this},Va.prototype.getData=function(){if(!Xa[this.id])thrownewError("Attempted to get pending clipboard data from a destroyed ZeroClipboard client instance");returnVa.getData.apply(this,z(arguments))},"function"==typeofdefine&&define.amd?define(function(){returnVa}):"object"==typeofmodule&&module&&"object"==typeofmodule.exports&&module.exports?module.exports=Va:a.ZeroClipboard=Va}(function(){returnthis||window}()),/*!
* ZeroClipboard
* The ZeroClipboard library provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie and a JavaScript interface.
* The ZeroClipboard library provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie and a JavaScript interface.
* Copyright (c) 2009-2014 Jon Rohan, James M. Greene
* Licensed MIT
* http://zeroclipboard.org/
* v2.2.0
*/
!function(a,b){"use strict";varc,d,e,f=a,g=f.document,h=f.navigator,i=f.setTimeout,j=f.clearTimeout,k=f.setInterval,l=f.clearInterval,m=f.getComputedStyle,n=f.encodeURIComponent,o=f.ActiveXObject,p=f.Error,q=f.Number.parseInt||f.parseInt,r=f.Number.parseFloat||f.parseFloat,s=f.Number.isNaN||f.isNaN,t=f.Date.now,u=f.Object.keys,v=f.Object.defineProperty,w=f.Object.prototype.hasOwnProperty,x=f.Array.prototype.slice,y=function(){vara=function(a){returna};if("function"==typeoff.wrap&&"function"==typeoff.unwrap)try{varb=g.createElement("div"),c=f.unwrap(b);1===b.nodeType&&c&&1===c.nodeType&&(a=f.unwrap)}catch(d){}returna}(),z=function(a){returnx.call(a,0)},A=function(){vara,c,d,e,f,g,h=z(arguments),i=h[0]||{};for(a=1,c=h.length;c>a;a++)if(null!=(d=h[a]))for(eind)w.call(d,e)&&(f=i[e],g=d[e],i!==g&&g!==b&&(i[e]=g));returni},B=function(a){varb,c,d,e;if("object"!=typeofa||null==a||"number"==typeofa.nodeType)b=a;elseif("number"==typeofa.length)for(b=[],c=0,d=a.length;d>c;c++)w.call(a,c)&&(b[c]=B(a[c]));else{b={};for(eina)w.call(a,e)&&(b[e]=B(a[e]))}returnb},C=function(a,b){for(varc={},d=0,e=b.length;e>d;d++)b[d]ina&&(c[b[d]]=a[b[d]]);returnc},D=function(a,b){varc={};for(vardina)-1===b.indexOf(d)&&(c[d]=a[d]);returnc},E=function(a){if(a)for(varbina)w.call(a,b)&&deletea[b];returna},F=function(a,b){if(a&&1===a.nodeType&&a.ownerDocument&&b&&(1===b.nodeType&&b.ownerDocument&&b.ownerDocument===a.ownerDocument||9===b.nodeType&&!b.ownerDocument&&b===a.ownerDocument))do{if(a===b)return!0;a=a.parentNode}while(a);return!1},G=function(a){varb;return"string"==typeofa&&a&&(b=a.split("#")[0].split("?")[0],b=a.slice(0,a.lastIndexOf("/")+1)),b},H=function(a){varb,c;return"string"==typeofa&&a&&(c=a.match(/^(?:|[^:@]*@|.+\)@(?=http[s]?|file)|.+?\s+(?: at |@)(?:[^:\(]+ )*[\(]?)((?:http[s]?|file):\/\/[\/]?.+?\/[^:\)]*?)(?::\d+)(?::\d+)?/),c&&c[1]?b=c[1]:(c=a.match(/\)@((?:http[s]?|file):\/\/[\/]?.+?\/[^:\)]*?)(?::\d+)(?::\d+)?/),c&&c[1]&&(b=c[1]))),b},I=function(){vara,b;try{thrownewp}catch(c){b=c}returnb&&(a=b.sourceURL||b.fileName||H(b.stack)),a},J=function(){vara,c,d;if(g.currentScript&&(a=g.currentScript.src))returna;if(c=g.getElementsByTagName("script"),1===c.length)returnc[0].src||b;if("readyState"inc[0])for(d=c.length;d--;)if("interactive"===c[d].readyState&&(a=c[d].src))returna;return"loading"===g.readyState&&(a=c[c.length-1].src)?a:(a=I())?a:b},K=function(){vara,c,d,e=g.getElementsByTagName("script");for(a=e.length;a--;){if(!(d=e[a].src)){c=null;break}if(d=G(d),null==c)c=d;elseif(c!==d){c=null;break}}returnc||b},L=function(){vara=G(J())||K()||"";returna+"ZeroClipboard.swf"},M=function(){returnnull==a.opener&&(!!a.top&&a!=a.top||!!a.parent&&a!=a.parent)}(),N={bridge:null,version:"0.0.0",pluginType:"unknown",disabled:null,outdated:null,sandboxed:null,unavailable:null,degraded:null,deactivated:null,overdue:null,ready:null},O="11.0.0",P={},Q={},R=null,S=0,T=0,U={ready:"Flash communication is established",error:{"flash-disabled":"Flash is disabled or not installed. May also be attempting to run Flash in a sandboxed iframe, which is impossible.","flash-outdated":"Flash is too outdated to support ZeroClipboard","flash-sandboxed":"Attempting to run Flash in a sandboxed iframe, which is impossible","flash-unavailable":"Flash is unable to communicate bidirectionally with JavaScript","flash-degraded":"Flash is unable to preserve data fidelity when communicating with JavaScript","flash-deactivated":"Flash is too outdated for your browser and/or is configured as click-to-activate.\nThis may also mean that the ZeroClipboard SWF object could not be loaded, so please check your `swfPath` configuration and/or network connectivity.\nMay also be attempting to run Flash in a sandboxed iframe, which is impossible.","flash-overdue":"Flash communication was established but NOT within the acceptable time limit","version-mismatch":"ZeroClipboard JS version number does not match ZeroClipboard SWF version number","clipboard-error":"At least one error was thrown while ZeroClipboard was attempting to inject your data into the clipboard","config-mismatch":"ZeroClipboard configuration does not match Flash's reality","swf-not-found":"The ZeroClipboard SWF object could not be loaded, so please check your `swfPath` configuration and/or network connectivity"}},V=["flash-unavailable","flash-degraded","flash-overdue","version-mismatch","config-mismatch","clipboard-error"],W=["flash-disabled","flash-outdated","flash-sandboxed","flash-unavailable","flash-degraded","flash-deactivated","flash-overdue"],X=newRegExp("^flash-("+W.map(function(a){returna.replace(/^flash-/,"")}).join("|")+")$"),Y=newRegExp("^flash-("+W.slice(1).map(function(a){returna.replace(/^flash-/,"")}).join("|")+")$"),Z={swfPath:L(),trustedDomains:a.location.host?[a.location.host]:[],cacheBust:!0,forceEnhancedClipboard:!1,flashLoadTimeout:3e4,autoActivate:!0,bubbleEvents:!0,containerId:"global-zeroclipboard-html-bridge",containerClass:"global-zeroclipboard-container",swfObjectId:"global-zeroclipboard-flash-bridge",hoverClass:"zeroclipboard-is-hover",activeClass:"zeroclipboard-is-active",forceHandCursor:!1,title:null,zIndex:999999999},$=function(a){if("object"==typeofa&&null!==a)for(varbina)if(w.call(a,b))if(/^(?:forceHandCursor|title|zIndex|bubbleEvents)$/.test(b))Z[b]=a[b];elseif(null==N.bridge)if("containerId"===b||"swfObjectId"===b){if(!nb(a[b]))thrownewError("The specified `"+b+"` value is not valid as an HTML4 Element ID");Z[b]=a[b]}elseZ[b]=a[b];{if("string"!=typeofa||!a)returnB(Z);if(w.call(Z,a))returnZ[a]}},_=function(){returnTb(),{browser:C(h,["userAgent","platform","appName"]),flash:D(N,["bridge"]),zeroclipboard:{version:Vb.version,config:Vb.config()}}},ab=function(){return!!(N.disabled||N.outdated||N.sandboxed||N.unavailable||N.degraded||N.deactivated)},bb=function(a,d){vare,f,g,h={};if("string"==typeofa&&a)g=a.toLowerCase().split(/\s+/);elseif("object"==typeofa&&a&&"undefined"==typeofd)for(eina)w.call(a,e)&&"string"==typeofe&&e&&"function"==typeofa[e]&&Vb.on(e,a[e]);if(g&&g.length){for(e=0,f=g.length;f>e;e++)a=g[e].replace(/^on/,""),h[a]=!0,P[a]||(P[a]=[]),P[a].push(d);if(h.ready&&N.ready&&Vb.emit({type:"ready"}),h.error){for(e=0,f=W.length;f>e;e++)if(N[W[e].replace(/^flash-/,"")]===!0){Vb.emit({type:"error",name:W[e]});break}c!==b&&Vb.version!==c&&Vb.emit({type:"error",name:"version-mismatch",jsVersion:Vb.version,swfVersion:c})}}returnVb},cb=function(a,b){varc,d,e,f,g;if(0===arguments.length)f=u(P);elseif("string"==typeofa&&a)f=a.split(/\s+/);elseif("object"==typeofa&&a&&"undefined"==typeofb)for(cina)w.call(a,c)&&"string"==typeofc&&c&&"function"==typeofa[c]&&Vb.off(c,a[c]);if(f&&f.length)for(c=0,d=f.length;d>c;c++)if(a=f[c].toLowerCase().replace(/^on/,""),g=P[a],g&&g.length)if(b)for(e=g.indexOf(b);-1!==e;)g.splice(e,1),e=g.indexOf(b,e);elseg.length=0;returnVb},db=function(a){varb;returnb="string"==typeofa&&a?B(P[a])||null:B(P)},eb=function(a){varb,c,d;returna=ob(a),a&&!vb(a)?"ready"===a.type&&N.overdue===!0?Vb.emit({type:"error",name:"flash-overdue"}):(b=A({},a),tb.call(this,b),"copy"===a.type&&(d=Db(Q),c=d.data,R=d.formatMap),c):void0},fb=function(){vara=N.sandboxed;if(Tb(),"boolean"!=typeofN.ready&&(N.ready=!1),N.sandboxed!==a&&N.sandboxed===!0)N.ready=!1,Vb.emit({type:"error",name:"flash-sandboxed"});elseif(!Vb.isFlashUnusable()&&null===N.bridge){varb=Z.flashLoadTimeout;"number"==typeofb&&b>=0&&(S=i(function(){"boolean"!=typeofN.deactivated&&(N.deactivated=!0),N.deactivated===!0&&Vb.emit({type:"error",name:"flash-deactivated"})},b)),N.overdue=!1,Bb()}},gb=function(){Vb.clearData(),Vb.blur(),Vb.emit("destroy"),Cb(),Vb.off()},hb=function(a,b){varc;if("object"==typeofa&&a&&"undefined"==typeofb)c=a,Vb.clearData();else{if("string"!=typeofa||!a)return;c={},c[a]=b}for(vardinc)"string"==typeofd&&d&&w.call(c,d)&&"string"==typeofc[d]&&c[d]&&(Q[d]=c[d])},ib=function(a){"undefined"==typeofa?(E(Q),R=null):"string"==typeofa&&w.call(Q,a)&&deleteQ[a]},jb=function(a){return"undefined"==typeofa?B(Q):"string"==typeofa&&w.call(Q,a)?Q[a]:void0},kb=function(a){if(a&&1===a.nodeType){d&&(Lb(d,Z.activeClass),d!==a&&Lb(d,Z.hoverClass)),d=a,Kb(a,Z.hoverClass);varb=a.getAttribute("title")||Z.title;if("string"==typeofb&&b){varc=Ab(N.bridge);c&&c.setAttribute("title",b)}vare=Z.forceHandCursor===!0||"pointer"===Mb(a,"cursor");Rb(e),Qb()}},lb=function(){vara=Ab(N.bridge);a&&(a.removeAttribute("title"),a.style.left="0px",a.style.top="-9999px",a.style.width="1px",a.style.height="1px"),d&&(Lb(d,Z.hoverClass),Lb(d,Z.activeClass),d=null)},mb=function(){returnd||null},nb=function(a){return"string"==typeofa&&a&&/^[A-Za-z][A-Za-z0-9_:\-\.]*$/.test(a)},ob=function(a){varb;if("string"==typeofa&&a?(b=a,a={}):"object"==typeofa&&a&&"string"==typeofa.type&&a.type&&(b=a.type),b){b=b.toLowerCase(),!a.target&&(/^(copy|aftercopy|_click)$/.test(b)||"error"===b&&"clipboard-error"===a.name)&&(a.target=e),A(a,{type:b,target:a.target||d||null,relatedTarget:a.relatedTarget||null,currentTarget:N&&N.bridge||null,timeStamp:a.timeStamp||t()||null});varc=U[a.type];return"error"===a.type&&a.name&&c&&(c=c[a.name]),c&&(a.message=c),"ready"===a.type&&A(a,{target:null,version:N.version}),"error"===a.type&&(X.test(a.name)&&A(a,{target:null,minimumVersion:O}),Y.test(a.name)&&A(a,{version:N.version})),"copy"===a.type&&(a.clipboardData={setData:Vb.setData,clearData:Vb.clearData}),"aftercopy"===a.type&&(a=Eb(a,R)),a.target&&!a.relatedTarget&&(a.relatedTarget=pb(a.target)),qb(a)}},pb=function(a){varb=a&&a.getAttribute&&a.getAttribute("data-clipboard-target");returnb?g.getElementById(b):null},qb=function(a){if(a&&/^_(?:click|mouse(?:over|out|down|up|move))$/.test(a.type)){varc=a.target,d="_mouseover"===a.type&&a.relatedTarget?a.relatedTarget:b,e="_mouseout"===a.type&&a.relatedTarget?a.relatedTarget:b,h=Nb(c),i=f.screenLeft||f.screenX||0,j=f.screenTop||f.screenY||0,k=g.body.scrollLeft+g.documentElement.scrollLeft,l=g.body.scrollTop+g.documentElement.scrollTop,m=h.left+("number"==typeofa._stageX?a._stageX:0),n=h.top+("number"==typeofa._stageY?a._stageY:0),o=m-k,p=n-l,q=i+o,r=j+p,s="number"==typeofa.movementX?a.movementX:0,t="number"==typeofa.movementY?a.movementY:0;deletea._stageX,deletea._stageY,A(a,{srcElement:c,fromElement:d,toElement:e,screenX:q,screenY:r,pageX:m,pageY:n,clientX:o,clientY:p,x:o,y:p,movementX:s,movementY:t,offsetX:0,offsetY:0,layerX:0,layerY:0})}returna},rb=function(a){varb=a&&"string"==typeofa.type&&a.type||"";return!/^(?:(?:before)?copy|destroy)$/.test(b)},sb=function(a,b,c,d){d?i(function(){a.apply(b,c)},0):a.apply(b,c)},tb=function(a){if("object"==typeofa&&a&&a.type){varb=rb(a),c=P["*"]||[],d=P[a.type]||[],e=c.concat(d);if(e&&e.length){varg,h,i,j,k,l=this;for(g=0,h=e.length;h>g;g++)i=e[g],j=l,"string"==typeofi&&"function"==typeoff[i]&&(i=f[i]),"object"==typeofi&&i&&"function"==typeofi.handleEvent&&(j=i,i=i.handleEvent),"function"==typeofi&&(k=A({},a),sb(i,j,[k],b))}returnthis}},ub=function(a){varb=null;return(M===!1||a&&"error"===a.type&&a.name&&-1!==V.indexOf(a.name))&&(b=!1),b},vb=function(a){varb=a.target||d||null,f="swf"===a._source;switch(deletea._source,a.type){case"error":varg="flash-sandboxed"===a.name||ub(a);"boolean"==typeofg&&(N.sandboxed=g),-1!==W.indexOf(a.name)?A(N,{disabled:"flash-disabled"===a.name,outdated:"flash-outdated"===a.name,unavailable:"flash-unavailable"===a.name,degraded:"flash-degraded"===a.name,deactivated:"flash-deactivated"===a.name,overdue:"flash-overdue"===a.name,ready:!1}):"version-mismatch"===a.name&&(c=a.swfVersion,A(N,{disabled:!1,outdated:!1,unavailable:!1,degraded:!1,deactivated:!1,overdue:!1,ready:!1})),Pb();break;case"ready":c=a.swfVersion;varh=N.deactivated===!0;A(N,{disabled:!1,outdated:!1,sandboxed:!1,unavailable:!1,degraded:!1,deactivated:!1,overdue:h,ready:!h}),Pb();break;case"beforecopy":e=b;break;case"copy":vari,j,k=a.relatedTarget;!Q["text/html"]&&!Q["text/plain"]&&k&&(j=k.value||k.outerHTML||k.innerHTML)&&(i=k.value||k.textContent||k.innerText)?(a.clipboardData.clearData(),a.clipboardData.setData("text/plain",i),j!==i&&a.clipboardData.setData("text/html",j)):!Q["text/plain"]&&a.target&&(i=a.target.getAttribute("data-clipboard-text"))&&(a.clipboardData.clearData(),a.clipboardData.setData("text/plain",i));break;case"aftercopy":wb(a),Vb.clearData(),b&&b!==Jb()&&b.focus&&b.focus();break;case"_mouseover":Vb.focus(b),Z.bubbleEvents===!0&&f&&(b&&b!==a.relatedTarget&&!F(a.relatedTarget,b)&&xb(A({},a,{type:"mouseenter",bubbles:!1,cancelable:!1})),xb(A({},a,{type:"mouseover"})));break;case"_mouseout":Vb.blur(),Z.bubbleEvents===!0&&f&&(b&&b!==a.relatedTarget&&!F(a.relatedTarget,b)&&xb(A({},a,{type:"mouseleave",bubbles:!1,cancelable:!1})),xb(A({},a,{type:"mouseout"})));break;case"_mousedown":Kb(b,Z.activeClass),Z.bubbleEvents===!0&&f&&xb(A({},a,{type:a.type.slice(1)}));break;case"_mouseup":Lb(b,Z.activeClass),Z.bubbleEvents===!0&&f&&xb(A({},a,{type:a.type.slice(1)}));break;case"_click":e=null,Z.bubbleEvents===!0&&f&&xb(A({},a,{type:a.type.slice(1)}));break;case"_mousemove":Z.bubbleEvents===!0&&f&&xb(A({},a,{type:a.type.slice(1)}))}return/^_(?:click|mouse(?:over|out|down|up|move))$/.test(a.type)?!0:void0},wb=function(a){if(a.errors&&a.errors.length>0){varb=B(a);A(b,{type:"error",name:"clipboard-error"}),deleteb.success,i(function(){Vb.emit(b)},0)}},xb=function(a){if(a&&"string"==typeofa.type&&a){varb,c=a.target||null,d=c&&c.ownerDocument||g,e={view:d.defaultView||f,canBubble:!0,cancelable:!0,detail:"click"===a.type?1:0,button:"number"==typeofa.which?a.which-1:"number"==typeofa.button?a.button:d.createEvent?0:1},h=A(e,a);c&&d.createEvent&&c.dispatchEvent&&(h=[h.type,h.canBubble,h.cancelable,h.view,h.detail,h.screenX,h.screenY,h.clientX,h.clientY,h.ctrlKey,h.altKey,h.shiftKey,h.metaKey,h.button,h.relatedTarget],b=d.createEvent("MouseEvents"),b.initMouseEvent&&(b.initMouseEvent.apply(b,h),b._source="js",c.dispatchEvent(b)))}},yb=function(){vara=Z.flashLoadTimeout;if("number"==typeofa&&a>=0){varb=Math.min(1e3,a/10),c=Z.swfObjectId+"_fallbackContent";T=k(function(){vara=g.getElementById(c);Ob(a)&&(Pb(),N.deactivated=null,Vb.emit({type:"error",name:"swf-not-found"}))},b)}},zb=function(){vara=g.createElement("div");returna.id=Z.containerId,a.className=Z.containerClass,a.style.position="absolute",a.style.left="0px",a.style.top="-9999px",a.style.width="1px",a.style.height="1px",a.style.zIndex=""+Sb(Z.zIndex),a},Ab=function(a){for(varb=a&&a.parentNode;b&&"OBJECT"===b.nodeName&&b.parentNode;)b=b.parentNode;returnb||null},Bb=function(){vara,b=N.bridge,c=Ab(b);if(!b){vard=Ib(f.location.host,Z),e="never"===d?"none":"all",h=Gb(A({jsVersion:Vb.version},Z)),i=Z.swfPath+Fb(Z.swfPath,Z);c=zb();varj=g.createElement("div");c.appendChild(j),g.body.appendChild(c);vark=g.createElement("div"),l="activex"===N.pluginType;k.innerHTML='<object id="'+Z.swfObjectId+'" name="'+Z.swfObjectId+'" width="100%" height="100%" '+(l?'classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"':'type="application/x-shockwave-flash" data="'+i+'"')+">"+(l?'<param name="movie" value="'+i+'"/>':"")+'<param name="allowScriptAccess" value="'+d+'"/><param name="allowNetworking" value="'+e+'"/><param name="menu" value="false"/><param name="wmode" value="transparent"/><param name="flashvars" value="'+h+'"/><div id="'+Z.swfObjectId+'_fallbackContent"> </div></object>',b=k.firstChild,k=null,y(b).ZeroClipboard=Vb,c.replaceChild(b,j),yb()}returnb||(b=g[Z.swfObjectId],b&&(a=b.length)&&(b=b[a-1]),!b&&c&&(b=c.firstChild)),N.bridge=b||null,b},Cb=function(){vara=N.bridge;if(a){vard=Ab(a);d&&("activex"===N.pluginType&&"readyState"ina?(a.style.display="none",functione(){if(4===a.readyState){for(varbina)"function"==typeofa[b]&&(a[b]=null);a.parentNode&&a.parentNode.removeChild(a),d.parentNode&&d.parentNode.removeChild(d)}elsei(e,10)}()):(a.parentNode&&a.parentNode.removeChild(a),d.parentNode&&d.parentNode.removeChild(d))),Pb(),N.ready=null,N.bridge=null,N.deactivated=null,c=b}},Db=function(a){varb={},c={};if("object"==typeofa&&a){for(vardina)if(d&&w.call(a,d)&&"string"==typeofa[d]&&a[d])switch(d.toLowerCase()){case"text/plain":case"text":case"air:text":case"flash:text":b.text=a[d],c.text=d;break;case"text/html":case"html":case"air:html":case"flash:html":b.html=a[d],c.html=d;break;case"application/rtf":case"text/rtf":case"rtf":case"richtext":case"air:rtf":case"flash:rtf":b.rtf=a[d],c.rtf=d}return{data:b,formatMap:c}}},Eb=function(a,b){if("object"!=typeofa||!a||"object"!=typeofb||!b)returna;varc={};for(vardina)if(w.call(a,d))if("errors"===d){c[d]=a[d]?a[d].slice():[];for(vare=0,f=c[d].length;f>e;e++)c[d][e].format=b[c[d][e].format]}elseif("success"!==d&&"data"!==d)c[d]=a[d];else{c[d]={};varg=a[d];for(varhing)h&&w.call(g,h)&&w.call(b,h)&&(c[d][b[h]]=g[h])}returnc},Fb=function(a,b){varc=null==b||b&&b.cacheBust===!0;returnc?(-1===a.indexOf("?")?"?":"&")+"noCache="+t():""},Gb=function(a){varb,c,d,e,g="",h=[];if(a.trustedDomains&&("string"==typeofa.trustedDomains?e=[a.trustedDomains]:"object"==typeofa.trustedDomains&&"length"ina.trustedDomains&&(e=a.trustedDomains)),e&&e.length)for(b=0,c=e.length;c>b;b++)if(w.call(e,b)&&e[b]&&"string"==typeofe[b]){if(d=Hb(e[b]),!d)continue;if("*"===d){h.length=0,h.push(d);break}h.push.apply(h,[d,"//"+d,f.location.protocol+"//"+d])}returnh.length&&(g+="trustedOrigins="+n(h.join(","))),a.forceEnhancedClipboard===!0&&(g+=(g?"&":"")+"forceEnhancedClipboard=true"),"string"==typeofa.swfObjectId&&a.swfObjectId&&(g+=(g?"&":"")+"swfObjectId="+n(a.swfObjectId)),"string"==typeofa.jsVersion&&a.jsVersion&&(g+=(g?"&":"")+"jsVersion="+n(a.jsVersion)),g},Hb=function(a){if(null==a||""===a)returnnull;if(a=a.replace(/^\s+|\s+$/g,""),""===a)returnnull;varb=a.indexOf("//");a=-1===b?a:a.slice(b+2);varc=a.indexOf("/");returna=-1===c?a:-1===b||0===c?null:a.slice(0,c),a&&".swf"===a.slice(-4).toLowerCase()?null:a||null},Ib=function(){vara=function(a){varb,c,d,e=[];if("string"==typeofa&&(a=[a]),"object"!=typeofa||!a||"number"!=typeofa.length)returne;for(b=0,c=a.length;c>b;b++)if(w.call(a,b)&&(d=Hb(a[b]))){if("*"===d){e.length=0,e.push("*");break}-1===e.indexOf(d)&&e.push(d)}returne};returnfunction(b,c){vard=Hb(c.swfPath);null===d&&(d=b);vare=a(c.trustedDomains),f=e.length;if(f>0){if(1===f&&"*"===e[0])return"always";if(-1!==e.indexOf(b))return1===f&&b===d?"sameDomain":"always"}return"never"}}(),Jb=function(){try{returng.activeElement}catch(a){returnnull}},Kb=function(a,b){varc,d,e,f=[];if("string"==typeofb&&b&&(f=b.split(/\s+/)),a&&1===a.nodeType&&f.length>0)if(a.classList)for(c=0,d=f.length;d>c;c++)a.classList.add(f[c]);elseif(a.hasOwnProperty("className")){for(e=""+a.className+"",c=0,d=f.length;d>c;c++)-1===e.indexOf(""+f[c]+"")&&(e+=f[c]+"");a.className=e.replace(/^\s+|\s+$/g,"")}returna},Lb=function(a,b){varc,d,e,f=[];if("string"==typeofb&&b&&(f=b.split(/\s+/)),a&&1===a.nodeType&&f.length>0)if(a.classList&&a.classList.length>0)for(c=0,d=f.length;d>c;c++)a.classList.remove(f[c]);elseif(a.className){for(e=(""+a.className+"").replace(/[\r\n\t]/g,""),c=0,d=f.length;d>c;c++)e=e.replace(""+f[c]+"","");a.className=e.replace(/^\s+|\s+$/g,"")}returna},Mb=function(a,b){varc=m(a,null).getPropertyValue(b);return"cursor"!==b||c&&"auto"!==c||"A"!==a.nodeName?c:"pointer"},Nb=function(a){varb={left:0,top:0,width:0,height:0};if(a.getBoundingClientRect){varc=a.getBoundingClientRect(),d=f.pageXOffset,e=f.pageYOffset,h=g.documentElement.clientLeft||0,i=g.documentElement.clientTop||0,j=0,k=0;if("relative"===Mb(g.body,"position")){varl=g.body.getBoundingClientRect(),m=g.documentElement.getBoundingClientRect();j=l.left-m.left||0,k=l.top-m.top||0}b.left=c.left+d-h-j,b.top=c.top+e-i-k,b.width="width"inc?c.width:c.right-c.left,b.height="height"inc?c.height:c.bottom-c.top}returnb},Ob=function(a){if(!a)return!1;varb=m(a,null),c=r(b.height)>0,d=r(b.width)>0,e=r(b.top)>=0,f=r(b.left)>=0,g=c&&d&&e&&f,h=g?null:Nb(a),i="none"!==b.display&&"collapse"!==b.visibility&&(g||!!h&&(c||h.height>0)&&(d||h.width>0)&&(e||h.top>=0)&&(f||h.left>=0));returni},Pb=function(){j(S),S=0,l(T),T=0},Qb=function(){vara;if(d&&(a=Ab(N.bridge))){varb=Nb(d);A(a.style,{width:b.width+"px",height:b.height+"px",top:b.top+"px",left:b.left+"px",zIndex:""+Sb(Z.zIndex)})}},Rb=function(a){N.ready===!0&&(N.bridge&&"function"==typeofN.bridge.setHandCursor?N.bridge.setHandCursor(a):N.ready=!1)},Sb=function(a){if(/^(?:auto|inherit)$/.test(a))returna;varb;return"number"!=typeofa||s(a)?"string"==typeofa&&(b=Sb(q(a,10))):b=a,"number"==typeofb?b:"auto"},Tb=function(b){varc,d,e,f=N.sandboxed,g=null;if(b=b===!0,M===!1)g=!1;else{try{d=a.frameElement||null}catch(h){e={name:h.name,message:h.message}}if(d&&1===d.nodeType&&"IFRAME"===d.nodeName)try{g=d.hasAttribute("sandbox")}catch(h){g=null}else{try{c=document.domain||null}catch(h){c=null}(null===c||e&&"SecurityError"===e.name&&/(^|[\s\(\[@])sandbox(es|ed|ing|[\s\.,!\)\]@]|$)/.test(e.message.toLowerCase()))&&(g=!0)}}returnN.sandboxed=g,f===g||b||Ub(o),g},Ub=function(a){functionb(a){varb=a.match(/[\d]+/g);returnb.length=3,b.join(".")}functionc(a){return!!a&&(a=a.toLowerCase())&&(/^(pepflashplayer\.dll|libpepflashplayer\.so|pepperflashplayer\.plugin)$/.test(a)||"chrome.plugin"===a.slice(-13))}functiond(a){a&&(i=!0,a.version&&(l=b(a.version)),!l&&a.description&&(l=b(a.description)),a.filename&&(k=c(a.filename)))}vare,f,g,i=!1,j=!1,k=!1,l="";if(h.plugins&&h.plugins.length)e=h.plugins["Shockwave Flash"],d(e),h.plugins["Shockwave Flash 2.0"]&&(i=!0,l="2.0.0.11");elseif(h.mimeTypes&&h.mimeTypes.length)g=h.mimeTypes["application/x-shockwave-flash"],e=g&&g.enabledPlugin,d(e);elseif("undefined"!=typeofa){j=!0;try{f=newa("ShockwaveFlash.ShockwaveFlash.7"),i=!0,l=b(f.GetVariable("$version"))}catch(m){try{f=newa("ShockwaveFlash.ShockwaveFlash.6"),i=!0,l="6.0.21"}catch(n){try{f=newa("ShockwaveFlash.ShockwaveFlash"),i=!0,l=b(f.GetVariable("$version"))}catch(o){j=!1}}}}N.disabled=i!==!0,N.outdated=l&&r(l)<r(O),N.version=l||"0.0.0",N.pluginType=k?"pepper":j?"activex":i?"netscape":"unknown"};Ub(o),Tb(!0);varVb=function(){returnthisinstanceofVb?void("function"==typeofVb._createClient&&Vb._createClient.apply(this,z(arguments))):newVb};v(Vb,"version",{value:"2.2.0",writable:!1,configurable:!0,enumerable:!0}),Vb.config=function(){return$.apply(this,z(arguments))},Vb.state=function(){return_.apply(this,z(arguments))},Vb.isFlashUnusable=function(){returnab.apply(this,z(arguments))},Vb.on=function(){returnbb.apply(this,z(arguments))},Vb.off=function(){returncb.apply(this,z(arguments))},Vb.handlers=function(){returndb.apply(this,z(arguments))},Vb.emit=function(){returneb.apply(this,z(arguments))},Vb.create=function(){returnfb.apply(this,z(arguments))},Vb.destroy=function(){returngb.apply(this,z(arguments))},Vb.setData=function(){returnhb.apply(this,z(arguments))},Vb.clearData=function(){returnib.apply(this,z(arguments))},Vb.getData=function(){returnjb.apply(this,z(arguments))},Vb.focus=Vb.activate=function(){returnkb.apply(this,z(arguments))},Vb.blur=Vb.deactivate=function(){returnlb.apply(this,z(arguments))},Vb.activeElement=function(){returnmb.apply(this,z(arguments))};varWb=0,Xb={},Yb=0,Zb={},$b={};A(Z,{autoActivate:!0});var_b=function(a){varb=this;b.id=""+Wb++,Xb[b.id]={instance:b,elements:[],handlers:{}},a&&b.clip(a),Vb.on("*",function(a){returnb.emit(a)}),Vb.on("destroy",function(){b.destroy()}),Vb.create()},ac=function(a,d){vare,f,g,h={},i=Xb[this.id],j=i&&i.handlers;if(!i)thrownewError("Attempted to add new listener(s) to a destroyed ZeroClipboard client instance");if("string"==typeofa&&a)g=a.toLowerCase().split(/\s+/);elseif("object"==typeofa&&a&&"undefined"==typeofd)for(eina)w.call(a,e)&&"string"==typeofe&&e&&"function"==typeofa[e]&&this.on(e,a[e]);if(g&&g.length){for(e=0,f=g.length;f>e;e++)a=g[e].replace(/^on/,""),h[a]=!0,j[a]||(j[a]=[]),j[a].push(d);if(h.ready&&N.ready&&this.emit({type:"ready",client:this}),h.error){for(e=0,f=W.length;f>e;e++)if(N[W[e].replace(/^flash-/,"")]){this.emit({type:"error",name:W[e],client:this});break}c!==b&&Vb.version!==c&&this.emit({type:"error",name:"version-mismatch",jsVersion:Vb.version,swfVersion:c})}}returnthis},bc=function(a,b){varc,d,e,f,g,h=Xb[this.id],i=h&&h.handlers;if(!i)returnthis;if(0===arguments.length)f=u(i);elseif("string"==typeofa&&a)f=a.split(/\s+/);elseif("object"==typeofa&&a&&"undefined"==typeofb)for(cina)w.call(a,c)&&"string"==typeofc&&c&&"function"==typeofa[c]&&this.off(c,a[c]);if(f&&f.length)for(c=0,d=f.length;d>c;c++)if(a=f[c].toLowerCase().replace(/^on/,""),g=i[a],g&&g.length)if(b)for(e=g.indexOf(b);-1!==e;)g.splice(e,1),e=g.indexOf(b,e);elseg.length=0;returnthis},cc=function(a){varb=null,c=Xb[this.id]&&Xb[this.id].handlers;returnc&&(b="string"==typeofa&&a?c[a]?c[a].slice(0):[]:B(c)),b},dc=function(a){if(ic.call(this,a)){"object"==typeofa&&a&&"string"==typeofa.type&&a.type&&(a=A({},a));varb=A({},ob(a),{client:this});jc.call(this,b)}returnthis},ec=function(a){if(!Xb[this.id])thrownewError("Attempted to clip element(s) to a destroyed ZeroClipboard client instance");a=kc(a);for(varb=0;b<a.length;b++)if(w.call(a,b)&&a[b]&&1===a[b].nodeType){a[b].zcClippingId?-1===Zb[a[b].zcClippingId].indexOf(this.id)&&Zb[a[b].zcClippingId].push(this.id):(a[b].zcClippingId="zcClippingId_"+Yb++,Zb[a[b].zcClippingId]=[this.id],Z.autoActivate===!0&&lc(a[b]));varc=Xb[this.id]&&Xb[this.id].elements;-1===c.indexOf(a[b])&&c.push(a[b])}returnthis},fc=function(a){varb=Xb[this.id];if(!b)returnthis;varc,d=b.elements;a="undefined"==typeofa?d.slice(0):kc(a);for(vare=a.length;e--;)if(w.call(a,e)&&a[e]&&1===a[e].nodeType){for(c=0;-1!==(c=d.indexOf(a[e],c));)d.splice(c,1);varf=Zb[a[e].zcClippingId];if(f){for(c=0;-1!==(c=f.indexOf(this.id,c));)f.splice(c,1);0===f.length&&(Z.autoActivate===!0&&mc(a[e]),deletea[e].zcClippingId)}}returnthis},gc=function(){vara=Xb[this.id];returna&&a.elements?a.elements.slice(0):[]},hc=function(){Xb[this.id]&&(this.unclip(),this.off(),deleteXb[this.id])},ic=function(a){if(!a||!a.type)return!1;if(a.client&&a.client!==this)return!1;varb=Xb[this.id],c=b&&b.elements,d=!!c&&c.length>0,e=!a.target||d&&-1!==c.indexOf(a.target),f=a.relatedTarget&&d&&-1!==c.indexOf(a.relatedTarget),g=a.client&&a.client===this;returnb&&(e||f||g)?!0:!1},jc=function(a){varb=Xb[this.id];if("object"==typeofa&&a&&a.type&&b){varc=rb(a),d=b&&b.handlers["*"]||[],e=b&&b.handlers[a.type]||[],g=d.concat(e);if(g&&g.length){varh,i,j,k,l,m=this;for(h=0,i=g.length;i>h;h++)j=g[h],k=m,"string"==typeofj&&"function"==typeoff[j]&&(j=f[j]),"object"==typeofj&&j&&"function"==typeofj.handleEvent&&(k=j,j=j.handleEvent),"function"==typeofj&&(l=A({},a),sb(j,k,[l],c))}}},kc=function(a){return"string"==typeofa&&(a=[]),"number"!=typeofa.length?[a]:a},lc=function(a){if(a&&1===a.nodeType){varb=function(a){(a||(a=f.event))&&("js"!==a._source&&(a.stopImmediatePropagation(),a.preventDefault()),deletea._source)},c=function(c){(c||(c=f.event))&&(b(c),Vb.focus(a))};a.addEventListener("mouseover",c,!1),a.addEventListener("mouseout",b,!1),a.addEventListener("mouseenter",b,!1),a.addEventListener("mouseleave",b,!1),a.addEventListener("mousemove",b,!1),$b[a.zcClippingId]={mouseover:c,mouseout:b,mouseenter:b,mouseleave:b,mousemove:b}}},mc=function(a){if(a&&1===a.nodeType){varb=$b[a.zcClippingId];if("object"==typeofb&&b){for(varc,d,e=["move","leave","enter","out","over"],f=0,g=e.length;g>f;f++)c="mouse"+e[f],d=b[c],"function"==typeofd&&a.removeEventListener(c,d,!1);delete$b[a.zcClippingId]}}};Vb._createClient=function(){_b.apply(this,z(arguments))},Vb.prototype.on=function(){returnac.apply(this,z(arguments))},Vb.prototype.off=function(){returnbc.apply(this,z(arguments))},Vb.prototype.handlers=function(){returncc.apply(this,z(arguments))},Vb.prototype.emit=function(){returndc.apply(this,z(arguments))},Vb.prototype.clip=function(){returnec.apply(this,z(arguments))},Vb.prototype.unclip=function(){returnfc.apply(this,z(arguments))},Vb.prototype.elements=function(){returngc.apply(this,z(arguments))},Vb.prototype.destroy=function(){returnhc.apply(this,z(arguments))},Vb.prototype.setText=function(a){if(!Xb[this.id])thrownewError("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");returnVb.setData("text/plain",a),this},Vb.prototype.setHtml=function(a){if(!Xb[this.id])thrownewError("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");returnVb.setData("text/html",a),this},Vb.prototype.setRichText=function(a){if(!Xb[this.id])thrownewError("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");returnVb.setData("application/rtf",a),this},Vb.prototype.setData=function(){if(!Xb[this.id])thrownewError("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");returnVb.setData.apply(this,z(arguments)),this},Vb.prototype.clearData=function(){if(!Xb[this.id])thrownewError("Attempted to clear pending clipboard data from a destroyed ZeroClipboard client instance");returnVb.clearData.apply(this,z(arguments)),this},Vb.prototype.getData=function(){if(!Xb[this.id])thrownewError("Attempted to get pending clipboard data from a destroyed ZeroClipboard client instance");returnVb.getData.apply(this,z(arguments))},"function"==typeofdefine&&define.amd?define(function(){returnVb}):"object"==typeofmodule&&module&&"object"==typeofmodule.exports&&module.exports?module.exports=Vb:a.ZeroClipboard=Vb}(function(){returnthis||window}());
* ZeroClipboard
* The ZeroClipboard library provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie and a JavaScript interface.