/* jQuery v3.4.1 | (c) JS Foundation and other contributors | jquery.org/license ************************************************ jquery.cookies.2.2.0.min.js Cookie Util ************************************************ ************************************************ E-Store Interface 관련 공통 Util 인터페이스명세서(NG_to_Store)_20140226-v.3.0 적용 ************************************************ samsung.com GEO Cannibalization src : /samsungp5/components/common/cm-g-gnb-201807/clientlibs/devjs/main1.gnb1.smg.global.cookieGeo.js @version 1.0.0 @since 2018.06.26 */ var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.arrayIteratorImpl=function(a){var n=0;return function(){return n=(1-z)*(1-(z=D()/F||.5))&&(B=0),W/=z;W*=2;u.style(c,l,W+S);q=q||[]}return q&&(W=+W||+F||0,x=q[1]?W+(q[1]+1)*q[2]:+q[2],w&&(w.unit=S,w.start=W,w.end=x)),x}function P(c,l){for(var q,w,x,z,B,D,F,S=[],W=0,O=c.length;WB;B+=2)"margin"===q&&(F+=u.css(c,q+Tb[B],!0,x)),w?("content"===q&&(F-=u.css(c,"padding"+Tb[B],!0,x)),"margin"!==q&&(F-=u.css(c,"border"+Tb[B]+"Width",!0,x))):(F+=u.css(c,"padding"+Tb[B],!0,x),"padding"!==q?F+=u.css(c,"border"+Tb[B]+"Width",!0,x):D+=u.css(c,"border"+Tb[B]+"Width",!0,x));return!w&&0<=z&&(F+=Math.max(0,Math.ceil(c["offset"+l[0].toUpperCase()+l.slice(1)]-z-F-D-.5))||0),F}function Ua(c,l,q){var w=V(c),x=(!Ja.boxSizingReliable()||q)&& "border-box"===u.css(c,"boxSizing",!1,w),z=x,B=R(c,l,w),D="offset"+l[0].toUpperCase()+l.slice(1);if(N.test(B)){if(!q)return B;B="auto"}return(!Ja.boxSizingReliable()&&x||"auto"===B||!parseFloat(B)&&"inline"===u.css(c,"display",!1,w))&&c.getClientRects().length&&(x="border-box"===u.css(c,"boxSizing",!1,w),(z=D in c)&&(B=c[D])),(B=parseFloat(B)||0)+Z(c,l,q||(x?"border":"content"),z,w,B)+"px"}function Qa(c,l,q,w,x){return new Qa.prototype.init(c,l,q,w,x)}function Ra(){eb&&(!1===ja.hidden&&a.requestAnimationFrame? a.requestAnimationFrame(Ra):a.setTimeout(Ra,u.fx.interval),u.fx.tick())}function Cb(){return a.setTimeout(function(){Ga=void 0}),Ga=Date.now()}function cb(c,l){var q,w=0,x={height:c};for(l=l?1:0;4>w;w+=2-l)x["margin"+(q=Tb[w])]=x["padding"+q]=c;return l&&(x.opacity=x.width=c),x}function Q(c,l,q){for(var w,x=(db.tweeners[l]||[]).concat(db.tweeners["*"]),z=0,B=x.length;zW&&ka?S:(ka||B.notifyWith(c,[F,1,0]),B.resolveWith(c,[F]),!1)},F=B.promise({elem:c,props:u.extend({},l),opts:u.extend(!0,{specialEasing:{},easing:u.easing._default},q),originalProperties:l,originalOptions:q,startTime:Ga||Cb(),duration:q.duration,tweens:[],createTween:function(S,W){S=u.Tween(c,F.opts,S,W,F.opts.specialEasing[S]|| F.opts.easing);return F.tweens.push(S),S},stop:function(S){var W=0,O=S?F.tweens.length:0;if(w)return this;for(w=!0;Wc?this[c+this.length]:this[c]},pushStack:function(c){c=u.merge(this.constructor(),c);return c.prevObject= this,c},each:function(c){return u.each(this,c)},map:function(c){return this.pushStack(u.map(this,function(l,q){return c.call(l,q,l)}))},slice:function(){return this.pushStack(na.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(c){var l=this.length;c=+c+(0>c?l:0);return this.pushStack(0<=c&&cBa.cacheLength&&delete U[A.shift()],U[L+" "]=M}}function w(A){return A[Ea]=!0,A}function x(A){var E=Ha.createElement("fieldset"); try{return!!A(E)}catch(L){return!1}finally{E.parentNode&&E.parentNode.removeChild(E)}}function z(A,E){A=A.split("|");for(var L=A.length;L--;)Ba.attrHandle[A[L]]=E}function B(A,E){var L=E&&A,M=L&&1===A.nodeType&&1===E.nodeType&&A.sourceIndex-E.sourceIndex;if(M)return M;if(L)for(;L=L.nextSibling;)if(L===E)return-1;return A?1:-1}function D(A){return function(E){return"input"===E.nodeName.toLowerCase()&&E.type===A}}function F(A){return function(E){var L=E.nodeName.toLowerCase();return("input"===L||"button"=== L)&&E.type===A}}function S(A){return function(E){return"form"in E?E.parentNode&&!1===E.disabled?"label"in E?"label"in E.parentNode?E.parentNode.disabled===A:E.disabled===A:E.isDisabled===A||E.isDisabled!==!A&&Cd(E)===A:E.disabled===A:"label"in E&&E.disabled===A}}function W(A){return w(function(E){return E=+E,w(function(L,M){for(var U,ia=A([],L.length,E),fa=ia.length;fa--;)L[U=ia[fa]]&&(L[U]=!(M[U]=L[U]))})})}function O(A){return A&&"undefined"!=typeof A.getElementsByTagName&&A}function ka(){}function pa(A){for(var E= 0,L=A.length,M="";E+~]|[\x20\t\r\n\f])[\x20\t\r\n\f]*/,Bd=/[\x20\t\r\n\f]|>/,Jd=/:((?:\\.|[\w-]|[^\x00-\xa0])+)(?:\((('((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)")|((?:\\.|[^\\()[\]]|\[[\x20\t\r\n\f]*((?:\\.|[\w-]|[^\x00-\xa0])+)(?:[\x20\t\r\n\f]*([*^$|!~]?=)[\x20\t\r\n\f]*(?:'((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)"|((?:\\.|[\w-]|[^\x00-\xa0])+))|)[\x20\t\r\n\f]*\])*)|.*)\)|)/, Kd=/^(?:\\.|[\w-]|[^\x00-\xa0])+$/,Xc={ID:/^#((?:\\.|[\w-]|[^\x00-\xa0])+)/,CLASS:/^\.((?:\\.|[\w-]|[^\x00-\xa0])+)/,TAG:/^((?:\\.|[\w-]|[^\x00-\xa0])+|[*])/,ATTR:/^\[[\x20\t\r\n\f]*((?:\\.|[\w-]|[^\x00-\xa0])+)(?:[\x20\t\r\n\f]*([*^$|!~]?=)[\x20\t\r\n\f]*(?:'((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)"|((?:\\.|[\w-]|[^\x00-\xa0])+))|)[\x20\t\r\n\f]*\]/,PSEUDO:/^:((?:\\.|[\w-]|[^\x00-\xa0])+)(?:\((('((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)")|((?:\\.|[^\\()[\]]|\[[\x20\t\r\n\f]*((?:\\.|[\w-]|[^\x00-\xa0])+)(?:[\x20\t\r\n\f]*([*^$|!~]?=)[\x20\t\r\n\f]*(?:'((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)"|((?:\\.|[\w-]|[^\x00-\xa0])+))|)[\x20\t\r\n\f]*\])*)|.*)\)|)/, CHILD:/^:(only|first|last|nth|nth-last)-(child|of-type)(?:\([\x20\t\r\n\f]*(even|odd|(([+-]|)(\d*)n|)[\x20\t\r\n\f]*(?:([+-]|)[\x20\t\r\n\f]*(\d+)|))[\x20\t\r\n\f]*\)|)/i,bool:/^(?:checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)$/i,needsContext:/^[\x20\t\r\n\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\([\x20\t\r\n\f]*((?:-\d)?\d*)[\x20\t\r\n\f]*\)|)(?=[^-]|$)/i},Ld=/HTML$/i,Md=/^(?:input|select|textarea|button)$/i,Nd= /^h\d$/i,Oc=/^[^{]+\{\s*\[native \w/,Ad=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ed=/[+~]/,kc=/\\([\da-f]{1,6}[\x20\t\r\n\f]?|([\x20\t\r\n\f])|.)/ig,lc=function(A,E,L){A="0x"+E-65536;return A!=A||L?E:0>A?String.fromCharCode(A+65536):String.fromCharCode(A>>10|55296,1023&A|56320)},ld=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,md=function(A,E){return E?"\x00"===A?"\ufffd":A.slice(0,-1)+"\\"+A.charCodeAt(A.length-1).toString(16)+" ":"\\"+A},pd=function(){Ob()},Cd=oa(function(A){return!0===A.disabled&& "fieldset"===A.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{sc.apply(Bc=od.call(kb.childNodes),kb.childNodes),Bc[kb.childNodes.length].nodeType}catch(A){sc={apply:Bc.length?function(E,L){Fd.apply(E,od.call(L))}:function(E,L){for(var M=E.length,U=0;E[M++]=L[U++];);E.length=M-1}}}for(Pb in ra=l.support={},qb=l.isXML=function(A){var E=(A.ownerDocument||A).documentElement;return!Ld.test(A.namespaceURI||E&&E.nodeName||"HTML")},Ob=l.setDocument=function(A){var E,L;A=A?A.ownerDocument|| A:kb;return A!==Ha&&9===A.nodeType&&A.documentElement&&(Za=(Ha=A).documentElement,hb=!qb(Ha),kb!==Ha&&(L=Ha.defaultView)&&L.top!==L&&(L.addEventListener?L.addEventListener("unload",pd,!1):L.attachEvent&&L.attachEvent("onunload",pd)),ra.attributes=x(function(M){return M.className="i",!M.getAttribute("className")}),ra.getElementsByTagName=x(function(M){return M.appendChild(Ha.createComment("")),!M.getElementsByTagName("*").length}),ra.getElementsByClassName=Oc.test(Ha.getElementsByClassName),ra.getById= x(function(M){return Za.appendChild(M).id=Ea,!Ha.getElementsByName||!Ha.getElementsByName(Ea).length}),ra.getById?(Ba.filter.ID=function(M){var U=M.replace(kc,lc);return function(ia){return ia.getAttribute("id")===U}},Ba.find.ID=function(M,U){if("undefined"!=typeof U.getElementById&&hb)return(M=U.getElementById(M))?[M]:[]}):(Ba.filter.ID=function(M){var U=M.replace(kc,lc);return function(ia){return(ia="undefined"!=typeof ia.getAttributeNode&&ia.getAttributeNode("id"))&&ia.value===U}},Ba.find.ID=function(M, U){if("undefined"!=typeof U.getElementById&&hb){var ia,fa=U.getElementById(M);if(fa){if((ia=fa.getAttributeNode("id"))&&ia.value===M)return[fa];var ua=U.getElementsByName(M);for(U=0;fa=ua[U++];)if((ia=fa.getAttributeNode("id"))&&ia.value===M)return[fa]}return[]}}),Ba.find.TAG=ra.getElementsByTagName?function(M,U){return"undefined"!=typeof U.getElementsByTagName?U.getElementsByTagName(M):ra.qsa?U.querySelectorAll(M):void 0}:function(M,U){var ia=[],fa=0;U=U.getElementsByTagName(M);if("*"===M){for(;M= U[fa++];)1===M.nodeType&&ia.push(M);return ia}return U},Ba.find.CLASS=ra.getElementsByClassName&&function(M,U){if("undefined"!=typeof U.getElementsByClassName&&hb)return U.getElementsByClassName(M)},Kb=[],ib=[],(ra.qsa=Oc.test(Ha.querySelectorAll))&&(x(function(M){Za.appendChild(M).innerHTML="\x3ca id\x3d'"+Ea+"'\x3e\x3c/a\x3e\x3cselect id\x3d'"+Ea+"-\r\\' msallowcapture\x3d''\x3e\x3coption selected\x3d''\x3e\x3c/option\x3e\x3c/select\x3e";M.querySelectorAll("[msallowcapture^\x3d'']").length&&ib.push("[*^$]\x3d[\\x20\\t\\r\\n\\f]*(?:''|\"\")"); M.querySelectorAll("[selected]").length||ib.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)");M.querySelectorAll("[id~\x3d"+Ea+"-]").length||ib.push("~\x3d");M.querySelectorAll(":checked").length||ib.push(":checked");M.querySelectorAll("a#"+Ea+"+*").length||ib.push(".#.+[+~]")}),x(function(M){M.innerHTML="\x3ca href\x3d'' disabled\x3d'disabled'\x3e\x3c/a\x3e\x3cselect disabled\x3d'disabled'\x3e\x3coption/\x3e\x3c/select\x3e"; var U=Ha.createElement("input");U.setAttribute("type","hidden");M.appendChild(U).setAttribute("name","D");M.querySelectorAll("[name\x3dd]").length&&ib.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?\x3d");2!==M.querySelectorAll(":enabled").length&&ib.push(":enabled",":disabled");Za.appendChild(M).disabled=!0;2!==M.querySelectorAll(":disabled").length&&ib.push(":enabled",":disabled");M.querySelectorAll("*,:x");ib.push(",.*:")})),(ra.matchesSelector=Oc.test(vb=Za.matches||Za.webkitMatchesSelector||Za.mozMatchesSelector|| Za.oMatchesSelector||Za.msMatchesSelector))&&x(function(M){ra.disconnectedMatch=vb.call(M,"*");vb.call(M,"[s!\x3d'']:x");Kb.push("!\x3d",":((?:\\\\.|[\\w-]|[^\x00-\\xa0])+)(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|\\[[\\x20\\t\\r\\n\\f]*((?:\\\\.|[\\w-]|[^\x00-\\xa0])+)(?:[\\x20\\t\\r\\n\\f]*([*^$|!~]?\x3d)[\\x20\\t\\r\\n\\f]*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|((?:\\\\.|[\\w-]|[^\x00-\\xa0])+))|)[\\x20\\t\\r\\n\\f]*\\])*)|.*)\\)|)")}),ib= ib.length&&new RegExp(ib.join("|")),Kb=Kb.length&&new RegExp(Kb.join("|")),E=Oc.test(Za.compareDocumentPosition),Wa=E||Oc.test(Za.contains)?function(M,U){var ia=9===M.nodeType?M.documentElement:M;U=U&&U.parentNode;return M===U||!(!U||1!==U.nodeType||!(ia.contains?ia.contains(U):M.compareDocumentPosition&&16&M.compareDocumentPosition(U)))}:function(M,U){if(U)for(;U=U.parentNode;)if(U===M)return!0;return!1},fd=E?function(M,U){if(M===U)return Rb=!0,0;var ia=!M.compareDocumentPosition-!U.compareDocumentPosition; return ia||(1&(ia=(M.ownerDocument||M)===(U.ownerDocument||U)?M.compareDocumentPosition(U):1)||!ra.sortDetached&&U.compareDocumentPosition(M)===ia?M===Ha||M.ownerDocument===kb&&Wa(kb,M)?-1:U===Ha||U.ownerDocument===kb&&Wa(kb,U)?1:Qb?zc(Qb,M)-zc(Qb,U):0:4&ia?-1:1)}:function(M,U){if(M===U)return Rb=!0,0;var ia=0,fa=M.parentNode,ua=U.parentNode,ha=[M],xa=[U];if(!fa||!ua)return M===Ha?-1:U===Ha?1:fa?-1:ua?1:Qb?zc(Qb,M)-zc(Qb,U):0;if(fa===ua)return B(M,U);for(;M=M.parentNode;)ha.unshift(M);for(M=U;M=M.parentNode;)xa.unshift(M); for(;ha[ia]===xa[ia];)ia++;return ia?B(ha[ia],xa[ia]):ha[ia]===kb?-1:xa[ia]===kb?1:0}),Ha},l.matches=function(A,E){return l(A,null,null,E)},l.matchesSelector=function(A,E){if((A.ownerDocument||A)!==Ha&&Ob(A),!(!ra.matchesSelector||!hb||Uc[E+" "]||Kb&&Kb.test(E)||ib&&ib.test(E)))try{var L=vb.call(A,E);if(L||ra.disconnectedMatch||A.document&&11!==A.document.nodeType)return L}catch(M){Uc(E,!0)}return 0 A.nodeType)return!1;return!0},parent:function(A){return!Ba.pseudos.empty(A)},header:function(A){return Nd.test(A.nodeName)},input:function(A){return Md.test(A.nodeName)},button:function(A){var E=A.nodeName.toLowerCase();return"input"===E&&"button"===A.type||"button"===E},text:function(A){var E;return"input"===A.nodeName.toLowerCase()&&"text"===A.type&&(null==(E=A.getAttribute("type"))||"text"===E.toLowerCase())},first:W(function(){return[0]}),last:W(function(A,E){return[E-1]}),eq:W(function(A,E,L){return[0> L?L+E:L]}),even:W(function(A,E){for(var L=0;LL?L+E:EL?L+E:L;++L:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;u.filter=function(c,l,q){var w=l[0];return q&&(c=":not("+c+")"),1===l.length&&1===w.nodeType?u.find.matchesSelector(w, c)?[w]:[]:u.find.matches(c,u.grep(l,function(x){return 1===x.nodeType}))};u.fn.extend({find:function(c){var l,q=this.length,w=this;if("string"!=typeof c)return this.pushStack(u(c).filter(function(){for(l=0;l)[^>]*|#([\w-]+))$/;(u.fn.init=function(c,l,q){var w,x;if(!c)return this;if(q=q||Vb,"string"==typeof c){if(!(w="\x3c"===c[0]&&"\x3e"===c[c.length-1]&&3<=c.length?[null,c,null]:Yc.exec(c))||!w[1]&&l)return!l||l.jquery?(l||q).find(c):this.constructor(l).find(c);if(w[1]){if(l=l instanceof u?l[0]:l,u.merge(this,u.parseHTML(w[1],l&&l.nodeType?l.ownerDocument||l:ja,!0)),Ab.test(w[1])&&u.isPlainObject(l))for(w in l)ya(this[w])?this[w](l[w]):this.attr(w, l[w]);return this}return(x=ja.getElementById(w[2]))&&(this[0]=x,this.length=1),this}return c.nodeType?(this[0]=c,this.length=1,this):ya(c)?void 0!==q.ready?q.ready(c):c(u):u.makeArray(c,this)}).prototype=u.fn;var Vb=u(ja);var Hc=/^(?:parents|prev(?:Until|All))/,Ic={children:!0,contents:!0,next:!0,prev:!0};u.fn.extend({has:function(c){var l=u(c,this),q=l.length;return this.filter(function(){for(var w=0;wq.nodeType&&(B?-1=l&&(p(c,z.done(B(q)).resolve,z.reject,!l),"pending"===z.state()||ya(x[q]&&x[q].then)))return z.then();for(;q--;)p(x[q],B(q),z.reject);return z.promise()}});var Zc=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;u.Deferred.exceptionHook=function(c,l){a.console&&a.console.warn&& c&&Zc.test(c.name)&&a.console.warn("jQuery.Deferred exception: "+c.message,c.stack,l)};u.readyException=function(c){a.setTimeout(function(){throw c;})};var Wb=u.Deferred();u.fn.ready=function(c){return Wb.then(c)["catch"](function(l){u.readyException(l)}),this};u.extend({isReady:!1,readyWait:1,ready:function(c){(!0===c?--u.readyWait:u.isReady)||(u.isReady=!0)!==c&&0<--u.readyWait||Wb.resolveWith(ja,[u])}});u.ready.then=Wb.then;"complete"===ja.readyState||"loading"!==ja.readyState&&!ja.documentElement.doScroll? a.setTimeout(u.ready):(ja.addEventListener("DOMContentLoaded",y),a.addEventListener("load",y));var Mb=function(c,l,q,w,x,z,B){var D=0,F=c.length,S=null==q;if("object"===e(q))for(D in x=!0,q)Mb(c,l,D,q[D],!0,z,B);else if(void 0!==w&&(x=!0,ya(w)||(B=!0),S&&(B?(l.call(c,w),l=null):(S=l,l=function(W,O,ka){return S.call(u(W),ka)})),l))for(;D\x20\t\r\n\f]*)/i,Mc=/^$|^module$|\/(?:java|ecma)script/i,bb={option:[1,"\x3cselect multiple\x3d'multiple'\x3e","\x3c/select\x3e"],thead:[1,"\x3ctable\x3e","\x3c/table\x3e"],col:[2,"\x3ctable\x3e\x3ccolgroup\x3e", "\x3c/colgroup\x3e\x3c/table\x3e"],tr:[2,"\x3ctable\x3e\x3ctbody\x3e","\x3c/tbody\x3e\x3c/table\x3e"],td:[3,"\x3ctable\x3e\x3ctbody\x3e\x3ctr\x3e","\x3c/tr\x3e\x3c/tbody\x3e\x3c/table\x3e"],_default:[0,"",""]};bb.optgroup=bb.option;bb.tbody=bb.tfoot=bb.colgroup=bb.caption=bb.thead;bb.th=bb.td;var cc,qc=/<|&#?\w+;/;var Fc=ja.createDocumentFragment().appendChild(ja.createElement("div"));(cc=ja.createElement("input")).setAttribute("type","radio");cc.setAttribute("checked","checked");cc.setAttribute("name", "t");Fc.appendChild(cc);Ja.checkClone=Fc.cloneNode(!0).cloneNode(!0).lastChild.checked;Fc.innerHTML="\x3ctextarea\x3ex\x3c/textarea\x3e";Ja.noCloneChecked=!!Fc.cloneNode(!0).lastChild.defaultValue;var $c=/^key/,ad=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,mc=/^([^.]*)(?:\.(.+)|)/;u.event={global:{},add:function(c,l,q,w,x){var z,B,D,F,S,W,O,ka,pa;if(S=va.get(c))for(q.handler&&(q=(z=q).handler,x=z.selector),x&&u.find.matchesSelector(vc,x),q.guid||(q.guid=u.guid++),(F=S.events)||(F=S.events={}), (B=S.handle)||(B=S.handle=function(Ia){return"undefined"!=typeof u&&u.event.triggered!==Ia.type?u.event.dispatch.apply(c,arguments):void 0}),S=(l=(l||"").match(ob)||[""]).length;S--;){var oa=pa=(D=mc.exec(l[S])||[])[1];D=(D[2]||"").split(".").sort();oa&&(O=u.event.special[oa]||{},oa=(x?O.delegateType:O.bindType)||oa,O=u.event.special[oa]||{},W=u.extend({type:oa,origType:pa,data:w,handler:q,guid:q.guid,selector:x,needsContext:x&&u.expr.match.needsContext.test(x),namespace:D.join(".")},z),(ka=F[oa])|| ((ka=F[oa]=[]).delegateCount=0,O.setup&&!1!==O.setup.call(c,w,D,B)||c.addEventListener&&c.addEventListener(oa,B)),O.add&&(O.add.call(c,W),W.handler.guid||(W.handler.guid=q.guid)),x?ka.splice(ka.delegateCount++,0,W):ka.push(W),u.event.global[oa]=!0)}},remove:function(c,l,q,w,x){var z,B,D,F,S,W,O,ka,pa=va.hasData(c)&&va.get(c);if(pa&&(F=pa.events)){for(S=(l=(l||"").match(ob)||[""]).length;S--;)if(W=ka=(D=mc.exec(l[S])||[])[1],O=(D[2]||"").split(".").sort(),W){var oa=u.event.special[W]||{};var Ia=F[W= (w?oa.delegateType:oa.bindType)||W]||[];D=D[2]&&new RegExp("(^|\\.)"+O.join("\\.(?:.*\\.|)")+"(\\.|$)");for(B=z=Ia.length;z--;){var Ya=Ia[z];!x&&ka!==Ya.origType||q&&q.guid!==Ya.guid||D&&!D.test(Ya.namespace)||w&&w!==Ya.selector&&("**"!==w||!Ya.selector)||(Ia.splice(z,1),Ya.selector&&Ia.delegateCount--,oa.remove&&oa.remove.call(c,Ya))}B&&!Ia.length&&(oa.teardown&&!1!==oa.teardown.call(c,O,pa.handle)||u.removeEvent(c,W,pa.handle),delete F[W])}else for(W in F)u.event.remove(c,W+l[S],q,w,!0);u.isEmptyObject(F)&& va.remove(c,"handle events")}},dispatch:function(c){var l,q,w,x,z=u.event.fix(c),B=Array(arguments.length);var D=(va.get(this,"events")||{})[z.type]||[];var F=u.event.special[z.type]||{};B[0]=z;for(l=1;l\x20\t\r\n\f]*)[^>]*)\/>/gi,Pc=/\s*$/g;u.extend({htmlPrefilter:function(c){return c.replace(hd,"\x3c$1\x3e\x3c/$2\x3e")},clone:function(c,l,q){var w,x,z,B=c.cloneNode(!0),D=ec(c);if(!(Ja.noCloneChecked|| 1!==c.nodeType&&11!==c.nodeType||u.isXMLDoc(c))){var F=X(B);var S=0;for(w=(x=X(c)).length;Su.inArray(this,c)&&(u.cleanData(X(this)),q&&q.replaceChild(l,this))},c)}});u.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(c,l){u.fn[c]=function(q){for(var w=[],x=u(q),z=x.length-1,B=0;B<=z;B++)q=B===z?this:this.clone(!0),u(x[B])[l](q),ma.apply(w,q.get());return this.pushStack(w)}}); var N=new RegExp("^("+Ec+")(?!px)[a-z%]+$","i"),V=function(c){var l=c.ownerDocument.defaultView;return l&&l.opener||(l=a),l.getComputedStyle(c)},aa=new RegExp(Tb.join("|"),"i");!function(){function c(){if(D){B.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0";D.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%";vc.appendChild(B).appendChild(D);var F=a.getComputedStyle(D); l="1%"!==F.top;z=12===Math.round(parseFloat(F.marginLeft));D.style.right="60%";x=36===Math.round(parseFloat(F.right));q=36===Math.round(parseFloat(F.width));D.style.position="absolute";w=12===Math.round(parseFloat(D.offsetWidth/3));vc.removeChild(B);D=null}}var l,q,w,x,z,B=ja.createElement("div"),D=ja.createElement("div");D.style&&(D.style.backgroundClip="content-box",D.cloneNode(!0).style.backgroundClip="",Ja.clearCloneStyle="content-box"===D.style.backgroundClip,u.extend(Ja,{boxSizingReliable:function(){return c(), q},pixelBoxStyles:function(){return c(),x},pixelPosition:function(){return c(),l},reliableMarginLeft:function(){return c(),z},scrollboxSize:function(){return c(),w}}))}();var la=["Webkit","Moz","ms"],Da=ja.createElement("div").style,gb={},Pa=/^(none|table(?!-c[ea]).+)/,Sa=/^--/,Na={position:"absolute",visibility:"hidden",display:"block"},Hb={letterSpacing:"0",fontWeight:"400"};u.extend({cssHooks:{opacity:{get:function(c,l){if(l)return c=R(c,"opacity"),""===c?"1":c}}},cssNumber:{animationIterationCount:!0, columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(c,l,q,w){if(c&&3!==c.nodeType&&8!==c.nodeType&&c.style){var x,z,B,D=v(l),F=Sa.test(l),S=c.style;if(F||(l=da(D)),B=u.cssHooks[l]||u.cssHooks[D],void 0===q)return B&&"get"in B&&void 0!==(x=B.get(c,!1,w))?x:S[l];"string"===(z=typeof q)&& (x=jc.exec(q))&&x[1]&&(q=G(c,l,x),z="number");null!=q&&q==q&&("number"!==z||F||(q+=x&&x[3]||(u.cssNumber[D]?"":"px")),Ja.clearCloneStyle||""!==q||0!==l.indexOf("background")||(S[l]="inherit"),B&&"set"in B&&void 0===(q=B.set(c,q,w))||(F?S.setProperty(l,q):S[l]=q))}},css:function(c,l,q,w){var x,z,B,D=v(l);return Sa.test(l)||(l=da(D)),(B=u.cssHooks[l]||u.cssHooks[D])&&"get"in B&&(x=B.get(c,!0,q)),void 0===x&&(x=R(c,l,w)),"normal"===x&&l in Hb&&(x=Hb[l]),""===q||q?(z=parseFloat(x),!0===q||isFinite(z)? z||0:x):x}});u.each(["height","width"],function(c,l){u.cssHooks[l]={get:function(q,w,x){if(w)return!Pa.test(u.css(q,"display"))||q.getClientRects().length&&q.getBoundingClientRect().width?Ua(q,l,x):bc(q,Na,function(){return Ua(q,l,x)})},set:function(q,w,x){var z,B=V(q),D=!Ja.scrollboxSize()&&"absolute"===B.position,F=(D||x)&&"border-box"===u.css(q,"boxSizing",!1,B);x=x?Z(q,l,x,F,B):0;return F&&D&&(x-=Math.ceil(q["offset"+l[0].toUpperCase()+l.slice(1)]-parseFloat(B[l])-Z(q,l,"border",!1,B)-.5)),x&& (z=jc.exec(w))&&"px"!==(z[3]||"px")&&(q.style[l]=w,w=u.css(q,l)),ea(0,w,x)}}});u.cssHooks.marginLeft=ba(Ja.reliableMarginLeft,function(c,l){if(l)return(parseFloat(R(c,"marginLeft"))||c.getBoundingClientRect().left-bc(c,{marginLeft:0},function(){return c.getBoundingClientRect().left}))+"px"});u.each({margin:"",padding:"",border:"Width"},function(c,l){u.cssHooks[c+l]={expand:function(q){var w=0,x={};for(q="string"==typeof q?q.split(" "):[q];4>w;w++)x[c+Tb[w]+l]=q[w]||q[w-2]||q[0];return x}};"margin"!== c&&(u.cssHooks[c+l].set=ea)});u.fn.extend({css:function(c,l){return Mb(this,function(q,w,x){var z,B={},D=0;if(Array.isArray(w)){x=V(q);for(z=w.length;Dw.indexOf(" "+z+" ")&&(w+=z+" ");x!==(D=Jb(w))&&q.setAttribute("class",D)}return this},removeClass:function(c){var l,q,w,x,z,B,D,F=0;if(ya(c))return this.each(function(S){u(this).removeClass(c.call(this,S,sb(this)))});if(!arguments.length)return this.attr("class","");if((l=Ub(c)).length)for(;q=this[F++];)if(x=sb(q),w=1===q.nodeType&&" "+Jb(x)+" "){for(B=0;z=l[B++];)for(;-1x?D:z?x:0;qO.indexOf(":")&&"on"+O,(c=c[u.expando]?c:new u.Event(O,"object"==typeof c&&c)).isTrigger=w?2:3,c.namespace= ka.join("."),c.rnamespace=c.namespace?new RegExp("(^|\\.)"+ka.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,c.result=void 0,c.target||(c.target=q),l=null==l?[c]:u.makeArray(l,[c]),F=u.event.special[O]||{},w||!F.trigger||!1!==F.trigger.apply(q,l))){if(!w&&!F.noBubble&&!Ta(q)){var pa=F.delegateType||O;for(Kc.test(pa+O)||(x=x.parentNode);x;x=x.parentNode)W.push(x),z=x;z===(q.ownerDocument||ja)&&W.push(z.defaultView||z.parentWindow||a)}for(ka=0;(x=W[ka++])&&!c.isPropagationStopped();)S=x,c.type=1La||304===La,tc&&(Rb=function(Za,hb,ib){for(var Kb,vb,Wa, Ea,kb=Za.contents,Xa=Za.dataTypes;"*"===Xa[0];)Xa.shift(),void 0===Kb&&(Kb=Za.mimeType||hb.getResponseHeader("Content-Type"));if(Kb)for(vb in kb)if(kb[vb]&&kb[vb].test(Kb)){Xa.unshift(vb);break}if(Xa[0]in ib)Wa=Xa[0];else{for(vb in ib){if(!Xa[0]||Za.converters[vb+" "+Xa[0]]){Wa=vb;break}Ea||(Ea=vb)}Wa=Wa||Ea}if(Wa)return Wa!==Xa[0]&&Xa.unshift(Wa),ib[Wa]}(O,ra,tc)),Rb=function(Za,hb,ib,Kb){var vb,Wa,Ea,kb,Xa,ic={},Ac=Za.dataTypes.slice();if(Ac[1])for(Ea in Za.converters)ic[Ea.toLowerCase()]=Za.converters[Ea]; for(Wa=Ac.shift();Wa;)if(Za.responseFields[Wa]&&(ib[Za.responseFields[Wa]]=hb),!Xa&&Kb&&Za.dataFilter&&(hb=Za.dataFilter(hb,Za.dataType)),Xa=Wa,Wa=Ac.shift())if("*"===Wa)Wa=Xa;else if("*"!==Xa&&Xa!==Wa){if(!(Ea=ic[Xa+" "+Wa]||ic["* "+Wa]))for(vb in ic)if((kb=vb.split(" "))[1]===Wa&&(Ea=ic[Xa+" "+kb[0]]||ic["* "+kb[0]])){!0===Ea?Ea=ic[vb]:!0!==ic[vb]&&(Wa=kb[0],Ac.unshift(kb[1]));break}if(!0!==Ea)if(Ea&&Za["throws"])hb=Ea(hb);else try{hb=Ea(hb)}catch(Wc){return{state:"parsererror",error:Ea?Wc:"No conversion from "+ Xa+" to "+Wa}}}return{state:"success",data:hb}}(O,Rb,ra,hc),hc?(O.ifModified&&((Ob=ra.getResponseHeader("Last-Modified"))&&(u.lastModified[x]=Ob),(Ob=ra.getResponseHeader("etag"))&&(u.etag[x]=Ob)),204===La||"HEAD"===O.type?Ha="nocontent":304===La?Ha="notmodified":(Ha=Rb.state,uc=Rb.data,hc=!(Qb=Rb.error))):(Qb=Ha,!La&&Ha||(Ha="error",0>La&&(La=0))),ra.status=La,ra.statusText=(qb||Ha)+"",hc?oa.resolveWith(ka,[uc,Ha,ra]):oa.rejectWith(ka,[ra,Ha,Qb]),ra.statusCode(Ya),Ya=void 0,F&&pa.trigger(hc?"ajaxSuccess": "ajaxError",[ra,O,hc?uc:Qb]),Ia.fireWith(ka,[ra,Ha]),F&&(pa.trigger("ajaxComplete",[ra,O]),--u.active||u.event.trigger("ajaxStop")))}"object"==typeof c&&(l=c,c=void 0);l=l||{};var w,x,z,B,D,F,S,W,O=u.ajaxSetup({},l),ka=O.context||O,pa=O.context&&(ka.nodeType||ka.jquery)?u(ka):u.event,oa=u.Deferred(),Ia=u.Callbacks("once memory"),Ya=O.statusCode||{},$b={},ub={},Pb="canceled",ra={readyState:0,getResponseHeader:function(La){var qb;if(Ba){if(!B)for(B={};qb=Ud.exec(z);)B[qb[1].toLowerCase()+" "]=(B[qb[1].toLowerCase()+ " "]||[]).concat(qb[2]);qb=B[La.toLowerCase()+" "]}return null==qb?null:qb.join(", ")},getAllResponseHeaders:function(){return Ba?z:null},setRequestHeader:function(La,qb){return null==Ba&&(La=ub[La.toLowerCase()]=ub[La.toLowerCase()]||La,$b[La]=qb),this},overrideMimeType:function(La){return null==Ba&&(O.mimeType=La),this},statusCode:function(La){var qb;if(La)if(Ba)ra.always(La[ra.status]);else for(qb in La)Ya[qb]=[Ya[qb],La[qb]];return this},abort:function(La){La=La||Pb;return w&&w.abort(La),q(0, La),this}};if(oa.promise(ra),O.url=((c||O.url||Qc.href)+"").replace(Wd,Qc.protocol+"//"),O.type=l.method||l.type||O.method||O.type,O.dataTypes=(O.dataType||"*").toLowerCase().match(ob)||[""],null==O.crossDomain){c=ja.createElement("a");try{c.href=O.url,c.href=c.href,O.crossDomain=jd.protocol+"//"+jd.host!=c.protocol+"//"+c.host}catch(La){O.crossDomain=!0}}if(O.data&&O.processData&&"string"!=typeof O.data&&(O.data=u.param(O.data,O.traditional)),Xb(vd,O,l,ra),Ba)return ra;for(S in(F=u.event&&O.global)&& 0==u.active++&&u.event.trigger("ajaxStart"),O.type=O.type.toUpperCase(),O.hasContent=!Vd.test(O.type),x=O.url.replace(Sd,""),O.hasContent?O.data&&O.processData&&0===(O.contentType||"").indexOf("application/x-www-form-urlencoded")&&(O.data=O.data.replace(Rd,"+")):(W=O.url.slice(x.length),O.data&&(O.processData||"string"==typeof O.data)&&(x+=(id.test(x)?"\x26":"?")+O.data,delete O.data),!1===O.cache&&(x=x.replace(Td,"$1"),W=(id.test(x)?"\x26":"?")+"_\x3d"+td++ +W),O.url=x+W),O.ifModified&&(u.lastModified[x]&& ra.setRequestHeader("If-Modified-Since",u.lastModified[x]),u.etag[x]&&ra.setRequestHeader("If-None-Match",u.etag[x])),(O.data&&O.hasContent&&!1!==O.contentType||l.contentType)&&ra.setRequestHeader("Content-Type",O.contentType),ra.setRequestHeader("Accept",O.dataTypes[0]&&O.accepts[O.dataTypes[0]]?O.accepts[O.dataTypes[0]]+("*"!==O.dataTypes[0]?", "+wd+"; q\x3d0.01":""):O.accepts["*"]),O.headers)ra.setRequestHeader(S,O.headers[S]);if(O.beforeSend&&(!1===O.beforeSend.call(ka,ra,O)||Ba))return ra.abort(); if(Pb="abort",Ia.add(O.complete),ra.done(O.success),ra.fail(O.error),w=Xb(dd,O,l,ra)){if(ra.readyState=1,F&&pa.trigger("ajaxSend",[ra,O]),Ba)return ra;O.async&&0C&&(C=r.indexOf("-"));if(0>C){var G=r;C=null}else G=r.substring(0,C),C=r.substring(C+1);return{code:r,language:G,country:C}};return t}()})(document,Granite,Granite.Util,Granite.HTTP,jQuery);Granite.HTTP.detectContextPath();var jaaulde=window.jaaulde||{};jaaulde.utils=jaaulde.utils||{}; jaaulde.utils.cookies=function(){var a={expiresAt:null,path:"/",domain:null,secure:!1};var n=function(k){if("object"!==typeof k||null===k)var d=a;else{d={expiresAt:a.expiresAt,path:a.path,domain:a.domain,secure:a.secure};if("object"===typeof k.expiresAt&&k.expiresAt instanceof Date)d.expiresAt=k.expiresAt;else if("number"===typeof k.hoursToLive&&0!==k.hoursToLive){var h=new Date;h.setTime(h.getTime()+36E5*k.hoursToLive);d.expiresAt=h}"string"===typeof k.path&&""!==k.path&&(d.path=k.path);"string"=== typeof k.domain&&""!==k.domain&&(d.domain=k.domain);!0===k.secure&&(d.secure=k.secure)}return d};var g=function(k){k=n(k);return("object"===typeof k.expiresAt&&k.expiresAt instanceof Date?"; expires\x3d"+k.expiresAt.toGMTString():"")+"; path\x3d"+k.path+("string"===typeof k.domain?"; domain\x3d"+k.domain:"")+(!0===k.secure?"; secure":"")};var e=function(){var k={},d,h=document.cookie.split(";");for(d=0;de[1].length?a+="0":2b[1].length?g+="0":2v?"a":"p",tt:12>v?"am":"pm",T:12>v?"A":"P",TT:12>v?"AM":"PM",Z:d?"UTC":(String(b).match(n)||[""]).pop().replace(g,""),o:(0< G?"-":"+")+e(100*Math.floor(Math.abs(G)/60)+Math.abs(G)%60,4),S:["th","st","nd","rd"][3da?ba:a.trim(ba.substring(0,da));if(0===ea.length)log.error("[SDF] Illegal template attribute: template name is empty: "+Ma(J));else{var Z=a.trim(ba.substring(da+1));ba=[];da=!1;if(0Ra)ba.push({variable:Qa});else{var Cb=a.trim(Qa.substring(0,Ra));Qa=t(a.trim(Qa.substring(Ra+1)));!da&&Qa&&(da=!0);ba.push({variable:Cb,reference:Qa})}}}}J.removeAttribute("data-sdf-template"); if(da){R=n.createElement(J.localName);if(J.hasAttributes()){da=J.attributes;for(Z=0;Z=Z.length||"."!==Z.charAt(0)?console.warn("[SDF] Empty dynamic attribute name: "+Z+'\x3d"'+ea+'"'):m(Ua,!0,!1,Z.substring(1),p(ea))}else 0===Z.indexOf("data-sdf-list")?f("data-sdf-list", ba,Z,ea):0===Z.indexOf("data-sdf-repeat")?f("data-sdf-repeat",ba,Z,ea):(Ua=y(ea),m(ba,Ua,!0,Z,Ua?p(ea):ea))}I.sdfContext=ba}if(I.hasChildNodes())for(I=I.childNodes,R=0;RJ){R.push(H.substring(I));break}R.push(H.substring(I,J));I=H.indexOf("}}",J+2);if(0>I){R.push(H.substring(J));break}R.push(H.substring(J+2,I));J=I+=2}return R}function y(H){var J=H.indexOf("{{");return 0<=J?0H.length)return"";var J=H.indexOf("{{"),I=H.indexOf("}}");return 0>J||0>I||J>I||J+2===I?(console.warn("[SDF] Illegal expression: "+H),""):H.substring(J+2,I)}function v(H,J,I,R){if(R=R||J.target){var ba=r({component:H,template:J, bindObject:I,target:R,parent:R,currentNode:J.element});ba&&(ba.boundData=I);0R[ba].localName.indexOf("data-sdf-")&&wa(R[ba],I);if(J.hasChildNodes())for(R=0;Rb.indexOf("?$")){var d="?$"+e+"_";if(k&&""!==a.trim(k))return d+a.trim(k).toUpperCase()+"$";k=b.lastIndexOf(".");if(0a.BREAKPOINTS.MOBILE?"desktop":"mobile"},getCurrentMediaType:function(){var f=h.getViewPort().width;return f>a.BREAKPOINTS.MOBILE?f>a.BREAKPOINTS.DESKTOP?"desktop-over":"desktop":f>a.BREAKPOINTS.MOBILE_UNDER?"mobile":"mobile-under"},isInVerticalViewPort:function(f){f=f.getBoundingClientRect();return f.top- 200<=h.getViewPort().height&&f.bottom>=0+(this.scrollFlag?null:h.getStickyNavHeightPromise())},isInHorizontalViewPort:function(f){f=f.getBoundingClientRect();return f.left-200<=h.getViewPort().width&&0<=f.right+200},isVerticalVisible:function(f){return h.isInVerticalViewPort(f)&&!!(f.offsetWidth||f.offsetHeight||f.getClientRects().length)},isHorizontalVisible:function(f){return h.isInHorizontalViewPort(f)&&!!(f.offsetWidth||f.offsetHeight||f.getClientRects().length)},isInViewPort:function(f){return h.isInVerticalViewPort(f)&& h.isInHorizontalViewPort(f)},isVisible:function(f){return h.isInViewPort(f)&&!!(f.offsetWidth||f.offsetHeight||f.getClientRects().length)},scrollTo:function(f,m){var p=document.documentElement,y=p.scrollTop,t=p.scrollHeight,v=p.clientHeight;p=p.scrollLeft;f>t-v&&(f=t-v);var r=isNaN(m)?y:m;r+=(f-y)/7;0>r?r=0:r>t-v&&(r=t-v);m=Math.ceil(r);window.scrollTo(p,m);m!==f?n=setTimeout(function(){h.scrollTo(f,r)},15):clearTimeout(n)},setImageSpecGuide:function(f,m){var p=document.createElement("span");p.innerHTML= m;p.style.position="absolute";p.style.display="inline-block";p.style.top="50%";p.style.right="50%";p.style.width="100%";p.style.textAlign="center";p.style.fontStyle="italic";p.style.transform="translateX(50%) translateY(-50%)";p.style.color="#fff";p.style.fontSize="30px";p.classList.add("media-size-guide");f.appendChild(p)},extend:function(f,m){Object.keys(m).forEach(function(p){f[p]=m[p]});return f},setCookie:function(f,m,p){var y=new Date;y.setTime(y.getTime()+864E5*p);document.cookie=f+"\x3d"+ m+"; expires\x3d"+y.toUTCString()+"; path\x3d/"},getCookie:function(f){return(f=document.cookie.match("(^|;) ?"+f+"\x3d([^;]*)(;|$)"))?f[2]:null},triggerEvent:function(f,m,p,y,t){p=void 0===p?null:p;y=void 0===y?!1:y;t=void 0===t?!0:t;if("function"===typeof CustomEvent)var v=new CustomEvent(m,{bubbles:y,cancelable:t,detail:p});else v=document.createEvent("CustomEvent"),v.initCustomEvent(m,y,t,p);f.dispatchEvent(v)},hiddenScroll:function(){if(!0!==this.scrollFlag){this.scrollFlag=!0;this.currentPos= window.scrollY||document.documentElement.scrollTop;var f=document.querySelector("body");var m=0f.scrollLeft&&(e="negative"));document.body.removeChild(f);return e},getNormalizedScrollLeft:function(f){if(h.isRtl())switch(h.detectScrollType()){case "negative":return f.scrollWidth-f.clientWidth+f.scrollLeft;case "reverse":return f.scrollWidth-f.clientWidth-f.scrollLeft}return f.scrollLeft},setNormalizedScrollLeft:function(f,m){if(h.isRtl())switch(h.detectScrollType()){case "negative":f.scrollLeft=f.clientWidth-f.scrollWidth+m;break;case "reverse":f.scrollLeft=f.scrollWidth- f.clientWidth-m;break;default:f.scrollLeft=m}else f.scrollLeft=m},isPassiveSupported:function(){if(null===b)try{var f={get passive(){b=!0}};window.addEventListener("test",f,f);window.removeEventListener("test",f,f)}catch(m){b=!1}return b},makeDate:function(f){var m=f.replace(/[+|-][0-9]{4}$/,""),p=new Date(m);m=f.substring(m.length);""!==m&&(f=parseInt(m.substring(0,3),0),m=parseInt(m.substring(3),0),0>f&&(m*=-1),p.setHours(p.getHours()+-1*f),p.setMinutes(p.getMinutes()+-1*m));return p},getTimeStatus:function(f, m){f=h.makeDate(f);m=h.makeDate(m);var p=new Date;return p>=f?p>m?"after":"live":"before"},showBambuserLiveShopping:function(f){window.onBambuserLiveShoppingReady=function(p){p.configure({buttons:{dismiss:p.BUTTON.MINIMIZE}})};if(!window.initBambuserLiveShopping){window.initBambuserLiveShopping=function(p){window.initBambuserLiveShopping.queue.push(p)};window.initBambuserLiveShopping.queue=[];var m=document.createElement("script");m.src="https://lcx-embed.bambuser.com/samsung/embed.js";document.body.appendChild(m)}window.initBambuserLiveShopping({showId:f, type:"overlay"})},removeReCaptchaFrameBorder:function(){0e;){e++;var k=g.style[e-1];-1g?g:X}else X=d.scrollTop-m,d.scrollTop=d.scrollTopg&&(d.scrollTop=g),null!==b&&b())})}else{var p=Math.round(g),y=p-(document.body.scrollTop||document.documentElement.scrollTop),t=Math.ceil(Math.abs(y)/ (e/16)),v=document.body.scrollLeft||document.documentElement.scrollLeft,r=null;requestAnimationFrame(function G(){var P=document.body.scrollTop||document.documentElement.scrollTop;if(r===P)null!==b&&b();else{if(0p&&(X=p)}else X=P-t,Xh){k();return}}else if(C=f.scrollLeft-y,f.scrollLefth&&k()})};a.instances=new WeakMap;var n=function(g){return new a(g)};n.ready=function(g){"loading"===document.readyState?document.addEventListener("DOMContentLoaded", g):g()};n.load=function(g){document.addEventListener("readystatechange",function(e){"complete"===e.target.readyState&&g()})};window.sg.common.libs={keyCode:{TAB_KEY:9,ENTER:13,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40},extend:function(g,e){Object.keys(e).forEach(function(b){g[b]=e[b]});return g}};window.sg.common.$q=n})(); (function(){var a=window.sg.common.utils.isVerticalVisible,n=window.sg.common.utils.isHorizontalVisible,g=function(b){this.el=b=void 0===b?document:b;this.lazyEls=[];this.disabled=this.active=!1;this.init()};g.prototype.init=function(){this.setLazyLoad();this.bindEvents()};g.prototype.dispose=function(){this.el=null;this.lazyEls=[];this.unBindEvents()};g.prototype.setDisabled=function(b){(this.disabled=b=void 0===b?!0:b)||this.setLazyLoad()};g.prototype.getEls=function(){this.el&&(this.lazyEls=[].concat($jscomp.arrayFromIterable(this.el.querySelectorAll(".lazy-load"))))}; g.prototype.reInit=function(){this.disabled=this.active=!1;this.setLazyLoad();this.unBindEvents();this.bindEvents()};g.prototype.handleLazyLoad=function(){this.setLazyLoad()};g.prototype.setLazyLoad=function(b){var k=this;b=void 0===b?200:b;var d=function(){k.disabled||(k.getEls(),k.lazyEls.forEach(function(h){k.load(h);0===k.lazyEls.length&&k.unBindEvents()}))};this.active||(0p.dataset.src.indexOf(y)&&(p.dataset.src=y)):0>decodeURI(p.src).indexOf(y)&&(p===b.els.mainImgEl&&b.els.el.classList.remove("image-v2--main-loaded"), p.src=y)};this.els.previewImgEl&&this.device!==k&&(this.device=k,m(this.els.previewImgEl,this.els.previewImgEl.dataset[this.device+"Src"]),this.els.previewImgEl.dataset.desktopAlt&&("desktop"===this.device?this.els.previewImgEl.setAttribute("alt",this.els.previewImgEl.dataset.desktopAlt):this.els.previewImgEl.setAttribute("alt",this.els.previewImgEl.dataset.mobileAlt)));if(this.maxWidth!==d||this.dpr!==h)this.maxWidth=d,this.dpr=h,m(this.els.mainImgEl,this.els.mainImgEl.dataset[this.maxWidth+"w"+ this.dpr+"xSrc"]),this.els.mainImgEl.dataset.desktopAlt&&("360"===this.maxWidth?this.els.mainImgEl.setAttribute("alt",this.els.mainImgEl.dataset.mobileAlt):this.els.mainImgEl.setAttribute("alt",this.els.mainImgEl.dataset.desktopAlt))};g.prototype.load=function(b){var k=this,d=function(h){h&&h.dataset.src&&0>decodeURI(h.src).indexOf(h.dataset.src)&&(h===k.els.mainImgEl&&k.els.el.classList.remove("image-v2--main-loaded"),h.src=h.dataset.src,h.removeAttribute("data-src"))};"preview"===b?d(this.els.previewImgEl): ("main"!==b&&d(this.els.previewImgEl),d(this.els.mainImgEl))};g.prototype.handleLoad=function(){this.els.el.classList.add("image-v2--main-loaded")};g.prototype.bindEvents=function(){this.setResponsive=this.setResponsive.bind(this);window.addEventListener("resize",this.setResponsive);this.handleLoad=this.handleLoad.bind(this);this.els.mainImgEl.addEventListener("load",this.handleLoad)};g.prototype.getCurrentMaxWidth=function(){var b=a().width;return 768>b?"360":768<=b&&1366>b?"768":"1366"};g.prototype.getCurrentDpr= function(){return 1.5>window.devicePixelRatio?1:2};g.instances=new WeakMap;var e={initAll:function(b){b=void 0===b?document:b;var k=function(d){g.instances.has(d)||new g(d)};b!==document&&b.classList&&b.classList.contain("image-v2")?k(b):(b.querySelectorAll||(b=document),[].concat($jscomp.arrayFromIterable(b.querySelectorAll(".image-v2"))).forEach(function(d){k(d)}))},load:function(b,k){k=void 0===k?"all":k;g.instances.has(b)?g.instances.get(b).load(k):(new g(b)).load(k)}};window.sg.common.imagev2= e;"loading"===document.readyState?document.addEventListener("DOMContentLoaded",e.initAll):e.initAll()})(); (function(){var a=window.sg.common.utils.getCurrentDevice,n=window.sg.common.utils.detectTransitionEndEvent,g=function(b){this.el=b;this.init()};g.prototype.init=function(){g.instances.has(this.el)||(g.instances.set(this.el,this),this.setElement(),this.setResponsiveImage(),this.bindEvents())};g.prototype.reInit=function(){this.unBindEvents();this.setElement();this.setResponsiveImage();this.bindEvents()};g.prototype.setElement=function(){this.el.getAttribute("alt")||(this.el.setAttribute("alt",""), this.el.removeAttribute("role"))};g.prototype.destroy=function(){this.unBindEvents();g.instances.has(this.el)&&g.instances.delete(this.el);this.el=null};g.prototype.load=function(){0>decodeURI(this.el.src).indexOf(this.el.dataset.src)&&(this.el.src=this.el.dataset.src,this.el.classList.remove("image--loaded"),this.el.classList.remove("image--hide"),this.el.removeAttribute("aria-hidden"));this.el.removeAttribute("data-src")};g.prototype.setImageLoaded=function(){var b=this;this.el.classList.add("image--loaded"); if(this.el.classList.contains("image__main")){this.el.style.transition="opacity .2s";this.el.parentElement.classList.add("image--main-loaded");var k=function(){b.el.style.transition="";var f=b.el.parentElement.querySelector(".image__preview");f&&(f.classList.add("image--hide"),f.setAttribute("aria-hidden","true"))},d=n(this.el);if(d){var h=function(){k();b.el.removeEventListener(d,h)};this.el.addEventListener(d,h)}else setTimeout(k,200)}};g.prototype.bindImageLoad=function(){if(this.el.classList.contains("image__main")|| this.el.classList.contains("image__preview"))this.el.complete&&0!==this.el.naturalWidth&&!this.el.classList.contains("image--loaded")&&this.setImageLoaded(),this.setImageLoaded=this.setImageLoaded.bind(this),this.el.addEventListener("load",this.setImageLoaded)};g.prototype.bindResponsive=function(){this.el.dataset.desktopSrc!==this.el.dataset.mobileSrc&&(this.setResponsiveImage=this.setResponsiveImage.bind(this),window.addEventListener("resize",this.setResponsiveImage))};g.prototype.bindEvents=function(){this.el.classList.contains("responsive-img")&& this.bindResponsive();this.bindImageLoad()};g.prototype.unBindEvents=function(){this.el.removeEventListener("load",this.setImageLoaded);window.removeEventListener("resize",this.setResponsiveImage)};g.prototype.setResponsiveImage=function(){if(this.el.classList.contains("responsive-img")){var b=a();this.device!==b&&(this.device=b,(b=this.el.dataset[this.device+"Src"])?this.el.style.removeProperty("display"):this.el.style.display="none",this.el.classList.contains("lazy-load")||this.el.classList.contains("lazy-load-man")? (this.el.dataset.src=void 0===this.el.dataset.src?"":this.el.dataset.src,0>this.el.dataset.src.indexOf(b)&&(this.el.dataset.src=b)):0>decodeURI(this.el.src).indexOf(b)&&(this.el.classList.remove("image--loaded"),this.el.classList.remove("image--hide"),this.el.removeAttribute("aria-hidden"),this.el.src=b),b=this.el.dataset[this.device+"Alt"],void 0!==b&&this.el.setAttribute("alt",b))}};g.instances=new WeakMap;window.sg.components.registerClass("image",g);var e={initAll:function(){[].concat($jscomp.arrayFromIterable(document.querySelectorAll('.image img:not([data-auto-init\x3d"false"])'))).forEach(function(b){g.instances.has(b)|| new g(b)})},init:function(b){g.instances.has(b)||new g(b)},reInit:function(b){g.instances.has(b)?g.instances.get(b).reInit():new g(b)},load:function(b){g.instances.has(b)?g.instances.get(b).load():(new g(b)).load()},delete:function(b){g.instances.delete(b)},destroy:function(b){g.instances.has(b)&&g.instances.get(b).destroy()}};window.sg.common.image=e;"loading"===document.readyState?document.addEventListener("DOMContentLoaded",e.initAll):e.initAll()})(); (function(){var a={index:0,isYoutubeReady:!1,callbacks:[],enqueueOnYoutubeIframeApiReady:function(f){a.isYoutubeReady?f():a.callbacks.push(f)},onYouTubeIframeApiReady:function(){a.isYoutubeReady=!0;a.callbacks.forEach(function(f){f()});a.callbacks.splice(0)}};window.sg.common.videoApi=a;window.onYouTubeIframeAPIReady=a.onYouTubeIframeApiReady;var n={ACE:{accountId:"5685289444001",playerId:"WO3Tb7i1g"},AE:{accountId:"923227814001",playerId:"YVPxrKSek"},AE_ARABIC:{accountId:"923136719001",playerId:"E3oao1olw"}, AE_ARABIC_CS:{accountId:"5711373595001",playerId:"9urZPAGHD"},AE_CS:{accountId:"5711373594001",playerId:"0XMYguG2Nw"},AFRICA_EN:{accountId:"923270648001",playerId:"lsyG00Wz0"},AFRICA_EN_CS:{accountId:"5711373605001",playerId:"t1guP7iYwy"},AFRICA_FR:{accountId:"923227818001",playerId:"Tmx2dzbrT"},AFRICA_FR_CS:{accountId:"5711373606001",playerId:"gLuvxDp4b"},AFRICA_PT:{accountId:"923136723001",playerId:"1CZXrnviEE"},AFRICA_PT_CS:{accountId:"5711373607001",playerId:"azVZUTl7x"},AL:{accountId:"5395474900001", playerId:"oKHrt1Hn6"},AL_CS:{accountId:"5711373614001",playerId:"if48zX24H"},AR:{accountId:"923270634001",playerId:"gqJSxYCzB"},AR_CS:{accountId:"5709700884001",playerId:"ojd4uMnUWl"},AT:{accountId:"923227809001",playerId:"wnRfbwIVL"},AT_CS:{accountId:"5711373581001",playerId:"cGZtAkJpT"},AU:{accountId:"923162666001",playerId:"VMb9FyMxk"},AU_CS:{accountId:"5709700889001",playerId:"bB2vkQudw"},BE:{accountId:"923136716001",playerId:"LzbXypCvz"},BE_CS:{accountId:"5675787971001",playerId:"sEimKv7IW"}, BE_FR:{accountId:"923162674001",playerId:"FleM4KQofp"},BE_FR_CS:{accountId:"5675787972001",playerId:"7WhhmlxJj"},BG:{accountId:"923270643001",playerId:"Jo7zzVtd5"},BG_CS:{accountId:"5711373580001",playerId:"e6AWwoixf"},BR:{accountId:"923162661001",playerId:"v2BLpgM8d"},BR_CS:{accountId:"5709700879001",playerId:"qjm3J8bZLB"},CA:{accountId:"923270632001",playerId:"RUxsKbp4e"},CA_CS:{accountId:"5709700877001",playerId:"VCXS3jzBQ"},CA_FR:{accountId:"923227798001",playerId:"db9VQnzIIo"},CA_FR_CS:{accountId:"5709700876001", playerId:"Hghbkb4GOc"},CH:{accountId:"923162673001",playerId:"U0Tv0wE3G"},CH_CS:{accountId:"5711373582001",playerId:"wfkyW1T9N"},CH_FR:{accountId:"923227810001",playerId:"wvyBB7ZyD"},CH_FR_CS:{accountId:"5711373583001",playerId:"8iaLX3eay"},CL:{accountId:"923227801001",playerId:"nbGAqWiyZ"},CL_CS:{accountId:"5709700885001",playerId:"seAio3Iab1"},CN:{accountId:"923270636001",playerId:"UOGt9s1Ot"},CN_CS:{accountId:"5711373561001",playerId:"0polYNx0hB"},CO:{accountId:"923162663001",playerId:"VN3FsuEmoA"}, CO_CS:{accountId:"5709700883001",playerId:"QkIcs4LRi"},CZ:{accountId:"923270642001",playerId:"JofGmsuUaU"},CZ_CS:{accountId:"5711373577001",playerId:"W4LcfRCdX"},DE:{accountId:"923227805001",playerId:"r5nOZyzd1"},DEV:{accountId:"901961867001",playerId:"jSPFC1gYrR"},DE_CS:{accountId:"5675787970001",playerId:"Ojq20h6rI"},DK:{accountId:"923270638001",playerId:"zThis2SPx"},DK_CS:{accountId:"5711373569001",playerId:"V6MCi9Amm"},EE:{accountId:"923227812001",playerId:"89aGBrdO5"},EE_CS:{accountId:"5711373586001", playerId:"h1RB4WzC8h"},EG:{accountId:"923162680001",playerId:"KWJoclhcD"},EG_CS:{accountId:"5711373603001",playerId:"t6vHuEvebf"},ES:{accountId:"923162670001",playerId:"yq8Y8zZ3dG"},ES_CS:{accountId:"5711373566001",playerId:"AzllJfpFb"},FI:{accountId:"923162672001",playerId:"B8mrwLnI6"},FI_CS:{accountId:"5711373571001",playerId:"1d4N0XfEj"},FR:{accountId:"923227807001",playerId:"aACd9IQvK"},FR_CS:{accountId:"5711373573001",playerId:"wfmvyAQHg"},GCS:{accountId:"1852113008001",playerId:"b1SElAGyQ"}, GLOBAL:{accountId:"2933392367001",playerId:"i8zNocbMqF"},GR:{accountId:"923136713001",playerId:"VXwt3KwO7"},GR_CS:{accountId:"5711373576001",playerId:"OHk0ZpVMG"},HK:{accountId:"923227804001",playerId:"BlUhaVyrM"},HK_CS:{accountId:"5711373562001",playerId:"rUnBOAERZ"},HK_EN:{accountId:"923136709001",playerId:"y80dQbj5o"},HK_EN_CS:{accountId:"5711373563001",playerId:"oiUmA2Dpb"},HR:{accountId:"923270646001",playerId:"rtDIMNREJ"},HR_CS:{accountId:"5711373588001",playerId:"4dpG0kuPi"},HU:{accountId:"923270637001", playerId:"J3N8K2Ta8"},HU_CS:{accountId:"5711373567001",playerId:"xhpdyXZwQC"},ID:{accountId:"923162667001",playerId:"8VQZlxO23"},ID_CS:{accountId:"5709700891001",playerId:"eS8Ygw9D5N"},IE:{accountId:"923136711001",playerId:"Eby5I5ug3"},IE_CS:{accountId:"5711373564001",playerId:"g2yJSJmLr"},IL:{accountId:"923162679001",playerId:"CNuem5Ud0"},IL_CS:{accountId:"5711373596001",playerId:"CuXrQqYtZ"},IN:{accountId:"923162669001",playerId:"q6Ut0BCj1"},IN_CS:{accountId:"5711373560001",playerId:"CcOagXw6na"}, IRAN:{accountId:"923270650001",playerId:"z13tWzaxK"},IRAN_CS:{accountId:"5711373600001",playerId:"rLjx2H1MSc"},IT:{accountId:"923136712001",playerId:"JhjbQ74fF"},IT_CS:{accountId:"5711373565001",playerId:"YeJZJaeSW"},JP:{accountId:"923162668001",playerId:"5syx1iggoU"},JP_CS:{accountId:"5711373559001",playerId:"1pWQq0OoW"},KZ_RU_CS:{accountId:"5711373593001",playerId:"IjzGA4NhB"},KZ_UR:{accountId:"923270647001",playerId:"1wWJHtrJL"},LATIN:{accountId:"923136703001",playerId:"Ejglgn7vR"},LATIN_CS:{accountId:"5709700880001", playerId:"xtj1AknXN"},LATIN_EN:{accountId:"923227800001",playerId:"PqDI8nhcAF"},LATIN_EN_CS:{accountId:"5709700881001",playerId:"BwUsVdHWJ"},LB:{accountId:"5359769185001",playerId:"I6JB29uKP"},LB_CS:{accountId:"5711373613001",playerId:"PF3r8iX45"},LED:{accountId:"2172563229001",playerId:"fZOTwR23Ja"},LEVANT:{accountId:"923227815001",playerId:"sNmJq2Rhtq"},LEVANT_CS:{accountId:"5711373601001",playerId:"S2BFseOxn"},LIVE:{accountId:"901973578001",playerId:"rkHiJmE8b"},LIVE2:{accountId:"901973578001", playerId:"BJroFThOM"},LT:{accountId:"923227813001",playerId:"UnNH8Q0aA"},LT_CS:{accountId:"5711373585001",playerId:"PLBhOXxqd"},LV:{accountId:"923270644001",playerId:"8DWjAYXe8t"},LV_CS:{accountId:"5711373584001",playerId:"wVmguU4uL"},MM:{accountId:"5395474902001",playerId:"vF6OMxYpz"},MM_CS:{accountId:"5711373615001",playerId:"HRve5S5Wk"},MX:{accountId:"923227799001",playerId:"yWADI9eqWt"},MX_CS:{accountId:"5709700878001",playerId:"fMFwGNOoA"},MY:{accountId:"923136706001",playerId:"kkY3yWnfk2"}, MY_CS:{accountId:"5711373556001",playerId:"TUr9f1ZrD"},NL:{accountId:"923136717001",playerId:"Lv58R1RvL"},NL_CS:{accountId:"5675788007001",playerId:"MKP6lFpdB"},NO:{accountId:"923227806001",playerId:"RtYYg3Lhz"},NO_CS:{accountId:"5711373572001",playerId:"lpa9BAvSi"},NZ:{accountId:"923136704001",playerId:"uc2rRn2xNM"},NZ_CS:{accountId:"5709700890001",playerId:"C200YutMY"},N_AFRICA:{accountId:"923227817001",playerId:"xMwGwNxoe"},N_AFRICA_CS:{accountId:"5711373604001",playerId:"trym9TQi9"},PE:{accountId:"923162664001", playerId:"QnLGOyhWT"},PE_CS:{accountId:"5709700887001",playerId:"8g7eqsa4b"},PH:{accountId:"923136707001",playerId:"TPkcStHQq"},PH_CS:{accountId:"5711373557001",playerId:"XAANJvPl4I"},PK:{accountId:"923227816001",playerId:"KMGcvTLwI"},PK_CS:{accountId:"5711373602001",playerId:"ucBD9N7Wo"},PL:{accountId:"923270641001",playerId:"w6lBgsUzX"},PL_CS:{accountId:"5711373575001",playerId:"oimMVhVjJ"},PT:{accountId:"923270640001",playerId:"sdOVA4ZFD"},PT_CS:{accountId:"5711373574001",playerId:"coEoIreou"}, PY:{accountId:"4455299568001",playerId:"DVT5m3yv2"},PY_CS:{accountId:"5711373610001",playerId:"Pog90o2pZ"},RO:{accountId:"923136715001",playerId:"Xpb5ogQRq"},RO_CS:{accountId:"5711373579001",playerId:"7m3xl6r857"},RS:{accountId:"923162676001",playerId:"An8gNEU4n"},RS_CS:{accountId:"5711373587001",playerId:"XkZo8R4hQ"},RU:{accountId:"923136718001",playerId:"prEGLNvtgw"},RU_CS:{accountId:"5711373589001",playerId:"TGIYbAEj4"},SA:{accountId:"923136720001",playerId:"UGyvbSD4m"},SA_CS:{accountId:"5711373597001", playerId:"e8LeXD9z2"},SA_EN:{accountId:"2571515532001",playerId:"e1aY2iob1"},SA_EN_CS:{accountId:"5711373598001",playerId:"HMfJhv02t"},SC:{accountId:"1275380501001",playerId:"uOrcEND0S"},SE:{accountId:"923162671001",playerId:"87s7LoiYm"},SEC:{accountId:"923136708001",playerId:"O0UmvJBBkC"},SE_CS:{accountId:"5711373568001",playerId:"YQAEzeCh7"},SG:{accountId:"923162665001",playerId:"VcCu1i5eGY"},SG_CS:{accountId:"5709700888001",playerId:"1uAHw2z66"},SI:{accountId:"3855502820001",playerId:"3iQ8u8kzHJ"}, SI_CS:{accountId:"5711373609001",playerId:"aWXzB4G7Y"},SK:{accountId:"923227808001",playerId:"6pYCGSOVM"},SK_CS:{accountId:"5711373578001",playerId:"DtyAUtIWf"},TH:{accountId:"923227802001",playerId:"GjtcZdzhG"},TH_CS:{accountId:"5711373553001",playerId:"jhV8EaiQ2P"},TR:{accountId:"923136721001",playerId:"eo4EiXfOZ6"},TR_CS:{accountId:"5711373599001",playerId:"uw0Vade3U"},TW:{accountId:"923270635001",playerId:"gB0Jrk4eC"},TW_CS:{accountId:"5711373558001",playerId:"zRLdsvdiUi"},UA:{accountId:"923162678001", playerId:"1ZqNirAQQ"},UA_CS:{accountId:"5711373590001",playerId:"1oPqU5Hja"},UA_RU:{accountId:"923162677001",playerId:"TNhyfS3s0z"},UA_RU_CS:{accountId:"5711373592001",playerId:"n355uJ5toG"},UK:{accountId:"923136710001",playerId:"Ta4g51Ongy"},UK_CS:{accountId:"5675787969001",playerId:"X4XabEZljp"},UR:{accountId:"4455299570001",playerId:"6Sn4qURxs"},UR_CS:{accountId:"5711373612001",playerId:"SQg3bJxYB"},US:{accountId:"923227797001",playerId:"COJfPFSPz"},US_CS:{accountId:"5709700875001",playerId:"YtbrW77H5e"}, VE:{accountId:"923162662001",playerId:"NGFTP7VzK"},VE_CS:{accountId:"5709700882001",playerId:"t00eQogYI"},VN:{accountId:"923136705001",playerId:"V8VheyNOH"},VN_CS:{accountId:"5711373555001",playerId:"4gy4Qw9sC"},ZA:{accountId:"2571515531001",playerId:"ohoOzqLWr"},ZA_CS:{accountId:"5711373608001",playerId:"lK2PT9hyDT"},GLOBAL_NW:{accountId:"1832636967001",playerId:"default"},GLOBAL_CPS:{accountId:"1832636966001",playerId:"HJ7xuijZz"}},g=window.sg.common.utils.isVisible,e=window.sg.common.utils.getCurrentDevice, b=window.sg.common.utils.getCookie,k=window.sg.common.utils.triggerEvent,d=function(f){this.el=f;this.init()};d.prototype.initValues=function(){this.type="";this.isResonsiveBind=this.isScrollPlayBind=this.isResponsive=this.isScrollPlay=this.isLazyLoad=this.isEmbed=!1;this.option={};this.defaultOption={mp4:{videoEl:'\x3cvideo class\x3d"video-player" playsinline\x3e\x3csource src\x3d"" type\x3d"video/mp4"\x3e\x3c/video\x3e',src:"",desktopSrc:"",mobileSrc:"",autoplay:!1,muted:!1,controls:!1,loop:!1, scrollplay:!1},youtube:{videoEl:'\x3ciframe class\x3d"video-player" src\x3d\'about:blank\' allowfullscreen allow\x3d"autoplay" sandbox\x3d"allow-scripts allow-same-origin allow-presentation" style\x3d"border: none;"\x3e\x3c/iframe\x3e',src:"https://www.youtube.com/embed/{{VIDEO_ID}}?wmode\x3dopaque\x26rel\x3d0\x26enablejsapi\x3d1\x26version\x3d3\x26origin\x3d{{ORIGIN}}",id:"",autoplay:!1,muted:!1},brightCove:{countryCode:"DEV",videoEl:'\x3cvideo data-embed\x3d"default" controls class\x3d"video-js video-player"\x3e\x3c/video\x3e', id:"",autoplay:!1,muted:!1},aparat:{videoEl:"\x3ciframe src\x3d'about:blank' allowfullscreen style\x3d\"border: none;\"\x3e\x3c/iframe\x3e",src:"https://www.aparat.com/video/video/embed/videohash/{{VIDEO_ID}}/vt/frame",liveSrc:"",autoplay:!1},url:{videoEl:"\x3ciframe src\x3d'about:blank' allowfullscreen style\x3d\"border: none;\"\x3e\x3c/iframe\x3e",src:""}};this.videoInfo={};this.toVideoState="";this.useDefaultImage=!1;this.isLazyLoad=this.el.classList.contains("lazy-load")||this.el.classList.contains("lazy-load-man"); this.isEmbed="TRUE"===this.el.dataset.videoEmbed.toUpperCase();this.videoData=JSON.parse(this.el.dataset.videoData);this.type=this.el.dataset.videoType};d.prototype.setElements=function(){this.setDefaultImage();!this.isLazyLoad&&this.isEmbed&&this.setVideo()};d.prototype.init=function(){d.instances.has(this.el)||(d.instances.set(this.el,this),this.initValues(),this.setElements())};d.prototype.reInit=function(){this.unBindEvents();this.dispose();this.initValues();this.setElements()};d.prototype.load= function(){!this.isLazyLoad&&this.isEmbed||this.setVideo()};d.prototype.setDefaultImage=function(){var f=this.el.querySelector(".image");f&&(f.style.width=this.videoData.width?this.videoData.width:"100%",f.style.height=this.videoData.height?this.videoData.height:"100%");if(this.useDefaultImage="TRUE"===this.el.dataset.imageDefault.toUpperCase()){var m=b("__COM_SPEED");if(null===m||"L"!==m.toString().toUpperCase())this.useDefaultImage=!1}this.el.dataset.imageDefault=this.useDefaultImage.toString(); f&&(this.useDefaultImage?f.classList.add("default-image--show"):f.setAttribute("aria-hidden","true"))};d.prototype.setVideo=function(){if(!this.useDefaultImage){switch(this.type){case "mp4":this.setMp4(this.videoData);break;case "youtube":this.setYoutube(this.videoData);break;case "brightcove":this.setBrightCove(this.videoData);break;case "aparat":this.setAparat(this.videoData);break;case "url":this.setIframe(this.videoData)}k(this.el,"videoInit",this.type)}};d.prototype.setMp4=function(f){var m= JSON.parse(JSON.stringify(this.defaultOption.mp4)),p=this.getEl(m.videoEl,this.el),y=p.querySelector("source");this.videoInfo.el=p;this.videoInfo.sourceEl=y;this.option=this.setOption(m,f);""!==this.option.src?y.setAttribute("src",this.option.src):(this.setResponsiveVideo(),this.isResponsive=!0,this.isResonsiveBind||(this.bindResponsive(),this.isResonsiveBind=!0));this.bindPlay();p.muted=this.option.muted;p.autoplay=this.option.autoplay;p.controls=this.option.controls;p.loop=this.option.loop;this.isEmbed&& (p.disableRemotePlayback=!0);this.option.scrollplay&&this.isEmbed&&(p.preload="auto",p.autoplay=!1,this.videoInfo.state="stop",this.isScrollPlay=!0,this.isScrollPlayBind||(this.bindScrollPlay(),this.isScrollPlayBind=!0));p.style.width=this.option.width?this.option.width:"100%";p.style.height=this.option.height?this.option.height:"100%";this.setCaption(this.option.caption,p);"play"===this.toVideoState?this.playMp4Video():"stop"===this.toVideoState&&this.stopMp4Video();this.toVideoState=""};d.prototype.setPlayed= function(){this.videoInfo.el.parentElement.classList.contains("video--played")||this.videoInfo.el.parentElement.classList.add("video--played")};d.prototype.bindPlay=function(){"mp4"===this.type&&(this.setPlayed=this.setPlayed.bind(this),this.videoInfo.el.addEventListener("play",this.setPlayed))};d.prototype.setScrollPlayVideo=function(){g(this.videoInfo.el)?"play"!==this.videoInfo.state&&1<=this.videoInfo.el.readyState&&(this.videoInfo.el.currentTime=0,this.videoInfo.el.play(),this.videoInfo.state= "play"):"play"===this.videoInfo.state&&1<=this.videoInfo.el.readyState&&(this.videoInfo.el.pause(),this.videoInfo.state="pause")};d.prototype.bindScrollPlay=function(){"mp4"===this.type&&this.isScrollPlay&&(this.setScrollPlayVideo=this.setScrollPlayVideo.bind(this),this.videoInfo.el.addEventListener("loadedmetadata",this.setScrollPlayVideo),document.addEventListener("scroll",this.setScrollPlayVideo),window.addEventListener("resize",this.setScrollPlayVideo),window.addEventListener("orientationchange", this.setScrollPlayVideo),this.setScrollPlayVideo())};d.prototype.setResponsiveVideo=function(){var f=e();this.isEmbed&&this.device===f||(this.device=f,f=this.option[this.device+"Src"],0>this.videoInfo.sourceEl.src.indexOf(f)&&(this.videoInfo.sourceEl.src=f,this.videoInfo.el.load(),this.isScrollPlay&&(this.videoInfo.state="stop")))};d.prototype.bindResponsive=function(){"mp4"===this.type&&this.isResponsive&&(this.setResponsiveVideo=this.setResponsiveVideo.bind(this),window.addEventListener("resize", this.setResponsiveVideo))};d.prototype.unBindEvents=function(){this.videoInfo.el&&(this.videoInfo.el.removeEventListener("play",this.setPlayed),this.videoInfo.el.removeEventListener("loadedmetadata",this.setScrollPlayVideo));document.removeEventListener("scroll",this.setScrollPlayVideo);window.removeEventListener("resize",this.setResponsiveVideo);window.removeEventListener("resize",this.setScrollPlayVideo);window.removeEventListener("orientationchange",this.setScrollPlayVideo)};d.prototype.destroy= function(){this.unBindEvents();this.dispose();d.instances.has(this.el)&&d.instances.delete(this.el);this.videoInfo=this.el=null};d.prototype.setYoutube=function(f){var m=this,p=window.sg.common.videoApi,y=JSON.parse(JSON.stringify(this.defaultOption.youtube)),t=this.getEl(y.videoEl,this.el);this.option=this.setOption(y,f);this.option.muted=void 0!==f.muted?f.muted:this.option.autoplay;this.option.src=this.option.src.replace("{{VIDEO_ID}}",this.option.id).replace("{{ORIGIN}}",window.location.origin)+ "\x26autoplay\x3d"+(this.option.autoplay?"1":"0")+"\x26mute\x3d"+(this.option.muted?"1":"0");var v=this.option.id+p.index++;t.setAttribute("id",v);t.setAttribute("src",this.option.src);t.setAttribute("title",this.option.title);t.style.width=this.option.width?this.option.width:"100%";t.style.height=this.option.height?this.option.height:"100%";this.setCaption(this.option.caption,t);f=document.createElement("script");f.src="https://www.youtube.com/iframe_api";f.classList.add("sg-youtube-api");document.querySelector('script[src\x3d"'+ f.src+'"]')||document.body.appendChild(f);var r=function(){"play"===m.toVideoState?m.playYoutubeVideo():"stop"===m.toVideoState&&m.stopYoutubeVideo();m.toVideoState=""};p.enqueueOnYoutubeIframeApiReady(function(){m.videoInfo.player=new YT.Player(v,{host:"https://www.youtube.com",events:{onReady:r}})})};d.prototype.setBrightCove=function(f){var m=this,p=window.sg.common.videoApi,y=JSON.parse(JSON.stringify(this.defaultOption.brightCove)),t=this.getEl(y.videoEl,this.el);this.option=this.setOption(y, f);this.option.muted=void 0!==f.muted?f.muted:this.option.autoplay;f=this.option.countryCode.toUpperCase();var v=this.option.id+p.index++;t.setAttribute("id",v);t.setAttribute("data-video-id",this.option.id);t.setAttribute("data-account",n[f].accountId);t.setAttribute("data-player",n[f].playerId);t.style.width=this.option.width?this.option.width:"100%";t.style.height=this.option.height?this.option.height:"100%";this.setCaption(this.option.caption,t);p="https://players.brightcove.net/"+n[f].accountId+ "/"+n[f].playerId+"_default/index.min.js";t=document.createElement("script");t.src=p;document.body.appendChild(t);t.onload=function(){return m.setBrightCovePlayer(v,m.option)}};d.prototype.setBrightCovePlayer=function(f,m){var p=this;this.videoInfo.player=videojs(f);f=function(){p.option.muted&&p.videoInfo.player.muted(!0);p.videoInfo.player.play()};var y=function(){"play"===p.toVideoState?p.playBrightCoveVideo():"stop"===p.toVideoState&&p.stopBrightCoveVideo();p.toVideoState=""};if(1>this.videoInfo.player.readyState()){if(m.autoplay)this.videoInfo.player.on("loadedmetadata", f);this.videoInfo.player.on("loadedmetadata",y)}else m.autoplay&&f(),y()};d.prototype.setAparat=function(f){var m=JSON.parse(JSON.stringify(this.defaultOption.aparat)),p=this.getEl(m.videoEl,this.el);this.option=this.setOption(m,f);this.option.src=this.option.liveSrc?this.option.liveSrc:""+this.option.src.replace("{{VIDEO_ID}}",this.option.id);p.setAttribute("src",this.option.src);p.setAttribute("title",this.option.title);p.style.width=this.option.width?this.option.width:"100%";p.style.height=this.option.height? this.option.height:"100%";this.setCaption(this.option.caption,p)};d.prototype.setIframe=function(f){var m=JSON.parse(JSON.stringify(this.defaultOption.url)),p=this.getEl(m.videoEl,this.el);this.option=this.setOption(m,f);p.setAttribute("src",this.option.src);p.setAttribute("title",this.option.title);p.style.width=this.option.width?this.option.width:"100%";p.style.height=this.option.height?this.option.height:"100%";this.setCaption(this.option.caption,p)};d.prototype.setOption=function(f,m){for(var p= Object.keys(m),y=0;ythis.videoInfo.el.readyState?this.videoInfo.el.addEventListener("loadedmetadata",p):m()}else this.toVideoState="stop"};d.prototype.playYoutubeVideo= function(){"youtube"===this.type&&(this.videoInfo.player?(this.videoInfo.player.playVideo(),this.videoInfo.state="play"):this.toVideoState="play")};d.prototype.stopYoutubeVideo=function(){"youtube"===this.type&&(this.videoInfo.player?(this.videoInfo.player.stopVideo(),this.videoInfo.state="stop"):this.toVideoState="stop")};d.prototype.playBrightCoveVideo=function(){var f=this;if("brightcove"===this.type)if(this.videoInfo.player)if(1>this.videoInfo.player.readyState())this.videoInfo.player.on("loadedmetadata", function(){f.videoInfo.player.play();f.videoInfo.state="play"});else this.videoInfo.player.play(),this.videoInfo.state="play";else this.toVideoState="play"};d.prototype.stopBrightCoveVideo=function(){var f=this;if("brightcove"===this.type)if(this.videoInfo.player)if(1>this.videoInfo.player.readyState())this.videoInfo.player.on("loadedmetadata",function(){f.videoInfo.player.pause();f.videoInfo.player.currentTime(0);f.videoInfo.state="stop"});else this.videoInfo.player.pause(),this.videoInfo.player.currentTime(0), this.videoInfo.state="stop";else this.toVideoState="stop"};d.prototype.dispose=function(){if(this.el.lastElementChild&&!this.isEmbed){if("brightcove"===this.type){this.videoInfo.player&&this.videoInfo.player.dispose();var f=this.option.countryCode.toUpperCase();(f=document.querySelector('script[src\x3d"https://players.brightcove.net/'+(n[f].accountId+"/"+n[f].playerId+'_default/index.min.js"]')))&&document.body.removeChild(f)}else"youtube"===this.type&&(f=document.body.querySelector('script[src\x3d"https://www.youtube.com/iframe_api"].sg-youtube-api'))&& document.body.removeChild(f);for(;this.el.lastElementChild.hasChildNodes();)this.el.lastElementChild.removeChild(this.el.lastElementChild.firstChild);this.el.removeChild(this.el.lastElementChild)}};d.instances=new WeakMap;var h={initAll:function(){for(var f=[].concat($jscomp.arrayFromIterable(document.querySelectorAll(".video"))),m=[].concat($jscomp.arrayFromIterable(document.querySelectorAll(".static-content .video"))),p=0;pt?(this.els.horizTrackEl.style.display="",this.horizBarWidth=y*t,this.els.horizBarEl.style.width=this.horizBarWidth+"px",this.contentsMaxScrollLeft=p-m,this.barMaxScrollLeft=y-y*t,this.isHorizBar=!0,this.els.wrapEl.style["-ms-user-select"]= "none",this.els.wrapEl.style.userSelect="none",this.els.wrapEl.style.cursor="default",this.els.wrapEl.style.overscrollBehaviorX="contain"):(this.els.horizTrackEl.style.display="none",this.barMaxScrollLeft=this.contentsMaxScrollLeft=0,this.isHorizBar=!1);this.els.vertTrackEl.style.display="";m=Math.ceil(this.els.wrapEl.getBoundingClientRect().height);p=this.els.contentsEl.scrollHeight;y=Math.ceil(this.els.vertTrackContentEl.getBoundingClientRect().height);t=m/p;1>t?(this.els.vertTrackEl.style.display= "",this.els.vertBarEl.style.height=y*t+"px",this.contentsMaxScrollTop=p-m,this.barMaxScrollTop=y-y*t,this.isVertBar=!0):(this.els.vertTrackEl.style.display="none",this.barMaxScrollTop=this.contentsMaxScrollTop=0,this.isVertBar=!1);this.setTagging()};h.prototype.scrollHorizBar=function(m){0>m?m=0:m>this.barMaxScrollLeft&&(m=this.barMaxScrollLeft);this.barScrollLeft=m;this.els.horizBarEl.style.transition="";this.els.horizBarEl.style.transform="translate3d("+m+"px, 0, 0)"};h.prototype.scrollVertBar= function(m){0>m?m=0:m>this.barMaxScrollTop&&(m=this.barMaxScrollTop);this.barScrollTop=m;this.els.vertBarEl.style.transform="translate3d(0, "+m+"px, 0)"};h.prototype.scrollHoriz=function(m){var p=m;0>m?p=0:m>this.contentsMaxScrollLeft&&(p=this.contentsMaxScrollLeft);b(this.els.wrapEl,p)};h.prototype.scrollVert=function(m){0>m?m=0:m>this.contentsMaxScrollTop&&(m=this.contentsMaxScrollTop);this.els.wrapEl.scrollTop=m};h.prototype.handleScroll=function(){if(this.isHorizBar){var m=e(this.els.wrapEl); this.scrollHorizBar(m/this.contentsMaxScrollLeft*this.barMaxScrollLeft)}this.isVertBar&&this.scrollVertBar(this.els.wrapEl.scrollTop/this.contentsMaxScrollTop*this.barMaxScrollTop);a(document).trigger("scroll")};h.prototype.handleBarScrollStart=function(m){this.isbarDragging=!0;this.prevPointX=m.screenX;this.prevPointY=m.screenY;m.target===this.els.horizBarEl?this.els.horizTrackContentEl.classList.add("bar-dragging"):m.target===this.els.vertBarEl&&this.els.vertTrackContentEl.classList.add("bar-dragging"); document.addEventListener("mousemove",this.handleBarScroll);document.addEventListener("mouseup",this.handleBarScrollEnd);document.addEventListener("selectstart",this.handleSelect)};h.prototype.handleBarScrollTouchStart=function(m){this.isbarDragging=!0;this.prevPointX=m.touches[0].screenX;this.prevPointY=m.touches[0].screenY;m.target===this.els.horizBarEl?this.els.horizTrackContentEl.classList.add("bar-dragging"):m.target===this.els.vertBarEl&&this.els.vertTrackContentEl.classList.add("bar-dragging"); document.addEventListener("touchmove",this.handleBarScroll,this.isPassiveSupported?{passive:!0}:!1);document.addEventListener("touchend",this.handleBarScrollEnd)};h.prototype.handleBarScroll=function(m){if(!this.isAnim&&this.isbarDragging){if(this.isHorizBar){var p=void 0!==m.screenX?m.screenX:m.touches[0].screenX,y=this.barScrollLeft+(p-this.prevPointX);this.scrollHorizBar(y);this.scrollHoriz(y*this.contentsMaxScrollLeft/this.barMaxScrollLeft);this.prevPointX=p}this.isVertBar&&(m=void 0!==m.screenY? m.screenY:m.touches[0].screenY,p=this.barScrollTop+(m-this.prevPointY),this.scrollVertBar(p),this.scrollVert(p*this.contentsMaxScrollTop/this.barMaxScrollTop),this.prevPointY=m)}};h.prototype.handleBarScrollEnd=function(){this.isbarDragging=!1;this.prevPointY=this.prevPointX=0;this.els.horizTrackContentEl.classList.remove("bar-dragging");this.els.vertTrackContentEl.classList.remove("bar-dragging");document.removeEventListener("mousemove",this.handleBarScroll);document.removeEventListener("mouseup", this.handleBarScrollEnd);document.removeEventListener("touchmove",this.handleBarScroll);document.removeEventListener("touchend",this.handleBarScrollEnd);document.removeEventListener("selectstart",this.handleSelect)};h.prototype.handleSelect=function(m){m.stopPropagation();m.preventDefault();return!1};h.prototype.handleContentsDragStart=function(m){this.isHorizBar&&"hidden"!==window.getComputedStyle(this.els.wrapEl).overflow&&(this.startX=m.clientX+e(this.els.wrapEl),this.isContentsDragging=!0,this.isClickDisabled= !1,this.diffX=0,document.addEventListener("mousemove",this.handleContentsDrag),document.addEventListener("mouseup",this.handleContentsDragEnd))};h.prototype.handleContentsDrag=function(m){if(!this.isAnim&&this.isContentsDragging){this.diffX=this.startX-(m.clientX+e(this.els.wrapEl));this.scrollHoriz(e(this.els.wrapEl)+this.diffX);var p=function(y){g(y.target,"a")&&(y.preventDefault(),y.stopPropagation());document.removeEventListener("click",p)};this.isClickDisabled||(document.addEventListener("click", p),this.isClickDisabled=!0)}};h.prototype.handleContentsDragEnd=function(){this.isContentsDragging=!1;document.removeEventListener("mousemove",this.handleContentsDrag);document.removeEventListener("mouseup",this.handleContentsDragEnd)};h.prototype.handleHorizTrackContentClick=function(m){m=m.clientX-this.els.horizTrackContentEl.getBoundingClientRect().left;mthis.barScrollLeft+this.horizBarWidth&&this.scrollTo(this.els.wrapEl.getBoundingClientRect().width, null,!1,200)};h.prototype.handleDragStart=function(m){m.preventDefault()};h.prototype.resize=function(){this.setBarSize();this.handleScroll()};h.prototype.initHandlers=function(){this.handleScroll=d(this.handleScroll.bind(this));this.handleBarScrollStart=this.handleBarScrollStart.bind(this);this.handleBarScrollTouchStart=this.handleBarScrollTouchStart.bind(this);this.handleBarScroll=d(this.handleBarScroll.bind(this));this.handleBarScrollEnd=this.handleBarScrollEnd.bind(this);this.handleSelect=this.handleSelect.bind(this); this.handleContentsDragStart=this.handleContentsDragStart.bind(this);this.handleContentsDrag=d(this.handleContentsDrag.bind(this));this.handleContentsDragEnd=this.handleContentsDragEnd.bind(this);this.resize=d(this.resize.bind(this));this.handleHorizTrackContentClick=this.handleHorizTrackContentClick.bind(this);this.handleDragStart=this.handleDragStart.bind(this)};h.prototype.bindEvents=function(){var m=this;this.els.wrapEl.addEventListener("scroll",this.handleScroll);this.els.horizTrackContentEl.addEventListener("click", this.handleHorizTrackContentClick);this.els.horizBarEl.addEventListener("mousedown",this.handleBarScrollStart);this.els.horizBarEl.addEventListener("touchstart",this.handleBarScrollTouchStart,this.isPassiveSupported?{passive:!0}:!1);this.els.vertBarEl.addEventListener("mousedown",this.handleBarScrollStart);this.els.vertBarEl.addEventListener("touchstart",this.handleBarScrollTouchStart,this.isPassiveSupported?{passive:!0}:!1);this.els.wrapEl.addEventListener("mousedown",this.handleContentsDragStart); this.els.wrapEl.addEventListener("dragstart",this.handleDragStart);window.addEventListener("resize",this.resize);if(this.isAutoResize){var p=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;this.observerTimer=null;this.observer=new p(function(){m.observerTimer&&clearTimeout(m.observerTimer);m.observerTimer=setTimeout(function(){m.resize()},320)});this.observer.observe(this.els.wrapEl,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["class"]})}};h.prototype.unBindEvents= function(){this.els.wrapEl.removeEventListener("scroll",this.handleScroll);this.els.horizTrackContentEl.removeEventListener("click",this.handleHorizTrackContentClick);this.els.horizBarEl.removeEventListener("mousedown",this.handleBarScrollStart);this.els.horizBarEl.removeEventListener("touchstart",this.handleBarScrollTouchStart);this.els.vertBarEl.removeEventListener("mousedown",this.handleBarScrollStart);this.els.vertBarEl.removeEventListener("touchstart",this.handleBarScrollTouchStart);this.els.wrapEl.removeEventListener("mousedown", this.handleContentsDragStart);this.els.wrapEl.removeEventListener("dragstart",this.handleDragStart);window.removeEventListener("resize",this.resize);this.observerTimer&&(clearTimeout(this.observerTimer),this.observerTimer=null);this.observer&&(this.observer.disconnect(),this.observer=null)};h.prototype.scrollBottom=function(){this.scrollTo(null,this.contentsMaxScrollTop-this.els.wrapEl.scrollTop)};h.prototype.scrollTo=function(m,p,y,t,v){var r=this;t=void 0===t?300:t;v=void 0===v?n(.4,0,.2,1):v;var C= e(this.els.wrapEl),G=this.els.wrapEl.scrollTop;y?(m&&(m>this.contentsMaxScrollLeft&&(m=this.contentsMaxScrollLeft),0>m&&(m=0),m-=C),p&&(p>this.contentsMaxScrollTop&&(p=this.contentsMaxScrollTop),0>m&&(p=0),p-=G)):(m&&(C+m>this.contentsMaxScrollLeft&&(m=this.contentsMaxScrollLeft-C),0>C+m&&(m=-C)),p&&(G+p>this.contentsMaxScrollTop&&(p=this.contentsMaxScrollTop-G),0>G+m&&(p=-G)));y=function(P){m&&r.scrollHoriz(C+m*P);p&&r.scrollVert(G+p*P)};0=this.ele.scrollPopup.target.length||(this.bindEvents(),this.resize(),setTimeout(function(){k.resize()},500))};b.prototype.reInit=function(){var k=this;this.setProperty();0>=this.ele.scrollPopup.target.length||(this.bindEvents(),this.resize(),setTimeout(function(){k.resize()},500))};b.prototype.resize=function(){this.setScrollHeight()};b.prototype.setScrollHeight=function(){var k=this.ele.scrollPopup.find(".scrollbar__wrap").eq(0),d=k.target[0].scrollTop,h=g.getViewPort().height; k.css({maxHeight:""});h-=this.ele.scrollPopup.target[0].offsetTop;h-=this.ele.boxWrap.offset().bottom-this.ele.scrollPopup.offset().bottom;h=void 0===this.ele.section.target[0].dataset.paddingCustom?h-(n.MOBILEh&&(h=0);k.height()-1>Math.round(h)&&k.css({maxHeight:h+"px"});k.target[0].scrollTop=d;e.resize(this.ele.scrollPopup.target[0])};b.prototype.bindEvents=function(){this.ele.window.off("resize", this.handler.resize).on("resize",this.handler.resize)};b.instances=new WeakMap;window.sg.common.layerPopupMaxHeight={initAll:function(){a(".layer-popup").target.forEach(function(k){if(0=t.height()&&(p.el.containerEl.css({"min-height":"2px"}),t.on("load",p.handler.checkImageLoad))},checkImageLoad:function(t){p.el.containerEl.css({"min-height":""});p.slideResize();a(t.target).off("load",p.handler.checkImageLoad)},autoPlayHandler:function(){p.autoPlayCheck= p.autoPlayCheck?!1:!0;p.autoPlayCheck?(p.sw.autoplay.start(),p.handler.autoPlayBtnSetup(!1)):(p.sw.autoplay.stop(),p.handler.autoPlayBtnSetup(!0))},autoPlayBtnSetup:function(t){if(p.el.autoPlayBtnEl.target.length){var v=p.el.autoPlayBtnEl.attr("an-la");t?(p.el.autoPlayBtnEl.attr("an-la",v.replace(":stop",":play")),p.el.autoPlayBtnEl.find(".hidden").innerHTML("play"),p.el.indicatorEl&&p.indicator.pause(p.el.indicatorEl),p.el.autoPlayBtnEl.addClass("indicator__controls--play"),p.el.containerEl.find(p.selector.hiddenButton).text("Play automatic slide show")): (p.el.autoPlayBtnEl.attr("an-la",v.replace(":play",":stop")),p.el.autoPlayBtnEl.find(".hidden").innerHTML("stop"),p.el.indicatorEl&&p.indicator.play(p.el.indicatorEl),p.el.autoPlayBtnEl.removeClass("indicator__controls--play"),p.el.containerEl.find(p.selector.hiddenButton).text("Stop automatic slide show"))}},focusInHandler:function(t){t.preventDefault();p.sw.autoplay&&!p.focusInCheck&&(p.focusInCheck=!0,p.autoPlayCheck=p.sw.autoplay.running,"focusin"!==t.type.toLowerCase()&&"mouseover"!==t.type.toLowerCase()|| p.handler.autoPlayBtnSetup(!0),p.sw.autoplay.stop())},focusOutHandler:function(t){t.preventDefault();p.sw.autoplay&&p.focusInCheck&&(p.focusInCheck=!1,p.autoPlayCheck&&(p.clickCheck=!1,p.sw.autoplay.start(),p.handler.autoPlayBtnSetup(!1)))},renderIndicator:function(){if(p.el.indicatorEl){var t=p.indicator.init(p.el.indicatorEl);t&&t.reInit();p.el.componentEl.find(p.selector.indicatorItem).target.length&&p.indicator.move(p.el.indicatorEl,p.activeSlide)}p.el.autoPlayBtnEl.target.length&&(p.el.autoPlayBtnEl.find(".hidden").innerHTML("stop"), k(p.el.autoPlayBtnEl.target[0],"click"),p.el.autoPlayBtnEl.removeClass("indicator__controls--play"),t=function(v){p.el.indicatorEl||p.el.autoPlayBtnEl.toggleClass("indicator__controls--play");v.preventDefault();p.focusInCheck&&!p.clickCheck&&(p.clickCheck=!0,setTimeout(function(){p.handler.autoPlayHandler(!0)},100));p.handler.autoPlayHandler()},p.el.autoPlayBtnEl.off("click").on("click",t),p.el.containerEl.find(p.selector.hiddenButton).off("click").on("click",t))},paginationUpdateHandler:function(t, v){t=a(v).find(p.selector.indicatorItem+".swiper-pagination-bullet-active").target[0];v=a(v).find(p.selector.indicatorItem+".indicator__item--active").target[0];t!==v&&t&&(v=parseInt(t.getAttribute("data-type-clickid"),10),p.indicator.move(p.el.indicatorEl,v))},paginationRenderHandler:function(){p.handler.renderIndicator();p.handler.setupBullet()},setupBullet:function(){p.headlineArr=[];p.el.containerEl.find(".swiper-slide:not(.swiper-slide-duplicate)").target.forEach(function(r){var C=r.getAttribute("data-type-headline"); C||(C=r.dataset.tagging?JSON.parse(r.dataset.tagging)["an-tr"]:r.getAttribute("an-tr"));p.headlineArr.push(C)});p.headlineArr=p.headlineArr.concat(p.headlineArr);a(p.option.pagination.el).find(".swiper-pagination-bullet").target.forEach(function(r,C){var G=null;G=C*p.group;p.group!==p.getNowPerView()&&(G=C);G=p.option.loop?p.el.containerEl.find(p.selector.swiperWrapper).find('.swiper-slide[data-swiper-slide-index\x3d"'+G+'"]'):a(p.sw.slides[G]);var P=a(r);G.target.forEach(function(wa){wa.setAttribute("aria-describedby", P.attr("id"))});if(G.target[0].dataset.tagging){var X=JSON.parse(G.target[0].dataset.tagging);r=X["an-tr"];var ca=X["an-ca"];var qa=X["an-ac"];X=X["an-la"]}else r=G.attr("an-tr"),ca=G.attr("an-ca"),qa=G.attr("an-ac"),X=G.attr("an-la");var Y=G.attr("data-type-headline");Y||(Y=r);P.attr("an-tr",r);P.attr("an-ca",ca);P.attr("an-ac",qa);P.attr("an-la",X);P.attr("data-type-slide-index",C);setTimeout(function(){P.find(".hidden").innerHTML(""+Y)},0)});var t=p.getNowPerView();if(1=p.option.slidesPerGroup)a(p.option.pagination.el).find(".swiper-pagination-bullet").target.forEach(function(r, C){for(var G="",P=C;P y.target.length)this.el.prevEl.hide(),this.el.nextEl.hide();else{this.el.containerEl.find(this.selector.swiperSlide).target.forEach(function(Y,wa){a(Y).hasClass("swiper-slide-active")&&(m.activeSlide=wa)});if(0===this.el.containerEl.find(this.selector.swiperWrapper).target.length){var t=this.el.containerEl.find(this.selector.swiperSlide);this.slideAccessibility();y=t.clone();t.remove();t=this.el.containerEl.find(".indicator");var v=this.el.containerEl.children();0===v.target.length?this.el.containerEl.append(this.wrapperStr): t.target.length&&!this.el.containerEl.find(this.selector.swiperButtonPrev).target.length?t.prepend(this.wrapperStr):v.eq(0).after(this.wrapperStr);this.el.containerEl.find(this.selector.swiperWrapper).append(y);window.sg.common.image.initAll();b.initAll()}this.el.containerEl.find(this.selector.hiddenButton).off().remove();this.option.autoplay&&this.el.containerEl.target[0].insertAdjacentHTML("afterbegin",this.hiddenButton);this.option.navigation?"string"===(typeof this.option.navigation.prevEl).toLowerCase()&& (this.el.prevEl=this.el.componentEl.find(this.option.navigation.prevEl),this.el.nextEl=this.el.componentEl.find(this.option.navigation.nextEl)):(this.option.navigation={},this.option.navigation.prevEl=this.el.prevEl.target[0],this.option.navigation.nextEl=this.el.nextEl.target[0]);this.slideChangeHandler&&(this.option.on.slideChange=function(){m.slideChangeHandler(m.sw,m.sw.realIndex)});if(this.option.pagination){this.option.pagination={};if(y=this.el.componentEl.find(this.selector.indicatorProgress).target[0])this.option.pagination.type= "progressbar";switch(this.option.pagination.type){case "progressbar":this.option.pagination.el=y.querySelector(this.selector.indicatorProgressBar);this.option.pagination.progressbarFillClass=this.selector.indicatorProgressFillClass;break;default:this.el.componentEl.find(this.selector.indicatorList+" \x3e button").remove(),this.option.pagination.el=this.el.componentEl.find(this.selector.indicatorList).target[0],"list"===this.option.pagination.el.getAttribute("role")?this.option.pagination.renderBullet= function(Y,wa){return'\x3cdiv class\x3d"div-for-accessibility" role\x3d"listitem"\x3e\x3cbutton class\x3d"indicator__item '+wa+'" data-type-clickid\x3d"'+Y+'" id\x3d"swiper'+h.createCount()+'"\x3e\x3cspan class\x3d"indicator__dot-wrap"\x3e\x3cspan class\x3d"indicator__dot"\x3e \x3cspan class\x3d"indicator__dot-inner"\x3e\x3c/span\x3e\x3c/span\x3e\x3cspan class\x3d"hidden"\x3eIndicator 10\x3c/span\x3e\x3c/span\x3e\x3c/button\x3e\x3c/div\x3e'}:this.option.pagination.renderBullet=function(Y,wa){return'\x3cbutton class\x3d"indicator__item '+ wa+'" role\x3d"tab" data-type-clickid\x3d"'+Y+'" id\x3d"swiper'+h.createCount()+'"\x3e\x3cspan class\x3d"indicator__dot-wrap"\x3e\x3cspan class\x3d"indicator__dot"\x3e \x3cspan class\x3d"indicator__dot-inner"\x3e\x3c/span\x3e\x3c/span\x3e\x3cspan class\x3d"hidden"\x3eIndicator 10\x3c/span\x3e\x3c/span\x3e\x3c/button\x3e'}}}var r=function(Y){switch(void 0===Y?!1:Y){case "beginning":m.el.indicatorScreenPrev.attr("disabled",!0);m.sw.isEnd||m.sw.perView>=m.sw.slides.length?m.el.indicatorScreenNext.attr("disabled", !0):m.el.indicatorScreenNext.removeAttr("disabled");m.el.containerEl.removeClass("swiper-slide--end");m.el.containerEl.addClass("swiper-slide--beginning");break;case "end":m.el.indicatorScreenPrev.removeAttr("disabled");m.el.indicatorScreenNext.attr("disabled",!0);m.el.containerEl.addClass("swiper-slide--end");m.el.containerEl.removeClass("swiper-slide--beginning");break;case !1:m.el.indicatorScreenNext.removeAttr("disabled"),m.el.indicatorScreenPrev.removeAttr("disabled"),m.el.containerEl.removeClass("swiper-slide--end"), m.el.containerEl.removeClass("swiper-slide--beginning")}},C=function(){return!p.option.loop&&p.sw.isBeginning?"beginning":!p.option.loop&&p.sw.isEnd?"end":!1};y=this.getNowPerView();this.group=this.option.slidesPerGroup;this.group||(this.group=1);y=y!==this.group&&"number"===(typeof this.group).toLowerCase()&&"auto"!==y?!0:!1;var G=[];y?(this.option.slidesPerGroup=1,this.timer=null,this.option.on={slideNextTransitionStart:function(){var Y=this;0===(this.realIndex-1)%this.group&&this.slideTo(this.activeIndex+ (this.group-1));var wa=!1;G.forEach(function(Ma){Y.realIndex===Ma&&(wa=!0)});wa&&this.slideNext();this.slideChangeHandler&&(this.timer&&clearTimeout(this.timer),this.timer=setTimeout(function(){Y.slideChangeHandler(Y.sw,Y.sw.realIndex)},200))},slidePrevTransitionStart:function(){var Y=this;0===(this.realIndex+1)%this.group&&this.slideTo(this.activeIndex-(this.group-1));var wa=!1;G.forEach(function(Ma){Y.realIndex===Ma&&(wa=!0)});wa&&this.slidePrev();this.slideChangeHandler&&(this.timer&&clearTimeout(this.timer), this.timer=setTimeout(function(){Y.slideChangeHandler(Y.sw,Y.sw.realIndex)},200))}}):this.option.pagination&&(this.option.pagination.clickable=!0);this.option.autoHeight&&(this.el.containerEl.find(this.selector.swiperWrapper).css({transition:"all ease-out","-o-transition":"all ease-out","-ms-transition":"all ease-out","-moz-transition":"all ease-out","-webkit-transition":"all ease-out"}),this.option.on.touchStart=function(){m.slideResize()});var P=!1;this.option.freeMode&&(this.option.on.touchEnd= function(){P=!0});this.option.on.slideChangeTransitionEnd=function(){m.slideChangeTransitionEndHandler&&m.slideChangeTransitionEndHandler(m.sw,m.sw.realIndex);m.slideAccessibility();P||m.customFocus();P=!1};this.sw=new n(this.el.containerEl.target[0],this.option);this.sw.init();this.option.autoplay?(this.el.autoPlayBtnEl.attr("an-tr",this.option.autoplay["an-tr"]),this.el.autoPlayBtnEl.attr("an-ca",this.option.autoplay["an-ca"]),this.el.autoPlayBtnEl.attr("an-ac",this.option.autoplay["an-ac"]),this.el.autoPlayBtnEl.attr("an-la", this.option.autoplay["an-la"]),!this.el.indicatorEl&&this.el.autoPlayBtnEl&&this.handler.renderIndicator()):this.el.autoPlayBtnEl.hide();if(this.option.pagination){this.handler.setupBullet();if(y){var X=0,ca=a(this.option.pagination.el).find(".swiper-pagination-bullet");ca.target.forEach(function(Y,wa){0===wa%m.group||wa===ca.target.length-1?(Y.setAttribute("data-type-group-index",wa),Y.setAttribute("data-type-clickid",X),X++):(G.push(wa),Y.setAttribute("disabled","false"))});this.el.componentEl.find(this.selector.indicatorItem+ '[disabled\x3d"false"]').remove();this.el.componentEl.find(this.selector.indicatorItem).on("click",function(Y){Y=parseInt(a(Y.target).closest(m.selector.indicatorItem).attr("data-type-group-index"),10);m.sw.slideToLoop(Y)});var qa=parseInt(this.getNowPerView(),0);a(this.option.pagination.el).find(".swiper-pagination-bullet").target.forEach(function(Y,wa){var Ma="",$a=parseInt(Y.getAttribute("data-type-slide-index"),10);if(m.option.realSlidesPerView){for(var rb=$a;rb<$a+qa;rb++)Ma+=" "+m.headlineArr[rb]; a(Y).find(".hidden").innerHTML("Slide "+(wa+1)+":"+Ma)}else{for(wa=$a;wa<$a+qa;wa++)Ma=wa!==$a+qa-1?Ma+(m.headlineArr[wa]+", "):Ma+(""+m.headlineArr[wa]);a(Y).find(".hidden").innerHTML(""+Ma)}})}this.option.pagination&&setTimeout(function(){m.sw.pagination&&m.sw.pagination.bullets&&(m.handler.renderIndicator(),m.sw.on("paginationUpdate",m.handler.paginationUpdateHandler),m.sw.on("paginationRender",m.handler.paginationRenderHandler))},100)}this.option.autoplay&&(this.autoPlayCheck=this.sw.autoplay.running, y=null,y=this.el.componentEl.target.length?this.el.componentEl.find(this.swiperStopEle):this.el.containerEl,this.focusInCheck=!1,y.off("mouseover",this.handler.focusInHandler).on("mouseover",this.handler.focusInHandler),y.off("mouseleave",this.handler.focusOutHandler).on("mouseleave",this.handler.focusOutHandler),y.off("focusin",this.handler.focusInHandler).on("focusin",this.handler.focusInHandler),y.off("focusout",this.handler.focusOutHandler).on("focusout",function(Y){setTimeout(function(){a(document.activeElement).target[0]!== m.el.autoPlayBtnEl.target[0]&&m.handler.focusOutHandler(Y)},300)}));if(this.option.loop)this.sw.slideToLoop(this.activeSlide,0);else if(this.sw.slideTo(this.activeSlide,0),this.el.indicatorEl&&"none"!==this.el.autoPlayBtnEl.css("display"))this.sw.on("slideChange",function(){m.sw.isEnd&&!m.el.autoPlayBtnEl.hasClass("indicator__controls--play")&&(m.clickCheck=!0,m.handler.autoPlayHandler())});this.slideAccessibility();this.el.nextEl.off("click").on("click",function(){m.sw.isEnd&&!m.option.loop&&m.el.prevEl.focus()}); this.el.prevEl.off("click").on("click",function(){m.sw.isBeginning&&!m.option.loop&&m.el.nextEl.focus()});this.el.indicatorScreenNext.off("click").on("click",function(){m.sw.slideNext();m.sw.isEnd&&!m.option.loop&&m.el.indicatorScreenPrev.focus()});this.el.indicatorScreenPrev.off("click").on("click",function(){m.sw.slidePrev();m.sw.isBeginning&&!m.option.loop&&m.el.indicatorScreenNext.focus()});this.sw.on("slideChange",function(){b.setLazyLoad();!1===C()&&r()});this.sw.on("transitionEnd",function(){b.setLazyLoad()}); this.sw.on("reachBeginning",function(){r("beginning")});this.sw.on("reachEnd",function(){r("end")});this.sw.on("breakpoint",function(){f()});this.sw.on("update",function(){f()});this.sw.on("init",function(){m.slideInitEndHandler&&m.slideInitEndHandler()});f()}}};h.prototype.slideStart=function(){this.sw&&(this.autoPlayCheck=!0,this.sw.autoplay.start(),this.handler.autoPlayBtnSetup(!1))};h.prototype.slideStop=function(){this.sw&&(this.autoPlayCheck=!1,this.sw.autoplay.stop(),this.handler.autoPlayBtnSetup(!0))}; h.prototype.getNowPerView=function(){var f=0,m=this.option.breakpoints;m&&Object.keys(m).forEach(function(p){p=parseInt(p,0);e.getViewPort().width>p&&f=e.getViewPort().width?(this.resize(),this.init()):this.remove();this.slideAccessibility()};h.prototype.bindEvents=function(){this.$qwindow.off("resize",this.handler.resize).on("resize",this.handler.resize);this.$qwindow.off("change", this.handler.resize).on("change",this.handler.resize);this.option.viewMode||this.init();this.handler.resize()};h.prototype.slideUpdate=function(f){void 0!==f&&(this.option=e.extend(this.option,f));this.update()};h.prototype.destroy=function(){!1!==this.sw&&(this.sw.destroy(),this.$qwindow.off("resize",this.handler.resize),h.instances.has(this.el.containerEl.target[0])&&h.instances.delete(this.el.containerEl.target[0]))};h.count=0;h.instances=new WeakMap;window.sg.components.registerClass("swiper", h);window.sg.common.swiperManager=d;a.ready(d.initAll);a.load(d.update)})(); (function(){var a=0,n=function(){var k=window.document.createEvent("UIEvents");k.initUIEvent("resize",!0,!1,window,0);window.dispatchEvent(k)},g=function(k){k?60window.outerWidth&&534window.outerHeight&& 768<=window.outerWidth&&768>window.innerWidth?"width\x3d768"!==d&&(k.setAttribute("content","width\x3d768"),a=0,requestAnimationFrame(function(){return g(!0)})):window.outerWidth>window.outerHeight&&"width\x3d768"===d||"width\x3ddevice-width,initial-scale\x3d1.0,minimum-scale\x3d1.0"===d||(k.setAttribute("content","width\x3ddevice-width,initial-scale\x3d1.0,minimum-scale\x3d1.0"),a=0,requestAnimationFrame(function(){return g(!1)}))},b=function(k){window.outerWidth!==k||120<=a?e():(a++,k=window.outerWidth, requestAnimationFrame(function(){return b(k)}))};window.addEventListener("resize",e);window.addEventListener("orientationchange",function(){a=0;b(window.outerWidth)});"loading"===document.readyState?document.addEventListener("DOMContentLoaded",e):e()})(); (function(){var a=window.sg.common.$q,n=window.sg.common.utils.closest,g=function(b,k){this.el=b;this.src=k;Array.isArray(this.src)||(this.src=[this.src]);this.init()};g.prototype.init=function(){var b=this;this.src.forEach(function(k){b.loadSvgSprite(k)});this.setSvgs(this.el)};g.prototype.load=function(b){b&&0>this.src.indexOf(b)&&(this.src.push(b),this.loadSvgSprite(b))};g.prototype.loadSvgSprite=function(b){var k=new XMLHttpRequest;k.open("GET",b);k.send();b=function(){if(4===k.readyState){var d= document.createElement("div");d.innerHTML=k.responseText;if(d=d.querySelector("svg"))d.setAttribute("aria-hidden","true"),d.style.position="absolute",d.style.width="0",d.style.height="0",document.body.insertBefore(d,document.body.firstChild)}};k.onreadystatechange=b;b()};g.prototype.setSvgs=function(b){b=b.querySelectorAll("use");[].concat($jscomp.arrayFromIterable(b)).forEach(function(k){var d=k.getAttribute("xlink:href")||k.getAttribute("href"),h=n(k,"svg");d&&h&&(d="#"+d.split("#")[1],k.setAttribute("xlink:href", d),k.setAttribute("href",d))})};g.instance=null;var e={init:function(){g.instance=new g(document,"/etc.clientlibs/samsung/clientlibs/consumer/global/clientlib-common/resources/images/svg-sprite.svg")},load:function(b){g.instance&&g.instance.load(b)},setSvgs:function(b){b=void 0===b?document:b;g.instance&&g.instance.setSvgs(b)},redrawSvg:function(b){var k=b.parentElement;if(k){var d=[].concat($jscomp.arrayFromIterable(k.childNodes)).indexOf(b);k.removeChild(b);var h=document.createElement("div");h.appendChild(b); h.innerHTML=h.innerHTML;b=h.firstChild;k.childNodes[d]?k.insertBefore(b,k.childNodes[d]):k.appendChild(b)}},redrawSvgs:function(b){b=void 0===b?document:b;b=b.querySelectorAll("svg");[].concat($jscomp.arrayFromIterable(b)).forEach(function(k){e.redrawSvg(k)})},redrawAbnormalSvgs:function(b){b=void 0===b?document:b;var k=b.querySelectorAll("svg");[].concat($jscomp.arrayFromIterable(k)).forEach(function(d){"http://www.w3.org/2000/svg"!==b.namespaceURI&&e.redrawSvg(d)})},update:function(b){b=void 0=== b?document:b;e.setSvgs(b);e.redrawSvgs(b)},updateAbnormalSvgs:function(b){b=void 0===b?document:b;e.setSvgs(b);e.redrawAbnormalSvgs(b)}};window.sg.common.icon=e;a.ready(e.init)})();(function(){window.sg=window.sg||{};window.sg.authoring=window.sg.authoring||{};window.sg.authoring.raiseEvent={domContentLoaded:function(){var a=document.createEvent("Event");a.initEvent("DOMContentLoaded",!0,!0);return window.document.dispatchEvent(a)}}})(); (function(){var a=window.sg.common.$q,n=window.sg.common.constants.KEY_CODE,g=window.sg.common.scrollbar,e=function(k,d){var h=this;d=void 0===d?-1:d;this.els={el:a(k),selectEl:null,btnEl:null,btnTextEl:null,listWrapEl:null,listEl:null,itemEls:null,docEl:a(document)};this.els.selectEl=this.els.el.find("select");this.els.selectEl.hide();this.options=[].concat($jscomp.arrayFromIterable(this.els.selectEl.target[0].options));this.selectedIndex=d;this.isDisabled=this.isOpen=!1;this.itemMappedIndices=[]; this.itemMappedIndicesExclDisabled=[];this.eventHandler={docEl:{click:function(f){f.preventDefault();f.target.hasClass("dropdown__option")||h.close()}},el:{keydown:function(f){if(!h.isDisabled)switch(f.keyCode){case n.TAB:h.els.el.removeClass("selected");break;case n.ENTER:case n.SPACE:-1===h.selectedIndex&&(h.selectedIndex=0,h.selectItem(h.selectedIndex));h.keydown(f);break;case n.PAGE_UP:case n.HOME:h.selectedIndex=0;h.selectItem(h.selectedIndex,f);break;case n.PAGE_DOWN:case n.END:h.selectedIndex= h.els.itemEls.target.length-1;h.selectItem(h.selectedIndex,f);break;case n.LEFT:case n.UP:-1!==h.selectedIndex&&h.selectNext(-1,f);break;case n.RIGHT:case n.DOWN:-1!==h.selectedIndex?h.selectNext(1,f):h.selectItem(0,f);break;default:h.selectItem(h.getSelectedItemIndex(f.keyCode),f)}}},btnEl:{click:function(f){f.preventDefault();f.stopPropagation();h.isDisabled||(h.els.el.toggleClass("selected"),h.els.el.hasClass("selected")?(h.els.docEl.off("click",h.eventHandler.docEl.click),h.els.docEl.on("click", h.eventHandler.docEl.click),h.open()):h.close())}},selectEl:{change:function(f){h.selectedIndex=f.target.selectedIndex;h.els.btnTextEl.text(f.target.options[h.selectedIndex].text);h.select()}},itemEls:{click:function(f){f.preventDefault();f=a(f.target);f.hasClass("disabled")||(f=f.closest("li").index(),h.change(f),h.close(),h.els.btnEl.focus())}}};this.init()};e.prototype.init=function(){e.instances.has(this.els.el.target[0])||(e.instances.set(this.els.el.target[0],this),this.setElements(),this.bindEvents(), this.update(),-1h?this.itemMappedIndicesExclDisabled[0]:h>this.itemMappedIndicesExclDisabled.length-1?this.itemMappedIndicesExclDisabled[this.itemMappedIndicesExclDisabled.length- 1]:this.itemMappedIndicesExclDisabled[h];-1!==k&&(this.els.itemEls.target[k].focus(),this.change(k));d&&d.preventDefault()};e.prototype.selectItem=function(k,d){if(!(0>k)){var h=-1;0===k?h=this.itemMappedIndicesExclDisabled[0]:k===this.itemMappedIndices.length-1?h=this.itemMappedIndicesExclDisabled[this.itemMappedIndicesExclDisabled.length-1]:-1!==this.itemMappedIndices[k]&&(h=k);-1!==h&&(this.els.itemEls.target[h].focus(),this.change(h));d&&d.preventDefault()}};e.prototype.getSelectedItemIndex=function(k){var d= this,h=/[A-Z]/,f=k-48*Math.floor(k/48),m=String.fromCharCode(96<=k?f:k),p=!0,y=-1;k=this.selectedIndex;this.els.itemEls.target.forEach(function(t,v){var r=t.textContent.substring(0,1).toUpperCase();t=a(t).hasClass("disabled");h.test(r)&&r===m&&!t&&-1===y&&(y=v);h.test(r)&&r===m&&d.selectedIndexthis.scrollPos||this.isAnim?this.el.classList.remove("show"):this.el.classList.add("show"),this.scrollPos=b)};e.prototype.scrollToTop=function(){var b=document.body.scrollTop||document.documentElement.scrollTop,k=function(d){window.scrollTo(0,b-b*d);1===d&&g.setDisabled(!1)};this.isAnim||(g.setDisabled(),this.animate(k))};e.prototype.animate= function(b){var k=this,d=Date.now();this.isAnim=!0;var h=function(){var f=(Date.now()-d)/k.duration;1 this.maxDotNum&&this.els.indicatorListWrapEl.classList.add("dot-more")};t.prototype.bindEvents=function(){var v=this;[].concat($jscomp.arrayFromIterable(this.els.indicatorEls)).forEach(function(r,C){k(r,"click",function(){return v.select(C)});k(r,"mouseenter",function(){return v.handleMouseEnter(C)});k(r,"mouseleave",function(){return v.handleMouseLeave(C)});k(r,"focusin",function(){v.handleMouseEnter(C);v.isDotSrollable||v.setDotsFocused(C)});k(r,"focusout",function(){v.handleMouseLeave(C)})});this.option.control&& k(this.els.controlEl,"click",function(){v.handleControl()});this.resize=this.resize.bind(this);window.addEventListener("resize",this.resize)};t.prototype.unBindEvents=function(){[].concat($jscomp.arrayFromIterable(this.els.indicatorEls)).forEach(function(v){d(v,"click");d(v,"mouseenter");d(v,"mouseleave");d(v,"focusin");d(v,"focusout")});this.option.control&&d(this.els.controlEl,"click");window.removeEventListener("resize",this.resize)};t.prototype.resize=function(){var v=g();this.device!==v&&(this.device= v,this.setType(),"label-indicator"===this.type&&(this.els.indicatorListEl.style.transform="",[].concat($jscomp.arrayFromIterable(this.els.indicatorEls)).forEach(function(r){r.removeAttribute("tabindex");r.removeAttribute("aria-hidden");r.style.visibility=""})),this.select(this.selectedIndex,!0));this.setDots()};t.prototype.handleMouseEnter=function(v){v=this.els.indicatorEls[v];v.classList.add("indicator__item--hover");v.classList.remove("indicator__item--not-hover")};t.prototype.handleMouseLeave= function(v){v=this.els.indicatorEls[v];var r=v.matches?v.matches(":hover"):v.msMatchesSelector(":hover"),C=v.matches?v.matches(":focus"):v.msMatchesSelector(":focus");r||C||(v.classList.remove("indicator__item--hover"),v.classList.add("indicator__item--not-hover"))};t.prototype.handleControl=function(v){v=void 0===v?null:v;var r="";if(v?!this.playing&&"play"===v:!this.playing)this.control="play",-1v)this.option.control&&this.pause(),this.selectedIndex=v;else{this.selectedIndex=v;this.els.indicatorEls[this.selectedIndex].classList.contains("indicator__item--active")|| this.els.indicatorEls[this.selectedIndex].classList.add("indicator__item--active");"tablist"===this.role?this.els.indicatorEls[this.selectedIndex].setAttribute("aria-selected","true"):this.els.indicatorEls[this.selectedIndex].setAttribute("title","selected");C&&h(this.els.el,"indicatorReiterate");h(this.els.el,"indicatorMove",this.selectedIndex);this.inTransition=!0;var X=function(Y){Y=void 0===Y?G.transitionDuration:Y;G.transitionTimer=setTimeout(function(){G.elapseTime=0;G.inTransition=!1;G.selectedIndex=== v&&("play"===G.control||!G.option.autoRolling&&G.option.play)&&G.play()},0wa.readyState&&!G.videosLoaded[G.selectedIndex]){var Ma=Date.now(),$a=function(){wa.removeEventListener("canplaythrough",$a);wa.currentTime=0;G.option.indicators[G.selectedIndex]===parseInt(G.els.indicatorEls[G.selectedIndex].dataset.indicatorDelay)&& (G.option.indicators[G.selectedIndex]=1E3*wa.duration);G.videosLoaded[G.selectedIndex]=!0;X(G.transitionDuration-(Date.now()-Ma+200*ca))};wa.addEventListener("canplaythrough",$a)}else wa.currentTime=0,G.option.indicators[G.selectedIndex]===parseInt(G.els.indicatorEls[G.selectedIndex].dataset.indicatorDelay)&&(G.option.indicators[G.selectedIndex]=1E3*wa.duration),G.videosLoaded[G.selectedIndex]=!0,X();else 5>ca&&setTimeout(function(){qa(Y);ca++},200)};this.els.indicatorPageEls[this.selectedIndex]? (r=this.els.videoWrapEls[this.selectedIndex]?this.els.videoWrapEls[this.selectedIndex]:this.els.videoWrapEls[this.selectedIndex]=this.els.indicatorPageEls[this.selectedIndex].querySelector(".indicator-background .video"))?"TRUE"===r.dataset.videoEmbed.toUpperCase()&&"FALSE"===r.dataset.imageDefault.toUpperCase()?qa(r):X():X():X();-1 this.maxDotNum){var r=this.els.indicatorEls[0].getBoundingClientRect().width+parseFloat(this.isRtl?getComputedStyle(this.els.indicatorEls[0]).marginLeft:getComputedStyle(this.els.indicatorEls[0]).marginRight),C=this.firstIndex*r;if(this.isDotSrollable){var G=m(this.els.indicatorListEl);r=this.els.indicatorListEl.scrollWidth-Math.floor(this.els.indicatorListEl.getBoundingClientRect().width);C>r&&(C=r);C=this.isRtl?r-C-G:C-G;r=function(){if(!v.isAnim){var P=Date.now();v.isAnim=!0;var X=function(){var ca= (Date.now()-P)/v.duration;1this.maxDotNum&&(v>this.lastIndex?(this.firstIndex=v-6,this.lastIndex=v,this.moveDots()):vthis.maxDotNum){var v=0>this.selectedIndex?0:this.selectedIndex;v>this.lastIndex?(this.firstIndex=v-6,this.lastIndex=v):vthis.lastIndex-2){var r=2-(this.lastIndex-v),C=this.option.indicators.length-this.lastIndex-1;this.firstIndex+=C>=r?r:C;this.lastIndex+=C>=r?r:C}else v=r?r:C,this.lastIndex-=C>=r?r:C);this.moveDots();for(r=0;rthis.lastIndex)this.els.indicatorDotEls[r].style.transform="scale("+this.dotSizeSmall+")";this.els.indicatorDotEls[v].style.transform="scale("+this.dotSizeLarge+")";if(v>this.lastIndex-3){for(r=this.firstIndex+2;r=r&&(this.els.indicatorDotEls[v+1].style.transform="scale("+this.dotSizeMedium+")"));this.els.indicatorDotEls[v+2]&&(r=parseFloat(this.els.indicatorDotEls[v+ 2].style.transform.replace(/[^\d.]/g,"")),this.dotSizeSmall>=r&&(this.els.indicatorDotEls[v+2].style.transform="scale("+this.dotSizeSmall+")"))}if(v=r&&(this.els.indicatorDotEls[v-1].style.transform="scale("+this.dotSizeMedium+")"));this.els.indicatorDotEls[v-2]&&(r=parseFloat(this.els.indicatorDotEls[v-2].style.transform.replace(/[^\d.]/g,"")),this.dotSizeSmall>=r&&(this.els.indicatorDotEls[v- 2].style.transform="scale("+this.dotSizeSmall+")"))}}};t.prototype.setIndicatorDelay=function(v,r){this.option.indicators[v]=r};t.prototype.play=function(){var v=this;this.inTransition||(this.option.control&&(this.els.controlEl.classList.remove("indicator__controls--play"),this.els.controlHiddenEl.innerHTML="stop"),this.playing=!0,this.els.videoEls[this.selectedIndex]&&!this.els.videoEls[this.selectedIndex].ended&&this.els.videoEls[this.selectedIndex].play(),this.delay=this.option.indicators[this.selectedIndex]- this.elapseTime,0=this.delay?(h(this.els.el,"indicatorDelayEnd",{index:this.selectedIndex}),this.option.autoRolling&&(v===this.option.indicators.length-1?this.option.infiniteRolling?this.select(0,!1,!0):this.select(-1):this.select(v+1))):("label-indicator"===this.type&&(C=(this.elapseTime+C)/this.option.indicators[v],1window.devicePixelRatio||1===b.length?b[0]:b[1]): "desktop"===e?(b=this.els.desktopSourceEl.getAttribute("srcset").split(","),b=1.5>window.devicePixelRatio||1===b.length?b[0]:b[1]):"desktop-over"===e&&(b=this.els.desktopOverSourceEl.getAttribute("srcset").split(","),b=1.5>window.devicePixelRatio||1===b.length?b[0]:b[1]);b=b.trim().split(" ")[0];b!==this.els.imgEl.src&&(this.els.imgEl.src=b);this.els.imgEl.dataset.desktopAlt&&("mobile"===e?this.els.imgEl.setAttribute("alt",this.els.imgEl.dataset.mobileAlt):this.els.imgEl.setAttribute("alt",this.els.imgEl.dataset.desktopAlt)); this.els.imgEl.dataset.targetDevice=e}};n.prototype.setResponsiveAlt=function(){var e=this.getTargetDevice();this.els.imgEl.dataset.targetDevice!==e&&("mobile"===e?this.els.imgEl.setAttribute("alt",this.els.imgEl.dataset.mobileAlt):this.els.imgEl.setAttribute("alt",this.els.imgEl.dataset.desktopAlt),this.els.imgEl.dataset.targetDevice=e)};n.prototype.getTargetDevice=function(){var e=window,b="inner";"innerWidth"in window||(b="client",e=document.documentElement||document.body);e=e[b+"Width"];return 768> e?"mobile":768<=e&&1366>e?"desktop":"desktop-over"};n.instances=new WeakMap;var g={initAll:function(){[].concat($jscomp.arrayFromIterable(document.querySelectorAll(".first-image"))).forEach(function(e){n.instances.has(e)||new n(e)})}};window.sg.common.firstImage=g;a.ready(g.initAll)})(); (function(){var a=window.sg.common.$q,n=window.sg.common.constants.KEY_CODE,g=window.sg.common.scrollbar,e=window.sg.common.utils.getCurrentDevice,b=window.sg.common.utils.getMobileOS,k=window.sg.common.utils.detectTransitionEndEvent,d=window.sg.common.utils.closest,h=window.sg.common.utils.isVisible,f=window.sg.common.icon,m=function(y,t){var v=this;t=void 0===t?-1:t;this.els={el:a(y),selectEl:null,fieldEl:null,fieldTextEl:null,listWrapEl:null,listEl:null,scrollWrapEl:null,itemWrapEls:null,itemEls:null, textFiledErrorTextEl:null,docEl:a(document),winEl:a(window)};this.handler={docEl:{click:function(r){v.isDisabled||(r.preventDefault(),d(r.target,".menu")!==v.els.el.target[0]&&v.close())}},el:{keydown:function(r){if(!v.isDisabled)switch(r.keyCode){case n.TAB:case n.ESC:v.isOpen&&v.close();break;case n.PAGE_UP:case n.HOME:v.index=0;v.selectItem(v.index,r);break;case n.PAGE_DOWN:case n.END:v.index=v.els.itemEls.target.length-1;v.selectItem(v.index,r);break;case n.LEFT:case n.UP:v.selectNext(-1,r);break; case n.RIGHT:case n.DOWN:v.selectNext(1,r);break;case n.ENTER:case n.SPACE:"mobile"===v.getCurrentDevice()&&r.target===v.els.selectEl.target[0]&&-1===v.index&&(v.index=0,v.selectItem(v.index));break;default:v.selectItem(v.getSelectedItemIndex(r.keyCode),r)}}},fieldEl:{click:function(r){r.preventDefault();v.isDisabled||(v.isOpen?v.close():v.open())}},selectEl:{change:function(r){var C=v.els.selectEl.find("option"),G=r.target.selectedIndex;C.target.forEach(function(P,X){G!==X&&P.removeAttribute("selected")}); v.index=G;-1t.maxItemNum){for(var C=0;Cr&&Gthis.focusedIndex?-1!==this.index?this.itemMappedIndicesExclDisabled[0]:0:this.focusedIndex;var v=this.itemMappedIndices[this.focusedIndex];v+=y;y=0>v?this.itemMappedIndicesExclDisabled[0]:v>this.itemMappedIndicesExclDisabled.length- 1?this.itemMappedIndicesExclDisabled[this.itemMappedIndicesExclDisabled.length-1]:this.itemMappedIndicesExclDisabled[v];-1!==y&&("desktop"===this.getCurrentDevice()&&this.els.itemEls.target[y].focus(),this.focusedIndex=y);t&&t.preventDefault()};m.prototype.selectItem=function(y,t){if(!(0>y)){var v=-1;0===y?v=this.itemMappedIndicesExclDisabled[0]:y===this.itemMappedIndices.length-1?v=this.itemMappedIndicesExclDisabled[this.itemMappedIndicesExclDisabled.length-1]:-1!==this.itemMappedIndices[y]&&(v= y);-1!==v&&("desktop"===this.getCurrentDevice()&&this.els.itemEls.target[v].focus(),this.change(v));t&&t.preventDefault()}};m.prototype.getSelectedItemIndex=function(y){var t=this,v=/[A-Z]/,r=y-48*Math.floor(y/48),C=String.fromCharCode(96<=y?r:y),G=!0,P=-1;y=this.index;this.els.itemEls.target.forEach(function(X,ca){var qa=X.textContent.substring(0,1).toUpperCase();X=a(X).closest(".menu__list-option-wrap").hasClass("disabled");v.test(qa)&&qa===C&&!X&&-1===P&&(P=ca);v.test(qa)&&qa===C&&t.indexthis.el.capaContainer.outerWidth()&&this.el.capaItemRadioActive.index()===this.slideCnt-1?this.lastCnt:0;this.maxPos=this.el.moveWapper.target[0].scrollWidth-8<=this.el.capaContainer.outerWidth()? 0:this.el.moveWapper.target[0].scrollWidth-this.el.capaContainer.outerWidth();this.slideGradientWidth=0===this.el.component.find(".option-selector__button-prev").target.length?0:parseInt(window.getComputedStyle(this.el.component.find(".option-selector__button-prev").target[0],":after").getPropertyValue("width"));this.slideLength=0===this.el.component.find(this.selector.swiperSlide).target.length?0:this.el.component.find(this.selector.swiperSlide).target.length-1;this.slidePadding=0;this.el.colorName= this.el.component.parent(".option-selector").find(this.selector.colorName);this.el.tooltipCta=this.el.colorName.find(this.selector.tooltipCta);this.el.closeCta=this.el.colorName.find(this.selector.closeCta);this.el.tooltipWrap=this.el.colorName.find(this.selector.tooltipWrap);this.el.slideButtonList=this.el.component.find(this.selector.slideButtonList);this.resizeTimer=this.timer=null;this.reInitFlag=this.initFlag=this.activeCheck=!1;this.direction=(this.rtlFlag="rtl"===a("body").css("direction")? !0:!1)?1:-1;this.startActiveIdx=null;this.isCapacity=this.el.component.target[0].classList.contains("option-selector__wrap--capacity");this.checkedActive=null;this.tooltipFlag=!1;"none"!==this.el.moveWapper.css("transform")?this.moveLength=Math.abs(Number(this.el.moveWapper.css("transform").match(/-?[\d\\.]+/g)[4])):this.moveLength=0;this.el.swiperSlide.target.forEach(function(h,f){a(h).hasClass("active-slide")&&(d.startActiveIdx=f)});this.calcPos=this.rtlFlag?-1*parseInt(this.el.moveWapper.css("margin-right"), 10):-1*parseInt(this.el.moveWapper.css("margin-left"),10);this.hiddenText=this.el.tooltipCta.find(".hidden");this.globalText=0this.el.capaContainer.outerWidth()&&0!==this.maxPos?(this.el.swiperNext.show(),this.el.swiperPrev.show(),this.el.component.hasClass("option-selector__wrap--wide")&&this.el.component.removeClass("no-swiper-mode"),this.el.component.addClass("swiper-mode"),0=this.maxPos?(this.el.swiperNext.addClass(this.selector.btnDisabledCls),this.el.swiperNext.attr("aria-disabled","true"),this.el.swiperNext.attr("tabindex","-1"),document.activeElement===this.el.swiperNext.target[0]&&this.el.swiperNext.hasClass("option-selector__button--disabled")&&this.el.swiperPrev.focus()):(this.el.swiperNext.removeClass(this.selector.btnDisabledCls), this.el.swiperNext.attr("aria-disabled","false"),this.el.swiperNext.attr("tabindex","0"))):(this.el.swiperNext.removeClass(this.selector.btnDisabledCls),this.el.swiperNext.attr("aria-disabled","false"),this.el.swiperNext.attr("tabindex","0"),this.el.swiperPrev.addClass(this.selector.btnDisabledCls),this.el.swiperPrev.attr("aria-disabled","true"),this.el.swiperPrev.attr("tabindex","-1"),document.activeElement===this.el.swiperPrev.target[0]&&this.el.swiperPrev.hasClass("option-selector__button--disabled")&& this.el.swiperNext.focus())):(this.el.component.removeClass("swiper-mode"),this.el.component.hasClass("option-selector__wrap--wide")&&this.el.component.addClass("no-swiper-mode"),this.el.swiperNext.hide(),this.el.swiperNext.attr("aria-disabled","true"),this.el.swiperNext.attr("tabindex","-1"),this.el.swiperPrev.hide(),this.el.swiperPrev.attr("aria-disabled","true"),this.el.swiperPrev.attr("tabindex","-1"))};b.prototype.setActiveCnt=function(){!0===this.initFlag&&("none"===this.el.moveWapper.css("transform")? this.activeCnt=this.el.component.find("input:checked").closest(this.selector.swiperSlide).index():this.activeCnt=null);this.initFlag=!1};b.prototype.setSlidePos=function(d){d=void 0===d?null:d;this.desktopPerView||this.mobilePerView?(this.calcPadding(),this.maxPos=this.el.moveWapper.target[0].scrollWidth-8<=this.el.capaContainer.outerWidth()?0:this.el.moveWapper.target[0].scrollWidth-this.el.capaContainer.outerWidth()-Math.floor(this.slidePadding/2)):(this.el.component.addClass("option-selector__wrap--wide"), this.calcPos=this.rtlFlag?-1*parseInt(this.el.moveWapper.css("margin-right"),10):-1*parseInt(this.el.moveWapper.css("margin-left"),10),this.maxPos=this.el.moveWapper.target[0].scrollWidth-8<=this.el.capaContainer.outerWidth()?0:this.el.moveWapper.target[0].scrollWidth-this.el.capaContainer.outerWidth()-2*this.calcPos,0>=this.maxPos&&(this.maxPos=0,this.el.component.removeClass("swiper-mode"),this.el.component.addClass("no-swiper-mode")));this.el.component.hasClass("swiper-mode")?this.setSlideMove(d): this.el.moveWapper.css({transform:""})};b.prototype.setSlideMove=function(d){var h=this;d=void 0===d?null:d;var f=this.el.component.find("input:checked").closest(this.selector.swiperSlide).index(),m=this.el.component.find(this.selector.swiperSlide).outerWidth();this.slideGradientWidth=0===this.el.component.find(".option-selector__button-prev").target.length?0:parseInt(window.getComputedStyle(this.el.component.find(".option-selector__button-prev").target[0],":after").getPropertyValue("width"));this.calcPadding(); this.reInitFlag||(null!==d?null!==this.activeCnt?0!==f&&(this.el.component.hasClass("option-selector__wrap--wide")?this.moveLength=m*this.activeCnt>this.maxPos+this.slideGradientWidth?this.maxPos:m*this.activeCnt-this.slideGradientWidth:n.MOBILEthis.maxPos?this.maxPos:m*this.activeCnt-this.slidePadding:this.el.component.hasClass("option-selector__wrap--color-chip")&&(this.moveLength=m*this.activeCnt>this.maxPos+this.slideGradientWidth?this.maxPos: m*this.activeCnt)):this.activeCnt=Math.ceil(this.moveLength/m):(this.checkedActive||"none"===this.el.moveWapper.css("transform")&&0===this.moveLength&&0this.maxPos+this.slideGradientWidth?this.maxPos:m*f-this.slideGradientWidth:n.MOBILEthis.maxPos?this.maxPos:m*f-this.slidePadding:this.el.component.hasClass("option-selector__wrap--color-chip")&&(this.moveLength=m*f> this.maxPos+this.slideGradientWidth?this.maxPos:m*f-this.slideGradientWidth+this.slidePadding)));0<=this.moveLength&&this.el.moveWapper.css({transform:"translateX("+this.direction*this.moveLength+"px)"});this.checkedActive=null;this.reInitFlag&&(this.reInitFlag=!1);setTimeout(function(){h.setBtnDisable()},300)};b.prototype.setSwiperWidth=function(){var d=this;this.el.component.target.forEach(function(h){h=a(h);var f=[],m=h.find(d.selector.swiperSlide);m.css({width:""});m.target.forEach(function(C){f.push(a(C).width())}); var p=Math.max.apply(null,f),y=n.MOBILEy?h.find(d.selector.swiperWrap).css({width:h.width()-2+"px"}):h.find(d.selector.swiperWrap).css({width:p*y+2+"px"}),d.calcPadding()):(p*d.slideCnt> d.el.capaContainer.outerWidth()&&d.el.component.addClass("swiper-mode"),d.el.component.addClass("option-selector__wrap--wide"),h.find(d.selector.swiperWrap).css({width:"auto"}));0!==h.find(d.selector.flotingBox).target.length&&h.find(d.selector.flotingBox).css({transition:"none",width:p-v+"px"})})};b.prototype.setHalfSlide=function(d){d=d?a(d.target):a(this.el.slideButtonList.target.filter(function(m){return m.checked}));if(d.target.length){var h=d.closest(this.selector.swiperSlide).index(),f=this.el.swiperSlide.outerWidth()* h;this.el.component.hasClass("swiper-mode")?(this.activeCnt=h,this.el.component.hasClass("option-selector__wrap--wide")?this.moveLength=f>=this.maxPos+this.slideGradientWidth?this.maxPos:f-this.slideGradientWidth:n.MOBILE=this.maxPos+this.slideGradientWidth?this.maxPos:f-this.slidePadding:this.el.component.hasClass("option-selector__wrap--color-chip")?this.moveLength=f>=this.maxPos+this.slideGradientWidth?this.maxPos:f-this.slideGradientWidth+this.slidePadding: this.moveLength=f>=this.maxPos+this.slideGradientWidth?this.maxPos:f,0===h&&(this.moveLength=0),this.el.moveWapper.css({transform:"translateX("+this.direction*this.moveLength+"px)"}),this.setBtnDisable(),this.el.moveWapper.find(".option-selector__color-name.active").removeClass("active"),d.closest(this.selector.swiperSlide).find(".option-selector__color-name").addClass("active")):(this.el.swiperNext.hide(),this.el.swiperNext.attr("aria-disabled","true"),this.el.swiperNext.attr("tabindex","-1"),this.el.swiperPrev.hide(), this.el.swiperPrev.attr("aria-disabled","true"),this.el.swiperPrev.attr("tabindex","-1"))}};b.prototype.optionSlide=function(){var d=this;this.el.swiperNext.target.forEach(function(h){a(h).off("click").on("click",function(){var f=d.el.swiperSlide.outerWidth();d.activeCnt+=1;d.moveLength>=d.el.moveWapper.target[0].scrollWidth-d.el.capaContainer.outerWidth()&&(d.activeCnt=d.lastCnt);d.el.component.hasClass("option-selector__wrap--wide")?d.moveLength=1===d.activeCnt?d.moveLength+f>d.maxPos?d.maxPos: d.moveLength+f-d.slideGradientWidth:d.moveLength+f>d.maxPos?d.maxPos:d.moveLength+f:n.MOBILEd.maxPos?d.maxPos:d.moveLength+f-d.slidePadding:d.moveLength+f>d.maxPos?d.maxPos:d.moveLength+f:d.el.component.hasClass("option-selector__wrap--color-chip")?d.moveLength=d.moveLength+f>d.maxPos?d.maxPos:d.moveLength+f:d.moveLength=1===d.activeCnt?d.moveLength+f>d.maxPos?d.maxPos:d.moveLength+f+d.slidePadding:d.moveLength+f>d.maxPos?d.maxPos: d.moveLength+f;d.el.moveWapper.css({transform:"translateX("+d.direction*d.moveLength+"px)"});d.setBtnDisable()})});this.el.swiperPrev.target.forEach(function(h){a(h).off("click").on("click",function(){var f=d.el.swiperSlide.outerWidth();--d.activeCnt;0>d.activeCnt&&(d.activeCnt=0);f=0=d.moveLength-f?0:d.moveLength-f-d.slideGradientWidth:n.MOBILE=d.moveLength-f?0:d.moveLength-f-d.slidePadding:d.el.component.hasClass("option-selector__wrap--color-chip")?d.moveLength=0>=d.moveLength-f?0:d.moveLength-f-d.slideGradientWidth+d.slidePadding:d.moveLength=0>=d.moveLength-f?0:d.moveLength-f;d.el.moveWapper.css({transform:"translateX("+d.direction*d.moveLength+"px)"});d.setBtnDisable()})})};b.prototype.moveFloting=function(d){if(!(0>=d.target.length)){var h=0;0this.el.flotingBox.closest(".hubble-item-card__option-memory").target.length&&(h=7.5);this.el.flotingBox.css({display:"block",transition:"",left:d.target[0].offsetLeft+h+"px"});this.flotingActive=d.closest(this.selector.swiperSlide)}};b.prototype.resize=function(d){d=void 0===d?null:d;this.setSwiperWidth();this.moveFloting(this.el.component.find(this.selector.capaItemRadio+":checked").closest(this.selector.swiperSlide));n.MOBILEh.handler.heightLimit()?(h.handler.touchEnd(),h.handler.eventClick(f),h.dragging=!1):0!==h.offset.x_new&&(h.dragging=!0,h.handler.setWrapperPos(h.offset.wrapperX-h.offset.x_new))},touchEnd:function(){h.ele.slideWrap.off(h.touchEvents.touchMove,h.handler.touchMove);h.ele.document.off(h.touchEvents.touchMove,h.handler.touchMove);h.ele.document.off(h.touchEvents.touchEnd, h.handler.touchEnd);h.ele.document.off("mouseleave",h.handler.touchEnd);setTimeout(function(){h.dragging=!1},1);var f=e.getSwiper(h.ele.slideContainer.closest(".swiper-container").target[0]);f&&(f.allowTouchMove=!0)},resetPos:function(){h.ele.slideWrap.css({transform:""})},changeHandler:function(f){h.ele.slideList.removeClass("is-checked");h.ele.slideList.find(".blind").remove();var m=a(f.target).closest(h.selector.slideList);f=f.target.querySelector(".hidden")||null;m.addClass("is-checked");m.find("span").after('\x3cspan class\x3d"blind"\x3e'+ h.globalText+"\x3c/span\x3e");null!==f&&0f?f=0:h.ele.slideWrap.outerWidth()-f<=h.ele.slideContainer.outerWidth()-h.containerPadding&&(f=-1*(h.ele.slideContainer.outerWidth()-h.containerPadding-h.ele.slideWrap.outerWidth()));var p={transform:"translateX("+f+"px)"};p.transition=m?"":"none";h.ele.slideWrap.css(p);h.offset.startX=f;f=Math.abs(f)/(h.ele.slideContainer.outerWidth()-h.containerPadding-h.ele.slideWrap.outerWidth())* 100;f=isNaN(f)?0:f;h.percent=Math.abs(Math.floor(f));h.ele.component.removeClass("next");h.ele.component.removeClass("prev");2>=h.percent?h.ele.component.addClass("next"):98>=h.percent?(h.ele.component.addClass("prev"),h.ele.component.addClass("next")):h.ele.component.addClass("prev")}},resize:function(){clearTimeout(h.timer);h.timer=setTimeout(function(){h.handler.timeResize()},10)},timeResize:function(){if(h.ele.slideContainer.width()r.right?this.scrollTo(t.right-r.right+C,v):t.left-CG&&(t=G-C);0>C+t&&(t=-C);G=function(P){f(r.els.tabListEl,C+t*P)};0C?v.classList.add("disabled"):v.classList.contains("disabled")&&v.classList.remove("disabled");C>t-4?r.classList.add("disabled"):r.classList.contains("disabled")&&r.classList.remove("disabled")}};p.prototype.handleTabLeftArrowClick=function(){if("desktop"===n()&&this.isUseArrow||this.isUseArrowMo&& this.isUseArrow){for(var t=this.els.el.getBoundingClientRect().left+this.getCurrentPixelSize(56),v=-1,r=this.els.tabItemTitleEls.length,C=0;Ct||C===r-1){v=C-1;break}}else if(G+4t){v=C;break}}else if(G-4t?t=0:t>v&&(t=v); f(this.els.tabListEl,t)}};p.prototype.handleContentsDragEnd=function(){this.isContentsDragging=!1;document.removeEventListener("mousemove",this.handleContentsDrag);document.removeEventListener("mouseup",this.handleContentsDragEnd)};p.prototype.setSelectDisabled=function(t){this.selectDisabled=t};p.instances=new WeakMap;window.sg.components.registerClass("tab",p);var y={initAll:function(){for(var t=[].concat($jscomp.arrayFromIterable(document.querySelectorAll('.tab:not([data-auto-init\x3d"false"])'))), v=[].concat($jscomp.arrayFromIterable(document.querySelectorAll('.static-content .tab:not([data-auto-init\x3d"false"])'))),r=0;r=y.target.length)){var t=y.find(".wishlist-popup__close");f.start=y.target[0];f.close=t.target[0];f.closefocus=p;y.show();h.window.off("keydown",m.focusLockPop).on("keydown",m.focusLockPop);b.hiddenScroll();y.focus();t.off("click",g).on("click",g)}},hideBoxEvent:function(p){p.keyCode===window.sg.common.constants.KEY_CODE.ESC?a(p.currentTarget||p.target):p.keyCode===window.sg.common.constants.KEY_CODE.ENTER&&n(p.currentTarget||p.target)},hideBoxHover:function(p){p.keyCode===window.sg.common.constants.KEY_CODE.ESC&& (p=document.querySelector(".pd-wishlist-cta:hover"),null!==p&&a(p))},showBoxEvent:function(p){n(p.currentTarget||p.target)},focusLockPop:function(p){p.keyCode===k.KEY_CODE.TAB&&(f.close===document.activeElement&&!1===p.shiftKey?(p.preventDefault(),f.start.focus()):f.start===document.activeElement&&!0===p.shiftKey&&(p.preventDefault(),f.close.focus()))}};window.sg.components.wishlistIcon={reInit:function(){h.component=d(".pd-wishlist-cta");e()},closeWishlistPop:g};d.ready(function(){h.component=d(".pd-wishlist-cta"); e()})})(); (function(){function a(){n(e.section).target.forEach(function(k){b.instance.has(k)||new b(k)})}var n=window.sg.common.$q,g=window.sg.common.lazyLoad,e={section:".srd19-gnb-search"},b=function(k){this.selector={focusLoopingStart:".srd19-gnb-search__looping--start",focusLoopingEnd:".srd19-gnb-search__looping--end",searchInput:".srd19-gnb-search__input",searchInputWrap:".srd19-gnb-search__input-wrap",btnSearch:".nv00-gnb-v3__utility-btn",btnClose:".srd19-gnb-search__close",dim:".srd19-gnb-search__dimmed"};this.class= {searchShowClass:"srd19-gnb-search--show",searchCloseClass:"srd19-gnb-search--close",searchShowBodyClass:"srd19-gnb-search--layer-open",searchInputOverflowClass:"srd19-gnb-search__input--overflow"};this.el={window:n(window),body:n("body"),section:n(k)};this.returnFocusEl=!1;this.handler={handleInputText:this.handleInputText.bind(this),handleResize:this.handleResize.bind(this),close:this.close.bind(this)};this.init();b.instance.set(k,this)};b.prototype.init=function(){this.setElements();this.bindEvents()}; b.prototype.reInit=function(){this.init();this.loadImages()};b.prototype.setElements=function(){this.el.searchInput=this.el.section.find(this.selector.searchInput);this.el.searchInputWrap=this.el.section.find(this.selector.searchInputWrap);this.el.btnClose=this.el.section.find(this.selector.btnClose);this.el.focusLoopingStart=this.el.section.find(this.selector.focusLoopingStart);this.el.focusLoopingEnd=this.el.section.find(this.selector.focusLoopingEnd);this.el.dim=this.el.section.find(this.selector.dim)}; b.prototype.bindEvents=function(){this.el.searchInput.off("input",this.handler.handleInputText).on("input",this.handler.handleInputText);this.el.btnClose.off("click",this.handler.close).on("click",this.handler.close);this.el.window.off("resize",this.handler.handleResize).on("resize",this.handler.handleResize)};b.prototype.show=function(k){var d=this;this.returnFocusEl=k;this.el.body.addClass(this.class.searchShowBodyClass);this.el.section.css({display:"block"});this.el.section.setLayerFocus(this.selector.focusLoopingStart, this.selector.focusLoopingEnd);if("mobile"===window.sg.components.nv00GnbV3.getCurrentDevice()){k=n(".nv00-gnb-v3__inner-wrap");var h=n(".nv00-gnb-v3__close-btn");k.hasClass("show")&&h.trigger("click")}this.el.section.addClass(this.class.searchShowClass);this.loadImages();this.el.dim.off("click").on("click",function(){d.close()});setTimeout(function(){d.el.searchInput.focus()},500)};b.prototype.close=function(){function k(){d.el.body.removeClass(d.class.searchShowBodyClass);d.el.section.off("transitionend", k);setTimeout(function(){d.el.section.css({display:"none"});d.el.section.removeClass(d.class.searchCloseClass);d.returnFocusEl&&d.returnFocusEl.focus()},500)}var d=this;this.el.section.on("transitionend",k);this.el.section.addClass(this.class.searchCloseClass);this.el.section.removeClass(this.class.searchShowClass);this.el.dim.off("click")};b.prototype.loadImages=function(){this.el.section.find(".image").target.forEach(function(k){g.setLazyLoadManually(k)})};b.prototype.handleResize=function(){this.handleInputText()}; b.prototype.handleInputText=function(){this.el.searchInput.target[0].scrollWidth>this.el.searchInput.target[0].clientWidth?this.el.searchInputWrap.addClass(this.class.searchInputOverflowClass):this.el.searchInputWrap.removeClass(this.class.searchInputOverflowClass)};b.instance=new WeakMap;window.sg.components.GnbSearchV2={init:a,reInit:function(){n(e.section).target.forEach(function(k){b.instance.has(k)?b.instance.get(k).reInit():new b(k)})},show:function(k){k=void 0===k?!1:k;n(e.section).target.forEach(function(d){b.instance.has(d)&& b.instance.get(d).show(k)})}};n.ready(a)})(); (function(a){function n(){ja.gnbSearchRecent.addClass("srd19-gnb-search__list-wrap--hide");ja.gnbSearchSuggested.addClass("srd19-gnb-search__list-wrap--hide");ja.gnbSearchNoSuggestions.addClass("srd19-gnb-search__list-wrap--hide");ja.gnbSearchPopular.addClass("srd19-gnb-search__list-wrap--hide")}function g(){n();h();ja.gnbSearchRecent.removeClass("srd19-gnb-search__list-wrap--hide")}function e(){n();0Q.indexOf(ma)&&Q.push(ma);za@#$%&\\=\('"]/gi;"cn"===R&&(na=/[\{\}\[\]?,;:|\)*~`!^_<>@#$%&\\=\("]/gi);na.test(T)&&(T=T.replace(na,""));return T}function wa(T,na){null!=T&&(T=T.replace(new RegExp("("+na+")","i"),"\x3cstrong\x3e$1\x3c/strong\x3e"));return T}function Ma(T,na){if(!T)return"";for(var za,ma=0,sa=T.length,nb= "",Nb=0;Nbna){nb+="...";break}nb+=za}return nb}function $a(T){null!=T&&(T=T.split('"').join("\x26quot;").split("\x3cb\x3e").join("").split("\x3c/b\x3e").join(""));return T}function rb(T){$a(T);return Granite.I18n.get("search.comp.queryInput.searchButton")}function fc(T){var na=T;T.lastIndexOf("/")===T.length-1&&(na=T.substr(0,T.length-1));return na}function Ib(){var T=window.crypto||window.msCrypto;return"10000000-1000-4000-8000-100000000000".replace(/[018]/g, function(na){return(na^T.getRandomValues(new Uint8Array(1))[0]&15>>na/4).toString(16)})}function pb(T){ja.gnbSearchInput.attr("an-la","search bar:keyword submit:"+T)}function H(T){if(db===T)return!1;db=T;return!0}function J(){ja.gnbSearchInput.val("");ja.gnbSearchInput.trigger("input");ja.gnbSearchInputWrap.removeClass("srd19-gnb-search__input--overflow");ja.gnbSearchInput.focus()}var I=a("section.srd19-gnb-search");if(I){var R=a("#siteCode").val(),ba=a.trim(a("#esapiSearchDomain").val()),da=a.trim(a("#apiStageInfo").val()), ea=a("#sc_gnb_searchURL").val(),Z=a("#gPriceCurrency").val(),Ua=a("#sc_gnb_placeholder").val(),Qa=a("#sc_gnb_aiSearchUseYn").val(),Ra=a("#sc_gnb_bdcApiUseYn").val(),Cb=a("#siteCode").val(),cb=a.cookies.getSearchKeyword(),Q=[],db="",Jb=!1,sb=!1,Ub="Y"===Qa,rc="Y"===Ra,yc=null,Xb=(digitalData.page.pageInfo.pageTrack||"").toLowerCase(),fb={keywordKey:"",url:null,data:{}},Db={recommend:4,popular:4,suggest:4},ja={gnbSearchInput:I.find(".srd19-gnb-search__input"),gnbSearchInputWrap:I.find(".srd19-gnb-search__input-wrap"), gnbSearchInputClearButton:I.find(".srd19-gnb-search__clear"),gnbSearchInputSubmitButton:I.find(".srd19-gnb-search__btn-search"),gnbSearchResultWrap:I.find(".srd19-gnb-search__result-wrap"),gnbSearchRecent:I.find(".srd19-gnb-search__recent"),gnbSearchPopular:I.find(".srd19-gnb-search__popular"),gnbSearchSuggested:I.find(".srd19-gnb-search__suggested"),gnbSearchRelatedThumb:I.find(".srd19-gnb-search__related"),gnbSearchRecommendedThumb:I.find(".srd19-gnb-search__recommended"),gnbSearchNoSuggestions:I.find(".srd19-gnb-search__no-suggestions"), gnbSearchCloseBtn:I.find(".srd19-gnb-search__btn--close")};I.on("focus",".srd19-gnb-search__input",function(){var T=qa(a.trim(a(this).val()));if(H(T)||""==T)cb=a.cookies.getSearchKeyword(),n(),T&&0a(window).width()?window.open("https://www.samsung.com/us/expert-chat/?search_instant","newwindow"): window.open("https://www.samsung.com/us/expert-chat/?search_instant","newwindow","height\x3d700, width\x3d440, top\x3d0, left\x3d0, toolbar\x3dno, menubar\x3dno, scrollbars\x3dno, resizable\x3dno, location\x3dno, status\x3dno")});a(function(){if(ea&&""!==ea){Granite.I18n.setLocale(a("#language").val());var T="searchvalue",na={"Content-type":"application/x-www-form-urlencoded"};"us"===R?(T="listType\x3dg\x26searchTerm",fb={type:"GET",uri:"/us/search/global/es/typeahead",domain:"",keywordKey:"searchTerm", data:{searchTerm:""},headers:{}},ea+="/searchMain"):fb=Ub?{type:"POST",uri:"/suggestedSearch",domain:"https://sribsrch.ecom.samsung.com/estoresearch-api/v1/scom",keywordKey:"query",data:{countryCode:R,storeID:Cb,isTyping:"Y",clientCode:"b2c",query:""},headers:na}:{type:"GET",uri:"/search/suggest/v6",domain:fc(ba),keywordKey:"searchValue",data:{siteCd:R,stage:da,searchValue:""},headers:{}};ea=-1=this.data.WISHLIST_MAX_SIZE&&e.splice(0,1);e.push(a)}else e=[a];this.set(g,e,this.getDefaultOption(n))}; $.cookies.getWishListCnt=function(){var a=this.get(this.data.WISHLIST_NAME);return a&&$.isArray(a)?a.length:0};$.cookies.getWishList=function(){var a=this.get(this.data.WISHLIST_NAME);return a&&$.isArray(a)?a:[]};$.cookies.isAddedWishList=function(a){var n=this.get(this.data.WISHLIST_NAME);if(n&&$.isArray(n))for(var g=0,e=n.length;g=e.length?this.del(g,this.getDefaultOption(n)):this.set(g,e,this.getDefaultOption(n)),!0):!1};$.cookies.deleteWishList=function(a){this.del(this.data.WISHLIST_NAME,this.getDefaultOption(a))}; try{if(!$.cookies.get("cookie_country")||""===$.cookies.get("cookie_country"))$.cookies.set("cookie_country",SITE_CD,$.cookies.getDefaultOption());else if(SITE_CD!==$.cookies.get("cookie_country")){var deleteOption=$.cookies.getDefaultOption();$.cookies.del($.cookies.data.NAVIGATION_NAME,deleteOption);$.cookies.del($.cookies.data.PRIVATECODE_NAME,deleteOption);$.cookies.del($.cookies.data.COMPARELIST_NAME,deleteOption);$.cookies.del($.cookies.data.WISHLIST_NAME,deleteOption);$.cookies.del($.cookies.data.INSTORE_PRIVATECODE_NAME, deleteOption);$.cookies.set("cookie_country",SITE_CD,$.cookies.getDefaultOption())}}catch(a){}var ss=$; (function(a){ss.EstoreIfQueue={setQueue:function(n){var g=a.cookies.get("iPlanetDirectoryPro",{domain:".samsung.com"}),e=a.cookies.get("snsSessionId",{domain:".samsung.com"});g||e?USE_ESTORE?this.getIsSignReady()?this.callFunction(n,arguments):this.queue.push(arguments):this.callFunction(n,arguments):this.callFunction(n,arguments)},callFunction:function(n,g){if(n&&"function"==typeof n){for(var e=[],b=1;bh.offset().bottom&&this.l1MenuHideEventForDesktop()};b.prototype.keydown=function(d){"desktop"===this.getCurrentDevice()&&d.keyCode===n.ESC&&(this.l1MenuHideEventForDesktop(),this.handleBeforeLoginMenuHide(),this.handleAfterLoginMenuHide(),(d=this.getOpenDesktopDropdownContainer())&&d.closest(this.selector.l0Menu).find(this.selector.l0MenuButton).focus())};b.prototype.handleBreakpointChange=function(){"mobile"===this.getCurrentDevice()?(this.el.innerWrap.target[0].insertAdjacentElement("beforebegin", this.el.logoWrap.target[0]),this.el.wrapper.target[0].insertAdjacentElement("beforeend",this.el.dimWrap.target[0]),this.l1MenuHideEventForDesktop(),this.handleBeforeLoginMenuHide(),this.handleAfterLoginMenuHide(),this.el.l1MenuButton.attr("role","button"),this.el.l1MenuButton.attr("tabindex",0),this.el.l1MenuButton.attr("aria-expaned",!1),this.el.l1MenuButton.attr("aria-haspopup",!0),this.el.beforeLoginButton.removeAttr("aria-expanded"),this.el.beforeLoginButton.removeAttr("aria-haspopup"),this.el.afterLoginButton.removeAttr("aria-expanded"), this.el.afterLoginButton.removeAttr("aria-haspopup"),this.el.dimWrap.removeAttr("style"),this.bindMobileEvents()):(this.el.searchWrap.target[0].insertAdjacentElement("beforebegin",this.el.logoWrap.target[0]),this.el.wrapper.target[0].insertAdjacentElement("afterend",this.el.dimWrap.target[0]),this.handleMobileMenuClose(),this.l1MenuHideEventForDesktop(),this.el.l1MenuButton.removeAttr("role"),this.el.l1MenuButton.removeAttr("tabindex"),this.el.l1MenuButton.removeAttr("aria-expanded"),this.el.l1MenuButton.removeAttr("aria-haspopup"), this.el.beforeLoginButton.attr("aria-expanded",!1),this.el.beforeLoginButton.attr("aria-haspopup",!0),this.el.afterLoginButton.attr("aria-expanded",!1),this.el.afterLoginButton.attr("aria-haspopup",!0),this.bindDesktopEvents())};b.prototype.l1MenuShowEventForDesktop=function(d){var h=this;if("keydown"!==d.type||this.isKeydownEvent(d)){var f=a(d.target).closest(this.selector.l0Menu),m=f.attr("data-index");if(!this.isInteraction[m].mouse&&!this.isInteraction[m].key){"mouseenter"===d.type&&(this.isInteraction[m].mouse= !0);"keydown"===d.type&&(this.isInteraction[m].key=!0);clearTimeout(this.reserveHidel1Comtainer);this.activeElementBlur();this.l1MenuHideEventForDesktop();var p=f.find(this.selector.l0MenuButton),y=f.find(this.selector.l1MenuContainer),t=f.closest(this.selector.l0MenuList);f.addClass("focus");t.hasClass("right-menu")&&y.css({top:this.el.innerWrap.offset().bottom-parseInt(y.css("borderTopWidth"))+"px"});y.addClass("show");p.attr("aria-expanded",!0);setTimeout(function(){h.el.dimWrap.css({top:h.el.section.offset().bottom+ "px"});h.el.dimWrap.addClass("show");h.el.section.addClass("show");y.addClass("open")},10);"keydown"===d.type&&p.target.length&&(setTimeout(function(){y.find("a, button").target[0].focus()},200),d.preventDefault());requestAnimationFrame(function(){"mouseenter"===d.type&&(h.isInteraction[m].mouse=!1);"keydown"===d.type&&setTimeout(function(){h.isInteraction[m].key=!1},200)});e.setLazyLoadManually(y.target[0]);g.setMobileFocusLoop(this.el.section.target[0])}}};b.prototype.l1MenuHideEventForDesktop= function(d){var h=this;if(d){if("mouseleave"===d.type&&d.target.matches(":hover"))return;if("mouseleave"===d.type){var f=g.closest(d.target,".nv00-gnb-v3__l0-menu").dataset.index;if(this.isInteraction[f].key)return}}f=d&&a(d.target)||this.el.l0Menu.find(this.selector.l1MenuContainer+".show").closest(this.selector.l0Menu);d=f.attr("data-index");var m=f.find(this.selector.l0MenuButton),p=f.find(this.selector.l1MenuContainer);f=f.closest(this.selector.l0MenuList).hasClass("right-menu")?500:0;if(!d|| !this.isInteraction[d].mouse){var y=function(){setTimeout(function(){p.hasClass("open")||(p.removeAttr("style"),p.removeClass("show"),p.off("transitionend",y))},20)};this.reserveHidel1Comtainer=setTimeout(function(){h.el.l0Menu.removeClass("focus");h.el.l1MenuContainer.removeClass("open");h.el.section.find(h.selector.l1MenuContainer+".open").target.length||(h.el.dimWrap.removeClass("show"),h.el.section.removeClass("show"),g.removeMobileFocusLoop());p.off("transitionend").on("transitionend",y);m.attr("aria-expanded", !1)},f)}};b.prototype.l1MenuShowEventForMobile=function(d){var h=this;d=a(d.target).closest(this.selector.l0Menu);var f=d.find(this.selector.l1MenuContainer),m=f.find(this.selector.featureProductsThumbnail),p=m.find(this.selector.featureProductsThumbnailList),y=m.find(this.selector.featureProductsThumbnailItem);!f.find(this.selector.featureProductsList).target.length&&y.target.length&&(m.find(this.selector.l1Menu).addClass("show"),p.addClass("open"));this.el.innerWrap.css({overflowY:"hidden"});this.el.l0MenuButtonAndLink.css({opacity:0}); this.el.l0MenuButtonAndLink.attr("tabindex",-1);this.el.userAccountWrap.css({opacity:0});this.el.userAccountLink.attr("tabindex",-1);this.el.utilityWrap.css({opacity:0});this.el.utilityButtonAndLink.attr("tabindex",-1);g.isRtl()?(this.el.userAccountWrap.css({left:"100%"}),this.el.utilityWrap.css({left:"100%"}),this.el.l0MenuWrap.css({left:"100%"})):(this.el.userAccountWrap.css({right:"100%"}),this.el.utilityWrap.css({right:"100%"}),this.el.l0MenuWrap.css({right:"100%"}));f.addClass("show");requestAnimationFrame(function(){g.isRtl()? f.css({left:0}):f.css({right:0})});g.removeMobileFocusLoop();g.setMobileFocusLoop(f.target[0]);this.el.searchWrap.removeAttr("data-aria-hidden");this.el.searchWrap.removeAttr("aria-hidden");this.el.backwardButton.addClass("show");this.el.searchButton.addClass("hidden");this.el.backwardButton.focus();setTimeout(function(){h.el.backwardButton.focus()},500);this.activeL0Menu=d;e.setLazyLoadManually(f.target[0]);d.find(this.selector.l0MenuButton).attr("aria-expanded",!0)};b.prototype.l2MenuShowEventForMobile= function(d){function h(v){var r=a(v.target[0].nextElementSibling);r.css({height:r.offset().height+"px"});r.off("transitionend").on("transitionend",function(){v.removeClass("show");r.removeAttr("style")});requestAnimationFrame(function(){r.removeClass("open");r.css({height:0})});v.find(m.selector.l1MenuButton).attr("aria-expanded",!1)}var f=this;if("keydown"!==d.type||d.keyCode===n.ENTER||d.keyCode===n.SPACE){var m=this,p=a(d.currentTarget).closest(this.selector.l1Menu),y=a(d.currentTarget.parentElement.nextElementSibling); if(p.hasClass("show"))this.activeL1Menu=p,h(p),m.activeL1Menu=!1;else{p.closest(this.selector.l1MenuContainer).find(this.selector.l1Menu+".show").target.forEach(function(v){v.closest(f.selector.featureProductsThumbnail)||h(a(v))});p.addClass("show");var t=y.offset().height;y.css({height:0});y.off("transitionend").on("transitionend",function(){y.removeAttr("style");f.activeL1Menu=p});requestAnimationFrame(function(){y.addClass("open");y.css({height:t+"px"})});p.find(this.selector.l1MenuButton).attr("aria-expanded", !0)}}};b.prototype.handleLeaveFirstFocusableEl=function(){var d=this;requestAnimationFrame(function(){document.activeElement.closest(d.selector.l1MenuContainer+".open")||d.l1MenuHideEventForDesktop();document.activeElement.closest(d.selector.userMenuList+".show")||(d.handleBeforeLoginMenuHide(),d.handleAfterLoginMenuHide())})};b.prototype.handleBeforeLoginMenuShow=function(d){var h=this;if("desktop"===this.getCurrentDevice()){var f=this.el.beforeLogin.find(this.selector.userMenuList);f.addClass("show"); this.el.beforeLoginButton.attr("aria-expanded",!0);this.l1MenuHideEventForDesktop();d&&"keydown"===d.type&&this.isKeydownEvent(d)&&(setTimeout(function(){h.getFocusableElements(f).eq(0).focus()},50),d.preventDefault())}};b.prototype.handleBeforeLoginMenuHide=function(){this.el.beforeLogin.find(this.selector.userMenuList).removeClass("show");this.el.beforeLoginButton.attr("aria-expanded",!1)};b.prototype.handleBeforeLoginMenuKeydown=function(d){this.isKeydownEvent(d)&&(this.handleBeforeLoginMenuShow(d), d.preventDefault())};b.prototype.handleAfterLoginMenuShow=function(d){var h=this;if("desktop"===this.getCurrentDevice()){var f=this.el.afterLogin.find(this.selector.userMenuList);f.addClass("show");this.el.afterLoginButton.attr("aria-expanded",!0);this.l1MenuHideEventForDesktop();d&&"keydown"===d.type&&this.isKeydownEvent(d)&&(setTimeout(function(){h.getFocusableElements(f).eq(0).focus()},50),d.preventDefault());this.l1MenuHideEventForDesktop()}};b.prototype.handleAfterLoginMenuHide=function(){this.el.afterLogin.find(this.selector.userMenuList).removeClass("show"); this.el.afterLoginButton.attr("aria-expanded",!1)};b.prototype.handleAfterLoginMenuKeydown=function(d){this.isKeydownEvent(d)&&(this.handleAfterLoginMenuShow(d),d.preventDefault())};b.prototype.handleUtiltyDesktopClick=function(d){"desktop"===this.getCurrentDevice()&&d.preventDefault()};b.prototype.handleMobileMenuOpen=function(){var d=this;g.setMobileFocusLoop(this.el.innerWrap.target[0]);this.el.utilityWrap.addClass("show");this.el.searchWrap.addClass("show");this.el.userAccountWrap.addClass("show"); this.el.l0MenuWrap.addClass("show");this.el.dimWrap.addClass("show");this.el.innerWrap.addClass("show");requestAnimationFrame(function(){g.isRtl()?d.el.innerWrap.css({left:0}):d.el.innerWrap.css({right:0})});this.el.innerWrap.setLayerFocus(this.selector.innerWrapLoopingStart,this.selector.innerWrapLoopingEnd);this.el.mobileExpandMenuButton.find(this.selector.utilityButton).attr("aria-expanded",!0);this.el.searchButton.focus();g.hiddenScroll()};b.prototype.handleMobileMenuClose=function(){var d=this; g.removeMobileFocusLoop();this.el.innerWrap.removeAttr("style");this.el.innerWrap.offLayerFocus();if(this.activeL0Menu){var h=this.activeL0Menu.find(this.selector.l1MenuContainer);g.isRtl()?h.css({left:"-360px"}):h.css({right:"-360px"});h.css({transitionDuration:".3s"})}setTimeout(function(){d.activeL0Menu&&(d.handler.handleMobileActiveL0L1MenuClose(),d.el.backwardButton.removeClass("show"),d.el.searchButton.removeClass("hidden"));d.el.l0Menu.find(d.selector.l0MenuButton).removeAttr("style");d.el.l0Menu.find(d.selector.l0MenuLink).removeAttr("tabindex"); d.el.utilityWrap.removeAttr("style");d.el.utilityWrap.removeClass("show");d.el.utilityWrap.find(d.selector.utilityButton).removeAttr("tabindex");d.el.utilityWrap.find(d.selector.userMenuLink).removeAttr("tabindex");d.el.searchWrap.removeClass("show");d.el.userAccountWrap.removeAttr("style");d.el.userAccountWrap.removeClass("show");d.el.userAccountLink.removeAttr("tabindex");d.el.l0MenuWrap.removeClass("show");d.el.l0MenuWrap.removeAttr("style");d.el.dimWrap.removeClass("show");d.el.innerWrap.removeClass("show"); d.el.mobileExpandMenuButton.find(d.selector.utilityButton).focus()},300);this.el.mobileExpandMenuButton.find(this.selector.utilityButton).attr("aria-expanded",!1);g.visibleScroll();window.dispatchEvent(new Event("scroll"))};b.prototype.handleMobileBackwardButtonClick=function(){var d=this;g.removeMobileFocusLoop();g.setMobileFocusLoop(this.el.innerWrap.target[0]);this.activeL0Menu.find(this.selector.l1MenuContainer).removeAttr("style");setTimeout(function(){d.handler.handleMobileActiveL0L1MenuClose(!0)}, 400);this.el.backwardButton.removeClass("show");this.el.searchButton.removeClass("hidden");this.el.l0MenuButtonAndLink.removeAttr("style");this.el.l0MenuButtonAndLink.removeAttr("tabindex");this.el.userAccountWrap.removeAttr("style");this.el.userAccountLink.removeAttr("tabindex");this.el.utilityWrap.removeAttr("style");this.el.utilityButtonAndLink.removeAttr("tabindex");this.el.l0MenuWrap.removeAttr("style");this.el.innerWrap.css({overflowY:"auto"})};b.prototype.handleMobileActiveL0L1MenuClose=function(d){d= void 0===d?!1:d;this.activeL1Menu&&(this.activeL1Menu.removeClass("show"),this.activeL1Menu.siblings().removeAttr("style"),this.activeL1Menu.find(this.selector.l1MenuButton).attr("aria-expanded",!1),this.activeL1Menu=!1);this.activeL0Menu.find(this.selector.l1MenuContainer).removeClass("show");this.activeL0Menu.find(this.selector.l0MenuButton).attr("aria-expanded",!1);d&&this.activeL0Menu.find(this.selector.l0MenuButton).focus();this.activeL0Menu=!1};b.prototype.setLiveCommerceBadge=function(){this.el.section.find(this.selector.liveStreamingTime).target.forEach(function(d){var h= !1;JSON.parse(d.dataset.liveStreamingTime).some(function(f){return"live"===g.getTimeStatus(f.start,f.end)?h=!0:!1});h?d.classList.add("show"):d.classList.remove("show")})};b.prototype.openLayerPopup=function(d){var h=this,f=d&&this.el.layerPopupWrap.find(d);d&&f.target.length&&(g.setMobileFocusLoop(this.el.layerPopupWrap.target[0]),this.el.layerPopupWrap.addClass("show"),this.el.layerPopupWrap.setLayerFocus(this.selector.layerPopupLoopingStart,this.selector.layerPopupLoopingEnd),f.addClass("show"), d=f.find(this.selector.layerPopupCloseButton),d.focus(),d.off("click").on("click",function(){return h.handler.closeLayerPopup(f.target[0])}),this.el.window.off("click").on("click",function(m){m.target.closest(".layer-popup")||h.handler.closeLayerPopup(f.target[0])}),g.hiddenScroll())};b.prototype.closeLayerPopup=function(d){g.removeMobileFocusLoop();d=d?a(d):this.el.section.find(this.el.layerPopup+".show");d.removeClass("show");this.el.layerPopupWrap.removeClass("show");this.el.layerPopupWrap.offLayerFocus(); this.el.layerPopupWrap.off("click");d=this.el.section.find('[data-target-popup\x3d"#'+d.attr("id")+'"]');d.target.length?d.focus():this.el.logo.focus();g.visibleScroll()};b.prototype.activeElementBlur=function(){document.activeElement&&document.activeElement.blur()};b.prototype.setKeyDownMoveFocuse=function(d,h){function f(y){if(m.isKeydownNextInput(y)||m.isKeydownPrevInput(y)){var t=p.target.findIndex(function(r){return r===y.target}),v;m.isKeydownNextInput(y)?v=p.target[t+1]:m.isKeydownPrevInput(y)&& 0===t?v=h:m.isKeydownPrevInput(y)&&(v=p.target[t-1]);v&&v.focus();y.preventDefault()}}if(d){var m=this,p=this.getFocusableElements(d);d=p.eq(0);p&&p.off("keydown").on("keydown",f);d&&d.off("blur",this.handler.handleLeaveFirstFocusableEl).on("blur",this.handler.handleLeaveFirstFocusableEl)}};b.prototype.getCurrentDevice=function(){return 1279Math.abs(parseInt(h-f));d.target.length&&h&&(this.stickyMode=!0,this.shyTheme=d.hasClass("hd08-hero-kv-home--text-white")?"dark":"light",this.setShyTheme())}else this.stickyMode=!1};b.prototype.handleSticky=function(){if(this.stickyMode){var d= window.scrollY,h=d>this.scrollTop?"down":"up",f=0>this.el.section.offset().top;"up"===h&&f?(this.el.section.addClass(this.classes.fixed),this.removeShyTheme()):(this.el.section.removeClass(this.classes.fixed),this.setShyTheme());"down"===h&&f?this.el.section.addClass(this.classes.down):this.el.section.removeClass(this.classes.down);this.scrollTop=d}else this.el.section.removeClass(this.classes.fixed),this.el.section.removeClass(this.classes.down)};b.prototype.setShyTheme=function(){"dark"===this.shyTheme? this.el.section.addClass(this.classes.shyDark):"light"===this.shyTheme?this.el.section.addClass(this.classes.shyLight):this.removeShyTheme()};b.prototype.removeShyTheme=function(){this.el.section.removeClass(this.classes.shyDark);this.el.section.removeClass(this.classes.shyLight)};b.instances=new WeakMap;var k=function(){a(".nv00-gnb-v3").target.forEach(function(d){b.instances.has(d)||new b(d)})};window.sg.components.nv00GnbV3={initAll:k,reInit:function(){a(".nv00-gnb-v3").target.forEach(function(d){b.instances.has(d)? b.instances.get(d).reInit():new b(d)})},openLayerPopup:function(d){a(".nv00-gnb-v3").target.forEach(function(h){b.instances.has(h)&&b.instances.get(h).openLayerPopup(d)})},closeLayerPopup:function(d){a(".nv00-gnb-v3").target.forEach(function(h){b.instances.has(h)&&b.instances.get(h).closeLayerPopup(d)})},getCurrentDevice:function(){var d=document.querySelector(".nv00-gnb-v3");if(d)return b.instances.get(d).getCurrentDevice()}};a.ready(k)})();ss=$;var reservationUserData=null; function nextGenLoginResult(a){} (function(a){ss.Sign=function(){function n(K){if(!K)return{};var N={};K.slice(1).split("\x26").map(function(V){return V.split("\x3d")}).forEach(function(V){var aa=$jscomp.makeIterator(V);V=aa.next().value;aa=aa.next().value;V&&aa&&(N[V]=decodeURIComponent(aa))});return N}function g(){a.cookies.del("estoreLoginRequesting");a.cookies.del("estoreLoginRequesting",{domain:Q})}function e(){a.cookies.del("snsSessionId");a.cookies.del("snsSessionId",{path:"/",domain:Q});a.cookies.del("isStoreLogedIn");a.cookies.del("sa_em"); a.cookies.del("sa_em",{path:"/",domain:Q});a.cookies.del("eVar67");a.cookies.del("eVar67",{path:"/",domain:Q});a.cookies.del("lastName",{domain:Q});a.cookies.del("firstName",{domain:Q});a.cookies.del("guid",{domain:Q});a.cookies.del("ReD",{domain:Q});a.cookies.del("ReDCheck",{domain:Q});a.cookies.del("directCallFl",{expires:null,domain:Q});a.cookies.del("directCallFlv2",{expires:null,domain:Q});a.cookies.del("returnURL",{domain:Q});a.cookies.del("mVal10",{domain:Q});a.cookies.del("mVal11",{domain:Q}); a.cookies.del("flpe",{domain:Q});a.cookies.del("encGuid",{domain:Q});a.cookies.del("glbState",{domain:Q});a.cookies.del("cntoken",{domain:Q});a.cookies.del("cnfl",{domain:Q});if(IS_B2B){var K="/"+SITE_CD+"/";a.cookies.del("emailId",{domain:Q});a.cookies.del("emailAddr",{domain:Q});a.cookies.del("phone",{domain:Q});a.cookies.del("userAccount",{domain:Q});a.cookies.del("dotcomReturnURL",{domain:Q});a.cookies.del("isSMBRegisteredUserYN",{path:K,domain:Q})}g();a.cookies.del("prof_id",{path:"/",domain:Q}); a.cookies.del("prof_lname",{path:"/",domain:Q});a.cookies.del("prof_bpno",{path:"/",domain:Q});a.cookies.del("prof_bpno_s",{path:"/",domain:Q});a.cookies.del("rew_enr",{path:"/",domain:Q});a.cookies.del("prof_fname",{path:"/",domain:Q});a.cookies.del("tppid",{path:"/",domain:Q});a.cookies.del("tmktid",{path:"/",domain:Q});a.cookies.del("tmktname",{path:"/",domain:Q});a.cookies.del("tlgimg",{path:"/",domain:Q});a.cookies.del("taccessrtype",{path:"/",domain:Q});a.cookies.del("remoteId",{path:"/",domain:Q}); a.cookies.del("tsgmt",{path:"/",domain:Q});a.cookies.del("epp_verified",{path:"/",domain:Q});a.cookies.del("store_id",{path:"/",domain:Q});login_user_info={}}function b(){a.cookies.del("xsdcxyn");a.cookies.del("xsdcxyn",{path:"/",domain:Q});a.cookies.del("xsdcbxyn");a.cookies.del("xsdcbxyn",{path:"/",domain:Q});a.cookies.del("iPlanetDirectoryPro");a.cookies.del("iPlanetDirectoryPro",{path:"/",domain:Q});a.cookies.del("iPlanetDirectoryProOptVal");a.cookies.del("iPlanetDirectoryProOptVal",{path:"/", domain:Q})}function k(){e();b();da=null;(USE_ESTORE||Ja)&&h(!1);return!1}function d(K,N,V,aa){var la=a.trim(K+" "+N);"jp"===siteCode&&(la=a.trim(N+" "+K));"cn"===SITE_CD&&(la=N);Cb.find(".image__main");K=Cb.find(".user-name");N=a(".js-gnb-afterlogin-image");var Da=a(".js-gnb-afterlogin-no-image");""!=na&&null!=na&&V?(V=na.toLowerCase(),-1K.indexOf(window.location.hostname)&&(K=N+K,a("#redirect_uri",ab).val(K));K="GLB"+Math.random().toString(36).substr(2,11);a.cookies.set("glbState",K,{domain:Q});a("#response_type",ab).val("code");a("#countryCode",ab).val(a("#countryCode",ab).val());a("#redirect_uri", ab).val(a("#redirect_uri",ab).val());a("#signInState",ab).val(K);a("#signInGoBackURL",ab).val(Z);a(".goBackURL").val(Z);a("#scope",ab).val("");a.cookies.get("new_sa_login",{domain:".samsung.com"})&&"us"===SITE_CD&&(K=btoa(window.location.href+"?state\x3d"+K),a("#signInState",ab).val(K),K=-1K.indexOf(window.location.hostname)&&(K=N+K,a("#signOutURL",dc).val(K));K="GLB"+Math.random().toString(36).substr(2,11);a.cookies.set("glbState",K,{domain:Q});a("#signOutState", dc).val(K);a.cookies.get("new_sa_login",{domain:".samsung.com"})&&"us"===SITE_CD&&(K=btoa(window.location.href+"?state\x3d"+K),a("#signOutState",dc).val(K),K=-1N.indexOf(window.location.hostname)&&(N=V+N,a("#joinRegistURL",Wb).val(N));N=a("#joinEmailActivationURL",Wb).val();0>N.indexOf(window.location.hostname)&&(N=window.location.protocol+"//"+window.location.host+ N,a("#joinEmailActivationURL",Wb).val(N));Wb.submit()});xb.click(function(){Z=window.location.href;a("#findReturnURL",Mb).val(Z);a("#findGoBackURL",Mb).val(Z);Mb.submit()});Mc.click(function(){a(this).closest("#loginLayerPopup").is(":visible")&&(a("body").removeClass("gb-login-open"),a("#loginLayerPopup .popAlign").trigger("clickoutside","touchstartoutside"))});Sc.click(function(){"es"===SITE_CD&&ss.Auth.signOut();r();return!1});a(document).on("click",".loginBtn",function(N){N.preventDefault();N= !1;a(this).hasClass("nv00-gnb-v3__utility-btn")?"mobile"===window.sg.components.nv00GnbV3.getCurrentDevice()&&(N=!0):N=!0;N&&("in"===SITE_CD?window.location.href=window.location.protocol+"//"+window.location.host+"/in/web/login?redirect_uri\x3d"+window.location.href:Gb?ss.Auth.checkSignInUs():ss.Auth.checkSignIn(K))});a(document).on("click",".js-account",function(N){N.preventDefault();N=!1;a(this).hasClass("nv00-gnb-v3__utility-btn")?"mobile"===window.sg.components.nv00GnbV3.getCurrentDevice()&&(N= !0):N=!0;N&&(fnIsNull(Hc)?window.location.href="cn"===SITE_CD?"https://shop.samsung.com.cn/cn/mypage":"https://account.samsung.com/membership/contents/profile/profile-gate":window.location.href=Hc)});a(document).on("click",".logoutBtn",function(N){N.preventDefault();N=a(this).attr("data-return-url");Gb&&!IS_B2B?("dev"===H?(Z=window.location.protocol+"//"+window.location.host+"/content/samsung/"+SITE_CD+".html",IS_B2B&&(Z=window.location.protocol+"//"+window.location.host+"/content/samsung/"+SITE_CD+ "/business.html")):"qa"===H?(Z=window.location.protocol+"//"+window.location.host+"/"+SITE_CD+".html",IS_B2B&&(Z=window.location.protocol+"//"+window.location.host+"/"+SITE_CD+"/business.html")):"live"===H&&(Z=window.location.protocol+"//"+window.location.host+"/"+SITE_CD+"/",IS_B2B&&(Z=window.location.protocol+"//"+window.location.host+"/"+SITE_CD+"/business/")),ss.Auth.signOutUs()):(null!=N&&""!==N?Z=N:"dev"===H?(Z=window.location.protocol+"//"+window.location.host+"/content/samsung/"+SITE_CD+".html", IS_B2B&&(Z=window.location.protocol+"//"+window.location.host+"/content/samsung/"+SITE_CD+"/business.html")):"qa"===H?(Z=window.location.protocol+"//"+window.location.host+"/"+SITE_CD+".html",IS_B2B&&(Z=window.location.protocol+"//"+window.location.host+"/"+SITE_CD+"/business.html")):"live"===H&&(Z=window.location.protocol+"//"+window.location.host+"/"+SITE_CD+"/",IS_B2B&&(Z=window.location.protocol+"//"+window.location.host+"/"+SITE_CD+"/business/")),ss.Auth.checkSignIn(K));return!1});a(".sign_input").focusin(function(){switch(a(this).attr("id")){case wc.attr("id"):xc.hide(); break;case pc.attr("id"):Lc.hide()}});a(".sign-in__form-text").unbind("keydown").bind("keydown",function(N){if("13"===N.keyCode)switch(N.preventDefault(),a(this).attr("id")){case wc.attr("id"):case pc.attr("id"):signIn()}});bc.focusin(function(N){N.preventDefault();Gc.addClass("fs-boarder")});bc.focusout(function(N){N.preventDefault();Gc.removeClass()});Fc.click(function(){var N=Ec.is(":checked");if("tr"!=siteCode&&!N)return ec.show(),!1;I=jc.is(":checked");"tr"==siteCode&&(R=Tb.is(":checked"),ba= vc.is(":checked"));if(0/g,"\x26gt;").replace(/'/g,"\x26#039;")};var cd=function(){var K=Math.random(),N=a(".nv00-gnb-v3__utility-user-menu-rewards-link"),V="/"+siteCode+"/mypage/rewards";a.ajax({url:"/aemapi/v6/mysamsung/rewards.json/rewards-partner/v2/users/rtt_guid/check?ncp\x3d"+K,type:"GET",dataType:"json",timeout:2E4,beforeSend:function(aa){aa.setRequestHeader("sg-site-code",siteCode)},success:function(aa){aa&& 200===aa.statusCode&&aa.resultData&&aa.resultData.apiResult&&aa.resultData.apiResult.isMember&&N.attr("href",V)}})};ss.Auth.checkSignInUs=function(K){var N=a.cookies.get("xsdcxyn",{domain:Q}),V=a.cookies.get("jwt_"+Eb,{domain:Q}),aa=a.cookies.get("guid",{domain:Q}),la=function(){a.ajax({url:"/aemapi/v6/data-login/callSALogin."+siteCode+".json",type:"GET",dataType:"json",success:function(Na){200===Na.statusCode?"N"===Na.redCookieChk?(e(),b(),K&&"function"==typeof K?K():X()):a.cookies.get("jwt_"+Eb, {domain:Q})?location.reload(!0):(e(),b(),K&&"function"==typeof K?K():X()):(e(),b(),K&&"function"==typeof K?K():X())},error:function(Na,Hb,Ga){console.error(Hb);e();b();K&&"function"==typeof K?K():X()}})};if(V){N={jwt:V};var Da=!1;if("us"===siteCode){var gb=a.cookies.get("epp_verified",{domain:Q}),Pa=a.cookies.get("tmktid",{domain:Q}),Sa=a.cookies.get("store_id",{domain:Q});null!=gb&&(gb=gb.toString(),"true"==gb&&null!=Pa&&""!=Pa?N.store_id=Pa.toString():null!=Sa&&""!=Sa&&(N.store_id=Sa.toString())); a.ajax({headers:{"Cache-Control":"no-cache","Content-Type":"application/json","Access-Control-Allow-Origin":"*"},url:STORE_DOMAIN+"/v1/sso/jwt/details",type:"POST",async:!1,dataType:"json",data:JSON.stringify({jwt:V}),xhrFields:{withCredentials:!0},success:function(Na){null==Na||""===Na||null==Na.login_type||"guest_epp_store"!==Na.login_type&&"referral_url"!==Na.login_type?a.cookies.set("isUSGuestUser","N"):(Da=!0,a.cookies.set("isUSGuestUser","Y"))}})}Da?K&&"function"==typeof K?K():X():a.ajax({headers:{"Cache-Control":"no-cache", "Content-Type":"application/json","Access-Control-Allow-Origin":"*"},url:STORE_DOMAIN+"/v1/sso/user/validate",type:"POST",dataType:"json",data:JSON.stringify(N),xhrFields:{withCredentials:!0},beforeSend:function(Na){"Y"===Lb&&Na.setRequestHeader("x-ecom-locale",Ab)},success:function(Na){200!==Na.statusCode&&"200"!==Na.statusCode?la():null!=Na.user_info.firstname&&""!==Na.user_info.firstname&&(cb.addClass("hide"),fnIsNull(aa)?d(Na.user_info.firstname,Na.user_info.lastname,!0,!0):d(Na.user_info.firstname, Na.user_info.lastname,!0),Na=-1=d.target.length?null:d;this.ele.category=this.ele.section.find(this.selector.category);this.ele.language=this.ele.section.find(this.selector.language);this.ele.languagePanel=this.ele.section.find(this.selector.languagePanel);this.ele.languageTopTarget=this.ele.section.find(this.selector.languageTopTarget);this.ele.wrap2list= [];this.ele.section.find(this.selector.categoryList).target.forEach(function(h){h=h.querySelectorAll(".footer-category__list");1=a(document.activeElement).closest(d.selector.languagePanel).target.length)if("desktop"===e.getCurrentDevice())d.closeLanguage(document.activeElement);else if(k.shiftKey){var h=d.ele.languagePanel.eq(0).find("a"); h.target[h.target.length-1].focus()}}.bind(this),30)};b.prototype.outClick=function(k){(("touchend"===k.type?0>=a(k.target||k.touches[0].target).closest(this.ele.languagePanel.target[0]).target.length:0>=a(k.target).closest(this.ele.languagePanel.target[0]).target.length)||k.target===document.documentElement)&&this.closeLanguage()};b.prototype.init=function(){var k=this;this.setLengthTop();this.bindEvents();var d=this.ele.section.find(".image__preview");if(0n(".cookie-bar").length)){var m= "N",p=navigator.userAgent;if("in"===b||"es"===b||"de"===b||"nl"===b||"uk"===b){if(-1n.inArray(this.currentSiteCode,this.acceptedCountries)&& this.acceptedCountries.push(this.currentSiteCode);cookies.setCookie2(h.acceptedCountries,this.acceptedCountries,90,k);cookies.setCookie2(h.commonaccepted,"true",90,k)},setCookieGeo:function(){var h=this.options.paramsCookie;cookies.setCookie(h.accepted,"true",90);cookies.setCookie2(h.commonaccepted,"true",90,k)},setBannerCookie:function(){cookies.setCookie(this.options.paramsCookie.banneraccepted,"true",90)},onAcceptClick:function(){this.setCookieAccept();this.isTypeManage()?n(".cookie-bar").hide(): this.$geoMsgCookieWrap.remove()},onSelectBtnsClick:function(h){h=this.options.paramsCookie;this.selectedSiteCode=n(".cookie-bar__select-ctas .menu__select option:selected").attr("site_cd");this.setParamsCookie(h.siteCode,this.selectedSiteCode,999);this.setCookieGeo();this.isTypeManage()||this.setCookieAccept()},onBaanerCloseBtnClick:function(){this.setBannerCookie()},isAcceptedGeo:function(){return!!cookies.getCookie(this.options.paramsCookie.accepted)},isAcceptedBanner:function(){return!!cookies.getCookie(this.options.paramsCookie.banneraccepted)}, isAcceptedCountries:function(){return 0>n.inArray(this.currentSiteCode,this.acceptedCountries)?!1:!0},removebannerInner:function(){null!==this.$bannerInner&&(this.$bannerInner.remove(),this.$bannerInner=null)},setParamsCookie:function(h,f,m){var p=new Date,y=window.location.protocol+"//"+window.location.host+"/"+this.selectedSiteCode;p.setDate(p.getDate()+parseInt(m));document.cookie=h+"\x3d"+escape(f)+"; path\x3d/; expires\x3d"+p.toGMTString()+";";window.location.href=y},getParam:function(h){var f= {};document.location.search.replace("?","").replace(/(?:^|\?|&)([^=]+)(?==)(?:=([^&]*))?/g,function(m,p,y){f[decodeURIComponent(p.split("+").join(" "))]=decodeURIComponent(y.split("+").join(" "))});return f[h]}}}();n(function(){e.init(n(".cookie-bar__wrap"))})})(window,jQuery); (function(){function a(){n(g.section).target.forEach(function(b){e.instances.has(b)||new e(b)})}var n=window.sg.common.$q,g={section:".notice"},e=function(b){var k=this;this.selector={section:g.section,btn:".notice__toggle-btn",hidden:".notice__toggle-btn .hidden",content:".notice__inner",nomarl:".notice__column notice__column--collapsed",expend:".notice__column notice__column--expanded",close:".notice__close"};this.timer=null;this.ele={window:n(window),section:n(b),btn:null,content:null,nomarl:null, expand:null,close:null};this.toggleType=this.ele.section.hasClass("notice--toggle");this.handler={resize:function(){k.toggleType&&(k.ele.section.css({height:""}),k.timer&&clearTimeout(k.timer),setTimeout(function(){k.setHeight()},400))},clickClose:function(d){d.preventDefault();k.ele.section.hide();k.ele.window.trigger("resize")}};this.init();e.instances.set(b,this)};e.prototype.setProperty=function(){this.ele.btn=this.ele.section.find(this.selector.btn);this.toggleType?(this.ele.hidden=this.ele.section.find(this.selector.hidden), this.ele.content=this.ele.section.find(this.selector.content),this.ele.pdBanner=this.ele.section.find(this.selector.pdBanner),this.ele.nomarl=this.ele.section.find(this.selector.nomarl),this.ele.expand=this.ele.section.find(this.selector.expend)):this.ele.close=this.ele.section.find(this.selector.close)};e.prototype.init=function(){this.setProperty();this.bindEvents()};e.prototype.reInit=function(){this.setProperty();this.bindEvents()};e.prototype.setHeight=function(){this.ele.section.css({height:this.ele.content.outerHeight()+ "px"})};e.prototype.bindEvents=function(){var b=this;if(this.toggleType)this.ele.btn.off("click").on("click",function(){b.ele.section.hasClass("is-expanded")?b.closeBanner():b.openBanner()}),this.setHeight();else this.ele.close.off("click").on("click",this.handler.clickClose);this.ele.window.off("resize",this.handler.resize).on("resize",this.handler.resize)};e.prototype.openBanner=function(){this.ele.section.addClass("is-expanded");this.ele.section.attr("aria-expanded",!0);this.ele.nomarl.hide(); this.ele.expand.show();this.ele.hidden.innerHTML("Click to Collapse");this.setHeight()};e.prototype.closeBanner=function(){this.ele.section.removeClass("is-expanded");this.ele.section.attr("aria-expanded",!1);this.ele.nomarl.show();this.ele.expand.hide();this.ele.hidden.innerHTML("Click to Expand");this.setHeight()};e.instances=new WeakMap;window.sg.components.notice={init:a,reInit:function(){n(g.section).target.forEach(function(b){e.instances.has(b)?e.instances.get(b).reInit():new e(b)})},closeBanner:function(b){b= void 0===b?!0:b;n(g.section).target.forEach(function(k){e.instances.has(k)&&e.instances.get(k).closeBanner(b)})}};n.ready(a)})(); (function(){function a(){n(e.section).target.forEach(function(d){k.instance.has(d)||new k(d)})}var n=window.sg.common.$q,g=window.sg.common.utils,e={section:".nv16-country-selector"},b=[{site_code:"AE",local:{country_name:"UAE",lang:"English"},country_codes:"ae ae_ar bh ye om qa kw".split(" ")},{site_code:"AE_AR",local:{country_name:"\u0627\u0644\u062e\u0644\u064a\u062c",lang:"\u0627\u0644\u0639\u0631\u0628\u064a\u0629"},country_codes:"ae ae_ar bh ye om qa kw".split(" ")},{site_code:"AFRICA_EN",local:{country_name:"Africa", lang:"English"},country_codes:"africa_en africa_fr africa_pt gh gm ga gn gw na ng ne lr mz mw bw sz sl et ug zm zw ke tz ao cv rw re mg yt ml mu mr bj bi bf sn sc cf dj td cm km ci cg cd tg".split(" ")},{site_code:"AFRICA_FR",local:{country_name:"Afrique",lang:"Fran\u00e7ais"},country_codes:"africa_en africa_fr africa_pt gh gm ga gn gw na ng ne lr mz mw bw sz sl et ug zm zw ke tz ao cv rw re mg yt ml mu mr bj bi bf sn sc cf dj td cm km ci cg cd tg".split(" ")},{site_code:"AFRICA_PT",local:{country_name:"\u00c1frica", lang:"Portugu\u00eas"},country_codes:"africa_en africa_fr africa_pt gh gm ga gn gw na ng ne lr mz mw bw sz sl et ug zm zw ke tz ao cv rw re mg yt ml mu mr bj bi bf sn sc cf dj td cm km ci cg cd tg".split(" ")},{site_code:"AL",local:{country_name:"Shqip\u00ebri",lang:"Shqip"},country_codes:["al"]},{site_code:"AR",local:{country_name:"Argentina",lang:"Espa\u00f1ol"},country_codes:["ar"]},{site_code:"AT",local:{country_name:"\u00d6sterreich",lang:"Deutsch"},country_codes:["at"]},{site_code:"AZ",local:{country_name:"Az\u0259rbaycan", lang:"Az\u0259rbaycan dili"},country_codes:["az"]},{site_code:"AU",local:{country_name:"Australia",lang:"English"},country_codes:["au"]},{site_code:"BA",local:{country_name:"Bosna i Hercegovina",lang:"Bosanski"},country_codes:["ba"]},{site_code:"BD",local:{country_name:"Bangladesh",lang:"English"},country_codes:["bd"]},{site_code:"BE",local:{country_name:"Belgi\u00eb",lang:"Nederlands"},country_codes:["be","be_fr","lu"]},{site_code:"BE_FR",local:{country_name:"Belgium",lang:"French"},country_codes:["be", "be_fr","lu"]},{site_code:"BG",local:{country_name:"\u0411\u044a\u043b\u0433\u0430\u0440\u0438\u044f",lang:"\u0411\u044a\u043b\u0433\u0430\u0440\u0441\u043a\u0438"},country_codes:["bg"]},{site_code:"BR",local:{country_name:"Brasil",lang:"Portugu\u00eas"},country_codes:["br"]},{site_code:"CA",local:{country_name:"Canada",lang:"English"},country_codes:["ca","ca_fr"]},{site_code:"CA_FR",local:{country_name:"Canada",lang:"Fran\u00e7ais"},country_codes:["ca","ca_fr"]},{site_code:"CH",local:{country_name:"Schweiz", lang:"Deutsch"},country_codes:["ch","ch_fr"]},{site_code:"CH_FR",local:{country_name:"Suisse",lang:"Francaise"},country_codes:["ch","ch_fr"]},{site_code:"CL",local:{country_name:"Chile",lang:"Espa\u00f1ol"},country_codes:["cl"]},{site_code:"CN",local:{country_name:"\u4e2d\u56fd",lang:"\u4e2d\u6587"},country_codes:["cn"]},{site_code:"CO",local:{country_name:"Colombia",lang:"Espa\u00f1ol"},country_codes:["co"]},{site_code:"CZ",local:{country_name:"\u010cesk\u00e1 republika",lang:"\u010ce\u0161tina"}, country_codes:["cz"]},{site_code:"DE",local:{country_name:"Deutschland",lang:"Deutsch"},country_codes:["de"]},{site_code:"DK",local:{country_name:"Danmark",lang:"Dansk"},country_codes:["dk"]},{site_code:"EE",local:{country_name:"Eesti",lang:"Eesti"},country_codes:["ee"]},{site_code:"EG",local:{country_name:"\u0627\u0644\u0628\u0644\u062f \u0645\u0635\u0631",lang:"\u0627\u0644\u0639\u0631\u0628\u064a\u0629"},country_codes:["eg","so","er"]},{site_code:"ES",local:{country_name:"Espana",lang:"Espanol"}, country_codes:["es"]},{site_code:"FI",local:{country_name:"Suomi",lang:"Suomi"},country_codes:["fi"]},{site_code:"FR",local:{country_name:"France",lang:"Fran\u00e7ais"},country_codes:["fr"]},{site_code:"GE",local:{country_name:"\u10e1\u10d0\u10e5\u10d0\u10e0\u10d7\u10d5\u10d4\u10da\u10dd",lang:"\u10e5\u10d0\u10e0\u10d7\u10e3\u10da\u10d8"},country_codes:["ge"]},{site_code:"GR",local:{country_name:"\u0395\u03bb\u03bb\u03ac\u03b4\u03b1",lang:"\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac"},country_codes:["gr"]}, {site_code:"HK",local:{country_name:"\u9999\u6e2f",lang:"\u7e41\u9ad4\u4e2d\u6587"},country_codes:["hk","hk_en"]},{site_code:"HK_EN",local:{country_name:"Hong Kong",lang:"English"},country_codes:["hk","hk_en"]},{site_code:"HR",local:{country_name:"Hrvatska",lang:"Hrvatski"},country_codes:["hr"]},{site_code:"HU",local:{country_name:"Magyarorsz\u00e1g",lang:"Magyar"},country_codes:["hu"]},{site_code:"ID",local:{country_name:"Indonesia",lang:"Bahasa Indonesia"},country_codes:["id"]},{site_code:"IE", local:{country_name:"Ireland",lang:"English"},country_codes:["ie"]},{site_code:"IL",local:{country_name:"\u05d9\u05e9\u05e8\u05d0\u05dc",lang:"\u05e2\u05d1\u05e8\u05d9\u05ea"},country_codes:["il"]},{site_code:"IN",local:{country_name:"India",lang:"English"},country_codes:["in","np","bd","lk"]},{site_code:"IQ_AR",local:{country_name:"\u0627\u0644\u0639\u0631\u0627\u0642",lang:"\u0639\u0631\u0628\u064a"},country_codes:["iq","iq_ar","iq_ku"]},{site_code:"IQ_KU",local:{country_name:"\u06a9\u0648\u0631\u062f\u0633\u062a\u0627\u0646", lang:"\u06a9\u0648\u0631\u062f\u06cc"},country_codes:["iq","iq_ar","iq_ku"]},{site_code:"IRAN",local:{country_name:"\u0627\u06cc\u0631\u0627\u0646",lang:"\u0641\u0627\u0631\u0633\u064a"},country_codes:["lr","iran"]},{site_code:"IT",local:{country_name:"Italia",lang:"Italiano"},country_codes:["it","mt"]},{site_code:"JP",local:{country_name:"\u65e5\u672c",lang:"\u65e5\u672c\u8a9e"},country_codes:["jp"]},{site_code:"KZ_KZ",local:{country_name:"\u049a\u0430\u0437\u0430\u049b\u0441\u0442\u0430\u043d", lang:"\u049a\u0430\u0437\u0430\u049b\u0448\u0430"},country_codes:["kz","kz_kz","kz_ru"]},{site_code:"KZ_RU",local:{country_name:"\u041a\u0430\u0437\u0430\u0445\u0441\u0442\u0430\u043d",lang:"P\u0443\u0441\u0441\u043a\u0438\u0439"},country_codes:["kz","kz_kz","kz_ru"]},{site_code:"LATIN",local:{country_name:"Latin",lang:"Espa\u00f1ol"},country_codes:"latin_en latin gt ni do bo ec sv cr pa hn gy gp mq bb bm bz lc sr aw ht ag jm ky tt".split(" ")},{site_code:"LATIN_EN",local:{country_name:"Latin",lang:"English"}, country_codes:"latin_en latin gt ni do bo ec sv cr pa hn gy gp mq bb bm bz lc sr aw ht ag jm ky tt".split(" ")},{site_code:"LB",local:{country_name:"Lebanon",lang:"English"},country_codes:["lb"]},{site_code:"LEVANT",local:{country_name:"Levant",lang:"English"},country_codes:["levant_ar","levant","jo"]},{site_code:"LEVANT_AR",local:{country_name:"Levant",lang:"Arabic"},country_codes:["levant_ar","levant","jo"]},{site_code:"LT",local:{country_name:"Lietuva",lang:"Lietuvi\u0173"},country_codes:["lt"]}, {site_code:"LV",local:{country_name:"Latvija",lang:"Latvie\u0161u"},country_codes:["lv"]},{site_code:"MK",local:{country_name:"\u0421\u0435\u0432\u0435\u0440\u043d\u0430 \u041c\u0430\u043a\u0435\u0434\u043e\u043d\u0438\u0458\u0430",lang:"\u041c\u0430\u043a\u0435\u0434\u043e\u043d\u0441\u043a\u0438"},country_codes:["mk"]},{site_code:"MM",local:{country_name:"Myanmar",lang:"Burmese"},country_codes:["mm"]},{site_code:"MN",local:{country_name:"\u041c\u043e\u043d\u0433\u043e\u043b \u0443\u043b\u0441", lang:"\u041c\u043e\u043d\u0433\u043e\u043b \u0445\u044d\u043b"},country_codes:["mn"]},{site_code:"MX",local:{country_name:"M\u00e9xico",lang:"Espa\u00f1o"},country_codes:["mx"]},{site_code:"MY",local:{country_name:"Malaysia",lang:"English"},country_codes:["my"]},{site_code:"N_AFRICA",local:{country_name:"Maroc",lang:"Fran\u00e7ais"},country_codes:["ma","dz","tn"]},{site_code:"NL",local:{country_name:"Nederland",lang:"Nederlands"},country_codes:["nl"]},{site_code:"NO",local:{country_name:"Norge",lang:"Norsk"}, country_codes:["no"]},{site_code:"NZ",local:{country_name:"New Zealand",lang:"English"},country_codes:["nz"]},{site_code:"PE",local:{country_name:"Per\u00fa ",lang:"Espa\u00f1ol"},country_codes:["pe"]},{site_code:"PH",local:{country_name:"Philippines",lang:"English"},country_codes:["ph"]},{site_code:"PK",local:{country_name:"Pakistan",lang:"English"},country_codes:["pk","af"]},{site_code:"PL",local:{country_name:"Polska",lang:"Polski"},country_codes:["pl"]},{site_code:"PS",local:{country_name:"\u0641\u0644\u0633\u0637\u064a\u0646", lang:" \u062f\u0648\u0644\u0629"},country_codes:["ps"]},{site_code:"PT",local:{country_name:"Portugal",lang:"Portugu\u00eas"},country_codes:["pt"]},{site_code:"PY",local:{country_name:"Paraguay",lang:"Espa\u00f1ol"},country_codes:["py"]},{site_code:"RO",local:{country_name:"Romania",lang:"Romanian"},country_codes:["ro"]},{site_code:"RS",local:{country_name:"C\u0440\u0431\u0438\u0458\u0430",lang:"C\u0440\u043f\u0441\u043a\u0438"},country_codes:["rs"]},{site_code:"RU",local:{country_name:"\u0420\u043e\u0441\u0441\u0438\u044f", lang:"\u0420\u0443\u0441\u0441\u043a\u0438\u0439"},country_codes:["ru"]},{site_code:"SA",local:{country_name:"\u0627\u0644\u0645\u0645\u0644\u0643\u0629 \u0627\u0644\u0639\u0631\u0628\u064a\u0629 \u0627\u0644\u0633\u0639\u0648\u062f\u064a\u0629",lang:"\u0639\u0631\u0628\u064a"},country_codes:["sa","sa_en","ly"]},{site_code:"SA_EN",local:{country_name:"Saudi Arabia",lang:"English"},country_codes:["sa","sa_en","ly"]},{site_code:"SE",local:{country_name:"Sverige",lang:"Svenska"},country_codes:["se"]}, {site_code:"SEC",local:{country_name:"\ub300\ud55c\ubbfc\uad6d",lang:"\ud55c\uad6d\uc5b4"},country_codes:["kr"]},{site_code:"SG",local:{country_name:"Singapore",lang:"English"},country_codes:["sg"]},{site_code:"SI",local:{country_name:"Slovenija",lang:"Sloven\u0161\u010dina"},country_codes:["si"]},{site_code:"SK",local:{country_name:"Slovensko",lang:"Sloven\u010dina"},country_codes:["sk"]},{site_code:"TH",local:{country_name:"\u0e1b\u0e23\u0e30\u0e40\u0e17\u0e28\u0e44\u0e17\u0e22",lang:"\u0e44\u0e17\u0e22"}, country_codes:["th"]},{site_code:"TR",local:{country_name:"T\u00fcrkiye",lang:"T\u00fcrk\u00e7e"},country_codes:["tr"]},{site_code:"TW",local:{country_name:"\u53f0\u7063",lang:"\u7e41\u9ad4\u4e2d\u6587"},country_codes:["tw"]},{site_code:"UA",local:{country_name:"\u0423\u043a\u0440\u0430\u0457\u043d\u0430",lang:"\u0423\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430"},country_codes:["ua"]},{site_code:"UK",local:{country_name:"United Kingdom",lang:"English"},country_codes:["gb","uk"]},{site_code:"US", local:{country_name:"USA",lang:"English"},country_codes:["us"]},{site_code:"UY",local:{country_name:"Uruguay",lang:"Espa\u00f1ol"},country_codes:["uy"]},{site_code:"UZ_UZ",local:{country_name:"O'zbekiston",lang:"O'zbek"},country_codes:["uz","uz_ru","uz_uz"]},{site_code:"UZ_RU",local:{country_name:"\u0423\u0437\u0431\u0435\u043a\u0438\u0441\u0442\u0430\u043d",lang:"\u0420\u0443\u0441\u0441\u043a\u0438\u0439"},country_codes:["uz","uz_ru","uz_uz"]},{site_code:"VN",local:{country_name:"Vi\u1ec7t Nam", lang:"Ti\u1ebfng Vi\u1ec7t"},country_codes:["vn"]},{site_code:"ZA",local:{country_name:"South Africa",lang:"English"},country_codes:["za"]}],k=function(d){this.els={section:n(d)};this.settings={SITECD:this.getSITECD(),selector:{content:".nv16-country-selector__content-wrap",countrySelector:".nv16-country-selector__menu .menu",countryList:".nv16-country-selector__menu .menu__select",urlSitecd:"[data-country-type\x3dsitecd]",locationSitecd:"[data-country-type\x3dlocation]",continue:"[data-action\x3dcountrySelectorContinue]", close:"[data-action\x3dcountrySelectorClose]"},cookies:{accept:{name:"cookiesaccepted-geo",value:!0,days:90},selectedSitecd:{name:"site_cd",days:999},countryCodes:{name:"country_codes",value:g.getCookie("country_codes")}},otherCountry:"/function/ipredirection/ipredirectionLocalList/"};k.instance.set(d,this);this.init()};k.prototype.init=function(){this.settings.SITECD=this.getSITECD();this.settings.cookies.countryCodes.value=g.getCookie("country_codes");this.isExistSitecd()&&(this.setElements(),this.bindEvents(), this.isAccepted()||this.isCountrySelected()||!this.checkCountryValid()||this.isWebViewFlag()?this.remove():this.show())};k.prototype.reInit=function(){this.init()};k.prototype.getSITECD=function(){return document.querySelector("#siteCode")?document.querySelector("#siteCode").value.toLowerCase():"test"};k.prototype.setElements=function(){var d=this;this.els.content=this.els.section.find(this.settings.selector.content);this.els.countrySelector=this.els.section.find(this.settings.selector.countrySelector); this.els.countryList=this.els.section.find(this.settings.selector.countryList);this.els.continue=this.els.section.find(this.settings.selector.continue);this.els.close=this.els.section.find(this.settings.selector.close);this.els.countryList.find(this.settings.selector.urlSitecd).remove();this.els.countryList.find(this.settings.selector.locationSitecd).remove();var h=[];b.forEach(function(f){(f.country_codes.find(function(m){return m===d.settings.SITECD})||f.site_code.toLowerCase()===d.settings.SITECD)&& h.push(f.site_code)});b.forEach(function(f){f.country_codes.find(function(m){return m===d.settings.cookies.countryCodes.value})&&h.push(f.site_code)});h=[].concat($jscomp.arrayFromIterable(new Set(h)));h.forEach(function(f){var m=b.find(function(p){return p.site_code===f});d.setOptions(m)});window.sg.common.menu.reInit(this.els.section.find(".menu").target[0])};k.prototype.bindEvents=function(){this.els.continue.off("click").on("click",this.handleContinue.bind(this));this.els.close.off("click").on("click", this.close.bind(this));this.els.countrySelector.off("click").on("click",this.handleCountrySelector.bind(this))};k.prototype.show=function(){var d=this;this.els.section.css({height:this.els.content.height()+"px"});this.els.section.slideDown(400,function(){d.els.section.addClass("nv16-country-selector--init");d.els.section.css({height:"auto"})})};k.prototype.close=function(){this.setAcceptCookie();this.els.section.css({height:this.els.section.height()+"px"});this.els.section.slideUp(350,this.remove.bind(this))}; k.prototype.handleCountrySelector=function(){var d=this,h=new MutationObserver(function(f){f[0].target.classList.contains("open")?d.els.section.addClass("s-menu-opened"):(d.els.section.removeClass("s-menu-opened"),h.disconnect())});h.observe(this.els.countrySelector.target[0],{attributes:!0,childList:!1})};k.prototype.handleContinue=function(){var d=this.els.countryList.target[0].querySelector("option[selected]").getAttribute("value"),h=document.getElementById("b2bFlag");"other"===d?window.location.href= window.location.origin+"/"+this.settings.SITECD+this.settings.otherCountry:(g.setCookie(this.settings.cookies.selectedSitecd.name,d,this.settings.cookies.selectedSitecd.days),this.setAcceptCookie(),this.close(),window.location.href=h&&"Y"===h.value?window.location.origin+"/"+d+"/business/":window.location.origin+"/"+d+"/")};k.prototype.setAcceptCookie=function(){var d=this.settings.cookies.accept;g.setCookie(d.name,d.value,d.days)};k.prototype.setOptions=function(d){if(d.site_code&&d.local&&d.local.country_name&& d.local.lang){var h=d.site_code.toLowerCase(),f=h===this.settings.SITECD;d="\x3coption"+(f?" selected":"")+' value\x3d"'+h+'" data-country-type\x3d'+(f?"sitecd":"location")+"\x3e"+d.local.country_name+" / "+d.local.lang+"\x3c/option\x3e";this.els.countryList.find("option[value\x3dother]").target[0].insertAdjacentHTML("beforebegin",d)}};k.prototype.remove=function(){this.els.section.remove()};k.prototype.isAccepted=function(){return g.getCookie(this.settings.cookies.accept.name)?!0:!1};k.prototype.isCountrySelected= function(){return this.settings.SITECD===g.getCookie(this.settings.cookies.selectedSitecd.name)?!0:!1};k.prototype.isLocalSite=function(){var d=this;return!!this.els.countryList.find(this.settings.selector.locationSitecd).target.map(function(h){return h.value}).find(function(h){return h===d.settings.SITECD})};k.prototype.isExistSitecd=function(){var d=this;return b.find(function(h){return h.site_code.toLowerCase()===d.settings.SITECD})?!0:!1};k.prototype.checkCountryValid=function(){return this.els.countryList.find(this.settings.selector.urlSitecd).target.length&& this.els.countryList.find(this.settings.selector.locationSitecd).target.length?!0:!1};k.prototype.isOnlyOption=function(){return 2>this.els.countryList.find(this.settings.selector.urlSitecd).target.length};k.prototype.isWebViewFlag=function(){var d=!1;window.addEventListener("flutterInAppWebViewPlatformReady",function(){d=!0});var h=navigator.userAgent.toLowerCase(),f=-1