if(!function(t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Clipboard=t()}(function(){return function i(o,r,s){function a(e,t){if(!r[e]){if(!o[e]){var n="function"==typeof require&&require;if(!t&&n)return n(e,!0);if(l)return l(e,!0);n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}n=r[e]={exports:{}};o[e][0].call(n.exports,function(t){return a(o[e][1][t]||t)},n,n.exports,i,o,r,s)}return r[e].exports}for(var l="function"==typeof require&&require,t=0;t>10|55296,1023&i|56320)}function i(){x()}var t,h,_,r,o,p,f,g,w,l,c,x,$,s,C,m,a,u,v,S="sizzle"+ +new Date,y=n.document,T=0,b=0,k=st(),E=st(),j=st(),A=function(t,e){return t===e&&(c=!0),0},I={}.hasOwnProperty,e=[],N=e.pop,D=e.push,O=e.push,L=e.slice,P=function(t,e){for(var n=0,i=t.length;n+~]|"+R+")"+R+"*"),V=new RegExp("="+R+"*([^\\]'\"]*?)"+R+"*\\]","g"),Q=new RegExp(F),X=new RegExp("^"+H+"$"),J={ID:new RegExp("^#("+H+")"),CLASS:new RegExp("^\\.("+H+")"),TAG:new RegExp("^("+H+"|[*])"),ATTR:new RegExp("^"+z),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+R+"*(even|odd|(([+-]|)(\\d*)n|)"+R+"*(?:([+-]|)"+R+"*(\\d+)|))"+R+"*\\)|)","i"),bool:new RegExp("^(?:"+M+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,G=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,tt=/[+~]/,et=new RegExp("\\\\([\\da-f]{1,6}"+R+"?|("+R+")|.)","ig"),nt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,it=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},ot=mt(function(t){return!0===t.disabled&&("form"in t||"label"in t)},{dir:"parentNode",next:"legend"});try{O.apply(e=L.call(y.childNodes),y.childNodes),e[y.childNodes.length].nodeType}catch(t){O={apply:e.length?function(t,e){D.apply(t,L.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}function rt(t,e,n,i){var o,r,s,a,l,c,u,d=e&&e.ownerDocument,f=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==f&&9!==f&&11!==f)return n;if(!i&&((e?e.ownerDocument||e:y)!==$&&x(e),e=e||$,C)){if(11!==f&&(l=Z.exec(t)))if(o=l[1]){if(9===f){if(!(s=e.getElementById(o)))return n;if(s.id===o)return n.push(s),n}else if(d&&(s=d.getElementById(o))&&v(e,s)&&s.id===o)return n.push(s),n}else{if(l[2])return O.apply(n,e.getElementsByTagName(t)),n;if((o=l[3])&&h.getElementsByClassName&&e.getElementsByClassName)return O.apply(n,e.getElementsByClassName(o)),n}if(h.qsa&&!j[t+" "]&&(!m||!m.test(t))){if(1!==f)d=e,u=t;else if("object"!==e.nodeName.toLowerCase()){for((a=e.getAttribute("id"))?a=a.replace(nt,it):e.setAttribute("id",a=S),r=(c=p(t)).length;r--;)c[r]="#"+a+" "+gt(c[r]);u=c.join(","),d=tt.test(t)&&ht(e.parentNode)||e}if(u)try{return O.apply(n,d.querySelectorAll(u)),n}catch(t){}finally{a===S&&e.removeAttribute("id")}}}return g(t.replace(B,"$1"),e,n,i)}function st(){var n=[];function i(t,e){return n.push(t+" ")>_.cacheLength&&delete i[n.shift()],i[t+" "]=e}return i}function at(t){return t[S]=!0,t}function lt(t){var e=$.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function ct(t,e){for(var n=t.split("|"),i=n.length;i--;)_.attrHandle[n[i]]=e}function ut(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function dt(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ot(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ft(s){return at(function(r){return r=+r,at(function(t,e){for(var n,i=s([],t.length,r),o=i.length;o--;)t[n=i[o]]&&(t[n]=!(e[n]=t[n]))})})}function ht(t){return t&&void 0!==t.getElementsByTagName&&t}for(t in h=rt.support={},o=rt.isXML=function(t){t=t&&(t.ownerDocument||t).documentElement;return!!t&&"HTML"!==t.nodeName},x=rt.setDocument=function(t){var e,t=t?t.ownerDocument||t:y;return t!==$&&9===t.nodeType&&t.documentElement&&(s=($=t).documentElement,C=!o($),y!==$&&(e=$.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",i,!1):e.attachEvent&&e.attachEvent("onunload",i)),h.attributes=lt(function(t){return t.className="i",!t.getAttribute("className")}),h.getElementsByTagName=lt(function(t){return t.appendChild($.createComment("")),!t.getElementsByTagName("*").length}),h.getElementsByClassName=K.test($.getElementsByClassName),h.getById=lt(function(t){return s.appendChild(t).id=S,!$.getElementsByName||!$.getElementsByName(S).length}),h.getById?(_.filter.ID=function(t){var e=t.replace(et,d);return function(t){return t.getAttribute("id")===e}},_.find.ID=function(t,e){if(void 0!==e.getElementById&&C){t=e.getElementById(t);return t?[t]:[]}}):(_.filter.ID=function(t){var e=t.replace(et,d);return function(t){t=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return t&&t.value===e}},_.find.ID=function(t,e){if(void 0!==e.getElementById&&C){var n,i,o,r=e.getElementById(t);if(r){if((n=r.getAttributeNode("id"))&&n.value===t)return[r];for(o=e.getElementsByName(t),i=0;r=o[i++];)if((n=r.getAttributeNode("id"))&&n.value===t)return[r]}return[]}}),_.find.TAG=h.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):h.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],o=0,r=e.getElementsByTagName(t);if("*"!==t)return r;for(;n=r[o++];)1===n.nodeType&&i.push(n);return i},_.find.CLASS=h.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&C)return e.getElementsByClassName(t)},a=[],m=[],(h.qsa=K.test($.querySelectorAll))&&(lt(function(t){s.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+R+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||m.push("\\["+R+"*(?:value|"+M+")"),t.querySelectorAll("[id~="+S+"-]").length||m.push("~="),t.querySelectorAll(":checked").length||m.push(":checked"),t.querySelectorAll("a#"+S+"+*").length||m.push(".#.+[+~]")}),lt(function(t){t.innerHTML="";var e=$.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&m.push("name"+R+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),s.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),m.push(",.*:")})),(h.matchesSelector=K.test(u=s.matches||s.webkitMatchesSelector||s.mozMatchesSelector||s.oMatchesSelector||s.msMatchesSelector))&<(function(t){h.disconnectedMatch=u.call(t,"*"),u.call(t,"[s!='']:x"),a.push("!=",F)}),m=m.length&&new RegExp(m.join("|")),a=a.length&&new RegExp(a.join("|")),e=K.test(s.compareDocumentPosition),v=e||K.test(s.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,e=e&&e.parentNode;return t===e||!(!e||1!==e.nodeType||!(n.contains?n.contains(e):t.compareDocumentPosition&&16&t.compareDocumentPosition(e)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},A=e?function(t,e){if(t===e)return c=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(1&(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!h.sortDetached&&e.compareDocumentPosition(t)===n?t===$||t.ownerDocument===y&&v(y,t)?-1:e===$||e.ownerDocument===y&&v(y,e)?1:l?P(l,t)-P(l,e):0:4&n?-1:1)}:function(t,e){if(t===e)return c=!0,0;var n,i=0,o=t.parentNode,r=e.parentNode,s=[t],a=[e];if(!o||!r)return t===$?-1:e===$?1:o?-1:r?1:l?P(l,t)-P(l,e):0;if(o===r)return ut(t,e);for(n=t;n=n.parentNode;)s.unshift(n);for(n=e;n=n.parentNode;)a.unshift(n);for(;s[i]===a[i];)i++;return i?ut(s[i],a[i]):s[i]===y?-1:a[i]===y?1:0}),$},rt.matches=function(t,e){return rt(t,null,null,e)},rt.matchesSelector=function(t,e){if((t.ownerDocument||t)!==$&&x(t),e=e.replace(V,"='$1']"),h.matchesSelector&&C&&!j[e+" "]&&(!a||!a.test(e))&&(!m||!m.test(e)))try{var n=u.call(t,e);if(n||h.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(et,d),t[3]=(t[3]||t[4]||t[5]||"").replace(et,d),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||rt.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&rt.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return J.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&Q.test(n)&&(e=p(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(et,d).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=k[t+" "];return e||(e=new RegExp("(^|"+R+")"+t+"("+R+"|$)"))&&k(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(e,n,i){return function(t){t=rt.attr(t,e);return null==t?"!="===n:!n||(t+="","="===n?t===i:"!="===n?t!==i:"^="===n?i&&0===t.indexOf(i):"*="===n?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,E=/^.[^:#\[\.,]*$/;function j(t,n,i){return C.isFunction(n)?C.grep(t,function(t,e){return!!n.call(t,e,t)!==i}):n.nodeType?C.grep(t,function(t){return t===n!==i}):"string"!=typeof n?C.grep(t,function(t){return-1)[^>]*|#([\w-]+))$/;(C.fn.init=function(t,e,n){if(!t)return this;if(n=n||A,"string"!=typeof t)return t.nodeType?(this[0]=t,this.length=1,this):C.isFunction(t)?void 0!==n.ready?n.ready(t):t(C):C.makeArray(t,this);if(!(i="<"===t[0]&&">"===t[t.length-1]&&3<=t.length?[null,t,null]:I.exec(t))||!i[1]&&e)return(!e||e.jquery?e||n:this.constructor(e)).find(t);if(i[1]){if(e=e instanceof C?e[0]:e,C.merge(this,C.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:$,!0)),k.test(i[1])&&C.isPlainObject(e))for(var i in e)C.isFunction(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return(t=$.getElementById(i[2]))&&(this[0]=t,this.length=1),this}).prototype=C.fn,A=C($);var N=/^(?:parents|prev(?:Until|All))/,D={children:!0,contents:!0,next:!0,prev:!0};function O(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}C.fn.extend({has:function(t){var e=C(t,this),n=e.length;return this.filter(function(){for(var t=0;t\x20\t\r\n\f]+)/i,st=/^$|\/(?:java|ecma)script/i,at={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function lt(t,e){var n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&&T(t,e)?C.merge([t],n):n}function ct(t,e){for(var n=0,i=t.length;nx",m.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue;var ft=$.documentElement,ht=/^key/,pt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,gt=/^([^.]*)(?:\.(.+)|)/;function mt(){return!0}function vt(){return!1}function yt(){try{return $.activeElement}catch(t){}}function bt(t,e,n,i,o,r){var s,a;if("object"==typeof e){for(a in"string"!=typeof n&&(i=i||n,n=void 0),e)bt(t,a,n,i,e[a],r);return t}if(null==i&&null==o?(o=n,i=n=void 0):null==o&&("string"==typeof n?(o=i,i=void 0):(o=i,i=n,n=void 0)),!1===o)o=vt;else if(!o)return t;return 1===r&&(s=o,(o=function(t){return C().off(t),s.apply(this,arguments)}).guid=s.guid||(s.guid=C.guid++)),t.each(function(){C.event.add(this,e,o,i,n)})}C.event={global:{},add:function(e,t,n,i,o){var r,s,a,l,c,u,d,f,h,p=U.get(e);if(p)for(n.handler&&(n=(r=n).handler,o=r.selector),o&&C.find.matchesSelector(ft,o),n.guid||(n.guid=C.guid++),(a=p.events)||(a=p.events={}),(s=p.handle)||(s=p.handle=function(t){return void 0!==C&&C.event.triggered!==t.type?C.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(L)||[""]).length;l--;)d=h=(c=gt.exec(t[l])||[])[1],f=(c[2]||"").split(".").sort(),d&&(u=C.event.special[d]||{},d=(o?u.delegateType:u.bindType)||d,u=C.event.special[d]||{},c=C.extend({type:d,origType:h,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&C.expr.match.needsContext.test(o),namespace:f.join(".")},r),(h=a[d])||((h=a[d]=[]).delegateCount=0,u.setup&&!1!==u.setup.call(e,i,f,s)||e.addEventListener&&e.addEventListener(d,s)),u.add&&(u.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),o?h.splice(h.delegateCount++,0,c):h.push(c),C.event.global[d]=!0)},remove:function(t,e,n,i,o){var r,s,a,l,c,u,d,f,h,p,g,m=U.hasData(t)&&U.get(t);if(m&&(l=m.events)){for(c=(e=(e||"").match(L)||[""]).length;c--;)if(h=g=(a=gt.exec(e[c])||[])[1],p=(a[2]||"").split(".").sort(),h){for(d=C.event.special[h]||{},f=l[h=(i?d.delegateType:d.bindType)||h]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=r=f.length;r--;)u=f[r],!o&&g!==u.origType||n&&n.guid!==u.guid||a&&!a.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(f.splice(r,1),u.selector&&f.delegateCount--,d.remove&&d.remove.call(t,u));s&&!f.length&&(d.teardown&&!1!==d.teardown.call(t,p,m.handle)||C.removeEvent(t,h,m.handle),delete l[h])}else for(h in l)C.event.remove(t,h+e[c],n,i,!0);C.isEmptyObject(l)&&U.remove(t,"handle events")}},dispatch:function(t){var e,n,i,o,r,s=C.event.fix(t),a=new Array(arguments.length),l=(U.get(this,"events")||{})[s.type]||[],t=C.event.special[s.type]||{};for(a[0]=s,e=1;e\x20\t\r\n\f]*)[^>]*)\/>/gi,wt=/\s*$/g;function St(t,e){return T(t,"table")&&T(11!==e.nodeType?e:e.firstChild,"tr")&&C(">tbody",t)[0]||t}function Tt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function kt(t){var e=$t.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function Et(t,e){var n,i,o,r,s,a;if(1===e.nodeType){if(U.hasData(t)&&(r=U.access(t),s=U.set(e,r),a=r.events))for(o in delete s.handle,s.events={},a)for(n=0,i=a[o].length;n")},clone:function(t,e,n){var i,o,r,s,a,l,c,u=t.cloneNode(!0),d=C.contains(t.ownerDocument,t);if(!(m.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||C.isXMLDoc(t)))for(s=lt(u),i=0,o=(r=lt(t)).length;i").prop({charset:n.scriptCharset,src:n.url}).on("load error",o=function(t){i.remove(),o=null,t&&e("error"===t.type?404:200,t.type)}),$.head.appendChild(i[0])},abort:function(){o&&o()}}});var He=[],ze=/(=)\?(?=&|$)|\?\?/;C.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=He.pop()||C.expando+"_"+ye++;return this[t]=!0,t}}),C.ajaxPrefilter("json jsonp",function(t,e,n){var i,o,r,s=!1!==t.jsonp&&(ze.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&ze.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=C.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(ze,"$1"+i):!1!==t.jsonp&&(t.url+=(be.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return r||C.error(i+" was not called"),r[0]},t.dataTypes[0]="json",o=x[i],x[i]=function(){r=arguments},n.always(function(){void 0===o?C(x).removeProp(i):x[i]=o,t[i]&&(t.jsonpCallback=e.jsonpCallback,He.push(i)),r&&C.isFunction(o)&&o(r[0]),r=o=void 0}),"script"}),m.createHTMLDocument=((e=$.implementation.createHTMLDocument("").body).innerHTML="
",2===e.childNodes.length),C.parseHTML=function(t,e,n){return"string"!=typeof t?[]:("boolean"==typeof e&&(n=e,e=!1),e||(m.createHTMLDocument?((i=(e=$.implementation.createHTMLDocument("")).createElement("base")).href=$.location.href,e.head.appendChild(i)):e=$),i=!n&&[],(n=k.exec(t))?[e.createElement(n[1])]:(n=dt([t],e,i),i&&i.length&&C(i).remove(),C.merge([],n.childNodes)));var i},C.fn.load=function(t,e,n){var i,o,r,s=this,a=t.indexOf(" ");return-1").append(C.parseHTML(t)).find(i):t)}).always(n&&function(t,e){s.each(function(){n.apply(this,r||[t.responseText,e,t])})}),this},C.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){C.fn[e]=function(t){return this.on(e,t)}}),C.expr.pseudos.animated=function(e){return C.grep(C.timers,function(t){return e===t.elem}).length},C.offset={setOffset:function(t,e,n){var i,o,r,s,a=C.css(t,"position"),l=C(t),c={};"static"===a&&(t.style.position="relative"),r=l.offset(),i=C.css(t,"top"),s=C.css(t,"left"),s=("absolute"===a||"fixed"===a)&&-1<(i+s).indexOf("auto")?(o=(a=l.position()).top,a.left):(o=parseFloat(i)||0,parseFloat(s)||0),C.isFunction(e)&&(e=e.call(t,n,C.extend({},r))),null!=e.top&&(c.top=e.top-r.top+o),null!=e.left&&(c.left=e.left-r.left+s),"using"in e?e.using.call(t,c):l.css(c)}},C.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){C.offset.setOffset(this,e,t)});var t,n,i=this[0];return i?i.getClientRects().length?(t=i.getBoundingClientRect(),i=(n=i.ownerDocument).documentElement,n=n.defaultView,{top:t.top+n.pageYOffset-i.clientTop,left:t.left+n.pageXOffset-i.clientLeft}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,n=this[0],i={top:0,left:0};return"fixed"===C.css(n,"position")?e=n.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),T(t[0],"html")||(i=t.offset()),i={top:i.top+C.css(t[0],"borderTopWidth",!0),left:i.left+C.css(t[0],"borderLeftWidth",!0)}),{top:e.top-i.top-C.css(n,"marginTop",!0),left:e.left-i.left-C.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===C.css(t,"position");)t=t.offsetParent;return t||ft})}}),C.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,o){var r="pageYOffset"===o;C.fn[e]=function(t){return B(this,function(t,e,n){var i;return C.isWindow(t)?i=t:9===t.nodeType&&(i=t.defaultView),void 0===n?i?i[o]:t[e]:void(i?i.scrollTo(r?i.pageXOffset:n,r?n:i.pageYOffset):t[e]=n)},e,t,arguments.length)}}),C.each(["top","left"],function(t,n){C.cssHooks[n]=qt(m.pixelPosition,function(t,e){if(e)return e=Ft(t,n),Rt.test(e)?C(t).position()[n]+"px":e})}),C.each({Height:"height",Width:"width"},function(s,a){C.each({padding:"inner"+s,content:a,"":"outer"+s},function(i,r){C.fn[r]=function(t,e){var n=arguments.length&&(i||"boolean"!=typeof t),o=i||(!0===t||!0===e?"margin":"border");return B(this,function(t,e,n){var i;return C.isWindow(t)?0===r.indexOf("outer")?t["inner"+s]:t.document.documentElement["client"+s]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+s],i["scroll"+s],t.body["offset"+s],i["offset"+s],i["client"+s])):void 0===n?C.css(t,e,o):C.style(t,e,n,o)},a,n?t:void 0,n)}})}),C.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)}}),C.holdReady=function(t){t?C.readyWait++:C.ready(!0)},C.isArray=Array.isArray,C.parseJSON=JSON.parse,C.nodeName=T,"function"==typeof define&&define.amd&&define("jquery",[],function(){return C});var Fe=x.jQuery,qe=x.$;return C.noConflict=function(t){return x.$===C&&(x.$=qe),t&&x.jQuery===C&&(x.jQuery=Fe),C},t||(x.jQuery=x.$=C),C}),function(t){var e=function(a,P){"use strict";if(P.getElementsByClassName){var M,R,H=P.documentElement,l=a.Date,i=a.HTMLPictureElement,c="addEventListener",z="getAttribute",F=a[c],q=a.setTimeout,u=a.requestAnimationFrame||q,d=a.requestIdleCallback,B=/^picture$/i,o=["load","error","lazyincluded","_lazyloaded"],n={},W=Array.prototype.forEach,U=function(t,e){return n[e]||(n[e]=new RegExp("(\\s|^)"+e+"(\\s|$)")),n[e].test(t[z]("class")||"")&&n[e]},V=function(t,e){U(t,e)||t.setAttribute("class",(t[z]("class")||"").trim()+" "+e)},Q=function(t,e){var n;(n=U(t,e))&&t.setAttribute("class",(t[z]("class")||"").replace(n," "))},X=function(e,n,t){var i=t?c:"removeEventListener";t&&X(e,n),o.forEach(function(t){e[i](t,n)})},J=function(t,e,n,i,o){var r=P.createEvent("CustomEvent");return n||(n={}),n.instance=M,r.initCustomEvent(e,!i,!o,n),t.dispatchEvent(r),r},Y=function(t,e){var n;!i&&(n=a.picturefill||R.pf)?n({reevaluate:!0,elements:[t]}):e&&e.src&&(t.src=e.src)},G=function(t,e){return(getComputedStyle(t,null)||{})[e]},s=function(t,e,n){for(n=n||t.offsetWidth;ne&&(e=0),t||9>e&&d?a():q(a,e))}},et=function(t){var e,n,i=99,o=function(){e=null,t()},r=function(){var t=l.now()-n;i>t?q(r,i-t):(d||o)(o)};return function(){n=l.now(),e||(e=q(r,i))}},t=function(){var u,d,f,h,e,p,g,m,v,y,b,_,w,x,r=/^img$/i,$=/^iframe$/i,C="onscroll"in a&&!/glebot/.test(navigator.userAgent),S=0,T=0,k=0,E=-1,j=function(t){k--,t&&t.target&&X(t.target,j),(!t||0>k||!t.target)&&(k=0)},A=function(t,e){var n,i=t,o="hidden"==G(P.body,"visibility")||"hidden"!=G(t,"visibility");for(m-=e,b+=e,v-=e,y+=e;o&&(i=i.offsetParent)&&i!=P.body&&i!=H;)o=(G(i,"opacity")||1)>0,o&&"visible"!=G(i,"overflow")&&(n=i.getBoundingClientRect(),o=y>n.left&&vn.top-1&&mk&&(t=c.length)){e=0,E++,null==w&&("expand"in R||(R.expand=H.clientHeight>500&&H.clientWidth>500?500:370),_=R.expand,w=_*R.expFactor),w>T&&1>k&&E>2&&h>2&&!P.hidden?(T=w,E=0):T=h>1&&E>1&&6>k?_:S;for(;t>e;e++)if(c[e]&&!c[e]._lazyRace)if(C)if((a=c[e][z]("data-expand"))&&(r=1*a)||(r=T),l!==r&&(p=innerWidth+r*x,g=innerHeight+r,s=-1*r,l=r),n=c[e].getBoundingClientRect(),(b=n.bottom)>=s&&(m=n.top)<=g&&(y=n.right)>=s*x&&(v=n.left)<=p&&(b||y||v||m)&&(R.loadHidden||"hidden"!=G(c[e],"visibility"))&&(d&&3>k&&!a&&(3>h||4>E)||A(c[e],r))){if(L(c[e]),o=!0,k>9)break}else!o&&d&&!i&&4>k&&4>E&&h>2&&(u[0]||R.preloadAfterLoad)&&(u[0]||!a&&(b||y||v||m||"auto"!=c[e][z](R.sizesAttr)))&&(i=u[0]||c[e]);else L(c[e]);i&&!o&&L(i)}},n=tt(t),I=function(t){V(t.target,R.loadedClass),Q(t.target,R.loadingClass),X(t.target,N),J(t.target,"lazyloaded")},i=Z(I),N=function(t){i({target:t.target})},D=function(e,n){try{e.contentWindow.location.replace(n)}catch(t){e.src=n}},O=function(t){var e,n=t[z](R.srcsetAttr);(e=R.customMedia[t[z]("data-media")||t[z]("media")])&&t.setAttribute("media",e),n&&t.setAttribute("srcset",n)},s=Z(function(t,e,n,i,o){var r,s,a,l,c,u;(c=J(t,"lazybeforeunveil",e)).defaultPrevented||(i&&(n?V(t,R.autosizesClass):t.setAttribute("sizes",i)),s=t[z](R.srcsetAttr),r=t[z](R.srcAttr),o&&(a=t.parentNode,l=a&&B.test(a.nodeName||"")),u=e.firesLoad||"src"in t&&(s||r||l),c={target:t},u&&(X(t,j,!0),clearTimeout(f),f=q(j,2500),V(t,R.loadingClass),X(t,N,!0)),l&&W.call(a.getElementsByTagName("source"),O),s?t.setAttribute("srcset",s):r&&!l&&($.test(t.nodeName)?D(t,r):t.src=r),o&&(s||l)&&Y(t,{src:r})),t._lazyRace&&delete t._lazyRace,Q(t,R.lazyClass),K(function(){(!u||t.complete&&t.naturalWidth>1)&&(u?j(c):k--,I(c))},!0)}),L=function(t){var e,n=r.test(t.nodeName),i=n&&(t[z](R.sizesAttr)||t[z]("sizes")),o="auto"==i;(!o&&d||!n||!t[z]("src")&&!t.srcset||t.complete||U(t,R.errorClass))&&(e=J(t,"lazyunveilread").detail,o&&nt.updateElem(t,!0,t.offsetWidth),t._lazyRace=!0,k++,s(t,e,o,i,n))},o=function(){if(!d){if(l.now()-e<999)return void q(o,999);var t=et(function(){R.loadMode=3,n()});d=!0,R.loadMode=3,n(),F("scroll",function(){3==R.loadMode&&(R.loadMode=2),t()},!0)}};return{_:function(){e=l.now(),M.elements=P.getElementsByClassName(R.lazyClass),u=P.getElementsByClassName(R.lazyClass+" "+R.preloadClass),x=R.hFac,F("scroll",n,!0),F("resize",n,!0),a.MutationObserver?new MutationObserver(n).observe(H,{childList:!0,subtree:!0,attributes:!0}):(H[c]("DOMNodeInserted",n,!0),H[c]("DOMAttrModified",n,!0),setInterval(n,999)),F("hashchange",n,!0),["focus","mouseover","click","load","transitionend","animationend","webkitAnimationEnd"].forEach(function(t){P[c](t,n,!0)}),/d$|^c/.test(P.readyState)?o():(F("load",o),P[c]("DOMContentLoaded",n),q(o,2e4)),M.elements.length?(t(),K._lsFlush()):n()},checkElems:n,unveil:L}}(),nt=function(){var n,r=Z(function(t,e,n,i){var o,r,s;if(t._lazysizesWidth=i,i+="px",t.setAttribute("sizes",i),B.test(e.nodeName||""))for(o=e.getElementsByTagName("source"),r=0,s=o.length;s>r;r++)o[r].setAttribute("sizes",i);n.detail.dataAttr||Y(t,n.detail)}),i=function(t,e,n){var i,o=t.parentNode;o&&(n=s(t,o,n),i=J(t,"lazybeforesizes",{width:n,dataAttr:!!e}),i.defaultPrevented||(n=i.detail.width,n&&n!==t._lazysizesWidth&&r(t,o,i,n)))},t=function(){var t,e=n.length;if(e)for(t=0;e>t;t++)i(n[t])},e=et(t);return{_:function(){n=P.getElementsByClassName(R.autosizesClass),F("resize",e)},checkElems:e,updateElem:i}}(),r=function(){r.i||(r.i=!0,nt._(),t._())};return function(){var t,e={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0};R=a.lazySizesConfig||a.lazysizesConfig||{};for(t in e)t in R||(R[t]=e[t]);a.lazySizesConfig=R,q(function(){R.init&&r()})}(),M={cfg:R,autoSizer:nt,loader:t,init:r,uP:Y,aC:V,rC:Q,hC:U,fire:J,gW:s,rAF:K}}}(t,t.document);t.lazySizes=e,"object"==typeof module&&module.exports&&(module.exports=e)}(window),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");!function(){"use strict";var t=jQuery.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1==t[0]&&9==t[1]&&t[2]<1||3this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):n==t?this.pause().cycle():this.slide(ndocument.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},s.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},s.prototype.checkScrollbar=function(){var t,e=window.innerWidth;e||(e=(t=document.documentElement.getBoundingClientRect()).right-Math.abs(t.left)),this.bodyIsOverflowing=document.body.clientWidth
',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},c.prototype.init=function(t,e,n){if(this.enabled=!0,this.type=t,this.$element=l(e),this.options=this.getOptions(n),this.$viewport=this.options.viewport&&l(l.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var i=this.options.trigger.split(" "),o=i.length;o--;){var r,s=i[o];"click"==s?this.$element.on("click."+this.type,this.options.selector,l.proxy(this.toggle,this)):"manual"!=s&&(r="hover"==s?"mouseenter":"focusin",s="hover"==s?"mouseleave":"focusout",this.$element.on(r+"."+this.type,this.options.selector,l.proxy(this.enter,this)),this.$element.on(s+"."+this.type,this.options.selector,l.proxy(this.leave,this)))}this.options.selector?this._options=l.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.getOptions=function(t){return(t=l.extend({},this.getDefaults(),this.$element.data(),t)).delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t},c.prototype.getDelegateOptions=function(){var n={},i=this.getDefaults();return this._options&&l.each(this._options,function(t,e){i[t]!=e&&(n[t]=e)}),n},c.prototype.enter=function(t){var e=t instanceof this.constructor?t:l(t.currentTarget).data("bs."+this.type);return e||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),l(t.currentTarget).data("bs."+this.type,e)),t instanceof l.Event&&(e.inState["focusin"==t.type?"focus":"hover"]=!0),e.tip().hasClass("in")||"in"==e.hoverState?void(e.hoverState="in"):(clearTimeout(e.timeout),e.hoverState="in",e.options.delay&&e.options.delay.show?void(e.timeout=setTimeout(function(){"in"==e.hoverState&&e.show()},e.options.delay.show)):e.show())},c.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},c.prototype.leave=function(t){var e=t instanceof this.constructor?t:l(t.currentTarget).data("bs."+this.type);if(e||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),l(t.currentTarget).data("bs."+this.type,e)),t instanceof l.Event&&(e.inState["focusout"==t.type?"focus":"hover"]=!1),!e.isInStateTrue())return clearTimeout(e.timeout),e.hoverState="out",e.options.delay&&e.options.delay.hide?void(e.timeout=setTimeout(function(){"out"==e.hoverState&&e.hide()},e.options.delay.hide)):e.hide()},c.prototype.show=function(){var e,t,n,i,o,r,s,a=l.Event("show.bs."+this.type);this.hasContent()&&this.enabled&&(this.$element.trigger(a),n=l.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]),!a.isDefaultPrevented()&&n&&(t=(e=this).tip(),r=this.getUID(this.type),this.setContent(),t.attr("id",r),this.$element.attr("aria-describedby",r),this.options.animation&&t.addClass("fade"),s="function"==typeof this.options.placement?this.options.placement.call(this,t[0],this.$element[0]):this.options.placement,(o=(i=/\s?auto?\s?/i).test(s))&&(s=s.replace(i,"")||"top"),t.detach().css({top:0,left:0,display:"block"}).addClass(s).data("bs."+this.type,this),this.options.container?t.appendTo(this.options.container):t.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type),a=this.getPosition(),n=t[0].offsetWidth,r=t[0].offsetHeight,o&&(i=s,o=this.getPosition(this.$viewport),s="bottom"==s&&a.bottom+r>o.bottom?"top":"top"==s&&a.top-ro.width?"left":"left"==s&&a.left-na.top+a.height&&(o.top=a.top+a.height-r)):(r=e.left-s,n=e.left+s+n,ra.right&&(o.left=a.left+a.width-n)),o},c.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},c.prototype.getUID=function(t){for(;t+=~~(1e6*Math.random()),document.getElementById(t););return t},c.prototype.tip=function(){if(!this.$tip&&(this.$tip=l(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},c.prototype.enable=function(){this.enabled=!0},c.prototype.disable=function(){this.enabled=!1},c.prototype.toggleEnabled=function(){this.enabled=!this.enabled},c.prototype.toggle=function(t){var e=this;t&&((e=l(t.currentTarget).data("bs."+this.type))||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),l(t.currentTarget).data("bs."+this.type,e))),t?(e.inState.click=!e.inState.click,e.isInStateTrue()?e.enter(e):e.leave(e)):e.tip().hasClass("in")?e.leave(e):e.enter(e)},c.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null,t.$element=null})};var t=l.fn.tooltip;l.fn.tooltip=function(i){return this.each(function(){var t=l(this),e=t.data("bs.tooltip"),n="object"==typeof i&&i;!e&&/destroy|hide/.test(i)||(e||t.data("bs.tooltip",e=new c(this,n)),"string"==typeof i&&e[i]())})},l.fn.tooltip.Constructor=c,l.fn.tooltip.noConflict=function(){return l.fn.tooltip=t,this}}(jQuery),function(o){"use strict";function r(t,e){this.init("popover",t,e)}if(!o.fn.tooltip)throw new Error("Popover requires tooltip.js");r.VERSION="3.3.7",r.DEFAULTS=o.extend({},o.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),((r.prototype=o.extend({},o.fn.tooltip.Constructor.prototype)).constructor=r).prototype.getDefaults=function(){return r.DEFAULTS},r.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),n=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof n?"html":"append":"text"](n),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},r.prototype.hasContent=function(){return this.getTitle()||this.getContent()},r.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},r.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var t=o.fn.popover;o.fn.popover=function(i){return this.each(function(){var t=o(this),e=t.data("bs.popover"),n="object"==typeof i&&i;!e&&/destroy|hide/.test(i)||(e||t.data("bs.popover",e=new r(this,n)),"string"==typeof i&&e[i]())})},o.fn.popover.Constructor=r,o.fn.popover.noConflict=function(){return o.fn.popover=t,this}}(jQuery),function(o){"use strict";function r(t,e){this.$body=o(document.body),this.$scrollElement=o(o(t).is(document.body)?window:t),this.options=o.extend({},r.DEFAULTS,e),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",o.proxy(this.process,this)),this.refresh(),this.process()}function e(i){return this.each(function(){var t=o(this),e=t.data("bs.scrollspy"),n="object"==typeof i&&i;e||t.data("bs.scrollspy",e=new r(this,n)),"string"==typeof i&&e[i]()})}r.VERSION="3.3.7",r.DEFAULTS={offset:10},r.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},r.prototype.refresh=function(){var t=this,n="offset",i=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),o.isWindow(this.$scrollElement[0])||(n="position",i=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var t=o(this),e=t.data("target")||t.attr("href"),t=/^#./.test(e)&&o(e);return t&&t.length&&t.is(":visible")?[[t[n]().top+i,e]]:null}).sort(function(t,e){return t[0]-e[0]}).each(function(){t.offsets.push(this[0]),t.targets.push(this[1])})},r.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),i=this.options.offset+n-this.$scrollElement.height(),o=this.offsets,r=this.targets,s=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),i<=e)return s!=(t=r[r.length-1])&&this.activate(t);if(s&&e=o[t]&&(void 0===o[t+1]||e .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),t.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),r?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu").length&&t.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),n&&n()}var o=e.find("> .active"),r=n&&s.support.transition&&(o.length&&o.hasClass("fade")||!!e.find("> .fade").length);o.length&&r?o.one("bsTransitionEnd",i).emulateTransitionEnd(a.TRANSITION_DURATION):i(),o.removeClass("in")};var t=s.fn.tab;function n(t){t.preventDefault(),e.call(s(this),"show")}s.fn.tab=e,s.fn.tab.Constructor=a,s.fn.tab.noConflict=function(){return s.fn.tab=t,this},s(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',n).on("click.bs.tab.data-api",'[data-toggle="pill"]',n)}(jQuery),function(s){"use strict";function n(i){return this.each(function(){var t=s(this),e=t.data("bs.affix"),n="object"==typeof i&&i;e||t.data("bs.affix",e=new a(this,n)),"string"==typeof i&&e[i]()})}var a=function(t,e){this.options=s.extend({},a.DEFAULTS,e),this.$target=s(this.options.target).on("scroll.bs.affix.data-api",s.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",s.proxy(this.checkPositionWithEventLoop,this)),this.$element=s(t),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};a.VERSION="3.3.7",a.RESET="affix affix-top affix-bottom",a.DEFAULTS={offset:0,target:window},a.prototype.getState=function(t,e,n,i){var o=this.$target.scrollTop(),r=this.$element.offset(),s=this.$target.height();if(null!=n&&"top"==this.affixed)return on.numSlides-1&&(n.st.startSlideId=n.numSlides-1):n.st.startSlideId=0,n._o=n.staticSlideId=n.currSlideId=n._u=n.st.startSlideId,n.currSlide=n.slides[n.currSlideId],n._v=0,n.msTouch=!1,n.slider.addClass((n._h?"rsHor":"rsVer")+(n._l?"":" rsFade")),s='
',n.slidesSpacing=n.st.slidesSpacing,n._w=(n._h?n.slider.width():n.slider.height())+n.st.slidesSpacing,n._x=Boolean(0
'));n._e1=s=y(s+"
"),l=n.ns,n.msEnabled=window.navigator.msPointerEnabled,n.msEnabled?(n.msTouch=Boolean(1'),s=n._p1.children(".rsSlide"),n._r1=n.slidesJQ[n.currSlideId],n._s1=0,n._e?(n._t1="transition-property",n._u1="transition-duration",n._v1="transition-timing-function",n._w1=n._x1=n._g+"transform",n._f?(i.webkit&&n.slider.addClass("rsWebkit3d"),n._y1="translate3d(",n._z1="px, ",n._a2="px, 0px)"):(n._y1="translate(",n._z1="px, ",n._a2="px)"),n._l?n._p1[n._g+n._t1]=n._g+"transform":((l={})[n._g+n._t1]="opacity",l[n._g+n._u1]=n.st.transitionSpeed+"ms",l[n._g+n._v1]=n.st.css3easeInOut,s.css(l))):(n._x1="left",n._w1="top"),y(window).on("resize"+n.ns,function(){r&&clearTimeout(r),r=setTimeout(function(){n.updateSliderSize()},50)}),n.ev.trigger("rsAfterPropsSetup"),n.updateSliderSize(),n.st.keyboardNavEnabled&&n._b2(),n.st.arrowsNavHideOnTouch&&(n.hasTouch||n.msTouch)&&(n.st.arrowsNav=!1),n.st.arrowsNav&&(s=n._o1,y('
').appendTo(s),n._c2=s.children(".rsArrowLeft").click(function(t){t.preventDefault(),n.prev()}),n._d2=s.children(".rsArrowRight").click(function(t){t.preventDefault(),n.next()}),n.st.arrowsNavAutoHide&&!n.hasTouch&&(n._c2.addClass("rsHidden"),n._d2.addClass("rsHidden"),s.one("mousemove.arrowshover",function(){n._c2.removeClass("rsHidden"),n._d2.removeClass("rsHidden")}),s.hover(function(){n._e2||(n._c2.removeClass("rsHidden"),n._d2.removeClass("rsHidden"))},function(){n._e2||(n._c2.addClass("rsHidden"),n._d2.addClass("rsHidden"))})),n.ev.on("rsOnUpdateNav",function(){n._f2()}),n._f2()),n._f1?n._p1.on(n._j1,function(t){n._g2(t)}):n.dragSuccess=!1;var d=["rsPlayBtnIcon","rsPlayBtn","rsCloseVideoBtn","rsCloseVideoIcn"];n._p1.click(function(t){if(!n.dragSuccess){var e=y(t.target).attr("class");if(-1!==y.inArray(e,d)&&n.toggleVideo())return!1;if(n.st.navigateByClick&&!n._h2){if(y(t.target).closest(".rsNoDrag",n._r1).length)return!0;n._i2(t)}n.ev.trigger("rsSlideClick")}}).on("click.rs","a",function(){return!n.dragSuccess&&(n._h2=!0,void setTimeout(function(){n._h2=!1},3))}),n.ev.trigger("rsAfterInit")}y.rsModules||(y.rsModules={uid:0}),i.prototype={constructor:i,_i2:function(t){(t=t[this._h?"pageX":"pageY"]-this._j2)>=this._q?this.next():t<0&&this.prev()},_t:function(){var t=this.st.numImagesToPreload;(this._z=this.st.loop)&&(2===this.numSlides?(this._z=!1,this.st.loopRewind=!0):this.numSlides<2&&(this.st.loopRewind=this._z=!1)),this._z&&0(this.numSlides-1)/2&&(t=Math.floor((this.numSlides-1)/2))),this._y=t},_s:function(t,e){function n(t,e){e?s.images.push(t.attr(e)):s.images.push(t.text()),a&&(a=!1,s.caption="src"===e?t.attr("alt"):t.contents(),s.image=s.images[0],s.videoURL=t.attr("data-rsVideo"),e=t.attr("data-rsw"),t=t.attr("data-rsh"),void 0!==e&&!1!==e&&void 0!==t&&!1!==t?(s.iW=parseInt(e),s.iH=parseInt(t)):r.st.imgWidth&&r.st.imgHeight&&(s.iW=r.st.imgWidth,s.iH=r.st.imgHeight))}var i,o,r=this,s={},a=!0;if(t=y(t),r._k2=t,r.ev.trigger("rsBeforeParseNode",[t,s]),!s.stopParsing)return t=r._k2,s.id=r._r,s.contentAdded=!1,r._r++,s.images=[],s.isBig=!1,s.hasCover||(t.hasClass("rsImg")?(o=t,i=!0):(o=t.find(".rsImg")).length&&(i=!0),i?(s.bigImage=o.eq(0).attr("data-rsBigImg"),o.each(function(){var t=y(this);t.is("a")?n(t,"href"):t.is("img")?n(t,"src"):n(t)})):t.is("img")&&(t.addClass("rsImg rsMainSlideImage"),n(t,"src"))),(o=t.find(".rsCaption")).length&&(s.caption=o.remove()),s.content=t,r.ev.trigger("rsAfterParseNode",[t,s]),e&&r.slides.push(s),0===s.images.length&&(s.isLoaded=!0,s.isRendered=!1,s.isLoading=!1,s.images=null),s},_b2:function(){function e(t){37===t?o.prev():39===t&&o.next()}var n,i,o=this;o._b.on("keydown"+o.ns,function(t){o._l2||(37!==(i=t.keyCode)&&39!==i||n)||(e(i),n=setInterval(function(){e(i)},700))}).on("keyup"+o.ns,function(){n&&(clearInterval(n),n=null)})},goTo:function(t,e){t!==this.currSlideId&&this._m2(t,this.st.transitionSpeed,!0,!e)},destroy:function(t){this.ev.trigger("rsBeforeDestroy"),this._b.off("keydown"+this.ns+" keyup"+this.ns+" "+this._k1+" "+this._l1),this._p1.off(this._j1+" click"),this.slider.data("royalSlider",null),y.removeData(this.slider,"royalSlider"),y(window).off("resize"+this.ns),t&&this.slider.remove(),this.ev=this.slider=this.slides=null},_n2:function(i,t){function e(t,e,n){t.isAdded?(o(0,t),r(e)):(n=n||a.slidesJQ[e],t.holder?n=t.holder:(n=a.slidesJQ[e]=y(n),t.holder=n),t.appendOnLoaded=!1,r(e,0,n),o(0,t),a._p2(t,n,i),appended=t.isAdded=!0)}function o(t,e){e.contentAdded||(a.setItemHtml(e,i),i||(e.contentAdded=!0))}function r(t,e,n){a._l&&(n=n||a.slidesJQ[t]).css(a._i,(t+a._d1+u)*a._w)}function n(t){if(l){if(c-1=a.numSlides-1?0:1:a._y,p=Math.min(2,h),g=!1,m=!1,v=f;v';n?i.content=y(e):t.replaceWith(e)}),t=n?i.content:i.content.find("img.rsImg"),l(),t.eq(0).addClass("rsMainSlideImage"),i.iW&&i.iH&&(i.isLoaded||u._q2(i),s()),i.isLoading=!0,i.isBig)y("").on("load.rs error.rs",function(){o([this],!0)}).attr("src",i.image);else for(i.loaded=[],i.imgLoaders=[],t=0;t");i.imgLoaders.push(this),e.on("load.rs error.rs",function(){i.loaded.push(this),i.loaded.length===i.imgLoaders.length&&o(i.loaded,!1)}).attr("src",i.images[t])}}else i.isRendered=!0,i.isLoaded=!0,i.isLoading=!1,s()}function o(t,e){var n;t.length?(t=t[0],e!==i.isBig?(t=i.holder.children())&&1this._n3||s=this.numSlides-1&&a-this._d3<0&&(s=this._h3+i*this._n1)),this._h3=s,200a._n3)r=a._n3;else if(ra._n3)return void a._a4(r,l,!0,a._n3,200);if(rthis.numSlides)&&(e=this.numSlides),this.slides.splice(e,0,t),this.slidesJQ.splice(e,0,'
'),e=t.numSlides?t.goTo(t.numSlides-1):t.currSlideId<0&&t.goTo(0),t._t(),t._l&&t._z&&t._p1.css(t._g+t._u1,"0ms"),t._i4&&clearTimeout(t._i4),t._i4=setTimeout(function(){t._l&&t._p3((-t._u-t._d1)*t._w),t._n2(),t._l||t._r1.css({display:"block",opacity:1})},14),t.ev.trigger("rsOnUpdateNav")},_i1:function(){this._f1&&this._l&&(this._g1?this._e1.css("cursor",this._g1):(this._e1.removeClass("grabbing-cursor"),this._e1.addClass("grab-cursor")))},_w2:function(){this._f1&&this._l&&(this._h1?this._e1.css("cursor",this._h1):(this._e1.removeClass("grab-cursor"),this._e1.addClass("grabbing-cursor")))},next:function(t){this._m2("next",this.st.transitionSpeed,!0,!t)},prev:function(t){this._m2("prev",this.st.transitionSpeed,!0,!t)},_m2:function(t,e,n,i,o){var r,s,a=this;if(a.ev.trigger("rsBeforeMove",[t,i]),newItemId="next"===t?a.currSlideId+1:"prev"===t?a.currSlideId-1:t=parseInt(t,10),!a._z){if(newItemId<0)return void a._j4("left",!i);if(newItemId>=a.numSlides)return void a._j4("right",!i)}a._r2&&(a._u2(!0),n=!1),d=newItemId-a.currSlideId,s=a._o2=a.currSlideId;var l,c=a.currSlideId+d;i=a._u,a._z?(c=a._n2(!1,c),i+=d):i=c,a._o=c,a._h4=a.slidesJQ[a.currSlideId],a._u=i,a.currSlideId=a._o,a.currSlide=a.slides[a.currSlideId],a._r1=a.slidesJQ[a.currSlideId];var c=a.st.slidesDiff,u=Boolean(0a.numSlides-1?f=a.numSlides-1:f<0&&(f=0),(s=u?f-s:s-f)>a._y&&(s=a._y),s+c';i._l5=t=n(t+""),i._m5=t.appendTo(i.slider).children(),i._l5.on("click.rs",".rsNavItem",function(){i._n5||i.goTo(n(this).index())})}),i.ev.on("rsOnAppendSlide",function(t,e,n){n>=i.numSlides?i._l5.append('
'):i._m5.eq(n).before('
'),i._m5=i._l5.children()}),i.ev.on("rsOnRemoveSlide",function(t,e){e=i._m5.eq(e);e&&e.length&&(e.remove(),i._m5=i._l5.children())}),i.ev.on("rsOnUpdateNav",function(){var t=i.currSlideId;i._o5&&i._o5.removeClass("rsNavSelected"),(t=i._m5.eq(t)).addClass("rsNavSelected"),i._o5=t}))}}),n.rsModules.bullets=n.rsProto._j5}(jQuery),function(o){o.extend(o.rsProto,{_y4:function(){var i,t=this;t._z4={enabled:!1,stopAtAction:!0,pauseOnHover:!0,delay:2e3},!t.st.autoPlay&&t.st.autoplay&&(t.st.autoPlay=t.st.autoplay),t.st.autoPlay=o.extend({},t._z4,t.st.autoPlay),t.st.autoPlay.enabled&&(t.ev.on("rsBeforeParseNode",function(t,e,n){e=o(e),(i=e.attr("data-rsDelay"))&&(n.customDelay=parseInt(i,10))}),t.ev.one("rsAfterInit",function(){t._a5()}),t.ev.on("rsBeforeDestroy",function(){t.stopAutoPlay(),o(window).off("blur"+t.ns+" focus"+t.ns)}))},_a5:function(){var i=this;i.startAutoPlay(),i.ev.on("rsAfterContentSet",function(t,e){i._l2||i._r2||!i._b5||e!==i.currSlide||i._c5()}),i.ev.on("rsDragRelease",function(){i._b5&&i._d5&&(i._d5=!1,i._c5())}),i.ev.on("rsAfterSlideChange",function(){i._b5&&i._d5&&(i._d5=!1,i.currSlide.isLoaded&&i._c5())}),i.ev.on("rsDragStart",function(){i._b5&&(i.st.autoPlay.stopAtAction?i.stopAutoPlay():(i._d5=!0,i._e5()))}),i.ev.on("rsBeforeMove",function(t,e,n){i._b5&&(n&&i.st.autoPlay.stopAtAction?i.stopAutoPlay():(i._d5=!0,i._e5()))}),i._f5=!1,i.ev.on("rsVideoStop",function(){i._b5&&(i._f5=!1,i._c5())}),i.ev.on("rsVideoPlay",function(){i._b5&&(i._d5=!1,i._e5(),i._f5=!0)}),o(window).on("blur"+i.ns,function(){i._b5&&(i._d5=!0,i._e5())}).on("focus"+i.ns,function(){i._b5&&i._d5&&(i._d5=!1,i._c5())}),i.st.autoPlay.pauseOnHover&&(i._g5=!1,i.slider.hover(function(){i._b5&&(i._d5=!1,i._e5(),i._g5=!0)},function(){i._b5&&(i._g5=!1,i._c5())}))},toggleAutoPlay:function(){this._b5?this.stopAutoPlay():this.startAutoPlay()},startAutoPlay:function(){this._b5=!0,this.currSlide.isLoaded&&this._c5()},stopAutoPlay:function(){this._f5=this._g5=this._d5=this._b5=!1,this._e5()},_c5:function(){var e=this;e._g5||e._f5||(e._h5=!0,e._i5&&clearTimeout(e._i5),e._i5=setTimeout(function(){var t;e._z||e.st.loopRewind||(t=!0,e.st.loopRewind=!0),e.next(!0),t&&(e.st.loopRewind=!1)},e.currSlide.customDelay||e.st.autoPlay.delay))},_e5:function(){this._g5||this._f5||(this._h5=!1,this._i5&&(clearTimeout(this._i5),this._i5=null))}}),o.rsModules.autoplay=o.rsProto._y4}(jQuery),function(t){t.extend(t.rsProto,{_x4:function(){var e,n,i,o,r=this;r.st.autoHeight&&(o=function(t){i=r.slides[r.currSlideId],(e=i.holder)&&(n=e.height())&&void 0!==n&&(r._c4=n,r._e||!t?r._e1.css("height",n):r._e1.stop(!0,!0).animate({height:n},r.st.transitionSpeed))},r.ev.on("rsMaybeSizeReady.rsAutoHeight",function(t,e){i===e&&o()}),r.ev.on("rsAfterContentSet.rsAutoHeight",function(t,e){i===e&&o()}),r.slider.addClass("rsAutoHeight"),r.ev.one("rsAfterInit",function(){setTimeout(function(){o(!1),setTimeout(function(){r.slider.append('
'),r._e&&r._e1.css(r._g+"transition","height "+r.st.transitionSpeed+"ms ease-in-out")},16)},16)}),r.ev.on("rsBeforeAnimStart",function(){o(!0)}),r.ev.on("rsBeforeSizeSet",function(){setTimeout(function(){o(!1)},16)}))}}),t.rsModules.autoHeight=t.rsProto._x4}(jQuery);var optinErrors,csIsInApp=function(){var t=navigator.userAgent||navigator.vendor||window.opera;if(-1()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/).test(document.getElementById("optin-email"+optinFormType).value)&&(optinErrors+=optintrans.invalid_email+"\n",1))},optinCheckEmpty=function(t,e){var n=document.getElementById("optin-"+t+optinFormType);if(!n)return!0;n=n.value.trim();return!(document.getElementById("optin-"+t).value=n).match(/^s*$/)||(e&&(optinErrors+=optintrans[e]+"\n"),!1)},optinCheckEmptySelection=function(t,e){t=document.getElementById("optin-"+t+optinFormType);return!t||!t.options[t.selectedIndex].value.match(/^s*$/)||(e&&(optinErrors+=optintrans[e]+"\n"),!1)},optinCheckNumber=function(t,e){var n=document.getElementById("optin-"+t+optinFormType);if(!n)return!0;t=n.value.trim();return n.value=t,!!/^[0-9]{1,1000}$/.test(t)||(e&&(optinErrors+=optintrans[e]+"\n"),!1)},optinCheckCheckBox=function(t,e){t=document.getElementById("optin-"+t+optinFormType);return!t||!!t.checked||(e&&(optinErrors+=optintrans[e]+"\n"),!1)},csDebounce=function(t){function e(){n=null,t()}var n,i,o=function(){var t=Date.now()-i;t<99?setTimeout(o,99-t):(window.requestIdleCallback||e)(e)};return function(){i=Date.now(),n=n||setTimeout(o,99)}},csDelay=function(){var n=0;return function(t,e){clearTimeout(n),n=setTimeout(t,e)}}(),layerOnCursorLeavePageStop=!1,layerOnCursorLeavePage=function(t){var e=!1;$("html").mouseleave(function(t){(t.pageY||t.clientY)-$(window).scrollTop()<=0&&(e=!0)}),$("html").mouseenter(function(){e=!1});var n=setInterval(function(){layerOnCursorLeavePageStop||$(document.activeElement).is("input")?clearInterval(n):e&&(clearInterval(n),t())},800)};$.fn.csNewsletterModal=function(){0<$("#NewsletterModal").length&&$.post("#",{"opt[0]":"nlmodshown",ir:rovlpolk}).done(function(t){"true"!=t&&layerOnCursorLeavePage(function(){$("#NewsletterModal").modal("show"),$.post("#",{"opt[0]":"nlmodshown","opt[1]":"true",ir:rovlpolk}).done()})})},$(function(){$('[data-toggle="popover"]').popover()});var surfto=function(t){var e=document.getElementById(t),t=e.selectedIndex;"0"!=e.options[t].value&&(window.location=e.options[t].value)};$.fn.csSmothScrollingTop=function(){$("#js-btn-scroll-top").click(function(){return $("html, body").animate({scrollTop:0},800),!1})},$.fn.csSmothScrollingTopBtn=function(){300<$(window).scrollTop()?$("#js-btn-scroll-top").fadeIn():$("#js-btn-scroll-top").fadeOut()},$(function(){var e=["gutscheine","gutschein","coupons","coupon","gratis","aktionen","aktion","online","produktproben","produktprobe","rabatte","rabatt","codes","code","proben","probe","artikel","kostenloser","kostenlos","rabattmarken","rabattmarke","gewinnspiele","gewinnspiel"],i=0,n="";$("input").focus(function(){n="#",n+=$(this).attr("data-input-name"),n+=" "});function o(t){var e=$(".js-search-result-"+i);0'+e.label+""),"item"==e.type&&(i+=1,(n="")!=e.extras&&(n='
'+e.extras+"
"),$(o+".js-searchblock:visible .js-searchhover").append(''+e.name.replace(r,function(t){return''+t+""})+n+""))}),$(o+".js-searchblock:visible .js-searchhover").show())})}(n)},300)}),$(".js-searchblock:visible .js-coupons-search").bind("blur",function(){$(".js-searchblock:visible .js-searchhover").fadeOut(500)})}),$.fn.csCouponFilter=function(){var t,r,n,s,i;"undefined"!=typeof coupon_filter&&(t=function(){var n={all:0,ex:0,co:0,cs:0,dl:0,fs:0,pr:0,rb:0,nc:0,rc:0};$("#js-cfl input").each(function(){var t=$(this).prop("id").replace("ft-","");n[t]=0}),$(".js-fp:visible").each(function(){n.all++;for(var t=$(this).attr("data-fp").split(","),e=0;eicon'.replace("icon",t)).insertAfter(n),$(this).find(".js-toggle-more-content").bind("click",function(){var t,e;n.hasClass("cs-toggle-active")?(n.slideUp(800,function(){n.removeClass("cs-toggle-active")}),$(this).html(i)):(t=$(this),(e=n).slideUp(0,function(){e.slideDown(800),e.addClass("cs-toggle-active")}),t.html(o))}))})},$.fn.csToggleContent=function(t,e){var i=' mehr anzeigen ',o=' weniger anzeigen ';$(".js-tog-container").each(function(){var t,n=$(this).find(".cs-tog-content");n&&(t=i,n.hasClass("cs-tog-active")&&(t=o),$('
icon
'.replace("icon",t)).insertAfter(n),$(this).find(".js-tog-more-content").bind("click",function(){var t,e;n.hasClass("cs-tog-active")?(n.slideUp(800,function(){n.removeClass("cs-tog-active"),$("html,body").animate({scrollTop:$("#js-expired-coupons").offset().top-100},400)}),$(this).html(i)):(t=$(this),(e=n).slideUp(0,function(){e.slideDown(800),e.addClass("cs-tog-active")}),t.html(o))}))})},$.fn.csClipboard=function(){new Clipboard(".js-copy-btn",{container:document.getElementById("CouponModal")}).on("success",function(t){$(".js-copy-btn").text("✔ COPIED")})},$.fn.csCouponAlertModalCoupon=function(){$("#js-couponalert-form-modal").submit(function(t){t.preventDefault();var e=$(this).serializeArray();e.push({name:"ir",value:rovlpolk});t=$(this).attr("action");$(".js-couponalert-input-error-modal").hide(),$.post(t,e).done(function(t){t=JSON.parse(t);"input_error"==t.type?($(".js-couponalert-input-error-modal").show(),$(".js-couponalert-input-error-modal").html(t.message)):($(".js-couponalert-output-modal").html('

'+t.message+"

"),$(".js-couponalert-modal").hide(),$(".js-couponalert-output-modal").show())})}),$(".js-couponalert-btn-modal").click(function(){var t=$(this).parent().find("input[name='email']").val(),e=0;$(this).parent().find("input[name='privacy']").prop("checked")&&(e=1),$("#js-couponalert-form-modal").find("input[name='email']").val(t),$("#js-couponalert-form-modal").find("input[name='privacy']").val(e),$("#js-couponalert-form-modal").submit()})},$.fn.csCouponAlertMerchant=function(){function e(n){$("#js-couponalert-form"+n).submit(function(t){t.preventDefault();$(this).find('input[name="email"]').val();var e=$(this).serializeArray();e.push({name:"ir",value:rovlpolk});t=$(this).attr("action");$("#js-couponalert-input-error"+n).hide(),$.post(t,e).done(function(t){t=JSON.parse(t);"input_error"==t.type?($("#js-couponalert-input-error"+n).show(),$("#js-couponalert-input-error"+n).html(t.message)):($("#js-couponalert-output"+n).html('

'+t.message+"

"),$("#js-couponalert-input"+n).hide(),$("#js-couponalert-output"+n).show(),layerOnCursorLeavePageStop=!1)})})}e("");0<$("#CouponsAlertModal").length&&$.post("#",{"opt[0]":"camodshown",ir:rovlpolk}).done(function(t){"1"!=t&&(layerOnCursorLeavePage(function(){$("#CouponsAlertModal").modal("show"),$.post("#",{"opt[0]":"camodshown","opt[1]":"1","opt[2]":2592e3,ir:rovlpolk}).done()}),e("-modal"))})},$.fn.csSovendusModal=function(){0<$("#SovendusModal").length&&$.post("#",{"opt[0]":"svshown",ir:rovlpolk}).done(function(t){"1"!=t&&layerOnCursorLeavePage(function(){$("#SovendusModal").modal("show"),$.post("#").done(function(t){$("#js-sovendus-widget").html(t)}),$.post("#",{"opt[0]":"svshown","opt[1]":"1","opt[2]":2592e3,ir:rovlpolk}).done()})})},$.fn.csDeals=function(){$(".js-coupon-deal-img").each(function(){var t=$(this),e=t.attr("data-image-hover");t.on("mouseover",function(){t.attr("src")!=e&&t.attr("src",e)})})},$.fn.csPiggyVoter=function(){$(".cs-piggy").each(function(t){function e(t,e){var n=t+e,i=0;return 0=o.length&&(n=0),(e=i-1)<0&&(e=o.length-1));r=o["prev"==t?e:n],$("#ImagesModal .js-images-modal-prev-next-relative").height($("#js-images-modal-current-image").height()),$("#js-images-modal-current-image").fadeOut(200,function(){$("#js-images-modal-current-image").attr("src",r)})}var o=[],r="";$("#js-images-modal-current-image").on("load",function(){$("#js-images-modal-current-image").fadeIn(800)}),$(".js-image-modal").click(function(){r=$(this).attr("data-modal-images-src"),$("#js-images-modal-current-image").attr("src",r),$("#ImagesModal").modal("show")}),$(".js-images-modal-prev").click(function(){t("prev")}),$(".js-images-modal-next").click(function(){t("next")})},$.fn.csStarRating=function(){var n;"undefined"!=typeof ratingData&&(n=function(t){var e=t.data("fsr").whole_avg,n=t.data("fsr").number_votes,t=t.data("fsr").dec_avg;$(".js-star-"+e).prevAll().addClass("cs-ratings-vote"),$(".js-star-"+e).addClass("cs-ratings-vote"),$(".js-star-"+e).nextAll().removeClass("cs-ratings-vote"),$(".js-rating-voting").text(t),$(".js-rating-total-votes").text(n)},$(".js-rate-widget").each(function(t){var e=$(this);e.attr("id");$(e).data("fsr",ratingData),n(e)}),$(".js-ratings-stars").hover(function(){$(this).prevAll().addClass("cs-ratings-over"),$(this).addClass("cs-ratings-over"),$(this).nextAll().removeClass("cs-ratings-vote")},function(){$(this).prevAll().removeClass("cs-ratings-over"),$(this).removeClass("cs-ratings-over"),n($(this).parent())}),$(".js-ratings-stars").bind("click",function(){var t=$(this),e=$(this).parent(),t=(e.attr("data-ctrl"),{clicked_on:t.attr("class"),widget_id:t.parent().attr("id"),ir:rovlpolk});$.post("#",t,function(t){e.data("fsr",t),n(e)},"json")}))},$.fn.csHome=function(){function e(){return $(window).width(),"bottom"}function n(){return $(window).width(),"3"}function t(t,e){var n=6,i=$(".js-teaser-image").length;i');$(this).append(t);setInterval(function(){t.val(parseInt(t.val())+parseInt(17))},1e3)})},$.fn.csLazyloadDivs=function(){$(".js-lazyload").each(function(){var t,e,n,i,o=$(this);""!=o.html()&&" "!=o.html()||!o.is(":visible")||(n=o.offset().top,$(window).scrollTop()+$(window).height()+200>n&&$(window).scrollTop()-200n&&(t.addClass(e),$(".cs-header-navi-placeholder").css({display:"block",height:"42px"}),window._isScrolled=!0),$("#js-sticky-search-toggle").click(function(){$("#js-sticky-nav-search").focus()}),$("#js-sticky-nav-search").on("keyup",function(t){13!=t.keyCode||""!=(t=$.trim($("#js-sticky-nav-search").val()))&&(window.location.href=webroot+"suche/?search_str="+encodeURIComponent(t))}),i.scroll(function(){$(this).scrollTop()>n&&!window._isScrolled?(t.addClass(e),$("#js-sticky-search-toggle").css("display","block"),$(".cs-header-navi-placeholder").css({display:"block",height:"42px"}),window._isScrolled=!0):$(this).scrollTop()<=n&&window._isScrolled&&(t.removeClass(e),$("#js-sticky-search-toggle").css("display","none"),$(".cs-header-navi-placeholder").css("display","none"),window._isScrolled=!1,$("#sticky-nav-search").collapse("hide"),$("#sticky-nav-search .cs-searchhover").css("display","none"))}))},$.fn.csNewsletterModalPop=function(){$("#js-newsletter-modal-checkbox").click(function(){$(this).is(":checked")?$("#js-modal-profiling-selection").fadeIn():$("#js-modal-profiling-selection").fadeOut()})},$.fn.csNewsletterProfilingPop=function(){$(".js-newsletter-checkbox").click(function(){$(this).is(":checked")?$(this).parents(".js-newsletter").children(".js-newsletter-profiling").fadeIn():$(this).parents(".js-newsletter").children(".js-newsletter-profiling").fadeOut()})},$.fn.csCookieConstent=function(){$("#cc-banner").slideDown(800),$("#cc-btn-accept").click(function(){$("#cc-banner").slideUp(800);var t=new Date;t.setTime(t.getTime()+31536e6),document.cookie="cookieconsent_confirmed=true; expires="+t.toUTCString()})},$.fn.csNewsletterModal=function(){$("#js-nl-modal-close").click(function(){$(".js-nl-modal").addClass("cs-nl-modal-fade-out"),$(".js-nl-modal").removeClass("cs-nl-modal-fade-in"),$(".js-nl-modal-toggle").addClass("cs-nl-modal-toggle-fade-in"),$(".js-nl-modal-toggle").removeClass("cs-nl-modal-toggle-fade-out")}),$(".js-nl-modal-toggle").click(function(){$(".js-nl-modal").removeClass("cs-nl-modal-fade-out"),$(".js-nl-modal").addClass("cs-nl-modal-fade-in"),$(".js-nl-modal-toggle").removeClass("cs-nl-modal-toggle-fade-in"),$(".js-nl-modal-toggle").addClass("cs-nl-modal-toggle-fade-out")})};var csAfterScroll=csDebounce(function(){$.fn.csLazyloadDivs(),$.fn.csSmothScrollingTopBtn()}),tiNLMod=!1;$(document).ready(function(){$(window).scroll(csAfterScroll),$.fn.csLazyloadDivs(),"false"!=scrlde&&setTimeout(function(){window.scrollTo(0,scrlde)},500),window.setTimeout(function(){$.fn.csPiggyVoter()},1e3),is_in_app&&($('a[target="_blank"]').removeAttr("target"),$(".modal-new-tab-info").remove()),$("#O2PKKModal").modal("show"),$.fn.csIc(),$.fn.csSlider(),$.fn.csCOCoupon(),$.fn.csDeals(),$.fn.csSmothScrollingTop(),$.fn.csSnapMoreContent(),$.fn.csToggleContent(),$.fn.csClipboard(),$.fn.csCouponAlertModalCoupon(),$.fn.csCouponAlertMerchant(),$.fn.csImagesModal(),$.fn.csNewsletterModal(),$.fn.csStarRating(),$.fn.csHome(),$.fn.csLetterJump(),$.fn.csSpecialsTopBanner(),$.fn.csStickyNavi(),$.fn.csNewsletterProfilingPop(),$.fn.csCouponFilter(),$.fn.csTopCategoriesToggle(),$.fn.csCookieConstent(),$.fn.csNewsletterModal(),$.fn.csSovendusModal()});