var global=window;!function(){"use strict";function t(){return e}var e={};!function(t,i){"undefined"!=typeof e?t(global,e):t(i,i)}(function(t,e){function i(e){this._navigator=e?e:t.navigator?t.navigator:window?window.navigator:void 0,this.browser=this._getBrowser(),this.flash=this._getFlash(),this.os=this._getOS(),this.device=this._getDevice(),this.locales=this._getLocales(),this.locale=this.locales?this.locales[0]:void 0}i.prototype.constructor=i,i.prototype._getBrowser=function(){var t,e="undefined"!=typeof this._navigator?this._navigator.userAgent.toLowerCase():"",i=function(t){var i=e.match(t);return i&&i.length>1&&i[1]||""},o=/CrOS/.test(e),n=i(/edge\/(\d+(\.\d+)?)/i),s=i(/version\/(\d+(\.\d+)?)/i),r=!1;return/opera|opr/i.test(e)?t={name:"Opera",opera:!0,version:s||i(/(?:opera|opr)[\s\/](\d+(\.\d+)?)/i)}:/yabrowser/i.test(e)?t={name:"Yandex Browser",yandexbrowser:!0,version:s||i(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/windows phone/i.test(e)?(r=!0,t={name:"Windows Phone IE",ie:!0},n?(t.msedge=!0,t.version=n):(t.msie=!0,t.version=i(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(e)?(t={name:"Internet Explorer",msie:!0,ie:!0,version:i(/(?:msie |rv:)(\d+(\.\d+)?)/i)},/trident/i.test(e)&&("7.0"===t.version&&"4.0"===i(/(?:trident\/)(\d+(\.\d+)?)/i)&&(t.version="8.0"),"7.0"===t.version&&"5.0"===i(/(?:trident\/)(\d+(\.\d+)?)/i)&&(t.version="9.0"))):t=/silk/i.test(e)?{name:"Amazon Silk",silk:!0,version:i(/silk\/(\d+(\.\d+)?)/i)}:o?{name:"Chrome",chrome:!0,version:i(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/chrome.+? edge/i.test(e)?{name:"Microsoft Edge",ie:!0,msedge:!0,version:n}:/chrome|crios|crmo/i.test(e)?{name:"Chrome",chrome:!0,version:i(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(e)?{name:"SeaMonkey",seamonkey:!0,version:i(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel/i.test(e)?{name:"Firefox",firefox:!0,version:i(/(?:firefox|iceweasel)[ \/](\d+(\.\d+)?)/i)}:/phantom/i.test(e)?{name:"PhantomJS",phantom:!0,version:i(/phantomjs\/(\d+(\.\d+)?)/i)}:/safari/i.test(e)?{name:"Safari",safari:!0,version:s}:{other:!0},r||t.msie||t.msedge||!/(apple)?webkit/i.test(e)?!t.opera&&/gecko\//i.test(e)&&(t.name=t.name||"Gecko",t.gecko=!0,t.version=t.version||i(/gecko\/(\d+(\.\d+)?)/i)):(t.name=t.name||"Webkit",t.webkit=!0,!t.version&&s&&(t.version=s)),t.name||(t.name="Other"),e.toLowerCase().indexOf("publisher")!==-1&&(t.publisher=!0),t},i.prototype._getFlash=function(){var e="undefined",i="object",o="Shockwave Flash",n="ShockwaveFlash.ShockwaveFlash",s="application/x-shockwave-flash",r=null;if(typeof this._navigator.plugins!==e&&typeof this._navigator.plugins[o]===i){var a=this._navigator.plugins[o].description;if(a&&(typeof this._navigator.mimeTypes===e||!this._navigator.mimeTypes[s]||this._navigator.mimeTypes[s].enabledPlugin)){var l=!1;a=a.replace(/^.*\s+(\S+\s+\S+$)/,"$1"),r=[parseInt(a.replace(/^(.*)\..*$/,"$1"),10),parseInt(a.replace(/^.*\.(.*)\s.*$/,"$1"),10),/[a-zA-Z]/.test(a)?parseInt(a.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0]}}else if(typeof t.ActiveXObject!==e)try{var h=new t.ActiveXObject(n);h&&(a=h.GetVariable("$version"),a&&(l=!0,a=a.split(" ")[1].split(","),r=[parseInt(a[0],10),parseInt(a[1],10),parseInt(a[2],10)]))}catch(t){}return r},i.prototype._getOS=function(){var t="undefined"!=typeof this._navigator?this._navigator.userAgent.toLowerCase():"",e=function(e){var i=t.match(e);return i&&i.length>1&&i[1]||""},i={name:"Other",other:!0},o=e(/(ipod|iphone|ipad)/i).toLowerCase(),n=/like android/i.test(t),s=!n&&/android/i.test(t),r=e(/version\/(\d+(\.\d+)?)/i);return o?i={name:"iOS",version:e(/os\s(\d+_*\d*_*\d*)/).split("_").join("."),ios:!0}:s?i={name:"Android",version:e(/android\s(\d+\.*\d*\.*\d*)/),android:!0}:/mac os/.test(t)?i={name:"Mac OS",mac:!0}:/windows/i.test(t)?i={name:"Windows",windows:!0}:/playbook|blackberry|\bbb\d+/i.test(t)||/rim\stablet/i.test(t)?i={name:"Blackberry",blackberry:!0,version:r||e(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:/(web|hpw)os/i.test(t)?(i={name:"WebOS",webos:!0,version:r||e(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(t)&&(i.touchpad=!0)):/bada/i.test(t)?i={name:"Bada",bada:!0,version:e(/dolfin\/(\d+(\.\d+)?)/i)}:/tizen/i.test(t)?i={name:"Tizen",tizen:!0,version:e(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||r}:/sailfish/i.test(t)?i={name:"Sailfish",sailfish:!0,version:e(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel/i.test(t)&&/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(t)&&(i={name:"Firefox OS",firefoxos:!0}),i},i.prototype._getDevice=function(){var t="undefined"!=typeof this._navigator?this._navigator.userAgent.toLowerCase():"",e={},i=/like android/i.test(t),o=!i&&/android/i.test(t),n=/cros/.test(t);return e.name=t.match(/ipad/)?"ipad":t.match(/ipod/)?"ipod":t.match(/iphone/)?"iphone":o?"android":t.match(/windows phone/)?"wphone":t.match(/mobile/)?"mobile":t.match(/mac|win|linux/)||n?"desktop":"other",e[e.name]=!0,e},i.prototype._getLocales=function(){if("undefined"!=typeof this._navigator){if(this._navigator.languages&&this._navigator.languages.length>0){for(var t,e=[],i=0;i10&&e.push("html"):e.push("html");else{var i=this.userAgentInfo.os.ios,o=this.userAgentInfo.os.android&&(parseInt(this.userAgentInfo.os.version.split(".")[0],10)>4||4===parseInt(this.userAgentInfo.os.version.split(".")[0],10)&&parseInt(this.userAgentInfo.os.version.split(".")[1],10)>=1);(i||o)&&e.push("mobile")}return(!this.userAgentInfo.browser.ie||t>=10)&&e.push("basic"),e},i.prototype.mainVersion=function(){var t=this.getSupportedVersions();if(this.priorities){for(var e=0;e0)return t[0];return null},i.prototype.isRenderable=function(){return!0},e.PublicationDetector=i},this),function(t,i){"undefined"!=typeof e?t(global,e):t(i,i)}(function(t,e){function i(t,e){var i=this;n(t,"click",function(t){var o=!0;e&&(o=o&&e(t)),o&&(t.preventDefault(),i.render.call(i,t.currentTarget))})}var o=function(e,i,o){var n=100,o=o||!1,s=t.innerWidth-n,r=t.innerHeight-n,a=s/r,l=e/i,h=a>l?e*r/i:s,d=a>l?r:i*s/e;return o&&(h>e||d>i)?(h=e,d=i,s+=n,r+=n,n=0):(h=Math.round(h),d=Math.round(d)),{width:h,height:d,paddingTop:(r+n-d)/2,paddingLeft:(s+n-h)/2}},n=function(t,e,i){window.addEventListener?t.addEventListener(e,i):t.attachEvent("on"+e,i)},s=function(t,e,i){window.removeEventListener?t.removeEventListener(e,i):t.detachEvent("on"+e,i)};i.prototype.render=function(t){this.blackout=document.createElement("div"),this.lightbox=document.createElement("div"),this.closeButton=document.createElement("img"),this.lightbox.style.position="relative",this.lightbox.style.display="block",this.lightbox.style.margin="50px auto",this.lightbox.style.minWidth="200px",this.lightbox.style.minHeight="150px",this.lightbox.style.maxWidth="90%",this.lightbox.style.backgroundColor="#fff",this.lightbox.style.padding="10px",this.lightbox.style.borderRadius="5px",this.closeButton.style.width="30px;",this.closeButton.style.height="30px",this.closeButton.style.top="-15px",this.closeButton.style.right="-15px",this.closeButton.style.position="absolute",this.closeButton.style.cursor="pointer",this.closeButton.setAttribute("src",this._getCloseIcon()),this.blackout.style.width="100%",this.blackout.style.height="100%",this.blackout.style.backgroundColor="rgba(0, 0, 0, 0.7)",this.blackout.style.position="fixed",this.blackout.style.top="0px",this.blackout.style.left="0px",this.blackout.style.zIndex="12147483646",this.lightbox.appendChild(this.closeButton),this.blackout.appendChild(this.lightbox);var e=this;if(t.getAttribute("data-img")){var i=document.createElement("img");this.sizing(100,100,!0),i.onload=function(){e.width=i.width,e.height=i.height,e.sizing(i.width,i.height,!0),i.style.width="100%",i.style.height="100%",e.lightbox.appendChild(i)},i.src=t.getAttribute("data-img"),n(window,"resize",function(){e.sizing.call(e,e.width,e.height,!0)})}else if(t.getAttribute("href")){var o=document.createElement("iframe");o.src=t.getAttribute("href"),o.width="100%",o.height="100%",o.setAttribute("type","text/html"),o.setAttribute("scrolling","no"),o.setAttribute("frameborder","0"),o.setAttribute("allowfullscreen","allowfullscreen"),this.width=t.getAttribute("data-width")||600,this.height=t.getAttribute("data-height")||400,this.sizing(),this.lightbox.appendChild(o),n(window,"resize",function(){e.sizing.call(e)})}this.bindClose(),document.body.appendChild(this.blackout)},i.prototype._getCloseIcon=function(){return"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAQAAACROWYpAAAEAUlEQVR42oWVbWwUZRDH/+3e9l5h2yu9tsddX+hRWnupR2uFQK8hMWnrGcRCCKGKcJQ0aKgmJh4mJFWspmArYgiQGtvqN0MipOIXPyARRSIagYgJIRIhsaZRIIF723vrOHu7163cGWf2w+7M/O55ZuZ55vCIFKEYxRsM7WJLicc4Zj1uaylpKWkXNxgUO3t1yQMFiDCtWrLX8UHdqGeo4cgTE2s63EH3W65gRYUNJvYKKCqMGmCssHU7PvR+Hfj7cPISaZK6cv+jcxs317rs/ANGGPLxYjaa60q31kx2hj/PYXOZ2xnS5MFnq+pXO8skmMEpPLqqxWV/wTPzbOY2UXJ+ItkdQ1jVjuj7yfg8W6+e295eI5XBoq6uo+al9h7PqT5KEH2Vro2omK5N0Z/SROx7vqmOcbOOCzBCaq1/rzd9h2g6KYRRQIXwuwkFP9nndENiQmCcHxG2Zc6XO+9/qayqo/l6IkkU/h6PoQo2porBj2mpvav5kyBRNOPSNtwWXb+QsyMyIFuybyXh2RTRN2+6VsIOEwQFtlqcWzt//5ToWFIN90aJ5WBCeV8RneViTWieQZno7nm0oho2GMC8JK0I9MauEq3VVquNxEjFVyooy1hC9ZRHlLqVdqEepSgB8+WV3k39RA8zenbPxFT8YRY9ndIrcY3Ltn9oSROWwQSINkdLx55XiG6mdVjBZcZ0NKdfMHzysPVxVMLMsKXauy4YIvo1/e/O3p1X4bcTi+1nGD5+FG1wwsownI51/iGie+nF6FwWTWu5654f4kSvj5ifxHINFtfUDyT/Iso1SorMablu1HLfJ+eOygNuVutL4gJcLXa07Lx1gehVLWRtTM9VLd2plOrp5o+5X7Ad7bltO0Rf47YjH7M5ZQnn+rlPFhYuxsFEbk8XokRnz2IztIJxq9BsDLhCs1f0fhbWXZxv+M/y/ehFs9oqARLqDX77wJ4JYtkV/y90fSyV4UqfQRD+3CHh44lq+IS+yjdOZMfAcMHVd8RlRi9eRgib4NOOJ8Mm2OFBl7Cz7J1jMwp+Q94W17LXynSJC8XozxjBi+iCR70Y2pVEFbzoEQalQ3tn/rhJLHLmWmJSnpR/lLk5LPdmx8/jEAbRA69+JbVhADdWIyAMWkYwdfS7327QIrlza/qyOI0RRgMcpQ+D3BhCGWrgQw9vK2Qex5R0+qlvD1w/cD1wcfkMpjCOEHt64OMofQzpA5CNbnjhx3PYjdcwbBg1jGHMMFo8zF+72epnrxvaAMwbvZA4mwb4OOxpbEE/drD2Ywt/+dnawF599Ob9XxhhRRmH1KIRXg5vY/XxWyNbqthj1XPNw1mVHYgcYoYFVk0tMLNFVFbMxvyPFBXQAvIP9TCL+Lre4wwAAAAASUVORK5CYII="},i.prototype.sizing=function(t,e,i){t=t||this.width,e=e||this.height,i=i||!1;var n=o(t,e,i);this.lightbox.style.width=n.width+"px",this.lightbox.style.height=n.height+"px",this.lightbox.style.top=n.paddingTop+"px",this.lightbox.style.left=n.paddingLeft+"px",this.lightbox.style.margin="0"},i.prototype.bindClose=function(){var t=this,e=function(e){27===e.keyCode&&(e.stopPropagation(),t.blackout.parentNode.removeChild(t.blackout))},i=function(i){i.stopPropagation(),t.blackout.parentNode.removeChild(t.blackout),s(document,"keyup",e)};n(this.closeButton,"click",i),n(this.blackout,"click",i),n(document,"keyup",e)},e.FBLightbox=i},this),function(i,o){if("undefined"!=typeof e){var n=t("../ua-detector").UserAgentDetector,s=t("../publication-detector").PublicationDetector,r=t("./lightbox").FBLightbox;i(global,e,n,s,r)}else i(o,o,o.UserAgentDetector,o.PublicationDetector,o.FBLightbox)}(function(t,e,i,o,n){function s(){this.THUMBNAIL_URL="https://pages.cld.bz/Thumbnail.aspx?url=",this.API_URL="",this.elementsArray=[],this.userAgentDetector=new i,this.publicationDetector=new o(this.userAgentDetector,["html"]),this.parseAllEmbeds()}var PRODUCT_CODE="fbc";return"undefined"!=typeof t[PRODUCT_CODE+"Embed"]?void t[PRODUCT_CODE+"Embed"].parseAllEmbeds():(s.prototype.parseAllEmbeds=function(){for(var t=this._getElementsByClass(PRODUCT_CODE+"-embed"),e=0;e0?u.src=this._getPublicationThumbLink(o):u.src=this._getSelfhostPublicationThumbLink(o),c.appendChild(u);var p=t.document.createElement("div");p.style.width="60px",p.style.height="60px",p.style.position="absolute",p.style.top="0",p.style.left="0",p.style.right="0",p.style.bottom="0",p.style.margin="auto",p.style.backgroundImage="url('"+this._getPublicationThumbIcon()+"')",p.style.backgroundPosition="center",p.style.transition="all .3s",p.style.transform="scale(0.9)",p.style["will-change"]="transform",p.style.borderRadius="100%",p.style.backgroundColor="rgba(0,0,0,0.7)",p.style.opacity="0.8";var g=function(){p.style.transform="scale(1)",p.style.backgroundColor="rgba(0,0,0,0.66)",p.style.opacity="1"};this._addEvent(u,"mouseenter",g),this._addEvent(p,"mouseenter",g);var y=function(){p.style.transform="scale(0.9)",p.style.opacity="0.8",p.style.backgroundColor="rgba(0,0,0,0.7)"};this._addEvent(u,"mouseleave",y),this._addEvent(p,"mouseleave",y),c.appendChild(p);var b=e.getAttribute("data-"+PRODUCT_CODE+"-width"),m=e.getAttribute("data-"+PRODUCT_CODE+"-height");b||(b=this._getEmbedDefaultWidth()+"px"),m||(m=this._getEmbedDefaultHeight()+"px"),e.style.width||(e.style.width=b),e.style.height||(e.style.height=m),new n(d,function(){var t=.8*i._getWindowWidth()>i._getPayloadMinWidth()&&.8*i._getWindowHeight()>i._getPayloadMinHeight(),o="no"!==e.getAttribute("data-"+PRODUCT_CODE+"-lightbox");return t&&i.userAgentDetector.device.desktop===!0&&o});var f=t.document.createElement("div");e.appendChild(f),this._resizeEmbed(e,f,d,o),this._addEvent(t,"resize",function(){i._resizeEmbed(e,f,d,o)}),this._doResize=function(){i._resizeEmbed(e,f,d,o)};var v=e.getAttribute("data-"+PRODUCT_CODE+"-analytics"),w=e.getAttribute("data-"+PRODUCT_CODE+"-method");this.API_URL.length>0&&"no"!==v&&this._sendAnalytics(this.API_URL,o,w)},s.prototype._getPublicationThumbLink=function(t){return this.THUMBNAIL_URL+encodeURIComponent(t)},s.prototype._getSelfhostPublicationThumbLink=function(t){var e=t.split("#")[0].split("?")[0].split("index.html")[0];return e+"/files/assets/cover300.jpg"},s.prototype._sendAnalytics=function(e,i,o){this._ajax(e,function(t,e){200!==e.status&&console.log(e)},'{"RecordOnly":true,"Url":"'+i+'","EmbedDomain":"'+t.location.hostname+'"'+(o?',"EmbedMethod":"'+o+'"':"")+"}")},s.prototype._ajax=function(t,e,i){var o;try{o=new window.ActiveXObject("Msxml2.XMLHTTP")}catch(t){try{o=new window.ActiveXObject("Microsoft.XMLHTTP")}catch(t){o=!1}}o||"undefined"==typeof XMLHttpRequest||(o=new XMLHttpRequest);try{o.open(i?"POST":"GET",t,1),o.setRequestHeader("X-Requested-With","XMLHttpRequest"),o.setRequestHeader("Content-type","application/json"),o.onreadystatechange=function(){o.readyState>3&&e&&e(o.responseText,o)},o.send(i)}catch(t){window.console&&console.error(t)}},s.prototype._runPayload=function(e,i){if(window.NOVIEW===!0&&(i+="?noview=true"),this._shouldShowPayload()&&!e.hasChildNodes()){var o=t.document.createElement("iframe");o.style.width="100%",o.style.height="100%",o.setAttribute("type","text/html"),o.setAttribute("scrolling","no"),o.setAttribute("frameborder","0"),o.setAttribute("allowfullscreen","allowfullscreen"),o.setAttribute("src",i),e.appendChild(o)}},s.prototype._removePayload=function(t){for(var e=t.firstChild;e;)t.removeChild(e),e=t.firstChild},s.prototype._resizeEmbed=function(t,e,i,o){var n=this,s=this._getBoundingClientRect(t);return 0===s.width||0===s.height?void setTimeout(function(){n._resizeEmbed(t,e,i,o)},10):(s.width>=this._getPayloadMinWidth()&&s.height>=this._getPayloadMinHeight()&&this._shouldShowPayload()?(this._runPayload(e,o),e.style.display="inline",i.style.display="none"):(this._removePayload(e),e.style.display="none",i.style.display="block"),e.style.width=i.style.width=s.width+"px",void(e.style.height=i.style.height=s.height+"px"))},s.prototype._getPayloadMinWidth=function(){return 400},s.prototype._getPayloadMinHeight=function(){return 200},s.prototype._getEmbedDefaultWidth=function(){return 250},s.prototype._getEmbedDefaultHeight=function(){return 150},s.prototype._shouldShowPayload=function(){return this.publicationDetector.isRenderable()},s.prototype._getPublicationThumbIcon=function(){return"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIxLjEuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA1MCA1MCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNTAgNTA7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4KCS5zdDB7b3BhY2l0eTowLjk7fQoJLnN0MXtmaWxsOm5vbmU7c3Ryb2tlOiNGRkZGRkY7c3Ryb2tlLXdpZHRoOjI7fQo8L3N0eWxlPgo8ZyBpZD0iUGFnZS0xIj4KCTxnIGlkPSJWaWV3LUljb24iIHRyYW5zZm9ybT0idHJhbnNsYXRlKC02NC4wMDAwMDAsIC04NS4wMDAwMDApIj4KCQk8ZyBpZD0iX3gzMV8uLXZpZXciIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIwLjAwMDAwMCwgMjAuMDAwMDAwKSI+CgkJCTxnIGlkPSJHcm91cC00IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg0NC4wMDAwMDAsIDY1LjAwMDAwMCkiPgoJCQkJPGcgaWQ9Ikdyb3VwIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMS4wMDAwMDAsIDkuMDAwMDAwKSIgY2xhc3M9InN0MCI+CgkJCQkJPHBhdGggaWQ9IlJlY3RhbmdsZV8yXyIgY2xhc3M9InN0MSIgZD0iTTEzLDdIMkMxLjQsNywxLDcuNCwxLDh2MThjMCwwLjYsMC40LDEsMSwxaDI1YzAuNiwwLDEtMC40LDEtMVY4YzAtMC42LTAuNC0xLTEtMWgtMi43CgkJCQkJCSIvPgoJCQkJCTxwYXRoIGlkPSJSZWN0YW5nbGVfMV8iIGNsYXNzPSJzdDEiIGQ9Ik0xNCw2LjZ2MTkuOGwxMC01VjEuNkwxNCw2LjZ6Ii8+CgkJCQk8L2c+CgkJCTwvZz4KCQk8L2c+Cgk8L2c+CjwvZz4KPC9zdmc+Cg=="},s.prototype._getWindowWidth=function(){return t.innerWidth||t.document.documentElement.clientWidth||t.document.body.clientWidth},s.prototype._getWindowHeight=function(){return t.innerHeight||t.document.documentElement.clientHeight||t.document.body.clientHeight},s.prototype._getBoundingClientRect=function(t){var e=t.getBoundingClientRect();return{width:e.width||e.right-e.left,height:e.height||e.bottom-e.top,left:e.left,right:e.right,top:e.top,bottom:e.bottom}},s.prototype._getElementsByClass=function(e,i){if("undefined"==typeof i&&(i=t.document),"function"==typeof i.getElementsByClassName)return i.getElementsByClassName(e);var o=[],n=i.getElementsByTagName("*");for(var s in n)if(Object.prototype.hasOwnProperty.call(n,s)&&"object"==typeof n[s]){var r=Object.prototype.hasOwnProperty.call(n[s],"className")?n[s].className:n[s].getAttribute("className"),a=null===r?[]:r.split(" ");this._indexOf(a,e)!==-1&&o.push(n[s])}return o},s.prototype._indexOf=function(t,e){if(null===t)return-1;for(var i=t.length,o=0;o