URL: http://www.apple.com/today/static/globalfooter/en_IN/scripts/ac-globalfooter.built.js
or(this._selectors.directory+"-column-section-title-button"),s=e.querySelector(this._selectors.directory+"-column-section-title-icon"),a=e.querySelector(this._selectors.directory+"-column-section-list");n.create(e,i,s,a,{expandedClassName:t.className+"-directory-column-expanded"})})}_initializeLangLink(){if(this._langLink=this.el.querySelector(this._selectors.mini+"-locale-lang"),!this._langLink)return;let t=window.location.pathname;const e=this._langLink.getAttribute("data-locale-current"),i=this._langLink.pathname;if(t.includes(e)){t=t.replace(e,i);t.startsWith("/")||(t="/"+t),this._langLink.href=t}}}},{5:5}],4:[function(t,e,i){const n={collapsed:"10.075 0.675 5.5 5.323 0.925 0.675",halfway:"10.075 3 5.5 3 0.925 3",expanded:"10.075 5.325 5.5 0.676 0.925 5.325"},s={Template:``,Points:n,Selector:"[data-footer-icon]",ShapeSelector:"[data-footer-icon-shape]",ExpandAnimationSelector:'[data-footer-animate="expand"]',CollapseAnimationSelector:'[data-footer-animate="collapse"]'};e.exports=s},{}],5:[function(t,e,i){const n=t(7),s=t(4),a={expandedClassName:"footer-directory-column-expanded"},o=new n({breakpoints:[{name:"xsmall",mediaQuery:"only screen and (max-width: 480px)"},{name:"small",mediaQuery:"only screen and (min-width: 481px) and (max-width: 833px)"},{name:"medium",mediaQuery:"only screen and (min-width: 834px) and (max-width: 1023px)"},{name:"large",mediaQuery:"only screen and (min-width: 1024px)"}]});class r{constructor(t,e,i,o,l){this.options=Object.assign({},a,l),this.section=t,this.button=e,this.icon=i,this.list=o,this.expanded=!1,this.icon.innerHTML=s.Template,this.icon.iconExpandAnimationEl=this.icon.querySelector(s.ExpandAnimationSelector),this.icon.iconCollapseAnimationEl=this.icon.querySelector(s.CollapseAnimationSelector),this.button.addEventListener("click",this.toggle.bind(this)),r._viewports.on(n.CHANGE_EVENTS.VIEWPORT,this.onViewportChange.bind(this));const c=r._viewports.getBreakpoint();this.onViewportChange({viewport:c})}static create(t,e,i,n,s){return new r(t,e,i,n,s)}isExpanded(){return this.expanded}toggle(){this.isExpanded()?this.collapse():this.expand()}expand(){this.expanded||(this.icon.iconExpandAnimationEl.beginElement(),this.expanded=!0,this.section.classList.add(this.options.expandedClassName),this.button.ariaExpanded=!0)}collapse(){this.expanded&&(this.icon.iconCollapseAnimationEl.beginElement(),this.expanded=!1,this.section.classList.remove(this.options.expandedClassName),this.button.ariaExpanded=!1)}_isBreakPointWithMenu(t){return"small"===t||"xsmall"===t}onViewportChange(t){this._isBreakPointWithMenu(t.viewport)?(this.button.removeAttribute("disabled"),this.button.setAttribute("aria-expanded","false"),this.button.setAttribute("aria-controls",this.list.id)):(this.collapse(),this.button.setAttribute("disabled",""),this.button.removeAttribute("aria-expanded"),this.button.removeAttribute("aria-controls"))}destroy(){this.button.removeEventListener("click",this.toggle.bind(this))}}r._viewports=o,e.exports=r},{4:4,7:7}],6:[function(t,e,i){e.exports=class{constructor(t,e){this._target=t,this._tests={},this.addTests(e)}addTests(t){this._tests=Object.assign(this._tests,t)}htmlClass(){this._target.classList.remove("no-js"),this._target.classList.add("js");for(let t of Object.keys(this._tests))this._addClass(t)}_supports(t){return void 0!==this._tests[t]&&("function"==typeof this._tests[t]&&(this._tests[t]=this._tests[t]()),this._tests[t])}_addClass(t,e){e=e||"no-",this._supports(t)?this._target.classList.add(t):this._target.classList.add(e+t)}}},{}],7:[function(t,e,i){"use strict";const n=t(1).EventEmitterMicro,s=[{name:"S",mediaQuery:"only screen and (max-width: 734px)"},{name:"M",mediaQuery:"only screen and (min-width: 735px) and (max-width: 1068px)"},{name:"L",mediaQuery:"only screen and (min-width: 1069px) and (max-width: 1440px)"},{name:"X",mediaQuery:"only screen and (min-width: 1441px)"}],a="only screen and (-webkit-min-device-pixel-ratio: 1.5), screen and (min-resolution: 1.5dppx), screen and (min-resolution: 144dpi)",o="only screen and (orientation: portrait)";class r extends n{constructor(t={}){super(),this.BREAKPOINTS=t.breakpoints||s,this._setupProperties(),this._onRetinaChange=this._onRetinaChange.bind(this),this._onOrientationChange=this._onOrientationChange.bind(this),this.listenersAdded={orientation:!1,retina:!1,viewport:!1}}static get CHANGE_EVENTS(){return{ORIENTATION:"change:orientation",RETINA:"change:retina",VIEWPORT:"change:viewport"}}on(){this._setupListeners(arguments[0]),super.on.apply(this,arguments)}_onRetinaChange(){this.trigger(r.CHANGE_EVENTS.RETINA,this)}_onOrientationChange(){this.trigger(r.CHANGE_EVENTS.ORIENTATION,this)}_setupProperties(){Object.defineProperty(this,"retina",{get:()=>window.matchMedia(a).matches}),Object.defineProperty(this,"orientation",{get:()=>window.matchMedia(o).matches?"portrait":"landscape"}),this.viewport=this.getBreakpoint()}_setupListeners(t){if(t!==r.CHANGE_EVENTS.RETINA||this.listenersAdded.retina||(window.matchMedia(a).addListener(this._onRetinaChange),this.listenersAdded.retina=!0),t!==r.CHANGE_EVENTS.ORIENTATION||this.listenersAdded.orientation||(window.matchMedia(o).addListener(this._onOrientationChange),this.listenersAdded.orientation=!0),t===r.CHANGE_EVENTS.VIEWPORT&&!this.listenersAdded.viewport){for(let t=0;tNote: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: