update builds.

This commit is contained in:
Steven Orvell
2017-02-27 18:13:55 -08:00
parent 6762d3891f
commit 32ad83a16b
10 changed files with 12 additions and 12 deletions

View File

@@ -1,4 +1,4 @@
(function(){'use strict';(o=>{const $=!!('import'in document.createElement('link'));let _=null;!1=='currentScript'in document&&Object.defineProperty(document,'currentScript',{get(){return _||('complete'===document.readyState?null:document.scripts[document.scripts.length-1])},configurable:!0});const wa=/(^\/)|(^#)|(^[\w-\d]*:)/,xa=/(url\()([^)]*)(\))/g,ya=/(@import[\s]+(?!url\())([^;]*)(;)/g,za=/(<link[^>]*)(rel=['|"]?stylesheet['|"]?[^>]*>)/g,Aa={fixUrls(Ta,Ua){Ta.href&&Ta.setAttribute('href',Aa.replaceAttrUrl(Ta.getAttribute('href'),Ua)),Ta.src&&Ta.setAttribute('src',Aa.replaceAttrUrl(Ta.getAttribute('src'),Ua)),'style'===Ta.localName&&Aa.resolveUrlsInStyle(Ta,Ua)},fixUrlAttributes(Ta,Ua){const Va=['action','src','href','url','style'];for(let Xa,Wa=0;Wa<Va.length&&(Xa=Va[Wa]);Wa++){const Ya=Ta.attributes[Xa],Za=Ya&&Ya.value;Za&&0>Za.search(/({{|\[\[)/)&&(Ya.value='style'===Xa?Aa.resolveUrlsInCssText(Za,Ua):Aa.replaceAttrUrl(Za,Ua))}},fixUrlsInTemplates(Ta,Ua){const Va=Ta.querySelectorAll('template');for(let Wa=0;Wa<Va.length;Wa++)Aa.fixUrlsInTemplate(Va[Wa],Ua)},fixUrlsInTemplate(Ta,Ua){const Va=Ta.content||Ta,Wa=Va.querySelectorAll('style, form[action], [src], [href], [url], [style]');for(let Xa=0;Xa<Wa.length;Xa++){const Ya=Wa[Xa];'style'==Ya.localName?Aa.resolveUrlsInStyle(Ya,Ua):Aa.fixUrlAttributes(Ya,Ua)}Aa.fixUrlsInTemplates(Va,Ua)},resolveUrlsInStyle(Ta,Ua){Ta.textContent=Aa.resolveUrlsInCssText(Ta.textContent,Ua)},resolveUrlsInCssText(Ta,Ua){let Va=Aa.replaceUrls(Ta,Ua,xa);return Va=Aa.replaceUrls(Va,Ua,ya),Va},replaceUrls(Ta,Ua,Va){return Ta.replace(Va,(Wa,Xa,Ya,Za)=>{let $a=Ya.replace(/["']/g,'');return Ua&&($a=Aa.resolveUrl($a,Ua)),Xa+'\''+$a+'\''+Za})},replaceAttrUrl(Ta,Ua){return Ta&&wa.test(Ta)?Ta:Aa.resolveUrl(Ta,Ua)},resolveUrl(Ta,Ua){if(void 0===Aa.__workingURL){Aa.__workingURL=!1;try{const Wa=new URL('b','http://a');Wa.pathname='c%20d',Aa.__workingURL='http://a/c%20d'===Wa.href}catch(Wa){}}if(Aa.__workingURL)return new URL(Ta,Ua).href;let Va=Aa.__tempDoc;return Va||(Va=document.implementation.createHTMLDocument('temp'),Aa.__tempDoc=Va,Va.__base=Va.createElement('base'),Va.head.appendChild(Va.__base),Va.__anchor=Va.createElement('a')),Va.__base.href=Ua,Va.__anchor.href=Ta,Va.__anchor.href||Ta}},Ba={async:!0,load(Ta,Ua,Va){if(!Ta)Va('error: href must be specified');else if(Ta.match(/^data:/)){const Wa=Ta.split(','),Xa=Wa[0];let Ya=Wa[1];Ya=-1<Xa.indexOf(';base64')?atob(Ya):decodeURIComponent(Ya),Ua(Ya)}else{const Wa=new XMLHttpRequest;Wa.open('GET',Ta,Ba.async),Wa.onload=()=>{let Xa=Wa.getResponseHeader('Location');if(Xa&&0===Xa.indexOf('/')){const Za=location.origin||location.protocol+'//'+location.host;Xa=Za+Xa}const Ya=Wa.response||Wa.responseText;304===Wa.status||0===Wa.status||200<=Wa.status&&300>Wa.status?Ua(Ya,Xa):Va(Ya)},Wa.send()}}},Ca=/Trident/.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent),Da='link[rel=import]',Ea='import-disable',Fa=`link[rel=stylesheet][href][type=${Ea}]`,Ga=`${Da}, ${Fa},
(function(){'use strict';(o=>{const $=!!('import'in document.createElement('link'));let _=null;!1=='currentScript'in document&&Object.defineProperty(document,'currentScript',{get(){return _||('complete'===document.readyState?null:document.scripts[document.scripts.length-1])},configurable:!0});const wa=/(^\/)|(^#)|(^[\w-\d]*:)/,xa=/(url\()([^)]*)(\))/g,ya=/(@import[\s]+(?!url\())([^;]*)(;)/g,za=/(<link[^>]*)(rel=['|"]?stylesheet['|"]?[^>]*>)/g,Aa={fixUrls(Ta,Ua){Ta.href&&Ta.setAttribute('href',Aa.replaceAttrUrl(Ta.getAttribute('href'),Ua)),Ta.src&&Ta.setAttribute('src',Aa.replaceAttrUrl(Ta.getAttribute('src'),Ua)),'style'===Ta.localName&&Aa.resolveUrlsInStyle(Ta,Ua)},fixUrlsInTemplates(Ta,Ua){const Va=Ta.querySelectorAll('template');for(let Wa=0;Wa<Va.length;Wa++)Aa.fixUrlsInTemplate(Va[Wa],Ua)},fixUrlsInTemplate(Ta,Ua){const Va=Ta.content||Ta,Wa=Va.querySelectorAll('style, [src], [style]');for(let Xa=0;Xa<Wa.length;Xa++){const Ya=Wa[Xa];'style'==Ya.localName?Aa.resolveUrlsInStyle(Ya,Ua):Aa.fixUrlAttributes(Ya,Ua)}Aa.fixUrlsInTemplates(Va,Ua)},fixUrlAttributes(Ta,Ua){const Va=['src','style'];for(let Xa,Wa=0;Wa<Va.length&&(Xa=Va[Wa]);Wa++){const Ya=Ta.attributes[Xa],Za=Ya&&Ya.value;Za&&0>Za.search(/({{|\[\[)/)&&(Ya.value='style'===Xa?Aa.resolveUrlsInCssText(Za,Ua):Aa.replaceAttrUrl(Za,Ua))}},resolveUrlsInStyle(Ta,Ua){Ta.textContent=Aa.resolveUrlsInCssText(Ta.textContent,Ua)},resolveUrlsInCssText(Ta,Ua){let Va=Aa.replaceUrls(Ta,Ua,xa);return Va=Aa.replaceUrls(Va,Ua,ya),Va},replaceUrls(Ta,Ua,Va){return Ta.replace(Va,(Wa,Xa,Ya,Za)=>{let $a=Ya.replace(/["']/g,'');return Ua&&($a=Aa.resolveUrl($a,Ua)),Xa+'\''+$a+'\''+Za})},replaceAttrUrl(Ta,Ua){return Ta&&wa.test(Ta)?Ta:Aa.resolveUrl(Ta,Ua)},resolveUrl(Ta,Ua){if(void 0===Aa.__workingURL){Aa.__workingURL=!1;try{const Wa=new URL('b','http://a');Wa.pathname='c%20d',Aa.__workingURL='http://a/c%20d'===Wa.href}catch(Wa){}}if(Aa.__workingURL)return new URL(Ta,Ua).href;let Va=Aa.__tempDoc;return Va||(Va=document.implementation.createHTMLDocument('temp'),Aa.__tempDoc=Va,Va.__base=Va.createElement('base'),Va.head.appendChild(Va.__base),Va.__anchor=Va.createElement('a')),Va.__base.href=Ua,Va.__anchor.href=Ta,Va.__anchor.href||Ta}},Ba={async:!0,load(Ta,Ua,Va){if(!Ta)Va('error: href must be specified');else if(Ta.match(/^data:/)){const Wa=Ta.split(','),Xa=Wa[0];let Ya=Wa[1];Ya=-1<Xa.indexOf(';base64')?atob(Ya):decodeURIComponent(Ya),Ua(Ya)}else{const Wa=new XMLHttpRequest;Wa.open('GET',Ta,Ba.async),Wa.onload=()=>{let Xa=Wa.getResponseHeader('Location');if(Xa&&0===Xa.indexOf('/')){const Za=location.origin||location.protocol+'//'+location.host;Xa=Za+Xa}const Ya=Wa.response||Wa.responseText;304===Wa.status||0===Wa.status||200<=Wa.status&&300>Wa.status?Ua(Ya,Xa):Va(Ya)},Wa.send()}}},Ca=/Trident/.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent),Da='link[rel=import]',Ea='import-disable',Fa=`link[rel=stylesheet][href][type=${Ea}]`,Ga=`${Da}, ${Fa},
style:not([type]), link[rel=stylesheet][href]:not([type]),
script:not([type]), script[type="application/javascript"],
script[type="text/javascript"]`,Ha='import-dependency',Ia=`${Da}:not(${Ha})`,Ja=`script[${Ha}]`,Ka=`style[${Ha}],

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -6,7 +6,7 @@
* The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
* Code distributed by Google as part of the polymer project is also
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/(b=>{const c=!!('import'in document.createElement('link'));let d=null;!1=='currentScript'in document&&Object.defineProperty(document,'currentScript',{get(){return d||('complete'===document.readyState?null:document.scripts[document.scripts.length-1])},configurable:!0});const f=/(^\/)|(^#)|(^[\w-\d]*:)/,g=/(url\()([^)]*)(\))/g,h=/(@import[\s]+(?!url\())([^;]*)(;)/g,k=/(<link[^>]*)(rel=['|"]?stylesheet['|"]?[^>]*>)/g,o={fixUrls(L,M){L.href&&L.setAttribute('href',o.replaceAttrUrl(L.getAttribute('href'),M)),L.src&&L.setAttribute('src',o.replaceAttrUrl(L.getAttribute('src'),M)),'style'===L.localName&&o.resolveUrlsInStyle(L,M)},fixUrlAttributes(L,M){const N=['action','src','href','url','style'];for(let P,O=0;O<N.length&&(P=N[O]);O++){const Q=L.attributes[P],R=Q&&Q.value;R&&0>R.search(/({{|\[\[)/)&&(Q.value='style'===P?o.resolveUrlsInCssText(R,M):o.replaceAttrUrl(R,M))}},fixUrlsInTemplates(L,M){const N=L.querySelectorAll('template');for(let O=0;O<N.length;O++)o.fixUrlsInTemplate(N[O],M)},fixUrlsInTemplate(L,M){const N=L.content||L,O=N.querySelectorAll('style, form[action], [src], [href], [url], [style]');for(let P=0;P<O.length;P++){const Q=O[P];'style'==Q.localName?o.resolveUrlsInStyle(Q,M):o.fixUrlAttributes(Q,M)}o.fixUrlsInTemplates(N,M)},resolveUrlsInStyle(L,M){L.textContent=o.resolveUrlsInCssText(L.textContent,M)},resolveUrlsInCssText(L,M){let N=o.replaceUrls(L,M,g);return N=o.replaceUrls(N,M,h),N},replaceUrls(L,M,N){return L.replace(N,(O,P,Q,R)=>{let S=Q.replace(/["']/g,'');return M&&(S=o.resolveUrl(S,M)),P+'\''+S+'\''+R})},replaceAttrUrl(L,M){return L&&f.test(L)?L:o.resolveUrl(L,M)},resolveUrl(L,M){if(void 0===o.__workingURL){o.__workingURL=!1;try{const O=new URL('b','http://a');O.pathname='c%20d',o.__workingURL='http://a/c%20d'===O.href}catch(O){}}if(o.__workingURL)return new URL(L,M).href;let N=o.__tempDoc;return N||(N=document.implementation.createHTMLDocument('temp'),o.__tempDoc=N,N.__base=N.createElement('base'),N.head.appendChild(N.__base),N.__anchor=N.createElement('a')),N.__base.href=M,N.__anchor.href=L,N.__anchor.href||L}},p={async:!0,load(L,M,N){if(!L)N('error: href must be specified');else if(L.match(/^data:/)){const O=L.split(','),P=O[0];let Q=O[1];Q=-1<P.indexOf(';base64')?atob(Q):decodeURIComponent(Q),M(Q)}else{const O=new XMLHttpRequest;O.open('GET',L,p.async),O.onload=()=>{let P=O.getResponseHeader('Location');if(P&&0===P.indexOf('/')){const R=location.origin||location.protocol+'//'+location.host;P=R+P}const Q=O.response||O.responseText;304===O.status||0===O.status||200<=O.status&&300>O.status?M(Q,P):N(Q)},O.send()}}},q=/Trident/.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent),t='link[rel=import]',w='import-disable',x=`link[rel=stylesheet][href][type=${w}]`,y=`${t}, ${x},
*/(b=>{const c=!!('import'in document.createElement('link'));let d=null;!1=='currentScript'in document&&Object.defineProperty(document,'currentScript',{get(){return d||('complete'===document.readyState?null:document.scripts[document.scripts.length-1])},configurable:!0});const f=/(^\/)|(^#)|(^[\w-\d]*:)/,g=/(url\()([^)]*)(\))/g,h=/(@import[\s]+(?!url\())([^;]*)(;)/g,k=/(<link[^>]*)(rel=['|"]?stylesheet['|"]?[^>]*>)/g,o={fixUrls(L,M){L.href&&L.setAttribute('href',o.replaceAttrUrl(L.getAttribute('href'),M)),L.src&&L.setAttribute('src',o.replaceAttrUrl(L.getAttribute('src'),M)),'style'===L.localName&&o.resolveUrlsInStyle(L,M)},fixUrlsInTemplates(L,M){const N=L.querySelectorAll('template');for(let O=0;O<N.length;O++)o.fixUrlsInTemplate(N[O],M)},fixUrlsInTemplate(L,M){const N=L.content||L,O=N.querySelectorAll('style, [src], [style]');for(let P=0;P<O.length;P++){const Q=O[P];'style'==Q.localName?o.resolveUrlsInStyle(Q,M):o.fixUrlAttributes(Q,M)}o.fixUrlsInTemplates(N,M)},fixUrlAttributes(L,M){const N=['src','style'];for(let P,O=0;O<N.length&&(P=N[O]);O++){const Q=L.attributes[P],R=Q&&Q.value;R&&0>R.search(/({{|\[\[)/)&&(Q.value='style'===P?o.resolveUrlsInCssText(R,M):o.replaceAttrUrl(R,M))}},resolveUrlsInStyle(L,M){L.textContent=o.resolveUrlsInCssText(L.textContent,M)},resolveUrlsInCssText(L,M){let N=o.replaceUrls(L,M,g);return N=o.replaceUrls(N,M,h),N},replaceUrls(L,M,N){return L.replace(N,(O,P,Q,R)=>{let S=Q.replace(/["']/g,'');return M&&(S=o.resolveUrl(S,M)),P+'\''+S+'\''+R})},replaceAttrUrl(L,M){return L&&f.test(L)?L:o.resolveUrl(L,M)},resolveUrl(L,M){if(void 0===o.__workingURL){o.__workingURL=!1;try{const O=new URL('b','http://a');O.pathname='c%20d',o.__workingURL='http://a/c%20d'===O.href}catch(O){}}if(o.__workingURL)return new URL(L,M).href;let N=o.__tempDoc;return N||(N=document.implementation.createHTMLDocument('temp'),o.__tempDoc=N,N.__base=N.createElement('base'),N.head.appendChild(N.__base),N.__anchor=N.createElement('a')),N.__base.href=M,N.__anchor.href=L,N.__anchor.href||L}},p={async:!0,load(L,M,N){if(!L)N('error: href must be specified');else if(L.match(/^data:/)){const O=L.split(','),P=O[0];let Q=O[1];Q=-1<P.indexOf(';base64')?atob(Q):decodeURIComponent(Q),M(Q)}else{const O=new XMLHttpRequest;O.open('GET',L,p.async),O.onload=()=>{let P=O.getResponseHeader('Location');if(P&&0===P.indexOf('/')){const R=location.origin||location.protocol+'//'+location.host;P=R+P}const Q=O.response||O.responseText;304===O.status||0===O.status||200<=O.status&&300>O.status?M(Q,P):N(Q)},O.send()}}},q=/Trident/.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent),t='link[rel=import]',w='import-disable',x=`link[rel=stylesheet][href][type=${w}]`,y=`${t}, ${x},
style:not([type]), link[rel=stylesheet][href]:not([type]),
script:not([type]), script[type="application/javascript"],
script[type="text/javascript"]`,z='import-dependency',A=`${t}:not(${z})`,B=`script[${z}]`,C=`style[${z}],

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long