Analyze

netaporter.co.uk: NET-A-PORTER.COM

Shop designer fashion online at NET-A-PORTER.COM. Designer clothes, designer shoes, designer bags and designer accessories from top designer brands: Christian Louboutin, Matthew Williamson, Alexander ...

Page load speed analysis

  • 57/100

    Normal result
  • 6

    Successful tests
  • 2

    Failed tests
  • First response

    277 ms

  • Resources loaded

    4.2 sec

  • Page rendered

    683 ms

  • Total page load time

    5.2 sec

Click here to check amazing NET A PORTER content. Otherwise, check out these important facts you probably never knew about netaporter.co.uk

We analyzed Netaporter.co.uk page load time and found that the first response time was 277 ms and then it took 4.9 sec to load all DOM resources and completely render a web page. This is a poor result, as 70% of websites can load faster.

Page optimization

  • HTML 223.2 kB
    Images 4.5 MB
    Javascripts 1.5 MB
    CSS 162.2 kB

    In fact, the total size of Netaporter.co.uk main page is 6.4 MB. This result falls beyond the top 1M of websites and identifies a large and not optimized web page that may take ages to load. Only a small number of websites need less resources to load. Images take 4.5 MB which makes up the majority of the site volume.

    • Original 223.2 kB
    • After minification 176.2 kB
    • After compression 31.5 kB

    HTML optimization

    HTML content can be minified and compressed by a website’s server. The most efficient way is to compress content using GZIP which reduces data amount travelling through the network between server and browser. This page needs HTML code to be minified as it can gain 47.0 kB, which is 21% of the original size. It is highly recommended that content of this web page should be compressed using GZIP, as it can save up to 191.7 kB or 86% of the original size.

    • Original 4.5 MB
    • After optimization 4.5 MB

    Image optimization

    Image size optimization can help to speed up a website loading time. The chart above shows the difference between the size before and after optimization. NET A PORTER images are well optimized though.

    • Original 1.5 MB
    • After minification 1.4 MB
    • After compression 445.6 kB

    JavaScript optimization

    It’s better to minify JavaScript in order to improve website performance. The diagram shows the current total size of all JavaScript files against the prospective JavaScript size after its minification and compression. It is highly recommended that all JavaScript files should be compressed and minified as it can save up to 1.1 MB or 70% of the original size.

    • Original 162.2 kB
    • After minification 162.1 kB
    • After compression 22.1 kB

    CSS optimization

    CSS files minification is very important to reduce a web page rendering time. The faster CSS files can load, the earlier a page can be rendered. Netaporter.co.uk needs all CSS files to be minified and compressed as it can save up to 140.0 kB or 86% of the original size.

Network requests diagram

  • www.net-a-porter.com
  • girdle-head-styles.min.796078b11018c052.css
  • girdle-head-scripts.min.e8361c1bbf1efd75.js
  • webcomponents-lite.min.js
  • edge.6.0.0.min.js
  • NAPanalytics.js
  • vendor.min.bc2d51a6bb61abbc.js
  • girdle-footer-scripts.min.0b345d39d90cfc2d.js
  • girdle-analytics.min.96eefd18dfddb439.js
  • girdle-async.min.37ca3620654d1d66.js
  • opentag-131906-1984205.js
  • smartserve-4075.js
  • keen-tracker.min.js
  • hpto_en_edge.js
  • gpt.js
  • icon-sprite.3c3df6a06a150d47.svg
  • flags.b29027f6988cdfef.png
  • logo-net-a-porter.99b50697f42b8e42.svg
  • spacer.df3e567d6f16d040.gif
  • backup_en.jpg
  • EditCover.jpg
  • keyline.gif
  • SubStoryBG_4.jpg
  • en.jpg
  • keyline_sanserif.gif
  • marketing.jpg
  • marketing.jpg
  • marketing.jpg
  • marketing.jpg
  • marketing.jpg
  • marketing.jpg
  • marketing.jpg
  • marketing.jpg
  • c56da29d-9c5b-4d94-900f-770cde3dd317.d3a69fd568678eec.woff
  • cd5a93fc-2bb1-48df-8982-11119cd6e270.4925677bed222843.woff
  • f05272f9-83e3-4de6-8423-5d57f730c87b.7f75efa91f9d025f.woff
  • hpto_en_edge.js
  • 154f31d8-5daa-4518-a6ff-e0c3592eed9c.cc67b193aacd8002.woff
  • 7f0e9877-893e-4907-94ad-ecef628a528c.3920e6870c4ce9c6.woff
  • ea7b4b60-1e11-4925-adf6-2642257c10b1.c24e75e557e176d8.woff
  • 457355d5-65ee-4749-96db-ea452d063bbd.5dd8f65f2c34342d.woff
  • 4d87a160-455e-4760-a147-b191cf1f3adc.f1dac53d9200890e.woff
  • pubads_impl_82.js
  • container.html
  • ads
  • customer.json
  • itemcount.json
  • unviewedAlertsCount.json
  • servicemessagesextended.nap
  • info.json
  • qtracker-v3-min.js
  • 7122881967374904396
  • gtm.js
  • polymer.c928c30ad6a55f71.html
  • global.dfd2c9d4f553ed06.html
  • nap-live.html
  • livePerson_v2.min.js
  • 1.jpg
  • 2.jpg
  • 3.jpg
  • 4.jpg
  • 5.jpg
  • 6.jpg
  • 7.jpg
  • 8.jpg
  • 9.jpg
  • 10.jpg
  • 11.jpg
  • close.png
  • sound.png
  • mute.png
  • copy.png
  • shop_en.png
  • mapper.min.js
  • osd.js
  • fcffd624-f5bd-4f58-83b3-a7cdec81e69b.206a43a9b993d7cd.woff
  • 9a837b71-bf25-4adf-a558-d0cc7e3f135d.52316ae7b96a683d.woff
  • t2
  • javascript;charset=utf-8,(function()%7Bfunction%20resolve()%7Bdocument.body.removeAttribute(%22unresolved%22)%7Dif(window.WebComponents)%7BaddEventListener(%22WebComponentsReady%22%2Cresolve)%7Delse%7Bif(document.readyState%3D%3D%3D%22interactive%22%7C%7Cdocument.readyState%3D%3D%3D%22complete%22)%7Bresolve()%7Delse%7BaddEventListener(%22DOMContentLoaded%22%2Cresolve)%7D%7D%7D)()%3Bwindow.Polymer%3D%7BSettings%3Afunction()%7Bvar%20user%3Dwindow.Polymer%7C%7C%7B%7D%3Bvar%20parts%3Dlocation.search.slice(1).split(%22%26%22)%3Bfor(var%20i%3D0%2Co%3Bi%3Cparts.length%26%26(o%3Dparts%5Bi%5D)%3Bi%2B%2B)%7Bo%3Do.split(%22%3D%22)%3Bo%5B0%5D%26%26(user%5Bo%5B0%5D%5D%3Do%5B1%5D%7C%7Ctrue)%7Dvar%20wantShadow%3Duser.dom%3D%3D%3D%22shadow%22%3Bvar%20hasShadow%3DBoolean(Element.prototype.createShadowRoot)%3Bvar%20nativeShadow%3DhasShadow%26%26!window.ShadowDOMPolyfill%3Bvar%20useShadow%3DwantShadow%26%26hasShadow%3Bvar%20hasNativeImports%3DBoolean(%22import%22in%20document.createElement(%22link%22))%3Bvar%20useNativeImports%3DhasNativeImports%3Bvar%20useNativeCustomElements%3D!window.CustomElements%7C%7Cwindow.CustomElements.useNative%3Breturn%7BwantShadow%3AwantShadow%2ChasShadow%3AhasShadow%2CnativeShadow%3AnativeShadow%2CuseShadow%3AuseShadow%2CuseNativeShadow%3AuseShadow%26%26nativeShadow%2CuseNativeImports%3AuseNativeImports%2CuseNativeCustomElements%3AuseNativeCustomElements%7D%7D()%7D%3B(function()%7Bvar%20userPolymer%3Dwindow.Polymer%3Bwindow.Polymer%3Dfunction(prototype)%7Bif(typeof%20prototype%3D%3D%3D%22function%22)%7Bprototype%3Dprototype.prototype%7Dif(!prototype)%7Bprototype%3D%7B%7D%7Dvar%20factory%3Ddesugar(prototype)%3Bprototype%3Dfactory.prototype%3Bvar%20options%3D%7Bprototype%3Aprototype%7D%3Bif(prototype.extends)%7Boptions.extends%3Dprototype.extends%7DPolymer.telemetry._registrate(prototype)%3Bdocument.registerElement(prototype.is%2Coptions)%3Breturn%20factory%7D%3Bvar%20desugar%3Dfunction(prototype)%7Bvar%20base%3DPolymer.Base%3Bif(prototype.extends)%7Bbase%3DPolymer.Base._getExtendedPrototype(prototype.extends)%7Dprototype%3DPolymer.Base.chainObject(prototype%2Cbase)%3Bprototype.registerCallback()%3Breturn%20prototype.constructor%7D%3Bwindow.Polymer%3DPolymer%3Bif(userPolymer)%7Bfor(var%20i%20in%20userPolymer)%7BPolymer%5Bi%5D%3DuserPolymer%5Bi%5D%7D%7DPolymer.Class%3Ddesugar%7D)()%3BPolymer.telemetry%3D%7Bregistrations%3A%5B%5D%2C_regLog%3Afunction(prototype)%7Bconsole.log(%22%5B%22%2Bprototype.is%2B%22%5D%3A%20registered%22)%7D%2C_registrate%3Afunction(prototype)%7Bthis.registrations.push(prototype)%3BPolymer.log%26%26this._regLog(prototype)%7D%2CdumpRegistrations%3Afunction()%7Bthis.registrations.forEach(this._regLog)%7D%7D%3BObject.defineProperty(window%2C%22currentImport%22%2C%7Benumerable%3Atrue%2Cconfigurable%3Atrue%2Cget%3Afunction()%7Breturn(document._currentScript%7C%7Cdocument.currentScript).ownerDocument%7D%7D)%3BPolymer.RenderStatus%3D%7B_ready%3Afalse%2C_callbacks%3A%5B%5D%2CwhenReady%3Afunction(cb)%7Bif(this._ready)%7Bcb()%7Delse%7Bthis._callbacks.push(cb)%7D%7D%2C_makeReady%3Afunction()%7Bthis._ready%3Dtrue%3Bfor(var%20i%3D0%3Bi%3Cthis._callbacks.length%3Bi%2B%2B)%7Bthis._callbacks%5Bi%5D()%7Dthis._callbacks%3D%5B%5D%7D%2C_catchFirstRender%3Afunction()%7BrequestAnimationFrame(function()%7BPolymer.RenderStatus._makeReady()%7D)%7D%2C_afterNextRenderQueue%3A%5B%5D%2C_waitingNextRender%3Afalse%2CafterNextRender%3Afunction(element%2Cfn%2Cargs)%7Bthis._watchNextRender()%3Bthis._afterNextRenderQueue.push(%5Belement%2Cfn%2Cargs%5D)%7D%2C_watchNextRender%3Afunction()%7Bif(!this._waitingNextRender)%7Bthis._waitingNextRender%3Dtrue%3Bvar%20fn%3Dfunction()%7BPolymer.RenderStatus._flushNextRender()%7D%3Bif(!this._ready)%7Bthis.whenReady(fn)%7Delse%7BrequestAnimationFrame(fn)%7D%7D%7D%2C_flushNextRender%3Afunction()%7Bvar%20self%3Dthis%3BsetTimeout(function()%7Bself._flushRenderCallbacks(self._afterNextRenderQueue)%3Bself._afterNextRenderQueue%3D%5B%5D%3Bself._waitingNextRender%3Dfalse%7D)%7D%2C_flushRenderCallbacks%3Afunction(callbacks)%7Bfor(var%20i%3D0%2Ch%3Bi%3Ccallbacks.length%3Bi%2B%2B)%7Bh%3Dcallbacks%5Bi%5D%3Bh%5B1%5D.apply(h%5B0%5D%2Ch%5B2%5D%7C%7CPolymer.nar)%7D%7D%7D%3Bif(window.HTMLImports)%7BHTMLImports.whenReady(function()%7BPolymer.RenderStatus._catchFirstRender()%7D)%7Delse%7BPolymer.RenderStatus._catchFirstRender()%7DPolymer.ImportStatus%3DPolymer.RenderStatus%3BPolymer.ImportStatus.whenLoaded%3DPolymer.ImportStatus.whenReady%3BPolymer.Base%3D%7B__isPolymerInstance__%3Atrue%2C_addFeature%3Afunction(feature)%7Bthis.extend(this%2Cfeature)%7D%2CregisterCallback%3Afunction()%7Bthis._desugarBehaviors()%3Bthis._doBehavior(%22beforeRegister%22)%3Bthis._registerFeatures()%3Bthis._doBehavior(%22registered%22)%7D%2CcreatedCallback%3Afunction()%7BPolymer.telemetry.instanceCount%2B%2B%3Bthis.root%3Dthis%3Bthis._doBehavior(%22created%22)%3Bthis._initFeatures()%7D%2CattachedCallback%3Afunction()%7Bvar%20self%3Dthis%3BPolymer.RenderStatus.whenReady(function()%7Bself.isAttached%3Dtrue%3Bself._doBehavior(%22attached%22)%7D)%7D%2CdetachedCallback%3Afunction()%7Bthis.isAttached%3Dfalse%3Bthis._doBehavior(%22detached%22)%7D%2CattributeChangedCallback%3Afunction(name%2ColdValue%2CnewValue)%7Bthis._attributeChangedImpl(name)%3Bthis._doBehavior(%22attributeChanged%22%2C%5Bname%2ColdValue%2CnewValue%5D)%7D%2C_attributeChangedImpl%3Afunction(name)%7Bthis._setAttributeToProperty(this%2Cname)%7D%2Cextend%3Afunction(prototype%2Capi)%7Bif(prototype%26%26api)%7Bvar%20n%24%3DObject.getOwnPropertyNames(api)%3Bfor(var%20i%3D0%2Cn%3Bi%3Cn%24.length%26%26(n%3Dn%24%5Bi%5D)%3Bi%2B%2B)%7Bthis.copyOwnProperty(n%2Capi%2Cprototype)%7D%7Dreturn%20prototype%7C%7Capi%7D%2Cmixin%3Afunction(target%2Csource)%7Bfor(var%20i%20in%20source)%7Btarget%5Bi%5D%3Dsource%5Bi%5D%7Dreturn%20target%7D%2CcopyOwnProperty%3Afunction(name%2Csource%2Ctarget)%7Bvar%20pd%3DObject.getOwnPropertyDescriptor(source%2Cname)%3Bif(pd)%7BObject.defineProperty(target%2Cname%2Cpd)%7D%7D%2C_log%3Aconsole.log.apply.bind(console.log%2Cconsole)%2C_warn%3Aconsole.warn.apply.bind(console.warn%2Cconsole)%2C_error%3Aconsole.error.apply.bind(console.error%2Cconsole)%2C_logf%3Afunction()%7Breturn%20this._logPrefix.concat(%5Bthis.is%5D).concat(Array.prototype.slice.call(arguments%2C0))%7D%7D%3BPolymer.Base._logPrefix%3Dfunction()%7Bvar%20color%3Dwindow.chrome%7C%7C%2Ffirefox%2Fi.test(navigator.userAgent)%3Breturn%20color%3F%5B%22%25c%5B%25s%3A%3A%25s%5D%3A%22%2C%22font-weight%3A%20bold%3B%20background-color%3A%23EEEE00%3B%22%5D%3A%5B%22%5B%25s%3A%3A%25s%5D%3A%22%5D%7D()%3BPolymer.Base.chainObject%3Dfunction(object%2Cinherited)%7Bif(object%26%26inherited%26%26object!%3D%3Dinherited)%7Bif(!Object.__proto__)%7Bobject%3DPolymer.Base.extend(Object.create(inherited)%2Cobject)%7Dobject.__proto__%3Dinherited%7Dreturn%20object%7D%3BPolymer.Base%3DPolymer.Base.chainObject(Polymer.Base%2CHTMLElement.prototype)%3Bif(window.CustomElements)%7BPolymer.instanceof%3DCustomElements.instanceof%7Delse%7BPolymer.instanceof%3Dfunction(obj%2Cctor)%7Breturn%20obj%20instanceof%20ctor%7D%7DPolymer.isInstance%3Dfunction(obj)%7Breturn%20Boolean(obj%26%26obj.__isPolymerInstance__)%7D%3BPolymer.telemetry.instanceCount%3D0%3B(function()%7Bvar%20modules%3D%7B%7D%3Bvar%20lcModules%3D%7B%7D%3Bvar%20findModule%3Dfunction(id)%7Breturn%20modules%5Bid%5D%7C%7ClcModules%5Bid.toLowerCase()%5D%7D%3Bvar%20DomModule%3Dfunction()%7Breturn%20document.createElement(%22dom-module%22)%7D%3BDomModule.prototype%3DObject.create(HTMLElement.prototype)%3BPolymer.Base.extend(DomModule.prototype%2C%7Bconstructor%3ADomModule%2CcreatedCallback%3Afunction()%7Bthis.register()%7D%2Cregister%3Afunction(id)%7Bvar%20id%3Did%7C%7Cthis.id%7C%7Cthis.getAttribute(%22name%22)%7C%7Cthis.getAttribute(%22is%22)%3Bif(id)%7Bthis.id%3Did%3Bmodules%5Bid%5D%3Dthis%3BlcModules%5Bid.toLowerCase()%5D%3Dthis%7D%7D%2C%22import%22%3Afunction(id%2Cselector)%7Bif(id)%7Bvar%20m%3DfindModule(id)%3Bif(!m)%7BforceDomModulesUpgrade()%3Bm%3DfindModule(id)%7Dif(m%26%26selector)%7Bm%3Dm.querySelector(selector)%7Dreturn%20m%7D%7D%7D)%3Bvar%20cePolyfill%3Dwindow.CustomElements%26%26!CustomElements.useNative%3Bdocument.registerElement(%22dom-module%22%2CDomModule)%3Bfunction%20forceDomModulesUpgrade()%7Bif(cePolyfill)%7Bvar%20script%3Ddocument._currentScript%7C%7Cdocument.currentScript%3Bvar%20doc%3Dscript%26%26script.ownerDocument%7C%7Cdocument%3Bvar%20modules%3Ddoc.querySelectorAll(%22dom-module%22)%3Bfor(var%20i%3Dmodules.length-1%2Cm%3Bi%3E%3D0%26%26(m%3Dmodules%5Bi%5D)%3Bi--)%7Bif(m.__upgraded__)%7Breturn%7Delse%7BCustomElements.upgrade(m)%7D%7D%7D%7D%7D)()%3BPolymer.Base._addFeature(%7B_prepIs%3Afunction()%7Bif(!this.is)%7Bvar%20module%3D(document._currentScript%7C%7Cdocument.currentScript).parentNode%3Bif(module.localName%3D%3D%3D%22dom-module%22)%7Bvar%20id%3Dmodule.id%7C%7Cmodule.getAttribute(%22name%22)%7C%7Cmodule.getAttribute(%22is%22)%3Bthis.is%3Did%7D%7Dif(this.is)%7Bthis.is%3Dthis.is.toLowerCase()%7D%7D%7D)%3BPolymer.Base._addFeature(%7Bbehaviors%3A%5B%5D%2C_desugarBehaviors%3Afunction()%7Bif(this.behaviors.length)%7Bthis.behaviors%3Dthis._desugarSomeBehaviors(this.behaviors)%7D%7D%2C_desugarSomeBehaviors%3Afunction(behaviors)%7Bbehaviors%3Dthis._flattenBehaviorsList(behaviors)%3Bfor(var%20i%3Dbehaviors.length-1%3Bi%3E%3D0%3Bi--)%7Bthis._mixinBehavior(behaviors%5Bi%5D)%7Dreturn%20behaviors%7D%2C_flattenBehaviorsList%3Afunction(behaviors)%7Bvar%20flat%3D%5B%5D%3Bfor(var%20i%3D0%3Bi%3Cbehaviors.length%3Bi%2B%2B)%7Bvar%20b%3Dbehaviors%5Bi%5D%3Bif(b%20instanceof%20Array)%7Bflat%3Dflat.concat(this._flattenBehaviorsList(b))%7Delse%20if(b)%7Bflat.push(b)%7Delse%7Bthis._warn(this._logf(%22_flattenBehaviorsList%22%2C%22behavior%20is%20null%2C%20check%20for%20missing%20or%20404%20import%22))%7D%7Dreturn%20flat%7D%2C_mixinBehavior%3Afunction(b)%7Bvar%20n%24%3DObject.getOwnPropertyNames(b)%3Bfor(var%20i%3D0%2Cn%3Bi%3Cn%24.length%26%26(n%3Dn%24%5Bi%5D)%3Bi%2B%2B)%7Bif(!Polymer.Base._behaviorProperties%5Bn%5D%26%26!this.hasOwnProperty(n))%7Bthis.copyOwnProperty(n%2Cb%2Cthis)%7D%7D%7D%2C_prepBehaviors%3Afunction()%7Bthis._prepFlattenedBehaviors(this.behaviors)%7D%2C_prepFlattenedBehaviors%3Afunction(behaviors)%7Bfor(var%20i%3D0%2Cl%3Dbehaviors.length%3Bi%3Cl%3Bi%2B%2B)%7Bthis._prepBehavior(behaviors%5Bi%5D)%7Dthis._prepBehavior(this)%7D%2C_doBehavior%3Afunction(name%2Cargs)%7Bfor(var%20i%3D0%3Bi%3Cthis.behaviors.length%3Bi%2B%2B)%7Bthis._invokeBehavior(this.behaviors%5Bi%5D%2Cname%2Cargs)%7Dthis._invokeBehavior(this%2Cname%2Cargs)%7D%2C_invokeBehavior%3Afunction(b%2Cname%2Cargs)%7Bvar%20fn%3Db%5Bname%5D%3Bif(fn)%7Bfn.apply(this%2Cargs%7C%7CPolymer.nar)%7D%7D%2C_marshalBehaviors%3Afunction()%7Bfor(var%20i%3D0%3Bi%3Cthis.behaviors.length%3Bi%2B%2B)%7Bthis._marshalBehavior(this.behaviors%5Bi%5D)%7Dthis._marshalBehavior(this)%7D%7D)%3BPolymer.Base._behaviorProperties%3D%7BhostAttributes%3Atrue%2CbeforeRegister%3Atrue%2Cregistered%3Atrue%2Cproperties%3Atrue%2Cobservers%3Atrue%2Clisteners%3Atrue%2Ccreated%3Atrue%2Cattached%3Atrue%2Cdetached%3Atrue%2CattributeChanged%3Atrue%2Cready%3Atrue%7D%3BPolymer.Base._addFeature(%7B_getExtendedPrototype%3Afunction(tag)%7Breturn%20this._getExtendedNativePrototype(tag)%7D%2C_nativePrototypes%3A%7B%7D%2C_getExtendedNativePrototype%3Afunction(tag)%7Bvar%20p%3Dthis._nativePrototypes%5Btag%5D%3Bif(!p)%7Bvar%20np%3Dthis.getNativePrototype(tag)%3Bp%3Dthis.extend(Object.create(np)%2CPolymer.Base)%3Bthis._nativePrototypes%5Btag%5D%3Dp%7Dreturn%20p%7D%2CgetNativePrototype%3Afunction(tag)%7Breturn%20Object.getPrototypeOf(document.createElement(tag))%7D%7D)%3BPolymer.Base._addFeature(%7B_prepConstructor%3Afunction()%7Bthis._factoryArgs%3Dthis.extends%3F%5Bthis.extends%2Cthis.is%5D%3A%5Bthis.is%5D%3Bvar%20ctor%3Dfunction()%7Breturn%20this._factory(arguments)%7D%3Bif(this.hasOwnProperty(%22extends%22))%7Bctor.extends%3Dthis.extends%7DObject.defineProperty(this%2C%22constructor%22%2C%7Bvalue%3Actor%2Cwritable%3Atrue%2Cconfigurable%3Atrue%7D)%3Bctor.prototype%3Dthis%7D%2C_factory%3Afunction(args)%7Bvar%20elt%3Ddocument.createElement.apply(document%2Cthis._factoryArgs)%3Bif(this.factoryImpl)%7Bthis.factoryImpl.apply(elt%2Cargs)%7Dreturn%20elt%7D%7D)%3BPolymer.nob%3DObject.create(null)%3BPolymer.Base._addFeature(%7Bproperties%3A%7B%7D%2CgetPropertyInfo%3Afunction(property)%7Bvar%20info%3Dthis._getPropertyInfo(property%2Cthis.properties)%3Bif(!info)%7Bfor(var%20i%3D0%3Bi%3Cthis.behaviors.length%3Bi%2B%2B)%7Binfo%3Dthis._getPropertyInfo(property%2Cthis.behaviors%5Bi%5D.properties)%3Bif(info)%7Breturn%20info%7D%7D%7Dreturn%20info%7C%7CPolymer.nob%7D%2C_getPropertyInfo%3Afunction(property%2Cproperties)%7Bvar%20p%3Dproperties%26%26properties%5Bproperty%5D%3Bif(typeof%20p%3D%3D%3D%22function%22)%7Bp%3Dproperties%5Bproperty%5D%3D%7Btype%3Ap%7D%7Dif(p)%7Bp.defined%3Dtrue%7Dreturn%20p%7D%2C_prepPropertyInfo%3Afunction()%7Bthis._propertyInfo%3D%7B%7D%3Bfor(var%20i%3D0%2Cp%3Bi%3Cthis.behaviors.length%3Bi%2B%2B)%7Bthis._addPropertyInfo(this._propertyInfo%2Cthis.behaviors%5Bi%5D.properties)%7Dthis._addPropertyInfo(this._propertyInfo%2Cthis.properties)%3Bthis._addPropertyInfo(this._propertyInfo%2Cthis._propertyEffects)%7D%2C_addPropertyInfo%3Afunction(target%2Csource)%7Bif(source)%7Bvar%20t%2Cs%3Bfor(var%20i%20in%20source)%7Bt%3Dtarget%5Bi%5D%3Bs%3Dsource%5Bi%5D%3Bif(i%5B0%5D%3D%3D%3D%22_%22%26%26!s.readOnly)%7Bcontinue%7Dif(!target%5Bi%5D)%7Btarget%5Bi%5D%3D%7Btype%3Atypeof%20s%3D%3D%3D%22function%22%3Fs%3As.type%2CreadOnly%3As.readOnly%2Cattribute%3APolymer.CaseMap.camelToDashCase(i)%7D%7Delse%7Bif(!t.type)%7Bt.type%3Ds.type%7Dif(!t.readOnly)%7Bt.readOnly%3Ds.readOnly%7D%7D%7D%7D%7D%7D)%3BPolymer.CaseMap%3D%7B_caseMap%3A%7B%7D%2CdashToCamelCase%3Afunction(dash)%7Bvar%20mapped%3DPolymer.CaseMap._caseMap%5Bdash%5D%3Bif(mapped)%7Breturn%20mapped%7Dif(dash.indexOf(%22-%22)%3C0)%7Breturn%20Polymer.CaseMap._caseMap%5Bdash%5D%3Ddash%7Dreturn%20Polymer.CaseMap._caseMap%5Bdash%5D%3Ddash.replace(%2F-(%5Ba-z%5D)%2Fg%2Cfunction(m)%7Breturn%20m%5B1%5D.toUpperCase()%7D)%7D%2CcamelToDashCase%3Afunction(camel)%7Bvar%20mapped%3DPolymer.CaseMap._caseMap%5Bcamel%5D%3Bif(mapped)%7Breturn%20mapped%7Dreturn%20Polymer.CaseMap._caseMap%5Bcamel%5D%3Dcamel.replace(%2F(%5Ba-z%5D%5BA-Z%5D)%2Fg%2Cfunction(g)%7Breturn%20g%5B0%5D%2B%22-%22%2Bg%5B1%5D.toLowerCase()%7D)%7D%7D%3BPolymer.Base._addFeature(%7B_addHostAttributes%3Afunction(attributes)%7Bif(!this._aggregatedAttributes)%7Bthis._aggregatedAttributes%3D%7B%7D%7Dif(attributes)%7Bthis.mixin(this._aggregatedAttributes%2Cattributes)%7D%7D%2C_marshalHostAttributes%3Afunction()%7Bif(this._aggregatedAttributes)%7Bthis._applyAttributes(this%2Cthis._aggregatedAttributes)%7D%7D%2C_applyAttributes%3Afunction(node%2Cattr%24)%7Bfor(var%20n%20in%20attr%24)%7Bif(!this.hasAttribute(n)%26%26n!%3D%3D%22class%22)%7Bvar%20v%3Dattr%24%5Bn%5D%3Bthis.serializeValueToAttribute(v%2Cn%2Cthis)%7D%7D%7D%2C_marshalAttributes%3Afunction()%7Bthis._takeAttributesToModel(this)%7D%2C_takeAttributesToModel%3Afunction(model)%7Bif(this.hasAttributes())%7Bfor(var%20i%20in%20this._propertyInfo)%7Bvar%20info%3Dthis._propertyInfo%5Bi%5D%3Bif(this.hasAttribute(info.attribute))%7Bthis._setAttributeToProperty(model%2Cinfo.attribute%2Ci%2Cinfo)%7D%7D%7D%7D%2C_setAttributeToProperty%3Afunction(model%2Cattribute%2Cproperty%2Cinfo)%7Bif(!this._serializing)%7Bvar%20property%3Dproperty%7C%7CPolymer.CaseMap.dashToCamelCase(attribute)%3Binfo%3Dinfo%7C%7Cthis._propertyInfo%26%26this._propertyInfo%5Bproperty%5D%3Bif(info%26%26!info.readOnly)%7Bvar%20v%3Dthis.getAttribute(attribute)%3Bmodel%5Bproperty%5D%3Dthis.deserialize(v%2Cinfo.type)%7D%7D%7D%2C_serializing%3Afalse%2CreflectPropertyToAttribute%3Afunction(property%2Cattribute%2Cvalue)%7Bthis._serializing%3Dtrue%3Bvalue%3Dvalue%3D%3D%3Dundefined%3Fthis%5Bproperty%5D%3Avalue%3Bthis.serializeValueToAttribute(value%2Cattribute%7C%7CPolymer.CaseMap.camelToDashCase(property))%3Bthis._serializing%3Dfalse%7D%2CserializeValueToAttribute%3Afunction(value%2Cattribute%2Cnode)%7Bvar%20str%3Dthis.serialize(value)%3Bnode%3Dnode%7C%7Cthis%3Bif(str%3D%3D%3Dundefined)%7Bnode.removeAttribute(attribute)%7Delse%7Bnode.setAttribute(attribute%2Cstr)%7D%7D%2Cdeserialize%3Afunction(value%2Ctype)%7Bswitch(type)%7Bcase%20Number%3Avalue%3DNumber(value)%3Bbreak%3Bcase%20Boolean%3Avalue%3Dvalue!%3D%3Dnull%3Bbreak%3Bcase%20Object%3Atry%7Bvalue%3DJSON.parse(value)%7Dcatch(x)%7B%7Dbreak%3Bcase%20Array%3Atry%7Bvalue%3DJSON.parse(value)%7Dcatch(x)%7Bvalue%3Dnull%3Bconsole.warn(%22Polymer%3A%3AAttributes%3A%20couldn%60t%20decode%20Array%20as%20JSON%22)%7Dbreak%3Bcase%20Date%3Avalue%3Dnew%20Date(value)%3Bbreak%3Bcase%20String%3Adefault%3Abreak%7Dreturn%20value%7D%2Cserialize%3Afunction(value)%7Bswitch(typeof%20value)%7Bcase%22boolean%22%3Areturn%20value%3F%22%22%3Aundefined%3Bcase%22object%22%3Aif(value%20instanceof%20Date)%7Breturn%20value%7Delse%20if(value)%7Btry%7Breturn%20JSON.stringify(value)%7Dcatch(x)%7Breturn%22%22%7D%7Ddefault%3Areturn%20value!%3Dnull%3Fvalue%3Aundefined%7D%7D%7D)%3BPolymer.version%3D%221.2.4%22%3BPolymer.Base._addFeature(%7B_registerFeatures%3Afunction()%7Bthis._prepIs()%3Bthis._prepBehaviors()%3Bthis._prepConstructor()%3Bthis._prepPropertyInfo()%7D%2C_prepBehavior%3Afunction(b)%7Bthis._addHostAttributes(b.hostAttributes)%7D%2C_marshalBehavior%3Afunction(b)%7B%7D%2C_initFeatures%3Afunction()%7Bthis._marshalHostAttributes()%3Bthis._marshalBehaviors()%7D%7D)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fnap-assets.nap-live.ext.net-a-porter.com%2Fgirdle%2Fbower_components%2Fpolymer%2Fpolymer.c928c30ad6a55f71.html.js%0A
  • analytics.js
  • conversion_async.js
  • img;m=11007202145151;cache=110550490
  • 54e217b76a8b4e25cd00015a.js
  • netaporter.js
  • yorb.min.js
  • bat.js
  • javascript;charset=utf-8,Polymer.Base._addFeature(%7B_prepTemplate%3Afunction()%7Bif(this._template%3D%3D%3Dundefined)%7Bthis._template%3DPolymer.DomModule.import(this.is%2C%22template%22)%7Dif(this._template%26%26this._template.hasAttribute(%22is%22))%7Bthis._warn(this._logf(%22_prepTemplate%22%2C%22top-level%20Polymer%20template%20%22%2B%22must%20not%20be%20a%20type-extension%2C%20found%22%2Cthis._template%2C%22Move%20inside%20simple%20%3Ctemplate%3E.%22))%7Dif(this._template%26%26!this._template.content%26%26window.HTMLTemplateElement%26%26HTMLTemplateElement.decorate)%7BHTMLTemplateElement.decorate(this._template)%7D%7D%2C_stampTemplate%3Afunction()%7Bif(this._template)%7Bthis.root%3Dthis.instanceTemplate(this._template)%7D%7D%2CinstanceTemplate%3Afunction(template)%7Bvar%20dom%3Ddocument.importNode(template._content%7C%7Ctemplate.content%2Ctrue)%3Breturn%20dom%7D%7D)%3B(function()%7Bvar%20baseAttachedCallback%3DPolymer.Base.attachedCallback%3BPolymer.Base._addFeature(%7B_hostStack%3A%5B%5D%2Cready%3Afunction()%7B%7D%2C_registerHost%3Afunction(host)%7Bthis.dataHost%3Dhost%3Dhost%7C%7CPolymer.Base._hostStack%5BPolymer.Base._hostStack.length-1%5D%3Bif(host%26%26host._clients)%7Bhost._clients.push(this)%7Dthis._clients%3Dnull%3Bthis._clientsReadied%3Dfalse%7D%2C_beginHosting%3Afunction()%7BPolymer.Base._hostStack.push(this)%3Bif(!this._clients)%7Bthis._clients%3D%5B%5D%7D%7D%2C_endHosting%3Afunction()%7BPolymer.Base._hostStack.pop()%7D%2C_tryReady%3Afunction()%7Bthis._readied%3Dfalse%3Bif(this._canReady())%7Bthis._ready()%7D%7D%2C_canReady%3Afunction()%7Breturn!this.dataHost%7C%7Cthis.dataHost._clientsReadied%7D%2C_ready%3Afunction()%7Bthis._beforeClientsReady()%3Bif(this._template)%7Bthis._setupRoot()%3Bthis._readyClients()%7Dthis._clientsReadied%3Dtrue%3Bthis._clients%3Dnull%3Bthis._afterClientsReady()%3Bthis._readySelf()%7D%2C_readyClients%3Afunction()%7Bthis._beginDistribute()%3Bvar%20c%24%3Dthis._clients%3Bif(c%24)%7Bfor(var%20i%3D0%2Cl%3Dc%24.length%2Cc%3Bi%3Cl%26%26(c%3Dc%24%5Bi%5D)%3Bi%2B%2B)%7Bc._ready()%7D%7Dthis._finishDistribute()%7D%2C_readySelf%3Afunction()%7Bthis._doBehavior(%22ready%22)%3Bthis._readied%3Dtrue%3Bif(this._attachedPending)%7Bthis._attachedPending%3Dfalse%3Bthis.attachedCallback()%7D%7D%2C_beforeClientsReady%3Afunction()%7B%7D%2C_afterClientsReady%3Afunction()%7B%7D%2C_beforeAttached%3Afunction()%7B%7D%2CattachedCallback%3Afunction()%7Bif(this._readied)%7Bthis._beforeAttached()%3BbaseAttachedCallback.call(this)%7Delse%7Bthis._attachedPending%3Dtrue%7D%7D%7D)%7D)()%3BPolymer.ArraySplice%3Dfunction()%7Bfunction%20newSplice(index%2Cremoved%2CaddedCount)%7Breturn%7Bindex%3Aindex%2Cremoved%3Aremoved%2CaddedCount%3AaddedCount%7D%7Dvar%20EDIT_LEAVE%3D0%3Bvar%20EDIT_UPDATE%3D1%3Bvar%20EDIT_ADD%3D2%3Bvar%20EDIT_DELETE%3D3%3Bfunction%20ArraySplice()%7B%7DArraySplice.prototype%3D%7BcalcEditDistances%3Afunction(current%2CcurrentStart%2CcurrentEnd%2Cold%2ColdStart%2ColdEnd)%7Bvar%20rowCount%3DoldEnd-oldStart%2B1%3Bvar%20columnCount%3DcurrentEnd-currentStart%2B1%3Bvar%20distances%3Dnew%20Array(rowCount)%3Bfor(var%20i%3D0%3Bi%3CrowCount%3Bi%2B%2B)%7Bdistances%5Bi%5D%3Dnew%20Array(columnCount)%3Bdistances%5Bi%5D%5B0%5D%3Di%7Dfor(var%20j%3D0%3Bj%3CcolumnCount%3Bj%2B%2B)distances%5B0%5D%5Bj%5D%3Dj%3Bfor(var%20i%3D1%3Bi%3CrowCount%3Bi%2B%2B)%7Bfor(var%20j%3D1%3Bj%3CcolumnCount%3Bj%2B%2B)%7Bif(this.equals(current%5BcurrentStart%2Bj-1%5D%2Cold%5BoldStart%2Bi-1%5D))distances%5Bi%5D%5Bj%5D%3Ddistances%5Bi-1%5D%5Bj-1%5D%3Belse%7Bvar%20north%3Ddistances%5Bi-1%5D%5Bj%5D%2B1%3Bvar%20west%3Ddistances%5Bi%5D%5Bj-1%5D%2B1%3Bdistances%5Bi%5D%5Bj%5D%3Dnorth%3Cwest%3Fnorth%3Awest%7D%7D%7Dreturn%20distances%7D%2CspliceOperationsFromEditDistances%3Afunction(distances)%7Bvar%20i%3Ddistances.length-1%3Bvar%20j%3Ddistances%5B0%5D.length-1%3Bvar%20current%3Ddistances%5Bi%5D%5Bj%5D%3Bvar%20edits%3D%5B%5D%3Bwhile(i%3E0%7C%7Cj%3E0)%7Bif(i%3D%3D0)%7Bedits.push(EDIT_ADD)%3Bj--%3Bcontinue%7Dif(j%3D%3D0)%7Bedits.push(EDIT_DELETE)%3Bi--%3Bcontinue%7Dvar%20northWest%3Ddistances%5Bi-1%5D%5Bj-1%5D%3Bvar%20west%3Ddistances%5Bi-1%5D%5Bj%5D%3Bvar%20north%3Ddistances%5Bi%5D%5Bj-1%5D%3Bvar%20min%3Bif(west%3Cnorth)min%3Dwest%3CnorthWest%3Fwest%3AnorthWest%3Belse%20min%3Dnorth%3CnorthWest%3Fnorth%3AnorthWest%3Bif(min%3D%3DnorthWest)%7Bif(northWest%3D%3Dcurrent)%7Bedits.push(EDIT_LEAVE)%7Delse%7Bedits.push(EDIT_UPDATE)%3Bcurrent%3DnorthWest%7Di--%3Bj--%7Delse%20if(min%3D%3Dwest)%7Bedits.push(EDIT_DELETE)%3Bi--%3Bcurrent%3Dwest%7Delse%7Bedits.push(EDIT_ADD)%3Bj--%3Bcurrent%3Dnorth%7D%7Dedits.reverse()%3Breturn%20edits%7D%2CcalcSplices%3Afunction(current%2CcurrentStart%2CcurrentEnd%2Cold%2ColdStart%2ColdEnd)%7Bvar%20prefixCount%3D0%3Bvar%20suffixCount%3D0%3Bvar%20minLength%3DMath.min(currentEnd-currentStart%2ColdEnd-oldStart)%3Bif(currentStart%3D%3D0%26%26oldStart%3D%3D0)prefixCount%3Dthis.sharedPrefix(current%2Cold%2CminLength)%3Bif(currentEnd%3D%3Dcurrent.length%26%26oldEnd%3D%3Dold.length)suffixCount%3Dthis.sharedSuffix(current%2Cold%2CminLength-prefixCount)%3BcurrentStart%2B%3DprefixCount%3BoldStart%2B%3DprefixCount%3BcurrentEnd-%3DsuffixCount%3BoldEnd-%3DsuffixCount%3Bif(currentEnd-currentStart%3D%3D0%26%26oldEnd-oldStart%3D%3D0)return%5B%5D%3Bif(currentStart%3D%3DcurrentEnd)%7Bvar%20splice%3DnewSplice(currentStart%2C%5B%5D%2C0)%3Bwhile(oldStart%3ColdEnd)splice.removed.push(old%5BoldStart%2B%2B%5D)%3Breturn%5Bsplice%5D%7Delse%20if(oldStart%3D%3DoldEnd)return%5BnewSplice(currentStart%2C%5B%5D%2CcurrentEnd-currentStart)%5D%3Bvar%20ops%3Dthis.spliceOperationsFromEditDistances(this.calcEditDistances(current%2CcurrentStart%2CcurrentEnd%2Cold%2ColdStart%2ColdEnd))%3Bvar%20splice%3Dundefined%3Bvar%20splices%3D%5B%5D%3Bvar%20index%3DcurrentStart%3Bvar%20oldIndex%3DoldStart%3Bfor(var%20i%3D0%3Bi%3Cops.length%3Bi%2B%2B)%7Bswitch(ops%5Bi%5D)%7Bcase%20EDIT_LEAVE%3Aif(splice)%7Bsplices.push(splice)%3Bsplice%3Dundefined%7Dindex%2B%2B%3BoldIndex%2B%2B%3Bbreak%3Bcase%20EDIT_UPDATE%3Aif(!splice)splice%3DnewSplice(index%2C%5B%5D%2C0)%3Bsplice.addedCount%2B%2B%3Bindex%2B%2B%3Bsplice.removed.push(old%5BoldIndex%5D)%3BoldIndex%2B%2B%3Bbreak%3Bcase%20EDIT_ADD%3Aif(!splice)splice%3DnewSplice(index%2C%5B%5D%2C0)%3Bsplice.addedCount%2B%2B%3Bindex%2B%2B%3Bbreak%3Bcase%20EDIT_DELETE%3Aif(!splice)splice%3DnewSplice(index%2C%5B%5D%2C0)%3Bsplice.removed.push(old%5BoldIndex%5D)%3BoldIndex%2B%2B%3Bbreak%7D%7Dif(splice)%7Bsplices.push(splice)%7Dreturn%20splices%7D%2CsharedPrefix%3Afunction(current%2Cold%2CsearchLength)%7Bfor(var%20i%3D0%3Bi%3CsearchLength%3Bi%2B%2B)if(!this.equals(current%5Bi%5D%2Cold%5Bi%5D))return%20i%3Breturn%20searchLength%7D%2CsharedSuffix%3Afunction(current%2Cold%2CsearchLength)%7Bvar%20index1%3Dcurrent.length%3Bvar%20index2%3Dold.length%3Bvar%20count%3D0%3Bwhile(count%3CsearchLength%26%26this.equals(current%5B--index1%5D%2Cold%5B--index2%5D))count%2B%2B%3Breturn%20count%7D%2CcalculateSplices%3Afunction(current%2Cprevious)%7Breturn%20this.calcSplices(current%2C0%2Ccurrent.length%2Cprevious%2C0%2Cprevious.length)%7D%2Cequals%3Afunction(currentValue%2CpreviousValue)%7Breturn%20currentValue%3D%3D%3DpreviousValue%7D%7D%3Breturn%20new%20ArraySplice%7D()%3BPolymer.domInnerHTML%3Dfunction()%7Bvar%20escapeAttrRegExp%3D%2F%5B%26%5Cu00A0%22%5D%2Fg%3Bvar%20escapeDataRegExp%3D%2F%5B%26%5Cu00A0%3C%3E%5D%2Fg%3Bfunction%20escapeReplace(c)%7Bswitch(c)%7Bcase%22%26%22%3Areturn%22%26amp%3B%22%3Bcase%22%3C%22%3Areturn%22%26lt%3B%22%3Bcase%22%3E%22%3Areturn%22%26gt%3B%22%3Bcase'%22'%3Areturn%22%26quot%3B%22%3Bcase%22%C2%A0%22%3Areturn%22%26nbsp%3B%22%7D%7Dfunction%20escapeAttr(s)%7Breturn%20s.replace(escapeAttrRegExp%2CescapeReplace)%7Dfunction%20escapeData(s)%7Breturn%20s.replace(escapeDataRegExp%2CescapeReplace)%7Dfunction%20makeSet(arr)%7Bvar%20set%3D%7B%7D%3Bfor(var%20i%3D0%3Bi%3Carr.length%3Bi%2B%2B)%7Bset%5Barr%5Bi%5D%5D%3Dtrue%7Dreturn%20set%7Dvar%20voidElements%3DmakeSet(%5B%22area%22%2C%22base%22%2C%22br%22%2C%22col%22%2C%22command%22%2C%22embed%22%2C%22hr%22%2C%22img%22%2C%22input%22%2C%22keygen%22%2C%22link%22%2C%22meta%22%2C%22param%22%2C%22source%22%2C%22track%22%2C%22wbr%22%5D)%3Bvar%20plaintextParents%3DmakeSet(%5B%22style%22%2C%22script%22%2C%22xmp%22%2C%22iframe%22%2C%22noembed%22%2C%22noframes%22%2C%22plaintext%22%2C%22noscript%22%5D)%3Bfunction%20getOuterHTML(node%2CparentNode%2Ccomposed)%7Bswitch(node.nodeType)%7Bcase%20Node.ELEMENT_NODE%3Avar%20tagName%3Dnode.localName%3Bvar%20s%3D%22%3C%22%2BtagName%3Bvar%20attrs%3Dnode.attributes%3Bfor(var%20i%3D0%2Cattr%3Battr%3Dattrs%5Bi%5D%3Bi%2B%2B)%7Bs%2B%3D%22%20%22%2Battr.name%2B'%3D%22'%2BescapeAttr(attr.value)%2B'%22'%7Ds%2B%3D%22%3E%22%3Bif(voidElements%5BtagName%5D)%7Breturn%20s%7Dreturn%20s%2BgetInnerHTML(node%2Ccomposed)%2B%22%3C%2F%22%2BtagName%2B%22%3E%22%3Bcase%20Node.TEXT_NODE%3Avar%20data%3Dnode.data%3Bif(parentNode%26%26plaintextParents%5BparentNode.localName%5D)%7Breturn%20data%7Dreturn%20escapeData(data)%3Bcase%20Node.COMMENT_NODE%3Areturn%22%5Cx3c!--%22%2Bnode.data%2B%22--%5Cx3e%22%3Bdefault%3Aconsole.error(node)%3Bthrow%20new%20Error(%22not%20implemented%22)%7D%7Dfunction%20getInnerHTML(node%2Ccomposed)%7Bif(node%20instanceof%20HTMLTemplateElement)node%3Dnode.content%3Bvar%20s%3D%22%22%3Bvar%20c%24%3DPolymer.dom(node).childNodes%3Bfor(var%20i%3D0%2Cl%3Dc%24.length%2Cchild%3Bi%3Cl%26%26(child%3Dc%24%5Bi%5D)%3Bi%2B%2B)%7Bs%2B%3DgetOuterHTML(child%2Cnode%2Ccomposed)%7Dreturn%20s%7Dreturn%7BgetInnerHTML%3AgetInnerHTML%7D%7D()%3B(function()%7B%22use%20strict%22%3Bvar%20nativeInsertBefore%3DElement.prototype.insertBefore%3Bvar%20nativeAppendChild%3DElement.prototype.appendChild%3Bvar%20nativeRemoveChild%3DElement.prototype.removeChild%3Bvar%20TreeApi%3DPolymer.TreeApi%3D%7BarrayCopyChildNodes%3Afunction(parent)%7Bvar%20copy%3D%5B%5D%2Ci%3D0%3Bfor(var%20n%3Dparent.firstChild%3Bn%3Bn%3Dn.nextSibling)%7Bcopy%5Bi%2B%2B%5D%3Dn%7Dreturn%20copy%7D%2CarrayCopyChildren%3Afunction(parent)%7Bvar%20copy%3D%5B%5D%2Ci%3D0%3Bfor(var%20n%3Dparent.firstElementChild%3Bn%3Bn%3Dn.nextElementSibling)%7Bcopy%5Bi%2B%2B%5D%3Dn%7Dreturn%20copy%7D%2CarrayCopy%3Afunction(a%24)%7Bvar%20l%3Da%24.length%3Bvar%20copy%3Dnew%20Array(l)%3Bfor(var%20i%3D0%3Bi%3Cl%3Bi%2B%2B)%7Bcopy%5Bi%5D%3Da%24%5Bi%5D%7Dreturn%20copy%7D%7D%3BPolymer.TreeApi.Logical%3D%7BhasParentNode%3Afunction(node)%7Breturn%20Boolean(node.__dom%26%26node.__dom.parentNode)%7D%2ChasChildNodes%3Afunction(node)%7Breturn%20Boolean(node.__dom%26%26node.__dom.childNodes!%3D%3Dundefined)%7D%2CgetChildNodes%3Afunction(node)%7Breturn%20this.hasChildNodes(node)%3Fthis._getChildNodes(node)%3Anode.childNodes%7D%2C_getChildNodes%3Afunction(node)%7Bif(!node.__dom.childNodes)%7Bnode.__dom.childNodes%3D%5B%5D%3Bfor(var%20n%3Dnode.__dom.firstChild%3Bn%3Bn%3Dn.__dom.nextSibling)%7Bnode.__dom.childNodes.push(n)%7D%7Dreturn%20node.__dom.childNodes%7D%2CgetParentNode%3Afunction(node)%7Breturn%20node.__dom%26%26node.__dom.parentNode!%3D%3Dundefined%3Fnode.__dom.parentNode%3Anode.parentNode%7D%2CgetFirstChild%3Afunction(node)%7Breturn%20node.__dom%26%26node.__dom.firstChild!%3D%3Dundefined%3Fnode.__dom.firstChild%3Anode.firstChild%7D%2CgetLastChild%3Afunction(node)%7Breturn%20node.__dom%26%26node.__dom.lastChild!%3D%3Dundefined%3Fnode.__dom.lastChild%3Anode.lastChild%7D%2CgetNextSibling%3Afunction(node)%7Breturn%20node.__dom%26%26node.__dom.nextSibling!%3D%3Dundefined%3Fnode.__dom.nextSibling%3Anode.nextSibling%7D%2CgetPreviousSibling%3Afunction(node)%7Breturn%20node.__dom%26%26node.__dom.previousSibling!%3D%3Dundefined%3Fnode.__dom.previousSibling%3Anode.previousSibling%7D%2CgetFirstElementChild%3Afunction(node)%7Breturn%20node.__dom%26%26node.__dom.firstChild!%3D%3Dundefined%3Fthis._getFirstElementChild(node)%3Anode.firstElementChild%7D%2C_getFirstElementChild%3Afunction(node)%7Bvar%20n%3Dnode.__dom.firstChild%3Bwhile(n%26%26n.nodeType!%3D%3DNode.ELEMENT_NODE)%7Bn%3Dn.__dom.nextSibling%7Dreturn%20n%7D%2CgetLastElementChild%3Afunction(node)%7Breturn%20node.__dom%26%26node.__dom.lastChild!%3D%3Dundefined%3Fthis._getLastElementChild(node)%3Anode.lastElementChild%7D%2C_getLastElementChild%3Afunction(node)%7Bvar%20n%3Dnode.__dom.lastChild%3Bwhile(n%26%26n.nodeType!%3D%3DNode.ELEMENT_NODE)%7Bn%3Dn.__dom.previousSibling%7Dreturn%20n%7D%2CgetNextElementSibling%3Afunction(node)%7Breturn%20node.__dom%26%26node.__dom.nextSibling!%3D%3Dundefined%3Fthis._getNextElementSibling(node)%3Anode.nextElementSibling%7D%2C_getNextElementSibling%3Afunction(node)%7Bvar%20n%3Dnode.__dom.nextSibling%3Bwhile(n%26%26n.nodeType!%3D%3DNode.ELEMENT_NODE)%7Bn%3Dn.__dom.nextSibling%7Dreturn%20n%7D%2CgetPreviousElementSibling%3Afunction(node)%7Breturn%20node.__dom%26%26node.__dom.previousSibling!%3D%3Dundefined%3Fthis._getPreviousElementSibling(node)%3Anode.previousElementSibling%7D%2C_getPreviousElementSibling%3Afunction(node)%7Bvar%20n%3Dnode.__dom.previousSibling%3Bwhile(n%26%26n.nodeType!%3D%3DNode.ELEMENT_NODE)%7Bn%3Dn.__dom.previousSibling%7Dreturn%20n%7D%2CsaveChildNodes%3Afunction(node)%7Bif(!this.hasChildNodes(node))%7Bnode.__dom%3Dnode.__dom%7C%7C%7B%7D%3Bnode.__dom.firstChild%3Dnode.firstChild%3Bnode.__dom.lastChild%3Dnode.lastChild%3Bnode.__dom.childNodes%3D%5B%5D%3Bfor(var%20n%3Dnode.firstChild%3Bn%3Bn%3Dn.nextSibling)%7Bn.__dom%3Dn.__dom%7C%7C%7B%7D%3Bn.__dom.parentNode%3Dnode%3Bnode.__dom.childNodes.push(n)%3Bn.__dom.nextSibling%3Dn.nextSibling%3Bn.__dom.previousSibling%3Dn.previousSibling%7D%7D%7D%2CrecordInsertBefore%3Afunction(node%2Ccontainer%2Cref_node)%7Bcontainer.__dom.childNodes%3Dnull%3Bif(node.nodeType%3D%3D%3DNode.DOCUMENT_FRAGMENT_NODE)%7Bfor(var%20n%3Dnode.firstChild%3Bn%3Bn%3Dn.nextSibling)%7Bthis._linkNode(n%2Ccontainer%2Cref_node)%7D%7Delse%7Bthis._linkNode(node%2Ccontainer%2Cref_node)%7D%7D%2C_linkNode%3Afunction(node%2Ccontainer%2Cref_node)%7Bnode.__dom%3Dnode.__dom%7C%7C%7B%7D%3Bcontainer.__dom%3Dcontainer.__dom%7C%7C%7B%7D%3Bif(ref_node)%7Bref_node.__dom%3Dref_node.__dom%7C%7C%7B%7D%7Dnode.__dom.previousSibling%3Dref_node%3Fref_node.__dom.previousSibling%3Acontainer.__dom.lastChild%3Bif(node.__dom.previousSibling)%7Bnode.__dom.previousSibling.__dom.nextSibling%3Dnode%7Dnode.__dom.nextSibling%3Dref_node%3Bif(node.__dom.nextSibling)%7Bnode.__dom.nextSibling.__dom.previousSibling%3Dnode%7Dnode.__dom.parentNode%3Dcontainer%3Bif(ref_node)%7Bif(ref_node%3D%3D%3Dcontainer.__dom.firstChild)%7Bcontainer.__dom.firstChild%3Dnode%7D%7Delse%7Bcontainer.__dom.lastChild%3Dnode%3Bif(!container.__dom.firstChild)%7Bcontainer.__dom.firstChild%3Dnode%7D%7Dcontainer.__dom.childNodes%3Dnull%7D%2CrecordRemoveChild%3Afunction(node%2Ccontainer)%7Bnode.__dom%3Dnode.__dom%7C%7C%7B%7D%3Bcontainer.__dom%3Dcontainer.__dom%7C%7C%7B%7D%3Bif(node%3D%3D%3Dcontainer.__dom.firstChild)%7Bcontainer.__dom.firstChild%3Dnode.__dom.nextSibling%7Dif(node%3D%3D%3Dcontainer.__dom.lastChild)%7Bcontainer.__dom.lastChild%3Dnode.__dom.previousSibling%7Dvar%20p%3Dnode.__dom.previousSibling%3Bvar%20n%3Dnode.__dom.nextSibling%3Bif(p)%7Bp.__dom.nextSibling%3Dn%7Dif(n)%7Bn.__dom.previousSibling%3Dp%7Dnode.__dom.parentNode%3Dnode.__dom.previousSibling%3Dnode.__dom.nextSibling%3Dundefined%3Bcontainer.__dom.childNodes%3Dnull%7D%7D%3BPolymer.TreeApi.Composed%3D%7BgetChildNodes%3Afunction(node)%7Breturn%20Polymer.TreeApi.arrayCopyChildNodes(node)%7D%2CgetParentNode%3Afunction(node)%7Breturn%20node.parentNode%7D%2CclearChildNodes%3Afunction(node)%7Bnode.textContent%3D%22%22%7D%2CinsertBefore%3Afunction(parentNode%2CnewChild%2CrefChild)%7Breturn%20nativeInsertBefore.call(parentNode%2CnewChild%2CrefChild%7C%7Cnull)%7D%2CappendChild%3Afunction(parentNode%2CnewChild)%7Breturn%20nativeAppendChild.call(parentNode%2CnewChild)%7D%2CremoveChild%3Afunction(parentNode%2Cnode)%7Breturn%20nativeRemoveChild.call(parentNode%2Cnode)%7D%7D%7D)()%3BPolymer.DomApi%3Dfunction()%7B%22use%20strict%22%3Bvar%20Settings%3DPolymer.Settings%3Bvar%20TreeApi%3DPolymer.TreeApi%3Bvar%20DomApi%3Dfunction(node)%7Bthis.node%3DneedsToWrap%3FDomApi.wrap(node)%3Anode%7D%3Bvar%20needsToWrap%3DSettings.hasShadow%26%26!Settings.nativeShadow%3BDomApi.wrap%3Dwindow.wrap%3Fwindow.wrap%3Afunction(node)%7Breturn%20node%7D%3BDomApi.prototype%3D%7Bflush%3Afunction()%7BPolymer.dom.flush()%7D%2CdeepContains%3Afunction(node)%7Bif(this.node.contains(node))%7Breturn%20true%7Dvar%20n%3Dnode%3Bvar%20doc%3Dnode.ownerDocument%3Bwhile(n%26%26n!%3D%3Ddoc%26%26n!%3D%3Dthis.node)%7Bn%3DPolymer.dom(n).parentNode%7C%7Cn.host%7Dreturn%20n%3D%3D%3Dthis.node%7D%2CqueryDistributedElements%3Afunction(selector)%7Bvar%20c%24%3Dthis.getEffectiveChildNodes()%3Bvar%20list%3D%5B%5D%3Bfor(var%20i%3D0%2Cl%3Dc%24.length%2Cc%3Bi%3Cl%26%26(c%3Dc%24%5Bi%5D)%3Bi%2B%2B)%7Bif(c.nodeType%3D%3D%3DNode.ELEMENT_NODE%26%26DomApi.matchesSelector.call(c%2Cselector))%7Blist.push(c)%7D%7Dreturn%20list%7D%2CgetEffectiveChildNodes%3Afunction()%7Bvar%20list%3D%5B%5D%3Bvar%20c%24%3Dthis.childNodes%3Bfor(var%20i%3D0%2Cl%3Dc%24.length%2Cc%3Bi%3Cl%26%26(c%3Dc%24%5Bi%5D)%3Bi%2B%2B)%7Bif(c.localName%3D%3D%3DCONTENT)%7Bvar%20d%24%3Ddom(c).getDistributedNodes()%3Bfor(var%20j%3D0%3Bj%3Cd%24.length%3Bj%2B%2B)%7Blist.push(d%24%5Bj%5D)%7D%7Delse%7Blist.push(c)%7D%7Dreturn%20list%7D%2CobserveNodes%3Afunction(callback)%7Bif(callback)%7Bif(!this.observer)%7Bthis.observer%3Dthis.node.localName%3D%3D%3DCONTENT%3Fnew%20DomApi.DistributedNodesObserver(this)%3Anew%20DomApi.EffectiveNodesObserver(this)%7Dreturn%20this.observer.addListener(callback)%7D%7D%2CunobserveNodes%3Afunction(handle)%7Bif(this.observer)%7Bthis.observer.removeListener(handle)%7D%7D%2CnotifyObserver%3Afunction()%7Bif(this.observer)%7Bthis.observer.notify()%7D%7D%2C_query%3Afunction(matcher%2Cnode%2Chalter)%7Bnode%3Dnode%7C%7Cthis.node%3Bvar%20list%3D%5B%5D%3Bthis._queryElements(TreeApi.Logical.getChildNodes(node)%2Cmatcher%2Chalter%2Clist)%3Breturn%20list%7D%2C_queryElements%3Afunction(elements%2Cmatcher%2Chalter%2Clist)%7Bfor(var%20i%3D0%2Cl%3Delements.length%2Cc%3Bi%3Cl%26%26(c%3Delements%5Bi%5D)%3Bi%2B%2B)%7Bif(c.nodeType%3D%3D%3DNode.ELEMENT_NODE)%7Bif(this._queryElement(c%2Cmatcher%2Chalter%2Clist))%7Breturn%20true%7D%7D%7D%7D%2C_queryElement%3Afunction(node%2Cmatcher%2Chalter%2Clist)%7Bvar%20result%3Dmatcher(node)%3Bif(result)%7Blist.push(node)%7Dif(halter%26%26halter(result))%7Breturn%20result%7Dthis._queryElements(TreeApi.Logical.getChildNodes(node)%2Cmatcher%2Chalter%2Clist)%7D%7D%3Bvar%20CONTENT%3DDomApi.CONTENT%3D%22content%22%3Bvar%20dom%3DDomApi.factory%3Dfunction(node)%7Bnode%3Dnode%7C%7Cdocument%3Bif(!node.__domApi)%7Bnode.__domApi%3Dnew%20DomApi.ctor(node)%7Dreturn%20node.__domApi%7D%3BDomApi.hasApi%3Dfunction(node)%7Breturn%20Boolean(node.__domApi)%7D%3BDomApi.ctor%3DDomApi%3BPolymer.dom%3Dfunction(obj%2Cpatch)%7Bif(obj%20instanceof%20Event)%7Breturn%20Polymer.EventApi.factory(obj)%7Delse%7Breturn%20DomApi.factory(obj%2Cpatch)%7D%7D%3Bvar%20p%3DElement.prototype%3BDomApi.matchesSelector%3Dp.matches%7C%7Cp.matchesSelector%7C%7Cp.mozMatchesSelector%7C%7Cp.msMatchesSelector%7C%7Cp.oMatchesSelector%7C%7Cp.webkitMatchesSelector%3Breturn%20DomApi%7D()%3B(function()%7B%22use%20strict%22%3Bvar%20Settings%3DPolymer.Settings%3Bvar%20DomApi%3DPolymer.DomApi%3Bvar%20dom%3DDomApi.factory%3Bvar%20TreeApi%3DPolymer.TreeApi%3Bvar%20getInnerHTML%3DPolymer.domInnerHTML.getInnerHTML%3Bvar%20CONTENT%3DDomApi.CONTENT%3Bif(Settings.useShadow)%7Breturn%7Dvar%20nativeCloneNode%3DElement.prototype.cloneNode%3Bvar%20nativeImportNode%3DDocument.prototype.importNode%3BPolymer.Base.extend(DomApi.prototype%2C%7B_lazyDistribute%3Afunction(host)%7Bif(host.shadyRoot%26%26host.shadyRoot._distributionClean)%7Bhost.shadyRoot._distributionClean%3Dfalse%3BPolymer.dom.addDebouncer(host.debounce(%22_distribute%22%2Chost._distributeContent))%7D%7D%2CappendChild%3Afunction(node)%7Breturn%20this.insertBefore(node)%7D%2CinsertBefore%3Afunction(node%2Cref_node)%7Bif(ref_node%26%26TreeApi.Logical.getParentNode(ref_node)!%3D%3Dthis.node)%7Bthrow%20Error(%22The%20ref_node%20to%20be%20inserted%20before%20is%20not%20a%20child%20%22%2B%22of%20this%20node%22)%7Dif(node.nodeType!%3D%3DNode.DOCUMENT_FRAGMENT_NODE)%7Bvar%20parent%3DTreeApi.Logical.getParentNode(node)%3Bif(parent)%7Bif(DomApi.hasApi(parent))%7Bdom(parent).notifyObserver()%7Dthis._removeNode(node)%7Delse%7Bthis._removeOwnerShadyRoot(node)%7D%7Dif(!this._addNode(node%2Cref_node))%7Bif(ref_node)%7Bref_node%3Dref_node.localName%3D%3D%3DCONTENT%3Fthis._firstComposedNode(ref_node)%3Aref_node%7Dvar%20container%3Dthis.node._isShadyRoot%3Fthis.node.host%3Athis.node%3Bif(ref_node)%7BTreeApi.Composed.insertBefore(container%2Cnode%2Cref_node)%7Delse%7BTreeApi.Composed.appendChild(container%2Cnode)%7D%7Dthis.notifyObserver()%3Breturn%20node%7D%2C_addNode%3Afunction(node%2Cref_node)%7Bvar%20root%3Dthis.getOwnerRoot()%3Bif(root)%7Bvar%20ipAdded%3Dthis._maybeAddInsertionPoint(node%2Cthis.node)%3Bif(!root._invalidInsertionPoints)%7Broot._invalidInsertionPoints%3DipAdded%7Dthis._addNodeToHost(root.host%2Cnode)%7Dif(TreeApi.Logical.hasChildNodes(this.node))%7BTreeApi.Logical.recordInsertBefore(node%2Cthis.node%2Cref_node)%7Dvar%20handled%3Dthis._maybeDistribute(node)%7C%7Cthis.node.shadyRoot%3Bif(handled)%7Bif(node.nodeType%3D%3D%3DNode.DOCUMENT_FRAGMENT_NODE)%7Bwhile(node.firstChild)%7BTreeApi.Composed.removeChild(node%2Cnode.firstChild)%7D%7Delse%7Bvar%20parent%3DTreeApi.Composed.getParentNode(node)%3Bif(parent)%7BTreeApi.Composed.removeChild(parent%2Cnode)%7D%7D%7Dreturn%20handled%7D%2CremoveChild%3Afunction(node)%7Bif(TreeApi.Logical.getParentNode(node)!%3D%3Dthis.node)%7Bthrow%20Error(%22The%20node%20to%20be%20removed%20is%20not%20a%20child%20of%20this%20node%3A%20%22%2Bnode)%7Dif(!this._removeNode(node))%7Bvar%20container%3Dthis.node._isShadyRoot%3Fthis.node.host%3Athis.node%3Bvar%20parent%3DTreeApi.Composed.getParentNode(node)%3Bif(container%3D%3D%3Dparent)%7BTreeApi.Composed.removeChild(container%2Cnode)%7D%7Dthis.notifyObserver()%3Breturn%20node%7D%2C_removeNode%3Afunction(node)%7Bvar%20logicalParent%3DTreeApi.Logical.hasParentNode(node)%26%26TreeApi.Logical.getParentNode(node)%3Bvar%20distributed%3Bvar%20root%3Dthis._ownerShadyRootForNode(node)%3Bif(logicalParent)%7Bdistributed%3Ddom(node)._maybeDistributeParent()%3BTreeApi.Logical.recordRemoveChild(node%2ClogicalParent)%3Bif(root%26%26this._removeDistributedChildren(root%2Cnode))%7Broot._invalidInsertionPoints%3Dtrue%3Bthis._lazyDistribute(root.host)%7D%7Dthis._removeOwnerShadyRoot(node)%3Bif(root)%7Bthis._removeNodeFromHost(root.host%2Cnode)%7Dreturn%20distributed%7D%2CreplaceChild%3Afunction(node%2Cref_node)%7Bthis.insertBefore(node%2Cref_node)%3Bthis.removeChild(ref_node)%3Breturn%20node%7D%2C_hasCachedOwnerRoot%3Afunction(node)%7Breturn%20Boolean(node._ownerShadyRoot!%3D%3Dundefined)%7D%2CgetOwnerRoot%3Afunction()%7Breturn%20this._ownerShadyRootForNode(this.node)%7D%2C_ownerShadyRootForNode%3Afunction(node)%7Bif(!node)%7Breturn%7Dvar%20root%3Dnode._ownerShadyRoot%3Bif(root%3D%3D%3Dundefined)%7Bif(node._isShadyRoot)%7Broot%3Dnode%7Delse%7Bvar%20parent%3DTreeApi.Logical.getParentNode(node)%3Bif(parent)%7Broot%3Dparent._isShadyRoot%3Fparent%3Athis._ownerShadyRootForNode(parent)%7Delse%7Broot%3Dnull%7D%7Dif(root%7C%7Cdocument.documentElement.contains(node))%7Bnode._ownerShadyRoot%3Droot%7D%7Dreturn%20root%7D%2C_maybeDistribute%3Afunction(node)%7Bvar%20fragContent%3Dnode.nodeType%3D%3D%3DNode.DOCUMENT_FRAGMENT_NODE%26%26!node.__noContent%26%26dom(node).querySelector(CONTENT)%3Bvar%20wrappedContent%3DfragContent%26%26TreeApi.Logical.getParentNode(fragContent).nodeType!%3D%3DNode.DOCUMENT_FRAGMENT_NODE%3Bvar%20hasContent%3DfragContent%7C%7Cnode.localName%3D%3D%3DCONTENT%3Bif(hasContent)%7Bvar%20root%3Dthis.getOwnerRoot()%3Bif(root)%7Bthis._lazyDistribute(root.host)%7D%7Dvar%20needsDist%3Dthis._nodeNeedsDistribution(this.node)%3Bif(needsDist)%7Bthis._lazyDistribute(this.node)%7Dreturn%20needsDist%7C%7ChasContent%26%26!wrappedContent%7D%2C_maybeAddInsertionPoint%3Afunction(node%2Cparent)%7Bvar%20added%3Bif(node.nodeType%3D%3D%3DNode.DOCUMENT_FRAGMENT_NODE%26%26!node.__noContent)%7Bvar%20c%24%3Ddom(node).querySelectorAll(CONTENT)%3Bfor(var%20i%3D0%2Cn%2Cnp%2Cna%3Bi%3Cc%24.length%26%26(n%3Dc%24%5Bi%5D)%3Bi%2B%2B)%7Bnp%3DTreeApi.Logical.getParentNode(n)%3Bif(np%3D%3D%3Dnode)%7Bnp%3Dparent%7Dna%3Dthis._maybeAddInsertionPoint(n%2Cnp)%3Badded%3Dadded%7C%7Cna%7D%7Delse%20if(node.localName%3D%3D%3DCONTENT)%7BTreeApi.Logical.saveChildNodes(parent)%3BTreeApi.Logical.saveChildNodes(node)%3Badded%3Dtrue%7Dreturn%20added%7D%2C_updateInsertionPoints%3Afunction(host)%7Bvar%20i%24%3Dhost.shadyRoot._insertionPoints%3Ddom(host.shadyRoot).querySelectorAll(CONTENT)%3Bfor(var%20i%3D0%2Cc%3Bi%3Ci%24.length%3Bi%2B%2B)%7Bc%3Di%24%5Bi%5D%3BTreeApi.Logical.saveChildNodes(c)%3BTreeApi.Logical.saveChildNodes(TreeApi.Logical.getParentNode(c))%7D%7D%2C_nodeNeedsDistribution%3Afunction(node)%7Breturn%20node%26%26node.shadyRoot%26%26DomApi.hasInsertionPoint(node.shadyRoot)%7D%2C_addNodeToHost%3Afunction(host%2Cnode)%7Bif(host._elementAdd)%7Bhost._elementAdd(node)%7D%7D%2C_removeNodeFromHost%3Afunction(host%2Cnode)%7Bif(host._elementRemove)%7Bhost._elementRemove(node)%7D%7D%2C_removeDistributedChildren%3Afunction(root%2Ccontainer)%7Bvar%20hostNeedsDist%3Bvar%20ip%24%3Droot._insertionPoints%3Bfor(var%20i%3D0%3Bi%3Cip%24.length%3Bi%2B%2B)%7Bvar%20content%3Dip%24%5Bi%5D%3Bif(this._contains(container%2Ccontent))%7Bvar%20dc%24%3Ddom(content).getDistributedNodes()%3Bfor(var%20j%3D0%3Bj%3Cdc%24.length%3Bj%2B%2B)%7BhostNeedsDist%3Dtrue%3Bvar%20node%3Ddc%24%5Bj%5D%3Bvar%20parent%3DTreeApi.Composed.getParentNode(node)%3Bif(parent)%7BTreeApi.Composed.removeChild(parent%2Cnode)%7D%7D%7D%7Dreturn%20hostNeedsDist%7D%2C_contains%3Afunction(container%2Cnode)%7Bwhile(node)%7Bif(node%3D%3Dcontainer)%7Breturn%20true%7Dnode%3DTreeApi.Logical.getParentNode(node)%7D%7D%2C_removeOwnerShadyRoot%3Afunction(node)%7Bif(this._hasCachedOwnerRoot(node))%7Bvar%20c%24%3DTreeApi.Logical.getChildNodes(node)%3Bfor(var%20i%3D0%2Cl%3Dc%24.length%2Cn%3Bi%3Cl%26%26(n%3Dc%24%5Bi%5D)%3Bi%2B%2B)%7Bthis._removeOwnerShadyRoot(n)%7D%7Dnode._ownerShadyRoot%3Dundefined%7D%2C_firstComposedNode%3Afunction(content)%7Bvar%20n%24%3Ddom(content).getDistributedNodes()%3Bfor(var%20i%3D0%2Cl%3Dn%24.length%2Cn%2Cp%24%3Bi%3Cl%26%26(n%3Dn%24%5Bi%5D)%3Bi%2B%2B)%7Bp%24%3Ddom(n).getDestinationInsertionPoints()%3Bif(p%24%5Bp%24.length-1%5D%3D%3D%3Dcontent)%7Breturn%20n%7D%7D%7D%2CquerySelector%3Afunction(selector)%7Bvar%20result%3Dthis._query(function(n)%7Breturn%20DomApi.matchesSelector.call(n%2Cselector)%7D%2Cthis.node%2Cfunction(n)%7Breturn%20Boolean(n)%7D)%5B0%5D%3Breturn%20result%7C%7Cnull%7D%2CquerySelectorAll%3Afunction(selector)%7Breturn%20this._query(function(n)%7Breturn%20DomApi.matchesSelector.call(n%2Cselector)%7D%2Cthis.node)%7D%2CgetDestinationInsertionPoints%3Afunction()%7Breturn%20this.node._destinationInsertionPoints%7C%7C%5B%5D%7D%2CgetDistributedNodes%3Afunction()%7Breturn%20this.node._distributedNodes%7C%7C%5B%5D%7D%2C_clear%3Afunction()%7Bwhile(this.childNodes.length)%7Bthis.removeChild(this.childNodes%5B0%5D)%7D%7D%2CsetAttribute%3Afunction(name%2Cvalue)%7Bthis.node.setAttribute(name%2Cvalue)%3Bthis._maybeDistributeParent()%7D%2CremoveAttribute%3Afunction(name)%7Bthis.node.removeAttribute(name)%3Bthis._maybeDistributeParent()%7D%2C_maybeDistributeParent%3Afunction()%7Bif(this._nodeNeedsDistribution(this.parentNode))%7Bthis._lazyDistribute(this.parentNode)%3Breturn%20true%7D%7D%2CcloneNode%3Afunction(deep)%7Bvar%20n%3DnativeCloneNode.call(this.node%2Cfalse)%3Bif(deep)%7Bvar%20c%24%3Dthis.childNodes%3Bvar%20d%3Ddom(n)%3Bfor(var%20i%3D0%2Cnc%3Bi%3Cc%24.length%3Bi%2B%2B)%7Bnc%3Ddom(c%24%5Bi%5D).cloneNode(true)%3Bd.appendChild(nc)%7D%7Dreturn%20n%7D%2CimportNode%3Afunction(externalNode%2Cdeep)%7Bvar%20doc%3Dthis.node%20instanceof%20Document%3Fthis.node%3Athis.node.ownerDocument%3Bvar%20n%3DnativeImportNode.call(doc%2CexternalNode%2Cfalse)%3Bif(deep)%7Bvar%20c%24%3DTreeApi.Logical.getChildNodes(externalNode)%3Bvar%20d%3Ddom(n)%3Bfor(var%20i%3D0%2Cnc%3Bi%3Cc%24.length%3Bi%2B%2B)%7Bnc%3Ddom(doc).importNode(c%24%5Bi%5D%2Ctrue)%3Bd.appendChild(nc)%7D%7Dreturn%20n%7D%2C_getComposedInnerHTML%3Afunction()%7Breturn%20getInnerHTML(this.node%2Ctrue)%7D%7D)%3BObject.defineProperties(DomApi.prototype%2C%7BactiveElement%3A%7Bget%3Afunction()%7Bvar%20active%3Ddocument.activeElement%3Bif(!active)%7Breturn%20null%7Dvar%20isShadyRoot%3D!!this.node._isShadyRoot%3Bif(this.node!%3D%3Ddocument)%7Bif(!isShadyRoot)%7Breturn%20null%7Dif(this.node.host%3D%3D%3Dactive%7C%7C!this.node.host.contains(active))%7Breturn%20null%7D%7Dvar%20activeRoot%3Ddom(active).getOwnerRoot()%3Bwhile(activeRoot%26%26activeRoot!%3D%3Dthis.node)%7Bactive%3DactiveRoot.host%3BactiveRoot%3Ddom(active).getOwnerRoot()%7Dif(this.node%3D%3D%3Ddocument)%7Breturn%20activeRoot%3Fnull%3Aactive%7Delse%7Breturn%20activeRoot%3D%3D%3Dthis.node%3Factive%3Anull%7D%7D%2Cconfigurable%3Atrue%7D%2CchildNodes%3A%7Bget%3Afunction()%7Bvar%20c%24%3DTreeApi.Logical.getChildNodes(this.node)%3Breturn%20Array.isArray(c%24)%3Fc%24%3ATreeApi.arrayCopyChildNodes(this.node)%7D%2Cconfigurable%3Atrue%7D%2Cchildren%3A%7Bget%3Afunction()%7Bif(TreeApi.Logical.hasChildNodes(this.node))%7Breturn%20Array.prototype.filter.call(this.childNodes%2Cfunction(n)%7Breturn%20n.nodeType%3D%3D%3DNode.ELEMENT_NODE%7D)%7Delse%7Breturn%20TreeApi.arrayCopyChildren(this.node)%7D%7D%2Cconfigurable%3Atrue%7D%2CparentNode%3A%7Bget%3Afunction()%7Breturn%20TreeApi.Logical.getParentNode(this.node)%7D%2Cconfigurable%3Atrue%7D%2CfirstChild%3A%7Bget%3Afunction()%7Breturn%20TreeApi.Logical.getFirstChild(this.node)%7D%2Cconfigurable%3Atrue%7D%2ClastChild%3A%7Bget%3Afunction()%7Breturn%20TreeApi.Logical.getLastChild(this.node)%7D%2Cconfigurable%3Atrue%7D%2CnextSibling%3A%7Bget%3Afunction()%7Breturn%20TreeApi.Logical.getNextSibling(this.node)%7D%2Cconfigurable%3Atrue%7D%2CpreviousSibling%3A%7Bget%3Afunction()%7Breturn%20TreeApi.Logical.getPreviousSibling(this.node)%7D%2Cconfigurable%3Atrue%7D%2CfirstElementChild%3A%7Bget%3Afunction()%7Breturn%20TreeApi.Logical.getFirstElementChild(this.node)%7D%2Cconfigurable%3Atrue%7D%2ClastElementChild%3A%7Bget%3Afunction()%7Breturn%20TreeApi.Logical.getLastElementChild(this.node)%7D%2Cconfigurable%3Atrue%7D%2CnextElementSibling%3A%7Bget%3Afunction()%7Breturn%20TreeApi.Logical.getNextElementSibling(this.node)%7D%2Cconfigurable%3Atrue%7D%2CpreviousElementSibling%3A%7Bget%3Afunction()%7Breturn%20TreeApi.Logical.getPreviousElementSibling(this.node)%7D%2Cconfigurable%3Atrue%7D%2CtextContent%3A%7Bget%3Afunction()%7Bvar%20nt%3Dthis.node.nodeType%3Bif(nt%3D%3D%3DNode.TEXT_NODE%7C%7Cnt%3D%3D%3DNode.COMMENT_NODE)%7Breturn%20this.node.textContent%7Delse%7Bvar%20tc%3D%5B%5D%3Bfor(var%20i%3D0%2Ccn%3Dthis.childNodes%2Cc%3Bc%3Dcn%5Bi%5D%3Bi%2B%2B)%7Bif(c.nodeType!%3D%3DNode.COMMENT_NODE)%7Btc.push(c.textContent)%7D%7Dreturn%20tc.join(%22%22)%7D%7D%2Cset%3Afunction(text)%7Bvar%20nt%3Dthis.node.nodeType%3Bif(nt%3D%3D%3DNode.TEXT_NODE%7C%7Cnt%3D%3D%3DNode.COMMENT_NODE)%7Bthis.node.textContent%3Dtext%7Delse%7Bthis._clear()%3Bif(text)%7Bthis.appendChild(document.createTextNode(text))%7D%7D%7D%2Cconfigurable%3Atrue%7D%2CinnerHTML%3A%7Bget%3Afunction()%7Bvar%20nt%3Dthis.node.nodeType%3Bif(nt%3D%3D%3DNode.TEXT_NODE%7C%7Cnt%3D%3D%3DNode.COMMENT_NODE)%7Breturn%20null%7Delse%7Breturn%20getInnerHTML(this.node)%7D%7D%2Cset%3Afunction(text)%7Bvar%20nt%3Dthis.node.nodeType%3Bif(nt!%3D%3DNode.TEXT_NODE%7C%7Cnt!%3D%3DNode.COMMENT_NODE)%7Bthis._clear()%3Bvar%20d%3Ddocument.createElement(%22div%22)%3Bd.innerHTML%3Dtext%3Bvar%20c%24%3DTreeApi.arrayCopyChildNodes(d)%3Bfor(var%20i%3D0%3Bi%3Cc%24.length%3Bi%2B%2B)%7Bthis.appendChild(c%24%5Bi%5D)%7D%7D%7D%2Cconfigurable%3Atrue%7D%7D)%3BDomApi.hasInsertionPoint%3Dfunction(root)%7Breturn%20Boolean(root%26%26root._insertionPoints.length)%7D%7D)()%3B(function()%7B%22use%20strict%22%3Bvar%20Settings%3DPolymer.Settings%3Bvar%20TreeApi%3DPolymer.TreeApi%3Bvar%20DomApi%3DPolymer.DomApi%3Bif(!Settings.useShadow)%7Breturn%7DPolymer.Base.extend(DomApi.prototype%2C%7BquerySelectorAll%3Afunction(selector)%7Breturn%20TreeApi.arrayCopy(this.node.querySelectorAll(selector))%7D%2CgetOwnerRoot%3Afunction()%7Bvar%20n%3Dthis.node%3Bwhile(n)%7Bif(n.nodeType%3D%3D%3DNode.DOCUMENT_FRAGMENT_NODE%26%26n.host)%7Breturn%20n%7Dn%3Dn.parentNode%7D%7D%2CimportNode%3Afunction(externalNode%2Cdeep)%7Bvar%20doc%3Dthis.node%20instanceof%20Document%3Fthis.node%3Athis.node.ownerDocument%3Breturn%20doc.importNode(externalNode%2Cdeep)%7D%2CgetDestinationInsertionPoints%3Afunction()%7Bvar%20n%24%3Dthis.node.getDestinationInsertionPoints%26%26this.node.getDestinationInsertionPoints()%3Breturn%20n%24%3FTreeApi.arrayCopy(n%24)%3A%5B%5D%7D%2CgetDistributedNodes%3Afunction()%7Bvar%20n%24%3Dthis.node.getDistributedNodes%26%26this.node.getDistributedNodes()%3Breturn%20n%24%3FTreeApi.arrayCopy(n%24)%3A%5B%5D%7D%7D)%3BObject.defineProperties(DomApi.prototype%2C%7BactiveElement%3A%7Bget%3Afunction()%7Bvar%20node%3DDomApi.wrap(this.node)%3Bvar%20activeElement%3Dnode.activeElement%3Breturn%20node.contains(activeElement)%3FactiveElement%3Anull%7D%2Cconfigurable%3Atrue%7D%2CchildNodes%3A%7Bget%3Afunction()%7Breturn%20TreeApi.arrayCopyChildNodes(this.node)%7D%2Cconfigurable%3Atrue%7D%2Cchildren%3A%7Bget%3Afunction()%7Breturn%20TreeApi.arrayCopyChildren(this.node)%7D%2Cconfigurable%3Atrue%7D%2CtextContent%3A%7Bget%3Afunction()%7Breturn%20this.node.textContent%7D%2Cset%3Afunction(value)%7Breturn%20this.node.textContent%3Dvalue%7D%2Cconfigurable%3Atrue%7D%2CinnerHTML%3A%7Bget%3Afunction()%7Breturn%20this.node.innerHTML%7D%2Cset%3Afunction(value)%7Breturn%20this.node.innerHTML%3Dvalue%7D%2Cconfigurable%3Atrue%7D%7D)%3Bvar%20forwardMethods%3Dfunction(m%24)%7Bfor(var%20i%3D0%3Bi%3Cm%24.length%3Bi%2B%2B)%7BforwardMethod(m%24%5Bi%5D)%7D%7D%3Bvar%20forwardMethod%3Dfunction(method)%7BDomApi.prototype%5Bmethod%5D%3Dfunction()%7Breturn%20this.node%5Bmethod%5D.apply(this.node%2Carguments)%7D%7D%3BforwardMethods(%5B%22cloneNode%22%2C%22appendChild%22%2C%22insertBefore%22%2C%22removeChild%22%2C%22replaceChild%22%2C%22setAttribute%22%2C%22removeAttribute%22%2C%22querySelector%22%5D)%3Bvar%20forwardProperties%3Dfunction(f%24)%7Bfor(var%20i%3D0%3Bi%3Cf%24.length%3Bi%2B%2B)%7BforwardProperty(f%24%5Bi%5D)%7D%7D%3Bvar%20forwardProperty%3Dfunction(name)%7BObject.defineProperty(DomApi.prototype%2Cname%2C%7Bget%3Afunction()%7Breturn%20this.node%5Bname%5D%7D%2Cconfigurable%3Atrue%7D)%7D%3BforwardProperties(%5B%22parentNode%22%2C%22firstChild%22%2C%22lastChild%22%2C%22nextSibling%22%2C%22previousSibling%22%2C%22firstElementChild%22%2C%22lastElementChild%22%2C%22nextElementSibling%22%2C%22previousElementSibling%22%5D)%7D)()%3BPolymer.Base.extend(Polymer.dom%2C%7B_flushGuard%3A0%2C_FLUSH_MAX%3A100%2C_needsTakeRecords%3A!Polymer.Settings.useNativeCustomElements%2C_debouncers%3A%5B%5D%2C_staticFlushList%3A%5B%5D%2C_finishDebouncer%3Anull%2Cflush%3Afunction()%7Bthis._flushGuard%3D0%3Bthis._prepareFlush()%3Bwhile(this._debouncers.length%26%26this._flushGuard%3Cthis._FLUSH_MAX)%7Bwhile(this._debouncers.length)%7Bthis._debouncers.shift().complete()%7Dif(this._finishDebouncer)%7Bthis._finishDebouncer.complete()%7Dthis._prepareFlush()%3Bthis._flushGuard%2B%2B%7Dif(this._flushGuard%3E%3Dthis._FLUSH_MAX)%7Bconsole.warn(%22Polymer.dom.flush%20aborted.%20Flush%20may%20not%20be%20complete.%22)%7D%7D%2C_prepareFlush%3Afunction()%7Bif(this._needsTakeRecords)%7BCustomElements.takeRecords()%7Dfor(var%20i%3D0%3Bi%3Cthis._staticFlushList.length%3Bi%2B%2B)%7Bthis._staticFlushList%5Bi%5D()%7D%7D%2CaddStaticFlush%3Afunction(fn)%7Bthis._staticFlushList.push(fn)%7D%2CremoveStaticFlush%3Afunction(fn)%7Bvar%20i%3Dthis._staticFlushList.indexOf(fn)%3Bif(i%3E%3D0)%7Bthis._staticFlushList.splice(i%2C1)%7D%7D%2CaddDebouncer%3Afunction(debouncer)%7Bthis._debouncers.push(debouncer)%3Bthis._finishDebouncer%3DPolymer.Debounce(this._finishDebouncer%2Cthis._finishFlush)%7D%2C_finishFlush%3Afunction()%7BPolymer.dom._debouncers%3D%5B%5D%7D%7D)%3BPolymer.EventApi%3Dfunction()%7B%22use%20strict%22%3Bvar%20DomApi%3DPolymer.DomApi.ctor%3Bvar%20Settings%3DPolymer.Settings%3BDomApi.Event%3Dfunction(event)%7Bthis.event%3Devent%7D%3Bif(Settings.useShadow)%7BDomApi.Event.prototype%3D%7Bget%20rootTarget()%7Breturn%20this.event.path%5B0%5D%7D%2Cget%20localTarget()%7Breturn%20this.event.target%7D%2Cget%20path()%7Breturn%20this.event.path%7D%7D%7Delse%7BDomApi.Event.prototype%3D%7Bget%20rootTarget()%7Breturn%20this.event.target%7D%2Cget%20localTarget()%7Bvar%20current%3Dthis.event.currentTarget%3Bvar%20currentRoot%3Dcurrent%26%26Polymer.dom(current).getOwnerRoot()%3Bvar%20p%24%3Dthis.path%3Bfor(var%20i%3D0%3Bi%3Cp%24.length%3Bi%2B%2B)%7Bif(Polymer.dom(p%24%5Bi%5D).getOwnerRoot()%3D%3D%3DcurrentRoot)%7Breturn%20p%24%5Bi%5D%7D%7D%7D%2Cget%20path()%7Bif(!this.event._path)%7Bvar%20path%3D%5B%5D%3Bvar%20current%3Dthis.rootTarget%3Bwhile(current)%7Bpath.push(current)%3Bvar%20insertionPoints%3DPolymer.dom(current).getDestinationInsertionPoints()%3Bif(insertionPoints.length)%7Bfor(var%20i%3D0%3Bi%3CinsertionPoints.length-1%3Bi%2B%2B)%7Bpath.push(insertionPoints%5Bi%5D)%7Dcurrent%3DinsertionPoints%5BinsertionPoints.length-1%5D%7Delse%7Bcurrent%3DPolymer.dom(current).parentNode%7C%7Ccurrent.host%7D%7Dpath.push(window)%3Bthis.event._path%3Dpath%7Dreturn%20this.event._path%7D%7D%7Dvar%20factory%3Dfunction(event)%7Bif(!event.__eventApi)%7Bevent.__eventApi%3Dnew%20DomApi.Event(event)%7Dreturn%20event.__eventApi%7D%3Breturn%7Bfactory%3Afactory%7D%7D()%3B(function()%7B%22use%20strict%22%3Bvar%20DomApi%3DPolymer.DomApi.ctor%3Bvar%20useShadow%3DPolymer.Settings.useShadow%3BObject.defineProperty(DomApi.prototype%2C%22classList%22%2C%7Bget%3Afunction()%7Bif(!this._classList)%7Bthis._classList%3Dnew%20DomApi.ClassList(this)%7Dreturn%20this._classList%7D%2Cconfigurable%3Atrue%7D)%3BDomApi.ClassList%3Dfunction(host)%7Bthis.domApi%3Dhost%3Bthis.node%3Dhost.node%7D%3BDomApi.ClassList.prototype%3D%7Badd%3Afunction()%7Bthis.node.classList.add.apply(this.node.classList%2Carguments)%3Bthis._distributeParent()%7D%2Cremove%3Afunction()%7Bthis.node.classList.remove.apply(this.node.classList%2Carguments)%3Bthis._distributeParent()%7D%2Ctoggle%3Afunction()%7Bthis.node.classList.toggle.apply(this.node.classList%2Carguments)%3Bthis._distributeParent()%7D%2C_distributeParent%3Afunction()%7Bif(!useShadow)%7Bthis.domApi._maybeDistributeParent()%7D%7D%2Ccontains%3Afunction()%7Breturn%20this.node.classList.contains.apply(this.node.classList%2Carguments)%7D%7D%7D)()%3B(function()%7B%22use%20strict%22%3Bvar%20DomApi%3DPolymer.DomApi.ctor%3Bvar%20Settings%3DPolymer.Settings%3Bvar%20hasDomApi%3DPolymer.DomApi.hasDomApi%3BDomApi.EffectiveNodesObserver%3Dfunction(domApi)%7Bthis.domApi%3DdomApi%3Bthis.node%3Dthis.domApi.node%3Bthis._listeners%3D%5B%5D%7D%3BDomApi.EffectiveNodesObserver.prototype%3D%7BaddListener%3Afunction(callback)%7Bif(!this._isSetup)%7Bthis._setup()%3Bthis._isSetup%3Dtrue%7Dvar%20listener%3D%7Bfn%3Acallback%2C_nodes%3A%5B%5D%7D%3Bthis._listeners.push(listener)%3Bthis._scheduleNotify()%3Breturn%20listener%7D%2CremoveListener%3Afunction(handle)%7Bvar%20i%3Dthis._listeners.indexOf(handle)%3Bif(i%3E%3D0)%7Bthis._listeners.splice(i%2C1)%3Bhandle._nodes%3D%5B%5D%7Dif(!this._hasListeners())%7Bthis._cleanup()%3Bthis._isSetup%3Dfalse%7D%7D%2C_setup%3Afunction()%7Bthis._observeContentElements(this.domApi.childNodes)%7D%2C_cleanup%3Afunction()%7Bthis._unobserveContentElements(this.domApi.childNodes)%7D%2C_hasListeners%3Afunction()%7B%0Areturn%20Boolean(this._listeners.length)%7D%2C_scheduleNotify%3Afunction()%7Bif(this._debouncer)%7Bthis._debouncer.stop()%7Dthis._debouncer%3DPolymer.Debounce(this._debouncer%2Cthis._notify)%3Bthis._debouncer.context%3Dthis%3BPolymer.dom.addDebouncer(this._debouncer)%7D%2Cnotify%3Afunction()%7Bif(this._hasListeners())%7Bthis._scheduleNotify()%7D%7D%2C_notify%3Afunction(mxns)%7Bthis._beforeCallListeners()%3Bthis._callListeners()%7D%2C_beforeCallListeners%3Afunction()%7Bthis._updateContentElements()%7D%2C_updateContentElements%3Afunction()%7Bthis._observeContentElements(this.domApi.childNodes)%7D%2C_observeContentElements%3Afunction(elements)%7Bfor(var%20i%3D0%2Cn%3Bi%3Celements.length%26%26(n%3Delements%5Bi%5D)%3Bi%2B%2B)%7Bif(this._isContent(n))%7Bn.__observeNodesMap%3Dn.__observeNodesMap%7C%7Cnew%20WeakMap%3Bif(!n.__observeNodesMap.has(this))%7Bn.__observeNodesMap.set(this%2Cthis._observeContent(n))%7D%7D%7D%7D%2C_observeContent%3Afunction(content)%7Bvar%20self%3Dthis%3Bvar%20h%3DPolymer.dom(content).observeNodes(function()%7Bself._scheduleNotify()%7D)%3Bh._avoidChangeCalculation%3Dtrue%3Breturn%20h%7D%2C_unobserveContentElements%3Afunction(elements)%7Bfor(var%20i%3D0%2Cn%2Ch%3Bi%3Celements.length%26%26(n%3Delements%5Bi%5D)%3Bi%2B%2B)%7Bif(this._isContent(n))%7Bh%3Dn.__observeNodesMap.get(this)%3Bif(h)%7BPolymer.dom(n).unobserveNodes(h)%3Bn.__observeNodesMap.delete(this)%7D%7D%7D%7D%2C_isContent%3Afunction(node)%7Breturn%20node.localName%3D%3D%3D%22content%22%7D%2C_callListeners%3Afunction()%7Bvar%20o%24%3Dthis._listeners%3Bvar%20nodes%3Dthis._getEffectiveNodes()%3Bfor(var%20i%3D0%2Co%3Bi%3Co%24.length%26%26(o%3Do%24%5Bi%5D)%3Bi%2B%2B)%7Bvar%20info%3Dthis._generateListenerInfo(o%2Cnodes)%3Bif(info%7C%7Co._alwaysNotify)%7Bthis._callListener(o%2Cinfo)%7D%7D%7D%2C_getEffectiveNodes%3Afunction()%7Breturn%20this.domApi.getEffectiveChildNodes()%7D%2C_generateListenerInfo%3Afunction(listener%2CnewNodes)%7Bif(listener._avoidChangeCalculation)%7Breturn%20true%7Dvar%20oldNodes%3Dlistener._nodes%3Bvar%20info%3D%7Btarget%3Athis.node%2CaddedNodes%3A%5B%5D%2CremovedNodes%3A%5B%5D%7D%3Bvar%20splices%3DPolymer.ArraySplice.calculateSplices(newNodes%2ColdNodes)%3Bfor(var%20i%3D0%2Cs%3Bi%3Csplices.length%26%26(s%3Dsplices%5Bi%5D)%3Bi%2B%2B)%7Bfor(var%20j%3D0%2Cn%3Bj%3Cs.removed.length%26%26(n%3Ds.removed%5Bj%5D)%3Bj%2B%2B)%7Binfo.removedNodes.push(n)%7D%7Dfor(var%20i%3D0%2Cs%3Bi%3Csplices.length%26%26(s%3Dsplices%5Bi%5D)%3Bi%2B%2B)%7Bfor(var%20j%3Ds.index%3Bj%3Cs.index%2Bs.addedCount%3Bj%2B%2B)%7Binfo.addedNodes.push(newNodes%5Bj%5D)%7D%7Dlistener._nodes%3DnewNodes%3Bif(info.addedNodes.length%7C%7Cinfo.removedNodes.length)%7Breturn%20info%7D%7D%2C_callListener%3Afunction(listener%2Cinfo)%7Breturn%20listener.fn.call(this.node%2Cinfo)%7D%2CenableShadowAttributeTracking%3Afunction()%7B%7D%7D%3Bif(Settings.useShadow)%7Bvar%20baseSetup%3DDomApi.EffectiveNodesObserver.prototype._setup%3Bvar%20baseCleanup%3DDomApi.EffectiveNodesObserver.prototype._cleanup%3Bvar%20beforeCallListeners%3DDomApi.EffectiveNodesObserver.prototype._beforeCallListeners%3BPolymer.Base.extend(DomApi.EffectiveNodesObserver.prototype%2C%7B_setup%3Afunction()%7Bif(!this._observer)%7Bvar%20self%3Dthis%3Bthis._mutationHandler%3Dfunction(mxns)%7Bif(mxns%26%26mxns.length)%7Bself._scheduleNotify()%7D%7D%3Bthis._observer%3Dnew%20MutationObserver(this._mutationHandler)%3Bthis._boundFlush%3Dfunction()%7Bself._flush()%7D%3BPolymer.dom.addStaticFlush(this._boundFlush)%3Bthis._observer.observe(this.node%2C%7BchildList%3Atrue%7D)%7DbaseSetup.call(this)%7D%2C_cleanup%3Afunction()%7Bthis._observer.disconnect()%3Bthis._observer%3Dnull%3Bthis._mutationHandler%3Dnull%3BPolymer.dom.removeStaticFlush(this._boundFlush)%3BbaseCleanup.call(this)%7D%2C_flush%3Afunction()%7Bif(this._observer)%7Bthis._mutationHandler(this._observer.takeRecords())%7D%7D%2CenableShadowAttributeTracking%3Afunction()%7Bif(this._observer)%7Bthis._makeContentListenersAlwaysNotify()%3Bthis._observer.disconnect()%3Bthis._observer.observe(this.node%2C%7BchildList%3Atrue%2Cattributes%3Atrue%2Csubtree%3Atrue%7D)%3Bvar%20root%3Dthis.domApi.getOwnerRoot()%3Bvar%20host%3Droot%26%26root.host%3Bif(host%26%26Polymer.dom(host).observer)%7BPolymer.dom(host).observer.enableShadowAttributeTracking()%7D%7D%7D%2C_makeContentListenersAlwaysNotify%3Afunction()%7Bfor(var%20i%3D0%2Ch%3Bi%3Cthis._listeners.length%3Bi%2B%2B)%7Bh%3Dthis._listeners%5Bi%5D%3Bh._alwaysNotify%3Dh._isContentListener%7D%7D%7D)%7D%7D)()%3B(function()%7B%22use%20strict%22%3Bvar%20DomApi%3DPolymer.DomApi.ctor%3Bvar%20Settings%3DPolymer.Settings%3BDomApi.DistributedNodesObserver%3Dfunction(domApi)%7BDomApi.EffectiveNodesObserver.call(this%2CdomApi)%7D%3BDomApi.DistributedNodesObserver.prototype%3DObject.create(DomApi.EffectiveNodesObserver.prototype)%3BPolymer.Base.extend(DomApi.DistributedNodesObserver.prototype%2C%7B_setup%3Afunction()%7B%7D%2C_cleanup%3Afunction()%7B%7D%2C_beforeCallListeners%3Afunction()%7B%7D%2C_getEffectiveNodes%3Afunction()%7Breturn%20this.domApi.getDistributedNodes()%7D%7D)%3Bif(Settings.useShadow)%7BPolymer.Base.extend(DomApi.DistributedNodesObserver.prototype%2C%7B_setup%3Afunction()%7Bif(!this._observer)%7Bvar%20root%3Dthis.domApi.getOwnerRoot()%3Bvar%20host%3Droot%26%26root.host%3Bif(host)%7Bvar%20self%3Dthis%3Bthis._observer%3DPolymer.dom(host).observeNodes(function()%7Bself._scheduleNotify()%7D)%3Bthis._observer._isContentListener%3Dtrue%3Bif(this._hasAttrSelect())%7BPolymer.dom(host).observer.enableShadowAttributeTracking()%7D%7D%7D%7D%2C_hasAttrSelect%3Afunction()%7Bvar%20select%3Dthis.node.getAttribute(%22select%22)%3Breturn%20select%26%26select.match(%2F%5B%5B.%5D%2B%2F)%7D%2C_cleanup%3Afunction()%7Bvar%20root%3Dthis.domApi.getOwnerRoot()%3Bvar%20host%3Droot%26%26root.host%3Bif(host)%7BPolymer.dom(host).unobserveNodes(this._observer)%7Dthis._observer%3Dnull%7D%7D)%7D%7D)()%3B(function()%7Bvar%20DomApi%3DPolymer.DomApi%3Bvar%20TreeApi%3DPolymer.TreeApi%3BPolymer.Base._addFeature(%7B_prepShady%3Afunction()%7Bthis._useContent%3Dthis._useContent%7C%7CBoolean(this._template)%7D%2C_setupShady%3Afunction()%7Bthis.shadyRoot%3Dnull%3Bif(!this.__domApi)%7Bthis.__domApi%3Dnull%7Dif(!this.__dom)%7Bthis.__dom%3Dnull%7Dif(!this._ownerShadyRoot)%7Bthis._ownerShadyRoot%3Dundefined%7D%7D%2C_poolContent%3Afunction()%7Bif(this._useContent)%7BTreeApi.Logical.saveChildNodes(this)%7D%7D%2C_setupRoot%3Afunction()%7Bif(this._useContent)%7Bthis._createLocalRoot()%3Bif(!this.dataHost)%7BupgradeLogicalChildren(TreeApi.Logical.getChildNodes(this))%7D%7D%7D%2C_createLocalRoot%3Afunction()%7Bthis.shadyRoot%3Dthis.root%3Bthis.shadyRoot._distributionClean%3Dfalse%3Bthis.shadyRoot._hasDistributed%3Dfalse%3Bthis.shadyRoot._isShadyRoot%3Dtrue%3Bthis.shadyRoot._dirtyRoots%3D%5B%5D%3Bvar%20i%24%3Dthis.shadyRoot._insertionPoints%3D!this._notes%7C%7Cthis._notes._hasContent%3Fthis.shadyRoot.querySelectorAll(%22content%22)%3A%5B%5D%3BTreeApi.Logical.saveChildNodes(this.shadyRoot)%3Bfor(var%20i%3D0%2Cc%3Bi%3Ci%24.length%3Bi%2B%2B)%7Bc%3Di%24%5Bi%5D%3BTreeApi.Logical.saveChildNodes(c)%3BTreeApi.Logical.saveChildNodes(c.parentNode)%7Dthis.shadyRoot.host%3Dthis%7D%2Cget%20domHost()%7Bvar%20root%3DPolymer.dom(this).getOwnerRoot()%3Breturn%20root%26%26root.host%7D%2CdistributeContent%3Afunction(updateInsertionPoints)%7Bif(this.shadyRoot)%7Bthis.shadyRoot._invalidInsertionPoints%3Dthis.shadyRoot._invalidInsertionPoints%7C%7CupdateInsertionPoints%3Bvar%20host%3DgetTopDistributingHost(this)%3BPolymer.dom(this)._lazyDistribute(host)%7D%7D%2C_distributeContent%3Afunction()%7Bif(this._useContent%26%26!this.shadyRoot._distributionClean)%7Bif(this.shadyRoot._invalidInsertionPoints)%7BPolymer.dom(this)._updateInsertionPoints(this)%3Bthis.shadyRoot._invalidInsertionPoints%3Dfalse%7Dthis._beginDistribute()%3Bthis._distributeDirtyRoots()%3Bthis._finishDistribute()%7D%7D%2C_beginDistribute%3Afunction()%7Bif(this._useContent%26%26DomApi.hasInsertionPoint(this.shadyRoot))%7Bthis._resetDistribution()%3Bthis._distributePool(this.shadyRoot%2Cthis._collectPool())%7D%7D%2C_distributeDirtyRoots%3Afunction()%7Bvar%20c%24%3Dthis.shadyRoot._dirtyRoots%3Bfor(var%20i%3D0%2Cl%3Dc%24.length%2Cc%3Bi%3Cl%26%26(c%3Dc%24%5Bi%5D)%3Bi%2B%2B)%7Bc._distributeContent()%7Dthis.shadyRoot._dirtyRoots%3D%5B%5D%7D%2C_finishDistribute%3Afunction()%7Bif(this._useContent)%7Bthis.shadyRoot._distributionClean%3Dtrue%3Bif(DomApi.hasInsertionPoint(this.shadyRoot))%7Bthis._composeTree()%3BnotifyContentObservers(this.shadyRoot)%7Delse%7Bif(!this.shadyRoot._hasDistributed)%7BTreeApi.Composed.clearChildNodes(this)%3Bthis.appendChild(this.shadyRoot)%7Delse%7Bvar%20children%3Dthis._composeNode(this)%3Bthis._updateChildNodes(this%2Cchildren)%7D%7Dif(!this.shadyRoot._hasDistributed)%7BnotifyInitialDistribution(this)%7Dthis.shadyRoot._hasDistributed%3Dtrue%7D%7D%2CelementMatches%3Afunction(selector%2Cnode)%7Bnode%3Dnode%7C%7Cthis%3Breturn%20DomApi.matchesSelector.call(node%2Cselector)%7D%2C_resetDistribution%3Afunction()%7Bvar%20children%3DTreeApi.Logical.getChildNodes(this)%3Bfor(var%20i%3D0%3Bi%3Cchildren.length%3Bi%2B%2B)%7Bvar%20child%3Dchildren%5Bi%5D%3Bif(child._destinationInsertionPoints)%7Bchild._destinationInsertionPoints%3Dundefined%7Dif(isInsertionPoint(child))%7BclearDistributedDestinationInsertionPoints(child)%7D%7Dvar%20root%3Dthis.shadyRoot%3Bvar%20p%24%3Droot._insertionPoints%3Bfor(var%20j%3D0%3Bj%3Cp%24.length%3Bj%2B%2B)%7Bp%24%5Bj%5D._distributedNodes%3D%5B%5D%7D%7D%2C_collectPool%3Afunction()%7Bvar%20pool%3D%5B%5D%3Bvar%20children%3DTreeApi.Logical.getChildNodes(this)%3Bfor(var%20i%3D0%3Bi%3Cchildren.length%3Bi%2B%2B)%7Bvar%20child%3Dchildren%5Bi%5D%3Bif(isInsertionPoint(child))%7Bpool.push.apply(pool%2Cchild._distributedNodes)%7Delse%7Bpool.push(child)%7D%7Dreturn%20pool%7D%2C_distributePool%3Afunction(node%2Cpool)%7Bvar%20p%24%3Dnode._insertionPoints%3Bfor(var%20i%3D0%2Cl%3Dp%24.length%2Cp%3Bi%3Cl%26%26(p%3Dp%24%5Bi%5D)%3Bi%2B%2B)%7Bthis._distributeInsertionPoint(p%2Cpool)%3BmaybeRedistributeParent(p%2Cthis)%7D%7D%2C_distributeInsertionPoint%3Afunction(content%2Cpool)%7Bvar%20anyDistributed%3Dfalse%3Bfor(var%20i%3D0%2Cl%3Dpool.length%2Cnode%3Bi%3Cl%3Bi%2B%2B)%7Bnode%3Dpool%5Bi%5D%3Bif(!node)%7Bcontinue%7Dif(this._matchesContentSelect(node%2Ccontent))%7BdistributeNodeInto(node%2Ccontent)%3Bpool%5Bi%5D%3Dundefined%3BanyDistributed%3Dtrue%7D%7Dif(!anyDistributed)%7Bvar%20children%3DTreeApi.Logical.getChildNodes(content)%3Bfor(var%20j%3D0%3Bj%3Cchildren.length%3Bj%2B%2B)%7BdistributeNodeInto(children%5Bj%5D%2Ccontent)%7D%7D%7D%2C_composeTree%3Afunction()%7Bthis._updateChildNodes(this%2Cthis._composeNode(this))%3Bvar%20p%24%3Dthis.shadyRoot._insertionPoints%3Bfor(var%20i%3D0%2Cl%3Dp%24.length%2Cp%2Cparent%3Bi%3Cl%26%26(p%3Dp%24%5Bi%5D)%3Bi%2B%2B)%7Bparent%3DTreeApi.Logical.getParentNode(p)%3Bif(!parent._useContent%26%26parent!%3D%3Dthis%26%26parent!%3D%3Dthis.shadyRoot)%7Bthis._updateChildNodes(parent%2Cthis._composeNode(parent))%7D%7D%7D%2C_composeNode%3Afunction(node)%7Bvar%20children%3D%5B%5D%3Bvar%20c%24%3DTreeApi.Logical.getChildNodes(node.shadyRoot%7C%7Cnode)%3Bfor(var%20i%3D0%3Bi%3Cc%24.length%3Bi%2B%2B)%7Bvar%20child%3Dc%24%5Bi%5D%3Bif(isInsertionPoint(child))%7Bvar%20distributedNodes%3Dchild._distributedNodes%3Bfor(var%20j%3D0%3Bj%3CdistributedNodes.length%3Bj%2B%2B)%7Bvar%20distributedNode%3DdistributedNodes%5Bj%5D%3Bif(isFinalDestination(child%2CdistributedNode))%7Bchildren.push(distributedNode)%7D%7D%7Delse%7Bchildren.push(child)%7D%7Dreturn%20children%7D%2C_updateChildNodes%3Afunction(container%2Cchildren)%7Bvar%20composed%3DTreeApi.Composed.getChildNodes(container)%3Bvar%20splices%3DPolymer.ArraySplice.calculateSplices(children%2Ccomposed)%3Bfor(var%20i%3D0%2Cd%3D0%2Cs%3Bi%3Csplices.length%26%26(s%3Dsplices%5Bi%5D)%3Bi%2B%2B)%7Bfor(var%20j%3D0%2Cn%3Bj%3Cs.removed.length%26%26(n%3Ds.removed%5Bj%5D)%3Bj%2B%2B)%7Bif(TreeApi.Composed.getParentNode(n)%3D%3D%3Dcontainer)%7BTreeApi.Composed.removeChild(container%2Cn)%7Dcomposed.splice(s.index%2Bd%2C1)%7Dd-%3Ds.addedCount%7Dfor(var%20i%3D0%2Cs%2Cnext%3Bi%3Csplices.length%26%26(s%3Dsplices%5Bi%5D)%3Bi%2B%2B)%7Bnext%3Dcomposed%5Bs.index%5D%3Bfor(var%20j%3Ds.index%2Cn%3Bj%3Cs.index%2Bs.addedCount%3Bj%2B%2B)%7Bn%3Dchildren%5Bj%5D%3BTreeApi.Composed.insertBefore(container%2Cn%2Cnext)%3Bcomposed.splice(j%2C0%2Cn)%7D%7D%7D%2C_matchesContentSelect%3Afunction(node%2CcontentElement)%7Bvar%20select%3DcontentElement.getAttribute(%22select%22)%3Bif(!select)%7Breturn%20true%7Dselect%3Dselect.trim()%3Bif(!select)%7Breturn%20true%7Dif(!(node%20instanceof%20Element))%7Breturn%20false%7Dvar%20validSelectors%3D%2F%5E(%3Anot%5C()%3F%5B*.%23%5Ba-zA-Z_%7C%5D%2F%3Bif(!validSelectors.test(select))%7Breturn%20false%7Dreturn%20this.elementMatches(select%2Cnode)%7D%2C_elementAdd%3Afunction()%7B%7D%2C_elementRemove%3Afunction()%7B%7D%7D)%3Bfunction%20distributeNodeInto(child%2CinsertionPoint)%7BinsertionPoint._distributedNodes.push(child)%3Bvar%20points%3Dchild._destinationInsertionPoints%3Bif(!points)%7Bchild._destinationInsertionPoints%3D%5BinsertionPoint%5D%7Delse%7Bpoints.push(insertionPoint)%7D%7Dfunction%20clearDistributedDestinationInsertionPoints(content)%7Bvar%20e%24%3Dcontent._distributedNodes%3Bif(e%24)%7Bfor(var%20i%3D0%3Bi%3Ce%24.length%3Bi%2B%2B)%7Bvar%20d%3De%24%5Bi%5D._destinationInsertionPoints%3Bif(d)%7Bd.splice(d.indexOf(content)%2B1%2Cd.length)%7D%7D%7D%7Dfunction%20maybeRedistributeParent(content%2Chost)%7Bvar%20parent%3DTreeApi.Logical.getParentNode(content)%3Bif(parent%26%26parent.shadyRoot%26%26DomApi.hasInsertionPoint(parent.shadyRoot)%26%26parent.shadyRoot._distributionClean)%7Bparent.shadyRoot._distributionClean%3Dfalse%3Bhost.shadyRoot._dirtyRoots.push(parent)%7D%7Dfunction%20isFinalDestination(insertionPoint%2Cnode)%7Bvar%20points%3Dnode._destinationInsertionPoints%3Breturn%20points%26%26points%5Bpoints.length-1%5D%3D%3D%3DinsertionPoint%7Dfunction%20isInsertionPoint(node)%7Breturn%20node.localName%3D%3D%22content%22%7Dfunction%20getTopDistributingHost(host)%7Bwhile(host%26%26hostNeedsRedistribution(host))%7Bhost%3Dhost.domHost%7Dreturn%20host%7Dfunction%20hostNeedsRedistribution(host)%7Bvar%20c%24%3DTreeApi.Logical.getChildNodes(host)%3Bfor(var%20i%3D0%2Cc%3Bi%3Cc%24.length%3Bi%2B%2B)%7Bc%3Dc%24%5Bi%5D%3Bif(c.localName%26%26c.localName%3D%3D%3D%22content%22)%7Breturn%20host.domHost%7D%7D%7Dfunction%20notifyContentObservers(root)%7Bfor(var%20i%3D0%2Cc%3Bi%3Croot._insertionPoints.length%3Bi%2B%2B)%7Bc%3Droot._insertionPoints%5Bi%5D%3Bif(DomApi.hasApi(c))%7BPolymer.dom(c).notifyObserver()%7D%7D%7Dfunction%20notifyInitialDistribution(host)%7Bif(DomApi.hasApi(host))%7BPolymer.dom(host).notifyObserver()%7D%7Dvar%20needsUpgrade%3Dwindow.CustomElements%26%26!CustomElements.useNative%3Bfunction%20upgradeLogicalChildren(children)%7Bif(needsUpgrade%26%26children)%7Bfor(var%20i%3D0%3Bi%3Cchildren.length%3Bi%2B%2B)%7BCustomElements.upgrade(children%5Bi%5D)%7D%7D%7D%7D)()%3Bif(Polymer.Settings.useShadow)%7BPolymer.Base._addFeature(%7B_poolContent%3Afunction()%7B%7D%2C_beginDistribute%3Afunction()%7B%7D%2CdistributeContent%3Afunction()%7B%7D%2C_distributeContent%3Afunction()%7B%7D%2C_finishDistribute%3Afunction()%7B%7D%2C_createLocalRoot%3Afunction()%7Bthis.createShadowRoot()%3Bthis.shadowRoot.appendChild(this.root)%3Bthis.root%3Dthis.shadowRoot%7D%7D)%7DPolymer.Async%3D%7B_currVal%3A0%2C_lastVal%3A0%2C_callbacks%3A%5B%5D%2C_twiddleContent%3A0%2C_twiddle%3Adocument.createTextNode(%22%22)%2Crun%3Afunction(callback%2CwaitTime)%7Bif(waitTime%3E0)%7Breturn~setTimeout(callback%2CwaitTime)%7Delse%7Bthis._twiddle.textContent%3Dthis._twiddleContent%2B%2B%3Bthis._callbacks.push(callback)%3Breturn%20this._currVal%2B%2B%7D%7D%2Ccancel%3Afunction(handle)%7Bif(handle%3C0)%7BclearTimeout(~handle)%7Delse%7Bvar%20idx%3Dhandle-this._lastVal%3Bif(idx%3E%3D0)%7Bif(!this._callbacks%5Bidx%5D)%7Bthrow%22invalid%20async%20handle%3A%20%22%2Bhandle%7Dthis._callbacks%5Bidx%5D%3Dnull%7D%7D%7D%2C_atEndOfMicrotask%3Afunction()%7Bvar%20len%3Dthis._callbacks.length%3Bfor(var%20i%3D0%3Bi%3Clen%3Bi%2B%2B)%7Bvar%20cb%3Dthis._callbacks%5Bi%5D%3Bif(cb)%7Btry%7Bcb()%7Dcatch(e)%7Bi%2B%2B%3Bthis._callbacks.splice(0%2Ci)%3Bthis._lastVal%2B%3Di%3Bthis._twiddle.textContent%3Dthis._twiddleContent%2B%2B%3Bthrow%20e%7D%7D%7Dthis._callbacks.splice(0%2Clen)%3Bthis._lastVal%2B%3Dlen%7D%7D%3Bnew%20window.MutationObserver(function()%7BPolymer.Async._atEndOfMicrotask()%7D).observe(Polymer.Async._twiddle%2C%7BcharacterData%3Atrue%7D)%3BPolymer.Debounce%3Dfunction()%7Bvar%20Async%3DPolymer.Async%3Bvar%20Debouncer%3Dfunction(context)%7Bthis.context%3Dcontext%3Bvar%20self%3Dthis%3Bthis.boundComplete%3Dfunction()%7Bself.complete()%7D%7D%3BDebouncer.prototype%3D%7Bgo%3Afunction(callback%2Cwait)%7Bvar%20h%3Bthis.finish%3Dfunction()%7BAsync.cancel(h)%7D%3Bh%3DAsync.run(this.boundComplete%2Cwait)%3Bthis.callback%3Dcallback%7D%2Cstop%3Afunction()%7Bif(this.finish)%7Bthis.finish()%3Bthis.finish%3Dnull%7D%7D%2Ccomplete%3Afunction()%7Bif(this.finish)%7Bthis.stop()%3Bthis.callback.call(this.context)%7D%7D%7D%3Bfunction%20debounce(debouncer%2Ccallback%2Cwait)%7Bif(debouncer)%7Bdebouncer.stop()%7Delse%7Bdebouncer%3Dnew%20Debouncer(this)%7Ddebouncer.go(callback%2Cwait)%3Breturn%20debouncer%7Dreturn%20debounce%7D()%3BPolymer.Base._addFeature(%7B_setupDebouncers%3Afunction()%7Bthis._debouncers%3D%7B%7D%7D%2Cdebounce%3Afunction(jobName%2Ccallback%2Cwait)%7Breturn%20this._debouncers%5BjobName%5D%3DPolymer.Debounce.call(this%2Cthis._debouncers%5BjobName%5D%2Ccallback%2Cwait)%7D%2CisDebouncerActive%3Afunction(jobName)%7Bvar%20debouncer%3Dthis._debouncers%5BjobName%5D%3Breturn!!(debouncer%26%26debouncer.finish)%7D%2CflushDebouncer%3Afunction(jobName)%7Bvar%20debouncer%3Dthis._debouncers%5BjobName%5D%3Bif(debouncer)%7Bdebouncer.complete()%7D%7D%2CcancelDebouncer%3Afunction(jobName)%7Bvar%20debouncer%3Dthis._debouncers%5BjobName%5D%3Bif(debouncer)%7Bdebouncer.stop()%7D%7D%7D)%3BPolymer.DomModule%3Ddocument.createElement(%22dom-module%22)%3BPolymer.Base._addFeature(%7B_registerFeatures%3Afunction()%7Bthis._prepIs()%3Bthis._prepBehaviors()%3Bthis._prepConstructor()%3Bthis._prepTemplate()%3Bthis._prepShady()%3Bthis._prepPropertyInfo()%7D%2C_prepBehavior%3Afunction(b)%7Bthis._addHostAttributes(b.hostAttributes)%7D%2C_initFeatures%3Afunction()%7Bthis._registerHost()%3Bif(this._template)%7Bthis._poolContent()%3Bthis._beginHosting()%3Bthis._stampTemplate()%3Bthis._endHosting()%7Dthis._marshalHostAttributes()%3Bthis._setupDebouncers()%3Bthis._marshalBehaviors()%3Bthis._tryReady()%7D%2C_marshalBehavior%3Afunction(b)%7B%7D%7D)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fnap-assets.nap-live.ext.net-a-porter.com%2Fgirdle%2Fbower_components%2Fpolymer%2Fpolymer.c928c30ad6a55f71.html-1.js%0A
  • tag2
  • javascript;charset=utf-8,Polymer.nar%3D%5B%5D%3BPolymer.Annotations%3D%7BparseAnnotations%3Afunction(template)%7Bvar%20list%3D%5B%5D%3Bvar%20content%3Dtemplate._content%7C%7Ctemplate.content%3Bthis._parseNodeAnnotations(content%2Clist%2Ctemplate.hasAttribute(%22strip-whitespace%22))%3Breturn%20list%7D%2C_parseNodeAnnotations%3Afunction(node%2Clist%2CstripWhiteSpace)%7Breturn%20node.nodeType%3D%3D%3DNode.TEXT_NODE%3Fthis._parseTextNodeAnnotation(node%2Clist)%3Athis._parseElementAnnotations(node%2Clist%2CstripWhiteSpace)%7D%2C_bindingRegex%3Afunction()%7Bvar%20IDENT%3D%22(%3F%3A%22%2B%22%5Ba-zA-Z_%24%5D%5B%5C%5Cw.%3A%24-*%5D*%22%2B%22)%22%3Bvar%20NUMBER%3D%22(%3F%3A%22%2B%22%5B-%2B%5D%3F%5B0-9%5D*%5C%5C.%3F%5B0-9%5D%2B(%3F%3A%5BeE%5D%5B-%2B%5D%3F%5B0-9%5D%2B)%3F%22%2B%22)%22%3Bvar%20SQUOTE_STRING%3D%22(%3F%3A%22%2B%22'(%3F%3A%5B%5E'%5C%5C%5C%5C%5D%7C%5C%5C%5C%5C.)*'%22%2B%22)%22%3Bvar%20DQUOTE_STRING%3D%22(%3F%3A%22%2B'%22(%3F%3A%5B%5E%22%5C%5C%5C%5C%5D%7C%5C%5C%5C%5C.)*%22'%2B%22)%22%3Bvar%20STRING%3D%22(%3F%3A%22%2BSQUOTE_STRING%2B%22%7C%22%2BDQUOTE_STRING%2B%22)%22%3Bvar%20ARGUMENT%3D%22(%3F%3A%22%2BIDENT%2B%22%7C%22%2BNUMBER%2B%22%7C%22%2BSTRING%2B%22%5C%5Cs*%22%2B%22)%22%3Bvar%20ARGUMENTS%3D%22(%3F%3A%22%2BARGUMENT%2B%22(%3F%3A%2C%5C%5Cs*%22%2BARGUMENT%2B%22)*%22%2B%22)%22%3Bvar%20ARGUMENT_LIST%3D%22(%3F%3A%22%2B%22%5C%5C(%5C%5Cs*%22%2B%22(%3F%3A%22%2BARGUMENTS%2B%22%3F%22%2B%22)%22%2B%22%5C%5C)%5C%5Cs*%22%2B%22)%22%3Bvar%20BINDING%3D%22(%22%2BIDENT%2B%22%5C%5Cs*%22%2BARGUMENT_LIST%2B%22%3F%22%2B%22)%22%3Bvar%20OPEN_BRACKET%3D%22(%5C%5C%5B%5C%5C%5B%7C%7B%7B)%22%2B%22%5C%5Cs*%22%3Bvar%20CLOSE_BRACKET%3D%22(%3F%3A%5D%5D%7C%7D%7D)%22%3Bvar%20NEGATE%3D%22(%3F%3A(!)%5C%5Cs*)%3F%22%3Bvar%20EXPRESSION%3DOPEN_BRACKET%2BNEGATE%2BBINDING%2BCLOSE_BRACKET%3Breturn%20new%20RegExp(EXPRESSION%2C%22g%22)%7D()%2C_parseBindings%3Afunction(text)%7Bvar%20re%3Dthis._bindingRegex%3Bvar%20parts%3D%5B%5D%3Bvar%20lastIndex%3D0%3Bvar%20m%3Bwhile((m%3Dre.exec(text))!%3D%3Dnull)%7Bif(m.index%3ElastIndex)%7Bparts.push(%7Bliteral%3Atext.slice(lastIndex%2Cm.index)%7D)%7Dvar%20mode%3Dm%5B1%5D%5B0%5D%3Bvar%20negate%3DBoolean(m%5B2%5D)%3Bvar%20value%3Dm%5B3%5D.trim()%3Bvar%20customEvent%2CnotifyEvent%2Ccolon%3Bif(mode%3D%3D%22%7B%22%26%26(colon%3Dvalue.indexOf(%22%3A%3A%22))%3E0)%7BnotifyEvent%3Dvalue.substring(colon%2B2)%3Bvalue%3Dvalue.substring(0%2Ccolon)%3BcustomEvent%3Dtrue%7Dparts.push(%7BcompoundIndex%3Aparts.length%2Cvalue%3Avalue%2Cmode%3Amode%2Cnegate%3Anegate%2Cevent%3AnotifyEvent%2CcustomEvent%3AcustomEvent%7D)%3BlastIndex%3Dre.lastIndex%7Dif(lastIndex%26%26lastIndex%3Ctext.length)%7Bvar%20literal%3Dtext.substring(lastIndex)%3Bif(literal)%7Bparts.push(%7Bliteral%3Aliteral%7D)%7D%7Dif(parts.length)%7Breturn%20parts%7D%7D%2C_literalFromParts%3Afunction(parts)%7Bvar%20s%3D%22%22%3Bfor(var%20i%3D0%3Bi%3Cparts.length%3Bi%2B%2B)%7Bvar%20literal%3Dparts%5Bi%5D.literal%3Bs%2B%3Dliteral%7C%7C%22%22%7Dreturn%20s%7D%2C_parseTextNodeAnnotation%3Afunction(node%2Clist)%7Bvar%20parts%3Dthis._parseBindings(node.textContent)%3Bif(parts)%7Bnode.textContent%3Dthis._literalFromParts(parts)%7C%7C%22%20%22%3Bvar%20annote%3D%7Bbindings%3A%5B%7Bkind%3A%22text%22%2Cname%3A%22textContent%22%2Cparts%3Aparts%2CisCompound%3Aparts.length!%3D%3D1%7D%5D%7D%3Blist.push(annote)%3Breturn%20annote%7D%7D%2C_parseElementAnnotations%3Afunction(element%2Clist%2CstripWhiteSpace)%7Bvar%20annote%3D%7Bbindings%3A%5B%5D%2Cevents%3A%5B%5D%7D%3Bif(element.localName%3D%3D%3D%22content%22)%7Blist._hasContent%3Dtrue%7Dthis._parseChildNodesAnnotations(element%2Cannote%2Clist%2CstripWhiteSpace)%3Bif(element.attributes)%7Bthis._parseNodeAttributeAnnotations(element%2Cannote%2Clist)%3Bif(this.prepElement)%7Bthis.prepElement(element)%7D%7Dif(annote.bindings.length%7C%7Cannote.events.length%7C%7Cannote.id)%7Blist.push(annote)%7Dreturn%20annote%7D%2C_parseChildNodesAnnotations%3Afunction(root%2Cannote%2Clist%2CstripWhiteSpace)%7Bif(root.firstChild)%7Bvar%20node%3Droot.firstChild%3Bvar%20i%3D0%3Bwhile(node)%7Bvar%20next%3Dnode.nextSibling%3Bif(node.localName%3D%3D%3D%22template%22%26%26!node.hasAttribute(%22preserve-content%22))%7Bthis._parseTemplate(node%2Ci%2Clist%2Cannote)%7Dif(node.nodeType%3D%3D%3DNode.TEXT_NODE)%7Bvar%20n%3Dnext%3Bwhile(n%26%26n.nodeType%3D%3D%3DNode.TEXT_NODE)%7Bnode.textContent%2B%3Dn.textContent%3Bnext%3Dn.nextSibling%3Broot.removeChild(n)%3Bn%3Dnext%7Dif(stripWhiteSpace%26%26!node.textContent.trim())%7Broot.removeChild(node)%3Bi--%7D%7Dif(node.parentNode)%7Bvar%20childAnnotation%3Dthis._parseNodeAnnotations(node%2Clist%2CstripWhiteSpace)%3Bif(childAnnotation)%7BchildAnnotation.parent%3Dannote%3BchildAnnotation.index%3Di%7D%7Dnode%3Dnext%3Bi%2B%2B%7D%7D%7D%2C_parseTemplate%3Afunction(node%2Cindex%2Clist%2Cparent)%7Bvar%20content%3Ddocument.createDocumentFragment()%3Bcontent._notes%3Dthis.parseAnnotations(node)%3Bcontent.appendChild(node.content)%3Blist.push(%7Bbindings%3APolymer.nar%2Cevents%3APolymer.nar%2CtemplateContent%3Acontent%2Cparent%3Aparent%2Cindex%3Aindex%7D)%7D%2C_parseNodeAttributeAnnotations%3Afunction(node%2Cannotation)%7Bvar%20attrs%3DArray.prototype.slice.call(node.attributes)%3Bfor(var%20i%3Dattrs.length-1%2Ca%3Ba%3Dattrs%5Bi%5D%3Bi--)%7Bvar%20n%3Da.name%3Bvar%20v%3Da.value%3Bvar%20b%3Bif(n.slice(0%2C3)%3D%3D%3D%22on-%22)%7Bnode.removeAttribute(n)%3Bannotation.events.push(%7Bname%3An.slice(3)%2Cvalue%3Av%7D)%7Delse%20if(b%3Dthis._parseNodeAttributeAnnotation(node%2Cn%2Cv))%7Bannotation.bindings.push(b)%7Delse%20if(n%3D%3D%3D%22id%22)%7Bannotation.id%3Dv%7D%7D%7D%2C_parseNodeAttributeAnnotation%3Afunction(node%2Cname%2Cvalue)%7Bvar%20parts%3Dthis._parseBindings(value)%3Bif(parts)%7Bvar%20origName%3Dname%3Bvar%20kind%3D%22property%22%3Bif(name%5Bname.length-1%5D%3D%3D%22%24%22)%7Bname%3Dname.slice(0%2C-1)%3Bkind%3D%22attribute%22%7Dvar%20literal%3Dthis._literalFromParts(parts)%3Bif(literal%26%26kind%3D%3D%22attribute%22)%7Bnode.setAttribute(name%2Cliteral)%7Dif(node.localName%3D%3D%3D%22input%22%26%26origName%3D%3D%3D%22value%22)%7Bnode.setAttribute(origName%2C%22%22)%7Dnode.removeAttribute(origName)%3Bif(kind%3D%3D%3D%22property%22)%7Bname%3DPolymer.CaseMap.dashToCamelCase(name)%7Dreturn%7Bkind%3Akind%2Cname%3Aname%2Cparts%3Aparts%2Cliteral%3Aliteral%2CisCompound%3Aparts.length!%3D%3D1%7D%7D%7D%2CfindAnnotatedNode%3Afunction(root%2Cannote)%7Bvar%20parent%3Dannote.parent%26%26Polymer.Annotations.findAnnotatedNode(root%2Cannote.parent)%3Bif(parent)%7Bfor(var%20n%3Dparent.firstChild%2Ci%3D0%3Bn%3Bn%3Dn.nextSibling)%7Bif(annote.index%3D%3D%3Di%2B%2B)%7Breturn%20n%7D%7D%7Delse%7Breturn%20root%7D%7D%7D%3B(function()%7Bfunction%20resolveCss(cssText%2CownerDocument)%7Breturn%20cssText.replace(CSS_URL_RX%2Cfunction(m%2Cpre%2Curl%2Cpost)%7Breturn%20pre%2B%22'%22%2Bresolve(url.replace(%2F%5B%22'%5D%2Fg%2C%22%22)%2CownerDocument)%2B%22'%22%2Bpost%7D)%7Dfunction%20resolveAttrs(element%2CownerDocument)%7Bfor(var%20name%20in%20URL_ATTRS)%7Bvar%20a%24%3DURL_ATTRS%5Bname%5D%3Bfor(var%20i%3D0%2Cl%3Da%24.length%2Ca%2Cat%2Cv%3Bi%3Cl%26%26(a%3Da%24%5Bi%5D)%3Bi%2B%2B)%7Bif(name%3D%3D%3D%22*%22%7C%7Celement.localName%3D%3D%3Dname)%7Bat%3Delement.attributes%5Ba%5D%3Bv%3Dat%26%26at.value%3Bif(v%26%26v.search(BINDING_RX)%3C0)%7Bat.value%3Da%3D%3D%3D%22style%22%3FresolveCss(v%2CownerDocument)%3Aresolve(v%2CownerDocument)%7D%7D%7D%7D%7Dfunction%20resolve(url%2CownerDocument)%7Bif(url%26%26url%5B0%5D%3D%3D%3D%22%23%22)%7Breturn%20url%7Dvar%20resolver%3DgetUrlResolver(ownerDocument)%3Bresolver.href%3Durl%3Breturn%20resolver.href%7C%7Curl%7Dvar%20tempDoc%3Bvar%20tempDocBase%3Bfunction%20resolveUrl(url%2CbaseUri)%7Bif(!tempDoc)%7BtempDoc%3Ddocument.implementation.createHTMLDocument(%22temp%22)%3BtempDocBase%3DtempDoc.createElement(%22base%22)%3BtempDoc.head.appendChild(tempDocBase)%7DtempDocBase.href%3DbaseUri%3Breturn%20resolve(url%2CtempDoc)%7Dfunction%20getUrlResolver(ownerDocument)%7Breturn%20ownerDocument.__urlResolver%7C%7C(ownerDocument.__urlResolver%3DownerDocument.createElement(%22a%22))%7Dvar%20CSS_URL_RX%3D%2F(url%5C()(%5B%5E)%5D*)(%5C))%2Fg%3Bvar%20URL_ATTRS%3D%7B%22*%22%3A%5B%22href%22%2C%22src%22%2C%22style%22%2C%22url%22%5D%2Cform%3A%5B%22action%22%5D%7D%3Bvar%20BINDING_RX%3D%2F%5C%7B%5C%7B%7C%5C%5B%5C%5B%2F%3BPolymer.ResolveUrl%3D%7BresolveCss%3AresolveCss%2CresolveAttrs%3AresolveAttrs%2CresolveUrl%3AresolveUrl%7D%7D)()%3BPolymer.Base._addFeature(%7B_prepAnnotations%3Afunction()%7Bif(!this._template)%7Bthis._notes%3D%5B%5D%7Delse%7Bvar%20self%3Dthis%3BPolymer.Annotations.prepElement%3Dfunction(element)%7Bself._prepElement(element)%7D%3Bif(this._template._content%26%26this._template._content._notes)%7Bthis._notes%3Dthis._template._content._notes%7Delse%7Bthis._notes%3DPolymer.Annotations.parseAnnotations(this._template)%3Bthis._processAnnotations(this._notes)%7DPolymer.Annotations.prepElement%3Dnull%7D%7D%2C_processAnnotations%3Afunction(notes)%7Bfor(var%20i%3D0%3Bi%3Cnotes.length%3Bi%2B%2B)%7Bvar%20note%3Dnotes%5Bi%5D%3Bfor(var%20j%3D0%3Bj%3Cnote.bindings.length%3Bj%2B%2B)%7Bvar%20b%3Dnote.bindings%5Bj%5D%3Bfor(var%20k%3D0%3Bk%3Cb.parts.length%3Bk%2B%2B)%7Bvar%20p%3Db.parts%5Bk%5D%3Bif(!p.literal)%7Bp.signature%3Dthis._parseMethod(p.value)%3Bif(!p.signature)%7Bp.model%3Dthis._modelForPath(p.value)%7D%7D%7D%7Dif(note.templateContent)%7Bthis._processAnnotations(note.templateContent._notes)%3Bvar%20pp%3Dnote.templateContent._parentProps%3Dthis._discoverTemplateParentProps(note.templateContent._notes)%3Bvar%20bindings%3D%5B%5D%3Bfor(var%20prop%20in%20pp)%7Bbindings.push(%7Bindex%3Anote.index%2Ckind%3A%22property%22%2Cname%3A%22_parent_%22%2Bprop%2Cparts%3A%5B%7Bmode%3A%22%7B%22%2Cmodel%3Aprop%2Cvalue%3Aprop%7D%5D%7D)%7Dnote.bindings%3Dnote.bindings.concat(bindings)%7D%7D%7D%2C_discoverTemplateParentProps%3Afunction(notes)%7Bvar%20pp%3D%7B%7D%3Bfor(var%20i%3D0%2Cn%3Bi%3Cnotes.length%26%26(n%3Dnotes%5Bi%5D)%3Bi%2B%2B)%7Bfor(var%20j%3D0%2Cb%24%3Dn.bindings%2Cb%3Bj%3Cb%24.length%26%26(b%3Db%24%5Bj%5D)%3Bj%2B%2B)%7Bfor(var%20k%3D0%2Cp%24%3Db.parts%2Cp%3Bk%3Cp%24.length%26%26(p%3Dp%24%5Bk%5D)%3Bk%2B%2B)%7Bif(p.signature)%7Bvar%20args%3Dp.signature.args%3Bfor(var%20kk%3D0%3Bkk%3Cargs.length%3Bkk%2B%2B)%7Bvar%20model%3Dargs%5Bkk%5D.model%3Bif(model)%7Bpp%5Bmodel%5D%3Dtrue%7D%7D%7Delse%7Bif(p.model)%7Bpp%5Bp.model%5D%3Dtrue%7D%7D%7D%7Dif(n.templateContent)%7Bvar%20tpp%3Dn.templateContent._parentProps%3BPolymer.Base.mixin(pp%2Ctpp)%7D%7Dreturn%20pp%7D%2C_prepElement%3Afunction(element)%7BPolymer.ResolveUrl.resolveAttrs(element%2Cthis._template.ownerDocument)%7D%2C_findAnnotatedNode%3APolymer.Annotations.findAnnotatedNode%2C_marshalAnnotationReferences%3Afunction()%7Bif(this._template)%7Bthis._marshalIdNodes()%3Bthis._marshalAnnotatedNodes()%3Bthis._marshalAnnotatedListeners()%7D%7D%2C_configureAnnotationReferences%3Afunction(config)%7Bvar%20notes%3Dthis._notes%3Bvar%20nodes%3Dthis._nodes%3Bfor(var%20i%3D0%3Bi%3Cnotes.length%3Bi%2B%2B)%7Bvar%20note%3Dnotes%5Bi%5D%3Bvar%20node%3Dnodes%5Bi%5D%3Bthis._configureTemplateContent(note%2Cnode)%3Bthis._configureCompoundBindings(note%2Cnode)%7D%7D%2C_configureTemplateContent%3Afunction(note%2Cnode)%7Bif(note.templateContent)%7Bnode._content%3Dnote.templateContent%7D%7D%2C_configureCompoundBindings%3Afunction(note%2Cnode)%7Bvar%20bindings%3Dnote.bindings%3Bfor(var%20i%3D0%3Bi%3Cbindings.length%3Bi%2B%2B)%7Bvar%20binding%3Dbindings%5Bi%5D%3Bif(binding.isCompound)%7Bvar%20storage%3Dnode.__compoundStorage__%7C%7C(node.__compoundStorage__%3D%7B%7D)%3Bvar%20parts%3Dbinding.parts%3Bvar%20literals%3Dnew%20Array(parts.length)%3Bfor(var%20j%3D0%3Bj%3Cparts.length%3Bj%2B%2B)%7Bliterals%5Bj%5D%3Dparts%5Bj%5D.literal%7Dvar%20name%3Dbinding.name%3Bstorage%5Bname%5D%3Dliterals%3Bif(binding.literal%26%26binding.kind%3D%3D%22property%22)%7Bif(node._configValue)%7Bnode._configValue(name%2Cbinding.literal)%7Delse%7Bnode%5Bname%5D%3Dbinding.literal%7D%7D%7D%7D%7D%2C_marshalIdNodes%3Afunction()%7Bthis.%24%3D%7B%7D%3Bfor(var%20i%3D0%2Cl%3Dthis._notes.length%2Ca%3Bi%3Cl%26%26(a%3Dthis._notes%5Bi%5D)%3Bi%2B%2B)%7Bif(a.id)%7Bthis.%24%5Ba.id%5D%3Dthis._findAnnotatedNode(this.root%2Ca)%7D%7D%7D%2C_marshalAnnotatedNodes%3Afunction()%7Bif(this._notes%26%26this._notes.length)%7Bvar%20r%3Dnew%20Array(this._notes.length)%3Bfor(var%20i%3D0%3Bi%3Cthis._notes.length%3Bi%2B%2B)%7Br%5Bi%5D%3Dthis._findAnnotatedNode(this.root%2Cthis._notes%5Bi%5D)%7Dthis._nodes%3Dr%7D%7D%2C_marshalAnnotatedListeners%3Afunction()%7Bfor(var%20i%3D0%2Cl%3Dthis._notes.length%2Ca%3Bi%3Cl%26%26(a%3Dthis._notes%5Bi%5D)%3Bi%2B%2B)%7Bif(a.events%26%26a.events.length)%7Bvar%20node%3Dthis._findAnnotatedNode(this.root%2Ca)%3Bfor(var%20j%3D0%2Ce%24%3Da.events%2Ce%3Bj%3Ce%24.length%26%26(e%3De%24%5Bj%5D)%3Bj%2B%2B)%7Bthis.listen(node%2Ce.name%2Ce.value)%7D%7D%7D%7D%7D)%3BPolymer.Base._addFeature(%7Blisteners%3A%7B%7D%2C_listenListeners%3Afunction(listeners)%7Bvar%20node%2Cname%2CeventName%3Bfor(eventName%20in%20listeners)%7Bif(eventName.indexOf(%22.%22)%3C0)%7Bnode%3Dthis%3Bname%3DeventName%7Delse%7Bname%3DeventName.split(%22.%22)%3Bnode%3Dthis.%24%5Bname%5B0%5D%5D%3Bname%3Dname%5B1%5D%7Dthis.listen(node%2Cname%2Clisteners%5BeventName%5D)%7D%7D%2Clisten%3Afunction(node%2CeventName%2CmethodName)%7Bvar%20handler%3Dthis._recallEventHandler(this%2CeventName%2Cnode%2CmethodName)%3Bif(!handler)%7Bhandler%3Dthis._createEventHandler(node%2CeventName%2CmethodName)%7Dif(handler._listening)%7Breturn%7Dthis._listen(node%2CeventName%2Chandler)%3Bhandler._listening%3Dtrue%7D%2C_boundListenerKey%3Afunction(eventName%2CmethodName)%7Breturn%20eventName%2B%22%3A%22%2BmethodName%7D%2C_recordEventHandler%3Afunction(host%2CeventName%2Ctarget%2CmethodName%2Chandler)%7Bvar%20hbl%3Dhost.__boundListeners%3Bif(!hbl)%7Bhbl%3Dhost.__boundListeners%3Dnew%20WeakMap%7Dvar%20bl%3Dhbl.get(target)%3Bif(!bl)%7Bbl%3D%7B%7D%3Bhbl.set(target%2Cbl)%7Dvar%20key%3Dthis._boundListenerKey(eventName%2CmethodName)%3Bbl%5Bkey%5D%3Dhandler%7D%2C_recallEventHandler%3Afunction(host%2CeventName%2Ctarget%2CmethodName)%7Bvar%20hbl%3Dhost.__boundListeners%3Bif(!hbl)%7Breturn%7Dvar%20bl%3Dhbl.get(target)%3Bif(!bl)%7Breturn%7Dvar%20key%3Dthis._boundListenerKey(eventName%2CmethodName)%3Breturn%20bl%5Bkey%5D%7D%2C_createEventHandler%3Afunction(node%2CeventName%2CmethodName)%7Bvar%20host%3Dthis%3Bvar%20handler%3Dfunction(e)%7Bif(host%5BmethodName%5D)%7Bhost%5BmethodName%5D(e%2Ce.detail)%7Delse%7Bhost._warn(host._logf(%22_createEventHandler%22%2C%22listener%20method%20%60%22%2BmethodName%2B%22%60%20not%20defined%22))%7D%7D%3Bhandler._listening%3Dfalse%3Bthis._recordEventHandler(host%2CeventName%2Cnode%2CmethodName%2Chandler)%3Breturn%20handler%7D%2Cunlisten%3Afunction(node%2CeventName%2CmethodName)%7Bvar%20handler%3Dthis._recallEventHandler(this%2CeventName%2Cnode%2CmethodName)%3Bif(handler)%7Bthis._unlisten(node%2CeventName%2Chandler)%3Bhandler._listening%3Dfalse%7D%7D%2C_listen%3Afunction(node%2CeventName%2Chandler)%7Bnode.addEventListener(eventName%2Chandler)%7D%2C_unlisten%3Afunction(node%2CeventName%2Chandler)%7Bnode.removeEventListener(eventName%2Chandler)%7D%7D)%3B(function()%7B%22use%20strict%22%3Bvar%20wrap%3DPolymer.DomApi.wrap%3Bvar%20HAS_NATIVE_TA%3Dtypeof%20document.head.style.touchAction%3D%3D%3D%22string%22%3Bvar%20GESTURE_KEY%3D%22__polymerGestures%22%3Bvar%20HANDLED_OBJ%3D%22__polymerGesturesHandled%22%3Bvar%20TOUCH_ACTION%3D%22__polymerGesturesTouchAction%22%3Bvar%20TAP_DISTANCE%3D25%3Bvar%20TRACK_DISTANCE%3D5%3Bvar%20TRACK_LENGTH%3D2%3Bvar%20MOUSE_TIMEOUT%3D2500%3Bvar%20MOUSE_EVENTS%3D%5B%22mousedown%22%2C%22mousemove%22%2C%22mouseup%22%2C%22click%22%5D%3Bvar%20MOUSE_WHICH_TO_BUTTONS%3D%5B0%2C1%2C4%2C2%5D%3Bvar%20MOUSE_HAS_BUTTONS%3Dfunction()%7Btry%7Breturn%20new%20MouseEvent(%22test%22%2C%7Bbuttons%3A1%7D).buttons%3D%3D%3D1%7Dcatch(e)%7Breturn%20false%7D%7D()%3Bvar%20IS_TOUCH_ONLY%3Dnavigator.userAgent.match(%2FiP(%3F%3A%5Boa%5Dd%7Chone)%7CAndroid%2F)%3Bvar%20mouseCanceller%3Dfunction(mouseEvent)%7BmouseEvent%5BHANDLED_OBJ%5D%3D%7Bskip%3Atrue%7D%3Bif(mouseEvent.type%3D%3D%3D%22click%22)%7Bvar%20path%3DPolymer.dom(mouseEvent).path%3Bfor(var%20i%3D0%3Bi%3Cpath.length%3Bi%2B%2B)%7Bif(path%5Bi%5D%3D%3D%3DPOINTERSTATE.mouse.target)%7Breturn%7D%7DmouseEvent.preventDefault()%3BmouseEvent.stopPropagation()%7D%7D%3Bfunction%20setupTeardownMouseCanceller(setup)%7Bfor(var%20i%3D0%2Cen%3Bi%3CMOUSE_EVENTS.length%3Bi%2B%2B)%7Ben%3DMOUSE_EVENTS%5Bi%5D%3Bif(setup)%7Bdocument.addEventListener(en%2CmouseCanceller%2Ctrue)%7Delse%7Bdocument.removeEventListener(en%2CmouseCanceller%2Ctrue)%7D%7D%7Dfunction%20ignoreMouse()%7Bif(IS_TOUCH_ONLY)%7Breturn%7Dif(!POINTERSTATE.mouse.mouseIgnoreJob)%7BsetupTeardownMouseCanceller(true)%7Dvar%20unset%3Dfunction()%7BsetupTeardownMouseCanceller()%3BPOINTERSTATE.mouse.target%3Dnull%3BPOINTERSTATE.mouse.mouseIgnoreJob%3Dnull%7D%3BPOINTERSTATE.mouse.mouseIgnoreJob%3DPolymer.Debounce(POINTERSTATE.mouse.mouseIgnoreJob%2Cunset%2CMOUSE_TIMEOUT)%7Dfunction%20hasLeftMouseButton(ev)%7Bvar%20type%3Dev.type%3Bif(MOUSE_EVENTS.indexOf(type)%3D%3D%3D-1)%7Breturn%20false%7Dif(type%3D%3D%3D%22mousemove%22)%7Bvar%20buttons%3Dev.buttons%3D%3D%3Dundefined%3F1%3Aev.buttons%3Bif(ev%20instanceof%20window.MouseEvent%26%26!MOUSE_HAS_BUTTONS)%7Bbuttons%3DMOUSE_WHICH_TO_BUTTONS%5Bev.which%5D%7C%7C0%7Dreturn%20Boolean(buttons%261)%7Delse%7Bvar%20button%3Dev.button%3D%3D%3Dundefined%3F0%3Aev.button%3Breturn%20button%3D%3D%3D0%7D%7Dfunction%20isSyntheticClick(ev)%7Bif(ev.type%3D%3D%3D%22click%22)%7Bif(ev.detail%3D%3D%3D0)%7Breturn%20true%7Dvar%20t%3DGestures.findOriginalTarget(ev)%3Bvar%20bcr%3Dt.getBoundingClientRect()%3Bvar%20x%3Dev.pageX%2Cy%3Dev.pageY%3Breturn!(x%3E%3Dbcr.left%26%26x%3C%3Dbcr.right%26%26(y%3E%3Dbcr.top%26%26y%3C%3Dbcr.bottom))%7Dreturn%20false%7Dvar%20POINTERSTATE%3D%7Bmouse%3A%7Btarget%3Anull%2CmouseIgnoreJob%3Anull%7D%2Ctouch%3A%7Bx%3A0%2Cy%3A0%2Cid%3A-1%2CscrollDecided%3Afalse%7D%7D%3Bfunction%20firstTouchAction(ev)%7Bvar%20path%3DPolymer.dom(ev).path%3Bvar%20ta%3D%22auto%22%3Bfor(var%20i%3D0%2Cn%3Bi%3Cpath.length%3Bi%2B%2B)%7Bn%3Dpath%5Bi%5D%3Bif(n%5BTOUCH_ACTION%5D)%7Bta%3Dn%5BTOUCH_ACTION%5D%3Bbreak%7D%7Dreturn%20ta%7Dfunction%20trackDocument(stateObj%2Cmovefn%2Cupfn)%7BstateObj.movefn%3Dmovefn%3BstateObj.upfn%3Dupfn%3Bdocument.addEventListener(%22mousemove%22%2Cmovefn)%3Bdocument.addEventListener(%22mouseup%22%2Cupfn)%7Dfunction%20untrackDocument(stateObj)%7Bdocument.removeEventListener(%22mousemove%22%2CstateObj.movefn)%3Bdocument.removeEventListener(%22mouseup%22%2CstateObj.upfn)%3BstateObj.movefn%3Dnull%3BstateObj.upfn%3Dnull%7Dvar%20Gestures%3D%7Bgestures%3A%7B%7D%2Crecognizers%3A%5B%5D%2CdeepTargetFind%3Afunction(x%2Cy)%7Bvar%20node%3Ddocument.elementFromPoint(x%2Cy)%3Bvar%20next%3Dnode%3Bwhile(next%26%26next.shadowRoot)%7Bnext%3Dnext.shadowRoot.elementFromPoint(x%2Cy)%3Bif(next)%7Bnode%3Dnext%7D%7Dreturn%20node%7D%2CfindOriginalTarget%3Afunction(ev)%7Bif(ev.path)%7Breturn%20ev.path%5B0%5D%7Dreturn%20ev.target%7D%2ChandleNative%3Afunction(ev)%7Bvar%20handled%3Bvar%20type%3Dev.type%3Bvar%20node%3Dwrap(ev.currentTarget)%3Bvar%20gobj%3Dnode%5BGESTURE_KEY%5D%3Bif(!gobj)%7Breturn%7Dvar%20gs%3Dgobj%5Btype%5D%3Bif(!gs)%7Breturn%7Dif(!ev%5BHANDLED_OBJ%5D)%7Bev%5BHANDLED_OBJ%5D%3D%7B%7D%3Bif(type.slice(0%2C5)%3D%3D%3D%22touch%22)%7Bvar%20t%3Dev.changedTouches%5B0%5D%3Bif(type%3D%3D%3D%22touchstart%22)%7Bif(ev.touches.length%3D%3D%3D1)%7BPOINTERSTATE.touch.id%3Dt.identifier%7D%7Dif(POINTERSTATE.touch.id!%3D%3Dt.identifier)%7Breturn%7Dif(!HAS_NATIVE_TA)%7Bif(type%3D%3D%3D%22touchstart%22%7C%7Ctype%3D%3D%3D%22touchmove%22)%7BGestures.handleTouchAction(ev)%7D%7Dif(type%3D%3D%3D%22touchend%22)%7BPOINTERSTATE.mouse.target%3DPolymer.dom(ev).rootTarget%3BignoreMouse(true)%7D%7D%7Dhandled%3Dev%5BHANDLED_OBJ%5D%3Bif(handled.skip)%7Breturn%7Dvar%20recognizers%3DGestures.recognizers%3Bfor(var%20i%3D0%2Cr%3Bi%3Crecognizers.length%3Bi%2B%2B)%7Br%3Drecognizers%5Bi%5D%3Bif(gs%5Br.name%5D%26%26!handled%5Br.name%5D)%7Bif(r.flow%26%26r.flow.start.indexOf(ev.type)%3E-1)%7Bif(r.reset)%7Br.reset()%7D%7D%7D%7Dfor(var%20i%3D0%2Cr%3Bi%3Crecognizers.length%3Bi%2B%2B)%7Br%3Drecognizers%5Bi%5D%3Bif(gs%5Br.name%5D%26%26!handled%5Br.name%5D)%7Bhandled%5Br.name%5D%3Dtrue%3Br%5Btype%5D(ev)%7D%7D%7D%2ChandleTouchAction%3Afunction(ev)%7Bvar%20t%3Dev.changedTouches%5B0%5D%3Bvar%20type%3Dev.type%3Bif(type%3D%3D%3D%22touchstart%22)%7BPOINTERSTATE.touch.x%3Dt.clientX%3BPOINTERSTATE.touch.y%3Dt.clientY%3BPOINTERSTATE.touch.scrollDecided%3Dfalse%7Delse%20if(type%3D%3D%3D%22touchmove%22)%7Bif(POINTERSTATE.touch.scrollDecided)%7Breturn%7DPOINTERSTATE.touch.scrollDecided%3Dtrue%3Bvar%20ta%3DfirstTouchAction(ev)%3Bvar%20prevent%3Dfalse%3Bvar%20dx%3DMath.abs(POINTERSTATE.touch.x-t.clientX)%3Bvar%20dy%3DMath.abs(POINTERSTATE.touch.y-t.clientY)%3Bif(!ev.cancelable)%7B%7Delse%20if(ta%3D%3D%3D%22none%22)%7Bprevent%3Dtrue%7Delse%20if(ta%3D%3D%3D%22pan-x%22)%7Bprevent%3Ddy%3Edx%7Delse%20if(ta%3D%3D%3D%22pan-y%22)%7Bprevent%3Ddx%3Edy%7Dif(prevent)%7Bev.preventDefault()%7Delse%7BGestures.prevent(%22track%22)%7D%7D%7D%2Cadd%3Afunction(node%2CevType%2Chandler)%7Bnode%3Dwrap(node)%3Bvar%20recognizer%3Dthis.gestures%5BevType%5D%3Bvar%20deps%3Drecognizer.deps%3Bvar%20name%3Drecognizer.name%3Bvar%20gobj%3Dnode%5BGESTURE_KEY%5D%3Bif(!gobj)%7Bnode%5BGESTURE_KEY%5D%3Dgobj%3D%7B%7D%7Dfor(var%20i%3D0%2Cdep%2Cgd%3Bi%3Cdeps.length%3Bi%2B%2B)%7Bdep%3Ddeps%5Bi%5D%3Bif(IS_TOUCH_ONLY%26%26MOUSE_EVENTS.indexOf(dep)%3E-1)%7Bcontinue%7Dgd%3Dgobj%5Bdep%5D%3Bif(!gd)%7Bgobj%5Bdep%5D%3Dgd%3D%7B_count%3A0%7D%7Dif(gd._count%3D%3D%3D0)%7Bnode.addEventListener(dep%2Cthis.handleNative)%7Dgd%5Bname%5D%3D(gd%5Bname%5D%7C%7C0)%2B1%3Bgd._count%3D(gd._count%7C%7C0)%2B1%7Dnode.addEventListener(evType%2Chandler)%3Bif(recognizer.touchAction)%7Bthis.setTouchAction(node%2Crecognizer.touchAction)%7D%7D%2Cremove%3Afunction(node%2CevType%2Chandler)%7Bnode%3Dwrap(node)%3Bvar%20recognizer%3Dthis.gestures%5BevType%5D%3Bvar%20deps%3Drecognizer.deps%3Bvar%20name%3Drecognizer.name%3Bvar%20gobj%3Dnode%5BGESTURE_KEY%5D%3Bif(gobj)%7Bfor(var%20i%3D0%2Cdep%2Cgd%3Bi%3Cdeps.length%3Bi%2B%2B)%7Bdep%3Ddeps%5Bi%5D%3Bgd%3Dgobj%5Bdep%5D%3Bif(gd%26%26gd%5Bname%5D)%7Bgd%5Bname%5D%3D(gd%5Bname%5D%7C%7C1)-1%3Bgd._count%3D(gd._count%7C%7C1)-1%3Bif(gd._count%3D%3D%3D0)%7Bnode.removeEventListener(dep%2Cthis.handleNative)%7D%7D%7D%7Dnode.removeEventListener(evType%2Chandler)%7D%2Cregister%3Afunction(recog)%7Bthis.recognizers.push(recog)%3Bfor(var%20i%3D0%3Bi%3Crecog.emits.length%3Bi%2B%2B)%7Bthis.gestures%5Brecog.emits%5Bi%5D%5D%3Drecog%7D%7D%2CfindRecognizerByEvent%3Afunction(evName)%7Bfor(var%20i%3D0%2Cr%3Bi%3Cthis.recognizers.length%3Bi%2B%2B)%7Br%3Dthis.recognizers%5Bi%5D%3Bfor(var%20j%3D0%2Cn%3Bj%3Cr.emits.length%3Bj%2B%2B)%7Bn%3Dr.emits%5Bj%5D%3Bif(n%3D%3D%3DevName)%7Breturn%20r%7D%7D%7Dreturn%20null%7D%2CsetTouchAction%3Afunction(node%2Cvalue)%7Bif(HAS_NATIVE_TA)%7Bnode.style.touchAction%3Dvalue%7Dnode%5BTOUCH_ACTION%5D%3Dvalue%7D%2Cfire%3Afunction(target%2Ctype%2Cdetail)%7Bvar%20ev%3DPolymer.Base.fire(type%2Cdetail%2C%7Bnode%3Atarget%2Cbubbles%3Atrue%2Ccancelable%3Atrue%7D)%3Bif(ev.defaultPrevented)%7Bvar%20se%3Ddetail.sourceEvent%3Bif(se%26%26se.preventDefault)%7Bse.preventDefault()%7D%7D%7D%2Cprevent%3Afunction(evName)%7Bvar%20recognizer%3Dthis.findRecognizerByEvent(evName)%3Bif(recognizer.info)%7Brecognizer.info.prevent%3Dtrue%7D%7D%7D%3BGestures.register(%7Bname%3A%22downup%22%2Cdeps%3A%5B%22mousedown%22%2C%22touchstart%22%2C%22touchend%22%5D%2Cflow%3A%7Bstart%3A%5B%22mousedown%22%2C%22touchstart%22%5D%2Cend%3A%5B%22mouseup%22%2C%22touchend%22%5D%7D%2Cemits%3A%5B%22down%22%2C%22up%22%5D%2Cinfo%3A%7Bmovefn%3Anull%2Cupfn%3Anull%7D%2Creset%3Afunction()%7BuntrackDocument(this.info)%7D%2Cmousedown%3Afunction(e)%7Bif(!hasLeftMouseButton(e))%7Breturn%7Dvar%20t%3DGestures.findOriginalTarget(e)%3Bvar%20self%3Dthis%3Bvar%20movefn%3Dfunction%20movefn(e)%7Bif(!hasLeftMouseButton(e))%7Bself.fire(%22up%22%2Ct%2Ce)%3BuntrackDocument(self.info)%7D%7D%3Bvar%20upfn%3Dfunction%20upfn(e)%7Bif(hasLeftMouseButton(e))%7Bself.fire(%22up%22%2Ct%2Ce)%7DuntrackDocument(self.info)%7D%3BtrackDocument(this.info%2Cmovefn%2Cupfn)%3Bthis.fire(%22down%22%2Ct%2Ce)%7D%2Ctouchstart%3Afunction(e)%7Bthis.fire(%22down%22%2CGestures.findOriginalTarget(e)%2Ce.changedTouches%5B0%5D)%7D%2Ctouchend%3Afunction(e)%7Bthis.fire(%22up%22%2CGestures.findOriginalTarget(e)%2Ce.changedTouches%5B0%5D)%7D%2Cfire%3Afunction(type%2Ctarget%2Cevent)%7BGestures.fire(target%2Ctype%2C%7Bx%3Aevent.clientX%2Cy%3Aevent.clientY%2CsourceEvent%3Aevent%2Cprevent%3Afunction(e)%7Breturn%20Gestures.prevent(e)%7D%7D)%7D%7D)%3BGestures.register(%7Bname%3A%22track%22%2CtouchAction%3A%22none%22%2Cdeps%3A%5B%22mousedown%22%2C%22touchstart%22%2C%22touchmove%22%2C%22touchend%22%5D%2Cflow%3A%7Bstart%3A%5B%22mousedown%22%2C%22touchstart%22%5D%2Cend%3A%5B%22mouseup%22%2C%22touchend%22%5D%7D%2Cemits%3A%5B%22track%22%5D%2Cinfo%3A%7Bx%3A0%2Cy%3A0%2Cstate%3A%22start%22%2Cstarted%3Afalse%2Cmoves%3A%5B%5D%2CaddMove%3Afunction(move)%7Bif(this.moves.length%3ETRACK_LENGTH)%7Bthis.moves.shift()%7Dthis.moves.push(move)%7D%2Cmovefn%3Anull%2Cupfn%3Anull%2Cprevent%3Afalse%7D%2Creset%3Afunction()%7Bthis.info.state%3D%22start%22%3Bthis.info.started%3Dfalse%3Bthis.info.moves%3D%5B%5D%3Bthis.info.x%3D0%3Bthis.info.y%3D0%3Bthis.info.prevent%3Dfalse%3BuntrackDocument(this.info)%7D%2ChasMovedEnough%3Afunction(x%2Cy)%7Bif(this.info.prevent)%7Breturn%20false%7Dif(this.info.started)%7Breturn%20true%7Dvar%20dx%3DMath.abs(this.info.x-x)%3Bvar%20dy%3DMath.abs(this.info.y-y)%3Breturn%20dx%3E%3DTRACK_DISTANCE%7C%7Cdy%3E%3DTRACK_DISTANCE%7D%2Cmousedown%3Afunction(e)%7Bif(!hasLeftMouseButton(e))%7Breturn%7Dvar%20t%3DGestures.findOriginalTarget(e)%3Bvar%20self%3Dthis%3Bvar%20movefn%3Dfunction%20movefn(e)%7Bvar%20x%3De.clientX%2Cy%3De.clientY%3Bif(self.hasMovedEnough(x%2Cy))%7Bself.info.state%3Dself.info.started%3Fe.type%3D%3D%3D%22mouseup%22%3F%22end%22%3A%22track%22%3A%22start%22%3Bself.info.addMove(%7Bx%3Ax%2Cy%3Ay%7D)%3Bif(!hasLeftMouseButton(e))%7Bself.info.state%3D%22end%22%3BuntrackDocument(self.info)%7Dself.fire(t%2Ce)%3Bself.info.started%3Dtrue%7D%7D%3Bvar%20upfn%3Dfunction%20upfn(e)%7Bif(self.info.started)%7BGestures.prevent(%22tap%22)%3Bmovefn(e)%7DuntrackDocument(self.info)%7D%3BtrackDocument(this.info%2Cmovefn%2Cupfn)%3Bthis.info.x%3De.clientX%3Bthis.info.y%3De.clientY%7D%2Ctouchstart%3Afunction(e)%7Bvar%20ct%3De.changedTouches%5B0%5D%3Bthis.info.x%3Dct.clientX%3Bthis.info.y%3Dct.clientY%7D%2Ctouchmove%3Afunction(e)%7Bvar%20t%3DGestures.findOriginalTarget(e)%3Bvar%20ct%3De.changedTouches%5B0%5D%3Bvar%20x%3Dct.clientX%2Cy%3Dct.clientY%3Bif(this.hasMovedEnough(x%2Cy))%7Bthis.info.addMove(%7Bx%3Ax%2Cy%3Ay%7D)%3Bthis.fire(t%2Cct)%3Bthis.info.state%3D%22track%22%3Bthis.info.started%3Dtrue%7D%7D%2Ctouchend%3Afunction(e)%7Bvar%20t%3DGestures.findOriginalTarget(e)%3Bvar%20ct%3De.changedTouches%5B0%5D%3Bif(this.info.started)%7BGestures.prevent(%22tap%22)%3Bthis.info.state%3D%22end%22%3Bthis.info.addMove(%7Bx%3Act.clientX%2Cy%3Act.clientY%7D)%3Bthis.fire(t%2Cct)%7D%7D%2Cfire%3Afunction(target%2Ctouch)%7Bvar%20secondlast%3Dthis.info.moves%5Bthis.info.moves.length-2%5D%3Bvar%20lastmove%3Dthis.info.moves%5Bthis.info.moves.length-1%5D%3Bvar%20dx%3Dlastmove.x-this.info.x%3Bvar%20dy%3Dlastmove.y-this.info.y%3Bvar%20ddx%2Cddy%3D0%3Bif(secondlast)%7Bddx%3Dlastmove.x-secondlast.x%3Bddy%3Dlastmove.y-secondlast.y%7Dreturn%20Gestures.fire(target%2C%22track%22%2C%7Bstate%3Athis.info.state%2Cx%3Atouch.clientX%2Cy%3Atouch.clientY%2Cdx%3Adx%2Cdy%3Ady%2Cddx%3Addx%2Cddy%3Addy%2CsourceEvent%3Atouch%2Chover%3Afunction()%7Breturn%20Gestures.deepTargetFind(touch.clientX%2Ctouch.clientY)%7D%7D)%7D%7D)%3BGestures.register(%7Bname%3A%22tap%22%2Cdeps%3A%5B%22mousedown%22%2C%22click%22%2C%22touchstart%22%2C%22touchend%22%5D%2Cflow%3A%7Bstart%3A%5B%22mousedown%22%2C%22touchstart%22%5D%2Cend%3A%5B%22click%22%2C%22touchend%22%5D%7D%2Cemits%3A%5B%22tap%22%5D%2Cinfo%3A%7Bx%3ANaN%2Cy%3ANaN%2Cprevent%3Afalse%7D%2Creset%3Afunction()%7Bthis.info.x%3DNaN%3Bthis.info.y%3DNaN%3Bthis.info.prevent%3Dfalse%7D%2Csave%3Afunction(e)%7Bthis.info.x%3De.clientX%3Bthis.info.y%3De.clientY%7D%2Cmousedown%3Afunction(e)%7Bif(hasLeftMouseButton(e))%7Bthis.save(e)%7D%7D%2Cclick%3Afunction(e)%7Bif(hasLeftMouseButton(e))%7Bthis.forward(e)%7D%7D%2Ctouchstart%3Afunction(e)%7Bthis.save(e.changedTouches%5B0%5D)%7D%2Ctouchend%3Afunction(e)%7Bthis.forward(e.changedTouches%5B0%5D)%7D%2Cforward%3Afunction(e)%7Bvar%20dx%3DMath.abs(e.clientX-this.info.x)%3Bvar%20dy%3DMath.abs(e.clientY-this.info.y)%3Bvar%20t%3DGestures.findOriginalTarget(e)%3Bif(isNaN(dx)%7C%7CisNaN(dy)%7C%7Cdx%3C%3DTAP_DISTANCE%26%26dy%3C%3DTAP_DISTANCE%7C%7CisSyntheticClick(e))%7Bif(!this.info.prevent)%7BGestures.fire(t%2C%22tap%22%2C%7Bx%3Ae.clientX%2Cy%3Ae.clientY%2CsourceEvent%3Ae%7D)%7D%7D%7D%7D)%3Bvar%20DIRECTION_MAP%3D%7Bx%3A%22pan-x%22%2Cy%3A%22pan-y%22%2Cnone%3A%22none%22%2Call%3A%22auto%22%7D%3BPolymer.Base._addFeature(%7B_setupGestures%3Afunction()%7Bthis.__polymerGestures%3Dnull%7D%2C_listen%3Afunction(node%2CeventName%2Chandler)%7Bif(Gestures.gestures%5BeventName%5D)%7BGestures.add(node%2CeventName%2Chandler)%7Delse%7Bnode.addEventListener(eventName%2Chandler)%7D%7D%2C_unlisten%3Afunction(node%2CeventName%2Chandler)%7Bif(Gestures.gestures%5BeventName%5D)%7BGestures.remove(node%2CeventName%2Chandler)%7Delse%7Bnode.removeEventListener(eventName%2Chandler)%7D%7D%2CsetScrollDirection%3Afunction(direction%2Cnode)%7Bnode%3Dnode%7C%7Cthis%3BGestures.setTouchAction(node%2CDIRECTION_MAP%5Bdirection%5D%7C%7C%22auto%22)%7D%7D)%3BPolymer.Gestures%3DGestures%7D)()%3BPolymer.Base._addFeature(%7B%24%24%3Afunction(slctr)%7Breturn%20Polymer.dom(this.root).querySelector(slctr)%7D%2CtoggleClass%3Afunction(name%2Cbool%2Cnode)%7Bnode%3Dnode%7C%7Cthis%3Bif(arguments.length%3D%3D1)%7Bbool%3D!node.classList.contains(name)%7Dif(bool)%7BPolymer.dom(node).classList.add(name)%7Delse%7BPolymer.dom(node).classList.remove(name)%7D%7D%2CtoggleAttribute%3Afunction(name%2Cbool%2Cnode)%7Bnode%3Dnode%7C%7Cthis%3Bif(arguments.length%3D%3D1)%7Bbool%3D!node.hasAttribute(name)%7Dif(bool)%7BPolymer.dom(node).setAttribute(name%2C%22%22)%7Delse%7BPolymer.dom(node).removeAttribute(name)%7D%7D%2CclassFollows%3Afunction(name%2CtoElement%2CfromElement)%7Bif(fromElement)%7BPolymer.dom(fromElement).classList.remove(name)%7Dif(toElement)%7BPolymer.dom(toElement).classList.add(name)%7D%7D%2CattributeFollows%3Afunction(name%2CtoElement%2CfromElement)%7Bif(fromElement)%7BPolymer.dom(fromElement).removeAttribute(name)%7Dif(toElement)%7BPolymer.dom(toElement).setAttribute(name%2C%22%22)%7D%7D%2CgetEffectiveChildNodes%3Afunction()%7Breturn%20Polymer.dom(this).getEffectiveChildNodes()%7D%2CgetEffectiveChildren%3Afunction()%7Bvar%20list%3DPolymer.dom(this).getEffectiveChildNodes()%3Breturn%20list.filter(function(n)%7Breturn%20n.nodeType%3D%3D%3DNode.ELEMENT_NODE%7D)%7D%2CgetEffectiveTextContent%3Afunction()%7Bvar%20cn%3Dthis.getEffectiveChildNodes()%3Bvar%20tc%3D%5B%5D%3Bfor(var%20i%3D0%2Cc%3Bc%3Dcn%5Bi%5D%3Bi%2B%2B)%7Bif(c.nodeType!%3D%3DNode.COMMENT_NODE)%7Btc.push(Polymer.dom(c).textContent)%7D%7Dreturn%20tc.join(%22%22)%7D%2CqueryEffectiveChildren%3Afunction(slctr)%7Bvar%20e%24%3DPolymer.dom(this).queryDistributedElements(slctr)%3Breturn%20e%24%26%26e%24%5B0%5D%7D%2CqueryAllEffectiveChildren%3Afunction(slctr)%7Breturn%20Polymer.dom(this).queryDistributedElements(slctr)%7D%2CgetContentChildNodes%3Afunction(slctr)%7Bvar%20content%3DPolymer.dom(this.root).querySelector(slctr%7C%7C%22content%22)%3Breturn%20content%3FPolymer.dom(content).getDistributedNodes()%3A%5B%5D%7D%2CgetContentChildren%3Afunction(slctr)%7Breturn%20this.getContentChildNodes(slctr).filter(function(n)%7Breturn%20n.nodeType%3D%3D%3DNode.ELEMENT_NODE%7D)%7D%2Cfire%3Afunction(type%2Cdetail%2Coptions)%7Boptions%3Doptions%7C%7CPolymer.nob%3Bvar%20node%3Doptions.node%7C%7Cthis%3Bvar%20detail%3Ddetail%3D%3D%3Dnull%7C%7Cdetail%3D%3D%3Dundefined%3F%7B%7D%3Adetail%3Bvar%20bubbles%3Doptions.bubbles%3D%3D%3Dundefined%3Ftrue%3Aoptions.bubbles%3Bvar%20cancelable%3DBoolean(options.cancelable)%3Bvar%20useCache%3Doptions._useCache%3Bvar%20event%3Dthis._getEvent(type%2Cbubbles%2Ccancelable%2CuseCache)%3Bevent.detail%3Ddetail%3Bif(useCache)%7Bthis.__eventCache%5Btype%5D%3Dnull%7Dnode.dispatchEvent(event)%3Bif(useCache)%7Bthis.__eventCache%5Btype%5D%3Devent%7Dreturn%20event%7D%2C__eventCache%3A%7B%7D%2C_getEvent%3Afunction(type%2Cbubbles%2Ccancelable%2CuseCache)%7Bvar%20event%3DuseCache%26%26this.__eventCache%5Btype%5D%3Bif(!event%7C%7C(event.bubbles!%3Dbubbles%7C%7Cevent.cancelable!%3Dcancelable))%7Bevent%3Dnew%20Event(type%2C%7Bbubbles%3ABoolean(bubbles)%2Ccancelable%3Acancelable%7D)%7Dreturn%20event%7D%2Casync%3Afunction(callback%2CwaitTime)%7Bvar%20self%3Dthis%3Breturn%20Polymer.Async.run(function()%7Bcallback.call(self)%7D%2CwaitTime)%7D%2CcancelAsync%3Afunction(handle)%7BPolymer.Async.cancel(handle)%7D%2CarrayDelete%3Afunction(path%2Citem)%7Bvar%20index%3Bif(Array.isArray(path))%7Bindex%3Dpath.indexOf(item)%3Bif(index%3E%3D0)%7Breturn%20path.splice(index%2C1)%7D%7Delse%7Bvar%20arr%3Dthis._get(path)%3Bindex%3Darr.indexOf(item)%3Bif(index%3E%3D0)%7Breturn%20this.splice(path%2Cindex%2C1)%7D%7D%7D%2Ctransform%3Afunction(transform%2Cnode)%7Bnode%3Dnode%7C%7Cthis%3Bnode.style.webkitTransform%3Dtransform%3Bnode.style.transform%3Dtransform%7D%2Ctranslate3d%3Afunction(x%2Cy%2Cz%2Cnode)%7Bnode%3Dnode%7C%7Cthis%3Bthis.transform(%22translate3d(%22%2Bx%2B%22%2C%22%2By%2B%22%2C%22%2Bz%2B%22)%22%2Cnode)%7D%2CimportHref%3Afunction(href%2Conload%2Conerror%2CoptAsync)%7Bvar%20l%3Ddocument.createElement(%22link%22)%3Bl.rel%3D%22import%22%3Bl.href%3Dhref%3BoptAsync%3DBoolean(optAsync)%3Bif(optAsync)%7Bl.setAttribute(%22async%22%2C%22%22)%7Dvar%20self%3Dthis%3Bif(onload)%7Bl.onload%3Dfunction(e)%7Breturn%20onload.call(self%2Ce)%7D%7Dif(onerror)%7Bl.onerror%3Dfunction(e)%7Breturn%20onerror.call(self%2Ce)%7D%7Ddocument.head.appendChild(l)%3Breturn%20l%7D%2Ccreate%3Afunction(tag%2Cprops)%7Bvar%20elt%3Ddocument.createElement(tag)%3Bif(props)%7Bfor(var%20n%20in%20props)%7Belt%5Bn%5D%3Dprops%5Bn%5D%7D%7Dreturn%20elt%7D%2CisLightDescendant%3Afunction(node)%7Breturn%20this!%3D%3Dnode%26%26this.contains(node)%26%26Polymer.dom(this).getOwnerRoot()%3D%3D%3DPolymer.dom(node).getOwnerRoot()%7D%2CisLocalDescendant%3Afunction(node)%7Breturn%20this.root%3D%3D%3DPolymer.dom(node).getOwnerRoot()%7D%7D)%3BPolymer.Bind%3D%7B_dataEventCache%3A%7B%7D%2CprepareModel%3Afunction(model)%7BPolymer.Base.mixin(model%2Cthis._modelApi)%7D%2C_modelApi%3A%7B_notifyChange%3Afunction(source%2Cevent%2Cvalue)%7Bvalue%3Dvalue%3D%3D%3Dundefined%3Fthis%5Bsource%5D%3Avalue%3Bevent%3Devent%7C%7CPolymer.CaseMap.camelToDashCase(source)%2B%22-changed%22%3Bthis.fire(event%2C%7Bvalue%3Avalue%7D%2C%7Bbubbles%3Afalse%2Ccancelable%3Afalse%2C_useCache%3Atrue%7D)%7D%2C_propertySetter%3Afunction(property%2Cvalue%2Ceffects%2CfromAbove)%7Bvar%20old%3Dthis.__data__%5Bproperty%5D%3Bif(old!%3D%3Dvalue%26%26(old%3D%3D%3Dold%7C%7Cvalue%3D%3D%3Dvalue))%7Bthis.__data__%5Bproperty%5D%3Dvalue%3Bif(typeof%20value%3D%3D%22object%22)%7Bthis._clearPath(property)%7Dif(this._propertyChanged)%7Bthis._propertyChanged(property%2Cvalue%2Cold)%7Dif(effects)%7Bthis._effectEffects(property%2Cvalue%2Ceffects%2Cold%2CfromAbove)%7D%7Dreturn%20old%7D%2C__setProperty%3Afunction(property%2Cvalue%2Cquiet%2Cnode)%7Bnode%3Dnode%7C%7Cthis%3Bvar%20effects%3Dnode._propertyEffects%26%26node._propertyEffects%5Bproperty%5D%3Bif(effects)%7Bnode._propertySetter(property%2Cvalue%2Ceffects%2Cquiet)%7Delse%7Bnode%5Bproperty%5D%3Dvalue%7D%7D%2C_effectEffects%3Afunction(property%2Cvalue%2Ceffects%2Cold%2CfromAbove)%7Bfor(var%20i%3D0%2Cl%3Deffects.length%2Cfx%3Bi%3Cl%26%26(fx%3Deffects%5Bi%5D)%3Bi%2B%2B)%7Bfx.fn.call(this%2Cproperty%2Cvalue%2Cfx.effect%2Cold%2CfromAbove)%7D%7D%2C_clearPath%3Afunction(path)%7Bfor(var%20prop%20in%20this.__data__)%7Bif(prop.indexOf(path%2B%22.%22)%3D%3D%3D0)%7Bthis.__data__%5Bprop%5D%3Dundefined%7D%7D%7D%7D%2CensurePropertyEffects%3Afunction(model%2Cproperty)%7Bif(!model._propertyEffects)%7Bmodel._propertyEffects%3D%7B%7D%7Dvar%20fx%3Dmodel._propertyEffects%5Bproperty%5D%3Bif(!fx)%7Bfx%3Dmodel._propertyEffects%5Bproperty%5D%3D%5B%5D%7Dreturn%20fx%7D%2CaddPropertyEffect%3Afunction(model%2Cproperty%2Ckind%2Ceffect)%7Bvar%20fx%3Dthis.ensurePropertyEffects(model%2Cproperty)%3Bvar%20propEffect%3D%7Bkind%3Akind%2Ceffect%3Aeffect%2Cfn%3APolymer.Bind%5B%22_%22%2Bkind%2B%22Effect%22%5D%7D%3Bfx.push(propEffect)%3Breturn%20propEffect%7D%2CcreateBindings%3Afunction(model)%7Bvar%20fx%24%3Dmodel._propertyEffects%3Bif(fx%24)%7Bfor(var%20n%20in%20fx%24)%7Bvar%20fx%3Dfx%24%5Bn%5D%3Bfx.sort(this._sortPropertyEffects)%3Bthis._createAccessors(model%2Cn%2Cfx)%7D%7D%7D%2C_sortPropertyEffects%3Afunction()%7Bvar%20EFFECT_ORDER%3D%7Bcompute%3A0%2Cannotation%3A1%2CcomputedAnnotation%3A2%2Creflect%3A3%2Cnotify%3A4%2Cobserver%3A5%2CcomplexObserver%3A6%2C%22function%22%3A7%7D%3Breturn%20function(a%2Cb)%7Breturn%20EFFECT_ORDER%5Ba.kind%5D-EFFECT_ORDER%5Bb.kind%5D%7D%7D()%2C_createAccessors%3Afunction(model%2Cproperty%2Ceffects)%7Bvar%20defun%3D%7Bget%3Afunction()%7Breturn%20this.__data__%5Bproperty%5D%7D%7D%3Bvar%20setter%3Dfunction(value)%7Bthis._propertySetter(property%2Cvalue%2Ceffects)%7D%3Bvar%20info%3Dmodel.getPropertyInfo%26%26model.getPropertyInfo(property)%3Bif(info%26%26info.readOnly)%7Bif(!info.computed)%7Bmodel%5B%22_set%22%2Bthis.upper(property)%5D%3Dsetter%7D%7Delse%7Bdefun.set%3Dsetter%7DObject.defineProperty(model%2Cproperty%2Cdefun)%7D%2Cupper%3Afunction(name)%7Breturn%20name%5B0%5D.toUpperCase()%2Bname.substring(1)%7D%2C_addAnnotatedListener%3Afunction(model%2Cindex%2Cproperty%2Cpath%2Cevent)%7Bif(!model._bindListeners)%7Bmodel._bindListeners%3D%5B%5D%7Dvar%20fn%3Dthis._notedListenerFactory(property%2Cpath%2Cthis._isStructured(path))%3Bvar%20eventName%3Devent%7C%7CPolymer.CaseMap.camelToDashCase(property)%2B%22-changed%22%3Bmodel._bindListeners.push(%7Bindex%3Aindex%2Cproperty%3Aproperty%2Cpath%3Apath%2CchangedFn%3Afn%2Cevent%3AeventName%7D)%7D%2C_isStructured%3Afunction(path)%7Breturn%20path.indexOf(%22.%22)%3E0%7D%2C_isEventBogus%3Afunction(e%2Ctarget)%7Breturn%20e.path%26%26e.path%5B0%5D!%3D%3Dtarget%7D%2C_notedListenerFactory%3Afunction(property%2Cpath%2CisStructured)%7Breturn%20function(target%2Cvalue%2CtargetPath)%7Bif(targetPath)%7Bthis._notifyPath(this._fixPath(path%2Cproperty%2CtargetPath)%2Cvalue)%7Delse%7Bvalue%3Dtarget%5Bproperty%5D%3Bif(!isStructured)%7Bthis%5Bpath%5D%3Dvalue%7Delse%7Bif(this.__data__%5Bpath%5D!%3Dvalue)%7Bthis.set(path%2Cvalue)%7D%7D%7D%7D%7D%2CprepareInstance%3Afunction(inst)%7Binst.__data__%3DObject.create(null)%7D%2CsetupBindListeners%3Afunction(inst)%7Bvar%20b%24%3Dinst._bindListeners%3Bfor(var%20i%3D0%2Cl%3Db%24.length%2Cinfo%3Bi%3Cl%26%26(info%3Db%24%5Bi%5D)%3Bi%2B%2B)%7Bvar%20node%3Dinst._nodes%5Binfo.index%5D%3Bthis._addNotifyListener(node%2Cinst%2Cinfo.event%2Cinfo.changedFn)%7D%7D%2C_addNotifyListener%3Afunction(element%2Ccontext%2Cevent%2CchangedFn)%7Belement.addEventListener(event%2Cfunction(e)%7Breturn%20context._notifyListener(changedFn%2Ce)%7D)%7D%7D%3BPolymer.Base.extend(Polymer.Bind%2C%7B_shouldAddListener%3Afunction(effect)%7Breturn%20effect.name%26%26effect.kind!%3D%22attribute%22%26%26effect.kind!%3D%22text%22%26%26!effect.isCompound%26%26effect.parts%5B0%5D.mode%3D%3D%3D%22%7B%22%26%26!effect.parts%5B0%5D.negate%7D%2C_annotationEffect%3Afunction(source%2Cvalue%2Ceffect)%7Bif(source!%3Deffect.value)%7Bvalue%3Dthis._get(effect.value)%3Bthis.__data__%5Beffect.value%5D%3Dvalue%7Dvar%20calc%3Deffect.negate%3F!value%3Avalue%3Bif(!effect.customEvent%7C%7Cthis._nodes%5Beffect.index%5D%5Beffect.name%5D!%3D%3Dcalc)%7Breturn%20this._applyEffectValue(effect%2Ccalc)%7D%7D%2C_reflectEffect%3Afunction(source%2Cvalue%2Ceffect)%7Bthis.reflectPropertyToAttribute(source%2Ceffect.attribute%2Cvalue)%7D%2C_notifyEffect%3Afunction(source%2Cvalue%2Ceffect%2Cold%2CfromAbove)%7Bif(!fromAbove)%7Bthis._notifyChange(source%2Ceffect.event%2Cvalue)%7D%7D%2C_functionEffect%3Afunction(source%2Cvalue%2Cfn%2Cold%2CfromAbove)%7Bfn.call(this%2Csource%2Cvalue%2Cold%2CfromAbove)%7D%2C_observerEffect%3Afunction(source%2Cvalue%2Ceffect%2Cold)%7Bvar%20fn%3Dthis%5Beffect.method%5D%3Bif(fn)%7Bfn.call(this%2Cvalue%2Cold)%7Delse%7Bthis._warn(this._logf(%22_observerEffect%22%2C%22observer%20method%20%60%22%2Beffect.method%2B%22%60%20not%20defined%22))%7D%7D%2C_complexObserverEffect%3Afunction(source%2Cvalue%2Ceffect)%7Bvar%20fn%3Dthis%5Beffect.method%5D%3Bif(fn)%7Bvar%20args%3DPolymer.Bind._marshalArgs(this.__data__%2Ceffect%2Csource%2Cvalue)%3Bif(args)%7Bfn.apply(this%2Cargs)%7D%7Delse%7Bthis._warn(this._logf(%22_complexObserverEffect%22%2C%22observer%20method%20%60%22%2Beffect.method%2B%22%60%20not%20defined%22))%7D%7D%2C_computeEffect%3Afunction(source%2Cvalue%2Ceffect)%7Bvar%20args%3DPolymer.Bind._marshalArgs(this.__data__%2Ceffect%2Csource%2Cvalue)%3Bif(args)%7Bvar%20fn%3Dthis%5Beffect.method%5D%3Bif(fn)%7Bthis.__setProperty(effect.name%2Cfn.apply(this%2Cargs))%3B%0A%7Delse%7Bthis._warn(this._logf(%22_computeEffect%22%2C%22compute%20method%20%60%22%2Beffect.method%2B%22%60%20not%20defined%22))%7D%7D%7D%2C_annotatedComputationEffect%3Afunction(source%2Cvalue%2Ceffect)%7Bvar%20computedHost%3Dthis._rootDataHost%7C%7Cthis%3Bvar%20fn%3DcomputedHost%5Beffect.method%5D%3Bif(fn)%7Bvar%20args%3DPolymer.Bind._marshalArgs(this.__data__%2Ceffect%2Csource%2Cvalue)%3Bif(args)%7Bvar%20computedvalue%3Dfn.apply(computedHost%2Cargs)%3Bif(effect.negate)%7Bcomputedvalue%3D!computedvalue%7Dthis._applyEffectValue(effect%2Ccomputedvalue)%7D%7Delse%7BcomputedHost._warn(computedHost._logf(%22_annotatedComputationEffect%22%2C%22compute%20method%20%60%22%2Beffect.method%2B%22%60%20not%20defined%22))%7D%7D%2C_marshalArgs%3Afunction(model%2Ceffect%2Cpath%2Cvalue)%7Bvar%20values%3D%5B%5D%3Bvar%20args%3Deffect.args%3Bfor(var%20i%3D0%2Cl%3Dargs.length%3Bi%3Cl%3Bi%2B%2B)%7Bvar%20arg%3Dargs%5Bi%5D%3Bvar%20name%3Darg.name%3Bvar%20v%3Bif(arg.literal)%7Bv%3Darg.value%7Delse%20if(arg.structured)%7Bv%3DPolymer.Base._get(name%2Cmodel)%7Delse%7Bv%3Dmodel%5Bname%5D%7Dif(args.length%3E1%26%26v%3D%3D%3Dundefined)%7Breturn%7Dif(arg.wildcard)%7Bvar%20baseChanged%3Dname.indexOf(path%2B%22.%22)%3D%3D%3D0%3Bvar%20matches%3Deffect.trigger.name.indexOf(name)%3D%3D%3D0%26%26!baseChanged%3Bvalues%5Bi%5D%3D%7Bpath%3Amatches%3Fpath%3Aname%2Cvalue%3Amatches%3Fvalue%3Av%2Cbase%3Av%7D%7Delse%7Bvalues%5Bi%5D%3Dv%7D%7Dreturn%20values%7D%7D)%3BPolymer.Base._addFeature(%7B_addPropertyEffect%3Afunction(property%2Ckind%2Ceffect)%7Bvar%20prop%3DPolymer.Bind.addPropertyEffect(this%2Cproperty%2Ckind%2Ceffect)%3Bprop.pathFn%3Dthis%5B%22_%22%2Bprop.kind%2B%22PathEffect%22%5D%7D%2C_prepEffects%3Afunction()%7BPolymer.Bind.prepareModel(this)%3Bthis._addAnnotationEffects(this._notes)%7D%2C_prepBindings%3Afunction()%7BPolymer.Bind.createBindings(this)%7D%2C_addPropertyEffects%3Afunction(properties)%7Bif(properties)%7Bfor(var%20p%20in%20properties)%7Bvar%20prop%3Dproperties%5Bp%5D%3Bif(prop.observer)%7Bthis._addObserverEffect(p%2Cprop.observer)%7Dif(prop.computed)%7Bprop.readOnly%3Dtrue%3Bthis._addComputedEffect(p%2Cprop.computed)%7Dif(prop.notify)%7Bthis._addPropertyEffect(p%2C%22notify%22%2C%7Bevent%3APolymer.CaseMap.camelToDashCase(p)%2B%22-changed%22%7D)%7Dif(prop.reflectToAttribute)%7Bthis._addPropertyEffect(p%2C%22reflect%22%2C%7Battribute%3APolymer.CaseMap.camelToDashCase(p)%7D)%7Dif(prop.readOnly)%7BPolymer.Bind.ensurePropertyEffects(this%2Cp)%7D%7D%7D%7D%2C_addComputedEffect%3Afunction(name%2Cexpression)%7Bvar%20sig%3Dthis._parseMethod(expression)%3Bfor(var%20i%3D0%2Carg%3Bi%3Csig.args.length%26%26(arg%3Dsig.args%5Bi%5D)%3Bi%2B%2B)%7Bthis._addPropertyEffect(arg.model%2C%22compute%22%2C%7Bmethod%3Asig.method%2Cargs%3Asig.args%2Ctrigger%3Aarg%2Cname%3Aname%7D)%7D%7D%2C_addObserverEffect%3Afunction(property%2Cobserver)%7Bthis._addPropertyEffect(property%2C%22observer%22%2C%7Bmethod%3Aobserver%2Cproperty%3Aproperty%7D)%7D%2C_addComplexObserverEffects%3Afunction(observers)%7Bif(observers)%7Bfor(var%20i%3D0%2Co%3Bi%3Cobservers.length%26%26(o%3Dobservers%5Bi%5D)%3Bi%2B%2B)%7Bthis._addComplexObserverEffect(o)%7D%7D%7D%2C_addComplexObserverEffect%3Afunction(observer)%7Bvar%20sig%3Dthis._parseMethod(observer)%3Bif(!sig)%7Bthrow%20new%20Error(%22Malformed%20observer%20expression%20'%22%2Bobserver%2B%22'%22)%7Dfor(var%20i%3D0%2Carg%3Bi%3Csig.args.length%26%26(arg%3Dsig.args%5Bi%5D)%3Bi%2B%2B)%7Bthis._addPropertyEffect(arg.model%2C%22complexObserver%22%2C%7Bmethod%3Asig.method%2Cargs%3Asig.args%2Ctrigger%3Aarg%7D)%7D%7D%2C_addAnnotationEffects%3Afunction(notes)%7Bfor(var%20i%3D0%2Cnote%3Bi%3Cnotes.length%26%26(note%3Dnotes%5Bi%5D)%3Bi%2B%2B)%7Bvar%20b%24%3Dnote.bindings%3Bfor(var%20j%3D0%2Cbinding%3Bj%3Cb%24.length%26%26(binding%3Db%24%5Bj%5D)%3Bj%2B%2B)%7Bthis._addAnnotationEffect(binding%2Ci)%7D%7D%7D%2C_addAnnotationEffect%3Afunction(note%2Cindex)%7Bif(Polymer.Bind._shouldAddListener(note))%7BPolymer.Bind._addAnnotatedListener(this%2Cindex%2Cnote.name%2Cnote.parts%5B0%5D.value%2Cnote.parts%5B0%5D.event)%7Dfor(var%20i%3D0%3Bi%3Cnote.parts.length%3Bi%2B%2B)%7Bvar%20part%3Dnote.parts%5Bi%5D%3Bif(part.signature)%7Bthis._addAnnotatedComputationEffect(note%2Cpart%2Cindex)%7Delse%20if(!part.literal)%7Bthis._addPropertyEffect(part.model%2C%22annotation%22%2C%7Bkind%3Anote.kind%2Cindex%3Aindex%2Cname%3Anote.name%2Cvalue%3Apart.value%2CisCompound%3Anote.isCompound%2CcompoundIndex%3Apart.compoundIndex%2Cevent%3Apart.event%2CcustomEvent%3Apart.customEvent%2Cnegate%3Apart.negate%7D)%7D%7D%7D%2C_addAnnotatedComputationEffect%3Afunction(note%2Cpart%2Cindex)%7Bvar%20sig%3Dpart.signature%3Bif(sig.static)%7Bthis.__addAnnotatedComputationEffect(%22__static__%22%2Cindex%2Cnote%2Cpart%2Cnull)%7Delse%7Bfor(var%20i%3D0%2Carg%3Bi%3Csig.args.length%26%26(arg%3Dsig.args%5Bi%5D)%3Bi%2B%2B)%7Bif(!arg.literal)%7Bthis.__addAnnotatedComputationEffect(arg.model%2Cindex%2Cnote%2Cpart%2Carg)%7D%7D%7D%7D%2C__addAnnotatedComputationEffect%3Afunction(property%2Cindex%2Cnote%2Cpart%2Ctrigger)%7Bthis._addPropertyEffect(property%2C%22annotatedComputation%22%2C%7Bindex%3Aindex%2CisCompound%3Anote.isCompound%2CcompoundIndex%3Apart.compoundIndex%2Ckind%3Anote.kind%2Cname%3Anote.name%2Cnegate%3Apart.negate%2Cmethod%3Apart.signature.method%2Cargs%3Apart.signature.args%2Ctrigger%3Atrigger%7D)%7D%2C_parseMethod%3Afunction(expression)%7Bvar%20m%3Dexpression.match(%2F(%5B%5E%5Cs%5D%2B%3F)%5C((.*)%5C)%2F)%3Bif(m)%7Bvar%20sig%3D%7Bmethod%3Am%5B1%5D%2C%22static%22%3Atrue%7D%3Bif(m%5B2%5D.trim())%7Bvar%20args%3Dm%5B2%5D.replace(%2F%5C%5C%2C%2Fg%2C%22%26comma%3B%22).split(%22%2C%22)%3Breturn%20this._parseArgs(args%2Csig)%7Delse%7Bsig.args%3DPolymer.nar%3Breturn%20sig%7D%7D%7D%2C_parseArgs%3Afunction(argList%2Csig)%7Bsig.args%3DargList.map(function(rawArg)%7Bvar%20arg%3Dthis._parseArg(rawArg)%3Bif(!arg.literal)%7Bsig.static%3Dfalse%7Dreturn%20arg%7D%2Cthis)%3Breturn%20sig%7D%2C_parseArg%3Afunction(rawArg)%7Bvar%20arg%3DrawArg.trim().replace(%2F%26comma%3B%2Fg%2C%22%2C%22).replace(%2F%5C%5C(.)%2Fg%2C%22%241%22)%3Bvar%20a%3D%7Bname%3Aarg%7D%3Bvar%20fc%3Darg%5B0%5D%3Bif(fc%3D%3D%3D%22-%22)%7Bfc%3Darg%5B1%5D%7Dif(fc%3E%3D%220%22%26%26fc%3C%3D%229%22)%7Bfc%3D%22%23%22%7Dswitch(fc)%7Bcase%22'%22%3Acase'%22'%3Aa.value%3Darg.slice(1%2C-1)%3Ba.literal%3Dtrue%3Bbreak%3Bcase%22%23%22%3Aa.value%3DNumber(arg)%3Ba.literal%3Dtrue%3Bbreak%7Dif(!a.literal)%7Ba.model%3Dthis._modelForPath(arg)%3Ba.structured%3Darg.indexOf(%22.%22)%3E0%3Bif(a.structured)%7Ba.wildcard%3Darg.slice(-2)%3D%3D%22.*%22%3Bif(a.wildcard)%7Ba.name%3Darg.slice(0%2C-2)%7D%7D%7Dreturn%20a%7D%2C_marshalInstanceEffects%3Afunction()%7BPolymer.Bind.prepareInstance(this)%3Bif(this._bindListeners)%7BPolymer.Bind.setupBindListeners(this)%7D%7D%2C_applyEffectValue%3Afunction(info%2Cvalue)%7Bvar%20node%3Dthis._nodes%5Binfo.index%5D%3Bvar%20property%3Dinfo.name%3Bif(info.isCompound)%7Bvar%20storage%3Dnode.__compoundStorage__%5Bproperty%5D%3Bstorage%5Binfo.compoundIndex%5D%3Dvalue%3Bvalue%3Dstorage.join(%22%22)%7Dif(info.kind%3D%3D%22attribute%22)%7Bthis.serializeValueToAttribute(value%2Cproperty%2Cnode)%7Delse%7Bif(property%3D%3D%3D%22className%22)%7Bvalue%3Dthis._scopeElementClass(node%2Cvalue)%7Dif(property%3D%3D%3D%22textContent%22%7C%7Cnode.localName%3D%3D%22input%22%26%26property%3D%3D%22value%22)%7Bvalue%3Dvalue%3D%3Dundefined%3F%22%22%3Avalue%7Dvar%20pinfo%3Bif(!node._propertyInfo%7C%7C!(pinfo%3Dnode._propertyInfo%5Bproperty%5D)%7C%7C!pinfo.readOnly)%7Bthis.__setProperty(property%2Cvalue%2Cfalse%2Cnode)%7D%7D%7D%2C_executeStaticEffects%3Afunction()%7Bif(this._propertyEffects%26%26this._propertyEffects.__static__)%7Bthis._effectEffects(%22__static__%22%2Cnull%2Cthis._propertyEffects.__static__)%7D%7D%7D)%3BPolymer.Base._addFeature(%7B_setupConfigure%3Afunction(initialConfig)%7Bthis._config%3D%7B%7D%3Bthis._handlers%3D%5B%5D%3Bthis._aboveConfig%3Dnull%3Bif(initialConfig)%7Bfor(var%20i%20in%20initialConfig)%7Bif(initialConfig%5Bi%5D!%3D%3Dundefined)%7Bthis._config%5Bi%5D%3DinitialConfig%5Bi%5D%7D%7D%7D%7D%2C_marshalAttributes%3Afunction()%7Bthis._takeAttributesToModel(this._config)%7D%2C_attributeChangedImpl%3Afunction(name)%7Bvar%20model%3Dthis._clientsReadied%3Fthis%3Athis._config%3Bthis._setAttributeToProperty(model%2Cname)%7D%2C_configValue%3Afunction(name%2Cvalue)%7Bvar%20info%3Dthis._propertyInfo%5Bname%5D%3Bif(!info%7C%7C!info.readOnly)%7Bthis._config%5Bname%5D%3Dvalue%7D%7D%2C_beforeClientsReady%3Afunction()%7Bthis._configure()%7D%2C_configure%3Afunction()%7Bthis._configureAnnotationReferences()%3Bthis._aboveConfig%3Dthis.mixin(%7B%7D%2Cthis._config)%3Bvar%20config%3D%7B%7D%3Bfor(var%20i%3D0%3Bi%3Cthis.behaviors.length%3Bi%2B%2B)%7Bthis._configureProperties(this.behaviors%5Bi%5D.properties%2Cconfig)%7Dthis._configureProperties(this.properties%2Cconfig)%3Bthis.mixin(config%2Cthis._aboveConfig)%3Bthis._config%3Dconfig%3Bif(this._clients%26%26this._clients.length)%7Bthis._distributeConfig(this._config)%7D%7D%2C_configureProperties%3Afunction(properties%2Cconfig)%7Bfor(var%20i%20in%20properties)%7Bvar%20c%3Dproperties%5Bi%5D%3Bif(c.value!%3D%3Dundefined)%7Bvar%20value%3Dc.value%3Bif(typeof%20value%3D%3D%22function%22)%7Bvalue%3Dvalue.call(this%2Cthis._config)%7Dconfig%5Bi%5D%3Dvalue%7D%7D%7D%2C_distributeConfig%3Afunction(config)%7Bvar%20fx%24%3Dthis._propertyEffects%3Bif(fx%24)%7Bfor(var%20p%20in%20config)%7Bvar%20fx%3Dfx%24%5Bp%5D%3Bif(fx)%7Bfor(var%20i%3D0%2Cl%3Dfx.length%2Cx%3Bi%3Cl%26%26(x%3Dfx%5Bi%5D)%3Bi%2B%2B)%7Bif(x.kind%3D%3D%3D%22annotation%22%26%26!x.isCompound)%7Bvar%20node%3Dthis._nodes%5Bx.effect.index%5D%3Bif(node._configValue)%7Bvar%20value%3Dp%3D%3D%3Dx.effect.value%3Fconfig%5Bp%5D%3Athis._get(x.effect.value%2Cconfig)%3Bnode._configValue(x.effect.name%2Cvalue)%7D%7D%7D%7D%7D%7D%7D%2C_afterClientsReady%3Afunction()%7Bthis._executeStaticEffects()%3Bthis._applyConfig(this._config%2Cthis._aboveConfig)%3Bthis._flushHandlers()%7D%2C_applyConfig%3Afunction(config%2CaboveConfig)%7Bfor(var%20n%20in%20config)%7Bif(this%5Bn%5D%3D%3D%3Dundefined)%7Bthis.__setProperty(n%2Cconfig%5Bn%5D%2Cn%20in%20aboveConfig)%7D%7D%7D%2C_notifyListener%3Afunction(fn%2Ce)%7Bif(!Polymer.Bind._isEventBogus(e%2Ce.target))%7Bvar%20value%2Cpath%3Bif(e.detail)%7Bvalue%3De.detail.value%3Bpath%3De.detail.path%7Dif(!this._clientsReadied)%7Bthis._queueHandler(%5Bfn%2Ce.target%2Cvalue%2Cpath%5D)%7Delse%7Breturn%20fn.call(this%2Ce.target%2Cvalue%2Cpath)%7D%7D%7D%2C_queueHandler%3Afunction(args)%7Bthis._handlers.push(args)%7D%2C_flushHandlers%3Afunction()%7Bvar%20h%24%3Dthis._handlers%3Bfor(var%20i%3D0%2Cl%3Dh%24.length%2Ch%3Bi%3Cl%26%26(h%3Dh%24%5Bi%5D)%3Bi%2B%2B)%7Bh%5B0%5D.call(this%2Ch%5B1%5D%2Ch%5B2%5D%2Ch%5B3%5D)%7Dthis._handlers%3D%5B%5D%7D%7D)%3B(function()%7B%22use%20strict%22%3BPolymer.Base._addFeature(%7BnotifyPath%3Afunction(path%2Cvalue%2CfromAbove)%7Bvar%20info%3D%7B%7D%3Bthis._get(path%2Cthis%2Cinfo)%3Bif(info.path)%7Bthis._notifyPath(info.path%2Cvalue%2CfromAbove)%7D%7D%2C_notifyPath%3Afunction(path%2Cvalue%2CfromAbove)%7Bvar%20old%3Dthis._propertySetter(path%2Cvalue)%3Bif(old!%3D%3Dvalue%26%26(old%3D%3D%3Dold%7C%7Cvalue%3D%3D%3Dvalue))%7Bthis._pathEffector(path%2Cvalue)%3Bif(!fromAbove)%7Bthis._notifyPathUp(path%2Cvalue)%7Dreturn%20true%7D%7D%2C_getPathParts%3Afunction(path)%7Bif(Array.isArray(path))%7Bvar%20parts%3D%5B%5D%3Bfor(var%20i%3D0%3Bi%3Cpath.length%3Bi%2B%2B)%7Bvar%20args%3Dpath%5Bi%5D.toString().split(%22.%22)%3Bfor(var%20j%3D0%3Bj%3Cargs.length%3Bj%2B%2B)%7Bparts.push(args%5Bj%5D)%7D%7Dreturn%20parts%7Delse%7Breturn%20path.toString().split(%22.%22)%7D%7D%2Cset%3Afunction(path%2Cvalue%2Croot)%7Bvar%20prop%3Droot%7C%7Cthis%3Bvar%20parts%3Dthis._getPathParts(path)%3Bvar%20array%3Bvar%20last%3Dparts%5Bparts.length-1%5D%3Bif(parts.length%3E1)%7Bfor(var%20i%3D0%3Bi%3Cparts.length-1%3Bi%2B%2B)%7Bvar%20part%3Dparts%5Bi%5D%3Bif(array%26%26part%5B0%5D%3D%3D%22%23%22)%7Bprop%3DPolymer.Collection.get(array).getItem(part)%7Delse%7Bprop%3Dprop%5Bpart%5D%3Bif(array%26%26parseInt(part%2C10)%3D%3Dpart)%7Bparts%5Bi%5D%3DPolymer.Collection.get(array).getKey(prop)%7D%7Dif(!prop)%7Breturn%7Darray%3DArray.isArray(prop)%3Fprop%3Anull%7Dif(array)%7Bvar%20coll%3DPolymer.Collection.get(array)%3Bif(last%5B0%5D%3D%3D%22%23%22)%7Bvar%20key%3Dlast%3Bvar%20old%3Dcoll.getItem(key)%3Blast%3Darray.indexOf(old)%3Bcoll.setItem(key%2Cvalue)%7Delse%20if(parseInt(last%2C10)%3D%3Dlast)%7Bvar%20old%3Dprop%5Blast%5D%3Bvar%20key%3Dcoll.getKey(old)%3Bparts%5Bi%5D%3Dkey%3Bcoll.setItem(key%2Cvalue)%7D%7Dprop%5Blast%5D%3Dvalue%3Bif(!root)%7Bthis._notifyPath(parts.join(%22.%22)%2Cvalue)%7D%7Delse%7Bprop%5Bpath%5D%3Dvalue%7D%7D%2Cget%3Afunction(path%2Croot)%7Breturn%20this._get(path%2Croot)%7D%2C_get%3Afunction(path%2Croot%2Cinfo)%7Bvar%20prop%3Droot%7C%7Cthis%3Bvar%20parts%3Dthis._getPathParts(path)%3Bvar%20array%3Bfor(var%20i%3D0%3Bi%3Cparts.length%3Bi%2B%2B)%7Bif(!prop)%7Breturn%7Dvar%20part%3Dparts%5Bi%5D%3Bif(array%26%26part%5B0%5D%3D%3D%22%23%22)%7Bprop%3DPolymer.Collection.get(array).getItem(part)%7Delse%7Bprop%3Dprop%5Bpart%5D%3Bif(info%26%26array%26%26parseInt(part%2C10)%3D%3Dpart)%7Bparts%5Bi%5D%3DPolymer.Collection.get(array).getKey(prop)%7D%7Darray%3DArray.isArray(prop)%3Fprop%3Anull%7Dif(info)%7Binfo.path%3Dparts.join(%22.%22)%7Dreturn%20prop%7D%2C_pathEffector%3Afunction(path%2Cvalue)%7Bvar%20model%3Dthis._modelForPath(path)%3Bvar%20fx%24%3Dthis._propertyEffects%26%26this._propertyEffects%5Bmodel%5D%3Bif(fx%24)%7Bfor(var%20i%3D0%2Cfx%3Bi%3Cfx%24.length%26%26(fx%3Dfx%24%5Bi%5D)%3Bi%2B%2B)%7Bvar%20fxFn%3Dfx.pathFn%3Bif(fxFn)%7BfxFn.call(this%2Cpath%2Cvalue%2Cfx.effect)%7D%7D%7Dif(this._boundPaths)%7Bthis._notifyBoundPaths(path%2Cvalue)%7D%7D%2C_annotationPathEffect%3Afunction(path%2Cvalue%2Ceffect)%7Bif(effect.value%3D%3D%3Dpath%7C%7Ceffect.value.indexOf(path%2B%22.%22)%3D%3D%3D0)%7BPolymer.Bind._annotationEffect.call(this%2Cpath%2Cvalue%2Ceffect)%7Delse%20if(path.indexOf(effect.value%2B%22.%22)%3D%3D%3D0%26%26!effect.negate)%7Bvar%20node%3Dthis._nodes%5Beffect.index%5D%3Bif(node%26%26node._notifyPath)%7Bvar%20p%3Dthis._fixPath(effect.name%2Ceffect.value%2Cpath)%3Bnode._notifyPath(p%2Cvalue%2Ctrue)%7D%7D%7D%2C_complexObserverPathEffect%3Afunction(path%2Cvalue%2Ceffect)%7Bif(this._pathMatchesEffect(path%2Ceffect))%7BPolymer.Bind._complexObserverEffect.call(this%2Cpath%2Cvalue%2Ceffect)%7D%7D%2C_computePathEffect%3Afunction(path%2Cvalue%2Ceffect)%7Bif(this._pathMatchesEffect(path%2Ceffect))%7BPolymer.Bind._computeEffect.call(this%2Cpath%2Cvalue%2Ceffect)%7D%7D%2C_annotatedComputationPathEffect%3Afunction(path%2Cvalue%2Ceffect)%7Bif(this._pathMatchesEffect(path%2Ceffect))%7BPolymer.Bind._annotatedComputationEffect.call(this%2Cpath%2Cvalue%2Ceffect)%7D%7D%2C_pathMatchesEffect%3Afunction(path%2Ceffect)%7Bvar%20effectArg%3Deffect.trigger.name%3Breturn%20effectArg%3D%3Dpath%7C%7CeffectArg.indexOf(path%2B%22.%22)%3D%3D%3D0%7C%7Ceffect.trigger.wildcard%26%26path.indexOf(effectArg)%3D%3D%3D0%7D%2ClinkPaths%3Afunction(to%2Cfrom)%7Bthis._boundPaths%3Dthis._boundPaths%7C%7C%7B%7D%3Bif(from)%7Bthis._boundPaths%5Bto%5D%3Dfrom%7Delse%7Bthis.unlinkPaths(to)%7D%7D%2CunlinkPaths%3Afunction(path)%7Bif(this._boundPaths)%7Bdelete%20this._boundPaths%5Bpath%5D%7D%7D%2C_notifyBoundPaths%3Afunction(path%2Cvalue)%7Bfor(var%20a%20in%20this._boundPaths)%7Bvar%20b%3Dthis._boundPaths%5Ba%5D%3Bif(path.indexOf(a%2B%22.%22)%3D%3D0)%7Bthis._notifyPath(this._fixPath(b%2Ca%2Cpath)%2Cvalue)%7Delse%20if(path.indexOf(b%2B%22.%22)%3D%3D0)%7Bthis._notifyPath(this._fixPath(a%2Cb%2Cpath)%2Cvalue)%7D%7D%7D%2C_fixPath%3Afunction(property%2Croot%2Cpath)%7Breturn%20property%2Bpath.slice(root.length)%7D%2C_notifyPathUp%3Afunction(path%2Cvalue)%7Bvar%20rootName%3Dthis._modelForPath(path)%3Bvar%20dashCaseName%3DPolymer.CaseMap.camelToDashCase(rootName)%3Bvar%20eventName%3DdashCaseName%2Bthis._EVENT_CHANGED%3Bthis.fire(eventName%2C%7Bpath%3Apath%2Cvalue%3Avalue%7D%2C%7Bbubbles%3Afalse%2C_useCache%3Atrue%7D)%7D%2C_modelForPath%3Afunction(path)%7Bvar%20dot%3Dpath.indexOf(%22.%22)%3Breturn%20dot%3C0%3Fpath%3Apath.slice(0%2Cdot)%7D%2C_EVENT_CHANGED%3A%22-changed%22%2CnotifySplices%3Afunction(path%2Csplices)%7Bvar%20info%3D%7B%7D%3Bvar%20array%3Dthis._get(path%2Cthis%2Cinfo)%3Bthis._notifySplices(array%2Cinfo.path%2Csplices)%7D%2C_notifySplices%3Afunction(array%2Cpath%2Csplices)%7Bvar%20change%3D%7BkeySplices%3APolymer.Collection.applySplices(array%2Csplices)%2CindexSplices%3Asplices%7D%3Bif(!array.hasOwnProperty(%22splices%22))%7BObject.defineProperty(array%2C%22splices%22%2C%7Bconfigurable%3Atrue%2Cwritable%3Atrue%7D)%7Darray.splices%3Dchange%3Bthis._notifyPath(path%2B%22.splices%22%2Cchange)%3Bthis._notifyPath(path%2B%22.length%22%2Carray.length)%3Bchange.keySplices%3Dnull%3Bchange.indexSplices%3Dnull%7D%2C_notifySplice%3Afunction(array%2Cpath%2Cindex%2Cadded%2Cremoved)%7Bthis._notifySplices(array%2Cpath%2C%5B%7Bindex%3Aindex%2CaddedCount%3Aadded%2Cremoved%3Aremoved%2Cobject%3Aarray%2Ctype%3A%22splice%22%7D%5D)%7D%2Cpush%3Afunction(path)%7Bvar%20info%3D%7B%7D%3Bvar%20array%3Dthis._get(path%2Cthis%2Cinfo)%3Bvar%20args%3DArray.prototype.slice.call(arguments%2C1)%3Bvar%20len%3Darray.length%3Bvar%20ret%3Darray.push.apply(array%2Cargs)%3Bif(args.length)%7Bthis._notifySplice(array%2Cinfo.path%2Clen%2Cargs.length%2C%5B%5D)%7Dreturn%20ret%7D%2Cpop%3Afunction(path)%7Bvar%20info%3D%7B%7D%3Bvar%20array%3Dthis._get(path%2Cthis%2Cinfo)%3Bvar%20hadLength%3DBoolean(array.length)%3Bvar%20args%3DArray.prototype.slice.call(arguments%2C1)%3Bvar%20ret%3Darray.pop.apply(array%2Cargs)%3Bif(hadLength)%7Bthis._notifySplice(array%2Cinfo.path%2Carray.length%2C0%2C%5Bret%5D)%7Dreturn%20ret%7D%2Csplice%3Afunction(path%2Cstart%2CdeleteCount)%7Bvar%20info%3D%7B%7D%3Bvar%20array%3Dthis._get(path%2Cthis%2Cinfo)%3Bif(start%3C0)%7Bstart%3Darray.length-Math.floor(-start)%7Delse%7Bstart%3DMath.floor(start)%7Dif(!start)%7Bstart%3D0%7Dvar%20args%3DArray.prototype.slice.call(arguments%2C1)%3Bvar%20ret%3Darray.splice.apply(array%2Cargs)%3Bvar%20addedCount%3DMath.max(args.length-2%2C0)%3Bif(addedCount%7C%7Cret.length)%7Bthis._notifySplice(array%2Cinfo.path%2Cstart%2CaddedCount%2Cret)%7Dreturn%20ret%7D%2Cshift%3Afunction(path)%7Bvar%20info%3D%7B%7D%3Bvar%20array%3Dthis._get(path%2Cthis%2Cinfo)%3Bvar%20hadLength%3DBoolean(array.length)%3Bvar%20args%3DArray.prototype.slice.call(arguments%2C1)%3Bvar%20ret%3Darray.shift.apply(array%2Cargs)%3Bif(hadLength)%7Bthis._notifySplice(array%2Cinfo.path%2C0%2C0%2C%5Bret%5D)%7Dreturn%20ret%7D%2Cunshift%3Afunction(path)%7Bvar%20info%3D%7B%7D%3Bvar%20array%3Dthis._get(path%2Cthis%2Cinfo)%3Bvar%20args%3DArray.prototype.slice.call(arguments%2C1)%3Bvar%20ret%3Darray.unshift.apply(array%2Cargs)%3Bif(args.length)%7Bthis._notifySplice(array%2Cinfo.path%2C0%2Cargs.length%2C%5B%5D)%7Dreturn%20ret%7D%2CprepareModelNotifyPath%3Afunction(model)%7Bthis.mixin(model%2C%7Bfire%3APolymer.Base.fire%2C_getEvent%3APolymer.Base._getEvent%2C__eventCache%3APolymer.Base.__eventCache%2CnotifyPath%3APolymer.Base.notifyPath%2C_get%3APolymer.Base._get%2C_EVENT_CHANGED%3APolymer.Base._EVENT_CHANGED%2C_notifyPath%3APolymer.Base._notifyPath%2C_notifyPathUp%3APolymer.Base._notifyPathUp%2C_pathEffector%3APolymer.Base._pathEffector%2C_annotationPathEffect%3APolymer.Base._annotationPathEffect%2C_complexObserverPathEffect%3APolymer.Base._complexObserverPathEffect%2C_annotatedComputationPathEffect%3APolymer.Base._annotatedComputationPathEffect%2C_computePathEffect%3APolymer.Base._computePathEffect%2C_modelForPath%3APolymer.Base._modelForPath%2C_pathMatchesEffect%3APolymer.Base._pathMatchesEffect%2C_notifyBoundPaths%3APolymer.Base._notifyBoundPaths%2C_getPathParts%3APolymer.Base._getPathParts%7D)%7D%7D)%7D)()%3BPolymer.Base._addFeature(%7BresolveUrl%3Afunction(url)%7Bvar%20module%3DPolymer.DomModule.import(this.is)%3Bvar%20root%3D%22%22%3Bif(module)%7Bvar%20assetPath%3Dmodule.getAttribute(%22assetpath%22)%7C%7C%22%22%3Broot%3DPolymer.ResolveUrl.resolveUrl(assetPath%2Cmodule.ownerDocument.baseURI)%7Dreturn%20Polymer.ResolveUrl.resolveUrl(url%2Croot)%7D%7D)%3BPolymer.CssParse%3Dfunction()%7Breturn%7Bparse%3Afunction(text)%7Btext%3Dthis._clean(text)%3Breturn%20this._parseCss(this._lex(text)%2Ctext)%7D%2C_clean%3Afunction(cssText)%7Breturn%20cssText.replace(this._rx.comments%2C%22%22).replace(this._rx.port%2C%22%22)%7D%2C_lex%3Afunction(text)%7Bvar%20root%3D%7Bstart%3A0%2Cend%3Atext.length%7D%3Bvar%20n%3Droot%3Bfor(var%20i%3D0%2Cl%3Dtext.length%3Bi%3Cl%3Bi%2B%2B)%7Bswitch(text%5Bi%5D)%7Bcase%20this.OPEN_BRACE%3Aif(!n.rules)%7Bn.rules%3D%5B%5D%7Dvar%20p%3Dn%3Bvar%20previous%3Dp.rules%5Bp.rules.length-1%5D%3Bn%3D%7Bstart%3Ai%2B1%2Cparent%3Ap%2Cprevious%3Aprevious%7D%3Bp.rules.push(n)%3Bbreak%3Bcase%20this.CLOSE_BRACE%3An.end%3Di%2B1%3Bn%3Dn.parent%7C%7Croot%3Bbreak%7D%7Dreturn%20root%7D%2C_parseCss%3Afunction(node%2Ctext)%7Bvar%20t%3Dtext.substring(node.start%2Cnode.end-1)%3Bnode.parsedCssText%3Dnode.cssText%3Dt.trim()%3Bif(node.parent)%7Bvar%20ss%3Dnode.previous%3Fnode.previous.end%3Anode.parent.start%3Bt%3Dtext.substring(ss%2Cnode.start-1)%3Bt%3Dthis._expandUnicodeEscapes(t)%3Bt%3Dt.replace(this._rx.multipleSpaces%2C%22%20%22)%3Bt%3Dt.substring(t.lastIndexOf(%22%3B%22)%2B1)%3Bvar%20s%3Dnode.parsedSelector%3Dnode.selector%3Dt.trim()%3Bnode.atRule%3Ds.indexOf(this.AT_START)%3D%3D%3D0%3Bif(node.atRule)%7Bif(s.indexOf(this.MEDIA_START)%3D%3D%3D0)%7Bnode.type%3Dthis.types.MEDIA_RULE%7Delse%20if(s.match(this._rx.keyframesRule))%7Bnode.type%3Dthis.types.KEYFRAMES_RULE%7D%7Delse%7Bif(s.indexOf(this.VAR_START)%3D%3D%3D0)%7Bnode.type%3Dthis.types.MIXIN_RULE%7Delse%7Bnode.type%3Dthis.types.STYLE_RULE%7D%7D%7Dvar%20r%24%3Dnode.rules%3Bif(r%24)%7Bfor(var%20i%3D0%2Cl%3Dr%24.length%2Cr%3Bi%3Cl%26%26(r%3Dr%24%5Bi%5D)%3Bi%2B%2B)%7Bthis._parseCss(r%2Ctext)%7D%7Dreturn%20node%7D%2C_expandUnicodeEscapes%3Afunction(s)%7Breturn%20s.replace(%2F%5C%5C(%5B0-9a-f%5D%7B1%2C6%7D)%5Cs%2Fgi%2Cfunction()%7Bvar%20code%3Darguments%5B1%5D%2Crepeat%3D6-code.length%3Bwhile(repeat--)%7Bcode%3D%220%22%2Bcode%7Dreturn%22%5C%5C%22%2Bcode%7D)%7D%2Cstringify%3Afunction(node%2CpreserveProperties%2Ctext)%7Btext%3Dtext%7C%7C%22%22%3Bvar%20cssText%3D%22%22%3Bif(node.cssText%7C%7Cnode.rules)%7Bvar%20r%24%3Dnode.rules%3Bif(r%24%26%26(preserveProperties%7C%7C!this._hasMixinRules(r%24)))%7Bfor(var%20i%3D0%2Cl%3Dr%24.length%2Cr%3Bi%3Cl%26%26(r%3Dr%24%5Bi%5D)%3Bi%2B%2B)%7BcssText%3Dthis.stringify(r%2CpreserveProperties%2CcssText)%7D%7Delse%7BcssText%3DpreserveProperties%3Fnode.cssText%3Athis.removeCustomProps(node.cssText)%3BcssText%3DcssText.trim()%3Bif(cssText)%7BcssText%3D%22%20%20%22%2BcssText%2B%22%5Cn%22%7D%7D%7Dif(cssText)%7Bif(node.selector)%7Btext%2B%3Dnode.selector%2B%22%20%22%2Bthis.OPEN_BRACE%2B%22%5Cn%22%7Dtext%2B%3DcssText%3Bif(node.selector)%7Btext%2B%3Dthis.CLOSE_BRACE%2B%22%5Cn%5Cn%22%7D%7Dreturn%20text%7D%2C_hasMixinRules%3Afunction(rules)%7Breturn%20rules%5B0%5D.selector.indexOf(this.VAR_START)%3D%3D%3D0%7D%2CremoveCustomProps%3Afunction(cssText)%7BcssText%3Dthis.removeCustomPropAssignment(cssText)%3Breturn%20this.removeCustomPropApply(cssText)%7D%2CremoveCustomPropAssignment%3Afunction(cssText)%7Breturn%20cssText.replace(this._rx.customProp%2C%22%22).replace(this._rx.mixinProp%2C%22%22)%7D%2CremoveCustomPropApply%3Afunction(cssText)%7Breturn%20cssText.replace(this._rx.mixinApply%2C%22%22).replace(this._rx.varApply%2C%22%22)%7D%2Ctypes%3A%7BSTYLE_RULE%3A1%2CKEYFRAMES_RULE%3A7%2CMEDIA_RULE%3A4%2CMIXIN_RULE%3A1e3%7D%2COPEN_BRACE%3A%22%7B%22%2CCLOSE_BRACE%3A%22%7D%22%2C_rx%3A%7Bcomments%3A%2F%5C%2F%5C*%5B%5E*%5D*%5C*%2B(%5B%5E%5C%2F*%5D%5B%5E*%5D*%5C*%2B)*%5C%2F%2Fgim%2Cport%3A%2F%40import%5B%5E%3B%5D*%3B%2Fgim%2CcustomProp%3A%2F(%3F%3A%5E%5B%5E%3B%5C-%5Cs%7D%5D%2B)%3F--%5B%5E%3B%7B%7D%5D*%3F%3A%5B%5E%7B%7D%3B%5D*%3F(%3F%3A%5B%3B%5Cn%5D%7C%24)%2Fgim%2CmixinProp%3A%2F(%3F%3A%5E%5B%5E%3B%5C-%5Cs%7D%5D%2B)%3F--%5B%5E%3B%7B%7D%5D*%3F%3A%5B%5E%7B%7D%3B%5D*%3F%7B%5B%5E%7D%5D*%3F%7D(%3F%3A%5B%3B%5Cn%5D%7C%24)%3F%2Fgim%2CmixinApply%3A%2F%40apply%5B%5Cs%5D*%5C(%5B%5E)%5D*%3F%5C)%5B%5Cs%5D*(%3F%3A%5B%3B%5Cn%5D%7C%24)%3F%2Fgim%2CvarApply%3A%2F%5B%5E%3B%3A%5D*%3F%3A%5B%5E%3B%5D*%3Fvar%5C(%5B%5E%3B%5D*%5C)(%3F%3A%5B%3B%5Cn%5D%7C%24)%3F%2Fgim%2CkeyframesRule%3A%2F%5E%40%5B%5E%5Cs%5D*keyframes%2F%2CmultipleSpaces%3A%2F%5Cs%2B%2Fg%7D%2CVAR_START%3A%22--%22%2CMEDIA_START%3A%22%40media%22%2CAT_START%3A%22%40%22%7D%7D()%3BPolymer.StyleUtil%3Dfunction()%7Breturn%7BMODULE_STYLES_SELECTOR%3A%22style%2C%20link%5Brel%3Dimport%5D%5Btype~%3Dcss%5D%2C%20template%22%2CINCLUDE_ATTR%3A%22include%22%2CtoCssText%3Afunction(rules%2Ccallback%2CpreserveProperties)%7Bif(typeof%20rules%3D%3D%3D%22string%22)%7Brules%3Dthis.parser.parse(rules)%7Dif(callback)%7Bthis.forEachStyleRule(rules%2Ccallback)%7Dreturn%20this.parser.stringify(rules%2CpreserveProperties)%7D%2CforRulesInStyles%3Afunction(styles%2Ccallback)%7Bif(styles)%7Bfor(var%20i%3D0%2Cl%3Dstyles.length%2Cs%3Bi%3Cl%26%26(s%3Dstyles%5Bi%5D)%3Bi%2B%2B)%7Bthis.forEachStyleRule(this.rulesForStyle(s)%2Ccallback)%7D%7D%7D%2CrulesForStyle%3Afunction(style)%7Bif(!style.__cssRules%26%26style.textContent)%7Bstyle.__cssRules%3Dthis.parser.parse(style.textContent)%7Dreturn%20style.__cssRules%7D%2CforEachStyleRule%3Afunction(node%2Ccallback)%7Bif(!node)%7Breturn%7Dvar%20skipRules%3Dfalse%3Bif(node.type%3D%3D%3Dthis.ruleTypes.STYLE_RULE)%7Bcallback(node)%7Delse%20if(node.type%3D%3D%3Dthis.ruleTypes.KEYFRAMES_RULE%7C%7Cnode.type%3D%3D%3Dthis.ruleTypes.MIXIN_RULE)%7BskipRules%3Dtrue%7Dvar%20r%24%3Dnode.rules%3Bif(r%24%26%26!skipRules)%7Bfor(var%20i%3D0%2Cl%3Dr%24.length%2Cr%3Bi%3Cl%26%26(r%3Dr%24%5Bi%5D)%3Bi%2B%2B)%7Bthis.forEachStyleRule(r%2Ccallback)%7D%7D%7D%2CapplyCss%3Afunction(cssText%2Cmoniker%2Ctarget%2CafterNode)%7Bvar%20style%3Ddocument.createElement(%22style%22)%3Bif(moniker)%7Bstyle.setAttribute(%22scope%22%2Cmoniker)%7Dstyle.textContent%3DcssText%3Btarget%3Dtarget%7C%7Cdocument.head%3Bif(!afterNode)%7Bvar%20n%24%3Dtarget.querySelectorAll(%22style%5Bscope%5D%22)%3BafterNode%3Dn%24%5Bn%24.length-1%5D%7Dtarget.insertBefore(style%2CafterNode%26%26afterNode.nextSibling%7C%7Ctarget.firstChild)%3Breturn%20style%7D%2CcssFromModules%3Afunction(moduleIds%2CwarnIfNotFound)%7Bvar%20modules%3DmoduleIds.trim().split(%22%20%22)%3Bvar%20cssText%3D%22%22%3Bfor(var%20i%3D0%3Bi%3Cmodules.length%3Bi%2B%2B)%7BcssText%2B%3Dthis.cssFromModule(modules%5Bi%5D%2CwarnIfNotFound)%7Dreturn%20cssText%7D%2CcssFromModule%3Afunction(moduleId%2CwarnIfNotFound)%7Bvar%20m%3DPolymer.DomModule.import(moduleId)%3Bif(m%26%26!m._cssText)%7Bm._cssText%3Dthis.cssFromElement(m)%7Dif(!m%26%26warnIfNotFound)%7Bconsole.warn(%22Could%20not%20find%20style%20data%20in%20module%20named%22%2CmoduleId)%7Dreturn%20m%26%26m._cssText%7C%7C%22%22%7D%2CcssFromElement%3Afunction(element)%7Bvar%20cssText%3D%22%22%3Bvar%20content%3Delement.content%7C%7Celement%3Bvar%20e%24%3DPolymer.TreeApi.arrayCopy(content.querySelectorAll(this.MODULE_STYLES_SELECTOR))%3Bfor(var%20i%3D0%2Ce%3Bi%3Ce%24.length%3Bi%2B%2B)%7Be%3De%24%5Bi%5D%3Bif(e.localName%3D%3D%3D%22template%22)%7BcssText%2B%3Dthis.cssFromElement(e)%7Delse%7Bif(e.localName%3D%3D%3D%22style%22)%7Bvar%20include%3De.getAttribute(this.INCLUDE_ATTR)%3Bif(include)%7BcssText%2B%3Dthis.cssFromModules(include%2Ctrue)%7De%3De.__appliedElement%7C%7Ce%3Be.parentNode.removeChild(e)%3BcssText%2B%3Dthis.resolveCss(e.textContent%2Celement.ownerDocument)%7Delse%20if(e.import%26%26e.import.body)%7BcssText%2B%3Dthis.resolveCss(e.import.body.textContent%2Ce.import)%7D%7D%7Dreturn%20cssText%7D%2CresolveCss%3APolymer.ResolveUrl.resolveCss%2Cparser%3APolymer.CssParse%2CruleTypes%3APolymer.CssParse.types%7D%7D()%3BPolymer.StyleTransformer%3Dfunction()%7Bvar%20nativeShadow%3DPolymer.Settings.useNativeShadow%3Bvar%20styleUtil%3DPolymer.StyleUtil%3Bvar%20api%3D%7Bdom%3Afunction(node%2Cscope%2CuseAttr%2CshouldRemoveScope)%7Bthis._transformDom(node%2Cscope%7C%7C%22%22%2CuseAttr%2CshouldRemoveScope)%7D%2C_transformDom%3Afunction(node%2Cselector%2CuseAttr%2CshouldRemoveScope)%7Bif(node.setAttribute)%7Bthis.element(node%2Cselector%2CuseAttr%2CshouldRemoveScope)%7Dvar%20c%24%3DPolymer.dom(node).childNodes%3Bfor(var%20i%3D0%3Bi%3Cc%24.length%3Bi%2B%2B)%7Bthis._transformDom(c%24%5Bi%5D%2Cselector%2CuseAttr%2CshouldRemoveScope)%7D%7D%2Celement%3Afunction(element%2Cscope%2CuseAttr%2CshouldRemoveScope)%7Bif(useAttr)%7Bif(shouldRemoveScope)%7Belement.removeAttribute(SCOPE_NAME)%7Delse%7Belement.setAttribute(SCOPE_NAME%2Cscope)%7D%7Delse%7Bif(scope)%7Bif(element.classList)%7Bif(shouldRemoveScope)%7Belement.classList.remove(SCOPE_NAME)%3Belement.classList.remove(scope)%7Delse%7Belement.classList.add(SCOPE_NAME)%3Belement.classList.add(scope)%7D%7Delse%20if(element.getAttribute)%7Bvar%20c%3Delement.getAttribute(CLASS)%3Bif(shouldRemoveScope)%7Bif(c)%7Belement.setAttribute(CLASS%2Cc.replace(SCOPE_NAME%2C%22%22).replace(scope%2C%22%22))%7D%7Delse%7Belement.setAttribute(CLASS%2C(c%3Fc%2B%22%20%22%3A%22%22)%2BSCOPE_NAME%2B%22%20%22%2Bscope)%7D%7D%7D%7D%7D%2CelementStyles%3Afunction(element%2Ccallback)%7Bvar%20styles%3Delement._styles%3Bvar%20cssText%3D%22%22%3Bfor(var%20i%3D0%2Cl%3Dstyles.length%2Cs%3Bi%3Cl%26%26(s%3Dstyles%5Bi%5D)%3Bi%2B%2B)%7Bvar%20rules%3DstyleUtil.rulesForStyle(s)%3BcssText%2B%3DnativeShadow%3FstyleUtil.toCssText(rules%2Ccallback)%3Athis.css(rules%2Celement.is%2Celement.extends%2Ccallback%2Celement._scopeCssViaAttr)%2B%22%5Cn%5Cn%22%7Dreturn%20cssText.trim()%7D%2Ccss%3Afunction(rules%2Cscope%2Cext%2Ccallback%2CuseAttr)%7Bvar%20hostScope%3Dthis._calcHostScope(scope%2Cext)%3Bscope%3Dthis._calcElementScope(scope%2CuseAttr)%3Bvar%20self%3Dthis%3Breturn%20styleUtil.toCssText(rules%2Cfunction(rule)%7Bif(!rule.isScoped)%7Bself.rule(rule%2Cscope%2ChostScope)%3Brule.isScoped%3Dtrue%7Dif(callback)%7Bcallback(rule%2Cscope%2ChostScope)%7D%7D)%7D%2C_calcElementScope%3Afunction(scope%2CuseAttr)%7Bif(scope)%7Breturn%20useAttr%3FCSS_ATTR_PREFIX%2Bscope%2BCSS_ATTR_SUFFIX%3ACSS_CLASS_PREFIX%2Bscope%7Delse%7Breturn%22%22%7D%7D%2C_calcHostScope%3Afunction(scope%2Cext)%7Breturn%20ext%3F%22%5Bis%3D%22%2Bscope%2B%22%5D%22%3Ascope%7D%2Crule%3Afunction(rule%2Cscope%2ChostScope)%7Bthis._transformRule(rule%2Cthis._transformComplexSelector%2Cscope%2ChostScope)%7D%2C_transformRule%3Afunction(rule%2Ctransformer%2Cscope%2ChostScope)%7Bvar%20p%24%3Drule.selector.split(COMPLEX_SELECTOR_SEP)%3Bfor(var%20i%3D0%2Cl%3Dp%24.length%2Cp%3Bi%3Cl%26%26(p%3Dp%24%5Bi%5D)%3Bi%2B%2B)%7Bp%24%5Bi%5D%3Dtransformer.call(this%2Cp%2Cscope%2ChostScope)%7Drule.selector%3Drule.transformedSelector%3Dp%24.join(COMPLEX_SELECTOR_SEP)%7D%2C_transformComplexSelector%3Afunction(selector%2Cscope%2ChostScope)%7Bvar%20stop%3Dfalse%3Bvar%20hostContext%3Dfalse%3Bvar%20self%3Dthis%3Bselector%3Dselector.replace(SIMPLE_SELECTOR_SEP%2Cfunction(m%2Cc%2Cs)%7Bif(!stop)%7Bvar%20info%3Dself._transformCompoundSelector(s%2Cc%2Cscope%2ChostScope)%3Bstop%3Dstop%7C%7Cinfo.stop%3BhostContext%3DhostContext%7C%7Cinfo.hostContext%3Bc%3Dinfo.combinator%3Bs%3Dinfo.value%7Delse%7Bs%3Ds.replace(SCOPE_JUMP%2C%22%20%22)%7Dreturn%20c%2Bs%7D)%3Bif(hostContext)%7Bselector%3Dselector.replace(HOST_CONTEXT_PAREN%2Cfunction(m%2Cpre%2Cparen%2Cpost)%7Breturn%20pre%2Bparen%2B%22%20%22%2BhostScope%2Bpost%2BCOMPLEX_SELECTOR_SEP%2B%22%20%22%2Bpre%2BhostScope%2Bparen%2Bpost%7D)%7Dreturn%20selector%7D%2C_transformCompoundSelector%3Afunction(selector%2Ccombinator%2Cscope%2ChostScope)%7Bvar%20jumpIndex%3Dselector.search(SCOPE_JUMP)%3Bvar%20hostContext%3Dfalse%3Bif(selector.indexOf(HOST_CONTEXT)%3E%3D0)%7BhostContext%3Dtrue%7Delse%20if(selector.indexOf(HOST)%3E%3D0)%7Bselector%3Dselector.replace(HOST_PAREN%2Cfunction(m%2Chost%2Cparen)%7Breturn%20hostScope%2Bparen%7D)%3Bselector%3Dselector.replace(HOST%2ChostScope)%7Delse%20if(jumpIndex!%3D%3D0)%7Bselector%3Dscope%3Fthis._transformSimpleSelector(selector%2Cscope)%3Aselector%7Dif(selector.indexOf(CONTENT)%3E%3D0)%7Bcombinator%3D%22%22%7Dvar%20stop%3Bif(jumpIndex%3E%3D0)%7Bselector%3Dselector.replace(SCOPE_JUMP%2C%22%20%22)%3Bstop%3Dtrue%7Dreturn%7Bvalue%3Aselector%2Ccombinator%3Acombinator%2Cstop%3Astop%2ChostContext%3AhostContext%7D%7D%2C_transformSimpleSelector%3Afunction(selector%2Cscope)%7Bvar%20p%24%3Dselector.split(PSEUDO_PREFIX)%3Bp%24%5B0%5D%2B%3Dscope%3Breturn%20p%24.join(PSEUDO_PREFIX)%7D%2CdocumentRule%3Afunction(rule)%7Brule.selector%3Drule.parsedSelector%3Bthis.normalizeRootSelector(rule)%3Bif(!nativeShadow)%7Bthis._transformRule(rule%2Cthis._transformDocumentSelector)%7D%7D%2CnormalizeRootSelector%3Afunction(rule)%7Bif(rule.selector%3D%3D%3DROOT)%7Brule.selector%3D%22body%22%7D%7D%2C_transformDocumentSelector%3Afunction(selector)%7Breturn%20selector.match(SCOPE_JUMP)%3Fthis._transformComplexSelector(selector%2CSCOPE_DOC_SELECTOR)%3Athis._transformSimpleSelector(selector.trim()%2CSCOPE_DOC_SELECTOR)%7D%2CSCOPE_NAME%3A%22style-scope%22%7D%3Bvar%20SCOPE_NAME%3Dapi.SCOPE_NAME%3Bvar%20SCOPE_DOC_SELECTOR%3D%22%3Anot(%5B%22%2BSCOPE_NAME%2B%22%5D)%22%2B%22%3Anot(.%22%2BSCOPE_NAME%2B%22)%22%3Bvar%20COMPLEX_SELECTOR_SEP%3D%22%2C%22%3Bvar%20SIMPLE_SELECTOR_SEP%3D%2F(%5E%7C%5B%5Cs%3E%2B~%5D%2B)(%5B%5E%5Cs%3E%2B~%5D%2B)%2Fg%3Bvar%20HOST%3D%22%3Ahost%22%3Bvar%20ROOT%3D%22%3Aroot%22%3Bvar%20HOST_PAREN%3D%2F(%5C%3Ahost)(%3F%3A%5C(((%3F%3A%5C(%5B%5E)(%5D*%5C)%7C%5B%5E)(%5D*)%2B%3F)%5C))%2Fg%3Bvar%20HOST_CONTEXT%3D%22%3Ahost-context%22%3Bvar%20HOST_CONTEXT_PAREN%3D%2F(.*)(%3F%3A%3Ahost-context)(%3F%3A%5C(((%3F%3A%5C(%5B%5E)(%5D*%5C)%7C%5B%5E)(%5D*)%2B%3F)%5C))(.*)%2F%3Bvar%20CONTENT%3D%22%3A%3Acontent%22%3Bvar%20SCOPE_JUMP%3D%2F%3A%3Acontent%7C%3A%3Ashadow%7C%5C%2Fdeep%5C%2F%2F%3Bvar%20CSS_CLASS_PREFIX%3D%22.%22%3Bvar%20CSS_ATTR_PREFIX%3D%22%5B%22%2BSCOPE_NAME%2B%22~%3D%22%3Bvar%20CSS_ATTR_SUFFIX%3D%22%5D%22%3Bvar%20PSEUDO_PREFIX%3D%22%3A%22%3Bvar%20CLASS%3D%22class%22%3Breturn%20api%7D()%3BPolymer.StyleExtends%3Dfunction()%7Bvar%20styleUtil%3DPolymer.StyleUtil%3Breturn%7BhasExtends%3Afunction(cssText)%7Breturn%20Boolean(cssText.match(this.rx.EXTEND))%7D%2Ctransform%3Afunction(style)%7Bvar%20rules%3DstyleUtil.rulesForStyle(style)%3Bvar%20self%3Dthis%3BstyleUtil.forEachStyleRule(rules%2Cfunction(rule)%7Bvar%20map%3Dself._mapRule(rule)%3Bif(rule.parent)%7Bvar%20m%3Bwhile(m%3Dself.rx.EXTEND.exec(rule.cssText))%7Bvar%20extend%3Dm%5B1%5D%3Bvar%20extendor%3Dself._findExtendor(extend%2Crule)%3Bif(extendor)%7Bself._extendRule(rule%2Cextendor)%7D%7D%7Drule.cssText%3Drule.cssText.replace(self.rx.EXTEND%2C%22%22)%7D)%3Breturn%20styleUtil.toCssText(rules%2Cfunction(rule)%7Bif(rule.selector.match(self.rx.STRIP))%7Brule.cssText%3D%22%22%7D%7D%2Ctrue)%7D%2C_mapRule%3Afunction(rule)%7Bif(rule.parent)%7Bvar%20map%3Drule.parent.map%7C%7C(rule.parent.map%3D%7B%7D)%3Bvar%20parts%3Drule.selector.split(%22%2C%22)%3Bfor(var%20i%3D0%2Cp%3Bi%3Cparts.length%3Bi%2B%2B)%7Bp%3Dparts%5Bi%5D%3Bmap%5Bp.trim()%5D%3Drule%7Dreturn%20map%7D%7D%2C_findExtendor%3Afunction(extend%2Crule)%7Breturn%20rule.parent%26%26rule.parent.map%26%26rule.parent.map%5Bextend%5D%7C%7Cthis._findExtendor(extend%2Crule.parent)%7D%2C_extendRule%3Afunction(target%2Csource)%7Bif(target.parent!%3D%3Dsource.parent)%7Bthis._cloneAndAddRuleToParent(source%2Ctarget.parent)%7Dtarget.extends%3Dtarget.extends%7C%7C%5B%5D%3Btarget.extends.push(source)%3Bsource.selector%3Dsource.selector.replace(this.rx.STRIP%2C%22%22)%3Bsource.selector%3D(source.selector%26%26source.selector%2B%22%2C%5Cn%22)%2Btarget.selector%3Bif(source.extends)%7Bsource.extends.forEach(function(e)%7Bthis._extendRule(target%2Ce)%7D%2Cthis)%7D%7D%2C_cloneAndAddRuleToParent%3Afunction(rule%2Cparent)%7Brule%3DObject.create(rule)%3Brule.parent%3Dparent%3Bif(rule.extends)%7Brule.extends%3Drule.extends.slice()%7Dparent.rules.push(rule)%7D%2Crx%3A%7BEXTEND%3A%2F%40extends%5C((%5B%5E)%5D*)%5C)%5Cs*%3F%3B%2Fgim%2CSTRIP%3A%2F%25%5B%5E%2C%5D*%24%2F%7D%7D%7D()%3B(function()%7Bvar%20prepElement%3DPolymer.Base._prepElement%3Bvar%20nativeShadow%3DPolymer.Settings.useNativeShadow%3Bvar%20styleUtil%3DPolymer.StyleUtil%3Bvar%20styleTransformer%3DPolymer.StyleTransformer%3Bvar%20styleExtends%3DPolymer.StyleExtends%3BPolymer.Base._addFeature(%7B_prepElement%3Afunction(element)%7Bif(this._encapsulateStyle)%7BstyleTransformer.element(element%2Cthis.is%2Cthis._scopeCssViaAttr)%7DprepElement.call(this%2Celement)%7D%2C_prepStyles%3Afunction()%7Bif(this._encapsulateStyle%3D%3D%3Dundefined)%7Bthis._encapsulateStyle%3D!nativeShadow%26%26Boolean(this._template)%7Dif(this._template)%7Bthis._styles%3Dthis._collectStyles()%3Bvar%20cssText%3DstyleTransformer.elementStyles(this)%3Bif(cssText)%7Bvar%20style%3DstyleUtil.applyCss(cssText%2Cthis.is%2CnativeShadow%3Fthis._template.content%3Anull)%3Bif(!nativeShadow)%7Bthis._scopeStyle%3Dstyle%7D%7D%7Delse%7Bthis._styles%3D%5B%5D%7D%7D%2C_collectStyles%3Afunction()%7Bvar%20styles%3D%5B%5D%3Bvar%20cssText%3D%22%22%2Cm%24%3Dthis.styleModules%3Bif(m%24)%7Bfor(var%20i%3D0%2Cl%3Dm%24.length%2Cm%3Bi%3Cl%26%26(m%3Dm%24%5Bi%5D)%3Bi%2B%2B)%7BcssText%2B%3DstyleUtil.cssFromModule(m)%7D%7DcssText%2B%3DstyleUtil.cssFromModule(this.is)%3Bvar%20p%3Dthis._template%26%26this._template.parentNode%3Bif(this._template%26%26(!p%7C%7Cp.id.toLowerCase()!%3D%3Dthis.is))%7BcssText%2B%3DstyleUtil.cssFromElement(this._template)%7Dif(cssText)%7Bvar%20style%3Ddocument.createElement(%22style%22)%3Bstyle.textContent%3DcssText%3Bif(styleExtends.hasExtends(style.textContent))%7BcssText%3DstyleExtends.transform(style)%7Dstyles.push(style)%7Dreturn%20styles%7D%2C_elementAdd%3Afunction(node)%7Bif(this._encapsulateStyle)%7Bif(node.__styleScoped)%7Bnode.__styleScoped%3Dfalse%7Delse%7BstyleTransformer.dom(node%2Cthis.is%2Cthis._scopeCssViaAttr)%7D%7D%7D%2C_elementRemove%3Afunction(node)%7Bif(this._encapsulateStyle)%7BstyleTransformer.dom(node%2Cthis.is%2Cthis._scopeCssViaAttr%2Ctrue)%7D%7D%2CscopeSubtree%3Afunction(container%2CshouldObserve)%7Bif(nativeShadow)%7Breturn%7Dvar%20self%3Dthis%3Bvar%20scopify%3Dfunction(node)%7Bif(node.nodeType%3D%3D%3DNode.ELEMENT_NODE)%7Bvar%20className%3Dnode.getAttribute(%22class%22)%3Bnode.setAttribute(%22class%22%2Cself._scopeElementClass(node%2CclassName))%3Bvar%20n%24%3Dnode.querySelectorAll(%22*%22)%3Bfor(var%20i%3D0%2Cn%3Bi%3Cn%24.length%26%26(n%3Dn%24%5Bi%5D)%3Bi%2B%2B)%7BclassName%3Dn.getAttribute(%22class%22)%3Bn.setAttribute(%22class%22%2Cself._scopeElementClass(n%2CclassName))%7D%7D%7D%3Bscopify(container)%3Bif(shouldObserve)%7Bvar%20mo%3Dnew%20MutationObserver(function(mxns)%7Bfor(var%20i%3D0%2Cm%3Bi%3Cmxns.length%26%26(m%3Dmxns%5Bi%5D)%3Bi%2B%2B)%7Bif(m.addedNodes)%7Bfor(var%20j%3D0%3Bj%3Cm.addedNodes.length%3Bj%2B%2B)%7Bscopify(m.addedNodes%5Bj%5D)%7D%7D%7D%7D)%3Bmo.observe(container%2C%7BchildList%3Atrue%2Csubtree%3Atrue%7D)%3Breturn%20mo%7D%7D%7D)%7D)()%3BPolymer.StyleProperties%3Dfunction()%7B%22use%20strict%22%3Bvar%20nativeShadow%3DPolymer.Settings.useNativeShadow%3Bvar%20matchesSelector%3DPolymer.DomApi.matchesSelector%3Bvar%20styleUtil%3DPolymer.StyleUtil%3Bvar%20styleTransformer%3DPolymer.StyleTransformer%3Breturn%7BdecorateStyles%3Afunction(styles)%7Bvar%20self%3Dthis%2Cprops%3D%7B%7D%3BstyleUtil.forRulesInStyles(styles%2Cfunction(rule)%7Bself.decorateRule(rule)%3Bself.collectPropertiesInCssText(rule.propertyInfo.cssText%2Cprops)%7D)%3Bvar%20names%3D%5B%5D%3Bfor(var%20i%20in%20props)%7Bnames.push(i)%7Dreturn%20names%7D%2CdecorateRule%3Afunction(rule)%7Bif(rule.propertyInfo)%7Breturn%20rule.propertyInfo%7Dvar%20info%3D%7B%7D%2Cproperties%3D%7B%7D%3Bvar%20hasProperties%3Dthis.collectProperties(rule%2Cproperties)%3Bif(hasProperties)%7Binfo.properties%3Dproperties%3Brule.rules%3Dnull%7Dinfo.cssText%3Dthis.collectCssText(rule)%3Brule.propertyInfo%3Dinfo%3Breturn%20info%7D%2CcollectProperties%3Afunction(rule%2Cproperties)%7Bvar%20info%3Drule.propertyInfo%3Bif(info)%7Bif(info.properties)%7BPolymer.Base.mixin(properties%2Cinfo.properties)%3Breturn%20true%7D%7Delse%7Bvar%20m%2Crx%3Dthis.rx.VAR_ASSIGN%3Bvar%20cssText%3Drule.parsedCssText%3Bvar%20any%3Bwhile(m%3Drx.exec(cssText))%7Bproperties%5Bm%5B1%5D%5D%3D(m%5B2%5D%7C%7Cm%5B3%5D).trim()%3Bany%3Dtrue%7Dreturn%20any%7D%7D%2CcollectCssText%3Afunction(rule)%7Bvar%20customCssText%3D%22%22%3Bvar%20cssText%3Drule.parsedCssText%3BcssText%3DcssText.replace(this.rx.BRACKETED%2C%22%22).replace(this.rx.VAR_ASSIGN%2C%22%22)%3Bvar%20parts%3DcssText.split(%22%3B%22)%3Bfor(var%20i%3D0%2Cp%3Bi%3Cparts.length%3Bi%2B%2B)%7Bp%3Dparts%5Bi%5D%3Bif(p.match(this.rx.MIXIN_MATCH)%7C%7Cp.match(this.rx.VAR_MATCH))%7BcustomCssText%2B%3Dp%2B%22%3B%5Cn%22%7D%7Dreturn%20customCssText%7D%2CcollectPropertiesInCssText%3Afunction(cssText%2Cprops)%7Bvar%20m%3Bwhile(m%3Dthis.rx.VAR_CAPTURE.exec(cssText))%7Bprops%5Bm%5B1%5D%5D%3Dtrue%3Bvar%20def%3Dm%5B2%5D%3Bif(def%26%26def.match(this.rx.IS_VAR))%7Bprops%5Bdef%5D%3Dtrue%7D%7D%7D%2Creify%3Afunction(props)%7B%0Avar%20names%3DObject.getOwnPropertyNames(props)%3Bfor(var%20i%3D0%2Cn%3Bi%3Cnames.length%3Bi%2B%2B)%7Bn%3Dnames%5Bi%5D%3Bprops%5Bn%5D%3Dthis.valueForProperty(props%5Bn%5D%2Cprops)%7D%7D%2CvalueForProperty%3Afunction(property%2Cprops)%7Bif(property)%7Bif(property.indexOf(%22%3B%22)%3E%3D0)%7Bproperty%3Dthis.valueForProperties(property%2Cprops)%7Delse%7Bvar%20self%3Dthis%3Bvar%20fn%3Dfunction(all%2Cprefix%2Cvalue%2Cfallback)%7Bvar%20propertyValue%3Dself.valueForProperty(props%5Bvalue%5D%2Cprops)%7C%7C(props%5Bfallback%5D%3Fself.valueForProperty(props%5Bfallback%5D%2Cprops)%3Afallback)%3Breturn%20prefix%2B(propertyValue%7C%7C%22%22)%7D%3Bproperty%3Dproperty.replace(this.rx.VAR_MATCH%2Cfn)%7D%7Dreturn%20property%26%26property.trim()%7C%7C%22%22%7D%2CvalueForProperties%3Afunction(property%2Cprops)%7Bvar%20parts%3Dproperty.split(%22%3B%22)%3Bfor(var%20i%3D0%2Cp%2Cm%3Bi%3Cparts.length%3Bi%2B%2B)%7Bif(p%3Dparts%5Bi%5D)%7Bm%3Dp.match(this.rx.MIXIN_MATCH)%3Bif(m)%7Bp%3Dthis.valueForProperty(props%5Bm%5B1%5D%5D%2Cprops)%7Delse%7Bvar%20pp%3Dp.split(%22%3A%22)%3Bif(pp%5B1%5D)%7Bpp%5B1%5D%3Dpp%5B1%5D.trim()%3Bpp%5B1%5D%3Dthis.valueForProperty(pp%5B1%5D%2Cprops)%7C%7Cpp%5B1%5D%7Dp%3Dpp.join(%22%3A%22)%7Dparts%5Bi%5D%3Dp%26%26p.lastIndexOf(%22%3B%22)%3D%3D%3Dp.length-1%3Fp.slice(0%2C-1)%3Ap%7C%7C%22%22%7D%7Dreturn%20parts.join(%22%3B%22)%7D%2CapplyProperties%3Afunction(rule%2Cprops)%7Bvar%20output%3D%22%22%3Bif(!rule.propertyInfo)%7Bthis.decorateRule(rule)%7Dif(rule.propertyInfo.cssText)%7Boutput%3Dthis.valueForProperties(rule.propertyInfo.cssText%2Cprops)%7Drule.cssText%3Doutput%7D%2CpropertyDataFromStyles%3Afunction(styles%2Celement)%7Bvar%20props%3D%7B%7D%2Cself%3Dthis%3Bvar%20o%3D%5B%5D%2Ci%3D0%3BstyleUtil.forRulesInStyles(styles%2Cfunction(rule)%7Bif(!rule.propertyInfo)%7Bself.decorateRule(rule)%7Dif(element%26%26rule.propertyInfo.properties%26%26matchesSelector.call(element%2Crule.transformedSelector%7C%7Crule.parsedSelector))%7Bself.collectProperties(rule%2Cprops)%3BaddToBitMask(i%2Co)%7Di%2B%2B%7D)%3Breturn%7Bproperties%3Aprops%2Ckey%3Ao%7D%7D%2CscopePropertiesFromStyles%3Afunction(styles)%7Bif(!styles._scopeStyleProperties)%7Bstyles._scopeStyleProperties%3Dthis.selectedPropertiesFromStyles(styles%2Cthis.SCOPE_SELECTORS)%7Dreturn%20styles._scopeStyleProperties%7D%2ChostPropertiesFromStyles%3Afunction(styles)%7Bif(!styles._hostStyleProperties)%7Bstyles._hostStyleProperties%3Dthis.selectedPropertiesFromStyles(styles%2Cthis.HOST_SELECTORS)%7Dreturn%20styles._hostStyleProperties%7D%2CselectedPropertiesFromStyles%3Afunction(styles%2Cselectors)%7Bvar%20props%3D%7B%7D%2Cself%3Dthis%3BstyleUtil.forRulesInStyles(styles%2Cfunction(rule)%7Bif(!rule.propertyInfo)%7Bself.decorateRule(rule)%7Dfor(var%20i%3D0%3Bi%3Cselectors.length%3Bi%2B%2B)%7Bif(rule.parsedSelector%3D%3D%3Dselectors%5Bi%5D)%7Bself.collectProperties(rule%2Cprops)%3Breturn%7D%7D%7D)%3Breturn%20props%7D%2CtransformStyles%3Afunction(element%2Cproperties%2CscopeSelector)%7Bvar%20self%3Dthis%3Bvar%20hostSelector%3DstyleTransformer._calcHostScope(element.is%2Celement.extends)%3Bvar%20rxHostSelector%3Delement.extends%3F%22%5C%5C%22%2BhostSelector.slice(0%2C-1)%2B%22%5C%5C%5D%22%3AhostSelector%3Bvar%20hostRx%3Dnew%20RegExp(this.rx.HOST_PREFIX%2BrxHostSelector%2Bthis.rx.HOST_SUFFIX)%3Breturn%20styleTransformer.elementStyles(element%2Cfunction(rule)%7Bself.applyProperties(rule%2Cproperties)%3Bif(rule.cssText%26%26!nativeShadow)%7Bself._scopeSelector(rule%2ChostRx%2ChostSelector%2Celement._scopeCssViaAttr%2CscopeSelector)%7D%7D)%7D%2C_scopeSelector%3Afunction(rule%2ChostRx%2ChostSelector%2CviaAttr%2CscopeId)%7Brule.transformedSelector%3Drule.transformedSelector%7C%7Crule.selector%3Bvar%20selector%3Drule.transformedSelector%3Bvar%20scope%3DviaAttr%3F%22%5B%22%2BstyleTransformer.SCOPE_NAME%2B%22~%3D%22%2BscopeId%2B%22%5D%22%3A%22.%22%2BscopeId%3Bvar%20parts%3Dselector.split(%22%2C%22)%3Bfor(var%20i%3D0%2Cl%3Dparts.length%2Cp%3Bi%3Cl%26%26(p%3Dparts%5Bi%5D)%3Bi%2B%2B)%7Bparts%5Bi%5D%3Dp.match(hostRx)%3Fp.replace(hostSelector%2ChostSelector%2Bscope)%3Ascope%2B%22%20%22%2Bp%7Drule.selector%3Dparts.join(%22%2C%22)%7D%2CapplyElementScopeSelector%3Afunction(element%2Cselector%2Cold%2CviaAttr)%7Bvar%20c%3DviaAttr%3Felement.getAttribute(styleTransformer.SCOPE_NAME)%3Aelement.getAttribute(%22class%22)%7C%7C%22%22%3Bvar%20v%3Dold%3Fc.replace(old%2Cselector)%3A(c%3Fc%2B%22%20%22%3A%22%22)%2Bthis.XSCOPE_NAME%2B%22%20%22%2Bselector%3Bif(c!%3D%3Dv)%7Bif(viaAttr)%7Belement.setAttribute(styleTransformer.SCOPE_NAME%2Cv)%7Delse%7Belement.setAttribute(%22class%22%2Cv)%7D%7D%7D%2CapplyElementStyle%3Afunction(element%2Cproperties%2Cselector%2Cstyle)%7Bvar%20cssText%3Dstyle%3Fstyle.textContent%7C%7C%22%22%3Athis.transformStyles(element%2Cproperties%2Cselector)%3Bvar%20s%3Delement._customStyle%3Bif(s%26%26!nativeShadow%26%26s!%3D%3Dstyle)%7Bs._useCount--%3Bif(s._useCount%3C%3D0%26%26s.parentNode)%7Bs.parentNode.removeChild(s)%7D%7Dif(nativeShadow%7C%7C(!style%7C%7C!style.parentNode))%7Bif(nativeShadow%26%26element._customStyle)%7Belement._customStyle.textContent%3DcssText%3Bstyle%3Delement._customStyle%7Delse%20if(cssText)%7Bstyle%3DstyleUtil.applyCss(cssText%2Cselector%2CnativeShadow%3Felement.root%3Anull%2Celement._scopeStyle)%7D%7Dif(style)%7Bstyle._useCount%3Dstyle._useCount%7C%7C0%3Bif(element._customStyle!%3Dstyle)%7Bstyle._useCount%2B%2B%7Delement._customStyle%3Dstyle%7Dreturn%20style%7D%2CmixinCustomStyle%3Afunction(props%2CcustomStyle)%7Bvar%20v%3Bfor(var%20i%20in%20customStyle)%7Bv%3DcustomStyle%5Bi%5D%3Bif(v%7C%7Cv%3D%3D%3D0)%7Bprops%5Bi%5D%3Dv%7D%7D%7D%2Crx%3A%7BVAR_ASSIGN%3A%2F(%3F%3A%5E%7C%5B%3B%5Cs%7B%5D%5Cs*)(--%5B%5Cw-%5D*%3F)%5Cs*%3A%5Cs*(%3F%3A(%5B%5E%3B%7B%5D*)%7C%7B(%5B%5E%7D%5D*)%7D)(%3F%3A(%3F%3D%5B%3B%5Cs%7D%5D)%7C%24)%2Fgi%2CMIXIN_MATCH%3A%2F(%3F%3A%5E%7C%5CW%2B)%40apply%5B%5Cs%5D*%5C((%5B%5E)%5D*)%5C)%2Fi%2CVAR_MATCH%3A%2F(%5E%7C%5CW%2B)var%5C(%5B%5Cs%5D*(%5B%5E%2C)%5D*)%5B%5Cs%5D*%2C%3F%5B%5Cs%5D*((%3F%3A%5B%5E%2C)%5D*)%7C(%3F%3A%5B%5E%3B%5D*%5C(%5B%5E%3B)%5D*%5C)))%5B%5Cs%5D*%3F%5C)%2Fgi%2CVAR_CAPTURE%3A%2F%5C(%5B%5Cs%5D*(--%5B%5E%2C%5Cs)%5D*)(%3F%3A%2C%5B%5Cs%5D*(--%5B%5E%2C%5Cs)%5D*))%3F(%3F%3A%5C)%7C%2C)%2Fgi%2CIS_VAR%3A%2F%5E--%2F%2CBRACKETED%3A%2F%5C%7B%5B%5E%7D%5D*%5C%7D%2Fg%2CHOST_PREFIX%3A%22(%3F%3A%5E%7C%5B%5E.%23%5B%3A%5D)%22%2CHOST_SUFFIX%3A%22(%24%7C%5B.%3A%5B%5C%5Cs%3E%2B~%5D)%22%7D%2CHOST_SELECTORS%3A%5B%22%3Ahost%22%5D%2CSCOPE_SELECTORS%3A%5B%22%3Aroot%22%5D%2CXSCOPE_NAME%3A%22x-scope%22%7D%3Bfunction%20addToBitMask(n%2Cbits)%7Bvar%20o%3DparseInt(n%2F32)%3Bvar%20v%3D1%3C%3Cn%2532%3Bbits%5Bo%5D%3D(bits%5Bo%5D%7C%7C0)%7Cv%7D%7D()%3B(function()%7BPolymer.StyleCache%3Dfunction()%7Bthis.cache%3D%7B%7D%7D%3BPolymer.StyleCache.prototype%3D%7BMAX%3A100%2Cstore%3Afunction(is%2Cdata%2CkeyValues%2CkeyStyles)%7Bdata.keyValues%3DkeyValues%3Bdata.styles%3DkeyStyles%3Bvar%20s%24%3Dthis.cache%5Bis%5D%3Dthis.cache%5Bis%5D%7C%7C%5B%5D%3Bs%24.push(data)%3Bif(s%24.length%3Ethis.MAX)%7Bs%24.shift()%7D%7D%2Cretrieve%3Afunction(is%2CkeyValues%2CkeyStyles)%7Bvar%20cache%3Dthis.cache%5Bis%5D%3Bif(cache)%7Bfor(var%20i%3Dcache.length-1%2Cdata%3Bi%3E%3D0%3Bi--)%7Bdata%3Dcache%5Bi%5D%3Bif(keyStyles%3D%3D%3Ddata.styles%26%26this._objectsEqual(keyValues%2Cdata.keyValues))%7Breturn%20data%7D%7D%7D%7D%2Cclear%3Afunction()%7Bthis.cache%3D%7B%7D%7D%2C_objectsEqual%3Afunction(target%2Csource)%7Bvar%20t%2Cs%3Bfor(var%20i%20in%20target)%7Bt%3Dtarget%5Bi%5D%2Cs%3Dsource%5Bi%5D%3Bif(!(typeof%20t%3D%3D%3D%22object%22%26%26t%3Fthis._objectsStrictlyEqual(t%2Cs)%3At%3D%3D%3Ds))%7Breturn%20false%7D%7Dif(Array.isArray(target))%7Breturn%20target.length%3D%3D%3Dsource.length%7Dreturn%20true%7D%2C_objectsStrictlyEqual%3Afunction(target%2Csource)%7Breturn%20this._objectsEqual(target%2Csource)%26%26this._objectsEqual(source%2Ctarget)%7D%7D%7D)()%3BPolymer.StyleDefaults%3Dfunction()%7Bvar%20styleProperties%3DPolymer.StyleProperties%3Bvar%20styleUtil%3DPolymer.StyleUtil%3Bvar%20StyleCache%3DPolymer.StyleCache%3Bvar%20api%3D%7B_styles%3A%5B%5D%2C_properties%3Anull%2CcustomStyle%3A%7B%7D%2C_styleCache%3Anew%20StyleCache%2CaddStyle%3Afunction(style)%7Bthis._styles.push(style)%3Bthis._properties%3Dnull%7D%2Cget%20_styleProperties()%7Bif(!this._properties)%7BstyleProperties.decorateStyles(this._styles)%3Bthis._styles._scopeStyleProperties%3Dnull%3Bthis._properties%3DstyleProperties.scopePropertiesFromStyles(this._styles)%3BstyleProperties.mixinCustomStyle(this._properties%2Cthis.customStyle)%3BstyleProperties.reify(this._properties)%7Dreturn%20this._properties%7D%2C_needsStyleProperties%3Afunction()%7B%7D%2C_computeStyleProperties%3Afunction()%7Breturn%20this._styleProperties%7D%2CupdateStyles%3Afunction(properties)%7Bthis._properties%3Dnull%3Bif(properties)%7BPolymer.Base.mixin(this.customStyle%2Cproperties)%7Dthis._styleCache.clear()%3Bfor(var%20i%3D0%2Cs%3Bi%3Cthis._styles.length%3Bi%2B%2B)%7Bs%3Dthis._styles%5Bi%5D%3Bs%3Ds.__importElement%7C%7Cs%3Bs._apply()%7D%7D%7D%3Breturn%20api%7D()%3B(function()%7B%22use%20strict%22%3Bvar%20serializeValueToAttribute%3DPolymer.Base.serializeValueToAttribute%3Bvar%20propertyUtils%3DPolymer.StyleProperties%3Bvar%20styleTransformer%3DPolymer.StyleTransformer%3Bvar%20styleUtil%3DPolymer.StyleUtil%3Bvar%20styleDefaults%3DPolymer.StyleDefaults%3Bvar%20nativeShadow%3DPolymer.Settings.useNativeShadow%3BPolymer.Base._addFeature(%7B_prepStyleProperties%3Afunction()%7Bthis._ownStylePropertyNames%3Dthis._styles%3FpropertyUtils.decorateStyles(this._styles)%3Anull%7D%2CcustomStyle%3Anull%2CgetComputedStyleValue%3Afunction(property)%7Breturn%20this._styleProperties%26%26this._styleProperties%5Bproperty%5D%7C%7CgetComputedStyle(this).getPropertyValue(property)%7D%2C_setupStyleProperties%3Afunction()%7Bthis.customStyle%3D%7B%7D%3Bthis._styleCache%3Dnull%3Bthis._styleProperties%3Dnull%3Bthis._scopeSelector%3Dnull%3Bthis._ownStyleProperties%3Dnull%3Bthis._customStyle%3Dnull%7D%2C_needsStyleProperties%3Afunction()%7Breturn%20Boolean(this._ownStylePropertyNames%26%26this._ownStylePropertyNames.length)%7D%2C_beforeAttached%3Afunction()%7Bif(!this._scopeSelector%26%26this._needsStyleProperties())%7Bthis._updateStyleProperties()%7D%7D%2C_findStyleHost%3Afunction()%7Bvar%20e%3Dthis%2Croot%3Bwhile(root%3DPolymer.dom(e).getOwnerRoot())%7Bif(Polymer.isInstance(root.host))%7Breturn%20root.host%7De%3Droot.host%7Dreturn%20styleDefaults%7D%2C_updateStyleProperties%3Afunction()%7Bvar%20info%2Cscope%3Dthis._findStyleHost()%3Bif(!scope._styleCache)%7Bscope._styleCache%3Dnew%20Polymer.StyleCache%7Dvar%20scopeData%3DpropertyUtils.propertyDataFromStyles(scope._styles%2Cthis)%3BscopeData.key.customStyle%3Dthis.customStyle%3Binfo%3Dscope._styleCache.retrieve(this.is%2CscopeData.key%2Cthis._styles)%3Bvar%20scopeCached%3DBoolean(info)%3Bif(scopeCached)%7Bthis._styleProperties%3Dinfo._styleProperties%7Delse%7Bthis._computeStyleProperties(scopeData.properties)%7Dthis._computeOwnStyleProperties()%3Bif(!scopeCached)%7Binfo%3DstyleCache.retrieve(this.is%2Cthis._ownStyleProperties%2Cthis._styles)%7Dvar%20globalCached%3DBoolean(info)%26%26!scopeCached%3Bvar%20style%3Dthis._applyStyleProperties(info)%3Bif(!scopeCached)%7Bstyle%3Dstyle%26%26nativeShadow%3Fstyle.cloneNode(true)%3Astyle%3Binfo%3D%7Bstyle%3Astyle%2C_scopeSelector%3Athis._scopeSelector%2C_styleProperties%3Athis._styleProperties%7D%3BscopeData.key.customStyle%3D%7B%7D%3Bthis.mixin(scopeData.key.customStyle%2Cthis.customStyle)%3Bscope._styleCache.store(this.is%2Cinfo%2CscopeData.key%2Cthis._styles)%3Bif(!globalCached)%7BstyleCache.store(this.is%2CObject.create(info)%2Cthis._ownStyleProperties%2Cthis._styles)%7D%7D%7D%2C_computeStyleProperties%3Afunction(scopeProps)%7Bvar%20scope%3Dthis._findStyleHost()%3Bif(!scope._styleProperties)%7Bscope._computeStyleProperties()%7Dvar%20props%3DObject.create(scope._styleProperties)%3Bthis.mixin(props%2CpropertyUtils.hostPropertiesFromStyles(this._styles))%3BscopeProps%3DscopeProps%7C%7CpropertyUtils.propertyDataFromStyles(scope._styles%2Cthis).properties%3Bthis.mixin(props%2CscopeProps)%3Bthis.mixin(props%2CpropertyUtils.scopePropertiesFromStyles(this._styles))%3BpropertyUtils.mixinCustomStyle(props%2Cthis.customStyle)%3BpropertyUtils.reify(props)%3Bthis._styleProperties%3Dprops%7D%2C_computeOwnStyleProperties%3Afunction()%7Bvar%20props%3D%7B%7D%3Bfor(var%20i%3D0%2Cn%3Bi%3Cthis._ownStylePropertyNames.length%3Bi%2B%2B)%7Bn%3Dthis._ownStylePropertyNames%5Bi%5D%3Bprops%5Bn%5D%3Dthis._styleProperties%5Bn%5D%7Dthis._ownStyleProperties%3Dprops%7D%2C_scopeCount%3A0%2C_applyStyleProperties%3Afunction(info)%7Bvar%20oldScopeSelector%3Dthis._scopeSelector%3Bthis._scopeSelector%3Dinfo%3Finfo._scopeSelector%3Athis.is%2B%22-%22%2Bthis.__proto__._scopeCount%2B%2B%3Bvar%20style%3DpropertyUtils.applyElementStyle(this%2Cthis._styleProperties%2Cthis._scopeSelector%2Cinfo%26%26info.style)%3Bif(!nativeShadow)%7BpropertyUtils.applyElementScopeSelector(this%2Cthis._scopeSelector%2ColdScopeSelector%2Cthis._scopeCssViaAttr)%7Dreturn%20style%7D%2CserializeValueToAttribute%3Afunction(value%2Cattribute%2Cnode)%7Bnode%3Dnode%7C%7Cthis%3Bif(attribute%3D%3D%3D%22class%22%26%26!nativeShadow)%7Bvar%20host%3Dnode%3D%3D%3Dthis%3Fthis.domHost%7C%7Cthis.dataHost%3Athis%3Bif(host)%7Bvalue%3Dhost._scopeElementClass(node%2Cvalue)%7D%7Dnode%3Dthis.shadyRoot%26%26this.shadyRoot._hasDistributed%3FPolymer.dom(node)%3Anode%3BserializeValueToAttribute.call(this%2Cvalue%2Cattribute%2Cnode)%7D%2C_scopeElementClass%3Afunction(element%2Cselector)%7Bif(!nativeShadow%26%26!this._scopeCssViaAttr)%7Bselector%2B%3D(selector%3F%22%20%22%3A%22%22)%2BSCOPE_NAME%2B%22%20%22%2Bthis.is%2B(element._scopeSelector%3F%22%20%22%2BXSCOPE_NAME%2B%22%20%22%2Belement._scopeSelector%3A%22%22)%7Dreturn%20selector%7D%2CupdateStyles%3Afunction(properties)%7Bif(this.isAttached)%7Bif(properties)%7Bthis.mixin(this.customStyle%2Cproperties)%7Dif(this._needsStyleProperties())%7Bthis._updateStyleProperties()%7Delse%7Bthis._styleProperties%3Dnull%7Dif(this._styleCache)%7Bthis._styleCache.clear()%7Dthis._updateRootStyles()%7D%7D%2C_updateRootStyles%3Afunction(root)%7Broot%3Droot%7C%7Cthis.root%3Bvar%20c%24%3DPolymer.dom(root)._query(function(e)%7Breturn%20e.shadyRoot%7C%7Ce.shadowRoot%7D)%3Bfor(var%20i%3D0%2Cl%3Dc%24.length%2Cc%3Bi%3Cl%26%26(c%3Dc%24%5Bi%5D)%3Bi%2B%2B)%7Bif(c.updateStyles)%7Bc.updateStyles()%7D%7D%7D%7D)%3BPolymer.updateStyles%3Dfunction(properties)%7BstyleDefaults.updateStyles(properties)%3BPolymer.Base._updateRootStyles(document)%7D%3Bvar%20styleCache%3Dnew%20Polymer.StyleCache%3BPolymer.customStyleCache%3DstyleCache%3Bvar%20SCOPE_NAME%3DstyleTransformer.SCOPE_NAME%3Bvar%20XSCOPE_NAME%3DpropertyUtils.XSCOPE_NAME%7D)()%3BPolymer.Base._addFeature(%7B_registerFeatures%3Afunction()%7Bthis._prepIs()%3Bthis._prepConstructor()%3Bthis._prepTemplate()%3Bthis._prepStyles()%3Bthis._prepStyleProperties()%3Bthis._prepAnnotations()%3Bthis._prepEffects()%3Bthis._prepBehaviors()%3Bthis._prepPropertyInfo()%3Bthis._prepBindings()%3Bthis._prepShady()%7D%2C_prepBehavior%3Afunction(b)%7Bthis._addPropertyEffects(b.properties)%3Bthis._addComplexObserverEffects(b.observers)%3Bthis._addHostAttributes(b.hostAttributes)%7D%2C_initFeatures%3Afunction()%7Bthis._setupGestures()%3Bthis._setupConfigure()%3Bthis._setupStyleProperties()%3Bthis._setupDebouncers()%3Bthis._setupShady()%3Bthis._registerHost()%3Bif(this._template)%7Bthis._poolContent()%3Bthis._beginHosting()%3Bthis._stampTemplate()%3Bthis._endHosting()%3Bthis._marshalAnnotationReferences()%7Dthis._marshalInstanceEffects()%3Bthis._marshalBehaviors()%3Bthis._marshalHostAttributes()%3Bthis._marshalAttributes()%3Bthis._tryReady()%7D%2C_marshalBehavior%3Afunction(b)%7Bif(b.listeners)%7Bthis._listenListeners(b.listeners)%7D%7D%7D)%3B(function()%7Bvar%20nativeShadow%3DPolymer.Settings.useNativeShadow%3Bvar%20propertyUtils%3DPolymer.StyleProperties%3Bvar%20styleUtil%3DPolymer.StyleUtil%3Bvar%20cssParse%3DPolymer.CssParse%3Bvar%20styleDefaults%3DPolymer.StyleDefaults%3Bvar%20styleTransformer%3DPolymer.StyleTransformer%3BPolymer(%7Bis%3A%22custom-style%22%2C%22extends%22%3A%22style%22%2C_template%3Anull%2Cproperties%3A%7Binclude%3AString%7D%2Cready%3Afunction()%7Bthis._tryApply()%7D%2Cattached%3Afunction()%7Bthis._tryApply()%7D%2C_tryApply%3Afunction()%7Bif(!this._appliesToDocument)%7Bif(this.parentNode%26%26this.parentNode.localName!%3D%3D%22dom-module%22)%7Bthis._appliesToDocument%3Dtrue%3Bvar%20e%3Dthis.__appliedElement%7C%7Cthis%3BstyleDefaults.addStyle(e)%3Bif(e.textContent%7C%7Cthis.include)%7Bthis._apply(true)%7Delse%7Bvar%20self%3Dthis%3Bvar%20observer%3Dnew%20MutationObserver(function()%7Bobserver.disconnect()%3Bself._apply(true)%7D)%3Bobserver.observe(e%2C%7BchildList%3Atrue%7D)%7D%7D%7D%7D%2C_apply%3Afunction(deferProperties)%7Bvar%20e%3Dthis.__appliedElement%7C%7Cthis%3Bif(this.include)%7Be.textContent%3DstyleUtil.cssFromModules(this.include%2Ctrue)%2Be.textContent%7Dif(e.textContent)%7BstyleUtil.forEachStyleRule(styleUtil.rulesForStyle(e)%2Cfunction(rule)%7BstyleTransformer.documentRule(rule)%7D)%3Bvar%20self%3Dthis%3Bvar%20fn%3Dfunction%20fn()%7Bself._applyCustomProperties(e)%7D%3Bif(this._pendingApplyProperties)%7BcancelAnimationFrame(this._pendingApplyProperties)%3Bthis._pendingApplyProperties%3Dnull%7Dif(deferProperties)%7Bthis._pendingApplyProperties%3DrequestAnimationFrame(fn)%7Delse%7Bfn()%7D%7D%7D%2C_applyCustomProperties%3Afunction(element)%7Bthis._computeStyleProperties()%3Bvar%20props%3Dthis._styleProperties%3Bvar%20rules%3DstyleUtil.rulesForStyle(element)%3Belement.textContent%3DstyleUtil.toCssText(rules%2Cfunction(rule)%7Bvar%20css%3Drule.cssText%3Drule.parsedCssText%3Bif(rule.propertyInfo%26%26rule.propertyInfo.cssText)%7Bcss%3DcssParse.removeCustomPropAssignment(css)%3Brule.cssText%3DpropertyUtils.valueForProperties(css%2Cprops)%7D%7D)%7D%7D)%7D)()%3BPolymer.Templatizer%3D%7Bproperties%3A%7B__hideTemplateChildren__%3A%7Bobserver%3A%22_showHideChildren%22%7D%7D%2C_instanceProps%3APolymer.nob%2C_parentPropPrefix%3A%22_parent_%22%2Ctemplatize%3Afunction(template)%7Bthis._templatized%3Dtemplate%3Bif(!template._content)%7Btemplate._content%3Dtemplate.content%7Dif(template._content._ctor)%7Bthis.ctor%3Dtemplate._content._ctor%3Bthis._prepParentProperties(this.ctor.prototype%2Ctemplate)%3Breturn%7Dvar%20archetype%3DObject.create(Polymer.Base)%3Bthis._customPrepAnnotations(archetype%2Ctemplate)%3Bthis._prepParentProperties(archetype%2Ctemplate)%3Barchetype._prepEffects()%3Bthis._customPrepEffects(archetype)%3Barchetype._prepBehaviors()%3Barchetype._prepPropertyInfo()%3Barchetype._prepBindings()%3Barchetype._notifyPathUp%3Dthis._notifyPathUpImpl%3Barchetype._scopeElementClass%3Dthis._scopeElementClassImpl%3Barchetype.listen%3Dthis._listenImpl%3Barchetype._showHideChildren%3Dthis._showHideChildrenImpl%3Barchetype.__setPropertyOrig%3Dthis.__setProperty%3Barchetype.__setProperty%3Dthis.__setPropertyImpl%3Bvar%20_constructor%3Dthis._constructorImpl%3Bvar%20ctor%3Dfunction%20TemplateInstance(model%2Chost)%7B_constructor.call(this%2Cmodel%2Chost)%7D%3Bctor.prototype%3Darchetype%3Barchetype.constructor%3Dctor%3Btemplate._content._ctor%3Dctor%3Bthis.ctor%3Dctor%7D%2C_getRootDataHost%3Afunction()%7Breturn%20this.dataHost%26%26this.dataHost._rootDataHost%7C%7Cthis.dataHost%7D%2C_showHideChildrenImpl%3Afunction(hide)%7Bvar%20c%3Dthis._children%3Bfor(var%20i%3D0%3Bi%3Cc.length%3Bi%2B%2B)%7Bvar%20n%3Dc%5Bi%5D%3Bif(Boolean(hide)!%3DBoolean(n.__hideTemplateChildren__))%7Bif(n.nodeType%3D%3D%3DNode.TEXT_NODE)%7Bif(hide)%7Bn.__polymerTextContent__%3Dn.textContent%3Bn.textContent%3D%22%22%7Delse%7Bn.textContent%3Dn.__polymerTextContent__%7D%7Delse%20if(n.style)%7Bif(hide)%7Bn.__polymerDisplay__%3Dn.style.display%3Bn.style.display%3D%22none%22%7Delse%7Bn.style.display%3Dn.__polymerDisplay__%7D%7D%7Dn.__hideTemplateChildren__%3Dhide%7D%7D%2C__setPropertyImpl%3Afunction(property%2Cvalue%2CfromAbove%2Cnode)%7Bif(node%26%26node.__hideTemplateChildren__%26%26property%3D%3D%22textContent%22)%7Bproperty%3D%22__polymerTextContent__%22%7Dthis.__setPropertyOrig(property%2Cvalue%2CfromAbove%2Cnode)%7D%2C_debounceTemplate%3Afunction(fn)%7BPolymer.dom.addDebouncer(this.debounce(%22_debounceTemplate%22%2Cfn))%7D%2C_flushTemplates%3Afunction(debouncerExpired)%7BPolymer.dom.flush()%7D%2C_customPrepEffects%3Afunction(archetype)%7Bvar%20parentProps%3Darchetype._parentProps%3Bfor(var%20prop%20in%20parentProps)%7Barchetype._addPropertyEffect(prop%2C%22function%22%2Cthis._createHostPropEffector(prop))%7Dfor(var%20prop%20in%20this._instanceProps)%7Barchetype._addPropertyEffect(prop%2C%22function%22%2Cthis._createInstancePropEffector(prop))%7D%7D%2C_customPrepAnnotations%3Afunction(archetype%2Ctemplate)%7Barchetype._template%3Dtemplate%3Bvar%20c%3Dtemplate._content%3Bif(!c._notes)%7Bvar%20rootDataHost%3Darchetype._rootDataHost%3Bif(rootDataHost)%7BPolymer.Annotations.prepElement%3Dfunction()%7BrootDataHost._prepElement()%7D%7Dc._notes%3DPolymer.Annotations.parseAnnotations(template)%3BPolymer.Annotations.prepElement%3Dnull%3Bthis._processAnnotations(c._notes)%7Darchetype._notes%3Dc._notes%3Barchetype._parentProps%3Dc._parentProps%7D%2C_prepParentProperties%3Afunction(archetype%2Ctemplate)%7Bvar%20parentProps%3Dthis._parentProps%3Darchetype._parentProps%3Bif(this._forwardParentProp%26%26parentProps)%7Bvar%20proto%3Darchetype._parentPropProto%3Bvar%20prop%3Bif(!proto)%7Bfor(prop%20in%20this._instanceProps)%7Bdelete%20parentProps%5Bprop%5D%7Dproto%3Darchetype._parentPropProto%3DObject.create(null)%3Bif(template!%3Dthis)%7BPolymer.Bind.prepareModel(proto)%3BPolymer.Base.prepareModelNotifyPath(proto)%7Dfor(prop%20in%20parentProps)%7Bvar%20parentProp%3Dthis._parentPropPrefix%2Bprop%3Bvar%20effects%3D%5B%7Bkind%3A%22function%22%2Ceffect%3Athis._createForwardPropEffector(prop)%2Cfn%3APolymer.Bind._functionEffect%7D%2C%7Bkind%3A%22notify%22%2Cfn%3APolymer.Bind._notifyEffect%2Ceffect%3A%7Bevent%3APolymer.CaseMap.camelToDashCase(parentProp)%2B%22-changed%22%7D%7D%5D%3BPolymer.Bind._createAccessors(proto%2CparentProp%2Ceffects)%7D%7Dvar%20self%3Dthis%3Bif(template!%3Dthis)%7BPolymer.Bind.prepareInstance(template)%3Btemplate._forwardParentProp%3Dfunction(source%2Cvalue)%7Bself._forwardParentProp(source%2Cvalue)%7D%7Dthis._extendTemplate(template%2Cproto)%3Btemplate._pathEffector%3Dfunction(path%2Cvalue%2CfromAbove)%7Breturn%20self._pathEffectorImpl(path%2Cvalue%2CfromAbove)%7D%7D%7D%2C_createForwardPropEffector%3Afunction(prop)%7Breturn%20function(source%2Cvalue)%7Bthis._forwardParentProp(prop%2Cvalue)%7D%7D%2C_createHostPropEffector%3Afunction(prop)%7Bvar%20prefix%3Dthis._parentPropPrefix%3Breturn%20function(source%2Cvalue)%7Bthis.dataHost._templatized%5Bprefix%2Bprop%5D%3Dvalue%7D%7D%2C_createInstancePropEffector%3Afunction(prop)%7Breturn%20function(source%2Cvalue%2Cold%2CfromAbove)%7Bif(!fromAbove)%7Bthis.dataHost._forwardInstanceProp(this%2Cprop%2Cvalue)%7D%7D%7D%2C_extendTemplate%3Afunction(template%2Cproto)%7Bvar%20n%24%3DObject.getOwnPropertyNames(proto)%3Bfor(var%20i%3D0%2Cn%3Bi%3Cn%24.length%26%26(n%3Dn%24%5Bi%5D)%3Bi%2B%2B)%7Bvar%20val%3Dtemplate%5Bn%5D%3Bvar%20pd%3DObject.getOwnPropertyDescriptor(proto%2Cn)%3BObject.defineProperty(template%2Cn%2Cpd)%3Bif(val!%3D%3Dundefined)%7Btemplate._propertySetter(n%2Cval)%7D%7D%7D%2C_showHideChildren%3Afunction(hidden)%7B%7D%2C_forwardInstancePath%3Afunction(inst%2Cpath%2Cvalue)%7B%7D%2C_forwardInstanceProp%3Afunction(inst%2Cprop%2Cvalue)%7B%7D%2C_notifyPathUpImpl%3Afunction(path%2Cvalue)%7Bvar%20dataHost%3Dthis.dataHost%3Bvar%20dot%3Dpath.indexOf(%22.%22)%3Bvar%20root%3Ddot%3C0%3Fpath%3Apath.slice(0%2Cdot)%3BdataHost._forwardInstancePath.call(dataHost%2Cthis%2Cpath%2Cvalue)%3Bif(root%20in%20dataHost._parentProps)%7BdataHost._templatized.notifyPath(dataHost._parentPropPrefix%2Bpath%2Cvalue)%7D%7D%2C_pathEffectorImpl%3Afunction(path%2Cvalue%2CfromAbove)%7Bif(this._forwardParentPath)%7Bif(path.indexOf(this._parentPropPrefix)%3D%3D%3D0)%7Bvar%20subPath%3Dpath.substring(this._parentPropPrefix.length)%3Bvar%20model%3Dthis._modelForPath(subPath)%3Bif(model%20in%20this._parentProps)%7Bthis._forwardParentPath(subPath%2Cvalue)%7D%7D%7DPolymer.Base._pathEffector.call(this._templatized%2Cpath%2Cvalue%2CfromAbove)%7D%2C_constructorImpl%3Afunction(model%2Chost)%7Bthis._rootDataHost%3Dhost._getRootDataHost()%3Bthis._setupConfigure(model)%3Bthis._registerHost(host)%3Bthis._beginHosting()%3Bthis.root%3Dthis.instanceTemplate(this._template)%3Bthis.root.__noContent%3D!this._notes._hasContent%3Bthis.root.__styleScoped%3Dtrue%3Bthis._endHosting()%3Bthis._marshalAnnotatedNodes()%3Bthis._marshalInstanceEffects()%3Bthis._marshalAnnotatedListeners()%3Bvar%20children%3D%5B%5D%3Bfor(var%20n%3Dthis.root.firstChild%3Bn%3Bn%3Dn.nextSibling)%7Bchildren.push(n)%3Bn._templateInstance%3Dthis%7Dthis._children%3Dchildren%3Bif(host.__hideTemplateChildren__)%7Bthis._showHideChildren(true)%7Dthis._tryReady()%7D%2C_listenImpl%3Afunction(node%2CeventName%2CmethodName)%7Bvar%20model%3Dthis%3Bvar%20host%3Dthis._rootDataHost%3Bvar%20handler%3Dhost._createEventHandler(node%2CeventName%2CmethodName)%3Bvar%20decorated%3Dfunction(e)%7Be.model%3Dmodel%3Bhandler(e)%7D%3Bhost._listen(node%2CeventName%2Cdecorated)%7D%2C_scopeElementClassImpl%3Afunction(node%2Cvalue)%7Bvar%20host%3Dthis._rootDataHost%3Bif(host)%7Breturn%20host._scopeElementClass(node%2Cvalue)%7D%7D%2Cstamp%3Afunction(model)%7Bmodel%3Dmodel%7C%7C%7B%7D%3Bif(this._parentProps)%7Bvar%20templatized%3Dthis._templatized%3Bfor(var%20prop%20in%20this._parentProps)%7Bmodel%5Bprop%5D%3Dtemplatized%5Bthis._parentPropPrefix%2Bprop%5D%7D%7Dreturn%20new%20this.ctor(model%2Cthis)%7D%2CmodelForElement%3Afunction(el)%7Bvar%20model%3Bwhile(el)%7Bif(model%3Del._templateInstance)%7Bif(model.dataHost!%3Dthis)%7Bel%3Dmodel.dataHost%7Delse%7Breturn%20model%7D%7Delse%7Bel%3Del.parentNode%7D%7D%7D%7D%3BPolymer(%7Bis%3A%22dom-template%22%2C%22extends%22%3A%22template%22%2C_template%3Anull%2Cbehaviors%3A%5BPolymer.Templatizer%5D%2Cready%3Afunction()%7Bthis.templatize(this)%7D%7D)%3BPolymer._collections%3Dnew%20WeakMap%3BPolymer.Collection%3Dfunction(userArray)%7BPolymer._collections.set(userArray%2Cthis)%3Bthis.userArray%3DuserArray%3Bthis.store%3DuserArray.slice()%3Bthis.initMap()%7D%3BPolymer.Collection.prototype%3D%7Bconstructor%3APolymer.Collection%2CinitMap%3Afunction()%7Bvar%20omap%3Dthis.omap%3Dnew%20WeakMap%3Bvar%20pmap%3Dthis.pmap%3D%7B%7D%3Bvar%20s%3Dthis.store%3Bfor(var%20i%3D0%3Bi%3Cs.length%3Bi%2B%2B)%7Bvar%20item%3Ds%5Bi%5D%3Bif(item%26%26typeof%20item%3D%3D%22object%22)%7Bomap.set(item%2Ci)%7Delse%7Bpmap%5Bitem%5D%3Di%7D%7D%7D%2Cadd%3Afunction(item)%7Bvar%20key%3Dthis.store.push(item)-1%3Bif(item%26%26typeof%20item%3D%3D%22object%22)%7Bthis.omap.set(item%2Ckey)%7Delse%7Bthis.pmap%5Bitem%5D%3Dkey%7Dreturn%22%23%22%2Bkey%7D%2CremoveKey%3Afunction(key)%7Bif(key%3Dthis._parseKey(key))%7Bthis._removeFromMap(this.store%5Bkey%5D)%3Bdelete%20this.store%5Bkey%5D%7D%7D%2C_removeFromMap%3Afunction(item)%7Bif(item%26%26typeof%20item%3D%3D%22object%22)%7Bthis.omap.delete(item)%7Delse%7Bdelete%20this.pmap%5Bitem%5D%7D%7D%2Cremove%3Afunction(item)%7Bvar%20key%3Dthis.getKey(item)%3Bthis.removeKey(key)%3Breturn%20key%7D%2CgetKey%3Afunction(item)%7Bvar%20key%3Bif(item%26%26typeof%20item%3D%3D%22object%22)%7Bkey%3Dthis.omap.get(item)%7Delse%7Bkey%3Dthis.pmap%5Bitem%5D%7Dif(key!%3Dundefined)%7Breturn%22%23%22%2Bkey%7D%7D%2CgetKeys%3Afunction()%7Breturn%20Object.keys(this.store).map(function(key)%7Breturn%22%23%22%2Bkey%7D)%7D%2C_parseKey%3Afunction(key)%7Bif(key%26%26key%5B0%5D%3D%3D%22%23%22)%7Breturn%20key.slice(1)%7D%7D%2CsetItem%3Afunction(key%2Citem)%7Bif(key%3Dthis._parseKey(key))%7Bvar%20old%3Dthis.store%5Bkey%5D%3Bif(old)%7Bthis._removeFromMap(old)%7Dif(item%26%26typeof%20item%3D%3D%22object%22)%7Bthis.omap.set(item%2Ckey)%7Delse%7Bthis.pmap%5Bitem%5D%3Dkey%7Dthis.store%5Bkey%5D%3Ditem%7D%7D%2CgetItem%3Afunction(key)%7Bif(key%3Dthis._parseKey(key))%7Breturn%20this.store%5Bkey%5D%7D%7D%2CgetItems%3Afunction()%7Bvar%20items%3D%5B%5D%2Cstore%3Dthis.store%3Bfor(var%20key%20in%20store)%7Bitems.push(store%5Bkey%5D)%7Dreturn%20items%7D%2C_applySplices%3Afunction(splices)%7Bvar%20keyMap%3D%7B%7D%2Ckey%3Bfor(var%20i%3D0%2Cs%3Bi%3Csplices.length%26%26(s%3Dsplices%5Bi%5D)%3Bi%2B%2B)%7Bs.addedKeys%3D%5B%5D%3Bfor(var%20j%3D0%3Bj%3Cs.removed.length%3Bj%2B%2B)%7Bkey%3Dthis.getKey(s.removed%5Bj%5D)%3BkeyMap%5Bkey%5D%3DkeyMap%5Bkey%5D%3Fnull%3A-1%7Dfor(var%20j%3D0%3Bj%3Cs.addedCount%3Bj%2B%2B)%7Bvar%20item%3Dthis.userArray%5Bs.index%2Bj%5D%3Bkey%3Dthis.getKey(item)%3Bkey%3Dkey%3D%3D%3Dundefined%3Fthis.add(item)%3Akey%3BkeyMap%5Bkey%5D%3DkeyMap%5Bkey%5D%3Fnull%3A1%3Bs.addedKeys.push(key)%7D%7Dvar%20removed%3D%5B%5D%3Bvar%20added%3D%5B%5D%3Bfor(var%20key%20in%20keyMap)%7Bif(keyMap%5Bkey%5D%3C0)%7Bthis.removeKey(key)%3Bremoved.push(key)%7Dif(keyMap%5Bkey%5D%3E0)%7Badded.push(key)%7D%7Dreturn%5B%7Bremoved%3Aremoved%2Cadded%3Aadded%7D%5D%7D%7D%3BPolymer.Collection.get%3Dfunction(userArray)%7Breturn%20Polymer._collections.get(userArray)%7C%7Cnew%20Polymer.Collection(userArray)%7D%3BPolymer.Collection.applySplices%3Dfunction(userArray%2Csplices)%7Bvar%20coll%3DPolymer._collections.get(userArray)%3Breturn%20coll%3Fcoll._applySplices(splices)%3Anull%7D%3BPolymer(%7Bis%3A%22dom-repeat%22%2C%22extends%22%3A%22template%22%2C_template%3Anull%2Cproperties%3A%7Bitems%3A%7Btype%3AArray%7D%2Cas%3A%7Btype%3AString%2Cvalue%3A%22item%22%7D%2CindexAs%3A%7Btype%3AString%2Cvalue%3A%22index%22%7D%2Csort%3A%7Btype%3AFunction%2Cobserver%3A%22_sortChanged%22%7D%2Cfilter%3A%7Btype%3AFunction%2Cobserver%3A%22_filterChanged%22%7D%2Cobserve%3A%7Btype%3AString%2Cobserver%3A%22_observeChanged%22%7D%2Cdelay%3ANumber%2CrenderedItemCount%3A%7Btype%3ANumber%2Cnotify%3Atrue%2CreadOnly%3Atrue%7D%2CinitialCount%3A%7Btype%3ANumber%2Cobserver%3A%22_initializeChunking%22%7D%2CtargetFramerate%3A%7Btype%3ANumber%2Cvalue%3A20%7D%2C_targetFrameTime%3A%7Btype%3ANumber%2Ccomputed%3A%22_computeFrameTime(targetFramerate)%22%7D%7D%2Cbehaviors%3A%5BPolymer.Templatizer%5D%2Cobservers%3A%5B%22_itemsChanged(items.*)%22%5D%2Ccreated%3Afunction()%7Bthis._instances%3D%5B%5D%3Bthis._pool%3D%5B%5D%3Bthis._limit%3DInfinity%3Bvar%20self%3Dthis%3Bthis._boundRenderChunk%3Dfunction()%7Bself._renderChunk()%7D%7D%2Cdetached%3Afunction()%7Bthis.__isDetached%3Dtrue%3Bfor(var%20i%3D0%3Bi%3Cthis._instances.length%3Bi%2B%2B)%7Bthis._detachInstance(i)%7D%7D%2Cattached%3Afunction()%7Bif(this.__isDetached)%7Bthis.__isDetached%3Dfalse%3Bvar%20parent%3DPolymer.dom(Polymer.dom(this).parentNode)%3Bfor(var%20i%3D0%3Bi%3Cthis._instances.length%3Bi%2B%2B)%7Bthis._attachInstance(i%2Cparent)%7D%7D%7D%2Cready%3Afunction()%7Bthis._instanceProps%3D%7B__key__%3Atrue%7D%3Bthis._instanceProps%5Bthis.as%5D%3Dtrue%3Bthis._instanceProps%5Bthis.indexAs%5D%3Dtrue%3Bif(!this.ctor)%7Bthis.templatize(this)%7D%7D%2C_sortChanged%3Afunction(sort)%7Bvar%20dataHost%3Dthis._getRootDataHost()%3Bthis._sortFn%3Dsort%26%26(typeof%20sort%3D%3D%22function%22%3Fsort%3Afunction()%7Breturn%20dataHost%5Bsort%5D.apply(dataHost%2Carguments)%7D)%3Bthis._needFullRefresh%3Dtrue%3Bif(this.items)%7Bthis._debounceTemplate(this._render)%7D%7D%2C_filterChanged%3Afunction(filter)%7Bvar%20dataHost%3Dthis._getRootDataHost()%3Bthis._filterFn%3Dfilter%26%26(typeof%20filter%3D%3D%22function%22%3Ffilter%3Afunction()%7Breturn%20dataHost%5Bfilter%5D.apply(dataHost%2Carguments)%7D)%3Bthis._needFullRefresh%3Dtrue%3Bif(this.items)%7Bthis._debounceTemplate(this._render)%7D%7D%2C_computeFrameTime%3Afunction(rate)%7Breturn%20Math.ceil(1e3%2Frate)%7D%2C_initializeChunking%3Afunction()%7Bif(this.initialCount)%7Bthis._limit%3Dthis.initialCount%3Bthis._chunkCount%3Dthis.initialCount%3Bthis._lastChunkTime%3Dperformance.now()%7D%7D%2C_tryRenderChunk%3Afunction()%7Bif(this.items%26%26this._limit%3Cthis.items.length)%7Bthis.debounce(%22renderChunk%22%2Cthis._requestRenderChunk)%7D%7D%2C_requestRenderChunk%3Afunction()%7BrequestAnimationFrame(this._boundRenderChunk)%7D%2C_renderChunk%3Afunction()%7Bvar%20currChunkTime%3Dperformance.now()%3Bvar%20ratio%3Dthis._targetFrameTime%2F(currChunkTime-this._lastChunkTime)%3Bthis._chunkCount%3DMath.round(this._chunkCount*ratio)%7C%7C1%3Bthis._limit%2B%3Dthis._chunkCount%3Bthis._lastChunkTime%3DcurrChunkTime%3Bthis._debounceTemplate(this._render)%7D%2C_observeChanged%3Afunction()%7Bthis._observePaths%3Dthis.observe%26%26this.observe.replace(%22.*%22%2C%22.%22).split(%22%20%22)%7D%2C_itemsChanged%3Afunction(change)%7Bif(change.path%3D%3D%22items%22)%7Bif(Array.isArray(this.items))%7Bthis.collection%3DPolymer.Collection.get(this.items)%7Delse%20if(!this.items)%7Bthis.collection%3Dnull%7Delse%7Bthis._error(this._logf(%22dom-repeat%22%2C%22expected%20array%20for%20%60items%60%2C%22%2B%22%20found%22%2Cthis.items))%7Dthis._keySplices%3D%5B%5D%3Bthis._indexSplices%3D%5B%5D%3Bthis._needFullRefresh%3Dtrue%3Bthis._initializeChunking()%3Bthis._debounceTemplate(this._render)%7Delse%20if(change.path%3D%3D%22items.splices%22)%7Bthis._keySplices%3Dthis._keySplices.concat(change.value.keySplices)%3Bthis._indexSplices%3Dthis._indexSplices.concat(change.value.indexSplices)%3Bthis._debounceTemplate(this._render)%7Delse%7Bvar%20subpath%3Dchange.path.slice(6)%3Bthis._forwardItemPath(subpath%2Cchange.value)%3Bthis._checkObservedPaths(subpath)%7D%7D%2C_checkObservedPaths%3Afunction(path)%7Bif(this._observePaths)%7Bpath%3Dpath.substring(path.indexOf(%22.%22)%2B1)%3Bvar%20paths%3Dthis._observePaths%3Bfor(var%20i%3D0%3Bi%3Cpaths.length%3Bi%2B%2B)%7Bif(path.indexOf(paths%5Bi%5D)%3D%3D%3D0)%7Bthis._needFullRefresh%3Dtrue%3Bif(this.delay)%7Bthis.debounce(%22render%22%2Cthis._render%2Cthis.delay)%7Delse%7Bthis._debounceTemplate(this._render)%7Dreturn%7D%7D%7D%7D%2Crender%3Afunction()%7Bthis._needFullRefresh%3Dtrue%3Bthis._debounceTemplate(this._render)%3Bthis._flushTemplates()%7D%2C_render%3Afunction()%7Bvar%20c%3Dthis.collection%3Bif(this._needFullRefresh)%7Bthis._applyFullRefresh()%3Bthis._needFullRefresh%3Dfalse%7Delse%20if(this._keySplices.length)%7Bif(this._sortFn)%7Bthis._applySplicesUserSort(this._keySplices)%7Delse%7Bif(this._filterFn)%7Bthis._applyFullRefresh()%7Delse%7Bthis._applySplicesArrayOrder(this._indexSplices)%7D%7D%7Delse%7B%7Dthis._keySplices%3D%5B%5D%3Bthis._indexSplices%3D%5B%5D%3Bvar%20keyToIdx%3Dthis._keyToInstIdx%3D%7B%7D%3Bfor(var%20i%3Dthis._instances.length-1%3Bi%3E%3D0%3Bi--)%7Bvar%20inst%3Dthis._instances%5Bi%5D%3Bif(inst.isPlaceholder%26%26i%3Cthis._limit)%7Binst%3Dthis._insertInstance(i%2Cinst.__key__)%7Delse%20if(!inst.isPlaceholder%26%26i%3E%3Dthis._limit)%7Binst%3Dthis._downgradeInstance(i%2Cinst.__key__)%7DkeyToIdx%5Binst.__key__%5D%3Di%3Bif(!inst.isPlaceholder)%7Binst.__setProperty(this.indexAs%2Ci%2Ctrue)%7D%7Dthis._pool.length%3D0%3Bthis._setRenderedItemCount(this._instances.length)%3Bthis.fire(%22dom-change%22)%3Bthis._tryRenderChunk()%7D%2C_applyFullRefresh%3Afunction()%7Bvar%20c%3Dthis.collection%3Bvar%20keys%3Bif(this._sortFn)%7Bkeys%3Dc%3Fc.getKeys()%3A%5B%5D%7Delse%7Bkeys%3D%5B%5D%3Bvar%20items%3Dthis.items%3Bif(items)%7Bfor(var%20i%3D0%3Bi%3Citems.length%3Bi%2B%2B)%7Bkeys.push(c.getKey(items%5Bi%5D))%7D%7D%7Dvar%20self%3Dthis%3Bif(this._filterFn)%7Bkeys%3Dkeys.filter(function(a)%7Breturn%20self._filterFn(c.getItem(a))%7D)%7Dif(this._sortFn)%7Bkeys.sort(function(a%2Cb)%7Breturn%20self._sortFn(c.getItem(a)%2Cc.getItem(b))%7D)%7Dfor(var%20i%3D0%3Bi%3Ckeys.length%3Bi%2B%2B)%7Bvar%20key%3Dkeys%5Bi%5D%3Bvar%20inst%3Dthis._instances%5Bi%5D%3Bif(inst)%7Binst.__key__%3Dkey%3Bif(!inst.isPlaceholder%26%26i%3Cthis._limit)%7Binst.__setProperty(this.as%2Cc.getItem(key)%2Ctrue)%7D%7Delse%20if(i%3Cthis._limit)%7Bthis._insertInstance(i%2Ckey)%7Delse%7Bthis._insertPlaceholder(i%2Ckey)%7D%7Dfor(var%20j%3Dthis._instances.length-1%3Bj%3E%3Di%3Bj--)%7Bthis._detachAndRemoveInstance(j)%7D%7D%2C_numericSort%3Afunction(a%2Cb)%7Breturn%20a-b%7D%2C_applySplicesUserSort%3Afunction(splices)%7Bvar%20c%3Dthis.collection%3Bvar%20instances%3Dthis._instances%3Bvar%20keyMap%3D%7B%7D%3Bfor(var%20i%3D0%2Cs%3Bi%3Csplices.length%26%26(s%3Dsplices%5Bi%5D)%3Bi%2B%2B)%7Bfor(var%20j%3D0%3Bj%3Cs.removed.length%3Bj%2B%2B)%7Bvar%20key%3Ds.removed%5Bj%5D%3BkeyMap%5Bkey%5D%3DkeyMap%5Bkey%5D%3Fnull%3A-1%7Dfor(var%20j%3D0%3Bj%3Cs.added.length%3Bj%2B%2B)%7Bvar%20key%3Ds.added%5Bj%5D%3BkeyMap%5Bkey%5D%3DkeyMap%5Bkey%5D%3Fnull%3A1%7D%7Dvar%20removedIdxs%3D%5B%5D%3Bvar%20addedKeys%3D%5B%5D%3Bfor(var%20key%20in%20keyMap)%7Bif(keyMap%5Bkey%5D%3D%3D%3D-1)%7BremovedIdxs.push(this._keyToInstIdx%5Bkey%5D)%7Dif(keyMap%5Bkey%5D%3D%3D%3D1)%7BaddedKeys.push(key)%7D%7Dif(removedIdxs.length)%7BremovedIdxs.sort(this._numericSort)%3Bfor(var%20i%3DremovedIdxs.length-1%3Bi%3E%3D0%3Bi--)%7Bvar%20idx%3DremovedIdxs%5Bi%5D%3Bif(idx!%3D%3Dundefined)%7Bthis._detachAndRemoveInstance(idx)%7D%7D%7Dvar%20self%3Dthis%3Bif(addedKeys.length)%7Bif(this._filterFn)%7BaddedKeys%3DaddedKeys.filter(function(a)%7Breturn%20self._filterFn(c.getItem(a))%7D)%7DaddedKeys.sort(function(a%2Cb)%7Breturn%20self._sortFn(c.getItem(a)%2Cc.getItem(b))%7D)%3Bvar%20start%3D0%3Bfor(var%20i%3D0%3Bi%3CaddedKeys.length%3Bi%2B%2B)%7Bstart%3Dthis._insertRowUserSort(start%2CaddedKeys%5Bi%5D)%7D%7D%7D%2C_insertRowUserSort%3Afunction(start%2Ckey)%7Bvar%20c%3Dthis.collection%3Bvar%20item%3Dc.getItem(key)%3Bvar%20end%3Dthis._instances.length-1%3Bvar%20idx%3D-1%3Bwhile(start%3C%3Dend)%7Bvar%20mid%3Dstart%2Bend%3E%3E1%3Bvar%20midKey%3Dthis._instances%5Bmid%5D.__key__%3Bvar%20cmp%3Dthis._sortFn(c.getItem(midKey)%2Citem)%3Bif(cmp%3C0)%7Bstart%3Dmid%2B1%7Delse%20if(cmp%3E0)%7Bend%3Dmid-1%7Delse%7Bidx%3Dmid%3Bbreak%7D%7Dif(idx%3C0)%7Bidx%3Dend%2B1%7Dthis._insertPlaceholder(idx%2Ckey)%3Breturn%20idx%7D%2C_applySplicesArrayOrder%3Afunction(splices)%7Bvar%20c%3Dthis.collection%3Bfor(var%20i%3D0%2Cs%3Bi%3Csplices.length%26%26(s%3Dsplices%5Bi%5D)%3Bi%2B%2B)%7Bfor(var%20j%3D0%3Bj%3Cs.removed.length%3Bj%2B%2B)%7Bthis._detachAndRemoveInstance(s.index)%7Dfor(var%20j%3D0%3Bj%3Cs.addedKeys.length%3Bj%2B%2B)%7Bthis._insertPlaceholder(s.index%2Bj%2Cs.addedKeys%5Bj%5D)%7D%7D%7D%2C_detachInstance%3Afunction(idx)%7Bvar%20inst%3Dthis._instances%5Bidx%5D%3Bif(!inst.isPlaceholder)%7Bfor(var%20i%3D0%3Bi%3Cinst._children.length%3Bi%2B%2B)%7Bvar%20el%3Dinst._children%5Bi%5D%3BPolymer.dom(inst.root).appendChild(el)%7Dreturn%20inst%7D%7D%2C_attachInstance%3Afunction(idx%2Cparent)%7Bvar%20inst%3Dthis._instances%5Bidx%5D%3Bif(!inst.isPlaceholder)%7Bparent.insertBefore(inst.root%2Cthis)%7D%7D%2C_detachAndRemoveInstance%3Afunction(idx)%7Bvar%20inst%3Dthis._detachInstance(idx)%3Bif(inst)%7Bthis._pool.push(inst)%7Dthis._instances.splice(idx%2C1)%7D%2C_insertPlaceholder%3Afunction(idx%2Ckey)%7Bthis._instances.splice(idx%2C0%2C%7BisPlaceholder%3Atrue%2C__key__%3Akey%7D)%7D%2C_stampInstance%3Afunction(idx%2Ckey)%7Bvar%20model%3D%7B__key__%3Akey%7D%3Bmodel%5Bthis.as%5D%3Dthis.collection.getItem(key)%3Bmodel%5Bthis.indexAs%5D%3Didx%3Breturn%20this.stamp(model)%7D%2C_insertInstance%3Afunction(idx%2Ckey)%7Bvar%20inst%3Dthis._pool.pop()%3Bif(inst)%7Binst.__setProperty(this.as%2Cthis.collection.getItem(key)%2Ctrue)%3Binst.__setProperty(%22__key__%22%2Ckey%2Ctrue)%7Delse%7Binst%3Dthis._stampInstance(idx%2Ckey)%7Dvar%20beforeRow%3Dthis._instances%5Bidx%2B1%5D%3Bvar%20beforeNode%3DbeforeRow%26%26!beforeRow.isPlaceholder%3FbeforeRow._children%5B0%5D%3Athis%3Bvar%20parentNode%3DPolymer.dom(this).parentNode%3BPolymer.dom(parentNode).insertBefore(inst.root%2CbeforeNode)%3B%0Athis._instances%5Bidx%5D%3Dinst%3Breturn%20inst%7D%2C_downgradeInstance%3Afunction(idx%2Ckey)%7Bvar%20inst%3Dthis._detachInstance(idx)%3Bif(inst)%7Bthis._pool.push(inst)%7Dinst%3D%7BisPlaceholder%3Atrue%2C__key__%3Akey%7D%3Bthis._instances%5Bidx%5D%3Dinst%3Breturn%20inst%7D%2C_showHideChildren%3Afunction(hidden)%7Bfor(var%20i%3D0%3Bi%3Cthis._instances.length%3Bi%2B%2B)%7Bthis._instances%5Bi%5D._showHideChildren(hidden)%7D%7D%2C_forwardInstanceProp%3Afunction(inst%2Cprop%2Cvalue)%7Bif(prop%3D%3Dthis.as)%7Bvar%20idx%3Bif(this._sortFn%7C%7Cthis._filterFn)%7Bidx%3Dthis.items.indexOf(this.collection.getItem(inst.__key__))%7Delse%7Bidx%3Dinst%5Bthis.indexAs%5D%7Dthis.set(%22items.%22%2Bidx%2Cvalue)%7D%7D%2C_forwardInstancePath%3Afunction(inst%2Cpath%2Cvalue)%7Bif(path.indexOf(this.as%2B%22.%22)%3D%3D%3D0)%7Bthis._notifyPath(%22items.%22%2Binst.__key__%2B%22.%22%2Bpath.slice(this.as.length%2B1)%2Cvalue)%7D%7D%2C_forwardParentProp%3Afunction(prop%2Cvalue)%7Bvar%20i%24%3Dthis._instances%3Bfor(var%20i%3D0%2Cinst%3Bi%3Ci%24.length%26%26(inst%3Di%24%5Bi%5D)%3Bi%2B%2B)%7Bif(!inst.isPlaceholder)%7Binst.__setProperty(prop%2Cvalue%2Ctrue)%7D%7D%7D%2C_forwardParentPath%3Afunction(path%2Cvalue)%7Bvar%20i%24%3Dthis._instances%3Bfor(var%20i%3D0%2Cinst%3Bi%3Ci%24.length%26%26(inst%3Di%24%5Bi%5D)%3Bi%2B%2B)%7Bif(!inst.isPlaceholder)%7Binst._notifyPath(path%2Cvalue%2Ctrue)%7D%7D%7D%2C_forwardItemPath%3Afunction(path%2Cvalue)%7Bif(this._keyToInstIdx)%7Bvar%20dot%3Dpath.indexOf(%22.%22)%3Bvar%20key%3Dpath.substring(0%2Cdot%3C0%3Fpath.length%3Adot)%3Bvar%20idx%3Dthis._keyToInstIdx%5Bkey%5D%3Bvar%20inst%3Dthis._instances%5Bidx%5D%3Bif(inst%26%26!inst.isPlaceholder)%7Bif(dot%3E%3D0)%7Bpath%3Dthis.as%2B%22.%22%2Bpath.substring(dot%2B1)%3Binst._notifyPath(path%2Cvalue%2Ctrue)%7Delse%7Binst.__setProperty(this.as%2Cvalue%2Ctrue)%7D%7D%7D%7D%2CitemForElement%3Afunction(el)%7Bvar%20instance%3Dthis.modelForElement(el)%3Breturn%20instance%26%26instance%5Bthis.as%5D%7D%2CkeyForElement%3Afunction(el)%7Bvar%20instance%3Dthis.modelForElement(el)%3Breturn%20instance%26%26instance.__key__%7D%2CindexForElement%3Afunction(el)%7Bvar%20instance%3Dthis.modelForElement(el)%3Breturn%20instance%26%26instance%5Bthis.indexAs%5D%7D%7D)%3BPolymer(%7Bis%3A%22array-selector%22%2C_template%3Anull%2Cproperties%3A%7Bitems%3A%7Btype%3AArray%2Cobserver%3A%22clearSelection%22%7D%2Cmulti%3A%7Btype%3ABoolean%2Cvalue%3Afalse%2Cobserver%3A%22clearSelection%22%7D%2Cselected%3A%7Btype%3AObject%2Cnotify%3Atrue%7D%2CselectedItem%3A%7Btype%3AObject%2Cnotify%3Atrue%7D%2Ctoggle%3A%7Btype%3ABoolean%2Cvalue%3Afalse%7D%7D%2CclearSelection%3Afunction()%7Bif(Array.isArray(this.selected))%7Bfor(var%20i%3D0%3Bi%3Cthis.selected.length%3Bi%2B%2B)%7Bthis.unlinkPaths(%22selected.%22%2Bi)%7D%7Delse%7Bthis.unlinkPaths(%22selected%22)%3Bthis.unlinkPaths(%22selectedItem%22)%7Dif(this.multi)%7Bif(!this.selected%7C%7Cthis.selected.length)%7Bthis.selected%3D%5B%5D%3Bthis._selectedColl%3DPolymer.Collection.get(this.selected)%7D%7Delse%7Bthis.selected%3Dnull%3Bthis._selectedColl%3Dnull%7Dthis.selectedItem%3Dnull%7D%2CisSelected%3Afunction(item)%7Bif(this.multi)%7Breturn%20this._selectedColl.getKey(item)!%3D%3Dundefined%7Delse%7Breturn%20this.selected%3D%3Ditem%7D%7D%2Cdeselect%3Afunction(item)%7Bif(this.multi)%7Bif(this.isSelected(item))%7Bvar%20skey%3Dthis._selectedColl.getKey(item)%3Bthis.arrayDelete(%22selected%22%2Citem)%3Bthis.unlinkPaths(%22selected.%22%2Bskey)%7D%7Delse%7Bthis.selected%3Dnull%3Bthis.selectedItem%3Dnull%3Bthis.unlinkPaths(%22selected%22)%3Bthis.unlinkPaths(%22selectedItem%22)%7D%7D%2Cselect%3Afunction(item)%7Bvar%20icol%3DPolymer.Collection.get(this.items)%3Bvar%20key%3Dicol.getKey(item)%3Bif(this.multi)%7Bif(this.isSelected(item))%7Bif(this.toggle)%7Bthis.deselect(item)%7D%7Delse%7Bthis.push(%22selected%22%2Citem)%3Bvar%20skey%3Dthis._selectedColl.getKey(item)%3Bthis.linkPaths(%22selected.%22%2Bskey%2C%22items.%22%2Bkey)%7D%7Delse%7Bif(this.toggle%26%26item%3D%3Dthis.selected)%7Bthis.deselect()%7Delse%7Bthis.selected%3Ditem%3Bthis.selectedItem%3Ditem%3Bthis.linkPaths(%22selected%22%2C%22items.%22%2Bkey)%3Bthis.linkPaths(%22selectedItem%22%2C%22items.%22%2Bkey)%7D%7D%7D%7D)%3BPolymer(%7Bis%3A%22dom-if%22%2C%22extends%22%3A%22template%22%2C_template%3Anull%2Cproperties%3A%7B%22if%22%3A%7Btype%3ABoolean%2Cvalue%3Afalse%2Cobserver%3A%22_queueRender%22%7D%2Crestamp%3A%7Btype%3ABoolean%2Cvalue%3Afalse%2Cobserver%3A%22_queueRender%22%7D%7D%2Cbehaviors%3A%5BPolymer.Templatizer%5D%2C_queueRender%3Afunction()%7Bthis._debounceTemplate(this._render)%7D%2Cdetached%3Afunction()%7Bif(!this.parentNode%7C%7Cthis.parentNode.nodeType%3D%3DNode.DOCUMENT_FRAGMENT_NODE%26%26(!Polymer.Settings.hasShadow%7C%7C!(this.parentNode%20instanceof%20ShadowRoot)))%7Bthis._teardownInstance()%7D%7D%2Cattached%3Afunction()%7Bif(this.if%26%26this.ctor)%7Bthis.async(this._ensureInstance)%7D%7D%2Crender%3Afunction()%7Bthis._flushTemplates()%7D%2C_render%3Afunction()%7Bif(this.if)%7Bif(!this.ctor)%7Bthis.templatize(this)%7Dthis._ensureInstance()%3Bthis._showHideChildren()%7Delse%20if(this.restamp)%7Bthis._teardownInstance()%7Dif(!this.restamp%26%26this._instance)%7Bthis._showHideChildren()%7Dif(this.if!%3Dthis._lastIf)%7Bthis.fire(%22dom-change%22)%3Bthis._lastIf%3Dthis.if%7D%7D%2C_ensureInstance%3Afunction()%7Bvar%20parentNode%3DPolymer.dom(this).parentNode%3Bif(parentNode)%7Bvar%20parent%3DPolymer.dom(parentNode)%3Bif(!this._instance)%7Bthis._instance%3Dthis.stamp()%3Bvar%20root%3Dthis._instance.root%3Bparent.insertBefore(root%2Cthis)%7Delse%7Bvar%20c%24%3Dthis._instance._children%3Bif(c%24%26%26c%24.length)%7Bvar%20lastChild%3DPolymer.dom(this).previousSibling%3Bif(lastChild!%3D%3Dc%24%5Bc%24.length-1%5D)%7Bfor(var%20i%3D0%2Cn%3Bi%3Cc%24.length%26%26(n%3Dc%24%5Bi%5D)%3Bi%2B%2B)%7Bparent.insertBefore(n%2Cthis)%7D%7D%7D%7D%7D%7D%2C_teardownInstance%3Afunction()%7Bif(this._instance)%7Bvar%20c%24%3Dthis._instance._children%3Bif(c%24%26%26c%24.length)%7Bvar%20parent%3DPolymer.dom(Polymer.dom(c%24%5B0%5D).parentNode)%3Bfor(var%20i%3D0%2Cn%3Bi%3Cc%24.length%26%26(n%3Dc%24%5Bi%5D)%3Bi%2B%2B)%7Bparent.removeChild(n)%7D%7Dthis._instance%3Dnull%7D%7D%2C_showHideChildren%3Afunction()%7Bvar%20hidden%3Dthis.__hideTemplateChildren__%7C%7C!this.if%3Bif(this._instance)%7Bthis._instance._showHideChildren(hidden)%7D%7D%2C_forwardParentProp%3Afunction(prop%2Cvalue)%7Bif(this._instance)%7Bthis._instance%5Bprop%5D%3Dvalue%7D%7D%2C_forwardParentPath%3Afunction(path%2Cvalue)%7Bif(this._instance)%7Bthis._instance._notifyPath(path%2Cvalue%2Ctrue)%7D%7D%7D)%3BPolymer(%7Bis%3A%22dom-bind%22%2C%22extends%22%3A%22template%22%2C_template%3Anull%2Ccreated%3Afunction()%7Bvar%20self%3Dthis%3BPolymer.RenderStatus.whenReady(function()%7Bself._markImportsReady()%7D)%7D%2C_ensureReady%3Afunction()%7Bif(!this._readied)%7Bthis._readySelf()%7D%7D%2C_markImportsReady%3Afunction()%7Bthis._importsReady%3Dtrue%3Bthis._ensureReady()%7D%2C_registerFeatures%3Afunction()%7Bthis._prepConstructor()%7D%2C_insertChildren%3Afunction()%7Bvar%20parentDom%3DPolymer.dom(Polymer.dom(this).parentNode)%3BparentDom.insertBefore(this.root%2Cthis)%7D%2C_removeChildren%3Afunction()%7Bif(this._children)%7Bfor(var%20i%3D0%3Bi%3Cthis._children.length%3Bi%2B%2B)%7Bthis.root.appendChild(this._children%5Bi%5D)%7D%7D%7D%2C_initFeatures%3Afunction()%7B%7D%2C_scopeElementClass%3Afunction(element%2Cselector)%7Bif(this.dataHost)%7Breturn%20this.dataHost._scopeElementClass(element%2Cselector)%7Delse%7Breturn%20selector%7D%7D%2C_prepConfigure%3Afunction()%7Bvar%20config%3D%7B%7D%3Bfor(var%20prop%20in%20this._propertyEffects)%7Bconfig%5Bprop%5D%3Dthis%5Bprop%5D%7Dvar%20setupConfigure%3Dthis._setupConfigure%3Bthis._setupConfigure%3Dfunction()%7BsetupConfigure.call(this%2Cconfig)%7D%7D%2Cattached%3Afunction()%7Bif(this._importsReady)%7Bthis.render()%7D%7D%2Cdetached%3Afunction()%7Bthis._removeChildren()%7D%2Crender%3Afunction()%7Bthis._ensureReady()%3Bif(!this._children)%7Bthis._template%3Dthis%3Bthis._prepAnnotations()%3Bthis._prepEffects()%3Bthis._prepBehaviors()%3Bthis._prepConfigure()%3Bthis._prepBindings()%3Bthis._prepPropertyInfo()%3BPolymer.Base._initFeatures.call(this)%3Bthis._children%3DPolymer.TreeApi.arrayCopyChildNodes(this.root)%7Dthis._insertChildren()%3Bthis.fire(%22dom-change%22)%7D%7D)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fnap-assets.nap-live.ext.net-a-porter.com%2Fgirdle%2Fbower_components%2Fpolymer%2Fpolymer.c928c30ad6a55f71.html-2.js%0A
  • javascript;charset=utf-8,function%20MakePromise(asap)%7Bfunction%20Promise(fn)%7Bif(typeof%20this!%3D%3D%22object%22%7C%7Ctypeof%20fn!%3D%3D%22function%22)throw%20new%20TypeError%3Bthis._state%3Dnull%3Bthis._value%3Dnull%3Bthis._deferreds%3D%5B%5D%3BdoResolve(fn%2Cresolve.bind(this)%2Creject.bind(this))%7Dfunction%20handle(deferred)%7Bvar%20me%3Dthis%3Bif(this._state%3D%3D%3Dnull)%7Bthis._deferreds.push(deferred)%3Breturn%7Dasap(function()%7Bvar%20cb%3Dme._state%3Fdeferred.onFulfilled%3Adeferred.onRejected%3Bif(typeof%20cb!%3D%3D%22function%22)%7B(me._state%3Fdeferred.resolve%3Adeferred.reject)(me._value)%3Breturn%7Dvar%20ret%3Btry%7Bret%3Dcb(me._value)%7Dcatch(e)%7Bdeferred.reject(e)%3Breturn%7Ddeferred.resolve(ret)%7D)%7Dfunction%20resolve(newValue)%7Btry%7Bif(newValue%3D%3D%3Dthis)throw%20new%20TypeError%3Bif(newValue%26%26(typeof%20newValue%3D%3D%3D%22object%22%7C%7Ctypeof%20newValue%3D%3D%3D%22function%22))%7Bvar%20then%3DnewValue.then%3Bif(typeof%20then%3D%3D%3D%22function%22)%7BdoResolve(then.bind(newValue)%2Cresolve.bind(this)%2Creject.bind(this))%3Breturn%7D%7Dthis._state%3Dtrue%3Bthis._value%3DnewValue%3Bfinale.call(this)%7Dcatch(e)%7Breject.call(this%2Ce)%7D%7Dfunction%20reject(newValue)%7Bthis._state%3Dfalse%3Bthis._value%3DnewValue%3Bfinale.call(this)%7Dfunction%20finale()%7Bfor(var%20i%3D0%2Clen%3Dthis._deferreds.length%3Bi%3Clen%3Bi%2B%2B)%7Bhandle.call(this%2Cthis._deferreds%5Bi%5D)%7Dthis._deferreds%3Dnull%7Dfunction%20doResolve(fn%2ConFulfilled%2ConRejected)%7Bvar%20done%3Dfalse%3Btry%7Bfn(function(value)%7Bif(done)return%3Bdone%3Dtrue%3BonFulfilled(value)%7D%2Cfunction(reason)%7Bif(done)return%3Bdone%3Dtrue%3BonRejected(reason)%7D)%7Dcatch(ex)%7Bif(done)return%3Bdone%3Dtrue%3BonRejected(ex)%7D%7DPromise.prototype%5B%22catch%22%5D%3Dfunction(onRejected)%7Breturn%20this.then(null%2ConRejected)%7D%3BPromise.prototype.then%3Dfunction(onFulfilled%2ConRejected)%7Bvar%20me%3Dthis%3Breturn%20new%20Promise(function(resolve%2Creject)%7Bhandle.call(me%2C%7BonFulfilled%3AonFulfilled%2ConRejected%3AonRejected%2Cresolve%3Aresolve%2Creject%3Areject%7D)%7D)%7D%3BPromise.resolve%3Dfunction(value)%7Bif(value%26%26typeof%20value%3D%3D%3D%22object%22%26%26value.constructor%3D%3D%3DPromise)%7Breturn%20value%7Dreturn%20new%20Promise(function(resolve)%7Bresolve(value)%7D)%7D%3BPromise.reject%3Dfunction(value)%7Breturn%20new%20Promise(function(resolve%2Creject)%7Breject(value)%7D)%7D%3Breturn%20Promise%7Dif(typeof%20module!%3D%3D%22undefined%22)%7Bmodule.exports%3DMakePromise%7D%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fnap-assets.nap-live.ext.net-a-porter.com%2Fgirdle%2Fbower_components%2Fbower-nap-components%2Fdist%2Fcomponent-collections%2Fglobal.dfd2c9d4f553ed06.html.js%0A
  • javascript;charset=utf-8,if(!window.Promise)%7Bwindow.Promise%3DMakePromise(Polymer.Base.async)%7D%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fnap-assets.nap-live.ext.net-a-porter.com%2Fgirdle%2Fbower_components%2Fbower-nap-components%2Fdist%2Fcomponent-collections%2Fglobal.dfd2c9d4f553ed06.html-1.js%0A
  • javascript;charset=utf-8,%22use%20strict%22%3BPolymer(%7Bis%3A%22iron-request%22%2ChostAttributes%3A%7Bhidden%3Atrue%7D%2Cproperties%3A%7Bxhr%3A%7Btype%3AObject%2Cnotify%3Atrue%2CreadOnly%3Atrue%2Cvalue%3Afunction()%7Breturn%20new%20XMLHttpRequest%7D%7D%2Cresponse%3A%7Btype%3AObject%2Cnotify%3Atrue%2CreadOnly%3Atrue%2Cvalue%3Afunction()%7Breturn%20null%7D%7D%2Cstatus%3A%7Btype%3ANumber%2Cnotify%3Atrue%2CreadOnly%3Atrue%2Cvalue%3A0%7D%2CstatusText%3A%7Btype%3AString%2Cnotify%3Atrue%2CreadOnly%3Atrue%2Cvalue%3A%22%22%7D%2Ccompletes%3A%7Btype%3AObject%2CreadOnly%3Atrue%2Cnotify%3Atrue%2Cvalue%3Afunction()%7Breturn%20new%20Promise(function(resolve%2Creject)%7Bthis.resolveCompletes%3Dresolve%3Bthis.rejectCompletes%3Dreject%7D.bind(this))%7D%7D%2Cprogress%3A%7Btype%3AObject%2Cnotify%3Atrue%2CreadOnly%3Atrue%2Cvalue%3Afunction()%7Breturn%7B%7D%7D%7D%2Caborted%3A%7Btype%3ABoolean%2Cnotify%3Atrue%2CreadOnly%3Atrue%2Cvalue%3Afalse%7D%2Cerrored%3A%7Btype%3ABoolean%2Cnotify%3Atrue%2CreadOnly%3Atrue%2Cvalue%3Afalse%7D%2CtimedOut%3A%7Btype%3ABoolean%2Cnotify%3Atrue%2CreadOnly%3Atrue%2Cvalue%3Afalse%7D%7D%2Cget%20succeeded()%7Bif(this.errored%7C%7Cthis.aborted%7C%7Cthis.timedOut)%7Breturn%20false%7Dvar%20status%3Dthis.xhr.status%7C%7C0%3Breturn%20status%3D%3D%3D0%7C%7Cstatus%3E%3D200%26%26status%3C300%7D%2Csend%3Afunction(options)%7Bvar%20xhr%3Dthis.xhr%3Bif(xhr.readyState%3E0)%7Breturn%20null%7Dxhr.addEventListener(%22progress%22%2Cfunction(progress)%7Bthis._setProgress(%7BlengthComputable%3Aprogress.lengthComputable%2Cloaded%3Aprogress.loaded%2Ctotal%3Aprogress.total%7D)%7D.bind(this))%3Bxhr.addEventListener(%22error%22%2Cfunction(error)%7Bthis._setErrored(true)%3Bthis._updateStatus()%3Bthis.rejectCompletes(error)%7D.bind(this))%3Bxhr.addEventListener(%22timeout%22%2Cfunction(error)%7Bthis._setTimedOut(true)%3Bthis._updateStatus()%3Bthis.rejectCompletes(error)%7D.bind(this))%3Bxhr.addEventListener(%22abort%22%2Cfunction()%7Bthis._updateStatus()%3Bthis.rejectCompletes(new%20Error(%22Request%20aborted.%22))%7D.bind(this))%3Bxhr.addEventListener(%22loadend%22%2Cfunction()%7Bthis._updateStatus()%3Bif(!this.succeeded)%7Bthis.rejectCompletes(new%20Error(%22The%20request%20failed%20with%20status%20code%3A%20%22%2Bthis.xhr.status))%3Breturn%7Dthis._setResponse(this.parseResponse())%3Bthis.resolveCompletes(this)%7D.bind(this))%3Bthis.url%3Doptions.url%3Bxhr.open(options.method%7C%7C%22GET%22%2Coptions.url%2Coptions.async!%3D%3Dfalse)%3Bvar%20acceptType%3D%7Bjson%3A%22application%2Fjson%22%2Ctext%3A%22text%2Fplain%22%2Chtml%3A%22text%2Fhtml%22%2Cxml%3A%22application%2Fxml%22%2Carraybuffer%3A%22application%2Foctet-stream%22%7D%5Boptions.handleAs%5D%3Bvar%20headers%3Doptions.headers%7C%7CObject.create(null)%3Bvar%20newHeaders%3DObject.create(null)%3Bfor(var%20key%20in%20headers)%7BnewHeaders%5Bkey.toLowerCase()%5D%3Dheaders%5Bkey%5D%7Dheaders%3DnewHeaders%3Bif(acceptType%26%26!headers%5B%22accept%22%5D)%7Bheaders%5B%22accept%22%5D%3DacceptType%7DObject.keys(headers).forEach(function(requestHeader)%7Bif(%2F%5BA-Z%5D%2F.test(requestHeader))%7Bconsole.error(%22Headers%20must%20be%20lower%20case%2C%20got%22%2CrequestHeader)%7Dxhr.setRequestHeader(requestHeader%2Cheaders%5BrequestHeader%5D)%7D%2Cthis)%3Bif(options.async!%3D%3Dfalse)%7Bvar%20handleAs%3Doptions.handleAs%3Bif(!!options.jsonPrefix%7C%7C!handleAs)%7BhandleAs%3D%22text%22%7Dxhr.responseType%3Dxhr._responseType%3DhandleAs%3Bif(!!options.jsonPrefix)%7Bxhr._jsonPrefix%3Doptions.jsonPrefix%7D%7Dxhr.withCredentials%3D!!options.withCredentials%3Bxhr.timeout%3Doptions.timeout%3Bvar%20body%3Dthis._encodeBodyObject(options.body%2Cheaders%5B%22content-type%22%5D)%3Bxhr.send(body)%3Breturn%20this.completes%7D%2CparseResponse%3Afunction()%7Bvar%20xhr%3Dthis.xhr%3Bvar%20responseType%3Dxhr.responseType%7C%7Cxhr._responseType%3Bvar%20preferResponseText%3D!this.xhr.responseType%3Bvar%20prefixLen%3Dxhr._jsonPrefix%26%26xhr._jsonPrefix.length%7C%7C0%3Btry%7Bswitch(responseType)%7Bcase%22json%22%3Aif(preferResponseText%7C%7Cxhr.response%3D%3D%3Dundefined)%7Btry%7Breturn%20JSON.parse(xhr.responseText)%7Dcatch(_)%7Breturn%20null%7D%7Dreturn%20xhr.response%3Bcase%22xml%22%3Areturn%20xhr.responseXML%3Bcase%22blob%22%3Acase%22document%22%3Acase%22arraybuffer%22%3Areturn%20xhr.response%3Bcase%22text%22%3Adefault%3A%7Bif(prefixLen)%7Btry%7Breturn%20JSON.parse(xhr.responseText.substring(prefixLen))%7Dcatch(_)%7Breturn%20null%7D%7Dreturn%20xhr.responseText%7D%7D%7Dcatch(e)%7Bthis.rejectCompletes(new%20Error(%22Could%20not%20parse%20response.%20%22%2Be.message))%7D%7D%2Cabort%3Afunction()%7Bthis._setAborted(true)%3Bthis.xhr.abort()%7D%2C_encodeBodyObject%3Afunction(body%2CcontentType)%7Bif(typeof%20body%3D%3D%22string%22)%7Breturn%20body%7Dvar%20bodyObj%3Dbody%3Bswitch(contentType)%7Bcase%22application%2Fjson%22%3Areturn%20JSON.stringify(bodyObj)%3Bcase%22application%2Fx-www-form-urlencoded%22%3Areturn%20this._wwwFormUrlEncode(bodyObj)%7Dreturn%20body%7D%2C_wwwFormUrlEncode%3Afunction(object)%7Bif(!object)%7Breturn%22%22%7Dvar%20pieces%3D%5B%5D%3BObject.keys(object).forEach(function(key)%7Bpieces.push(this._wwwFormUrlEncodePiece(key)%2B%22%3D%22%2Bthis._wwwFormUrlEncodePiece(object%5Bkey%5D))%7D%2Cthis)%3Breturn%20pieces.join(%22%26%22)%7D%2C_wwwFormUrlEncodePiece%3Afunction(str)%7Breturn%20encodeURIComponent(str.toString().replace(%2F%5Cr%3F%5Cn%2Fg%2C%22%5Cr%5Cn%22)).replace(%2F%2520%2Fg%2C%22%2B%22)%7D%2C_updateStatus%3Afunction()%7Bthis._setStatus(this.xhr.status)%3Bthis._setStatusText(this.xhr.statusText%3D%3D%3Dundefined%3F%22%22%3Athis.xhr.statusText)%7D%7D)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fnap-assets.nap-live.ext.net-a-porter.com%2Fgirdle%2Fbower_components%2Fbower-nap-components%2Fdist%2Fcomponent-collections%2Fglobal.dfd2c9d4f553ed06.html-2.js%0A
  • t2
  • javascript;charset=utf-8,%22use%20strict%22%3BPolymer(%7Bis%3A%22iron-ajax%22%2ChostAttributes%3A%7Bhidden%3Atrue%7D%2Cproperties%3A%7Burl%3A%7Btype%3AString%7D%2Cparams%3A%7Btype%3AObject%2Cvalue%3Afunction()%7Breturn%7B%7D%7D%7D%2Cmethod%3A%7Btype%3AString%2Cvalue%3A%22GET%22%7D%2Cheaders%3A%7Btype%3AObject%2Cvalue%3Afunction()%7Breturn%7B%7D%7D%7D%2CcontentType%3A%7Btype%3AString%2Cvalue%3Anull%7D%2Cbody%3A%7Btype%3AObject%2Cvalue%3Anull%7D%2Csync%3A%7Btype%3ABoolean%2Cvalue%3Afalse%7D%2ChandleAs%3A%7Btype%3AString%2Cvalue%3A%22json%22%7D%2CwithCredentials%3A%7Btype%3ABoolean%2Cvalue%3Afalse%7D%2Ctimeout%3A%7Btype%3ANumber%2Cvalue%3A0%7D%2Cauto%3A%7Btype%3ABoolean%2Cvalue%3Afalse%7D%2Cverbose%3A%7Btype%3ABoolean%2Cvalue%3Afalse%7D%2ClastRequest%3A%7Btype%3AObject%2Cnotify%3Atrue%2CreadOnly%3Atrue%7D%2Cloading%3A%7Btype%3ABoolean%2Cnotify%3Atrue%2CreadOnly%3Atrue%7D%2ClastResponse%3A%7Btype%3AObject%2Cnotify%3Atrue%2CreadOnly%3Atrue%7D%2ClastError%3A%7Btype%3AObject%2Cnotify%3Atrue%2CreadOnly%3Atrue%7D%2CactiveRequests%3A%7Btype%3AArray%2Cnotify%3Atrue%2CreadOnly%3Atrue%2Cvalue%3Afunction()%7Breturn%5B%5D%7D%7D%2CdebounceDuration%3A%7Btype%3ANumber%2Cvalue%3A0%2Cnotify%3Atrue%7D%2CjsonPrefix%3A%7Btype%3AString%2Cvalue%3A%22%22%7D%2C_boundHandleResponse%3A%7Btype%3AFunction%2Cvalue%3Afunction()%7Breturn%20this._handleResponse.bind(this)%7D%7D%7D%2Cobservers%3A%5B%22_requestOptionsChanged(url%2C%20method%2C%20params.*%2C%20headers%2C%20contentType%2C%20%22%2B%22body%2C%20sync%2C%20handleAs%2C%20jsonPrefix%2C%20withCredentials%2C%20timeout%2C%20auto)%22%5D%2Cget%20queryString()%7Bvar%20queryParts%3D%5B%5D%3Bvar%20param%3Bvar%20value%3Bfor(param%20in%20this.params)%7Bvalue%3Dthis.params%5Bparam%5D%3Bparam%3Dwindow.encodeURIComponent(param)%3Bif(Array.isArray(value))%7Bfor(var%20i%3D0%3Bi%3Cvalue.length%3Bi%2B%2B)%7BqueryParts.push(param%2B%22%3D%22%2Bwindow.encodeURIComponent(value%5Bi%5D))%7D%7Delse%20if(value!%3D%3Dnull)%7BqueryParts.push(param%2B%22%3D%22%2Bwindow.encodeURIComponent(value))%7Delse%7BqueryParts.push(param)%7D%7Dreturn%20queryParts.join(%22%26%22)%7D%2Cget%20requestUrl()%7Bvar%20queryString%3Dthis.queryString%3Bif(queryString)%7Bvar%20bindingChar%3Dthis.url.indexOf(%22%3F%22)%3E%3D0%3F%22%26%22%3A%22%3F%22%3Breturn%20this.url%2BbindingChar%2BqueryString%7Dreturn%20this.url%7D%2Cget%20requestHeaders()%7Bvar%20headers%3D%7B%7D%3Bvar%20contentType%3Dthis.contentType%3Bif(contentType%3D%3Dnull%26%26typeof%20this.body%3D%3D%3D%22string%22)%7BcontentType%3D%22application%2Fx-www-form-urlencoded%22%7Dif(contentType)%7Bheaders%5B%22content-type%22%5D%3DcontentType%7Dvar%20header%3Bif(this.headers%20instanceof%20Object)%7Bfor(header%20in%20this.headers)%7Bheaders%5Bheader%5D%3Dthis.headers%5Bheader%5D.toString()%7D%7Dreturn%20headers%7D%2CtoRequestOptions%3Afunction()%7Breturn%7Burl%3Athis.requestUrl%7C%7C%22%22%2Cmethod%3Athis.method%2Cheaders%3Athis.requestHeaders%2Cbody%3Athis.body%2Casync%3A!this.sync%2ChandleAs%3Athis.handleAs%2CjsonPrefix%3Athis.jsonPrefix%2CwithCredentials%3Athis.withCredentials%2Ctimeout%3Athis.timeout%7D%7D%2CgenerateRequest%3Afunction()%7Bvar%20request%3Ddocument.createElement(%22iron-request%22)%3Bvar%20requestOptions%3Dthis.toRequestOptions()%3Bthis.activeRequests.push(request)%3Brequest.completes.then(this._boundHandleResponse).catch(this._handleError.bind(this%2Crequest)).then(this._discardRequest.bind(this%2Crequest))%3Brequest.send(requestOptions)%3Bthis._setLastRequest(request)%3Bthis._setLoading(true)%3Bthis.fire(%22request%22%2C%7Brequest%3Arequest%2Coptions%3ArequestOptions%7D%2C%7Bbubbles%3Afalse%7D)%3Breturn%20request%7D%2C_handleResponse%3Afunction(request)%7Bif(request%3D%3D%3Dthis.lastRequest)%7Bthis._setLastResponse(request.response)%3Bthis._setLastError(null)%3Bthis._setLoading(false)%7Dthis.fire(%22response%22%2Crequest%2C%7Bbubbles%3Afalse%7D)%7D%2C_handleError%3Afunction(request%2Cerror)%7Bif(this.verbose)%7Bconsole.error(error)%7Dif(request%3D%3D%3Dthis.lastRequest)%7Bthis._setLastError(%7Brequest%3Arequest%2Cerror%3Aerror%7D)%3Bthis._setLastResponse(null)%3Bthis._setLoading(false)%7Dthis.fire(%22error%22%2C%7Brequest%3Arequest%2Cerror%3Aerror%7D%2C%7Bbubbles%3Afalse%7D)%7D%2C_discardRequest%3Afunction(request)%7Bvar%20requestIndex%3Dthis.activeRequests.indexOf(request)%3Bif(requestIndex%3E-1)%7Bthis.activeRequests.splice(requestIndex%2C1)%7D%7D%2C_requestOptionsChanged%3Afunction()%7Bthis.debounce(%22generate-request%22%2Cfunction()%7Bif(this.url%3D%3Dnull)%7Breturn%7Dif(this.auto)%7Bthis.generateRequest()%7D%7D%2Cthis.debounceDuration)%7D%7D)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fnap-assets.nap-live.ext.net-a-porter.com%2Fgirdle%2Fbower_components%2Fbower-nap-components%2Fdist%2Fcomponent-collections%2Fglobal.dfd2c9d4f553ed06.html-3.js%0A
  • javascript;charset=utf-8,Polymer.formBehaviour%3D%7Bis%3A%22form-behaviour%22%2CactivateTooltip%3Afunction(element)%7Belement.classList.add(%22tooltip-active%22)%3Belement.addEventListener(%22click%22%2Cfunction%20handler()%7Belement.classList.remove(%22tooltip-active%22)%3Belement.removeEventListener(%22click%22%2Chandler)%7D)%7D%7D%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fnap-assets.nap-live.ext.net-a-porter.com%2Fgirdle%2Fbower_components%2Fbower-nap-components%2Fdist%2Fcomponent-collections%2Fglobal.dfd2c9d4f553ed06.html-4.js%0A
  • javascript;charset=utf-8,Polymer.inputBehaviour%3D%7Bis%3A%22input-behaviour%22%2Cvalid%3Afunction(icon)%7Bif(icon)%7Bicon.classList.add(%22icon-tick_black%22)%3Bicon.classList.remove(%22icon-cross_red%22)%7D%7D%2Cinvalid%3Afunction(icon)%7Bif(icon)%7Bicon.classList.add(%22icon-cross_red%22)%3Bicon.classList.remove(%22icon-tick_black%22)%7D%7D%2CclearIcon%3Afunction(icon)%7Bif(icon)%7Bicon.classList.remove(%22icon-tick_black%22)%3Bicon.classList.remove(%22icon-cross_red%22)%7D%7D%2CfloatLabel%3Afunction(label)%7Bif(label)%7Blabel.classList.add(%22float-label%22)%7D%7D%2CnoFloatLabel%3Afunction(label)%7Bif(label)%7Blabel.classList.remove(%22float-label%22)%7D%7D%2CvalidLabel%3Afunction(label%2ClabelTxt)%7Bif(label%26%26labelTxt)%7Blabel.innerHTML%3DlabelTxt%7D%7D%2CinvalidLabel%3Afunction(label%2ClabelTxt)%7Bif(label%26%26labelTxt)%7Blabel.innerHTML%3DlabelTxt%7D%7D%7D%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fnap-assets.nap-live.ext.net-a-porter.com%2Fgirdle%2Fbower_components%2Fbower-nap-components%2Fdist%2Fcomponent-collections%2Fglobal.dfd2c9d4f553ed06.html-5.js%0A
  • javascript;charset=utf-8,validationBehaviour%3D%7Bis%3A%22validation-behaviour%22%2Cproperties%3A%7Berrors%3AObject%2Crequired%3ABoolean%2Cvalidators%3A%7Btype%3AArray%2Cvalue%3Afunction()%7Breturn%5B%22Missing%22%2C%22TooLong%22%2C%22TooShort%22%2C%22Mismatch%22%5D%7D%7D%2Ccopy%3A%7Btype%3AObject%2Cvalue%3A%7Bmissing%3A%7Ben%3A%22Required%20information%22%2Cfr%3A%22Informations%20obligatoires%22%2Cde%3A%22Erforderliche%20Angabe%22%2Czh%3A%22%E5%BF%85%E5%A1%AB%E4%BF%A1%E6%81%AF%22%7D%2CtooShort%3A%7Ben%3A%22Your%20%3Clabel%3E%20must%20be%20at%20least%20%3Cmin%3E%20characters%22%2Cfr%3A%22Votre%20%3Clabel%3E%20doit%20contenir%20au%20moins%20%3Cmin%3E%20caract%C3%A8res%22%2Cde%3A%22Das%20%3Clabel%3E%20muss%20aus%20mindestens%20%3Cmin%3E%20Zeichen%20bestehen%22%2Czh%3A%22%E6%82%A8%E7%9A%84%3Clabel%3E%E4%B8%8D%E5%BE%97%E5%B0%91%E4%BA%8E%3Cmin%3E%E4%B8%AA%E5%AD%97%E7%AC%A6%22%7D%2CtooLong%3A%7Ben%3A%22Your%20%3Clabel%3E%20can%20contain%20up%20to%20%3Cmax%3E%20characters%22%2Cfr%3A%22Votre%20%3Clabel%3E%20peut%20contenir%20jusqu'%C3%A0%20%3Cmax%3E%20caract%C3%A8res%22%2Cde%3A%22Ihre%20%3Clabel%3E%20kann%20aus%20bis%20zu%20%3Cmax%3E%20Zeichen%20bestehen%22%2Czh%3A%22%E6%82%A8%E7%9A%84%3Clabel%3E%E4%B8%8D%E5%BE%97%E8%B6%85%E8%BF%87%3Cmax%3E%E4%B8%AA%E5%AD%97%E7%AC%A6%22%7D%2Cmismatch%3A%7Ben%3A%22%3Clabel%3E%20does%20not%20match%22%2Cfr%3A%22Ces%20%3Clabel%3E%20ne%20sont%20pas%20identiques%22%2Cde%3A%22%3Clabel%3E%20stimmen%20nicht%20%C3%BCberein%22%2Czh%3A%22%3Clabel%3E%E4%B8%8D%E5%8C%B9%E9%85%8D%22%7D%7D%7D%7D%2C_onBlur%3Afunction()%7Bthis.validate()%7D%2CgetLabel%3Afunction()%7Breturn%20this.linked%3Fthis.primaryInputEl.label%3Athis.label%7D%2Cvalidate%3Afunction()%7Bvar%20currentError%3D%22%22%3Bvar%20that%3Dthis%3Bif(this.validators.some(function(validator)%7BcurrentError%3Dthat%5B%22check%22%2Bvalidator%5D.call(that)%3Breturn!!currentError%7D))%7Bthis.toggleValidity(false)%3BPolymer.inputBehaviour.invalid(this.iconEl)%3BPolymer.inputBehaviour.invalidLabel(this.labelEl%2CcurrentError)%3Breturn%20false%7Delse%7Bthis.toggleValidity(true)%3BPolymer.inputBehaviour.valid(this.iconEl)%3BPolymer.inputBehaviour.validLabel(this.labelEl%2Cthis.validLabel)%3Breturn%20true%7D%7D%2CtoggleValidity%3Afunction(to)%7Bthis.classList.add(to%3F%22valid%22%3A%22invalid%22)%3Bthis.classList.remove(!to%3F%22valid%22%3A%22invalid%22)%7D%2CcheckMissing%3Afunction()%7Bif(this.required%26%26this.inputEl.value%3D%3D%3D%22%22)%7Breturn%20this.translate(%22missing%22)%7Dreturn%20false%7D%2CcheckTooShort%3Afunction()%7Bif(!this.required%26%26this.inputEl.value.length%3D%3D%3D0)%7Breturn%20false%7Dif(this.minlength%26%26this.inputEl.value.length%3Cthis.minlength)%7Breturn%20this.translate(%22tooShort%22%2C%7Blabel%3ANAP.locale.language%3D%3D%3D%22de%22%3Fthis.getLabel()%3Athis.getLabel().toLowerCase()%2Cmin%3Athis.minlength%7D)%7Dreturn%20false%7D%2CcheckTooLong%3Afunction()%7Bif(this.maxlength%26%26this.inputEl.value.length%3Ethis.maxlength)%7Breturn%20this.translate(%22tooLong%22%2C%7Blabel%3ANAP.locale.language%3D%3D%3D%22de%22%3Fthis.getLabel()%3Athis.getLabel().toLowerCase()%2Cmax%3Athis.maxlength%7D)%7Dreturn%20false%7D%2CcheckMismatch%3Afunction()%7Bif(this.linked%26%26this.inputEl.value!%3D%3D%22%22%26%26this.primaryInputEl.getValue()!%3D%3Dthis.inputEl.value)%7Breturn%20this.translate(%22mismatch%22%2C%7Blabel%3Athis.getLabel()%7D)%7Dreturn%20false%7D%2Ctranslate%3Afunction(key%2Cvars)%7Bvar%20errorMessage%3Bif(this.errors%26%26this.errors%5Bkey%5D)%7BerrorMessage%3Dthis.errors%5Bkey%5D%7Delse%20if(this.copy%5Bkey%5D)%7BerrorMessage%3Dthis.copy%5Bkey%5D%5BNAP.locale.language%5D%7Delse%7Breturn%20this.copy.missing%5BNAP.locale.language%5D%7Dif(vars)%7BObject.keys(vars).forEach(function(key)%7BerrorMessage%3DerrorMessage.replace(%22%3C%22%2Bkey%2B%22%3E%22%2Cvars%5Bkey%5D)%7D)%7Dreturn%20errorMessage%7D%7D%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fnap-assets.nap-live.ext.net-a-porter.com%2Fgirdle%2Fbower_components%2Fbower-nap-components%2Fdist%2Fcomponent-collections%2Fglobal.dfd2c9d4f553ed06.html-6.js%0A
  • s52241627937182
  • javascript;charset=utf-8,Polymer.selectBehaviour%3D%7Bis%3A%22select-behaviour%22%2Cvalid%3Afunction(container)%7Bcontainer.classList.remove(%22invalid%22)%7D%2Cinvalid%3Afunction(container)%7Bcontainer.classList.add(%22invalid%22)%7D%7D%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fnap-assets.nap-live.ext.net-a-porter.com%2Fgirdle%2Fbower_components%2Fbower-nap-components%2Fdist%2Fcomponent-collections%2Fglobal.dfd2c9d4f553ed06.html-7.js%0A
  • javascript;charset=utf-8,Polymer(%7Bis%3A%22nap-product-price%22%2Cproperties%3A%7Bprice%3AObject%2Ccopy%3A%7Btype%3AObject%2Cvalue%3A%7Ben%3A%7BbeforeDiscount%3A%22%22%2Coff%3A%22OFF%22%7D%2Cfr%3A%7BbeforeDiscount%3A%22-%22%2Coff%3A%22%22%7D%2Cde%3A%7BbeforeDiscount%3A%22-%22%2Coff%3A%22%22%7D%2Czh%3A%7BbeforeDiscount%3A%22%22%2Coff%3A%22%E6%8A%98%E6%89%A3%22%7D%7D%7D%7D%2C_currentPrice%3Afunction(price)%7Breturn%20this._formatPrice(price.gross%2Cprice.divisor)%7D%2C_originalPrice%3Afunction(price)%7Breturn%20this._formatPrice(price.original.gross%2Cprice.divisor)%7D%2C_getCurrencyCode%3Afunction()%7Breturn%20NAP.locale.currencyCode%7D%2C_getCurrencySymbol%3Afunction()%7Breturn%20NAP.locale.currencySymbol%7D%2C_formatPrice%3Afunction(amount%2Cdivisor)%7Breturn%20priceString%3DMath.ceil(amount%2Fdivisor).toString().replace(%2F%5Cd(%3F%3D(%5Cd%7B3%7D)%2B%24)%2Fg%2C%22%24%26%2C%22)%7D%2C_discount%3Afunction(price)%7Breturn%20this.copy%5BNAP.locale.language%5D.beforeDiscount%2Bprice.discountPercent%2B%22%25%20%22%2Bthis.copy%5BNAP.locale.language%5D.off%7D%7D)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fnap-assets.nap-live.ext.net-a-porter.com%2Fgirdle%2Fbower_components%2Fbower-nap-components%2Fdist%2Fcomponent-collections%2Fglobal.dfd2c9d4f553ed06.html-8.js%0A
  • javascript;charset=utf-8,Polymer(%7Bis%3A%22nap-product%22%2Cproperties%3A%7Bproduct%3AObject%7D%2ChostAttributes%3A%7Bitemtype%3A%22http%3A%2F%2Fschema.org%2FProduct%22%2Citemscope%3Atrue%7D%2C_imgUrl%3Afunction(pid)%7Breturn%22%2F%2Fcache.net-a-porter.com%2Fimages%2Fproducts%2F%22%2Bpid%2B%22%2F%22%2Bpid%2B%22_in_l.jpg%22%7D%2C_canonicalProductUrl%3Afunction(pid)%7Breturn%22%2Fproduct%2F%22%2Bpid%7D%2C_nameInvisible%3Afunction(nameInvisible)%7Bif(nameInvisible)%7Breturn%22name%20hidden%22%7Delse%7Breturn%22name%22%7D%7D%2C_productUrl%3Afunction(pid)%7Breturn%22%2F%22%2BNAP.locale.country.toLowerCase()%2B%22%2F%22%2BNAP.locale.language%2B%22%2Fproduct%2F%22%2Bpid%7D%2C_indexShot%3Afunction()%7Bif(!document.documentElement.classList.contains(%22touch%22))%7Bthis.%24.image.src%3Dthis.%24.image.src.replace(%2Fou_(.*)%5C.jpg%2F%2C%22in_%241.jpg%22)%7D%7D%2C_hoverShot%3Afunction()%7Bif(!document.documentElement.classList.contains(%22touch%22))%7Bthis.%24.image.src%3Dthis.%24.image.src.replace(%2Fin_(.*)%5C.jpg%2F%2C%22ou_%241.jpg%22)%7D%7D%2C_getSku%3Afunction(sku)%7Breturn%5Bsku%5D%7D%7D)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fnap-assets.nap-live.ext.net-a-porter.com%2Fgirdle%2Fbower_components%2Fbower-nap-components%2Fdist%2Fcomponent-collections%2Fglobal.dfd2c9d4f553ed06.html-9.js%0A
  • ec.js
  • javascript;charset=utf-8,Polymer(%7Bis%3A%22loading-spinner%22%7D)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fnap-assets.nap-live.ext.net-a-porter.com%2Fgirdle%2Fbower_components%2Fbower-nap-components%2Fdist%2Fcomponent-collections%2Fglobal.dfd2c9d4f553ed06.html-10.js%0A
  • javascript;charset=utf-8,Polymer(%7Bis%3A%22widget-show-hide%22%2Cproperties%3A%7Bopen%3A%7Btype%3ABoolean%2Cvalue%3Afalse%7D%2Cname%3AString%7D%2Cready%3Afunction()%7Bif(this.open)%7Bthis.toggle()%7Dvar%20title%3Dthis.querySelector(%22.show-hide-title%22)%3Bvar%20self%3Dthis%3Bif(title)%7Btitle.addEventListener(%22click%22%2Cfunction()%7Bself._onClick()%7D)%7Dvar%20content%3Dthis.querySelector(%22.show-hide-content%22)%3Bcontent.addEventListener(%22animationend%22%2Cfunction()%7Bself.classList.remove(%22transitioning%22)%7D)%7D%2C_onClick%3Afunction()%7Bvar%20isOpen%3Dthis.toggle()%3Bif(isOpen)%7Bthis.fire(%22open%22)%7Delse%7Bthis.fire(%22close%22)%7D%7D%2Ctoggle%3Afunction()%7Bvar%20self%3Dthis%3Bvar%20icon%3Dthis.querySelector(%22.icon%22)%3Bthis.classList.add(%22transitioning%22)%3Bvar%20isOpen%3Dthis.classList.toggle(%22open%22)%3Bicon.classList.toggle(%22icon-plus%22)%3Bicon.classList.toggle(%22icon-minus%22)%3Breturn%20isOpen%7D%2CgetName%3Afunction()%7Breturn%20this.name%7D%7D)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fnap-assets.nap-live.ext.net-a-porter.com%2Fgirdle%2Fbower_components%2Fbower-nap-components%2Fdist%2Fcomponent-collections%2Fglobal.dfd2c9d4f553ed06.html-11.js%0A
  • collect
  • ytc.js
  • javascript;charset=utf-8,Polymer(%7Bis%3A%22nap-button%22%2Cproperties%3A%7Bbutton%3A%7Btype%3AString%2Cvalue%3A%22primary%22%7D%2Ctype%3A%7Btype%3AString%2Cvalue%3A%22button%22%7D%2Cwide%3A%7Btype%3ABoolean%2Cvalue%3Afalse%7D%7D%7D)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fnap-assets.nap-live.ext.net-a-porter.com%2Fgirdle%2Fbower_components%2Fbower-nap-components%2Fdist%2Fcomponent-collections%2Fglobal.dfd2c9d4f553ed06.html-12.js%0A
  • collect
  • javascript;charset=utf-8,Polymer(%7Bis%3A%22nap-form%22%2Cproperties%3A%7Bid%3AString%2Cname%3AString%2C%22class%22%3AString%2Cmethod%3A%7Btype%3AString%2Cvalue%3A%22POST%22%7D%2Caction%3AString%7D%2Cready%3Afunction()%7Bvar%20that%3Dthis%3Bthis.%24%24(%22form%22).addEventListener(%22submit%22%2Cfunction(el)%7Bel.preventDefault()%3Bif(that.isValid())%7Bthat.%24%24(%22form%22).submit()%7D%7D)%7D%2CisValid%3Afunction()%7Breturn%20Array.prototype.every.call(this.querySelectorAll(%22.form-element%22)%2Cfunction(el)%7Breturn%20el.validate()%7D)%7D%7D)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fnap-assets.nap-live.ext.net-a-porter.com%2Fgirdle%2Fbower_components%2Fbower-nap-components%2Fdist%2Fcomponent-collections%2Fglobal.dfd2c9d4f553ed06.html-13.js%0A
  • javascript;charset=utf-8,Polymer(%7Bis%3A%22input-email%22%2Cproperties%3A%7Bname%3AString%2Clinked%3AString%2Clabel%3AString%2Ctooltip%3AString%2Cvalue%3AString%2Cminlength%3AString%2Cmaxlength%3AString%7D%2Cbehaviors%3A%5BvalidationBehaviour%5D%2Cready%3Afunction()%7Bthis.classList.add(%22form-element%22)%3Bthis.inputEl%3Dthis.querySelector(%22input%22)%3Bthis.labelEl%3Dthis.querySelector(%22label%22)%3Bthis.iconEl%3Dthis.querySelector(%22span%22)%3Bthis.validators.push(%22InvalidEmailFormat%22)%3Bthis.copy.invalidEmail%3D%7Ben%3A%22Please%20enter%20a%20valid%20email%20address%22%2Cfr%3A%22Veuillez%20saisir%20une%20adresse%20e-mail%20valide%22%2Cde%3A%22Die%20E-Mail-Adresse%20ist%20nicht%20g%C3%BCltig%22%2Czh%3A%22%E8%AF%B7%E8%BE%93%E5%85%A5%E4%B8%80%E4%B8%AA%E6%9C%89%E6%95%88%E7%9A%84%E7%94%B5%E5%AD%90%E9%82%AE%E7%AE%B1%E5%9C%B0%E5%9D%80%22%7D%3Bthis.copy.mismatch.fr%3D%22Ces%20adresses%20e-mail%20ne%20sont%20pas%20identiques%22%3Bthis.copy.mismatch.de%3D%22E-Mail-Adressen%20stimmen%20nicht%20%C3%BCberein%22%3Bthis.validLabel%3Dthis.label%3Bif(this.required)%7Bthis.validLabel%3Dthis.label%2B%22*%22%3Bthis.labelEl.innerHTML%3Dthis.validLabel%7Dif(this.value)%7BPolymer.inputBehaviour.floatLabel(this.labelEl)%7Dif(this.linked)%7Bvar%20_this%3Dthis%3Bthis.primaryInputEl%3Ddocument.getElementById(this.linked)%3Bthis.primaryInputEl.getElementsByTagName(%22input%22)%5B0%5D.addEventListener(%22change%22%2Cfunction()%7Bif(_this.inputEl.value!%3D%3D%22%22)%7B_this.validate()%7D%7D)%7D%7D%2C_onFocus%3Afunction()%7BPolymer.inputBehaviour.floatLabel(this.labelEl)%3BPolymer.inputBehaviour.validLabel(this.labelEl%2Cthis.validLabel)%7D%2CcheckInvalidEmailFormat%3Afunction()%7Bif(!%2F%5E%5B%5E%5Cs%40%5D%2B%40%5B%5E%5Cs%40%5D%2B%5C.%5B%5E%5Cs%40%5D%2B%24%2F.test(this.inputEl.value))%7Breturn%20this.translate(%22invalidEmail%22)%7Dreturn%20false%7D%2CgetValue%3Afunction()%7Breturn%20this.%24.input.value%7D%2CactivateTooltip%3Afunction()%7Breturn%20Polymer.formBehaviour.activateTooltip(this)%7D%7D)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fnap-assets.nap-live.ext.net-a-porter.com%2Fgirdle%2Fbower_components%2Fbower-nap-components%2Fdist%2Fcomponent-collections%2Fglobal.dfd2c9d4f553ed06.html-14.js%0A
  • javascript;charset=utf-8,Polymer(%7Bis%3A%22input-telephone%22%2Cproperties%3A%7Bname%3AString%2Clabel%3AString%2Ctooltip%3AString%2Clinked%3AString%2Cvalue%3AString%2Cmaxlength%3AString%7D%2Cbehaviors%3A%5BvalidationBehaviour%5D%2Cready%3Afunction()%7Bthis.classList.add(%22form-element%22)%3Bthis.inputEl%3Dthis.querySelector(%22input%22)%3Bthis.labelEl%3Dthis.querySelector(%22label%22)%3Bthis.iconEl%3Dthis.querySelector(%22span%22)%3Bthis.validators.push(%22InvalidTelephoneNumberFormat%22)%3Bthis.copy.invalidTelephoneNumber%3D%7Ben%3A%22Your%20%3Clabel%3E%20can%20only%20contain%20numbers%22%2Cfr%3A%22Votre%20%3Clabel%3E%20ne%20peut%20contenir%20que%20des%20chiffres%22%2Cde%3A%22Ihre%20%3Clabel%3E%20darf%20nur%20aus%20Ziffern%20bestehen.%22%2Czh%3A%22%E6%82%A8%E7%9A%84%3Clabel%3E%E5%8F%AA%E8%83%BD%E5%8C%85%E5%90%AB%E6%95%B0%E5%AD%97%22%7D%3Bthis.validLabel%3Dthis.label%3Bif(this.required)%7Bthis.validLabel%3Dthis.label%2B%22*%22%3Bthis.labelEl.innerHTML%3Dthis.validLabel%7Dif(this.value)%7BPolymer.inputBehaviour.floatLabel(this.labelEl)%7Dif(this.linked)%7Bvar%20_this%3Dthis%3Bthis.primaryInputEl%3Ddocument.getElementById(this.linked)%3Bthis.primaryInputEl.getElementsByTagName(%22input%22)%5B0%5D.addEventListener(%22change%22%2Cfunction()%7Bif(_this.inputEl.value!%3D%3D%22%22)%7B_this.validate()%7D%7D)%7D%7D%2C_onFocus%3Afunction()%7BPolymer.inputBehaviour.floatLabel(this.labelEl)%3BPolymer.inputBehaviour.validLabel(this.labelEl%2Cthis.label)%7D%2CcheckInvalidTelephoneNumberFormat%3Afunction()%7Bif(!%2F%5E%5B0-9%5D*%24%2F.test(this.inputEl.value))%7Breturn%20this.translate(%22invalidTelephoneNumber%22%2C%7Blabel%3Athis.label.toLowerCase()%7D)%7Dreturn%20false%7D%2CgetValue%3Afunction()%7Breturn%20this.%24.input.value%7D%2CactivateTooltip%3Afunction()%7Breturn%20Polymer.formBehaviour.activateTooltip(this)%7D%7D)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fnap-assets.nap-live.ext.net-a-porter.com%2Fgirdle%2Fbower_components%2Fbower-nap-components%2Fdist%2Fcomponent-collections%2Fglobal.dfd2c9d4f553ed06.html-15.js%0A
  • javascript;charset=utf-8,Polymer(%7Bis%3A%22input-text%22%2Cproperties%3A%7Bname%3AString%2Ctype%3AString%2Clabel%3AString%2Ctooltip%3AString%2Clinked%3AString%2Cvalue%3AString%2Cminlength%3AString%2Cmaxlength%3AString%7D%2Cbehaviors%3A%5BvalidationBehaviour%5D%2Cready%3Afunction()%7Bthis.classList.add(%22form-element%22)%3Bthis.inputEl%3Dthis.querySelector(%22input%22)%3Bthis.labelEl%3Dthis.querySelector(%22label%22)%3Bthis.iconEl%3Dthis.querySelector(%22span%22)%3Bthis.validLabel%3D%22%22%3Bif(this.label!%3D%3Dundefined)%7Bthis._setupLabel()%7Dif(this.value)%7BPolymer.inputBehaviour.floatLabel(this.labelEl)%7Dif(this.linked)%7Bvar%20_this%3Dthis%3Bthis.primaryInputEl%3Ddocument.getElementById(this.linked)%3Bthis.primaryInputEl.getElementsByTagName(%22input%22)%5B0%5D.addEventListener(%22change%22%2Cfunction()%7Bif(_this.inputEl.value!%3D%3D%22%22)%7B_this.validate()%7D%7D)%7D%7D%2C_onFocus%3Afunction()%7Bif(this.validLabel%3D%3D%3D%22%22)%7Bthis._setupLabel()%7DPolymer.inputBehaviour.floatLabel(this.labelEl)%3BPolymer.inputBehaviour.validLabel(this.labelEl%2Cthis.validLabel)%7D%2C_setupLabel%3Afunction()%7Bthis.validLabel%3Dthis.label%3Bif(this.required)%7Bthis.validLabel%2B%3D%22*%22%3Bthis.labelEl.innerHTML%3Dthis.validLabel%7D%7D%2CgetValue%3Afunction()%7Breturn%20this.%24.input.value%7D%2CactivateTooltip%3Afunction()%7Breturn%20Polymer.formBehaviour.activateTooltip(this)%7D%7D)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fnap-assets.nap-live.ext.net-a-porter.com%2Fgirdle%2Fbower_components%2Fbower-nap-components%2Fdist%2Fcomponent-collections%2Fglobal.dfd2c9d4f553ed06.html-16.js%0A
  • javascript;charset=utf-8,Polymer(%7Bis%3A%22select-country%22%2Cproperties%3A%7Bname%3AString%2Clabel%3AString%2Cvalue%3AString%2Ctooltip%3AString%7D%2Cbehaviors%3A%5BvalidationBehaviour%5D%2C_onRequest%3Afunction()%7BNAP.monitoring.registerPerfMark(this.%24.getCountries.url)%7D%2C_onResponse%3Afunction()%7Bthis._setOptions(this.countryApiResponse)%3BNAP.monitoring.measurePerfMark(%22Polymer%22%2Cthis.%24.getCountries.url%2C%7Bstatus%3A%22success%22%7D)%7D%2C_onError%3Afunction()%7BNAP.monitoring.registerPerfMetricAndMonitoring(%22Polymer%22%2C%22API%20Failure%22%2Cthis.%24.getCountries.url%2C%7Bstatus%3A%22error%22%2CerrorThrown%3Athis.countryApiError.error.message%7D)%7D%2Cready%3Afunction()%7Bthis.classList.add(%22form-element%22)%3Bthis.inputEl%3Dthis.querySelector(%22select%22)%7D%2C_setOptions%3Afunction(countryData)%7Bvar%20sortedData%3Dthis._sortCountries(countryData)%3Bvar%20inputEl%3Dthis.getElementsByTagName(%22select%22)%5B0%5D%3Bvar%20that%3Dthis%3BsortedData.forEach(function(item)%7Bvar%20option%3Ddocument.createElement(%22option%22)%3Boption.textContent%3Ditem.name%3Boption.value%3Ditem.iso%3Bif(that.value%26%26item.iso.toLowerCase()%3D%3D%3Dthat.value.toLowerCase())%7Boption.selected%3Dtrue%7DinputEl.appendChild(option)%7D)%7D%2C_getUrl%3Afunction()%7Breturn%22%2F%2Fnap-locale-info.nap-live.ext.net-a-porter.com%2Fcountries%2F1%2F%22%2BNAP.locale.language%2B%22%2Fcountries.json%22%7D%2C_onChange%3Afunction()%7Bthis.validate()%7D%2CcheckMissing%3Afunction()%7Bif(this.required%3D%3D%3Dtrue%26%26this.inputEl.value%3D%3D%3D%22-%22)%7Bthis.toggleValidity(false)%3Breturn%20this.translate(%22missing%22)%7Dthis.toggleValidity(true)%3Breturn%20false%7D%2C_sortCountries%3Afunction(countryData)%7Breturn%20Object.keys(countryData).map(function(iso)%7Breturn%7Biso%3Aiso%2Cname%3AcountryData%5Biso%5D.name%7D%7D).sort(function(c1%2Cc2)%7Breturn%20c1.name.localeCompare(c2.name)%7D)%7D%2CgetValue%3Afunction()%7Bvar%20select%3Dthis.%24.select%3Breturn%20select.options%5Bselect.selectedIndex%5D.value%7D%2CactivateTooltip%3Afunction()%7Breturn%20Polymer.formBehaviour.activateTooltip(this)%7D%7D)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fnap-assets.nap-live.ext.net-a-porter.com%2Fgirdle%2Fbower_components%2Fbower-nap-components%2Fdist%2Fcomponent-collections%2Fglobal.dfd2c9d4f553ed06.html-17.js%0A
  • javascript;charset=utf-8,Polymer(%7Bis%3A%22select-dropdown%22%2Cproperties%3A%7Bname%3AString%2Clabel%3AString%2Coptions%3AArray%2Cvalue%3AString%2Ctooltip%3AString%2Ctype%3AString%7D%2Cbehaviors%3A%5BvalidationBehaviour%5D%2Cready%3Afunction()%7Bthis.classList.add(%22form-element%22)%3Bthis.inputEl%3Dthis.querySelector(%22select%22)%3Bthis.setOptions()%7D%2CsetOptions%3Afunction()%7Bvar%20inputEl%3Dthis.getElementsByTagName(%22select%22)%5B0%5D%3Bif(this.type%3D%3D%3D%22small%22)%7BinputEl.classList.add(%22small%22)%3Bthis.getElementsByClassName(%22icon-arrow_down-active%22)%5B0%5D.classList.add(%22small%22)%7Dvar%20oldOptions%3Dthis.querySelectorAll(%22option%22)%3Bvar%20l%3DoldOptions.length%3Bif(l%3E1)%7Bfor(var%20i%3D1%3Bi%3Cl%3B%2B%2Bi)%7BinputEl.removeChild(oldOptions%5Bi%5D)%7D%7Dvar%20that%3Dthis%3Bthis.options.forEach(function(item)%7Bvar%20option%3Ddocument.createElement(%22option%22)%3Boption.textContent%3Ditem.name%3Boption.value%3Ditem.value%3Bfor(var%20key%20in%20item.data)%7Boption.setAttribute(%22data-%22%2Bkey%2Citem.data%5Bkey%5D)%7Dif(that.value%26%26item.value.toLowerCase()%3D%3D%3Dthat.value.toLowerCase())%7Boption.selected%3Dtrue%7DinputEl.appendChild(option)%7D)%7D%2C_onChange%3Afunction()%7Bthis.validate()%7D%2CcheckMissing%3Afunction()%7Bif(this.required%3D%3D%3Dtrue%26%26this.inputEl.value%3D%3D%3D%22-%22)%7Bthis.toggleValidity(false)%3Breturn%20this.translate(%22missing%22)%7Dthis.toggleValidity(true)%3Breturn%20false%7D%2CgetValue%3Afunction()%7Bvar%20select%3Dthis.%24.select%3Breturn%20select.options%5Bselect.selectedIndex%5D.value%7D%2CgetData%3Afunction(key)%7Bvar%20select%3Dthis.%24.select%3Breturn%20select.options%5Bselect.selectedIndex%5D.getAttribute(%22data-%22%2Bkey)%7D%2CactivateTooltip%3Afunction()%7Breturn%20Polymer.formBehaviour.activateTooltip(this)%7D%7D)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fnap-assets.nap-live.ext.net-a-porter.com%2Fgirdle%2Fbower_components%2Fbower-nap-components%2Fdist%2Fcomponent-collections%2Fglobal.dfd2c9d4f553ed06.html-18.js%0A
  • javascript;charset=utf-8,Polymer(%7Bis%3A%22textarea-field%22%2Cproperties%3A%7Bname%3AString%2Clabel%3AString%2Crows%3ANumber%2Ctooltip%3AString%2Clinked%3AString%2Cvalue%3AString%7D%2Cbehaviors%3A%5BvalidationBehaviour%5D%2Cready%3Afunction()%7Bthis.classList.add(%22form-element%22)%3Bthis.inputEl%3Dthis.querySelector(%22textarea%22)%3Bthis.labelEl%3Dthis.querySelector(%22label%22)%3Bthis.iconEl%3Dthis.querySelector(%22span%22)%3Bthis.validLabel%3Dthis.label%3Bif(this.required)%7Bthis.validLabel%2B%3D%22*%22%3Bthis.labelEl.innerHTML%3Dthis.validLabel%7Dif(this.value)%7BPolymer.inputBehaviour.floatLabel(this.labelEl)%7Dif(this.linked)%7Bvar%20_this%3Dthis%3Bthis.primaryInputEl%3Ddocument.getElementById(this.linked)%3Bthis.primaryInputEl.getElementsByTagName(%22input%22)%5B0%5D.addEventListener(%22change%22%2Cfunction()%7Bif(_this.inputEl.value!%3D%3D%22%22)%7B_this.validate()%7D%7D)%7D%7D%2C_onFocus%3Afunction()%7Bthis.labelEl.classList.add(%22hidden%22)%7D%2CgetValue%3Afunction()%7Breturn%20this.%24.textarea.value%7D%2CactivateTooltip%3Afunction()%7Breturn%20Polymer.formBehaviour.activateTooltip(this)%7D%7D)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fnap-assets.nap-live.ext.net-a-porter.com%2Fgirdle%2Fbower_components%2Fbower-nap-components%2Fdist%2Fcomponent-collections%2Fglobal.dfd2c9d4f553ed06.html-19.js%0A
  • javascript;charset=utf-8,Polymer(%7Bis%3A%22input-checkbox%22%2Cproperties%3A%7Blabel%3A%7Btype%3AString%7D%2Cname%3A%7Btype%3AString%7D%2Cvalue%3A%7Btype%3AString%7D%7D%2Clisteners%3A%7Bclick%3A%22changeState%22%2Cselectstart%3A%22ignore%22%2Cdblclick%3A%22ignore%22%7D%2CchangeState%3Afunction(e)%7Bif(this.%24.checkbox.checked)%7Bthis.%24.tick.classList.add(%22icon-tick_black%22)%7Delse%7Bthis.%24.tick.classList.remove(%22icon-tick_black%22)%7D%7D%2Cignore%3Afunction(e)%7Be.preventDefault()%7D%2Cready%3Afunction()%7Bif(this.value%26%26this.value.toLowerCase()!%3D%3D%22false%22)%7Bthis.%24.checkbox.checked%3Dtrue%7Delse%7Bthis.%24.checkbox.checked%3Dfalse%7Dthis.changeState()%7D%2Cvalidate%3Afunction()%7Breturn%20true%7D%7D)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fnap-assets.nap-live.ext.net-a-porter.com%2Fgirdle%2Fbower_components%2Fbower-nap-components%2Fdist%2Fcomponent-collections%2Fglobal.dfd2c9d4f553ed06.html-20.js%0A
  • tagjs
  • bounce
  • ga-audiences
  • 2.jpg
  • javascript;charset=utf-8,Polymer(%7Bis%3A%22birthday-picker%22%2Cproperties%3A%7Bdaylabel%3AString%2Cdayvalue%3AString%2Cdayname%3A%7Btype%3AString%2Cvalue%3A%22day%22%7D%2Cmonthlabel%3AString%2Cmonthvalue%3AString%2Cmonthname%3A%7Btype%3AString%2Cvalue%3A%22month%22%7D%2Cvalidators%3A%7Btype%3AArray%2Cvalue%3Afunction()%7Breturn%5B%22SaneDate%22%5D%7D%7D%7D%2Cbehaviors%3A%5BvalidationBehaviour%5D%2Cready%3Afunction()%7Bthis.classList.add(%22form-element%22)%3Bthis.dayEl%3Dthis.%24.day%3Bthis.monthEl%3Dthis.%24.month%3Bthis.labelEl%3Dthis.%24.label%3Bthis.setupMonths()%3Bthis.updateDays()()%3Bthis.monthEl.addEventListener(%22change%22%2Cthis.updateDays())%3Bthis.copy.birthday%3D%7Ben%3A%22Please%20select%20both%20the%20day%20and%20month%20of%20birth%22%2Cfr%3A%22Veuillez%20s%C3%A9lectionner%20votre%20jour%20et%20votre%20mois%20de%20naissance%22%2Cde%3A%22Bitte%20geben%20Sie%20sowohl%20den%20Geburtstag%20als%20auch%20den%20Geburtsmonat%20an%22%2Czh%3A%22%E8%AF%B7%E9%80%89%E6%8B%A9%E6%82%A8%E7%9A%84%E5%87%BA%E7%94%9F%E6%97%A5%E6%9C%9F%22%7D%7D%2CsetupMonths%3Afunction()%7Bvar%20that%3Dthis%3Bthis.monthEl.options.forEach(function(val%2Ci)%7Bthat.monthEl.options%5Bi%5D.name%3Dthat.months%5BNAP.locale.language%5D%5Bi%5D%7D)%3Bthis.monthEl.setOptions()%7D%2CupdateDays%3Afunction()%7Bvar%20that%3Dthis%3Breturn%20function()%7Bvar%20day30%3Dthat.dayEl.querySelector('option%5Bvalue%3D%2230%22%5D')%3Bvar%20day31%3Dthat.dayEl.querySelector('option%5Bvalue%3D%2231%22%5D')%3Bfunction%20showOption(optEl)%7BoptEl.style.display%3D%22block%22%3BoptEl.removeAttribute(%22disabled%22)%7Dfunction%20hideOption(optEl)%7BoptEl.style.display%3D%22none%22%3BoptEl.setAttribute(%22disabled%22%2C%22disabled%22)%7Dvar%20numDays%3Dthat.daysInMonth()%3Bif(that.day()!%3D%3D%22-%22)%7Bthat.day(Math.min(that.day()%2CnumDays))%7DnumDays%3E29%3FshowOption(day30)%3AhideOption(day30)%3BnumDays%3E30%3FshowOption(day31)%3AhideOption(day31)%7D%7D%2Cday%3Afunction(setDay)%7Bif(setDay!%3D%3Dundefined)%7Bthis.dayEl.value%3DsetDay%3Bthis.%24.day.querySelector(%22select%22).value%3DsetDay%7Delse%7Bvar%20dayValue%3Dthis.%24.day.querySelector(%22select%22).value%3Breturn%20dayValue%7D%7D%2Cmonth%3Afunction()%7Breturn%20this.%24.month.querySelector(%22select%22).value-1%7C%7C0%7D%2CdaysInMonth%3Afunction()%7Breturn%5B31%2C29%2C31%2C30%2C31%2C30%2C31%2C31%2C30%2C31%2C30%2C31%5D%5Bthis.month()%5D%7D%2CcheckSaneDate%3Afunction()%7Bvar%20realDayValue%3Dthis.day()%3Bvar%20realMonthValue%3Dthis.monthEl.querySelector(%22select%22).value%3Bif(this.required%26%26realDayValue%3D%3D%3D%22-%22%26%26realMonthValue%3D%3D%3D%22-%22)%7Bthis.dayEl.classList.add(%22invalid%22)%3Bthis.monthEl.classList.add(%22invalid%22)%3Breturn%20this.translate(%22missing%22)%7Dif(realDayValue%3D%3D%3D%22-%22%26%26realMonthValue!%3D%3D%22-%22)%7Bthis.dayEl.classList.add(%22invalid%22)%3Breturn%20this.translate(%22birthday%22)%7Dif(realDayValue!%3D%3D%22-%22%26%26realMonthValue%3D%3D%3D%22-%22)%7Bthis.monthEl.classList.add(%22invalid%22)%3Breturn%20this.translate(%22birthday%22)%7Dthis.dayEl.classList.remove(%22invalid%22)%3Bthis.monthEl.classList.remove(%22invalid%22)%3Breturn%20false%7D%2Cmonths%3A%7Ben%3A%5B%22January%22%2C%22February%22%2C%22March%22%2C%22April%22%2C%22May%22%2C%22June%22%2C%22July%22%2C%22August%22%2C%22September%22%2C%22October%22%2C%22November%22%2C%22December%22%5D%2Cfr%3A%5B%22Janvier%22%2C%22F%C3%A9vrier%22%2C%22Mars%22%2C%22Avril%22%2C%22Mai%22%2C%22Juin%22%2C%22Juillet%22%2C%22Ao%C3%BBt%22%2C%22Septembre%22%2C%22Octobre%22%2C%22Novembre%22%2C%22D%C3%A9cembre%22%5D%2Cde%3A%5B%22Januar%22%2C%22Februar%22%2C%22M%C3%A4rz%22%2C%22April%22%2C%22Mai%22%2C%22Juni%22%2C%22Juli%22%2C%22August%22%2C%22September%22%2C%22Oktober%22%2C%22November%22%2C%22Dezember%22%5D%2Czh%3A%5B%221%E6%9C%88%22%2C%222%E6%9C%88%22%2C%223%E6%9C%88%22%2C%224%E6%9C%88%22%2C%225%E6%9C%88%22%2C%226%E6%9C%88%22%2C%227%E6%9C%88%22%2C%228%E6%9C%88%22%2C%229%E6%9C%88%22%2C%2210%E6%9C%88%22%2C%2211%E6%9C%88%22%2C%2212%E6%9C%88%22%5D%7D%7D)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fnap-assets.nap-live.ext.net-a-porter.com%2Fgirdle%2Fbower_components%2Fbower-nap-components%2Fdist%2Fcomponent-collections%2Fglobal.dfd2c9d4f553ed06.html-21.js%0A
  • seg
  • adsct
  • javascript;charset=utf-8,Polymer(%7Bis%3A%22nap-live%22%2Cproperties%3A%7Bcopy%3A%7Btype%3AObject%2Cvalue%3A%7Ben%3A%7Bshoppers_online%3A%22Shoppers%20online%22%2Cwhat_women_buying%3A%22Showcasing%20what%20the%20world's%20most%20stylish%20women%20are%20buying%20right%20now%22%7D%2Cde%3A%7Bshoppers_online%3A%22Shoppers%20online%22%2Cwhat_women_buying%3A%22Was%20die%20stylishsten%20Frauen%20der%20Welt%20jetzt%20kaufen%22%7D%2Cfr%3A%7Bshoppers_online%3A%22visiteurs%20en%20ligne%22%2Cwhat_women_buying%3A%22Ce%20que%20les%20femmes%20les%20plus%20%C3%A9l%C3%A9gantes%20au%20monde%20ach%C3%A8tent%20%C3%A0%20cet%20instant%22%7D%2Czh%3A%7Bshoppers_online%3A%22%E4%BD%8D%E6%97%B6%E5%B0%9A%E7%88%B1%E5%A5%BD%E8%80%85%E5%9C%A8%E7%BA%BF%22%2Cwhat_women_buying%3A%22%E5%90%8C%E6%AD%A5%E4%BA%86%E8%A7%A3%E5%85%A8%E7%90%83%E6%97%B6%E5%B0%9A%E5%A5%B3%E6%80%A7%E6%AD%A3%E5%9C%A8%E8%B4%AD%E4%B9%B0%E7%9A%84%E6%8A%A2%E6%89%8B%E5%8D%95%E5%93%81%22%7D%7D%7D%7D%2C_translate%3Afunction(copy%2Ckey)%7Breturn%20copy%5BNAP.locale.language%5D%5Bkey%5D%7D%7D)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.net-a-porter.com%2Falfresco%2Fnap%2FwebAssets%2FwebPage%2Fhomepage-rebuild%2Fcomponents%2Fnap-live.html.js%0A
  • Pug
  • pixel
  • javascript;charset=utf-8,var%20errorTimerMultipler%3D1%3Bvar%20errorRefreshTimerMaximum%3D3e5%3Bvar%20refreshSessionsTimer%3D6e4%3BPolymer(%7Bis%3A%22nap-live-sessions%22%2Cproperties%3A%7BuserSessions%3A%7Btype%3ANumber%2Cvalue%3A0%7D%7D%2C_onRequest%3Afunction()%7BNAP.monitoring.registerPerfMark(this.%24.getSessions.url)%7D%2C_onResponse%3Afunction()%7Bif(this.sessionsApiResponse%26%26this.sessionsApiResponse.sessioncount)%7Bthis.userSessions%3Dthis.sessionsApiResponse.sessioncount%3Bthis.async(function()%7Bthis.%24.getSessions.generateRequest()%3BerrorTimerMultipler%3D1%7D%2CrefreshSessionsTimer)%3BNAP.monitoring.measurePerfMark(%22Polymer%22%2Cthis.%24.getSessions.url%2C%7Bstatus%3A%22success%22%7D)%7Delse%7Bthis._onError()%7D%7D%2C_onError%3Afunction()%7Bvar%20errorTimerMultiplied%3DrefreshSessionsTimer*errorTimerMultipler%3Bvar%20errorThrown%3Bthis.userSessions%3Dthis.userSessions%3E0%3Fthis.userSessions%3A31337%3Bthis.async(function()%7Bthis.%24.getSessions.generateRequest()%7D%2CerrorTimerMultiplied)%3Bif(errorTimerMultiplied%3CerrorRefreshTimerMaximum)%7BerrorTimerMultipler%3DerrorTimerMultipler*2%7Dif(this.sessionsApiError)%7BerrorThrown%3Dthis.sessionsApiError.error.message%7Delse%7BerrorThrown%3D%22sessions%20response%20empty%22%7DNAP.monitoring.registerPerfMetricAndMonitoring(%22Polymer%22%2C%22API%20Failure%22%2Cthis.%24.getSessions.url%2C%7Burl%3Athis.%24.getSessions.url%2Cstatus%3A%22error%22%2CerrorThrown%3AerrorThrown%7D)%7D%7D)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.net-a-porter.com%2Falfresco%2Fnap%2FwebAssets%2FwebPage%2Fhomepage-rebuild%2Fcomponents%2Fnap-live.html-1.js%0A
  • cb
  • javascript;charset=utf-8,Polymer(%7Bis%3A%22nap-live-product-activity%22%2Cproperties%3A%7Bactivity%3AObject%2Ccopy%3A%7Btype%3AObject%2Cvalue%3A%7Ben%3A%7Btell_a_friend%3A%22Tell%20a%20friend%22%2Cshare%3A%22Shared%22%2Cadd_to_wishlist%3A%22Added%20to%20wishlist%22%2Cadd_to_basket%3A%22Added%20to%20basket%22%7D%2Cde%3A%7Btell_a_friend%3A%22Weiterempfehlen%22%2Cshare%3A%22Teilen%22%2Cadd_to_wishlist%3A%22Zur%20Wunschliste%20hinzugef%C3%BCgt%22%2Cadd_to_basket%3A%22Zum%20Warenkorb%20hinzugef%C3%BCgt%22%7D%2Cfr%3A%7Btell_a_friend%3A%22Voir%20les%20d%C3%A9tails%22%2Cshare%3A%22Partager%22%2Cadd_to_wishlist%3A%22Ajout%C3%A9%20%C3%A0%20ma%20wish%20list%22%2Cadd_to_basket%3A%22Ajout%C3%A9%20au%20panier%22%7D%2Czh%3A%7Btell_a_friend%3A%22%E4%B8%8E%E5%A5%BD%E5%8F%8B%E5%88%86%E4%BA%AB%22%2Cshare%3A%22%E5%88%86%E4%BA%AB%22%2Cadd_to_wishlist%3A%22%E5%B7%B2%E5%8A%A0%E5%85%A5%E6%84%BF%E6%9C%9B%E6%B8%85%E5%8D%95%22%2Cadd_to_basket%3A%22%E5%B7%B2%E5%8A%A0%E5%85%A5%E8%B4%AD%E7%89%A9%E8%A2%8B%22%7D%7D%7D%7D%2C_translate%3Afunction(copy%2Ckey)%7Breturn%20copy%5BNAP.locale.language%5D%5Bkey.toLowerCase()%5D%7D%7D)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.net-a-porter.com%2Falfresco%2Fnap%2FwebAssets%2FwebPage%2Fhomepage-rebuild%2Fcomponents%2Fnap-live.html-2.js%0A
  • javascript;charset=utf-8,var%20errorTimerMultipler%3D1%3Bvar%20errorRefreshTimerMaximum%3D6e4%3Bvar%20refreshProductsTimer%3D1e4%3BPolymer(%7Bis%3A%22nap-live-products%22%2Cproperties%3A%7Bsize%3A%7Btype%3ANumber%2Cvalue%3A12%7D%2CuniqueProductsArr%3A%7Btype%3AArray%2Cvalue%3A%5B%5D%7D%2Ccarousel%3A%7Btype%3ABoolean%2Cvalue%3Afalse%7D%2CcarouselInstance%3AObject%7D%2C_callAPI%3Afunction()%7Bthis.%24.getProduct.generateRequest()%3BerrorTimerMultipler%3D1%7D%2C_generateParams%3Afunction(size)%7Breturn%7Bchannel%3A%22NAP_%22%2BNAP.locale.channel.toUpperCase()%2Csize%3Asize%7D%7D%2C_onRequest%3Afunction()%7BNAP.monitoring.registerPerfMark(this.%24.getProduct.url)%7D%2C_onResponse%3Afunction()%7Bif(this.productActivityApiResponse%26%26this.productActivityApiResponse.productactivity)%7Bthis._updateProducts(this.productActivityApiResponse)%3Bthis.async(this._callAPI%2CrefreshProductsTimer)%3BNAP.monitoring.measurePerfMark(%22Polymer%22%2Cthis.%24.getProduct.url%2C%7Bstatus%3A%22success%22%7D)%3Bthis._initCarousel()%7Delse%7Bthis._onError()%7D%7D%2C_onError%3Afunction()%7Bvar%20errorTimerMultiplied%3DrefreshProductsTimer*errorTimerMultipler%3Bvar%20errorThrown%3Bthis.async(function()%7Bthis.%24.getProduct.generateRequest()%7D%2CerrorTimerMultiplied)%3Bif(errorTimerMultiplied%3CerrorRefreshTimerMaximum)%7BerrorTimerMultipler%3DerrorTimerMultipler*2%7Dif(this.productActivityApiError)%7BerrorThrown%3Dthis.productActivityApiError.error.message%7Delse%7BerrorThrown%3D%22product%20response%20empty%22%7DNAP.monitoring.registerPerfMetricAndMonitoring(%22Polymer%22%2C%22API%20Failure%22%2Cthis.%24.getProduct.url%2C%7Burl%3Athis.%24.getProduct.url%2Cstatus%3A%22error%22%2CerrorThrown%3AerrorThrown%7D)%7D%2C_updateProducts%3Afunction(productActivityArr)%7Bvar%20normalisedProductDataArr%3Dthis._normaliseProductData(productActivityArr)%3Bthis._updateProductBuffer(normalisedProductDataArr)%7D%2C_normaliseProductData%3Afunction(productActivityArr)%7Bvar%20normalisedProductDataArr%3D%5B%5D%3BproductActivityArr.productactivity.forEach(function(productObj)%7BnormalisedProductDataArr.push(%7Bid%3AproductObj.pid%2Cbrand%3A%7Bname%3AproductObj.designer%7D%2Cname%3AproductObj.title%2CnameInvisible%3Atrue%2Cfeature%3A%22NAP%20LIVE%22%2Cactivity%3A%7Bhash%3AproductObj.hash%2CactivityCreated%3AproductObj.activityCreated%2Ctype%3AproductObj.activityType.toLowerCase()%2Clocale%3A%7Bcity%3AproductObj.city%2Ccountry%3AproductObj.country%2Clatitude%3AproductObj.latitude%2Clongitude%3AproductObj.longitude%7D%7D%7D)%7D)%3Breturn%20normalisedProductDataArr%7D%2C_updateProductBuffer%3Afunction(normalisedProductDataArr)%7Bvar%20that%3Dthis%3BnormalisedProductDataArr.forEach(function(normalisedProductObj)%7Bthat._checkIfHashHasBeenUsedBefore(normalisedProductObj)%7D)%7D%2C_checkIfHashHasBeenUsedBefore%3Afunction(normalisedProductObj)%7Bvar%20uniqueProductsArr%3Dthis.uniqueProductsArr%3Bif(uniqueProductsArr.length%3E0)%7Bvar%20hashAlreadyExists%3Dfalse%3BuniqueProductsArr.forEach(function(uniqueProductObj)%7Bif(uniqueProductObj.activity.hash%3D%3D%3DnormalisedProductObj.activity.hash)%7BhashAlreadyExists%3Dtrue%7D%7D)%3Bif(!hashAlreadyExists)%7Bthis._addUniqueProductsToArr(normalisedProductObj)%7D%7Delse%7Bthis._addUniqueProductsToArr(normalisedProductObj)%7D%7D%2C_addUniqueProductsToArr%3Afunction(normalisedProductObj)%7Bthis.push(%22uniqueProductsArr%22%2CnormalisedProductObj)%7D%2C_initCarousel%3Afunction()%7Bif(!this.carouselInstance)%7Bthis.carouselInstance%3Dnew%20Swiper(this.%24%24(%22%23naplive-carousel%22)%2C%7BnextButton%3Athis.%24%24(%22.swiper-next%22)%2CprevButton%3Athis.%24%24(%22.swiper-prev%22)%2CslidesPerView%3A6%2CsimulateTouch%3Afalse%2Cautoplay%3A4e3%7D)%3Bif(this.carouselInstance.slides.length%3E8)%7Bthis.carouselInstance.startAutoplay()%7Delse%7Bthis.carouselInstance.stopAutoplay()%7D%7Delse%7Bthis.carouselInstance.update()%3Bif(this.carouselInstance.slides.length%3E8%26%26!this.carouselInstance.autoplaying)%7Bthis.carouselInstance.startAutoplay()%7D%7D%7D%2Cattached%3Afunction()%7Bif(this.carousel%26%26this.pids.length%3E6)%7Bvar%20orientation%3Bvar%20self%3Dthis%3Bwindow.addEventListener(%22resize%22%2Cfunction()%7Bself._initCarousel()%7D)%3Bwindow.addEventListener(%22deviceorientation%22%2Cfunction()%7Bswitch(true)%7Bcase%20NAP.device.portrait()%26%26orientation%3D%3D%3D%22landscape%22%3Aorientation%3D%22portrait%22%3Bself._initCarousel()%3Bbreak%3Bcase%20NAP.device.landscape()%26%26orientation%3D%3D%3D%22portrait%22%3Aorientation%3D%22landscape%22%3Bself._initCarousel()%3Bbreak%7D%7D)%7D%7D%7D)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.net-a-porter.com%2Falfresco%2Fnap%2FwebAssets%2FwebPage%2Fhomepage-rebuild%2Fcomponents%2Fnap-live.html-3.js%0A
  • logo.png
  • NAP.json
  • productactivity.json
  • sd
  • tap.php
  • ncm
  • 724210_in_l.jpg
  • 643073_in_l.jpg
  • 643438_in_l.jpg
  • 521218_in_l.jpg
  • 682557_in_l.jpg
  • 635734_in_l.jpg
  • 644985_in_l.jpg
  • 677570_in_l.jpg
  • 688819_in_l.jpg
  • 660277_in_l.jpg
  • 661822_in_l.jpg
  • 677162_in_l.jpg
  • cb
  • cb
  • linkid.js
  • ActivityServer.bs
  • fbevents.js
  • deploy.asp
  • lpChatAPI.js
  • provider.aspx
  • activityi;src=3459311;type=COUNT0;cat=prd_h0;tran=0;u7=am;u6=en;ord=9001114101708;~oref=https%3A%2F%2Fwww.net-a-porter.com%2F
  • index.html
  • Provider.js
  • collect
  • collect
  • ga-audiences
  • pix.js
  • ep
  • tr
  • tr
  • easyXDM.min.js
  • lib.js
  • pix.js
  • pixel
  • pxj
  • tap.php
  • usersync
  • 1
  • rtset
  • activityi;src=3459311;type=COUNT0;cat=prd_s00l;ord=1;num=3320374411996.454
  • js
  • yorb.htm
  • track.gif
  • o.js
  • google
  • ecc
  • i.js
  • p.skimresources.com
  • pixel
  • js
  • pixel
  • rum
  • tag2
  • cm
  • mTag.js
  • epx.gif
  • js
  • js
  • img
  • iframe
  • img
  • img

Our browser made a total of 244 requests to load all elements on the main page. We found that 0% of them (0 request) were addressed to the original Netaporter.co.uk, 12% (29 requests) were made to and 11% (26 requests) were made to Nap-assets.nap-live.ext.net-a-porter.com. The less responsive or slowest element that took the longest time to load (764 ms) relates to the external source Pong.qubitproducts.com.

Additional info on netaporter.co.uk

Requests

The browser has sent 175 CSS, Javascripts, AJAX and image requests in order to completely render the main page of NET A PORTER. We recommend that multiple CSS and JavaScript files should be merged into one by each type, as it can help reduce assets requests from 49 to 1 for JavaScripts and as a result speed up the page load time.

49

Javascripts

102

Images

1

CSS

23

AJAX

175

All

Possible request optimization

1

Javascripts

47

Images

1

CSS

23

AJAX

103

Optimized

72

All

Normal result

IP address

Netaporter.co.uk uses IP address which is currently shared with 4 other domains. The more sites share the same IP address, the higher the host server’s workload is. It is strongly recommended that the host server should be changed or the hosting provider should be requested to give a different (separate) IP address for this domain.

Poor result

IP Trace

DNS records

Type Host Target/ip TTL Other
A

netaporter.co.uk

94.199.146.85 86400
NS

netaporter.co.uk

nsgbr.comlaude.co.uk 86400
NS

netaporter.co.uk

nsusa.comlaude.net 86400
NS

netaporter.co.uk

nssui.comlaude.ch 86400
SOA

netaporter.co.uk

86400 Mname: nsgbr.comlaude.co.uk
Rname: hostmaster.comlaude.com
Serial: 2013021503
Refresh: 86400
Retry: 7200
Expire: 2419200
Minimum-ttl: 3600

Language and encoding

Good result

Language

EN en language flag

Detected

EN en language flag

Claimed

Encoding

UTF-8

Claimed

Language claimed in HTML meta tag should match the language actually used on the web page. Otherwise Netaporter.co.uk can be misinterpreted by Google and other search engines. Our service has detected that English is used on the page, and it matches the claimed language. Our system also found out that Netaporter.co.uk main page’s claimed encoding is utf-8. Use of this encoding format is the best practice as the main page visitors from all over the world won’t have any issues with symbol transcription.

HTTPS certificate

SSL Certificate

Netaporter.co.uk has no SSL certificate. Web browsing can be safer with HTTPS connection, so we suggest that it should be obtained for this site.

Normal result

Visitor World Map

The server of Netaporter.co.uk is located in United Kingdom, but, unfortunately, we cannot identify the countries where the visitors come from and thus it’s impossible to define if the distance can potentially affect the page load time.

Good result

Poor result

Social Sharing Optimization

Open Graph description is not detected on the main page of NET A PORTER. Lack of Open Graph description can be counter-productive for their social media presence, as such a description allows converting a website homepage (or other pages) into good-looking, rich and well-structured posts, when it is being shared on Facebook and other social media. For example, adding the following code snippet into HTML <head> tag will help to represent this web page correctly in social networks:

netaporter.co.uk

Share this report in social media

Analyze another website

Analyze