Report Overview
Submitted URL
swordgames.website/ESP97383748372/clients/dWmgTC.php?verification
IP
162.215.240.128
ASN
#394695 PUBLIC-DOMAIN-REGISTRY
Submitted
2022-12-04 15:49:43
Access
Website Title
Final URL
Tags
None
urlquery detections
No alerts detected
Detections
urlquery
0
Network Intrusion Detection
0
Threat Detection Systems
4
Domain Summary
Domain / FQDN | Rank | Registered | First Seen | Last Seen | Sent | Received | IP |
---|---|---|---|---|---|---|---|
content-signature-2.cdn.mozilla.net | 1152 | 0001-01-01T00:00:00Z | 0001-01-01T00:00:00Z | 413 B | 5.8 kB | 34.160.144.191 | |
img-getpocket.cdn.mozilla.net | 1631 | 0001-01-01T00:00:00Z | 0001-01-01T00:00:00Z | 3.2 kB | 63 kB | 34.120.237.76 | |
ocsp.pki.goog | 175 | 0001-01-01T00:00:00Z | 0001-01-01T00:00:00Z | 1.4 kB | 2.8 kB | 142.250.74.131 | |
pagead2.googlesyndication.com | 101 | 0001-01-01T00:00:00Z | 0001-01-01T00:00:00Z | 507 B | 757 B | 142.250.74.98 | |
ade.googlesyndication.com | 262 | 0001-01-01T00:00:00Z | 0001-01-01T00:00:00Z | 958 B | 1.4 kB | 142.250.74.130 | |
r3.o.lencr.org | 344 | 0001-01-01T00:00:00Z | 0001-01-01T00:00:00Z | 1.7 kB | 4.4 kB | 23.36.76.226 | |
firefox.settings.services.mozilla.com | 867 | 0001-01-01T00:00:00Z | 0001-01-01T00:00:00Z | 782 B | 2.4 kB | 34.102.187.140 | |
contile.services.mozilla.com | 1114 | 0001-01-01T00:00:00Z | 0001-01-01T00:00:00Z | 333 B | 229 B | 34.117.237.239 | |
www.ing.es | 812569 | 0001-01-01T00:00:00Z | 0001-01-01T00:00:00Z | 376 kB | 1.2 MB | 95.101.10.122 | |
tags.tiqcdn.com | 969 | 0001-01-01T00:00:00Z | 0001-01-01T00:00:00Z | 2.8 kB | 120 kB | 2.18.173.203 | |
ocsp.digicert.com | 86 | 0001-01-01T00:00:00Z | 0001-01-01T00:00:00Z | 682 B | 1.6 kB | 93.184.220.29 | |
swordgames.website | unknown | 0001-01-01T00:00:00Z | 0001-01-01T00:00:00Z | 835 B | 824 B | 162.215.240.128 | |
www.googletagmanager.com | 75 | 0001-01-01T00:00:00Z | 0001-01-01T00:00:00Z | 1.2 kB | 152 kB | 142.250.74.168 | |
ocsp.entrust.net | 1208 | 0001-01-01T00:00:00Z | 0001-01-01T00:00:00Z | 340 B | 2.0 kB | 104.110.10.32 |
Related reports
Network Intrusion Detection Systems
Suricata /w Emerging Threats Pro
Threat Detection Systems
OpenPhish
No alerts detected
PhishTank
No alerts detected
Fortinet's Web Filter
Scan Date | Severity | Indicator | Alert |
---|---|---|---|
2022-12-04 | medium | swordgames.website/ESP97383748372/clients/dWmgTC.php?verification | Phishing |
2022-12-04 | medium | swordgames.website/ESP97383748372/index.php?redirection= | Phishing |
mnemonic secure dns
No alerts detected
Quad9 DNS
No alerts detected
JavaScript (332)
URL | Size | First Seen | Last Seen | |
---|---|---|---|---|
tags.tiqcdn.com/utag/ing/es-main/prod/utag.341.js?utv=ut4.49.202206220705 | 9.0 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/core/utils/attributes.js | 251 B | 2023-03-08 | 2024-04-05 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lodash-es/_Symbol.js | 58 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/webfiles/1661339944389/js/tealium_v1.1.1.js | 3.1 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/ | 204 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-commercial-card/src/IngCommercialCard.styles.js | 4.4 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7B'use%20strict'%3Bconst%20attr%3D%22include%22%2CCustomStyleInterface%3Dwindow.ShadyCSS.CustomStyleInterface%3B%2F**%0A%20%20%20*%20Custom%20element%20for%20defining%20styles%20in%20the%20main%20document%20that%20can%20take%0A%20%20%20*%20advantage%20of%20%5Bshady%20DOM%5D(https%3A%2F%2Fgithub.com%2Fwebcomponents%2Fshadycss)%20shims%0A%20%20%20*%20for%20style%20encapsulation%2C%20custom%20properties%2C%20and%20custom%20mixins.%0A%20%20%20*%0A%20%20%20*%20-%20Document%20styles%20defined%20in%20a%20%60%3Ccustom-style%3E%60%20are%20shimmed%20to%20ensure%20they%0A%20%20%20*%20%20%20do%20not%20leak%20into%20local%20DOM%20when%20running%20on%20browsers%20without%20native%0A%20%20%20*%20%20%20Shadow%20DOM.%0A%20%20%20*%20-%20Custom%20properties%20can%20be%20defined%20in%20a%20%60%3Ccustom-style%3E%60.%20Use%20the%20%60html%60%20selector%0A%20%20%20*%20%20%20to%20define%20custom%20properties%20that%20apply%20to%20all%20custom%20elements.%0A%20%20%20*%20-%20Custom%20mixins%20can%20be%20defined%20in%20a%20%60%3Ccustom-style%3E%60%2C%20if%20you%20import%20the%20optional%0A%20%20%20*%20%20%20%5Bapply%20shim%5D(https%3A%2F%2Fgithub.com%2Fwebcomponents%2Fshadycss%23about-applyshim)%0A%20%20%20*%20%20%20(%60shadycss%2Fapply-shim.html%60).%0A%20%20%20*%0A%20%20%20*%20To%20use%3A%0A%20%20%20*%0A%20%20%20*%20-%20Import%20%60custom-style.html%60.%0A%20%20%20*%20-%20Place%20a%20%60%3Ccustom-style%3E%60%20element%20in%20the%20main%20document%2C%20wrapping%20an%20inline%20%60%3Cstyle%3E%60%20tag%20that%0A%20%20%20*%20%20%20contains%20the%20CSS%20rules%20you%20want%20to%20shim.%0A%20%20%20*%0A%20%20%20*%20For%20example%3A%0A%20%20%20*%0A%20%20%20*%20%60%60%60html%0A%20%20%20*%20%3C!--%20import%20apply%20shim--only%20required%20if%20using%20mixins%20--%3E%0A%20%20%20*%20%3Clink%20rel%3D%22import%22%20href%3D%22bower_components%2Fshadycss%2Fapply-shim.html%22%3E%0A%20%20%20*%20%3C!--%20import%20custom-style%20element%20--%3E%0A%20%20%20*%20%3Clink%20rel%3D%22import%22%20href%3D%22bower_components%2Fpolymer%2Flib%2Felements%2Fcustom-style.html%22%3E%0A%20%20%20*%0A%20%20%20*%20%3Ccustom-style%3E%0A%20%20%20*%20%20%20%3Cstyle%3E%0A%20%20%20*%20%20%20%20%20html%20%7B%0A%20%20%20*%20%20%20%20%20%20%20--custom-color%3A%20blue%3B%0A%20%20%20*%20%20%20%20%20%20%20--custom-mixin%3A%20%7B%0A%20%20%20*%20%20%20%20%20%20%20%20%20font-weight%3A%20bold%3B%0A%20%20%20*%20%20%20%20%20%20%20%20%20color%3A%20red%3B%0A%20%20%20*%20%20%20%20%20%20%20%7D%3B%0A%20%20%20*%20%20%20%20%20%7D%0A%20%20%20*%20%20%20%3C%2Fstyle%3E%0A%20%20%20*%20%3C%2Fcustom-style%3E%0A%20%20%20*%20%60%60%60%0A%20%20%20*%0A%20%20%20*%20%40customElement%0A%20%20%20*%20%40extends%20HTMLElement%0A%20%20%20*%20%40memberof%20Polymer%0A%20%20%20*%20%40summary%20Custom%20element%20for%20defining%20styles%20in%20the%20main%20document%20that%20can%0A%20%20%20*%20%20%20take%20advantage%20of%20Polymer's%20style%20scoping%20and%20custom%20properties%20shims.%0A%20%20%20*%2Fclass%20CustomStyle%20extends%20HTMLElement%7Bconstructor()%7Bsuper()%3Bthis._style%3Dnull%3BCustomStyleInterface.addCustomStyle(this)%7D%2F**%0A%20%20%20%20%20*%20Returns%20the%20light-DOM%20%60%3Cstyle%3E%60%20child%20this%20element%20wraps.%20%20Upon%20first%0A%20%20%20%20%20*%20call%20any%20style%20modules%20referenced%20via%20the%20%60include%60%20attribute%20will%20be%0A%20%20%20%20%20*%20concatenated%20to%20this%20element's%20%60%3Cstyle%3E%60.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40return%20%7BHTMLStyleElement%7D%20This%20element's%20light-DOM%20%60%3Cstyle%3E%60%0A%20%20%20%20%20*%2FgetStyle()%7Bif(this._style)%7Breturn%20this._style%7Dconst%20style%3D%2F**%20%40type%20%7BHTMLStyleElement%7D%20*%2Fthis.querySelector(%22style%22)%3Bif(!style)%7Breturn%20null%7Dthis._style%3Dstyle%3Bconst%20include%3Dstyle.getAttribute(attr)%3Bif(include)%7Bstyle.removeAttribute(attr)%3Bstyle.textContent%3DPolymer.StyleGather.cssFromModules(include)%2Bstyle.textContent%7D%2F*%0A%20%20%20%20%20%20HTML%20Imports%20styling%20the%20main%20document%20are%20deprecated%20in%20Chrome%0A%20%20%20%20%20%20https%3A%2F%2Fcrbug.com%2F523952%0A%0A%20%20%20%20%20%20If%20this%20element%20is%20not%20in%20the%20main%20document%2C%20then%20it%20must%20be%20in%20an%20HTML%20Import%20document.%0A%20%20%20%20%20%20In%20that%20case%2C%20move%20the%20custom%20style%20to%20the%20main%20document.%0A%0A%20%20%20%20%20%20The%20ordering%20of%20%60%3Ccustom-style%3E%60%20should%20stay%20the%20same%20as%20when%20loaded%20by%20HTML%20Imports%2C%20but%20there%20may%20be%20odd%0A%20%20%20%20%20%20cases%20of%20ordering%20w.r.t%20the%20main%20document%20styles.%0A%20%20%20%20%20%20*%2Fif(this.ownerDocument!%3D%3Dwindow.document)%7Bwindow.document.head.appendChild(this)%7Dreturn%20this._style%7D%7Dwindow.customElements.define(%22custom-style%22%2CCustomStyle)%3B%2F**%20%40const%20*%2FPolymer.CustomStyle%3DCustomStyle%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fpolymer%2Flib%2Felements%2Fcustom-style.html.js%0A | 3.3 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,%2F**%0A%20%20%20%20%20*%20Constants%0A%20%20%20%20*%2Fconst%20MOBILE_HIDDEN%3D%5B%22option-bar%22%2C%22help-bar%22%2C%22btn-bar%22%5D%3B%2F**%0A%20%20%20%20%20*%20%60ing-uic-cms-header%60%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40customElement%0A%20%20%20%20%20*%20%40polymer%0A%20%20%20%20%20*%20%40demo%20demo%2Findex.html%0A%20%20%20%20%20*%2Fclass%20IngUicCmsHeader%20extends%20Polymer.GestureEventListeners(Polymer.TagManager(Polymer.Element))%7B%2F**%0A%20%20%20%20%20%20%20*%20Component%20definition%0A%20%20%20%20%20%20%20*%2Fstatic%20get%20is()%7Breturn%22ing-uic-cms-header%22%7D%2F**%0A%20%20%20%20%20%20%20*%20Properties%0A%20%20%20%20%20%20%20*%2Fstatic%20get%20properties()%7Breturn%7B%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20data%20of%20the%20component%3A%20from%20API%0A%20%20%20%20%20%20%20%20%20%20%20*%2Fdata%3A%7Btype%3AObject%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20Link%20elements%20of%20menu%0A%20%20%20%20%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20%20%20%20%20*%2F_menuBar%3AArray%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20Menu%20data%0A%20%20%20%20%20%20%20%20%20%20%20*%2F_menu%3AObject%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20Menu%20elements%0A%20%20%20%20%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20%20%20%20%20*%2F_menuItems%3AArray%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20Link%20elements%20of%20header%20rigth%0A%20%20%20%20%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20%20%20%20%20*%2F_optionBar%3AArray%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20List%20of%20button%20header%0A%20%20%20%20%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20%20%20%20%20*%2F_btnBar%3AArray%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20Menu%20icon%0A%20%20%20%20%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20%20%20%20%20*%2F_logo%3AObject%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20Show%20header%20shadow%0A%20%20%20%20%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20%20%20%20%20*%2F_shadowable%3A%7Btype%3ABoolean%2Cvalue%3A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20Return%20if%20show%20component%20in%20device%0A%20%20%20%20%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20%20%20%20%20*%2F_isDevice%3A%7Btype%3ABoolean%2Cvalue%3A!0%7D%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20Search%20bar%20item%0A%20%20%20%20%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20%20%20%20%20*%2F%20%2F%2F%20_searchBar%3A%20Object%2C%0A%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Polymer%20observer%20callback%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40static%0A%20%20%20%20%20%20%20*%2Fstatic%20get%20observers()%7Breturn%5B%22_setInitialData(data)%22%5D%7D%2F**%0A%20%20%20%20%20%20%20*%20Polymer%20ready%20callback%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40public%0A%20%20%20%20%20%20%20*%2Fready()%7Bsuper.ready()%3Bwindow.addEventListener(%22closeSection%22%2Cev%3D%3E%7Bif(!ev.detail.myself)%7Bthis._closeSection(!0)%7D%7D)%7D%2F**%0A%20%20%20%20%20%20*%20Connected%20callback%0A%20%20%20%20%20%20*%0A%20%20%20%20%20%20*%20%40public%0A%20%20%20%20%20%20*%2FconnectedCallback()%7Bsuper.connectedCallback()%3BPolymer.RenderStatus.afterNextRender(this%2C()%3D%3E%7Bthis._updateComputedHeaderHeight(this._getItemsfromDOM())%3B%2F*%20***************************%20START%20-%20SEARCH-BAR%20MANAGEMENT%20****************************%20*%2F%20%2F%2F%20if%20(this._optionBar)%20%7B%0A%2F%2F%20%20%20if%20(!this._getSearchBar(this._optionBar))%20%7B%0A%2F%2F%20%20%20%20%20this._updateMobileTopOptionsStyles()%3B%0A%2F%2F%20%20%20%7D%0A%2F%2F%20%7D%0A%2F*%20***************************%20FINISH%20-%20SEARCH-BAR%20MANAGEMENT%20***************************%20*%2F%7D)%3B%2F%2F%20Check%20changes%20in%20styles%20of%20the%20element%20specified%0A%2F*%20eslint-disable%20*%2Fif(%22undefined%22!%3D%3Dtypeof%20ResizeObserver%26%26ResizeObserver)%7Bthis.headerHeightObserver%3Dnew%20ResizeObserver(()%3D%3E%7Bthis._updateComputedHeaderHeight(this._getItemsfromDOM())%7D)%3Bthis.headerContainer%3Dthis.shadowRoot.querySelector(%22.header-container%22)%3Bthis.headerHeightObserver.observe(this.headerContainer)%7D%2F*%20eslint-enable%20*%2Fthis._isDevice%3Dthis._getDeviceView()%3Bwindow.addEventListener(%22shadow-tabs%22%2C()%3D%3E%7Bthis._shadowable%3Dthis._isDevice%7D)%3Bwindow.addEventListener(%22scroll%22%2C()%3D%3Ethis._handleScrollShadow())%3Bthis.addEventListener(%22close-menu%22%2Ce%3D%3Ethis._closeMenu(e))%7D%2F**%0A%20%20%20%20%20*%20Callback%20of%20lifecycle%20called%20when%20the%20component%20is%20removed%20from%20a%20document%0A%20%20%20%20%20*%2FdisconnectedCallback()%7Bsuper.disconnectedCallback()%3Bwindow.removeEventListener(%22scroll%22%2C()%3D%3Ethis._handleScrollShadow())%3Bwindow.removeEventListener(%22shadow-tabs%22%2C()%3D%3E%7Bthis._shadowable%3Dthis._isDevice%7D)%3Bthis.removeEventListener(%22close-menu%22%2Ce%3D%3Ethis._closeMenu(e))%7D%2F**%0A%20%20%20%20%20%20*%20Function%20to%20manage%20the%20shadow%20on%20the%20bottom%20of%20header%0A%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20*%2F_handleScrollShadow()%7Bconst%20scrollHeader%3Dthis._isDevice%3Fthis.shadowRoot.querySelector(%22.header-container%22)%3Athis.shadowRoot.querySelector(%22.scroll-wrapper%22)%3Bif(!this._shadowable)%7Bthis._removeShadow(scrollHeader)%3Breturn%7Dif(0%3Cwindow.pageYOffset)%7Bthis._addShadow(scrollHeader)%7Delse%7Bthis._removeShadow(scrollHeader)%7D%7D%2F**%0A%20%20%20%20%20%20*%20Function%20to%20read%20Tealium%20info%20buttons%20and%20processed%20it%0A%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20element%20CTA%20params%0A%20%20%20%20%20%20*%20%40returns%20%7BString%7D%20Info%20Tealium%20event%20param%0A%20%20%20%20%20%20*%2F_getEventParams(cta)%7Bconst%20tealiumCTA%3D%7B%7D%3Bif(cta%26%26cta.eventName)tealiumCTA.event_name%3Dcta.eventName%3Bif(cta%26%26cta.buttonAccess)tealiumCTA.button_access%3Dcta.buttonAccess%3Bif(cta%26%26cta.buttonCustomer)tealiumCTA.button_customer%3Dcta.buttonCustomer%3Breturn%20tealiumCTA%7D%2F**%0A%20%20%20%20%20%20*%20Function%20to%20check%20if%20component%20is%20executed%20in%20device%20(mobile%20or%20tablet%20portrait)%0A%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20*%20%40returns%20%7BBoolean%7D%20True%20if%20it%20is%20a%20mobile%20o%20tablet%20portrait%0A%20%20%20%20%20%20*%2F_getDeviceView()%7Blet%20isDevice%3D%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A!1%3B%2F*%20eslint-disable%20*%2Fconst%20deviceMatch1%3D%2F(android%7Cbb%5Cd%2B%7Cmeego).%2Bmobile%7Cavantgo%7Cbada%5C%2F%7Cblackberry%7Cblazer%7Ccompal%7Celaine%7Cfennec%7Chiptop%7Ciemobile%7Cip(hone%7Cod)%7Ciris%7Ckindle%7Clge%20%7Cmaemo%7Cmidp%7Cmmp%7Cmobile.%2Bfirefox%7Cnetfront%7Copera%20m(ob%7Cin)i%7Cpalm(%20os)%3F%7Cphone%7Cp(ixi%7Cre)%5C%2F%7Cplucker%7Cpocket%7Cpsp%7Cseries(4%7C6)0%7Csymbian%7Ctreo%7Cup%5C.(browser%7Clink)%7Cvodafone%7Cwap%7Cwindows%20ce%7Cxda%7Cxiino%7Candroid%7Cipad%7Cplaybook%7Csilk%2Fi%2CdeviceMatch2%3D%2F1207%7C6310%7C6590%7C3gso%7C4thp%7C50%5B1-6%5Di%7C770s%7C802s%7Ca%20wa%7Cabac%7Cac(er%7Coo%7Cs-)%7Cai(ko%7Crn)%7Cal(av%7Cca%7Cco)%7Camoi%7Can(ex%7Cny%7Cyw)%7Captu%7Car(ch%7Cgo)%7Cas(te%7Cus)%7Cattw%7Cau(di%7C-m%7Cr%20%7Cs%20)%7Cavan%7Cbe(ck%7Cll%7Cnq)%7Cbi(lb%7Crd)%7Cbl(ac%7Caz)%7Cbr(e%7Cv)w%7Cbumb%7Cbw-(n%7Cu)%7Cc55%5C%2F%7Ccapi%7Cccwa%7Ccdm-%7Ccell%7Cchtm%7Ccldc%7Ccmd-%7Cco(mp%7Cnd)%7Ccraw%7Cda(it%7Cll%7Cng)%7Cdbte%7Cdc-s%7Cdevi%7Cdica%7Cdmob%7Cdo(c%7Cp)o%7Cds(12%7C-d)%7Cel(49%7Cai)%7Cem(l2%7Cul)%7Cer(ic%7Ck0)%7Cesl8%7Cez(%5B4-7%5D0%7Cos%7Cwa%7Cze)%7Cfetc%7Cfly(-%7C_)%7Cg1%20u%7Cg560%7Cgene%7Cgf-5%7Cg-mo%7Cgo(%5C.w%7Cod)%7Cgr(ad%7Cun)%7Chaie%7Chcit%7Chd-(m%7Cp%7Ct)%7Chei-%7Chi(pt%7Cta)%7Chp(%20i%7Cip)%7Chs-c%7Cht(c(-%7C%20%7C_%7Ca%7Cg%7Cp%7Cs%7Ct)%7Ctp)%7Chu(aw%7Ctc)%7Ci-(20%7Cgo%7Cma)%7Ci230%7Ciac(%20%7C-%7C%5C%2F)%7Cibro%7Cidea%7Cig01%7Cikom%7Cim1k%7Cinno%7Cipaq%7Ciris%7Cja(t%7Cv)a%7Cjbro%7Cjemu%7Cjigs%7Ckddi%7Ckeji%7Ckgt(%20%7C%5C%2F)%7Cklon%7Ckpt%20%7Ckwc-%7Ckyo(c%7Ck)%7Cle(no%7Cxi)%7Clg(%20g%7C%5C%2F(k%7Cl%7Cu)%7C50%7C54%7C-%5Ba-w%5D)%7Clibw%7Clynx%7Cm1-w%7Cm3ga%7Cm50%5C%2F%7Cma(te%7Cui%7Cxo)%7Cmc(01%7C21%7Cca)%7Cm-cr%7Cme(rc%7Cri)%7Cmi(o8%7Coa%7Cts)%7Cmmef%7Cmo(01%7C02%7Cbi%7Cde%7Cdo%7Ct(-%7C%20%7Co%7Cv)%7Czz)%7Cmt(50%7Cp1%7Cv%20)%7Cmwbp%7Cmywa%7Cn10%5B0-2%5D%7Cn20%5B2-3%5D%7Cn30(0%7C2)%7Cn50(0%7C2%7C5)%7Cn7(0(0%7C1)%7C10)%7Cne((c%7Cm)-%7Con%7Ctf%7Cwf%7Cwg%7Cwt)%7Cnok(6%7Ci)%7Cnzph%7Co2im%7Cop(ti%7Cwv)%7Coran%7Cowg1%7Cp800%7Cpan(a%7Cd%7Ct)%7Cpdxg%7Cpg(13%7C-(%5B1-8%5D%7Cc))%7Cphil%7Cpire%7Cpl(ay%7Cuc)%7Cpn-2%7Cpo(ck%7Crt%7Cse)%7Cprox%7Cpsio%7Cpt-g%7Cqa-a%7Cqc(07%7C12%7C21%7C32%7C60%7C-%5B2-7%5D%7Ci-)%7Cqtek%7Cr380%7Cr600%7Craks%7Crim9%7Cro(ve%7Czo)%7Cs55%5C%2F%7Csa(ge%7Cma%7Cmm%7Cms%7Cny%7Cva)%7Csc(01%7Ch-%7Coo%7Cp-)%7Csdk%5C%2F%7Cse(c(-%7C0%7C1)%7C47%7Cmc%7Cnd%7Cri)%7Csgh-%7Cshar%7Csie(-%7Cm)%7Csk-0%7Csl(45%7Cid)%7Csm(al%7Car%7Cb3%7Cit%7Ct5)%7Cso(ft%7Cny)%7Csp(01%7Ch-%7Cv-%7Cv%20)%7Csy(01%7Cmb)%7Ct2(18%7C50)%7Ct6(00%7C10%7C18)%7Cta(gt%7Clk)%7Ctcl-%7Ctdg-%7Ctel(i%7Cm)%7Ctim-%7Ct-mo%7Cto(pl%7Csh)%7Cts(70%7Cm-%7Cm3%7Cm5)%7Ctx-9%7Cup(%5C.b%7Cg1%7Csi)%7Cutst%7Cv400%7Cv750%7Cveri%7Cvi(rg%7Cte)%7Cvk(40%7C5%5B0-3%5D%7C-v)%7Cvm40%7Cvoda%7Cvulc%7Cvx(52%7C53%7C60%7C61%7C70%7C80%7C81%7C83%7C85%7C98)%7Cw3c(-%7C%20)%7Cwebc%7Cwhit%7Cwi(g%20%7Cnc%7Cnw)%7Cwmlb%7Cwonu%7Cx700%7Cyas-%7Cyour%7Czeto%7Czte-%2Fi%3B(a%3D%3E%7Bif((deviceMatch1.test(a)%7C%7CdeviceMatch2.test(a.substr(0%2C4)))%26%26948%3E%24(window).width())isDevice%3D!0%7D)(navigator.userAgent%7C%7Cnavigator.vendor%7C%7Cwindow.opera)%3B%2F*%20eslint-enable%20*%2Freturn%20isDevice%7D%2F**%0A%20%20%20%20%20%20*%20Function%20to%20add%20a%20shadow%20on%20the%20bottom%20of%20the%20header%0A%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20element%20Element%20in%20DOM%20to%20apply%20shadow%0A%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20*%2F_addShadow(element)%7Belement.classList.remove(%22scroll-shadow--off%22)%3Belement.classList.add(%22scroll-shadow--on%22)%7D%2F**%0A%20%20%20%20%20%20*%20Function%20to%20remove%20the%20shadow%20from%20the%20bottom%20of%20the%20header%0A%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20element%20Element%20in%20DOM%20to%20apply%20shadow%0A%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20*%2F_removeShadow(element)%7Belement.classList.remove(%22scroll-shadow--on%22)%3Belement.classList.add(%22scroll-shadow--off%22)%7D%2F**%0A%20%20%20%20%20%20*%20Obtain%20elements%20of%20DOM%20and%20their%20data%2C%20like%20height%0A%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20*%0A%20%20%20%20%20%20*%20%40returns%20%7BObject%7D%20Object%20with%20items%20obtained%20from%20DOM%0A%20%20%20%20%20%20*%2F_getItemsfromDOM()%7Bconst%20layoutComponent%3Ddocument.querySelector(%22ing-uic-cms-layout%22)%2CfirstHeaderContainerHeight%3Dthis.shadowRoot.querySelector(%22.header-container%22).getBoundingClientRect().height%2CsearchContainerHeight%3Dthis.shadowRoot.querySelector(%22.section-container%22).getBoundingClientRect().height%2CmenuContainerHeight%3Dthis.shadowRoot.querySelector(%22.scroll-wrapper%22).getBoundingClientRect().height%3Breturn%7BlayoutComponent%2CfirstHeaderContainerHeight%2CsearchContainerHeight%2CmenuContainerHeight%7D%7D%2F**%0A%20%20%20%20%20%20*%20Function%20to%20calculate%20the%20sum%20of%20header%20containers%20height%0A%20%20%20%20%20%20*%20%40param%20%7BNumber%7D%20firstHeaderContainerHeight%20Height%20of%20header%20container%0A%20%20%20%20%20%20*%20%40param%20%7BNumber%7D%20searchContainerHeight%20Height%20of%20search%20container%0A%20%20%20%20%20%20*%20%40param%20%7BNumber%7D%20menuContainerHeight%20Height%20of%20menu%20container%0A%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20*%20%40returns%20%7BNumber%7D%20The%20sum%20of%20parameters%0A%20%20%20%20%20%20*%2F_calculateHeaderHeight(firstHeaderContainerHeight%2CsearchContainerHeight%2CmenuContainerHeight)%7Breturn%20firstHeaderContainerHeight%2BsearchContainerHeight%2BmenuContainerHeight%7D%2F**%0A%20%20%20%20%20%20*%20Function%20to%20update%20header%20height%20custom%20property%20for%20being%20used%20by%20layout%0A%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20containerElements%20Object%20with%20the%20items%20obtained%20from%20DOM%0A%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20*%2F_updateComputedHeaderHeight(containerElements)%7Bif(containerElements.layoutComponent)%7Bconst%20headerHeight%3Dthis._calculateHeaderHeight(containerElements.firstHeaderContainerHeight%2CcontainerElements.searchContainerHeight%2CcontainerElements.menuContainerHeight)%3BcontainerElements.layoutComponent.updateStyles(%7B%22--ing-uic-header-height%22%3A%60%24%7BheaderHeight%7Dpx%60%7D)%7Dthis.updateStyles(%7B%22--ing-uic-menu-computed-height%22%3A%60%24%7BcontainerElements.menuContainerHeight%7Dpx%60%7D)%7D%2F**%0A%20%20%20%20%20%20%20*%20Set%20to%20private%20variables%20data%20content%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40public%0A%20%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20data%20json%20parsed%20from%20api%0A%20%20%20%20%20%20%20*%2F_setInitialData(data)%7Bconst%20headerItems%3Ddata.section%3Blet%20logo%3Bconst%20menuBar%3D%5B%5D%2CoptionBar%3D%5B%5D%2CbtnBar%3D%5B%5D%3Blet%20menuItems%3D%5B%5D%3BheaderItems.forEach(item%3D%3E%7Bif(%22menu-bar%22%3D%3D%3Ditem.type)%7Bthis._menu%3DJSON.parse(JSON.stringify(item))%3BmenuBar.push(item)%3Bif(item.options%26%260%3Citem.options.length)%7BmenuItems%3Ditem.options%7D%7Delse%20if(item.btn)%7BbtnBar.push(Object.assign(%7B%7D%2Citem%2C%7BtmEvent%3Athis._getEventParams(item)%7D))%7Delse%20if(%22logo%22!%3D%3Ditem.type)%7BoptionBar.push(item)%7Delse%7Blogo%3Ditem%7D%7D)%3Bthis._menuBar%3DmenuBar%3Bthis._btnBar%3DbtnBar%3Bthis._optionBar%3DoptionBar%3Bthis._logo%3Dlogo%3Bthis._menuItems%3DmenuItems%7D%2F*%20*********************%20START%20-%20FUNCTIONS%20THAT%20MANAGE%20THE%20EXTERNAL%20LOGIN%20*********************%20*%2F%20%2F**%0A%20%20%20%20%20%20%20%20*%20Function%20to%20open%20the%20login%20modal%0A%20%20%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20loginContainer%20json%20parsed%20from%20api%0A%20%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20%20*%2F%20%2F%2F%20_openLoginModal(loginContainer)%20%7B%0A%2F%2F%20%20%20loginContainer.setAttribute('visible'%2C%20true)%3B%0A%2F%2F%20%7D%0A%2F**%0A%20%20%20%20%20%20%20*%20Function%20to%20navigate%20when%20click%20in%20any%20element%0A%20%20%20%20%20%20%20%20%40param%20%7BObject%7D%20e%20Object%20event%0A%20%20%20%20%20%20%20%20%40private%0A%20%20%20%20%20%20%20*%2F%20%2F%2F%20_navigate(e)%20%7B%0A%2F%2F%20%20%20const%20link%20%3D%20Polymer.dom(e.currentTarget).node%3B%0A%2F%2F%20%20%20if%20(link%20%26%26%20!link.href)%20%7B%0A%2F%2F%20%20%20%20%20const%20loginContainer%20%3D%20this.shadowRoot.querySelector('ing-orange-login-sca-es')%3B%0A%2F%2F%20%20%20%20%20this._openLoginModal(loginContainer)%3B%0A%2F%2F%20%20%20%7D%0A%2F%2F%20%7D%0A%2F*%20*********************%20ENDS%20-%20FUNCTIONS%20THAT%20MANAGE%20THE%20EXTERNAL%20LOGIN%20*********************%20*%2F%20%2F*%20*********************%20START%20-%20FUNCTIONS%20THAT%20MANAGE%20THE%20SEARCH%20BAR%20*********************%20*%2F%20%2F**%0A%20%20%20%20%20%20*%20Check%20if%20there%20are%20more%20than%20one%20option%0A%20%20%20%20%20%20%40param%20%7BArray%7D%20barSections%20List%20of%20sections%20in%20option%20bar%0A%20%20%20%20%20%20%40private%0A%20%20%20%20%20%20%40returns%20%7BBoolean%7D%20True%20o%20False%0A%20%20%20%20%20%20*%2F%20%2F%2F%20_getSearchBar(barSections)%20%7B%0A%2F%2F%20%20%20const%20searchBar%20%3D%20barSections.find(item%20%3D%3E%20item.type%20%3D%3D%3D%20'search-bar')%3B%0A%2F%2F%20%20%20this._searchBar%20%3D%20searchBar%3B%0A%2F%2F%20%20%20return%20searchBar%3B%0A%2F%2F%20%7D%0A%2F**%0A%20%20%20%20%20%20%20*%20Function%20to%20open%20or%20close%20new%20section%20when%20click%20in%20any%20element%0A%20%20%20%20%20%20%20%20%40param%20%7BObject%7D%20e%20Object%20event%0A%20%20%20%20%20%20%20%20%40private%0A%20%20%20%20%20%20%20*%2F%20%2F%2F%20_toggleSectionBar(e)%20%7B%0A%2F%2F%20%20%20e.preventDefault()%3B%0A%2F%2F%20%20%20const%20elem%20%3D%20Polymer.dom(e.currentTarget).node.querySelector('ing-uic-cms-anchor')%3B%0A%2F%2F%20%20%20const%20type%20%3D%20elem.getAttribute('data-type')%3B%0A%2F%2F%20%20%20const%20currentOption%20%3D%20elem.parentNode%3B%0A%2F%2F%20%20%20const%20activeOption%20%3D%20this.shadowRoot.querySelector('.top-option-item.active')%3B%0A%2F%2F%20%20%20const%20expanded%20%3D%20currentOption%20!%3D%3D%20activeOption%3B%0A%2F%2F%20%20%20if%20(activeOption%20%7C%7C%20!expanded)%20%7B%0A%2F%2F%20%20%20%20%20this._closeSection()%3B%0A%2F%2F%20%20%20%20%20activeOption.classList.remove('active')%3B%0A%2F%2F%20Delete%20eslint%20disable%20when%20using%20this%20code%20again%0A%2F*%20eslint-disable%20*%2F%20%2F%2F%20%20%20%20%20activeOption.getElementsByTagName('ing-uic-cms-anchor')%5B0%5D.setAttribute('aria-expanded'%2C%20false)%3B%0A%2F%2F%20%20%20%20%20this._updateComputedHeaderHeight(this._getItemsfromDOM())%3B%0A%2F%2F%20%20%20%7D%0A%2F*%20eslint-enable%20*%2F%20%2F%2F%20%20%20if%20(expanded)%20%7B%0A%2F%2F%20%20%20%20%20currentOption.classList.add('active')%3B%0A%2F%2F%20%20%20%20%20e.target.parentNode.setAttribute('aria-expanded'%2C%20true)%3B%0A%2F%2F%20%20%20%20%20this._openSection(type)%3B%0A%2F%2F%20%20%20%20%20this._updateComputedHeaderHeight(this._getItemsfromDOM())%3B%0A%2F%2F%20%20%20%7D%0A%2F%2F%20%7D%0A%2F**%0A%20%20%20%20%20%20%20*%20Function%20to%20open%20section%0A%20%20%20%20%20%20%20%20%40param%20%7BString%7D%20type%20String%0A%20%20%20%20%20%20%20%20%40private%0A%20%20%20%20%20%20%20*%2F%20%2F%2F%20_openSection(type)%20%7B%0A%2F%2F%20%20%20const%20item%20%3D%20this._optionBar.filter(el%20%3D%3E%20el.type%20%3D%3D%3D%20type)%5B0%5D%20%7C%7C%20%7B%7D%3B%0A%2F%2F%20%20%20const%20sectionContainer%20%3D%20this._updateSectionContainer('add')%3B%0A%2F%2F%20%20%20const%20activeHeaderLink%20%3D%20this.shadowRoot.querySelector('.header-links%20li.active')%3B%0A%2F%2F%20%20%20activeHeaderLink.classList.add('unselect')%3B%0A%2F%2F%20%20%20const%20addElement%20%3D%20(tagName)%20%3D%3E%20%7B%0A%2F%2F%20%20%20%20%20if%20(tagName)%20%7B%0A%2F%2F%20%20%20%20%20%20%20const%20node%20%3D%20document.createElement(tagName)%3B%0A%2F%2F%20%20%20%20%20%20%20Object.keys(item).forEach((key)%20%3D%3E%20%7B%0A%2F%2F%20%20%20%20%20%20%20%20%20node.setAttribute(key%2C%20item%5Bkey%5D)%3B%0A%2F%2F%20%20%20%20%20%20%20%7D)%3B%0A%2F%2F%20%20%20%20%20%20%20sectionContainer.appendChild(node)%3B%0A%2F%2F%20%20%20%20%20%7D%0A%2F%2F%20%20%20%7D%3B%0A%2F%2F%20%20%20const%20elements%20%3D%20%7B%0A%2F%2F%20%20%20%20%20'search-bar'%3A%20'ing-uic-cms-search-bar'%2C%0A%2F%2F%20%20%20%7D%3B%0A%2F%2F%20%20%20addElement(elements%5Btype%5D)%3B%0A%2F%2F%20%20%20this.dispatchEvent(new%20CustomEvent('openSection'%2C%20%7B%0A%2F%2F%20%20%20%20%20bubbles%3A%20true%2C%20composed%3A%20true%2C%20detail%3A%20%7B%20type%20%7D%0A%2F%2F%20%20%20%7D))%3B%0A%2F%2F%20%7D%0A%2F**%0A%20%20%20%20%20%20%20*%20Function%20to%20close%20section%0A%20%20%20%20%20%20%20%20%40param%20%7BString%7D%20listened%20String%0A%20%20%20%20%20%20%20%20%40private%0A%20%20%20%20%20%20%20*%2F%20%2F%2F%20_closeSection(listened)%20%7B%0A%2F%2F%20%20%20const%20activeOption%20%3D%20this.shadowRoot.querySelector('.top-option-item.active')%3B%0A%2F%2F%20%20%20const%20activeHeaderLink%20%3D%20this.shadowRoot.querySelector('.header-links%20li.active')%3B%0A%2F%2F%20%20%20this._updateSectionContainer('remove')%3B%0A%2F%2F%20%20%20activeHeaderLink.classList.remove('unselect')%3B%0A%2F%2F%20Delete%20eslint%20disable%20when%20using%20this%20code%20again%0A%2F*%20eslint-disable%20*%2F%20%2F%2F%20%20%20if%20(activeOption)%20%7B%0A%2F%2F%20%20%20%20%20const%20type%20%3D%20activeOption.getElementsByTagName('ing-uic-cms-anchor')%5B0%5D.getAttribute('data-type')%3B%0A%2F*%20eslint-enable%20*%2F%20%2F%2F%20%20%20%20%20activeOption.classList.remove('active')%3B%0A%2F%2F%20%20%20%20%20if%20(!listened)%20%7B%0A%2F%2F%20%20%20%20%20%20%20this.dispatchEvent(new%20CustomEvent('closeSection'%2C%20%7B%0A%2F%2F%20%20%20%20%20%20%20%20%20bubbles%3A%20true%2C%20composed%3A%20true%2C%20detail%3A%20%7B%20type%2C%20myself%3A%20true%20%7D%0A%2F%2F%20%20%20%20%20%20%20%7D))%3B%0A%2F%2F%20%20%20%20%20%7D%0A%2F%2F%20%20%20%7D%0A%2F%2F%20%7D%0A%2F**%0A%20%20%20%20%20%20*%20Update%20styles%20in%20mobile%20when%20there%20is%20no%20search%20bar%20option%0A%20%20%20%20%20%20%40private%0A%20%20%20%20%20%20*%2F%20%2F%2F%20_updateMobileTopOptionsStyles()%20%7B%0A%2F%2F%20%20%20const%20topOption%20%3D%20this.shadowRoot.querySelector('.top-option')%3B%0A%2F%2F%20%20%20topOption.classList.add('item-hidden')%3B%0A%2F%2F%20%7D%0A%2F*%20*********************%20ENDS%20-%20FUNCTIONS%20THAT%20MANAGE%20THE%20SEARCH%20BAR%20*********************%20*%2F%20%2F**%0A%20%20%20%20%20%20%20*%20Return%20if%20element%20is%20not%20visible%20in%20mobile%0A%20%20%20%20%20%20%20%40param%20%7BString%7D%20type%20String%0A%20%20%20%20%20%20%20%40private%0A%20%20%20%20%20%20%20%40returns%20%7BString%7D%20String%0A%20%20%20%20%20%20*%2F_getMobileVisible(type)%7Bconst%20mobileHidden%3DMOBILE_HIDDEN.join(%22%2C%22)%3Breturn%200%3C%3DmobileHidden.indexOf(type)%3F%22mobile-hidden%22%3A%22%22%7D%2F**%0A%20%20%20%20%20%20%20*%20Compute%20class%0A%20%20%20%20%20%20%20%40param%20%7BString%7D%20btn%20button%20primary%2Fsecondary%0A%20%20%20%20%20%20%20%40param%20%7BString%7D%20type%20cta%20type%0A%20%20%20%20%20%20%20%40private%0A%20%20%20%20%20%20%20%40returns%20%7BString%7D%20Class%20name%0A%20%20%20%20%20%20*%2F_getBtnBarClass(btn%2Ctype)%7Breturn%5B%60ing-button-%24%7Bbtn%7D%60%2Cthis._getMobileVisible(type)%5D.join(%22%20%22)%7D%2F**%0A%20%20%20%20%20%20%20*%20Compute%20class%0A%20%20%20%20%20%20%20%40param%20%7BString%7D%20type%20item%20type%0A%20%20%20%20%20%20%20%40private%0A%20%20%20%20%20%20%20%40returns%20%7BString%7D%20Class%20name%0A%20%20%20%20%20%20*%2F_getOptionClass(type)%7Breturn%5B%22top-option-item%22%2Cthis._getMobileVisible(type)%5D.join(%22%20%22)%7D%2F**%0A%20%20%20%20%20%20*%20Execute%20functions%20that%20depends%20on%20click%20event%20in%20mobile%20menu%20button%0A%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20e%20Object%0A%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20*%2F_handleActions(e)%7Bthis._openMenu(e)%3Bthis._acceptCookies(e)%7D%2F**%0A%20%20%20%20%20%20%20*%20Open%20and%20close%20the%20options%20submenu%0A%20%20%20%20%20%20%20%40param%20%7BObject%7D%20e%20Object%0A%20%20%20%20%20%20%20%40private%0A%20%20%20%20%20%20*%2F_openMenu(e)%7Be.preventDefault()%3Bconst%20menu%3Dthis.shadowRoot.querySelector(%22ing-uic-cms-menu%22)%3Bmenu.classList.add(%22menu-active%22)%3Bconst%20header%3Dthis.shadowRoot.querySelector(%22.header%22)%3Bheader.classList.add(%22menu-active%22)%3Bthis._updateSectionContainer(%22remove%22)%3Bthis._updateScrollWrapper(%22add%22)%7D%2F**%0A%20%20%20%20%20%20*%20Change%20the%20classes%20for%20updating%20the%20view%20when%20you%20close%20the%20menu%0A%20%20%20%20%20%20%40param%20%7BObject%7D%20e%20Event%0A%20%20%20%20%20%20%40private%0A%20%20%20%20%20%20*%2F_closeMenu(e)%7Be.preventDefault()%3Bconst%20menu%3Dthis.shadowRoot.querySelector(%22ing-uic-cms-menu%22)%3Bmenu.classList.remove(%22menu-active%22)%3Bconst%20header%3Dthis.shadowRoot.querySelector(%22.header%22)%3Bheader.classList.remove(%22menu-active%22)%3Bthis._updateScrollWrapper(%22remove%22)%7D%2F**%0A%20%20%20%20%20%20%20*%20Update%20rendering%20of%20menu%20container%0A%20%20%20%20%20%20%20%40param%20%7BString%7D%20action%20Action%20to%20apply%20to%20classList%0A%20%20%20%20%20%20%20%40private%0A%20%20%20%20%20%20*%2F_updateScrollWrapper(action)%7Bthis.shadowRoot.querySelector(%22.scroll-wrapper%22).classList%5Baction%5D(%22opened%22)%3Bthis.shadowRoot.querySelector(%22.scroll-wrapper%22).classList%5B%22remove%22%3D%3D%3Daction%3F%22add%22%3A%22remove%22%5D(%22initial%22)%7D%2F**%0A%20%20%20%20%20%20%20*%20Update%20section%20container%20info%20and%20className%0A%20%20%20%20%20%20%20%40param%20%7BString%7D%20action%20String%0A%20%20%20%20%20%20%20%40private%0A%20%20%20%20%20%20%20%40returns%20%7BObject%7D%20Section%20Container%20element%20updated%0A%20%20%20%20%20%20%20*%2F_updateSectionContainer(action)%7Bconst%20cont%3Dthis.shadowRoot.querySelector(%22.section-container%22)%3Bcont.classList%5Baction%5D(%22active%22)%3Bcont.innerHTML%3D%22%22%3Breturn%20cont%7D%2F**%0A%20%20%20%20%20%20*%20Customize%20default%20action%20of%20the%20menu.%0A%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20e%20event%20object.%0A%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20*%2F_acceptCookies(e)%7Be.preventDefault()%3Bconst%20eventDetails%3D%7BmenuClicked%3A!0%7D%2CeventData%3D%7Bbubbles%3A!0%2Ccomposed%3A!0%2Cdetail%3AeventDetails%7D%3Bthis.dispatchEvent(new%20CustomEvent(%22custom-anchor-click%22%2CeventData))%7D%7Dwindow.customElements.define(IngUicCmsHeader.is%2CIngUicCmsHeader)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fing-uic-cms-header%2Fing-uic-cms-header.html.js%0A | 17 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/webfiles/1661339944389/js/node_modules/%40webcomponents/webcomponentsjs/webcomponents-hi.js | 11 kB | 2023-03-07 | 2024-04-05 | |
Pretty
Loading... | ||||
www.ing.es/hippotealium/utag.sync.js | 170 kB | 2023-03-08 | 2023-03-08 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/button/src/LionButton.js | 6.6 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7B'use%20strict'%3Blet%20styleInterface%3Dwindow.ShadyCSS%3B%2F**%0A%20%20%20*%20Element%20class%20mixin%20that%20provides%20Polymer's%20%22legacy%22%20API%20intended%20to%20be%0A%20%20%20*%20backward-compatible%20to%20the%20greatest%20extent%20possible%20with%20the%20API%0A%20%20%20*%20found%20on%20the%20Polymer%201.x%20%60Polymer.Base%60%20prototype%20applied%20to%20all%20elements%0A%20%20%20*%20defined%20using%20the%20%60Polymer(%7B...%7D)%60%20function.%0A%20%20%20*%0A%20%20%20*%20%40mixinFunction%0A%20%20%20*%20%40polymer%0A%20%20%20*%20%40appliesMixin%20Polymer.ElementMixin%0A%20%20%20*%20%40appliesMixin%20Polymer.GestureEventListeners%0A%20%20%20*%20%40property%20isAttached%20%7Bboolean%7D%20Set%20to%20%60true%60%20in%20this%20element's%0A%20%20%20*%20%20%20%60connectedCallback%60%20and%20%60false%60%20in%20%60disconnectedCallback%60%0A%20%20%20*%20%40memberof%20Polymer%0A%20%20%20*%20%40summary%20Element%20class%20mixin%20that%20provides%20Polymer's%20%22legacy%22%20API%0A%20%20%20*%2FPolymer.LegacyElementMixin%3DPolymer.dedupingMixin(base%3D%3E%7B%2F**%0A%20%20%20%20%20*%20%40constructor%0A%20%20%20%20%20*%20%40extends%20%7Bbase%7D%0A%20%20%20%20%20*%20%40implements%20%7BPolymer_ElementMixin%7D%0A%20%20%20%20%20*%20%40implements%20%7BPolymer_GestureEventListeners%7D%0A%20%20%20%20%20*%20%40implements%20%7BPolymer_DirMixin%7D%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2Fconst%20legacyElementBase%3DPolymer.DirMixin(Polymer.GestureEventListeners(Polymer.ElementMixin(base)))%2CDIRECTION_MAP%3D%7Bx%3A%22pan-x%22%2Cy%3A%22pan-y%22%2Cnone%3A%22none%22%2Call%3A%22auto%22%7D%3B%2F**%0A%20%20%20%20%20*%20Map%20of%20simple%20names%20to%20touch%20action%20names%0A%20%20%20%20%20*%20%40dict%0A%20%20%20%20%20*%2F%20%2F**%0A%20%20%20%20%20*%20%40polymer%0A%20%20%20%20%20*%20%40mixinClass%0A%20%20%20%20%20*%20%40extends%20%7BlegacyElementBase%7D%0A%20%20%20%20%20*%20%40implements%20%7BPolymer_LegacyElementMixin%7D%0A%20%20%20%20%20*%20%40unrestricted%0A%20%20%20%20%20*%2Fclass%20LegacyElement%20extends%20legacyElementBase%7Bconstructor()%7Bsuper()%3B%2F**%20%40type%20%7Bboolean%7D%20*%2Fthis.isAttached%3B%2F**%20%40type%20%7BWeakMap%3C!Element%2C%20!Object%3Cstring%2C%20!Function%3E%3E%7D%20*%2Fthis.__boundListeners%3B%2F**%20%40type%20%7BObject%3Cstring%2C%20Function%3E%7D%20*%2Fthis._debouncers%7D%2F**%0A%20%20%20%20%20%20%20*%20Forwards%20%60importMeta%60%20from%20the%20prototype%20(i.e.%20from%20the%20info%20object%0A%20%20%20%20%20%20%20*%20passed%20to%20%60Polymer(%7B...%7D)%60)%20to%20the%20static%20API.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40return%20%7B!Object%7D%20The%20%60import.meta%60%20object%20set%20on%20the%20prototype%0A%20%20%20%20%20%20%20*%20%40suppress%20%7BmissingProperties%7D%20%60this%60%20is%20always%20in%20the%20instance%20in%0A%20%20%20%20%20%20%20*%20%20closure%20for%20some%20reason%20even%20in%20a%20static%20method%2C%20rather%20than%20the%20class%0A%20%20%20%20%20%20%20*%2Fstatic%20get%20importMeta()%7Breturn%20this.prototype.importMeta%7D%2F**%0A%20%20%20%20%20%20%20*%20Legacy%20callback%20called%20during%20the%20%60constructor%60%2C%20for%20overriding%0A%20%20%20%20%20%20%20*%20by%20the%20user.%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2Fcreated()%7B%7D%2F**%0A%20%20%20%20%20%20%20*%20Provides%20an%20implementation%20of%20%60connectedCallback%60%0A%20%20%20%20%20%20%20*%20which%20adds%20Polymer%20legacy%20API's%20%60attached%60%20method.%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%20%40override%0A%20%20%20%20%20%20%20*%2FconnectedCallback()%7Bsuper.connectedCallback()%3Bthis.isAttached%3D%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%3Bthis.attached()%7D%2F**%0A%20%20%20%20%20%20%20*%20Legacy%20callback%20called%20during%20%60connectedCallback%60%2C%20for%20overriding%0A%20%20%20%20%20%20%20*%20by%20the%20user.%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2Fattached()%7B%7D%2F**%0A%20%20%20%20%20%20%20*%20Provides%20an%20implementation%20of%20%60disconnectedCallback%60%0A%20%20%20%20%20%20%20*%20which%20adds%20Polymer%20legacy%20API's%20%60detached%60%20method.%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%20%40override%0A%20%20%20%20%20%20%20*%2FdisconnectedCallback()%7Bsuper.disconnectedCallback()%3Bthis.isAttached%3D%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A!1%3Bthis.detached()%7D%2F**%0A%20%20%20%20%20%20%20*%20Legacy%20callback%20called%20during%20%60disconnectedCallback%60%2C%20for%20overriding%0A%20%20%20%20%20%20%20*%20by%20the%20user.%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2Fdetached()%7B%7D%2F**%0A%20%20%20%20%20%20%20*%20Provides%20an%20override%20implementation%20of%20%60attributeChangedCallback%60%0A%20%20%20%20%20%20%20*%20which%20adds%20the%20Polymer%20legacy%20API's%20%60attributeChanged%60%20method.%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20name%20Name%20of%20attribute.%0A%20%20%20%20%20%20%20*%20%40param%20%7B%3Fstring%7D%20old%20Old%20value%20of%20attribute.%0A%20%20%20%20%20%20%20*%20%40param%20%7B%3Fstring%7D%20value%20Current%20value%20of%20attribute.%0A%20%20%20%20%20%20%20*%20%40param%20%7B%3Fstring%7D%20namespace%20Attribute%20namespace.%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%20%40override%0A%20%20%20%20%20%20%20*%2FattributeChangedCallback(name%2Cold%2Cvalue%2Cnamespace)%7Bif(old!%3D%3Dvalue)%7Bsuper.attributeChangedCallback(name%2Cold%2Cvalue%2Cnamespace)%3Bthis.attributeChanged(name%2Cold%2Cvalue)%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Legacy%20callback%20called%20during%20%60attributeChangedChallback%60%2C%20for%20overriding%0A%20%20%20%20%20%20%20*%20by%20the%20user.%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20name%20Name%20of%20attribute.%0A%20%20%20%20%20%20%20*%20%40param%20%7B%3Fstring%7D%20old%20Old%20value%20of%20attribute.%0A%20%20%20%20%20%20%20*%20%40param%20%7B%3Fstring%7D%20value%20Current%20value%20of%20attribute.%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2FattributeChanged(name%2Cold%2Cvalue)%7B%7D%2F%2F%20eslint-disable-line%20no-unused-vars%0A%2F**%0A%20%20%20%20%20%20%20*%20Overrides%20the%20default%20%60Polymer.PropertyEffects%60%20implementation%20to%0A%20%20%20%20%20%20%20*%20add%20support%20for%20class%20initialization%20via%20the%20%60_registered%60%20callback.%0A%20%20%20%20%20%20%20*%20This%20is%20called%20only%20when%20the%20first%20instance%20of%20the%20element%20is%20created.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%20%40override%0A%20%20%20%20%20%20%20*%20%40suppress%20%7BinvalidCasts%7D%0A%20%20%20%20%20%20%20*%2F_initializeProperties()%7Blet%20proto%3DObject.getPrototypeOf(this)%3Bif(!proto.hasOwnProperty(%22__hasRegisterFinished%22))%7Bthis._registered()%3B%2F%2F%20backstop%20in%20case%20the%20%60_registered%60%20implementation%20does%20not%20set%20this%0Aproto.__hasRegisterFinished%3D!0%7Dsuper._initializeProperties()%3Bthis.root%3D%2F**%20%40type%20%7BHTMLElement%7D%20*%2Fthis%3Bthis.created()%3B%2F%2F%20Ensure%20listeners%20are%20applied%20immediately%20so%20that%20they%20are%0A%2F%2F%20added%20before%20declarative%20event%20listeners.%20This%20allows%20an%20element%20to%0A%2F%2F%20decorate%20itself%20via%20an%20event%20prior%20to%20any%20declarative%20listeners%0A%2F%2F%20seeing%20the%20event.%20Note%2C%20this%20ensures%20compatibility%20with%201.x%20ordering.%0Athis._applyListeners()%7D%2F**%0A%20%20%20%20%20%20%20*%20Called%20automatically%20when%20an%20element%20is%20initializing.%0A%20%20%20%20%20%20%20*%20Users%20may%20override%20this%20method%20to%20perform%20class%20registration%20time%0A%20%20%20%20%20%20%20*%20work.%20The%20implementation%20should%20ensure%20the%20work%20is%20performed%0A%20%20%20%20%20%20%20*%20only%20once%20for%20the%20class.%0A%20%20%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2F_registered()%7B%7D%2F**%0A%20%20%20%20%20%20%20*%20Overrides%20the%20default%20%60Polymer.PropertyEffects%60%20implementation%20to%0A%20%20%20%20%20%20%20*%20add%20support%20for%20installing%20%60hostAttributes%60%20and%20%60listeners%60.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%20%40override%0A%20%20%20%20%20%20%20*%2Fready()%7Bthis._ensureAttributes()%3Bsuper.ready()%7D%2F**%0A%20%20%20%20%20%20%20*%20Ensures%20an%20element%20has%20required%20attributes.%20Called%20when%20the%20element%0A%20%20%20%20%20%20%20*%20is%20being%20readied%20via%20%60ready%60.%20Users%20should%20override%20to%20set%20the%0A%20%20%20%20%20%20%20*%20element's%20required%20attributes.%20The%20implementation%20should%20be%20sure%0A%20%20%20%20%20%20%20*%20to%20check%20and%20not%20override%20existing%20attributes%20added%20by%0A%20%20%20%20%20%20%20*%20the%20user%20of%20the%20element.%20Typically%2C%20setting%20attributes%20should%20be%20left%0A%20%20%20%20%20%20%20*%20to%20the%20element%20user%20and%20not%20done%20here%3B%20reasonable%20exceptions%20include%0A%20%20%20%20%20%20%20*%20setting%20aria%20roles%20and%20focusability.%0A%20%20%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2F_ensureAttributes()%7B%7D%2F**%0A%20%20%20%20%20%20%20*%20Adds%20element%20event%20listeners.%20Called%20when%20the%20element%0A%20%20%20%20%20%20%20*%20is%20being%20readied%20via%20%60ready%60.%20Users%20should%20override%20to%0A%20%20%20%20%20%20%20*%20add%20any%20required%20element%20event%20listeners.%0A%20%20%20%20%20%20%20*%20In%20performance%20critical%20elements%2C%20the%20work%20done%20here%20should%20be%20kept%0A%20%20%20%20%20%20%20*%20to%20a%20minimum%20since%20it%20is%20done%20before%20the%20element%20is%20rendered.%20In%0A%20%20%20%20%20%20%20*%20these%20elements%2C%20consider%20adding%20listeners%20asynchronously%20so%20as%20not%20to%0A%20%20%20%20%20%20%20*%20block%20render.%0A%20%20%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2F_applyListeners()%7B%7D%2F**%0A%20%20%20%20%20%20%20*%20Converts%20a%20typed%20JavaScript%20value%20to%20a%20string.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20Note%20this%20method%20is%20provided%20as%20backward-compatible%20legacy%20API%0A%20%20%20%20%20%20%20*%20only.%20%20It%20is%20not%20directly%20called%20by%20any%20Polymer%20features.%20To%20customize%0A%20%20%20%20%20%20%20*%20how%20properties%20are%20serialized%20to%20attributes%20for%20attribute%20bindings%20and%0A%20%20%20%20%20%20%20*%20%60reflectToAttribute%3A%20true%60%20properties%20as%20well%20as%20this%20method%2C%20override%0A%20%20%20%20%20%20%20*%20the%20%60_serializeValue%60%20method%20provided%20by%20%60Polymer.PropertyAccessors%60.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7B*%7D%20value%20Value%20to%20deserialize%0A%20%20%20%20%20%20%20*%20%40return%20%7Bstring%20%7C%20undefined%7D%20Serialized%20value%0A%20%20%20%20%20%20%20*%2Fserialize(value)%7Breturn%20this._serializeValue(value)%7D%2F**%0A%20%20%20%20%20%20%20*%20Converts%20a%20string%20to%20a%20typed%20JavaScript%20value.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20Note%20this%20method%20is%20provided%20as%20backward-compatible%20legacy%20API%0A%20%20%20%20%20%20%20*%20only.%20%20It%20is%20not%20directly%20called%20by%20any%20Polymer%20features.%20%20To%20customize%0A%20%20%20%20%20%20%20*%20how%20attributes%20are%20deserialized%20to%20properties%20for%20in%0A%20%20%20%20%20%20%20*%20%60attributeChangedCallback%60%2C%20override%20%60_deserializeValue%60%20method%0A%20%20%20%20%20%20%20*%20provided%20by%20%60Polymer.PropertyAccessors%60.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20value%20String%20to%20deserialize%0A%20%20%20%20%20%20%20*%20%40param%20%7B*%7D%20type%20Type%20to%20deserialize%20the%20string%20to%0A%20%20%20%20%20%20%20*%20%40return%20%7B*%7D%20Returns%20the%20deserialized%20value%20in%20the%20%60type%60%20given.%0A%20%20%20%20%20%20%20*%2Fdeserialize(value%2Ctype)%7Breturn%20this._deserializeValue(value%2Ctype)%7D%2F**%0A%20%20%20%20%20%20%20*%20Serializes%20a%20property%20to%20its%20associated%20attribute.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20Note%20this%20method%20is%20provided%20as%20backward-compatible%20legacy%20API%0A%20%20%20%20%20%20%20*%20only.%20%20It%20is%20not%20directly%20called%20by%20any%20Polymer%20features.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20property%20Property%20name%20to%20reflect.%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%3D%7D%20attribute%20Attribute%20name%20to%20reflect.%0A%20%20%20%20%20%20%20*%20%40param%20%7B*%3D%7D%20value%20Property%20value%20to%20reflect.%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2FreflectPropertyToAttribute(property%2Cattribute%2Cvalue)%7Bthis._propertyToAttribute(property%2Cattribute%2Cvalue)%7D%2F**%0A%20%20%20%20%20%20%20*%20Sets%20a%20typed%20value%20to%20an%20HTML%20attribute%20on%20a%20node.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20Note%20this%20method%20is%20provided%20as%20backward-compatible%20legacy%20API%0A%20%20%20%20%20%20%20*%20only.%20%20It%20is%20not%20directly%20called%20by%20any%20Polymer%20features.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7B*%7D%20value%20Value%20to%20serialize.%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20attribute%20Attribute%20name%20to%20serialize%20to.%0A%20%20%20%20%20%20%20*%20%40param%20%7BElement%7D%20node%20Element%20to%20set%20attribute%20to.%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2FserializeValueToAttribute(value%2Cattribute%2Cnode)%7Bthis._valueToNodeAttribute(%2F**%20%40type%20%7BElement%7D%20*%2Fnode%7C%7Cthis%2Cvalue%2Cattribute)%7D%2F**%0A%20%20%20%20%20%20%20*%20Copies%20own%20properties%20(including%20accessor%20descriptors)%20from%20a%20source%0A%20%20%20%20%20%20%20*%20object%20to%20a%20target%20object.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20prototype%20Target%20object%20to%20copy%20properties%20to.%0A%20%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20api%20Source%20object%20to%20copy%20properties%20from.%0A%20%20%20%20%20%20%20*%20%40return%20%7BObject%7D%20prototype%20object%20that%20was%20passed%20as%20first%20argument.%0A%20%20%20%20%20%20%20*%2Fextend(prototype%2Capi)%7Bif(!(prototype%26%26api))%7Breturn%20prototype%7C%7Capi%7Dlet%20n%24%3DObject.getOwnPropertyNames(api)%3Bfor(let%20i%3D0%2Cn%2Cpd%3Bi%3Cn%24.length%26%26(n%3Dn%24%5Bi%5D)%3Bi%2B%2B)%7Bpd%3DObject.getOwnPropertyDescriptor(api%2Cn)%3Bif(pd)%7BObject.defineProperty(prototype%2Cn%2Cpd)%7D%7Dreturn%20prototype%7D%2F**%0A%20%20%20%20%20%20%20*%20Copies%20props%20from%20a%20source%20object%20to%20a%20target%20object.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20Note%2C%20this%20method%20uses%20a%20simple%20%60for...in%60%20strategy%20for%20enumerating%0A%20%20%20%20%20%20%20*%20properties.%20%20To%20ensure%20only%20%60ownProperties%60%20are%20copied%20from%20source%0A%20%20%20%20%20%20%20*%20to%20target%20and%20that%20accessor%20implementations%20are%20copied%2C%20use%20%60extend%60.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7B!Object%7D%20target%20Target%20object%20to%20copy%20properties%20to.%0A%20%20%20%20%20%20%20*%20%40param%20%7B!Object%7D%20source%20Source%20object%20to%20copy%20properties%20from.%0A%20%20%20%20%20%20%20*%20%40return%20%7B!Object%7D%20Target%20object%20that%20was%20passed%20as%20first%20argument.%0A%20%20%20%20%20%20%20*%2Fmixin(target%2Csource)%7Bfor(let%20i%20in%20source)%7Btarget%5Bi%5D%3Dsource%5Bi%5D%7Dreturn%20target%7D%2F**%0A%20%20%20%20%20%20%20*%20Sets%20the%20prototype%20of%20an%20object.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20Note%20this%20method%20is%20provided%20as%20backward-compatible%20legacy%20API%0A%20%20%20%20%20%20%20*%20only.%20%20It%20is%20not%20directly%20called%20by%20any%20Polymer%20features.%0A%20%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20object%20The%20object%20on%20which%20to%20set%20the%20prototype.%0A%20%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20prototype%20The%20prototype%20that%20will%20be%20set%20on%20the%20given%0A%20%20%20%20%20%20%20*%20%60object%60.%0A%20%20%20%20%20%20%20*%20%40return%20%7BObject%7D%20Returns%20the%20given%20%60object%60%20with%20its%20prototype%20set%0A%20%20%20%20%20%20%20*%20to%20the%20given%20%60prototype%60%20object.%0A%20%20%20%20%20%20%20*%2FchainObject(object%2Cprototype)%7Bif(object%26%26prototype%26%26object!%3D%3Dprototype)%7Bobject.__proto__%3Dprototype%7Dreturn%20object%7D%2F*%20****%20Begin%20Template%20****%20*%2F%20%2F**%0A%20%20%20%20%20%20%20*%20Calls%20%60importNode%60%20on%20the%20%60content%60%20of%20the%20%60template%60%20specified%20and%0A%20%20%20%20%20%20%20*%20returns%20a%20document%20fragment%20containing%20the%20imported%20content.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7BHTMLTemplateElement%7D%20template%20HTML%20template%20element%20to%20instance.%0A%20%20%20%20%20%20%20*%20%40return%20%7B!DocumentFragment%7D%20Document%20fragment%20containing%20the%20imported%0A%20%20%20%20%20%20%20*%20%20%20template%20content.%0A%20%20%20%20%20%20*%2FinstanceTemplate(template)%7Blet%20content%3Dthis.constructor._contentForTemplate(template)%2Cdom%3D%2F**%20%40type%20%7B!DocumentFragment%7D%20*%2Fdocument.importNode(content%2C!0)%3Breturn%20dom%7D%2F*%20****%20Begin%20Events%20****%20*%2F%20%2F**%0A%20%20%20%20%20%20%20*%20Dispatches%20a%20custom%20event%20with%20an%20optional%20detail%20value.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20type%20Name%20of%20event%20type.%0A%20%20%20%20%20%20%20*%20%40param%20%7B*%3D%7D%20detail%20Detail%20value%20containing%20event-specific%0A%20%20%20%20%20%20%20*%20%20%20payload.%0A%20%20%20%20%20%20%20*%20%40param%20%7B%7B%20bubbles%3A%20(boolean%7Cundefined)%2C%20cancelable%3A%20(boolean%7Cundefined)%2C%20composed%3A%20(boolean%7Cundefined)%20%7D%3D%7D%0A%20%20%20%20%20%20%20*%20%20options%20Object%20specifying%20options.%20%20These%20may%20include%3A%0A%20%20%20%20%20%20%20*%20%20%60bubbles%60%20(boolean%2C%20defaults%20to%20%60true%60)%2C%0A%20%20%20%20%20%20%20*%20%20%60cancelable%60%20(boolean%2C%20defaults%20to%20false)%2C%20and%0A%20%20%20%20%20%20%20*%20%20%60node%60%20on%20which%20to%20fire%20the%20event%20(HTMLElement%2C%20defaults%20to%20%60this%60).%0A%20%20%20%20%20%20%20*%20%40return%20%7B!Event%7D%20The%20new%20event%20that%20was%20fired.%0A%20%20%20%20%20%20%20*%2Ffire(type%2Cdetail%2Coptions)%7Boptions%3Doptions%7C%7C%7B%7D%3Bdetail%3Dnull%3D%3D%3Ddetail%7C%7Cdetail%3D%3D%3D%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0Avoid%200%3F%7B%7D%3Adetail%3Blet%20event%3Dnew%20Event(type%2C%7Bbubbles%3Aoptions.bubbles%3D%3D%3Dvoid%200%3F!0%3Aoptions.bubbles%2Ccancelable%3A!!options.cancelable%2Ccomposed%3Aoptions.composed%3D%3D%3Dvoid%200%3F!0%3Aoptions.composed%7D)%3Bevent.detail%3Ddetail%3Blet%20node%3Doptions.node%7C%7Cthis%3Bnode.dispatchEvent(event)%3Breturn%20event%7D%2F**%0A%20%20%20%20%20%20%20*%20Convenience%20method%20to%20add%20an%20event%20listener%20on%20a%20given%20element%2C%0A%20%20%20%20%20%20%20*%20late%20bound%20to%20a%20named%20method%20on%20this%20element.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7BElement%7D%20node%20Element%20to%20add%20event%20listener%20to.%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20eventName%20Name%20of%20event%20to%20listen%20for.%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20methodName%20Name%20of%20handler%20method%20on%20%60this%60%20to%20call.%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2Flisten(node%2CeventName%2CmethodName)%7Bnode%3D%2F**%20%40type%20%7B!Element%7D%20*%2Fnode%7C%7Cthis%3Blet%20hbl%3Dthis.__boundListeners%7C%7C(this.__boundListeners%3Dnew%20WeakMap)%2Cbl%3Dhbl.get(node)%3Bif(!bl)%7Bbl%3D%7B%7D%3Bhbl.set(node%2Cbl)%7Dlet%20key%3DeventName%2BmethodName%3Bif(!bl%5Bkey%5D)%7Bbl%5Bkey%5D%3Dthis._addMethodEventListenerToNode(node%2CeventName%2CmethodName%2Cthis)%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Convenience%20method%20to%20remove%20an%20event%20listener%20from%20a%20given%20element%2C%0A%20%20%20%20%20%20%20*%20late%20bound%20to%20a%20named%20method%20on%20this%20element.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7BElement%7D%20node%20Element%20to%20remove%20event%20listener%20from.%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20eventName%20Name%20of%20event%20to%20stop%20listening%20to.%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20methodName%20Name%20of%20handler%20method%20on%20%60this%60%20to%20not%20call%0A%20%20%20%20%20%20%20anymore.%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2Funlisten(node%2CeventName%2CmethodName)%7Bnode%3D%2F**%20%40type%20%7B!Element%7D%20*%2Fnode%7C%7Cthis%3Blet%20bl%3Dthis.__boundListeners%26%26this.__boundListeners.get(node)%2Ckey%3DeventName%2BmethodName%2Chandler%3Dbl%26%26bl%5Bkey%5D%3Bif(handler)%7Bthis._removeEventListenerFromNode(node%2CeventName%2Chandler)%3Bbl%5Bkey%5D%3Dnull%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Override%20scrolling%20behavior%20to%20all%20direction%2C%20one%20direction%2C%20or%20none.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20Valid%20scroll%20directions%3A%0A%20%20%20%20%20%20%20*%20%20%20-%20'all'%3A%20scroll%20in%20any%20direction%0A%20%20%20%20%20%20%20*%20%20%20-%20'x'%3A%20scroll%20only%20in%20the%20'x'%20direction%0A%20%20%20%20%20%20%20*%20%20%20-%20'y'%3A%20scroll%20only%20in%20the%20'y'%20direction%0A%20%20%20%20%20%20%20*%20%20%20-%20'none'%3A%20disable%20scrolling%20for%20this%20node%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%3D%7D%20direction%20Direction%20to%20allow%20scrolling%0A%20%20%20%20%20%20%20*%20Defaults%20to%20%60all%60.%0A%20%20%20%20%20%20%20*%20%40param%20%7BElement%3D%7D%20node%20Element%20to%20apply%20scroll%20direction%20setting.%0A%20%20%20%20%20%20%20*%20Defaults%20to%20%60this%60.%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2FsetScrollDirection(direction%2Cnode)%7BPolymer.Gestures.setTouchAction(%2F**%20%40type%20%7BElement%7D%20*%2Fnode%7C%7Cthis%2CDIRECTION_MAP%5Bdirection%5D%7C%7C%22auto%22)%7D%2F*%20****%20End%20Events%20****%20*%2F%20%2F**%0A%20%20%20%20%20%20%20*%20Convenience%20method%20to%20run%20%60querySelector%60%20on%20this%20local%20DOM%20scope.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20This%20function%20calls%20%60Polymer.dom(this.root).querySelector(slctr)%60.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20slctr%20Selector%20to%20run%20on%20this%20local%20DOM%20scope%0A%20%20%20%20%20%20%20*%20%40return%20%7BElement%7D%20Element%20found%20by%20the%20selector%2C%20or%20null%20if%20not%20found.%0A%20%20%20%20%20%20%20*%2F%24%24(slctr)%7Breturn%20this.root.querySelector(slctr)%7D%2F**%0A%20%20%20%20%20%20%20*%20Return%20the%20element%20whose%20local%20dom%20within%20which%20this%20element%0A%20%20%20%20%20%20%20*%20is%20contained.%20This%20is%20a%20shorthand%20for%0A%20%20%20%20%20%20%20*%20%60this.getRootNode().host%60.%0A%20%20%20%20%20%20%20*%20%40this%20%7BElement%7D%0A%20%20%20%20%20%20%20*%2Fget%20domHost()%7Blet%20root%3Dthis.getRootNode()%3Breturn%20root%20instanceof%20DocumentFragment%3F%2F**%20%40type%20%7BShadowRoot%7D%20*%2Froot.host%3Aroot%7D%2F**%0A%20%20%20%20%20%20%20*%20Force%20this%20element%20to%20distribute%20its%20children%20to%20its%20local%20dom.%0A%20%20%20%20%20%20%20*%20This%20should%20not%20be%20necessary%20as%20of%20Polymer%202.0.2%20and%20is%20provided%20only%0A%20%20%20%20%20%20%20*%20for%20backwards%20compatibility.%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2FdistributeContent()%7Bif(window.ShadyDOM%26%26this.shadowRoot)%7BShadyDOM.flush()%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Returns%20a%20list%20of%20nodes%20that%20are%20the%20effective%20childNodes.%20The%20effective%0A%20%20%20%20%20%20%20*%20childNodes%20list%20is%20the%20same%20as%20the%20element's%20childNodes%20except%20that%0A%20%20%20%20%20%20%20*%20any%20%60%3Ccontent%3E%60%20elements%20are%20replaced%20with%20the%20list%20of%20nodes%20distributed%0A%20%20%20%20%20%20%20*%20to%20the%20%60%3Ccontent%3E%60%2C%20the%20result%20of%20its%20%60getDistributedNodes%60%20method.%0A%20%20%20%20%20%20%20*%20%40return%20%7B!Array%3C!Node%3E%7D%20List%20of%20effective%20child%20nodes.%0A%20%20%20%20%20%20%20*%20%40suppress%20%7BinvalidCasts%7D%20LegacyElementMixin%20must%20be%20applied%20to%20an%20HTMLElement%0A%20%20%20%20%20%20%20*%2FgetEffectiveChildNodes()%7Bconst%20thisEl%3D%2F**%20%40type%20%7BElement%7D%20*%2Fthis%2CdomApi%3D%2F**%20%40type%20%7BPolymer.DomApi%7D%20*%2FPolymer.dom(thisEl)%3Breturn%20domApi.getEffectiveChildNodes()%7D%2F**%0A%20%20%20%20%20%20%20*%20Returns%20a%20list%20of%20nodes%20distributed%20within%20this%20element%20that%20match%0A%20%20%20%20%20%20%20*%20%60selector%60.%20These%20can%20be%20dom%20children%20or%20elements%20distributed%20to%0A%20%20%20%20%20%20%20*%20children%20that%20are%20insertion%20points.%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20selector%20Selector%20to%20run.%0A%20%20%20%20%20%20%20*%20%40return%20%7B!Array%3C!Node%3E%7D%20List%20of%20distributed%20elements%20that%20match%20selector.%0A%20%20%20%20%20%20%20*%20%40suppress%20%7BinvalidCasts%7D%20LegacyElementMixin%20must%20be%20applied%20to%20an%20HTMLElement%0A%20%20%20%20%20%20%20*%2FqueryDistributedElements(selector)%7Bconst%20thisEl%3D%2F**%20%40type%20%7BElement%7D%20*%2Fthis%2CdomApi%3D%2F**%20%40type%20%7BPolymer.DomApi%7D%20*%2FPolymer.dom(thisEl)%3Breturn%20domApi.queryDistributedElements(selector)%7D%2F**%0A%20%20%20%20%20%20%20*%20Returns%20a%20list%20of%20elements%20that%20are%20the%20effective%20children.%20The%20effective%0A%20%20%20%20%20%20%20*%20children%20list%20is%20the%20same%20as%20the%20element's%20children%20except%20that%0A%20%20%20%20%20%20%20*%20any%20%60%3Ccontent%3E%60%20elements%20are%20replaced%20with%20the%20list%20of%20elements%0A%20%20%20%20%20%20%20*%20distributed%20to%20the%20%60%3Ccontent%3E%60.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40return%20%7B!Array%3C!Node%3E%7D%20List%20of%20effective%20children.%0A%20%20%20%20%20%20%20*%2FgetEffectiveChildren()%7Blet%20list%3Dthis.getEffectiveChildNodes()%3Breturn%20list.filter(function(%2F**%20%40type%20%7B!Node%7D%20*%2Fn)%7Breturn%20n.nodeType%3D%3D%3DNode.ELEMENT_NODE%7D)%7D%2F**%0A%20%20%20%20%20%20%20*%20Returns%20a%20string%20of%20text%20content%20that%20is%20the%20concatenation%20of%20the%0A%20%20%20%20%20%20%20*%20text%20content's%20of%20the%20element's%20effective%20childNodes%20(the%20elements%0A%20%20%20%20%20%20%20*%20returned%20by%20%3Ca%20href%3D%22%23getEffectiveChildNodes%3EgetEffectiveChildNodes%3C%2Fa%3E.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40return%20%7Bstring%7D%20List%20of%20effective%20children.%0A%20%20%20%20%20%20%20*%2FgetEffectiveTextContent()%7Blet%20cn%3Dthis.getEffectiveChildNodes()%2Ctc%3D%5B%5D%3Bfor(let%20i%3D0%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%2F**%0A%20%20%20%20%20%20%20*%20Returns%20the%20first%20effective%20childNode%20within%20this%20element%20that%0A%20%20%20%20%20%20%20*%20match%20%60selector%60.%20These%20can%20be%20dom%20child%20nodes%20or%20elements%20distributed%0A%20%20%20%20%20%20%20*%20to%20children%20that%20are%20insertion%20points.%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20selector%20Selector%20to%20run.%0A%20%20%20%20%20%20%20*%20%40return%20%7BNode%7D%20First%20effective%20child%20node%20that%20matches%20selector.%0A%20%20%20%20%20%20%20*%2FqueryEffectiveChildren(selector)%7Blet%20e%24%3Dthis.queryDistributedElements(selector)%3Breturn%20e%24%26%26e%24%5B0%5D%7D%2F**%0A%20%20%20%20%20%20%20*%20Returns%20a%20list%20of%20effective%20childNodes%20within%20this%20element%20that%0A%20%20%20%20%20%20%20*%20match%20%60selector%60.%20These%20can%20be%20dom%20child%20nodes%20or%20elements%20distributed%0A%20%20%20%20%20%20%20*%20to%20children%20that%20are%20insertion%20points.%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20selector%20Selector%20to%20run.%0A%20%20%20%20%20%20%20*%20%40return%20%7B!Array%3C!Node%3E%7D%20List%20of%20effective%20child%20nodes%20that%20match%20selector.%0A%20%20%20%20%20%20%20*%2FqueryAllEffectiveChildren(selector)%7Breturn%20this.queryDistributedElements(selector)%7D%2F**%0A%20%20%20%20%20%20%20*%20Returns%20a%20list%20of%20nodes%20distributed%20to%20this%20element's%20%60%3Cslot%3E%60.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20If%20this%20element%20contains%20more%20than%20one%20%60%3Cslot%3E%60%20in%20its%20local%20DOM%2C%0A%20%20%20%20%20%20%20*%20an%20optional%20selector%20may%20be%20passed%20to%20choose%20the%20desired%20content.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%3D%7D%20slctr%20CSS%20selector%20to%20choose%20the%20desired%0A%20%20%20%20%20%20%20*%20%20%20%60%3Cslot%3E%60.%20%20Defaults%20to%20%60content%60.%0A%20%20%20%20%20%20%20*%20%40return%20%7B!Array%3C!Node%3E%7D%20List%20of%20distributed%20nodes%20for%20the%20%60%3Cslot%3E%60.%0A%20%20%20%20%20%20%20*%2FgetContentChildNodes(slctr)%7Blet%20content%3Dthis.root.querySelector(slctr%7C%7C%22slot%22)%3Breturn%20content%3F%2F**%20%40type%20%7BPolymer.DomApi%7D%20*%2FPolymer.dom(content).getDistributedNodes()%3A%5B%5D%7D%2F**%0A%20%20%20%20%20%20%20*%20Returns%20a%20list%20of%20element%20children%20distributed%20to%20this%20element's%0A%20%20%20%20%20%20%20*%20%60%3Cslot%3E%60.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20If%20this%20element%20contains%20more%20than%20one%20%60%3Cslot%3E%60%20in%20its%0A%20%20%20%20%20%20%20*%20local%20DOM%2C%20an%20optional%20selector%20may%20be%20passed%20to%20choose%20the%20desired%0A%20%20%20%20%20%20%20*%20content.%20%20This%20method%20differs%20from%20%60getContentChildNodes%60%20in%20that%20only%0A%20%20%20%20%20%20%20*%20elements%20are%20returned.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%3D%7D%20slctr%20CSS%20selector%20to%20choose%20the%20desired%0A%20%20%20%20%20%20%20*%20%20%20%60%3Ccontent%3E%60.%20%20Defaults%20to%20%60content%60.%0A%20%20%20%20%20%20%20*%20%40return%20%7B!Array%3C!HTMLElement%3E%7D%20List%20of%20distributed%20nodes%20for%20the%0A%20%20%20%20%20%20%20*%20%20%20%60%3Cslot%3E%60.%0A%20%20%20%20%20%20%20*%20%40suppress%20%7BinvalidCasts%7D%0A%20%20%20%20%20%20%20*%2FgetContentChildren(slctr)%7Blet%20children%3D%2F**%20%40type%20%7B!Array%3C!HTMLElement%3E%7D%20*%2Fthis.getContentChildNodes(slctr).filter(function(n)%7Breturn%20n.nodeType%3D%3D%3DNode.ELEMENT_NODE%7D)%3Breturn%20children%7D%2F**%0A%20%20%20%20%20%20%20*%20Checks%20whether%20an%20element%20is%20in%20this%20element's%20light%20DOM%20tree.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7B%3FNode%7D%20node%20The%20element%20to%20be%20checked.%0A%20%20%20%20%20%20%20*%20%40return%20%7Bboolean%7D%20true%20if%20node%20is%20in%20this%20element's%20light%20DOM%20tree.%0A%20%20%20%20%20%20%20*%20%40suppress%20%7BinvalidCasts%7D%20LegacyElementMixin%20must%20be%20applied%20to%20an%20HTMLElement%0A%20%20%20%20%20%20%20*%2FisLightDescendant(node)%7Bconst%20thisNode%3D%2F**%20%40type%20%7BNode%7D%20*%2Fthis%3Breturn%20thisNode!%3D%3Dnode%26%26thisNode.contains(node)%26%26thisNode.getRootNode()%3D%3D%3Dnode.getRootNode()%7D%2F**%0A%20%20%20%20%20%20%20*%20Checks%20whether%20an%20element%20is%20in%20this%20element's%20local%20DOM%20tree.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7B!Element%7D%20node%20The%20element%20to%20be%20checked.%0A%20%20%20%20%20%20%20*%20%40return%20%7Bboolean%7D%20true%20if%20node%20is%20in%20this%20element's%20local%20DOM%20tree.%0A%20%20%20%20%20%20%20*%2FisLocalDescendant(node)%7Breturn%20this.root%3D%3D%3Dnode.getRootNode()%7D%2F**%0A%20%20%20%20%20%20%20*%20No-op%20for%20backwards%20compatibility.%20This%20should%20now%20be%20handled%20by%0A%20%20%20%20%20%20%20*%20ShadyCss%20library.%0A%20%20%20%20%20%20%20*%20%40param%20%20%7B*%7D%20container%20Unused%0A%20%20%20%20%20%20%20*%20%40param%20%20%7B*%7D%20shouldObserve%20Unused%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2FscopeSubtree(container%2CshouldObserve)%7B%7D%2F%2F%20eslint-disable-line%20no-unused-vars%0A%2F**%0A%20%20%20%20%20%20%20*%20Returns%20the%20computed%20style%20value%20for%20the%20given%20property.%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20property%20The%20css%20property%20name.%0A%20%20%20%20%20%20%20*%20%40return%20%7Bstring%7D%20Returns%20the%20computed%20css%20property%20value%20for%20the%20given%0A%20%20%20%20%20%20%20*%20%60property%60.%0A%20%20%20%20%20%20%20*%20%40suppress%20%7BinvalidCasts%7D%20LegacyElementMixin%20must%20be%20applied%20to%20an%20HTMLElement%0A%20%20%20%20%20%20%20*%2FgetComputedStyleValue(property)%7Breturn%20styleInterface.getComputedStyleValue(%2F**%20%40type%20%7B!Element%7D%20*%2Fthis%2Cproperty)%7D%2F%2F%20debounce%0A%2F**%0A%20%20%20%20%20%20%20*%20Call%20%60debounce%60%20to%20collapse%20multiple%20requests%20for%20a%20named%20task%20into%0A%20%20%20%20%20%20%20*%20one%20invocation%20which%20is%20made%20after%20the%20wait%20time%20has%20elapsed%20with%0A%20%20%20%20%20%20%20*%20no%20new%20request.%20%20If%20no%20wait%20time%20is%20given%2C%20the%20callback%20will%20be%20called%0A%20%20%20%20%20%20%20*%20at%20microtask%20timing%20(guaranteed%20before%20paint).%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%20%20%20%20debouncedClickAction(e)%20%7B%0A%20%20%20%20%20%20%20*%20%20%20%20%20%20%20%2F%2F%20will%20not%20call%20%60processClick%60%20more%20than%20once%20per%20100ms%0A%20%20%20%20%20%20%20*%20%20%20%20%20%20%20this.debounce('click'%2C%20function()%20%7B%0A%20%20%20%20%20%20%20*%20%20%20%20%20%20%20%20this.processClick()%3B%0A%20%20%20%20%20%20%20*%20%20%20%20%20%20%20%7D%20100)%3B%0A%20%20%20%20%20%20%20*%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20jobName%20String%20to%20identify%20the%20debounce%20job.%0A%20%20%20%20%20%20%20*%20%40param%20%7Bfunction()%3Avoid%7D%20callback%20Function%20that%20is%20called%20(with%20%60this%60%0A%20%20%20%20%20%20%20*%20%20%20context)%20when%20the%20wait%20time%20elapses.%0A%20%20%20%20%20%20%20*%20%40param%20%7Bnumber%7D%20wait%20Optional%20wait%20time%20in%20milliseconds%20(ms)%20after%20the%0A%20%20%20%20%20%20%20*%20%20%20last%20signal%20that%20must%20elapse%20before%20invoking%20%60callback%60%0A%20%20%20%20%20%20%20*%20%40return%20%7B!Object%7D%20Returns%20a%20debouncer%20object%20on%20which%20exists%20the%0A%20%20%20%20%20%20%20*%20following%20methods%3A%20%60isActive()%60%20returns%20true%20if%20the%20debouncer%20is%0A%20%20%20%20%20%20%20*%20active%3B%20%60cancel()%60%20cancels%20the%20debouncer%20if%20it%20is%20active%3B%0A%20%20%20%20%20%20%20*%20%60flush()%60%20immediately%20invokes%20the%20debounced%20callback%20if%20the%20debouncer%0A%20%20%20%20%20%20%20*%20is%20active.%0A%20%20%20%20%20%20%20*%2Fdebounce(jobName%2Ccallback%2Cwait)%7Bthis._debouncers%3Dthis._debouncers%7C%7C%7B%7D%3Breturn%20this._debouncers%5BjobName%5D%3DPolymer.Debouncer.debounce(this._debouncers%5BjobName%5D%2C0%3Cwait%3FPolymer.Async.timeOut.after(wait)%3APolymer.Async.microTask%2Ccallback.bind(this))%7D%2F**%0A%20%20%20%20%20%20%20*%20Returns%20whether%20a%20named%20debouncer%20is%20active.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20jobName%20The%20name%20of%20the%20debouncer%20started%20with%20%60debounce%60%0A%20%20%20%20%20%20%20*%20%40return%20%7Bboolean%7D%20Whether%20the%20debouncer%20is%20active%20(has%20not%20yet%20fired).%0A%20%20%20%20%20%20%20*%2FisDebouncerActive(jobName)%7Bthis._debouncers%3Dthis._debouncers%7C%7C%7B%7D%3Blet%20debouncer%3Dthis._debouncers%5BjobName%5D%3Breturn!!(debouncer%26%26debouncer.isActive())%7D%2F**%0A%20%20%20%20%20%20%20*%20Immediately%20calls%20the%20debouncer%20%60callback%60%20and%20inactivates%20it.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20jobName%20The%20name%20of%20the%20debouncer%20started%20with%20%60debounce%60%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2FflushDebouncer(jobName)%7Bthis._debouncers%3Dthis._debouncers%7C%7C%7B%7D%3Blet%20debouncer%3Dthis._debouncers%5BjobName%5D%3Bif(debouncer)%7Bdebouncer.flush()%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Cancels%20an%20active%20debouncer.%20%20The%20%60callback%60%20will%20not%20be%20called.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20jobName%20The%20name%20of%20the%20debouncer%20started%20with%20%60debounce%60%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2FcancelDebouncer(jobName)%7Bthis._debouncers%3Dthis._debouncers%7C%7C%7B%7D%3Blet%20debouncer%3Dthis._debouncers%5BjobName%5D%3Bif(debouncer)%7Bdebouncer.cancel()%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Runs%20a%20callback%20function%20asynchronously.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20By%20default%20(if%20no%20waitTime%20is%20specified)%2C%20async%20callbacks%20are%20run%20at%0A%20%20%20%20%20%20%20*%20microtask%20timing%2C%20which%20will%20occur%20before%20paint.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7B!Function%7D%20callback%20The%20callback%20function%20to%20run%2C%20bound%20to%20%60this%60.%0A%20%20%20%20%20%20%20*%20%40param%20%7Bnumber%3D%7D%20waitTime%20Time%20to%20wait%20before%20calling%20the%0A%20%20%20%20%20%20%20*%20%20%20%60callback%60.%20%20If%20unspecified%20or%200%2C%20the%20callback%20will%20be%20run%20at%20microtask%0A%20%20%20%20%20%20%20*%20%20%20timing%20(before%20paint).%0A%20%20%20%20%20%20%20*%20%40return%20%7Bnumber%7D%20Handle%20that%20may%20be%20used%20to%20cancel%20the%20async%20job.%0A%20%20%20%20%20%20%20*%2Fasync(callback%2CwaitTime)%7Breturn%200%3CwaitTime%3FPolymer.Async.timeOut.run(callback.bind(this)%2CwaitTime)%3A~Polymer.Async.microTask.run(callback.bind(this))%7D%2F**%0A%20%20%20%20%20%20%20*%20Cancels%20an%20async%20operation%20started%20with%20%60async%60.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7Bnumber%7D%20handle%20Handle%20returned%20from%20original%20%60async%60%20call%20to%0A%20%20%20%20%20%20%20*%20%20%20cancel.%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2FcancelAsync(handle)%7B0%3Ehandle%3FPolymer.Async.microTask.cancel(~handle)%3APolymer.Async.timeOut.cancel(handle)%7D%2F%2F%20other%0A%2F**%0A%20%20%20%20%20%20%20*%20Convenience%20method%20for%20creating%20an%20element%20and%20configuring%20it.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20tag%20HTML%20element%20tag%20to%20create.%0A%20%20%20%20%20%20%20*%20%40param%20%7BObject%3D%7D%20props%20Object%20of%20properties%20to%20configure%20on%20the%0A%20%20%20%20%20%20%20*%20%20%20%20instance.%0A%20%20%20%20%20%20%20*%20%40return%20%7B!Element%7D%20Newly%20created%20and%20configured%20element.%0A%20%20%20%20%20%20%20*%2Fcreate(tag%2Cprops)%7Blet%20elt%3Ddocument.createElement(tag)%3Bif(props)%7Bif(elt.setProperties)%7Belt.setProperties(props)%7Delse%7Bfor(let%20n%20in%20props)%7Belt%5Bn%5D%3Dprops%5Bn%5D%7D%7D%7Dreturn%20elt%7D%2F**%0A%20%20%20%20%20%20%20*%20Convenience%20method%20for%20importing%20an%20HTML%20document%20imperatively.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20This%20method%20creates%20a%20new%20%60%3Clink%20rel%3D%22import%22%3E%60%20element%20with%0A%20%20%20%20%20%20%20*%20the%20provided%20URL%20and%20appends%20it%20to%20the%20document%20to%20start%20loading.%0A%20%20%20%20%20%20%20*%20In%20the%20%60onload%60%20callback%2C%20the%20%60import%60%20property%20of%20the%20%60link%60%0A%20%20%20%20%20%20%20*%20element%20will%20contain%20the%20imported%20document%20contents.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20href%20URL%20to%20document%20to%20load.%0A%20%20%20%20%20%20%20*%20%40param%20%7B%3Ffunction(!Event)%3Avoid%3D%7D%20onload%20Callback%20to%20notify%20when%20an%20import%20successfully%0A%20%20%20%20%20%20%20*%20%20%20loaded.%0A%20%20%20%20%20%20%20*%20%40param%20%7B%3Ffunction(!ErrorEvent)%3Avoid%3D%7D%20onerror%20Callback%20to%20notify%20when%20an%20import%0A%20%20%20%20%20%20%20*%20%20%20unsuccessfully%20loaded.%0A%20%20%20%20%20%20%20*%20%40param%20%7Bboolean%3D%7D%20optAsync%20True%20if%20the%20import%20should%20be%20loaded%20%60async%60.%0A%20%20%20%20%20%20%20*%20%20%20Defaults%20to%20%60false%60.%0A%20%20%20%20%20%20%20*%20%40return%20%7B!HTMLLinkElement%7D%20The%20link%20element%20for%20the%20URL%20to%20be%20loaded.%0A%20%20%20%20%20%20%20*%2FimportHref(href%2Conload%2Conerror%2CoptAsync)%7B%2F%2F%20eslint-disable-line%20no-unused-vars%0Alet%20loadFn%3Donload%3Fonload.bind(this)%3Anull%2CerrorFn%3Donerror%3Fonerror.bind(this)%3Anull%3Breturn%20Polymer.importHref(href%2CloadFn%2CerrorFn%2CoptAsync)%7D%2F**%0A%20%20%20%20%20%20%20*%20Polyfill%20for%20Element.prototype.matches%2C%20which%20is%20sometimes%20still%0A%20%20%20%20%20%20%20*%20prefixed.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20selector%20Selector%20to%20test.%0A%20%20%20%20%20%20%20*%20%40param%20%7B!Element%3D%7D%20node%20Element%20to%20test%20the%20selector%20against.%0A%20%20%20%20%20%20%20*%20%40return%20%7Bboolean%7D%20Whether%20the%20element%20matches%20the%20selector.%0A%20%20%20%20%20%20%20*%2FelementMatches(selector%2Cnode)%7Breturn%20Polymer.dom.matchesSelector(%2F**%20%40type%20%7B!Element%7D%20*%2Fnode%7C%7Cthis%2Cselector)%7D%2F**%0A%20%20%20%20%20%20%20*%20Toggles%20an%20HTML%20attribute%20on%20or%20off.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20name%20HTML%20attribute%20name%0A%20%20%20%20%20%20%20*%20%40param%20%7Bboolean%3D%7D%20bool%20Boolean%20to%20force%20the%20attribute%20on%20or%20off.%0A%20%20%20%20%20%20%20*%20%20%20%20When%20unspecified%2C%20the%20state%20of%20the%20attribute%20will%20be%20reversed.%0A%20%20%20%20%20%20%20*%20%40param%20%7BElement%3D%7D%20node%20Node%20to%20target.%20%20Defaults%20to%20%60this%60.%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2FtoggleAttribute(name%2Cbool%2Cnode)%7Bnode%3D%2F**%20%40type%20%7BElement%7D%20*%2Fnode%7C%7Cthis%3Bif(1%3D%3Darguments.length)%7Bbool%3D!node.hasAttribute(name)%7Dif(bool)%7Bnode.setAttribute(name%2C%22%22)%7Delse%7Bnode.removeAttribute(name)%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Toggles%20a%20CSS%20class%20on%20or%20off.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20name%20CSS%20class%20name%0A%20%20%20%20%20%20%20*%20%40param%20%7Bboolean%3D%7D%20bool%20Boolean%20to%20force%20the%20class%20on%20or%20off.%0A%20%20%20%20%20%20%20*%20%20%20%20When%20unspecified%2C%20the%20state%20of%20the%20class%20will%20be%20reversed.%0A%20%20%20%20%20%20%20*%20%40param%20%7BElement%3D%7D%20node%20Node%20to%20target.%20%20Defaults%20to%20%60this%60.%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2FtoggleClass(name%2Cbool%2Cnode)%7Bnode%3D%2F**%20%40type%20%7BElement%7D%20*%2Fnode%7C%7Cthis%3Bif(1%3D%3Darguments.length)%7Bbool%3D!node.classList.contains(name)%7Dif(bool)%7Bnode.classList.add(name)%7Delse%7Bnode.classList.remove(name)%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Cross-platform%20helper%20for%20setting%20an%20element's%20CSS%20%60transform%60%20property.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20transformText%20Transform%20setting.%0A%20%20%20%20%20%20%20*%20%40param%20%7BElement%3D%7D%20node%20Element%20to%20apply%20the%20transform%20to.%0A%20%20%20%20%20%20%20*%20Defaults%20to%20%60this%60%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2Ftransform(transformText%2Cnode)%7Bnode%3D%2F**%20%40type%20%7BElement%7D%20*%2Fnode%7C%7Cthis%3Bnode.style.webkitTransform%3DtransformText%3Bnode.style.transform%3DtransformText%7D%2F**%0A%20%20%20%20%20%20%20*%20Cross-platform%20helper%20for%20setting%20an%20element's%20CSS%20%60translate3d%60%0A%20%20%20%20%20%20%20*%20property.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7Bnumber%7D%20x%20X%20offset.%0A%20%20%20%20%20%20%20*%20%40param%20%7Bnumber%7D%20y%20Y%20offset.%0A%20%20%20%20%20%20%20*%20%40param%20%7Bnumber%7D%20z%20Z%20offset.%0A%20%20%20%20%20%20%20*%20%40param%20%7BElement%3D%7D%20node%20Element%20to%20apply%20the%20transform%20to.%0A%20%20%20%20%20%20%20*%20Defaults%20to%20%60this%60.%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2Ftranslate3d(x%2Cy%2Cz%2Cnode)%7Bnode%3D%2F**%20%40type%20%7BElement%7D%20*%2Fnode%7C%7Cthis%3Bthis.transform(%22translate3d(%22%2Bx%2B%22%2C%22%2By%2B%22%2C%22%2Bz%2B%22)%22%2Cnode)%7D%2F**%0A%20%20%20%20%20%20%20*%20Removes%20an%20item%20from%20an%20array%2C%20if%20it%20exists.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20If%20the%20array%20is%20specified%20by%20path%2C%20a%20change%20notification%20is%0A%20%20%20%20%20%20%20*%20generated%2C%20so%20that%20observers%2C%20data%20bindings%20and%20computed%0A%20%20%20%20%20%20%20*%20properties%20watching%20that%20path%20can%20update.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20If%20the%20array%20is%20passed%20directly%2C%20**no%20change%0A%20%20%20%20%20%20%20*%20notification%20is%20generated**.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%20%7C%20!Array%3Cnumber%7Cstring%3E%7D%20arrayOrPath%20Path%20to%20array%20from%20which%20to%20remove%20the%20item%0A%20%20%20%20%20%20%20*%20%20%20(or%20the%20array%20itself).%0A%20%20%20%20%20%20%20*%20%40param%20%7B*%7D%20item%20Item%20to%20remove.%0A%20%20%20%20%20%20%20*%20%40return%20%7BArray%7D%20Array%20containing%20item%20removed.%0A%20%20%20%20%20%20%20*%2FarrayDelete(arrayOrPath%2Citem)%7Blet%20index%3Bif(Array.isArray(arrayOrPath))%7Bindex%3DarrayOrPath.indexOf(item)%3Bif(0%3C%3Dindex)%7Breturn%20arrayOrPath.splice(index%2C1)%7D%7Delse%7Blet%20arr%3DPolymer.Path.get(this%2CarrayOrPath)%3Bindex%3Darr.indexOf(item)%3Bif(0%3C%3Dindex)%7Breturn%20this.splice(arrayOrPath%2Cindex%2C1)%7D%7Dreturn%20null%7D%2F%2F%20logging%0A%2F**%0A%20%20%20%20%20%20%20*%20Facades%20%60console.log%60%2F%60warn%60%2F%60error%60%20as%20override%20point.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20level%20One%20of%20'log'%2C%20'warn'%2C%20'error'%0A%20%20%20%20%20%20%20*%20%40param%20%7BArray%7D%20args%20Array%20of%20strings%20or%20objects%20to%20log%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2F_logger(level%2Cargs)%7B%2F%2F%20accept%20%5B'foo'%2C%20'bar'%5D%20and%20%5B%5B'foo'%2C%20'bar'%5D%5D%0Aif(Array.isArray(args)%26%261%3D%3D%3Dargs.length%26%26Array.isArray(args%5B0%5D))%7Bargs%3Dargs%5B0%5D%7Dswitch(level)%7Bcase%22log%22%3Acase%22warn%22%3Acase%22error%22%3Aconsole%5Blevel%5D(...args)%3B%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Facades%20%60console.log%60%20as%20an%20override%20point.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7B...*%7D%20args%20Array%20of%20strings%20or%20objects%20to%20log%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2F_log(...args)%7Bthis._logger(%22log%22%2Cargs)%7D%2F**%0A%20%20%20%20%20%20%20*%20Facades%20%60console.warn%60%20as%20an%20override%20point.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7B...*%7D%20args%20Array%20of%20strings%20or%20objects%20to%20log%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2F_warn(...args)%7Bthis._logger(%22warn%22%2Cargs)%7D%2F**%0A%20%20%20%20%20%20%20*%20Facades%20%60console.error%60%20as%20an%20override%20point.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7B...*%7D%20args%20Array%20of%20strings%20or%20objects%20to%20log%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2F_error(...args)%7Bthis._logger(%22error%22%2Cargs)%7D%2F**%0A%20%20%20%20%20%20%20*%20Formats%20a%20message%20using%20the%20element%20type%20an%20a%20method%20name.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20methodName%20Method%20name%20to%20associate%20with%20message%0A%20%20%20%20%20%20%20*%20%40param%20%7B...*%7D%20args%20Array%20of%20strings%20or%20objects%20to%20log%0A%20%20%20%20%20%20%20*%20%40return%20%7BArray%7D%20Array%20with%20formatting%20information%20for%20%60console%60%0A%20%20%20%20%20%20%20*%20%20%20logging.%0A%20%20%20%20%20%20%20*%2F_logf(methodName%2C...args)%7Breturn%5B%22%5B%25s%3A%3A%25s%5D%22%2Cthis.is%2CmethodName%2C...args%5D%7D%7DLegacyElement.prototype.is%3D%22%22%3Breturn%20LegacyElement%7D)%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fpolymer%2Flib%2Flegacy%2Flegacy-element-mixin.html.js%0A | 32 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,%2F**%0A%20%20%20*%20%60Polymer.NeonAnimationRunnerBehavior%60%20adds%20a%20method%20to%20run%20animations.%0A%20%20%20*%0A%20%20%20*%20%40polymerBehavior%20Polymer.NeonAnimationRunnerBehavior%0A%20%20%20*%2FPolymer.NeonAnimationRunnerBehaviorImpl%3D%7B_configureAnimations%3Afunction(configs)%7Bvar%20results%3D%5B%5D%2CresultsToPlay%3D%5B%5D%3Bif(0%3Cconfigs.length)%7Bfor(var%20config%2Cindex%3D0%2CneonAnimation%3Bconfig%3Dconfigs%5Bindex%5D%3Bindex%2B%2B)%7BneonAnimation%3Ddocument.createElement(config.name)%3B%2F%2F%20is%20this%20element%20actually%20a%20neon%20animation%3F%0Aif(neonAnimation.isNeonAnimation)%7Bvar%20result%3Dnull%3B%2F%2F%20Closure%20compiler%20does%20not%20work%20well%20with%20a%20try%20%2F%20catch%20here.%20.configure%20needs%20to%20be%0A%2F%2F%20explicitly%20defined%0Aif(!neonAnimation.configure)%7B%2F**%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20config%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20*%20%40return%20%7BAnimationEffectReadOnly%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20*%2FneonAnimation.configure%3Dfunction(config)%7Breturn%20null%7D%7Dresult%3DneonAnimation.configure(config)%3BresultsToPlay.push(%7Bresult%3Aresult%2Cconfig%3Aconfig%7D)%7Delse%7Bconsole.warn(this.is%2B%22%3A%22%2Cconfig.name%2C%22not%20found!%22)%7D%7D%7Dfor(var%20i%3D0%3Bi%3CresultsToPlay.length%3Bi%2B%2B)%7Bvar%20result%3DresultsToPlay%5Bi%5D.result%2Cconfig%3DresultsToPlay%5Bi%5D.config%3B%2F%2F%20configuration%20or%20play%20could%20fail%20if%20polyfills%20aren't%20loaded%0Atry%7B%2F%2F%20Check%20if%20we%20have%20an%20Effect%20rather%20than%20an%20Animation%0Aif(%22function%22!%3Dtypeof%20result.cancel)%7Bresult%3Ddocument.timeline.play(result)%7D%7Dcatch(e)%7Bresult%3Dnull%3Bconsole.warn(%22Couldnt%20play%22%2C%22(%22%2Cconfig.name%2C%22).%22%2Ce)%7Dif(result)%7Bresults.push(%7BneonAnimation%3AneonAnimation%2Cconfig%3Aconfig%2Canimation%3Aresult%7D)%7D%7Dreturn%20results%7D%2C_shouldComplete%3Afunction(activeEntries)%7Bfor(var%20finished%3D%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2Ci%3D0%3Bi%3CactiveEntries.length%3Bi%2B%2B)%7Bif(%22finished%22!%3DactiveEntries%5Bi%5D.animation.playState)%7Bfinished%3D%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A!1%3Bbreak%7D%7Dreturn%20finished%7D%2C_complete%3Afunction(activeEntries)%7Bfor(var%20i%3D0%3Bi%3CactiveEntries.length%3Bi%2B%2B)%7BactiveEntries%5Bi%5D.neonAnimation.complete(activeEntries%5Bi%5D.config)%7Dfor(var%20i%3D0%3Bi%3CactiveEntries.length%3Bi%2B%2B)%7BactiveEntries%5Bi%5D.animation.cancel()%7D%7D%2C%2F**%0A%20%20%20%20%20*%20Plays%20an%20animation%20with%20an%20optional%20%60type%60.%0A%20%20%20%20%20*%20%40param%20%7Bstring%3D%7D%20type%0A%20%20%20%20%20*%20%40param%20%7B!Object%3D%7D%20cookie%0A%20%20%20%20%20*%2FplayAnimation%3Afunction(type%2Ccookie)%7Bvar%20configs%3Dthis.getAnimationConfig(type)%3Bif(!configs)%7Breturn%7Dthis._active%3Dthis._active%7C%7C%7B%7D%3Bif(this._active%5Btype%5D)%7Bthis._complete(this._active%5Btype%5D)%3Bdelete%20this._active%5Btype%5D%7Dvar%20activeEntries%3Dthis._configureAnimations(configs)%3Bif(0%3D%3DactiveEntries.length)%7Bthis.fire(%22neon-animation-finish%22%2Ccookie%2C%7Bbubbles%3A!1%7D)%3Breturn%7Dthis._active%5Btype%5D%3DactiveEntries%3Bfor(var%20i%3D0%3Bi%3CactiveEntries.length%3Bi%2B%2B)%7BactiveEntries%5Bi%5D.animation.onfinish%3Dfunction()%7Bif(this._shouldComplete(activeEntries))%7Bthis._complete(activeEntries)%3Bdelete%20this._active%5Btype%5D%3Bthis.fire(%22neon-animation-finish%22%2Ccookie%2C%7Bbubbles%3A!1%7D)%7D%7D.bind(this)%7D%7D%2C%2F**%0A%20%20%20%20%20*%20Cancels%20the%20currently%20running%20animations.%0A%20%20%20%20%20*%2FcancelAnimation%3Afunction()%7Bfor(var%20k%20in%20this._active)%7Bvar%20entries%3Dthis._active%5Bk%5D%3Bfor(var%20j%20in%20entries)%7Bentries%5Bj%5D.animation.cancel()%7D%7Dthis._active%3D%7B%7D%7D%7D%3B%2F**%20%40polymerBehavior%20Polymer.NeonAnimationRunnerBehavior%20*%2FPolymer.NeonAnimationRunnerBehavior%3D%5BPolymer.NeonAnimatableBehavior%2CPolymer.NeonAnimationRunnerBehaviorImpl%5D%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fneon-animation%2Fneon-animation-runner-behavior.html.js%0A | 3.6 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-column/src/IngColumn.styles.js | 386 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/lib/default-template-processor.js | 1.0 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/button/IngButton.js | 588 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7B'use%20strict'%3Blet%20caseMap%3DPolymer.CaseMap%3B%2F%2F%20Save%20map%20of%20native%20properties%3B%20this%20forms%20a%20blacklist%20or%20properties%0A%2F%2F%20that%20won't%20have%20their%20values%20%22saved%22%20by%20%60saveAccessorValue%60%2C%20since%0A%2F%2F%20reading%20from%20an%20HTMLElement%20accessor%20from%20the%20context%20of%20a%20prototype%20throws%0Aconst%20nativeProperties%3D%7B%7D%3Blet%20proto%3DHTMLElement.prototype%3Bwhile(proto)%7Blet%20props%3DObject.getOwnPropertyNames(proto)%3Bfor(let%20i%3D0%3Bi%3Cprops.length%3Bi%2B%2B)%7BnativeProperties%5Bprops%5Bi%5D%5D%3D%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%7Dproto%3DObject.getPrototypeOf(proto)%7D%2F**%0A%20%20%20*%20Used%20to%20save%20the%20value%20of%20a%20property%20that%20will%20be%20overridden%20with%0A%20%20%20*%20an%20accessor.%20If%20the%20%60model%60%20is%20a%20prototype%2C%20the%20values%20will%20be%20saved%0A%20%20%20*%20in%20%60__dataProto%60%2C%20and%20it's%20up%20to%20the%20user%20(or%20downstream%20mixin)%20to%0A%20%20%20*%20decide%20how%2Fwhen%20to%20set%20these%20values%20back%20into%20the%20accessors.%0A%20%20%20*%20If%20%60model%60%20is%20already%20an%20instance%20(it%20has%20a%20%60__data%60%20property)%2C%20then%0A%20%20%20*%20the%20value%20will%20be%20set%20as%20a%20pending%20property%2C%20meaning%20the%20user%20should%0A%20%20%20*%20call%20%60_invalidateProperties%60%20or%20%60_flushProperties%60%20to%20take%20effect%0A%20%20%20*%0A%20%20%20*%20%40param%20%7BObject%7D%20model%20Prototype%20or%20instance%0A%20%20%20*%20%40param%20%7Bstring%7D%20property%20Name%20of%20property%0A%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20*%20%40private%0A%20%20%20*%2Ffunction%20saveAccessorValue(model%2Cproperty)%7B%2F%2F%20Don't%20read%2Fstore%20value%20for%20any%20native%20properties%20since%20they%20could%20throw%0Aif(!nativeProperties%5Bproperty%5D)%7Blet%20value%3Dmodel%5Bproperty%5D%3Bif(value!%3D%3D%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0Avoid%200)%7Bif(model.__data)%7B%2F%2F%20Adding%20accessor%20to%20instance%3B%20update%20the%20property%0A%2F%2F%20It%20is%20the%20user's%20responsibility%20to%20call%20_flushProperties%0Amodel._setPendingProperty(property%2Cvalue)%7Delse%7B%2F%2F%20Adding%20accessor%20to%20proto%3B%20save%20proto's%20value%20for%20instance-time%20use%0Aif(!model.__dataProto)%7Bmodel.__dataProto%3D%7B%7D%7Delse%20if(!model.hasOwnProperty(JSCompiler_renameProperty(%22__dataProto%22%2Cmodel)))%7Bmodel.__dataProto%3DObject.create(model.__dataProto)%7Dmodel.__dataProto%5Bproperty%5D%3Dvalue%7D%7D%7D%7D%2F**%0A%20%20%20*%20Element%20class%20mixin%20that%20provides%20basic%20meta-programming%20for%20creating%20one%0A%20%20%20*%20or%20more%20property%20accessors%20(getter%2Fsetter%20pair)%20that%20enqueue%20an%20async%0A%20%20%20*%20(batched)%20%60_propertiesChanged%60%20callback.%0A%20%20%20*%0A%20%20%20*%20For%20basic%20usage%20of%20this%20mixin%3A%0A%20%20%20*%20%0A%20%20%20*%20-%20%20%20Declare%20attributes%20to%20observe%20via%20the%20standard%20%60static%20get%20observedAttributes()%60.%20Use%0A%20%20%20*%20%20%20%20%20%60dash-case%60%20attribute%20names%20to%20represent%20%60camelCase%60%20property%20names.%20%0A%20%20%20*%20-%20%20%20Implement%20the%20%60_propertiesChanged%60%20callback%20on%20the%20class.%0A%20%20%20*%20-%20%20%20Call%20%60MyClass.createPropertiesForAttributes()%60%20**once**%20on%20the%20class%20to%20generate%20%0A%20%20%20*%20%20%20%20%20property%20accessors%20for%20each%20observed%20attribute.%20This%20must%20be%20called%20before%20the%20first%20%0A%20%20%20*%20%20%20%20%20instance%20is%20created%2C%20for%20example%2C%20by%20calling%20it%20before%20calling%20%60customElements.define%60.%0A%20%20%20*%20%20%20%20%20It%20can%20also%20be%20called%20lazily%20from%20the%20element's%20%60constructor%60%2C%20as%20long%20as%20it's%20guarded%20so%0A%20%20%20*%20%20%20%20%20that%20the%20call%20is%20only%20made%20once%2C%20when%20the%20first%20instance%20is%20created.%0A%20%20%20*%20-%20%20%20Call%20%60this._enableProperties()%60%20in%20the%20element's%20%60connectedCallback%60%20to%20enable%20%0A%20%20%20*%20%20%20%20%20the%20accessors.%0A%20%20%20*%0A%20%20%20*%20Any%20%60observedAttributes%60%20will%20automatically%20be%0A%20%20%20*%20deserialized%20via%20%60attributeChangedCallback%60%20and%20set%20to%20the%20associated%0A%20%20%20*%20property%20using%20%60dash-case%60-to-%60camelCase%60%20convention.%0A%20%20%20*%0A%20%20%20*%20%40mixinFunction%0A%20%20%20*%20%40polymer%0A%20%20%20*%20%40appliesMixin%20Polymer.PropertiesChanged%0A%20%20%20*%20%40memberof%20Polymer%0A%20%20%20*%20%40summary%20Element%20class%20mixin%20for%20reacting%20to%20property%20changes%20from%0A%20%20%20*%20%20%20generated%20property%20accessors.%0A%20%20%20*%2FPolymer.PropertyAccessors%3DPolymer.dedupingMixin(superClass%3D%3E%7B%2F**%0A%20%20%20%20%20*%20%40constructor%0A%20%20%20%20%20*%20%40extends%20%7BsuperClass%7D%0A%20%20%20%20%20*%20%40implements%20%7BPolymer_PropertiesChanged%7D%0A%20%20%20%20%20*%20%40unrestricted%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2Fconst%20base%3DPolymer.PropertiesChanged(superClass)%3B%2F**%0A%20%20%20%20%20*%20%40polymer%0A%20%20%20%20%20*%20%40mixinClass%0A%20%20%20%20%20*%20%40implements%20%7BPolymer_PropertyAccessors%7D%0A%20%20%20%20%20*%20%40extends%20%7Bbase%7D%0A%20%20%20%20%20*%20%40unrestricted%0A%20%20%20%20%20*%2Fclass%20PropertyAccessors%20extends%20base%7B%2F**%0A%20%20%20%20%20%20%20*%20Generates%20property%20accessors%20for%20all%20attributes%20in%20the%20standard%0A%20%20%20%20%20%20%20*%20static%20%60observedAttributes%60%20array.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20Attribute%20names%20are%20mapped%20to%20property%20names%20using%20the%20%60dash-case%60%20to%0A%20%20%20%20%20%20%20*%20%60camelCase%60%20convention%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2Fstatic%20createPropertiesForAttributes()%7Blet%20a%24%3Dthis.observedAttributes%3Bfor(let%20i%3D0%3Bi%3Ca%24.length%3Bi%2B%2B)%7Bthis.prototype._createPropertyAccessor(caseMap.dashToCamelCase(a%24%5Bi%5D))%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Returns%20an%20attribute%20name%20that%20corresponds%20to%20the%20given%20property.%0A%20%20%20%20%20%20%20*%20By%20default%2C%20converts%20camel%20to%20dash%20case%2C%20e.g.%20%60fooBar%60%20to%20%60foo-bar%60.%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20property%20Property%20to%20convert%0A%20%20%20%20%20%20%20*%20%40return%20%7Bstring%7D%20Attribute%20name%20corresponding%20to%20the%20given%20property.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20%20%20*%2Fstatic%20attributeNameForProperty(property)%7Breturn%20caseMap.camelToDashCase(property)%7D%2F**%0A%20%20%20%20%20%20%20*%20Overrides%20PropertiesChanged%20implementation%20to%20initialize%20values%20for%0A%20%20%20%20%20%20%20*%20accessors%20created%20for%20values%20that%20already%20existed%20on%20the%20element%0A%20%20%20%20%20%20%20*%20prototype.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20%20%20*%2F_initializeProperties()%7Bif(this.__dataProto)%7Bthis._initializeProtoProperties(this.__dataProto)%3Bthis.__dataProto%3Dnull%7Dsuper._initializeProperties()%7D%2F**%0A%20%20%20%20%20%20%20*%20Called%20at%20instance%20time%20with%20bag%20of%20properties%20that%20were%20overwritten%0A%20%20%20%20%20%20%20*%20by%20accessors%20on%20the%20prototype%20when%20accessors%20were%20created.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20The%20default%20implementation%20sets%20these%20properties%20back%20into%20the%0A%20%20%20%20%20%20%20*%20setter%20at%20instance%20time.%20%20This%20method%20is%20provided%20as%20an%20override%0A%20%20%20%20%20%20%20*%20point%20for%20customizing%20or%20providing%20more%20efficient%20initialization.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20props%20Bag%20of%20property%20values%20that%20were%20overwritten%0A%20%20%20%20%20%20%20*%20%20%20when%20creating%20property%20accessors.%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20%20%20*%2F_initializeProtoProperties(props)%7Bfor(let%20p%20in%20props)%7Bthis._setProperty(p%2Cprops%5Bp%5D)%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Ensures%20the%20element%20has%20the%20given%20attribute.%20If%20it%20does%20not%2C%0A%20%20%20%20%20%20%20*%20assigns%20the%20given%20value%20to%20the%20attribute.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40suppress%20%7BinvalidCasts%7D%20Closure%20can't%20figure%20out%20%60this%60%20is%20infact%20an%20element%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20attribute%20Name%20of%20attribute%20to%20ensure%20is%20set.%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20value%20of%20the%20attribute.%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2F_ensureAttribute(attribute%2Cvalue)%7Bconst%20el%3D%2F**%20%40type%20%7B!HTMLElement%7D%20*%2Fthis%3Bif(!el.hasAttribute(attribute))%7Bthis._valueToNodeAttribute(el%2Cvalue%2Cattribute)%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Overrides%20PropertiesChanged%20implemention%20to%20serialize%20objects%20as%20JSON.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7B*%7D%20value%20Property%20value%20to%20serialize.%0A%20%20%20%20%20%20%20*%20%40return%20%7Bstring%20%7C%20undefined%7D%20String%20serialized%20from%20the%20provided%20property%20value.%0A%20%20%20%20%20%20%20*%2F_serializeValue(value)%7B%2F*%20eslint-disable%20no-fallthrough%20*%2Fswitch(typeof%20value)%7Bcase%22object%22%3Aif(value%20instanceof%20Date)%7Breturn%20value.toString()%7Delse%20if(value)%7Btry%7Breturn%20JSON.stringify(value)%7Dcatch(x)%7Breturn%22%22%7D%7Ddefault%3Areturn%20super._serializeValue(value)%3B%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Converts%20a%20string%20to%20a%20typed%20JavaScript%20value.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20This%20method%20is%20called%20by%20Polymer%20when%20reading%20HTML%20attribute%20values%20to%0A%20%20%20%20%20%20%20*%20JS%20properties.%20%20Users%20may%20override%20this%20method%20on%20Polymer%20element%0A%20%20%20%20%20%20%20*%20prototypes%20to%20provide%20deserialization%20for%20custom%20%60type%60s.%20%20Note%2C%0A%20%20%20%20%20%20%20*%20the%20%60type%60%20argument%20is%20the%20value%20of%20the%20%60type%60%20field%20provided%20in%20the%0A%20%20%20%20%20%20%20*%20%60properties%60%20configuration%20object%20for%20a%20given%20property%2C%20and%20is%0A%20%20%20%20%20%20%20*%20by%20convention%20the%20constructor%20for%20the%20type%20to%20deserialize.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7B%3Fstring%7D%20value%20Attribute%20value%20to%20deserialize.%0A%20%20%20%20%20%20%20*%20%40param%20%7B*%3D%7D%20type%20Type%20to%20deserialize%20the%20string%20to.%0A%20%20%20%20%20%20%20*%20%40return%20%7B*%7D%20Typed%20value%20deserialized%20from%20the%20provided%20string.%0A%20%20%20%20%20%20%20*%2F_deserializeValue(value%2Ctype)%7B%2F**%0A%20%20%20%20%20%20%20%20%20*%20%40type%20%7B*%7D%0A%20%20%20%20%20%20%20%20%20*%2Flet%20outValue%3Bswitch(type)%7Bcase%20Object%3Atry%7BoutValue%3DJSON.parse(%2F**%20%40type%20%7Bstring%7D%20*%2Fvalue)%7Dcatch(x)%7B%2F%2F%20allow%20non-JSON%20literals%20like%20Strings%20and%20Numbers%0AoutValue%3Dvalue%7Dbreak%3Bcase%20Array%3Atry%7BoutValue%3DJSON.parse(%2F**%20%40type%20%7Bstring%7D%20*%2Fvalue)%7Dcatch(x)%7BoutValue%3Dnull%3Bconsole.warn(%60Polymer%3A%3AAttributes%3A%20couldn't%20decode%20Array%20as%20JSON%3A%20%24%7Bvalue%7D%60)%7Dbreak%3Bcase%20Date%3AoutValue%3DisNaN(value)%3Fvalue%2B%22%22%3A%2Bvalue%3BoutValue%3Dnew%20Date(outValue)%3Bbreak%3Bdefault%3AoutValue%3Dsuper._deserializeValue(value%2Ctype)%3Bbreak%3B%7Dreturn%20outValue%7D%2F*%20eslint-enable%20no-fallthrough%20*%2F%20%2F**%0A%20%20%20%20%20%20%20*%20Overrides%20PropertiesChanged%20implementation%20to%20save%20existing%20prototype%0A%20%20%20%20%20%20%20*%20property%20value%20so%20that%20it%20can%20be%20reset.%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20property%20Name%20of%20the%20property%0A%20%20%20%20%20%20%20*%20%40param%20%7Bboolean%3D%7D%20readOnly%20When%20true%2C%20no%20setter%20is%20created%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20When%20calling%20on%20a%20prototype%2C%20any%20overwritten%20values%20are%20saved%20in%0A%20%20%20%20%20%20%20*%20%60__dataProto%60%2C%20and%20it%20is%20up%20to%20the%20subclasser%20to%20decide%20how%2Fwhen%0A%20%20%20%20%20%20%20*%20to%20set%20those%20properties%20back%20into%20the%20accessor.%20%20When%20calling%20on%20an%0A%20%20%20%20%20%20%20*%20instance%2C%20the%20overwritten%20value%20is%20set%20via%20%60_setPendingProperty%60%2C%0A%20%20%20%20%20%20%20*%20and%20the%20user%20should%20call%20%60_invalidateProperties%60%20or%20%60_flushProperties%60%0A%20%20%20%20%20%20%20*%20for%20the%20values%20to%20take%20effect.%0A%20%20%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2F_definePropertyAccessor(property%2CreadOnly)%7BsaveAccessorValue(this%2Cproperty)%3Bsuper._definePropertyAccessor(property%2CreadOnly)%7D%2F**%0A%20%20%20%20%20%20%20*%20Returns%20true%20if%20this%20library%20created%20an%20accessor%20for%20the%20given%20property.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20property%20Property%20name%0A%20%20%20%20%20%20%20*%20%40return%20%7Bboolean%7D%20True%20if%20an%20accessor%20was%20created%0A%20%20%20%20%20%20%20*%2F_hasAccessor(property)%7Breturn%20this.__dataHasAccessor%26%26this.__dataHasAccessor%5Bproperty%5D%7D%2F**%0A%20%20%20%20%20%20%20*%20Returns%20true%20if%20the%20specified%20property%20has%20a%20pending%20change.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20prop%20Property%20name%0A%20%20%20%20%20%20%20*%20%40return%20%7Bboolean%7D%20True%20if%20property%20has%20a%20pending%20change%0A%20%20%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20%20%20*%2F_isPropertyPending(prop)%7Breturn!!(this.__dataPending%26%26prop%20in%20this.__dataPending)%7D%7Dreturn%20PropertyAccessors%7D)%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fpolymer%2Flib%2Fmixins%2Fproperty-accessors.html.js%0A | 10 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,Polymer(%7Bis%3A%22paper-dialog%22%2Cbehaviors%3A%5BPolymer.PaperDialogBehavior%2CPolymer.NeonAnimationRunnerBehavior%5D%2Clisteners%3A%7B%22neon-animation-finish%22%3A%22_onNeonAnimationFinish%22%7D%2C_renderOpened%3Afunction()%7Bthis.cancelAnimation()%3Bthis.playAnimation(%22entry%22)%7D%2C_renderClosed%3Afunction()%7Bthis.cancelAnimation()%3Bthis.playAnimation(%22exit%22)%7D%2C_onNeonAnimationFinish%3Afunction()%7Bif(this.opened)%7Bthis._finishRenderOpened()%7Delse%7Bthis._finishRenderClosed()%7D%7D%7D)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fpaper-dialog%2Fpaper-dialog.html.js%0A | 522 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js | 7.6 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/core/mixins/addTagManager.js | 1.1 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/core/src/browserDetection.js | 483 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7B'use%20strict'%3Bconst%20caseMap%3D%7B%7D%2CDASH_TO_CAMEL%3D%2F-%5Ba-z%5D%2Fg%2CCAMEL_TO_DASH%3D%2F(%5BA-Z%5D)%2Fg%2CCaseMap%3D%7B%2F**%0A%20%20%20%20%20*%20Converts%20%22dash-case%22%20identifier%20(e.g.%20%60foo-bar-baz%60)%20to%20%22camelCase%22%0A%20%20%20%20%20*%20(e.g.%20%60fooBarBaz%60).%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40memberof%20Polymer.CaseMap%0A%20%20%20%20%20*%20%40param%20%7Bstring%7D%20dash%20Dash-case%20identifier%0A%20%20%20%20%20*%20%40return%20%7Bstring%7D%20Camel-case%20representation%20of%20the%20identifier%0A%20%20%20%20%20*%2FdashToCamelCase(dash)%7Breturn%20caseMap%5Bdash%5D%7C%7C(caseMap%5Bdash%5D%3D0%3Edash.indexOf(%22-%22)%3Fdash%3Adash.replace(DASH_TO_CAMEL%2Cm%3D%3Em%5B1%5D.toUpperCase()))%7D%2C%2F**%0A%20%20%20%20%20*%20Converts%20%22camelCase%22%20identifier%20(e.g.%20%60fooBarBaz%60)%20to%20%22dash-case%22%0A%20%20%20%20%20*%20(e.g.%20%60foo-bar-baz%60).%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40memberof%20Polymer.CaseMap%0A%20%20%20%20%20*%20%40param%20%7Bstring%7D%20camel%20Camel-case%20identifier%0A%20%20%20%20%20*%20%40return%20%7Bstring%7D%20Dash-case%20representation%20of%20the%20identifier%0A%20%20%20%20%20*%2FcamelToDashCase(camel)%7Breturn%20caseMap%5Bcamel%5D%7C%7C(caseMap%5Bcamel%5D%3Dcamel.replace(CAMEL_TO_DASH%2C%22-%241%22).toLowerCase())%7D%7D%3BPolymer.CaseMap%3DCaseMap%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fpolymer%2Flib%2Futils%2Fcase-map.html.js%0A | 1.0 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/icon/oj-icons/outline/arrows/chevron_left_outline.svg.js | 214 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7B'use%20strict'%3Bconst%20walker%3Ddocument.createTreeWalker(document%2CNodeFilter.SHOW_ALL%2Cnull%2C%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A!1)%2CtemplateExtensions%3D%7B%22dom-if%22%3A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2C%22dom-repeat%22%3A!0%7D%3B%2F%2F%201.x%20backwards-compatible%20auto-wrapper%20for%20template%20type%20extensions%0A%2F%2F%20This%20is%20a%20clear%20layering%20violation%20and%20gives%20favored-nation%20status%20to%0A%2F%2F%20dom-if%20and%20dom-repeat%20templates.%20%20This%20is%20a%20conceit%20we're%20choosing%20to%20keep%0A%2F%2F%20a.)%20to%20ease%201.x%20backwards-compatibility%20due%20to%20loss%20of%20%60is%60%2C%20and%0A%2F%2F%20b.)%20to%20maintain%20if%2Frepeat%20capability%20in%20parser-constrained%20elements%0A%2F%2F%20%20%20%20%20(e.g.%20table%2C%20select)%20in%20lieu%20of%20native%20CE%20type%20extensions%20without%0A%2F%2F%20%20%20%20%20massive%20new%20invention%20in%20this%20space%20(e.g.%20directive%20system)%0Afunction%20wrapTemplateExtension(node)%7Blet%20is%3Dnode.getAttribute(%22is%22)%3Bif(is%26%26templateExtensions%5Bis%5D)%7Blet%20t%3Dnode%3Bt.removeAttribute(%22is%22)%3Bnode%3Dt.ownerDocument.createElement(is)%3Bt.parentNode.replaceChild(node%2Ct)%3Bnode.appendChild(t)%3Bwhile(t.attributes.length)%7Bnode.setAttribute(t.attributes%5B0%5D.name%2Ct.attributes%5B0%5D.value)%3Bt.removeAttribute(t.attributes%5B0%5D.name)%7D%7Dreturn%20node%7Dfunction%20findTemplateNode(root%2CnodeInfo)%7B%2F%2F%20recursively%20ascend%20tree%20until%20we%20hit%20root%0Alet%20parent%3DnodeInfo.parentInfo%26%26findTemplateNode(root%2CnodeInfo.parentInfo)%3B%2F%2F%20unwind%20the%20stack%2C%20returning%20the%20indexed%20node%20at%20each%20level%0Aif(parent)%7B%2F%2F%20note%3A%20marginally%20faster%20than%20indexing%20via%20childNodes%0A%2F%2F%20(http%3A%2F%2Fjsperf.com%2Fchildnodes-lookup)%0Awalker.currentNode%3Dparent%3Bfor(let%20n%3Dwalker.firstChild()%2Ci%3D0%3Bn%3Bn%3Dwalker.nextSibling())%7Bif(nodeInfo.parentIndex%3D%3D%3Di%2B%2B)%7Breturn%20n%7D%7D%7Delse%7Breturn%20root%7D%7D%2F%2F%20construct%20%60%24%60%20map%20(from%20id%20annotations)%0Afunction%20applyIdToMap(inst%2Cmap%2Cnode%2CnodeInfo)%7Bif(nodeInfo.id)%7Bmap%5BnodeInfo.id%5D%3Dnode%7D%7D%2F%2F%20install%20event%20listeners%20(from%20event%20annotations)%0Afunction%20applyEventListener(inst%2Cnode%2CnodeInfo)%7Bif(nodeInfo.events%26%26nodeInfo.events.length)%7Bfor(let%20j%3D0%2Ce%24%3DnodeInfo.events%2Ce%3Bj%3Ce%24.length%26%26(e%3De%24%5Bj%5D)%3Bj%2B%2B)%7Binst._addMethodEventListenerToNode(node%2Ce.name%2Ce.value%2Cinst)%7D%7D%7D%2F%2F%20push%20configuration%20references%20at%20configure%20time%0Afunction%20applyTemplateContent(inst%2Cnode%2CnodeInfo)%7Bif(nodeInfo.templateInfo)%7Bnode._templateInfo%3DnodeInfo.templateInfo%7D%7Dfunction%20createNodeEventHandler(context%2CeventName%2CmethodName)%7B%2F%2F%20Instances%20can%20optionally%20have%20a%20_methodHost%20which%20allows%20redirecting%20where%0A%2F%2F%20to%20find%20methods.%20Currently%20used%20by%20%60templatize%60.%0Acontext%3Dcontext._methodHost%7C%7Ccontext%3Blet%20handler%3Dfunction(e)%7Bif(context%5BmethodName%5D)%7Bcontext%5BmethodName%5D(e%2Ce.detail)%7Delse%7Bconsole.warn(%22listener%20method%20%60%22%2BmethodName%2B%22%60%20not%20defined%22)%7D%7D%3Breturn%20handler%7D%2F**%0A%20%20%20*%20Element%20mixin%20that%20provides%20basic%20template%20parsing%20and%20stamping%2C%20including%0A%20%20%20*%20the%20following%20template-related%20features%20for%20stamped%20templates%3A%0A%20%20%20*%0A%20%20%20*%20-%20Declarative%20event%20listeners%20(%60on-eventname%3D%22listener%22%60)%0A%20%20%20*%20-%20Map%20of%20node%20id's%20to%20stamped%20node%20instances%20(%60this.%24.id%60)%0A%20%20%20*%20-%20Nested%20template%20content%20caching%2Fremoval%20and%20re-installation%20(performance%0A%20%20%20*%20%20%20optimization)%0A%20%20%20*%0A%20%20%20*%20%40mixinFunction%0A%20%20%20*%20%40polymer%0A%20%20%20*%20%40memberof%20Polymer%0A%20%20%20*%20%40summary%20Element%20class%20mixin%20that%20provides%20basic%20template%20parsing%20and%20stamping%0A%20%20%20*%2FPolymer.TemplateStamp%3DPolymer.dedupingMixin(superClass%3D%3E%7B%2F**%0A%20%20%20%20%20*%20%40polymer%0A%20%20%20%20%20*%20%40mixinClass%0A%20%20%20%20%20*%20%40implements%20%7BPolymer_TemplateStamp%7D%0A%20%20%20%20%20*%2Fclass%20TemplateStamp%20extends%20superClass%7B%2F**%0A%20%20%20%20%20%20%20*%20Scans%20a%20template%20to%20produce%20template%20metadata.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20Template-specific%20metadata%20are%20stored%20in%20the%20object%20returned%2C%20and%20node-%0A%20%20%20%20%20%20%20*%20specific%20metadata%20are%20stored%20in%20objects%20in%20its%20flattened%20%60nodeInfoList%60%0A%20%20%20%20%20%20%20*%20array.%20%20Only%20nodes%20in%20the%20template%20that%20were%20parsed%20as%20nodes%20of%0A%20%20%20%20%20%20%20*%20interest%20contain%20an%20object%20in%20%60nodeInfoList%60.%20%20Each%20%60nodeInfo%60%20object%0A%20%20%20%20%20%20%20*%20contains%20an%20%60index%60%20(%60childNodes%60%20index%20in%20parent)%20and%20optionally%0A%20%20%20%20%20%20%20*%20%60parent%60%2C%20which%20points%20to%20node%20info%20of%20its%20parent%20(including%20its%20index).%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20The%20template%20metadata%20object%20returned%20from%20this%20method%20has%20the%20following%0A%20%20%20%20%20%20%20*%20structure%20(many%20fields%20optional)%3A%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%60%60%60js%0A%20%20%20%20%20%20%20*%20%20%20%7B%0A%20%20%20%20%20%20%20*%20%20%20%20%20%2F%2F%20Flattened%20list%20of%20node%20metadata%20(for%20nodes%20that%20generated%20metadata)%0A%20%20%20%20%20%20%20*%20%20%20%20%20nodeInfoList%3A%20%5B%0A%20%20%20%20%20%20%20*%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20*%20%20%20%20%20%20%20%20%20%2F%2F%20%60id%60%20attribute%20for%20any%20nodes%20with%20id's%20for%20generating%20%60%24%60%20map%0A%20%20%20%20%20%20%20*%20%20%20%20%20%20%20%20%20id%3A%20%7Bstring%7D%2C%0A%20%20%20%20%20%20%20*%20%20%20%20%20%20%20%20%20%2F%2F%20%60on-event%3D%22handler%22%60%20metadata%0A%20%20%20%20%20%20%20*%20%20%20%20%20%20%20%20%20events%3A%20%5B%0A%20%20%20%20%20%20%20*%20%20%20%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20*%20%20%20%20%20%20%20%20%20%20%20%20%20name%3A%20%7Bstring%7D%2C%20%20%20%2F%2F%20event%20name%0A%20%20%20%20%20%20%20*%20%20%20%20%20%20%20%20%20%20%20%20%20value%3A%20%7Bstring%7D%2C%20%20%2F%2F%20handler%20method%20name%0A%20%20%20%20%20%20%20*%20%20%20%20%20%20%20%20%20%20%20%7D%2C%20...%0A%20%20%20%20%20%20%20*%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20*%20%20%20%20%20%20%20%20%20%2F%2F%20Notes%20when%20the%20template%20contained%20a%20%60%3Cslot%3E%60%20for%20shady%20DOM%0A%20%20%20%20%20%20%20*%20%20%20%20%20%20%20%20%20%2F%2F%20optimization%20purposes%0A%20%20%20%20%20%20%20*%20%20%20%20%20%20%20%20%20hasInsertionPoint%3A%20%7Bboolean%7D%2C%0A%20%20%20%20%20%20%20*%20%20%20%20%20%20%20%20%20%2F%2F%20For%20nested%20%60%3Ctemplate%3E%60%60%20nodes%2C%20nested%20template%20metadata%0A%20%20%20%20%20%20%20*%20%20%20%20%20%20%20%20%20templateInfo%3A%20%7Bobject%7D%2C%20%2F%2F%20nested%20template%20metadata%0A%20%20%20%20%20%20%20*%20%20%20%20%20%20%20%20%20%2F%2F%20Metadata%20to%20allow%20efficient%20retrieval%20of%20instanced%20node%0A%20%20%20%20%20%20%20*%20%20%20%20%20%20%20%20%20%2F%2F%20corresponding%20to%20this%20metadata%0A%20%20%20%20%20%20%20*%20%20%20%20%20%20%20%20%20parentInfo%3A%20%7Bnumber%7D%2C%20%20%20%2F%2F%20reference%20to%20parent%20nodeInfo%3E%0A%20%20%20%20%20%20%20*%20%20%20%20%20%20%20%20%20parentIndex%3A%20%7Bnumber%7D%2C%20%20%2F%2F%20index%20in%20parent's%20%60childNodes%60%20collection%0A%20%20%20%20%20%20%20*%20%20%20%20%20%20%20%20%20infoIndex%3A%20%7Bnumber%7D%2C%20%20%20%20%2F%2F%20index%20of%20this%20%60nodeInfo%60%20in%20%60templateInfo.nodeInfoList%60%0A%20%20%20%20%20%20%20*%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20*%20%20%20%20%20%20%20...%0A%20%20%20%20%20%20%20*%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20*%20%20%20%20%20%2F%2F%20When%20true%2C%20the%20template%20had%20the%20%60strip-whitespace%60%20attribute%0A%20%20%20%20%20%20%20*%20%20%20%20%20%2F%2F%20or%20was%20nested%20in%20a%20template%20with%20that%20setting%0A%20%20%20%20%20%20%20*%20%20%20%20%20stripWhitespace%3A%20%7Bboolean%7D%2C%0A%20%20%20%20%20%20%20*%20%20%20%20%20%2F%2F%20For%20nested%20templates%2C%20nested%20template%20content%20is%20moved%20into%0A%20%20%20%20%20%20%20*%20%20%20%20%20%2F%2F%20a%20document%20fragment%20stored%20here%3B%20this%20is%20an%20optimization%20to%0A%20%20%20%20%20%20%20*%20%20%20%20%20%2F%2F%20avoid%20the%20cost%20of%20nested%20template%20cloning%0A%20%20%20%20%20%20%20*%20%20%20%20%20content%3A%20%7BDocumentFragment%7D%0A%20%20%20%20%20%20%20*%20%20%20%7D%0A%20%20%20%20%20%20%20*%20%60%60%60%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20This%20method%20kicks%20off%20a%20recursive%20treewalk%20as%20follows%3A%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%60%60%60%0A%20%20%20%20%20%20%20*%20%20%20%20_parseTemplate%20%3C---------------------%2B%0A%20%20%20%20%20%20%20*%20%20%20%20%20%20_parseTemplateContent%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7C%0A%20%20%20%20%20%20%20*%20%20%20%20%20%20%20%20_parseTemplateNode%20%20%3C------------%7C--%2B%0A%20%20%20%20%20%20%20*%20%20%20%20%20%20%20%20%20%20_parseTemplateNestedTemplate%20--%2B%20%20%7C%0A%20%20%20%20%20%20%20*%20%20%20%20%20%20%20%20%20%20_parseTemplateChildNodes%20---------%2B%0A%20%20%20%20%20%20%20*%20%20%20%20%20%20%20%20%20%20_parseTemplateNodeAttributes%0A%20%20%20%20%20%20%20*%20%20%20%20%20%20%20%20%20%20%20%20_parseTemplateNodeAttribute%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%60%60%60%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20These%20methods%20may%20be%20overridden%20to%20add%20custom%20metadata%20about%20templates%0A%20%20%20%20%20%20%20*%20to%20either%20%60templateInfo%60%20or%20%60nodeInfo%60.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20Note%20that%20this%20method%20may%20be%20destructive%20to%20the%20template%2C%20in%20that%0A%20%20%20%20%20%20%20*%20e.g.%20event%20annotations%20may%20be%20removed%20after%20being%20noted%20in%20the%0A%20%20%20%20%20%20%20*%20template%20metadata.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7B!HTMLTemplateElement%7D%20template%20Template%20to%20parse%0A%20%20%20%20%20%20%20*%20%40param%20%7BTemplateInfo%3D%7D%20outerTemplateInfo%20Template%20metadata%20from%20the%20outer%0A%20%20%20%20%20%20%20*%20%20%20template%2C%20for%20parsing%20nested%20templates%0A%20%20%20%20%20%20%20*%20%40return%20%7B!TemplateInfo%7D%20Parsed%20template%20metadata%0A%20%20%20%20%20%20%20*%2Fstatic%20_parseTemplate(template%2CouterTemplateInfo)%7B%2F%2F%20since%20a%20template%20may%20be%20re-used%2C%20memo-ize%20metadata%0Aif(!template._templateInfo)%7Blet%20templateInfo%3Dtemplate._templateInfo%3D%7B%7D%3BtemplateInfo.nodeInfoList%3D%5B%5D%3BtemplateInfo.stripWhiteSpace%3DPolymer.legacyOptimizations%7C%7CouterTemplateInfo%26%26outerTemplateInfo.stripWhiteSpace%7C%7Ctemplate.hasAttribute(%22strip-whitespace%22)%3Bthis._parseTemplateContent(template%2CtemplateInfo%2C%7Bparent%3Anull%7D)%7Dreturn%20template._templateInfo%7Dstatic%20_parseTemplateContent(template%2CtemplateInfo%2CnodeInfo)%7Breturn%20this._parseTemplateNode(template.content%2CtemplateInfo%2CnodeInfo)%7D%2F**%0A%20%20%20%20%20%20%20*%20Parses%20template%20node%20and%20adds%20template%20and%20node%20metadata%20based%20on%0A%20%20%20%20%20%20%20*%20the%20current%20node%2C%20and%20its%20%60childNodes%60%20and%20%60attributes%60.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20This%20method%20may%20be%20overridden%20to%20add%20custom%20node%20or%20template%20specific%0A%20%20%20%20%20%20%20*%20metadata%20based%20on%20this%20node.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7BNode%7D%20node%20Node%20to%20parse%0A%20%20%20%20%20%20%20*%20%40param%20%7B!TemplateInfo%7D%20templateInfo%20Template%20metadata%20for%20current%20template%0A%20%20%20%20%20%20%20*%20%40param%20%7B!NodeInfo%7D%20nodeInfo%20Node%20metadata%20for%20current%20template.%0A%20%20%20%20%20%20%20*%20%40return%20%7Bboolean%7D%20%60true%60%20if%20the%20visited%20node%20added%20node-specific%0A%20%20%20%20%20%20%20*%20%20%20metadata%20to%20%60nodeInfo%60%0A%20%20%20%20%20%20%20*%2Fstatic%20_parseTemplateNode(node%2CtemplateInfo%2CnodeInfo)%7Blet%20noted%2Celement%3D%2F**%20%40type%20%7BElement%7D%20*%2Fnode%3Bif(%22template%22%3D%3Delement.localName%26%26!element.hasAttribute(%22preserve-content%22))%7Bnoted%3Dthis._parseTemplateNestedTemplate(element%2CtemplateInfo%2CnodeInfo)%7C%7Cnoted%7Delse%20if(%22slot%22%3D%3D%3Delement.localName)%7B%2F%2F%20For%20ShadyDom%20optimization%2C%20indicating%20there%20is%20an%20insertion%20point%0AtemplateInfo.hasInsertionPoint%3D!0%7Dwalker.currentNode%3Delement%3Bif(walker.firstChild())%7Bnoted%3Dthis._parseTemplateChildNodes(element%2CtemplateInfo%2CnodeInfo)%7C%7Cnoted%7Dif(element.hasAttributes%26%26element.hasAttributes())%7Bnoted%3Dthis._parseTemplateNodeAttributes(element%2CtemplateInfo%2CnodeInfo)%7C%7Cnoted%7Dreturn%20noted%7D%2F**%0A%20%20%20%20%20%20%20*%20Parses%20template%20child%20nodes%20for%20the%20given%20root%20node.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20This%20method%20also%20wraps%20whitelisted%20legacy%20template%20extensions%0A%20%20%20%20%20%20%20*%20(%60is%3D%22dom-if%22%60%20and%20%60is%3D%22dom-repeat%22%60)%20with%20their%20equivalent%20element%0A%20%20%20%20%20%20%20*%20wrappers%2C%20collapses%20text%20nodes%2C%20and%20strips%20whitespace%20from%20the%20template%0A%20%20%20%20%20%20%20*%20if%20the%20%60templateInfo.stripWhitespace%60%20setting%20was%20provided.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7BNode%7D%20root%20Root%20node%20whose%20%60childNodes%60%20will%20be%20parsed%0A%20%20%20%20%20%20%20*%20%40param%20%7B!TemplateInfo%7D%20templateInfo%20Template%20metadata%20for%20current%20template%0A%20%20%20%20%20%20%20*%20%40param%20%7B!NodeInfo%7D%20nodeInfo%20Node%20metadata%20for%20current%20template.%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2Fstatic%20_parseTemplateChildNodes(root%2CtemplateInfo%2CnodeInfo)%7Bif(%22script%22%3D%3D%3Droot.localName%7C%7C%22style%22%3D%3D%3Droot.localName)%7Breturn%7Dwalker.currentNode%3Droot%3Bfor(let%20node%3Dwalker.firstChild()%2CparentIndex%3D0%2Cnext%3Bnode%3Bnode%3Dnext)%7B%2F%2F%20Wrap%20templates%0Aif(%22template%22%3D%3Dnode.localName)%7Bnode%3DwrapTemplateExtension(node)%7D%2F%2F%20collapse%20adjacent%20textNodes%3A%20fixes%20an%20IE%20issue%20that%20can%20cause%0A%2F%2F%20text%20nodes%20to%20be%20inexplicably%20split%20%3D(%0A%2F%2F%20note%20that%20root.normalize()%20should%20work%20but%20does%20not%20so%20we%20do%20this%0A%2F%2F%20manually.%0Awalker.currentNode%3Dnode%3Bnext%3Dwalker.nextSibling()%3Bif(node.nodeType%3D%3D%3DNode.TEXT_NODE)%7Blet%2F**%20Node%20*%2Fn%3Dnext%3Bwhile(n%26%26n.nodeType%3D%3D%3DNode.TEXT_NODE)%7Bnode.textContent%2B%3Dn.textContent%3Bnext%3Dwalker.nextSibling()%3Broot.removeChild(n)%3Bn%3Dnext%7D%2F%2F%20optionally%20strip%20whitespace%0Aif(templateInfo.stripWhiteSpace%26%26!node.textContent.trim())%7Broot.removeChild(node)%3Bcontinue%7D%7Dlet%20childInfo%3D%7BparentIndex%2CparentInfo%3AnodeInfo%7D%3Bif(this._parseTemplateNode(node%2CtemplateInfo%2CchildInfo))%7BchildInfo.infoIndex%3DtemplateInfo.nodeInfoList.push(%2F**%20%40type%20%7B!NodeInfo%7D%20*%2FchildInfo)-1%7D%2F%2F%20Increment%20if%20not%20removed%0Awalker.currentNode%3Dnode%3Bif(walker.parentNode())%7BparentIndex%2B%2B%7D%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Parses%20template%20content%20for%20the%20given%20nested%20%60%3Ctemplate%3E%60.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20Nested%20template%20info%20is%20stored%20as%20%60templateInfo%60%20in%20the%20current%20node's%0A%20%20%20%20%20%20%20*%20%60nodeInfo%60.%20%60template.content%60%20is%20removed%20and%20stored%20in%20%60templateInfo%60.%0A%20%20%20%20%20%20%20*%20It%20will%20then%20be%20the%20responsibility%20of%20the%20host%20to%20set%20it%20back%20to%20the%0A%20%20%20%20%20%20%20*%20template%20and%20for%20users%20stamping%20nested%20templates%20to%20use%20the%0A%20%20%20%20%20%20%20*%20%60_contentForTemplate%60%20method%20to%20retrieve%20the%20content%20for%20this%20template%0A%20%20%20%20%20%20%20*%20(an%20optimization%20to%20avoid%20the%20cost%20of%20cloning%20nested%20template%20content).%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7BHTMLTemplateElement%7D%20node%20Node%20to%20parse%20(a%20%3Ctemplate%3E)%0A%20%20%20%20%20%20%20*%20%40param%20%7BTemplateInfo%7D%20outerTemplateInfo%20Template%20metadata%20for%20current%20template%0A%20%20%20%20%20%20%20*%20%20%20that%20includes%20the%20template%20%60node%60%0A%20%20%20%20%20%20%20*%20%40param%20%7B!NodeInfo%7D%20nodeInfo%20Node%20metadata%20for%20current%20template.%0A%20%20%20%20%20%20%20*%20%40return%20%7Bboolean%7D%20%60true%60%20if%20the%20visited%20node%20added%20node-specific%0A%20%20%20%20%20%20%20*%20%20%20metadata%20to%20%60nodeInfo%60%0A%20%20%20%20%20%20%20*%2Fstatic%20_parseTemplateNestedTemplate(node%2CouterTemplateInfo%2CnodeInfo)%7Blet%20templateInfo%3Dthis._parseTemplate(node%2CouterTemplateInfo)%2Ccontent%3DtemplateInfo.content%3Dnode.content.ownerDocument.createDocumentFragment()%3Bcontent.appendChild(node.content)%3BnodeInfo.templateInfo%3DtemplateInfo%3Breturn!0%7D%2F**%0A%20%20%20%20%20%20%20*%20Parses%20template%20node%20attributes%20and%20adds%20node%20metadata%20to%20%60nodeInfo%60%0A%20%20%20%20%20%20%20*%20for%20nodes%20of%20interest.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7BElement%7D%20node%20Node%20to%20parse%0A%20%20%20%20%20%20%20*%20%40param%20%7BTemplateInfo%7D%20templateInfo%20Template%20metadata%20for%20current%20template%0A%20%20%20%20%20%20%20*%20%40param%20%7BNodeInfo%7D%20nodeInfo%20Node%20metadata%20for%20current%20template.%0A%20%20%20%20%20%20%20*%20%40return%20%7Bboolean%7D%20%60true%60%20if%20the%20visited%20node%20added%20node-specific%0A%20%20%20%20%20%20%20*%20%20%20metadata%20to%20%60nodeInfo%60%0A%20%20%20%20%20%20%20*%2Fstatic%20_parseTemplateNodeAttributes(node%2CtemplateInfo%2CnodeInfo)%7B%2F%2F%20Make%20copy%20of%20original%20attribute%20list%2C%20since%20the%20order%20may%20change%0A%2F%2F%20as%20attributes%20are%20added%20and%20removed%0Alet%20noted%3D!1%2Cattrs%3DArray.from(node.attributes)%3Bfor(let%20i%3Dattrs.length-1%2Ca%3Ba%3Dattrs%5Bi%5D%3Bi--)%7Bnoted%3Dthis._parseTemplateNodeAttribute(node%2CtemplateInfo%2CnodeInfo%2Ca.name%2Ca.value)%7C%7Cnoted%7Dreturn%20noted%7D%2F**%0A%20%20%20%20%20%20%20*%20Parses%20a%20single%20template%20node%20attribute%20and%20adds%20node%20metadata%20to%0A%20%20%20%20%20%20%20*%20%60nodeInfo%60%20for%20attributes%20of%20interest.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20This%20implementation%20adds%20metadata%20for%20%60on-event%3D%22handler%22%60%20attributes%0A%20%20%20%20%20%20%20*%20and%20%60id%60%20attributes.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7BElement%7D%20node%20Node%20to%20parse%0A%20%20%20%20%20%20%20*%20%40param%20%7B!TemplateInfo%7D%20templateInfo%20Template%20metadata%20for%20current%20template%0A%20%20%20%20%20%20%20*%20%40param%20%7B!NodeInfo%7D%20nodeInfo%20Node%20metadata%20for%20current%20template.%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20name%20Attribute%20name%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20value%20Attribute%20value%0A%20%20%20%20%20%20%20*%20%40return%20%7Bboolean%7D%20%60true%60%20if%20the%20visited%20node%20added%20node-specific%0A%20%20%20%20%20%20%20*%20%20%20metadata%20to%20%60nodeInfo%60%0A%20%20%20%20%20%20%20*%2Fstatic%20_parseTemplateNodeAttribute(node%2CtemplateInfo%2CnodeInfo%2Cname%2Cvalue)%7B%2F%2F%20events%20(on-*)%0Aif(%22on-%22%3D%3D%3Dname.slice(0%2C3))%7Bnode.removeAttribute(name)%3BnodeInfo.events%3DnodeInfo.events%7C%7C%5B%5D%3BnodeInfo.events.push(%7Bname%3Aname.slice(3)%2Cvalue%7D)%3Breturn!0%7D%2F%2F%20static%20id%0Aelse%20if(%22id%22%3D%3D%3Dname)%7BnodeInfo.id%3Dvalue%3Breturn!0%7Dreturn!1%7D%2F**%0A%20%20%20%20%20%20%20*%20Returns%20the%20%60content%60%20document%20fragment%20for%20a%20given%20template.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20For%20nested%20templates%2C%20Polymer%20performs%20an%20optimization%20to%20cache%20nested%0A%20%20%20%20%20%20%20*%20template%20content%20to%20avoid%20the%20cost%20of%20cloning%20deeply%20nested%20templates.%0A%20%20%20%20%20%20%20*%20This%20method%20retrieves%20the%20cached%20content%20for%20a%20given%20template.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7BHTMLTemplateElement%7D%20template%20Template%20to%20retrieve%20%60content%60%20for%0A%20%20%20%20%20%20%20*%20%40return%20%7BDocumentFragment%7D%20Content%20fragment%0A%20%20%20%20%20%20%20*%2Fstatic%20_contentForTemplate(template)%7Blet%20templateInfo%3D%2F**%20%40type%20%7BHTMLTemplateElementWithInfo%7D%20*%2Ftemplate._templateInfo%3Breturn%20templateInfo%26%26templateInfo.content%7C%7Ctemplate.content%7D%2F**%0A%20%20%20%20%20%20%20*%20Clones%20the%20provided%20template%20content%20and%20returns%20a%20document%20fragment%0A%20%20%20%20%20%20%20*%20containing%20the%20cloned%20dom.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20The%20template%20is%20parsed%20(once%20and%20memoized)%20using%20this%20library's%0A%20%20%20%20%20%20%20*%20template%20parsing%20features%2C%20and%20provides%20the%20following%20value-added%0A%20%20%20%20%20%20%20*%20features%3A%0A%20%20%20%20%20%20%20*%20*%20Adds%20declarative%20event%20listeners%20for%20%60on-event%3D%22handler%22%60%20attributes%0A%20%20%20%20%20%20%20*%20*%20Generates%20an%20%22id%20map%22%20for%20all%20nodes%20with%20id's%20under%20%60%24%60%20on%20returned%0A%20%20%20%20%20%20%20*%20%20%20document%20fragment%0A%20%20%20%20%20%20%20*%20*%20Passes%20template%20info%20including%20%60content%60%20back%20to%20templates%20as%0A%20%20%20%20%20%20%20*%20%20%20%60_templateInfo%60%20(a%20performance%20optimization%20to%20avoid%20deep%20template%0A%20%20%20%20%20%20%20*%20%20%20cloning)%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20Note%20that%20the%20memoized%20template%20parsing%20process%20is%20destructive%20to%20the%0A%20%20%20%20%20%20%20*%20template%3A%20attributes%20for%20bindings%20and%20declarative%20event%20listeners%20are%0A%20%20%20%20%20%20%20*%20removed%20after%20being%20noted%20in%20notes%2C%20and%20any%20nested%20%60%3Ctemplate%3E.content%60%0A%20%20%20%20%20%20%20*%20is%20removed%20and%20stored%20in%20notes%20as%20well.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7B!HTMLTemplateElement%7D%20template%20Template%20to%20stamp%0A%20%20%20%20%20%20%20*%20%40return%20%7B!StampedTemplate%7D%20Cloned%20template%20content%0A%20%20%20%20%20%20%20*%2F_stampTemplate(template)%7B%2F%2F%20Polyfill%20support%3A%20bootstrap%20the%20template%20if%20it%20has%20not%20already%20been%0Aif(template%26%26!template.content%26%26window.HTMLTemplateElement%26%26HTMLTemplateElement.decorate)%7BHTMLTemplateElement.decorate(template)%7Dlet%20templateInfo%3Dthis.constructor._parseTemplate(template)%2CnodeInfo%3DtemplateInfo.nodeInfoList%2Ccontent%3DtemplateInfo.content%7C%7Ctemplate.content%2Cdom%3D%2F**%20%40type%20%7BDocumentFragment%7D%20*%2Fdocument.importNode(content%2C!0)%3B%2F%2F%20NOTE%3A%20ShadyDom%20optimization%20indicating%20there%20is%20an%20insertion%20point%0Adom.__noInsertionPoint%3D!templateInfo.hasInsertionPoint%3Blet%20nodes%3Ddom.nodeList%3DArray(nodeInfo.length)%3Bdom.%24%3D%7B%7D%3Bfor(let%20i%3D0%2Cl%3DnodeInfo.length%2Cinfo%2Cnode%3Bi%3Cl%26%26(info%3DnodeInfo%5Bi%5D)%3Bi%2B%2B)%7Bnode%3Dnodes%5Bi%5D%3DfindTemplateNode(dom%2Cinfo)%3BapplyIdToMap(this%2Cdom.%24%2Cnode%2Cinfo)%3BapplyTemplateContent(this%2Cnode%2Cinfo)%3BapplyEventListener(this%2Cnode%2Cinfo)%7Ddom%3D%2F**%20%40type%20%7B!StampedTemplate%7D%20*%2Fdom%3B%2F%2F%20eslint-disable-line%20no-self-assign%0Areturn%20dom%7D%2F**%0A%20%20%20%20%20%20%20*%20Adds%20an%20event%20listener%20by%20method%20name%20for%20the%20event%20provided.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20This%20method%20generates%20a%20handler%20function%20that%20looks%20up%20the%20method%0A%20%20%20%20%20%20%20*%20name%20at%20handling%20time.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7B!Node%7D%20node%20Node%20to%20add%20listener%20on%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20eventName%20Name%20of%20event%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20methodName%20Name%20of%20method%0A%20%20%20%20%20%20%20*%20%40param%20%7B*%3D%7D%20context%20Context%20the%20method%20will%20be%20called%20on%20(defaults%0A%20%20%20%20%20%20%20*%20%20%20to%20%60node%60)%0A%20%20%20%20%20%20%20*%20%40return%20%7BFunction%7D%20Generated%20handler%20function%0A%20%20%20%20%20%20%20*%2F_addMethodEventListenerToNode(node%2CeventName%2CmethodName%2Ccontext)%7Bcontext%3Dcontext%7C%7Cnode%3Blet%20handler%3DcreateNodeEventHandler(context%2CeventName%2CmethodName)%3Bthis._addEventListenerToNode(node%2CeventName%2Chandler)%3Breturn%20handler%7D%2F**%0A%20%20%20%20%20%20%20*%20Override%20point%20for%20adding%20custom%20or%20simulated%20event%20handling.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7B!Node%7D%20node%20Node%20to%20add%20event%20listener%20to%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20eventName%20Name%20of%20event%0A%20%20%20%20%20%20%20*%20%40param%20%7Bfunction(!Event)%3Avoid%7D%20handler%20Listener%20function%20to%20add%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2F_addEventListenerToNode(node%2CeventName%2Chandler)%7Bnode.addEventListener(eventName%2Chandler)%7D%2F**%0A%20%20%20%20%20%20%20*%20Override%20point%20for%20adding%20custom%20or%20simulated%20event%20handling.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7B!Node%7D%20node%20Node%20to%20remove%20event%20listener%20from%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20eventName%20Name%20of%20event%0A%20%20%20%20%20%20%20*%20%40param%20%7Bfunction(!Event)%3Avoid%7D%20handler%20Listener%20function%20to%20remove%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2F_removeEventListenerFromNode(node%2CeventName%2Chandler)%7Bnode.removeEventListener(eventName%2Chandler)%7D%7Dreturn%20TemplateStamp%7D)%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fpolymer%2Flib%2Fmixins%2Ftemplate-stamp.html.js%0A | 18 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7B'use%20strict'%3B%2F%2F%20run%20a%20callback%20when%20HTMLImports%20are%20ready%20or%20immediately%20if%0A%2F%2F%20this%20api%20is%20not%20available.%0Afunction%20whenImportsReady(cb)%7Bif(window.HTMLImports)%7BHTMLImports.whenReady(cb)%7Delse%7Bcb()%7D%7D%2F**%0A%20%20%20*%20Convenience%20method%20for%20importing%20an%20HTML%20document%20imperatively.%0A%20%20%20*%0A%20%20%20*%20This%20method%20creates%20a%20new%20%60%3Clink%20rel%3D%22import%22%3E%60%20element%20with%0A%20%20%20*%20the%20provided%20URL%20and%20appends%20it%20to%20the%20document%20to%20start%20loading.%0A%20%20%20*%20In%20the%20%60onload%60%20callback%2C%20the%20%60import%60%20property%20of%20the%20%60link%60%0A%20%20%20*%20element%20will%20contain%20the%20imported%20document%20contents.%0A%20%20%20*%0A%20%20%20*%20%40memberof%20Polymer%0A%20%20%20*%20%40param%20%7Bstring%7D%20href%20URL%20to%20document%20to%20load.%0A%20%20%20*%20%40param%20%7B%3Ffunction(!Event)%3Avoid%3D%7D%20onload%20Callback%20to%20notify%20when%20an%20import%20successfully%0A%20%20%20*%20%20%20loaded.%0A%20%20%20*%20%40param%20%7B%3Ffunction(!ErrorEvent)%3Avoid%3D%7D%20onerror%20Callback%20to%20notify%20when%20an%20import%0A%20%20%20*%20%20%20unsuccessfully%20loaded.%0A%20%20%20*%20%40param%20%7Bboolean%3D%7D%20optAsync%20True%20if%20the%20import%20should%20be%20loaded%20%60async%60.%0A%20%20%20*%20%20%20Defaults%20to%20%60false%60.%0A%20%20%20*%20%40return%20%7B!HTMLLinkElement%7D%20The%20link%20element%20for%20the%20URL%20to%20be%20loaded.%0A%20%20%20*%2FPolymer.importHref%3Dfunction(href%2Conload%2Conerror%2CoptAsync)%7Blet%20link%3D%2F**%20%40type%20%7BHTMLLinkElement%7D%20*%2Fdocument.head.querySelector(%22link%5Bhref%3D%5C%22%22%2Bhref%2B%22%5C%22%5D%5Bimport-href%5D%22)%3Bif(!link)%7Blink%3D%2F**%20%40type%20%7BHTMLLinkElement%7D%20*%2Fdocument.createElement(%22link%22)%3Blink.rel%3D%22import%22%3Blink.href%3Dhref%3Blink.setAttribute(%22import-href%22%2C%22%22)%7D%2F%2F%20always%20ensure%20link%20has%20%60async%60%20attribute%20if%20user%20specified%20one%2C%0A%2F%2F%20even%20if%20it%20was%20previously%20not%20async.%20This%20is%20considered%20less%20confusing.%0Aif(optAsync)%7Blink.setAttribute(%22async%22%2C%22%22)%7D%2F%2F%20NOTE%3A%20the%20link%20may%20now%20be%20in%203%20states%3A%20(1)%20pending%20insertion%2C%0A%2F%2F%20(2)%20inflight%2C%20(3)%20already%20loaded.%20In%20each%20case%2C%20we%20need%20to%20add%0A%2F%2F%20event%20listeners%20to%20process%20callbacks.%0Alet%20cleanup%3Dfunction()%7Blink.removeEventListener(%22load%22%2CloadListener)%3Blink.removeEventListener(%22error%22%2CerrorListener)%7D%2CloadListener%3Dfunction(event)%7Bcleanup()%3B%2F%2F%20In%20case%20of%20a%20successful%20load%2C%20cache%20the%20load%20event%20on%20the%20link%20so%0A%2F%2F%20that%20it%20can%20be%20used%20to%20short-circuit%20this%20method%20in%20the%20future%20when%0A%2F%2F%20it%20is%20called%20with%20the%20same%20href%20param.%0Alink.__dynamicImportLoaded%3D%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%3Bif(onload)%7BwhenImportsReady(()%3D%3E%7Bonload(event)%7D)%7D%7D%2CerrorListener%3Dfunction(event)%7Bcleanup()%3B%2F%2F%20In%20case%20of%20an%20error%2C%20remove%20the%20link%20from%20the%20document%20so%20that%20it%0A%2F%2F%20will%20be%20automatically%20created%20again%20the%20next%20time%20%60importHref%60%20is%0A%2F%2F%20called.%0Aif(link.parentNode)%7Blink.parentNode.removeChild(link)%7Dif(onerror)%7BwhenImportsReady(()%3D%3E%7Bonerror(event)%7D)%7D%7D%3Blink.addEventListener(%22load%22%2CloadListener)%3Blink.addEventListener(%22error%22%2CerrorListener)%3Bif(null%3D%3Dlink.parentNode)%7Bdocument.head.appendChild(link)%3B%2F%2F%20if%20the%20link%20already%20loaded%2C%20dispatch%20a%20fake%20load%20event%0A%2F%2F%20so%20that%20listeners%20are%20called%20and%20get%20a%20proper%20event%20argument.%0A%7Delse%20if(link.__dynamicImportLoaded)%7Blink.dispatchEvent(new%20Event(%22load%22))%7Dreturn%20link%7D%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fpolymer%2Flib%2Futils%2Fimport-href.html.js%0A | 3.2 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7B'use%20strict'%3Blet%20mutablePropertyChange%3B%2F**%20%40suppress%20%7BmissingProperties%7D%20*%2F(()%3D%3E%7BmutablePropertyChange%3DPolymer.MutableData._mutablePropertyChange%7D)()%3B%2F**%0A%20%20%20*%20Legacy%20element%20behavior%20to%20skip%20strict%20dirty-checking%20for%20objects%20and%20arrays%2C%0A%20%20%20*%20(always%20consider%20them%20to%20be%20%22dirty%22)%20for%20use%20on%20legacy%20API%20Polymer%20elements.%0A%20%20%20*%0A%20%20%20*%20By%20default%2C%20%60Polymer.PropertyEffects%60%20performs%20strict%20dirty%20checking%20on%0A%20%20%20*%20objects%2C%20which%20means%20that%20any%20deep%20modifications%20to%20an%20object%20or%20array%20will%0A%20%20%20*%20not%20be%20propagated%20unless%20%22immutable%22%20data%20patterns%20are%20used%20(i.e.%20all%20object%0A%20%20%20*%20references%20from%20the%20root%20to%20the%20mutation%20were%20changed).%0A%20%20%20*%0A%20%20%20*%20Polymer%20also%20provides%20a%20proprietary%20data%20mutation%20and%20path%20notification%20API%0A%20%20%20*%20(e.g.%20%60notifyPath%60%2C%20%60set%60%2C%20and%20array%20mutation%20API's)%20that%20allow%20efficient%0A%20%20%20*%20mutation%20and%20notification%20of%20deep%20changes%20in%20an%20object%20graph%20to%20all%20elements%0A%20%20%20*%20bound%20to%20the%20same%20object%20graph.%0A%20%20%20*%0A%20%20%20*%20In%20cases%20where%20neither%20immutable%20patterns%20nor%20the%20data%20mutation%20API%20can%20be%0A%20%20%20*%20used%2C%20applying%20this%20mixin%20will%20cause%20Polymer%20to%20skip%20dirty%20checking%20for%0A%20%20%20*%20objects%20and%20arrays%20(always%20consider%20them%20to%20be%20%22dirty%22).%20%20This%20allows%20a%0A%20%20%20*%20user%20to%20make%20a%20deep%20modification%20to%20a%20bound%20object%20graph%2C%20and%20then%20either%0A%20%20%20*%20simply%20re-set%20the%20object%20(e.g.%20%60this.items%20%3D%20this.items%60)%20or%20call%20%60notifyPath%60%0A%20%20%20*%20(e.g.%20%60this.notifyPath('items')%60)%20to%20update%20the%20tree.%20%20Note%20that%20all%0A%20%20%20*%20elements%20that%20wish%20to%20be%20updated%20based%20on%20deep%20mutations%20must%20apply%20this%0A%20%20%20*%20mixin%20or%20otherwise%20skip%20strict%20dirty%20checking%20for%20objects%2Farrays.%0A%20%20%20*%20Specifically%2C%20any%20elements%20in%20the%20binding%20tree%20between%20the%20source%20of%20a%0A%20%20%20*%20mutation%20and%20the%20consumption%20of%20it%20must%20apply%20this%20behavior%20or%20enable%20the%0A%20%20%20*%20%60Polymer.OptionalMutableDataBehavior%60.%0A%20%20%20*%0A%20%20%20*%20In%20order%20to%20make%20the%20dirty%20check%20strategy%20configurable%2C%20see%0A%20%20%20*%20%60Polymer.OptionalMutableDataBehavior%60.%0A%20%20%20*%0A%20%20%20*%20Note%2C%20the%20performance%20characteristics%20of%20propagating%20large%20object%20graphs%0A%20%20%20*%20will%20be%20worse%20as%20opposed%20to%20using%20strict%20dirty%20checking%20with%20immutable%0A%20%20%20*%20patterns%20or%20Polymer's%20path%20notification%20API.%0A%20%20%20*%0A%20%20%20*%20%40polymerBehavior%0A%20%20%20*%20%40memberof%20Polymer%0A%20%20%20*%20%40summary%20Behavior%20to%20skip%20strict%20dirty-checking%20for%20objects%20and%0A%20%20%20*%20%20%20arrays%0A%20%20%20*%2FPolymer.MutableDataBehavior%3D%7B%2F**%0A%20%20%20%20%20*%20Overrides%20%60Polymer.PropertyEffects%60%20to%20provide%20option%20for%20skipping%0A%20%20%20%20%20*%20strict%20equality%20checking%20for%20Objects%20and%20Arrays.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20This%20method%20pulls%20the%20value%20to%20dirty%20check%20against%20from%20the%20%60__dataTemp%60%0A%20%20%20%20%20*%20cache%20(rather%20than%20the%20normal%20%60__data%60%20cache)%20for%20Objects.%20%20Since%20the%20temp%0A%20%20%20%20%20*%20cache%20is%20cleared%20at%20the%20end%20of%20a%20turn%2C%20this%20implementation%20allows%0A%20%20%20%20%20*%20side-effects%20of%20deep%20object%20changes%20to%20be%20processed%20by%20re-setting%20the%0A%20%20%20%20%20*%20same%20object%20(using%20the%20temp%20cache%20as%20an%20in-turn%20backstop%20to%20prevent%0A%20%20%20%20%20*%20cycles%20due%20to%202-way%20notification).%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40param%20%7Bstring%7D%20property%20Property%20name%0A%20%20%20%20%20*%20%40param%20%7B*%7D%20value%20New%20property%20value%0A%20%20%20%20%20*%20%40param%20%7B*%7D%20old%20Previous%20property%20value%0A%20%20%20%20%20*%20%40return%20%7Bboolean%7D%20Whether%20the%20property%20should%20be%20considered%20a%20change%0A%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20*%2F_shouldPropertyChange(property%2Cvalue%2Cold)%7Breturn%20mutablePropertyChange(this%2Cproperty%2Cvalue%2Cold%2C%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A)%7D%7D%3B%2F**%0A%20%20%20*%20Legacy%20element%20behavior%20to%20add%20the%20optional%20ability%20to%20skip%20strict%0A%20%20%20*%20dirty-checking%20for%20objects%20and%20arrays%20(always%20consider%20them%20to%20be%0A%20%20%20*%20%22dirty%22)%20by%20setting%20a%20%60mutable-data%60%20attribute%20on%20an%20element%20instance.%0A%20%20%20*%0A%20%20%20*%20By%20default%2C%20%60Polymer.PropertyEffects%60%20performs%20strict%20dirty%20checking%20on%0A%20%20%20*%20objects%2C%20which%20means%20that%20any%20deep%20modifications%20to%20an%20object%20or%20array%20will%0A%20%20%20*%20not%20be%20propagated%20unless%20%22immutable%22%20data%20patterns%20are%20used%20(i.e.%20all%20object%0A%20%20%20*%20references%20from%20the%20root%20to%20the%20mutation%20were%20changed).%0A%20%20%20*%0A%20%20%20*%20Polymer%20also%20provides%20a%20proprietary%20data%20mutation%20and%20path%20notification%20API%0A%20%20%20*%20(e.g.%20%60notifyPath%60%2C%20%60set%60%2C%20and%20array%20mutation%20API's)%20that%20allow%20efficient%0A%20%20%20*%20mutation%20and%20notification%20of%20deep%20changes%20in%20an%20object%20graph%20to%20all%20elements%0A%20%20%20*%20bound%20to%20the%20same%20object%20graph.%0A%20%20%20*%0A%20%20%20*%20In%20cases%20where%20neither%20immutable%20patterns%20nor%20the%20data%20mutation%20API%20can%20be%0A%20%20%20*%20used%2C%20applying%20this%20mixin%20will%20allow%20Polymer%20to%20skip%20dirty%20checking%20for%0A%20%20%20*%20objects%20and%20arrays%20(always%20consider%20them%20to%20be%20%22dirty%22).%20%20This%20allows%20a%0A%20%20%20*%20user%20to%20make%20a%20deep%20modification%20to%20a%20bound%20object%20graph%2C%20and%20then%20either%0A%20%20%20*%20simply%20re-set%20the%20object%20(e.g.%20%60this.items%20%3D%20this.items%60)%20or%20call%20%60notifyPath%60%0A%20%20%20*%20(e.g.%20%60this.notifyPath('items')%60)%20to%20update%20the%20tree.%20%20Note%20that%20all%0A%20%20%20*%20elements%20that%20wish%20to%20be%20updated%20based%20on%20deep%20mutations%20must%20apply%20this%0A%20%20%20*%20mixin%20or%20otherwise%20skip%20strict%20dirty%20checking%20for%20objects%2Farrays.%0A%20%20%20*%20Specifically%2C%20any%20elements%20in%20the%20binding%20tree%20between%20the%20source%20of%20a%0A%20%20%20*%20mutation%20and%20the%20consumption%20of%20it%20must%20enable%20this%20behavior%20or%20apply%20the%0A%20%20%20*%20%60Polymer.OptionalMutableDataBehavior%60.%0A%20%20%20*%0A%20%20%20*%20While%20this%20behavior%20adds%20the%20ability%20to%20forgo%20Object%2FArray%20dirty%20checking%2C%0A%20%20%20*%20the%20%60mutableData%60%20flag%20defaults%20to%20false%20and%20must%20be%20set%20on%20the%20instance.%0A%20%20%20*%0A%20%20%20*%20Note%2C%20the%20performance%20characteristics%20of%20propagating%20large%20object%20graphs%0A%20%20%20*%20will%20be%20worse%20by%20relying%20on%20%60mutableData%3A%20true%60%20as%20opposed%20to%20using%0A%20%20%20*%20strict%20dirty%20checking%20with%20immutable%20patterns%20or%20Polymer's%20path%20notification%0A%20%20%20*%20API.%0A%20%20%20*%0A%20%20%20*%20%40polymerBehavior%0A%20%20%20*%20%40memberof%20Polymer%0A%20%20%20*%20%40summary%20Behavior%20to%20optionally%20skip%20strict%20dirty-checking%20for%20objects%20and%0A%20%20%20*%20%20%20arrays%0A%20%20%20*%2FPolymer.OptionalMutableDataBehavior%3D%7Bproperties%3A%7B%2F**%0A%20%20%20%20%20%20%20*%20Instance-level%20flag%20for%20configuring%20the%20dirty-checking%20strategy%0A%20%20%20%20%20%20%20*%20for%20this%20element.%20%20When%20true%2C%20Objects%20and%20Arrays%20will%20skip%20dirty%0A%20%20%20%20%20%20%20*%20checking%2C%20otherwise%20strict%20equality%20checking%20will%20be%20used.%0A%20%20%20%20%20%20%20*%2FmutableData%3ABoolean%7D%2C%2F**%0A%20%20%20%20%20*%20Overrides%20%60Polymer.PropertyEffects%60%20to%20skip%20strict%20equality%20checking%0A%20%20%20%20%20*%20for%20Objects%20and%20Arrays.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20Pulls%20the%20value%20to%20dirty%20check%20against%20from%20the%20%60__dataTemp%60%20cache%0A%20%20%20%20%20*%20(rather%20than%20the%20normal%20%60__data%60%20cache)%20for%20Objects.%20%20Since%20the%20temp%0A%20%20%20%20%20*%20cache%20is%20cleared%20at%20the%20end%20of%20a%20turn%2C%20this%20implementation%20allows%0A%20%20%20%20%20*%20side-effects%20of%20deep%20object%20changes%20to%20be%20processed%20by%20re-setting%20the%0A%20%20%20%20%20*%20same%20object%20(using%20the%20temp%20cache%20as%20an%20in-turn%20backstop%20to%20prevent%0A%20%20%20%20%20*%20cycles%20due%20to%202-way%20notification).%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40param%20%7Bstring%7D%20property%20Property%20name%0A%20%20%20%20%20*%20%40param%20%7B*%7D%20value%20New%20property%20value%0A%20%20%20%20%20*%20%40param%20%7B*%7D%20old%20Previous%20property%20value%0A%20%20%20%20%20*%20%40return%20%7Bboolean%7D%20Whether%20the%20property%20should%20be%20considered%20a%20change%0A%20%20%20%20%20*%20%40this%20%7Bthis%7D%0A%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20*%2F_shouldPropertyChange(property%2Cvalue%2Cold)%7Breturn%20mutablePropertyChange(this%2Cproperty%2Cvalue%2Cold%2Cthis.mutableData)%7D%7D%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fpolymer%2Flib%2Flegacy%2Fmutable-data-behavior.html.js%0A | 7.0 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-column/src/IngColumn.js | 1.7 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lodash-es/_baseGetTag.js | 246 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/form-core/src/validate/validators/Required.js | 641 B | 2023-03-08 | 2024-04-05 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/overlays/src/globalOverlaysStyle.js | 2.6 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/link/translations/es.js | 77 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,%2F**%0A%20%20%20*%20%40struct%0A%20%20%20*%20%40constructor%0A%20%20%20*%20%40private%0A%20%20%20*%2FPolymer.IronOverlayManagerClass%3Dfunction()%7B%2F**%0A%20%20%20%20%20*%20Used%20to%20keep%20track%20of%20the%20opened%20overlays.%0A%20%20%20%20%20*%20%40private%20%7B!Array%3C!Element%3E%7D%0A%20%20%20%20%20*%2Fthis._overlays%3D%5B%5D%3B%2F**%0A%20%20%20%20%20*%20iframes%20have%20a%20default%20z-index%20of%20100%2C%0A%20%20%20%20%20*%20so%20this%20default%20should%20be%20at%20least%20that.%0A%20%20%20%20%20*%20%40private%20%7Bnumber%7D%0A%20%20%20%20%20*%2Fthis._minimumZ%3D101%3B%2F**%0A%20%20%20%20%20*%20Memoized%20backdrop%20element.%0A%20%20%20%20%20*%20%40private%20%7BElement%7Cnull%7D%0A%20%20%20%20%20*%2Fthis._backdropElement%3Dnull%3B%2F%2F%20Enable%20document-wide%20tap%20recognizer.%0A%2F%2F%20NOTE%3A%20Use%20useCapture%3Dtrue%20to%20avoid%20accidentally%20prevention%20of%20the%20closing%0A%2F%2F%20of%20an%20overlay%20via%20event.stopPropagation().%20The%20only%20way%20to%20prevent%0A%2F%2F%20closing%20of%20an%20overlay%20should%20be%20through%20its%20APIs.%0A%2F%2F%20NOTE%3A%20enable%20tap%20on%20%3Chtml%3E%20to%20workaround%20Polymer%2Fpolymer%234459%0A%2F%2F%20Pass%20no-op%20function%20because%20MSEdge%2015%20doesn't%20handle%20null%20as%202nd%20argument%0A%2F%2F%20https%3A%2F%2Fgithub.com%2FMicrosoft%2FChakraCore%2Fissues%2F3863%0APolymer.Gestures.add(document.documentElement%2C%22tap%22%2Cfunction()%7B%7D)%3Bdocument.addEventListener(%22tap%22%2Cthis._onCaptureClick.bind(this)%2C%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A)%3Bdocument.addEventListener(%22focus%22%2Cthis._onCaptureFocus.bind(this)%2C!0)%3Bdocument.addEventListener(%22keydown%22%2Cthis._onCaptureKeyDown.bind(this)%2C!0)%7D%3BPolymer.IronOverlayManagerClass.prototype%3D%7Bconstructor%3APolymer.IronOverlayManagerClass%2C%2F**%0A%20%20%20%20%20*%20The%20shared%20backdrop%20element.%0A%20%20%20%20%20*%20%40return%20%7B!Element%7D%20backdropElement%0A%20%20%20%20%20*%2Fget%20backdropElement()%7Bif(!this._backdropElement)%7Bthis._backdropElement%3Ddocument.createElement(%22iron-overlay-backdrop%22)%7Dreturn%20this._backdropElement%7D%2C%2F**%0A%20%20%20%20%20*%20The%20deepest%20active%20element.%0A%20%20%20%20%20*%20%40return%20%7B!Element%7D%20activeElement%20the%20active%20element%0A%20%20%20%20%20*%2Fget%20deepActiveElement()%7Bvar%20active%3Ddocument.activeElement%3B%2F%2F%20document.activeElement%20can%20be%20null%0A%2F%2F%20https%3A%2F%2Fdeveloper.mozilla.org%2Fen-US%2Fdocs%2FWeb%2FAPI%2FDocument%2FactiveElement%0A%2F%2F%20In%20IE%2011%2C%20it%20can%20also%20be%20an%20object%20when%20operating%20in%20iframes.%0A%2F%2F%20In%20these%20cases%2C%20default%20it%20to%20document.body.%0Aif(!active%7C%7C%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A!1%3D%3D%3Dactive%20instanceof%20Element)%7Bactive%3Ddocument.body%7Dwhile(active.root%26%26Polymer.dom(active.root).activeElement)%7Bactive%3DPolymer.dom(active.root).activeElement%7Dreturn%20active%7D%2C%2F**%0A%20%20%20%20%20*%20Brings%20the%20overlay%20at%20the%20specified%20index%20to%20the%20front.%0A%20%20%20%20%20*%20%40param%20%7Bnumber%7D%20i%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2F_bringOverlayAtIndexToFront%3Afunction(i)%7Bvar%20overlay%3Dthis._overlays%5Bi%5D%3Bif(!overlay)%7Breturn%7Dvar%20lastI%3Dthis._overlays.length-1%2CcurrentOverlay%3Dthis._overlays%5BlastI%5D%3B%2F%2F%20Ensure%20always-on-top%20overlay%20stays%20on%20top.%0Aif(currentOverlay%26%26this._shouldBeBehindOverlay(overlay%2CcurrentOverlay))%7BlastI--%7D%2F%2F%20If%20already%20the%20top%20element%2C%20return.%0Aif(i%3E%3DlastI)%7Breturn%7D%2F%2F%20Update%20z-index%20to%20be%20on%20top.%0Avar%20minimumZ%3DMath.max(this.currentOverlayZ()%2Cthis._minimumZ)%3Bif(this._getZ(overlay)%3C%3DminimumZ)%7Bthis._applyOverlayZ(overlay%2CminimumZ)%7D%2F%2F%20Shift%20other%20overlays%20behind%20the%20new%20on%20top.%0Awhile(i%3ClastI)%7Bthis._overlays%5Bi%5D%3Dthis._overlays%5Bi%2B1%5D%3Bi%2B%2B%7Dthis._overlays%5BlastI%5D%3Doverlay%7D%2C%2F**%0A%20%20%20%20%20*%20Adds%20the%20overlay%20and%20updates%20its%20z-index%20if%20it's%20opened%2C%20or%20removes%20it%20if%0A%20%20%20%20%20*%20it's%20closed.%20Also%20updates%20the%20backdrop%20z-index.%0A%20%20%20%20%20*%20%40param%20%7B!Element%7D%20overlay%0A%20%20%20%20%20*%2FaddOrRemoveOverlay%3Afunction(overlay)%7Bif(overlay.opened)%7Bthis.addOverlay(overlay)%7Delse%7Bthis.removeOverlay(overlay)%7D%7D%2C%2F**%0A%20%20%20%20%20*%20Tracks%20overlays%20for%20z-index%20and%20focus%20management.%0A%20%20%20%20%20*%20Ensures%20the%20last%20added%20overlay%20with%20always-on-top%20remains%20on%20top.%0A%20%20%20%20%20*%20%40param%20%7B!Element%7D%20overlay%0A%20%20%20%20%20*%2FaddOverlay%3Afunction(overlay)%7Bvar%20i%3Dthis._overlays.indexOf(overlay)%3Bif(0%3C%3Di)%7Bthis._bringOverlayAtIndexToFront(i)%3Bthis.trackBackdrop()%3Breturn%7Dvar%20insertionIndex%3Dthis._overlays.length%2CcurrentOverlay%3Dthis._overlays%5BinsertionIndex-1%5D%2CminimumZ%3DMath.max(this._getZ(currentOverlay)%2Cthis._minimumZ)%2CnewZ%3Dthis._getZ(overlay)%3B%2F%2F%20Ensure%20always-on-top%20overlay%20stays%20on%20top.%0Aif(currentOverlay%26%26this._shouldBeBehindOverlay(overlay%2CcurrentOverlay))%7B%2F%2F%20This%20bumps%20the%20z-index%20of%20%2B2.%0Athis._applyOverlayZ(currentOverlay%2CminimumZ)%3BinsertionIndex--%3B%2F%2F%20Update%20minimumZ%20to%20match%20previous%20overlay's%20z-index.%0Avar%20previousOverlay%3Dthis._overlays%5BinsertionIndex-1%5D%3BminimumZ%3DMath.max(this._getZ(previousOverlay)%2Cthis._minimumZ)%7D%2F%2F%20Update%20z-index%20and%20insert%20overlay.%0Aif(newZ%3C%3DminimumZ)%7Bthis._applyOverlayZ(overlay%2CminimumZ)%7Dthis._overlays.splice(insertionIndex%2C0%2Coverlay)%3Bthis.trackBackdrop()%7D%2C%2F**%0A%20%20%20%20%20*%20%40param%20%7B!Element%7D%20overlay%0A%20%20%20%20%20*%2FremoveOverlay%3Afunction(overlay)%7Bvar%20i%3Dthis._overlays.indexOf(overlay)%3Bif(-1%3D%3D%3Di)%7Breturn%7Dthis._overlays.splice(i%2C1)%3Bthis.trackBackdrop()%7D%2C%2F**%0A%20%20%20%20%20*%20Returns%20the%20current%20overlay.%0A%20%20%20%20%20*%20%40return%20%7B!Element%7Cundefined%7D%0A%20%20%20%20%20*%2FcurrentOverlay%3Afunction()%7Bvar%20i%3Dthis._overlays.length-1%3Breturn%20this._overlays%5Bi%5D%7D%2C%2F**%0A%20%20%20%20%20*%20Returns%20the%20current%20overlay%20z-index.%0A%20%20%20%20%20*%20%40return%20%7Bnumber%7D%0A%20%20%20%20%20*%2FcurrentOverlayZ%3Afunction()%7Breturn%20this._getZ(this.currentOverlay())%7D%2C%2F**%0A%20%20%20%20%20*%20Ensures%20that%20the%20minimum%20z-index%20of%20new%20overlays%20is%20at%20least%20%60minimumZ%60.%0A%20%20%20%20%20*%20This%20does%20not%20effect%20the%20z-index%20of%20any%20existing%20overlays.%0A%20%20%20%20%20*%20%40param%20%7Bnumber%7D%20minimumZ%0A%20%20%20%20%20*%2FensureMinimumZ%3Afunction(minimumZ)%7Bthis._minimumZ%3DMath.max(this._minimumZ%2CminimumZ)%7D%2CfocusOverlay%3Afunction()%7Bvar%20current%3D%2F**%20%40type%20%7B%3F%7D%20*%2Fthis.currentOverlay()%3Bif(current)%7Bcurrent._applyFocus()%7D%7D%2C%2F**%0A%20%20%20%20%20*%20Updates%20the%20backdrop%20z-index.%0A%20%20%20%20%20*%2FtrackBackdrop%3Afunction()%7Bvar%20overlay%3Dthis._overlayWithBackdrop()%3B%2F%2F%20Avoid%20creating%20the%20backdrop%20if%20there%20is%20no%20overlay%20with%20backdrop.%0Aif(!overlay%26%26!this._backdropElement)%7Breturn%7Dthis.backdropElement.style.zIndex%3Dthis._getZ(overlay)-1%3Bthis.backdropElement.opened%3D!!overlay%3B%2F%2F%20Property%20observers%20are%20not%20fired%20until%20element%20is%20attached%0A%2F%2F%20in%20Polymer%202.x%2C%20so%20we%20ensure%20element%20is%20attached%20if%20needed.%0A%2F%2F%20https%3A%2F%2Fgithub.com%2FPolymer%2Fpolymer%2Fissues%2F4526%0Athis.backdropElement.prepare()%7D%2C%2F**%0A%20%20%20%20%20*%20%40return%20%7B!Array%3C!Element%3E%7D%0A%20%20%20%20%20*%2FgetBackdrops%3Afunction()%7Bfor(var%20backdrops%3D%5B%5D%2Ci%3D0%3Bi%3Cthis._overlays.length%3Bi%2B%2B)%7Bif(this._overlays%5Bi%5D.withBackdrop)%7Bbackdrops.push(this._overlays%5Bi%5D)%7D%7Dreturn%20backdrops%7D%2C%2F**%0A%20%20%20%20%20*%20Returns%20the%20z-index%20for%20the%20backdrop.%0A%20%20%20%20%20*%20%40return%20%7Bnumber%7D%0A%20%20%20%20%20*%2FbackdropZ%3Afunction()%7Breturn%20this._getZ(this._overlayWithBackdrop())-1%7D%2C%2F**%0A%20%20%20%20%20*%20Returns%20the%20top%20opened%20overlay%20that%20has%20a%20backdrop.%0A%20%20%20%20%20*%20%40return%20%7B!Element%7Cundefined%7D%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2F_overlayWithBackdrop%3Afunction()%7Bfor(var%20i%3Dthis._overlays.length-1%3B0%3C%3Di%3Bi--)%7Bif(this._overlays%5Bi%5D.withBackdrop)%7Breturn%20this._overlays%5Bi%5D%7D%7D%7D%2C%2F**%0A%20%20%20%20%20*%20Calculates%20the%20minimum%20z-index%20for%20the%20overlay.%0A%20%20%20%20%20*%20%40param%20%7BElement%3D%7D%20overlay%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2F_getZ%3Afunction(overlay)%7Bvar%20z%3Dthis._minimumZ%3Bif(overlay)%7Bvar%20z1%3D%2B(overlay.style.zIndex%7C%7Cwindow.getComputedStyle(overlay).zIndex)%3B%2F%2F%20Check%20if%20is%20a%20number%0A%2F%2F%20Number.isNaN%20not%20supported%20in%20IE%2010%2B%0Aif(z1%3D%3D%3Dz1)%7Bz%3Dz1%7D%7Dreturn%20z%7D%2C%2F**%0A%20%20%20%20%20*%20%40param%20%7B!Element%7D%20element%0A%20%20%20%20%20*%20%40param%20%7Bnumber%7Cstring%7D%20z%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2F_setZ%3Afunction(element%2Cz)%7Belement.style.zIndex%3Dz%7D%2C%2F**%0A%20%20%20%20%20*%20%40param%20%7B!Element%7D%20overlay%0A%20%20%20%20%20*%20%40param%20%7Bnumber%7D%20aboveZ%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2F_applyOverlayZ%3Afunction(overlay%2CaboveZ)%7Bthis._setZ(overlay%2CaboveZ%2B2)%7D%2C%2F**%0A%20%20%20%20%20*%20Returns%20the%20deepest%20overlay%20in%20the%20path.%0A%20%20%20%20%20*%20%40param%20%7B!Array%3C!Element%3E%3D%7D%20path%0A%20%20%20%20%20*%20%40return%20%7B!Element%7Cundefined%7D%0A%20%20%20%20%20*%20%40suppress%20%7BmissingProperties%7D%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2F_overlayInPath%3Afunction(path)%7Bpath%3Dpath%7C%7C%5B%5D%3Bfor(var%20i%3D0%3Bi%3Cpath.length%3Bi%2B%2B)%7Bif(path%5Bi%5D._manager%3D%3D%3Dthis)%7Breturn%20path%5Bi%5D%7D%7D%7D%2C%2F**%0A%20%20%20%20%20*%20Ensures%20the%20click%20event%20is%20delegated%20to%20the%20right%20overlay.%0A%20%20%20%20%20*%20%40param%20%7B!Event%7D%20event%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2F_onCaptureClick%3Afunction(event)%7Bvar%20i%3Dthis._overlays.length-1%3Bif(-1%3D%3D%3Di)return%3Bvar%20path%3D%2F**%20%40type%20%7B!Array%3C!EventTarget%3E%7D%20*%2FPolymer.dom(event).path%2Coverlay%3B%2F%2F%20Check%20if%20clicked%20outside%20of%20overlay.%0Awhile((overlay%3D%2F**%20%40type%20%7B%3F%7D%20*%2Fthis._overlays%5Bi%5D)%26%26this._overlayInPath(path)!%3D%3Doverlay)%7Boverlay._onCaptureClick(event)%3Bif(overlay.allowClickThrough)%7Bi--%7Delse%7Bbreak%7D%7D%7D%2C%2F**%0A%20%20%20%20%20*%20Ensures%20the%20focus%20event%20is%20delegated%20to%20the%20right%20overlay.%0A%20%20%20%20%20*%20%40param%20%7B!Event%7D%20event%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2F_onCaptureFocus%3Afunction(event)%7Bvar%20overlay%3D%2F**%20%40type%20%7B%3F%7D%20*%2Fthis.currentOverlay()%3Bif(overlay)%7Boverlay._onCaptureFocus(event)%7D%7D%2C%2F**%0A%20%20%20%20%20*%20Ensures%20TAB%20and%20ESC%20keyboard%20events%20are%20delegated%20to%20the%20right%20overlay.%0A%20%20%20%20%20*%20%40param%20%7B!Event%7D%20event%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2F_onCaptureKeyDown%3Afunction(event)%7Bvar%20overlay%3D%2F**%20%40type%20%7B%3F%7D%20*%2Fthis.currentOverlay()%3Bif(overlay)%7Bif(Polymer.IronA11yKeysBehavior.keyboardEventMatchesKeys(event%2C%22esc%22))%7Boverlay._onCaptureEsc(event)%7Delse%20if(Polymer.IronA11yKeysBehavior.keyboardEventMatchesKeys(event%2C%22tab%22))%7Boverlay._onCaptureTab(event)%7D%7D%7D%2C%2F**%0A%20%20%20%20%20*%20Returns%20if%20the%20overlay1%20should%20be%20behind%20overlay2.%0A%20%20%20%20%20*%20%40param%20%7B!Element%7D%20overlay1%0A%20%20%20%20%20*%20%40param%20%7B!Element%7D%20overlay2%0A%20%20%20%20%20*%20%40return%20%7Bboolean%7D%0A%20%20%20%20%20*%20%40suppress%20%7BmissingProperties%7D%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2F_shouldBeBehindOverlay%3Afunction(overlay1%2Coverlay2)%7Breturn!overlay1.alwaysOnTop%26%26overlay2.alwaysOnTop%7D%7D%3BPolymer.IronOverlayManager%3Dnew%20Polymer.IronOverlayManagerClass%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Firon-overlay-behavior%2Firon-overlay-manager.html.js%0A | 9.4 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/ | 432 B | 2023-03-08 | 2023-03-08 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-pointer/src/IngPointer.js | 1.0 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7B'use%20strict'%3Blet%20modules%3D%7B%7D%2ClcModules%3D%7B%7D%3Bfunction%20setModule(id%2Cmodule)%7B%2F%2F%20store%20id%20separate%20from%20lowercased%20id%20so%20that%0A%2F%2F%20in%20all%20cases%20mixedCase%20id%20will%20stored%20distinctly%0A%2F%2F%20and%20lowercase%20version%20is%20a%20fallback%0Amodules%5Bid%5D%3DlcModules%5Bid.toLowerCase()%5D%3Dmodule%7Dfunction%20findModule(id)%7Breturn%20modules%5Bid%5D%7C%7ClcModules%5Bid.toLowerCase()%5D%7Dfunction%20styleOutsideTemplateCheck(inst)%7Bif(inst.querySelector(%22style%22))%7Bconsole.warn(%22dom-module%20%25s%20has%20style%20outside%20template%22%2Cinst.id)%7D%7D%2F**%0A%20%20%20*%20The%20%60dom-module%60%20element%20registers%20the%20dom%20it%20contains%20to%20the%20name%20given%0A%20%20%20*%20by%20the%20module's%20id%20attribute.%20It%20provides%20a%20unified%20database%20of%20dom%0A%20%20%20*%20accessible%20via%20its%20static%20%60import%60%20API.%0A%20%20%20*%0A%20%20%20*%20A%20key%20use%20case%20of%20%60dom-module%60%20is%20for%20providing%20custom%20element%20%60%3Ctemplate%3E%60s%0A%20%20%20*%20via%20HTML%20imports%20that%20are%20parsed%20by%20the%20native%20HTML%20parser%2C%20that%20can%20be%0A%20%20%20*%20relocated%20during%20a%20bundling%20pass%20and%20still%20looked%20up%20by%20%60id%60.%0A%20%20%20*%0A%20%20%20*%20Example%3A%0A%20%20%20*%0A%20%20%20*%20%20%20%20%20%3Cdom-module%20id%3D%22foo%22%3E%0A%20%20%20*%20%20%20%20%20%20%20%3Cimg%20src%3D%22stuff.png%22%3E%0A%20%20%20*%20%20%20%20%20%3C%2Fdom-module%3E%0A%20%20%20*%0A%20%20%20*%20Then%20in%20code%20in%20some%20other%20location%20that%20cannot%20access%20the%20dom-module%20above%0A%20%20%20*%0A%20%20%20*%20%20%20%20%20let%20img%20%3D%20customElements.get('dom-module').import('foo'%2C%20'img')%3B%0A%20%20%20*%0A%20%20%20*%20%40customElement%0A%20%20%20*%20%40extends%20HTMLElement%0A%20%20%20*%20%40memberof%20Polymer%0A%20%20%20*%20%40summary%20Custom%20element%20that%20provides%20a%20registry%20of%20relocatable%20DOM%20content%0A%20%20%20*%20%20%20by%20%60id%60%20that%20is%20agnostic%20to%20bundling.%0A%20%20%20*%20%40unrestricted%0A%20%20%20*%2Fclass%20DomModule%20extends%20HTMLElement%7Bstatic%20get%20observedAttributes()%7Breturn%5B%22id%22%5D%7D%2F**%0A%20%20%20%20%20*%20Retrieves%20the%20element%20specified%20by%20the%20css%20%60selector%60%20in%20the%20module%0A%20%20%20%20%20*%20registered%20by%20%60id%60.%20For%20example%2C%20this.import('foo'%2C%20'img')%3B%0A%20%20%20%20%20*%20%40param%20%7Bstring%7D%20id%20The%20id%20of%20the%20dom-module%20in%20which%20to%20search.%0A%20%20%20%20%20*%20%40param%20%7Bstring%3D%7D%20selector%20The%20css%20selector%20by%20which%20to%20find%20the%20element.%0A%20%20%20%20%20*%20%40return%20%7BElement%7D%20Returns%20the%20element%20which%20matches%20%60selector%60%20in%20the%0A%20%20%20%20%20*%20module%20registered%20at%20the%20specified%20%60id%60.%0A%20%20%20%20%20*%2Fstatic%20import(id%2Cselector)%7Bif(id)%7Blet%20m%3DfindModule(id)%3Bif(m%26%26selector)%7Breturn%20m.querySelector(selector)%7Dreturn%20m%7Dreturn%20null%7D%2F*%20eslint-disable%20no-unused-vars%20*%2F%20%2F**%0A%20%20%20%20%20*%20%40param%20%7Bstring%7D%20name%20Name%20of%20attribute.%0A%20%20%20%20%20*%20%40param%20%7B%3Fstring%7D%20old%20Old%20value%20of%20attribute.%0A%20%20%20%20%20*%20%40param%20%7B%3Fstring%7D%20value%20Current%20value%20of%20attribute.%0A%20%20%20%20%20*%20%40param%20%7B%3Fstring%7D%20namespace%20Attribute%20namespace.%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%2FattributeChangedCallback(name%2Cold%2Cvalue%2Cnamespace)%7Bif(old!%3D%3Dvalue)%7Bthis.register()%7D%7D%2F*%20eslint-enable%20no-unused-args%20*%2F%20%2F**%0A%20%20%20%20%20*%20The%20absolute%20URL%20of%20the%20original%20location%20of%20this%20%60dom-module%60.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20This%20value%20will%20differ%20from%20this%20element's%20%60ownerDocument%60%20in%20the%0A%20%20%20%20%20*%20following%20ways%3A%0A%20%20%20%20%20*%20-%20Takes%20into%20account%20any%20%60assetpath%60%20attribute%20added%20during%20bundling%0A%20%20%20%20%20*%20%20%20to%20indicate%20the%20original%20location%20relative%20to%20the%20bundled%20location%0A%20%20%20%20%20*%20-%20Uses%20the%20HTMLImports%20polyfill's%20%60importForElement%60%20API%20to%20ensure%0A%20%20%20%20%20*%20%20%20the%20path%20is%20relative%20to%20the%20import%20document's%20location%20since%0A%20%20%20%20%20*%20%20%20%60ownerDocument%60%20is%20not%20currently%20polyfilled%0A%20%20%20%20%20*%2Fget%20assetpath()%7B%2F%2F%20Don't%20override%20existing%20assetpath.%0Aif(!this.__assetpath)%7B%2F%2F%20note%3A%20assetpath%20set%20via%20an%20attribute%20must%20be%20relative%20to%20this%0A%2F%2F%20element's%20location%3B%20accomodate%20polyfilled%20HTMLImports%0Aconst%20owner%3Dwindow.HTMLImports%26%26HTMLImports.importForElement%3FHTMLImports.importForElement(this)%7C%7Cdocument%3Athis.ownerDocument%2Curl%3DPolymer.ResolveUrl.resolveUrl(this.getAttribute(%22assetpath%22)%7C%7C%22%22%2Cowner.baseURI)%3Bthis.__assetpath%3DPolymer.ResolveUrl.pathFromUrl(url)%7Dreturn%20this.__assetpath%7D%2F**%0A%20%20%20%20%20*%20Registers%20the%20dom-module%20at%20a%20given%20id.%20This%20method%20should%20only%20be%20called%0A%20%20%20%20%20*%20when%20a%20dom-module%20is%20imperatively%20created.%20For%0A%20%20%20%20%20*%20example%2C%20%60document.createElement('dom-module').register('foo')%60.%0A%20%20%20%20%20*%20%40param%20%7Bstring%3D%7D%20id%20The%20id%20at%20which%20to%20register%20the%20dom-module.%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%2Fregister(id)%7Bid%3Did%7C%7Cthis.id%3Bif(id)%7B%2F%2F%20Under%20strictTemplatePolicy%2C%20reject%20and%20null%20out%20any%20re-registered%0A%2F%2F%20dom-module%20since%20it%20is%20ambiguous%20whether%20first-in%20or%20last-in%20is%20trusted%20%0Aif(Polymer.strictTemplatePolicy%26%26findModule(id)!%3D%3D%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0Avoid%200)%7BsetModule(id%2Cnull)%3Bthrow%20new%20Error(%60strictTemplatePolicy%3A%20dom-module%20%24%7Bid%7D%20re-registered%60)%7Dthis.id%3Did%3BsetModule(id%2Cthis)%3BstyleOutsideTemplateCheck(this)%7D%7D%7DDomModule.prototype.modules%3Dmodules%3BcustomElements.define(%22dom-module%22%2CDomModule)%3B%2F**%20%40const%20*%2FPolymer.DomModule%3DDomModule%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fpolymer%2Flib%2Felements%2Fdom-module.html.js%0A | 4.7 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-link/src/IngLink.js | 2.4 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-link/src/IngLink.styles.js | 4.2 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/snackbar/snackbarStyles.js | 817 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,Polymer(%7Bis%3A%22iron-image%22%2Cproperties%3A%7B%2F**%0A%20%20%20%20%20%20%20%20%20*%20The%20URL%20of%20an%20image.%0A%20%20%20%20%20%20%20%20%20*%2Fsrc%3A%7Btype%3AString%2Cvalue%3A%22%22%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20*%20A%20short%20text%20alternative%20for%20the%20image.%0A%20%20%20%20%20%20%20%20%20*%2Falt%3A%7Btype%3AString%2Cvalue%3Anull%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20*%20CORS%20enabled%20images%20support%3A%0A%20%20%20%20%20%20%20%20%20*%20https%3A%2F%2Fdeveloper.mozilla.org%2Fen-US%2Fdocs%2FWeb%2FHTML%2FCORS_enabled_image%0A%20%20%20%20%20%20%20%20%20*%2Fcrossorigin%3A%7Btype%3AString%2Cvalue%3Anull%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20*%20When%20true%2C%20the%20image%20is%20prevented%20from%20loading%20and%20any%20placeholder%20is%0A%20%20%20%20%20%20%20%20%20*%20shown.%20%20This%20may%20be%20useful%20when%20a%20binding%20to%20the%20src%20property%20is%20known%20to%0A%20%20%20%20%20%20%20%20%20*%20be%20invalid%2C%20to%20prevent%20404%20requests.%0A%20%20%20%20%20%20%20%20%20*%2FpreventLoad%3A%7Btype%3ABoolean%2Cvalue%3A!1%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20*%20Sets%20a%20sizing%20option%20for%20the%20image.%20%20Valid%20values%20are%20%60contain%60%20(full%0A%20%20%20%20%20%20%20%20%20*%20aspect%20ratio%20of%20the%20image%20is%20contained%20within%20the%20element%20and%0A%20%20%20%20%20%20%20%20%20*%20letterboxed)%20or%20%60cover%60%20(image%20is%20cropped%20in%20order%20to%20fully%20cover%20the%0A%20%20%20%20%20%20%20%20%20*%20bounds%20of%20the%20element)%2C%20or%20%60null%60%20(default%3A%20image%20takes%20natural%20size).%0A%20%20%20%20%20%20%20%20%20*%2Fsizing%3A%7Btype%3AString%2Cvalue%3Anull%2CreflectToAttribute%3A!0%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20*%20When%20a%20sizing%20option%20is%20used%20(%60cover%60%20or%20%60contain%60)%2C%20this%20determines%0A%20%20%20%20%20%20%20%20%20*%20how%20the%20image%20is%20aligned%20within%20the%20element%20bounds.%0A%20%20%20%20%20%20%20%20%20*%2Fposition%3A%7Btype%3AString%2Cvalue%3A%22center%22%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20*%20When%20%60true%60%2C%20any%20change%20to%20the%20%60src%60%20property%20will%20cause%20the%0A%20%20%20%20%20%20%20%20%20*%20%60placeholder%60%20image%20to%20be%20shown%20until%20the%20new%20image%20has%20loaded.%0A%20%20%20%20%20%20%20%20%20*%2Fpreload%3A%7Btype%3ABoolean%2Cvalue%3A!1%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20*%20This%20image%20will%20be%20used%20as%20a%20background%2Fplaceholder%20until%20the%20src%20image%0A%20%20%20%20%20%20%20%20%20*%20has%20loaded.%20%20Use%20of%20a%20data-URI%20for%20placeholder%20is%20encouraged%20for%20instant%0A%20%20%20%20%20%20%20%20%20*%20rendering.%0A%20%20%20%20%20%20%20%20%20*%2Fplaceholder%3A%7Btype%3AString%2Cvalue%3Anull%2Cobserver%3A%22_placeholderChanged%22%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20*%20When%20%60preload%60%20is%20true%2C%20setting%20%60fade%60%20to%20true%20will%20cause%20the%20image%20to%0A%20%20%20%20%20%20%20%20%20*%20fade%20into%20place.%0A%20%20%20%20%20%20%20%20%20*%2Ffade%3A%7Btype%3ABoolean%2Cvalue%3A!1%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20*%20Read-only%20value%20that%20is%20true%20when%20the%20image%20is%20loaded.%0A%20%20%20%20%20%20%20%20%20*%2Floaded%3A%7Bnotify%3A!0%2CreadOnly%3A!0%2Ctype%3ABoolean%2Cvalue%3A!1%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20*%20Read-only%20value%20that%20tracks%20the%20loading%20state%20of%20the%20image%20when%20the%0A%20%20%20%20%20%20%20%20%20*%20%60preload%60%20option%20is%20used.%0A%20%20%20%20%20%20%20%20%20*%2Floading%3A%7Bnotify%3A!0%2CreadOnly%3A!0%2Ctype%3ABoolean%2Cvalue%3A!1%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20*%20Read-only%20value%20that%20indicates%20that%20the%20last%20set%20%60src%60%20failed%20to%20load.%0A%20%20%20%20%20%20%20%20%20*%2Ferror%3A%7Bnotify%3A!0%2CreadOnly%3A!0%2Ctype%3ABoolean%2Cvalue%3A!1%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20*%20Can%20be%20used%20to%20set%20the%20width%20of%20image%20(e.g.%20via%20binding)%3B%20size%20may%20also%0A%20%20%20%20%20%20%20%20%20*%20be%20set%20via%20CSS.%0A%20%20%20%20%20%20%20%20%20*%2Fwidth%3A%7Bobserver%3A%22_widthChanged%22%2Ctype%3ANumber%2Cvalue%3Anull%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20*%20Can%20be%20used%20to%20set%20the%20height%20of%20image%20(e.g.%20via%20binding)%3B%20size%20may%20also%0A%20%20%20%20%20%20%20%20%20*%20be%20set%20via%20CSS.%0A%20%20%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20%20%20*%20%40attribute%20height%0A%20%20%20%20%20%20%20%20%20*%20%40type%20number%0A%20%20%20%20%20%20%20%20%20*%20%40default%20null%0A%20%20%20%20%20%20%20%20%20*%2Fheight%3A%7Bobserver%3A%22_heightChanged%22%2Ctype%3ANumber%2Cvalue%3Anull%7D%7D%2Cobservers%3A%5B%22_transformChanged(sizing%2C%20position)%22%2C%22_loadStateObserver(src%2C%20preventLoad)%22%5D%2Ccreated%3Afunction()%7Bthis._resolvedSrc%3D%22%22%7D%2C_imgOnLoad%3Afunction()%7Bif(this.%24.img.src!%3D%3Dthis._resolveSrc(this.src))%7Breturn%7Dthis._setLoading(!1)%3Bthis._setLoaded(!0)%3Bthis._setError(!1)%7D%2C_imgOnError%3Afunction()%7Bif(this.%24.img.src!%3D%3Dthis._resolveSrc(this.src))%7Breturn%7Dthis.%24.img.removeAttribute(%22src%22)%3Bthis.%24.sizedImgDiv.style.backgroundImage%3D%22%22%3Bthis._setLoading(!1)%3Bthis._setLoaded(!1)%3Bthis._setError(!0)%7D%2C_computePlaceholderHidden%3Afunction()%7Breturn!this.preload%7C%7C!this.fade%26%26!this.loading%26%26this.loaded%7D%2C_computePlaceholderClassName%3Afunction()%7Breturn%20this.preload%26%26this.fade%26%26!this.loading%26%26this.loaded%3F%22faded-out%22%3A%22%22%7D%2C_computeImgDivHidden%3Afunction()%7Breturn!this.sizing%7D%2C_computeImgDivARIAHidden%3Afunction()%7Breturn%22%22%3D%3D%3Dthis.alt%3F%22true%22%3Avoid%200%7D%2C_computeImgDivARIALabel%3Afunction()%7Bif(null!%3D%3Dthis.alt)%7Breturn%20this.alt%7D%2F%2F%20Polymer.ResolveUrl.resolveUrl%20will%20resolve%20''%20relative%20to%20a%20URL%20x%20to%0A%2F%2F%20that%20URL%20x%2C%20but%20''%20is%20the%20default%20for%20src.%0Aif(%22%22%3D%3D%3Dthis.src)%7Breturn%22%22%7D%2F%2F%20NOTE%3A%20Use%20of%20%60URL%60%20was%20removed%20here%20because%20IE11%20doesn't%20support%0A%2F%2F%20constructing%20it.%20If%20this%20ends%20up%20being%20problematic%2C%20we%20should%0A%2F%2F%20consider%20reverting%20and%20adding%20the%20URL%20polyfill%20as%20a%20dev%20dependency.%0Avar%20resolved%3Dthis._resolveSrc(this.src)%3B%2F%2F%20Remove%20query%20parts%2C%20get%20file%20name.%0Areturn%20resolved.replace(%2F%5B%3F%7C%23%5D.*%2Fg%2C%22%22).split(%22%2F%22).pop()%7D%2C_computeImgHidden%3Afunction()%7Breturn!!this.sizing%7D%2C_widthChanged%3Afunction()%7Bthis.style.width%3DisNaN(this.width)%3Fthis.width%3Athis.width%2B%22px%22%7D%2C_heightChanged%3Afunction()%7Bthis.style.height%3DisNaN(this.height)%3Fthis.height%3Athis.height%2B%22px%22%7D%2C_loadStateObserver%3Afunction(src%2CpreventLoad)%7Bvar%20newResolvedSrc%3Dthis._resolveSrc(src)%3Bif(newResolvedSrc%3D%3D%3Dthis._resolvedSrc)%7Breturn%7Dthis._resolvedSrc%3D%22%22%3Bthis.%24.img.removeAttribute(%22src%22)%3Bthis.%24.sizedImgDiv.style.backgroundImage%3D%22%22%3Bif(%22%22%3D%3D%3Dsrc%7C%7CpreventLoad)%7Bthis._setLoading(!1)%3Bthis._setLoaded(!1)%3Bthis._setError(!1)%7Delse%7Bthis._resolvedSrc%3DnewResolvedSrc%3Bthis.%24.img.src%3Dthis._resolvedSrc%3Bthis.%24.sizedImgDiv.style.backgroundImage%3D%22url(%5C%22%22%2Bthis._resolvedSrc%2B%22%5C%22)%22%3Bthis._setLoading(!0)%3Bthis._setLoaded(!1)%3Bthis._setError(!1)%7D%7D%2C_placeholderChanged%3Afunction()%7Bthis.%24.placeholder.style.backgroundImage%3Dthis.placeholder%3F%22url(%5C%22%22%2Bthis.placeholder%2B%22%5C%22)%22%3A%22%22%7D%2C_transformChanged%3Afunction()%7Bvar%20sizedImgDivStyle%3Dthis.%24.sizedImgDiv.style%2CplaceholderStyle%3Dthis.%24.placeholder.style%3BsizedImgDivStyle.backgroundSize%3DplaceholderStyle.backgroundSize%3Dthis.sizing%3BsizedImgDivStyle.backgroundPosition%3DplaceholderStyle.backgroundPosition%3Dthis.sizing%3Fthis.position%3A%22%22%3BsizedImgDivStyle.backgroundRepeat%3DplaceholderStyle.backgroundRepeat%3Dthis.sizing%3F%22no-repeat%22%3A%22%22%7D%2C_resolveSrc%3Afunction(testSrc)%7Bvar%20resolved%3DPolymer.ResolveUrl.resolveUrl(testSrc%2Cthis.%24.baseURIAnchor.href)%3B%2F%2F%20NOTE%3A%20Use%20of%20%60URL%60%20was%20removed%20here%20because%20IE11%20doesn't%20support%0A%2F%2F%20constructing%20it.%20If%20this%20ends%20up%20being%20problematic%2C%20we%20should%0A%2F%2F%20consider%20reverting%20and%20adding%20the%20URL%20polyfill%20as%20a%20dev%20dependency.%0Aif(%22%2F%22%3D%3D%3Dresolved%5B0%5D)%7B%2F%2F%20In%20IE%20location.origin%20might%20not%20work%0A%2F%2F%20https%3A%2F%2Fconnect.microsoft.com%2FIE%2Ffeedback%2Fdetails%2F1763802%2Flocation-origin-is-undefined-in-ie-11-on-windows-10-but-works-on-windows-7%0Aresolved%3D(location.origin%7C%7Clocation.protocol%2B%22%2F%2F%22%2Blocation.host)%2Bresolved%7Dreturn%20resolved%7D%7D)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Firon-image%2Firon-image.html.js%0A | 6.1 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web-es/packages/illustration/registerIllustrations.js | 7.1 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/helpers/renderLitAsNode/src/renderLitAsNode.js | 174 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7B'use%20strict'%3B%2F%2F%20detect%20native%20touch%20action%20support%0Alet%20HAS_NATIVE_TA%3D%22string%22%3D%3D%3Dtypeof%20document.head.style.touchAction%2CGESTURE_KEY%3D%22__polymerGestures%22%2CHANDLED_OBJ%3D%22__polymerGesturesHandled%22%2CTOUCH_ACTION%3D%22__polymerGesturesTouchAction%22%2CTAP_DISTANCE%3D25%2CTRACK_DISTANCE%3D5%2CTRACK_LENGTH%3D2%2CMOUSE_TIMEOUT%3D2500%2CMOUSE_EVENTS%3D%5B%22mousedown%22%2C%22mousemove%22%2C%22mouseup%22%2C%22click%22%5D%2CMOUSE_WHICH_TO_BUTTONS%3D%5B0%2C1%2C4%2C2%5D%2CMOUSE_HAS_BUTTONS%3Dfunction()%7Btry%7Breturn%201%3D%3D%3Dnew%20MouseEvent(%22test%22%2C%7Bbuttons%3A1%7D).buttons%7Dcatch(e)%7Breturn(%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A!1)%7D%7D()%3B%2F**%0A%20%20%20*%20%40param%20%7Bstring%7D%20name%20Possible%20mouse%20event%20name%0A%20%20%20*%20%40return%20%7Bboolean%7D%20true%20if%20mouse%20event%2C%20false%20if%20not%0A%20%20%20*%2Ffunction%20isMouseEvent(name)%7Breturn-1%3CMOUSE_EVENTS.indexOf(name)%7D%2F*%20eslint%20no-empty%3A%20%5B%22error%22%2C%20%7B%20%22allowEmptyCatch%22%3A%20true%20%7D%5D%20*%2F%20%2F%2F%20check%20for%20passive%20event%20listeners%0Alet%20SUPPORTS_PASSIVE%3D!1%3B(function()%7Btry%7Blet%20opts%3DObject.defineProperty(%7B%7D%2C%22passive%22%2C%7Bget()%7BSUPPORTS_PASSIVE%3D%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%7D%7D)%3Bwindow.addEventListener(%22test%22%2Cnull%2Copts)%3Bwindow.removeEventListener(%22test%22%2Cnull%2Copts)%7Dcatch(e)%7B%7D%7D)()%3B%2F**%0A%20%20%20*%20Generate%20settings%20for%20event%20listeners%2C%20dependant%20on%20%60Polymer.passiveTouchGestures%60%0A%20%20%20*%0A%20%20%20*%20%40param%20%7Bstring%7D%20eventName%20Event%20name%20to%20determine%20if%20%60%7Bpassive%7D%60%20option%20is%20needed%0A%20%20%20*%20%40return%20%7B%7Bpassive%3A%20boolean%7D%20%7C%20undefined%7D%20Options%20to%20use%20for%20addEventListener%20and%20removeEventListener%0A%20%20%20*%2Ffunction%20PASSIVE_TOUCH(eventName)%7Bif(isMouseEvent(eventName)%7C%7C%22touchend%22%3D%3D%3DeventName)%7Breturn%7Dif(HAS_NATIVE_TA%26%26SUPPORTS_PASSIVE%26%26Polymer.passiveTouchGestures)%7Breturn%7Bpassive%3A!0%7D%7Delse%7Breturn%7D%7D%2F%2F%20Check%20for%20touch-only%20devices%0Alet%20IS_TOUCH_ONLY%3Dnavigator.userAgent.match(%2FiP(%3F%3A%5Boa%5Dd%7Chone)%7CAndroid%2F)%2CGestureRecognizer%3Dfunction()%7B%7D%3B%2F%2F%20eslint-disable-line%20no-unused-vars%0A%2F**%20%40type%20%7Bfunction()%3A%20void%7D%20*%2FGestureRecognizer.prototype.reset%3B%2F**%20%40type%20%7Bfunction(MouseEvent)%3A%20void%20%7C%20undefined%7D%20*%2FGestureRecognizer.prototype.mousedown%3B%2F**%20%40type%20%7B(function(MouseEvent)%3A%20void%20%7C%20undefined)%7D%20*%2FGestureRecognizer.prototype.mousemove%3B%2F**%20%40type%20%7B(function(MouseEvent)%3A%20void%20%7C%20undefined)%7D%20*%2FGestureRecognizer.prototype.mouseup%3B%2F**%20%40type%20%7B(function(TouchEvent)%3A%20void%20%7C%20undefined)%7D%20*%2FGestureRecognizer.prototype.touchstart%3B%2F**%20%40type%20%7B(function(TouchEvent)%3A%20void%20%7C%20undefined)%7D%20*%2FGestureRecognizer.prototype.touchmove%3B%2F**%20%40type%20%7B(function(TouchEvent)%3A%20void%20%7C%20undefined)%7D%20*%2FGestureRecognizer.prototype.touchend%3B%2F**%20%40type%20%7B(function(MouseEvent)%3A%20void%20%7C%20undefined)%7D%20*%2FGestureRecognizer.prototype.click%3B%2F%2F%20keep%20track%20of%20any%20labels%20hit%20by%20the%20mouseCanceller%0A%2F**%20%40type%20%7B!Array%3C!HTMLLabelElement%3E%7D%20*%2Fconst%20clickedLabels%3D%5B%5D%2Clabellable%3D%7Bbutton%3A!0%2Cinput%3A!0%2Ckeygen%3A!0%2Cmeter%3A!0%2Coutput%3A!0%2Ctextarea%3A!0%2Cprogress%3A!0%2Cselect%3A!0%7D%2CcanBeDisabled%3D%7Bbutton%3A!0%2Ccommand%3A!0%2Cfieldset%3A!0%2Cinput%3A!0%2Ckeygen%3A!0%2Coptgroup%3A!0%2Coption%3A!0%2Cselect%3A!0%2Ctextarea%3A!0%7D%3B%2F**%20%40type%20%7B!Object%3Cboolean%3E%7D%20*%2F%20%2F**%0A%20%20%20*%20%40param%20%7BHTMLElement%7D%20el%20Element%20to%20check%20labelling%20status%0A%20%20%20*%20%40return%20%7Bboolean%7D%20element%20can%20have%20labels%0A%20%20%20*%2Ffunction%20canBeLabelled(el)%7Breturn%20labellable%5Bel.localName%5D%7C%7C!1%7D%2F**%0A%20%20%20*%20%40param%20%7BHTMLElement%7D%20el%20Element%20that%20may%20be%20labelled.%0A%20%20%20*%20%40return%20%7B!Array%3C!HTMLLabelElement%3E%7D%20Relevant%20label%20for%20%60el%60%0A%20%20%20*%2Ffunction%20matchingLabels(el)%7Blet%20labels%3DArray.from(%2F**%20%40type%20%7BHTMLInputElement%7D%20*%2Fel.labels%7C%7C%5B%5D)%3B%2F%2F%20IE%20doesn't%20have%20%60labels%60%20and%20Safari%20doesn't%20populate%20%60labels%60%0A%2F%2F%20if%20element%20is%20in%20a%20shadowroot.%0A%2F%2F%20In%20this%20instance%2C%20finding%20the%20non-ancestor%20labels%20is%20enough%2C%0A%2F%2F%20as%20the%20mouseCancellor%20code%20will%20handle%20ancstor%20labels%0Aif(!labels.length)%7Blabels%3D%5B%5D%3Blet%20root%3Del.getRootNode()%3B%2F%2F%20if%20there%20is%20an%20id%20on%20%60el%60%2C%20check%20for%20all%20labels%20with%20a%20matching%20%60for%60%20attribute%0Aif(el.id)%7Blet%20matching%3Droot.querySelectorAll(%60label%5Bfor%20%3D%20%24%7Bel.id%7D%5D%60)%3Bfor(let%20i%3D0%3Bi%3Cmatching.length%3Bi%2B%2B)%7Blabels.push(%2F**%20%40type%20%7B!HTMLLabelElement%7D%20*%2Fmatching%5Bi%5D)%7D%7D%7Dreturn%20labels%7D%2F%2F%20touch%20will%20make%20synthetic%20mouse%20events%0A%2F%2F%20%60preventDefault%60%20on%20touchend%20will%20cancel%20them%2C%0A%2F%2F%20but%20this%20breaks%20%60%3Cinput%3E%60%20focus%20and%20link%20clicks%0A%2F%2F%20disable%20mouse%20handlers%20for%20MOUSE_TIMEOUT%20ms%20after%0A%2F%2F%20a%20touchend%20to%20ignore%20synthetic%20mouse%20events%0Alet%20mouseCanceller%3Dfunction(mouseEvent)%7B%2F%2F%20Check%20for%20sourceCapabilities%2C%20used%20to%20distinguish%20synthetic%20events%0A%2F%2F%20if%20mouseEvent%20did%20not%20come%20from%20a%20device%20that%20fires%20touch%20events%2C%0A%2F%2F%20it%20was%20made%20by%20a%20real%20mouse%20and%20should%20be%20counted%0A%2F%2F%20http%3A%2F%2Fwicg.github.io%2FInputDeviceCapabilities%2F%23dom-inputdevicecapabilities-firestouchevents%0Alet%20sc%3DmouseEvent.sourceCapabilities%3Bif(sc%26%26!sc.firesTouchEvents)%7Breturn%7D%2F%2F%20skip%20synthetic%20mouse%20events%0AmouseEvent%5BHANDLED_OBJ%5D%3D%7Bskip%3A!0%7D%3B%2F%2F%20disable%20%22ghost%20clicks%22%0Aif(%22click%22%3D%3D%3DmouseEvent.type)%7Blet%20clickFromLabel%3D!1%2Cpath%3DmouseEvent.composedPath%26%26mouseEvent.composedPath()%3Bif(path)%7Bfor(let%20i%3D0%3Bi%3Cpath.length%3Bi%2B%2B)%7Bif(path%5Bi%5D.nodeType%3D%3D%3DNode.ELEMENT_NODE)%7Bif(%22label%22%3D%3D%3Dpath%5Bi%5D.localName)%7BclickedLabels.push(path%5Bi%5D)%7Delse%20if(canBeLabelled(path%5Bi%5D))%7Blet%20ownerLabels%3DmatchingLabels(path%5Bi%5D)%3B%2F%2F%20check%20if%20one%20of%20the%20clicked%20labels%20is%20labelling%20this%20element%0Afor(let%20j%3D0%3Bj%3CownerLabels.length%3Bj%2B%2B)%7BclickFromLabel%3DclickFromLabel%7C%7C-1%3CclickedLabels.indexOf(ownerLabels%5Bj%5D)%7D%7D%7Dif(path%5Bi%5D%3D%3D%3DPOINTERSTATE.mouse.target)%7Breturn%7D%7D%7D%2F%2F%20if%20one%20of%20the%20clicked%20labels%20was%20labelling%20the%20target%20element%2C%0A%2F%2F%20this%20is%20not%20a%20ghost%20click%0Aif(clickFromLabel)%7Breturn%7DmouseEvent.preventDefault()%3BmouseEvent.stopPropagation()%7D%7D%3B%2F**%0A%20%20%20*%20%40param%20%7Bboolean%3D%7D%20setup%20True%20to%20add%2C%20false%20to%20remove.%0A%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20*%2Ffunction%20setupTeardownMouseCanceller(setup)%7Blet%20events%3DIS_TOUCH_ONLY%3F%5B%22click%22%5D%3AMOUSE_EVENTS%3Bfor(let%20i%3D0%2Cen%3Bi%3Cevents.length%3Bi%2B%2B)%7Ben%3Devents%5Bi%5D%3Bif(setup)%7B%2F%2F%20reset%20clickLabels%20array%0AclickedLabels.length%3D0%3Bdocument.addEventListener(en%2CmouseCanceller%2C!0)%7Delse%7Bdocument.removeEventListener(en%2CmouseCanceller%2C!0)%7D%7D%7Dfunction%20ignoreMouse(e)%7Bif(!POINTERSTATE.mouse.mouseIgnoreJob)%7BsetupTeardownMouseCanceller(!0)%7Dlet%20unset%3Dfunction()%7BsetupTeardownMouseCanceller()%3BPOINTERSTATE.mouse.target%3Dnull%3BPOINTERSTATE.mouse.mouseIgnoreJob%3Dnull%7D%3BPOINTERSTATE.mouse.target%3De.composedPath()%5B0%5D%3BPOINTERSTATE.mouse.mouseIgnoreJob%3DPolymer.Debouncer.debounce(POINTERSTATE.mouse.mouseIgnoreJob%2CPolymer.Async.timeOut.after(MOUSE_TIMEOUT)%2Cunset)%7D%2F**%0A%20%20%20*%20%40param%20%7BMouseEvent%7D%20ev%20event%20to%20test%20for%20left%20mouse%20button%20down%0A%20%20%20*%20%40return%20%7Bboolean%7D%20has%20left%20mouse%20button%20down%0A%20%20%20*%2Ffunction%20hasLeftMouseButton(ev)%7Blet%20type%3Dev.type%3B%2F%2F%20exit%20early%20if%20the%20event%20is%20not%20a%20mouse%20event%0Aif(!isMouseEvent(type))%7Breturn!1%7D%2F%2F%20ev.button%20is%20not%20reliable%20for%20mousemove%20(0%20is%20overloaded%20as%20both%20left%20button%20and%20no%20buttons)%0A%2F%2F%20instead%20we%20use%20ev.buttons%20(bitmask%20of%20buttons)%20or%20fall%20back%20to%20ev.which%20(deprecated%2C%200%20for%20no%20buttons%2C%201%20for%20left%20button)%0Aif(%22mousemove%22%3D%3D%3Dtype)%7B%2F%2F%20allow%20undefined%20for%20testing%20events%0Alet%20buttons%3Dev.buttons%3D%3D%3D%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0Avoid%200%3F1%3Aev.buttons%3Bif(ev%20instanceof%20window.MouseEvent%26%26!MOUSE_HAS_BUTTONS)%7Bbuttons%3DMOUSE_WHICH_TO_BUTTONS%5Bev.which%5D%7C%7C0%7D%2F%2F%20buttons%20is%20a%20bitmask%2C%20check%20that%20the%20left%20button%20bit%20is%20set%20(1)%0Areturn!!(1%26buttons)%7Delse%7B%2F%2F%20allow%20undefined%20for%20testing%20events%0Alet%20button%3Dev.button%3D%3D%3Dvoid%200%3F0%3Aev.button%3B%2F%2F%20ev.button%20is%200%20in%20mousedown%2Fmouseup%2Fclick%20for%20left%20button%20activation%0Areturn%200%3D%3D%3Dbutton%7D%7Dfunction%20isSyntheticClick(ev)%7Bif(%22click%22%3D%3D%3Dev.type)%7B%2F%2F%20ev.detail%20is%200%20for%20HTMLElement.click%20in%20most%20browsers%0Aif(0%3D%3D%3Dev.detail)%7Breturn!0%7D%2F%2F%20in%20the%20worst%20case%2C%20check%20that%20the%20x%2Fy%20position%20of%20the%20click%20is%20within%0A%2F%2F%20the%20bounding%20box%20of%20the%20target%20of%20the%20event%0A%2F%2F%20Thanks%20IE%2010%20%3E%3A(%0Alet%20t%3DGestures._findOriginalTarget(ev)%3B%2F%2F%20make%20sure%20the%20target%20of%20the%20event%20is%20an%20element%20so%20we%20can%20use%20getBoundingClientRect%2C%0A%2F%2F%20if%20not%2C%20just%20assume%20it%20is%20a%20synthetic%20click%0Aif(!t.nodeType%7C%7C%2F**%20%40type%20%7BElement%7D%20*%2Ft.nodeType!%3D%3DNode.ELEMENT_NODE)%7Breturn!0%7Dlet%20bcr%3D%2F**%20%40type%20%7BElement%7D%20*%2Ft.getBoundingClientRect()%2Cx%3Dev.pageX%2Cy%3Dev.pageY%3B%2F%2F%20use%20page%20x%2Fy%20to%20account%20for%20scrolling%0A%2F%2F%20ev%20is%20a%20synthetic%20click%20if%20the%20position%20is%20outside%20the%20bounding%20box%20of%20the%20target%0Areturn!(x%3E%3Dbcr.left%26%26x%3C%3Dbcr.right%26%26y%3E%3Dbcr.top%26%26y%3C%3Dbcr.bottom)%7Dreturn!1%7Dlet%20POINTERSTATE%3D%7Bmouse%3A%7Btarget%3Anull%2CmouseIgnoreJob%3Anull%7D%2Ctouch%3A%7Bx%3A0%2Cy%3A0%2Cid%3A-1%2CscrollDecided%3A!1%7D%7D%3Bfunction%20firstTouchAction(ev)%7Blet%20ta%3D%22auto%22%2Cpath%3Dev.composedPath%26%26ev.composedPath()%3Bif(path)%7Bfor(let%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%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%7D%2F%2F%20use%20a%20document-wide%20touchend%20listener%20to%20start%20the%20ghost-click%20prevention%20mechanism%0A%2F%2F%20Use%20passive%20event%20listeners%2C%20if%20supported%2C%20to%20not%20affect%20scrolling%20performance%0Adocument.addEventListener(%22touchend%22%2CignoreMouse%2CSUPPORTS_PASSIVE%3F%7Bpassive%3A!0%7D%3A!1)%3B%2F**%0A%20%20%20*%20Module%20for%20adding%20listeners%20to%20a%20node%20for%20the%20following%20normalized%0A%20%20%20*%20cross-platform%20%22gesture%22%20events%3A%0A%20%20%20*%20-%20%60down%60%20-%20mouse%20or%20touch%20went%20down%0A%20%20%20*%20-%20%60up%60%20-%20mouse%20or%20touch%20went%20up%0A%20%20%20*%20-%20%60tap%60%20-%20mouse%20click%20or%20finger%20tap%0A%20%20%20*%20-%20%60track%60%20-%20mouse%20drag%20or%20touch%20move%0A%20%20%20*%0A%20%20%20*%20%40namespace%0A%20%20%20*%20%40memberof%20Polymer%0A%20%20%20*%20%40summary%20Module%20for%20adding%20cross-platform%20gesture%20event%20listeners.%0A%20%20%20*%2Fconst%20Gestures%3D%7Bgestures%3A%7B%7D%2Crecognizers%3A%5B%5D%2C%2F**%0A%20%20%20%20%20*%20Finds%20the%20element%20rendered%20on%20the%20screen%20at%20the%20provided%20coordinates.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20Similar%20to%20%60document.elementFromPoint%60%2C%20but%20pierces%20through%0A%20%20%20%20%20*%20shadow%20roots.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40memberof%20Polymer.Gestures%0A%20%20%20%20%20*%20%40param%20%7Bnumber%7D%20x%20Horizontal%20pixel%20coordinate%0A%20%20%20%20%20*%20%40param%20%7Bnumber%7D%20y%20Vertical%20pixel%20coordinate%0A%20%20%20%20%20*%20%40return%20%7BElement%7D%20Returns%20the%20deepest%20shadowRoot%20inclusive%20element%0A%20%20%20%20%20*%20found%20at%20the%20screen%20position%20given.%0A%20%20%20%20%20*%2FdeepTargetFind%3Afunction(x%2Cy)%7Blet%20node%3Ddocument.elementFromPoint(x%2Cy)%2Cnext%3Dnode%3B%2F%2F%20this%20code%20path%20is%20only%20taken%20when%20native%20ShadowDOM%20is%20used%0A%2F%2F%20if%20there%20is%20a%20shadowroot%2C%20it%20may%20have%20a%20node%20at%20x%2Fy%0A%2F%2F%20if%20there%20is%20not%20a%20shadowroot%2C%20exit%20the%20loop%0Awhile(next%26%26next.shadowRoot%26%26!window.ShadyDOM)%7B%2F%2F%20if%20there%20is%20a%20node%20at%20x%2Fy%20in%20the%20shadowroot%2C%20look%20deeper%0Alet%20oldNext%3Dnext%3Bnext%3Dnext.shadowRoot.elementFromPoint(x%2Cy)%3B%2F%2F%20on%20Safari%2C%20elementFromPoint%20may%20return%20the%20shadowRoot%20host%0Aif(oldNext%3D%3D%3Dnext)%7Bbreak%7Dif(next)%7Bnode%3Dnext%7D%7Dreturn%20node%7D%2C%2F**%0A%20%20%20%20%20*%20a%20cheaper%20check%20than%20ev.composedPath()%5B0%5D%3B%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%20%40param%20%7BEvent%7D%20ev%20Event.%0A%20%20%20%20%20*%20%40return%20%7BEventTarget%7D%20Returns%20the%20event%20target.%0A%20%20%20%20%20*%2F_findOriginalTarget%3Afunction(ev)%7B%2F%2F%20shadowdom%0Aif(ev.composedPath)%7Bconst%20targets%3D%2F**%20%40type%20%7B!Array%3C!EventTarget%3E%7D%20*%2Fev.composedPath()%3B%2F%2F%20It%20shouldn't%20be%2C%20but%20sometimes%20targets%20is%20empty%20(window%20on%20Safari).%0Areturn%200%3Ctargets.length%3Ftargets%5B0%5D%3Aev.target%7D%2F%2F%20shadydom%0Areturn%20ev.target%7D%2C%2F**%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%20%40param%20%7BEvent%7D%20ev%20Event.%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%2F_handleNative%3Afunction(ev)%7Blet%20handled%2Ctype%3Dev.type%2Cnode%3Dev.currentTarget%2Cgobj%3Dnode%5BGESTURE_KEY%5D%3Bif(!gobj)%7Breturn%7Dlet%20gs%3Dgobj%5Btype%5D%3Bif(!gs)%7Breturn%7Dif(!ev%5BHANDLED_OBJ%5D)%7Bev%5BHANDLED_OBJ%5D%3D%7B%7D%3Bif(%22touch%22%3D%3D%3Dtype.slice(0%2C5))%7Bev%3D%2F**%20%40type%20%7BTouchEvent%7D%20*%2Fev%3B%2F%2F%20eslint-disable-line%20no-self-assign%0Alet%20t%3Dev.changedTouches%5B0%5D%3Bif(%22touchstart%22%3D%3D%3Dtype)%7B%2F%2F%20only%20handle%20the%20first%20finger%0Aif(1%3D%3D%3Dev.touches.length)%7BPOINTERSTATE.touch.id%3Dt.identifier%7D%7Dif(POINTERSTATE.touch.id!%3D%3Dt.identifier)%7Breturn%7Dif(!HAS_NATIVE_TA)%7Bif(%22touchstart%22%3D%3D%3Dtype%7C%7C%22touchmove%22%3D%3D%3Dtype)%7BGestures._handleTouchAction(ev)%7D%7D%7D%7Dhandled%3Dev%5BHANDLED_OBJ%5D%3B%2F%2F%20used%20to%20ignore%20synthetic%20mouse%20events%0Aif(handled.skip)%7Breturn%7D%2F%2F%20reset%20recognizer%20state%0Afor(let%20i%3D0%2Cr%3Bi%3CGestures.recognizers.length%3Bi%2B%2B)%7Br%3DGestures.recognizers%5Bi%5D%3Bif(gs%5Br.name%5D%26%26!handled%5Br.name%5D)%7Bif(r.flow%26%26-1%3Cr.flow.start.indexOf(ev.type)%26%26r.reset)%7Br.reset()%7D%7D%7D%2F%2F%20enforce%20gesture%20recognizer%20order%0Afor(let%20i%3D0%2Cr%3Bi%3CGestures.recognizers.length%3Bi%2B%2B)%7Br%3DGestures.recognizers%5Bi%5D%3Bif(gs%5Br.name%5D%26%26!handled%5Br.name%5D)%7Bhandled%5Br.name%5D%3D!0%3Br%5Btype%5D(ev)%7D%7D%7D%2C%2F**%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%20%40param%20%7BTouchEvent%7D%20ev%20Event.%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%2F_handleTouchAction%3Afunction(ev)%7Blet%20t%3Dev.changedTouches%5B0%5D%2Ctype%3Dev.type%3Bif(%22touchstart%22%3D%3D%3Dtype)%7BPOINTERSTATE.touch.x%3Dt.clientX%3BPOINTERSTATE.touch.y%3Dt.clientY%3BPOINTERSTATE.touch.scrollDecided%3D!1%7Delse%20if(%22touchmove%22%3D%3D%3Dtype)%7Bif(POINTERSTATE.touch.scrollDecided)%7Breturn%7DPOINTERSTATE.touch.scrollDecided%3D!0%3Blet%20ta%3DfirstTouchAction(ev)%2Cprevent%3D!1%2Cdx%3DMath.abs(POINTERSTATE.touch.x-t.clientX)%2Cdy%3DMath.abs(POINTERSTATE.touch.y-t.clientY)%3Bif(!ev.cancelable)%7B%2F%2F%20scrolling%20is%20happening%0A%7Delse%20if(%22none%22%3D%3D%3Dta)%7Bprevent%3D!0%7Delse%20if(%22pan-x%22%3D%3D%3Dta)%7Bprevent%3Ddy%3Edx%7Delse%20if(%22pan-y%22%3D%3D%3Dta)%7Bprevent%3Ddx%3Edy%7Dif(prevent)%7Bev.preventDefault()%7Delse%7BGestures.prevent(%22track%22)%7D%7D%7D%2C%2F**%0A%20%20%20%20%20*%20Adds%20an%20event%20listener%20to%20a%20node%20for%20the%20given%20gesture%20type.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40memberof%20Polymer.Gestures%0A%20%20%20%20%20*%20%40param%20%7B!Node%7D%20node%20Node%20to%20add%20listener%20on%0A%20%20%20%20%20*%20%40param%20%7Bstring%7D%20evType%20Gesture%20type%3A%20%60down%60%2C%20%60up%60%2C%20%60track%60%2C%20or%20%60tap%60%0A%20%20%20%20%20*%20%40param%20%7B!function(!Event)%3Avoid%7D%20handler%20Event%20listener%20function%20to%20call%0A%20%20%20%20%20*%20%40return%20%7Bboolean%7D%20Returns%20true%20if%20a%20gesture%20event%20listener%20was%20added.%0A%20%20%20%20%20*%20%40this%20%7BGestures%7D%0A%20%20%20%20%20*%2FaddListener%3Afunction(node%2CevType%2Chandler)%7Bif(this.gestures%5BevType%5D)%7Bthis._add(node%2CevType%2Chandler)%3Breturn!0%7Dreturn!1%7D%2C%2F**%0A%20%20%20%20%20*%20Removes%20an%20event%20listener%20from%20a%20node%20for%20the%20given%20gesture%20type.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40memberof%20Polymer.Gestures%0A%20%20%20%20%20*%20%40param%20%7B!Node%7D%20node%20Node%20to%20remove%20listener%20from%0A%20%20%20%20%20*%20%40param%20%7Bstring%7D%20evType%20Gesture%20type%3A%20%60down%60%2C%20%60up%60%2C%20%60track%60%2C%20or%20%60tap%60%0A%20%20%20%20%20*%20%40param%20%7B!function(!Event)%3Avoid%7D%20handler%20Event%20listener%20function%20previously%20passed%20to%0A%20%20%20%20%20*%20%20%60addListener%60.%0A%20%20%20%20%20*%20%40return%20%7Bboolean%7D%20Returns%20true%20if%20a%20gesture%20event%20listener%20was%20removed.%0A%20%20%20%20%20*%20%40this%20%7BGestures%7D%0A%20%20%20%20%20*%2FremoveListener%3Afunction(node%2CevType%2Chandler)%7Bif(this.gestures%5BevType%5D)%7Bthis._remove(node%2CevType%2Chandler)%3Breturn!0%7Dreturn!1%7D%2C%2F**%0A%20%20%20%20%20*%20automate%20the%20event%20listeners%20for%20the%20native%20events%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%20%40param%20%7B!HTMLElement%7D%20node%20Node%20on%20which%20to%20add%20the%20event.%0A%20%20%20%20%20*%20%40param%20%7Bstring%7D%20evType%20Event%20type%20to%20add.%0A%20%20%20%20%20*%20%40param%20%7Bfunction(!Event)%7D%20handler%20Event%20handler%20function.%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%20%40this%20%7BGestures%7D%0A%20%20%20%20%20*%2F_add%3Afunction(node%2CevType%2Chandler)%7Blet%20recognizer%3Dthis.gestures%5BevType%5D%2Cdeps%3Drecognizer.deps%2Cname%3Drecognizer.name%2Cgobj%3Dnode%5BGESTURE_KEY%5D%3Bif(!gobj)%7Bnode%5BGESTURE_KEY%5D%3Dgobj%3D%7B%7D%7Dfor(let%20i%3D0%2Cdep%2Cgd%3Bi%3Cdeps.length%3Bi%2B%2B)%7Bdep%3Ddeps%5Bi%5D%3B%2F%2F%20don't%20add%20mouse%20handlers%20on%20iOS%20because%20they%20cause%20gray%20selection%20overlays%0Aif(IS_TOUCH_ONLY%26%26isMouseEvent(dep)%26%26%22click%22!%3D%3Ddep)%7Bcontinue%7Dgd%3Dgobj%5Bdep%5D%3Bif(!gd)%7Bgobj%5Bdep%5D%3Dgd%3D%7B_count%3A0%7D%7Dif(0%3D%3D%3Dgd._count)%7Bnode.addEventListener(dep%2Cthis._handleNative%2CPASSIVE_TOUCH(dep))%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%2C%2F**%0A%20%20%20%20%20*%20automate%20event%20listener%20removal%20for%20native%20events%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%20%40param%20%7B!HTMLElement%7D%20node%20Node%20on%20which%20to%20remove%20the%20event.%0A%20%20%20%20%20*%20%40param%20%7Bstring%7D%20evType%20Event%20type%20to%20remove.%0A%20%20%20%20%20*%20%40param%20%7Bfunction(Event%3F)%7D%20handler%20Event%20handler%20function.%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%20%40this%20%7BGestures%7D%0A%20%20%20%20%20*%2F_remove%3Afunction(node%2CevType%2Chandler)%7Blet%20recognizer%3Dthis.gestures%5BevType%5D%2Cdeps%3Drecognizer.deps%2Cname%3Drecognizer.name%2Cgobj%3Dnode%5BGESTURE_KEY%5D%3Bif(gobj)%7Bfor(let%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(0%3D%3D%3Dgd._count)%7Bnode.removeEventListener(dep%2Cthis._handleNative%2CPASSIVE_TOUCH(dep))%7D%7D%7D%7Dnode.removeEventListener(evType%2Chandler)%7D%2C%2F**%0A%20%20%20%20%20*%20Registers%20a%20new%20gesture%20event%20recognizer%20for%20adding%20new%20custom%0A%20%20%20%20%20*%20gesture%20event%20types.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40memberof%20Polymer.Gestures%0A%20%20%20%20%20*%20%40param%20%7B!GestureRecognizer%7D%20recog%20Gesture%20recognizer%20descriptor%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%20%40this%20%7BGestures%7D%0A%20%20%20%20%20*%2Fregister%3Afunction(recog)%7Bthis.recognizers.push(recog)%3Bfor(let%20i%3D0%3Bi%3Crecog.emits.length%3Bi%2B%2B)%7Bthis.gestures%5Brecog.emits%5Bi%5D%5D%3Drecog%7D%7D%2C%2F**%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%20%40param%20%7Bstring%7D%20evName%20Event%20name.%0A%20%20%20%20%20*%20%40return%20%7BObject%7D%20Returns%20the%20gesture%20for%20the%20given%20event%20name.%0A%20%20%20%20%20*%20%40this%20%7BGestures%7D%0A%20%20%20%20%20*%2F_findRecognizerByEvent%3Afunction(evName)%7Bfor(let%20i%3D0%2Cr%3Bi%3Cthis.recognizers.length%3Bi%2B%2B)%7Br%3Dthis.recognizers%5Bi%5D%3Bfor(let%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%2C%2F**%0A%20%20%20%20%20*%20Sets%20scrolling%20direction%20on%20node.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20This%20value%20is%20checked%20on%20first%20move%2C%20thus%20it%20should%20be%20called%20prior%20to%0A%20%20%20%20%20*%20adding%20event%20listeners.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40memberof%20Polymer.Gestures%0A%20%20%20%20%20*%20%40param%20%7B!Element%7D%20node%20Node%20to%20set%20touch%20action%20setting%20on%0A%20%20%20%20%20*%20%40param%20%7Bstring%7D%20value%20Touch%20action%20value%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%2FsetTouchAction%3Afunction(node%2Cvalue)%7Bif(HAS_NATIVE_TA)%7B%2F%2F%20NOTE%3A%20add%20touchAction%20async%20so%20that%20events%20can%20be%20added%20in%0A%2F%2F%20custom%20element%20constructors.%20Otherwise%20we%20run%20afoul%20of%20custom%0A%2F%2F%20elements%20restriction%20against%20settings%20attributes%20(style)%20in%20the%0A%2F%2F%20constructor.%0APolymer.Async.microTask.run(()%3D%3E%7Bnode.style.touchAction%3Dvalue%7D)%7Dnode%5BTOUCH_ACTION%5D%3Dvalue%7D%2C%2F**%0A%20%20%20%20%20*%20Dispatches%20an%20event%20on%20the%20%60target%60%20element%20of%20%60type%60%20with%20the%20given%0A%20%20%20%20%20*%20%60detail%60.%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%20%40param%20%7B!EventTarget%7D%20target%20The%20element%20on%20which%20to%20fire%20an%20event.%0A%20%20%20%20%20*%20%40param%20%7Bstring%7D%20type%20The%20type%20of%20event%20to%20fire.%0A%20%20%20%20%20*%20%40param%20%7B!Object%3D%7D%20detail%20The%20detail%20object%20to%20populate%20on%20the%20event.%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%2F_fire%3Afunction(target%2Ctype%2Cdetail)%7Blet%20ev%3Dnew%20Event(type%2C%7Bbubbles%3A!0%2Ccancelable%3A!0%2Ccomposed%3A!0%7D)%3Bev.detail%3Ddetail%3Btarget.dispatchEvent(ev)%3B%2F%2F%20forward%20%60preventDefault%60%20in%20a%20clean%20way%0Aif(ev.defaultPrevented)%7Blet%20preventer%3Ddetail.preventer%7C%7Cdetail.sourceEvent%3Bif(preventer%26%26preventer.preventDefault)%7Bpreventer.preventDefault()%7D%7D%7D%2C%2F**%0A%20%20%20%20%20*%20Prevents%20the%20dispatch%20and%20default%20action%20of%20the%20given%20event%20name.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40memberof%20Polymer.Gestures%0A%20%20%20%20%20*%20%40param%20%7Bstring%7D%20evName%20Event%20name.%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%20%40this%20%7BGestures%7D%0A%20%20%20%20%20*%2Fprevent%3Afunction(evName)%7Blet%20recognizer%3Dthis._findRecognizerByEvent(evName)%3Bif(recognizer.info)%7Brecognizer.info.prevent%3D!0%7D%7D%2C%2F**%0A%20%20%20%20%20*%20Reset%20the%202500ms%20timeout%20on%20processing%20mouse%20input%20after%20detecting%20touch%20input.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20Touch%20inputs%20create%20synthesized%20mouse%20inputs%20anywhere%20from%200%20to%202000ms%20after%20the%20touch.%0A%20%20%20%20%20*%20This%20method%20should%20only%20be%20called%20during%20testing%20with%20simulated%20touch%20inputs.%0A%20%20%20%20%20*%20Calling%20this%20method%20in%20production%20may%20cause%20duplicate%20taps%20or%20other%20Gestures.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40memberof%20Polymer.Gestures%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%2FresetMouseCanceller%3Afunction()%7Bif(POINTERSTATE.mouse.mouseIgnoreJob)%7BPOINTERSTATE.mouse.mouseIgnoreJob.flush()%7D%7D%7D%3B%2F*%20eslint-disable%20valid-jsdoc%20*%2FGestures.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%2C%2F**%0A%20%20%20%20%20*%20%40this%20%7BGestureRecognizer%7D%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%2Freset%3Afunction()%7BuntrackDocument(this.info)%7D%2C%2F**%0A%20%20%20%20%20*%20%40this%20%7BGestureRecognizer%7D%0A%20%20%20%20%20*%20%40param%20%7BMouseEvent%7D%20e%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%2Fmousedown%3Afunction(e)%7Bif(!hasLeftMouseButton(e))%7Breturn%7Dlet%20t%3DGestures._findOriginalTarget(e)%2Cself%3Dthis%2Cmovefn%3Dfunction%20movefn(e)%7Bif(!hasLeftMouseButton(e))%7Bself._fire(%22up%22%2Ct%2Ce)%3BuntrackDocument(self.info)%7D%7D%2Cupfn%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%2C%2F**%0A%20%20%20%20%20*%20%40this%20%7BGestureRecognizer%7D%0A%20%20%20%20%20*%20%40param%20%7BTouchEvent%7D%20e%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%2Ftouchstart%3Afunction(e)%7Bthis._fire(%22down%22%2CGestures._findOriginalTarget(e)%2Ce.changedTouches%5B0%5D%2Ce)%7D%2C%2F**%0A%20%20%20%20%20*%20%40this%20%7BGestureRecognizer%7D%0A%20%20%20%20%20*%20%40param%20%7BTouchEvent%7D%20e%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%2Ftouchend%3Afunction(e)%7Bthis._fire(%22up%22%2CGestures._findOriginalTarget(e)%2Ce.changedTouches%5B0%5D%2Ce)%7D%2C%2F**%0A%20%20%20%20%20*%20%40param%20%7Bstring%7D%20type%0A%20%20%20%20%20*%20%40param%20%7B!EventTarget%7D%20target%0A%20%20%20%20%20*%20%40param%20%7BEvent%7D%20event%0A%20%20%20%20%20*%20%40param%20%7BFunction%7D%20preventer%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%2F_fire%3Afunction(type%2Ctarget%2Cevent%2Cpreventer)%7BGestures._fire(target%2Ctype%2C%7Bx%3Aevent.clientX%2Cy%3Aevent.clientY%2CsourceEvent%3Aevent%2Cpreventer%3Apreventer%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%3A!1%2Cmoves%3A%5B%5D%2C%2F**%20%40this%20%7BGestureRecognizer%7D%20*%2FaddMove%3Afunction(move)%7Bif(this.moves.length%3ETRACK_LENGTH)%7Bthis.moves.shift()%7Dthis.moves.push(move)%7D%2Cmovefn%3Anull%2Cupfn%3Anull%2Cprevent%3A!1%7D%2C%2F**%0A%20%20%20%20%20*%20%40this%20%7BGestureRecognizer%7D%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%2Freset%3Afunction()%7Bthis.info.state%3D%22start%22%3Bthis.info.started%3D!1%3Bthis.info.moves%3D%5B%5D%3Bthis.info.x%3D0%3Bthis.info.y%3D0%3Bthis.info.prevent%3D!1%3BuntrackDocument(this.info)%7D%2C%2F**%0A%20%20%20%20%20*%20%40this%20%7BGestureRecognizer%7D%0A%20%20%20%20%20*%20%40param%20%7Bnumber%7D%20x%0A%20%20%20%20%20*%20%40param%20%7Bnumber%7D%20y%0A%20%20%20%20%20*%20%40return%20%7Bboolean%7D%0A%20%20%20%20%20*%2FhasMovedEnough%3Afunction(x%2Cy)%7Bif(this.info.prevent)%7Breturn!1%7Dif(this.info.started)%7Breturn!0%7Dlet%20dx%3DMath.abs(this.info.x-x)%2Cdy%3DMath.abs(this.info.y-y)%3Breturn%20dx%3E%3DTRACK_DISTANCE%7C%7Cdy%3E%3DTRACK_DISTANCE%7D%2C%2F**%0A%20%20%20%20%20*%20%40this%20%7BGestureRecognizer%7D%0A%20%20%20%20%20*%20%40param%20%7BMouseEvent%7D%20e%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%2Fmousedown%3Afunction(e)%7Bif(!hasLeftMouseButton(e))%7Breturn%7Dlet%20t%3DGestures._findOriginalTarget(e)%2Cself%3Dthis%2Cmovefn%3Dfunction%20movefn(e)%7Blet%20x%3De.clientX%2Cy%3De.clientY%3Bif(self.hasMovedEnough(x%2Cy))%7B%2F%2F%20first%20move%20is%20'start'%2C%20subsequent%20moves%20are%20'move'%2C%20mouseup%20is%20'end'%0Aself.info.state%3Dself.info.started%3F%22mouseup%22%3D%3D%3De.type%3F%22end%22%3A%22track%22%3A%22start%22%3Bif(%22start%22%3D%3D%3Dself.info.state)%7B%2F%2F%20if%20and%20only%20if%20tracking%2C%20always%20prevent%20tap%0AGestures.prevent(%22tap%22)%7Dself.info.addMove(%7Bx%3Ax%2Cy%3Ay%7D)%3Bif(!hasLeftMouseButton(e))%7B%2F%2F%20always%20_fire%20%22end%22%0Aself.info.state%3D%22end%22%3BuntrackDocument(self.info)%7Dself._fire(t%2Ce)%3Bself.info.started%3D!0%7D%7D%2Cupfn%3Dfunction%20upfn(e)%7Bif(self.info.started)%7Bmovefn(e)%7D%2F%2F%20remove%20the%20temporary%20listeners%0AuntrackDocument(self.info)%7D%3B%2F%2F%20add%20temporary%20document%20listeners%20as%20mouse%20retargets%0AtrackDocument(this.info%2Cmovefn%2Cupfn)%3Bthis.info.x%3De.clientX%3Bthis.info.y%3De.clientY%7D%2C%2F**%0A%20%20%20%20%20*%20%40this%20%7BGestureRecognizer%7D%0A%20%20%20%20%20*%20%40param%20%7BTouchEvent%7D%20e%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%2Ftouchstart%3Afunction(e)%7Blet%20ct%3De.changedTouches%5B0%5D%3Bthis.info.x%3Dct.clientX%3Bthis.info.y%3Dct.clientY%7D%2C%2F**%0A%20%20%20%20%20*%20%40this%20%7BGestureRecognizer%7D%0A%20%20%20%20%20*%20%40param%20%7BTouchEvent%7D%20e%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%2Ftouchmove%3Afunction(e)%7Blet%20t%3DGestures._findOriginalTarget(e)%2Cct%3De.changedTouches%5B0%5D%2Cx%3Dct.clientX%2Cy%3Dct.clientY%3Bif(this.hasMovedEnough(x%2Cy))%7Bif(%22start%22%3D%3D%3Dthis.info.state)%7B%2F%2F%20if%20and%20only%20if%20tracking%2C%20always%20prevent%20tap%0AGestures.prevent(%22tap%22)%7Dthis.info.addMove(%7Bx%3Ax%2Cy%3Ay%7D)%3Bthis._fire(t%2Cct)%3Bthis.info.state%3D%22track%22%3Bthis.info.started%3D!0%7D%7D%2C%2F**%0A%20%20%20%20%20*%20%40this%20%7BGestureRecognizer%7D%0A%20%20%20%20%20*%20%40param%20%7BTouchEvent%7D%20e%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%2Ftouchend%3Afunction(e)%7Blet%20t%3DGestures._findOriginalTarget(e)%2Cct%3De.changedTouches%5B0%5D%3B%2F%2F%20only%20trackend%20if%20track%20was%20started%20and%20not%20aborted%0Aif(this.info.started)%7B%2F%2F%20reset%20started%20state%20on%20up%0Athis.info.state%3D%22end%22%3Bthis.info.addMove(%7Bx%3Act.clientX%2Cy%3Act.clientY%7D)%3Bthis._fire(t%2Cct%2Ce)%7D%7D%2C%2F**%0A%20%20%20%20%20*%20%40this%20%7BGestureRecognizer%7D%0A%20%20%20%20%20*%20%40param%20%7B!EventTarget%7D%20target%0A%20%20%20%20%20*%20%40param%20%7BTouch%7D%20touch%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%2F_fire%3Afunction(target%2Ctouch)%7Blet%20secondlast%3Dthis.info.moves%5Bthis.info.moves.length-2%5D%2Clastmove%3Dthis.info.moves%5Bthis.info.moves.length-1%5D%2Cdx%3Dlastmove.x-this.info.x%2Cdy%3Dlastmove.y-this.info.y%2Cddx%2Cddy%3D0%3Bif(secondlast)%7Bddx%3Dlastmove.x-secondlast.x%3Bddy%3Dlastmove.y-secondlast.y%7DGestures._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%3A!1%7D%2C%2F**%0A%20%20%20%20%20*%20%40this%20%7BGestureRecognizer%7D%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%2Freset%3Afunction()%7Bthis.info.x%3DNaN%3Bthis.info.y%3DNaN%3Bthis.info.prevent%3D!1%7D%2C%2F**%0A%20%20%20%20%20*%20%40this%20%7BGestureRecognizer%7D%0A%20%20%20%20%20*%20%40param%20%7BMouseEvent%7D%20e%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%2Fsave%3Afunction(e)%7Bthis.info.x%3De.clientX%3Bthis.info.y%3De.clientY%7D%2C%2F**%0A%20%20%20%20%20*%20%40this%20%7BGestureRecognizer%7D%0A%20%20%20%20%20*%20%40param%20%7BMouseEvent%7D%20e%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%2Fmousedown%3Afunction(e)%7Bif(hasLeftMouseButton(e))%7Bthis.save(e)%7D%7D%2C%2F**%0A%20%20%20%20%20*%20%40this%20%7BGestureRecognizer%7D%0A%20%20%20%20%20*%20%40param%20%7BMouseEvent%7D%20e%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%2Fclick%3Afunction(e)%7Bif(hasLeftMouseButton(e))%7Bthis.forward(e)%7D%7D%2C%2F**%0A%20%20%20%20%20*%20%40this%20%7BGestureRecognizer%7D%0A%20%20%20%20%20*%20%40param%20%7BTouchEvent%7D%20e%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%2Ftouchstart%3Afunction(e)%7Bthis.save(e.changedTouches%5B0%5D%2Ce)%7D%2C%2F**%0A%20%20%20%20%20*%20%40this%20%7BGestureRecognizer%7D%0A%20%20%20%20%20*%20%40param%20%7BTouchEvent%7D%20e%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%2Ftouchend%3Afunction(e)%7Bthis.forward(e.changedTouches%5B0%5D%2Ce)%7D%2C%2F**%0A%20%20%20%20%20*%20%40this%20%7BGestureRecognizer%7D%0A%20%20%20%20%20*%20%40param%20%7BEvent%20%7C%20Touch%7D%20e%0A%20%20%20%20%20*%20%40param%20%7BEvent%3D%7D%20preventer%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%2Fforward%3Afunction(e%2Cpreventer)%7Blet%20dx%3DMath.abs(e.clientX-this.info.x)%2Cdy%3DMath.abs(e.clientY-this.info.y)%2Ct%3DGestures._findOriginalTarget(%2F**%20%40type%20%7BEvent%7D%20*%2Fpreventer%7C%7Ce)%3Bif(!t%7C%7CcanBeDisabled%5B%2F**%20%40type%20%7B!HTMLElement%7D%20*%2Ft.localName%5D%26%26t.hasAttribute(%22disabled%22))%7Breturn%7D%2F%2F%20dx%2Cdy%20can%20be%20NaN%20if%20%60click%60%20has%20been%20simulated%20and%20there%20was%20no%20%60down%60%20for%20%60start%60%0Aif(isNaN(dx)%7C%7CisNaN(dy)%7C%7Cdx%3C%3DTAP_DISTANCE%26%26dy%3C%3DTAP_DISTANCE%7C%7CisSyntheticClick(e))%7B%2F%2F%20prevent%20taps%20from%20being%20generated%20if%20an%20event%20has%20canceled%20them%0Aif(!this.info.prevent)%7BGestures._fire(t%2C%22tap%22%2C%7Bx%3Ae.clientX%2Cy%3Ae.clientY%2CsourceEvent%3Ae%2Cpreventer%3Apreventer%7D)%7D%7D%7D%7D)%3B%2F*%20eslint-enable%20valid-jsdoc%20*%2F%20%2F**%20%40deprecated%20*%2FGestures.findOriginalTarget%3DGestures._findOriginalTarget%3B%2F**%20%40deprecated%20*%2FGestures.add%3DGestures.addListener%3B%2F**%20%40deprecated%20*%2FGestures.remove%3DGestures.removeListener%3BPolymer.Gestures%3DGestures%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fpolymer%2Flib%2Futils%2Fgestures.html.js%0A | 26 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/es6/bower_components/ing-uic-cms-hippo-parser/mdetect.js | 9.8 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/tslib/tslib.es6.js | 1.2 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/icon/icons.js | 300 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/core/src/DisabledWithTabIndexMixin.js | 1.3 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/form-core/src/validate/validators/StringValidators.js | 378 B | 2023-03-08 | 2024-04-05 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7B'use%20strict'%3B%2F%2F%20Microtask%20implemented%20using%20Mutation%20Observer%0Alet%20microtaskCurrHandle%3D0%2CmicrotaskLastHandle%3D0%2CmicrotaskCallbacks%3D%5B%5D%2CmicrotaskNodeContent%3D0%2CmicrotaskNode%3Ddocument.createTextNode(%22%22)%3Bnew%20window.MutationObserver(microtaskFlush).observe(microtaskNode%2C%7BcharacterData%3A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%7D)%3Bfunction%20microtaskFlush()%7Bconst%20len%3DmicrotaskCallbacks.length%3Bfor(let%20i%3D0%2Ccb%3Bi%3Clen%3Bi%2B%2B)%7Bcb%3DmicrotaskCallbacks%5Bi%5D%3Bif(cb)%7Btry%7Bcb()%7Dcatch(e)%7BsetTimeout(()%3D%3E%7Bthrow%20e%7D)%7D%7D%7DmicrotaskCallbacks.splice(0%2Clen)%3BmicrotaskLastHandle%2B%3Dlen%7D%2F**%0A%20%20%20*%20Module%20that%20provides%20a%20number%20of%20strategies%20for%20enqueuing%20asynchronous%0A%20%20%20*%20tasks.%20%20Each%20sub-module%20provides%20a%20standard%20%60run(fn)%60%20interface%20that%20returns%20a%0A%20%20%20*%20handle%2C%20and%20a%20%60cancel(handle)%60%20interface%20for%20canceling%20async%20tasks%20before%0A%20%20%20*%20they%20run.%0A%20%20%20*%0A%20%20%20*%20%40namespace%0A%20%20%20*%20%40memberof%20Polymer%0A%20%20%20*%20%40summary%20Module%20that%20provides%20a%20number%20of%20strategies%20for%20enqueuing%20asynchronous%0A%20%20%20*%20tasks.%0A%20%20%20*%2FPolymer.Async%3D%7B%2F**%0A%20%20%20%20%20*%20Async%20interface%20wrapper%20around%20%60setTimeout%60.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40namespace%0A%20%20%20%20%20*%20%40memberof%20Polymer.Async%0A%20%20%20%20%20*%20%40summary%20Async%20interface%20wrapper%20around%20%60setTimeout%60.%0A%20%20%20%20%20*%2FtimeOut%3A%7B%2F**%0A%20%20%20%20%20%20%20*%20Returns%20a%20sub-module%20with%20the%20async%20interface%20providing%20the%20provided%0A%20%20%20%20%20%20%20*%20delay.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40memberof%20Polymer.Async.timeOut%0A%20%20%20%20%20%20%20*%20%40param%20%7Bnumber%3D%7D%20delay%20Time%20to%20wait%20before%20calling%20callbacks%20in%20ms%0A%20%20%20%20%20%20%20*%20%40return%20%7B!AsyncInterface%7D%20An%20async%20timeout%20interface%0A%20%20%20%20%20%20%20*%2Fafter(delay)%7Breturn%7Brun(fn)%7Breturn%20window.setTimeout(fn%2Cdelay)%7D%2Ccancel(handle)%7Bwindow.clearTimeout(handle)%7D%7D%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20Enqueues%20a%20function%20called%20in%20the%20next%20task.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40memberof%20Polymer.Async.timeOut%0A%20%20%20%20%20%20%20*%20%40param%20%7B!Function%7D%20fn%20Callback%20to%20run%0A%20%20%20%20%20%20%20*%20%40param%20%7Bnumber%3D%7D%20delay%20Delay%20in%20milliseconds%0A%20%20%20%20%20%20%20*%20%40return%20%7Bnumber%7D%20Handle%20used%20for%20canceling%20task%0A%20%20%20%20%20%20%20*%2Frun(fn%2Cdelay)%7Breturn%20window.setTimeout(fn%2Cdelay)%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20Cancels%20a%20previously%20enqueued%20%60timeOut%60%20callback.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40memberof%20Polymer.Async.timeOut%0A%20%20%20%20%20%20%20*%20%40param%20%7Bnumber%7D%20handle%20Handle%20returned%20from%20%60run%60%20of%20callback%20to%20cancel%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2Fcancel(handle)%7Bwindow.clearTimeout(handle)%7D%7D%2C%2F**%0A%20%20%20%20%20*%20Async%20interface%20wrapper%20around%20%60requestAnimationFrame%60.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40namespace%0A%20%20%20%20%20*%20%40memberof%20Polymer.Async%0A%20%20%20%20%20*%20%40summary%20Async%20interface%20wrapper%20around%20%60requestAnimationFrame%60.%0A%20%20%20%20%20*%2FanimationFrame%3A%7B%2F**%0A%20%20%20%20%20%20%20*%20Enqueues%20a%20function%20called%20at%20%60requestAnimationFrame%60%20timing.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40memberof%20Polymer.Async.animationFrame%0A%20%20%20%20%20%20%20*%20%40param%20%7Bfunction(number)%3Avoid%7D%20fn%20Callback%20to%20run%0A%20%20%20%20%20%20%20*%20%40return%20%7Bnumber%7D%20Handle%20used%20for%20canceling%20task%0A%20%20%20%20%20%20%20*%2Frun(fn)%7Breturn%20window.requestAnimationFrame(fn)%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20Cancels%20a%20previously%20enqueued%20%60animationFrame%60%20callback.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40memberof%20Polymer.Async.animationFrame%0A%20%20%20%20%20%20%20*%20%40param%20%7Bnumber%7D%20handle%20Handle%20returned%20from%20%60run%60%20of%20callback%20to%20cancel%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2Fcancel(handle)%7Bwindow.cancelAnimationFrame(handle)%7D%7D%2C%2F**%0A%20%20%20%20%20*%20Async%20interface%20wrapper%20around%20%60requestIdleCallback%60.%20%20Falls%20back%20to%0A%20%20%20%20%20*%20%60setTimeout%60%20on%20browsers%20that%20do%20not%20support%20%60requestIdleCallback%60.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40namespace%0A%20%20%20%20%20*%20%40memberof%20Polymer.Async%0A%20%20%20%20%20*%20%40summary%20Async%20interface%20wrapper%20around%20%60requestIdleCallback%60.%0A%20%20%20%20%20*%2FidlePeriod%3A%7B%2F**%0A%20%20%20%20%20%20%20*%20Enqueues%20a%20function%20called%20at%20%60requestIdleCallback%60%20timing.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40memberof%20Polymer.Async.idlePeriod%0A%20%20%20%20%20%20%20*%20%40param%20%7Bfunction(!IdleDeadline)%3Avoid%7D%20fn%20Callback%20to%20run%0A%20%20%20%20%20%20%20*%20%40return%20%7Bnumber%7D%20Handle%20used%20for%20canceling%20task%0A%20%20%20%20%20%20%20*%2Frun(fn)%7Breturn%20window.requestIdleCallback%3Fwindow.requestIdleCallback(fn)%3Awindow.setTimeout(fn%2C16)%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20Cancels%20a%20previously%20enqueued%20%60idlePeriod%60%20callback.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40memberof%20Polymer.Async.idlePeriod%0A%20%20%20%20%20%20%20*%20%40param%20%7Bnumber%7D%20handle%20Handle%20returned%20from%20%60run%60%20of%20callback%20to%20cancel%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2Fcancel(handle)%7Bwindow.cancelIdleCallback%3Fwindow.cancelIdleCallback(handle)%3Awindow.clearTimeout(handle)%7D%7D%2C%2F**%0A%20%20%20%20%20*%20Async%20interface%20for%20enqueuing%20callbacks%20that%20run%20at%20microtask%20timing.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20Note%20that%20microtask%20timing%20is%20achieved%20via%20a%20single%20%60MutationObserver%60%2C%0A%20%20%20%20%20*%20and%20thus%20callbacks%20enqueued%20with%20this%20API%20will%20all%20run%20in%20a%20single%0A%20%20%20%20%20*%20batch%2C%20and%20not%20interleaved%20with%20other%20microtasks%20such%20as%20promises.%0A%20%20%20%20%20*%20Promises%20are%20avoided%20as%20an%20implementation%20choice%20for%20the%20time%20being%0A%20%20%20%20%20*%20due%20to%20Safari%20bugs%20that%20cause%20Promises%20to%20lack%20microtask%20guarantees.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40namespace%0A%20%20%20%20%20*%20%40memberof%20Polymer.Async%0A%20%20%20%20%20*%20%40summary%20Async%20interface%20for%20enqueuing%20callbacks%20that%20run%20at%20microtask%0A%20%20%20%20%20*%20%20%20timing.%0A%20%20%20%20%20*%2FmicroTask%3A%7B%2F**%0A%20%20%20%20%20%20%20*%20Enqueues%20a%20function%20called%20at%20microtask%20timing.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40memberof%20Polymer.Async.microTask%0A%20%20%20%20%20%20%20*%20%40param%20%7B!Function%3D%7D%20callback%20Callback%20to%20run%0A%20%20%20%20%20%20%20*%20%40return%20%7Bnumber%7D%20Handle%20used%20for%20canceling%20task%0A%20%20%20%20%20%20%20*%2Frun(callback)%7BmicrotaskNode.textContent%3DmicrotaskNodeContent%2B%2B%3BmicrotaskCallbacks.push(callback)%3Breturn%20microtaskCurrHandle%2B%2B%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20Cancels%20a%20previously%20enqueued%20%60microTask%60%20callback.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40memberof%20Polymer.Async.microTask%0A%20%20%20%20%20%20%20*%20%40param%20%7Bnumber%7D%20handle%20Handle%20returned%20from%20%60run%60%20of%20callback%20to%20cancel%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2Fcancel(handle)%7Bconst%20idx%3Dhandle-microtaskLastHandle%3Bif(0%3C%3Didx)%7Bif(!microtaskCallbacks%5Bidx%5D)%7Bthrow%20new%20Error(%22invalid%20async%20handle%3A%20%22%2Bhandle)%7DmicrotaskCallbacks%5Bidx%5D%3Dnull%7D%7D%7D%7D%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fpolymer%2Flib%2Futils%2Fasync.html.js%0A | 5.8 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-title/src/IngTitle.js | 1.5 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/core/node_modules/lit-element/lib/updating-element.js | 6.0 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/link/ing-link-style.js | 2.4 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-text-icon/src/IngTextIcon.styles.js | 2.3 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/style/mixins/focus-ring.js | 394 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/_core2/provider/Core2Provider.js | 2.2 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/overlays/src/utils/is-visible.js | 240 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7B'use%20strict'%3B%2F**%0A%20%20%20*%20Provides%20basic%20tracking%20of%20element%20definitions%20(registrations)%20and%0A%20%20%20*%20instance%20counts.%0A%20%20%20*%0A%20%20%20*%20%40namespace%0A%20%20%20*%20%40summary%20Provides%20basic%20tracking%20of%20element%20definitions%20(registrations)%20and%0A%20%20%20*%20instance%20counts.%0A%20%20%20*%2FPolymer.telemetry%3D%7B%2F**%0A%20%20%20%20%20*%20Total%20number%20of%20Polymer%20element%20instances%20created.%0A%20%20%20%20%20*%20%40type%20%7Bnumber%7D%0A%20%20%20%20%20*%2FinstanceCount%3A0%2C%2F**%0A%20%20%20%20%20*%20Array%20of%20Polymer%20element%20classes%20that%20have%20been%20finalized.%0A%20%20%20%20%20*%20%40type%20%7BArray%3CPolymer.Element%3E%7D%0A%20%20%20%20%20*%2Fregistrations%3A%5B%5D%2C%2F**%0A%20%20%20%20%20*%20%40param%20%7B!PolymerElementConstructor%7D%20prototype%20Element%20prototype%20to%20log%0A%20%20%20%20%20*%20%40this%20%7Bthis%7D%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2F_regLog%3Afunction(prototype)%7Bconsole.log(%22%5B%22%2Bprototype.is%2B%22%5D%3A%20registered%22)%7D%2C%2F**%0A%20%20%20%20%20*%20Registers%20a%20class%20prototype%20for%20telemetry%20purposes.%0A%20%20%20%20%20*%20%40param%20%7BHTMLElement%7D%20prototype%20Element%20prototype%20to%20register%0A%20%20%20%20%20*%20%40this%20%7Bthis%7D%0A%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20*%2Fregister%3Afunction(prototype)%7Bthis.registrations.push(prototype)%3BPolymer.log%26%26this._regLog(prototype)%7D%2C%2F**%0A%20%20%20%20%20*%20Logs%20all%20elements%20registered%20with%20an%20%60is%60%20to%20the%20console.%0A%20%20%20%20%20*%20%40public%0A%20%20%20%20%20*%20%40this%20%7Bthis%7D%0A%20%20%20%20%20*%2FdumpRegistrations%3Afunction()%7Bthis.registrations.forEach(this._regLog)%7D%7D%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fpolymer%2Flib%2Futils%2Ftelemetry.html.js%0A | 1.3 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/_legacy/ajax/src/AjaxClass.js | 2.6 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/directives/cache.js | 1.4 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@open-wc/scoped-elements/src/globalTagsCache.js | 116 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-link/ing-link.js | 205 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/directives/unsafe-html.js | 1.0 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/lib/template-result.js | 1.5 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/ajax/ajax.js | 260 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/overlays/overlays.js | 338 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7Bvar%20f5_cspm%3D%7Bf5_p%3A'BFGFMMDDBPIKGCIPGLGCODEHDFCDNOLPGEILPOOCLOKNOPJJPNDHHGBLLDDLIBCFIKOBJKDOAABDGHKOBDCANGPEAAMAJKMCJMCPJCPEOKOPIFGDDEIFOLMJFLCAHAOD'%2CsetCharAt%3Afunction(str%2Cindex%2Cchr)%7Bif(index%3Estr.length-1)return%20str%3Breturn%20str.substr(0%2Cindex)%2Bchr%2Bstr.substr(index%2B1)%3B%7D%2Cget_byte%3Afunction(str%2Ci)%7Bvar%20s%3D(i%2F16)%7C0%3Bi%3D(i%2615)%3Bs%3Ds*32%3Breturn((str.charCodeAt(i%2B16%2Bs)-65)%3C%3C4)%7C(str.charCodeAt(i%2Bs)-65)%3B%7D%2Cset_byte%3Afunction(str%2Ci%2Cb)%7Bvar%20s%3D(i%2F16)%7C0%3Bi%3D(i%2615)%3Bs%3Ds*32%3Bstr%3Df5_cspm.setCharAt(str%2C(i%2B16%2Bs)%2CString.fromCharCode((b%3E%3E4)%2B65))%3Bstr%3Df5_cspm.setCharAt(str%2C(i%2Bs)%2CString.fromCharCode((b%2615)%2B65))%3Breturn%20str%3B%7D%2Cset_latency%3Afunction(str%2Clatency)%7Blatency%3Dlatency%260xffff%3Bstr%3Df5_cspm.set_byte(str%2C40%2C(latency%3E%3E8))%3Bstr%3Df5_cspm.set_byte(str%2C41%2C(latency%260xff))%3Bstr%3Df5_cspm.set_byte(str%2C35%2C2)%3Breturn%20str%3B%7D%2Cwait_perf_data%3Afunction()%7Btry%7Bvar%20wp%3Dwindow.performance.timing%3Bif(wp.loadEventEnd%3E0)%7Bvar%20res%3Dwp.loadEventEnd-wp.navigationStart%3Bif(res%3C60001)%7Bvar%20cookie_val%3Df5_cspm.set_latency(f5_cspm.f5_p%2Cres)%3Bwindow.document.cookie%3D'f5avr0551402585aaaaaaaaaaaaaaaa_cspm_%3D'%2BencodeURIComponent(cookie_val)%2B'%3Bpath%3D%2F'%3B%7D%0Areturn%3B%7D%7D%0Acatch(err)%7Breturn%3B%7D%0AsetTimeout(f5_cspm.wait_perf_data%2C100)%3Breturn%3B%7D%2Cgo%3Afunction()%7Bvar%20chunk%3Dwindow.document.cookie.split(%2F%5Cs*%3B%5Cs*%2F)%3Bfor(var%20i%3D0%3Bi%3Cchunk.length%3B%2B%2Bi)%7Bvar%20pair%3Dchunk%5Bi%5D.split(%2F%5Cs*%3D%5Cs*%2F)%3Bif(pair%5B0%5D%3D%3D'f5_cspm'%26%26pair%5B1%5D%3D%3D'1234')%0A%7Bvar%20d%3Dnew%20Date()%3Bd.setTime(d.getTime()-1000)%3Bwindow.document.cookie%3D'f5_cspm%3D%3Bexpires%3D'%2Bd.toUTCString()%2B'%3Bpath%3D%2F%3B'%3BsetTimeout(f5_cspm.wait_perf_data%2C100)%3B%7D%7D%7D%7D%0Af5_cspm.go()%3B%7D())%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fing-uif-cms-theme%2Fing-uif-cms-theme-a11y.html.js%0A | 1.6 kB | 2023-03-08 | 2023-03-08 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7B'use%20strict'%3Bfunction%20newSplice(index%2Cremoved%2CaddedCount)%7Breturn%7Bindex%3Aindex%2Cremoved%3Aremoved%2CaddedCount%3AaddedCount%7D%7Dconst%20EDIT_LEAVE%3D0%2CEDIT_UPDATE%3D1%2CEDIT_ADD%3D2%2CEDIT_DELETE%3D3%3B%2F%2F%20Note%3A%20This%20function%20is%20*based*%20on%20the%20computation%20of%20the%20Levenshtein%0A%2F%2F%20%22edit%22%20distance.%20The%20one%20change%20is%20that%20%22updates%22%20are%20treated%20as%20two%0A%2F%2F%20edits%20-%20not%20one.%20With%20Array%20splices%2C%20an%20update%20is%20really%20a%20delete%0A%2F%2F%20followed%20by%20an%20add.%20By%20retaining%20this%2C%20we%20optimize%20for%20%22keeping%22%20the%0A%2F%2F%20maximum%20array%20items%20in%20the%20original%20array.%20For%20example%3A%0A%2F%2F%0A%2F%2F%20%20%20'xxxx123'%20-%3E%20'123yyyy'%0A%2F%2F%0A%2F%2F%20With%201-edit%20updates%2C%20the%20shortest%20path%20would%20be%20just%20to%20update%20all%20seven%0A%2F%2F%20characters.%20With%202-edit%20updates%2C%20we%20delete%204%2C%20leave%203%2C%20and%20add%204.%20This%0A%2F%2F%20leaves%20the%20substring%20'123'%20intact.%0Afunction%20calcEditDistances(current%2CcurrentStart%2CcurrentEnd%2Cold%2ColdStart%2ColdEnd)%7B%2F%2F%20%22Deletion%22%20columns%0Alet%20rowCount%3DoldEnd-oldStart%2B1%2CcolumnCount%3DcurrentEnd-currentStart%2B1%2Cdistances%3DArray(rowCount)%3B%2F%2F%20%22Addition%22%20rows.%20Initialize%20null%20column.%0Afor(let%20i%3D0%3Bi%3CrowCount%3Bi%2B%2B)%7Bdistances%5Bi%5D%3DArray(columnCount)%3Bdistances%5Bi%5D%5B0%5D%3Di%7D%2F%2F%20Initialize%20null%20row%0Afor(let%20j%3D0%3Bj%3CcolumnCount%3Bj%2B%2B)distances%5B0%5D%5Bj%5D%3Dj%3Bfor(let%20i%3D1%3Bi%3CrowCount%3Bi%2B%2B)%7Bfor(let%20j%3D1%3Bj%3CcolumnCount%3Bj%2B%2B)%7Bif(equals(current%5BcurrentStart%2Bj-1%5D%2Cold%5BoldStart%2Bi-1%5D))distances%5Bi%5D%5Bj%5D%3Ddistances%5Bi-1%5D%5Bj-1%5D%3Belse%7Blet%20north%3Ddistances%5Bi-1%5D%5Bj%5D%2B1%2Cwest%3Ddistances%5Bi%5D%5Bj-1%5D%2B1%3Bdistances%5Bi%5D%5Bj%5D%3Dnorth%3Cwest%3Fnorth%3Awest%7D%7D%7Dreturn%20distances%7D%2F%2F%20This%20starts%20at%20the%20final%20weight%2C%20and%20walks%20%22backward%22%20by%20finding%0A%2F%2F%20the%20minimum%20previous%20weight%20recursively%20until%20the%20origin%20of%20the%20weight%0A%2F%2F%20matrix.%0Afunction%20spliceOperationsFromEditDistances(distances)%7Blet%20i%3Ddistances.length-1%2Cj%3Ddistances%5B0%5D.length-1%2Ccurrent%3Ddistances%5Bi%5D%5Bj%5D%2Cedits%3D%5B%5D%3Bwhile(0%3Ci%7C%7C0%3Cj)%7Bif(0%3D%3Di)%7Bedits.push(EDIT_ADD)%3Bj--%3Bcontinue%7Dif(0%3D%3Dj)%7Bedits.push(EDIT_DELETE)%3Bi--%3Bcontinue%7Dlet%20northWest%3Ddistances%5Bi-1%5D%5Bj-1%5D%2Cwest%3Ddistances%5Bi-1%5D%5Bj%5D%2Cnorth%3Ddistances%5Bi%5D%5Bj-1%5D%2Cmin%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%2F**%0A%20%20%20*%20Splice%20Projection%20functions%3A%0A%20%20%20*%0A%20%20%20*%20A%20splice%20map%20is%20a%20representation%20of%20how%20a%20previous%20array%20of%20items%0A%20%20%20*%20was%20transformed%20into%20a%20new%20array%20of%20items.%20Conceptually%20it%20is%20a%20list%20of%0A%20%20%20*%20tuples%20of%0A%20%20%20*%0A%20%20%20*%20%20%20%3Cindex%2C%20removed%2C%20addedCount%3E%0A%20%20%20*%0A%20%20%20*%20which%20are%20kept%20in%20ascending%20index%20order%20of.%20The%20tuple%20represents%20that%20at%0A%20%20%20*%20the%20%7Cindex%7C%2C%20%7Cremoved%7C%20sequence%20of%20items%20were%20removed%2C%20and%20counting%20forward%0A%20%20%20*%20from%20%7Cindex%7C%2C%20%7CaddedCount%7C%20items%20were%20added.%0A%20%20%20*%2F%20%2F**%0A%20%20%20*%20Lacking%20individual%20splice%20mutation%20information%2C%20the%20minimal%20set%20of%0A%20%20%20*%20splices%20can%20be%20synthesized%20given%20the%20previous%20state%20and%20final%20state%20of%20an%0A%20%20%20*%20array.%20The%20basic%20approach%20is%20to%20calculate%20the%20edit%20distance%20matrix%20and%0A%20%20%20*%20choose%20the%20shortest%20path%20through%20it.%0A%20%20%20*%0A%20%20%20*%20Complexity%3A%20O(l%20*%20p)%0A%20%20%20*%20%20%20l%3A%20The%20length%20of%20the%20current%20array%0A%20%20%20*%20%20%20p%3A%20The%20length%20of%20the%20old%20array%0A%20%20%20*%0A%20%20%20*%20%40param%20%7B!Array%7D%20current%20The%20current%20%22changed%22%20array%20for%20which%20to%0A%20%20%20*%20calculate%20splices.%0A%20%20%20*%20%40param%20%7Bnumber%7D%20currentStart%20Starting%20index%20in%20the%20%60current%60%20array%20for%0A%20%20%20*%20which%20splices%20are%20calculated.%0A%20%20%20*%20%40param%20%7Bnumber%7D%20currentEnd%20Ending%20index%20in%20the%20%60current%60%20array%20for%0A%20%20%20*%20which%20splices%20are%20calculated.%0A%20%20%20*%20%40param%20%7B!Array%7D%20old%20The%20original%20%22unchanged%22%20array%20to%20compare%20%60current%60%0A%20%20%20*%20against%20to%20determine%20splices.%0A%20%20%20*%20%40param%20%7Bnumber%7D%20oldStart%20Starting%20index%20in%20the%20%60old%60%20array%20for%0A%20%20%20*%20which%20splices%20are%20calculated.%0A%20%20%20*%20%40param%20%7Bnumber%7D%20oldEnd%20Ending%20index%20in%20the%20%60old%60%20array%20for%0A%20%20%20*%20which%20splices%20are%20calculated.%0A%20%20%20*%20%40return%20%7B!Array%7D%20Returns%20an%20array%20of%20splice%20record%20objects.%20Each%20of%20these%0A%20%20%20*%20contains%3A%20%60index%60%20the%20location%20where%20the%20splice%20occurred%3B%20%60removed%60%0A%20%20%20*%20the%20array%20of%20removed%20items%20from%20this%20location%3B%20%60addedCount%60%20the%20number%0A%20%20%20*%20of%20items%20added%20at%20this%20location.%0A%20%20%20*%2Ffunction%20calcSplices(current%2CcurrentStart%2CcurrentEnd%2Cold%2ColdStart%2ColdEnd)%7Blet%20prefixCount%3D0%2CsuffixCount%3D0%2Csplice%2CminLength%3DMath.min(currentEnd-currentStart%2ColdEnd-oldStart)%3Bif(0%3D%3DcurrentStart%26%260%3D%3DoldStart)prefixCount%3DsharedPrefix(current%2Cold%2CminLength)%3Bif(currentEnd%3D%3Dcurrent.length%26%26oldEnd%3D%3Dold.length)suffixCount%3DsharedSuffix(current%2Cold%2CminLength-prefixCount)%3BcurrentStart%2B%3DprefixCount%3BoldStart%2B%3DprefixCount%3BcurrentEnd-%3DsuffixCount%3BoldEnd-%3DsuffixCount%3Bif(0%3D%3DcurrentEnd-currentStart%26%260%3D%3DoldEnd-oldStart)return%5B%5D%3Bif(currentStart%3D%3DcurrentEnd)%7Bsplice%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%3Blet%20ops%3DspliceOperationsFromEditDistances(calcEditDistances(current%2CcurrentStart%2CcurrentEnd%2Cold%2ColdStart%2ColdEnd))%3Bsplice%3D%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0Avoid%200%3Blet%20splices%3D%5B%5D%2Cindex%3DcurrentStart%2ColdIndex%3DoldStart%3Bfor(let%20i%3D0%3Bi%3Cops.length%3Bi%2B%2B)%7Bswitch(ops%5Bi%5D)%7Bcase%20EDIT_LEAVE%3Aif(splice)%7Bsplices.push(splice)%3Bsplice%3Dvoid%200%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%3B%7D%7Dif(splice)%7Bsplices.push(splice)%7Dreturn%20splices%7Dfunction%20sharedPrefix(current%2Cold%2CsearchLength)%7Bfor(let%20i%3D0%3Bi%3CsearchLength%3Bi%2B%2B)if(!equals(current%5Bi%5D%2Cold%5Bi%5D))return%20i%3Breturn%20searchLength%7Dfunction%20sharedSuffix(current%2Cold%2CsearchLength)%7Blet%20index1%3Dcurrent.length%2Cindex2%3Dold.length%2Ccount%3D0%3Bwhile(count%3CsearchLength%26%26equals(current%5B--index1%5D%2Cold%5B--index2%5D))count%2B%2B%3Breturn%20count%7Dfunction%20calculateSplices(current%2Cprevious)%7Breturn%20calcSplices(current%2C0%2Ccurrent.length%2Cprevious%2C0%2Cprevious.length)%7Dfunction%20equals(currentValue%2CpreviousValue)%7Breturn%20currentValue%3D%3D%3DpreviousValue%7D%2F**%0A%20%20%20*%20%40namespace%0A%20%20%20*%20%40memberof%20Polymer%0A%20%20%20*%20%40summary%20Module%20that%20provides%20utilities%20for%20diffing%20arrays.%0A%20%20%20*%2FPolymer.ArraySplice%3D%7B%2F**%0A%20%20%20%20%20*%20Returns%20an%20array%20of%20splice%20records%20indicating%20the%20minimum%20edits%20required%0A%20%20%20%20%20*%20to%20transform%20the%20%60previous%60%20array%20into%20the%20%60current%60%20array.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20Splice%20records%20are%20ordered%20by%20index%20and%20contain%20the%20following%20fields%3A%0A%20%20%20%20%20*%20-%20%60index%60%3A%20index%20where%20edit%20started%0A%20%20%20%20%20*%20-%20%60removed%60%3A%20array%20of%20removed%20items%20from%20this%20index%0A%20%20%20%20%20*%20-%20%60addedCount%60%3A%20number%20of%20items%20added%20at%20this%20index%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20This%20function%20is%20based%20on%20the%20Levenshtein%20%22minimum%20edit%20distance%22%0A%20%20%20%20%20*%20algorithm.%20Note%20that%20updates%20are%20treated%20as%20removal%20followed%20by%20addition.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20The%20worst-case%20time%20complexity%20of%20this%20algorithm%20is%20%60O(l%20*%20p)%60%0A%20%20%20%20%20*%20%20%20l%3A%20The%20length%20of%20the%20current%20array%0A%20%20%20%20%20*%20%20%20p%3A%20The%20length%20of%20the%20previous%20array%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20However%2C%20the%20worst-case%20complexity%20is%20reduced%20by%20an%20%60O(n)%60%20optimization%0A%20%20%20%20%20*%20to%20detect%20any%20shared%20prefix%20%26%20suffix%20between%20the%20two%20arrays%20and%20only%0A%20%20%20%20%20*%20perform%20the%20more%20expensive%20minimum%20edit%20distance%20calculation%20over%20the%0A%20%20%20%20%20*%20non-shared%20portions%20of%20the%20arrays.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40function%0A%20%20%20%20%20*%20%40memberof%20Polymer.ArraySplice%0A%20%20%20%20%20*%20%40param%20%7B!Array%7D%20current%20The%20%22changed%22%20array%20for%20which%20splices%20will%20be%0A%20%20%20%20%20*%20calculated.%0A%20%20%20%20%20*%20%40param%20%7B!Array%7D%20previous%20The%20%22unchanged%22%20original%20array%20to%20compare%0A%20%20%20%20%20*%20%60current%60%20against%20to%20determine%20the%20splices.%0A%20%20%20%20%20*%20%40return%20%7B!Array%7D%20Returns%20an%20array%20of%20splice%20record%20objects.%20Each%20of%20these%0A%20%20%20%20%20*%20contains%3A%20%60index%60%20the%20location%20where%20the%20splice%20occurred%3B%20%60removed%60%0A%20%20%20%20%20*%20the%20array%20of%20removed%20items%20from%20this%20location%3B%20%60addedCount%60%20the%20number%0A%20%20%20%20%20*%20of%20items%20added%20at%20this%20location.%0A%20%20%20%20%20*%2FcalculateSplices%7D%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fpolymer%2Flib%2Futils%2Farray-splice.html.js%0A | 8.0 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7Bvar%20f5_cspm%3D%7Bf5_p%3A'HFCJFGOOJFBHIKAGHOPICACHFDDGGJGGKNMACEIMFJHPJBHHHIFHBDDMCDOFHCMPCAJBJNFHAAFIFPJNNCFAPEKIAAJNEGBIECPIKFNGALLEECNIJAEGOINDPGMMFAJL'%2CsetCharAt%3Afunction(str%2Cindex%2Cchr)%7Bif(index%3Estr.length-1)return%20str%3Breturn%20str.substr(0%2Cindex)%2Bchr%2Bstr.substr(index%2B1)%3B%7D%2Cget_byte%3Afunction(str%2Ci)%7Bvar%20s%3D(i%2F16)%7C0%3Bi%3D(i%2615)%3Bs%3Ds*32%3Breturn((str.charCodeAt(i%2B16%2Bs)-65)%3C%3C4)%7C(str.charCodeAt(i%2Bs)-65)%3B%7D%2Cset_byte%3Afunction(str%2Ci%2Cb)%7Bvar%20s%3D(i%2F16)%7C0%3Bi%3D(i%2615)%3Bs%3Ds*32%3Bstr%3Df5_cspm.setCharAt(str%2C(i%2B16%2Bs)%2CString.fromCharCode((b%3E%3E4)%2B65))%3Bstr%3Df5_cspm.setCharAt(str%2C(i%2Bs)%2CString.fromCharCode((b%2615)%2B65))%3Breturn%20str%3B%7D%2Cset_latency%3Afunction(str%2Clatency)%7Blatency%3Dlatency%260xffff%3Bstr%3Df5_cspm.set_byte(str%2C40%2C(latency%3E%3E8))%3Bstr%3Df5_cspm.set_byte(str%2C41%2C(latency%260xff))%3Bstr%3Df5_cspm.set_byte(str%2C35%2C2)%3Breturn%20str%3B%7D%2Cwait_perf_data%3Afunction()%7Btry%7Bvar%20wp%3Dwindow.performance.timing%3Bif(wp.loadEventEnd%3E0)%7Bvar%20res%3Dwp.loadEventEnd-wp.navigationStart%3Bif(res%3C60001)%7Bvar%20cookie_val%3Df5_cspm.set_latency(f5_cspm.f5_p%2Cres)%3Bwindow.document.cookie%3D'f5avr0551402585aaaaaaaaaaaaaaaa_cspm_%3D'%2BencodeURIComponent(cookie_val)%2B'%3Bpath%3D%2F'%3B%7D%0Areturn%3B%7D%7D%0Acatch(err)%7Breturn%3B%7D%0AsetTimeout(f5_cspm.wait_perf_data%2C100)%3Breturn%3B%7D%2Cgo%3Afunction()%7Bvar%20chunk%3Dwindow.document.cookie.split(%2F%5Cs*%3B%5Cs*%2F)%3Bfor(var%20i%3D0%3Bi%3Cchunk.length%3B%2B%2Bi)%7Bvar%20pair%3Dchunk%5Bi%5D.split(%2F%5Cs*%3D%5Cs*%2F)%3Bif(pair%5B0%5D%3D%3D'f5_cspm'%26%26pair%5B1%5D%3D%3D'1234')%0A%7Bvar%20d%3Dnew%20Date()%3Bd.setTime(d.getTime()-1000)%3Bwindow.document.cookie%3D'f5_cspm%3D%3Bexpires%3D'%2Bd.toUTCString()%2B'%3Bpath%3D%2F%3B'%3BsetTimeout(f5_cspm.wait_perf_data%2C100)%3B%7D%7D%7D%7D%0Af5_cspm.go()%3B%7D())%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fshadycss%2Fcustom-style-interface.html.js%0A | 1.6 kB | 2023-03-08 | 2023-03-08 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,function%20ownKeys(object%2CenumerableOnly)%7Bvar%20keys%3DObject.keys(object)%3Bif(Object.getOwnPropertySymbols)%7Bkeys.push.apply(keys%2CObject.getOwnPropertySymbols(object))%7Dif(enumerableOnly)keys%3Dkeys.filter(function(sym)%7Breturn%20Object.getOwnPropertyDescriptor(object%2Csym).enumerable%7D)%3Breturn%20keys%7Dfunction%20_objectSpread(target)%7Bfor(var%20i%3D1%2Csource%3Bi%3Carguments.length%3Bi%2B%2B)%7Bsource%3Dnull!%3Darguments%5Bi%5D%3Farguments%5Bi%5D%3A%7B%7D%3Bif(i%252)%7BownKeys(source%2C%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A).forEach(function(key)%7BbabelHelpers.defineProperty(target%2Ckey%2Csource%5Bkey%5D)%7D)%7Delse%20if(Object.getOwnPropertyDescriptors)%7BObject.defineProperties(target%2CObject.getOwnPropertyDescriptors(source))%7Delse%7BownKeys(source).forEach(function(key)%7BObject.defineProperty(target%2Ckey%2CObject.getOwnPropertyDescriptor(source%2Ckey))%7D)%7D%7Dreturn%20target%7D(function%20hippoParser()%7B%2F**%0A%20%20%20%20%20*%20Element%20class%20mixin%20that%20provides%20API%20for%20loading%20and%20parsig%20hippo%20data%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40mixinFunction%0A%20%20%20%20%20*%20%40polymer%0A%20%20%20%20%20*%20%40memberof%20Polymer%0A%20%20%20%20%20*%2Fconst%20getDevice%3D()%3D%3E%7Bif(window.DetectTierIphone())%7Breturn%22Mobile%22%7Delse%20if(window.DetectTierTablet())%7Breturn%22Tablet%22%7Dreturn%22PC%22%7D%2CextractHref%3Dob%3D%3E%7Bconst%20result%3DJSON.parse(JSON.stringify(ob))%3Blet%20href%3Dresult%5B%60href%24%7BgetDevice()%7D%60%5D%3Bif(!href)%7Bhref%3Dresult.hrefPC%7Ddelete%20result.hrefPC%3Bdelete%20result.hrefMobile%3Bdelete%20result.hrefTablet%3Bresult.href%3Dhref%3Breturn%20result%7D%2Cget%3D(ob%2Cpath)%3D%3E%7Blet%20node%3Dob%3Bpath.split(%22.%22).forEach(key%3D%3E%7Bif(!node%7C%7C!hasOwnProperty.call(node%2Ckey))%7Bnode%3D%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0Avoid%200%3Breturn%7Dnode%3Dnode%5Bkey%5D%7D)%3Breturn%20node%7D%2Chas%3D(ob%2Cpath)%3D%3E%7Bconst%20BreakException%3D%7B%7D%3Blet%20node%3Dob%3Btry%7Bpath.split(%22.%22).forEach(key%3D%3E%7Bif(!node%7C%7C!hasOwnProperty.call(node%2Ckey))%7Bthrow%20BreakException%7Dnode%3Dnode%5Bkey%5D%7D)%7Dcatch(e)%7Breturn(%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A!1)%7Dreturn!0%7D%2CisLocalhost%3Durl%3D%3Eurl.includes(%22localhost%22)%7C%7Curl.includes(%22127.0.0.1%22)%2CformatUrlInLocalhost%3Dvalue%3D%3E%7Bvalue.url%3Dvalue.url.replace(%2F%5E.*(%3F%3Dsite)%2F%2C%22%2F%22)%7D%2CformatRichMediaUrl%3DmediaItem%3D%3E%7Bif(mediaItem%26%26mediaItem.links)%7Bconst%20richMediaLinks%3DmediaItem.links%3Bfor(let%5Bkey%2Cvalue%5Dof%20Object.entries(richMediaLinks))%7Bif(isLocalhost(value.url))%7BformatUrlInLocalhost(value)%7Delse%7Bvalue.url%3Dvalue.url.replace(%2F%5E.*(%3F%3Dbinaries)%2F%2C%22%2F%22)%7D%7D%7D%7D%2CformatCoreMediaUrl%3DmediaItem%3D%3E%7Bif(mediaItem%26%26mediaItem.image)%7Bconst%20mediaUrl%3DmediaItem.image.link.url%3Bif(isLocalhost(mediaItem.image.link.url))%7BformatUrlInLocalhost(mediaItem.image.link)%7Delse%7BmediaItem.image.link.url%3DmediaUrl.replace(%2F%5E.*(%3F%3Dbinaries)%2F%2C%22%2F%22)%7D%7D%7D%2ChasImage%3Ditem%3D%3EJSON.parse(JSON.stringify(item).includes(%22binary%22))%2CprepareImageFor%3D(formatMedia%2CcontentWithImage)%3D%3E%7Blet%20mediaItem%3Bif(Array.isArray(contentWithImage))%7BcontentWithImage.forEach(item%3D%3E%7BmediaItem%3Ditem.items%3Fitem.items%3Aitem%3BformatMedia(mediaItem)%7D)%7Delse%7BmediaItem%3DcontentWithImage.items%3FcontentWithImage.items%3AcontentWithImage%3BformatMedia(mediaItem)%7D%7D%2CgetTealiumEventParams%3Dcontent%3D%3E%7Breturn%20content.reduce((acc%2Cparams)%3D%3E_objectSpread(%7B%7D%2Cacc%2C%7B%5Bparams.items.param_name%5D%3Aparams.items.param_value%7D)%2C%7B%7D)%7D%2CsetTealiumParams%3Dcontent%3D%3E%7Bconst%20props%3Dcontent.items%3Bprops.event%3Dprops.event_params%3F_objectSpread(%7B%7D%2CgetTealiumEventParams(props.event_params))%3A%7B%7D%3Bdelete%20props.event_params%3Bprops.event.event_name%3Dprops.event_name%3Bdelete%20props.event_name%3Breturn%20content%7D%2CprocessTealiumLink%3Dcontent%3D%3E%7Bif(Array.isArray(content))%7Bcontent.forEach(element%3D%3EsetTealiumParams(element))%7Delse%20if(content.items%26%26content.items)%7BsetTealiumParams(content)%7D%7D%2CprocessTealiumCTA%3Dcontent%3D%3E%7Bif(Array.isArray(content))%7Bcontent.forEach(element%3D%3EsetTealiumParams(element))%7Delse%20if(content.items%26%26(content.items.ctaList%7C%7Ccontent.items))%7Bconst%20ctaList%3Dcontent.items.ctaList%3Fcontent.items.ctaList.filter(cta%3D%3E%2FCTA%7CextendedLink%2F.test(cta.type))%3Acontent.items%3BctaList.map(cta%3D%3E%7BsetTealiumParams(cta)%7D)%7Delse%20if(content.items%26%26content.items.extendedLinkList)%7BsetTealiumParams(content.items)%7D%7D%2CprocessCTAList%3Dcontent%3D%3E%7Bif(content%26%26content.CTAList)%7Bcontent.CTAList.map(cta%3D%3E%7BprocessTealiumCTA(cta)%3Breturn%20cta%7D)%7Delse%20if(content%26%26content.extendedLinkList)%7Bcontent.extendedLinkList.map(extlink%3D%3E%7BprocessTealiumLink(extlink)%3Breturn%20extlink%7D)%7Delse%20if(content%26%26content.CTABlock)%7Breturn%20processTealiumCTA(content.CTABlock)%7Dreturn%5B%5D%7D%2CcoreStructure%3D%5B%22items%22%2C%22ParticleList%22%2C%22ContentTop%22%2C%22Content%22%2C%22ProductList%22%2C%22Product%22%2C%22CoreMediaList%22%5D%2CformatData%3Djson%3D%3E%7BcoreStructure.forEach(path%3D%3E%7Bif(has(json%2Cpath))%7Bconst%20elem%3Dget(json%2Cpath)%3Bif(Array.isArray(elem))%7Belem.forEach(particle%3D%3EformatData(particle))%7Delse%20if(elem%26%26elem.CoreMediaList%26%26hasImage(elem.CoreMediaList))%7BprepareImageFor(formatCoreMediaUrl%2Celem.CoreMediaList)%7Delse%20if(elem%26%26elem.paragraphList%26%26hasImage(elem.paragraphList))%7BprepareImageFor(formatRichMediaUrl%2Celem.paragraphList)%7Delse%20if(elem%26%26elem.ctaList)%7BprocessTealiumCTA(elem.ctaList)%7Delse%7BprocessCTAList(elem)%7DformatData(elem)%7D%7D)%3Breturn%20json%7D%2CclearHipposp%3Djson%3D%3EJSON.parse(JSON.stringify(json).split(%22hipposp%3A%22).join(%22%22))%2CurlParserPrivateMethods%3D%7BisLocalhost%2CformatUrlInLocalhost%2CformatRichMediaUrl%2CformatCoreMediaUrl%2CprepareImageFor%2CformatData%7D%2Cparser%3D%7BgetDevice%2CextractHref%2Cget%2Chas%7D%3BPolymer.HippoParser%3DPolymer.dedupingMixin(superClass%3D%3E%7B%2F**%0A%20%20%20%20%20%20%20*%20%40polymer%0A%20%20%20%20%20%20%20*%20%40mixinClass%0A%20%20%20%20%20%20%20*%20%40implements%20%7BPolymer_HippoParser%7D%0A%20%20%20%20%20%20%20*%2Fclass%20HippoParser%20extends%20superClass%7Bstatic%20get%20observers()%7Breturn%5B%22apiChanged(api)%22%5D%7Dstatic%20get%20properties()%7Breturn%7B%2F**%0A%20%20%20%20%20%20%20%20%20%20%20%20%20*%20url%20to%20load%20json%20data%0A%20%20%20%20%20%20%20%20%20%20%20%20%20*%2Fapi%3AString%7D%7D%2F**%0A%20%20%20%20%20%20%20%20*%20Return%20parser%20methods%0A%20%20%20%20%20%20%20%20*%20%40returns%20%7BObject%7D%0A%20%20%20%20%20%20%20%20*%2FgetParser()%7Breturn%20parser%7D%2F**%0A%20%20%20%20%20%20%20%20*%20Return%20functions%20for%20url%20parser%0A%20%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20%20*%20%40returns%20%7BObject%7D%0A%20%20%20%20%20%20%20%20*%2FgetMethods()%7Breturn%20urlParserPrivateMethods%7D%2F**%0A%20%20%20%20%20%20%20%20*%20Create%20and%20element%20and%20insert%20data%20parsed%0A%20%20%20%20%20%20%20%20*%20%40param%20%7BString%7D%20api%0A%20%20%20%20%20%20%20%20*%2FapiChanged(api)%7Bconst%20previous%3Dthis.shadowRoot.querySelector(%22ing-orange-cms-call%22)%3Bif(previous)%7Bprevious.remove()%7Dconst%20el%3Ddocument.createElement(%22ing-orange-cms-call%22)%3Bel.addEventListener(%22data-changed%22%2Cev%3D%3E%7Bconst%20data%3Dev.detail.value%2CdataParsed%3DformatData(clearHipposp(data))%3Bthis.set(%22data%22%2CdataParsed)%7D)%3Bel.url%3D%22%23%22%3Bel.restPath%3Dapi%3Bthis.shadowRoot.appendChild(el)%7D%7Dreturn%20HippoParser%7D)%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fing-uic-cms-hippo-parser%2Fing-uic-cms-hippo-parser.html.js%0A | 6.9 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/core/utils/customElementDedupe.js | 190 B | 2023-03-08 | 2024-04-05 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/style/mixins/elevation.js | 441 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lodash-es/_root.js | 145 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@open-wc/dedupe-mixin/src/dedupeMixin.js | 214 B | 2023-03-08 | 2024-04-05 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/icon/oj-icons/outline/arrows/triangle_right_outline.svg.js | 362 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,%2F**%0A%20%20%20*%20%60Polymer.NeonAnimatableBehavior%60%20is%20implemented%20by%20elements%20containing%20animations%20for%20use%20with%0A%20%20%20*%20elements%20implementing%20%60Polymer.NeonAnimationRunnerBehavior%60.%0A%20%20%20*%20%40polymerBehavior%0A%20%20%20*%2FPolymer.NeonAnimatableBehavior%3D%7Bproperties%3A%7B%2F**%0A%20%20%20%20%20%20%20*%20Animation%20configuration.%20See%20README%20for%20more%20info.%0A%20%20%20%20%20%20%20*%2FanimationConfig%3A%7Btype%3AObject%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20Convenience%20property%20for%20setting%20an%20'entry'%20animation.%20Do%20not%20set%20%60animationConfig.entry%60%0A%20%20%20%20%20%20%20*%20manually%20if%20using%20this.%20The%20animated%20node%20is%20set%20to%20%60this%60%20if%20using%20this%20property.%0A%20%20%20%20%20%20%20*%2FentryAnimation%3A%7Bobserver%3A%22_entryAnimationChanged%22%2Ctype%3AString%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20Convenience%20property%20for%20setting%20an%20'exit'%20animation.%20Do%20not%20set%20%60animationConfig.exit%60%0A%20%20%20%20%20%20%20*%20manually%20if%20using%20this.%20The%20animated%20node%20is%20set%20to%20%60this%60%20if%20using%20this%20property.%0A%20%20%20%20%20%20%20*%2FexitAnimation%3A%7Bobserver%3A%22_exitAnimationChanged%22%2Ctype%3AString%7D%7D%2C_entryAnimationChanged%3Afunction()%7Bthis.animationConfig%3Dthis.animationConfig%7C%7C%7B%7D%3Bthis.animationConfig.entry%3D%5B%7Bname%3Athis.entryAnimation%2Cnode%3Athis%7D%5D%7D%2C_exitAnimationChanged%3Afunction()%7Bthis.animationConfig%3Dthis.animationConfig%7C%7C%7B%7D%3Bthis.animationConfig.exit%3D%5B%7Bname%3Athis.exitAnimation%2Cnode%3Athis%7D%5D%7D%2C_copyProperties%3Afunction(config1%2Cconfig2)%7B%2F%2F%20shallowly%20copy%20properties%20from%20config2%20to%20config1%0Afor(var%20property%20in%20config2)%7Bconfig1%5Bproperty%5D%3Dconfig2%5Bproperty%5D%7D%7D%2C_cloneConfig%3Afunction(config)%7Bvar%20clone%3D%7BisClone%3A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%7D%3Bthis._copyProperties(clone%2Cconfig)%3Breturn%20clone%7D%2C_getAnimationConfigRecursive%3Afunction(type%2Cmap%2CallConfigs)%7Bif(!this.animationConfig)%7Breturn%7Dif(this.animationConfig.value%26%26%22function%22%3D%3D%3Dtypeof%20this.animationConfig.value)%7Bthis._warn(this._logf(%22playAnimation%22%2C%22Please%20put%20'animationConfig'%20inside%20of%20your%20components%20'properties'%20object%20instead%20of%20outside%20of%20it.%22))%3Breturn%7D%2F%2F%20type%20is%20optional%0Avar%20thisConfig%3Bif(type)%7BthisConfig%3Dthis.animationConfig%5Btype%5D%7Delse%7BthisConfig%3Dthis.animationConfig%7Dif(!Array.isArray(thisConfig))%7BthisConfig%3D%5BthisConfig%5D%7D%2F%2F%20iterate%20animations%20and%20recurse%20to%20process%20configurations%20from%20child%20nodes%0Aif(thisConfig)%7Bfor(var%20config%2Cindex%3D0%3Bconfig%3DthisConfig%5Bindex%5D%3Bindex%2B%2B)%7Bif(config.animatable)%7Bconfig.animatable._getAnimationConfigRecursive(config.type%7C%7Ctype%2Cmap%2CallConfigs)%7Delse%7Bif(config.id)%7Bvar%20cachedConfig%3Dmap%5Bconfig.id%5D%3Bif(cachedConfig)%7B%2F%2F%20merge%20configurations%20with%20the%20same%20id%2C%20making%20a%20clone%20lazily%0Aif(!cachedConfig.isClone)%7Bmap%5Bconfig.id%5D%3Dthis._cloneConfig(cachedConfig)%3BcachedConfig%3Dmap%5Bconfig.id%5D%7Dthis._copyProperties(cachedConfig%2Cconfig)%7Delse%7B%2F%2F%20put%20any%20configs%20with%20an%20id%20into%20a%20map%0Amap%5Bconfig.id%5D%3Dconfig%7D%7Delse%7BallConfigs.push(config)%7D%7D%7D%7D%7D%2C%2F**%0A%20%20%20%20%20*%20An%20element%20implementing%20%60Polymer.NeonAnimationRunnerBehavior%60%20calls%20this%20method%20to%20configure%0A%20%20%20%20%20*%20an%20animation%20with%20an%20optional%20type.%20Elements%20implementing%20%60Polymer.NeonAnimatableBehavior%60%0A%20%20%20%20%20*%20should%20define%20the%20property%20%60animationConfig%60%2C%20which%20is%20either%20a%20configuration%20object%0A%20%20%20%20%20*%20or%20a%20map%20of%20animation%20type%20to%20array%20of%20configuration%20objects.%0A%20%20%20%20%20*%2FgetAnimationConfig%3Afunction(type)%7Bvar%20map%3D%7B%7D%2CallConfigs%3D%5B%5D%3Bthis._getAnimationConfigRecursive(type%2Cmap%2CallConfigs)%3B%2F%2F%20append%20the%20configurations%20saved%20in%20the%20map%20to%20the%20array%0Afor(var%20key%20in%20map)%7BallConfigs.push(map%5Bkey%5D)%7Dreturn%20allConfigs%7D%7D%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fneon-animation%2Fneon-animatable-behavior.html.js%0A | 3.6 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,%2F%2F%20This%20is%20left%20only%20for%20backward%20compatibility%20with%20projects%0A%2F%2F%20that%20incorrectly%20relied%20on%20unscoped%20global%20%5Bhidden%5D%20rules%3B%0A%2F%2F%20removing%20would%20be%20a%20breaking%20change%2C%20but%20new%20projects%0A%2F%2F%20should%20never%20rely%20on%20this.%0A(function()%7Bvar%20style%3Ddocument.createElement(%22style%22)%3Bstyle.textContent%3D%22%5Bhidden%5D%20%7B%20display%3A%20none%20!important%3B%20%7D%22%3Bdocument.head.appendChild(style)%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Firon-flex-layout%2Firon-flex-layout.html.js%0A | 461 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-text/ing-text.js | 205 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/overlays/src/overlays.js | 245 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/form-core/src/validate/resultValidators/DefaultSuccess.js | 333 B | 2023-03-08 | 2024-04-05 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lodash-es/_objectToString.js | 80 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/icon/oj-icons/outline/arrows/chevron_up_outline.svg.js | 217 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-button/ing-button.js | 214 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-row/src/IngRow.styles.js | 2.9 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,'use%20strict'%3BPolymer(%7Bis%3A%22iron-request%22%2ChostAttributes%3A%7Bhidden%3A!0%7D%2Cproperties%3A%7B%2F**%0A%20%20%20%20%20%20%20*%20A%20reference%20to%20the%20XMLHttpRequest%20instance%20used%20to%20generate%20the%0A%20%20%20%20%20%20%20*%20network%20request.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40type%20%7BXMLHttpRequest%7D%0A%20%20%20%20%20%20%20*%2Fxhr%3A%7Btype%3AObject%2Cnotify%3A!0%2CreadOnly%3A!0%2Cvalue%3Afunction()%7Breturn%20new%20XMLHttpRequest%7D%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20A%20reference%20to%20the%20parsed%20response%20body%2C%20if%20the%20%60xhr%60%20has%20completely%0A%20%20%20%20%20%20%20*%20resolved.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40type%20%7B*%7D%0A%20%20%20%20%20%20%20*%20%40default%20null%0A%20%20%20%20%20%20%20*%2Fresponse%3A%7Btype%3AObject%2Cnotify%3A!0%2CreadOnly%3A!0%2Cvalue%3Afunction()%7Breturn%20null%7D%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20A%20reference%20to%20the%20status%20code%2C%20if%20the%20%60xhr%60%20has%20completely%20resolved.%0A%20%20%20%20%20%20%20*%2Fstatus%3A%7Btype%3ANumber%2Cnotify%3A!0%2CreadOnly%3A!0%2Cvalue%3A0%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20A%20reference%20to%20the%20status%20text%2C%20if%20the%20%60xhr%60%20has%20completely%20resolved.%0A%20%20%20%20%20%20%20*%2FstatusText%3A%7Btype%3AString%2Cnotify%3A!0%2CreadOnly%3A!0%2Cvalue%3A%22%22%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20A%20promise%20that%20resolves%20when%20the%20%60xhr%60%20response%20comes%20back%2C%20or%20rejects%0A%20%20%20%20%20%20%20*%20if%20there%20is%20an%20error%20before%20the%20%60xhr%60%20completes.%0A%20%20%20%20%20%20%20*%20The%20resolve%20callback%20is%20called%20with%20the%20original%20request%20as%20an%20argument.%0A%20%20%20%20%20%20%20*%20By%20default%2C%20the%20reject%20callback%20is%20called%20with%20an%20%60Error%60%20as%20an%20argument.%0A%20%20%20%20%20%20%20*%20If%20%60rejectWithRequest%60%20is%20true%2C%20the%20reject%20callback%20is%20called%20with%20an%0A%20%20%20%20%20%20%20*%20object%20with%20two%20keys%3A%20%60request%60%2C%20the%20original%20request%2C%20and%20%60error%60%2C%20the%0A%20%20%20%20%20%20%20*%20error%20object.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40type%20%7BPromise%7D%0A%20%20%20%20%20%20%20*%2Fcompletes%3A%7Btype%3AObject%2CreadOnly%3A!0%2Cnotify%3A!0%2Cvalue%3Afunction()%7Breturn%20new%20Promise(function(resolve%2Creject)%7Bthis.resolveCompletes%3Dresolve%3Bthis.rejectCompletes%3Dreject%7D.bind(this))%7D%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20An%20object%20that%20contains%20progress%20information%20emitted%20by%20the%20XHR%20if%0A%20%20%20%20%20%20%20*%20available.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40default%20%7B%7D%0A%20%20%20%20%20%20%20*%2Fprogress%3A%7Btype%3AObject%2Cnotify%3A!0%2CreadOnly%3A!0%2Cvalue%3Afunction()%7Breturn%7B%7D%7D%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20Aborted%20will%20be%20true%20if%20an%20abort%20of%20the%20request%20is%20attempted.%0A%20%20%20%20%20%20%20*%2Faborted%3A%7Btype%3ABoolean%2Cnotify%3A!0%2CreadOnly%3A!0%2Cvalue%3A!1%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20Errored%20will%20be%20true%20if%20the%20browser%20fired%20an%20error%20event%20from%20the%0A%20%20%20%20%20%20%20*%20XHR%20object%20(mainly%20network%20errors).%0A%20%20%20%20%20%20%20*%2Ferrored%3A%7Btype%3ABoolean%2Cnotify%3A!0%2CreadOnly%3A!0%2Cvalue%3A!1%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20TimedOut%20will%20be%20true%20if%20the%20XHR%20threw%20a%20timeout%20event.%0A%20%20%20%20%20%20%20*%2FtimedOut%3A%7Btype%3ABoolean%2Cnotify%3A!0%2CreadOnly%3A!0%2Cvalue%3A!1%7D%7D%2C%2F**%0A%20%20%20%20%20*%20Succeeded%20is%20true%20if%20the%20request%20succeeded.%20The%20request%20succeeded%20if%20it%0A%20%20%20%20%20*%20loaded%20without%20error%2C%20wasn't%20aborted%2C%20and%20the%20status%20code%20is%20%E2%89%A5%20200%2C%20and%0A%20%20%20%20%20*%20%3C%20300%2C%20or%20if%20the%20status%20code%20is%200.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20The%20status%20code%200%20is%20accepted%20as%20a%20success%20because%20some%20schemes%20-%20e.g.%0A%20%20%20%20%20*%20file%3A%2F%2F%20-%20don't%20provide%20status%20codes.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40return%20%7Bboolean%7D%0A%20%20%20%20%20*%2Fget%20succeeded()%7Bif(this.errored%7C%7Cthis.aborted%7C%7Cthis.timedOut)%7Breturn!1%7Dvar%20status%3Dthis.xhr.status%7C%7C0%3B%2F%2F%20Note%3A%20if%20we%20are%20using%20the%20file%3A%2F%2F%20protocol%2C%20the%20status%20code%20will%20be%200%0A%2F%2F%20for%20all%20outcomes%20(successful%20or%20otherwise).%0Areturn%200%3D%3D%3Dstatus%7C%7C200%3C%3Dstatus%26%26300%3Estatus%7D%2C%2F**%0A%20%20%20%20%20*%20Sends%20an%20HTTP%20request%20to%20the%20server%20and%20returns%20a%20promise%20(see%20the%20%60completes%60%0A%20%20%20%20%20*%20property%20for%20details).%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20The%20handling%20of%20the%20%60body%60%20parameter%20will%20vary%20based%20on%20the%20Content-Type%0A%20%20%20%20%20*%20header.%20See%20the%20docs%20for%20iron-ajax's%20%60body%60%20property%20for%20details.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40param%20%7B%7B%0A%20%20%20%20%20*%20%20%20url%3A%20string%2C%0A%20%20%20%20%20*%20%20%20method%3A%20(string%7Cundefined)%2C%0A%20%20%20%20%20*%20%20%20async%3A%20(boolean%7Cundefined)%2C%0A%20%20%20%20%20*%20%20%20body%3A%20(ArrayBuffer%7CArrayBufferView%7CBlob%7CDocument%7CFormData%7Cnull%7Cstring%7Cundefined%7CObject)%2C%0A%20%20%20%20%20*%20%20%20headers%3A%20(Object%7Cundefined)%2C%0A%20%20%20%20%20*%20%20%20handleAs%3A%20(string%7Cundefined)%2C%0A%20%20%20%20%20*%20%20%20jsonPrefix%3A%20(string%7Cundefined)%2C%0A%20%20%20%20%20*%20%20%20withCredentials%3A%20(boolean%7Cundefined)%2C%0A%20%20%20%20%20*%20%20%20timeout%3A%20(Number%7Cundefined)%2C%0A%20%20%20%20%20*%20%20%20rejectWithRequest%3A%20(boolean%7Cundefined)%7D%7D%20options%20-%0A%20%20%20%20%20*%20%20%20-%20url%20The%20url%20to%20which%20the%20request%20is%20sent.%0A%20%20%20%20%20*%20%20%20-%20method%20The%20HTTP%20method%20to%20use%2C%20default%20is%20GET.%0A%20%20%20%20%20*%20%20%20-%20async%20By%20default%2C%20all%20requests%20are%20sent%20asynchronously.%20To%20send%20synchronous%20requests%2C%0A%20%20%20%20%20*%20%20%20%20%20%20%20%20%20set%20to%20false.%0A%20%20%20%20%20*%20%20%20-%20%20body%20The%20content%20for%20the%20request%20body%20for%20POST%20method.%0A%20%20%20%20%20*%20%20%20-%20%20headers%20HTTP%20request%20headers.%0A%20%20%20%20%20*%20%20%20-%20%20handleAs%20The%20response%20type.%20Default%20is%20'text'.%0A%20%20%20%20%20*%20%20%20-%20%20withCredentials%20Whether%20or%20not%20to%20send%20credentials%20on%20the%20request.%20Default%20is%20false.%0A%20%20%20%20%20*%20%20%20-%20%20timeout%20-%20Timeout%20for%20request%2C%20in%20milliseconds.%0A%20%20%20%20%20*%20%20%20-%20%20rejectWithRequest%20Set%20to%20true%20to%20include%20the%20request%20object%20with%20promise%20rejections.%0A%20%20%20%20%20*%20%40return%20%7BPromise%7D%0A%20%20%20%20%20*%2Fsend%3Afunction(options)%7Bvar%20xhr%3Dthis.xhr%3Bif(0%3Cxhr.readyState)%7Breturn%20null%7Dxhr.addEventListener(%22progress%22%2Cfunction(progress)%7Bthis._setProgress(%7BlengthComputable%3Aprogress.lengthComputable%2Cloaded%3Aprogress.loaded%2Ctotal%3Aprogress.total%7D)%3B%2F%2F%20Webcomponents%20v1%20spec%20does%20not%20fire%20*-changed%20events%20when%20not%20connected%0Athis.fire(%22iron-request-progress-changed%22%2C%7Bvalue%3Athis.progress%7D)%7D.bind(this))%3Bxhr.addEventListener(%22error%22%2Cfunction(error)%7Bthis._setErrored(!0)%3Bthis._updateStatus()%3Bvar%20response%3Doptions.rejectWithRequest%3F%7Berror%3Aerror%2Crequest%3Athis%7D%3Aerror%3Bthis.rejectCompletes(response)%7D.bind(this))%3Bxhr.addEventListener(%22timeout%22%2Cfunction(error)%7Bthis._setTimedOut(!0)%3Bthis._updateStatus()%3Bvar%20response%3Doptions.rejectWithRequest%3F%7Berror%3Aerror%2Crequest%3Athis%7D%3Aerror%3Bthis.rejectCompletes(response)%7D.bind(this))%3Bxhr.addEventListener(%22abort%22%2Cfunction()%7Bthis._setAborted(!0)%3Bthis._updateStatus()%3Bvar%20error%3Dnew%20Error(%22Request%20aborted.%22)%2Cresponse%3Doptions.rejectWithRequest%3F%7Berror%3Aerror%2Crequest%3Athis%7D%3Aerror%3Bthis.rejectCompletes(response)%7D.bind(this))%3B%2F%2F%20Called%20after%20all%20of%20the%20above.%0Axhr.addEventListener(%22loadend%22%2Cfunction()%7Bthis._updateStatus()%3Bthis._setResponse(this.parseResponse())%3Bif(!this.succeeded)%7Bvar%20error%3Dnew%20Error(%22The%20request%20failed%20with%20status%20code%3A%20%22%2Bthis.xhr.status)%2Cresponse%3Doptions.rejectWithRequest%3F%7Berror%3Aerror%2Crequest%3Athis%7D%3Aerror%3Bthis.rejectCompletes(response)%3Breturn%7Dthis.resolveCompletes(this)%7D.bind(this))%3Bthis.url%3Doptions.url%3Bvar%20isXHRAsync%3D!1!%3D%3Doptions.async%3Bxhr.open(options.method%7C%7C%22GET%22%2Coptions.url%2CisXHRAsync)%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%2Cheaders%3Doptions.headers%7C%7CObject.create(null)%2CnewHeaders%3DObject.create(null)%3Bfor(var%20key%20in%20headers)%7BnewHeaders%5Bkey.toLowerCase()%5D%3Dheaders%5Bkey%5D%7Dheaders%3DnewHeaders%3Bif(acceptType%26%26!headers.accept)%7Bheaders.accept%3DacceptType%7DObject.keys(headers).forEach(function(requestHeader)%7Bif(%2F%5BA-Z%5D%2F.test(requestHeader))%7BPolymer.Base._error(%22Headers%20must%20be%20lower%20case%2C%20got%22%2CrequestHeader)%7Dxhr.setRequestHeader(requestHeader%2Cheaders%5BrequestHeader%5D)%7D%2Cthis)%3Bif(isXHRAsync)%7Bxhr.timeout%3Doptions.timeout%3Bvar%20handleAs%3Doptions.handleAs%3B%2F%2F%20If%20a%20JSON%20prefix%20is%20present%2C%20the%20responseType%20must%20be%20'text'%20or%20the%0A%2F%2F%20browser%20won%E2%80%99t%20be%20able%20to%20parse%20the%20response.%0Aif(!!options.jsonPrefix%7C%7C!handleAs)%7BhandleAs%3D%22text%22%7D%2F%2F%20In%20IE%2C%20%60xhr.responseType%60%20is%20an%20empty%20string%20when%20the%20response%0A%2F%2F%20returns.%20Hence%2C%20caching%20it%20as%20%60xhr._responseType%60.%0Axhr.responseType%3Dxhr._responseType%3DhandleAs%3B%2F%2F%20Cache%20the%20JSON%20prefix%2C%20if%20it%20exists.%0Aif(!!options.jsonPrefix)%7Bxhr._jsonPrefix%3Doptions.jsonPrefix%7D%7Dxhr.withCredentials%3D!!options.withCredentials%3Bvar%20body%3Dthis._encodeBodyObject(options.body%2Cheaders%5B%22content-type%22%5D)%3Bxhr.send(%2F**%20%40type%20%7BArrayBuffer%7CArrayBufferView%7CBlob%7CDocument%7CFormData%7C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20null%7Cstring%7Cundefined%7D%20*%2Fbody)%3Breturn%20this.completes%7D%2C%2F**%0A%20%20%20%20%20*%20Attempts%20to%20parse%20the%20response%20body%20of%20the%20XHR.%20If%20parsing%20succeeds%2C%0A%20%20%20%20%20*%20the%20value%20returned%20will%20be%20deserialized%20based%20on%20the%20%60responseType%60%0A%20%20%20%20%20*%20set%20on%20the%20XHR.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40return%20%7B*%7D%20The%20parsed%20response%2C%0A%20%20%20%20%20*%20or%20undefined%20if%20there%20was%20an%20empty%20response%20or%20parsing%20failed.%0A%20%20%20%20%20*%2FparseResponse%3Afunction()%7Bvar%20xhr%3Dthis.xhr%2CresponseType%3Dxhr.responseType%7C%7Cxhr._responseType%2CpreferResponseText%3D!this.xhr.responseType%2CprefixLen%3Dxhr._jsonPrefix%26%26xhr._jsonPrefix.length%7C%7C0%3Btry%7Bswitch(responseType)%7Bcase%22json%22%3A%2F%2F%20If%20the%20xhr%20object%20doesn't%20have%20a%20natural%20%60xhr.responseType%60%2C%0A%2F%2F%20we%20can%20assume%20that%20the%20browser%20hasn't%20parsed%20the%20response%20for%20us%2C%0A%2F%2F%20and%20so%20parsing%20is%20our%20responsibility.%20Likewise%20if%20response%20is%0A%2F%2F%20undefined%2C%20as%20there's%20no%20way%20to%20encode%20undefined%20in%20JSON.%0Aif(preferResponseText%7C%7Cxhr.response%3D%3D%3D%2F%2F%20override%20by%20copy%0Avoid%200)%7B%2F%2F%20Try%20to%20emulate%20the%20JSON%20section%20of%20the%20response%20body%20section%20of%0A%2F%2F%20the%20spec%3A%20https%3A%2F%2Fxhr.spec.whatwg.org%2F%23response-body%0A%2F%2F%20That%20is%20to%20say%2C%20we%20try%20to%20parse%20as%20JSON%2C%20but%20if%20anything%20goes%0A%2F%2F%20wrong%20return%20null.%0Atry%7Breturn%20JSON.parse(xhr.responseText)%7Dcatch(_)%7Bconsole.warn(%22Failed%20to%20parse%20JSON%20sent%20from%20%22%2Bxhr.responseURL)%3Breturn%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%7B%2F%2F%20If%20%60prefixLen%60%20is%20set%2C%20it%20implies%20the%20response%20should%20be%20parsed%0A%2F%2F%20as%20JSON%20once%20the%20prefix%20of%20length%20%60prefixLen%60%20is%20stripped%20from%0A%2F%2F%20it.%20Emulate%20the%20behavior%20above%20where%20null%20is%20returned%20on%20failure%0A%2F%2F%20to%20parse.%0Aif(prefixLen)%7Btry%7Breturn%20JSON.parse(xhr.responseText.substring(prefixLen))%7Dcatch(_)%7Bconsole.warn(%22Failed%20to%20parse%20JSON%20sent%20from%20%22%2Bxhr.responseURL)%3Breturn%20null%7D%7Dreturn%20xhr.responseText%7D%7D%7Dcatch(e)%7Bthis.rejectCompletes(new%20Error(%22Could%20not%20parse%20response.%20%22%2Be.message))%7D%7D%2C%2F**%0A%20%20%20%20%20*%20Aborts%20the%20request.%0A%20%20%20%20%20*%2Fabort%3Afunction()%7Bthis._setAborted(!0)%3Bthis.xhr.abort()%7D%2C%2F**%0A%20%20%20%20%20*%20%40param%20%7B*%7D%20body%20The%20given%20body%20of%20the%20request%20to%20try%20and%20encode.%0A%20%20%20%20%20*%20%40param%20%7B%3Fstring%7D%20contentType%20The%20given%20content%20type%2C%20to%20infer%20an%20encoding%0A%20%20%20%20%20*%20%20%20%20%20from.%0A%20%20%20%20%20*%20%40return%20%7B*%7D%20Either%20the%20encoded%20body%20as%20a%20string%2C%20if%20successful%2C%0A%20%20%20%20%20*%20%20%20%20%20or%20the%20unaltered%20body%20object%20if%20no%20encoding%20could%20be%20inferred.%0A%20%20%20%20%20*%2F_encodeBodyObject%3Afunction(body%2CcontentType)%7Bif(%22string%22%3D%3Dtypeof%20body)%7Breturn%20body%3B%2F%2F%20Already%20encoded.%0A%7Dvar%20bodyObj%3D%2F**%20%40type%20%7BObject%7D%20*%2Fbody%3Bswitch(contentType)%7Bcase%22application%2Fjson%22%3Areturn%20JSON.stringify(bodyObj)%3Bcase%22application%2Fx-www-form-urlencoded%22%3Areturn%20this._wwwFormUrlEncode(bodyObj)%3B%7Dreturn%20body%7D%2C%2F**%0A%20%20%20%20%20*%20%40param%20%7BObject%7D%20object%20The%20object%20to%20encode%20as%20x-www-form-urlencoded.%0A%20%20%20%20%20*%20%40return%20%7Bstring%7D%20.%0A%20%20%20%20%20*%2F_wwwFormUrlEncode%3Afunction(object)%7Bif(!object)%7Breturn%22%22%7Dvar%20pieces%3D%5B%5D%3BObject.keys(object).forEach(function(key)%7B%2F%2F%20TODO(rictic)%3A%20handle%20array%20values%20here%2C%20in%20a%20consistent%20way%20with%0A%2F%2F%20%20%20iron-ajax%20params.%0Apieces.push(this._wwwFormUrlEncodePiece(key)%2B%22%3D%22%2Bthis._wwwFormUrlEncodePiece(object%5Bkey%5D))%7D%2Cthis)%3Breturn%20pieces.join(%22%26%22)%7D%2C%2F**%0A%20%20%20%20%20*%20%40param%20%7B*%7D%20str%20A%20key%20or%20value%20to%20encode%20as%20x-www-form-urlencoded.%0A%20%20%20%20%20*%20%40return%20%7Bstring%7D%20.%0A%20%20%20%20%20*%2F_wwwFormUrlEncodePiece%3Afunction(str)%7B%2F%2F%20Spec%20says%20to%20normalize%20newlines%20to%20%5Cr%5Cn%20and%20replace%20%2520%20spaces%20with%20%2B.%0A%2F%2F%20jQuery%20does%20this%20as%20well%2C%20so%20this%20is%20likely%20to%20be%20widely%20compatible.%0Aif(null%3D%3D%3Dstr%7C%7Cstr%3D%3D%3Dvoid%200%7C%7C!str.toString)%7Breturn%22%22%7Dreturn%20encodeURIComponent(str.toString().replace(%2F%5Cr%3F%5Cn%2Fg%2C%22%5Cr%5Cn%22)).replace(%2F%2520%2Fg%2C%22%2B%22)%7D%2C%2F**%0A%20%20%20%20%20*%20Updates%20the%20status%20code%20and%20status%20text.%0A%20%20%20%20%20*%2F_updateStatus%3Afunction()%7Bthis._setStatus(this.xhr.status)%3Bthis._setStatusText(this.xhr.statusText%3D%3D%3Dvoid%200%3F%22%22%3Athis.xhr.statusText)%7D%7D)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Firon-ajax%2Firon-request.html.js%0A | 11 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7B'use%20strict'%3B%2F**%0A%20%20Use%20%60Polymer.PaperDialogBehavior%60%20and%20%60paper-dialog-shared-styles.html%60%20to%0A%20%20implement%20a%20Material%20Design%20dialog.%0A%0A%20%20For%20example%2C%20if%20%60%3Cpaper-dialog-impl%3E%60%20implements%20this%20behavior%3A%0A%0A%20%20%20%20%20%20%3Cpaper-dialog-impl%3E%0A%20%20%20%20%20%20%20%20%20%20%3Ch2%3EHeader%3C%2Fh2%3E%0A%20%20%20%20%20%20%20%20%20%20%3Cdiv%3EDialog%20body%3C%2Fdiv%3E%0A%20%20%20%20%20%20%20%20%20%20%3Cdiv%20class%3D%22buttons%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpaper-button%20dialog-dismiss%3ECancel%3C%2Fpaper-button%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpaper-button%20dialog-confirm%3EAccept%3C%2Fpaper-button%3E%0A%20%20%20%20%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%20%20%3C%2Fpaper-dialog-impl%3E%0A%0A%20%20%60paper-dialog-shared-styles.html%60%20provide%20styles%20for%20a%20header%2C%20content%20area%2C%20and%0A%20%20an%20action%20area%20for%20buttons.%20Use%20the%20%60%3Ch2%3E%60%20tag%20for%20the%20header%20and%20the%20%60buttons%60%0A%20%20class%20for%20the%20action%20area.%20You%20can%20use%20the%20%60paper-dialog-scrollable%60%20element%20(in%0A%20%20its%20own%20repository)%20if%20you%20need%20a%20scrolling%20content%20area.%0A%0A%20%20Use%20the%20%60dialog-dismiss%60%20and%20%60dialog-confirm%60%20attributes%20on%20interactive%20controls%0A%20%20to%20close%20the%20dialog.%20If%20the%20user%20dismisses%20the%20dialog%20with%20%60dialog-confirm%60%2C%20the%0A%20%20%60closingReason%60%20will%20update%20to%20include%20%60confirmed%3A%20true%60.%0A%0A%20%20%23%23%23%20Accessibility%0A%0A%20%20This%20element%20has%20%60role%3D%22dialog%22%60%20by%20default.%20Depending%20on%20the%20context%2C%20it%20may%20be%0A%20%20more%20appropriate%20to%20override%20this%20attribute%20with%20%60role%3D%22alertdialog%22%60.%0A%0A%20%20If%20%60modal%60%20is%20set%2C%20the%20element%20will%20prevent%20the%20focus%20from%20exiting%20the%20element.%0A%20%20It%20will%20also%20ensure%20that%20focus%20remains%20in%20the%20dialog.%0A%0A%20%20%40hero%20hero.svg%0A%20%20%40demo%20demo%2Findex.html%0A%20%20%40polymerBehavior%20Polymer.PaperDialogBehavior%0A%20%20*%2FPolymer.PaperDialogBehaviorImpl%3D%7BhostAttributes%3A%7Brole%3A%22dialog%22%2Ctabindex%3A%22-1%22%7D%2Cproperties%3A%7B%2F**%0A%20%20%20%20%20%20%20*%20If%20%60modal%60%20is%20true%2C%20this%20implies%20%60no-cancel-on-outside-click%60%2C%0A%20%20%20%20%20%20%20*%20%60no-cancel-on-esc-key%60%20and%20%60with-backdrop%60.%0A%20%20%20%20%20%20%20*%2Fmodal%3A%7Btype%3ABoolean%2Cvalue%3A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A!1%7D%2C__readied%3A%7Btype%3ABoolean%2Cvalue%3A!1%7D%7D%2Cobservers%3A%5B%22_modalChanged(modal%2C%20__readied)%22%5D%2Clisteners%3A%7Btap%3A%22_onDialogClick%22%7D%2C%2F**%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%2Fready%3Afunction()%7B%2F%2F%20Only%20now%20these%20properties%20can%20be%20read.%0Athis.__prevNoCancelOnOutsideClick%3Dthis.noCancelOnOutsideClick%3Bthis.__prevNoCancelOnEscKey%3Dthis.noCancelOnEscKey%3Bthis.__prevWithBackdrop%3Dthis.withBackdrop%3Bthis.__readied%3D%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%7D%2C_modalChanged%3Afunction(modal%2Creadied)%7B%2F%2F%20modal%20implies%20noCancelOnOutsideClick%2C%20noCancelOnEscKey%20and%20withBackdrop.%0A%2F%2F%20We%20need%20to%20wait%20for%20the%20element%20to%20be%20ready%20before%20we%20can%20read%20the%0A%2F%2F%20properties%20values.%0Aif(!readied)%7Breturn%7Dif(modal)%7Bthis.__prevNoCancelOnOutsideClick%3Dthis.noCancelOnOutsideClick%3Bthis.__prevNoCancelOnEscKey%3Dthis.noCancelOnEscKey%3Bthis.__prevWithBackdrop%3Dthis.withBackdrop%3Bthis.noCancelOnOutsideClick%3D!0%3Bthis.noCancelOnEscKey%3D!0%3Bthis.withBackdrop%3D!0%7Delse%7B%2F%2F%20If%20the%20value%20was%20changed%20to%20false%2C%20let%20it%20false.%0Athis.noCancelOnOutsideClick%3Dthis.noCancelOnOutsideClick%26%26this.__prevNoCancelOnOutsideClick%3Bthis.noCancelOnEscKey%3Dthis.noCancelOnEscKey%26%26this.__prevNoCancelOnEscKey%3Bthis.withBackdrop%3Dthis.withBackdrop%26%26this.__prevWithBackdrop%7D%7D%2C_updateClosingReasonConfirmed%3Afunction(confirmed)%7Bthis.closingReason%3Dthis.closingReason%7C%7C%7B%7D%3Bthis.closingReason.confirmed%3Dconfirmed%7D%2C%2F**%0A%20%20%20%20%20*%20Will%20dismiss%20the%20dialog%20if%20user%20clicked%20on%20an%20element%20with%20dialog-dismiss%0A%20%20%20%20%20*%20or%20dialog-confirm%20attribute.%0A%20%20%20%20%20*%2F_onDialogClick%3Afunction(event)%7B%2F%2F%20Search%20for%20the%20element%20with%20dialog-confirm%20or%20dialog-dismiss%2C%0A%2F%2F%20from%20the%20root%20target%20until%20this%20(excluded).%0Afor(var%20path%3DPolymer.dom(event).path%2Ci%3D0%2Cl%3Dpath.indexOf(this)%2Ctarget%3Bi%3Cl%3Bi%2B%2B)%7Btarget%3Dpath%5Bi%5D%3Bif(target.hasAttribute%26%26(target.hasAttribute(%22dialog-dismiss%22)%7C%7Ctarget.hasAttribute(%22dialog-confirm%22)))%7Bthis._updateClosingReasonConfirmed(target.hasAttribute(%22dialog-confirm%22))%3Bthis.close()%3Bevent.stopPropagation()%3Bbreak%7D%7D%7D%7D%3B%2F**%20%40polymerBehavior%20*%2FPolymer.PaperDialogBehavior%3D%5BPolymer.IronOverlayBehavior%2CPolymer.PaperDialogBehaviorImpl%5D%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fpaper-dialog-behavior%2Fpaper-dialog-behavior.html.js%0A | 4.3 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
tags.tiqcdn.com/utag/ing/es-main/prod/utag.406.js?utv=ut4.49.202211301210 | 16 kB | 2023-03-08 | 2023-03-08 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/localize/localize.js | 480 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/core/styles/components/hiddens.js | 1.2 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/overlays/src/utils/inert-siblings.js | 378 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7B'use%20strict'%3B%2F**%0A%20%20%20*%20Module%20with%20utilities%20for%20manipulating%20structured%20data%20path%20strings.%0A%20%20%20*%0A%20%20%20*%20%40namespace%0A%20%20%20*%20%40memberof%20Polymer%0A%20%20%20*%20%40summary%20Module%20with%20utilities%20for%20manipulating%20structured%20data%20path%20strings.%0A%20%20%20*%2Fconst%20Path%3D%7B%2F**%0A%20%20%20%20%20*%20Returns%20true%20if%20the%20given%20string%20is%20a%20structured%20data%20path%20(has%20dots).%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20Example%3A%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%60%60%60%0A%20%20%20%20%20*%20Polymer.Path.isPath('foo.bar.baz')%20%2F%2F%20true%0A%20%20%20%20%20*%20Polymer.Path.isPath('foo')%20%20%20%20%20%20%20%20%20%2F%2F%20false%0A%20%20%20%20%20*%20%60%60%60%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40memberof%20Polymer.Path%0A%20%20%20%20%20*%20%40param%20%7Bstring%7D%20path%20Path%20string%0A%20%20%20%20%20*%20%40return%20%7Bboolean%7D%20True%20if%20the%20string%20contained%20one%20or%20more%20dots%0A%20%20%20%20%20*%2FisPath%3Afunction(path)%7Breturn%200%3C%3Dpath.indexOf(%22.%22)%7D%2C%2F**%0A%20%20%20%20%20*%20Returns%20the%20root%20property%20name%20for%20the%20given%20path.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20Example%3A%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%60%60%60%0A%20%20%20%20%20*%20Polymer.Path.root('foo.bar.baz')%20%2F%2F%20'foo'%0A%20%20%20%20%20*%20Polymer.Path.root('foo')%20%20%20%20%20%20%20%20%20%2F%2F%20'foo'%0A%20%20%20%20%20*%20%60%60%60%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40memberof%20Polymer.Path%0A%20%20%20%20%20*%20%40param%20%7Bstring%7D%20path%20Path%20string%0A%20%20%20%20%20*%20%40return%20%7Bstring%7D%20Root%20property%20name%0A%20%20%20%20%20*%2Froot%3Afunction(path)%7Blet%20dotIndex%3Dpath.indexOf(%22.%22)%3Bif(-1%3D%3D%3DdotIndex)%7Breturn%20path%7Dreturn%20path.slice(0%2CdotIndex)%7D%2C%2F**%0A%20%20%20%20%20*%20Given%20%60base%60%20is%20%60foo.bar%60%2C%20%60foo%60%20is%20an%20ancestor%2C%20%60foo.bar%60%20is%20not%0A%20%20%20%20%20*%20Returns%20true%20if%20the%20given%20path%20is%20an%20ancestor%20of%20the%20base%20path.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20Example%3A%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%60%60%60%0A%20%20%20%20%20*%20Polymer.Path.isAncestor('foo.bar'%2C%20'foo')%20%20%20%20%20%20%20%20%20%2F%2F%20true%0A%20%20%20%20%20*%20Polymer.Path.isAncestor('foo.bar'%2C%20'foo.bar')%20%20%20%20%20%2F%2F%20false%0A%20%20%20%20%20*%20Polymer.Path.isAncestor('foo.bar'%2C%20'foo.bar.baz')%20%2F%2F%20false%0A%20%20%20%20%20*%20%60%60%60%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40memberof%20Polymer.Path%0A%20%20%20%20%20*%20%40param%20%7Bstring%7D%20base%20Path%20string%20to%20test%20against.%0A%20%20%20%20%20*%20%40param%20%7Bstring%7D%20path%20Path%20string%20to%20test.%0A%20%20%20%20%20*%20%40return%20%7Bboolean%7D%20True%20if%20%60path%60%20is%20an%20ancestor%20of%20%60base%60.%0A%20%20%20%20%20*%2FisAncestor%3Afunction(base%2Cpath)%7B%2F%2F%20%20%20%20%20base.startsWith(path%20%2B%20'.')%3B%0Areturn%200%3D%3D%3Dbase.indexOf(path%2B%22.%22)%7D%2C%2F**%0A%20%20%20%20%20*%20Given%20%60base%60%20is%20%60foo.bar%60%2C%20%60foo.bar.baz%60%20is%20an%20descendant%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20Example%3A%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%60%60%60%0A%20%20%20%20%20*%20Polymer.Path.isDescendant('foo.bar'%2C%20'foo.bar.baz')%20%2F%2F%20true%0A%20%20%20%20%20*%20Polymer.Path.isDescendant('foo.bar'%2C%20'foo.bar')%20%20%20%20%20%2F%2F%20false%0A%20%20%20%20%20*%20Polymer.Path.isDescendant('foo.bar'%2C%20'foo')%20%20%20%20%20%20%20%20%20%2F%2F%20false%0A%20%20%20%20%20*%20%60%60%60%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40memberof%20Polymer.Path%0A%20%20%20%20%20*%20%40param%20%7Bstring%7D%20base%20Path%20string%20to%20test%20against.%0A%20%20%20%20%20*%20%40param%20%7Bstring%7D%20path%20Path%20string%20to%20test.%0A%20%20%20%20%20*%20%40return%20%7Bboolean%7D%20True%20if%20%60path%60%20is%20a%20descendant%20of%20%60base%60.%0A%20%20%20%20%20*%2FisDescendant%3Afunction(base%2Cpath)%7B%2F%2F%20%20%20%20%20path.startsWith(base%20%2B%20'.')%3B%0Areturn%200%3D%3D%3Dpath.indexOf(base%2B%22.%22)%7D%2C%2F**%0A%20%20%20%20%20*%20Replaces%20a%20previous%20base%20path%20with%20a%20new%20base%20path%2C%20preserving%20the%0A%20%20%20%20%20*%20remainder%20of%20the%20path.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20User%20must%20ensure%20%60path%60%20has%20a%20prefix%20of%20%60base%60.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20Example%3A%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%60%60%60%0A%20%20%20%20%20*%20Polymer.Path.translate('foo.bar'%2C%20'zot'%2C%20'foo.bar.baz')%20%2F%2F%20'zot.baz'%0A%20%20%20%20%20*%20%60%60%60%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40memberof%20Polymer.Path%0A%20%20%20%20%20*%20%40param%20%7Bstring%7D%20base%20Current%20base%20string%20to%20remove%0A%20%20%20%20%20*%20%40param%20%7Bstring%7D%20newBase%20New%20base%20string%20to%20replace%20with%0A%20%20%20%20%20*%20%40param%20%7Bstring%7D%20path%20Path%20to%20translate%0A%20%20%20%20%20*%20%40return%20%7Bstring%7D%20Translated%20string%0A%20%20%20%20%20*%2Ftranslate%3Afunction(base%2CnewBase%2Cpath)%7Breturn%20newBase%2Bpath.slice(base.length)%7D%2C%2F**%0A%20%20%20%20%20*%20%40param%20%7Bstring%7D%20base%20Path%20string%20to%20test%20against%0A%20%20%20%20%20*%20%40param%20%7Bstring%7D%20path%20Path%20string%20to%20test%0A%20%20%20%20%20*%20%40return%20%7Bboolean%7D%20True%20if%20%60path%60%20is%20equal%20to%20%60base%60%0A%20%20%20%20%20*%20%40this%20%7BPath%7D%0A%20%20%20%20%20*%2Fmatches%3Afunction(base%2Cpath)%7Breturn%20base%3D%3D%3Dpath%7C%7Cthis.isAncestor(base%2Cpath)%7C%7Cthis.isDescendant(base%2Cpath)%7D%2C%2F**%0A%20%20%20%20%20*%20Converts%20array-based%20paths%20to%20flattened%20path.%20%20String-based%20paths%0A%20%20%20%20%20*%20are%20returned%20as-is.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20Example%3A%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%60%60%60%0A%20%20%20%20%20*%20Polymer.Path.normalize(%5B'foo.bar'%2C%200%2C%20'baz'%5D)%20%20%2F%2F%20'foo.bar.0.baz'%0A%20%20%20%20%20*%20Polymer.Path.normalize('foo.bar.0.baz')%20%20%20%20%20%20%20%20%2F%2F%20'foo.bar.0.baz'%0A%20%20%20%20%20*%20%60%60%60%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40memberof%20Polymer.Path%0A%20%20%20%20%20*%20%40param%20%7Bstring%20%7C%20!Array%3Cstring%7Cnumber%3E%7D%20path%20Input%20path%0A%20%20%20%20%20*%20%40return%20%7Bstring%7D%20Flattened%20path%0A%20%20%20%20%20*%2Fnormalize%3Afunction(path)%7Bif(Array.isArray(path))%7Blet%20parts%3D%5B%5D%3Bfor(let%20i%3D0%2Cargs%3Bi%3Cpath.length%3Bi%2B%2B)%7Bargs%3Dpath%5Bi%5D.toString().split(%22.%22)%3Bfor(let%20j%3D0%3Bj%3Cargs.length%3Bj%2B%2B)%7Bparts.push(args%5Bj%5D)%7D%7Dreturn%20parts.join(%22.%22)%7Delse%7Breturn%20path%7D%7D%2C%2F**%0A%20%20%20%20%20*%20Splits%20a%20path%20into%20an%20array%20of%20property%20names.%20Accepts%20either%20arrays%0A%20%20%20%20%20*%20of%20path%20parts%20or%20strings.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20Example%3A%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%60%60%60%0A%20%20%20%20%20*%20Polymer.Path.split(%5B'foo.bar'%2C%200%2C%20'baz'%5D)%20%20%2F%2F%20%5B'foo'%2C%20'bar'%2C%20'0'%2C%20'baz'%5D%0A%20%20%20%20%20*%20Polymer.Path.split('foo.bar.0.baz')%20%20%20%20%20%20%20%20%2F%2F%20%5B'foo'%2C%20'bar'%2C%20'0'%2C%20'baz'%5D%0A%20%20%20%20%20*%20%60%60%60%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40memberof%20Polymer.Path%0A%20%20%20%20%20*%20%40param%20%7Bstring%20%7C%20!Array%3Cstring%7Cnumber%3E%7D%20path%20Input%20path%0A%20%20%20%20%20*%20%40return%20%7B!Array%3Cstring%3E%7D%20Array%20of%20path%20parts%0A%20%20%20%20%20*%20%40this%20%7BPath%7D%0A%20%20%20%20%20*%20%40suppress%20%7BcheckTypes%7D%0A%20%20%20%20%20*%2Fsplit%3Afunction(path)%7Bif(Array.isArray(path))%7Breturn%20this.normalize(path).split(%22.%22)%7Dreturn%20path.toString().split(%22.%22)%7D%2C%2F**%0A%20%20%20%20%20*%20Reads%20a%20value%20from%20a%20path.%20%20If%20any%20sub-property%20in%20the%20path%20is%20%60undefined%60%2C%0A%20%20%20%20%20*%20this%20method%20returns%20%60undefined%60%20(will%20never%20throw.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40memberof%20Polymer.Path%0A%20%20%20%20%20*%20%40param%20%7BObject%7D%20root%20Object%20from%20which%20to%20dereference%20path%20from%0A%20%20%20%20%20*%20%40param%20%7Bstring%20%7C%20!Array%3Cstring%7Cnumber%3E%7D%20path%20Path%20to%20read%0A%20%20%20%20%20*%20%40param%20%7BObject%3D%7D%20info%20If%20an%20object%20is%20provided%20to%20%60info%60%2C%20the%20normalized%0A%20%20%20%20%20*%20%20(flattened)%20path%20will%20be%20set%20to%20%60info.path%60.%0A%20%20%20%20%20*%20%40return%20%7B*%7D%20Value%20at%20path%2C%20or%20%60undefined%60%20if%20the%20path%20could%20not%20be%0A%20%20%20%20%20*%20%20fully%20dereferenced.%0A%20%20%20%20%20*%20%40this%20%7BPath%7D%0A%20%20%20%20%20*%2Fget%3Afunction(root%2Cpath%2Cinfo)%7Blet%20prop%3Droot%2Cparts%3Dthis.split(path)%3B%2F%2F%20Loop%20over%20path%20parts%5B0..n-1%5D%20and%20dereference%0Afor(let%20i%3D0%3Bi%3Cparts.length%3Bi%2B%2B)%7Bif(!prop)%7Breturn%7Dlet%20part%3Dparts%5Bi%5D%3Bprop%3Dprop%5Bpart%5D%7Dif(info)%7Binfo.path%3Dparts.join(%22.%22)%7Dreturn%20prop%7D%2C%2F**%0A%20%20%20%20%20*%20Sets%20a%20value%20to%20a%20path.%20%20If%20any%20sub-property%20in%20the%20path%20is%20%60undefined%60%2C%0A%20%20%20%20%20*%20this%20method%20will%20no-op.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40memberof%20Polymer.Path%0A%20%20%20%20%20*%20%40param%20%7BObject%7D%20root%20Object%20from%20which%20to%20dereference%20path%20from%0A%20%20%20%20%20*%20%40param%20%7Bstring%20%7C%20!Array%3Cstring%7Cnumber%3E%7D%20path%20Path%20to%20set%0A%20%20%20%20%20*%20%40param%20%7B*%7D%20value%20Value%20to%20set%20to%20path%0A%20%20%20%20%20*%20%40return%20%7Bstring%20%7C%20undefined%7D%20The%20normalized%20version%20of%20the%20input%20path%0A%20%20%20%20%20*%20%40this%20%7BPath%7D%0A%20%20%20%20%20*%2Fset%3Afunction(root%2Cpath%2Cvalue)%7Blet%20prop%3Droot%2Cparts%3Dthis.split(path)%2Clast%3Dparts%5Bparts.length-1%5D%3Bif(1%3Cparts.length)%7B%2F%2F%20Loop%20over%20path%20parts%5B0..n-2%5D%20and%20dereference%0Afor(let%20i%3D0%2Cpart%3Bi%3Cparts.length-1%3Bi%2B%2B)%7Bpart%3Dparts%5Bi%5D%3Bprop%3Dprop%5Bpart%5D%3Bif(!prop)%7Breturn%7D%7D%2F%2F%20Set%20value%20to%20object%20at%20end%20of%20path%0Aprop%5Blast%5D%3Dvalue%7Delse%7B%2F%2F%20Simple%20property%20set%0Aprop%5Bpath%5D%3Dvalue%7Dreturn%20parts.join(%22.%22)%7D%7D%3B%2F**%0A%20%20%20*%20Returns%20true%20if%20the%20given%20string%20is%20a%20structured%20data%20path%20(has%20dots).%0A%20%20%20*%0A%20%20%20*%20This%20function%20is%20deprecated.%20%20Use%20%60Polymer.Path.isPath%60%20instead.%0A%20%20%20*%0A%20%20%20*%20Example%3A%0A%20%20%20*%0A%20%20%20*%20%60%60%60%0A%20%20%20*%20Polymer.Path.isDeep('foo.bar.baz')%20%2F%2F%20true%0A%20%20%20*%20Polymer.Path.isDeep('foo')%20%20%20%20%20%20%20%20%20%2F%2F%20false%0A%20%20%20*%20%60%60%60%0A%20%20%20*%0A%20%20%20*%20%40deprecated%0A%20%20%20*%20%40memberof%20Polymer.Path%0A%20%20%20*%20%40param%20%7Bstring%7D%20path%20Path%20string%0A%20%20%20*%20%40return%20%7Bboolean%7D%20True%20if%20the%20string%20contained%20one%20or%20more%20dots%0A%20%20%20*%2FPath.isDeep%3DPath.isPath%3BPolymer.Path%3DPath%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fpolymer%2Flib%2Futils%2Fpath.html.js%0A | 7.0 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-list/src/IngList.js | 3.8 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/localize/src/LocalizeManager.js | 6.6 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/localize/setFormatPostProcessors.js | 307 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@bundled-es-modules/message-format/MessageFormat.js | 22 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/icon/oj-icons/outline/arrows/arrow_left_outline.svg.js | 222 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lodash-es/_getRawTag.js | 250 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7B'use%20strict'%3Bconst%20MODULE_STYLE_LINK_SELECTOR%3D%22link%5Brel%3Dimport%5D%5Btype~%3Dcss%5D%22%2CINCLUDE_ATTR%3D%22include%22%2CSHADY_UNSCOPED_ATTR%3D%22shady-unscoped%22%3Bfunction%20importModule(moduleId)%7Bconst%2F**%20Polymer.DomModule%20*%2FPolymerDomModule%3DcustomElements.get(%22dom-module%22)%3Bif(!PolymerDomModule)%7Breturn%20null%7Dreturn%20PolymerDomModule.import(moduleId)%7Dfunction%20styleForImport(importDoc)%7B%2F%2F%20NOTE%3A%20polyfill%20affordance.%0A%2F%2F%20under%20the%20HTMLImports%20polyfill%2C%20there%20will%20be%20no%20'body'%2C%0A%2F%2F%20but%20the%20import%20pseudo-doc%20can%20be%20used%20directly.%0Alet%20container%3DimportDoc.body%3FimportDoc.body%3AimportDoc%3Bconst%20importCss%3DPolymer.ResolveUrl.resolveCss(container.textContent%2CimportDoc.baseURI)%2Cstyle%3Ddocument.createElement(%22style%22)%3Bstyle.textContent%3DimportCss%3Breturn%20style%7D%2F**%20%40typedef%20%7B%7Bassetpath%3A%20string%7D%7D%20*%2Flet%20templateWithAssetPath%3B%2F%2F%20eslint-disable-line%20no-unused-vars%0A%2F**%0A%20%20%20*%20Module%20with%20utilities%20for%20collection%20CSS%20text%20from%20%60%3Ctemplates%3E%60%2C%20external%0A%20%20%20*%20stylesheets%2C%20and%20%60dom-module%60s.%0A%20%20%20*%0A%20%20%20*%20%40namespace%0A%20%20%20*%20%40memberof%20Polymer%0A%20%20%20*%20%40summary%20Module%20with%20utilities%20for%20collection%20CSS%20text%20from%20various%20sources.%0A%20%20%20*%2Fconst%20StyleGather%3D%7B%2F**%0A%20%20%20%20%20*%20Returns%20a%20list%20of%20%3Cstyle%3E%20elements%20in%20a%20space-separated%20list%20of%20%60dom-module%60s.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40memberof%20Polymer.StyleGather%0A%20%20%20%20%20*%20%40param%20%7Bstring%7D%20moduleIds%20List%20of%20dom-module%20id's%20within%20which%20to%0A%20%20%20%20%20*%20search%20for%20css.%0A%20%20%20%20%20*%20%40return%20%7B!Array%3C!HTMLStyleElement%3E%7D%20Array%20of%20contained%20%3Cstyle%3E%20elements%0A%20%20%20%20%20*%20%40this%20%7BStyleGather%7D%0A%20%20%20%20%20*%2FstylesFromModules(moduleIds)%7Bconst%20modules%3DmoduleIds.trim().split(%2F%5Cs%2B%2F)%2Cstyles%3D%5B%5D%3Bfor(let%20i%3D0%3Bi%3Cmodules.length%3Bi%2B%2B)%7Bstyles.push(...this.stylesFromModule(modules%5Bi%5D))%7Dreturn%20styles%7D%2C%2F**%0A%20%20%20%20%20*%20Returns%20a%20list%20of%20%3Cstyle%3E%20elements%20in%20a%20given%20%60dom-module%60.%0A%20%20%20%20%20*%20Styles%20in%20a%20%60dom-module%60%20can%20come%20either%20from%20%60%3Cstyle%3E%60s%20within%20the%0A%20%20%20%20%20*%20first%20%60%3Ctemplate%3E%60%2C%20or%20else%20from%20one%20or%20more%0A%20%20%20%20%20*%20%60%3Clink%20rel%3D%22import%22%20type%3D%22css%22%3E%60%20links%20outside%20the%20template.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40memberof%20Polymer.StyleGather%0A%20%20%20%20%20*%20%40param%20%7Bstring%7D%20moduleId%20dom-module%20id%20to%20gather%20styles%20from%0A%20%20%20%20%20*%20%40return%20%7B!Array%3C!HTMLStyleElement%3E%7D%20Array%20of%20contained%20styles.%0A%20%20%20%20%20*%20%40this%20%7BStyleGather%7D%0A%20%20%20%20%20*%2FstylesFromModule(moduleId)%7Bconst%20m%3DimportModule(moduleId)%3Bif(!m)%7Bconsole.warn(%22Could%20not%20find%20style%20data%20in%20module%20named%22%2CmoduleId)%3Breturn%5B%5D%7Dif(m._styles%3D%3D%3D%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0Avoid%200)%7Bconst%20styles%3D%5B...this._stylesFromModuleImports(m)%5D%2Ctemplate%3Dm.querySelector(%22template%22)%3B%2F%2F%20module%20imports%3A%20%3Clink%20rel%3D%22import%22%20type%3D%22css%22%3E%0Aif(template)%7Bstyles.push(...this.stylesFromTemplate(template%2C%2F**%20%40type%20%7BtemplateWithAssetPath%7D%20*%2Fm.assetpath))%7Dm._styles%3Dstyles%7Dreturn%20m._styles%7D%2C%2F**%0A%20%20%20%20%20*%20Returns%20the%20%60%3Cstyle%3E%60%20elements%20within%20a%20given%20template.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40memberof%20Polymer.StyleGather%0A%20%20%20%20%20*%20%40param%20%7B!HTMLTemplateElement%7D%20template%20Template%20to%20gather%20styles%20from%0A%20%20%20%20%20*%20%40param%20%7Bstring%7D%20baseURI%20baseURI%20for%20style%20content%0A%20%20%20%20%20*%20%40return%20%7B!Array%3C!HTMLStyleElement%3E%7D%20Array%20of%20styles%0A%20%20%20%20%20*%20%40this%20%7BStyleGather%7D%0A%20%20%20%20%20*%2FstylesFromTemplate(template%2CbaseURI)%7Bif(!template._styles)%7Bconst%20styles%3D%5B%5D%2Ce%24%3Dtemplate.content.querySelectorAll(%22style%22)%3B%2F%2F%20if%20element%20is%20a%20template%2C%20get%20content%20from%20its%20.content%0Afor(let%20i%3D0%3Bi%3Ce%24.length%3Bi%2B%2B)%7Blet%20e%3De%24%5Bi%5D%2Cinclude%3De.getAttribute(INCLUDE_ATTR)%3B%2F%2F%20support%20style%20sharing%20by%20allowing%20styles%20to%20%22include%22%0A%2F%2F%20other%20dom-modules%20that%20contain%20styling%0Aif(include)%7Bstyles.push(...this.stylesFromModules(include).filter(function(item%2Cindex%2Cself)%7Breturn%20self.indexOf(item)%3D%3D%3Dindex%7D))%7Dif(baseURI)%7Be.textContent%3DPolymer.ResolveUrl.resolveCss(e.textContent%2CbaseURI)%7Dstyles.push(e)%7Dtemplate._styles%3Dstyles%7Dreturn%20template._styles%7D%2C%2F**%0A%20%20%20%20%20*%20Returns%20a%20list%20of%20%3Cstyle%3E%20elements%20%20from%20stylesheets%20loaded%20via%20%60%3Clink%20rel%3D%22import%22%20type%3D%22css%22%3E%60%20links%20within%20the%20specified%20%60dom-module%60.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40memberof%20Polymer.StyleGather%0A%20%20%20%20%20*%20%40param%20%7Bstring%7D%20moduleId%20Id%20of%20%60dom-module%60%20to%20gather%20CSS%20from%0A%20%20%20%20%20*%20%40return%20%7B!Array%3C!HTMLStyleElement%3E%7D%20Array%20of%20contained%20styles.%0A%20%20%20%20%20*%20%40this%20%7BStyleGather%7D%0A%20%20%20%20%20*%2FstylesFromModuleImports(moduleId)%7Blet%20m%3DimportModule(moduleId)%3Breturn%20m%3Fthis._stylesFromModuleImports(m)%3A%5B%5D%7D%2C%2F**%0A%20%20%20%20%20*%20%40memberof%20Polymer.StyleGather%0A%20%20%20%20%20*%20%40this%20%7BStyleGather%7D%0A%20%20%20%20%20*%20%40param%20%7B!HTMLElement%7D%20module%20dom-module%20element%20that%20could%20contain%20%60%3Clink%20rel%3D%22import%22%20type%3D%22css%22%3E%60%20styles%0A%20%20%20%20%20*%20%40return%20%7B!Array%3C!HTMLStyleElement%3E%7D%20Array%20of%20contained%20styles%0A%20%20%20%20%20*%2F_stylesFromModuleImports(module)%7Bconst%20styles%3D%5B%5D%2Cp%24%3Dmodule.querySelectorAll(MODULE_STYLE_LINK_SELECTOR)%3Bfor(let%20i%3D0%2Cp%3Bi%3Cp%24.length%3Bi%2B%2B)%7Bp%3Dp%24%5Bi%5D%3Bif(p.import)%7Bconst%20importDoc%3Dp.import%2Cunscoped%3Dp.hasAttribute(SHADY_UNSCOPED_ATTR)%3Bif(unscoped%26%26!importDoc._unscopedStyle)%7Bconst%20style%3DstyleForImport(importDoc)%3Bstyle.setAttribute(SHADY_UNSCOPED_ATTR%2C%22%22)%3BimportDoc._unscopedStyle%3Dstyle%7Delse%20if(!importDoc._style)%7BimportDoc._style%3DstyleForImport(importDoc)%7Dstyles.push(unscoped%3FimportDoc._unscopedStyle%3AimportDoc._style)%7D%7Dreturn%20styles%7D%2C%2F**%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20Returns%20CSS%20text%20of%20styles%20in%20a%20space-separated%20list%20of%20%60dom-module%60s.%0A%20%20%20%20%20*%20Note%3A%20This%20method%20is%20deprecated%2C%20use%20%60stylesFromModules%60%20instead.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40deprecated%0A%20%20%20%20%20*%20%40memberof%20Polymer.StyleGather%0A%20%20%20%20%20*%20%40param%20%7Bstring%7D%20moduleIds%20List%20of%20dom-module%20id's%20within%20which%20to%0A%20%20%20%20%20*%20search%20for%20css.%0A%20%20%20%20%20*%20%40return%20%7Bstring%7D%20Concatenated%20CSS%20content%20from%20specified%20%60dom-module%60s%0A%20%20%20%20%20*%20%40this%20%7BStyleGather%7D%0A%20%20%20%20%20*%2FcssFromModules(moduleIds)%7Blet%20modules%3DmoduleIds.trim().split(%2F%5Cs%2B%2F)%2CcssText%3D%22%22%3Bfor(let%20i%3D0%3Bi%3Cmodules.length%3Bi%2B%2B)%7BcssText%2B%3Dthis.cssFromModule(modules%5Bi%5D)%7Dreturn%20cssText%7D%2C%2F**%0A%20%20%20%20%20*%20Returns%20CSS%20text%20of%20styles%20in%20a%20given%20%60dom-module%60.%20%20CSS%20in%20a%20%60dom-module%60%0A%20%20%20%20%20*%20can%20come%20either%20from%20%60%3Cstyle%3E%60s%20within%20the%20first%20%60%3Ctemplate%3E%60%2C%20or%20else%0A%20%20%20%20%20*%20from%20one%20or%20more%20%60%3Clink%20rel%3D%22import%22%20type%3D%22css%22%3E%60%20links%20outside%20the%0A%20%20%20%20%20*%20template.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20Any%20%60%3Cstyles%3E%60%20processed%20are%20removed%20from%20their%20original%20location.%0A%20%20%20%20%20*%20Note%3A%20This%20method%20is%20deprecated%2C%20use%20%60styleFromModule%60%20instead.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40deprecated%0A%20%20%20%20%20*%20%40memberof%20Polymer.StyleGather%0A%20%20%20%20%20*%20%40param%20%7Bstring%7D%20moduleId%20dom-module%20id%20to%20gather%20styles%20from%0A%20%20%20%20%20*%20%40return%20%7Bstring%7D%20Concatenated%20CSS%20content%20from%20specified%20%60dom-module%60%0A%20%20%20%20%20*%20%40this%20%7BStyleGather%7D%0A%20%20%20%20%20*%2FcssFromModule(moduleId)%7Blet%20m%3DimportModule(moduleId)%3Bif(m%26%26m._cssText%3D%3D%3Dvoid%200)%7B%2F%2F%20module%20imports%3A%20%3Clink%20rel%3D%22import%22%20type%3D%22css%22%3E%0Alet%20cssText%3Dthis._cssFromModuleImports(m)%2Ct%3Dm.querySelector(%22template%22)%3B%2F%2F%20include%20css%20from%20the%20first%20template%20in%20the%20module%0Aif(t)%7BcssText%2B%3Dthis.cssFromTemplate(t%2C%2F**%20%40type%20%7BtemplateWithAssetPath%7D%20*%2Fm.assetpath)%7Dm._cssText%3DcssText%7C%7Cnull%7Dif(!m)%7Bconsole.warn(%22Could%20not%20find%20style%20data%20in%20module%20named%22%2CmoduleId)%7Dreturn%20m%26%26m._cssText%7C%7C%22%22%7D%2C%2F**%0A%20%20%20%20%20*%20Returns%20CSS%20text%20of%20%60%3Cstyles%3E%60%20within%20a%20given%20template.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20Any%20%60%3Cstyles%3E%60%20processed%20are%20removed%20from%20their%20original%20location.%0A%20%20%20%20%20*%20Note%3A%20This%20method%20is%20deprecated%2C%20use%20%60styleFromTemplate%60%20instead.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40deprecated%0A%20%20%20%20%20*%20%40memberof%20Polymer.StyleGather%0A%20%20%20%20%20*%20%40param%20%7B!HTMLTemplateElement%7D%20template%20Template%20to%20gather%20styles%20from%0A%20%20%20%20%20*%20%40param%20%7Bstring%7D%20baseURI%20Base%20URI%20to%20resolve%20the%20URL%20against%0A%20%20%20%20%20*%20%40return%20%7Bstring%7D%20Concatenated%20CSS%20content%20from%20specified%20template%0A%20%20%20%20%20*%20%40this%20%7BStyleGather%7D%0A%20%20%20%20%20*%2FcssFromTemplate(template%2CbaseURI)%7Blet%20cssText%3D%22%22%3Bconst%20e%24%3Dthis.stylesFromTemplate(template%2CbaseURI)%3B%2F%2F%20if%20element%20is%20a%20template%2C%20get%20content%20from%20its%20.content%0Afor(let%20i%3D0%2Ce%3Bi%3Ce%24.length%3Bi%2B%2B)%7Be%3De%24%5Bi%5D%3Bif(e.parentNode)%7Be.parentNode.removeChild(e)%7DcssText%2B%3De.textContent%7Dreturn%20cssText%7D%2C%2F**%0A%20%20%20%20%20*%20Returns%20CSS%20text%20from%20stylesheets%20loaded%20via%20%60%3Clink%20rel%3D%22import%22%20type%3D%22css%22%3E%60%0A%20%20%20%20%20*%20links%20within%20the%20specified%20%60dom-module%60.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20Note%3A%20This%20method%20is%20deprecated%2C%20use%20%60stylesFromModuleImports%60%20instead.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40deprecated%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40memberof%20Polymer.StyleGather%0A%20%20%20%20%20*%20%40param%20%7Bstring%7D%20moduleId%20Id%20of%20%60dom-module%60%20to%20gather%20CSS%20from%0A%20%20%20%20%20*%20%40return%20%7Bstring%7D%20Concatenated%20CSS%20content%20from%20links%20in%20specified%20%60dom-module%60%0A%20%20%20%20%20*%20%40this%20%7BStyleGather%7D%0A%20%20%20%20%20*%2FcssFromModuleImports(moduleId)%7Blet%20m%3DimportModule(moduleId)%3Breturn%20m%3Fthis._cssFromModuleImports(m)%3A%22%22%7D%2C%2F**%0A%20%20%20%20%20*%20%40deprecated%0A%20%20%20%20%20*%20%40memberof%20Polymer.StyleGather%0A%20%20%20%20%20*%20%40this%20%7BStyleGather%7D%0A%20%20%20%20%20*%20%40param%20%7B!HTMLElement%7D%20module%20dom-module%20element%20that%20could%20contain%20%60%3Clink%20rel%3D%22import%22%20type%3D%22css%22%3E%60%20styles%0A%20%20%20%20%20*%20%40return%20%7Bstring%7D%20Concatenated%20CSS%20content%20from%20links%20in%20the%20dom-module%0A%20%20%20%20%20*%2F_cssFromModuleImports(module)%7Blet%20cssText%3D%22%22%2Cstyles%3Dthis._stylesFromModuleImports(module)%3Bfor(let%20i%3D0%3Bi%3Cstyles.length%3Bi%2B%2B)%7BcssText%2B%3Dstyles%5Bi%5D.textContent%7Dreturn%20cssText%7D%7D%3BPolymer.StyleGather%3DStyleGather%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fpolymer%2Flib%2Futils%2Fstyle-gather.html.js%0A | 8.8 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-list/src/IngList.styles.js | 1.9 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/core/node_modules/lit-element/lib/css-tag.js | 1.5 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lodash-es/toNumber.js | 426 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lodash-es/_freeGlobal.js | 87 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/directives/guard.js | 891 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@open-wc/scoped-elements/src/ScopedElementsMixin.js | 1.4 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7B'use%20strict'%3B%2F**%0A%20%20%20%20%20*%20%40constructor%0A%20%20%20%20%20*%20%40extends%20%7BHTMLElement%7D%0A%20%20%20%20%20*%20%40implements%20%7BPolymer_PropertyEffects%7D%0A%20%20%20%20%20*%20%40implements%20%7BPolymer_OptionalMutableData%7D%0A%20%20%20%20%20*%20%40implements%20%7BPolymer_GestureEventListeners%7D%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2Fconst%20domBindBase%3DPolymer.GestureEventListeners(Polymer.OptionalMutableData(Polymer.PropertyEffects(HTMLElement)))%3B%2F**%0A%20%20%20%20%20*%20Custom%20element%20to%20allow%20using%20Polymer's%20template%20features%20(data%20binding%2C%0A%20%20%20%20%20*%20declarative%20event%20listeners%2C%20etc.)%20in%20the%20main%20document%20without%20defining%0A%20%20%20%20%20*%20a%20new%20custom%20element.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%60%3Ctemplate%3E%60%20tags%20utilizing%20bindings%20may%20be%20wrapped%20with%20the%20%60%3Cdom-bind%3E%60%0A%20%20%20%20%20*%20element%2C%20which%20will%20immediately%20stamp%20the%20wrapped%20template%20into%20the%20main%0A%20%20%20%20%20*%20document%20and%20bind%20elements%20to%20the%20%60dom-bind%60%20element%20itself%20as%20the%0A%20%20%20%20%20*%20binding%20scope.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40polymer%0A%20%20%20%20%20*%20%40customElement%0A%20%20%20%20%20*%20%40appliesMixin%20Polymer.PropertyEffects%0A%20%20%20%20%20*%20%40appliesMixin%20Polymer.OptionalMutableData%0A%20%20%20%20%20*%20%40appliesMixin%20Polymer.GestureEventListeners%0A%20%20%20%20%20*%20%40extends%20%7BdomBindBase%7D%0A%20%20%20%20%20*%20%40memberof%20Polymer%0A%20%20%20%20%20*%20%40summary%20Custom%20element%20to%20allow%20using%20Polymer's%20template%20features%20(data%0A%20%20%20%20%20*%20%20%20binding%2C%20declarative%20event%20listeners%2C%20etc.)%20in%20the%20main%20document.%0A%20%20%20%20%20*%2Fclass%20DomBind%20extends%20domBindBase%7Bstatic%20get%20observedAttributes()%7Breturn%5B%22mutable-data%22%5D%7Dconstructor()%7Bsuper()%3Bif(Polymer.strictTemplatePolicy)%7Bthrow%20new%20Error(%60strictTemplatePolicy%3A%20dom-bind%20not%20allowed%60)%7Dthis.root%3Dnull%3Bthis.%24%3Dnull%3Bthis.__children%3Dnull%7D%2F**%20%40return%20%7Bvoid%7D%20*%2FattributeChangedCallback()%7B%2F%2F%20assumes%20only%20one%20observed%20attribute%0Athis.mutableData%3D%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%7D%2F**%20%40return%20%7Bvoid%7D%20*%2FconnectedCallback()%7Bthis.style.display%3D%22none%22%3Bthis.render()%7D%2F**%20%40return%20%7Bvoid%7D%20*%2FdisconnectedCallback()%7Bthis.__removeChildren()%7D__insertChildren()%7Bthis.parentNode.insertBefore(this.root%2Cthis)%7D__removeChildren()%7Bif(this.__children)%7Bfor(let%20i%3D0%3Bi%3Cthis.__children.length%3Bi%2B%2B)%7Bthis.root.appendChild(this.__children%5Bi%5D)%7D%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Forces%20the%20element%20to%20render%20its%20content.%20This%20is%20typically%20only%0A%20%20%20%20%20%20%20*%20necessary%20to%20call%20if%20HTMLImports%20with%20the%20async%20attribute%20are%20used.%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2Frender()%7Blet%20template%3Bif(!this.__children)%7Btemplate%3D%2F**%20%40type%20%7BHTMLTemplateElement%7D%20*%2Ftemplate%7C%7Cthis.querySelector(%22template%22)%3Bif(!template)%7B%2F%2F%20Wait%20until%20childList%20changes%20and%20template%20should%20be%20there%20by%20then%0Alet%20observer%3Dnew%20MutationObserver(()%3D%3E%7Btemplate%3D%2F**%20%40type%20%7BHTMLTemplateElement%7D%20*%2Fthis.querySelector(%22template%22)%3Bif(template)%7Bobserver.disconnect()%3Bthis.render()%7Delse%7Bthrow%20new%20Error(%22dom-bind%20requires%20a%20%3Ctemplate%3E%20child%22)%7D%7D)%3Bobserver.observe(this%2C%7BchildList%3A!0%7D)%3Breturn%7Dthis.root%3Dthis._stampTemplate(template)%3Bthis.%24%3Dthis.root.%24%3Bthis.__children%3D%5B%5D%3Bfor(let%20n%3Dthis.root.firstChild%3Bn%3Bn%3Dn.nextSibling)%7Bthis.__children%5Bthis.__children.length%5D%3Dn%7Dthis._enableProperties()%7Dthis.__insertChildren()%3Bthis.dispatchEvent(new%20CustomEvent(%22dom-change%22%2C%7Bbubbles%3A!0%2Ccomposed%3A!0%7D))%7D%7DcustomElements.define(%22dom-bind%22%2CDomBind)%3B%2F**%20%40const%20*%2FPolymer.DomBind%3DDomBind%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fpolymer%2Flib%2Felements%2Fdom-bind.html.js%0A | 3.4 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,%2F**%0A%20%20%20%20%20*%20%60ing-uic-cms-lightbox%60%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40customElement%0A%20%20%20%20%20*%20%40polymer%0A%20%20%20%20%20*%20%40demo%20demo%2Findex.html%0A%20%20%20%20%20*%2Fclass%20IngUicCmsLightbox%20extends%20Polymer.GestureEventListeners(Polymer.Element)%7B%2F**%0A%20%20%20%20%20%20%20*%20Component%20definition%0A%20%20%20%20%20%20%20*%2Fstatic%20get%20is()%7Breturn%22ing-uic-cms-lightbox%22%7D%2F**%0A%20%20%20%20%20%20%20*%20Properties%0A%20%20%20%20%20%20%20*%2Fstatic%20get%20properties()%7Breturn%7B%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20Data%20from%20api%20source%0A%20%20%20%20%20%20%20%20%20%20%20*%2Fdata%3AObject%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20Translated%20label%20received%20from%20anchor%0A%20%20%20%20%20%20%20%20%20%20%20*%2FcloseLabel%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20Saved%20scroll%20from%20anchor%20to%20be%20passed%20to%20window%0A%20%20%20%20%20%20%20%20%20%20%20*%2FtoScroll%3ANumber%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Connected%20callback%20lifeCycle%20method.%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2FconnectedCallback()%7Bsuper.connectedCallback()%3Bconst%20isChrome%3D!!window.chrome%26%26!!window.chrome.webstore%3Bwindow.document.getElementsByTagName(%22body%22)%5B0%5D.setAttribute(%22style%22%2C%22pointer-events%3A%20none%3B%20position%3A%20fixed%3B%20overflow%3A%20hidden%3B%22)%3Bthis.isExplorer%3D-1%3Cnavigator.userAgent.indexOf(%22MSIE%20%22)%7C%7C-1%3Cnavigator.userAgent.indexOf(%22Trident%2F%22)%3Bthis.dialogsArray%3DArray.prototype.slice.call(this.shadowRoot.querySelectorAll(%22paper-dialog%22))%3BPolymer.RenderStatus.afterNextRender(this%2C()%3D%3E%7Bif(!isChrome)%7Bthis._removeHeadScript()%3Bthis._loadScript(this._composeScriptPath()).then(()%3D%3E%7Bthis._observeContentResize()%7D)%7Delse%7Bthis._observeContentResize()%7D%7D)%7D%2F**%0A%20%20%20%20%20%20%20*%20Compose%20path%20to%20reach%20script.%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2F_composeScriptPath()%7Bconst%20location%3Dwindow.location%2B%22%22%3Blet%20rootPath%3D%22%22%2Croot%3D%22%22%3Bif(%22localhost%3A9999%22%3D%3D%3Dwindow.location.host%7C%7C%22127.0.0.1%3A9999%22%3D%3D%3Dwindow.location.host)%7Broot%3D%22http%3A%2F%2F%22%3BrootPath%3D%22127.0.0.1%3A9999%2Fwc%22%7Delse%7Broot%3D%22https%3A%2F%2F%22%3BrootPath%3D(window.location.host%2B%22%22).replace(%22catalog%22%2C%22%22).concat(%22%2Fwc%22)%7Dlet%20suffix%3D%22%2Fbower_components%2Fing-uic-cms-lightbox%2FResizeObserver.js%22%2CcompleteSuffix%3Bif(navigator.userAgent.includes(%22rv%3A11.0%22)%7C%7Cnavigator.userAgent.includes(%22msie%207.0%3B%22))%7BcompleteSuffix%3D%60%2Fes5%24%7Bsuffix%7D%60%7Delse%7BcompleteSuffix%3D%60%2Fes6%24%7Bsuffix%7D%60%7Dif(-1!%3D%3Dlocation.indexOf(%22demo%22))%7BrootPath%3Dlocation.replace(%22demo%2F%22%2C%22%22)%3BcompleteSuffix%3D%22ResizeObserver.js%22%7Dreturn%20root.concat(rootPath).concat(completeSuffix)%7D%2F**%0A%20%20%20%20%20%20%20*%20Remove%20script%20into%20document%20head.%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2F_removeHeadScript()%7Bconst%20resizeObserverScript%3D%5B%5D.slice.call(document.head.querySelectorAll(%22%5Bsrc%24%3D%5C%22%2FResizeObserver.js%5C%22%5D%22))%3Bfor(const%20index%20in%20resizeObserverScript)%7Bif(%22undefined%22!%3D%3Dtypeof%20resizeObserverScript%5Bindex%5D%26%26resizeObserverScript%5Bindex%5D)%7BresizeObserverScript%5Bindex%5D.parentNode.removeChild(resizeObserverScript%5Bindex%5D)%7D%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Load%20script%20into%20document%20head.%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2F_loadScript(src)%7Breturn%20new%20Promise(resolve%3D%3E%7Bconst%20js%3Ddocument.createElement(%22script%22)%3Bjs.setAttribute(%22type%22%2C%22text%2Fjavascript%22)%3Bjs.setAttribute(%22src%22%2Csrc)%3Bjs.setAttribute(%22async%22%2C%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A)%3Bdocument.head.appendChild(js)%3Bjs.onload%3D()%3D%3E%7Bdocument.head.appendChild(js)%3Bresolve(ResizeObserver)%7D%7D)%7D%2F**%0A%20%20%20%20%20%20%20*%20Create%20observer%20to%20detect%20content%20resize.%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2F_observeContentResize()%7Bif(%22undefined%22!%3D%3Dtypeof%20ResizeObserver%26%26ResizeObserver)%7Bconst%20contentWrapper%3Dthis.dialogsArray.map(dialog%3D%3E%7Bconst%20el%3Ddialog%3Bel.style.zIndex%3D100001%3Bif(768%3E%3Dwindow.innerWidth)%7Bel.style.top%3D%224.4em%22%7Dreturn%20dialog%7D).filter(dialog%3D%3E%22none%22!%3D%3Ddialog.style.display)%3Bthis.urlContainerHeightObserver%3Dnew%20ResizeObserver(entries%3D%3E%7Bentries.forEach(()%3D%3E%7Bthis._scrollController(this.container)%7D)%7D)%3Bif(contentWrapper%5B0%5D)%7Bconst%20backdrop%3Dwindow.document.querySelector(%22iron-overlay-backdrop%22)%3Bif(backdrop)%7Bwindow.document.querySelector(%22iron-overlay-backdrop%22).style.zIndex%3D%22100000%22%7Dthis.urlContentWrapper%3DcontentWrapper%5B0%5D.querySelector(%22paper-dialog-scrollable%22).querySelector(%22ing-uic-cms-url-visualizator%22).shadowRoot.querySelector(%22%23urlContent%22)%3Bthis.urlContainerHeightObserver.observe(this.urlContentWrapper)%7D%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Disconnected%20callback%20lifeCycle%20method.%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2FdisconnectedCallback()%7Bsuper.disconnectedCallback()%3Bif(%22undefined%22!%3D%3Dtypeof%20this.urlContainerHeightObserver%26%26this.urlContainerHeightObserver)%7Bthis.urlContainerHeightObserver.disconnect()%7Dthis._removeHeadScript()%7D%2F**%0A%20%20%20%20%20%20%20*%20Adjust%20parameter%20to%20control%20over%20scroll%20element.%0A%20%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20deltaEvent%20event%20information.%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2F_normalizeDelta(deltaEvent)%7Blet%20delta%3D0%3Bconst%7BwheelDelta%2CdeltaY%7D%3DdeltaEvent%3B%2F%2F%20CHROME%20WIN%2FMAC%20%7C%20SAFARI%207%20MAC%20%7C%20OPERA%20WIN%2FMAC%20%7C%20EDGE%0Aif(wheelDelta)%7Bdelta%3D-wheelDelta%2F120%7D%2F%2F%20FIREFOX%20WIN%20%2F%20MAC%20%7C%20IE%0Aif(deltaY)%7Bdelta%3D0%3CdeltaY%3F1%3A-1%7Dreturn%209*delta%7D%2F**%0A%20%20%20%20%20%20%20*%20Controller%20to%20scrollbar%20when%20track%20action.%0A%20%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20e%20event%20information.%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2F_scrollbarTrackAction(e)%7Bif(!this.isExplorer)%7Bthis.scrollbarAction%3D!0%7Dswitch(e.detail.state)%7Bcase%22start%22%3A%7Bthis.scrollbarPositionInit%3Dthis.scrollbar.offsetTop%3Bthis.contentPositionInit%3Dthis.content.scrollTop%3Bbreak%7Dcase%22track%22%3A%7Blet%20advance%3D%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A!1%3Badvance%3D0%3Ee.detail.dy%26%260%3C%3Dthis.scrollbar.offsetTop%7C%7C0%3Ce.detail.dy%26%26this.scrollbar.offsetTop%3Cthis.container.querySelector(%22%23scrollbar-container%22).clientHeight-.9*this.scrollbar.clientHeight%3Bif(advance)%7Bthis.scrollbar.style.top%3D%60%24%7Bthis.scrollbarPositionInit%2Be.detail.dy%7Dpx%60%3Bconst%20afterGap%3Dthis.contentContainer.clientHeight%2Fthis.scrollbar.clientHeight%2CratioAmplification%3Dthis.scrollbarContainer.clientHeight*afterGap%2Fthis.contentContainer.clientHeight%3Bthis.content.scrollTop%3Dthis.contentPositionInit%2Be.detail.dy*ratioAmplification%7Dbreak%7Ddefault%3A%7Bbreak%7D%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Launched%20when%20dialog%20is%20closed.%0A%20%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20e%20Object%20with%20event%20data.%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2F_onCloseDialog(e)%7Bconst%20path%3De.composedPath%26%26e.composedPath()%7C%7Ce.path%3Blet%20targetToAssign%3D%22%22%3Bif(%22informative%22%3D%3D%3Dpath%5B0%5D.id)%7BtargetToAssign%3D%22_simpleLightbox%22%7Delse%20if(%22interactive%22%3D%3D%3Dpath%5B0%5D.id)%7BtargetToAssign%3D%22_modalLightbox%22%7Dif(this.container)%7Bwindow.document.body.dispatchEvent(new%20CustomEvent(%22lightbox-closed%22%2C%7Bdetail%3A%7Btarget%3AtargetToAssign%2Chref%3Athis.container.getAttribute(%22href%22)%7D%7D))%7Dwindow.document.getElementsByTagName(%22body%22)%5B0%5D.removeAttribute(%22style%22)%3Bwindow.scrollTo(0%2Cthis.toScroll)%7D%2F**%0A%20%20%20%20%20%20%20*%20Launched%20when%20dialog%20is%20opened.%0A%20%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20e%20Object%20with%20event%20data.%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2F_onOpenDialog(e)%7Bconst%20path%3De.composedPath%26%26e.composedPath()%7C%7Ce.path%3Bthis.isExplorer%3D-1%3Cnavigator.userAgent.indexOf(%22MSIE%20%22)%7C%7C-1%3Cnavigator.userAgent.indexOf(%22Trident%2F%22)%3B%5Bthis.container%5D%3Dpath%3Bif(this.container)%7Bthis.connectedCallback()%3Bthis.scrollbar%3Dthis.container.querySelector(%22%23scrollbar%22)%3Bif(this.container.querySelector(%22paper-dialog-scrollable%22).%24)%7Bthis.content%3Dthis.container.querySelector(%22paper-dialog-scrollable%22).%24.scrollable%3BsetTimeout(()%3D%3E%7Bthis.content.scrollTop%3D0%3B%2F%2F%20to%20ie%0Athis.content.style.height%3D%22100%25%22%3Bif(this.container.getAttribute(%22htmlContentData%22))%7Bthis.container.querySelector(%22ing-uic-cms-url-visualizator%22).setAttribute(%22data%22%2Cthis.container.getAttribute(%22htmlContentData%22))%7Delse%7Bthis.container.querySelector(%22ing-uic-cms-url-visualizator%22).setAttribute(%22url%22%2Cthis.container.getAttribute(%22href%22))%7Dthis.container.opened%3D!0%3BPolymer.updateStyles(%7B%22--iron-overlay-backdrop-background-color%22%3A%22%230b0b0b%22%2C%22--iron-overlay-backdrop-opacity%22%3A%220.8%22%2C%22--ing-scrollbar-layout-scroll%22%3A%22hidden%22%2C%22--ing-paper-dialog-scrollable-width%22%3A%22100%25%22%7D)%3Bif(this.container.opened)%7BsetTimeout(()%3D%3E%7Bthis.container.notifyResize()%7D%2C0)%7Ddocument.onkeydown%3Devt%3D%3E%7Bif(evt%26%2627%3D%3D%3Devt.keyCode%7C%7Cwindow.event%26%2627%3D%3D%3Dwindow.event.keyCode)%7Bthis.container.opened%3D!1%7D%7D%7D%2C0)%7Dthis._scrollController(this.container)%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Align%20scrollbar%20move%20with%20content%20scroll.%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20action%20type%20of%20action.%0A%20%20%20%20%20%20%20*%20%40param%20%7Bnumber%7D%20yPosition%20scrollbar%20offset%20top.%0A%20%20%20%20%20%20%20*%20%40param%20%7Bnumber%7D%20delta%20sincronize%20of%20mouse%20movement.%0A%20%20%20%20%20%20%20*%20%40param%20%7Bhtml%7D%20container%20Container%20that%20wraps%20content.%0A%20%20%20%20%20%20%20*%20%40param%20%7Bnumber%7D%20contentH%20Height%20of%20Content.%0A%20%20%20%20%20%20%20*%20%40param%20%7Bnumber%7D%20deltaY%20wheel%20event%20parameter.%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2F_setTopAligments(action%2CyPosition%2Cdelta%2Ccontainer%2CcontentH%2CdeltaY)%7Bif(%22reset%22%3D%3D%3Daction)%7Bif(this.content%26%26this.scrollbar)%7Bthis.content.scrollTop%3D0%3Bthis.scrollbar.style.top%3D0%7D%7Delse%20if(%22move-wheel%22%3D%3D%3Daction%7C%7C%22move-mousedown%22%3D%3D%3Daction)%7Bconst%20afterMath%3DMath.min(container.clientHeight-this.scrollbar.clientHeight%2CMath.max(0%2CyPosition%2Bdelta))%3Bif(!this.isExplorer)%7Bthis.content.scrollTop%3DcontentH.toFixed(2)*this.scrollbar.offsetTop%2Fcontainer.clientHeight%3Bthis.scrollbar.style.top%3D%60%24%7BafterMath%7Dpx%60%7Delse%7Bif(0%3C%3DdeltaY)%7Bif(this.scrollbar.offsetTop%3Ccontainer.querySelector(%22%23scrollbar-container%22).clientHeight-this.scrollbar.clientHeight)%7Bthis.scrollbar.style.top%3D%60%24%7B1.45*Math.min(20*container.clientHeight-this.scrollbar.clientHeight%2CMath.max(0%2CyPosition%2Bdelta))%7Dpx%60%7D%7Delse%7Bthis.scrollbar.style.top%3D%60%24%7BafterMath-55%7Dpx%60%7Dif(%22move-mousedown%22%3D%3D%3Daction)%7Bthis.content.scrollTop%3DcontentH.toFixed(2)*this.scrollbar.offsetTop%2Fcontainer.clientHeight%7D%7D%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Detect%20scroll%20action%20over%20customized%20scrollbar%20element.%0A%20%20%20%20%20%20%20*%20%40param%20%7Belement%7D%20container%20html%20paper%20dialog%20element.%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2F_scrollController(container)%7Bthis.scrollbarContainer%3Dcontainer.querySelector(%22%23scrollbar-container%22)%3Blet%20ratio%3D1.03%2CmarginsRatio%3D0%3Bif(container.querySelector(%22paper-dialog-scrollable%22).querySelector(%22ing-uic-cms-url-visualizator%22).%24)%7Bthis.contentContainer%3Dcontainer.querySelector(%22paper-dialog-scrollable%22).querySelector(%22ing-uic-cms-url-visualizator%22).%24.urlContent.querySelector(%22%23content%22)%3Bconst%20containerHeight%3Dthis.container.querySelector(%22paper-dialog-scrollable%22).offsetHeight%3Bthis.contentH%3D0%3Bthis._setTopAligments(%22reset%22%2Cnull%2Cnull%2Cnull%2Cthis.contentH)%3Bthis._observer%3Dnew%20Polymer.FlattenedNodesObserver(this.contentContainer%2C()%3D%3E%7BPolymer.RenderStatus.afterNextRender(this.contentContainer%2C()%3D%3E%7Bif(0%3Cthis.contentContainer.clientHeight%26%26containerHeight%3Cthis.contentContainer.clientHeight)%7Bthis.updateStyles(%7B%22--ing-scrollbar-container-display%22%3A%22block%22%7D)%3Bthis.scrollbarContainer.style.display%3D%22block%22%3BsetTimeout(()%3D%3E%7BmarginsRatio%3DMath.floor(100*60%2Fthis.container.clientHeight)%2F100%3Bratio%3D1%2BmarginsRatio%2BMath.floor(this.contentContainer.clientHeight%2Fthis.content.clientHeight)%2F100%3Bthis.contentH%3DMath.floor(this.contentContainer.clientHeight*ratio)%3Bif(this.isExplorer)%7Bthis.contentH%3D1.08*this.contentContainer.clientHeight%7Dthis.scrollbar.style.height%3D%60%24%7BMath.floor(this.container.clientHeight*this.content.clientHeight%2Fthis.contentH)%7Dpx%60%3Bthis.content.addEventListener(%22scroll%22%2Cthis.contentScrolled)%7D%2C1e3)%7Delse%7Bthis.updateStyles(%7B%22--ing-scrollbar-container-display%22%3A%22none%22%7D)%3Bthis.scrollbarContainer.style.display%3D%22none%22%7D%7D)%7D)%3Bif(this.scrollbar)%7Bthis.contentScrolled%3D()%3D%3E%7Bif(!this.scrollbarAction)%7Bconst%20gap%3Dthis.content.scrollTop*(this.container.clientHeight%2Fthis.contentH)*(ratio-marginsRatio)%3Bthis.scrollbar.style.top%3D%60%24%7BMath.min(this.container.clientHeight-this.scrollbar.clientHeight%2CMath.max(0%2Cgap%2B0))%7Dpx%60%7D%7D%3Bthis.container.addEventListener(%22keydown%22%2Cevt%3D%3E%7Bif(evt%26%269%3D%3D%3Devt.keyCode%7C%7Cwindow.event%26%269%3D%3D%3Dwindow.event.keyCode%7C%7Cevt%26%2640%3D%3D%3Devt.keyCode%7C%7Cwindow.event%26%2640%3D%3D%3Dwindow.event.keyCode)%7Bthis.content.addEventListener(%22scroll%22%2Cthis.contentScrolled)%7D%7D)%3Bthis.container.addEventListener(%22wheel%22%2CwheelEvent%3D%3E%7Bthis.content.removeEventListener(%22scroll%22%2Cthis.contentScrolled%2C!1)%3Bconst%20delta%3Dthis._normalizeDelta(wheelEvent)%2Cy%3Dthis.scrollbar.offsetTop%3Bif(0%3C%3DwheelEvent.deltaY%26%26this.stopScroll)%7Breturn!1%7Dthis.stopScroll%3D!1%3Bif(this.scrollbar.offsetTop%3Ethis.scrollbarContainer.clientHeight-this.scrollbar.clientHeight)%7Bthis.stopScroll%3D!0%7Dif(!this.isExplorer)%7Bthis._setTopAligments(%22move-wheel%22%2Cy%2Cdelta%2Ccontainer%2Cthis.contentH%2CwheelEvent.deltaY)%7Dthis.content.addEventListener(%22scroll%22%2Cthis.contentScrolled)%3Breturn!1%7D)%7D%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Detect%20mouse%20down%20event%20on%20customized%20scrollbar%20element.%0A%20%20%20%20%20%20%20*%20%40param%20%7Bobject%7D%20mouseEvent%20Object%20with%20event%20data.%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2F_scrollbarAction(mouseEvent)%7Bif(this.content)%7Bthis.content.removeEventListener(%22scroll%22%2Cthis.contentScrolled%2C!1)%7DmouseEvent.preventDefault()%3Bconst%20y%3Dthis.scrollbar.offsetTop%3Bthis.onMove%3Dend%3D%3E%7Bconst%20delta%3Dend.pageY-mouseEvent.pageY%2CoverflowContainer%3Dthis.scrollbar.offsetTop%2Bthis.scrollbar.clientHeight%3Ethis.scrollbarContainer.clientHeight%26%26end.y%3Ethis.scrollbarContainer.clientHeight%3Bif(0%3C%3Dend.movementY%26%26this.stopScroll%7C%7Cthis.scrollbar.offsetTop%3Ethis.scrollbarContainer.clientHeight%7C%7CoverflowContainer)%7Breturn!1%7Dthis.stopScroll%3D!1%3Bif(this.scrollbar.offsetTop%3Ethis.scrollbarContainer.clientHeight-this.scrollbar.clientHeight)%7Bthis.stopScroll%3D!0%7Dif(!this.isExplorer)%7Bthis._setTopAligments(%22move-mousedown%22%2Cy%2Cdelta%2Cthis.container%2Cthis.contentH)%7Dreturn!1%7D%3Bdocument.addEventListener(%22mousemove%22%2Cthis.onMove)%3Bdocument.addEventListener(%22mouseup%22%2C()%3D%3E%7Bdocument.removeEventListener(%22mousemove%22%2Cthis.onMove)%7D)%7D%2F**%0A%20%20%20%20%20%20%20*%20Update%20styles%20detecting%20gesture%20actions.%0A%20%20%20%20%20%20%20*%20%40param%20%7Bobject%7D%20e%20Object%20with%20event%20data%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2F_handleTrack(e)%7Bthis.scrollbarAction%3D!1%3Bconst%20path%3De.composedPath%26%26e.composedPath()%7C%7Ce.path%3Bif(1152%3Ewindow.innerWidth)%7BPolymer.updateStyles(%7B%22--ing-scrollbar-layout-scroll%22%3A%22auto%22%2C%22--ing-paper-dialog-scrollable-width%22%3A%22108%25%3B%22%7D)%3Bswitch(e.detail.state)%7Bcase%22start%22%3A%7Bthis.contentPositionInitFirst%3Dthis.content.scrollTop%3Bbreak%7Dcase%22track%22%3A%7Bif(%22scrollbar%22!%3D%3Dpath%5B0%5D.id%26%260%3D%3D%3Dthis.contentPositionInitFirst%26%260%3Ee.detail.dy)%7Bthis.content.scrollTop%3D-1*e.detail.dy%7Dbreak%7Ddefault%3Abreak%3B%7D%7D%7D%7Dwindow.customElements.define(IngUicCmsLightbox.is%2CIngUicCmsLightbox)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fing-uic-cms-lightbox%2Fing-uic-cms-lightbox.html.js%0A | 14 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-commercial-card/src/IngCommercialCard.js | 748 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-text/src/IngText.styles.js | 2.0 kB | 2023-03-08 | 2023-06-29 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-subtitle/src/IngSubtitle.styles.js | 1.4 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/icon/src/icons.js | 223 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/style/values/typography.js | 631 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/style/components/link.js | 863 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7B'use%20strict'%3B%2F**%0A%20%20%20*%20%40summary%20Collapse%20multiple%20callbacks%20into%20one%20invocation%20after%20a%20timer.%0A%20%20%20*%20%40memberof%20Polymer%0A%20%20%20*%2Fclass%20Debouncer%7Bconstructor()%7Bthis._asyncModule%3Dnull%3Bthis._callback%3Dnull%3Bthis._timer%3Dnull%7D%2F**%0A%20%20%20%20%20*%20Sets%20the%20scheduler%3B%20that%20is%2C%20a%20module%20with%20the%20Async%20interface%2C%0A%20%20%20%20%20*%20a%20callback%20and%20optional%20arguments%20to%20be%20passed%20to%20the%20run%20function%0A%20%20%20%20%20*%20from%20the%20async%20module.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40param%20%7B!AsyncInterface%7D%20asyncModule%20Object%20with%20Async%20interface.%0A%20%20%20%20%20*%20%40param%20%7Bfunction()%7D%20callback%20Callback%20to%20run.%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%2FsetConfig(asyncModule%2Ccallback)%7Bthis._asyncModule%3DasyncModule%3Bthis._callback%3Dcallback%3Bthis._timer%3Dthis._asyncModule.run(()%3D%3E%7Bthis._timer%3Dnull%3Bthis._callback()%7D)%7D%2F**%0A%20%20%20%20%20*%20Cancels%20an%20active%20debouncer%20and%20returns%20a%20reference%20to%20itself.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%2Fcancel()%7Bif(this.isActive())%7Bthis._asyncModule.cancel(this._timer)%3Bthis._timer%3Dnull%7D%7D%2F**%0A%20%20%20%20%20*%20Flushes%20an%20active%20debouncer%20and%20returns%20a%20reference%20to%20itself.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%2Fflush()%7Bif(this.isActive())%7Bthis.cancel()%3Bthis._callback()%7D%7D%2F**%0A%20%20%20%20%20*%20Returns%20true%20if%20the%20debouncer%20is%20active.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40return%20%7Bboolean%7D%20True%20if%20active.%0A%20%20%20%20%20*%2FisActive()%7Breturn%20null!%3Dthis._timer%7D%2F**%0A%20%20%20%20%20*%20Creates%20a%20debouncer%20if%20no%20debouncer%20is%20passed%20as%20a%20parameter%0A%20%20%20%20%20*%20or%20it%20cancels%20an%20active%20debouncer%20otherwise.%20The%20following%0A%20%20%20%20%20*%20example%20shows%20how%20a%20debouncer%20can%20be%20called%20multiple%20times%20within%20a%0A%20%20%20%20%20*%20microtask%20and%20%22debounced%22%20such%20that%20the%20provided%20callback%20function%20is%0A%20%20%20%20%20*%20called%20once.%20Add%20this%20method%20to%20a%20custom%20element%3A%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20_debounceWork()%20%7B%0A%20%20%20%20%20*%20%20%20this._debounceJob%20%3D%20Polymer.Debouncer.debounce(this._debounceJob%2C%0A%20%20%20%20%20*%20%20%20%20%20%20%20Polymer.Async.microTask%2C%20()%20%3D%3E%20%7B%0A%20%20%20%20%20*%20%20%20%20%20this._doWork()%3B%0A%20%20%20%20%20*%20%20%20%7D)%3B%0A%20%20%20%20%20*%20%7D%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20If%20the%20%60_debounceWork%60%20method%20is%20called%20multiple%20times%20within%20the%20same%0A%20%20%20%20%20*%20microtask%2C%20the%20%60_doWork%60%20function%20will%20be%20called%20only%20once%20at%20the%20next%0A%20%20%20%20%20*%20microtask%20checkpoint.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20Note%3A%20In%20testing%20it%20is%20often%20convenient%20to%20avoid%20asynchrony.%20To%20accomplish%0A%20%20%20%20%20*%20this%20with%20a%20debouncer%2C%20you%20can%20use%20%60Polymer.enqueueDebouncer%60%20and%0A%20%20%20%20%20*%20%60Polymer.flush%60.%20For%20example%2C%20extend%20the%20above%20example%20by%20adding%0A%20%20%20%20%20*%20%60Polymer.enqueueDebouncer(this._debounceJob)%60%20at%20the%20end%20of%20the%0A%20%20%20%20%20*%20%60_debounceWork%60%20method.%20Then%20in%20a%20test%2C%20call%20%60Polymer.flush%60%20to%20ensure%0A%20%20%20%20%20*%20the%20debouncer%20has%20completed.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40param%20%7BDebouncer%3F%7D%20debouncer%20Debouncer%20object.%0A%20%20%20%20%20*%20%40param%20%7B!AsyncInterface%7D%20asyncModule%20Object%20with%20Async%20interface%0A%20%20%20%20%20*%20%40param%20%7Bfunction()%7D%20callback%20Callback%20to%20run.%0A%20%20%20%20%20*%20%40return%20%7B!Debouncer%7D%20Returns%20a%20debouncer%20object.%0A%20%20%20%20%20*%2Fstatic%20debounce(debouncer%2CasyncModule%2Ccallback)%7Bif(debouncer%20instanceof%20Debouncer)%7Bdebouncer.cancel()%7Delse%7Bdebouncer%3Dnew%20Debouncer%7Ddebouncer.setConfig(asyncModule%2Ccallback)%3Breturn%20debouncer%7D%7D%2F**%20%40const%20*%2FPolymer.Debouncer%3DDebouncer%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fpolymer%2Flib%2Futils%2Fdebounce.html.js%0A | 3.0 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,%2F**%0A%20%20%20%20%20*%20%60ing-uic-cms-amount%60%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40customElement%0A%20%20%20%20%20*%20%40polymer%0A%20%20%20%20%20*%20%40demo%20demo%2Findex.html%0A%20%20%20%20%20*%2Fclass%20IngUicCmsAmount%20extends%20Polymer.Element%7B%2F**%0A%20%20%20%20%20%20*%20Component%20definition%0A%20%20%20%20%20%20*%2Fstatic%20get%20is()%7Breturn%22ing-uic-cms-amount%22%7D%2F**%0A%20%20%20%20%20%20%20*%20Properties%0A%20%20%20%20%20%20%20*%2Fstatic%20get%20properties()%7Breturn%7B%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20amount%20value%0A%20%20%20%20%20%20%20%20%20%20%20*%2Famount%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20currency%20value%0A%20%20%20%20%20%20%20%20%20%20%20*%2Fcurrency%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20text%20related%20to%20the%20value%0A%20%20%20%20%20%20%20%20%20%20%20*%2Ftext%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20(optional)%20item%20size.%20Available%20values%20%5B'big'%2C%20'small'%5D%0A%20%20%20%20%20%20%20%20%20%20%20*%2Fsize%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20(optional)%20icon%20data%0A%20%20%20%20%20%20%20%20%20%20%20*%2Ficon%3AObject%7D%7D%7Dwindow.customElements.define(IngUicCmsAmount.is%2CIngUicCmsAmount)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fing-uic-cms-amount%2Fing-uic-cms-amount.html.js%0A | 825 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,Polymer(%7Bis%3A%22paper-dialog-scrollable%22%2Cproperties%3A%7B%2F**%0A%20%20%20%20%20%20%20*%20The%20dialog%20element%20that%20implements%20%60Polymer.PaperDialogBehavior%60%0A%20%20%20%20%20%20%20*%20containing%20this%20element.%0A%20%20%20%20%20%20%20*%20%40type%20%7B%3FNode%7D%0A%20%20%20%20%20%20%20*%2FdialogElement%3A%7Btype%3AObject%7D%7D%2C%2F**%0A%20%20%20%20%20*%20Returns%20the%20scrolling%20element.%0A%20%20%20%20%20*%2Fget%20scrollTarget()%7Breturn%20this.%24.scrollable%7D%2Cready%3Afunction()%7Bthis._ensureTarget()%3Bthis.classList.add(%22no-padding%22)%7D%2Cattached%3Afunction()%7Bthis._ensureTarget()%3BrequestAnimationFrame(this.updateScrollState.bind(this))%7D%2CupdateScrollState%3Afunction()%7Bthis.toggleClass(%22is-scrolled%22%2C0%3Cthis.scrollTarget.scrollTop)%3Bthis.toggleClass(%22can-scroll%22%2Cthis.scrollTarget.offsetHeight%3Cthis.scrollTarget.scrollHeight)%3Bthis.toggleClass(%22scrolled-to-bottom%22%2Cthis.scrollTarget.scrollTop%2Bthis.scrollTarget.offsetHeight%3E%3Dthis.scrollTarget.scrollHeight)%7D%2C_ensureTarget%3Afunction()%7B%2F%2F%20Read%20parentElement%20instead%20of%20parentNode%20in%20order%20to%20skip%20shadowRoots.%0Athis.dialogElement%3Dthis.dialogElement%7C%7Cthis.parentElement%3B%2F%2F%20Check%20if%20dialog%20implements%20paper-dialog-behavior.%20If%20not%2C%20fit%0A%2F%2F%20scrollTarget%20to%20host.%0Aif(this.dialogElement%26%26this.dialogElement.behaviors%26%260%3C%3Dthis.dialogElement.behaviors.indexOf(Polymer.PaperDialogBehaviorImpl))%7Bthis.dialogElement.sizingTarget%3Dthis.scrollTarget%3Bthis.scrollTarget.classList.remove(%22fit%22)%7Delse%20if(this.dialogElement)%7Bthis.scrollTarget.classList.add(%22fit%22)%7D%7D%7D)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fpaper-dialog-scrollable%2Fpaper-dialog-scrollable.html.js%0A | 1.5 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/webfiles/1661339944389/js/lit-components-loader.js | 2.3 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/lit-html.js | 1.3 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-image/src/IngImage.styles.js | 921 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web-es/packages/icon/registerEsIconsets.js | 727 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/icon/oj-icons/outline/arrows/graph_up_down_outline.svg.js | 294 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-subtitle/src/IngSubtitle.js | 1.4 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/link/IngLink.js | 3.8 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/core/styles/components/breaker.js | 3.1 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7B'use%20strict'%3B%2F**%0A%20%20%20*%20%40const%20%7BPolymer.Gestures%7D%0A%20%20%20*%2Fconst%20gestures%3DPolymer.Gestures%3B%2F**%0A%20%20%20*%20Element%20class%20mixin%20that%20provides%20API%20for%20adding%20Polymer's%20cross-platform%0A%20%20%20*%20gesture%20events%20to%20nodes.%0A%20%20%20*%0A%20%20%20*%20The%20API%20is%20designed%20to%20be%20compatible%20with%20override%20points%20implemented%0A%20%20%20*%20in%20%60Polymer.TemplateStamp%60%20such%20that%20declarative%20event%20listeners%20in%0A%20%20%20*%20templates%20will%20support%20gesture%20events%20when%20this%20mixin%20is%20applied%20along%20with%0A%20%20%20*%20%60Polymer.TemplateStamp%60.%0A%20%20%20*%0A%20%20%20*%20%40mixinFunction%0A%20%20%20*%20%40polymer%0A%20%20%20*%20%40memberof%20Polymer%0A%20%20%20*%20%40summary%20Element%20class%20mixin%20that%20provides%20API%20for%20adding%20Polymer's%20cross-platform%0A%20%20%20*%20gesture%20events%20to%20nodes%0A%20%20%20*%2FPolymer.GestureEventListeners%3DPolymer.dedupingMixin(superClass%3D%3E%7B%2F**%0A%20%20%20%20%20*%20%40polymer%0A%20%20%20%20%20*%20%40mixinClass%0A%20%20%20%20%20*%20%40implements%20%7BPolymer_GestureEventListeners%7D%0A%20%20%20%20%20*%2Fclass%20GestureEventListeners%20extends%20superClass%7B%2F**%0A%20%20%20%20%20%20%20*%20Add%20the%20event%20listener%20to%20the%20node%20if%20it%20is%20a%20gestures%20event.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7B!Node%7D%20node%20Node%20to%20add%20event%20listener%20to%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20eventName%20Name%20of%20event%0A%20%20%20%20%20%20%20*%20%40param%20%7Bfunction(!Event)%3Avoid%7D%20handler%20Listener%20function%20to%20add%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2F_addEventListenerToNode(node%2CeventName%2Chandler)%7Bif(!gestures.addListener(node%2CeventName%2Chandler))%7Bsuper._addEventListenerToNode(node%2CeventName%2Chandler)%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Remove%20the%20event%20listener%20to%20the%20node%20if%20it%20is%20a%20gestures%20event.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7B!Node%7D%20node%20Node%20to%20remove%20event%20listener%20from%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20eventName%20Name%20of%20event%0A%20%20%20%20%20%20%20*%20%40param%20%7Bfunction(!Event)%3Avoid%7D%20handler%20Listener%20function%20to%20remove%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2F_removeEventListenerFromNode(node%2CeventName%2Chandler)%7Bif(!gestures.removeListener(node%2CeventName%2Chandler))%7Bsuper._removeEventListenerFromNode(node%2CeventName%2Chandler)%7D%7D%7Dreturn%20GestureEventListeners%7D)%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fpolymer%2Flib%2Fmixins%2Fgesture-event-listeners.html.js%0A | 1.9 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,%2F**%0A%20%20%20%20%20*%20%60ing-uic-cms-result-list%60%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40customElement%0A%20%20%20%20%20*%20%40polymer%0A%20%20%20%20%20*%20%40demo%20demo%2Findex.html%0A%20%20%20%20%20*%2Fclass%20IngUicCmsResultList%20extends%20Polymer.GestureEventListeners(Polymer.I18n(Polymer.Element))%7B%2F**%0A%20%20%20%20%20%20%20*%20Component%20definition%0A%20%20%20%20%20%20%20*%2Fstatic%20get%20is()%7Breturn%22ing-uic-cms-result-list%22%7D%2F**%0A%20%20%20%20%20%20%20*%20Observers%0A%20%20%20%20%20%20%20*%2Fstatic%20get%20observers()%7Breturn%5B%22queryChanged(query)%22%2C%22computeNoResultsTitle(noResultsTitle%2C%20query)%22%2C%22listChanged(list)%22%5D%7D%2F**%0A%20%20%20%20%20%20%20*%20Properties%0A%20%20%20%20%20%20%20*%2Fstatic%20get%20properties()%7Breturn%7B%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20the%20list%20of%20results%20to%20show%0A%20%20%20%20%20%20%20%20%20%20%20*%2Flist%3AArray%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20text%20of%20the%20header%20of%20the%20list%0A%20%20%20%20%20%20%20%20%20%20%20*%2Ftitle%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20text%20of%20the%20close%20button%0A%20%20%20%20%20%20%20%20%20%20%20*%2Fclose%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20search%20query%0A%20%20%20%20%20%20%20%20%20%20%20*%2Fquery%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20number%20of%20results%20per%20page%0A%20%20%20%20%20%20%20%20%20%20%20*%2FpageSize%3A%7Btype%3ANumber%2Cvalue%3A10%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20label%20for%20no%20results%20title%0A%20%20%20%20%20%20%20%20%20%20%20*%2FnoResultsTitle%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20label%20for%20no%20results%20message%0A%20%20%20%20%20%20%20%20%20%20%20*%2FnoResultsMessage%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20label%20for%20no%20results%20text%0A%20%20%20%20%20%20%20%20%20%20%20*%2FnoResultsText%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20label%20for%20one%20result%20title%0A%20%20%20%20%20%20%20%20%20%20%20*%2FoneResultTitle%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20label%20for%20one%20page%20title%0A%20%20%20%20%20%20%20%20%20%20%20*%2FonePageTitle%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20result%20stored%20variable%0A%20%20%20%20%20%20%20%20%20%20%20*%2F_results%3ANumber%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20title%20stored%20variable%0A%20%20%20%20%20%20%20%20%20%20%20*%2F_title%3AString%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Lifecycle%20method%0A%20%20%20%20%20%20%20*%2Fready()%7Bsuper.ready()%3Bconst%7Bpager%7D%3Dthis.%24%3Bpager.addEventListener(%22page-change%22%2Cev%3D%3E%7Bthis._results%3Dev.detail.results%3Bconst%20noResults%3D0%3D%3D%3Dthis._results%3Bthis.setTitle(noResults)%3Bthis.showResults(noResults)%7D)%3Bthis.loadLabels(%22close%22%2C%22title%22%2C%22onePageTitle%22%2C%22oneResultTitle%22%2C%22noResultsTitle%22%2C%22noResultsText%22%2C%22noResultsMessage%22)%7D%2F**%0A%20%20%20%20%20%20%20%20*%20Focus%20close%20button%0A%20%20%20%20%20%20%20%20*%2F_focusCloseButton()%7Bconst%20closeButton%3Dthis.shadowRoot.querySelector(%22.btn-close%22)%3BcloseButton.focus()%7D%2F**%0A%20%20%20%20%20%20%20*%20update%20containers%0A%20%20%20%20%20%20%20*%2FshowResults(noResults)%7Bthis._focusCloseButton()%3Bconst%20fn%3DnoResults%26%26this.query%3F%22add%22%3A%22remove%22%3Bthis.%24.live.innerHTML%3DnoResults%3Fthis.%24.noResults.innerHTML%3Athis.%24.title.innerHTML%3Bthis.%24.noResults.classList%5Bfn%5D(%22show%22)%7D%2F**%0A%20%20%20%20%20%20%20*%20list%20change%20handler%0A%20%20%20%20%20%20%20*%2FlistChanged()%7Bthis.%24.pager.dispatchEvent(new%20CustomEvent(%22update%22))%7D%2F**%0A%20%20%20%20%20%20%20*%20query%20change%20handler%0A%20%20%20%20%20%20%20*%2FqueryChanged()%7Bthis.%24.live.innerHTML%3D%22%22%7D%2F**%0A%20%20%20%20%20%20%20*%20noResultsTitle%20label%0A%20%20%20%20%20%20%20*%2FcomputeNoResultsTitle(noResultsTitle%2Cquery)%7Bthis.updateLabel(%22noResultsTitle%22%2C%22query%22%2Cquery)%7D%2F**%0A%20%20%20%20%20%20*%20get%20type%20of%20title%0A%20%20%20%20%20%20*%2F_getTypeOfTitle(noResults%2ConeResult%2ConePage)%7Blet%20titleToShow%3Dnull%3Bif(this.query)%7Bif(noResults)%7BtitleToShow%3D%22noResultsTitle%22%7Delse%20if(oneResult)%7BtitleToShow%3D%22oneResultTitle%22%7Delse%20if(onePage)%7BtitleToShow%3D%22onePageTitle%22%7Delse%7BtitleToShow%3D%22title%22%7D%7Dreturn%20titleToShow%7D%2F**%0A%20%20%20%20%20%20%20*%20update%20title%0A%20%20%20%20%20%20%20*%2FsetTitle(noResults)%7Bconst%20total%3D(this.list%7C%7C%5B%5D).length%2ConeResult%3D1%3D%3D%3Dtotal%2ConePage%3Dtotal%3C%3Dthis.pageSize%3Bthis.updateLabel(%22title%22%2C%22num%22%2Cthis._results%2C%22total%22%2Ctotal%2C%22query%22%2Cthis.query)%3Bthis.updateLabel(%22oneResultTitle%22%2C%22num%22%2Ctotal%2C%22query%22%2Cthis.query)%3Bthis.updateLabel(%22onePageTitle%22%2C%22num%22%2Ctotal%2C%22query%22%2Cthis.query)%3Bconst%20titleToShow%3Dthis._getTypeOfTitle(noResults%2ConeResult%2ConePage)%3Bthis._title%3DtitleToShow%3Fthis.get(titleToShow)%3A%22%22%7D%2F**%0A%20%20%20%20%20%20%20%20*%20get%20focus%20in%20header%20search%20button%0A%20%20%20%20%20%20%20%20*%2F_focusSearchButton()%7Bconst%20header%3Ddocument.querySelector(%22ing-uic-cms-header%22)%2ClinkToSearchBar%3Dheader.shadowRoot.querySelector(%22ing-uic-cms-anchor.header-option%5Bdata-type%3D%5C%22search-bar%5C%22%5D%22)%3BlinkToSearchBar.focus()%7D%2F**%0A%20%20%20%20%20%20%20*%20click%20handler%0A%20%20%20%20%20%20%20*%2FhandleClick()%7Bthis._focusSearchButton()%3Bwindow.dispatchEvent(new%20CustomEvent(%22closeSection%22%2C%7Bbubbles%3A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2Ccomposed%3A!0%2Cdetail%3A%7Btype%3A%22search-bar%22%7D%7D))%7D%7Dwindow.customElements.define(IngUicCmsResultList.is%2CIngUicCmsResultList)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fing-uic-cms-result-list%2Fing-uic-cms-result-list.html.js%0A | 4.2 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/form-core/src/validate/ResultValidator.js | 210 B | 2023-03-08 | 2024-04-05 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,%2F**%20domain%20regular%20expresion%20to%20be%20matched%20*%2Fconst%20DOMAIN_REGEX%3D%2F%5E(((https%3F%3A)*%5C%2F%5C%2F)%3F(%5B%5Cda-z.-%5D%2B)%5C.(%5Ba-z.%5D%7B2%2C8%7D(%3A%5B0-9%5D%7B4%7D)*))(%5B%2F%5Cw%20.-%5D*)*%5C%2F%3F%24%2F%3B%2F**%0A%20%20%20%20%20*%20%60ing-uic-cms-url-visualizator%60%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40customElement%0A%20%20%20%20%20*%20%40polymer%0A%20%20%20%20%20*%20%40demo%20demo%2Findex.html%0A%20%20%20%20%20*%2Fclass%20IngUicCmsUrlVisualizator%20extends%20Polymer.Element%7B%2F**%0A%20%20%20%20%20%20*%20Component%20definition%0A%20%20%20%20%20%20*%2Fstatic%20get%20is()%7Breturn%22ing-uic-cms-url-visualizator%22%7D%2F**%0A%20%20%20%20%20%20%20*%20Properties%0A%20%20%20%20%20%20%20*%2Fstatic%20get%20properties()%7Breturn%7B%2F**%20Url%20value%20to%20retrieve%20*%2Furl%3AString%2C%2F**%20Html%20data%20content%20to%20display%20*%2Fdata%3AString%2C%2F**%20Block%20content%20for%20external%20content%20*%2Fblock%3AString%2C%2F**%20Retrieve%20domain%20*%2F_domain%3AString%2C%2F**%20Retrieve%20links%20from%20content%20*%2F_links%3AArray%2C%2F**%20Check%20if%20there%20are%20script%20to%20load%20*%2F_scriptsToLoad%3A%7Btype%3ANumber%2Cvalue%3A0%7D%2C%2F**%20Add%20border%20if%20true%20*%2Fborder%3ABoolean%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Ready%20function%0A%20%20%20%20%20%20%20*%2Fready()%7Bsuper.ready()%3Bif(this.border)this.%24.urlContent.setAttribute(%22border%22%2C%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A)%7D%2F**%0A%20%20%20%20%20%20%20*%20Observers%20function%0A%20%20%20%20%20%20%20*%2Fstatic%20get%20observers()%7Breturn%5B%22_getUrlContent(url)%22%2C%22_getHtmlContent(data)%22%5D%7D%2F**%0A%20%20%20%20%20%20%20*%20Retrieve%20domain%0A%20%20%20%20%20%20%20*%20%40param%20%7BString%7D%20url%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%20%40returns%20%7BString%7D%0A%20%20%20%20%20%20%20*%2F_getDomain(url)%7Blet%20domain%3D%22%22%3Bif(url.match(DOMAIN_REGEX))%7B%5B%2Cdomain%5D%3DDOMAIN_REGEX.exec(url)%7Dreturn%20domain%7D%2F**%0A%20%20%20%20%20%20%20*%20Retrieve%20if%20it%20is%20relative%20url%0A%20%20%20%20%20%20%20*%20%40param%20%7BString%7D%20url%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%20%40returns%20%7BBoolean%7D%0A%20%20%20%20%20%20%20*%2F_isRelative(url)%7Bconst%20match%3Durl.match(DOMAIN_REGEX)%3Breturn!match%7C%7C!match%5B1%5D%7D%2F**%0A%20%20%20%20%20%20%20*%20Generate%20ajax%20request%20of%20the%20url%0A%20%20%20%20%20%20%20*%20%40param%20%7BString%7D%20url%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2F_getUrlContent(url)%7Bif(url)%7Bthis._domain%3Dthis._getDomain(url)%3Bthis.shadowRoot.querySelector(%22%23urlContentReq%22).generateRequest()%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Retrieve%20html%20content%20from%20data%20value%0A%20%20%20%20%20%20%20*%20%40param%20%7BString%7D%20data%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2F_getHtmlContent(data)%7Bif(data)%7Bthis._loadContent(data%2C%22%22%2Cnull)%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Load%20content%20and%20fire%20ready%20event%0A%20%20%20%20%20%20%20*%20%40param%20%7BString%7D%20content%0A%20%20%20%20%20%20%20*%20%40param%20%7BString%7D%20url%0A%20%20%20%20%20%20%20*%20%40param%20%7BString%7D%20block%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2F_loadScriptsCallback(content%2Curl%2Cblock)%7Bthis._scriptsToLoad-%3D1%3Bif(0%3D%3D%3Dthis._scriptsToLoad)%7Bthis._loadContent(content%2Curl%2Cblock)%3Bthis._fireEvent()%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Regexp%20modify%20content%0A%20%20%20%20%20%20%20*%20%40param%20%7BString%7D%20content%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%20%40returns%20%7BString%7D%0A%20%20%20%20%20%20%20*%2F_handleScripts(content)%7Blet%20jsFile%2Curl%2Clib%2CcontentModified%3Dcontent%3Bconst%20that%3Dthis%2CregExp%3D%2F%3Cscript.*%3F(%3F%3Asrc%3D%22(.*%3F)%22%7C%24)(%5B%5Cs%5CS%5D*%3F)%3C%5C%2Fscript%3E%2Fm%3Bfunction%20launchCallback()%7Bthat._loadScriptsCallback(contentModified%2Cthat.url%2Cthat.block)%7Dfunction%20fillHead()%7Bdocument.getElementsByTagName(%22head%22)%5B0%5D.appendChild(lib)%7Dwhile(content.match(regExp))%7BjsFile%3DregExp.exec(content)%3BcontentModified%3Dcontent.replace(regExp%2C%22%22)%3Bif(jsFile%5B1%5D%26%26this._isRelative(jsFile%5B1%5D))%7Burl%3Dthis._domain%2BjsFile%5B1%5D%7Delse%7B%5B%2Curl%5D%3DjsFile%7Dif(0%3EjsFile%5B1%5D.indexOf(%22jquery-%22))%7Bthis._scriptsToLoad%2B%3D1%3Blib%3Ddocument.createElement(%22script%22)%3Blib.setAttribute(%22src%22%2Curl)%3Blib.setAttribute(%22type%22%2C%22text%2Fjavascript%22)%3Blib.setAttribute(%22async%22%2C%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A!1)%3Blib.onerror%3DlaunchCallback()%3Blib.onload%3Dlib.onerror%3Bdocument.getElementsByTagName(%22head%22)%5B0%5D.appendChild(lib)%7Delse%20if(!jsFile%5B1%5D)%7Blib%3Ddocument.createElement(%22script%22)%3Blib.setAttribute(%22type%22%2C%22text%2Fjavascript%22)%3B%5B%2C%2Clib.innerHTML%5D%3DjsFile%3BsetTimeout(fillHead%2C300)%7D%7Dreturn%20contentModified%7D%2F**%0A%20%20%20%20%20%20%20*%20Load%20content%0A%20%20%20%20%20%20%20*%20%40param%20%7BString%7D%20content%0A%20%20%20%20%20%20%20*%20%40param%20%7BString%7D%20url%0A%20%20%20%20%20%20%20*%20%40param%20%7BString%7D%20block%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2F_loadContent(content%2Curl%2Cblock)%7Bconst%20styles%3D%5B%5D%3Blet%20blockContainer%2CcontentModified%3Dcontent%3Bif(url.match(DOMAIN_REGEX))%7BcontentModified%3Dcontent.replace(%2F(href%7Csrc)%3D%22%2Fgi%2C%60%241%3D%22%24%7Bthis._domain%7D%60)%7Dconst%20urlContainer%3Dthis.shadowRoot.querySelector(%22%23content%22)%2Ccontainer%3Ddocument.createElement(%22div%22)%3Bcontainer.innerHTML%3DcontentModified%3Bif(block%26%26container.querySelector(block))%7BblockContainer%3Dcontainer.querySelector(block)%3BurlContainer.classList.add(%22external-content%22)%3Bcontainer.querySelectorAll(%22link%22).forEach(item%3D%3E%7B%2F%2F%20TODO%3A%20Remove%20after%20MVP%0Aif(0%3Citem.href.indexOf(%22jquery.%22))%7Bdocument.getElementsByTagName(%22head%22)%5B0%5D.appendChild(item)%7Delse%7Bstyles.push(item.href)%7D%7D)%3Bif(container.querySelector(%22style%22)%26%26container.querySelector(%22style%22)!%3D%3DblockContainer.querySelector(%22style%22))%7BurlContainer.appendChild(container.querySelector(%22style%22))%7D%7Delse%7BblockContainer%3Dcontainer%7Dthis._links%3Dstyles%3BurlContainer.appendChild(blockContainer)%3B%2F%2F%20TODO%3A%20Remove%20after%20MVP%0Athis.updateStyles(%7B%22--ing-font-desktop-p1_-_font-size%22%3A%22initial%22%2C%22--ing-font-desktop-p1_-_line-height%22%3A%22initial%22%7D)%7D%2F**%0A%20%20%20%20%20%20%20*%20Fire%20component%20ready%20event%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2F_fireEvent()%7Bconst%20eventDetails%3D%7B%7D%3BObject.keys(this.constructor.properties).forEach(property%3D%3E%7BeventDetails%5Bproperty%5D%3Dthis%5Bproperty%5D%7D)%3Bconst%20eventData%3D%7Bbubbles%3A!0%2Ccomposed%3A!0%2Cdetail%3AeventDetails%7D%3Bthis.dispatchEvent(new%20CustomEvent(%22component-ready%22%2CeventData))%7D%2F**%0A%20%20%20%20%20%20%20*%20Handle%20ajax%20response%0A%20%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20e%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2F_handleRequest(e)%7Bif(e.detail.response)%7Bif(this.block)%7Bthis._handleScripts(e.detail.response)%7Delse%7Bthis._loadContent(e.detail.response%2Cthis.url%2Cthis.block)%7D%7D%7D%7Dwindow.customElements.define(IngUicCmsUrlVisualizator.is%2CIngUicCmsUrlVisualizator)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fing-uic-cms-url-visualizator%2Fing-uic-cms-url-visualizator.html.js%0A | 5.9 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/webfiles/1661339944389/js/mdetect.js | 11 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/style/values/breakpoints.js | 247 B | 2023-03-08 | 2024-04-05 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/directives/if-defined.js | 898 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/localize/src/LocalizeMixin.js | 2.0 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/overlays/src/OverlaysManager.js | 3.0 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,%2F**%0A%20%20%20*%20%60i18n%60%0A%20%20%20*%20Autoinvoqued%20function%0A%20%20%20*%2F(function%20i18n()%7Blet%20__resourceCache%3D%22%22%3B%2F**%0A%20%20%20%20%20*%20Element%20class%20mixin%20that%20provides%20API%20for%20adding%20Polymer's%20i18n%20to%20elements%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20The%20mixin%20is%20designed%20to%20load%20a%20json%20with%20resources%20and%20set%0A%20%20%20%20%20*%20the%20properties%20indicated%20as%20labels%20by%20the%20parent%20element%0A%20%20%20%20%20*%20when%20resources%20are%20loaded%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40mixinFunction%0A%20%20%20%20%20*%20%40polymer%0A%20%20%20%20%20*%20%40memberof%20Polymer%0A%20%20%20%20%20*%2Fconst%20AppLocalizeBehavior%3D%7B%2F**%0A%20%20%20%20%20%20*%20Internal%20singleton%20cache.%20This%20is%20the%20private%20implementation%20of%20the%0A%20%20%20%20%20%20*%20behaviour%3B%20don't%20interact%20with%20it%20directly.%0A%20%20%20%20%20%20*%2F__localizationCache%3A%7Brequests%3A%7B%7D%2C%2F*%20One%20iron-request%20per%20unique%20resources%20path.%20*%2Fmessages%3A%7B%7D%2C%2F*%20Unique%20localized%20strings.%20Invalidated%20when%20the%20language%2C%20formats%20or%20resources%20change.%20*%2Fajax%3Anull%2F*%20Global%20iron-ajax%20object%20used%20to%20request%20resource%20files.%20*%2F%7D%2C%2F**%0A%20%20%20%20%20%20*%20Fired%20after%20the%20resources%20have%20been%20loaded.%0A%20%20%20%20%20%20*%0A%20%20%20%20%20%20*%20%40event%20app-localize-resources-loaded%0A%20%20%20%20%20%20*%2F%20%2F**%0A%20%20%20%20%20%20*%20Fired%20when%20the%20resources%20cannot%20be%20loaded%20due%20to%20an%20error.%0A%20%20%20%20%20%20*%0A%20%20%20%20%20%20*%20%40event%20app-localize-resources-error%0A%20%20%20%20%20%20*%2F%20%2F**%0A%20%20%20%20%20%20*%20list%20of%20object%20properties.%0A%20%20%20%20%20%20*%2Fproperties%3A%7B%2F**%0A%20%20%20%20%20%20%20%20*%20The%20language%20used%20for%20translation.%0A%20%20%20%20%20%20%20%20*%2Flanguage%3A%7Btype%3AString%7D%2C%2F**%0A%20%20%20%20%20%20%20%20*%20The%20dictionary%20of%20localized%20messages%2C%20for%20each%20of%20the%20languages%20that%0A%20%20%20%20%20%20%20%20*%20are%20going%20to%20be%20used.%20See%20http%3A%2F%2Fformatjs.io%2Fguides%2Fmessage-syntax%2F%20for%0A%20%20%20%20%20%20%20%20*%20more%20information%20on%20the%20message%20syntax.%0A%20%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20%20*%20For%20example%2C%20a%20valid%20dictionary%20would%20be%3A%0A%20%20%20%20%20%20%20%20*%20this.resources%20%3D%20%7B%0A%20%20%20%20%20%20%20%20*%20%20'en'%3A%20%7B%20'greeting'%3A%20'Hello!'%20%7D%2C%20'fr'%20%3A%20%7B%20'greeting'%3A%20'Bonjour!'%20%7D%0A%20%20%20%20%20%20%20%20*%20%7D%0A%20%20%20%20%20%20%20%20*%2Fresources%3A%7Btype%3AObject%7D%2C%2F**%0A%20%20%20%20%20%20%20%20*%20Optional%20dictionary%20of%20user%20defined%20formats%2C%20as%20explained%20here%3A%0A%20%20%20%20%20%20%20%20*%20http%3A%2F%2Fformatjs.io%2Fguides%2Fmessage-syntax%2F%23custom-formats%0A%20%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20%20*%20For%20example%2C%20a%20valid%20dictionary%20of%20formats%20would%20be%3A%0A%20%20%20%20%20%20%20%20*%20this.formats%20%3D%20%7B%0A%20%20%20%20%20%20%20%20*%20%20%20%20number%3A%20%7B%20USD%3A%20%7B%20style%3A%20'currency'%2C%20currency%3A%20'USD'%20%7D%20%7D%0A%20%20%20%20%20%20%20%20*%20%7D%0A%20%20%20%20%20%20%20%20*%2Fformats%3A%7Btype%3AObject%2Cvalue()%7Breturn%7B%7D%7D%7D%2C%2F**%0A%20%20%20%20%20%20%20%20*%20If%20true%2C%20will%20use%20the%20provided%20key%20when%0A%20%20%20%20%20%20%20%20*%20the%20translation%20does%20not%20exist%20for%20that%20key.%0A%20%20%20%20%20%20%20%20*%2FuseKeyIfMissing%3A%7Btype%3ABoolean%2Cvalue%3A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A!1%7D%2C%2F**%0A%20%20%20%20%20%20%20%20*%20Translates%20a%20string%20to%20the%20current%20%60language%60.%20Any%20parameters%20to%20the%0A%20%20%20%20%20%20%20%20*%20string%20should%20be%20passed%20in%20order%2C%20as%20follows%3A%0A%20%20%20%20%20%20%20%20*%20%60localize(stringKey%2C%20param1Name%2C%20param1Value%2C%20param2Name%2C%20param2Value)%60%0A%20%20%20%20%20%20%20%20*%2Flocalize%3A%7Btype%3AFunction%2Ccomputed%3A%22__computeLocalize(language%2C%20resources%2C%20formats)%22%7D%2C%2F**%0A%20%20%20%20%20%20%20%20*%20If%20true%2C%20will%20bubble%20up%20the%20event%20to%20the%20parents%0A%20%20%20%20%20%20%20%20*%2FbubbleEvent%3A%7Btype%3ABoolean%2Cvalue%3A!1%7D%7D%2C%2F**%0A%20%20%20%20%20%20*%20Method%20to%20diggest%20resources%0A%20%20%20%20%20%20*%2FloadResources(path%2Clanguage%2Cmerge)%7Bconst%20proto%3Dthis.constructor.prototype%3B%2F%2F%20If%20the%20global%20ajax%20object%20has%20not%20been%20initialized%2Cinitialize%20and%20cache%20it.%0Alet%7Bajax%7D%3Dproto.__localizationCache%2Crequest%3Dproto.__localizationCache.requests%5Bpath%5D%3B%2F%2F%20Check%20if%20localCache%20exist%20just%20in%20case.%0Aproto.__localizationCache%3Dthis.__checkLocalizationCache(proto)%3Bif(!ajax)%7Bajax%3Ddocument.createElement(%22iron-ajax%22)%3Bif(proto.__localizationCache)%7Bproto.__localizationCache.ajax%3Dajax%7D%7Dfunction%20onRequestResponse(event)%7Bif(event%26%26event.response)%7B__resourceCache%3Devent.response%7Dconst%20eventData%3D%7Bbubbles%3A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2Ccomposed%3A!0%2Cdetail%3A__resourceCache%7D%3Bthis.__onRequestResponse(event%2Clanguage%2Cmerge)%3Bwindow.dispatchEvent(new%20CustomEvent(%22resourcecache-ready%22%2CeventData))%7Dif(!request)%7Bajax.url%3Dpath%3Bif(ajax.url)%7Brequest%3Dajax.generateRequest()%3Brequest.completes.then(onRequestResponse.bind(this)%2Cthis.__onRequestError.bind(this))%3B%2F%2F%20Cache%20the%20instance%20so%20that%20it%20can%20be%20reused%20if%20the%20same%20path%20is%20loaded.%0Aif(proto.__localizationCache)%7Bproto.__localizationCache.requests%5Bpath%5D%3Drequest%7D%7Delse%20if(__resourceCache)%7Brequest%3DPromise.resolve(__resourceCache)%3Brequest.then(onRequestResponse.bind(this))%7D%7Delse%7Brequest.completes.then(onRequestResponse.bind(this)%2Cthis.__onRequestError.bind(this))%7D%7D%2C%2F**%0A%20%20%20%20%20%20*%20Method%20to%20dispatch%20after%20request%20response%0A%20%20%20%20%20%20*%2F__onRequestResponse(event%2Clanguage%2Cmerge)%7Bconst%20propertyUpdates%3D%7B%7D%2CnewResources%3D__resourceCache%3Bif(merge)%7Bif(language)%7BpropertyUpdates.resources%3DObject.assign(%7B%7D%2Cthis.resources%7C%7C%7B%7D)%3BpropertyUpdates%5B%60resources.%24%7Blanguage%7D%60%5D%3DObject.assign(propertyUpdates.resources%5Blanguage%5D%7C%7C%7B%7D%2CnewResources)%7Delse%7BpropertyUpdates.resources%3DObject.assign(this.resources%2CnewResources)%7D%7Delse%20if(language)%7BpropertyUpdates.resources%3D%7B%7D%3BpropertyUpdates.resources%5Blanguage%5D%3DnewResources%3BpropertyUpdates%5B%60resources.%24%7Blanguage%7D%60%5D%3DnewResources%7Delse%7BpropertyUpdates.resources%3DnewResources%7Dif(this.setProperties)%7Bthis.setProperties(propertyUpdates)%7Delse%7Bfor(const%20key%20in%20propertyUpdates)%7Bif(%7B%7D.hasOwnProperty.call(propertyUpdates%2Ckey))%7Bthis.set(key%2CpropertyUpdates%5Bkey%5D)%7D%7D%7Dthis.fire(%22app-localize-resources-loaded%22%2Cevent%2C%7Bbubbles%3Athis.bubbleEvent%7D)%7D%2C%2F**%0A%20%20%20%20%20%20*%20Method%20to%20dispatch%20when%20request%20error%0A%20%20%20%20%20%20*%2F__onRequestError()%7Bthis.fire(%22app-localize-resources-error%22)%7D%2C%2F**%0A%20%20%20%20%20%20*%20Method%20to%20check%20localization%20cache%0A%20%20%20%20%20%20*%2F__checkLocalizationCache(proto)%7B%2F%2F%20do%20nothing%20if%20proto%20is%20undefined.%0Aif(proto%3D%3D%3D%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0Avoid%200)return!1%3B%2F%2F%20In%20the%20event%20proto%20not%20have%20__localizationCache%20object%2C%20create%20it.%0Aif(proto.__localizationCache%3D%3D%3Dvoid%200)%7Breturn%7Brequests%3A%7B%7D%2Cmessages%3A%7B%7D%2Cajax%3Anull%7D%7Dreturn!1%7D%7D%3Blet%20singleton%3D!1%3B%2F**%0A%20%20%20%20%20*%20Add%20I18n%20as%20Polymer%20property%0A%20%20%20%20%20*%2FPolymer.I18n%3DPolymer.dedupingMixin(superClass%3D%3E%7B%2F**%0A%20%20%20%20%20%20%20*%20%40polymer%0A%20%20%20%20%20%20%20*%20%40mixinClass%0A%20%20%20%20%20%20%20*%20%40implements%20%7BPolymer_I18n%7D%0A%20%20%20%20%20%20%20*%2Fconst%20EVENT%3D%22resources-loaded%22%2CRESOURCES_URL%3D%22..%2Fing-uic-cms-i18n%2Fsrc%2Flocales.json%22%2CDEFAULT_LANGUAGE%3D%22es%22%3B%2F**%0A%20%20%20%20%20%20%20*%20%60Declare%20i18n%20Class%60%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%2Fclass%20I18n%20extends%20Polymer.mixinBehaviors(%5BAppLocalizeBehavior%5D%2CsuperClass)%7B%2F**%0A%20%20%20%20%20%20%20%20*%20resolves%20the%20url%20indicated%20as%20the%20resources%20json%20in%20%60resourcesUrl%60%20property%0A%20%20%20%20%20%20%20%20*%2FconnectedCallback()%7Bsuper.connectedCallback()%3Bif(singleton)%7Bthis.loadResources()%3Bwindow.addEventListener(%22resourcecache-ready%22%2C()%3D%3E%7Bthis.__onRequestResponse()%7D)%3Bthis.isActive%3D!1%7Delse%7Bsingleton%3D!0%3Bthis.isActive%3D!0%3Bthis.loadResources(this.resolveUrl(this.resourcesUrl))%7D%7DdisconnectedCallback()%7Bsuper.disconnectedCallback()%3Bif(this.isActive)singleton%3D!1%7D%2F**%0A%20%20%20%20%20%20%20%20*%20observe%20changes%20into%20resources%20data%0A%20%20%20%20%20%20%20%20*%2Fstatic%20get%20observers()%7Breturn%5B%22resourcesLoaded(resources)%22%5D%7D%2F**%0A%20%20%20%20%20%20%20%20*%20list%20of%20object%20properties%0A%20%20%20%20%20%20%20%20*%2Fstatic%20get%20properties()%7Breturn%7B%2F**%0A%20%20%20%20%20%20%20%20%20%20%20%20%20*%20path%20for%20the%20resources%20json%20with%20the%20labels%0A%20%20%20%20%20%20%20%20%20%20%20%20%20*%2FresourcesUrl%3A%7Btype%3AString%2Cvalue%3ARESOURCES_URL%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20%20%20*%20language%20of%20the%20labels%20(e.g%20'es'%2C%20'en'%2C%20...)%0A%20%20%20%20%20%20%20%20%20%20%20%20%20*%2Flanguage%3A%7Btype%3AString%2Cvalue%3ADEFAULT_LANGUAGE%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20%20%20*%20internal%20property%20used%20to%20store%20label%20data%20used%20to%20set%0A%20%20%20%20%20%20%20%20%20%20%20%20%20*%20the%20label%20correctly%20when%20the%20language%20is%20changed%0A%20%20%20%20%20%20%20%20%20%20%20%20%20*%2F_storedDataForLabels%3A%7Btype%3AObject%2Cvalue%3A%7B%7D%7D%7D%7D%2F**%0A%20%20%20%20%20%20%20%20%20*%20observer%20for%20the%20resources%20property%20(which%20contains%20the%20json%20label%20data)%0A%20%20%20%20%20%20%20%20%20*%20(NOTE%3A%20'resources'%20property%20is%20inherited%20from%20'Polymer.AppLocalizeBehavior')%0A%20%20%20%20%20%20%20%20%20*%2FresourcesLoaded()%7Bthis.dispatchEvent(new%20CustomEvent(EVENT))%7D%2F**%0A%20%20%20%20%20%20%20%20%20*%20method%20used%20by%20the%20parent%20element%20to%20indicate%20which%20properties%20are%20labels%0A%20%20%20%20%20%20%20%20%20*%2FloadLabels(...args)%7Bconst%20arrayLabels%3DArray.isArray(args%5B0%5D)%3Fargs%5B0%5D%3Aargs%3BarrayLabels.forEach(label%3D%3E%7Bthis.updateLabel(label)%7D)%7D%2F**%0A%20%20%20%20%20%20%20%20%20*%20method%20called%20to%20set%20the%20property%20with%20the%20correct%20label%20value%0A%20%20%20%20%20%20%20%20%20*%2FsetLabel(label%2Cargs)%7Btry%7Bthis.set(label%2Cthis.localize(label%2C...args))%7Dcatch(e)%7Bthis.set(label%2C%22%22)%7D%7D%2F**%0A%20%20%20%20%20%20%20%20%20*%20method%20used%20by%20the%20parent%20element%20to%20compute%20properties%20which%20depend%20on%20parameters%0A%20%20%20%20%20%20%20%20%20*%20-%20e.g.%20name%20%3D%20'The%20name%20is%20%7BlastName%7D%2C%20%7BfirstName%7D'%0A%20%20%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20%20%20*%20computeName(firstName%2C%20lastName)%20%7B%0A%20%20%20%20%20%20%20%20%20*%20%20%20this.updateLabel('name'%2C%20'firstName'%2C%20firstName%2C%20'lastName'%2C%20lastName)%3B%0A%20%20%20%20%20%20%20%20%20*%20%7D%0A%20%20%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20%20%20*%20computeName('John'%2C%20'Smith')%20%3D%3E%20name%20%3D%20'The%20name%20is%20Smith%2C%20John'%0A%20%20%20%20%20%20%20%20%20*%2FupdateLabel(label%2C...args)%7Bthis._storedDataForLabels%5Blabel%5D%3Dargs%3Bconst%20actualValue%3Dthis.get(label)%3Bif(actualValue!%3D%3Dvoid%200)%7Bthis.setLabel(label%2Cargs)%3Breturn%20actualValue%7Dconst%20setValue%3D()%3D%3E%7Bthis.setLabel(label%2Cargs)%3Bthis.removeEventListener(EVENT%2CsetValue)%7D%3Bthis.addEventListener(EVENT%2CsetValue)%3Breturn%20actualValue%7D%2F**%0A%20%20%20%20%20%20%20%20*%20%40Override%20app-localize-behavior%20method%20to%20include%20elementKeys%0A%20%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20%20*%20Returns%20a%20computed%20%60localize%60%20method%2C%20based%20on%20the%20current%20%60language%60.%0A%20%20%20%20%20%20%20%20*%2F__computeLocalize(language%2Cresources%2Cformats)%7Bconst%20proto%3Dthis.constructor.prototype%3B%2F%2F%20Check%20if%20localCache%20exist%20just%20in%20case.%0Aproto.__localizationCache%3Dthis.__checkLocalizationCache(proto)%3B%2F%2F%20Everytime%20any%20of%20the%20parameters%20change%2C%20invalidate%20the%20strings%20cache.%0Aif(!proto.__localizationCache)%7Bproto.__localizationCache%3D%7Brequests%3A%7B%7D%2Cmessages%3A%7B%7D%2Cajax%3Anull%7D%7Dproto.__localizationCache.messages%3D%7B%7D%3Bfunction%20computedResult(...args)%7Bconst%20key%3Dargs%5B0%5D%3Bif(!key%7C%7C!resources%7C%7C!language%7C%7C!resources%5Blanguage%5D)return!1%3Bconst%20elementKey%3Dthis.tagName.toLowerCase()%2ClanguageData%3Dresources%5Blanguage%5D%7C%7C%7B%7D%3B%2F%2F%20(%40Override)%20extra%20key%20level%20added%0A%2F%2F%20Cache%20the%20key%2Fvalue%20pairs%20for%20the%20same%20language%2C%20so%20that%20we%20don't%0A%2F%2F%20do%20extra%20work%20if%20we're%20just%20reusing%20strings%20across%20an%20application.%0Alet%20translatedValue%3D(languageData%5BelementKey%5D%7C%7C%7B%7D)%5Bkey%5D%2F%2F%20(%40Override)%20extra%20key%20level%0A%7C%7C(languageData.shared%7C%7C%7B%7D)%5Bkey%5D%3B%2F%2F%20(%40Override)%20shared%20fallback%20level%0Aif(!translatedValue)%7BtranslatedValue%3Dthis.useKeyIfMissing%3Fkey%3A%22%22%7Dconst%20messageKey%3Dkey%2BtranslatedValue%3Blet%20translatedMessage%3Dproto.__localizationCache.messages%5BmessageKey%5D%3Bif(%22function%22%3D%3D%3Dtypeof%20IntlMessageFormat%26%26!translatedMessage)%7BtranslatedMessage%3Dnew%20IntlMessageFormat(translatedValue%2Clanguage%2Cformats)%3Bproto.__localizationCache.messages%5BmessageKey%5D%3DtranslatedMessage%7Dconst%20argms%3D%7B%7D%3Bfor(let%20i%3D1%3Bi%3Cargs.length%3Bi%2B%3D2)%7Bargms%5Bargs%5Bi%5D%5D%3Dargs%5Bi%2B1%5D%7Dreturn%20translatedMessage.format(argms)%7Dreturn%20computedResult.bind(this)%7D%7Dreturn%20I18n%7D)%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fing-uic-cms-i18n%2Fing-uic-cms-i18n.html.js%0A | 11 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,%2F**%0A%20%20%20%20%20*%20%60ing-uic-cms-search-bar%60%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40customElement%0A%20%20%20%20%20*%20%40polymer%0A%20%20%20%20%20*%20%40demo%20demo%2Findex.html%0A%20%20%20%20%20*%2Fclass%20IngUicCmsSearchBar%20extends%20Polymer.GestureEventListeners(Polymer.I18n(Polymer.Element))%7B%2F**%0A%20%20%20%20%20%20*%20Component%20definition%0A%20%20%20%20%20%20*%2Fstatic%20get%20is()%7Breturn%22ing-uic-cms-search-bar%22%7D%2F**%0A%20%20%20%20%20%20*%20Properties%0A%20%20%20%20%20%20*%2Fstatic%20get%20properties()%7Breturn%7B%2F**%0A%20%20%20%20%20%20%20%20%20%20*%20Title%20of%20button%0A%20%20%20%20%20%20%20%20%20%20*%2Ftitle%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20*%20Placeholder%20of%20input%20of%20search%0A%20%20%20%20%20%20%20%20%20%20*%2Fplaceholder%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20*%20Query%20obtained%20from%20the%20input%0A%20%20%20%20%20%20%20%20%20%20*%2Fquery%3AString%7D%7D%2F**%0A%20%20%20%20%20%20*%20Ready%20Callback%0A%20%20%20%20%20%20*%2Fready()%7Bsuper.ready()%3Bthis.loadLabels(%22placeholder%22)%3Bconst%20input%3Dthis.shadowRoot.querySelector(%22input%22)%3B%2F*%20iPhone%20scroll%20on%20input%20fix%20*%2Finput.addEventListener(%22focus%22%2C()%3D%3E%7Blet%20i%3D0%3Bconst%20scrollTop%3DsetInterval(()%3D%3E%7Bi%2B%3D1%3Bif(5%3Ci)%7BclearInterval(scrollTop)%7Dwindow.scrollTo(0%2C0)%7D%2C50)%7D)%3Binput.focus()%3B%2F*%20mobile%20sticky%20hover%20fix%20*%2Fconst%20button%3Dthis.shadowRoot.querySelector(%22button%22)%2CtouchHoverFix%3D()%3D%3E%7Bconst%20TOUCH_CLASS%3D%22can-touch%22%3Blet%20isTouch%3D%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A!1%2CisTouchTimer%2CcurRootClass%3D%22%22%3Bconst%20addTouchClass%3D()%3D%3E%7BclearTimeout(isTouchTimer)%3BisTouch%3D%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%3Bif(curRootClass!%3D%3DTOUCH_CLASS)%7BcurRootClass%3DTOUCH_CLASS%3Bbutton.classList.add(curRootClass)%7DisTouchTimer%3DsetTimeout(()%3D%3E%7BisTouch%3D!1%7D%2C500)%7D%2CremoveTouchClass%3D()%3D%3E%7Bif(!isTouch%26%26curRootClass%3D%3D%3DTOUCH_CLASS)%7BisTouch%3D!1%3BcurRootClass%3D%22%22%3Bbutton.classList.remove(TOUCH_CLASS)%7D%7D%3Bdocument.addEventListener(%22touchstart%22%2CaddTouchClass%2C!1)%3Bdocument.addEventListener(%22mouseover%22%2CremoveTouchClass%2C!1)%7D%3BtouchHoverFix()%7D%2F**%0A%20%20%20%20%20%20*%20Set%20the%20query%20property%20value%20and%20sends%20it%20by%20a%20customEvent%0A%20%20%20%20%20%20*%20%40param%20%7BString%7D%20query%20Value%20introduced%20in%20input%0A%20%20%20%20%20%20*%2FdoSearch(query)%7Bif(query!%3D%3Dthis.query)%7Bthis.query%3Dquery%3Bthis.dispatchEvent(new%20CustomEvent(%22search%22%2C%7Bbubbles%3A!0%2Ccomposed%3A!0%2Cdetail%3A%7Bquery%7D%7D))%7D%7D%2F**%0A%20%20%20%20%20%20*%20Obtain%20the%20value%20of%20search%20input%20and%20makes%20the%20search%0A%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20*%2Fsearch()%7Bconst%20query%3Dthis.shadowRoot.querySelector(%22%23query%22).value%2Cbutton%3Dthis.shadowRoot.querySelector(%22button%22)%3Bbutton.setAttribute(%22disabled%22%2C%22disabled%22)%3Bwindow.addEventListener(%22search-end%22%2C()%3D%3E%7Bbutton.removeAttribute(%22disabled%22)%7D)%3Bthis.doSearch(query)%7D%7Dwindow.customElements.define(IngUicCmsSearchBar.is%2CIngUicCmsSearchBar)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fing-uic-cms-header%2Fing-uic-cms-search-bar.html.js%0A | 2.9 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/core/mixins/slotPage.js | 502 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/localize/src/localize.js | 310 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lodash-es/debounce.js | 1.0 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/localize/src/isLocalizeESModule.js | 110 B | 2023-03-08 | 2024-04-05 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7B'use%20strict'%3B%2F%2F%20Common%20implementation%20for%20mixin%20%26%20behavior%0Afunction%20mutablePropertyChange(inst%2Cproperty%2Cvalue%2Cold%2CmutableData)%7Blet%20isObject%3Bif(mutableData)%7BisObject%3D%22object%22%3D%3D%3Dtypeof%20value%26%26null!%3D%3Dvalue%3B%2F%2F%20Pull%20%60old%60%20for%20Objects%20from%20temp%20cache%2C%20but%20treat%20%60null%60%20as%20a%20primitive%0Aif(isObject)%7Bold%3Dinst.__dataTemp%5Bproperty%5D%7D%7D%2F%2F%20Strict%20equality%20check%2C%20but%20return%20false%20for%20NaN%3D%3D%3DNaN%0Alet%20shouldChange%3Dold!%3D%3Dvalue%26%26(old%3D%3D%3Dold%7C%7Cvalue%3D%3D%3Dvalue)%3B%2F%2F%20Objects%20are%20stored%20in%20temporary%20cache%20(cleared%20at%20end%20of%0A%2F%2F%20turn)%2C%20which%20is%20used%20for%20dirty-checking%0Aif(isObject%26%26shouldChange)%7Binst.__dataTemp%5Bproperty%5D%3Dvalue%7Dreturn%20shouldChange%7D%2F**%0A%20%20%20*%20Element%20class%20mixin%20to%20skip%20strict%20dirty-checking%20for%20objects%20and%20arrays%0A%20%20%20*%20(always%20consider%20them%20to%20be%20%22dirty%22)%2C%20for%20use%20on%20elements%20utilizing%0A%20%20%20*%20%60Polymer.PropertyEffects%60%0A%20%20%20*%0A%20%20%20*%20By%20default%2C%20%60Polymer.PropertyEffects%60%20performs%20strict%20dirty%20checking%20on%0A%20%20%20*%20objects%2C%20which%20means%20that%20any%20deep%20modifications%20to%20an%20object%20or%20array%20will%0A%20%20%20*%20not%20be%20propagated%20unless%20%22immutable%22%20data%20patterns%20are%20used%20(i.e.%20all%20object%0A%20%20%20*%20references%20from%20the%20root%20to%20the%20mutation%20were%20changed).%0A%20%20%20*%0A%20%20%20*%20Polymer%20also%20provides%20a%20proprietary%20data%20mutation%20and%20path%20notification%20API%0A%20%20%20*%20(e.g.%20%60notifyPath%60%2C%20%60set%60%2C%20and%20array%20mutation%20API's)%20that%20allow%20efficient%0A%20%20%20*%20mutation%20and%20notification%20of%20deep%20changes%20in%20an%20object%20graph%20to%20all%20elements%0A%20%20%20*%20bound%20to%20the%20same%20object%20graph.%0A%20%20%20*%0A%20%20%20*%20In%20cases%20where%20neither%20immutable%20patterns%20nor%20the%20data%20mutation%20API%20can%20be%0A%20%20%20*%20used%2C%20applying%20this%20mixin%20will%20cause%20Polymer%20to%20skip%20dirty%20checking%20for%0A%20%20%20*%20objects%20and%20arrays%20(always%20consider%20them%20to%20be%20%22dirty%22).%20%20This%20allows%20a%0A%20%20%20*%20user%20to%20make%20a%20deep%20modification%20to%20a%20bound%20object%20graph%2C%20and%20then%20either%0A%20%20%20*%20simply%20re-set%20the%20object%20(e.g.%20%60this.items%20%3D%20this.items%60)%20or%20call%20%60notifyPath%60%0A%20%20%20*%20(e.g.%20%60this.notifyPath('items')%60)%20to%20update%20the%20tree.%20%20Note%20that%20all%0A%20%20%20*%20elements%20that%20wish%20to%20be%20updated%20based%20on%20deep%20mutations%20must%20apply%20this%0A%20%20%20*%20mixin%20or%20otherwise%20skip%20strict%20dirty%20checking%20for%20objects%2Farrays.%0A%20%20%20*%20Specifically%2C%20any%20elements%20in%20the%20binding%20tree%20between%20the%20source%20of%20a%0A%20%20%20*%20mutation%20and%20the%20consumption%20of%20it%20must%20apply%20this%20mixin%20or%20enable%20the%0A%20%20%20*%20%60Polymer.OptionalMutableData%60%20mixin.%0A%20%20%20*%0A%20%20%20*%20In%20order%20to%20make%20the%20dirty%20check%20strategy%20configurable%2C%20see%0A%20%20%20*%20%60Polymer.OptionalMutableData%60.%0A%20%20%20*%0A%20%20%20*%20Note%2C%20the%20performance%20characteristics%20of%20propagating%20large%20object%20graphs%0A%20%20%20*%20will%20be%20worse%20as%20opposed%20to%20using%20strict%20dirty%20checking%20with%20immutable%0A%20%20%20*%20patterns%20or%20Polymer's%20path%20notification%20API.%0A%20%20%20*%0A%20%20%20*%20%40mixinFunction%0A%20%20%20*%20%40polymer%0A%20%20%20*%20%40memberof%20Polymer%0A%20%20%20*%20%40summary%20Element%20class%20mixin%20to%20skip%20strict%20dirty-checking%20for%20objects%0A%20%20%20*%20%20%20and%20arrays%0A%20%20%20*%2FPolymer.MutableData%3DPolymer.dedupingMixin(superClass%3D%3E%7B%2F**%0A%20%20%20%20%20*%20%40polymer%0A%20%20%20%20%20*%20%40mixinClass%0A%20%20%20%20%20*%20%40implements%20%7BPolymer_MutableData%7D%0A%20%20%20%20%20*%2Fclass%20MutableData%20extends%20superClass%7B%2F**%0A%20%20%20%20%20%20%20*%20Overrides%20%60Polymer.PropertyEffects%60%20to%20provide%20option%20for%20skipping%0A%20%20%20%20%20%20%20*%20strict%20equality%20checking%20for%20Objects%20and%20Arrays.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20This%20method%20pulls%20the%20value%20to%20dirty%20check%20against%20from%20the%20%60__dataTemp%60%0A%20%20%20%20%20%20%20*%20cache%20(rather%20than%20the%20normal%20%60__data%60%20cache)%20for%20Objects.%20%20Since%20the%20temp%0A%20%20%20%20%20%20%20*%20cache%20is%20cleared%20at%20the%20end%20of%20a%20turn%2C%20this%20implementation%20allows%0A%20%20%20%20%20%20%20*%20side-effects%20of%20deep%20object%20changes%20to%20be%20processed%20by%20re-setting%20the%0A%20%20%20%20%20%20%20*%20same%20object%20(using%20the%20temp%20cache%20as%20an%20in-turn%20backstop%20to%20prevent%0A%20%20%20%20%20%20%20*%20cycles%20due%20to%202-way%20notification).%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20property%20Property%20name%0A%20%20%20%20%20%20%20*%20%40param%20%7B*%7D%20value%20New%20property%20value%0A%20%20%20%20%20%20%20*%20%40param%20%7B*%7D%20old%20Previous%20property%20value%0A%20%20%20%20%20%20%20*%20%40return%20%7Bboolean%7D%20Whether%20the%20property%20should%20be%20considered%20a%20change%0A%20%20%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20%20%20*%2F_shouldPropertyChange(property%2Cvalue%2Cold)%7Breturn%20mutablePropertyChange(this%2Cproperty%2Cvalue%2Cold%2C%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A)%7D%7Dreturn%20MutableData%7D)%3B%2F**%0A%20%20%20*%20Element%20class%20mixin%20to%20add%20the%20optional%20ability%20to%20skip%20strict%0A%20%20%20*%20dirty-checking%20for%20objects%20and%20arrays%20(always%20consider%20them%20to%20be%0A%20%20%20*%20%22dirty%22)%20by%20setting%20a%20%60mutable-data%60%20attribute%20on%20an%20element%20instance.%0A%20%20%20*%0A%20%20%20*%20By%20default%2C%20%60Polymer.PropertyEffects%60%20performs%20strict%20dirty%20checking%20on%0A%20%20%20*%20objects%2C%20which%20means%20that%20any%20deep%20modifications%20to%20an%20object%20or%20array%20will%0A%20%20%20*%20not%20be%20propagated%20unless%20%22immutable%22%20data%20patterns%20are%20used%20(i.e.%20all%20object%0A%20%20%20*%20references%20from%20the%20root%20to%20the%20mutation%20were%20changed).%0A%20%20%20*%0A%20%20%20*%20Polymer%20also%20provides%20a%20proprietary%20data%20mutation%20and%20path%20notification%20API%0A%20%20%20*%20(e.g.%20%60notifyPath%60%2C%20%60set%60%2C%20and%20array%20mutation%20API's)%20that%20allow%20efficient%0A%20%20%20*%20mutation%20and%20notification%20of%20deep%20changes%20in%20an%20object%20graph%20to%20all%20elements%0A%20%20%20*%20bound%20to%20the%20same%20object%20graph.%0A%20%20%20*%0A%20%20%20*%20In%20cases%20where%20neither%20immutable%20patterns%20nor%20the%20data%20mutation%20API%20can%20be%0A%20%20%20*%20used%2C%20applying%20this%20mixin%20will%20allow%20Polymer%20to%20skip%20dirty%20checking%20for%0A%20%20%20*%20objects%20and%20arrays%20(always%20consider%20them%20to%20be%20%22dirty%22).%20%20This%20allows%20a%0A%20%20%20*%20user%20to%20make%20a%20deep%20modification%20to%20a%20bound%20object%20graph%2C%20and%20then%20either%0A%20%20%20*%20simply%20re-set%20the%20object%20(e.g.%20%60this.items%20%3D%20this.items%60)%20or%20call%20%60notifyPath%60%0A%20%20%20*%20(e.g.%20%60this.notifyPath('items')%60)%20to%20update%20the%20tree.%20%20Note%20that%20all%0A%20%20%20*%20elements%20that%20wish%20to%20be%20updated%20based%20on%20deep%20mutations%20must%20apply%20this%0A%20%20%20*%20mixin%20or%20otherwise%20skip%20strict%20dirty%20checking%20for%20objects%2Farrays.%0A%20%20%20*%20Specifically%2C%20any%20elements%20in%20the%20binding%20tree%20between%20the%20source%20of%20a%0A%20%20%20*%20mutation%20and%20the%20consumption%20of%20it%20must%20enable%20this%20mixin%20or%20apply%20the%0A%20%20%20*%20%60Polymer.MutableData%60%20mixin.%0A%20%20%20*%0A%20%20%20*%20While%20this%20mixin%20adds%20the%20ability%20to%20forgo%20Object%2FArray%20dirty%20checking%2C%0A%20%20%20*%20the%20%60mutableData%60%20flag%20defaults%20to%20false%20and%20must%20be%20set%20on%20the%20instance.%0A%20%20%20*%0A%20%20%20*%20Note%2C%20the%20performance%20characteristics%20of%20propagating%20large%20object%20graphs%0A%20%20%20*%20will%20be%20worse%20by%20relying%20on%20%60mutableData%3A%20true%60%20as%20opposed%20to%20using%0A%20%20%20*%20strict%20dirty%20checking%20with%20immutable%20patterns%20or%20Polymer's%20path%20notification%0A%20%20%20*%20API.%0A%20%20%20*%0A%20%20%20*%20%40mixinFunction%0A%20%20%20*%20%40polymer%0A%20%20%20*%20%40memberof%20Polymer%0A%20%20%20*%20%40summary%20Element%20class%20mixin%20to%20optionally%20skip%20strict%20dirty-checking%0A%20%20%20*%20%20%20for%20objects%20and%20arrays%0A%20%20%20*%2FPolymer.OptionalMutableData%3DPolymer.dedupingMixin(superClass%3D%3E%7B%2F**%0A%20%20%20%20%20*%20%40mixinClass%0A%20%20%20%20%20*%20%40polymer%0A%20%20%20%20%20*%20%40implements%20%7BPolymer_OptionalMutableData%7D%0A%20%20%20%20%20*%2Fclass%20OptionalMutableData%20extends%20superClass%7Bstatic%20get%20properties()%7Breturn%7B%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20Instance-level%20flag%20for%20configuring%20the%20dirty-checking%20strategy%0A%20%20%20%20%20%20%20%20%20%20%20*%20for%20this%20element.%20%20When%20true%2C%20Objects%20and%20Arrays%20will%20skip%20dirty%0A%20%20%20%20%20%20%20%20%20%20%20*%20checking%2C%20otherwise%20strict%20equality%20checking%20will%20be%20used.%0A%20%20%20%20%20%20%20%20%20%20%20*%2FmutableData%3ABoolean%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Overrides%20%60Polymer.PropertyEffects%60%20to%20provide%20option%20for%20skipping%0A%20%20%20%20%20%20%20*%20strict%20equality%20checking%20for%20Objects%20and%20Arrays.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20When%20%60this.mutableData%60%20is%20true%20on%20this%20instance%2C%20this%20method%0A%20%20%20%20%20%20%20*%20pulls%20the%20value%20to%20dirty%20check%20against%20from%20the%20%60__dataTemp%60%20cache%0A%20%20%20%20%20%20%20*%20(rather%20than%20the%20normal%20%60__data%60%20cache)%20for%20Objects.%20%20Since%20the%20temp%0A%20%20%20%20%20%20%20*%20cache%20is%20cleared%20at%20the%20end%20of%20a%20turn%2C%20this%20implementation%20allows%0A%20%20%20%20%20%20%20*%20side-effects%20of%20deep%20object%20changes%20to%20be%20processed%20by%20re-setting%20the%0A%20%20%20%20%20%20%20*%20same%20object%20(using%20the%20temp%20cache%20as%20an%20in-turn%20backstop%20to%20prevent%0A%20%20%20%20%20%20%20*%20cycles%20due%20to%202-way%20notification).%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20property%20Property%20name%0A%20%20%20%20%20%20%20*%20%40param%20%7B*%7D%20value%20New%20property%20value%0A%20%20%20%20%20%20%20*%20%40param%20%7B*%7D%20old%20Previous%20property%20value%0A%20%20%20%20%20%20%20*%20%40return%20%7Bboolean%7D%20Whether%20the%20property%20should%20be%20considered%20a%20change%0A%20%20%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20%20%20*%2F_shouldPropertyChange(property%2Cvalue%2Cold)%7Breturn%20mutablePropertyChange(this%2Cproperty%2Cvalue%2Cold%2Cthis.mutableData)%7D%7Dreturn%20OptionalMutableData%7D)%3B%2F%2F%20Export%20for%20use%20by%20legacy%20behavior%0APolymer.MutableData._mutablePropertyChange%3DmutablePropertyChange%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fpolymer%2Flib%2Fmixins%2Fmutable-data.html.js%0A | 8.1 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-separator/src/IngSeparator.js | 367 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web-es/packages/illustration/illustrations.js | 216 B | 2023-03-08 | 2023-06-29 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,%2F**%0A%20%20%20%20%20*%20%60ing-uic-cms-result-list-item%60%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40customElement%0A%20%20%20%20%20*%20%40polymer%0A%20%20%20%20%20*%20%40demo%20demo%2Findex.html%0A%20%20%20%20%20*%2Fclass%20IngUicCmsResultListItem%20extends%20Polymer.Element%7B%2F**%0A%20%20%20%20%20%20%20*%20Component%20definition%0A%20%20%20%20%20%20%20*%2Fstatic%20get%20is()%7Breturn%22ing-uic-cms-result-list-item%22%7D%2F**%0A%20%20%20%20%20%20%20*%20Properties%0A%20%20%20%20%20%20%20*%2Fstatic%20get%20properties()%7Breturn%7B%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20alt%20text%0A%20%20%20%20%20%20%20%20%20%20%20*%2Falt%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20title%20text%0A%20%20%20%20%20%20%20%20%20%20%20*%2Ftitle%3A%7Btype%3AString%2Cvalue%3Anull%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20item%20description%0A%20%20%20%20%20%20%20%20%20%20%20*%2Fdescription%3A%7Btype%3AString%2Cvalue%3Anull%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20item%20link%20href%0A%20%20%20%20%20%20%20%20%20%20%20*%2Fhref%3A%7Btype%3AString%2Cvalue%3Anull%7D%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20class%20name%20to%20show%20element%20if%20there%20is%20content%0A%20%20%20%20%20%20%20*%20%40param%20%7BString%7D%20id%20property%20name%0A%20%20%20%20%20%20%20*%2Fshow(id)%7Breturn%20this.get(id)%3Fid%3A%22hidden%22%7D%7Dwindow.customElements.define(IngUicCmsResultListItem.is%2CIngUicCmsResultListItem)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fing-uic-cms-result-list%2Fing-uic-cms-result-list-item.html.js%0A | 972 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/directives/class-map.js | 1.7 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/style/values/color.js | 771 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/lib/template-factory.js | 990 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/icon/oj-icons/outline/arrows/arrow_down_outline.svg.js | 221 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/style/values/spacing.js | 429 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/core/src/DisabledMixin.js | 989 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@open-wc/scoped-elements/src/registerElement.js | 814 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7B'use%20strict'%3Blet%20TemplateInstanceBase%3DPolymer.TemplateInstanceBase%3B%2F%2F%20eslint-disable-line%0A%2F**%0A%20%20%20*%20%40constructor%0A%20%20%20*%20%40implements%20%7BPolymer_OptionalMutableData%7D%0A%20%20%20*%20%40extends%20%7BPolymer.Element%7D%0A%20%20%20*%20%40private%0A%20%20%20*%2Fconst%20domRepeatBase%3DPolymer.OptionalMutableData(Polymer.Element)%3B%2F**%0A%20%20%20*%20The%20%60%3Cdom-repeat%3E%60%20element%20will%20automatically%20stamp%20and%20binds%20one%20instance%0A%20%20%20*%20of%20template%20content%20to%20each%20object%20in%20a%20user-provided%20array.%0A%20%20%20*%20%60dom-repeat%60%20accepts%20an%20%60items%60%20property%2C%20and%20one%20instance%20of%20the%20template%0A%20%20%20*%20is%20stamped%20for%20each%20item%20into%20the%20DOM%20at%20the%20location%20of%20the%20%60dom-repeat%60%0A%20%20%20*%20element.%20%20The%20%60item%60%20property%20will%20be%20set%20on%20each%20instance's%20binding%0A%20%20%20*%20scope%2C%20thus%20templates%20should%20bind%20to%20sub-properties%20of%20%60item%60.%0A%20%20%20*%0A%20%20%20*%20Example%3A%0A%20%20%20*%0A%20%20%20*%20%60%60%60html%0A%20%20%20*%20%3Cdom-module%20id%3D%22employee-list%22%3E%0A%20%20%20*%0A%20%20%20*%20%20%20%3Ctemplate%3E%0A%20%20%20*%0A%20%20%20*%20%20%20%20%20%3Cdiv%3E%20Employee%20list%3A%20%3C%2Fdiv%3E%0A%20%20%20*%20%20%20%20%20%3Cdom-repeat%20items%3D%22%7B%7Bemployees%7D%7D%22%3E%0A%20%20%20*%20%20%20%20%20%20%20%3Ctemplate%3E%0A%20%20%20*%20%20%20%20%20%20%20%20%20%3Cdiv%3EFirst%20name%3A%20%3Cspan%3E%7B%7Bitem.first%7D%7D%3C%2Fspan%3E%3C%2Fdiv%3E%0A%20%20%20*%20%20%20%20%20%20%20%20%20%3Cdiv%3ELast%20name%3A%20%3Cspan%3E%7B%7Bitem.last%7D%7D%3C%2Fspan%3E%3C%2Fdiv%3E%0A%20%20%20*%20%20%20%20%20%20%20%3C%2Ftemplate%3E%0A%20%20%20*%20%20%20%20%20%3C%2Fdom-repeat%3E%0A%20%20%20*%0A%20%20%20*%20%20%20%3C%2Ftemplate%3E%0A%20%20%20*%0A%20%20%20*%20%3C%2Fdom-module%3E%0A%20%20%20*%20%60%60%60%0A%20%20%20*%0A%20%20%20*%20With%20the%20following%20custom%20element%20definition%3A%0A%20%20%20*%0A%20%20%20*%20%60%60%60js%0A%20%20%20*%20class%20EmployeeList%20extends%20Polymer.Element%20%7B%0A%20%20%20*%20%20%20static%20get%20is()%20%7B%20return%20'employee-list'%3B%20%7D%0A%20%20%20*%20%20%20static%20get%20properties()%20%7B%0A%20%20%20*%20%20%20%20%20return%20%7B%0A%20%20%20*%20%20%20%20%20%20%20employees%3A%20%7B%0A%20%20%20*%20%20%20%20%20%20%20%20%20value()%20%7B%0A%20%20%20*%20%20%20%20%20%20%20%20%20%20%20return%20%5B%0A%20%20%20*%20%20%20%20%20%20%20%20%20%20%20%20%20%7Bfirst%3A%20'Bob'%2C%20last%3A%20'Smith'%7D%2C%0A%20%20%20*%20%20%20%20%20%20%20%20%20%20%20%20%20%7Bfirst%3A%20'Sally'%2C%20last%3A%20'Johnson'%7D%2C%0A%20%20%20*%20%20%20%20%20%20%20%20%20%20%20%20%20...%0A%20%20%20*%20%20%20%20%20%20%20%20%20%20%20%5D%3B%0A%20%20%20*%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20*%20%20%20%20%20%20%20%7D%0A%20%20%20*%20%20%20%20%20%7D%3B%0A%20%20%20*%20%20%20%7D%0A%20%20%20*%20%7D%0A%20%20%20*%20%60%60%60%0A%20%20%20*%0A%20%20%20*%20Notifications%20for%20changes%20to%20items%20sub-properties%20will%20be%20forwarded%20to%20template%0A%20%20%20*%20instances%2C%20which%20will%20update%20via%20the%20normal%20structured%20data%20notification%20system.%0A%20%20%20*%0A%20%20%20*%20Mutations%20to%20the%20%60items%60%20array%20itself%20should%20be%20made%20using%20the%20Array%0A%20%20%20*%20mutation%20API's%20on%20%60Polymer.Base%60%20(%60push%60%2C%20%60pop%60%2C%20%60splice%60%2C%20%60shift%60%2C%0A%20%20%20*%20%60unshift%60)%2C%20and%20template%20instances%20will%20be%20kept%20in%20sync%20with%20the%20data%20in%20the%0A%20%20%20*%20array.%0A%20%20%20*%0A%20%20%20*%20Events%20caught%20by%20event%20handlers%20within%20the%20%60dom-repeat%60%20template%20will%20be%0A%20%20%20*%20decorated%20with%20a%20%60model%60%20property%2C%20which%20represents%20the%20binding%20scope%20for%0A%20%20%20*%20each%20template%20instance.%20%20The%20model%20is%20an%20instance%20of%20Polymer.Base%2C%20and%20should%0A%20%20%20*%20be%20used%20to%20manipulate%20data%20on%20the%20instance%2C%20for%20example%0A%20%20%20*%20%60event.model.set('item.checked'%2C%20true)%3B%60.%0A%20%20%20*%0A%20%20%20*%20Alternatively%2C%20the%20model%20for%20a%20template%20instance%20for%20an%20element%20stamped%20by%0A%20%20%20*%20a%20%60dom-repeat%60%20can%20be%20obtained%20using%20the%20%60modelForElement%60%20API%20on%20the%0A%20%20%20*%20%60dom-repeat%60%20that%20stamped%20it%2C%20for%20example%0A%20%20%20*%20%60this.%24.domRepeat.modelForElement(event.target).set('item.checked'%2C%20true)%3B%60.%0A%20%20%20*%20This%20may%20be%20useful%20for%20manipulating%20instance%20data%20of%20event%20targets%20obtained%0A%20%20%20*%20by%20event%20handlers%20on%20parents%20of%20the%20%60dom-repeat%60%20(event%20delegation).%0A%20%20%20*%0A%20%20%20*%20A%20view-specific%20filter%2Fsort%20may%20be%20applied%20to%20each%20%60dom-repeat%60%20by%20supplying%20a%0A%20%20%20*%20%60filter%60%20and%2For%20%60sort%60%20property.%20%20This%20may%20be%20a%20string%20that%20names%20a%20function%20on%0A%20%20%20*%20the%20host%2C%20or%20a%20function%20may%20be%20assigned%20to%20the%20property%20directly.%20%20The%20functions%0A%20%20%20*%20should%20implemented%20following%20the%20standard%20%60Array%60%20filter%2Fsort%20API.%0A%20%20%20*%0A%20%20%20*%20In%20order%20to%20re-run%20the%20filter%20or%20sort%20functions%20based%20on%20changes%20to%20sub-fields%0A%20%20%20*%20of%20%60items%60%2C%20the%20%60observe%60%20property%20may%20be%20set%20as%20a%20space-separated%20list%20of%0A%20%20%20*%20%60item%60%20sub-fields%20that%20should%20cause%20a%20re-filter%2Fsort%20when%20modified.%20%20If%0A%20%20%20*%20the%20filter%20or%20sort%20function%20depends%20on%20properties%20not%20contained%20in%20%60items%60%2C%0A%20%20%20*%20the%20user%20should%20observe%20changes%20to%20those%20properties%20and%20call%20%60render%60%20to%20update%0A%20%20%20*%20the%20view%20based%20on%20the%20dependency%20change.%0A%20%20%20*%0A%20%20%20*%20For%20example%2C%20for%20an%20%60dom-repeat%60%20with%20a%20filter%20of%20the%20following%3A%0A%20%20%20*%0A%20%20%20*%20%60%60%60js%0A%20%20%20*%20isEngineer(item)%20%7B%0A%20%20%20*%20%20%20return%20item.type%20%3D%3D%20'engineer'%20%7C%7C%20item.manager.type%20%3D%3D%20'engineer'%3B%0A%20%20%20*%20%7D%0A%20%20%20*%20%60%60%60%0A%20%20%20*%0A%20%20%20*%20Then%20the%20%60observe%60%20property%20should%20be%20configured%20as%20follows%3A%0A%20%20%20*%0A%20%20%20*%20%60%60%60html%0A%20%20%20*%20%3Cdom-repeat%20items%3D%22%7B%7Bemployees%7D%7D%22%20filter%3D%22isEngineer%22%20observe%3D%22type%20manager.type%22%3E%0A%20%20%20*%20%60%60%60%0A%20%20%20*%0A%20%20%20*%20%40customElement%0A%20%20%20*%20%40polymer%0A%20%20%20*%20%40memberof%20Polymer%0A%20%20%20*%20%40extends%20%7BdomRepeatBase%7D%0A%20%20%20*%20%40appliesMixin%20Polymer.OptionalMutableData%0A%20%20%20*%20%40summary%20Custom%20element%20for%20stamping%20instance%20of%20a%20template%20bound%20to%0A%20%20%20*%20%20%20items%20in%20an%20array.%0A%20%20%20*%2Fclass%20DomRepeat%20extends%20domRepeatBase%7B%2F%2F%20Not%20needed%20to%20find%20template%3B%20can%20be%20removed%20once%20the%20analyzer%0A%2F%2F%20can%20find%20the%20tag%20name%20from%20customElements.define%20call%0Astatic%20get%20is()%7Breturn%22dom-repeat%22%7Dstatic%20get%20template()%7Breturn%20null%7Dstatic%20get%20properties()%7B%2F**%0A%20%20%20%20%20%20%20*%20Fired%20whenever%20DOM%20is%20added%20or%20removed%20by%20this%20template%20(by%0A%20%20%20%20%20%20%20*%20default%2C%20rendering%20occurs%20lazily).%20%20To%20force%20immediate%20rendering%2C%20call%0A%20%20%20%20%20%20%20*%20%60render%60.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40event%20dom-change%0A%20%20%20%20%20%20%20*%2Freturn%7B%2F**%0A%20%20%20%20%20%20%20%20%20*%20An%20array%20containing%20items%20determining%20how%20many%20instances%20of%20the%20template%0A%20%20%20%20%20%20%20%20%20*%20to%20stamp%20and%20that%20that%20each%20template%20instance%20should%20bind%20to.%0A%20%20%20%20%20%20%20%20%20*%2Fitems%3A%7Btype%3AArray%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20*%20The%20name%20of%20the%20variable%20to%20add%20to%20the%20binding%20scope%20for%20the%20array%0A%20%20%20%20%20%20%20%20%20*%20element%20associated%20with%20a%20given%20template%20instance.%0A%20%20%20%20%20%20%20%20%20*%2Fas%3A%7Btype%3AString%2Cvalue%3A%22item%22%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20*%20The%20name%20of%20the%20variable%20to%20add%20to%20the%20binding%20scope%20with%20the%20index%0A%20%20%20%20%20%20%20%20%20*%20of%20the%20instance%20in%20the%20sorted%20and%20filtered%20list%20of%20rendered%20items.%0A%20%20%20%20%20%20%20%20%20*%20Note%2C%20for%20the%20index%20in%20the%20%60this.items%60%20array%2C%20use%20the%20value%20of%20the%0A%20%20%20%20%20%20%20%20%20*%20%60itemsIndexAs%60%20property.%0A%20%20%20%20%20%20%20%20%20*%2FindexAs%3A%7Btype%3AString%2Cvalue%3A%22index%22%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20*%20The%20name%20of%20the%20variable%20to%20add%20to%20the%20binding%20scope%20with%20the%20index%0A%20%20%20%20%20%20%20%20%20*%20of%20the%20instance%20in%20the%20%60this.items%60%20array.%20Note%2C%20for%20the%20index%20of%0A%20%20%20%20%20%20%20%20%20*%20this%20instance%20in%20the%20sorted%20and%20filtered%20list%20of%20rendered%20items%2C%0A%20%20%20%20%20%20%20%20%20*%20use%20the%20value%20of%20the%20%60indexAs%60%20property.%0A%20%20%20%20%20%20%20%20%20*%2FitemsIndexAs%3A%7Btype%3AString%2Cvalue%3A%22itemsIndex%22%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20*%20A%20function%20that%20should%20determine%20the%20sort%20order%20of%20the%20items.%20%20This%0A%20%20%20%20%20%20%20%20%20*%20property%20should%20either%20be%20provided%20as%20a%20string%2C%20indicating%20a%20method%0A%20%20%20%20%20%20%20%20%20*%20name%20on%20the%20element's%20host%2C%20or%20else%20be%20an%20actual%20function.%20%20The%0A%20%20%20%20%20%20%20%20%20*%20function%20should%20match%20the%20sort%20function%20passed%20to%20%60Array.sort%60.%0A%20%20%20%20%20%20%20%20%20*%20Using%20a%20sort%20function%20has%20no%20effect%20on%20the%20underlying%20%60items%60%20array.%0A%20%20%20%20%20%20%20%20%20*%2Fsort%3A%7Btype%3AFunction%2Cobserver%3A%22__sortChanged%22%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20*%20A%20function%20that%20can%20be%20used%20to%20filter%20items%20out%20of%20the%20view.%20%20This%0A%20%20%20%20%20%20%20%20%20*%20property%20should%20either%20be%20provided%20as%20a%20string%2C%20indicating%20a%20method%0A%20%20%20%20%20%20%20%20%20*%20name%20on%20the%20element's%20host%2C%20or%20else%20be%20an%20actual%20function.%20%20The%0A%20%20%20%20%20%20%20%20%20*%20function%20should%20match%20the%20sort%20function%20passed%20to%20%60Array.filter%60.%0A%20%20%20%20%20%20%20%20%20*%20Using%20a%20filter%20function%20has%20no%20effect%20on%20the%20underlying%20%60items%60%20array.%0A%20%20%20%20%20%20%20%20%20*%2Ffilter%3A%7Btype%3AFunction%2Cobserver%3A%22__filterChanged%22%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20*%20When%20using%20a%20%60filter%60%20or%20%60sort%60%20function%2C%20the%20%60observe%60%20property%0A%20%20%20%20%20%20%20%20%20*%20should%20be%20set%20to%20a%20space-separated%20list%20of%20the%20names%20of%20item%0A%20%20%20%20%20%20%20%20%20*%20sub-fields%20that%20should%20trigger%20a%20re-sort%20or%20re-filter%20when%20changed.%0A%20%20%20%20%20%20%20%20%20*%20These%20should%20generally%20be%20fields%20of%20%60item%60%20that%20the%20sort%20or%20filter%0A%20%20%20%20%20%20%20%20%20*%20function%20depends%20on.%0A%20%20%20%20%20%20%20%20%20*%2Fobserve%3A%7Btype%3AString%2Cobserver%3A%22__observeChanged%22%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20*%20When%20using%20a%20%60filter%60%20or%20%60sort%60%20function%2C%20the%20%60delay%60%20property%0A%20%20%20%20%20%20%20%20%20*%20determines%20a%20debounce%20time%20in%20ms%20after%20a%20change%20to%20observed%20item%0A%20%20%20%20%20%20%20%20%20*%20properties%20that%20must%20pass%20before%20the%20filter%20or%20sort%20is%20re-run.%0A%20%20%20%20%20%20%20%20%20*%20This%20is%20useful%20in%20rate-limiting%20shuffling%20of%20the%20view%20when%0A%20%20%20%20%20%20%20%20%20*%20item%20changes%20may%20be%20frequent.%0A%20%20%20%20%20%20%20%20%20*%2Fdelay%3ANumber%2C%2F**%0A%20%20%20%20%20%20%20%20%20*%20Count%20of%20currently%20rendered%20items%20after%20%60filter%60%20(if%20any)%20has%20been%20applied.%0A%20%20%20%20%20%20%20%20%20*%20If%20%22chunking%20mode%22%20is%20enabled%2C%20%60renderedItemCount%60%20is%20updated%20each%20time%20a%0A%20%20%20%20%20%20%20%20%20*%20set%20of%20template%20instances%20is%20rendered.%0A%20%20%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20%20%20*%2FrenderedItemCount%3A%7Btype%3ANumber%2Cnotify%3A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2CreadOnly%3A!0%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20*%20Defines%20an%20initial%20count%20of%20template%20instances%20to%20render%20after%20setting%0A%20%20%20%20%20%20%20%20%20*%20the%20%60items%60%20array%2C%20before%20the%20next%20paint%2C%20and%20puts%20the%20%60dom-repeat%60%0A%20%20%20%20%20%20%20%20%20*%20into%20%22chunking%20mode%22.%20%20The%20remaining%20items%20will%20be%20created%20and%20rendered%0A%20%20%20%20%20%20%20%20%20*%20incrementally%20at%20each%20animation%20frame%20therof%20until%20all%20instances%20have%0A%20%20%20%20%20%20%20%20%20*%20been%20rendered.%0A%20%20%20%20%20%20%20%20%20*%2FinitialCount%3A%7Btype%3ANumber%2Cobserver%3A%22__initializeChunking%22%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20*%20When%20%60initialCount%60%20is%20used%2C%20this%20property%20defines%20a%20frame%20rate%20(in%0A%20%20%20%20%20%20%20%20%20*%20fps)%20to%20target%20by%20throttling%20the%20number%20of%20instances%20rendered%20each%0A%20%20%20%20%20%20%20%20%20*%20frame%20to%20not%20exceed%20the%20budget%20for%20the%20target%20frame%20rate.%20%20The%0A%20%20%20%20%20%20%20%20%20*%20framerate%20is%20effectively%20the%20number%20of%20%60requestAnimationFrame%60s%20that%0A%20%20%20%20%20%20%20%20%20*%20it%20tries%20to%20allow%20to%20actually%20fire%20in%20a%20given%20second.%20It%20does%20this%0A%20%20%20%20%20%20%20%20%20*%20by%20measuring%20the%20time%20between%20%60rAF%60s%20and%20continuously%20adjusting%20the%0A%20%20%20%20%20%20%20%20%20*%20number%20of%20items%20created%20each%20%60rAF%60%20to%20maintain%20the%20target%20framerate.%0A%20%20%20%20%20%20%20%20%20*%20Setting%20this%20to%20a%20higher%20number%20allows%20lower%20latency%20and%20higher%0A%20%20%20%20%20%20%20%20%20*%20throughput%20for%20event%20handlers%20and%20other%20tasks%2C%20but%20results%20in%20a%0A%20%20%20%20%20%20%20%20%20*%20longer%20time%20for%20the%20remaining%20items%20to%20complete%20rendering.%0A%20%20%20%20%20%20%20%20%20*%2FtargetFramerate%3A%7Btype%3ANumber%2Cvalue%3A20%7D%2C_targetFrameTime%3A%7Btype%3ANumber%2Ccomputed%3A%22__computeFrameTime(targetFramerate)%22%7D%7D%7Dstatic%20get%20observers()%7Breturn%5B%22__itemsChanged(items.*)%22%5D%7Dconstructor()%7Bsuper()%3Bthis.__instances%3D%5B%5D%3Bthis.__limit%3D1%2F0%3Bthis.__pool%3D%5B%5D%3Bthis.__renderDebouncer%3Dnull%3Bthis.__itemsIdxToInstIdx%3D%7B%7D%3Bthis.__chunkCount%3Dnull%3Bthis.__lastChunkTime%3Dnull%3Bthis.__sortFn%3Dnull%3Bthis.__filterFn%3Dnull%3Bthis.__observePaths%3Dnull%3Bthis.__ctor%3Dnull%3Bthis.__isDetached%3D!0%3Bthis.template%3Dnull%7D%2F**%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%2FdisconnectedCallback()%7Bsuper.disconnectedCallback()%3Bthis.__isDetached%3D!0%3Bfor(let%20i%3D0%3Bi%3Cthis.__instances.length%3Bi%2B%2B)%7Bthis.__detachInstance(i)%7D%7D%2F**%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%2FconnectedCallback()%7Bsuper.connectedCallback()%3Bthis.style.display%3D%22none%22%3B%2F%2F%20only%20perform%20attachment%20if%20the%20element%20was%20previously%20detached.%0Aif(this.__isDetached)%7Bthis.__isDetached%3D%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A!1%3Blet%20parent%3Dthis.parentNode%3Bfor(let%20i%3D0%3Bi%3Cthis.__instances.length%3Bi%2B%2B)%7Bthis.__attachInstance(i%2Cparent)%7D%7D%7D__ensureTemplatized()%7B%2F%2F%20Templatizing%20(generating%20the%20instance%20constructor)%20needs%20to%20wait%0A%2F%2F%20until%20ready%2C%20since%20won't%20have%20its%20template%20content%20handed%20back%20to%0A%2F%2F%20it%20until%20then%0Aif(!this.__ctor)%7Blet%20template%3Dthis.template%3D%2F**%20%40type%20%7BHTMLTemplateElement%7D%20*%2Fthis.querySelector(%22template%22)%3Bif(!template)%7B%2F%2F%20%2F%2F%20Wait%20until%20childList%20changes%20and%20template%20should%20be%20there%20by%20then%0Alet%20observer%3Dnew%20MutationObserver(()%3D%3E%7Bif(this.querySelector(%22template%22))%7Bobserver.disconnect()%3Bthis.__render()%7Delse%7Bthrow%20new%20Error(%22dom-repeat%20requires%20a%20%3Ctemplate%3E%20child%22)%7D%7D)%3Bobserver.observe(this%2C%7BchildList%3A!0%7D)%3Breturn!1%7D%2F%2F%20Template%20instance%20props%20that%20should%20be%20excluded%20from%20forwarding%0Alet%20instanceProps%3D%7B%7D%3BinstanceProps%5Bthis.as%5D%3D!0%3BinstanceProps%5Bthis.indexAs%5D%3D!0%3BinstanceProps%5Bthis.itemsIndexAs%5D%3D!0%3Bthis.__ctor%3DPolymer.Templatize.templatize(template%2Cthis%2C%7BmutableData%3Athis.mutableData%2CparentModel%3A!0%2CinstanceProps%3AinstanceProps%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20%40this%20%7Bthis%7D%0A%20%20%20%20%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20prop%20Property%20to%20set%0A%20%20%20%20%20%20%20%20%20%20%20*%20%40param%20%7B*%7D%20value%20Value%20to%20set%20property%20to%0A%20%20%20%20%20%20%20%20%20%20%20*%2FforwardHostProp%3Afunction(prop%2Cvalue)%7Blet%20i%24%3Dthis.__instances%3Bfor(let%20i%3D0%2Cinst%3Bi%3Ci%24.length%26%26(inst%3Di%24%5Bi%5D)%3Bi%2B%2B)%7Binst.forwardHostProp(prop%2Cvalue)%7D%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20%40this%20%7Bthis%7D%0A%20%20%20%20%20%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20inst%20Instance%20to%20notify%0A%20%20%20%20%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20prop%20Property%20to%20notify%0A%20%20%20%20%20%20%20%20%20%20%20*%20%40param%20%7B*%7D%20value%20Value%20to%20notify%0A%20%20%20%20%20%20%20%20%20%20%20*%2FnotifyInstanceProp%3Afunction(inst%2Cprop%2Cvalue)%7Bif(Polymer.Path.matches(this.as%2Cprop))%7Blet%20idx%3Dinst%5Bthis.itemsIndexAs%5D%3Bif(prop%3D%3Dthis.as)%7Bthis.items%5Bidx%5D%3Dvalue%7Dlet%20path%3DPolymer.Path.translate(this.as%2C%22items.%22%2Bidx%2Cprop)%3Bthis.notifyPath(path%2Cvalue)%7D%7D%7D)%7Dreturn!0%7D__getMethodHost()%7B%2F%2F%20Technically%20this%20should%20be%20the%20owner%20of%20the%20outermost%20template.%0A%2F%2F%20In%20shadow%20dom%2C%20this%20is%20always%20getRootNode().host%2C%20but%20we%20can%0A%2F%2F%20approximate%20this%20via%20cooperation%20with%20our%20dataHost%20always%20setting%0A%2F%2F%20%60_methodHost%60%20as%20long%20as%20there%20were%20bindings%20(or%20id's)%20on%20this%0A%2F%2F%20instance%20causing%20it%20to%20get%20a%20dataHost.%0Areturn%20this.__dataHost._methodHost%7C%7Cthis.__dataHost%7D__functionFromPropertyValue(functionOrMethodName)%7Bif(%22string%22%3D%3D%3Dtypeof%20functionOrMethodName)%7Blet%20methodName%3DfunctionOrMethodName%2Cobj%3Dthis.__getMethodHost()%3Breturn%20function()%7Breturn%20obj%5BmethodName%5D.apply(obj%2Carguments)%7D%7Dreturn%20functionOrMethodName%7D__sortChanged(sort)%7Bthis.__sortFn%3Dthis.__functionFromPropertyValue(sort)%3Bif(this.items)%7Bthis.__debounceRender(this.__render)%7D%7D__filterChanged(filter)%7Bthis.__filterFn%3Dthis.__functionFromPropertyValue(filter)%3Bif(this.items)%7Bthis.__debounceRender(this.__render)%7D%7D__computeFrameTime(rate)%7Breturn%20Math.ceil(1e3%2Frate)%7D__initializeChunking()%7Bif(this.initialCount)%7Bthis.__limit%3Dthis.initialCount%3Bthis.__chunkCount%3Dthis.initialCount%3Bthis.__lastChunkTime%3Dperformance.now()%7D%7D__tryRenderChunk()%7B%2F%2F%20Debounced%20so%20that%20multiple%20calls%20through%20%60_render%60%20between%20animation%0A%2F%2F%20frames%20only%20queue%20one%20new%20rAF%20(e.g.%20array%20mutation%20%26%20chunked%20render)%0Aif(this.items%26%26this.__limit%3Cthis.items.length)%7Bthis.__debounceRender(this.__requestRenderChunk)%7D%7D__requestRenderChunk()%7BrequestAnimationFrame(()%3D%3Ethis.__renderChunk())%7D__renderChunk()%7B%2F%2F%20Simple%20auto%20chunkSize%20throttling%20algorithm%20based%20on%20feedback%20loop%3A%0A%2F%2F%20measure%20actual%20time%20between%20frames%20and%20scale%20chunk%20count%20by%20ratio%0A%2F%2F%20of%20target%2Factual%20frame%20time%0Alet%20currChunkTime%3Dperformance.now()%2Cratio%3Dthis._targetFrameTime%2F(currChunkTime-this.__lastChunkTime)%3Bthis.__chunkCount%3DMath.round(this.__chunkCount*ratio)%7C%7C1%3Bthis.__limit%2B%3Dthis.__chunkCount%3Bthis.__lastChunkTime%3DcurrChunkTime%3Bthis.__debounceRender(this.__render)%7D__observeChanged()%7Bthis.__observePaths%3Dthis.observe%26%26this.observe.replace(%22.*%22%2C%22.%22).split(%22%20%22)%7D__itemsChanged(change)%7Bif(this.items%26%26!Array.isArray(this.items))%7Bconsole.warn(%22dom-repeat%20expected%20array%20for%20%60items%60%2C%20found%22%2Cthis.items)%7D%2F%2F%20If%20path%20was%20to%20an%20item%20(e.g.%20'items.3'%20or%20'items.3.foo')%2C%20forward%20the%0A%2F%2F%20path%20to%20that%20instance%20synchronously%20(returns%20false%20for%20non-item%20paths)%0Aif(!this.__handleItemPath(change.path%2Cchange.value))%7B%2F%2F%20Otherwise%2C%20the%20array%20was%20reset%20('items')%20or%20spliced%20('items.splices')%2C%0A%2F%2F%20so%20queue%20a%20full%20refresh%0Athis.__initializeChunking()%3Bthis.__debounceRender(this.__render)%7D%7D__handleObservedPaths(path)%7B%2F%2F%20Handle%20cases%20where%20path%20changes%20should%20cause%20a%20re-sort%2Ffilter%0Aif(this.__sortFn%7C%7Cthis.__filterFn)%7Bif(!path)%7B%2F%2F%20Always%20re-render%20if%20the%20item%20itself%20changed%0Athis.__debounceRender(this.__render%2Cthis.delay)%7Delse%20if(this.__observePaths)%7B%2F%2F%20Otherwise%2C%20re-render%20if%20the%20path%20changed%20matches%20an%20observed%20path%0Alet%20paths%3Dthis.__observePaths%3Bfor(let%20i%3D0%3Bi%3Cpaths.length%3Bi%2B%2B)%7Bif(0%3D%3D%3Dpath.indexOf(paths%5Bi%5D))%7Bthis.__debounceRender(this.__render%2Cthis.delay)%7D%7D%7D%7D%7D%2F**%0A%20%20%20%20%20*%20%40param%20%7Bfunction(this%3ADomRepeat)%7D%20fn%20Function%20to%20debounce.%0A%20%20%20%20%20*%20%40param%20%7Bnumber%3D%7D%20delay%20Delay%20in%20ms%20to%20debounce%20by.%0A%20%20%20%20%20*%2F__debounceRender(fn%2Cdelay%3D0)%7Bthis.__renderDebouncer%3DPolymer.Debouncer.debounce(this.__renderDebouncer%2C0%3Cdelay%3FPolymer.Async.timeOut.after(delay)%3APolymer.Async.microTask%2Cfn.bind(this))%3BPolymer.enqueueDebouncer(this.__renderDebouncer)%7D%2F**%0A%20%20%20%20%20*%20Forces%20the%20element%20to%20render%20its%20content.%20Normally%20rendering%20is%0A%20%20%20%20%20*%20asynchronous%20to%20a%20provoking%20change.%20This%20is%20done%20for%20efficiency%20so%0A%20%20%20%20%20*%20that%20multiple%20changes%20trigger%20only%20a%20single%20render.%20The%20render%20method%0A%20%20%20%20%20*%20should%20be%20called%20if%2C%20for%20example%2C%20template%20rendering%20is%20required%20to%0A%20%20%20%20%20*%20validate%20application%20state.%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%2Frender()%7B%2F%2F%20Queue%20this%20repeater%2C%20then%20flush%20all%20in%20order%0Athis.__debounceRender(this.__render)%3BPolymer.flush()%7D__render()%7Bif(!this.__ensureTemplatized())%7B%2F%2F%20No%20template%20found%20yet%0Areturn%7Dthis.__applyFullRefresh()%3B%2F%2F%20Reset%20the%20pool%0A%2F%2F%20TODO(kschaaf)%3A%20Reuse%20pool%20across%20turns%20and%20nested%20templates%0A%2F%2F%20Now%20that%20objects%2Farrays%20are%20re-evaluated%20when%20set%2C%20we%20can%20safely%0A%2F%2F%20reuse%20pooled%20instances%20across%20turns%2C%20however%20we%20still%20need%20to%20decide%0A%2F%2F%20semantics%20regarding%20how%20long%20to%20hold%2C%20how%20many%20to%20hold%2C%20etc.%0Athis.__pool.length%3D0%3B%2F%2F%20Set%20rendered%20item%20count%0Athis._setRenderedItemCount(this.__instances.length)%3B%2F%2F%20Notify%20users%0Athis.dispatchEvent(new%20CustomEvent(%22dom-change%22%2C%7Bbubbles%3A!0%2Ccomposed%3A!0%7D))%3B%2F%2F%20Check%20to%20see%20if%20we%20need%20to%20render%20more%20items%0Athis.__tryRenderChunk()%7D__applyFullRefresh()%7Blet%20items%3Dthis.items%7C%7C%5B%5D%2CisntIdxToItemsIdx%3DArray(items.length)%3Bfor(let%20i%3D0%3Bi%3Citems.length%3Bi%2B%2B)%7BisntIdxToItemsIdx%5Bi%5D%3Di%7D%2F%2F%20Apply%20user%20filter%0Aif(this.__filterFn)%7BisntIdxToItemsIdx%3DisntIdxToItemsIdx.filter((i%2Cidx%2Carray)%3D%3Ethis.__filterFn(items%5Bi%5D%2Cidx%2Carray))%7D%2F%2F%20Apply%20user%20sort%0Aif(this.__sortFn)%7BisntIdxToItemsIdx.sort((a%2Cb)%3D%3Ethis.__sortFn(items%5Ba%5D%2Citems%5Bb%5D))%7D%2F%2F%20items-%3Einst%20map%20kept%20for%20item%20path%20forwarding%0Aconst%20itemsIdxToInstIdx%3Dthis.__itemsIdxToInstIdx%3D%7B%7D%3Blet%20instIdx%3D0%3B%2F%2F%20Generate%20instances%20and%20assign%20items%0Aconst%20limit%3DMath.min(isntIdxToItemsIdx.length%2Cthis.__limit)%3Bfor(%3BinstIdx%3Climit%3BinstIdx%2B%2B)%7Blet%20inst%3Dthis.__instances%5BinstIdx%5D%2CitemIdx%3DisntIdxToItemsIdx%5BinstIdx%5D%2Citem%3Ditems%5BitemIdx%5D%3BitemsIdxToInstIdx%5BitemIdx%5D%3DinstIdx%3Bif(inst)%7Binst._setPendingProperty(this.as%2Citem)%3Binst._setPendingProperty(this.indexAs%2CinstIdx)%3Binst._setPendingProperty(this.itemsIndexAs%2CitemIdx)%3Binst._flushProperties()%7Delse%7Bthis.__insertInstance(item%2CinstIdx%2CitemIdx)%7D%7D%2F%2F%20Remove%20any%20extra%20instances%20from%20previous%20state%0Afor(let%20i%3Dthis.__instances.length-1%3Bi%3E%3DinstIdx%3Bi--)%7Bthis.__detachAndRemoveInstance(i)%7D%7D__detachInstance(idx)%7Blet%20inst%3Dthis.__instances%5Bidx%5D%3Bfor(let%20i%3D0%2Cel%3Bi%3Cinst.children.length%3Bi%2B%2B)%7Bel%3Dinst.children%5Bi%5D%3Binst.root.appendChild(el)%7Dreturn%20inst%7D__attachInstance(idx%2Cparent)%7Blet%20inst%3Dthis.__instances%5Bidx%5D%3Bparent.insertBefore(inst.root%2Cthis)%7D__detachAndRemoveInstance(idx)%7Blet%20inst%3Dthis.__detachInstance(idx)%3Bif(inst)%7Bthis.__pool.push(inst)%7Dthis.__instances.splice(idx%2C1)%7D__stampInstance(item%2CinstIdx%2CitemIdx)%7Blet%20model%3D%7B%7D%3Bmodel%5Bthis.as%5D%3Ditem%3Bmodel%5Bthis.indexAs%5D%3DinstIdx%3Bmodel%5Bthis.itemsIndexAs%5D%3DitemIdx%3Breturn%20new%20this.__ctor(model)%7D__insertInstance(item%2CinstIdx%2CitemIdx)%7Blet%20inst%3Dthis.__pool.pop()%3Bif(inst)%7B%2F%2F%20TODO(kschaaf)%3A%20If%20the%20pool%20is%20shared%20across%20turns%2C%20hostProps%0A%2F%2F%20need%20to%20be%20re-set%20to%20reused%20instances%20in%20addition%20to%20item%0Ainst._setPendingProperty(this.as%2Citem)%3Binst._setPendingProperty(this.indexAs%2CinstIdx)%3Binst._setPendingProperty(this.itemsIndexAs%2CitemIdx)%3Binst._flushProperties()%7Delse%7Binst%3Dthis.__stampInstance(item%2CinstIdx%2CitemIdx)%7Dlet%20beforeRow%3Dthis.__instances%5BinstIdx%2B1%5D%2CbeforeNode%3DbeforeRow%3FbeforeRow.children%5B0%5D%3Athis%3Bthis.parentNode.insertBefore(inst.root%2CbeforeNode)%3Bthis.__instances%5BinstIdx%5D%3Dinst%3Breturn%20inst%7D%2F%2F%20Implements%20extension%20point%20from%20Templatize%20mixin%0A%2F**%0A%20%20%20%20%20*%20Shows%20or%20hides%20the%20template%20instance%20top%20level%20child%20elements.%20For%0A%20%20%20%20%20*%20text%20nodes%2C%20%60textContent%60%20is%20removed%20while%20%22hidden%22%20and%20replaced%20when%0A%20%20%20%20%20*%20%22shown.%22%0A%20%20%20%20%20*%20%40param%20%7Bboolean%7D%20hidden%20Set%20to%20true%20to%20hide%20the%20children%3B%0A%20%20%20%20%20*%20set%20to%20false%20to%20show%20them.%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20*%2F_showHideChildren(hidden)%7Bfor(let%20i%3D0%3Bi%3Cthis.__instances.length%3Bi%2B%2B)%7Bthis.__instances%5Bi%5D._showHideChildren(hidden)%7D%7D%2F%2F%20Called%20as%20a%20side%20effect%20of%20a%20host%20items.%3Ckey%3E.%3Cpath%3E%20path%20change%2C%0A%2F%2F%20responsible%20for%20notifying%20item.%3Cpath%3E%20changes%20to%20inst%20for%20key%0A__handleItemPath(path%2Cvalue)%7Blet%20itemsPath%3Dpath.slice(6)%2Cdot%3DitemsPath.indexOf(%22.%22)%2CitemsIdx%3D0%3Edot%3FitemsPath%3AitemsPath.substring(0%2Cdot)%3B%2F%2F%20'items.'.length%20%3D%3D%206%0A%2F%2F%20If%20path%20was%20index%20into%20array...%0Aif(itemsIdx%3D%3DparseInt(itemsIdx%2C10))%7Blet%20itemSubPath%3D0%3Edot%3F%22%22%3AitemsPath.substring(dot%2B1)%3B%2F%2F%20If%20the%20path%20is%20observed%2C%20it%20will%20trigger%20a%20full%20refresh%0Athis.__handleObservedPaths(itemSubPath)%3B%2F%2F%20Note%2C%20even%20if%20a%20rull%20refresh%20is%20triggered%2C%20always%20do%20the%20path%0A%2F%2F%20notification%20because%20unless%20mutableData%20is%20used%20for%20dom-repeat%0A%2F%2F%20and%20all%20elements%20in%20the%20instance%20subtree%2C%20a%20full%20refresh%20may%0A%2F%2F%20not%20trigger%20the%20proper%20update.%0Alet%20instIdx%3Dthis.__itemsIdxToInstIdx%5BitemsIdx%5D%2Cinst%3Dthis.__instances%5BinstIdx%5D%3Bif(inst)%7Blet%20itemPath%3Dthis.as%2B(itemSubPath%3F%22.%22%2BitemSubPath%3A%22%22)%3B%2F%2F%20This%20is%20effectively%20%60notifyPath%60%2C%20but%20avoids%20some%20of%20the%20overhead%0A%2F%2F%20of%20the%20public%20API%0Ainst._setPendingPropertyOrPath(itemPath%2Cvalue%2C!1%2C!0)%3Binst._flushProperties()%7Dreturn!0%7D%7D%2F**%0A%20%20%20%20%20*%20Returns%20the%20item%20associated%20with%20a%20given%20element%20stamped%20by%0A%20%20%20%20%20*%20this%20%60dom-repeat%60.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20Note%2C%20to%20modify%20sub-properties%20of%20the%20item%2C%0A%20%20%20%20%20*%20%60modelForElement(el).set('item.%3Csub-prop%3E'%2C%20value)%60%0A%20%20%20%20%20*%20should%20be%20used.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40param%20%7B!HTMLElement%7D%20el%20Element%20for%20which%20to%20return%20the%20item.%0A%20%20%20%20%20*%20%40return%20%7B*%7D%20Item%20associated%20with%20the%20element.%0A%20%20%20%20%20*%2FitemForElement(el)%7Blet%20instance%3Dthis.modelForElement(el)%3Breturn%20instance%26%26instance%5Bthis.as%5D%7D%2F**%0A%20%20%20%20%20*%20Returns%20the%20inst%20index%20for%20a%20given%20element%20stamped%20by%20this%20%60dom-repeat%60.%0A%20%20%20%20%20*%20If%20%60sort%60%20is%20provided%2C%20the%20index%20will%20reflect%20the%20sorted%20order%20(rather%0A%20%20%20%20%20*%20than%20the%20original%20array%20order).%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40param%20%7B!HTMLElement%7D%20el%20Element%20for%20which%20to%20return%20the%20index.%0A%20%20%20%20%20*%20%40return%20%7B%3Fnumber%7D%20Row%20index%20associated%20with%20the%20element%20(note%20this%20may%0A%20%20%20%20%20*%20%20%20not%20correspond%20to%20the%20array%20index%20if%20a%20user%20%60sort%60%20is%20applied).%0A%20%20%20%20%20*%2FindexForElement(el)%7Blet%20instance%3Dthis.modelForElement(el)%3Breturn%20instance%26%26instance%5Bthis.indexAs%5D%7D%2F**%0A%20%20%20%20%20*%20Returns%20the%20template%20%22model%22%20associated%20with%20a%20given%20element%2C%20which%0A%20%20%20%20%20*%20serves%20as%20the%20binding%20scope%20for%20the%20template%20instance%20the%20element%20is%0A%20%20%20%20%20*%20contained%20in.%20A%20template%20model%20is%20an%20instance%20of%20%60Polymer.Base%60%2C%20and%0A%20%20%20%20%20*%20should%20be%20used%20to%20manipulate%20data%20associated%20with%20this%20template%20instance.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20Example%3A%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%20%20let%20model%20%3D%20modelForElement(el)%3B%0A%20%20%20%20%20*%20%20%20if%20(model.index%20%3C%2010)%20%7B%0A%20%20%20%20%20*%20%20%20%20%20model.set('item.checked'%2C%20true)%3B%0A%20%20%20%20%20*%20%20%20%7D%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40param%20%7B!HTMLElement%7D%20el%20Element%20for%20which%20to%20return%20a%20template%20model.%0A%20%20%20%20%20*%20%40return%20%7BTemplateInstanceBase%7D%20Model%20representing%20the%20binding%20scope%20for%0A%20%20%20%20%20*%20%20%20the%20element.%0A%20%20%20%20%20*%2FmodelForElement(el)%7Breturn%20Polymer.Templatize.modelForElement(this.template%2Cel)%7D%7DcustomElements.define(DomRepeat.is%2CDomRepeat)%3B%2F**%20%40const%20*%2FPolymer.DomRepeat%3DDomRepeat%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fpolymer%2Flib%2Felements%2Fdom-repeat.html.js%0A | 22 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,%2F*%20global%20%24%20*%2F%20%2F**%0A%20%20%20%20%20*%20%60ing-uic-cms-layout%60%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40customElement%0A%20%20%20%20%20*%20%40polymer%0A%20%20%20%20%20*%20%40demo%20demo%2Findex.html%0A%20%20%20%20%20*%2Fconst%20findMobileDevice%3D()%3D%3E%7Blet%20isMobileDevice%3D%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A!1%3B%2F*%20eslint-disable%20*%2Fconst%20mobileBrowsers1RegExp%3D%2F(android%7Cbb%5Cd%2B%7Cmeego).%2Bmobile%7Cavantgo%7Cbada%5C%2F%7Cblackberry%7Cblazer%7Ccompal%7Celaine%7Cfennec%7Chiptop%7Ciemobile%7Cip(hone%7Cod)%7Ciris%7Ckindle%7Clge%20%7Cmaemo%7Cmidp%7Cmmp%7Cmobile.%2Bfirefox%7Cnetfront%7Copera%20m(ob%7Cin)i%7Cpalm(%20os)%3F%7Cphone%7Cp(ixi%7Cre)%5C%2F%7Cplucker%7Cpocket%7Cpsp%7Cseries(4%7C6)0%7Csymbian%7Ctreo%7Cup.(browser%7Clink)%7Cvodafone%7Cwap%7Cwindows%20ce%7Cxda%7Cxiino%2Fi%2CmobileBrowsers2RegExp%3D%2F1207%7C6310%7C6590%7C3gso%7C4thp%7C50%5B1-6%5Di%7C770s%7C802s%7Ca%20wa%7Cabac%7Cac(er%7Coo%7Cs-)%7Cai(ko%7Crn)%7Cal(av%7Cca%7Cco)%7Camoi%7Can(ex%7Cny%7Cyw)%7Captu%7Car(ch%7Cgo)%7Cas(te%7Cus)%7Cattw%7Cau(di%7C-m%7Cr%20%7Cs%20)%7Cavan%7Cbe(ck%7Cll%7Cnq)%7Cbi(lb%7Crd)%7Cbl(ac%7Caz)%7Cbr(e%7Cv)w%7Cbumb%7Cbw-(n%7Cu)%7Cc55%5C%2F%7Ccapi%7Cccwa%7Ccdm-%7Ccell%7Cchtm%7Ccldc%7Ccmd-%7Cco(mp%7Cnd)%7Ccraw%7Cda(it%7Cll%7Cng)%7Cdbte%7Cdc-s%7Cdevi%7Cdica%7Cdmob%7Cdo(c%7Cp)o%7Cds(12%7C-d)%7Cel(49%7Cai)%7Cem(l2%7Cul)%7Cer(ic%7Ck0)%7Cesl8%7Cez(%5B4-7%5D0%7Cos%7Cwa%7Cze)%7Cfetc%7Cfly(-%7C)%7Cg1%20u%7Cg560%7Cgene%7Cgf-5%7Cg-mo%7Cgo(.w%7Cod)%7Cgr(ad%7Cun)%7Chaie%7Chcit%7Chd-(m%7Cp%7Ct)%7Chei-%7Chi(pt%7Cta)%7Chp(%20i%7Cip)%7Chs-c%7Cht(c(-%7C%20%7C%7Ca%7Cg%7Cp%7Cs%7Ct)%7Ctp)%7Chu(aw%7Ctc)%7Ci-(20%7Cgo%7Cma)%7Ci230%7Ciac(%20%7C-%7C%5C%2F)%7Cibro%7Cidea%7Cig01%7Cikom%7Cim1k%7Cinno%7Cipaq%7Ciris%7Cja(t%7Cv)a%7Cjbro%7Cjemu%7Cjigs%7Ckddi%7Ckeji%7Ckgt(%20%7C%5C%2F)%7Cklon%7Ckpt%20%7Ckwc-%7Ckyo(c%7Ck)%7Cle(no%7Cxi)%7Clg(%20g%7C%5C%2F(k%7Cl%7Cu)%7C50%7C54%7C-%5Ba-w%5D)%7Clibw%7Clynx%7Cm1-w%7Cm3ga%7Cm50%5C%2F%7Cma(te%7Cui%7Cxo)%7Cmc(01%7C21%7Cca)%7Cm-cr%7Cme(rc%7Cri)%7Cmi(o8%7Coa%7Cts)%7Cmmef%7Cmo(01%7C02%7Cbi%7Cde%7Cdo%7Ct(-%7C%20%7Co%7Cv)%7Czz)%7Cmt(50%7Cp1%7Cv%20)%7Cmwbp%7Cmywa%7Cn10%5B0-2%5D%7Cn20%5B2-3%5D%7Cn30(0%7C2)%7Cn50(0%7C2%7C5)%7Cn7(0(0%7C1)%7C10)%7Cne((c%7Cm)-%7Con%7Ctf%7Cwf%7Cwg%7Cwt)%7Cnok(6%7Ci)%7Cnzph%7Co2im%7Cop(ti%7Cwv)%7Coran%7Cowg1%7Cp800%7Cpan(a%7Cd%7Ct)%7Cpdxg%7Cpg(13%7C-(%5B1-8%5D%7Cc))%7Cphil%7Cpire%7Cpl(ay%7Cuc)%7Cpn-2%7Cpo(ck%7Crt%7Cse)%7Cprox%7Cpsio%7Cpt-g%7Cqa-a%7Cqc(07%7C12%7C21%7C32%7C60%7C-%5B2-7%5D%7Ci-)%7Cqtek%7Cr380%7Cr600%7Craks%7Crim9%7Cro(ve%7Czo)%7Cs55%5C%2F%7Csa(ge%7Cma%7Cmm%7Cms%7Cny%7Cva)%7Csc(01%7Ch-%7Coo%7Cp-)%7Csdk%5C%2F%7Cse(c(-%7C0%7C1)%7C47%7Cmc%7Cnd%7Cri)%7Csgh-%7Cshar%7Csie(-%7Cm)%7Csk-0%7Csl(45%7Cid)%7Csm(al%7Car%7Cb3%7Cit%7Ct5)%7Cso(ft%7Cny)%7Csp(01%7Ch-%7Cv-%7Cv%20)%7Csy(01%7Cmb)%7Ct2(18%7C50)%7Ct6(00%7C10%7C18)%7Cta(gt%7Clk)%7Ctcl-%7Ctdg-%7Ctel(i%7Cm)%7Ctim-%7Ct-mo%7Cto(pl%7Csh)%7Cts(70%7Cm-%7Cm3%7Cm5)%7Ctx-9%7Cup(.b%7Cg1%7Csi)%7Cutst%7Cv400%7Cv750%7Cveri%7Cvi(rg%7Cte)%7Cvk(40%7C5%5B0-3%5D%7C-v)%7Cvm40%7Cvoda%7Cvulc%7Cvx(52%7C53%7C60%7C61%7C70%7C80%7C81%7C83%7C85%7C98)%7Cw3c(-%7C%20)%7Cwebc%7Cwhit%7Cwi(g%20%7Cnc%7Cnw)%7Cwmlb%7Cwonu%7Cx700%7Cyas-%7Cyour%7Czeto%7Czte-%2Fi%3B%2F*%20eslint-enable%20*%2F(a%3D%3E%7Bif(mobileBrowsers1RegExp.test(a)%7C%7CmobileBrowsers2RegExp.test(a.substr(0%2C4)))%7BisMobileDevice%3D%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%7D%7D)(navigator.userAgent%7C%7Cnavigator.vendor%7C%7Cwindow.opera)%3Breturn%20isMobileDevice%7D%2CgetDevice%3D()%3D%3E%7B%2F*%20eslint-disable%20*%2Fif(752%3C%3D%24(window).width()%26%26(window.DetectAndroid()%7C%7Cwindow.DetectIpad()))%7B%2F*%20eslint-enable%20*%2Freturn%22tablet%22%7Dif(findMobileDevice())%7Breturn%22mobile%22%7Dreturn%22pc%22%7D%2Clayouts%3D%7BflexCentro%3A%7Bmobile%3A%22classMobile%22%2Ctablet%3A%22classTablet%22%2Cpc%3A%22classDesktop%22%7D%2CflexFullWidth%3A%7Bmobile%3A%22classMobileMaxWidth%22%2Ctablet%3A%22classTabletMaxWidth%22%2Cpc%3A%22classDesktopMaxWidth%22%7D%2CflexSmallMargin%3A%7Bmobile%3A%22classMobileSmallMarginWidth%22%2Ctablet%3A%22classTabletSmallMarginWidth%22%2Cpc%3A%22classDesktopSmallMarginWidth%22%7D%2CflexCentroNoMarginTop%3A%7Bmobile%3A%22classMobileNoMarginTop%22%2Ctablet%3A%22classTabletNoMarginTop%22%2Cpc%3A%22classDesktopNoMarginTop%22%7D%2CflexFullWidthNoMarginTop%3A%7Bmobile%3A%22classMobileMaxWidthNoMarginTop%22%2Ctablet%3A%22classTabletMaxWidthNoMarginTop%22%2Cpc%3A%22classDesktopMaxWidthNoMarginTop%22%7D%7D%3Bclass%20IngUicCmsLayout%20extends%20Polymer.Element%7B%2F**%0A%20%20%20%20%20%20%20*%20Component%20definition%0A%20%20%20%20%20%20%20*%2Fstatic%20get%20is()%7Breturn%22ing-uic-cms-layout%22%7D%2F**%0A%20%20%20%20%20%20%20*%20Properties%0A%20%20%20%20%20%20%20*%2Fstatic%20get%20properties()%7Breturn%7B%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20Query%20variable%20for%20search%20component%0A%20%20%20%20%20%20%20%20%20%20%20*%2Fquery%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20Api%20path%20where%20to%20retrieve%20information%20for%20components%0A%20%20%20%20%20%20%20%20%20%20%20*%2Fpath%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20List%20of%20elements%20for%20search%0A%20%20%20%20%20%20%20%20%20%20%20*%2Flist%3A%7Btype%3AArray%2Cvalue%3A%5B%5D%2Cobserver%3A%22listChanged%22%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20If%20informed%2C%20header%20and%20footer%20won't%20render%0A%20%20%20%20%20%20%20%20%20%20%20*%2Fembedded%3A%7Btype%3ABoolean%2Cvalue%3A!1%2Cobserver%3A%22embeddedChanged%22%7D%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Observes%20list%20changes%20and%20updates%20list%20properties%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40returns%20%7BArray%7D%0A%20%20%20%20%20%20%20*%2FlistChanged()%7Bthis.showResults(this.query)%7D%2F**%0A%20%20%20%20%20%20%20*%20Updates%20variable%20query%20with%20the%20input%20value%0A%20%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20ev%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%2FonSearch(ev)%7Bconst%7Bquery%7D%3Dev.detail%3Bthis.set(%22query%22%2Cquery)%3Bwindow.scrollTo(0%2C0)%7D%2F**%0A%20%20%20%20%20%20%20*%20api%20callback%0A%20%20%20%20%20%20%20*%2FonResolved()%7Bwindow.dispatchEvent(new%20CustomEvent(%22search-end%22%2C%7Bbubbles%3A!0%2Ccomposed%3A!0%2Cdetail%3A%7Bquery%3Athis.query%7D%7D))%7D%2F**%0A%20%20%20%20%20%20%20*%20Initialize%20variable%20whery%20and%20closes%20result%20list%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2FcloseSearch()%7Bthis.set(%22query%22%2Cnull)%3Bthis.showResults(!1)%7D%2F**%0A%20%20%20%20%20%20%20*%20Opens%20section%20when%20clicked%0A%20%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20ev%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2FonOpenSection(ev)%7Bif(ev.detail.footer)%7Bthis.%24.spacerFooter.style.height%3D%60%24%7Bev.detail.height%7Dpx%60%7Delse%7Bthis.%24.spacer.classList.add(ev.detail.type)%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Close%20section%20when%20clicked%0A%20%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20ev%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2FonCloseSection(ev)%7Bif(ev.detail.footer)%7Bthis.%24.spacerFooter.style.height%3D%220px%22%7Delse%7Bthis.%24.spacer.className%3D%22%22%7Dconst%20type%3Dev.detail.type%7C%7C%22%22%3Bswitch(type)%7Bcase%22search-bar%22%3Athis.closeSearch()%3Bbreak%3Bdefault%3A%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Shows%20result%20query%0A%20%20%20%20%20%20%20*%20%40param%20%7BString%7D%20show%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2FshowResults(show)%7Bthis.%24.main.classList%5Bshow%3F%22add%22%3A%22remove%22%5D(%22hidden%22)%3Bthis.%24.searchResults.classList%5Bshow%3F%22remove%22%3A%22add%22%5D(%22hidden%22)%3Bwindow.scrollTo(0%2C0)%3Bwindow.addEventListener(%22WebComponentsReady%22%2Cthis._updateClassByDevice.bind(this))%7D%2F**%0A%20%20%20%20%20%20%20*%20Connected%20callback%20for%20event%20listeners%0A%20%20%20%20%20%20%20*%2FconnectedCallback()%7Bsuper.connectedCallback()%3Bthis.addEventListener(%22openSection%22%2Cthis.onOpenSection)%3Bwindow.addEventListener(%22closeSection%22%2Cthis.onCloseSection.bind(this))%3Bthis.addEventListener(%22search%22%2Cthis.onSearch)%7D%2F**%0A%20%20%20%20%20%20%20*%20Remove%20event%20listeners%0A%20%20%20%20%20%20%20*%2FdisconnectedCallback()%7Bsuper.disconnectedCallback()%3Bthis.removeEventListener(%22openSection%22%2Cthis.onOpenSection)%3Bwindow.removeEventListener(%22closeSection%22%2Cthis.onCloseSection)%3Bthis.removeEventListener(%22search%22%2Cthis.onSearch)%7D%2F**%0A%20%20%20%20%20%20%20*%20This%20method%20allows%20to%20change%20the%20embebed%20property%20after%20the%20component%20is%20rendered%0A%20%20%20%20%20%20%20*%20%40param%20%7BString%7D%20embedded%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2FembeddedChanged(embedded)%7Bif(embedded)%7Bconst%20slot%3Dthis.shadowRoot.querySelectorAll(%22slot%22)%3Bif(slot%5B0%5D!%3D%3D%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0Avoid%200%26%26%22header%22%3D%3D%3Dslot%5B0%5D.name)%7Bslot.style.setProperty(%22display%22%2C%22none%22)%7Dif(slot%5B2%5D!%3D%3Dvoid%200%26%26%22footer%22%3D%3D%3Dslot%5B2%5D.name)%7Bslot%5B2%5D.style.setProperty(%22display%22%2C%22none%22)%7D%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20This%20method%20recovers%20device%20type%20and%20layoutKey%20depending%20on%20the%20element%20slot%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2F_updateClassByDevice()%7Bwindow.removeEventListener(%22WebComponentsReady%22%2Cthis._updateClassByDevice)%3Bconst%20device%3DgetDevice()%3Bif(0%3Cthis.%24.main.querySelector(%22slot%22).assignedNodes().length)%7Bconst%20objectLayoutKeys%3DObject.keys(layouts)%3Bfor(let%20i%3D0%3Bi%3CobjectLayoutKeys.length%3Bi%2B%3D1)%7Bconst%20layoutKey%3DobjectLayoutKeys%5Bi%5D%2Celements%3Dthis.%24.main.querySelector(%22slot%22).assignedNodes()%5B0%5D.getElementsByClassName(layoutKey)%3Bfor(let%20j%3D0%3Bj%3Celements.length%3Bj%2B%3D1)%7Bconst%20element%3Delements%5Bj%5D%3Bthis._updateClassDependingOnTemplate(element%2Cdevice%2ClayoutKey)%7D%7Dif(this.embedded)%7Bthis.%24.main.querySelector(%22slot%22).assignedNodes()%5B0%5D.querySelectorAll(%22ing-uic-cms-breadcrumb%22)%5B0%5D.classList.add(%22hidden%22)%7D%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20This%20method%20receives%20an%20element%2C%20device%20type%20and%20layoutKey%20containing%20class%20to%20update%0A%20%20%20%20%20%20%20*%20and%20adds%20the%20layoutKey%20class%20to%20the%20element%0A%20%20%20%20%20%20%20*%20%40param%20%7BString%7D%20elementToAddClass%0A%20%20%20%20%20%20%20*%20%40param%20%7BString%7D%20device%0A%20%20%20%20%20%20%20*%20%40param%20%7BString%7D%20layoutKey%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2F_updateClassDependingOnTemplate(elementToAddClass%2Cdevice%2ClayoutKey)%7Bconst%20classItem%3Dlayouts%5BlayoutKey%5D%5Bdevice%5D%3B%2F%2F%20Control%20for%20fulldWidth%20template%20where%20class%20is%20in%20parent%20div%0Aif(elementToAddClass.classList.contains(layoutKey)%26%261%3D%3D%3DelementToAddClass.children.length)%7BelementToAddClass.classList.add(classItem)%7Delse%7Bthis._updateClassForNotFullwidthComponents(elementToAddClass%2Cdevice%2CclassItem)%7D%7D%2F**%0A%20%20%20%20%20*%20This%20method%20receives%20an%20element%2C%20device%20type%20and%20css%20class%20to%20update%0A%20%20%20%20%20*%20the%20class%20depending%20on%20device%20type%0A%20%20%20%20%20*%20%40param%20%7BString%7D%20elementToAddClass%0A%20%20%20%20%20*%20%40param%20%7BString%7D%20device%0A%20%20%20%20%20*%20%40param%20%7BString%7D%20classItem%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2F_updateClassForNotFullwidthComponents(elementToAddClass%2Cdevice%2CclassItem)%7Bif((%22mobile%22%3D%3D%3Ddevice%7C%7C%22tablet%22%3D%3D%3Ddevice)%26%26%22ING-UIC-CMS-BACK-LINK%22!%3D%3DelementToAddClass.children%5B1%5D.nodeName)%7BelementToAddClass.classList.add(classItem)%7Dif(%22pc%22%3D%3D%3Ddevice%26%26%22ING-UIC-CMS-STICKY-ANCHOR%22!%3D%3DelementToAddClass.children%5B1%5D.nodeName%26%26%22ING-UIC-CMS-STICKY%22!%3D%3DelementToAddClass.children%5B1%5D.nodeName)%7BelementToAddClass.classList.add(classItem)%7D%7D%7Dwindow.customElements.define(IngUicCmsLayout.is%2CIngUicCmsLayout)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fing-uic-cms-layout%2Fing-uic-cms-layout.html.js%0A | 9.3 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-row/ing-row.js | 203 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/overlays/src/utils/key-codes.js | 66 B | 2023-03-08 | 2024-04-05 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/icon/oj-icons/outline/arrows/triangle_up_outline.svg.js | 372 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7B'use%20strict'%3Blet%20TemplateInstanceBase%3DPolymer.TemplateInstanceBase%2CTemplatizerUser%3B%2F%2F%20eslint-disable-line%0A%2F**%0A%20%20%20%20%20*%20%40typedef%20%7B%7B%0A%20%20%20%20%20*%20%20%20_templatizerTemplate%3A%20HTMLTemplateElement%2C%0A%20%20%20%20%20*%20%20%20_parentModel%3A%20boolean%2C%0A%20%20%20%20%20*%20%20%20_instanceProps%3A%20Object%2C%0A%20%20%20%20%20*%20%20%20_forwardHostPropV2%3A%20Function%2C%0A%20%20%20%20%20*%20%20%20_notifyInstancePropV2%3A%20Function%2C%0A%20%20%20%20%20*%20%20%20ctor%3A%20TemplateInstanceBase%0A%20%20%20%20%20*%20%7D%7D%0A%20%20%20%20%20*%2F%20%2F%2F%20eslint-disable-line%0A%2F**%0A%20%20%20%20%20*%20The%20%60Polymer.Templatizer%60%20behavior%20adds%20methods%20to%20generate%20instances%20of%0A%20%20%20%20%20*%20templates%20that%20are%20each%20managed%20by%20an%20anonymous%20%60Polymer.PropertyEffects%60%0A%20%20%20%20%20*%20instance%20where%20data-bindings%20in%20the%20stamped%20template%20content%20are%20bound%20to%0A%20%20%20%20%20*%20accessors%20on%20itself.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20This%20behavior%20is%20provided%20in%20Polymer%202.x%20as%20a%20hybrid-element%20convenience%0A%20%20%20%20%20*%20only.%20%20For%20non-hybrid%20usage%2C%20the%20%60Polymer.Templatize%60%20library%0A%20%20%20%20%20*%20should%20be%20used%20instead.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20Example%3A%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%20%20%20%20%2F%2F%20Get%20a%20template%20from%20somewhere%2C%20e.g.%20light%20DOM%0A%20%20%20%20%20*%20%20%20%20%20let%20template%20%3D%20this.querySelector('template')%3B%0A%20%20%20%20%20*%20%20%20%20%20%2F%2F%20Prepare%20the%20template%0A%20%20%20%20%20*%20%20%20%20%20this.templatize(template)%3B%0A%20%20%20%20%20*%20%20%20%20%20%2F%2F%20Instance%20the%20template%20with%20an%20initial%20data%20model%0A%20%20%20%20%20*%20%20%20%20%20let%20instance%20%3D%20this.stamp(%7BmyProp%3A%20'initial'%7D)%3B%0A%20%20%20%20%20*%20%20%20%20%20%2F%2F%20Insert%20the%20instance's%20DOM%20somewhere%2C%20e.g.%20light%20DOM%0A%20%20%20%20%20*%20%20%20%20%20Polymer.dom(this).appendChild(instance.root)%3B%0A%20%20%20%20%20*%20%20%20%20%20%2F%2F%20Changing%20a%20property%20on%20the%20instance%20will%20propagate%20to%20bindings%0A%20%20%20%20%20*%20%20%20%20%20%2F%2F%20in%20the%20template%0A%20%20%20%20%20*%20%20%20%20%20instance.myProp%20%3D%20'new%20value'%3B%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20Users%20of%20%60Templatizer%60%20may%20need%20to%20implement%20the%20following%20abstract%0A%20%20%20%20%20*%20API's%20to%20determine%20how%20properties%20and%20paths%20from%20the%20host%20should%20be%0A%20%20%20%20%20*%20forwarded%20into%20to%20instances%3A%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%20%20%20%20_forwardHostPropV2%3A%20function(prop%2C%20value)%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20Likewise%2C%20users%20may%20implement%20these%20additional%20abstract%20API's%20to%20determine%0A%20%20%20%20%20*%20how%20instance-specific%20properties%20that%20change%20on%20the%20instance%20should%20be%0A%20%20%20%20%20*%20forwarded%20out%20to%20the%20host%2C%20if%20necessary.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%20%20%20%20_notifyInstancePropV2%3A%20function(inst%2C%20prop%2C%20value)%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20In%20order%20to%20determine%20which%20properties%20are%20instance-specific%20and%20require%0A%20%20%20%20%20*%20custom%20notification%20via%20%60_notifyInstanceProp%60%2C%20define%20an%20%60_instanceProps%60%0A%20%20%20%20%20*%20object%20containing%20keys%20for%20each%20instance%20prop%2C%20for%20example%3A%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%20%20%20%20_instanceProps%3A%20%7B%0A%20%20%20%20%20*%20%20%20%20%20%20%20item%3A%20true%2C%0A%20%20%20%20%20*%20%20%20%20%20%20%20index%3A%20true%0A%20%20%20%20%20*%20%20%20%20%20%7D%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20Any%20properties%20used%20in%20the%20template%20that%20are%20not%20defined%20in%20_instanceProp%0A%20%20%20%20%20*%20will%20be%20forwarded%20out%20to%20the%20Templatize%20%60owner%60%20automatically.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20Users%20may%20also%20implement%20the%20following%20abstract%20function%20to%20show%20or%0A%20%20%20%20%20*%20hide%20any%20DOM%20generated%20using%20%60stamp%60%3A%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%20%20%20%20_showHideChildren%3A%20function(shouldHide)%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20Note%20that%20some%20callbacks%20are%20suffixed%20with%20%60V2%60%20in%20the%20Polymer%202.x%20behavior%0A%20%20%20%20%20*%20as%20the%20implementations%20will%20need%20to%20differ%20from%20the%20callbacks%20required%0A%20%20%20%20%20*%20by%20the%201.x%20Templatizer%20API%20due%20to%20changes%20in%20the%20%60TemplateInstance%60%20API%0A%20%20%20%20%20*%20between%20versions%201.x%20and%202.x.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40polymerBehavior%0A%20%20%20%20%20*%2FPolymer.Templatizer%3D%7B%2F**%0A%20%20%20%20%20%20%20*%20Generates%20an%20anonymous%20%60TemplateInstance%60%20class%20(stored%20as%20%60this.ctor%60)%0A%20%20%20%20%20%20%20*%20for%20the%20provided%20template.%20%20This%20method%20should%20be%20called%20once%20per%0A%20%20%20%20%20%20%20*%20template%20to%20prepare%20an%20element%20for%20stamping%20the%20template%2C%20followed%0A%20%20%20%20%20%20%20*%20by%20%60stamp%60%20to%20create%20new%20instances%20of%20the%20template.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7B!HTMLTemplateElement%7D%20template%20Template%20to%20prepare%0A%20%20%20%20%20%20%20*%20%40param%20%7Bboolean%3D%7D%20mutableData%20When%20%60true%60%2C%20the%20generated%20class%20will%20skip%0A%20%20%20%20%20%20%20*%20%20%20strict%20dirty-checking%20for%20objects%20and%20arrays%20(always%20consider%20them%20to%0A%20%20%20%20%20%20%20*%20%20%20be%20%22dirty%22).%20Defaults%20to%20false.%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%20%40this%20%7BTemplatizerUser%7D%0A%20%20%20%20%20%20%20*%2Ftemplatize(template%2CmutableData)%7Bthis._templatizerTemplate%3Dtemplate%3Bthis.ctor%3DPolymer.Templatize.templatize(template%2Cthis%2C%7BmutableData%3A!!mutableData%2CparentModel%3Athis._parentModel%2CinstanceProps%3Athis._instanceProps%2CforwardHostProp%3Athis._forwardHostPropV2%2CnotifyInstanceProp%3Athis._notifyInstancePropV2%7D)%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20Creates%20an%20instance%20of%20the%20template%20prepared%20by%20%60templatize%60.%20%20The%20object%0A%20%20%20%20%20%20%20*%20returned%20is%20an%20instance%20of%20the%20anonymous%20class%20generated%20by%20%60templatize%60%0A%20%20%20%20%20%20%20*%20whose%20%60root%60%20property%20is%20a%20document%20fragment%20containing%20newly%20cloned%0A%20%20%20%20%20%20%20*%20template%20content%2C%20and%20which%20has%20property%20accessors%20corresponding%20to%0A%20%20%20%20%20%20%20*%20properties%20referenced%20in%20template%20bindings.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7BObject%3D%7D%20model%20Object%20containing%20initial%20property%20values%20to%0A%20%20%20%20%20%20%20*%20%20%20populate%20into%20the%20template%20bindings.%0A%20%20%20%20%20%20%20*%20%40return%20%7BTemplateInstanceBase%7D%20Returns%20the%20created%20instance%20of%0A%20%20%20%20%20%20%20*%20the%20template%20prepared%20by%20%60templatize%60.%0A%20%20%20%20%20%20%20*%20%40this%20%7BTemplatizerUser%7D%0A%20%20%20%20%20%20%20*%2Fstamp(model)%7Breturn%20new%20this.ctor(model)%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20Returns%20the%20template%20%22model%22%20(%60TemplateInstance%60)%20associated%20with%0A%20%20%20%20%20%20%20*%20a%20given%20element%2C%20which%20serves%20as%20the%20binding%20scope%20for%20the%20template%0A%20%20%20%20%20%20%20*%20instance%20the%20element%20is%20contained%20in.%20%20A%20template%20model%20should%20be%20used%0A%20%20%20%20%20%20%20*%20to%20manipulate%20data%20associated%20with%20this%20template%20instance.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7BHTMLElement%7D%20el%20Element%20for%20which%20to%20return%20a%20template%20model.%0A%20%20%20%20%20%20%20*%20%40return%20%7BTemplateInstanceBase%7D%20Model%20representing%20the%20binding%20scope%20for%0A%20%20%20%20%20%20%20*%20%20%20the%20element.%0A%20%20%20%20%20%20%20*%20%40this%20%7BTemplatizerUser%7D%0A%20%20%20%20%20%20%20*%2FmodelForElement(el)%7Breturn%20Polymer.Templatize.modelForElement(this._templatizerTemplate%2Cel)%7D%7D%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fpolymer%2Flib%2Flegacy%2Ftemplatizer-behavior.html.js%0A | 5.5 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,const%20hippoImageSet%3D%22hipposp%22%2CisLink%3Ddata%3D%3Edata%26%26data.extendedLink%2CgetClassName%3D(data%2Cstr)%3D%3EisLink(data)%3Fstr%3A%60%24%7Bstr%7D%20media-item%60%3B%2F**%0A%20%20%20%20%20*%20Retrieve%20if%20link%20data%0A%20%20%20%20%20*%2F%20%2F**%0A%20%20%20%20%20*%20%60ing-uic-cms-core-media%60%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40customElement%0A%20%20%20%20%20*%20%40polymer%0A%20%20%20%20%20*%20%40demo%20demo%2Findex-core-media.html%0A%20%20%20%20%20*%2Fclass%20IngUicCmsCoreMedia%20extends%20Polymer.Element%7B%2F**%0A%20%20%20%20%20%20%20*%20Component%20definition%0A%20%20%20%20%20%20%20*%2Fstatic%20get%20is()%7Breturn%22ing-uic-cms-core-media%22%7D%2F**%0A%20%20%20%20%20%20%20*%20Properties%0A%20%20%20%20%20%20%20*%2Fstatic%20get%20properties()%7Breturn%7B%2F**%20Data%20for%20sizing%20the%20component%20*%2Fsizing%3A%7Btype%3AString%2Cvalue%3Anull%7D%2C%2F**%20Data%20from%20parent%20component%20*%2Fdata%3AObject%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Check%20if%20data%20is%20of%20type%20image%0A%20%20%20%20%20%20%20*%20%40param%20%7BFunction%7D%20data%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%20%40returns%20%7BBoolean%7D%0A%20%20%20%20%20%20%20*%2F_classImage(data)%7Breturn%20getClassName(data%2Cdata.image%26%26data.image.link.url%3Fdata.image.position%7C%7C%22%22%3A%22hidden%22)%7D%2F**%0A%20%20%20%20%20%20%20*%20Check%20if%20data%20is%20of%20type%20icon%0A%20%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20data%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%20%40returns%20%7BBoolean%7D%0A%20%20%20%20%20%20%20*%2F_classIcon(data)%7Breturn%20getClassName(data%2Cdata.iconName%7C%7Cdata.icon%3Fdata.iconName%7C%7Cdata.icon%3A%22hidden%22%2Cdata)%7D%2F**%0A%20%20%20%20%20%20%20*%20Check%20if%20data%20is%20of%20type%20link%0A%20%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20data%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%20%40returns%20%7BBoolean%7D%0A%20%20%20%20%20%20%20*%2F_isLink(data)%7Breturn%20isLink(data)%7D%2F**%0A%20%20%20%20%20%20%20*%20Retrieve%20alternative%20text%20of%20item%0A%20%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20item%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%20%40returns%20%7BObject%7D%0A%20%20%20%20%20%20%20*%2F_getAlternativeText(item)%7Breturn%20item!%3D%3D%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0Avoid%200%3Fitem%3A%22%20%22%7D%2F**%0A%20%20%20%20%20%20%20*%20Retrieve%20srcset%20from%20simple%20URL%0A%20%20%20%20%20%20%20*%20%40param%20%7BString%7D%20url%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%20%40returns%20%7BString%7D%0A%20%20%20%20%20%20%20*%2F_getSrcset(url%2Cplatform)%7Bif(!url)%7Breturn%22%22%7Dconst%20filename%3Durl.replace(%2F%5E.*%5B%5C%5C%2F%5D%2F%2C%22%22)%2CsetUrl%3D%60%24%7Burl%7D%2F%24%7Bfilename%7D%2F%24%7BhippoImageSet%7D%60%3Bif(%22mobile%22%3D%3D%3Dplatform)%7Breturn%60%24%7BsetUrl%7D%3Amobile%60%7Dif(%22tablet%22%3D%3D%3Dplatform)%7Breturn%60%24%7BsetUrl%7D%3Atablet%60%7Dreturn%20url%7D%7Dwindow.customElements.define(IngUicCmsCoreMedia.is%2CIngUicCmsCoreMedia)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fing-uic-cms-content-block%2Fing-uic-cms-core-media.html.js%0A | 2.3 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-video/ing-video.js | 207 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-pointer/ing-pointer.js | 211 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-title/src/IngTitle.styles.js | 2.1 kB | 2023-03-08 | 2023-06-29 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/style/mixins/screen-reader.js | 341 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7B'use%20strict'%3Blet%20debouncerQueue%3D%5B%5D%3B%2F**%0A%20%20%20*%20Adds%20a%20%60Polymer.Debouncer%60%20to%20a%20list%20of%20globally%20flushable%20tasks.%0A%20%20%20*%0A%20%20%20*%20%40memberof%20Polymer%0A%20%20%20*%20%40param%20%7B!Polymer.Debouncer%7D%20debouncer%20Debouncer%20to%20enqueue%0A%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20*%2FPolymer.enqueueDebouncer%3Dfunction(debouncer)%7BdebouncerQueue.push(debouncer)%7D%3Bfunction%20flushDebouncers()%7Bconst%20didFlush%3D!!debouncerQueue.length%3Bwhile(debouncerQueue.length)%7Btry%7BdebouncerQueue.shift().flush()%7Dcatch(e)%7BsetTimeout(()%3D%3E%7Bthrow%20e%7D)%7D%7Dreturn%20didFlush%7D%2F**%0A%20%20%20*%20Forces%20several%20classes%20of%20asynchronously%20queued%20tasks%20to%20flush%3A%0A%20%20%20*%20-%20Debouncers%20added%20via%20%60enqueueDebouncer%60%0A%20%20%20*%20-%20ShadyDOM%20distribution%0A%20%20%20*%0A%20%20%20*%20%40memberof%20Polymer%0A%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20*%2FPolymer.flush%3Dfunction()%7Blet%20shadyDOM%2Cdebouncers%3Bdo%7BshadyDOM%3Dwindow.ShadyDOM%26%26ShadyDOM.flush()%3Bif(window.ShadyCSS%26%26window.ShadyCSS.ScopingShim)%7Bwindow.ShadyCSS.ScopingShim.flush()%7Ddebouncers%3DflushDebouncers()%7Dwhile(shadyDOM%7C%7Cdebouncers)%7D%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fpolymer%2Flib%2Futils%2Fflush.html.js%0A | 1.0 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lodash-es/isObject.js | 91 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@open-wc/scoped-elements/src/transform.js | 592 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/overlays/src/utils/sort-by-tabindex.js | 363 B | 2023-03-08 | 2024-04-05 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,%2F**%0A%20%20%60iron-a11y-keys%60%20provides%20a%20cross-browser%20interface%20for%20processing%0A%20%20keyboard%20commands.%20The%20interface%20adheres%20to%20%5BWAI-ARIA%20best%0A%20%20practices%5D(http%3A%2F%2Fwww.w3.org%2FTR%2Fwai-aria-practices%2F%23kbd_general_binding).%0A%20%20It%20uses%20an%20expressive%20syntax%20to%20filter%20key%20presses.%0A%0A%20%20%23%23%20Basic%20usage%0A%0A%20%20The%20sample%20code%20below%20is%20a%20portion%20of%20a%20custom%20element.%20The%20goal%20is%20to%20call%0A%20%20the%20%60onEnter%60%20method%20whenever%20the%20%60paper-input%60%20element%20is%20in%20focus%20and%0A%20%20the%20%60Enter%60%20key%20is%20pressed.%0A%0A%20%20%20%20%20%20%3Ciron-a11y-keys%20id%3D%22a11y%22%20target%3D%22%5B%5Btarget%5D%5D%22%20keys%3D%22enter%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20on-keys-pressed%3D%22onEnter%22%3E%3C%2Firon-a11y-keys%3E%0A%20%20%20%20%20%20%3Cpaper-input%20id%3D%22input%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20placeholder%3D%22Type%20something.%20Press%20enter.%20Check%20console.%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20value%3D%22%7B%7BuserInput%3A%3Ainput%7D%7D%22%3E%3C%2Fpaper-input%3E%0A%0A%20%20The%20custom%20element%20declares%20an%20%60iron-a11y-keys%60%20element%20that%20is%20bound%20to%20a%0A%20%20property%20called%20%60target%60.%20The%20%60target%60%20property%0A%20%20needs%20to%20evaluate%20to%20the%20%60paper-input%60%20node.%20%60iron-a11y-keys%60%20registers%0A%20%20an%20event%20handler%20for%20the%20target%20node%20using%20Polymer's%20%5Bannotated%20event%20handler%0A%20%20syntax%5D(https%3A%2F%2Fwww.polymer-project.org%2F1.0%2Fdocs%2Fdevguide%2Fevents.html%23annotated-listeners).%0A%20%20%60%7B%7BuserInput%3A%3Ainput%7D%7D%60%20sets%20the%20%60userInput%60%20property%20to%20the%20user's%20input%20on%20each%0A%20%20keystroke.%0A%0A%20%20The%20last%20step%20is%20to%20link%20the%20two%20elements%20within%20the%20custom%20element's%0A%20%20registration.%0A%0A%20%20%20%20%20%20...%0A%20%20%20%20%20%20properties%3A%20%7B%0A%20%20%20%20%20%20%20%20userInput%3A%20%7B%0A%20%20%20%20%20%20%20%20%20%20type%3A%20String%2C%0A%20%20%20%20%20%20%20%20%20%20notify%3A%20true%2C%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20target%3A%20%7B%0A%20%20%20%20%20%20%20%20%20%20type%3A%20Object%2C%0A%20%20%20%20%20%20%20%20%20%20value%3A%20function()%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20return%20this.%24.input%3B%0A%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20onEnter%3A%20function()%20%7B%0A%20%20%20%20%20%20%20%20console.log(this.userInput)%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20...%0A%0A%20%20%23%23%20The%20%60keys%60%20attribute%0A%0A%20%20The%20%60keys%60%20attribute%20expresses%20what%20combination%20of%20keys%20triggers%20the%20event.%0A%0A%20%20The%20attribute%20accepts%20a%20space-separated%2C%20plus-sign-concatenated%0A%20%20set%20of%20modifier%20keys%20and%20some%20common%20keyboard%20keys.%0A%0A%20%20The%20common%20keys%20are%3A%20%60a-z%60%2C%20%600-9%60%20(top%20row%20and%20number%20pad)%2C%20%60*%60%20(shift%208%20and%0A%20%20number%20pad)%2C%20%60F1-F12%60%2C%20%60Page%20Up%60%2C%20%60Page%20Down%60%2C%20%60Left%20Arrow%60%2C%20%60Right%20Arrow%60%2C%0A%20%20%60Down%20Arrow%60%2C%20%60Up%20Arrow%60%2C%20%60Home%60%2C%20%60End%60%2C%20%60Escape%60%2C%20%60Space%60%2C%20%60Tab%60%2C%20%60Enter%60.%0A%0A%20%20The%20modifier%20keys%20are%3A%20%60Shift%60%2C%20%60Control%60%2C%20%60Alt%60%2C%20%60Meta%60.%0A%0A%20%20All%20keys%20are%20expected%20to%20be%20lowercase%20and%20shortened.%20E.g.%0A%20%20%60Left%20Arrow%60%20is%20%60left%60%2C%20%60Page%20Down%60%20is%20%60pagedown%60%2C%20%60Control%60%20is%20%60ctrl%60%2C%0A%20%20%60F1%60%20is%20%60f1%60%2C%20%60Escape%60%20is%20%60esc%60%2C%20etc.%0A%0A%20%20%23%23%23%20Grammar%0A%0A%20%20Below%20is%20the%0A%20%20%5BEBNF%5D(http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FExtended_Backus%25E2%2580%2593Naur_Form)%20Grammar%0A%20%20of%20the%20%60keys%60%20attribute.%0A%0A%20%20%20%20%20%20modifier%20%3D%20%22shift%22%20%7C%20%22ctrl%22%20%7C%20%22alt%22%20%7C%20%22meta%22%3B%0A%20%20%20%20%20%20ascii%20%3D%20%3F%20%2F%5Ba-z0-9%5D%2F%20%3F%20%3B%0A%20%20%20%20%20%20fnkey%20%3D%20%3F%20f1%20through%20f12%20%3F%20%3B%0A%20%20%20%20%20%20arrow%20%3D%20%22up%22%20%7C%20%22down%22%20%7C%20%22left%22%20%7C%20%22right%22%20%3B%0A%20%20%20%20%20%20key%20%3D%20%22tab%22%20%7C%20%22esc%22%20%7C%20%22space%22%20%7C%20%22*%22%20%7C%20%22pageup%22%20%7C%20%22pagedown%22%20%7C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22home%22%20%7C%20%22end%22%20%7C%20arrow%20%7C%20ascii%20%7C%20fnkey%3B%0A%20%20%20%20%20%20event%20%3D%20%22keypress%22%20%7C%20%22keydown%22%20%7C%20%22keyup%22%3B%0A%20%20%20%20%20%20keycombo%20%3D%20%7B%20modifier%2C%20%22%2B%22%20%7D%2C%20key%2C%20%5B%20%22%3A%22%2C%20event%20%5D%20%3B%0A%20%20%20%20%20%20keys%20%3D%20keycombo%2C%20%7B%20%22%20%22%2C%20keycombo%20%7D%20%3B%0A%0A%20%20%23%23%23%20Example%0A%0A%20%20Given%20the%20following%20value%20for%20%60keys%60%3A%0A%0A%20%20%60ctrl%2Bshift%2Bf7%20up%20pagedown%20esc%20space%20alt%2Bm%60%0A%0A%20%20The%20event%20is%20fired%20if%20any%20of%20the%20following%20key%20combinations%20are%20fired%3A%0A%20%20%60Control%60%20and%20%60Shift%60%20and%20%60F7%60%20keys%2C%20%60Up%20Arrow%60%20key%2C%20%60Page%20Down%60%20key%2C%0A%20%20%60Escape%60%20key%2C%20%60Space%60%20key%2C%20%60Alt%60%20and%20%60M%60%20keys.%0A%0A%20%20%23%23%23%20WAI-ARIA%20Slider%20Example%0A%0A%20%20The%20following%20is%20an%20example%20of%20the%20set%20of%20keys%20that%20fulfills%20WAI-ARIA's%0A%20%20%22slider%22%20role%20%5Bbest%0A%20%20practices%5D(http%3A%2F%2Fwww.w3.org%2FTR%2Fwai-aria-practices%2F%23slider)%3A%0A%0A%20%20%20%20%20%20%3Ciron-a11y-keys%20target%3D%22%5B%5Btarget%5D%5D%22%20keys%3D%22left%20pagedown%20down%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20on-keys-pressed%3D%22decrement%22%3E%3C%2Firon-a11y-keys%3E%0A%20%20%20%20%20%20%3Ciron-a11y-keys%20target%3D%22%5B%5Btarget%5D%5D%22%20keys%3D%22right%20pageup%20up%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20on-keys-pressed%3D%22increment%22%3E%3C%2Firon-a11y-keys%3E%0A%20%20%20%20%20%20%3Ciron-a11y-keys%20target%3D%22%5B%5Btarget%5D%5D%22%20keys%3D%22home%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20on-keys-pressed%3D%22setMin%22%3E%3C%2Firon-a11y-keys%3E%0A%20%20%20%20%20%20%3Ciron-a11y-keys%20target%3D%22%5B%5Btarget%5D%5D%22%20keys%3D%22end%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20on-keys-pressed%3D%22setMax%22%3E%3C%2Firon-a11y-keys%3E%0A%0A%20%20The%20%60target%60%20properties%20must%20evaluate%20to%20a%20node.%20See%20the%20basic%20usage%0A%20%20example%20above.%0A%0A%20%20Each%20of%20the%20values%20for%20the%20%60on-keys-pressed%60%20attributes%20must%20evalute%0A%20%20to%20methods.%20The%20%60increment%60%20method%20should%20move%20the%20slider%20a%20set%20amount%0A%20%20toward%20the%20maximum%20value.%20%60decrement%60%20should%20move%20the%20slider%20a%20set%20amount%0A%20%20toward%20the%20minimum%20value.%20%60setMin%60%20should%20move%20the%20slider%20to%20the%20minimum%0A%20%20value.%20%60setMax%60%20should%20move%20the%20slider%20to%20the%20maximum%20value.%0A%0A%20%20%40demo%20demo%2Findex.html%0A%20%20*%2FPolymer(%7Bis%3A%22iron-a11y-keys%22%2Cbehaviors%3A%5BPolymer.IronA11yKeysBehavior%5D%2Cproperties%3A%7B%2F**%20%40type%20%7B%3FNode%7D%20*%2Ftarget%3A%7Btype%3AObject%2Cobserver%3A%22_targetChanged%22%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20Space%20delimited%20list%20of%20keys%20where%20each%20key%20follows%20the%20format%3A%0A%20%20%20%20%20%20%20*%20%60%5BMODIFIER%2B%5D*KEY%5B%3AEVENT%5D%60.%0A%20%20%20%20%20%20%20*%20e.g.%20%60keys%3D%22space%20ctrl%2Bshift%2Btab%20enter%3Akeyup%22%60.%0A%20%20%20%20%20%20%20*%20More%20detail%20can%20be%20found%20in%20the%20%22Grammar%22%20section%20of%20the%20documentation%0A%20%20%20%20%20%20%20*%2Fkeys%3A%7Btype%3AString%2CreflectToAttribute%3A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2Cobserver%3A%22_keysChanged%22%7D%7D%2Cattached%3Afunction()%7Bif(!this.target)%7Bthis.target%3Dthis.parentNode%7D%7D%2C_targetChanged%3Afunction(target)%7Bthis.keyEventTarget%3Dtarget%7D%2C_keysChanged%3Afunction()%7Bthis.removeOwnKeyBindings()%3Bthis.addOwnKeyBinding(this.keys%2C%22_fireKeysPressed%22)%7D%2C_fireKeysPressed%3Afunction(event)%7Bthis.fire(%22keys-pressed%22%2Cevent.detail%2C%7B%7D)%7D%7D)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Firon-a11y-keys%2Firon-a11y-keys.html.js%0A | 5.6 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/core/mixins/addContainerQueries.js | 1.2 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-separator/src/IngSeparator.styles.js | 819 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/icon/oj-icons/outline/arrows/chevron_right_outline.svg.js | 212 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/core/styles/components/buttons.js | 2.2 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/_core2/provider-exports.js | 833 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7B'use%20strict'%3B%2F**%0A%20%20%20%20%20*%20Legacy%20class%20factory%20and%20registration%20helper%20for%20defining%20Polymer%0A%20%20%20%20%20*%20elements.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20This%20method%20is%20equivalent%20to%0A%20%20%20%20%20*%20%60customElements.define(info.is%2C%20Polymer.Class(info))%3B%60%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20See%20%60Polymer.Class%60%20for%20details%20on%20valid%20legacy%20metadata%20format%20for%20%60info%60.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40global%0A%20%20%20%20%20*%20%40override%0A%20%20%20%20%20*%20%40function%20Polymer%0A%20%20%20%20%20*%20%40param%20%7B!PolymerInit%7D%20info%20Object%20containing%20Polymer%20metadata%20and%20functions%0A%20%20%20%20%20*%20%20%20to%20become%20class%20methods.%0A%20%20%20%20%20*%20%40return%20%7Bfunction(new%3A%20HTMLElement)%7D%20Generated%20class%0A%20%20%20%20%20*%20%40suppress%20%7Bduplicate%2C%20invalidCasts%2C%20checkTypes%7D%0A%20%20%20%20%20*%2Fwindow.Polymer._polymerFn%3Dfunction(info)%7B%2F%2F%20if%20input%20is%20a%20%60class%60%20(aka%20a%20function%20with%20a%20prototype)%2C%20use%20the%20prototype%0A%2F%2F%20remember%20that%20the%20%60constructor%60%20will%20never%20be%20called%0Alet%20klass%3Bif(%22function%22%3D%3D%3Dtypeof%20info)%7Bklass%3Dinfo%7Delse%7Bklass%3DPolymer.Class(info)%7DcustomElements.define(klass.is%2C%2F**%20%40type%20%7B!HTMLElement%7D%20*%2Fklass)%3Breturn%20klass%7D%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fpolymer%2Flib%2Flegacy%2Fpolymer-fn.html.js%0A | 1.1 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,%2F**%0A%20%20%20%20%20*%20%60ing-uic-cms-core%60%20Core%20component%20for%20components%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%3D%3D%3D%3D%3D%3D%3D%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%23%23%23%20Example%0A%20%20%20%20%20*%20%60%60%60%0A%20%20%20%20%20*%20%3Cing-uic-cms-core%0A%20%20%20%20%20*%20%20%20data%3D%22API_PARSER%22%3E%0A%20%20%20%20%20*%20%20%20%3Cing-uic-cms-xxxx%20%2F%3E%0A%20%20%20%20%20*%20%20%20%3Cing-uic-cms-xxxx%20%2F%3E%0A%20%20%20%20%20*%20%20%20%3C%2Fing-uic-cms-core%3E%0A%20%20%20%20%20*%20%60%60%60%0A%20%20%20%20%20*%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%23%23%23%20States%0A%20%20%20%20%20*%20---%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20The%20following%20states%20are%20exposed%20as%20component%20attributes%3A%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20Attribute%20%20%20%20%20%20%20%7C%20Description%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7C%20Default%0A%20%20%20%20%20*%20----------------%7C----------------------------------------------------------------------%20%7C--------------%0A%20%20%20%20%20*%20data%20%20%20%20%20%20%20%20%20%20%20%20%7C%20Input%20data%20from%20Hippo%20and%20others%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7C%20''%0A%20%20%20%20%20*%20_topClass%20%20%20%20%20%20%20%7C%20computed%20class%20for%20top%20content%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7C%20''%0A%20%20%20%20%20*%20_bottomClass%20%20%20%20%7C%20computed%20class%20for%20bottom%20content%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7C%20''%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%23%23%23%20Methods%0A%20%20%20%20%20*%20---%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20The%20following%20methods%20are%20exposed%3A%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20Method%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7C%20Description%0A%20%20%20%20%20*%20----------------------------------%7C-------------------------------------------------------------------------%0A%20%20%20%20%20*%20ready%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7C%20Callback%20component%20signals%20the%20creation%20of%20the%20element's%20shadow%20DOM%0A%20%20%20%20%20*%20_dataChanged(data)%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7C%20Element%20initialization%20on%20data%20change%0A%20%20%20%20%20*%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40element%20ing-uic-cms-core%0A%20%20%20%20%20*%20%40extends%20%7BPolymer.Element%7D%0A%20%20%20%20%20*%20%40demo%20demo%2Findex.html%20Core%20Demo%0A%20%20%20%20%20*%2Fclass%20IngUicCmsCore%20extends%20Polymer.Element%7B%2F**%0A%20%20%20%20%20%20*%20Component%20definition%0A%20%20%20%20%20%20*%2Fstatic%20get%20is()%7Breturn%22ing-uic-cms-core%22%7D%2F**%0A%20%20%20%20%20%20*%20Properties%0A%20%20%20%20%20%20*%2Fstatic%20get%20properties()%7Breturn%7B%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20Data%20parsed%20from%20API%0A%20%20%20%20%20%20%20%20%20%20%20*%2Fdata%3AObject%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20computed%20class%20name%0A%20%20%20%20%20%20%20%20%20%20%20*%2F_topClass%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20computed%20class%20name%0A%20%20%20%20%20%20%20%20%20%20%20*%2F_bottomClass%3AString%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Observers%0A%20%20%20%20%20%20%20*%2Fstatic%20get%20observers()%7Breturn%5B%22_dataChanged(data)%22%5D%7D%2F**%0A%20%20%20%20%20%20%20*%20Get%20polymer%20ready%0A%20%20%20%20%20%20%20*%20%40static%0A%20%20%20%20%20%20%20*%2Fready()%7Bsuper.ready()%3Bconst%20slot%3Dthis.shadowRoot.querySelector(%22.particle-container%20%3E%20slot%22)%3Bslot.addEventListener(%22slotchange%22%2Ce%3D%3E%7Bconst%20path%3De.path%7C%7Ce.composedPath%26%26e.composedPath()%3Bpath.forEach(element%3D%3E%7Bif(element.className%26%26-1%3Celement.className.indexOf(%22particle-container%22))%7Bconst%20slotNodes%3Dslot.assignedNodes(%7Bflatten%3A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%7D)%3BslotNodes.forEach(item%3D%3E%7Bif(item.tagName)%7Belement.classList.add(%22content%22)%7D%7D)%7D%7D)%7D)%7D%2F**%0A%20%20%20%20%20%20%20*%20Element%20initialization%20on%20data%20change%0A%20%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20data%20data%20from%20API%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2F_dataChanged(data)%7Bif(data%26%26data.items)%7Bthis.set(%22_topClass%22%2Cdata.items.ContentTop%26%26data.items.ContentTop.length%3F%22%22%3A%22hidden-block%22)%3Bthis.set(%22_bottomClass%22%2Cdata.items.Content%26%26data.items.Content.length%3F%22%22%3A%22hidden-block%22)%7D%7D%7Dwindow.customElements.define(IngUicCmsCore.is%2CIngUicCmsCore)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fing-uic-cms-core%2Fing-uic-cms-core.html.js%0A | 3.3 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-image/src/IngImage.js | 2.4 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,%2F**%20%40suppress%20%7Bdeprecated%7D%20*%2F(function()%7B'use%20strict'%3B%2F**%0A%20%20%20*%20Sets%20the%20global%2C%20legacy%20settings.%0A%20%20%20*%0A%20%20%20*%20%40deprecated%0A%20%20%20*%20%40namespace%0A%20%20%20*%20%40memberof%20Polymer%0A%20%20%20*%2FPolymer.Settings%3DPolymer.Settings%7C%7C%7B%7D%3BPolymer.Settings.useShadow%3D!window.ShadyDOM%3BPolymer.Settings.useNativeCSSProperties%3D!!(!window.ShadyCSS%7C%7Cwindow.ShadyCSS.nativeCss)%3BPolymer.Settings.useNativeCustomElements%3D!window.customElements.polyfillWrapFlushCallback%3B%2F**%0A%20%20%20*%20Globally%20settable%20property%20that%20is%20automatically%20assigned%20to%0A%20%20%20*%20%60Polymer.ElementMixin%60%20instances%2C%20useful%20for%20binding%20in%20templates%20to%0A%20%20%20*%20make%20URL's%20relative%20to%20an%20application's%20root.%20%20Defaults%20to%20the%20main%0A%20%20%20*%20document%20URL%2C%20but%20can%20be%20overridden%20by%20users.%20%20It%20may%20be%20useful%20to%20set%0A%20%20%20*%20%60Polymer.rootPath%60%20to%20provide%20a%20stable%20application%20mount%20path%20when%0A%20%20%20*%20using%20client%20side%20routing.%0A%20%20%20*%0A%20%20%20*%20%40memberof%20Polymer%0A%20%20%20*%2FPolymer.rootPath%3DPolymer.rootPath%7C%7CPolymer.ResolveUrl.pathFromUrl(document.baseURI%7C%7Cwindow.location.href)%3B%2F**%0A%20%20%20*%20Sets%20the%20global%20rootPath%20property%20used%20by%20%60Polymer.ElementMixin%60%20and%0A%20%20%20*%20available%20via%20%60Polymer.rootPath%60.%0A%20%20%20*%0A%20%20%20*%20%40memberof%20Polymer%0A%20%20%20*%20%40param%20%7Bstring%7D%20path%20The%20new%20root%20path%0A%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20*%2FPolymer.setRootPath%3Dfunction(path)%7BPolymer.rootPath%3Dpath%7D%3B%2F**%0A%20%20%20*%20A%20global%20callback%20used%20to%20sanitize%20any%20value%20before%20inserting%20it%20into%20the%20DOM.%20The%20callback%20signature%20is%3A%0A%20%20%20*%0A%20%20%20*%20%20%20%20%20Polymer%20%3D%20%7B%0A%20%20%20*%20%20%20%20%20%20%20sanitizeDOMValue%3A%20function(value%2C%20name%2C%20type%2C%20node)%20%7B%20...%20%7D%0A%20%20%20*%20%20%20%20%20%7D%0A%20%20%20*%0A%20%20%20*%20Where%3A%0A%20%20%20*%0A%20%20%20*%20%60value%60%20is%20the%20value%20to%20sanitize.%0A%20%20%20*%20%60name%60%20is%20the%20name%20of%20an%20attribute%20or%20property%20(for%20example%2C%20href).%0A%20%20%20*%20%60type%60%20indicates%20where%20the%20value%20is%20being%20inserted%3A%20one%20of%20property%2C%20attribute%2C%20or%20text.%0A%20%20%20*%20%60node%60%20is%20the%20node%20where%20the%20value%20is%20being%20inserted.%0A%20%20%20*%0A%20%20%20*%20%40type%20%7B(function(*%2Cstring%2Cstring%2CNode)%3A*)%7Cundefined%7D%0A%20%20%20*%20%40memberof%20Polymer%0A%20%20%20*%2FPolymer.sanitizeDOMValue%3DPolymer.sanitizeDOMValue%7C%7Cnull%3B%2F**%0A%20%20%20*%20Sets%20the%20global%20sanitizeDOMValue%20available%20via%20%60Polymer.sanitizeDOMValue%60.%0A%20%20%20*%0A%20%20%20*%20%40memberof%20Polymer%0A%20%20%20*%20%40param%20%7B(function(*%2Cstring%2Cstring%2CNode)%3A*)%7Cundefined%7D%20newSanitizeDOMValue%20the%20global%20sanitizeDOMValue%20callback%0A%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20*%2FPolymer.setSanitizeDOMValue%3Dfunction(newSanitizeDOMValue)%7BPolymer.sanitizeDOMValue%3DnewSanitizeDOMValue%7D%3B%2F**%0A%20%20%20*%20Globally%20settable%20property%20to%20make%20Polymer%20Gestures%20use%20passive%20TouchEvent%20listeners%20when%20recognizing%20gestures.%0A%20%20%20*%20When%20set%20to%20%60true%60%2C%20gestures%20made%20from%20touch%20will%20not%20be%20able%20to%20prevent%20scrolling%2C%20allowing%20for%20smoother%0A%20%20%20*%20scrolling%20performance.%0A%20%20%20*%20Defaults%20to%20%60false%60%20for%20backwards%20compatibility.%0A%20%20%20*%0A%20%20%20*%20%40memberof%20Polymer%0A%20%20%20*%2FPolymer.passiveTouchGestures%3DPolymer.passiveTouchGestures%7C%7C%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A!1%3B%2F**%0A%20%20%20*%20Sets%20%60passiveTouchGestures%60%20globally%20for%20all%20elements%20using%20Polymer%20Gestures.%0A%20%20%20*%0A%20%20%20*%20%40memberof%20Polymer%0A%20%20%20*%20%40param%20%7Bboolean%7D%20usePassive%20enable%20or%20disable%20passive%20touch%20gestures%20globally%0A%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20*%2FPolymer.setPassiveTouchGestures%3Dfunction(usePassive)%7BPolymer.passiveTouchGestures%3DusePassive%7D%3BPolymer.legacyOptimizations%3DPolymer.legacyOptimizations%7C%7Cwindow.PolymerSettings%26%26window.PolymerSettings.legacyOptimizations%7C%7C!1%3B%2F**%0A%20%20%20*%20Sets%20%60legacyOptimizations%60%20globally%20for%20all%20elements.%20Enables%0A%20%20%20*%20optimizations%20when%20only%20legacy%20Polymer()%20style%20elements%20are%20used.%0A%20%20%20*%0A%20%20%20*%20%40memberof%20Polymer%0A%20%20%20*%20%40param%20%7Bboolean%7D%20useLegacyOptimizations%20enable%20or%20disable%20legacy%20optimizations%20globally.%0A%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20*%2FPolymer.setLegacyOptimizations%3Dfunction(useLegacyOptimizations)%7BPolymer.legacyOptimizations%3DuseLegacyOptimizations%7D%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fpolymer%2Flib%2Futils%2Fsettings.html.js%0A | 3.8 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7B'use%20strict'%3B%2F**%20%40const%20%7B!AsyncInterface%7D%20*%2Fconst%20microtask%3DPolymer.Async.microTask%3B%2F**%0A%20%20%20%20%20*%20Element%20class%20mixin%20that%20provides%20basic%20meta-programming%20for%20creating%20one%0A%20%20%20%20%20*%20or%20more%20property%20accessors%20(getter%2Fsetter%20pair)%20that%20enqueue%20an%20async%0A%20%20%20%20%20*%20(batched)%20%60_propertiesChanged%60%20callback.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20For%20basic%20usage%20of%20this%20mixin%2C%20call%20%60MyClass.createProperties(props)%60%0A%20%20%20%20%20*%20once%20at%20class%20definition%20time%20to%20create%20property%20accessors%20for%20properties%0A%20%20%20%20%20*%20named%20in%20props%2C%20implement%20%60_propertiesChanged%60%20to%20react%20as%20desired%20to%0A%20%20%20%20%20*%20property%20changes%2C%20and%20implement%20%60static%20get%20observedAttributes()%60%20and%0A%20%20%20%20%20*%20include%20lowercase%20versions%20of%20any%20property%20names%20that%20should%20be%20set%20from%0A%20%20%20%20%20*%20attributes.%20Last%2C%20call%20%60this._enableProperties()%60%20in%20the%20element's%0A%20%20%20%20%20*%20%60connectedCallback%60%20to%20enable%20the%20accessors.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40mixinFunction%0A%20%20%20%20%20*%20%40polymer%0A%20%20%20%20%20*%20%40memberof%20Polymer%0A%20%20%20%20%20*%20%40summary%20Element%20class%20mixin%20for%20reacting%20to%20property%20changes%20from%0A%20%20%20%20%20*%20%20%20generated%20property%20accessors.%0A%20%20%20%20%20*%2FPolymer.PropertiesChanged%3DPolymer.dedupingMixin(superClass%3D%3E%7B%2F**%0A%20%20%20%20%20%20%20*%20%40polymer%0A%20%20%20%20%20%20%20*%20%40mixinClass%0A%20%20%20%20%20%20%20*%20%40extends%20%7BsuperClass%7D%0A%20%20%20%20%20%20%20*%20%40implements%20%7BPolymer_PropertiesChanged%7D%0A%20%20%20%20%20%20%20*%20%40unrestricted%0A%20%20%20%20%20%20%20*%2Fclass%20PropertiesChanged%20extends%20superClass%7B%2F**%0A%20%20%20%20%20%20%20%20%20*%20Creates%20property%20accessors%20for%20the%20given%20property%20names.%0A%20%20%20%20%20%20%20%20%20*%20%40param%20%7B!Object%7D%20props%20Object%20whose%20keys%20are%20names%20of%20accessors.%0A%20%20%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20%20%20%20%20*%2Fstatic%20createProperties(props)%7Bconst%20proto%3Dthis.prototype%3Bfor(let%20prop%20in%20props)%7B%2F%2F%20don't%20stomp%20an%20existing%20accessor%0Aif(!(prop%20in%20proto))%7Bproto._createPropertyAccessor(prop)%7D%7D%7D%2F**%0A%20%20%20%20%20%20%20%20%20*%20Returns%20an%20attribute%20name%20that%20corresponds%20to%20the%20given%20property.%0A%20%20%20%20%20%20%20%20%20*%20The%20attribute%20name%20is%20the%20lowercased%20property%20name.%20Override%20to%0A%20%20%20%20%20%20%20%20%20*%20customize%20this%20mapping.%0A%20%20%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20property%20Property%20to%20convert%0A%20%20%20%20%20%20%20%20%20*%20%40return%20%7Bstring%7D%20Attribute%20name%20corresponding%20to%20the%20given%20property.%0A%20%20%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20%20%20%20%20*%2Fstatic%20attributeNameForProperty(property)%7Breturn%20property.toLowerCase()%7D%2F**%0A%20%20%20%20%20%20%20%20%20*%20Override%20point%20to%20provide%20a%20type%20to%20which%20to%20deserialize%20a%20value%20to%0A%20%20%20%20%20%20%20%20%20*%20a%20given%20property.%0A%20%20%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20name%20Name%20of%20property%0A%20%20%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20%20%20%20%20*%2Fstatic%20typeForProperty(name)%7B%7D%2F%2Feslint-disable-line%20no-unused-vars%0A%2F**%0A%20%20%20%20%20%20%20%20%20*%20Creates%20a%20setter%2Fgetter%20pair%20for%20the%20named%20property%20with%20its%20own%0A%20%20%20%20%20%20%20%20%20*%20local%20storage.%20%20The%20getter%20returns%20the%20value%20in%20the%20local%20storage%2C%0A%20%20%20%20%20%20%20%20%20*%20and%20the%20setter%20calls%20%60_setProperty%60%2C%20which%20updates%20the%20local%20storage%0A%20%20%20%20%20%20%20%20%20*%20for%20the%20property%20and%20enqueues%20a%20%60_propertiesChanged%60%20callback.%0A%20%20%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20%20%20*%20This%20method%20may%20be%20called%20on%20a%20prototype%20or%20an%20instance.%20%20Calling%0A%20%20%20%20%20%20%20%20%20*%20this%20method%20may%20overwrite%20a%20property%20value%20that%20already%20exists%20on%0A%20%20%20%20%20%20%20%20%20*%20the%20prototype%2Finstance%20by%20creating%20the%20accessor.%0A%20%20%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20property%20Name%20of%20the%20property%0A%20%20%20%20%20%20%20%20%20*%20%40param%20%7Bboolean%3D%7D%20readOnly%20When%20true%2C%20no%20setter%20is%20created%3B%20the%0A%20%20%20%20%20%20%20%20%20*%20%20%20protected%20%60_setProperty%60%20function%20must%20be%20used%20to%20set%20the%20property%0A%20%20%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20%20%20%20%20*%2F_createPropertyAccessor(property%2CreadOnly)%7Bthis._addPropertyToAttributeMap(property)%3Bif(!this.hasOwnProperty(%22__dataHasAccessor%22))%7Bthis.__dataHasAccessor%3DObject.assign(%7B%7D%2Cthis.__dataHasAccessor)%7Dif(!this.__dataHasAccessor%5Bproperty%5D)%7Bthis.__dataHasAccessor%5Bproperty%5D%3D%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%3Bthis._definePropertyAccessor(property%2CreadOnly)%7D%7D%2F**%0A%20%20%20%20%20%20%20%20%20*%20Adds%20the%20given%20%60property%60%20to%20a%20map%20matching%20attribute%20names%0A%20%20%20%20%20%20%20%20%20*%20to%20property%20names%2C%20using%20%60attributeNameForProperty%60.%20This%20map%20is%0A%20%20%20%20%20%20%20%20%20*%20used%20when%20deserializing%20attribute%20values%20to%20properties.%0A%20%20%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20property%20Name%20of%20the%20property%0A%20%20%20%20%20%20%20%20%20*%2F_addPropertyToAttributeMap(property)%7Bif(!this.hasOwnProperty(%22__dataAttributes%22))%7Bthis.__dataAttributes%3DObject.assign(%7B%7D%2Cthis.__dataAttributes)%7Dif(!this.__dataAttributes%5Bproperty%5D)%7Bconst%20attr%3Dthis.constructor.attributeNameForProperty(property)%3Bthis.__dataAttributes%5Battr%5D%3Dproperty%7D%7D%2F**%0A%20%20%20%20%20%20%20%20%20*%20Defines%20a%20property%20accessor%20for%20the%20given%20property.%0A%20%20%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20property%20Name%20of%20the%20property%0A%20%20%20%20%20%20%20%20%20*%20%40param%20%7Bboolean%3D%7D%20readOnly%20When%20true%2C%20no%20setter%20is%20created%0A%20%20%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20%20%20*%2F_definePropertyAccessor(property%2CreadOnly)%7BObject.defineProperty(this%2Cproperty%2C%7B%2F*%20eslint-disable%20valid-jsdoc%20*%2F%20%2F**%20%40this%20%7BPropertiesChanged%7D%20*%2Fget()%7Breturn%20this._getProperty(property)%7D%2C%2F**%20%40this%20%7BPropertiesChanged%7D%20*%2Fset%3AreadOnly%3Ffunction()%7B%7D%3Afunction(value)%7Bthis._setProperty(property%2Cvalue)%7D%2F*%20eslint-enable%20*%2F%7D)%7Dconstructor()%7Bsuper()%3Bthis.__dataEnabled%3D%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A!1%3Bthis.__dataReady%3D!1%3Bthis.__dataInvalid%3D!1%3Bthis.__data%3D%7B%7D%3Bthis.__dataPending%3Dnull%3Bthis.__dataOld%3Dnull%3Bthis.__dataInstanceProps%3Dnull%3Bthis.__serializing%3D!1%3Bthis._initializeProperties()%7D%2F**%0A%20%20%20%20%20%20%20%20%20*%20Lifecycle%20callback%20called%20when%20properties%20are%20enabled%20via%0A%20%20%20%20%20%20%20%20%20*%20%60_enableProperties%60.%0A%20%20%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20%20%20*%20Users%20may%20override%20this%20function%20to%20implement%20behavior%20that%20is%0A%20%20%20%20%20%20%20%20%20*%20dependent%20on%20the%20element%20having%20its%20property%20data%20initialized%2C%20e.g.%0A%20%20%20%20%20%20%20%20%20*%20from%20defaults%20(initialized%20from%20%60constructor%60%2C%20%60_initializeProperties%60)%2C%0A%20%20%20%20%20%20%20%20%20*%20%60attributeChangedCallback%60%2C%20or%20values%20propagated%20from%20host%20e.g.%20via%0A%20%20%20%20%20%20%20%20%20*%20bindings.%20%20%60super.ready()%60%20must%20be%20called%20to%20ensure%20the%20data%20system%0A%20%20%20%20%20%20%20%20%20*%20becomes%20enabled.%0A%20%20%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20%20%20*%20%40public%0A%20%20%20%20%20%20%20%20%20*%2Fready()%7Bthis.__dataReady%3D!0%3Bthis._flushProperties()%7D%2F**%0A%20%20%20%20%20%20%20%20%20*%20Initializes%20the%20local%20storage%20for%20property%20accessors.%0A%20%20%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20%20%20*%20Provided%20as%20an%20override%20point%20for%20performing%20any%20setup%20work%20prior%0A%20%20%20%20%20%20%20%20%20*%20to%20initializing%20the%20property%20accessor%20system.%0A%20%20%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20%20%20%20%20*%2F_initializeProperties()%7B%2F%2F%20Capture%20instance%20properties%3B%20these%20will%20be%20set%20into%20accessors%0A%2F%2F%20during%20first%20flush.%20Don't%20set%20them%20here%2C%20since%20we%20want%0A%2F%2F%20these%20to%20overwrite%20defaults%2Fconstructor%20assignments%0Afor(let%20p%20in%20this.__dataHasAccessor)%7Bif(this.hasOwnProperty(p))%7Bthis.__dataInstanceProps%3Dthis.__dataInstanceProps%7C%7C%7B%7D%3Bthis.__dataInstanceProps%5Bp%5D%3Dthis%5Bp%5D%3Bdelete%20this%5Bp%5D%7D%7D%7D%2F**%0A%20%20%20%20%20%20%20%20%20*%20Called%20at%20ready%20time%20with%20bag%20of%20instance%20properties%20that%20overwrote%0A%20%20%20%20%20%20%20%20%20*%20accessors%20when%20the%20element%20upgraded.%0A%20%20%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20%20%20*%20The%20default%20implementation%20sets%20these%20properties%20back%20into%20the%0A%20%20%20%20%20%20%20%20%20*%20setter%20at%20ready%20time.%20%20This%20method%20is%20provided%20as%20an%20override%0A%20%20%20%20%20%20%20%20%20*%20point%20for%20customizing%20or%20providing%20more%20efficient%20initialization.%0A%20%20%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20props%20Bag%20of%20property%20values%20that%20were%20overwritten%0A%20%20%20%20%20%20%20%20%20*%20%20%20when%20creating%20property%20accessors.%0A%20%20%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20%20%20%20%20*%2F_initializeInstanceProperties(props)%7BObject.assign(this%2Cprops)%7D%2F**%0A%20%20%20%20%20%20%20%20%20*%20Updates%20the%20local%20storage%20for%20a%20property%20(via%20%60_setPendingProperty%60)%0A%20%20%20%20%20%20%20%20%20*%20and%20enqueues%20a%20%60_proeprtiesChanged%60%20callback.%0A%20%20%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20property%20Name%20of%20the%20property%0A%20%20%20%20%20%20%20%20%20*%20%40param%20%7B*%7D%20value%20Value%20to%20set%0A%20%20%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20%20%20%20%20*%2F_setProperty(property%2Cvalue)%7Bif(this._setPendingProperty(property%2Cvalue))%7Bthis._invalidateProperties()%7D%7D%2F**%0A%20%20%20%20%20%20%20%20%20*%20Returns%20the%20value%20for%20the%20given%20property.%0A%20%20%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20property%20Name%20of%20property%0A%20%20%20%20%20%20%20%20%20*%20%40return%20%7B*%7D%20Value%20for%20the%20given%20property%0A%20%20%20%20%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20%20%20%20%20*%2F_getProperty(property)%7Breturn%20this.__data%5Bproperty%5D%7D%2F*%20eslint-disable%20no-unused-vars%20*%2F%20%2F**%0A%20%20%20%20%20%20%20%20%20*%20Updates%20the%20local%20storage%20for%20a%20property%2C%20records%20the%20previous%20value%2C%0A%20%20%20%20%20%20%20%20%20*%20and%20adds%20it%20to%20the%20set%20of%20%22pending%20changes%22%20that%20will%20be%20passed%20to%20the%0A%20%20%20%20%20%20%20%20%20*%20%60_propertiesChanged%60%20callback.%20%20This%20method%20does%20not%20enqueue%20the%0A%20%20%20%20%20%20%20%20%20*%20%60_propertiesChanged%60%20callback.%0A%20%20%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20property%20Name%20of%20the%20property%0A%20%20%20%20%20%20%20%20%20*%20%40param%20%7B*%7D%20value%20Value%20to%20set%0A%20%20%20%20%20%20%20%20%20*%20%40param%20%7Bboolean%3D%7D%20ext%20Not%20used%20here%3B%20affordance%20for%20closure%0A%20%20%20%20%20%20%20%20%20*%20%40return%20%7Bboolean%7D%20Returns%20true%20if%20the%20property%20changed%0A%20%20%20%20%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20%20%20%20%20*%2F_setPendingProperty(property%2Cvalue%2Cext)%7Blet%20old%3Dthis.__data%5Bproperty%5D%2Cchanged%3Dthis._shouldPropertyChange(property%2Cvalue%2Cold)%3Bif(changed)%7Bif(!this.__dataPending)%7Bthis.__dataPending%3D%7B%7D%3Bthis.__dataOld%3D%7B%7D%7D%2F%2F%20Ensure%20old%20is%20captured%20from%20the%20last%20turn%0Aif(this.__dataOld%26%26!(property%20in%20this.__dataOld))%7Bthis.__dataOld%5Bproperty%5D%3Dold%7Dthis.__data%5Bproperty%5D%3Dvalue%3Bthis.__dataPending%5Bproperty%5D%3Dvalue%7Dreturn%20changed%7D%2F*%20eslint-enable%20*%2F%20%2F**%0A%20%20%20%20%20%20%20%20%20*%20Marks%20the%20properties%20as%20invalid%2C%20and%20enqueues%20an%20async%0A%20%20%20%20%20%20%20%20%20*%20%60_propertiesChanged%60%20callback.%0A%20%20%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20%20%20%20%20*%2F_invalidateProperties()%7Bif(!this.__dataInvalid%26%26this.__dataReady)%7Bthis.__dataInvalid%3D!0%3Bmicrotask.run(()%3D%3E%7Bif(this.__dataInvalid)%7Bthis.__dataInvalid%3D!1%3Bthis._flushProperties()%7D%7D)%7D%7D%2F**%0A%20%20%20%20%20%20%20%20%20*%20Call%20to%20enable%20property%20accessor%20processing.%20Before%20this%20method%20is%0A%20%20%20%20%20%20%20%20%20*%20called%20accessor%20values%20will%20be%20set%20but%20side%20effects%20are%0A%20%20%20%20%20%20%20%20%20*%20queued.%20When%20called%2C%20any%20pending%20side%20effects%20occur%20immediately.%0A%20%20%20%20%20%20%20%20%20*%20For%20elements%2C%20generally%20%60connectedCallback%60%20is%20a%20normal%20spot%20to%20do%20so.%0A%20%20%20%20%20%20%20%20%20*%20It%20is%20safe%20to%20call%20this%20method%20multiple%20times%20as%20it%20only%20turns%20on%0A%20%20%20%20%20%20%20%20%20*%20property%20accessors%20once.%0A%20%20%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20%20%20%20%20*%2F_enableProperties()%7Bif(!this.__dataEnabled)%7Bthis.__dataEnabled%3D!0%3Bif(this.__dataInstanceProps)%7Bthis._initializeInstanceProperties(this.__dataInstanceProps)%3Bthis.__dataInstanceProps%3Dnull%7Dthis.ready()%7D%7D%2F**%0A%20%20%20%20%20%20%20%20%20*%20Calls%20the%20%60_propertiesChanged%60%20callback%20with%20the%20current%20set%20of%0A%20%20%20%20%20%20%20%20%20*%20pending%20changes%20(and%20old%20values%20recorded%20when%20pending%20changes%20were%0A%20%20%20%20%20%20%20%20%20*%20set)%2C%20and%20resets%20the%20pending%20set%20of%20changes.%20Generally%2C%20this%20method%0A%20%20%20%20%20%20%20%20%20*%20should%20not%20be%20called%20in%20user%20code.%0A%20%20%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20%20%20%20%20*%2F_flushProperties()%7Bconst%20props%3Dthis.__data%2CchangedProps%3Dthis.__dataPending%2Cold%3Dthis.__dataOld%3Bif(this._shouldPropertiesChange(props%2CchangedProps%2Cold))%7Bthis.__dataPending%3Dnull%3Bthis.__dataOld%3Dnull%3Bthis._propertiesChanged(props%2CchangedProps%2Cold)%7D%7D%2F**%0A%20%20%20%20%20%20%20%20%20*%20Called%20in%20%60_flushProperties%60%20to%20determine%20if%20%60_propertiesChanged%60%0A%20%20%20%20%20%20%20%20%20*%20should%20be%20called.%20The%20default%20implementation%20returns%20true%20if%0A%20%20%20%20%20%20%20%20%20*%20properties%20are%20pending.%20Override%20to%20customize%20when%0A%20%20%20%20%20%20%20%20%20*%20%60_propertiesChanged%60%20is%20called.%0A%20%20%20%20%20%20%20%20%20*%20%40param%20%7B!Object%7D%20currentProps%20Bag%20of%20all%20current%20accessor%20values%0A%20%20%20%20%20%20%20%20%20*%20%40param%20%7B!Object%7D%20changedProps%20Bag%20of%20properties%20changed%20since%20the%20last%0A%20%20%20%20%20%20%20%20%20*%20%20%20call%20to%20%60_propertiesChanged%60%0A%20%20%20%20%20%20%20%20%20*%20%40param%20%7B!Object%7D%20oldProps%20Bag%20of%20previous%20values%20for%20each%20property%0A%20%20%20%20%20%20%20%20%20*%20%20%20in%20%60changedProps%60%0A%20%20%20%20%20%20%20%20%20*%20%40return%20%7Bboolean%7D%20true%20if%20changedProps%20is%20truthy%0A%20%20%20%20%20%20%20%20%20*%2F_shouldPropertiesChange(currentProps%2CchangedProps%2ColdProps)%7B%2F%2F%20eslint-disable-line%20no-unused-vars%0Areturn!!changedProps%7D%2F**%0A%20%20%20%20%20%20%20%20%20*%20Callback%20called%20when%20any%20properties%20with%20accessors%20created%20via%0A%20%20%20%20%20%20%20%20%20*%20%60_createPropertyAccessor%60%20have%20been%20set.%0A%20%20%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20%20%20*%20%40param%20%7B!Object%7D%20currentProps%20Bag%20of%20all%20current%20accessor%20values%0A%20%20%20%20%20%20%20%20%20*%20%40param%20%7B!Object%7D%20changedProps%20Bag%20of%20properties%20changed%20since%20the%20last%0A%20%20%20%20%20%20%20%20%20*%20%20%20call%20to%20%60_propertiesChanged%60%0A%20%20%20%20%20%20%20%20%20*%20%40param%20%7B!Object%7D%20oldProps%20Bag%20of%20previous%20values%20for%20each%20property%0A%20%20%20%20%20%20%20%20%20*%20%20%20in%20%60changedProps%60%0A%20%20%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20%20%20%20%20*%2F_propertiesChanged(currentProps%2CchangedProps%2ColdProps)%7B%7D%2F%2F%20eslint-disable-line%20no-unused-vars%0A%2F**%0A%20%20%20%20%20%20%20%20%20*%20Method%20called%20to%20determine%20whether%20a%20property%20value%20should%20be%0A%20%20%20%20%20%20%20%20%20*%20considered%20as%20a%20change%20and%20cause%20the%20%60_propertiesChanged%60%20callback%0A%20%20%20%20%20%20%20%20%20*%20to%20be%20enqueued.%0A%20%20%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20%20%20*%20The%20default%20implementation%20returns%20%60true%60%20if%20a%20strict%20equality%0A%20%20%20%20%20%20%20%20%20*%20check%20fails.%20The%20method%20always%20returns%20false%20for%20%60NaN%60.%0A%20%20%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20%20%20*%20Override%20this%20method%20to%20e.g.%20provide%20stricter%20checking%20for%0A%20%20%20%20%20%20%20%20%20*%20Objects%2FArrays%20when%20using%20immutable%20patterns.%0A%20%20%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20property%20Property%20name%0A%20%20%20%20%20%20%20%20%20*%20%40param%20%7B*%7D%20value%20New%20property%20value%0A%20%20%20%20%20%20%20%20%20*%20%40param%20%7B*%7D%20old%20Previous%20property%20value%0A%20%20%20%20%20%20%20%20%20*%20%40return%20%7Bboolean%7D%20Whether%20the%20property%20should%20be%20considered%20a%20change%0A%20%20%20%20%20%20%20%20%20*%20%20%20and%20enqueue%20a%20%60_proeprtiesChanged%60%20callback%0A%20%20%20%20%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20%20%20%20%20*%2F_shouldPropertyChange(property%2Cvalue%2Cold)%7Breturn(%2F%2F%20Strict%20equality%20check%0Aold!%3D%3Dvalue%26%26(%2F%2F%20This%20ensures%20(old%3D%3DNaN%2C%20value%3D%3DNaN)%20always%20returns%20false%0Aold%3D%3D%3Dold%7C%7Cvalue%3D%3D%3Dvalue))%7D%2F**%0A%20%20%20%20%20%20%20%20%20*%20Implements%20native%20Custom%20Elements%20%60attributeChangedCallback%60%20to%0A%20%20%20%20%20%20%20%20%20*%20set%20an%20attribute%20value%20to%20a%20property%20via%20%60_attributeToProperty%60.%0A%20%20%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20name%20Name%20of%20attribute%20that%20changed%0A%20%20%20%20%20%20%20%20%20*%20%40param%20%7B%3Fstring%7D%20old%20Old%20attribute%20value%0A%20%20%20%20%20%20%20%20%20*%20%40param%20%7B%3Fstring%7D%20value%20New%20attribute%20value%0A%20%20%20%20%20%20%20%20%20*%20%40param%20%7B%3Fstring%7D%20namespace%20Attribute%20namespace.%0A%20%20%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20%20%20*%20%40suppress%20%7BmissingProperties%7D%20Super%20may%20or%20may%20not%20implement%20the%20callback%0A%20%20%20%20%20%20%20%20%20*%2FattributeChangedCallback(name%2Cold%2Cvalue%2Cnamespace)%7Bif(old!%3D%3Dvalue)%7Bthis._attributeToProperty(name%2Cvalue)%7Dif(super.attributeChangedCallback)%7Bsuper.attributeChangedCallback(name%2Cold%2Cvalue%2Cnamespace)%7D%7D%2F**%0A%20%20%20%20%20%20%20%20%20*%20Deserializes%20an%20attribute%20to%20its%20associated%20property.%0A%20%20%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20%20%20*%20This%20method%20calls%20the%20%60_deserializeValue%60%20method%20to%20convert%20the%20string%20to%0A%20%20%20%20%20%20%20%20%20*%20a%20typed%20value.%0A%20%20%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20attribute%20Name%20of%20attribute%20to%20deserialize.%0A%20%20%20%20%20%20%20%20%20*%20%40param%20%7B%3Fstring%7D%20value%20of%20the%20attribute.%0A%20%20%20%20%20%20%20%20%20*%20%40param%20%7B*%3D%7D%20type%20type%20to%20deserialize%20to%2C%20defaults%20to%20the%20value%0A%20%20%20%20%20%20%20%20%20*%20returned%20from%20%60typeForProperty%60%0A%20%20%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20%20%20*%2F_attributeToProperty(attribute%2Cvalue%2Ctype)%7Bif(!this.__serializing)%7Bconst%20map%3Dthis.__dataAttributes%2Cproperty%3Dmap%26%26map%5Battribute%5D%7C%7Cattribute%3Bthis%5Bproperty%5D%3Dthis._deserializeValue(value%2Ctype%7C%7Cthis.constructor.typeForProperty(property))%7D%7D%2F**%0A%20%20%20%20%20%20%20%20%20*%20Serializes%20a%20property%20to%20its%20associated%20attribute.%0A%20%20%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20%20%20*%20%40suppress%20%7BinvalidCasts%7D%20Closure%20can't%20figure%20out%20%60this%60%20is%20an%20element.%0A%20%20%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20property%20Property%20name%20to%20reflect.%0A%20%20%20%20%20%20%20%20%20*%20%40param%20%7Bstring%3D%7D%20attribute%20Attribute%20name%20to%20reflect%20to.%0A%20%20%20%20%20%20%20%20%20*%20%40param%20%7B*%3D%7D%20value%20Property%20value%20to%20refect.%0A%20%20%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20%20%20*%2F_propertyToAttribute(property%2Cattribute%2Cvalue)%7Bthis.__serializing%3D!0%3Bvalue%3D3%3Earguments.length%3Fthis%5Bproperty%5D%3Avalue%3Bthis._valueToNodeAttribute(%2F**%20%40type%20%7B!HTMLElement%7D%20*%2Fthis%2Cvalue%2Cattribute%7C%7Cthis.constructor.attributeNameForProperty(property))%3Bthis.__serializing%3D!1%7D%2F**%0A%20%20%20%20%20%20%20%20%20*%20Sets%20a%20typed%20value%20to%20an%20HTML%20attribute%20on%20a%20node.%0A%20%20%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20%20%20*%20This%20method%20calls%20the%20%60_serializeValue%60%20method%20to%20convert%20the%20typed%0A%20%20%20%20%20%20%20%20%20*%20value%20to%20a%20string.%20%20If%20the%20%60_serializeValue%60%20method%20returns%20%60undefined%60%2C%0A%20%20%20%20%20%20%20%20%20*%20the%20attribute%20will%20be%20removed%20(this%20is%20the%20default%20for%20boolean%0A%20%20%20%20%20%20%20%20%20*%20type%20%60false%60).%0A%20%20%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20%20%20*%20%40param%20%7BElement%7D%20node%20Element%20to%20set%20attribute%20to.%0A%20%20%20%20%20%20%20%20%20*%20%40param%20%7B*%7D%20value%20Value%20to%20serialize.%0A%20%20%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20attribute%20Attribute%20name%20to%20serialize%20to.%0A%20%20%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20%20%20*%2F_valueToNodeAttribute(node%2Cvalue%2Cattribute)%7Bconst%20str%3Dthis._serializeValue(value)%3Bif(str%3D%3D%3D%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0Avoid%200)%7Bnode.removeAttribute(attribute)%7Delse%7Bnode.setAttribute(attribute%2Cstr)%7D%7D%2F**%0A%20%20%20%20%20%20%20%20%20*%20Converts%20a%20typed%20JavaScript%20value%20to%20a%20string.%0A%20%20%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20%20%20*%20This%20method%20is%20called%20when%20setting%20JS%20property%20values%20to%0A%20%20%20%20%20%20%20%20%20*%20HTML%20attributes.%20%20Users%20may%20override%20this%20method%20to%20provide%0A%20%20%20%20%20%20%20%20%20*%20serialization%20for%20custom%20types.%0A%20%20%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20%20%20*%20%40param%20%7B*%7D%20value%20Property%20value%20to%20serialize.%0A%20%20%20%20%20%20%20%20%20*%20%40return%20%7Bstring%20%7C%20undefined%7D%20String%20serialized%20from%20the%20provided%0A%20%20%20%20%20%20%20%20%20*%20property%20%20value.%0A%20%20%20%20%20%20%20%20%20*%2F_serializeValue(value)%7Bswitch(typeof%20value)%7Bcase%22boolean%22%3Areturn%20value%3F%22%22%3Avoid%200%3Bdefault%3Areturn%20null!%3Dvalue%3Fvalue.toString()%3Avoid%200%3B%7D%7D%2F**%0A%20%20%20%20%20%20%20%20%20*%20Converts%20a%20string%20to%20a%20typed%20JavaScript%20value.%0A%20%20%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20%20%20*%20This%20method%20is%20called%20when%20reading%20HTML%20attribute%20values%20to%0A%20%20%20%20%20%20%20%20%20*%20JS%20properties.%20%20Users%20may%20override%20this%20method%20to%20provide%0A%20%20%20%20%20%20%20%20%20*%20deserialization%20for%20custom%20%60type%60s.%20Types%20for%20%60Boolean%60%2C%20%60String%60%2C%0A%20%20%20%20%20%20%20%20%20*%20and%20%60Number%60%20convert%20attributes%20to%20the%20expected%20types.%0A%20%20%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20%20%20*%20%40param%20%7B%3Fstring%7D%20value%20Value%20to%20deserialize.%0A%20%20%20%20%20%20%20%20%20*%20%40param%20%7B*%3D%7D%20type%20Type%20to%20deserialize%20the%20string%20to.%0A%20%20%20%20%20%20%20%20%20*%20%40return%20%7B*%7D%20Typed%20value%20deserialized%20from%20the%20provided%20string.%0A%20%20%20%20%20%20%20%20%20*%2F_deserializeValue(value%2Ctype)%7Bswitch(type)%7Bcase%20Boolean%3Areturn%20null!%3D%3Dvalue%3Bcase%20Number%3Areturn%2Bvalue%3Bdefault%3Areturn%20value%3B%7D%7D%7Dreturn%20PropertiesChanged%7D)%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fpolymer%2Flib%2Fmixins%2Fproperties-changed.html.js%0A | 18 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7B'use%20strict'%3B%2F%2F%20Base%20class%20for%20HTMLTemplateElement%20extension%20that%20has%20property%20effects%0A%2F%2F%20machinery%20for%20propagating%20host%20properties%20to%20children.%20This%20is%20an%20ES5%0A%2F%2F%20class%20only%20because%20Babel%20(incorrectly)%20requires%20super()%20in%20the%20class%0A%2F%2F%20constructor%20even%20though%20no%20%60this%60%20is%20used%20and%20it%20returns%20an%20instance.%0Alet%20newInstance%3Dnull%3B%2F**%0A%20%20%20%20%20*%20%40constructor%0A%20%20%20%20%20*%20%40extends%20%7BHTMLTemplateElement%7D%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2Ffunction%20HTMLTemplateElementExtension()%7Breturn%20newInstance%7DHTMLTemplateElementExtension.prototype%3DObject.create(HTMLTemplateElement.prototype%2C%7Bconstructor%3A%7Bvalue%3AHTMLTemplateElementExtension%2Cwritable%3A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%7D%7D)%3B%2F**%0A%20%20%20%20%20*%20%40constructor%0A%20%20%20%20%20*%20%40implements%20%7BPolymer_PropertyEffects%7D%0A%20%20%20%20%20*%20%40extends%20%7BHTMLTemplateElementExtension%7D%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2Fconst%20DataTemplate%3DPolymer.PropertyEffects(HTMLTemplateElementExtension)%2CMutableDataTemplate%3DPolymer.MutableData(DataTemplate)%3B%2F**%0A%20%20%20%20%20*%20%40constructor%0A%20%20%20%20%20*%20%40implements%20%7BPolymer_MutableData%7D%0A%20%20%20%20%20*%20%40extends%20%7BDataTemplate%7D%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2F%20%2F%2F%20Applies%20a%20DataTemplate%20subclass%20to%20a%20%3Ctemplate%3E%20instance%0Afunction%20upgradeTemplate(template%2Cconstructor)%7BnewInstance%3Dtemplate%3BObject.setPrototypeOf(template%2Cconstructor.prototype)%3Bnew%20constructor%3BnewInstance%3Dnull%7D%2F**%0A%20%20%20%20%20*%20Base%20class%20for%20TemplateInstance.%0A%20%20%20%20%20*%20%40constructor%0A%20%20%20%20%20*%20%40implements%20%7BPolymer_PropertyEffects%7D%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2Fconst%20base%3DPolymer.PropertyEffects(class%7B%7D)%3B%2F**%0A%20%20%20%20%20*%20%40polymer%0A%20%20%20%20%20*%20%40customElement%0A%20%20%20%20%20*%20%40appliesMixin%20Polymer.PropertyEffects%0A%20%20%20%20%20*%20%40unrestricted%0A%20%20%20%20%20*%2Fclass%20TemplateInstanceBase%20extends%20base%7Bconstructor(props)%7Bsuper()%3Bthis._configureProperties(props)%3Bthis.root%3Dthis._stampTemplate(this.__dataHost)%3B%2F%2F%20Save%20list%20of%20stamped%20children%0Alet%20children%3Dthis.children%3D%5B%5D%3Bfor(let%20n%3Dthis.root.firstChild%3Bn%3Bn%3Dn.nextSibling)%7Bchildren.push(n)%3Bn.__templatizeInstance%3Dthis%7Dif(this.__templatizeOwner%26%26this.__templatizeOwner.__hideTemplateChildren__)%7Bthis._showHideChildren(!0)%7D%2F%2F%20Flush%20props%20only%20when%20props%20are%20passed%20if%20instance%20props%20exist%0A%2F%2F%20or%20when%20there%20isn't%20instance%20props.%0Alet%20options%3Dthis.__templatizeOptions%3Bif(props%26%26options.instanceProps%7C%7C!options.instanceProps)%7Bthis._enableProperties()%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Configure%20the%20given%20%60props%60%20by%20calling%20%60_setPendingProperty%60.%20Also%0A%20%20%20%20%20%20%20*%20sets%20any%20properties%20stored%20in%20%60__hostProps%60.%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20props%20Object%20of%20property%20name-value%20pairs%20to%20set.%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2F_configureProperties(props)%7Blet%20options%3Dthis.__templatizeOptions%3Bif(options.forwardHostProp)%7Bfor(let%20hprop%20in%20this.__hostProps)%7Bthis._setPendingProperty(hprop%2Cthis.__dataHost%5B%22_host_%22%2Bhprop%5D)%7D%7D%2F%2F%20Any%20instance%20props%20passed%20in%20the%20constructor%20will%20overwrite%20host%20props%3B%0A%2F%2F%20normally%20this%20would%20be%20a%20user%20error%20but%20we%20don't%20specifically%20filter%20them%0Afor(let%20iprop%20in%20props)%7Bthis._setPendingProperty(iprop%2Cprops%5Biprop%5D)%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Forwards%20a%20host%20property%20to%20this%20instance.%20%20This%20method%20should%20be%0A%20%20%20%20%20%20%20*%20called%20on%20instances%20from%20the%20%60options.forwardHostProp%60%20callback%0A%20%20%20%20%20%20%20*%20to%20propagate%20changes%20of%20host%20properties%20to%20each%20instance.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20Note%20this%20method%20enqueues%20the%20change%2C%20which%20are%20flushed%20as%20a%20batch.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20prop%20Property%20or%20path%20name%0A%20%20%20%20%20%20%20*%20%40param%20%7B*%7D%20value%20Value%20of%20the%20property%20to%20forward%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2FforwardHostProp(prop%2Cvalue)%7Bif(this._setPendingPropertyOrPath(prop%2Cvalue%2C%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A!1%2C!0))%7Bthis.__dataHost._enqueueClient(this)%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Override%20point%20for%20adding%20custom%20or%20simulated%20event%20handling.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7B!Node%7D%20node%20Node%20to%20add%20event%20listener%20to%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20eventName%20Name%20of%20event%0A%20%20%20%20%20%20%20*%20%40param%20%7Bfunction(!Event)%3Avoid%7D%20handler%20Listener%20function%20to%20add%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2F_addEventListenerToNode(node%2CeventName%2Chandler)%7Bif(this._methodHost%26%26this.__templatizeOptions.parentModel)%7B%2F%2F%20If%20this%20instance%20should%20be%20considered%20a%20parent%20model%2C%20decorate%0A%2F%2F%20events%20this%20template%20instance%20as%20%60model%60%0Athis._methodHost._addEventListenerToNode(node%2CeventName%2Ce%3D%3E%7Be.model%3Dthis%3Bhandler(e)%7D)%7Delse%7B%2F%2F%20Otherwise%20delegate%20to%20the%20template's%20host%20(which%20could%20be)%0A%2F%2F%20another%20template%20instance%0Alet%20templateHost%3Dthis.__dataHost.__dataHost%3Bif(templateHost)%7BtemplateHost._addEventListenerToNode(node%2CeventName%2Chandler)%7D%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Shows%20or%20hides%20the%20template%20instance%20top%20level%20child%20elements.%20For%0A%20%20%20%20%20%20%20*%20text%20nodes%2C%20%60textContent%60%20is%20removed%20while%20%22hidden%22%20and%20replaced%20when%0A%20%20%20%20%20%20%20*%20%22shown.%22%0A%20%20%20%20%20%20%20*%20%40param%20%7Bboolean%7D%20hide%20Set%20to%20true%20to%20hide%20the%20children%3B%0A%20%20%20%20%20%20%20*%20set%20to%20false%20to%20show%20them.%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20%20%20*%2F_showHideChildren(hide)%7Blet%20c%3Dthis.children%3Bfor(let%20i%3D0%2Cn%3Bi%3Cc.length%3Bi%2B%2B)%7Bn%3Dc%5Bi%5D%3B%2F%2F%20Ignore%20non-changes%0Aif(!!hide!%3D!!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%2F%2F%20remove%20and%20replace%20slot%0A%7Delse%20if(%22slot%22%3D%3D%3Dn.localName)%7Bif(hide)%7Bn.__polymerReplaced__%3Ddocument.createComment(%22hidden-slot%22)%3Bn.parentNode.replaceChild(n.__polymerReplaced__%2Cn)%7Delse%7Bconst%20replace%3Dn.__polymerReplaced__%3Bif(replace)%7Breplace.parentNode.replaceChild(n%2Creplace)%7D%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%3Bif(n._showHideChildren)%7Bn._showHideChildren(hide)%7D%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Overrides%20default%20property-effects%20implementation%20to%20intercept%0A%20%20%20%20%20%20%20*%20textContent%20bindings%20while%20children%20are%20%22hidden%22%20and%20cache%20in%0A%20%20%20%20%20%20%20*%20private%20storage%20for%20later%20retrieval.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7B!Node%7D%20node%20The%20node%20to%20set%20a%20property%20on%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20prop%20The%20property%20to%20set%0A%20%20%20%20%20%20%20*%20%40param%20%7B*%7D%20value%20The%20value%20to%20set%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20%20%20*%2F_setUnmanagedPropertyToNode(node%2Cprop%2Cvalue)%7Bif(node.__hideTemplateChildren__%26%26node.nodeType%3D%3DNode.TEXT_NODE%26%26%22textContent%22%3D%3Dprop)%7Bnode.__polymerTextContent__%3Dvalue%7Delse%7Bsuper._setUnmanagedPropertyToNode(node%2Cprop%2Cvalue)%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Find%20the%20parent%20model%20of%20this%20template%20instance.%20%20The%20parent%20model%0A%20%20%20%20%20%20%20*%20is%20either%20another%20templatize%20instance%20that%20had%20option%20%60parentModel%3A%20true%60%2C%0A%20%20%20%20%20%20%20*%20or%20else%20the%20host%20element.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40return%20%7B!Polymer_PropertyEffects%7D%20The%20parent%20model%20of%20this%20instance%0A%20%20%20%20%20%20%20*%2Fget%20parentModel()%7Blet%20model%3Dthis.__parentModel%3Bif(!model)%7Blet%20options%3Bmodel%3Dthis%3Bdo%7B%2F%2F%20A%20template%20instance's%20%60__dataHost%60%20is%20a%20%3Ctemplate%3E%0A%2F%2F%20%60model.__dataHost.__dataHost%60%20is%20the%20template's%20host%0Amodel%3Dmodel.__dataHost.__dataHost%7Dwhile((options%3Dmodel.__templatizeOptions)%26%26!options.parentModel)%3Bthis.__parentModel%3Dmodel%7Dreturn%20model%7D%2F**%0A%20%20%20%20%20%20%20*%20Stub%20of%20HTMLElement's%20%60dispatchEvent%60%2C%20so%20that%20effects%20that%20may%0A%20%20%20%20%20%20%20*%20dispatch%20events%20safely%20no-op.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7BEvent%7D%20event%20Event%20to%20dispatch%0A%20%20%20%20%20%20%20*%20%40return%20%7Bboolean%7D%20Always%20true.%0A%20%20%20%20%20%20%20*%2FdispatchEvent(event)%7B%2F%2F%20eslint-disable-line%20no-unused-vars%0Areturn!0%7D%7D%2F**%20%40type%20%7B!DataTemplate%7D%20*%2FTemplateInstanceBase.prototype.__dataHost%3B%2F**%20%40type%20%7B!TemplatizeOptions%7D%20*%2FTemplateInstanceBase.prototype.__templatizeOptions%3B%2F**%20%40type%20%7B!Polymer_PropertyEffects%7D%20*%2FTemplateInstanceBase.prototype._methodHost%3B%2F**%20%40type%20%7B!Object%7D%20*%2FTemplateInstanceBase.prototype.__templatizeOwner%3B%2F**%20%40type%20%7B!Object%7D%20*%2FTemplateInstanceBase.prototype.__hostProps%3B%2F**%0A%20%20%20%20%20*%20%40constructor%0A%20%20%20%20%20*%20%40extends%20%7BTemplateInstanceBase%7D%0A%20%20%20%20%20*%20%40implements%20%7BPolymer_MutableData%7D%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2Fconst%20MutableTemplateInstanceBase%3DPolymer.MutableData(TemplateInstanceBase)%3Bfunction%20findMethodHost(template)%7B%2F%2F%20Technically%20this%20should%20be%20the%20owner%20of%20the%20outermost%20template.%0A%2F%2F%20In%20shadow%20dom%2C%20this%20is%20always%20getRootNode().host%2C%20but%20we%20can%0A%2F%2F%20approximate%20this%20via%20cooperation%20with%20our%20dataHost%20always%20setting%0A%2F%2F%20%60_methodHost%60%20as%20long%20as%20there%20were%20bindings%20(or%20id's)%20on%20this%0A%2F%2F%20instance%20causing%20it%20to%20get%20a%20dataHost.%0Alet%20templateHost%3Dtemplate.__dataHost%3Breturn%20templateHost%26%26templateHost._methodHost%7C%7CtemplateHost%7D%2F*%20eslint-disable%20valid-jsdoc%20*%2F%20%2F**%0A%20%20%20%20%20*%20%40suppress%20%7BmissingProperties%7D%20class.prototype%20is%20not%20defined%20for%20some%20reason%0A%20%20%20%20%20*%2Ffunction%20createTemplatizerClass(template%2CtemplateInfo%2Coptions)%7B%2F%2F%20Anonymous%20class%20created%20by%20the%20templatize%0Alet%20base%3Doptions.mutableData%3FMutableTemplateInstanceBase%3ATemplateInstanceBase%3B%2F%2F%20Affordance%20for%20global%20mixins%20onto%20TemplatizeInstance%0Aif(Polymer.Templatize.mixin)%7Bbase%3DPolymer.Templatize.mixin(base)%7D%2F**%0A%20%20%20%20%20%20%20*%20%40constructor%0A%20%20%20%20%20%20%20*%20%40extends%20%7Bbase%7D%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2Flet%20klass%3Dclass%20extends%20base%7B%7D%3Bklass.prototype.__templatizeOptions%3Doptions%3Bklass.prototype._bindTemplate(template)%3BaddNotifyEffects(klass%2Ctemplate%2CtemplateInfo%2Coptions)%3Breturn%20klass%7D%2F**%0A%20%20%20%20%20*%20%40suppress%20%7BmissingProperties%7D%20class.prototype%20is%20not%20defined%20for%20some%20reason%0A%20%20%20%20%20*%2Ffunction%20addPropagateEffects(template%2CtemplateInfo%2Coptions)%7Blet%20userForwardHostProp%3Doptions.forwardHostProp%3Bif(userForwardHostProp)%7B%2F%2F%20Provide%20data%20API%20and%20property%20effects%20on%20memoized%20template%20class%0Alet%20klass%3DtemplateInfo.templatizeTemplateClass%3Bif(!klass)%7Blet%20base%3Doptions.mutableData%3FMutableDataTemplate%3ADataTemplate%3B%2F**%20%40private%20*%2Fklass%3DtemplateInfo.templatizeTemplateClass%3Dclass%20TemplatizedTemplate%20extends%20base%7B%7D%3B%2F%2F%20Add%20template%20-%20%3Einstances%20effects%0A%2F%2F%20and%20host%20%3C-%20template%20effects%0Alet%20hostProps%3DtemplateInfo.hostProps%3Bfor(let%20prop%20in%20hostProps)%7Bklass.prototype._addPropertyEffect(%22_host_%22%2Bprop%2Cklass.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE%2C%7Bfn%3AcreateForwardHostPropEffect(prop%2CuserForwardHostProp)%7D)%3Bklass.prototype._createNotifyingProperty(%22_host_%22%2Bprop)%7D%7DupgradeTemplate(template%2Cklass)%3B%2F%2F%20Mix%20any%20pre-bound%20data%20into%20__data%3B%20no%20need%20to%20flush%20this%20to%0A%2F%2F%20instances%20since%20they%20pull%20from%20the%20template%20at%20instance-time%0Aif(template.__dataProto)%7B%2F%2F%20Note%2C%20generally%20%60__dataProto%60%20could%20be%20chained%2C%20but%20it's%20guaranteed%0A%2F%2F%20to%20not%20be%20since%20this%20is%20a%20vanilla%20template%20we%20just%20added%20effects%20to%0AObject.assign(template.__data%2Ctemplate.__dataProto)%7D%2F%2F%20Clear%20any%20pending%20data%20for%20performance%0Atemplate.__dataTemp%3D%7B%7D%3Btemplate.__dataPending%3Dnull%3Btemplate.__dataOld%3Dnull%3Btemplate._enableProperties()%7D%7D%2F*%20eslint-enable%20valid-jsdoc%20*%2Ffunction%20createForwardHostPropEffect(hostProp%2CuserForwardHostProp)%7Breturn%20function%20forwardHostProp(template%2Cprop%2Cprops)%7BuserForwardHostProp.call(template.__templatizeOwner%2Cprop.substring(%22_host_%22.length)%2Cprops%5Bprop%5D)%7D%7Dfunction%20addNotifyEffects(klass%2Ctemplate%2CtemplateInfo%2Coptions)%7Blet%20hostProps%3DtemplateInfo.hostProps%7C%7C%7B%7D%3Bfor(let%20iprop%20in%20options.instanceProps)%7Bdelete%20hostProps%5Biprop%5D%3Blet%20userNotifyInstanceProp%3Doptions.notifyInstanceProp%3Bif(userNotifyInstanceProp)%7Bklass.prototype._addPropertyEffect(iprop%2Cklass.prototype.PROPERTY_EFFECT_TYPES.NOTIFY%2C%7Bfn%3AcreateNotifyInstancePropEffect(iprop%2CuserNotifyInstanceProp)%7D)%7D%7Dif(options.forwardHostProp%26%26template.__dataHost)%7Bfor(let%20hprop%20in%20hostProps)%7Bklass.prototype._addPropertyEffect(hprop%2Cklass.prototype.PROPERTY_EFFECT_TYPES.NOTIFY%2C%7Bfn%3AcreateNotifyHostPropEffect()%7D)%7D%7D%7Dfunction%20createNotifyInstancePropEffect(instProp%2CuserNotifyInstanceProp)%7Breturn%20function%20notifyInstanceProp(inst%2Cprop%2Cprops)%7BuserNotifyInstanceProp.call(inst.__templatizeOwner%2Cinst%2Cprop%2Cprops%5Bprop%5D)%7D%7Dfunction%20createNotifyHostPropEffect()%7Breturn%20function%20notifyHostProp(inst%2Cprop%2Cprops)%7Binst.__dataHost._setPendingPropertyOrPath(%22_host_%22%2Bprop%2Cprops%5Bprop%5D%2C!0%2C!0)%7D%7D%2F**%0A%20%20%20%20%20*%20Module%20for%20preparing%20and%20stamping%20instances%20of%20templates%20that%20utilize%0A%20%20%20%20%20*%20Polymer's%20data-binding%20and%20declarative%20event%20listener%20features.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20Example%3A%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%20%20%20%20%2F%2F%20Get%20a%20template%20from%20somewhere%2C%20e.g.%20light%20DOM%0A%20%20%20%20%20*%20%20%20%20%20let%20template%20%3D%20this.querySelector('template')%3B%0A%20%20%20%20%20*%20%20%20%20%20%2F%2F%20Prepare%20the%20template%0A%20%20%20%20%20*%20%20%20%20%20let%20TemplateClass%20%3D%20Polymer.Templatize.templatize(template)%3B%0A%20%20%20%20%20*%20%20%20%20%20%2F%2F%20Instance%20the%20template%20with%20an%20initial%20data%20model%0A%20%20%20%20%20*%20%20%20%20%20let%20instance%20%3D%20new%20TemplateClass(%7BmyProp%3A%20'initial'%7D)%3B%0A%20%20%20%20%20*%20%20%20%20%20%2F%2F%20Insert%20the%20instance's%20DOM%20somewhere%2C%20e.g.%20element's%20shadow%20DOM%0A%20%20%20%20%20*%20%20%20%20%20this.shadowRoot.appendChild(instance.root)%3B%0A%20%20%20%20%20*%20%20%20%20%20%2F%2F%20Changing%20a%20property%20on%20the%20instance%20will%20propagate%20to%20bindings%0A%20%20%20%20%20*%20%20%20%20%20%2F%2F%20in%20the%20template%0A%20%20%20%20%20*%20%20%20%20%20instance.myProp%20%3D%20'new%20value'%3B%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20The%20%60options%60%20dictionary%20passed%20to%20%60templatize%60%20allows%20for%20customizing%0A%20%20%20%20%20*%20features%20of%20the%20generated%20template%20class%2C%20including%20how%20outer-scope%20host%0A%20%20%20%20%20*%20properties%20should%20be%20forwarded%20into%20template%20instances%2C%20how%20any%20instance%0A%20%20%20%20%20*%20properties%20added%20into%20the%20template's%20scope%20should%20be%20notified%20out%20to%0A%20%20%20%20%20*%20the%20host%2C%20and%20whether%20the%20instance%20should%20be%20decorated%20as%20a%20%22parent%20model%22%0A%20%20%20%20%20*%20of%20any%20event%20handlers.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%20%20%20%20%2F%2F%20Customize%20property%20forwarding%20and%20event%20model%20decoration%0A%20%20%20%20%20*%20%20%20%20%20let%20TemplateClass%20%3D%20Polymer.Templatize.templatize(template%2C%20this%2C%20%7B%0A%20%20%20%20%20*%20%20%20%20%20%20%20parentModel%3A%20true%2C%0A%20%20%20%20%20*%20%20%20%20%20%20%20forwardHostProp(property%2C%20value)%20%7B...%7D%2C%0A%20%20%20%20%20*%20%20%20%20%20%20%20instanceProps%3A%20%7B...%7D%2C%0A%20%20%20%20%20*%20%20%20%20%20%20%20notifyInstanceProp(instance%2C%20property%2C%20value)%20%7B...%7D%2C%0A%20%20%20%20%20*%20%20%20%20%20%7D)%3B%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40namespace%0A%20%20%20%20%20*%20%40memberof%20Polymer%0A%20%20%20%20%20*%20%40summary%20Module%20for%20preparing%20and%20stamping%20instances%20of%20templates%0A%20%20%20%20%20*%20%20%20utilizing%20Polymer%20templating%20features.%0A%20%20%20%20%20*%2FPolymer.Templatize%3D%7B%2F**%0A%20%20%20%20%20%20%20*%20Returns%20an%20anonymous%20%60Polymer.PropertyEffects%60%20class%20bound%20to%20the%0A%20%20%20%20%20%20%20*%20%60%3Ctemplate%3E%60%20provided.%20%20Instancing%20the%20class%20will%20result%20in%20the%0A%20%20%20%20%20%20%20*%20template%20being%20stamped%20into%20a%20document%20fragment%20stored%20as%20the%20instance's%0A%20%20%20%20%20%20%20*%20%60root%60%20property%2C%20after%20which%20it%20can%20be%20appended%20to%20the%20DOM.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20Templates%20may%20utilize%20all%20Polymer%20data-binding%20features%20as%20well%20as%0A%20%20%20%20%20%20%20*%20declarative%20event%20listeners.%20%20Event%20listeners%20and%20inline%20computing%0A%20%20%20%20%20%20%20*%20functions%20in%20the%20template%20will%20be%20called%20on%20the%20host%20of%20the%20template.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20The%20constructor%20returned%20takes%20a%20single%20argument%20dictionary%20of%20initial%0A%20%20%20%20%20%20%20*%20property%20values%20to%20propagate%20into%20template%20bindings.%20%20Additionally%0A%20%20%20%20%20%20%20*%20host%20properties%20can%20be%20forwarded%20in%2C%20and%20instance%20properties%20can%20be%0A%20%20%20%20%20%20%20*%20notified%20out%20by%20providing%20optional%20callbacks%20in%20the%20%60options%60%20dictionary.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20Valid%20configuration%20in%20%60options%60%20are%20as%20follows%3A%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20-%20%60forwardHostProp(property%2C%20value)%60%3A%20Called%20when%20a%20property%20referenced%0A%20%20%20%20%20%20%20*%20%20%20in%20the%20template%20changed%20on%20the%20template's%20host.%20As%20this%20library%20does%0A%20%20%20%20%20%20%20*%20%20%20not%20retain%20references%20to%20templates%20instanced%20by%20the%20user%2C%20it%20is%20the%0A%20%20%20%20%20%20%20*%20%20%20templatize%20owner's%20responsibility%20to%20forward%20host%20property%20changes%20into%0A%20%20%20%20%20%20%20*%20%20%20user-stamped%20instances.%20%20The%20%60instance.forwardHostProp(property%2C%20value)%60%0A%20%20%20%20%20%20%20*%20%20%20%20method%20on%20the%20generated%20class%20should%20be%20called%20to%20forward%20host%0A%20%20%20%20%20%20%20*%20%20%20properties%20into%20the%20template%20to%20prevent%20unnecessary%20property-changed%0A%20%20%20%20%20%20%20*%20%20%20notifications.%20Any%20properties%20referenced%20in%20the%20template%20that%20are%20not%0A%20%20%20%20%20%20%20*%20%20%20defined%20in%20%60instanceProps%60%20will%20be%20notified%20up%20to%20the%20template's%20host%0A%20%20%20%20%20%20%20*%20%20%20automatically.%0A%20%20%20%20%20%20%20*%20-%20%60instanceProps%60%3A%20Dictionary%20of%20property%20names%20that%20will%20be%20added%0A%20%20%20%20%20%20%20*%20%20%20to%20the%20instance%20by%20the%20templatize%20owner.%20%20These%20properties%20shadow%20any%0A%20%20%20%20%20%20%20*%20%20%20host%20properties%2C%20and%20changes%20within%20the%20template%20to%20these%20properties%0A%20%20%20%20%20%20%20*%20%20%20will%20result%20in%20%60notifyInstanceProp%60%20being%20called.%0A%20%20%20%20%20%20%20*%20-%20%60mutableData%60%3A%20When%20%60true%60%2C%20the%20generated%20class%20will%20skip%20strict%0A%20%20%20%20%20%20%20*%20%20%20dirty-checking%20for%20objects%20and%20arrays%20(always%20consider%20them%20to%20be%0A%20%20%20%20%20%20%20*%20%20%20%22dirty%22).%0A%20%20%20%20%20%20%20*%20-%20%60notifyInstanceProp(instance%2C%20property%2C%20value)%60%3A%20Called%20when%0A%20%20%20%20%20%20%20*%20%20%20an%20instance%20property%20changes.%20%20Users%20may%20choose%20to%20call%20%60notifyPath%60%0A%20%20%20%20%20%20%20*%20%20%20on%20e.g.%20the%20owner%20to%20notify%20the%20change.%0A%20%20%20%20%20%20%20*%20-%20%60parentModel%60%3A%20When%20%60true%60%2C%20events%20handled%20by%20declarative%20event%20listeners%0A%20%20%20%20%20%20%20*%20%20%20(%60on-event%3D%22handler%22%60)%20will%20be%20decorated%20with%20a%20%60model%60%20property%20pointing%0A%20%20%20%20%20%20%20*%20%20%20to%20the%20template%20instance%20that%20stamped%20it.%20%20It%20will%20also%20be%20returned%0A%20%20%20%20%20%20%20*%20%20%20from%20%60instance.parentModel%60%20in%20cases%20where%20template%20instance%20nesting%0A%20%20%20%20%20%20%20*%20%20%20causes%20an%20inner%20model%20to%20shadow%20an%20outer%20model.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20All%20callbacks%20are%20called%20bound%20to%20the%20%60owner%60.%20Any%20context%0A%20%20%20%20%20%20%20*%20needed%20for%20the%20callbacks%20(such%20as%20references%20to%20%60instances%60%20stamped)%0A%20%20%20%20%20%20%20*%20should%20be%20stored%20on%20the%20%60owner%60%20such%20that%20they%20can%20be%20retrieved%20via%0A%20%20%20%20%20%20%20*%20%60this%60.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20When%20%60options.forwardHostProp%60%20is%20declared%20as%20an%20option%2C%20any%20properties%0A%20%20%20%20%20%20%20*%20referenced%20in%20the%20template%20will%20be%20automatically%20forwarded%20from%20the%20host%20of%0A%20%20%20%20%20%20%20*%20the%20%60%3Ctemplate%3E%60%20to%20instances%2C%20with%20the%20exception%20of%20any%20properties%20listed%20in%0A%20%20%20%20%20%20%20*%20the%20%60options.instanceProps%60%20object.%20%20%60instanceProps%60%20are%20assumed%20to%20be%0A%20%20%20%20%20%20%20*%20managed%20by%20the%20owner%20of%20the%20instances%2C%20either%20passed%20into%20the%20constructor%0A%20%20%20%20%20%20%20*%20or%20set%20after%20the%20fact.%20%20Note%2C%20any%20properties%20passed%20into%20the%20constructor%20will%0A%20%20%20%20%20%20%20*%20always%20be%20set%20to%20the%20instance%20(regardless%20of%20whether%20they%20would%20normally%0A%20%20%20%20%20%20%20*%20be%20forwarded%20from%20the%20host).%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20Note%20that%20%60templatize()%60%20can%20be%20run%20only%20once%20for%20a%20given%20%60%3Ctemplate%3E%60.%0A%20%20%20%20%20%20%20*%20Further%20calls%20will%20result%20in%20an%20error.%20Also%2C%20there%20is%20a%20special%0A%20%20%20%20%20%20%20*%20behavior%20if%20the%20template%20was%20duplicated%20through%20a%20mechanism%20such%20as%0A%20%20%20%20%20%20%20*%20%60%3Cdom-repeat%3E%60%20or%20%60%3Ctest-fixture%3E%60.%20In%20this%20case%2C%20all%20calls%20to%0A%20%20%20%20%20%20%20*%20%60templatize()%60%20return%20the%20same%20class%20for%20all%20duplicates%20of%20a%20template.%0A%20%20%20%20%20%20%20*%20The%20class%20returned%20from%20%60templatize()%60%20is%20generated%20only%20once%20using%0A%20%20%20%20%20%20%20*%20the%20%60options%60%20from%20the%20first%20call.%20This%20means%20that%20any%20%60options%60%0A%20%20%20%20%20%20%20*%20provided%20to%20subsequent%20calls%20will%20be%20ignored.%20Therefore%2C%20it%20is%20very%0A%20%20%20%20%20%20%20*%20important%20not%20to%20close%20over%20any%20variables%20inside%20the%20callbacks.%20Also%2C%0A%20%20%20%20%20%20%20*%20arrow%20functions%20must%20be%20avoided%20because%20they%20bind%20the%20outer%20%60this%60.%0A%20%20%20%20%20%20%20*%20Inside%20the%20callbacks%2C%20any%20contextual%20information%20can%20be%20accessed%0A%20%20%20%20%20%20%20*%20through%20%60this%60%2C%20which%20points%20to%20the%20%60owner%60.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40memberof%20Polymer.Templatize%0A%20%20%20%20%20%20%20*%20%40param%20%7B!HTMLTemplateElement%7D%20template%20Template%20to%20templatize%0A%20%20%20%20%20%20%20*%20%40param%20%7BPolymer_PropertyEffects%3D%7D%20owner%20Owner%20of%20the%20template%20instances%3B%0A%20%20%20%20%20%20%20*%20%20%20any%20optional%20callbacks%20will%20be%20bound%20to%20this%20owner.%0A%20%20%20%20%20%20%20*%20%40param%20%7BObject%3D%7D%20options%20Options%20dictionary%20(see%20summary%20for%20details)%0A%20%20%20%20%20%20%20*%20%40return%20%7Bfunction(new%3ATemplateInstanceBase)%7D%20Generated%20class%20bound%20to%20the%20template%0A%20%20%20%20%20%20%20*%20%20%20provided%0A%20%20%20%20%20%20%20*%20%40suppress%20%7BinvalidCasts%7D%0A%20%20%20%20%20%20%20*%2Ftemplatize(template%2Cowner%2Coptions)%7B%2F%2F%20Under%20strictTemplatePolicy%2C%20the%20templatized%20element%20must%20be%20owned%0A%2F%2F%20by%20a%20(trusted)%20Polymer%20element%2C%20indicated%20by%20existence%20of%20_methodHost%3B%0A%2F%2F%20e.g.%20for%20dom-if%20%26%20dom-repeat%20in%20main%20document%2C%20_methodHost%20is%20null%0Aif(Polymer.strictTemplatePolicy%26%26!findMethodHost(template))%7Bthrow%20new%20Error(%22strictTemplatePolicy%3A%20template%20owner%20not%20trusted%22)%7Doptions%3D%2F**%20%40type%20%7B!TemplatizeOptions%7D%20*%2Foptions%7C%7C%7B%7D%3Bif(template.__templatizeOwner)%7Bthrow%20new%20Error(%22A%20%3Ctemplate%3E%20can%20only%20be%20templatized%20once%22)%7Dtemplate.__templatizeOwner%3Downer%3Bconst%20ctor%3Downer%3Fowner.constructor%3ATemplateInstanceBase%3Blet%20templateInfo%3Dctor._parseTemplate(template)%2CbaseClass%3DtemplateInfo.templatizeInstanceClass%3B%2F%2F%20Get%20memoized%20base%20class%20for%20the%20prototypical%20template%2C%20which%0A%2F%2F%20includes%20property%20effects%20for%20binding%20template%20%26%20forwarding%0Aif(!baseClass)%7BbaseClass%3DcreateTemplatizerClass(template%2CtemplateInfo%2Coptions)%3BtemplateInfo.templatizeInstanceClass%3DbaseClass%7D%2F%2F%20Host%20property%20forwarding%20must%20be%20installed%20onto%20template%20instance%0AaddPropagateEffects(template%2CtemplateInfo%2Coptions)%3B%2F%2F%20Subclass%20base%20class%20and%20add%20reference%20for%20this%20specific%20template%0A%2F**%20%40private%20*%2Flet%20klass%3Dclass%20TemplateInstance%20extends%20baseClass%7B%7D%3Bklass.prototype._methodHost%3DfindMethodHost(template)%3Bklass.prototype.__dataHost%3Dtemplate%3Bklass.prototype.__templatizeOwner%3Downer%3Bklass.prototype.__hostProps%3DtemplateInfo.hostProps%3Bklass%3D%2F**%20%40type%20%7Bfunction(new%3ATemplateInstanceBase)%7D%20*%2Fklass%3B%2F%2Feslint-disable-line%20no-self-assign%0Areturn%20klass%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20Returns%20the%20template%20%22model%22%20associated%20with%20a%20given%20element%2C%20which%0A%20%20%20%20%20%20%20*%20serves%20as%20the%20binding%20scope%20for%20the%20template%20instance%20the%20element%20is%0A%20%20%20%20%20%20%20*%20contained%20in.%20A%20template%20model%20is%20an%20instance%20of%0A%20%20%20%20%20%20%20*%20%60TemplateInstanceBase%60%2C%20and%20should%20be%20used%20to%20manipulate%20data%0A%20%20%20%20%20%20%20*%20associated%20with%20this%20template%20instance.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20Example%3A%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%20%20let%20model%20%3D%20modelForElement(el)%3B%0A%20%20%20%20%20%20%20*%20%20%20if%20(model.index%20%3C%2010)%20%7B%0A%20%20%20%20%20%20%20*%20%20%20%20%20model.set('item.checked'%2C%20true)%3B%0A%20%20%20%20%20%20%20*%20%20%20%7D%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40memberof%20Polymer.Templatize%0A%20%20%20%20%20%20%20*%20%40param%20%7BHTMLTemplateElement%7D%20template%20The%20model%20will%20be%20returned%20for%0A%20%20%20%20%20%20%20*%20%20%20elements%20stamped%20from%20this%20template%0A%20%20%20%20%20%20%20*%20%40param%20%7BNode%3D%7D%20node%20Node%20for%20which%20to%20return%20a%20template%20model.%0A%20%20%20%20%20%20%20*%20%40return%20%7BTemplateInstanceBase%7D%20Template%20instance%20representing%20the%0A%20%20%20%20%20%20%20*%20%20%20binding%20scope%20for%20the%20element%0A%20%20%20%20%20%20%20*%2FmodelForElement(template%2Cnode)%7Blet%20model%3Bwhile(node)%7B%2F%2F%20An%20element%20with%20a%20__templatizeInstance%20marks%20the%20top%20boundary%0A%2F%2F%20of%20a%20scope%3B%20walk%20up%20until%20we%20find%20one%2C%20and%20then%20ensure%20that%0A%2F%2F%20its%20__dataHost%20matches%20%60this%60%2C%20meaning%20this%20dom-repeat%20stamped%20it%0Aif(model%3Dnode.__templatizeInstance)%7B%2F%2F%20Found%20an%20element%20stamped%20by%20another%20template%3B%20keep%20walking%20up%0A%2F%2F%20from%20its%20__dataHost%0Aif(model.__dataHost!%3Dtemplate)%7Bnode%3Dmodel.__dataHost%7Delse%7Breturn%20model%7D%7Delse%7B%2F%2F%20Still%20in%20a%20template%20scope%2C%20keep%20going%20up%20until%0A%2F%2F%20a%20__templatizeInstance%20is%20found%0Anode%3Dnode.parentNode%7D%7Dreturn%20null%7D%7D%3BPolymer.TemplateInstanceBase%3DTemplateInstanceBase%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fpolymer%2Flib%2Futils%2Ftemplatize.html.js%0A | 22 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/es6/bower_components/intl-messageformat/dist/intl-messageformat.min.js | 16 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7B'use%20strict'%3Blet%20scheduled%3D%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A!1%2CbeforeRenderQueue%3D%5B%5D%2CafterRenderQueue%3D%5B%5D%3Bfunction%20schedule()%7Bscheduled%3D%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%3B%2F%2F%20before%20next%20render%0ArequestAnimationFrame(function()%7Bscheduled%3D!1%3BflushQueue(beforeRenderQueue)%3B%2F%2F%20after%20the%20render%0AsetTimeout(function()%7BrunQueue(afterRenderQueue)%7D)%7D)%7Dfunction%20flushQueue(queue)%7Bwhile(queue.length)%7BcallMethod(queue.shift())%7D%7Dfunction%20runQueue(queue)%7Bfor(let%20i%3D0%2Cl%3Dqueue.length%3Bi%3Cl%3Bi%2B%2B)%7BcallMethod(queue.shift())%7D%7Dfunction%20callMethod(info)%7Bconst%20context%3Dinfo%5B0%5D%2Ccallback%3Dinfo%5B1%5D%2Cargs%3Dinfo%5B2%5D%3Btry%7Bcallback.apply(context%2Cargs)%7Dcatch(e)%7BsetTimeout(()%3D%3E%7Bthrow%20e%7D)%7D%7Dfunction%20flush()%7Bwhile(beforeRenderQueue.length%7C%7CafterRenderQueue.length)%7BflushQueue(beforeRenderQueue)%3BflushQueue(afterRenderQueue)%7Dscheduled%3D!1%7D%2F**%0A%20%20%20*%20Module%20for%20scheduling%20flushable%20pre-render%20and%20post-render%20tasks.%0A%20%20%20*%0A%20%20%20*%20%40namespace%0A%20%20%20*%20%40memberof%20Polymer%0A%20%20%20*%20%40summary%20Module%20for%20scheduling%20flushable%20pre-render%20and%20post-render%20tasks.%0A%20%20%20*%2FPolymer.RenderStatus%3D%7B%2F**%0A%20%20%20%20%20*%20Enqueues%20a%20callback%20which%20will%20be%20run%20before%20the%20next%20render%2C%20at%0A%20%20%20%20%20*%20%60requestAnimationFrame%60%20timing.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20This%20method%20is%20useful%20for%20enqueuing%20work%20that%20requires%20DOM%20measurement%2C%0A%20%20%20%20%20*%20since%20measurement%20may%20not%20be%20reliable%20in%20custom%20element%20callbacks%20before%0A%20%20%20%20%20*%20the%20first%20render%2C%20as%20well%20as%20for%20batching%20measurement%20tasks%20in%20general.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20Tasks%20in%20this%20queue%20may%20be%20flushed%20by%20calling%20%60Polymer.RenderStatus.flush()%60.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40memberof%20Polymer.RenderStatus%0A%20%20%20%20%20*%20%40param%20%7B*%7D%20context%20Context%20object%20the%20callback%20function%20will%20be%20bound%20to%0A%20%20%20%20%20*%20%40param%20%7Bfunction(...*)%3Avoid%7D%20callback%20Callback%20function%0A%20%20%20%20%20*%20%40param%20%7B!Array%3D%7D%20args%20An%20array%20of%20arguments%20to%20call%20the%20callback%20function%20with%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%2FbeforeNextRender%3Afunction(context%2Ccallback%2Cargs)%7Bif(!scheduled)%7Bschedule()%7DbeforeRenderQueue.push(%5Bcontext%2Ccallback%2Cargs%5D)%7D%2C%2F**%0A%20%20%20%20%20*%20Enqueues%20a%20callback%20which%20will%20be%20run%20after%20the%20next%20render%2C%20equivalent%0A%20%20%20%20%20*%20to%20one%20task%20(%60setTimeout%60)%20after%20the%20next%20%60requestAnimationFrame%60.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20This%20method%20is%20useful%20for%20tuning%20the%20first-render%20performance%20of%20an%0A%20%20%20%20%20*%20element%20or%20application%20by%20deferring%20non-critical%20work%20until%20after%20the%0A%20%20%20%20%20*%20first%20paint.%20%20Typical%20non-render-critical%20work%20may%20include%20adding%20UI%0A%20%20%20%20%20*%20event%20listeners%20and%20aria%20attributes.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40memberof%20Polymer.RenderStatus%0A%20%20%20%20%20*%20%40param%20%7B*%7D%20context%20Context%20object%20the%20callback%20function%20will%20be%20bound%20to%0A%20%20%20%20%20*%20%40param%20%7Bfunction(...*)%3Avoid%7D%20callback%20Callback%20function%0A%20%20%20%20%20*%20%40param%20%7B!Array%3D%7D%20args%20An%20array%20of%20arguments%20to%20call%20the%20callback%20function%20with%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%2FafterNextRender%3Afunction(context%2Ccallback%2Cargs)%7Bif(!scheduled)%7Bschedule()%7DafterRenderQueue.push(%5Bcontext%2Ccallback%2Cargs%5D)%7D%2C%2F**%0A%20%20%20%20%20*%20Flushes%20all%20%60beforeNextRender%60%20tasks%2C%20followed%20by%20all%20%60afterNextRender%60%0A%20%20%20%20%20*%20tasks.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40memberof%20Polymer.RenderStatus%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%2Fflush%3Aflush%7D%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fpolymer%2Flib%2Futils%2Frender-status.html.js%0A | 3.5 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/ | 2.7 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-text-icon/src/IngTextIcon.js | 2.1 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/core/styles/components/font.js | 1.8 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/localize/node_modules/singleton-manager/src/SingletonManagerClass.js | 266 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/snackbar/snackbar.js | 259 B | 2023-03-08 | 2023-06-29 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7B'use%20strict'%3Bvar%20p%3DElement.prototype%2Cmatches%3Dp.matches%7C%7Cp.matchesSelector%7C%7Cp.mozMatchesSelector%7C%7Cp.msMatchesSelector%7C%7Cp.oMatchesSelector%7C%7Cp.webkitMatchesSelector%3BPolymer.IronFocusablesHelper%3D%7B%2F**%0A%20%20%20%20%20*%20Returns%20a%20sorted%20array%20of%20tabbable%20nodes%2C%20including%20the%20root%20node.%0A%20%20%20%20%20*%20It%20searches%20the%20tabbable%20nodes%20in%20the%20light%20and%20shadow%20dom%20of%20the%20chidren%2C%0A%20%20%20%20%20*%20sorting%20the%20result%20by%20tabindex.%0A%20%20%20%20%20*%20%40param%20%7B!Node%7D%20node%0A%20%20%20%20%20*%20%40return%20%7B!Array%3C!HTMLElement%3E%7D%0A%20%20%20%20%20*%2FgetTabbableNodes%3Afunction(node)%7Bvar%20result%3D%5B%5D%2CneedsSortByTabIndex%3Dthis._collectTabbableNodes(node%2Cresult)%3B%2F%2F%20If%20there%20is%20at%20least%20one%20element%20with%20tabindex%20%3E%200%2C%20we%20need%20to%20sort%0A%2F%2F%20the%20final%20array%20by%20tabindex.%0Aif(needsSortByTabIndex)%7Breturn%20this._sortByTabIndex(result)%7Dreturn%20result%7D%2C%2F**%0A%20%20%20%20%20*%20Returns%20if%20a%20element%20is%20focusable.%0A%20%20%20%20%20*%20%40param%20%7B!HTMLElement%7D%20element%0A%20%20%20%20%20*%20%40return%20%7Bboolean%7D%0A%20%20%20%20%20*%2FisFocusable%3Afunction(element)%7B%2F%2F%20From%20http%3A%2F%2Fstackoverflow.com%2Fa%2F1600194%2F4228703%3A%0A%2F%2F%20There%20isn't%20a%20definite%20list%2C%20it's%20up%20to%20the%20browser.%20The%20only%0A%2F%2F%20standard%20we%20have%20is%20DOM%20Level%202%20HTML%0A%2F%2F%20https%3A%2F%2Fwww.w3.org%2FTR%2FDOM-Level-2-HTML%2Fhtml.html%2C%20according%20to%20which%20the%0A%2F%2F%20only%20elements%20that%20have%20a%20focus()%20method%20are%20HTMLInputElement%2C%0A%2F%2F%20HTMLSelectElement%2C%20HTMLTextAreaElement%20and%20HTMLAnchorElement.%20This%0A%2F%2F%20notably%20omits%20HTMLButtonElement%20and%20HTMLAreaElement.%20Referring%20to%20these%0A%2F%2F%20tests%20with%20tabbables%20in%20different%20browsers%0A%2F%2F%20http%3A%2F%2Fallyjs.io%2Fdata-tables%2Ffocusable.html%0A%2F%2F%20Elements%20that%20cannot%20be%20focused%20if%20they%20have%20%5Bdisabled%5D%20attribute.%0Aif(matches.call(element%2C%22input%2C%20select%2C%20textarea%2C%20button%2C%20object%22))%7Breturn%20matches.call(element%2C%22%3Anot(%5Bdisabled%5D)%22)%7D%2F%2F%20Elements%20that%20can%20be%20focused%20even%20if%20they%20have%20%5Bdisabled%5D%20attribute.%0Areturn%20matches.call(element%2C%22a%5Bhref%5D%2C%20area%5Bhref%5D%2C%20iframe%2C%20%5Btabindex%5D%2C%20%5BcontentEditable%5D%22)%7D%2C%2F**%0A%20%20%20%20%20*%20Returns%20if%20a%20element%20is%20tabbable.%20To%20be%20tabbable%2C%20a%20element%20must%20be%0A%20%20%20%20%20*%20focusable%2C%20visible%2C%20and%20with%20a%20tabindex%20!%3D%3D%20-1.%0A%20%20%20%20%20*%20%40param%20%7B!HTMLElement%7D%20element%0A%20%20%20%20%20*%20%40return%20%7Bboolean%7D%0A%20%20%20%20%20*%2FisTabbable%3Afunction(element)%7Breturn%20this.isFocusable(element)%26%26matches.call(element%2C%22%3Anot(%5Btabindex%3D%5C%22-1%5C%22%5D)%22)%26%26this._isVisible(element)%7D%2C%2F**%0A%20%20%20%20%20*%20Returns%20the%20normalized%20element%20tabindex.%20If%20not%20focusable%2C%20returns%20-1.%0A%20%20%20%20%20*%20It%20checks%20for%20the%20attribute%20%22tabindex%22%20instead%20of%20the%20element%20property%0A%20%20%20%20%20*%20%60tabIndex%60%20since%20browsers%20assign%20different%20values%20to%20it.%0A%20%20%20%20%20*%20e.g.%20in%20Firefox%20%60%3Cdiv%20contenteditable%3E%60%20has%20%60tabIndex%20%3D%20-1%60%0A%20%20%20%20%20*%20%40param%20%7B!HTMLElement%7D%20element%0A%20%20%20%20%20*%20%40return%20%7B!number%7D%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2F_normalizedTabIndex%3Afunction(element)%7Bif(this.isFocusable(element))%7Bvar%20tabIndex%3Delement.getAttribute(%22tabindex%22)%7C%7C0%3Breturn%2BtabIndex%7Dreturn-1%7D%2C%2F**%0A%20%20%20%20%20*%20Searches%20for%20nodes%20that%20are%20tabbable%20and%20adds%20them%20to%20the%20%60result%60%20array.%0A%20%20%20%20%20*%20Returns%20if%20the%20%60result%60%20array%20needs%20to%20be%20sorted%20by%20tabindex.%0A%20%20%20%20%20*%20%40param%20%7B!Node%7D%20node%20The%20starting%20point%20for%20the%20search%3B%20added%20to%20%60result%60%0A%20%20%20%20%20*%20if%20tabbable.%0A%20%20%20%20%20*%20%40param%20%7B!Array%3C!HTMLElement%3E%7D%20result%0A%20%20%20%20%20*%20%40return%20%7Bboolean%7D%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2F_collectTabbableNodes%3Afunction(node%2Cresult)%7B%2F%2F%20If%20not%20an%20element%20or%20not%20visible%2C%20no%20need%20to%20explore%20children.%0Aif(node.nodeType!%3D%3DNode.ELEMENT_NODE%7C%7C!this._isVisible(node))%7Breturn(%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A!1)%7Dvar%20element%3D%2F**%20%40type%20%7B!HTMLElement%7D%20*%2Fnode%2CtabIndex%3Dthis._normalizedTabIndex(element)%2CneedsSort%3D0%3CtabIndex%3Bif(0%3C%3DtabIndex)%7Bresult.push(element)%7D%2F%2F%20In%20ShadowDOM%20v1%2C%20tab%20order%20is%20affected%20by%20the%20order%20of%20distrubution.%0A%2F%2F%20E.g.%20getTabbableNodes(%23root)%20in%20ShadowDOM%20v1%20should%20return%20%5B%23A%2C%20%23B%5D%3B%0A%2F%2F%20in%20ShadowDOM%20v0%20tab%20order%20is%20not%20affected%20by%20the%20distrubution%20order%2C%0A%2F%2F%20in%20fact%20getTabbableNodes(%23root)%20returns%20%5B%23B%2C%20%23A%5D.%0A%2F%2F%20%20%3Cdiv%20id%3D%22root%22%3E%0A%2F%2F%20%20%20%3C!--%20shadow%20--%3E%0A%2F%2F%20%20%20%20%20%3Cslot%20name%3D%22a%22%3E%0A%2F%2F%20%20%20%20%20%3Cslot%20name%3D%22b%22%3E%0A%2F%2F%20%20%20%3C!--%20%2Fshadow%20--%3E%0A%2F%2F%20%20%20%3Cinput%20id%3D%22A%22%20slot%3D%22a%22%3E%0A%2F%2F%20%20%20%3Cinput%20id%3D%22B%22%20slot%3D%22b%22%20tabindex%3D%221%22%3E%0A%2F%2F%20%20%3C%2Fdiv%3E%0A%2F%2F%20TODO(valdrin)%20support%20ShadowDOM%20v1%20when%20upgrading%20to%20Polymer%20v2.0.%0Avar%20children%3Bif(%22content%22%3D%3D%3Delement.localName%7C%7C%22slot%22%3D%3D%3Delement.localName)%7Bchildren%3DPolymer.dom(element).getDistributedNodes()%7Delse%7B%2F%2F%20Use%20shadow%20root%20if%20possible%2C%20will%20check%20for%20distributed%20nodes.%0Achildren%3DPolymer.dom(element.root%7C%7Celement).children%7Dfor(var%20i%3D0%3Bi%3Cchildren.length%3Bi%2B%2B)%7B%2F%2F%20Ensure%20method%20is%20always%20invoked%20to%20collect%20tabbable%20children.%0AneedsSort%3Dthis._collectTabbableNodes(children%5Bi%5D%2Cresult)%7C%7CneedsSort%7Dreturn%20needsSort%7D%2C%2F**%0A%20%20%20%20%20*%20Returns%20false%20if%20the%20element%20has%20%60visibility%3A%20hidden%60%20or%20%60display%3A%20none%60%0A%20%20%20%20%20*%20%40param%20%7B!HTMLElement%7D%20element%0A%20%20%20%20%20*%20%40return%20%7Bboolean%7D%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2F_isVisible%3Afunction(element)%7B%2F%2F%20Check%20inline%20style%20first%20to%20save%20a%20re-flow.%20If%20looks%20good%2C%20check%20also%0A%2F%2F%20computed%20style.%0Avar%20style%3Delement.style%3Bif(%22hidden%22!%3D%3Dstyle.visibility%26%26%22none%22!%3D%3Dstyle.display)%7Bstyle%3Dwindow.getComputedStyle(element)%3Breturn%22hidden%22!%3D%3Dstyle.visibility%26%26%22none%22!%3D%3Dstyle.display%7Dreturn!1%7D%2C%2F**%0A%20%20%20%20%20*%20Sorts%20an%20array%20of%20tabbable%20elements%20by%20tabindex.%20Returns%20a%20new%20array.%0A%20%20%20%20%20*%20%40param%20%7B!Array%3C!HTMLElement%3E%7D%20tabbables%0A%20%20%20%20%20*%20%40return%20%7B!Array%3C!HTMLElement%3E%7D%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2F_sortByTabIndex%3Afunction(tabbables)%7B%2F%2F%20Implement%20a%20merge%20sort%20as%20Array.prototype.sort%20does%20a%20non-stable%20sort%0A%2F%2F%20https%3A%2F%2Fdeveloper.mozilla.org%2Fen-US%2Fdocs%2FWeb%2FJavaScript%2FReference%2FGlobal_Objects%2FArray%2Fsort%0Avar%20len%3Dtabbables.length%3Bif(2%3Elen)%7Breturn%20tabbables%7Dvar%20pivot%3DMath.ceil(len%2F2)%2Cleft%3Dthis._sortByTabIndex(tabbables.slice(0%2Cpivot))%2Cright%3Dthis._sortByTabIndex(tabbables.slice(pivot))%3Breturn%20this._mergeSortByTabIndex(left%2Cright)%7D%2C%2F**%0A%20%20%20%20%20*%20Merge%20sort%20iterator%2C%20merges%20the%20two%20arrays%20into%20one%2C%20sorted%20by%20tab%20index.%0A%20%20%20%20%20*%20%40param%20%7B!Array%3C!HTMLElement%3E%7D%20left%0A%20%20%20%20%20*%20%40param%20%7B!Array%3C!HTMLElement%3E%7D%20right%0A%20%20%20%20%20*%20%40return%20%7B!Array%3C!HTMLElement%3E%7D%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2F_mergeSortByTabIndex%3Afunction(left%2Cright)%7Bvar%20result%3D%5B%5D%3Bwhile(0%3Cleft.length%26%260%3Cright.length)%7Bif(this._hasLowerTabOrder(left%5B0%5D%2Cright%5B0%5D))%7Bresult.push(right.shift())%7Delse%7Bresult.push(left.shift())%7D%7Dreturn%20result.concat(left%2Cright)%7D%2C%2F**%0A%20%20%20%20%20*%20Returns%20if%20element%20%60a%60%20has%20lower%20tab%20order%20compared%20to%20element%20%60b%60%0A%20%20%20%20%20*%20(both%20elements%20are%20assumed%20to%20be%20focusable%20and%20tabbable).%0A%20%20%20%20%20*%20Elements%20with%20tabindex%20%3D%200%20have%20lower%20tab%20order%20compared%20to%20elements%0A%20%20%20%20%20*%20with%20tabindex%20%3E%200.%0A%20%20%20%20%20*%20If%20both%20have%20same%20tabindex%2C%20it%20returns%20false.%0A%20%20%20%20%20*%20%40param%20%7B!HTMLElement%7D%20a%0A%20%20%20%20%20*%20%40param%20%7B!HTMLElement%7D%20b%0A%20%20%20%20%20*%20%40return%20%7Bboolean%7D%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2F_hasLowerTabOrder%3Afunction(a%2Cb)%7B%2F%2F%20Normalize%20tabIndexes%0A%2F%2F%20e.g.%20in%20Firefox%20%60%3Cdiv%20contenteditable%3E%60%20has%20%60tabIndex%20%3D%20-1%60%0Avar%20ati%3DMath.max(a.tabIndex%2C0)%2Cbti%3DMath.max(b.tabIndex%2C0)%3Breturn%200%3D%3D%3Dati%7C%7C0%3D%3D%3Dbti%3Fbti%3Eati%3Aati%3Ebti%7D%7D%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Firon-overlay-behavior%2Firon-focusables-helper.html.js%0A | 6.8 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-separator/ing-separator.js | 215 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/_core2/hybrid-lit/isLit1TemplateResult.js | 89 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@bundled-es-modules/axios/axios.js | 29 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/icon/oj-icons/outline/arrows/arrow_circle_down_outline.svg.js | 353 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7B'use%20strict'%3Bconst%20HOST_DIR%3D%2F%3Ahost%5C(%3Adir%5C((ltr%7Crtl)%5C)%5C)%2Fg%2CHOST_DIR_REPLACMENT%3D%22%3Ahost(%5Bdir%3D%5C%22%241%5C%22%5D)%22%2CEL_DIR%3D%2F(%5B%5Cs%5Cw-%23%5C.%5C%5B%5C%5D%5C*%5D*)%3Adir%5C((ltr%7Crtl)%5C)%2Fg%2CEL_DIR_REPLACMENT%3D%22%3Ahost(%5Bdir%3D%5C%22%242%5C%22%5D)%20%241%22%2CDIR_CHECK%3D%2F%3Adir%5C((%3F%3Altr%7Crtl)%5C)%2F%2CSHIM_SHADOW%3D!!(window.ShadyDOM%26%26window.ShadyDOM.inUse)%2CDIR_INSTANCES%3D%5B%5D%3B%2F**%20%40type%20%7BMutationObserver%7D%20*%2Flet%20observer%3Dnull%2CDOCUMENT_DIR%3D%22%22%3Bfunction%20getRTL()%7BDOCUMENT_DIR%3Ddocument.documentElement.getAttribute(%22dir%22)%7D%2F**%0A%20%20%20%20%20*%20%40param%20%7B!Polymer_DirMixin%7D%20instance%20Instance%20to%20set%20RTL%20status%20on%0A%20%20%20%20%20*%2Ffunction%20setRTL(instance)%7Bif(!instance.__autoDirOptOut)%7Bconst%20el%3D%2F**%20%40type%20%7B!HTMLElement%7D%20*%2Finstance%3Bel.setAttribute(%22dir%22%2CDOCUMENT_DIR)%7D%7Dfunction%20updateDirection()%7BgetRTL()%3BDOCUMENT_DIR%3Ddocument.documentElement.getAttribute(%22dir%22)%3Bfor(let%20i%3D0%3Bi%3CDIR_INSTANCES.length%3Bi%2B%2B)%7BsetRTL(DIR_INSTANCES%5Bi%5D)%7D%7Dfunction%20takeRecords()%7Bif(observer%26%26observer.takeRecords().length)%7BupdateDirection()%7D%7D%2F**%0A%20%20%20%20%20*%20Element%20class%20mixin%20that%20allows%20elements%20to%20use%20the%20%60%3Adir%60%20CSS%20Selector%20to%20have%0A%20%20%20%20%20*%20text%20direction%20specific%20styling.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20With%20this%20mixin%2C%20any%20stylesheet%20provided%20in%20the%20template%20will%20transform%20%60%3Adir%60%20into%0A%20%20%20%20%20*%20%60%3Ahost(%5Bdir%5D)%60%20and%20sync%20direction%20with%20the%20page%20via%20the%20element's%20%60dir%60%20attribute.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20Elements%20can%20opt%20out%20of%20the%20global%20page%20text%20direction%20by%20setting%20the%20%60dir%60%20attribute%0A%20%20%20%20%20*%20directly%20in%20%60ready()%60%20or%20in%20HTML.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20Caveats%3A%0A%20%20%20%20%20*%20-%20Applications%20must%20set%20%60%3Chtml%20dir%3D%22ltr%22%3E%60%20or%20%60%3Chtml%20dir%3D%22rtl%22%3E%60%20to%20sync%20direction%0A%20%20%20%20%20*%20-%20Automatic%20left-to-right%20or%20right-to-left%20styling%20is%20sync'd%20with%20the%20%60%3Chtml%3E%60%20element%20only.%0A%20%20%20%20%20*%20-%20Changing%20%60dir%60%20at%20runtime%20is%20supported.%0A%20%20%20%20%20*%20-%20Opting%20out%20of%20the%20global%20direction%20styling%20is%20permanent%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40mixinFunction%0A%20%20%20%20%20*%20%40polymer%0A%20%20%20%20%20*%20%40appliesMixin%20Polymer.PropertyAccessors%0A%20%20%20%20%20*%20%40memberof%20Polymer%0A%20%20%20%20%20*%2FPolymer.DirMixin%3DPolymer.dedupingMixin(base%3D%3E%7Bif(!SHIM_SHADOW)%7Bif(!observer)%7BgetRTL()%3Bobserver%3Dnew%20MutationObserver(updateDirection)%3Bobserver.observe(document.documentElement%2C%7Battributes%3A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2CattributeFilter%3A%5B%22dir%22%5D%7D)%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20%40constructor%0A%20%20%20%20%20%20%20*%20%40extends%20%7Bbase%7D%0A%20%20%20%20%20%20%20*%20%40implements%20%7BPolymer_PropertyAccessors%7D%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2Fconst%20elementBase%3DPolymer.PropertyAccessors(base)%3B%2F**%0A%20%20%20%20%20%20%20*%20%40polymer%0A%20%20%20%20%20%20%20*%20%40mixinClass%0A%20%20%20%20%20%20%20*%20%40implements%20%7BPolymer_DirMixin%7D%0A%20%20%20%20%20%20%20*%2Fclass%20Dir%20extends%20elementBase%7B%2F**%0A%20%20%20%20%20%20%20%20%20*%20%40override%0A%20%20%20%20%20%20%20%20%20*%20%40suppress%20%7BmissingProperties%7D%20Interfaces%20in%20closure%20do%20not%20inherit%20statics%2C%20but%20classes%20do%0A%20%20%20%20%20%20%20%20%20*%2Fstatic%20_processStyleText(cssText%2CbaseURI)%7BcssText%3Dsuper._processStyleText(cssText%2CbaseURI)%3Bif(!SHIM_SHADOW%26%26DIR_CHECK.test(cssText))%7BcssText%3Dthis._replaceDirInCssText(cssText)%3Bthis.__activateDir%3D!0%7Dreturn%20cssText%7D%2F**%0A%20%20%20%20%20%20%20%20%20*%20Replace%20%60%3Adir%60%20in%20the%20given%20CSS%20text%0A%20%20%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20text%20CSS%20text%20to%20replace%20DIR%0A%20%20%20%20%20%20%20%20%20*%20%40return%20%7Bstring%7D%20Modified%20CSS%0A%20%20%20%20%20%20%20%20%20*%2Fstatic%20_replaceDirInCssText(text)%7Blet%20replacedText%3Dtext%3BreplacedText%3DreplacedText.replace(HOST_DIR%2CHOST_DIR_REPLACMENT)%3BreplacedText%3DreplacedText.replace(EL_DIR%2CEL_DIR_REPLACMENT)%3Breturn%20replacedText%7Dconstructor()%7Bsuper()%3B%2F**%20%40type%20%7Bboolean%7D%20*%2Fthis.__autoDirOptOut%3D%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A!1%7D%2F**%0A%20%20%20%20%20%20%20%20%20*%20%40suppress%20%7BinvalidCasts%7D%20Closure%20doesn't%20understand%20that%20%60this%60%20is%20an%20HTMLElement%0A%20%20%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20%20%20*%2Fready()%7Bsuper.ready()%3Bthis.__autoDirOptOut%3D%2F**%20%40type%20%7B!HTMLElement%7D%20*%2Fthis.hasAttribute(%22dir%22)%7D%2F**%0A%20%20%20%20%20%20%20%20%20*%20%40suppress%20%7BmissingProperties%7D%20If%20it%20exists%20on%20elementBase%2C%20it%20can%20be%20super'd%0A%20%20%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20%20%20*%2FconnectedCallback()%7Bif(elementBase.prototype.connectedCallback)%7Bsuper.connectedCallback()%7Dif(this.constructor.__activateDir)%7BtakeRecords()%3BDIR_INSTANCES.push(this)%3BsetRTL(this)%7D%7D%2F**%0A%20%20%20%20%20%20%20%20%20*%20%40suppress%20%7BmissingProperties%7D%20If%20it%20exists%20on%20elementBase%2C%20it%20can%20be%20super'd%0A%20%20%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20%20%20*%2FdisconnectedCallback()%7Bif(elementBase.prototype.disconnectedCallback)%7Bsuper.disconnectedCallback()%7Dif(this.constructor.__activateDir)%7Bconst%20idx%3DDIR_INSTANCES.indexOf(this)%3Bif(-1%3Cidx)%7BDIR_INSTANCES.splice(idx%2C1)%7D%7D%7D%7DDir.__activateDir%3D!1%3Breturn%20Dir%7D)%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fpolymer%2Flib%2Fmixins%2Fdir-mixin.html.js%0A | 4.7 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/lib/parts.js | 5.8 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/localize/node_modules/singleton-manager/index.js | 181 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7B'use%20strict'%3B%2F%2F%20unique%20global%20id%20for%20deduping%20mixins.%0Alet%20dedupeId%3D0%3B%2F**%0A%20%20%20*%20%40constructor%0A%20%20%20*%20%40extends%20%7BFunction%7D%0A%20%20%20*%20%40private%0A%20%20%20*%2Ffunction%20MixinFunction()%7B%7D%2F**%20%40type%20%7B(WeakMap%20%7C%20undefined)%7D%20*%2FMixinFunction.prototype.__mixinApplications%3B%2F**%20%40type%20%7B(Object%20%7C%20undefined)%7D%20*%2FMixinFunction.prototype.__mixinSet%3B%2F*%20eslint-disable%20valid-jsdoc%20*%2F%20%2F**%0A%20%20%20*%20Wraps%20an%20ES6%20class%20expression%20mixin%20such%20that%20the%20mixin%20is%20only%20applied%0A%20%20%20*%20if%20it%20has%20not%20already%20been%20applied%20its%20base%20argument.%20Also%20memoizes%20mixin%0A%20%20%20*%20applications.%0A%20%20%20*%0A%20%20%20*%20%40memberof%20Polymer%0A%20%20%20*%20%40template%20T%0A%20%20%20*%20%40param%20%7BT%7D%20mixin%20ES6%20class%20expression%20mixin%20to%20wrap%0A%20%20%20*%20%40return%20%7BT%7D%0A%20%20%20*%20%40suppress%20%7BinvalidCasts%7D%0A%20%20%20*%2FPolymer.dedupingMixin%3Dfunction(mixin)%7Blet%20mixinApplications%3D%2F**%20%40type%20%7B!MixinFunction%7D%20*%2Fmixin.__mixinApplications%3Bif(!mixinApplications)%7BmixinApplications%3Dnew%20WeakMap%3B%2F**%20%40type%20%7B!MixinFunction%7D%20*%2Fmixin.__mixinApplications%3DmixinApplications%7D%2F%2F%20maintain%20a%20unique%20id%20for%20each%20mixin%0Alet%20mixinDedupeId%3DdedupeId%2B%2B%3Bfunction%20dedupingMixin(base)%7Blet%20baseSet%3D%2F**%20%40type%20%7B!MixinFunction%7D%20*%2Fbase.__mixinSet%3Bif(baseSet%26%26baseSet%5BmixinDedupeId%5D)%7Breturn%20base%7Dlet%20map%3DmixinApplications%2Cextended%3Dmap.get(base)%3Bif(!extended)%7Bextended%3D%2F**%20%40type%20%7B!Function%7D%20*%2Fmixin(base)%3Bmap.set(base%2Cextended)%7D%2F%2F%20copy%20inherited%20mixin%20set%20from%20the%20extended%20class%2C%20or%20the%20base%20class%0A%2F%2F%20NOTE%3A%20we%20avoid%20use%20of%20Set%20here%20because%20some%20browser%20(IE11)%0A%2F%2F%20cannot%20extend%20a%20base%20Set%20via%20the%20constructor.%0Alet%20mixinSet%3DObject.create(%2F**%20%40type%20%7B!MixinFunction%7D%20*%2Fextended.__mixinSet%7C%7CbaseSet%7C%7Cnull)%3BmixinSet%5BmixinDedupeId%5D%3D%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%3B%2F**%20%40type%20%7B!MixinFunction%7D%20*%2Fextended.__mixinSet%3DmixinSet%3Breturn%20extended%7Dreturn(%2F**%20%40type%20%7BT%7D%20*%2FdedupingMixin)%7D%3B%2F*%20eslint-enable%20valid-jsdoc%20*%2F%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fpolymer%2Flib%2Futils%2Fmixin.html.js%0A | 2.1 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,%2F**%0A%20%20%20%20%20*%20%60ing-uic-cms-menu%60%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40customElement%0A%20%20%20%20%20*%20%40polymer%0A%20%20%20%20%20*%20%40demo%20demo%2Findex.html%0A%20%20%20%20%20*%2Fclass%20IngUicCmsMenu%20extends%20Polymer.GestureEventListeners(Polymer.Element)%7B%2F**%0A%20%20%20%20%20%20*%20Component%20definition%0A%20%20%20%20%20%20*%2Fstatic%20get%20is()%7Breturn%22ing-uic-cms-menu%22%7D%2F**%0A%20%20%20%20%20%20*%20Properties%0A%20%20%20%20%20%20*%2Fstatic%20get%20properties()%7Breturn%7B%2F**%0A%20%20%20%20%20%20%20%20%20%20*%20Logo%20object%0A%20%20%20%20%20%20%20%20%20%20*%2Flogo%3AObject%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20*%20Items%20of%20menu%0A%20%20%20%20%20%20%20%20%20%20*%2Fitems%3AArray%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20*%20Items%20with%20type%20menu-bar%0A%20%20%20%20%20%20%20%20%20%20*%2F_menuBar%3AArray%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20*%20List%20of%20top-option%20bar%20menu%20coming%20from%20header%0A%20%20%20%20%20%20%20%20%20%20*%2Flinks%3AArray%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20*%20Menu%20index%20data%20coming%20from%20header%20component%0A%20%20%20%20%20%20%20%20%20%20*%2Fmenu%3AObject%7D%7D%2F**%0A%20%20%20%20%20%20*%20Observers%0A%20%20%20%20%20%20*%2Fstatic%20get%20observers()%7Breturn%5B%22_parseItems(items)%22%5D%7D%2F**%0A%20%20%20%20%20%20*%20Callback%20of%20lifecycle%20called%20when%20the%20component%20is%20appended%20into%20a%20document%0A%20%20%20%20%20%20*%2FconnectedCallback()%7Bsuper.connectedCallback()%3Bwindow.addEventListener(%22click%22%2Ce%3D%3Ethis._handleClick(e))%3BPolymer.RenderStatus.afterNextRender(this%2C()%3D%3E%7Bconst%20parsedRoute%3Dthis._parseLink(window.location.pathname)%3Bthis._toggleHighlightCurrentMenuItem(parsedRoute)%3Bthis._updateMenuMobileHeaderHeight()%7D)%3Bthis.addEventListener(%22change-submenu-position%22%2Ce%3D%3Ethis._onChangeSubmenuPosition(e))%3Bthis.addEventListener(%22close-submenu%22%2Ce%3D%3Ethis._toggleMenuItem(e))%7D%2F**%0A%20%20%20%20%20%20%20*%20Callback%20of%20lifecycle%20called%20when%20the%20component%20is%20removed%20from%20a%20document%0A%20%20%20%20%20%20%20*%2FdisconnectedCallback()%7Bsuper.disconnectedCallback()%3Bwindow.removeEventListener(%22click%22%2Ce%3D%3Ethis._handleClick(e))%3Bthis.removeEventListener(%22change-submenu-position%22%2Ce%3D%3Ethis._onChangeSubmenuPosition(e))%3Bthis.removeEventListener(%22close-submenu%22%2Ce%3D%3Ethis._toggleMenuItem(e))%7D%2F**%0A%20%20%20%20%20%20*%20Set%20items%20for%20the%20menu%20bar%20and%20for%20the%20mobile%20menu%0A%20%20%20%20%20%20*%20%40param%20%7BArray%7D%20e%20List%20of%20menu%20items%0A%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20*%2F_parseItems(items)%7Bconst%20menuBar%3D%5B%5D%3Bitems.forEach(item%3D%3E%7Bif(%22menu-bar%22%3D%3D%3Ditem.type)%7BmenuBar.push(item)%7D%7D)%3Bthis._menuBar%3DmenuBar%7D%2F**%0A%20%20%20%20%20%20%20*%20Method%20to%20get%20an%20item%20from%20an%20array.%20Used%20for%20IE%20compatibility%0A%20%20%20%20%20%20%20*%20%40param%20%7BArray%7D%20items%20List%20of%20items%0A%20%20%20%20%20%20%20*%20%40param%20%7BFunction%7D%20callback%20Function%20callback%20that%20is%20going%20to%20make%20the%20comparation%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20*%20%40returns%20%7BObject%7D%0A%20%20%20%20%20%20*%2F_find(items%2Ccallback)%7Blet%20item%3Dnull%3Bfor(let%20i%3D0%3Bi%3Citems.length%3Bi%2B%3D1)%7Bconst%20match%3Dcallback(items%5Bi%5D)%3Bif(match)%7Bitem%3Ditems%5Bi%5D%7D%7Dreturn%20item%7D%2F**%0A%20%20%20%20%20%20%20*%20Function%20to%20get%20header%20container%20height%20in%20mobile%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%20%40returns%20%7BNumber%7D%0A%20%20%20%20%20%20%20*%2F_getHeaderHeight()%7Bconst%20headerMenuHeight%3Dthis.shadowRoot.querySelector(%22.header-menu%22).offsetHeight%2CbtnContainer%3Dthis.shadowRoot.querySelector(%22.mobile-menu-btn-container%22).offsetHeight%3Breturn%20headerMenuHeight%2BbtnContainer%7D%2F**%0A%20%20%20%20%20%20%20*%20Function%20to%20update%20mobile%20header%20height%20custom%20property%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2F_updateMenuMobileHeaderHeight()%7Bthis.updateStyles(%7B%22--menu-header-mobile-container-height%22%3A%60%24%7Bthis._getHeaderHeight()%7Dpx%60%7D)%7D%2F**%0A%20%20%20%20%20%20%20*%20Computed%20class%20of%20button%0A%20%20%20%20%20%20*%20%40param%20%7BString%7D%20btn%20button%20primary%2Fsecondary%2Ftertiary%0A%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20*%20%40returns%20%7BString%7D%0A%20%20%20%20%20%20*%2F_getBtnBarClass(btn)%7Breturn%20btn%3F%60ing-button-%24%7Bbtn%7D%60%3A%22%22%7D%2F**%0A%20%20%20%20%20%20*%20Returns%20if%20menu%20item%20has%20options%0A%20%20%20%20%20%20*%20%40param%20%7BArray%7D%20options%20List%20of%20item%20options%0A%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20*%20%40returns%20%7BBoolean%7D%0A%20%20%20%20%20%20*%2F_hasSubmenu(options)%7Breturn%20options%26%26options.length%7D%2F**%0A%20%20%20%20%20%20%20*%20Get%20submenu%20item%20grid%20class%20depending%20of%20number%20of%20options%0A%20%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20submenuItem%20Submenu%20item%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%20%40returns%20%7BString%7D%20Grid%20class%0A%20%20%20%20%20%20%20*%2F_getSubmenuGrid(submenuItem)%7Blet%20productos%3Bif(submenuItem)%7Bproductos%3Dthis._find(submenuItem%2Citem%3D%3E%22productos%22%3D%3D%3Ditem.title.toLowerCase())%7Dreturn%20productos%26%263%3Cproductos.options.length%3F%22grid-8%22%3A%22grid-4%22%7D%2F**%0A%20%20%20%20%20%20%20*%20Method%20to%20update%20position%20of%20submenu%20when%20the%20event%20'change-submenu-position'%20is%20fired%0A%20%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20e%20Object%20event%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20*%2F_onChangeSubmenuPosition(e)%7Bconst%20ePath%3De.path%7C%7Ce.composedPath%26%26e.composedPath()%2CeventContainerItem%3Dthis._find(ePath%2Citem%3D%3Eitem%26%26item.className%26%26item.className.includes(%22grid%22)%26%26%22LI%22%3D%3D%3Ditem.tagName)%3Bif(eventContainerItem)%7BeventContainerItem.classList.add(e.detail.submenuPosClass)%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Check%20if%20there%20are%20more%20than%20one%20link%20in%20the%20top%20bar%20options%0A%20%20%20%20%20%20%20*%20%40param%20%7BArray%7D%20topOptions%20options%20of%20top%20bar%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%20%40returns%20%7BBoolean%7D%0A%20%20%20%20%20%20%20*%2F_areMany(topOptions)%7Bconst%20links%3DtopOptions.filter(item%3D%3Eitem.href)%3Breturn%201%3Clinks.length%7D%2F**%0A%20%20%20%20%20%20*%20Returns%20the%20link%20parsed%0A%20%20%20%20%20%20*%20%40param%20%7BString%7D%20element%20Element%20to%20parse%0A%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20*%20%40returns%20%7BString%7D%0A%20%20%20%20%20%20*%2F_parseLink(element)%7Breturn%22site%22%3D%3D%3Delement.split(%22%2F%22)%5B1%5D%3Felement.split(%22%2F%22)%5B2%5D%3Aelement.split(%22%2F%22)%5B1%5D%7D%2F**%0A%20%20%20%20%20%20*%20Check%20if%20two%20values%20are%20equal%0A%20%20%20%20%20%20*%20%40param%20%7BString%7D%20route%20Url%20from%20route%0A%20%20%20%20%20%20*%20%40param%20%7BString%7D%20dataLink%20Url%20from%20element%0A%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20*%20%40returns%20%7BBoolean%7D%0A%20%20%20%20%20%20*%2F_areRelated(route%2CdataLink)%7Breturn%20route%26%26dataLink.includes(route)%7D%2F**%0A%20%20%20%20%20%20*%20Returns%20the%20element%20with%20href%0A%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20container%20Element%20from%20menu%0A%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20*%20%40returns%20%7BObject%7D%0A%20%20%20%20%20%20*%2F_getElementWithHref(container)%7Breturn%20container.shadowRoot.querySelector(%22%5Bhref%5D%22)%7D%2F**%0A%20%20%20%20%20%20*%20Returns%20the%20link%20of%20container%20href%0A%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20container%20Element%20with%20the%20href%0A%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20*%20%40returns%20%7BString%7D%0A%20%20%20%20%20%20*%2F_getLink(container)%7Bconst%20elementWithLink%3Dthis._getElementWithHref(container)%2Clink%3DelementWithLink.getAttribute(%22href%22)%3Breturn%20link%7D%2F**%0A%20%20%20%20%20%20*%20Method%20to%20highlight%20the%20element%20adding%20a%20class%0A%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20currentContainer%20Current%20container%20of%20menu%20item%20with%20the%20href%0A%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20initialContainer%20Parent%20container%20of%20current%20container%20with%20the%20href.%20Optional%0A%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20*%2F_addClassForHighlight(currentContainer%2CinitialContainer)%7Bif(initialContainer)%7BinitialContainer.parentNode.classList.add(%22current%22)%7DcurrentContainer.parentNode.classList.add(%22current%22)%7D%2F**%0A%20%20%20%20%20%20*%20Method%20for%20removing%20the%20class%20to%20highlight%0A%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20currentContainer%20Current%20container%20of%20menu%20item%20with%20the%20href%0A%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20initialContainer%20Parent%20container%20of%20current%20container%20with%20the%20href.%20Optional%0A%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20*%2F_removeClassForHighlight(currentContainer%2CinitialContainer)%7Bif(initialContainer)%7BinitialContainer.parentNode.classList.remove(%22current%22)%7DcurrentContainer.parentNode.classList.remove(%22current%22)%7D%2F**%0A%20%20%20%20%20%20*%20Method%20to%20make%20the%20comparation%20with%20current%20route%20and%20to%20highlight%20that%20menu%20item%0A%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20currentContainer%20Current%20container%20of%20menu%20item%20with%20the%20href%0A%20%20%20%20%20%20*%20%40param%20%7BString%7D%20currentRoute%20Current%20route%0A%20%20%20%20%20%20*%20%40param%20%7BBoolean%7D%20menuItemIsActive%20True%20when%20there%20ir%20an%20element%20with%20the%20%22active%22%20class%0A%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20initialContainer%20Parent%20container%20of%20current%20container%20with%20the%20href.%20Optional%0A%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20*%2F_toggleMarkCurrentMenuItem(currentContainer%2CcurrentRoute%2CmenuItemIsActive%2CinitialContainer)%7Bif(this._getElementWithHref(currentContainer))%7Bif(this._areRelated(currentRoute%2Cthis._getLink(currentContainer))%26%26!menuItemIsActive)%7Bthis._addClassForHighlight(currentContainer%2CinitialContainer)%7Delse%20if(this._areRelated(currentRoute%2Cthis._getLink(currentContainer))%26%26menuItemIsActive)%7Bthis._removeClassForHighlight(currentContainer%2CinitialContainer)%7D%7D%7D%2F**%0A%20%20%20%20%20%20*%20Method%20to%20highlight%20the%20menu%20item%20that%20match%20with%20current%20route%20url%0A%20%20%20%20%20%20*%20%40param%20%7BString%7D%20parsedRoute%20Current%20route%0A%20%20%20%20%20%20*%20%40param%20%7BBoolean%7D%20menuItemIsActive%20True%20when%20there%20ir%20an%20element%20with%20the%20%22active%22%20class%0A%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20*%2F_toggleHighlightCurrentMenuItem(parsedRoute%2CmenuItemIsActive)%7Bconst%20menuItemsAnchors%3Dthis.shadowRoot.querySelectorAll(%22ing-uic-cms-anchor.menu-list-item%22)%3BmenuItemsAnchors.forEach(container%3D%3E%7Bthis._toggleMarkCurrentMenuItem(container%2CparsedRoute%2CmenuItemIsActive)%7D)%3Bconst%20menuItemsSubMenus%3Dthis.shadowRoot.querySelectorAll(%22ing-uic-cms-submenu%22)%3BmenuItemsSubMenus.forEach(container%3D%3E%7Bthis._toggleMarkCurrentMenuItem(container%2CparsedRoute%2CmenuItemIsActive)%3Bconst%20subMenuItems%3Dcontainer.shadowRoot.querySelectorAll(%22ing-uic-cms-submenu-item%22)%3BsubMenuItems.forEach(subMenuItem%3D%3E%7Bconst%20elementsWithAnchor%3DsubMenuItem.shadowRoot.querySelectorAll(%22ing-uic-cms-anchor%22)%3BelementsWithAnchor.forEach(elementWithAnchor%3D%3E%7Bthis._toggleMarkCurrentMenuItem(elementWithAnchor%2CparsedRoute%2CmenuItemIsActive%2Ccontainer)%7D)%7D)%7D)%7D%2F**%0A%20%20%20%20%20%20*%20Method%20to%20expand%20or%20hide%20menu%20items%0A%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20e%20Object%20event%0A%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20*%2F_toggleMenuItem(e)%7Bconst%20lastActive%3Dthis.shadowRoot.querySelector(%22li.active%22)%2ClastListItem%3DlastActive%3FlastActive.querySelector(%22.menu-list-item%22)%3Anull%2CisMobileSubmenuEvent%3De.detail%26%26e.detail.eventTarget%2CgetMobileListItem%3D()%3D%3EPolymer.dom(e.detail.eventTarget).node.parentNode.querySelector(%22.menu-list-item%22)%2CgetCurrentTargetNode%3D()%3D%3EPolymer.dom(e.currentTarget).node%2CcurrentListItem%3DisMobileSubmenuEvent%3FgetMobileListItem()%3AgetCurrentTargetNode()%2CcurrentItemContainer%3DcurrentListItem.parentNode%2CcurrentItemSubmenu%3DcurrentItemContainer.querySelector(%22ing-uic-cms-submenu%22).shadowRoot.querySelector(%22.submenu%22)%2Cmenu%3Dthis.shadowRoot.querySelector(%22.main-menu-container%22)%3Bif(lastActive)%7Bthis._desactiveLastActiveItem(lastActive%2ClastListItem)%7Dif(lastListItem!%3D%3DcurrentListItem)%7BcurrentItemContainer.classList.add(%22active%22)%3BcurrentListItem.setAttribute(%22aria-expanded%22%2C%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A)%3BcurrentListItem.querySelector(%22ing-uic-cms-menu-item%22).classList.add(%22active%22)%3BcurrentItemSubmenu.classList.remove(%22submenu-hide%22)%3BcurrentItemSubmenu.classList.add(%22active%22)%3Bmenu.classList.add(%22hide%22)%7Delse%7BcurrentItemContainer.classList.remove(%22active%22)%3BcurrentListItem.querySelector(%22ing-uic-cms-menu-item%22).classList.remove(%22active%22)%3BcurrentItemSubmenu.classList.add(%22submenu-hide%22)%3BcurrentItemSubmenu.classList.remove(%22active%22)%3BcurrentListItem.setAttribute(%22aria-expanded%22%2C%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A!1)%3Bmenu.classList.remove(%22hide%22)%7Dconst%20menuItemIsActive%3DcurrentItemContainer.className.includes(%22active%22)%3Bthis._toggleHighlightCurrentMenuItem(this._parseLink(window.location.pathname)%2CmenuItemIsActive)%3BPolymer.RenderStatus.afterNextRender(this%2C()%3D%3E%7Bthis._updateMenuMobileHeaderHeight()%7D)%7D%2F**%0A%20%20%20%20%20%20*%20Method%20to%20desactive%20last%20active%20item%20in%20submenu%0A%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20lastActive%20Object%20Last%20active%20container%0A%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20lastListItem%20Object%20Last%20active%20anchor%20%C3%B1ist%20item%0A%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20*%2F_desactiveLastActiveItem(lastActive%2ClastListItem)%7Bconst%20lastSubmenu%3DlastActive.querySelector(%22ing-uic-cms-submenu%22).shadowRoot.querySelector(%22.submenu%22)%3BlastActive.classList.remove(%22active%22)%3BlastActive.querySelector(%22ing-uic-cms-menu-item%22).classList.remove(%22active%22)%3BlastListItem.setAttribute(%22aria-expanded%22%2C!1)%3BlastSubmenu.classList.add(%22submenu-hide%22)%3BlastSubmenu.classList.remove(%22active%22)%7D%2F**%0A%20%20%20%20%20%20*%20Method%20to%20close%20submenu%0A%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20*%2F_closeSubmenu()%7Bthis._toggleHighlightCurrentMenuItem(this._parseLink(window.location.pathname))%3Bconst%20lastActive%3Dthis.shadowRoot.querySelector(%22li.active%22)%3Bif(lastActive)%7Bconst%20lastListItem%3DlastActive.querySelector(%22.menu-list-item%22)%3Bthis._desactiveLastActiveItem(lastActive%2ClastListItem)%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Send%20event%20to%20close%20the%20menu%0A%20%20%20%20%20%20%20%20%40param%20%7BObject%7D%20e%20Event%0A%20%20%20%20%20%20%20%20%40private%0A%20%20%20%20%20%20*%2F_closeMenu(e)%7Be.preventDefault()%3Bthis.dispatchEvent(new%20CustomEvent(%22close-menu%22%2C%7Bbubbles%3A!0%2Ccomposed%3A!0%2Cdetail%3A%7BmenuClosed%3A!0%7D%7D))%7D%2F**%0A%20%20%20%20%20%20*%20Method%20to%20handle%20event%20when%20you%20click%20anywhere%20on%20screen%0A%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20e%20Event%20object%0A%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20*%2F_handleClick(e)%7Bconst%20hiddenList%3Dthis.shadowRoot.querySelector(%22.hide%22)%2CePath%3De.path%7C%7Ce.composedPath%26%26e.composedPath()%2Citem%3Dthis._find(ePath%2Cel%3D%3Eel%3D%3D%3Dthis)%3Bif(!item%26%26hiddenList)%7Bthis._closeSubmenu()%7D%7D%2F**%0A%20%20%20%20%20%20*%20Detect%20navigate%20action%20on%20menu%20and%20send%20it%20to%20other%20component.%0A%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20e%20event%20object.%0A%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20*%2F_acceptCookies(e)%7Be.preventDefault()%3Bconst%20eventDetails%3D%7BmenuClicked%3A!0%7D%2CeventData%3D%7Bbubbles%3A!0%2Ccomposed%3A!0%2Cdetail%3AeventDetails%7D%3Bthis.dispatchEvent(new%20CustomEvent(%22custom-anchor-click%22%2CeventData))%7D%7Dwindow.customElements.define(IngUicCmsMenu.is%2CIngUicCmsMenu)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fing-uic-cms-header%2Fing-uic-cms-menu.html.js%0A | 13 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/core/node_modules/lit-element/lit-element.js | 2.7 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/core/mixins/automation.js | 4.5 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-table/src/IngTable.js | 1.2 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/webfiles/1661339944389/js/customElements-define-dedupe.js | 362 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
tags.tiqcdn.com/utag/ing/es-main/prod/utag.410.js?utv=ut4.49.202206220705 | 7.9 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/core/utils/isTagName.js | 65 B | 2023-03-08 | 2024-04-05 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/core/node_modules/lit-element/lib/decorators.js | 1.0 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/icon/IngIcon.js | 207 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,%2F**%0A%20%20%20%20%20*%20%60ing-uic-cms-menu-item%60%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40customElement%0A%20%20%20%20%20*%20%40polymer%0A%20%20%20%20%20*%20%40demo%20demo%2Findex.html%0A%20%20%20%20%20*%2Fclass%20IngUicCmsMenuItem%20extends%20Polymer.GestureEventListeners(Polymer.Element)%7B%2F**%0A%20%20%20%20%20%20*%20Component%20definition%0A%20%20%20%20%20%20*%2Fstatic%20get%20is()%7Breturn%22ing-uic-cms-menu-item%22%7D%2F**%0A%20%20%20%20%20%20*%20Properties%0A%20%20%20%20%20%20*%2Fstatic%20get%20properties()%7Breturn%7B%2F**%0A%20%20%20%20%20%20%20%20%20%20*%20Title%20of%20menu%20item%0A%20%20%20%20%20%20%20%20%20%20*%2Ftitle%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20*%20Property%20coming%20from%20menu%20that%20indicates%20if%20item%20has%20a%20submenu%0A%20%20%20%20%20%20%20%20%20%20*%2FhasSubmenu%3ABoolean%7D%7D%7Dwindow.customElements.define(IngUicCmsMenuItem.is%2CIngUicCmsMenuItem)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fing-uic-cms-header%2Fing-uic-cms-menu-item.html.js%0A | 692 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/core/styles/values/aligns.js | 77 B | 2023-03-08 | 2024-04-05 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/ajax/AjaxClass.js | 151 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@bundled-es-modules/axios/index.js | 55 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/overlays/src/OverlayController.js | 17 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7B'use%20strict'%3B%2F**%0A%20%20%20*%20Element%20mixin%20for%20recording%20dynamic%20associations%20between%20item%20paths%20in%20a%0A%20%20%20*%20master%20%60items%60%20array%20and%20a%20%60selected%60%20array%20such%20that%20path%20changes%20to%20the%0A%20%20%20*%20master%20array%20(at%20the%20host)%20element%20or%20elsewhere%20via%20data-binding)%20are%0A%20%20%20*%20correctly%20propagated%20to%20items%20in%20the%20selected%20array%20and%20vice-versa.%0A%20%20%20*%0A%20%20%20*%20The%20%60items%60%20property%20accepts%20an%20array%20of%20user%20data%2C%20and%20via%20the%0A%20%20%20*%20%60select(item)%60%20and%20%60deselect(item)%60%20API%2C%20updates%20the%20%60selected%60%20property%0A%20%20%20*%20which%20may%20be%20bound%20to%20other%20parts%20of%20the%20application%2C%20and%20any%20changes%20to%0A%20%20%20*%20sub-fields%20of%20%60selected%60%20item(s)%20will%20be%20kept%20in%20sync%20with%20items%20in%20the%0A%20%20%20*%20%60items%60%20array.%20%20When%20%60multi%60%20is%20false%2C%20%60selected%60%20is%20a%20property%0A%20%20%20*%20representing%20the%20last%20selected%20item.%20%20When%20%60multi%60%20is%20true%2C%20%60selected%60%0A%20%20%20*%20is%20an%20array%20of%20multiply%20selected%20items.%0A%20%20%20*%0A%20%20%20*%20%40polymer%0A%20%20%20*%20%40mixinFunction%0A%20%20%20*%20%40appliesMixin%20Polymer.ElementMixin%0A%20%20%20*%20%40memberof%20Polymer%0A%20%20%20*%20%40summary%20Element%20mixin%20for%20recording%20dynamic%20associations%20between%20item%20paths%20in%20a%0A%20%20%20*%20master%20%60items%60%20array%20and%20a%20%60selected%60%20array%0A%20%20%20*%2Flet%20ArraySelectorMixin%3DPolymer.dedupingMixin(superClass%3D%3E%7B%2F**%0A%20%20%20%20%20*%20%40constructor%0A%20%20%20%20%20*%20%40extends%20%7BsuperClass%7D%0A%20%20%20%20%20*%20%40implements%20%7BPolymer_ElementMixin%7D%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2Flet%20elementBase%3DPolymer.ElementMixin(superClass)%3B%2F**%0A%20%20%20%20%20*%20%40polymer%0A%20%20%20%20%20*%20%40mixinClass%0A%20%20%20%20%20*%20%40implements%20%7BPolymer_ArraySelectorMixin%7D%0A%20%20%20%20%20*%20%40unrestricted%0A%20%20%20%20%20*%2Fclass%20ArraySelectorMixin%20extends%20elementBase%7Bstatic%20get%20properties()%7Breturn%7B%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20An%20array%20containing%20items%20from%20which%20selection%20will%20be%20made.%0A%20%20%20%20%20%20%20%20%20%20%20*%2Fitems%3A%7Btype%3AArray%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20When%20%60true%60%2C%20multiple%20items%20may%20be%20selected%20at%20once%20(in%20this%20case%2C%0A%20%20%20%20%20%20%20%20%20%20%20*%20%60selected%60%20is%20an%20array%20of%20currently%20selected%20items).%20%20When%20%60false%60%2C%0A%20%20%20%20%20%20%20%20%20%20%20*%20only%20one%20item%20may%20be%20selected%20at%20a%20time.%0A%20%20%20%20%20%20%20%20%20%20%20*%2Fmulti%3A%7Btype%3ABoolean%2Cvalue%3A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A!1%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20When%20%60multi%60%20is%20true%2C%20this%20is%20an%20array%20that%20contains%20any%20selected.%0A%20%20%20%20%20%20%20%20%20%20%20*%20When%20%60multi%60%20is%20false%2C%20this%20is%20the%20currently%20selected%20item%2C%20or%20%60null%60%0A%20%20%20%20%20%20%20%20%20%20%20*%20if%20no%20item%20is%20selected.%0A%20%20%20%20%20%20%20%20%20%20%20*%20%40type%20%7B%3F(Object%7CArray%3C!Object%3E)%7D%0A%20%20%20%20%20%20%20%20%20%20%20*%2Fselected%3A%7Btype%3AObject%2Cnotify%3A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20When%20%60multi%60%20is%20false%2C%20this%20is%20the%20currently%20selected%20item%2C%20or%20%60null%60%0A%20%20%20%20%20%20%20%20%20%20%20*%20if%20no%20item%20is%20selected.%0A%20%20%20%20%20%20%20%20%20%20%20*%20%40type%20%7B%3FObject%7D%0A%20%20%20%20%20%20%20%20%20%20%20*%2FselectedItem%3A%7Btype%3AObject%2Cnotify%3A!0%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20When%20%60true%60%2C%20calling%20%60select%60%20on%20an%20item%20that%20is%20already%20selected%0A%20%20%20%20%20%20%20%20%20%20%20*%20will%20deselect%20the%20item.%0A%20%20%20%20%20%20%20%20%20%20%20*%2Ftoggle%3A%7Btype%3ABoolean%2Cvalue%3A!1%7D%7D%7Dstatic%20get%20observers()%7Breturn%5B%22__updateSelection(multi%2C%20items.*)%22%5D%7Dconstructor()%7Bsuper()%3Bthis.__lastItems%3Dnull%3Bthis.__lastMulti%3Dnull%3Bthis.__selectedMap%3Dnull%7D__updateSelection(multi%2CitemsInfo)%7Blet%20path%3DitemsInfo.path%3Bif(%22items%22%3D%3Dpath)%7B%2F%2F%20Case%201%20-%20items%20array%20changed%2C%20so%20diff%20against%20previous%20array%20and%0A%2F%2F%20deselect%20any%20removed%20items%20and%20adjust%20selected%20indices%0Alet%20newItems%3DitemsInfo.base%7C%7C%5B%5D%2ClastItems%3Dthis.__lastItems%2ClastMulti%3Dthis.__lastMulti%3Bif(multi!%3D%3DlastMulti)%7Bthis.clearSelection()%7Dif(lastItems)%7Blet%20splices%3DPolymer.ArraySplice.calculateSplices(newItems%2ClastItems)%3Bthis.__applySplices(splices)%7Dthis.__lastItems%3DnewItems%3Bthis.__lastMulti%3Dmulti%7Delse%20if(%22items.splices%22%3D%3DitemsInfo.path)%7B%2F%2F%20Case%202%20-%20got%20specific%20splice%20information%20describing%20the%20array%20mutation%3A%0A%2F%2F%20deselect%20any%20removed%20items%20and%20adjust%20selected%20indices%0Athis.__applySplices(itemsInfo.value.indexSplices)%7Delse%7B%2F%2F%20Case%203%20-%20an%20array%20element%20was%20changed%2C%20so%20deselect%20the%20previous%0A%2F%2F%20item%20for%20that%20index%20if%20it%20was%20previously%20selected%0Alet%20part%3Dpath.slice(%22items.%22.length)%2Cidx%3DparseInt(part%2C10)%3Bif(0%3Epart.indexOf(%22.%22)%26%26part%3D%3Didx)%7Bthis.__deselectChangedIdx(idx)%7D%7D%7D__applySplices(splices)%7Blet%20selected%3Dthis.__selectedMap%3B%2F%2F%20Adjust%20selected%20indices%20and%20mark%20removals%0Afor(let%20i%3D0%2Cs%3Bi%3Csplices.length%3Bi%2B%2B)%7Bs%3Dsplices%5Bi%5D%3Bselected.forEach((idx%2Citem)%3D%3E%7Bif(idx%3Cs.index)%7B%2F%2F%20no%20change%0A%7Delse%20if(idx%3E%3Ds.index%2Bs.removed.length)%7B%2F%2F%20adjust%20index%0Aselected.set(item%2Cidx%2Bs.addedCount-s.removed.length)%7Delse%7B%2F%2F%20remove%20index%0Aselected.set(item%2C-1)%7D%7D)%3Bfor(let%20j%3D0%2Cidx%3Bj%3Cs.addedCount%3Bj%2B%2B)%7Bidx%3Ds.index%2Bj%3Bif(selected.has(this.items%5Bidx%5D))%7Bselected.set(this.items%5Bidx%5D%2Cidx)%7D%7D%7D%2F%2F%20Update%20linked%20paths%0Athis.__updateLinks()%3B%2F%2F%20Remove%20selected%20items%20that%20were%20removed%20from%20the%20items%20array%0Alet%20sidx%3D0%3Bselected.forEach((idx%2Citem)%3D%3E%7Bif(0%3Eidx)%7Bif(this.multi)%7Bthis.splice(%22selected%22%2Csidx%2C1)%7Delse%7Bthis.selected%3Dthis.selectedItem%3Dnull%7Dselected.delete(item)%7Delse%7Bsidx%2B%2B%7D%7D)%7D__updateLinks()%7Bthis.__dataLinkedPaths%3D%7B%7D%3Bif(this.multi)%7Blet%20sidx%3D0%3Bthis.__selectedMap.forEach(idx%3D%3E%7Bif(0%3C%3Didx)%7Bthis.linkPaths(%22items.%22%2Bidx%2C%22selected.%22%2Bsidx%2B%2B)%7D%7D)%7Delse%7Bthis.__selectedMap.forEach(idx%3D%3E%7Bthis.linkPaths(%22selected%22%2C%22items.%22%2Bidx)%3Bthis.linkPaths(%22selectedItem%22%2C%22items.%22%2Bidx)%7D)%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Clears%20the%20selection%20state.%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2FclearSelection()%7B%2F%2F%20Unbind%20previous%20selection%0Athis.__dataLinkedPaths%3D%7B%7D%3B%2F%2F%20The%20selected%20map%20stores%203%20pieces%20of%20information%3A%0A%2F%2F%20key%3A%20items%20array%20object%0A%2F%2F%20value%3A%20items%20array%20index%0A%2F%2F%20order%3A%20selected%20array%20index%0Athis.__selectedMap%3Dnew%20Map%3B%2F%2F%20Initialize%20selection%0Athis.selected%3Dthis.multi%3F%5B%5D%3Anull%3Bthis.selectedItem%3Dnull%7D%2F**%0A%20%20%20%20%20%20%20*%20Returns%20whether%20the%20item%20is%20currently%20selected.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7B*%7D%20item%20Item%20from%20%60items%60%20array%20to%20test%0A%20%20%20%20%20%20%20*%20%40return%20%7Bboolean%7D%20Whether%20the%20item%20is%20selected%0A%20%20%20%20%20%20%20*%2FisSelected(item)%7Breturn%20this.__selectedMap.has(item)%7D%2F**%0A%20%20%20%20%20%20%20*%20Returns%20whether%20the%20item%20is%20currently%20selected.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7Bnumber%7D%20idx%20Index%20from%20%60items%60%20array%20to%20test%0A%20%20%20%20%20%20%20*%20%40return%20%7Bboolean%7D%20Whether%20the%20item%20is%20selected%0A%20%20%20%20%20%20%20*%2FisIndexSelected(idx)%7Breturn%20this.isSelected(this.items%5Bidx%5D)%7D__deselectChangedIdx(idx)%7Blet%20sidx%3Dthis.__selectedIndexForItemIndex(idx)%3Bif(0%3C%3Dsidx)%7Blet%20i%3D0%3Bthis.__selectedMap.forEach((idx%2Citem)%3D%3E%7Bif(sidx%3D%3Di%2B%2B)%7Bthis.deselect(item)%7D%7D)%7D%7D__selectedIndexForItemIndex(idx)%7Blet%20selected%3Dthis.__dataLinkedPaths%5B%22items.%22%2Bidx%5D%3Bif(selected)%7Breturn%20parseInt(selected.slice(%22selected.%22.length)%2C10)%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Deselects%20the%20given%20item%20if%20it%20is%20already%20selected.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7B*%7D%20item%20Item%20from%20%60items%60%20array%20to%20deselect%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2Fdeselect(item)%7Blet%20idx%3Dthis.__selectedMap.get(item)%3Bif(0%3C%3Didx)%7Bthis.__selectedMap.delete(item)%3Blet%20sidx%3Bif(this.multi)%7Bsidx%3Dthis.__selectedIndexForItemIndex(idx)%7Dthis.__updateLinks()%3Bif(this.multi)%7Bthis.splice(%22selected%22%2Csidx%2C1)%7Delse%7Bthis.selected%3Dthis.selectedItem%3Dnull%7D%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Deselects%20the%20given%20index%20if%20it%20is%20already%20selected.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7Bnumber%7D%20idx%20Index%20from%20%60items%60%20array%20to%20deselect%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2FdeselectIndex(idx)%7Bthis.deselect(this.items%5Bidx%5D)%7D%2F**%0A%20%20%20%20%20%20%20*%20Selects%20the%20given%20item.%20%20When%20%60toggle%60%20is%20true%2C%20this%20will%20automatically%0A%20%20%20%20%20%20%20*%20deselect%20the%20item%20if%20already%20selected.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7B*%7D%20item%20Item%20from%20%60items%60%20array%20to%20select%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2Fselect(item)%7Bthis.selectIndex(this.items.indexOf(item))%7D%2F**%0A%20%20%20%20%20%20%20*%20Selects%20the%20given%20index.%20%20When%20%60toggle%60%20is%20true%2C%20this%20will%20automatically%0A%20%20%20%20%20%20%20*%20deselect%20the%20item%20if%20already%20selected.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7Bnumber%7D%20idx%20Index%20from%20%60items%60%20array%20to%20select%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2FselectIndex(idx)%7Blet%20item%3Dthis.items%5Bidx%5D%3Bif(!this.isSelected(item))%7Bif(!this.multi)%7Bthis.__selectedMap.clear()%7Dthis.__selectedMap.set(item%2Cidx)%3Bthis.__updateLinks()%3Bif(this.multi)%7Bthis.push(%22selected%22%2Citem)%7Delse%7Bthis.selected%3Dthis.selectedItem%3Ditem%7D%7Delse%20if(this.toggle)%7Bthis.deselectIndex(idx)%7D%7D%7Dreturn%20ArraySelectorMixin%7D)%3B%2F%2F%20export%20mixin%0APolymer.ArraySelectorMixin%3DArraySelectorMixin%3B%2F**%0A%20%20%20*%20%40constructor%0A%20%20%20*%20%40extends%20%7BPolymer.Element%7D%0A%20%20%20*%20%40implements%20%7BPolymer_ArraySelectorMixin%7D%0A%20%20%20*%20%40private%0A%20%20%20*%2Flet%20baseArraySelector%3DArraySelectorMixin(Polymer.Element)%3B%2F**%0A%20%20%20*%20Element%20implementing%20the%20%60Polymer.ArraySelector%60%20mixin%2C%20which%20records%0A%20%20%20*%20dynamic%20associations%20between%20item%20paths%20in%20a%20master%20%60items%60%20array%20and%20a%0A%20%20%20*%20%60selected%60%20array%20such%20that%20path%20changes%20to%20the%20master%20array%20(at%20the%20host)%0A%20%20%20*%20element%20or%20elsewhere%20via%20data-binding)%20are%20correctly%20propagated%20to%20items%0A%20%20%20*%20in%20the%20selected%20array%20and%20vice-versa.%0A%20%20%20*%0A%20%20%20*%20The%20%60items%60%20property%20accepts%20an%20array%20of%20user%20data%2C%20and%20via%20the%0A%20%20%20*%20%60select(item)%60%20and%20%60deselect(item)%60%20API%2C%20updates%20the%20%60selected%60%20property%0A%20%20%20*%20which%20may%20be%20bound%20to%20other%20parts%20of%20the%20application%2C%20and%20any%20changes%20to%0A%20%20%20*%20sub-fields%20of%20%60selected%60%20item(s)%20will%20be%20kept%20in%20sync%20with%20items%20in%20the%0A%20%20%20*%20%60items%60%20array.%20%20When%20%60multi%60%20is%20false%2C%20%60selected%60%20is%20a%20property%0A%20%20%20*%20representing%20the%20last%20selected%20item.%20%20When%20%60multi%60%20is%20true%2C%20%60selected%60%0A%20%20%20*%20is%20an%20array%20of%20multiply%20selected%20items.%0A%20%20%20*%0A%20%20%20*%20Example%3A%0A%20%20%20*%0A%20%20%20*%20%60%60%60html%0A%20%20%20*%20%3Cdom-module%20id%3D%22employee-list%22%3E%0A%20%20%20*%0A%20%20%20*%20%20%20%3Ctemplate%3E%0A%20%20%20*%0A%20%20%20*%20%20%20%20%20%3Cdiv%3E%20Employee%20list%3A%20%3C%2Fdiv%3E%0A%20%20%20*%20%20%20%20%20%3Cdom-repeat%20id%3D%22employeeList%22%20items%3D%22%7B%7Bemployees%7D%7D%22%3E%0A%20%20%20*%20%20%20%20%20%20%20%3Ctemplate%3E%0A%20%20%20*%20%20%20%20%20%20%20%20%20%3Cdiv%3EFirst%20name%3A%20%3Cspan%3E%7B%7Bitem.first%7D%7D%3C%2Fspan%3E%3C%2Fdiv%3E%0A%20%20%20*%20%20%20%20%20%20%20%20%20%20%20%3Cdiv%3ELast%20name%3A%20%3Cspan%3E%7B%7Bitem.last%7D%7D%3C%2Fspan%3E%3C%2Fdiv%3E%0A%20%20%20*%20%20%20%20%20%20%20%20%20%20%20%3Cbutton%20on-click%3D%22toggleSelection%22%3ESelect%3C%2Fbutton%3E%0A%20%20%20*%20%20%20%20%20%20%20%3C%2Ftemplate%3E%0A%20%20%20*%20%20%20%20%20%3C%2Fdom-repeat%3E%0A%20%20%20*%0A%20%20%20*%20%20%20%20%20%3Carray-selector%20id%3D%22selector%22%20items%3D%22%7B%7Bemployees%7D%7D%22%20selected%3D%22%7B%7Bselected%7D%7D%22%20multi%20toggle%3E%3C%2Farray-selector%3E%0A%20%20%20*%0A%20%20%20*%20%20%20%20%20%3Cdiv%3E%20Selected%20employees%3A%20%3C%2Fdiv%3E%0A%20%20%20*%20%20%20%20%20%3Cdom-repeat%20items%3D%22%7B%7Bselected%7D%7D%22%3E%0A%20%20%20*%20%20%20%20%20%20%20%3Ctemplate%3E%0A%20%20%20*%20%20%20%20%20%20%20%20%20%3Cdiv%3EFirst%20name%3A%20%3Cspan%3E%7B%7Bitem.first%7D%7D%3C%2Fspan%3E%3C%2Fdiv%3E%0A%20%20%20*%20%20%20%20%20%20%20%20%20%3Cdiv%3ELast%20name%3A%20%3Cspan%3E%7B%7Bitem.last%7D%7D%3C%2Fspan%3E%3C%2Fdiv%3E%0A%20%20%20*%20%20%20%20%20%20%20%3C%2Ftemplate%3E%0A%20%20%20*%20%20%20%20%20%3C%2Fdom-repeat%3E%0A%20%20%20*%0A%20%20%20*%20%20%20%3C%2Ftemplate%3E%0A%20%20%20*%0A%20%20%20*%20%3C%2Fdom-module%3E%0A%20%20%20*%20%60%60%60%0A%20%20%20*%0A%20%20%20*%20%60%60%60js%0A%20%20%20*class%20EmployeeList%20extends%20Polymer.Element%20%7B%0A%20%20%20*%20%20static%20get%20is()%20%7B%20return%20'employee-list'%3B%20%7D%0A%20%20%20*%20%20static%20get%20properties()%20%7B%0A%20%20%20*%20%20%20%20return%20%7B%0A%20%20%20*%20%20%20%20%20%20employees%3A%20%7B%0A%20%20%20*%20%20%20%20%20%20%20%20value()%20%7B%0A%20%20%20*%20%20%20%20%20%20%20%20%20%20return%20%5B%0A%20%20%20*%20%20%20%20%20%20%20%20%20%20%20%20%7Bfirst%3A%20'Bob'%2C%20last%3A%20'Smith'%7D%2C%0A%20%20%20*%20%20%20%20%20%20%20%20%20%20%20%20%7Bfirst%3A%20'Sally'%2C%20last%3A%20'Johnson'%7D%2C%0A%20%20%20*%20%20%20%20%20%20%20%20%20%20%20%20...%0A%20%20%20*%20%20%20%20%20%20%20%20%20%20%5D%3B%0A%20%20%20*%20%20%20%20%20%20%20%20%7D%0A%20%20%20*%20%20%20%20%20%20%7D%0A%20%20%20*%20%20%20%20%7D%3B%0A%20%20%20*%20%20%7D%0A%20%20%20*%20%20toggleSelection(e)%20%7B%0A%20%20%20*%20%20%20%20let%20item%20%3D%20this.%24.employeeList.itemForElement(e.target)%3B%0A%20%20%20*%20%20%20%20this.%24.selector.select(item)%3B%0A%20%20%20*%20%20%7D%0A%20%20%20*%7D%0A%20%20%20*%20%60%60%60%0A%20%20%20*%0A%20%20%20*%20%40polymer%0A%20%20%20*%20%40customElement%0A%20%20%20*%20%40extends%20%7BbaseArraySelector%7D%0A%20%20%20*%20%40appliesMixin%20Polymer.ArraySelectorMixin%0A%20%20%20*%20%40memberof%20Polymer%0A%20%20%20*%20%40summary%20Custom%20element%20that%20links%20paths%20between%20an%20input%20%60items%60%20array%20and%0A%20%20%20*%20%20%20an%20output%20%60selected%60%20item%20or%20array%20based%20on%20calls%20to%20its%20selection%20API.%0A%20%20%20*%2Fclass%20ArraySelector%20extends%20baseArraySelector%7B%2F%2F%20Not%20needed%20to%20find%20template%3B%20can%20be%20removed%20once%20the%20analyzer%0A%2F%2F%20can%20find%20the%20tag%20name%20from%20customElements.define%20call%0Astatic%20get%20is()%7Breturn%22array-selector%22%7D%7DcustomElements.define(ArraySelector.is%2CArraySelector)%3B%2F**%20%40const%20*%2FPolymer.ArraySelector%3DArraySelector%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fpolymer%2Flib%2Felements%2Farray-selector.html.js%0A | 11 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web-es/packages/illustration/IllustrationManager.js | 747 B | 2023-03-08 | 2024-04-05 | |
Pretty
Loading... | ||||
www.ing.es/webfiles/1661339944389/js/hippoCommon.js | 928 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.googletagmanager.com/gtag/js?id=DC-9412232&l=dataLayer&cx=c | 113 kB | 2023-03-08 | 2023-03-08 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/_core2/hybrid-scoped-elements/Lit1HybridScopedElementsMixin.js | 430 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/directives/async-append.js | 1.8 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/directives/async-replace.js | 1.7 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/snackbar/IngSnackbarElement.js | 406 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/icon/oj-icons/outline/arrows/arrow_circle_up_outline.svg.js | 358 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7B'use%20strict'%3Bconst%20p%3DElement.prototype%2CnormalizedMatchesSelector%3Dp.matches%7C%7Cp.matchesSelector%7C%7Cp.mozMatchesSelector%7C%7Cp.msMatchesSelector%7C%7Cp.oMatchesSelector%7C%7Cp.webkitMatchesSelector%2CmatchesSelector%3Dfunction(node%2Cselector)%7Breturn%20normalizedMatchesSelector.call(node%2Cselector)%7D%3B%2F**%0A%20%20%20*%20%40const%20%7Bfunction(this%3ANode%2C%20string)%3A%20boolean%7D%0A%20%20%20*%2F%20%2F**%0A%20%20%20*%20Node%20API%20wrapper%20class%20returned%20from%20%60Polymer.dom.(target)%60%20when%0A%20%20%20*%20%60target%60%20is%20a%20%60Node%60.%0A%20%20%20*%0A%20%20%20*%20%40memberof%20Polymer%0A%20%20%20*%2Fclass%20DomApi%7B%2F**%0A%20%20%20%20%20*%20%40param%20%7BNode%7D%20node%20Node%20for%20which%20to%20create%20a%20Polymer.dom%20helper%20object.%0A%20%20%20%20%20*%2Fconstructor(node)%7Bthis.node%3Dnode%7D%2F**%0A%20%20%20%20%20*%20Returns%20an%20instance%20of%20%60Polymer.FlattenedNodesObserver%60%20that%0A%20%20%20%20%20*%20listens%20for%20node%20changes%20on%20this%20element.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40param%20%7Bfunction(!Element%2C%20%7B%20target%3A%20!Element%2C%20addedNodes%3A%20!Array%3C!Element%3E%2C%20removedNodes%3A%20!Array%3C!Element%3E%20%7D)%3Avoid%7D%20callback%20Called%20when%20direct%20or%20distributed%20children%0A%20%20%20%20%20*%20%20%20of%20this%20element%20changes%0A%20%20%20%20%20*%20%40return%20%7B!Polymer.FlattenedNodesObserver%7D%20Observer%20instance%0A%20%20%20%20%20*%2FobserveNodes(callback)%7Breturn%20new%20Polymer.FlattenedNodesObserver(this.node%2Ccallback)%7D%2F**%0A%20%20%20%20%20*%20Disconnects%20an%20observer%20previously%20created%20via%20%60observeNodes%60%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40param%20%7B!Polymer.FlattenedNodesObserver%7D%20observerHandle%20Observer%20instance%0A%20%20%20%20%20*%20%20%20to%20disconnect.%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%2FunobserveNodes(observerHandle)%7BobserverHandle.disconnect()%7D%2F**%0A%20%20%20%20%20*%20Provided%20as%20a%20backwards-compatible%20API%20only.%20%20This%20method%20does%20nothing.%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%2FnotifyObserver()%7B%7D%2F**%0A%20%20%20%20%20*%20Returns%20true%20if%20the%20provided%20node%20is%20contained%20with%20this%20element's%0A%20%20%20%20%20*%20light-DOM%20children%20or%20shadow%20root%2C%20including%20any%20nested%20shadow%20roots%0A%20%20%20%20%20*%20of%20children%20therein.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40param%20%7BNode%7D%20node%20Node%20to%20test%0A%20%20%20%20%20*%20%40return%20%7Bboolean%7D%20Returns%20true%20if%20the%20given%20%60node%60%20is%20contained%20within%0A%20%20%20%20%20*%20%20%20this%20element's%20light%20or%20shadow%20DOM.%0A%20%20%20%20%20*%2FdeepContains(node)%7Bif(this.node.contains(node))%7Breturn(%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A)%7Dlet%20n%3Dnode%2Cdoc%3Dnode.ownerDocument%3B%2F%2F%20walk%20from%20node%20to%20%60this%60%20or%20%60document%60%0Awhile(n%26%26n!%3D%3Ddoc%26%26n!%3D%3Dthis.node)%7B%2F%2F%20use%20logical%20parentnode%2C%20or%20native%20ShadowRoot%20host%0An%3Dn.parentNode%7C%7Cn.host%7Dreturn%20n%3D%3D%3Dthis.node%7D%2F**%0A%20%20%20%20%20*%20Returns%20the%20root%20node%20of%20this%20node.%20%20Equivalent%20to%20%60getRoodNode()%60.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40return%20%7BNode%7D%20Top%20most%20element%20in%20the%20dom%20tree%20in%20which%20the%20node%0A%20%20%20%20%20*%20exists.%20If%20the%20node%20is%20connected%20to%20a%20document%20this%20is%20either%20a%0A%20%20%20%20%20*%20shadowRoot%20or%20the%20document%3B%20otherwise%2C%20it%20may%20be%20the%20node%0A%20%20%20%20%20*%20itself%20or%20a%20node%20or%20document%20fragment%20containing%20it.%0A%20%20%20%20%20*%2FgetOwnerRoot()%7Breturn%20this.node.getRootNode()%7D%2F**%0A%20%20%20%20%20*%20For%20slot%20elements%2C%20returns%20the%20nodes%20assigned%20to%20the%20slot%3B%20otherwise%0A%20%20%20%20%20*%20an%20empty%20array.%20It%20is%20equivalent%20to%20%60%3Cslot%3E.addignedNodes(%7Bflatten%3Atrue%7D)%60.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40return%20%7B!Array%3C!Node%3E%7D%20Array%20of%20assigned%20nodes%0A%20%20%20%20%20*%2FgetDistributedNodes()%7Breturn%22slot%22%3D%3D%3Dthis.node.localName%3Fthis.node.assignedNodes(%7Bflatten%3A!0%7D)%3A%5B%5D%7D%2F**%0A%20%20%20%20%20*%20Returns%20an%20array%20of%20all%20slots%20this%20element%20was%20distributed%20to.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40return%20%7B!Array%3C!HTMLSlotElement%3E%7D%20Description%0A%20%20%20%20%20*%2FgetDestinationInsertionPoints()%7Blet%20ip%24%3D%5B%5D%2Cn%3Dthis.node.assignedSlot%3Bwhile(n)%7Bip%24.push(n)%3Bn%3Dn.assignedSlot%7Dreturn%20ip%24%7D%2F**%0A%20%20%20%20%20*%20Calls%20%60importNode%60%20on%20the%20%60ownerDocument%60%20for%20this%20node.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40param%20%7B!Node%7D%20node%20Node%20to%20import%0A%20%20%20%20%20*%20%40param%20%7Bboolean%7D%20deep%20True%20if%20the%20node%20should%20be%20cloned%20deeply%20during%0A%20%20%20%20%20*%20%20%20import%0A%20%20%20%20%20*%20%40return%20%7BNode%7D%20Clone%20of%20given%20node%20imported%20to%20this%20owner%20document%0A%20%20%20%20%20*%2FimportNode(node%2Cdeep)%7Blet%20doc%3Dthis.node%20instanceof%20Document%3Fthis.node%3Athis.node.ownerDocument%3Breturn%20doc.importNode(node%2Cdeep)%7D%2F**%0A%20%20%20%20%20*%20%40return%20%7B!Array%3C!Node%3E%7D%20Returns%20a%20flattened%20list%20of%20all%20child%20nodes%20and%0A%20%20%20%20%20*%20nodes%20assigned%20to%20child%20slots.%0A%20%20%20%20%20*%2FgetEffectiveChildNodes()%7Breturn%20Polymer.FlattenedNodesObserver.getFlattenedNodes(this.node)%7D%2F**%0A%20%20%20%20%20*%20Returns%20a%20filtered%20list%20of%20flattened%20child%20elements%20for%20this%20element%20based%0A%20%20%20%20%20*%20on%20the%20given%20selector.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40param%20%7Bstring%7D%20selector%20Selector%20to%20filter%20nodes%20against%0A%20%20%20%20%20*%20%40return%20%7B!Array%3C!HTMLElement%3E%7D%20List%20of%20flattened%20child%20elements%0A%20%20%20%20%20*%2FqueryDistributedElements(selector)%7Blet%20c%24%3Dthis.getEffectiveChildNodes()%2Clist%3D%5B%5D%3Bfor(let%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%26matchesSelector(c%2Cselector))%7Blist.push(c)%7D%7Dreturn%20list%7D%2F**%0A%20%20%20%20%20*%20For%20shadow%20roots%2C%20returns%20the%20currently%20focused%20element%20within%20this%0A%20%20%20%20%20*%20shadow%20root.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40return%20%7BNode%7Cundefined%7D%20Currently%20focused%20element%0A%20%20%20%20%20*%2Fget%20activeElement()%7Blet%20node%3Dthis.node%3Breturn%20node._activeElement!%3D%3D%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0Avoid%200%3Fnode._activeElement%3Anode.activeElement%7D%7Dfunction%20forwardMethods(proto%2Cmethods)%7Bfor(let%20i%3D0%2Cmethod%3Bi%3Cmethods.length%3Bi%2B%2B)%7Bmethod%3Dmethods%5Bi%5D%3B%2F*%20eslint-disable%20valid-jsdoc%20*%2Fproto%5Bmethod%5D%3D%2F**%20%40this%20%7BDomApi%7D%20*%2Ffunction()%7Breturn%20this.node%5Bmethod%5D.apply(this.node%2Carguments)%7D%3B%2F*%20eslint-enable%20*%2F%7D%7Dfunction%20forwardReadOnlyProperties(proto%2Cproperties)%7Bfor(let%20i%3D0%2Cname%3Bi%3Cproperties.length%3Bi%2B%2B)%7Bname%3Dproperties%5Bi%5D%3BObject.defineProperty(proto%2Cname%2C%7Bget%3Afunction()%7Bconst%20domApi%3D%2F**%20%40type%20%7BDomApi%7D%20*%2Fthis%3Breturn%20domApi.node%5Bname%5D%7D%2Cconfigurable%3A!0%7D)%7D%7Dfunction%20forwardProperties(proto%2Cproperties)%7Bfor(let%20i%3D0%2Cname%3Bi%3Cproperties.length%3Bi%2B%2B)%7Bname%3Dproperties%5Bi%5D%3BObject.defineProperty(proto%2Cname%2C%7Bget%3Afunction()%7Bconst%20domApi%3D%2F**%20%40type%20%7BDomApi%7D%20*%2Fthis%3Breturn%20domApi.node%5Bname%5D%7D%2Cset%3Afunction(value)%7B%2F**%20%40type%20%7BDomApi%7D%20*%2Fthis.node%5Bname%5D%3Dvalue%7D%2Cconfigurable%3A!0%7D)%7D%7DforwardMethods(DomApi.prototype%2C%5B%22cloneNode%22%2C%22appendChild%22%2C%22insertBefore%22%2C%22removeChild%22%2C%22replaceChild%22%2C%22setAttribute%22%2C%22removeAttribute%22%2C%22querySelector%22%2C%22querySelectorAll%22%5D)%3BforwardReadOnlyProperties(DomApi.prototype%2C%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%2C%22childNodes%22%2C%22children%22%2C%22classList%22%5D)%3BforwardProperties(DomApi.prototype%2C%5B%22textContent%22%2C%22innerHTML%22%5D)%3B%2F**%0A%20%20%20*%20Event%20API%20wrapper%20class%20returned%20from%20%60Polymer.dom.(target)%60%20when%0A%20%20%20*%20%60target%60%20is%20an%20%60Event%60.%0A%20%20%20*%2Fclass%20EventApi%7Bconstructor(event)%7Bthis.event%3Devent%7D%2F**%0A%20%20%20%20%20*%20Returns%20the%20first%20node%20on%20the%20%60composedPath%60%20of%20this%20event.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40return%20%7B!EventTarget%7D%20The%20node%20this%20event%20was%20dispatched%20to%0A%20%20%20%20%20*%2Fget%20rootTarget()%7Breturn%20this.event.composedPath()%5B0%5D%7D%2F**%0A%20%20%20%20%20*%20Returns%20the%20local%20(re-targeted)%20target%20for%20this%20event.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40return%20%7B!EventTarget%7D%20The%20local%20(re-targeted)%20target%20for%20this%20event.%0A%20%20%20%20%20*%2Fget%20localTarget()%7Breturn%20this.event.target%7D%2F**%0A%20%20%20%20%20*%20Returns%20the%20%60composedPath%60%20for%20this%20event.%0A%20%20%20%20%20*%20%40return%20%7B!Array%3C!EventTarget%3E%7D%20The%20nodes%20this%20event%20propagated%20through%0A%20%20%20%20%20*%2Fget%20path()%7Breturn%20this.event.composedPath()%7D%7DPolymer.DomApi%3DDomApi%3B%2F**%0A%20%20%20*%20%40function%0A%20%20%20*%20%40param%20%7Bboolean%3D%7D%20deep%0A%20%20%20*%20%40return%20%7B!Node%7D%0A%20%20%20*%2FPolymer.DomApi.prototype.cloneNode%3B%2F**%0A%20%20%20*%20%40function%0A%20%20%20*%20%40param%20%7B!Node%7D%20node%0A%20%20%20*%20%40return%20%7B!Node%7D%0A%20%20%20*%2FPolymer.DomApi.prototype.appendChild%3B%2F**%0A%20%20%20*%20%40function%0A%20%20%20*%20%40param%20%7B!Node%7D%20newChild%0A%20%20%20*%20%40param%20%7BNode%7D%20refChild%0A%20%20%20*%20%40return%20%7B!Node%7D%0A%20%20%20*%2FPolymer.DomApi.prototype.insertBefore%3B%2F**%0A%20%20%20*%20%40function%0A%20%20%20*%20%40param%20%7B!Node%7D%20node%0A%20%20%20*%20%40return%20%7B!Node%7D%0A%20%20%20*%2FPolymer.DomApi.prototype.removeChild%3B%2F**%0A%20%20%20*%20%40function%0A%20%20%20*%20%40param%20%7B!Node%7D%20oldChild%0A%20%20%20*%20%40param%20%7B!Node%7D%20newChild%0A%20%20%20*%20%40return%20%7B!Node%7D%0A%20%20%20*%2FPolymer.DomApi.prototype.replaceChild%3B%2F**%0A%20%20%20*%20%40function%0A%20%20%20*%20%40param%20%7Bstring%7D%20name%0A%20%20%20*%20%40param%20%7Bstring%7D%20value%0A%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20*%2FPolymer.DomApi.prototype.setAttribute%3B%2F**%0A%20%20%20*%20%40function%0A%20%20%20*%20%40param%20%7Bstring%7D%20name%0A%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20*%2FPolymer.DomApi.prototype.removeAttribute%3B%2F**%0A%20%20%20*%20%40function%0A%20%20%20*%20%40param%20%7Bstring%7D%20selector%0A%20%20%20*%20%40return%20%7B%3FElement%7D%0A%20%20%20*%2FPolymer.DomApi.prototype.querySelector%3B%2F**%0A%20%20%20*%20%40function%0A%20%20%20*%20%40param%20%7Bstring%7D%20selector%0A%20%20%20*%20%40return%20%7B!NodeList%3C!Element%3E%7D%0A%20%20%20*%2FPolymer.DomApi.prototype.querySelectorAll%3B%2F**%0A%20%20%20*%20Legacy%20DOM%20and%20Event%20manipulation%20API%20wrapper%20factory%20used%20to%20abstract%0A%20%20%20*%20differences%20between%20native%20Shadow%20DOM%20and%20%22Shady%20DOM%22%20when%20polyfilling%20on%0A%20%20%20*%20older%20browsers.%0A%20%20%20*%0A%20%20%20*%20Note%20that%20in%20Polymer%202.x%20use%20of%20%60Polymer.dom%60%20is%20no%20longer%20required%20and%0A%20%20%20*%20in%20the%20majority%20of%20cases%20simply%20facades%20directly%20to%20the%20standard%20native%0A%20%20%20*%20API.%0A%20%20%20*%0A%20%20%20*%20%40namespace%0A%20%20%20*%20%40summary%20Legacy%20DOM%20and%20Event%20manipulation%20API%20wrapper%20factory%20used%20to%0A%20%20%20*%20abstract%20differences%20between%20native%20Shadow%20DOM%20and%20%22Shady%20DOM.%22%0A%20%20%20*%20%40memberof%20Polymer%0A%20%20%20*%20%40param%20%7B(Node%7CEvent)%3D%7D%20obj%20Node%20or%20event%20to%20operate%20on%0A%20%20%20*%20%40return%20%7B!DomApi%7C!EventApi%7D%20Wrapper%20providing%20either%20node%20API%20or%20event%20API%0A%20%20%20*%2FPolymer.dom%3Dfunction(obj)%7Bobj%3Dobj%7C%7Cdocument%3Bif(!obj.__domApi)%7Blet%20helper%3Bif(obj%20instanceof%20Event)%7Bhelper%3Dnew%20EventApi(obj)%7Delse%7Bhelper%3Dnew%20DomApi(obj)%7Dobj.__domApi%3Dhelper%7Dreturn%20obj.__domApi%7D%3BPolymer.dom.matchesSelector%3DmatchesSelector%3B%2F**%0A%20%20%20*%20Forces%20several%20classes%20of%20asynchronously%20queued%20tasks%20to%20flush%3A%0A%20%20%20*%20-%20Debouncers%20added%20via%20%60Polymer.enqueueDebouncer%60%0A%20%20%20*%20-%20ShadyDOM%20distribution%0A%20%20%20*%0A%20%20%20*%20This%20method%20facades%20to%20%60Polymer.flush%60.%0A%20%20%20*%0A%20%20%20*%20%40memberof%20Polymer.dom%0A%20%20%20*%2FPolymer.dom.flush%3DPolymer.flush%3B%2F**%0A%20%20%20*%20Adds%20a%20%60Polymer.Debouncer%60%20to%20a%20list%20of%20globally%20flushable%20tasks.%0A%20%20%20*%0A%20%20%20*%20This%20method%20facades%20to%20%60Polymer.enqueueDebouncer%60.%0A%20%20%20*%0A%20%20%20*%20%40memberof%20Polymer.dom%0A%20%20%20*%20%40param%20%7B!Polymer.Debouncer%7D%20debouncer%20Debouncer%20to%20enqueue%0A%20%20%20*%2FPolymer.dom.addDebouncer%3DPolymer.enqueueDebouncer%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fpolymer%2Flib%2Flegacy%2Fpolymer.dom.html.js%0A | 9.9 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/hippotealium/utag.js | 177 kB | 2023-03-08 | 2023-03-08 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lodash-es/now.js | 72 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/lib/template-instance.js | 1.6 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/directives/repeat.js | 2.2 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/directive.js | 2.4 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-text/src/IngText.js | 432 B | 2023-03-08 | 2023-06-29 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/lib/modify-template.js | 1.6 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/lib/shady-render.js | 2.9 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/style/components/list.js | 4.4 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@open-wc/scoped-elements/src/createUniqueTag.js | 317 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/es6/bower_components/shadycss/custom-style-interface.min.js | 3.1 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/style/components/list-unstyled.js | 190 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/core/src/SlotMixin.js | 648 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/overlays/src/utils/get-focusable-elements.js | 812 B | 2023-03-08 | 2024-04-05 | |
Pretty
Loading... | ||||
unknown | 0 B | 2023-03-07 | 2024-04-19 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-video/src/IngVideo.styles.js | 1.4 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/validate-messages/src/loadDefaultFeedbackMessages.js | 2.8 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/form-core/src/validate/validators/NumberValidators.js | 489 B | 2023-03-08 | 2024-04-05 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/form-core/src/validate/Validator.js | 1.5 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-title/ing-title.js | 207 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-image/src/scrollHandler.js | 257 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/lib/render.js | 885 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,%2F%2F%20bc%0APolymer.Base%3DPolymer.LegacyElementMixin(HTMLElement).prototype%3B%2F%2F%20NOTE%3A%20this%20is%20here%20for%20modulizer%20to%20export%20%60html%60%20for%20the%20module%20version%20of%20this%20file%0APolymer.html%3DPolymer.html%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fpolymer%2Fpolymer.html.js%0A | 266 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,%2F**%0A%20%20%20%20%20*%20Element.prototype.matches%20polyfill%0A%20%20%20%20%20*%2Fif(Element%26%26!Element.prototype.matches)%7Bconst%20proto%3DElement.prototype%3Bproto.matches%3Dproto.mozMatchesSelector%7C%7Cproto.msMatchesSelector%7C%7Cproto.oMatchesSelector%7C%7Cproto.webkitMatchesSelector%7D%2F**%0A%20%20%20%20%20*%20Utility%20method%20to%20find%20items%20inside%20a%20slot%0A%20%20%20%20%20*%2Fif(!window.getSlotItemsBySelector)%7Bwindow.getSlotItemsBySelector%3D(slot%2Cselector)%3D%3E%7Bconst%20nodes%3Dslot.assignedNodes()%3Breturn%20nodes.filter(item%3D%3E%7Bif(item.matches)%7Breturn%20item.matches(selector)%7Dreturn(%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A!1)%7D)%7D%7Dconst%20getPage%3D(array%2Csize%2Cnumber)%3D%3Earray.slice(number*size%2C(number%2B1)*size)%2CaddToClassList%3D(el%2C...a)%3D%3E%7Bel.classList.add(...a)%7D%2CremoveFromClassList%3D(el%2C...a)%3D%3E%7Bel.classList.remove(...a)%7D%2Chide%3Del%3D%3E%7BaddToClassList(el%2C%22hidden%22)%3BremoveFromClassList(el%2C%22first%22%2C%22last%22)%7D%2Cshow%3Del%3D%3E%7BremoveFromClassList(el%2C%22hidden%22%2C%22first%22%2C%22last%22)%7D%2Cselect%3Del%3D%3E%7Bel.setAttribute(%22aria-current%22%2C%22page%22)%3BaddToClassList(el%2C%22selected%22)%7D%2Cunselect%3Del%3D%3E%7Bel.removeAttribute(%22aria-current%22)%3BremoveFromClassList(el%2C%22selected%22)%7D%2CnodeListToArray%3Dlist%3D%3E%7Bconst%20res%3D%5B%5D%3Blist.forEach(node%3D%3E%7Bres.push(node)%7D)%3Breturn%20res%7D%3B%2F**%0A%20%20%20%20%20*%20%60ing-uic-cms-result-pager%60%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40customElement%0A%20%20%20%20%20*%20%40polymer%0A%20%20%20%20%20*%20%40demo%20demo%2Findex.html%0A%20%20%20%20%20*%2Fclass%20IngUicCmsResultPager%20extends%20Polymer.GestureEventListeners(Polymer.I18n(Polymer.Element))%7B%2F**%0A%20%20%20%20%20%20%20*%20Component%20definition%0A%20%20%20%20%20%20%20*%2Fstatic%20get%20is()%7Breturn%22ing-uic-cms-result-pager%22%7D%2F**%0A%20%20%20%20%20%20%20*%20Observers%0A%20%20%20%20%20%20%20*%2Fstatic%20get%20observers()%7Breturn%5B%22itemsChange(items)%22%5D%7D%2F**%0A%20%20%20%20%20%20%20*%20Properties%0A%20%20%20%20%20%20%20*%2Fstatic%20get%20properties()%7Breturn%7B%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20the%20number%20of%20results%20to%20show%20in%20a%20page%0A%20%20%20%20%20%20%20%20%20%20%20*%2FpageSize%3ANumber%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20current%20page%0A%20%20%20%20%20%20%20%20%20%20%20*%2Fpage%3A%7Btype%3ANumber%2Cvalue%3A0%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20querySelector%20of%20an%20item%0A%20%20%20%20%20%20%20%20%20%20%20*%2Fselector%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20items%20to%20paginate%0A%20%20%20%20%20%20%20%20%20%20%20*%2Fitems%3AArray%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20Array%20of%20page%20numbers%0A%20%20%20%20%20%20%20%20%20%20%20*%2F_pages%3A%7Btype%3AArray%2Cvalue%3A%5B%5D%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20pager%20label%0A%20%20%20%20%20%20%20%20%20%20%20*%2FgoToPage%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20pager%20label%0A%20%20%20%20%20%20%20%20%20%20%20*%2FprevPage%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20pager%20label%0A%20%20%20%20%20%20%20%20%20%20%20*%2FnextPage%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20pager%20label%0A%20%20%20%20%20%20%20%20%20%20%20*%2Fnav%3AString%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Lifecycle%20method%0A%20%20%20%20%20%20%20*%2Fready()%7Bsuper.ready()%3Bconst%7Bslot%7D%3Dthis.%24%3Bthis.addEventListener(%22update%22%2C()%3D%3E%7Bthis.page%3D-1%3BsetTimeout(()%3D%3E%7Bconst%5Blist%5D%3Dwindow.getSlotItemsBySelector(slot%2C%22ul%22)%3Bthis.items%3DnodeListToArray(list.querySelectorAll(this.selector))%3Bthis.page%3D0%3Bthis.update()%7D)%7D)%3Bthis.loadLabels(%22nav%22%2C%22goToPage%22%2C%22prevPage%22%2C%22nextPage%22)%7D%2F**%0A%20%20%20%20%20%20%20*%20label%20calculation%0A%20%20%20%20%20%20%20*%20%40param%20%7BString%7D%20_page%20label%20template%0A%20%20%20%20%20%20%20*%20%40param%20%7BNumber%7D%20num%20page%20number%0A%20%20%20%20%20%20%20*%2FgetPageLabel(_page%2Cnum)%7B%2F%2F%20num%20is%20replaced%20with%20'%23'%20to%20avoid%0A%2F%2F%20replacing%20'goToPage'%20property%20every%20time%20'updateLabel'%20is%20called%0Areturn(this.updateLabel(%22goToPage%22%2C%22num%22%2C%22%23%22)%7C%7C%22%22).replace(%22%23%22%2Cnum)%7D%2F**%0A%20%20%20%20%20%20%20*%20get%20page%20items%0A%20%20%20%20%20%20%20*%20%40param%20%7BNumber%7D%20page%20index%20of%20page%0A%20%20%20%20%20%20%20*%20%40return%20array%20of%20items%0A%20%20%20%20%20%20%20*%2FgetPage(page)%7Breturn%20getPage(this.items%7C%7C%5B%5D%2Cthis.pageSize%2Cpage)%7D%2F**%0A%20%20%20%20%20%20%20*%20jumps%20to%20the%20indicated%20page%0A%20%20%20%20%20%20%20*%20%40param%20%7BNumber%7D%20page%20number%20of%20page%0A%20%20%20%20%20%20%20*%2FjumpToPage(page)%7Bif(0%3C%3Dpage)%7Bconst%20pgBegin%3DMath.max(page-2%2C0)%2CpgEnd%3DMath.min(page%2B2%2Cthis._pages.length-1)%3Blet%20showed%3D%5B...Array(1%2BpgEnd-pgBegin)%5D.map((v%2Ci)%3D%3EpgBegin%2Bi%2B1)%3Bif(1%3D%3D%3Dshowed.length)%7Bshowed%3D%5B%5D%7Dthis._showedPages%3Dshowed%3BsetTimeout(()%3D%3E%7Bthis.updateArrows(page)%3Bthis.updatePageNumbers(page)%3Bthis.updateSelectedItem(page)%3Bthis.dispatchPageChangeEvent(page)%3Bwindow.scrollTo(0%2C0)%7D%2C0)%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20full%20update%0A%20%20%20%20%20%20%20*%2Fupdate()%7Bthis.jumpToPage(this.page)%7D%2F**%0A%20%20%20%20%20%20%20*%20selected%20item%20update%0A%20%20%20%20%20%20%20*%2FupdateSelectedItem(page)%7Bconst%20pages%3D%5B%5D%3Bthis.%24.pager.querySelectorAll(%22li%22).forEach(item%3D%3E%7Bif(%22left%22!%3D%3Ditem.id%26%26%22right%22!%3D%3Ditem.id)%7Bpages.push(item)%7D%7D)%3Bpages.forEach(li%3D%3E%7Bconst%20item%3Dli.getElementsByTagName(%22a%22)%5B0%5D%3Bunselect(item)%3Bconst%20actualPageText%3DparseInt(item.getAttribute(%22page%22)%2C10)%3Bif(actualPageText%3D%3D%3Dpage%2B1)%7Bselect(item)%7D%7D)%7D%2F**%0A%20%20%20%20%20%20%20*%20page%20numbers%20update%0A%20%20%20%20%20%20%20*%2FupdatePageNumbers(page)%7Bthis._pages.forEach((v%2Ci)%3D%3E%7Bconst%20itemList%3Dthis.getPage(i)%2Cdisplay%3Di!%3D%3Dpage%3Fhide%3Ashow%3Bif(0%3CitemList.length)%7BitemList.forEach(item%3D%3Edisplay(item))%3BaddToClassList(itemList%5B0%5D%2C%22first%22)%3BaddToClassList(itemList%5BitemList.length-1%5D%2C%22last%22)%7D%7D)%7D%2F**%0A%20%20%20%20%20%20%20*%20pager%20arrows%20update%0A%20%20%20%20%20%20%20*%2FupdateArrows(page)%7Bconst%20displayLeftArrow%3D1%3Epage%3Fhide%3Ashow%2CdisplayRightArrow%3Dpage%3E%3Dthis._pages.length-1%3Fhide%3Ashow%3BdisplayLeftArrow(this.%24.left)%3BdisplayRightArrow(this.%24.right)%7D%2F**%0A%20%20%20%20%20%20%20*%20page%20change%20event%20dispatch%0A%20%20%20%20%20%20%20*%2FdispatchPageChangeEvent(page)%7Bconst%20detail%3D%7Btotal%3A(this.items%7C%7C%5B%5D).length%2CcurrentPage%3Apage%2Cresults%3Athis.getPage(page).length%7D%3Bthis.dispatchEvent(new%20CustomEvent(%22page-change%22%2C%7Bbubbles%3A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2Ccomposed%3A!0%2Cdetail%7D))%7D%2F**%0A%20%20%20%20%20%20%20*%20item%20property%20observer%0A%20%20%20%20%20%20%20*%2FitemsChange(items)%7Bif(this.pageSize)%7Bthis._pages%3D%5B...Array(Math.ceil(items.length%2Fthis.pageSize))%5D.map((v%2Ci)%3D%3Ei%2B1)%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20page%20tap%20event%20handler%0A%20%20%20%20%20%20%20*%2FhandlePage(ev)%7Bconst%20page%3DparseInt(ev.target.getAttribute(%22page%22)%2C10)%3Bthis.page%3Dpage-1%3Bthis.update()%7D%2F**%0A%20%20%20%20%20%20%20*%20left%20arrow%20tap%20event%20handler%0A%20%20%20%20%20%20%20*%2FhandleLeft()%7Bthis.page-%3D1%3Bif(0%3Ethis.page)%7Bthis.page%3D0%7Dthis.update()%7D%2F**%0A%20%20%20%20%20%20%20*%20right%20arrow%20tap%20event%20handler%0A%20%20%20%20%20%20%20*%2FhandleRight()%7Bthis.page%2B%3D1%3Bif(this.page%3Ethis._pages.length-1)%7Bthis.page%3Dthis._pages.length-1%7Dthis.update()%7D%7Dwindow.customElements.define(IngUicCmsResultPager.is%2CIngUicCmsResultPager)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fing-uic-cms-result-list%2Fing-uic-cms-result-pager.html.js%0A | 6.0 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,Polymer(%7Bis%3A%22iron-overlay-backdrop%22%2Cproperties%3A%7B%2F**%0A%20%20%20%20%20%20%20*%20Returns%20true%20if%20the%20backdrop%20is%20opened.%0A%20%20%20%20%20%20%20*%2Fopened%3A%7BreflectToAttribute%3A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2Ctype%3ABoolean%2Cvalue%3A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A!1%2Cobserver%3A%22_openedChanged%22%7D%7D%2Clisteners%3A%7Btransitionend%3A%22_onTransitionend%22%7D%2Ccreated%3Afunction()%7B%2F%2F%20Used%20to%20cancel%20previous%20requestAnimationFrame%20calls%20when%20opened%20changes.%0Athis.__openedRaf%3Dnull%7D%2Cattached%3Afunction()%7Bthis.opened%26%26this._openedChanged(this.opened)%7D%2C%2F**%0A%20%20%20%20%20*%20Appends%20the%20backdrop%20to%20document%20body%20if%20needed.%0A%20%20%20%20%20*%2Fprepare%3Afunction()%7Bif(this.opened%26%26!this.parentNode)%7BPolymer.dom(document.body).appendChild(this)%7D%7D%2C%2F**%0A%20%20%20%20%20*%20Shows%20the%20backdrop.%0A%20%20%20%20%20*%2Fopen%3Afunction()%7Bthis.opened%3D!0%7D%2C%2F**%0A%20%20%20%20%20*%20Hides%20the%20backdrop.%0A%20%20%20%20%20*%2Fclose%3Afunction()%7Bthis.opened%3D!1%7D%2C%2F**%0A%20%20%20%20%20*%20Removes%20the%20backdrop%20from%20document%20body%20if%20needed.%0A%20%20%20%20%20*%2Fcomplete%3Afunction()%7Bif(!this.opened%26%26this.parentNode%3D%3D%3Ddocument.body)%7BPolymer.dom(this.parentNode).removeChild(this)%7D%7D%2C_onTransitionend%3Afunction(event)%7Bif(event%26%26event.target%3D%3D%3Dthis)%7Bthis.complete()%7D%7D%2C%2F**%0A%20%20%20%20%20*%20%40param%20%7Bboolean%7D%20opened%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2F_openedChanged%3Afunction(opened)%7Bif(opened)%7B%2F%2F%20Auto-attach.%0Athis.prepare()%7Delse%7B%2F%2F%20Animation%20might%20be%20disabled%20via%20the%20mixin%20or%20opacity%20custom%20property.%0A%2F%2F%20If%20it%20is%20disabled%20in%20other%20ways%2C%20it's%20up%20to%20the%20user%20to%20call%20complete.%0Avar%20cs%3Dwindow.getComputedStyle(this)%3Bif(%220s%22%3D%3D%3Dcs.transitionDuration%7C%7C0%3D%3Dcs.opacity)%7Bthis.complete()%7D%7Dif(!this.isAttached)%7Breturn%7D%2F%2F%20Always%20cancel%20previous%20requestAnimationFrame.%0Aif(this.__openedRaf)%7Bwindow.cancelAnimationFrame(this.__openedRaf)%3Bthis.__openedRaf%3Dnull%7D%2F%2F%20Force%20relayout%20to%20ensure%20proper%20transitions.%0Athis.scrollTop%3Dthis.scrollTop%3Bthis.__openedRaf%3Dwindow.requestAnimationFrame(function()%7Bthis.__openedRaf%3Dnull%3Bthis.toggleClass(%22opened%22%2Cthis.opened)%7D.bind(this))%7D%7D)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Firon-overlay-behavior%2Firon-overlay-backdrop.html.js%0A | 2.4 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/core/utils/setupApp.js | 254 B | 2023-03-08 | 2023-06-29 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/core/utils/parseNumberToIngFormat.js | 92 B | 2023-03-08 | 2023-06-29 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/icon/registerDefaultIconsets.js | 9.2 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lodash-es/isObjectLike.js | 66 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/icon/oj-icons/outline/arrows/chevron_down_outline.svg.js | 208 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7B'use%20strict'%3Bconst%20lifecycleProps%3D%7Battached%3A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2Cdetached%3A!0%2Cready%3A!0%2Ccreated%3A!0%2CbeforeRegister%3A!0%2Cregistered%3A!0%2CattributeChanged%3A!0%2Clisteners%3A!0%2ChostAttributes%3A!0%7D%2CexcludeOnInfo%3D%7Battached%3A!0%2Cdetached%3A!0%2Cready%3A!0%2Ccreated%3A!0%2CbeforeRegister%3A!0%2Cregistered%3A!0%2CattributeChanged%3A!0%2Cbehaviors%3A!0%2C_noAccessors%3A!0%7D%2CexcludeOnBehaviors%3DObject.assign(%7Blisteners%3A!0%2ChostAttributes%3A!0%2Cproperties%3A!0%2Cobservers%3A!0%7D%2CexcludeOnInfo)%3Bfunction%20copyProperties(source%2Ctarget%2CexcludeProps)%7Bconst%20noAccessors%3Dsource._noAccessors%3Bfor(let%20p%20in%20source)%7Bif(!(p%20in%20excludeProps))%7Bif(noAccessors)%7Btarget%5Bp%5D%3Dsource%5Bp%5D%7Delse%7Blet%20pd%3DObject.getOwnPropertyDescriptor(source%2Cp)%3Bif(pd)%7B%2F%2F%20ensure%20property%20is%20configurable%20so%20that%20a%20later%20behavior%20can%0A%2F%2F%20re-configure%20it.%0Apd.configurable%3D!0%3BObject.defineProperty(target%2Cp%2Cpd)%7D%7D%7D%7D%7D%2F**%0A%20%20%20%20%20*%20Applies%20a%20%22legacy%22%20behavior%20or%20array%20of%20behaviors%20to%20the%20provided%20class.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20Note%3A%20this%20method%20will%20automatically%20also%20apply%20the%20%60Polymer.LegacyElementMixin%60%0A%20%20%20%20%20*%20to%20ensure%20that%20any%20legacy%20behaviors%20can%20rely%20on%20legacy%20Polymer%20API%20on%0A%20%20%20%20%20*%20the%20underlying%20element.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40template%20T%0A%20%20%20%20%20*%20%40param%20%7B!Object%7C!Array%3C!Object%3E%7D%20behaviors%20Behavior%20object%20or%20array%20of%20behaviors.%0A%20%20%20%20%20*%20%40param%20%7Bfunction(new%3AT)%7D%20klass%20Element%20class.%0A%20%20%20%20%20*%20%40return%20%7Bfunction(new%3AT)%7D%20Returns%20a%20new%20Element%20class%20extended%20by%20the%0A%20%20%20%20%20*%20passed%20in%20%60behaviors%60%20and%20also%20by%20%60Polymer.LegacyElementMixin%60.%0A%20%20%20%20%20*%20%40memberof%20Polymer%0A%20%20%20%20%20*%20%40suppress%20%7BinvalidCasts%2C%20checkTypes%7D%0A%20%20%20%20%20*%2Ffunction%20mixinBehaviors(behaviors%2Cklass)%7Breturn%20GenerateClassFromInfo(%7B%7D%2CPolymer.LegacyElementMixin(klass)%2Cbehaviors)%7D%2F%2F%20NOTE%3A%0A%2F%2F%201.x%0A%2F%2F%20Behaviors%20were%20mixed%20in%20*in%20reverse%20order*%20and%20de-duped%20on%20the%20fly.%0A%2F%2F%20The%20rule%20was%20that%20behavior%20properties%20were%20copied%20onto%20the%20element%0A%2F%2F%20prototype%20if%20and%20only%20if%20the%20property%20did%20not%20already%20exist.%0A%2F%2F%20Given%3A%20Polymer%7B%20behaviors%3A%20%5BA%2C%20B%2C%20C%2C%20A%2C%20B%5D%7D%2C%20property%20copy%20order%20was%3A%0A%2F%2F%20(1)%2C%20B%2C%20(2)%2C%20A%2C%20(3)%20C.%20This%20means%20prototype%20properties%20win%20over%0A%2F%2F%20B%20properties%20win%20over%20A%20win%20over%20C.%20This%20mirrors%20what%20would%20happen%0A%2F%2F%20with%20inheritance%20if%20element%20extended%20B%20extended%20A%20extended%20C.%0A%2F%2F%0A%2F%2F%20Again%20given%2C%20Polymer%7B%20behaviors%3A%20%5BA%2C%20B%2C%20C%2C%20A%2C%20B%5D%7D%2C%20the%20resulting%0A%2F%2F%20%60behaviors%60%20array%20was%20%5BC%2C%20A%2C%20B%5D.%0A%2F%2F%20Behavior%20lifecycle%20methods%20were%20called%20in%20behavior%20array%20order%0A%2F%2F%20followed%20by%20the%20element%2C%20e.g.%20(1)%20C.created%2C%20(2)%20A.created%2C%0A%2F%2F%20(3)%20B.created%2C%20(4)%20element.created.%20There%20was%20no%20support%20for%0A%2F%2F%20super%2C%20and%20%22super-behavior%22%20methods%20were%20callable%20only%20by%20name).%0A%2F%2F%0A%2F%2F%202.x%0A%2F%2F%20Behaviors%20are%20made%20into%20proper%20mixins%20which%20live%20in%20the%0A%2F%2F%20element's%20prototype%20chain.%20Behaviors%20are%20placed%20in%20the%20element%20prototype%0A%2F%2F%20eldest%20to%20youngest%20and%20de-duped%20youngest%20to%20oldest%3A%0A%2F%2F%20So%2C%20first%20%5BA%2C%20B%2C%20C%2C%20A%2C%20B%5D%20becomes%20%5BC%2C%20A%2C%20B%5D%20then%2C%0A%2F%2F%20the%20element%20prototype%20becomes%20(oldest)%20(1)%20Polymer.Element%2C%20(2)%20class(C)%2C%0A%2F%2F%20(3)%20class(A)%2C%20(4)%20class(B)%2C%20(5)%20class(Polymer(%7B...%7D)).%0A%2F%2F%20Result%3A%0A%2F%2F%20This%20means%20element%20properties%20win%20over%20B%20properties%20win%20over%20A%20win%0A%2F%2F%20over%20C.%20(same%20as%201.x)%0A%2F%2F%20If%20lifecycle%20is%20called%20(super%20then%20me)%2C%20order%20is%0A%2F%2F%20(1)%20C.created%2C%20(2)%20A.created%2C%20(3)%20B.created%2C%20(4)%20element.created%0A%2F%2F%20(again%20same%20as%201.x)%0Afunction%20applyBehaviors(proto%2Cbehaviors%2Clifecycle)%7Bfor(let%20i%3D0%3Bi%3Cbehaviors.length%3Bi%2B%2B)%7BapplyInfo(proto%2Cbehaviors%5Bi%5D%2Clifecycle%2CexcludeOnBehaviors)%7D%7Dfunction%20applyInfo(proto%2Cinfo%2Clifecycle%2CexcludeProps)%7BcopyProperties(info%2Cproto%2CexcludeProps)%3Bfor(let%20p%20in%20lifecycleProps)%7Bif(info%5Bp%5D)%7Blifecycle%5Bp%5D%3Dlifecycle%5Bp%5D%7C%7C%5B%5D%3Blifecycle%5Bp%5D.push(info%5Bp%5D)%7D%7D%7D%2F**%0A%20%20%20%20%20*%20%40param%20%7BArray%7D%20behaviors%20List%20of%20behaviors%20to%20flatten.%0A%20%20%20%20%20*%20%40param%20%7BArray%3D%7D%20list%20Target%20list%20to%20flatten%20behaviors%20into.%0A%20%20%20%20%20*%20%40param%20%7BArray%3D%7D%20exclude%20List%20of%20behaviors%20to%20exclude%20from%20the%20list.%0A%20%20%20%20%20*%20%40return%20%7B!Array%7D%20Returns%20the%20list%20of%20flattened%20behaviors.%0A%20%20%20%20%20*%2Ffunction%20flattenBehaviors(behaviors%2Clist%2Cexclude)%7Blist%3Dlist%7C%7C%5B%5D%3Bfor(let%20i%3Dbehaviors.length-1%2Cb%3B0%3C%3Di%3Bi--)%7Bb%3Dbehaviors%5Bi%5D%3Bif(b)%7Bif(Array.isArray(b))%7BflattenBehaviors(b%2Clist)%7Delse%7B%2F%2F%20dedup%0Aif(0%3Elist.indexOf(b)%26%26(!exclude%7C%7C0%3Eexclude.indexOf(b)))%7Blist.unshift(b)%7D%7D%7Delse%7Bconsole.warn(%22behavior%20is%20null%2C%20check%20for%20missing%20or%20404%20import%22)%7D%7Dreturn%20list%7D%2F*%20Note%20about%20construction%20and%20extension%20of%20legacy%20classes.%0A%20%20%20%20%20%20%5BChanged%20in%20Q4%202018%20to%20optimize%20performance.%5D%0A%0A%20%20%20%20%20%20When%20calling%20%60Polymer%60%20or%20%60mixinBehaviors%60%2C%20the%20generated%20class%20below%20is%0A%20%20%20%20%20%20made.%20The%20list%20of%20behaviors%20was%20previously%20made%20into%20one%20generated%20class%20per%0A%20%20%20%20%20%20behavior%2C%20but%20this%20is%20no%20longer%20the%20case%20as%20behaviors%20are%20now%20called%0A%20%20%20%20%20%20manually.%20Note%2C%20there%20may%20*still*%20be%20multiple%20generated%20classes%20in%20the%0A%20%20%20%20%20%20element's%20prototype%20chain%20if%20extension%20is%20used%20with%20%60mixinBehaviors%60.%0A%0A%20%20%20%20%20%20The%20generated%20class%20is%20directly%20tied%20to%20the%20info%20object%20and%20behaviors%0A%20%20%20%20%20%20used%20to%20create%20it.%20That%20list%20of%20behaviors%20is%20filtered%20so%20it's%20only%20the%0A%20%20%20%20%20%20behaviors%20not%20active%20on%20the%20superclass.%20In%20order%20to%20call%20through%20to%20the%0A%20%20%20%20%20%20entire%20list%20of%20lifecycle%20methods%2C%20it's%20important%20to%20call%20%60super%60.%0A%0A%20%20%20%20%20%20The%20element's%20%60properties%60%20and%20%60observers%60%20are%20controlled%20via%20the%20finalization%0A%20%20%20%20%20%20mechanism%20provided%20by%20%60PropertiesMixin%60.%20%60Properties%60%20and%20%60observers%60%20are%0A%20%20%20%20%20%20collected%20by%20manually%20traversing%20the%20prototype%20chain%20and%20merging.%0A%0A%20%20%20%20%20%20To%20limit%20changes%2C%20the%20%60_registered%60%20method%20is%20called%20via%20%60_initializeProperties%60%0A%20%20%20%20%20%20and%20not%20%60_finalizeClass%60.%0A%20%20%20%20*%2F%20%2F**%0A%20%20%20%20%20*%20%40param%20%7B!PolymerInit%7D%20info%20Polymer%20info%20object%0A%20%20%20%20%20*%20%40param%20%7Bfunction(new%3AHTMLElement)%7D%20Base%20base%20class%20to%20extend%20with%20info%20object%0A%20%20%20%20%20*%20%40param%20%7BObject%7D%20behaviors%20behaviors%20to%20copy%20into%20the%20element%0A%20%20%20%20%20*%20%40return%20%7Bfunction(new%3AHTMLElement)%7D%20Generated%20class%0A%20%20%20%20%20*%20%40suppress%20%7BcheckTypes%7D%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2Ffunction%20GenerateClassFromInfo(info%2CBase%2Cbehaviors)%7B%2F%2F%20manages%20behavior%20and%20lifecycle%20processing%20(filled%20in%20after%20class%20definition)%0Alet%20behaviorList%3Bconst%20lifecycle%3D%7B%7D%3B%2F**%20%40private%20*%2Fclass%20PolymerGenerated%20extends%20Base%7B%2F%2F%20explicitly%20not%20calling%20super._finalizeClass%0Astatic%20_finalizeClass()%7B%2F%2F%20if%20calling%20via%20a%20subclass%20that%20hasn't%20been%20generated%2C%20pass%20through%20to%20super%0Aif(!this.hasOwnProperty(window.JSCompiler_renameProperty(%22generatedFrom%22%2Cthis)))%7Bsuper._finalizeClass()%7Delse%7B%2F%2F%20interleave%20properties%20and%20observers%20per%20behavior%20and%20%60info%60%0Aif(behaviorList)%7Bfor(let%20i%3D0%2Cb%3Bi%3CbehaviorList.length%3Bi%2B%2B)%7Bb%3DbehaviorList%5Bi%5D%3Bif(b.properties)%7Bthis.createProperties(b.properties)%7Dif(b.observers)%7Bthis.createObservers(b.observers%2Cb.properties)%7D%7D%7Dif(info.properties)%7Bthis.createProperties(info.properties)%7Dif(info.observers)%7Bthis.createObservers(info.observers%2Cinfo.properties)%7D%2F%2F%20make%20sure%20to%20prepare%20the%20element%20template%0Athis._prepareTemplate()%7D%7Dstatic%20get%20properties()%7Bconst%20properties%3D%7B%7D%3Bif(behaviorList)%7Bfor(let%20i%3D0%3Bi%3CbehaviorList.length%3Bi%2B%2B)%7BObject.assign(properties%2CbehaviorList%5Bi%5D.properties)%7D%7DObject.assign(properties%2Cinfo.properties)%3Breturn%20properties%7Dstatic%20get%20observers()%7Blet%20observers%3D%5B%5D%3Bif(behaviorList)%7Bfor(let%20i%3D0%2Cb%3Bi%3CbehaviorList.length%3Bi%2B%2B)%7Bb%3DbehaviorList%5Bi%5D%3Bif(b.observers)%7Bobservers%3Dobservers.concat(b.observers)%7D%7D%7Dif(info.observers)%7Bobservers%3Dobservers.concat(info.observers)%7Dreturn%20observers%7D%2F**%0A%20%20%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20%20%20*%2Fcreated()%7Bsuper.created()%3Bconst%20list%3Dlifecycle.created%3Bif(list)%7Bfor(let%20i%3D0%3Bi%3Clist.length%3Bi%2B%2B)%7Blist%5Bi%5D.call(this)%7D%7D%7D%2F**%0A%20%20%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20%20%20*%2F_registered()%7B%2F*%20NOTE%3A%20%60beforeRegister%60%20is%20called%20here%20for%20bc%2C%20but%20the%20behavior%0A%20%20%20%20%20%20%20%20%20%20%20%20is%20different%20than%20in%201.x.%20In%201.0%2C%20the%20method%20was%20called%20*after*%0A%20%20%20%20%20%20%20%20%20%20%20%20mixing%20prototypes%20together%20but%20*before*%20processing%20of%20meta-objects.%0A%20%20%20%20%20%20%20%20%20%20%20%20However%2C%20dynamic%20effects%20can%20still%20be%20set%20here%20and%20can%20be%20done%20either%0A%20%20%20%20%20%20%20%20%20%20%20%20in%20%60beforeRegister%60%20or%20%60registered%60.%20It%20is%20no%20longer%20possible%20to%20set%0A%20%20%20%20%20%20%20%20%20%20%20%20%60is%60%20in%20%60beforeRegister%60%20as%20you%20could%20in%201.x.%0A%20%20%20%20%20%20%20%20%20%20*%2F%20%2F%2F%20only%20proceed%20if%20the%20generated%20class'%20prototype%20has%20not%20been%20registered.%0Aconst%20generatedProto%3DPolymerGenerated.prototype%3Bif(!generatedProto.hasOwnProperty(%22__hasRegisterFinished%22))%7BgeneratedProto.__hasRegisterFinished%3D!0%3B%2F%2F%20ensure%20superclass%20is%20registered%20first.%0Asuper._registered()%3B%2F%2F%20copy%20properties%20onto%20the%20generated%20class%20lazily%20if%20we're%20optimizing%2C%0Aif(Polymer.legacyOptimizations)%7BcopyPropertiesToProto(generatedProto)%7D%2F%2F%20make%20sure%20legacy%20lifecycle%20is%20called%20on%20the%20*element*'s%20prototype%0A%2F%2F%20and%20not%20the%20generated%20class%20prototype%3B%20if%20the%20element%20has%20been%0A%2F%2F%20extended%2C%20these%20are%20*not*%20the%20same.%0Aconst%20proto%3DObject.getPrototypeOf(this)%3Blet%20list%3Dlifecycle.beforeRegister%3Bif(list)%7Bfor(let%20i%3D0%3Bi%3Clist.length%3Bi%2B%2B)%7Blist%5Bi%5D.call(proto)%7D%7Dlist%3Dlifecycle.registered%3Bif(list)%7Bfor(let%20i%3D0%3Bi%3Clist.length%3Bi%2B%2B)%7Blist%5Bi%5D.call(proto)%7D%7D%7D%7D%2F**%0A%20%20%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20%20%20*%2F_applyListeners()%7Bsuper._applyListeners()%3Bconst%20list%3Dlifecycle.listeners%3Bif(list)%7Bfor(let%20i%3D0%3Bi%3Clist.length%3Bi%2B%2B)%7Bconst%20listeners%3Dlist%5Bi%5D%3Bif(listeners)%7Bfor(let%20l%20in%20listeners)%7Bthis._addMethodEventListenerToNode(this%2Cl%2Clisteners%5Bl%5D)%7D%7D%7D%7D%7D%2F%2F%20note%3A%20exception%20to%20%22super%20then%20me%22%20rule%3B%0A%2F%2F%20do%20work%20before%20calling%20super%20so%20that%20super%20attributes%0A%2F%2F%20only%20apply%20if%20not%20already%20set.%0A%2F**%0A%20%20%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20%20%20*%2F_ensureAttributes()%7Bconst%20list%3Dlifecycle.hostAttributes%3Bif(list)%7Bfor(let%20i%3Dlist.length-1%3B0%3C%3Di%3Bi--)%7Bconst%20hostAttributes%3Dlist%5Bi%5D%3Bfor(let%20a%20in%20hostAttributes)%7Bthis._ensureAttribute(a%2ChostAttributes%5Ba%5D)%7D%7D%7Dsuper._ensureAttributes()%7D%2F**%0A%20%20%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20%20%20*%2Fready()%7Bsuper.ready()%3Blet%20list%3Dlifecycle.ready%3Bif(list)%7Bfor(let%20i%3D0%3Bi%3Clist.length%3Bi%2B%2B)%7Blist%5Bi%5D.call(this)%7D%7D%7D%2F**%0A%20%20%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20%20%20*%2Fattached()%7Bsuper.attached()%3Blet%20list%3Dlifecycle.attached%3Bif(list)%7Bfor(let%20i%3D0%3Bi%3Clist.length%3Bi%2B%2B)%7Blist%5Bi%5D.call(this)%7D%7D%7D%2F**%0A%20%20%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20%20%20*%2Fdetached()%7Bsuper.detached()%3Blet%20list%3Dlifecycle.detached%3Bif(list)%7Bfor(let%20i%3D0%3Bi%3Clist.length%3Bi%2B%2B)%7Blist%5Bi%5D.call(this)%7D%7D%7D%2F**%0A%20%20%20%20%20%20%20%20%20*%20Implements%20native%20Custom%20Elements%20%60attributeChangedCallback%60%20to%0A%20%20%20%20%20%20%20%20%20*%20set%20an%20attribute%20value%20to%20a%20property%20via%20%60_attributeToProperty%60.%0A%20%20%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20name%20Name%20of%20attribute%20that%20changed%0A%20%20%20%20%20%20%20%20%20*%20%40param%20%7B%3Fstring%7D%20old%20Old%20attribute%20value%0A%20%20%20%20%20%20%20%20%20*%20%40param%20%7B%3Fstring%7D%20value%20New%20attribute%20value%0A%20%20%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20%20%20*%2FattributeChanged(name%2Cold%2Cvalue)%7Bsuper.attributeChanged()%3Blet%20list%3Dlifecycle.attributeChanged%3Bif(list)%7Bfor(let%20i%3D0%3Bi%3Clist.length%3Bi%2B%2B)%7Blist%5Bi%5D.call(this%2Cname%2Cold%2Cvalue)%7D%7D%7D%7D%2F%2F%20apply%20behaviors%2C%20note%20actual%20copying%20is%20done%20lazily%20at%20first%20instance%20creation%0Aif(behaviors)%7B%2F%2F%20NOTE%3A%20ensure%20the%20behavior%20is%20extending%20a%20class%20with%0A%2F%2F%20legacy%20element%20api.%20This%20is%20necessary%20since%20behaviors%20expect%20to%20be%20able%0A%2F%2F%20to%20access%201.x%20legacy%20api.%0Aif(!Array.isArray(behaviors))%7Bbehaviors%3D%5Bbehaviors%5D%7Dlet%20superBehaviors%3DBase.prototype.behaviors%3B%2F%2F%20get%20flattened%2C%20deduped%20list%20of%20behaviors%20*not*%20already%20on%20super%20class%0AbehaviorList%3DflattenBehaviors(behaviors%2Cnull%2CsuperBehaviors)%3BPolymerGenerated.prototype.behaviors%3DsuperBehaviors%3FsuperBehaviors.concat(behaviors)%3AbehaviorList%7Dconst%20copyPropertiesToProto%3Dproto%3D%3E%7Bif(behaviorList)%7BapplyBehaviors(proto%2CbehaviorList%2Clifecycle)%7DapplyInfo(proto%2Cinfo%2Clifecycle%2CexcludeOnInfo)%7D%3B%2F%2F%20copy%20properties%20if%20we're%20not%20optimizing%0Aif(!Polymer.legacyOptimizations)%7BcopyPropertiesToProto(PolymerGenerated.prototype)%7DPolymerGenerated.generatedFrom%3Dinfo%3Breturn%20PolymerGenerated%7D%2F**%0A%20%20%20%20%20*%20Generates%20a%20class%20that%20extends%20%60Polymer.LegacyElement%60%20based%20on%20the%0A%20%20%20%20%20*%20provided%20info%20object.%20%20Metadata%20objects%20on%20the%20%60info%60%20object%0A%20%20%20%20%20*%20(%60properties%60%2C%20%60observers%60%2C%20%60listeners%60%2C%20%60behaviors%60%2C%20%60is%60)%20are%20used%0A%20%20%20%20%20*%20for%20Polymer's%20meta-programming%20systems%2C%20and%20any%20functions%20are%20copied%0A%20%20%20%20%20*%20to%20the%20generated%20class.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20Valid%20%22metadata%22%20values%20are%20as%20follows%3A%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%60is%60%3A%20String%20providing%20the%20tag%20name%20to%20register%20the%20element%20under.%20In%0A%20%20%20%20%20*%20addition%2C%20if%20a%20%60dom-module%60%20with%20the%20same%20id%20exists%2C%20the%20first%20template%0A%20%20%20%20%20*%20in%20that%20%60dom-module%60%20will%20be%20stamped%20into%20the%20shadow%20root%20of%20this%20element%2C%0A%20%20%20%20%20*%20with%20support%20for%20declarative%20event%20listeners%20(%60on-...%60)%2C%20Polymer%20data%0A%20%20%20%20%20*%20bindings%20(%60%5B%5B...%5D%5D%60%20and%20%60%7B%7B...%7D%7D%60)%2C%20and%20id-based%20node%20finding%20into%0A%20%20%20%20%20*%20%60this.%24%60.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%60properties%60%3A%20Object%20describing%20property-related%20metadata%20used%20by%20Polymer%0A%20%20%20%20%20*%20features%20(key%3A%20property%20names%2C%20value%3A%20object%20containing%20property%20metadata).%0A%20%20%20%20%20*%20Valid%20keys%20in%20per-property%20metadata%20include%3A%0A%20%20%20%20%20*%20-%20%60type%60%20(String%7CNumber%7CObject%7CArray%7C...)%3A%20Used%20by%0A%20%20%20%20%20*%20%20%20%60attributeChangedCallback%60%20to%20determine%20how%20string-based%20attributes%0A%20%20%20%20%20*%20%20%20are%20deserialized%20to%20JavaScript%20property%20values.%0A%20%20%20%20%20*%20-%20%60notify%60%20(boolean)%3A%20Causes%20a%20change%20in%20the%20property%20to%20fire%20a%0A%20%20%20%20%20*%20%20%20non-bubbling%20event%20called%20%60%3Cproperty%3E-changed%60.%20Elements%20that%20have%0A%20%20%20%20%20*%20%20%20enabled%20two-way%20binding%20to%20the%20property%20use%20this%20event%20to%20observe%20changes.%0A%20%20%20%20%20*%20-%20%60readOnly%60%20(boolean)%3A%20Creates%20a%20getter%20for%20the%20property%2C%20but%20no%20setter.%0A%20%20%20%20%20*%20%20%20To%20set%20a%20read-only%20property%2C%20use%20the%20private%20setter%20method%0A%20%20%20%20%20*%20%20%20%60_setProperty(property%2C%20value)%60.%0A%20%20%20%20%20*%20-%20%60observer%60%20(string)%3A%20Observer%20method%20name%20that%20will%20be%20called%20when%0A%20%20%20%20%20*%20%20%20the%20property%20changes.%20The%20arguments%20of%20the%20method%20are%0A%20%20%20%20%20*%20%20%20%60(value%2C%20previousValue)%60.%0A%20%20%20%20%20*%20-%20%60computed%60%20(string)%3A%20String%20describing%20method%20and%20dependent%20properties%0A%20%20%20%20%20*%20%20%20for%20computing%20the%20value%20of%20this%20property%20(e.g.%20%60'computeFoo(bar%2C%20zot)'%60).%0A%20%20%20%20%20*%20%20%20Computed%20properties%20are%20read-only%20by%20default%20and%20can%20only%20be%20changed%0A%20%20%20%20%20*%20%20%20via%20the%20return%20value%20of%20the%20computing%20method.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%60observers%60%3A%20Array%20of%20strings%20describing%20multi-property%20observer%20methods%0A%20%20%20%20%20*%20%20and%20their%20dependent%20properties%20(e.g.%20%60'observeABC(a%2C%20b%2C%20c)'%60).%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%60listeners%60%3A%20Object%20describing%20event%20listeners%20to%20be%20added%20to%20each%0A%20%20%20%20%20*%20%20instance%20of%20this%20element%20(key%3A%20event%20name%2C%20value%3A%20method%20name).%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%60behaviors%60%3A%20Array%20of%20additional%20%60info%60%20objects%20containing%20metadata%0A%20%20%20%20%20*%20and%20callbacks%20in%20the%20same%20format%20as%20the%20%60info%60%20object%20here%20which%20are%0A%20%20%20%20%20*%20merged%20into%20this%20element.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%60hostAttributes%60%3A%20Object%20listing%20attributes%20to%20be%20applied%20to%20the%20host%0A%20%20%20%20%20*%20%20once%20created%20(key%3A%20attribute%20name%2C%20value%3A%20attribute%20value).%20%20Values%0A%20%20%20%20%20*%20%20are%20serialized%20based%20on%20the%20type%20of%20the%20value.%20%20Host%20attributes%20should%0A%20%20%20%20%20*%20%20generally%20be%20limited%20to%20attributes%20such%20as%20%60tabIndex%60%20and%20%60aria-...%60.%0A%20%20%20%20%20*%20%20Attributes%20in%20%60hostAttributes%60%20are%20only%20applied%20if%20a%20user-supplied%0A%20%20%20%20%20*%20%20attribute%20is%20not%20already%20present%20(attributes%20in%20markup%20override%0A%20%20%20%20%20*%20%20%60hostAttributes%60).%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20In%20addition%2C%20the%20following%20Polymer-specific%20callbacks%20may%20be%20provided%3A%0A%20%20%20%20%20*%20-%20%60registered%60%3A%20called%20after%20first%20instance%20of%20this%20element%2C%0A%20%20%20%20%20*%20-%20%60created%60%3A%20called%20during%20%60constructor%60%0A%20%20%20%20%20*%20-%20%60attached%60%3A%20called%20during%20%60connectedCallback%60%0A%20%20%20%20%20*%20-%20%60detached%60%3A%20called%20during%20%60disconnectedCallback%60%0A%20%20%20%20%20*%20-%20%60ready%60%3A%20called%20before%20first%20%60attached%60%2C%20after%20all%20properties%20of%0A%20%20%20%20%20*%20%20%20this%20element%20have%20been%20propagated%20to%20its%20template%20and%20all%20observers%0A%20%20%20%20%20*%20%20%20have%20run%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40param%20%7B!PolymerInit%7D%20info%20Object%20containing%20Polymer%20metadata%20and%20functions%0A%20%20%20%20%20*%20%20%20to%20become%20class%20methods.%0A%20%20%20%20%20*%20%40template%20T%0A%20%20%20%20%20*%20%40param%20%7Bfunction(T)%3AT%7D%20mixin%20Optional%20mixin%20to%20apply%20to%20legacy%20base%20class%0A%20%20%20%20%20*%20%20%20before%20extending%20with%20Polymer%20metaprogramming.%0A%20%20%20%20%20*%20%40return%20%7Bfunction(new%3AHTMLElement)%7D%20Generated%20class%0A%20%20%20%20%20*%20%40memberof%20Polymer%0A%20%20%20%20%20*%2FPolymer.Class%3Dfunction(info%2Cmixin)%7Bif(!info)%7Bconsole.warn(%22Polymer.Class%20requires%20%60info%60%20argument%22)%7Dlet%20klass%3Dmixin%3Fmixin(Polymer.LegacyElementMixin(HTMLElement))%3APolymer.LegacyElementMixin(HTMLElement)%3Bklass%3DGenerateClassFromInfo(info%2Cklass%2Cinfo.behaviors)%3Bif(info._enableDisableUpgrade)%7Bklass%3DPolymer.DisableUpgradeMixin(klass)%7D%2F%2F%20decorate%20klass%20with%20registration%20info%0Aklass.is%3Dklass.prototype.is%3Dinfo.is%3Breturn%20klass%7D%3BPolymer.mixinBehaviors%3DmixinBehaviors%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fpolymer%2Flib%2Flegacy%2Fclass.html.js%0A | 16 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7B'use%20strict'%3B%2F**%0A%20%20%20*%20The%20%60%3Cdom-if%3E%60%20element%20will%20stamp%20a%20light-dom%20%60%3Ctemplate%3E%60%20child%20when%0A%20%20%20*%20the%20%60if%60%20property%20becomes%20truthy%2C%20and%20the%20template%20can%20use%20Polymer%0A%20%20%20*%20data-binding%20and%20declarative%20event%20features%20when%20used%20in%20the%20context%20of%0A%20%20%20*%20a%20Polymer%20element's%20template.%0A%20%20%20*%0A%20%20%20*%20When%20%60if%60%20becomes%20falsy%2C%20the%20stamped%20content%20is%20hidden%20but%20not%0A%20%20%20*%20removed%20from%20dom.%20When%20%60if%60%20subsequently%20becomes%20truthy%20again%2C%20the%20content%0A%20%20%20*%20is%20simply%20re-shown.%20This%20approach%20is%20used%20due%20to%20its%20favorable%20performance%0A%20%20%20*%20characteristics%3A%20the%20expense%20of%20creating%20template%20content%20is%20paid%20only%0A%20%20%20*%20once%20and%20lazily.%0A%20%20%20*%0A%20%20%20*%20Set%20the%20%60restamp%60%20property%20to%20true%20to%20force%20the%20stamped%20content%20to%20be%0A%20%20%20*%20created%20%2F%20destroyed%20when%20the%20%60if%60%20condition%20changes.%0A%20%20%20*%0A%20%20%20*%20%40customElement%0A%20%20%20*%20%40polymer%0A%20%20%20*%20%40extends%20Polymer.Element%0A%20%20%20*%20%40memberof%20Polymer%0A%20%20%20*%20%40summary%20Custom%20element%20that%20conditionally%20stamps%20and%20hides%20or%20removes%0A%20%20%20*%20%20%20template%20content%20based%20on%20a%20boolean%20flag.%0A%20%20%20*%2Fclass%20DomIf%20extends%20Polymer.Element%7B%2F%2F%20Not%20needed%20to%20find%20template%3B%20can%20be%20removed%20once%20the%20analyzer%0A%2F%2F%20can%20find%20the%20tag%20name%20from%20customElements.define%20call%0Astatic%20get%20is()%7Breturn%22dom-if%22%7Dstatic%20get%20template()%7Breturn%20null%7Dstatic%20get%20properties()%7Breturn%7B%2F**%0A%20%20%20%20%20%20%20%20%20*%20Fired%20whenever%20DOM%20is%20added%20or%20removed%2Fhidden%20by%20this%20template%20(by%0A%20%20%20%20%20%20%20%20%20*%20default%2C%20rendering%20occurs%20lazily).%20%20To%20force%20immediate%20rendering%2C%20call%0A%20%20%20%20%20%20%20%20%20*%20%60render%60.%0A%20%20%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20%20%20*%20%40event%20dom-change%0A%20%20%20%20%20%20%20%20%20*%2F%20%2F**%0A%20%20%20%20%20%20%20%20%20*%20A%20boolean%20indicating%20whether%20this%20template%20should%20stamp.%0A%20%20%20%20%20%20%20%20%20*%2Fif%3A%7Btype%3ABoolean%2Cobserver%3A%22__debounceRender%22%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20*%20When%20true%2C%20elements%20will%20be%20removed%20from%20DOM%20and%20discarded%20when%20%60if%60%0A%20%20%20%20%20%20%20%20%20*%20becomes%20false%20and%20re-created%20and%20added%20back%20to%20the%20DOM%20when%20%60if%60%0A%20%20%20%20%20%20%20%20%20*%20becomes%20true.%20%20By%20default%2C%20stamped%20elements%20will%20be%20hidden%20but%20left%0A%20%20%20%20%20%20%20%20%20*%20in%20the%20DOM%20when%20%60if%60%20becomes%20false%2C%20which%20is%20generally%20results%0A%20%20%20%20%20%20%20%20%20*%20in%20better%20performance.%0A%20%20%20%20%20%20%20%20%20*%2Frestamp%3A%7Btype%3ABoolean%2Cobserver%3A%22__debounceRender%22%7D%7D%7Dconstructor()%7Bsuper()%3Bthis.__renderDebouncer%3Dnull%3Bthis.__invalidProps%3Dnull%3Bthis.__instance%3Dnull%3Bthis._lastIf%3D%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A!1%3Bthis.__ctor%3Dnull%7D__debounceRender()%7B%2F%2F%20Render%20is%20async%20for%202%20reasons%3A%0A%2F%2F%201.%20To%20eliminate%20dom%20creation%20trashing%20if%20user%20code%20thrashes%20%60if%60%20in%20the%0A%2F%2F%20%20%20%20same%20turn.%20This%20was%20more%20common%20in%201.x%20where%20a%20compound%20computed%0A%2F%2F%20%20%20%20property%20could%20result%20in%20the%20result%20changing%20multiple%20times%2C%20but%20is%0A%2F%2F%20%20%20%20mitigated%20to%20a%20large%20extent%20by%20batched%20property%20processing%20in%202.x.%0A%2F%2F%202.%20To%20avoid%20double%20object%20propagation%20when%20a%20bag%20including%20values%20bound%0A%2F%2F%20%20%20%20to%20the%20%60if%60%20property%20as%20well%20as%20one%20or%20more%20hostProps%20could%20enqueue%0A%2F%2F%20%20%20%20the%20%3Cdom-if%3E%20to%20flush%20before%20the%20%3Ctemplate%3E's%20host%20property%0A%2F%2F%20%20%20%20forwarding.%20In%20that%20scenario%20creating%20an%20instance%20would%20result%20in%0A%2F%2F%20%20%20%20the%20host%20props%20being%20set%20once%2C%20and%20then%20the%20enqueued%20changes%20on%20the%0A%2F%2F%20%20%20%20template%20would%20set%20properties%20a%20second%20time%2C%20potentially%20causing%20an%0A%2F%2F%20%20%20%20object%20to%20be%20set%20to%20an%20instance%20more%20than%20once.%20%20Creating%20the%0A%2F%2F%20%20%20%20instance%20async%20from%20flushing%20data%20ensures%20this%20doesn't%20happen.%20If%0A%2F%2F%20%20%20%20we%20wanted%20a%20sync%20option%20in%20the%20future%2C%20simply%20having%20%3Cdom-if%3E%20flush%0A%2F%2F%20%20%20%20(or%20clear)%20its%20template's%20pending%20host%20properties%20before%20creating%0A%2F%2F%20%20%20%20the%20instance%20would%20also%20avoid%20the%20problem.%0Athis.__renderDebouncer%3DPolymer.Debouncer.debounce(this.__renderDebouncer%2CPolymer.Async.microTask%2C()%3D%3Ethis.__render())%3BPolymer.enqueueDebouncer(this.__renderDebouncer)%7D%2F**%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%2FdisconnectedCallback()%7Bsuper.disconnectedCallback()%3Bif(!this.parentNode%7C%7Cthis.parentNode.nodeType%3D%3DNode.DOCUMENT_FRAGMENT_NODE%26%26!this.parentNode.host)%7Bthis.__teardownInstance()%7D%7D%2F**%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%2FconnectedCallback()%7Bsuper.connectedCallback()%3Bthis.style.display%3D%22none%22%3Bif(this.if)%7Bthis.__debounceRender()%7D%7D%2F**%0A%20%20%20%20%20*%20Forces%20the%20element%20to%20render%20its%20content.%20Normally%20rendering%20is%0A%20%20%20%20%20*%20asynchronous%20to%20a%20provoking%20change.%20This%20is%20done%20for%20efficiency%20so%0A%20%20%20%20%20*%20that%20multiple%20changes%20trigger%20only%20a%20single%20render.%20The%20render%20method%0A%20%20%20%20%20*%20should%20be%20called%20if%2C%20for%20example%2C%20template%20rendering%20is%20required%20to%0A%20%20%20%20%20*%20validate%20application%20state.%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%2Frender()%7BPolymer.flush()%7D__render()%7Bif(this.if)%7Bif(!this.__ensureInstance())%7B%2F%2F%20No%20template%20found%20yet%0Areturn%7Dthis._showHideChildren()%7Delse%20if(this.restamp)%7Bthis.__teardownInstance()%7Dif(!this.restamp%26%26this.__instance)%7Bthis._showHideChildren()%7Dif(this.if!%3Dthis._lastIf)%7Bthis.dispatchEvent(new%20CustomEvent(%22dom-change%22%2C%7Bbubbles%3A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2Ccomposed%3A!0%7D))%3Bthis._lastIf%3Dthis.if%7D%7D__ensureInstance()%7Blet%20parentNode%3Dthis.parentNode%3B%2F%2F%20Guard%20against%20element%20being%20detached%20while%20render%20was%20queued%0Aif(parentNode)%7Bif(!this.__ctor)%7Blet%20template%3D%2F**%20%40type%20%7BHTMLTemplateElement%7D%20*%2Fthis.querySelector(%22template%22)%3Bif(!template)%7B%2F%2F%20Wait%20until%20childList%20changes%20and%20template%20should%20be%20there%20by%20then%0Alet%20observer%3Dnew%20MutationObserver(()%3D%3E%7Bif(this.querySelector(%22template%22))%7Bobserver.disconnect()%3Bthis.__render()%7Delse%7Bthrow%20new%20Error(%22dom-if%20requires%20a%20%3Ctemplate%3E%20child%22)%7D%7D)%3Bobserver.observe(this%2C%7BchildList%3A!0%7D)%3Breturn!1%7Dthis.__ctor%3DPolymer.Templatize.templatize(template%2Cthis%2C%7B%2F%2F%20dom-if%20templatizer%20instances%20require%20%60mutable%3A%20true%60%2C%20as%0A%2F%2F%20%60__syncHostProperties%60%20relies%20on%20that%20behavior%20to%20sync%20objects%0AmutableData%3A!0%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20prop%20Property%20to%20forward%0A%20%20%20%20%20%20%20%20%20%20%20%20%20*%20%40param%20%7B*%7D%20value%20Value%20of%20property%0A%20%20%20%20%20%20%20%20%20%20%20%20%20*%20%40this%20%7Bthis%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20*%2FforwardHostProp%3Afunction(prop%2Cvalue)%7Bif(this.__instance)%7Bif(this.if)%7Bthis.__instance.forwardHostProp(prop%2Cvalue)%7Delse%7B%2F%2F%20If%20we%20have%20an%20instance%20but%20are%20squelching%20host%20property%0A%2F%2F%20forwarding%20due%20to%20if%20being%20false%2C%20note%20the%20invalidated%0A%2F%2F%20properties%20so%20%60__syncHostProperties%60%20can%20sync%20them%20the%20next%0A%2F%2F%20time%20%60if%60%20becomes%20true%0Athis.__invalidProps%3Dthis.__invalidProps%7C%7CObject.create(null)%3Bthis.__invalidProps%5BPolymer.Path.root(prop)%5D%3D!0%7D%7D%7D%7D)%7Dif(!this.__instance)%7Bthis.__instance%3Dnew%20this.__ctor%3BparentNode.insertBefore(this.__instance.root%2Cthis)%7Delse%7Bthis.__syncHostProperties()%3Blet%20c%24%3Dthis.__instance.children%3Bif(c%24%26%26c%24.length)%7B%2F%2F%20Detect%20case%20where%20dom-if%20was%20re-attached%20in%20new%20position%0Alet%20lastChild%3Dthis.previousSibling%3Bif(lastChild!%3D%3Dc%24%5Bc%24.length-1%5D)%7Bfor(let%20i%3D0%2Cn%3Bi%3Cc%24.length%26%26(n%3Dc%24%5Bi%5D)%3Bi%2B%2B)%7BparentNode.insertBefore(n%2Cthis)%7D%7D%7D%7D%7Dreturn!0%7D__syncHostProperties()%7Blet%20props%3Dthis.__invalidProps%3Bif(props)%7Bfor(let%20prop%20in%20props)%7Bthis.__instance._setPendingProperty(prop%2Cthis.__dataHost%5Bprop%5D)%7Dthis.__invalidProps%3Dnull%3Bthis.__instance._flushProperties()%7D%7D__teardownInstance()%7Bif(this.__instance)%7Blet%20c%24%3Dthis.__instance.children%3Bif(c%24%26%26c%24.length)%7B%2F%2F%20use%20first%20child%20parent%2C%20for%20case%20when%20dom-if%20may%20have%20been%20detached%0Alet%20parent%3Dc%24%5B0%5D.parentNode%3B%2F%2F%20Instance%20children%20may%20be%20disconnected%20from%20parents%20when%20dom-if%0A%2F%2F%20detaches%20if%20a%20tree%20was%20innerHTML'ed%0Aif(parent)%7Bfor(let%20i%3D0%2Cn%3Bi%3Cc%24.length%26%26(n%3Dc%24%5Bi%5D)%3Bi%2B%2B)%7Bparent.removeChild(n)%7D%7D%7Dthis.__instance%3Dnull%3Bthis.__invalidProps%3Dnull%7D%7D%2F**%0A%20%20%20%20%20*%20Shows%20or%20hides%20the%20template%20instance%20top%20level%20child%20elements.%20For%0A%20%20%20%20%20*%20text%20nodes%2C%20%60textContent%60%20is%20removed%20while%20%22hidden%22%20and%20replaced%20when%0A%20%20%20%20%20*%20%22shown.%22%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20*%2F_showHideChildren()%7Blet%20hidden%3Dthis.__hideTemplateChildren__%7C%7C!this.if%3Bif(this.__instance)%7Bthis.__instance._showHideChildren(hidden)%7D%7D%7DcustomElements.define(DomIf.is%2CDomIf)%3B%2F**%20%40const%20*%2FPolymer.DomIf%3DDomIf%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fpolymer%2Flib%2Felements%2Fdom-if.html.js%0A | 7.9 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/webfiles/1661339944389/js/scrollSpy.js | 3.1 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-table/ing-table.js | 207 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/core/utils/scrollIntoCustomView.js | 358 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/icon/oj-icons/outline/arrows/arrow_right_outline.svg.js | 222 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/icon/oj-icons/outline/arrows/arrow_up_outline.svg.js | 223 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/overlays/src/utils/contain-focus.js | 1.8 kB | 2023-03-08 | 2024-04-05 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/icon/oj-iconsets/outline-arrows.js | 1.6 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/icon/oj-icons/outline/arrows/triangle_left_outline.svg.js | 375 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/webfiles/1661339944389/js/node_modules/%40webcomponents/webcomponentsjs/webcomponents-loader.js | 3.7 kB | 2023-03-07 | 2024-04-05 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-card/src/IngCard.styles.js | 10 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/lib/directive.js | 693 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web-es/setup-feature.js | 760 B | 2023-03-08 | 2023-06-29 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/_legacy/ajax/src/ajax.js | 215 B | 2023-03-08 | 2023-06-29 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,function%20ownKeys(object%2CenumerableOnly)%7Bvar%20keys%3DObject.keys(object)%3Bif(Object.getOwnPropertySymbols)%7Bkeys.push.apply(keys%2CObject.getOwnPropertySymbols(object))%7Dif(enumerableOnly)keys%3Dkeys.filter(function(sym)%7Breturn%20Object.getOwnPropertyDescriptor(object%2Csym).enumerable%7D)%3Breturn%20keys%7Dfunction%20_objectSpread(target)%7Bfor(var%20i%3D1%2Csource%3Bi%3Carguments.length%3Bi%2B%2B)%7Bsource%3Dnull!%3Darguments%5Bi%5D%3Farguments%5Bi%5D%3A%7B%7D%3Bif(i%252)%7BownKeys(source%2C%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A).forEach(function(key)%7BbabelHelpers.defineProperty(target%2Ckey%2Csource%5Bkey%5D)%7D)%7Delse%20if(Object.getOwnPropertyDescriptors)%7BObject.defineProperties(target%2CObject.getOwnPropertyDescriptors(source))%7Delse%7BownKeys(source).forEach(function(key)%7BObject.defineProperty(target%2Ckey%2CObject.getOwnPropertyDescriptor(source%2Ckey))%7D)%7D%7Dreturn%20target%7D(()%3D%3E%7Bconst%20DATA_EVENT_NAME%3D%22event_name%22%2CSTORAGE_KEY%3D%22tealium%22%3Blet%20tealiumStoreInstance%3Bconst%20createTealiumTagManager%3Dstorage%3D%3E%7Bif(!tealiumStoreInstance)%7BtealiumStoreInstance%3D%7BgetStorage()%7Breturn%20JSON.parse(storage.getItem(STORAGE_KEY))%7C%7C%7B%7D%7D%2Cevent(data)%7Bwindow.utag.link(data)%7D%2Cqueue(data)%7Bconst%20currentStorageValue%3Dthis.getStorage()%2CactualEvents%3D%22string%22%3D%3D%3Dtypeof%20currentStorageValue%5BDATA_EVENT_NAME%5D%3F%5BcurrentStorageValue%5BDATA_EVENT_NAME%5D%5D%3AcurrentStorageValue%5BDATA_EVENT_NAME%5D%2Cevents%3Dnew%20Set(actualEvents)%3Bevents.add(data%5BDATA_EVENT_NAME%5D)%3Bconst%20eventsToData%3D1%3D%3D%3Devents.size%3F%5B...events%5D%5B0%5D%3A%5B...events%5D%3Bstorage.setItem(STORAGE_KEY%2CJSON.stringify(_objectSpread(%7B%7D%2CcurrentStorageValue%2C%7B%7D%2Cdata%2C%7B%5BDATA_EVENT_NAME%5D%3AeventsToData%7D)))%7D%2Cview(data)%7Bwindow.utag.view(data)%7D%2Cflush()%7Bstorage.removeItem(STORAGE_KEY)%7D%7D%7Dreturn%20tealiumStoreInstance%7D%3BPolymer.TagManager%3DPolymer.dedupingMixin(superClass%3D%3E%7B%2F**%0A%20%20%20%20%20%20%20*%20%40polymer%0A%20%20%20%20%20%20%20*%20%40mixinClass%0A%20%20%20%20%20%20%20*%20%40implements%20%7BPolymer_TagManager%7D%0A%20%20%20%20%20%20%20*%2Fclass%20TagManager%20extends%20superClass%7Bstatic%20get%20properties()%7Breturn%7BtmEvent%3AObject%2CtmPageView%3AObject%2CtmQueue%3ABoolean%7D%7DconnectedCallback()%7Bsuper.connectedCallback()%3Bthis.addEventListener(%22custom-anchor-click%22%2Cthis.onClick)%7DdisconnectedCallback()%7Bsuper.disconnectedCallback()%3Bthis.removeEventListener(%22custom-anchor-click%22%2Cthis.onClick)%7Dconstructor(utagData%3D%7B%7D)%7Bsuper()%3Bconst%20tealiumTagManager%3DcreateTealiumTagManager(window.sessionStorage)%2CcurrentStorageData%3DtealiumTagManager.getStorage()%3Bif(!window.utag_data)%7Bconst%20newUtagData%3D_objectSpread(%7B%7D%2CutagData%2C%7B%7D%2CcurrentStorageData)%2CutagDataScript%3Ddocument.createElement(%22script%22)%3ButagDataScript.innerHTML%3D%60var%20utag_data%20%3D%20%24%7BJSON.stringify(newUtagData)%7D%3B%60%3Bdocument.head.appendChild(utagDataScript)%3BtealiumTagManager.flush()%7D%7DgetTealiumManager()%7Breturn%20tealiumStoreInstance%7DonClick(d)%7Bconst%7BtmEvent%2CtmQueue%2CtmPageView%7D%3Dd.detail%3Bif(tmPageView)%7BtealiumStoreInstance.view(tmPageView)%7Delse%7Bif(!tmEvent)return%3Bconst%20utagData%3D_objectSpread(%7B%7D%2CJSON.parse(tmEvent)%2C%7Bclick_date%3ADate.now().toString()%7D)%3Bif(tmQueue!%3D%3D%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0Avoid%200)%7BtealiumStoreInstance.queue(utagData)%7Delse%7BtealiumStoreInstance.event(utagData)%7D%7D%7D%7Dreturn%20TagManager%7D)%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fing-uic-cms-tag-manager%2Fing-uic-cms-tag-manager.html.js%0A | 3.6 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,const%20CORE_MEDIA_TYPE%3D%22CoreMediaBlock%22%3B%2F**%0A%20%20%20%20%20*%20%60ing-uic-cms-content%60%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40customElement%0A%20%20%20%20%20*%20%40polymer%0A%20%20%20%20%20*%20%40demo%20demo%2Findex.html%0A%20%20%20%20%20*%2Fclass%20IngUicCmsContent%20extends%20Polymer.HippoParser(Polymer.Element)%7B%2F**%0A%20%20%20%20%20%20%20*%20Component%20definition%0A%20%20%20%20%20%20%20*%2Fstatic%20get%20is()%7Breturn%22ing-uic-cms-content%22%7D%2F**%0A%20%20%20%20%20%20%20*%20Properties%0A%20%20%20%20%20%20%20*%2Fstatic%20get%20properties()%7Breturn%7B%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20Data%20parsed%20from%20API%0A%20%20%20%20%20%20%20%20%20%20%20*%2Fdata%3AObject%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20information%20of%20blocks%20with%20Core%20Media%20data%0A%20%20%20%20%20%20%20%20%20%20%20*%2F_media%3AArray%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Observers%0A%20%20%20%20%20%20%20*%2Fstatic%20get%20observers()%7Breturn%5B%22_dataChanged(data)%22%5D%7D%2F**%0A%20%20%20%20%20%20%20*%20ConnectedCallback%0A%20%20%20%20%20%20%20*%2FconnectedCallback()%7Bsuper.connectedCallback()%3BPolymer.RenderStatus.afterNextRender(this.shadowRoot.querySelector(%22ing-uic-cms-content%22)%2C()%3D%3E%7Bconst%20padding%3Dwindow.getComputedStyle(this.parentElement%2Cnull).getPropertyValue(%22padding-left%22)%3Bif(padding)%7Bthis.updateStyles(%7B%22--ing-window-size%22%3Apadding%7D)%7D%7D)%7D%2F**%0A%20%20%20%20%20%20%20*%20Element%20initialization%20on%20data%20change%0A%20%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20data%20data%20from%20API%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2F_dataChanged(data)%7Bconst%20media%3D%5B%5D%3B(this.getParser().get(data%2C%22items.ParticleList%22)%7C%7C%5B%5D).forEach((particle%2Cindex)%3D%3E%7Bif(particle.items%26%26particle.items.Content)%7Bparticle.items.Content.forEach(item%3D%3E%7Bmedia%5Bindex%5D%3Dmedia%5Bindex%5D%7C%7Citem.type%3D%3D%3DCORE_MEDIA_TYPE%7D)%7D%7D)%3Bthis.set(%22_media%22%2Cmedia)%7D%2F**%0A%20%20%20%20%20%20%20*%20computed%20class%20for%20blocks%0A%20%20%20%20%20%20%20*%20%40param%20%7BNumber%7D%20index%20block%20index%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2F_getClass(index%2Citem)%7Blet%20returnClass%3D%22%22%3Bif(!item.Content)%7BreturnClass%3D%22hideContent%22%7Dreturn%20this.get(%22_media%22)%5Bindex%5D%3F%60neg-order%20%24%7BreturnClass%7D%60%3AreturnClass%7D%7Dwindow.customElements.define(IngUicCmsContent.is%2CIngUicCmsContent)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fing-uic-cms-content%2Fing-uic-cms-content.html.js%0A | 1.8 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7B'use%20strict'%3B%2F**%20%40polymerBehavior%20*%2FPolymer.IronOverlayBehaviorImpl%3D%7Bproperties%3A%7B%2F**%0A%20%20%20%20%20%20%20*%20True%20if%20the%20overlay%20is%20currently%20displayed.%0A%20%20%20%20%20%20%20*%2Fopened%3A%7Bobserver%3A%22_openedChanged%22%2Ctype%3ABoolean%2Cvalue%3A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A!1%2Cnotify%3A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20True%20if%20the%20overlay%20was%20canceled%20when%20it%20was%20last%20closed.%0A%20%20%20%20%20%20%20*%2Fcanceled%3A%7Bobserver%3A%22_canceledChanged%22%2CreadOnly%3A!0%2Ctype%3ABoolean%2Cvalue%3A!1%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20Set%20to%20true%20to%20display%20a%20backdrop%20behind%20the%20overlay.%20It%20traps%20the%20focus%0A%20%20%20%20%20%20%20*%20within%20the%20light%20DOM%20of%20the%20overlay.%0A%20%20%20%20%20%20%20*%2FwithBackdrop%3A%7Bobserver%3A%22_withBackdropChanged%22%2Ctype%3ABoolean%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20Set%20to%20true%20to%20disable%20auto-focusing%20the%20overlay%20or%20child%20nodes%20with%0A%20%20%20%20%20%20%20*%20the%20%60autofocus%60%20attribute%60%20when%20the%20overlay%20is%20opened.%0A%20%20%20%20%20%20%20*%2FnoAutoFocus%3A%7Btype%3ABoolean%2Cvalue%3A!1%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20Set%20to%20true%20to%20disable%20canceling%20the%20overlay%20with%20the%20ESC%20key.%0A%20%20%20%20%20%20%20*%2FnoCancelOnEscKey%3A%7Btype%3ABoolean%2Cvalue%3A!1%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20Set%20to%20true%20to%20disable%20canceling%20the%20overlay%20by%20clicking%20outside%20it.%0A%20%20%20%20%20%20%20*%2FnoCancelOnOutsideClick%3A%7Btype%3ABoolean%2Cvalue%3A!1%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20Contains%20the%20reason(s)%20this%20overlay%20was%20last%20closed%20(see%0A%20%20%20%20%20%20%20*%20%60iron-overlay-closed%60).%20%60IronOverlayBehavior%60%20provides%20the%20%60canceled%60%0A%20%20%20%20%20%20%20*%20reason%3B%20implementers%20of%20the%20behavior%20can%20provide%20other%20reasons%20in%0A%20%20%20%20%20%20%20*%20addition%20to%20%60canceled%60.%0A%20%20%20%20%20%20%20*%2FclosingReason%3A%7B%2F%2F%20was%20a%20getter%20before%2C%20but%20needs%20to%20be%20a%20property%20so%20other%0A%2F%2F%20behaviors%20can%20override%20this.%0Atype%3AObject%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20Set%20to%20true%20to%20enable%20restoring%20of%20focus%20when%20overlay%20is%20closed.%0A%20%20%20%20%20%20%20*%2FrestoreFocusOnClose%3A%7Btype%3ABoolean%2Cvalue%3A!1%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20Set%20to%20true%20to%20allow%20clicks%20to%20go%20through%20overlays.%0A%20%20%20%20%20%20%20*%20When%20the%20user%20clicks%20outside%20this%20overlay%2C%20the%20click%20may%0A%20%20%20%20%20%20%20*%20close%20the%20overlay%20below.%0A%20%20%20%20%20%20%20*%2FallowClickThrough%3A%7Btype%3ABoolean%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20Set%20to%20true%20to%20keep%20overlay%20always%20on%20top.%0A%20%20%20%20%20%20%20*%2FalwaysOnTop%3A%7Btype%3ABoolean%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20Determines%20which%20action%20to%20perform%20when%20scroll%20outside%20an%20opened%20overlay%0A%20%20%20%20%20%20%20*%20happens.%20Possible%20values%3A%20lock%20-%20blocks%20scrolling%20from%20happening%2C%20refit%20-%0A%20%20%20%20%20%20%20*%20computes%20the%20new%20position%20on%20the%20overlay%20cancel%20-%20causes%20the%20overlay%20to%0A%20%20%20%20%20%20%20*%20close%0A%20%20%20%20%20%20%20*%2FscrollAction%3A%7Btype%3AString%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20Shortcut%20to%20access%20to%20the%20overlay%20manager.%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%20%40type%20%7B!Polymer.IronOverlayManagerClass%7D%0A%20%20%20%20%20%20%20*%2F_manager%3A%7Btype%3AObject%2Cvalue%3APolymer.IronOverlayManager%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20The%20node%20being%20focused.%0A%20%20%20%20%20%20%20*%20%40type%20%7B%3FNode%7D%0A%20%20%20%20%20%20%20*%2F_focusedChild%3A%7Btype%3AObject%7D%7D%2Clisteners%3A%7B%22iron-resize%22%3A%22_onIronResize%22%7D%2Cobservers%3A%5B%22__updateScrollObservers(isAttached%2C%20opened%2C%20scrollAction)%22%5D%2C%2F**%0A%20%20%20%20%20*%20The%20backdrop%20element.%0A%20%20%20%20%20*%20%40return%20%7B!Element%7D%0A%20%20%20%20%20*%2Fget%20backdropElement()%7Breturn%20this._manager.backdropElement%7D%2C%2F**%0A%20%20%20%20%20*%20Returns%20the%20node%20to%20give%20focus%20to.%0A%20%20%20%20%20*%20%40return%20%7B!Node%7D%0A%20%20%20%20%20*%2Fget%20_focusNode()%7Breturn%20this._focusedChild%7C%7CPolymer.dom(this).querySelector(%22%5Bautofocus%5D%22)%7C%7Cthis%7D%2C%2F**%0A%20%20%20%20%20*%20Array%20of%20nodes%20that%20can%20receive%20focus%20(overlay%20included)%2C%20ordered%20by%0A%20%20%20%20%20*%20%60tabindex%60.%20This%20is%20used%20to%20retrieve%20which%20is%20the%20first%20and%20last%20focusable%0A%20%20%20%20%20*%20nodes%20in%20order%20to%20wrap%20the%20focus%20for%20overlays%20%60with-backdrop%60.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20If%20you%20know%20what%20is%20your%20content%20(specifically%20the%20first%20and%20last%20focusable%0A%20%20%20%20%20*%20children)%2C%20you%20can%20override%20this%20method%20to%20return%20only%20%60%5BfirstFocusable%2C%0A%20%20%20%20%20*%20lastFocusable%5D%3B%60%0A%20%20%20%20%20*%20%40return%20%7B!Array%3C!Node%3E%7D%0A%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20*%2Fget%20_focusableNodes()%7Breturn%20Polymer.IronFocusablesHelper.getTabbableNodes(this)%7D%2C%2F**%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%2Fready%3Afunction()%7B%2F%2F%20Used%20to%20skip%20calls%20to%20notifyResize%20and%20refit%20while%20the%20overlay%20is%0A%2F%2F%20animating.%0Athis.__isAnimating%3D!1%3B%2F%2F%20with-backdrop%20needs%20tabindex%20to%20be%20set%20in%20order%20to%20trap%20the%20focus.%0A%2F%2F%20If%20it%20is%20not%20set%2C%20IronOverlayBehavior%20will%20set%20it%2C%20and%20remove%20it%20if%0A%2F%2F%20with-backdrop%20%3D%20false.%0Athis.__shouldRemoveTabIndex%3D!1%3B%2F%2F%20Used%20for%20wrapping%20the%20focus%20on%20TAB%20%2F%20Shift%2BTAB.%0Athis.__firstFocusableNode%3Dthis.__lastFocusableNode%3Dnull%3B%2F%2F%20Used%20by%20to%20keep%20track%20of%20the%20RAF%20callbacks.%0Athis.__rafs%3D%7B%7D%3B%2F%2F%20Focused%20node%20before%20overlay%20gets%20opened.%20Can%20be%20restored%20on%20close.%0Athis.__restoreFocusNode%3Dnull%3B%2F%2F%20Scroll%20info%20to%20be%20restored.%0Athis.__scrollTop%3Dthis.__scrollLeft%3Dnull%3Bthis.__onCaptureScroll%3Dthis.__onCaptureScroll.bind(this)%3B%2F%2F%20Root%20nodes%20hosting%20the%20overlay%2C%20used%20to%20listen%20for%20scroll%20events%20on%20them.%0Athis.__rootNodes%3Dnull%3Bthis._ensureSetup()%7D%2Cattached%3Afunction()%7B%2F%2F%20Call%20_openedChanged%20here%20so%20that%20position%20can%20be%20computed%20correctly.%0Aif(this.opened)%7Bthis._openedChanged(this.opened)%7Dthis._observer%3DPolymer.dom(this).observeNodes(this._onNodesChange)%7D%2Cdetached%3Afunction()%7BPolymer.dom(this).unobserveNodes(this._observer)%3Bthis._observer%3Dnull%3Bfor(var%20cb%20in%20this.__rafs)%7Bif(null!%3D%3Dthis.__rafs%5Bcb%5D)%7BcancelAnimationFrame(this.__rafs%5Bcb%5D)%7D%7Dthis.__rafs%3D%7B%7D%3Bthis._manager.removeOverlay(this)%3B%2F%2F%20We%20got%20detached%20while%20animating%2C%20ensure%20we%20show%2Fhide%20the%20overlay%0A%2F%2F%20and%20fire%20iron-overlay-opened%2Fclosed%20event!%0Aif(this.__isAnimating)%7Bif(this.opened)%7Bthis._finishRenderOpened()%7Delse%7B%2F%2F%20Restore%20the%20focus%20if%20necessary.%0Athis._applyFocus()%3Bthis._finishRenderClosed()%7D%7D%7D%2C%2F**%0A%20%20%20%20%20*%20Toggle%20the%20opened%20state%20of%20the%20overlay.%0A%20%20%20%20%20*%2Ftoggle%3Afunction()%7Bthis._setCanceled(!1)%3Bthis.opened%3D!this.opened%7D%2C%2F**%0A%20%20%20%20%20*%20Open%20the%20overlay.%0A%20%20%20%20%20*%2Fopen%3Afunction()%7Bthis._setCanceled(!1)%3Bthis.opened%3D!0%7D%2C%2F**%0A%20%20%20%20%20*%20Close%20the%20overlay.%0A%20%20%20%20%20*%2Fclose%3Afunction()%7Bthis._setCanceled(!1)%3Bthis.opened%3D!1%7D%2C%2F**%0A%20%20%20%20%20*%20Cancels%20the%20overlay.%0A%20%20%20%20%20*%20%40param%20%7BEvent%3D%7D%20event%20The%20original%20event%0A%20%20%20%20%20*%2Fcancel%3Afunction(event)%7Bvar%20cancelEvent%3Dthis.fire(%22iron-overlay-canceled%22%2Cevent%2C%7Bcancelable%3A!0%7D)%3Bif(cancelEvent.defaultPrevented)%7Breturn%7Dthis._setCanceled(!0)%3Bthis.opened%3D!1%7D%2C%2F**%0A%20%20%20%20%20*%20Invalidates%20the%20cached%20tabbable%20nodes.%20To%20be%20called%20when%20any%20of%20the%0A%20%20%20%20%20*%20focusable%20content%20changes%20(e.g.%20a%20button%20is%20disabled).%0A%20%20%20%20%20*%2FinvalidateTabbables%3Afunction()%7Bthis.__firstFocusableNode%3Dthis.__lastFocusableNode%3Dnull%7D%2C_ensureSetup%3Afunction()%7Bif(this._overlaySetup)%7Breturn%7Dthis._overlaySetup%3D!0%3Bthis.style.outline%3D%22none%22%3Bthis.style.display%3D%22none%22%7D%2C%2F**%0A%20%20%20%20%20*%20Called%20when%20%60opened%60%20changes.%0A%20%20%20%20%20*%20%40param%20%7Bboolean%3D%7D%20opened%0A%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20*%2F_openedChanged%3Afunction(opened)%7Bif(opened)%7Bthis.removeAttribute(%22aria-hidden%22)%7Delse%7Bthis.setAttribute(%22aria-hidden%22%2C%22true%22)%7D%2F%2F%20Defer%20any%20animation-related%20code%20on%20attached%0A%2F%2F%20(_openedChanged%20gets%20called%20again%20on%20attached).%0Aif(!this.isAttached)%7Breturn%7Dthis.__isAnimating%3D!0%3B%2F%2F%20Deraf%20for%20non-blocking%20rendering.%0Athis.__deraf(%22__openedChanged%22%2Cthis.__openedChanged)%7D%2C_canceledChanged%3Afunction()%7Bthis.closingReason%3Dthis.closingReason%7C%7C%7B%7D%3Bthis.closingReason.canceled%3Dthis.canceled%7D%2C_withBackdropChanged%3Afunction()%7B%2F%2F%20If%20tabindex%20is%20already%20set%2C%20no%20need%20to%20override%20it.%0Aif(this.withBackdrop%26%26!this.hasAttribute(%22tabindex%22))%7Bthis.setAttribute(%22tabindex%22%2C%22-1%22)%3Bthis.__shouldRemoveTabIndex%3D!0%7Delse%20if(this.__shouldRemoveTabIndex)%7Bthis.removeAttribute(%22tabindex%22)%3Bthis.__shouldRemoveTabIndex%3D!1%7Dif(this.opened%26%26this.isAttached)%7Bthis._manager.trackBackdrop()%7D%7D%2C%2F**%0A%20%20%20%20%20*%20tasks%20which%20must%20occur%20before%20opening%3B%20e.g.%20making%20the%20element%20visible.%0A%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20*%2F_prepareRenderOpened%3Afunction()%7B%2F%2F%20Store%20focused%20node.%0Athis.__restoreFocusNode%3Dthis._manager.deepActiveElement%3B%2F%2F%20Needed%20to%20calculate%20the%20size%20of%20the%20overlay%20so%20that%20transitions%20on%20its%0A%2F%2F%20size%20will%20have%20the%20correct%20starting%20points.%0Athis._preparePositioning()%3Bthis.refit()%3Bthis._finishPositioning()%3B%2F%2F%20Safari%20will%20apply%20the%20focus%20to%20the%20autofocus%20element%20when%20displayed%0A%2F%2F%20for%20the%20first%20time%2C%20so%20we%20make%20sure%20to%20return%20the%20focus%20where%20it%20was.%0Aif(this.noAutoFocus%26%26document.activeElement%3D%3D%3Dthis._focusNode)%7Bthis._focusNode.blur()%3Bthis.__restoreFocusNode.focus()%7D%7D%2C%2F**%0A%20%20%20%20%20*%20Tasks%20which%20cause%20the%20overlay%20to%20actually%20open%3B%20typically%20play%20an%0A%20%20%20%20%20*%20animation.%0A%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20*%2F_renderOpened%3Afunction()%7Bthis._finishRenderOpened()%7D%2C%2F**%0A%20%20%20%20%20*%20Tasks%20which%20cause%20the%20overlay%20to%20actually%20close%3B%20typically%20play%20an%0A%20%20%20%20%20*%20animation.%0A%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20*%2F_renderClosed%3Afunction()%7Bthis._finishRenderClosed()%7D%2C%2F**%0A%20%20%20%20%20*%20Tasks%20to%20be%20performed%20at%20the%20end%20of%20open%20action.%20Will%20fire%0A%20%20%20%20%20*%20%60iron-overlay-opened%60.%0A%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20*%2F_finishRenderOpened%3Afunction()%7Bthis.notifyResize()%3Bthis.__isAnimating%3D!1%3Bthis.fire(%22iron-overlay-opened%22)%7D%2C%2F**%0A%20%20%20%20%20*%20Tasks%20to%20be%20performed%20at%20the%20end%20of%20close%20action.%20Will%20fire%0A%20%20%20%20%20*%20%60iron-overlay-closed%60.%0A%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20*%2F_finishRenderClosed%3Afunction()%7B%2F%2F%20Hide%20the%20overlay.%0Athis.style.display%3D%22none%22%3B%2F%2F%20Reset%20z-index%20only%20at%20the%20end%20of%20the%20animation.%0Athis.style.zIndex%3D%22%22%3Bthis.notifyResize()%3Bthis.__isAnimating%3D!1%3Bthis.fire(%22iron-overlay-closed%22%2Cthis.closingReason)%7D%2C_preparePositioning%3Afunction()%7Bthis.style.transition%3Dthis.style.webkitTransition%3D%22none%22%3Bthis.style.transform%3Dthis.style.webkitTransform%3D%22none%22%3Bthis.style.display%3D%22%22%7D%2C_finishPositioning%3Afunction()%7B%2F%2F%20First%2C%20make%20it%20invisible%20%26%20reactivate%20animations.%0Athis.style.display%3D%22none%22%3B%2F%2F%20Force%20reflow%20before%20re-enabling%20animations%20so%20that%20they%20don't%20start.%0A%2F%2F%20Set%20scrollTop%20to%20itself%20so%20that%20Closure%20Compiler%20doesn't%20remove%20this.%0Athis.scrollTop%3Dthis.scrollTop%3Bthis.style.transition%3Dthis.style.webkitTransition%3D%22%22%3Bthis.style.transform%3Dthis.style.webkitTransform%3D%22%22%3B%2F%2F%20Now%20that%20animations%20are%20enabled%2C%20make%20it%20visible%20again%0Athis.style.display%3D%22%22%3B%2F%2F%20Force%20reflow%2C%20so%20that%20following%20animations%20are%20properly%20started.%0A%2F%2F%20Set%20scrollTop%20to%20itself%20so%20that%20Closure%20Compiler%20doesn't%20remove%20this.%0Athis.scrollTop%3Dthis.scrollTop%7D%2C%2F**%0A%20%20%20%20%20*%20Applies%20focus%20according%20to%20the%20opened%20state.%0A%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20*%2F_applyFocus%3Afunction()%7Bif(this.opened)%7Bif(!this.noAutoFocus)%7Bthis._focusNode.focus()%7D%7Delse%7B%2F%2F%20Restore%20focus.%0Aif(this.restoreFocusOnClose%26%26this.__restoreFocusNode)%7B%2F%2F%20If%20the%20activeElement%20is%20%60%3Cbody%3E%60%20or%20inside%20the%20overlay%2C%0A%2F%2F%20we%20are%20allowed%20to%20restore%20the%20focus.%20In%20all%20the%20other%0A%2F%2F%20cases%20focus%20might%20have%20been%20moved%20elsewhere%20by%20another%0A%2F%2F%20component%20or%20by%20an%20user%20interaction%20(e.g.%20click%20on%20a%0A%2F%2F%20button%20outside%20the%20overlay).%0Avar%20activeElement%3Dthis._manager.deepActiveElement%3Bif(activeElement%3D%3D%3Ddocument.body%7C%7CPolymer.dom(this).deepContains(activeElement))%7Bthis.__restoreFocusNode.focus()%7D%7Dthis.__restoreFocusNode%3Dnull%3Bthis._focusNode.blur()%3Bthis._focusedChild%3Dnull%7D%7D%2C%2F**%0A%20%20%20%20%20*%20Cancels%20(closes)%20the%20overlay.%20Call%20when%20click%20happens%20outside%20the%20overlay.%0A%20%20%20%20%20*%20%40param%20%7B!Event%7D%20event%0A%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20*%2F_onCaptureClick%3Afunction(event)%7Bif(!this.noCancelOnOutsideClick)%7Bthis.cancel(event)%7D%7D%2C%2F**%0A%20%20%20%20%20*%20Keeps%20track%20of%20the%20focused%20child.%20If%20withBackdrop%2C%20traps%20focus%20within%0A%20%20%20%20%20*%20overlay.%0A%20%20%20%20%20*%20%40param%20%7B!Event%7D%20event%0A%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20*%2F_onCaptureFocus%3Afunction(event)%7Bif(!this.withBackdrop)%7Breturn%7Dvar%20path%3DPolymer.dom(event).path%3Bif(-1%3D%3D%3Dpath.indexOf(this))%7Bevent.stopPropagation()%3Bthis._applyFocus()%7Delse%7Bthis._focusedChild%3Dpath%5B0%5D%7D%7D%2C%2F**%0A%20%20%20%20%20*%20Handles%20the%20ESC%20key%20event%20and%20cancels%20(closes)%20the%20overlay.%0A%20%20%20%20%20*%20%40param%20%7B!Event%7D%20event%0A%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20*%2F_onCaptureEsc%3Afunction(event)%7Bif(!this.noCancelOnEscKey)%7Bthis.cancel(event)%7D%7D%2C%2F**%0A%20%20%20%20%20*%20Handles%20TAB%20key%20events%20to%20track%20focus%20changes.%0A%20%20%20%20%20*%20Will%20wrap%20focus%20for%20overlays%20withBackdrop.%0A%20%20%20%20%20*%20%40param%20%7B!Event%7D%20event%0A%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20*%2F_onCaptureTab%3Afunction(event)%7Bif(!this.withBackdrop)%7Breturn%7Dthis.__ensureFirstLastFocusables()%3B%2F%2F%20TAB%20wraps%20from%20last%20to%20first%20focusable.%0A%2F%2F%20Shift%20%2B%20TAB%20wraps%20from%20first%20to%20last%20focusable.%0Avar%20shift%3Devent.shiftKey%2CnodeToCheck%3Dshift%3Fthis.__firstFocusableNode%3Athis.__lastFocusableNode%2CnodeToSet%3Dshift%3Fthis.__lastFocusableNode%3Athis.__firstFocusableNode%2CshouldWrap%3D!1%3Bif(nodeToCheck%3D%3D%3DnodeToSet)%7B%2F%2F%20If%20nodeToCheck%20is%20the%20same%20as%20nodeToSet%2C%20it%20means%20we%20have%20an%20overlay%0A%2F%2F%20with%200%20or%201%20focusables%3B%20in%20either%20case%20we%20still%20need%20to%20trap%20the%0A%2F%2F%20focus%20within%20the%20overlay.%0AshouldWrap%3D!0%7Delse%7B%2F%2F%20In%20dom%3Dshadow%2C%20the%20manager%20will%20receive%20focus%20changes%20on%20the%20main%0A%2F%2F%20root%20but%20not%20the%20ones%20within%20other%20shadow%20roots%2C%20so%20we%20can't%20rely%20on%0A%2F%2F%20_focusedChild%2C%20but%20we%20should%20check%20the%20deepest%20active%20element.%0Avar%20focusedNode%3Dthis._manager.deepActiveElement%3B%2F%2F%20If%20the%20active%20element%20is%20not%20the%20nodeToCheck%20but%20the%20overlay%20itself%2C%0A%2F%2F%20it%20means%20the%20focus%20is%20about%20to%20go%20outside%20the%20overlay%2C%20hence%20we%0A%2F%2F%20should%20prevent%20that%20(e.g.%20user%20opens%20the%20overlay%20and%20hit%20Shift%2BTAB).%0AshouldWrap%3DfocusedNode%3D%3D%3DnodeToCheck%7C%7CfocusedNode%3D%3D%3Dthis%7Dif(shouldWrap)%7B%2F%2F%20When%20the%20overlay%20contains%20the%20last%20focusable%20element%20of%20the%20document%0A%2F%2F%20and%20it's%20already%20focused%2C%20pressing%20TAB%20would%20move%20the%20focus%20outside%0A%2F%2F%20the%20document%20(e.g.%20to%20the%20browser%20search%20bar).%20Similarly%2C%20when%20the%0A%2F%2F%20overlay%20contains%20the%20first%20focusable%20element%20of%20the%20document%20and%20it's%0A%2F%2F%20already%20focused%2C%20pressing%20Shift%2BTAB%20would%20move%20the%20focus%20outside%20the%0A%2F%2F%20document%20(e.g.%20to%20the%20browser%20search%20bar).%0A%2F%2F%20In%20both%20cases%2C%20we%20would%20not%20receive%20a%20focus%20event%2C%20but%20only%20a%20blur.%0A%2F%2F%20In%20order%20to%20achieve%20focus%20wrapping%2C%20we%20prevent%20this%20TAB%20event%20and%0A%2F%2F%20force%20the%20focus.%20This%20will%20also%20prevent%20the%20focus%20to%20temporarily%20move%0A%2F%2F%20outside%20the%20overlay%2C%20which%20might%20cause%20scrolling.%0Aevent.preventDefault()%3Bthis._focusedChild%3DnodeToSet%3Bthis._applyFocus()%7D%7D%2C%2F**%0A%20%20%20%20%20*%20Refits%20if%20the%20overlay%20is%20opened%20and%20not%20animating.%0A%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20*%2F_onIronResize%3Afunction()%7Bif(this.opened%26%26!this.__isAnimating)%7Bthis.__deraf(%22refit%22%2Cthis.refit)%7D%7D%2C%2F**%0A%20%20%20%20%20*%20Will%20call%20notifyResize%20if%20overlay%20is%20opened.%0A%20%20%20%20%20*%20Can%20be%20overridden%20in%20order%20to%20avoid%20multiple%20observers%20on%20the%20same%20node.%0A%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20*%2F_onNodesChange%3Afunction()%7Bif(this.opened%26%26!this.__isAnimating)%7B%2F%2F%20It%20might%20have%20added%20focusable%20nodes%2C%20so%20invalidate%20cached%20values.%0Athis.invalidateTabbables()%3Bthis.notifyResize()%7D%7D%2C%2F**%0A%20%20%20%20%20*%20Will%20set%20first%20and%20last%20focusable%20nodes%20if%20any%20of%20them%20is%20not%20set.%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2F__ensureFirstLastFocusables%3Afunction()%7Bif(!this.__firstFocusableNode%7C%7C!this.__lastFocusableNode)%7Bvar%20focusableNodes%3Dthis._focusableNodes%3Bthis.__firstFocusableNode%3DfocusableNodes%5B0%5D%3Bthis.__lastFocusableNode%3DfocusableNodes%5BfocusableNodes.length-1%5D%7D%7D%2C%2F**%0A%20%20%20%20%20*%20Tasks%20executed%20when%20opened%20changes%3A%20prepare%20for%20the%20opening%2C%20move%20the%0A%20%20%20%20%20*%20focus%2C%20update%20the%20manager%2C%20render%20opened%2Fclosed.%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2F__openedChanged%3Afunction()%7Bif(this.opened)%7B%2F%2F%20Make%20overlay%20visible%2C%20then%20add%20it%20to%20the%20manager.%0Athis._prepareRenderOpened()%3Bthis._manager.addOverlay(this)%3B%2F%2F%20Move%20the%20focus%20to%20the%20child%20node%20with%20%5Bautofocus%5D.%0Athis._applyFocus()%3Bthis._renderOpened()%7Delse%7B%2F%2F%20Remove%20overlay%2C%20then%20restore%20the%20focus%20before%20actually%20closing.%0Athis._manager.removeOverlay(this)%3Bthis._applyFocus()%3Bthis._renderClosed()%7D%7D%2C%2F**%0A%20%20%20%20%20*%20Debounces%20the%20execution%20of%20a%20callback%20to%20the%20next%20animation%20frame.%0A%20%20%20%20%20*%20%40param%20%7B!string%7D%20jobname%0A%20%20%20%20%20*%20%40param%20%7B!Function%7D%20callback%20Always%20bound%20to%20%60this%60%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2F__deraf%3Afunction(jobname%2Ccallback)%7Bvar%20rafs%3Dthis.__rafs%3Bif(null!%3D%3Drafs%5Bjobname%5D)%7BcancelAnimationFrame(rafs%5Bjobname%5D)%7Drafs%5Bjobname%5D%3DrequestAnimationFrame(function%20nextAnimationFrame()%7Brafs%5Bjobname%5D%3Dnull%3Bcallback.call(this)%7D.bind(this))%7D%2C%2F**%0A%20%20%20%20%20*%20%40param%20%7Bboolean%7D%20isAttached%0A%20%20%20%20%20*%20%40param%20%7Bboolean%7D%20opened%0A%20%20%20%20%20*%20%40param%20%7Bstring%3D%7D%20scrollAction%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2F__updateScrollObservers%3Afunction(isAttached%2Copened%2CscrollAction)%7Bif(!isAttached%7C%7C!opened%7C%7C!this.__isValidScrollAction(scrollAction))%7BPolymer.IronScrollManager.removeScrollLock(this)%3Bthis.__removeScrollListeners()%7Delse%7Bif(%22lock%22%3D%3D%3DscrollAction)%7Bthis.__saveScrollPosition()%3BPolymer.IronScrollManager.pushScrollLock(this)%7Dthis.__addScrollListeners()%7D%7D%2C%2F**%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2F__addScrollListeners%3Afunction()%7Bif(!this.__rootNodes)%7Bthis.__rootNodes%3D%5B%5D%3B%2F%2F%20Listen%20for%20scroll%20events%20in%20all%20shadowRoots%20hosting%20this%20overlay%20only%0A%2F%2F%20when%20in%20native%20ShadowDOM.%0Aif(Polymer.Settings.useShadow)%7Bvar%20node%3Dthis%3Bwhile(node)%7Bif(node.nodeType%3D%3D%3DNode.DOCUMENT_FRAGMENT_NODE%26%26node.host)%7Bthis.__rootNodes.push(node)%7Dnode%3Dnode.host%7C%7Cnode.assignedSlot%7C%7Cnode.parentNode%7D%7Dthis.__rootNodes.push(document)%7Dthis.__rootNodes.forEach(function(el)%7Bel.addEventListener(%22scroll%22%2Cthis.__onCaptureScroll%2C%7Bcapture%3A!0%2Cpassive%3A!0%7D)%7D%2Cthis)%7D%2C%2F**%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2F__removeScrollListeners%3Afunction()%7Bif(this.__rootNodes)%7Bthis.__rootNodes.forEach(function(el)%7Bel.removeEventListener(%22scroll%22%2Cthis.__onCaptureScroll%2C%7Bcapture%3A!0%2Cpassive%3A!0%7D)%7D%2Cthis)%7Dif(!this.isAttached)%7Bthis.__rootNodes%3Dnull%7D%7D%2C%2F**%0A%20%20%20%20%20*%20%40param%20%7Bstring%3D%7D%20scrollAction%0A%20%20%20%20%20*%20%40return%20%7Bboolean%7D%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2F__isValidScrollAction%3Afunction(scrollAction)%7Breturn%22lock%22%3D%3D%3DscrollAction%7C%7C%22refit%22%3D%3D%3DscrollAction%7C%7C%22cancel%22%3D%3D%3DscrollAction%7D%2C%2F**%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2F__onCaptureScroll%3Afunction(event)%7Bif(this.__isAnimating)%7Breturn%7D%2F%2F%20Check%20if%20scroll%20outside%20the%20overlay.%0Aif(0%3C%3DPolymer.dom(event).path.indexOf(this))%7Breturn%7Dswitch(this.scrollAction)%7Bcase%22lock%22%3A%2F%2F%20NOTE%3A%20scrolling%20might%20happen%20if%20a%20scroll%20event%20is%20not%20cancellable%2C%20or%0A%2F%2F%20if%20user%20pressed%20keys%20that%20cause%20scrolling%20(they're%20not%20prevented%20in%0A%2F%2F%20order%20not%20to%20break%20a11y%20features%20like%20navigate%20with%20arrow%20keys).%0Athis.__restoreScrollPosition()%3Bbreak%3Bcase%22refit%22%3Athis.__deraf(%22refit%22%2Cthis.refit)%3Bbreak%3Bcase%22cancel%22%3Athis.cancel(event)%3Bbreak%3B%7D%7D%2C%2F**%0A%20%20%20%20%20*%20Memoizes%20the%20scroll%20position%20of%20the%20outside%20scrolling%20element.%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2F__saveScrollPosition%3Afunction()%7Bif(document.scrollingElement)%7Bthis.__scrollTop%3Ddocument.scrollingElement.scrollTop%3Bthis.__scrollLeft%3Ddocument.scrollingElement.scrollLeft%7Delse%7B%2F%2F%20Since%20we%20don't%20know%20if%20is%20the%20body%20or%20html%2C%20get%20max.%0Athis.__scrollTop%3DMath.max(document.documentElement.scrollTop%2Cdocument.body.scrollTop)%3Bthis.__scrollLeft%3DMath.max(document.documentElement.scrollLeft%2Cdocument.body.scrollLeft)%7D%7D%2C%2F**%0A%20%20%20%20%20*%20Resets%20the%20scroll%20position%20of%20the%20outside%20scrolling%20element.%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2F__restoreScrollPosition%3Afunction()%7Bif(document.scrollingElement)%7Bdocument.scrollingElement.scrollTop%3Dthis.__scrollTop%3Bdocument.scrollingElement.scrollLeft%3Dthis.__scrollLeft%7Delse%7B%2F%2F%20Since%20we%20don't%20know%20if%20is%20the%20body%20or%20html%2C%20set%20both.%0Adocument.documentElement.scrollTop%3Ddocument.body.scrollTop%3Dthis.__scrollTop%3Bdocument.documentElement.scrollLeft%3Ddocument.body.scrollLeft%3Dthis.__scrollLeft%7D%7D%7D%3B%2F**%0A%20%20Use%20%60Polymer.IronOverlayBehavior%60%20to%20implement%20an%20element%20that%20can%20be%20hidden%20or%0A%20%20shown%2C%20and%20displays%20on%20top%20of%20other%20content.%20It%20includes%20an%20optional%20backdrop%2C%0A%20%20and%20can%20be%20used%20to%20implement%20a%20variety%20of%20UI%20controls%20including%20dialogs%20and%20drop%0A%20%20downs.%20Multiple%20overlays%20may%20be%20displayed%20at%20once.%0A%0A%20%20See%20the%20%5Bdemo%20source%0A%20%20code%5D(https%3A%2F%2Fgithub.com%2FPolymerElements%2Firon-overlay-behavior%2Fblob%2Fmaster%2Fdemo%2Fsimple-overlay.html)%0A%20%20for%20an%20example.%0A%0A%20%20%23%23%23%20Closing%20and%20canceling%0A%0A%20%20An%20overlay%20may%20be%20hidden%20by%20closing%20or%20canceling.%20The%20difference%20between%20close%0A%20%20and%20cancel%20is%20user%20intent.%20Closing%20generally%20implies%20that%20the%20user%20acknowledged%0A%20%20the%20content%20on%20the%20overlay.%20By%20default%2C%20it%20will%20cancel%20whenever%20the%20user%20taps%0A%20%20outside%20it%20or%20presses%20the%20escape%20key.%20This%20behavior%20is%20configurable%20with%20the%0A%20%20%60no-cancel-on-esc-key%60%20and%20the%20%60no-cancel-on-outside-click%60%20properties.%0A%20%20%60close()%60%20should%20be%20called%20explicitly%20by%20the%20implementer%20when%20the%20user%20interacts%0A%20%20with%20a%20control%20in%20the%20overlay%20element.%20When%20the%20dialog%20is%20canceled%2C%20the%20overlay%0A%20%20fires%20an%20'iron-overlay-canceled'%20event.%20Call%20%60preventDefault%60%20on%20this%20event%20to%0A%20%20prevent%20the%20overlay%20from%20closing.%0A%0A%20%20%23%23%23%20Positioning%0A%0A%20%20By%20default%20the%20element%20is%20sized%20and%20positioned%20to%20fit%20and%20centered%20inside%20the%0A%20%20window.%20You%20can%20position%20and%20size%20it%20manually%20using%20CSS.%20See%0A%20%20%60Polymer.IronFitBehavior%60.%0A%0A%20%20%23%23%23%20Backdrop%0A%0A%20%20Set%20the%20%60with-backdrop%60%20attribute%20to%20display%20a%20backdrop%20behind%20the%20overlay.%20The%0A%20%20backdrop%20is%20appended%20to%20%60%3Cbody%3E%60%20and%20is%20of%20type%20%60%3Ciron-overlay-backdrop%3E%60.%20See%0A%20%20its%20doc%20page%20for%20styling%20options.%0A%0A%20%20In%20addition%2C%20%60with-backdrop%60%20will%20wrap%20the%20focus%20within%20the%20content%20in%20the%20light%0A%20%20DOM.%20Override%20the%20%5B%60_focusableNodes%60%0A%20%20getter%5D(%23Polymer.IronOverlayBehavior%3Aproperty-_focusableNodes)%20to%20achieve%20a%0A%20%20different%20behavior.%0A%0A%20%20%23%23%23%20Limitations%0A%0A%20%20The%20element%20is%20styled%20to%20appear%20on%20top%20of%20other%20content%20by%20setting%20its%20%60z-index%60%0A%20%20property.%20You%20must%20ensure%20no%20element%20has%20a%20stacking%20context%20with%20a%20higher%0A%20%20%60z-index%60%20than%20its%20parent%20stacking%20context.%20You%20should%20place%20this%20element%20as%20a%0A%20%20child%20of%20%60%3Cbody%3E%60%20whenever%20possible.%0A%0A%20%20%40demo%20demo%2Findex.html%0A%20%20%40polymerBehavior%0A%20%20*%2FPolymer.IronOverlayBehavior%3D%5BPolymer.IronFitBehavior%2CPolymer.IronResizableBehavior%2CPolymer.IronOverlayBehaviorImpl%5D%3B%2F**%0A%20%20%20*%20Fired%20after%20the%20overlay%20opens.%0A%20%20%20*%20%40event%20iron-overlay-opened%0A%20%20%20*%2F%20%2F**%0A%20%20%20*%20Fired%20when%20the%20overlay%20is%20canceled%2C%20but%20before%20it%20is%20closed.%0A%20%20%20*%20%40event%20iron-overlay-canceled%0A%20%20%20*%20%40param%20%7BEvent%7D%20event%20The%20closing%20of%20the%20overlay%20can%20be%20prevented%0A%20%20%20*%20by%20calling%20%60event.preventDefault()%60.%20The%20%60event.detail%60%20is%20the%20original%20event%0A%20%20%20*%20that%20originated%20the%20canceling%20(e.g.%20ESC%20keyboard%20event%20or%20click%20event%20outside%0A%20%20%20*%20the%20overlay).%0A%20%20%20*%2F%20%2F**%0A%20%20%20*%20Fired%20after%20the%20overlay%20closes.%0A%20%20%20*%20%40event%20iron-overlay-closed%0A%20%20%20*%20%40param%20%7BEvent%7D%20event%20The%20%60event.detail%60%20is%20the%20%60closingReason%60%20property%0A%20%20%20*%20(contains%20%60canceled%60%2C%20whether%20the%20overlay%20was%20canceled).%0A%20%20%20*%2F%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Firon-overlay-behavior%2Firon-overlay-behavior.html.js%0A | 21 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,'use%20strict'%3BPolymer(%7Bis%3A%22iron-ajax%22%2C%2F**%0A%20%20%20%20%20*%20Fired%20before%20a%20request%20is%20sent.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40event%20iron-ajax-presend%0A%20%20%20%20%20*%2F%20%2F**%0A%20%20%20%20%20*%20Fired%20when%20a%20request%20is%20sent.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40event%20request%0A%20%20%20%20%20*%2F%20%2F**%0A%20%20%20%20%20*%20Fired%20when%20a%20request%20is%20sent.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40event%20iron-ajax-request%0A%20%20%20%20%20*%2F%20%2F**%0A%20%20%20%20%20*%20Fired%20when%20a%20response%20is%20received.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40event%20response%0A%20%20%20%20%20*%2F%20%2F**%0A%20%20%20%20%20*%20Fired%20when%20a%20response%20is%20received.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40event%20iron-ajax-response%0A%20%20%20%20%20*%2F%20%2F**%0A%20%20%20%20%20*%20Fired%20when%20an%20error%20is%20received.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40event%20error%0A%20%20%20%20%20*%2F%20%2F**%0A%20%20%20%20%20*%20Fired%20when%20an%20error%20is%20received.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40event%20iron-ajax-error%0A%20%20%20%20%20*%2FhostAttributes%3A%7Bhidden%3A!0%7D%2Cproperties%3A%7B%2F**%0A%20%20%20%20%20%20%20*%20The%20URL%20target%20of%20the%20request.%0A%20%20%20%20%20%20%20*%2Furl%3A%7Btype%3AString%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20An%20object%20that%20contains%20query%20parameters%20to%20be%20appended%20to%20the%0A%20%20%20%20%20%20%20*%20specified%20%60url%60%20when%20generating%20a%20request.%20If%20you%20wish%20to%20set%20the%20body%0A%20%20%20%20%20%20%20*%20content%20when%20making%20a%20POST%20request%2C%20you%20should%20use%20the%20%60body%60%20property%0A%20%20%20%20%20%20%20*%20instead.%0A%20%20%20%20%20%20%20*%2Fparams%3A%7Btype%3AObject%2Cvalue%3Afunction()%7Breturn%7B%7D%7D%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20The%20HTTP%20method%20to%20use%20such%20as%20'GET'%2C%20'POST'%2C%20'PUT'%2C%20or%20'DELETE'.%0A%20%20%20%20%20%20%20*%20Default%20is%20'GET'.%0A%20%20%20%20%20%20%20*%2Fmethod%3A%7Btype%3AString%2Cvalue%3A%22GET%22%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20HTTP%20request%20headers%20to%20send.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20Example%3A%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%20%20%20%20%3Ciron-ajax%0A%20%20%20%20%20%20%20*%20%20%20%20%20%20%20%20%20auto%0A%20%20%20%20%20%20%20*%20%20%20%20%20%20%20%20%20url%3D%22http%3A%2F%2Fsomesite.com%22%0A%20%20%20%20%20%20%20*%20%20%20%20%20%20%20%20%20headers%3D'%7B%22X-Requested-With%22%3A%20%22XMLHttpRequest%22%7D'%0A%20%20%20%20%20%20%20*%20%20%20%20%20%20%20%20%20handle-as%3D%22json%22%3E%3C%2Firon-ajax%3E%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20Note%3A%20setting%20a%20%60Content-Type%60%20header%20here%20will%20override%20the%20value%0A%20%20%20%20%20%20%20*%20specified%20by%20the%20%60contentType%60%20property%20of%20this%20element.%0A%20%20%20%20%20%20%20*%2Fheaders%3A%7Btype%3AObject%2Cvalue%3Afunction()%7Breturn%7B%7D%7D%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20Content%20type%20to%20use%20when%20sending%20data.%20If%20the%20%60contentType%60%20property%0A%20%20%20%20%20%20%20*%20is%20set%20and%20a%20%60Content-Type%60%20header%20is%20specified%20in%20the%20%60headers%60%0A%20%20%20%20%20%20%20*%20property%2C%20the%20%60headers%60%20property%20value%20will%20take%20precedence.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20Varies%20the%20handling%20of%20the%20%60body%60%20param.%0A%20%20%20%20%20%20%20*%2FcontentType%3A%7Btype%3AString%2Cvalue%3Anull%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20Body%20content%20to%20send%20with%20the%20request%2C%20typically%20used%20with%20%22POST%22%0A%20%20%20%20%20%20%20*%20requests.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20If%20body%20is%20a%20string%20it%20will%20be%20sent%20unmodified.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20If%20Content-Type%20is%20set%20to%20a%20value%20listed%20below%2C%20then%0A%20%20%20%20%20%20%20*%20the%20body%20will%20be%20encoded%20accordingly.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%20%20%20*%20%60content-type%3D%22application%2Fjson%22%60%0A%20%20%20%20%20%20%20*%20%20%20%20%20%20*%20body%20is%20encoded%20like%20%60%7B%22foo%22%3A%22bar%20baz%22%2C%22x%22%3A1%7D%60%0A%20%20%20%20%20%20%20*%20%20%20%20*%20%60content-type%3D%22application%2Fx-www-form-urlencoded%22%60%0A%20%20%20%20%20%20%20*%20%20%20%20%20%20*%20body%20is%20encoded%20like%20%60foo%3Dbar%2Bbaz%26x%3D1%60%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20Otherwise%20the%20body%20will%20be%20passed%20to%20the%20browser%20unmodified%2C%20and%20it%0A%20%20%20%20%20%20%20*%20will%20handle%20any%20encoding%20(e.g.%20for%20FormData%2C%20Blob%2C%20ArrayBuffer).%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40type%20(ArrayBuffer%7CArrayBufferView%7CBlob%7CDocument%7CFormData%7Cnull%7Cstring%7Cundefined%7CObject)%0A%20%20%20%20%20%20%20*%2Fbody%3A%7Btype%3AObject%2Cvalue%3Anull%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20Toggle%20whether%20XHR%20is%20synchronous%20or%20asynchronous.%20Don't%20change%20this%0A%20%20%20%20%20%20%20*%20to%20true%20unless%20You%20Know%20What%20You%20Are%20Doing%E2%84%A2.%0A%20%20%20%20%20%20%20*%2Fsync%3A%7Btype%3ABoolean%2Cvalue%3A!1%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20Specifies%20what%20data%20to%20store%20in%20the%20%60response%60%20property%2C%20and%0A%20%20%20%20%20%20%20*%20to%20deliver%20as%20%60event.detail.response%60%20in%20%60response%60%20events.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20One%20of%3A%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%20%20%20%60text%60%3A%20uses%20%60XHR.responseText%60.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%20%20%20%60xml%60%3A%20uses%20%60XHR.responseXML%60.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%20%20%20%60json%60%3A%20uses%20%60XHR.responseText%60%20parsed%20as%20JSON.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%20%20%20%60arraybuffer%60%3A%20uses%20%60XHR.response%60.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%20%20%20%60blob%60%3A%20uses%20%60XHR.response%60.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%20%20%20%60document%60%3A%20uses%20%60XHR.response%60.%0A%20%20%20%20%20%20%20*%2FhandleAs%3A%7Btype%3AString%2Cvalue%3A%22json%22%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20Set%20the%20withCredentials%20flag%20on%20the%20request.%0A%20%20%20%20%20%20%20*%2FwithCredentials%3A%7Btype%3ABoolean%2Cvalue%3A!1%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20Set%20the%20timeout%20flag%20on%20the%20request.%0A%20%20%20%20%20%20%20*%2Ftimeout%3A%7Btype%3ANumber%2Cvalue%3A0%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20If%20true%2C%20automatically%20performs%20an%20Ajax%20request%20when%20either%20%60url%60%20or%0A%20%20%20%20%20%20%20*%20%60params%60%20changes.%0A%20%20%20%20%20%20%20*%2Fauto%3A%7Btype%3ABoolean%2Cvalue%3A!1%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20If%20true%2C%20error%20messages%20will%20automatically%20be%20logged%20to%20the%20console.%0A%20%20%20%20%20%20%20*%2Fverbose%3A%7Btype%3ABoolean%2Cvalue%3A!1%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20The%20most%20recent%20request%20made%20by%20this%20iron-ajax%20element.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40type%20%7BObject%7Cundefined%7D%0A%20%20%20%20%20%20%20*%2FlastRequest%3A%7Btype%3AObject%2Cnotify%3A!0%2CreadOnly%3A!0%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20The%20%60progress%60%20property%20of%20this%20element's%20%60lastRequest%60.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40type%20%7BObject%7Cundefined%7D%0A%20%20%20%20%20%20%20*%2FlastProgress%3A%7Btype%3AObject%2Cnotify%3A!0%2CreadOnly%3A!0%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20True%20while%20lastRequest%20is%20in%20flight.%0A%20%20%20%20%20%20%20*%2Floading%3A%7Btype%3ABoolean%2Cnotify%3A!0%2CreadOnly%3A!0%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20lastRequest's%20response.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20Note%20that%20lastResponse%20and%20lastError%20are%20set%20when%20lastRequest%20finishes%2C%0A%20%20%20%20%20%20%20*%20so%20if%20loading%20is%20true%2C%20then%20lastResponse%20and%20lastError%20will%20correspond%0A%20%20%20%20%20%20%20*%20to%20the%20result%20of%20the%20previous%20request.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20The%20type%20of%20the%20response%20is%20determined%20by%20the%20value%20of%20%60handleAs%60%20at%0A%20%20%20%20%20%20%20*%20the%20time%20that%20the%20request%20was%20generated.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40type%20%7BObject%7D%0A%20%20%20%20%20%20%20*%2FlastResponse%3A%7Btype%3AObject%2Cnotify%3A!0%2CreadOnly%3A!0%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20lastRequest's%20error%2C%20if%20any.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40type%20%7BObject%7D%0A%20%20%20%20%20%20%20*%2FlastError%3A%7Btype%3AObject%2Cnotify%3A!0%2CreadOnly%3A!0%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20An%20Array%20of%20all%20in-flight%20requests%20originating%20from%20this%20iron-ajax%0A%20%20%20%20%20%20%20*%20element.%0A%20%20%20%20%20%20%20*%2FactiveRequests%3A%7Btype%3AArray%2Cnotify%3A!0%2CreadOnly%3A!0%2Cvalue%3Afunction()%7Breturn%5B%5D%7D%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20Length%20of%20time%20in%20milliseconds%20to%20debounce%20multiple%20automatically%20generated%20requests.%0A%20%20%20%20%20%20%20*%2FdebounceDuration%3A%7Btype%3ANumber%2Cvalue%3A0%2Cnotify%3A!0%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20Prefix%20to%20be%20stripped%20from%20a%20JSON%20response%20before%20parsing%20it.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20In%20order%20to%20prevent%20an%20attack%20using%20CSRF%20with%20Array%20responses%0A%20%20%20%20%20%20%20*%20(http%3A%2F%2Fhaacked.com%2Farchive%2F2008%2F11%2F20%2Fanatomy-of-a-subtle-json-vulnerability.aspx%2F)%0A%20%20%20%20%20%20%20*%20many%20backends%20will%20mitigate%20this%20by%20prefixing%20all%20JSON%20response%20bodies%0A%20%20%20%20%20%20%20*%20with%20a%20string%20that%20would%20be%20nonsensical%20to%20a%20JavaScript%20parser.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%2FjsonPrefix%3A%7Btype%3AString%2Cvalue%3A%22%22%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20By%20default%2C%20iron-ajax's%20events%20do%20not%20bubble.%20Setting%20this%20attribute%20will%20cause%20its%0A%20%20%20%20%20%20%20*%20request%20and%20response%20events%20as%20well%20as%20its%20iron-ajax-request%2C%20-response%2C%20%20and%20-error%0A%20%20%20%20%20%20%20*%20events%20to%20bubble%20to%20the%20window%20object.%20The%20vanilla%20error%20event%20never%20bubbles%20when%0A%20%20%20%20%20%20%20*%20using%20shadow%20dom%20even%20if%20this.bubbles%20is%20true%20because%20a%20scoped%20flag%20is%20not%20passed%20with%0A%20%20%20%20%20%20%20*%20it%20(first%20link)%20and%20because%20the%20shadow%20dom%20spec%20did%20not%20used%20to%20allow%20certain%20events%2C%0A%20%20%20%20%20%20%20*%20including%20events%20named%20error%2C%20to%20leak%20outside%20of%20shadow%20trees%20(second%20link).%0A%20%20%20%20%20%20%20*%20https%3A%2F%2Fwww.w3.org%2FTR%2Fshadow-dom%2F%23scoped-flag%0A%20%20%20%20%20%20%20*%20https%3A%2F%2Fwww.w3.org%2FTR%2F2015%2FWD-shadow-dom-20151215%2F%23events-that-are-not-leaked-into-ancestor-trees%0A%20%20%20%20%20%20%20*%2Fbubbles%3A%7Btype%3ABoolean%2Cvalue%3A!1%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20Changes%20the%20%5B%60completes%60%5D(iron-request%23property-completes)%20promise%20chain%20%0A%20%20%20%20%20%20%20*%20from%20%60generateRequest%60%20to%20reject%20with%20an%20object%0A%20%20%20%20%20%20%20*%20containing%20the%20original%20request%2C%20as%20well%20an%20error%20message.%0A%20%20%20%20%20%20%20*%20If%20false%20(default)%2C%20the%20promise%20rejects%20with%20an%20error%20message%20only.%0A%20%20%20%20%20%20%20*%2FrejectWithRequest%3A%7Btype%3ABoolean%2Cvalue%3A!1%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%2Ccreated%3Afunction()%7Bthis._boundOnProgressChanged%3Dthis._onProgressChanged.bind(this)%7D%2C%2F**%0A%20%20%20%20%20*%20The%20query%20string%20that%20should%20be%20appended%20to%20the%20%60url%60%2C%20serialized%20from%0A%20%20%20%20%20*%20the%20current%20value%20of%20%60params%60.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40return%20%7Bstring%7D%0A%20%20%20%20%20*%2Fget%20queryString()%7Bvar%20queryParts%3D%5B%5D%2Cparam%2Cvalue%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(null!%3D%3Dvalue)%7BqueryParts.push(param%2B%22%3D%22%2Bwindow.encodeURIComponent(value))%7Delse%7BqueryParts.push(param)%7D%7Dreturn%20queryParts.join(%22%26%22)%7D%2C%2F**%0A%20%20%20%20%20*%20The%20%60url%60%20with%20query%20string%20(if%20%60params%60%20are%20specified)%2C%20suitable%20for%0A%20%20%20%20%20*%20providing%20to%20an%20%60iron-request%60%20instance.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40return%20%7Bstring%7D%0A%20%20%20%20%20*%2Fget%20requestUrl()%7Bvar%20queryString%3Dthis.queryString%2Curl%3Dthis.url%7C%7C%22%22%3Bif(queryString)%7Bvar%20bindingChar%3D0%3C%3Durl.indexOf(%22%3F%22)%3F%22%26%22%3A%22%3F%22%3Breturn%20url%2BbindingChar%2BqueryString%7Dreturn%20url%7D%2C%2F**%0A%20%20%20%20%20*%20An%20object%20that%20maps%20header%20names%20to%20header%20values%2C%20first%20applying%20the%0A%20%20%20%20%20*%20the%20value%20of%20%60Content-Type%60%20and%20then%20overlaying%20the%20headers%20specified%0A%20%20%20%20%20*%20in%20the%20%60headers%60%20property.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40return%20%7BObject%7D%0A%20%20%20%20%20*%2Fget%20requestHeaders()%7Bvar%20headers%3D%7B%7D%2CcontentType%3Dthis.contentType%3Bif(null%3D%3DcontentType%26%26%22string%22%3D%3D%3Dtypeof%20this.body)%7BcontentType%3D%22application%2Fx-www-form-urlencoded%22%7Dif(contentType)%7Bheaders%5B%22content-type%22%5D%3DcontentType%7Dvar%20header%3Bif(%22object%22%3D%3D%3Dtypeof%20this.headers)%7Bfor(header%20in%20this.headers)%7Bheaders%5Bheader%5D%3Dthis.headers%5Bheader%5D.toString()%7D%7Dreturn%20headers%7D%2C_onProgressChanged%3Afunction(event)%7Bthis._setLastProgress(event.detail.value)%7D%2C%2F**%0A%20%20%20%20%20*%20Request%20options%20suitable%20for%20generating%20an%20%60iron-request%60%20instance%20based%0A%20%20%20%20%20*%20on%20the%20current%20state%20of%20the%20%60iron-ajax%60%20instance's%20properties.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40return%20%7B%7B%0A%20%20%20%20%20*%20%20%20url%3A%20string%2C%0A%20%20%20%20%20*%20%20%20method%3A%20(string%7Cundefined)%2C%0A%20%20%20%20%20*%20%20%20async%3A%20(boolean%7Cundefined)%2C%0A%20%20%20%20%20*%20%20%20body%3A%20(ArrayBuffer%7CArrayBufferView%7CBlob%7CDocument%7CFormData%7Cnull%7Cstring%7Cundefined%7CObject)%2C%0A%20%20%20%20%20*%20%20%20headers%3A%20(Object%7Cundefined)%2C%0A%20%20%20%20%20*%20%20%20handleAs%3A%20(string%7Cundefined)%2C%0A%20%20%20%20%20*%20%20%20jsonPrefix%3A%20(string%7Cundefined)%2C%0A%20%20%20%20%20*%20%20%20withCredentials%3A%20(boolean%7Cundefined)%7D%7D%0A%20%20%20%20%20*%2FtoRequestOptions%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%2CrejectWithRequest%3Athis.rejectWithRequest%7D%7D%2C%2F**%0A%20%20%20%20%20*%20Performs%20an%20AJAX%20request%20to%20the%20specified%20URL.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40return%20%7B!IronRequestElement%7D%0A%20%20%20%20%20*%2FgenerateRequest%3Afunction()%7Bvar%20request%3D%2F**%20%40type%20%7B!IronRequestElement%7D%20*%2Fdocument.createElement(%22iron-request%22)%2CrequestOptions%3Dthis.toRequestOptions()%3Bthis.push(%22activeRequests%22%2Crequest)%3Brequest.completes.then(this._boundHandleResponse).catch(this._handleError.bind(this%2Crequest)).then(this._discardRequest.bind(this%2Crequest))%3Bvar%20evt%3Dthis.fire(%22iron-ajax-presend%22%2C%7Brequest%3Arequest%2Coptions%3ArequestOptions%7D%2C%7Bbubbles%3Athis.bubbles%2Ccancelable%3A!0%7D)%3Bif(evt.defaultPrevented)%7Brequest.abort()%3Brequest.rejectCompletes(request)%3Breturn%20request%7Dif(this.lastRequest)%7Bthis.lastRequest.removeEventListener(%22iron-request-progress-changed%22%2Cthis._boundOnProgressChanged)%7Drequest.addEventListener(%22iron-request-progress-changed%22%2Cthis._boundOnProgressChanged)%3Brequest.send(requestOptions)%3Bthis._setLastProgress(null)%3Bthis._setLastRequest(request)%3Bthis._setLoading(!0)%3Bthis.fire(%22request%22%2C%7Brequest%3Arequest%2Coptions%3ArequestOptions%7D%2C%7Bbubbles%3Athis.bubbles%2Ccomposed%3A!0%7D)%3Bthis.fire(%22iron-ajax-request%22%2C%7Brequest%3Arequest%2Coptions%3ArequestOptions%7D%2C%7Bbubbles%3Athis.bubbles%2Ccomposed%3A!0%7D)%3Breturn%20request%7D%2C_handleResponse%3Afunction(request)%7Bif(request%3D%3D%3Dthis.lastRequest)%7Bthis._setLastResponse(request.response)%3Bthis._setLastError(null)%3Bthis._setLoading(!1)%7Dthis.fire(%22response%22%2Crequest%2C%7Bbubbles%3Athis.bubbles%2Ccomposed%3A!0%7D)%3Bthis.fire(%22iron-ajax-response%22%2Crequest%2C%7Bbubbles%3Athis.bubbles%2Ccomposed%3A!0%7D)%7D%2C_handleError%3Afunction(request%2Cerror)%7Bif(this.verbose)%7BPolymer.Base._error(error)%7Dif(request%3D%3D%3Dthis.lastRequest)%7Bthis._setLastError(%7Brequest%3Arequest%2Cerror%3Aerror%2Cstatus%3Arequest.xhr.status%2CstatusText%3Arequest.xhr.statusText%2Cresponse%3Arequest.xhr.response%7D)%3Bthis._setLastResponse(null)%3Bthis._setLoading(!1)%7D%2F%2F%20Tests%20fail%20if%20this%20goes%20after%20the%20normal%20this.fire('error'%2C%20...)%0Athis.fire(%22iron-ajax-error%22%2C%7Brequest%3Arequest%2Cerror%3Aerror%7D%2C%7Bbubbles%3Athis.bubbles%2Ccomposed%3A!0%7D)%3Bthis.fire(%22error%22%2C%7Brequest%3Arequest%2Cerror%3Aerror%7D%2C%7Bbubbles%3Athis.bubbles%2Ccomposed%3A!0%7D)%7D%2C_discardRequest%3Afunction(request)%7Bvar%20requestIndex%3Dthis.activeRequests.indexOf(request)%3Bif(-1%3CrequestIndex)%7Bthis.splice(%22activeRequests%22%2CrequestIndex%2C1)%7D%7D%2C_requestOptionsChanged%3Afunction()%7Bthis.debounce(%22generate-request%22%2Cfunction()%7Bif(null%3D%3Dthis.url)%7Breturn%7Dif(this.auto)%7Bthis.generateRequest()%7D%7D%2Cthis.debounceDuration)%7D%7D)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Firon-ajax%2Firon-ajax.html.js%0A | 12 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7B'use%20strict'%3B%2F**%0A%20%20%20*%20Used%20to%20calculate%20the%20scroll%20direction%20during%20touch%20events.%0A%20%20%20*%20%40type%20%7B!Object%7D%0A%20%20%20*%2Fvar%20lastTouchPosition%3D%7BpageX%3A0%2CpageY%3A0%7D%2ClastRootTarget%3Dnull%2ClastScrollableNodes%3D%5B%5D%2CscrollEvents%3D%5B%2F%2F%20Modern%20%60wheel%60%20event%20for%20mouse%20wheel%20scrolling%3A%0A%22wheel%22%2C%2F%2F%20Older%2C%20non-standard%20%60mousewheel%60%20event%20for%20some%20FF%3A%0A%22mousewheel%22%2C%2F%2F%20IE%3A%0A%22DOMMouseScroll%22%2C%2F%2F%20Touch%20enabled%20devices%0A%22touchstart%22%2C%22touchmove%22%5D%3B%2F**%0A%20%20%20*%20Used%20to%20avoid%20computing%20event.path%20and%20filter%20scrollable%20nodes%20(better%20perf).%0A%20%20%20*%20%40type%20%7B%3FEventTarget%7D%0A%20%20%20*%2F%20%2F**%0A%20%20%20*%20The%20IronScrollManager%20is%20intended%20to%20provide%20a%20central%20source%0A%20%20%20*%20of%20authority%20and%20control%20over%20which%20elements%20in%20a%20document%20are%20currently%0A%20%20%20*%20allowed%20to%20scroll.%0A%20%20%20*%0A%20%20%20*%20%40namespace%0A%20%20%20*%20%40memberof%20Polymer%0A%20%20%20*%2FPolymer.IronScrollManager%3D%7B%2F**%0A%20%20%20%20%20*%20The%20current%20element%20that%20defines%20the%20DOM%20boundaries%20of%20the%0A%20%20%20%20%20*%20scroll%20lock.%20This%20is%20always%20the%20most%20recently%20locking%20element.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40return%20%7B!Node%7Cundefined%7D%0A%20%20%20%20%20*%2Fget%20currentLockingElement()%7Breturn%20this._lockingElements%5Bthis._lockingElements.length-1%5D%7D%2C%2F**%0A%20%20%20%20%20*%20Returns%20true%20if%20the%20provided%20element%20is%20%22scroll%20locked%22%2C%20which%20is%20to%0A%20%20%20%20%20*%20say%20that%20it%20cannot%20be%20scrolled%20via%20pointer%20or%20keyboard%20interactions.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40memberof%20Polymer.IronScrollManager%0A%20%20%20%20%20*%20%40param%20%7B!HTMLElement%7D%20element%20An%20HTML%20element%20instance%20which%20may%20or%20may%0A%20%20%20%20%20*%20not%20be%20scroll%20locked.%0A%20%20%20%20%20*%2FelementIsScrollLocked%3Afunction(element)%7Bvar%20currentLockingElement%3Dthis.currentLockingElement%3Bif(currentLockingElement%3D%3D%3D%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0Avoid%200)return(%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A!1)%3Bvar%20scrollLocked%3Bif(this._hasCachedLockedElement(element))%7Breturn(%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A)%7Dif(this._hasCachedUnlockedElement(element))%7Breturn!1%7DscrollLocked%3D!!currentLockingElement%26%26currentLockingElement!%3D%3Delement%26%26!this._composedTreeContains(currentLockingElement%2Celement)%3Bif(scrollLocked)%7Bthis._lockedElementCache.push(element)%7Delse%7Bthis._unlockedElementCache.push(element)%7Dreturn%20scrollLocked%7D%2C%2F**%0A%20%20%20%20%20*%20Push%20an%20element%20onto%20the%20current%20scroll%20lock%20stack.%20The%20most%20recently%0A%20%20%20%20%20*%20pushed%20element%20and%20its%20children%20will%20be%20considered%20scrollable.%20All%0A%20%20%20%20%20*%20other%20elements%20will%20not%20be%20scrollable.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20Scroll%20locking%20is%20implemented%20as%20a%20stack%20so%20that%20cases%20such%20as%0A%20%20%20%20%20*%20dropdowns%20within%20dropdowns%20are%20handled%20well.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40memberof%20Polymer.IronScrollManager%0A%20%20%20%20%20*%20%40param%20%7B!HTMLElement%7D%20element%20The%20element%20that%20should%20lock%20scroll.%0A%20%20%20%20%20*%2FpushScrollLock%3Afunction(element)%7B%2F%2F%20Prevent%20pushing%20the%20same%20element%20twice%0Aif(0%3C%3Dthis._lockingElements.indexOf(element))%7Breturn%7Dif(0%3D%3D%3Dthis._lockingElements.length)%7Bthis._lockScrollInteractions()%7Dthis._lockingElements.push(element)%3Bthis._lockedElementCache%3D%5B%5D%3Bthis._unlockedElementCache%3D%5B%5D%7D%2C%2F**%0A%20%20%20%20%20*%20Remove%20an%20element%20from%20the%20scroll%20lock%20stack.%20The%20element%20being%0A%20%20%20%20%20*%20removed%20does%20not%20need%20to%20be%20the%20most%20recently%20pushed%20element.%20However%2C%0A%20%20%20%20%20*%20the%20scroll%20lock%20constraints%20only%20change%20when%20the%20most%20recently%20pushed%0A%20%20%20%20%20*%20element%20is%20removed.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40memberof%20Polymer.IronScrollManager%0A%20%20%20%20%20*%20%40param%20%7B!HTMLElement%7D%20element%20The%20element%20to%20remove%20from%20the%20scroll%0A%20%20%20%20%20*%20lock%20stack.%0A%20%20%20%20%20*%2FremoveScrollLock%3Afunction(element)%7Bvar%20index%3Dthis._lockingElements.indexOf(element)%3Bif(-1%3D%3D%3Dindex)%7Breturn%7Dthis._lockingElements.splice(index%2C1)%3Bthis._lockedElementCache%3D%5B%5D%3Bthis._unlockedElementCache%3D%5B%5D%3Bif(0%3D%3D%3Dthis._lockingElements.length)%7Bthis._unlockScrollInteractions()%7D%7D%2C_lockingElements%3A%5B%5D%2C_lockedElementCache%3Anull%2C_unlockedElementCache%3Anull%2C_hasCachedLockedElement%3Afunction(element)%7Breturn-1%3Cthis._lockedElementCache.indexOf(element)%7D%2C_hasCachedUnlockedElement%3Afunction(element)%7Breturn-1%3Cthis._unlockedElementCache.indexOf(element)%7D%2C_composedTreeContains%3Afunction(element%2Cchild)%7B%2F%2F%20NOTE(cdata)%3A%20This%20method%20iterates%20over%20content%20elements%20and%20their%0A%2F%2F%20corresponding%20distributed%20nodes%20to%20implement%20a%20contains-like%20method%0A%2F%2F%20that%20pierces%20through%20the%20composed%20tree%20of%20the%20ShadowDOM.%20Results%20of%0A%2F%2F%20this%20operation%20are%20cached%20(elsewhere)%20on%20a%20per-scroll-lock%20basis%2C%20to%0A%2F%2F%20guard%20against%20potentially%20expensive%20lookups%20happening%20repeatedly%20as%0A%2F%2F%20a%20user%20scrolls%20%2F%20touchmoves.%0Avar%20contentElements%2CdistributedNodes%2CcontentIndex%2CnodeIndex%3Bif(element.contains(child))%7Breturn!0%7DcontentElements%3DPolymer.dom(element).querySelectorAll(%22content%2Cslot%22)%3Bfor(contentIndex%3D0%3BcontentIndex%3CcontentElements.length%3B%2B%2BcontentIndex)%7BdistributedNodes%3DPolymer.dom(contentElements%5BcontentIndex%5D).getDistributedNodes()%3Bfor(nodeIndex%3D0%3BnodeIndex%3CdistributedNodes.length%3B%2B%2BnodeIndex)%7B%2F%2F%20Polymer%202.x%20returns%20slot.assignedNodes%20which%20can%20contain%20text%20nodes.%0Aif(distributedNodes%5BnodeIndex%5D.nodeType!%3D%3DNode.ELEMENT_NODE)continue%3Bif(this._composedTreeContains(distributedNodes%5BnodeIndex%5D%2Cchild))%7Breturn!0%7D%7D%7Dreturn!1%7D%2C_scrollInteractionHandler%3Afunction(event)%7B%2F%2F%20Avoid%20canceling%20an%20event%20with%20cancelable%3Dfalse%2C%20e.g.%20scrolling%20is%20in%0A%2F%2F%20progress%20and%20cannot%20be%20interrupted.%0Aif(event.cancelable%26%26this._shouldPreventScrolling(event))%7Bevent.preventDefault()%7D%2F%2F%20If%20event%20has%20targetTouches%20(touch%20event)%2C%20update%20last%20touch%20position.%0Aif(event.targetTouches)%7Bvar%20touch%3Devent.targetTouches%5B0%5D%3BlastTouchPosition.pageX%3Dtouch.pageX%3BlastTouchPosition.pageY%3Dtouch.pageY%7D%7D%2C%2F**%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2F_boundScrollHandler%3Avoid%200%2C_lockScrollInteractions%3Afunction()%7Bthis._boundScrollHandler%3Dthis._boundScrollHandler%7C%7Cthis._scrollInteractionHandler.bind(this)%3Bfor(var%20i%3D0%2Cl%3DscrollEvents.length%3Bi%3Cl%3Bi%2B%2B)%7B%2F%2F%20NOTE%3A%20browsers%20that%20don't%20support%20objects%20as%20third%20arg%20will%0A%2F%2F%20interpret%20it%20as%20boolean%2C%20hence%20useCapture%20%3D%20true%20in%20this%20case.%0Adocument.addEventListener(scrollEvents%5Bi%5D%2Cthis._boundScrollHandler%2C%7Bcapture%3A!0%2Cpassive%3A!1%7D)%7D%7D%2C_unlockScrollInteractions%3Afunction()%7Bfor(var%20i%3D0%2Cl%3DscrollEvents.length%3Bi%3Cl%3Bi%2B%2B)%7B%2F%2F%20NOTE%3A%20browsers%20that%20don't%20support%20objects%20as%20third%20arg%20will%0A%2F%2F%20interpret%20it%20as%20boolean%2C%20hence%20useCapture%20%3D%20true%20in%20this%20case.%0Adocument.removeEventListener(scrollEvents%5Bi%5D%2Cthis._boundScrollHandler%2C%7Bcapture%3A!0%2Cpassive%3A!1%7D)%7D%7D%2C%2F**%0A%20%20%20%20%20*%20Returns%20true%20if%20the%20event%20causes%20scroll%20outside%20the%20current%20locking%0A%20%20%20%20%20*%20element%2C%20e.g.%20pointer%2Fkeyboard%20interactions%2C%20or%20scroll%20%22leaking%22%0A%20%20%20%20%20*%20outside%20the%20locking%20element%20when%20it%20is%20already%20at%20its%20scroll%20boundaries.%0A%20%20%20%20%20*%20%40param%20%7B!Event%7D%20event%0A%20%20%20%20%20*%20%40return%20%7Bboolean%7D%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2F_shouldPreventScrolling%3Afunction(event)%7B%2F%2F%20Update%20if%20root%20target%20changed.%20For%20touch%20events%2C%20ensure%20we%20don't%0A%2F%2F%20update%20during%20touchmove.%0Avar%20target%3DPolymer.dom(event).rootTarget%3Bif(%22touchmove%22!%3D%3Devent.type%26%26lastRootTarget!%3D%3Dtarget)%7BlastRootTarget%3Dtarget%3BlastScrollableNodes%3Dthis._getScrollableNodes(Polymer.dom(event).path)%7D%2F%2F%20Prevent%20event%20if%20no%20scrollable%20nodes.%0Aif(!lastScrollableNodes.length)%7Breturn!0%7D%2F%2F%20Don't%20prevent%20touchstart%20event%20inside%20the%20locking%20element%20when%20it%20has%0A%2F%2F%20scrollable%20nodes.%0Aif(%22touchstart%22%3D%3D%3Devent.type)%7Breturn!1%7D%2F%2F%20Get%20deltaX%2FY.%0Avar%20info%3Dthis._getScrollInfo(event)%3B%2F%2F%20Prevent%20if%20there%20is%20no%20child%20that%20can%20scroll.%0Areturn!this._getScrollingNode(lastScrollableNodes%2Cinfo.deltaX%2Cinfo.deltaY)%7D%2C%2F**%0A%20%20%20%20%20*%20Returns%20an%20array%20of%20scrollable%20nodes%20up%20to%20the%20current%20locking%20element%2C%0A%20%20%20%20%20*%20which%20is%20included%20too%20if%20scrollable.%0A%20%20%20%20%20*%20%40param%20%7B!Array%3C!Node%3E%7D%20nodes%0A%20%20%20%20%20*%20%40return%20%7B!Array%3C!Node%3E%7D%20scrollables%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2F_getScrollableNodes%3Afunction(nodes)%7B%2F%2F%20Loop%20from%20root%20target%20to%20locking%20element%20(included).%0Afor(var%20scrollables%3D%5B%5D%2ClockingIndex%3Dnodes.indexOf(this.currentLockingElement)%2Ci%3D0%3Bi%3C%3DlockingIndex%3Bi%2B%2B)%7B%2F%2F%20Skip%20non-Element%20nodes.%0Aif(nodes%5Bi%5D.nodeType!%3D%3DNode.ELEMENT_NODE)%7Bcontinue%7Dvar%20node%3D%2F**%20%40type%20%7B!Element%7D%20*%2Fnodes%5Bi%5D%2Cstyle%3Dnode.style%3B%2F%2F%20Check%20inline%20style%20before%20checking%20computed%20style.%0Aif(%22scroll%22!%3D%3Dstyle.overflow%26%26%22auto%22!%3D%3Dstyle.overflow)%7Bstyle%3Dwindow.getComputedStyle(node)%7Dif(%22scroll%22%3D%3D%3Dstyle.overflow%7C%7C%22auto%22%3D%3D%3Dstyle.overflow)%7Bscrollables.push(node)%7D%7Dreturn%20scrollables%7D%2C%2F**%0A%20%20%20%20%20*%20Returns%20the%20node%20that%20is%20scrolling.%20If%20there%20is%20no%20scrolling%2C%0A%20%20%20%20%20*%20returns%20undefined.%0A%20%20%20%20%20*%20%40param%20%7B!Array%3C!Node%3E%7D%20nodes%0A%20%20%20%20%20*%20%40param%20%7Bnumber%7D%20deltaX%20Scroll%20delta%20on%20the%20x-axis%0A%20%20%20%20%20*%20%40param%20%7Bnumber%7D%20deltaY%20Scroll%20delta%20on%20the%20y-axis%0A%20%20%20%20%20*%20%40return%20%7B!Node%7Cundefined%7D%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2F_getScrollingNode%3Afunction(nodes%2CdeltaX%2CdeltaY)%7B%2F%2F%20No%20scroll.%0Aif(!deltaX%26%26!deltaY)%7Breturn%7D%2F%2F%20Check%20only%20one%20axis%20according%20to%20where%20there%20is%20more%20scroll.%0A%2F%2F%20Prefer%20vertical%20to%20horizontal.%0Afor(var%20verticalScroll%3DMath.abs(deltaY)%3E%3DMath.abs(deltaX)%2Ci%3D0%3Bi%3Cnodes.length%3Bi%2B%2B)%7Bvar%20node%3Dnodes%5Bi%5D%2CcanScroll%3D!1%3Bif(verticalScroll)%7B%2F%2F%20delta%20%3C%200%20is%20scroll%20up%2C%20delta%20%3E%200%20is%20scroll%20down.%0AcanScroll%3D0%3EdeltaY%3F0%3Cnode.scrollTop%3Anode.scrollTop%3Cnode.scrollHeight-node.clientHeight%7Delse%7B%2F%2F%20delta%20%3C%200%20is%20scroll%20left%2C%20delta%20%3E%200%20is%20scroll%20right.%0AcanScroll%3D0%3EdeltaX%3F0%3Cnode.scrollLeft%3Anode.scrollLeft%3Cnode.scrollWidth-node.clientWidth%7Dif(canScroll)%7Breturn%20node%7D%7D%7D%2C%2F**%0A%20%20%20%20%20*%20Returns%20scroll%20%60deltaX%60%20and%20%60deltaY%60.%0A%20%20%20%20%20*%20%40param%20%7B!Event%7D%20event%20The%20scroll%20event%0A%20%20%20%20%20*%20%40return%20%7B%7BdeltaX%3A%20number%2C%20deltaY%3A%20number%7D%7D%20Object%20containing%20the%0A%20%20%20%20%20*%20x-axis%20scroll%20delta%20(positive%3A%20scroll%20right%2C%20negative%3A%20scroll%20left%2C%0A%20%20%20%20%20*%200%3A%20no%20scroll)%2C%20and%20the%20y-axis%20scroll%20delta%20(positive%3A%20scroll%20down%2C%0A%20%20%20%20%20*%20negative%3A%20scroll%20up%2C%200%3A%20no%20scroll).%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2F_getScrollInfo%3Afunction(event)%7Bvar%20info%3D%7BdeltaX%3Aevent.deltaX%2CdeltaY%3Aevent.deltaY%7D%3B%2F%2F%20Already%20available.%0Aif(%22deltaX%22in%20event)%7B%7D%2F%2F%20do%20nothing%2C%20values%20are%20already%20good.%0A%2F%2F%20Safari%20has%20scroll%20info%20in%20%60wheelDeltaX%2FY%60.%0Aelse%20if(%22wheelDeltaX%22in%20event%26%26%22wheelDeltaY%22in%20event)%7Binfo.deltaX%3D-event.wheelDeltaX%3Binfo.deltaY%3D-event.wheelDeltaY%7D%2F%2F%20IE10%20has%20only%20vertical%20scroll%20info%20in%20%60wheelDelta%60.%0Aelse%20if(%22wheelDelta%22in%20event)%7Binfo.deltaX%3D0%3Binfo.deltaY%3D-event.wheelDelta%7D%2F%2F%20Firefox%20has%20scroll%20info%20in%20%60detail%60%20and%20%60axis%60.%0Aelse%20if(%22axis%22in%20event)%7Binfo.deltaX%3D1%3D%3D%3Devent.axis%3Fevent.detail%3A0%3Binfo.deltaY%3D2%3D%3D%3Devent.axis%3Fevent.detail%3A0%7D%2F%2F%20On%20mobile%20devices%2C%20calculate%20scroll%20direction.%0Aelse%20if(event.targetTouches)%7Bvar%20touch%3Devent.targetTouches%5B0%5D%3B%2F%2F%20Touch%20moves%20from%20right%20to%20left%20%3D%3E%20scrolling%20goes%20right.%0Ainfo.deltaX%3DlastTouchPosition.pageX-touch.pageX%3B%2F%2F%20Touch%20moves%20from%20down%20to%20up%20%3D%3E%20scrolling%20goes%20down.%0Ainfo.deltaY%3DlastTouchPosition.pageY-touch.pageY%7Dreturn%20info%7D%7D%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Firon-overlay-behavior%2Firon-scroll-manager.html.js%0A | 11 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/webfiles/1661339944389/js/browsers.js | 1.5 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/style/components/card.js | 1.9 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7B'use%20strict'%3Bconst%20userPolymer%3Dwindow.Polymer%3B%2F**%0A%20%20%20*%20%40namespace%20Polymer%0A%20%20%20*%20%40summary%20Polymer%20is%20a%20lightweight%20library%20built%20on%20top%20of%20the%20web%0A%20%20%20*%20%20%20standards-based%20Web%20Components%20API's%2C%20and%20makes%20it%20easy%20to%20build%20your%0A%20%20%20*%20%20%20own%20custom%20HTML%20elements.%0A%20%20%20*%20%40param%20%7B!PolymerInit%7D%20info%20Prototype%20for%20the%20custom%20element.%20It%20must%20contain%0A%20%20%20*%20%20%20an%20%60is%60%20property%20to%20specify%20the%20element%20name.%20Other%20properties%20populate%0A%20%20%20*%20%20%20the%20element%20prototype.%20The%20%60properties%60%2C%20%60observers%60%2C%20%60hostAttributes%60%2C%0A%20%20%20*%20%20%20and%20%60listeners%60%20properties%20are%20processed%20to%20create%20element%20features.%0A%20%20%20*%20%40return%20%7B!Object%7D%20Returns%20a%20custom%20element%20class%20for%20the%20given%20provided%0A%20%20%20*%20%20%20prototype%20%60info%60%20object.%20The%20name%20of%20the%20element%20if%20given%20by%20%60info.is%60.%0A%20%20%20*%2Fwindow.Polymer%3Dfunction(info)%7Breturn%20window.Polymer._polymerFn(info)%7D%3B%2F%2F%20support%20user%20settings%20on%20the%20Polymer%20object%0Aif(userPolymer)%7BObject.assign(Polymer%2CuserPolymer)%7D%2F%2F%20To%20be%20plugged%20by%20legacy%20implementation%20if%20loaded%0A%2F*%20eslint-disable%20valid-jsdoc%20*%2F%20%2F**%0A%20%20%20*%20%40param%20%7B!PolymerInit%7D%20info%20Prototype%20for%20the%20custom%20element.%20It%20must%20contain%0A%20%20%20*%20%20%20an%20%60is%60%20property%20to%20specify%20the%20element%20name.%20Other%20properties%20populate%0A%20%20%20*%20%20%20the%20element%20prototype.%20The%20%60properties%60%2C%20%60observers%60%2C%20%60hostAttributes%60%2C%0A%20%20%20*%20%20%20and%20%60listeners%60%20properties%20are%20processed%20to%20create%20element%20features.%0A%20%20%20*%20%40return%20%7B!Object%7D%20Returns%20a%20custom%20element%20class%20for%20the%20given%20provided%0A%20%20%20*%20%20%20prototype%20%60info%60%20object.%20The%20name%20of%20the%20element%20if%20given%20by%20%60info.is%60.%0A%20%20%20*%2Fwindow.Polymer._polymerFn%3Dfunction(info)%7B%2F%2F%20eslint-disable-line%20no-unused-vars%0Athrow%20new%20Error(%22Load%20polymer.html%20to%20use%20the%20Polymer()%20function.%22)%7D%3B%2F*%20eslint-enable%20*%2Fwindow.Polymer.version%3D%222.7.0%22%3B%2F*%20eslint-disable%20no-unused-vars%20*%2F%20%2F*%0A%20%20When%20using%20Closure%20Compiler%2C%20JSCompiler_renameProperty(property%2C%20object)%20is%20replaced%20by%20the%20munged%20name%20for%20object%5Bproperty%5D%0A%20%20We%20cannot%20alias%20this%20function%2C%20so%20we%20have%20to%20use%20a%20small%20shim%20that%20has%20the%20same%20behavior%20when%20not%20compiling.%0A%20%20*%2Fwindow.JSCompiler_renameProperty%3Dfunction(prop%2Cobj)%7Breturn%20prop%7D%3B%2F*%20eslint-enable%20*%2F%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fpolymer%2Flib%2Futils%2Fboot.html.js%0A | 2.1 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7Bvar%20f5_cspm%3D%7Bf5_p%3A'OEJHNDDPMNPJPPKPOJFBNCMJOANPNKIJMLPMOLIPFFDCGKNABGBFHNHFKNNJHCCGKGLBJJLNAABDOLDDNIOAKCGFAABHOKBPILIMLHJPCOIIIFFOHCHCDMHCJCLAFOAG'%2CsetCharAt%3Afunction(str%2Cindex%2Cchr)%7Bif(index%3Estr.length-1)return%20str%3Breturn%20str.substr(0%2Cindex)%2Bchr%2Bstr.substr(index%2B1)%3B%7D%2Cget_byte%3Afunction(str%2Ci)%7Bvar%20s%3D(i%2F16)%7C0%3Bi%3D(i%2615)%3Bs%3Ds*32%3Breturn((str.charCodeAt(i%2B16%2Bs)-65)%3C%3C4)%7C(str.charCodeAt(i%2Bs)-65)%3B%7D%2Cset_byte%3Afunction(str%2Ci%2Cb)%7Bvar%20s%3D(i%2F16)%7C0%3Bi%3D(i%2615)%3Bs%3Ds*32%3Bstr%3Df5_cspm.setCharAt(str%2C(i%2B16%2Bs)%2CString.fromCharCode((b%3E%3E4)%2B65))%3Bstr%3Df5_cspm.setCharAt(str%2C(i%2Bs)%2CString.fromCharCode((b%2615)%2B65))%3Breturn%20str%3B%7D%2Cset_latency%3Afunction(str%2Clatency)%7Blatency%3Dlatency%260xffff%3Bstr%3Df5_cspm.set_byte(str%2C40%2C(latency%3E%3E8))%3Bstr%3Df5_cspm.set_byte(str%2C41%2C(latency%260xff))%3Bstr%3Df5_cspm.set_byte(str%2C35%2C2)%3Breturn%20str%3B%7D%2Cwait_perf_data%3Afunction()%7Btry%7Bvar%20wp%3Dwindow.performance.timing%3Bif(wp.loadEventEnd%3E0)%7Bvar%20res%3Dwp.loadEventEnd-wp.navigationStart%3Bif(res%3C60001)%7Bvar%20cookie_val%3Df5_cspm.set_latency(f5_cspm.f5_p%2Cres)%3Bwindow.document.cookie%3D'f5avr0551402585aaaaaaaaaaaaaaaa_cspm_%3D'%2BencodeURIComponent(cookie_val)%2B'%3Bpath%3D%2F'%3B%7D%0Areturn%3B%7D%7D%0Acatch(err)%7Breturn%3B%7D%0AsetTimeout(f5_cspm.wait_perf_data%2C100)%3Breturn%3B%7D%2Cgo%3Afunction()%7Bvar%20chunk%3Dwindow.document.cookie.split(%2F%5Cs*%3B%5Cs*%2F)%3Bfor(var%20i%3D0%3Bi%3Cchunk.length%3B%2B%2Bi)%7Bvar%20pair%3Dchunk%5Bi%5D.split(%2F%5Cs*%3D%5Cs*%2F)%3Bif(pair%5B0%5D%3D%3D'f5_cspm'%26%26pair%5B1%5D%3D%3D'1234')%0A%7Bvar%20d%3Dnew%20Date()%3Bd.setTime(d.getTime()-1000)%3Bwindow.document.cookie%3D'f5_cspm%3D%3Bexpires%3D'%2Bd.toUTCString()%2B'%3Bpath%3D%2F%3B'%3BsetTimeout(f5_cspm.wait_perf_data%2C100)%3B%7D%7D%7D%7D%0Af5_cspm.go()%3B%7D())%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fshadycss%2Fapply-shim.html.js%0A | 1.6 kB | 2023-03-08 | 2023-03-08 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-text-icon/ing-text-icon.js | 213 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/core/utils/importIllustration.js | 3.6 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@open-wc/scoped-elements/src/shadyTemplateFactory.js | 667 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7B'use%20strict'%3B%2F**%0A%20%20%20*%20Creates%20a%20copy%20of%20%60props%60%20with%20each%20property%20normalized%20such%20that%0A%20%20%20*%20upgraded%20it%20is%20an%20object%20with%20at%20least%20a%20type%20property%20%7B%20type%3A%20Type%7D.%0A%20%20%20*%0A%20%20%20*%20%40param%20%7BObject%7D%20props%20Properties%20to%20normalize%0A%20%20%20*%20%40return%20%7BObject%7D%20Copy%20of%20input%20%60props%60%20with%20normalized%20properties%20that%0A%20%20%20*%20are%20in%20the%20form%20%7Btype%3A%20Type%7D%0A%20%20%20*%20%40private%0A%20%20%20*%2Ffunction%20normalizeProperties(props)%7Bconst%20output%3D%7B%7D%3Bfor(let%20p%20in%20props)%7Bconst%20o%3Dprops%5Bp%5D%3Boutput%5Bp%5D%3D%22function%22%3D%3D%3Dtypeof%20o%3F%7Btype%3Ao%7D%3Ao%7Dreturn%20output%7D%2F**%0A%20%20%20*%20Mixin%20that%20provides%20a%20minimal%20starting%20point%20to%20using%20the%20PropertiesChanged%0A%20%20%20*%20mixin%20by%20providing%20a%20mechanism%20to%20declare%20properties%20in%20a%20static%0A%20%20%20*%20getter%20(e.g.%20static%20get%20properties()%20%7B%20return%20%7B%20foo%3A%20String%20%7D%20%7D).%20Changes%0A%20%20%20*%20are%20reported%20via%20the%20%60_propertiesChanged%60%20method.%0A%20%20%20*%0A%20%20%20*%20This%20mixin%20provides%20no%20specific%20support%20for%20rendering.%20Users%20are%20expected%0A%20%20%20*%20to%20create%20a%20ShadowRoot%20and%20put%20content%20into%20it%20and%20update%20it%20in%20whatever%0A%20%20%20*%20way%20makes%20sense.%20This%20can%20be%20done%20in%20reaction%20to%20properties%20changing%20by%0A%20%20%20*%20implementing%20%60_propertiesChanged%60.%0A%20%20%20*%0A%20%20%20*%20%40mixinFunction%0A%20%20%20*%20%40polymer%0A%20%20%20*%20%40appliesMixin%20Polymer.PropertiesChanged%0A%20%20%20*%20%40memberof%20Polymer%0A%20%20%20*%20%40summary%20Mixin%20that%20provides%20a%20minimal%20starting%20point%20for%20using%0A%20%20%20*%20the%20PropertiesChanged%20mixin%20by%20providing%20a%20declarative%20%60properties%60%20object.%0A%20%20%20*%2FPolymer.PropertiesMixin%3DPolymer.dedupingMixin(superClass%3D%3E%7B%2F**%0A%20%20%20%20%20*%20%40constructor%0A%20%20%20%20%20*%20%40extends%20%7BsuperClass%7D%0A%20%20%20%20%20*%20%40implements%20%7BPolymer_PropertiesChanged%7D%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2Fconst%20base%3DPolymer.PropertiesChanged(superClass)%3B%2F**%0A%20%20%20%20%20*%20Returns%20the%20super%20class%20constructor%20for%20the%20given%20class%2C%20if%20it%20is%20an%0A%20%20%20%20%20*%20instance%20of%20the%20PropertiesMixin.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40param%20%7B!PropertiesMixinConstructor%7D%20constructor%20PropertiesMixin%20constructor%0A%20%20%20%20%20*%20%40return%20%7BPropertiesMixinConstructor%7D%20Super%20class%20constructor%0A%20%20%20%20%20*%2Ffunction%20superPropertiesClass(constructor)%7Bconst%20superCtor%3DObject.getPrototypeOf(constructor)%3B%2F%2F%20Note%2C%20the%20%60PropertiesMixin%60%20class%20below%20only%20refers%20to%20the%20class%0A%2F%2F%20generated%20by%20this%20call%20to%20the%20mixin%3B%20the%20instanceof%20test%20only%20works%0A%2F%2F%20because%20the%20mixin%20is%20deduped%20and%20guaranteed%20only%20to%20apply%20once%2C%20hence%0A%2F%2F%20all%20constructors%20in%20a%20proto%20chain%20will%20see%20the%20same%20%60PropertiesMixin%60%0Areturn%20superCtor.prototype%20instanceof%20PropertiesMixin%3F%2F**%20%40type%20%7BPropertiesMixinConstructor%7D%20*%2FsuperCtor%3Anull%7D%2F**%0A%20%20%20%20%20*%20Returns%20a%20memoized%20version%20of%20the%20%60properties%60%20object%20for%20the%0A%20%20%20%20%20*%20given%20class.%20Properties%20not%20in%20object%20format%20are%20converted%20to%20at%0A%20%20%20%20%20*%20least%20%7Btype%7D.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40param%20%7BPropertiesMixinConstructor%7D%20constructor%20PropertiesMixin%20constructor%0A%20%20%20%20%20*%20%40return%20%7BObject%7D%20Memoized%20properties%20object%0A%20%20%20%20%20*%2Ffunction%20ownProperties(constructor)%7Bif(!constructor.hasOwnProperty(JSCompiler_renameProperty(%22__ownProperties%22%2Cconstructor)))%7Blet%20props%3Dnull%3Bif(constructor.hasOwnProperty(JSCompiler_renameProperty(%22properties%22%2Cconstructor)))%7Bconst%20properties%3Dconstructor.properties%3Bif(properties)%7Bprops%3DnormalizeProperties(properties)%7D%7Dconstructor.__ownProperties%3Dprops%7Dreturn%20constructor.__ownProperties%7D%2F**%0A%20%20%20%20%20*%20%40polymer%0A%20%20%20%20%20*%20%40mixinClass%0A%20%20%20%20%20*%20%40extends%20%7Bbase%7D%0A%20%20%20%20%20*%20%40implements%20%7BPolymer_PropertiesMixin%7D%0A%20%20%20%20%20*%20%40unrestricted%0A%20%20%20%20%20*%2Fclass%20PropertiesMixin%20extends%20base%7B%2F**%0A%20%20%20%20%20%20%20*%20Implements%20standard%20custom%20elements%20getter%20to%20observes%20the%20attributes%0A%20%20%20%20%20%20%20*%20listed%20in%20%60properties%60.%0A%20%20%20%20%20%20%20*%20%40suppress%20%7BmissingProperties%7D%20Interfaces%20in%20closure%20do%20not%20inherit%20statics%2C%20but%20classes%20do%0A%20%20%20%20%20%20%20*%2Fstatic%20get%20observedAttributes()%7Bif(!this.hasOwnProperty(%22__observedAttributes%22))%7BPolymer.telemetry.register(this.prototype)%3Bconst%20props%3Dthis._properties%3Bthis.__observedAttributes%3Dprops%3FObject.keys(props).map(p%3D%3Ethis.attributeNameForProperty(p))%3A%5B%5D%7Dreturn%20this.__observedAttributes%7D%2F**%0A%20%20%20%20%20%20%20*%20Finalizes%20an%20element%20definition%2C%20including%20ensuring%20any%20super%20classes%0A%20%20%20%20%20%20%20*%20are%20also%20finalized.%20This%20includes%20ensuring%20property%0A%20%20%20%20%20%20%20*%20accessors%20exist%20on%20the%20element%20prototype.%20This%20method%20calls%0A%20%20%20%20%20%20%20*%20%60_finalizeClass%60%20to%20finalize%20each%20constructor%20in%20the%20prototype%20chain.%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2Fstatic%20finalize()%7Bif(!this.hasOwnProperty(JSCompiler_renameProperty(%22__finalized%22%2Cthis)))%7Bconst%20superCtor%3DsuperPropertiesClass(%2F**%20%40type%20%7BPropertiesMixinConstructor%7D%20*%2Fthis)%3Bif(superCtor)%7BsuperCtor.finalize()%7Dthis.__finalized%3D%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%3Bthis._finalizeClass()%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Finalize%20an%20element%20class.%20This%20includes%20ensuring%20property%0A%20%20%20%20%20%20%20*%20accessors%20exist%20on%20the%20element%20prototype.%20This%20method%20is%20called%20by%0A%20%20%20%20%20%20%20*%20%60finalize%60%20and%20finalizes%20the%20class%20constructor.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20%20%20*%2Fstatic%20_finalizeClass()%7Bconst%20props%3DownProperties(%2F**%20%40type%20%7BPropertiesMixinConstructor%7D%20*%2Fthis)%3Bif(props)%7Bthis.createProperties(props)%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Returns%20a%20memoized%20version%20of%20all%20properties%2C%20including%20those%20inherited%0A%20%20%20%20%20%20%20*%20from%20super%20classes.%20Properties%20not%20in%20object%20format%20are%20converted%20to%0A%20%20%20%20%20%20%20*%20at%20least%20%7Btype%7D.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40return%20%7BObject%7D%20Object%20containing%20properties%20for%20this%20class%0A%20%20%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20%20%20*%2Fstatic%20get%20_properties()%7Bif(!this.hasOwnProperty(JSCompiler_renameProperty(%22__properties%22%2Cthis)))%7Bconst%20superCtor%3DsuperPropertiesClass(%2F**%20%40type%20%7BPropertiesMixinConstructor%7D%20*%2Fthis)%3Bthis.__properties%3DObject.assign(%7B%7D%2CsuperCtor%26%26superCtor._properties%2CownProperties(%2F**%20%40type%20%7BPropertiesMixinConstructor%7D%20*%2Fthis))%7Dreturn%20this.__properties%7D%2F**%0A%20%20%20%20%20%20%20*%20Overrides%20%60PropertiesChanged%60%20method%20to%20return%20type%20specified%20in%20the%0A%20%20%20%20%20%20%20*%20static%20%60properties%60%20object%20for%20the%20given%20property.%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20name%20Name%20of%20property%0A%20%20%20%20%20%20%20*%20%40return%20%7B*%7D%20Type%20to%20which%20to%20deserialize%20attribute%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20%20%20*%2Fstatic%20typeForProperty(name)%7Bconst%20info%3Dthis._properties%5Bname%5D%3Breturn%20info%26%26info.type%7D%2F**%0A%20%20%20%20%20%20%20*%20Overrides%20%60PropertiesChanged%60%20method%20and%20adds%20a%20call%20to%0A%20%20%20%20%20%20%20*%20%60finalize%60%20which%20lazily%20configures%20the%20element's%20property%20accessors.%0A%20%20%20%20%20%20%20*%20%40override%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2F_initializeProperties()%7BPolymer.telemetry.instanceCount%2B%2B%3Bthis.constructor.finalize()%3Bsuper._initializeProperties()%7D%2F**%0A%20%20%20%20%20%20%20*%20Called%20when%20the%20element%20is%20added%20to%20a%20document.%0A%20%20%20%20%20%20%20*%20Calls%20%60_enableProperties%60%20to%20turn%20on%20property%20system%20from%0A%20%20%20%20%20%20%20*%20%60PropertiesChanged%60.%0A%20%20%20%20%20%20%20*%20%40suppress%20%7BmissingProperties%7D%20Super%20may%20or%20may%20not%20implement%20the%20callback%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2FconnectedCallback()%7Bif(super.connectedCallback)%7Bsuper.connectedCallback()%7Dthis._enableProperties()%7D%2F**%0A%20%20%20%20%20%20%20*%20Called%20when%20the%20element%20is%20removed%20from%20a%20document%0A%20%20%20%20%20%20%20*%20%40suppress%20%7BmissingProperties%7D%20Super%20may%20or%20may%20not%20implement%20the%20callback%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2FdisconnectedCallback()%7Bif(super.disconnectedCallback)%7Bsuper.disconnectedCallback()%7D%7D%7Dreturn%20PropertiesMixin%7D)%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fpolymer%2Flib%2Fmixins%2Fproperties-mixin.html.js%0A | 7.1 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7B'use%20strict'%3B%2F**%0A%20%20%20*%20Chrome%20uses%20an%20older%20version%20of%20DOM%20Level%203%20Keyboard%20Events%0A%20%20%20*%0A%20%20%20*%20Most%20keys%20are%20labeled%20as%20text%2C%20but%20some%20are%20Unicode%20codepoints.%0A%20%20%20*%20Values%20taken%20from%3A%0A%20%20%20*%20http%3A%2F%2Fwww.w3.org%2FTR%2F2007%2FWD-DOM-Level-3-Events-20071221%2Fkeyset.html%23KeySet-Set%0A%20%20%20*%2Fvar%20KEY_IDENTIFIER%3D%7B%22U%2B0008%22%3A%22backspace%22%2C%22U%2B0009%22%3A%22tab%22%2C%22U%2B001B%22%3A%22esc%22%2C%22U%2B0020%22%3A%22space%22%2C%22U%2B007F%22%3A%22del%22%7D%2CKEY_CODE%3D%7B8%3A%22backspace%22%2C9%3A%22tab%22%2C13%3A%22enter%22%2C27%3A%22esc%22%2C33%3A%22pageup%22%2C34%3A%22pagedown%22%2C35%3A%22end%22%2C36%3A%22home%22%2C32%3A%22space%22%2C37%3A%22left%22%2C38%3A%22up%22%2C39%3A%22right%22%2C40%3A%22down%22%2C46%3A%22del%22%2C106%3A%22*%22%7D%2CMODIFIER_KEYS%3D%7Bshift%3A%22shiftKey%22%2Cctrl%3A%22ctrlKey%22%2Calt%3A%22altKey%22%2Cmeta%3A%22metaKey%22%7D%2CKEY_CHAR%3D%2F%5Ba-z0-9*%5D%2F%2CIDENT_CHAR%3D%2FU%5C%2B%2F%2CARROW_KEY%3D%2F%5Earrow%2F%2CSPACE_KEY%3D%2F%5Espace(bar)%3F%2F%2CESC_KEY%3D%2F%5Eescape%24%2F%3B%2F**%0A%20%20%20*%20Special%20table%20for%20KeyboardEvent.keyCode.%0A%20%20%20*%20KeyboardEvent.keyIdentifier%20is%20better%2C%20and%20KeyBoardEvent.key%20is%20even%20better%0A%20%20%20*%20than%20that.%0A%20%20%20*%0A%20%20%20*%20Values%20from%3A%0A%20%20%20*%20https%3A%2F%2Fdeveloper.mozilla.org%2Fen-US%2Fdocs%2FWeb%2FAPI%2FKeyboardEvent.keyCode%23Value_of_keyCode%0A%20%20%20*%2F%20%2F**%0A%20%20%20*%20Transforms%20the%20key.%0A%20%20%20*%20%40param%20%7Bstring%7D%20key%20The%20KeyBoardEvent.key%0A%20%20%20*%20%40param%20%7BBoolean%7D%20%5BnoSpecialChars%5D%20Limits%20the%20transformation%20to%0A%20%20%20*%20alpha-numeric%20characters.%0A%20%20%20*%2Ffunction%20transformKey(key%2CnoSpecialChars)%7Bvar%20validKey%3D%22%22%3Bif(key)%7Bvar%20lKey%3Dkey.toLowerCase()%3Bif(%22%20%22%3D%3D%3DlKey%7C%7CSPACE_KEY.test(lKey))%7BvalidKey%3D%22space%22%7Delse%20if(ESC_KEY.test(lKey))%7BvalidKey%3D%22esc%22%7Delse%20if(1%3D%3DlKey.length)%7Bif(!noSpecialChars%7C%7CKEY_CHAR.test(lKey))%7BvalidKey%3DlKey%7D%7Delse%20if(ARROW_KEY.test(lKey))%7BvalidKey%3DlKey.replace(%22arrow%22%2C%22%22)%7Delse%20if(%22multiply%22%3D%3DlKey)%7B%2F%2F%20numpad%20'*'%20can%20map%20to%20Multiply%20on%20IE%2FWindows%0AvalidKey%3D%22*%22%7Delse%7BvalidKey%3DlKey%7D%7Dreturn%20validKey%7Dfunction%20transformKeyIdentifier(keyIdent)%7Bvar%20validKey%3D%22%22%3Bif(keyIdent)%7Bif(keyIdent%20in%20KEY_IDENTIFIER)%7BvalidKey%3DKEY_IDENTIFIER%5BkeyIdent%5D%7Delse%20if(IDENT_CHAR.test(keyIdent))%7BkeyIdent%3DparseInt(keyIdent.replace(%22U%2B%22%2C%220x%22)%2C16)%3BvalidKey%3DString.fromCharCode(keyIdent).toLowerCase()%7Delse%7BvalidKey%3DkeyIdent.toLowerCase()%7D%7Dreturn%20validKey%7Dfunction%20transformKeyCode(keyCode)%7Bvar%20validKey%3D%22%22%3Bif(%2BkeyCode)%7Bif(65%3C%3DkeyCode%26%2690%3E%3DkeyCode)%7B%2F%2F%20ascii%20a-z%0A%2F%2F%20lowercase%20is%2032%20offset%20from%20uppercase%0AvalidKey%3DString.fromCharCode(32%2BkeyCode)%7Delse%20if(112%3C%3DkeyCode%26%26123%3E%3DkeyCode)%7B%2F%2F%20function%20keys%20f1-f12%0AvalidKey%3D%22f%22%2B(keyCode-112%2B1)%7Delse%20if(48%3C%3DkeyCode%26%2657%3E%3DkeyCode)%7B%2F%2F%20top%200-9%20keys%0AvalidKey%3DkeyCode-48%2B%22%22%7Delse%20if(96%3C%3DkeyCode%26%26105%3E%3DkeyCode)%7B%2F%2F%20num%20pad%200-9%0AvalidKey%3DkeyCode-96%2B%22%22%7Delse%7BvalidKey%3DKEY_CODE%5BkeyCode%5D%7D%7Dreturn%20validKey%7D%2F**%0A%20%20%20*%20Calculates%20the%20normalized%20key%20for%20a%20KeyboardEvent.%0A%20%20%20*%20%40param%20%7BKeyboardEvent%7D%20keyEvent%0A%20%20%20*%20%40param%20%7BBoolean%7D%20%5BnoSpecialChars%5D%20Set%20to%20true%20to%20limit%20keyEvent.key%0A%20%20%20*%20transformation%20to%20alpha-numeric%20chars.%20This%20is%20useful%20with%20key%0A%20%20%20*%20combinations%20like%20shift%20%2B%202%2C%20which%20on%20FF%20for%20MacOS%20produces%0A%20%20%20*%20keyEvent.key%20%3D%20%40%0A%20%20%20*%20To%20get%202%20returned%2C%20set%20noSpecialChars%20%3D%20true%0A%20%20%20*%20To%20get%20%40%20returned%2C%20set%20noSpecialChars%20%3D%20false%0A%20%20%20*%2Ffunction%20normalizedKeyForEvent(keyEvent%2CnoSpecialChars)%7B%2F%2F%20Fall%20back%20from%20.key%2C%20to%20.detail.key%20for%20artifical%20keyboard%20events%2C%0A%2F%2F%20and%20then%20to%20deprecated%20.keyIdentifier%20and%20.keyCode.%0Aif(keyEvent.key)%7Breturn%20transformKey(keyEvent.key%2CnoSpecialChars)%7Dif(keyEvent.detail%26%26keyEvent.detail.key)%7Breturn%20transformKey(keyEvent.detail.key%2CnoSpecialChars)%7Dreturn%20transformKeyIdentifier(keyEvent.keyIdentifier)%7C%7CtransformKeyCode(keyEvent.keyCode)%7C%7C%22%22%7Dfunction%20keyComboMatchesEvent(keyCombo%2Cevent)%7B%2F%2F%20For%20combos%20with%20modifiers%20we%20support%20only%20alpha-numeric%20keys%0Avar%20keyEvent%3DnormalizedKeyForEvent(event%2CkeyCombo.hasModifiers)%3Breturn%20keyEvent%3D%3D%3DkeyCombo.key%26%26(!keyCombo.hasModifiers%7C%7C!!event.shiftKey%3D%3D%3D!!keyCombo.shiftKey%26%26!!event.ctrlKey%3D%3D%3D!!keyCombo.ctrlKey%26%26!!event.altKey%3D%3D%3D!!keyCombo.altKey%26%26!!event.metaKey%3D%3D%3D!!keyCombo.metaKey)%7Dfunction%20parseKeyComboString(keyComboString)%7Bif(1%3D%3D%3DkeyComboString.length)%7Breturn%7Bcombo%3AkeyComboString%2Ckey%3AkeyComboString%2Cevent%3A%22keydown%22%7D%7Dreturn%20keyComboString.split(%22%2B%22).reduce(function(parsedKeyCombo%2CkeyComboPart)%7Bvar%20eventParts%3DkeyComboPart.split(%22%3A%22)%2CkeyName%3DeventParts%5B0%5D%2Cevent%3DeventParts%5B1%5D%3Bif(keyName%20in%20MODIFIER_KEYS)%7BparsedKeyCombo%5BMODIFIER_KEYS%5BkeyName%5D%5D%3D%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%3BparsedKeyCombo.hasModifiers%3D!0%7Delse%7BparsedKeyCombo.key%3DkeyName%3BparsedKeyCombo.event%3Devent%7C%7C%22keydown%22%7Dreturn%20parsedKeyCombo%7D%2C%7Bcombo%3AkeyComboString.split(%22%3A%22).shift()%7D)%7Dfunction%20parseEventString(eventString)%7Breturn%20eventString.trim().split(%22%20%22).map(function(keyComboString)%7Breturn%20parseKeyComboString(keyComboString)%7D)%7D%2F**%0A%20%20%20*%20%60Polymer.IronA11yKeysBehavior%60%20provides%20a%20normalized%20interface%20for%20processing%0A%20%20%20*%20keyboard%20commands%20that%20pertain%20to%20%5BWAI-ARIA%20best%0A%20%20%20*%20practices%5D(http%3A%2F%2Fwww.w3.org%2FTR%2Fwai-aria-practices%2F%23kbd_general_binding).%20The%0A%20%20%20*%20element%20takes%20care%20of%20browser%20differences%20with%20respect%20to%20Keyboard%20events%20and%0A%20%20%20*%20uses%20an%20expressive%20syntax%20to%20filter%20key%20presses.%0A%20%20%20*%0A%20%20%20*%20Use%20the%20%60keyBindings%60%20prototype%20property%20to%20express%20what%20combination%20of%20keys%0A%20%20%20*%20will%20trigger%20the%20callback.%20A%20key%20binding%20has%20the%20format%0A%20%20%20*%20%60%22KEY%2BMODIFIER%3AEVENT%22%3A%20%22callback%22%60%20(%60%22KEY%22%3A%20%22callback%22%60%20or%0A%20%20%20*%20%60%22KEY%3AEVENT%22%3A%20%22callback%22%60%20are%20valid%20as%20well).%20Some%20examples%3A%0A%20%20%20*%0A%20%20%20*%20%20%20%20%20%20keyBindings%3A%20%7B%0A%20%20%20*%20%20%20%20%20%20%20%20'space'%3A%20'_onKeydown'%2C%20%2F%2F%20same%20as%20'space%3Akeydown'%0A%20%20%20*%20%20%20%20%20%20%20%20'shift%2Btab'%3A%20'_onKeydown'%2C%0A%20%20%20*%20%20%20%20%20%20%20%20'enter%3Akeypress'%3A%20'_onKeypress'%2C%0A%20%20%20*%20%20%20%20%20%20%20%20'esc%3Akeyup'%3A%20'_onKeyup'%0A%20%20%20*%20%20%20%20%20%20%7D%0A%20%20%20*%0A%20%20%20*%20The%20callback%20will%20receive%20with%20an%20event%20containing%20the%20following%20information%0A%20%20%20*%20in%20%60event.detail%60%3A%0A%20%20%20*%0A%20%20%20*%20%20%20%20%20%20_onKeydown%3A%20function(event)%20%7B%0A%20%20%20*%20%20%20%20%20%20%20%20console.log(event.detail.combo)%3B%20%2F%2F%20KEY%2BMODIFIER%2C%20e.g.%20%22shift%2Btab%22%0A%20%20%20*%20%20%20%20%20%20%20%20console.log(event.detail.key)%3B%20%2F%2F%20KEY%20only%2C%20e.g.%20%22tab%22%0A%20%20%20*%20%20%20%20%20%20%20%20console.log(event.detail.event)%3B%20%2F%2F%20EVENT%2C%20e.g.%20%22keydown%22%0A%20%20%20*%20%20%20%20%20%20%20%20console.log(event.detail.keyboardEvent)%3B%20%2F%2F%20the%20original%20KeyboardEvent%0A%20%20%20*%20%20%20%20%20%20%7D%0A%20%20%20*%0A%20%20%20*%20Use%20the%20%60keyEventTarget%60%20attribute%20to%20set%20up%20event%20handlers%20on%20a%20specific%0A%20%20%20*%20node.%0A%20%20%20*%0A%20%20%20*%20See%20the%20%5Bdemo%20source%0A%20%20%20*%20code%5D(https%3A%2F%2Fgithub.com%2FPolymerElements%2Firon-a11y-keys-behavior%2Fblob%2Fmaster%2Fdemo%2Fx-key-aware.html)%0A%20%20%20*%20for%20an%20example.%0A%20%20%20*%0A%20%20%20*%20%40demo%20demo%2Findex.html%0A%20%20%20*%20%40polymerBehavior%0A%20%20%20*%2FPolymer.IronA11yKeysBehavior%3D%7Bproperties%3A%7B%2F**%0A%20%20%20%20%20%20%20*%20The%20EventTarget%20that%20will%20be%20firing%20relevant%20KeyboardEvents.%20Set%20it%20to%0A%20%20%20%20%20%20%20*%20%60null%60%20to%20disable%20the%20listeners.%0A%20%20%20%20%20%20%20*%20%40type%20%7B%3FEventTarget%7D%0A%20%20%20%20%20%20%20*%2FkeyEventTarget%3A%7Btype%3AObject%2Cvalue%3Afunction()%7Breturn%20this%7D%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20If%20true%2C%20this%20property%20will%20cause%20the%20implementing%20element%20to%0A%20%20%20%20%20%20%20*%20automatically%20stop%20propagation%20on%20any%20handled%20KeyboardEvents.%0A%20%20%20%20%20%20%20*%2FstopKeyboardEventPropagation%3A%7Btype%3ABoolean%2Cvalue%3A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A!1%7D%2C_boundKeyHandlers%3A%7Btype%3AArray%2Cvalue%3Afunction()%7Breturn%5B%5D%7D%7D%2C%2F%2F%20We%20use%20this%20due%20to%20a%20limitation%20in%20IE10%20where%20instances%20will%20have%0A%2F%2F%20own%20properties%20of%20everything%20on%20the%20%22prototype%22.%0A_imperativeKeyBindings%3A%7Btype%3AObject%2Cvalue%3Afunction()%7Breturn%7B%7D%7D%7D%7D%2Cobservers%3A%5B%22_resetKeyEventListeners(keyEventTarget%2C%20_boundKeyHandlers)%22%5D%2C%2F**%0A%20%20%20%20%20*%20To%20be%20used%20to%20express%20what%20combination%20of%20keys%20%20will%20trigger%20the%20relative%0A%20%20%20%20%20*%20callback.%20e.g.%20%60keyBindings%3A%20%7B%20'esc'%3A%20'_onEscPressed'%7D%60%0A%20%20%20%20%20*%20%40type%20%7B!Object%7D%0A%20%20%20%20%20*%2FkeyBindings%3A%7B%7D%2Cregistered%3Afunction()%7Bthis._prepKeyBindings()%7D%2Cattached%3Afunction()%7Bthis._listenKeyEventListeners()%7D%2Cdetached%3Afunction()%7Bthis._unlistenKeyEventListeners()%7D%2C%2F**%0A%20%20%20%20%20*%20Can%20be%20used%20to%20imperatively%20add%20a%20key%20binding%20to%20the%20implementing%0A%20%20%20%20%20*%20element.%20This%20is%20the%20imperative%20equivalent%20of%20declaring%20a%20keybinding%0A%20%20%20%20%20*%20in%20the%20%60keyBindings%60%20prototype%20property.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40param%20%7Bstring%7D%20eventString%0A%20%20%20%20%20*%20%40param%20%7Bstring%7D%20handlerName%0A%20%20%20%20%20*%2FaddOwnKeyBinding%3Afunction(eventString%2ChandlerName)%7Bthis._imperativeKeyBindings%5BeventString%5D%3DhandlerName%3Bthis._prepKeyBindings()%3Bthis._resetKeyEventListeners()%7D%2C%2F**%0A%20%20%20%20%20*%20When%20called%2C%20will%20remove%20all%20imperatively-added%20key%20bindings.%0A%20%20%20%20%20*%2FremoveOwnKeyBindings%3Afunction()%7Bthis._imperativeKeyBindings%3D%7B%7D%3Bthis._prepKeyBindings()%3Bthis._resetKeyEventListeners()%7D%2C%2F**%0A%20%20%20%20%20*%20Returns%20true%20if%20a%20keyboard%20event%20matches%20%60eventString%60.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40param%20%7BKeyboardEvent%7D%20event%0A%20%20%20%20%20*%20%40param%20%7Bstring%7D%20eventString%0A%20%20%20%20%20*%20%40return%20%7Bboolean%7D%0A%20%20%20%20%20*%2FkeyboardEventMatchesKeys%3Afunction(event%2CeventString)%7Bfor(var%20keyCombos%3DparseEventString(eventString)%2Ci%3D0%3Bi%3CkeyCombos.length%3B%2B%2Bi)%7Bif(keyComboMatchesEvent(keyCombos%5Bi%5D%2Cevent))%7Breturn!0%7D%7Dreturn!1%7D%2C_collectKeyBindings%3Afunction()%7Bvar%20keyBindings%3Dthis.behaviors.map(function(behavior)%7Breturn%20behavior.keyBindings%7D)%3Bif(-1%3D%3D%3DkeyBindings.indexOf(this.keyBindings))%7BkeyBindings.push(this.keyBindings)%7Dreturn%20keyBindings%7D%2C_prepKeyBindings%3Afunction()%7Bthis._keyBindings%3D%7B%7D%3Bthis._collectKeyBindings().forEach(function(keyBindings)%7Bfor(var%20eventString%20in%20keyBindings)%7Bthis._addKeyBinding(eventString%2CkeyBindings%5BeventString%5D)%7D%7D%2Cthis)%3Bfor(var%20eventString%20in%20this._imperativeKeyBindings)%7Bthis._addKeyBinding(eventString%2Cthis._imperativeKeyBindings%5BeventString%5D)%7D%2F%2F%20Give%20precedence%20to%20combos%20with%20modifiers%20to%20be%20checked%20first.%0Afor(var%20eventName%20in%20this._keyBindings)%7Bthis._keyBindings%5BeventName%5D.sort(function(kb1%2Ckb2)%7Bvar%20b1%3Dkb1%5B0%5D.hasModifiers%2Cb2%3Dkb2%5B0%5D.hasModifiers%3Breturn%20b1%3D%3D%3Db2%3F0%3Ab1%3F-1%3A1%7D)%7D%7D%2C_addKeyBinding%3Afunction(eventString%2ChandlerName)%7BparseEventString(eventString).forEach(function(keyCombo)%7Bthis._keyBindings%5BkeyCombo.event%5D%3Dthis._keyBindings%5BkeyCombo.event%5D%7C%7C%5B%5D%3Bthis._keyBindings%5BkeyCombo.event%5D.push(%5BkeyCombo%2ChandlerName%5D)%7D%2Cthis)%7D%2C_resetKeyEventListeners%3Afunction()%7Bthis._unlistenKeyEventListeners()%3Bif(this.isAttached)%7Bthis._listenKeyEventListeners()%7D%7D%2C_listenKeyEventListeners%3Afunction()%7Bif(!this.keyEventTarget)%7Breturn%7DObject.keys(this._keyBindings).forEach(function(eventName)%7Bvar%20keyBindings%3Dthis._keyBindings%5BeventName%5D%2CboundKeyHandler%3Dthis._onKeyBindingEvent.bind(this%2CkeyBindings)%3Bthis._boundKeyHandlers.push(%5Bthis.keyEventTarget%2CeventName%2CboundKeyHandler%5D)%3Bthis.keyEventTarget.addEventListener(eventName%2CboundKeyHandler)%7D%2Cthis)%7D%2C_unlistenKeyEventListeners%3Afunction()%7Bvar%20keyHandlerTuple%2CkeyEventTarget%2CeventName%2CboundKeyHandler%3Bwhile(this._boundKeyHandlers.length)%7B%2F%2F%20My%20kingdom%20for%20block-scope%20binding%20and%20destructuring%20assignment..%0AkeyHandlerTuple%3Dthis._boundKeyHandlers.pop()%3BkeyEventTarget%3DkeyHandlerTuple%5B0%5D%3BeventName%3DkeyHandlerTuple%5B1%5D%3BboundKeyHandler%3DkeyHandlerTuple%5B2%5D%3BkeyEventTarget.removeEventListener(eventName%2CboundKeyHandler)%7D%7D%2C_onKeyBindingEvent%3Afunction(keyBindings%2Cevent)%7Bif(this.stopKeyboardEventPropagation)%7Bevent.stopPropagation()%7D%2F%2F%20if%20event%20has%20been%20already%20prevented%2C%20don't%20do%20anything%0Aif(event.defaultPrevented)%7Breturn%7Dfor(var%20i%3D0%3Bi%3CkeyBindings.length%3Bi%2B%2B)%7Bvar%20keyCombo%3DkeyBindings%5Bi%5D%5B0%5D%2ChandlerName%3DkeyBindings%5Bi%5D%5B1%5D%3Bif(keyComboMatchesEvent(keyCombo%2Cevent))%7Bthis._triggerKeyHandler(keyCombo%2ChandlerName%2Cevent)%3B%2F%2F%20exit%20the%20loop%20if%20eventDefault%20was%20prevented%0Aif(event.defaultPrevented)%7Breturn%7D%7D%7D%7D%2C_triggerKeyHandler%3Afunction(keyCombo%2ChandlerName%2CkeyboardEvent)%7Bvar%20detail%3DObject.create(keyCombo)%3Bdetail.keyboardEvent%3DkeyboardEvent%3Bvar%20event%3Dnew%20CustomEvent(keyCombo.event%2C%7Bdetail%3Adetail%2Ccancelable%3A!0%7D)%3Bthis%5BhandlerName%5D.call(this%2Cevent)%3Bif(event.defaultPrevented)%7BkeyboardEvent.preventDefault()%7D%7D%7D%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Firon-a11y-keys-behavior%2Firon-a11y-keys-behavior.html.js%0A | 12 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-row/src/IngRow.js | 1.0 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/style/mixins/typography.js | 1.6 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/lib/part.js | 596 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lodash-es/isSymbol.js | 152 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,%2F**%0A%20%20%20%20*%20%60ing-uic-cms-footer%60%0A%20%20%20%20*%20cms%20footer%0A%20%20%20%20*%0A%20%20%20%20*%20%40customElement%0A%20%20%20%20*%20%40polymer%0A%20%20%20%20*%20%40demo%20demo%2Findex.html%0A%20%20%20%20*%2Fclass%20IngUicCmsFooter%20extends%20Polymer.GestureEventListeners(Polymer.Element)%7B%2F**%0A%20%20%20%20%20%20*%20Component%20definition%0A%20%20%20%20%20%20*%2Fstatic%20get%20is()%7Breturn%22ing-uic-cms-footer%22%7D%2F**%0A%20%20%20%20%20%20*%20Properties%0A%20%20%20%20%20%20*%2Fstatic%20get%20properties()%7Breturn%7B%2F**%0A%20%20%20%20%20%20%20%20%20%20*%20Data%20of%20the%20component%3A%20from%20API%0A%20%20%20%20%20%20%20%20%20%20*%2Fdata%3AObject%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20*%20Data%20of%20the%20footer%20columns%0A%20%20%20%20%20%20%20%20%20%20*%2F_simple%3AArray%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20*%20Social%20icons%20data%20in%20footer%0A%20%20%20%20%20%20%20%20%20%20*%2F_social%3AObject%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20*%20Links%20from%20bar%20in%20footer%0A%20%20%20%20%20%20%20%20%20%20*%2F_linkBar%3AObject%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20*%20Accessibility%20data%20in%20footer%0A%20%20%20%20%20%20%20%20%20%20*%2F_accessibility%3AObject%7D%7D%2F**%0A%20%20%20%20%20%20*%20Polymer%20observer%20callback%0A%20%20%20%20%20%20*%0A%20%20%20%20%20%20*%20%40static%0A%20%20%20%20%20%20*%2Fstatic%20get%20observers()%7Breturn%5B%22_getData(data)%22%5D%7D%2F**%0A%20%20%20%20%20*%20Set%20private%20variables%20of%20data%20content%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40public%0A%20%20%20%20%20*%20%40param%20%7BObject%7D%20data%20json%20parsed%20from%20api%0A%20%20%20%20%20*%2F_getData(data)%7Bif(!data)return%3BObject.keys(data).forEach(e%3D%3E%7Bif(%22columnaLinks%22%3D%3D%3De)%7Bthis._simple%3Ddata%5Be%5D.groups%7Dif(%22columnaIconos%22%3D%3D%3De)%7Bthis._social%3Ddata%5Be%5D%7Dif(%22informacionLegal%22%3D%3D%3De)%7Bthis._hrefBar%3Ddata%5Be%5D%7Dif(%22accesibilidad%22%3D%3D%3De)%7Bthis._accessibility%3Ddata%5Be%5D%7D%7D)%7D%7Dwindow.customElements.define(IngUicCmsFooter.is%2CIngUicCmsFooter)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fing-uic-cms-footer%2Fing-uic-cms-footer.html.js%0A | 1.4 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-list/ing-list.js | 205 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/lib/dom.js | 889 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/_legacy/ajax/src/interceptors.js | 737 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/core/src/EventTargetShim.js | 255 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,const%20LIST_NAMES%3D%7BCTABlock%3A%22ctaList%22%2CExtendedLinkBlock%3A%22extendedLinkList%22%7D%3B%2F**%0A%20%20%20%20%20*%20%60ing-uic-cms-content-block%60%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40customElement%0A%20%20%20%20%20*%20%40polymer%0A%20%20%20%20%20*%20%40demo%20demo%2Findex.html%0A%20%20%20%20%20*%2Fclass%20IngUicCmsContentBlock%20extends%20Polymer.TagManager(Polymer.HippoParser(Polymer.Element))%7B%2F**%0A%20%20%20%20%20%20%20*%20Component%20definition%0A%20%20%20%20%20%20%20*%2Fstatic%20get%20is()%7Breturn%22ing-uic-cms-content-block%22%7D%2F**%0A%20%20%20%20%20%20%20*%20Properties%0A%20%20%20%20%20%20%20*%2Fstatic%20get%20properties()%7Breturn%7B%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20Data%20from%20API%0A%20%20%20%20%20%20%20%20%20%20%20*%2Fdata%3AObject%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20parsed%20data%20from%20API%0A%20%20%20%20%20%20%20%20%20%20%20*%2F_data%3A%7Btype%3AArray%2Ccomputed%3A%22_parseData(data)%22%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20Property%20for%20core%20media%0A%20%20%20%20%20%20%20%20%20%20%20*%2Fsizing%3AString%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20api%20data%20conversion%0A%20%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20data%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%20%40returns%20%7BObject%7D%0A%20%20%20%20%20%20%20*%2F_parseData(data)%7Bconst%20_data%3D%5B%5D%3Bif(data)%7Bconst%20parsedData%3DJSON.parse(JSON.stringify(data))%3Bif(parsedData%26%26parsedData.length)%7Bconst%20BLOCK%3D%22ExtendedLinkBlock%22%2CLIST%3DLIST_NAMES%5BBLOCK%5D%3Blet%20lastType%3D%22%22%3BparsedData.forEach(item%3D%3E%7Bif(item%26%26item.type%3D%3D%3DBLOCK%26%26item.type%3D%3D%3DlastType)%7Bconst%5Blast%5D%3D_data.slice(-1)%3Bif(last)%7Bconst%20list%3Dlast.items%5BLIST%5D%3Blist%5Blist.length-1%5D.items.sep%3D%22true%22%3Blast.items%5BLIST%5D%3Dlist.concat(item.items%5BLIST%5D)%7D%7Delse%7B_data.push(item)%7Dif(item)%7BlastType%3Ditem.type%7D%7D)%7D%7Dreturn%20_data%7D%2F**%0A%20%20%20%20%20%20%20*%20Check%20if%20contentType%20is%20RichText%2C%20CTABlock%2C%20ExtendedLink%2C%20CoreMedia%2C%20NumberBlock%2C%0A%20%20%20%20%20%20%20*%20RiskLevel%2C%20Graph%0A%20%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20contentType%0A%20%20%20%20%20%20%20*%20%40param%20%7BString%7D%20type%0A%20%20%20%20%20%20%20*%20%40param%20%7BString%7D%20secondType%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%20%40returns%20%7BBoolean%7D%0A%20%20%20%20%20%20%20*%2F_checkDataType(contentType%2Ctype%2CsecondType)%7Breturn%20contentType%26%26contentType.type%3D%3D%3Dtype%7C%7CcontentType%26%26secondType%26%26contentType.type%3D%3D%3DsecondType%7D%2F**%0A%20%20%20%20%20*%20Check%20if%20has%20to%20render%20RiskLevel%20or%20Graph%20contentType%20and%20import%20that%20element%0A%20%20%20%20%20*%20%40param%20%7BObject%7D%20content%0A%20%20%20%20%20*%20%40param%20%7BString%7D%20type%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%20%40returns%20%7BBoolean%7D%0A%20%20%20%20%20*%2F_hasContentToRender(content%2Ctype)%7B%2F*%20eslint%20no-console%3A%20%5B%22error%22%2C%20%7B%20allow%3A%20%5B%22error%22%5D%20%7D%5D%20*%2Fif(%22RiskLevel%22%3D%3D%3Dtype%26%26this._checkDataType(content%2Ctype))%7Breturn%20this._importElement(%22risk-level%22).catch(error%3D%3E%7Bconsole.error(error)%7D)%7Dif(%22Graph%22%3D%3D%3Dtype%26%26this._checkDataType(content%2Ctype))%7Breturn%20this._importElement(%22graph-product%22).catch(error%3D%3E%7Bconsole.error(error)%7D)%7Dreturn(%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A!1)%7D%2F**%0A%20%20%20%20%20%20*%20Import%20in%20the%20component%20head%20the%20element%20specified%0A%20%20%20%20%20%20*%20%40param%20%7BString%7D%20name%0A%20%20%20%20%20%20*%0A%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20*%2F_importElement(name)%7Breturn%20new%20Promise((resolve%2Creject)%3D%3E%7Bconst%20href%3Dthis.resolveUrl(%60..%2Fing-uic-cms-%24%7Bname%7D%2Fing-uic-cms-%24%7Bname%7D.html%60)%3BPolymer.importHref(href%2Ce%3D%3E%7Bif(e.target%26%26e.target.import)%7Bresolve(%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A)%7D%7D%2Creject%2C!0)%7D)%7D%2F**%0A%20%20%20%20%20%20%20*%20Check%20if%20contentType%20is%20CTA%20and%20if%20there%20are%20multiple%20CTAs%0A%20%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20content%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%20%40returns%20%7BBoolean%7D%0A%20%20%20%20%20%20%20*%2F_checkMultipleCTA(content)%7Bif(content%26%26content.items)%7Bconst%20list%3Dcontent.items%5BLIST_NAMES%5Bcontent.type%5D%5D%7C%7C%5B%5D%3Breturn%20this._checkDataType(content%2C%22CTABlock%22%2C%22ExtendedLinkBlock%22)%26%261%3Clist.length%7Dreturn!1%7D%2F**%0A%20%20%20%20%20%20%20*%20Check%20if%20contentType%20is%20CTA%20and%20if%20there%20is%20a%20single%20CTA%0A%20%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20content%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%20%40returns%20%7BBoolean%7D%0A%20%20%20%20%20%20%20*%2F_checkSingleCTA(content)%7Bif(content%26%26content.items)%7Bconst%20list%3Dcontent.items%5BLIST_NAMES%5Bcontent.type%5D%5D%7C%7C%5B%5D%3Breturn%20this._checkDataType(content%2C%22CTABlock%22%2C%22ExtendedLinkBlock%22)%26%261%3D%3D%3Dlist.length%7Dreturn!1%7D%2F**%0A%20%20%20%20%20%20%20*%20Get%20RichTextBlock%20content%20items%0A%20%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20content%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%20%40returns%20%7BArray%7D%0A%20%20%20%20%20%20%20*%2F_getContentItems(content)%7Breturn%20content.items%26%26content.items.paragraphList%3Fcontent.items.paragraphList%3A%5B%5D%7D%2F**%0A%20%20%20%20%20%20%20*%20Get%20NumberBlock%20content%20items%20from%20key%20position%0A%20%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20content%0A%20%20%20%20%20%20%20*%20%40param%20%7BNumber%7D%20key%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%20%40returns%20%7BArray%7D%0A%20%20%20%20%20%20%20*%2F_getListItems(content%2Ckey)%7Bconst%20list%3Dcontent.items%26%26content.items%5Bkey%5D%3Fcontent.items%5Bkey%5D%3A%5B%5D%3Breturn%20list.map(item%3D%3Eitem.items)%7D%2F**%0A%20%20%20%20%20%20%20*%20Get%20CoreMediaBlock%20content%20items%0A%20%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20content%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%20%40returns%20%7BArray%7D%0A%20%20%20%20%20%20%20*%2F_getMediaItems(content)%7Bconst%20list%3Dcontent.items%26%26content.items.CoreMediaList%3Fcontent.items.CoreMediaList%3A%5B%5D%3Breturn%20list.map(item%3D%3Eitem.items)%7D%2F**%0A%20%20%20%20%20%20*%20Get%20a%20string%20with%20the%20cell%20content%20inside%20a%20wrapper%0A%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20el%0A%20%20%20%20%20%20*%0A%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20*%20%40returns%20%7BString%7D%0A%20%20%20%20%20%20*%2F_createWrapperFor(el)%7Bconst%20elContent%3Del.innerHTML%2Cwrapper%3Ddocument.createElement(%22DIV%22)%3Bwrapper.classList.add(%22wrapper%22)%3Bconst%20container%3Ddocument.createElement(%22DIV%22)%3Bcontainer.insertAdjacentHTML(%22afterbegin%22%2CelContent)%3Bwrapper.appendChild(container)%3Breturn%20wrapper.outerHTML%7D%2F**%0A%20%20%20%20%20%20*%20Get%20a%20new%20table%20with%20wrappers%20inside%20cells%0A%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20tableElement%0A%20%20%20%20%20%20*%0A%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20*%20%40returns%20%7BString%7D%0A%20%20%20%20%20%20*%2F_transformTable(tableElement)%7Bconst%20newTable%3DtableElement%3Bif(newTable)%7BnewTable.classList.add(%22ie%22)%3Bconst%20thElements%3DtableElement.querySelectorAll(%22th%22)%2CtdElements%3DtableElement.querySelectorAll(%22td%22)%3Bfor(let%20i%3D0%3Bi%3CthElements.length%3Bi%2B%3D1)%7BthElements%5Bi%5D.innerHTML%3Dthis._createWrapperFor(thElements%5Bi%5D)%7Dfor(let%20i%3D0%3Bi%3CtdElements.length%3Bi%2B%3D1)%7BtdElements%5Bi%5D.innerHTML%3Dthis._createWrapperFor(tdElements%5Bi%5D)%7D%7Dconst%20container%3Ddocument.createElement(%22DIV%22)%3Bcontainer.appendChild(newTable)%3Bconst%20newTableText%3Dcontainer.innerHTML%3Breturn%20newTableText%7D%2F**%0A%20%20%20%20%20%20%20*%20Append%20html%20content%20to%20rich%20container%20block%0A%20%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20paragraphs%0A%20%20%20%20%20%20%20*%20%40param%20%7BNumber%7D%20idx%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2F_getContentBlock(paragraphs%2Cidx)%7Blet%7Bcontent%7D%3Dparagraphs%3Bconst%20isExplorer%3D-1%3Cnavigator.userAgent.indexOf(%22MSIE%20%22)%7C%7C-1%3Cnavigator.userAgent.indexOf(%22Trident%2F%22)%2CtableElement%3Ddocument.createRange().createContextualFragment(content).querySelector(%22table.rotate.tabla1%22)%3Bif(tableElement%26%26isExplorer)%7Bconst%20newTable%3Dthis._transformTable(tableElement)%2CregExp%3D%2F%3Ctable((.*)%5Cn(.*))*%3C%5C%2Ftable%3E%2Fgim%3Bcontent%3Dcontent.replace(regExp%2CnewTable)%7Dconst%7Blinks%7D%3Dparagraphs%2CgetAttributeName%3DtagName%3D%3E(%7Ba%3A%22href%22%2Cimg%3A%22src%22%7D)%5BtagName%5D%3Bif(-1!%3D%3Dcontent.indexOf(%22data-hippo-link%22))%7Bcontent.split(%22data-hippo-link%22).forEach((ob%2Cindex%2Carr)%3D%3E%7Bif(arr%5Bindex%2B1%5D)%7Bconst%20tagStr%3Darr%5Bindex%5D%2CtagName%3DtagStr.substr(tagStr.lastIndexOf(%22%3C%22)%2B1).split(%22%20%22)%5B0%5D%2Cvalue%3Darr%5Bindex%2B1%5D%7C%7C%22%3D%5C%22%5C%22%22%3Blinks%5Bvalue.split(value.charAt(1))%5B1%5D%5D.attr%3DgetAttributeName(tagName)%7D%7D)%3Bcontent%3Dcontent.replace(%2Fdata-hippo-link%3D%22(%5B%5E%22%5D*)%22%2Fig%2C(match%2Cvalue)%3D%3E%60%24%7Blinks%5Bvalue%5D.attr%7D%3D%22%24%7Blinks%5Bvalue%5D.url%7D%22%20alt%3D%22%24%7Blinks%5Bvalue%5D.alt%7D%22%60)%7Dconst%20div%3Ddocument.createElement(%22div%22)%3Bdiv.className%3D%22content-item%22%3Bdiv.innerHTML%3Dcontent%3Bif(this.shadowRoot.querySelectorAll(%22.content-block%22)%5Bidx%5D)%7Bthis.shadowRoot.querySelectorAll(%22.content-block%22)%5Bidx%5D.appendChild(div)%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Get%20button%20content%20from%20CTABlock%0A%20%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20content%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%20%40returns%20%7BArray%7D%0A%20%20%20%20%20%20%20*%2F_getButtons(content)%7Bconst%7BextractHref%7D%3Dthis.getParser()%2CparseExtendedLink%3Ditem%3D%3E(%7Balt%3Aitem.alternativeText%2Chref%3Aitem.link%2Ctitle%3Aitem.displayText%2Ctarget%3Aitem.target%2Cposition%3Aitem.position%2Csep%3Aitem.sep%2Cicon%3Aitem.icon%2Ctype%3A%22link%22%2Cevent%3Aitem.event%2Cevent_queue%3Aitem.event_queue%7D)%2Cparse%3D%7BCTA%3Aitem%3D%3EextractHref(item.items)%2CextendedLink%3Aitem%3D%3EparseExtendedLink(item.items)%7D%2Clist%3D(content.items%7C%7C%7B%7D)%5BLIST_NAMES%5Bcontent.type%5D%5D%7C%7C%5B%5D%3Breturn%20list.map(item%3D%3Eparse%5Bitem.type%5D(item))%7D%2F**%0A%20%20%20%20%20%20%20*%20Get%20get%20class%20of%20the%20button%20container%0A%20%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20content%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%20%40returns%20%7BObject%7D%0A%20%20%20%20%20%20%20*%2F_getButtonsContainerClass(content)%7Bconst%20list%3D(content.items%7C%7C%7B%7D)%5BLIST_NAMES%5Bcontent.type%5D%5D%7C%7C%5B%5D%3Breturn(list%5B0%5D%7C%7C%7B%7D).items.position%7C%7C%22%22%7D%2F**%0A%20%20%20%20%20%20%20*%20Get%20the%20last%20element%20of%20the%20data%0A%20%20%20%20%20%20%20*%20%40param%20%7BNumber%7D%20index%0A%20%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20data%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%20%40returns%20%7BObject%7D%0A%20%20%20%20%20%20%20*%2F_getFirstLastClass(index%2Cdata)%7Bconst%20classList%3D%5B%5D%3Bif(0%3D%3D%3Dindex)%7BclassList.push(%22first%22)%7Dif(data%26%26index%3D%3D%3Ddata.length-1)%7BclassList.push(%22last%22)%7Dreturn%20classList.join(%22%20%22)%7D%7Dwindow.customElements.define(IngUicCmsContentBlock.is%2CIngUicCmsContentBlock)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fing-uic-cms-content-block%2Fing-uic-cms-content-block.html.js%0A | 8.7 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/lib/template.js | 2.5 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/es6/bower_components/shadycss/apply-shim.min.js | 11 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,%2F**%0A%20%20%20%20%20*%20%60ing-uic-cms-submenu-item%60%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40customElement%0A%20%20%20%20%20*%20%40polymer%0A%20%20%20%20%20*%20%40demo%20demo%2Findex.html%0A%20%20%20%20%20*%2Fclass%20IngUicCmsSubmenuItem%20extends%20Polymer.GestureEventListeners(Polymer.Element)%7B%2F**%0A%20%20%20%20%20%20*%20Component%20definition%0A%20%20%20%20%20%20*%2Fstatic%20get%20is()%7Breturn%22ing-uic-cms-submenu-item%22%7D%2F**%0A%20%20%20%20%20%20*%20Properties%0A%20%20%20%20%20%20*%2Fstatic%20get%20properties()%7Breturn%7B%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20Submenu%20items%0A%20%20%20%20%20%20%20%20%20%20%20*%2Fitems%3AArray%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20Grid%20type%20coming%20from%20submenu%0A%20%20%20%20%20%20%20%20%20%20%20*%2Fgrid%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20Group%20of%20subitems%20(Productos%2C%20Servicios...)%0A%20%20%20%20%20%20%20%20%20%20%20*%2Fgroup%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20*%20True%20when%20the%20group%20of%20subitems%20is%20%22Productos%22%0A%20%20%20%20%20%20%20%20%20%20*%2FisProductsGroup%3A%7Btype%3ABoolean%2Ccomputed%3A%22_checkSubitemGroup(group)%22%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20*%20The%20class%20%22productos%22%20or%20%22servicios%20coming%20from%20submenu%0A%20%20%20%20%20%20%20%20%20%20*%2FgroupClass%3AString%7D%7D%2F**%0A%20%20%20%20%20%20*%20Check%20if%20the%20group%20of%20subitems%20is%20the%20one%20that%20should%20show%20the%20icons%0A%20%20%20%20%20%20*%20%40param%20%7BString%7D%20group%20Subitem%20group%20title%0A%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20*%20%40returns%20%7BBoolean%7D%20True%20when%20the%20group%20of%20subitems%20is%20%22Productos%22%0A%20%20%20%20%20%20*%2F_checkSubitemGroup(group)%7Breturn%22Productos%22%3D%3D%3Dgroup%7D%7Dwindow.customElements.define(IngUicCmsSubmenuItem.is%2CIngUicCmsSubmenuItem)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fing-uic-cms-header%2Fing-uic-cms-submenu-item.html.js%0A | 1.3 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/directives/until.js | 1.2 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/snackbar/SnackbarManager.js | 2.0 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/icon/oj-icons/outline/arrows/arrow_circle_left_outline.svg.js | 360 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,%2F**%0A%20%20%20%20%20*%20%60ing-uic-cms-anchor%60%0A%20%20%20%20%20*%20Links%20and%20call-to-actions%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40customElement%0A%20%20%20%20%20*%20%40polymer%0A%20%20%20%20%20*%20%40demo%20demo%2Findex.html%0A%20%20%20%20%20*%2Fclass%20IngUicCmsAnchor%20extends%20Polymer.GestureEventListeners(Polymer.I18n(Polymer.Element))%7B%2F**%0A%20%20%20%20%20%20%20*%20Component%20definition%0A%20%20%20%20%20%20%20*%2Fstatic%20get%20is()%7Breturn%22ing-uic-cms-anchor%22%7D%2F**%0A%20%20%20%20%20%20%20*%20Properties%0A%20%20%20%20%20%20%20*%2Fstatic%20get%20properties()%7Breturn%7B%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20Destination%20of%20anchor%20link%0A%20%20%20%20%20%20%20%20%20%20%20*%2Fhref%3A%7Btype%3AString%2Cvalue%3A%22%23%22%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20Target%20where%20to%20load%20anchor%0A%20%20%20%20%20%20%20%20%20%20%20*%2Ftarget%3A%7Btype%3AString%2Cvalue%3A%22%23%22%2Cobserver%3A%22_setHaspopup%22%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20Title%20to%20be%20showed%20when%20hover%0A%20%20%20%20%20%20%20%20%20%20%20*%2Ftitle%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20Label%20to%20accesibility%0A%20%20%20%20%20%20%20%20%20%20%20*%2FariaLabel%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20Mark%20content%20as%20expanded%20to%20accesibility%0A%20%20%20%20%20%20%20%20%20%20%20*%2FariaExpanded%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20Tracked%20section%0A%20%20%20%20%20%20%20%20%20%20%20*%2Ftrackingsection%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20Tracked%20name%0A%20%20%20%20%20%20%20%20%20%20%20*%2Ftrackingname%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20Value%20to%20set%20target%20as%20lightbox%0A%20%20%20%20%20%20%20%20%20%20%20*%2FisLightbox%3A%7Btype%3ABoolean%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20Value%20to%20set%20event%20for%20tag%20manager%0A%20%20%20%20%20%20%20%20%20%20%20*%2FtmEvent%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20Value%20to%20set%20if%20tag%20manager%20is%20queue%0A%20%20%20%20%20%20%20%20%20%20%20*%2FtmQueue%3ABoolean%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20Add%20aria%20disabled%20support%20for%20accesibility%0A%20%20%20%20%20%20%20%20%20%20%20*%2FariaDisabled%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20Send%20html%20content%20data%20to%20show%20on%20lightbox%0A%20%20%20%20%20%20%20%20%20%20%20*%2FhtmlContentData%3AString%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Find%20the%20anchor%20that%20has%20opened%20current%20closed%20lightbox%20an%20put%20focus%20on%20it.%0A%20%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20e%20event%20information.%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2F_checkElement(e)%7Bif(this.target%3D%3D%3De.detail.target%26%26this.href%3D%3D%3De.detail.href)%7Bthis.focus()%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Connected%20callback%20lifeCycle%20method.%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2FconnectedCallback()%7Bsuper.connectedCallback()%3Bthis.loadLabels(%22close%22)%3Bwindow.document.body.addEventListener(%22lightbox-closed%22%2Ce%3D%3Ethis._checkElement(e))%7D%2F**%0A%20%20%20%20%20%20%20*%20Disconnected%20callback%20lifeCycle%20method.%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2FdisconnectedCallback()%7Bwindow.document.body.removeEventListener(%22lightbox-closed%22%2Ce%3D%3Ethis._checkElement(e))%7D%2F**%0A%20%20%20%20%20%20%20*%20Ready%20lifecycle%20hook.%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2Fready()%7Bsuper.ready()%3Bthis.%24.a.addEventListener(%22keydown%22%2Ce%3D%3E%7Bif(%22Tab%22%3D%3D%3De.key)%7Bthis.%24.a.style.outline%3D%22%22%7D%7D)%7D%2F**%0A%20%20%20%20%20%20%20*%20Set%20the%20focus%20of%20the%20anchor.%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2Ffocus()%7Bthis.%24.a.focus()%7D%2F**%0A%20%20%20%20%20%20%20*%20Set%20attribute%20has%20popup%20to%20accesibility.%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2F_setHaspopup()%7Bif(this.%24.a.target%26%26-1!%3D%3Dthis.%24.a.target.indexOf(%22Lightbox%22))%7Bthis.%24.a.setAttribute(%22aria-haspopup%22%2C%22true%22)%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Customize%20default%20action%20of%20the%20anchor.%0A%20%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20e%20event%20information.%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2F_navigate(e)%7Be.preventDefault()%3Bconst%20eventDetails%3D%7B%7D%3BObject.keys(this.constructor.properties).forEach(property%3D%3E%7BeventDetails%5Bproperty%5D%3Dthis%5Bproperty%5D%7D)%3Bconst%20eventData%3D%7Bbubbles%3A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2Ccomposed%3A!0%2Cdetail%3AeventDetails%7D%3Bthis.dispatchEvent(new%20CustomEvent(%22custom-anchor-click%22%2CeventData))%3Bif(this.href%26%26%22%23%22!%3D%3Dthis.href.substring(0%2C1))%7Bif(!this._isLightbox())%7Bif(this._isTransactionalLink()%26%26%22undefined%22!%3D%3Dtypeof%20window.Visitor)%7Bconst%20vsi%3Dwindow.Visitor.getInstance(%221C48C1C6583859BE0A495C39%40AdobeOrg%22)%3Bthis.href%3Dvsi.appendVisitorIDsTo(this.href)%7Dif(this.target%26%26%22_blank%22%3D%3D%3Dthis.target)%7Bwindow.open(this.href%2Cthis.target)%7Delse%7Bwindow.location.href%3Dthis.href%7D%7Delse%20if(this.target%26%26this.href)%7Bthis.savedScroll%3Dwindow.pageYOffset%3Bthis._openLightbox(this.target%2Cthis.href%2Cthis.htmlContentData)%7D%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Detect%20if%20anchor%20links%20to%20a%20lightbox%20dialog.%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2F_isLightbox()%7Bif(%22_simpleLightbox%22%3D%3D%3Dthis.target%7C%7C%22_modalLightbox%22%3D%3D%3Dthis.target)%7Bthis.isLightbox%3D!0%3Breturn!0%7Dthis.isLightbox%3D%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A!1%3Breturn!1%7D%2F**%0A%20%20%20%20%20%20%20*%20Launch%20dialog%20and%20detect%20type%20of.%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20targetAttr%20indicates%20value%20of%20target.%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20hrefVal%20indicates%20value%20of%20href.%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2F_openLightbox(targetAttr%2ChrefVal%3D%22%23%22%2ChtmlContentData)%7Bthis.lightboxElement%3Dwindow.document.getElementsByTagName(%22ing-uic-cms-lightbox%22)%3Bconst%20target%3Ddocument.createElement(%22ing-uic-cms-lightbox%22)%3Btarget.setAttribute(%22on-iron-overlay-closed%22%2C%22_onCloseDialog%22)%3Bif(0%3Cthis.lightboxElement.length)%7Bwindow.document.body.removeChild(this.lightboxElement%5B0%5D)%7Dwindow.document.getElementsByTagName(%22body%22)%5B0%5D.appendChild(target)%3Bconst%20ident%3D%22_simpleLightbox%22%3D%3D%3DtargetAttr%3F%22%23informative%22%3A%22%23interactive%22%3BPolymer.RenderStatus.afterNextRender(this%2C()%3D%3E%7Btarget.setAttribute(%22close-label%22%2Cthis.%24.a.getAttribute(%22close-label%22))%3Btarget.setAttribute(%22to-scroll%22%2Cthis.savedScroll)%3Bconst%20subjectRoot%3Dwindow.document.querySelector(%22ing-uic-cms-lightbox%22)%3Bif(subjectRoot)%7Blet%20subject%3Dnull%3Bif(%22%23informative%22%3D%3D%3Dident)%7Bsubject%3DsubjectRoot.%24.informative%7Delse%20if(%22%23interactive%22%3D%3D%3Dident)%7Bsubject%3DsubjectRoot.%24.interactive%7Dif(hrefVal)%7Bsubject.setAttribute(%22href%22%2ChrefVal)%7Dif(htmlContentData)%7Bsubject.setAttribute(%22htmlContentData%22%2ChtmlContentData)%7Dsubject.opened%3D!0%7D%7D)%7D%2F**%0A%20%20%20%20%20%20%20*%20Detect%20if%20anchor%20links%20to%20a%20transactional%20url%20and%20check%20if%20Visitor%20is%20undefined.%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2F_isTransactionalLink()%7Bif(-1!%3D%3Dthis.href.indexOf(%22hippogenoma%2F%22))%7Breturn!0%7Dreturn!1%7D%2F**%0A%20%20%20%20%20%20*%20Avoid%20default%20behaviour%20of%20click%20event.%0A%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20e%0A%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20*%2F_avoidClick(e)%7Be.preventDefault()%7D%7Dwindow.customElements.define(IngUicCmsAnchor.is%2CIngUicCmsAnchor)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fing-uic-cms-anchor%2Fing-uic-cms-anchor.html.js%0A | 6.0 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,%2F**%0A%20%20%20%20%20*%20%60ing-uic-cms-submenu%60%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40customElement%0A%20%20%20%20%20*%20%40polymer%0A%20%20%20%20%20*%20%40demo%20demo%2Findex.html%0A%20%20%20%20%20*%2Fclass%20IngUicCmsSubmenu%20extends%20Polymer.GestureEventListeners(Polymer.Element)%7B%2F**%0A%20%20%20%20%20%20*%20Component%20definition%0A%20%20%20%20%20%20*%2Fstatic%20get%20is()%7Breturn%22ing-uic-cms-submenu%22%7D%2F**%0A%20%20%20%20%20%20*%20Properties%0A%20%20%20%20%20%20*%2Fstatic%20get%20properties()%7Breturn%7B%2F**%0A%20%20%20%20%20%20%20%20%20%20*%20Items%20for%20submenu%0A%20%20%20%20%20%20%20%20%20%20*%2Fitems%3AArray%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20*%20Menu%20item%20coming%20from%20menu%20that%20contains%20this%20submenu%0A%20%20%20%20%20%20%20%20%20%20*%2FmenuItem%3AObject%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20*%20Items%20of%20submenu%20with%20type%20different%20from%20mobile-menu%0A%20%20%20%20%20%20%20%20%20%20*%2FsubmenuOptions%3AArray%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20*%20Grid%20of%20submenu%20coming%20from%20menu%0A%20%20%20%20%20%20%20%20%20%20*%2FsubmenuGrid%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20*%20Class%20that%20determines%20the%20position%20of%20submenu%0A%20%20%20%20%20%20%20%20%20%20*%2F_submenuPositionClass%3AString%7D%7D%2F**%0A%20%20%20%20%20%20*%20Observers%0A%20%20%20%20%20%20*%2Fstatic%20get%20observers()%7Breturn%5B%22_parseItems(items)%22%5D%7D%2F**%0A%20%20%20%20%20%20*%20ConnectedCallback%20Polymer%20method%0A%20%20%20%20%20%20*%2FconnectedCallback()%7Bsuper.connectedCallback()%3BPolymer.RenderStatus.afterNextRender(this%2C()%3D%3E%7Bthis._setSubmenuPosition()%7D)%7D%2F**%0A%20%20%20%20%20%20*%20Set%20submenuOptions%20properties%20values%0A%20%20%20%20%20%20*%20%40param%20%7BArray%7D%20items%20Items%20of%20submenu%0A%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20*%2F_parseItems(items)%7Bconst%20submenuOptions%3D%5B%5D%3Bitems.forEach(item%3D%3E%7Bif(%22mobile-menu%22!%3D%3Ditem.type)%7Bif(!submenuOptions%5Bitem.title%5D)%7BsubmenuOptions%5Bitem.title%5D%3D%5B%5D%7DsubmenuOptions%5Bitem.title%5D%3DsubmenuOptions%5Bitem.title%5D.concat(item.options)%7D%7D)%3Bthis.submenuOptions%3DsubmenuOptions%7D%2F**%0A%20%20%20%20%20%20*%20Get%20class%20of%20submenu-column%20items%0A%20%20%20%20%20%20*%20%40param%20%7BString%7D%20group%20Group%20of%20submenu%20content%3A%20Productos%20o%20Servicios%0A%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20*%20%40returns%20%7BString%7D%20The%20class%0A%20%20%20%20%20%20*%2F_getSubmenuItemClass(group)%7Breturn%20group.toLowerCase()%7D%2F**%0A%20%20%20%20%20%20*%20Get%20the%20key%20of%20the%20item%20in%20submenuOptions%0A%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20submenuItems%20Submenu%20items%0A%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20*%20%40returns%20%7BString%7D%20Key%20of%20item%20in%20submenuOptions%0A%20%20%20%20%20%20*%2F_getKeys(submenuItems)%7Breturn%20Object.keys(submenuItems)%7D%2F**%0A%20%20%20%20%20%20*%20Get%20the%20content%20of%20item%20with%20the%20key%20introduced%0A%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20submenuItems%20Submenu%20items%0A%20%20%20%20%20%20*%20%40param%20%7BString%7D%20index%20Key%20of%20column%0A%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20*%20%40returns%20%7BObject%7D%20Item%20with%20the%20key%20introduced%0A%20%20%20%20%20%20*%2F_getSubmenuItemContent(submenuItems%2Cindex)%7Breturn%20submenuItems%5Bindex%5D%7D%2F**%0A%20%20%20%20%20%20*%20Add%20the%20class%20specified%20in%20the%20element%20introduced%0A%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20el%20Element%20to%20manage%0A%20%20%20%20%20%20*%20%40param%20%7BString%7D%20className%20Class%20to%20add%0A%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20*%2F_addClass(el%2CclassName)%7Bel.classList.add(className)%7D%2F**%0A%20%20%20%20%20%20*%20Remove%20the%20class%20specified%20in%20the%20element%20introduced%0A%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20el%20Element%20to%20manage%0A%20%20%20%20%20%20*%20%40param%20%7BString%7D%20className%20Class%20to%20remove%0A%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20*%2F_removeClass(el%2CclassName)%7Bel.classList.remove(className)%7D%2F**%0A%20%20%20%20%20%20*%20Get%20the%20submenu%20position%20(from%20right%20or%20default)%20depending%20on%20available%20width%0A%20%20%20%20%20%20*%20%40param%20%7BNumber%7D%20menuMargin%20Margin%20of%20menu%20container%0A%20%20%20%20%20%20*%20%40param%20%7BNumber%7D%20menuWidth%20Menu%20width%0A%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20submenuPos%20Submenu%20coordenates%0A%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20*%20%40returns%20%7BString%7D%20Class%20that%20determines%20the%20position%0A%20%20%20%20%20%20*%2F_getSubmenuPosition(menuWidth%2CmenuMargin%2CsubmenuPos)%7Bconst%20susbmenuLeft%3DsubmenuPos.left%2CsubmenuRelativeleft%3DsusbmenuLeft-menuMargin%2CavailableSpace%3DmenuWidth-submenuRelativeleft%2CsubmenuWidth%3DsubmenuPos.width%2CsubmenuPosClass%3DavailableSpace%3CsubmenuWidth%3F%22fromRight%22%3A%22%22%3Bthis._submenuPositionClass%3DsubmenuPosClass%3Breturn%20submenuPosClass%7D%2F**%0A%20%20%20%20%20%20*%20Get%20the%20margin%20left%20size%20of%20menu%20container%0A%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20*%20%40returns%20%7BNumber%7D%20Size%20of%20margin%0A%20%20%20%20%20%20*%2F_getMenuMarginSize()%7Bconst%20menuElement%3DPolymer.dom(this).getOwnerRoot().host%2Cmenu%3DmenuElement.shadowRoot.querySelector(%22.main-menu%22)%2CmenuLeft%3DparseInt(window.getComputedStyle(menu).getPropertyValue(%22margin-left%22).slice(0%2C-2)%2C10)%3B%2F%2F%20We%20need%20to%20get%20the%20host%20because%20of%20the%20incompatibilty%20of%20IE%20to%20read%20css%20variables%0Areturn%20menuLeft%7D%2F**%0A%20%20%20%20%20%20*%20Set%20submenu%20position%20for%20the%20menu%20width%20specified%0A%20%20%20%20%20%20*%20%40param%20%7BNumber%7D%20menuWidth%20Margin%20of%20menu%20container%0A%20%20%20%20%20%20*%20%40param%20%7BNumber%7D%20menuMarginSize%20Menu%20width%0A%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20submenuPos%20Submenu%20coordenates%0A%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20*%2F_setSubmenuPositionWith(menuWidth%2CmenuMarginSize%2CsubmenuPos)%7Bconst%20submenuPosClass%3Dthis._getSubmenuPosition(menuWidth%2CmenuMarginSize%2CsubmenuPos)%3Bif(submenuPosClass)%7Bthis.dispatchEvent(new%20CustomEvent(%22change-submenu-position%22%2C%7Bbubbles%3A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2Ccomposed%3A!0%2Cdetail%3A%7BsubmenuPosClass%7D%7D))%7D%7D%2F**%0A%20%20%20%20%20%20*%20Set%20submenu%20position%20in%20desktop%20and%20tablet%20landscape%20depending%20on%20browser%20size%0A%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20*%2F_setSubmenuPosition()%7Bconst%20menuMarginSize%3Dthis._getMenuMarginSize()%2Csubmenu%3Dthis.shadowRoot.querySelector(%22.submenu%22)%2CmenuContainerMaxWidth%3DparseInt(window.getComputedStyle(submenu).getPropertyValue(%22max-width%22).slice(0%2C-2)%2C10)%3BPolymer.RenderStatus.afterNextRender(submenu%2C()%3D%3E%7Bconst%20submenuPos%3Dsubmenu.getBoundingClientRect()%3Bif(document.body.offsetWidth%3CmenuContainerMaxWidth%2B2*menuMarginSize)%7Bconst%20menuWidthInTablet%3Ddocument.body.offsetWidth-2*menuMarginSize%3Bthis._setSubmenuPositionWith(menuWidthInTablet%2CmenuMarginSize%2CsubmenuPos)%7Delse%7Bthis._setSubmenuPositionWith(menuContainerMaxWidth%2CmenuMarginSize%2CsubmenuPos)%7D%7D)%7D%2F**%0A%20%20%20%20%20%20*%20Method%20to%20come%20back%20to%20the%20first%20list%20in%20the%20mobile%20menu%20and%20update%20the%20view%0A%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20*%2F_backToInit()%7Bconst%20submenu%3Dthis.shadowRoot.querySelector(%22.submenu%22)%3Bthis._removeClass(submenu%2C%22active%22)%3Bthis._addClass(submenu%2C%22submenu-hide%22)%3Bthis.dispatchEvent(new%20CustomEvent(%22close-submenu%22%2C%7Bbubbles%3A!0%2Ccomposed%3A!0%2Cdetail%3A%7BsubmenuClosed%3A!0%2CeventTarget%3Athis%7D%7D))%7D%2F**%0A%20%20%20%20%20%20*%20Send%20an%20event%20to%20main%20menu%20for%20closing%20it%20in%20mobile%0A%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20e%20Event%0A%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20*%2F_closeMenu(e)%7Be.preventDefault()%3Bthis._backToInit(e)%3Bthis.dispatchEvent(new%20CustomEvent(%22close-menu%22%2C%7Bbubbles%3A!0%2Ccomposed%3A!0%2Cdetail%3A%7BmenuClosed%3A!0%7D%7D))%7D%7Dwindow.customElements.define(IngUicCmsSubmenu.is%2CIngUicCmsSubmenu)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fing-uic-cms-header%2Fing-uic-cms-submenu.html.js%0A | 6.2 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-card/ing-card.js | 205 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-card/src/IngRibbon.styles.js | 874 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/core/src/UpdateStylesMixin.js | 635 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@open-wc/scoped-elements/src/Cache.js | 273 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7B'use%20strict'%3B%2F**%0A%20%20%20*%20Returns%20true%20if%20%60node%60%20is%20a%20slot%20element%0A%20%20%20*%20%40param%20%7BNode%7D%20node%20Node%20to%20test.%0A%20%20%20*%20%40return%20%7Bboolean%7D%20Returns%20true%20if%20the%20given%20%60node%60%20is%20a%20slot%0A%20%20%20*%20%40private%0A%20%20%20*%2Ffunction%20isSlot(node)%7Breturn%22slot%22%3D%3D%3Dnode.localName%7D%2F**%0A%20%20%20*%20Class%20that%20listens%20for%20changes%20(additions%20or%20removals)%20to%0A%20%20%20*%20%22flattened%20nodes%22%20on%20a%20given%20%60node%60.%20The%20list%20of%20flattened%20nodes%20consists%0A%20%20%20*%20of%20a%20node's%20children%20and%2C%20for%20any%20children%20that%20are%20%60%3Cslot%3E%60%20elements%2C%0A%20%20%20*%20the%20expanded%20flattened%20list%20of%20%60assignedNodes%60.%0A%20%20%20*%20For%20example%2C%20if%20the%20observed%20node%20has%20children%20%60%3Ca%3E%3C%2Fa%3E%3Cslot%3E%3C%2Fslot%3E%3Cb%3E%3C%2Fb%3E%60%0A%20%20%20*%20and%20the%20%60%3Cslot%3E%60%20has%20one%20%60%3Cdiv%3E%60%20assigned%20to%20it%2C%20then%20the%20flattened%0A%20%20%20*%20nodes%20list%20is%20%60%3Ca%3E%3C%2Fa%3E%3Cdiv%3E%3C%2Fdiv%3E%3Cb%3E%3C%2Fb%3E%60.%20If%20the%20%60%3Cslot%3E%60%20has%20other%0A%20%20%20*%20%60%3Cslot%3E%60%20elements%20assigned%20to%20it%2C%20these%20are%20flattened%20as%20well.%0A%20%20%20*%0A%20%20%20*%20The%20provided%20%60callback%60%20is%20called%20whenever%20any%20change%20to%20this%20list%0A%20%20%20*%20of%20flattened%20nodes%20occurs%2C%20where%20an%20addition%20or%20removal%20of%20a%20node%20is%0A%20%20%20*%20considered%20a%20change.%20The%20%60callback%60%20is%20called%20with%20one%20argument%2C%20an%20object%0A%20%20%20*%20containing%20an%20array%20of%20any%20%60addedNodes%60%20and%20%60removedNodes%60.%0A%20%20%20*%0A%20%20%20*%20Note%3A%20the%20callback%20is%20called%20asynchronous%20to%20any%20changes%0A%20%20%20*%20at%20a%20microtask%20checkpoint.%20This%20is%20because%20observation%20is%20performed%20using%0A%20%20%20*%20%60MutationObserver%60%20and%20the%20%60%3Cslot%3E%60%20element's%20%60slotchange%60%20event%20which%0A%20%20%20*%20are%20asynchronous.%0A%20%20%20*%0A%20%20%20*%20An%20example%3A%0A%20%20%20*%20%60%60%60js%0A%20%20%20*%20class%20TestSelfObserve%20extends%20Polymer.Element%20%7B%0A%20%20%20*%20%20%20static%20get%20is()%20%7B%20return%20'test-self-observe'%3B%7D%0A%20%20%20*%20%20%20connectedCallback()%20%7B%0A%20%20%20*%20%20%20%20%20super.connectedCallback()%3B%0A%20%20%20*%20%20%20%20%20this._observer%20%3D%20new%20Polymer.FlattenedNodesObserver(this%2C%20(info)%20%3D%3E%20%7B%0A%20%20%20*%20%20%20%20%20%20%20this.info%20%3D%20info%3B%0A%20%20%20*%20%20%20%20%20%7D)%3B%0A%20%20%20*%20%20%20%7D%0A%20%20%20*%20%20%20disconnectedCallback()%20%7B%0A%20%20%20*%20%20%20%20%20super.disconnectedCallback()%3B%0A%20%20%20*%20%20%20%20%20this._observer.disconnect()%3B%0A%20%20%20*%20%20%20%7D%0A%20%20%20*%20%7D%0A%20%20%20*%20customElements.define(TestSelfObserve.is%2C%20TestSelfObserve)%3B%0A%20%20%20*%20%60%60%60%0A%20%20%20*%0A%20%20%20*%20%40memberof%20Polymer%0A%20%20%20*%20%40summary%20Class%20that%20listens%20for%20changes%20(additions%20or%20removals)%20to%0A%20%20%20*%20%22flattened%20nodes%22%20on%20a%20given%20%60node%60.%0A%20%20%20*%2Fclass%20FlattenedNodesObserver%7B%2F**%0A%20%20%20%20%20*%20Returns%20the%20list%20of%20flattened%20nodes%20for%20the%20given%20%60node%60.%0A%20%20%20%20%20*%20This%20list%20consists%20of%20a%20node's%20children%20and%2C%20for%20any%20children%0A%20%20%20%20%20*%20that%20are%20%60%3Cslot%3E%60%20elements%2C%20the%20expanded%20flattened%20list%20of%20%60assignedNodes%60.%0A%20%20%20%20%20*%20For%20example%2C%20if%20the%20observed%20node%20has%20children%20%60%3Ca%3E%3C%2Fa%3E%3Cslot%3E%3C%2Fslot%3E%3Cb%3E%3C%2Fb%3E%60%0A%20%20%20%20%20*%20and%20the%20%60%3Cslot%3E%60%20has%20one%20%60%3Cdiv%3E%60%20assigned%20to%20it%2C%20then%20the%20flattened%0A%20%20%20%20%20*%20nodes%20list%20is%20%60%3Ca%3E%3C%2Fa%3E%3Cdiv%3E%3C%2Fdiv%3E%3Cb%3E%3C%2Fb%3E%60.%20If%20the%20%60%3Cslot%3E%60%20has%20other%0A%20%20%20%20%20*%20%60%3Cslot%3E%60%20elements%20assigned%20to%20it%2C%20these%20are%20flattened%20as%20well.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40param%20%7BHTMLElement%7CHTMLSlotElement%7D%20node%20The%20node%20for%20which%20to%20return%20the%20list%20of%20flattened%20nodes.%0A%20%20%20%20%20*%20%40return%20%7BArray%7D%20The%20list%20of%20flattened%20nodes%20for%20the%20given%20%60node%60.%0A%20%20%20%20*%2Fstatic%20getFlattenedNodes(node)%7Bif(isSlot(node))%7Bnode%3D%2F**%20%40type%20%7BHTMLSlotElement%7D%20*%2Fnode%3B%2F%2F%20eslint-disable-line%20no-self-assign%0Areturn%20node.assignedNodes(%7Bflatten%3A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%7D)%7Delse%7Breturn%20Array.from(node.childNodes).map(node%3D%3E%7Bif(isSlot(node))%7Bnode%3D%2F**%20%40type%20%7BHTMLSlotElement%7D%20*%2Fnode%3B%2F%2F%20eslint-disable-line%20no-self-assign%0Areturn%20node.assignedNodes(%7Bflatten%3A!0%7D)%7Delse%7Breturn%5Bnode%5D%7D%7D).reduce((a%2Cb)%3D%3Ea.concat(b)%2C%5B%5D)%7D%7D%2F**%0A%20%20%20%20%20*%20%40param%20%7BElement%7D%20target%20Node%20on%20which%20to%20listen%20for%20changes.%0A%20%20%20%20%20*%20%40param%20%7B%3Ffunction(!Element%2C%20%7B%20target%3A%20!Element%2C%20addedNodes%3A%20!Array%3C!Element%3E%2C%20removedNodes%3A%20!Array%3C!Element%3E%20%7D)%3Avoid%7D%20callback%20Function%20called%20when%20there%20are%20additions%0A%20%20%20%20%20*%20or%20removals%20from%20the%20target's%20list%20of%20flattened%20nodes.%0A%20%20%20%20*%2Fconstructor(target%2Ccallback)%7B%2F**%0A%20%20%20%20%20%20%20*%20%40type%20%7BMutationObserver%7D%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2Fthis._shadyChildrenObserver%3Dnull%3B%2F**%0A%20%20%20%20%20%20%20*%20%40type%20%7BMutationObserver%7D%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2Fthis._nativeChildrenObserver%3Dnull%3Bthis._connected%3D%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A!1%3B%2F**%0A%20%20%20%20%20%20%20*%20%40type%20%7BElement%7D%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2Fthis._target%3Dtarget%3Bthis.callback%3Dcallback%3Bthis._effectiveNodes%3D%5B%5D%3Bthis._observer%3Dnull%3Bthis._scheduled%3D!1%3B%2F**%0A%20%20%20%20%20%20%20*%20%40type%20%7Bfunction()%7D%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2Fthis._boundSchedule%3D()%3D%3E%7Bthis._schedule()%7D%3Bthis.connect()%3Bthis._schedule()%7D%2F**%0A%20%20%20%20%20*%20Activates%20an%20observer.%20This%20method%20is%20automatically%20called%20when%0A%20%20%20%20%20*%20a%20%60FlattenedNodesObserver%60%20is%20created.%20It%20should%20only%20be%20called%20to%0A%20%20%20%20%20*%20re-activate%20an%20observer%20that%20has%20been%20deactivated%20via%20the%20%60disconnect%60%20method.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%2Fconnect()%7Bif(isSlot(this._target))%7Bthis._listenSlots(%5Bthis._target%5D)%7Delse%20if(this._target.children)%7Bthis._listenSlots(this._target.children)%3Bif(window.ShadyDOM)%7Bthis._shadyChildrenObserver%3DShadyDOM.observeChildren(this._target%2Cmutations%3D%3E%7Bthis._processMutations(mutations)%7D)%7Delse%7Bthis._nativeChildrenObserver%3Dnew%20MutationObserver(mutations%3D%3E%7Bthis._processMutations(mutations)%7D)%3Bthis._nativeChildrenObserver.observe(this._target%2C%7BchildList%3A!0%7D)%7D%7Dthis._connected%3D!0%7D%2F**%0A%20%20%20%20%20*%20Deactivates%20the%20flattened%20nodes%20observer.%20After%20calling%20this%20method%0A%20%20%20%20%20*%20the%20observer%20callback%20will%20not%20be%20called%20when%20changes%20to%20flattened%20nodes%0A%20%20%20%20%20*%20occur.%20The%20%60connect%60%20method%20may%20be%20subsequently%20called%20to%20reactivate%0A%20%20%20%20%20*%20the%20observer.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%2Fdisconnect()%7Bif(isSlot(this._target))%7Bthis._unlistenSlots(%5Bthis._target%5D)%7Delse%20if(this._target.children)%7Bthis._unlistenSlots(this._target.children)%3Bif(window.ShadyDOM%26%26this._shadyChildrenObserver)%7BShadyDOM.unobserveChildren(this._shadyChildrenObserver)%3Bthis._shadyChildrenObserver%3Dnull%7Delse%20if(this._nativeChildrenObserver)%7Bthis._nativeChildrenObserver.disconnect()%3Bthis._nativeChildrenObserver%3Dnull%7D%7Dthis._connected%3D!1%7D%2F**%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2F_schedule()%7Bif(!this._scheduled)%7Bthis._scheduled%3D!0%3BPolymer.Async.microTask.run(()%3D%3Ethis.flush())%7D%7D%2F**%0A%20%20%20%20%20*%20%40param%20%7BArray%3CMutationRecord%3E%7D%20mutations%20Mutations%20signaled%20by%20the%20mutation%20observer%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2F_processMutations(mutations)%7Bthis._processSlotMutations(mutations)%3Bthis.flush()%7D%2F**%0A%20%20%20%20%20*%20%40param%20%7BArray%3CMutationRecord%3E%7D%20mutations%20Mutations%20signaled%20by%20the%20mutation%20observer%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2F_processSlotMutations(mutations)%7Bif(mutations)%7Bfor(let%20i%3D0%2Cmutation%3Bi%3Cmutations.length%3Bi%2B%2B)%7Bmutation%3Dmutations%5Bi%5D%3Bif(mutation.addedNodes)%7Bthis._listenSlots(mutation.addedNodes)%7Dif(mutation.removedNodes)%7Bthis._unlistenSlots(mutation.removedNodes)%7D%7D%7D%7D%2F**%0A%20%20%20%20%20*%20Flushes%20the%20observer%20causing%20any%20pending%20changes%20to%20be%20immediately%0A%20%20%20%20%20*%20delivered%20the%20observer%20callback.%20By%20default%20these%20changes%20are%20delivered%0A%20%20%20%20%20*%20asynchronously%20at%20the%20next%20microtask%20checkpoint.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40return%20%7Bboolean%7D%20Returns%20true%20if%20any%20pending%20changes%20caused%20the%20observer%0A%20%20%20%20%20*%20callback%20to%20run.%0A%20%20%20%20%20*%2Fflush()%7Bif(!this._connected)%7Breturn!1%7Dif(window.ShadyDOM)%7BShadyDOM.flush()%7Dif(this._nativeChildrenObserver)%7Bthis._processSlotMutations(this._nativeChildrenObserver.takeRecords())%7Delse%20if(this._shadyChildrenObserver)%7Bthis._processSlotMutations(this._shadyChildrenObserver.takeRecords())%7Dthis._scheduled%3D!1%3Blet%20info%3D%7Btarget%3Athis._target%2CaddedNodes%3A%5B%5D%2CremovedNodes%3A%5B%5D%7D%2CnewNodes%3Dthis.constructor.getFlattenedNodes(this._target)%2Csplices%3DPolymer.ArraySplice.calculateSplices(newNodes%2Cthis._effectiveNodes)%3B%2F%2F%20process%20removals%0Afor(let%20i%3D0%2Cs%3Bi%3Csplices.length%26%26(s%3Dsplices%5Bi%5D)%3Bi%2B%2B)%7Bfor(let%20j%3D0%2Cn%3Bj%3Cs.removed.length%26%26(n%3Ds.removed%5Bj%5D)%3Bj%2B%2B)%7Binfo.removedNodes.push(n)%7D%7D%2F%2F%20process%20adds%0Afor(let%20i%3D0%2Cs%3Bi%3Csplices.length%26%26(s%3Dsplices%5Bi%5D)%3Bi%2B%2B)%7Bfor(let%20j%3Ds.index%3Bj%3Cs.index%2Bs.addedCount%3Bj%2B%2B)%7Binfo.addedNodes.push(newNodes%5Bj%5D)%7D%7D%2F%2F%20update%20cache%0Athis._effectiveNodes%3DnewNodes%3Blet%20didFlush%3D!1%3Bif(info.addedNodes.length%7C%7Cinfo.removedNodes.length)%7BdidFlush%3D!0%3Bthis.callback.call(this._target%2Cinfo)%7Dreturn%20didFlush%7D%2F**%0A%20%20%20%20%20*%20%40param%20%7B!Array%3CElement%7CNode%3E%7C!NodeList%3CNode%3E%7D%20nodeList%20Nodes%20that%20could%20change%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2F_listenSlots(nodeList)%7Bfor(let%20i%3D0%2Cn%3Bi%3CnodeList.length%3Bi%2B%2B)%7Bn%3DnodeList%5Bi%5D%3Bif(isSlot(n))%7Bn.addEventListener(%22slotchange%22%2Cthis._boundSchedule)%7D%7D%7D%2F**%0A%20%20%20%20%20*%20%40param%20%7B!Array%3CElement%7CNode%3E%7C!NodeList%3CNode%3E%7D%20nodeList%20Nodes%20that%20could%20change%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2F_unlistenSlots(nodeList)%7Bfor(let%20i%3D0%2Cn%3Bi%3CnodeList.length%3Bi%2B%2B)%7Bn%3DnodeList%5Bi%5D%3Bif(isSlot(n))%7Bn.removeEventListener(%22slotchange%22%2Cthis._boundSchedule)%7D%7D%7D%7DPolymer.FlattenedNodesObserver%3DFlattenedNodesObserver%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fpolymer%2Flib%2Futils%2Fflattened-nodes-observer.html.js%0A | 8.9 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,%2F**%0A%20%20%20%20%20*%20%60ing-uic-cms-button%60%20Component%20that%20includes%20an%20image%20in%20an%20anchor%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%23%23%23%20Example%0A%20%20%20%20%20*%20---%0A%20%20%20%20%20*%20%3Cing-uic-cms-button%0A%20%20%20%20%20*%20%20%20data%3D%22API_PARSER%22%3E%0A%20%20%20%20%20*%20%3C%2Fing-uic-cms-button%3E%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%3Cing-uic-cms-button%0A%20%20%20%20%20*%20%20%20api%3D%22HIPPO_JSON%22%3E%0A%20%20%20%20%20*%20%3C%2Fing-uic-cms-button%3E%0A%20%20%20%20%20*%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%23%23%23%20States%0A%20%20%20%20%20*%20---%0A%20%20%20%20%20*%20The%20following%20states%20are%20exposed%20as%20component%20attributes%3A%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20Attribute%20%20%20%20%20%20%20%20%20%7C%20Description%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7C%20Default%0A%20%20%20%20%20*%20------------------%7C----------------------------------------------------------------------%20%7C--------------%0A%20%20%20%20%20*%20type%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7C%20Image%20type%20coming%20from%20api%3A%20ios%2C%20android%20or%20ilunion%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7C%20''%0A%20%20%20%20%20*%20imgData%20%20%20%20%20%20%20%20%20%20%20%7C%20Image%20data%20defined%20for%20the%20component%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7C%20''%0A%20%20%20%20%20*%20target%20%20%20%20%20%20%20%20%20%20%20%20%7C%20Target%20where%20to%20load%20anchor%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7C%20''%0A%20%20%20%20%20*%20altImage%20%20%20%20%20%20%20%20%20%20%7C%20Label%20for%20image%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7C%20''%0A%20%20%20%20%20*%20altText%20%20%20%20%20%20%20%20%20%20%20%7C%20Label%20for%20anchor%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7C%20''%0A%20%20%20%20%20*%20href%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7C%20Destination%20of%20anchor%20link%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7C%20''%0A%20%20%20%20%20*%20trackingmname%20%20%20%20%20%7C%20Tracked%20name%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7C%20''%0A%20%20%20%20%20*%20trackingsection%20%20%20%7C%20Tracked%20section%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7C%20''%0A%20%20%20%20%20*%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%23%23%23%20Methods%0A%20%20%20%20%20*%20---%0A%20%20%20%20%20*%20The%20following%20methods%20are%20exposed%3A%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20Meythod%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7C%20Description%0A%20%20%20%20%20*%20----------------------------------%7C-------------------------------------------------------------------------%0A%20%20%20%20%20*%20_getImgData%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7C%20Method%20to%20set%20data%20and%20attributes%20for%20img%20element%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40element%20ing-uic-cms-button%0A%20%20%20%20%20*%20%40extends%20%7BPolymer.GestureEventListeners%2C%20Polymer.Element%7D%0A%20%20%20%20%20*%20%40demo%20demo%2Findex.html%20Button%20demo%0A%20%20%20%20%20*%0A%20%20%20%20%20*%2Fclass%20IngUicCmsButton%20extends%20Polymer.GestureEventListeners(Polymer.Element)%7B%2F**%0A%20%20%20%20%20%20*%20Component%20definition%0A%20%20%20%20%20%20*%2Fstatic%20get%20is()%7Breturn%22ing-uic-cms-button%22%7D%2F**%0A%20%20%20%20%20%20*%20Properties%0A%20%20%20%20%20%20*%2Fstatic%20get%20properties()%7Breturn%7B%2F**%0A%20%20%20%20%20%20%20%20%20%20*%20Image%20type%20coming%20from%20api%3A%20ios%2C%20android%20or%20ilunion%0A%20%20%20%20%20%20%20%20%20%20*%2Ftype%3A%7Btype%3AString%2CreflectToAttribute%3A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2Cobserver%3A%22_getImgData%22%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20*%20Image%20data%20defined%20for%20the%20component%0A%20%20%20%20%20%20%20%20%20%20*%2FimgData%3A%7Btype%3AObject%2Cvalue%3A()%3D%3E(%7B%7D)%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20*%20Target%20where%20to%20load%20anchor%0A%20%20%20%20%20%20%20%20%20%20*%2Ftarget%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20*%20Label%20for%20image%0A%20%20%20%20%20%20%20%20%20%20*%2FaltImage%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20*%20Label%20for%20anchor%0A%20%20%20%20%20%20%20%20%20%20*%2FaltText%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20*%20Destination%20of%20anchor%20link%0A%20%20%20%20%20%20%20%20%20%20*%2Fhref%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20*%20Tracked%20name%0A%20%20%20%20%20%20%20%20%20%20*%2Ftrackingmname%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20*%20Tracked%20section%0A%20%20%20%20%20%20%20%20%20%20*%2Ftrackingsection%3AString%7D%7D%2F**%0A%20%20%20%20%20%20*%20Method%20to%20set%20data%20and%20attributes%20for%20img%20element%0A%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20*%2F_getImgData()%7Bswitch(this.type)%7Bcase%22android%22%3Athis.set(%22imgData.href%22%2C%22http%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dwww.ingdirect.nativeframe%26hl%3Den%26pcampaignid%3DMKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1%22)%3Bthis.set(%22imgData.alt%22%2C%22Disponible%20en%20Google%20Play%22)%3Bthis.set(%22imgData.src%22%2C%22%2Fsite%2Fbinaries%2Fcontent%2Fgallery%2Fhipposp%2Fandroid.png%22)%3Bbreak%3Bcase%22ios%22%3Athis.set(%22imgData.href%22%2C%22http%3A%2F%2Fitunes.apple.com%2Fes%2Fapp%2Fing-espa%25C3%25B1a-banca-m%25C3%25B3vil%2Fid774858627%3Fmt%3D8%22)%3Bthis.set(%22imgData.alt%22%2C%22Consiguelo%20en%20App%20Store%22)%3Bthis.set(%22imgData.src%22%2C%22%2Fsite%2Fbinaries%2Fcontent%2Fgallery%2Fhipposp%2Fios.svg%22)%3Bbreak%3Bcase%22ilunion%22%3Athis.set(%22imgData.href%22%2C%22https%3A%2F%2Fwww.ilunion.com%22)%3Bthis.set(%22imgData.alt%22%2C%22Ilunion%22)%3Bthis.set(%22imgData.src%22%2C%22%2Fsite%2Fbinaries%2Fcontent%2Fgallery%2Fhipposp%2Filunion.jpg%22)%3Bbreak%3Bdefault%3Abreak%3B%7Dif(this.href)this.set(%22imgData.href%22%2Cthis.href)%3Bif(this.altImage)this.set(%22imgData.alt%22%2Cthis.altImage)%3Bif(this.target)this.set(%22imgData.target%22%2Cthis.target)%3Belse%20this.set(%22imgData.target%22%2C%22_blank%22)%3Bif(this.trackingmname)this.set(%22imgData.trackingmname%22%2Cthis.trackingmname)%3Bif(this.trackingsection)this.set(%22imgData.trackingsection%22%2Cthis.trackingsection)%7D%7Dwindow.customElements.define(IngUicCmsButton.is%2CIngUicCmsButton)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fing-uic-cms-button%2Fing-uic-cms-button.html.js%0A | 4.5 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
tags.tiqcdn.com/utag/ing/es-main/prod/utag.411.js?utv=ut4.49.202211301222 | 15 kB | 2023-03-08 | 2023-03-08 | |
Pretty
Loading... | ||||
www.googletagmanager.com/gtag/js | 95 kB | 2023-03-08 | 2023-03-08 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/overlays/src/utils/deep-contains.js | 307 B | 2023-03-08 | 2024-04-05 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7B'use%20strict'%3B%2F**%0A%20%20%20*%20Base%20class%20that%20provides%20the%20core%20API%20for%20Polymer's%20meta-programming%0A%20%20%20*%20features%20including%20template%20stamping%2C%20data-binding%2C%20attribute%20deserialization%2C%0A%20%20%20*%20and%20property%20change%20observation.%0A%20%20%20*%0A%20%20%20*%20%40customElement%0A%20%20%20*%20%40memberof%20Polymer%0A%20%20%20*%20%40constructor%0A%20%20%20*%20%40implements%20%7BPolymer_ElementMixin%7D%0A%20%20%20*%20%40extends%20%7BHTMLElement%7D%0A%20%20%20*%20%40appliesMixin%20Polymer.ElementMixin%0A%20%20%20*%20%40summary%20Custom%20element%20base%20class%20that%20provides%20the%20core%20API%20for%20Polymer's%0A%20%20%20*%20%20%20key%20meta-programming%20features%20including%20template%20stamping%2C%20data-binding%2C%0A%20%20%20*%20%20%20attribute%20deserialization%2C%20and%20property%20change%20observation%0A%20%20%20*%2FPolymer.Element%3DPolymer.ElementMixin(HTMLElement)%3B%2F%2F%20NOTE%3A%20this%20is%20here%20for%20modulizer%20to%20export%20%60html%60%20for%20the%20module%20version%20of%20this%20file%0APolymer.html%3DPolymer.html%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fpolymer%2Fpolymer-element.html.js%0A | 890 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,%2F**%0A%20%20%20%20%20*%20%60ing-orange-cms-call%60%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40customElement%0A%20%20%20%20%20*%20%40polymer%0A%20%20%20%20%20*%20%40demo%20demo%2Findex.html%0A%20%20%20%20%20*%2Fconst%20CONST%3D%7Bpresets%3A%7Bgenoma%3A%7BloginPath%3A%22%2Fgenoma_signups%2Flogin%2Fauth%2Fresponse%22%2CrestPath%3A%22%2Fgenoma_api%2Frest%2F%22%7D%2Chippo%3A%7BloginPath%3A%22%22%2CrestPath%3A%22%2Fapi-manual%2FApiSearch%2Fjson%2F%22%7D%7D%2Cdevices%3A%7Bdesktop%3A%22desktop%22%2CmobilePhone%3A%22mobilePhone%22%2Ctablet%3A%22tablet%22%7D%2Cmethods%3A%7BGET%3A%22GET%22%2CPOST%3A%22POST%22%2CPUT%3A%22PUT%22%2CPATCH%3A%22PATCH%22%2CDELETE%3A%22DELETE%22%7D%7D%2CBODY_METHODS%3D%5BCONST.methods.POST%2CCONST.methods.PUT%5D%2CisValidDevice%3Ddevice%3D%3E0%3CObject.keys(CONST.devices).filter(item%3D%3Edevice%3D%3D%3Ditem).length%2CisValidMethod%3Dmethod%3D%3E0%3CObject.keys(CONST.methods).filter(item%3D%3Emethod.toUpperCase()%3D%3D%3Ditem).length%2CisBodyMethod%3Dmethod%3D%3E0%3CBODY_METHODS.filter(item%3D%3Emethod.toUpperCase()%3D%3D%3Ditem).length%3Blet%20isLogging%3D%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A!1%2CisLogged%3D!1%3Bclass%20IngOrangeCmsCall%20extends%20Polymer.Element%7Bstatic%20get%20is()%7Breturn%22ing-orange-cms-call%22%7Dstatic%20get%20observers()%7Breturn%5B%22call(url%2C%20method%2C%20params)%22%2C%22login(device%2C%20loginPath)%22%2C%22setDefaults(preset)%22%5D%7Dstatic%20get%20properties()%7Breturn%7B%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20preset%20default%20values%0A%20%20%20%20%20%20%20%20%20%20%20*%2Fpreset%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20url%20used%20for%20the%20API%20call%0A%20%20%20%20%20%20%20%20%20%20%20*%2Furl%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20method%20used%20for%20the%20API%20call%0A%20%20%20%20%20%20%20%20%20%20%20*%2Fmethod%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20params%20used%20for%20the%20API%20call%0A%20%20%20%20%20%20%20%20%20%20%20*%2Fparams%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20path%20used%20for%20the%20API%20call%20(default%3D%2Fgenoma_signups%2Frest%2F)%0A%20%20%20%20%20%20%20%20%20%20%20*%2FrestPath%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20path%20used%20for%20login%20(default%3D%2Fgenoma_signups%2Flogin%2Fauth%2Fresponse%3FdeviceType%3D)%0A%20%20%20%20%20%20%20%20%20%20%20*%2FloginPath%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20device%20name%20for%20a%20correct%20genoma%20login%0A%20%20%20%20%20%20%20%20%20%20%20*%2Fdevice%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20data%20received%20from%20the%20API%20call%0A%20%20%20%20%20%20%20%20%20%20%20*%2Fdata%3A%7Btype%3AObject%2Cnotify%3A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20url%20sent%20to%20the%20API%20call%0A%20%20%20%20%20%20%20%20%20%20%20*%2F_resolveUrl%3AString%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20API%20response%20handler%0A%20%20%20%20%20%20%20*%20It%20triggers%20a%20custom%20event%20named%20'resolved'%20with%20the%20response%20data%0A%20%20%20%20%20%20%20*%2FonResponse(response)%7Bif(isLogging)%7BisLogging%3D!1%3BisLogged%3D!0%3Bthis.call(this.url%2Cthis.method%7C%7CCONST.methods.GET%2Cthis.params)%7Delse%7Bthis.set(%22data%22%2Cresponse.detail.response%7C%7C%5B%5D)%3Bthis.dispatchEvent(new%20CustomEvent(%22resolved%22%2C%7Bdetail%3Athis.data%7D))%7D%7DgetUrl(url)%7Breturn%20this.restPath%2Burl%7DgetLoginUrl(device)%7Breturn%20isValidDevice(device)%3Fthis.loginPath%2Bdevice%3A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0Avoid%200%7Dcall(url%2Cmethod%2Cparams)%7Bconst%20m%3Dmethod%7C%7CCONST.methods.GET%2CdoCall%3D()%3D%3E%7Bif(this.restPath%26%26url%26%26isValidMethod(m))%7Bthis.setProperties(%7B_resolveUrl%3Athis.getUrl(url)%2C_resolveMethod%3Am%2C_resolveParams%3A!isBodyMethod(m)%3FJSON.parse(params%7C%7C%22%7B%7D%22)%3A%22%22%2C_resolveBody%3AisBodyMethod(m)%3Fparams%7C%7C%22%22%3A%22%22%7D)%7D%7D%3Bif(this.loginPath)%7Bif(!isLogged)%7Bthis.login(this.device%2Cthis.loginPath)%7Delse%7BdoCall()%7D%7Delse%7BdoCall()%7D%7Dlogin(device%2CloginPath)%7Bif(device%26%26loginPath%26%26isValidDevice(device))%7BisLogged%3D!1%3BisLogging%3D!0%3Bthis.setProperties(%7B_resolveUrl%3Athis.loginPath%2C_resolveMethod%3ACONST.methods.POST%2C_resolveParams%3A%7BdeviceType%3Adevice%7D%7D)%7D%7DsetDefaults(preset)%7Bconst%20data%3DCONST.presets%5Bpreset%5D%7C%7C%7B%7D%3BObject.keys(data).forEach(item%3D%3E%7Bthis.set(item%2Cdata%5Bitem%5D)%7D)%3BisLogged%3Ddata.loginPath%3BisLogging%3D!1%7D%7Dwindow.customElements.define(IngOrangeCmsCall.is%2CIngOrangeCmsCall)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fing-orange-cms-call%2Fing-orange-cms-call.html.js%0A | 4.0 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/ | 324 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/icon/src/IconManager.js | 619 B | 2023-03-08 | 2024-04-05 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/directives/style-map.js | 1.2 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-commercial-card/ing-commercial-card.js | 225 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-card/src/IngCard.js | 4.0 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-button/src/IngButton.js | 289 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/overlays/src/utils/get-deep-active-element.js | 179 B | 2023-03-08 | 2024-04-05 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7B'use%20strict'%3B%2F%2F%20unresolved%0Afunction%20resolve()%7Bdocument.body.removeAttribute(%22unresolved%22)%7Dif(window.WebComponents)%7Bwindow.addEventListener(%22WebComponentsReady%22%2Cresolve)%7Delse%7Bif(%22interactive%22%3D%3D%3Ddocument.readyState%7C%7C%22complete%22%3D%3D%3Ddocument.readyState)%7Bresolve()%7Delse%7Bwindow.addEventListener(%22DOMContentLoaded%22%2Cresolve)%7D%7D%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fpolymer%2Flib%2Futils%2Funresolved.html.js%0A | 428 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-column/ing-column.js | 209 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-image/ing-image.js | 207 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-card/src/IngRibbon.js | 426 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/core/src/DelegateMixin.js | 2.2 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/icon/oj-icons/outline/arrows/triangle_down_outline.svg.js | 375 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/icon/src/LionIcon.js | 2.2 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-table/src/IngTable.styles.js | 9.7 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/button/buttonStyle.js | 14 kB | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7B'use%20strict'%3B%2F**%0A%20%20%20%20%20*%20Class%20representing%20a%20static%20string%20value%20which%20can%20be%20used%20to%20filter%0A%20%20%20%20%20*%20strings%20by%20asseting%20that%20they%20have%20been%20created%20via%20this%20class.%20The%0A%20%20%20%20%20*%20%60value%60%20property%20returns%20the%20string%20passed%20to%20the%20constructor.%0A%20%20%20%20%20*%2Fclass%20LiteralString%7Bconstructor(string)%7B%2F**%20%40type%20%7Bstring%7D%20*%2Fthis.value%3Dstring.toString()%7D%2F**%0A%20%20%20%20%20%20%20*%20%40return%20%7Bstring%7D%20LiteralString%20string%20value%0A%20%20%20%20%20%20%20*%2FtoString()%7Breturn%20this.value%7D%7D%2F**%0A%20%20%20%20%20*%20%40param%20%7B*%7D%20value%20Object%20to%20stringify%20into%20HTML%0A%20%20%20%20%20*%20%40return%20%7Bstring%7D%20HTML%20stringified%20form%20of%20%60obj%60%0A%20%20%20%20%20*%2Ffunction%20literalValue(value)%7Bif(value%20instanceof%20LiteralString)%7Breturn(%2F**%20%40type%20%7B!LiteralString%7D%20*%2Fvalue.value)%7Delse%7Bthrow%20new%20Error(%60non-literal%20value%20passed%20to%20Polymer.htmlLiteral%3A%20%24%7Bvalue%7D%60)%7D%7D%2F**%0A%20%20%20%20%20*%20%40param%20%7B*%7D%20value%20Object%20to%20stringify%20into%20HTML%0A%20%20%20%20%20*%20%40return%20%7Bstring%7D%20HTML%20stringified%20form%20of%20%60obj%60%0A%20%20%20%20%20*%2Ffunction%20htmlValue(value)%7Bif(value%20instanceof%20HTMLTemplateElement)%7Breturn(%2F**%20%40type%20%7B!HTMLTemplateElement%20%7D%20*%2Fvalue.innerHTML)%7Delse%20if(value%20instanceof%20LiteralString)%7Breturn%20literalValue(value)%7Delse%7Bthrow%20new%20Error(%60non-template%20value%20passed%20to%20Polymer.html%3A%20%24%7Bvalue%7D%60)%7D%7D%2F**%0A%20%20%20%20%20*%20A%20template%20literal%20tag%20that%20creates%20an%20HTML%20%3Ctemplate%3E%20element%20from%20the%0A%20%20%20%20%20*%20contents%20of%20the%20string.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20This%20allows%20you%20to%20write%20a%20Polymer%20Template%20in%20JavaScript.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20Templates%20can%20be%20composed%20by%20interpolating%20%60HTMLTemplateElement%60s%20in%0A%20%20%20%20%20*%20expressions%20in%20the%20JavaScript%20template%20literal.%20The%20nested%20template's%0A%20%20%20%20%20*%20%60innerHTML%60%20is%20included%20in%20the%20containing%20template.%20%20The%20only%20other%0A%20%20%20%20%20*%20values%20allowed%20in%20expressions%20are%20those%20returned%20from%20%60Polymer.htmlLiteral%60%0A%20%20%20%20%20*%20which%20ensures%20only%20literal%20values%20from%20JS%20source%20ever%20reach%20the%20HTML%2C%20to%0A%20%20%20%20%20*%20guard%20against%20XSS%20risks.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20All%20other%20values%20are%20disallowed%20in%20expressions%20to%20help%20prevent%20XSS%0A%20%20%20%20%20*%20attacks%3B%20however%2C%20%60Polymer.htmlLiteral%60%20can%20be%20used%20to%20compose%20static%0A%20%20%20%20%20*%20string%20values%20into%20templates.%20This%20is%20useful%20to%20compose%20strings%20into%0A%20%20%20%20%20*%20places%20that%20do%20not%20accept%20html%2C%20like%20the%20css%20text%20of%20a%20%60style%60%0A%20%20%20%20%20*%20element.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20Example%3A%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%20%20%20%20static%20get%20template()%20%7B%0A%20%20%20%20%20*%20%20%20%20%20%20%20return%20Polymer.html%60%0A%20%20%20%20%20*%20%20%20%20%20%20%20%20%20%3Cstyle%3E%3Ahost%7B%20content%3A%22...%22%20%7D%3C%2Fstyle%3E%0A%20%20%20%20%20*%20%20%20%20%20%20%20%20%20%3Cdiv%20class%3D%22shadowed%22%3E%24%7Bthis.partialTemplate%7D%3C%2Fdiv%3E%0A%20%20%20%20%20*%20%20%20%20%20%20%20%20%20%24%7Bsuper.template%7D%0A%20%20%20%20%20*%20%20%20%20%20%20%20%60%3B%0A%20%20%20%20%20*%20%20%20%20%20%7D%0A%20%20%20%20%20*%20%20%20%20%20static%20get%20partialTemplate()%20%7B%20return%20Polymer.html%60%3Cspan%3EPartial!%3C%2Fspan%3E%60%3B%20%7D%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40memberof%20Polymer%0A%20%20%20%20%20*%20%40param%20%7B!ITemplateArray%7D%20strings%20Constant%20parts%20of%20tagged%20template%20literal%0A%20%20%20%20%20*%20%40param%20%7B...*%7D%20values%20Variable%20parts%20of%20tagged%20template%20literal%0A%20%20%20%20%20*%20%40return%20%7B!HTMLTemplateElement%7D%20Constructed%20HTMLTemplateElement%0A%20%20%20%20%20*%2FPolymer.html%3Dfunction%20html(strings%2C...values)%7Bconst%20template%3D%2F**%20%40type%20%7B!HTMLTemplateElement%7D%20*%2Fdocument.createElement(%22template%22)%3Btemplate.innerHTML%3Dvalues.reduce((acc%2Cv%2Cidx)%3D%3Eacc%2BhtmlValue(v)%2Bstrings%5Bidx%2B1%5D%2Cstrings%5B0%5D)%3Breturn%20template%7D%3B%2F**%0A%20%20%20%20%20*%20An%20html%20literal%20tag%20that%20can%20be%20used%20with%20%60Polymer.html%60%20to%20compose.%0A%20%20%20%20%20*%20a%20literal%20string.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20Example%3A%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%20%20%20%20static%20get%20template()%20%7B%0A%20%20%20%20%20*%20%20%20%20%20%20%20return%20Polymer.html%60%0A%20%20%20%20%20*%20%20%20%20%20%20%20%20%20%3Cstyle%3E%0A%20%20%20%20%20*%20%20%20%20%20%20%20%20%20%20%20%3Ahost%20%7B%20display%3A%20block%3B%20%7D%0A%20%20%20%20%20*%20%20%20%20%20%20%20%20%20%20%20%24%7BstyleTemplate%7D%0A%20%20%20%20%20*%20%20%20%20%20%20%20%20%20%3C%2Fstyle%3E%0A%20%20%20%20%20*%20%20%20%20%20%20%20%20%20%3Cdiv%20class%3D%22shadowed%22%3E%24%7BstaticValue%7D%3C%2Fdiv%3E%0A%20%20%20%20%20*%20%20%20%20%20%20%20%20%20%24%7Bsuper.template%7D%0A%20%20%20%20%20*%20%20%20%20%20%20%20%60%3B%0A%20%20%20%20%20*%20%20%20%20%20%7D%0A%20%20%20%20%20*%20%20%20%20%20static%20get%20styleTemplate()%20%7B%20return%20Polymer.htmlLiteral%60.shadowed%20%7B%20background%3A%20gray%3B%20%7D%60%3B%20%7D%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40memberof%20Polymer%0A%20%20%20%20%20*%20%40param%20%7B!ITemplateArray%7D%20strings%20Constant%20parts%20of%20tagged%20template%20literal%0A%20%20%20%20%20*%20%40param%20%7B...*%7D%20values%20Variable%20parts%20of%20tagged%20template%20literal%0A%20%20%20%20%20*%20%40return%20%7B!LiteralString%7D%20Constructed%20literal%20string%0A%20%20%20%20%20*%2FPolymer.htmlLiteral%3Dfunction(strings%2C...values)%7Breturn%20new%20LiteralString(values.reduce((acc%2Cv%2Cidx)%3D%3Eacc%2BliteralValue(v)%2Bstrings%5Bidx%2B1%5D%2Cstrings%5B0%5D))%7D%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fpolymer%2Flib%2Futils%2Fhtml-tag.html.js%0A | 4.0 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,%2F**%0A%20%20%20%20%20*%20%60ing-uic-cms-amount-multi%60%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40customElement%0A%20%20%20%20%20*%20%40polymer%0A%20%20%20%20%20*%20%40demo%20demo%2Findex.html%0A%20%20%20%20%20*%2Fclass%20IngUicCmsAmountMulti%20extends%20Polymer.Element%7B%2F**%0A%20%20%20%20%20%20*%20Component%20definition%0A%20%20%20%20%20%20*%2Fstatic%20get%20is()%7Breturn%22ing-uic-cms-amount-multi%22%7D%2F**%0A%20%20%20%20%20%20%20*%20Properties%0A%20%20%20%20%20%20%20*%2Fstatic%20get%20properties()%7Breturn%7B%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20computed%20information%20of%20small%20amounts%0A%20%20%20%20%20%20%20%20%20%20%20*%2F_smallAmounts%3AArray%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20computed%20information%20of%20the%20big%20amount%0A%20%20%20%20%20%20%20%20%20%20%20*%2F_bigAmount%3A%7Btype%3AObject%2Cvalue%3Anull%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20computed%20class%20for%20small%20amounts%20container%0A%20%20%20%20%20%20%20%20%20%20%20*%2F_smallAmountsClass%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20computed%20class%20for%20main%20container%0A%20%20%20%20%20%20%20%20%20%20%20*%2F_containerClass%3AString%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20computed%20information%20of%20the%20position%20of%20the%20big%20element%0A%20%20%20%20%20%20%20%20%20%20%20*%2F_isBigLeft%3A%7Btype%3ABoolean%2Cvalue%3A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A!1%7D%2C%2F**%0A%20%20%20%20%20%20%20%20%20%20%20*%20data%20from%20API%0A%20%20%20%20%20%20%20%20%20%20%20*%2Fdata%3A%7Btype%3AObject%2Cobserver%3A%22_processData%22%7D%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20element%20initialization%20on%20data%20change%0A%20%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20data%20object%20with%20api%20data%0A%20%20%20%20%20%20%20*%20%40private%0A%20%20%20%20%20%20%20*%2F_processData(data)%7Bif(!data%7C%7C0%3D%3D%3DObject.keys(data).length)return%3Bthis.set(%22_smallAmounts%22%2Cdata.filter(amount%3D%3E%22small%22%3D%3D%3Damount.size))%3Bconst%20big%3Ddata.filter(amount%3D%3E%22big%22%3D%3D%3Damount.size)%3Bif(0%3Cbig.length)this.set(%22_bigAmount%22%2Cbig%5B0%5D)%3Bthis.assignClasses()%7D%2F**%0A%20%20%20%20%20%20%20*%20class%20initialization%0A%20%20%20%20%20%20%20*%2FassignClasses()%7Bconst%20smallAmountsClass%3D%5B%22small-amount-container%22%5D%2Clen%3Dthis._smallAmounts.length%2CcontainerClass%3D%5B%22container%22%2C4%3Clen%7C%7C3%3D%3D%3Dlen%3F%22col-3%22%3A%22col-2%22%5D%3Bif(this._bigAmount)%7BcontainerClass.push(%60big-%24%7Bthis._bigAmount.position%7D%60)%3Bif(%22left%22%3D%3D%3Dthis._bigAmount.position)%7Bthis._isBigLeft%3D%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%3BsmallAmountsClass.push(%22group-left%22)%7D%7Delse%7BcontainerClass.push(%22small-amount-container%22)%3Bif(3%3Cthis._smallAmounts.length)%7BcontainerClass.push(%22row-2%22)%7D%7Dthis.set(%22_containerClass%22%2CcontainerClass.join(%22%20%22))%3Bthis.set(%22_smallAmountsClass%22%2CsmallAmountsClass.join(%22%20%22))%7D%2F%2F%20Usar%20si%20viene%20big%20o%20no%20y%20su%20position%20para%20pintar%20uno%20u%20otro%20dise%C3%B1o%20de%20cifras%0A%2F%2F%20Para%20la%20linea%20gris%20o%20naranja%20ver%20el%20numero%20de%20smalls%20%3C%203%20es%20gris%0A%7Dwindow.customElements.define(IngUicCmsAmountMulti.is%2CIngUicCmsAmountMulti)%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fing-uic-cms-amount%2Fing-uic-cms-amount-multi.html.js%0A | 2.8 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-card/ing-ribbon.js | 209 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-pointer/src/IngPointer.styles.js | 3.4 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/_legacy/ajax/src/transformers.js | 195 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7B'use%20strict'%3Blet%20CSS_URL_RX%3D%2F(url%5C()(%5B%5E)%5D*)(%5C))%2Fg%2CABS_URL%3D%2F(%5E%5C%2F)%7C(%5E%23)%7C(%5E%5B%5Cw-%5Cd%5D*%3A)%2F%2CworkingURL%2CresolveDoc%3B%2F**%0A%20%20%20%20%20*%20Resolves%20the%20given%20URL%20against%20the%20provided%20%60baseUri'.%0A%20%20%20%20%20*%20%0A%20%20%20%20%20*%20Note%20that%20this%20function%20performs%20no%20resolution%20for%20URLs%20that%20start%0A%20%20%20%20%20*%20with%20%60%2F%60%20(absolute%20URLs)%20or%20%60%23%60%20(hash%20identifiers).%20%20For%20general%20purpose%0A%20%20%20%20%20*%20URL%20resolution%2C%20use%20%60window.URL%60.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40memberof%20Polymer.ResolveUrl%0A%20%20%20%20%20*%20%40param%20%7Bstring%7D%20url%20Input%20URL%20to%20resolve%0A%20%20%20%20%20*%20%40param%20%7B%3Fstring%3D%7D%20baseURI%20Base%20URI%20to%20resolve%20the%20URL%20against%0A%20%20%20%20%20*%20%40return%20%7Bstring%7D%20resolved%20URL%0A%20%20%20%20%20*%2Ffunction%20resolveUrl(url%2CbaseURI)%7Bif(url%26%26ABS_URL.test(url))%7Breturn%20url%7D%2F%2F%20Lazy%20feature%20detection.%0Aif(workingURL%3D%3D%3D%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0A%2F%2F%20override%20by%20copy%0A%2F%2F%20%233201%0Avoid%200)%7BworkingURL%3D%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A!1%3Btry%7Bconst%20u%3Dnew%20URL(%22b%22%2C%22http%3A%2F%2Fa%22)%3Bu.pathname%3D%22c%2520d%22%3BworkingURL%3D%22http%3A%2F%2Fa%2Fc%2520d%22%3D%3D%3Du.href%7Dcatch(e)%7B%2F%2F%20silently%20fail%0A%7D%7Dif(!baseURI)%7BbaseURI%3Ddocument.baseURI%7C%7Cwindow.location.href%7Dif(workingURL)%7Breturn%20new%20URL(url%2CbaseURI).href%7D%2F%2F%20Fallback%20to%20creating%20an%20anchor%20into%20a%20disconnected%20document.%0Aif(!resolveDoc)%7BresolveDoc%3Ddocument.implementation.createHTMLDocument(%22temp%22)%3BresolveDoc.base%3DresolveDoc.createElement(%22base%22)%3BresolveDoc.head.appendChild(resolveDoc.base)%3BresolveDoc.anchor%3DresolveDoc.createElement(%22a%22)%3BresolveDoc.body.appendChild(resolveDoc.anchor)%7DresolveDoc.base.href%3DbaseURI%3BresolveDoc.anchor.href%3Durl%3Breturn%20resolveDoc.anchor.href%7C%7Curl%7D%2F**%0A%20%20%20%20%20*%20Resolves%20any%20relative%20URL's%20in%20the%20given%20CSS%20text%20against%20the%20provided%0A%20%20%20%20%20*%20%60ownerDocument%60's%20%60baseURI%60.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40memberof%20Polymer.ResolveUrl%0A%20%20%20%20%20*%20%40param%20%7Bstring%7D%20cssText%20CSS%20text%20to%20process%0A%20%20%20%20%20*%20%40param%20%7Bstring%7D%20baseURI%20Base%20URI%20to%20resolve%20the%20URL%20against%0A%20%20%20%20%20*%20%40return%20%7Bstring%7D%20Processed%20CSS%20text%20with%20resolved%20URL's%0A%20%20%20%20%20*%2Ffunction%20resolveCss(cssText%2CbaseURI)%7Breturn%20cssText.replace(CSS_URL_RX%2Cfunction(m%2Cpre%2Curl%2Cpost)%7Breturn%20pre%2B%22'%22%2BresolveUrl(url.replace(%2F%5B%22'%5D%2Fg%2C%22%22)%2CbaseURI)%2B%22'%22%2Bpost%7D)%7D%2F**%0A%20%20%20%20%20*%20Returns%20a%20path%20from%20a%20given%20%60url%60.%20The%20path%20includes%20the%20trailing%0A%20%20%20%20%20*%20%60%2F%60%20from%20the%20url.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40memberof%20Polymer.ResolveUrl%0A%20%20%20%20%20*%20%40param%20%7Bstring%7D%20url%20Input%20URL%20to%20transform%0A%20%20%20%20%20*%20%40return%20%7Bstring%7D%20resolved%20path%0A%20%20%20%20%20*%2Ffunction%20pathFromUrl(url)%7Breturn%20url.substring(0%2Curl.lastIndexOf(%22%2F%22)%2B1)%7D%2F**%0A%20%20%20%20%20*%20Module%20with%20utilities%20for%20resolving%20relative%20URL's.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40namespace%0A%20%20%20%20%20*%20%40memberof%20Polymer%0A%20%20%20%20%20*%20%40summary%20Module%20with%20utilities%20for%20resolving%20relative%20URL's.%0A%20%20%20%20%20*%2FPolymer.ResolveUrl%3D%7BresolveCss%3AresolveCss%2CresolveUrl%3AresolveUrl%2CpathFromUrl%3ApathFromUrl%7D%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fpolymer%2Flib%2Futils%2Fresolve-url.html.js%0A | 3.1 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7B'use%20strict'%3Bconst%20builtCSS%3Dwindow.ShadyCSS%26%26window.ShadyCSS.cssBuild%3B%2F**%0A%20%20%20*%20Element%20class%20mixin%20that%20provides%20the%20core%20API%20for%20Polymer's%20meta-programming%0A%20%20%20*%20features%20including%20template%20stamping%2C%20data-binding%2C%20attribute%20deserialization%2C%0A%20%20%20*%20and%20property%20change%20observation.%0A%20%20%20*%0A%20%20%20*%20Subclassers%20may%20provide%20the%20following%20static%20getters%20to%20return%20metadata%0A%20%20%20*%20used%20to%20configure%20Polymer's%20features%20for%20the%20class%3A%0A%20%20%20*%0A%20%20%20*%20-%20%60static%20get%20is()%60%3A%20When%20the%20template%20is%20provided%20via%20a%20%60dom-module%60%2C%0A%20%20%20*%20%20%20users%20should%20return%20the%20%60dom-module%60%20id%20from%20a%20static%20%60is%60%20getter.%20%20If%0A%20%20%20*%20%20%20no%20template%20is%20needed%20or%20the%20template%20is%20provided%20directly%20via%20the%0A%20%20%20*%20%20%20%60template%60%20getter%2C%20there%20is%20no%20need%20to%20define%20%60is%60%20for%20the%20element.%0A%20%20%20*%0A%20%20%20*%20-%20%60static%20get%20template()%60%3A%20Users%20may%20provide%20the%20template%20directly%20(as%0A%20%20%20*%20%20%20opposed%20to%20via%20%60dom-module%60)%20by%20implementing%20a%20static%20%60template%60%20getter.%0A%20%20%20*%20%20%20The%20getter%20may%20return%20an%20%60HTMLTemplateElement%60%20or%20a%20string%2C%20which%20will%0A%20%20%20*%20%20%20automatically%20be%20parsed%20into%20a%20template.%0A%20%20%20*%0A%20%20%20*%20-%20%60static%20get%20properties()%60%3A%20Should%20return%20an%20object%20describing%0A%20%20%20*%20%20%20property-related%20metadata%20used%20by%20Polymer%20features%20(key%3A%20property%20name%0A%20%20%20*%20%20%20value%3A%20object%20containing%20property%20metadata).%20Valid%20keys%20in%20per-property%0A%20%20%20*%20%20%20metadata%20include%3A%0A%20%20%20*%20%20%20-%20%60type%60%20(String%7CNumber%7CObject%7CArray%7C...)%3A%20Used%20by%0A%20%20%20*%20%20%20%20%20%60attributeChangedCallback%60%20to%20determine%20how%20string-based%20attributes%0A%20%20%20*%20%20%20%20%20are%20deserialized%20to%20JavaScript%20property%20values.%0A%20%20%20*%20%20%20-%20%60notify%60%20(boolean)%3A%20Causes%20a%20change%20in%20the%20property%20to%20fire%20a%0A%20%20%20*%20%20%20%20%20non-bubbling%20event%20called%20%60%3Cproperty%3E-changed%60.%20Elements%20that%20have%0A%20%20%20*%20%20%20%20%20enabled%20two-way%20binding%20to%20the%20property%20use%20this%20event%20to%20observe%20changes.%0A%20%20%20*%20%20%20-%20%60readOnly%60%20(boolean)%3A%20Creates%20a%20getter%20for%20the%20property%2C%20but%20no%20setter.%0A%20%20%20*%20%20%20%20%20To%20set%20a%20read-only%20property%2C%20use%20the%20private%20setter%20method%0A%20%20%20*%20%20%20%20%20%60_setProperty(property%2C%20value)%60.%0A%20%20%20*%20%20%20-%20%60observer%60%20(string)%3A%20Observer%20method%20name%20that%20will%20be%20called%20when%0A%20%20%20*%20%20%20%20%20the%20property%20changes.%20The%20arguments%20of%20the%20method%20are%0A%20%20%20*%20%20%20%20%20%60(value%2C%20previousValue)%60.%0A%20%20%20*%20%20%20-%20%60computed%60%20(string)%3A%20String%20describing%20method%20and%20dependent%20properties%0A%20%20%20*%20%20%20%20%20for%20computing%20the%20value%20of%20this%20property%20(e.g.%20%60'computeFoo(bar%2C%20zot)'%60).%0A%20%20%20*%20%20%20%20%20Computed%20properties%20are%20read-only%20by%20default%20and%20can%20only%20be%20changed%0A%20%20%20*%20%20%20%20%20via%20the%20return%20value%20of%20the%20computing%20method.%0A%20%20%20*%0A%20%20%20*%20-%20%60static%20get%20observers()%60%3A%20Array%20of%20strings%20describing%20multi-property%0A%20%20%20*%20%20%20observer%20methods%20and%20their%20dependent%20properties%20(e.g.%0A%20%20%20*%20%20%20%60'observeABC(a%2C%20b%2C%20c)'%60).%0A%20%20%20*%0A%20%20%20*%20The%20base%20class%20provides%20default%20implementations%20for%20the%20following%20standard%0A%20%20%20*%20custom%20element%20lifecycle%20callbacks%3B%20users%20may%20override%20these%2C%20but%20should%0A%20%20%20*%20call%20the%20super%20method%20to%20ensure%0A%20%20%20*%20-%20%60constructor%60%3A%20Run%20when%20the%20element%20is%20created%20or%20upgraded%0A%20%20%20*%20-%20%60connectedCallback%60%3A%20Run%20each%20time%20the%20element%20is%20connected%20to%20the%0A%20%20%20*%20%20%20document%0A%20%20%20*%20-%20%60disconnectedCallback%60%3A%20Run%20each%20time%20the%20element%20is%20disconnected%20from%0A%20%20%20*%20%20%20the%20document%0A%20%20%20*%20-%20%60attributeChangedCallback%60%3A%20Run%20each%20time%20an%20attribute%20in%0A%20%20%20*%20%20%20%60observedAttributes%60%20is%20set%20or%20removed%20(note%3A%20this%20element's%20default%0A%20%20%20*%20%20%20%60observedAttributes%60%20implementation%20will%20automatically%20return%20an%20array%0A%20%20%20*%20%20%20of%20dash-cased%20attributes%20based%20on%20%60properties%60)%0A%20%20%20*%0A%20%20%20*%20%40mixinFunction%0A%20%20%20*%20%40polymer%0A%20%20%20*%20%40appliesMixin%20Polymer.PropertyEffects%0A%20%20%20*%20%40appliesMixin%20Polymer.PropertiesMixin%0A%20%20%20*%20%40memberof%20Polymer%0A%20%20%20*%20%40property%20rootPath%20%7Bstring%7D%20Set%20to%20the%20value%20of%20%60Polymer.rootPath%60%2C%0A%20%20%20*%20%20%20which%20defaults%20to%20the%20main%20document%20path%0A%20%20%20*%20%40property%20importPath%20%7Bstring%7D%20Set%20to%20the%20value%20of%20the%20class's%20static%0A%20%20%20*%20%20%20%60importPath%60%20property%2C%20which%20defaults%20to%20the%20path%20of%20this%20element's%0A%20%20%20*%20%20%20%60dom-module%60%20(when%20%60is%60%20is%20used)%2C%20but%20can%20be%20overridden%20for%20other%0A%20%20%20*%20%20%20import%20strategies.%0A%20%20%20*%20%40summary%20Element%20class%20mixin%20that%20provides%20the%20core%20API%20for%20Polymer's%0A%20%20%20*%20meta-programming%20features.%0A%20%20%20*%2FPolymer.ElementMixin%3DPolymer.dedupingMixin(base%3D%3E%7B%2F**%0A%20%20%20%20%20*%20%40constructor%0A%20%20%20%20%20*%20%40extends%20%7Bbase%7D%0A%20%20%20%20%20*%20%40implements%20%7BPolymer_PropertyEffects%7D%0A%20%20%20%20%20*%20%40implements%20%7BPolymer_PropertiesMixin%7D%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2Fconst%20polymerElementBase%3DPolymer.PropertiesMixin(Polymer.PropertyEffects(base))%3B%2F**%0A%20%20%20%20%20*%20Returns%20a%20list%20of%20properties%20with%20default%20values.%0A%20%20%20%20%20*%20This%20list%20is%20created%20as%20an%20optimization%20since%20it%20is%20a%20subset%20of%0A%20%20%20%20%20*%20the%20list%20returned%20from%20%60_properties%60.%0A%20%20%20%20%20*%20This%20list%20is%20used%20in%20%60_initializeProperties%60%20to%20set%20property%20defaults.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40param%20%7BPolymerElementConstructor%7D%20constructor%20Element%20class%0A%20%20%20%20%20*%20%40return%20%7BPolymerElementProperties%7D%20Flattened%20properties%20for%20this%20class%0A%20%20%20%20%20*%20%20%20that%20have%20default%20values%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2Ffunction%20propertyDefaults(constructor)%7Bif(!constructor.hasOwnProperty(JSCompiler_renameProperty(%22__propertyDefaults%22%2Cconstructor)))%7Bconstructor.__propertyDefaults%3Dnull%3Blet%20props%3Dconstructor._properties%3Bfor(let%20p%20in%20props)%7Blet%20info%3Dprops%5Bp%5D%3Bif(%22value%22in%20info)%7Bconstructor.__propertyDefaults%3Dconstructor.__propertyDefaults%7C%7C%7B%7D%3Bconstructor.__propertyDefaults%5Bp%5D%3Dinfo%7D%7D%7Dreturn%20constructor.__propertyDefaults%7D%2F**%0A%20%20%20%20%20*%20Returns%20a%20memoized%20version%20of%20the%20%60observers%60%20array.%0A%20%20%20%20%20*%20%40param%20%7BPolymerElementConstructor%7D%20constructor%20Element%20class%0A%20%20%20%20%20*%20%40return%20%7BArray%7D%20Array%20containing%20own%20observers%20for%20the%20given%20class%0A%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20*%2Ffunction%20ownObservers(constructor)%7Bif(!constructor.hasOwnProperty(JSCompiler_renameProperty(%22__ownObservers%22%2Cconstructor)))%7Bconstructor.__ownObservers%3Dconstructor.hasOwnProperty(JSCompiler_renameProperty(%22observers%22%2Cconstructor))%3F%2F**%20%40type%20%7BPolymerElementConstructor%7D%20*%2Fconstructor.observers%3Anull%7Dreturn%20constructor.__ownObservers%7D%2F**%0A%20%20%20%20%20*%20Creates%20effects%20for%20a%20property.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20Note%2C%20once%20a%20property%20has%20been%20set%20to%0A%20%20%20%20%20*%20%60readOnly%60%2C%20%60computed%60%2C%20%60reflectToAttribute%60%2C%20or%20%60notify%60%0A%20%20%20%20%20*%20these%20values%20may%20not%20be%20changed.%20For%20example%2C%20a%20subclass%20cannot%0A%20%20%20%20%20*%20alter%20these%20settings.%20However%2C%20additional%20%60observers%60%20may%20be%20added%0A%20%20%20%20%20*%20by%20subclasses.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20The%20info%20object%20should%20contain%20property%20metadata%20as%20follows%3A%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20*%20%60type%60%3A%20%7Bfunction%7D%20type%20to%20which%20an%20attribute%20matching%20the%20property%0A%20%20%20%20%20*%20is%20deserialized.%20Note%20the%20property%20is%20camel-cased%20from%20a%20dash-cased%0A%20%20%20%20%20*%20attribute.%20For%20example%2C%20'foo-bar'%20attribute%20is%20deserialized%20to%20a%0A%20%20%20%20%20*%20property%20named%20'fooBar'.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20*%20%60readOnly%60%3A%20%7Bboolean%7D%20creates%20a%20readOnly%20property%20and%0A%20%20%20%20%20*%20makes%20a%20private%20setter%20for%20the%20private%20of%20the%20form%20'_setFoo'%20for%20a%0A%20%20%20%20%20*%20property%20'foo'%2C%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20*%20%60computed%60%3A%20%7Bstring%7D%20creates%20a%20computed%20property.%20A%20computed%20property%0A%20%20%20%20%20*%20is%20also%20automatically%20set%20to%20%60readOnly%3A%20true%60.%20The%20value%20is%20calculated%0A%20%20%20%20%20*%20by%20running%20a%20method%20and%20arguments%20parsed%20from%20the%20given%20string.%20For%0A%20%20%20%20%20*%20example%20'compute(foo)'%20will%20compute%20a%20given%20property%20when%20the%0A%20%20%20%20%20*%20'foo'%20property%20changes%20by%20executing%20the%20'compute'%20method.%20This%20method%0A%20%20%20%20%20*%20must%20return%20the%20computed%20value.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20*%20%60reflectToAttribute%60%3A%20%7Bboolean%7D%20If%20true%2C%20the%20property%20value%20is%20reflected%0A%20%20%20%20%20*%20to%20an%20attribute%20of%20the%20same%20name.%20Note%2C%20the%20attribute%20is%20dash-cased%0A%20%20%20%20%20*%20so%20a%20property%20named%20'fooBar'%20is%20reflected%20as%20'foo-bar'.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20*%20%60notify%60%3A%20%7Bboolean%7D%20sends%20a%20non-bubbling%20notification%20event%20when%0A%20%20%20%20%20*%20the%20property%20changes.%20For%20example%2C%20a%20property%20named%20'foo'%20sends%20an%0A%20%20%20%20%20*%20event%20named%20'foo-changed'%20with%20%60event.detail%60%20set%20to%20the%20value%20of%0A%20%20%20%20%20*%20the%20property.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20*%20observer%3A%20%7Bstring%7D%20name%20of%20a%20method%20that%20runs%20when%20the%20property%0A%20%20%20%20%20*%20changes.%20The%20arguments%20of%20the%20method%20are%20(value%2C%20previousValue).%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20Note%3A%20Users%20may%20want%20control%20over%20modifying%20property%0A%20%20%20%20%20*%20effects%20via%20subclassing.%20For%20example%2C%20a%20user%20might%20want%20to%20make%20a%0A%20%20%20%20%20*%20reflectToAttribute%20property%20not%20do%20so%20in%20a%20subclass.%20We've%20chosen%20to%0A%20%20%20%20%20*%20disable%20this%20because%20it%20leads%20to%20additional%20complication.%0A%20%20%20%20%20*%20For%20example%2C%20a%20readOnly%20effect%20generates%20a%20special%20setter.%20If%20a%20subclass%0A%20%20%20%20%20*%20disables%20the%20effect%2C%20the%20setter%20would%20fail%20unexpectedly.%0A%20%20%20%20%20*%20Based%20on%20feedback%2C%20we%20may%20want%20to%20try%20to%20make%20effects%20more%20malleable%0A%20%20%20%20%20*%20and%2For%20provide%20an%20advanced%20api%20for%20manipulating%20them.%0A%20%20%20%20%20*%20Also%20consider%20adding%20warnings%20when%20an%20effect%20cannot%20be%20changed.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40param%20%7B!PolymerElement%7D%20proto%20Element%20class%20prototype%20to%20add%20accessors%0A%20%20%20%20%20*%20%20%20and%20effects%20to%0A%20%20%20%20%20*%20%40param%20%7Bstring%7D%20name%20Name%20of%20the%20property.%0A%20%20%20%20%20*%20%40param%20%7BObject%7D%20info%20Info%20object%20from%20which%20to%20create%20property%20effects.%0A%20%20%20%20%20*%20Supported%20keys%3A%0A%20%20%20%20%20*%20%40param%20%7BObject%7D%20allProps%20Flattened%20map%20of%20all%20properties%20defined%20in%20this%0A%20%20%20%20%20*%20%20%20element%20(including%20inherited%20properties)%0A%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2Ffunction%20createPropertyFromConfig(proto%2Cname%2Cinfo%2CallProps)%7B%2F%2F%20computed%20forces%20readOnly...%0Aif(info.computed)%7Binfo.readOnly%3D%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%7D%2F%2F%20Note%2C%20since%20all%20computed%20properties%20are%20readOnly%2C%20this%20prevents%0A%2F%2F%20adding%20additional%20computed%20property%20effects%20(which%20leads%20to%20a%20confusing%0A%2F%2F%20setup%20where%20multiple%20triggers%20for%20setting%20a%20property)%0A%2F%2F%20While%20we%20do%20have%20%60hasComputedEffect%60%20this%20is%20set%20on%20the%20property's%0A%2F%2F%20dependencies%20rather%20than%20itself.%0Aif(info.computed%26%26!proto._hasReadOnlyEffect(name))%7Bproto._createComputedProperty(name%2Cinfo.computed%2CallProps)%7Dif(info.readOnly%26%26!proto._hasReadOnlyEffect(name))%7Bproto._createReadOnlyProperty(name%2C!info.computed)%7Dif(info.reflectToAttribute%26%26!proto._hasReflectEffect(name))%7Bproto._createReflectedProperty(name)%7Dif(info.notify%26%26!proto._hasNotifyEffect(name))%7Bproto._createNotifyingProperty(name)%7D%2F%2F%20always%20add%20observer%0Aif(info.observer)%7Bproto._createPropertyObserver(name%2Cinfo.observer%2CallProps%5Binfo.observer%5D)%7D%2F%2F%20always%20create%20the%20mapping%20from%20attribute%20back%20to%20property%20for%20deserialization.%0Aproto._addPropertyToAttributeMap(name)%7D%2F**%0A%20%20%20%20%20*%20Process%20all%20style%20elements%20in%20the%20element%20template.%20Styles%20with%20the%0A%20%20%20%20%20*%20%60include%60%20attribute%20are%20processed%20such%20that%20any%20styles%20in%0A%20%20%20%20%20*%20the%20associated%20%22style%20modules%22%20are%20included%20in%20the%20element%20template.%0A%20%20%20%20%20*%20%40param%20%7BPolymerElementConstructor%7D%20klass%20Element%20class%0A%20%20%20%20%20*%20%40param%20%7B!HTMLTemplateElement%7D%20template%20Template%20to%20process%0A%20%20%20%20%20*%20%40param%20%7Bstring%7D%20is%20Name%20of%20element%0A%20%20%20%20%20*%20%40param%20%7Bstring%7D%20baseURI%20Base%20URI%20for%20element%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2Ffunction%20processElementStyles(klass%2Ctemplate%2Cis%2CbaseURI)%7Bif(!builtCSS)%7Bconst%20templateStyles%3Dtemplate.content.querySelectorAll(%22style%22)%2CstylesWithImports%3DPolymer.StyleGather.stylesFromTemplate(template)%2ClinkedStyles%3DPolymer.StyleGather.stylesFromModuleImports(is)%2CfirstTemplateChild%3Dtemplate.content.firstElementChild%3Bfor(let%20idx%3D0%2Cs%3Bidx%3ClinkedStyles.length%3Bidx%2B%2B)%7Bs%3DlinkedStyles%5Bidx%5D%3Bs.textContent%3Dklass._processStyleText(s.textContent%2CbaseURI)%3Btemplate.content.insertBefore(s%2CfirstTemplateChild)%7D%2F%2F%20keep%20track%20of%20the%20last%20%22concrete%22%20style%20in%20the%20template%20we%20have%20encountered%0Alet%20templateStyleIndex%3D0%3B%2F%2F%20ensure%20all%20gathered%20styles%20are%20actually%20in%20this%20template.%0Afor(let%20i%3D0%3Bi%3CstylesWithImports.length%3Bi%2B%2B)%7Blet%20s%3DstylesWithImports%5Bi%5D%2CtemplateStyle%3DtemplateStyles%5BtemplateStyleIndex%5D%3B%2F%2F%20if%20the%20style%20is%20not%20in%20this%20template%2C%20it's%20been%20%22included%22%20and%0A%2F%2F%20we%20put%20a%20clone%20of%20it%20in%20the%20template%20before%20the%20style%20that%20included%20it%0Aif(templateStyle!%3D%3Ds)%7Bs%3Ds.cloneNode(!0)%3BtemplateStyle.parentNode.insertBefore(s%2CtemplateStyle)%7Delse%7BtemplateStyleIndex%2B%2B%7Ds.textContent%3Dklass._processStyleText(s.textContent%2CbaseURI)%7D%7Dif(window.ShadyCSS)%7Bwindow.ShadyCSS.prepareTemplate(template%2Cis)%7D%7D%2F**%0A%20%20%20%20%20*%20Look%20up%20template%20from%20dom-module%20for%20element%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40param%20%7B!string%7D%20is%20Element%20name%20to%20look%20up%0A%20%20%20%20%20*%20%40return%20%7B!HTMLTemplateElement%7D%20Template%20found%20in%20dom%20module%2C%20or%0A%20%20%20%20%20*%20%20%20undefined%20if%20not%20found%0A%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20*%2Ffunction%20getTemplateFromDomModule(is)%7Blet%20template%3Dnull%3Bif(is%26%26Polymer.DomModule)%7Btemplate%3DPolymer.DomModule.import(is%2C%22template%22)%3B%2F%2F%20Under%20strictTemplatePolicy%2C%20require%20any%20element%20with%20an%20%60is%60%0A%2F%2F%20specified%20to%20have%20a%20dom-module%0Aif(Polymer.strictTemplatePolicy%26%26!template)%7Bthrow%20new%20Error(%60strictTemplatePolicy%3A%20expecting%20dom-module%20or%20null%20template%20for%20%24%7Bis%7D%60)%7D%7Dreturn%20template%7D%2F**%0A%20%20%20%20%20*%20%40polymer%0A%20%20%20%20%20*%20%40mixinClass%0A%20%20%20%20%20*%20%40unrestricted%0A%20%20%20%20%20*%20%40implements%20%7BPolymer_ElementMixin%7D%0A%20%20%20%20%20*%2Fclass%20PolymerElement%20extends%20polymerElementBase%7B%2F**%0A%20%20%20%20%20%20%20*%20Override%20of%20PropertiesMixin%20_finalizeClass%20to%20create%20observers%20and%0A%20%20%20%20%20%20%20*%20find%20the%20template.%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20%20%20*%20%40override%0A%20%20%20%20%20%20%20*%20%40suppress%20%7BmissingProperties%7D%20Interfaces%20in%20closure%20do%20not%20inherit%20statics%2C%20but%20classes%20do%0A%20%20%20%20%20%20%20*%2Fstatic%20_finalizeClass()%7Bsuper._finalizeClass()%3Bconst%20observers%3DownObservers(this)%3Bif(observers)%7Bthis.createObservers(observers%2Cthis._properties)%7Dthis._prepareTemplate()%7Dstatic%20_prepareTemplate()%7B%2F%2F%20note%3A%20create%20%22working%22%20template%20that%20is%20finalized%20at%20instance%20time%0Alet%20template%3D%2F**%20%40type%20%7BPolymerElementConstructor%7D%20*%2Fthis.template%3Bif(template)%7Bif(%22string%22%3D%3D%3Dtypeof%20template)%7Blet%20t%3Ddocument.createElement(%22template%22)%3Bt.innerHTML%3Dtemplate%3Btemplate%3Dt%7Delse%20if(!Polymer.legacyOptimizations)%7Btemplate%3Dtemplate.cloneNode(!0)%7D%7Dthis.prototype._template%3Dtemplate%7D%2F**%0A%20%20%20%20%20%20%20*%20Override%20of%20PropertiesChanged%20createProperties%20to%20create%20accessors%0A%20%20%20%20%20%20%20*%20and%20property%20effects%20for%20all%20of%20the%20properties.%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20%20%20*%20%40override%0A%20%20%20%20%20%20%20*%2Fstatic%20createProperties(props)%7Bfor(let%20p%20in%20props)%7BcreatePropertyFromConfig(this.prototype%2Cp%2Cprops%5Bp%5D%2Cprops)%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Creates%20observers%20for%20the%20given%20%60observers%60%20array.%0A%20%20%20%20%20%20%20*%20Leverages%20%60PropertyEffects%60%20to%20create%20observers.%0A%20%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20observers%20Array%20of%20observer%20descriptors%20for%0A%20%20%20%20%20%20%20*%20%20%20this%20class%0A%20%20%20%20%20%20%20*%20%40param%20%7BObject%7D%20dynamicFns%20Object%20containing%20keys%20for%20any%20properties%0A%20%20%20%20%20%20%20*%20%20%20that%20are%20functions%20and%20should%20trigger%20the%20effect%20when%20the%20function%0A%20%20%20%20%20%20%20*%20%20%20reference%20is%20changed%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20%20%20*%2Fstatic%20createObservers(observers%2CdynamicFns)%7Bconst%20proto%3Dthis.prototype%3Bfor(let%20i%3D0%3Bi%3Cobservers.length%3Bi%2B%2B)%7Bproto._createMethodObserver(observers%5Bi%5D%2CdynamicFns)%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Returns%20the%20template%20that%20will%20be%20stamped%20into%20this%20element's%20shadow%20root.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20If%20a%20%60static%20get%20is()%60%20getter%20is%20defined%2C%20the%20default%20implementation%0A%20%20%20%20%20%20%20*%20will%20return%20the%20first%20%60%3Ctemplate%3E%60%20in%20a%20%60dom-module%60%20whose%20%60id%60%0A%20%20%20%20%20%20%20*%20matches%20this%20element's%20%60is%60.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20Users%20may%20override%20this%20getter%20to%20return%20an%20arbitrary%20template%0A%20%20%20%20%20%20%20*%20(in%20which%20case%20the%20%60is%60%20getter%20is%20unnecessary).%20The%20template%20returned%0A%20%20%20%20%20%20%20*%20may%20be%20either%20an%20%60HTMLTemplateElement%60%20or%20a%20string%20that%20will%20be%0A%20%20%20%20%20%20%20*%20automatically%20parsed%20into%20a%20template.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20Note%20that%20when%20subclassing%2C%20if%20the%20super%20class%20overrode%20the%20default%0A%20%20%20%20%20%20%20*%20implementation%20and%20the%20subclass%20would%20like%20to%20provide%20an%20alternate%0A%20%20%20%20%20%20%20*%20template%20via%20a%20%60dom-module%60%2C%20it%20should%20override%20this%20getter%20and%0A%20%20%20%20%20%20%20*%20return%20%60Polymer.DomModule.import(this.is%2C%20'template')%60.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20If%20a%20subclass%20would%20like%20to%20modify%20the%20super%20class%20template%2C%20it%20should%0A%20%20%20%20%20%20%20*%20clone%20it%20rather%20than%20modify%20it%20in%20place.%20%20If%20the%20getter%20does%20expensive%0A%20%20%20%20%20%20%20*%20work%20such%20as%20cloning%2Fmodifying%20a%20template%2C%20it%20should%20memoize%20the%0A%20%20%20%20%20%20%20*%20template%20for%20maximum%20performance%3A%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%20%20let%20memoizedTemplate%3B%0A%20%20%20%20%20%20%20*%20%20%20class%20MySubClass%20extends%20MySuperClass%20%7B%0A%20%20%20%20%20%20%20*%20%20%20%20%20static%20get%20template()%20%7B%0A%20%20%20%20%20%20%20*%20%20%20%20%20%20%20if%20(!memoizedTemplate)%20%7B%0A%20%20%20%20%20%20%20*%20%20%20%20%20%20%20%20%20memoizedTemplate%20%3D%20MySuperClass.template.cloneNode(true)%3B%0A%20%20%20%20%20%20%20*%20%20%20%20%20%20%20%20%20let%20subContent%20%3D%20document.createElement('div')%3B%0A%20%20%20%20%20%20%20*%20%20%20%20%20%20%20%20%20subContent.textContent%20%3D%20'This%20came%20from%20MySubClass'%3B%0A%20%20%20%20%20%20%20*%20%20%20%20%20%20%20%20%20memoizedTemplate.content.appendChild(subContent)%3B%0A%20%20%20%20%20%20%20*%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20*%20%20%20%20%20%20%20return%20memoizedTemplate%3B%0A%20%20%20%20%20%20%20*%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20*%20%20%20%7D%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40return%20%7BHTMLTemplateElement%7Cstring%7D%20Template%20to%20be%20stamped%0A%20%20%20%20%20%20%20*%2Fstatic%20get%20template()%7B%2F%2F%20Explanation%20of%20template-related%20properties%3A%0A%2F%2F%20-%20constructor.template%20(this%20getter)%3A%20the%20template%20for%20the%20class.%0A%2F%2F%20%20%20%20%20This%20can%20come%20from%20the%20prototype%20(for%20legacy%20elements)%2C%20from%20a%0A%2F%2F%20%20%20%20%20dom-module%2C%20or%20from%20the%20super%20class's%20template%20(or%20can%20be%20overridden%0A%2F%2F%20%20%20%20%20altogether%20by%20the%20user)%0A%2F%2F%20-%20constructor._template%3A%20memoized%20version%20of%20constructor.template%0A%2F%2F%20-%20prototype._template%3A%20working%20template%20for%20the%20element%2C%20which%20will%20be%0A%2F%2F%20%20%20%20%20parsed%20and%20modified%20in%20place.%20It%20is%20a%20cloned%20version%20of%0A%2F%2F%20%20%20%20%20constructor.template%2C%20saved%20in%20_finalizeClass().%20Note%20that%20before%0A%2F%2F%20%20%20%20%20this%20getter%20is%20called%2C%20for%20legacy%20elements%20this%20could%20be%20from%20a%0A%2F%2F%20%20%20%20%20_template%20field%20on%20the%20info%20object%20passed%20to%20Polymer()%2C%20a%20behavior%2C%0A%2F%2F%20%20%20%20%20or%20set%20in%20registered()%3B%20once%20the%20static%20getter%20runs%2C%20a%20clone%20of%20it%0A%2F%2F%20%20%20%20%20will%20overwrite%20it%20on%20the%20prototype%20as%20the%20working%20template.%0Aif(!this.hasOwnProperty(JSCompiler_renameProperty(%22_template%22%2Cthis)))%7Bthis._template%3D%2F%2F%20If%20user%20has%20put%20template%20on%20prototype%20(e.g.%20in%20legacy%20via%20registered%0A%2F%2F%20callback%20or%20info%20object)%2C%20prefer%20that%20first%0Athis.prototype.hasOwnProperty(JSCompiler_renameProperty(%22_template%22%2Cthis.prototype))%3Fthis.prototype._template%3A%2F%2F%20Look%20in%20dom-module%20associated%20with%20this%20element's%20is%0AgetTemplateFromDomModule(%2F**%20%40type%20%7BPolymerElementConstructor%7D*%2Fthis.is)%7C%7C%2F%2F%20Next%20look%20for%20superclass%20template%20(call%20the%20super%20impl%20this%0A%2F%2F%20way%20so%20that%20%60this%60%20points%20to%20the%20superclass)%0AObject.getPrototypeOf(%2F**%20%40type%20%7BPolymerElementConstructor%7D*%2Fthis.prototype).constructor.template%7Dreturn%20this._template%7D%2F**%0A%20%20%20%20%20%20%20*%20Set%20the%20template.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7B!HTMLTemplateElement%7Cstring%7D%20value%20Template%20to%20set.%0A%20%20%20%20%20%20%20*%2Fstatic%20set%20template(value)%7Bthis._template%3Dvalue%7D%2F**%0A%20%20%20%20%20%20%20*%20Path%20matching%20the%20url%20from%20which%20the%20element%20was%20imported.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20This%20path%20is%20used%20to%20resolve%20url's%20in%20template%20style%20cssText.%0A%20%20%20%20%20%20%20*%20The%20%60importPath%60%20property%20is%20also%20set%20on%20element%20instances%20and%20can%20be%0A%20%20%20%20%20%20%20*%20used%20to%20create%20bindings%20relative%20to%20the%20import%20path.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20For%20elements%20defined%20in%20ES%20modules%2C%20users%20should%20implement%0A%20%20%20%20%20%20%20*%20%60static%20get%20importMeta()%20%7B%20return%20import.meta%3B%20%7D%60%2C%20and%20the%20default%0A%20%20%20%20%20%20%20*%20implementation%20of%20%60importPath%60%20will%20%20return%20%60import.meta.url%60's%20path.%0A%20%20%20%20%20%20%20*%20For%20elements%20defined%20in%20HTML%20imports%2C%20this%20getter%20will%20return%20the%20path%0A%20%20%20%20%20%20%20*%20to%20the%20document%20containing%20a%20%60dom-module%60%20element%20matching%20this%0A%20%20%20%20%20%20%20*%20element's%20static%20%60is%60%20property.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20Note%2C%20this%20path%20should%20contain%20a%20trailing%20%60%2F%60.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40return%20%7Bstring%7D%20The%20import%20path%20for%20this%20element%20class%0A%20%20%20%20%20%20%20*%20%40suppress%20%7BmissingProperties%7D%0A%20%20%20%20%20%20%20*%2Fstatic%20get%20importPath()%7Bif(!this.hasOwnProperty(JSCompiler_renameProperty(%22_importPath%22%2Cthis)))%7Bconst%20meta%3Dthis.importMeta%3Bif(meta)%7Bthis._importPath%3DPolymer.ResolveUrl.pathFromUrl(meta.url)%7Delse%7Bconst%20module%3DPolymer.DomModule%26%26Polymer.DomModule.import(%2F**%20%40type%20%7BPolymerElementConstructor%7D%20*%2Fthis.is)%3Bthis._importPath%3Dmodule%26%26module.assetpath%7C%7CObject.getPrototypeOf(%2F**%20%40type%20%7BPolymerElementConstructor%7D*%2Fthis.prototype).constructor.importPath%7D%7Dreturn%20this._importPath%7Dconstructor()%7Bsuper()%3B%2F**%20%40type%20%7BHTMLTemplateElement%7D%20*%2Fthis._template%3B%2F**%20%40type%20%7Bstring%7D%20*%2Fthis._importPath%3B%2F**%20%40type%20%7Bstring%7D%20*%2Fthis.rootPath%3B%2F**%20%40type%20%7Bstring%7D%20*%2Fthis.importPath%3B%2F**%20%40type%20%7BStampedTemplate%20%7C%20HTMLElement%20%7C%20ShadowRoot%7D%20*%2Fthis.root%3B%2F**%20%40type%20%7B!Object%3Cstring%2C%20!Element%3E%7D%20*%2Fthis.%24%7D%2F**%0A%20%20%20%20%20%20%20*%20Overrides%20the%20default%20%60Polymer.PropertyAccessors%60%20to%20ensure%20class%0A%20%20%20%20%20%20%20*%20metaprogramming%20related%20to%20property%20accessors%20and%20effects%20has%0A%20%20%20%20%20%20%20*%20completed%20(calls%20%60finalize%60).%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20It%20also%20initializes%20any%20property%20defaults%20provided%20via%20%60value%60%20in%0A%20%20%20%20%20%20%20*%20%60properties%60%20metadata.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%20%40override%0A%20%20%20%20%20%20%20*%20%40suppress%20%7BinvalidCasts%7D%0A%20%20%20%20%20%20%20*%2F_initializeProperties()%7Bthis.constructor.finalize()%3B%2F%2F%20note%3A%20finalize%20template%20when%20we%20have%20access%20to%20%60localName%60%20to%0A%2F%2F%20avoid%20dependence%20on%20%60is%60%20for%20polyfilling%20styling.%0Athis.constructor._finalizeTemplate(%2F**%20%40type%20%7B!HTMLElement%7D%20*%2Fthis.localName)%3Bsuper._initializeProperties()%3B%2F%2F%20set%20path%20defaults%0Athis.rootPath%3DPolymer.rootPath%3Bthis.importPath%3Dthis.constructor.importPath%3B%2F%2F%20apply%20property%20defaults...%0Alet%20p%24%3DpropertyDefaults(this.constructor)%3Bif(!p%24)%7Breturn%7Dfor(let%20p%20in%20p%24)%7Blet%20info%3Dp%24%5Bp%5D%3B%2F%2F%20Don't%20set%20default%20value%20if%20there%20is%20already%20an%20own%20property%2C%20which%0A%2F%2F%20happens%20when%20a%20%60properties%60%20property%20with%20default%20but%20no%20effects%20had%0A%2F%2F%20a%20property%20set%20(e.g.%20bound)%20by%20its%20host%20before%20upgrade%0Aif(!this.hasOwnProperty(p))%7Blet%20value%3D%22function%22%3D%3Dtypeof%20info.value%3Finfo.value.call(this)%3Ainfo.value%3B%2F%2F%20Set%20via%20%60_setProperty%60%20if%20there%20is%20an%20accessor%2C%20to%20enable%0A%2F%2F%20initializing%20readOnly%20property%20defaults%0Aif(this._hasAccessor(p))%7Bthis._setPendingProperty(p%2Cvalue%2C!0)%7Delse%7Bthis%5Bp%5D%3Dvalue%7D%7D%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Gather%20style%20text%20for%20a%20style%20element%20in%20the%20template.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20cssText%20Text%20containing%20styling%20to%20process%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20baseURI%20Base%20URI%20to%20rebase%20CSS%20paths%20against%0A%20%20%20%20%20%20%20*%20%40return%20%7Bstring%7D%20The%20processed%20CSS%20text%0A%20%20%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20%20%20*%2Fstatic%20_processStyleText(cssText%2CbaseURI)%7Breturn%20Polymer.ResolveUrl.resolveCss(cssText%2CbaseURI)%7D%2F**%0A%20%20%20%20%20%20*%20Configures%20an%20element%20%60proto%60%20to%20function%20with%20a%20given%20%60template%60.%0A%20%20%20%20%20%20*%20The%20element%20name%20%60is%60%20and%20extends%20%60ext%60%20must%20be%20specified%20for%20ShadyCSS%0A%20%20%20%20%20%20*%20style%20scoping.%0A%20%20%20%20%20%20*%0A%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20is%20Tag%20name%20(or%20type%20extension%20name)%20for%20this%20element%0A%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20%20*%2Fstatic%20_finalizeTemplate(is)%7B%2F**%20%40const%20%7BHTMLTemplateElement%7D%20*%2Fconst%20template%3Dthis.prototype._template%3Bif(template%26%26!template.__polymerFinalized)%7Btemplate.__polymerFinalized%3D!0%3Bconst%20importPath%3Dthis.importPath%2CbaseURI%3DimportPath%3FPolymer.ResolveUrl.resolveUrl(importPath)%3A%22%22%3B%2F%2F%20e.g.%20support%20%60include%3D%22module-name%22%60%2C%20and%20ShadyCSS%0AprocessElementStyles(this%2Ctemplate%2Cis%2CbaseURI)%3Bthis.prototype._bindTemplate(template)%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Provides%20a%20default%20implementation%20of%20the%20standard%20Custom%20Elements%0A%20%20%20%20%20%20%20*%20%60connectedCallback%60.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20The%20default%20implementation%20enables%20the%20property%20effects%20system%20and%0A%20%20%20%20%20%20%20*%20flushes%20any%20pending%20properties%2C%20and%20updates%20shimmed%20CSS%20properties%0A%20%20%20%20%20%20%20*%20when%20using%20the%20ShadyCSS%20scoping%2Fcustom%20properties%20polyfill.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40suppress%20%7BmissingProperties%2C%20invalidCasts%7D%20Super%20may%20or%20may%20not%20implement%20the%20callback%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%2FconnectedCallback()%7Bif(window.ShadyCSS%26%26this._template)%7Bwindow.ShadyCSS.styleElement(%2F**%20%40type%20%7B!HTMLElement%7D%20*%2Fthis)%7Dsuper.connectedCallback()%7D%2F**%0A%20%20%20%20%20%20%20*%20Stamps%20the%20element%20template.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%20%40override%0A%20%20%20%20%20%20%20*%2Fready()%7Bif(this._template)%7Bthis.root%3Dthis._stampTemplate(this._template)%3Bthis.%24%3Dthis.root.%24%7Dsuper.ready()%7D%2F**%0A%20%20%20%20%20%20%20*%20Implements%20%60PropertyEffects%60's%20%60_readyClients%60%20call.%20Attaches%0A%20%20%20%20%20%20%20*%20element%20dom%20by%20calling%20%60_attachDom%60%20with%20the%20dom%20stamped%20from%20the%0A%20%20%20%20%20%20%20*%20element's%20template%20via%20%60_stampTemplate%60.%20Note%20that%20this%20allows%0A%20%20%20%20%20%20%20*%20client%20dom%20to%20be%20attached%20to%20the%20element%20prior%20to%20any%20observers%0A%20%20%20%20%20%20%20*%20running.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%20%40override%0A%20%20%20%20%20%20%20*%2F_readyClients()%7Bif(this._template)%7Bthis.root%3Dthis._attachDom(%2F**%20%40type%20%7BStampedTemplate%7D%20*%2Fthis.root)%7D%2F%2F%20The%20super._readyClients%20here%20sets%20the%20clients%20initialized%20flag.%0A%2F%2F%20We%20must%20wait%20to%20do%20this%20until%20after%20client%20dom%20is%20created%2Fattached%0A%2F%2F%20so%20that%20this%20flag%20can%20be%20checked%20to%20prevent%20notifications%20fired%0A%2F%2F%20during%20this%20process%20from%20being%20handled%20before%20clients%20are%20ready.%0Asuper._readyClients()%7D%2F**%0A%20%20%20%20%20%20%20*%20Attaches%20an%20element's%20stamped%20dom%20to%20itself.%20By%20default%2C%0A%20%20%20%20%20%20%20*%20this%20method%20creates%20a%20%60shadowRoot%60%20and%20adds%20the%20dom%20to%20it.%0A%20%20%20%20%20%20%20*%20However%2C%20this%20method%20may%20be%20overridden%20to%20allow%20an%20element%0A%20%20%20%20%20%20%20*%20to%20put%20its%20dom%20in%20another%20location.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40throws%20%7BError%7D%0A%20%20%20%20%20%20%20*%20%40suppress%20%7BmissingReturn%7D%0A%20%20%20%20%20%20%20*%20%40param%20%7BStampedTemplate%7D%20dom%20to%20attach%20to%20the%20element.%0A%20%20%20%20%20%20%20*%20%40return%20%7BShadowRoot%7D%20node%20to%20which%20the%20dom%20has%20been%20attached.%0A%20%20%20%20%20%20%20*%2F_attachDom(dom)%7Bif(this.attachShadow)%7Bif(dom)%7Bif(!this.shadowRoot)%7Bthis.attachShadow(%7Bmode%3A%22open%22%7D)%7Dthis.shadowRoot.appendChild(dom)%3Breturn%20this.shadowRoot%7Dreturn%20null%7Delse%7Bthrow%20new%20Error(%22ShadowDOM%20not%20available.%20%22%2B%2F%2F%20TODO(sorvell)%3A%20move%20to%20compile-time%20conditional%20when%20supported%0A%22Polymer.Element%20can%20create%20dom%20as%20children%20instead%20of%20in%20%22%2B%22ShadowDOM%20by%20setting%20%60this.root%20%3D%20this%3B%60%20before%20%60ready%60.%22)%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20When%20using%20the%20ShadyCSS%20scoping%20and%20custom%20property%20shim%2C%20causes%20all%0A%20%20%20%20%20%20%20*%20shimmed%20styles%20in%20this%20element%20(and%20its%20subtree)%20to%20be%20updated%0A%20%20%20%20%20%20%20*%20based%20on%20current%20custom%20property%20values.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20The%20optional%20parameter%20overrides%20inline%20custom%20property%20styles%20with%20an%0A%20%20%20%20%20%20%20*%20object%20of%20properties%20where%20the%20keys%20are%20CSS%20properties%2C%20and%20the%20values%0A%20%20%20%20%20%20%20*%20are%20strings.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20Example%3A%20%60this.updateStyles(%7B'--color'%3A%20'blue'%7D)%60%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20These%20properties%20are%20retained%20unless%20a%20value%20of%20%60null%60%20is%20set.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20Note%3A%20This%20function%20does%20not%20support%20updating%20CSS%20mixins.%0A%20%20%20%20%20%20%20*%20You%20can%20not%20dynamically%20change%20the%20value%20of%20an%20%60%40apply%60.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7BObject%3D%7D%20properties%20Bag%20of%20custom%20property%20key%2Fvalues%20to%0A%20%20%20%20%20%20%20*%20%20%20apply%20to%20this%20element.%0A%20%20%20%20%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20%20%20%20%20*%20%40suppress%20%7BinvalidCasts%7D%0A%20%20%20%20%20%20%20*%2FupdateStyles(properties)%7Bif(window.ShadyCSS)%7Bwindow.ShadyCSS.styleSubtree(%2F**%20%40type%20%7B!HTMLElement%7D%20*%2Fthis%2Cproperties)%7D%7D%2F**%0A%20%20%20%20%20%20%20*%20Rewrites%20a%20given%20URL%20relative%20to%20a%20base%20URL.%20The%20base%20URL%20defaults%20to%0A%20%20%20%20%20%20%20*%20the%20original%20location%20of%20the%20document%20containing%20the%20%60dom-module%60%20for%0A%20%20%20%20%20%20%20*%20this%20element.%20This%20method%20will%20return%20the%20same%20URL%20before%20and%20after%0A%20%20%20%20%20%20%20*%20bundling.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20Note%20that%20this%20function%20performs%20no%20resolution%20for%20URLs%20that%20start%0A%20%20%20%20%20%20%20*%20with%20%60%2F%60%20(absolute%20URLs)%20or%20%60%23%60%20(hash%20identifiers).%20%20For%20general%20purpose%0A%20%20%20%20%20%20%20*%20URL%20resolution%2C%20use%20%60window.URL%60.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%7D%20url%20URL%20to%20resolve.%0A%20%20%20%20%20%20%20*%20%40param%20%7Bstring%3D%7D%20base%20Optional%20base%20URL%20to%20resolve%20against%2C%20defaults%0A%20%20%20%20%20%20%20*%20to%20the%20element's%20%60importPath%60%0A%20%20%20%20%20%20%20*%20%40return%20%7Bstring%7D%20Rewritten%20URL%20relative%20to%20base%0A%20%20%20%20%20%20%20*%2FresolveUrl(url%2Cbase)%7Bif(!base%26%26this.importPath)%7Bbase%3DPolymer.ResolveUrl.resolveUrl(this.importPath)%7Dreturn%20Polymer.ResolveUrl.resolveUrl(url%2Cbase)%7D%2F**%0A%20%20%20%20%20%20%20*%20Overrides%20%60PropertyAccessors%60%20to%20add%20map%20of%20dynamic%20functions%20on%0A%20%20%20%20%20%20%20*%20template%20info%2C%20for%20consumption%20by%20%60PropertyEffects%60%20template%20binding%0A%20%20%20%20%20%20%20*%20code.%20This%20map%20determines%20which%20method%20templates%20should%20have%20accessors%0A%20%20%20%20%20%20%20*%20created%20for%20them.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20%40override%0A%20%20%20%20%20%20%20*%20%40suppress%20%7BmissingProperties%7D%20Interfaces%20in%20closure%20do%20not%20inherit%20statics%2C%20but%20classes%20do%0A%20%20%20%20%20%20%20*%2Fstatic%20_parseTemplateContent(template%2CtemplateInfo%2CnodeInfo)%7BtemplateInfo.dynamicFns%3DtemplateInfo.dynamicFns%7C%7Cthis._properties%3Breturn%20super._parseTemplateContent(template%2CtemplateInfo%2CnodeInfo)%7D%7Dreturn%20PolymerElement%7D)%3B%2F**%0A%20%20%20*%20When%20using%20the%20ShadyCSS%20scoping%20and%20custom%20property%20shim%2C%20causes%20all%0A%20%20%20*%20shimmed%20%60styles%60%20(via%20%60custom-style%60)%20in%20the%20document%20(and%20its%20subtree)%0A%20%20%20*%20to%20be%20updated%20based%20on%20current%20custom%20property%20values.%0A%20%20%20*%0A%20%20%20*%20The%20optional%20parameter%20overrides%20inline%20custom%20property%20styles%20with%20an%0A%20%20%20*%20object%20of%20properties%20where%20the%20keys%20are%20CSS%20properties%2C%20and%20the%20values%0A%20%20%20*%20are%20strings.%0A%20%20%20*%0A%20%20%20*%20Example%3A%20%60Polymer.updateStyles(%7B'--color'%3A%20'blue'%7D)%60%0A%20%20%20*%0A%20%20%20*%20These%20properties%20are%20retained%20unless%20a%20value%20of%20%60null%60%20is%20set.%0A%20%20%20*%0A%20%20%20*%20%40param%20%7BObject%3D%7D%20props%20Bag%20of%20custom%20property%20key%2Fvalues%20to%0A%20%20%20*%20%20%20apply%20to%20the%20document.%0A%20%20%20*%20%40return%20%7Bvoid%7D%0A%20%20%20*%2FPolymer.updateStyles%3Dfunction(props)%7Bif(window.ShadyCSS)%7Bwindow.ShadyCSS.styleDocument(props)%7D%7D%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Fpolymer%2Flib%2Fmixins%2Felement-mixin.html.js%0A | 28 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/ | 57 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-video/src/IngVideo.js | 2.3 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,(function()%7B%2F%2F%20Contains%20all%20connected%20resizables%20that%20do%20not%20have%20a%20parent.%0Avar%20ORPHANS%3Dnew%20Set%3B%2F**%0A%20%20%20*%20%60IronResizableBehavior%60%20is%20a%20behavior%20that%20can%20be%20used%20in%20Polymer%20elements%20to%0A%20%20%20*%20coordinate%20the%20flow%20of%20resize%20events%20between%20%22resizers%22%20(elements%20that%0A%20%20%20*control%20the%20size%20or%20hidden%20state%20of%20their%20children)%20and%20%22resizables%22%20(elements%0A%20%20%20*that%20need%20to%20be%20notified%20when%20they%20are%20resized%20or%20un-hidden%20by%20their%20parents%0A%20%20%20*in%20order%20to%20take%20action%20on%20their%20new%20measurements).%0A%20%20%20*%0A%20%20%20*%20Elements%20that%20perform%20measurement%20should%20add%20the%20%60IronResizableBehavior%60%0A%20%20%20*behavior%20to%20their%20element%20definition%20and%20listen%20for%20the%20%60iron-resize%60%20event%20on%0A%20%20%20*themselves.%20This%20event%20will%20be%20fired%20when%20they%20become%20showing%20after%20having%0A%20%20%20*been%20hidden%2C%20when%20they%20are%20resized%20explicitly%20by%20another%20resizable%2C%20or%20when%0A%20%20%20*the%20window%20has%20been%20resized.%0A%20%20%20*%0A%20%20%20*%20Note%2C%20the%20%60iron-resize%60%20event%20is%20non-bubbling.%0A%20%20%20*%0A%20%20%20*%20%40polymerBehavior%20Polymer.IronResizableBehavior%0A%20%20%20*%20%40demo%20demo%2Findex.html%0A%20%20%20**%2FPolymer.IronResizableBehavior%3D%7Bproperties%3A%7B%2F**%0A%20%20%20%20%20%20%20*%20The%20closest%20ancestor%20element%20that%20implements%20%60IronResizableBehavior%60.%0A%20%20%20%20%20%20%20*%2F_parentResizable%3A%7Btype%3AObject%2Cobserver%3A%22_parentResizableChanged%22%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20True%20if%20this%20element%20is%20currently%20notifying%20its%20descendant%20elements%20of%0A%20%20%20%20%20%20%20*%20resize.%0A%20%20%20%20%20%20%20*%2F_notifyingDescendant%3A%7Btype%3ABoolean%2Cvalue%3A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A!1%7D%7D%2Clisteners%3A%7B%22iron-request-resize-notifications%22%3A%22_onIronRequestResizeNotifications%22%7D%2Ccreated%3Afunction()%7B%2F%2F%20We%20don't%20really%20need%20property%20effects%20on%20these%2C%20and%20also%20we%20want%20them%0A%2F%2F%20to%20be%20created%20before%20the%20%60_parentResizable%60%20observer%20fires%3A%0Athis._interestedResizables%3D%5B%5D%3Bthis._boundNotifyResize%3Dthis.notifyResize.bind(this)%7D%2Cattached%3Afunction()%7Bthis._requestResizeNotifications()%7D%2Cdetached%3Afunction()%7Bif(this._parentResizable)%7Bthis._parentResizable.stopResizeNotificationsFor(this)%7Delse%7BORPHANS.delete(this)%3Bwindow.removeEventListener(%22resize%22%2Cthis._boundNotifyResize)%7Dthis._parentResizable%3Dnull%7D%2C%2F**%0A%20%20%20%20%20*%20Can%20be%20called%20to%20manually%20notify%20a%20resizable%20and%20its%20descendant%0A%20%20%20%20%20*%20resizables%20of%20a%20resize%20change.%0A%20%20%20%20%20*%2FnotifyResize%3Afunction()%7Bif(!this.isAttached)%7Breturn%7Dthis._interestedResizables.forEach(function(resizable)%7Bif(this.resizerShouldNotify(resizable))%7Bthis._notifyDescendant(resizable)%7D%7D%2Cthis)%3Bthis._fireResize()%7D%2C%2F**%0A%20%20%20%20%20*%20Used%20to%20assign%20the%20closest%20resizable%20ancestor%20to%20this%20resizable%0A%20%20%20%20%20*%20if%20the%20ancestor%20detects%20a%20request%20for%20notifications.%0A%20%20%20%20%20*%2FassignParentResizable%3Afunction(parentResizable)%7Bif(this._parentResizable)%7Bthis._parentResizable.stopResizeNotificationsFor(this)%7Dthis._parentResizable%3DparentResizable%3Bif(parentResizable%26%26-1%3D%3D%3DparentResizable._interestedResizables.indexOf(this))%7BparentResizable._interestedResizables.push(this)%3BparentResizable.listen(this%2C%22iron-resize%22%2C%22_onDescendantIronResize%22)%7D%7D%2C%2F**%0A%20%20%20%20%20*%20Used%20to%20remove%20a%20resizable%20descendant%20from%20the%20list%20of%20descendants%0A%20%20%20%20%20*%20that%20should%20be%20notified%20of%20a%20resize%20change.%0A%20%20%20%20%20*%2FstopResizeNotificationsFor%3Afunction(target)%7Bvar%20index%3Dthis._interestedResizables.indexOf(target)%3Bif(-1%3Cindex)%7Bthis._interestedResizables.splice(index%2C1)%3Bthis.unlisten(target%2C%22iron-resize%22%2C%22_onDescendantIronResize%22)%7D%7D%2C%2F**%0A%20%20%20%20%20*%20This%20method%20can%20be%20overridden%20to%20filter%20nested%20elements%20that%20should%20or%0A%20%20%20%20%20*%20should%20not%20be%20notified%20by%20the%20current%20element.%20Return%20true%20if%20an%20element%0A%20%20%20%20%20*%20should%20be%20notified%2C%20or%20false%20if%20it%20should%20not%20be%20notified.%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20%40param%20%7BHTMLElement%7D%20element%20A%20candidate%20descendant%20element%20that%0A%20%20%20%20%20*%20implements%20%60IronResizableBehavior%60.%0A%20%20%20%20%20*%20%40return%20%7Bboolean%7D%20True%20if%20the%20%60element%60%20should%20be%20notified%20of%20resize.%0A%20%20%20%20%20*%2FresizerShouldNotify%3Afunction(element)%7Breturn(%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A)%7D%2C_onDescendantIronResize%3Afunction(event)%7Bif(this._notifyingDescendant)%7Bevent.stopPropagation()%3Breturn%7D%2F%2F%20NOTE(cdata)%3A%20In%20ShadowDOM%2C%20event%20retargeting%20makes%20echoing%20of%20the%0A%2F%2F%20otherwise%20non-bubbling%20event%20%22just%20work.%22%20We%20do%20it%20manually%20here%20for%0A%2F%2F%20the%20case%20where%20Polymer%20is%20not%20using%20shadow%20roots%20for%20whatever%20reason%3A%0Aif(!Polymer.Settings.useShadow)%7Bthis._fireResize()%7D%7D%2C_fireResize%3Afunction()%7Bthis.fire(%22iron-resize%22%2Cnull%2C%7Bnode%3Athis%2Cbubbles%3A!1%7D)%7D%2C_onIronRequestResizeNotifications%3Afunction(event)%7Bvar%20target%3D%2F**%20%40type%20%7B!EventTarget%7D%20*%2FPolymer.dom(event).rootTarget%3Bif(target%3D%3D%3Dthis)%7Breturn%7Dtarget.assignParentResizable(this)%3Bthis._notifyDescendant(target)%3Bevent.stopPropagation()%7D%2C_parentResizableChanged%3Afunction(parentResizable)%7Bif(parentResizable)%7Bwindow.removeEventListener(%22resize%22%2Cthis._boundNotifyResize)%7D%7D%2C_notifyDescendant%3Afunction(descendant)%7B%2F%2F%20NOTE(cdata)%3A%20In%20IE10%2C%20attached%20is%20fired%20on%20children%20first%2C%20so%20it's%0A%2F%2F%20important%20not%20to%20notify%20them%20if%20the%20parent%20is%20not%20attached%20yet%20(or%0A%2F%2F%20else%20they%20will%20get%20redundantly%20notified%20when%20the%20parent%20attaches).%0Aif(!this.isAttached)%7Breturn%7Dthis._notifyingDescendant%3D!0%3Bdescendant.notifyResize()%3Bthis._notifyingDescendant%3D!1%7D%2C_requestResizeNotifications%3Afunction()%7Bif(!this.isAttached)return%3B%2F%2F%20NOTE(valdrin)%20In%20CustomElements%20v1%20with%20native%20HTMLImports%2C%20the%20order%0A%2F%2F%20of%20imports%20affects%20the%20order%20of%20%60attached%60%20callbacks%20(see%0A%2F%2F%20webcomponents%2Fcustom-elements%2315).%20This%20might%20cause%20a%20child%20to%20notify%0A%2F%2F%20parents%20too%20early%20(as%20the%20parent%20still%20has%20to%20be%20upgraded)%2C%20resulting%20in%0A%2F%2F%20a%20parent%20not%20able%20to%20keep%20track%20of%20the%20%60_interestedResizables%60.%20To%20solve%0A%2F%2F%20this%2C%20we%20wait%20for%20the%20document%20to%20be%20done%20loading%20before%20firing%20the%0A%2F%2F%20event.%0Aif(%22loading%22%3D%3D%3Ddocument.readyState)%7Bvar%20_requestResizeNotifications%3Dthis._requestResizeNotifications.bind(this)%3Bdocument.addEventListener(%22readystatechange%22%2Cfunction%20readystatechanged()%7Bdocument.removeEventListener(%22readystatechange%22%2Creadystatechanged)%3B_requestResizeNotifications()%7D)%7Delse%7Bthis._findParent()%3Bif(!this._parentResizable)%7B%2F%2F%20If%20this%20resizable%20is%20an%20orphan%2C%20tell%20other%20orphans%20to%20try%20to%20find%0A%2F%2F%20their%20parent%20again%2C%20in%20case%20it's%20this%20resizable.%0AORPHANS.forEach(function(orphan)%7Bif(orphan!%3D%3Dthis)%7Borphan._findParent()%7D%7D%2Cthis)%3Bwindow.addEventListener(%22resize%22%2Cthis._boundNotifyResize)%3Bthis.notifyResize()%7Delse%7B%2F%2F%20If%20this%20resizable%20has%20a%20parent%2C%20tell%20other%20child%20resizables%20of%0A%2F%2F%20that%20parent%20to%20try%20finding%20their%20parent%20again%2C%20in%20case%20it's%20this%0A%2F%2F%20resizable.%0Athis._parentResizable._interestedResizables.forEach(function(resizable)%7Bif(resizable!%3D%3Dthis)%7Bresizable._findParent()%7D%7D%2Cthis)%7D%7D%7D%2C_findParent%3Afunction()%7Bthis.assignParentResizable(null)%3Bthis.fire(%22iron-request-resize-notifications%22%2Cnull%2C%7Bnode%3Athis%2Cbubbles%3A!0%2Ccancelable%3A!0%7D)%3Bif(!this._parentResizable)%7BORPHANS.add(this)%7Delse%7BORPHANS.delete(this)%7D%7D%7D%7D)()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Firon-resizable-behavior%2Firon-resizable-behavior.html.js%0A | 7.1 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-subtitle/ing-subtitle.js | 213 B | 2023-03-08 | 2023-10-18 | |
Pretty
Loading... | ||||
tags.tiqcdn.com/utag/tiqapp/utag.v.js?a=ing/es-main/202211301636&cb=1670168969459 | 2 B | 2023-03-07 | 2024-04-19 | |
Pretty
Loading... | ||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/icon/oj-icons/outline/arrows/arrow_circle_right_outline.svg.js | 361 B | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
http:text/javascript;charset=utf-8,%2F**%0A%20%20%60Polymer.IronFitBehavior%60%20fits%20an%20element%20in%20another%20element%20using%20%60max-height%60%0A%20%20and%20%60max-width%60%2C%20and%20optionally%20centers%20it%20in%20the%20window%20or%20another%20element.%0A%0A%20%20The%20element%20will%20only%20be%20sized%20and%2For%20positioned%20if%20it%20has%20not%20already%20been%0A%20%20sized%20and%2For%20positioned%20by%20CSS.%0A%0A%20%20CSS%20properties%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7C%20Action%0A%20%20-----------------------------%7C-------------------------------------------%0A%20%20%60position%60%20set%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7C%20Element%20is%20not%20centered%20horizontally%20or%0A%20%20vertically%20%60top%60%20or%20%60bottom%60%20set%20%20%20%20%20%20%20%20%7C%20Element%20is%20not%20vertically%20centered%0A%20%20%60left%60%20or%20%60right%60%20set%20%20%20%20%20%20%20%20%7C%20Element%20is%20not%20horizontally%20centered%0A%20%20%60max-height%60%20set%20%20%20%20%20%20%20%20%20%20%20%20%20%7C%20Element%20respects%20%60max-height%60%0A%20%20%60max-width%60%20set%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7C%20Element%20respects%20%60max-width%60%0A%0A%20%20%60Polymer.IronFitBehavior%60%20can%20position%20an%20element%20into%20another%20element%20using%0A%20%20%60verticalAlign%60%20and%20%60horizontalAlign%60.%20This%20will%20override%20the%20element's%20css%0A%20%20position.%0A%0A%20%20%20%20%20%20%20%20%3Cdiv%20class%3D%22container%22%3E%0A%20%20%20%20%20%20%20%20%20%20%3Ciron-fit-impl%20vertical-align%3D%22top%22%20horizontal-align%3D%22auto%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20Positioned%20into%20the%20container%0A%20%20%20%20%20%20%20%20%20%20%3C%2Firon-fit-impl%3E%0A%20%20%20%20%20%20%20%20%3C%2Fdiv%3E%0A%0A%20%20Use%20%60noOverlap%60%20to%20position%20the%20element%20around%20another%20element%20without%0A%20%20overlapping%20it.%0A%0A%20%20%20%20%20%20%20%20%3Cdiv%20class%3D%22container%22%3E%0A%20%20%20%20%20%20%20%20%20%20%3Ciron-fit-impl%20no-overlap%20vertical-align%3D%22auto%22%20horizontal-align%3D%22auto%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20Positioned%20around%20the%20container%0A%20%20%20%20%20%20%20%20%20%20%3C%2Firon-fit-impl%3E%0A%20%20%20%20%20%20%20%20%3C%2Fdiv%3E%0A%0A%20%20Use%20%60horizontalOffset%2C%20verticalOffset%60%20to%20offset%20the%20element%20from%20its%0A%20%20%60positionTarget%60%3B%20%60Polymer.IronFitBehavior%60%20will%20collapse%20these%20in%20order%20to%20keep%0A%20%20the%20element%20within%20%60fitInto%60%20boundaries%2C%20while%20preserving%20the%20element's%20CSS%0A%20%20margin%20values.%0A%0A%20%20%20%20%20%20%20%20%3Cdiv%20class%3D%22container%22%3E%0A%20%20%20%20%20%20%20%20%20%20%3Ciron-fit-impl%20vertical-align%3D%22top%22%20vertical-offset%3D%2220%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20With%20vertical%20offset%0A%20%20%20%20%20%20%20%20%20%20%3C%2Firon-fit-impl%3E%0A%20%20%20%20%20%20%20%20%3C%2Fdiv%3E%0A%0A%0A%20%20%40demo%20demo%2Findex.html%0A%20%20%40polymerBehavior%0A%20%20*%2FPolymer.IronFitBehavior%3D%7Bproperties%3A%7B%2F**%0A%20%20%20%20%20%20%20*%20The%20element%20that%20will%20receive%20a%20%60max-height%60%2F%60width%60.%20By%20default%20it%20is%0A%20%20%20%20%20%20%20*%20the%20same%20as%20%60this%60%2C%20but%20it%20can%20be%20set%20to%20a%20child%20element.%20This%20is%20useful%2C%0A%20%20%20%20%20%20%20*%20for%20example%2C%20for%20implementing%20a%20scrolling%20region%20inside%20the%20element.%0A%20%20%20%20%20%20%20*%20%40type%20%7B!Element%7D%0A%20%20%20%20%20%20%20*%2FsizingTarget%3A%7Btype%3AObject%2Cvalue%3Afunction()%7Breturn%20this%7D%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20The%20element%20to%20fit%20%60this%60%20into.%0A%20%20%20%20%20%20%20*%2FfitInto%3A%7Btype%3AObject%2Cvalue%3Awindow%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20Will%20position%20the%20element%20around%20the%20positionTarget%20without%20overlapping%0A%20%20%20%20%20%20%20*%20it.%0A%20%20%20%20%20%20%20*%2FnoOverlap%3A%7Btype%3ABoolean%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20The%20element%20that%20should%20be%20used%20to%20position%20the%20element.%20If%20not%20set%2C%20it%0A%20%20%20%20%20%20%20*%20will%20default%20to%20the%20parent%20node.%0A%20%20%20%20%20%20%20*%20%40type%20%7B!Element%7D%0A%20%20%20%20%20%20%20*%2FpositionTarget%3A%7Btype%3AElement%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20The%20orientation%20against%20which%20to%20align%20the%20element%20horizontally%0A%20%20%20%20%20%20%20*%20relative%20to%20the%20%60positionTarget%60.%20Possible%20values%20are%20%22left%22%2C%20%22right%22%2C%0A%20%20%20%20%20%20%20*%20%22center%22%2C%20%22auto%22.%0A%20%20%20%20%20%20%20*%2FhorizontalAlign%3A%7Btype%3AString%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20The%20orientation%20against%20which%20to%20align%20the%20element%20vertically%0A%20%20%20%20%20%20%20*%20relative%20to%20the%20%60positionTarget%60.%20Possible%20values%20are%20%22top%22%2C%20%22bottom%22%2C%0A%20%20%20%20%20%20%20*%20%22middle%22%2C%20%22auto%22.%0A%20%20%20%20%20%20%20*%2FverticalAlign%3A%7Btype%3AString%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20If%20true%2C%20it%20will%20use%20%60horizontalAlign%60%20and%20%60verticalAlign%60%20values%20as%0A%20%20%20%20%20%20%20*%20preferred%20alignment%20and%20if%20there's%20not%20enough%20space%2C%20it%20will%20pick%20the%0A%20%20%20%20%20%20%20*%20values%20which%20minimize%20the%20cropping.%0A%20%20%20%20%20%20%20*%2FdynamicAlign%3A%7Btype%3ABoolean%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20A%20pixel%20value%20that%20will%20be%20added%20to%20the%20position%20calculated%20for%20the%0A%20%20%20%20%20%20%20*%20given%20%60horizontalAlign%60%2C%20in%20the%20direction%20of%20alignment.%20You%20can%20think%0A%20%20%20%20%20%20%20*%20of%20it%20as%20increasing%20or%20decreasing%20the%20distance%20to%20the%20side%20of%20the%0A%20%20%20%20%20%20%20*%20screen%20given%20by%20%60horizontalAlign%60.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20If%20%60horizontalAlign%60%20is%20%22left%22%20or%20%22center%22%2C%20this%20offset%20will%20increase%20or%0A%20%20%20%20%20%20%20*%20decrease%20the%20distance%20to%20the%20left%20side%20of%20the%20screen%3A%20a%20negative%20offset%0A%20%20%20%20%20%20%20*%20will%20move%20the%20dropdown%20to%20the%20left%3B%20a%20positive%20one%2C%20to%20the%20right.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20Conversely%20if%20%60horizontalAlign%60%20is%20%22right%22%2C%20this%20offset%20will%20increase%0A%20%20%20%20%20%20%20*%20or%20decrease%20the%20distance%20to%20the%20right%20side%20of%20the%20screen%3A%20a%20negative%0A%20%20%20%20%20%20%20*%20offset%20will%20move%20the%20dropdown%20to%20the%20right%3B%20a%20positive%20one%2C%20to%20the%20left.%0A%20%20%20%20%20%20%20*%2FhorizontalOffset%3A%7Btype%3ANumber%2Cvalue%3A0%2Cnotify%3A%2F%2F%20the%20new%20index%0A%2F%2F%20the%20new%20index%0A!0%2F%2F%20translate%20from%20index%0A%2F%2F%20translate%20from%20index%0A%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20A%20pixel%20value%20that%20will%20be%20added%20to%20the%20position%20calculated%20for%20the%0A%20%20%20%20%20%20%20*%20given%20%60verticalAlign%60%2C%20in%20the%20direction%20of%20alignment.%20You%20can%20think%0A%20%20%20%20%20%20%20*%20of%20it%20as%20increasing%20or%20decreasing%20the%20distance%20to%20the%20side%20of%20the%0A%20%20%20%20%20%20%20*%20screen%20given%20by%20%60verticalAlign%60.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20If%20%60verticalAlign%60%20is%20%22top%22%20or%20%22middle%22%2C%20this%20offset%20will%20increase%20or%0A%20%20%20%20%20%20%20*%20decrease%20the%20distance%20to%20the%20top%20side%20of%20the%20screen%3A%20a%20negative%20offset%0A%20%20%20%20%20%20%20*%20will%20move%20the%20dropdown%20upwards%3B%20a%20positive%20one%2C%20downwards.%0A%20%20%20%20%20%20%20*%0A%20%20%20%20%20%20%20*%20Conversely%20if%20%60verticalAlign%60%20is%20%22bottom%22%2C%20this%20offset%20will%20increase%0A%20%20%20%20%20%20%20*%20or%20decrease%20the%20distance%20to%20the%20bottom%20side%20of%20the%20screen%3A%20a%20negative%0A%20%20%20%20%20%20%20*%20offset%20will%20move%20the%20dropdown%20downwards%3B%20a%20positive%20one%2C%20upwards.%0A%20%20%20%20%20%20%20*%2FverticalOffset%3A%7Btype%3ANumber%2Cvalue%3A0%2Cnotify%3A!0%7D%2C%2F**%0A%20%20%20%20%20%20%20*%20Set%20to%20true%20to%20auto-fit%20on%20attach.%0A%20%20%20%20%20%20%20*%2FautoFitOnAttach%3A%7Btype%3ABoolean%2Cvalue%3A%2F%2F%20If%20explicitly%20returning%20false%2C%20we%20haven't%20handled%20it%0A!1%7D%2C%2F**%20%40type%20%7B%3FObject%7D%20*%2F_fitInfo%3A%7Btype%3AObject%7D%7D%2Cget%20_fitWidth()%7Bvar%20fitWidth%3Bif(this.fitInto%3D%3D%3Dwindow)%7BfitWidth%3Dthis.fitInto.innerWidth%7Delse%7BfitWidth%3Dthis.fitInto.getBoundingClientRect().width%7Dreturn%20fitWidth%7D%2Cget%20_fitHeight()%7Bvar%20fitHeight%3Bif(this.fitInto%3D%3D%3Dwindow)%7BfitHeight%3Dthis.fitInto.innerHeight%7Delse%7BfitHeight%3Dthis.fitInto.getBoundingClientRect().height%7Dreturn%20fitHeight%7D%2Cget%20_fitLeft()%7Bvar%20fitLeft%3Bif(this.fitInto%3D%3D%3Dwindow)%7BfitLeft%3D0%7Delse%7BfitLeft%3Dthis.fitInto.getBoundingClientRect().left%7Dreturn%20fitLeft%7D%2Cget%20_fitTop()%7Bvar%20fitTop%3Bif(this.fitInto%3D%3D%3Dwindow)%7BfitTop%3D0%7Delse%7BfitTop%3Dthis.fitInto.getBoundingClientRect().top%7Dreturn%20fitTop%7D%2C%2F**%0A%20%20%20%20%20*%20The%20element%20that%20should%20be%20used%20to%20position%20the%20element%2C%0A%20%20%20%20%20*%20if%20no%20position%20target%20is%20configured.%0A%20%20%20%20%20*%2Fget%20_defaultPositionTarget()%7Bvar%20parent%3DPolymer.dom(this).parentNode%3Bif(parent%26%26parent.nodeType%3D%3D%3DNode.DOCUMENT_FRAGMENT_NODE)%7Bparent%3Dparent.host%7Dreturn%20parent%7D%2C%2F**%0A%20%20%20%20%20*%20The%20horizontal%20align%20value%2C%20accounting%20for%20the%20RTL%2FLTR%20text%20direction.%0A%20%20%20%20%20*%2Fget%20_localeHorizontalAlign()%7Bif(this._isRTL)%7B%2F%2F%20In%20RTL%2C%20%22left%22%20becomes%20%22right%22.%0Aif(%22right%22%3D%3D%3Dthis.horizontalAlign)%7Breturn%22left%22%7Dif(%22left%22%3D%3D%3Dthis.horizontalAlign)%7Breturn%22right%22%7D%7Dreturn%20this.horizontalAlign%7D%2C%2F**%0A%20%20%20%20%20*%20True%20if%20the%20element%20should%20be%20positioned%20instead%20of%20centered.%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2Fget%20__shouldPosition()%7Breturn(this.horizontalAlign%7C%7Cthis.verticalAlign)%26%26this.positionTarget%7D%2Cattached%3Afunction()%7B%2F%2F%20Memoize%20this%20to%20avoid%20expensive%20calculations%20%26%20relayouts.%0A%2F%2F%20Make%20sure%20we%20do%20it%20only%20once%0Aif(%22undefined%22%3D%3D%3Dtypeof%20this._isRTL)%7Bthis._isRTL%3D%22rtl%22%3D%3Dwindow.getComputedStyle(this).direction%7Dthis.positionTarget%3Dthis.positionTarget%7C%7Cthis._defaultPositionTarget%3Bif(this.autoFitOnAttach)%7Bif(%22none%22%3D%3D%3Dwindow.getComputedStyle(this).display)%7BsetTimeout(function()%7Bthis.fit()%7D.bind(this))%7Delse%7B%2F%2F%20NOTE%3A%20shadydom%20applies%20distribution%20asynchronously%0A%2F%2F%20for%20performance%20reasons%20webcomponents%2Fshadydom%23120%0A%2F%2F%20Flush%20to%20get%20correct%20layout%20info.%0Awindow.ShadyDOM%26%26ShadyDOM.flush()%3Bthis.fit()%7D%7D%7D%2Cdetached%3Afunction()%7Bif(this.__deferredFit)%7BclearTimeout(this.__deferredFit)%3Bthis.__deferredFit%3Dnull%7D%7D%2C%2F**%0A%20%20%20%20%20*%20Positions%20and%20fits%20the%20element%20into%20the%20%60fitInto%60%20element.%0A%20%20%20%20%20*%2Ffit%3Afunction()%7Bthis.position()%3Bthis.constrain()%3Bthis.center()%7D%2C%2F**%0A%20%20%20%20%20*%20Memoize%20information%20needed%20to%20position%20and%20size%20the%20target%20element.%0A%20%20%20%20%20*%20%40suppress%20%7Bdeprecated%7D%0A%20%20%20%20%20*%2F_discoverInfo%3Afunction()%7Bif(this._fitInfo)%7Breturn%7Dvar%20target%3Dwindow.getComputedStyle(this)%2Csizer%3Dwindow.getComputedStyle(this.sizingTarget)%3Bthis._fitInfo%3D%7BinlineStyle%3A%7Btop%3Athis.style.top%7C%7C%22%22%2Cleft%3Athis.style.left%7C%7C%22%22%2Cposition%3Athis.style.position%7C%7C%22%22%7D%2CsizerInlineStyle%3A%7BmaxWidth%3Athis.sizingTarget.style.maxWidth%7C%7C%22%22%2CmaxHeight%3Athis.sizingTarget.style.maxHeight%7C%7C%22%22%2CboxSizing%3Athis.sizingTarget.style.boxSizing%7C%7C%22%22%7D%2CpositionedBy%3A%7Bvertically%3A%22auto%22!%3D%3Dtarget.top%3F%22top%22%3A%22auto%22!%3D%3Dtarget.bottom%3F%22bottom%22%3Anull%2Chorizontally%3A%22auto%22!%3D%3Dtarget.left%3F%22left%22%3A%22auto%22!%3D%3Dtarget.right%3F%22right%22%3Anull%7D%2CsizedBy%3A%7Bheight%3A%22none%22!%3D%3Dsizer.maxHeight%2Cwidth%3A%22none%22!%3D%3Dsizer.maxWidth%2CminWidth%3AparseInt(sizer.minWidth%2C10)%7C%7C0%2CminHeight%3AparseInt(sizer.minHeight%2C10)%7C%7C0%7D%2Cmargin%3A%7Btop%3AparseInt(target.marginTop%2C10)%7C%7C0%2Cright%3AparseInt(target.marginRight%2C10)%7C%7C0%2Cbottom%3AparseInt(target.marginBottom%2C10)%7C%7C0%2Cleft%3AparseInt(target.marginLeft%2C10)%7C%7C0%7D%7D%7D%2C%2F**%0A%20%20%20%20%20*%20Resets%20the%20target%20element's%20position%20and%20size%20constraints%2C%20and%20clear%0A%20%20%20%20%20*%20the%20memoized%20data.%0A%20%20%20%20%20*%2FresetFit%3Afunction()%7Bvar%20info%3Dthis._fitInfo%7C%7C%7B%7D%3Bfor(var%20property%20in%20info.sizerInlineStyle)%7Bthis.sizingTarget.style%5Bproperty%5D%3Dinfo.sizerInlineStyle%5Bproperty%5D%7Dfor(var%20property%20in%20info.inlineStyle)%7Bthis.style%5Bproperty%5D%3Dinfo.inlineStyle%5Bproperty%5D%7Dthis._fitInfo%3Dnull%7D%2C%2F**%0A%20%20%20%20%20*%20Equivalent%20to%20calling%20%60resetFit()%60%20and%20%60fit()%60.%20Useful%20to%20call%20this%20after%0A%20%20%20%20%20*%20the%20element%20or%20the%20%60fitInto%60%20element%20has%20been%20resized%2C%20or%20if%20any%20of%20the%0A%20%20%20%20%20*%20positioning%20properties%20(e.g.%20%60horizontalAlign%2C%20verticalAlign%60)%20is%20updated.%0A%20%20%20%20%20*%20It%20preserves%20the%20scroll%20position%20of%20the%20sizingTarget.%0A%20%20%20%20%20*%2Frefit%3Afunction()%7Bvar%20scrollLeft%3Dthis.sizingTarget.scrollLeft%2CscrollTop%3Dthis.sizingTarget.scrollTop%3Bthis.resetFit()%3Bthis.fit()%3Bthis.sizingTarget.scrollLeft%3DscrollLeft%3Bthis.sizingTarget.scrollTop%3DscrollTop%7D%2C%2F**%0A%20%20%20%20%20*%20Positions%20the%20element%20according%20to%20%60horizontalAlign%2C%20verticalAlign%60.%0A%20%20%20%20%20*%2Fposition%3Afunction()%7Bif(!this.__shouldPosition)%7B%2F%2F%20needs%20to%20be%20centered%2C%20and%20it%20is%20done%20after%20constrain.%0Areturn%7Dthis._discoverInfo()%3Bthis.style.position%3D%22fixed%22%3B%2F%2F%20Need%20border-box%20for%20margin%2Fpadding.%0Athis.sizingTarget.style.boxSizing%3D%22border-box%22%3B%2F%2F%20Set%20to%200%2C%200%20in%20order%20to%20discover%20any%20offset%20caused%20by%20parent%20stacking%0A%2F%2F%20contexts.%0Athis.style.left%3D%220px%22%3Bthis.style.top%3D%220px%22%3Bvar%20rect%3Dthis.getBoundingClientRect()%2CpositionRect%3Dthis.__getNormalizedRect(this.positionTarget)%2CfitRect%3Dthis.__getNormalizedRect(this.fitInto)%2Cmargin%3Dthis._fitInfo.margin%2Csize%3D%7Bwidth%3Arect.width%2Bmargin.left%2Bmargin.right%2Cheight%3Arect.height%2Bmargin.top%2Bmargin.bottom%7D%2Cposition%3Dthis.__getPosition(this._localeHorizontalAlign%2Cthis.verticalAlign%2Csize%2Crect%2CpositionRect%2CfitRect)%2Cleft%3Dposition.left%2Bmargin.left%2Ctop%3Dposition.top%2Bmargin.top%2Cright%3DMath.min(fitRect.right-margin.right%2Cleft%2Brect.width)%2Cbottom%3DMath.min(fitRect.bottom-margin.bottom%2Ctop%2Brect.height)%3B%2F%2F%20Keep%20left%2Ftop%20within%20fitInto%20respecting%20the%20margin.%0Aleft%3DMath.max(fitRect.left%2Bmargin.left%2CMath.min(left%2Cright-this._fitInfo.sizedBy.minWidth))%3Btop%3DMath.max(fitRect.top%2Bmargin.top%2CMath.min(top%2Cbottom-this._fitInfo.sizedBy.minHeight))%3B%2F%2F%20Use%20right%2Fbottom%20to%20set%20maxWidth%2FmaxHeight%2C%20and%20respect%0A%2F%2F%20minWidth%2FminHeight.%0Athis.sizingTarget.style.maxWidth%3DMath.max(right-left%2Cthis._fitInfo.sizedBy.minWidth)%2B%22px%22%3Bthis.sizingTarget.style.maxHeight%3DMath.max(bottom-top%2Cthis._fitInfo.sizedBy.minHeight)%2B%22px%22%3B%2F%2F%20Remove%20the%20offset%20caused%20by%20any%20stacking%20context.%0Athis.style.left%3Dleft-rect.left%2B%22px%22%3Bthis.style.top%3Dtop-rect.top%2B%22px%22%7D%2C%2F**%0A%20%20%20%20%20*%20Constrains%20the%20size%20of%20the%20element%20to%20%60fitInto%60%20by%20setting%20%60max-height%60%0A%20%20%20%20%20*%20and%2For%20%60max-width%60.%0A%20%20%20%20%20*%2Fconstrain%3Afunction()%7Bif(this.__shouldPosition)%7Breturn%7Dthis._discoverInfo()%3Bvar%20info%3Dthis._fitInfo%3B%2F%2F%20position%20at%20(0px%2C%200px)%20if%20not%20already%20positioned%2C%20so%20we%20can%20measure%20the%0A%2F%2F%20natural%20size.%0Aif(!info.positionedBy.vertically)%7Bthis.style.position%3D%22fixed%22%3Bthis.style.top%3D%220px%22%7Dif(!info.positionedBy.horizontally)%7Bthis.style.position%3D%22fixed%22%3Bthis.style.left%3D%220px%22%7D%2F%2F%20need%20border-box%20for%20margin%2Fpadding%0Athis.sizingTarget.style.boxSizing%3D%22border-box%22%3B%2F%2F%20constrain%20the%20width%20and%20height%20if%20not%20already%20set%0Avar%20rect%3Dthis.getBoundingClientRect()%3Bif(!info.sizedBy.height)%7Bthis.__sizeDimension(rect%2Cinfo.positionedBy.vertically%2C%22top%22%2C%22bottom%22%2C%22Height%22)%7Dif(!info.sizedBy.width)%7Bthis.__sizeDimension(rect%2Cinfo.positionedBy.horizontally%2C%22left%22%2C%22right%22%2C%22Width%22)%7D%7D%2C%2F**%0A%20%20%20%20%20*%20%40protected%0A%20%20%20%20%20*%20%40deprecated%0A%20%20%20%20%20*%2F_sizeDimension%3Afunction(rect%2CpositionedBy%2Cstart%2Cend%2Cextent)%7Bthis.__sizeDimension(rect%2CpositionedBy%2Cstart%2Cend%2Cextent)%7D%2C%2F**%0A%20%20%20%20%20*%20%40private%0A%20%20%20%20%20*%2F__sizeDimension%3Afunction(rect%2CpositionedBy%2Cstart%2Cend%2Cextent)%7Bvar%20info%3Dthis._fitInfo%2CfitRect%3Dthis.__getNormalizedRect(this.fitInto)%2Cmax%3D%22Width%22%3D%3D%3Dextent%3FfitRect.width%3AfitRect.height%2Cflip%3DpositionedBy%3D%3D%3Dend%2Coffset%3Dflip%3Fmax-rect%5Bend%5D%3Arect%5Bstart%5D%2Cmargin%3Dinfo.margin%5Bflip%3Fstart%3Aend%5D%2CoffsetExtent%3D%22offset%22%2Bextent%2CsizingOffset%3Dthis%5BoffsetExtent%5D-this.sizingTarget%5BoffsetExtent%5D%3Bthis.sizingTarget.style%5B%22max%22%2Bextent%5D%3Dmax-margin-offset-sizingOffset%2B%22px%22%7D%2C%2F**%0A%20%20%20%20%20*%20Centers%20horizontally%20and%20vertically%20if%20not%20already%20positioned.%20This%20also%0A%20%20%20%20%20*%20sets%20%60position%3Afixed%60.%0A%20%20%20%20%20*%2Fcenter%3Afunction()%7Bif(this.__shouldPosition)%7Breturn%7Dthis._discoverInfo()%3Bvar%20positionedBy%3Dthis._fitInfo.positionedBy%3Bif(positionedBy.vertically%26%26positionedBy.horizontally)%7B%2F%2F%20Already%20positioned.%0Areturn%7D%2F%2F%20Need%20position%3Afixed%20to%20center%0Athis.style.position%3D%22fixed%22%3B%2F%2F%20Take%20into%20account%20the%20offset%20caused%20by%20parents%20that%20create%20stacking%0A%2F%2F%20contexts%20(e.g.%20with%20transform%3A%20translate3d).%20Translate%20to%200%2C0%20and%0A%2F%2F%20measure%20the%20bounding%20rect.%0Aif(!positionedBy.vertically)%7Bthis.style.top%3D%220px%22%7Dif(!positionedBy.horizontally)%7Bthis.style.left%3D%220px%22%7D%2F%2F%20It%20will%20take%20in%20consideration%20margins%20and%20transforms%0Avar%20rect%3Dthis.getBoundingClientRect()%2CfitRect%3Dthis.__getNormalizedRect(this.fitInto)%3Bif(!positionedBy.vertically)%7Bvar%20top%3DfitRect.top-rect.top%2B(fitRect.height-rect.height)%2F2%3Bthis.style.top%3Dtop%2B%22px%22%7Dif(!positionedBy.horizontally)%7Bvar%20left%3DfitRect.left-rect.left%2B(fitRect.width-rect.width)%2F2%3Bthis.style.left%3Dleft%2B%22px%22%7D%7D%2C__getNormalizedRect%3Afunction(target)%7Bif(target%3D%3D%3Ddocument.documentElement%7C%7Ctarget%3D%3D%3Dwindow)%7Breturn%7Btop%3A0%2Cleft%3A0%2Cwidth%3Awindow.innerWidth%2Cheight%3Awindow.innerHeight%2Cright%3Awindow.innerWidth%2Cbottom%3Awindow.innerHeight%7D%7Dreturn%20target.getBoundingClientRect()%7D%2C__getOffscreenArea%3Afunction(position%2Csize%2CfitRect)%7Bvar%20verticalCrop%3DMath.min(0%2Cposition.top)%2BMath.min(0%2CfitRect.bottom-(position.top%2Bsize.height))%2ChorizontalCrop%3DMath.min(0%2Cposition.left)%2BMath.min(0%2CfitRect.right-(position.left%2Bsize.width))%3Breturn%20Math.abs(verticalCrop)*size.width%2BMath.abs(horizontalCrop)*size.height%7D%2C__getPosition%3Afunction(hAlign%2CvAlign%2Csize%2CsizeNoMargins%2CpositionRect%2CfitRect)%7B%2F%2F%20All%20the%20possible%20configurations.%0A%2F%2F%20Ordered%20as%20top-left%2C%20top-right%2C%20bottom-left%2C%20bottom-right.%0Avar%20positions%3D%5B%7BverticalAlign%3A%22top%22%2ChorizontalAlign%3A%22left%22%2Ctop%3ApositionRect.top%2Bthis.verticalOffset%2Cleft%3ApositionRect.left%2Bthis.horizontalOffset%7D%2C%7BverticalAlign%3A%22top%22%2ChorizontalAlign%3A%22right%22%2Ctop%3ApositionRect.top%2Bthis.verticalOffset%2Cleft%3ApositionRect.right-size.width-this.horizontalOffset%7D%2C%7BverticalAlign%3A%22bottom%22%2ChorizontalAlign%3A%22left%22%2Ctop%3ApositionRect.bottom-size.height-this.verticalOffset%2Cleft%3ApositionRect.left%2Bthis.horizontalOffset%7D%2C%7BverticalAlign%3A%22bottom%22%2ChorizontalAlign%3A%22right%22%2Ctop%3ApositionRect.bottom-size.height-this.verticalOffset%2Cleft%3ApositionRect.right-size.width-this.horizontalOffset%7D%5D%3Bif(this.noOverlap)%7B%2F%2F%20Duplicate.%0Afor(var%20i%3D0%2Cl%3Dpositions.length%2Ccopy%3Bi%3Cl%3Bi%2B%2B)%7Bcopy%3D%7B%7D%3Bfor(var%20key%20in%20positions%5Bi%5D)%7Bcopy%5Bkey%5D%3Dpositions%5Bi%5D%5Bkey%5D%7Dpositions.push(copy)%7D%2F%2F%20Horizontal%20overlap%20only.%0Apositions%5B0%5D.top%3Dpositions%5B1%5D.top%2B%3DpositionRect.height%3Bpositions%5B2%5D.top%3Dpositions%5B3%5D.top-%3DpositionRect.height%3B%2F%2F%20Vertical%20overlap%20only.%0Apositions%5B4%5D.left%3Dpositions%5B6%5D.left%2B%3DpositionRect.width%3Bpositions%5B5%5D.left%3Dpositions%5B7%5D.left-%3DpositionRect.width%7D%2F%2F%20Consider%20auto%20as%20null%20for%20coding%20convenience.%0AvAlign%3D%22auto%22%3D%3D%3DvAlign%3Fnull%3AvAlign%3BhAlign%3D%22auto%22%3D%3D%3DhAlign%3Fnull%3AhAlign%3Bif(!hAlign%7C%7C%22center%22%3D%3D%3DhAlign)%7Bpositions.push(%7BverticalAlign%3A%22top%22%2ChorizontalAlign%3A%22center%22%2Ctop%3ApositionRect.top%2Bthis.verticalOffset%2B(this.noOverlap%3FpositionRect.height%3A0)%2Cleft%3ApositionRect.left-sizeNoMargins.width%2F2%2BpositionRect.width%2F2%2Bthis.horizontalOffset%7D)%3Bpositions.push(%7BverticalAlign%3A%22bottom%22%2ChorizontalAlign%3A%22center%22%2Ctop%3ApositionRect.bottom-size.height-this.verticalOffset-(this.noOverlap%3FpositionRect.height%3A0)%2Cleft%3ApositionRect.left-sizeNoMargins.width%2F2%2BpositionRect.width%2F2%2Bthis.horizontalOffset%7D)%7Dif(!vAlign%7C%7C%22middle%22%3D%3D%3DvAlign)%7Bpositions.push(%7BverticalAlign%3A%22middle%22%2ChorizontalAlign%3A%22left%22%2Ctop%3ApositionRect.top-sizeNoMargins.height%2F2%2BpositionRect.height%2F2%2Bthis.verticalOffset%2Cleft%3ApositionRect.left%2Bthis.horizontalOffset%2B(this.noOverlap%3FpositionRect.width%3A0)%7D)%3Bpositions.push(%7BverticalAlign%3A%22middle%22%2ChorizontalAlign%3A%22right%22%2Ctop%3ApositionRect.top-sizeNoMargins.height%2F2%2BpositionRect.height%2F2%2Bthis.verticalOffset%2Cleft%3ApositionRect.right-size.width-this.horizontalOffset-(this.noOverlap%3FpositionRect.width%3A0)%7D)%7Dif(%22middle%22%3D%3D%3DvAlign%26%26%22center%22%3D%3D%3DhAlign)%7Bpositions.push(%7BverticalAlign%3A%22middle%22%2ChorizontalAlign%3A%22center%22%2Ctop%3ApositionRect.top-sizeNoMargins.height%2F2%2BpositionRect.height%2F2%2Bthis.verticalOffset%2Cleft%3ApositionRect.left-sizeNoMargins.width%2F2%2BpositionRect.width%2F2%2Bthis.horizontalOffset%7D)%7Dfor(var%20position%2Ci%3D0%3Bi%3Cpositions.length%3Bi%2B%2B)%7Bvar%20candidate%3Dpositions%5Bi%5D%2CvAlignOk%3Dcandidate.verticalAlign%3D%3D%3DvAlign%2ChAlignOk%3Dcandidate.horizontalAlign%3D%3D%3DhAlign%3B%2F%2F%20If%20both%20vAlign%20and%20hAlign%20are%20defined%2C%20return%20exact%20match.%0A%2F%2F%20For%20dynamicAlign%20and%20noOverlap%20we'll%20have%20more%20than%20one%20candidate%2C%20so%0A%2F%2F%20we'll%20have%20to%20check%20the%20offscreenArea%20to%20make%20the%20best%20choice.%0Aif(!this.dynamicAlign%26%26!this.noOverlap%26%26vAlignOk%26%26hAlignOk)%7Bposition%3Dcandidate%3Bbreak%7D%2F%2F%20Align%20is%20ok%20if%20alignment%20preferences%20are%20respected.%20If%20no%20preferences%2C%0A%2F%2F%20it%20is%20considered%20ok.%0Avar%20alignOk%3D(!vAlign%7C%7CvAlignOk)%26%26(!hAlign%7C%7ChAlignOk)%3B%2F%2F%20Filter%20out%20elements%20that%20don't%20match%20the%20alignment%20(if%20defined).%0A%2F%2F%20With%20dynamicAlign%2C%20we%20need%20to%20consider%20all%20the%20positions%20to%20find%20the%0A%2F%2F%20one%20that%20minimizes%20the%20cropped%20area.%0Aif(!this.dynamicAlign%26%26!alignOk)%7Bcontinue%7Dcandidate.offscreenArea%3Dthis.__getOffscreenArea(candidate%2Csize%2CfitRect)%3B%2F%2F%20If%20not%20cropped%20and%20respects%20the%20align%20requirements%2C%20keep%20it.%0A%2F%2F%20This%20allows%20to%20prefer%20positions%20overlapping%20horizontally%20over%20the%0A%2F%2F%20ones%20overlapping%20vertically.%0Aif(0%3D%3D%3Dcandidate.offscreenArea%26%26alignOk)%7Bposition%3Dcandidate%3Bbreak%7Dposition%3Dposition%7C%7Ccandidate%3Bvar%20diff%3Dcandidate.offscreenArea-position.offscreenArea%3B%2F%2F%20Check%20which%20crops%20less.%20If%20it%20crops%20equally%2C%20check%20if%20at%20least%20one%0A%2F%2F%20align%20setting%20is%20ok.%0Aif(0%3Ediff%7C%7C0%3D%3D%3Ddiff%26%26(vAlignOk%7C%7ChAlignOk))%7Bposition%3Dcandidate%7D%7Dreturn%20position%7D%7D%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.ing.es%2Fwc%2Fes6%2Fbower_components%2Firon-fit-behavior%2Firon-fit-behavior.html.js%0A | 18 kB | 2023-03-08 | 2023-03-10 | |
Pretty
Loading... | ||||
HTTP Transactions (417)
URL | IP | Response | Size | |||||||
---|---|---|---|---|---|---|---|---|---|---|
r3.o.lencr.org/ | 23.36.76.226 | 200 OK | 503 B | |||||||
HTTP Headers
| ||||||||||
ocsp.digicert.com/ | 93.184.220.29 | 200 OK | 471 B | |||||||
HTTP Headers
| ||||||||||
r3.o.lencr.org/ | 23.36.76.226 | 200 OK | 503 B | |||||||
HTTP Headers
| ||||||||||
firefox.settings.services.mozilla.com/v1/ | 34.102.187.140 | 200 OK | 939 B | |||||||
HTTP Headers
| ||||||||||
content-signature-2.cdn.mozilla.net/chains/remote-settings.content-signature.mozilla.org-2022-12-30-09-21-26.chain | 34.160.144.191 | 200 OK | 5.3 kB | |||||||
HTTP Headers
| ||||||||||
contile.services.mozilla.com/v1/tiles | 34.117.237.239 | 200 OK | 12 B | |||||||
HTTP Headers
| ||||||||||
swordgames.website/ESP97383748372/clients/dWmgTC.php?verification | 162.215.240.128 | 302 Moved Temporarily | 0 B | |||||||
Detections
HTTP Headers
| ||||||||||
firefox.settings.services.mozilla.com/v1/buckets/main/collections/ms-language-packs/records/cfr-v1-en-US | 34.102.187.140 | 200 OK | 329 B | |||||||
HTTP Headers
| ||||||||||
swordgames.website/ESP97383748372/index.php?redirection= | 162.215.240.128 | 302 Moved Temporarily | 0 B | |||||||
Detections
HTTP Headers
| ||||||||||
ocsp.entrust.net/ | 104.110.10.32 | 200 OK | 1.6 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/ | 95.101.10.122 | 200 OK | 9.1 kB | |||||||
HTTP Headers
| ||||||||||
ocsp.digicert.com/ | 93.184.220.29 | 200 OK | 471 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/webfiles/1661339944389/css/flex.css | 95.101.10.122 | 200 OK | 486 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/webfiles/1661339944389/css/flex-two-column.css | 95.101.10.122 | 200 OK | 230 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/webfiles/1661339944389/js/jquery/jquery-3.5.1.min.js | 95.101.10.122 | 200 OK | 31 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/webfiles/1661339944389/js/browsers.js | 95.101.10.122 | 200 OK | 667 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/webfiles/1661339944389/js/customElements-define-dedupe.js | 95.101.10.122 | 200 OK | 217 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/webfiles/1661339944389/css/base-model-layout.css | 95.101.10.122 | 200 OK | 116 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/webfiles/1661339944389/js/node_modules/%40webcomponents/webcomponentsjs/webcomponents-loader.js | 95.101.10.122 | 200 OK | 1.5 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/webfiles/1661339944389/js/mdetect.js | 95.101.10.122 | 200 OK | 2.7 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/webfiles/1661339944389/js/tealium_v1.1.1.js | 95.101.10.122 | 200 OK | 943 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/webfiles/1661339944389/js/lit-components-loader.js | 95.101.10.122 | 200 OK | 809 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/binaries/content/gallery/hipposp/ContentBlockImageSet/comunes/ing_leon-01.svg | 95.101.10.122 | 200 OK | 6.5 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/webfiles/1661339944389/js/node_modules/%40webcomponents/webcomponentsjs/webcomponents-hi.js | 95.101.10.122 | 200 OK | 3.7 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/hippotealium/utag.sync.js | 95.101.10.122 | 302 Found | 138 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/hippotealium/utag.js | 95.101.10.122 | 302 Found | 0 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uic-cms-layout/ing-uic-cms-layout.html | 95.101.10.122 | 200 OK | 3.8 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uic-cms-header/ing-uic-cms-header.html | 95.101.10.122 | 200 OK | 6.1 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uic-cms-footer/ing-uic-cms-footer.html | 95.101.10.122 | 200 OK | 1.3 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-column/ing-column.js | 95.101.10.122 | 200 OK | 152 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-card/ing-card.js | 95.101.10.122 | 200 OK | 151 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-commercial-card/ing-commercial-card.js | 95.101.10.122 | 200 OK | 158 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-text/ing-text.js | 95.101.10.122 | 200 OK | 152 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-title/ing-title.js | 95.101.10.122 | 200 OK | 152 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-image/ing-image.js | 95.101.10.122 | 200 OK | 151 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-list/ing-list.js | 95.101.10.122 | 200 OK | 152 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-link/ing-link.js | 95.101.10.122 | 200 OK | 152 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-subtitle/ing-subtitle.js | 95.101.10.122 | 200 OK | 154 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-row/ing-row.js | 95.101.10.122 | 200 OK | 151 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/webfiles/1661339944389/js/hippoCommon.js | 95.101.10.122 | 200 OK | 417 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/webfiles/1661339944389/js/node_modules/polymer-cli/polymer-polyfills.js | 95.101.10.122 | 200 OK | 44 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/webfiles/1661339944389/js/scrollSpy.js | 95.101.10.122 | 200 OK | 906 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/core/utils/customElementDedupe.js | 95.101.10.122 | 200 OK | 123 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/core/mixins/addContainerQueries.js | 95.101.10.122 | 200 OK | 630 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-column/src/IngColumn.js | 95.101.10.122 | 200 OK | 839 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-card/src/IngCard.js | 95.101.10.122 | 200 OK | 1.5 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-commercial-card/src/IngCommercialCard.js | 95.101.10.122 | 200 OK | 375 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-list/src/IngList.js | 95.101.10.122 | 200 OK | 1.3 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-text/src/IngText.js | 95.101.10.122 | 200 OK | 242 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-title/src/IngTitle.js | 95.101.10.122 | 200 OK | 579 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-image/src/IngImage.js | 95.101.10.122 | 200 OK | 958 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-link/src/IngLink.js | 95.101.10.122 | 200 OK | 1.1 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-subtitle/src/IngSubtitle.js | 95.101.10.122 | 200 OK | 566 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-row/src/IngRow.js | 95.101.10.122 | 200 OK | 502 B | |||||||
HTTP Headers
| ||||||||||
tags.tiqcdn.com/utag/ing/es-main/prod/utag.js | 2.18.173.203 | 200 OK | 49 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/polymer/polymer-element.html | 95.101.10.122 | 200 OK | 456 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uif-cms-theme/ing-uif-cms-theme.html | 95.101.10.122 | 200 OK | 256 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uic-cms-layout/ing-uic-cms-layout-styles.html | 95.101.10.122 | 200 OK | 277 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uic-cms-result-list/ing-uic-cms-result-list.html | 95.101.10.122 | 200 OK | 2.4 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js | 95.101.10.122 | 200 OK | 2.4 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/style/values/breakpoints.js | 95.101.10.122 | 200 OK | 149 B | |||||||
HTTP Headers
| ||||||||||
tags.tiqcdn.com/utag/ing/es-main/prod/utag.406.js?utv=ut4.49.202211301210 | 2.18.173.203 | 200 OK | 4.3 kB | |||||||
HTTP Headers
| ||||||||||
tags.tiqcdn.com/utag/ing/es-main/prod/utag.410.js?utv=ut4.49.202206220705 | 2.18.173.203 | 200 OK | 2.8 kB | |||||||
HTTP Headers
| ||||||||||
tags.tiqcdn.com/utag/ing/es-main/prod/utag.341.js?utv=ut4.49.202206220705 | 2.18.173.203 | 200 OK | 2.9 kB | |||||||
HTTP Headers
| ||||||||||
tags.tiqcdn.com/utag/ing/es-main/prod/utag.411.js?utv=ut4.49.202211301222 | 2.18.173.203 | 200 OK | 4.4 kB | |||||||
HTTP Headers
| ||||||||||
ocsp.pki.goog/gts1c3 | 142.250.74.131 | 200 OK | 472 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/tslib/tslib.es6.js | 95.101.10.122 | 200 OK | 670 B | |||||||
HTTP Headers
| ||||||||||
www.googletagmanager.com/gtag/js | 142.250.74.168 | 200 OK | 38 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-video/ing-video.js | 95.101.10.122 | 200 OK | 152 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-column/src/IngColumn.styles.js | 95.101.10.122 | 200 OK | 256 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/core/utils/isTagName.js | 95.101.10.122 | 200 OK | 79 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/core/mixins/slotPage.js | 95.101.10.122 | 200 OK | 266 B | |||||||
HTTP Headers
| ||||||||||
tags.tiqcdn.com/utag/tiqapp/utag.v.js?a=ing/es-main/202211301636&cb=1670168969459 | 2.18.173.203 | 200 OK | 2 B | |||||||
HTTP Headers
| ||||||||||
ocsp.pki.goog/gts1c3 | 142.250.74.131 | 200 OK | 472 B | |||||||
HTTP Headers
| ||||||||||
www.googletagmanager.com/gtag/js?id=DC-9412232&l=dataLayer&cx=c | 142.250.74.168 | 200 OK | 44 kB | |||||||
HTTP Headers
| ||||||||||
www.googletagmanager.com/gtag/js?id=AW-1070012871&l=dataLayer&cx=c | 142.250.74.168 | 200 OK | 68 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/core/node_modules/lit-element/lib/decorators.js | 95.101.10.122 | 200 OK | 541 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-table/ing-table.js | 95.101.10.122 | 200 OK | 152 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/directives/unsafe-html.js | 95.101.10.122 | 200 OK | 579 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/lit-html.js | 95.101.10.122 | 200 OK | 592 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-text-icon/ing-text-icon.js | 95.101.10.122 | 200 OK | 155 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-button/ing-button.js | 95.101.10.122 | 200 OK | 159 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-pointer/ing-pointer.js | 95.101.10.122 | 200 OK | 154 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-separator/ing-separator.js | 95.101.10.122 | 200 OK | 156 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/core/utils/attributes.js | 95.101.10.122 | 200 OK | 187 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-card/src/IngCard.styles.js | 95.101.10.122 | 200 OK | 2.0 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/localize/src/localize.js | 95.101.10.122 | 200 OK | 221 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-row/src/IngRow.styles.js | 95.101.10.122 | 200 OK | 797 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-image/src/scrollHandler.js | 95.101.10.122 | 200 OK | 222 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/icon/IngIcon.js | 95.101.10.122 | 200 OK | 144 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/core/node_modules/lit-element/lit-element.js | 95.101.10.122 | 200 OK | 1.2 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-commercial-card/src/IngCommercialCard.styles.js | 95.101.10.122 | 200 OK | 1.0 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-image/src/IngImage.styles.js | 95.101.10.122 | 200 OK | 482 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lodash-es/debounce.js | 95.101.10.122 | 200 OK | 516 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/directives/class-map.js | 95.101.10.122 | 200 OK | 818 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-list/src/IngList.styles.js | 95.101.10.122 | 200 OK | 660 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/core/utils/scrollIntoCustomView.js | 95.101.10.122 | 200 OK | 252 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/core/mixins/addTagManager.js | 95.101.10.122 | 200 OK | 554 B | |||||||
HTTP Headers
| ||||||||||
tags.tiqcdn.com/utag/ing/es-main/prod/utag.sync.js | 2.18.173.203 | 200 OK | 54 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-title/src/IngTitle.styles.js | 95.101.10.122 | 200 OK | 717 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-link/src/IngLink.styles.js | 95.101.10.122 | 200 OK | 1.2 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/core/mixins/automation.js | 95.101.10.122 | 200 OK | 1.4 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-text/src/IngText.styles.js | 95.101.10.122 | 200 OK | 717 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uic-cms-footer/ing-uic-cms-footer-styles.html | 95.101.10.122 | 200 OK | 1.3 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-video/src/IngVideo.js | 95.101.10.122 | 200 OK | 1.1 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uif-cms-theme/ing-uif-cms-theme-rich.html | 95.101.10.122 | 200 OK | 610 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uic-cms-button/ing-uic-cms-button.html | 95.101.10.122 | 200 OK | 1.6 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/localize/localize.js | 95.101.10.122 | 200 OK | 235 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/directives/if-defined.js | 95.101.10.122 | 200 OK | 497 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/binaries/content/gallery/hipposp/cookiemonster.png | 95.101.10.122 | 200 OK | 11 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-subtitle/src/IngSubtitle.styles.js | 95.101.10.122 | 200 OK | 538 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/polymer/lib/elements/dom-if.html | 95.101.10.122 | 200 OK | 3.0 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/polymer/lib/elements/dom-repeat.html | 95.101.10.122 | 200 OK | 7.2 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/polymer/lib/mixins/gesture-event-listeners.html | 95.101.10.122 | 200 OK | 656 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uic-cms-tag-manager/ing-uic-cms-tag-manager.html | 95.101.10.122 | 200 OK | 1.3 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/link/IngLink.js | 95.101.10.122 | 200 OK | 1.1 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uic-cms-anchor/ing-uic-cms-anchor.html | 95.101.10.122 | 200 OK | 2.4 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/core/styles/components/breaker.js | 95.101.10.122 | 200 OK | 780 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/core/node_modules/lit-element/lib/css-tag.js | 95.101.10.122 | 200 OK | 783 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/style/components/link.js | 95.101.10.122 | 200 OK | 344 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/polymer/lib/mixins/element-mixin.html | 95.101.10.122 | 200 OK | 8.3 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/iron-ajax/iron-ajax.html | 95.101.10.122 | 200 OK | 3.9 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/polymer/lib/utils/html-tag.html | 95.101.10.122 | 200 OK | 1.3 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/polymer/polymer.html | 95.101.10.122 | 200 OK | 308 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/polymer/lib/elements/custom-style.html | 95.101.10.122 | 200 OK | 1.4 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uif-cms-theme/ing-uif-cms-theme-buttons.html | 95.101.10.122 | 200 OK | 1.8 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uif-cms-theme/ing-uif-cms-theme-a11y.html | 95.101.10.122 | 200 OK | 895 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uic-cms-header/ing-uic-cms-header-styles.html | 95.101.10.122 | 200 OK | 1.8 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uif-cms-theme/ing-uif-cms-theme-colors.html | 95.101.10.122 | 200 OK | 668 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uif-cms-theme/ing-uif-cms-theme-font-family.html | 95.101.10.122 | 200 OK | 193 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uif-cms-theme/ing-uif-cms-theme-fonts.html | 95.101.10.122 | 200 OK | 834 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uic-cms-header/ing-uic-cms-menu.html | 95.101.10.122 | 200 OK | 3.9 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uif-cms-theme/ing-uif-cms-theme-links.html | 95.101.10.122 | 200 OK | 458 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uic-cms-header/ing-uic-cms-search-bar.html | 95.101.10.122 | 200 OK | 1.4 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/style/values/color.js | 95.101.10.122 | 200 OK | 416 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-table/src/IngTable.js | 95.101.10.122 | 200 OK | 570 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uif-cms-theme/ing-uif-cms-theme-icons.html | 95.101.10.122 | 200 OK | 4.4 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/lib/parts.js | 95.101.10.122 | 200 OK | 2.0 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/lib/directive.js | 95.101.10.122 | 200 OK | 395 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uic-cms-i18n/ing-uic-cms-i18n.html | 95.101.10.122 | 200 OK | 3.5 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uic-cms-result-list/ing-uic-cms-result-list-item.html | 95.101.10.122 | 200 OK | 998 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/lib/default-template-processor.js | 95.101.10.122 | 200 OK | 525 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uic-cms-result-list/ing-uic-cms-result-pager.html | 95.101.10.122 | 200 OK | 2.7 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/lib/template-result.js | 95.101.10.122 | 200 OK | 832 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/lib/template.js | 95.101.10.122 | 200 OK | 1.3 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-text-icon/src/IngTextIcon.js | 95.101.10.122 | 200 OK | 835 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-card/src/IngRibbon.js | 95.101.10.122 | 200 OK | 244 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-button/src/IngButton.js | 95.101.10.122 | 200 OK | 196 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-pointer/src/IngPointer.js | 95.101.10.122 | 200 OK | 461 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/core/styles/components/buttons.js | 95.101.10.122 | 200 OK | 615 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-separator/src/IngSeparator.js | 95.101.10.122 | 200 OK | 213 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/style/values/spacing.js | 95.101.10.122 | 200 OK | 221 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/style/components/card.js | 95.101.10.122 | 200 OK | 639 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/style/mixins/typography.js | 95.101.10.122 | 200 OK | 569 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/localize/node_modules/singleton-manager/index.js | 95.101.10.122 | 200 OK | 101 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uif-cms-theme/ing-uif-cms-theme-grid.html | 95.101.10.122 | 200 OK | 476 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uif-cms-theme/ing-uif-cms-theme-margins.html | 95.101.10.122 | 200 OK | 214 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/icon/src/icons.js | 95.101.10.122 | 200 OK | 171 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/localize/src/LocalizeManager.js | 95.101.10.122 | 200 OK | 2.1 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/icon/icons.js | 95.101.10.122 | 200 OK | 166 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/icon/src/LionIcon.js | 95.101.10.122 | 200 OK | 895 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/lib/shady-render.js | 95.101.10.122 | 200 OK | 1.4 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/core/node_modules/lit-element/lib/updating-element.js | 95.101.10.122 | 200 OK | 2.0 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lodash-es/isObject.js | 95.101.10.122 | 200 OK | 99 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lodash-es/now.js | 95.101.10.122 | 200 OK | 89 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lodash-es/toNumber.js | 95.101.10.122 | 200 OK | 288 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/style/components/list.js | 95.101.10.122 | 200 OK | 1.4 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/style/components/list-unstyled.js | 95.101.10.122 | 200 OK | 161 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/singleton-manager/index.js | 95.101.10.122 | 200 OK | 101 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web-es/setup-feature.js | 95.101.10.122 | 200 OK | 296 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/core/styles/components/font.js | 95.101.10.122 | 200 OK | 712 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/core/styles/components/hiddens.js | 95.101.10.122 | 200 OK | 368 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/style/values/typography.js | 95.101.10.122 | 200 OK | 298 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/core/utils/parseNumberToIngFormat.js | 95.101.10.122 | 200 OK | 101 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/ajax/ajax.js | 95.101.10.122 | 200 OK | 167 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/_legacy/ajax/src/ajax.js | 95.101.10.122 | 200 OK | 165 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-video/src/IngVideo.styles.js | 95.101.10.122 | 200 OK | 411 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/localize/setFormatPostProcessors.js | 95.101.10.122 | 200 OK | 211 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/link/ing-link-style.js | 95.101.10.122 | 200 OK | 713 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/_core2/provider-exports.js | 95.101.10.122 | 200 OK | 430 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/localize/src/LocalizeMixin.js | 95.101.10.122 | 200 OK | 674 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/style/mixins/focus-ring.js | 95.101.10.122 | 200 OK | 239 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-table/src/IngTable.styles.js | 95.101.10.122 | 200 OK | 2.3 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/lib/part.js | 95.101.10.122 | 200 OK | 329 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/lib/dom.js | 95.101.10.122 | 200 OK | 478 B | |||||||
HTTP Headers
| ||||||||||
r3.o.lencr.org/ | 23.36.76.226 | 200 OK | 503 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/lib/template-instance.js | 95.101.10.122 | 200 OK | 827 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-text-icon/src/IngTextIcon.styles.js | 95.101.10.122 | 200 OK | 687 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/core/utils/importIllustration.js | 95.101.10.122 | 200 OK | 644 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/directives/until.js | 95.101.10.122 | 200 OK | 642 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-card/src/IngRibbon.styles.js | 95.101.10.122 | 200 OK | 380 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/button/IngButton.js | 95.101.10.122 | 200 OK | 321 B | |||||||
HTTP Headers
| ||||||||||
r3.o.lencr.org/ | 23.36.76.226 | 200 OK | 503 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/icon/node_modules/singleton-manager/index.js | 95.101.10.122 | 200 OK | 101 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-pointer/src/IngPointer.styles.js | 95.101.10.122 | 200 OK | 836 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/style/mixins/elevation.js | 95.101.10.122 | 200 OK | 210 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/ing-separator/src/IngSeparator.styles.js | 95.101.10.122 | 200 OK | 381 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/localize/node_modules/singleton-manager/src/SingletonManagerClass.js | 95.101.10.122 | 200 OK | 179 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/icon/src/IconManager.js | 95.101.10.122 | 200 OK | 333 B | |||||||
HTTP Headers
| ||||||||||
r3.o.lencr.org/ | 23.36.76.226 | 200 OK | 503 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/lib/render.js | 95.101.10.122 | 200 OK | 494 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/lib/modify-template.js | 95.101.10.122 | 200 OK | 831 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/lib/template-factory.js | 95.101.10.122 | 200 OK | 524 B | |||||||
HTTP Headers
| ||||||||||
img-getpocket.cdn.mozilla.net/296x148/filters:format(jpeg):quality(60):no_upscale():strip_exif()/https%3A%2F%2Fs3.amazonaws.com%2Fpocket-curatedcorpusapi-prod-images%2F6df54ea7-8915-4ac7-af2b-6a71ce14dbf4.webp | 34.120.237.76 | 200 OK | 5.7 kB | |||||||
HTTP Headers
| ||||||||||
img-getpocket.cdn.mozilla.net/296x148/filters:format(jpeg):quality(60):no_upscale():strip_exif()/https%3A%2F%2Fs3.amazonaws.com%2Fpocket-curatedcorpusapi-prod-images%2Fae18d1b5-3b75-4897-bd1b-03651e437c2e.jpeg | 34.120.237.76 | 200 OK | 4.7 kB | |||||||
HTTP Headers
| ||||||||||
img-getpocket.cdn.mozilla.net/296x148/filters:format(jpeg):quality(60):no_upscale():strip_exif()/https%3A%2F%2Fs3.amazonaws.com%2Fpocket-curatedcorpusapi-prod-images%2F4d571e0e-b14e-436b-8156-2e49aad75d4f.png | 34.120.237.76 | 200 OK | 16 kB | |||||||
HTTP Headers
| ||||||||||
img-getpocket.cdn.mozilla.net/296x148/filters:format(jpeg):quality(60):no_upscale():strip_exif()/https%3A%2F%2Fs3.amazonaws.com%2Fpocket-curatedcorpusapi-prod-images%2Fd528f6ee-d348-431d-8220-5c8b154b2941.jpeg | 34.120.237.76 | 200 OK | 8.3 kB | |||||||
HTTP Headers
| ||||||||||
img-getpocket.cdn.mozilla.net/296x148/filters:format(jpeg):quality(60):no_upscale():strip_exif()/https%3A%2F%2Fs3.amazonaws.com%2Fpocket-curatedcorpusapi-prod-images%2F8f00caab-057c-4cc2-a163-fd0bb4d0b5f7.jpeg | 34.120.237.76 | 200 OK | 12 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/singleton-manager/src/SingletonManagerClass.js | 95.101.10.122 | 200 OK | 179 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lodash-es/_root.js | 95.101.10.122 | 200 OK | 136 B | |||||||
HTTP Headers
| ||||||||||
img-getpocket.cdn.mozilla.net/296x148/filters:format(jpeg):quality(60):no_upscale():strip_exif()/https%3A%2F%2Fs3.amazonaws.com%2Fpocket-curatedcorpusapi-prod-images%2F61cc2744-b517-4404-bfa2-25fadadfa3f3.jpeg | 34.120.237.76 | 200 OK | 10 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lodash-es/isSymbol.js | 95.101.10.122 | 200 OK | 142 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/overlays/overlays.js | 95.101.10.122 | 200 OK | 168 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/icon/registerDefaultIconsets.js | 95.101.10.122 | 200 OK | 1.0 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web-es/packages/icon/registerEsIconsets.js | 95.101.10.122 | 200 OK | 316 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web-es/packages/illustration/registerIllustrations.js | 95.101.10.122 | 200 OK | 1.4 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/snackbar/snackbar.js | 95.101.10.122 | 200 OK | 159 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/validate-messages/src/loadDefaultFeedbackMessages.js | 95.101.10.122 | 200 OK | 709 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/_legacy/ajax/src/AjaxClass.js | 95.101.10.122 | 200 OK | 752 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/packages/core/styles/values/aligns.js | 95.101.10.122 | 200 OK | 83 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/ajax/AjaxClass.js | 95.101.10.122 | 200 OK | 139 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@open-wc/dedupe-mixin/src/dedupeMixin.js | 95.101.10.122 | 200 OK | 169 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/_core2/provider/Core2Provider.js | 95.101.10.122 | 200 OK | 669 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@bundled-es-modules/message-format/MessageFormat.js | 95.101.10.122 | 200 OK | 6.0 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/localize/src/isLocalizeESModule.js | 95.101.10.122 | 200 OK | 110 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/button/src/LionButton.js | 95.101.10.122 | 200 OK | 2.2 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/icon/node_modules/singleton-manager/src/SingletonManagerClass.js | 95.101.10.122 | 200 OK | 179 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/button/buttonStyle.js | 95.101.10.122 | 200 OK | 1.9 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lodash-es/_baseGetTag.js | 95.101.10.122 | 200 OK | 182 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lodash-es/_freeGlobal.js | 95.101.10.122 | 200 OK | 81 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lodash-es/isObjectLike.js | 95.101.10.122 | 200 OK | 83 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/overlays/src/overlays.js | 95.101.10.122 | 200 OK | 173 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/overlays/src/OverlaysManager.js | 95.101.10.122 | 200 OK | 1.0 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/snackbar/SnackbarManager.js | 95.101.10.122 | 200 OK | 757 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/form-core/src/validate/validators/Required.js | 95.101.10.122 | 200 OK | 352 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/form-core/src/validate/validators/StringValidators.js | 95.101.10.122 | 200 OK | 210 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/form-core/src/validate/resultValidators/DefaultSuccess.js | 95.101.10.122 | 200 OK | 226 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/form-core/src/validate/validators/NumberValidators.js | 95.101.10.122 | 200 OK | 232 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web-es/packages/illustration/illustrations.js | 95.101.10.122 | 200 OK | 150 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@bundled-es-modules/axios/index.js | 95.101.10.122 | 200 OK | 70 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/_legacy/ajax/src/transformers.js | 95.101.10.122 | 200 OK | 173 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/_legacy/ajax/src/interceptors.js | 95.101.10.122 | 200 OK | 412 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/_core2/hybrid-scoped-elements/Lit1HybridScopedElementsMixin.js | 95.101.10.122 | 200 OK | 253 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/directives/style-map.js | 95.101.10.122 | 200 OK | 666 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/polymer/lib/utils/resolve-url.html | 95.101.10.122 | 200 OK | 1.1 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/polymer/lib/utils/templatize.html | 95.101.10.122 | 200 OK | 6.6 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/polymer/lib/utils/debounce.html | 95.101.10.122 | 200 OK | 1.1 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/polymer/lib/utils/flush.html | 95.101.10.122 | 200 OK | 498 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/polymer/lib/mixins/mutable-data.html | 95.101.10.122 | 200 OK | 2.0 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/_core2/hybrid-lit/isLit1TemplateResult.js | 95.101.10.122 | 200 OK | 102 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/directives/async-append.js | 95.101.10.122 | 200 OK | 930 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/directives/cache.js | 95.101.10.122 | 200 OK | 703 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/directives/async-replace.js | 95.101.10.122 | 200 OK | 871 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/directives/guard.js | 95.101.10.122 | 200 OK | 502 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/directives/repeat.js | 95.101.10.122 | 200 OK | 1.1 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/core/src/SlotMixin.js | 95.101.10.122 | 200 OK | 357 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lit-html/directive.js | 95.101.10.122 | 200 OK | 896 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/core/src/DelegateMixin.js | 95.101.10.122 | 200 OK | 694 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/core/src/UpdateStylesMixin.js | 95.101.10.122 | 200 OK | 386 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/polymer/lib/utils/boot.html | 95.101.10.122 | 200 OK | 821 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/polymer/lib/utils/mixin.html | 95.101.10.122 | 200 OK | 809 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/polymer/lib/utils/gestures.html | 95.101.10.122 | 200 OK | 7.5 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/polymer/lib/utils/settings.html | 95.101.10.122 | 200 OK | 1.3 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uic-cms-lightbox/ing-uic-cms-lightbox.html | 95.101.10.122 | 200 OK | 4.6 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/polymer/lib/utils/style-gather.html | 95.101.10.122 | 200 OK | 2.2 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/polymer/lib/elements/dom-module.html | 95.101.10.122 | 200 OK | 1.9 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/polymer/lib/mixins/property-effects.html | 95.101.10.122 | 200 OK | 24 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/polymer/lib/mixins/properties-mixin.html | 95.101.10.122 | 200 OK | 2.2 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/iron-ajax/iron-request.html | 95.101.10.122 | 200 OK | 3.8 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uic-cms-header/ing-uic-cms-header-common-styles.html | 95.101.10.122 | 200 OK | 816 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/polymer/lib/utils/flattened-nodes-observer.html | 95.101.10.122 | 200 OK | 2.5 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/polymer/lib/legacy/legacy-element-mixin.html | 95.101.10.122 | 200 OK | 8.3 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/polymer/lib/legacy/templatizer-behavior.html | 95.101.10.122 | 200 OK | 1.9 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/polymer/lib/legacy/polymer-fn.html | 95.101.10.122 | 200 OK | 559 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/polymer/lib/elements/dom-bind.html | 95.101.10.122 | 200 OK | 1.3 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/polymer/lib/elements/array-selector.html | 95.101.10.122 | 200 OK | 3.1 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/polymer/lib/legacy/mutable-data-behavior.html | 95.101.10.122 | 200 OK | 1.7 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/shadycss/custom-style-interface.html | 95.101.10.122 | 200 OK | 838 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uic-cms-header/ing-uic-cms-menu-style.html | 95.101.10.122 | 200 OK | 1.2 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uic-cms-header/ing-uic-cms-submenu.html | 95.101.10.122 | 200 OK | 2.3 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uic-cms-header/ing-uic-cms-menu-item.html | 95.101.10.122 | 200 OK | 550 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uic-cms-url-visualizator/ing-uic-cms-url-visualizator.html | 95.101.10.122 | 200 OK | 2.2 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/iron-a11y-keys/iron-a11y-keys.html | 95.101.10.122 | 200 OK | 2.2 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/style/mixins/screen-reader.js | 95.101.10.122 | 200 OK | 249 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lodash-es/_getRawTag.js | 95.101.10.122 | 200 OK | 203 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lodash-es/_Symbol.js | 95.101.10.122 | 200 OK | 75 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/overlays/node_modules/singleton-manager/index.js | 95.101.10.122 | 200 OK | 101 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/overlays/src/utils/inert-siblings.js | 95.101.10.122 | 200 OK | 201 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/overlays/src/globalOverlaysStyle.js | 95.101.10.122 | 200 OK | 584 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uic-cms-header/ing-uic-cms-search-bar-styles.html | 95.101.10.122 | 200 OK | 880 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/lodash-es/_objectToString.js | 95.101.10.122 | 200 OK | 95 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/core/src/browserDetection.js | 95.101.10.122 | 200 OK | 303 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/snackbar/IngSnackbarElement.js | 95.101.10.122 | 200 OK | 272 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/core/src/DisabledWithTabIndexMixin.js | 95.101.10.122 | 200 OK | 439 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/helpers/renderLitAsNode/src/renderLitAsNode.js | 95.101.10.122 | 200 OK | 151 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/form-core/src/validate/Validator.js | 95.101.10.122 | 200 OK | 620 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web-es/packages/illustration/IllustrationManager.js | 95.101.10.122 | 200 OK | 346 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@open-wc/scoped-elements/src/ScopedElementsMixin.js | 95.101.10.122 | 200 OK | 633 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/form-core/src/validate/ResultValidator.js | 95.101.10.122 | 200 OK | 150 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@bundled-es-modules/axios/axios.js | 95.101.10.122 | 200 OK | 8.3 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/overlays/src/OverlayController.js | 95.101.10.122 | 200 OK | 4.2 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/polymer/lib/utils/async.html | 95.101.10.122 | 200 OK | 1.5 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/iron-overlay-behavior/iron-overlay-behavior.html | 95.101.10.122 | 200 OK | 6.5 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/polymer/lib/utils/case-map.html | 95.101.10.122 | 200 OK | 460 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/paper-dialog-scrollable/paper-dialog-scrollable.html | 95.101.10.122 | 200 OK | 903 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/iron-flex-layout/iron-flex-layout.html | 95.101.10.122 | 200 OK | 1.2 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/paper-dialog/paper-dialog.html | 95.101.10.122 | 200 OK | 364 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/paper-dialog-behavior/paper-dialog-behavior.html | 95.101.10.122 | 200 OK | 1.5 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/polymer/lib/utils/path.html | 95.101.10.122 | 200 OK | 1.8 kB | |||||||
HTTP Headers
| ||||||||||
ocsp.pki.goog/gts1c3 | 142.250.74.131 | 200 OK | 472 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/polymer/lib/utils/telemetry.html | 95.101.10.122 | 200 OK | 543 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/polymer/lib/mixins/template-stamp.html | 95.101.10.122 | 200 OK | 5.3 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/polymer/lib/mixins/properties-changed.html | 95.101.10.122 | 200 OK | 4.5 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/polymer/lib/utils/array-splice.html | 95.101.10.122 | 200 OK | 2.7 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/polymer/lib/mixins/dir-mixin.html | 95.101.10.122 | 200 OK | 1.7 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/shadycss/apply-shim.html | 95.101.10.122 | 200 OK | 827 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/polymer/lib/utils/import-href.html | 95.101.10.122 | 200 OK | 1.3 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/polymer/lib/utils/render-status.html | 95.101.10.122 | 200 OK | 1.1 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/polymer/lib/utils/unresolved.html | 95.101.10.122 | 200 OK | 244 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/polymer/lib/mixins/property-accessors.html | 95.101.10.122 | 200 OK | 3.3 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/polymer/lib/legacy/polymer.dom.html | 95.101.10.122 | 200 OK | 3.1 kB | |||||||
HTTP Headers
| ||||||||||
pagead2.googlesyndication.com/pagead/landing?gcs=G100&gcd=G100&rnd=304350040.1670168970&url=https%3A%2F%2Fwww.ing.es%2F>m=2odbu0 | 142.250.74.98 | 200 OK | 42 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/polymer/lib/legacy/class.html | 95.101.10.122 | 200 OK | 5.2 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uic-cms-header/ing-uic-cms-menu-common-styles.html | 95.101.10.122 | 200 OK | 661 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uic-cms-header/ing-uic-cms-submenu-styles.html | 95.101.10.122 | 200 OK | 1.3 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uic-cms-header/ing-uic-cms-submenu-item.html | 95.101.10.122 | 200 OK | 884 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uic-cms-header/ing-uic-cms-menu-item-style.html | 95.101.10.122 | 200 OK | 511 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uic-cms-content/ing-uic-cms-content.html | 95.101.10.122 | 200 OK | 1.5 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uic-cms-url-visualizator/ing-uic-cms-url-visualizator-styles.html | 95.101.10.122 | 200 OK | 313 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/iron-a11y-keys-behavior/iron-a11y-keys-behavior.html | 95.101.10.122 | 200 OK | 3.9 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/overlays/node_modules/singleton-manager/src/SingletonManagerClass.js | 95.101.10.122 | 200 OK | 179 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/snackbar/snackbarStyles.js | 95.101.10.122 | 200 OK | 429 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/core/src/DisabledMixin.js | 95.101.10.122 | 200 OK | 358 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@open-wc/scoped-elements/src/Cache.js | 95.101.10.122 | 200 OK | 146 B | |||||||
HTTP Headers
| ||||||||||
ocsp.pki.goog/gts1c3 | 142.250.74.131 | 200 OK | 472 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@open-wc/scoped-elements/src/registerElement.js | 95.101.10.122 | 200 OK | 448 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@open-wc/scoped-elements/src/shadyTemplateFactory.js | 95.101.10.122 | 200 OK | 372 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/overlays/src/utils/contain-focus.js | 95.101.10.122 | 200 OK | 849 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/core/src/EventTargetShim.js | 95.101.10.122 | 200 OK | 157 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/iron-fit-behavior/iron-fit-behavior.html | 95.101.10.122 | 200 OK | 5.2 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/iron-resizable-behavior/iron-resizable-behavior.html | 95.101.10.122 | 200 OK | 2.3 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/iron-overlay-behavior/iron-overlay-manager.html | 95.101.10.122 | 200 OK | 2.8 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/iron-overlay-behavior/iron-scroll-manager.html | 95.101.10.122 | 200 OK | 3.4 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@open-wc/scoped-elements/src/transform.js | 95.101.10.122 | 200 OK | 391 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/iron-overlay-behavior/iron-focusables-helper.html | 95.101.10.122 | 200 OK | 2.5 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/paper-styles/default-theme.html | 95.101.10.122 | 200 OK | 385 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/neon-animation/neon-animation-runner-behavior.html | 95.101.10.122 | 200 OK | 1.2 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uic-cms-header/ing-uic-cms-submenu-item-styles.html | 95.101.10.122 | 200 OK | 546 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/paper-dialog-behavior/paper-dialog-shared-styles.html | 95.101.10.122 | 200 OK | 473 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uic-cms-content-block/ing-uic-cms-content-block.html | 95.101.10.122 | 200 OK | 3.3 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uic-cms-hippo-parser/ing-uic-cms-hippo-parser.html | 95.101.10.122 | 200 OK | 2.3 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uic-cms-core/ing-uic-cms-core.html | 95.101.10.122 | 200 OK | 1.2 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@open-wc/scoped-elements/src/createUniqueTag.js | 95.101.10.122 | 200 OK | 258 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@open-wc/scoped-elements/src/globalTagsCache.js | 95.101.10.122 | 200 OK | 116 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/overlays/src/utils/get-deep-active-element.js | 95.101.10.122 | 200 OK | 128 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/overlays/src/utils/get-focusable-elements.js | 95.101.10.122 | 200 OK | 504 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/overlays/src/utils/deep-contains.js | 95.101.10.122 | 200 OK | 220 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/overlays/src/utils/key-codes.js | 95.101.10.122 | 200 OK | 86 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/iron-overlay-behavior/iron-overlay-backdrop.html | 95.101.10.122 | 200 OK | 1.1 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/neon-animation/neon-animatable-behavior.html | 95.101.10.122 | 200 OK | 1.2 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/paper-styles/color.html | 95.101.10.122 | 200 OK | 2.1 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/paper-styles/typography.html | 95.101.10.122 | 200 OK | 595 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uic-cms-amount/ing-uic-cms-amount-multi.html | 95.101.10.122 | 200 OK | 1.2 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/paper-styles/shadow.html | 95.101.10.122 | 200 OK | 399 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uic-cms-content-block/ing-uic-cms-core-media.html | 95.101.10.122 | 200 OK | 1.2 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uic-cms-content-block/ing-uic-cms-content-block-styles.html | 95.101.10.122 | 200 OK | 2.5 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uic-cms-core/ing-uic-cms-core-styles.html | 95.101.10.122 | 200 OK | 520 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/overlays/src/utils/is-visible.js | 95.101.10.122 | 200 OK | 200 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/@lion/overlays/src/utils/sort-by-tabindex.js | 95.101.10.122 | 200 OK | 233 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uic-cms-amount/ing-uic-cms-amount-multi-styles.html | 95.101.10.122 | 200 OK | 862 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uic-cms-amount/ing-uic-cms-amount.html | 95.101.10.122 | 200 OK | 623 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uic-cms-content-block/ing-uic-cms-core-media-styles.html | 95.101.10.122 | 200 OK | 319 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/iron-image/iron-image.html | 95.101.10.122 | 200 OK | 2.5 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/font-roboto/roboto.html | 95.101.10.122 | 200 OK | 328 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uic-cms-content-block/ing-uic-cms-content-block-table-styles.html | 95.101.10.122 | 200 OK | 1.1 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/site/binaries/content/gallery/hipposp/favicon.png | 95.101.10.122 | 200 OK | 3.2 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/webfiles/1661339944389/css/apple-touch-icon.png | 95.101.10.122 | 200 OK | 16 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/link/translations/es-ES.js | 95.101.10.122 | 200 OK | 70 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/binaries/content/gallery/hipposp/ContentBlockImageSet/home/cards/2022/febrero/buscadorcajeros-at-1x.jpg | 95.101.10.122 | 200 OK | 25 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/binaries/content/gallery/hipposp/ContentBlockImageSet/home/articulos-seo/2021/articulo-seo-desktophipotecas22.jpg | 95.101.10.122 | 200 OK | 19 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/binaries/content/gallery/hipposp/ContentBlockImageSet/home/articulos-seo/2021/articulo-seo-desktopprestamos2.jpg | 95.101.10.122 | 200 OK | 11 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/binaries/content/gallery/hipposp/ContentBlockImageSet/home/cards/2022/diciembre/card01_desktoptx.jpg | 95.101.10.122 | 200 OK | 21 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/binaries/content/gallery/hipposp/ContentBlockImageSet/home/articulos-seo/2021/card_seo_desktop.jpg | 95.101.10.122 | 200 OK | 14 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/binaries/content/gallery/hipposp/ContentBlockImageSet/home/articulos-seo/2021/card_seo_desktops.jpg | 95.101.10.122 | 200 OK | 8.3 kB | |||||||
HTTP Headers
| ||||||||||
ade.googlesyndication.com/ddm/activity/src=9412232;type=visita;cat=visit0;ord=7786269864552;gtm=2odbu0;gcs=G100;~oref=https%3A%2F%2Fwww.ing.es? | 142.250.74.130 | 200 OK | 42 B | |||||||
HTTP Headers
| ||||||||||
ade.googlesyndication.com/ddm/activity/src=9412232;type=;cat=;gtm=2odbu0;gcs=G100;~oref=https%3A%2F%2Fwww.ing.es? | 142.250.74.130 | 200 OK | 42 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/link/translations/es.js | 95.101.10.122 | 200 OK | 77 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uic-cms-amount/ing-uic-cms-amount-styles.html | 95.101.10.122 | 200 OK | 366 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/icon/oj-iconsets/outline-arrows.js | 95.101.10.122 | 200 OK | 237 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uif-cms-theme/fonts/INGMeWeb-Bold.woff | 95.101.10.122 | 200 OK | 38 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uif-cms-theme/fonts/INGMeWeb-Regular.woff | 95.101.10.122 | 200 OK | 37 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uif-cms-theme/fonts/ing-direct-icons.woff | 95.101.10.122 | 200 OK | 214 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/icon/oj-icons/outline/arrows/arrow_circle_left_outline.svg.js | 95.101.10.122 | 200 OK | 253 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/icon/oj-icons/outline/arrows/arrow_circle_down_outline.svg.js | 95.101.10.122 | 200 OK | 254 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/icon/oj-icons/outline/arrows/arrow_circle_right_outline.svg.js | 95.101.10.122 | 200 OK | 258 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/icon/oj-icons/outline/arrows/arrow_circle_up_outline.svg.js | 95.101.10.122 | 200 OK | 251 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/icon/oj-icons/outline/arrows/triangle_down_outline.svg.js | 95.101.10.122 | 200 OK | 273 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/icon/oj-icons/outline/arrows/arrow_down_outline.svg.js | 95.101.10.122 | 200 OK | 190 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/icon/oj-icons/outline/arrows/arrow_right_outline.svg.js | 95.101.10.122 | 200 OK | 194 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/icon/oj-icons/outline/arrows/arrow_left_outline.svg.js | 95.101.10.122 | 200 OK | 192 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/icon/oj-icons/outline/arrows/chevron_down_outline.svg.js | 95.101.10.122 | 200 OK | 183 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/icon/oj-icons/outline/arrows/chevron_left_outline.svg.js | 95.101.10.122 | 200 OK | 182 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/icon/oj-icons/outline/arrows/chevron_right_outline.svg.js | 95.101.10.122 | 200 OK | 180 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/icon/oj-icons/outline/arrows/triangle_up_outline.svg.js | 95.101.10.122 | 200 OK | 269 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/icon/oj-icons/outline/arrows/arrow_up_outline.svg.js | 95.101.10.122 | 200 OK | 185 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/icon/oj-icons/outline/arrows/chevron_up_outline.svg.js | 95.101.10.122 | 200 OK | 181 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/icon/oj-icons/outline/arrows/graph_up_down_outline.svg.js | 95.101.10.122 | 200 OK | 235 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/icon/oj-icons/outline/arrows/triangle_left_outline.svg.js | 95.101.10.122 | 200 OK | 266 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/ing-cms-component-library/es6/node_modules/ing-web/packages/icon/oj-icons/outline/arrows/triangle_right_outline.svg.js | 95.101.10.122 | 200 OK | 259 B | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/shadycss/apply-shim.min.js | 95.101.10.122 | 200 OK | 4.2 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/shadycss/custom-style-interface.min.js | 95.101.10.122 | 200 OK | 1.3 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/intl-messageformat/dist/intl-messageformat.min.js | 95.101.10.122 | 200 OK | 5.0 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uic-cms-hippo-parser/mdetect.js | 95.101.10.122 | 200 OK | 2.7 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/site/binaries/content/gallery/hipposp/ios.svg | 95.101.10.122 | 200 OK | 4.1 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/wc/es6/bower_components/ing-uic-cms-i18n/src/locales.json | 95.101.10.122 | 200 OK | 1.8 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/binaries/content/gallery/hipposp/ContentBlockImageSet/home/cards/2022/noviembre/desktop.png | 95.101.10.122 | 200 OK | 9.5 kB | |||||||
HTTP Headers
| ||||||||||
www.ing.es/site/binaries/content/gallery/hipposp/ilunion.jpg | 95.101.10.122 | 200 OK | 11 kB | |||||||
HTTP Headers
| ||||||||||