/*! * clipboard.js v2.0.11 * https://clipboardjs.com/ * * Licensed MIT © Zeno Rocha */ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.CopyJS=e():t.CopyJS=e()}(this,function(){return n={686:function(t,e,n){"use strict";n.d(e,{default:function(){return b}});var e=n(279),i=n.n(e),e=n(370),u=n.n(e),e=n(817),r=n.n(e);function c(t){try{return document.execCommand(t)}catch(t){return}}var a=function(t){t=r()(t);return c("cut"),t};function o(t,e){var n,o,t=(n=t,o="rtl"===document.documentElement.getAttribute("dir"),(t=document.createElement("textarea")).style.fontSize="12pt",t.style.border="0",t.style.padding="0",t.style.margin="0",t.style.position="absolute",t.style[o?"right":"left"]="-9999px",o=window.pageYOffset||document.documentElement.scrollTop,t.style.top="".concat(o,"px"),t.setAttribute("readonly",""),t.value=n,t);return e.container.appendChild(t),e=r()(t),c("copy"),t.remove(),e}var f=function(t){var e=1'+$('.bbctools-container-mobile li.bbctools-gotop').html()+'') $('.bbctools-container-mobile li.bbctools-gotop').remove() } $('.bbctools-container-mobile').append('
') } if($('.bbctools-container-mobile li.bbctools-set-as-btn').length) { $('.bbctools-container-mobile').append('
'+$('.bbctools-container-mobile li.bbctools-set-as-btn').html()+'
') $('.bbctools-container-mobile li.bbctools-set-as-btn').remove() } } function updateFooter() { if($(window).width() < 768) { if(!$('.bbctools-holder').length) $('body').append('
') }else{ $('.bbctools-holder').remove() } } $(document).on('click','[data-control=gotop]',function(){ $.bbc.gotop() }) $(document).on('click','.bbctools-collapsed-btn',function(){ $('.bbctools-container-mobile').toggleClass('active') }) $(window).on('scroll', function(){ if($(window).scrollTop() > 800) { $('.bbctools-gotop').addClass('active') }else{ $('.bbctools-gotop').removeClass('active') } }) $(document).ready(function(){ initMobile() updateFooter() }) $(window).resize(function(){ updateFooter() }) })(window.jQuery, oc);