This repository has been archived by the owner on Jun 7, 2024. It is now read-only.
forked from speced/respec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
respec-w3c-common.js
123 lines (123 loc) · 382 KB
/
respec-w3c-common.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
"use strict";var requirejs,require,define;window.respecVersion="19.1.0",function(global,setTimeout){var req,s,head,baseElement,dataMain,src,interactiveScript,currentlyAddingScript,mainScript,subPath,version="2.3.5",commentRegExp=/\/\*[\s\S]*?\*\/|([^:"'=]|^)\/\/.*$/gm,cjsRequireRegExp=/[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g,jsSuffixRegExp=/\.js$/,currDirRegExp=/^\.\//,op=Object.prototype,ostring=op.toString,hasOwn=op.hasOwnProperty,isBrowser=!("undefined"==typeof window||"undefined"==typeof navigator||!window.document),isWebWorker=!isBrowser&&"undefined"!=typeof importScripts,readyRegExp=isBrowser&&"PLAYSTATION 3"===navigator.platform?/^complete$/:/^(complete|loaded)$/,defContextName="_",isOpera="undefined"!=typeof opera&&"[object Opera]"===opera.toString(),contexts={},cfg={},globalDefQueue=[],useInteractive=!1;function commentReplace(e,t){return t||""}function isFunction(e){return"[object Function]"===ostring.call(e)}function isArray(e){return"[object Array]"===ostring.call(e)}function each(e,t){var n;if(e)for(n=0;n<e.length&&(!e[n]||!t(e[n],n,e));n+=1);}function eachReverse(e,t){var n;if(e)for(n=e.length-1;n>-1&&(!e[n]||!t(e[n],n,e));n-=1);}function hasProp(e,t){return hasOwn.call(e,t)}function getOwn(e,t){return hasProp(e,t)&&e[t]}function eachProp(e,t){var n;for(n in e)if(hasProp(e,n)&&t(e[n],n))break}function mixin(e,t,n,r){return t&&eachProp(t,function(t,i){!n&&hasProp(e,i)||(!r||"object"!=typeof t||!t||isArray(t)||isFunction(t)||t instanceof RegExp?e[i]=t:(e[i]||(e[i]={}),mixin(e[i],t,n,r)))}),e}function bind(e,t){return function(){return t.apply(e,arguments)}}function scripts(){return document.getElementsByTagName("script")}function defaultOnError(e){throw e}function getGlobal(e){if(!e)return e;var t=global;return each(e.split("."),function(e){t=t[e]}),t}function makeError(e,t,n,r){var i=new Error(t+"\nhttp://requirejs.org/docs/errors.html#"+e);return i.requireType=e,i.requireModules=r,n&&(i.originalError=n),i}if(void 0===define){if(void 0!==requirejs){if(isFunction(requirejs))return;cfg=requirejs,requirejs=void 0}void 0===require||isFunction(require)||(cfg=require,require=void 0),req=requirejs=function(e,t,n,r){var i,a,o=defContextName;return isArray(e)||"string"==typeof e||(a=e,isArray(t)?(e=t,t=n,n=r):e=[]),a&&a.context&&(o=a.context),(i=getOwn(contexts,o))||(i=contexts[o]=req.s.newContext(o)),a&&i.configure(a),i.require(e,t,n)},req.config=function(e){return req(e)},req.nextTick=void 0!==setTimeout?function(e){setTimeout(e,4)}:function(e){e()},require||(require=req),req.version=version,req.jsExtRegExp=/^\/|:|\?|\.js$/,req.isBrowser=isBrowser,s=req.s={contexts:contexts,newContext:newContext},req({}),each(["toUrl","undef","defined","specified"],function(e){req[e]=function(){var t=contexts[defContextName];return t.require[e].apply(t,arguments)}}),isBrowser&&(head=s.head=document.getElementsByTagName("head")[0],baseElement=document.getElementsByTagName("base")[0],baseElement&&(head=s.head=baseElement.parentNode)),req.onError=defaultOnError,req.createNode=function(e,t,n){var r=e.xhtml?document.createElementNS("http://www.w3.org/1999/xhtml","html:script"):document.createElement("script");return r.type=e.scriptType||"text/javascript",r.charset="utf-8",r.async=!0,r},req.load=function(e,t,n){var r,i=e&&e.config||{};if(isBrowser)return(r=req.createNode(i,t,n)).setAttribute("data-requirecontext",e.contextName),r.setAttribute("data-requiremodule",t),!r.attachEvent||r.attachEvent.toString&&r.attachEvent.toString().indexOf("[native code")<0||isOpera?(r.addEventListener("load",e.onScriptLoad,!1),r.addEventListener("error",e.onScriptError,!1)):(useInteractive=!0,r.attachEvent("onreadystatechange",e.onScriptLoad)),r.src=n,i.onNodeCreated&&i.onNodeCreated(r,i,t,n),currentlyAddingScript=r,baseElement?head.insertBefore(r,baseElement):head.appendChild(r),currentlyAddingScript=null,r;if(isWebWorker)try{setTimeout(function(){},0),importScripts(n),e.completeLoad(t)}catch(r){e.onError(makeError("importscripts","importScripts failed for "+t+" at "+n,r,[t]))}},isBrowser&&!cfg.skipDataMain&&eachReverse(scripts(),function(e){if(head||(head=e.parentNode),dataMain=e.getAttribute("data-main"))return mainScript=dataMain,cfg.baseUrl||-1!==mainScript.indexOf("!")||(src=mainScript.split("/"),mainScript=src.pop(),subPath=src.length?src.join("/")+"/":"./",cfg.baseUrl=subPath),mainScript=mainScript.replace(jsSuffixRegExp,""),req.jsExtRegExp.test(mainScript)&&(mainScript=dataMain),cfg.deps=cfg.deps?cfg.deps.concat(mainScript):[mainScript],!0}),define=function(e,t,n){var r,i;"string"!=typeof e&&(n=t,t=e,e=null),isArray(t)||(n=t,t=null),!t&&isFunction(n)&&(t=[],n.length&&(n.toString().replace(commentRegExp,commentReplace).replace(cjsRequireRegExp,function(e,n){t.push(n)}),t=(1===n.length?["require"]:["require","exports","module"]).concat(t))),useInteractive&&(r=currentlyAddingScript||getInteractiveScript())&&(e||(e=r.getAttribute("data-requiremodule")),i=contexts[r.getAttribute("data-requirecontext")]),i?(i.defQueue.push([e,t,n]),i.defQueueMap[e]=!0):globalDefQueue.push([e,t,n])},define.amd={jQuery:!0},req.exec=function(text){return eval(text)},req(cfg)}function newContext(e){var t,n,r,i,a,o={waitSeconds:7,baseUrl:"./",paths:{},bundles:{},pkgs:{},shim:{},config:{}},l={},s={},u={},c=[],d={},p={},f={},h=1,m=1;function g(e,t,n){var r,i,a,l,s,u,c,d,p,f,h=t&&t.split("/"),m=o.map,g=m&&m["*"];if(e&&(u=(e=e.split("/")).length-1,o.nodeIdCompat&&jsSuffixRegExp.test(e[u])&&(e[u]=e[u].replace(jsSuffixRegExp,"")),"."===e[0].charAt(0)&&h&&(e=h.slice(0,h.length-1).concat(e)),function(e){var t,n;for(t=0;t<e.length;t++)if("."===(n=e[t]))e.splice(t,1),t-=1;else if(".."===n){if(0===t||1===t&&".."===e[2]||".."===e[t-1])continue;t>0&&(e.splice(t-1,2),t-=2)}}(e),e=e.join("/")),n&&m&&(h||g)){i=e.split("/");e:for(a=i.length;a>0;a-=1){if(s=i.slice(0,a).join("/"),h)for(l=h.length;l>0;l-=1)if((r=getOwn(m,h.slice(0,l).join("/")))&&(r=getOwn(r,s))){c=r,d=a;break e}!p&&g&&getOwn(g,s)&&(p=getOwn(g,s),f=a)}!c&&p&&(c=p,d=f),c&&(i.splice(0,d,c),e=i.join("/"))}return getOwn(o.pkgs,e)||e}function b(e){isBrowser&&each(scripts(),function(t){if(t.getAttribute("data-requiremodule")===e&&t.getAttribute("data-requirecontext")===r.contextName)return t.parentNode.removeChild(t),!0})}function v(e){var t=getOwn(o.paths,e);if(t&&isArray(t)&&t.length>1)return t.shift(),r.require.undef(e),r.makeRequire(null,{skipMap:!0})([e]),!0}function y(e){var t,n=e?e.indexOf("!"):-1;return n>-1&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e]}function w(e,t,n,i){var a,o,l,s,u=null,c=t?t.name:null,p=e,f=!0,b="";return e||(f=!1,e="_@r"+(h+=1)),u=(s=y(e))[0],e=s[1],u&&(u=g(u,c,i),o=getOwn(d,u)),e&&(u?b=n?e:o&&o.normalize?o.normalize(e,function(e){return g(e,c,i)}):-1===e.indexOf("!")?g(e,c,i):e:(u=(s=y(b=g(e,c,i)))[0],b=s[1],n=!0,a=r.nameToUrl(b))),{prefix:u,name:b,parentMap:t,unnormalized:!!(l=!u||o||n?"":"_unnormalized"+(m+=1)),url:a,originalName:p,isDefine:f,id:(u?u+"!"+b:b)+l}}function x(e){var t=e.id,n=getOwn(l,t);return n||(n=l[t]=new r.Module(e)),n}function C(e,t,n){var r=e.id,i=getOwn(l,r);!hasProp(d,r)||i&&!i.defineEmitComplete?(i=x(e)).error&&"error"===t?n(i.error):i.on(t,n):"defined"===t&&n(d[r])}function E(e,t){var n=e.requireModules,r=!1;t?t(e):(each(n,function(t){var n=getOwn(l,t);n&&(n.error=e,n.events.error&&(r=!0,n.emit("error",e)))}),r||req.onError(e))}function k(){globalDefQueue.length&&(each(globalDefQueue,function(e){var t=e[0];"string"==typeof t&&(r.defQueueMap[t]=!0),c.push(e)}),globalDefQueue=[])}function T(e){delete l[e],delete s[e]}function S(){var e,n,i=1e3*o.waitSeconds,u=i&&r.startTime+i<(new Date).getTime(),c=[],p=[],f=!1,h=!0;if(!t){if(t=!0,eachProp(s,function(e){var t=e.map,r=t.id;if(e.enabled&&(t.isDefine||p.push(e),!e.error))if(!e.inited&&u)v(r)?(n=!0,f=!0):(c.push(r),b(r));else if(!e.inited&&e.fetched&&t.isDefine&&(f=!0,!t.prefix))return h=!1}),u&&c.length)return(e=makeError("timeout","Load timeout for modules: "+c,null,c)).contextName=r.contextName,E(e);h&&each(p,function(e){!function e(t,n,r){var i=t.map.id;t.error?t.emit("error",t.error):(n[i]=!0,each(t.depMaps,function(i,a){var o=i.id,s=getOwn(l,o);!s||t.depMatched[a]||r[o]||(getOwn(n,o)?(t.defineDep(a,d[o]),t.check()):e(s,n,r))}),r[i]=!0)}(e,{},{})}),u&&!n||!f||!isBrowser&&!isWebWorker||a||(a=setTimeout(function(){a=0,S()},50)),t=!1}}function L(e){hasProp(d,e[0])||x(w(e[0],null,!0)).init(e[1],e[2])}function D(e,t,n,r){e.detachEvent&&!isOpera?r&&e.detachEvent(r,t):e.removeEventListener(n,t,!1)}function A(e){var t=e.currentTarget||e.srcElement;return D(t,r.onScriptLoad,"load","onreadystatechange"),D(t,r.onScriptError,"error"),{node:t,id:t&&t.getAttribute("data-requiremodule")}}function R(){var e;for(k();c.length;){if(null===(e=c.shift())[0])return E(makeError("mismatch","Mismatched anonymous define() module: "+e[e.length-1]));L(e)}r.defQueueMap={}}return i={require:function(e){return e.require?e.require:e.require=r.makeRequire(e.map)},exports:function(e){if(e.usingExports=!0,e.map.isDefine)return e.exports?d[e.map.id]=e.exports:e.exports=d[e.map.id]={}},module:function(e){return e.module?e.module:e.module={id:e.map.id,uri:e.map.url,config:function(){return getOwn(o.config,e.map.id)||{}},exports:e.exports||(e.exports={})}}},(n=function(e){this.events=getOwn(u,e.id)||{},this.map=e,this.shim=getOwn(o.shim,e.id),this.depExports=[],this.depMaps=[],this.depMatched=[],this.pluginMaps={},this.depCount=0}).prototype={init:function(e,t,n,r){r=r||{},this.inited||(this.factory=t,n?this.on("error",n):this.events.error&&(n=bind(this,function(e){this.emit("error",e)})),this.depMaps=e&&e.slice(0),this.errback=n,this.inited=!0,this.ignore=r.ignore,r.enabled||this.enabled?this.enable():this.check())},defineDep:function(e,t){this.depMatched[e]||(this.depMatched[e]=!0,this.depCount-=1,this.depExports[e]=t)},fetch:function(){if(!this.fetched){this.fetched=!0,r.startTime=(new Date).getTime();var e=this.map;if(!this.shim)return e.prefix?this.callPlugin():this.load();r.makeRequire(this.map,{enableBuildCallback:!0})(this.shim.deps||[],bind(this,function(){return e.prefix?this.callPlugin():this.load()}))}},load:function(){var e=this.map.url;p[e]||(p[e]=!0,r.load(this.map.id,e))},check:function(){if(this.enabled&&!this.enabling){var e,t,n=this.map.id,i=this.depExports,a=this.exports,o=this.factory;if(this.inited){if(this.error)this.emit("error",this.error);else if(!this.defining){if(this.defining=!0,this.depCount<1&&!this.defined){if(isFunction(o)){if(this.events.error&&this.map.isDefine||req.onError!==defaultOnError)try{a=r.execCb(n,o,i,a)}catch(t){e=t}else a=r.execCb(n,o,i,a);if(this.map.isDefine&&void 0===a&&((t=this.module)?a=t.exports:this.usingExports&&(a=this.exports)),e)return e.requireMap=this.map,e.requireModules=this.map.isDefine?[this.map.id]:null,e.requireType=this.map.isDefine?"define":"require",E(this.error=e)}else a=o;if(this.exports=a,this.map.isDefine&&!this.ignore&&(d[n]=a,req.onResourceLoad)){var l=[];each(this.depMaps,function(e){l.push(e.normalizedMap||e)}),req.onResourceLoad(r,this.map,l)}T(n),this.defined=!0}this.defining=!1,this.defined&&!this.defineEmitted&&(this.defineEmitted=!0,this.emit("defined",this.exports),this.defineEmitComplete=!0)}}else hasProp(r.defQueueMap,n)||this.fetch()}},callPlugin:function(){var e=this.map,t=e.id,n=w(e.prefix);this.depMaps.push(n),C(n,"defined",bind(this,function(n){var i,a,s,u=getOwn(f,this.map.id),c=this.map.name,d=this.map.parentMap?this.map.parentMap.name:null,p=r.makeRequire(e.parentMap,{enableBuildCallback:!0});return this.map.unnormalized?(n.normalize&&(c=n.normalize(c,function(e){return g(e,d,!0)})||""),C(a=w(e.prefix+"!"+c,this.map.parentMap,!0),"defined",bind(this,function(e){this.map.normalizedMap=a,this.init([],function(){return e},null,{enabled:!0,ignore:!0})})),void((s=getOwn(l,a.id))&&(this.depMaps.push(a),this.events.error&&s.on("error",bind(this,function(e){this.emit("error",e)})),s.enable()))):u?(this.map.url=r.nameToUrl(u),void this.load()):((i=bind(this,function(e){this.init([],function(){return e},null,{enabled:!0})})).error=bind(this,function(e){this.inited=!0,this.error=e,e.requireModules=[t],eachProp(l,function(e){0===e.map.id.indexOf(t+"_unnormalized")&&T(e.map.id)}),E(e)}),i.fromText=bind(this,function(n,a){var l=e.name,s=w(l),u=useInteractive;a&&(n=a),u&&(useInteractive=!1),x(s),hasProp(o.config,t)&&(o.config[l]=o.config[t]);try{req.exec(n)}catch(e){return E(makeError("fromtexteval","fromText eval for "+t+" failed: "+e,e,[t]))}u&&(useInteractive=!0),this.depMaps.push(s),r.completeLoad(l),p([l],i)}),void n.load(e.name,p,i,o))})),r.enable(n,this),this.pluginMaps[n.id]=n},enable:function(){s[this.map.id]=this,this.enabled=!0,this.enabling=!0,each(this.depMaps,bind(this,function(e,t){var n,a,o;if("string"==typeof e){if(e=w(e,this.map.isDefine?this.map:this.map.parentMap,!1,!this.skipMap),this.depMaps[t]=e,o=getOwn(i,e.id))return void(this.depExports[t]=o(this));this.depCount+=1,C(e,"defined",bind(this,function(e){this.undefed||(this.defineDep(t,e),this.check())})),this.errback?C(e,"error",bind(this,this.errback)):this.events.error&&C(e,"error",bind(this,function(e){this.emit("error",e)}))}n=e.id,a=l[n],hasProp(i,n)||!a||a.enabled||r.enable(e,this)})),eachProp(this.pluginMaps,bind(this,function(e){var t=getOwn(l,e.id);t&&!t.enabled&&r.enable(e,this)})),this.enabling=!1,this.check()},on:function(e,t){var n=this.events[e];n||(n=this.events[e]=[]),n.push(t)},emit:function(e,t){each(this.events[e],function(e){e(t)}),"error"===e&&delete this.events[e]}},(r={config:o,contextName:e,registry:l,defined:d,urlFetched:p,defQueue:c,defQueueMap:{},Module:n,makeModuleMap:w,nextTick:req.nextTick,onError:E,configure:function(e){if(e.baseUrl&&"/"!==e.baseUrl.charAt(e.baseUrl.length-1)&&(e.baseUrl+="/"),"string"==typeof e.urlArgs){var t=e.urlArgs;e.urlArgs=function(e,n){return(-1===n.indexOf("?")?"?":"&")+t}}var n=o.shim,i={paths:!0,bundles:!0,config:!0,map:!0};eachProp(e,function(e,t){i[t]?(o[t]||(o[t]={}),mixin(o[t],e,!0,!0)):o[t]=e}),e.bundles&&eachProp(e.bundles,function(e,t){each(e,function(e){e!==t&&(f[e]=t)})}),e.shim&&(eachProp(e.shim,function(e,t){isArray(e)&&(e={deps:e}),!e.exports&&!e.init||e.exportsFn||(e.exportsFn=r.makeShimExports(e)),n[t]=e}),o.shim=n),e.packages&&each(e.packages,function(e){var t;t=(e="string"==typeof e?{name:e}:e).name,e.location&&(o.paths[t]=e.location),o.pkgs[t]=e.name+"/"+(e.main||"main").replace(currDirRegExp,"").replace(jsSuffixRegExp,"")}),eachProp(l,function(e,t){e.inited||e.map.unnormalized||(e.map=w(t,null,!0))}),(e.deps||e.callback)&&r.require(e.deps||[],e.callback)},makeShimExports:function(e){return function(){var t;return e.init&&(t=e.init.apply(global,arguments)),t||e.exports&&getGlobal(e.exports)}},makeRequire:function(t,n){function a(o,s,u){var c,p;return n.enableBuildCallback&&s&&isFunction(s)&&(s.__requireJsBuild=!0),"string"==typeof o?isFunction(s)?E(makeError("requireargs","Invalid require call"),u):t&&hasProp(i,o)?i[o](l[t.id]):req.get?req.get(r,o,t,a):(c=w(o,t,!1,!0).id,hasProp(d,c)?d[c]:E(makeError("notloaded",'Module name "'+c+'" has not been loaded yet for context: '+e+(t?"":". Use require([])")))):(R(),r.nextTick(function(){R(),(p=x(w(null,t))).skipMap=n.skipMap,p.init(o,s,u,{enabled:!0}),S()}),a)}return n=n||{},mixin(a,{isBrowser:isBrowser,toUrl:function(e){var n,i=e.lastIndexOf("."),a=e.split("/")[0];return-1!==i&&(!("."===a||".."===a)||i>1)&&(n=e.substring(i,e.length),e=e.substring(0,i)),r.nameToUrl(g(e,t&&t.id,!0),n,!0)},defined:function(e){return hasProp(d,w(e,t,!1,!0).id)},specified:function(e){return e=w(e,t,!1,!0).id,hasProp(d,e)||hasProp(l,e)}}),t||(a.undef=function(e){k();var n=w(e,t,!0),i=getOwn(l,e);i.undefed=!0,b(e),delete d[e],delete p[n.url],delete u[e],eachReverse(c,function(t,n){t[0]===e&&c.splice(n,1)}),delete r.defQueueMap[e],i&&(i.events.defined&&(u[e]=i.events),T(e))}),a},enable:function(e){getOwn(l,e.id)&&x(e).enable()},completeLoad:function(e){var t,n,i,a=getOwn(o.shim,e)||{},s=a.exports;for(k();c.length;){if(null===(n=c.shift())[0]){if(n[0]=e,t)break;t=!0}else n[0]===e&&(t=!0);L(n)}if(r.defQueueMap={},i=getOwn(l,e),!t&&!hasProp(d,e)&&i&&!i.inited){if(!(!o.enforceDefine||s&&getGlobal(s)))return v(e)?void 0:E(makeError("nodefine","No define call for "+e,null,[e]));L([e,a.deps||[],a.exportsFn])}S()},nameToUrl:function(e,t,n){var i,a,l,s,u,c,d=getOwn(o.pkgs,e);if(d&&(e=d),c=getOwn(f,e))return r.nameToUrl(c,t,n);if(req.jsExtRegExp.test(e))s=e+(t||"");else{for(i=o.paths,l=(a=e.split("/")).length;l>0;l-=1)if(u=getOwn(i,a.slice(0,l).join("/"))){isArray(u)&&(u=u[0]),a.splice(0,l,u);break}s=a.join("/"),s=("/"===(s+=t||(/^data\:|^blob\:|\?/.test(s)||n?"":".js")).charAt(0)||s.match(/^[\w\+\.\-]+:/)?"":o.baseUrl)+s}return o.urlArgs&&!/^blob\:/.test(s)?s+o.urlArgs(e,s):s},load:function(e,t){req.load(r,e,t)},execCb:function(e,t,n,r){return t.apply(r,n)},onScriptLoad:function(e){if("load"===e.type||readyRegExp.test((e.currentTarget||e.srcElement).readyState)){interactiveScript=null;var t=A(e);r.completeLoad(t.id)}},onScriptError:function(e){var t=A(e);if(!v(t.id)){var n=[];return eachProp(l,function(e,r){0!==r.indexOf("_@r")&&each(e.depMaps,function(e){if(e.id===t.id)return n.push(r),!0})}),E(makeError("scripterror",'Script error for "'+t.id+(n.length?'", needed by: '+n.join(", "):'"'),e,[t.id]))}}}).require=r.makeRequire(),r}function getInteractiveScript(){return interactiveScript&&"interactive"===interactiveScript.readyState?interactiveScript:(eachReverse(scripts(),function(e){if("interactive"===e.readyState)return interactiveScript=e}),interactiveScript)}}(this,"undefined"==typeof setTimeout?void 0:setTimeout),define("deps/require",function(){});var hyperHTML=function(e){function t(){}var n=function(e,t){var n="_"+e+"$";return{get:function(){return this[n]||(this[e]=t.call(this,e))},set:function(e){Object.defineProperty(this,n,{configurable:!0,value:e})}}},r={},i=[],a=r.hasOwnProperty,o=0,l=function(e,t){e in r||(o=i.push(e)),r[e]=t},s=function(e,t){for(var n=0;n<o;n++){var l=i[n];if(a.call(e,l))return r[l](e[l],t)}},u=document.defaultView,c=1,d="ownerSVGElement",p="http://www.w3.org/2000/svg",f="connected",h="dis"+f,m=/^style|textarea$/i,g="_hyper: "+(Math.random()*new Date|0)+";",b="\x3c!--"+g+"--\x3e",v=u.Event;try{new v("Event")}catch(e){v=function(e){var t=document.createEvent("Event");return t.initEvent(e,!1,!1),t}}var y,w=u.Map||function(){var e=[],t=[];return{get:function(n){return t[e.indexOf(n)]},set:function(n,r){t[e.push(n)-1]=r}}},x=u.WeakMap||function(){return{get:function(e){return e[g]},set:function(e,t){Object.defineProperty(e,g,{configurable:!0,value:t})}}},C=u.WeakSet||function(){var e=new x;return{add:function(t){e.set(t,!0)},has:function(t){return!0===e.get(t)}}},E=Array.isArray||(y={}.toString,function(e){return"[object Array]"===y.call(e)}),k=g.trim||function(){return this.replace(/^\s+|\s+$/g,"")},T=function(e,t){return S(e).createElement(t)},S=function(e){return e.ownerDocument||e},L=function(e){return S(e).createDocumentFragment()},D=function(e,t){return S(e).createTextNode(t)},A="[^ \\f\\n\\r\\t\\/>\"'=]+",R="[^\\S]+"+A,P="<([a-z]+[a-z0-9:_-]*)((?:",M="(?:=(?:'.*?'|\".*?\"|<.+?>|"+A+"))?)",j=new RegExp(P+R+M+"+)([^\\S]*/?>)","gi"),N=new RegExp(P+R+M+"*)([^\\S]*/>)","gi"),I=L(document),_="append"in I,O="content"in T(document,"template");I.appendChild(D(I,"g")),I.appendChild(D(I,""));var $=1===I.cloneNode(!0).childNodes.length,q="importNode"in document,U=_?function(e,t){e.append.apply(e,t)}:function(e,t){for(var n=t.length,r=0;r<n;r++)e.appendChild(t[r])},W=new RegExp("("+R+"=)(['\"]?)"+b+"\\2","gi"),F=function(e,t,n,r){return"<"+t+n.replace(W,H)+r},H=function(e,t,n){return t+(n||'"')+g+(n||'"')},B=function(e,t){return(d in e?K:Q)(e,t.replace(j,F))},V=$?function(e){for(var t=e.cloneNode(),n=e.childNodes||[],r=n.length,i=0;i<r;i++)t.appendChild(V(n[i]));return t}:function(e){return e.cloneNode(!0)},G=q?function(e,t){return e.importNode(t,!0)}:function(e,t){return V(t)},z=[].slice,Y=function(e){return X(e)},X=function(e){if(e.propertyIsEnumerable("raw")||/Firefox\/(\d+)/.test((u.navigator||{}).userAgent)&&parseFloat(RegExp.$1)<55){var t={};X=function(e){var n="_"+e.join(g);return t[n]||(t[n]=e)}}else X=function(e){return e};return X(e)},Q=O?function(e,t){var n=T(e,"template");return n.innerHTML=t,n.content}:function(e,t){var n=T(e,"template"),r=L(e);if(/^[^\S]*?<(col(?:group)?|t(?:head|body|foot|r|d|h))/i.test(t)){var i=RegExp.$1;n.innerHTML="<table>"+t+"</table>",U(r,z.call(n.querySelectorAll(i)))}else n.innerHTML=t,U(r,z.call(n.childNodes));return r},K=O?function(e,t){var n=L(e),r=S(e).createElementNS(p,"svg");return r.innerHTML=t,U(n,z.call(r.childNodes)),n}:function(e,t){var n=L(e),r=T(e,"div");return r.innerHTML='<svg xmlns="'+p+'">'+t+"</svg>",U(n,z.call(r.firstChild.childNodes)),n};function Z(e){this.childNodes=e,this.length=e.length,this.first=e[0],this.last=e[this.length-1]}Z.prototype.insert=function(){var e=L(this.first);return U(e,this.childNodes),e},Z.prototype.remove=function(){var e=this.first,t=this.last;if(2===this.length)t.parentNode.removeChild(t);else{var n=S(e).createRange();n.setStartBefore(this.childNodes[1]),n.setEndAfter(t),n.deleteContents()}return e};var J=function(e,t,n){e.unshift(e.indexOf.call(t.childNodes,n))},ee=function(e,t,n){return{type:e,name:n,node:t,path:function(e){var t=[],n=void 0;switch(e.nodeType){case c:case 11:n=e;break;case 8:n=e.parentNode,J(t,n,e);break;default:n=e.ownerElement}for(e=n;n=n.parentNode;e=n)J(t,n,e);return t}(t)}},te=function(e,t){for(var n=t.length,r=0;r<n;r++)e=e.childNodes[t[r]];return e},ne=/acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i,re=function(e,t){var n=void 0,r=void 0;return function(i){switch(typeof i){case"object":if(i){if("object"===n){if(!t&&r!==i)for(var a in r)a in i||(e[a]="")}else t?e.value="":e.cssText="";var o=t?{}:e;for(var l in i){var s=i[l];o[l]="number"!=typeof s||ne.test(l)?s:s+"px"}n="object",t?e.value=oe(r=o):r=i;break}default:r!=i&&(n="string",r=i,t?e.value=i||"":e.cssText=i||"")}}},ie=/([^A-Z])([A-Z]+)/g,ae=function(e,t,n){return t+"-"+n.toLowerCase()},oe=function(e){var t=[];for(var n in e)t.push(n.replace(ie,ae),":",e[n],";");return t.join("")},le=function(e){return e},se=function(e,t,n,r,i){for(var a=r||le,o=null==i?null:a(i,0),l=0,s=0,u=t.length-1,c=t[0],d=t[u],p=n.length-1,f=n[0],h=n[p];l<=u&&s<=p;)if(null==c)c=t[++l];else if(null==d)d=t[--u];else if(null==f)f=n[++s];else if(null==h)h=n[--p];else if(c==f)c=t[++l],f=n[++s];else if(d==h)d=t[--u],h=n[--p];else if(c==h)e.insertBefore(a(c,1),a(d,-0).nextSibling),c=t[++l],h=n[--p];else if(d==f)e.insertBefore(a(d,1),a(c,0)),d=t[--u],f=n[++s];else{var m=t.indexOf(f);if(m<0)e.insertBefore(a(f,1),a(c,0)),f=n[++s];else{var g=t[m];t[m]=null,e.insertBefore(a(g,1),a(c,0)),f=n[++s]}}if(l<=u||s<=p)if(l>u){var b=n[p+1],v=null==b?o:a(b,0);if(s===p)e.insertBefore(a(n[s],1),v);else{for(var y=e.ownerDocument.createDocumentFragment();s<=p;)y.appendChild(a(n[s++],1));e.insertBefore(y,v)}}else if(null==t[l]&&l++,l===u)e.removeChild(a(t[l],-1));else{var w=e.ownerDocument.createRange();w.setStartBefore(a(t[l],-1)),w.setEndAfter(a(t[u],-1)),w.deleteContents()}return n},ue=new C;function ce(){}ce.prototype=Object.create(null);var de=function(e){return{html:e}},pe=function e(t,n){return"ELEMENT_NODE"in t?t:t.constructor===Z?1/n<0?n?t.remove():t.last:n?t.insert():t.first:e(t.render(),n)},fe=function(e,t,n){for(var r=new ce,i=e.attributes,a=z.call(i),o=[],l=a.length,s=0;s<l;s++){var u=a[s];if(u.value===g){var c=u.name;if(!(c in r)){var d=n.shift().replace(/^(?:|[\S\s]*?\s)(\S+?)=['"]?$/,"$1");r[c]=i[d]||i[d.toLowerCase()],t.push(ee("attr",r[c],d))}o.push(u)}}for(var p=o.length,f=0;f<p;f++)e.removeAttributeNode(o[f]);var h=e.nodeName;if(/^script$/i.test(h)){for(var m=T(e,h),b=0;b<i.length;b++)m.setAttributeNode(i[b].cloneNode(!0));m.textContent=e.textContent,e.parentNode.replaceChild(m,e)}},he=function(e,t){t(e.placeholder),"text"in e?Promise.resolve(e.text).then(String).then(t):"any"in e?Promise.resolve(e.any).then(t):"html"in e?Promise.resolve(e.html).then(de).then(t):Promise.resolve(s(e,t)).then(t)},me=function(e){return null!=e&&"then"in e},ge=function(e,n){var r=!1,i=void 0;return function a(o){switch(typeof o){case"string":case"number":case"boolean":r?i!==o&&(i=o,n[0].textContent=o):(r=!0,i=o,n=se(e.parentNode,n,[D(e,o)],pe,e));break;case"object":case"undefined":if(null==o){r=!1,n=se(e.parentNode,n,[],pe,e);break}default:if(r=!1,i=o,E(o))if(0===o.length)n.length&&(n=se(e.parentNode,n,[],pe,e));else switch(typeof o[0]){case"string":case"number":case"boolean":a({html:o});break;case"object":if(E(o[0])&&(o=o.concat.apply([],o)),me(o[0])){Promise.all(o).then(a);break}default:n=se(e.parentNode,n,o,pe,e)}else l=o,"ELEMENT_NODE"in l||l instanceof Z||l instanceof t?n=se(e.parentNode,n,11===o.nodeType?z.call(o.childNodes):[o],pe,e):me(o)?o.then(a):"placeholder"in o?he(o,a):"text"in o?a(String(o.text)):"any"in o?a(o.any):"html"in o?n=se(e.parentNode,n,z.call(B(e,[].concat(o.html).join("")).childNodes),pe,e):a("length"in o?z.call(o):s(o,a))}var l}},be=function(e,t,n){var r=d in e,i=void 0;if("style"===t)return function(e,t,n){if(n){var r=t.cloneNode(!0);return r.value="",e.setAttributeNode(r),re(r,n)}return re(e.style,n)}(e,n,r);if(/^on/.test(t)){var a=t.slice(2);return a===f||a===h?(we&&(we=!1,function(){var e=function(e,n){for(var r=new v(n),i=e.length,a=0;a<i;a++){var o=e[a];o.nodeType===c&&t(o,r)}},t=function e(t,n){if(ue.has(t))t.dispatchEvent(n);else for(var r=t.children,i=r.length,a=0;a<i;a++)e(r[a],n)};try{new MutationObserver(function(t){for(var n=t.length,r=0;r<n;r++){var i=t[r];e(i.removedNodes,h),e(i.addedNodes,f)}}).observe(document,{subtree:!0,childList:!0})}catch(t){document.addEventListener("DOMNodeRemoved",function(t){e([t.target],h)},!1),document.addEventListener("DOMNodeInserted",function(t){e([t.target],f)},!1)}}()),ue.add(e)):t.toLowerCase()in e&&(a=a.toLowerCase()),function(t){i!==t&&(i&&e.removeEventListener(a,i,!1),i=t,t&&e.addEventListener(a,t,!1))}}if("data"===t||!r&&t in e)return function(n){i!==n&&(i=n,e[t]!==n&&(e[t]=n,null==n&&e.removeAttribute(t)))};var o=!1,l=n.cloneNode(!0);return function(t){i!==t&&(i=t,l.value!==t&&(null==t?(o&&(o=!1,e.removeAttributeNode(l)),l.value=t):(l.value=t,o||(o=!0,e.setAttributeNode(l)))))}},ve=function(e){var t=void 0;return function n(r){t!==r&&(t=r,"object"==typeof r&&r?me(r)?r.then(n):"placeholder"in r?he(r,n):n("text"in r?String(r.text):"any"in r?r.any:"html"in r?[].concat(r.html).join(""):"length"in r?z.call(r).join(""):s(r,n)):e.textContent=null==r?"":r)}},ye={create:function(e,t){for(var n=[],r=t.length,i=0;i<r;i++){var a=t[i],o=te(e,a.path);switch(a.type){case"any":n.push(ge(o,[]));break;case"attr":n.push(be(o,a.name,a.node));break;case"text":n.push(ve(o))}}return n},find:function e(t,n,r){for(var i=t.childNodes,a=i.length,o=0;o<a;o++){var l=i[o];switch(l.nodeType){case c:fe(l,n,r),e(l,n,r);break;case 8:l.textContent===g&&(r.shift(),n.push(m.test(t.nodeName)?ee("text",t):ee("any",l)));break;case 3:m.test(t.nodeName)&&k.call(l.textContent)===b&&(r.shift(),n.push(ee("text",t)))}}}},we=!0;var xe=new x,Ce=new w;function Ee(e){var t=xe.get(this);return t&&t.template===Y(e)?ke.apply(t.updates,arguments):function(e){e=Y(e);var t=Ce.get(e)||function(e){var t=[],n=e.join(b).replace(Se,Le),r=B(this,n);ye.find(r,t,e.slice());var i={fragment:r,paths:t};return Ce.set(e,i),i}.call(this,e),n=G(this.ownerDocument,t.fragment),r=ye.create(n,t.paths);xe.set(this,{template:e,updates:r}),ke.apply(r,arguments),this.textContent="",this.appendChild(n)}.apply(this,arguments),this}function ke(){for(var e=arguments.length,t=1;t<e;t++)this[t-1](arguments[t])}var Te,Se=N,Le=function(e,t,n){return De.test(t)?e:"<"+t+n+"></"+t+">"},De=/^area|base|br|col|embed|hr|img|input|link|meta|param|source|track|wbr$/i,Ae=new x,Re=function(e,t){return null==e?Pe(t||"html"):Me(e,t||"html")},Pe=function(e){var t=void 0,n=void 0,r=void 0,i=void 0,a=void 0;return function(o){o=Y(o);var l=i!==o;return l&&(i=o,r=L(document),n="svg"===e?document.createElementNS(p,"svg"):r,a=Ee.bind(n)),a.apply(null,arguments),l&&("svg"===e&&U(r,z.call(n.childNodes)),t=je(r)),t}},Me=function(e,t){var n=t.indexOf(":"),r=Ae.get(e),i=t;return-1<n&&(i=t.slice(n+1),t=t.slice(0,n)||"html"),r||Ae.set(e,r={}),r[i]||(r[i]=Pe(t))},je=function(e){for(var t=e.childNodes,n=t.length,r=[],i=0;i<n;i++){var a=t[i];a.nodeType!==c&&0===k.call(a.textContent).length||r.push(a)}return 1===r.length?r[0]:new Z(r)},Ne=l;function Ie(e){return arguments.length<2?null==e?Pe("html"):"string"==typeof e?Re(null,e):"raw"in e?Pe("html")(e):"nodeType"in e?Ee.bind(e):Me(e,"html"):("raw"in e?Pe("html"):Re).apply(null,arguments)}return Ie.Component=t,Ie.bind=function(e){return Ee.bind(e)},Ie.define=Ne,Ie.diff=se,Ie.hyper=Ie,Ie.wire=Re,Te=Pe,Object.defineProperties(t.prototype,{handleEvent:{value:function(e){var t=e.currentTarget;this["getAttribute"in t&&t.getAttribute("data-call")||"on"+e.type](e)}},html:n("html",Te),svg:n("svg",Te),state:n("state",function(){return this.defaultState}),defaultState:{get:function(){return{}}},setState:{value:function(e){var t=this.state,n="function"==typeof e?e.call(this,t):e;for(var r in n)t[r]=n[r];this.render()}}}),Ie}(window);define("deps/hyperhtml",function(){});var URLSearchParams=URLSearchParams||function(){function e(e){var n,r,i,a,o,c,d=Object.create(null);if(this[l]=d,e)if("string"==typeof e)for("?"===e.charAt(0)&&(e=e.slice(1)),o=0,c=(a=e.split("&")).length;o<c;o++)-1<(n=(i=a[o]).indexOf("="))?s(d,u(i.slice(0,n)),u(i.slice(n+1))):i.length&&s(d,u(i),"");else if(t(e))for(o=0,c=e.length;o<c;o++)s(d,(i=e[o])[0],i[1]);else for(r in e)s(d,r,e[r])}var t=Array.isArray,n=e.prototype,r=/[!'\(\)~]|%20|%00/g,i=/\+/g,a={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"},o=function(e){return a[e]},l="__URLSearchParams__:"+Math.random();function s(e,n,r){n in e?e[n].push(""+r):e[n]=t(r)?r:[""+r]}function u(e){return decodeURIComponent(e.replace(i," "))}function c(e){return encodeURIComponent(e).replace(r,o)}n.append=function(e,t){s(this[l],e,t)},n.delete=function(e){delete this[l][e]},n.get=function(e){var t=this[l];return e in t?t[e][0]:null},n.getAll=function(e){var t=this[l];return e in t?t[e].slice(0):[]},n.has=function(e){return e in this[l]},n.set=function(e,t){this[l][e]=[""+t]},n.forEach=function(e,t){var n=this[l];Object.getOwnPropertyNames(n).forEach(function(r){n[r].forEach(function(n){e.call(t,n,r,this)},this)},this)},n.toJSON=function(){return{}},n.toString=function(){var e,t,n,r,i=this[l],a=[];for(t in i)for(n=c(t),e=0,r=i[t];e<r.length;e++)a.push(n+"="+c(r[e]));return a.join("&")};var d=Object.defineProperty,p=Object.getOwnPropertyDescriptor,f=function(t){var r=t.append;t.append=n.append,e.call(t,t._usp.search.slice(1)),t.append=r},h=function(e,t){if(!(e instanceof t))throw new TypeError("'searchParams' accessed on an object that does not implement interface "+t.name)},m=function(t){var r,i,a=t.prototype,o=p(a,"searchParams"),l=p(a,"href"),s=p(a,"search");!o&&s&&s.set&&(i=function(e){function t(t,r){n.append.call(this,t,r),t=this.toString(),e.set.call(this._usp,t?"?"+t:"")}function r(t){n.delete.call(this,t),t=this.toString(),e.set.call(this._usp,t?"?"+t:"")}function i(t,r){n.set.call(this,t,r),t=this.toString(),e.set.call(this._usp,t?"?"+t:"")}return function(e,n){return e.append=t,e.delete=r,e.set=i,d(e,"_usp",{configurable:!0,writable:!0,value:n})}}(s),r=function(e,t){return d(e,"_searchParams",{configurable:!0,writable:!0,value:i(t,e)}),t},Object.defineProperties(a,{href:{get:function(){return l.get.call(this)},set:function(e){var t=this._searchParams;l.set.call(this,e),t&&f(t)}},search:{get:function(){return s.get.call(this)},set:function(e){var t=this._searchParams;s.set.call(this,e),t&&f(t)}},searchParams:{get:function(){return h(this,t),this._searchParams||r(this,new e(this.search.slice(1)))},set:function(e){h(this,t),r(this,e)}}}))};return m(HTMLAnchorElement),/^function|object$/.test(typeof URL)&&URL.prototype&&m(URL),e}(),Do,Eo;Do=URLSearchParams.prototype,Eo=function(){try{return!!Symbol.iterator}catch(e){return!1}}(),"forEach"in Do||(Do.forEach=function(e,t){var n=Object.create(null);this.toString().replace(/=[\s\S]*?(?:&|$)/g,"=").split("=").forEach(function(r){!r.length||r in n||(n[r]=this.getAll(r)).forEach(function(n){e.call(t,n,r,this)},this)},this)}),"keys"in Do||(Do.keys=function(){var e=[];this.forEach(function(t,n){e.push(n)});var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return Eo&&(t[Symbol.iterator]=function(){return t}),t}),"values"in Do||(Do.values=function(){var e=[];this.forEach(function(t){e.push(t)});var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return Eo&&(t[Symbol.iterator]=function(){return t}),t}),"entries"in Do||(Do.entries=function(){var e=[];this.forEach(function(t,n){e.push([n,t])});var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return Eo&&(t[Symbol.iterator]=function(){return t}),t}),!Eo||Symbol.iterator in Do||(Do[Symbol.iterator]=Do.entries),"sort"in Do||(Do.sort=function(){for(var e,t,n,r=this.entries(),i=r.next(),a=i.done,o=[],l=Object.create(null);!a;)t=(n=i.value)[0],o.push(t),t in l||(l[t]=[]),l[t].push(n[1]),a=(i=r.next()).done;for(o.sort(),e=0;e<o.length;e++)this.delete(o[e]);for(e=0;e<o.length;e++)t=o[e],this.append(t,l[t].shift())}),define("deps/url-search-params",function(){}),define("deps/domReady",[],function(){var e,t,n,r="undefined"!=typeof window&&window.document,i=!r,a=r?document:null,o=[];function l(){var e=o;i&&e.length&&(o=[],function(e){var t;for(t=0;t<e.length;t+=1)e[t](a)}(e))}function s(){i||(i=!0,n&&clearInterval(n),l())}if(r){if(document.addEventListener)document.addEventListener("DOMContentLoaded",s,!1),window.addEventListener("load",s,!1);else if(window.attachEvent){window.attachEvent("onload",s),t=document.createElement("div");try{e=null===window.frameElement}catch(e){}t.doScroll&&e&&window.external&&(n=setInterval(function(){try{t.doScroll(),s()}catch(e){}},30))}"complete"===document.readyState&&s()}function u(e){return i?e(a):o.push(e),u}return u.version="2.0.1",u.load=function(e,t,n,r){r.isBuild?n(null):u(n)},u}),define("core/pubsubhub",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.pub=function(e,...n){if(!t.has(e))return;if(Array.from(t.get(e)).forEach(e=>e.apply(void 0,n)),window.parent===window.self)return;var r=n.map(e=>String(JSON.stringify(e.stack||e)));window.parent.postMessage({topic:e,args:r},window.parent.location.origin)},e.sub=n,e.unsub=r;e.name="core/pubsubhub";const t=new Map;function n(e,i,a={once:!1}){return a.once?n(e,function t(...n){r({topic:e,cb:t}),i(...n)}):(t.has(e)?t.get(e).add(i):t.set(e,new Set([i])),{topic:e,cb:i})}function r({topic:e,cb:n}){const r=t.get(e);return r&&r.has(n)?r.delete(n):(console.warn("Already unsubscribed:",e,n),!1)}n("error",e=>{console.error(e,e.stack)}),n("warn",e=>{console.warn(e)})}),function(){var e={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:d,hr:/^( *[-*_]){3,} *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,nptable:d,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,blockquote:/^( *>[^\n]+(\n(?!def)[^\n]+)*\n*)+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:/^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/,def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +["(]([^\n]+)[")])? *(?:\n+|$)/,table:d,paragraph:/^((?:[^\n]+\n?(?!hr|heading|lheading|blockquote|tag|def))+)\n*/,text:/^[^\n]+/};function t(t){this.tokens=[],this.tokens.links={},this.options=t||f.defaults,this.rules=e.normal,this.options.gfm&&(this.options.tables?this.rules=e.tables:this.rules=e.gfm)}e.bullet=/(?:[*+-]|\d+\.)/,e.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,e.item=l(e.item,"gm")(/bull/g,e.bullet)(),e.list=l(e.list)(/bull/g,e.bullet)("hr","\\n+(?=\\1?(?:[-*_] *){3,}(?:\\n+|$))")("def","\\n+(?="+e.def.source+")")(),e.blockquote=l(e.blockquote)("def",e.def)(),e._tag="(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:/|[^\\w\\s@]*@)\\b",e.html=l(e.html)("comment",/<!--[\s\S]*?-->/)("closed",/<(tag)[\s\S]+?<\/\1>/)("closing",/<tag(?:"[^"]*"|'[^']*'|[^'">])*?>/)(/tag/g,e._tag)(),e.paragraph=l(e.paragraph)("hr",e.hr)("heading",e.heading)("lheading",e.lheading)("blockquote",e.blockquote)("tag","<"+e._tag)("def",e.def)(),e.normal=p({},e),e.gfm=p({},e.normal,{fences:/^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]*?)\s*\1 *(?:\n+|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),e.gfm.paragraph=l(e.paragraph)("(?!","(?!"+e.gfm.fences.source.replace("\\1","\\2")+"|"+e.list.source.replace("\\1","\\3")+"|")(),e.tables=p({},e.gfm,{nptable:/^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/,table:/^ *\|(.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/}),t.rules=e,t.lex=function(e,n){return new t(n).lex(e)},t.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},t.prototype.token=function(t,n,r){var i,a,o,l,s,u,c,d,p;for(t=t.replace(/^ +$/gm,"");t;)if((o=this.rules.newline.exec(t))&&(t=t.substring(o[0].length),o[0].length>1&&this.tokens.push({type:"space"})),o=this.rules.code.exec(t))t=t.substring(o[0].length),o=o[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",text:this.options.pedantic?o:o.replace(/\n+$/,"")});else if(o=this.rules.fences.exec(t))t=t.substring(o[0].length),this.tokens.push({type:"code",lang:o[2],text:o[3]||""});else if(o=this.rules.heading.exec(t))t=t.substring(o[0].length),this.tokens.push({type:"heading",depth:o[1].length,text:o[2]});else if(n&&(o=this.rules.nptable.exec(t))){for(t=t.substring(o[0].length),u={type:"table",header:o[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:o[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:o[3].replace(/\n$/,"").split("\n")},d=0;d<u.align.length;d++)/^ *-+: *$/.test(u.align[d])?u.align[d]="right":/^ *:-+: *$/.test(u.align[d])?u.align[d]="center":/^ *:-+ *$/.test(u.align[d])?u.align[d]="left":u.align[d]=null;for(d=0;d<u.cells.length;d++)u.cells[d]=u.cells[d].split(/ *\| */);this.tokens.push(u)}else if(o=this.rules.lheading.exec(t))t=t.substring(o[0].length),this.tokens.push({type:"heading",depth:"="===o[2]?1:2,text:o[1]});else if(o=this.rules.hr.exec(t))t=t.substring(o[0].length),this.tokens.push({type:"hr"});else if(o=this.rules.blockquote.exec(t))t=t.substring(o[0].length),this.tokens.push({type:"blockquote_start"}),o=o[0].replace(/^ *> ?/gm,""),this.token(o,n,!0),this.tokens.push({type:"blockquote_end"});else if(o=this.rules.list.exec(t)){for(t=t.substring(o[0].length),l=o[2],this.tokens.push({type:"list_start",ordered:l.length>1}),i=!1,p=(o=o[0].match(this.rules.item)).length,d=0;d<p;d++)c=(u=o[d]).length,~(u=u.replace(/^ *([*+-]|\d+\.) +/,"")).indexOf("\n ")&&(c-=u.length,u=this.options.pedantic?u.replace(/^ {1,4}/gm,""):u.replace(new RegExp("^ {1,"+c+"}","gm"),"")),this.options.smartLists&&d!==p-1&&(l===(s=e.bullet.exec(o[d+1])[0])||l.length>1&&s.length>1||(t=o.slice(d+1).join("\n")+t,d=p-1)),a=i||/\n\n(?!\s*$)/.test(u),d!==p-1&&(i="\n"===u.charAt(u.length-1),a||(a=i)),this.tokens.push({type:a?"loose_item_start":"list_item_start"}),this.token(u,!1,r),this.tokens.push({type:"list_item_end"});this.tokens.push({type:"list_end"})}else if(o=this.rules.html.exec(t))t=t.substring(o[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===o[1]||"script"===o[1]||"style"===o[1]),text:o[0]});else if(!r&&n&&(o=this.rules.def.exec(t)))t=t.substring(o[0].length),this.tokens.links[o[1].toLowerCase()]={href:o[2],title:o[3]};else if(n&&(o=this.rules.table.exec(t))){for(t=t.substring(o[0].length),u={type:"table",header:o[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:o[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:o[3].replace(/(?: *\| *)?\n$/,"").split("\n")},d=0;d<u.align.length;d++)/^ *-+: *$/.test(u.align[d])?u.align[d]="right":/^ *:-+: *$/.test(u.align[d])?u.align[d]="center":/^ *:-+ *$/.test(u.align[d])?u.align[d]="left":u.align[d]=null;for(d=0;d<u.cells.length;d++)u.cells[d]=u.cells[d].replace(/^ *\| *| *\| *$/g,"").split(/ *\| */);this.tokens.push(u)}else if(n&&(o=this.rules.paragraph.exec(t)))t=t.substring(o[0].length),this.tokens.push({type:"paragraph",text:"\n"===o[1].charAt(o[1].length-1)?o[1].slice(0,-1):o[1]});else if(o=this.rules.text.exec(t))t=t.substring(o[0].length),this.tokens.push({type:"text",text:o[0]});else if(t)throw new Error("Infinite loop on byte: "+t.charCodeAt(0));return this.tokens};var n={escape:/^\\([\\`*{}\[\]()#+\-.!_>])/,autolink:/^<([^ <>]+(@|:\/)[^ <>]+)>/,url:d,tag:/^<!--[\s\S]*?-->|^<\/?\w+(?:"[^"]*"|'[^']*'|[^<'">])*?>/,link:/^!?\[(inside)\]\(href\)/,reflink:/^!?\[(inside)\]\s*\[([^\]]*)\]/,nolink:/^!?\[((?:\[[^\]]*\]|[^\[\]])*)\]/,strong:/^__([\s\S]+?)__(?!_)|^\*\*([\s\S]+?)\*\*(?!\*)/,em:/^\b_((?:[^_]|__)+?)_\b|^\*((?:\*\*|[\s\S])+?)\*(?!\*)/,code:/^(`+)([\s\S]*?[^`])\1(?!`)/,br:/^ {2,}\n(?!\s*$)/,del:d,text:/^[\s\S]+?(?=[\\<!\[_*`]| {2,}\n|$)/};function r(e,t){if(this.options=t||f.defaults,this.links=e,this.rules=n.normal,this.renderer=this.options.renderer||new i,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.gfm?this.options.breaks?this.rules=n.breaks:this.rules=n.gfm:this.options.pedantic&&(this.rules=n.pedantic)}function i(e){this.options=e||{}}function a(e){this.tokens=[],this.token=null,this.options=e||f.defaults,this.options.renderer=this.options.renderer||new i,this.renderer=this.options.renderer,this.renderer.options=this.options}function o(e,t){return e.replace(t?/&/g:/&(?!#?\w+;)/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function l(e,t){return e=e.source,t=t||"",function n(r,i){return r?(i=(i=i.source||i).replace(/(^|[^\[])\^/g,"$1"),e=e.replace(r,i),n):new RegExp(e,t)}}function s(e,t){return u[" "+e]||(/^[^:]+:\/*[^/]*$/.test(e)?u[" "+e]=e+"/":u[" "+e]=e.replace(/[^/]*$/,"")),e=u[" "+e],"//"===t.slice(0,2)?e.replace(/:[\s\S]*/,":")+t:"/"===t.charAt(0)?e.replace(/(:\/*[^/]*)[\s\S]*/,"$1")+t:e+t}n._inside=/(?:\[[^\]]*\]|\\[\[\]]|[^\[\]]|\](?=[^\[]*\]))*/,n._href=/\s*<?([\s\S]*?)>?(?:\s+['"]([\s\S]*?)['"])?\s*/,n.link=l(n.link)("inside",n._inside)("href",n._href)(),n.reflink=l(n.reflink)("inside",n._inside)(),n.normal=p({},n),n.pedantic=p({},n.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/}),n.gfm=p({},n.normal,{escape:l(n.escape)("])","~|])")(),url:/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,del:/^~~(?=\S)([\s\S]*?\S)~~/,text:l(n.text)("]|","~]|")("|","|https?://|")()}),n.breaks=p({},n.gfm,{br:l(n.br)("{2,}","*")(),text:l(n.gfm.text)("{2,}","*")()}),r.rules=n,r.output=function(e,t,n){return new r(t,n).output(e)},r.prototype.output=function(e){for(var t,n,r,i,a="";e;)if(i=this.rules.escape.exec(e))e=e.substring(i[0].length),a+=i[1];else if(i=this.rules.autolink.exec(e))e=e.substring(i[0].length),"@"===i[2]?(n=o(":"===i[1].charAt(6)?this.mangle(i[1].substring(7)):this.mangle(i[1])),r=this.mangle("mailto:")+n):r=n=o(i[1]),a+=this.renderer.link(r,null,n);else if(this.inLink||!(i=this.rules.url.exec(e))){if(i=this.rules.tag.exec(e))!this.inLink&&/^<a /i.test(i[0])?this.inLink=!0:this.inLink&&/^<\/a>/i.test(i[0])&&(this.inLink=!1),e=e.substring(i[0].length),a+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):o(i[0]):i[0];else if(i=this.rules.link.exec(e))e=e.substring(i[0].length),this.inLink=!0,a+=this.outputLink(i,{href:i[2],title:i[3]}),this.inLink=!1;else if((i=this.rules.reflink.exec(e))||(i=this.rules.nolink.exec(e))){if(e=e.substring(i[0].length),t=(i[2]||i[1]).replace(/\s+/g," "),!(t=this.links[t.toLowerCase()])||!t.href){a+=i[0].charAt(0),e=i[0].substring(1)+e;continue}this.inLink=!0,a+=this.outputLink(i,t),this.inLink=!1}else if(i=this.rules.strong.exec(e))e=e.substring(i[0].length),a+=this.renderer.strong(this.output(i[2]||i[1]));else if(i=this.rules.em.exec(e))e=e.substring(i[0].length),a+=this.renderer.em(this.output(i[2]||i[1]));else if(i=this.rules.code.exec(e))e=e.substring(i[0].length),a+=this.renderer.codespan(o(i[2].trim(),!0));else if(i=this.rules.br.exec(e))e=e.substring(i[0].length),a+=this.renderer.br();else if(i=this.rules.del.exec(e))e=e.substring(i[0].length),a+=this.renderer.del(this.output(i[1]));else if(i=this.rules.text.exec(e))e=e.substring(i[0].length),a+=this.renderer.text(o(this.smartypants(i[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else e=e.substring(i[0].length),r=n=o(i[1]),a+=this.renderer.link(r,null,n);return a},r.prototype.outputLink=function(e,t){var n=o(t.href),r=t.title?o(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,r,this.output(e[1])):this.renderer.image(n,r,o(e[1]))},r.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e},r.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",r=e.length,i=0;i<r;i++)t=e.charCodeAt(i),Math.random()>.5&&(t="x"+t.toString(16)),n+="&#"+t+";";return n},i.prototype.code=function(e,t,n){if(this.options.highlight){var r=this.options.highlight(e,t);null!=r&&r!==e&&(n=!0,e=r)}return t?'<pre><code class="'+this.options.langPrefix+o(t,!0)+'">'+(n?e:o(e,!0))+"\n</code></pre>\n":"<pre><code>"+(n?e:o(e,!0))+"\n</code></pre>"},i.prototype.blockquote=function(e){return"<blockquote>\n"+e+"</blockquote>\n"},i.prototype.html=function(e){return e},i.prototype.heading=function(e,t,n){return"<h"+t+' id="'+this.options.headerPrefix+n.toLowerCase().replace(/[^\w]+/g,"-")+'">'+e+"</h"+t+">\n"},i.prototype.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},i.prototype.list=function(e,t){var n=t?"ol":"ul";return"<"+n+">\n"+e+"</"+n+">\n"},i.prototype.listitem=function(e){return"<li>"+e+"</li>\n"},i.prototype.paragraph=function(e){return"<p>"+e+"</p>\n"},i.prototype.table=function(e,t){return"<table>\n<thead>\n"+e+"</thead>\n<tbody>\n"+t+"</tbody>\n</table>\n"},i.prototype.tablerow=function(e){return"<tr>\n"+e+"</tr>\n"},i.prototype.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' style="text-align:'+t.align+'">':"<"+n+">")+e+"</"+n+">\n"},i.prototype.strong=function(e){return"<strong>"+e+"</strong>"},i.prototype.em=function(e){return"<em>"+e+"</em>"},i.prototype.codespan=function(e){return"<code>"+e+"</code>"},i.prototype.br=function(){return this.options.xhtml?"<br/>":"<br>"},i.prototype.del=function(e){return"<del>"+e+"</del>"},i.prototype.link=function(e,t,n){if(this.options.sanitize){try{var r=decodeURIComponent((i=e,i.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""}))).replace(/[^\w:]/g,"").toLowerCase()}catch(e){return n}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return n}var i;this.options.baseUrl&&!c.test(e)&&(e=s(this.options.baseUrl,e));var a='<a href="'+e+'"';return t&&(a+=' title="'+t+'"'),a+=">"+n+"</a>"},i.prototype.image=function(e,t,n){this.options.baseUrl&&!c.test(e)&&(e=s(this.options.baseUrl,e));var r='<img src="'+e+'" alt="'+n+'"';return t&&(r+=' title="'+t+'"'),r+=this.options.xhtml?"/>":">"},i.prototype.text=function(e){return e},a.parse=function(e,t,n){return new a(t,n).parse(e)},a.prototype.parse=function(e){this.inline=new r(e.links,this.options,this.renderer),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},a.prototype.next=function(){return this.token=this.tokens.pop()},a.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},a.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},a.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,this.token.text);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,r,i="",a="";for(n="",e=0;e<this.token.header.length;e++)({header:!0,align:this.token.align[e]}),n+=this.renderer.tablecell(this.inline.output(this.token.header[e]),{header:!0,align:this.token.align[e]});for(i+=this.renderer.tablerow(n),e=0;e<this.token.cells.length;e++){for(t=this.token.cells[e],n="",r=0;r<t.length;r++)n+=this.renderer.tablecell(this.inline.output(t[r]),{header:!1,align:this.token.align[r]});a+=this.renderer.tablerow(n)}return this.renderer.table(i,a);case"blockquote_start":for(a="";"blockquote_end"!==this.next().type;)a+=this.tok();return this.renderer.blockquote(a);case"list_start":a="";for(var o=this.token.ordered;"list_end"!==this.next().type;)a+=this.tok();return this.renderer.list(a,o);case"list_item_start":for(a="";"list_item_end"!==this.next().type;)a+="text"===this.token.type?this.parseText():this.tok();return this.renderer.listitem(a);case"loose_item_start":for(a="";"list_item_end"!==this.next().type;)a+=this.tok();return this.renderer.listitem(a);case"html":var l=this.token.pre||this.options.pedantic?this.token.text:this.inline.output(this.token.text);return this.renderer.html(l);case"paragraph":return this.renderer.paragraph(this.inline.output(this.token.text));case"text":return this.renderer.paragraph(this.parseText())}};var u={},c=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function d(){}function p(e){for(var t,n,r=1;r<arguments.length;r++){t=arguments[r];for(n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}function f(e,n,r){if(r||"function"==typeof n){r||(r=n,n=null);var i,l,s=(n=p({},f.defaults,n||{})).highlight,u=0;try{i=t.lex(e,n)}catch(e){return r(e)}l=i.length;var c=function(e){if(e)return n.highlight=s,r(e);var t;try{t=a.parse(i,n)}catch(t){e=t}return n.highlight=s,e?r(e):r(null,t)};if(!s||s.length<3)return c();if(delete n.highlight,!l)return c();for(;u<i.length;u++)!function(e){"code"!==e.type?--l||c():s(e.text,e.lang,function(t,n){return t?c(t):null==n||n===e.text?--l||c():(e.text=n,e.escaped=!0,void(--l||c()))})}(i[u])}else try{return n&&(n=p({},f.defaults,n)),a.parse(t.lex(e,n),n)}catch(e){if(e.message+="\nPlease report this to https://github.com/chjj/marked.",(n||f.defaults).silent)return"<p>An error occurred:</p><pre>"+o(e.message+"",!0)+"</pre>";throw e}}d.exec=d,f.options=f.setOptions=function(e){return p(f.defaults,e),f},f.defaults={gfm:!0,tables:!0,breaks:!1,pedantic:!1,sanitize:!1,sanitizer:null,mangle:!0,smartLists:!1,silent:!1,highlight:null,langPrefix:"lang-",smartypants:!1,headerPrefix:"",renderer:new i,xhtml:!1,baseUrl:null},f.Parser=a,f.parser=a.parse,f.Renderer=i,f.Lexer=t,f.lexer=t.lex,f.InlineLexer=r,f.inlineLexer=r.output,f.parse=f,"undefined"!=typeof module&&"object"==typeof exports?module.exports=f:"function"==typeof define&&define.amd?define("deps/marked",[],function(){return f}):this.marked=f}.call(function(){return this||("undefined"!=typeof window?window:global)}()),define("core/utils",["exports","core/pubsubhub","deps/marked"],function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.ISODate=e.name=void 0,e.markdownToHtml=function(e){const t=h(e).replace(s,">").replace(u,"&");return(0,i.default)(t)},e.makeOwnerSwapper=function(e){if(!e)throw new TypeError("Expected instance of Node.");return t=>{if(t.ownerDocument.adoptNode(e),t.firstElementChild)return t.insertBefore(e,t.firstElementChild);t.appendChild(e)}},e.calculateLeftPad=function(e){if("string"!=typeof e)throw new TypeError("Invalid input");var t=e.split("\n").filter(e=>e).reduce((e,t)=>{if(0===e)return e;const n=t.match(a)[0]||"";return Math.min(n.length,e)},1/0);return t===1/0?0:t},e.createResourceHint=function(e){if(!e||"object"!=typeof e)throw new TypeError("Missing options");if(!p.has(e.hint))throw new TypeError("Invalid resources hint");const t=new URL(e.href,document.location),n=document.createElement("link");let r=t.href;switch(n.rel=e.hint,n.rel){case"dns-prefetch":case"preconnect":r=t.origin,(e.corsMode||t.origin!==document.location.origin)&&(n.crossOrigin=e.corsMode||"anonymous");break;case"preload":"as"in e&&"string"==typeof e.as&&(f.has(e.as)||console.warn(`Unknown request destination: ${e.as}`),n.setAttribute("as",e.as))}n.href=r,e.dontRemove||n.classList.add("removeOnSave");return n},e.normalizePadding=h,e.removeReSpec=function(e){Array.from(e.querySelectorAll(".remove, script[data-requiremodule]")).forEach(e=>{e.remove()})},e.joinAnd=function(e=[],t=(e=>e)){const n=e.map(t);switch(n.length){case 0:case 1:return n.toString();case 2:return n.join(" and ");default:const e=n.join(", "),t=e.lastIndexOf(",");return`${e.substr(0,t+1)} and ${e.slice(t+2)}`}},e.xmlEscape=function(e){return e.replace(/&/g,"&").replace(/>/g,">").replace(/"/g,""").replace(/</g,"<")},e.norm=function(e){return e.trim().replace(/\s+/g," ")},e.concatDate=function(e,t=""){return c.format(e).replace(l,t)},e.toShortIsoDate=function(e){return c.format(e)},e.lead0=function(e){return 1===String(e).length?"0"+e:e},e.parseSimpleDate=function(e){return new Date(e)},e.parseLastModified=function(e){return e?new Date(Date.parse(e)):new Date},e.humanDate=function(e=new Date,t=document.documentElement.lang||"en"){e instanceof Date||(e=new Date(e));const n=[t,"en"],r=e.toLocaleString(n,{day:"2-digit",timeZone:"UTC"}),i=e.toLocaleString(n,{month:"long",timeZone:"UTC"}),a=e.toLocaleString(n,{year:"numeric",timeZone:"UTC"});return`${r} ${i} ${a}`},e.isoDate=function(e){return(e instanceof Date?e:new Date(e)).toISOString()},e.toKeyValuePairs=function(e,t=", ",n="="){return Array.from(Object.entries(e)).map(([e,t])=>`${e}${n}${JSON.stringify(t)}`).join(t)},e.linkCSS=function(e,t){const n=[].concat(t).map(t=>{var n=e.createElement("link");return n.rel="stylesheet",n.href=t,n}).reduce(function(e,t){return e.appendChild(t),e},e.createDocumentFragment());e.head.appendChild(n)},e.runTransforms=function(e,n){var r=[this,e],i=Array.from(arguments);if(i.shift(),i.shift(),r=r.concat(i),n)for(var a=n.split(/\s+/),o=0;o<a.length;o++){var l=a[o];if(window[l])try{e=window[l].apply(this,r)}catch(e){(0,t.pub)("warn",`call to \`${l}()\` failed with: ${e}. See error console for stack trace.`),console.error(e)}}return e};var r,i=(r=n)&&r.__esModule?r:{default:r};e.name="core/utils";i.default.setOptions({sanitize:!1,gfm:!0});const a=/^[\ |\t]*/,o=/\s+$/gm,l=/\-/g,s=/>/gm,u=/&/gm;const c=e.ISODate=new Intl.DateTimeFormat(["en-ca-iso8601"],{timeZone:"UTC",year:"numeric",month:"2-digit",day:"2-digit"}),d=new Set(["a","abbr","acronym","b","bdo","big","br","button","cite","code","dfn","em","i","img","input","kbd","label","map","object","q","samp","script","select","small","span","strong","sub","sup","textarea","time","tt","var"]),p=new Set(["dns-prefetch","preconnect","preload","prerender"]),f=new Set(["document","embed","font","image","manifest","media","object","report","script","serviceworker","sharedworker","style","worker","xslt",""]);function h(e=""){if(!e)return"";if("string"!=typeof e)throw TypeError("Invalid input");if("\n"===e)return"\n";function t(e){return null!==e&&e.nodeType===Node.TEXT_NODE}var n="<body>"+e,r=(new DOMParser).parseFromString(n,"text/html");Array.from(r.body.children).filter(e=>!d.has(e.localName)).filter(e=>"pre"!==e.localName).filter(e=>"table"!==e.localName).forEach(e=>{e.innerHTML=h(e.innerHTML)}),Array.from(r.body.childNodes).filter(e=>t(e)&&""===e.textContent.trim()).forEach(e=>e.parentElement.replaceChild(r.createTextNode("\n"),e)),t(r.body.firstChild)||Array.from(r.body.firstChild.children).filter(e=>"table"!==e.localName).forEach(e=>{e.innerHTML=h(e.innerHTML)}),r.normalize();const i=r.body.innerText.replace(/^\ *\n/,"").split("\n").filter(e=>e&&e.startsWith(" "))[0];var a=i?i.match(/\ +/)[0].length:0;if(a){Array.from(r.body.childNodes).filter(e=>"pre"!==e.localName).filter(t).filter(e=>{const t=e.previousElementSibling,n=t?t.localName:e.parentElement.localName;return!d.has(n)||e.textContent.trim().includes("\n")}).reduce((e,t)=>{let n="";const r=t.previousElementSibling,i=r?r.localName:t.parentElement.localName;return/^[\t\ ]/.test(t.textContent)&&d.has(i)&&(n=t.textContent.match(/^\s+/)[0]),t.textContent=n+t.textContent.replace(e,""),e},new RegExp("^ {1,"+a+"}","gm"));const e=new RegExp(`\\ {${a}}$`,"gm");Array.from(r.body.querySelectorAll("pre")).map(e=>e.previousSibling).filter(t).reduce((t,n)=>(e.test(n.textContent)&&(n.textContent=n.textContent.substr(0,n.textContent.length-t)),t),a)}return o.test(r.body.innerHTML)?r.body.innerHTML.trimRight()+"\n":r.body.innerHTML}}),define("core/post-process",["exports","core/pubsubhub"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.done=e.name=void 0;e.name="core/post-process";let n;e.done=new Promise(e=>{n=e});(0,t.sub)("plugins-done",async e=>{const t=[];if(Array.isArray(e.postProcess)){const n=await Promise.all(e.postProcess.filter(e=>"function"==typeof e).map(t=>Promise.resolve(t(e,document))));t.push(...n)}"function"==typeof e.afterEnd&&t.push(await Promise.resolve(e.afterEnd(e,document))),n(t)},{once:!0})}),define("core/pre-process",["exports","core/pubsubhub"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.done=e.name=void 0;e.name="core/pre-process";let n;e.done=new Promise(e=>{n=e});(0,t.sub)("start-all",async e=>{const t=[];if(Array.isArray(e.preProcess)){const n=await Promise.all(e.preProcess.filter(e=>"function"==typeof e).map(t=>Promise.resolve(t(e,document))));t.push(...n)}n(t)},{once:!0})}),define("core/include-config",["exports","core/pubsubhub"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.name=void 0;e.name="core/include-config";const n={},r=e=>Object.assign(n,e);(0,t.sub)("start-all",r),(0,t.sub)("amend-user-config",r),(0,t.sub)("end-all",()=>{const e=document.createElement("script");e.id="initialUserConfig",e.type="application/json",e.innerHTML=JSON.stringify(n,null,2),document.head.appendChild(e)})}),define("core/override-configuration",["exports","core/pubsubhub"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.name=void 0;e.name="core/override-configuration";(0,t.sub)("start-all",function(e){const n=document.location.search.replace(/;/g,"&"),r=new URLSearchParams(n),i=Array.from(r.entries()).filter(([e,t])=>!!e&&!!t).map(([e,t])=>{const n=decodeURIComponent(e),r=decodeURIComponent(t.replace(/%3D/g,"="));let i;try{i=JSON.parse(r)}catch(e){i=r}return{key:n,value:i}}).reduce((e,{key:t,value:n})=>(e[t]=n,e),{});Object.assign(e,i),(0,t.pub)("amend-user-config",i)},{once:!0})}),define("core/respec-ready",["exports","core/pubsubhub"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.name=void 0;e.name="core/respec-ready";const n=new Promise(e=>{(0,t.sub)("end-all",e,{once:!0})});Object.defineProperty(document,"respecIsReady",{get:()=>n})}),define("core/base-runner",["exports","core/utils","core/post-process","core/pre-process","core/pubsubhub","core/include-config","core/override-configuration","core/respec-ready"],function(e,t,n,r,i){Object.defineProperty(e,"__esModule",{value:!0}),e.name=void 0,e.runAll=async function(e){(0,i.pub)("start-all",respecConfig),o&&performance.mark(a+"-start");await r.done;const s=e.filter(e=>e&&e.run).map(l);for(const e of s)try{await e(respecConfig)}catch(e){console.error(e)}(0,i.pub)("plugins-done",respecConfig),await n.done,(0,i.pub)("end-all",respecConfig),(0,t.removeReSpec)(document),o&&(performance.mark(a+"-end"),performance.measure(a,a+"-start",a+"-end"))};const a=e.name="core/base-runner",o=performance.mark&&performance.measure;function l(e){const t=e.name||"";return t||console.warn("Plugin lacks name:",e),n=>new Promise(async(r,i)=>{const a=setTimeout(()=>{const n=`Plugin ${t} took too long.`;console.error(n,e),i(new Error(n))},5e3);o&&performance.mark(t+"-start");try{1===e.run.length?(await e.run(n),r()):e.run(n,document,r)}catch(e){i(e)}finally{clearTimeout(a)}o&&(performance.mark(t+"-end"),performance.measure(t,t+"-start",t+"-end"))})}});var shortcut={all_shortcuts:{},add:function(e,t,n){var r={type:"keydown",propagate:!1,disable_in_input:!1,target:document,keycode:!1};if(n)for(var i in r)void 0===n[i]&&(n[i]=r[i]);else n=r;var a=n.target;"string"==typeof n.target&&(a=document.getElementById(n.target));e=e.toLowerCase();var o=function(r){var i,a;if((r=r||window.event,n.disable_in_input)&&(r.target?a=r.target:r.srcElement&&(a=r.srcElement),3==a.nodeType&&(a=a.parentNode),"INPUT"==a.tagName||"TEXTAREA"==a.tagName))return;r.keyCode?i=r.keyCode:r.which&&(i=r.which);var o=String.fromCharCode(i).toLowerCase();188==i&&(o=","),190==i&&(o=".");var l=e.split("+"),s=0,u={"`":"~",1:"!",2:"@",3:"#",4:"$",5:"%",6:"^",7:"&",8:"*",9:"(",0:")","-":"_","=":"+",";":":","'":'"',",":"<",".":">","/":"?","\\":"|"},c={esc:27,escape:27,tab:9,space:32,return:13,enter:13,backspace:8,scrolllock:145,scroll_lock:145,scroll:145,capslock:20,caps_lock:20,caps:20,numlock:144,num_lock:144,num:144,pause:19,break:19,insert:45,home:36,delete:46,end:35,pageup:33,page_up:33,pu:33,pagedown:34,page_down:34,pd:34,left:37,up:38,right:39,down:40,f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123},d={shift:{wanted:!1,pressed:!1},ctrl:{wanted:!1,pressed:!1},alt:{wanted:!1,pressed:!1},meta:{wanted:!1,pressed:!1}};r.ctrlKey&&(d.ctrl.pressed=!0),r.shiftKey&&(d.shift.pressed=!0),r.altKey&&(d.alt.pressed=!0),r.metaKey&&(d.meta.pressed=!0);for(var p,f=0;p=l[f],f<l.length;f++)"ctrl"==p||"control"==p?(s++,d.ctrl.wanted=!0):"shift"==p?(s++,d.shift.wanted=!0):"alt"==p?(s++,d.alt.wanted=!0):"meta"==p?(s++,d.meta.wanted=!0):p.length>1?c[p]==i&&s++:n.keycode?n.keycode==i&&s++:o==p?s++:u[o]&&r.shiftKey&&(o=u[o])==p&&s++;if(s==l.length&&d.ctrl.pressed==d.ctrl.wanted&&d.shift.pressed==d.shift.wanted&&d.alt.pressed==d.alt.wanted&&d.meta.pressed==d.meta.wanted&&(t(r),!n.propagate))return r.cancelBubble=!0,r.returnValue=!1,r.stopPropagation&&(r.stopPropagation(),r.preventDefault()),!1};this.all_shortcuts[e]={callback:o,target:a,event:n.type},a.addEventListener?a.addEventListener(n.type,o,!1):a.attachEvent?a.attachEvent("on"+n.type,o):a["on"+n.type]=o}},Dw,Z$,$$,vfa,wfa;define("shortcut",(Dw=this,function(){return Dw.shortcut})),define("deps/text",["module"],function(e){var t,n,r,i,a,o=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],l=/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,s=/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im,u="undefined"!=typeof location&&location.href,c=u&&location.protocol&&location.protocol.replace(/\:/,""),d=u&&location.hostname,p=u&&(location.port||void 0),f={},h=e.config&&e.config()||{};function m(e,t){return void 0===e||""===e?t:e}return t={version:"2.0.15",strip:function(e){if(e){var t=(e=e.replace(l,"")).match(s);t&&(e=t[1])}else e="";return e},jsEscape:function(e){return e.replace(/(['\\])/g,"\\$1").replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r").replace(/[\u2028]/g,"\\u2028").replace(/[\u2029]/g,"\\u2029")},createXhr:h.createXhr||function(){var e,t,n;if("undefined"!=typeof XMLHttpRequest)return new XMLHttpRequest;if("undefined"!=typeof ActiveXObject)for(t=0;t<3;t+=1){n=o[t];try{e=new ActiveXObject(n)}catch(e){}if(e){o=[n];break}}return e},parseName:function(e){var t,n,r,i=!1,a=e.lastIndexOf("."),o=0===e.indexOf("./")||0===e.indexOf("../");return-1!==a&&(!o||a>1)?(t=e.substring(0,a),n=e.substring(a+1)):t=e,-1!==(a=(r=n||t).indexOf("!"))&&(i="strip"===r.substring(a+1),r=r.substring(0,a),n?n=r:t=r),{moduleName:t,ext:n,strip:i}},xdRegExp:/^((\w+)\:)?\/\/([^\/\\]+)/,useXhr:function(e,n,r,i){var a,o,l,s=t.xdRegExp.exec(e);return!s||(a=s[2],l=(o=(o=s[3]).split(":"))[1],o=o[0],(!a||a===n)&&(!o||o.toLowerCase()===r.toLowerCase())&&(!l&&!o||function(e,t,n,r){if(t===r)return!0;if(e===n){if("http"===e)return m(t,"80")===m(r,"80");if("https"===e)return m(t,"443")===m(r,"443")}return!1}(a,l,n,i)))},finishLoad:function(e,n,r,i){r=n?t.strip(r):r,h.isBuild&&(f[e]=r),i(r)},load:function(e,n,r,i){if(i&&i.isBuild&&!i.inlineText)r();else{h.isBuild=i&&i.isBuild;var a=t.parseName(e),o=a.moduleName+(a.ext?"."+a.ext:""),l=n.toUrl(o),s=h.useXhr||t.useXhr;0!==l.indexOf("empty:")?!u||s(l,c,d,p)?t.get(l,function(n){t.finishLoad(e,a.strip,n,r)},function(e){r.error&&r.error(e)}):n([o],function(e){t.finishLoad(a.moduleName+"."+a.ext,a.strip,e,r)}):r()}},write:function(e,n,r,i){if(f.hasOwnProperty(n)){var a=t.jsEscape(f[n]);r.asModule(e+"!"+n,"define(function () { return '"+a+"';});\n")}},writeFile:function(e,n,r,i,a){var o=t.parseName(n),l=o.ext?"."+o.ext:"",s=o.moduleName+l,u=r.toUrl(o.moduleName+l)+".js";t.load(s,r,function(n){var r=function(e){return i(u,e)};r.asModule=function(e,t){return i.asModule(e,u,t)},t.write(e,s,r,a)},a)}},"node"===h.env||!h.env&&"undefined"!=typeof process&&process.versions&&process.versions.node&&!process.versions["node-webkit"]&&!process.versions["atom-shell"]?(n=require.nodeRequire("fs"),t.get=function(e,t,r){try{var i=n.readFileSync(e,"utf8");"\ufeff"===i[0]&&(i=i.substring(1)),t(i)}catch(e){r&&r(e)}}):"xhr"===h.env||!h.env&&t.createXhr()?t.get=function(e,n,r,i){var a,o=t.createXhr();if(o.open("GET",e,!0),i)for(a in i)i.hasOwnProperty(a)&&o.setRequestHeader(a.toLowerCase(),i[a]);h.onXhr&&h.onXhr(o,e),o.onreadystatechange=function(t){var i,a;4===o.readyState&&((i=o.status||0)>399&&i<600?((a=new Error(e+" HTTP status: "+i)).xhr=o,r&&r(a)):n(o.responseText),h.onXhrComplete&&h.onXhrComplete(o,e))},o.send(null)}:"rhino"===h.env||!h.env&&"undefined"!=typeof Packages&&"undefined"!=typeof java?t.get=function(e,t){var n,r,i=new java.io.File(e),a=java.lang.System.getProperty("line.separator"),o=new java.io.BufferedReader(new java.io.InputStreamReader(new java.io.FileInputStream(i),"utf-8")),l="";try{for(n=new java.lang.StringBuffer,(r=o.readLine())&&r.length()&&65279===r.charAt(0)&&(r=r.substring(1)),null!==r&&n.append(r);null!==(r=o.readLine());)n.append(a),n.append(r);l=String(n.toString())}finally{o.close()}t(l)}:("xpconnect"===h.env||!h.env&&"undefined"!=typeof Components&&Components.classes&&Components.interfaces)&&(r=Components.classes,i=Components.interfaces,Components.utils.import("resource://gre/modules/FileUtils.jsm"),a="@mozilla.org/windows-registry-key;1"in r,t.get=function(e,t){var n,o,l,s={};a&&(e=e.replace(/\//g,"\\")),l=new FileUtils.File(e);try{(n=r["@mozilla.org/network/file-input-stream;1"].createInstance(i.nsIFileInputStream)).init(l,1,0,!1),(o=r["@mozilla.org/intl/converter-input-stream;1"].createInstance(i.nsIConverterInputStream)).init(n,"utf-8",n.available(),i.nsIConverterInputStream.DEFAULT_REPLACEMENT_CHARACTER),o.readString(n.available(),s),o.close(),n.close(),t(s.value)}catch(e){throw new Error((l&&l.path||"")+": "+e)}}),t}),define("deps/text!ui/ui.css",[],function(){return'#respec-ui {\n position: fixed;\n display: flex;\n flex-direction: row-reverse;\n top: 20px;\n right: 20px;\n width: 202px;\n text-align: right;\n z-index: 9000;\n}\n\n#respec-pill,\n.respec-info-button {\n background: #fff;\n height: 2.5em;\n color: rgb(120, 120, 120);\n border: 1px solid #ccc;\n box-shadow: 1px 1px 8px 0 rgba(100, 100, 100, 0.5);\n}\n\n.respec-info-button {\n border: none;\n opacity: 0.75;\n border-radius: 2em;\n margin-right: 1em;\n min-width: 3.5em;\n}\n\n.respec-info-button:focus,\n.respec-info-button:hover {\n opacity: 1;\n transition: opacity 0.2s;\n}\n\n#respec-pill:disabled {\n font-size: 2.8px;\n text-indent: -9999em;\n border-top: 1.1em solid rgba(40, 40, 40, 0.2);\n border-right: 1.1em solid rgba(40, 40, 40, 0.2);\n border-bottom: 1.1em solid rgba(40, 40, 40, 0.2);\n border-left: 1.1em solid #ffffff;\n transform: translateZ(0);\n animation: respec-spin 0.5s infinite linear;\n box-shadow: none;\n}\n\n#respec-pill:disabled,\n#respec-pill:disabled:after {\n border-radius: 50%;\n width: 10em;\n height: 10em;\n}\n\n@keyframes respec-spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n\n.respec-hidden {\n visibility: hidden;\n opacity: 0;\n transition: visibility 0s 0.2s, opacity 0.2s linear;\n}\n\n.respec-visible {\n visibility: visible;\n opacity: 1;\n transition: opacity 0.2s linear;\n}\n\n#respec-pill:hover,\n#respec-pill:focus {\n color: rgb(0, 0, 0);\n background-color: rgb(245, 245, 245);\n transition: color 0.2s;\n}\n\n#respec-menu {\n position: absolute;\n margin: 0;\n padding: 0;\n font-family: sans-serif;\n background: #fff;\n box-shadow: 1px 1px 8px 0 rgba(100, 100, 100, 0.5);\n width: 200px;\n display: none;\n text-align: left;\n margin-top: 32px;\n font-size: 0.8em;\n}\n\n#respec-menu:not([hidden]) {\n display: block;\n}\n\n#respec-menu li {\n list-style-type: none;\n margin: 0;\n padding: 0;\n}\n\n.respec-save-buttons {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(47%, 2fr));\n grid-gap: 0.5cm;\n padding: 0.5cm;\n}\n\n.respec-save-button:link {\n padding-top: 16px;\n color: rgb(240, 240, 240);\n background: rgb(42, 90, 168);\n justify-self: stretch;\n height: 1cm;\n text-decoration: none;\n text-align: center;\n font-size: inherit;\n border: none;\n border-radius: 0.2cm;\n}\n\n.respec-save-button:link:hover {\n color: white;\n background: rgb(42, 90, 168);\n padding: 0;\n margin: 0;\n border: 0;\n padding-top: 16px;\n}\n\n#respec-ui button:focus,\n#respec-pill:focus,\n.respec-option:focus {\n outline: 0;\n outline-style: none;\n}\n\n#respec-pill-error {\n background-color: red;\n color: white;\n}\n\n#respec-pill-warning {\n background-color: orange;\n color: white;\n}\n\n.respec-warning-list,\n.respec-error-list {\n margin: 0;\n padding: 0;\n list-style: none;\n font-family: sans-serif;\n background-color: rgb(255, 251, 230);\n font-size: 0.85em;\n}\n\n.respec-warning-list > li,\n.respec-error-list > li {\n padding: 0.4em 0.7em;\n}\n\n.respec-warning-list > li::before {\n content: "⚠️";\n padding-right: 0.5em;\n}\n.respec-warning-list p,\n.respec-error-list p {\n padding: 0;\n margin: 0;\n}\n\n.respec-warning-list li {\n color: rgb(92, 59, 0);\n border-bottom: thin solid rgb(255, 245, 194);\n}\n\n.respec-error-list,\n.respec-error-list li {\n background-color: rgb(255, 240, 240);\n}\n\n.respec-error-list li::before {\n content: "💥";\n padding-right: 0.5em;\n}\n\n.respec-error-list li {\n padding: 0.4em 0.7em;\n color: rgb(92, 59, 0);\n border-bottom: thin solid rgb(255, 215, 215);\n}\n\n.respec-error-list li > p {\n margin: 0;\n padding: 0;\n display: inline-block;\n}\n\n#respec-overlay {\n display: block;\n position: fixed;\n z-index: 10000;\n top: 0px;\n left: 0px;\n height: 100%;\n width: 100%;\n background: #000;\n}\n\n.respec-show-overlay {\n transition: opacity 0.2s linear;\n opacity: 0.5;\n}\n\n.respec-hide-overlay {\n transition: opacity 0.2s linear;\n opacity: 0;\n}\n\n.respec-modal {\n display: block;\n position: fixed;\n z-index: 11000;\n margin: auto;\n top: 10%;\n background: #fff;\n border: 5px solid #666;\n min-width: 20%;\n width: 79%;\n padding: 0;\n max-height: 80%;\n overflow-y: auto;\n margin: 0 -0.5cm;\n}\n\n@media screen and (min-width: 78em) {\n .respec-modal {\n width: 62%;\n }\n}\n\n.respec-modal h3 {\n margin: 0;\n padding: 0.2em;\n text-align: center;\n color: black;\n background: linear-gradient(\n to bottom,\n rgba(238, 238, 238, 1) 0%,\n rgba(238, 238, 238, 1) 50%,\n rgba(204, 204, 204, 1) 100%\n );\n font-size: 1em;\n}\n\n.respec-modal .inside div p {\n padding-left: 1cm;\n}\n\n#respec-menu button.respec-option {\n background: white;\n padding: 0 0.2cm;\n border: none;\n width: 100%;\n text-align: left;\n font-size: inherit;\n padding: 1.2em 1.2em;\n}\n\n#respec-menu button.respec-option:hover,\n#respec-menu button:focus {\n background-color: #eeeeee;\n}\n\n.respec-cmd-icon {\n padding-right: 0.5em;\n}\n\n#respec-ui button.respec-option:last-child {\n border: none;\n border-radius: inherit;\n}\n\n.respec-offending-element {\n display: inline-block;\n position: relative;\n background: url(data:image/gif;base64,R0lGODdhBAADAPEAANv///8AAP///wAAACwAAAAABAADAEACBZQjmIAFADs=)\n bottom repeat-x;\n}\n\n@supports (text-decoration-style: wavy) {\n .respec-offending-element {\n background: none;\n text-decoration-line: underline;\n text-decoration-style: wavy;\n text-decoration-color: red;\n }\n}\n\n.respec-button-copy-paste {\n position: absolute;\n display: block;\n padding: 0px 8px;\n height: 28px;\n width: 40px;\n color: #333;\n white-space: nowrap;\n vertical-align: middle;\n cursor: pointer;\n background-color: #eee;\n background-image: linear-gradient(#fcfcfc, #eee);\n border: 1px solid rgb(144, 184, 222);\n border-radius: 0px 0px 3px 0;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n -webkit-appearance: none;\n margin: 0px 127px;\n border-left: 0;\n}\n\np + .respec-button-copy-paste {\n margin: 1px 127px;\n}\n\n#specref-ui {\n margin: 0 2%;\n margin-bottom: 0.5cm;\n}\n\n#specref-ui header {\n font-size: 0.7em;\n background-color: #eee;\n text-align: center;\n padding: 0.2cm;\n margin-bottom: 0.5cm;\n border-radius: 0 0 0.2cm 0.2cm;\n}\n\n#specref-ui header h1 {\n padding: 0;\n margin: 0;\n color: black;\n}\n\n#specref-ui p {\n padding: 0;\n margin: 0;\n font-size: 0.8em;\n text-align: center;\n}\n\n#specref-ui p.state {\n margin: 1cm;\n}\n\n#specref-ui .searchcomponent {\n font-size: 16px;\n display: grid;\n grid-template-columns: auto 2cm;\n}\n#specref-ui .searchcomponent:focus {\n}\n\n#specref-ui input,\n#specref-ui button {\n border: 0;\n padding: 6px 12px;\n}\n\n#specref-ui label {\n font-size: 0.6em;\n grid-column-end: 3;\n text-align: right;\n grid-column-start: 1;\n}\n\n#specref-ui input[type="search"] {\n -webkit-appearance: none;\n font-size: 16px;\n border-radius: 0.1cm 0 0 0.1cm;\n border: 1px solid rgb(204, 204, 204);\n}\n\n#specref-ui button[type="submit"] {\n color: white;\n border-radius: 0 0.1cm 0.1cm 0;\n background-color: rgb(51, 122, 183);\n}\n\n#specref-ui button[type="submit"]:hover {\n background-color: #286090;\n border-color: #204d74;\n}\n\n#specref-ui .result-stats {\n margin: 0;\n padding: 0;\n color: rgb(128, 128, 128);\n font-size: 0.7em;\n font-weight: bold;\n}\n\n#specref-ui .specref-results {\n font-size: 0.8em;\n}\n\n#specref-ui .specref-results dd + dt {\n margin-top: 0.51cm;\n}\n\n#specref-ui .specref-results a {\n text-transform: capitalize;\n}\n#specref-ui .specref-results .authors {\n display: block;\n color: #006621;\n}\n\n@media print {\n #respec-ui {\n display: none;\n }\n}\n'}),Z$="undefined"!=typeof window?window:this,$$=function(e,t){var n=[],r=e.document,i=Object.getPrototypeOf,a=n.slice,o=n.concat,l=n.push,s=n.indexOf,u={},c=u.toString,d=u.hasOwnProperty,p=d.toString,f=p.call(Object),h={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},g=function(e){return null!=e&&e===e.window},b={type:!0,src:!0,noModule:!0};function v(e,t,n){var i,a=(t=t||r).createElement("script");if(a.text=e,n)for(i in b)n[i]&&(a[i]=n[i]);t.head.appendChild(a).parentNode.removeChild(a)}function y(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?u[c.call(e)]||"object":typeof e}var w="3.3.1 -ajax,-ajax/jsonp,-ajax/load,-ajax/parseXML,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-event/ajax,-effects,-effects/Tween,-effects/animatedSelector",x=function(e,t){return new x.fn.init(e,t)},C=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function E(e){var t=!!e&&"length"in e&&e.length,n=y(e);return!m(e)&&!g(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}x.fn=x.prototype={jquery:w,constructor:x,length:0,toArray:function(){return a.call(this)},get:function(e){return null==e?a.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=x.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return x.each(this,e)},map:function(e){return this.pushStack(x.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:n.sort,splice:n.splice},x.extend=x.fn.extend=function(){var e,t,n,r,i,a,o=arguments[0]||{},l=1,s=arguments.length,u=!1;for("boolean"==typeof o&&(u=o,o=arguments[l]||{},l++),"object"==typeof o||m(o)||(o={}),l===s&&(o=this,l--);l<s;l++)if(null!=(e=arguments[l]))for(t in e)n=o[t],o!==(r=e[t])&&(u&&r&&(x.isPlainObject(r)||(i=Array.isArray(r)))?(i?(i=!1,a=n&&Array.isArray(n)?n:[]):a=n&&x.isPlainObject(n)?n:{},o[t]=x.extend(u,a,r)):void 0!==r&&(o[t]=r));return o},x.extend({expando:"jQuery"+(w+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==c.call(e))&&(!(t=i(e))||"function"==typeof(n=d.call(t,"constructor")&&t.constructor)&&p.call(n)===f)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e){v(e)},each:function(e,t){var n,r=0;if(E(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(C,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(E(Object(e))?x.merge(n,"string"==typeof e?[e]:e):l.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:s.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,a=e.length,o=!n;i<a;i++)!t(e[i],i)!==o&&r.push(e[i]);return r},map:function(e,t,n){var r,i,a=0,l=[];if(E(e))for(r=e.length;a<r;a++)null!=(i=t(e[a],a,n))&&l.push(i);else for(a in e)null!=(i=t(e[a],a,n))&&l.push(i);return o.apply([],l)},guid:1,support:h}),"function"==typeof Symbol&&(x.fn[Symbol.iterator]=n[Symbol.iterator]),x.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){u["[object "+t+"]"]=t.toLowerCase()});var k=function(e){var t,n,r,i,a,o,l,s,u,c,d,p,f,h,m,g,b,v,y,w="sizzle"+1*new Date,x=e.document,C=0,E=0,k=oe(),T=oe(),S=oe(),L=function(e,t){return e===t&&(d=!0),0},D={}.hasOwnProperty,A=[],R=A.pop,P=A.push,M=A.push,j=A.slice,N=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},I="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",_="[\\x20\\t\\r\\n\\f]",O="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",$="\\["+_+"*("+O+")(?:"+_+"*([*^$|!~]?=)"+_+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+O+"))|)"+_+"*\\]",q=":("+O+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+$+")*)|.*)\\)|)",U=new RegExp(_+"+","g"),W=new RegExp("^"+_+"+|((?:^|[^\\\\])(?:\\\\.)*)"+_+"+$","g"),F=new RegExp("^"+_+"*,"+_+"*"),H=new RegExp("^"+_+"*([>+~]|"+_+")"+_+"*"),B=new RegExp("="+_+"*([^\\]'\"]*?)"+_+"*\\]","g"),V=new RegExp(q),G=new RegExp("^"+O+"$"),z={ID:new RegExp("^#("+O+")"),CLASS:new RegExp("^\\.("+O+")"),TAG:new RegExp("^("+O+"|[*])"),ATTR:new RegExp("^"+$),PSEUDO:new RegExp("^"+q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+_+"*(even|odd|(([+-]|)(\\d*)n|)"+_+"*(?:([+-]|)"+_+"*(\\d+)|))"+_+"*\\)|)","i"),bool:new RegExp("^(?:"+I+")$","i"),needsContext:new RegExp("^"+_+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+_+"*((?:-\\d)?\\d*)"+_+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,K=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Z=/[+~]/,J=new RegExp("\\\\([\\da-f]{1,6}"+_+"?|("+_+")|.)","ig"),ee=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},te=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ne=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},re=function(){p()},ie=ve(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{M.apply(A=j.call(x.childNodes),x.childNodes),A[x.childNodes.length].nodeType}catch(e){M={apply:A.length?function(e,t){P.apply(e,j.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function ae(e,t,r,i){var a,l,u,c,d,h,b,v=t&&t.ownerDocument,C=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==C&&9!==C&&11!==C)return r;if(!i&&((t?t.ownerDocument||t:x)!==f&&p(t),t=t||f,m)){if(11!==C&&(d=K.exec(e)))if(a=d[1]){if(9===C){if(!(u=t.getElementById(a)))return r;if(u.id===a)return r.push(u),r}else if(v&&(u=v.getElementById(a))&&y(t,u)&&u.id===a)return r.push(u),r}else{if(d[2])return M.apply(r,t.getElementsByTagName(e)),r;if((a=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return M.apply(r,t.getElementsByClassName(a)),r}if(n.qsa&&!S[e+" "]&&(!g||!g.test(e))){if(1!==C)v=t,b=e;else if("object"!==t.nodeName.toLowerCase()){for((c=t.getAttribute("id"))?c=c.replace(te,ne):t.setAttribute("id",c=w),l=(h=o(e)).length;l--;)h[l]="#"+c+" "+be(h[l]);b=h.join(","),v=Z.test(e)&&me(t.parentNode)||t}if(b)try{return M.apply(r,v.querySelectorAll(b)),r}catch(e){}finally{c===w&&t.removeAttribute("id")}}}return s(e.replace(W,"$1"),t,r,i)}function oe(){var e=[];return function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}}function le(e){return e[w]=!0,e}function se(e){var t=f.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ue(e,t){for(var n=e.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=t}function ce(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function de(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function pe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function fe(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ie(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function he(e){return le(function(t){return t=+t,le(function(n,r){for(var i,a=e([],n.length,t),o=a.length;o--;)n[i=a[o]]&&(n[i]=!(r[i]=n[i]))})})}function me(e){return e&&void 0!==e.getElementsByTagName&&e}n=ae.support={},a=ae.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},p=ae.setDocument=function(e){var t,i,o=e?e.ownerDocument||e:x;return o!==f&&9===o.nodeType&&o.documentElement?(h=(f=o).documentElement,m=!a(f),x!==f&&(i=f.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",re,!1):i.attachEvent&&i.attachEvent("onunload",re)),n.attributes=se(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=se(function(e){return e.appendChild(f.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=Q.test(f.getElementsByClassName),n.getById=se(function(e){return h.appendChild(e).id=w,!f.getElementsByName||!f.getElementsByName(w).length}),n.getById?(r.filter.ID=function(e){var t=e.replace(J,ee);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(J,ee);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n,r,i,a=t.getElementById(e);if(a){if((n=a.getAttributeNode("id"))&&n.value===e)return[a];for(i=t.getElementsByName(e),r=0;a=i[r++];)if((n=a.getAttributeNode("id"))&&n.value===e)return[a]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,a=t.getElementsByTagName(e);if("*"===e){for(;n=a[i++];)1===n.nodeType&&r.push(n);return r}return a},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},b=[],g=[],(n.qsa=Q.test(f.querySelectorAll))&&(se(function(e){h.appendChild(e).innerHTML="<a id='"+w+"'></a><select id='"+w+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+_+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+_+"*(?:value|"+I+")"),e.querySelectorAll("[id~="+w+"-]").length||g.push("~="),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+w+"+*").length||g.push(".#.+[+~]")}),se(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=f.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+_+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(n.matchesSelector=Q.test(v=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&se(function(e){n.disconnectedMatch=v.call(e,"*"),v.call(e,"[s!='']:x"),b.push("!=",q)}),g=g.length&&new RegExp(g.join("|")),b=b.length&&new RegExp(b.join("|")),t=Q.test(h.compareDocumentPosition),y=t||Q.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},L=t?function(e,t){if(e===t)return d=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===f||e.ownerDocument===x&&y(x,e)?-1:t===f||t.ownerDocument===x&&y(x,t)?1:c?N(c,e)-N(c,t):0:4&r?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,r=0,i=e.parentNode,a=t.parentNode,o=[e],l=[t];if(!i||!a)return e===f?-1:t===f?1:i?-1:a?1:c?N(c,e)-N(c,t):0;if(i===a)return ce(e,t);for(n=e;n=n.parentNode;)o.unshift(n);for(n=t;n=n.parentNode;)l.unshift(n);for(;o[r]===l[r];)r++;return r?ce(o[r],l[r]):o[r]===x?-1:l[r]===x?1:0},f):f},ae.matches=function(e,t){return ae(e,null,null,t)},ae.matchesSelector=function(e,t){if((e.ownerDocument||e)!==f&&p(e),t=t.replace(B,"='$1']"),n.matchesSelector&&m&&!S[t+" "]&&(!b||!b.test(t))&&(!g||!g.test(t)))try{var r=v.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return ae(t,f,null,[e]).length>0},ae.contains=function(e,t){return(e.ownerDocument||e)!==f&&p(e),y(e,t)},ae.attr=function(e,t){(e.ownerDocument||e)!==f&&p(e);var i=r.attrHandle[t.toLowerCase()],a=i&&D.call(r.attrHandle,t.toLowerCase())?i(e,t,!m):void 0;return void 0!==a?a:n.attributes||!m?e.getAttribute(t):(a=e.getAttributeNode(t))&&a.specified?a.value:null},ae.escape=function(e){return(e+"").replace(te,ne)},ae.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ae.uniqueSort=function(e){var t,r=[],i=0,a=0;if(d=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(L),d){for(;t=e[a++];)t===e[a]&&(i=r.push(a));for(;i--;)e.splice(r[i],1)}return c=null,e},i=ae.getText=function(e){var t,n="",r=0,a=e.nodeType;if(a){if(1===a||9===a||11===a){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===a||4===a)return e.nodeValue}else for(;t=e[r++];)n+=i(t);return n},(r=ae.selectors={cacheLength:50,createPseudo:le,match:z,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(J,ee),e[3]=(e[3]||e[4]||e[5]||"").replace(J,ee),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ae.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ae.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return z.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&V.test(n)&&(t=o(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(J,ee).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=k[e+" "];return t||(t=new RegExp("(^|"+_+")"+e+"("+_+"|$)"))&&k(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=ae.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace(U," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var a="nth"!==e.slice(0,3),o="last"!==e.slice(-4),l="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,s){var u,c,d,p,f,h,m=a!==o?"nextSibling":"previousSibling",g=t.parentNode,b=l&&t.nodeName.toLowerCase(),v=!s&&!l,y=!1;if(g){if(a){for(;m;){for(p=t;p=p[m];)if(l?p.nodeName.toLowerCase()===b:1===p.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[o?g.firstChild:g.lastChild],o&&v){for(y=(f=(u=(c=(d=(p=g)[w]||(p[w]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]||[])[0]===C&&u[1])&&u[2],p=f&&g.childNodes[f];p=++f&&p&&p[m]||(y=f=0)||h.pop();)if(1===p.nodeType&&++y&&p===t){c[e]=[C,f,y];break}}else if(v&&(y=f=(u=(c=(d=(p=t)[w]||(p[w]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]||[])[0]===C&&u[1]),!1===y)for(;(p=++f&&p&&p[m]||(y=f=0)||h.pop())&&((l?p.nodeName.toLowerCase()!==b:1!==p.nodeType)||!++y||(v&&((c=(d=p[w]||(p[w]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]=[C,y]),p!==t)););return(y-=i)===r||y%r==0&&y/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||ae.error("unsupported pseudo: "+e);return i[w]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?le(function(e,n){for(var r,a=i(e,t),o=a.length;o--;)e[r=N(e,a[o])]=!(n[r]=a[o])}):function(e){return i(e,0,n)}):i}},pseudos:{not:le(function(e){var t=[],n=[],r=l(e.replace(W,"$1"));return r[w]?le(function(e,t,n,i){for(var a,o=r(e,null,i,[]),l=e.length;l--;)(a=o[l])&&(e[l]=!(t[l]=a))}):function(e,i,a){return t[0]=e,r(t,null,a,n),t[0]=null,!n.pop()}}),has:le(function(e){return function(t){return ae(e,t).length>0}}),contains:le(function(e){return e=e.replace(J,ee),function(t){return(t.textContent||t.innerText||i(t)).indexOf(e)>-1}}),lang:le(function(e){return G.test(e||"")||ae.error("unsupported lang: "+e),e=e.replace(J,ee).toLowerCase(),function(t){var n;do{if(n=m?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:fe(!1),disabled:fe(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return X.test(e.nodeName)},input:function(e){return Y.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:he(function(){return[0]}),last:he(function(e,t){return[t-1]}),eq:he(function(e,t,n){return[n<0?n+t:n]}),even:he(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:he(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:he(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:he(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=r.pseudos.eq;for(t in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=de(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=pe(t);function ge(){}function be(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function ve(e,t,n){var r=t.dir,i=t.next,a=i||r,o=n&&"parentNode"===a,l=E++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||o)return e(t,n,i);return!1}:function(t,n,s){var u,c,d,p=[C,l];if(s){for(;t=t[r];)if((1===t.nodeType||o)&&e(t,n,s))return!0}else for(;t=t[r];)if(1===t.nodeType||o)if(c=(d=t[w]||(t[w]={}))[t.uniqueID]||(d[t.uniqueID]={}),i&&i===t.nodeName.toLowerCase())t=t[r]||t;else{if((u=c[a])&&u[0]===C&&u[1]===l)return p[2]=u[2];if(c[a]=p,p[2]=e(t,n,s))return!0}return!1}}function ye(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function we(e,t,n,r,i){for(var a,o=[],l=0,s=e.length,u=null!=t;l<s;l++)(a=e[l])&&(n&&!n(a,r,i)||(o.push(a),u&&t.push(l)));return o}function xe(e,t,n,r,i,a){return r&&!r[w]&&(r=xe(r)),i&&!i[w]&&(i=xe(i,a)),le(function(a,o,l,s){var u,c,d,p=[],f=[],h=o.length,m=a||function(e,t,n){for(var r=0,i=t.length;r<i;r++)ae(e,t[r],n);return n}(t||"*",l.nodeType?[l]:l,[]),g=!e||!a&&t?m:we(m,p,e,l,s),b=n?i||(a?e:h||r)?[]:o:g;if(n&&n(g,b,l,s),r)for(u=we(b,f),r(u,[],l,s),c=u.length;c--;)(d=u[c])&&(b[f[c]]=!(g[f[c]]=d));if(a){if(i||e){if(i){for(u=[],c=b.length;c--;)(d=b[c])&&u.push(g[c]=d);i(null,b=[],u,s)}for(c=b.length;c--;)(d=b[c])&&(u=i?N(a,d):p[c])>-1&&(a[u]=!(o[u]=d))}}else b=we(b===o?b.splice(h,b.length):b),i?i(null,o,b,s):M.apply(o,b)})}function Ce(e){for(var t,n,i,a=e.length,o=r.relative[e[0].type],l=o||r.relative[" "],s=o?1:0,c=ve(function(e){return e===t},l,!0),d=ve(function(e){return N(t,e)>-1},l,!0),p=[function(e,n,r){var i=!o&&(r||n!==u)||((t=n).nodeType?c(e,n,r):d(e,n,r));return t=null,i}];s<a;s++)if(n=r.relative[e[s].type])p=[ve(ye(p),n)];else{if((n=r.filter[e[s].type].apply(null,e[s].matches))[w]){for(i=++s;i<a&&!r.relative[e[i].type];i++);return xe(s>1&&ye(p),s>1&&be(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(W,"$1"),n,s<i&&Ce(e.slice(s,i)),i<a&&Ce(e=e.slice(i)),i<a&&be(e))}p.push(n)}return ye(p)}return ge.prototype=r.filters=r.pseudos,r.setFilters=new ge,o=ae.tokenize=function(e,t){var n,i,a,o,l,s,u,c=T[e+" "];if(c)return t?0:c.slice(0);for(l=e,s=[],u=r.preFilter;l;){n&&!(i=F.exec(l))||(i&&(l=l.slice(i[0].length)||l),s.push(a=[])),n=!1,(i=H.exec(l))&&(n=i.shift(),a.push({value:n,type:i[0].replace(W," ")}),l=l.slice(n.length));for(o in r.filter)!(i=z[o].exec(l))||u[o]&&!(i=u[o](i))||(n=i.shift(),a.push({value:n,type:o,matches:i}),l=l.slice(n.length));if(!n)break}return t?l.length:l?ae.error(e):T(e,s).slice(0)},l=ae.compile=function(e,t){var n,i,a,l,s,c,d=[],h=[],g=S[e+" "];if(!g){for(t||(t=o(e)),n=t.length;n--;)(g=Ce(t[n]))[w]?d.push(g):h.push(g);(g=S(e,(i=h,l=(a=d).length>0,s=i.length>0,c=function(e,t,n,o,c){var d,h,g,b=0,v="0",y=e&&[],w=[],x=u,E=e||s&&r.find.TAG("*",c),k=C+=null==x?1:Math.random()||.1,T=E.length;for(c&&(u=t===f||t||c);v!==T&&null!=(d=E[v]);v++){if(s&&d){for(h=0,t||d.ownerDocument===f||(p(d),n=!m);g=i[h++];)if(g(d,t||f,n)){o.push(d);break}c&&(C=k)}l&&((d=!g&&d)&&b--,e&&y.push(d))}if(b+=v,l&&v!==b){for(h=0;g=a[h++];)g(y,w,t,n);if(e){if(b>0)for(;v--;)y[v]||w[v]||(w[v]=R.call(o));w=we(w)}M.apply(o,w),c&&!e&&w.length>0&&b+a.length>1&&ae.uniqueSort(o)}return c&&(C=k,u=x),y},l?le(c):c))).selector=e}return g},s=ae.select=function(e,t,n,i){var a,s,u,c,d,p="function"==typeof e&&e,f=!i&&o(e=p.selector||e);if(n=n||[],1===f.length){if((s=f[0]=f[0].slice(0)).length>2&&"ID"===(u=s[0]).type&&9===t.nodeType&&m&&r.relative[s[1].type]){if(!(t=(r.find.ID(u.matches[0].replace(J,ee),t)||[])[0]))return n;p&&(t=t.parentNode),e=e.slice(s.shift().value.length)}for(a=z.needsContext.test(e)?0:s.length;a--&&(u=s[a],!r.relative[c=u.type]);)if((d=r.find[c])&&(i=d(u.matches[0].replace(J,ee),Z.test(s[0].type)&&me(t.parentNode)||t))){if(s.splice(a,1),!(e=i.length&&be(s)))return M.apply(n,i),n;break}}return(p||l(e,f))(i,t,!m,n,!t||Z.test(e)&&me(t.parentNode)||t),n},n.sortStable=w.split("").sort(L).join("")===w,n.detectDuplicates=!!d,p(),n.sortDetached=se(function(e){return 1&e.compareDocumentPosition(f.createElement("fieldset"))}),se(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||ue("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&se(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||ue("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),se(function(e){return null==e.getAttribute("disabled")})||ue(I,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),ae}(e);x.find=k,x.expr=k.selectors,x.expr[":"]=x.expr.pseudos,x.uniqueSort=x.unique=k.uniqueSort,x.text=k.getText,x.isXMLDoc=k.isXML,x.contains=k.contains,x.escapeSelector=k.escape;var T=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&x(e).is(n))break;r.push(e)}return r},S=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},L=x.expr.match.needsContext;function D(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var A=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function R(e,t,n){return m(t)?x.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?x.grep(e,function(e){return e===t!==n}):"string"!=typeof t?x.grep(e,function(e){return s.call(t,e)>-1!==n}):x.filter(t,e,n)}x.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?x.find.matchesSelector(r,e)?[r]:[]:x.find.matches(e,x.grep(t,function(e){return 1===e.nodeType}))},x.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(x(e).filter(function(){for(t=0;t<r;t++)if(x.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)x.find(e,i[t],n);return r>1?x.uniqueSort(n):n},filter:function(e){return this.pushStack(R(this,e||[],!1))},not:function(e){return this.pushStack(R(this,e||[],!0))},is:function(e){return!!R(this,"string"==typeof e&&L.test(e)?x(e):e||[],!1).length}});var P,M=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(x.fn.init=function(e,t,n){var i,a;if(!e)return this;if(n=n||P,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:M.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof x?t[0]:t,x.merge(this,x.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:r,!0)),A.test(i[1])&&x.isPlainObject(t))for(i in t)m(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(a=r.getElementById(i[2]))&&(this[0]=a,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(x):x.makeArray(e,this)}).prototype=x.fn,P=x(r);var j=/^(?:parents|prev(?:Until|All))/,N={children:!0,contents:!0,next:!0,prev:!0};function I(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}x.fn.extend({has:function(e){var t=x(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(x.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,a=[],o="string"!=typeof e&&x(e);if(!L.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(o?o.index(n)>-1:1===n.nodeType&&x.find.matchesSelector(n,e))){a.push(n);break}return this.pushStack(a.length>1?x.uniqueSort(a):a)},index:function(e){return e?"string"==typeof e?s.call(x(e),this[0]):s.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(x.uniqueSort(x.merge(this.get(),x(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),x.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return T(e,"parentNode")},parentsUntil:function(e,t,n){return T(e,"parentNode",n)},next:function(e){return I(e,"nextSibling")},prev:function(e){return I(e,"previousSibling")},nextAll:function(e){return T(e,"nextSibling")},prevAll:function(e){return T(e,"previousSibling")},nextUntil:function(e,t,n){return T(e,"nextSibling",n)},prevUntil:function(e,t,n){return T(e,"previousSibling",n)},siblings:function(e){return S((e.parentNode||{}).firstChild,e)},children:function(e){return S(e.firstChild)},contents:function(e){return D(e,"iframe")?e.contentDocument:(D(e,"template")&&(e=e.content||e),x.merge([],e.childNodes))}},function(e,t){x.fn[e]=function(n,r){var i=x.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=x.filter(r,i)),this.length>1&&(N[e]||x.uniqueSort(i),j.test(e)&&i.reverse()),this.pushStack(i)}});var _=/[^\x20\t\r\n\f]+/g;function O(e){return e}function $(e){throw e}function q(e,t,n,r){var i;try{e&&m(i=e.promise)?i.call(e).done(t).fail(n):e&&m(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}x.Callbacks=function(e){var t,n;e="string"==typeof e?(t=e,n={},x.each(t.match(_)||[],function(e,t){n[t]=!0}),n):x.extend({},e);var r,i,a,o,l=[],s=[],u=-1,c=function(){for(o=o||e.once,a=r=!0;s.length;u=-1)for(i=s.shift();++u<l.length;)!1===l[u].apply(i[0],i[1])&&e.stopOnFalse&&(u=l.length,i=!1);e.memory||(i=!1),r=!1,o&&(l=i?[]:"")},d={add:function(){return l&&(i&&!r&&(u=l.length-1,s.push(i)),function t(n){x.each(n,function(n,r){m(r)?e.unique&&d.has(r)||l.push(r):r&&r.length&&"string"!==y(r)&&t(r)})}(arguments),i&&!r&&c()),this},remove:function(){return x.each(arguments,function(e,t){for(var n;(n=x.inArray(t,l,n))>-1;)l.splice(n,1),n<=u&&u--}),this},has:function(e){return e?x.inArray(e,l)>-1:l.length>0},empty:function(){return l&&(l=[]),this},disable:function(){return o=s=[],l=i="",this},disabled:function(){return!l},lock:function(){return o=s=[],i||r||(l=i=""),this},locked:function(){return!!o},fireWith:function(e,t){return o||(t=[e,(t=t||[]).slice?t.slice():t],s.push(t),r||c()),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!a}};return d},x.extend({Deferred:function(t){var n=[["notify","progress",x.Callbacks("memory"),x.Callbacks("memory"),2],["resolve","done",x.Callbacks("once memory"),x.Callbacks("once memory"),0,"resolved"],["reject","fail",x.Callbacks("once memory"),x.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return a.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return x.Deferred(function(t){x.each(n,function(n,r){var i=m(e[r[4]])&&e[r[4]];a[r[1]](function(){var e=i&&i.apply(this,arguments);e&&m(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[r[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(t,r,i){var a=0;function o(t,n,r,i){return function(){var l=this,s=arguments,u=function(){var e,u;if(!(t<a)){if((e=r.apply(l,s))===n.promise())throw new TypeError("Thenable self-resolution");u=e&&("object"==typeof e||"function"==typeof e)&&e.then,m(u)?i?u.call(e,o(a,n,O,i),o(a,n,$,i)):(a++,u.call(e,o(a,n,O,i),o(a,n,$,i),o(a,n,O,n.notifyWith))):(r!==O&&(l=void 0,s=[e]),(i||n.resolveWith)(l,s))}},c=i?u:function(){try{u()}catch(e){x.Deferred.exceptionHook&&x.Deferred.exceptionHook(e,c.stackTrace),t+1>=a&&(r!==$&&(l=void 0,s=[e]),n.rejectWith(l,s))}};t?c():(x.Deferred.getStackHook&&(c.stackTrace=x.Deferred.getStackHook()),e.setTimeout(c))}}return x.Deferred(function(e){n[0][3].add(o(0,e,m(i)?i:O,e.notifyWith)),n[1][3].add(o(0,e,m(t)?t:O)),n[2][3].add(o(0,e,m(r)?r:$))}).promise()},promise:function(e){return null!=e?x.extend(e,i):i}},a={};return x.each(n,function(e,t){var o=t[2],l=t[5];i[t[1]]=o.add,l&&o.add(function(){r=l},n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),o.add(t[3].fire),a[t[0]]=function(){return a[t[0]+"With"](this===a?void 0:this,arguments),this},a[t[0]+"With"]=o.fireWith}),i.promise(a),t&&t.call(a,a),a},when:function(e){var t=arguments.length,n=t,r=Array(n),i=a.call(arguments),o=x.Deferred(),l=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?a.call(arguments):n,--t||o.resolveWith(r,i)}};if(t<=1&&(q(e,o.done(l(n)).resolve,o.reject,!t),"pending"===o.state()||m(i[n]&&i[n].then)))return o.then();for(;n--;)q(i[n],l(n),o.reject);return o.promise()}});var U=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;x.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&U.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},x.readyException=function(t){e.setTimeout(function(){throw t})};var W=x.Deferred();function F(){r.removeEventListener("DOMContentLoaded",F),e.removeEventListener("load",F),x.ready()}x.fn.ready=function(e){return W.then(e).catch(function(e){x.readyException(e)}),this},x.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--x.readyWait:x.isReady)||(x.isReady=!0,!0!==e&&--x.readyWait>0||W.resolveWith(r,[x]))}}),x.ready.then=W.then,"complete"===r.readyState||"loading"!==r.readyState&&!r.documentElement.doScroll?e.setTimeout(x.ready):(r.addEventListener("DOMContentLoaded",F),e.addEventListener("load",F));var H=function(e,t,n,r,i,a,o){var l=0,s=e.length,u=null==n;if("object"===y(n)){i=!0;for(l in n)H(e,t,l,n[l],!0,a,o)}else if(void 0!==r&&(i=!0,m(r)||(o=!0),u&&(o?(t.call(e,r),t=null):(u=t,t=function(e,t,n){return u.call(x(e),n)})),t))for(;l<s;l++)t(e[l],n,o?r:r.call(e[l],l,t(e[l],n)));return i?e:u?t.call(e):s?t(e[0],n):a},B=/^-ms-/,V=/-([a-z])/g;function G(e,t){return t.toUpperCase()}function z(e){return e.replace(B,"ms-").replace(V,G)}var Y=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function X(){this.expando=x.expando+X.uid++}X.uid=1,X.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Y(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[z(t)]=n;else for(r in t)i[z(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][z(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(z):(t=z(t))in r?[t]:t.match(_)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||x.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!x.isEmptyObject(t)}};var Q=new X,K=new X,Z=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,J=/[A-Z]/g;function ee(e,t,n){var r,i;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(J,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===(i=n)||"false"!==i&&("null"===i?null:i===+i+""?+i:Z.test(i)?JSON.parse(i):i)}catch(e){}K.set(e,t,n)}else n=void 0;return n}x.extend({hasData:function(e){return K.hasData(e)||Q.hasData(e)},data:function(e,t,n){return K.access(e,t,n)},removeData:function(e,t){K.remove(e,t)},_data:function(e,t,n){return Q.access(e,t,n)},_removeData:function(e,t){Q.remove(e,t)}}),x.fn.extend({data:function(e,t){var n,r,i,a=this[0],o=a&&a.attributes;if(void 0===e){if(this.length&&(i=K.get(a),1===a.nodeType&&!Q.get(a,"hasDataAttrs"))){for(n=o.length;n--;)o[n]&&0===(r=o[n].name).indexOf("data-")&&(r=z(r.slice(5)),ee(a,r,i[r]));Q.set(a,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each(function(){K.set(this,e)}):H(this,function(t){var n;if(a&&void 0===t)return void 0!==(n=K.get(a,e))?n:void 0!==(n=ee(a,e))?n:void 0;this.each(function(){K.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){K.remove(this,e)})}}),x.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Q.get(e,t),n&&(!r||Array.isArray(n)?r=Q.access(e,t,x.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=x.queue(e,t),r=n.length,i=n.shift(),a=x._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete a.stop,i.call(e,function(){x.dequeue(e,t)},a)),!r&&a&&a.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Q.get(e,n)||Q.access(e,n,{empty:x.Callbacks("once memory").add(function(){Q.remove(e,[t+"queue",n])})})}}),x.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?x.queue(this[0],e):void 0===t?this:this.each(function(){var n=x.queue(this,e,t);x._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&x.dequeue(this,e)})},dequeue:function(e){return this.each(function(){x.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=x.Deferred(),a=this,o=this.length,l=function(){--r||i.resolveWith(a,[a])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";o--;)(n=Q.get(a[o],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(l));return l(),i.promise(t)}});var te=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ne=new RegExp("^(?:([+-])=|)("+te+")([a-z%]*)$","i"),re=["Top","Right","Bottom","Left"],ie=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&x.contains(e.ownerDocument,e)&&"none"===x.css(e,"display")},ae=function(e,t,n,r){var i,a,o={};for(a in t)o[a]=e.style[a],e.style[a]=t[a];i=n.apply(e,r||[]);for(a in t)e.style[a]=o[a];return i};var oe={};function le(e,t){for(var n,r,i,a,o,l,s,u=[],c=0,d=e.length;c<d;c++)(r=e[c]).style&&(n=r.style.display,t?("none"===n&&(u[c]=Q.get(r,"display")||null,u[c]||(r.style.display="")),""===r.style.display&&ie(r)&&(u[c]=(a=void 0,o=void 0,void 0,s=void 0,o=(i=r).ownerDocument,l=i.nodeName,(s=oe[l])||(a=o.body.appendChild(o.createElement(l)),s=x.css(a,"display"),a.parentNode.removeChild(a),"none"===s&&(s="block"),oe[l]=s,s)))):"none"!==n&&(u[c]="none",Q.set(r,"display",n)));for(c=0;c<d;c++)null!=u[c]&&(e[c].style.display=u[c]);return e}x.fn.extend({show:function(){return le(this,!0)},hide:function(){return le(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ie(this)?x(this).show():x(this).hide()})}});var se=/^(?:checkbox|radio)$/i,ue=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,ce=/^$|^module$|\/(?:java|ecma)script/i,de={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function pe(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&D(e,t)?x.merge([e],n):n}function fe(e,t){for(var n=0,r=e.length;n<r;n++)Q.set(e[n],"globalEval",!t||Q.get(t[n],"globalEval"))}de.optgroup=de.option,de.tbody=de.tfoot=de.colgroup=de.caption=de.thead,de.th=de.td;var he,me,ge=/<|&#?\w+;/;function be(e,t,n,r,i){for(var a,o,l,s,u,c,d=t.createDocumentFragment(),p=[],f=0,h=e.length;f<h;f++)if((a=e[f])||0===a)if("object"===y(a))x.merge(p,a.nodeType?[a]:a);else if(ge.test(a)){for(o=o||d.appendChild(t.createElement("div")),l=(ue.exec(a)||["",""])[1].toLowerCase(),s=de[l]||de._default,o.innerHTML=s[1]+x.htmlPrefilter(a)+s[2],c=s[0];c--;)o=o.lastChild;x.merge(p,o.childNodes),(o=d.firstChild).textContent=""}else p.push(t.createTextNode(a));for(d.textContent="",f=0;a=p[f++];)if(r&&x.inArray(a,r)>-1)i&&i.push(a);else if(u=x.contains(a.ownerDocument,a),o=pe(d.appendChild(a),"script"),u&&fe(o),n)for(c=0;a=o[c++];)ce.test(a.type||"")&&n.push(a);return d}he=r.createDocumentFragment().appendChild(r.createElement("div")),(me=r.createElement("input")).setAttribute("type","radio"),me.setAttribute("checked","checked"),me.setAttribute("name","t"),he.appendChild(me),h.checkClone=he.cloneNode(!0).cloneNode(!0).lastChild.checked,he.innerHTML="<textarea>x</textarea>",h.noCloneChecked=!!he.cloneNode(!0).lastChild.defaultValue;var ve=r.documentElement,ye=/^key/,we=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,xe=/^([^.]*)(?:\.(.+)|)/;function Ce(){return!0}function Ee(){return!1}function ke(){try{return r.activeElement}catch(e){}}function Te(e,t,n,r,i,a){var o,l;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(l in t)Te(e,l,n,r,t[l],a);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Ee;else if(!i)return e;return 1===a&&(o=i,(i=function(e){return x().off(e),o.apply(this,arguments)}).guid=o.guid||(o.guid=x.guid++)),e.each(function(){x.event.add(this,t,i,r,n)})}x.event={global:{},add:function(e,t,n,r,i){var a,o,l,s,u,c,d,p,f,h,m,g=Q.get(e);if(g)for(n.handler&&(n=(a=n).handler,i=a.selector),i&&x.find.matchesSelector(ve,i),n.guid||(n.guid=x.guid++),(s=g.events)||(s=g.events={}),(o=g.handle)||(o=g.handle=function(t){return void 0!==x&&x.event.triggered!==t.type?x.event.dispatch.apply(e,arguments):void 0}),u=(t=(t||"").match(_)||[""]).length;u--;)f=m=(l=xe.exec(t[u])||[])[1],h=(l[2]||"").split(".").sort(),f&&(d=x.event.special[f]||{},f=(i?d.delegateType:d.bindType)||f,d=x.event.special[f]||{},c=x.extend({type:f,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&x.expr.match.needsContext.test(i),namespace:h.join(".")},a),(p=s[f])||((p=s[f]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,r,h,o)||e.addEventListener&&e.addEventListener(f,o)),d.add&&(d.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),x.event.global[f]=!0)},remove:function(e,t,n,r,i){var a,o,l,s,u,c,d,p,f,h,m,g=Q.hasData(e)&&Q.get(e);if(g&&(s=g.events)){for(u=(t=(t||"").match(_)||[""]).length;u--;)if(f=m=(l=xe.exec(t[u])||[])[1],h=(l[2]||"").split(".").sort(),f){for(d=x.event.special[f]||{},p=s[f=(r?d.delegateType:d.bindType)||f]||[],l=l[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=a=p.length;a--;)c=p[a],!i&&m!==c.origType||n&&n.guid!==c.guid||l&&!l.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(a,1),c.selector&&p.delegateCount--,d.remove&&d.remove.call(e,c));o&&!p.length&&(d.teardown&&!1!==d.teardown.call(e,h,g.handle)||x.removeEvent(e,f,g.handle),delete s[f])}else for(f in s)x.event.remove(e,f+t[u],n,r,!0);x.isEmptyObject(s)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,a,o,l=x.event.fix(e),s=new Array(arguments.length),u=(Q.get(this,"events")||{})[l.type]||[],c=x.event.special[l.type]||{};for(s[0]=l,t=1;t<arguments.length;t++)s[t]=arguments[t];if(l.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,l)){for(o=x.event.handlers.call(this,l,u),t=0;(i=o[t++])&&!l.isPropagationStopped();)for(l.currentTarget=i.elem,n=0;(a=i.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!l.rnamespace.test(a.namespace)||(l.handleObj=a,l.data=a.data,void 0!==(r=((x.event.special[a.origType]||{}).handle||a.handler).apply(i.elem,s))&&!1===(l.result=r)&&(l.preventDefault(),l.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,r,i,a,o,l=[],s=t.delegateCount,u=e.target;if(s&&u.nodeType&&!("click"===e.type&&e.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(a=[],o={},n=0;n<s;n++)void 0===o[i=(r=t[n]).selector+" "]&&(o[i]=r.needsContext?x(i,this).index(u)>-1:x.find(i,this,null,[u]).length),o[i]&&a.push(r);a.length&&l.push({elem:u,handlers:a})}return u=this,s<t.length&&l.push({elem:u,handlers:t.slice(s)}),l},addProp:function(e,t){Object.defineProperty(x.Event.prototype,e,{enumerable:!0,configurable:!0,get:m(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[x.expando]?e:new x.Event(e)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==ke()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===ke()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&D(this,"input"))return this.click(),!1},_default:function(e){return D(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},x.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},x.Event=function(e,t){if(!(this instanceof x.Event))return new x.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ce:Ee,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&x.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[x.expando]=!0},x.Event.prototype={constructor:x.Event,isDefaultPrevented:Ee,isPropagationStopped:Ee,isImmediatePropagationStopped:Ee,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ce,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ce,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ce,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},x.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&ye.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&we.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},x.event.addProp),x.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){x.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=e.relatedTarget,i=e.handleObj;return r&&(r===this||x.contains(this,r))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}}),x.fn.extend({on:function(e,t,n,r){return Te(this,e,t,n,r)},one:function(e,t,n,r){return Te(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,x(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Ee),this.each(function(){x.event.remove(this,e,n,t)})}});var Se=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Le=/<script|<style|<link/i,De=/checked\s*(?:[^=]|=\s*.checked.)/i,Ae=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Re(e,t){return D(e,"table")&&D(11!==t.nodeType?t:t.firstChild,"tr")&&x(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Me(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function je(e,t){var n,r,i,a,o,l,s,u;if(1===t.nodeType){if(Q.hasData(e)&&(a=Q.access(e),o=Q.set(t,a),u=a.events)){delete o.handle,o.events={};for(i in u)for(n=0,r=u[i].length;n<r;n++)x.event.add(t,i,u[i][n])}K.hasData(e)&&(l=K.access(e),s=x.extend({},l),K.set(t,s))}}function Ne(e,t,n,r){t=o.apply([],t);var i,a,l,s,u,c,d=0,p=e.length,f=p-1,g=t[0],b=m(g);if(b||p>1&&"string"==typeof g&&!h.checkClone&&De.test(g))return e.each(function(i){var a=e.eq(i);b&&(t[0]=g.call(this,i,a.html())),Ne(a,t,n,r)});if(p&&(a=(i=be(t,e[0].ownerDocument,!1,e,r)).firstChild,1===i.childNodes.length&&(i=a),a||r)){for(s=(l=x.map(pe(i,"script"),Pe)).length;d<p;d++)u=i,d!==f&&(u=x.clone(u,!0,!0),s&&x.merge(l,pe(u,"script"))),n.call(e[d],u,d);if(s)for(c=l[l.length-1].ownerDocument,x.map(l,Me),d=0;d<s;d++)u=l[d],ce.test(u.type||"")&&!Q.access(u,"globalEval")&&x.contains(c,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?x._evalUrl&&x._evalUrl(u.src):v(u.textContent.replace(Ae,""),c,u))}return e}function Ie(e,t,n){for(var r,i=t?x.filter(t,e):e,a=0;null!=(r=i[a]);a++)n||1!==r.nodeType||x.cleanData(pe(r)),r.parentNode&&(n&&x.contains(r.ownerDocument,r)&&fe(pe(r,"script")),r.parentNode.removeChild(r));return e}x.extend({htmlPrefilter:function(e){return e.replace(Se,"<$1></$2>")},clone:function(e,t,n){var r,i,a,o,l,s,u,c=e.cloneNode(!0),d=x.contains(e.ownerDocument,e);if(!(h.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||x.isXMLDoc(e)))for(o=pe(c),r=0,i=(a=pe(e)).length;r<i;r++)l=a[r],s=o[r],void 0,"input"===(u=s.nodeName.toLowerCase())&&se.test(l.type)?s.checked=l.checked:"input"!==u&&"textarea"!==u||(s.defaultValue=l.defaultValue);if(t)if(n)for(a=a||pe(e),o=o||pe(c),r=0,i=a.length;r<i;r++)je(a[r],o[r]);else je(e,c);return(o=pe(c,"script")).length>0&&fe(o,!d&&pe(e,"script")),c},cleanData:function(e){for(var t,n,r,i=x.event.special,a=0;void 0!==(n=e[a]);a++)if(Y(n)){if(t=n[Q.expando]){if(t.events)for(r in t.events)i[r]?x.event.remove(n,r):x.removeEvent(n,r,t.handle);n[Q.expando]=void 0}n[K.expando]&&(n[K.expando]=void 0)}}}),x.fn.extend({detach:function(e){return Ie(this,e,!0)},remove:function(e){return Ie(this,e)},text:function(e){return H(this,function(e){return void 0===e?x.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Ne(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Re(this,e).appendChild(e)})},prepend:function(){return Ne(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Re(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Ne(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Ne(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(x.cleanData(pe(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return x.clone(this,e,t)})},html:function(e){return H(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Le.test(e)&&!de[(ue.exec(e)||["",""])[1].toLowerCase()]){e=x.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(x.cleanData(pe(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return Ne(this,arguments,function(t){var n=this.parentNode;x.inArray(this,e)<0&&(x.cleanData(pe(this)),n&&n.replaceChild(t,this))},e)}}),x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){x.fn[e]=function(e){for(var n,r=[],i=x(e),a=i.length-1,o=0;o<=a;o++)n=o===a?this:this.clone(!0),x(i[o])[t](n),l.apply(r,n.get());return this.pushStack(r)}});var _e=new RegExp("^("+te+")(?!px)[a-z%]+$","i"),Oe=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},$e=new RegExp(re.join("|"),"i");function qe(e,t,n){var r,i,a,o,l=e.style;return(n=n||Oe(e))&&(""!==(o=n.getPropertyValue(t)||n[t])||x.contains(e.ownerDocument,e)||(o=x.style(e,t)),!h.pixelBoxStyles()&&_e.test(o)&&$e.test(t)&&(r=l.width,i=l.minWidth,a=l.maxWidth,l.minWidth=l.maxWidth=l.width=o,o=n.width,l.width=r,l.minWidth=i,l.maxWidth=a)),void 0!==o?o+"":o}function Ue(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function t(){if(c){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ve.appendChild(u).appendChild(c);var t=e.getComputedStyle(c);i="1%"!==t.top,s=12===n(t.marginLeft),c.style.right="60%",l=36===n(t.right),a=36===n(t.width),c.style.position="absolute",o=36===c.offsetWidth||"absolute",ve.removeChild(u),c=null}}function n(e){return Math.round(parseFloat(e))}var i,a,o,l,s,u=r.createElement("div"),c=r.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",h.clearCloneStyle="content-box"===c.style.backgroundClip,x.extend(h,{boxSizingReliable:function(){return t(),a},pixelBoxStyles:function(){return t(),l},pixelPosition:function(){return t(),i},reliableMarginLeft:function(){return t(),s},scrollboxSize:function(){return t(),o}}))}();var We,Fe,He=/^(none|table(?!-c[ea]).+)/,Be=/^--/,Ve={position:"absolute",visibility:"hidden",display:"block"},Ge={letterSpacing:"0",fontWeight:"400"},ze=["Webkit","Moz","ms"],Ye=r.createElement("div").style;function Xe(e){var t=x.cssProps[e];return t||(t=x.cssProps[e]=function(e){if(e in Ye)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=ze.length;n--;)if((e=ze[n]+t)in Ye)return e}(e)||e),t}function Qe(e,t,n){var r=ne.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function Ke(e,t,n,r,i,a){var o="width"===t?1:0,l=0,s=0;if(n===(r?"border":"content"))return 0;for(;o<4;o+=2)"margin"===n&&(s+=x.css(e,n+re[o],!0,i)),r?("content"===n&&(s-=x.css(e,"padding"+re[o],!0,i)),"margin"!==n&&(s-=x.css(e,"border"+re[o]+"Width",!0,i))):(s+=x.css(e,"padding"+re[o],!0,i),"padding"!==n?s+=x.css(e,"border"+re[o]+"Width",!0,i):l+=x.css(e,"border"+re[o]+"Width",!0,i));return!r&&a>=0&&(s+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-a-s-l-.5))),s}function Ze(e,t,n){var r=Oe(e),i=qe(e,t,r),a="border-box"===x.css(e,"boxSizing",!1,r),o=a;if(_e.test(i)){if(!n)return i;i="auto"}return o=o&&(h.boxSizingReliable()||i===e.style[t]),("auto"===i||!parseFloat(i)&&"inline"===x.css(e,"display",!1,r))&&(i=e["offset"+t[0].toUpperCase()+t.slice(1)],o=!0),(i=parseFloat(i)||0)+Ke(e,t,n||(a?"border":"content"),o,r,i)+"px"}x.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=qe(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,a,o,l=z(t),s=Be.test(t),u=e.style;if(s||(t=Xe(l)),o=x.cssHooks[t]||x.cssHooks[l],void 0===n)return o&&"get"in o&&void 0!==(i=o.get(e,!1,r))?i:u[t];"string"===(a=typeof n)&&(i=ne.exec(n))&&i[1]&&(n=function(e,t,n,r){var i,a,o=20,l=r?function(){return r.cur()}:function(){return x.css(e,t,"")},s=l(),u=n&&n[3]||(x.cssNumber[t]?"":"px"),c=(x.cssNumber[t]||"px"!==u&&+s)&&ne.exec(x.css(e,t));if(c&&c[3]!==u){for(s/=2,u=u||c[3],c=+s||1;o--;)x.style(e,t,c+u),(1-a)*(1-(a=l()/s||.5))<=0&&(o=0),c/=a;c*=2,x.style(e,t,c+u),n=n||[]}return n&&(c=+c||+s||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=u,r.start=c,r.end=i)),i}(e,t,i),a="number"),null!=n&&n==n&&("number"===a&&(n+=i&&i[3]||(x.cssNumber[l]?"":"px")),h.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),o&&"set"in o&&void 0===(n=o.set(e,n,r))||(s?u.setProperty(t,n):u[t]=n))}},css:function(e,t,n,r){var i,a,o,l=z(t);return Be.test(t)||(t=Xe(l)),(o=x.cssHooks[t]||x.cssHooks[l])&&"get"in o&&(i=o.get(e,!0,n)),void 0===i&&(i=qe(e,t,r)),"normal"===i&&t in Ge&&(i=Ge[t]),""===n||n?(a=parseFloat(i),!0===n||isFinite(a)?a||0:i):i}}),x.each(["height","width"],function(e,t){x.cssHooks[t]={get:function(e,n,r){if(n)return!He.test(x.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?Ze(e,t,r):ae(e,Ve,function(){return Ze(e,t,r)})},set:function(e,n,r){var i,a=Oe(e),o="border-box"===x.css(e,"boxSizing",!1,a),l=r&&Ke(e,t,r,o,a);return o&&h.scrollboxSize()===a.position&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(a[t])-Ke(e,t,"border",!1,a)-.5)),l&&(i=ne.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=x.css(e,t)),Qe(0,n,l)}}}),x.cssHooks.marginLeft=Ue(h.reliableMarginLeft,function(e,t){if(t)return(parseFloat(qe(e,"marginLeft"))||e.getBoundingClientRect().left-ae(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),x.each({margin:"",padding:"",border:"Width"},function(e,t){x.cssHooks[e+t]={expand:function(n){for(var r=0,i={},a="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+re[r]+t]=a[r]||a[r-2]||a[0];return i}},"margin"!==e&&(x.cssHooks[e+t].set=Qe)}),x.fn.extend({css:function(e,t){return H(this,function(e,t,n){var r,i,a={},o=0;if(Array.isArray(t)){for(r=Oe(e),i=t.length;o<i;o++)a[t[o]]=x.css(e,t[o],!1,r);return a}return void 0!==n?x.style(e,t,n):x.css(e,t)},e,t,arguments.length>1)}}),x.fn.delay=function(t,n){return t=x.fx&&x.fx.speeds[t]||t,n=n||"fx",this.queue(n,function(n,r){var i=e.setTimeout(n,t);r.stop=function(){e.clearTimeout(i)}})},We=r.createElement("input"),Fe=r.createElement("select").appendChild(r.createElement("option")),We.type="checkbox",h.checkOn=""!==We.value,h.optSelected=Fe.selected,(We=r.createElement("input")).value="t",We.type="radio",h.radioValue="t"===We.value;var Je,et=x.expr.attrHandle;x.fn.extend({attr:function(e,t){return H(this,x.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){x.removeAttr(this,e)})}}),x.extend({attr:function(e,t,n){var r,i,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return void 0===e.getAttribute?x.prop(e,t,n):(1===a&&x.isXMLDoc(e)||(i=x.attrHooks[t.toLowerCase()]||(x.expr.match.bool.test(t)?Je:void 0)),void 0!==n?null===n?void x.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=x.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!h.radioValue&&"radio"===t&&D(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(_);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),Je={set:function(e,t,n){return!1===t?x.removeAttr(e,n):e.setAttribute(n,n),n}},x.each(x.expr.match.bool.source.match(/\w+/g),function(e,t){var n=et[t]||x.find.attr;et[t]=function(e,t,r){var i,a,o=t.toLowerCase();return r||(a=et[o],et[o]=i,i=null!=n(e,t,r)?o:null,et[o]=a),i}});var tt=/^(?:input|select|textarea|button)$/i,nt=/^(?:a|area)$/i;function rt(e){return(e.match(_)||[]).join(" ")}function it(e){return e.getAttribute&&e.getAttribute("class")||""}function at(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(_)||[]}x.fn.extend({prop:function(e,t){return H(this,x.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[x.propFix[e]||e]})}}),x.extend({prop:function(e,t,n){var r,i,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return 1===a&&x.isXMLDoc(e)||(t=x.propFix[t]||t,i=x.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=x.find.attr(e,"tabindex");return t?parseInt(t,10):tt.test(e.nodeName)||nt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),h.optSelected||(x.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){x.propFix[this.toLowerCase()]=this}),x.fn.extend({addClass:function(e){var t,n,r,i,a,o,l,s=0;if(m(e))return this.each(function(t){x(this).addClass(e.call(this,t,it(this)))});if((t=at(e)).length)for(;n=this[s++];)if(i=it(n),r=1===n.nodeType&&" "+rt(i)+" "){for(o=0;a=t[o++];)r.indexOf(" "+a+" ")<0&&(r+=a+" ");i!==(l=rt(r))&&n.setAttribute("class",l)}return this},removeClass:function(e){var t,n,r,i,a,o,l,s=0;if(m(e))return this.each(function(t){x(this).removeClass(e.call(this,t,it(this)))});if(!arguments.length)return this.attr("class","");if((t=at(e)).length)for(;n=this[s++];)if(i=it(n),r=1===n.nodeType&&" "+rt(i)+" "){for(o=0;a=t[o++];)for(;r.indexOf(" "+a+" ")>-1;)r=r.replace(" "+a+" "," ");i!==(l=rt(r))&&n.setAttribute("class",l)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):m(e)?this.each(function(n){x(this).toggleClass(e.call(this,n,it(this),t),t)}):this.each(function(){var t,i,a,o;if(r)for(i=0,a=x(this),o=at(e);t=o[i++];)a.hasClass(t)?a.removeClass(t):a.addClass(t);else void 0!==e&&"boolean"!==n||((t=it(this))&&Q.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Q.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+rt(it(n))+" ").indexOf(t)>-1)return!0;return!1}});var ot=/\r/g;x.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=m(e),this.each(function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,x(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=x.map(i,function(e){return null==e?"":e+""})),(t=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))})):i?(t=x.valHooks[i.type]||x.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(ot,""):null==n?"":n:void 0}}),x.extend({valHooks:{option:{get:function(e){var t=x.find.attr(e,"value");return null!=t?t:rt(x.text(e))}},select:{get:function(e){var t,n,r,i=e.options,a=e.selectedIndex,o="select-one"===e.type,l=o?null:[],s=o?a+1:i.length;for(r=a<0?s:o?a:0;r<s;r++)if(((n=i[r]).selected||r===a)&&!n.disabled&&(!n.parentNode.disabled||!D(n.parentNode,"optgroup"))){if(t=x(n).val(),o)return t;l.push(t)}return l},set:function(e,t){for(var n,r,i=e.options,a=x.makeArray(t),o=i.length;o--;)((r=i[o]).selected=x.inArray(x.valHooks.option.get(r),a)>-1)&&(n=!0);return n||(e.selectedIndex=-1),a}}}}),x.each(["radio","checkbox"],function(){x.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=x.inArray(x(e).val(),t)>-1}},h.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),h.focusin="onfocusin"in e;var lt=/^(?:focusinfocus|focusoutblur)$/,st=function(e){e.stopPropagation()};x.extend(x.event,{trigger:function(t,n,i,a){var o,l,s,u,c,p,f,h,b=[i||r],v=d.call(t,"type")?t.type:t,y=d.call(t,"namespace")?t.namespace.split("."):[];if(l=h=s=i=i||r,3!==i.nodeType&&8!==i.nodeType&&!lt.test(v+x.event.triggered)&&(v.indexOf(".")>-1&&(v=(y=v.split(".")).shift(),y.sort()),c=v.indexOf(":")<0&&"on"+v,(t=t[x.expando]?t:new x.Event(v,"object"==typeof t&&t)).isTrigger=a?2:3,t.namespace=y.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),n=null==n?[t]:x.makeArray(n,[t]),f=x.event.special[v]||{},a||!f.trigger||!1!==f.trigger.apply(i,n))){if(!a&&!f.noBubble&&!g(i)){for(u=f.delegateType||v,lt.test(u+v)||(l=l.parentNode);l;l=l.parentNode)b.push(l),s=l;s===(i.ownerDocument||r)&&b.push(s.defaultView||s.parentWindow||e)}for(o=0;(l=b[o++])&&!t.isPropagationStopped();)h=l,t.type=o>1?u:f.bindType||v,(p=(Q.get(l,"events")||{})[t.type]&&Q.get(l,"handle"))&&p.apply(l,n),(p=c&&l[c])&&p.apply&&Y(l)&&(t.result=p.apply(l,n),!1===t.result&&t.preventDefault());return t.type=v,a||t.isDefaultPrevented()||f._default&&!1!==f._default.apply(b.pop(),n)||!Y(i)||c&&m(i[v])&&!g(i)&&((s=i[c])&&(i[c]=null),x.event.triggered=v,t.isPropagationStopped()&&h.addEventListener(v,st),i[v](),t.isPropagationStopped()&&h.removeEventListener(v,st),x.event.triggered=void 0,s&&(i[c]=s)),t.result}},simulate:function(e,t,n){var r=x.extend(new x.Event,n,{type:e,isSimulated:!0});x.event.trigger(r,null,t)}}),x.fn.extend({trigger:function(e,t){return this.each(function(){x.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return x.event.trigger(e,t,n,!0)}}),h.focusin||x.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){x.event.simulate(t,e.target,x.event.fix(e))};x.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=Q.access(r,t);i||r.addEventListener(e,n,!0),Q.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=Q.access(r,t)-1;i?Q.access(r,t,i):(r.removeEventListener(e,n,!0),Q.remove(r,t))}}});var ut,ct=/\[\]$/,dt=/\r?\n/g,pt=/^(?:submit|button|image|reset|file)$/i,ft=/^(?:input|select|textarea|keygen)/i;function ht(e,t,n,r){var i;if(Array.isArray(t))x.each(t,function(t,i){n||ct.test(e)?r(e,i):ht(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)});else if(n||"object"!==y(t))r(e,t);else for(i in t)ht(e+"["+i+"]",t[i],n,r)}x.param=function(e,t){var n,r=[],i=function(e,t){var n=m(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(e)||e.jquery&&!x.isPlainObject(e))x.each(e,function(){i(this.name,this.value)});else for(n in e)ht(n,e[n],t,i);return r.join("&")},x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=x.prop(this,"elements");return e?x.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!x(this).is(":disabled")&&ft.test(this.nodeName)&&!pt.test(e)&&(this.checked||!se.test(e))}).map(function(e,t){var n=x(this).val();return null==n?null:Array.isArray(n)?x.map(n,function(e){return{name:t.name,value:e.replace(dt,"\r\n")}}):{name:t.name,value:n.replace(dt,"\r\n")}}).get()}}),x.fn.extend({wrapAll:function(e){var t;return this[0]&&(m(e)&&(e=e.call(this[0])),t=x(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return m(e)?this.each(function(t){x(this).wrapInner(e.call(this,t))}):this.each(function(){var t=x(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=m(e);return this.each(function(n){x(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){x(this).replaceWith(this.childNodes)}),this}}),x.expr.pseudos.hidden=function(e){return!x.expr.pseudos.visible(e)},x.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},h.createHTMLDocument=((ut=r.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===ut.childNodes.length),x.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(h.createHTMLDocument?((i=(t=r.implementation.createHTMLDocument("")).createElement("base")).href=r.location.href,t.head.appendChild(i)):t=r),a=A.exec(e),o=!n&&[],a?[t.createElement(a[1])]:(a=be([e],t,o),o&&o.length&&x(o).remove(),x.merge([],a.childNodes)));var i,a,o},x.offset={setOffset:function(e,t,n){var r,i,a,o,l,s,u=x.css(e,"position"),c=x(e),d={};"static"===u&&(e.style.position="relative"),l=c.offset(),a=x.css(e,"top"),s=x.css(e,"left"),("absolute"===u||"fixed"===u)&&(a+s).indexOf("auto")>-1?(o=(r=c.position()).top,i=r.left):(o=parseFloat(a)||0,i=parseFloat(s)||0),m(t)&&(t=t.call(e,n,x.extend({},l))),null!=t.top&&(d.top=t.top-l.top+o),null!=t.left&&(d.left=t.left-l.left+i),"using"in t?t.using.call(e,d):c.css(d)}},x.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){x.offset.setOffset(this,e,t)});var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===x.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===x.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=x(e).offset()).top+=x.css(e,"borderTopWidth",!0),i.left+=x.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-x.css(r,"marginTop",!0),left:t.left-i.left-x.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===x.css(e,"position");)e=e.offsetParent;return e||ve})}}),x.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;x.fn[e]=function(r){return H(this,function(e,r,i){var a;if(g(e)?a=e:9===e.nodeType&&(a=e.defaultView),void 0===i)return a?a[t]:e[r];a?a.scrollTo(n?a.pageXOffset:i,n?i:a.pageYOffset):e[r]=i},e,r,arguments.length)}}),x.each(["top","left"],function(e,t){x.cssHooks[t]=Ue(h.pixelPosition,function(e,n){if(n)return n=qe(e,t),_e.test(n)?x(e).position()[t]+"px":n})}),x.each({Height:"height",Width:"width"},function(e,t){x.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){x.fn[r]=function(i,a){var o=arguments.length&&(n||"boolean"!=typeof i),l=n||(!0===i||!0===a?"margin":"border");return H(this,function(t,n,i){var a;return g(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(a=t.documentElement,Math.max(t.body["scroll"+e],a["scroll"+e],t.body["offset"+e],a["offset"+e],a["client"+e])):void 0===i?x.css(t,n,l):x.style(t,n,i,l)},t,o?i:void 0,o)}})}),x.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){x.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),x.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),x.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),x.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),m(e))return r=a.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(a.call(arguments)))}).guid=e.guid=e.guid||x.guid++,i},x.holdReady=function(e){e?x.readyWait++:x.ready(!0)},x.isArray=Array.isArray,x.parseJSON=JSON.parse,x.nodeName=D,x.isFunction=m,x.isWindow=g,x.camelCase=z,x.type=y,x.now=Date.now,x.isNumeric=function(e){var t=x.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},"function"==typeof define&&define.amd&&define("jquery",[],function(){return x});var mt=e.jQuery,gt=e.$;return x.noConflict=function(t){return e.$===x&&(e.$=gt),t&&e.jQuery===x&&(e.jQuery=mt),x},t||(e.jQuery=e.$=x),x},"object"==typeof module&&"object"==typeof module.exports?module.exports=Z$.document?$$(Z$,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return $$(e)}:$$(Z$),define("deps/jquery",function(){}),define("core/jquery-enhanced",["exports","core/pubsubhub","core/utils","deps/jquery"],function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.name=void 0;e.name="core/jquery-enhanced";window.$=$,window.$.fn.renameElement=function(e){var n=[];return this.each(function(){for(var r=$(this.ownerDocument.createElement(e)),i=0,a=this.attributes.length;i<a;i++){var o=this.attributes[i];try{r[0].setAttributeNS(o.namespaceURI,o.name,o.value)}catch(e){var l="Your HTML markup is malformed. Error in: \n";l+="```HTML\n"+this.outerHTML+"\n```",(0,t.pub)("error",l);break}}$(this).contents().appendTo(r),$(this).replaceWith(r),n.push(r[0])}),$(n)},window.$.fn.getDfnTitles=function(e){var t="",r="",i="";(void 0===this.attr("data-lt-noDefault")&&(i=(0,n.norm)(this.text()).toLowerCase()),this.attr("data-lt"))?(t=this.attr("data-lt")?"data-lt":"lt",r=this.attr(t).toLowerCase(),""!==i&&(new RegExp("^"+i+"\\|").test(r)||(r=r+"|"+i))):r=1===this.contents().length&&1===this.children("abbr, acronym").length&&this.find(":first-child").attr("title")?this.find(":first-child").attr("title"):'""'===this.text()?"the-empty-string":this.text();return r=(0,n.norm)(r).toLowerCase(),e&&!0===e.isDefinition&&(t&&this.attr("data-lt",r),"data-lt"!==t&&this.removeAttr(t),this.attr("dfn-type")?(this.attr("data-dfn-type",this.attr("dfn-type")),this.removeAttr("dfn-type")):this.attr("data-dfn-type","dfn")),[...r.split("|").filter(e=>""!==e).reduce((e,t)=>e.add(t),new Set)]},window.$.fn.linkTargets=function(){var e=this[0].closest("[data-link-for]"),t=e?e.dataset.linkFor.toLowerCase():"",n=this.getDfnTitles(),r=[];return window.$.each(n,function(){r.push({for_:t,title:this});var e=this.split(".");2===e.length&&r.push({for_:e[0],title:e[1]}),r.push({for_:"",title:this})}),r},window.$.fn.makeID=function(e="",t="",n=!1){const r=this[0];if(r.id)return r.id;t||(t=(r.title?r.title:r.textContent).trim());var i=n?t:t.toLowerCase();if((i=i.replace(/[\W]+/gim,"-").replace(/^-+/,"").replace(/-+$/,""))?!/\.$/.test(i)&&/^[a-z]/i.test(i)||(i="x"+i):i="generatedID",e&&(i=`${e}-${i}`),r.ownerDocument.getElementById(i)){let e=0,t=i+"-"+e;for(;r.ownerDocument.getElementById(t);)t=i+"-"+e++;i=t}return r.id=i,i},window.$.fn.allTextNodes=function(e){for(var t=[],n={},r=0,i=e.length;r<i;r++)n[e[r]]=!0;return function e(r){if(1!==r.nodeType||!n[r.localName.toLowerCase()])if(3===r.nodeType)t.push(r);else for(var i=0,a=r.childNodes.length;i<a;++i)e(r.childNodes[i])}(this[0]),t}}),define("core/ui",["exports","shortcut","core/pubsubhub","deps/text!ui/ui.css","core/utils","core/jquery-enhanced"],function(e,t,n,r,i){Object.defineProperty(e,"__esModule",{value:!0}),e.ui=e.name=void 0;var a=l(t),o=l(r);function l(e){return e&&e.__esModule?e:{default:e}}e.name="core/ui";const s=document.createElement("style");function u(e,t){e&&Array.from(t.entries()).reduce((e,[t,n])=>(e.setAttribute("aria-"+t,n),e),e)}s.id="respec-ui-styles",s.textContent=o.default,s.classList.add("removeOnSave"),document.head.appendChild(s);const c=$("<div id='respec-ui' class='removeOnSave' hidden></div>"),d=$("<ul id=respec-menu role=menu aria-labelledby='respec-pill' hidden></ul>");var p,f;const h=[],m=[],g={};(0,n.sub)("start-all",()=>{document.body.insertAdjacentElement("afterbegin",c[0])},{once:!0}),(0,n.sub)("end-all",()=>{document.body.insertAdjacentElement("afterbegin",c[0])},{once:!0});const b=$("<button id='respec-pill' disabled>ReSpec</button>");b.click(function(e){e.stopPropagation(),d[0].hidden?(d[0].classList.remove("respec-hidden"),d[0].classList.add("respec-visible")):(d[0].classList.add("respec-hidden"),d[0].classList.remove("respec-visible")),this.setAttribute("aria-expanded",String(d[0].hidden)),d[0].hidden=!d[0].hidden}).appendTo(c),document.documentElement.addEventListener("click",function(){d[0].hidden||(d[0].classList.remove("respec-visible"),d[0].classList.add("respec-hidden"),d[0].hidden=!0)}),d.appendTo(c);const v=new Map([["controls","respec-menu"],["expanded","false"],["haspopup","true"],["label","ReSpec Menu"]]);function y(e,t,n,r){if(t.push(e),g.hasOwnProperty(n))return void g[n].text(t.length);g[n]=$("<button id='respec-pill-"+n+"' class='respec-info-button'>"+t.length+"</button>").appendTo(c).click(function(){this.setAttribute("aria-expanded","true");for(var e=$("<ol class='respec-"+n+"-list'></ol>"),a=0,o=t.length;a<o;a++){var l=t[a];if(l instanceof Error)$("<li><span></span> <a>⊞</a><pre></pre></li>").appendTo(e).find("span").text("["+l.name+"] "+l.message).end().find("a").css({fontSize:"1.1em",color:"#999",cursor:"pointer"}).click(function(){var e=$(this),t=e.text(),n=e.parent().find("pre");"⊞"===t?(e.text("⊟"),n.show()):(e.text("⊞"),n.hide())}).end().find("pre").text(l.stack).css({marginLeft:"0",maxWidth:"100%",overflowY:"hidden",overflowX:"scroll"}).hide().end();else{const t=document.createElement("tmp");t.innerHTML=(0,i.markdownToHtml)(l);const n=document.createElement("li");if(t.firstElementChild===t.lastElementChild)for(;t.firstElementChild&&t.firstElementChild.hasChildNodes();)n.appendChild(t.firstElementChild.firstChild);else n.innerHTML=t.innerHTML;e[0].appendChild(n)}}w.freshModal(r,e,this)});const a=new Map([["expanded","false"],["haspopup","true"],["controls","respec-pill-"+n+"-modal"],["label","Document "+r.toLowerCase()]]);u(g[n][0],a)}u(b[0],v);const w=e.ui={show:function(){try{c[0].hidden=!1}catch(e){console.error(e)}},hide:function(){c[0].hidden=!0},enable:function(){b[0].removeAttribute("disabled")},addCommand:function(e,t,n,r){r=r||"";var i=function(){require([t],function(e){e.show()})},o="respec-button-"+e.toLowerCase().replace(/\s+/,"-"),l=$('<li role=menuitem><button id="'+o+'" class="respec-option" title="'+n+'"><span class="respec-cmd-icon">'+r+"</span> "+e+"… </button></li>").click(i).appendTo(d);return n&&a.default.add(n,i),l[0].querySelector("button")},error:function(e){y(e,h,"error","Errors")},warning:function(e){y(e,m,"warning","Warnings")},closeModal:function(e){f&&(f[0].classList.remove("respec-show-overlay"),f[0].classList.add("respec-hide-overlay"),f[0].addEventListener("transitionend",()=>{f.remove(),f=null})),e&&e.setAttribute("aria-expanded","false"),p&&(p.remove(),p=null)},freshModal:function(e,t,n){p&&p.remove(),f&&f.remove(),f=$("<div id='respec-overlay' class='removeOnSave'></div>");const r=n.id+"-modal",i=r+"-heading";(p=$("<div id='"+r+"' class='respec-modal removeOnSave' role='dialog'><h3></h3><div class='inside'></div></div>")).find("h3").text(e),p.find("h3")[0].id=i;const a=new Map([["labelledby",i]]);u(p[0],a),p.find(".inside").append(t),$(document.body).append(f).append(p),f.click(()=>{this.closeModal(n)}),f[0].classList.toggle("respec-show-overlay"),p[0].hidden=!1}};a.default.add("Esc",function(){w.closeModal()}),a.default.add("Ctrl+Alt+Shift+E",function(){g.error&&g.error.click()}),a.default.add("Ctrl+Alt+Shift+W",function(){g.warning&&g.warning.click()}),window.respecUI=w,(0,n.sub)("error",function(e){w.error(e)}),(0,n.sub)("warn",function(e){w.warning(e)})}),define("core/l10n",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.run=function(e){e.l10n=i[a]||i.en};var t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};e.name="core/l10n";const n=document.documentElement;n&&!n.hasAttribute("lang")&&(n.lang="en",n.hasAttribute("dir")||(n.dir="ltr"));const r={about_respec:"About",abstract:"Abstract",author:"Author:",authors:"Authors:",bug_tracker:"Bug tracker:",close_parens:")",commit_history:"Commit history",definition_list:"Definitions",editor:"Editor:",editors_note:"Editor's note",editors:"Editors:",example:"Example",fig:"Figure ",file_a_bug:"File a bug",info_references:"Informative references",issue_summary:"Issue Summary",issue:"Issue",latest_editors_draft:"Latest editor's draft:",latest_published_version:"Latest published version:",list_of_definitions:"List of Definitions",norm_references:"Normative references",note:"Note",open_bugs:"open bugs",open_parens:"(",participate:"Participate",references:"References",save_as:"Save as",save_snapshot:"Export",search_specref:"Search Specref",sotd:"Status of This Document",table_of_fig:"Table of Figures",this_version:"This version:",toc:"Table of Contents",warning:"Warning"},i=e.l10n={en:t({},r),ko:t({},r,{abstract:"요약",author:"저자:",authors:"저자:",fig:"그림 ",latest_published_version:"최신 버전:",sotd:"현재 문서의 상태",this_version:"현재 버전:"}),zh:t({},r,{abstract:"摘要",bug_tracker:"错误跟踪:",editor:"编辑:",editors:"编辑们:",fig:"圖",file_a_bug:"反馈错误",latest_editors_draft:"最新编辑草稿:",latest_published_version:"最新发布草稿:",note:"注",open_bugs:"修正中的错误",sotd:"关于本文档",this_version:"本版本:",toc:"内容大纲"}),ja:t({},r,{abstract:"要約",author:"著者:",authors:"著者:",bug_tracker:"バグの追跡履歴:",editor:"編者:",editors:"編者:",fig:"図",latest_editors_draft:"最新の編集用草案:",latest_published_version:"最新バージョン:",note:"注",open_bugs:"改修されていないバグ",sotd:"この文書の位置付け",this_version:"このバージョン:",toc:"目次"}),nl:t({},r,{about_respec:"Over",abstract:"Samenvatting",author:"Auteur:",authors:"Auteurs:",bug_tracker:"Meldingensysteem:",commit_history:"Revisiehistorie",definition_list:"Lijst van Definities",editor:"Redacteur:",editors_note:"Redactionele noot",editors:"Redacteurs:",example:"Voorbeeld",fig:"Figuur ",file_a_bug:"Dien een melding in",info_references:"Informatieve referenties",issue_summary:"Lijst met issues",latest_editors_draft:"Laatste werkversie:",latest_published_version:"Laatst gepubliceerde versie:",list_of_definitions:"Lijst van Definities",norm_references:"Normatieve referenties",note:"Noot",open_bugs:"open meldingen",participate:"Doe mee",references:"Referenties",save_as:"Bewaar als",save_snapshot:"Bewaar Snapshot",search_specref:"Doorzoek Specref",sotd:"Status van dit document",table_of_fig:"Lijst met figuren",this_version:"Deze versie:",toc:"Inhoudsopgave",warning:"Waarschuwing"}),es:t({},r,{abstract:"Resumen",author:"Autor:",authors:"Autores:",bug_tracker:"Repositorio de bugs:",close_parens:")",commit_history:"Historia de cambios",editor:"Editor:",editors_note:"Nota de editor",editors:"Editores:",example:"Ejemplo",fig:"Figura ",file_a_bug:"Nota un bug",info_references:"Referencias informativas",issue_summary:"Resumen de la cuestión",issue:"Cuestión",latest_editors_draft:"Borrador de editor mas reciente:",latest_published_version:"Versión publicada mas reciente:",norm_references:"Referencias normativas",note:"Nota",open_bugs:"Bugs abiertos",open_parens:"(",participate:"Participad",references:"Referencias",sotd:"Estado de este Document",table_of_fig:"Tabla de Figuras",this_version:"Ésta versión:",toc:"Tabla de Contenidos",warning:"Aviso"})};i["zh-hans"]=i.zh,i["zh-cn"]=i.zh;const a=e.lang=n&&n.lang in i?n.lang:"en"}),define("core/linter",["exports","core/pubsubhub"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.name=void 0,e.run=async function(e,t,n){if(n(),!1===e.lint)return;await document.respecReady;try{await i.lint(e,t)}catch(e){console.error("Error ocurred while running the linter",e)}};var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};e.name="core/linter";const r=new WeakMap;const i=new class{constructor(){r.set(this,{rules:new Set})}get rules(){return r.get(this).rules}register(...e){e.reduce((e,t)=>e.add(t),this.rules)}async lint(e,i=window.document){const o=[...r.get(this).rules].map(r=>(async function(e){(await e).map(async e=>{const t=await e,r=n({},a,t),{description:i,help:o,howToFix:l,name:s,occurrences:u,offendingElements:c}=r,d=`${i} ${l} ${o} ("${s}" x ${u})`;return c.forEach(e=>{e.classList.add("respec-offending-element")}),console.warn(`Linter (${s}):`,i,...c),d}).forEach(async e=>{(0,t.pub)("warn",await e)})})(r.lint(e,i)));await o}};e.default=i;const a={name:"unknown",description:"",occurrences:0,howToFix:"",offendingElements:[],help:""}}),define("core/LinterRule",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=new WeakMap;e.default=class{constructor(e,n){t.set(this,{name:e,lintingFunction:n})}get name(){return t.get(this).name}lint(e={lint:{[this.name]:!1}},n=document){return r=e,i=this.name,!1!==r.hasOwnProperty("lint")&&!1!==r.lint&&r.lint[i]?[].concat(t.get(this).lintingFunction(e,n)):[];var r,i}}}),define("core/linter-rules/no-headingless-sections",["exports","core/LinterRule","../l10n"],function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.rule=void 0;var r,i=(r=t)&&r.__esModule?r:{default:r};var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};const o="no-headingless-sections",l={en:{description:"All sections must start with a `h2-6` element.",howToFix:"Add a `h2-6` to the offending section or use a `<div>`.",help:"See developer console."},nl:{description:"Alle secties moeten beginnen met een `h2-6` element.",howToFix:"Voeg een `h2-6` toe aan de conflicterende sectie of gebruik een `<div>`.",help:"Zie de developer console."}},s=n.lang in l?n.lang:"en",u=({firstElementChild:e})=>null===e||!1===/^h[1-6]$/.test(e.localName);e.rule=new i.default(o,function(e,t){const n=Array.from(t.querySelectorAll("section")).filter(u);return n.length?a({name:o,offendingElements:n,occurrences:n.length},l[s]):[]})}),define("core/linter-rules/no-http-props",["exports","core/l10n","core/LinterRule"],function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.rule=void 0;var r,i=(r=n)&&r.__esModule?r:{default:r};var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};const o="no-http-props",l={en:{description:"Insecure URLs are not allowed in `respecConfig`.",howToFix:"Please change the following properties to 'https://': "}},s=t.lang in l?t.lang:"en";e.rule=new i.default(o,function(e,t){if(!t.location.href.startsWith("http"))return[];const n=Object.getOwnPropertyNames(e).filter(e=>e.endsWith("URI")||"prevED"===e).filter(n=>new URL(e[n],t.location.href).href.startsWith("http://")).reduce((e,t)=>e.concat(t),[]);if(!n.length)return[];const r=a({name:o,occurrences:n.length},l[s]);return r.howToFix+=n.map(e=>"`"+e+"`").join(", ")+".",r})}),define("w3c/l10n",["exports","core/l10n"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.name=void 0;e.name="w3c/l10n";const n={en:{status_at_publication:"This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the <a href='https://www.w3.org/TR/'>W3C technical reports index</a> at https://www.w3.org/TR/."},ko:{status_at_publication:"This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the <a href='https://www.w3.org/TR/'>W3C technical reports index</a> at https://www.w3.org/TR/."},zh:{status_at_publication:"本章节描述了本文档的发布状态。其它更新版本可能会覆盖本文档。W3C的文档列 表和最新版本可通过<a href='https://www.w3.org/TR/'>W3C技术报告</a>索引访问。"},ja:{status_at_publication:"この節には、公開時点でのこの文書の位置づけが記されている。他の文書によって置き換えられる可能性がある。現時点でのW3Cの発行文書とこのテクニカルレポートの最新版は、下記から参照できる。 <a href='https://www.w3.org/TR/'>W3C technical reports index</a> (https://www.w3.org/TR/)"},nl:{status_at_publication:"This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the <a href='https://www.w3.org/TR/'>W3C technical reports index</a> at https://www.w3.org/TR/."}};Object.keys(n).reduce((e,t)=>(Object.assign(e[t],n[t]),e),t.l10n)}),define("w3c/linter-rules/privsec-section",["exports","core/LinterRule","../l10n"],function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.rule=void 0;var r,i=(r=t)&&r.__esModule?r:{default:r};var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};const o="privsec-section",l={en:{description:"Document must a 'Privacy and/or Security' Considerations section.",howToFix:"Add a privacy and/or security considerations section.",help:"See the [Self-Review Questionnaire](https://w3ctag.github.io/security-questionnaire/)."}},s=n.lang in l?n.lang:"en";e.rule=new i.default(o,function(e,t){const n=[];var r;return e.isRecTrack&&(r=t,!Array.from(r.querySelectorAll("h2, h3, h4, h5, h6")).some(({textContent:e})=>{const t=/(privacy|security)/im.test(e),n=/(considerations)/im.test(e);return t&&n||t}))&&n.push(a({name:o,occurrences:1},l[s])),n})}),define("w3c/defaults",["exports","core/linter","core/linter-rules/no-headingless-sections","core/linter-rules/no-http-props","w3c/linter-rules/privsec-section"],function(e,t,n,r,i){Object.defineProperty(e,"__esModule",{value:!0}),e.name=void 0,e.run=function(e){Object.assign(e,l({},c,e)),Object.assign(e,(t=e,{isCCBY:"cc-by"===t.license,licenseInfo:u.get(t.license),isCGBG:s.has(t.specStatus),isCGFinal:t.isCGBG&&/G-FINAL$/.test(t.specStatus),isBasic:"base"===t.specStatus,isRegular:!t.isCGBG&&"base"===t.specStatus}));var t};var a,o=(a=t)&&a.__esModule?a:{default:a};var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};e.name="w3c/defaults";o.default.register(r.rule,i.rule,n.rule);const s=new Set(["BG-DRAFT","BG-FINAL","CG-DRAFT","CG-FINAL"]),u=new Map([["cc0",{name:"Creative Commons 0 Public Domain Dedication",short:"CC0",url:"https://creativecommons.org/publicdomain/zero/1.0/"}],["w3c-software",{name:"W3C Software Notice and License",short:"W3C Software",url:"https://www.w3.org/Consortium/Legal/2002/copyright-software-20021231"}],["w3c-software-doc",{name:"W3C Software and Document Notice and License",short:"W3C Software and Document",url:"https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document"}],["cc-by",{name:"Creative Commons Attribution 4.0 International Public License",short:"CC-BY",url:"https://creativecommons.org/licenses/by/4.0/legalcode"}]]),c={processVersion:2017,lint:{"no-headingless-sections":!0,"privsec-section":!0,"no-http-props":!0},doRDFa:!1,license:"w3c-software-doc",specStatus:"base",logos:[]}}),define("core/aria",["exports","core/pubsubhub"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.name=void 0,e.run=function(e,t,n){t.body.setAttribute("aria-busy","true"),n()};e.name="core/aria";(0,t.sub)("end-all",()=>{document.body.setAttribute("aria-busy","false")},{once:!0})}),define("deps/text!core/css/respec2.css",[],function(){return'/*****************************************************************\n * ReSpec 3 CSS\n * Robin Berjon - http://berjon.com/\n *****************************************************************/\n\n/* Override code highlighter background */\n.hljs {\n background: transparent !important;\n}\n\n/* --- INLINES --- */\nh1 abbr,\nh2 abbr,\nh3 abbr,\nh4 abbr,\nh5 abbr,\nh6 abbr,\na abbr {\n border: none;\n}\n\ndfn {\n font-weight: bold;\n}\n\na.internalDFN {\n color: inherit;\n border-bottom: 1px solid #99c;\n text-decoration: none;\n}\n\na.externalDFN {\n color: inherit;\n border-bottom: 1px dotted #ccc;\n text-decoration: none;\n}\n\na.bibref {\n text-decoration: none;\n}\n\ncite .bibref {\n font-style: normal;\n}\n\ncode {\n color: #c83500;\n}\n\nth code {\n color: inherit;\n}\n\n/* --- TOC --- */\n\n.toc a,\n.tof a {\n text-decoration: none;\n}\n\na .secno,\na .figno {\n color: #000;\n}\n\nul.tof,\nol.tof {\n list-style: none outside none;\n}\n\n.caption {\n margin-top: 0.5em;\n font-style: italic;\n}\n\n/* --- TABLE --- */\n\ntable.simple {\n border-spacing: 0;\n border-collapse: collapse;\n border-bottom: 3px solid #005a9c;\n}\n\n.simple th {\n background: #005a9c;\n color: #fff;\n padding: 3px 5px;\n text-align: left;\n}\n\n.simple th[scope="row"] {\n background: inherit;\n color: inherit;\n border-top: 1px solid #ddd;\n}\n\n.simple td {\n padding: 3px 10px;\n border-top: 1px solid #ddd;\n}\n\n.simple tr:nth-child(even) {\n background: #f0f6ff;\n}\n\n/* --- DL --- */\n\n.section dd > p:first-child {\n margin-top: 0;\n}\n\n.section dd > p:last-child {\n margin-bottom: 0;\n}\n\n.section dd {\n margin-bottom: 1em;\n}\n\n.section dl.attrs dd,\n.section dl.eldef dd {\n margin-bottom: 0;\n}\n\n#issue-summary > ul,\n.respec-dfn-list {\n column-count: 2;\n}\n\n#issue-summary li,\n.respec-dfn-list li {\n list-style: none;\n}\n\ndetails.respec-tests-details {\n margin-left: 1em;\n display: inline-block;\n vertical-align: top;\n}\n\ndetails.respec-tests-details > * {\n padding-right: 2em;\n}\n\ndetails.respec-tests-details[open] {\n z-index: 999999;\n position: absolute;\n border: thin solid #cad3e2;\n border-radius: .3em;\n background-color: white;\n padding-bottom: .5em;\n}\n\ndetails.respec-tests-details[open] > summary {\n border-bottom: thin solid #cad3e2;\n padding-left: 1em;\n margin-bottom: 1em;\n line-height: 2em;\n}\n\ndetails.respec-tests-details > ul {\n width: 100%;\n margin-top: -0.3em;\n}\n\ndetails.respec-tests-details > li {\n padding-left: 1em;\n}\n\n@media print {\n .removeOnSave {\n display: none;\n }\n}\n'}),define("core/style",["exports","deps/text!core/css/respec2.css"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.name=void 0,e.run=function(e,t,n){e.noReSpecCSS&&i.remove();n()};var n,r=(n=t)&&n.__esModule?n:{default:n};e.name="core/style";const i=document.createElement("style");i.id="respec-mainstyle",i.textContent=r.default,document.head.appendChild(i)}),define("w3c/style",["exports","core/utils","core/pubsubhub"],function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.name=void 0,e.run=function(e,r,i){if(!e.specStatus){const t="`respecConfig.specStatus` missing. Defaulting to 'base'.";e.specStatus="base",(0,n.pub)("warn",t)}let a="W3C-";switch(e.specStatus.toUpperCase()){case"CG-DRAFT":case"CG-FINAL":case"BG-DRAFT":case"BG-FINAL":a=e.specStatus.toLowerCase();break;case"FPWD":case"LC":case"WD-NOTE":case"LC-NOTE":a+="WD";break;case"WG-NOTE":case"FPWD-NOTE":a+="WG-NOTE.css";break;case"UNOFFICIAL":a+="UD";break;case"FINDING":case"FINDING-DRAFT":case"BASE":a="base.css";break;default:a+=e.specStatus}const o=function(e){let t="";switch(e){case null:case!0:t="2016";break;default:e&&!isNaN(e)&&(t=e.toString().trim())}return t}(e.useExperimentalStyles||"2016");o&&!e.noToc&&(0,n.sub)("end-all",function(){!function(e,t){const n=e.createElement("script");n.addEventListener("load",function(){window.location.hash&&(window.location=window.location)},{once:!0}),n.src=`https://www.w3.org/scripts/TR/${t}/fixup.js`,e.body.appendChild(n)}(r,o)},{once:!0});const l=`https://www.w3.org/StyleSheets/TR/${o?o+"/":""}${a}`;(0,t.linkCSS)(r,l),i()};e.name="w3c/style";const r=[{hint:"preconnect",href:"https://www.w3.org"},{hint:"preload",href:"https://www.w3.org/scripts/TR/2016/fixup.js",as:"script"},{hint:"preload",href:"https://www.w3.org/StyleSheets/TR/2016/base.css",as:"style"},{hint:"preload",href:"https://www.w3.org/StyleSheets/TR/2016/logos/W3C",as:"image"}].map(t.createResourceHint).reduce(function(e,t){return e.appendChild(t),e},document.createDocumentFragment());r.appendChild(function(){const e=document.createElement("link");return e.rel="stylesheet",e.href="https://www.w3.org/StyleSheets/TR/2016/base.css",e.classList.add("removeOnSave"),e}()),document.head.querySelector("meta[name=viewport]")||r.insertBefore(function(){const e=document.createElement("meta");return e.name="viewport",e.content=(0,t.toKeyValuePairs)({width:"device-width","initial-scale":"1","shrink-to-fit":"no"}).replace(/\"/g,""),e}(),r.firstChild),document.head.insertBefore(r,document.head.firstChild)}),define("core/github",["exports","core/l10n","core/pubsubhub"],function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.name=void 0,e.fetchAll=a,e.fetch=async function(e){let t=await window.fetch(e);if(!t.ok)throw new Error("GitHub Response not OK. Probably exceeded request limit.");return await t.json()},e.fetchIndex=function(e,t){return a(e.replace(/\{[^}]+\}/,""),t)},e.run=async function(e){if(!e.hasOwnProperty("github")||!e.github)return;if("object"==typeof e.github&&!e.github.hasOwnProperty("repoURL"))return void(0,n.pub)("error","`respecConf.github` missing property `repoURL`. See https://github.com/w3c/respec/wiki/github");let t;try{t=new URL(e.github.repoURL||e.github)}catch(e){return void(0,n.pub)("error",`\`respecConf.github\` is not a valid URL? (${t})`)}if("https://github.com"!==t.origin)return void(0,n.pub)("error",`\`respecConf.github\` must be HTTPS and pointing to GitHub. (${t})`);const[r,a]=t.pathname.split("/").filter(e=>e);r&&a||(0,n.pub)("error","`respecConf.github` URL needs a path with, for example, w3c/my-spec");const o=e.github.branch||"gh-pages",l={otherLinks:[],shortName:a,edDraftURI:`https://${r.toLowerCase()}.github.io/${a}/`,githubAPI:`https://api.github.com/repos/${r}/${a}`,issueBase:`${t.href}${t.pathname.endsWith("/")?"":"/"}issues/`},s=`${t.href}${t.pathname.endsWith("/")?"":"/"}commits/${o}`,u={key:e.l10n.participate,data:[{value:`GitHub ${r}/${a}`,href:t},{value:e.l10n.file_a_bug,href:l.issueBase},{value:e.l10n.commit_history,href:s}]};Object.assign(e,i({},l,e)),e.otherLinks.unshift(u)};var r;(r=t)&&r.__esModule;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};e.name="core/github";async function a(e,t={},n=[]){const r=new URL(e);r.searchParams&&!r.searchParams.has("per_page")&&r.searchParams.append("per_page","100");const i=new Request(r,{headers:t});i.headers.set("Accept","application/vnd.github.v3+json");const o=await window.fetch(i),l=await o.json();Array.isArray(l)&&n.push(...l);const s=(u=o.headers.get("Link"),(c=(u||"").match(/<([^>]+)>\s*;\s*rel="next"/))&&c[1]||null);var u,c;return s?a(s,t,n):n}}),define("core/data-include",["exports","core/pubsubhub","core/utils"],function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.name=void 0,e.run=function(e,r,i){const a=Array.from(r.querySelectorAll("[data-include]")).map(async e=>{const r=e.dataset.include;if(!r)return;const i="include-"+String(Math.random()).substr(2);e.dataset.includeId=i;try{const a=await fetch(r),o=await a.text();!function(e,t,r){const i=document.querySelector(`[data-include-id=${t}]`),a=i.ownerDocument,o=(0,n.runTransforms)(e,i.dataset.oninclude,r),l="string"==typeof i.dataset.includeReplace;let s;switch(i.dataset.includeFormat){case"text":l?(s=a.createTextNode(o),i.parentNode.replaceChild(s,i)):i.textContent=o;break;default:if(i.innerHTML=o,l){for(s=a.createDocumentFragment();i.hasChildNodes();)s.append(i.removeChild(i.firstChild));i.parentNode.replaceChild(s,i)}}a.contains(i)&&(u=i,["data-include","data-include-format","data-include-replace","data-include-id","oninclude"].forEach(e=>u.removeAttribute(e)));var u}(o,i,r)}catch(n){const i=`\`data-include\` failed: \`${r}\` (${n.message}). See console for details.`;console.error("data-include failed for element: ",e,n),(0,t.pub)("error",i)}});Promise.all(a).then(i)};e.name="core/data-include"}),define("core/markdown",["exports","core/utils"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.name=void 0,e.run=function(e,t,n){const r=!!t.querySelector("[data-format=markdown]:not(body)"),l="markdown"===e.format;if(!l&&!r)return n();if(!l)return a(t.body).map(e=>{const t=i(e,e.ownerDocument);return{structuredInternals:t,elem:e}}).forEach(({elem:e,structuredInternals:t})=>{if(e.setAttribute("aria-busy","true"),"section"===t.firstElementChild.localName&&"section"===e.localName){const n=t.firstElementChild;for(n.remove();n.hasChildNodes();)e.appendChild(n.firstChild)}else e.innerHTML="";e.appendChild(t),e.setAttribute("aria-busy","false")}),n();const s=t.getElementById("respec-ui");s.remove();const u=t.createElement("html"),c=t.createElement("body");c.innerHTML=t.body.innerHTML,u.appendChild(c),o(u);const d=c.innerHTML.replace(/<p>\s*<\/p>/gm,"");c.innerHTML=d,p=c.querySelectorAll(".nolinks a[href]"),Array.from(p).forEach(e=>{const t=e.ownerDocument.createTextNode(e.textContent);e.parentElement.replaceChild(t,e)});var p;var f=i(c,t);c.appendChild(f),c.insertAdjacentElement("afterbegin",s),t.body.parentNode.replaceChild(c,t.body),n()};e.name="core/markdown";function n(e){return n=>{const r=Array.from(n.querySelectorAll(e));return r.reverse().forEach(e=>{e.innerHTML=(0,t.markdownToHtml)(e.innerHTML)}),r}}class r{constructor(e){this.doc=e,this.root=e.createDocumentFragment(),this.stack=[this.root],this.current=this.root}findPosition(e){return parseInt(e.tagName.charAt(1),10)}findParent(e){let t;for(;e>0;)if(e--,t=this.stack[e])return t}findHeader({firstChild:e}){for(;e;){if(/H[1-6]/.test(e.tagName))return e;e=e.nextSibling}return null}addHeader(e){const t=this.doc.createElement("section"),n=this.findPosition(e);t.appendChild(e),this.findParent(n).appendChild(t),this.stack[n]=t,this.stack.length=n+1,this.current=t}addSection(e,t){const n=this.findHeader(e),r=n?this.findPosition(n):1,i=this.findParent(r);n&&e.removeChild(n),e.appendChild(t(e)),n&&e.insertBefore(n,e.firstChild),i.appendChild(e),this.current=i}addElement(e){this.current.appendChild(e)}}function i(e,t){return function e(n){const i=new r(t);for(;n.firstChild;){const t=n.firstChild;if(t.nodeType===Node.ELEMENT_NODE)switch(t.localName){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":i.addHeader(t);break;case"section":i.addSection(t,e);break;default:i.addElement(t)}else n.removeChild(t)}return i.root}(e)}const a=n("[data-format='markdown']:not(body)"),o=n("[data-format=markdown]:not(body), section, div, address, article, aside, figure, header, main, body")}),vfa=this,wfa=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){var r=n(1).default,i=n(2).default;t.__esModule=!0;var a=r(n(3)),o=i(n(20)),l=i(n(5)),s=r(n(4)),u=r(n(21)),c=i(n(33));function d(){var e=new a.HandlebarsEnvironment;return s.extend(e,a),e.SafeString=o.default,e.Exception=l.default,e.Utils=s,e.escapeExpression=s.escapeExpression,e.VM=u,e.template=function(t){return u.template(t,e)},e}var p=d();p.create=d,c.default(p),p.default=p,t.default=p,e.exports=t.default},function(e,t){t.default=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},t.__esModule=!0},function(e,t){t.default=function(e){return e&&e.__esModule?e:{default:e}},t.__esModule=!0},function(e,t,n){var r=n(2).default;t.__esModule=!0,t.HandlebarsEnvironment=c;var i=n(4),a=r(n(5)),o=n(9),l=n(17),s=r(n(19));t.VERSION="4.0.11";t.COMPILER_REVISION=7;t.REVISION_CHANGES={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0"};var u="[object Object]";function c(e,t,n){this.helpers=e||{},this.partials=t||{},this.decorators=n||{},o.registerDefaultHelpers(this),l.registerDefaultDecorators(this)}c.prototype={constructor:c,logger:s.default,log:s.default.log,registerHelper:function(e,t){if(i.toString.call(e)===u){if(t)throw new a.default("Arg not supported with multiple helpers");i.extend(this.helpers,e)}else this.helpers[e]=t},unregisterHelper:function(e){delete this.helpers[e]},registerPartial:function(e,t){if(i.toString.call(e)===u)i.extend(this.partials,e);else{if(void 0===t)throw new a.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=t}},unregisterPartial:function(e){delete this.partials[e]},registerDecorator:function(e,t){if(i.toString.call(e)===u){if(t)throw new a.default("Arg not supported with multiple decorators");i.extend(this.decorators,e)}else this.decorators[e]=t},unregisterDecorator:function(e){delete this.decorators[e]}};var d=s.default.log;t.log=d,t.createFrame=i.createFrame,t.logger=s.default},function(e,t){t.__esModule=!0,t.extend=o,t.indexOf=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},t.escapeExpression=function(e){if("string"!=typeof e){if(e&&e.toHTML)return e.toHTML();if(null==e)return"";if(!e)return e+"";e=""+e}if(!i.test(e))return e;return e.replace(r,a)},t.isEmpty=function(e){return!e&&0!==e||!(!u(e)||0!==e.length)},t.createFrame=function(e){var t=o({},e);return t._parent=e,t},t.blockParams=function(e,t){return e.path=t,e},t.appendContextPath=function(e,t){return(e?e+".":"")+t};var n={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},r=/[&<>"'`=]/g,i=/[&<>"'`=]/;function a(e){return n[e]}function o(e){for(var t=1;t<arguments.length;t++)for(var n in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],n)&&(e[n]=arguments[t][n]);return e}var l=Object.prototype.toString;t.toString=l;var s=function(e){return"function"==typeof e};s(/x/)&&(t.isFunction=s=function(e){return"function"==typeof e&&"[object Function]"===l.call(e)}),t.isFunction=s;var u=Array.isArray||function(e){return!(!e||"object"!=typeof e)&&"[object Array]"===l.call(e)};t.isArray=u},function(e,t,n){var r=n(6).default;t.__esModule=!0;var i=["description","fileName","lineNumber","message","name","number","stack"];function a(e,t){var n=t&&t.loc,o=void 0,l=void 0;n&&(e+=" - "+(o=n.start.line)+":"+(l=n.start.column));for(var s=Error.prototype.constructor.call(this,e),u=0;u<i.length;u++)this[i[u]]=s[i[u]];Error.captureStackTrace&&Error.captureStackTrace(this,a);try{n&&(this.lineNumber=o,r?Object.defineProperty(this,"column",{value:l,enumerable:!0}):this.column=l)}catch(e){}}a.prototype=new Error,t.default=a,e.exports=t.default},function(e,t,n){e.exports={default:n(7),__esModule:!0}},function(e,t,n){var r=n(8);e.exports=function(e,t,n){return r.setDesc(e,t,n)}},function(e,t){var n=Object;e.exports={create:n.create,getProto:n.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:n.getOwnPropertyDescriptor,setDesc:n.defineProperty,setDescs:n.defineProperties,getKeys:n.keys,getNames:n.getOwnPropertyNames,getSymbols:n.getOwnPropertySymbols,each:[].forEach}},function(e,t,n){var r=n(2).default;t.__esModule=!0,t.registerDefaultHelpers=function(e){i.default(e),a.default(e),o.default(e),l.default(e),s.default(e),u.default(e),c.default(e)};var i=r(n(10)),a=r(n(11)),o=r(n(12)),l=r(n(13)),s=r(n(14)),u=r(n(15)),c=r(n(16))},function(e,t,n){t.__esModule=!0;var r=n(4);t.default=function(e){e.registerHelper("blockHelperMissing",function(t,n){var i=n.inverse,a=n.fn;if(!0===t)return a(this);if(!1===t||null==t)return i(this);if(r.isArray(t))return t.length>0?(n.ids&&(n.ids=[n.name]),e.helpers.each(t,n)):i(this);if(n.data&&n.ids){var o=r.createFrame(n.data);o.contextPath=r.appendContextPath(n.data.contextPath,n.name),n={data:o}}return a(t,n)})},e.exports=t.default},function(e,t,n){var r=n(2).default;t.__esModule=!0;var i=n(4),a=r(n(5));t.default=function(e){e.registerHelper("each",function(e,t){if(!t)throw new a.default("Must pass iterator to #each");var n=t.fn,r=t.inverse,o=0,l="",s=void 0,u=void 0;function c(t,r,a){s&&(s.key=t,s.index=r,s.first=0===r,s.last=!!a,u&&(s.contextPath=u+t)),l+=n(e[t],{data:s,blockParams:i.blockParams([e[t],t],[u+t,null])})}if(t.data&&t.ids&&(u=i.appendContextPath(t.data.contextPath,t.ids[0])+"."),i.isFunction(e)&&(e=e.call(this)),t.data&&(s=i.createFrame(t.data)),e&&"object"==typeof e)if(i.isArray(e))for(var d=e.length;o<d;o++)o in e&&c(o,o,o===e.length-1);else{var p=void 0;for(var f in e)e.hasOwnProperty(f)&&(void 0!==p&&c(p,o-1),p=f,o++);void 0!==p&&c(p,o-1,!0)}return 0===o&&(l=r(this)),l})},e.exports=t.default},function(e,t,n){var r=n(2).default;t.__esModule=!0;var i=r(n(5));t.default=function(e){e.registerHelper("helperMissing",function(){if(1!==arguments.length)throw new i.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})},e.exports=t.default},function(e,t,n){t.__esModule=!0;var r=n(4);t.default=function(e){e.registerHelper("if",function(e,t){return r.isFunction(e)&&(e=e.call(this)),!t.hash.includeZero&&!e||r.isEmpty(e)?t.inverse(this):t.fn(this)}),e.registerHelper("unless",function(t,n){return e.helpers.if.call(this,t,{fn:n.inverse,inverse:n.fn,hash:n.hash})})},e.exports=t.default},function(e,t){t.__esModule=!0,t.default=function(e){e.registerHelper("log",function(){for(var t=[void 0],n=arguments[arguments.length-1],r=0;r<arguments.length-1;r++)t.push(arguments[r]);var i=1;null!=n.hash.level?i=n.hash.level:n.data&&null!=n.data.level&&(i=n.data.level),t[0]=i,e.log.apply(e,t)})},e.exports=t.default},function(e,t){t.__esModule=!0,t.default=function(e){e.registerHelper("lookup",function(e,t){return e&&e[t]})},e.exports=t.default},function(e,t,n){t.__esModule=!0;var r=n(4);t.default=function(e){e.registerHelper("with",function(e,t){r.isFunction(e)&&(e=e.call(this));var n=t.fn;if(r.isEmpty(e))return t.inverse(this);var i=t.data;return t.data&&t.ids&&((i=r.createFrame(t.data)).contextPath=r.appendContextPath(t.data.contextPath,t.ids[0])),n(e,{data:i,blockParams:r.blockParams([e],[i&&i.contextPath])})})},e.exports=t.default},function(e,t,n){var r=n(2).default;t.__esModule=!0,t.registerDefaultDecorators=function(e){i.default(e)};var i=r(n(18))},function(e,t,n){t.__esModule=!0;var r=n(4);t.default=function(e){e.registerDecorator("inline",function(e,t,n,i){var a=e;return t.partials||(t.partials={},a=function(i,a){var o=n.partials;n.partials=r.extend({},o,t.partials);var l=e(i,a);return n.partials=o,l}),t.partials[i.args[0]]=i.fn,a})},e.exports=t.default},function(e,t,n){t.__esModule=!0;var r=n(4),i={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(e){if("string"==typeof e){var t=r.indexOf(i.methodMap,e.toLowerCase());e=t>=0?t:parseInt(e,10)}return e},log:function(e){if(e=i.lookupLevel(e),"undefined"!=typeof console&&i.lookupLevel(i.level)<=e){var t=i.methodMap[e];console[t]||(t="log");for(var n=arguments.length,r=Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];console[t].apply(console,r)}}};t.default=i,e.exports=t.default},function(e,t){function n(e){this.string=e}t.__esModule=!0,n.prototype.toString=n.prototype.toHTML=function(){return""+this.string},t.default=n,e.exports=t.default},function(e,t,n){var r=n(22).default,i=n(1).default,a=n(2).default;t.__esModule=!0,t.checkRevision=function(e){var t=e&&e[0]||1,n=s.COMPILER_REVISION;if(t!==n){if(t<n){var r=s.REVISION_CHANGES[n],i=s.REVISION_CHANGES[t];throw new l.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+r+") or downgrade your runtime to an older version ("+i+").")}throw new l.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+e[1]+").")}},t.template=function(e,t){if(!t)throw new l.default("No environment passed to template");if(!e||!e.main)throw new l.default("Unknown template object: "+typeof e);e.main.decorator=e.main_d,t.VM.checkRevision(e.compiler);var n={strict:function(e,t){if(!(t in e))throw new l.default('"'+t+'" not defined in '+e);return e[t]},lookup:function(e,t){for(var n=e.length,r=0;r<n;r++)if(e[r]&&null!=e[r][t])return e[r][t]},lambda:function(e,t){return"function"==typeof e?e.call(t):e},escapeExpression:o.escapeExpression,invokePartial:function(n,r,i){i.hash&&(r=o.extend({},r,i.hash),i.ids&&(i.ids[0]=!0));n=t.VM.resolvePartial.call(this,n,r,i);var a=t.VM.invokePartial.call(this,n,r,i);null==a&&t.compile&&(i.partials[i.name]=t.compile(n,e.compilerOptions,t),a=i.partials[i.name](r,i));if(null!=a){if(i.indent){for(var s=a.split("\n"),u=0,c=s.length;u<c&&(s[u]||u+1!==c);u++)s[u]=i.indent+s[u];a=s.join("\n")}return a}throw new l.default("The partial "+i.name+" could not be compiled when running in runtime-only mode")},fn:function(t){var n=e[t];return n.decorator=e[t+"_d"],n},programs:[],program:function(e,t,n,r,i){var a=this.programs[e],o=this.fn(e);return t||i||r||n?a=u(this,e,o,t,n,r,i):a||(a=this.programs[e]=u(this,e,o)),a},data:function(e,t){for(;e&&t--;)e=e._parent;return e},merge:function(e,t){var n=e||t;return e&&t&&e!==t&&(n=o.extend({},t,e)),n},nullContext:r({}),noop:t.VM.noop,compilerInfo:e.compiler};function i(t){var r=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],a=r.data;i._setup(r),!r.partial&&e.useData&&(a=function(e,t){t&&"root"in t||((t=t?s.createFrame(t):{}).root=e);return t}(t,a));var o=void 0,l=e.useBlockParams?[]:void 0;function u(t){return""+e.main(n,t,n.helpers,n.partials,a,l,o)}return e.useDepths&&(o=r.depths?t!=r.depths[0]?[t].concat(r.depths):r.depths:[t]),(u=d(e.main,u,n,r.depths||[],a,l))(t,r)}return i.isTop=!0,i._setup=function(r){r.partial?(n.helpers=r.helpers,n.partials=r.partials,n.decorators=r.decorators):(n.helpers=n.merge(r.helpers,t.helpers),e.usePartial&&(n.partials=n.merge(r.partials,t.partials)),(e.usePartial||e.useDecorators)&&(n.decorators=n.merge(r.decorators,t.decorators)))},i._child=function(t,r,i,a){if(e.useBlockParams&&!i)throw new l.default("must pass block params");if(e.useDepths&&!a)throw new l.default("must pass parent depths");return u(n,t,e[t],r,0,i,a)},i},t.wrapProgram=u,t.resolvePartial=function(e,t,n){e?e.call||n.name||(n.name=e,e=n.partials[e]):e="@partial-block"===n.name?n.data["partial-block"]:n.partials[n.name];return e},t.invokePartial=function(e,t,n){var r=n.data&&n.data["partial-block"];n.partial=!0,n.ids&&(n.data.contextPath=n.ids[0]||n.data.contextPath);var i=void 0;n.fn&&n.fn!==c&&function(){n.data=s.createFrame(n.data);var e=n.fn;i=n.data["partial-block"]=function(t){var n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return n.data=s.createFrame(n.data),n.data["partial-block"]=r,e(t,n)},e.partials&&(n.partials=o.extend({},n.partials,e.partials))}();void 0===e&&i&&(e=i);if(void 0===e)throw new l.default("The partial "+n.name+" could not be found");if(e instanceof Function)return e(t,n)},t.noop=c;var o=i(n(4)),l=a(n(5)),s=n(3);function u(e,t,n,r,i,a,o){function l(t){var i=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],l=o;return!o||t==o[0]||t===e.nullContext&&null===o[0]||(l=[t].concat(o)),n(e,t,e.helpers,e.partials,i.data||r,a&&[i.blockParams].concat(a),l)}return(l=d(n,l,e,o,r,a)).program=t,l.depth=o?o.length:0,l.blockParams=i||0,l}function c(){return""}function d(e,t,n,r,i,a){if(e.decorator){var l={};t=e.decorator(t,l,n,r&&r[0],i,a,r),o.extend(t,l)}return t}},function(e,t,n){e.exports={default:n(23),__esModule:!0}},function(e,t,n){n(24),e.exports=n(29).Object.seal},function(e,t,n){var r=n(25);n(26)("seal",function(e){return function(t){return e&&r(t)?e(t):t}})},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(27),i=n(29),a=n(32);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],o={};o[e]=t(n),r(r.S+r.F*a(function(){n(1)}),"Object",o)}},function(e,t,n){var r=n(28),i=n(29),a=n(30),o="prototype",l=function(e,t,n){var s,u,c,d=e&l.F,p=e&l.G,f=e&l.S,h=e&l.P,m=e&l.B,g=e&l.W,b=p?i:i[t]||(i[t]={}),v=p?r:f?r[t]:(r[t]||{})[o];p&&(n=t);for(s in n)(u=!d&&v&&s in v)&&s in b||(c=u?v[s]:n[s],b[s]=p&&"function"!=typeof v[s]?n[s]:m&&u?a(c,r):g&&v[s]==c?function(e){var t=function(t){return this instanceof e?new e(t):e(t)};return t[o]=e[o],t}(c):h&&"function"==typeof c?a(Function.call,c):c,h&&((b[o]||(b[o]={}))[s]=c))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,e.exports=l},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){var n=e.exports={version:"1.2.6"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(31);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){(function(n){t.__esModule=!0,t.default=function(e){var t=void 0!==n?n:window,r=t.Handlebars;e.noConflict=function(){return t.Handlebars===e&&(t.Handlebars=r),e}},e.exports=t.default}).call(t,function(){return this}())}])},"object"==typeof exports&&"object"==typeof module?module.exports=wfa():"function"==typeof define&&define.amd?define("handlebars.runtime",[],wfa):"object"==typeof exports?exports.Handlebars=wfa():vfa.Handlebars=wfa(),define("templates",["handlebars.runtime"],function(e){var t=(e=e.default).template,n=e.templates=e.templates||{};return n["cgbg-headers.html"]=t({1:function(e,t,n,r,i){var a;return" "+(null!=(a=(n.showLogos||t&&t.showLogos||n.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?t.logos:t,{name:"showLogos",hash:{},data:i}))?a:"")+"\n"},3:function(e,t,n,r,i){return" property='dc:title'"},5:function(e,t,n,r,i){var a,o,l=null!=t?t:e.nullContext||{};return" <h2 "+(null!=(a=n.if.call(l,null!=t?t.doRDFa:t,{name:"if",hash:{},fn:e.program(6,i,0),inverse:e.noop,data:i}))?a:"")+"id='subtitle'>"+e.escapeExpression("function"==typeof(o=null!=(o=n.subtitle||(null!=t?t.subtitle:t))?o:n.helperMissing)?o.call(l,{name:"subtitle",hash:{},data:i}):o)+"</h2>\n"},6:function(e,t,n,r,i){return"property='bibo:subtitle' "},8:function(e,t,n,r,i){return'property="dc:issued"'},10:function(e,t,n,r,i){var a,o,l=e.escapeExpression,s=null!=t?t:e.nullContext||{},u=n.helperMissing;return" <dt>"+l(e.lambda(null!=(a=null!=t?t.l10n:t)?a.this_version:a,t))+"</dt>\n <dd><a class='u-url' href='"+l("function"==typeof(o=null!=(o=n.thisVersion||(null!=t?t.thisVersion:t))?o:u)?o.call(s,{name:"thisVersion",hash:{},data:i}):o)+"'>"+l("function"==typeof(o=null!=(o=n.thisVersion||(null!=t?t.thisVersion:t))?o:u)?o.call(s,{name:"thisVersion",hash:{},data:i}):o)+"</a></dd>\n"},12:function(e,t,n,r,i){var a,o,l=e.escapeExpression,s=null!=t?t:e.nullContext||{},u=n.helperMissing;return" <dt>"+l(e.lambda(null!=(a=null!=t?t.l10n:t)?a.latest_published_version:a,t))+"</dt>\n <dd><a href='"+l("function"==typeof(o=null!=(o=n.latestVersion||(null!=t?t.latestVersion:t))?o:u)?o.call(s,{name:"latestVersion",hash:{},data:i}):o)+"'>"+l("function"==typeof(o=null!=(o=n.latestVersion||(null!=t?t.latestVersion:t))?o:u)?o.call(s,{name:"latestVersion",hash:{},data:i}):o)+"</a></dd>\n"},14:function(e,t,n,r,i){var a,o,l=e.escapeExpression,s=null!=t?t:e.nullContext||{},u=n.helperMissing;return" <dt>"+l(e.lambda(null!=(a=null!=t?t.l10n:t)?a.latest_editors_draft:a,t))+"</dt>\n <dd><a href='"+l("function"==typeof(o=null!=(o=n.edDraftURI||(null!=t?t.edDraftURI:t))?o:u)?o.call(s,{name:"edDraftURI",hash:{},data:i}):o)+"'>"+l("function"==typeof(o=null!=(o=n.edDraftURI||(null!=t?t.edDraftURI:t))?o:u)?o.call(s,{name:"edDraftURI",hash:{},data:i}):o)+"</a></dd>\n"},16:function(e,t,n,r,i){var a,o=null!=t?t:e.nullContext||{},l=n.helperMissing,s=e.escapeExpression;return" <dt>Test suite:</dt>\n <dd><a href='"+s("function"==typeof(a=null!=(a=n.testSuiteURI||(null!=t?t.testSuiteURI:t))?a:l)?a.call(o,{name:"testSuiteURI",hash:{},data:i}):a)+"'>"+s("function"==typeof(a=null!=(a=n.testSuiteURI||(null!=t?t.testSuiteURI:t))?a:l)?a.call(o,{name:"testSuiteURI",hash:{},data:i}):a)+"</a></dd>\n"},18:function(e,t,n,r,i){var a,o=null!=t?t:e.nullContext||{},l=n.helperMissing,s=e.escapeExpression;return" <dt>Implementation report:</dt>\n <dd><a href='"+s("function"==typeof(a=null!=(a=n.implementationReportURI||(null!=t?t.implementationReportURI:t))?a:l)?a.call(o,{name:"implementationReportURI",hash:{},data:i}):a)+"'>"+s("function"==typeof(a=null!=(a=n.implementationReportURI||(null!=t?t.implementationReportURI:t))?a:l)?a.call(o,{name:"implementationReportURI",hash:{},data:i}):a)+"</a></dd>\n"},20:function(e,t,n,r,i){var a,o;return" <dt>"+e.escapeExpression(e.lambda(null!=(a=null!=t?t.l10n:t)?a.bug_tracker:a,t))+"</dt>\n <dd>"+(null!=(a="function"==typeof(o=null!=(o=n.bugTrackerHTML||(null!=t?t.bugTrackerHTML:t))?o:n.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"bugTrackerHTML",hash:{},data:i}):o)?a:"")+"</dd>\n"},22:function(e,t,n,r,i){var a,o,l=null!=t?t:e.nullContext||{},s=n.helperMissing,u=e.escapeExpression;return" <dt>Previous version:</dt>\n <dd><a "+(null!=(a=n.if.call(l,null!=t?t.doRDFa:t,{name:"if",hash:{},fn:e.program(23,i,0),inverse:e.noop,data:i}))?a:"")+" href='"+u("function"==typeof(o=null!=(o=n.prevVersion||(null!=t?t.prevVersion:t))?o:s)?o.call(l,{name:"prevVersion",hash:{},data:i}):o)+"'>"+u("function"==typeof(o=null!=(o=n.prevVersion||(null!=t?t.prevVersion:t))?o:s)?o.call(l,{name:"prevVersion",hash:{},data:i}):o)+"</a></dd>\n"},23:function(e,t,n,r,i){return'rel="dcterms:replaces"'},25:function(e,t,n,r,i){var a;return null!=(a=n.if.call(null!=t?t:e.nullContext||{},null!=t?t.prevED:t,{name:"if",hash:{},fn:e.program(26,i,0),inverse:e.noop,data:i}))?a:""},26:function(e,t,n,r,i){var a,o=null!=t?t:e.nullContext||{},l=n.helperMissing,s=e.escapeExpression;return" <dt>Previous editor's draft:</dt>\n <dd><a href='"+s("function"==typeof(a=null!=(a=n.prevED||(null!=t?t.prevED:t))?a:l)?a.call(o,{name:"prevED",hash:{},data:i}):a)+"'>"+s("function"==typeof(a=null!=(a=n.prevED||(null!=t?t.prevED:t))?a:l)?a.call(o,{name:"prevED",hash:{},data:i}):a)+"</a></dd>\n"},28:function(e,t,n,r,i){var a;return e.escapeExpression(e.lambda(null!=(a=null!=t?t.l10n:t)?a.editors:a,t))},30:function(e,t,n,r,i){var a;return e.escapeExpression(e.lambda(null!=(a=null!=t?t.l10n:t)?a.editor:a,t))},32:function(e,t,n,r,i){var a,o=null!=t?t:e.nullContext||{};return" <dt>"+(null!=(a=n.if.call(o,null!=t?t.multipleAuthors:t,{name:"if",hash:{},fn:e.program(33,i,0),inverse:e.program(35,i,0),data:i}))?a:"")+"</dt>\n "+e.escapeExpression((n.showPeople||t&&t.showPeople||n.helperMissing).call(o,"Author",null!=t?t.authors:t,{name:"showPeople",hash:{},data:i}))+"\n"},33:function(e,t,n,r,i){var a;return e.escapeExpression(e.lambda(null!=(a=null!=t?t.l10n:t)?a.authors:a,t))},35:function(e,t,n,r,i){var a;return e.escapeExpression(e.lambda(null!=(a=null!=t?t.l10n:t)?a.author:a,t))},37:function(e,t,n,r,i){var a;return null!=(a=n.each.call(null!=t?t:e.nullContext||{},null!=t?t.otherLinks:t,{name:"each",hash:{},fn:e.program(38,i,0),inverse:e.noop,data:i}))?a:""},38:function(e,t,n,r,i){var a;return null!=(a=n.if.call(null!=t?t:e.nullContext||{},null!=t?t.key:t,{name:"if",hash:{},fn:e.program(39,i,0),inverse:e.noop,data:i}))?a:""},39:function(e,t,n,r,i){var a,o,l=null!=t?t:e.nullContext||{};return" <dt "+(null!=(a=n.if.call(l,null!=t?t.class:t,{name:"if",hash:{},fn:e.program(40,i,0),inverse:e.noop,data:i}))?a:"")+">"+e.escapeExpression("function"==typeof(o=null!=(o=n.key||(null!=t?t.key:t))?o:n.helperMissing)?o.call(l,{name:"key",hash:{},data:i}):o)+":</dt>\n"+(null!=(a=n.if.call(l,null!=t?t.data:t,{name:"if",hash:{},fn:e.program(42,i,0),inverse:e.program(52,i,0),data:i}))?a:"")},40:function(e,t,n,r,i){var a;return'class="'+e.escapeExpression("function"==typeof(a=null!=(a=n.class||(null!=t?t.class:t))?a:n.helperMissing)?a.call(null!=t?t:e.nullContext||{},{name:"class",hash:{},data:i}):a)+'"'},42:function(e,t,n,r,i){var a;return null!=(a=n.each.call(null!=t?t:e.nullContext||{},null!=t?t.data:t,{name:"each",hash:{},fn:e.program(43,i,0),inverse:e.noop,data:i}))?a:""},43:function(e,t,n,r,i){var a;return null!=(a=n.if.call(null!=t?t:e.nullContext||{},null!=t?t.value:t,{name:"if",hash:{},fn:e.program(44,i,0),inverse:e.program(49,i,0),data:i}))?a:""},44:function(e,t,n,r,i){var a,o,l=null!=t?t:e.nullContext||{};return" <dd "+(null!=(a=n.if.call(l,null!=t?t.class:t,{name:"if",hash:{},fn:e.program(40,i,0),inverse:e.noop,data:i}))?a:"")+">\n "+(null!=(a=n.if.call(l,null!=t?t.href:t,{name:"if",hash:{},fn:e.program(45,i,0),inverse:e.noop,data:i}))?a:"")+"\n "+e.escapeExpression("function"==typeof(o=null!=(o=n.value||(null!=t?t.value:t))?o:n.helperMissing)?o.call(l,{name:"value",hash:{},data:i}):o)+"\n "+(null!=(a=n.if.call(l,null!=t?t.href:t,{name:"if",hash:{},fn:e.program(47,i,0),inverse:e.noop,data:i}))?a:"")+"\n </dd>\n"},45:function(e,t,n,r,i){var a;return'<a href="'+e.escapeExpression("function"==typeof(a=null!=(a=n.href||(null!=t?t.href:t))?a:n.helperMissing)?a.call(null!=t?t:e.nullContext||{},{name:"href",hash:{},data:i}):a)+'">'},47:function(e,t,n,r,i){return"</a>"},49:function(e,t,n,r,i){var a;return null!=(a=n.if.call(null!=t?t:e.nullContext||{},null!=t?t.href:t,{name:"if",hash:{},fn:e.program(50,i,0),inverse:e.noop,data:i}))?a:""},50:function(e,t,n,r,i){var a,o=null!=t?t:e.nullContext||{},l=n.helperMissing,s=e.escapeExpression;return' <dd><a href="'+s("function"==typeof(a=null!=(a=n.href||(null!=t?t.href:t))?a:l)?a.call(o,{name:"href",hash:{},data:i}):a)+'">'+s("function"==typeof(a=null!=(a=n.href||(null!=t?t.href:t))?a:l)?a.call(o,{name:"href",hash:{},data:i}):a)+"</a></dd>\n"},52:function(e,t,n,r,i){var a;return null!=(a=n.if.call(null!=t?t:e.nullContext||{},null!=t?t.value:t,{name:"if",hash:{},fn:e.program(53,i,0),inverse:e.program(55,i,0),data:i}))?a:""},53:function(e,t,n,r,i){var a,o,l=null!=t?t:e.nullContext||{};return" <dd "+(null!=(a=n.if.call(l,null!=t?t.class:t,{name:"if",hash:{},fn:e.program(40,i,0),inverse:e.noop,data:i}))?a:"")+">\n "+(null!=(a=n.if.call(l,null!=t?t.href:t,{name:"if",hash:{},fn:e.program(45,i,0),inverse:e.noop,data:i}))?a:"")+"\n "+e.escapeExpression("function"==typeof(o=null!=(o=n.value||(null!=t?t.value:t))?o:n.helperMissing)?o.call(l,{name:"value",hash:{},data:i}):o)+"\n "+(null!=(a=n.if.call(l,null!=t?t.href:t,{name:"if",hash:{},fn:e.program(47,i,0),inverse:e.noop,data:i}))?a:"")+"\n </dd>\n"},55:function(e,t,n,r,i){var a;return null!=(a=n.if.call(null!=t?t:e.nullContext||{},null!=t?t.href:t,{name:"if",hash:{},fn:e.program(56,i,0),inverse:e.noop,data:i}))?a:""},56:function(e,t,n,r,i){var a,o,l=null!=t?t:e.nullContext||{},s=n.helperMissing,u=e.escapeExpression;return" <dd "+(null!=(a=n.if.call(l,null!=t?t.class:t,{name:"if",hash:{},fn:e.program(40,i,0),inverse:e.noop,data:i}))?a:"")+'>\n <a href="'+u("function"==typeof(o=null!=(o=n.href||(null!=t?t.href:t))?o:s)?o.call(l,{name:"href",hash:{},data:i}):o)+'">'+u("function"==typeof(o=null!=(o=n.href||(null!=t?t.href:t))?o:s)?o.call(l,{name:"href",hash:{},data:i}):o)+"</a>\n </dd>\n"},58:function(e,t,n,r,i){var a,o,l=null!=t?t:e.nullContext||{};return" <p>\n"+(null!=(a=n.if.call(l,null!=t?t.multipleAlternates:t,{name:"if",hash:{},fn:e.program(59,i,0),inverse:e.program(61,i,0),data:i}))?a:"")+" "+(null!=(a="function"==typeof(o=null!=(o=n.alternatesHTML||(null!=t?t.alternatesHTML:t))?o:n.helperMissing)?o.call(l,{name:"alternatesHTML",hash:{},data:i}):o)?a:"")+"\n </p>\n"},59:function(e,t,n,r,i){return" This document is also available in these non-normative formats: \n"},61:function(e,t,n,r,i){return" This document is also available in this non-normative format: \n"},63:function(e,t,n,r,i){var a;return e.escapeExpression("function"==typeof(a=null!=(a=n.copyrightStart||(null!=t?t.copyrightStart:t))?a:n.helperMissing)?a.call(null!=t?t:e.nullContext||{},{name:"copyrightStart",hash:{},data:i}):a)+"-"},65:function(e,t,n,r,i){return' <a href="https://www.w3.org/community/about/agreements/fsa/">W3C Community Final Specification Agreement (FSA)</a>. \n A human-readable <a href="https://www.w3.org/community/about/agreements/fsa-deed/">summary</a> is available.\n'},67:function(e,t,n,r,i){return' <a href="https://www.w3.org/community/about/agreements/cla/">W3C Community Contributor License Agreement (CLA)</a>.\n A human-readable <a href="https://www.w3.org/community/about/agreements/cla-deed/">summary</a> is available.\n'},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var a,o,l=null!=t?t:e.nullContext||{},s=n.helperMissing,u="function",c=e.escapeExpression;return"<div class='head'>\n <p>\n <a class='logo' href='https://www.w3.org/'><img width='72' height='48' src='https://www.w3.org/StyleSheets/TR/2016/logos/W3C' alt='W3C'></a>\n </p>\n"+(null!=(a=n.if.call(l,null!=t?t.logos:t,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?a:"")+" <h1 class='title p-name' id='title'"+(null!=(a=n.if.call(l,null!=t?t.doRDFa:t,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i}))?a:"")+">"+c(typeof(o=null!=(o=n.title||(null!=t?t.title:t))?o:s)===u?o.call(l,{name:"title",hash:{},data:i}):o)+"</h1>\n"+(null!=(a=n.if.call(l,null!=t?t.subtitle:t,{name:"if",hash:{},fn:e.program(5,i,0),inverse:e.noop,data:i}))?a:"")+" <h2>"+c(typeof(o=null!=(o=n.longStatus||(null!=t?t.longStatus:t))?o:s)===u?o.call(l,{name:"longStatus",hash:{},data:i}):o)+" <time "+(null!=(a=n.if.call(l,null!=t?t.doRDFa:t,{name:"if",hash:{},fn:e.program(8,i,0),inverse:e.noop,data:i}))?a:"")+"class='dt-published' datetime='"+c(typeof(o=null!=(o=n.dashDate||(null!=t?t.dashDate:t))?o:s)===u?o.call(l,{name:"dashDate",hash:{},data:i}):o)+"'>"+c(typeof(o=null!=(o=n.publishHumanDate||(null!=t?t.publishHumanDate:t))?o:s)===u?o.call(l,{name:"publishHumanDate",hash:{},data:i}):o)+"</time></h2>\n <dl>\n"+(null!=(a=n.if.call(l,null!=t?t.thisVersion:t,{name:"if",hash:{},fn:e.program(10,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(l,null!=t?t.latestVersion:t,{name:"if",hash:{},fn:e.program(12,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(l,null!=t?t.edDraftURI:t,{name:"if",hash:{},fn:e.program(14,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(l,null!=t?t.testSuiteURI:t,{name:"if",hash:{},fn:e.program(16,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(l,null!=t?t.implementationReportURI:t,{name:"if",hash:{},fn:e.program(18,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(l,null!=t?t.bugTrackerHTML:t,{name:"if",hash:{},fn:e.program(20,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(l,null!=t?t.prevVersion:t,{name:"if",hash:{},fn:e.program(22,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.unless.call(l,null!=t?t.isCGFinal:t,{name:"unless",hash:{},fn:e.program(25,i,0),inverse:e.noop,data:i}))?a:"")+" <dt>"+(null!=(a=n.if.call(l,null!=t?t.multipleEditors:t,{name:"if",hash:{},fn:e.program(28,i,0),inverse:e.program(30,i,0),data:i}))?a:"")+"</dt>\n "+c((n.showPeople||t&&t.showPeople||s).call(l,"Editor",null!=t?t.editors:t,{name:"showPeople",hash:{},data:i}))+"\n"+(null!=(a=n.if.call(l,null!=t?t.authors:t,{name:"if",hash:{},fn:e.program(32,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(l,null!=t?t.otherLinks:t,{name:"if",hash:{},fn:e.program(37,i,0),inverse:e.noop,data:i}))?a:"")+" </dl>\n"+(null!=(a=n.if.call(l,null!=t?t.alternateFormats:t,{name:"if",hash:{},fn:e.program(58,i,0),inverse:e.noop,data:i}))?a:"")+" <p class='copyright'>\n <a href='https://www.w3.org/Consortium/Legal/ipr-notice#Copyright'>Copyright</a> ©\n "+(null!=(a=n.if.call(l,null!=t?t.copyrightStart:t,{name:"if",hash:{},fn:e.program(63,i,0),inverse:e.noop,data:i}))?a:"")+c(typeof(o=null!=(o=n.publishYear||(null!=t?t.publishYear:t))?o:s)===u?o.call(l,{name:"publishYear",hash:{},data:i}):o)+"\n the Contributors to the "+c(typeof(o=null!=(o=n.title||(null!=t?t.title:t))?o:s)===u?o.call(l,{name:"title",hash:{},data:i}):o)+" Specification, published by the\n <a href='"+c(typeof(o=null!=(o=n.wgURI||(null!=t?t.wgURI:t))?o:s)===u?o.call(l,{name:"wgURI",hash:{},data:i}):o)+"'>"+c(typeof(o=null!=(o=n.wg||(null!=t?t.wg:t))?o:s)===u?o.call(l,{name:"wg",hash:{},data:i}):o)+"</a> under the\n"+(null!=(a=n.if.call(l,null!=t?t.isCGFinal:t,{name:"if",hash:{},fn:e.program(65,i,0),inverse:e.program(67,i,0),data:i}))?a:"")+' </p>\n <hr title="Separator for header">\n</div>\n'},useData:!0}),n["cgbg-sotd.html"]=t({1:function(e,t,n,r,i){var a;return' <details class="annoying-warning" open="">\n <summary>This is a preview</summary>\n <p>\n Do not attempt to implement this version of the specification. Do not reference this\n version as authoritative in any way.\n'+(null!=(a=n.if.call(null!=t?t:e.nullContext||{},null!=t?t.edDraftURI:t,{name:"if",hash:{},fn:e.program(2,i,0),inverse:e.noop,data:i}))?a:"")+" </p>\n </details>\n"},2:function(e,t,n,r,i){var a,o=null!=t?t:e.nullContext||{},l=n.helperMissing,s=e.escapeExpression;return' Instead, see <a href="'+s("function"==typeof(a=null!=(a=n.edDraftURI||(null!=t?t.edDraftURI:t))?a:l)?a.call(o,{name:"edDraftURI",hash:{},data:i}):a)+'">'+s("function"==typeof(a=null!=(a=n.edDraftURI||(null!=t?t.edDraftURI:t))?a:l)?a.call(o,{name:"edDraftURI",hash:{},data:i}):a)+"</a> for the Editor's draft.\n"},4:function(e,t,n,r,i){return' Please note that under the\n <a href="https://www.w3.org/community/about/agreements/final/">W3C Community Final Specification Agreement (FSA)</a>\n other conditions apply.\n'},6:function(e,t,n,r,i){return' Please note that under the\n <a href="https://www.w3.org/community/about/agreements/cla/">W3C Community Contributor License Agreement (CLA)</a>\n there is a limited opt-out and other conditions apply.\n'},8:function(e,t,n,r,i){var a,o;return" "+(null!=(a="function"==typeof(o=null!=(o=n.additionalContent||(null!=t?t.additionalContent:t))?o:n.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"additionalContent",hash:{},data:i}):o)?a:"")+"\n"},10:function(e,t,n,r,i){var a,o,l=null!=t?t:e.nullContext||{},s=n.helperMissing,u="function",c=e.escapeExpression;return" <p>If you wish to make comments regarding this document, please send them to\n <a href='mailto:"+c(typeof(o=null!=(o=n.wgPublicList||(null!=t?t.wgPublicList:t))?o:s)===u?o.call(l,{name:"wgPublicList",hash:{},data:i}):o)+"@w3.org"+(null!=(a=n.if.call(l,null!=t?t.subjectPrefix:t,{name:"if",hash:{},fn:e.program(11,i,0),inverse:e.noop,data:i}))?a:"")+"'>"+c(typeof(o=null!=(o=n.wgPublicList||(null!=t?t.wgPublicList:t))?o:s)===u?o.call(l,{name:"wgPublicList",hash:{},data:i}):o)+"@w3.org</a>\n (<a href='mailto:"+c(typeof(o=null!=(o=n.wgPublicList||(null!=t?t.wgPublicList:t))?o:s)===u?o.call(l,{name:"wgPublicList",hash:{},data:i}):o)+"-request@w3.org?subject=subscribe'>subscribe</a>,\n <a\n href='https://lists.w3.org/Archives/Public/"+c(typeof(o=null!=(o=n.wgPublicList||(null!=t?t.wgPublicList:t))?o:s)===u?o.call(l,{name:"wgPublicList",hash:{},data:i}):o)+"/'>archives</a>)"+(null!=(a=n.if.call(l,null!=t?t.subjectPrefix:t,{name:"if",hash:{},fn:e.program(13,i,0),inverse:e.noop,data:i}))?a:"")+".</p>\n"},11:function(e,t,n,r,i){var a;return"?subject="+e.escapeExpression("function"==typeof(a=null!=(a=n.subjectPrefixEnc||(null!=t?t.subjectPrefixEnc:t))?a:n.helperMissing)?a.call(null!=t?t:e.nullContext||{},{name:"subjectPrefixEnc",hash:{},data:i}):a)},13:function(e,t,n,r,i){var a;return"\n with <code>"+e.escapeExpression("function"==typeof(a=null!=(a=n.subjectPrefix||(null!=t?t.subjectPrefix:t))?a:n.helperMissing)?a.call(null!=t?t:e.nullContext||{},{name:"subjectPrefix",hash:{},data:i}):a)+"</code> at the start of your\n email's subject"},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var a,o,l=e.escapeExpression,s=null!=t?t:e.nullContext||{},u=n.helperMissing,c="function";return"<h2>"+l(e.lambda(null!=(a=null!=t?t.l10n:t)?a.sotd:a,t))+"</h2>\n"+(null!=(a=n.if.call(s,null!=t?t.isPreview:t,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?a:"")+"<p>\n This specification was published by the <a href='"+l(typeof(o=null!=(o=n.wgURI||(null!=t?t.wgURI:t))?o:u)===c?o.call(s,{name:"wgURI",hash:{},data:i}):o)+"'>"+l(typeof(o=null!=(o=n.wg||(null!=t?t.wg:t))?o:u)===c?o.call(s,{name:"wg",hash:{},data:i}):o)+"</a>.\n It is not a W3C Standard nor is it on the W3C Standards Track.\n"+(null!=(a=n.if.call(s,null!=t?t.isCGFinal:t,{name:"if",hash:{},fn:e.program(4,i,0),inverse:e.program(6,i,0),data:i}))?a:"")+' Learn more about\n <a href="https://www.w3.org/community/">W3C Community and Business Groups</a>.\n</p>\n'+(null!=(a=n.unless.call(s,null!=t?t.sotdAfterWGinfo:t,{name:"unless",hash:{},fn:e.program(8,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(s,null!=t?t.wgPublicList:t,{name:"if",hash:{},fn:e.program(10,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(s,null!=t?t.sotdAfterWGinfo:t,{name:"if",hash:{},fn:e.program(8,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=typeof(o=null!=(o=n.additionalSections||(null!=t?t.additionalSections:t))?o:u)===c?o.call(s,{name:"additionalSections",hash:{},data:i}):o)?a:"")+"\n"},useData:!0}),n["conformance.html"]=t({compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){return"<h2>Conformance</h2>\n<p>\n As well as sections marked as non-normative, all authoring guidelines, diagrams, examples,\n and notes in this specification are non-normative. Everything else in this specification is\n normative.\n</p>\n<p id='respecRFC2119'>\n to be interpreted as described in [[!RFC2119]].\n</p>\n"},useData:!0}),n["headers.html"]=t({1:function(e,t,n,r,i){return" <p>\n <a class='logo' href='https://www.w3.org/'><img width='72' height='48' src='https://www.w3.org/StyleSheets/TR/2016/logos/W3C' alt='W3C'></a>\n </p>\n"},3:function(e,t,n,r,i){return" property='dcterms:title'"},5:function(e,t,n,r,i){var a,o,l=null!=t?t:e.nullContext||{};return" <h2 "+(null!=(a=n.if.call(l,null!=t?t.doRDFa:t,{name:"if",hash:{},fn:e.program(6,i,0),inverse:e.noop,data:i}))?a:"")+"id='subtitle'>"+e.escapeExpression("function"==typeof(o=null!=(o=n.subtitle||(null!=t?t.subtitle:t))?o:n.helperMissing)?o.call(l,{name:"subtitle",hash:{},data:i}):o)+"</h2>\n"},6:function(e,t,n,r,i){return"property='bibo:subtitle' "},8:function(e,t,n,r,i){return"W3C "},10:function(e,t,n,r,i){return'property="dcterms:issued"'},12:function(e,t,n,r,i){var a,o,l=e.lambda,s=e.escapeExpression,u=null!=t?t:e.nullContext||{},c=n.helperMissing;return" <dt>"+s(l(null!=(a=null!=t?t.l10n:t)?a.this_version:a,t))+"</dt>\n <dd><a class='u-url' href='"+s("function"==typeof(o=null!=(o=n.thisVersion||(null!=t?t.thisVersion:t))?o:c)?o.call(u,{name:"thisVersion",hash:{},data:i}):o)+"'>"+s("function"==typeof(o=null!=(o=n.thisVersion||(null!=t?t.thisVersion:t))?o:c)?o.call(u,{name:"thisVersion",hash:{},data:i}):o)+"</a></dd>\n <dt>"+s(l(null!=(a=null!=t?t.l10n:t)?a.latest_published_version:a,t))+"</dt>\n <dd>"+(null!=(a=n.if.call(u,null!=t?t.latestVersion:t,{name:"if",hash:{},fn:e.program(13,i,0),inverse:e.program(15,i,0),data:i}))?a:"")+"</dd>\n"},13:function(e,t,n,r,i){var a,o=null!=t?t:e.nullContext||{},l=n.helperMissing,s=e.escapeExpression;return"<a href='"+s("function"==typeof(a=null!=(a=n.latestVersion||(null!=t?t.latestVersion:t))?a:l)?a.call(o,{name:"latestVersion",hash:{},data:i}):a)+"'>"+s("function"==typeof(a=null!=(a=n.latestVersion||(null!=t?t.latestVersion:t))?a:l)?a.call(o,{name:"latestVersion",hash:{},data:i}):a)+"</a>"},15:function(e,t,n,r,i){return"none"},17:function(e,t,n,r,i){var a,o,l=e.escapeExpression,s=null!=t?t:e.nullContext||{},u=n.helperMissing;return" <dt>"+l(e.lambda(null!=(a=null!=t?t.l10n:t)?a.latest_editors_draft:a,t))+"</dt>\n <dd><a href='"+l("function"==typeof(o=null!=(o=n.edDraftURI||(null!=t?t.edDraftURI:t))?o:u)?o.call(s,{name:"edDraftURI",hash:{},data:i}):o)+"'>"+l("function"==typeof(o=null!=(o=n.edDraftURI||(null!=t?t.edDraftURI:t))?o:u)?o.call(s,{name:"edDraftURI",hash:{},data:i}):o)+"</a></dd>\n"},19:function(e,t,n,r,i){var a,o=null!=t?t:e.nullContext||{},l=n.helperMissing,s=e.escapeExpression;return" <dt>Test suite:</dt>\n <dd><a href='"+s("function"==typeof(a=null!=(a=n.testSuiteURI||(null!=t?t.testSuiteURI:t))?a:l)?a.call(o,{name:"testSuiteURI",hash:{},data:i}):a)+"'>"+s("function"==typeof(a=null!=(a=n.testSuiteURI||(null!=t?t.testSuiteURI:t))?a:l)?a.call(o,{name:"testSuiteURI",hash:{},data:i}):a)+"</a></dd>\n"},21:function(e,t,n,r,i){var a,o=null!=t?t:e.nullContext||{},l=n.helperMissing,s=e.escapeExpression;return" <dt>Implementation report:</dt>\n <dd><a href='"+s("function"==typeof(a=null!=(a=n.implementationReportURI||(null!=t?t.implementationReportURI:t))?a:l)?a.call(o,{name:"implementationReportURI",hash:{},data:i}):a)+"'>"+s("function"==typeof(a=null!=(a=n.implementationReportURI||(null!=t?t.implementationReportURI:t))?a:l)?a.call(o,{name:"implementationReportURI",hash:{},data:i}):a)+"</a></dd>\n"},23:function(e,t,n,r,i){var a,o;return" <dt>"+e.escapeExpression(e.lambda(null!=(a=null!=t?t.l10n:t)?a.bug_tracker:a,t))+"</dt>\n <dd>"+(null!=(a="function"==typeof(o=null!=(o=n.bugTrackerHTML||(null!=t?t.bugTrackerHTML:t))?o:n.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"bugTrackerHTML",hash:{},data:i}):o)?a:"")+"</dd>\n"},25:function(e,t,n,r,i){var a;return null!=(a=n.if.call(null!=t?t:e.nullContext||{},null!=t?t.prevED:t,{name:"if",hash:{},fn:e.program(26,i,0),inverse:e.noop,data:i}))?a:""},26:function(e,t,n,r,i){var a,o=null!=t?t:e.nullContext||{},l=n.helperMissing,s=e.escapeExpression;return" <dt>Previous editor's draft:</dt>\n <dd><a href='"+s("function"==typeof(a=null!=(a=n.prevED||(null!=t?t.prevED:t))?a:l)?a.call(o,{name:"prevED",hash:{},data:i}):a)+"'>"+s("function"==typeof(a=null!=(a=n.prevED||(null!=t?t.prevED:t))?a:l)?a.call(o,{name:"prevED",hash:{},data:i}):a)+"</a></dd>\n"},28:function(e,t,n,r,i){var a,o,l=null!=t?t:e.nullContext||{},s=n.helperMissing,u=e.escapeExpression;return" <dt>Previous version:</dt>\n <dd><a "+(null!=(a=n.if.call(l,null!=t?t.doRDFa:t,{name:"if",hash:{},fn:e.program(29,i,0),inverse:e.noop,data:i}))?a:"")+" href='"+u("function"==typeof(o=null!=(o=n.prevVersion||(null!=t?t.prevVersion:t))?o:s)?o.call(l,{name:"prevVersion",hash:{},data:i}):o)+"'>"+u("function"==typeof(o=null!=(o=n.prevVersion||(null!=t?t.prevVersion:t))?o:s)?o.call(l,{name:"prevVersion",hash:{},data:i}):o)+"</a></dd>\n"},29:function(e,t,n,r,i){return'rel="dcterms:replaces"'},31:function(e,t,n,r,i){var a;return null!=(a=n.if.call(null!=t?t:e.nullContext||{},null!=t?t.isRec:t,{name:"if",hash:{},fn:e.program(32,i,0),inverse:e.program(34,i,0),data:i}))?a:""},32:function(e,t,n,r,i){var a,o,l=null!=t?t:e.nullContext||{},s=n.helperMissing,u=e.escapeExpression;return" <dt>Previous Recommendation:</dt>\n <dd><a "+(null!=(a=n.if.call(l,null!=t?t.doRDFa:t,{name:"if",hash:{},fn:e.program(29,i,0),inverse:e.noop,data:i}))?a:"")+" href='"+u("function"==typeof(o=null!=(o=n.prevRecURI||(null!=t?t.prevRecURI:t))?o:s)?o.call(l,{name:"prevRecURI",hash:{},data:i}):o)+"'>"+u("function"==typeof(o=null!=(o=n.prevRecURI||(null!=t?t.prevRecURI:t))?o:s)?o.call(l,{name:"prevRecURI",hash:{},data:i}):o)+"</a></dd>\n"},34:function(e,t,n,r,i){var a,o=null!=t?t:e.nullContext||{},l=n.helperMissing,s=e.escapeExpression;return" <dt>Latest Recommendation:</dt>\n <dd><a href='"+s("function"==typeof(a=null!=(a=n.prevRecURI||(null!=t?t.prevRecURI:t))?a:l)?a.call(o,{name:"prevRecURI",hash:{},data:i}):a)+"'>"+s("function"==typeof(a=null!=(a=n.prevRecURI||(null!=t?t.prevRecURI:t))?a:l)?a.call(o,{name:"prevRecURI",hash:{},data:i}):a)+"</a></dd>\n"},36:function(e,t,n,r,i){var a;return e.escapeExpression(e.lambda(null!=(a=null!=t?t.l10n:t)?a.editors:a,t))},38:function(e,t,n,r,i){var a;return e.escapeExpression(e.lambda(null!=(a=null!=t?t.l10n:t)?a.editor:a,t))},40:function(e,t,n,r,i){var a,o=null!=t?t:e.nullContext||{};return" <dt>"+(null!=(a=n.if.call(o,null!=t?t.multipleAuthors:t,{name:"if",hash:{},fn:e.program(41,i,0),inverse:e.program(43,i,0),data:i}))?a:"")+"</dt>\n "+e.escapeExpression((n.showPeople||t&&t.showPeople||n.helperMissing).call(o,"Author",null!=t?t.authors:t,{name:"showPeople",hash:{},data:i}))+"\n"},41:function(e,t,n,r,i){var a;return e.escapeExpression(e.lambda(null!=(a=null!=t?t.l10n:t)?a.authors:a,t))},43:function(e,t,n,r,i){var a;return e.escapeExpression(e.lambda(null!=(a=null!=t?t.l10n:t)?a.author:a,t))},45:function(e,t,n,r,i){var a;return null!=(a=n.each.call(null!=t?t:e.nullContext||{},null!=t?t.otherLinks:t,{name:"each",hash:{},fn:e.program(46,i,0),inverse:e.noop,data:i}))?a:""},46:function(e,t,n,r,i){var a;return null!=(a=n.if.call(null!=t?t:e.nullContext||{},null!=t?t.key:t,{name:"if",hash:{},fn:e.program(47,i,0),inverse:e.noop,data:i}))?a:""},47:function(e,t,n,r,i){var a,o,l=null!=t?t:e.nullContext||{};return" <dt "+(null!=(a=n.if.call(l,null!=t?t.class:t,{name:"if",hash:{},fn:e.program(48,i,0),inverse:e.noop,data:i}))?a:"")+">"+e.escapeExpression("function"==typeof(o=null!=(o=n.key||(null!=t?t.key:t))?o:n.helperMissing)?o.call(l,{name:"key",hash:{},data:i}):o)+":</dt>\n"+(null!=(a=n.if.call(l,null!=t?t.data:t,{name:"if",hash:{},fn:e.program(50,i,0),inverse:e.program(60,i,0),data:i}))?a:"")},48:function(e,t,n,r,i){var a;return'class="'+e.escapeExpression("function"==typeof(a=null!=(a=n.class||(null!=t?t.class:t))?a:n.helperMissing)?a.call(null!=t?t:e.nullContext||{},{name:"class",hash:{},data:i}):a)+'"'},50:function(e,t,n,r,i){var a;return null!=(a=n.each.call(null!=t?t:e.nullContext||{},null!=t?t.data:t,{name:"each",hash:{},fn:e.program(51,i,0),inverse:e.noop,data:i}))?a:""},51:function(e,t,n,r,i){var a;return null!=(a=n.if.call(null!=t?t:e.nullContext||{},null!=t?t.value:t,{name:"if",hash:{},fn:e.program(52,i,0),inverse:e.program(57,i,0),data:i}))?a:""},52:function(e,t,n,r,i){var a,o,l=null!=t?t:e.nullContext||{};return" <dd "+(null!=(a=n.if.call(l,null!=t?t.class:t,{name:"if",hash:{},fn:e.program(48,i,0),inverse:e.noop,data:i}))?a:"")+">\n "+(null!=(a=n.if.call(l,null!=t?t.href:t,{name:"if",hash:{},fn:e.program(53,i,0),inverse:e.noop,data:i}))?a:"")+"\n "+e.escapeExpression("function"==typeof(o=null!=(o=n.value||(null!=t?t.value:t))?o:n.helperMissing)?o.call(l,{name:"value",hash:{},data:i}):o)+"\n "+(null!=(a=n.if.call(l,null!=t?t.href:t,{name:"if",hash:{},fn:e.program(55,i,0),inverse:e.noop,data:i}))?a:"")+"\n </dd>\n"},53:function(e,t,n,r,i){var a;return'<a href="'+e.escapeExpression("function"==typeof(a=null!=(a=n.href||(null!=t?t.href:t))?a:n.helperMissing)?a.call(null!=t?t:e.nullContext||{},{name:"href",hash:{},data:i}):a)+'">'},55:function(e,t,n,r,i){return"</a>"},57:function(e,t,n,r,i){var a;return null!=(a=n.if.call(null!=t?t:e.nullContext||{},null!=t?t.href:t,{name:"if",hash:{},fn:e.program(58,i,0),inverse:e.noop,data:i}))?a:""},58:function(e,t,n,r,i){var a,o=null!=t?t:e.nullContext||{},l=n.helperMissing,s=e.escapeExpression;return' <dd><a href="'+s("function"==typeof(a=null!=(a=n.href||(null!=t?t.href:t))?a:l)?a.call(o,{name:"href",hash:{},data:i}):a)+'">'+s("function"==typeof(a=null!=(a=n.href||(null!=t?t.href:t))?a:l)?a.call(o,{name:"href",hash:{},data:i}):a)+"</a></dd>\n"},60:function(e,t,n,r,i){var a;return null!=(a=n.if.call(null!=t?t:e.nullContext||{},null!=t?t.value:t,{name:"if",hash:{},fn:e.program(61,i,0),inverse:e.program(63,i,0),data:i}))?a:""},61:function(e,t,n,r,i){var a,o,l=null!=t?t:e.nullContext||{};return" <dd "+(null!=(a=n.if.call(l,null!=t?t.class:t,{name:"if",hash:{},fn:e.program(48,i,0),inverse:e.noop,data:i}))?a:"")+">\n "+(null!=(a=n.if.call(l,null!=t?t.href:t,{name:"if",hash:{},fn:e.program(53,i,0),inverse:e.noop,data:i}))?a:"")+"\n "+e.escapeExpression("function"==typeof(o=null!=(o=n.value||(null!=t?t.value:t))?o:n.helperMissing)?o.call(l,{name:"value",hash:{},data:i}):o)+"\n "+(null!=(a=n.if.call(l,null!=t?t.href:t,{name:"if",hash:{},fn:e.program(55,i,0),inverse:e.noop,data:i}))?a:"")+"\n </dd>\n"},63:function(e,t,n,r,i){var a;return null!=(a=n.if.call(null!=t?t:e.nullContext||{},null!=t?t.href:t,{name:"if",hash:{},fn:e.program(64,i,0),inverse:e.noop,data:i}))?a:""},64:function(e,t,n,r,i){var a,o,l=null!=t?t:e.nullContext||{},s=n.helperMissing,u=e.escapeExpression;return" <dd "+(null!=(a=n.if.call(l,null!=t?t.class:t,{name:"if",hash:{},fn:e.program(48,i,0),inverse:e.noop,data:i}))?a:"")+'>\n <a href="'+u("function"==typeof(o=null!=(o=n.href||(null!=t?t.href:t))?o:s)?o.call(l,{name:"href",hash:{},data:i}):o)+'">'+u("function"==typeof(o=null!=(o=n.href||(null!=t?t.href:t))?o:s)?o.call(l,{name:"href",hash:{},data:i}):o)+"</a>\n </dd>\n"},66:function(e,t,n,r,i){var a;return' <p>\n Please check the <a href="'+e.escapeExpression("function"==typeof(a=null!=(a=n.errata||(null!=t?t.errata:t))?a:n.helperMissing)?a.call(null!=t?t:e.nullContext||{},{name:"errata",hash:{},data:i}):a)+'"><strong>errata</strong></a> for any errors or issues\n reported since publication.\n </p>\n'},68:function(e,t,n,r,i){var a;return' <p>\n See also <a href="http://www.w3.org/2003/03/Translations/byTechnology?technology='+e.escapeExpression("function"==typeof(a=null!=(a=n.shortName||(null!=t?t.shortName:t))?a:n.helperMissing)?a.call(null!=t?t:e.nullContext||{},{name:"shortName",hash:{},data:i}):a)+'">\n <strong>translations</strong></a>.\n </p>\n'},70:function(e,t,n,r,i){var a,o,l=null!=t?t:e.nullContext||{};return" <p>\n"+(null!=(a=n.if.call(l,null!=t?t.multipleAlternates:t,{name:"if",hash:{},fn:e.program(71,i,0),inverse:e.program(73,i,0),data:i}))?a:"")+" "+(null!=(a="function"==typeof(o=null!=(o=n.alternatesHTML||(null!=t?t.alternatesHTML:t))?o:n.helperMissing)?o.call(l,{name:"alternatesHTML",hash:{},data:i}):o)?a:"")+"\n </p>\n"},71:function(e,t,n,r,i){return" This document is also available in these non-normative formats:\n"},73:function(e,t,n,r,i){return" This document is also available in this non-normative format:\n"},75:function(e,t,n,r,i){var a;return null!=(a=n.if.call(null!=t?t:e.nullContext||{},null!=t?t.additionalCopyrightHolders:t,{name:"if",hash:{},fn:e.program(76,i,0),inverse:e.program(78,i,0),data:i}))?a:""},76:function(e,t,n,r,i){var a,o;return" <p class='copyright'>"+(null!=(a="function"==typeof(o=null!=(o=n.additionalCopyrightHolders||(null!=t?t.additionalCopyrightHolders:t))?o:n.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"additionalCopyrightHolders",hash:{},data:i}):o)?a:"")+"</p>\n"},78:function(e,t,n,r,i){var a;return null!=(a=n.if.call(null!=t?t:e.nullContext||{},null!=t?t.overrideCopyright:t,{name:"if",hash:{},fn:e.program(79,i,0),inverse:e.program(81,i,0),data:i}))?a:""},79:function(e,t,n,r,i){var a,o;return" "+(null!=(a="function"==typeof(o=null!=(o=n.overrideCopyright||(null!=t?t.overrideCopyright:t))?o:n.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"overrideCopyright",hash:{},data:i}):o)?a:"")+"\n"},81:function(e,t,n,r,i){return" <p class='copyright'>\n This document is licensed under a\n <a class='subfoot' href='https://creativecommons.org/licenses/by/3.0/' rel='license'>Creative Commons\n Attribution 3.0 License</a>.\n </p>\n"},83:function(e,t,n,r,i){var a;return null!=(a=n.if.call(null!=t?t:e.nullContext||{},null!=t?t.overrideCopyright:t,{name:"if",hash:{},fn:e.program(84,i,0),inverse:e.program(86,i,0),data:i}))?a:""},84:function(e,t,n,r,i){var a,o;return" "+(null!=(a="function"==typeof(o=null!=(o=n.overrideCopyright||(null!=t?t.overrideCopyright:t))?o:n.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"overrideCopyright",hash:{},data:i}):o)?a:"")+"\n"},86:function(e,t,n,r,i){var a,o,l=null!=t?t:e.nullContext||{};return" <p class='copyright'>\n <a href='https://www.w3.org/Consortium/Legal/ipr-notice#Copyright'>Copyright</a> ©\n "+(null!=(a=n.if.call(l,null!=t?t.copyrightStart:t,{name:"if",hash:{},fn:e.program(87,i,0),inverse:e.noop,data:i}))?a:"")+e.escapeExpression("function"==typeof(o=null!=(o=n.publishYear||(null!=t?t.publishYear:t))?o:n.helperMissing)?o.call(l,{name:"publishYear",hash:{},data:i}):o)+"\n "+(null!=(a=n.if.call(l,null!=t?t.additionalCopyrightHolders:t,{name:"if",hash:{},fn:e.program(89,i,0),inverse:e.noop,data:i}))?a:"")+"\n <a href='https://www.w3.org/'><abbr title='World Wide Web Consortium'>W3C</abbr></a><sup>®</sup>\n (<a href='https://www.csail.mit.edu/'><abbr title='Massachusetts Institute of Technology'>MIT</abbr></a>,\n <a href='https://www.ercim.eu/'><abbr title='European Research Consortium for Informatics and Mathematics'>ERCIM</abbr></a>,\n <a href='https://www.keio.ac.jp/'>Keio</a>, <a href=\"http://ev.buaa.edu.cn/\">Beihang</a>).\n"+(null!=(a=n.if.call(l,null!=t?t.isCCBY:t,{name:"if",hash:{},fn:e.program(91,i,0),inverse:e.noop,data:i}))?a:"")+" W3C <a href='https://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer'>liability</a>,\n <a href='https://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks'>trademark</a> and\n"+(null!=(a=n.if.call(l,null!=t?t.isCCBY:t,{name:"if",hash:{},fn:e.program(93,i,0),inverse:e.program(95,i,0),data:i}))?a:"")+" rules apply.\n </p>\n"},87:function(e,t,n,r,i){var a;return e.escapeExpression("function"==typeof(a=null!=(a=n.copyrightStart||(null!=t?t.copyrightStart:t))?a:n.helperMissing)?a.call(null!=t?t:e.nullContext||{},{name:"copyrightStart",hash:{},data:i}):a)+"-"},89:function(e,t,n,r,i){var a,o;return" "+(null!=(a="function"==typeof(o=null!=(o=n.additionalCopyrightHolders||(null!=t?t.additionalCopyrightHolders:t))?o:n.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"additionalCopyrightHolders",hash:{},data:i}):o)?a:"")+" &"},91:function(e,t,n,r,i){return' Some Rights Reserved: this document is dual-licensed,\n <a rel="license" href="https://creativecommons.org/licenses/by/3.0/">CC-BY</a> and\n <a rel="license" href="https://www.w3.org/Consortium/Legal/copyright-documents">W3C Document License</a>.\n'},93:function(e,t,n,r,i){return" <a rel=\"license\" href='https://www.w3.org/Consortium/Legal/2013/copyright-documents-dual.html'>document use</a>\n"},95:function(e,t,n,r,i){var a;return null!=(a=n.if.call(null!=t?t:e.nullContext||{},null!=t?t.isW3CSoftAndDocLicense:t,{name:"if",hash:{},fn:e.program(96,i,0),inverse:e.program(98,i,0),data:i}))?a:""},96:function(e,t,n,r,i){return" <a rel=\"license\" href='https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document'>permissive document license</a>\n"},98:function(e,t,n,r,i){return" <a rel=\"license\" href='https://www.w3.org/Consortium/Legal/copyright-documents'>document use</a>\n"},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var a,o,l=null!=t?t:e.nullContext||{},s=n.helperMissing,u="function",c=e.escapeExpression;return"<div class='head'>\n"+(null!=(a=n.unless.call(l,null!=t?t.isUnofficial:t,{name:"unless",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?a:"")+" "+(null!=(a=(n.showLogos||t&&t.showLogos||s).call(l,null!=t?t.logos:t,{name:"showLogos",hash:{},data:i}))?a:"")+"\n <h1 class='title p-name' id='title'"+(null!=(a=n.if.call(l,null!=t?t.doRDFa:t,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i}))?a:"")+">"+c(typeof(o=null!=(o=n.title||(null!=t?t.title:t))?o:s)===u?o.call(l,{name:"title",hash:{},data:i}):o)+"</h1>\n"+(null!=(a=n.if.call(l,null!=t?t.subtitle:t,{name:"if",hash:{},fn:e.program(5,i,0),inverse:e.noop,data:i}))?a:"")+" <h2>"+(null!=(a=n.if.call(l,null!=t?t.prependW3C:t,{name:"if",hash:{},fn:e.program(8,i,0),inverse:e.noop,data:i}))?a:"")+c(typeof(o=null!=(o=n.textStatus||(null!=t?t.textStatus:t))?o:s)===u?o.call(l,{name:"textStatus",hash:{},data:i}):o)+" <time "+(null!=(a=n.if.call(l,null!=t?t.doRDFa:t,{name:"if",hash:{},fn:e.program(10,i,0),inverse:e.noop,data:i}))?a:"")+"class='dt-published' datetime='"+c(typeof(o=null!=(o=n.dashDate||(null!=t?t.dashDate:t))?o:s)===u?o.call(l,{name:"dashDate",hash:{},data:i}):o)+"'>"+c(typeof(o=null!=(o=n.publishHumanDate||(null!=t?t.publishHumanDate:t))?o:s)===u?o.call(l,{name:"publishHumanDate",hash:{},data:i}):o)+"</time></h2>\n <dl>\n"+(null!=(a=n.unless.call(l,null!=t?t.isNoTrack:t,{name:"unless",hash:{},fn:e.program(12,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(l,null!=t?t.edDraftURI:t,{name:"if",hash:{},fn:e.program(17,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(l,null!=t?t.testSuiteURI:t,{name:"if",hash:{},fn:e.program(19,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(l,null!=t?t.implementationReportURI:t,{name:"if",hash:{},fn:e.program(21,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(l,null!=t?t.bugTrackerHTML:t,{name:"if",hash:{},fn:e.program(23,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(l,null!=t?t.isED:t,{name:"if",hash:{},fn:e.program(25,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(l,null!=t?t.showPreviousVersion:t,{name:"if",hash:{},fn:e.program(28,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(l,null!=t?t.prevRecURI:t,{name:"if",hash:{},fn:e.program(31,i,0),inverse:e.noop,data:i}))?a:"")+" <dt>"+(null!=(a=n.if.call(l,null!=t?t.multipleEditors:t,{name:"if",hash:{},fn:e.program(36,i,0),inverse:e.program(38,i,0),data:i}))?a:"")+"</dt>\n "+c((n.showPeople||t&&t.showPeople||s).call(l,"Editor",null!=t?t.editors:t,{name:"showPeople",hash:{},data:i}))+"\n"+(null!=(a=n.if.call(l,null!=t?t.authors:t,{name:"if",hash:{},fn:e.program(40,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(l,null!=t?t.otherLinks:t,{name:"if",hash:{},fn:e.program(45,i,0),inverse:e.noop,data:i}))?a:"")+" </dl>\n"+(null!=(a=n.if.call(l,null!=t?t.errata:t,{name:"if",hash:{},fn:e.program(66,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(l,null!=t?t.isRec:t,{name:"if",hash:{},fn:e.program(68,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(l,null!=t?t.alternateFormats:t,{name:"if",hash:{},fn:e.program(70,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(l,null!=t?t.isUnofficial:t,{name:"if",hash:{},fn:e.program(75,i,0),inverse:e.program(83,i,0),data:i}))?a:"")+' <hr title="Separator for header">\n</div>\n'},useData:!0}),n["sotd.html"]=t({1:function(e,t,n,r,i){var a;return' <details class="annoying-warning" open="">\n <summary>This is a preview</summary>\n <p>\n Do not attempt to implement this version of the specification. Do not reference this\n version as authoritative in any way.\n'+(null!=(a=n.if.call(null!=t?t:e.nullContext||{},null!=t?t.edDraftURI:t,{name:"if",hash:{},fn:e.program(2,i,0),inverse:e.noop,data:i}))?a:"")+" </p>\n </details>\n"},2:function(e,t,n,r,i){var a,o=null!=t?t:e.nullContext||{},l=n.helperMissing,s=e.escapeExpression;return' Instead, see <a href="'+s("function"==typeof(a=null!=(a=n.edDraftURI||(null!=t?t.edDraftURI:t))?a:l)?a.call(o,{name:"edDraftURI",hash:{},data:i}):a)+'">'+s("function"==typeof(a=null!=(a=n.edDraftURI||(null!=t?t.edDraftURI:t))?a:l)?a.call(o,{name:"edDraftURI",hash:{},data:i}):a)+"</a> for the Editor's draft.\n"},4:function(e,t,n,r,i){var a,o;return" <p>\n This document is draft of a potential specification. It has no official standing of\n any kind and does not represent the support or consensus of any standards organisation.\n </p>\n "+(null!=(a="function"==typeof(o=null!=(o=n.additionalContent||(null!=t?t.additionalContent:t))?o:n.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"additionalContent",hash:{},data:i}):o)?a:"")+"\n"},6:function(e,t,n,r,i){var a;return null!=(a=n.if.call(null!=t?t:e.nullContext||{},null!=t?t.isTagFinding:t,{name:"if",hash:{},fn:e.program(7,i,0),inverse:e.program(9,i,0),data:i}))?a:""},7:function(e,t,n,r,i){var a,o;return" "+(null!=(a="function"==typeof(o=null!=(o=n.additionalContent||(null!=t?t.additionalContent:t))?o:n.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"additionalContent",hash:{},data:i}):o)?a:"")+"\n"},9:function(e,t,n,r,i){var a;return null!=(a=n.if.call(null!=t?t:e.nullContext||{},null!=t?t.isNoTrack:t,{name:"if",hash:{},fn:e.program(10,i,0),inverse:e.program(13,i,0),data:i}))?a:""},10:function(e,t,n,r,i){var a,o,l=null!=t?t:e.nullContext||{};return" <p>\n This document is merely a W3C-internal "+(null!=(a=n.if.call(l,null!=t?t.isMO:t,{name:"if",hash:{},fn:e.program(11,i,0),inverse:e.noop,data:i}))?a:"")+" document. It\n has no official standing of any kind and does not represent consensus of the W3C\n Membership.\n </p>\n "+(null!=(a="function"==typeof(o=null!=(o=n.additionalContent||(null!=t?t.additionalContent:t))?o:n.helperMissing)?o.call(l,{name:"additionalContent",hash:{},data:i}):o)?a:"")+"\n"},11:function(e,t,n,r,i){return"member-confidential"},13:function(e,t,n,r,i){var a;return" <p>\n <em>"+(null!=(a=e.lambda(null!=(a=null!=t?t.l10n:t)?a.status_at_publication:a,t))?a:"")+"</em>\n </p>\n"+(null!=(a=n.if.call(null!=t?t:e.nullContext||{},null!=t?t.isSubmission:t,{name:"if",hash:{},fn:e.program(14,i,0),inverse:e.program(23,i,0),data:i}))?a:"")},14:function(e,t,n,r,i){var a,o,l=null!=t?t:e.nullContext||{};return" "+(null!=(a="function"==typeof(o=null!=(o=n.additionalContent||(null!=t?t.additionalContent:t))?o:n.helperMissing)?o.call(l,{name:"additionalContent",hash:{},data:i}):o)?a:"")+"\n"+(null!=(a=n.if.call(l,null!=t?t.isMemberSubmission:t,{name:"if",hash:{},fn:e.program(15,i,0),inverse:e.program(17,i,0),data:i}))?a:"")},15:function(e,t,n,r,i){return' <p>\n By publishing this document, W3C acknowledges that\n the <a href="https://www.w3.org/Submission/@@@submissiondoc@@@">Submitting Members</a>\n have made a formal Submission request to W3C for discussion. Publication of this document\n by W3C indicates no endorsement of its content by W3C, nor that W3C has, is, or will be\n allocating any resources to the issues addressed by it. This document is not the product\n of a chartered W3C group, but is published as potential input to\n the <a href="https://www.w3.org/Consortium/Process">W3C Process</a>.\n A <a href="https://www.w3.org/Submission/@@@teamcomment@@@">W3C Team Comment</a> has been\n published in conjunction with this Member Submission. Publication of acknowledged Member Submissions\n at the W3C site is one of the benefits of <a href="https://www.w3.org/Consortium/Prospectus/Joining">\n W3C Membership</a>. Please consult the requirements associated with Member Submissions of\n <a href="https://www.w3.org/Consortium/Patent-Policy/#sec-submissions">section 3.3 of the\n W3C Patent Policy</a>. Please consult the complete <a href="https://www.w3.org/Submission">list\n of acknowledged W3C Member Submissions</a>.\n </p>\n'},17:function(e,t,n,r,i){var a;return null!=(a=n.if.call(null!=t?t:e.nullContext||{},null!=t?t.isTeamSubmission:t,{name:"if",hash:{},fn:e.program(18,i,0),inverse:e.noop,data:i}))?a:""},18:function(e,t,n,r,i){var a,o,l=null!=t?t:e.nullContext||{},s=n.helperMissing,u="function",c=e.escapeExpression;return" <p>If you wish to make comments regarding this document, please send them to\n <a href='mailto:"+c(typeof(o=null!=(o=n.wgPublicList||(null!=t?t.wgPublicList:t))?o:s)===u?o.call(l,{name:"wgPublicList",hash:{},data:i}):o)+"@w3.org"+(null!=(a=n.if.call(l,null!=t?t.subjectPrefix:t,{name:"if",hash:{},fn:e.program(19,i,0),inverse:e.noop,data:i}))?a:"")+"'>"+c(typeof(o=null!=(o=n.wgPublicList||(null!=t?t.wgPublicList:t))?o:s)===u?o.call(l,{name:"wgPublicList",hash:{},data:i}):o)+"@w3.org</a>\n (<a href='mailto:"+c(typeof(o=null!=(o=n.wgPublicList||(null!=t?t.wgPublicList:t))?o:s)===u?o.call(l,{name:"wgPublicList",hash:{},data:i}):o)+"-request@w3.org?subject=subscribe'>subscribe</a>,\n <a\n href='https://lists.w3.org/Archives/Public/"+c(typeof(o=null!=(o=n.wgPublicList||(null!=t?t.wgPublicList:t))?o:s)===u?o.call(l,{name:"wgPublicList",hash:{},data:i}):o)+"/'>archives</a>)"+(null!=(a=n.if.call(l,null!=t?t.subjectPrefix:t,{name:"if",hash:{},fn:e.program(21,i,0),inverse:e.noop,data:i}))?a:"")+'.</p>\n <p>Please consult the complete <a href="https://www.w3.org/TeamSubmission/">list of Team Submissions</a>.</p>\n'},19:function(e,t,n,r,i){var a;return"?subject="+e.escapeExpression("function"==typeof(a=null!=(a=n.subjectPrefixEnc||(null!=t?t.subjectPrefixEnc:t))?a:n.helperMissing)?a.call(null!=t?t:e.nullContext||{},{name:"subjectPrefixEnc",hash:{},data:i}):a)},21:function(e,t,n,r,i){var a;return"\n with <code>"+e.escapeExpression("function"==typeof(a=null!=(a=n.subjectPrefix||(null!=t?t.subjectPrefix:t))?a:n.helperMissing)?a.call(null!=t?t:e.nullContext||{},{name:"subjectPrefix",hash:{},data:i}):a)+"</code> at the start of your email's subject"},23:function(e,t,n,r,i){var a,o=null!=t?t:e.nullContext||{};return(null!=(a=n.unless.call(o,null!=t?t.sotdAfterWGinfo:t,{name:"unless",hash:{},fn:e.program(24,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.unless.call(o,null!=t?t.overrideStatus:t,{name:"unless",hash:{},fn:e.program(26,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(o,null!=t?t.implementationReportURI:t,{name:"if",hash:{},fn:e.program(39,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(o,null!=t?t.sotdAfterWGinfo:t,{name:"if",hash:{},fn:e.program(41,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(o,null!=t?t.notRec:t,{name:"if",hash:{},fn:e.program(43,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(o,null!=t?t.isRec:t,{name:"if",hash:{},fn:e.program(45,i,0),inverse:e.noop,data:i}))?a:"")+" <p"+(null!=(a=n.if.call(o,null!=t?t.isNote:t,{name:"if",hash:{},fn:e.program(47,i,0),inverse:e.noop,data:i}))?a:"")+">\n"+(null!=(a=n.unless.call(o,null!=t?t.isIGNote:t,{name:"unless",hash:{},fn:e.program(49,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(o,null!=t?t.recNotExpected:t,{name:"if",hash:{},fn:e.program(56,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.unless.call(o,null!=t?t.isIGNote:t,{name:"unless",hash:{},fn:e.program(58,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(o,null!=t?t.isIGNote:t,{name:"if",hash:{},fn:e.program(67,i,0),inverse:e.noop,data:i}))?a:"")+" </p>\n"+(null!=(a=n.if.call(o,null!=t?t.isNewProcess:t,{name:"if",hash:{},fn:e.program(69,i,0),inverse:e.program(71,i,0),data:i}))?a:"")+" "+(null!=(a=n.if.call(o,null!=t?t.addPatentNote:t,{name:"if",hash:{},fn:e.program(73,i,0),inverse:e.noop,data:i}))?a:"")+"\n"},24:function(e,t,n,r,i){var a,o;return" "+(null!=(a="function"==typeof(o=null!=(o=n.additionalContent||(null!=t?t.additionalContent:t))?o:n.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"additionalContent",hash:{},data:i}):o)?a:"")+"\n"},26:function(e,t,n,r,i){var a,o,l=null!=t?t:e.nullContext||{},s=n.helperMissing,u="function",c=e.escapeExpression;return" <p>\n This document was published by "+(null!=(a=typeof(o=null!=(o=n.wgHTML||(null!=t?t.wgHTML:t))?o:s)===u?o.call(l,{name:"wgHTML",hash:{},data:i}):o)?a:"")+" as "+c(typeof(o=null!=(o=n.anOrA||(null!=t?t.anOrA:t))?o:s)===u?o.call(l,{name:"anOrA",hash:{},data:i}):o)+" "+c(typeof(o=null!=(o=n.longStatus||(null!=t?t.longStatus:t))?o:s)===u?o.call(l,{name:"longStatus",hash:{},data:i}):o)+".\n"+(null!=(a=n.if.call(l,null!=t?t.notYetRec:t,{name:"if",hash:{},fn:e.program(27,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(l,null!=t?t.wgPublicList:t,{name:"if",hash:{},fn:e.program(29,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(l,null!=t?t.isCR:t,{name:"if",hash:{},fn:e.program(31,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(l,null!=t?t.isPER:t,{name:"if",hash:{},fn:e.program(33,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(l,null!=t?t.isPR:t,{name:"if",hash:{},fn:e.program(35,i,0),inverse:e.program(37,i,0),data:i}))?a:"")+" </p>\n"},27:function(e,t,n,r,i){return" This document is intended to become a W3C Recommendation.\n"},29:function(e,t,n,r,i){var a,o,l=null!=t?t:e.nullContext||{},s=n.helperMissing,u="function",c=e.escapeExpression;return" Comments regarding this document are welcome. Please send them to\n <a href='mailto:"+c(typeof(o=null!=(o=n.wgPublicList||(null!=t?t.wgPublicList:t))?o:s)===u?o.call(l,{name:"wgPublicList",hash:{},data:i}):o)+"@w3.org"+(null!=(a=n.if.call(l,null!=t?t.subjectPrefix:t,{name:"if",hash:{},fn:e.program(19,i,0),inverse:e.noop,data:i}))?a:"")+"'>"+c(typeof(o=null!=(o=n.wgPublicList||(null!=t?t.wgPublicList:t))?o:s)===u?o.call(l,{name:"wgPublicList",hash:{},data:i}):o)+"@w3.org</a>\n (<a href='mailto:"+c(typeof(o=null!=(o=n.wgPublicList||(null!=t?t.wgPublicList:t))?o:s)===u?o.call(l,{name:"wgPublicList",hash:{},data:i}):o)+"-request@w3.org?subject=subscribe'>subscribe</a>,\n <a\n href='https://lists.w3.org/Archives/Public/"+c(typeof(o=null!=(o=n.wgPublicList||(null!=t?t.wgPublicList:t))?o:s)===u?o.call(l,{name:"wgPublicList",hash:{},data:i}):o)+"/'>archives</a>)"+(null!=(a=n.if.call(l,null!=t?t.subjectPrefix:t,{name:"if",hash:{},fn:e.program(21,i,0),inverse:e.noop,data:i}))?a:"")+".\n"},31:function(e,t,n,r,i){var a;return" W3C publishes a Candidate Recommendation to indicate that the document is believed to be\n stable and to encourage implementation by the developer community. This Candidate\n Recommendation is expected to advance to Proposed Recommendation no earlier than\n "+e.escapeExpression("function"==typeof(a=null!=(a=n.humanCREnd||(null!=t?t.humanCREnd:t))?a:n.helperMissing)?a.call(null!=t?t:e.nullContext||{},{name:"humanCREnd",hash:{},data:i}):a)+".\n"},33:function(e,t,n,r,i){var a;return" W3C Advisory Committee Members are invited to\n send formal review comments on this Proposed\n Edited Recommendation to the W3C Team until\n "+e.escapeExpression("function"==typeof(a=null!=(a=n.humanPEREnd||(null!=t?t.humanPEREnd:t))?a:n.helperMissing)?a.call(null!=t?t:e.nullContext||{},{name:"humanPEREnd",hash:{},data:i}):a)+".\n Members of the Advisory Committee will find the\n appropriate review form for this document by\n consulting their list of current\n <a href='https://www.w3.org/2002/09/wbs/myQuestionnaires'>WBS questionnaires</a>.\n"},35:function(e,t,n,r,i){var a,o=null!=t?t:e.nullContext||{},l=n.helperMissing,s="function",u=e.escapeExpression;return" The W3C Membership and other interested parties are invited to review the document and\n send comments to\n <a rel='discussion' href='mailto:"+u(typeof(a=null!=(a=n.wgPublicList||(null!=t?t.wgPublicList:t))?a:l)===s?a.call(o,{name:"wgPublicList",hash:{},data:i}):a)+"@w3.org'>"+u(typeof(a=null!=(a=n.wgPublicList||(null!=t?t.wgPublicList:t))?a:l)===s?a.call(o,{name:"wgPublicList",hash:{},data:i}):a)+"@w3.org</a>\n (<a href='mailto:"+u(typeof(a=null!=(a=n.wgPublicList||(null!=t?t.wgPublicList:t))?a:l)===s?a.call(o,{name:"wgPublicList",hash:{},data:i}):a)+"-request@w3.org?subject=subscribe'>subscribe</a>,\n <a href='https://lists.w3.org/Archives/Public/"+u(typeof(a=null!=(a=n.wgPublicList||(null!=t?t.wgPublicList:t))?a:l)===s?a.call(o,{name:"wgPublicList",hash:{},data:i}):a)+"/'>archives</a>)\n through "+u(typeof(a=null!=(a=n.humanPREnd||(null!=t?t.humanPREnd:t))?a:l)===s?a.call(o,{name:"humanPREnd",hash:{},data:i}):a)+". Advisory Committee Representatives should consult their\n <a href='https://www.w3.org/2002/09/wbs/myQuestionnaires'>WBS questionnaires</a>.\n Note that substantive technical comments were expected during the Candidate Recommendation\n review period that ended "+u(typeof(a=null!=(a=n.humanCREnd||(null!=t?t.humanCREnd:t))?a:l)===s?a.call(o,{name:"humanCREnd",hash:{},data:i}):a)+".\n"},37:function(e,t,n,r,i){return""},39:function(e,t,n,r,i){var a;return" <p>\n Please see the Working Group's <a href='"+e.escapeExpression("function"==typeof(a=null!=(a=n.implementationReportURI||(null!=t?t.implementationReportURI:t))?a:n.helperMissing)?a.call(null!=t?t:e.nullContext||{},{name:"implementationReportURI",hash:{},data:i}):a)+"'>implementation\n report</a>.\n </p>\n"},41:function(e,t,n,r,i){var a,o;return" "+(null!=(a="function"==typeof(o=null!=(o=n.additionalContent||(null!=t?t.additionalContent:t))?o:n.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"additionalContent",hash:{},data:i}):o)?a:"")+"\n"},43:function(e,t,n,r,i){var a,o=null!=t?t:e.nullContext||{},l=n.helperMissing,s=e.escapeExpression;return" <p>\n Publication as "+s("function"==typeof(a=null!=(a=n.anOrA||(null!=t?t.anOrA:t))?a:l)?a.call(o,{name:"anOrA",hash:{},data:i}):a)+" "+s("function"==typeof(a=null!=(a=n.textStatus||(null!=t?t.textStatus:t))?a:l)?a.call(o,{name:"textStatus",hash:{},data:i}):a)+" does not imply endorsement by the W3C\n Membership. This is a draft document and may be updated, replaced or obsoleted by other\n documents at any time. It is inappropriate to cite this document as other than work in\n progress.\n </p>\n"},45:function(e,t,n,r,i){return" <p>\n This document has been reviewed by W3C Members, by software developers, and by other W3C\n groups and interested parties, and is endorsed by the Director as a W3C Recommendation.\n It is a stable document and may be used as reference material or cited from another\n document. W3C's role in making the Recommendation is to draw attention to the\n specification and to promote its widespread deployment. This enhances the functionality\n and interoperability of the Web.\n </p>\n"},47:function(e,t,n,r,i){var a;return' data-deliverer="'+e.escapeExpression("function"==typeof(a=null!=(a=n.wgId||(null!=t?t.wgId:t))?a:n.helperMissing)?a.call(null!=t?t:e.nullContext||{},{name:"wgId",hash:{},data:i}):a)+'"'},49:function(e,t,n,r,i){var a,o=null!=t?t:e.nullContext||{};return" This document was produced by\n"+(null!=(a=n.if.call(o,null!=t?t.multipleWGs:t,{name:"if",hash:{},fn:e.program(50,i,0),inverse:e.program(52,i,0),data:i}))?a:"")+" operating under the\n <a"+(null!=(a=n.if.call(o,null!=t?t.doRDFa:t,{name:"if",hash:{},fn:e.program(54,i,0),inverse:e.noop,data:i}))?a:"")+"\n href='https://www.w3.org/Consortium/Patent-Policy/'>W3C Patent Policy</a>.\n"},50:function(e,t,n,r,i){return" groups\n"},52:function(e,t,n,r,i){return" a group\n "},54:function(e,t,n,r,i){return" id=\"sotd_patent\" property='w3p:patentRules'"},56:function(e,t,n,r,i){return" The group does not expect this document to become a W3C Recommendation.\n"},58:function(e,t,n,r,i){var a,o=null!=t?t:e.nullContext||{};return(null!=(a=n.if.call(o,null!=t?t.multipleWGs:t,{name:"if",hash:{},fn:e.program(59,i,0),inverse:e.program(61,i,0),data:i}))?a:"")+" made in connection with the deliverables of\n"+(null!=(a=n.if.call(o,null!=t?t.multipleWGs:t,{name:"if",hash:{},fn:e.program(63,i,0),inverse:e.program(65,i,0),data:i}))?a:"")+" instructions for disclosing a patent. An individual who has actual knowledge of a patent\n which the individual believes contains\n <a href='https://www.w3.org/Consortium/Patent-Policy/#def-essential'>Essential\n Claim(s)</a> must disclose the information in accordance with\n <a href='https://www.w3.org/Consortium/Patent-Policy/#sec-Disclosure'>section\n 6 of the W3C Patent Policy</a>.\n"},59:function(e,t,n,r,i){var a,o;return" W3C maintains "+(null!=(a="function"==typeof(o=null!=(o=n.wgPatentHTML||(null!=t?t.wgPatentHTML:t))?o:n.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"wgPatentHTML",hash:{},data:i}):o)?a:"")+"\n"},61:function(e,t,n,r,i){var a;return" W3C maintains a <a href='"+e.escapeExpression("function"==typeof(a=null!=(a=n.wgPatentURI||(null!=t?t.wgPatentURI:t))?a:n.helperMissing)?a.call(null!=t?t:e.nullContext||{},{name:"wgPatentURI",hash:{},data:i}):a)+"' rel='disclosure'>public list of any patent\n disclosures</a>\n"},63:function(e,t,n,r,i){return" each group; these pages also include\n"},65:function(e,t,n,r,i){return" the group; that page also includes\n"},67:function(e,t,n,r,i){var a;return" The disclosure obligations of the Participants of this group are described in the\n <a href='"+e.escapeExpression("function"==typeof(a=null!=(a=n.charterDisclosureURI||(null!=t?t.charterDisclosureURI:t))?a:n.helperMissing)?a.call(null!=t?t:e.nullContext||{},{name:"charterDisclosureURI",hash:{},data:i}):a)+"'>charter</a>.\n"},69:function(e,t,n,r,i){return' <p>This document is governed by the <a id="w3c_process_revision"\n href="https://www.w3.org/2018/Process-20180201/">1 February 2018 W3C Process Document</a>.\n </p>\n'},71:function(e,t,n,r,i){return' <p>\n This document is governed by the <a id="w3c_process_revision"\n href="https://www.w3.org/2005/10/Process-20051014/">14 October 2005 W3C Process Document</a>.\n </p>\n'},73:function(e,t,n,r,i){var a,o;return"<p>"+(null!=(a="function"==typeof(o=null!=(o=n.addPatentNote||(null!=t?t.addPatentNote:t))?o:n.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"addPatentNote",hash:{},data:i}):o)?a:"")+"</p>"},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var a,o,l=null!=t?t:e.nullContext||{};return"<h2>"+e.escapeExpression(e.lambda(null!=(a=null!=t?t.l10n:t)?a.sotd:a,t))+"</h2>\n"+(null!=(a=n.if.call(l,null!=t?t.isPreview:t,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(l,null!=t?t.isUnofficial:t,{name:"if",hash:{},fn:e.program(4,i,0),inverse:e.program(6,i,0),data:i}))?a:"")+(null!=(a="function"==typeof(o=null!=(o=n.additionalSections||(null!=t?t.additionalSections:t))?o:n.helperMissing)?o.call(l,{name:"additionalSections",hash:{},data:i}):o)?a:"")+"\n"},useData:!0}),n["permalinks.css"]=t({1:function(e,t,n,r,i){return" section > *:hover > span.permalink { visibility: visible; }\n"},3:function(e,t,n,r,i){return" float: right;\n"},5:function(e,t,n,r,i){return" visibility: hidden;\n"},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var a,o=null!=t?t:e.nullContext||{};return"/* --- PERMALINKS --- */\n"+(null!=(a=n.if.call(o,null!=t?t.permalinkHide:t,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?a:"")+"\n.permalink {\n width: 1px;\n height: 1px;\n overflow: visible;\n font-size: 10pt;\n font-style: normal;\n vertical-align: middle;\n margin-left: 4px;\n"+(null!=(a=n.if.call(o,null!=t?t.permalinkEdge:t,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(o,null!=t?t.permalinkHide:t,{name:"if",hash:{},fn:e.program(5,i,0),inverse:e.noop,data:i}))?a:"")+"}\n\n.permalink a, .permalink a:link, .permalink a:visited, .permalink a:hover, .permalink a:focus, .permalink a:active {\n background:transparent !important;\n text-decoration:none;\n font-weight: bold;\n color:#666 !important;\n}\n\n.permalink abbr {\n border:0;\n}\n"},useData:!0}),n["attribute.html"]=t({1:function(e,t,n,r,i){var a;return e.escapeExpression((n.escapeAttributeName||t&&t.escapeAttributeName||n.helperMissing).call(null!=t?t:e.nullContext||{},null!=(a=null!=t?t.obj:t)?a.name:a,{name:"escapeAttributeName",hash:{},data:i}))},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var a,o,l=e.lambda,s=e.escapeExpression,u=null!=t?t:e.nullContext||{},c=n.helperMissing;return"<span class='idlAttribute' id=\""+s(l(null!=(a=null!=t?t.obj:t)?a.idlId:a,t))+"\" data-idl data-title='"+s(l(null!=(a=null!=t?t.obj:t)?a.name:a,t))+"'>"+s((n.extAttr||t&&t.extAttr||c).call(u,null!=t?t.obj:t,null!=t?t.indent:t,{name:"extAttr",hash:{},data:i}))+s((n.idn||t&&t.idn||c).call(u,null!=t?t.indent:t,{name:"idn",hash:{},data:i}))+s("function"==typeof(o=null!=(o=n.qualifiers||(null!=t?t.qualifiers:t))?o:c)?o.call(u,{name:"qualifiers",hash:{},data:i}):o)+"attribute <span class='idlAttrType'>"+s((n.idlType||t&&t.idlType||c).call(u,null!=t?t.obj:t,{name:"idlType",hash:{},data:i}))+"</span> "+s((n.pads||t&&t.pads||c).call(u,null!=t?t.pad:t,{name:"pads",hash:{},data:i}))+"<span class='idlAttrName'>"+(null!=(a=(n.tryLink||t&&t.tryLink||c).call(u,null!=t?t.obj:t,{name:"tryLink",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?a:"")+"</span>;</span>\n"},useData:!0}),n["callback.html"]=t({1:function(e,t,n,r,i){var a;return e.escapeExpression(e.lambda(null!=(a=null!=t?t.obj:t)?a.name:a,t))},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var a,o,l=e.lambda,s=e.escapeExpression,u=null!=t?t:e.nullContext||{},c=n.helperMissing;return"<span class='idlCallback' id='"+s(l(null!=(a=null!=t?t.obj:t)?a.idlId:a,t))+"' data-idl data-title='"+s(l(null!=(a=null!=t?t.obj:t)?a.name:a,t))+"'>"+s((n.extAttr||t&&t.extAttr||c).call(u,null!=t?t.obj:t,null!=t?t.indent:t,{name:"extAttr",hash:{},data:i}))+s((n.idn||t&&t.idn||c).call(u,null!=t?t.indent:t,{name:"idn",hash:{},data:i}))+"callback <span class='idlCallbackID'>"+(null!=(a=(n.tryLink||t&&t.tryLink||c).call(u,null!=t?t.obj:t,{name:"tryLink",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?a:"")+"</span> = <span class='idlCallbackType'>"+s((n.idlType||t&&t.idlType||c).call(u,null!=t?t.obj:t,{name:"idlType",hash:{},data:i}))+"</span> ("+(null!=(a="function"==typeof(o=null!=(o=n.children||(null!=t?t.children:t))?o:c)?o.call(u,{name:"children",hash:{},data:i}):o)?a:"")+");</span>"},useData:!0}),n["const.html"]=t({1:function(e,t,n,r,i){var a;return e.escapeExpression(e.lambda(null!=(a=null!=t?t.obj:t)?a.name:a,t))},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var a,o,l=e.lambda,s=e.escapeExpression,u=null!=t?t:e.nullContext||{},c=n.helperMissing;return"<span class='idlConst' id=\""+s(l(null!=(a=null!=t?t.obj:t)?a.idlId:a,t))+"\" data-idl data-title='"+s(l(null!=(a=null!=t?t.obj:t)?a.name:a,t))+"'>"+s((n.extAttr||t&&t.extAttr||c).call(u,null!=t?t.obj:t,null!=t?t.indent:t,{name:"extAttr",hash:{},data:i}))+s((n.idn||t&&t.idn||c).call(u,null!=t?t.indent:t,{name:"idn",hash:{},data:i}))+"const <span class='idlConstType'>"+s((n.idlType||t&&t.idlType||c).call(u,null!=t?t.obj:t,{name:"idlType",hash:{},data:i}))+"</span>"+s("function"==typeof(o=null!=(o=n.nullable||(null!=t?t.nullable:t))?o:c)?o.call(u,{name:"nullable",hash:{},data:i}):o)+" "+s((n.pads||t&&t.pads||c).call(u,null!=t?t.pad:t,{name:"pads",hash:{},data:i}))+"<span class='idlConstName'>"+(null!=(a=(n.tryLink||t&&t.tryLink||c).call(u,null!=t?t.obj:t,{name:"tryLink",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?a:"")+"</span> = <span class='idlConstValue'>"+s((n.stringifyIdlConst||t&&t.stringifyIdlConst||c).call(u,null!=(a=null!=t?t.obj:t)?a.value:a,{name:"stringifyIdlConst",hash:{},data:i}))+"</span>;</span>\n"},useData:!0}),n["dict-member.html"]=t({1:function(e,t,n,r,i){var a;return e.escapeExpression(e.lambda(null!=(a=null!=t?t.obj:t)?a.name:a,t))},3:function(e,t,n,r,i){var a;return" = <span class='idlMemberValue'>"+e.escapeExpression((n.stringifyIdlConst||t&&t.stringifyIdlConst||n.helperMissing).call(null!=t?t:e.nullContext||{},null!=(a=null!=t?t.obj:t)?a.default:a,{name:"stringifyIdlConst",hash:{},data:i}))+"</span>"},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var a,o,l=e.lambda,s=e.escapeExpression,u=null!=t?t:e.nullContext||{},c=n.helperMissing;return"<span class='idlMember' id=\""+s(l(null!=(a=null!=t?t.obj:t)?a.idlId:a,t))+"\" data-idl data-title='"+s(l(null!=(a=null!=t?t.obj:t)?a.name:a,t))+"'>"+s((n.extAttr||t&&t.extAttr||c).call(u,null!=t?t.obj:t,null!=t?t.indent:t,{name:"extAttr",hash:{},data:i}))+s((n.idn||t&&t.idn||c).call(u,null!=t?t.indent:t,{name:"idn",hash:{},data:i}))+s("function"==typeof(o=null!=(o=n.qualifiers||(null!=t?t.qualifiers:t))?o:c)?o.call(u,{name:"qualifiers",hash:{},data:i}):o)+"<span class='idlMemberType'>"+s((n.idlType||t&&t.idlType||c).call(u,null!=t?t.obj:t,{name:"idlType",hash:{},data:i}))+"</span> "+s((n.pads||t&&t.pads||c).call(u,null!=t?t.typePad:t,{name:"pads",hash:{},data:i}))+"<span class='idlMemberName'>"+(null!=(a=(n.tryLink||t&&t.tryLink||c).call(u,null!=t?t.obj:t,{name:"tryLink",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?a:"")+"</span>"+(null!=(a=n.if.call(u,null!=(a=null!=t?t.obj:t)?a.default:a,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i}))?a:"")+";</span>\n"},useData:!0}),n["dictionary.html"]=t({1:function(e,t,n,r,i){var a;return e.escapeExpression(e.lambda(null!=(a=null!=t?t.obj:t)?a.name:a,t))},3:function(e,t,n,r,i){var a;return" : <span class='idlSuperclass'><a>"+e.escapeExpression(e.lambda(null!=(a=null!=t?t.obj:t)?a.inheritance:a,t))+"</a></span>"},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var a,o,l=e.lambda,s=e.escapeExpression,u=null!=t?t:e.nullContext||{},c=n.helperMissing;return"<span class='idlDictionary' id='"+s(l(null!=(a=null!=t?t.obj:t)?a.idlId:a,t))+"' data-idl data-title='"+s(l(null!=(a=null!=t?t.obj:t)?a.name:a,t))+"'>"+s((n.extAttr||t&&t.extAttr||c).call(u,null!=t?t.obj:t,null!=t?t.indent:t,{name:"extAttr",hash:{},data:i}))+s((n.idn||t&&t.idn||c).call(u,null!=t?t.indent:t,{name:"idn",hash:{},data:i}))+s("function"==typeof(o=null!=(o=n.partial||(null!=t?t.partial:t))?o:c)?o.call(u,{name:"partial",hash:{},data:i}):o)+"dictionary <span class='idlDictionaryID'>"+(null!=(a=(n.tryLink||t&&t.tryLink||c).call(u,null!=t?t.obj:t,{name:"tryLink",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?a:"")+"</span>"+(null!=(a=n.if.call(u,null!=(a=null!=t?t.obj:t)?a.inheritance:a,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i}))?a:"")+" {\n"+(null!=(a="function"==typeof(o=null!=(o=n.children||(null!=t?t.children:t))?o:c)?o.call(u,{name:"children",hash:{},data:i}):o)?a:"")+"};</span>"},useData:!0}),n["enum-item.html"]=t({1:function(e,t,n,r,i){return","},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var a,o,l=null!=t?t:e.nullContext||{},s=n.helperMissing,u=e.escapeExpression,c="function";return u((n.idn||t&&t.idn||s).call(l,null!=t?t.indent:t,{name:"idn",hash:{},data:i}))+'<a href="#dom-'+u(typeof(o=null!=(o=n.parentID||(null!=t?t.parentID:t))?o:s)===c?o.call(l,{name:"parentID",hash:{},data:i}):o)+"-"+u(typeof(o=null!=(o=n.lname||(null!=t?t.lname:t))?o:s)===c?o.call(l,{name:"lname",hash:{},data:i}):o)+'" class="idlEnumItem">"'+u(typeof(o=null!=(o=n.name||(null!=t?t.name:t))?o:s)===c?o.call(l,{name:"name",hash:{},data:i}):o)+'"</a>'+(null!=(a=n.if.call(l,null!=t?t.needsComma:t,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?a:"")+"\n"},useData:!0}),n["enum.html"]=t({1:function(e,t,n,r,i){var a;return e.escapeExpression(e.lambda(null!=(a=null!=t?t.obj:t)?a.name:a,t))},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var a,o,l=e.lambda,s=e.escapeExpression,u=null!=t?t:e.nullContext||{},c=n.helperMissing;return"<span class='idlEnum' id='"+s(l(null!=(a=null!=t?t.obj:t)?a.idlId:a,t))+"' data-idl data-title='"+s(l(null!=(a=null!=t?t.obj:t)?a.name:a,t))+"'>"+s((n.extAttr||t&&t.extAttr||c).call(u,null!=t?t.obj:t,null!=t?t.indent:t,{name:"extAttr",hash:{},data:i}))+s((n.idn||t&&t.idn||c).call(u,null!=t?t.indent:t,{name:"idn",hash:{},data:i}))+"enum <span class='idlEnumID'>"+(null!=(a=(n.tryLink||t&&t.tryLink||c).call(u,null!=t?t.obj:t,{name:"tryLink",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?a:"")+"</span> {\n"+(null!=(a="function"==typeof(o=null!=(o=n.children||(null!=t?t.children:t))?o:c)?o.call(u,{name:"children",hash:{},data:i}):o)?a:"")+s((n.idn||t&&t.idn||c).call(u,null!=t?t.indent:t,{name:"idn",hash:{},data:i}))+"};</span>"},useData:!0}),n["extended-attribute.html"]=t({1:function(e,t,n,r,i){var a,o,l=null!=t?t:e.nullContext||{},s=n.helperMissing,u=e.escapeExpression;return"<span class='"+u("function"==typeof(o=null!=(o=n.extAttrClassName||(null!=t?t.extAttrClassName:t))?o:s)?o.call(l,{name:"extAttrClassName",hash:{},data:i}):o)+'\'><span class="extAttrName">'+u("function"==typeof(o=null!=(o=n.name||(null!=t?t.name:t))?o:s)?o.call(l,{name:"name",hash:{},data:i}):o)+"</span>"+(null!=(a=n.if.call(l,null!=t?t.rhs:t,{name:"if",hash:{},fn:e.program(2,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=(n.jsIf||t&&t.jsIf||s).call(l,null!=t?t.arguments:t,{name:"jsIf",hash:{},fn:e.program(5,i,0),inverse:e.noop,data:i}))?a:"")+"</span>"},2:function(e,t,n,r,i){var a;return'=<span class="extAttrRhs">'+(null!=(a=(n.extAttrRhs||t&&t.extAttrRhs||n.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?t.rhs:t,{name:"extAttrRhs",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i}))?a:"")+"</span>"},3:function(e,t,n,r,i){return e.escapeExpression(e.lambda(t,t))},5:function(e,t,n,r,i){var a;return"("+(null!=(a=(n.joinNonWhitespace||t&&t.joinNonWhitespace||n.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?t.arguments:t,", ",{name:"joinNonWhitespace",hash:{},fn:e.program(6,i,0),inverse:e.noop,data:i}))?a:"")+")"},6:function(e,t,n,r,i){return e.escapeExpression((n.param||t&&t.param||n.helperMissing).call(null!=t?t:e.nullContext||{},t,{name:"param",hash:{},data:i}))},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var a,o,l=null!=t?t:e.nullContext||{},s=n.helperMissing,u=e.escapeExpression;return u((n.idn||t&&t.idn||s).call(l,null!=t?t.indent:t,{name:"idn",hash:{},data:i}))+"["+(null!=(a=(n.join||t&&t.join||s).call(l,null!=t?t.extAttrs:t,null!=t?t.sep:t,{name:"join",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?a:"")+"]"+u("function"==typeof(o=null!=(o=n.end||(null!=t?t.end:t))?o:s)?o.call(l,{name:"end",hash:{},data:i}):o)},useData:!0}),n["field.html"]=t({1:function(e,t,n,r,i){var a;return e.escapeExpression(e.lambda(null!=(a=null!=t?t.obj:t)?a.name:a,t))},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var a,o=e.lambda,l=e.escapeExpression,s=null!=t?t:e.nullContext||{},u=n.helperMissing;return"<span class='idlField' id=\""+l(o(null!=(a=null!=t?t.obj:t)?a.idlId:a,t))+"\" data-idl data-title='"+l(o(null!=(a=null!=t?t.obj:t)?a.name:a,t))+"'>"+l((n.extAttr||t&&t.extAttr||u).call(s,null!=t?t.obj:t,null!=t?t.indent:t,{name:"extAttr",hash:{},data:i}))+l((n.idn||t&&t.idn||u).call(s,null!=t?t.indent:t,{name:"idn",hash:{},data:i}))+"<span class='idlFieldType'>"+l((n.idlType||t&&t.idlType||u).call(s,null!=t?t.obj:t,{name:"idlType",hash:{},data:i}))+"</span> "+l((n.pads||t&&t.pads||u).call(s,null!=t?t.pad:t,{name:"pads",hash:{},data:i}))+"<span class='idlFieldName'>"+(null!=(a=(n.tryLink||t&&t.tryLink||u).call(s,null!=t?t.obj:t,{name:"tryLink",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?a:"")+"</span>;</span>\n"},useData:!0}),n["implements.html"]=t({compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var a,o=null!=t?t:e.nullContext||{},l=n.helperMissing,s=e.escapeExpression,u=e.lambda;return"<span class='idlImplements'>"+s((n.extAttr||t&&t.extAttr||l).call(o,null!=t?t.obj:t,null!=t?t.indent:t,{name:"extAttr",hash:{},data:i}))+s((n.idn||t&&t.idn||l).call(o,null!=t?t.indent:t,{name:"idn",hash:{},data:i}))+"<a>"+s(u(null!=(a=null!=t?t.obj:t)?a.target:a,t))+"</a> implements <a>"+s(u(null!=(a=null!=t?t.obj:t)?a.implements:a,t))+"</a>;</span>"},useData:!0}),n["includes.html"]=t({compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var a,o=null!=t?t:e.nullContext||{},l=n.helperMissing,s=e.escapeExpression,u=e.lambda;return"<span class='idlIncludes'>"+s((n.extAttr||t&&t.extAttr||l).call(o,null!=t?t.obj:t,null!=t?t.indent:t,{name:"extAttr",hash:{},data:i}))+s((n.idn||t&&t.idn||l).call(o,null!=t?t.indent:t,{name:"idn",hash:{},data:i}))+"<a>"+s(u(null!=(a=null!=t?t.obj:t)?a.target:a,t))+"</a> includes <a>"+s(u(null!=(a=null!=t?t.obj:t)?a.includes:a,t))+"</a>;</span>"},useData:!0}),n["interface.html"]=t({1:function(e,t,n,r,i){var a;return e.escapeExpression(e.lambda(null!=(a=null!=t?t.obj:t)?a.name:a,t))},3:function(e,t,n,r,i){var a;return" : <span class='idlSuperclass'><a>"+e.escapeExpression(e.lambda(null!=(a=null!=t?t.obj:t)?a.inheritance:a,t))+"</a></span>"},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var a,o,l=e.lambda,s=e.escapeExpression,u=null!=t?t:e.nullContext||{},c=n.helperMissing,d="function";return"<span class='idlInterface' id='"+s(l(null!=(a=null!=t?t.obj:t)?a.idlId:a,t))+"' data-idl data-title='"+s(l(null!=(a=null!=t?t.obj:t)?a.name:a,t))+"'>"+s((n.extAttr||t&&t.extAttr||c).call(u,null!=t?t.obj:t,null!=t?t.indent:t,{name:"extAttr",hash:{},data:i}))+s((n.idn||t&&t.idn||c).call(u,null!=t?t.indent:t,{name:"idn",hash:{},data:i}))+s(typeof(o=null!=(o=n.partial||(null!=t?t.partial:t))?o:c)===d?o.call(u,{name:"partial",hash:{},data:i}):o)+s(typeof(o=null!=(o=n.callback||(null!=t?t.callback:t))?o:c)===d?o.call(u,{name:"callback",hash:{},data:i}):o)+"interface "+s(typeof(o=null!=(o=n.mixin||(null!=t?t.mixin:t))?o:c)===d?o.call(u,{name:"mixin",hash:{},data:i}):o)+"<span class='idlInterfaceID'>"+(null!=(a=(n.tryLink||t&&t.tryLink||c).call(u,null!=t?t.obj:t,{name:"tryLink",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?a:"")+"</span>"+(null!=(a=n.if.call(u,null!=(a=null!=t?t.obj:t)?a.inheritance:a,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i}))?a:"")+" {\n"+(null!=(a=typeof(o=null!=(o=n.children||(null!=t?t.children:t))?o:c)===d?o.call(u,{name:"children",hash:{},data:i}):o)?a:"")+s((n.idn||t&&t.idn||c).call(u,null!=t?t.indent:t,{name:"idn",hash:{},data:i}))+"};</span>"},useData:!0}),n["iterable.html"]=t({1:function(e,t,n,r,i){return"iterable"},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var a,o,l=e.escapeExpression,s=null!=t?t:e.nullContext||{},u=n.helperMissing;return"<span class='idlIterable' id=\""+l(e.lambda(null!=(a=null!=t?t.obj:t)?a.idlId:a,t))+"\" data-idl data-title='iterable'>"+l((n.extAttr||t&&t.extAttr||u).call(s,null!=t?t.obj:t,null!=t?t.indent:t,{name:"extAttr",hash:{},data:i}))+l((n.idn||t&&t.idn||u).call(s,null!=t?t.indent:t,{name:"idn",hash:{},data:i}))+l("function"==typeof(o=null!=(o=n.qualifiers||(null!=t?t.qualifiers:t))?o:u)?o.call(s,{name:"qualifiers",hash:{},data:i}):o)+(null!=(a=(n.tryLink||t&&t.tryLink||u).call(s,null!=t?t.obj:t,{name:"tryLink",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?a:"")+"<"+l((n.idlType||t&&t.idlType||u).call(s,null!=t?t.obj:t,{name:"idlType",hash:{},data:i}))+">;</span>\n"},useData:!0}),n["line-comment.html"]=t({compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var a,o=null!=t?t:e.nullContext||{},l=n.helperMissing,s=e.escapeExpression;return"<span class='idlSectionComment'>"+s((n.idn||t&&t.idn||l).call(o,null!=t?t.indent:t,{name:"idn",hash:{},data:i}))+"//"+s("function"==typeof(a=null!=(a=n.comment||(null!=t?t.comment:t))?a:l)?a.call(o,{name:"comment",hash:{},data:i}):a)+"</span>\n"},useData:!0}),n["maplike.html"]=t({1:function(e,t,n,r,i){return"maplike"},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var a,o,l=e.escapeExpression,s=null!=t?t:e.nullContext||{},u=n.helperMissing;return"<span class='idlMaplike' id=\""+l(e.lambda(null!=(a=null!=t?t.obj:t)?a.idlId:a,t))+"\" data-idl data-title='maplike'>"+l((n.extAttr||t&&t.extAttr||u).call(s,null!=t?t.obj:t,null!=t?t.indent:t,{name:"extAttr",hash:{},data:i}))+l((n.idn||t&&t.idn||u).call(s,null!=t?t.indent:t,{name:"idn",hash:{},data:i}))+l("function"==typeof(o=null!=(o=n.qualifiers||(null!=t?t.qualifiers:t))?o:u)?o.call(s,{name:"qualifiers",hash:{},data:i}):o)+(null!=(a=(n.tryLink||t&&t.tryLink||u).call(s,null!=t?t.obj:t,{name:"tryLink",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?a:"")+"<"+l((n.idlType||t&&t.idlType||u).call(s,null!=t?t.obj:t,{name:"idlType",hash:{},data:i}))+">;</span>\n"},useData:!0}),n["method.html"]=t({1:function(e,t,n,r,i){var a;return e.escapeExpression(e.lambda(null!=(a=null!=t?t.obj:t)?a.name:a,t))},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var a,o,l=e.lambda,s=e.escapeExpression,u=null!=t?t:e.nullContext||{},c=n.helperMissing,d="function";return"<span class='idlMethod' id=\""+s(l(null!=(a=null!=t?t.obj:t)?a.idlId:a,t))+"\" data-idl data-title='"+s(l(null!=(a=null!=t?t.obj:t)?a.name:a,t))+"'>"+s((n.idn||t&&t.idn||c).call(u,null!=t?t.indent:t,{name:"idn",hash:{},data:i}))+s((n.extAttrInline||t&&t.extAttrInline||c).call(u,null!=t?t.obj:t,null!=t?t.indent:t,{name:"extAttrInline",hash:{},data:i}))+s(typeof(o=null!=(o=n.static||(null!=t?t.static:t))?o:c)===d?o.call(u,{name:"static",hash:{},data:i}):o)+s(typeof(o=null!=(o=n.special||(null!=t?t.special:t))?o:c)===d?o.call(u,{name:"special",hash:{},data:i}):o)+"<span class='idlMethType'>"+s((n.idlType||t&&t.idlType||c).call(u,null!=t?t.obj:t,{name:"idlType",hash:{},data:i}))+"</span> "+s((n.pads||t&&t.pads||c).call(u,null!=t?t.pad:t,{name:"pads",hash:{},data:i}))+"<span class='idlMethName'>"+(null!=(a=(n.tryLink||t&&t.tryLink||c).call(u,null!=t?t.obj:t,{name:"tryLink",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?a:"")+"</span>("+(null!=(a=typeof(o=null!=(o=n.children||(null!=t?t.children:t))?o:c)===d?o.call(u,{name:"children",hash:{},data:i}):o)?a:"")+");</span>\n"},useData:!0}),n["multiline-comment.html"]=t({1:function(e,t,n,r,i,a,o){var l=e.escapeExpression;return l((n.idn||t&&t.idn||n.helperMissing).call(null!=t?t:e.nullContext||{},null!=o[1]?o[1].indent:o[1],{name:"idn",hash:{},data:i}))+l(e.lambda(t,t))+"\n"},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i,a,o){var l,s,u=null!=t?t:e.nullContext||{},c=n.helperMissing,d=e.escapeExpression;return"<span class='idlSectionComment'>"+d((n.idn||t&&t.idn||c).call(u,null!=t?t.indent:t,{name:"idn",hash:{},data:i}))+"/*"+d("function"==typeof(s=null!=(s=n.firstLine||(null!=t?t.firstLine:t))?s:c)?s.call(u,{name:"firstLine",hash:{},data:i}):s)+"\n"+(null!=(l=n.each.call(u,null!=t?t.innerLine:t,{name:"each",hash:{},fn:e.program(1,i,0,a,o),inverse:e.noop,data:i}))?l:"")+d((n.idn||t&&t.idn||c).call(u,null!=t?t.indent:t,{name:"idn",hash:{},data:i}))+d("function"==typeof(s=null!=(s=n.lastLine||(null!=t?t.lastLine:t))?s:c)?s.call(u,{name:"lastLine",hash:{},data:i}):s)+"*/</span>\n"},useData:!0,useDepths:!0}),n["param.html"]=t({1:function(e,t,n,r,i){var a;return" = <span class='idlDefaultValue'>"+e.escapeExpression((n.stringifyIdlConst||t&&t.stringifyIdlConst||n.helperMissing).call(null!=t?t:e.nullContext||{},null!=(a=null!=t?t.obj:t)?a.default:a,{name:"stringifyIdlConst",hash:{},data:i}))+"</span>"},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var a,o,l=null!=t?t:e.nullContext||{},s=n.helperMissing,u=e.escapeExpression;return"<span class='idlParam'>"+u((n.extAttrInline||t&&t.extAttrInline||s).call(l,null!=t?t.obj:t,{name:"extAttrInline",hash:{},data:i}))+u("function"==typeof(o=null!=(o=n.optional||(null!=t?t.optional:t))?o:s)?o.call(l,{name:"optional",hash:{},data:i}):o)+"<span class='idlParamType'>"+u((n.idlType||t&&t.idlType||s).call(l,null!=t?t.obj:t,{name:"idlType",hash:{},data:i}))+u("function"==typeof(o=null!=(o=n.variadic||(null!=t?t.variadic:t))?o:s)?o.call(l,{name:"variadic",hash:{},data:i}):o)+"</span> <span class='idlParamName'>"+u(e.lambda(null!=(a=null!=t?t.obj:t)?a.name:a,t))+"</span>"+(null!=(a=n.if.call(l,null!=(a=null!=t?t.obj:t)?a.default:a,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?a:"")+"</span>"},useData:!0}),n["typedef.html"]=t({1:function(e,t,n,r,i){var a;return e.escapeExpression(e.lambda(null!=(a=null!=t?t.obj:t)?a.name:a,t))},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var a,o=e.lambda,l=e.escapeExpression,s=null!=t?t:e.nullContext||{},u=n.helperMissing;return"<span class='idlTypedef' id='"+l(o(null!=(a=null!=t?t.obj:t)?a.idlId:a,t))+"' data-idl data-title='"+l(o(null!=(a=null!=t?t.obj:t)?a.name:a,t))+"'>typedef <span class='idlTypedefType'>"+l((n.idlType||t&&t.idlType||u).call(s,null!=t?t.obj:t,{name:"idlType",hash:{},data:i}))+"</span> <span class='idlTypedefID'>"+(null!=(a=(n.tryLink||t&&t.tryLink||u).call(s,null!=t?t.obj:t,{name:"tryLink",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?a:"")+"</span>;</span>"},useData:!0}),n}),define("w3c/headers",["exports","core/utils","handlebars.runtime","core/pubsubhub","templates"],function(e,t,n,r,i){Object.defineProperty(e,"__esModule",{value:!0}),e.name=void 0,e.run=function(e,n,i){e.logos||(e.logos=[]);void 0===e.doRDFa&&(e.doRDFa=!0);e.license||(e.license="w3c-software-doc");if(e.isCCBY="cc-by"===e.license,e.isW3CSoftAndDocLicense="w3c-software-doc"===e.license,["cc-by","w3c"].includes(e.license)){let t=`You cannot use license "\`${e.license}\`" with W3C Specs. `;t+='Please set `respecConfig.license: "w3c-software-doc"` instead.',(0,r.pub)("error",t)}e.licenseInfo=x[e.license],e.isCGBG=y.includes(e.specStatus),e.isCGFinal=e.isCGBG&&/G-FINAL$/.test(e.specStatus),e.isBasic="base"===e.specStatus,e.isRegular=!e.isCGBG&&!e.isBasic,e.specStatus||(0,r.pub)("error","Missing required configuration: `specStatus`");e.isRegular&&!e.shortName&&(0,r.pub)("error","Missing required configuration: `shortName`");e.title=n.title||"No Title",e.subtitle||(e.subtitle="");if(e.publishDate=E(e,"publishDate",n.lastModified),e.publishYear=e.publishDate.getUTCFullYear(),e.publishHumanDate=d.format(e.publishDate),e.isNoTrack=v.includes(e.specStatus),e.isRecTrack=!e.noRecTrack&&b.includes(e.specStatus),e.isMemberSubmission="Member-SUBM"===e.specStatus,e.isMemberSubmission){const t={alt:"W3C Member Submission",href:"https://www.w3.org/Submission/",src:"https://www.w3.org/Icons/member_subm-v.svg",width:"211"};e.logos.push(s({},C,t))}if(e.isTeamSubmission="Team-SUBM"===e.specStatus,e.isTeamSubmission){const t={alt:"W3C Team Submission",href:"https://www.w3.org/TeamSubmission/",src:"https://www.w3.org/Icons/team_subm-v.svg",width:"211"};e.logos.push(s({},C,t))}e.isSubmission=e.isMemberSubmission||e.isTeamSubmission,e.anOrA=w.includes(e.specStatus)?"an":"a",e.isTagFinding="finding"===e.specStatus||"draft-finding"===e.specStatus,e.edDraftURI||(e.edDraftURI="","ED"===e.specStatus&&(0,r.pub)("warn","Editor's Drafts should set edDraftURI."));e.maturity=f[e.specStatus]?f[e.specStatus]:e.specStatus;var a="TR";"Member-SUBM"===e.specStatus?a="Submission":"Team-SUBM"===e.specStatus&&(a="TeamSubmission");e.isRegular&&(e.thisVersion="https://www.w3.org/"+a+"/"+e.publishDate.getUTCFullYear()+"/"+e.maturity+"-"+e.shortName+"-"+(0,t.concatDate)(e.publishDate)+"/");"ED"===e.specStatus&&(e.thisVersion=e.edDraftURI);e.isRegular&&(e.latestVersion="https://www.w3.org/"+a+"/"+e.shortName+"/");e.isTagFinding&&(e.latestVersion="https://www.w3.org/2001/tag/doc/"+e.shortName,e.thisVersion=e.latestVersion+"-"+t.ISODate.format(e.publishDate));if(e.previousPublishDate){e.previousMaturity||e.isTagFinding||(0,r.pub)("error","`previousPublishDate` is set, but not `previousMaturity`."),e.previousPublishDate=E(e,"previousPublishDate");var l=f[e.previousMaturity]?f[e.previousMaturity]:e.previousMaturity;e.isTagFinding?e.prevVersion=e.latestVersion+"-"+t.ISODate.format(e.previousPublishDate):e.isCGBG?e.prevVersion=e.prevVersion||"":e.isBasic?e.prevVersion="":e.prevVersion="https://www.w3.org/TR/"+e.previousPublishDate.getUTCFullYear()+"/"+l+"-"+e.shortName+"-"+(0,t.concatDate)(e.previousPublishDate)+"/"}else/NOTE$/.test(e.specStatus)||"FPWD"===e.specStatus||"FPLC"===e.specStatus||"ED"===e.specStatus||e.noRecTrack||e.isNoTrack||e.isSubmission||(0,r.pub)("error","Document on track but no previous version: Add `previousMaturity`, and `previousPublishDate` to ReSpec's config."),e.prevVersion||(e.prevVersion="");e.prevRecShortname&&!e.prevRecURI&&(e.prevRecURI="https://www.w3.org/TR/"+e.prevRecShortname);e.editors&&0!==e.editors.length||(0,r.pub)("error","At least one editor is required");var p,k=function(e){e.name||(0,r.pub)("error","All authors and editors must have a name.")};e.editors&&e.editors.forEach(k);e.authors&&e.authors.forEach(k);e.multipleEditors=e.editors&&e.editors.length>1,e.multipleAuthors=e.authors&&e.authors.length>1,$.each(e.alternateFormats||[],function(e,t){t.uri&&t.label||(0,r.pub)("error","All alternate formats must have a uri and a label.")}),e.multipleAlternates=e.alternateFormats&&e.alternateFormats.length>1,e.alternatesHTML=e.alternateFormats&&(0,t.joinAnd)(e.alternateFormats,function(e){var t=e.hasOwnProperty("lang")&&e.lang?" hreflang='"+e.lang+"'":"";return t+=e.hasOwnProperty("type")&&e.type?" type='"+e.type+"'":"","<a rel='alternate' href='"+e.uri+"'"+t+">"+e.label+"</a>"}),e.bugTracker&&(e.bugTracker.new&&e.bugTracker.open?e.bugTrackerHTML="<a href='"+e.bugTracker.new+"'>"+e.l10n.file_a_bug+"</a> "+e.l10n.open_parens+"<a href='"+e.bugTracker.open+"'>"+e.l10n.open_bugs+"</a>"+e.l10n.close_parens:e.bugTracker.open?e.bugTrackerHTML="<a href='"+e.bugTracker.open+"'>open bugs</a>":e.bugTracker.new&&(e.bugTrackerHTML="<a href='"+e.bugTracker.new+"'>file a bug</a>"));e.copyrightStart&&e.copyrightStart==e.publishYear&&(e.copyrightStart="");for(var T in m)g[T]||(g[T]=m[T]);e.longStatus=g[e.specStatus],e.textStatus=m[e.specStatus],h[e.specStatus]&&(e.rdfStatus=h[e.specStatus]);e.showThisVersion=!e.isNoTrack||e.isTagFinding,e.showPreviousVersion="FPWD"!==e.specStatus&&"FPLC"!==e.specStatus&&"ED"!==e.specStatus&&!e.isNoTrack&&!e.isSubmission,/NOTE$/.test(e.specStatus)&&!e.prevVersion&&(e.showPreviousVersion=!1);e.isTagFinding&&(e.showPreviousVersion=!!e.previousPublishDate);e.notYetRec=e.isRecTrack&&"REC"!==e.specStatus,e.isRec=e.isRecTrack&&"REC"===e.specStatus,e.isRec&&!e.errata&&(0,r.pub)("error","Recommendations must have an errata link.");e.notRec="REC"!==e.specStatus,e.isUnofficial="unofficial"===e.specStatus,e.prependW3C=!e.isUnofficial,e.isED="ED"===e.specStatus,e.isCR="CR"===e.specStatus,e.isPR="PR"===e.specStatus,e.isPER="PER"===e.specStatus,e.isMO="MO"===e.specStatus,e.isNote=["FPWD-NOTE","WG-NOTE"].includes(e.specStatus),e.isIGNote="IG-NOTE"===e.specStatus,e.dashDate=t.ISODate.format(e.publishDate),e.publishISODate=e.publishDate.toISOString(),e.shortISODate=t.ISODate.format(e.publishDate),e.processVersion=e.processVersion||"2017",Object.defineProperty(e,"wgId",{get(){if(!this.hasOwnProperty("wgPatentURI"))return"";const e=this.wgPatentURI.split("/");return e[e.findIndex(e=>"pp-impl"===e)+1]||""}}),("2014"==e.processVersion||"2015"==e.processVersion)&&((0,r.pub)("warn","Process "+e.processVersion+" has been superceded by Process 2017."),e.processVersion="2017");if(e.isNewProcess="2017"==e.processVersion,e.doRDFa){e.rdfStatus?$("html").attr("typeof","bibo:Document "+e.rdfStatus):$("html").attr("typeof","bibo:Document ");$("html").attr("prefix","bibo: http://purl.org/ontology/bibo/ w3p: http://www.w3.org/2001/02pd/rec54#"),$("html>head").prepend($("<meta lang='' property='dc:language' content='en'>"))}p=e.isCGBG?u(e):c(e);$("body",n).prepend($(p)).addClass("h-entry");var S=document.body.querySelector("#sotd")||document.createElement("section");!e.isCGBG&&e.isNoTrack&&!e.isTagFinding||S.id||(0,r.pub)("error","A custom SotD paragraph is required for your type of document.");S.id=S.id||"stod",S.classList.add("introductory");var L=[e.wg,e.wgURI,e.wgPatentURI];L.some(e=>Array.isArray(e))&&!L.every(e=>Array.isArray(e))&&(0,r.pub)("error","If one of '`wg`', '`wgURI`', or '`wgPatentURI`' is an array, they all have to be.");if(Array.isArray(e.wg)){e.multipleWGs=e.wg.length>1,e.wgHTML=(0,t.joinAnd)(e.wg,function(t,n){return"the <a href='"+e.wgURI[n]+"'>"+t+"</a>"});for(var D=[],A=0,R=e.wg.length;A<R;A++)D.push("a <a href='"+e.wgPatentURI[A]+"' rel='disclosure'>public list of any patent disclosures ("+e.wg[A]+")</a>");e.wgPatentHTML=(0,t.joinAnd)(D)}else e.multipleWGs=!1,e.wgHTML="the <a href='"+e.wgURI+"'>"+e.wg+"</a>";"PR"!==e.specStatus||e.crEnd||(0,r.pub)("error",'`specStatus` is "PR" but no `crEnd` is specified (needed to indicate end of previous CR).');"CR"!==e.specStatus||e.crEnd||(0,r.pub)("error",'`specStatus` is "CR", but no `crEnd` is specified in Respec config.');e.crEnd=E(e,"crEnd"),e.humanCREnd=d.format(e.crEnd),"PR"!==e.specStatus||e.prEnd||(0,r.pub)("error",'`specStatus` is "PR" but no `prEnd` is specified.');e.prEnd=E(e,"prEnd"),e.humanPREnd=d.format(e.prEnd),"PER"!==e.specStatus||e.perEnd||(0,r.pub)("error","Status is PER but no perEnd is specified");e.perEnd=E(e,"perEnd"),e.humanPEREnd=d.format(e.perEnd),e.recNotExpected=!!e.recNotExpected||!e.isRecTrack&&"WD"==e.maturity&&"FPWD-NOTE"!==e.specStatus,e.isIGNote&&!e.charterDisclosureURI&&(0,r.pub)("error","IG-NOTEs must link to charter's disclosure section using `charterDisclosureURI`.");""!==e.subjectPrefix&&(e.subjectPrefixEnc=encodeURIComponent(e.subjectPrefix));S.innerHTML=function(e,t){const n=t.cloneNode(!0),r=document.createDocumentFragment(),i=document.createElement("temp");for(;n.hasChildNodes()&&(n.firstChild.nodeType!==Node.ELEMENT_NODE||"section"!==n.firstChild.localName);)r.appendChild(n.firstChild);return i.appendChild(r),e.additionalContent=i.innerHTML,e.additionalSections=n.innerHTML,o.default[e.isCGBG?"cgbg-sotd.html":"sotd.html"](e)}(e,S),!e.implementationReportURI&&(e.isCR||e.isPR||e.isRec)&&(0,r.pub)("error","CR, PR, and REC documents need to have an `implementationReportURI` defined.");e.isTagFinding&&!e.additionalContent&&(0,r.pub)("warn","ReSpec does not support automated SotD generation for TAG findings, please add the prerequisite content in the 'sotd' section");(0,r.pub)("amend-user-config",{publishISODate:e.publishISODate,generatedSubtitle:`${e.longStatus} ${e.publishHumanDate}`}),i()};var a=l(n),o=l(i);function l(e){return e&&e.__esModule?e:{default:e}}var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};e.name="w3c/headers";const u=o.default["cgbg-headers.html"],c=o.default["headers.html"],d=new Intl.DateTimeFormat(["en-AU"],{timeZone:"UTC",year:"numeric",month:"long",day:"2-digit"});function p(e){const t=document.createElement("a");if(!e.alt){const e="Found spec logo without an `alt` attribute. See dev console.";t.classList.add("respec-offending-element"),(0,r.pub)("warn",e),console.warn("warn",e,t)}return t.href=e.href?e.href:"",t.classList.add("logo"),hyperHTML.bind(t)`
<img
id="${e.id}"
alt="${e.alt}"
width="${e.width}"
height="${e.height}">
`,t.querySelector("img").src=e.src,t}a.default.registerHelper("showPeople",function(e,t=[]){var n="",r="",i="",o="",l="",s="",u="",c="";this.doRDFa&&("Editor"===e?(n=" property='bibo:editor' resource='"+(u="_:editor0")+"'",r=" property='rdf:first' typeof='foaf:Person'"):"Author"===e&&(r=" property='dc:contributor' typeof='foaf:Person'"),o=" property='foaf:name'",i=" property='foaf:mbox'",l=" property='foaf:workplaceHomepage'",s=" property='foaf:homepage'");for(var d="",p=0,f=t.length;p<f;p++){var h=t[p];if(h.w3cid&&(c=" data-editor-id='"+parseInt(h.w3cid,10)+"'"),this.doRDFa?(d+="<dd class='p-author h-card vcard' "+n+c+"><span"+r+">","Editor"===e&&(n=" resource='"+(u=p<f-1?"_:editor"+(p+1):"rdf:nil")+"'")):d+="<dd class='p-author h-card vcard'"+c+">",h.url?this.doRDFa?d+="<meta"+o+" content='"+h.name+"'><a class='u-url url p-name fn' "+s+" href='"+h.url+"'>"+h.name+"</a>":d+="<a class='u-url url p-name fn' href='"+h.url+"'>"+h.name+"</a>":d+="<span"+o+" class='p-name fn'>"+h.name+"</span>",h.company&&(d+=", ",h.companyURL?d+="<a"+l+" class='p-org org h-org h-card' href='"+h.companyURL+"'>"+h.company+"</a>":d+=h.company),h.mailto&&(d+=", <span class='ed_mailto'><a class='u-email email' "+i+" href='mailto:"+h.mailto+"'>"+h.mailto+"</a></span>"),h.note&&(d+=" ("+h.note+")"),h.extras){var m=this;d+=", "+h.extras.filter(function(e){return e.name&&e.name.trim()}).map(function(e){var t=document.createElement("span"),n=t;if(e.class&&(t.className=e.class),e.href){var r=document.createElement("a");t.appendChild(r),r.href=e.href,n=r,m.doRDFa&&r.setAttribute("property","rdfs:seeAlso")}return n.innerHTML=e.name,t.outerHTML}).join(", ")}this.doRDFa&&(d+="</span>\n","Editor"===e&&(d+="<span property='rdf:rest' resource='"+u+"'></span>\n")),d+="</dd>\n"}return new a.default.SafeString(d)}),a.default.registerHelper("showLogos",e=>{const t=document.createElement("p");return hyperHTML.bind(t)`${e.map(p)}`,t.outerHTML});const f={FPWD:"WD",LC:"WD",FPLC:"WD","FPWD-NOTE":"NOTE","WD-NOTE":"WD","LC-NOTE":"LC","IG-NOTE":"NOTE","WG-NOTE":"NOTE"},h={NOTE:"w3p:NOTE",WD:"w3p:WD",LC:"w3p:LastCall",CR:"w3p:CR",PR:"w3p:PR",REC:"w3p:REC",PER:"w3p:PER",RSCND:"w3p:RSCND"},m={NOTE:"Working Group Note","WG-NOTE":"Working Group Note","CG-NOTE":"Co-ordination Group Note","IG-NOTE":"Interest Group Note","Member-SUBM":"Member Submission","Team-SUBM":"Team Submission",MO:"Member-Only Document",ED:"Editor's Draft",FPWD:"First Public Working Draft",WD:"Working Draft","FPWD-NOTE":"Working Group Note","WD-NOTE":"Working Draft","LC-NOTE":"Working Draft",FPLC:"First Public and Last Call Working Draft",LC:"Last Call Working Draft",CR:"Candidate Recommendation",PR:"Proposed Recommendation",PER:"Proposed Edited Recommendation",REC:"Recommendation",RSCND:"Rescinded Recommendation",unofficial:"Unofficial Draft",base:"Document",finding:"TAG Finding","draft-finding":"Draft TAG Finding","CG-DRAFT":"Draft Community Group Report","CG-FINAL":"Final Community Group Report","BG-DRAFT":"Draft Business Group Report","BG-FINAL":"Final Business Group Report"},g={"FPWD-NOTE":"First Public Working Group Note","LC-NOTE":"Last Call Working Draft"},b=["FPWD","WD","FPLC","LC","CR","PR","PER","REC"],v=["MO","unofficial","base","finding","draft-finding","CG-DRAFT","CG-FINAL","BG-DRAFT","BG-FINAL"],y=["CG-DRAFT","CG-FINAL","BG-DRAFT","BG-FINAL"],w=["ED","IG-NOTE"],x={cc0:{name:"Creative Commons 0 Public Domain Dedication",short:"CC0",url:"https://creativecommons.org/publicdomain/zero/1.0/"},"w3c-software":{name:"W3C Software Notice and License",short:"W3C Software",url:"https://www.w3.org/Consortium/Legal/2002/copyright-software-20021231"},"w3c-software-doc":{name:"W3C Software and Document Notice and License",short:"W3C Software and Document",url:"https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document"},"cc-by":{name:"Creative Commons Attribution 4.0 International Public License",short:"CC-BY",url:"https://creativecommons.org/licenses/by/4.0/legalcode"}},C=Object.freeze({id:"",alt:"",href:"",src:"",height:"48",width:"72"});function E(e,n,i=new Date){const a=e[n]?new Date(e[n]):new Date(i);if(Number.isFinite(a.valueOf())){const e=t.ISODate.format(a);return new Date(e)}const o=`[\`${n}\`](https://github.com/w3c/respec/wiki/${n}) `+`is not a valid date: "${e[n]}". Expected format 'YYYY-MM-DD'.`;return(0,r.pub)("error",o),new Date(t.ISODate.format(new Date))}}),define("w3c/abstract",["exports","core/pubsubhub","core/l10n"],function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.name=void 0,e.run=async function(e){const r=document.getElementById("abstract");if(!r)return void(0,t.pub)("error",'Document must have one element with `id="abstract"');r.classList.add("introductory");let i=document.querySelector("#abstract>h2");if(i)return;(i=document.createElement("h2")).innerText=n.l10n[n.lang].abstract,r.insertAdjacentElement("afterbegin",i)};e.name="w3c/abstract"}),define("w3c/conformance",["exports","templates","core/pubsubhub"],function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.name=void 0,e.run=function(e,t,r){var i=$("#conformance");i.length&&i.prepend(a(e));(0,n.pub)("end","w3c/conformance"),r()};var r,i=(r=t)&&r.__esModule?r:{default:r};e.name="w3c/conformance";const a=i.default["conformance.html"]}),define("core/data-transform",["exports","core/utils"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.name=void 0,e.run=function(e,n,r){Array.from(n.querySelectorAll("[data-transform]")).forEach(e=>{e.innerHTML=(0,t.runTransforms)(e.innerHTML,e.dataset.transform),e.removeAttribute("data-transform")}),r()};e.name="core/data-transform"}),define("core/inlines",["exports","core/pubsubhub"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.name=void 0,e.run=function(e,n,r){n.normalize(),e.normativeReferences||(e.normativeReferences=new Set);e.informativeReferences||(e.informativeReferences=new Set);e.respecRFC2119||(e.respecRFC2119={});var i={};$("abbr[title]",n).each(function(){i[$(this).text()]=$(this).attr("title")});var a=[];for(var o in i)a.push(o);a.sort(function(e,t){return t.length<e.length?-1:e.length<t.length?1:0});for(var l=a.length?"(?:\\b"+a.join("\\b)|(?:\\b")+"\\b)":null,s=$("body",n).allTextNodes(["pre"]),u=new RegExp("(\\bMUST(?:\\s+NOT)?\\b|\\bSHOULD(?:\\s+NOT)?\\b|\\bSHALL(?:\\s+NOT)?\\b|\\bMAY\\b|\\b(?:NOT\\s+)?REQUIRED\\b|\\b(?:NOT\\s+)?RECOMMENDED\\b|\\bOPTIONAL\\b|(?:\\[\\[(?:!|\\\\)?[A-Za-z0-9\\.-]+\\]\\])"+(l?"|"+l:"")+")"),c=0;c<s.length;c++){var d=s[c],p=d.data.split(u);if(1!==p.length){for(var f=n.createDocumentFragment();p.length;){var h=p.shift(),m=null;if(p.length&&(m=p.shift()),f.appendChild(n.createTextNode(h)),m)if(/MUST(?:\s+NOT)?|SHOULD(?:\s+NOT)?|SHALL(?:\s+NOT)?|MAY|(?:NOT\s+)?REQUIRED|(?:NOT\s+)?RECOMMENDED|OPTIONAL/.test(m))m=m.split(/\s+/).join(" "),f.appendChild($("<em/>").attr({class:"rfc2119",title:m}).text(m)[0]),e.respecRFC2119[m]=!0;else if(/^\[\[/.test(m)){var g=m;if(0===(g=(g=g.replace(/^\[\[/,"")).replace(/\]\]$/,"")).indexOf("\\"))f.appendChild(n.createTextNode("[["+g.replace(/^\\/,"")+"]]"));else{var b=!1;0===g.indexOf("!")&&(b=!0,g=g.replace(/^!/,"")),b?e.normativeReferences.add(g):e.informativeReferences.add(g),f.appendChild(n.createTextNode("[")),f.appendChild($("<cite/>").wrapInner($("<a/>").attr({class:"bibref",href:"#bib-"+g}).text(g))[0]),f.appendChild(n.createTextNode("]"))}}else i[m]?$(d).parents("abbr").length?f.appendChild(n.createTextNode(m)):f.appendChild($("<abbr/>").attr({title:i[m]}).text(m)[0]):(0,t.pub)("error","Found token '"+m+"' but it does not correspond to anything")}d.parentNode.replaceChild(f,d)}}r()};e.name="core/inlines"}),define("core/dfn",["exports","core/pubsubhub"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.name=void 0,e.run=function(e,t,r){e.hasOwnProperty("definitionMap")||(e.definitionMap=Object.create(null));n("[dfn-for]","dfn-for"),n("dfn[for]","for"),Array.from(document.querySelectorAll("dfn")).forEach(t=>{const n=t.closest("[data-dfn-for]");n&&n!==t&&!t.dataset.dfnFor&&(t.dataset.dfnFor=n.dataset.dfnFor),t.dataset.dfnFor&&(t.dataset.dfnFor=t.dataset.dfnFor.toLowerCase());const r=$(t);r.getDfnTitles({isDefinition:!0}).map(t=>(e.definitionMap[t]||(e.definitionMap[t]=[]),e.definitionMap[t])).reduce(function(e,t){return t.push(e),e},r)}),r()};e.name="core/dfn";function n(e,n){const r=document.querySelectorAll(e),i="The `for` and `dfn-for` attributes are deprecated. Please use `data-dfn-for` instead. See developer console.";r.length&&(0,t.pub)(i),Array.from(r).forEach(e=>{console.warn(i,e),e.dataset.dfnFor=e.getAttribute(n).toLowerCase(),e.removeAttribute(n)})}}),define("w3c/rfc2119",["exports","core/utils"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.name=void 0,e.run=function(e,n,r){const i=n.getElementById("respecRFC2119");if(!i)return r();const a=Object.getOwnPropertyNames(e.respecRFC2119);if(0===a.length)return i.remove(),r();const o=(0,t.joinAnd)(a.sort(),e=>`<em class="rfc2119">${e}</em>`),l=a.length>1,s=`The key word${l?"s ":" "} ${o} ${l?"are":"is"} ${i.innerHTML}`;i.innerHTML=s,r()};e.name="w3c/rfc2119"}),define("deps/text!core/css/examples.css",[],function(){return"/* --- EXAMPLES --- */\ndiv.example-title {\n min-width: 7.5em;\n color: #b9ab2d;\n}\ndiv.example-title span {\n text-transform: uppercase;\n}\naside.example, div.example, div.illegal-example {\n padding: 0.5em;\n margin: 1em 0;\n position: relative;\n clear: both;\n}\ndiv.illegal-example { color: red }\ndiv.illegal-example p { color: black }\naside.example, div.example {\n padding: .5em;\n border-left-width: .5em;\n border-left-style: solid;\n border-color: #e0cb52;\n background: #fcfaee;\n}\n\naside.example div.example {\n border-left-width: .1em;\n border-color: #999;\n background: #fff;\n}\naside.example div.example div.example-title {\n color: #999;\n}\n"}),define("core/examples",["exports","core/pubsubhub","deps/text!core/css/examples.css"],function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.name=void 0,e.run=function(e,n,r){var o=$("pre.example, pre.illegal-example, aside.example"),l=0;o.length&&($(n).find("head link").first().before($("<style/>").text(i.default)),o.each(function(n,r){var i=$(r),o={number:l,illegal:i.hasClass("illegal-example")};if(i.is("aside")){var s=a(e,i,++l,o);i.prepend(s),(0,t.pub)("example",o)}else{var u=!!i.parents("aside").length;u||l++;for(var c=i.html().split("\n");c.length&&/^\s*$/.test(c[0]);)c.shift();for(;c.length&&/^\s*$/.test(c[c.length-1]);)c.pop();var d=/^(\s+)/.exec(c[0]);if(d)for(var p=new RegExp("^"+d[1]),f=0;f<c.length;f++)c[f]=c[f].replace(p,"");o.content=c.join("\n"),i.html(c.join("\n")),i.removeClass("example illegal-example");var h=$("<div class='example'></div>"),s=a(e,i,u?0:l,o);h.append(s),h.append(i.clone()),i.replaceWith(h),u||(0,t.pub)("example",o)}}));r()};var r,i=(r=n)&&r.__esModule?r:{default:r};e.name="core/examples";var a=function(e,t,n,r){var i=n>0?" "+n:"",a=$(`<div class='example-title'><span>${e.l10n.example}${i}</span></div>`);return r.title=t.attr("title"),r.title&&(a.append($("<span style='text-transform: none'>: "+r.title+"</span>")),t.removeAttr("title")),a.addClass("marker"),a}}),define("deps/text!core/css/issues-notes.css",[],function(){return'/* --- ISSUES/NOTES --- */\ndiv.issue-title, div.note-title , div.ednote-title, div.warning-title {\n padding-right: 1em;\n min-width: 7.5em;\n color: #b9ab2d;\n}\ndiv.issue-title { color: #e05252; }\ndiv.note-title, div.ednote-title { color: #2b2; }\ndiv.warning-title { color: #f22; }\ndiv.issue-title span, div.note-title span, div.ednote-title span, div.warning-title span {\n text-transform: uppercase;\n}\ndiv.note, div.issue, div.ednote, div.warning {\n margin-top: 1em;\n margin-bottom: 1em;\n}\n.note > p:first-child, .ednote > p:first-child, .issue > p:first-child, .warning > p:first-child { margin-top: 0 }\n.issue, .note, .ednote, .warning {\n padding: .5em;\n border-left-width: .5em;\n border-left-style: solid;\n}\ndiv.issue, div.note , div.ednote, div.warning {\n padding: 1em 1.2em 0.5em;\n margin: 1em 0;\n position: relative;\n clear: both;\n}\nspan.note, span.ednote, span.issue, span.warning { padding: .1em .5em .15em; }\n\n.issue {\n border-color: #e05252;\n background: #fbe9e9;\n}\n.note, .ednote {\n border-color: #52e052;\n background: #e9fbe9;\n}\n\n.warning {\n border-color: #f11;\n border-width: .2em;\n border-style: solid;\n background: #fbe9e9;\n}\n\n.warning-title:before{\n content: "⚠"; /*U+26A0 WARNING SIGN*/\n font-size: 3em;\n float: left;\n height: 100%;\n padding-right: .3em;\n vertical-align: top;\n margin-top: -0.5em;\n}\n\nli.task-list-item {\n list-style: none;\n}\n\ninput.task-list-item-checkbox {\n margin: 0 0.35em 0.25em -1.6em;\n vertical-align: middle;\n}\n'}),define("core/issues-notes",["exports","core/pubsubhub","deps/text!core/css/issues-notes.css","core/github"],function(e,t,n,r){Object.defineProperty(e,"__esModule",{value:!0}),e.name=void 0,e.run=function(e,n,i){function o(r,i,o){$(n).find("head link").first().before($("<style/>").text(a.default));var l=$(".issue[data-number]").length>0,s=0,u=$("<div><h2>"+e.l10n.issue_summary+"</h2><ul></ul></div>"),c=u.find("ul");r.each(function(n,r){var a=$(r),u=a.hasClass("issue"),d=a.hasClass("warning"),p=a.hasClass("ednote"),f=a.hasClass("atrisk"),h="span"===a[0].localName,m=a.attr("data-number"),g={inline:h,content:a.html()};if(g.type=u?"issue":d?"warning":p?"ednote":"note",!u||h||l?m&&(g.number=m):(s++,g.number=s),!h){var b,v=$("<div class='"+g.type+(f?" atrisk":"")+"'></div>"),y=$("<div role='heading' class='"+g.type+"-title'><span></span></div>"),w=u?f?"Feature at Risk":e.l10n.issue:d?e.l10n.warning:p?e.l10n.editors_note:e.l10n.note;if(y.makeID("h",g.type),g.title=a.attr("title"),u&&(l?m&&(w+=" "+m,!f&&o?y.find("span").wrap($("<a href='"+o+m+"'/>")):f&&e.atRiskBase&&y.find("span").wrap($("<a href='"+e.atRiskBase+m+"'/>")),(b=i[m])&&!g.title&&(g.title=b.title)):w+=" "+s,void 0!==g.number)){var x="issue-"+g.number,C=$("<li><a></a></li>"),E=C.find("a");v.attr("id",x),E.attr("href","#"+x).text(e.l10n.issue+" "+g.number),g.title&&C.append($("<span style='text-transform: none'>: "+g.title+"</span>")),c.append(C)}y.find("span").text(w),g.title&&(y.append($("<span style='text-transform: none'>: "+g.title+"</span>")),a.removeAttr("title")),y.addClass("marker"),v.append(y),a.replaceWith(v);var k=a.removeClass(g.type).removeAttr("data-number");b&&!k.text().trim()&&(k=b.body_html),v.append(k);const t=y.parents("section").length+2;y.attr("aria-level",t)}(0,t.pub)(g.type,g)}),$(".issue").length?$("#issue-summary")&&$("#issue-summary").append(u.contents()):$("#issue-summary").length&&((0,t.pub)("warn","Using issue summary (#issue-summary) but no issues found."),$("#issue-summary").remove())}var l=$(".issue, .note, .warning, .ednote"),s={},u=e.issueBase;l.length?e.githubAPI?(0,r.fetch)(e.githubAPI).then(function(e){return u=u||e.html_url+"/issues/",(0,r.fetchIndex)(e.issues_url,{Accept:"application/vnd.github.v3.html+json"})}).then(function(e){e.forEach(function(e){s[e.number]=e}),o(l,s,u),i()}).catch(e=>{(0,t.pub)("error",e.message),o(l,s,u),i()}):(o(l,s,u),i()):i()};var i,a=(i=n)&&i.__esModule?i:{default:i};e.name="core/issues-notes"}),define("core/requirements",["exports","core/pubsubhub"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.name=void 0,e.run=function(e,n,r){$(".req").each(function(e){e++;var t=$(this),n="Req. "+e;t.prepend("<a href='#"+t.attr("id")+"'>"+n+"</a>: ")}),$("a.reqRef").each(function(){var e,n,r,i=$(this),a=i.attr("href");a&&(e=a.substring(1),(n=$("#"+e)).length?r=n.find("> a").text():(r="Req. not found '"+e+"'",(0,t.pub)("error","Requirement not found in element `a.reqRef`: "+e)),i.text(r))}),r()};e.name="core/requirements"}),define("deps/text!core/css/bp.css",[],function(){return"/* --- Best Practices --- */\ndiv.practice {\n border: solid #bebebe 1px;\n margin: 2em 1em 1em 2em;\n}\n\nspan.practicelab {\n margin: 1.5em 0.5em 1em 1em;\n font-weight: bold;\n font-style: italic;\n background: #dfffff;\n position: relative;\n padding: 0 0.5em;\n top: -1.5em;\n}\n\np.practicedesc {\n margin: 1.5em 0.5em 1em 1em;\n}\n\n@media screen {\n p.practicedesc {\n position: relative;\n top: -2em;\n padding: 0;\n margin: 1.5em 0.5em -1em 1em;\n }\n}\n"}),define("core/best-practices",["exports","deps/text!core/css/bp.css","core/pubsubhub"],function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.name=void 0,e.run=function(e,t,r){var a=0,o=$("span.practicelab",t),l=$("<div><h2>Best Practices Summary</h2><ul></ul></div>"),s=l.find("ul");o.each(function(){var e=$(this),n=e.makeID("bp"),r=$("<li><a></a></li>"),i=r.find("a");a++,i.attr("href","#"+n).text("Best Practice "+a),r.append(t.createTextNode(": "+e.text())),s.append(r),e.prepend(t.createTextNode("Best Practice "+a+": "))}),o.length?($(t).find("head link").first().before($("<style/>").text(i.default)),$("#bp-summary")&&$("#bp-summary").append(l.contents())):$("#bp-summary").length&&((0,n.pub)("warn","Using best practices summary (#bp-summary) but no best practices found."),$("#bp-summary").remove());r()};var r,i=(r=t)&&r.__esModule?r:{default:r};e.name="core/best-practices"}),define("core/figures",["exports","core/pubsubhub"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.name=void 0,e.run=function(e,n,r){$(".figure",n).each(function(e,n){var r=$(n),i=r.attr("title")||r.find("[title]").attr("title")||r.attr("alt")||r.find("[alt]").attr("alt")||"",a=$("<figcaption/>").text(i);let o="div.figure";r.is("div")?(r.append(a),r.renameElement("figure")):(o="img.figure",r.wrap("<figure></figure>"),r.parent().append(a)),(0,t.pub)("warn",`You are using the deprecated ${o} syntax; please switch to \`<figure>\`. `+"Your document has been updated to use `<figure>` instead ❤️.")});var i={},a=[],o=0;$("figure").each(function(){var r=$(this),l=r.find("figcaption"),s=l.text(),u=r.makeID("fig",s);l.length||(0,t.pub)("warn","A `<figure>` should contain a `<figcaption>`."),o++,l.wrapInner($("<span class='fig-title'/>")).prepend(n.createTextNode(" ")).prepend($("<span class='figno'>"+o+"</span>")).prepend(n.createTextNode(e.l10n.fig)),i[u]=l.contents();var c=l.clone();c.find("a").renameElement("span").removeAttr("href"),a.push($("<li class='tofline'><a class='tocxref' href='#"+u+"'></a></li>").find(".tocxref").append(c.contents()).end())}),$("a[href]",n).each(function(){var e=$(this),t=e.attr("href");t&&(t=t.substring(1),i[t]&&(e.addClass("fig-ref"),""===e.html()&&e.append(i[t].clone())))});var l=$("#tof",n);if(a.length&&l.length){l.hasClass("appendix")||l.hasClass("introductory")||l.parents("section").length||(l.prevAll("section.introductory").length===l.prevAll("section").length?l.addClass("introductory"):l.prevAll("appendix").length&&l.addClass("appendix")),l.append($("<h2>"+e.l10n.table_of_fig+"</h2>")),l.append($("<ul class='tof'/>"));for(var s=l.find("ul");a.length;)s.append(a.shift())}r()};e.name="core/figures"}),(()=>{class e{constructor(e,t,n,r){this.message=e,this.line=t,this.input=n,this.tokens=r}toString(){return`${this.message}, line ${this.line} (tokens: '${this.input}')\n${JSON.stringify(this.tokens,null,4)}`}}function t(t,n){let r=1;t=t.slice();const i=new Map,a="float",o="integer",l="identifier",s="string",u="other",c=Object.freeze({type:"operation",getter:!1,setter:!1,deleter:!1,static:!1,stringifier:!1});function d(n){let i="",a=0;for(;a<5&&t.length>a;)i+=t[a].value,a++;throw new e(n,r,i,t.slice(0,5))}function p(e,t){return i.has(e)&&d(`The name "${e}" of type "${i.get(e)}" is already seen`),i.set(e,t),e}let f=null;function h(e,n){if(t.length&&t[0].type===e)return void 0===n||t[0].value===n?(f=t.shift(),e===l&&(f.value=f.value.replace(/^_/,"")),f):void 0}function m(){if(t.length&&"whitespace"===t[0].type){const e=t.shift();return e.value.replace(/\n/g,e=>(r++,e)),e}}function g(e,t){const n={type:"whitespace",value:""};for(;;){const e=m();if(!e)break;n.value+=e.value}if(n.value.length>0){if(e){let r=n.value;const i={ws:/^([\t\n\r ]+)/,"line-comment":/^\/\/(.*)\r?\n?/,"multiline-comment":/^\/\*((?:.|\n|\r)*?)\*\//},a=[];for(const e in i)a.push(e);for(;r.length;){let n=!1;for(const o of a)if(r=r.replace(i[o],(r,i)=>(e.push({type:o+(t?"-"+t:""),value:i}),n=!0,"")),n)break;if(!n)throw new Error("Surprising white space construct.")}}return n}}function b(){const e=function(){let e="";return g(),h(l,"unsigned")&&(e="unsigned "),g(),h(l,"short")?e+"short":h(l,"long")?(e+="long",g(),h(l,"long")?e+" long":e):void(e&&d("Failed to parse integer type"))}()||function(){let e="";return g(),h(l,"unrestricted")&&(e="unrestricted "),g(),h(l,"float")?e+"float":h(l,"double")?e+"double":void(e&&d("Failed to parse float type"))}();return e||(g(),h(l,"boolean")?"boolean":h(l,"byte")?"byte":h(l,"octet")?"octet":void 0)}function v(){if(h(l,"true"))return{type:"boolean",value:!0};if(h(l,"false"))return{type:"boolean",value:!1};if(h(l,"null"))return{type:"null"};if(h(l,"Infinity"))return{type:"Infinity",negative:!1};if(h(l,"NaN"))return{type:"NaN"};const e=h(a)||h(o);if(e)return{type:"number",value:e.value};const n=h(u,"-");if(n){if(h(l,"Infinity"))return{type:"Infinity",negative:!0};t.unshift(n)}}function y(e){for(;;){if(g(),!h(u,"?"))return;e.nullable&&d("Can't nullable more than once"),e.nullable=!0}}function w(){const e=b(),t={sequence:!1,generic:null,nullable:!1,union:!1};let n,r;if(e)t.idlType=e;else{if(!(n=h(l)))return;if(r=n.value,g(),h(u,"<")){"sequence"===r&&(t.sequence=!0),t.generic=r;const e=[];do{g(),e.push(C()||d("Error parsing generic type "+r)),g()}while(h(u,","));return"sequence"===r?1!==e.length&&d("A sequence must have exactly one subtype"):"record"===r?(2!==e.length&&d("A record must have exactly two subtypes"),/^(DOMString|USVString|ByteString)$/.test(e[0].idlType)||d("Record key must be DOMString, USVString, or ByteString"),e[0].extAttrs&&d("Record key cannot have extended attribute")):"Promise"===r&&e[0].extAttrs&&d("Promise type cannot have extended attribute"),t.idlType=1===e.length?e[0]:e,g(),h(u,">")||d("Unterminated generic type "+r),y(t),t}t.idlType=r}return y(t),t.nullable&&"any"===t.idlType&&d("Type any cannot be made nullable"),t}function x(){if(g(),!h(u,"("))return;const e={sequence:!1,generic:null,nullable:!1,union:!0,idlType:[]},t=C()||d("Union type with no content");for(e.idlType.push(t);g(),h(l,"or");){const t=C()||d("No type after 'or' in union type");e.idlType.push(t)}return h(u,")")||d("Unterminated union type"),y(e),e}function C(){const e=S(),t=w()||x();return e.length&&t&&(t.extAttrs=e),t}function E(e){const n={optional:!1,variadic:!1};n.extAttrs=S(e),g(e,"pea");const r=h(l,"optional");if(r&&(n.optional=!0,g()),n.idlType=C(),!n.idlType)return void(r&&t.unshift(r));const i=f;n.optional||(g(),t.length>=3&&"other"===t[0].type&&"."===t[0].value&&"other"===t[1].type&&"."===t[1].value&&"other"===t[2].type&&"."===t[2].value&&(t.shift(),t.shift(),t.shift(),n.variadic=!0)),g();const a=h(l);if(!a)return r&&t.unshift(r),void t.unshift(i);if(n.name=a.value,n.optional){g();const e=L();void 0!==e&&(n.default=e)}return n}function k(e){const t=[],n=E(e?t:null);if(n)for(t.push(n);;){if(g(e?t:null),!h(u,","))return t;const n=E(e?t:null)||d("Trailing comma in arguments list");t.push(n)}}function T(e){g();const t=h(l);if(!t)return;const n={name:t.value,arguments:null,type:"extended-attribute",rhs:null};if(g(),h(u,"=")){if(g(),n.rhs=h(l)||h(a)||h(o)||h(s),!n.rhs&&h(u,"(")){const e=[],t=h(l);t&&e.push(t.value),function(e){for(;g(),h(u,",");){g();const t=h(l)||d("Trailing comma in identifiers list");e.push(t.value)}}(e),h(u,")")||d("Unexpected token in extended attribute argument list or type pair"),n.rhs={type:"identifier-list",value:e}}if(!n.rhs)return d("No right hand side to extended attribute assignment")}let r;(g(),h(u,"("))&&((r=k(e))?n.arguments=r:n.arguments=[],g(),h(u,")")||d("Unexpected token in extended attribute argument list"));return n}function S(e){const t=[];if(g(e),!h(u,"["))return t;for(t[0]=T(e)||d("Extended attribute with not content"),g();h(u,",");)t.length?t.push(T(e)):t.push(T(e)||d("Trailing comma in extended attribute"));return g(),h(u,"]")||d("No end of extended attribute"),t}function L(){if(g(),h(u,"=")){g();const e=v();if(e)return e;if(h(u,"["))return h(u,"]")||d("Default sequence value must be empty"),{type:"sequence",value:[]};{const e=h(s)||d("No value for default");return e.value=e.value.replace(/^"/,"").replace(/"$/,""),e}}}function D(e){if(g(e,"pea"),!h(l,"const"))return;const t={type:"const",nullable:!1};g();let n=b();n||(n=(n=h(l)||d("No type for const")).value),t.idlType=n,g(),h(u,"?")&&(t.nullable=!0,g());const r=h(l)||d("No name for const");t.name=r.value,g(),h(u,"=")||d("No value assignment for const"),g();const i=v();return i?t.value=i:d("No value for const"),g(),h(u,";")||d("Unterminated const"),t}function A(){if(g(),h(u,":"))return g(),(h(l)||d("No type in inheritance")).value}function R(e,t){g(),e||(e={});const n=h(l);return e.name=n?n.value:null,g(),h(u,"(")||d("Invalid operation"),e.arguments=k(t)||[],g(),h(u,")")||d("Unterminated operation"),g(),h(u,";")||d("Unterminated operation"),e}function P(e){g(e,"pea");const n=[],r={type:"attribute",static:!1,stringifier:!1,inherit:!1,readonly:!1},i=g();if(i&&n.push(i),h(l,"inherit")){(r.static||r.stringifier)&&d("Cannot have a static or stringifier inherit"),r.inherit=!0,n.push(f);const e=g();e&&n.push(e)}if(h(l,"readonly")){r.readonly=!0,n.push(f);const e=g();e&&n.push(e)}const a=M(r);return a||(t=n.concat(t)),a}function M(e){if(!h(l,"attribute"))return;g(),e.idlType=C()||d("No type in attribute"),e.idlType.sequence&&d("Attributes cannot accept sequence types"),"record"===e.idlType.generic&&d("Attributes cannot accept record types"),g();const t=h(l)||d("No name in attribute");return e.name=t.value,g(),h(u,";")||d("Unterminated attribute"),e}function j(){const e=w()||x();if(!e){if(h(l,"void"))return"void";d("No return type")}return e}function N(e){g(e,"pea");const t=Object.assign({},c);for(;;)if(g(),h(l,"getter"))t.getter=!0;else if(h(l,"setter"))t.setter=!0;else{if(!h(l,"deleter"))break;t.deleter=!0}if(t.getter||t.setter||t.deleter)return g(),t.idlType=j(),R(t,e),t;if(t.idlType=j(),g(),h(l,"iterator")){if(g(),t.type="iterator",h(l,"object"))t.iteratorObject="object";else if(h(u,"=")){g();var n=h(l)||d("No right hand side in iterator");t.iteratorObject=n.value}return g(),h(u,";")||d("Unterminated iterator"),t}return R(t,e),t}function I(e){if(g(e,"pea"),h(l,"static"))return g(),H(e,"static")||B(e,"static")||d("No body in static member")}function _(e){if(g(e,"pea"),h(l,"stringifier"))return g(),h(u,";")?Object.assign({},c,{stringifier:!0}):H(e,"stringifier")||B(e,"stringifier")||d("Unterminated stringifier")}function O(){return h(l,"iterable")?"iterable":h(l,"legacyiterable")?"legacyiterable":h(l,"maplike")?"maplike":h(l,"setlike")?"setlike":void 0}function $(){return h(l,"maplike")?"maplike":h(l,"setlike")?"setlike":void 0}function q(e){g(e,"pea");const n=[],r={type:null,idlType:null,readonly:!1};if(h(l,"readonly")){r.readonly=!0,n.push(f);var i=g();i&&n.push(i)}const a=(r.readonly?$:O)();if(!a)return void(t=n.concat(t));const o="maplike"===a,s=o||"iterable"===a;if(r.type=a,"maplike"!==r.type&&"setlike"!==r.type&&delete r.readonly,g(),h(u,"<")){if(r.idlType=C()||d(`Error parsing ${a} declaration`),g(),s){let e=null;h(u,",")&&(g(),e=C(),g()),e?r.idlType=[r.idlType,e]:o&&d(`Missing second type argument in ${a} declaration`)}h(u,">")||d(`Unterminated ${a} declaration`),g(),h(u,";")||d(`Missing semicolon after ${a} declaration`)}else d(`Error parsing ${a} declaration`);return r}function U(e,t){g();const r=h(l)||d("No name for interface"),i=[],a={type:"interface",name:e?r.value:p(r.value,"interface"),partial:!1,members:i};for(e||(a.inheritance=A()||null),g(),h(u,"{")||d("Bodyless interface");;){if(g(t?i:null),h(u,"}"))return g(),h(u,";")||d("Missing semicolon after interface"),a;const e=S(t?i:null);g();const r=D(t?i:null);if(r){r.extAttrs=e,a.members.push(r);continue}const o=n.allowNestedTypedefs&&G(t?i:null)||I(t?i:null)||_(t?i:null)||q(t?i:null)||P(t?i:null)||N(t?i:null)||d("Unknown member");o.extAttrs=e,a.members.push(o)}}function W(e,t){if(g(e?null:t,"pea"),h(l,"interface"))return function(e,t){if(g(),!h(l,"mixin"))return;g();const n=h(l)||d("No name for interface mixin"),r=[],i={type:"interface mixin",name:e?n.value:p(n.value,"interface mixin"),partial:!1,members:r};for(g(),h(u,"{")||d("Bodyless interface mixin");;){if(g(t?r:null),h(u,"}"))return g(),h(u,";")||d("Missing semicolon after interface mixin"),i;const e=S(t?r:null);g();const n=D(t?r:null);if(n){n.extAttrs=e,i.members.push(n);continue}const a=_(t?r:null)||H(t?r:null)||B(t?r:null)||d("Unknown member");a.extAttrs=e,i.members.push(a)}}(e,t)||U(e,t)||d("Interface has no proper body")}function F(e,t){if(g(e?null:t,"pea"),!h(l,"namespace"))return;g();const n=h(l)||d("No name for namespace"),r=[],i={type:"namespace",name:e?n.value:p(n.value,"namespace"),partial:e,members:r};for(g(),h(u,"{")||d("Bodyless namespace");;){if(g(t?r:null),h(u,"}"))return g(),h(u,";")||d("Missing semicolon after namespace"),i;const e=S(t?r:null);g();const n=H(t?r:null)||B(t?r:null)||d("Unknown member");n.extAttrs=e,i.members.push(n)}}function H(e,n){const r=g(e,"pea"),i=[],a={type:"attribute",static:!1,stringifier:!1,inherit:!1,readonly:!1};if(n&&(a[n]=!0),r&&i.push(r),h(l,"readonly")){a.readonly=!0,i.push(f);const e=g();e&&i.push(e)}const o=M(a);return o||(t=i.concat(t)),o}function B(e,t){g(e,"pea");const n=Object.assign({},c);return t&&(n[t]=!0),n.idlType=j(),R(n,e)}function V(e,t){if(g(e?null:t,"pea"),!h(l,"dictionary"))return;g();const n=h(l)||d("No name for dictionary"),r=[],i={type:"dictionary",name:e?n.value:p(n.value,"dictionary"),partial:!1,members:r};for(e||(i.inheritance=A()||null),g(),h(u,"{")||d("Bodyless dictionary");;){if(g(t?r:null),h(u,"}"))return g(),h(u,";")||d("Missing semicolon after dictionary"),i;const e=S(t?r:null);g(t?r:null,"pea");const n=h(l,"required"),a=C()||d("No type for dictionary member");g();const o=h(l)||d("No name for dictionary member"),s=L();n&&s&&d("Required member must not have a default");const c={type:"field",name:o.value,required:!!n,idlType:a,extAttrs:e};void 0!==s&&(c.default=s),i.members.push(c),g(),h(u,";")||d("Unterminated dictionary member")}}function G(e){if(g(e,"pea"),!h(l,"typedef"))return;const t={type:"typedef"};g(),t.idlType=C()||d("No type in typedef"),g();const n=h(l)||d("No name in typedef");return t.name=p(n.value,"typedef"),g(),h(u,";")||d("Unterminated typedef"),t}function z(e){return function(e){let t;if(g(e,"pea"),!h(l,"callback"))return;return g(),h(l,"interface")?((t=U()).type="callback interface",t):(t={type:"callback",name:p((h(l)||d("No name for callback")).value,"callback")},g(),h(u,"=")||d("No assignment in callback"),g(),t.idlType=j(),g(),h(u,"(")||d("No arguments in callback"),t.arguments=k(e)||[],g(),h(u,")")||d("Unterminated callback"),g(),h(u,";")||d("Unterminated callback"),t)}(e)||W(!1,e)||function(e){if(g(e,"pea"),!h(l,"partial"))return;const t=V(!0,e)||W(!0,e)||F(!0,e)||d("Partial doesn't apply to anything");return t.partial=!0,t}(e)||V(!1,e)||function(e){if(g(e,"pea"),!h(l,"enum"))return;g();const t=[],n={type:"enum",name:p((h(l)||d("No name for enum")).value,"enum"),values:t};g(),h(u,"{")||d("No curly for enum");let r=!1;for(;;){if(g(e?t:null),h(u,"}"))return g(),h(u,";")||d("No semicolon after enum"),n;const i=h(s)||d("Unexpected value in enum");i.value=i.value.replace(/"/g,""),n.values.push(i),g(e?t:null),h(u,",")?(e&&t.push({type:","}),g(e?t:null),r=!0):r=!1}}(e)||G(e)||function(e){g(e,"pea");const n=h(l);if(!n)return;const r=g();if(h(l,"implements")){const e={type:"implements",target:n.value};g();const t=h(l)||d("Incomplete implements statement");return e.implements=t.value,g(),h(u,";")||d("No terminating ; for implements statement"),e}t.unshift(r),t.unshift(n)}(e)||function(e){g(e,"pea");const n=h(l);if(!n)return;const r=g();if(h(l,"includes")){const e={type:"includes",target:n.value};g();const t=h(l)||d("Incomplete includes statement");return e.includes=t.value,g(),h(u,";")||d("No terminating ; for includes statement"),e}t.unshift(r),t.unshift(n)}(e)||F(!1,e)}const Y=function(e){if(!t.length)return[];const n=[];for(;;){const t=S(e?n:null),r=z(e?n:null);if(!r){t.length&&d("Stray extended attributes");break}r.extAttrs=t,n.push(r)}return n}(n.ws);return t.length&&d("Unrecognised tokens"),Y}const n={parse:(e,n)=>(n||(n={}),t(function(e){const t=[],n={float:/^-?(([0-9]+\.[0-9]*|[0-9]*\.[0-9]+)([Ee][-+]?[0-9]+)?|[0-9]+[Ee][-+]?[0-9]+)/,integer:/^-?(0([Xx][0-9A-Fa-f]+|[0-7]*)|[1-9][0-9]*)/,identifier:/^[A-Z_a-z][0-9A-Z_a-z-]*/,string:/^"[^"]*"/,whitespace:/^(?:[\t\n\r ]+|[\t\n\r ]*((\/\/.*|\/\*(.|\n|\r)*?\*\/)[\t\n\r ]*))+/,other:/^[^\t\n\r 0-9A-Z_a-z]/},r=["float","integer","identifier","string","whitespace","other"];for(;e.length>0;){let i=!1;for(const a of r)if(e=e.replace(n[a],e=>(t.push({type:a,value:e}),i=!0,"")),i)break;if(!i)throw new Error("Token stream not progressing")}return t}(e),n))};"undefined"!=typeof module&&void 0!==module.exports?module.exports=n:"function"==typeof define&&define.amd?define("deps/webidl2",[],()=>n):(self||window).WebIDL2=n})(),define("deps/text!core/css/webidl.css",[],function(){return'/* --- WEB IDL --- */\n\npre.idl {\n padding: 1em;\n}\n\n.respec-idl-separator {\n padding: 0 0 0.4cm 0;\n}\n\n.respec-idl-separator:last-child {\n padding: 0;\n}\n\n@media print {\n pre.idl {\n white-space: pre-wrap;\n }\n}\n\npre.idl::before {\n content: "WebIDL";\n display: block;\n width: 150px;\n background: #90b8de;\n color: #fff;\n font-family: sans-serif;\n font-weight: bold;\n margin: -1em 0 1em -1em;\n height: 28px;\n line-height: 28px; \n}\n\n.idlType {\n color: #ff4500;\n font-weight: bold;\n text-decoration: none;\n}\n\n\n/*.idlModule*/\n\n\n/*.idlModuleID*/\n\n\n/*.idlInterface*/\n\n.idlInterfaceID,\n.idlDictionaryID,\n.idlCallbackID,\n.idlEnumID {\n font-weight: bold;\n color: #005a9c;\n}\n\na.idlEnumItem {\n color: #000;\n border-bottom: 1px dotted #ccc;\n text-decoration: none;\n}\n\n.idlSuperclass {\n font-style: italic;\n color: #005a9c;\n}\n\n\n/*.idlAttribute*/\n\n.idlAttrType,\n.idlFieldType,\n.idlMemberType {\n color: #005a9c;\n}\n\n.idlAttrName,\n.idlFieldName,\n.idlMemberName {\n color: #ff4500;\n}\n\n.idlAttrName a,\n.idlFieldName a,\n.idlMemberName a {\n color: #ff4500;\n border-bottom: 1px dotted #ff4500;\n text-decoration: none;\n}\n\n\n/*.idlMethod*/\n\n.idlMethType,\n.idlCallbackType {\n color: #005a9c;\n}\n\n.idlMethName {\n color: #ff4500;\n}\n\n.idlMethName a {\n color: #ff4500;\n border-bottom: 1px dotted #ff4500;\n text-decoration: none;\n}\n\n\n/*.idlCtor*/\n\n.idlCtorName {\n color: #ff4500;\n}\n\n.idlCtorName a {\n color: #ff4500;\n border-bottom: 1px dotted #ff4500;\n text-decoration: none;\n}\n\n\n/*.idlParam*/\n\n.idlParamType {\n color: #005a9c;\n}\n\n.idlParamName,\n.idlDefaultValue {\n font-style: italic;\n}\n\n.extAttr {\n color: #666;\n}\n\n\n/*.idlSectionComment*/\n\n.idlSectionComment {\n color: gray;\n}\n\n\n/*.idlIterable*/\n\n.idlIterableKeyType,\n.idlIterableValueType {\n color: #005a9c;\n}\n\n\n/*.idlMaplike*/\n\n.idlMaplikeKeyType,\n.idlMaplikeValueType {\n color: #005a9c;\n}\n\n\n/*.idlConst*/\n\n.idlConstType {\n color: #005a9c;\n}\n\n.idlConstName {\n color: #ff4500;\n}\n\n.idlConstName a {\n color: #ff4500;\n border-bottom: 1px dotted #ff4500;\n text-decoration: none;\n}\n\n\n/*.idlException*/\n\n.idlExceptionID {\n font-weight: bold;\n color: #c00;\n}\n\n.idlTypedefID,\n.idlTypedefType {\n color: #005a9c;\n}\n\n.idlRaises,\n.idlRaises a.idlType,\n.idlRaises a.idlType code,\n.excName a,\n.excName a code {\n color: #c00;\n font-weight: normal;\n}\n\n.excName a {\n font-family: monospace;\n}\n\n.idlRaises a.idlType,\n.excName a.idlType {\n border-bottom: 1px dotted #c00;\n}\n\n.excGetSetTrue,\n.excGetSetFalse,\n.prmNullTrue,\n.prmNullFalse,\n.prmOptTrue,\n.prmOptFalse {\n width: 45px;\n text-align: center;\n}\n\n.excGetSetTrue,\n.prmNullTrue,\n.prmOptTrue {\n color: #0c0;\n}\n\n.excGetSetFalse,\n.prmNullFalse,\n.prmOptFalse {\n color: #c00;\n}\n\n.idlImplements a, .idlIncludes a {\n font-weight: bold;\n}\n\ndl.attributes,\ndl.methods,\ndl.constants,\ndl.constructors,\ndl.fields,\ndl.dictionary-members {\n margin-left: 2em;\n}\n\n.attributes dt,\n.methods dt,\n.constants dt,\n.constructors dt,\n.fields dt,\n.dictionary-members dt {\n font-weight: normal;\n}\n\n.attributes dt code,\n.methods dt code,\n.constants dt code,\n.constructors dt code,\n.fields dt code,\n.dictionary-members dt code {\n font-weight: bold;\n color: #000;\n font-family: monospace;\n}\n\n.attributes dt code,\n.fields dt code,\n.dictionary-members dt code {\n background: #ffffd2;\n}\n\n.attributes dt .idlAttrType code,\n.fields dt .idlFieldType code,\n.dictionary-members dt .idlMemberType code {\n color: #005a9c;\n background: transparent;\n font-family: inherit;\n font-weight: normal;\n font-style: italic;\n}\n\n.methods dt code {\n background: #d9e6f8;\n}\n\n.constants dt code {\n background: #ddffd2;\n}\n\n.constructors dt code {\n background: #cfc;\n}\n\n.attributes dd,\n.methods dd,\n.constants dd,\n.constructors dd,\n.fields dd,\n.dictionary-members dd {\n margin-bottom: 1em;\n}\n\ntable.parameters,\ntable.exceptions {\n border-spacing: 0;\n border-collapse: collapse;\n margin: 0.5em 0;\n width: 100%;\n}\n\ntable.parameters {\n border-bottom: 1px solid #90b8de;\n}\n\ntable.exceptions {\n border-bottom: 1px solid #deb890;\n}\n\n.parameters th,\n.exceptions th {\n color: inherit;\n padding: 3px 5px;\n text-align: left;\n font-weight: normal;\n}\n\n.parameters th {\n color: #fff;\n background: #005a9c;\n}\n\n.exceptions th {\n background: #deb890;\n}\n\n.parameters td,\n.exceptions td {\n padding: 3px 10px;\n border-top: 1px solid #ddd;\n vertical-align: top;\n}\n\n.parameters tr:first-child td,\n.exceptions tr:first-child td {\n border-top: none;\n}\n\n.parameters td.prmName,\n.exceptions td.excName,\n.exceptions td.excCodeName {\n width: 100px;\n}\n\n.parameters td.prmType {\n width: 120px;\n}\n\ntable.exceptions table {\n border-spacing: 0;\n border-collapse: collapse;\n width: 100%;\n}\n\n.respec-button-copy-paste:focus {\n text-decoration: none;\n border-color: #51a7e8;\n outline: none;\n box-shadow: 0 0 5px rgba(81, 167, 232, 0.5);\n}\n\n.respec-button-copy-paste:focus:hover,\n.respec-button-copy-paste.selected:focus {\n border-color: #51a7e8;\n}\n\n.respec-button-copy-paste:hover,\n.respec-button-copy-paste:active,\n.respec-button-copy-paste.zeroclipboard-is-hover,\n.respec-button-copy-paste.zeroclipboard-is-active {\n text-decoration: none;\n background-color: #ddd;\n background-image: linear-gradient(#eee, #ddd);\n border-color: #ccc;\n}\n\n.respec-button-copy-paste:active,\n.respec-button-copy-paste.selected,\n.respec-button-copy-paste.zeroclipboard-is-active {\n background-color: #dcdcdc;\n background-image: none;\n border-color: #b5b5b5;\n box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15)\n}\n\n.respec-button-copy-paste.selected:hover {\n background-color: #cfcfcf;\n}\n\n.respec-button-copy-paste:disabled,\n.respec-button-copy-paste:disabled:hover,\n.respec-button-copy-paste.disabled,\n.respec-button-copy-paste.disabled:hover {\n color: rgba(102, 102, 102, 0.5);\n cursor: default;\n background-color: rgba(229, 229, 229, 0.5);\n background-image: none;\n border-color: rgba(197, 197, 197, 0.5);\n box-shadow: none;\n}\n'}),define("core/webidl",["exports","core/pubsubhub","deps/webidl2","handlebars.runtime","deps/text!core/css/webidl.css","templates","core/utils"],function(e,t,n,r,i,a,o){Object.defineProperty(e,"__esModule",{value:!0}),e.done=e.name=void 0,e.run=function(e,n,r){var i=function(){B(),(0,t.pub)("end","core/webidl"),r()},a=$("pre.idl",n);if(!a.length)return i();s.default.registerHelper("extAttr",function(e,t){return q(e.extAttrs,t,!1)}),s.default.registerHelper("extAttrInline",function(e){return q(e.extAttrs,0,!0)}),s.default.registerHelper("typeExtAttrs",function(e){return q(e.typeExtAttrs,0,!0)}),s.default.registerHelper("extAttrClassName",function(){return"Constructor"===this.name||"NamedConstructor"===this.name?"idlCtor":"extAttr"}),s.default.registerHelper("extAttrRhs",function(e,t){return"identifier"===e.type?t.fn(e.value):"("+e.value.map(function(e){return t.fn(e)}).join(",")+")"}),s.default.registerHelper("param",function(e){return new s.default.SafeString(L({obj:e,optional:e.optional?"optional ":"",variadic:e.variadic?"...":""}))}),s.default.registerHelper("jsIf",function(e,t){return e?t.fn(this):t.inverse(this)}),s.default.registerHelper("idn",function(e){return new s.default.SafeString(R(e))}),s.default.registerHelper("idlType",function(e){return new s.default.SafeString(P(e.idlType))}),s.default.registerHelper("stringifyIdlConst",function(e){switch(e.type){case"null":return"null";case"Infinity":return e.negative?"-Infinity":"Infinity";case"NaN":return"NaN";case"string":case"number":case"boolean":case"sequence":return JSON.stringify(e.value);default:return(0,t.pub)("error","Unexpected constant value type: `"+e.type+"`."),"<Unknown>"}}),s.default.registerHelper("escapeArgumentName",z),s.default.registerHelper("escapeAttributeName",Y),s.default.registerHelper("escapeIdentifier",X),s.default.registerHelper("pads",function(e){return new s.default.SafeString(N(e))}),s.default.registerHelper("join",function(e,t,n){return e.map(function(e){return n.fn(e)}).join(t)}),s.default.registerHelper("joinNonWhitespace",function(e,t,n){return e.filter(function(e){return"ws"!==e.type}).map(function(e){return n.fn(e)}).join(t)}),s.default.registerHelper("tryLink",function(e,t){var n=t.fn(this);const r="toJSON"===e.name&&e.extAttrs.some(({name:e})=>"Default"===e);if(!e.dfn&&!r)return n;const i=document.createElement("a");return i.innerText=n,!e.dfn&&r?i.dataset.cite="WEBIDL#default-tojson-operation":(i.dataset.noDefault="",i.dataset.linkFor=e.linkFor?s.default.Utils.escapeExpression(e.linkFor).toLowerCase():"",i.dataset.lt=e.dfn[0].dataset.lt||""),i.outerHTML}),$(".idl",n).not("pre").length||$(n).find("head link").first().before($("<style/>").text(u.default));a.each(function(){var n;try{n=l.default.parse($(this).text(),{ws:!0})}catch(e){return void(0,t.pub)("error",`Failed to parse WebIDL: \`${e.message}\`.\n <details>\n <pre>${(0,o.normalizePadding)(this.textContent)}\n ${e}</pre>\n </details>`)}!function e(n,r,i,a){n.filter(({type:e})=>!1===["implements","ws","ws-pea","ws-tpea","line-comment","multiline-comment"].includes(e)).forEach(function(n){var o;switch(n.type){case"callback interface":case"dictionary":case"exception":case"interface":var l="";n.partial&&(G[n.name]||(G[n.name]=[]),G[n.name].push(n),l="-partial-"+G[n.name].length),e(n.members,r,n.name,a),o=n.name,n.idlId="idl-def-"+o.toLowerCase()+l;break;case"enum":o=n.name,n.values.forEach(function(e,t){void 0===e.type&&(n.values[t]={toString:function(){return e},dfn:te(o,e,r,n.type,a)})}),n.idlId="idl-def-"+o.toLowerCase();break;case"callback":case"typedef":o=n.name,n.idlId="idl-def-"+o.toLowerCase();break;case"attribute":case"const":case"field":o=n.name,n.idlId="idl-def-"+i.toLowerCase()+"-"+o.toLowerCase();break;case"operation":if(n.name){o=n.name;var s=i+"."+o,u=i+"."+o+"()";V[u]||(V[u]=[]),V[s]?(n.overload=V[s].length,o=n.name+"!overload-"+n.overload):V[s]=[],V[u].push(n),V[s].push(n)}else(n.getter||n.setter||n.deleter||n.legacycaller||n.stringifier)&&(o="");const c=`idl-def-${i.toLowerCase()}-${o.toLowerCase()}`,d=n.overload||!n.arguments.length?"":"-"+n.arguments.filter(e=>!_(e.type)).map(e=>e.name.toLowerCase()).join("-").replace(/\s/g,"_");n.idlId=c+d;break;case"maplike":o="maplike",n.idlId=("idl-def-"+i+"-"+o).toLowerCase();break;case"iterable":o="iterable",n.idlId="idl-def-"+i.toLowerCase()+"-"+o.toLowerCase();break;default:return void(0,t.pub)("error",new Error("ReSpec doesn't know about IDL type: `"+n.type+"`."))}i&&(n.linkFor=i),n.dfn=te(i,o,r,n.type,a)})}(n,e.definitionMap,"",this);var r,i,a=(r=n,(i=$("<pre></pre>").attr({class:"def idl"})).html(r.filter(function(e){return!_(e.type)}).map(function(e){return function(e,n){var r={indent:++n,obj:e};switch(e.type){case"typedef":return D(r);case"implements":return w(r);case"interface":return Q(r);case"callback interface":return Q(r,"callback ");case"dictionary":var i=0,a=0;e.members.filter(function(e){return!_(e.type)}),e.members.forEach(function(e){if(!_(e.type)){var t="";e.required&&(t+="required "),i<t.length&&(i=t.length);var n=j(e.idlType).length;a<n&&(a=n)}});var o=e.members.map(function(e){switch(e.type){case"field":return r=i,(o={obj:t=e,indent:n+1}).typePad=a-j(t.idlType).length,t.required?o.qualifiers="required ":o.qualifiers=" ",o.qualifiers=o.qualifiers.slice(0,r),g(o);case"line-comment":return J(e,n+1);case"multiline-comment":return ee(e,n+1);case"ws":return Z(e);case"ws-pea":break;default:throw new Error("Unexpected type in dictionary: `"+e.type+"`.")}var t,r,o}).join("");return m({obj:e,indent:n,children:o,partial:e.partial?"partial ":""});case"callback":var l=e.arguments.filter(function(e){return!_(e.type)}).map(function(e){return L({obj:e,optional:e.optional?"optional ":"",variadic:e.variadic?"...":""})}),s={obj:e,indent:n,children:l.join(", ")},u=f(s),c=$(u).text();if(c.length>80){var d=c.indexOf("(")+1;s.children=l.join(",\n"+N(d)),u=f(s)}return u;case"enum":for(var o="",p=0;p<e.values.length;p++){var h=e.values[p];switch(h.type){case void 0:for(var y=!1,x=p+1;x<e.values.length;x++){var C=e.values[x];if(void 0===C.type)break;if(","===C.type){y=!0;break}}o+=b({lname:h.toString()?h.toString().toLowerCase():"the-empty-string",name:h.toString(),parentID:e.name.toLowerCase(),indent:n+1,needsComma:y});break;case"line-comment":o+=J(h,n+1);break;case"multiline-comment":o+=ee(h,n+1);break;case"ws":o+=Z(h);break;case",":case"ws-pea":break;default:throw new Error("Unexpected type in exception: `"+h.type+"`.")}}return v({obj:e,indent:n,children:o});default:return(0,t.pub)("error","Unexpected object type `"+e.type+"` in "+JSON.stringify(e)),""}}(e,-1)}).join("\n\n")),i);a.attr({id:this.id}),a.find(".idlAttribute,.idlCallback,.idlConst,.idlDictionary,.idlEnum,.idlException,.idlField,.idlInterface,.idlMember,.idlMethod,.idlMaplike,.idlIterable,.idlTypedef").each(function(){var t=$(this),n=t.attr("data-title").toLowerCase(),r=t.parent().closest(".idlDictionary,.idlEnum,.idlException,.idlInterface");r.length&&t.attr("data-dfn-for",r.attr("data-title").toLowerCase()),e.definitionMap[n]||(e.definitionMap[n]=[]),e.definitionMap[n].push(t)}),$(this).replaceWith(a),a[0].classList.add(...this.classList)}),n.normalize(),i()};var l=d(n),s=d(r),u=d(i),c=d(a);function d(e){return e&&e.__esModule?e:{default:e}}e.name="core/webidl";var p=c.default["attribute.html"],f=c.default["callback.html"],h=c.default["const.html"],m=c.default["dictionary.html"],g=c.default["dict-member.html"],b=c.default["enum-item.html"],v=c.default["enum.html"],y=c.default["extended-attribute.html"],w=(c.default["field.html"],c.default["implements.html"]),x=c.default["interface.html"],C=c.default["iterable.html"],E=c.default["line-comment.html"],k=c.default["maplike.html"],T=c.default["method.html"],S=c.default["multiline-comment.html"],L=c.default["param.html"],D=c.default["typedef.html"],A=new Set(["maplike","setlike","stringifier"]);function R(e){for(var t="",n=0;n<e;n++)t+=" ";return t}function P(e){if("string"==typeof e)return"<a>"+s.default.Utils.escapeExpression(e)+"</a>";if(Array.isArray(e))return e.map(P).join(", ");var t=e.nullable?"?":"";if(e.union)return"("+e.idlType.map(function(e){return P(e)}).join(" or ")+")"+t;if(e.array){for(var n="",r=0;r<e.array;++r)e.nullableArray[r]&&(n+="?"),n+="[]";return P({generic:e.generic,idlType:e.idlType})+n+t}return(e.generic?(U.has(e.generic)?M(e.generic):P(e.generic))+"<"+P(e.idlType)+">":U.has(e.idlType)?M(e.idlType):P(e.idlType))+t}function M(e){if(!U.has(e))return e;const t=s.default.Utils.escapeExpression(e);return"<a data-cite='"+U.get(t)+"'>"+t+"</a>"}function j(e){if("string"==typeof e)return e;var t=e.nullable?"?":"";if(e.union)return"("+e.idlType.map(function(e){return j(e)}).join(" or ")+")"+t;if(e.array){for(var n="",r=0;r<e.array;++r)e.nullableArray[r]&&(n+="?"),n+="[]";return j({generic:e.generic,idlType:e.idlType})+n+t}if(e.generic){const n=[].concat(e.idlType).map(j).join(", ");return`${e.generic}<${n}>${t}`}return j(e.idlType)+t}function N(e){for(var t="",n=0;n<e;n++)t+=" ";return t}var I={ws:!0,"ws-pea":!0,"ws-tpea":!0,"line-comment":!0,"multiline-comment":!0};function _(e){return I[e]}const O=new Map([["CEReactions","HTML#cereactions"],["Clamp","WEBIDL#Clamp"],["Constructor","WEBIDL#Constructor"],["Default","WEBIDL#Default"],["EnforceRange","WEBIDL#EnforceRange"],["Exposed","WEBIDL#Exposed"],["Global","WEBIDL#Global"],["HTMLConstructor","HTML#htmlconstructor"],["LegacyArrayClass","WEBIDL#LegacyArrayClass"],["LegacyUnenumerableNamedProperties","WEBIDL#LegacyUnenumerableNamedProperties"],["LenientSetter","WEBIDL#LenientSetter"],["LenientThis","WEBIDL#LenientThis"],["NamedConstructor","WEBIDL#NamedConstructor"],["NewObject","WEBIDL#NewObject"],["NoInterfaceObject","WEBIDL#NoInterfaceObject"],["OverrideBuiltins","WEBIDL#OverrideBuiltins"],["PrimaryGlobal","WEBIDL#PrimaryGlobal"],["PutForwards","WEBIDL#PutForwards"],["Replaceable","WEBIDL#Replaceable"],["SameObject","WEBIDL#SameObject"],["SecureContext","WEBIDL#SecureContext"],["TreatNonObjectAsNull","WEBIDL#TreatNonObjectAsNull"],["TreatNullAs","WEBIDL#TreatNullAs"],["Unforgeable","WEBIDL#Unforgeable"],["Unscopable","WEBIDL#Unscopable"]]);function q(e,t,n){if(0===e.length)return"";var r={extAttrs:e,indent:t,sep:n?", ":",\n "+R(t),end:n?" ":"\n"};const i=new s.default.SafeString(y(r)),a=document.createElement("div");return a.innerHTML=i,Array.from(a.querySelectorAll(".extAttrName")).filter(function(e){return O.has(e.textContent)}).forEach(function(e){const t=e.ownerDocument.createElement("a");t.dataset.cite=O.get(e.textContent),t.textContent=e.textContent,e.replaceChild(t,e.firstChild)}),new s.default.SafeString(a.innerHTML)}const U=new Map([["any","WEBIDL#idl-any"],["ArrayBuffer","WEBIDL#idl-ArrayBuffer"],["boolean","WEBIDL#idl-boolean"],["Buffer","WEBIDL#idl-Buffer"],["byte","WEBIDL#idl-byte"],["ByteString","WEBIDL#idl-ByteString"],["Callback","WEBIDL#idl-Callback"],["DataView","WEBIDL#idl-DataView"],["DOMException","WEBIDL#idl-DOMException"],["DOMString","WEBIDL#idl-DOMString"],["double","WEBIDL#idl-double"],["Error","WEBIDL#idl-Error"],["EventHandler","HTML#eventhandler"],["float","WEBIDL#idl-float"],["Float32Array","WEBIDL#idl-Float32Array"],["Float64Array","WEBIDL#idl-Float64Array"],["FrozenArray","WEBIDL#idl-frozen-array"],["Int16Array","WEBIDL#idl-Int16Array"],["Int32Array","WEBIDL#idl-Int32Array"],["Int8Array","WEBIDL#idl-Int8Array"],["long long","WEBIDL#idl-long-long"],["long","WEBIDL#idl-long"],["object","WEBIDL#idl-object"],["octet","WEBIDL#idl-octet"],["Promise","WEBIDL#idl-promise"],["record","WEBIDL#idl-record"],["sequence","WEBIDL#idl-sequence"],["short","WEBIDL#idl-short"],["Uint16Array","WEBIDL#idl-Uint16Array"],["Uint32Array","WEBIDL#idl-Uint32Array"],["Uint8Array","WEBIDL#idl-Uint8Array"],["Uint8ClampedArray","WEBIDL#dl-Uint8ClampedArray"],["unrestricted double","WEBIDL#idl-unrestricted-double"],["unrestricted float","WEBIDL#idl-unrestricted-float"],["unsigned long long","WEBIDL#idl-unsigned-long-long"],["unsigned long","WEBIDL#idl-unsigned-long"],["unsigned short","WEBIDL#idl-unsigned-short"],["USVString","WEBIDL#idl-USVString"]]),W=new Set(["any","attribute","boolean","byte","ByteString","callback","const","creator","Date","deleter","dictionary","DOMString","double","enum","false","float","getter","implements","Infinity","inherit","interface","iterable","legacycaller","legacyiterable","long","maplike","NaN","null","object","octet","optional","or","partial","readonly","RegExp","required","sequence","setlike","setter","short","static","stringifier","true","typedef","unrestricted","unsigned","USVString","void"]),F=new Set(["attribute","callback","const","creator","deleter","dictionary","enum","getter","implements","inherit","interface","iterable","legacycaller","legacyiterable","maplike","partial","required","setlike","setter","static","stringifier","typedef","unrestricted"]),H=new Set(["required"]);var B,V={},G={};function z(e){return W.has(e)&&!F.has(e)?"_"+e:e}function Y(e){return W.has(e)&&!H.has(e)?"_"+e:e}function X(e){return W.has(e)?"_"+e:e}function Q(e,t){var n=e.obj,r=e.indent,i=0,a=0,o=0,l=0;n.members.forEach(function(e){if(!_(e.type)&&"maplike"!==e.type&&"iterable"!==e.type){var t=j(e.idlType).length;if("attribute"===e.type){var n=K(e).length;i=t>i?t:i,a=n>a?n:a}else"operation"===e.type?o=t>o?t:o:"const"===e.type&&(l=t>l?t:l)}});var s=n.members.map(function(e){switch(e.type){case"attribute":return n=i,s=r+1,u=a,c=j((t=e).idlType).length,d=n-c,f=K(t),f=(f+=N(u)).slice(0,u),p({obj:t,indent:s,qualifiers:f,pad:d});case"operation":return function(e,t,n){var r=e.arguments.filter(function(e){return!_(e.type)}).map(function(e){return L({obj:e,optional:e.optional?"optional ":"",variadic:e.variadic?"...":""})}),i=r.join(", "),a=j(e.idlType).length;e.static&&(a+=7);var o=["getter","setter","deleter","legacycaller","stringifier"],l="";for(var s in o)if(e[o[s]]){a+=(l=o[s]+" ").length;break}var u=t-a,c={obj:e,indent:n,static:e.static?"static ":"",special:l,pad:u,children:i},d=T(c),p=$(d).text();if(p.length>80){var f=p.indexOf("(")+1;c.children=r.join(",\n"+N(f)),d=T(c)}return d}(e,o,r+1);case"const":return function(e,t,n){var r=t-j(e.idlType).length;e.nullable&&r--;return h({obj:e,indent:n,pad:r,nullable:e.nullable?"?":""})}(e,l,r+1);case"maplike":return function(e,t){var n="";e.readonly&&(n+="readonly ");return k({obj:e,qualifiers:n,indent:t})}(e,r+1);case"iterable":return function(e,t){var n="";e.readonly&&(n+="readonly ");return C({obj:e,qualifiers:n,indent:t})}(e,r+1);case"ws":return Z(e);case"line-comment":return J(e,r+1);case"multiline-comment":return ee(e,r+1);default:throw new Error("Unexpected member type: `"+e.type+"`.")}var t,n,s,u,c,d,f}).join("");return x({obj:n,indent:r,partial:n.partial?"partial ":"",callback:t,children:s})}function K(e){var t="";return e.static&&(t+="static "),e.stringifier&&(t+="stringifier "),e.inherit&&(t+="inherit "),e.readonly&&(t+="readonly "),t}function Z(e){return/\n.*\n/.test(e.value)?"\n":""}function J(e,t){return E({indent:t,comment:e.value})}function ee(e,t){var n=e.value.split(/\r\n|\r|\n/);if(0===n.length)return"";if(1===n.length)return E({indent:t,comment:n[0]});var r=Math.max(0,/^ */.exec(n[1])[0].length-3);function i(e){return e.slice(r)}return S({indent:t,firstLine:n[0],lastLine:i(n[n.length-1]),innerLine:n.slice(1,-1).map(i)})}function te(e,n,r,i,a){const o=e,l=n;switch(e=e.toLowerCase(),i){case"operation":if(-1!==n.search("!overload")){n=n.toLowerCase();break}const t=n.toLowerCase()+"()",o=e+"."+n.toLowerCase()+"()";if(r[t]||r[o]){const i=r[t]?t:o,l=te(e,i,r,null,a);if(!l)break;const s=l[0].dataset.lt?l[0].dataset.lt.split("|"):[];return s.push(i,n),l[0].dataset.lt=s.join("|"),r[n]||(r[n]=[]),r[n].push(l),l}const l=te(e,n,r,null,a);if(!l)break;const s=l[0].dataset.lt?l[0].dataset.lt.split("|"):[];return s.push(t,n),l[0].dataset.lt=s.reverse().join("|"),r[t]=[l],l;case"enum":if(""===n){n="the-empty-string";break}default:n=n.toLowerCase()}if(A.has(n))return;var s=r[n],u=[];if(s&&0===(u=s.filter(t=>t[0].dataset.dfnFor===e)).length&&""===e&&1===s.length&&(u=s),0===u.length&&""!==e){var c=e+"."+n;void 0!==(s=r[c])&&1===s.length&&(u=s,delete r[c],u[0].attr("data-dfn-for",e),u[0].attr("data-lt",n),void 0===r[n]&&(r[n]=[]),r[n].push(u[0]))}if(u.length>1){const e=`Multiple \`<dfn>\`s for \`${l}\` ${o?`in \`${o}\``:""}`;(0,t.pub)("error",new Error(e))}if(0===u.length){if(i&&a&&!1===a.classList.contains("no-link-warnings")){var d=`No \`<dfn>\` for ${i} \`${l}\`${o?" in `"+o+"`":""}`;d+=". [More info](https://github.com/w3c/respec/wiki/WebIDL-thing-is-not-defined).",(0,t.pub)("warn",d)}return}const p=u[0][0],f="dom-"+(e?e+"-":"")+n.replace(/[()]/g,"");if(p.id=f,p.dataset.idl="",p.dataset.title=p.textContent,p.dataset.dfnFor=e,!p.querySelector("code")&&!p.closest("code")&&p.children){const e=p.ownerDocument.createElement("code");for(;p.hasChildNodes();)e.appendChild(p.firstChild);p.appendChild(e)}return u[0]}e.done=new Promise(function(e){B=e})}),define("core/biblio-db",["exports","core/pubsubhub"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.biblioDB=e.name=void 0;e.name="core/biblio-db";const n=new Set(["alias","reference"]),r=new Promise((e,t)=>{let n;try{n=window.indexedDB.open("respec-biblio2",12)}catch(e){return t(e)}n.onerror=(()=>{t(new DOMException(n.error.message,n.error.name))}),n.onsuccess=(()=>{e(n.result)}),n.onupgradeneeded=(async()=>{const r=n.result;Array.from(r.objectStoreNames).map(e=>r.deleteObjectStore(e));const i=[new Promise((e,t)=>{try{const n=r.createObjectStore("alias",{keyPath:"id"});n.createIndex("aliasOf","aliasOf",{unique:!1}),n.transaction.oncomplete=e,n.transaction.onerror=t}catch(e){t(e)}}),new Promise((e,t)=>{try{const n=r.createObjectStore("reference",{keyPath:"id"}).transaction;n.oncomplete=e,n.onerror=t}catch(e){t(e)}})];try{await Promise.all(i),e()}catch(e){t(e)}})});e.biblioDB={get ready(){return r},async find(e){return await this.isAlias(e)&&(e=await this.resolveAlias(e)),this.get("reference",e)},async has(e,t){if(!n.has(e))throw new TypeError("Invalid type: "+e);if(!t)throw new TypeError("id is required");const r=await this.ready;return new Promise((n,i)=>{var a=r.transaction([e],"readonly").objectStore(e),o=IDBKeyRange.only(t),l=a.openCursor(o);l.onsuccess=(()=>{n(!!l.result)}),l.onerror=(()=>{i(new DOMException(l.error.message,l.error.name))})})},async isAlias(e){if(!e)throw new TypeError("id is required");const t=await this.ready;return new Promise((n,r)=>{var i=t.transaction(["alias"],"readonly").objectStore("alias"),a=IDBKeyRange.only(e),o=i.openCursor(a);o.onsuccess=(()=>{n(!!o.result)}),o.onerror=(()=>{r(new DOMException(o.error.message,o.error.name))})})},async resolveAlias(e){if(!e)throw new TypeError("id is required");const t=await this.ready;return new Promise((n,r)=>{var i=t.transaction("alias","readonly").objectStore("alias"),a=IDBKeyRange.only(e),o=i.openCursor(a);o.onsuccess=(()=>{if(null===o.result)return n(null);n(o.result.value.aliasOf)}),o.onerror=(()=>{r(new DOMException(o.error.message,o.error.name))})})},async get(e,t){if(!n.has(e))throw new TypeError("Invalid type: "+e);if(!t)throw new TypeError("id is required");const r=await this.ready;return new Promise((n,i)=>{var a=r.transaction([e],"readonly").objectStore(e),o=IDBKeyRange.only(t),l=a.openCursor(o);l.onsuccess=(()=>{if(null===l.result)return n(null);n(l.result.value)}),l.onerror=(()=>{i(new DOMException(l.error.message,l.error.name))})})},async addAll(e){if(!e)return;const n={alias:new Set,reference:new Set};Object.keys(e).filter(n=>{if("string"==typeof e[n]){let e=`Legacy SpecRef entries are not supported: \`[[${n}]]\`. `;return e+="Please update it to the new format at [specref repo](https://github.com/tobie/specref/)",(0,t.pub)("error",e),!1}return!0}).map(t=>Object.assign({id:t},e[t])).reduce((e,t)=>(t.aliasOf?e.alias.add(t):e.reference.add(t),e),n);const r=Object.keys(n).map(e=>Array.from(n[e]).map(t=>this.add(e,t))).reduce((e,t)=>e.concat(t),[]);await Promise.all(r)},async add(e,t){if(!n.has(e))throw new TypeError("Invalid type: "+e);if("object"!=typeof t)throw new TypeError("details should be an object");if("alias"===e&&!t.hasOwnProperty("aliasOf"))throw new TypeError("Invalid alias object.");const r=await this.ready,i=await this.has(e,t.id);return new Promise((n,a)=>{const o=r.transaction([e],"readwrite").objectStore(e);var l=i?o.put(t):o.add(t);l.onsuccess=n,l.onerror=(()=>{a(new DOMException(l.error.message,l.error.name))})})},async close(){(await this.ready).close()}}}),define("core/biblio",["exports","core/biblio-db","core/utils","core/pubsubhub"],function(e,t,n,r){Object.defineProperty(e,"__esModule",{value:!0}),e.done=e.name=void 0,e.wireReference=function(e,t="_blank"){if("object"!=typeof e)throw new TypeError("Only modern object references are allowed");const n=Object.assign({},l,e),r=n.authors.join("; ")+(n.etAl?" et al":""),i=o.get(n.status)||n.status;return hyperHTML.wire(n)`
<cite>
<a
href="${n.href}"
target="${t}"
rel="noopener noreferrer">
${n.title.trim()}</a>.
</cite>
<span class="authors">
${s(r)}
</span>
<span class="publisher">
${s(n.publisher)}
</span>
<span class="pubDate">
${s(n.date)}
</span>
<span class="pubStatus">
${s(i)}
</span>
`},e.stringifyReference=c,e.resolveRef=async function e(t){const n=await f;if(!n.hasOwnProperty(t))return null;const r=n[t];if(r.aliasOf)return await e(r.aliasOf);return r},e.run=async function(e,n,i){e.localBiblio||(e.localBiblio={});if(e.biblio){let e="Overriding `.biblio` in config. Please use ";e+="`.localBiblio` for custom biblio entries.",(0,r.pub)("warn",e)}e.biblio={};const o=Array.from(Object.keys(e.localBiblio)).filter(t=>e.localBiblio[t].hasOwnProperty("aliasOf")).map(t=>e.localBiblio[t].aliasOf);l=e,Array.from(l.informativeReferences).filter(e=>l.normativeReferences.has(e)).forEach(e=>l.informativeReferences.delete(e));var l;const s=a(e),u=s.normativeReferences.concat(s.informativeReferences).filter(t=>!e.localBiblio.hasOwnProperty(t)).concat(o).reduce((e,t)=>(-1===e.indexOf(t)&&e.push(t),e),[]).sort(),d=[];try{await t.biblioDB.ready;const e=u.map(async e=>({id:e,data:await t.biblioDB.find(e)}));d.push(...await Promise.all(e))}catch(e){d.push(...u.map(e=>({id:e,data:null}))),console.warn(e)}const f={hasData:[],noData:[]};d.reduce((e,t)=>(t.data?e.hasData.push(t):e.noData.push(t),e),f),f.hasData.reduce((e,t)=>(e[t.id]=t.data,e),e.biblio);const m=f.noData.map(e=>e.id);if(m.length){const t=await h(m,{forceUpdate:!0});Object.assign(e.biblio,t)}Object.assign(e.biblio,e.localBiblio),function(e){var t={},n=a(e),i=n.informativeReferences,o=n.normativeReferences,l={};if(!i.length&&!o.length&&!e.refNote)return;var s=$("<section id='references' class='appendix'><h2>"+e.l10n.references+"</h2></section>").appendTo($("body"));e.refNote&&$("<p></p>").html(e.refNote).appendTo(s);for(var u=["Normative","Informative"],d=0;d<u.length;d++){var p=u[d],f="Normative"===p?o:i,h="Normative"===p?e.l10n.norm_references:e.l10n.info_references;if(f.length){var m=$("<section><h3></h3></section>").appendTo(s).find("h3").text(h).end();m.makeID(null,p+" references"),f.sort((e,t)=>e.toLowerCase().localeCompare(t.toLowerCase()));var g=$("<dl class='bibliography'></dl>").appendTo(m);e.doRDFa&&g.attr("resource","");for(var b=0;b<f.length;b++){var v=f[b];$("<dt></dt>").attr({id:"bib-"+v}).text("["+v+"]").appendTo(g);var y=$("<dd></dd>").appendTo(g),w=e.biblio[v],x={},C=v;for(x[v]=!0;w&&w.aliasOf;)if(x[w.aliasOf]){w=null;const e=`Circular reference in biblio DB between [\`${v}\`] and [\`${C}\`].`;(0,r.pub)("error",e)}else C=w.aliasOf,w=e.biblio[C],x[C]=!0;if(l[C]=l[C]||[],l[C].indexOf(v)<0&&l[C].push(v),w){if(y.html(c(w)+"\n"),e.doRDFa){var E=y.children("a");E.attr("property","Normative"===p?"dc:requires":"dc:references")}}else t[v]||(t[v]=0),t[v]++,y.html("<em style='color: #f00'>Reference not found.</em>\n")}}}for(var k in l)if(l[k].length>1){let e=`[${k}] is referenced in ${l[k].length} ways: `;e+=`(${l[k].map(e=>`'${e}'`).join(", ")}). This causes`,e+=" duplicate entries in the References section.",(0,r.pub)("warn",e)}for(var T in t){const e=`Bad reference: [\`${T}\`] (appears ${t[T]} times)`;t.hasOwnProperty(T)&&(0,r.pub)("error",e)}}(e),p(e.biblio),i(),await h(u)};e.name="core/biblio";const i=new URL("https://specref.herokuapp.com/bibrefs?refs=");function a(e){return{informativeReferences:Array.from(e.informativeReferences),normativeReferences:Array.from(e.normativeReferences)}}const o=new Map([["CR","W3C Candidate Recommendation"],["ED","W3C Editor's Draft"],["FPWD","W3C First Public Working Draft"],["LCWD","W3C Last Call Working Draft"],["NOTE","W3C Note"],["PER","W3C Proposed Edited Recommendation"],["PR","W3C Proposed Recommendation"],["REC","W3C Recommendation"],["WD","W3C Working Draft"],["WG-NOTE","W3C Working Group Note"]]),l=Object.freeze({authors:[],date:"",href:"",publisher:"",status:"",title:"",etAl:!1}),s=(u=".",e=>{const t=e.trim();return!t||t.endsWith(u)?t:t+u});var u;function c(e){if("string"==typeof e)return e;let t=`<cite>${e.title}</cite>`;(e.href&&(t=`<a href="${e.href}">${t}</a>. `),e.authors&&e.authors.length&&(t+=e.authors.join("; "),e.etAl&&(t+=" et al"),t+="."),e.publisher)&&(t=`${t} ${e.publisher+(/\.$/.test(e.publisher)?"":".")} `);return e.date&&(t+=e.date+". "),e.status&&(t+=(o.get(e.status)||e.status)+". "),e.href&&(t+=`URL: <a href="${e.href}">${e.href}</a>`),t}var d=(0,n.createResourceHint)({hint:"dns-prefetch",href:i.origin});let p;document.head.appendChild(d);const f=e.done=new Promise(e=>{p=e});async function h(e,n={forceUpdate:!1}){if(!e.length||!1===navigator.onLine)return;let r;try{r=await fetch(i.href+e.join(","))}catch(e){return console.error(e),null}if(!n.forceUpdate&&!r.ok||200!==r.status)return null;const a=await r.json();try{await t.biblioDB.addAll(a)}catch(e){console.error(e)}return a}}),define("core/data-cite",["exports","core/pubsubhub","core/biblio"],function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.name=void 0,e.run=async function(e){const t=r(e);Array.from(document.querySelectorAll(["dfn[data-cite], a[data-cite]"])).filter(e=>e.dataset.cite).map(t).forEach(({isNormative:t,key:n})=>{const r=t?e.normativeReferences:e.informativeReferences;r.add(n)})},e.linkInlineCitations=async function(e,i=respecConfig){const a=function(e){const i=r(e);return async function(r){const a=r.dataset.cite;let{key:o,frag:l,path:s}=i(r),u="";if(o===e.shortName)u=document.location.href;else{const e=await(0,n.resolveRef)(o);if(d=r,["data-cite","data-cite-frag"].filter(e=>d.hasAttribute(e)).forEach(e=>d.removeAttribute(e)),!e){var c=`Couldn't find a match for 'data-cite=${a}'.`;return console.warn(c,r),c+=" Please check developer console for offending element.",void(0,t.pub)("warn",c)}u=e.href}var d;switch(s&&(u=new URL(s,u).href),l&&(u=new URL(l,u).href),r.localName){case"a":r.href=u;break;case"dfn":{const e=r.ownerDocument.createElement("a");for(e.href=u;r.firstChild;)e.appendChild(r.firstChild);r.appendChild(e,r);break}}}}(i),o=e.querySelectorAll("dfn[data-cite], a[data-cite]"),l=Array.from(o).map(a);return await Promise.all(l)};e.name="core/data-cite";function r(e){return function t(n){const{dataset:r}=n;let{cite:i,citeFrag:a,citePath:o}=r;const l=i.startsWith("!"),s=i.search("/"),u=i.search("#");if(i.startsWith("#")&&!a){const r=n.parentElement.closest('[data-cite]:not([data-cite^="#"])'),{key:a,isNormative:o}=r?t(r):{key:e.shortName||"",isNormative:!1};return n.dataset.cite=o?`!${a}`:a,n.dataset.citeFrag=i,t(n)}return-1!==u&&(a=a||i.substr(u),i=i.substring(0,u)),-1!==s&&(o=o||i.substr(s),i=i.substring(0,s)),l&&(i=i.substr(1)),a&&!a.startsWith("#")&&(a="#"+a),o&&o.startsWith("/")&&(o=o.substr(1)),{key:i,isNormative:l,frag:a,path:o}}}}),define("core/webidl-index",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.run=function(e,t,n){const r=t.querySelector("section#idl-index");if(!r)return n();const i=[2,3,4,5,6].map(e=>`h${e}:first-child`).join(",");if(!r.querySelector(i)){const e=document.createElement("h2");r.title?(e.innerHTML=r.title,r.removeAttribute("title")):e.innerHTML="IDL Index",r.insertAdjacentElement("afterbegin",e)}if(!document.querySelector("pre.idl")){const e="This specification doesn't declare any Web IDL.",t=document.createTextNode(e);return r.appendChild(t),n()}const a=document.createDocumentFragment(),o=document.createElement("pre");o.classList.add("idl","def"),o.id="actual-idl-index",Array.from(document.querySelectorAll("pre.def.idl")).map(e=>{const t=document.createElement("span"),n=e.cloneNode(!0).firstElementChild;return t.appendChild(n),t.appendChild(document.createTextNode("\n")),t.classList.add("respec-idl-separator"),t}).reduce((e,t)=>(e.appendChild(t),e),o),Array.from(o.querySelectorAll("*[id]")).forEach(e=>e.removeAttribute("id")),a.appendChild(o),r.appendChild(a),n()};e.name="core/webidl-index"}),define("core/link-to-dfn",["exports","core/data-cite","core/pubsubhub"],function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.name=void 0,e.run=function(e,r,i){r.normalize();var a={};Object.keys(e.definitionMap).forEach(function(t){a[t]={},e.definitionMap[t].forEach(function(e){void 0===e.attr("data-idl")&&e.removeAttr("data-dfn-for");var r=e.attr("data-dfn-for")||"";if(r in a[t]){var i=0!==a[t][r].filter("dfn").length,o=0!==e.filter("dfn").length;if(i&&o&&(0,n.pub)("error","Duplicate definition of '"+(r?r+"/":"")+t+"'"),i)return}a[t][r]=e,void 0===e.attr("id")&&(e.attr("data-idl")?e.makeID("dom",(r?r+"-":"")+t):e.makeID("dfn",t))})}),$("a:not([href]):not([data-cite]):not(.logo)").each(function(){var e=$(this);if(!e.hasClass("externalDFN")){var t=e.linkTargets(),r=t.some(function(t){if(a[t.title]&&a[t.title][t.for_]){var n=a[t.title][t.for_];if(n[0].dataset.cite)e[0].dataset.cite=n[0].dataset.cite;else{const t="#"+encodeURIComponent(n.prop("id"));e.attr("href",t).addClass("internalDFN")}if(e.attr("data-link-type")||e.attr("data-link-type","dfn"),n.closest("code,pre").length||1===n.contents().length&&1===n.children("code").length){const t=e[0].textContent.trim(),r=n[0].dataset.hasOwnProperty("idl"),i=r?n[0].dataset.title===t:n[0].textContent.trim()===t;if(r&&!i)return!0;e.wrapInner("<code></code>")}return!0}return!1});if(!r){if(!e.parents(".idl:not(.extAttr), dl.methods, dl.attributes, dl.constants, dl.constructors, dl.fields, dl.dictionary-members, span.idlMemberType, span.idlTypedefType, div.idlImplementsDesc").length){var i=t[0].for_,o=t[0].title;return this.classList.add("respec-offending-element"),this.title="Linking error: not matching <dfn>",(0,n.pub)("warn","Found linkless <a> element "+(i?"for '"+i+"' ":"")+"with text '"+o+"' but no matching `<dfn>`."),void console.warn("Linkless element:",e[0])}e.replaceWith(e.contents())}}}),(0,t.linkInlineCitations)(r,e).then(function(){function e(e){return function(t){var n=t.getAttribute(e);t.removeAttribute(e),t.setAttribute("data-"+e,n)}}var t=r.querySelectorAll("*[for]");Array.prototype.forEach.call(t,e("for"));var a=r.querySelectorAll("*[dfn-for]");Array.prototype.forEach.call(a,e("dfn-for"));var o=r.querySelectorAll("*[link-for]");Array.prototype.forEach.call(o,e("link-for")),(0,n.pub)("end","core/link-to-dfn"),i()})};e.name="core/link-to-dfn"}),define("core/contrib",["exports","core/github","core/pubsubhub"],function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.name=void 0,e.run=async function(e,a,o){var l=a.querySelector("#gh-commenters"),s=a.querySelector("#gh-contributors");if(!l&&!s)return o();if(!e.githubAPI){var u=[];return l&&u.push("#"+l.id),s&&u.push("#"+s.id),(0,n.pub)("error","Requested list of contributors and/or commenters from GitHub ("+u.join(" and ")+") but config.githubAPI is not set."),void o()}(0,t.fetch)(e.githubAPI).then(function(e){return $.when((0,t.fetchIndex)(e.issues_url),(0,t.fetchIndex)(e.issue_comment_url),(0,t.fetchIndex)(e.contributors_url))}).then(function(e,t,n){var a=respecConfig.editors.map(r("name")),o=function(...e){var t={};return e.forEach(function(e){e.forEach(function(e){e.user&&(t[e.user.url]=!0)})}),Object.keys(t)}(e,t);return n=n.map(r("url")),$.when(i(o,a,l),i(n,a,s))}).then(o,function(e){(0,n.pub)("error","Error loading contributors and/or commenters from Error: "+e),o()})};e.name="core/contrib";function r(e){return function(t){return t[e]}}function i(e,n,r){return $.when.apply($,e.map(function(e){return(0,t.fetch)(e)})).then(function(...e){var t=e.map(function(e){return(e=e[0]).name||e.login}).filter(function(e){return n.indexOf(e)<0});t.sort(function(e,t){return e.toLowerCase().localeCompare(t.toLowerCase())}),$(r).html(function(e){if(!e.length)return"";var t=(e=e.slice(0)).pop(),n=e.length;return 0===n?t:1===n?e[0]+" and "+t:e.join(", ")+", and "+t}(t)).attr("id",null)})}}),define("core/fix-headers",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.run=function(e,t,n){$("section:not(.introductory)",t).find("h1:first, h2:first, h3:first, h4:first, h5:first, h6:first").each(function(){var e=$(this).parents("section").length+1;e>6&&(e=6);var t="h"+e;this.localName.toLowerCase()!==t&&$(this).renameElement(t)}),n()};e.name="core/fix-headers"}),define("core/structure",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.run=function(e,a,o){"tocIntroductory"in e==!1&&(e.tocIntroductory=!1);"maxTocLevel"in e==!1&&(e.maxTocLevel=0);var l=$("section:not(.introductory)",a).find("h1:first, h2:first, h3:first, h4:first, h5:first, h6:first").toArray().filter(e=>null===e.closest("section.introductory"));if(!(l=$(l)).length)return o();if(l.each(function(){var e=$(this).parents("section").length+1;e>6&&(e=6);var t="h"+e;this.localName.toLowerCase()!==t&&$(this).renameElement(t)}),!e.noTOC){var s=function e(a,o,l,s,u){var c=a.children(u.tocIntroductory?"section":"section:not(.introductory)");if(0===c.length)return null;var d=$("<ol class='toc'></ol>");for(var p=0;p<c.length;p++){var f=$(c[p],o),h=f.hasClass("introductory"),m=f.hasClass("notoc");if(f.children().length&&!m){var g=f.children()[0],b=g.localName.toLowerCase();if("h2"===b||"h3"===b||"h4"===b||"h5"===b||"h6"===b){var v=g.textContent,y=$("<div></div>").append($(g).contents().clone());y.find("a").renameElement("span").attr("class","formerLink").removeAttr("href"),y.find("dfn").renameElement("span").removeAttr("id");var w=g.id?g.id:f.makeID(null,v);h||l[l.length-1]++;var x=l.slice();f.hasClass("appendix")&&1===l.length&&!n&&(r=l[0],n=!0),n&&(x[0]=i.charAt(l[0]-r));var C=x.join("."),E=1==x.length;E&&(C+=".",$(g).before(document.createComment("OddPage")));var k=$("<span class='secno'></span>").text(C+" ");h||$(g).prepend(k),t[w]=(h?"":"<span class='secno'>"+C+"</span> ")+"<span class='sec-title'>"+v+"</span>";var T=$("<a/>").attr({href:"#"+w,class:"tocxref"}).append(h?"":k.clone()).append(y.contents()),S=$("<li class='tocline'/>").append(T);(0===u.maxTocLevel||s<=u.maxTocLevel)&&d.append(S),l.push(0);var L=e(f,o,l,s+1,u);L&&S.append(L),l.pop()}}}return d}($("body",a),a,[0],1,e);if(!s)return;var u=a.createElement("nav");u.id="toc",u.innerHTML="<h2 class='introductory'>"+e.l10n.toc+"</h2>",u.appendChild(s[0]);var c=$("#toc",a),d=!1;c.length&&(d=!0),c.length||(c=$("#sotd",a)),c.length||(c=$("#abstract",a)),d?c.replaceWith(u):c.after(u);var p=$("<p role='navigation' id='back-to-top'><a href='#toc'><abbr title='Back to Top'>↑</abbr></a></p>");$("body").append(p)}$("a[href^='#']:not(.tocxref)",a).each(function(){var e=$(this);if(""===e.html()){var n=e.attr("href").slice(1);t[n]&&(e.addClass("sec-ref"),e.html((e.hasClass("sectionRef")?"section ":"")+t[n]))}}),o()};var t={},n=!1,r=0,i="ABCDEFGHIJKLMNOPQRSTUVWXYZ";e.name="core/structure"}),define("w3c/informative",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.run=function(e,t,n){$("section.informative").find("> h2:first, > h3:first, > h4:first, > h5:first, > h6:first").after("<p><em>This section is non-normative.</em></p>"),n()};e.name="w3c/informative"}),define("w3c/permalinks",["exports","templates"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.name=void 0,e.run=function(e,t,n){if(!e.includePermalinks)return n();const i=r.default["permalinks.css"];var a=e.permalinkSymbol||"§",o="<style>"+i(e)+"</style>";$(t).find("head link").first().before(o),$(t).find("h2, h3, h4, h5, h6").each(function(t,n){var r=$(n);if(!r.hasClass("nolink")){var i=r.attr("id"),o=r.parent();if((o.is("section")||o.is("div"))&&(i=o.hasClass("introductory")||o.hasClass("nolink")?null:o.attr("id")),null!==i){var l=$("<span></span>");l.attr("class","permalink"),e.doRDFa&&l.attr("typeof","bookmark");var s=r.text(),u=$("<a></a>");u.attr({href:"#"+i,"aria-label":"Permalink for "+s,title:"Permalink for "+s}),e.doRDFa&&u.attr("property","url");var c=$("<span></span>");e.doRDFa&&c.attr({property:"title",content:s}),c.append(a),u.append(c),l.append(u),e.permalinkEdge||r.append(" "),r.append(l)}}}),n()};var n,r=(n=t)&&n.__esModule?n:{default:n};e.name="w3c/permalinks"}),define("core/id-headers",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.run=function(e,t,n){Array.from(document.querySelectorAll("h2:not([id]), h3:not([id]), h4:not([id]), h5:not([id]), h6:not([id])")).forEach(e=>{$(e).makeID()}),n()};e.name="core/id-headers"}),define("core/rdfa",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.run=function(e,t,n){if(!e.doRDFa)return n();const r=$("#abstract",t);if(r.length){var i="dc:abstract",a=r.attr("property");a&&(i=a+" "+i),r.attr({property:i})}$("section,nav").each(function(){var e=$(this),t="",n=e.children("h1,h2,h3,h4,h5,h6").first(),r=e.attr("id"),i=null;r?t="#"+r:n.length&&(r=n.attr("id"))&&(t="#"+r,i=r);t.match(/#(abstract|sotd|toc)$/)||e.attr({typeof:"bibo:Chapter",resource:t,property:"bibo:hasPart"}),n.length&&(i||(i=n.makeID("h",r)),n.attr({resource:"#"+i}),n.wrapInner("<span property='xhv:role' resource='xhv:heading'></span>"))}),n()};e.name="core/rdfa"}),define("core/location-hash",["exports","core/pubsubhub"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.name=void 0,e.run=function(e,n,r){(0,t.pub)("start","core/location-hash");let i="";try{i=decodeURIComponent(window.location.hash).substr(1)}catch(e){i=""}if(!i&&!window.pageYOffset)return r();const a=!!n.getElementById(i),o=/\W/.test(i);if(!a&&o){const e=i.replace(/[\W]+/gim,"-").replace(/^-+/,"").replace(/-+$/,"");document.getElementById(e)&&(i=e)}window.location.hash=`#${i}`,r()};e.name="core/location-hash"}),define("ui/save-html",["exports","core/utils","core/pubsubhub","core/ui","core/l10n"],function(e,t,n,r,i){Object.defineProperty(e,"__esModule",{value:!0}),e.name=void 0,e.exportDocument=function(e,t){return document.respecIsReady.then(()=>{const n=s(u(e),t),r=n.replace(/^data:\w+\/\w+;charset=utf-8,/,""),i=decodeURIComponent(r);return i})},e.show=function(){if(!o)return;f.show(l)};e.name="ui/save-html";const a=[{id:"respec-save-as-html",title:"HTML",get href(){return s(u())},fileName:"index.html"},{id:"respec-save-as-xml",fileName:"index.xhtml",title:"XML",type:"application/xml",get href(){return s(u("xml"),this.type)}},{id:"respec-save-as-epub",fileName:"spec.epub",title:"EPUB 3",type:"application/epub+zip",href:function(){const e=new URL("https://labs.w3.org/epub-generator/cgi-bin/epub-generator.py"),t=new URLSearchParams({type:"respec",url:document.location.href});return`${e}?${t}`}()}],o="download"in document.createElement("a");let l;function s(e,t="text/html"){return`data:${t};charset=utf-8,${encodeURIComponent(e)}`}function u(e="html"){const r=document.cloneNode(!0);!function(e){const{head:r,body:i,documentElement:a}=e;Array.from(e.querySelectorAll(".removeOnSave, #toc-nav")).forEach(e=>e.remove()),i.classList.remove("toc-sidebar"),(0,t.removeReSpec)(a);const o=e.createDocumentFragment(),l=e.querySelector("meta[name='viewport']");l&&r.firstChild!==l&&o.appendChild(l);let s=e.querySelector("meta[charset], meta[content*='charset=']");s||(s=e.createElement("meta")).setAttribute("charset","utf-8");o.appendChild(s);const u=e.createElement("meta");u.name="generator",u.content="ReSpec "+window.respecVersion||"Developer Channel",o.appendChild(u),r.insertBefore(o,r.firstChild),(0,n.pub)("beforesave",a)}(r);let i="";switch(e){case"xml":i=(new XMLSerializer).serializeToString(r);break;default:r.doctype&&(i+=(new XMLSerializer).serializeToString(r.doctype)),i+=r.documentElement.outerHTML}return i}function c({id:e,href:t,fileName:n,title:i,type:a=""}={type:""}){const o=document.createElement("a");o.classList.add("respec-save-button"),o.id=e,o.href=t,o.download=n,o.type=a,o.addEventListener("click",()=>{r.ui.closeModal()});const l=hyperHTML.bind(o);return l`
${i}
`}o&&(l=r.ui.addCommand(i.l10n[i.lang].save_snapshot,"ui/save-html","Ctrl+Shift+Alt+S","💾"));const d=document.createElement("div");d.classList.add("respec-save-buttons");const p=hyperHTML.bind(d),f={show(e){document.respecIsReady.then(()=>{p`
${a.map(c)}
`,r.ui.freshModal(i.l10n[i.lang].save_snapshot,d,e)})}}}),define("ui/search-specref",["exports","core/ui","core/biblio","core/l10n"],function(e,t,n,r){Object.defineProperty(e,"__esModule",{value:!0}),e.show=void 0;const i=t.ui.addCommand(r.l10n[r.lang].search_specref,"ui/search-specref","Ctrl+Shift+Alt+space","🔎"),a="https://specref.herokuapp.com/",o=`${a}search-refs`,l=`${a}reverse-lookup`,s=document.createElement("form"),u=window.hyperHTML.bind(s),c=hyperHTML.bind(document.createElement("div"));function d([e,t]){return hyperHTML.wire(t)`
<dt>
[${e}]
</dt>
<dd>${(0,n.wireReference)(t)}</dd>
`}s.id="specref-ui",s.addEventListener("submit",async e=>{e.preventDefault();const{searchBox:t}=s,n=t.value;if(!n)return void t.focus();f({state:"Searching Specref…"});const r=new URL(o);r.searchParams.set("q",n);const i=new URL(l);i.searchParams.set("urls",n);try{const e=performance.now(),a=await Promise.all([fetch(r).then(e=>e.json()),fetch(i).then(e=>e.json())]),{checked:o}=s.includeVersions;f({query:n,results:function({includeVersions:e}={includeVersions:!1}){return(...t)=>{const n=t.reduce((e,t)=>Object.assign(e,t),{}),r=new Map(Object.entries(n));return Array.from(r.entries()).filter(([,e])=>e.aliasOf).map(([e])=>e).reduce((e,t)=>e.delete(t)&&e,r),e||Array.from(r.values()).filter(e=>"object"==typeof e&&"versions"in e).reduce((e,t)=>e.concat(t.versions),[]).forEach(e=>{r.delete(e)}),Array.from(r.entries()).filter(([,e])=>"object"!=typeof e).reduce((e,[t])=>r.delete(t)&&r,r),r}}({includeVersions:o})(...a),state:"",timeTaken:Math.round(performance.now()-e)/1e3})}catch(e){console.error(e),f({state:"Error! Couldn't do search."})}finally{t.focus()}});const p=hyperHTML.wire()`
<header>
<p>
An Open-Source, Community-Maintained Database of
Web Standards & Related References.
</p>
</header>
<div class="searchcomponent">
<input
name="searchBox"
type="search"
autocomplete="off"
placeholder="Keywords, titles, authors, urls…">
<button
type="submit">
Search
</button>
<label>
<input type="checkbox" name="includeVersions"> Include all versions.
</label>
</div>
`;function f({state:e,results:t,timeTaken:n,query:r}={state:""}){t?u`
<div>${p}</div>
<p class="state" hidden="${!e}">
${e}
</p>
<section hidden="${!t}">${t?function(e,t,n){if(!e.size)return c`
<p class="state">
Your search - <strong> ${t} </strong> -
did not match any references.
</p>
`;const r=Array.from(e.entries()).slice(0,99).map(d).reduce((e,t)=>e.concat(t),[]);return c`
<p class="result-stats">
${e.size} results (${n} seconds).
${e.size>99?"First 100 results.":""}
</p>
<dl class="specref-results">${r}</dl>
`}(t,r,n):[]}</section>
`:u`<div>${p}</div>`}e.show=function(){f(),t.ui.freshModal(r.l10n[r.lang].search_specref,s,i),s.querySelector("input[type=search]").focus()}}),define("ui/dfn-list",["exports","core/ui","core/l10n","deps/hyperhtml"],function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.show=void 0;const r=t.ui.addCommand(n.l10n[n.lang].definition_list,"ui/dfn-list","Ctrl+Shift+Alt+D","📔"),i=document.createElement("ul");i.classList.add("respec-dfn-list");const a=window.hyperHTML.bind(i);i.addEventListener("click",e=>{t.ui.closeModal(),e.stopPropagation()}),e.show=function(){a`${Object.entries(respecConfig.definitionMap).sort(([e],[t])=>e.localeCompare(t)).map(([e,t])=>{const[n]=t[0];return window.hyperHTML.wire(n,":li>a")`
<li>
<a href="${"#"+n.id}">
${n.textContent}
</a>
</li>
`})}`,t.ui.freshModal(n.l10n[n.lang].list_of_definitions,i,r)}}),define("ui/about-respec",["exports","core/ui","core/l10n","deps/hyperhtml"],function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.show=void 0,window.respecVersion=window.respecVersion||"Developer Edition";const r=document.createElement("div"),i=hyperHTML.bind(r),a=t.ui.addCommand(`About ${window.respecVersion}`,"ui/about-respec","Ctrl+Shift+Alt+A","ℹ️");function o({name:e,duration:t}){const n=hyperHTML.bind(document.createElement("tr"));return n`
<td>
<a href="${`https://github.com/w3c/respec/tree/develop/src/${e}.js`}">
${e}
</a>
</td>
<td>
${t}
</td>
`}e.show=function(){t.ui.freshModal(`${n.l10n[n.lang].about_respec} - ${window.respecVersion}`,r,a);let e=[];"getEntriesByType"in performance&&performance.getEntriesByType("measure").sort((e,t)=>t.duration-e.duration).map(({name:e,duration:t})=>{const n=t.toFixed(2);return{name:e,duration:n>1e3?`${Math.round(n/1e3)} second(s)`:`${n} milliseconds`}}).map(o).reduce((e,t)=>(e.push(t),e),e),i`
<p>
ReSpec is a document production toolchain, with a notable focus on W3C specifications.
</p>
<p>
<a href='https://github.com/w3c/respec/wiki'>Documentation</a>,
<a href='https://github.com/w3c/respec/issues'>Bugs</a>.
</p>
<table border="1" width="100%" hidden="${!e.length}">
<caption>
Loaded plugins
</caption>
<thead>
<tr>
<th>
Plugin Name
</th>
<th>
Processing time
</th>
</tr>
</thead>
<tbody>${e}</tbody>
</table>
`}}),define("core/seo",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.run=async function(e,t,n){n(),await t.respecIsReady;const r=t.querySelector("#abstract p:first-of-type");if(!r)return;const i=(a=r,()=>{const e=a.ownerDocument,t=a.textContent.replace(/\s+/," ").trim(),n=e.createElement("meta");n.name="description",n.content=t,e.head.appendChild(n)});var a;window.requestIdleCallback?window.requestIdleCallback(i):i()};e.name="core/seo"}),define("w3c/seo",["exports","core/pubsubhub"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.name=void 0,e.run=function(e,n,r){var i=e.shortName?"https://www.w3.org/TR/"+e.shortName+"/":null;switch(e.canonicalURI){case"edDraft":e.edDraftURI?e.canonicalURI=new URL(e.edDraftURI,n.location).href:((0,t.pub)("warn","Canonical URI set to edDraft, but no edDraftURI is set in configuration"),e.canonicalURI=null);break;case"TR":i?e.canonicalURI=i:((0,t.pub)("warn","Canonical URI set to TR, but no shortName is set in configuration"),e.canonicalURI=null);break;default:if(e.canonicalURI)try{e.canonicalURI=new URL(e.canonicalURI,n.location).href}catch(n){(0,t.pub)("warn","CanonicalURI is an invalid URL: "+n.message),e.canonicalURI=null}else i&&(e.canonicalURI=i)}if(e.canonicalURI){var a=n.createElement("link");a.setAttribute("rel","canonical"),a.setAttribute("href",e.canonicalURI),n.head.appendChild(a)}r()};e.name="w3c/seo"}),define("deps/text!core/css/github.css",[],function(){return"/*\n\ngithub.com style (c) Vasily Polovnyov <vast@whiteants.net>\n\n*/\n\n.hljs {\n display: block;\n overflow-x: auto;\n padding: 0.5em;\n color: #333;\n background: #f8f8f8;\n}\n\n.hljs-comment,\n.hljs-quote {\n color: #998;\n font-style: italic;\n}\n\n.hljs-keyword,\n.hljs-selector-tag,\n.hljs-subst {\n color: #333;\n font-weight: bold;\n}\n\n.hljs-number,\n.hljs-literal,\n.hljs-variable,\n.hljs-template-variable,\n.hljs-tag .hljs-attr {\n color: #008080;\n}\n\n.hljs-string,\n.hljs-doctag {\n color: #d14;\n}\n\n.hljs-title,\n.hljs-section,\n.hljs-selector-id {\n color: #900;\n font-weight: bold;\n}\n\n.hljs-subst {\n font-weight: normal;\n}\n\n.hljs-type,\n.hljs-class .hljs-title {\n color: #458;\n font-weight: bold;\n}\n\n.hljs-tag,\n.hljs-name,\n.hljs-attribute {\n color: #000080;\n font-weight: normal;\n}\n\n.hljs-regexp,\n.hljs-link {\n color: #009926;\n}\n\n.hljs-symbol,\n.hljs-bullet {\n color: #990073;\n}\n\n.hljs-built_in,\n.hljs-builtin-name {\n color: #0086b3;\n}\n\n.hljs-meta {\n color: #999;\n font-weight: bold;\n}\n\n.hljs-deletion {\n background: #fdd;\n}\n\n.hljs-addition {\n background: #dfd;\n}\n\n.hljs-emphasis {\n font-style: italic;\n}\n\n.hljs-strong {\n font-weight: bold;\n}\n"}),define("deps/text!core/../../worker/respec-worker.js",[],function(){return'// ReSpec Worker v0.1.1\n"use strict";\ntry {\n importScripts("https://www.w3.org/Tools/respec/respec-highlight.js");\n hljs.configure({\n tabReplace: " ", // 2 spaces\n languages: ["abnf", "css", "http", "javascript", "json", "markdown", "xml"],\n });\n} catch (err) {\n console.error("Network error loading/configuring highlighter", err);\n}\n\nself.addEventListener("message", ({ data: originalData }) => {\n const data = Object.assign({}, originalData);\n switch (data.action) {\n case "highlight":\n const { code } = data;\n const langs = data.languages.length ? data.languages : undefined;\n try {\n const { value, language } = self.hljs.highlightAuto(code, langs);\n Object.assign(data, { value, language });\n } catch (err) {\n console.error("Could not transform some code?", err);\n // Post back the original code\n Object.assign(data, { value: code, language: "" });\n }\n }\n self.postMessage(data);\n});\n'}),define("core/worker",["exports","core/utils","deps/text!../../worker/respec-worker.js"],function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.worker=e.name=void 0;var r,i=(r=n)&&r.__esModule?r:{default:r};e.name="core/worker";const a=(0,t.createResourceHint)({hint:"preload",href:"https://www.w3.org/Tools/respec/respec-highlight.js",as:"script"});document.head.appendChild(a);const o=URL.createObjectURL(new Blob([i.default],{type:"application/javascript"}));e.worker=new Worker(o)}),define("core/highlight",["exports","deps/text!core/css/github.css","core/worker"],function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.name=void 0,e.run=async function(e){if(e.noHighlightCSS)return void a.remove();const t=Array.from(document.querySelectorAll("pre:not(.idl):not(.nohighlight), code.highlight"));if(0===t.length)return void a.remove();const r=t.map((e,t)=>new Promise(r=>{if(""===e.textContent.trim())return r();const a=()=>{e.setAttribute("aria-busy","false"),r()},o=setTimeout(()=>{console.error("Timed-out waiting for highlight:",e),a()},4e3),l={action:"highlight",code:e.textContent,id:`highlight:${t}`,languages:(i=e.classList,Array.from(i).filter(e=>"highlight"!==e&&"nolinks"!==e).map(e=>e.toLowerCase()))};n.worker.addEventListener("message",function t(r){const{data:{id:i,code:s,language:u,value:c}}=r;i===l.id&&(e.innerHTML=c,"pre"===e.localName&&e.classList.add("hljs"),u&&e.classList.add(u),clearTimeout(o),n.worker.removeEventListener("message",t),a())}),e.setAttribute("aria-busy","true"),n.worker.postMessage(l)}));var i;await Promise.all(r)};var r,i=(r=t)&&r.__esModule?r:{default:r};e.name="core/highlight";const a=document.createElement("style");a.textContent=i.default,document.head.appendChild(a)}),define("deps/text!core/images/clipboard.svg",[],function(){return'<svg height="16" viewBox="0 0 14 16" width="14"><path fill-rule="evenodd" d="M2 13h4v1H2v-1zm5-6H2v1h5V7zm2 3V8l-3 3 3 3v-2h5v-2H9zM4.5 9H2v1h2.5V9zM2 12h2.5v-1H2v1zm9 1h1v2c-.02.28-.11.52-.3.7-.19.18-.42.28-.7.3H1c-.55 0-1-.45-1-1V4c0-.55.45-1 1-1h3c0-1.11.89-2 2-2 1.11 0 2 .89 2 2h3c.55 0 1 .45 1 1v5h-1V6H1v9h10v-2zM2 5h8c0-.55-.45-1-1-1H8c-.55 0-1-.45-1-1s-.45-1-1-1-1 .45-1 1-.45 1-1 1H3c-.55 0-1 .45-1 1z"/></svg>'}),function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define("deps/clipboard",[],e);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Clipboard=e()}}(function(){return function e(t,n,r){function i(o,l){if(!n[o]){if(!t[o]){var s="function"==typeof require&&require;if(!l&&s)return s(o,!0);if(a)return a(o,!0);var u=new Error("Cannot find module '"+o+"'");throw u.code="MODULE_NOT_FOUND",u}var c=n[o]={exports:{}};t[o][0].call(c.exports,function(e){var n=t[o][1][e];return i(n||e)},c,c.exports,e,t,n,r)}return n[o].exports}for(var a="function"==typeof require&&require,o=0;o<r.length;o++)i(r[o]);return i}({1:[function(e,t,n){var r=9;if("undefined"!=typeof Element&&!Element.prototype.matches){var i=Element.prototype;i.matches=i.matchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.webkitMatchesSelector}t.exports=function(e,t){for(;e&&e.nodeType!==r;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}},{}],2:[function(e,t,n){var r=e("./closest");t.exports=function(e,t,n,i,a){var o=function(e,t,n,i){return function(n){n.delegateTarget=r(n.target,t),n.delegateTarget&&i.call(e,n)}}.apply(this,arguments);return e.addEventListener(n,o,a),{destroy:function(){e.removeEventListener(n,o,a)}}}},{"./closest":1}],3:[function(e,t,n){n.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},n.nodeList=function(e){var t=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===t||"[object HTMLCollection]"===t)&&"length"in e&&(0===e.length||n.node(e[0]))},n.string=function(e){return"string"==typeof e||e instanceof String},n.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},{}],4:[function(e,t,n){var r=e("./is"),i=e("delegate");t.exports=function(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!r.string(t))throw new TypeError("Second argument must be a String");if(!r.fn(n))throw new TypeError("Third argument must be a Function");if(r.node(e))return p=t,f=n,(d=e).addEventListener(p,f),{destroy:function(){d.removeEventListener(p,f)}};if(r.nodeList(e))return s=e,u=t,c=n,Array.prototype.forEach.call(s,function(e){e.addEventListener(u,c)}),{destroy:function(){Array.prototype.forEach.call(s,function(e){e.removeEventListener(u,c)})}};if(r.string(e))return a=e,o=t,l=n,i(document.body,a,o,l);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList");var a,o,l,s,u,c,d,p,f}},{"./is":3,delegate:2}],5:[function(e,t,n){t.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),i=document.createRange();i.selectNodeContents(e),r.removeAllRanges(),r.addRange(i),t=r.toString()}return t}},{}],6:[function(e,t,n){function r(){}r.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function i(){r.off(e,i),t.apply(n,arguments)}return i._=t,this.on(e,i,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,i=n.length;r<i;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],i=[];if(r&&t)for(var a=0,o=r.length;a<o;a++)r[a].fn!==t&&r[a].fn._!==t&&i.push(r[a]);return i.length?n[e]=i:delete n[e],this}},t.exports=r},{}],7:[function(e,t,n){!function(r,i){if(void 0!==n)i(t,e("select"));else{var a={exports:{}};i(a,r.select),r.clipboardAction=a.exports}}(this,function(e,t){var n,r=(n=t)&&n.__esModule?n:{default:n};var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.resolveOptions(t),this.initSelection()}return a(e,[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action=e.action,this.container=e.container,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var e=this,t="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,r.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,r.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!==(void 0===e?"undefined":i(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function(){return this._target}}]),e}();e.exports=o})},{select:5}],8:[function(e,t,n){!function(r,i){if(void 0!==n)i(t,e("./clipboard-action"),e("tiny-emitter"),e("good-listener"));else{var a={exports:{}};i(a,r.clipboardAction,r.tinyEmitter,r.goodListener),r.clipboard=a.exports}}(this,function(e,t,n,r){var i=l(t),a=l(n),o=l(r);function l(e){return e&&e.__esModule?e:{default:e}}var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var c=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return r.resolveOptions(n),r.listenClick(e),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default),u(t,[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===s(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=(0,o.default)(e,"click",function(e){return t.onClick(e)})}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new i.default({action:this.action(t),target:this.target(t),text:this.text(t),container:this.container,trigger:t,emitter:this})}},{key:"defaultAction",value:function(e){return d("action",e)}},{key:"defaultTarget",value:function(e){var t=d("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return d("text",e)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach(function(e){n=n&&!!document.queryCommandSupported(e)}),n}}]),t}();function d(e,t){var n="data-clipboard-"+e;if(t.hasAttribute(n))return t.getAttribute(n)}e.exports=c})},{"./clipboard-action":7,"good-listener":4,"tiny-emitter":6}]},{},[8])(8)}),define("core/webidl-clipboard",["exports","deps/text!core/images/clipboard.svg","deps/clipboard"],function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.name=void 0,e.run=async function(e,t,n){Array.from(t.querySelectorAll("pre.idl")).map(e=>{const t=o.cloneNode(!0),n=e.querySelector('span[id^="idl-def-"], span[id^="dom-"]');let r="#";return null===n&&""===e.id?"idl-index"===e.parentElement.id?r+="actual-idl-index":(e.id=`idl-${String(Math.random()).substr(2)}`,r+=e.id):r+=e.id||n.id,{button:t,elem:e,target:r}}).forEach(({elem:e,button:n,target:r})=>{const i=t.createElement("div");n.dataset.clipboardTarget=r,e.parentElement.replaceChild(i,e),i.appendChild(n),i.appendChild(e)}),new i.default(".respec-button-copy-paste",l).on("success",e=>e.clearSelection()),n()};var r=a(t),i=a(n);function a(e){return e&&e.__esModule?e:{default:e}}e.name="core/webidl-clipboard";const o=document.createElement("button");o.innerHTML=r.default,o.title="Copy IDL to clipboard",o.classList.add("respec-button-copy-paste","removeOnSave");const l={text:e=>document.querySelector(e.dataset.clipboardTarget).textContent.replace(/\ +/gm," ").replace(/^\ /gm," ").replace(/^};\n/gm,"};\n").trim()}}),define("core/data-tests",["exports","core/pubsubhub","core/l10n"],function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.name=void 0,e.run=function(e,n,o){const l=n.querySelectorAll("[data-tests]");if(!l.length)return o();if(!e.testSuiteURI)return(0,t.pub)("error",r[i].missing_test_suite_uri),o();Array.from(l).filter(e=>e.dataset.tests).map(n=>{const o=document.createElement("details"),l=hyperHTML.bind(o),s=n.dataset.tests.split(/,/gm).map(e=>e.trim()).map(n=>{let a="";try{a=new URL(n,e.testSuiteURI).href}catch(e){(0,t.pub)("warn",`${r[i].bad_uri}: ${n}`)}return a});return o.classList.add("respec-tests-details","removeOnSave"),l`
<summary>
tests: ${s.length}
</summary>
<ul>${s.map(a)}</ul>
`,{elem:n,details:o}}).forEach(({elem:e,details:t})=>{delete e.dataset.tests,e.insertAdjacentElement("beforeend",t)}),o()};const r={en:{missing_test_suite_uri:"Found tests in your spec, but missing '[`testSuiteURI`](https://github.com/w3c/respec/wiki/testSuiteURI)' in your ReSpec config.",tests:"tests",test:"test"}},i=(e.name="core/data-tests",n.lang in r?n.lang:"en");function a(e){return hyperHTML.bind(document.createElement("li"))`
<a href="${e}">
${e.split("/").pop()}
</a>
`}}),define("core/list-sorter",["exports","core/pubsubhub"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.name=void 0,e.sortListItems=r,e.sortDefinitionTerms=a,e.run=function(e,n,i){for(const e of document.querySelectorAll("[data-sort]")){let n;const i=e.dataset.sort||"ascending";switch(e.localName){case"dl":n=a(e,i);break;case"ol":case"ul":n=r(e,i);break;default:(0,t.pub)("warning",`ReSpec can't sort ${e.localName} elements.`)}if(n){const t=document.createRange();t.selectNodeContents(e),t.deleteContents(),e.appendChild(n)}}i()};e.name="core/list-sorter";function n(e){return({textContent:t},{textContent:n})=>"ascending"===e?t.localeCompare(n):n.localeCompare(t)}function r(e,t){return i(e,"li").sort(n(t)).reduce((e,t)=>(e.appendChild(t),e),document.createDocumentFragment())}function i(e,t){let n;try{n=e.querySelectorAll(`:scope > ${t}`)}catch(r){let i="";e.id||(i=`temp-${Math.random()}`,e.id=i);const a=`#${e.id} > ${t}`;n=e.parentElement.querySelectorAll(a),i&&(e.id="")}return[...n]}function a(e,t){return i(e,"dt").sort(n(t)).reduce((e,t)=>{const{nodeType:n,nodeName:r}=t,i=document.createDocumentFragment();let{nextSibling:a}=t;for(;a&&a.nextSibling;){i.appendChild(a.cloneNode(!0));const{nodeType:e,nodeName:t}=a.nextSibling;if(e===n&&t===r)break;a=a.nextSibling}return i.prepend(t.cloneNode(!0)),e.appendChild(i),e},document.createDocumentFragment())}}),window.addEventListener("error",e=>{console.error(e.error,e.message,e)}),require.config({shim:{shortcut:{exports:"shortcut"},highlight:{exports:"hljs"}},paths:{"handlebars.runtime":"deps/handlebars","deps/highlight":"https://www.w3.org/Tools/respec/respec-highlight"},deps:["deps/hyperhtml","deps/url-search-params"]}),define("profile-w3c-common",["deps/domReady","core/base-runner","core/ui","core/l10n","w3c/defaults","core/aria","core/style","w3c/style","w3c/l10n","core/github","core/data-include","core/markdown","w3c/headers","w3c/abstract","w3c/conformance","core/data-transform","core/inlines","core/dfn","w3c/rfc2119","core/examples","core/issues-notes","core/requirements","core/best-practices","core/figures","core/webidl","core/data-cite","core/biblio","core/webidl-index","core/link-to-dfn","core/contrib","core/fix-headers","core/structure","w3c/informative","w3c/permalinks","core/id-headers","core/rdfa","core/location-hash","ui/save-html","ui/search-specref","ui/dfn-list","ui/about-respec","core/seo","w3c/seo","core/highlight","core/webidl-clipboard","core/data-tests","core/list-sorter","core/linter"],(e,t,{ui:n},...r)=>{n.show(),e(async()=>{try{await t.runAll(r),await document.respecIsReady}catch(e){console.error(e)}finally{n.enable()}})}),require(["profile-w3c-common"]);
//# sourceMappingURL=respec-w3c-common.build.js.map