solid-panes 4.2.4-test.2 → 4.2.4-test.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/dist/RDFXMLPane.js +1 -2
  2. package/dist/argument/argumentPane.js +1 -2
  3. package/dist/attach/attachPane.js +1 -2
  4. package/dist/audio/audioPane.js +1 -2
  5. package/dist/classInstancePane.js +1 -2
  6. package/dist/dataContentPane.js +1 -2
  7. package/dist/defaultPane.js +1 -2
  8. package/dist/dokieli/dokieliPane.js +1 -2
  9. package/dist/dokieli/new.js +1 -2
  10. package/dist/form/pane.js +1 -2
  11. package/dist/humanReadablePane.js +1 -2
  12. package/dist/imagePane.js +1 -2
  13. package/dist/microblogPane/mbStyle.css +267 -0
  14. package/dist/microblogPane/microblogPane.js +1 -2
  15. package/dist/n3Pane.js +1 -2
  16. package/dist/outline/manager.css +80 -0
  17. package/dist/outline/manager.js +14 -11
  18. package/dist/outline/outlineIcons.js +1 -2
  19. package/dist/outline/queryByExample.js +1 -2
  20. package/dist/outline/userInput.js +1 -2
  21. package/dist/playlist/playlistPane.js +1 -2
  22. package/dist/registerPanes.js +1 -2
  23. package/dist/schedule/schedulePane.js +1 -2
  24. package/dist/slideshow/slideshowPane.js +1 -2
  25. package/dist/socialPane.js +1 -2
  26. package/dist/solid-panes.js +52145 -0
  27. package/dist/solid-panes.js.map +1 -0
  28. package/dist/solid-panes.min.js +290 -0
  29. package/dist/solid-panes.min.js.map +1 -0
  30. package/dist/style/tabbedtab.css +1347 -0
  31. package/dist/tableViewPane.js +1 -2
  32. package/dist/transaction/pane.js +1 -2
  33. package/dist/transaction/period.js +1 -2
  34. package/dist/trip/tripPane.js +1 -2
  35. package/dist/ui/pane.js +1 -2
  36. package/dist/video/videoPane.js +1 -2
  37. package/package.json +12 -11
  38. package/dist/RDFXMLPane.js.map +0 -1
  39. package/dist/argument/argumentPane.js.map +0 -1
  40. package/dist/attach/attachPane.js.map +0 -1
  41. package/dist/audio/audioPane.js.map +0 -1
  42. package/dist/classInstancePane.js.map +0 -1
  43. package/dist/dashboard/basicPreferences.js +0 -147
  44. package/dist/dashboard/basicPreferences.js.map +0 -1
  45. package/dist/dashboard/dashboardPane.js +0 -68
  46. package/dist/dashboard/dashboardPane.js.map +0 -1
  47. package/dist/dashboard/homepage.js +0 -73
  48. package/dist/dashboard/homepage.js.map +0 -1
  49. package/dist/dataContentPane.js.map +0 -1
  50. package/dist/defaultPane.js.map +0 -1
  51. package/dist/dokieli/dokieliPane.js.map +0 -1
  52. package/dist/dokieli/new.js.map +0 -1
  53. package/dist/form/pane.js.map +0 -1
  54. package/dist/home/homePane.js +0 -73
  55. package/dist/home/homePane.js.map +0 -1
  56. package/dist/humanReadablePane.js.map +0 -1
  57. package/dist/imagePane.js.map +0 -1
  58. package/dist/index.js +0 -109
  59. package/dist/index.js.map +0 -1
  60. package/dist/internal/internalPane.js +0 -184
  61. package/dist/internal/internalPane.js.map +0 -1
  62. package/dist/mainPage/footer.js +0 -22
  63. package/dist/mainPage/footer.js.map +0 -1
  64. package/dist/mainPage/header.js +0 -86
  65. package/dist/mainPage/header.js.map +0 -1
  66. package/dist/mainPage/index.js +0 -25
  67. package/dist/mainPage/index.js.map +0 -1
  68. package/dist/microblogPane/microblogPane.js.map +0 -1
  69. package/dist/n3Pane.js.map +0 -1
  70. package/dist/outline/context.js +0 -19
  71. package/dist/outline/context.js.map +0 -1
  72. package/dist/outline/manager.js.map +0 -1
  73. package/dist/outline/outlineIcons.js.map +0 -1
  74. package/dist/outline/propertyViews.js +0 -44
  75. package/dist/outline/propertyViews.js.map +0 -1
  76. package/dist/outline/queryByExample.js.map +0 -1
  77. package/dist/outline/userInput.js.map +0 -1
  78. package/dist/outline/viewAsImage.js +0 -15
  79. package/dist/outline/viewAsImage.js.map +0 -1
  80. package/dist/outline/viewAsMbox.js +0 -22
  81. package/dist/outline/viewAsMbox.js.map +0 -1
  82. package/dist/pad/padPane.js +0 -411
  83. package/dist/pad/padPane.js.map +0 -1
  84. package/dist/playlist/playlistPane.js.map +0 -1
  85. package/dist/registerPanes.js.map +0 -1
  86. package/dist/schedule/schedulePane.js.map +0 -1
  87. package/dist/sharing/sharingPane.js +0 -49
  88. package/dist/sharing/sharingPane.js.map +0 -1
  89. package/dist/slideshow/slideshowPane.js.map +0 -1
  90. package/dist/socialPane.js.map +0 -1
  91. package/dist/tabbed/tabbedPane.js +0 -58
  92. package/dist/tabbed/tabbedPane.js.map +0 -1
  93. package/dist/tableViewPane.js.map +0 -1
  94. package/dist/transaction/pane.js.map +0 -1
  95. package/dist/transaction/period.js.map +0 -1
  96. package/dist/trip/tripPane.js.map +0 -1
  97. package/dist/trustedApplications/trustedApplications.dom.js +0 -146
  98. package/dist/trustedApplications/trustedApplications.dom.js.map +0 -1
  99. package/dist/trustedApplications/trustedApplications.utils.js +0 -24
  100. package/dist/trustedApplications/trustedApplications.utils.js.map +0 -1
  101. package/dist/trustedApplications/trustedApplications.view.js +0 -56
  102. package/dist/trustedApplications/trustedApplications.view.js.map +0 -1
  103. package/dist/ui/pane.js.map +0 -1
  104. package/dist/versionInfo.js +0 -36
  105. package/dist/versionInfo.js.map +0 -1
  106. package/dist/video/videoPane.js.map +0 -1
@@ -0,0 +1,290 @@
1
+ !function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("UI"),require("SolidLogic"),require("rdflib")):"function"==typeof define&&define.amd?define(["UI","SolidLogic","rdflib"],n):"object"==typeof exports?exports.SolidPanes=n(require("UI"),require("SolidLogic"),require("rdflib")):e.SolidPanes=n(e.UI,e.SolidLogic,e.rdflib)}(this,(e,n,t)=>(()=>{var a={6305(e){e.exports&&(e.exports=function(e,n){if(void 0===t)var t=n.dom;var a=t.querySelectorAll(e),i={init:function(e,n){this.counter=0,this.el=e,this.$items=e.querySelectorAll("figure"),this.numItems=this.$items.length,(n=n||{}).auto=n.auto||!1,this.opts={auto:void 0!==n.auto&&n.auto,speed:void 0===n.auto.speed?1500:n.auto.speed,pauseOnHover:void 0!==n.auto.pauseOnHover&&n.auto.pauseOnHover,fullScreen:void 0!==n.fullScreen&&n.fullScreen,swipe:void 0!==n.swipe&&n.swipe},this.$items[0].classList.add("bss-show"),this.injectControls(e),this.addEventListeners(e),this.opts.auto&&this.autoCycle(this.el,this.opts.speed,this.opts.pauseOnHover),this.opts.fullScreen&&this.addFullScreen(this.el),this.opts.swipe&&this.addSwipe(this.el)},showCurrent:function(e){this.counter=e>0?this.counter+1===this.numItems?0:this.counter+1:this.counter-1<0?this.numItems-1:this.counter-1,[].forEach.call(this.$items,function(e){e.classList.remove("bss-show")}),this.$items[this.counter].classList.add("bss-show")},injectControls:function(e){var n=t.createElement("span"),a=t.createElement("span"),i=t.createDocumentFragment();n.classList.add("bss-prev"),a.classList.add("bss-next"),n.innerHTML="&laquo;",a.innerHTML="&raquo;",i.appendChild(n),i.appendChild(a),e.appendChild(i)},addEventListeners:function(e){var n=this;e.querySelector(".bss-next").addEventListener("click",function(){n.showCurrent(1)},!1),e.querySelector(".bss-prev").addEventListener("click",function(){n.showCurrent(-1)},!1),e.onkeydown=function(e){37===(e=e||window.event).keyCode?n.showCurrent(-1):39===e.keyCode&&n.showCurrent(1)}},autoCycle:function(e,n,t){var a=this,i=window.setInterval(function(){a.showCurrent(1)},n);t&&(e.addEventListener("mouseover",function(){i=clearInterval(i)},!1),e.addEventListener("mouseout",function(){i=window.setInterval(function(){a.showCurrent(1)},n)},!1))},addFullScreen:function(e){var n=this,a=t.createElement("span");a.classList.add("bss-fullscreen"),e.appendChild(a),e.querySelector(".bss-fullscreen").addEventListener("click",function(){n.toggleFullScreen(e)},!1)},addSwipe:function(e){var n=this,t=new Hammer(e);t.on("swiperight",function(e){n.showCurrent(-1)}),t.on("swipeleft",function(e){n.showCurrent(1)})},toggleFullScreen:function(e){t.fullscreenElement||t.mozFullScreenElement||t.webkitFullscreenElement||t.msFullscreenElement?t.exitFullscreen?t.exitFullscreen():t.msExitFullscreen?t.msExitFullscreen():t.mozCancelFullScreen?t.mozCancelFullScreen():t.webkitExitFullscreen&&t.webkitExitFullscreen():t.documentElement.requestFullscreen?e.requestFullscreen():t.documentElement.msRequestFullscreen?e.msRequestFullscreen():t.documentElement.mozRequestFullScreen?e.mozRequestFullScreen():t.documentElement.webkitRequestFullscreen&&e.webkitRequestFullscreen(e.ALLOW_KEYBOARD_INPUT)}};[].forEach.call(a,function(e){Object.create(i).init(e,n)})})},701(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.findChat=s,n.getChat=async function(e,n=!0){const{me:t,chatContainer:l,exists:c}=await s(e);if(c)return new o.NamedNode(l.value+r.longChatPane.CHAT_LOCATION_IN_CONTAINER);if(n){const n=await async function(e,n){const t=await r.longChatPane.mintNew({session:{store:i.store}},{me:n,newBase:e.value});return t.newInstance}(l,t);return await async function(e,n){await i.store.fetcher.load(e.doc());const t=i.store.any(e,a.ns.ldp("inbox"),void 0,e.doc());if(!t)throw new Error(`Invitee inbox not found! ${e.value}`);const o=`\n<> a <http://www.w3.org/ns/pim/meeting#LongChatInvite> ;\n${a.ns.rdf("seeAlso")} <${n.value}> . \n `,r=await i.store.fetcher.webOperation("POST",t.value,{data:o,contentType:"text/turtle"});if(!r.headers.get("location"))throw new Error(`Invite sending returned a ${r.status}`)}(e,n),await async function(e,n,t){await i.store.fetcher.load(e);const a=i.store.any(e,new o.NamedNode("http://www.iana.org/assignments/link-relations/acl"));if(!a)throw new Error("Chat ACL doc not found!");const r=`\n@prefix acl: <http://www.w3.org/ns/auth/acl#>.\n<#owner>\n a acl:Authorization;\n acl:agent <${n.value}>;\n acl:accessTo <.>;\n acl:default <.>;\n acl:mode\n acl:Read, acl:Write, acl:Control.\n<#invitee>\n a acl:Authorization;\n acl:agent <${t.value}>;\n acl:accessTo <.>;\n acl:default <.>;\n acl:mode\n acl:Read, acl:Append.\n`;await i.store.fetcher.webOperation("PUT",a.value,{data:r,contentType:"text/turtle"})}(l,t,e),await async function(e,n){const t=i.store.any(n,a.ns.solid("privateTypeIndex"));if(!t)throw new Error("Private type index not found!");await i.store.fetcher.load(t);const r=a.widgets.newThing(t),s=[(0,o.st)(r,a.ns.rdf("type"),a.ns.solid("TypeRegistration"),t.doc()),(0,o.st)(r,a.ns.solid("forClass"),a.ns.meeting("LongChat"),t.doc()),(0,o.st)(r,a.ns.solid("instance"),e,t.doc())];await new Promise((e,n)=>{i.store.updater.update([],s,function(t,a,i){a?e():n(new Error(i))})})}(n,t),n}throw new Error("Chat does not exist and createIfMissing is false")};var a=t(9426),i=t(5663),o=t(5491),r=t(8055);async function s(e){const n=await async function(){const e=i.authn.currentUser();if(null===e)throw new Error("Current user not found! Not logged in?");return await i.store.fetcher.load(e.doc()),e}(),t=await async function(e){const n=i.store.any(e,a.ns.space("storage"),void 0,e.doc());if(!n)throw new Error("Current user pod root not found!");return n}(n),s=function(e,n){const t=new URL(`IndividualChats/${new URL(e.value).host}/`,n.value).toString();return new o.NamedNode(t)}(e,t);let l=!0;try{await i.store.fetcher.load(new o.NamedNode(s.value+r.longChatPane.CHAT_LOCATION_IN_CONTAINER))}catch(e){l=!1}return{me:n,chatContainer:s,exists:l}}},8055(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.longChatPane=void 0;var a=t(5663),i=r(t(9426)),o=r(t(5491));function r(e,n){if("function"==typeof WeakMap)var t=new WeakMap,a=new WeakMap;return(r=function(e,n){if(!n&&e&&e.__esModule)return e;var i,o,r={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return r;if(i=n?a:t){if(i.has(e))return i.get(e);i.set(e,r)}for(const n in e)"default"!==n&&{}.hasOwnProperty.call(e,n)&&((o=(i=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,n))&&(o.get||o.set)?i(r,n,o):r[n]=e[n]);return r})(e,n)}const s=i.ns,l=s.meeting("LongChat"),c="index.ttl#this",u=i.style.sidebarComponentStyle||" padding: 0.5em; width: 100%;",d=i.style.sidebarStyle||"overflow-x: auto; overflow-y: auto; border-radius: 1em; border: 0.1em solid white;";n.longChatPane={CHAT_LOCATION_IN_CONTAINER:c,icon:i.icons.iconBase+"noun_1689339.svg",name:"long chat",label:function(e,n){const t=n.session.store;return t.holds(e,s.rdf("type"),s.meeting("LongChat"))?"Chat channnel":t.holds(e,s.rdf("type"),s.sioc("Thread"))?"Thread":t.any(e,s.sioc("content"))&&t.any(e,s.dct("created"))?"message":null},mintClass:l,mintNew:function(e,n){const t=e.session.store,a=t.updater;if(n.me&&!n.me.uri)throw new Error("chat mintNew: Invalid userid "+n.me);const i=n.newInstance=n.newInstance||t.sym(n.newBase+c),o=i.doc();t.add(i,s.rdf("type"),s.meeting("LongChat"),o),t.add(i,s.dc("title"),"Chat channel",o),t.add(i,s.dc("created"),new Date,o),n.me&&t.add(i,s.dc("author"),n.me,o);const r=(e,n,t)=>`\n @prefix : <#>.\n @prefix acl: <http://www.w3.org/ns/auth/acl#>.\n @prefix foaf: <http://xmlns.com/foaf/0.1/>.\n @prefix lon: <./${n}>.\n\n :ControlReadWrite\n a acl:Authorization;\n acl:accessTo lon:;\n acl:agent <${e.uri}>;\n acl:default lon:;\n acl:mode acl:Control, acl:Read, acl:Write.\n :Read\n a acl:Authorization;\n acl:accessTo lon:;\n acl:agentClass foaf:Agent;\n acl:default lon:;\n acl:mode acl:Read.\n :Read${t}\n a acl:Authorization;\n acl:accessTo lon:;\n acl:agentClass acl:AuthenticatedAgent;\n acl:default lon:;\n acl:mode acl:Read, acl:${t}.`;return new Promise(function(e,i){a.put(o,t.statementsMatching(void 0,void 0,void 0,o),"text/turtle",function(t,a,o){a?e(n):i(new Error("FAILED to save new chat channel at: "+t+" : "+o))}).then(e=>new Promise((e,a)=>{n.me&&(t.fetcher.webOperation("PUT",n.newBase+".acl",{data:r(n.me,"","Append"),contentType:"text/turtle"}),t.fetcher.webOperation("PUT",n.newBase+"index.ttl.acl",{data:r(n.me,"index.ttl","Write"),contentType:"text/turtle"})),e(n)}))})},render:function(e,n,t){const r=n.dom,c=n.session.store,p=c.sym("https://solid.github.io/solid-panes/longCharPane/preferencesForm.ttl#this"),f=p.doc();c.holds(void 0,void 0,void 0,f)||o.parse('\n @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.\n @prefix solid: <http://www.w3.org/ns/solid/terms#>.\n @prefix ui: <http://www.w3.org/ns/ui#>.\n @prefix : <#>.\n\n :this\n <http://purl.org/dc/elements/1.1/title> "Chat preferences" ;\n a ui:Form ;\n ui:parts ( :colorizeByAuthor :expandImagesInline :newestFirst :inlineImageHeightEms\n :shiftEnterSendsMessage :authorDateOnLeft :showDeletedMessages).\n\n :colorizeByAuthor a ui:TristateField; ui:property solid:colorizeByAuthor;\n ui:label "Color user input by user".\n\n :expandImagesInline a ui:TristateField; ui:property solid:expandImagesInline;\n ui:label "Expand image URLs inline".\n\n :newestFirst a ui:TristateField; ui:property solid:newestFirst;\n ui:label "Newest messages at the top".\n\n :inlineImageHeightEms a ui:IntegerField; ui:property solid:inlineImageHeightEms;\n ui:label "Inline image height (lines)".\n\n :shiftEnterSendsMessage a ui:TristateField; ui:property solid:shiftEnterSendsMessage;\n ui:label "Shift-Enter sends message".\n\n :authorDateOnLeft a ui:TristateField; ui:property solid:authorDateOnLeft;\n ui:label "Author & date of message on left".\n\n :showDeletedMessages a ui:TristateField; ui:property solid:showDeletedMessages;\n ui:label "Show placeholders for deleted messages".\n',c,f.uri,"text/turtle");const m=c.statementsMatching(null,s.ui.property,null,f).map(e=>e.object);function h(e){const t=i.widgets.button(n.dom,i.icons.iconBase+"noun_1180156.svg","close",function(){e.parentNode.removeChild(e)});return t.style.float="right",t.style.margin="0.7em",delete t.style.backgroundColor,t}function g(e,t){const o=r.createElement("div"),s=a.authn.currentUser(),l={div:o,dom:r,noun:t,statusArea:o,me:s,refreshTarget:e},c=[n.session.paneRegistry.byName("chat")];return i.create.newThingUI(l,n,c),o}let b,v=null;let A=e,y=null,w=null;if(c.holds(e,s.rdf("type"),s.meeting("LongChat")))console.log("@@@ Chat channnel");else if(c.holds(e,s.rdf("type"),s.sioc("Thread"))){console.log("Thread is subject "+e.uri),w=e;const n=c.the(null,s.sioc("has_reply"),w,w.doc());if(!n)throw new Error("Thread has no root message "+w);if(A=c.any(null,s.wf("message"),n),!A)throw new Error("Thread root has no link to chatChannel")}else if(c.any(e,s.sioc("content"))&&c.any(e,s.dct("created"))&&(console.log("message is subject "+e.uri),y=e,A=c.any(null,s.wf("message"),y),!A))throw new Error("Message has no link to chatChannel");const x=r.createElement("div"),C="20cm",E=x.appendChild(r.createElement("table"));E.style.maxHeight='12"';const k=E.appendChild(r.createElement("tr")),B=k.appendChild(r.createElement("td")),S=k.appendChild(r.createElement("td")),T=k.appendChild(r.createElement("td")),P=k.appendChild(r.createElement("td")),F=E.appendChild(r.createElement("tr"));B.style=d,B.style.paddingRight="1em",T.style=d,T.style.paddingLeft="1em",P.style=d,P.style.paddingLeft="1em",F.appendChild(r.createElement("td"));const N=F.appendChild(r.createElement("td"));F.appendChild(r.createElement("td"));const L=i.widgets.button(r,i.icons.iconBase+"noun_339237.svg","participants ...");N.appendChild(L),L.addEventListener("click",function(e){if(!b){b=r.createElement("div"),b.style=u,b.style.maxHeight=C,b.appendChild(h(b));const e=a.authn.currentUser();e||alert("Should be logeed in for partipants panel"),i.pad.manageParticipation(r,b,A.doc(),A,e,{})}B.contains(b)?(b.parentNode.removeChild(b),b=null):B.appendChild(b)});const I=i.widgets.button(r,i.icons.iconBase+"noun_1689339.svg","List of other chats ...");N.appendChild(I),I.addEventListener("click",async function(e){v||(v=r.createElement("div"),v.style=u,v.style.maxHeight=C,v.appendChild(h(v)),v.appendChild(await async function(e,n){const t=r.createElement("div"),a={dom:r,div:t,noun:n};return await i.login.registrationList(a,{public:!0,private:!0,type:e}),t.appendChild(g(t,n)),t}(s.meeting("LongChat"),"chat"))),B.contains(v)?v.parentNode.removeChild(v):B.appendChild(v)});let _=null;const O=i.widgets.button(r,i.icons.iconBase+"noun_344563.svg","Setting ...");N.appendChild(O),O.style.float="right",O.addEventListener("click",async function(e){_||(_=await async function(e){const{dom:n,noun:t}=e,o=n.createElement("div");o.appendChild(h(o)),o.style=u,o.style.minWidth="25em",o.style.maxHeight=C;const r=o.appendChild(n.createElement("table")),s=r.appendChild(n.createElement("tr")),d=r.appendChild(n.createElement("tr")),f=a.authn.currentUser();return f&&(await i.login.registrationControl({noun:t,me:f,statusArea:d,dom:n,div:s},A,l),console.log("Registration control finsished."),o.appendChild(i.preferences.renderPreferencesForm(A,l,p,{noun:t,me:f,statusArea:d,div:o,dom:n,kb:c}))),o}({dom:r,noun:"chat room"})),P.contains(_)?(_.parentNode.removeChild(_),_=null):P.appendChild(_)}),x.setAttribute("class","chatPane");const R={infinite:!0},D={noun:"chat room",div:x,dom:r};async function M(e,n){console.log("@@@@ showThread thread "+e);const t={};t.thread=e,t.includeRemoveButton=!0,t.authorDateOnLeft=n.authorDateOnLeft,t.newestFirst=n.newestFirst,T.innerHTML="",console.log("Options for showThread message Area",t);const a=await i.infiniteMessageArea(r,c,A,t);a.style.resize="both",a.style.overflow="auto",a.style.maxHeight=C,T.appendChild(a)}return D.me=a.authn.currentUser(),async function(){let e;try{e=await i.preferences.getPreferencesForClass(A,l,m,D)}catch(e){i.widgets.complain(D,e)}for(const n in e)R[n.split("#")[1]]=e[n];y&&(R.selectedMessage=y),t.solo&&(R.solo=!0),w?R.thread=w:R.showThread=M;const n=await i.infiniteMessageArea(r,c,A,R);n.style.resize="both",n.style.overflow="auto",n.style.maxHeight=C,S.appendChild(n)}().then(console.log("async - chat pane built")),x}}},7052(e,n,t){"use strict";Object.defineProperty(n,"Pq",{enumerable:!0,get:function(){return i.longChatPane}}),Object.defineProperty(n,"bz",{enumerable:!0,get:function(){return a.shortChatPane}});var a=t(6303),i=t(8055),o=t(701)},6303(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.shortChatPane=void 0;var a=t(5663),i=function(e,n){if("function"==typeof WeakMap)var t=new WeakMap,a=new WeakMap;return function(e,n){if(!n&&e&&e.__esModule)return e;var i,o,r={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return r;if(i=n?a:t){if(i.has(e))return i.get(e);i.set(e,r)}for(const n in e)"default"!==n&&{}.hasOwnProperty.call(e,n)&&((o=(i=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,n))&&(o.get||o.set)?i(r,n,o):r[n]=e[n]);return r}(e,n)}(t(9426));const o=i.ns;n.shortChatPane={icon:i.icons.iconBase+"noun_346319.svg",name:"chat",audience:[o.solid("PowerUser")],label:function(e,n){const t=n.session.store,a=t.each(e,o.wf("message")).length;return a>0?"Chat ("+a+")":t.holds(e,o.rdf("type"),o.meeting("Chat"))?"Meeting chat":t.holds(void 0,o.rdf("type"),o.foaf("ChatChannel"),e)?"IRC log":null},mintClass:o.meeting("Chat"),mintNew:function(e,n){if(!confirm("short Chat is deprecated in favor of long Chat.\nEmbedded chat for comments and existing short Chats will work.\nYou can report any issues at https://github.com/SolidOS/chat-pane ?\n\nDo you really want to create a new deprecated short Chat?"))return;const t=e.session.store,a=t.updater;if(n.me&&!n.me.uri)throw new Error("chat mintNew: Invalid userid "+n.me);const i=n.newInstance=n.newInstance||t.sym(n.newBase+"index.ttl#this"),r=i.doc();return t.add(i,o.rdf("type"),o.meeting("Chat"),r),t.add(i,o.dc("title"),"Chat",r),t.add(i,o.dc("created"),new Date,r),n.me&&t.add(i,o.dc("author"),n.me,r),new Promise(function(e,i){a.put(r,t.statementsMatching(void 0,void 0,void 0,r),"text/turtle",function(t,a,o){a?e(n):i(new Error("FAILED to save new tool at: "+t+" : "+o))})})},render:function(e,n){const t=n.session.store,r=n.dom,s=r.createElement("div");s.setAttribute("class","chatPane");const l={};let c;if(t.holds(e,o.rdf("type"),o.meeting("Chat")))c=e.doc();else if(t.any(e,i.ns.wf("message")))c=a.store.any(e,i.ns.wf("message")).doc();else if(t.holds(void 0,o.rdf("type"),o.foaf("ChatChannel"),e)||t.holds(e,o.rdf("type"),o.foaf("ChatChannel"))){const n=function(){const e=new $rdf.Query("IRC log entries"),n=[];return["chan","msg","date","list","pred","creator","content"].forEach(function(t){e.vars.push(n[t]=$rdf.variable(t))}),e.pat.add(n.chan,o.foaf("chatEventList"),n.list),e.pat.add(n.list,n.pred,n.msg),e.pat.add(n.msg,o.dc("date"),n.date),e.pat.add(n.msg,o.dc("creator"),n.creator),e.pat.add(n.msg,o.dc("description"),n.content),e};c=e.doc(),l.query=n()}else!function(e,n){const t=r.createElement("pre");t.setAttribute("style","background-color: "+n||0),s.appendChild(t),t.appendChild(r.createTextNode(e))}("Unknown chat type");return s.appendChild(i.messageArea(r,t,e,c,l)),t.updater.addDownstreamChangeListener(c,function(){i.widgets.refreshTree(s)}),s}}},3955(e,n,t){var a;globalThis,a=(e,n,t)=>(()=>{"use strict";var a={903(e,n,t){t.d(n,{A:()=>p});var a=t(354),i=t.n(a),o=t(314),r=t.n(o),s=t(417),l=t.n(s),c=new URL(t(102),t.b),u=r()(i()),d=l()(c);u.push([e.id,`/* Focus indicator for keyboard navigation */\n.contactPane table tr[tabindex="0"]:focus {\n outline: var(--focus-ring-width) solid var(--color-primary);\n outline-offset: 2px;\n background: var(--color-info-bg);\n}\n/* contactsPane styles — extracted from inline styles in contactsPane.js */\n/* Uses CSS custom properties from the global stylesheet (dev-global.css / mashlib) */\n\n/* ── Layout: Three-column browser ────────────────────────────── */\n\n.contactPane .peopleSection .selected {\n background-color: var(--color-info-bg) !important;\n}\n\n.contactPane .detailSection {\n flex: 1 1 0; /* allow it to grow but not force wrap */\n min-width: 300px;\n box-sizing: border-box;\n background: var(--color-section-bg);\n}\n\n.contactPane .detailsSectionContent {\n min-height: 200px;\n padding: var(--spacing-lg);\n max-width: 900px;\n width: 100%;\n box-sizing: border-box;\n}\n\n.contactPane .detailsSectionContent--wide {\n max-width: 900px;\n}\n\n.contactPane .cardFooter {\n display: flex;\n flex-wrap: nowrap; /* keep buttons inline */\n align-items: center; /* vertical centering if varied heights */\n gap: var(--spacing-xs);\n padding-top: var(--spacing-md);\n margin-top: var(--spacing-md);\n}\n\n.contactPane .detailsSectionContent {\n margin: 0;\n}\n\n/* ── Contact type chooser ───────────────────────────────────── */\n\n.contactPane .contactTypeChooser {\n display: flex;\n flex-direction: column;\n gap: var(--spacing-sm);\n max-width: 360px;\n}\n\n.contactPane .contactTypeChooser h3 {\n margin: 0 0 var(--spacing-xs) 0;\n font-size: var(--font-size-lg);\n}\n\n.contactPane .contactTypeSelect {\n height: var(--min-touch-target);\n border: 1px solid var(--color-border-pale);\n border-radius: var(--border-radius-base);\n padding: 0 var(--spacing-sm);\n font-size: var(--font-size-sm);\n background: var(--color-section-bg);\n}\n\n/* ── Search ──────────────────────────────────────────────────── */\n\n.contactPane .allGroupsButton {\n border-radius: var(--border-radius-full) !important;\n /* existing styles */\n}\n/* wrapper to position clear icon/button */\n.contactPane .searchDiv {\n position: relative;\n}\n\n.contactPane .searchInput {\n height: var(--min-touch-target);\n border: 1px solid var(--color-border-pale);\n background-color: var(--color-section-bg);\n background-image: url(${d});\n background-repeat: no-repeat;\n background-position: 8px center;\n background-size: 20px 20px;\n border-radius: var(--border-radius-base);\n padding: 0 var(--spacing-sm) 0 34px;\n font-size: var(--font-size-base);\n width: 100%;\n box-sizing: border-box;\n}\n\n/* clear button inside search input */\n.contactPane .searchClearButton {\n position: absolute;\n right: var(--spacing-sm);\n top: 50%;\n transform: translateY(-50%);\n border: none;\n background: transparent;\n font-size: var(--font-size-base);\n line-height: 1;\n padding: 0;\n cursor: pointer;\n color: var(--color-text-muted);\n /* visibility is controlled via the generic \`.hidden\` utility class */\n display: block;\n}\n.contactPane .searchClearButton.hidden {\n display: none;\n}\n.contactPane .searchClearButton:hover {\n color: var(--color-text);\n}\n\n/* ── Contact toolbar (top-right link + delete) ──────────────── */\n\n.contactPane .contact-toolbar {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n gap: var(--spacing-sm);\n padding: var(--spacing-xs) 0;\n}\n\n.contactPane .contact-toolbar a img {\n width: 1.3em;\n height: 1em;\n margin: 0;\n}\n\n/* ── "All" groups button ─────────────────────────────────────── */\n\n.contactPane .allGroupsButton {\n margin-left: var(--spacing-md);\n font-size: var(--font-size-base);\n}\n\n.contactPane .allGroupsButton--loading {\n background-color: var(--color-primary);\n}\n\n.contactPane .allGroupsButton--active {\n background-color: var(--color-primary);\n color: var(--color-background);\n}\n\n.contactPane .allGroupsButton--loaded {\n background-color: var(--color-primary);\n}\n\n/* ── Selection & visibility states ───────────────────────────── */\n\n.contactPane .group-loading {\n}\n\n.contactPane .hidden {\n display: none;\n}\n\n/* ── Mint new address book ───────────────────────────────────── */\n\n.contactPane .claimSuccess {\n font-size: var(--font-size-xl);\n}\n\n.contactPane {\n display: flex;\n flex-direction: column;\n min-height: 100vh;\n}\n\n.contactPane .addressBook-grid {\n display: flex;\n flex-wrap: nowrap; /* keep sections side-by-side */\n flex: 1;\n min-width: 50%;\n align-items: stretch;\n width: 100%;\n box-sizing: border-box;\n overflow-x: auto; /* allow horizontal scroll if needed */\n}\n\n.contactPane .addressBookSection {\n flex: 1 1 350px;\n max-width: 485px;\n box-sizing: border-box;\n}\n\n@media ((min-width: 500px) and (max-width: 900px)) {\n .contactPane .addressBookSection {\n max-width: 900px;\n }\n .contactPane .addressBookSection section {\n max-width: 485px;\n }\n}\n\n@media (max-width: 500px) {\n .contactPane .addressBookSection {\n max-width: 485px;\n }\n}\n\n/* Card Section Background */\n.contactPane .section-bg {\n background: var(--color-section-bg);\n padding: var(--spacing-md);\n box-sizing: border-box;\n border: none !important;\n border-radius: 0 !important;\n}\n\n/* Primary Button */\n.contactPane .btn-primary {\n min-height: var(--min-touch-target);\n padding: var(--spacing-sm) var(--spacing-md);\n border: 1px solid var(--color-primary);\n border-radius: var(--border-radius-base);\n background: var(--color-primary);\n color: var(--color-background);\n font-weight: 600;\n cursor: pointer;\n transition: all var(--animation-duration) ease;\n}\n\n.contactPane .btn-primary:hover {\n background: color-mix(in srgb, var(--color-primary) 90%, black);\n box-shadow: 0 2px 4px rgba(124, 77, 255, 0.2);\n}\n\n.contactPane .btn-primary:active {\n box-shadow: 0 1px 2px rgba(124, 77, 255, 0.2);\n}\n\n.contactPane .btn-primary:disabled {\n opacity: var(--opacity-disabled, 0.6);\n cursor: not-allowed;\n transform: none;\n}\n\n/* Secondary button */\n.contactPane .btn-secondary {\n min-height: var(--min-touch-target);\n padding: var(--spacing-sm) var(--spacing-md);\n border: var(--border-width-thin) solid var(--color-secondary);\n border-radius: var(--border-radius-base);\n background: var(--color-secondary);\n color: var(--color-background);\n font-weight: var(--font-weight-bold);\n cursor: pointer;\n transition: all var(--animation-duration) ease;\n text-decoration: none;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n}\n\n.contactPane .btn-secondary:hover {\n background: color-mix(in srgb, var(--color-secondary) 85%, black);\n}\n\n.contactPane .btn-secondary:disabled {\n opacity: var(--opacity-disabled);\n cursor: not-allowed;\n}\n\n/* Action Button Focus - used by ChatWithMe, ProfileCard */\n.contactPane .action-button-focus:focus,\n.contactPane .action-button-focus:focus-visible {\n outline: 3px solid var(--color-primary) !important;\n outline-offset: 2px !important;\n box-shadow: 0 0 0 2px var(--color-background), 0 0 0 5px rgba(124, 77, 255, 0.25) !important;\n z-index: 1;\n}\n\n/* ── Button section: horizontal scrollable row ──────────────── */\n\n.contactPane .buttonSection {\n display: flex;\n flex-wrap: nowrap;\n align-items: center;\n padding: var(--spacing-sm);\n padding-bottom: 0;\n overflow-x: auto;\n overflow-y: hidden;\n -webkit-overflow-scrolling: touch;\n scrollbar-width: thin;\n margin-bottom: 0;\n}\n\n.contactPane .buttonSection::-webkit-scrollbar {\n height: 6px;\n}\n\n.contactPane .buttonSection::-webkit-scrollbar-thumb {\n background: var(--color-border-pale);\n border-radius: var(--border-radius-base);\n}\n\n.contactPane .buttonSection::-webkit-scrollbar-track {\n background: transparent;\n}\n\n.contactPane .buttonSection .selected {\n background: vnone !important;\n}\n\n.contactPane .groupButtonsList {\n display: flex;\n flex-wrap: nowrap;\n align-items: center;\n gap: var(--spacing-xs);\n list-style: none;\n}\n\n.contactPane .buttonSection .groupButtonsList {\n margin-left: var(--spacing-xs);\n margin-right: var(--spacing-xs);\n padding-left: 0;\n}\n\n.contactPane .groupButtonsList li {\n flex-shrink: 0;\n}\n\n.contactPane .groupButtonsList button {\n white-space: nowrap;\n flex-shrink: 0;\n min-width: max-content;\n margin-left: 0;\n}\n\n/* Groups list in details section — flexible 2-column grid */\n.contactPane .detailsSectionContent .groupButtonsList {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));\n gap: var(--spacing-sm);\n list-style: none;\n padding: 0;\n width: 100%;\n box-sizing: border-box;\n}\n\n.contactPane .detailsSectionContent .groupButtonsList li {\n width: 100%;\n aspect-ratio: 1 / 1;\n}\n\n.contactPane .detailsSectionContent .groupButtonsList button {\n width: 100%;\n height: 100%;\n text-align: center;\n border-radius: var(--border-radius-base);\n word-wrap: break-word;\n overflow-wrap: break-word;\n}\n\n@media (max-width: 599px) {\n .contactPane .detailsSectionContent .groupButtonsList {\n grid-template-columns: repeat(2, 1fr);\n gap: var(--spacing-xs);\n }\n\n .contactPane .detailsSectionContent .groupButtonsList button {\n font-size: var(--font-size-sm);\n border-radius: var(--border-radius-base);\n }\n}\n\n@media (min-width: 900px) {\n .contactPane .detailsSectionContent .groupButtonsList {\n grid-template-columns: repeat(3, 1fr);\n }\n}\n\n.contactPane .detailsSectionContent .newGroupBtn {\n width: 100%;\n box-sizing: border-box;\n margin-top: var(--spacing-sm);\n}\n\n.contactPane .detailsSectionContent h3 {\n font-size: var(--font-size-xl);\n margin-bottom: var(--spacing-sm);\n padding-left: 0;\n}\n\n/* Delete confirmation POPUP — centered overlay in details section */\n.contactPane .detailSection {\n position: relative;\n}\n\n.contactPane .webidControl .personaRow--webid td > div[style*="position: relative"],\n.contactPane .detailsSectionContent .groupButtonsList li > div[style*="position: relative"],\n.contactPane .detailsSectionContent .contact-toolbar > div[style*="position: relative"],\n.contactPane .detailsSectionContent .group-membership-toolbar > div[style*="position: relative"] {\n position: absolute !important;\n top: 0 !important;\n left: 0 !important;\n right: 0;\n bottom: 0;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n background: rgba(0, 0, 0, 0.3);\n z-index: 1000;\n}\n.contactPane .webidControl .personaRow--webid td > div[style*="position: relative"] > div,\n.contactPane .detailsSectionContent .groupButtonsList li > div[style*="position: relative"] > div,\n.contactPane .detailsSectionContent .contact-toolbar > div[style*="position: relative"] > div,\n.contactPane .detailsSectionContent .group-membership-toolbar > div[style*="position: relative"] > div {\n position: relative !important;\n top: auto !important;\n background: var(--color-background);\n border-radius: var(--border-radius-full);\n padding: var(--spacing-lg);\n box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);\n z-index: 1001;\n}\n\n/* Selected state for All contacts button */\n.contactPane .allGroupsButton--selected {\n background-color: var(--color-primary);\n color: var(--color-background);\n}\n\n/* ── Header section ──────────────────────────────────────────── */\n\n.contactPane .headerSection {\n background: var(--color-background);\n padding: var(--spacing-sm);\n border-top-left-radius: var(--border-radius-full);\n border-top-right-radius: var(--border-radius-full);\n margin-bottom: 0;\n}\n\n.contactPane .headerSection header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 0;\n}\n\n.contactPane .headerSection h2 {\n margin-bottom: 0;\n}\n\n/* ── Dotted horizontal rule ─────────────────────────────────── */\n\n.contactPane .dottedHr {\n border: none;\n border-top: 1px dotted var(--color-text-muted);\n margin: 0;\n}\n\n/* ── Search section ─────────────────────────────────────────── */\n\n.contactPane .searchSection {\n padding: var(--spacing-sm);\n padding-bottom: 0;\n margin-bottom: 0;\n}\n\n/* ── People list section ────────────────────────────────────── */\n\n.contactPane .peopleSection {\n display: flex;\n background: var(--color-background);\n border-top: 1px dotted var(--color-text-muted);\n margin-bottom: 0;\n}\n\n.contactPane .peopleSection ul {\n list-style: none;\n padding: 0;\n margin: 0;\n width: 100%;\n max-height: 70vh;\n overflow-y: auto;\n}\n\n.contactPane .peopleSection li {\n border-top: 1px solid var(--color-border-pale);\n padding: var(--spacing-xs);\n}\n\n/* ── Person list item (addressBookPresenter) ─────────────────── */\n\n.contactPane .personLi-row {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n\n.contactPane .personLi-avatar {\n width: 45px;\n height: 45px;\n flex-shrink: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.contactPane .personLi-avatar .avatar-placeholder {\n width: 36px;\n height: 36px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.contactPane .personLi-avatar img {\n width: 40px;\n height: 40px;\n border-radius: 50%;\n object-fit: cover;\n}\n\n.contactPane .personLi-info {\n flex: 1;\n margin-left: var(--spacing-sm);\n overflow: hidden;\n}\n\n.contactPane .personLi-name {\n font-weight: bold;\n font-size: var(--font-size-base);\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.contactPane .personLi-arrow {\n margin-left: auto;\n display: flex;\n align-items: center;\n}\n\n.contactPane .personLi--error {\n opacity: 0.5;\n}`,"",{version:3,sources:["webpack://./src/styles/contactsPane.css"],names:[],mappings:"AAAA,4CAA4C;AAC5C;EACE,2DAA2D;EAC3D,mBAAmB;EACnB,gCAAgC;AAClC;AACA,0EAA0E;AAC1E,qFAAqF;;AAErF,mEAAmE;;AAEnE;EACE,iDAAiD;AACnD;;AAEA;EACE,WAAW,EAAE,wCAAwC;EACrD,gBAAgB;EAChB,sBAAsB;EACtB,mCAAmC;AACrC;;AAEA;EACE,iBAAiB;EACjB,0BAA0B;EAC1B,gBAAgB;EAChB,WAAW;EACX,sBAAsB;AACxB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,aAAa;EACb,iBAAiB,EAAE,wBAAwB;EAC3C,mBAAmB,EAAE,yCAAyC;EAC9D,sBAAsB;EACtB,8BAA8B;EAC9B,6BAA6B;AAC/B;;AAEA;EACE,SAAS;AACX;;AAEA,kEAAkE;;AAElE;EACE,aAAa;EACb,sBAAsB;EACtB,sBAAsB;EACtB,gBAAgB;AAClB;;AAEA;EACE,+BAA+B;EAC/B,8BAA8B;AAChC;;AAEA;EACE,+BAA+B;EAC/B,0CAA0C;EAC1C,wCAAwC;EACxC,4BAA4B;EAC5B,8BAA8B;EAC9B,mCAAmC;AACrC;;AAEA,mEAAmE;;AAEnE;EACE,mDAAmD;EACnD,oBAAoB;AACtB;AACA,0CAA0C;AAC1C;EACE,kBAAkB;AACpB;;AAEA;EACE,+BAA+B;EAC/B,0CAA0C;EAC1C,yCAAyC;EACzC,yDAAgZ;EAChZ,4BAA4B;EAC5B,+BAA+B;EAC/B,0BAA0B;EAC1B,wCAAwC;EACxC,mCAAmC;EACnC,gCAAgC;EAChC,WAAW;EACX,sBAAsB;AACxB;;AAEA,qCAAqC;AACrC;EACE,kBAAkB;EAClB,wBAAwB;EACxB,QAAQ;EACR,2BAA2B;EAC3B,YAAY;EACZ,uBAAuB;EACvB,gCAAgC;EAChC,cAAc;EACd,UAAU;EACV,eAAe;EACf,8BAA8B;EAC9B,qEAAqE;EACrE,cAAc;AAChB;AACA;EACE,aAAa;AACf;AACA;EACE,wBAAwB;AAC1B;;AAEA,kEAAkE;;AAElE;EACE,aAAa;EACb,yBAAyB;EACzB,mBAAmB;EACnB,sBAAsB;EACtB,4BAA4B;AAC9B;;AAEA;EACE,YAAY;EACZ,WAAW;EACX,SAAS;AACX;;AAEA,mEAAmE;;AAEnE;EACE,8BAA8B;EAC9B,gCAAgC;AAClC;;AAEA;EACE,sCAAsC;AACxC;;AAEA;EACE,sCAAsC;EACtC,8BAA8B;AAChC;;AAEA;EACE,sCAAsC;AACxC;;AAEA,mEAAmE;;AAEnE;AACA;;AAEA;EACE,aAAa;AACf;;AAEA,mEAAmE;;AAEnE;EACE,8BAA8B;AAChC;;AAEA;EACE,aAAa;EACb,sBAAsB;EACtB,iBAAiB;AACnB;;AAEA;EACE,aAAa;EACb,iBAAiB,EAAE,+BAA+B;EAClD,OAAO;EACP,cAAc;EACd,oBAAoB;EACpB,WAAW;EACX,sBAAsB;EACtB,gBAAgB,EAAE,sCAAsC;AAC1D;;AAEA;EACE,eAAe;EACf,gBAAgB;EAChB,sBAAsB;AACxB;;AAEA;EACE;IACE,gBAAgB;EAClB;EACA;IACE,gBAAgB;EAClB;AACF;;AAEA;EACE;IACE,gBAAgB;EAClB;AACF;;AAEA,4BAA4B;AAC5B;EACE,mCAAmC;EACnC,0BAA0B;EAC1B,sBAAsB;EACtB,uBAAuB;EACvB,2BAA2B;AAC7B;;AAEA,mBAAmB;AACnB;EACE,mCAAmC;EACnC,4CAA4C;EAC5C,sCAAsC;EACtC,wCAAwC;EACxC,gCAAgC;EAChC,8BAA8B;EAC9B,gBAAgB;EAChB,eAAe;EACf,8CAA8C;AAChD;;AAEA;EACE,+DAA+D;EAC/D,6CAA6C;AAC/C;;AAEA;EACE,6CAA6C;AAC/C;;AAEA;EACE,qCAAqC;EACrC,mBAAmB;EACnB,eAAe;AACjB;;AAEA,qBAAqB;AACrB;EACE,mCAAmC;EACnC,4CAA4C;EAC5C,6DAA6D;EAC7D,wCAAwC;EACxC,kCAAkC;EAClC,8BAA8B;EAC9B,oCAAoC;EACpC,eAAe;EACf,8CAA8C;EAC9C,qBAAqB;EACrB,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;AACzB;;AAEA;EACE,iEAAiE;AACnE;;AAEA;EACE,gCAAgC;EAChC,mBAAmB;AACrB;;AAEA,0DAA0D;AAC1D;;EAEE,kDAAkD;EAClD,8BAA8B;EAC9B,4FAA4F;EAC5F,UAAU;AACZ;;AAEA,kEAAkE;;AAElE;EACE,aAAa;EACb,iBAAiB;EACjB,mBAAmB;EACnB,0BAA0B;EAC1B,iBAAiB;EACjB,gBAAgB;EAChB,kBAAkB;EAClB,iCAAiC;EACjC,qBAAqB;EACrB,gBAAgB;AAClB;;AAEA;EACE,WAAW;AACb;;AAEA;EACE,oCAAoC;EACpC,wCAAwC;AAC1C;;AAEA;EACE,uBAAuB;AACzB;;AAEA;EACE,4BAA4B;AAC9B;;AAEA;EACE,aAAa;EACb,iBAAiB;EACjB,mBAAmB;EACnB,sBAAsB;EACtB,gBAAgB;AAClB;;AAEA;EACE,8BAA8B;EAC9B,+BAA+B;EAC/B,eAAe;AACjB;;AAEA;EACE,cAAc;AAChB;;AAEA;EACE,mBAAmB;EACnB,cAAc;EACd,sBAAsB;EACtB,cAAc;AAChB;;AAEA,4DAA4D;AAC5D;EACE,aAAa;EACb,2DAA2D;EAC3D,sBAAsB;EACtB,gBAAgB;EAChB,UAAU;EACV,WAAW;EACX,sBAAsB;AACxB;;AAEA;EACE,WAAW;EACX,mBAAmB;AACrB;;AAEA;EACE,WAAW;EACX,YAAY;EACZ,kBAAkB;EAClB,wCAAwC;EACxC,qBAAqB;EACrB,yBAAyB;AAC3B;;AAEA;EACE;IACE,qCAAqC;IACrC,sBAAsB;EACxB;;EAEA;IACE,8BAA8B;IAC9B,wCAAwC;EAC1C;AACF;;AAEA;EACE;IACE,qCAAqC;EACvC;AACF;;AAEA;EACE,WAAW;EACX,sBAAsB;EACtB,6BAA6B;AAC/B;;AAEA;EACE,8BAA8B;EAC9B,gCAAgC;EAChC,eAAe;AACjB;;AAEA,oEAAoE;AACpE;EACE,kBAAkB;AACpB;;AAEA;;;;EAIE,6BAA6B;EAC7B,iBAAiB;EACjB,kBAAkB;EAClB,QAAQ;EACR,SAAS;EACT,WAAW;EACX,YAAY;EACZ,aAAa;EACb,mBAAmB;EACnB,uBAAuB;EACvB,8BAA8B;EAC9B,aAAa;AACf;AACA;;;;EAIE,6BAA6B;EAC7B,oBAAoB;EACpB,mCAAmC;EACnC,wCAAwC;EACxC,0BAA0B;EAC1B,yCAAyC;EACzC,aAAa;AACf;;AAEA,2CAA2C;AAC3C;EACE,sCAAsC;EACtC,8BAA8B;AAChC;;AAEA,mEAAmE;;AAEnE;EACE,mCAAmC;EACnC,0BAA0B;EAC1B,iDAAiD;EACjD,kDAAkD;EAClD,gBAAgB;AAClB;;AAEA;EACE,aAAa;EACb,mBAAmB;EACnB,8BAA8B;EAC9B,gBAAgB;AAClB;;AAEA;EACE,gBAAgB;AAClB;;AAEA,kEAAkE;;AAElE;EACE,YAAY;EACZ,8CAA8C;EAC9C,SAAS;AACX;;AAEA,kEAAkE;;AAElE;EACE,0BAA0B;EAC1B,iBAAiB;EACjB,gBAAgB;AAClB;;AAEA,kEAAkE;;AAElE;EACE,aAAa;EACb,mCAAmC;EACnC,8CAA8C;EAC9C,gBAAgB;AAClB;;AAEA;EACE,gBAAgB;EAChB,UAAU;EACV,SAAS;EACT,WAAW;EACX,gBAAgB;EAChB,gBAAgB;AAClB;;AAEA;EACE,8CAA8C;EAC9C,0BAA0B;AAC5B;;AAEA,mEAAmE;;AAEnE;EACE,aAAa;EACb,mBAAmB;EACnB,8BAA8B;AAChC;;AAEA;EACE,WAAW;EACX,YAAY;EACZ,cAAc;EACd,aAAa;EACb,mBAAmB;EACnB,uBAAuB;AACzB;;AAEA;EACE,WAAW;EACX,YAAY;EACZ,aAAa;EACb,mBAAmB;EACnB,uBAAuB;AACzB;;AAEA;EACE,WAAW;EACX,YAAY;EACZ,kBAAkB;EAClB,iBAAiB;AACnB;;AAEA;EACE,OAAO;EACP,8BAA8B;EAC9B,gBAAgB;AAClB;;AAEA;EACE,iBAAiB;EACjB,gCAAgC;EAChC,mBAAmB;EACnB,gBAAgB;EAChB,uBAAuB;AACzB;;AAEA;EACE,iBAAiB;EACjB,aAAa;EACb,mBAAmB;AACrB;;AAEA;EACE,YAAY;AACd",sourcesContent:['/* Focus indicator for keyboard navigation */\n.contactPane table tr[tabindex="0"]:focus {\n outline: var(--focus-ring-width) solid var(--color-primary);\n outline-offset: 2px;\n background: var(--color-info-bg);\n}\n/* contactsPane styles — extracted from inline styles in contactsPane.js */\n/* Uses CSS custom properties from the global stylesheet (dev-global.css / mashlib) */\n\n/* ── Layout: Three-column browser ────────────────────────────── */\n\n.contactPane .peopleSection .selected {\n background-color: var(--color-info-bg) !important;\n}\n\n.contactPane .detailSection {\n flex: 1 1 0; /* allow it to grow but not force wrap */\n min-width: 300px;\n box-sizing: border-box;\n background: var(--color-section-bg);\n}\n\n.contactPane .detailsSectionContent {\n min-height: 200px;\n padding: var(--spacing-lg);\n max-width: 900px;\n width: 100%;\n box-sizing: border-box;\n}\n\n.contactPane .detailsSectionContent--wide {\n max-width: 900px;\n}\n\n.contactPane .cardFooter {\n display: flex;\n flex-wrap: nowrap; /* keep buttons inline */\n align-items: center; /* vertical centering if varied heights */\n gap: var(--spacing-xs);\n padding-top: var(--spacing-md);\n margin-top: var(--spacing-md);\n}\n\n.contactPane .detailsSectionContent {\n margin: 0;\n}\n\n/* ── Contact type chooser ───────────────────────────────────── */\n\n.contactPane .contactTypeChooser {\n display: flex;\n flex-direction: column;\n gap: var(--spacing-sm);\n max-width: 360px;\n}\n\n.contactPane .contactTypeChooser h3 {\n margin: 0 0 var(--spacing-xs) 0;\n font-size: var(--font-size-lg);\n}\n\n.contactPane .contactTypeSelect {\n height: var(--min-touch-target);\n border: 1px solid var(--color-border-pale);\n border-radius: var(--border-radius-base);\n padding: 0 var(--spacing-sm);\n font-size: var(--font-size-sm);\n background: var(--color-section-bg);\n}\n\n/* ── Search ──────────────────────────────────────────────────── */\n\n.contactPane .allGroupsButton {\n border-radius: var(--border-radius-full) !important;\n /* existing styles */\n}\n/* wrapper to position clear icon/button */\n.contactPane .searchDiv {\n position: relative;\n}\n\n.contactPane .searchInput {\n height: var(--min-touch-target);\n border: 1px solid var(--color-border-pale);\n background-color: var(--color-section-bg);\n background-image: url("data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' fill=\'%23999\' viewBox=\'0 0 24 24\' width=\'20\' height=\'20\'%3E%3Cpath d=\'M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99c.41.41 1.09.41 1.5 0s.41-1.09 0-1.5l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z\'/%3E%3C/svg%3E");\n background-repeat: no-repeat;\n background-position: 8px center;\n background-size: 20px 20px;\n border-radius: var(--border-radius-base);\n padding: 0 var(--spacing-sm) 0 34px;\n font-size: var(--font-size-base);\n width: 100%;\n box-sizing: border-box;\n}\n\n/* clear button inside search input */\n.contactPane .searchClearButton {\n position: absolute;\n right: var(--spacing-sm);\n top: 50%;\n transform: translateY(-50%);\n border: none;\n background: transparent;\n font-size: var(--font-size-base);\n line-height: 1;\n padding: 0;\n cursor: pointer;\n color: var(--color-text-muted);\n /* visibility is controlled via the generic `.hidden` utility class */\n display: block;\n}\n.contactPane .searchClearButton.hidden {\n display: none;\n}\n.contactPane .searchClearButton:hover {\n color: var(--color-text);\n}\n\n/* ── Contact toolbar (top-right link + delete) ──────────────── */\n\n.contactPane .contact-toolbar {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n gap: var(--spacing-sm);\n padding: var(--spacing-xs) 0;\n}\n\n.contactPane .contact-toolbar a img {\n width: 1.3em;\n height: 1em;\n margin: 0;\n}\n\n/* ── "All" groups button ─────────────────────────────────────── */\n\n.contactPane .allGroupsButton {\n margin-left: var(--spacing-md);\n font-size: var(--font-size-base);\n}\n\n.contactPane .allGroupsButton--loading {\n background-color: var(--color-primary);\n}\n\n.contactPane .allGroupsButton--active {\n background-color: var(--color-primary);\n color: var(--color-background);\n}\n\n.contactPane .allGroupsButton--loaded {\n background-color: var(--color-primary);\n}\n\n/* ── Selection & visibility states ───────────────────────────── */\n\n.contactPane .group-loading {\n}\n\n.contactPane .hidden {\n display: none;\n}\n\n/* ── Mint new address book ───────────────────────────────────── */\n\n.contactPane .claimSuccess {\n font-size: var(--font-size-xl);\n}\n\n.contactPane {\n display: flex;\n flex-direction: column;\n min-height: 100vh;\n}\n\n.contactPane .addressBook-grid {\n display: flex;\n flex-wrap: nowrap; /* keep sections side-by-side */\n flex: 1;\n min-width: 50%;\n align-items: stretch;\n width: 100%;\n box-sizing: border-box;\n overflow-x: auto; /* allow horizontal scroll if needed */\n}\n\n.contactPane .addressBookSection {\n flex: 1 1 350px;\n max-width: 485px;\n box-sizing: border-box;\n}\n\n@media ((min-width: 500px) and (max-width: 900px)) {\n .contactPane .addressBookSection {\n max-width: 900px;\n }\n .contactPane .addressBookSection section {\n max-width: 485px;\n }\n}\n\n@media (max-width: 500px) {\n .contactPane .addressBookSection {\n max-width: 485px;\n }\n}\n\n/* Card Section Background */\n.contactPane .section-bg {\n background: var(--color-section-bg);\n padding: var(--spacing-md);\n box-sizing: border-box;\n border: none !important;\n border-radius: 0 !important;\n}\n\n/* Primary Button */\n.contactPane .btn-primary {\n min-height: var(--min-touch-target);\n padding: var(--spacing-sm) var(--spacing-md);\n border: 1px solid var(--color-primary);\n border-radius: var(--border-radius-base);\n background: var(--color-primary);\n color: var(--color-background);\n font-weight: 600;\n cursor: pointer;\n transition: all var(--animation-duration) ease;\n}\n\n.contactPane .btn-primary:hover {\n background: color-mix(in srgb, var(--color-primary) 90%, black);\n box-shadow: 0 2px 4px rgba(124, 77, 255, 0.2);\n}\n\n.contactPane .btn-primary:active {\n box-shadow: 0 1px 2px rgba(124, 77, 255, 0.2);\n}\n\n.contactPane .btn-primary:disabled {\n opacity: var(--opacity-disabled, 0.6);\n cursor: not-allowed;\n transform: none;\n}\n\n/* Secondary button */\n.contactPane .btn-secondary {\n min-height: var(--min-touch-target);\n padding: var(--spacing-sm) var(--spacing-md);\n border: var(--border-width-thin) solid var(--color-secondary);\n border-radius: var(--border-radius-base);\n background: var(--color-secondary);\n color: var(--color-background);\n font-weight: var(--font-weight-bold);\n cursor: pointer;\n transition: all var(--animation-duration) ease;\n text-decoration: none;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n}\n\n.contactPane .btn-secondary:hover {\n background: color-mix(in srgb, var(--color-secondary) 85%, black);\n}\n\n.contactPane .btn-secondary:disabled {\n opacity: var(--opacity-disabled);\n cursor: not-allowed;\n}\n\n/* Action Button Focus - used by ChatWithMe, ProfileCard */\n.contactPane .action-button-focus:focus,\n.contactPane .action-button-focus:focus-visible {\n outline: 3px solid var(--color-primary) !important;\n outline-offset: 2px !important;\n box-shadow: 0 0 0 2px var(--color-background), 0 0 0 5px rgba(124, 77, 255, 0.25) !important;\n z-index: 1;\n}\n\n/* ── Button section: horizontal scrollable row ──────────────── */\n\n.contactPane .buttonSection {\n display: flex;\n flex-wrap: nowrap;\n align-items: center;\n padding: var(--spacing-sm);\n padding-bottom: 0;\n overflow-x: auto;\n overflow-y: hidden;\n -webkit-overflow-scrolling: touch;\n scrollbar-width: thin;\n margin-bottom: 0;\n}\n\n.contactPane .buttonSection::-webkit-scrollbar {\n height: 6px;\n}\n\n.contactPane .buttonSection::-webkit-scrollbar-thumb {\n background: var(--color-border-pale);\n border-radius: var(--border-radius-base);\n}\n\n.contactPane .buttonSection::-webkit-scrollbar-track {\n background: transparent;\n}\n\n.contactPane .buttonSection .selected {\n background: vnone !important;\n}\n\n.contactPane .groupButtonsList {\n display: flex;\n flex-wrap: nowrap;\n align-items: center;\n gap: var(--spacing-xs);\n list-style: none;\n}\n\n.contactPane .buttonSection .groupButtonsList {\n margin-left: var(--spacing-xs);\n margin-right: var(--spacing-xs);\n padding-left: 0;\n}\n\n.contactPane .groupButtonsList li {\n flex-shrink: 0;\n}\n\n.contactPane .groupButtonsList button {\n white-space: nowrap;\n flex-shrink: 0;\n min-width: max-content;\n margin-left: 0;\n}\n\n/* Groups list in details section — flexible 2-column grid */\n.contactPane .detailsSectionContent .groupButtonsList {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));\n gap: var(--spacing-sm);\n list-style: none;\n padding: 0;\n width: 100%;\n box-sizing: border-box;\n}\n\n.contactPane .detailsSectionContent .groupButtonsList li {\n width: 100%;\n aspect-ratio: 1 / 1;\n}\n\n.contactPane .detailsSectionContent .groupButtonsList button {\n width: 100%;\n height: 100%;\n text-align: center;\n border-radius: var(--border-radius-base);\n word-wrap: break-word;\n overflow-wrap: break-word;\n}\n\n@media (max-width: 599px) {\n .contactPane .detailsSectionContent .groupButtonsList {\n grid-template-columns: repeat(2, 1fr);\n gap: var(--spacing-xs);\n }\n\n .contactPane .detailsSectionContent .groupButtonsList button {\n font-size: var(--font-size-sm);\n border-radius: var(--border-radius-base);\n }\n}\n\n@media (min-width: 900px) {\n .contactPane .detailsSectionContent .groupButtonsList {\n grid-template-columns: repeat(3, 1fr);\n }\n}\n\n.contactPane .detailsSectionContent .newGroupBtn {\n width: 100%;\n box-sizing: border-box;\n margin-top: var(--spacing-sm);\n}\n\n.contactPane .detailsSectionContent h3 {\n font-size: var(--font-size-xl);\n margin-bottom: var(--spacing-sm);\n padding-left: 0;\n}\n\n/* Delete confirmation POPUP — centered overlay in details section */\n.contactPane .detailSection {\n position: relative;\n}\n\n.contactPane .webidControl .personaRow--webid td > div[style*="position: relative"],\n.contactPane .detailsSectionContent .groupButtonsList li > div[style*="position: relative"],\n.contactPane .detailsSectionContent .contact-toolbar > div[style*="position: relative"],\n.contactPane .detailsSectionContent .group-membership-toolbar > div[style*="position: relative"] {\n position: absolute !important;\n top: 0 !important;\n left: 0 !important;\n right: 0;\n bottom: 0;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n background: rgba(0, 0, 0, 0.3);\n z-index: 1000;\n}\n.contactPane .webidControl .personaRow--webid td > div[style*="position: relative"] > div,\n.contactPane .detailsSectionContent .groupButtonsList li > div[style*="position: relative"] > div,\n.contactPane .detailsSectionContent .contact-toolbar > div[style*="position: relative"] > div,\n.contactPane .detailsSectionContent .group-membership-toolbar > div[style*="position: relative"] > div {\n position: relative !important;\n top: auto !important;\n background: var(--color-background);\n border-radius: var(--border-radius-full);\n padding: var(--spacing-lg);\n box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);\n z-index: 1001;\n}\n\n/* Selected state for All contacts button */\n.contactPane .allGroupsButton--selected {\n background-color: var(--color-primary);\n color: var(--color-background);\n}\n\n/* ── Header section ──────────────────────────────────────────── */\n\n.contactPane .headerSection {\n background: var(--color-background);\n padding: var(--spacing-sm);\n border-top-left-radius: var(--border-radius-full);\n border-top-right-radius: var(--border-radius-full);\n margin-bottom: 0;\n}\n\n.contactPane .headerSection header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 0;\n}\n\n.contactPane .headerSection h2 {\n margin-bottom: 0;\n}\n\n/* ── Dotted horizontal rule ─────────────────────────────────── */\n\n.contactPane .dottedHr {\n border: none;\n border-top: 1px dotted var(--color-text-muted);\n margin: 0;\n}\n\n/* ── Search section ─────────────────────────────────────────── */\n\n.contactPane .searchSection {\n padding: var(--spacing-sm);\n padding-bottom: 0;\n margin-bottom: 0;\n}\n\n/* ── People list section ────────────────────────────────────── */\n\n.contactPane .peopleSection {\n display: flex;\n background: var(--color-background);\n border-top: 1px dotted var(--color-text-muted);\n margin-bottom: 0;\n}\n\n.contactPane .peopleSection ul {\n list-style: none;\n padding: 0;\n margin: 0;\n width: 100%;\n max-height: 70vh;\n overflow-y: auto;\n}\n\n.contactPane .peopleSection li {\n border-top: 1px solid var(--color-border-pale);\n padding: var(--spacing-xs);\n}\n\n/* ── Person list item (addressBookPresenter) ─────────────────── */\n\n.contactPane .personLi-row {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n\n.contactPane .personLi-avatar {\n width: 45px;\n height: 45px;\n flex-shrink: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.contactPane .personLi-avatar .avatar-placeholder {\n width: 36px;\n height: 36px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.contactPane .personLi-avatar img {\n width: 40px;\n height: 40px;\n border-radius: 50%;\n object-fit: cover;\n}\n\n.contactPane .personLi-info {\n flex: 1;\n margin-left: var(--spacing-sm);\n overflow: hidden;\n}\n\n.contactPane .personLi-name {\n font-weight: bold;\n font-size: var(--font-size-base);\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.contactPane .personLi-arrow {\n margin-left: auto;\n display: flex;\n align-items: center;\n}\n\n.contactPane .personLi--error {\n opacity: 0.5;\n}'],sourceRoot:""}]);const p=u},93(e,n,t){t.d(n,{A:()=>s});var a=t(354),i=t.n(a),o=t(314),r=t.n(o)()(i());r.push([e.id,"/* ── Group Membership Section ──────────────────────────────── */\n\n.contactPane .group-membership-container {\n padding: var(--spacing-sm) 0;\n}\n\n/* Grid wrapper — matches detailsSectionContent groupButtonsList */\n.contactPane .group-pills-wrapper {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));\n gap: var(--spacing-sm);\n list-style: none;\n padding: 0;\n margin: 0;\n width: 100%;\n}\n\n.contactPane .group-pills-wrapper span {\n width: max-content;\n}\n\n/* Each group item: button on top, toolbar below */\n.contactPane .group-membership-item {\n display: flex;\n flex-direction: column;\n align-items: stretch;\n max-width: 256px;\n}\n\n.contactPane .group-membership-item > button {\n width: 100%;\n text-align: center;\n border-radius: var(--border-radius-base);\n word-wrap: break-word;\n overflow-wrap: break-word;\n min-height: var(--min-touch-target);\n}\n\n/* Toolbar with link icon and delete button below each group button */\n.contactPane .group-membership-toolbar {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n gap: var(--spacing-xs);\n padding: var(--spacing-xs) 0 0 0;\n}\n\n.contactPane .group-membership-toolbar a img {\n width: 1.3em;\n height: 1em;\n margin: 0;\n}\n\n@media (max-width: 599px) {\n .contactPane .group-pills-wrapper {\n grid-template-columns: repeat(2, 1fr);\n gap: var(--spacing-xs);\n max-width: 100%;\n }\n\n .contactPane .group-membership-item > button {\n font-size: var(--font-size-sm);\n border-radius: var(--border-radius-base);\n }\n}\n\n@media (min-width: 900px) {\n .contactPane .group-pills-wrapper {\n grid-template-columns: repeat(3, 1fr);\n gap: var(--spacing-sm);\n }\n}\n","",{version:3,sources:["webpack://./src/styles/groupMembership.css"],names:[],mappings:"AAAA,iEAAiE;;AAEjE;EACE,4BAA4B;AAC9B;;AAEA,kEAAkE;AAClE;EACE,aAAa;EACb,2DAA2D;EAC3D,sBAAsB;EACtB,gBAAgB;EAChB,UAAU;EACV,SAAS;EACT,WAAW;AACb;;AAEA;EACE,kBAAkB;AACpB;;AAEA,kDAAkD;AAClD;EACE,aAAa;EACb,sBAAsB;EACtB,oBAAoB;EACpB,gBAAgB;AAClB;;AAEA;EACE,WAAW;EACX,kBAAkB;EAClB,wCAAwC;EACxC,qBAAqB;EACrB,yBAAyB;EACzB,mCAAmC;AACrC;;AAEA,qEAAqE;AACrE;EACE,aAAa;EACb,yBAAyB;EACzB,mBAAmB;EACnB,sBAAsB;EACtB,gCAAgC;AAClC;;AAEA;EACE,YAAY;EACZ,WAAW;EACX,SAAS;AACX;;AAEA;EACE;IACE,qCAAqC;IACrC,sBAAsB;IACtB,eAAe;EACjB;;EAEA;IACE,8BAA8B;IAC9B,wCAAwC;EAC1C;AACF;;AAEA;EACE;IACE,qCAAqC;IACrC,sBAAsB;EACxB;AACF",sourcesContent:["/* ── Group Membership Section ──────────────────────────────── */\n\n.contactPane .group-membership-container {\n padding: var(--spacing-sm) 0;\n}\n\n/* Grid wrapper — matches detailsSectionContent groupButtonsList */\n.contactPane .group-pills-wrapper {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));\n gap: var(--spacing-sm);\n list-style: none;\n padding: 0;\n margin: 0;\n width: 100%;\n}\n\n.contactPane .group-pills-wrapper span {\n width: max-content;\n}\n\n/* Each group item: button on top, toolbar below */\n.contactPane .group-membership-item {\n display: flex;\n flex-direction: column;\n align-items: stretch;\n max-width: 256px;\n}\n\n.contactPane .group-membership-item > button {\n width: 100%;\n text-align: center;\n border-radius: var(--border-radius-base);\n word-wrap: break-word;\n overflow-wrap: break-word;\n min-height: var(--min-touch-target);\n}\n\n/* Toolbar with link icon and delete button below each group button */\n.contactPane .group-membership-toolbar {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n gap: var(--spacing-xs);\n padding: var(--spacing-xs) 0 0 0;\n}\n\n.contactPane .group-membership-toolbar a img {\n width: 1.3em;\n height: 1em;\n margin: 0;\n}\n\n@media (max-width: 599px) {\n .contactPane .group-pills-wrapper {\n grid-template-columns: repeat(2, 1fr);\n gap: var(--spacing-xs);\n max-width: 100%;\n }\n\n .contactPane .group-membership-item > button {\n font-size: var(--font-size-sm);\n border-radius: var(--border-radius-base);\n }\n}\n\n@media (min-width: 900px) {\n .contactPane .group-pills-wrapper {\n grid-template-columns: repeat(3, 1fr);\n gap: var(--spacing-sm);\n }\n}\n"],sourceRoot:""}]);const s=r},479(e,n,t){t.d(n,{A:()=>s});var a=t(354),i=t.n(a),o=t(314),r=t.n(o)()(i());r.push([e.id,"/* individual.js styles — extracted from inline styles */\n\n/* ── Individual pane container ───────────────────────────────── */\n\n.individualPane {\n padding: var(--spacing-xs) var(--spacing-lg) var(--spacing-md) var(--spacing-lg);\n background: var(--color-section-bg);\n border-radius: var(--border-radius-full);\n box-shadow: var(--box-shadow);\n box-sizing: border-box;\n max-width: 100%;\n}","",{version:3,sources:["webpack://./src/styles/individual.css"],names:[],mappings:"AAAA,wDAAwD;;AAExD,mEAAmE;;AAEnE;EACE,gFAAgF;EAChF,mCAAmC;EACnC,wCAAwC;EACxC,6BAA6B;EAC7B,sBAAsB;EACtB,eAAe;AACjB",sourcesContent:["/* individual.js styles — extracted from inline styles */\n\n/* ── Individual pane container ───────────────────────────────── */\n\n.individualPane {\n padding: var(--spacing-xs) var(--spacing-lg) var(--spacing-md) var(--spacing-lg);\n background: var(--color-section-bg);\n border-radius: var(--border-radius-full);\n box-shadow: var(--box-shadow);\n box-sizing: border-box;\n max-width: 100%;\n}"],sourceRoot:""}]);const s=r},546(e,n,t){t.d(n,{A:()=>s});var a=t(354),i=t.n(a),o=t(314),r=t.n(o)()(i());r.push([e.id,"/* CSS for the accessible modal dialogs created by localUtils.js */\n\n/* backdrop / focus trap container */\n.focus-trap {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: 9999;\n background: rgba(0, 0, 0, 0.5);\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.focus-trap.hidden {\n display: none;\n}\n\n/* inner dialog box */\n.focus-trap .modal {\n background: var(--color-background);\n padding: var(--spacing-lg);\n border-radius: var(--border-radius-base);\n max-width: 90%;\n box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);\n}\n\n/* button container: center buttons horizontally (uses id in markup) */\n#contacts-modal #modal-buttons {\n margin-top: var(--spacing-md);\n display: flex;\n justify-content: center;\n gap: var(--spacing-sm);\n}\n\n/* buttons themselves use the shared btn-primary rules */\n#contacts-modal .modal button {\n min-height: var(--min-touch-target);\n padding: var(--spacing-sm) var(--spacing-md);\n border: 1px solid var(--color-primary);\n border-radius: var(--border-radius-base);\n font-weight: 600;\n cursor: pointer;\n transition: all var(--animation-duration) ease;\n}\n\n#contacts-modal .modal button.btn-primary {\n background: var(--color-primary);\n color: var(--color-background);\n}\n\n#contacts-modal .modal button.btn-primary:hover {\n background: color-mix(in srgb, var(--color-primary) 90%, black);\n box-shadow: 0 2px 4px rgba(124, 77, 255, 0.2);\n}\n\n#contacts-modal .modal button.btn-primary:active {\n box-shadow: 0 1px 2px rgba(124, 77, 255, 0.2);\n}\n\n#contacts-modal .modal button:disabled {\n opacity: var(--opacity-disabled, 0.6);\n cursor: not-allowed;\n transform: none;\n}\n","",{version:3,sources:["webpack://./src/styles/localUtils.css"],names:[],mappings:"AAAA,kEAAkE;;AAElE,oCAAoC;AACpC;EACE,eAAe;EACf,MAAM;EACN,OAAO;EACP,WAAW;EACX,YAAY;EACZ,aAAa;EACb,8BAA8B;EAC9B,aAAa;EACb,uBAAuB;EACvB,mBAAmB;AACrB;;AAEA;EACE,aAAa;AACf;;AAEA,qBAAqB;AACrB;EACE,mCAAmC;EACnC,0BAA0B;EAC1B,wCAAwC;EACxC,cAAc;EACd,yCAAyC;AAC3C;;AAEA,sEAAsE;AACtE;EACE,6BAA6B;EAC7B,aAAa;EACb,uBAAuB;EACvB,sBAAsB;AACxB;;AAEA,wDAAwD;AACxD;EACE,mCAAmC;EACnC,4CAA4C;EAC5C,sCAAsC;EACtC,wCAAwC;EACxC,gBAAgB;EAChB,eAAe;EACf,8CAA8C;AAChD;;AAEA;EACE,gCAAgC;EAChC,8BAA8B;AAChC;;AAEA;EACE,+DAA+D;EAC/D,6CAA6C;AAC/C;;AAEA;EACE,6CAA6C;AAC/C;;AAEA;EACE,qCAAqC;EACrC,mBAAmB;EACnB,eAAe;AACjB",sourcesContent:["/* CSS for the accessible modal dialogs created by localUtils.js */\n\n/* backdrop / focus trap container */\n.focus-trap {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: 9999;\n background: rgba(0, 0, 0, 0.5);\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.focus-trap.hidden {\n display: none;\n}\n\n/* inner dialog box */\n.focus-trap .modal {\n background: var(--color-background);\n padding: var(--spacing-lg);\n border-radius: var(--border-radius-base);\n max-width: 90%;\n box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);\n}\n\n/* button container: center buttons horizontally (uses id in markup) */\n#contacts-modal #modal-buttons {\n margin-top: var(--spacing-md);\n display: flex;\n justify-content: center;\n gap: var(--spacing-sm);\n}\n\n/* buttons themselves use the shared btn-primary rules */\n#contacts-modal .modal button {\n min-height: var(--min-touch-target);\n padding: var(--spacing-sm) var(--spacing-md);\n border: 1px solid var(--color-primary);\n border-radius: var(--border-radius-base);\n font-weight: 600;\n cursor: pointer;\n transition: all var(--animation-duration) ease;\n}\n\n#contacts-modal .modal button.btn-primary {\n background: var(--color-primary);\n color: var(--color-background);\n}\n\n#contacts-modal .modal button.btn-primary:hover {\n background: color-mix(in srgb, var(--color-primary) 90%, black);\n box-shadow: 0 2px 4px rgba(124, 77, 255, 0.2);\n}\n\n#contacts-modal .modal button.btn-primary:active {\n box-shadow: 0 1px 2px rgba(124, 77, 255, 0.2);\n}\n\n#contacts-modal .modal button:disabled {\n opacity: var(--opacity-disabled, 0.6);\n cursor: not-allowed;\n transform: none;\n}\n"],sourceRoot:""}]);const s=r},715(e,n,t){t.d(n,{A:()=>s});var a=t(354),i=t.n(a),o=t(314),r=t.n(o)()(i());r.push([e.id,"/* mugshotGallery.js styles — extracted from inline styles */\n/* Uses CSS custom properties from the global stylesheet (dev-global.css / mashlib) */\n\n/* ── Mugshot image ───────────────────────────────────────────── */\n\n.contactPane .mugshotImage {\n max-height: 10em;\n border-radius: var(--border-radius-full);\n margin: var(--spacing-sm);\n}\n","",{version:3,sources:["webpack://./src/styles/mugshotGallery.css"],names:[],mappings:"AAAA,4DAA4D;AAC5D,qFAAqF;;AAErF,mEAAmE;;AAEnE;EACE,gBAAgB;EAChB,wCAAwC;EACxC,yBAAyB;AAC3B",sourcesContent:["/* mugshotGallery.js styles — extracted from inline styles */\n/* Uses CSS custom properties from the global stylesheet (dev-global.css / mashlib) */\n\n/* ── Mugshot image ───────────────────────────────────────────── */\n\n.contactPane .mugshotImage {\n max-height: 10em;\n border-radius: var(--border-radius-full);\n margin: var(--spacing-sm);\n}\n"],sourceRoot:""}]);const s=r},434(e,n,t){t.d(n,{A:()=>s});var a=t(354),i=t.n(a),o=t(314),r=t.n(o)()(i());r.push([e.id,'/* Solid-UI form */\n\n/* Vertically center autocomplete input in .formFieldValue */\n.individualPane .formFieldValue > div[style*="flex-direction: row"],\n.contactPane .formFieldValue > div[style*="flex-direction: row"] {\n align-items: center;\n display: flex;\n}\n\n.individualPane .formFieldValue input[data-testid="autocomplete-input"],\n.contactPane .formFieldValue input[data-testid="autocomplete-input"] {\n vertical-align: middle;\n}\n\n.individualPane .hoverControl:has(> img:first-child),\n.contactPane .hoverControl:has(> img:first-child) {\n background-color: transparent !important;\n border: none !important;\n margin: 0 !important;\n border-radius: 0 !important;\n padding: 0.7em !important;\n min-height: var(--min-touch-target);\n min-width: var(--min-touch-target);\n cursor: pointer;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n}\n\n.individualPane .hoverControlHide,\n.contactPane .hoverControlHide {\n width: 1.5em !important;\n height: 1.5em !important;\n display: block;\n margin-top: 0 !important;\n margin-left: 0 !important;\n margin-right: 0 !important;\n margin-bottom: 0.3em !important;\n}\n\n.individualPane .hoverControl:has(> img:first-child) > span,\n.contactPane .hoverControl:has(> img:first-child) > span {\n display: inline-flex;\n align-items: center;\n margin-left: 0.3em;\n}\n\n.individualPane div[style*="padding: 0.5em"]:has(> img),\n.contactPane div[style*="padding: 0.5em"]:has(> img) {\n display: inline-flex;\n align-items: center;\n}\n\n.individualPane div[style*="padding: 0.5em"]:has(> img) > span,\n.contactPane div[style*="padding: 0.5em"]:has(> img) > span {\n margin-left: 0.3em;\n}\n\n.individualPane .hoverControl:has(> img:first-child):hover,\n.contactPane .hoverControl:has(> img:first-child):hover {\n background-color: transparent !important;\n}\n\n.individualPane button:has(> img[src$=".svg"]),\n.contactPane button:has(> img[src$=".svg"]) {\n background-color: transparent !important;\n border: none !important;\n margin: 0 !important;\n border-radius: 0 !important;\n}\n\n.individualPane button,\n.contactPane button {\n min-height: var(--min-touch-target);\n min-width: var(--min-touch-target);\n}\n\n.individualPane input:not([type="color"]),\n.contactPane input:not([type="color"]),\n.individualPane textarea,\n.contactPane textarea,\n.individualPane select,\n.contactPane select {\n max-width: 100%;\n min-width: 0;\n box-sizing: border-box ;\n font: inherit;\n color: var(--color-text);\n background-color: var(--color-card-bg) !important;\n border: 1px solid var(--color-border-pale);\n}\n\n.individualPane textarea,\n.contactPane textarea {\n border-color: var(--color-border-pale) !important;\n margin: 0 !important;\n padding: 0 !important;\n}\n\n.individualPane input[type="date"],\n.contactPane input[type="date"],\n.individualPane input[type="month"],\n.contactPane input[type="month"],\n.individualPane input[type="week"],\n.contactPane input[type="week"],\n.individualPane input[type="time"],\n.contactPane input[type="time"],\n.individualPane input[type="datetime-local"],\n.contactPane input[type="datetime-local"] {\n min-height: var(--min-touch-target);\n}\n\n.individualPane .hoverControl:has(> img:first-child):focus-visible,\n.contactPane .hoverControl:has(> img:first-child):focus-visible,\n.individualPane button:focus-visible,\n.contactPane button:focus-visible,\n.individualPane input:not([type="color"]):focus-visible,\n.contactPane input:not([type="color"]):focus-visible,\n.individualPane textarea:focus-visible,\n.contactPane textarea:focus-visible,\n.individualPane select:focus-visible,\n.contactPane select:focus-visible {\n outline: var(--focus-ring-width) solid var(--color-primary) !important;\n outline-offset: 2px;\n box-shadow: 0 0 0 1px var(--color-background);\n}\n\n.individualPane input[type="url"],\n.contactPane input[type="url"] {\n width: 100%;\n}\n\n.individualPane .formFieldValue,\n.contactPane .formFieldValue {\n min-width: 0;\n margin-bottom: var(--spacing-sm);\n}\n\n.individualPane .formFieldValue table,\n.contactPane .formFieldValue table {\n margin: 0 !important;\n padding: 0 !important;\n}\n\n.individualPane .formFieldValue td,\n.contactPane .formFieldValue td {\n padding: 0 !important;\n vertical-align: middle;\n}\n\n.individualPane .formFieldValue table[data-testid="autocomplete-table"],\n.contactPane .formFieldValue table[data-testid="autocomplete-table"] {\n height: 100%;\n}\n\n.individualPane .formFieldValue input:not([type="color"]),\n.contactPane .formFieldValue input:not([type="color"]),\n.individualPane .formFieldValue textarea,\n.contactPane .formFieldValue textarea {\n width: 100%;\n max-width: 100%;\n}\n\n.individualPane .formFieldValue select,\n.contactPane .formFieldValue select {\n width: 100%;\n display: inline-block;\n max-width: none !important;\n}\n\n.individualPane select#formSelect,\n.contactPane select#formSelect {\n width: 100%;\n max-width: 97%;\n box-sizing: border-box;\n margin-left: 0 !important;\n margin-right: 0 !important;\n}\n\n.individualPane span select,\n.contactPane span select {\n max-width: 96% !important;\n box-sizing: border-box;\n margin: 0 !important;\n}\n\n.individualPane .formFieldValue span select,\n.contactPane .formFieldValue span select {\n margin-left: 0 !important;\n margin-right: 0 !important;\n}\n\n/* Remove border/padding from the first wrapper div (and its first child wrapper). */\n.individualPane > div:first-of-type,\n.contactPane > div:first-of-type,\n.individualPane > div:first-of-type > div:first-of-type,\n.contactPane > div:first-of-type > div:first-of-type {\n border: none !important;\n padding: 0 !important;\n}\n\n/* In contactPane, remove border/padding from all direct child divs. */\n.individualPane > div,\n.contactPane > div {\n border: none !important;\n padding: 0 !important;\n}\n\n/* Align schema.org, solid terms, FOAF, vCard, and org field labels with their input values. */\n.individualPane :not(.choiceBox):has(> .formFieldName):has(> .formFieldValue),\n.contactPane :not(.choiceBox):has(> .formFieldName):has(> .formFieldValue) {\n display: flex;\n align-items: baseline;\n margin-bottom: var(--spacing-sm);\n}\n\n/* for the Resume inside corporation choice */\n/* Add space between classifierBox label and select box */\n.individualPane .choiceBox .classifierBox-label,\n.contactPane .choiceBox .classifierBox-label {\n margin-right: 0;\n padding-left: 0.3em;\n}\n\n.individualPane .choiceBox .choiceBox-selectBox select,\n.contactPane .choiceBox .choiceBox-selectBox select {\n margin-left: 2.1em !important;\n}\n\n/* for the Resume orga details */\n/* Add space between classifierBox label and select box */\n.individualPane .classifierBox .classifierBox-label,\n.contactPane .classifierBox .classifierBox-label {\n margin-right: 0;\n padding-left: 0.3em;\n width: 8em;\n padding: 0.3em;\n vertical-align: middle;\n}\n\n.individualPane .classifierBox .classifierBox-selectBox,\n.contactPane .classifierBox .classifierBox-selectBox {\n margin-left: 0 !important;\n}\n\n.individualPane .classifierBox .classifierBox-selectBox select,\n.contactPane .classifierBox .classifierBox-selectBox select {\n margin-left: 0 !important;\n}\n\n.individualPane .formFieldValue > span > select,\n.contactPane .formFieldValue > span > select {\n margin-left: 0 !important;\n}\n\n.individualPane :not(.choiceBox):has(> .formFieldName):has(> .formFieldValue) > .formFieldValue,\n.contactPane :not(.choiceBox):has(> .formFieldName):has(> .formFieldValue) > .formFieldValue {\n margin-bottom: 0;\n}\n\n.individualPane :not(.choiceBox) > .formFieldName:has(a[href*="http://schema.org/"]),\n.contactPane :not(.choiceBox) > .formFieldName:has(a[href*="http://schema.org/"]),\n.individualPane :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/ns/solid/terms#"]),\n.contactPane :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/ns/solid/terms#"]),\n.individualPane :not(.choiceBox) > .formFieldName:has(a[href*="http://xmlns.com/foaf/0.1/"]),\n.contactPane :not(.choiceBox) > .formFieldName:has(a[href*="http://xmlns.com/foaf/0.1/"]),\n.individualPane :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/2006/vcard/ns"]),\n.contactPane :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/2006/vcard/ns"]),\n.individualPane :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/ns/org#"]),\n.contactPane :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/ns/org#"]) {\n display: inline-flex;\n align-items: center;\n vertical-align: middle;\n}\n\n.individualPane :not(.choiceBox) > .formFieldName:has(a[href*="http://schema.org/"]) + .formFieldValue,\n.contactPane :not(.choiceBox) > .formFieldName:has(a[href*="http://schema.org/"]) + .formFieldValue,\n.individualPane :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/ns/solid/terms#"]) + .formFieldValue,\n.contactPane :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/ns/solid/terms#"]) + .formFieldValue,\n.individualPane :not(.choiceBox) > .formFieldName:has(a[href*="http://xmlns.com/foaf/0.1/"]) + .formFieldValue,\n.contactPane :not(.choiceBox) > .formFieldName:has(a[href*="http://xmlns.com/foaf/0.1/"]) + .formFieldValue,\n.individualPane :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/2006/vcard/ns"]) + .formFieldValue,\n.contactPane :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/2006/vcard/ns"]) + .formFieldValue,\n.individualPane :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/ns/org#"]) + .formFieldValue,\n.contactPane :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/ns/org#"]) + .formFieldValue {\n display: inline-flex;\n align-items: center;\n vertical-align: middle;\n flex: 1;\n min-width: 0;\n}\n\n.individualPane textarea,\n.contactPane textarea,\n.individualPane .formFieldValue textarea,\n.contactPane .formFieldValue textarea {\n appearance: none;\n -webkit-appearance: none;\n border-radius: 0.2em !important;\n border: 0.05em solid #88c !important;\n width: 100%;\n box-sizing: border-box;\n margin-top: var(--spacing-xs);\n margin-left: 0 !important;\n margin-right: 0 !important;\n}\n\n/* Add horizontal gap between label and textarea for all label+textarea pairs. */\n.individualPane div:has(> a) + div:has(textarea),\n.contactPane div:has(> a) + div:has(textarea) {\n margin-left: var(--spacing-sm);\n}\n\n/* Center textarea label vertically in flex rows. */\n.individualPane div[style*="display: flex"][style*="flex-direction: row"]:has(textarea),\n.contactPane div[style*="display: flex"][style*="flex-direction: row"]:has(textarea) {\n align-items: flex-start;\n}\n\n.individualPane div[style*="display: flex"][style*="flex-direction: row"]:has(textarea) > div:has(> a),\n.contactPane div[style*="display: flex"][style*="flex-direction: row"]:has(textarea) > div:has(> a) {\n padding-left: var(--spacing-xs);\n padding-top: var(--spacing-sm);\n}\n\n/* Keep autocomplete/table-based fields (e.g. Occupation) aligned to label text baseline. */\n.individualPane :not(.choiceBox):has(> .formFieldValue input[data-testid="autocomplete-input"]),\n.contactPane :not(.choiceBox):has(> .formFieldValue input[data-testid="autocomplete-input"]) {\n align-items: flex-start;\n}\n\n.individualPane :not(.choiceBox):has(> .formFieldValue input[data-testid="autocomplete-input"]) > .formFieldName,\n.contactPane :not(.choiceBox):has(> .formFieldValue input[data-testid="autocomplete-input"]) > .formFieldName {\n padding-top: var(--spacing-xs) !important;\n}\n\n.individualPane .formFieldValue:has(input[data-testid="autocomplete-input"]),\n.contactPane .formFieldValue:has(input[data-testid="autocomplete-input"]) {\n align-self: flex-start;\n}\n\n.individualPane .formFieldValue table[data-testid="autocomplete-table"],\n.contactPane .formFieldValue table[data-testid="autocomplete-table"],\n.individualPane .formFieldValue input[data-testid="autocomplete-input"],\n.contactPane .formFieldValue input[data-testid="autocomplete-input"] {\n margin: 0 !important;\n}\n\n.individualPane .formFieldValue table[data-testid="autocomplete-table"],\n.contactPane .formFieldValue table[data-testid="autocomplete-table"] {\n vertical-align: baseline;\n}\n\n.individualPane input:not([type="color"]),\n.contactPane input:not([type="color"]) {\n width: 100%;\n margin-left: 0 !important;\n margin-right: 0 !important;\n}\n\n.individualPane input:disabled,\n.contactPane input:disabled,\n.individualPane textarea:disabled,\n.contactPane textarea:disabled,\n.individualPane select:disabled,\n.contactPane select:disabled,\n.individualPane input[readonly],\n.contactPane input[readonly],\n.individualPane textarea[readonly],\n.contactPane textarea[readonly],\n.individualPane input:read-only,\n.contactPane input:read-only,\n.individualPane textarea:read-only,\n.contactPane textarea:read-only {\n background-color: var(--color-background) !important;\n cursor: not-allowed;\n opacity: 0.75;\n border: 0.05em solid var(--color-background) !important;\n}\n\n.individualPane textarea,\n.contactPane textarea,\n.individualPane .formFieldValue textarea,\n.contactPane .formFieldValue textarea {\n padding: var(--spacing-xs) !important;\n}\n\n.contactPane .webidControl table td div.contactPane.namedPane {\n border: none !important;\n}\n\n/* ------------------------------------------------------------------ */\n/* inline popup used for small confirmation flows (like the new confirmDialog) */\n/* apply the class `rdf-inline-modal` on the outer wrapper and give the\n inner box the class `popup` instead of using the old inline styles. */\n\n/* selectors that match the old inline-styled markup when no classes can be added */\n\n/* outer container: position relative containing an absolute grid popup */\n.contactPane div[style*="position: relative"] > div[style*="position: absolute"][style*="display: grid"] {\n /* override inline values with theme variables */\n position: absolute;\n top: -1em;\n padding: 0.7em !important;\n background: var(--color-background) !important;\n border: 0.1em solid var(--color-primary) !important;\n border-radius: var(--border-radius-base) !important;\n box-shadow: 0 0.5em 0.9em rgba(0, 0, 0, 0.2) !important;\n display: grid;\n grid-template-columns: auto auto;\n gap: 0.3em;\n z-index: 10;\n}',"",{version:3,sources:["webpack://./src/styles/rdfFormsEnforced.css"],names:[],mappings:"AAAA,kBAAkB;;AAElB,4DAA4D;AAC5D;;EAEE,mBAAmB;EACnB,aAAa;AACf;;AAEA;;EAEE,sBAAsB;AACxB;;AAEA;;EAEE,wCAAwC;EACxC,uBAAuB;EACvB,oBAAoB;EACpB,2BAA2B;EAC3B,yBAAyB;EACzB,mCAAmC;EACnC,kCAAkC;EAClC,eAAe;EACf,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;AACzB;;AAEA;;EAEE,uBAAuB;EACvB,wBAAwB;EACxB,cAAc;EACd,wBAAwB;EACxB,yBAAyB;EACzB,0BAA0B;EAC1B,+BAA+B;AACjC;;AAEA;;EAEE,oBAAoB;EACpB,mBAAmB;EACnB,kBAAkB;AACpB;;AAEA;;EAEE,oBAAoB;EACpB,mBAAmB;AACrB;;AAEA;;EAEE,kBAAkB;AACpB;;AAEA;;EAEE,wCAAwC;AAC1C;;AAEA;;EAEE,wCAAwC;EACxC,uBAAuB;EACvB,oBAAoB;EACpB,2BAA2B;AAC7B;;AAEA;;EAEE,mCAAmC;EACnC,kCAAkC;AACpC;;AAEA;;;;;;EAME,eAAe;EACf,YAAY;EACZ,uBAAuB;EACvB,aAAa;EACb,wBAAwB;EACxB,iDAAiD;EACjD,0CAA0C;AAC5C;;AAEA;;EAEE,iDAAiD;EACjD,oBAAoB;EACpB,qBAAqB;AACvB;;AAEA;;;;;;;;;;EAUE,mCAAmC;AACrC;;AAEA;;;;;;;;;;EAUE,sEAAsE;EACtE,mBAAmB;EACnB,6CAA6C;AAC/C;;AAEA;;EAEE,WAAW;AACb;;AAEA;;EAEE,YAAY;EACZ,gCAAgC;AAClC;;AAEA;;EAEE,oBAAoB;EACpB,qBAAqB;AACvB;;AAEA;;EAEE,qBAAqB;EACrB,sBAAsB;AACxB;;AAEA;;EAEE,YAAY;AACd;;AAEA;;;;EAIE,WAAW;EACX,eAAe;AACjB;;AAEA;;EAEE,WAAW;EACX,qBAAqB;EACrB,0BAA0B;AAC5B;;AAEA;;EAEE,WAAW;EACX,cAAc;EACd,sBAAsB;EACtB,yBAAyB;EACzB,0BAA0B;AAC5B;;AAEA;;EAEE,yBAAyB;EACzB,sBAAsB;EACtB,oBAAoB;AACtB;;AAEA;;EAEE,yBAAyB;EACzB,0BAA0B;AAC5B;;AAEA,oFAAoF;AACpF;;;;EAIE,uBAAuB;EACvB,qBAAqB;AACvB;;AAEA,sEAAsE;AACtE;;EAEE,uBAAuB;EACvB,qBAAqB;AACvB;;AAEA,8FAA8F;AAC9F;;EAEE,aAAa;EACb,qBAAqB;EACrB,gCAAgC;AAClC;;AAEA,6CAA6C;AAC7C,yDAAyD;AACzD;;EAEE,eAAe;EACf,mBAAmB;AACrB;;AAEA;;EAEE,6BAA6B;AAC/B;;AAEA,gCAAgC;AAChC,yDAAyD;AACzD;;EAEE,eAAe;EACf,mBAAmB;EACnB,UAAU;EACV,cAAc;EACd,sBAAsB;AACxB;;AAEA;;EAEE,yBAAyB;AAC3B;;AAEA;;EAEE,yBAAyB;AAC3B;;AAEA;;EAEE,yBAAyB;AAC3B;;AAEA;;EAEE,gBAAgB;AAClB;;AAEA;;;;;;;;;;EAUE,oBAAoB;EACpB,mBAAmB;EACnB,sBAAsB;AACxB;;AAEA;;;;;;;;;;EAUE,oBAAoB;EACpB,mBAAmB;EACnB,sBAAsB;EACtB,OAAO;EACP,YAAY;AACd;;AAEA;;;;EAIE,gBAAgB;EAChB,wBAAwB;EACxB,+BAA+B;EAC/B,oCAAoC;EACpC,WAAW;EACX,sBAAsB;EACtB,6BAA6B;EAC7B,yBAAyB;EACzB,0BAA0B;AAC5B;;AAEA,gFAAgF;AAChF;;EAEE,8BAA8B;AAChC;;AAEA,mDAAmD;AACnD;;EAEE,uBAAuB;AACzB;;AAEA;;EAEE,+BAA+B;EAC/B,8BAA8B;AAChC;;AAEA,2FAA2F;AAC3F;;EAEE,uBAAuB;AACzB;;AAEA;;EAEE,yCAAyC;AAC3C;;AAEA;;EAEE,sBAAsB;AACxB;;AAEA;;;;EAIE,oBAAoB;AACtB;;AAEA;;EAEE,wBAAwB;AAC1B;;AAEA;;EAEE,WAAW;EACX,yBAAyB;EACzB,0BAA0B;AAC5B;;AAEA;;;;;;;;;;;;;;EAcE,oDAAoD;EACpD,mBAAmB;EACnB,aAAa;EACb,uDAAuD;AACzD;;AAEA;;;;EAIE,qCAAqC;AACvC;;AAEA;EACE,uBAAuB;AACzB;;AAEA,uEAAuE;AACvE,gFAAgF;AAChF;wEACwE;;AAExE,mFAAmF;;AAEnF,yEAAyE;AACzE;EACE,gDAAgD;EAChD,kBAAkB;EAClB,SAAS;EACT,yBAAyB;EACzB,8CAA8C;EAC9C,mDAAmD;EACnD,mDAAmD;EACnD,uDAAuD;EACvD,aAAa;EACb,gCAAgC;EAChC,UAAU;EACV,WAAW;AACb",sourcesContent:['/* Solid-UI form */\n\n/* Vertically center autocomplete input in .formFieldValue */\n.individualPane .formFieldValue > div[style*="flex-direction: row"],\n.contactPane .formFieldValue > div[style*="flex-direction: row"] {\n align-items: center;\n display: flex;\n}\n\n.individualPane .formFieldValue input[data-testid="autocomplete-input"],\n.contactPane .formFieldValue input[data-testid="autocomplete-input"] {\n vertical-align: middle;\n}\n\n.individualPane .hoverControl:has(> img:first-child),\n.contactPane .hoverControl:has(> img:first-child) {\n background-color: transparent !important;\n border: none !important;\n margin: 0 !important;\n border-radius: 0 !important;\n padding: 0.7em !important;\n min-height: var(--min-touch-target);\n min-width: var(--min-touch-target);\n cursor: pointer;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n}\n\n.individualPane .hoverControlHide,\n.contactPane .hoverControlHide {\n width: 1.5em !important;\n height: 1.5em !important;\n display: block;\n margin-top: 0 !important;\n margin-left: 0 !important;\n margin-right: 0 !important;\n margin-bottom: 0.3em !important;\n}\n\n.individualPane .hoverControl:has(> img:first-child) > span,\n.contactPane .hoverControl:has(> img:first-child) > span {\n display: inline-flex;\n align-items: center;\n margin-left: 0.3em;\n}\n\n.individualPane div[style*="padding: 0.5em"]:has(> img),\n.contactPane div[style*="padding: 0.5em"]:has(> img) {\n display: inline-flex;\n align-items: center;\n}\n\n.individualPane div[style*="padding: 0.5em"]:has(> img) > span,\n.contactPane div[style*="padding: 0.5em"]:has(> img) > span {\n margin-left: 0.3em;\n}\n\n.individualPane .hoverControl:has(> img:first-child):hover,\n.contactPane .hoverControl:has(> img:first-child):hover {\n background-color: transparent !important;\n}\n\n.individualPane button:has(> img[src$=".svg"]),\n.contactPane button:has(> img[src$=".svg"]) {\n background-color: transparent !important;\n border: none !important;\n margin: 0 !important;\n border-radius: 0 !important;\n}\n\n.individualPane button,\n.contactPane button {\n min-height: var(--min-touch-target);\n min-width: var(--min-touch-target);\n}\n\n.individualPane input:not([type="color"]),\n.contactPane input:not([type="color"]),\n.individualPane textarea,\n.contactPane textarea,\n.individualPane select,\n.contactPane select {\n max-width: 100%;\n min-width: 0;\n box-sizing: border-box ;\n font: inherit;\n color: var(--color-text);\n background-color: var(--color-card-bg) !important;\n border: 1px solid var(--color-border-pale);\n}\n\n.individualPane textarea,\n.contactPane textarea {\n border-color: var(--color-border-pale) !important;\n margin: 0 !important;\n padding: 0 !important;\n}\n\n.individualPane input[type="date"],\n.contactPane input[type="date"],\n.individualPane input[type="month"],\n.contactPane input[type="month"],\n.individualPane input[type="week"],\n.contactPane input[type="week"],\n.individualPane input[type="time"],\n.contactPane input[type="time"],\n.individualPane input[type="datetime-local"],\n.contactPane input[type="datetime-local"] {\n min-height: var(--min-touch-target);\n}\n\n.individualPane .hoverControl:has(> img:first-child):focus-visible,\n.contactPane .hoverControl:has(> img:first-child):focus-visible,\n.individualPane button:focus-visible,\n.contactPane button:focus-visible,\n.individualPane input:not([type="color"]):focus-visible,\n.contactPane input:not([type="color"]):focus-visible,\n.individualPane textarea:focus-visible,\n.contactPane textarea:focus-visible,\n.individualPane select:focus-visible,\n.contactPane select:focus-visible {\n outline: var(--focus-ring-width) solid var(--color-primary) !important;\n outline-offset: 2px;\n box-shadow: 0 0 0 1px var(--color-background);\n}\n\n.individualPane input[type="url"],\n.contactPane input[type="url"] {\n width: 100%;\n}\n\n.individualPane .formFieldValue,\n.contactPane .formFieldValue {\n min-width: 0;\n margin-bottom: var(--spacing-sm);\n}\n\n.individualPane .formFieldValue table,\n.contactPane .formFieldValue table {\n margin: 0 !important;\n padding: 0 !important;\n}\n\n.individualPane .formFieldValue td,\n.contactPane .formFieldValue td {\n padding: 0 !important;\n vertical-align: middle;\n}\n\n.individualPane .formFieldValue table[data-testid="autocomplete-table"],\n.contactPane .formFieldValue table[data-testid="autocomplete-table"] {\n height: 100%;\n}\n\n.individualPane .formFieldValue input:not([type="color"]),\n.contactPane .formFieldValue input:not([type="color"]),\n.individualPane .formFieldValue textarea,\n.contactPane .formFieldValue textarea {\n width: 100%;\n max-width: 100%;\n}\n\n.individualPane .formFieldValue select,\n.contactPane .formFieldValue select {\n width: 100%;\n display: inline-block;\n max-width: none !important;\n}\n\n.individualPane select#formSelect,\n.contactPane select#formSelect {\n width: 100%;\n max-width: 97%;\n box-sizing: border-box;\n margin-left: 0 !important;\n margin-right: 0 !important;\n}\n\n.individualPane span select,\n.contactPane span select {\n max-width: 96% !important;\n box-sizing: border-box;\n margin: 0 !important;\n}\n\n.individualPane .formFieldValue span select,\n.contactPane .formFieldValue span select {\n margin-left: 0 !important;\n margin-right: 0 !important;\n}\n\n/* Remove border/padding from the first wrapper div (and its first child wrapper). */\n.individualPane > div:first-of-type,\n.contactPane > div:first-of-type,\n.individualPane > div:first-of-type > div:first-of-type,\n.contactPane > div:first-of-type > div:first-of-type {\n border: none !important;\n padding: 0 !important;\n}\n\n/* In contactPane, remove border/padding from all direct child divs. */\n.individualPane > div,\n.contactPane > div {\n border: none !important;\n padding: 0 !important;\n}\n\n/* Align schema.org, solid terms, FOAF, vCard, and org field labels with their input values. */\n.individualPane :not(.choiceBox):has(> .formFieldName):has(> .formFieldValue),\n.contactPane :not(.choiceBox):has(> .formFieldName):has(> .formFieldValue) {\n display: flex;\n align-items: baseline;\n margin-bottom: var(--spacing-sm);\n}\n\n/* for the Resume inside corporation choice */\n/* Add space between classifierBox label and select box */\n.individualPane .choiceBox .classifierBox-label,\n.contactPane .choiceBox .classifierBox-label {\n margin-right: 0;\n padding-left: 0.3em;\n}\n\n.individualPane .choiceBox .choiceBox-selectBox select,\n.contactPane .choiceBox .choiceBox-selectBox select {\n margin-left: 2.1em !important;\n}\n\n/* for the Resume orga details */\n/* Add space between classifierBox label and select box */\n.individualPane .classifierBox .classifierBox-label,\n.contactPane .classifierBox .classifierBox-label {\n margin-right: 0;\n padding-left: 0.3em;\n width: 8em;\n padding: 0.3em;\n vertical-align: middle;\n}\n\n.individualPane .classifierBox .classifierBox-selectBox,\n.contactPane .classifierBox .classifierBox-selectBox {\n margin-left: 0 !important;\n}\n\n.individualPane .classifierBox .classifierBox-selectBox select,\n.contactPane .classifierBox .classifierBox-selectBox select {\n margin-left: 0 !important;\n}\n\n.individualPane .formFieldValue > span > select,\n.contactPane .formFieldValue > span > select {\n margin-left: 0 !important;\n}\n\n.individualPane :not(.choiceBox):has(> .formFieldName):has(> .formFieldValue) > .formFieldValue,\n.contactPane :not(.choiceBox):has(> .formFieldName):has(> .formFieldValue) > .formFieldValue {\n margin-bottom: 0;\n}\n\n.individualPane :not(.choiceBox) > .formFieldName:has(a[href*="http://schema.org/"]),\n.contactPane :not(.choiceBox) > .formFieldName:has(a[href*="http://schema.org/"]),\n.individualPane :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/ns/solid/terms#"]),\n.contactPane :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/ns/solid/terms#"]),\n.individualPane :not(.choiceBox) > .formFieldName:has(a[href*="http://xmlns.com/foaf/0.1/"]),\n.contactPane :not(.choiceBox) > .formFieldName:has(a[href*="http://xmlns.com/foaf/0.1/"]),\n.individualPane :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/2006/vcard/ns"]),\n.contactPane :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/2006/vcard/ns"]),\n.individualPane :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/ns/org#"]),\n.contactPane :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/ns/org#"]) {\n display: inline-flex;\n align-items: center;\n vertical-align: middle;\n}\n\n.individualPane :not(.choiceBox) > .formFieldName:has(a[href*="http://schema.org/"]) + .formFieldValue,\n.contactPane :not(.choiceBox) > .formFieldName:has(a[href*="http://schema.org/"]) + .formFieldValue,\n.individualPane :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/ns/solid/terms#"]) + .formFieldValue,\n.contactPane :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/ns/solid/terms#"]) + .formFieldValue,\n.individualPane :not(.choiceBox) > .formFieldName:has(a[href*="http://xmlns.com/foaf/0.1/"]) + .formFieldValue,\n.contactPane :not(.choiceBox) > .formFieldName:has(a[href*="http://xmlns.com/foaf/0.1/"]) + .formFieldValue,\n.individualPane :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/2006/vcard/ns"]) + .formFieldValue,\n.contactPane :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/2006/vcard/ns"]) + .formFieldValue,\n.individualPane :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/ns/org#"]) + .formFieldValue,\n.contactPane :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/ns/org#"]) + .formFieldValue {\n display: inline-flex;\n align-items: center;\n vertical-align: middle;\n flex: 1;\n min-width: 0;\n}\n\n.individualPane textarea,\n.contactPane textarea,\n.individualPane .formFieldValue textarea,\n.contactPane .formFieldValue textarea {\n appearance: none;\n -webkit-appearance: none;\n border-radius: 0.2em !important;\n border: 0.05em solid #88c !important;\n width: 100%;\n box-sizing: border-box;\n margin-top: var(--spacing-xs);\n margin-left: 0 !important;\n margin-right: 0 !important;\n}\n\n/* Add horizontal gap between label and textarea for all label+textarea pairs. */\n.individualPane div:has(> a) + div:has(textarea),\n.contactPane div:has(> a) + div:has(textarea) {\n margin-left: var(--spacing-sm);\n}\n\n/* Center textarea label vertically in flex rows. */\n.individualPane div[style*="display: flex"][style*="flex-direction: row"]:has(textarea),\n.contactPane div[style*="display: flex"][style*="flex-direction: row"]:has(textarea) {\n align-items: flex-start;\n}\n\n.individualPane div[style*="display: flex"][style*="flex-direction: row"]:has(textarea) > div:has(> a),\n.contactPane div[style*="display: flex"][style*="flex-direction: row"]:has(textarea) > div:has(> a) {\n padding-left: var(--spacing-xs);\n padding-top: var(--spacing-sm);\n}\n\n/* Keep autocomplete/table-based fields (e.g. Occupation) aligned to label text baseline. */\n.individualPane :not(.choiceBox):has(> .formFieldValue input[data-testid="autocomplete-input"]),\n.contactPane :not(.choiceBox):has(> .formFieldValue input[data-testid="autocomplete-input"]) {\n align-items: flex-start;\n}\n\n.individualPane :not(.choiceBox):has(> .formFieldValue input[data-testid="autocomplete-input"]) > .formFieldName,\n.contactPane :not(.choiceBox):has(> .formFieldValue input[data-testid="autocomplete-input"]) > .formFieldName {\n padding-top: var(--spacing-xs) !important;\n}\n\n.individualPane .formFieldValue:has(input[data-testid="autocomplete-input"]),\n.contactPane .formFieldValue:has(input[data-testid="autocomplete-input"]) {\n align-self: flex-start;\n}\n\n.individualPane .formFieldValue table[data-testid="autocomplete-table"],\n.contactPane .formFieldValue table[data-testid="autocomplete-table"],\n.individualPane .formFieldValue input[data-testid="autocomplete-input"],\n.contactPane .formFieldValue input[data-testid="autocomplete-input"] {\n margin: 0 !important;\n}\n\n.individualPane .formFieldValue table[data-testid="autocomplete-table"],\n.contactPane .formFieldValue table[data-testid="autocomplete-table"] {\n vertical-align: baseline;\n}\n\n.individualPane input:not([type="color"]),\n.contactPane input:not([type="color"]) {\n width: 100%;\n margin-left: 0 !important;\n margin-right: 0 !important;\n}\n\n.individualPane input:disabled,\n.contactPane input:disabled,\n.individualPane textarea:disabled,\n.contactPane textarea:disabled,\n.individualPane select:disabled,\n.contactPane select:disabled,\n.individualPane input[readonly],\n.contactPane input[readonly],\n.individualPane textarea[readonly],\n.contactPane textarea[readonly],\n.individualPane input:read-only,\n.contactPane input:read-only,\n.individualPane textarea:read-only,\n.contactPane textarea:read-only {\n background-color: var(--color-background) !important;\n cursor: not-allowed;\n opacity: 0.75;\n border: 0.05em solid var(--color-background) !important;\n}\n\n.individualPane textarea,\n.contactPane textarea,\n.individualPane .formFieldValue textarea,\n.contactPane .formFieldValue textarea {\n padding: var(--spacing-xs) !important;\n}\n\n.contactPane .webidControl table td div.contactPane.namedPane {\n border: none !important;\n}\n\n/* ------------------------------------------------------------------ */\n/* inline popup used for small confirmation flows (like the new confirmDialog) */\n/* apply the class `rdf-inline-modal` on the outer wrapper and give the\n inner box the class `popup` instead of using the old inline styles. */\n\n/* selectors that match the old inline-styled markup when no classes can be added */\n\n/* outer container: position relative containing an absolute grid popup */\n.contactPane div[style*="position: relative"] > div[style*="position: absolute"][style*="display: grid"] {\n /* override inline values with theme variables */\n position: absolute;\n top: -1em;\n padding: 0.7em !important;\n background: var(--color-background) !important;\n border: 0.1em solid var(--color-primary) !important;\n border-radius: var(--border-radius-base) !important;\n box-shadow: 0 0.5em 0.9em rgba(0, 0, 0, 0.2) !important;\n display: grid;\n grid-template-columns: auto auto;\n gap: 0.3em;\n z-index: 10;\n}'],sourceRoot:""}]);const s=r},295(e,n,t){t.d(n,{A:()=>s});var a=t(354),i=t.n(a),o=t(314),r=t.n(o)()(i());r.push([e.id,"/* toolsPane.js styles — extracted from inline styles */\n/* Uses CSS custom properties from the global stylesheet (dev-global.css / mashlib) */\n\n/* ── Tools pane table ────────────────────────────────────────── */\n\n.contactPane .statsLog {\n font-size: var(--font-size-lg);\n margin: var(--spacing-md);\n background-color: var(--color-background);\n}\n\n.contactPane .statsLog pre {\n padding: var(--spacing-md);\n white-space: pre-wrap;\n word-wrap: break-word;\n overflow-wrap: break-word;\n overflow: hidden;\n max-width: 100%;\n}\n\n/* ── Tools pane layout ────────────────────────────────────────── */\n\n.contactPane .toolsPane {\n display: flex;\n flex-direction: column;\n gap: var(--spacing-xs);\n}\n\n.contactPane .toolsButtonsContainer {\n display: flex;\n flex-wrap: wrap;\n gap: var(--spacing-xs);\n}\n\n/* ── Load index button states ──────────────────────────────── */\n\n.contactPane .toolsButton--loading {\n}\n\n.contactPane .toolsButton--error {\n background-color: var(--color-error);\n}\n\n.contactPane .toolsButton--success {\n background-color: var(--color-primary);\n}\n","",{version:3,sources:["webpack://./src/styles/toolsPane.css"],names:[],mappings:"AAAA,uDAAuD;AACvD,qFAAqF;;AAErF,mEAAmE;;AAEnE;EACE,8BAA8B;EAC9B,yBAAyB;EACzB,yCAAyC;AAC3C;;AAEA;EACE,0BAA0B;EAC1B,qBAAqB;EACrB,qBAAqB;EACrB,yBAAyB;EACzB,gBAAgB;EAChB,eAAe;AACjB;;AAEA,oEAAoE;;AAEpE;EACE,aAAa;EACb,sBAAsB;EACtB,sBAAsB;AACxB;;AAEA;EACE,aAAa;EACb,eAAe;EACf,sBAAsB;AACxB;;AAEA,iEAAiE;;AAEjE;AACA;;AAEA;EACE,oCAAoC;AACtC;;AAEA;EACE,sCAAsC;AACxC",sourcesContent:["/* toolsPane.js styles — extracted from inline styles */\n/* Uses CSS custom properties from the global stylesheet (dev-global.css / mashlib) */\n\n/* ── Tools pane table ────────────────────────────────────────── */\n\n.contactPane .statsLog {\n font-size: var(--font-size-lg);\n margin: var(--spacing-md);\n background-color: var(--color-background);\n}\n\n.contactPane .statsLog pre {\n padding: var(--spacing-md);\n white-space: pre-wrap;\n word-wrap: break-word;\n overflow-wrap: break-word;\n overflow: hidden;\n max-width: 100%;\n}\n\n/* ── Tools pane layout ────────────────────────────────────────── */\n\n.contactPane .toolsPane {\n display: flex;\n flex-direction: column;\n gap: var(--spacing-xs);\n}\n\n.contactPane .toolsButtonsContainer {\n display: flex;\n flex-wrap: wrap;\n gap: var(--spacing-xs);\n}\n\n/* ── Load index button states ──────────────────────────────── */\n\n.contactPane .toolsButton--loading {\n}\n\n.contactPane .toolsButton--error {\n background-color: var(--color-error);\n}\n\n.contactPane .toolsButton--success {\n background-color: var(--color-primary);\n}\n"],sourceRoot:""}]);const s=r},886(e,n,t){t.d(n,{A:()=>s});var a=t(354),i=t.n(a),o=t(314),r=t.n(o)()(i());r.push([e.id,"/* ── Named pane (rendered sub-pane) ──────────────────────────── */\n.contactPane .namedPane {\n border: 0.1em solid var(--color-text-muted);\n border-radius: var(--border-radius-base);\n}\n\n/* ── Persona row ─────────────────────────────────────────────── */\n\n.contactPane .personaRow {\n padding: var(--spacing-xs);\n}\n\n.contactPane .personaRow--webid {\n background-color: var(--color-info-bg);\n}\n\n/* ── Full-width elements ─────────────────────────────────────── */\n\n.contactPane .fullWidth {\n width: 100%;\n}\n\n/* ── Open/close profile button ───────────────────────────────── */\n\n.contactPane .personaOpenButton {\n float: right;\n background-color: transparent;\n border: none;\n}\n\n/* ── Section heading ─────────────────────────────────────────── */\n\n.contactPane .webidHeading {\n font-size: var(--font-size-lg);\n font-weight: bold;\n color: var(--color-primary);\n padding: var(--spacing-xs);\n margin: var(--spacing-sm) 0;\n}\n\n/* ── Prompt text ─────────────────────────────────────────────── */\n\n.contactPane .webidPrompt {\n padding: var(--spacing-sm);\n border: none;\n font-size: var(--font-size-base);\n white-space: pre-wrap;\n}\n\n/* ── Visibility / display helpers ────────────────────────────── */\n\n.contactPane .hidden {\n display: none;\n}\n\n.contactPane .collapsed {\n visibility: collapse;\n}\n","",{version:3,sources:["webpack://./src/styles/webidControl.css"],names:[],mappings:"AAAA,mEAAmE;AACnE;EACE,2CAA2C;EAC3C,wCAAwC;AAC1C;;AAEA,mEAAmE;;AAEnE;EACE,0BAA0B;AAC5B;;AAEA;EACE,sCAAsC;AACxC;;AAEA,mEAAmE;;AAEnE;EACE,WAAW;AACb;;AAEA,mEAAmE;;AAEnE;EACE,YAAY;EACZ,6BAA6B;EAC7B,YAAY;AACd;;AAEA,mEAAmE;;AAEnE;EACE,8BAA8B;EAC9B,iBAAiB;EACjB,2BAA2B;EAC3B,0BAA0B;EAC1B,2BAA2B;AAC7B;;AAEA,mEAAmE;;AAEnE;EACE,0BAA0B;EAC1B,YAAY;EACZ,gCAAgC;EAChC,qBAAqB;AACvB;;AAEA,mEAAmE;;AAEnE;EACE,aAAa;AACf;;AAEA;EACE,oBAAoB;AACtB",sourcesContent:["/* ── Named pane (rendered sub-pane) ──────────────────────────── */\n.contactPane .namedPane {\n border: 0.1em solid var(--color-text-muted);\n border-radius: var(--border-radius-base);\n}\n\n/* ── Persona row ─────────────────────────────────────────────── */\n\n.contactPane .personaRow {\n padding: var(--spacing-xs);\n}\n\n.contactPane .personaRow--webid {\n background-color: var(--color-info-bg);\n}\n\n/* ── Full-width elements ─────────────────────────────────────── */\n\n.contactPane .fullWidth {\n width: 100%;\n}\n\n/* ── Open/close profile button ───────────────────────────────── */\n\n.contactPane .personaOpenButton {\n float: right;\n background-color: transparent;\n border: none;\n}\n\n/* ── Section heading ─────────────────────────────────────────── */\n\n.contactPane .webidHeading {\n font-size: var(--font-size-lg);\n font-weight: bold;\n color: var(--color-primary);\n padding: var(--spacing-xs);\n margin: var(--spacing-sm) 0;\n}\n\n/* ── Prompt text ─────────────────────────────────────────────── */\n\n.contactPane .webidPrompt {\n padding: var(--spacing-sm);\n border: none;\n font-size: var(--font-size-base);\n white-space: pre-wrap;\n}\n\n/* ── Visibility / display helpers ────────────────────────────── */\n\n.contactPane .hidden {\n display: none;\n}\n\n.contactPane .collapsed {\n visibility: collapse;\n}\n"],sourceRoot:""}]);const s=r},314(e){e.exports=function(e){var n=[];return n.toString=function(){return this.map(function(n){var t="",a=void 0!==n[5];return n[4]&&(t+="@supports (".concat(n[4],") {")),n[2]&&(t+="@media ".concat(n[2]," {")),a&&(t+="@layer".concat(n[5].length>0?" ".concat(n[5]):""," {")),t+=e(n),a&&(t+="}"),n[2]&&(t+="}"),n[4]&&(t+="}"),t}).join("")},n.i=function(e,t,a,i,o){"string"==typeof e&&(e=[[null,e,void 0]]);var r={};if(a)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(r[l]=!0)}for(var c=0;c<e.length;c++){var u=[].concat(e[c]);a&&r[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),t&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=t):u[2]=t),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),n.push(u))}},n}},417(e){e.exports=function(e,n){return n||(n={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),n.hash&&(e+=n.hash),/["'() \t\n]|(%20)/.test(e)||n.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},354(e){e.exports=function(e){var n=e[1],t=e[3];if(!t)return n;if("function"==typeof btoa){var a=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(a),o="/*# ".concat(i," */");return[n].concat([o]).join("\n")}return[n].join("\n")}},72(e){var n=[];function t(e){for(var t=-1,a=0;a<n.length;a++)if(n[a].identifier===e){t=a;break}return t}function a(e,a){for(var o={},r=[],s=0;s<e.length;s++){var l=e[s],c=a.base?l[0]+a.base:l[0],u=o[c]||0,d="".concat(c," ").concat(u);o[c]=u+1;var p=t(d),f={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==p)n[p].references++,n[p].updater(f);else{var m=i(f,a);a.byIndex=s,n.splice(s,0,{identifier:d,updater:m,references:1})}r.push(d)}return r}function i(e,n){var t=n.domAPI(n);return t.update(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap&&n.supports===e.supports&&n.layer===e.layer)return;t.update(e=n)}else t.remove()}}e.exports=function(e,i){var o=a(e=e||[],i=i||{});return function(e){e=e||[];for(var r=0;r<o.length;r++){var s=t(o[r]);n[s].references--}for(var l=a(e,i),c=0;c<o.length;c++){var u=t(o[c]);0===n[u].references&&(n[u].updater(),n.splice(u,1))}o=l}}},659(e){var n={};e.exports=function(e,t){var a=function(e){if(void 0===n[e]){var t=document.querySelector(e);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(e){t=null}n[e]=t}return n[e]}(e);if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}},540(e){e.exports=function(e){var n=document.createElement("style");return e.setAttributes(n,e.attributes),e.insert(n,e.options),n}},56(e,n,t){e.exports=function(e){var n=t.nc;n&&e.setAttribute("nonce",n)}},825(e){e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var n=e.insertStyleElement(e);return{update:function(t){!function(e,n,t){var a="";t.supports&&(a+="@supports (".concat(t.supports,") {")),t.media&&(a+="@media ".concat(t.media," {"));var i=void 0!==t.layer;i&&(a+="@layer".concat(t.layer.length>0?" ".concat(t.layer):""," {")),a+=t.css,i&&(a+="}"),t.media&&(a+="}"),t.supports&&(a+="}");var o=t.sourceMap;o&&"undefined"!=typeof btoa&&(a+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),n.styleTagTransform(a,e,n.options)}(n,e,t)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)}}}},113(e){e.exports=function(e,n){if(n.styleSheet)n.styleSheet.cssText=e;else{for(;n.firstChild;)n.removeChild(n.firstChild);n.appendChild(document.createTextNode(e))}}},102(e){e.exports="data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23999%27 viewBox=%270 0 24 24%27 width=%2720%27 height=%2720%27%3E%3Cpath d=%27M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99c.41.41 1.09.41 1.5 0s.41-1.09 0-1.5l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z%27/%3E%3C/svg%3E"},53(e){e.exports=t},941(n){n.exports=e},104(e){e.exports=n}},i={};function o(e){var n=i[e];if(void 0!==n)return n.exports;var t=i[e]={id:e,exports:{}};return a[e](t,t.exports,o),t.exports}o.m=a,o.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return o.d(n,{a:n}),n},o.d=(e,n)=>{for(var t in n)o.o(n,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},o.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),o.b="undefined"!=typeof document&&document.baseURI||self.location.href,o.nc=void 0;var r={};o.d(r,{default:()=>Dn});var s=o(941),l=o(104),c=o(53),u=o(72),d=o.n(u),p=o(825),f=o.n(p),m=o(659),h=o.n(m),g=o(56),b=o.n(g),v=o(540),A=o.n(v),y=o(113),w=o.n(y),x=o(886),C={};function E(...e){console.log(...e)}function k(...e){console.warn(...e)}function B(...e){console.error(...e)}C.styleTagTransform=w(),C.setAttributes=b(),C.insert=h().bind(null,"head"),C.domAPI=f(),C.insertStyleElement=A(),d()(x.A,C),x.A&&x.A.locals&&x.A.locals;const S=l.ns,T=l.widgets,P=l.utils,F=s.store,N=T.publicData.wikidataClasses,L=T.publicData.wikidataParameters,I="WebID",_="WikiData link",O=l.icons.iconBase+"noun_1369241.svg",R=l.icons.iconBase+"noun_1369237.svg";function D(e,n){const t=M(e,n).concat(function(e,n,t){const a=new Set,i=new Set([n.uri]);for(;i.size;){const n=Array.from(i)[0];if(i.delete(n),a.has(n))continue;a.add(n);const o=e.sym(n);e.each(o,S.owl("sameAs"),null,t).concat(e.each(null,S.owl("sameAs"),o,t)).forEach(e=>{E(" OWL sameAs found "+e),i.add(e.uri)}),e.each(o,S.schema("sameAs"),null,t).concat(e.each(null,S.schema("sameAs"),o,t)).forEach(e=>{E(" Schema sameAs found "+e),i.add(e.uri)})}return a.delete(n.uri),Array.from(a).map(n=>e.sym(n))}(e,n,n.doc())),a=[...new Set(t.map(e=>e.value))].map(n=>e.sym(n));return a.sort(),a.filter(e=>!e.sameTerm(n)),a}function M(e,n,t){return e.each(n,S.vcard("url"),null,n.doc()).filter(a=>e.holds(a,S.rdf("type"),t,n.doc())).map(t=>e.any(t,S.vcard("value"),null,n.doc())).filter(e=>!!e)}function j(e){const n=e.doc();return F.holds(e,S.rdf("type"),S.vcard("Organization"),n)||F.holds(e,S.rdf("type"),S.schema("Organization"),n)}async function z(e,n,t){function a(a,o,r){const s=a.createElement("div");s.classList.add("fullWidth");const u=s.appendChild(a.createElement("table"));u.classList.add("fullWidth");const d=u.appendChild(function(n){const o=new c.Literal(n.uri),u=t.urlType.sameTerm(S.vcard("WebID")),d=t.editable?async function(){try{await async function(e,n,t,a){E(`Removing from ${e} their ${I}: ${n}.`);const i=a.each(e,S.vcard("url"),null,e.doc()).filter(n=>a.holds(n,S.rdf("type"),t,e.doc())).filter(t=>a.holds(t,S.vcard("value"),n,e.doc()));if(!i.length)throw new Error(`Person ${e} does not have ${I} ${n}.`);const o=i[0],r=[c.st(e,S.vcard("url"),o,e.doc()),c.st(o,S.rdf("type"),t,e.doc()),c.st(o,S.vcard("value"),n,e.doc())];await a.updater.update(r,[]);const s=a.each(null,S.vcard("hasMember"),a.sym(n));let l=[];const u=[];s.forEach(async t=>{l=l.concat(a.statementsMatching(a.sym(n),S.owl("sameAs"),e,t.doc())),u.push(c.st(t,S.vcard("hasMember"),e,t.doc())),a.statementsMatching(a.sym(n),S.owl("sameAs"),null,t.doc()).length<2&&(l=l.concat(a.statementsMatching(t,S.vcard("hasMember"),a.sym(n),t.doc())))}),await de(l,u)}(e,o,t.urlType,r)}catch(n){B(`Error removing Id ${o} from ${e}: ${n}`),s.appendChild(T.errorMessageBlock(a,"Error removing WebId from profile. If it persists, contact admin."))}await i()}:null,p={deleteFunction:d,draggable:!0};u&&(p.title=n.uri.split("/")[2],p.image=T.faviconOrDefault(a,n.site()));const f=T.personTR(a,l.ns.foaf("knows"),n,p);return u&&(f.children[1].textConent=p.title,f.classList.add("personaRow--webid")),f.classList.add("personaRow"),f}(o));d.classList.add("fullWidth");const p=u.appendChild(a.createElement("tr")).appendChild(a.createElement("td"));let f;p.setAttribute("colspan",3);let m=!0;const h=d.children[2].appendChild(T.button(a,O,"View",function(e){m=!m,f.classList.toggle("collapsed",!m),h.children[0].src=m?R:O,h.setAttribute("aria-expanded",m?"true":"false"),h.setAttribute("aria-label",m?"Collapse profile":"Expand profile")}));h.classList.add("personaOpenButton"),h.setAttribute("aria-expanded","true"),h.setAttribute("aria-label","Collapse profile");const g=(j(e)||j(o),"profile");return T.publicData.loadPublicDataThing(r,e,o).then(e=>{try{f=function(e,n,t,a){const i=a.session.paneRegistry.byName(t).render(n,a);return i.classList.add("namedPane"),i}(0,o,g,n),f.classList.add("fullWidth"),p.appendChild(f)}catch(e){B("Error displaying persona "+o+". Stack: "+e),f=T.errorMessageBlock(a,"Error displaying profile. If it persists, contact admin."),p.appendChild(f)}},e=>{B("Error loading persona "+o+". Stack: "+e),f=T.errorMessageBlock(a,"Error loading profile. If it persists, contact admin."),p.appendChild(f)}),s}async function i(){const n=D(F,e);u.classList.toggle("hidden",n.length>0),P.syncTableToArrayReOrdered(d,n,e=>a(o,e,F))}const{dom:o}=n;(t=t||{}).editable=F.updater.editable(e.doc().uri,F);const r=o.createElement("div");if(r.classList.add("webidControl"),0===D(F,e).length&&!t.editable)return r.classList.add("hidden"),r;const s=r.appendChild(o.createElement("h3"));s.textContent=t.idNoun,s.classList.add("webidHeading");const u=r.appendChild(o.createElement("p"));if(u.classList.add("webidPrompt"),u.textContent=t.longPrompt,r.appendChild(o.createElement("table")).classList.add("fullWidth"),t.editable){const n={editable:t.editable,manualURIEntry:!0,idNoun:t.idNoun,dbLookup:t.dbLookup},a={queryParams:t.queryParams||L,targetClass:t.class};try{r.appendChild(await T.renderAutocompleteControl(o,e,n,a,async function(e,n){try{await async function(e,n,t,a){try{new URL(n)}catch(e){throw new Error(`${I}: ${n} is not a valid url.`)}E(`Adding to ${e} a ${I}: ${n}.`);const i=a.bnode(),o=[c.st(e,S.vcard("url"),i,e.doc()),c.st(i,S.rdf("type"),t,e.doc()),c.st(i,S.vcard("value"),n,e.doc())],r=a.each(null,S.vcard("hasMember"),e);let s=[];r.forEach(t=>{s=s.concat(a.statementsMatching(t,S.vcard("hasMember"),e,t.doc())),o.push(c.st(t,S.vcard("hasMember"),a.sym(n),t.doc())),o.push(c.st(a.sym(n),S.owl("sameAs"),e,t.doc()))});try{await de(s,o)}catch(e){throw new Error(`Could not create webId ${I}: ${n}.`)}}(e,n,t.urlType,F)}catch(t){B("Error adding webId "+n+" to "+e+". Stack: "+t),r.appendChild(T.errorMessageBlock(o,"Error adding WebID to profile. If it persists, contact admin."))}await i()}))}catch(e){B("Render Autocomplete Control failed. Stack:",e),r.appendChild(T.errorMessageBlock(o,"Error rendering autocomplete. If it persists, contact admin."))}}const d=r.appendChild(o.createElement("div"));return await i(),r}var U=o(546),q={};q.styleTagTransform=w(),q.setAttributes=b(),q.insert=h().bind(null,"head"),q.domAPI=f(),q.insertStyleElement=A(),d()(U.A,q),U.A&&U.A.locals&&U.A.locals;const $=s.store,H=l.ns;let V;function G(e){V=e}let W=null,Y=null;function Q(e){Array.from(document.body.children).filter(e=>e!==W).forEach(n=>{e?n.setAttribute("aria-hidden","true"):n.removeAttribute("aria-hidden")})}function X({title:e,message:n,buttons:t}){const a=(W&&document.body.contains(W)||(W=null,W=V.createElement("div"),W.id="contacts-modal",W.className="focus-trap hidden",W.setAttribute("role","presentation"),W.innerHTML='\n <div class="modal" role="dialog" aria-modal="true" aria-labelledby="modal-title" aria-describedby="modal-desc">\n <h2 id="modal-title"></h2>\n <div id="modal-desc"></div>\n <div id="modal-buttons"></div>\n </div>\n ',document.body.appendChild(W),W.addEventListener("keydown",e=>{if("Escape"===e.key){e.stopPropagation();const n=W.querySelector("button[data-cancel]");n?n.click():K()}else if("Tab"===e.key){const n=Array.from(W.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])')).filter(e=>!e.hasAttribute("disabled"));if(0===n.length)return;const t=n.indexOf(document.activeElement);e.shiftKey?0===t&&(n[n.length-1].focus(),e.preventDefault()):t===n.length-1&&(n[0].focus(),e.preventDefault())}})),W);Y=document.activeElement,Q(!0),a.classList.remove("hidden"),a.querySelector("#modal-title").textContent=e||"";const i=a.querySelector("#modal-desc");"string"==typeof n?i.textContent=n:(i.innerHTML="",i.appendChild(n));const o=a.querySelector("#modal-buttons");return o.innerHTML="",new Promise(e=>{t.forEach(n=>{const t=V.createElement("button");t.setAttribute("type","button"),t.textContent=n.label,n.primary&&t.classList.add("btn-primary"),n.cancel&&t.setAttribute("data-cancel","true"),t.addEventListener("click",()=>{K(n.value),e(n.value)}),o.appendChild(t)});const n=o.querySelector("button");n&&n.focus()})}function K(e){W&&(W.classList.add("hidden"),Q(!1),Y&&Y.focus&&Y.focus())}function Z(e,n="Information"){return X({title:n,message:e,buttons:[{label:"OK",value:!0,primary:!0}]})}function J(e,n="Confirm"){return X({title:n,message:e,buttons:[{label:"Cancel",value:!1,cancel:!0},{label:"OK",value:!0,primary:!0}]})}function ee(e){return e&&e.endsWith(".ttl")?e+"#this":e}function ne(e,n,t){e.appendChild(l.widgets.errorMessageBlock(n,t,"pink"))}function te(e,n,t){return e.each(n,H.owl("sameAs"),null,t).concat(e.each(null,H.owl("sameAs"),n,t))}function ae(e,n){return new Promise(function(t,a){e.fetcher.load(n).then(function(){const i=e.each(n,H.ldp("contains")).map(n=>e.holds(n,H.rdf("type"),H.ldp("BasicContainer"))?ae(e,n):(E("Recursive delete - we delete file "+n.uri),e.fetcher.webOperation("DELETE",n.uri)));E("Recursive delete - we delete folder "+n.uri),i.push(e.fetcher.webOperation("DELETE",n.uri)),Promise.all(i).then(e=>{t()}).catch(a)}).catch(a)})}async function ie(e){const n=re(e);if(!await J("Really DELETE "+n+"?"))throw new Error("User cancelled contact deletion");E("deleteThingAndDoc - to be deleted "+e);const t=$.statementsMatching(e).concat($.statementsMatching(void 0,void 0,e));try{await $.updater.updateMany(t),await $.fetcher.delete(e.doc()),E("deleteThingAndDoc - deleted")}catch(n){throw B("Error deleting "+e+". Stack: "+n),new Error("An error occured while deleting.")}}function oe(e,n){let t=re(e),a=re(n);if(t&&a){if(t=t.toLowerCase(),a=a.toLowerCase(),t>a)return 1;if(t<a)return-1}return e.uri>n.uri?1:e.uri<n.uri?-1:0}function re(e){const n=$.any(e,H.vcard("fn"))||$.any(e,H.foaf("name"))||$.any(e,H.vcard("organization-name"));return n?n.value:"???"}const se=l.ns,le=l.utils,ce=s.store,ue=ce.updater;async function de(e,n=[]){const t=e.concat(n).map(e=>e.why),a=[];t.forEach(e=>{a.find(n=>n.equals(e))||a.push(e)});const i=a.map(t=>ce.updater.update(e.filter(e=>e.why.sameTerm(t)),n.filter(e=>e.why.sameTerm(t))));return Promise.all(i)}async function pe(e,n){await ce.fetcher.load(e.doc());const t=ce.any(e,se.vcard("groupIndex")),a=function(e){return e.replace(/\W/gu,"_").replace(/_+/g,"_")}(n),i=ce.sym(e.dir().uri+"Group/"+a+".ttl#this"),o=i.doc();try{await ce.fetcher.load(t)}catch(e){throw new Error("Error loading group index!"+t.uri+": "+e)}if(ce.holds(e,se.vcard("includesGroup"),i,t))return i;const r=[c.st(e,se.vcard("includesGroup"),i,t),c.st(i,se.rdf("type"),se.vcard("Group"),t),c.st(i,se.vcard("fn"),n,t)];try{await ue.update([],r)}catch(e){throw new Error("Could not update group index "+e)}const s=[c.st(e,se.vcard("includesGroup"),i,o),c.st(i,se.rdf("type"),se.vcard("Group"),o),c.st(i,se.vcard("fn"),n,o)];try{await ue.update([],s)}catch(e){throw new Error("Could not update group file: "+e)}return i}async function fe(e,n){const t=[e.doc(),n.doc()];try{await ce.fetcher.load(t)}catch(t){throw B("Error adding "+e+" to group "+n+". Stack: "+t),new Error("Error adding to group.")}const a=ce.findTypeURIs(e);if(!(se.vcard("Individual").uri in a)&&!(se.vcard("Organization").uri in a))return k("Thing "+e+" is not an Individual or Organization, but has types: "+Object.keys(a)),void Z("You are trying to add something else than an individual or organization.");let i=ce.any(e,se.vcard("fn"));const o=ce.any(n,se.vcard("fn"));if(!i)return k("Thing "+e+" has no vcard:fn"),void Z("What you are trying to add seems to have no full name.");if(ce.holds(e,se.vcard("fn"),null,n.doc()))return""===i&&(i="Contact"),void Z(i+" already exists in group "+o+".");const r="Add "+i+" to group "+o+"?";if(!await J(r))return;const s=[c.st(e,se.vcard("fn"),i,n.doc())],l=D(ce,e).map(e=>e.value);l.length?l.forEach(t=>{s.push(c.st(ce.sym(t),se.owl("sameAs"),e,n.doc())),s.push(c.st(n,se.vcard("hasMember"),ce.sym(t),n.doc()))}):s.push(c.st(n,se.vcard("hasMember"),e,n.doc()));try{await ue.update([],s),ce.fetcher.unload(n.doc()),await ce.fetcher.load(n.doc())}catch(t){throw B("Error adding "+e+" to group "+n+". Stack: "+t),new Error("Error adding to group.")}return e}function me(e,n){const t=e.each(n,se.vcard("hasMember"),null,n.doc());let a=[];t.forEach(t=>{a=e.any(t,se.vcard("fn"),null,n.doc())?a.concat(t):a.concat(e.each(t,se.owl("sameAs"),null,n.doc()))});const i=new Set(a.map(e=>e.uri));return a=[...i].map(n=>e.sym(n)),a}function he(e,n){const t=e.dir().dir().dir();return n.uri&&n.uri.startsWith(t.uri)}const{setACLUserPublic:ge}=s.solidLogicSingleton.acl;var be=o(715),ve={};ve.styleTagTransform=w(),ve.setAttributes=b(),ve.insert=h().bind(null,"head"),ve.domAPI=f(),ve.insertStyleElement=A(),d()(be.A,ve),be.A&&be.A.locals&&be.A.locals;const Ae={"image/png":"png","image/jpeg":"jpg","image/gif":"gif","image/svg+xml":"svg","image/webp":"webp","image/bmp":"bmp","image/tiff":"tiff","application/pdf":"pdf","text/plain":"txt","text/html":"html","application/json":"json","application/octet-stream":"bin"},ye=Object.fromEntries(Object.entries(Ae).map(([e,n])=>[n,e])),we=e=>Ae[e]||!1,xe=e=>{const n=e.split(".").pop().toLowerCase();return ye[n]||!1},Ce=l.ns,Ee=l.utils,ke=s.store;function Be(e,n){function t(n){g.appendChild(l.widgets.errorMessageBlock(e,n,"pink"))}async function a(e,n,t){const a=[c.st(e,Ce.vcard("hasPhoto"),n,e.doc())];try{t?await ke.updater.update(a,[]):await ke.updater.update([],a)}catch(e){throw B("Writing back image link FAILED "+n+". Stack: "+e),new Error("Writing back image link FAILED")}}function i(e){ke.fetcher.nowOrWhenFetched(e.doc(),function(t,a){if(t){const t=ke.findTypeURIs(e);for(const e in t)E("drop object type includes: "+e);E("Default: assume web page "+e),ke.add(n,Ce.wf("attachment"),e,n.doc())}else B("Error looking up dropped thing "+e+". Stack: "+a)})}function o(e,a,i){const o=we(a);let r,s;a!==xe(e)&&k("MIME TYPE MISMATCH -- adding extension: "+(e+="_."+o));const l=a.startsWith("image");let c,u;for(l?(r="image_",s=Ce.vcard("hasPhoto")):(r="attachment_",s=Ce.wf("attachment")),c=0;u=ke.sym(n.dir().uri+e),ke.holds(n,Ce.vcard("hasPhoto"),u);c++)e=r+c+"."+o;E("Putting "+i.byteLength+" bytes of "+a+" to "+u),ke.fetcher.webOperation("PUT",u.uri,{data:i,contentType:a}).then(function(e){if(!e.ok)return B("Upload of "+u+" failed: "+e.status+" "+e.statusText),void t("Error uploading picture. If the problem persists, contact admin.");E("Upload picture put OK: "+u),ke.add(n,s,u,n.doc()),ke.fetcher.putBack(n.doc(),{contentType:"text/turtle"}).then(function(e){l&&b.refresh()},function(e){B(" Write back image link FAIL "+u+". Stack: "+e)})})}async function r(e){for(const n of e){let e=c.sym(n);if(E("Dropped on mugshot thing "+e),n.startsWith("http")&&n.indexOf("#")<0){n.startsWith("http:")&&(e=c.sym("https:"+n.slice(5)));const t={withCredentials:!1,credentials:"omit"};let a;try{a=await ke.fetcher.webOperation("GET",e.uri,t)}catch(n){return B("Fetch error trying to GET picture "+e+". Stack: "+n),void i(e)}const r=a.headers.get("Content-Type");let s=e.uri.split("/").slice(-1)[0];s=s.split("?")[0];const l=await a.arrayBuffer();return a.ok?void o(s,r,l):(B("Cant download, so will link image. "+e+":"+a.status),void i(e))}t("Not a web document URI, cannot copy "+e+" as picture."),i(e)}}function u(e){for(let n=0;n<e.length;n++){const t=e[n];E(" contacts: Filename: "+t.name+", type: "+(t.type||"n/a")+" size: "+t.size+" bytes, last modified: "+(t.lastModifiedDate?t.lastModifiedDate.toLocaleDateString():"n/a"));const a=new FileReader;a.onload=function(e){return function(n){const t=n.target.result;E(" File read byteLength : "+t.byteLength),o(encodeURIComponent(e.name),e.type,t)}}(t),a.readAsArrayBuffer(t)}}function d(n){const t=e.createElement("img");return t.classList.add("mugshotImage"),t.setAttribute("alt",n?"Contact photo":"Drop photo here"),l.widgets.makeDropTarget(t,r,u),n&&(s.store.fetcher._fetch(n.uri).then(function(e){return e.blob()}).then(function(e){const n=URL.createObjectURL(e);t.setAttribute("src",n)}),l.widgets.makeDraggable(t,n)),t}function p(){let e=ke.each(n,Ce.vcard("hasPhoto"));e.sort(),e=e.slice(0,5),0===e.length?(b.innerHTML="",h&&b.appendChild(v)):Ee.syncTableToArray(b,e,d)}function f(){return ke.sym(n.dir().uri+"Image_"+Date.now()+".png")}async function m(e){e&&(await a(n,e),p())}const h=ke.updater.editable(n.doc().uri,ke),g=e.createElement("div"),b=g.appendChild(e.createElement("div")),v=d();return l.widgets.setImage(v,n),p(),b.refresh=p,h&&g.appendChild(function(){const i=e.createElement("table"),o=i.appendChild(e.createElement("tr")),r=o.appendChild(e.createElement("td")),s=o.appendChild(e.createElement("td")),c=o.appendChild(e.createElement("td"));r.appendChild(l.media.cameraButton(e,ke,f,m));try{s.appendChild(l.widgets.fileUploadButtonDiv(e,u))}catch(e){E("ignore fileUploadButtonDiv error for now",e)}return c.appendChild(function(){const i=l.widgets.button(e,l.icons.iconBase+"noun_925021.svg","Drag here to delete",void 0,{"aria-label":"Delete picture - drag picture here"});return l.widgets.makeDropTarget(i,async function(e){const i=ke.each(n,Ce.vcard("hasPhoto")).map(e=>e.uri);for(const o of e){if(!i.includes(o))return void Z("Only drop pictures onto this trash can.");if(await J("Really DELETE picture?"))try{E("Unlinking image file "+o),await a(n,ke.sym(o),!0),E("Deleting image file "+o),await ke.fetcher.webOperation("DELETE",o)}catch(e){return void t("Error deleting picture. If it persists, contact your admin.")}}p()},null),i}()),i}()),g}var Se=o(93),Te={};Te.styleTagTransform=w(),Te.setAttributes=b(),Te.insert=h().bind(null,"head"),Te.domAPI=f(),Te.insertStyleElement=A(),d()(Se.A,Te),Se.A&&Se.A.locals&&Se.A.locals;const Pe=l.ns,Fe=l.utils,Ne=s.store;let Le,Ie={},_e={},Oe=null,Re=null,De=null,Me=null,je=null,ze=null,Ue=null;function qe(e,n){e.querySelectorAll("button").forEach(e=>{e.classList.remove("btn-primary","allGroupsButton--selected","allGroupsButton--active","allGroupsButton--loaded"),e.classList.add("btn-secondary")}),n&&(n.classList.remove("btn-secondary"),n.classList.add("btn-primary"))}function $e(e,n,t,a,i,o,r,s,l,c){Le=a,Ie=i||{},o&&(Oe=o),r&&(De=r),s&&(Me=s),l&&(ze=l),c&&(Ue=c),je=e,Re=n;const u=Xe(je,t);Fe.syncTableToArrayReOrdered(Re,u,Ge)}function He(e){const n=Ne.any(e,Pe.vcard("fn")),t=Le.createElement("li");t.setAttribute("role","listitem"),t.setAttribute("aria-label",n?n.value:"Some group"),t.subject=e,l.widgets.makeDraggable(t,e);const a=t.appendChild(Le.createElement("button"));return a.setAttribute("type","button"),a.innerHTML=n?n.value:"Some group",a.classList.add("allGroupsButton","actionButton","btn-secondary","action-button-focus"),{groupLi:t,groupButton:a,name:n}}async function Ve(e,n){for(const t of e){let e=Ne.sym(t);try{e=await fe(e,n)}catch(e){Z("Error adding to group. Make sure you are adding a contact URI.")}e&&Ze(Oe)}}function Ge(e){function n(n){if(n.preventDefault(),qe(Re,a),Ue&&Ue(),!n.metaKey)for(const e in Ie)delete Ie[e];Ie[e.uri]=!Ie[e.uri],Ye(Re,Ie),Ne.fetcher.nowOrWhenFetched(e.doc(),void 0,function(n,t){n||B("Cannot load one group: "+e+". Stack: "+t),Ze(Oe,null,!1)})}const{groupLi:t,groupButton:a}=He(e);return a.addEventListener("click",n,!1),l.widgets.makeDropTarget(t,n=>Ve(n,e)),t.addEventListener("click",n,!0),t}function We(e,n,t){function a(a,i){return new Promise((o,r)=>{i.classList.add("group-loading"),i.setAttribute("aria-busy","true"),Ne.fetcher.nowOrWhenFetched(a.doc(),void 0,function(s,l){if(!s){const e="Cannot load group "+a+". Stack: "+l;return B(e),t&&t(!1,e),void r(e)}i.classList.remove("group-loading"),i.setAttribute("aria-busy","false"),i.classList.add("selected"),e[a.uri]=!0,Ye(n,e),Ze(Oe,null),t&&t(!0),o(!0)})})}for(let e=0;e<n.children.length;e++){const i=n.children[e],o=i.subject;o&&a(o,i).catch(e=>{t&&t(!1,e)})}}function Ye(e,n){for(let t=0;t<e.children.length;t++){const a=e.children[t];a.subject&&a.classList.toggle("selected",!!n[a.subject.uri])}}function Qe(e,n,t,a,i,o,r){Le=a,i&&(Ie=i),o&&(Oe=o),r&&(De=r),Re=t;const s=Xe(e,n);s.length>0&&Ge(s[0]),Fe.syncTableToArrayReOrdered(t,s,Ge)}function Xe(e,n){let t=[];if(n.foreignGroup&&t.push(["",Ne.any(n.foreignGroup,Pe.vcard("fn")),n.foreignGroup]),e){const n=Ne.any(e,Pe.vcard("groupIndex")),a=(e?Ne.each(e,Pe.vcard("includesGroup"),null,n):[]).map(function(n){return[e,Ne.any(n,Pe.vcard("fn")),n]});t=t.concat(a),t.sort()}return t.map(e=>e[2])}async function Ke(e){const n=Ne.any(e,Pe.vcard("groupIndex"));if(n){await Ne.fetcher.load(n);const t=e?Ne.each(e,Pe.vcard("includesGroup"),null,n):[];return await Ne.fetcher.load(t),t}return[]}function Ze(e,n,t=!0){const a=e||Oe;if(!a||!a.children||"number"!=typeof a.children.length)return void k("refreshNames called with invalid ulPeople:",a);function i(e,n){function t(e){e.preventDefault(),Je(a,n,Me)}e.addEventListener("click",t),e.addEventListener("keydown",function(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),t(e))})}let o=[];Object.keys(Ie).map(e=>Ne.sym(e)).forEach(e=>{Ie[e.value]&&(o=o.concat(me(Ne,e)))}),o.sort(oe);for(let e=0;e<o.length-1;)o[e].uri===o[e+1].uri?o.splice(e,1):e++;Fe.syncTableToArrayReOrdered(a,o,e=>function(e){const n=Le.createElement("li");n.setAttribute("role","listitem"),n.setAttribute("tabindex","0"),n.classList.add("personLi"),n.subject=e,l.widgets.makeDraggable(n,e);const t=Le.createElement("div");t.classList.add("personLi-row");const a=Le.createElement("div");a.classList.add("personLi-avatar");const o=Le.createElement("div");o.classList.add("avatar-placeholder"),o.innerHTML='<svg aria-hidden="true" width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="18" cy="18" r="18" fill="#e0e0e0"/><text x="50%" y="58%" text-anchor="middle" fill="#595959" font-size="16" font-family="Arial" dy=".3em">?</text></svg>',a.appendChild(o);const r=re(e)||"Unknown Name";function s(){const n=Ne.any(e,Pe.vcard("hasPhoto"));if(n&&n.value){const e=Le.createElement("img");e.src=n.value,e.alt=r+" avatar",a.replaceChild(e,a.firstChild)}}s(),Ne.fetcher.nowOrWhenFetched(e.doc(),void 0,function(t,a){if(!t)return B("Cannot load contact: "+e+". Stack: "+a),void n.classList.add("personLi--error");s()});const c=Le.createElement("div");c.classList.add("personLi-info"),n.setAttribute("aria-label",r);const u=Le.createElement("div");u.classList.add("personLi-name"),u.textContent=r,c.appendChild(u);const d=Le.createElement("div");return d.classList.add("personLi-arrow"),d.innerHTML='<svg aria-hidden="true" width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6 4.5L11.25 9L6 13.5" stroke="#595959" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>',t.appendChild(a),t.appendChild(c),t.appendChild(d),n.appendChild(t),i(n,e),n}(e)),nn(a,t,n||Me)}function Je(e,n,t){if(!t)return;let a;t.parentNode&&t.parentNode.classList.remove("hidden"),t.innerHTML="Loading...",t.setAttribute("aria-busy","true"),t.classList.add("detailsSectionContent--wide"),_e={},_e[n.uri]=!0,nn(e,!1,t);try{a=je?function(e){const n=Ne.allAliases(e),t=je.dir().uri;for(let e=0;e<n.length;e++)if(n[e].uri.slice(0,t.length)===t)return n[e];throw new Error("No local URI for "+e)}(n):n}catch(e){return t.innerHTML="",t.setAttribute("aria-busy","false"),void ne(t,Le,"Cannot load contact: "+e.message)}Ne.fetcher.nowOrWhenFetched(a.doc(),void 0,function(i,o){if(t.innerHTML="",t.setAttribute("aria-busy","false"),!i)return B("Failed to load contact card: "+a+". Stack: "+o),void ne(t,Le,"Failed to load contact. If it persists, contact your admin.");const r=Le.createElement("div");r.classList.add("contact-toolbar");const c=l.widgets.linkIcon(Le,a);c.setAttribute("title","Uri of contact"),r.appendChild(c),s.authn.currentUser()&&l.widgets.deleteButtonWithCheck(Le,r,"contact",async function(){const a=n.dir();E("We are about to delete the contact "+Ne.any(n,Pe.vcard("fn"))),await Ke();const i=Ne.any(je,Pe.vcard("nameEmailIndex"));await Ne.fetcher.load(i);const o=ln(n);let r=[];o.forEach(e=>{te(Ne,n,e.doc()).forEach(n=>{1===te(Ne,n,e.doc()).length&&(r=r.concat(Ne.statementsMatching(e,Pe.vcard("hasMember"),n,e.doc())))})}),await Ne.updater.updateMany(r);try{await ie(n)}catch(e){return void ne(t,Le,"Failed to delete contact. If it persists, contact your admin.")}try{await ae(Ne,a)}catch(e){return void ne(t,Le,"Failed to delete contact. If it persists, contact your admin.")}Ze(e,t),t.innerHTML="Contact data deleted."}).classList.add("deleteButton"),t.appendChild(r),t.classList.add("detailsSectionContent--wide"),t.appendChild(function(e,n){const t=ze.session.paneRegistry.byName(n).render(e,ze);return t.classList.add("renderPane"),t}(a,"contact"))})}function en(e){if(_e={},e)for(let n=0;n<e.children.length;n++)e.children[n].classList.remove("selected")}function nn(e,n,t){let a=0,i=null;for(let n=0;n<e.children.length;n++){const t=e.children[n],o=tn(re(t.subject));o&&(a++,i=t),t.classList.toggle("selected",o&&!!_e[t.subject.uri]),t.classList.toggle("hidden",!o)}1===a&&n&&Je(e,i.subject,t)}function tn(e){const n=De.value.trim().toLowerCase();if(0===n.length)return!0;const t=n.split(" ");for(let n=0;n<t.length;n++){const a=t[n];if(e.toLowerCase().indexOf(a)<0)return!1}return!0}async function an(e,n){const t=await Ke(e);if(t&&t.length>0){const{del:e,ins:a}=await async function(e){const n=[],t=[];return e.forEach(e=>{ce.each(e,se.vcard("hasMember"),null,e.doc()).forEach(a=>{const i=te(ce,a,e.doc());if(i.length&&he(e,a))for(const o of i)if(!he(e,o)){n.push(c.st(e,se.vcard("hasMember"),a,e.doc())),t.push(c.st(e,se.vcard("hasMember"),o,e.doc()));break}})}),{del:n,ins:t}}(t);s.authn.currentUser()&&e.length&&l.widgets.deleteButtonWithCheck(Le,n,"contact",async function(){await Ne.updater.updateMany(e,a),E("Deleted "+e.length+" bad statements from groups")})}}async function on(){const e=function(e){if(e)return e;let n;for(const e in Ie){n=Ne.sym(e);const t=Ne.any(void 0,Pe.vcard("includesGroup"),n);if(t)return t}throw new Error("findBookFromGroups: Cant find address book which this group is part of")}(je);try{await Ne.fetcher.load(e)}catch(n){throw new Error("Book won't load:"+e)}const n=Ne.any(e,Pe.vcard("nameEmailIndex"));if(!n)throw new Error("No nameEmailIndex");await Ne.fetcher.load(n)}const rn=l.ns,sn=s.store;function ln(e){let n=sn.statementsMatching(null,rn.owl("sameAs"),e).map(e=>e.why).concat(sn.each(null,rn.vcard("hasMember"),e));const t=new Set(n.map(e=>ee(e.uri)));return n=[...t].map(e=>sn.sym(e)),n}async function cn(e,n,t){const a=t||null;function i(n){const t=c.any(n,rn.vcard("fn")),i=t?t.value:n.uri,d=r.createElement("li");d.classList.add("group-membership-item");const p=r.createElement("button");p.setAttribute("type","button"),p.classList.add("allGroupsButton","actionButton","btn-secondary","action-button-focus"),p.textContent=i,p.title=i,d.appendChild(p);const f=r.createElement("div");f.classList.add("group-membership-toolbar");const m=l.widgets.linkIcon(r,n);return m.setAttribute("title","Link to "+i),f.appendChild(m),s.authn.currentUser()&&l.widgets.deleteButtonWithCheck(r,f,"membership in "+i,async function(){await async function(e,n){const t=c.any(e,rn.vcard("fn")),i=c.any(n,rn.vcard("fn")),s=c.each(null,rn.owl("sameAs"),e,n.doc());let d=[];s.forEach(t=>{c.statementsMatching(t,rn.owl("sameAs"),e,n.doc())&&(d=d.concat(t))}),d=M(c,e).map(e=>e.value);const p=d.map(e=>c.sym(e));let f=[e].concat(p).flatMap(e=>c.each(null,rn.vcard("hasMember"),e));if(f=[...new Set(f.map(e=>e.uri))].map(e=>c.sym(e)),f.length<2)return void Z("Must be a member of at least one group. Add to another group first.");const m="Remove "+t+" from group "+i+"?";if(await J(m)){let s=c.statementsMatching(e,void 0,void 0,n.doc()).concat(c.statementsMatching(void 0,void 0,e,n.doc()));d.forEach(e=>{c.statementsMatching(e,rn.owl("sameAs"),void 0,n.doc()).length<2&&(s=s.concat(c.statementsMatching(void 0,void 0,e,n.doc())))});try{await c.updater.update(s,[])}catch(e){const t="Error removing member from group "+n+": "+e;return void u.appendChild(l.widgets.errorMessageBlock(r,t,"pink"))}E("Removed "+t+" from group "+i),c.fetcher.unload(n.doc()),await c.fetcher.load(n.doc()),o(),Ze(a)}}(e,n)}),d.appendChild(f),d}function o(){const n=ln(e),t=u.querySelector(".group-pills-wrapper");0===n.length?t.innerHTML="<span>Not part of any Address Book group.</span>":t.innerHTML="",n.forEach(e=>{t.appendChild(i(e))})}const{dom:r}=n,c=n.session.store,u=r.createElement("div");u.classList.add("group-membership-container");const d=r.createElement("h3");d.classList.add("group-membership-header"),d.textContent="Part of groups",u.appendChild(d);const p=r.createElement("ul");return p.classList.add("group-pills-wrapper"),u.appendChild(p),await async function(e=null){if(!e&&!(e=c.any(void 0,rn.vcard("includesGroup"))))return;const n=c.any(e,rn.vcard("groupIndex")),t=e?c.each(e,rn.vcard("includesGroup"),null,n):[];await c.fetcher.load(t)}(),u.refresh=o,o(),u}const un='# This turtle file defines the forms used in the contacts management\n#\n# Individuals and orgs are in one file as they both\n# share some forms (address etc) and also interactions (roles)\n\n# Forms documentation: https://solidos.github.io/solid-ui/docs/forms-intro.html\n\n@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.\n@prefix dct: <http://purl.org/dc/terms/>.\n@prefix foaf: <http://xmlns.com/foaf/0.1/>.\n@prefix owl: <http://www.w3.org/2002/07/owl#>.\n@prefix prov: <http://www.w3.org/ns/prov#>.\n@prefix ui: <http://www.w3.org/ns/ui#>.\n@prefix schema: <http://schema.org/>.\n@prefix solid: <http://www.w3.org/ns/solid/terms#>.\n@prefix vcard: <http://www.w3.org/2006/vcard/ns#>.\n@prefix : <#>.\n\n\n############# For individual:\n:individualForm a ui:Form ;\n dct:title "Contact details for a person" ;\n ui:parts (\n :fullNameField\n :nicknameGroup\n :pronounsGroup\n :roleField\n :orgNameField\n # :addressesComment\n :addresses\n # :emailComment\n :eMails\n # :telephoneComment\n :telephones\n :birthdayField\n # :noteComment\n :noteField \n ) .\n\n :fullNameField\n a ui:SingleLineTextField ;\n ui:label "Name";\n ui:maxLength "128" ;\n ui:property vcard:fn .\n\n # Nickname\n\n :nicknameGroup a ui:Group; ui:weight 0; \n ui:parts (:nicknameField) .\n\n :nicknameField a ui:SingleLineTextField; \n ui:property foaf:nick;\n ui:label "Nickname"@en, "Nom court"@fr.\n\n # Pronouns\n\n :pronounsGroup a ui:Group; ui:weight 0; \n ui:parts ( :subjectPronounForm :objectPronounForm :relativePronounForm) .\n\n :subjectPronounForm a ui:SingleLineTextField; ui:property solid:preferredSubjectPronoun;\n ui:label "He/she/they" .\n :objectPronounForm a ui:SingleLineTextField; ui:property solid:preferredObjectPronoun;\n ui:label "Him/her/them" .\n :relativePronounForm a ui:SingleLineTextField; ui:property solid:preferredRelativePronoun;\n ui:label "His/hers/theirs" .\n \n :roleField\n a ui:SingleLineTextField ;\n ui:suppressEmptyUneditable true;\n ui:maxLength "128" ;\n ui:property vcard:role .\n\n :orgNameField\n a ui:SingleLineTextField ;\n ui:suppressEmptyUneditable true;\n ui:maxLength "128" ;\n ui:property vcard:organization-name .\n\n :addresses a ui:Multiple ;\n dct:title "Address details" ;\n ui:part :oneAddress ;\n ui:property vcard:hasAddress .\n\n :oneAddress a ui:Group ;\n ui:parts ( \n :id1409437207443 :id1409437292400 \n :id1409437421996 :id1409437467649 \n :id1409437569420 ). \n\n :id1409437207443\n a ui:SingleLineTextField ;\n ui:maxLength "128" ;\n ui:property vcard:street-address .\n\n :id1409437292400\n a ui:SingleLineTextField ;\n ui:maxLength "128" ;\n ui:property vcard:locality .\n\n :id1409437421996\n a ui:SingleLineTextField ;\n ui:maxLength "25" ;\n ui:property vcard:postal-code .\n\n :id1409437467649\n a ui:SingleLineTextField ;\n ui:maxLength "128" ;\n ui:property vcard:region .\n\n :id1409437569420\n a ui:SingleLineTextField ;\n ui:maxLength "128" ;\n ui:property vcard:country-name .\n\n\n :eMails a ui:Multiple ;\n ui:part :oneEMail ;\n ui:property vcard:hasEmail .\n\n :oneEMail a ui:Group ; # hint: side by side is good\n ui:part :emailValue, :emailType ;\n ui:parts ( :emailType :emailValue ).\n\n :emailValue\n a ui:EmailField ; ui:label "email";\n ui:property vcard:value .\n\n :emailType\n a ui:Classifier ;\n ui:canMintNew "0" ;\n ui:category vcard:Type ;\n ui:from vcard:Type ;\n ui:property rdf:type .\n\n :telephones a ui:Multiple ;\n ui:part :onetelephone ;\n ui:property vcard:hasTelephone .\n\n :onetelephone\n a ui:Group ;\n ui:part :telephoneValue, :telephoneType ;\n ui:parts ( :telephoneType :telephoneValue ).\n\n :telephoneValue\n a ui:PhoneField ;\n ui:property vcard:value .\n\n :telephoneType\n a ui:Classifier ;\n ui:canMintNew "0" ;\n ui:category vcard:TelephoneType ;\n ui:from vcard:Type ;\n ui:property rdf:type .\n\n :birthdayField a ui:DateField;\n ui:label "Born"@en;\n ui:suppressEmptyUneditable true;\n ui:property vcard:bday .\n\n :noteField\n a ui:MultiLineTextField ;\n ui:suppressEmptyUneditable true;\n ui:property vcard:note .\n\n# Ontology additions or interpretations needed for the form to work well\n\n# The ontology file doesn\'t make them disjoint. This makes the selector be a choice.\nvcard:TelephoneType owl:disjointUnionOf ( vcard:Cell vcard:Home vcard:Work) .\nvcard:Type owl:disjointUnionOf (vcard:Home vcard:Work) . # for email\n\n# Better field labels\nvcard:Cell ui:label "mobile"@en . # app will make initial caps if necessary\nvcard:hasAddress ui:label "address"@en .\nvcard:bday ui:label "born"@en.\nvcard:hasEmail ui:label "email"@en .\nvcard:hasTelephone ui:label "phone"@en .\nvcard:note ui:label "notes"@en .\n\n\n############ For organizations\n\n:organizationForm a ui:Form ; \n dct:title "Contact details for an organization";\n ui:parts (\n :OrgClassifier\n :fullNameField\n :homePageURIField\n :addresses\n :eMails\n :telephones\n :noteField ) .\n\n :OrgClassifier a ui:Classifier; \n ui:label "What sort of organization?"@en;\n ui:category solid:InterestingOrganization .\n\n :homePageURIField a ui:NamedNodeURIField;\n ui:label "Homepage"@en;\n ui:property schema:url .\n\n# Ontology data to drive the :OrgClassifier classifier\n solid:InterestingOrganization owl:disjointUnionOf (\n # Airline - a Corporation\n # Consortium - a Corporation or a NGO\n schema:Corporation\n schema:EducationalOrganization\n schema:ResearchOrganization # Proposed. https://github.com/schemaorg/schemaorg/issues/2877\n # FundingScheme - eh?\n schema:GovernmentOrganization\n # LibrarySystem\n # LocalBusiness - Corporation\n # MedicalOrganization - a Corporation or a NGO\n schema:NGO\n # NewsMediaOrganization - a Corporation or a NGO\n schema:PerformingGroup # a band\n schema:Project # like Solid\n schema:SportsOrganization) .\n';var dn=o(479),pn={};pn.styleTagTransform=w(),pn.setAttributes=b(),pn.insert=h().bind(null,"head"),pn.domAPI=f(),pn.insertStyleElement=A(),d()(dn.A,pn),dn.A&&dn.A.locals&&dn.A.locals;var fn=o(434),mn={};mn.styleTagTransform=w(),mn.setAttributes=b(),mn.insert=h().bind(null,"head"),mn.domAPI=f(),mn.insertStyleElement=A(),d()(fn.A,mn),fn.A&&fn.A.locals&&fn.A.locals;const hn="https://solidos.github.io/contacts-pane/src/ontology/";function gn(e,n,t,a){const i=a||hn+t,o=(0,c.sym)(i);e.holds(void 0,void 0,void 0,o)||(0,c.parse)(n,e,i,"text/turtle",()=>null)}const bn=l.ns,vn=s.store,An="individualAndOrganizationForm.ttl";async function yn(e,n,t,a){const i=vn.findTypeURIs(t),o=!(!i[bn.vcard("Organization").uri]&&!i[bn.schema("Organization").uri]),r=vn.updater.editable(t.doc().uri,vn);gn(vn,un,An);const u=l.ns.vcard("Type").doc().uri;gn(vn,'@prefix : <http://www.w3.org/2006/vcard/ns#> .\n@prefix owl: <http://www.w3.org/2002/07/owl#> .\n@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .\n@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .\n@prefix xml: <http://www.w3.org/XML/1998/namespace> .\n@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .\n\n:Acquaintance a owl:Class ;\n rdfs:label "Acquaintance"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Agent a owl:Class ;\n rdfs:label "Agent"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:BBS a owl:Class ;\n rdfs:label "BBS"@en ;\n rdfs:comment "This class is deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :TelephoneType ;\n owl:deprecated true .\n\n:Car a owl:Class ;\n rdfs:label "Car"@en ;\n rdfs:comment "This class is deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :TelephoneType ;\n owl:deprecated true .\n\n:Cell a owl:Class ;\n rdfs:label "Cell"@en ;\n rdfs:comment "Also called mobile telephone"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :TelephoneType .\n\n:Child a owl:Class ;\n rdfs:label "Child"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Colleague a owl:Class ;\n rdfs:label "Colleague"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Contact a owl:Class ;\n rdfs:label "Contact"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Coresident a owl:Class ;\n rdfs:label "Coresident"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Coworker a owl:Class ;\n rdfs:label "Coworker"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Crush a owl:Class ;\n rdfs:label "Crush"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Date a owl:Class ;\n rdfs:label "Date"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Dom a owl:Class ;\n rdfs:label "Dom"@en ;\n rdfs:comment "This class is deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Type ;\n owl:deprecated true .\n\n:Emergency a owl:Class ;\n rdfs:label "Emergency"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Fax a owl:Class ;\n rdfs:label "Fax"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :TelephoneType .\n\n:Female a owl:Class ;\n rdfs:label "Female"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Gender .\n\n:Friend a owl:Class ;\n rdfs:label "Friend"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Home a owl:Class ;\n rdfs:label "Home"@en ;\n rdfs:comment "This implies that the property is related to an individual\'s personal life"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Type .\n\n:ISDN a owl:Class ;\n rdfs:label "ISDN"@en ;\n rdfs:comment "This class is deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Type ;\n owl:deprecated true .\n\n:Internet a owl:Class ;\n rdfs:label "Internet"@en ;\n rdfs:comment "This class is deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Type ;\n owl:deprecated true .\n\n:Intl a owl:Class ;\n rdfs:label "Intl"@en ;\n rdfs:comment "This class is deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Type ;\n owl:deprecated true .\n\n:Kin a owl:Class ;\n rdfs:label "Kin"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Label a owl:Class ;\n rdfs:label "Label"@en ;\n rdfs:comment "This class is deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Type ;\n owl:deprecated true .\n\n:Male a owl:Class ;\n rdfs:label "Male"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Gender .\n\n:Me a owl:Class ;\n rdfs:label "Me"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Met a owl:Class ;\n rdfs:label "Met"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Modem a owl:Class ;\n rdfs:label "Modem"@en ;\n rdfs:comment "This class is deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :TelephoneType ;\n owl:deprecated true .\n\n:Msg a owl:Class ;\n rdfs:label "Msg"@en ;\n rdfs:comment "This class is deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :TelephoneType ;\n owl:deprecated true .\n\n:Muse a owl:Class ;\n rdfs:label "Muse"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Neighbor a owl:Class ;\n rdfs:label "Neighbor"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:None a owl:Class ;\n rdfs:label "None"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Gender .\n\n:Other a owl:Class ;\n rdfs:label "Other"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Gender .\n\n:PCS a owl:Class ;\n rdfs:label "PCS"@en ;\n rdfs:comment "This class is deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :TelephoneType ;\n owl:deprecated true .\n\n:Pager a owl:Class ;\n rdfs:label "Pager"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :TelephoneType .\n\n:Parcel a owl:Class ;\n rdfs:label "Parcel"@en ;\n rdfs:comment "This class is deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Type ;\n owl:deprecated true .\n\n:Parent a owl:Class ;\n rdfs:label "Parent"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Postal a owl:Class ;\n rdfs:label "Postal"@en ;\n rdfs:comment "This class is deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Type ;\n owl:deprecated true .\n\n:Pref a owl:Class ;\n rdfs:label "Pref"@en ;\n rdfs:comment "This class is deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Type ;\n owl:deprecated true .\n\n:Sibling a owl:Class ;\n rdfs:label "Sibling"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Spouse a owl:Class ;\n rdfs:label "Spouse"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Sweetheart a owl:Class ;\n rdfs:label "Sweetheart"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Tel a owl:Class ;\n rdfs:label "Tel"@en ;\n rdfs:comment "This class is deprecated. Use the hasTelephone object property."@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:deprecated true .\n\n:Text a owl:Class ;\n rdfs:label "Text"@en ;\n rdfs:comment "Also called sms telephone"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :TelephoneType .\n\n:TextPhone a owl:Class ;\n rdfs:label "Text phone"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :TelephoneType .\n\n:Unknown a owl:Class ;\n rdfs:label "Unknown"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Gender .\n\n:Video a owl:Class ;\n rdfs:label "Video"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :TelephoneType .\n\n:Voice a owl:Class ;\n rdfs:label "Voice"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :TelephoneType .\n\n:Work a owl:Class ;\n rdfs:label "Work"@en ;\n rdfs:comment "This implies that the property is related to an individual\'s work place"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Type .\n\n:X400 a owl:Class ;\n rdfs:label "X400"@en ;\n rdfs:comment "This class is deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Type ;\n owl:deprecated true .\n\n:adr a owl:ObjectProperty ;\n rdfs:label "address"@en ;\n rdfs:comment "This object property has been mapped"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :hasAddress .\n\n:agent a owl:ObjectProperty ;\n rdfs:label "agent"@en ;\n rdfs:comment "This object property has been deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:deprecated true .\n\n:anniversary a owl:DatatypeProperty ;\n rdfs:label "anniversary"@en ;\n rdfs:comment "The date of marriage, or equivalent, of the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range [ a rdfs:Datatype ;\n owl:unionOf ( xsd:dateTime xsd:gYear ) ] .\n\n:bday a owl:DatatypeProperty ;\n rdfs:label "birth date"@en ;\n rdfs:comment "To specify the birth date of the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range [ a rdfs:Datatype ;\n owl:unionOf ( xsd:dateTime xsd:dateTimeStamp xsd:gYear ) ] .\n\n:category a owl:DatatypeProperty ;\n rdfs:label "category"@en ;\n rdfs:comment "The category information about the object, also known as tags"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:class a owl:DatatypeProperty ;\n rdfs:label "class"@en ;\n rdfs:comment "This data property has been deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:deprecated true .\n\n:email a owl:ObjectProperty ;\n rdfs:label "email"@en ;\n rdfs:comment "This object property has been mapped"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :hasEmail .\n\n:extended-address a owl:DatatypeProperty ;\n rdfs:label "extended address"@en ;\n rdfs:comment "This data property has been deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:deprecated true .\n\n:geo a owl:ObjectProperty ;\n rdfs:label "geo"@en ;\n rdfs:comment "This object property has been mapped"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :hasGeo .\n\n:hasAdditionalName a owl:ObjectProperty ;\n rdfs:label "has additional name"@en ;\n rdfs:comment "Used to support property parameters for the additional name data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasCalendarBusy a owl:ObjectProperty ;\n rdfs:label "has calendar busy"@en ;\n rdfs:comment "To specify the busy time associated with the object. (Was called FBURL in RFC6350)"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasCalendarLink a owl:ObjectProperty ;\n rdfs:label "has calendar link"@en ;\n rdfs:comment "To specify the calendar associated with the object. (Was called CALURI in RFC6350)"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasCalendarRequest a owl:ObjectProperty ;\n rdfs:label "has calendar request"@en ;\n rdfs:comment "To specify the calendar user address to which a scheduling request be sent for the object. (Was called CALADRURI in RFC6350)"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasCategory a owl:ObjectProperty ;\n rdfs:label "has category"@en ;\n rdfs:comment "Used to support property parameters for the category data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasCountryName a owl:ObjectProperty ;\n rdfs:label "has country name"@en ;\n rdfs:comment "Used to support property parameters for the country name data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasFN a owl:ObjectProperty ;\n rdfs:label "has formatted name"@en ;\n rdfs:comment "Used to support property parameters for the formatted name data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasFamilyName a owl:ObjectProperty ;\n rdfs:label "has family name"@en ;\n rdfs:comment "Used to support property parameters for the family name data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasGender a owl:ObjectProperty ;\n rdfs:label "has gender"@en ;\n rdfs:comment "To specify the sex or gender identity of the object. URIs are recommended to enable interoperable sex and gender codes to be used."@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasGivenName a owl:ObjectProperty ;\n rdfs:label "has given name"@en ;\n rdfs:comment "Used to support property parameters for the given name data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasHonorificPrefix a owl:ObjectProperty ;\n rdfs:label "has honorific prefix"@en ;\n rdfs:comment "Used to support property parameters for the honorific prefix data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasHonorificSuffix a owl:ObjectProperty ;\n rdfs:label "has honorific suffix"@en ;\n rdfs:comment "Used to support property parameters for the honorific suffix data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasInstantMessage a owl:ObjectProperty ;\n rdfs:label "has messaging"@en ;\n rdfs:comment "To specify the instant messaging and presence protocol communications with the object. (Was called IMPP in RFC6350)"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasLanguage a owl:ObjectProperty ;\n rdfs:label "has language"@en ;\n rdfs:comment "Used to support property parameters for the language data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasLocality a owl:ObjectProperty ;\n rdfs:label "has locality"@en ;\n rdfs:comment "Used to support property parameters for the locality data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasNickname a owl:ObjectProperty ;\n rdfs:label "has nickname"@en ;\n rdfs:comment "Used to support property parameters for the nickname data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:seeAlso :nickname .\n\n:hasNote a owl:ObjectProperty ;\n rdfs:label "has note"@en ;\n rdfs:comment "Used to support property parameters for the note data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasOrganizationName a owl:ObjectProperty ;\n rdfs:label "has organization name"@en ;\n rdfs:comment "Used to support property parameters for the organization name data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasOrganizationUnit a owl:ObjectProperty ;\n rdfs:label "has organization unit name"@en ;\n rdfs:comment "Used to support property parameters for the organization unit name data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasPostalCode a owl:ObjectProperty ;\n rdfs:label "has postal code"@en ;\n rdfs:comment "Used to support property parameters for the postal code data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasRegion a owl:ObjectProperty ;\n rdfs:label "has region"@en ;\n rdfs:comment "Used to support property parameters for the region data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasRelated a owl:ObjectProperty ;\n rdfs:label "has related"@en ;\n rdfs:comment "To specify a relationship between another entity and the entity represented by this object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasRole a owl:ObjectProperty ;\n rdfs:label "has role"@en ;\n rdfs:comment "Used to support property parameters for the role data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasSource a owl:ObjectProperty ;\n rdfs:label "has source"@en ;\n rdfs:comment "To identify the source of directory information of the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasStreetAddress a owl:ObjectProperty ;\n rdfs:label "has street address"@en ;\n rdfs:comment "Used to support property parameters for the street address data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasTitle a owl:ObjectProperty ;\n rdfs:label "has title"@en ;\n rdfs:comment "Used to support property parameters for the title data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasUID a owl:ObjectProperty ;\n rdfs:label "has uid"@en ;\n rdfs:comment "To specify a value that represents a globally unique identifier corresponding to the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasValue a owl:ObjectProperty ;\n rdfs:label "has value"@en ;\n rdfs:comment "Used to indicate the resource value of an object property that requires property parameters"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:label a owl:DatatypeProperty ;\n rdfs:label "label"@en ;\n rdfs:comment "This data property has been deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:deprecated true .\n\n:language a owl:DatatypeProperty ;\n rdfs:label "language"@en ;\n rdfs:comment "To specify the language that may be used for contacting the object. May also be used as a property parameter."@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:latitude a owl:DatatypeProperty ;\n rdfs:label "latitude"@en ;\n rdfs:comment "This data property has been deprecated. See hasGeo"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:deprecated true .\n\n:longitude a owl:DatatypeProperty ;\n rdfs:label "longitude"@en ;\n rdfs:comment "This data property has been deprecated. See hasGeo"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:deprecated true .\n\n:mailer a owl:DatatypeProperty ;\n rdfs:label "mailer"@en ;\n rdfs:comment "This data property has been deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:deprecated true .\n\n:note a owl:DatatypeProperty ;\n rdfs:label "note"@en ;\n rdfs:comment "A note associated with the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:org a owl:ObjectProperty ;\n rdfs:label "organization"@en ;\n rdfs:comment "This object property has been mapped. Use the organization-name data property."@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :organization-name .\n\n:organization-unit a owl:DatatypeProperty ;\n rdfs:label "organizational unit name"@en ;\n rdfs:comment "To specify the organizational unit name associated with the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string ;\n rdfs:subPropertyOf :organization-name .\n\n:post-office-box a owl:DatatypeProperty ;\n rdfs:label "post office box"@en ;\n rdfs:comment "This data property has been deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:deprecated true .\n\n:prodid a owl:DatatypeProperty ;\n rdfs:label "product id"@en ;\n rdfs:comment "To specify the identifier for the product that created the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:rev a owl:DatatypeProperty ;\n rdfs:label "revision"@en ;\n rdfs:comment "To specify revision information about the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:dateTime .\n\n:role a owl:DatatypeProperty ;\n rdfs:label "role"@en ;\n rdfs:comment "To specify the function or part played in a particular situation by the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:sort-string a owl:DatatypeProperty ;\n rdfs:label "sort as"@en ;\n rdfs:comment "To specify the string to be used for national-language-specific sorting. Used as a property parameter only."@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:title a owl:DatatypeProperty ;\n rdfs:label "title"@en ;\n rdfs:comment "To specify the position or job of the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:tz a owl:DatatypeProperty ;\n rdfs:label "time zone"@en ;\n rdfs:comment "To indicate time zone information that is specific to the object. May also be used as a property parameter."@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:value a owl:DatatypeProperty ;\n rdfs:label "value"@en ;\n rdfs:comment "Used to indicate the literal value of a data property that requires property parameters"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:Address a owl:Class ;\n rdfs:label "Address"@en ;\n rdfs:comment "To specify the components of the delivery address for the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentClass [ a owl:Class ;\n owl:unionOf ( [ a owl:Class ;\n owl:intersectionOf ( [ a owl:Restriction ;\n owl:onProperty :country-name ;\n owl:someValuesFrom xsd:string ] [ a owl:Restriction ;\n owl:maxCardinality "1"^^xsd:nonNegativeInteger ;\n owl:onProperty :country-name ] ) ] [ a owl:Class ;\n owl:intersectionOf ( [ a owl:Restriction ;\n owl:onProperty :locality ;\n owl:someValuesFrom xsd:string ] [ a owl:Restriction ;\n owl:maxCardinality "1"^^xsd:nonNegativeInteger ;\n owl:onProperty :locality ] ) ] [ a owl:Class ;\n owl:intersectionOf ( [ a owl:Restriction ;\n owl:onProperty :postal-code ;\n owl:someValuesFrom xsd:string ] [ a owl:Restriction ;\n owl:maxCardinality "1"^^xsd:nonNegativeInteger ;\n owl:onProperty :postal-code ] ) ] [ a owl:Class ;\n owl:intersectionOf ( [ a owl:Restriction ;\n owl:onProperty :region ;\n owl:someValuesFrom xsd:string ] [ a owl:Restriction ;\n owl:maxCardinality "1"^^xsd:nonNegativeInteger ;\n owl:onProperty :region ] ) ] [ a owl:Class ;\n owl:intersectionOf ( [ a owl:Restriction ;\n owl:onProperty :street-address ;\n owl:someValuesFrom xsd:string ] [ a owl:Restriction ;\n owl:maxCardinality "1"^^xsd:nonNegativeInteger ;\n owl:onProperty :street-address ] ) ] ) ] .\n\n:Email a owl:Class ;\n rdfs:label "Email"@en ;\n rdfs:comment "To specify the electronic mail address for communication with the object the vCard represents. Use the hasEmail object property."@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:deprecated true .\n\n:Group a owl:Class ;\n rdfs:label "Group"@en ;\n rdfs:comment "Object representing a group of persons or entities. A group object will usually contain hasMember properties to specify the members of the group."@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Kind ;\n owl:disjointWith :Individual,\n :Location,\n :Organization ;\n owl:equivalentClass [ a owl:Class ;\n owl:intersectionOf ( [ a owl:Restriction ;\n owl:onProperty :hasMember ;\n owl:someValuesFrom :Kind ] [ a owl:Restriction ;\n owl:minQualifiedCardinality "1"^^xsd:nonNegativeInteger ;\n owl:onClass :Kind ;\n owl:onProperty :hasMember ] ) ] .\n\n:Individual a owl:Class ;\n rdfs:label "Individual"@en ;\n rdfs:comment "An object representing a single person or entity"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Kind ;\n owl:disjointWith :Location,\n :Organization .\n\n:Name a owl:Class ;\n rdfs:label "Name"@en ;\n rdfs:comment "To specify the components of the name of the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentClass [ a owl:Class ;\n owl:unionOf ( [ a owl:Class ;\n owl:intersectionOf ( [ a owl:Restriction ;\n owl:onProperty :additional-name ;\n owl:someValuesFrom xsd:string ] [ a owl:Restriction ;\n owl:minCardinality "0"^^xsd:nonNegativeInteger ;\n owl:onProperty :additional-name ] ) ] [ a owl:Class ;\n owl:intersectionOf ( [ a owl:Restriction ;\n owl:onProperty :family-name ;\n owl:someValuesFrom xsd:string ] [ a owl:Restriction ;\n owl:maxCardinality "1"^^xsd:nonNegativeInteger ;\n owl:onProperty :family-name ] ) ] [ a owl:Class ;\n owl:intersectionOf ( [ a owl:Restriction ;\n owl:onProperty :given-name ;\n owl:someValuesFrom xsd:string ] [ a owl:Restriction ;\n owl:maxCardinality "1"^^xsd:nonNegativeInteger ;\n owl:onProperty :given-name ] ) ] [ a owl:Class ;\n owl:intersectionOf ( [ a owl:Restriction ;\n owl:onProperty :honorific-prefix ;\n owl:someValuesFrom xsd:string ] [ a owl:Restriction ;\n owl:minCardinality "0"^^xsd:nonNegativeInteger ;\n owl:onProperty :honorific-prefix ] ) ] [ a owl:Class ;\n owl:intersectionOf ( [ a owl:Restriction ;\n owl:onProperty :honorific-suffix ;\n owl:someValuesFrom xsd:string ] [ a owl:Restriction ;\n owl:minCardinality "0"^^xsd:nonNegativeInteger ;\n owl:onProperty :honorific-suffix ] ) ] ) ] .\n\n:VCard a owl:Class ;\n rdfs:label "VCard"@en ;\n rdfs:comment "The vCard class is equivalent to the new Kind class, which is the parent for the four explicit types of vCards (Individual, Organization, Location, Group)"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentClass :Kind .\n\n:fn a owl:DatatypeProperty ;\n rdfs:label "formatted name"@en ;\n rdfs:comment "The formatted text corresponding to the name of the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:hasAddress a owl:ObjectProperty ;\n rdfs:label "has address"@en ;\n rdfs:comment "To specify the components of the delivery address for the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range :Address .\n\n:hasEmail a owl:ObjectProperty ;\n rdfs:label "has email"@en ;\n rdfs:comment "To specify the electronic mail address for communication with the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range :Email .\n\n:hasGeo a owl:ObjectProperty ;\n rdfs:label "has geo"@en ;\n rdfs:comment "To specify information related to the global positioning of the object. May also be used as a property parameter."@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasKey a owl:ObjectProperty ;\n rdfs:label "has key"@en ;\n rdfs:comment "To specify a public key or authentication certificate associated with the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :key .\n\n:hasLogo a owl:ObjectProperty ;\n rdfs:label "has logo"@en ;\n rdfs:comment "To specify a graphic image of a logo associated with the object "@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :logo .\n\n:hasName a owl:ObjectProperty ;\n rdfs:label "has name"@en ;\n rdfs:comment "To specify the components of the name of the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range :Name ;\n owl:equivalentProperty :n .\n\n:hasPhoto a owl:ObjectProperty ;\n rdfs:label "has photo"@en ;\n rdfs:comment "To specify an image or photograph information that annotates some aspect of the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :photo .\n\n:hasSound a owl:ObjectProperty ;\n rdfs:label "has sound"@en ;\n rdfs:comment "To specify a digital sound content information that annotates some aspect of the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :sound .\n\n:hasTelephone a owl:ObjectProperty ;\n rdfs:label "has telephone"@en ;\n rdfs:comment "To specify the telephone number for telephony communication with the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :tel .\n\n:hasURL a owl:ObjectProperty ;\n rdfs:label "has url"@en ;\n rdfs:comment "To specify a uniform resource locator associated with the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :url .\n\n:key a owl:ObjectProperty ;\n rdfs:label "key"@en ;\n rdfs:comment "This object property has been mapped"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :hasKey .\n\n:logo a owl:ObjectProperty ;\n rdfs:label "logo"@en ;\n rdfs:comment "This object property has been mapped"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :hasLogo .\n\n:n a owl:ObjectProperty ;\n rdfs:label "name"@en ;\n rdfs:comment "This object property has been mapped"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :hasName .\n\n:nickname a owl:DatatypeProperty ;\n rdfs:label "nickname"@en ;\n rdfs:comment "The nick name associated with the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:photo a owl:ObjectProperty ;\n rdfs:label "photo"@en ;\n rdfs:comment "This object property has been mapped"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :hasPhoto .\n\n:sound a owl:ObjectProperty ;\n rdfs:label "sound"@en ;\n rdfs:comment "This object property has been mapped"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :hasSound .\n\n:tel a owl:ObjectProperty ;\n rdfs:label "telephone"@en ;\n rdfs:comment "This object property has been mapped"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :hasTelephone .\n\n:url a owl:ObjectProperty ;\n rdfs:label "url"@en ;\n rdfs:comment "This object property has been mapped"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :hasURL .\n\n:Location a owl:Class ;\n rdfs:label "Location"@en ;\n rdfs:comment "An object representing a named geographical place"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Kind ;\n owl:disjointWith :Organization .\n\n:additional-name a owl:DatatypeProperty ;\n rdfs:label "additional name"@en ;\n rdfs:comment "The additional name associated with the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:country-name a owl:DatatypeProperty ;\n rdfs:label "country name"@en ;\n rdfs:comment "The country name associated with the address of the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:family-name a owl:DatatypeProperty ;\n rdfs:label "family name"@en ;\n rdfs:comment "The family name associated with the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:given-name a owl:DatatypeProperty ;\n rdfs:label "given name"@en ;\n rdfs:comment "The given name associated with the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:hasMember a owl:ObjectProperty ;\n rdfs:label "has member"@en ;\n rdfs:comment "To include a member in the group this object represents. (This property can only be used by Group individuals)"@en ;\n rdfs:domain :Group ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range :Kind .\n\n:honorific-prefix a owl:DatatypeProperty ;\n rdfs:label "honorific prefix"@en ;\n rdfs:comment "The honorific prefix of the name associated with the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:honorific-suffix a owl:DatatypeProperty ;\n rdfs:label "honorific suffix"@en ;\n rdfs:comment "The honorific suffix of the name associated with the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:locality a owl:DatatypeProperty ;\n rdfs:label "locality"@en ;\n rdfs:comment "The locality (e.g. city or town) associated with the address of the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:organization-name a owl:DatatypeProperty ;\n rdfs:label "organization name"@en ;\n rdfs:comment "To specify the organizational name associated with the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:postal-code a owl:DatatypeProperty ;\n rdfs:label "postal code"@en ;\n rdfs:comment "The postal code associated with the address of the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:region a owl:DatatypeProperty ;\n rdfs:label "region"@en ;\n rdfs:comment "The region (e.g. state or province) associated with the address of the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:street-address a owl:DatatypeProperty ;\n rdfs:label "street address"@en ;\n rdfs:comment "The street address associated with the address of the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:Organization a owl:Class ;\n rdfs:label "Organization"@en ;\n rdfs:comment """An object representing an organization. An organization is a single entity, and might represent a business or government, a department or division within a business or government, a club, an association, or the like.\n"""@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Kind .\n\n:Gender a owl:Class ;\n rdfs:label "Gender"@en ;\n rdfs:comment "Used for gender codes. The URI of the gender code must be used as the value for Gender."@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:Kind a owl:Class ;\n rdfs:label "Kind"@en ;\n rdfs:comment "The parent class for all objects"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentClass [ a owl:Restriction ;\n owl:minQualifiedCardinality "1"^^xsd:nonNegativeInteger ;\n owl:onDataRange xsd:string ;\n owl:onProperty :fn ],\n :VCard .\n\n:Type a owl:Class ;\n rdfs:label "Type"@en ;\n rdfs:comment "Used for type codes. The URI of the type code must be used as the value for Type."@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:TelephoneType a owl:Class ;\n rdfs:label "Phone"@en ;\n rdfs:comment "Used for telephone type codes. The URI of the telephone type code must be used as the value for the Telephone Type."@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:RelatedType a owl:Class ;\n rdfs:label "Relation Type"@en ;\n rdfs:comment "Used for relation type codes. The URI of the relation type code must be used as the value for the Relation Type."@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n<http://www.w3.org/2006/vcard/ns> a owl:Ontology ;\n rdfs:label "Ontology for vCard"@en ;\n rdfs:comment "Ontology for vCard based on RFC6350"@en ;\n owl:versionInfo "Final"@en .\n\n\n',"vcard.ttl",u);try{await vn.fetcher.load(t.doc())}catch(e){throw B("Error loading profile card. Stack: "+e),new Error("Failed to load profile card.")}n.classList.add("individualPane"),s.authn.checkUser(),n.appendChild(Be(e,t));const d=o?"organizationForm":"individualForm";if(function(e,n,t,a,i,o,r,s){const u=hn+a,d=s||"this",p=(0,c.Namespace)(u+"#")(d);gn(i,t,a,u),l.widgets.appendForm(o,e,{},n,p,r,(e,n)=>{e||l.widgets.errorMessageBlock(o,n)})}(n,t,un,An,s.store,e,t.doc(),d),n.appendChild(await cn(t,a,a.ulPeople)),s.authn.currentUser()){const a=n.appendChild(e.createElement("h3"));a.textContent="Attach a document",a.classList.add("webidHeading"),l.widgets.attachmentList(e,t,n,{modify:r})}o?n.appendChild(await async function(e,n){let t=F.sym("http://www.wikidata.org/wiki/Q43229");for(const n in N)F.holds(e,S.rdf("type"),S.schema(n),e.doc())&&(t=F.sym(N[n]),E(` renderPublicIdControl bingo: ${n} -> ${t}`));return z(e,n,{longPrompt:`Add a ${_}?`,idNoun:_,urlType:S.vcard("PublicId"),dbLookup:!0,class:t,queryParams:L})}(t,a)):n.appendChild(await async function(e,n){return z(e,n,{longPrompt:`Link to a ${I}?`,idNoun:I,urlType:S.vcard("WebID")})}(t,a))}var wn=o(295),xn={};xn.styleTagTransform=w(),xn.setAttributes=b(),xn.insert=h().bind(null,"head"),xn.domAPI=f(),xn.insertStyleElement=A(),d()(wn.A,xn),wn.A&&wn.A.locals&&wn.A.locals;const Cn=s.store,En=l.ns,kn=En.vcard;let Bn,Sn,Tn,Pn;function Fn(e,n,t,a,i,o,r){Bn=a,Sn=n,Pn=r;const u=i.dom,d=u.createElement("div");d.classList.add("toolsPane");const p=u.createElement("h3");p.textContent="Tools",d.appendChild(p);const f=d.appendChild(u.createElement("div"));f.classList.add("statsLog"),Tn=f.appendChild(u.createElement("pre")),Tn.setAttribute("id","logSpace");const m=d.appendChild(u.createElement("div"));function h(e){const n=e.classList.contains("btn-primary");m.querySelectorAll("button").forEach(e=>{e.classList.remove("btn-primary","toolsButton--loading","toolsButton--error","toolsButton--success"),e.classList.add("btn-secondary")}),n||(e.classList.remove("btn-secondary"),e.classList.add("btn-primary"))}m.classList.add("toolsButtonsContainer");const g=m.appendChild(u.createElement("button"));g.textContent="Load main index",g.classList.add("actionButton","btn-secondary","action-button-focus"),g.addEventListener("click",()=>{h(g),Tn.textContent="",async function(e,n){e.classList.add("toolsButton--loading"),e.classList.remove("toolsButton--error","toolsButton--success");const t=Cn.any(Bn,En.vcard("nameEmailIndex"));try{await Cn.fetcher.load(t)}catch(t){e.classList.remove("toolsButton--loading"),e.classList.add("toolsButton--error"),Nn(n,"Error: People index has NOT been loaded"+t+"\n")}e.classList.remove("toolsButton--loading"),e.classList.add("toolsButton--success"),Nn(n," People index has been loaded\n")}(g,Tn)});const b=m.appendChild(u.createElement("button"));b.textContent="Statistics",b.classList.add("actionButton","btn-secondary","action-button-focus"),b.addEventListener("click",()=>{h(b),Tn.textContent="",function(e){const n=Cn.each(void 0,kn("inAddressBook"),Bn).length;Nn(e,n+" contacts loaded. ");let t=Cn.each(Bn,kn("includesGroup"));const a=new Set(t.map(e=>ee(e.uri)));t=[...a].map(e=>Cn.sym(e)),Nn(e,t.length+" total groups. ");const i=[];for(const e in Sn)i.push(e);Nn(e,i.length+" selected groups. ")}(Tn)});const v=m.appendChild(u.createElement("button"));v.textContent="Check individual contact access of selected groups",v.classList.add("actionButton","btn-secondary","action-button-focus"),v.addEventListener("click",e=>{h(v),Tn.textContent="",async function(){function e(e){l.acl.fixIndividualCardACL(e,e=>Nn(Tn,e),function(n,t){n?Nn(Tn,"Success for "+l.utils.label(e)):(B("Failure for "+e+": "+t),Nn(Tn,"Failure for "+e+": "+t))})}const n=[];for(const e in Sn)n.push(e);for(let t=0;t<n.length;t++){const a=Cn.sym(n[t]),i=me(Cn,a);Nn(Tn,l.utils.label(a)+": "+i.length+" members");for(let n=0;n<i.length;n++){const t=i[n];Nn(Tn,l.utils.label(t)),e(t)}}}()});const A=m.appendChild(u.createElement("button"));A.textContent="Find duplicate contacts",A.classList.add("actionButton","btn-secondary","action-button-focus"),A.addEventListener("click",function(e){h(A),Tn.textContent="";const n={};n.book=Bn,n.nameEmailIndex=Cn.any(Bn,En.vcard("nameEmailIndex")),Nn(Tn,"Loading name index..."),s.store.fetcher.nowOrWhenFetched(n.nameEmailIndex,void 0,function(e,t){function a(e){let t;return Promise.resolve().then(()=>{const a=e.uri.replace("/Group/","/NewGroup/");t=Cn.sym(a);let i=[];for(let t=0;t<n.uniques.length;t++)i=i.concat(Cn.connectedStatements(n.uniques[t],e.doc()));const o=new c.Serializer(Cn).setBase(e.uri);Nn(Tn," Regenerating group of uniques..."+t);const r=o.statementsToN3(i);return Cn.fetcher.webOperation("PUT",t,{data:r,contentType:"text/turtle"})}).then(()=>(Nn(Tn," Done uniques group "+t),!0)).catch(e=>{Nn(Tn,"Error saving : "+e)})}Nn(Tn,"Loaded name index."),n.cards=[],n.duplicates=[],n.definitive=[],n.nameless=[],n.exactDuplicates=[],n.nameOnlyDuplicates=[],n.uniquesSet=[],n.groupProblems=[],n.nameDupLog=Cn.sym(Bn.dir().uri+"dedup-nameDupLog.ttl"),n.exactDupLog=Cn.sym(Bn.dir().uri+"dedup-exactDupLog.ttl"),n.nameOnlyErrors=[],n.nameLessZeroData=[],n.nameLessIndex=[],n.namelessUniques=[],n.nameOnlyDuplicatesGroupDiff=[];const i=function(){let e=[];return n.book&&([n.book].forEach(function(n){const t=(n?Cn.each(n,En.vcard("includesGroup")):[]).map(function(e){return[n,Cn.any(e,En.vcard("fn")),e]});e=e.concat(t)}),e.sort()),e}();n.groupObjects=i.map(e=>e[2]),Nn(Tn,"Loading "+n.groupObjects.length+" groups... "),Cn.fetcher.load(n.groupObjects).then(function(){return new Promise(function(e){let t,a,i;for(n.cards=Cn.each(void 0,kn("inAddressBook"),n.book),Nn(Tn,n.cards.length+" total contacts"),t=0;t<n.cards.length;t++)a=n.cards[t],i=Cn.anyValue(a,En.vcard("fn")),i?n.definitive[i]===a||(n.definitive[i]?(n.duplicates.length,n.duplicates.push(a)):n.definitive[i]=a):n.nameless.push(a);n.duplicateSet=[];for(let e=0;e<n.duplicates.length;e++)n.duplicateSet[n.duplicates[e].uri]=n.duplicates[e];n.namelessSet=[];for(let e=0;e<n.nameless.length;e++)n.namelessSet[n.nameless[e].uri]=n.nameless[e];n.uniques=[],n.uniqueSet=[];for(let e=0;e<n.cards.length;e++){const t=n.cards[e].uri;n.duplicateSet[t]||n.namelessSet[t]||(n.uniques.push(n.cards[e]),n.uniqueSet[t]=n.cards[e])}Nn(Tn,"Uniques: "+n.uniques.length),Nn(Tn,n.nameless.length+" nameless contacts."),Nn(Tn,n.duplicates.length+" name-duplicate contacts, leaving "+(n.cards.length-n.duplicates.length)),e(!0)})}).then(function(){return new Promise(function(e){Nn(Tn,"Groups loaded");for(let e=0;e<n.uniques.length;e++)n.uniquesSet[n.uniques[e].uri]=!0;n.groupMembers=[],Cn.each(null,En.vcard("hasMember")).forEach(e=>{n.groupMembers=n.groupMembers.concat(me(Cn,e))}),Nn(Tn," Naive group members "+n.groupMembers.length),n.groupMemberSet=[];for(let e=0;e<n.groupMembers.length;e++)n.groupMemberSet[n.groupMembers[e].uri]=n.groupMembers[e];n.groupMembers2=[];for(const e in n.groupMemberSet)n.groupMembers2.push(n.groupMemberSet[e]);if(Nn(Tn," Compact group members "+n.groupMembers2.length),c.keepThisCodeForLaterButDisableFerossConstantConditionPolice){for(let e=0;e<n.groupMembers.length;e++){const t=n.groupMembers[e];n.uniquesSet[t.uri]||(Nn(Tn," Not in uniques: "+t),n.groupProblems.push(t),n.duplicateSet[t.uri]?Nn(Tn," ** IN duplicates alas:"+t):Nn(Tn," **** WTF?"))}Nn(Tn,"Problem contacts: "+n.groupProblems.length)}e(!0)})}).then(function e(){return n.namelessToCheck=n.namelessToCheck||n.nameless.slice(),Nn(Tn,"Nameless check left: "+n.namelessToCheck.length),new Promise(function(t){const a=n.namelessToCheck.shift();if(a){var i;(i=a,new Promise(function(e){Cn.fetcher.load(i).then(function(t){Nn(Tn," Nameless check "+i);const a={};a[En.vcard("hasUID").uri]=!0,a[En.dc("created").uri]=!0,a[En.dc("modified").uri]=!0;const o=(r=i,Cn.statementsMatching(null,null,null,r.doc()).filter(function(e){return!a[e.predicate.uri]}));var r;if(!o.length)return Nn(Tn," Zero length "+i),n.nameLessZeroData.push(i),e(!1);const s=new c.Serializer(Cn).setBase(i.doc().uri).statementsToN3(o),l=n.nameLessIndex[s];if(l){Nn(Tn," Matches with "+l);const t=Cn.each(null,En.vcard("hasMember"),i),a=Cn.each(null,En.vcard("hasMember"),l);for(let o=0;o<t.length;o++){let r=!1;for(let e=0;e<a.length;e++)a[e].sameTerm(t[o])&&(r=!0);if(!r)return Nn(Tn,"This one groups: "+t),Nn(Tn,"Other one groups: "+a),Nn(Tn,"Cant skip this one because it has a group, "+t[o]+", which the other does not."),n.nameOnlyDuplicatesGroupDiff.push(i),e(!1)}E("Group check done -- exact duplicate: "+i)}else Nn(Tn,"First nameless like: "+i.doc()),Nn(Tn,"___________________________________________"),Nn(Tn,s),Nn(Tn,"___________________________________________"),n.nameLessIndex[s]=i,n.namelessUniques.push(i);e(!0)}).catch(function(t){Nn(Tn,"Cant load a nameless card!: "+t),n.nameOnlyErrors.push(i),e(!1)})})).then(function(n){Nn(Tn," Nameless check returns "+n),e()})}else{if(Nn(Tn,"namelessUniques: "+n.namelessUniques.length),Nn(Tn,"namelessUniques: "+n.namelessUniques),!(n.namelessUniques.length>0))return t(!0);{const e=u.createElement("p");e.textContent="Add all "+n.namelessUniques.length+" nameless contacts to the rescued set?",f.appendChild(e);const a=l.widgets.continueButton(u,function(){n.uniques=n.uniques.concat(n.namelessUniques);for(let e=0;e<n.namelessUniques.length;e++)n.uniqueSet[n.namelessUniques[e].uri]=!0;e.remove(),a.remove(),t(!0)});f.appendChild(a)}}})}).then(function(){let e;return Promise.resolve().then(()=>{e=Cn.sym(n.book.dir().uri+"clean-people.ttl");let t=[];for(let e=0;e<n.uniques.length;e++)t=t.concat(Cn.connectedStatements(n.uniques[e],n.nameEmailIndex));const a=new c.Serializer(Cn).setBase(n.nameEmailIndex.uri);Nn(Tn,"Serializing index of uniques...");const i=a.statementsToN3(t);return Cn.fetcher.webOperation("PUT",e,{data:i,contentType:"text/turtle"})}).then(function(){return Nn(Tn,"Done uniques log "+e),!0}).catch(function(e){Nn(Tn,"Error saving uniques: "+e)})}).then(function(){return Nn(Tn,"Saving ALL GROUPS"),Promise.all(n.groupObjects.map(a))}).then(function(){Nn(Tn,"Done!")})})});const y=m.appendChild(u.createElement("button"));y.classList.add("actionButton","btn-secondary","action-button-focus"),y.textContent="Find contacts with no group",y.addEventListener("click",function(n){h(y),Tn.textContent="",Nn(Tn,"Loading groups..."),e(Sn,t,async function(e,n){if(!e)return void Nn(Tn,"Loading all groups failed. If it persists, contact your admin.");const t=Cn.any(Bn,En.vcard("nameEmailIndex"));try{await Cn.fetcher.load(t)}catch(e){return B("Error loading name index (vcard(nameEmailIndex)). Stack: "+e),void Nn(Tn,"Loading name index failed. If it persists, contact your admin.")}Nn(Tn,"Loaded groups and name index."),Ln(Bn),Nn(Tn,"Groupless list finished.")})});const w=m.appendChild(u.createElement("button"));return w.classList.add("actionButton","btn-secondary","action-button-focus"),w.textContent="Put all individuals with no group in a new group",w.addEventListener("click",e=>{h(w),Tn.textContent="",async function(e){const n=await Ln(e);if(0===n.length)return void Nn(Tn,"No groupless contacts found.");let t=null;try{t=await pe(e,"No group")}catch(e){}const a=Tn.ownerDocument;new Promise(function(e){const i=a.createElement("p");i.textContent=`Add the ${n.length} contacts without groups to a 'No group' group?`,Tn.appendChild(i);const o=l.widgets.continueButton(a,async function(){i.remove(),o.remove();for(const e of n)t&&(Nn(Tn," adding "+l.utils.label(e)),await fe(e,t));Nn(Tn,"People moved to group."),Pn&&Pn(),e()});Tn.appendChild(o)})}(Bn)}),d}function Nn(e,n){e.textContent+=n+"\n"}async function Ln(e){const n=Cn.any(e,En.vcard("groupIndex")),t=Cn.any(e,En.vcard("nameEmailIndex"));try{await Cn.fetcher.load([t,n]);const a=Cn.each(e,En.vcard("includesGroup"));await Cn.fetcher.load(a)}catch(e){B("Error loading groups. Stack: "+e),Nn(Tn,"Error loading groups or name index. If it persists, contact your admin.")}const a={},i=[];let o=Cn.each(e,kn("includesGroup"));const r=new Set(o.map(e=>ee(e.uri)));o=[...r].map(e=>Cn.sym(e)),Nn(Tn,o.length+" total groups. ");for(let e=0;e<o.length;e++){const n=o[e],t=me(Cn,n);Nn(Tn,l.utils.label(n)+": "+t.length+" members");for(let e=0;e<t.length;e++)Cn.allAliases(t[e]).forEach(function(e){a[e.uri]=n})}const s=Cn.each(void 0,kn("inAddressBook"),e);Nn(Tn,s.length+" total contatcs");for(let e=0;e<s.length;e++)a[s[e].uri]||(i.push(s[e]),Nn(Tn," groupless "+l.utils.label(s[e])));return Nn(Tn,i.length+" groupless contacts."),i}var In=o(903),_n={};_n.styleTagTransform=w(),_n.setAttributes=b(),_n.insert=h().bind(null,"head"),_n.domAPI=f(),_n.insertStyleElement=A(),d()(In.A,_n),In.A&&In.A.locals&&In.A.locals;const On=l.ns,Rn=l.utils,Dn={icon:l.icons.iconBase+"noun_99101.svg",name:"contact",label:function(e,n){const t=n.session.store.findTypeURIs(e);return t[On.vcard("Individual").uri]||t[On.vcard("Organization").uri]?"Contact":t[On.foaf("Person").uri]||t[On.schema("Person").uri]?"Person":t[On.vcard("Group").uri]?"Group":t[On.vcard("AddressBook").uri]?"Address book":null},mintClass:l.ns.vcard("AddressBook"),mintNew:function(e,n){return new Promise(function(t,a){l.login.ensureLoadedProfile(n).then(n=>{E("Logged in as "+n.me);const i=n.me,o=n.dom,r=n.div,s=e.session.store,u=l.ns,d=n.newBase||n.newInstance.dir().uri;if((n.instanceClass||u.vcard("AddressBook")).sameTerm(u.vcard("Group"))){const e=n.newInstance||s.sym(n.newBase+"index.ttl#this"),i=e.doc();return s.add(e,u.rdf("type"),u.vcard("Group"),i),s.add(e,u.vcard("fn"),n.instanceName||"untitled group",i),void s.fetcher.putBack(i,{contentType:"text/turtle"}).then(function(e){t(n)}).catch(function(e){B("Failed to fetch new address book. Stack: "+e),a(new Error("Error creating document for new group "+e))})}let p='@prefix vcard: <http://www.w3.org/2006/vcard/ns#>.\n @prefix ab: <http://www.w3.org/ns/pim/ab#>.\n @prefix dc: <http://purl.org/dc/elements/1.1/>.\n @prefix xsd: <http://www.w3.org/2001/XMLSchema#>.\n\n <#this> a vcard:AddressBook;\n dc:title "New address Book";\n vcard:nameEmailIndex <people.ttl>;\n vcard:groupIndex <groups.ttl>.\n';p+="<#this> <http://www.w3.org/ns/auth/acl#owner> <"+i.uri+">.\n\n";const f=s.sym(d+"index.ttl#this"),m=[{to:"index.ttl",content:p,contentType:"text/turtle"},{to:"groups.ttl",content:"",contentType:"text/turtle"},{to:"people.ttl",content:"",contentType:"text/turtle"},{to:"",existing:!0,aclOptions:{defaultForNew:!0}}];!function e(){function l(n,t){if(!t)return a(new Error("Error writing new file "+u.to));ge(p,i,h).then(()=>e()).catch(e=>{B("Error setting access permissions for "+u.to+". Stack: "+e);const n="Error setting access permissions for "+u.to+".";return a(new Error(n))})}if(0===m.length)!function(e,a){E(`New ${a} created at ${e}`);const i=r.appendChild(o.createElement("p"));i.classList.add("claimSuccess"),i.innerHTML="Your <a href='"+e.uri+"'><b>new "+a+"</b></a> is ready. <br/><br/><a href='"+e.uri+"'>Go to new "+a+"</a>";const s=Object.assign({newInstance:e},n);t(s)}(f,"address book");else{var u=m.shift();E("Creating new file "+u.to+" in new instance ");var p=c.uri.join(u.to,d),h=u.aclOptions||{};"content"in u?s.fetcher.webOperation("PUT",p,{data:u.content,saveMetadata:!0,contentType:u.contentType}).then(()=>l(0,!0)):"existing"in u?l(0,!0):a(new Error("Copy not expected while buiding new app."))}}()},e=>{k("Error logging in. Stack: "+e),ne(n.div,n.dom,"Please log in to create a new address book.")})})},render:function(e,n,t={}){const a=n.dom,i=n.session.store,o=a.createElement("div");return G(a),l.aclControl.preventBrowserDropEvents(a),o.setAttribute("class","contactPane"),async function(){l.aclControl.preventBrowserDropEvents(a);const r=i.findTypeURIs(e);if(r[On.vcard("Individual").uri]||r[On.foaf("Person").uri]||r[On.schema("Person").uri]||r[On.vcard("Organization").uri]||r[On.schema("Organization").uri])yn(a,o,e,n).then(()=>E("(individual rendered)")).catch(()=>{throw new Error("Failed to render contact.")});else{if(!r[On.vcard("AddressBook").uri])throw B("No evidence that "+e+" is anything to do with contacts."),new Error("This does not seem to be a contact or address book.");!function(e,r){i.fetcher.load(e).then(function(u){!function(e,r){const u=Rn.label(On.vcard("AddressBook"));let d=r.foreignGroup,p="";e&&e.length>0?(d=e[0],p=Rn.label(d.dir())):(i.any(d,On.dc("title"))||i.any(d,On.vcard("fn")),t.solo&&p&&"undefined"!=typeof document&&(document.title=p.value),p=p?p.value:u);const f=i.any(d,On.vcard("groupIndex")),m={};let h={},g=null,b=null;const v=[];function A(e){v.forEach(e=>{e.classList.remove("btn-primary"),e.classList.add("btn-secondary")}),e&&(e.classList.remove("btn-secondary"),e.classList.add("btn-primary"))}const y={dom:a,kb:i,ns:On,book:d,options:r,title:p,groupIndex:f,selectedGroups:m,get selectedPeople(){return h},set selectedPeople(e){h=e},get allGroupsLi(){return g},set allGroupsLi(e){g=e},get newGroupLi(){return b},set newGroupLi(e){b=e},actionButtons:v,setActiveActionButton:A,dataBrowserContext:n,div:o,me:c,setMe(e){c=e},paneOptions:t},{main:w,addressBookSection:x,detailsSection:C}=function(e){const{dom:n}=e,t=n.createElement("main");t.id="main-content",t.classList.add("addressBook-grid"),t.setAttribute("role","main"),t.setAttribute("aria-label","Address Book"),t.setAttribute("tabindex","-1");const a=n.createElement("section");a.setAttribute("aria-labelledby","addressBook-section"),a.classList.add("addressBookSection","section-bg"),a.setAttribute("role","region"),a.setAttribute("tabindex","-1"),t.appendChild(a);const i=n.createElement("section");return i.classList.add("detailSection"),i.setAttribute("role","region"),i.setAttribute("aria-label","Details section"),i.classList.add("hidden"),t.appendChild(i),{main:t,addressBookSection:a,detailsSection:i}}(y);function k(){C.classList.remove("hidden")}o.appendChild(w),y.showDetailsSection=k,y.detailsSection=C;const S=a.createElement("ul");S.setAttribute("role","list"),S.setAttribute("aria-label","People list"),y.ulPeople=S,y.dataBrowserContext&&(y.dataBrowserContext.ulPeople=S);const T=a.createElement("div");T.classList.add("detailsSectionContent"),T.setAttribute("role","region"),T.setAttribute("aria-labelledby","detailsSectionContent"),T.setAttribute("aria-live","polite"),y.detailsSectionContent=T;const P=function(e){const{dom:n,ns:t,title:a,me:i,setMe:o,setActiveActionButton:r}=e,l=n.createElement("section");l.classList.add("headerSection");const c=n.createElement("header");c.classList.add("mb-md");const u=n.createElement("h2");u.id="addressBook-heading",u.setAttribute("tabindex","-1"),u.textContent=a;const d=n.createElement("button"),p=n.createElement("div");d.setAttribute("type","button"),i||d.setAttribute("disabled","true"),s.authn.checkUser().then(e=>{e&&(o(e),d.removeAttribute("disabled"))}),p.appendChild(d),d.innerHTML="+ New contact",d.classList.add("actionButton","btn-primary","action-button-focus");let f=0;return d.addEventListener("click",async function(a){r(null),en(e.ulPeople);const i=++f;if(e.showDetailsSection(),e.detailsSectionContent.innerHTML="",e.detailsSectionContent.classList.remove("detailsSectionContent--wide"),await on(),i!==f)return;e.detailsSectionContent.innerHTML="";const o=n.createElement("div");o.classList.add("contactTypeChooser");const s=n.createElement("label");s.textContent="Contact type: ",s.setAttribute("for","contactTypeSelect"),o.appendChild(s);const l=n.createElement("select");l.id="contactTypeSelect",l.classList.add("contactTypeSelect");const c=n.createElement("option");c.value="Individual",c.textContent="New person",l.appendChild(c);const u=n.createElement("option");u.value="Organization",u.textContent="New organization",l.appendChild(u),o.appendChild(l),e.detailsSectionContent.appendChild(o);const d=n.createElement("p");d.classList.add("contactCreationRemark"),d.textContent="The new contact is added to the already selected group.",e.detailsSectionContent.appendChild(d);const p=n.createElement("div");function m(){return"Organization"===l.value?t.vcard("Organization"):t.vcard("Individual")}p.classList.add("contactFormContainer"),e.detailsSectionContent.appendChild(p),jn(e,p,m()),l.addEventListener("change",function(){jn(e,p,m())})},!1),c.appendChild(u),c.appendChild(p),l.appendChild(c),l}(y);x.appendChild(P);const F=a.createElement("hr");F.classList.add("dottedHr"),x.appendChild(F);const{searchSection:N,searchInput:L}=function(e){const{dom:n}=e,t=n.createElement("section");t.classList.add("searchSection");const a=n.createElement("div");a.classList.add("searchDiv"),t.appendChild(a);const i=n.createElement("input");i.setAttribute("type","text"),i.setAttribute("aria-label","Search contacts"),i.classList.add("searchInput"),i.setAttribute("placeholder","Search by name in selected group"),a.appendChild(i);const o=n.createElement("button");return o.setAttribute("type","button"),o.setAttribute("aria-label","Clear search"),o.classList.add("searchClearButton","hidden"),o.textContent="✕",a.appendChild(o),i.addEventListener("input",function(n){const t=i.value.length>0;o.classList.toggle("hidden",!t),nn(e.ulPeople,!0,e.detailsSectionContent)}),o.addEventListener("click",function(){i.value="",o.classList.add("hidden"),i.focus(),nn(e.ulPeople,!0,e.detailsSectionContent)}),{searchSection:t,searchInput:i}}(y);y.searchInput=L,x.appendChild(N);const{buttonSection:I,ulGroups:_}=function(e){const{dom:n,kb:t,book:a,options:i,groupIndex:o,selectedGroups:r,actionButtons:s,setActiveActionButton:l}=e,c=n.createElement("section");c.classList.add("buttonSection");const u=n.createElement("ul");if(u.classList.add("groupButtonsList"),u.setAttribute("role","list"),u.setAttribute("aria-label","Groups list"),i.foreignGroup&&(r[i.foreignGroup.uri]=!0),a){e.allGroupsLi=n.createElement("li");const d=n.createElement("button");d.textContent="All groups",d.classList.add("allGroupsButton","actionButton","btn-primary","action-button-focus","allGroupsButton--selected"),d.addEventListener("click",function(n){if(qe(u,d),l(null),Array.from(u.children).every(function(e){return!e.subject||!!r[e.subject.uri]})){d.classList.remove("allGroupsButton--loading","allGroupsButton--active"),d.setAttribute("aria-busy","false"),d.classList.add("allGroupsButton--loaded");for(const e in r)delete r[e];Ye(u,r)}else d.classList.add("allGroupsButton--loading"),d.setAttribute("aria-busy","true"),We(r,u,function(n,t){if(!n)return Z("Failed to select all groups. If it persists, contact admin.");d.classList.remove("allGroupsButton--loading"),d.setAttribute("aria-busy","false"),d.classList.add("allGroupsButton--active"),Ye(u,r),Ze(e.ulPeople,null)})}),e.allGroupsLi.appendChild(d),u.appendChild(e.allGroupsLi),e.newGroupLi=n.createElement("li");const p=n.createElement("button");p.setAttribute("type","button"),p.innerHTML="+ New group",p.classList.add("allGroupsButton","actionButton","btn-secondary","action-button-focus"),s.push(p),p.addEventListener("click",function(n){qe(u,p),l(null),en(e.ulPeople),Mn(e)},!1),e.newGroupLi.appendChild(p),c.appendChild(u),o&&t.fetcher.nowOrWhenFetched(o.uri,a,function(t,o){if(!t)return B("Error loading group index. Stack: "+o),void Z("Error loading group index. If it persists, contact admin.");e.allGroupsLi.parentNode&&e.allGroupsLi.parentNode.removeChild(e.allGroupsLi),e.newGroupLi.parentNode&&e.newGroupLi.parentNode.removeChild(e.newGroupLi),Qe(a,i,u,n,r,e.ulPeople,e.searchInput),u.insertBefore(e.allGroupsLi,u.firstChild),u.appendChild(e.newGroupLi),d.classList.add("allGroupsButton--loading"),d.setAttribute("aria-busy","true"),We(r,u,function(n,t){if(!n)return Z("Failed to select all groups. If it persists, contact admin.");d.classList.remove("allGroupsButton--loading"),d.setAttribute("aria-busy","false"),d.classList.add("allGroupsButton--active"),Ye(u,r),Ze(e.ulPeople,null)})}),e.allGroupsLi.parentNode&&e.allGroupsLi.parentNode.removeChild(e.allGroupsLi),e.newGroupLi.parentNode&&e.newGroupLi.parentNode.removeChild(e.newGroupLi),$e(a,u,i,n,r,e.ulPeople,e.searchInput,e.detailsSectionContent,e.dataBrowserContext,function(){l(null),e.detailsSectionContent.querySelector(".contactTypeChooser, .contactFormContainer, .renderPane")||(e.detailsSectionContent.innerHTML="",e.detailsSection.classList.add("hidden"))}),u.insertBefore(e.allGroupsLi,u.firstChild),u.appendChild(e.newGroupLi)}else Qe(a,i,u,n,r,e.ulPeople,e.searchInput),Ze(e.ulPeople,null),E("No book, only one group -> hide list of groups");return{buttonSection:c,ulGroups:u}}(y);y.ulGroups=_,x.appendChild(I);const O=a.createElement("section");O.classList.add("peopleSection"),x.appendChild(O),O.appendChild(S),C.appendChild(T);const R=function(e){const{dom:n,kb:t,ns:a,book:i,options:o,selectedGroups:r,actionButtons:s,setActiveActionButton:c,dataBrowserContext:u,div:d,me:p}=e,f=n.createElement("div");if(f.classList.add("cardFooter"),i){const m=f.appendChild(n.createElement("button"));m.setAttribute("type","button"),m.innerHTML="Groups",m.classList.add("actionButton","btn-secondary","action-button-focus"),s.push(m),m.addEventListener("click",async function(s){c(m),en(e.ulPeople),e.showDetailsSection(),e.detailsSectionContent.innerHTML="",e.detailsSectionContent.classList.remove("detailsSectionContent--wide");const u=n.createElement("h3");u.textContent="Your groups",e.detailsSectionContent.appendChild(u);let d,f=n.createElement("p");f.textContent="When you delete a group it can happen that some contacts end up groupless.",e.detailsSectionContent.appendChild(f),f=n.createElement("p"),f.textContent="To move contacts around, simply drag and drop them onto a group.",e.detailsSectionContent.appendChild(f);try{d=await Ke(i)}catch(t){return void e.detailsSectionContent.appendChild(n.createTextNode("Failed to load groups: "+t))}const h=n.createElement("ul");h.setAttribute("role","list"),h.setAttribute("aria-label","All groups"),h.classList.add("groupButtonsList"),d&&(d.sort((e,n)=>{const i=(t.any(e,a.vcard("fn"))||"").toString().toLowerCase(),o=(t.any(n,a.vcard("fn"))||"").toString().toLowerCase();return i<o?-1:i>o?1:0}),d.forEach(function(a){const{groupLi:s,groupButton:c,name:u}=He(a);c.addEventListener("click",function(n){if(n.preventDefault(),!n.metaKey)for(const e in r)delete r[e];r[a.uri]=!r[a.uri],Ye(e.ulGroups,r);const i=Array.from(e.ulGroups.children).find(e=>e.subject&&e.subject.uri===a.uri);qe(e.ulGroups,i?i.querySelector("button"):null),t.fetcher.nowOrWhenFetched(a.doc(),void 0,function(n,t){if(!n)return B("Cannot load group: "+a+". Stack: "+t),Z("Failed to load group details. If it persists, contact your admin.");Ze(e.ulPeople,null,!1)})},!1),l.widgets.makeDropTarget(s,e=>Ve(e,a)),p&&l.widgets.deleteButtonWithCheck(n,s,"group "+u,async function(){await ie(a),delete r[a.uri];const t=e.allGroupsLi,s=e.newGroupLi;t.parentNode&&t.parentNode.removeChild(t),s.parentNode&&s.parentNode.removeChild(s),Qe(i,o,e.ulGroups,n,r,e.ulPeople,e.searchInput),e.ulGroups.insertBefore(t,e.ulGroups.firstChild),e.ulGroups.appendChild(s),Ye(e.ulGroups,r),Ze(e.ulPeople,null,!1),m.click()}),h.appendChild(s)})),e.detailsSectionContent.appendChild(h);const g=n.createElement("button");g.setAttribute("type","button"),g.innerHTML="+ New group",g.classList.add("actionButton","btn-primary","action-button-focus","newGroupBtn"),g.addEventListener("click",function(){Mn(e)},!1),e.detailsSectionContent.appendChild(g)});const h=f.appendChild(n.createElement("button"));h.setAttribute("type","button"),h.innerHTML="Sharing",h.classList.add("actionButton","btn-secondary","action-button-focus"),s.push(h),h.addEventListener("click",function(o){c(h),en(e.ulPeople),e.showDetailsSection(),e.detailsSectionContent.innerHTML="",e.detailsSectionContent.classList.remove("detailsSectionContent--wide");const r=n.createElement("h3");r.textContent="Sharing",e.detailsSectionContent.appendChild(r),e.detailsSectionContent.appendChild(l.aclControl.ACLControlBox5(i.dir(),u,"book",t,function(t,a){t||(B("ACL control box Failed. Stack: "+a),ne(e.detailsSectionContent,n,"Problem displaying sharing controls. If persists, contact admin."))}));const s={target:i,me:p,noun:"address book",div:e.detailsSectionContent,dom:n,statusRegion:d};l.login.registrationControl(s,i,a.vcard("AddressBook")).then(()=>E("Registration control finished.")).catch(t=>{B("Error in registration control. Stack: "+t),ne(e.detailsSectionContent,n,"Problem displaying findable controls. If persists, contact admin.")})});const g=f.appendChild(n.createElement("button"));g.setAttribute("type","button"),g.innerHTML="Tools",g.classList.add("actionButton","btn-secondary","action-button-focus"),s.push(g),g.addEventListener("click",function(t){c(g),en(e.ulPeople),e.showDetailsSection(),e.detailsSectionContent.innerHTML="",e.detailsSectionContent.classList.add("detailsSectionContent--wide"),e.detailsSectionContent.appendChild(Fn(We,r,e.ulGroups,i,u,0,function(){e.allGroupsLi.parentNode&&e.allGroupsLi.parentNode.removeChild(e.allGroupsLi),e.newGroupLi.parentNode&&e.newGroupLi.parentNode.removeChild(e.newGroupLi),Qe(i,o,e.ulGroups,n,r,e.ulPeople,e.searchInput),e.ulGroups.insertBefore(e.allGroupsLi,e.ulGroups.firstChild),e.ulGroups.appendChild(e.newGroupLi),Ye(e.ulGroups,r)}))})}return f}(y);x.appendChild(R),an(d,T).then(()=>{E("Async checkDataModel done.")})}(e,r)}).catch(function(e){throw B("Error loading address book. Stack: "+e),new Error("Failed to load address book.")})}([e],{})}let c=s.authn.currentUser();if("undefined"!=typeof document&&document.location&&"http://localhost"===(""+document.location).slice(0,16)){const n=i.any(e,l.ns.acl("owner"));n&&(c=n)}return o}().then(()=>E("Contacts pane rendered for "+e),e=>ne(o,a,e.message||""+e)),o}};async function Mn(e){const{dom:n,kb:t,ns:a,book:i,options:o,selectedGroups:r,dataBrowserContext:s}=e;e.showDetailsSection(),e.detailsSectionContent.innerHTML="";const c=t.any(i,a.vcard("groupIndex"));try{await t.fetcher.load(c)}catch(e){E("Error: Group index NOT loaded:"+e+"\n")}E(" Group index has been loaded\n");const u=await l.widgets.askName(n,t,e.detailsSectionContent,l.ns.foaf("name"),a.vcard("Group"),"group");if(!u)return;let d;try{d=await pe(i,u)}catch(n){return E("Error: can't save new group:"+n),void(e.detailsSectionContent.innerHTML="Failed to save group"+n)}for(const e in r)delete r[e];r[d.uri]=!0;const p=e.allGroupsLi,f=e.newGroupLi;p.parentNode&&p.parentNode.removeChild(p),f.parentNode&&f.parentNode.removeChild(f),Qe(i,o,e.ulGroups,n,r,e.ulPeople,e.searchInput),e.ulGroups.insertBefore(p,e.ulGroups.firstChild),e.ulGroups.appendChild(f),Ye(e.ulGroups,r);const m=Array.from(e.ulGroups.children).find(e=>e.subject&&e.subject.uri===d.uri);qe(e.ulGroups,m?m.querySelector("button"):null),Ze(e.ulPeople,null,!1),e.detailsSectionContent.innerHTML="",e.detailsSectionContent.appendChild(l.aclControl.ACLControlBox5(d.doc(),s,"group",t,function(n,t){n||(e.detailsSectionContent.innerHTML="Group sharing setup failed: "+t)}))}function jn(e,n,t){const{dom:a,kb:i,book:o,selectedGroups:r,dataBrowserContext:s}=e;n.innerHTML="",l.widgets.askName(a,i,n,l.ns.foaf("name"),t).then(async n=>{if(!n)return;let a;e.detailsSectionContent.innerHTML="Indexing...";try{a=await async function(e,n,t,a){await ce.fetcher.load(e.doc());const i=ce.any(e,se.vcard("nameEmailIndex")),o=le.genUuid(),r=ce.sym(e.dir().uri+"Person/"+o+"/index.ttl#this"),s=r.doc(),l=[c.st(r,se.vcard("inAddressBook"),e,i),c.st(r,se.vcard("fn"),n,i),c.st(r,se.vcard("fn"),n,s),c.st(r,se.rdf("type"),a,s),c.st(s,se.dct("created"),new Date,s)],u=Array.isArray(t)?t:Object.keys(t||{});if(u.length>0){for(const e of u){const t=ce.sym(e),a=t.doc();l.push(c.st(t,se.vcard("hasMember"),r,a),c.st(r,se.vcard("fn"),n,a))}try{await ue.updateMany([],l)}catch(e){throw B("Cannot add group membership for "+r+". Stack:"+e),new Error("Save new contact")}return r}Z("Must be a member of at least one group. Please select or create a group.")}(o,n,r,t)}catch(e){return void Z("Error saving contact. If it persists, contact your admin.")}if(!a)return void(e.detailsSectionContent.innerHTML="");e.selectedPeople={},e.selectedPeople[a.uri]=!0,Ze(e.ulPeople,null),e.detailsSectionContent.innerHTML="",e.detailsSectionContent.classList.add("detailsSectionContent--wide");const i=s.session.paneRegistry.byName("contact").render(a,s);i.classList.add("renderPane"),e.detailsSectionContent.appendChild(i)})}return r=r.default})(),e.exports=a(t(5663),t(9426),t(5491))},566(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(1354),i=t.n(a),o=t(6314),r=t.n(o)()(i());r.push([e.id,"/* CVCard.css */\n/* Note: Uses utilities: .section-title for cvOrg styling */\n\n.cvSection {\n margin-bottom: 1.25em;\n}\n\n.cvRole {\n margin: var(--spacing-xs) 0;\n font-size: var(--font-size-base);\n line-height: var(--line-height-base);\n display: flex;\n flex-direction: column;\n gap: 0.2em;\n}\n\n.cvOrg {\n font-weight: 600;\n color: var(--color-primary);\n}\n\n.cvSkill, .cvLanguage {\n text-align: left;\n margin: var(--spacing-xs) 0;\n font-size: var(--font-size-base);\n line-height: var(--line-height-base);\n}\n\n.cvSection h3 {\n color: var(--color-text);\n font-size: var(--font-size-lg);\n font-weight: 600;\n line-height: var(--line-height-tight);\n margin-bottom: var(--spacing-xs);\n border-bottom: 1px solid var(--color-border-pale);\n padding-bottom: var(--spacing-xs);\n}\n","",{version:3,sources:["webpack://./node_modules/profile-pane/lib/styles/CVCard.css"],names:[],mappings:"AAAA,eAAe;AACf,2DAA2D;;AAE3D;EACE,qBAAqB;AACvB;;AAEA;EACE,2BAA2B;EAC3B,gCAAgC;EAChC,oCAAoC;EACpC,aAAa;EACb,sBAAsB;EACtB,UAAU;AACZ;;AAEA;EACE,gBAAgB;EAChB,2BAA2B;AAC7B;;AAEA;EACE,gBAAgB;EAChB,2BAA2B;EAC3B,gCAAgC;EAChC,oCAAoC;AACtC;;AAEA;EACE,wBAAwB;EACxB,8BAA8B;EAC9B,gBAAgB;EAChB,qCAAqC;EACrC,gCAAgC;EAChC,iDAAiD;EACjD,iCAAiC;AACnC",sourcesContent:["/* CVCard.css */\n/* Note: Uses utilities: .section-title for cvOrg styling */\n\n.cvSection {\n margin-bottom: 1.25em;\n}\n\n.cvRole {\n margin: var(--spacing-xs) 0;\n font-size: var(--font-size-base);\n line-height: var(--line-height-base);\n display: flex;\n flex-direction: column;\n gap: 0.2em;\n}\n\n.cvOrg {\n font-weight: 600;\n color: var(--color-primary);\n}\n\n.cvSkill, .cvLanguage {\n text-align: left;\n margin: var(--spacing-xs) 0;\n font-size: var(--font-size-base);\n line-height: var(--line-height-base);\n}\n\n.cvSection h3 {\n color: var(--color-text);\n font-size: var(--font-size-lg);\n font-weight: 600;\n line-height: var(--line-height-tight);\n margin-bottom: var(--spacing-xs);\n border-bottom: 1px solid var(--color-border-pale);\n padding-bottom: var(--spacing-xs);\n}\n"],sourceRoot:""}]);const s=r},5223(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(1354),i=t.n(a),o=t(6314),r=t.n(o)()(i());r.push([e.id,"/* ChatWithMe.css */\n/* Uses utilities: .section-centered, .loading-text, .btn-primary, .btn-transparent */\n\n.chatSection {\n overflow-x: auto;\n}\n","",{version:3,sources:["webpack://./node_modules/profile-pane/lib/styles/ChatWithMe.css"],names:[],mappings:"AAAA,mBAAmB;AACnB,qFAAqF;;AAErF;EACE,gBAAgB;AAClB",sourcesContent:["/* ChatWithMe.css */\n/* Uses utilities: .section-centered, .loading-text, .btn-primary, .btn-transparent */\n\n.chatSection {\n overflow-x: auto;\n}\n"],sourceRoot:""}]);const s=r},5191(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(1354),i=t.n(a),o=t(6314),r=t.n(o)()(i());r.push([e.id,"/* FriendList.css */\n/* Uses utilities: .list-reset, .section-title, .zebra-stripe, .flex, .gap-xs, .mb-md */\n\n.friendItem {\n padding: var(--spacing-xs) 0;\n font-size: 1em;\n color: var(--color-text-muted);\n}\n\n.friendItem:last-child {\n border-bottom: none;\n}\n","",{version:3,sources:["webpack://./node_modules/profile-pane/lib/styles/FriendList.css"],names:[],mappings:"AAAA,mBAAmB;AACnB,uFAAuF;;AAEvF;EACE,4BAA4B;EAC5B,cAAc;EACd,8BAA8B;AAChC;;AAEA;EACE,mBAAmB;AACrB",sourcesContent:["/* FriendList.css */\n/* Uses utilities: .list-reset, .section-title, .zebra-stripe, .flex, .gap-xs, .mb-md */\n\n.friendItem {\n padding: var(--spacing-xs) 0;\n font-size: 1em;\n color: var(--color-text-muted);\n}\n\n.friendItem:last-child {\n border-bottom: none;\n}\n"],sourceRoot:""}]);const s=r},9662(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(1354),i=t.n(a),o=t(6314),r=t.n(o)()(i());r.push([e.id,"/* ProfileCard.css */\n/* Uses utilities: .action-button-focus, .btn-primary, .flex-column-center, .text-truncate, .text-center, .text-wrap-anywhere, .section-centered, .btn-transparent */\n\n.profileCard {\n /* Component container */\n}\n\n.image {\n width: 160px;\n height: 160px;\n border-radius: 50%;\n object-fit: cover;\n margin-bottom: var(--spacing-sm);\n box-shadow: var(--box-shadow-sm);\n border: 3px solid var(--color-primary);\n background: var(--color-card-bg);\n box-sizing: border-box;\n}\n\n.image-alt {\n width: 160px;\n height: 160px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n margin-bottom: var(--spacing-sm);\n box-shadow: var(--box-shadow-sm);\n border: 3px solid var(--color-primary);\n background: var(--color-card-bg);\n box-sizing: border-box;\n color: var(--color-text-secondary);\n}\n\n.name {\n font-size: var(--font-size-xl);\n font-weight: 700;\n line-height: var(--line-height-tight);\n text-decoration: underline;\n text-underline-offset: 0.2em;\n margin: 0;\n letter-spacing: var(--letter-spacing-wide);\n}\n\n.intro {\n color: var(--color-text-secondary);\n font-size: var(--font-size-base);\n line-height: var(--line-height-base);\n margin-bottom: var(--spacing-xs);\n max-width: 40ch;\n margin-left: auto;\n margin-right: auto;\n}\n\n.buttonSection {\n color: var(--color-text-secondary);\n font-size: 1em;\n margin-bottom: var(--spacing-xs);\n}\n\n.buttonSubSection {\n width: 100%;\n min-width: 0;\n display: grid;\n}\n\n.buttonSubSection button {\n width: 100%;\n min-width: 0;\n}\n\n.qrCodeSection {\n color: var(--color-text-secondary);\n font-size: 1em;\n margin-bottom: var(--spacing-xs);\n}\n\n.details {\n color: var(--color-text-muted);\n font-size: var(--font-size-base);\n line-height: var(--line-height-base);\n max-width: 45ch;\n margin-left: auto;\n margin-right: auto;\n}\n\n/* ProfileCard styles as regular CSS */\n.profile-card {\n border: 1px solid #ccc;\n padding: 16px;\n background: white;\n}\n","",{version:3,sources:["webpack://./node_modules/profile-pane/lib/styles/ProfileCard.css"],names:[],mappings:"AAAA,oBAAoB;AACpB,oKAAoK;;AAEpK;EACE,wBAAwB;AAC1B;;AAEA;EACE,YAAY;EACZ,aAAa;EACb,kBAAkB;EAClB,iBAAiB;EACjB,gCAAgC;EAChC,gCAAgC;EAChC,sCAAsC;EACtC,gCAAgC;EAChC,sBAAsB;AACxB;;AAEA;EACE,YAAY;EACZ,aAAa;EACb,aAAa;EACb,mBAAmB;EACnB,uBAAuB;EACvB,kBAAkB;EAClB,gCAAgC;EAChC,gCAAgC;EAChC,sCAAsC;EACtC,gCAAgC;EAChC,sBAAsB;EACtB,kCAAkC;AACpC;;AAEA;EACE,8BAA8B;EAC9B,gBAAgB;EAChB,qCAAqC;EACrC,0BAA0B;EAC1B,4BAA4B;EAC5B,SAAS;EACT,0CAA0C;AAC5C;;AAEA;EACE,kCAAkC;EAClC,gCAAgC;EAChC,oCAAoC;EACpC,gCAAgC;EAChC,eAAe;EACf,iBAAiB;EACjB,kBAAkB;AACpB;;AAEA;EACE,kCAAkC;EAClC,cAAc;EACd,gCAAgC;AAClC;;AAEA;EACE,WAAW;EACX,YAAY;EACZ,aAAa;AACf;;AAEA;EACE,WAAW;EACX,YAAY;AACd;;AAEA;EACE,kCAAkC;EAClC,cAAc;EACd,gCAAgC;AAClC;;AAEA;EACE,8BAA8B;EAC9B,gCAAgC;EAChC,oCAAoC;EACpC,eAAe;EACf,iBAAiB;EACjB,kBAAkB;AACpB;;AAEA,sCAAsC;AACtC;EACE,sBAAsB;EACtB,aAAa;EACb,iBAAiB;AACnB",sourcesContent:["/* ProfileCard.css */\n/* Uses utilities: .action-button-focus, .btn-primary, .flex-column-center, .text-truncate, .text-center, .text-wrap-anywhere, .section-centered, .btn-transparent */\n\n.profileCard {\n /* Component container */\n}\n\n.image {\n width: 160px;\n height: 160px;\n border-radius: 50%;\n object-fit: cover;\n margin-bottom: var(--spacing-sm);\n box-shadow: var(--box-shadow-sm);\n border: 3px solid var(--color-primary);\n background: var(--color-card-bg);\n box-sizing: border-box;\n}\n\n.image-alt {\n width: 160px;\n height: 160px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n margin-bottom: var(--spacing-sm);\n box-shadow: var(--box-shadow-sm);\n border: 3px solid var(--color-primary);\n background: var(--color-card-bg);\n box-sizing: border-box;\n color: var(--color-text-secondary);\n}\n\n.name {\n font-size: var(--font-size-xl);\n font-weight: 700;\n line-height: var(--line-height-tight);\n text-decoration: underline;\n text-underline-offset: 0.2em;\n margin: 0;\n letter-spacing: var(--letter-spacing-wide);\n}\n\n.intro {\n color: var(--color-text-secondary);\n font-size: var(--font-size-base);\n line-height: var(--line-height-base);\n margin-bottom: var(--spacing-xs);\n max-width: 40ch;\n margin-left: auto;\n margin-right: auto;\n}\n\n.buttonSection {\n color: var(--color-text-secondary);\n font-size: 1em;\n margin-bottom: var(--spacing-xs);\n}\n\n.buttonSubSection {\n width: 100%;\n min-width: 0;\n display: grid;\n}\n\n.buttonSubSection button {\n width: 100%;\n min-width: 0;\n}\n\n.qrCodeSection {\n color: var(--color-text-secondary);\n font-size: 1em;\n margin-bottom: var(--spacing-xs);\n}\n\n.details {\n color: var(--color-text-muted);\n font-size: var(--font-size-base);\n line-height: var(--line-height-base);\n max-width: 45ch;\n margin-left: auto;\n margin-right: auto;\n}\n\n/* ProfileCard styles as regular CSS */\n.profile-card {\n border: 1px solid #ccc;\n padding: 16px;\n background: white;\n}\n"],sourceRoot:""}]);const s=r},2751(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(1354),i=t.n(a),o=t(6314),r=t.n(o)()(i());r.push([e.id,"/* ProfileView.css */\n/* Uses utilities: .section-bg, .text-center */\n\n/* Horizontal layout for cards */\n.profile-grid .profileSection {\n width: 100%;\n max-width: 100%;\n box-sizing: border-box;\n margin-bottom: var(--spacing-md);\n box-sizing: border-box;\n margin-bottom: var(--spacing-md);\n}\n\n@media (min-width: 900px) {\n .profile-grid .profileSection {\n margin-bottom: 0;\n }\n}\n","",{version:3,sources:["webpack://./node_modules/profile-pane/lib/styles/ProfileView.css"],names:[],mappings:"AAAA,oBAAoB;AACpB,8CAA8C;;AAE9C,gCAAgC;AAChC;EACE,WAAW;EACX,eAAe;EACf,sBAAsB;EACtB,gCAAgC;EAChC,sBAAsB;EACtB,gCAAgC;AAClC;;AAEA;EACE;IACE,gBAAgB;EAClB;AACF",sourcesContent:["/* ProfileView.css */\n/* Uses utilities: .section-bg, .text-center */\n\n/* Horizontal layout for cards */\n.profile-grid .profileSection {\n width: 100%;\n max-width: 100%;\n box-sizing: border-box;\n margin-bottom: var(--spacing-md);\n box-sizing: border-box;\n margin-bottom: var(--spacing-md);\n}\n\n@media (min-width: 900px) {\n .profile-grid .profileSection {\n margin-bottom: 0;\n }\n}\n"],sourceRoot:""}]);const s=r},1783(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(1354),i=t.n(a),o=t(6314),r=t.n(o)()(i());r.push([e.id,'/* QRCodeCard.css */\n/* Note: Uses utilities: .text-center */\n\n/* Caption under the QR code */\n.qrCaption {\n text-align: center;\n margin-top: 0;\n font-size: 0.95em;\n color: var(--color-text-secondary);\n}\n\n.QRCode {\n width: 100%;\n max-width: 320px;\n min-width: 180px;\n margin: 0 auto;\n display: block;\n}\n\n.QRCode [role="img"]:focus {\n outline: 2px solid var(--color-primary, #7C4DFF);\n outline-offset: 2px;\n box-shadow: 0 0 0 2px rgba(124,77,255,0.2);\n}',"",{version:3,sources:["webpack://./node_modules/profile-pane/lib/styles/QRCodeCard.css"],names:[],mappings:"AAAA,mBAAmB;AACnB,uCAAuC;;AAEvC,8BAA8B;AAC9B;EACE,kBAAkB;EAClB,aAAa;EACb,iBAAiB;EACjB,kCAAkC;AACpC;;AAEA;EACE,WAAW;EACX,gBAAgB;EAChB,gBAAgB;EAChB,cAAc;EACd,cAAc;AAChB;;AAEA;EACE,gDAAgD;EAChD,mBAAmB;EACnB,0CAA0C;AAC5C",sourcesContent:['/* QRCodeCard.css */\n/* Note: Uses utilities: .text-center */\n\n/* Caption under the QR code */\n.qrCaption {\n text-align: center;\n margin-top: 0;\n font-size: 0.95em;\n color: var(--color-text-secondary);\n}\n\n.QRCode {\n width: 100%;\n max-width: 320px;\n min-width: 180px;\n margin: 0 auto;\n display: block;\n}\n\n.QRCode [role="img"]:focus {\n outline: 2px solid var(--color-primary, #7C4DFF);\n outline-offset: 2px;\n box-shadow: 0 0 0 2px rgba(124,77,255,0.2);\n}'],sourceRoot:""}]);const s=r},8824(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(1354),i=t.n(a),o=t(6314),r=t.n(o)()(i());r.push([e.id,'/* SocialCard.css */\n/* Uses utilities: .list-reset, .text-wrap-anywhere, .flex, .gap-sm, .gap-lg, .rounded-sm */\n\n.socialList {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n gap: var(--spacing-lg);\n justify-content: center;\n}\n\n.socialItem {\n display: flex;\n align-items: center;\n gap: var(--spacing-sm);\n font-size: 1.1em;\n}\n\n.socialItem span {\n min-width: 0;\n display: block;\n}\n\n.socialItem a {\n color: var(--color-primary);\n text-decoration: none;\n display: flex;\n align-items: center;\n gap: var(--spacing-sm);\n min-height: var(--min-touch-target);\n padding: var(--spacing-xs);\n border-radius: var(--border-radius-base);\n transition: background-color var(--animation-duration) ease;\n position: relative;\n flex: 1;\n min-width: 0;\n}\n\n.socialItem a:hover,\n.socialItem a:focus {\n text-decoration: underline;\n background-color: rgba(124, 77, 255, 0.1);\n}\n\n/* Screen reader only external link indication */\n.socialItem a[href^="http"]:after {\n content: " (external link)";\n position: absolute;\n left: -10000px;\n width: 1px;\n height: 1px;\n overflow: hidden;\n}\n\n.socialIcon {\n width: 2.5em;\n height: 2.5em;\n border-radius: var(--border-radius-base);\n background: var(--color-card-bg);\n flex-shrink: 0;\n}\n',"",{version:3,sources:["webpack://./node_modules/profile-pane/lib/styles/SocialCard.css"],names:[],mappings:"AAAA,mBAAmB;AACnB,2FAA2F;;AAE3F;EACE,aAAa;EACb,mBAAmB;EACnB,eAAe;EACf,sBAAsB;EACtB,uBAAuB;AACzB;;AAEA;EACE,aAAa;EACb,mBAAmB;EACnB,sBAAsB;EACtB,gBAAgB;AAClB;;AAEA;EACE,YAAY;EACZ,cAAc;AAChB;;AAEA;EACE,2BAA2B;EAC3B,qBAAqB;EACrB,aAAa;EACb,mBAAmB;EACnB,sBAAsB;EACtB,mCAAmC;EACnC,0BAA0B;EAC1B,wCAAwC;EACxC,2DAA2D;EAC3D,kBAAkB;EAClB,OAAO;EACP,YAAY;AACd;;AAEA;;EAEE,0BAA0B;EAC1B,yCAAyC;AAC3C;;AAEA,gDAAgD;AAChD;EACE,2BAA2B;EAC3B,kBAAkB;EAClB,cAAc;EACd,UAAU;EACV,WAAW;EACX,gBAAgB;AAClB;;AAEA;EACE,YAAY;EACZ,aAAa;EACb,wCAAwC;EACxC,gCAAgC;EAChC,cAAc;AAChB",sourcesContent:['/* SocialCard.css */\n/* Uses utilities: .list-reset, .text-wrap-anywhere, .flex, .gap-sm, .gap-lg, .rounded-sm */\n\n.socialList {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n gap: var(--spacing-lg);\n justify-content: center;\n}\n\n.socialItem {\n display: flex;\n align-items: center;\n gap: var(--spacing-sm);\n font-size: 1.1em;\n}\n\n.socialItem span {\n min-width: 0;\n display: block;\n}\n\n.socialItem a {\n color: var(--color-primary);\n text-decoration: none;\n display: flex;\n align-items: center;\n gap: var(--spacing-sm);\n min-height: var(--min-touch-target);\n padding: var(--spacing-xs);\n border-radius: var(--border-radius-base);\n transition: background-color var(--animation-duration) ease;\n position: relative;\n flex: 1;\n min-width: 0;\n}\n\n.socialItem a:hover,\n.socialItem a:focus {\n text-decoration: underline;\n background-color: rgba(124, 77, 255, 0.1);\n}\n\n/* Screen reader only external link indication */\n.socialItem a[href^="http"]:after {\n content: " (external link)";\n position: absolute;\n left: -10000px;\n width: 1px;\n height: 1px;\n overflow: hidden;\n}\n\n.socialIcon {\n width: 2.5em;\n height: 2.5em;\n border-radius: var(--border-radius-base);\n background: var(--color-card-bg);\n flex-shrink: 0;\n}\n'],sourceRoot:""}]);const s=r},5295(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(1354),i=t.n(a),o=t(6314),r=t.n(o)()(i());r.push([e.id,"/* StuffCard.css */\n/* Uses utilities: .zebra-stripe */\n\n.stuffTable {\n width: 100%;\n border-collapse: collapse;\n margin-bottom: var(--spacing-md);\n caption-side: top;\n}\n\n.stuffTable caption {\n font-weight: 600;\n padding: var(--spacing-sm);\n text-align: left;\n color: var(--color-text);\n}\n\n.stuffTable th,\n.stuffTable td {\n padding: var(--spacing-sm) var(--spacing-md);\n text-align: left;\n line-height: 1.4;\n}\n","",{version:3,sources:["webpack://./node_modules/profile-pane/lib/styles/StuffCard.css"],names:[],mappings:"AAAA,kBAAkB;AAClB,kCAAkC;;AAElC;EACE,WAAW;EACX,yBAAyB;EACzB,gCAAgC;EAChC,iBAAiB;AACnB;;AAEA;EACE,gBAAgB;EAChB,0BAA0B;EAC1B,gBAAgB;EAChB,wBAAwB;AAC1B;;AAEA;;EAEE,4CAA4C;EAC5C,gBAAgB;EAChB,gBAAgB;AAClB",sourcesContent:["/* StuffCard.css */\n/* Uses utilities: .zebra-stripe */\n\n.stuffTable {\n width: 100%;\n border-collapse: collapse;\n margin-bottom: var(--spacing-md);\n caption-side: top;\n}\n\n.stuffTable caption {\n font-weight: 600;\n padding: var(--spacing-sm);\n text-align: left;\n color: var(--color-text);\n}\n\n.stuffTable th,\n.stuffTable td {\n padding: var(--spacing-sm) var(--spacing-md);\n text-align: left;\n line-height: 1.4;\n}\n"],sourceRoot:""}]);const s=r},2024(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(1354),i=t.n(a),o=t(6314),r=t.n(o)()(i());r.push([e.id,'/* this overrides a style coming from contacts-pane*/\n.profile-form .individualPane {\n box-shadow: none !important;\n}\n\n/* Vertically center autocomplete input in .formFieldValue */\n.profile-form .formFieldValue > div[style*="flex-direction: row"] {\n align-items: center;\n display: flex;\n}\n\n.profile-form .formFieldValue input[data-testid="autocomplete-input"] {\n vertical-align: middle;\n}\n/* Solid-UI form sizing fixes scoped to Edit CV section */\n.profile-form .hoverControl:not(:has(> img:first-child)) {\n border: 0.1em solid rgb(136, 136, 136) !important;\n}\n\n.profile-form .hoverControl:has(> img:first-child) {\n background-color: transparent !important;\n border: none !important;\n margin: 0 !important;\n border-radius: 0 !important;\n padding: 0.7em !important;\n min-height: var(--min-touch-target);\n min-width: var(--min-touch-target);\n cursor: pointer;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n}\n\n.profile-form .hoverControlHide {\n width: 1.5em !important;\n height: 1.5em !important;\n display: block;\n margin-top: 0 !important;\n margin-left: 0 !important;\n margin-right: 0 !important;\n margin-bottom: 0.3em !important;\n}\n\n.profile-form .hoverControl:has(> img:first-child) > span {\n display: inline-flex;\n align-items: center;\n margin-left: 0.3em;\n}\n\n.profile-form div[style*="padding: 0.5em"]:has(> img) {\n display: inline-flex;\n align-items: center;\n}\n\n.profile-form div[style*="padding: 0.5em"]:has(> img) > span {\n margin-left: 0.3em;\n}\n\n.profile-form .hoverControl:has(> img:first-child):hover {\n background-color: transparent !important;\n}\n\n.profile-form button:has(> img[src$=".svg"]) {\n background-color: transparent !important;\n border: none !important;\n margin: 0 !important;\n border-radius: 0 !important;\n}\n\n.profile-form button {\n min-height: var(--min-touch-target);\n min-width: var(--min-touch-target);\n}\n\n.profile-form input:not([type="color"]),\n.profile-form textarea,\n.profile-form select {\n max-width: 100%;\n min-width: 0;\n box-sizing: border-box ;\n font: inherit;\n color: var(--color-text);\n background-color: var(--color-card-bg) !important;\n border: 1px solid var(--color-border-pale);\n}\n\n.profile-form textarea {\n border-color: var(--color-border-pale) !important;\n}\n\n.profile-form input[type="date"],\n.profile-form input[type="month"],\n.profile-form input[type="week"],\n.profile-form input[type="time"],\n.profile-form input[type="datetime-local"] {\n min-height: var(--min-touch-target);\n}\n\n.profile-form .hoverControl:has(> img:first-child):focus-visible,\n.profile-form button:focus-visible,\n.profile-form input:not([type="color"]):focus-visible,\n.profile-form textarea:focus-visible,\n.profile-form select:focus-visible {\n outline: var(--focus-ring-width) solid var(--color-primary) !important;\n outline-offset: 2px;\n box-shadow: 0 0 0 1px var(--color-background);\n}\n\n.profile-form input[type="url"] {\n width: 100%;\n}\n\n.profile-form .formFieldValue {\n min-width: 0;\n margin-bottom: var(--spacing-sm);\n}\n\n.profile-form .formFieldValue table {\n margin: 0 !important;\n padding: 0 !important;\n}\n\n.profile-form .formFieldValue td {\n padding: 0 !important;\n vertical-align: middle;\n}\n\n.profile-form .formFieldValue table[data-testid="autocomplete-table"] {\n height: 100%;\n}\n\n.profile-form .formFieldValue input:not([type="color"]),\n.profile-form .formFieldValue textarea,\n.profile-form .formFieldValue select {\n width: 100%;\n max-width: 100%;\n}\n\n.profile-form select#formSelect {\n width: 100%;\n max-width: 97%;\n box-sizing: border-box;\n margin-left: 0 !important;\n margin-right: 0 !important;\n}\n\n.profile-form .formFieldValue span select {\n margin-left: 0 !important;\n margin-right: 0 !important;\n}\n\n/* Remove border/padding from the first wrapper div (and its first child wrapper). */\n.profile-form > div:first-of-type,\n.profile-form > div:first-of-type > div:first-of-type {\n border: none !important;\n padding: 0 !important;\n}\n\n/* Remove border/padding from the inner div of the first wrapper in the contact section. */\nsection[aria-labelledby="edit-profile-contact-heading"] .profile-form > div:first-of-type > div:first-of-type {\n border: none !important;\n padding: 0 !important;\n}\n\n/* In contactPane, remove border/padding from all direct child divs. */\n.contactPane > div {\n border: none !important;\n padding: 0 !important;\n}\n\n/* Align schema.org, solid terms, FOAF, vCard, and org field labels with their input values. */\n.profile-form :not(.choiceBox):has(> .formFieldName):has(> .formFieldValue) {\n display: flex;\n margin-bottom: var(--spacing-sm);\n}\n\n/* for the Resume inside corporation choice */\n/* Add space between classifierBox label and select box */\n.profile-form .choiceBox .classifierBox-label {\n /* Optional: ensure label doesn\'t have extra margin */\n margin-right: 0;\n padding-left: 0.3em;\n}\n.profile-form .choiceBox .choiceBox-selectBox select {\n margin-left: 2.1em !important;\n}\n\n/* for the Resume orga details */\n/* Add space between classifierBox label and select box */\n.profile-form .classifierBox .classifierBox-label {\n /* Match .formFieldName for alignment */\n margin-right: 0;\n padding-left: 0.3em;\n width: 8em;\n padding: 0.3em;\n vertical-align: middle;\n}\n.profile-form .classifierBox .classifierBox-selectBox {\n margin-left: 0 !important;\n}\n\n.profile-form .classifierBox .classifierBox-selectBox select {\n margin-left: 0 !important;\n}\n\n.profile-form .formFieldValue > span > select {\n margin-left: 0 !important;\n}\n\n/* for the social media */\n/* Add space between classifierBox label and select box */\nsection[data-testid="edit-social-section"] .classifierBox-label {\n /* Optional: ensure label doesn\'t have extra margin */\n margin-right: 0;\n padding-left: 0.3em;\n}\nsection[data-testid="edit-social-section"] .classifierBox-selectBox select {\n margin-left: 0.7em !important;\n}\n\n.profile-form :not(.choiceBox):has(> .formFieldName):has(> .formFieldValue) > .formFieldValue {\n margin-bottom: 0;\n}\n\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*="http://schema.org/"]),\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/ns/solid/terms#"]),\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*="http://xmlns.com/foaf/0.1/"]),\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/2006/vcard/ns"]),\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/ns/org#"]) {\n display: inline-flex;\n align-items: center;\n vertical-align: middle;\n}\n\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*="http://schema.org/"]) + .formFieldValue,\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/ns/solid/terms#"]) + .formFieldValue,\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*="http://xmlns.com/foaf/0.1/"]) + .formFieldValue,\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/2006/vcard/ns"]) + .formFieldValue,\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/ns/org#"]) + .formFieldValue {\n display: inline-flex;\n align-items: center;\n vertical-align: middle;\n flex: 1;\n min-width: 0;\n}\n\n.profile-form textarea,\n.profile-form .formFieldValue textarea {\n appearance: none;\n -webkit-appearance: none;\n border: .05em solid #88c !important;\n border-style: solid !important;\n border-width: .05em !important;\n border-color: #88c !important;\n border-radius: 0.2em !important;\n width: 100%;\n box-sizing: border-box;\n margin-top: var(--spacing-xs);\n margin-left: 0 !important;\n margin-right: 0 !important;\n}\n\n/* Add horizontal gap between label and textarea for all label+textarea pairs. */\n.profile-form div:has(> a) + div:has(textarea) {\n margin-left: var(--spacing-sm);\n}\n\n/* Center textarea label vertically in flex rows. */\n.profile-form div[style*="display: flex"][style*="flex-direction: row"]:has(textarea) {\n align-items: flex-start;\n}\n\n.profile-form div[style*="display: flex"][style*="flex-direction: row"]:has(textarea) > div:has(> a) {\n padding-left: var(--spacing-xs);\n padding-top: var(--spacing-sm);\n}\n\n/* Keep autocomplete/table-based fields (e.g. Occupation) aligned to label text baseline. */\n.profile-form :not(.choiceBox):has(> .formFieldValue input[data-testid="autocomplete-input"]) {\n align-items: flex-start;\n}\n\n.profile-form :not(.choiceBox):has(> .formFieldValue input[data-testid="autocomplete-input"]) > .formFieldName {\n padding-top: 0.55em !important;\n}\n\n.profile-form .formFieldValue:has(input[data-testid="autocomplete-input"]) {\n align-self: flex-start;\n}\n\n.profile-form .formFieldValue table[data-testid="autocomplete-table"],\n.profile-form .formFieldValue input[data-testid="autocomplete-input"] {\n margin: 0 !important;\n}\n\n.profile-form .formFieldValue table[data-testid="autocomplete-table"] {\n vertical-align: baseline;\n}\n\n.profile-form input:not([type="color"]) {\n width: 100%;\n margin-left: 0 !important;\n margin-right: 0 !important;\n}\n\n.profile-form input:disabled,\n.profile-form textarea:disabled,\n.profile-form select:disabled,\n.profile-form input[readonly],\n.profile-form textarea[readonly],\n.profile-form input:read-only,\n.profile-form textarea:read-only {\n background-color: var(--color-background) !important;\n cursor: not-allowed;\n opacity: 0.75;\n border: 0.05em solid white !important;\n}\n\n.webidControl table td div.contactPane.namedPane {\n border: none !important;\n}\n',"",{version:3,sources:["webpack://./node_modules/profile-pane/lib/styles/rdfFormsEnforced.css"],names:[],mappings:"AAAA,oDAAoD;AACpD;EACE,2BAA2B;AAC7B;;AAEA,4DAA4D;AAC5D;EACE,mBAAmB;EACnB,aAAa;AACf;;AAEA;EACE,sBAAsB;AACxB;AACA,yDAAyD;AACzD;EACE,iDAAiD;AACnD;;AAEA;EACE,wCAAwC;EACxC,uBAAuB;EACvB,oBAAoB;EACpB,2BAA2B;EAC3B,yBAAyB;EACzB,mCAAmC;EACnC,kCAAkC;EAClC,eAAe;EACf,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;AACzB;;AAEA;EACE,uBAAuB;EACvB,wBAAwB;EACxB,cAAc;EACd,wBAAwB;EACxB,yBAAyB;EACzB,0BAA0B;EAC1B,+BAA+B;AACjC;;AAEA;EACE,oBAAoB;EACpB,mBAAmB;EACnB,kBAAkB;AACpB;;AAEA;EACE,oBAAoB;EACpB,mBAAmB;AACrB;;AAEA;EACE,kBAAkB;AACpB;;AAEA;EACE,wCAAwC;AAC1C;;AAEA;EACE,wCAAwC;EACxC,uBAAuB;EACvB,oBAAoB;EACpB,2BAA2B;AAC7B;;AAEA;EACE,mCAAmC;EACnC,kCAAkC;AACpC;;AAEA;;;EAGE,eAAe;EACf,YAAY;EACZ,uBAAuB;EACvB,aAAa;EACb,wBAAwB;EACxB,iDAAiD;EACjD,0CAA0C;AAC5C;;AAEA;EACE,iDAAiD;AACnD;;AAEA;;;;;EAKE,mCAAmC;AACrC;;AAEA;;;;;EAKE,sEAAsE;EACtE,mBAAmB;EACnB,6CAA6C;AAC/C;;AAEA;EACE,WAAW;AACb;;AAEA;EACE,YAAY;EACZ,gCAAgC;AAClC;;AAEA;EACE,oBAAoB;EACpB,qBAAqB;AACvB;;AAEA;EACE,qBAAqB;EACrB,sBAAsB;AACxB;;AAEA;EACE,YAAY;AACd;;AAEA;;;EAGE,WAAW;EACX,eAAe;AACjB;;AAEA;EACE,WAAW;EACX,cAAc;EACd,sBAAsB;EACtB,yBAAyB;EACzB,0BAA0B;AAC5B;;AAEA;EACE,yBAAyB;EACzB,0BAA0B;AAC5B;;AAEA,oFAAoF;AACpF;;EAEE,uBAAuB;EACvB,qBAAqB;AACvB;;AAEA,0FAA0F;AAC1F;EACE,uBAAuB;EACvB,qBAAqB;AACvB;;AAEA,sEAAsE;AACtE;EACE,uBAAuB;EACvB,qBAAqB;AACvB;;AAEA,8FAA8F;AAC9F;EACE,aAAa;EACb,gCAAgC;AAClC;;AAEA,6CAA6C;AAC7C,yDAAyD;AACzD;EACE,qDAAqD;EACrD,eAAe;EACf,mBAAmB;AACrB;AACA;EACE,6BAA6B;AAC/B;;AAEA,gCAAgC;AAChC,yDAAyD;AACzD;EACE,uCAAuC;EACvC,eAAe;EACf,mBAAmB;EACnB,UAAU;EACV,cAAc;EACd,sBAAsB;AACxB;AACA;EACE,yBAAyB;AAC3B;;AAEA;EACE,yBAAyB;AAC3B;;AAEA;EACE,yBAAyB;AAC3B;;AAEA,yBAAyB;AACzB,yDAAyD;AACzD;EACE,qDAAqD;EACrD,eAAe;EACf,mBAAmB;AACrB;AACA;EACE,6BAA6B;AAC/B;;AAEA;EACE,gBAAgB;AAClB;;AAEA;;;;;EAKE,oBAAoB;EACpB,mBAAmB;EACnB,sBAAsB;AACxB;;AAEA;;;;;EAKE,oBAAoB;EACpB,mBAAmB;EACnB,sBAAsB;EACtB,OAAO;EACP,YAAY;AACd;;AAEA;;EAEE,gBAAgB;EAChB,wBAAwB;EACxB,mCAAmC;EACnC,8BAA8B;EAC9B,8BAA8B;EAC9B,6BAA6B;EAC7B,+BAA+B;EAC/B,WAAW;EACX,sBAAsB;EACtB,6BAA6B;EAC7B,yBAAyB;EACzB,0BAA0B;AAC5B;;AAEA,gFAAgF;AAChF;EACE,8BAA8B;AAChC;;AAEA,mDAAmD;AACnD;EACE,uBAAuB;AACzB;;AAEA;EACE,+BAA+B;EAC/B,8BAA8B;AAChC;;AAEA,2FAA2F;AAC3F;EACE,uBAAuB;AACzB;;AAEA;EACE,8BAA8B;AAChC;;AAEA;EACE,sBAAsB;AACxB;;AAEA;;EAEE,oBAAoB;AACtB;;AAEA;EACE,wBAAwB;AAC1B;;AAEA;EACE,WAAW;EACX,yBAAyB;EACzB,0BAA0B;AAC5B;;AAEA;;;;;;;EAOE,oDAAoD;EACpD,mBAAmB;EACnB,aAAa;EACb,qCAAqC;AACvC;;AAEA;EACE,uBAAuB;AACzB",sourcesContent:['/* this overrides a style coming from contacts-pane*/\n.profile-form .individualPane {\n box-shadow: none !important;\n}\n\n/* Vertically center autocomplete input in .formFieldValue */\n.profile-form .formFieldValue > div[style*="flex-direction: row"] {\n align-items: center;\n display: flex;\n}\n\n.profile-form .formFieldValue input[data-testid="autocomplete-input"] {\n vertical-align: middle;\n}\n/* Solid-UI form sizing fixes scoped to Edit CV section */\n.profile-form .hoverControl:not(:has(> img:first-child)) {\n border: 0.1em solid rgb(136, 136, 136) !important;\n}\n\n.profile-form .hoverControl:has(> img:first-child) {\n background-color: transparent !important;\n border: none !important;\n margin: 0 !important;\n border-radius: 0 !important;\n padding: 0.7em !important;\n min-height: var(--min-touch-target);\n min-width: var(--min-touch-target);\n cursor: pointer;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n}\n\n.profile-form .hoverControlHide {\n width: 1.5em !important;\n height: 1.5em !important;\n display: block;\n margin-top: 0 !important;\n margin-left: 0 !important;\n margin-right: 0 !important;\n margin-bottom: 0.3em !important;\n}\n\n.profile-form .hoverControl:has(> img:first-child) > span {\n display: inline-flex;\n align-items: center;\n margin-left: 0.3em;\n}\n\n.profile-form div[style*="padding: 0.5em"]:has(> img) {\n display: inline-flex;\n align-items: center;\n}\n\n.profile-form div[style*="padding: 0.5em"]:has(> img) > span {\n margin-left: 0.3em;\n}\n\n.profile-form .hoverControl:has(> img:first-child):hover {\n background-color: transparent !important;\n}\n\n.profile-form button:has(> img[src$=".svg"]) {\n background-color: transparent !important;\n border: none !important;\n margin: 0 !important;\n border-radius: 0 !important;\n}\n\n.profile-form button {\n min-height: var(--min-touch-target);\n min-width: var(--min-touch-target);\n}\n\n.profile-form input:not([type="color"]),\n.profile-form textarea,\n.profile-form select {\n max-width: 100%;\n min-width: 0;\n box-sizing: border-box ;\n font: inherit;\n color: var(--color-text);\n background-color: var(--color-card-bg) !important;\n border: 1px solid var(--color-border-pale);\n}\n\n.profile-form textarea {\n border-color: var(--color-border-pale) !important;\n}\n\n.profile-form input[type="date"],\n.profile-form input[type="month"],\n.profile-form input[type="week"],\n.profile-form input[type="time"],\n.profile-form input[type="datetime-local"] {\n min-height: var(--min-touch-target);\n}\n\n.profile-form .hoverControl:has(> img:first-child):focus-visible,\n.profile-form button:focus-visible,\n.profile-form input:not([type="color"]):focus-visible,\n.profile-form textarea:focus-visible,\n.profile-form select:focus-visible {\n outline: var(--focus-ring-width) solid var(--color-primary) !important;\n outline-offset: 2px;\n box-shadow: 0 0 0 1px var(--color-background);\n}\n\n.profile-form input[type="url"] {\n width: 100%;\n}\n\n.profile-form .formFieldValue {\n min-width: 0;\n margin-bottom: var(--spacing-sm);\n}\n\n.profile-form .formFieldValue table {\n margin: 0 !important;\n padding: 0 !important;\n}\n\n.profile-form .formFieldValue td {\n padding: 0 !important;\n vertical-align: middle;\n}\n\n.profile-form .formFieldValue table[data-testid="autocomplete-table"] {\n height: 100%;\n}\n\n.profile-form .formFieldValue input:not([type="color"]),\n.profile-form .formFieldValue textarea,\n.profile-form .formFieldValue select {\n width: 100%;\n max-width: 100%;\n}\n\n.profile-form select#formSelect {\n width: 100%;\n max-width: 97%;\n box-sizing: border-box;\n margin-left: 0 !important;\n margin-right: 0 !important;\n}\n\n.profile-form .formFieldValue span select {\n margin-left: 0 !important;\n margin-right: 0 !important;\n}\n\n/* Remove border/padding from the first wrapper div (and its first child wrapper). */\n.profile-form > div:first-of-type,\n.profile-form > div:first-of-type > div:first-of-type {\n border: none !important;\n padding: 0 !important;\n}\n\n/* Remove border/padding from the inner div of the first wrapper in the contact section. */\nsection[aria-labelledby="edit-profile-contact-heading"] .profile-form > div:first-of-type > div:first-of-type {\n border: none !important;\n padding: 0 !important;\n}\n\n/* In contactPane, remove border/padding from all direct child divs. */\n.contactPane > div {\n border: none !important;\n padding: 0 !important;\n}\n\n/* Align schema.org, solid terms, FOAF, vCard, and org field labels with their input values. */\n.profile-form :not(.choiceBox):has(> .formFieldName):has(> .formFieldValue) {\n display: flex;\n margin-bottom: var(--spacing-sm);\n}\n\n/* for the Resume inside corporation choice */\n/* Add space between classifierBox label and select box */\n.profile-form .choiceBox .classifierBox-label {\n /* Optional: ensure label doesn\'t have extra margin */\n margin-right: 0;\n padding-left: 0.3em;\n}\n.profile-form .choiceBox .choiceBox-selectBox select {\n margin-left: 2.1em !important;\n}\n\n/* for the Resume orga details */\n/* Add space between classifierBox label and select box */\n.profile-form .classifierBox .classifierBox-label {\n /* Match .formFieldName for alignment */\n margin-right: 0;\n padding-left: 0.3em;\n width: 8em;\n padding: 0.3em;\n vertical-align: middle;\n}\n.profile-form .classifierBox .classifierBox-selectBox {\n margin-left: 0 !important;\n}\n\n.profile-form .classifierBox .classifierBox-selectBox select {\n margin-left: 0 !important;\n}\n\n.profile-form .formFieldValue > span > select {\n margin-left: 0 !important;\n}\n\n/* for the social media */\n/* Add space between classifierBox label and select box */\nsection[data-testid="edit-social-section"] .classifierBox-label {\n /* Optional: ensure label doesn\'t have extra margin */\n margin-right: 0;\n padding-left: 0.3em;\n}\nsection[data-testid="edit-social-section"] .classifierBox-selectBox select {\n margin-left: 0.7em !important;\n}\n\n.profile-form :not(.choiceBox):has(> .formFieldName):has(> .formFieldValue) > .formFieldValue {\n margin-bottom: 0;\n}\n\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*="http://schema.org/"]),\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/ns/solid/terms#"]),\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*="http://xmlns.com/foaf/0.1/"]),\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/2006/vcard/ns"]),\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/ns/org#"]) {\n display: inline-flex;\n align-items: center;\n vertical-align: middle;\n}\n\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*="http://schema.org/"]) + .formFieldValue,\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/ns/solid/terms#"]) + .formFieldValue,\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*="http://xmlns.com/foaf/0.1/"]) + .formFieldValue,\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/2006/vcard/ns"]) + .formFieldValue,\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/ns/org#"]) + .formFieldValue {\n display: inline-flex;\n align-items: center;\n vertical-align: middle;\n flex: 1;\n min-width: 0;\n}\n\n.profile-form textarea,\n.profile-form .formFieldValue textarea {\n appearance: none;\n -webkit-appearance: none;\n border: .05em solid #88c !important;\n border-style: solid !important;\n border-width: .05em !important;\n border-color: #88c !important;\n border-radius: 0.2em !important;\n width: 100%;\n box-sizing: border-box;\n margin-top: var(--spacing-xs);\n margin-left: 0 !important;\n margin-right: 0 !important;\n}\n\n/* Add horizontal gap between label and textarea for all label+textarea pairs. */\n.profile-form div:has(> a) + div:has(textarea) {\n margin-left: var(--spacing-sm);\n}\n\n/* Center textarea label vertically in flex rows. */\n.profile-form div[style*="display: flex"][style*="flex-direction: row"]:has(textarea) {\n align-items: flex-start;\n}\n\n.profile-form div[style*="display: flex"][style*="flex-direction: row"]:has(textarea) > div:has(> a) {\n padding-left: var(--spacing-xs);\n padding-top: var(--spacing-sm);\n}\n\n/* Keep autocomplete/table-based fields (e.g. Occupation) aligned to label text baseline. */\n.profile-form :not(.choiceBox):has(> .formFieldValue input[data-testid="autocomplete-input"]) {\n align-items: flex-start;\n}\n\n.profile-form :not(.choiceBox):has(> .formFieldValue input[data-testid="autocomplete-input"]) > .formFieldName {\n padding-top: 0.55em !important;\n}\n\n.profile-form .formFieldValue:has(input[data-testid="autocomplete-input"]) {\n align-self: flex-start;\n}\n\n.profile-form .formFieldValue table[data-testid="autocomplete-table"],\n.profile-form .formFieldValue input[data-testid="autocomplete-input"] {\n margin: 0 !important;\n}\n\n.profile-form .formFieldValue table[data-testid="autocomplete-table"] {\n vertical-align: baseline;\n}\n\n.profile-form input:not([type="color"]) {\n width: 100%;\n margin-left: 0 !important;\n margin-right: 0 !important;\n}\n\n.profile-form input:disabled,\n.profile-form textarea:disabled,\n.profile-form select:disabled,\n.profile-form input[readonly],\n.profile-form textarea[readonly],\n.profile-form input:read-only,\n.profile-form textarea:read-only {\n background-color: var(--color-background) !important;\n cursor: not-allowed;\n opacity: 0.75;\n border: 0.05em solid white !important;\n}\n\n.webidControl table td div.contactPane.namedPane {\n border: none !important;\n}\n'],sourceRoot:""}]);const s=r},6723(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(1354),i=t.n(a),o=t(6314),r=t.n(o)()(i());r.push([e.id,'/* Utility-first CSS classes for layout, spacing, and responsiveness */\n\n.actionButton {\n width: 100%;\n min-width: 180px;\n max-width: 320px;\n box-sizing: border-box;\n display: inline-block;\n}\n\n/* ===========================================\n PROFILE GRID LAYOUT\n =========================================== */\n\n.profile-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(30em, 1fr));\n gap: var(--spacing-lg);\n background: var(--color-background);\n}\n\n.profile-header,\n.profile-footer {\n grid-column: 1 / -1;\n}\n\n.center {\n justify-content: center;\n align-items: center;\n}\n\n.flex {\n display: flex;\n}\n.grid {\n display: grid;\n}\n\n/* Spacing utilities using CSS variables */\n.gap-xs { gap: var(--spacing-xs); }\n.gap-sm { gap: var(--spacing-sm); }\n.gap-md { gap: var(--spacing-md); }\n.gap-lg { gap: var(--spacing-lg); }\n.gap-xl { gap: var(--spacing-xl); }\n\n.mt-xs { margin-top: var(--spacing-xs); }\n.mt-sm { margin-top: var(--spacing-sm); }\n.mt-md { margin-top: var(--spacing-md); }\n.mt-lg { margin-top: var(--spacing-lg); }\n\n.mb-xs { margin-bottom: var(--spacing-xs); }\n.mb-sm { margin-bottom: var(--spacing-sm); }\n.mb-md { margin-bottom: var(--spacing-md); }\n.mb-lg { margin-bottom: var(--spacing-lg); }\n\n.p-xs { padding: var(--spacing-xs); }\n.p-sm { padding: var(--spacing-sm); }\n.p-md { padding: var(--spacing-md); }\n.p-lg { padding: var(--spacing-lg); }\n\n.rounded { border-radius: var(--border-radius-full); }\n.rounded-sm { border-radius: var(--border-radius-base); }\n\n.shadow { box-shadow: var(--box-shadow); }\n.shadow-sm { box-shadow: var(--box-shadow-sm); }\n\n.bg-primary {\n background: var(--color-primary);\n color: #fff;\n}\n.bg-card {\n background: var(--color-card-bg);\n}\n\n/* Accessibility utilities */\n.sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border: 0;\n}\n\n.min-touch-target {\n min-height: var(--min-touch-target);\n min-width: var(--min-touch-target);\n}\n\n/* Enhanced accessibility utilities */\n.visually-hidden {\n position: absolute !important;\n width: 1px !important;\n height: 1px !important;\n padding: 0 !important;\n margin: -1px !important;\n overflow: hidden !important;\n clip: rect(0, 0, 0, 0) !important;\n white-space: nowrap !important;\n border: 0 !important;\n}\n\n.visually-hidden.focusable:focus,\n.visually-hidden.focusable:active {\n position: static !important;\n width: auto !important;\n height: auto !important;\n padding: inherit !important;\n margin: inherit !important;\n overflow: visible !important;\n clip: auto !important;\n white-space: inherit !important;\n}\n\n/* Skip links utility */\n.skip-links {\n position: absolute;\n top: -100px;\n left: 0;\n z-index: 1000;\n}\n\n.skip-links a {\n position: absolute;\n left: 6px;\n top: 6px;\n padding: var(--spacing-sm);\n background: var(--color-primary);\n color: white;\n text-decoration: none;\n border-radius: var(--border-radius-base);\n}\n\n.skip-links a:focus {\n top: 6px;\n}\n\n.reduced-motion {\n animation: none !important;\n transition: none !important;\n}\n\n/* Focus management */\n.focus-ring {\n outline: 2px solid var(--color-primary);\n outline-offset: 2px;\n}\n\n.no-focus-ring {\n outline: none;\n}\n\n.no-focus-ring:focus-visible {\n outline: none;\n box-shadow: none;\n}\n\n/* ARIA live regions */\n.live-region {\n position: absolute;\n left: -10000px;\n width: 1px;\n height: 1px;\n overflow: hidden;\n}\n\n/* Note: Use aria-live="polite" or aria-live="assertive" HTML attributes with .live-region */\n\n/* Text scaling utilities */\n.text-scale-friendly {\n line-height: 1.5;\n max-width: 70ch; /* Optimal reading length */\n}\n\n/* Text accessibility utilities */\n.text-readable {\n line-height: var(--line-height-base);\n max-width: 65ch;\n}\n\n.text-lg {\n font-size: var(--font-size-lg);\n line-height: var(--line-height-base);\n}\n\n.text-small {\n font-size: max(var(--font-size-sm), var(--min-font-size));\n line-height: var(--min-line-height);\n}\n\n.text-contrast-high {\n color: var(--color-text);\n font-weight: 600;\n}\n\n:focus-visible {\n outline: var(--focus-ring-width) solid var(--color-primary);\n outline-offset: 2px;\n box-shadow: 0 0 0 1px var(--color-background);\n}\n\n:focus:not(:focus-visible) {\n outline: none;\n box-shadow: none;\n}\n\n/* Better focus for text elements */\n.focusable-text:focus {\n background-color: rgba(124, 77, 255, 0.1);\n outline: 2px solid var(--color-primary);\n outline-offset: 2px;\n border-radius: 2px;\n}\n\n/* High contrast text */\n.high-contrast {\n color: var(--color-text);\n background: var(--color-background);\n border: 1px solid var(--color-border-pale);\n}\n\n/* ===========================================\n CONSOLIDATED COMPONENT PATTERNS\n =========================================== */\n\n/* Primary Button - used by ChatWithMe, ProfileCard */\n.btn-primary {\n min-height: var(--min-touch-target);\n padding: var(--spacing-sm) var(--spacing-md);\n border: 1px solid var(--color-primary);\n border-radius: var(--border-radius-base);\n background: var(--color-primary);\n color: white;\n font-weight: 600;\n cursor: pointer;\n transition: all var(--animation-duration) ease;\n}\n\n.btn-primary:hover {\n background: color-mix(in srgb, var(--color-primary) 90%, black);\n box-shadow: 0 2px 4px rgba(124, 77, 255, 0.2);\n}\n\n.btn-primary:active {\n box-shadow: 0 1px 2px rgba(124, 77, 255, 0.2);\n}\n\n.btn-primary:disabled {\n opacity: 0.6;\n cursor: not-allowed;\n transform: none;\n}\n\n/* Action Button Focus - used by ChatWithMe, ProfileCard */\n.action-button-focus:focus,\n.action-button-focus:focus-visible {\n outline: 3px solid var(--color-primary) !important;\n outline-offset: 2px !important;\n box-shadow: 0 0 0 2px var(--color-background), 0 0 0 5px rgba(124, 77, 255, 0.25) !important;\n z-index: 1;\n}\n\n/* List Reset - used by FriendList, SocialCard, nav */\n.list-reset {\n list-style: none;\n padding: 0;\n margin: 0;\n}\n\n/* Zebra Striping - used by FriendList, StuffCard tables */\n.zebra-stripe tr:nth-child(even),\n.zebra-stripe > *:nth-child(even) {\n background-color: rgba(0, 0, 0, 0.02);\n}\n\n/* Section Title - primary colored heading */\n.section-title {\n font-size: 1.25em;\n font-weight: 600;\n color: var(--color-primary);\n margin: 0;\n}\n\n/* Text Overflow - used by ProfileCard, SocialCard */\n.text-truncate {\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n\n.text-wrap-anywhere {\n overflow-wrap: anywhere;\n word-break: break-word;\n}\n\n/* Loading Text - primary colored centered loading indicator */\n.loading-text {\n color: var(--color-primary);\n text-align: center;\n margin: var(--spacing-md) 0;\n}\n\n/* Centered Section - flex column with center alignment */\n.section-centered {\n display: flex;\n flex-direction: column;\n align-items: center;\n}\n\n/* Card Section Background */\n.section-bg {\n background: var(--color-section-bg);\n border-radius: var(--border-radius-full);\n box-shadow: var(--box-shadow);\n padding: var(--spacing-md);\n}\n\n\n/* Transparent button override (for solid-ui integration) */\n.btn-transparent {\n background-color: transparent;\n}\n\n.btn-transparent:hover {\n background-color: transparent;\n}\n',"",{version:3,sources:["webpack://./node_modules/profile-pane/lib/styles/utilities.css"],names:[],mappings:"AAAA,sEAAsE;;AAEtE;EACE,WAAW;EACX,gBAAgB;EAChB,gBAAgB;EAChB,sBAAsB;EACtB,qBAAqB;AACvB;;AAEA;;gDAEgD;;AAEhD;EACE,aAAa;EACb,0DAA0D;EAC1D,sBAAsB;EACtB,mCAAmC;AACrC;;AAEA;;EAEE,mBAAmB;AACrB;;AAEA;EACE,uBAAuB;EACvB,mBAAmB;AACrB;;AAEA;EACE,aAAa;AACf;AACA;EACE,aAAa;AACf;;AAEA,0CAA0C;AAC1C,UAAU,sBAAsB,EAAE;AAClC,UAAU,sBAAsB,EAAE;AAClC,UAAU,sBAAsB,EAAE;AAClC,UAAU,sBAAsB,EAAE;AAClC,UAAU,sBAAsB,EAAE;;AAElC,SAAS,6BAA6B,EAAE;AACxC,SAAS,6BAA6B,EAAE;AACxC,SAAS,6BAA6B,EAAE;AACxC,SAAS,6BAA6B,EAAE;;AAExC,SAAS,gCAAgC,EAAE;AAC3C,SAAS,gCAAgC,EAAE;AAC3C,SAAS,gCAAgC,EAAE;AAC3C,SAAS,gCAAgC,EAAE;;AAE3C,QAAQ,0BAA0B,EAAE;AACpC,QAAQ,0BAA0B,EAAE;AACpC,QAAQ,0BAA0B,EAAE;AACpC,QAAQ,0BAA0B,EAAE;;AAEpC,WAAW,wCAAwC,EAAE;AACrD,cAAc,wCAAwC,EAAE;;AAExD,UAAU,6BAA6B,EAAE;AACzC,aAAa,gCAAgC,EAAE;;AAE/C;EACE,gCAAgC;EAChC,WAAW;AACb;AACA;EACE,gCAAgC;AAClC;;AAEA,4BAA4B;AAC5B;EACE,kBAAkB;EAClB,UAAU;EACV,WAAW;EACX,UAAU;EACV,YAAY;EACZ,gBAAgB;EAChB,sBAAsB;EACtB,mBAAmB;EACnB,SAAS;AACX;;AAEA;EACE,mCAAmC;EACnC,kCAAkC;AACpC;;AAEA,qCAAqC;AACrC;EACE,6BAA6B;EAC7B,qBAAqB;EACrB,sBAAsB;EACtB,qBAAqB;EACrB,uBAAuB;EACvB,2BAA2B;EAC3B,iCAAiC;EACjC,8BAA8B;EAC9B,oBAAoB;AACtB;;AAEA;;EAEE,2BAA2B;EAC3B,sBAAsB;EACtB,uBAAuB;EACvB,2BAA2B;EAC3B,0BAA0B;EAC1B,4BAA4B;EAC5B,qBAAqB;EACrB,+BAA+B;AACjC;;AAEA,uBAAuB;AACvB;EACE,kBAAkB;EAClB,WAAW;EACX,OAAO;EACP,aAAa;AACf;;AAEA;EACE,kBAAkB;EAClB,SAAS;EACT,QAAQ;EACR,0BAA0B;EAC1B,gCAAgC;EAChC,YAAY;EACZ,qBAAqB;EACrB,wCAAwC;AAC1C;;AAEA;EACE,QAAQ;AACV;;AAEA;EACE,0BAA0B;EAC1B,2BAA2B;AAC7B;;AAEA,qBAAqB;AACrB;EACE,uCAAuC;EACvC,mBAAmB;AACrB;;AAEA;EACE,aAAa;AACf;;AAEA;EACE,aAAa;EACb,gBAAgB;AAClB;;AAEA,sBAAsB;AACtB;EACE,kBAAkB;EAClB,cAAc;EACd,UAAU;EACV,WAAW;EACX,gBAAgB;AAClB;;AAEA,4FAA4F;;AAE5F,2BAA2B;AAC3B;EACE,gBAAgB;EAChB,eAAe,EAAE,2BAA2B;AAC9C;;AAEA,iCAAiC;AACjC;EACE,oCAAoC;EACpC,eAAe;AACjB;;AAEA;EACE,8BAA8B;EAC9B,oCAAoC;AACtC;;AAEA;EACE,yDAAyD;EACzD,mCAAmC;AACrC;;AAEA;EACE,wBAAwB;EACxB,gBAAgB;AAClB;;AAEA;EACE,2DAA2D;EAC3D,mBAAmB;EACnB,6CAA6C;AAC/C;;AAEA;EACE,aAAa;EACb,gBAAgB;AAClB;;AAEA,mCAAmC;AACnC;EACE,yCAAyC;EACzC,uCAAuC;EACvC,mBAAmB;EACnB,kBAAkB;AACpB;;AAEA,uBAAuB;AACvB;EACE,wBAAwB;EACxB,mCAAmC;EACnC,0CAA0C;AAC5C;;AAEA;;gDAEgD;;AAEhD,qDAAqD;AACrD;EACE,mCAAmC;EACnC,4CAA4C;EAC5C,sCAAsC;EACtC,wCAAwC;EACxC,gCAAgC;EAChC,YAAY;EACZ,gBAAgB;EAChB,eAAe;EACf,8CAA8C;AAChD;;AAEA;EACE,+DAA+D;EAC/D,6CAA6C;AAC/C;;AAEA;EACE,6CAA6C;AAC/C;;AAEA;EACE,YAAY;EACZ,mBAAmB;EACnB,eAAe;AACjB;;AAEA,0DAA0D;AAC1D;;EAEE,kDAAkD;EAClD,8BAA8B;EAC9B,4FAA4F;EAC5F,UAAU;AACZ;;AAEA,qDAAqD;AACrD;EACE,gBAAgB;EAChB,UAAU;EACV,SAAS;AACX;;AAEA,0DAA0D;AAC1D;;EAEE,qCAAqC;AACvC;;AAEA,4CAA4C;AAC5C;EACE,iBAAiB;EACjB,gBAAgB;EAChB,2BAA2B;EAC3B,SAAS;AACX;;AAEA,oDAAoD;AACpD;EACE,mBAAmB;EACnB,uBAAuB;EACvB,gBAAgB;AAClB;;AAEA;EACE,uBAAuB;EACvB,sBAAsB;AACxB;;AAEA,8DAA8D;AAC9D;EACE,2BAA2B;EAC3B,kBAAkB;EAClB,2BAA2B;AAC7B;;AAEA,yDAAyD;AACzD;EACE,aAAa;EACb,sBAAsB;EACtB,mBAAmB;AACrB;;AAEA,4BAA4B;AAC5B;EACE,mCAAmC;EACnC,wCAAwC;EACxC,6BAA6B;EAC7B,0BAA0B;AAC5B;;;AAGA,2DAA2D;AAC3D;EACE,6BAA6B;AAC/B;;AAEA;EACE,6BAA6B;AAC/B",sourcesContent:['/* Utility-first CSS classes for layout, spacing, and responsiveness */\n\n.actionButton {\n width: 100%;\n min-width: 180px;\n max-width: 320px;\n box-sizing: border-box;\n display: inline-block;\n}\n\n/* ===========================================\n PROFILE GRID LAYOUT\n =========================================== */\n\n.profile-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(30em, 1fr));\n gap: var(--spacing-lg);\n background: var(--color-background);\n}\n\n.profile-header,\n.profile-footer {\n grid-column: 1 / -1;\n}\n\n.center {\n justify-content: center;\n align-items: center;\n}\n\n.flex {\n display: flex;\n}\n.grid {\n display: grid;\n}\n\n/* Spacing utilities using CSS variables */\n.gap-xs { gap: var(--spacing-xs); }\n.gap-sm { gap: var(--spacing-sm); }\n.gap-md { gap: var(--spacing-md); }\n.gap-lg { gap: var(--spacing-lg); }\n.gap-xl { gap: var(--spacing-xl); }\n\n.mt-xs { margin-top: var(--spacing-xs); }\n.mt-sm { margin-top: var(--spacing-sm); }\n.mt-md { margin-top: var(--spacing-md); }\n.mt-lg { margin-top: var(--spacing-lg); }\n\n.mb-xs { margin-bottom: var(--spacing-xs); }\n.mb-sm { margin-bottom: var(--spacing-sm); }\n.mb-md { margin-bottom: var(--spacing-md); }\n.mb-lg { margin-bottom: var(--spacing-lg); }\n\n.p-xs { padding: var(--spacing-xs); }\n.p-sm { padding: var(--spacing-sm); }\n.p-md { padding: var(--spacing-md); }\n.p-lg { padding: var(--spacing-lg); }\n\n.rounded { border-radius: var(--border-radius-full); }\n.rounded-sm { border-radius: var(--border-radius-base); }\n\n.shadow { box-shadow: var(--box-shadow); }\n.shadow-sm { box-shadow: var(--box-shadow-sm); }\n\n.bg-primary {\n background: var(--color-primary);\n color: #fff;\n}\n.bg-card {\n background: var(--color-card-bg);\n}\n\n/* Accessibility utilities */\n.sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border: 0;\n}\n\n.min-touch-target {\n min-height: var(--min-touch-target);\n min-width: var(--min-touch-target);\n}\n\n/* Enhanced accessibility utilities */\n.visually-hidden {\n position: absolute !important;\n width: 1px !important;\n height: 1px !important;\n padding: 0 !important;\n margin: -1px !important;\n overflow: hidden !important;\n clip: rect(0, 0, 0, 0) !important;\n white-space: nowrap !important;\n border: 0 !important;\n}\n\n.visually-hidden.focusable:focus,\n.visually-hidden.focusable:active {\n position: static !important;\n width: auto !important;\n height: auto !important;\n padding: inherit !important;\n margin: inherit !important;\n overflow: visible !important;\n clip: auto !important;\n white-space: inherit !important;\n}\n\n/* Skip links utility */\n.skip-links {\n position: absolute;\n top: -100px;\n left: 0;\n z-index: 1000;\n}\n\n.skip-links a {\n position: absolute;\n left: 6px;\n top: 6px;\n padding: var(--spacing-sm);\n background: var(--color-primary);\n color: white;\n text-decoration: none;\n border-radius: var(--border-radius-base);\n}\n\n.skip-links a:focus {\n top: 6px;\n}\n\n.reduced-motion {\n animation: none !important;\n transition: none !important;\n}\n\n/* Focus management */\n.focus-ring {\n outline: 2px solid var(--color-primary);\n outline-offset: 2px;\n}\n\n.no-focus-ring {\n outline: none;\n}\n\n.no-focus-ring:focus-visible {\n outline: none;\n box-shadow: none;\n}\n\n/* ARIA live regions */\n.live-region {\n position: absolute;\n left: -10000px;\n width: 1px;\n height: 1px;\n overflow: hidden;\n}\n\n/* Note: Use aria-live="polite" or aria-live="assertive" HTML attributes with .live-region */\n\n/* Text scaling utilities */\n.text-scale-friendly {\n line-height: 1.5;\n max-width: 70ch; /* Optimal reading length */\n}\n\n/* Text accessibility utilities */\n.text-readable {\n line-height: var(--line-height-base);\n max-width: 65ch;\n}\n\n.text-lg {\n font-size: var(--font-size-lg);\n line-height: var(--line-height-base);\n}\n\n.text-small {\n font-size: max(var(--font-size-sm), var(--min-font-size));\n line-height: var(--min-line-height);\n}\n\n.text-contrast-high {\n color: var(--color-text);\n font-weight: 600;\n}\n\n:focus-visible {\n outline: var(--focus-ring-width) solid var(--color-primary);\n outline-offset: 2px;\n box-shadow: 0 0 0 1px var(--color-background);\n}\n\n:focus:not(:focus-visible) {\n outline: none;\n box-shadow: none;\n}\n\n/* Better focus for text elements */\n.focusable-text:focus {\n background-color: rgba(124, 77, 255, 0.1);\n outline: 2px solid var(--color-primary);\n outline-offset: 2px;\n border-radius: 2px;\n}\n\n/* High contrast text */\n.high-contrast {\n color: var(--color-text);\n background: var(--color-background);\n border: 1px solid var(--color-border-pale);\n}\n\n/* ===========================================\n CONSOLIDATED COMPONENT PATTERNS\n =========================================== */\n\n/* Primary Button - used by ChatWithMe, ProfileCard */\n.btn-primary {\n min-height: var(--min-touch-target);\n padding: var(--spacing-sm) var(--spacing-md);\n border: 1px solid var(--color-primary);\n border-radius: var(--border-radius-base);\n background: var(--color-primary);\n color: white;\n font-weight: 600;\n cursor: pointer;\n transition: all var(--animation-duration) ease;\n}\n\n.btn-primary:hover {\n background: color-mix(in srgb, var(--color-primary) 90%, black);\n box-shadow: 0 2px 4px rgba(124, 77, 255, 0.2);\n}\n\n.btn-primary:active {\n box-shadow: 0 1px 2px rgba(124, 77, 255, 0.2);\n}\n\n.btn-primary:disabled {\n opacity: 0.6;\n cursor: not-allowed;\n transform: none;\n}\n\n/* Action Button Focus - used by ChatWithMe, ProfileCard */\n.action-button-focus:focus,\n.action-button-focus:focus-visible {\n outline: 3px solid var(--color-primary) !important;\n outline-offset: 2px !important;\n box-shadow: 0 0 0 2px var(--color-background), 0 0 0 5px rgba(124, 77, 255, 0.25) !important;\n z-index: 1;\n}\n\n/* List Reset - used by FriendList, SocialCard, nav */\n.list-reset {\n list-style: none;\n padding: 0;\n margin: 0;\n}\n\n/* Zebra Striping - used by FriendList, StuffCard tables */\n.zebra-stripe tr:nth-child(even),\n.zebra-stripe > *:nth-child(even) {\n background-color: rgba(0, 0, 0, 0.02);\n}\n\n/* Section Title - primary colored heading */\n.section-title {\n font-size: 1.25em;\n font-weight: 600;\n color: var(--color-primary);\n margin: 0;\n}\n\n/* Text Overflow - used by ProfileCard, SocialCard */\n.text-truncate {\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n\n.text-wrap-anywhere {\n overflow-wrap: anywhere;\n word-break: break-word;\n}\n\n/* Loading Text - primary colored centered loading indicator */\n.loading-text {\n color: var(--color-primary);\n text-align: center;\n margin: var(--spacing-md) 0;\n}\n\n/* Centered Section - flex column with center alignment */\n.section-centered {\n display: flex;\n flex-direction: column;\n align-items: center;\n}\n\n/* Card Section Background */\n.section-bg {\n background: var(--color-section-bg);\n border-radius: var(--border-radius-full);\n box-shadow: var(--box-shadow);\n padding: var(--spacing-md);\n}\n\n\n/* Transparent button override (for solid-ui integration) */\n.btn-transparent {\n background-color: transparent;\n}\n\n.btn-transparent:hover {\n background-color: transparent;\n}\n'],sourceRoot:""}]);const s=r},9405(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(1354),i=t.n(a),o=t(6314),r=t.n(o)()(i());r.push([e.id,"/* Styles extracted from manager.js */\n\n.obj {\n margin: 0.2em;\n border: none;\n padding: 0;\n vertical-align: top;\n}\n\n.pred, .pred.internal {\n /* Add any specific styles for predicate TDs here */\n}\n\n.iconTD {\n margin: 0.2em;\n border: none;\n padding: 0;\n vertical-align: top;\n width: 0px;\n}\n\n.labelTD {\n width: 100%;\n}\n\n.paneIconTray {\n display: flex;\n justify-content: flex-start;\n align-items: center;\n}\n\n.paneShown {\n width: 24px;\n border-radius: 0.5em;\n border-top: solid #222 1px;\n border-left: solid #222 0.1em;\n border-bottom: solid #eee 0.1em;\n border-right: solid #eee 0.1em;\n margin-left: 1em;\n padding: 3px;\n background-color: #ffd;\n}\n\n.paneHidden {\n width: 24px;\n border-radius: 0.5em;\n margin-left: 1em;\n padding: 3px;\n}\n\n.header {\n display: flex;\n justify-content: flex-start;\n align-items: center;\n flex-wrap: wrap;\n}\n\n.strongHeader {\n font-size: 150%;\n margin: 0 0.6em 0 0;\n padding: 0.1em 0.4em;\n}\n\n.tableFullWidth {\n width: 100%;\n}\n\n.placeholderTable {\n width: 100%;\n}\n\n.tdFlex {\n margin: 0.2em;\n border: none;\n padding: 0;\n vertical-align: top;\n display: flex;\n justify-content: space-between;\n flex-direction: row;\n}\n","",{version:3,sources:["webpack://./src/outline/manager.css"],names:[],mappings:"AAAA,qCAAqC;;AAErC;EACE,aAAa;EACb,YAAY;EACZ,UAAU;EACV,mBAAmB;AACrB;;AAEA;EACE,mDAAmD;AACrD;;AAEA;EACE,aAAa;EACb,YAAY;EACZ,UAAU;EACV,mBAAmB;EACnB,UAAU;AACZ;;AAEA;EACE,WAAW;AACb;;AAEA;EACE,aAAa;EACb,2BAA2B;EAC3B,mBAAmB;AACrB;;AAEA;EACE,WAAW;EACX,oBAAoB;EACpB,0BAA0B;EAC1B,6BAA6B;EAC7B,+BAA+B;EAC/B,8BAA8B;EAC9B,gBAAgB;EAChB,YAAY;EACZ,sBAAsB;AACxB;;AAEA;EACE,WAAW;EACX,oBAAoB;EACpB,gBAAgB;EAChB,YAAY;AACd;;AAEA;EACE,aAAa;EACb,2BAA2B;EAC3B,mBAAmB;EACnB,eAAe;AACjB;;AAEA;EACE,eAAe;EACf,mBAAmB;EACnB,oBAAoB;AACtB;;AAEA;EACE,WAAW;AACb;;AAEA;EACE,WAAW;AACb;;AAEA;EACE,aAAa;EACb,YAAY;EACZ,UAAU;EACV,mBAAmB;EACnB,aAAa;EACb,8BAA8B;EAC9B,mBAAmB;AACrB",sourcesContent:["/* Styles extracted from manager.js */\n\n.obj {\n margin: 0.2em;\n border: none;\n padding: 0;\n vertical-align: top;\n}\n\n.pred, .pred.internal {\n /* Add any specific styles for predicate TDs here */\n}\n\n.iconTD {\n margin: 0.2em;\n border: none;\n padding: 0;\n vertical-align: top;\n width: 0px;\n}\n\n.labelTD {\n width: 100%;\n}\n\n.paneIconTray {\n display: flex;\n justify-content: flex-start;\n align-items: center;\n}\n\n.paneShown {\n width: 24px;\n border-radius: 0.5em;\n border-top: solid #222 1px;\n border-left: solid #222 0.1em;\n border-bottom: solid #eee 0.1em;\n border-right: solid #eee 0.1em;\n margin-left: 1em;\n padding: 3px;\n background-color: #ffd;\n}\n\n.paneHidden {\n width: 24px;\n border-radius: 0.5em;\n margin-left: 1em;\n padding: 3px;\n}\n\n.header {\n display: flex;\n justify-content: flex-start;\n align-items: center;\n flex-wrap: wrap;\n}\n\n.strongHeader {\n font-size: 150%;\n margin: 0 0.6em 0 0;\n padding: 0.1em 0.4em;\n}\n\n.tableFullWidth {\n width: 100%;\n}\n\n.placeholderTable {\n width: 100%;\n}\n\n.tdFlex {\n margin: 0.2em;\n border: none;\n padding: 0;\n vertical-align: top;\n display: flex;\n justify-content: space-between;\n flex-direction: row;\n}\n"],sourceRoot:""}]);const s=r},6314(e){"use strict";e.exports=function(e){var n=[];return n.toString=function(){return this.map(function(n){var t="",a=void 0!==n[5];return n[4]&&(t+="@supports (".concat(n[4],") {")),n[2]&&(t+="@media ".concat(n[2]," {")),a&&(t+="@layer".concat(n[5].length>0?" ".concat(n[5]):""," {")),t+=e(n),a&&(t+="}"),n[2]&&(t+="}"),n[4]&&(t+="}"),t}).join("")},n.i=function(e,t,a,i,o){"string"==typeof e&&(e=[[null,e,void 0]]);var r={};if(a)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(r[l]=!0)}for(var c=0;c<e.length;c++){var u=[].concat(e[c]);a&&r[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),t&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=t):u[2]=t),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),n.push(u))}},n}},1354(e){"use strict";e.exports=function(e){var n=e[1],t=e[3];if(!t)return n;if("function"==typeof btoa){var a=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(a),o="/*# ".concat(i," */");return[n].concat([o]).join("\n")}return[n].join("\n")}},6320(e){"use strict";var n={single_source_shortest_paths:function(e,t,a){var i={},o={};o[t]=0;var r,s,l,c,u,d,p,f=n.PriorityQueue.make();for(f.push(t,0);!f.empty();)for(l in s=(r=f.pop()).value,c=r.cost,u=e[s]||{})u.hasOwnProperty(l)&&(d=c+u[l],p=o[l],(void 0===o[l]||p>d)&&(o[l]=d,f.push(l,d),i[l]=s));if(void 0!==a&&void 0===o[a]){var m=["Could not find a path from ",t," to ",a,"."].join("");throw new Error(m)}return i},extract_shortest_path_from_predecessor_list:function(e,n){for(var t=[],a=n;a;)t.push(a),e[a],a=e[a];return t.reverse(),t},find_path:function(e,t,a){var i=n.single_source_shortest_paths(e,t,a);return n.extract_shortest_path_from_predecessor_list(i,a)},PriorityQueue:{make:function(e){var t,a=n.PriorityQueue,i={};for(t in e=e||{},a)a.hasOwnProperty(t)&&(i[t]=a[t]);return i.queue=[],i.sorter=e.sorter||a.default_sorter,i},default_sorter:function(e,n){return e.cost-n.cost},push:function(e,n){var t={value:e,cost:n};this.queue.push(t),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};e.exports=n},4146(e,n,t){"use strict";var a=t(3404),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return a.isMemo(e)?r:s[e.$$typeof]||i}s[a.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[a.Memo]=r;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(n,t,a){if("string"!=typeof t){if(m){var i=f(t);i&&i!==m&&e(n,i,a)}var r=u(t);d&&(r=r.concat(d(t)));for(var s=l(n),h=l(t),g=0;g<r.length;++g){var b=r[g];if(!(o[b]||a&&a[b]||h&&h[b]||s&&s[b])){var v=p(t,b);try{c(n,b,v)}catch(e){}}}}return n}},3072(e,n){"use strict";var t="function"==typeof Symbol&&Symbol.for,a=t?Symbol.for("react.element"):60103,i=t?Symbol.for("react.portal"):60106,o=t?Symbol.for("react.fragment"):60107,r=t?Symbol.for("react.strict_mode"):60108,s=t?Symbol.for("react.profiler"):60114,l=t?Symbol.for("react.provider"):60109,c=t?Symbol.for("react.context"):60110,u=t?Symbol.for("react.async_mode"):60111,d=t?Symbol.for("react.concurrent_mode"):60111,p=t?Symbol.for("react.forward_ref"):60112,f=t?Symbol.for("react.suspense"):60113,m=t?Symbol.for("react.suspense_list"):60120,h=t?Symbol.for("react.memo"):60115,g=t?Symbol.for("react.lazy"):60116,b=t?Symbol.for("react.block"):60121,v=t?Symbol.for("react.fundamental"):60117,A=t?Symbol.for("react.responder"):60118,y=t?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var n=e.$$typeof;switch(n){case a:switch(e=e.type){case u:case d:case o:case s:case r:case f:return e;default:switch(e=e&&e.$$typeof){case c:case p:case g:case h:case l:return e;default:return n}}case i:return n}}}function x(e){return w(e)===d}n.AsyncMode=u,n.ConcurrentMode=d,n.ContextConsumer=c,n.ContextProvider=l,n.Element=a,n.ForwardRef=p,n.Fragment=o,n.Lazy=g,n.Memo=h,n.Portal=i,n.Profiler=s,n.StrictMode=r,n.Suspense=f,n.isAsyncMode=function(e){return x(e)||w(e)===u},n.isConcurrentMode=x,n.isContextConsumer=function(e){return w(e)===c},n.isContextProvider=function(e){return w(e)===l},n.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===a},n.isForwardRef=function(e){return w(e)===p},n.isFragment=function(e){return w(e)===o},n.isLazy=function(e){return w(e)===g},n.isMemo=function(e){return w(e)===h},n.isPortal=function(e){return w(e)===i},n.isProfiler=function(e){return w(e)===s},n.isStrictMode=function(e){return w(e)===r},n.isSuspense=function(e){return w(e)===f},n.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===s||e===r||e===f||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===h||e.$$typeof===l||e.$$typeof===c||e.$$typeof===p||e.$$typeof===v||e.$$typeof===A||e.$$typeof===y||e.$$typeof===b)},n.typeOf=w},3404(e,n,t){"use strict";e.exports=t(3072)},3931(e,n,t){var a,i,o;e.exports=(a=t(9426),i=t(5663),o=t(5491),(()=>{"use strict";var e={85:(e,n,t)=>{t.d(n,{board:()=>r});var a=t(426),i=t(663),o=t(264);function r(e,n,t,r){const s=e.createElement("div");s.style="width: 100%;",s.style.margin="1em";const l=s.appendChild(e.createElement("table"));l.style="width: 100%;",l.style.borderCollapse="collapse";const c=l.appendChild(e.createElement("tr")),u=l.appendChild(e.createElement("tr"));function d(n,t){const o=e.createElement("div"),r=o.appendChild(e.createElement("table")),s=i.store.each(n,a.ns.rdf("type")).map(e=>i.store.any(e,a.ns.ui("backgroundColor"))).filter(e=>e);r.appendChild(a.widgets.personTR(e,null,n)),r.subject=n,r.style="margin: 1em;";const l=s[0]||i.store.any(t,a.ns.ui("backgroundColor"));return o.style.backgroundColor=l?l.value:"#fff",o}function p(e,n,t,a){const o=e.map(e=>[i.store.any(e,n)||t,e]);return o.sort(),a&&o.reverse(),o.map(e=>e[1])}return n.forEach(n=>{const t=c.appendChild(e.createElement("th"));t.textContent=a.utils.label(n,!0),t.subject=n,t.style="margin: 0.3em; padding: 0.5em 1em; font-treatment: bold; font-size: 120%;";const o=u.appendChild(e.createElement("td"));o.subject=n,o.style="border: 0.01em solid white; padding: 0.1em;",r.columnDropHandler&&a.widgets.makeDropTarget(o,function(e){e.forEach(function(e){console.log("Dropped on column: "+e);const t=i.store.sym(e);r.columnDropHandler(t,n)})})}),s.refresh=function(){const e=new o.Literal(new Date),n=t||r.renderItem||d;function s(e){const t=n(e);return a.widgets.makeDraggable(t,e),t.subject=e,t}for(let n=u.firstChild;n;n=n.nextSibling){const t=n.subject;let o=i.store.each(null,a.ns.rdf("type"),t);const l=r.sortBy||a.ns.dct("created");r.filter&&(o=o.filter(r.filter));const c=p(o,l,e,!0);a.utils.syncTableToArrayReOrdered(n,c,s)}},s.refresh(),s}},178:(e,n,t)=>{t.d(n,{exposeOverlay:()=>m,getState:()=>d,renderIssue:()=>g,renderIssueCard:()=>f});var a=t(426),i=t(663),o=t(324),r=t(264);const s=i.store,l=!1,c=a.icons.iconBase+"noun_17020_gray-tick.svg",u=(a.icons.iconBase,a.icons.iconBase+"noun_17020.svg");function d(e,n){const t=s.the(e,a.ns.wf("tracker"),null,e.doc()),i=s.any(t,a.ns.wf("issueClass"));n=n||i;const o=s.each(e,a.ns.rdf("type")).filter(e=>s.holds(e,a.ns.rdfs("subClassOf"),n));if(1!==o.length)throw new Error("Issue must have one type as state: "+o.length);return o[0]}function p(e){const n=s.each(e,a.ns.rdf("type")).map(e=>s.any(e,a.ns.ui("backgroundColor"))).filter(e=>!!e);return n.length?n[0].value:null}function f(e,n){function t(){const n=p(e)||"white";r.style.backgroundColor=n,u.style.backgroundColor=n}const i=n.dom,o=!p(e),r=i.createElement("div"),l=r.appendChild(i.createElement("table"));l.style.width="100%",l.appendChild(a.widgets.personTR(i,null,e,{draggable:!1})),l.subject=e,r.style="border-radius: 0.4em; border: 0.05em solid grey; margin: 0.3em;",r.firstChild.firstChild.firstChild.firstChild.setAttribute("src",a.icons.iconBase+"noun_Danger_1259514.svg");const c=r.firstChild.firstChild.children[2],u=a.widgets.button(i,a.icons.iconBase+"noun_253504.svg","edit",async t=>{m(e,n)}),d=u.firstChild;if(d.style.width=d.style.height="1.5em",c.appendChild(u),o){const t=a.widgets.deleteButtonWithCheck(i,c,"issue",async function(){try{await s.updater.update(s.connectedStatements(e))}catch(e){!function(e,n){console.warn(e),n.paneDiv.appendChild(a.widgets.errorMessageBlock(n.dom,e))}(`Unable to delete issue: ${e}`,n)}console.log("User deleted issue "+e),r.parentNode.removeChild(r),a.widgets.refreshTree(n.paneDiv)});c.appendChild(t)}return r.style.maxWidth="24em",r.refresh=t,t(),r}function m(e,n){const t=n.overlay;t.innerHTML="";const i=t.appendChild(a.widgets.button(n.dom,a.icons.iconBase+"noun_1180156.svg","close",function(){t.innerHTML="",t.style.visibility="hidden"}));i.style.float="right",i.style.margin="0.7em",delete i.style.backgroundColor,t.style.visibility="visible",t.appendChild(g(e,n)),t.firstChild.style.overflow="auto"}function h(e,n){const t=e.createElement("div");return t.setAttribute("style","height: 1em; margin: 0.5em;"),t.style.backgroundColor=n,t}function g(e,n){function t(n,t,i){if(l){if(!g(v,"trackLastModified"))return;const n=t.statementsMatching(e,a.ns.dct("modified")).concat(t.statementsMatching(e,a.ns.wf("modifiedBy"))),o=[r.st(e,a.ns.dct("modified"),new Date,i)];x&&o.push(r.st(e,a.ns.wf("modifiedBy"),x,i)),t.updater.update(n,o,function(e,n,t){})}}function d(e,n){const t=b.createElement("pre");return t.setAttribute("style",n||"color: grey"),w.appendChild(t),t.appendChild(b.createTextNode(e)),t}function f(e){console.warn(e),w.appendChild(a.widgets.errorMessageBlock(b,e))}function m(e,n){e||f("Sorry, failed to save your change:\n"+n)}function g(e,n){const t=s.any(e,a.ns.ui(n));return!(!t||!t.value)}const b=n.dom,v=s.the(e,a.ns.wf("tracker"),null,e.doc());if(!v)throw new Error("No tracker");const A=s.any(v,a.ns.wf("stateStore")),y=e.doc(),w=b.createElement("div"),x=i.authn.currentUser(),C=p(e)||"white";!function(){const n="padding: 0.5em 1.5em 1em 1.5em; border: 0.7em;border-color: "+(p(e)||"#eee")+"; ";w.setAttribute("style",n),w.style.backgroundColor="white"}(),i.authn.checkUser();const E=w.appendChild(a.widgets.button(b,function(e){return function(e){return!!s.findTypeURIs(e)[a.ns.wf("Open").uri]}(e)?c:u}(e)));a.widgets.makeDraggable(E,e);const k=s.any(v,a.ns.wf("issueClass"));if(!k)throw new Error("This tracker "+v+" has no issueClass");const B=a.widgets.makeSelectForCategory(b,s,e,k,A,function(e,n){e?(t(0,s,y),a.widgets.refreshTree(w)):console.log("Failed to change state:\n"+n)});w.appendChild(B);const S=s.each(v,a.ns.wf("issueCategory"));for(const n of S)w.appendChild(a.widgets.makeSelectForCategory(b,s,e,n,A,function(e,n){e?(t(0,s,y),a.widgets.refreshTree(w)):console.log("Failed to change category:\n"+n)}));const T=b.createElement("a");T.setAttribute("href",v.uri),T.setAttribute("style","float:right"),w.appendChild(T).textContent=a.utils.label(v),T.addEventListener("click",a.widgets.openHrefInOutlineMode,!0);const P=a.ns.wf("coreIsueForm");r.parse('\n @prefix : <http://www.w3.org/ns/ui#> .\n @prefix core: <http://www.w3.org/2005/01/wf/flow#>.\n @prefix dc: <http://purl.org/dc/elements/1.1/>.\n @prefix wf: <http://www.w3.org/2005/01/wf/flow#> .\n\n core:coreIsueForm a :Form;\n <http://purl.org/dc/elements/1.1/title> "Core issue data";\n :parts (\n core:titleField\n core:descriptionField ) .\n\n core:descriptionField a :MultiLineTextField;\n :label "Description";\n :property wf:description;\n :size "40" .\n\n core:titleField a :SingleLineTextField;\n :label "Title";\n :maxLength "128";\n :property dc:title; # @@ Should move to dct or schema\n :size "40" .\n\n wf:Task :creationForm core:coreIsueForm .\n',s,P.doc().uri,"text/turtle");const F=a.widgets.appendForm(b,null,{},e,P,A,m);w.appendChild(F),F.style.backgroundColor=C;const N=s.statementsMatching(e,a.ns.wf("assignee"));if(N.length>1){d("Weird, was assigned to more than one person. Fixing ..");const e=N.slice(1);s.updater.update(e,[],function(e,n,t){n?d("Now fixed."):f("Fixed failed: "+t)})}function L(e){return a.widgets.personTR(b,a.ns.wf("dependent"),e,{link:!1})}function I(e,n){n=n||[];const t=s.any(null,a.ns.wf("dependent"),e,e.doc());return t?I(t,[t].concat(n)):n}if(async function(){const n=s.each(e,a.ns.wf("assigneeGroup"));await s.fetcher.load(n);const t=n.map(e=>s.each(e,a.ns.vcard("member"),null,e.doc())).flat(),i=s.any(null,a.ns.doap("bug-database"),v);i&&await s.fetcher.load(i);const o=i?s.each(i,a.ns.doap("developer")):[];return t.concat(o)}().then(n=>{if(n.length){n.forEach(function(e){s.fetcher.lookUpThing(e)});const i={nullLabel:"(unassigned)"};w.appendChild(a.widgets.makeSelectForOptions(b,s,e,a.ns.wf("assignee"),n,i,y,function(e,n){e?t(0,s,y):console.log("Failed to change assignee:\n"+n)}))}}),g(v,"allowSubIssues")){const n=w.appendChild(b.createElement("div"));n.style="margin: 1em; padding: 1em;",n.appendChild(b.createElement("h4")).textContent="Super Issues";const t=n.appendChild(b.createElement("div"));t.style.display="flex",t.refresh=function(){const n=I(e);a.utils.syncTableToArrayReOrdered(t,n,L)},t.refresh(),n.appendChild(b.createElement("h4")).textContent="Sub Issues";const i=n.appendChild(b.createElement("div"));i.style.display="flex",i.style.flexDirection="reverse",i.refresh=function(){const n=s.each(e,a.ns.wf("dependent"),null,e.doc());a.utils.syncTableToArrayReOrdered(i,n,L)},i.refresh();const r=b.createElement("button");r.setAttribute("type","button"),n.appendChild(r);const l=a.utils.label(k);r.innerHTML="New sub "+l,r.setAttribute("style","float: right; margin: 0.5em 1em;"),r.addEventListener("click",function(t){n.insertBefore((0,o.newIssueForm)(b,s,v,e,i.refresh),r.nextSibling)},!1)}w.appendChild(b.createElement("br"));const _=s.any(v,a.ns.wf("extrasEntryForm"));_&&a.widgets.appendForm(b,w,{},e,_,A,m);const O=w.appendChild(h(b,C));let R;s.anyValue(v,a.ns.wf("issueURITemplate"))?R=e.doc():(R=s.any(v,a.ns.wf("messageStore")),R||(R=s.any(v,a.ns.wf("stateStore"))),s.sym(R.uri+"#Chat"+(new Date).getTime())),s.fetcher.nowOrWhenFetched(R,function(n,t,i){if(n){const n=(0,a.messageArea)(b,s,e,R);w.insertBefore(n,O),w.insertBefore(h(b,C),n)}else{const e=b.createElement("p");e.textContent=t,w.insertBefore(e,O)}}),w.appendChild(b.createElement("div")).innerHTML="<h4>Attachments</h4>\n <p>Drag files, emails,\n web pages onto the paper clip, or click the file upload button.</p>";const D=e.uri.endsWith("/index.ttl#this")?e.uri.slice(0,14)+"Files/":e.dir().uri+"Files/"+e.uri.split("#")[1]+"/";a.widgets.attachmentList(b,e,w,{doc:A,promptIcon:a.icons.iconBase+"noun_25830.svg",uploadFolder:s.sym(D),predicate:a.ns.wf("attachment")}),a.widgets.deleteButtonWithCheck(b,w,"issue",async function(){try{await s.updater.update(s.connectedStatements(e))}catch(e){f(`Unable to delete issue: ${e}`)}f("DELETED OK"),w.style.backgroundColor="#eee",w.style.fontColor="orange"}).style.float="right";const M=b.createElement("button");return M.textContent="refresh messages",M.addEventListener("click",async function(e){try{await s.fetcher.load(R,{force:!0,clearPreviousData:!0})}catch(e){return void alert(e)}a.widgets.refreshTree(w)},!1),M.setAttribute("style",a.style.button),w.appendChild(M),w}},197:e=>{e.exports='# Ontology for user interface hints and forms\n#\n# See also related: the Fresnel language\n#\n@prefix contact: <http://www.w3.org/2000/10/swap/pim/contact#>.\n@prefix dc: <http://purl.org/dc/elements/1.1/>.\n@prefix doc: <http://www.w3.org/2000/10/swap/pim/doc#>.\n@prefix foaf: <http://xmlns.com/foaf/0.1/>.\n@prefix owl: <http://www.w3.org/2002/07/owl#>.\n@prefix r: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.\n@prefix s: <http://www.w3.org/2000/01/rdf-schema#>.\n@prefix tt: <http://dig.csail.mit.edu/2010/issues/track#>.\n@prefix ui: <http://www.w3.org/ns/ui#>.\n@prefix : <http://www.w3.org/ns/ui#>.\n@prefix wf: <http://www.w3.org/2005/01/wf/flow#>.\n@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.\n\n@keywords is, of, a.\n\n<> dc:title "An ontology for User Interface description, Hints and Forms.";\n dc:description """The User Interface ontology allows the definition\n of forms for processing RDF model data, and include a bootstrap form for\n editing forms. It allows user interface hints such as background colors,\n can be associated with objects and classes.\n """;\n dc:created 2010-08-07;\n dc:license <https://creativecommons.org/publicdomain/zero/1.0/>;\n dc:modified """$Date: 2020/03/22 16:53:21 $""";\n dc:author <https://www.w3.org/People/Berners-Lee/card#i>.\n\nstyle a r:Property, owl:DatatypeProperty;\n s:label "style";\n prompt "CSS style";\n s:comment """Must be a valid CSS style string such as one could put in\n an HTML style attribute. Depending on the user interface system, this can\n by given to individuals, classes or properties. It is up to a user interface\n which wants to draw on them to pick how it uses styles from which parts\n of the data it has. For example, the style of a class may be picked\n to distinguish information about things in that class.""".\n\nbackgroundColor a r:Property, owl:DatatypeProperty;\n s:label "background color"@en;\n s:range ui:Color;\n s:comment """Must be a valid CSS color string such as one could put in\n an HTML style attribute. This should be in the #xxxxxx form,\n (with 6 digits of hex) so that it\n can work with Graphviz.""".\n\nbackgroundImage a r:Property, owl:DatatypeProperty;\n s:label "background image"@en;\n s:comment """URI or base64 representation of an image""".\n\ncolor a r:Property, owl:DatatypeProperty;\n s:label "color"@en;\n s:range ui:Color;\n s:comment """Must be a valid CSS color string such as one could put in\n an HTML style attribute. This should be in the #xxxxxx form,\n (with 6 digits of hex) so that it\n can work with Graphviz.""".\n\n\n\nsortPriority a r:Property, owl:DatatypeProperty;\n s:label "sort priority";\n s:range xsd:integer;\n s:comment """When individuals or classes must be sorted, then\n if they are given different values of sortPriority a user agent can\n use this as a hint to how to present information.""".\n\nsortBy a r:Property;\n s:label "sort by";\n s:domain s:Class;\n s:range r:Property;\n s:comment """A property which typically is used to sort\n members of a given class.""".\n\nseqeunce a r:Property;\n s:label "sequence number";\n s:range xsd:integer;\n s:comment """The sequence in which this item is arranged with repect to other parts.""".\n\ninitialProperties a r:Property;\n s:label "initial properties";\n s:domain s:Class;\n s:range r:List; # List of r:Property\n s:comment """A really simple way of enabling user interfaces to\n create new information about a class of things is to make a define of properties\n to be specified when a information about a new item\n ("New item" here means an item which the system\n does not have prvious information about yet,\n not an items which has just been created,\n like new friend as opposed to new baby)""";\n prompt "Properties to be specified for new ones".\n\ntableProperties a r:Property;\n s:domain s:Class;\n s:label "table properties";\n s:range r:List; # List of r:Property\n s:comment """This is a crude way of specifying a table-based\n view for objects of this class.""";\n prompt "Properties to be given in a default table view".\n\nprompt a r:Property;\n s:label "user prompt";\n s:comment """A string for the UI to use if the user needs a longer\n prompts than just a field name, the rdfs:label. """;\n ui:prompt "A longer prompt for a user inputting this property".\n\n\n# A Taxonomy of Field types\n\nui:Form owl:disjointUnionOf ( ui:ValueField ui:Group ui:Choice ui:Classifier ui:Options ui:Multiple ui:Heading ui:Comment);\n s:comment """A form can be any type of single field, or typically a Group of several fields,\n including interspersed headings and comments. """.\nui:Single owl:disjointUnionOf ( ui:ValueField ui:Group ui:Choice ui:Classifier ui:Options ui:Heading ui:Comment).\nui:ValueField owl:disjointUnionOf ( ui:TextField ui:NumericField ui:ColorField ui:DateField ui:DateTimeField ui:PhoneField ui:EmailField).\nui:NumericField owl:disjointUnionOf (ui:BooleanField ui:TriStateField ui:IntegerField ui:DecimalField ui:FloatField).\n# ui:Multiple owl:disjointUnionOf ( ui:ZeroOrMore ui:OneOrMore ).\nui:TextField owl:disjointUnionOf (ui:SingleLineTextField ui:MultiLineTextField).\n\nui:Form a s:Class; is s:subClassOf of ui:ValueField, ui:Group, ui:Choice, ui:Heading, ui:Comment, ui:Classifier, ui:Options, ui:Multiple.\nui:Single a s:Class; is s:subClassOf of ui:ValueField, ui:Group, ui:Choice, ui:Heading, ui:Comment, ui:Classifier, ui:Options.\nui:ValueField a s:Class; is s:subClassOf of ui:TextField, ui:NumericField, ui:ColorField, ui:DateField, ui:DateTimeField, ui:PhoneField, ui:EmailField.\nui:NumericField a s:Class; is s:subClassOf of ui:BooleanField, ui:TriStateField, ui:IntegerField, ui:DecimalField, ui:FloatField.\nui:TextField a s:Class; is s:subClassOf of ui:SingleLineTextField, ui:MultiLineTextField.\n\nui:Classifier a s:Class; s:label "classifier";\n s:comment """A classifier allows the user to select the type of an object.\n The possible types must be subclasses of some overall class, the "category".\n (Ideally, the superclass is also set up as the disjoint union of the subclasses,\n if they are disjoint.)\n\n The form normally stores the resulting classes using an rdf:type triple,\n but a different predicate can be used if required, so the classifier field\n needs is \'property\' defined too.\n\n If the subclass selected itself is has subclasses defined, the user can\n recursively select from them in turn, as many levels as needed.""".\n\nui:property a r:Property; s:domain ui:Form; s:range r:Property;\n s:label "property to be stored"@en;\n s:comment """Many fields prompt for information about a given property of the subject.\n When field is filled in, this gives which property is written into the data.""".\n\nui:category a r:Property; s:domain ui:Classifier; s:range s:Class;\n s:label "overall superclass"@en;\n s:comment """The superclass subclasses of which will be selected.""".\n\nui:dependingOn a r:Property; s:domain ui:Options; s:range r:Property;\n s:label "depending on"@en;\n s:comment """Many fields prompt for information about a given property of the subject""".\n\nui:for a r:Property; s:label "for"@en; s:comment "The value for which this case is selected.".\nui:use a r:Property; s:range ui:Form.\n\nui:part a r:Property; s:label "part"@en ; s:domain ui:Form; s:range ui:Form. # Used for Multiple field - the subform for each item\nui:parts a r:Property; s:label "parts"@en ; s:domain ui:Form; s:range r:Collection. # (of Forms) The ordered set of fields in a group\nui:ordered e r:Property; s:label "ordered"; s:range xsd:Boolean . # Could be useful for all kinds of things in future so not restricted to Multiple\n\nui:from a r:Property; s:domain ui:Choice; s:range r:Class;\n s:label "from"; ui:prompt "from what class".\n\nui:size a r:Property; s:domain ui:ValueField; s:range xsd:integer;\n s:label "size of field";\n ui:prompt "size of field in characters".\n\nui:maxLength a r:Property; s:domain ui:TextField; s:range xsd:integer;\n s:label "max length of value".\n\nui:minValue a r:Property; s:domain ui:ValueField; s:label "min". # @@ range?\nui:maxValue a r:Property; s:domain ui:ValueField; s:label "max".\n\n ui:creationForm a r:Property; s:domain s:Class; s:range ui:Form;\n s:label "creation form";\n s:comment """A form which may be used to collect information about a\n hitherto locally undocumented instance instance of this class.""".\n\n ui:annotationForm a r:Property; s:domain s:Class; s:range ui:Form;\n s:label "annotation form";\n s:comment """A form which may be used to add more infromation to an\ninstance of this class which we know something about. Anything from\nadding just add one more fact, to adding a whole lot of information about a specific\nfacet of the thing.\n""".\n\n\n#############################################\n#\n# Form for editing Forms\n#\n\nFormForm a ui:Form;\n dc:title "Form for editing Forms";\n is ui:creationForm of Form;\n a ui:Group; ui:parts (FF1 FF2 FF3 FieldList) .\n\n FF1 ui:sequence 1; a ui:Heading; ui:contents "Edit Form"@en .\n FF2 ui:sequence 2; a ui:SingleLineTextField; ui:property dc:title; ui:size 60 .\n FF3 ui:sequence 3; a ui:Comment; ui:contents\n """To add a field to the form, press the plus at the bottom,\n and then select what sort of field you want."""@en; ui:style "background-color: #ffe;" .\n\n FieldList ui:sequence 10; a ui:Multiple; ui:ordered true; ui:property ui:parts; ui:part FieldForm .\n\nFieldForm a ui:Group;\n dc:title "Form for selecting a type of field";\n ui:parts (\n\n [ ui:sequence 1; a ui:Classifier; ui:property r:type; ui:category ui:Form]\n\n [ a ui:Options; ui:sequence 2; ui:dependingOn r:type;\n\n ui:case [ ui:for ui:TextField; ui:use [a ui:Group; ui:parts (\n [ a ui:Choice; ui:canMintNew true; ui:property ui:property; ui:label "property"; ui:from owl:DatatypeProperty] # @@@ Needs inference on current web\n [ a ui:IntegerField; ui:property ui:size; ui:label "field size"; ui:min 1; ui:max 4096]\n [ a ui:IntegerField; ui:property ui:maxLength; ui:label "Max. length of string"; ui:min 1]\n )]];\n\n ui:case [ ui:for ui:IntegerField; ui:use [a ui:Group; ui:parts (\n [ ui:sequence 1; a ui:Choice; ui:canMintNew true; ui:property ui:property; ui:label "property"; ui:from owl:DatatypeProperty]\n [ ui:sequence 2; a ui:IntegerField; ui:property ui:min; ui:label "minimum value"]\n [ ui:sequence 3; a ui:IntegerField; ui:property ui:max; ui:label "maximum value"] ) ]];\n\n ui:case [ ui:for ui:DecimalField; ui:use [a ui:Group; ui:parts (\n [ ui:sequence 1; a ui:Choice; ui:canMintNew true; ui:property ui:property; ui:label "property"; ui:from owl:DatatypeProperty]\n [ ui:sequence 2; a ui:DecimalField; ui:property ui:min; ui:label "minimum value"]\n [ ui:sequence 3; a ui:DecimalField; ui:property ui:max; ui:label "maximum value"] ) ]];\n\n ui:case [ ui:for ui:FloatField; ui:use [a ui:Group; ui:parts (\n [ ui:sequence 1; a ui:Choice; ui:canMintNew true; ui:property ui:property; ui:label "property"; ui:from owl:DatatypeProperty]\n [ ui:sequence 2; a ui:FloatField; ui:property ui:min; ui:label "minimum value"]\n [ ui:sequence 3; a ui:FloatField; ui:property ui:max; ui:label "maximum value"] ) ]];\n\n ui:case [ ui:for ui:ColorField; ui:use [a ui:Group; ui:parts (\n [ ui:sequence 1; a ui:Choice; ui:canMintNew true; ui:property ui:property; ui:label "property"; ui:from owl:DatatypeProperty] )\n ]];\n\n ui:case [ ui:for ui:DateField; ui:use [a ui:Group; ui:parts (\n [ ui:sequence 1; a ui:Choice; ui:canMintNew true; ui:property ui:property; ui:label "property"; ui:from owl:DatatypeProperty]\n [ ui:sequence 2; a ui:DateField; ui:property ui:min; ui:label "min"]\n [ ui:sequence 3; a ui:DateField; ui:property ui:max ; ui:label "max"]\n ) ]];\n\n ui:case [ ui:for ui:DateTimeField; ui:use [a ui:Group; ui:parts (\n [ ui:sequence 1; a ui:Choice; ui:canMintNew true; ui:property ui:property; ui:label "property"; ui:from owl:DatatypeProperty]\n [ ui:sequence 2; a ui:DateTimeField; ui:property ui:min; ui:label "min"]\n [ ui:sequence 3; a ui:DateTimeField; ui:property ui:max ; ui:label "max"]\n ) ]];\n\n ui:case [ ui:for ui:EmailField; ui:use [a ui:Group; ui:parts (\n [ ui:sequence 1; a ui:Choice; ui:canMintNew true; ui:property ui:property; ui:label "property"; ui:from owl:ObjectProperty]\n ) ]];\n\n ui:case [ ui:for ui:PhoneField; ui:use [a ui:Group; ui:parts (\n [ ui:sequence 1; a ui:Choice; ui:canMintNew true; ui:property ui:property; ui:label "property"; ui:from owl:ObjectProperty]\n )]];\n\n ui:case [ ui:for ui:Group; ui:use FieldList];\n\n ui:case [ ui:for ui:Options; ui:use [a ui:Group; ui:parts (\n [ ui:sequence 1; a ui:Choice; ui:canMintNew true; ui:property ui:dependingOn; ui:label "depending on"; ui:from r:Property; ui:default r:type]\n [ ui:sequence 2; a ui:Multiple; ui:property ui:case; ui:part CaseForm]\n ) ]];\n\n ui:case [ ui:for ui:Choice; ui:use [a ui:Group; ui:parts (\n [ ui:sequence 1; a ui:Choice; ui:canMintNew true; ui:property ui:property; ui:label "property";\n ui:canMintNew true; ui:from owl:ObjectProperty]\n [ ui:sequence 2; a ui:Choice; ui:canMintNew true; ui:property ui:from; ui:label "destination class";\n ui:from s:Class; ui:canMintNew true; ]\n [ ui:sequence 3; a ui:BooleanField; ui:property ui:canMintNew; # No class form yet\n ui:label "user can add new"]\n [ ui:sequence 4; a ui:Choice; ui:canMintNew true; ui:property ui:use; ui:label "Nested Form (if any)";\n ui:from ui:Form; ui:optional true; ui:use FormForm] # @@ optional\n\n ) ]];\n\n ui:case [ ui:for ui:Classifier; ui:use [a ui:Group; ui:parts (\n [ ui:sequence 2; a ui:Comment; ui:contents """A classifier allows the user to which classes the item belongs to, given a common superclass of the allowed classes. Give the superclass here:""" ]\n\n [ ui:sequence 4; a ui:Choice; ui:canMintNew true; ui:property ui:category; ui:label "superclass"; ui:from s:Class]\n\n [ ui:sequence 6; a ui:Comment; ui:contents """(When the choice is made normally the item is given a rdf:type. Set this to rdf:type unless you want the form to set a different property.)""" ]\n\n [ ui:sequence 8; a ui:Choice; ui:canMintNew true; ui:property ui:property;\n ui:label "property"; ui:from owl:ObjectProperty; ui:default r:type] # @@ restriction\n\n ) ]];\n\n ui:case [ ui:for ui:Multiple; ui:use [a ui:Group; ui:parts (\n [ui:sequence 0; a ui:BooleanField; ui:property ui:ordered; ui:label "ordered"] # If this an ordered array or an unordered set?\n [ui:sequence 0; a ui:IntegerField; ui:property ui:min; ui:label "minimum number"] # If this an ordered array or an unordered set?\n [ui:sequence 1; a ui:Choice; ui:canMintNew true; ui:property ui:property; ui:label "property"; ui:from r:Property]\n [ui:sequence 2; a ui:Choice; ui:canMintNew true; ui:property ui:part; ui:from ui:Form; ui:use FieldForm] # Form for details of the field part of the multiple\n ) ]];\n\n ui:case [ ui:for ui:Heading; ui:use [a ui:SingleLineTextField; ui:property ui:contents]];\n\n ui:case [ ui:for ui:Comment; ui:use [a ui:MultiLineTextField; ui:property ui:contents]]\n ]).\n\n\nCaseForm a ui:Group;\n dc:title "Form for a conditional case in a form";\n ui:parts (\n [ ui:sequence 1; a ui:Choice; ui:canMintNew true; ui:property ui:for; ui:label "when it is"; ui:canMintNew true; ui:from s:Class]\n [ui:sequence 2; a ui:Choice; ui:canMintNew true; ui:property ui:use; ui:from ui:Form; ui:canMintNew true; ui:use FieldForm] ). # Form for details of the field part of the multiple\n\n# ENDS\n'},240:e=>{e.exports='# Issue tracking - Workflow application definition ontology\n#\n# Finite state automaton ontology\n#\n# See requirements for tracking tools http://www.w3.org/2005/01/06-tool-req.html\n#\n@keywords a, is, of.\n\n@prefix : <http://www.w3.org/2005/01/wf/flow#>.\n@prefix wf: <http://www.w3.org/2005/01/wf/flow#>.\n\n@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .\n@prefix s: <http://www.w3.org/2000/01/rdf-schema#> .\n@prefix owl: <http://www.w3.org/2002/07/owl#>.\n@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.\n\n@prefix doc: <http://www.w3.org/2000/10/swap/pim/doc#> .\n@prefix log: <http://www.w3.org/2000/10/swap/log#> .\n@prefix foaf: <http://xmlns.com/foaf/0.1/>.\n@prefix contact: <http://www.w3.org/2000/10/swap/pim/contact#> .\n@prefix doap: <http://usefulinc.com/ns/doap#>.\n@prefix dc: <http://purl.org/dc/elements/1.1/>.\n@prefix dct: <http://purl.org/dc/terms/>.\n@prefix ui: <http://www.w3.org/ns/ui#>.\n\n<> dc:title "Issue Tracking Ontology";\n\n dct:creator <http://www.w3.org/People/Berners-Lee/card#i>;\n\n s:comment """This ontology defines a very general class (Task)\n which can used for any kind of bug tracking, issue tracking,\n to-do-list management, action items, goal dependency, and so on.\n It captures the state of a task as a subclass, so that\n subsumption can be used.\n It captures a discussion thread about a task.\n It captures subtasks structure if necessary.\n A "Tracker" defines actual set of states, categories, etc.,\n which a task can be in. The data about the tracker\n guides the software managing the task.\n\n There is some workflow modeling finite state machine\n terms which are optional for more complex definition\n of the transitions allowed.\n """.\n\nTask a s:Class;\n s:label "task"@en; owl:disjointUnionOf (Open Closed);\n s:comment """Something to be done in a wide sense,\n an agenda item at a meeting is one example, but any\n issue, task, action item, goal, product, deliverable, milestone, can such a thing.\n The requirement for this framework was that it would allow\n one to customize ontologies for things such as agenda items,\n action items, working group issues with a spec, w3c Last Call issues,\n software bugs and administrative requests.\n In π-calculus, a process.\n Make your type of issue a subclass of Task.\n """.\n\nOpen a s:Class; s:subClassOf Task;\n s:label "open"@en, "ouvert"@fr;\n ui:backgroundColor "#d6f5d6"; # green like github for some reason\n s:comment """A task which needs attention. The very crude states of Open and Closed all\n interoperability between different systems if the states for a given\n application are made subclasses of either Open or Closed. This allows\n tasks from different systems to be mixed and treated together with\n limited but valuable functionality.\n """.\n\nClosed a s:Class; s:subClassOf Task;\n s:label "closed"@en, "fermé"@fr;\n ui:backgroundColor "#f5d6d6"; # pink\n s:comment """A task which does not need attention. It may be closed because\n has been abandoned or completed, for example.\n """.\n\n\n ActionItem a s:Class;\n s:subClassOf Task;\n s:label "action item"@en; owl:disjointUnionOf (Open Closed);\n s:comment """An obligation taken on by a person, typically at a meeting.\n """.\n\n\ndescription a rdf:Property;\n s:label "description";\n s:comment """The description, definition,\n or abstract. Information explaining what this is.\n Not arbitrary comment about anything, only about the subject.\n (Use this property for anything. There is no domain restriction.).""".\n\ndependent a rdf:Property;\n s:label "how"; owl:inverseOf [ s:label "why"];\n s:domain Task; s:range Task;\n s:comment """Another task upon which this depends, in the sense that\n this task cannot be completed without that task being done.\n You can\'t use this for dependencies on anything other than other tasks.\n (Note the US spelling of the URI. In the UK, a dependant is a something\n which is dependent on somehing else.)""".\n\nassignee a rdf:Property;\n s:label "assigned to"; owl:inverseOf [s:label "assignment"];\n# s:domain Task;\n s:range foaf:Agent;\n s:comment """The person or group to whom this has been assigned.""".\n\n# use dct:modified\n#modified a rdf:Property;\n# s:label "last changed".\n\nmodifiedBy a rdf:Property;\n s:range foaf:Agent;\n s:label "changed by".\n\n# use dct:created instead\n#created a rdf:Property;\n# s:range xsd:dateTime;\n#\n# Use foaf:maker instead\n#creator a rdf:Property;\n# s:range foaf:Agent;\n# s:label "changed by".\n\nsubscriber a rdf:Property;\n s:label "subscriber";\n s:range foaf:Agent.\n\n\n################## Products\n#\n#\n# History: The Tracker system included a cocept of a product,\n# such that an action could be associated with *either* an issue *or* a product.\n# Noah Mendelsohn for the TAG needed to be able make\n# and to give products: Goals, scuuess criteria,\n# deliverables with dates, schedules, TAG members assigned, related issues.\n#\n\n\nProduct a s:Class; s:subClassOf Task;\n s:label "product";\n s:comment """A product is a task which monitors something\n which must be produced.""".\n\ndeliverable a rdf:Property; s:subPropertyOf dependent;\n s:range Product;\n s:label "deliverable"@en;\n s:comment """Something which must be delivered to accomplish this""".\n\ngoalDescription a rdf:Property, owl:DatatypeProperty;\n s:domain Task; s:range xsd:string;\n s:label "goals";\n s:comment """A textual description of the goals of this product, etc.""".\n\nsuccessCriteria a rdf:Property, owl:DatatypeProperty;\n s:domain Task; s:range xsd:string;\n s:label "success criteria";\n s:comment """A textual description of the successs critera.\n How when we know this is done?""".\n\ndateDue a rdf:Property, owl:DatatypeProperty;\n s:domain Task; s:range xsd:date;\n s:label "due"@en;\n s:comment """The date this task is due.\n """.\n\n################## Attachments\n\nattachment a rdf:Property;\n s:label "attachment";\n s:comment """Something related is attached for information.""".\n\nscreenShot a rdf:Property; s:subPropertyOf attachment;\n s:label "screen shot"@en;\n s:comment """An image taken by capturing the state of a\n computer screen, for example to demonstrate a problem""".\n\ntestData a rdf:Property; s:subPropertyOf attachment;\n s:label "test data"@en;\n s:comment """A file which can be used as inpiut to a test\n or to demonstrate a problem. """.\n\n\nterminalOutput a rdf:Property; s:subPropertyOf attachment;\n s:label "terminal output"@en;\n s:comment """A file showing user interaction from a\n text terminal or console etc. """.\n\n\nmessage a rdf:Property; s:subPropertyOf attachment;\n s:label "message"@en;\n s:comment """A message about this. Attached for information.""".\n\n\nMessage a s:Class; s:label "message"@en.\nrecipent a rdf:Property; s:label "to"; s:domain Message; s:range foaf:Agent.\nsender a rdf:Property; s:label "from"; s:domain Message; s:range foaf:Agent.\n\n############################# A Tracker connects and manages issues\n\ntracker a rdf:Property;\n s:label "tracker";\n owl:inverseOf [ s:label "issue"];\n s:domain Task;\n s:range Tracker.\n\nTracker a s:Class;\n s:label "tracker";\n s:comment """A set of issues and\n the constraints on how they evolve.\n To use this ontology, craete a new tracker.\n Copy an existing one or make up your own.""".\n\nissueClass a rdf:Property;\n s:label "all issues must be in";\n s:domain Tracker;\n s:range s:Class, State;\n s:comment """The class of issues which are allowed in this tracker.\n This is essemtial to the operation of the tracker,\n as it defines which states an issue can be in.\n (The issueClass must be a disjointUnionOf the state classes)""".\n\nissueCategory a rdf:Property;\n s:label "issue category";\n s:domain Tracker;\n s:range s:Class;\n s:comment """Issues may be categorized according to the\n subclasses of this class""".\n\nstateStore a rdf:Property;\n s:label "state store";\n s:domain Tracker;\n s:range doc:Document;\n s:comment """A read-write document.\n The state of the issues is modified here.\n When you set up a trcaker, thgis must be set to point\n to a writeble data resource on the web.""".\n\ntransactionStore\n a rdf:Property;\n s:label "transaction store";\n s:domain Tracker;\n s:range doc:Document;\n s:comment """An appendable document. Transactions and messsages\n can be written into here""".\n\nasigneeClass\n a rdf:Property;\n s:label "assignees must be";\n s:domain Tracker;\n s:range s:Class; # Subclass of foaf:Agent\n s:comment """When an issue is assigned, the assignee must be from this class""".\n\ninitialState\n a rdf:Property;\n s:label "initial state"@en;\n s:label "état initial"@fr;\n s:domain Tracker;\n s:range State;\n s:comment """The initial state for a new issue""".\n\n# Use this to link a project to a tracker\ndoap:bug-database owl:inverseOf [ s:label "project"@en ].\n\n\n\n\n############################################################\n#\n# Finite state machines\n#\nChange a s:Class;\n s:label "change";\n s:comment """The universal class of things which\nchange the state of a task.\nIncluded now: Creation, Transition. (Maybe in the future\nmore π-calculus constructions such as splitting & merging tasks,\nand import/export of obligations to a foreign opaque system.)\n""".\n\nTransition a s:Class; s:subClassOf Change;\n s:label "transition";\n s:comment """A transition is a change of state of\na task. Typical properties include date and/or source\n(a document causing the transition), and a final state.""".\n\nCreation a s:Class; s:subClassOf Change;\n s:label "creation";\n s:comment """A creation is a change from existence\nto non-existence\na task. Typical properties include date and/or source\n(a document causing the transition), and a final state.""".\n\n\ndate s:range DateTime.\n\nfinal a rdf:Property;\n s:label "to";\n s:domain Transition;\n s:range State.\n\ntask a rdf:Property;\n s:range Task;\n s:label "task".\n\nrequires a rdf:Property;\n s:label "requires";\n s:domain Transition;\n s:range rdf:List; # Of properties for validation\n s:comment """To be a valid transition,\n a necessary (but not necessarily sufficuent) condition\n is that there be recorded these properties for the record""".\n\naffects a rdf:Property;\n s:label "affects";\n s:domain doc:Work;\n s:range Task.\n\n\n# { ?x a Transition; task ?t; source ?doc } => { ?doc affects ?t }.\n\n\ncreates a rdf:Property;\n s:label "creates";\n s:domain doc:Work;\n s:range Task.\n\n\nallowedTransitions a rdf:Property;\n s:domain State;\n s:range rdf:List; # @@@ of Action\n s:label "allowed transitions";\n s:comment """The state machine is defined\n by these lists of transition allowed for each issue.\n (An interesting option in the Web is to make an allowed transition\n to a state in soemone else\'s ontology, which in turn allows\n transitions into many ontologies. So a finite state maxchine\n may become very large. In practice this means that a task handed\n off to another organization may be processed on all kinds of ways.)""".\n\n# { ?x a TerminalState} => { ?x allowedTransitions () }.\n\nfinal a rdf:Property;\n s:label "to";\n s:range State.\n\nissue a rdf:Property;\n s:label "issue";\n s:comment\n """A transition changes the state of the given issue.""".\n\nsource a rdf:Property;\n s:label "source";\n s:comment """The source of a transition is\n the document by which it happened""";\n s:range doc:Work.\nTerminalState a s:Class;\n s:subClassOf State;\n s:label "terminal state";\n s:comment """A state from which there are no transitions.""".\n\nNonTerminalState a s:Class;\n s:label "non-terminal state";\n owl:disjointWith TerminalState;\n s:comment """A state from which there are transitions.""".\n\n######################################################\n\n#ends\n'},264:e=>{e.exports=o},324:(e,n,t)=>{t.d(n,{newIssueForm:()=>o});var a=t(426),i=t(264);function o(e,n,t,o,r){const s=e.createElement("div"),l=n.any(t,a.ns.wf("stateStore")),c=n.any(t,a.ns.wf("issueClass")),u=a.utils.label(c);s.innerHTML="<h2>Add new "+(o?"sub ":"")+u+"</h2><p>Title of new "+u+":</p>";const d=e.createElement("input");return d.setAttribute("type","text"),d.setAttribute("style","margin: 0.5em; font-size: 100%; padding: 0.3em;"),d.setAttribute("size","100"),d.setAttribute("maxLength","2048"),d.select(),d.addEventListener("keyup",function(e){13===e.keyCode&&function(){d.setAttribute("class","pendingedit"),d.disabled=!0;const e=[],c=n.anyValue(t,a.ns.wf("issueURITemplate")),u=c?n.sym(function(e){const n=new i.Literal(new Date),t=""+(new Date).getTime(),a=n.value.slice(0,4),o=n.value.slice(5,7),r=n.value.slice(8,10);return e.replace("{N}",t).replace("{YYYY}",a).replace("{MM}",o).replace("{DD}",r)}(i.uri.join(c,l.uri))):n.sym(l.uri+"#Iss"+(new Date).getTime()),p=u.doc(),f=n.literal(d.value);e.push(new i.Statement(u,a.ns.wf("tracker"),t,l)),e.push(new i.Statement(u,a.ns.dc("title"),f,l)),e.push(new i.Statement(u,a.ns.dct("created"),new Date,l));const m=o?n.each(o,a.ns.rdf("type"),null,o.doc()):n.each(t,a.ns.wf("initialState"));for(const n of m)e.push(new i.Statement(u,a.ns.rdf("type"),n,l));o&&e.push(new i.Statement(o,a.ns.wf("dependent"),u,l)),c&&(e.push(new i.Statement(u,a.ns.wf("tracker"),t,p)),e.push(new i.Statement(u,a.ns.rdfs("seeAlso"),l,p))),n.updater.update([],e,function(e,n,t){n?(s.parentNode.removeChild(s),r(u)):console.log("Error: can't save new issue:"+t)})}()},!1),s.appendChild(d),d.focus(),s}},426:e=>{e.exports=a},663:e=>{e.exports=i},685:(e,n,t)=>{t.d(n,{csvButton:()=>r});var a=t(426),i=t(663);function o(e){const n=e.replaceAll("\n"," ");if(!n.includes(","))return n;const t='"'+n.replaceAll('"','""')+'"';if(console.log("Quoted: >>>"+t+"<<<"),t.slice(1,-1).replaceAll('""',"").includes('"'))throw new Error("CSV inconsistecy");return t}function r(e,n){const t=e.createElement("div"),r=a.widgets.button(e,a.icons.iconBase+"noun_Document_998605.svg","Copy as CSV",async e=>{const t=r.parentNode.parentNode;console.log("button gparent div",t),t.addEventListener("copy",e=>{const t=function(e,n){const t=e.any(n,a.ns.wf("stateStore")),i=e.each(null,a.ns.wf("tracker"),n,t);console.log(" CSV: Tasks:",i.length);const r=[{label:"Name",predicate:a.ns.dc("title")}],s=e.any(n,a.ns.wf("issueClass"));console.log(" CSV: States - main superclass:",s);const l={label:"State",category:s};console.log(" CSV: found column from state",l),r.push(l);const c=e.each(n,a.ns.wf("issueCategory"));console.log(" CSV: Categories : ",c),console.log(" CSV: Categories : length: ",c.length),console.log(" CSV: Categories : first: ",c[0]);const u=c;for(const e of u){const n={label:a.utils.label(e),category:e};console.log(" CSV: found column from classifications",n),r.push(n)}const d=e.any(n,a.ns.wf("extrasEntryForm"),null,null);if(console.log(" CSV: Form : ",d),d){const n=e.any(d,a.ns.ui("parts"),null,d.doc());console.log(" CSV: parts : ",n);const t=n.elements;console.log(" CSV: fields : ",t);for(const n of t){const t=e.any(n,a.ns.ui("property"));if(t){const e={label:a.utils.label(t),predicate:t};console.log(" CSV: found column from form",e),r.push(e)}}}r.push({label:"Description",predicate:a.ns.wf("description")}),console.log("Columns: ",r.length);const p=r.map(e=>e.label).join(",")+"\n";return console.log("CSV: Header= ",p),p+i.map(function(n){return r.map(t=>function(n,t){let i;if(t.predicate)return i=e.any(n,t.predicate),i?i.value:"--";if(!t.category)throw new Error("wot no pred or cat",t);{const o=e.each(n,a.ns.rdf("type"));for(const n of o)e.holds(n,a.ns.rdfs("subClassOf"),t.category)&&(i=n);if(!i)return"?"+a.utils.label(t.category)}return a.utils.label(i)}(n,t)).map(o).join(",")+"\n"}).join("")}(i.store,n);e.clipboardData.setData("text/plain",t),e.clipboardData.setData("text/csv",t),alert("Copy data: "+t),e.preventDefault()})});return t.appendChild(r),t}},719:(e,n,t)=>{t.d(n,{newTrackerButton:()=>l});var a=t(426),i=t(264),o=t(663);const r=a.ns,s=o.store.updater;function l(e,n){const t=a.login.newAppInstance(n.dom,{noun:"tracker"},function(t,o){function l(e){if(void 0!==e.elements)return e.elements.map(l);if(void 0===e.uri)return e;let n=e.uri;return n===p.uri?f:(n.slice(0,h.length)===h&&(n=o+n.slice(h.length)),d.sym(n))}const c="issuetracker.w3.org",u=a.ns.space,d=n.session.store;if(!o&&("/"!==(o=d.any(t,u("uriPrefix")).value).slice(-1)&&(i.log.error(c+": No / at end of uriPrefix "+o),o+="/"),o+=c+"/"+(new Date).getTime()+"/",!confirm("Make new tracker at "+o+"?")))return;const p=d.any(e,r.wf("stateStore")),f=d.sym(o+"store.ttl"),m=e.doc(),h=m.uri.slice(0,m.uri.lastIndexOf("/")+1),g=l(m),b=l(e),v=d.statementsMatching(void 0,void 0,void 0,m);for(let e=0;e<v.length;e++){const n=v[e];d.add(l(n.subject),l(n.predicate),l(n.object),g)}d.add(b,a.ns.space("inspiration"),e,p),d.add(b,a.ns.space("inspiration"),e,g),s.put(g,d.statementsMatching(void 0,void 0,void 0,g),"text/turtle",function(e,n,t){n?s.put(f,[],"text/turtle",function(e,n,t){n?console.info("Ok The tracker created OK at: "+b.uri+"\nMake a note of it, bookmark it. "):console.log("FAILED to set up new store at: "+f.uri+" : "+t)}):console.log("FAILED to save new tracker at: "+g.uri+" : "+t)})});return t.setAttribute("style","margin: 0.5em 1em;"),t}}},n={};function t(a){var i=n[a];if(void 0!==i)return i.exports;var o=n[a]={exports:{}};return e[a](o,o.exports,t),o.exports}t.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},t.d=(e,n)=>{for(var a in n)t.o(n,a)&&!t.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:n[a]})},t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};t.r(r),t.d(r,{default:()=>g});var s=t(426),l=t(663),c=t(85),u=t(178),d=t(719),p=t(324),f=t(685),m=t(264);const h=l.store,g={icon:s.icons.iconBase+"noun_122196.svg",name:"issue",audience:[],label:function(e,n){const t=h.findTypeURIs(e);return t["http://www.w3.org/2005/01/wf/flow#Task"]||h.holds(e,s.ns.wf("tracker"))?"issue":t["http://www.w3.org/2005/01/wf/flow#Tracker"]?"tracker":null},mintClass:s.ns.wf("Tracker"),mintNew:async function(e,n){const t=e.session.store;let a;n.newInstance?a=t.sym(n.newInstance.doc().uri+"_state.ttl"):(n.newInstance=t.sym(n.newBase+"index.ttl#this"),a=t.sym(n.newBase+"state.ttl"));const i=n.newInstance,o=i.doc(),r=l.authn.currentUser();r&&t.add(i,s.ns.dc("author"),r,o),t.add(i,s.ns.rdf("type"),s.ns.wf("Tracker"),o),t.add(i,s.ns.dc("created"),new Date,o),t.add(i,s.ns.wf("issueClass"),s.ns.wf("Task"),o),t.add(i,s.ns.wf("initialState"),s.ns.wf("Open"),o),t.add(i,s.ns.wf("stateStore"),a,o),t.add(i,s.ns.wf("assigneeClass"),s.ns.foaf("Person"),o),t.add(i,s.ns.wf("stateStore"),a,a);const c=t.statementsMatching(void 0,void 0,void 0,o).concat(t.statementsMatching(void 0,void 0,void 0,a));try{await async function(e,n){const a=e.concat(n).map(e=>e.why),i=Array.from(new Set(a)).map(a=>t.updater.update(e.filter(e=>e.why.sameTerm(a)),n.filter(e=>e.why.sameTerm(a))));return Promise.all(i)}([],c)}catch(n){return s.widgets.complain(e,"Error writing tracker configuration: "+n)}const u=e.dom;return n.div.appendChild(u.createElement("div")).innerHTML=`<h4>Success</h4>\n <p>Your <a href="${i.uri}">new tracker</a> has been made.\n Use the settings tab to configure it.\n </p>\n `,n},render:function(e,n){const a=n.dom,i=a.createElement("div");function o(e){console.warn(e),i.appendChild(s.widgets.errorMessageBlock(a,e))}function r(e,n){e||o(n)}function g(e,t){const i=h.any(e,s.ns.wf("issueClass")),r=(t=t||i).sameTerm(i),l=h.any(t,s.ns.owl("disjointUnionOf"));if(!l)return o(`Configuration error: state ${i} does not have substates`);let d=l.elements;r&&d.length>2&&(d=d.filter(e=>h.holds(e,s.ns.rdfs("subClassOf"),s.ns.wf("Open"))||e.sameTerm(s.ns.wf("Open"))));const p={columnDropHandler:async function(e,a){const i=(0,u.getState)(e,t),o=h.the(e,s.ns.wf("tracker"),null,e.doc()),r=h.any(o,s.ns.wf("stateStore"));if(!a.sameTerm(i)){try{await h.updater.update([m.st(e,s.ns.rdf("type"),i,r)],[m.st(e,s.ns.rdf("type"),a,r)])}catch(e){s.widgets.complain(n,"Unable to change issue state: "+e)}f.refresh()}},filter:r?null:function(e){return!!h.findTypeURIs(e)[s.ns.wf("Open").uri]}};p.sortBy=s.ns.dct("created"),p.sortReverse=!0;const f=(0,c.board)(a,d,function(e){return(0,u.renderIssueCard)(e,n)},p);return f}function b(e){const t=a.createElement("div"),i=l.authn.currentUser(),o={div:t,dom:a,noun:"tracker",statusArea:t,me:i,refreshTarget:e},r=[n.session.paneRegistry.byName("issue")];return s.create.newThingUI(o,n,r),t}function v(){const t=h.any(k,s.ns.wf("issueClass")),i=[x,y,t].concat(h.each(k,s.ns.wf("issueCategory")));i.push(w);const o={renderMain:function(t,i){if(t.innerHTML="",i.sameTerm(A))t.appendChild(g(k));else if(i.sameTerm(y))t.appendChild(function(t){function i(){const e=new m.IndexedFormula;return c.pat.optional.push(e),e}const o=h.any(e,s.ns.wf("issueClass")),r=h.each(t,s.ns.wf("issueCategory")),l=["issue","state","created"],c=new m.Query(s.utils.label(e));for(let e=0;e<r.length;e++)l.push("_cat_"+e);const d={};l.forEach(function(e){c.vars.push(d[e]=m.variable(e))}),c.pat.add(d.issue,s.ns.wf("tracker"),t),c.pat.add(d.issue,s.ns.dct("created"),d.created),c.pat.add(d.issue,s.ns.rdf("type"),d.state),c.pat.add(d.state,s.ns.rdfs("subClassOf"),o),c.pat.optional=[];for(let e=0;e<r.length;e++){const n=i();n.add(d.issue,s.ns.rdf("type"),d["_cat_"+e]),n.add(d["_cat_"+e],s.ns.rdfs("subClassOf"),r[e])}const p=h.any(t,s.ns.wf("propertyList"));if(p){const e=p.elements;for(let n=0;n<e.length;n++){const t=e[n];let a="_prop_"+n;t.uri.indexOf("#")>=0&&(a=t.uri.split("#")[1]);const o=i();c.vars.push(d[a]=m.variable(a)),o.add(d.issue,t,d[a])}}const f={};h.each(void 0,s.ns.rdfs("subClassOf"),o).forEach(function(e){(h.holds(e,s.ns.rdfs("subClassOf"),s.ns.wf("Open"))||e.sameTerm(s.ns.wf("Open")))&&(f[e.uri]=!0)});const g=(0,s.table)(a,{query:c,keyVariable:"?issue",sortBy:"?created",sortReverse:!0,hints:{"?issue":{linkFunction:function(e){const t=m.sym(e);(0,u.exposeOverlay)(t,n)},label:"Title"},"?created":{cellFormat:"shortDate"},"?state":{initialSelection:f,label:"Status"}}}),b=h.any(e,s.ns.wf("stateStore"));return g.appendChild(function(e,n){return s.widgets.button(a,s.icons.iconBase+"noun_479395.svg","refresh table",async t=>{try{await h.fetcher.load(e,{force:!0,clearPreviousData:!0})}catch(e){return void alert(e)}s.widgets.refreshTree(n)})}(b,g)),g}(k));else if(i.sameTerm(w))t.appendChild(function(e){const n=a.createElement("div");n.appendChild((0,f.csvButton)(a,e));const t=h.any(e,s.ns.wf("issueClass")),i=[y,t].concat(h.each(e,s.ns.wf("issueCategory"))),o=n.appendChild(a.createElement("div"));s.widgets.renderNameValuePair(a,h,o,null,"Default view").appendChild(s.widgets.makeSelectForOptions(a,h,e,s.ns.wf("defaultView"),i,{},e.doc()));const l={dom:a,div:n,noun:"tracker"};return s.login.registrationControl(l,e,s.ns.wf("Tracker")).then(t=>{const i=s.ns.wf("TrackerSettingsForm");m.parse('@prefix : <http://www.w3.org/ns/ui#> .\n@prefix core: <http://www.w3.org/2005/01/wf/flow#>.\n@prefix dct: <http://purl.org/dc/terms/>.\n@prefix owl: <http://www.w3.org/2002/07/owl#>.\n@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.\n@prefix ui: <http://www.w3.org/ns/ui#> .\n@prefix vcard: <http://www.w3.org/2006/vcard/ns#>.\n@prefix wf: <http://www.w3.org/2005/01/wf/flow#> .\n\n core:TrackerSettingsForm a :Form;\n <http://purl.org/dc/elements/1.1/title> "Tracker Configuration Form";\n :parts (\n\n [ a ui:Heading; ui:contents "About the tracker"@en ]\n\n [ a :SingleLineTextField;\n :label "Title of issue tracker";\n :maxLength "128";\n :property dct:title;\n :size "40" ]\n\n [ a :MultiLineTextField; :label "Description"; :property wf:description; :size "40" ]\n\n [ a ui:Choice; ui:canMintNew true; ui:use core:SuperClassForm; ui:follow true;\n ui:property wf:issueClass;\n ui:label "What states can an issue be in?";\n ui:from rdfs:Class;\n ui:default wf:Task ]\n\n [ a ui:Comment; ui:contents """You can optionally sort issues using (one or more) classification systems"""@en ]\n\n\n [ a ui:Multiple; ui:canMintNew true; ui:part core:ClassificationForm;\n ui:property wf:issueCategory; ui:label "Sort them into which category?"; ui:from rdfs:Class ]\n\n [ a :BooleanField;\n :label "Allow issues to have sub-issues";\n :property wf:allowSubIssues;\n :default false ]\n\n [ a ui:Heading; ui:contents "Table view:"@en ]\n\n [ a ui:Comment; ui:contents "Any extra properties to include?"@en ]\n\n\n [a ui:Multiple; ui:property wf:propertyList; ui:ordered true; ui:part core:PropertyForm; ui:follow true ]\n\n [ a ui:Heading; ui:contents "Details of issues"@en ]\n\n # Use a people picker ideally\n [ a ui:Choice; ui:canMintNew true; ui:use core:GroupForm;\n ui:property wf:assigneeGroup;\n ui:label "Assign issues to people from which group?";\n ui:from vcard:Group;\n ]\n\n # Optionally one form for extras\n\n [ a ui:Choice; ui:canMintNew true; ui:use ui:FormForm;\n ui:property wf:extrasEntryForm;\n ui:label "Other things to save about each issue?";\n ui:from ui:Form;\n ]\n\n\n ) .\n\n # Form for the superclass of all states\n # @@ also We must require each state class to be stated to be a subclass of EITHER Open OR Closed.\n core:SuperClassForm a ui:Form; dct:title "Form for managing states";\n ui:parts (\n [ a :SingleLineTextField;\n :label "Name of set of states";\n :defualt "States";\n :maxLength "128";\n :property rdfs:label;\n :size "40" ]\n [a ui:Multiple; ui:property owl:disjointUnionOf; ui:ordered true; ui:part core:StateForm ]\n # [ a ui:Multiple; ui:property rdfs:subClassOf; ui:reverse true; ui:part core:StateForm ]\n ) .\n\n core:StateForm a ui:Form; dct:title "Form for one state";\n ui:parts (\n [ a :SingleLineTextField;\n :label "Name of state";\n :maxLength "128";\n :property rdfs:label;\n :size "40" ]\n [ a :ColorField; :label "Background color"; :property :backgroundColor ]\n # @@ add icon for state\n\n ).\n\n\n # Form for Classification\n\n core:ClassificationForm a ui:Form; dct:title "Form for a classification by categpry";\n ui:parts (\n [ a :SingleLineTextField;\n :label "Name of classification:";\n :maxLength "128";\n :property rdfs:label;\n :size "40" ]\n [a ui:Multiple; ui:property owl:disjointUnionOf; ui:ordered true; ui:part core:CategoryForm ]\n ) .\n\n core:CategoryForm a ui:Form; dct:title "Form for a category";\n ui:parts (\n [ a :SingleLineTextField;\n :label "Name of category";\n :maxLength "128";\n :property rdfs:label;\n :size "40" ]\n [ a :ColorField; :label "Background color"; :property :backgroundColor ]\n\n ).\n\n core:PropertyForm a ui:Form; ui:parts ( # Internded for raed only only marking the\n [ a :SingleLineTextField;\n :label "(property name)";\n :maxLength "128";\n :property rdfs:label;\n :size "40" ]\n ).\n\n\n # Other ontology stuff we are otherwis missing\n\n # we can usde ui:label to give a decent abel when the ontology uses a really bad one\n rdfs:subClassOf ui:label "super class" .\n # We can also add a specific nice label for the inverse\n [] owl:inverse rdfs:subClassOf; rdfs:label "sub class" .\n owl:disjointUnionOf ui:label "option" .\n\n # Form for new group\n\n\n core:GroupForm a ui:Form; dct:title "Form for new contacts group"; ui:parts (\n [ a :SingleLineTextField;\n :label "Name of new group";\n :maxLength "128";\n :property vcard:fn;\n :size "60" ]\n\n [ a ui:Heading; ui:contents "Members of group"@en ]\n\n [ a ui:Multiple; ui:label "contacts in group"; ui:property vcard:member; ui:part core:PersonForm ]\n\n ).\n\n core:PersonForm a ui:Form; dct:title "New contact details form"; ui:parts (\n\n [ a :NamedNodeURIField; ui:label "Solid ID"; ui:property owl:sameAs; ui:size 60 ]\n\n [ a :SingleLineTextField;\n :label "Name of contact";\n :maxLength "128";\n :property vcard:fn;\n :size "60" ]\n\n [ a ui:PhoneField; :label "Phone"; :property vcard:phone; ] # @@ check property]\n\n [ a :EmailField; :label "Email"; :property vcard:email ] # @@ check property\n\n ).\n\n# classificattion owl:disjointUnionOf ()\n wf:Tracker :creationForm core:SettingsForm .\n',h,i.doc().uri,"text/turtle"),s.widgets.appendForm(a,n,{},e,i,e.doc(),r)}),n}(k));else if(i.sameTerm(x))t.appendChild(function(e){const n=a.createElement("div"),t={dom:a,div:n,noun:"tracker"};return s.login.registrationList(t,{public:!0,private:!0,type:e}).then(e=>{n.appendChild(b(n))}),n}(s.ns.wf("Tracker")));else{if(!h.holds(k,s.ns.wf("issueCategory"),i)&&!h.holds(k,s.ns.wf("issueClass"),i))throw new Error("Unexpected tab type: "+i);t.appendChild(g(k,i))}},items:i,selectedTab:h.any(k,s.ns.wf("defaultView"),null,k.doc())||y},l=x.doc();return h.add(x,s.ns.rdfs("label"),"My Trackers",l),h.add(w,s.ns.rdfs("label"),"Settings",l),h.add(t,s.ns.rdfs("label"),"By State",l),s.tabs.tabWidget(o)}n.paneDiv=i,i.setAttribute("class","issuePane");const A=s.ns.wf("BoardView"),y=s.ns.wf("TableView"),w=s.ns.wf("SettingsView"),x=s.ns.wf("InstancesView"),C=h.updater,E=h.findTypeURIs(e);let k;const B=s.ns.wf("").doc();h.holds(void 0,void 0,void 0,B)||m.parse(t(240),h,B.uri,"text/turtle");const S=s.ns.ui("").doc();let T;h.holds(void 0,void 0,void 0,S)||m.parse(t(197),h,S.uri,"text/turtle"),E["http://www.w3.org/2005/01/wf/flow#Task"]||h.holds(e,s.ns.wf("tracker"))?async function(){if(k=h.any(e,s.ns.wf("tracker")),!k)throw new Error("This issue "+e+"has no tracker");try{await n.session.store.fetcher.load(k.doc())}catch(e){return o("Failed to load tracker config "+k.doc()+": "+e)}const t=h.any(k,s.ns.wf("stateStore"));if(!t)return o("Tracker has no state store: "+k);try{await n.session.store.fetcher.load(e)}catch(e){return o("Failed to load issue state "+t+": "+e)}i.appendChild((0,u.renderIssue)(e,n)),C.addDownstreamChangeListener(t,function(){s.widgets.refreshTree(i)})}().then(()=>console.log("Single issue rendered")):E["http://www.w3.org/2005/01/wf/flow#Tracker"]?async function(){function t(e){s.widgets.refreshTree(i),(0,u.exposeOverlay)(e,n),f.disabled=!1}k=e;try{await async function(e,n){async function t(n){const t=e.any(n,s.ns.owl("disjointUnionOf"),null,a);if(!t)throw new Error(`Classification ${n} has no disjointUnionOf`);if(!t.elements)throw new Error(`Classification ${n} has no array`);const i=new Set(t.elements.map(e=>e.uri)),o=new Set(e.each(null,s.ns.rdfs("subClassOf"),n,a).map(e=>e.uri)),r=[...o].filter(e=>!i.has(e)).map(t=>({action:"delete",st:m.st(e.sym(t),s.ns.rdfs("subClassOf"),n,a)})),l=[...i].filter(e=>!o.has(e)).map(t=>({action:"insert",st:m.st(e.sym(t),s.ns.rdfs("subClassOf"),n,a)}));return r.concat(l)}const a=n.doc(),i=e.any(n,s.ns.wf("issueClass")),o=e.each(n,s.ns.wf("issueCategory")).concat([i]);let r=[];for(const e of o)r=r.concat(await t(e));if(r.length){const n=r.filter(e=>"insert"===e.action).map(e=>e.st),t=r.filter(e=>"delete"===e.action).map(e=>e.st);console.log("Damage:",r),confirm(`Fix ${r} inconsistent subclasses in tracker config?`)&&await e.updater.update(t,n)}}(h,k)}catch(e){console.log("@@@ Error fixing subclasses in config: "+e)}const o=h.any(e,s.ns.wf("issueClass"));if(!o)throw new Error("This tracker has no issueClass");const r=h.any(e,s.ns.wf("stateStore"));if(!r)throw new Error("This tracker has no stateStore");const l=a.createElement("h2");l.setAttribute("style","font-size: 150%"),i.appendChild(l);const c=s.utils.label(o);l.appendChild(a.createTextNode(c+" list"));const f=a.createElement("button"),g=a.createElement("div");f.setAttribute("type","button"),f.setAttribute("style","padding: 0.3em; font-size: 100%; margin: 0.5em;"),g.appendChild(f),i.appendChild(g);const b=a.createElement("img");b.setAttribute("src",s.icons.iconBase+"noun_19460_green.svg"),b.setAttribute("style","width: 1em; height: 1em; margin: 0.2em;"),f.appendChild(b);const A=a.createElement("span");A.innerHTML="New "+c,f.appendChild(A),f.addEventListener("click",function(e){f.disabled=!0,g.appendChild((0,p.newIssueForm)(a,h,k,null,t))},!1),n.session.store.fetcher.load([r]).then(function(t){const a=v();i.appendChild(a),a.refresh||console.log("No table refresh function?!"),i.appendChild((0,d.newTrackerButton)(e,n)),C.addDownstreamChangeListener(r,a.refresh)}).catch(function(e){return console.log("Cannot load state store: "+e)})}().then(()=>console.log("Tracker rendered")):console.log("Error: Issue pane: No evidence that "+e+" is either a bug or a tracker.");const P=i.appendChild(a.createElement("div"));return n.overlay=P,P.style="position: fixed; z-index: 100; top: 1.51em; right: 2em; left: 2em; bottom:1.5em; border: 0.1em grey; overflow: scroll;",P.style.visibility="hidden",l.authn.checkUser().then(e=>{if(e)return console.log("Web ID set already: "+e),void(n.me=e);T=s.login.loginStatusBox(a,e=>{e?(n.me=h.sym(e),console.log("Web ID set from login button: "+e),i.removeChild(T)):n.me=null}),T.setAttribute("style","margin: 0.5em 1em;"),i.appendChild(T),n.statusArea||(n.statusArea=i.appendChild(a.createElement("div")))}),i}};return r})())},1927(e,n,t){var a;a=(e,n,t)=>(()=>{"use strict";var a={264(e){e.exports=n},426(n){n.exports=e},663(e){e.exports=t}},i={};function o(e){var n=i[e];if(void 0!==n)return n.exports;var t=i[e]={exports:{}};return a[e](t,t.exports,o),t.exports}o.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return o.d(n,{a:n}),n},o.d=(e,n)=>{for(var t in n)o.o(n,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},o.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};o.r(r),o.d(r,{default:()=>f});var s=o(426),l=o(264),c=o(663);const{typeIndex:u}=c.solidLogicSingleton,{loadTypeIndexesFor:d}=u,p=s.ns,f={icon:s.icons.iconBase+"noun_66617.svg",name:"meeting",audience:[p.solid("PowerUser")],label:function(e,n){const t=n.session.store,a=s.ns;return t.holds(e,a.rdf("type"),a.meeting("Meeting"))?"Meeting":null},mintClass:s.ns.meeting("Meeting"),mintNew:function(e,n){return new Promise(function(t,a){const i=e.session.store,o=s.ns;n.newInstance=n.newInstance||i.sym(n.newBase+"index.ttl#this");const r=n.newInstance,u=r.doc(),d=c.authn.currentUser();d&&i.add(r,o.dc("author"),d,u),i.add(r,o.rdf("type"),o.meeting("Meeting"),u),i.add(r,o.dc("created"),new Date,u),i.add(r,o.ui("backgroundColor"),new l.Literal("#ddddcc",void 0,o.xsd("color")),u);const p=new l.Collection;i.add(r,o.meeting("toolList"),p,u),p.elements.push(r),i.updater.put(u,i.statementsMatching(void 0,void 0,void 0,u),"text/turtle",function(e,i,o){i?t(n):a(new Error("Error writing meeting configuration: "+o))})})},render:function(e,n){const t=n.dom,a=n.session.store,i=s.ns,o=a.updater,r=this,u=function(e,n){console.log(e);const a=t.createElement("pre");a.setAttribute("style","background-color: "+n||0),g.appendChild(a),a.appendChild(t.createTextNode(e))},p=function(e,n){e||u(n)},f=e,m=e.doc(),h=e.dir().uri,g=t.createElement("div"),b=g.appendChild(t.createElement("table"));b.style="width: 100%; height: 100%; margin:0;";const v=b.appendChild(t.createElement("tr"));v.appendChild(t.createElement("div"));const A=b.appendChild(t.createElement("tr")),y=b.appendChild(t.createElement("td")).appendChild(t.createElement("table")).appendChild(t.createElement("tr"));v.setAttribute("style","height: 2em;");let w=null;const x=function(){o.put(m,a.statementsMatching(void 0,void 0,void 0,m),"text/turtle",function(e,n,t){n?(W.refresh(),H()):u(t="FAILED to save new thing at: "+m+" : "+t)})},C=function(e,n,t){const r=n.doc();t&&a.add(f,t,n,r),a.add(n,i.meeting("parentMeeting"),f,r),o.put(r,a.statementsMatching(void 0,void 0,void 0,r),"text/turtle",function(e,t,a){t?x():u("FAILED to save new tool at: "+n+" : "+a)})},E=function(e,n,t,o){n&&a.add(f,n,e,m);const r=s.widgets.newThing(m);return t&&a.add(r,i.rdfs("label"),t,m),o&&a.add(r,i.meeting("icon"),a.sym(o),m),a.add(r,i.rdf("type"),i.meeting("Tool"),m),a.add(r,i.meeting("target"),e,m),a.the(f,i.meeting("toolList")).elements.push(r),r};function k(e){const n=/https:\/\/www\.google\..*\/maps\//,t="https://www.google.com/maps/embed/v1/",a=e.uri;if(!a.match(n))return e;if(a.startsWith(t))return e;const i=a.replace(n,t)+"&key=AIzaSyB8aaT6bY9tcLCmc2oPCkdUYLmTOWM8R54";return console.log("Converted Google Map URI! "+i),l.sym(i)}const B=function(t){Promise.all(t.map(function(t){return function(t){return new Promise(function(o){console.log("Dropped on thing "+t);const r=t.uri;if(r.startsWith("http:")&&r.indexOf("#")<0)return function(t){const o=i.wf("attachment");a.add(e,o,t,e.doc()),N({icon:"noun_160581.svg",limit:1,shareTab:!0},{newInstance:e,pane:n.session.paneRegistry.byName("link"),predicate:i.meeting("attachmentTool"),tabTitle:"Links",view:"link",noIndexHTML:!0})}(t),o(t);a.fetcher.nowOrWhenFetched(t,function(e,n){function c(e){e=k(e),console.log("make web page attachement tab "+e);const n=E(e,s.ns.wf("attachment"),s.utils.label(e),null);return a.add(n,s.ns.meeting("view"),"iframe",m),o(e)}if(e){const e=t,n=a.findTypeURIs(e);for(const e in n)console.log(" drop object type includes: "+e);if(i.vcard("Individual").uri in n||i.foaf("Person").uri in n||i.foaf("Agent").uri in n)return function(e){const n=a.any(e,i.foaf("preferredURI")),t=n?a.sym(n):e,o=a.any(f,i.meeting("attendeeGroup")),r=function(e,n){const t=[l.st(n,s.ns.vcard("hasMember"),e,n.doc())],o=a.any(e,i.vcard("fn"))||a.any(e,i.foaf("name"));o&&t.push(l.st(e,s.ns.vcard("fn"),o,n.doc())),a.fetcher.nowOrWhenFetched(n.doc(),void 0,function(i,o){i?a.updater.update([],t,function(n,t,a){p(t,a),t&&console.log("Addded to particpants OK: "+e)}):u("Can't read group to add person"+n)})};o?r(t,o):F().then(function(e){const n=e.newInstance;r(t,n),a.fetcher.putBack(m,{contentType:"text/turtle"}).then(function(e){console.log("Particiants Group created: "+n)})}).catch(function(e){u(e)})}(t),o(t);if(r.startsWith("https:")&&r.indexOf("#")<0){const e=a.fetcher.getHeader(t,"x-frame-options");let n=!0;if(e)for(let t=0;t<e.length;t++)console.log("x-frame-options: "+e[t]),e[t].indexOf("sameorigin")<0&&(n=!1),e[t].indexOf("deny")<0&&(n=!1);if(n)return function(e){const n=E(e,s.ns.wf("attachment"),s.utils.label(e),null);a.add(n,s.ns.meeting("view"),"iframe",m)}(t=k(t)),o(t)}return console.log("Default: assume web page attachement "+t),c(t)}return console.log("Error looking up dropped thing, will just add it anyway. "+t+": "+n),c(t)})})}(l.sym(t))})).then(function(e){x()})},S=function(e){s.widgets.uploadFiles(a.fetcher,e,f.dir().uri+"Files",f.dir().uri+"Pictures",function(e,n){e.type.startsWith("image/")?T("Files"):P("Pictures")})},T=function(e){return N({icon:"noun_598334.svg",limit:1,shareTab:!0},{newInstance:a.sym(f.dir().uri+e+"/"),pane:n.session.paneRegistry.byName("folder"),predicate:i.meeting("pictures"),shareTab:!0,tabTitle:e,view:"slideshow",noIndexHTML:!0})},P=function(e){return N({icon:"noun_681601.svg",limit:1,shareTab:!0},{newInstance:a.sym(f.dir().uri+"Files/"),pane:n.session.paneRegistry.byName("folder"),predicate:i.meeting("materialsFolder"),tabTitle:"Materials",noIndexHTML:!0})},F=function(){return N({icon:"noun_339237.svg",limit:1,shareTab:!0},{newInstance:a.sym(f.dir().uri+"Attendees/index.ttl#this"),pane:n.session.paneRegistry.byName("contact"),predicate:i.meeting("attendeeGroup"),tabTitle:"Attendees",instanceClass:i.vcard("Group"),instanceName:s.utils.label(e)+" attendees",noIndexHTML:!0})};function N(e,t){return new Promise(function(a,i){const o=n.session.store;if(!t.useExisting){const n=o.any(f,t.predicate);if(n){if(e.limit&&1===e.limit&&!e.shareTab)return u("Already have "+n+" as "+s.utils.label(t.predicate)),u("Cant have two"),a(null);if(e.shareTab)return console.log("Using existing "+n+" as "+s.utils.label(t.predicate)),a({me:w,newInstance:n,instanceClass:t.instanceClass})}}w||t.me||i(new Error("Username not defined for new tool")),t.me=t.me||w,t.newInstance=t.useExisting||t.newInstance||o.sym(t.newBase+"index.ttl#this"),t.pane.mintNew(n,t).then(function(e){const n=E(e.newInstance,e.predicate,e.tabTitle,e.pane.icon);e.view&&o.add(n,s.ns.meeting("view"),e.view,m),x(),o.fetcher.putBack(m,{contentType:"text/turtle"}).then(function(n){a(e)}).catch(function(e){i(e)})}).catch(function(e){u(e),i(e)})})}const L=function(){const e=s.login.selectWorkspace(t,{noun:"meeting"},function(a,i){r.mintNew(n,{newBase:i}).then(function(n){const a=n.newInstance;D.removeChild(e);const i=D.appendChild(t.createElement("p"));i.setAttribute("style","font-size: 140%;"),i.innerHTML="Your <a target='_blank' href='"+a.uri+"'><b>new meeting</b></a> is ready to be set up. <br/><br/><a target='_blank' href='"+a.uri+"'>Go to your new meeting.</a>"}).catch(function(n){D.removeChild(e),D.appendChild(s.widgets.errorMessageBlock(t,n))})});D.appendChild(e)},I=[{icon:"noun_339237.svg",maker:function(e){const t=h+"Group/",a=n.session.store;let o=a.any(f,i.meeting("particpants"));o||(o=l.sym(t+"index.ttl#this")),console.log("Participant group: "+o);const r=E(o,i.meeting("particpants"),"Particpants",s.icons.iconBase+"noun_339237.svg");a.add(r,s.ns.meeting("view"),"peoplePicker",m),x()},hint:"Make a group of people",limit:1},{icon:"noun_346777.svg",maker:function(e){return N(e,{useExisting:f,pane:n.session.paneRegistry.byName("schedule"),view:"schedule",tabTitle:"Schedule poll",noIndexHTML:!0})},hint:"Make a poll to schedule the meeting"},{icon:"noun_48218.svg",maker:function(e){},limit:1,hint:"Add an agenda list",disabled:!0},{icon:"noun_79217.svg",maker:function(e){return N(e,{newBase:h+"SharedNotes/",predicate:s.ns.meeting("sharedNotes"),tabTitle:"Shared Notes",pane:n.session.paneRegistry.byName("pad")})},hint:"Add a shared notepad"},{icon:"noun_346319.svg",maker:function(e){const t=h+"Chat/",a=n.session.store;if(a.holds(f,i.meeting("chat")))return void console.log("Ignored - already have chat");const o=a.sym(t+"chat.ttl");a.add(o,i.rdf("type"),i.meeting("Chat"),o),E(o,i.meeting("chat"),"Chat",s.icons.iconBase+"noun_346319.svg"),C(0,o,i.meeting("chat"))},limit:1,hint:"Add a chat channel for the meeting"},{icon:"noun_17020.svg",maker:function(e){const t=h+"Actions/",a=n.session.store;if(a.holds(f,i.meeting("actions")))return void console.log("Ignored - already have actions");const o=a.sym(t+"config.ttl"),r=a.sym(t+"config.ttl#this"),l=a.sym(t+"state.ttl");a.add(r,i.dc("title"),(a.anyValue(f,i.cal("summary"))||"Meeting ")+" actions",o),a.add(r,i.wf("issueClass"),i.wf("Task"),o),a.add(r,i.wf("initialState"),i.wf("Open"),o),a.add(r,i.wf("stateStore"),l,o),a.add(r,i.wf("assigneeClass"),i.foaf("Person"),o),a.add(r,i.rdf("type"),i.wf("Tracker"),o),a.add(r,i.rdf("type"),i.wf("Tracker"),o),E(r,i.meeting("actions"),"Actions",s.icons.iconBase+"noun_17020.svg"),C(0,r,i.meeting("actions"))},limit:1,hint:"Add a list of action items"},{icon:"noun_260227.svg",maker:function(e){const t=n.session.store,a=l.sym("https://meet.jit.si/"+s.utils.genUuid());if(t.holds(f,i.meeting("videoCallPage")))return void console.log("Ignored - already have a videoCallPage");t.add(a,i.rdf("type"),i.meeting("VideoCallPage"),m);const o=E(a,i.meeting("videoCallPage"),"Video call",s.icons.iconBase+"noun_260227.svg");t.add(o,i.meeting("view"),"iframe",m),x()},limit:1,hint:"Add a video call for the meeting"},{icon:"noun_25830.svg",maker:function(e){s.widgets.askName(t,a,D,i.log("uri"),s.ns.rdf("Resource")).then(function(e){if(!e)return H();const t=n.session.store,a=s.ns,i=t.sym(e),o=E(i,a.wf("attachment"),s.utils.label(i),null);t.add(o,a.meeting("view"),"iframe",m),x()}).catch(function(e){u("Error making new sub-meeting: "+e)})},hint:"Attach meeting materials",disabled:!1},{icon:"noun_123691.svg",maker:function(e){const t=n.session.store,a=s.ns,i=f.dir();if(e.limit&&1===e.limit&&t.holds(f,a.wf("sharingControl")))return void u("Ignored - already have "+s.utils.label(G.predicate));const o=E(i,a.wf("sharingControl"),"Sharing",s.icons.iconBase+"noun_123691.svg");t.add(o,a.meeting("view"),"sharing",m),x()},limit:1,hint:"Control Sharing",disabled:!1},{icon:"noun_66617.svg",maker:function(e){s.widgets.askName(t,a,D,i.foaf("name"),s.ns.meeting("Meeting")).then(function(t){if(!t)return H();const a=encodeURIComponent(t),i={newBase:h+a+"/",predicate:s.ns.meeting("subMeeting"),tabTitle:t,pane:n.session.paneRegistry.byName("meeting")};return N(e,i)}).catch(function(e){u("Error making new sub-meeting: "+e)})},hint:"Make a sub meeting",disabled:!1}],_=l.sym("https://solid.github.io/solid-panes/meeting/meetingDetailsForm.ttl#settings");l.parse('@prefix : <http://www.w3.org/ns/ui#> .\n@prefix f: <#> .\n@prefix dc: <http://purl.org/dc/elements/1.1/>.\n@prefix cal: <http://www.w3.org/2002/12/cal/ical#>.\n@prefix meeting: <http://www.w3.org/ns/pim/meeting#>.\n@prefix ns: <http://www.w3.org/2006/vcard/ns#> .\n@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .\n@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.\n@prefix te: <http://purl.org/dc/terms/> .\n@prefix dc: <http://purl.org/dc/elements/1.1/>.\n@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.\n@prefix ui: <http://www.w3.org/ns/ui#>.\n\n f:main a :Form;\n cal:summary "Meeting Details";\n :part f:titleField, f:locationField, f:startField,\n f:endField, f:eventComment, f:colorField .\n\n f:titleField a :SingleLineTextField;\n :maxLength 256;\n :property cal:summary;\n :label "Name of meeting";\n :size 80 .\n\n f:locationField a :SingleLineTextField;\n :maxLength 128;\n :property cal:location;\n :size 40 .\n\n f:startField a :DateField;\n :label "Start";\n :property cal:dtstart .\n\n f:endField a :DateField;\n :label "End";\n :property cal:dtend .\n\n f:colorField a :ColorField;\n :label "Tab color";\n # :default "#ddddcc"^^xsd:color;\n :property ui:backgroundColor .\n\n f:eventComment\n a ui:MultiLineTextField;\n # ui:maxLength\n # "1048";\n # ui:size\n # "40".\n ui:property\n cal:comment.\n\n###################################################\n\nf:settings a :Form;\n dc:title "Tab settings";\n :part f:labelField, f:targetField, f:viewField.\n\n f:labelField a :SingleLineTextField;\n :maxLength 128;\n :property rdfs:label;\n :label "Label on tab";\n :size 40 .\n\n f:targetField a :NamedNodeURIField;\n :maxLength 1024; # Longer?\n :property meeting:target;\n :label "URL of resource";\n :size 80 .\n\n f:colorField2 a :ColorField;\n :label "Tab color";\n # :default "#ddddcc"^^xsd:color;\n :property ui:backgroundColor .\n\n f:viewField a :SingleLineTextField;\n :maxLength 128;\n :property meeting:view;\n :label "View mode (experts only)";\n :size 40 .\n\n#\n',a,_.doc().uri,"text/turtle");const O="padding: 1em; width: 3em; height: 3em;",R=y.appendChild(t.createElement("td")),D=y.appendChild(t.createElement("td")),M=R.appendChild(t.createElement("img"));let j=!1;M.setAttribute("src",s.icons.iconBase+"noun_19460_green.svg"),M.setAttribute("style",O+"opacity: 50%;"),M.setAttribute("title","Add another tool to the meeting");const z=function(e){j=!j,M.setAttribute("style",O+(j?"background-color: yellow;":"")),$(j?"":"display: none;")};let U;c.authn.checkUser().then(e=>{if(e)return w=e,M.addEventListener("click",z),void M.setAttribute("style",O);U=s.login.loginStatusBox(t,e=>{e?(w=a.sym(e),D.removeChild(U),M.addEventListener("click",z),M.setAttribute("style",O)):(console.log("(Logged out)"),w=null)}),U.setAttribute("style","margin: 0.5em 1em;"),D.appendChild(U)});const q=[];for(let e=0;e<I.length;e++)(function(){const n=I[e],a=R.appendChild(t.createElement("img"));a.setAttribute("src",s.icons.iconBase+n.icon),a.setAttribute("style",O+"display: none;"),q.push(a),a.tool=n;const i=n.maker;n.disabled||a.addEventListener("click",function(e){V(a),i(n)})})();const $=function(e){for(let n=0;n<q.length;n++){let t=O+e;I[n].disabled&&(t+="opacity: 0.3;"),q[n].setAttribute("style",t)}},H=function(){$("display: none;"),M.setAttribute("style",O)},V=function(e){$("display: none;"),e.setAttribute("style",O+"background-color: yellow;")},G={dom:t};G.predicate=i.meeting("toolList"),G.subject=e,G.ordered=!0,G.orientation=1,G.renderMain=function(e,o){let r,p=null,h=null;e.innerHTML="";const g=function(n,t){n||(e.textContent=""+t)},b=function(){e.appendChild(t.createElement("h3")).textContent="Details of meeting";const n=l.sym("https://solid.github.io/solid-panes/meeting/meetingDetailsForm.ttl#main");s.widgets.appendForm(document,e,{},f,n,f.doc(),g),e.appendChild(function(){const e=t.createElement("div"),n=e.appendChild(t.createElement("p"));return n.setAttribute("style","margin: 0em; padding:3em; color: #888;"),n.textContent="Tip: Drag URL-bar icons of web pages into the tab bar on the left to add new meeting materials.",e}()),w=c.authn.currentUser(),w&&a.add(f,i.dc("author"),w,m);const o={noun:"meeting",me:w,statusArea:e,div:e,dom:t};s.login.registrationControl(o,f,i.meeting("Meeting")).then(function(e){console.log("Registration control finsished.")}),s.pad.manageParticipation(t,e,m,f,w,{});const r="height: 2em; width: 2em; margin:0.5em;",u=e.appendChild(t.createElement("div")),d=u.appendChild(t.createElement("img"));d.setAttribute("src",s.icons.iconBase+"noun_145978.svg"),d.setAttribute("title","Make a fresh new meeting"),d.addEventListener("click",L),d.setAttribute("style",r);const p=u.appendChild(t.createElement("a"));p.setAttribute("href","https://github.com/solid/solid-panes"),p.setAttribute("target","_blank");const h=p.appendChild(t.createElement("img"));h.setAttribute("src",s.icons.iconBase+"noun_368567.svg"),h.setAttribute("title","Fork me on github"),h.setAttribute("style",r+"opacity: 50%;")};if(a.holds(o,i.rdf("type"),i.meeting("Tool"))){const m=a.any(o,i.meeting("target"));if(m.sameTerm(f)&&!a.any(o,i.meeting("view")))b();else{let g=a.any(o,i.meeting("view"));g=g?g.value:null,"details"===g?b():"peoplePicker"===g?function(){const n={div:e,dom:t};e.appendChild(t.createElement("h4")).textContent="Meeting Participants";const o=function(e){const n=[l.st(f,i.meeting("particpantGroup"),e,f.doc())];a.updater.update([],n,function(n,t,a){t?h=e:u("Cant save participants group: "+a)})};h=a.any(f,i.meeting("particpantGroup")),c.authn.checkUser().then(e=>{e&&d(a.sym(e)).then(function(){const e={defaultNewGroupName:"Meeting Participants",selectedGroup:h};new s.widgets.PeoplePicker(n.div,n.index.private[0],o,e).render()})})}():"iframe"===g?function(n){const a=e.appendChild(t.createElement("iframe"));a.setAttribute("src",n.uri),a.setAttribute("style","border: none; margin: 0; padding: 0; height: 100%; width: 100%;"),a.setAttribute("allow","microphone camera"),a.setAttribute("name","disable-x-frame-options"),e.style.padding=0}(m):(p=g?n.session.paneRegistry.byName(g):null,r=e.appendChild(t.createElement("table")),r.style.width="100%",n.getOutliner(t).GotoSubject(m,!0,p,!1,void 0,r))}}else o.sameTerm(f)?b():(!o.sameTerm(o.doc())||a.holds(o,s.ns.rdf("type"),s.ns.meeting("Chat"))||a.holds(o,s.ns.rdf("type"),s.ns.meeting("PaneView")))&&(r=e.appendChild(t.createElement("table")),n.getOutliner(t).GotoSubject(o,!0,void 0,!1,void 0,r))},G.renderTab=function(e,n){if(a.holds(n,i.rdf("type"),i.meeting("Tool"))){const o=a.any(n,i.meeting("target"));let r=a.any(n,i.rdfs("label"));r=r?r.value:s.utils.label(o);const l=e.appendChild(t.createElement("div"));l.textContent=r,l.setAttribute("style","margin-left: 0.7em");const c=a.any(n,i.meeting("icon"));if(c){const n=e.appendChild(t.createElement("table")).appendChild(t.createElement("tr")),a=n.appendChild(t.createElement("td")),i=n.appendChild(t.createElement("td")),o=a.appendChild(t.createElement("img"));o.setAttribute("src",c.uri),o.setAttribute("style","width: 1.5em; height: 1.5em;"),o.setAttribute("title",r),i.appendChild(l)}else e.appendChild(l)}else e.textContent=s.utils.label(n)},G.renderTabSettings=function(e,n){if(e.innerHTML="",e.style+="border-color: #eed;",e.appendChild(t.createElement("h3")).textContent="Adjust this tab",a.holds(n,i.rdf("type"),i.meeting("Tool"))){const o=l.sym("https://solid.github.io/solid-panes/meeting/meetingDetailsForm.ttl#settings");s.widgets.appendForm(document,e,{},n,o,f.doc(),p),s.widgets.deleteButtonWithCheck(t,e,"tab",function(){const e=a.the(f,i.meeting("toolList"));for(let t=0;t<e.elements.length;t++)if(e.elements[t].sameTerm(n)){e.elements.splice(t,1);break}const t=a.any(n,i.meeting("target")),o=a.statementsMatching(n).concat(a.statementsMatching(void 0,void 0,n)).concat(a.statementsMatching(f,void 0,t));a.remove(o),x()}).setAttribute("style","width: 1.5em; height: 1.5em;")}else e.appendChild(t.createElement("h4")).textContent="(No adjustments available)"},G.backgroundColor=a.anyValue(e,i.ui("backgroundColor"))||"#ddddcc";const W=A.appendChild(s.tabs.tabWidget(G));return s.aclControl.preventBrowserDropEvents(t),s.widgets.makeDropTarget(W.tabContainer,B,S),s.widgets.makeDropTarget(R,B,S),g}};return r})(),e.exports=a(t(9426),t(5491),t(5663))},7598(e,n,t){e.exports=t(1813)},6049(e,n,t){"use strict";var a,i,o=t(7598),r=t(8466).extname,s=t(983),l=/^\s*([^;\s]*)(?:;|\s|$)/,c=/^text\//i;function u(e){if(!e||"string"!=typeof e)return!1;var n=l.exec(e),t=n&&o[n[1].toLowerCase()];return t&&t.charset?t.charset:!(!n||!c.test(n[1]))&&"UTF-8"}function d(e){if(!e||"string"!=typeof e)return!1;var t=l.exec(e),a=t&&n.extensions[t[1].toLowerCase()];return!(!a||!a.length)&&a[0]}function p(e,n,t){return(n?s(n,o[n].source):0)>(t?s(t,o[t].source):0)?n:t}function f(e,t,a){var i=["nginx","apache",void 0,"iana"],r=t?i.indexOf(o[t].source):0,s=a?i.indexOf(o[a].source):0;return"application/octet-stream"!==n.types[d]&&(r>s||r===s&&"application/"===n.types[d]?.slice(0,12))||r>s?t:a}n.charset=u,n.charsets={lookup:u},n.contentType=function(e){if(!e||"string"!=typeof e)return!1;var t=-1===e.indexOf("/")?n.lookup(e):e;if(!t)return!1;if(-1===t.indexOf("charset")){var a=n.charset(t);a&&(t+="; charset="+a.toLowerCase())}return t},n.extension=d,n.extensions=Object.create(null),n.lookup=function(e){if(!e||"string"!=typeof e)return!1;var t=r("x."+e).toLowerCase().slice(1);if(!t)return!1;return n.types[t]||!1},n.types=Object.create(null),n._extensionConflicts=[],a=n.extensions,i=n.types,Object.keys(o).forEach(function(e){var t=o[e].extensions;if(t&&t.length){a[e]=t;for(var r=0;r<t.length;r++){var s=t[r];i[s]=p(s,i[s],e);const a=f(s,i[s],e);a!==i[s]&&n._extensionConflicts.push([s,a,i[s]])}}})},983(e){var n={"prs.":100,"x-":200,"x.":300,"vnd.":400,default:900},t={nginx:10,apache:20,iana:40,default:30},a={application:1,font:2,audio:2,video:3,default:0};e.exports=function(e,i="default"){if("application/octet-stream"===e)return 0;const[o,r]=e.split("/"),s=r.replace(/(\.|x-).*/,"$1");return(n[s]||n.default)+(t[i]||t.default)+(a[o]||a.default)+(1-e.length/100)}},4059(e){const n=e.exports={};n.list=[],n.paneForIcon=[],n.paneForPredicate=[],n.register=function(e,t){if(e.requireQueryButton=t,e.name)if(console.log(" registering pane: "+e.name),e.label){if(n.list.push(e),e.name in n||(n[e.name]=e),e.icon&&(n.paneForIcon[e.icon]=e),e.predicates)for(const t in e.predicates)n.paneForPredicate[t]={pred:t,code:e.predicates[t]}}else console.log("*** No label for pane!");else console.log("*** No name for pane!")},n.byName=function(e){for(let t=0;t<n.list.length;t++)if(n.list[t].name===e)return n.list[t];return console.warn(`No view with name ${e} found in the registry of views (aka paneRegistry)`),null}},5956(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.CVCard=void 0;var a=t(6752);t(8481);function i(e,n=!1){return e&&e.length&&e[0]?a.html`${function(e,n=!1){return e&&n?a.html`
2
+ <li class="cvRole" role="listitem">
3
+ <strong class="cvOrg" aria-label="Organization">${e.orgName}</strong>
4
+ <span aria-label="Role title">${s(e.roleText)}</span>
5
+ <time aria-label="Employment period">${e.dates}</time>
6
+ </li>`:a.html``}(e[0],n)}${e.length>1?i(e.slice(1),n):a.html``}`:a.html``}function o(e,n=!1){return e&&e.length&&e[0]?a.html`${function(e,n=!1){return e&&n?a.html`<li class="cvSkill">${s(e)}</li>`:a.html``}(e[0],n)}${e.length>1?o(e.slice(1),n):a.html``}`:a.html``}function r(e,n=!1){return e&&e.length&&e[0]?a.html`${function(e,n=!1){return e&&n?a.html`<li class="cvLanguage">${e}</li>`:a.html``}(e[0],n)}${e.length>1?r(e.slice(1),n):a.html``}`:a.html``}function s(e){if(e&&e[0]>""){const n=e.split(" ");for(let e=0;e<n.length;e++)n[e]=n[e].charAt(0).toUpperCase()+n[e].substring(1);return n.join(" ")}return""}n.CVCard=e=>{const{rolesByType:n,skills:t,languages:s}=e,l=n.FutureRole||[],c=n.CurrentRole||[],u=n.PastRole||[],d=t||[],p=s||[],f=Array.isArray(l)&&l.length>0,m=Array.isArray(c)&&c.length>0,h=Array.isArray(u)&&u.length>0,g=Array.isArray(d)&&d.length>0,b=Array.isArray(p)&&p.length>0;return f||m||h||g||b?a.html`
7
+ <article class="cvCard" aria-label="Resume" data-testid="curriculum-vitae">
8
+ ${f?a.html`
9
+ <section class="cvSection" aria-labelledby="cv-future-heading">
10
+ <h3 id="cv-future-heading">Future Roles</h3>
11
+ <ul role="list" aria-label="Upcoming work experience">
12
+ ${i(l,!0)}
13
+ </ul>
14
+ </section>
15
+ `:""}
16
+
17
+ ${m?a.html`
18
+ <section class="cvSection" aria-labelledby="cv-current-heading">
19
+ <h3 id="cv-current-heading">Current Roles</h3>
20
+ <ul role="list" aria-label="Current work experience">
21
+ ${i(c,!0)}
22
+ </ul>
23
+ </section>
24
+ `:""}
25
+
26
+ ${h?a.html`
27
+ <section class="cvSection" aria-labelledby="cv-past-heading">
28
+ <h3 id="cv-past-heading">Past Roles</h3>
29
+ <ul role="list" aria-label="Previous work experience">
30
+ ${i(u,!0)}
31
+ </ul>
32
+ </section>
33
+ `:""}
34
+
35
+ ${g?a.html`
36
+ <section class="cvSection" aria-labelledby="cv-skills-heading">
37
+ <h3 id="cv-skills-heading">Skills</h3>
38
+ <ul role="list" aria-label="Professional skills and competencies">
39
+ ${o(d,!0)}
40
+ </ul>
41
+ </section>
42
+ `:""}
43
+
44
+ ${b?a.html`
45
+ <section class="cvSection" aria-labelledby="cv-languages-heading">
46
+ <h3 id="cv-languages-heading">Languages</h3>
47
+ <ul role="list" aria-label="Known languages">
48
+ ${r(p,!0)}
49
+ </ul>
50
+ </section>
51
+ `:""}
52
+ </article>
53
+ `:a.html``}},7408(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.datesAsText=c,n.languageAsText=l,n.presentCV=function(e,n){const t=function(e,n){const t=e.each(null,o("member"),n,null),a={PastRole:[],CurrentRole:[],FutureRole:[]};for(const n of t){let t,s,l,u,d;const p=e.any(n,i.ns.schema("startDate")),f=e.any(n,i.ns.schema("endDate")),m=c(p,f),h=e.any(n,o("organization"));h&&(s=e.anyJS(h,i.ns.schema("name")),t=e.any(h,i.ns.schema("uri")),d=e.any(h,i.ns.solid("publicId"))),d&&(l=e.anyJS(d,i.ns.schema("name")));const g=l||s,b=e.any(n,o("role"));b&&(u=e.anyJS(b,i.ns.schema("name")));const v=e.anyJS(n,i.ns.vcard("role")),A={startDate:p,endDate:f,orgName:g,roleText:v&&u?u+" - "+v:v||u,dates:m,orgHomePage:t};for(const t of r)e.holds(n,i.ns.rdf("type"),i.ns.solid(t))&&a[t].push(A)}return a}(n,e);for(const e of r)t[e].sort(function(e,n){return e.endDate&&n.endDate?e.endDate>n.endDate?-1:1:e.startDate>n.startDate?-1:1});const a=n.each(e,i.ns.schema("skills")).map(e=>s(n,e)).filter(e=>""!==e),d=n.each(e,i.ns.schema("knowsLanguage")).flatMap(e=>u(n,e)).map(e=>l(n,e)),p=Array.from(new Set(d));return{rolesByType:t,skills:a,languages:p}},n.skillAsText=s,n.typesOfRole=void 0;var a=t(5491),i=t(9426);const o=(0,a.Namespace)("http://www.w3.org/ns/org#"),r=n.typesOfRole=["PastRole","CurrentRole","FutureRole"];function s(e,n){if("Literal"===n.termType)return n.value;const t=e.anyJS(n,i.ns.solid("publicId"));if(t){const n=e.anyJS(t,i.ns.schema("name"));if(n)return n}const a=e.anyJS(n,i.ns.vcard("role"));return a&&a[0]>""?a:""}function l(e,n){if("Literal"===n.termType)return n.value;const t=e.anyJS(n,i.ns.solid("publicId"));return t?i.utils.label(t,!0):""}function c(e,n){return e?"("+e.value.slice(0,10)+" to "+(n?n.value.slice(0,10):"")+")":""}function u(e,n){const t=n.elements;if(Array.isArray(t))return t.flatMap(n=>u(e,n));if(!e.any(n,i.ns.rdf("first")))return[n];const a=[];let o=n;for(;o;){const n=e.any(o,i.ns.rdf("first"));n&&a.push(...u(e,n));const t=e.any(o,i.ns.rdf("rest"));if(!t||"NamedNode"===t.termType&&t.value===i.ns.rdf("nil").value)break;o=t}return a}},4799(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.ChatWithMe=void 0;var a=t(6752),i=t(9426),o=t(5663),r=t(4697),s=t(1363),l=t(4198);t(2252);n.ChatWithMe=(e,n)=>{const t=n.session.logic,c=n.session.paneRegistry.byName("long chat");return a.html` ${(0,r.asyncReplace)(async function*(){const r=n.dom.createElement("section");r.setAttribute("class","chatSection section-centered"),r.setAttribute("aria-labelledby","chat-section-title"),r.setAttribute("role","region"),r.setAttribute("data-testid","chat");const u=n.dom.createElement("h3");let d;u.id="chat-section-title",u.className="sr-only",u.textContent="Communication",r.appendChild(u);try{yield a.html`
54
+ <div class="buttonSubSection">
55
+ <div class="actionButton loading-text center" role="status" aria-live="polite">
56
+ ${s.loadingMessage.toUpperCase()}
57
+ </div>
58
+ </div>
59
+ `,d=await t.chat.getChat(e,!1)}catch(p){d=!1}if(d){const f=n.dom.createElement("div");f.setAttribute("role","log"),f.setAttribute("aria-label","Chat conversation"),f.appendChild(c.render(d,n,{})),r.appendChild(f),yield r}else{const m=o.authn.currentUser();let h=(0,l.checkIfAnyUserLoggedIn)(m)?s.chatWithMeButtonText.toUpperCase():s.logInToChatWithMeButtonText.toUpperCase();const g=i.widgets.button(n.dom,void 0,h,b,{needsBorder:!0});async function b(a){a.preventDefault();try{const a=await t.chat.getChat(e,!0);r.innerHTML="",r.appendChild(c.render(a,n,{}))}catch(e){(0,l.complain)(r,n,e)}}function v(){const e=o.authn.currentUser();(0,l.checkIfAnyUserLoggedIn)(e)?g.innerHTML=s.chatWithMeButtonText.toUpperCase():g.innerHTML=s.logInToChatWithMeButtonText.toUpperCase()}g.refresh=v(),g.setAttribute("type","button"),g.setAttribute("aria-describedby","chat-button-description");const A=n.dom.createElement("span");A.id="chat-button-description",A.className="sr-only",A.textContent="Start a new conversation or sign in to continue existing chat",g.classList.add("actionButton","btn-primary","action-button-focus"),r.appendChild(g),r.appendChild(A),yield r}}())} `}},1119(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.extractFriends=n.FriendList=void 0;var a=t(9426),i=t(6752);t(9480);n.FriendList=(e,n)=>{const t=o(e,n);return t&&t.textContent?.trim()?i.html`
60
+ <section
61
+ class="friendListSection"
62
+ role="region"
63
+ aria-labelledby="friends-section-title"
64
+ data-testid="friend-list"
65
+ >
66
+ <nav aria-label="Friend profiles">
67
+ <ul class="list-reset zebra-stripe" role="list">
68
+ ${t}
69
+ </ul>
70
+ </nav>
71
+ </section>
72
+ `:null};const o=(e,{dom:n})=>{const t=n.createElement("div");return a.widgets.attachmentList(n,e,t,{doc:e.doc(),modify:!1,predicate:a.ns.foaf("knows"),noun:"friend"}),""===t.textContent?null:(t.querySelectorAll("li").forEach((e,n)=>{e.classList.add("friendItem");const t=e.querySelector("a");t&&t.textContent?e.setAttribute("aria-label",`Friend: ${t.textContent.trim()}`):e.textContent?e.setAttribute("aria-label",`Friend: ${e.textContent.trim()}`):e.setAttribute("aria-label",`Friend ${n+1}`)}),t)};n.extractFriends=o},8348(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.ProfileCard=void 0;var a=t(6752);t(519);var i=t(4695),o=t(7983);n.ProfileCard=({name:e,imageSrc:n,introduction:t,location:l,pronouns:c,highlightColor:u,backgroundColor:d},p,f)=>a.html`
73
+ <article class="profileCard" aria-labelledby="profile-name">
74
+ <h2 id="profile-name" class="sr-only">${e}</h2>
75
+ <header class="header flex-column-center mb-md" aria-label="Profile information">
76
+ ${s(n,e)}
77
+ </header>
78
+
79
+ <section class="intro text-center" aria-label="About">
80
+ ${r(t,"","About")}
81
+ ${r(l,"🌐","Location")}
82
+ ${r(c,"","Pronouns")}
83
+ </section>
84
+
85
+ <section class="buttonSection text-center" aria-label="Actions">
86
+ ${(0,i.addMeToYourFriendsDiv)(f,p)}
87
+ </section>
88
+
89
+ <div class="qrCodeSection section-centered">
90
+ ${(0,o.QRCodeCard)(u,d,f)}
91
+ </div>
92
+ </article>
93
+ `;const r=(e,n=a.nothing,t="")=>e?a.html`
94
+ <div class="details" role="text" ${t?`aria-label="${t}: ${e}"`:""}>
95
+ ${n} ${e}
96
+ </div>
97
+ `:a.nothing,s=(e,n)=>e?a.html`
98
+ <img
99
+ class="image"
100
+ src=${e}
101
+ alt="Profile photo of ${n}"
102
+ width="160"
103
+ height="160"
104
+ loading="eager"
105
+ />
106
+ `:a.html`
107
+ <div class="image-alt" role="img" aria-label="${n}" tabindex="0">
108
+ ${n}
109
+ </div>
110
+ `},3447(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.ProfileView=async function(e,n){const t=n.session.store,h=(0,r.presentProfile)(e,t),g=(0,s.presentCV)(e,t),b=(0,l.presentSocial)(e,t),v=await(0,c.presentStuff)(e);return a.html`
111
+ <main
112
+ id="main-content"
113
+ class="profile-grid"
114
+ style="--profile-grid-bg: radial-gradient(circle, ${h.backgroundColor} 80%, ${h.highlightColor} 100%)"
115
+ role="main"
116
+ aria-label="Profile for ${h.name}"
117
+ tabindex="-1"
118
+ >
119
+
120
+ <article
121
+ aria-labelledby="profile-card-heading"
122
+ class="profileSection section-bg"
123
+ role="region"
124
+ tabindex="-1"
125
+ >
126
+ <header class="text-center mb-md">
127
+ <h2 id="profile-card-heading" tabindex="-1">${h.name}</h2>
128
+ </header>
129
+ ${(0,u.ProfileCard)(h,n,e)}
130
+ </article>
131
+
132
+ ${(()=>{const e=(0,d.CVCard)(g);return e&&e.strings&&""!==e.strings.join("").trim()?a.html`
133
+ <section
134
+ aria-labelledby="cv-heading"
135
+ class="profileSection section-bg"
136
+ role="region"
137
+ tabindex="-1"
138
+ >
139
+ <header class="text-center mb-md">
140
+ <h2 id="cv-heading" tabindex="-1">${m.resumeHeadingText}</h2>
141
+ </header>
142
+ <div>
143
+ ${e}
144
+ </div>
145
+ </section>
146
+ `:""})()}
147
+
148
+ ${b.accounts&&b.accounts.length>0?a.html`
149
+ <aside
150
+ aria-labelledby="social-heading"
151
+ class="profileSection section-bg"
152
+ role="complementary"
153
+ tabindex="-1"
154
+ >
155
+ <header class="text-center mb-md">
156
+ <h2 id="social-heading" tabindex="-1">${m.socialAccountsHeadingText}</h2>
157
+ </header>
158
+ <nav aria-label="Social media links">
159
+ ${(0,p.SocialCard)(b)}
160
+ </nav>
161
+ </aside>
162
+ `:""}
163
+
164
+ ${v.stuff&&v.stuff.length>0?a.html`
165
+ <section
166
+ aria-labelledby="stuff-heading"
167
+ class="profileSection section-bg"
168
+ role="region"
169
+ tabindex="-1"
170
+ >
171
+ <header class="text-center mb-md">
172
+ <h2 id="stuff-heading" tabindex="-1">${m.sharedItemsHeadingText}</h2>
173
+ </header>
174
+ <div>
175
+ ${(0,f.StuffCard)(h,n,e,v)}
176
+ </div>
177
+ </section>
178
+ `:""}
179
+
180
+ ${(()=>{const t=(0,o.FriendList)(e,n);return t?a.html`
181
+ <aside
182
+ aria-labelledby="friends-heading"
183
+ class="profileSection section-bg"
184
+ role="complementary"
185
+ tabindex="-1"
186
+ >
187
+ <header class="text-center mb-md">
188
+ <h2 id="friends-heading" tabindex="-1">${m.friendsHeadingText}</h2>
189
+ </header>
190
+ <div role="list" aria-label="Friend connections">
191
+ ${t}
192
+ </div>
193
+ </aside>
194
+ `:""})()}
195
+
196
+ <section
197
+ aria-labelledby="chat-heading"
198
+ class="profileSection section-bg"
199
+ role="region"
200
+ tabindex="-1"
201
+ >
202
+ <header class="text-center mb-md">
203
+ <h2 id="chat-heading" tabindex="-1">${m.contactHeadingText}</h2>
204
+ </header>
205
+ <div>
206
+ ${(0,i.ChatWithMe)(e,n)}
207
+ </div>
208
+ </section>
209
+ </main>
210
+ `};var a=t(6752);t(1570);var i=t(4799),o=t(1119),r=t(4887),s=t(7408),l=t(6294),c=t(2865),u=t(8348),d=t(5956),p=t(1038),f=t(135),m=t(1363)},7983(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.QRCodeCard=void 0;var a=t(6752),i=t(9426);t(2592);var o=t(1363);function r(e){if(3===(e=e.replace(/^#/,"")).length&&(e=e.split("").map(e=>e+e).join("")),6!==e.length)return null;const n=parseInt(e,16);return{r:n>>16&255,g:n>>8&255,b:255&n}}function s({r:e,g:n,b:t}){const a=[e,n,t].map(function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)});return.2126*a[0]+.7152*a[1]+.0722*a[2]}n.QRCodeCard=(e,n,t)=>{const l=e||"#000000",c=n||"#ffffff",u=i.utils.label(t),d=function(e,n){const t=r(e),a=r(n);if(!t||!a)return 1;const i=s(t),o=s(a);return(Math.max(i,o)+.05)/(Math.min(i,o)+.05)}(l,c);d<4.5&&console.warn(`QRCodeCard: The contrast ratio between highlightColor (${l}) and backgroundColor (${c}) is ${d.toFixed(2)}, which is below the WCAG 2.1 recommended minimum of 4.5:1 for normal text.`);const p="FN:"+u+"\r\n",f="URL:"+t.uri+"r\n";setTimeout(()=>{const e=document.querySelector('.QRCode [role="img"]');if(e){const n=e.hasAttribute("aria-label"),t=e.hasAttribute("alt");n||t||console.warn("QRCodeCard: The QR code element should have an accessible label (aria-label or alt attribute) for screen readers.")}else console.warn('QRCodeCard: No element with role="img" found for the QR code. Ensure the QR code is rendered as an <img> or <canvas> with proper ARIA attributes.')},0);const m="BEGIN:VCARD\r\n"+p+f+"END:VCARD\r\nVERSION:4.0\r\n";return a.html`
211
+ <figure
212
+ class="QRCode"
213
+ data-value="${m}"
214
+ highlightColor="${l}"
215
+ backgroundColor="${c}"
216
+ data-testid="qrcode-card"
217
+ aria-labelledby="qr-code-caption"
218
+ role="img"
219
+ aria-describedby="qr-code-description"
220
+ >
221
+ <div
222
+ aria-label="Static QR code containing contact information for ${u}"
223
+ role="img"
224
+ tabindex="0"
225
+ ></div>
226
+ <figcaption
227
+ id="qr-code-caption"
228
+ class="qrCaption"
229
+ >
230
+ ${o.scanQrToConnectText}
231
+ </figcaption>
232
+ <div
233
+ id="qr-code-description"
234
+ class="sr-only"
235
+ >
236
+ This is a static QR code containing vCard information for ${u}, including profile URL ${t.uri}. The QR code is not interactive.
237
+ </div>
238
+ </figure>
239
+ `}},1038(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.SocialCard=void 0;var a=t(6752);t(2739);n.SocialCard=e=>{const{accounts:n}=e;if(n.length)return a.html`
240
+ <section
241
+ class="socialCard"
242
+ aria-labelledby="social-card-title"
243
+ data-testid="social-media"
244
+ >
245
+ <nav aria-label="Social media profiles">
246
+ <ul class="socialList list-reset" role="list">
247
+ ${n.map(e=>function(e){return e.homepage&&e.name&&e.icon?a.html`
248
+ <li class="socialItem" role="listitem">
249
+ <a
250
+ href="${e.homepage}"
251
+ target="_blank"
252
+ rel="noopener noreferrer"
253
+ aria-label="Visit ${e.name} profile (opens in new tab)"
254
+ >
255
+ <img
256
+ class="socialIcon"
257
+ src="${e.icon}"
258
+ alt="${e.name} icon"
259
+ width="40"
260
+ height="40"
261
+ loading="lazy"
262
+ />
263
+ <span class="text-wrap-anywhere">${e.name}</span>
264
+ </a>
265
+ </li>
266
+ `:a.html``}(e))}
267
+ </ul>
268
+ </nav>
269
+ </section>
270
+ `}},6294(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.presentSocial=function(e,n){function t(e){const t=n.any(e,a.ns.foaf("name"))||n.any(e,a.ns.rdfs("label"));if(t)return t.value;const i=n.each(e,a.ns.rdf("type"));for(const e of i){const t=n.any(e,a.ns.rdfs("label"));return t?t.value:a.utils.label(e)}return"Unknown Account"}function r(e){const t=n.any(e,a.ns.foaf("icon"));if(t)return t.value;const i=n.each(e,a.ns.rdf("type"));if(i.length>0)for(const e of i){const t=n.any(e,a.ns.foaf("icon"));if(null!==t)return t.value}return o}function s(e){const t=n.any(e,a.ns.foaf("homepage"));if(t)return t.value;const i=n.anyJS(e,a.ns.foaf("accountName"),null,e.doc())||"No_account_Name",o=n.each(e,a.ns.rdf("type"));for(const e of o)if("NamedNode"===e.termType){const t=n.any(e,a.ns.foaf("userProfilePrefix"));if(t)return t.value+i.trim()}return n.anyJS(e,a.ns.foaf("homepage"),null,e.doc())||""}function l(e){return{name:t(e),icon:r(e),homepage:s(e)}}(0,i.loadDocument)(n,'@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.\n@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.\n@prefix foaf: <http://xmlns.com/foaf/0.1/>.\n@prefix owl: <http://www.w3.org/2002/07/owl#>.\n@prefix solid: <http://www.w3.org/ns/solid/terms#>.\n@prefix ui: <http://www.w3.org/ns/ui#>.\n@prefix schema: <http://schema.org/>.\n@prefix vcard: <http://www.w3.org/2006/vcard/ns#>.\n@prefix org: <http://www.w3.org/ns/org#>.\n@prefix : <#>.\n\n########### ATTENTION - we cannot rename this ontology file name without migrating existing data on existing accounts\n\n########### Social Media - other accounts\n#\n# Twitter, linked In, Orkid, Mastodon, Matrix, Bluesky, Instagram, Facebook, Github,\n# Snapchat, TikTok, etc\n\n:this\n <http://purl.org/dc/elements/1.1/title> "Social media form" ;\n a ui:Form ;\n ui:parts (\n :SocialsForm\n ).\n\n:SocialsForm a ui:Multiple;\n ui:label "online account";\n ui:property foaf:account; # the triple is created with the foaf:acccounts predicate\n ui:ordered true; # Allow user to order occounts most important first.\n ui:part :AccountsForm.\n\n:AccountsForm a ui:Group; \n ui:weight 1; \n ui:parts ( \n :AccountField \n :AccountIdField ).\n\n:AccountField a ui:Classifier; \n ui:label "Account"@en;\n ui:multiple false ; \n ui:category foaf:Account. # the accounts are described by the foaf:Account predicate\n\n# this is what is needed to make a dropdown box\nfoaf:Account a rdfs:Class;\n rdfs:label "Online Account Provider";\n owl:disjointUnionOf ( \n :BlueSkyAccount :DiggAccount :FacebookAccount :GithubAccount :InstagramAccount\n :LinkedInAccount :MastodonAccount :MatrixAccount :MediumAccount :NostrAccount \n :OrcidAccount :PinterestAccount :RedditAccount :SnapchatAccount :StravaAccount \n :TiktokAccount :TumblrAccount :TwitterAccount :OtherAccount) .\n\n:AccountIdField a ui:Options; \n ui:dependingOn rdf:type; \n ui:case\n [ ui:for :BlueSkyAccount; ui:use :BlueSkyIdField ],\n [ ui:for :DiggAccount; ui:use :DiggIdField],\n [ ui:for :FacebookAccount; ui:use :FacebookIdField ],\n [ ui:for :GithubAccount; ui:use :GithubIdField ],\n [ ui:for :InstagramAccount; ui:use :InstagramIdField ],\n [ ui:for :LinkedInAccount; ui:use :LinkedInIdField ],\n [ ui:for :MastodonAccount; ui:use :MastodonIdField ],\n [ ui:for :MatrixAccount; ui:use :MatrixIdField ],\n [ ui:for :MediumAccount; ui:use :MediumIdField ],\n [ ui:for :NostrAccount; ui:use :NostrIdField ],\n [ ui:for :OrcidAccount; ui:use :OrcidIdField ],\n [ ui:for :PinterestAccount; ui:use :PinterestIdField ],\n [ ui:for :RedditAccount; ui:use :RedditIdField ],\n [ ui:for :StravaAccount; ui:use :StravaIdField ],\n [ ui:for :SnapchatAccount; ui:use :SnapchatIdField ],\n [ ui:for :TiktokAccount; ui:use :TiktokIdField ],\n [ ui:for :TumblrAccount; ui:use :TumblrIdField ],\n [ ui:for :TwitterAccount; ui:use :TwitterIdField ],\n [ ui:for :OtherAccount; ui:use :OtherIdForm ] .\n\n:BlueSkyAccount rdfs:subClassOf foaf:Account ;\n rdfs:label "Bluesky";\n foaf:userProfilePrefix "https://bsky.app/profile/";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/bluesky-1.svg>;\n foaf:homepage <https://bsky.app/> .\n\n:DiggAccount rdfs:subClassOf foaf:Account ;\n rdfs:label "Digg";\n foaf:userProfilePrefix "https://www.digg.com/";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/digg-icon.svg>;\n foaf:homepage <https://www.digg.com/> .\n\n:FacebookAccount rdfs:subClassOf foaf:Account ;\n rdfs:label "Facebook";\n foaf:userProfilePrefix "https://www.facebook.com/";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/facebook-2020-2-1.svg>;\n foaf:homepage <https://www.facebook.com/> .\n\n:GithubAccount rdfs:subClassOf foaf:Account ;\n rdfs:label "Github";\n foaf:userProfilePrefix "https://www.github.com/";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/github-icon.svg>;\n foaf:homepage <https://github.com/> .\n\n:InstagramAccount rdfs:subClassOf foaf:Account ;\n rdfs:label "Instagram";\n foaf:userProfilePrefix "https://www.instagram.com/";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/instagram-2016-5.svg>;\n foaf:homepage <https://www.instagram.com/> .\n\n:LinkedInAccount rdfs:subClassOf foaf:Account ;\n rdfs:label "LinkedIn";\n foaf:userProfilePrefix "https://www.linkedin.com/in/";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/linkedin-icon.svg>;\n foaf:homepage <https://linkedin.com/> .\n\n:MastodonAccount rdfs:subClassOf foaf:Account ;\n rdfs:label "Mastodon" ;\n foaf:userProfilePrefix "https://mastodon.social/";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/mastodon-2.svg>;\n foaf:homepage <https://joinmastodon.org/> .\n\n:MatrixAccount rdfs:subClassOf foaf:Account ;\n rdfs:label "Matrix" ;\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/matrix-logo-black.svg> ;\n foaf:userProfilePrefix "https://matrix.to/#/" ;\n foaf:homepage <https://matrix.org/> .\n\n:MediumAccount rdfs:subClassOf foaf:Account ;\n rdfs:label "Medium";\n foaf:userProfilePrefix "https://medium.com/";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/medium-logo-wordmark-black.svg>;\n foaf:homepage <https://medium.com/> .\n\n:NostrAccount rdfs:subClassOf foaf:Account ;\n rdfs:label "Nostr";\n foaf:userProfilePrefix "https://primal.net/p/";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/nostr-icon-purple-on-white.svg>;\n foaf:homepage <https://nostr.net/> .\n\n:OrcidAccount rdfs:subClassOf foaf:Account ;\n rdfs:label "ORCiD";\n foaf:userProfilePrefix "https://orcid.org/";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/ORCID-1.svg>;\n foaf:homepage <https://orcid.org/> .\n\n:PinterestAccount rdfs:subClassOf foaf:Account ;\n rdfs:label "Pinterest";\n foaf:userProfilePrefix "https://pin.it/";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/pinterest-2-1.svg>;\n foaf:homepage <https://pinterest.com/> .\n\n:RedditAccount rdfs:subClassOf foaf:Account ;\n rdfs:label "Reddit";\n foaf:userProfilePrefix "https://www.reddit.com/user/";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/reddit-4.svg>;\n foaf:homepage <https://reddit.com/> .\n\n:SnapchatAccount rdfs:subClassOf foaf:Account ;\n rdfs:label "Snapchat";\n foaf:userProfilePrefix "https://www.snapchat.com/add/";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/snapchat-1.svg>;\n foaf:homepage <https://www.snapchat.com/> .\n\n:StravaAccount rdfs:subClassOf foaf:Account ;\n rdfs:label "Strava";\n foaf:userProfilePrefix "https://www.strava.com/athletes/";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/strava-2.svg>;\n foaf:homepage <https://strava.com/> .\n\n:TiktokAccount rdfs:subClassOf foaf:Account ;\n rdfs:label "TikTok";\n foaf:userProfilePrefix "https://www.tiktok.com/@";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/tiktok-icon-2.svg>;\n foaf:homepage <https://www.tiktok.com/> .\n\n:TumblrAccount rdfs:subClassOf foaf:Account ;\n rdfs:label "Tumblr";\n foaf:userProfilePrefix "https://www.tumblr.com/";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/tumblr-icon.svg>;\n foaf:homepage <https://www.tumblr.com/> .\n\n:TwitterAccount rdfs:subClassOf foaf:Account ;\n rdfs:label "X";\n foaf:userProfilePrefix "https://x.com/";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/x-2.svg>;\n foaf:homepage <https://x.com/> .\n\n:OtherAccount rdfs:subClassOf foaf:Account ;\n rdfs:label "Other" ;\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/noun_1689339.svg> .\n\n:BlueSkyIdField\n a ui:SingleLineTextField ;\n ui:label "Username";\n ui:maxLength "200" ;\n ui:property foaf:accountName ; \n ui:pattern "@[a-z0-9A-Z_-](.[a-z0-9A-Z_-])*".\n\n:DiggIdField\n a ui:SingleLineTextField ;\n ui:label "Username";\n ui:maxLength "200" ;\n ui:property foaf:accountName ; \n ui:pattern "@[a-z0-9A-Z_-](.[a-z0-9A-Z_-])*".\n\n:FacebookIdField\n a ui:SingleLineTextField ;\n ui:label "Username";\n ui:property foaf:accountName ; \n ui:pattern "[a-z0-9A-Z_-]*".\n\n:GithubIdField\n a ui:SingleLineTextField ;\n ui:label "Username";\n ui:maxLength "200" ;\n ui:property foaf:accountName ; \n ui:pattern "[a-z0-9A-Z_-]*".\n\n:InstagramIdField\n a ui:SingleLineTextField ;\n ui:label "Username";\n ui:maxLength "200" ;\n ui:property foaf:accountName ; \n ui:pattern "[a-z0-9A-Z_-]*".\n\n:LinkedInIdField\n a ui:SingleLineTextField ;\n ui:label "Username";\n ui:maxLength "200" ;\n ui:property foaf:accountName ; \n ui:pattern "[a-z0-9A-Z_-]*(.[a-z0-9A-Z_-])*".\n\n:MastodonIdField\n a ui:SingleLineTextField ;\n ui:label "Username";\n ui:maxLength "200" ;\n ui:property foaf:accountName ; \n ui:pattern "@[a-z0-9A-Z_-]*(.[a-z0-9A-Z_-])*".\n\n:MatrixIdField\n a ui:SingleLineTextField ;\n ui:label "Username";\n ui:maxLength "200" ;\n ui:property foaf:accountName ; \n ui:pattern "@[a-z0-9A-Z_-]*(.[a-z0-9A-Z_-])*".\n\n:MediumIdField\n a ui:SingleLineTextField ;\n ui:label "Username";\n ui:maxLength "200" ;\n ui:property foaf:accountName ; \n ui:pattern "@[a-z0-9A-Z_-]*(.[a-z0-9A-Z_-])*".\n\n:NostrIdField\n a ui:SingleLineTextField ;\n ui:label "Username";\n ui:maxLength "200" ;\n ui:property foaf:accountName ; \n ui:pattern "[a-z0-9A-Z_-]*(.[a-z0-9A-Z_-])*".\n\n:OrcidIdField\n a ui:SingleLineTextField ;\n ui:label "Username";\n ui:maxLength "200" ;\n ui:property foaf:accountName ; \n ui:pattern "[a-z0-9A-Z_-]*".\n\n:PinterestIdField\n a ui:SingleLineTextField ;\n ui:label "Username";\n ui:maxLength "200" ;\n ui:property foaf:accountName ; \n ui:pattern "[a-z0-9A-Z_-]*".\n\n:RedditIdField\n a ui:SingleLineTextField ;\n ui:label "Username";\n ui:maxLength "200" ;\n ui:property foaf:accountName ; \n ui:pattern "[a-z0-9A-Z_-]*".\n\n:StravaIdField\n a ui:SingleLineTextField ;\n ui:label "Username";\n ui:maxLength "200" ;\n ui:property foaf:accountName ; \n ui:pattern "[a-z0-9A-Z_-]*".\n\n:SnapchatIdField\n a ui:SingleLineTextField ;\n ui:label "Username";\n ui:maxLength "200" ;\n ui:property foaf:accountName ; \n ui:pattern "@[a-z0-9A-Z_-]*".\n\n:TiktokIdField\n a ui:SingleLineTextField ;\n ui:label "Username";\n ui:maxLength "200" ;\n ui:property foaf:accountName ; \n ui:pattern "@[a-z0-9A-Z_-]*".\n\n:TumblrIdField\n a ui:SingleLineTextField ;\n ui:label "Username";\n ui:maxLength "200" ;\n ui:property foaf:accountName ; \n ui:pattern "@[a-z0-9A-Z_-]*".\n\n:TwitterIdField\n a ui:SingleLineTextField ;\n ui:label "Username";\n ui:maxLength "200" ;\n ui:property foaf:accountName ; \n ui:pattern "@[a-z0-9A-Z_-]*".\n\n# an unknown online account needs more info\n\n:OtherIdForm a ui:Group; \n ui:weight 0; \n ui:parts ( \n :OtherIdField \n :OtherIconField \n :OtherLabelField ).\n\n:OtherIdField\n a ui:NamedNodeURIField ;\n ui:label "Account link";\n ui:maxLength "200" ;\n ui:property foaf:homepage.\n\n:OtherIconField\n a ui:NamedNodeURIField ;\n ui:label "Icon link";\n ui:maxLength "200" ;\n ui:property foaf:icon.\n\n:OtherLabelField\n a ui:SingleLineTextField ;\n ui:label "Name";\n ui:maxLength "200" ;\n ui:property rdfs:label.\n\n# ends\n',"socialMedia.ttl");let c=n.each(e,a.ns.foaf("account")).flatMap(e=>function(e,n){const t=new Set;function i(n){const o=`${n.termType||typeof n}:${n.value||String(n)}`;if(t.has(o))return[];t.add(o);const r=n.elements;if(Array.isArray(r))return r.flatMap(e=>i(e));if(!e.any(n,a.ns.rdf("first")))return[n];const s=[];let l=n;for(;l;){const n=e.any(l,a.ns.rdf("first"));n&&s.push(...i(n));const t=e.any(l,a.ns.rdf("rest"));if(!t||"NamedNode"===t.termType&&t.value===a.ns.rdf("nil").value)break;l=t}return s}return i(n)}(n,e));const u=new Set,d=[];for(const e of c)if("NamedNode"===e.termType){const t=n.any(e,a.ns.foaf("accountName")),i=t?t.value:"";u.has(i)||(u.add(i),d.push(l(e)))}return d.length?{accounts:d}:{accounts:[]}};var a=t(9426),i=t(7824);const o=a.icons.iconBase+"noun_10636_grey.svg"},135(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.StuffCard=void 0,n.renderThing=r,n.renderThingAsDOM=o,n.renderThings=s;var a=t(6752),i=t(9426);t(2538);function o(e,n){return i.widgets.personTR(n,null,e.instance,{})}function r(e,n){return o(e,n)}function s(e,n){return 0===e.length?a.html``:a.html`${r(e[0],n)}${e.length>1?s(e.slice(1),n):a.html``}`}n.StuffCard=(e,n,t,i)=>{const{stuff:o}=i,r=n.dom||document;return a.html`
271
+ <section
272
+ class="stuffCard"
273
+ aria-labelledby="stuff-card-title"
274
+ role="region"
275
+ data-testid="stuff"
276
+ >
277
+ <header>
278
+ <h3 id="stuff-card-title" class="sr-only">Shared Resources</h3>
279
+ </header>
280
+ <div>
281
+ <table class="stuffTable" data-testid="stuffTable">
282
+ <caption class="sr-only">Files and resources shared by ${e.name}</caption>
283
+ <tbody class="zebra-stripe">
284
+ ${s(o,r)}
285
+ </tbody>
286
+ </table>
287
+ </div>
288
+ </section>
289
+ `}},2865(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.getIconForClass=u,n.iconForClassMap=void 0,n.presentStuff=async function(e){const n=await l(null,e);return{stuff:n.map(e=>{const n=u(e.type||i.ns.rdf("Resource"));return{href:e.instance.uri,name:i.utils.label(e.instance),icon:n,instance:e.instance}})}};var a=t(5491),i=t(9426),o=t(5663);const{iconForClass:r}=i.widgets,{typeIndex:s}=o.solidLogicSingleton,{getScopedAppInstances:l}=s,c=n.iconForClassMap={};for(const e in r){const n=e.split(":")[0],t=e.split(":")[1],o=i.ns[n](t);c[o.uri]=a.uri.join(r[e],i.icons.iconBase)}function u(e){return c[e.uri]||i.icons.iconBase+"noun_10636.svg"}},4695(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.addMeToYourFriendsDiv=void 0,n.checkIfFriendExists=f,n.createAddMeToYourFriendsButton=void 0,n.saveNewFriend=d;var a=t(6752),i=t(5663),o=t(5491),r=t(9426),s=t(4198),l=t(1363);t(519);let c=document.createElement("section");n.addMeToYourFriendsDiv=(e,n)=>{c=n.dom.createElement("section"),c.setAttribute("class","buttonSubSection text-truncate text-center section-centered"),c.setAttribute("aria-labelledby","add-me-to-your-friends-button-section"),c.setAttribute("data-testid","button");const t=n.dom.createElement("h3");t.setAttribute("id","add-me-to-your-friends-button-section"),t.setAttribute("class","sr-only"),t.textContent="Add me to your friends actions",c.appendChild(t);const i=u(e,n);return i.classList.add("actionButton","btn-primary","action-button-focus"),c.appendChild(i),a.html`${c}`};const u=(e,n)=>{let t=p(i.authn.currentUser())?l.addMeToYourFriendsButtonText.toUpperCase():l.logInAddMeToYourFriendsButtonText.toUpperCase();const a=r.widgets.button(n.dom,void 0,t,function(t){t.preventDefault(),d(e,n).then(()=>{(0,s.clearPreviousMessage)(c),(0,s.mention)(c,l.friendWasAddedSuccesMessage),o()}).catch(e=>{(0,s.clearPreviousMessage)(c),(0,s.complain)(c,n,e)})},{needsBorder:!0});function o(){const t=i.authn.currentUser(),o=n.session.store;p(t)?f(o,t,e).then(e=>{a.innerHTML=e?l.friendExistsAlreadyButtonText.toUpperCase():l.addMeToYourFriendsButtonText.toUpperCase()}):a.innerHTML=l.logInAddMeToYourFriendsButtonText.toUpperCase()}return a.refresh=o(),a};async function d(e,n){const t=i.authn.currentUser(),a=n.session.store;if(!p(t))throw new Error(l.userNotLoggedInErrorMessage);if(await f(a,t,e))throw new Error(l.friendExistsMessage);{await a.fetcher.load(t);const n=a.updater,i=[(0,o.st)(t,r.ns.foaf("knows"),e,t.doc())];try{await n.update([],i)}catch(e){let n=e;throw n.toString().includes("Unauthenticated")&&(n=l.userNotLoggedInErrorMessage),new Error(n)}}}function p(e){return!!e}async function f(e,n,t){return await e.fetcher.load(n),0!==e.whether(n,r.ns.foaf("knows"),t,n.doc())}n.createAddMeToYourFriendsButton=u},4198(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.checkIfAnyUserLoggedIn=function(e){return!!e},n.clearPreviousMessage=function(e){for(;e.childNodes.length>2;)e.removeChild(e.lastChild)},n.complain=function(e,n,t){const i=a.widgets.errorMessageBlock(n.dom,t);i.setAttribute("role","alert"),i.setAttribute("aria-live","assertive"),i.setAttribute("tabindex","0"),setTimeout(()=>{i.focus()},100),e.appendChild(i)},n.mention=function(e,n){const t=document.createElement("div");t.setAttribute("role","status"),t.setAttribute("aria-live","polite"),t.setAttribute("tabindex","0"),t.classList.add("actionButton","licOkay"),t.innerHTML=n,setTimeout(()=>{t.focus()},100),e.appendChild(t)};var a=t(9426)},6016(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.EditCVSection=function(e,n,t,a){const r=e.dom.createElement("section");r.setAttribute("data-testid","edit-cv-section"),r.setAttribute("aria-labelledby","edit-profile-cv-heading"),r.classList.add("profileSection","section-bg","profile-form");const s=e.dom.createElement("header");s.classList.add("text-center","mb-md");const l=e.dom.createElement("h2");if(l.id="edit-profile-cv-heading",l.classList.add("section-title"),l.textContent=o.resumeHeadingText,s.appendChild(l),r.appendChild(s),t){const n=e.dom.createElement("p");n.classList.add("p-md"),n.textContent="Edit your resume. These will be publicly visible on your profile.",r.appendChild(n)}else{const n=e.dom.createElement("p");n.classList.add("p-md"),n.textContent="Login to add resume information to your profile.",r.appendChild(n)}return(0,i.default)(r,n,'@prefix os: <http://www.w3.org/2000/10/swap/os#> .\n@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.\n@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.\n@prefix foaf: <http://xmlns.com/foaf/0.1/>.\n@prefix owl: <http://www.w3.org/2002/07/owl#>.\n@prefix solid: <http://www.w3.org/ns/solid/terms#>.\n@prefix ui: <http://www.w3.org/ns/ui#>.\n@prefix schema: <http://schema.org/>.\n@prefix vcard: <http://www.w3.org/2006/vcard/ns#>.\n@prefix org: <http://www.w3.org/ns/org#>.\n@prefix esco: <http://data.europa.eu/esco/model#>.\n@prefix wd: <http://www.wikidata.org/entity/>.\n@prefix wdt: <http://www.wikidata.org/prop/direct/>.\n\n@prefix : <#>.\n\n:this\n <http://purl.org/dc/elements/1.1/title> "Resume form" ;\n a ui:Form ;\n ui:parts (\n :CVGroup\n :SkillsHeading :SkillsForm\n :LanguagesHeading :LanguagesForm\n ).\n\n# Curriculum Vitae: membership of organizations\n\n:CVGroup a ui:Group; \n ui:weight 1; \n ui:parts ( \n :CVPrompt \n :involvementWithOrganizationsForm \n ).\n\n:CVPrompt a ui:Comment; ui:contents "What organizations have you been involved with?" .\n\n:involvementWithOrganizationsForm a ui:Multiple;\n ui:label "Involvement with organization";\n ui:property org:member; \n ui:reverse true; # link back from role to member\n ui:ordered false; # Allow user to order CV secions rather than force date order? No.\n ui:part :RoleMembershipForm.\n\norg:member owl:inverse [ ui:label "Involvement with organization" ]. # timelimited involvement\n\n# This is a big important form for one of a series of roles in the list.\n\n:RoleMembershipForm a ui:Group; \n ui:weight 3; \n ui:parts ( \n :MembershipFormHeading\n :RoleClassifier \n :roleNameField\n :escoOccupationField \n :orgField \n :RoleDatesForm \n :RoleDescriptionForm).\n\n:MembershipFormHeading a ui:Heading; \n ui:contents "Details of the role"@en, "Détailes de ce rôle"@fr .\n\n:roleNameField a ui:SingleLineTextField;\n ui:label "Job title";\n ui:property vcard:role .\n\n:escoOccupationField a ui:AutocompleteField;\n ui:label "Occupation in ESCO";\n ui:property org:role;\n ui:dataSource :ESCO_Occupation_DataSource;\n ui:targetClass schema:Occupation .\n\n :ESCO_Occupation_DataSource a ui:DataSource;\n schema:name "ESCO";\n ui:targetClass schema:Occupation ;\n schema:logo <https://ec.europa.eu/esco/portal/static_resource2/images/logo/logo_en.gif>;\n ui:searchByNameURI "https://ec.europa.eu/esco/api/search?language=$(language)&type=occupation&text=$(name)".\n\n:orgField a ui:Choice; \n ui:label "For organization"@en, "Pour l\'organisation"@fr;\n ui:canMintNew true; \n ui:use :OrganizationCreationForm ;\n ui:property org:organization;\n ui:from vcard:Organization .\n\nvcard:Organization ui:creationForm :OrganizationCreationForm .\n\n###### eposodes in one\'s career - Roles\n\n:RoleClassifier a ui:Classifier; \n ui:label "Job type"@en;\n ui:category solid:Role .\n\n:RoleDatesForm a ui:Options; \n ui:dependingOn rdf:type; \n ui:case\n [ ui:for solid:PastRole; ui:use :TwoDateForm ],\n [ ui:for solid:CurrentRole; ui:use :StartDateForm ],\n [ ui:for solid:FutureRole; ui:use :StartDateForm ].\n\n :TwoDateForm a ui:Group; \n ui:weight 0; \n ui:parts ( :StartDateForm :EndDateForm ) .\n :StartDateForm a ui:DateField; \n ui:label "Start"@en,"Début"@fr;\n ui:property schema:startDate .\n :EndDateForm a ui:DateField; \n ui:label "End"@en,"Fin"@fr;\n ui:property schema:endDate .\n\nsolid:Role a rdfs:Class;\n owl:disjointUnionOf ( solid:PastRole solid:CurrentRole solid:FutureRole ) ;\n owl:oneOf ( solid:CurrentRole solid:PastRole solid:FutureRole ). # Future Role too?\n\nsolid:PastRole a rdfs:Class; rdfs:label "Former role"@en, "Ancien rôle"@fr, "Vergangene Rolle"@de, "Rol anterior"@es .\nsolid:CurrentRole a rdfs:Class; rdfs:label "Current role"@en, "Rôle actuel"@fr, "Momentane Rolle"@de , "Rol actual"@es .\nsolid:FutureRole a rdfs:Class; rdfs:label "Future role"@en, "Rôle à venir"@fr, "Zukünftige Rolle"@de, "Rol futuro"@es .\n\n:RoleDescriptionForm a ui:MultiLineTextField; \n ui:property schema:description;\n ui:label "Describe your role" .\n\n###### Organizations\n\n:OrganizationCreationForm a ui:Form; \n schema:name "Form for editing an organization using public data" ;\n ui:parts ( \n :OrgClassifier \n :OrganizationNameField\n :OrgSwitch\n :homePageURIField ) .\n\n:OrgClassifier a ui:Classifier; \n ui:label "Type"@en;\n ui:category solid:InterestingOrganization .\n\n:OrgSwitch a ui:Options; \n ui:dependingOn rdf:type;\n ui:case\n [ ui:for schema:Corporation; ui:use :CorporationForm ],\n [ ui:for schema:GovernmentOrganization; ui:use :GovernmentOrganizationForm ],\n [ ui:for schema:PerformingGroup; ui:use :PerformingGroupForm ],\n [ ui:for schema:Project; ui:use :ProjectForm ],\n [ ui:for schema:NGO; ui:use :NGOForm ],\n [ ui:for schema:EducationalOrganization; ui:use :EducationalOrganizationForm ],\n [ ui:for schema:ResearchOrganization; ui:use :ResearchOrganizationForm ],\n [ ui:for schema:SportsOrganization; ui:use :SportsOrganizationForm ].\n\n:OrganizationNameField a ui:SingleLineTextField ;\n ui:label "Name";\n ui:maxLength "200" ;\n ui:property schema:name .\n\n:homePageURIField a ui:NamedNodeURIField;\n ui:label "Homepage"@en;\n ui:property schema:uri .\n\n# Ontology data to drive the :OrgClassifier classifier\nsolid:InterestingOrganization owl:disjointUnionOf (\n # Airline - a Corporation\n # Consortium - a Corporation or a NGO\n schema:Corporation\n schema:EducationalOrganization\n schema:ResearchOrganization # Proposed. https://github.com/schemaorg/schemaorg/issues/2877\n # FundingScheme - eh?\n schema:GovernmentOrganization\n # LibrarySystem\n # LocalBusiness - Corporation\n # MedicalOrganization - a Corporation or a NGO\n schema:NGO\n # NewsMediaOrganization - a Corporation or a NGO\n schema:PerformingGroup # a band\n schema:Project # like Solid\n schema:SportsOrganization) .\n\n# This until the schema.org ontology adopts it\nschema:ResearchOrganization a rdfs:Class; \n rdfs:label "Research Organization"@en, "Organization de Recherche"@fr ,"organización de investigación"@es, \n "منظمة البحث"@ar, "अनुसंधान संगठन"@hi, "Forschungsorganisation"@de, "shirika la utafiti"@sw .\n\n##### Depending on the type of org, chose a different form\n\n#### Corporation\n:CorporationForm a ui:Group; \n ui:weight 0; \n ui:parts ( \n :CorporationAutocomplete ) .\n\n :CorporationAutocomplete a ui:AutocompleteField; \n ui:label "Find in wikidata";\n ui:targetClass <http://www.wikidata.org/entity/Q6881511>; # Enterprise\n ui:property solid:publicId; \n ui:dataSource :WikidataInstancesByName.\n\n :WikidataInstancesByName a ui:DataSource ;\n schema:name "Wikidata instances by name";\n ui:endpoint "https://query.wikidata.org/sparql" ;\n ui:searchByNameQuery """SELECT ?subject ?name\n WHERE {\n ?klass wdt:P279* $(targetClass) .\n ?subject wdt:P31 ?klass .\n ?subject rdfs:label ?name.\n FILTER regex(?name, "$(name)", "i")\n } LIMIT $(limit) """ ;\n\n # Note this form of the query is very experimental\n ui:searchByName [ ui:construct { ?subject schema:name ?name } ;\n ui:where { ?klass wdt:P279 ?targetClass .\n ?subject wdt:P31 ?klass; rdfs:label ?name .\n };\n ].\n\n#### Gouvernment\n:GovernmentOrganizationForm a ui:Group; \n ui:weight 0; \n ui:parts ( \n :GovernmentOrganizationAutocomplete ) .\n\n :GovernmentOrganizationAutocomplete\n a ui:AutocompleteField; ui:label "Find in wikidata";\n ui:targetClass <http://www.wikidata.org/entity/Q327333>; # GovernmentOrganization\n ui:property solid:publicId; \n ui:dataSource :WikidataInstancesByName.\n\n#### Educational\n:EducationalOrganizationForm a ui:Group; \n ui:weight 1; \n ui:parts ( \n :EducationalOrganizationAutocomplete ) .\n\n :EducationalOrganizationAutocomplete\n a ui:AutocompleteField; ui:label "Find in wikidata";\n ui:targetClass <http://www.wikidata.org/entity/Q2385804>; # EducationalOrganization\n ui:property solid:publicId; ui:dataSource :WikidataInstancesByName.\n\n#### Research Group\n:ResearchOrganizationForm a ui:Group; \n ui:weight 0; \n ui:parts ( \n :ResearchOrganizationAutocomplete ) .\n\n :ResearchOrganizationAutocomplete\n a ui:AutocompleteField; ui:label "Find in wikidata";\n ui:targetClass <http://www.wikidata.org/entity/Q31855>; # research institute\n ui:property solid:publicId; ui:dataSource :WikidataInstancesByName.\n\n#### NGO\n:NGOForm a ui:Group; ui:weight 0; \n ui:parts ( \n :NGOAutocomplete ) .\n\n :NGOAutocomplete\n a ui:AutocompleteField; ui:label "Find in wikidata";\n ui:targetClass <http://www.wikidata.org/entity/Q163740>; # Non-profit org\n ui:property solid:publicId; ui:dataSource :WikidataInstancesByName.\n\n#### Performing group\n:PerformingGroupForm a ui:Group; \n ui:weight 0; \n ui:parts ( \n :PerformingGroupAutocomplete ) .\n\n :PerformingGroupAutocomplete\n a ui:AutocompleteField; ui:label "Find in wikidata";\n ui:targetClass <http://www.wikidata.org/entity/Q32178211>; # Music Org\n ui:property solid:publicId; ui:dataSource :WikidataInstancesByName.\n\n#### Project\n:ProjectForm a ui:Group; \n ui:weight 0; \n ui:parts ( \n :ProjectAutocomplete ) . # :ProjectAutocomplete - no: supress, as not in WD\n\n :ProjectAutocomplete\n a ui:AutocompleteField; ui:label "Find in wikidata";\n ui:targetClass <http://www.wikidata.org/entity/Q170584>; # Project\n ui:property solid:publicId; ui:dataSource :WikidataInstancesByName.\n\n#### Sports Organization\n :SportsOrganizationForm a ui:Group; \n ui:weight 0; \n ui:parts ( \n :SportsOrganizationAutocomplete ) .\n\n :SportsOrganizationAutocomplete\n a ui:AutocompleteField; ui:label "Find in wikidata";\n ui:targetClass <http://www.wikidata.org/entity/Q4438121>; # SportsOrganization\n ui:property solid:publicId; ui:dataSource :WikidataInstancesByName.\n\n#################### Skills\n\n:SkillsHeading a ui:Heading; \n ui:contents "Add your skills" .\n\n:SkillsForm a ui:Multiple;\n ui:label "Skills";\n ui:property schema:skills;\n ui:ordered false; # Allow reader to order skills\n ui:part :SkillForm.\n\n:SkillForm a ui:Group; ui:weight 1; ui:parts ( :escoSkillField ).\n\n :escoSkillField a ui:AutocompleteField;\n ui:label "Find in ESCO";\n ui:property solid:publicId;\n ui:dataSource :ESCO_Skill_DataSource;\n ui:targetClass schema:Skill .\n\n :ESCO_Skill_DataSource a ui:DataSource;\n schema:name "ESCO skill";\n ui:targetClass esco:Skill ;\n schema:logo <https://ec.europa.eu/esco/portal/static_resource2/images/logo/logo_en.gif>;\n ui:searchByNameURI "https://ec.europa.eu/esco/api/search?language=$(language)&limit=$(limit)&type=skill&text=$(name)".\n\n#################### Languages\n\n:LanguagesHeading a ui:Heading; ui:contents "Add your languages" .\n\n:LanguagesForm a ui:Multiple;\n ui:label "Languages";\n ui:property schema:knowsLanguage; \n ui:ordered true; # Allow user to order languages most important first.\n ui:part :LanguageForm.\n\n:LanguageForm a ui:Group; ui:weight 1; ui:parts ( :WikidataLanguageField ).\n\n :WikidataLanguageField a ui:AutocompleteField;\n ui:label "Language";\n ui:property solid:publicId; \n ui:dataSource :WikidataLanguageDataSource;\n ui:targetClass schema:Language .\n\n :WikidataLanguageDataSource\n schema:name "Find in wikidata";\n ui:endpoint "https://query.wikidata.org/sparql" ;\n ui:objectURIBase <https://www.w3.org/ns/iana/language-code/>;\n # Add this to any literal string returned as ?subject\n ui:searchByNameQuery """SELECT ?item ?subject ?name\n WHERE\n { ?item wdt:P305 ?subject .\n OPTIONAL {?item rdfs:label ?name}\n OPTIONAL {?item wdt:P1705 ?name}\n FILTER regex(?name, "$(name)", "i")\n FILTER regex(?subject, "^..$", "i")\n }""" .\n # Note we restrict code to two-letter codes with the second regex, so as to limit the deluge of languages\n # Hope there are not any important ones which have three-letter codes.\n # Omitted: SERVICE wikibase:label { bd:serviceParam wikibase:language "$(languages)". }',"resumeForm.ttl",a,e.dom,t),r};var a,i=(a=t(7824))&&a.__esModule?a:{default:a},o=t(1363)},8188(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.EditProfileCommunitiesSection=function(e,n,t,o){const r=e.dom.createElement("section");r.setAttribute("aria-labelledby","edit-profile-communities-heading"),r.classList.add("profileSection","section-bg");const s=e.dom.createElement("header");s.classList.add("text-center","mb-md");const l=e.dom.createElement("h2");l.id="edit-profile-communities-heading",l.classList.add("section-title"),l.textContent=i.communitiesHeadingText,s.appendChild(l),r.appendChild(s);const c=e.dom.createElement("p");c.id="edit-profile-communities-description",c.classList.add("p-md"),c.textContent="These are organizations and projects whose stuff you share",r.appendChild(c);let u=null;t&&(u=e.dom.createElement("p"),u.id="edit-profile-communities-help",u.classList.add("p-md"),u.textContent="Drag organizations onto the target below to add organizations.",r.appendChild(u));const d=a.widgets.attachmentList(e.dom,n,r,{doc:o,modify:!!t,predicate:a.ns.solid("community"),noun:"community"}),p=[c.id];u?.id&&p.push(u.id);return d.setAttribute("aria-describedby",p.join(" ")),r.appendChild(d),r};var a=t(9426),i=t(1363)},1344(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.EditContactsSection=function(e,n){const t=e.dom.createElement("section");t.setAttribute("aria-labelledby","edit-profile-contact-heading"),t.classList.add("profileSection","section-bg","profile-form");const i=e.dom.createElement("header");i.classList.add("text-center","mb-md");const o=e.dom.createElement("h2");return o.id="edit-profile-contact-heading",o.classList.add("section-title"),o.textContent=a.yourContactInformationHeading,i.appendChild(o),t.appendChild(i),t.appendChild(function(e,n,t){const a=e.session.paneRegistry.byName(t);if(!a){const n=e.dom.createElement("div");return n.innerText=`Unable to load view: ${t}`,n}const i=a.render(n,e);let o;i&&"function"==typeof i.setAttribute?o=i:i&&i.nodeType===Node.TEXT_NODE?(o=e.dom.createElement("section"),o.appendChild(i)):(o=e.dom.createElement("section"),o.innerText=`View render did not return a valid Node for: ${t}`);return o.setAttribute("role","region"),o.setAttribute("aria-label",`${t} section`),o}(e,n,"contact")),t};var a=t(1363)},8308(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.EditFriendsSection=function(e,n,t,o){const r=e.dom.createElement("section");r.setAttribute("aria-labelledby","edit-profile-friends-heading"),r.classList.add("profileSection","section-bg");const s=e.dom.createElement("header");s.classList.add("text-center","mb-md");const l=e.dom.createElement("h2");l.id="edit-profile-friends-heading",l.classList.add("section-title"),l.textContent=i.friendsHeadingText,s.appendChild(l),r.appendChild(s);const c=e.dom.createElement("p");c.id="edit-profile-friends-description",c.classList.add("p-md"),c.textContent="This is your public social network. Only put people here to whom you are happy to be publicly connected. (You can always keep private track of friends and family in your contacts.)",r.appendChild(c);let u=null;t&&(u=e.dom.createElement("p"),u.id="edit-profile-friends-help",u.classList.add("p-md"),u.textContent="Drag people onto the target below to add people.",r.appendChild(u));const d=a.widgets.attachmentList(e.dom,n,r,{doc:o,modify:!!t,predicate:a.ns.foaf("knows"),noun:"friend"}),p=[c.id];u?.id&&p.push(u.id);return d.setAttribute("aria-describedby",p.join(" ")),r.appendChild(d),r};var a=t(9426),i=t(1363)},7643(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.EditOtherPreferencesSection=function(e,n,t,a){const r=e.dom.createElement("section");r.setAttribute("data-testid","edit-other-preferences-section"),r.setAttribute("aria-labelledby","edit-profile-other-preferences-heading"),r.classList.add("profileSection","section-bg","profile-form");const s=e.dom.createElement("header");s.classList.add("text-center","mb-md");const l=e.dom.createElement("h2");return l.id="edit-profile-other-preferences-heading",l.classList.add("section-title"),l.textContent=o.otherPreferencesHeadingText,s.appendChild(l),r.appendChild(s),(0,i.default)(r,n,'@prefix os: <http://www.w3.org/2000/10/swap/os#> .\n@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.\n@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.\n\n@prefix owl: <http://www.w3.org/2002/07/owl#>.\n@prefix solid: <http://www.w3.org/ns/solid/terms#>.\n@prefix ui: <http://www.w3.org/ns/ui#>.\n@prefix schema: <http://schema.org/>.\n@prefix foaf: <http://xmlns.com/foaf/0.1/>.\n@prefix vcard: <http://www.w3.org/2006/vcard/ns#>.\n@prefix wd: <http://www.wikidata.org/entity/>.\n@prefix wdt: <http://www.wikidata.org/prop/direct/>.\n\n@prefix : <#>.\n\n\n:this\n <http://purl.org/dc/elements/1.1/title> "Other preferences form" ;\n a ui:Form ;\n ui:parts (\n :styleGroup\n ).\n\n:styleGroup a ui:Group; ui:weight 0; \n ui:parts ( :styleHeading :backgroundColor :highlightColor ).\n\n:styleHeading a ui:Heading; ui:contents "The style of your public profile.".\n\n:backgroundColor a ui:ColorField; ui:property solid:profileBackgroundColor;\n ui:label "Background color"; ui:default "#ffffff".\n:highlightColor a ui:ColorField; ui:property solid:profileHighlightColor;\n ui:label "Highlight color"; ui:default "#000000".',"otherPreferencesForm.ttl",a,e.dom,t),r};var a,i=(a=t(7824))&&a.__esModule?a:{default:a},o=t(1363)},5011(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=t(9426),i=t(1344),o=t(8308),r=t(9410),s=t(8188);t(1930),t(855);var l=t(6016),c=t(7643);const u={global:!0,icon:a.icons.iconBase+"noun_492246.svg",name:"editProfile",label:()=>null,render:function(e,n){const t=n.dom,u=n.session.store,d=t.createElement("section");let p;d.setAttribute("data-testid","profile-editor"),d.setAttribute("role","region"),d.setAttribute("aria-label","Edit your profile");const f=t.createElement("main");f.setAttribute("id","profile-edit-main-content"),f.setAttribute("aria-busy","true"),f.setAttribute("tabindex","-1"),f.classList.add("profile-grid","no-focus-ring");const m=t.createElement("h1");m.classList.add("visually-hidden"),m.textContent="Edit Profile",f.appendChild(m),d.appendChild(f);const h=t.createElement("aside");h.classList.add("p-sm"),h.setAttribute("role","status"),h.setAttribute("aria-live","polite"),h.setAttribute("aria-atomic","true");const g=()=>{h.isConnected||d.appendChild(h)},b={dom:t,div:f,statusArea:h,me:null};return a.login.ensureLoadedProfile(b).then(e=>{const d=e.me,m=d.doc();if(!u.updater)throw new Error("Store has no updater");if(u.any(d,a.ns.solid("editableProfile")))p=u.any(d,a.ns.solid("editableProfile"));else{if(!u.updater.editable(m.uri,u))return g(),void h.appendChild(a.widgets.errorMessageBlock(t,`⚠️ Your profile ${m} is not editable, so we cannot do much here.`,"straw"));p=m}f.appendChild((0,i.EditContactsSection)(n,d)),f.appendChild((0,l.EditCVSection)(n,d,p,u)),f.appendChild((0,r.EditSocialSection)(n,d,p,u)),f.appendChild((0,c.EditOtherPreferencesSection)(n,d,p,u)),f.appendChild((0,o.EditFriendsSection)(n,d,p,m)),f.appendChild((0,s.EditProfileCommunitiesSection)(n,d,p,m)),f.setAttribute("aria-busy","false"),f.focus()}).catch(e=>{g(),h.appendChild(a.widgets.errorMessageBlock(t,e,"#fee")),f.setAttribute("aria-busy","false")}),d}};n.default=u},9410(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.EditSocialSection=function(e,n,t,a){const r=e.dom.createElement("section");r.setAttribute("data-testid","edit-social-section"),r.setAttribute("aria-labelledby","edit-profile-social-heading"),r.classList.add("profileSection","section-bg","profile-form");const s=e.dom.createElement("header");s.classList.add("text-center","mb-md");const l=e.dom.createElement("h2");if(l.id="edit-profile-social-heading",l.classList.add("section-title"),l.textContent=o.socialAccountsHeadingText,s.appendChild(l),r.appendChild(s),t){const n=e.dom.createElement("p");n.classList.add("p-md"),n.textContent="Add links to your social media accounts here. These will be publicly visible on your profile.",r.appendChild(n)}else{const n=e.dom.createElement("p");n.classList.add("p-md"),n.textContent="Login to add social media accounts to your profile.",r.appendChild(n)}return(0,i.default)(r,n,'@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.\n@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.\n@prefix foaf: <http://xmlns.com/foaf/0.1/>.\n@prefix owl: <http://www.w3.org/2002/07/owl#>.\n@prefix solid: <http://www.w3.org/ns/solid/terms#>.\n@prefix ui: <http://www.w3.org/ns/ui#>.\n@prefix schema: <http://schema.org/>.\n@prefix vcard: <http://www.w3.org/2006/vcard/ns#>.\n@prefix org: <http://www.w3.org/ns/org#>.\n@prefix : <#>.\n\n########### ATTENTION - we cannot rename this ontology file name without migrating existing data on existing accounts\n\n########### Social Media - other accounts\n#\n# Twitter, linked In, Orkid, Mastodon, Matrix, Bluesky, Instagram, Facebook, Github,\n# Snapchat, TikTok, etc\n\n:this\n <http://purl.org/dc/elements/1.1/title> "Social media form" ;\n a ui:Form ;\n ui:parts (\n :SocialsForm\n ).\n\n:SocialsForm a ui:Multiple;\n ui:label "online account";\n ui:property foaf:account; # the triple is created with the foaf:acccounts predicate\n ui:ordered true; # Allow user to order occounts most important first.\n ui:part :AccountsForm.\n\n:AccountsForm a ui:Group; \n ui:weight 1; \n ui:parts ( \n :AccountField \n :AccountIdField ).\n\n:AccountField a ui:Classifier; \n ui:label "Account"@en;\n ui:multiple false ; \n ui:category foaf:Account. # the accounts are described by the foaf:Account predicate\n\n# this is what is needed to make a dropdown box\nfoaf:Account a rdfs:Class;\n rdfs:label "Online Account Provider";\n owl:disjointUnionOf ( \n :BlueSkyAccount :DiggAccount :FacebookAccount :GithubAccount :InstagramAccount\n :LinkedInAccount :MastodonAccount :MatrixAccount :MediumAccount :NostrAccount \n :OrcidAccount :PinterestAccount :RedditAccount :SnapchatAccount :StravaAccount \n :TiktokAccount :TumblrAccount :TwitterAccount :OtherAccount) .\n\n:AccountIdField a ui:Options; \n ui:dependingOn rdf:type; \n ui:case\n [ ui:for :BlueSkyAccount; ui:use :BlueSkyIdField ],\n [ ui:for :DiggAccount; ui:use :DiggIdField],\n [ ui:for :FacebookAccount; ui:use :FacebookIdField ],\n [ ui:for :GithubAccount; ui:use :GithubIdField ],\n [ ui:for :InstagramAccount; ui:use :InstagramIdField ],\n [ ui:for :LinkedInAccount; ui:use :LinkedInIdField ],\n [ ui:for :MastodonAccount; ui:use :MastodonIdField ],\n [ ui:for :MatrixAccount; ui:use :MatrixIdField ],\n [ ui:for :MediumAccount; ui:use :MediumIdField ],\n [ ui:for :NostrAccount; ui:use :NostrIdField ],\n [ ui:for :OrcidAccount; ui:use :OrcidIdField ],\n [ ui:for :PinterestAccount; ui:use :PinterestIdField ],\n [ ui:for :RedditAccount; ui:use :RedditIdField ],\n [ ui:for :StravaAccount; ui:use :StravaIdField ],\n [ ui:for :SnapchatAccount; ui:use :SnapchatIdField ],\n [ ui:for :TiktokAccount; ui:use :TiktokIdField ],\n [ ui:for :TumblrAccount; ui:use :TumblrIdField ],\n [ ui:for :TwitterAccount; ui:use :TwitterIdField ],\n [ ui:for :OtherAccount; ui:use :OtherIdForm ] .\n\n:BlueSkyAccount rdfs:subClassOf foaf:Account ;\n rdfs:label "Bluesky";\n foaf:userProfilePrefix "https://bsky.app/profile/";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/bluesky-1.svg>;\n foaf:homepage <https://bsky.app/> .\n\n:DiggAccount rdfs:subClassOf foaf:Account ;\n rdfs:label "Digg";\n foaf:userProfilePrefix "https://www.digg.com/";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/digg-icon.svg>;\n foaf:homepage <https://www.digg.com/> .\n\n:FacebookAccount rdfs:subClassOf foaf:Account ;\n rdfs:label "Facebook";\n foaf:userProfilePrefix "https://www.facebook.com/";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/facebook-2020-2-1.svg>;\n foaf:homepage <https://www.facebook.com/> .\n\n:GithubAccount rdfs:subClassOf foaf:Account ;\n rdfs:label "Github";\n foaf:userProfilePrefix "https://www.github.com/";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/github-icon.svg>;\n foaf:homepage <https://github.com/> .\n\n:InstagramAccount rdfs:subClassOf foaf:Account ;\n rdfs:label "Instagram";\n foaf:userProfilePrefix "https://www.instagram.com/";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/instagram-2016-5.svg>;\n foaf:homepage <https://www.instagram.com/> .\n\n:LinkedInAccount rdfs:subClassOf foaf:Account ;\n rdfs:label "LinkedIn";\n foaf:userProfilePrefix "https://www.linkedin.com/in/";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/linkedin-icon.svg>;\n foaf:homepage <https://linkedin.com/> .\n\n:MastodonAccount rdfs:subClassOf foaf:Account ;\n rdfs:label "Mastodon" ;\n foaf:userProfilePrefix "https://mastodon.social/";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/mastodon-2.svg>;\n foaf:homepage <https://joinmastodon.org/> .\n\n:MatrixAccount rdfs:subClassOf foaf:Account ;\n rdfs:label "Matrix" ;\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/matrix-logo-black.svg> ;\n foaf:userProfilePrefix "https://matrix.to/#/" ;\n foaf:homepage <https://matrix.org/> .\n\n:MediumAccount rdfs:subClassOf foaf:Account ;\n rdfs:label "Medium";\n foaf:userProfilePrefix "https://medium.com/";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/medium-logo-wordmark-black.svg>;\n foaf:homepage <https://medium.com/> .\n\n:NostrAccount rdfs:subClassOf foaf:Account ;\n rdfs:label "Nostr";\n foaf:userProfilePrefix "https://primal.net/p/";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/nostr-icon-purple-on-white.svg>;\n foaf:homepage <https://nostr.net/> .\n\n:OrcidAccount rdfs:subClassOf foaf:Account ;\n rdfs:label "ORCiD";\n foaf:userProfilePrefix "https://orcid.org/";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/ORCID-1.svg>;\n foaf:homepage <https://orcid.org/> .\n\n:PinterestAccount rdfs:subClassOf foaf:Account ;\n rdfs:label "Pinterest";\n foaf:userProfilePrefix "https://pin.it/";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/pinterest-2-1.svg>;\n foaf:homepage <https://pinterest.com/> .\n\n:RedditAccount rdfs:subClassOf foaf:Account ;\n rdfs:label "Reddit";\n foaf:userProfilePrefix "https://www.reddit.com/user/";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/reddit-4.svg>;\n foaf:homepage <https://reddit.com/> .\n\n:SnapchatAccount rdfs:subClassOf foaf:Account ;\n rdfs:label "Snapchat";\n foaf:userProfilePrefix "https://www.snapchat.com/add/";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/snapchat-1.svg>;\n foaf:homepage <https://www.snapchat.com/> .\n\n:StravaAccount rdfs:subClassOf foaf:Account ;\n rdfs:label "Strava";\n foaf:userProfilePrefix "https://www.strava.com/athletes/";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/strava-2.svg>;\n foaf:homepage <https://strava.com/> .\n\n:TiktokAccount rdfs:subClassOf foaf:Account ;\n rdfs:label "TikTok";\n foaf:userProfilePrefix "https://www.tiktok.com/@";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/tiktok-icon-2.svg>;\n foaf:homepage <https://www.tiktok.com/> .\n\n:TumblrAccount rdfs:subClassOf foaf:Account ;\n rdfs:label "Tumblr";\n foaf:userProfilePrefix "https://www.tumblr.com/";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/tumblr-icon.svg>;\n foaf:homepage <https://www.tumblr.com/> .\n\n:TwitterAccount rdfs:subClassOf foaf:Account ;\n rdfs:label "X";\n foaf:userProfilePrefix "https://x.com/";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/x-2.svg>;\n foaf:homepage <https://x.com/> .\n\n:OtherAccount rdfs:subClassOf foaf:Account ;\n rdfs:label "Other" ;\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/noun_1689339.svg> .\n\n:BlueSkyIdField\n a ui:SingleLineTextField ;\n ui:label "Username";\n ui:maxLength "200" ;\n ui:property foaf:accountName ; \n ui:pattern "@[a-z0-9A-Z_-](.[a-z0-9A-Z_-])*".\n\n:DiggIdField\n a ui:SingleLineTextField ;\n ui:label "Username";\n ui:maxLength "200" ;\n ui:property foaf:accountName ; \n ui:pattern "@[a-z0-9A-Z_-](.[a-z0-9A-Z_-])*".\n\n:FacebookIdField\n a ui:SingleLineTextField ;\n ui:label "Username";\n ui:property foaf:accountName ; \n ui:pattern "[a-z0-9A-Z_-]*".\n\n:GithubIdField\n a ui:SingleLineTextField ;\n ui:label "Username";\n ui:maxLength "200" ;\n ui:property foaf:accountName ; \n ui:pattern "[a-z0-9A-Z_-]*".\n\n:InstagramIdField\n a ui:SingleLineTextField ;\n ui:label "Username";\n ui:maxLength "200" ;\n ui:property foaf:accountName ; \n ui:pattern "[a-z0-9A-Z_-]*".\n\n:LinkedInIdField\n a ui:SingleLineTextField ;\n ui:label "Username";\n ui:maxLength "200" ;\n ui:property foaf:accountName ; \n ui:pattern "[a-z0-9A-Z_-]*(.[a-z0-9A-Z_-])*".\n\n:MastodonIdField\n a ui:SingleLineTextField ;\n ui:label "Username";\n ui:maxLength "200" ;\n ui:property foaf:accountName ; \n ui:pattern "@[a-z0-9A-Z_-]*(.[a-z0-9A-Z_-])*".\n\n:MatrixIdField\n a ui:SingleLineTextField ;\n ui:label "Username";\n ui:maxLength "200" ;\n ui:property foaf:accountName ; \n ui:pattern "@[a-z0-9A-Z_-]*(.[a-z0-9A-Z_-])*".\n\n:MediumIdField\n a ui:SingleLineTextField ;\n ui:label "Username";\n ui:maxLength "200" ;\n ui:property foaf:accountName ; \n ui:pattern "@[a-z0-9A-Z_-]*(.[a-z0-9A-Z_-])*".\n\n:NostrIdField\n a ui:SingleLineTextField ;\n ui:label "Username";\n ui:maxLength "200" ;\n ui:property foaf:accountName ; \n ui:pattern "[a-z0-9A-Z_-]*(.[a-z0-9A-Z_-])*".\n\n:OrcidIdField\n a ui:SingleLineTextField ;\n ui:label "Username";\n ui:maxLength "200" ;\n ui:property foaf:accountName ; \n ui:pattern "[a-z0-9A-Z_-]*".\n\n:PinterestIdField\n a ui:SingleLineTextField ;\n ui:label "Username";\n ui:maxLength "200" ;\n ui:property foaf:accountName ; \n ui:pattern "[a-z0-9A-Z_-]*".\n\n:RedditIdField\n a ui:SingleLineTextField ;\n ui:label "Username";\n ui:maxLength "200" ;\n ui:property foaf:accountName ; \n ui:pattern "[a-z0-9A-Z_-]*".\n\n:StravaIdField\n a ui:SingleLineTextField ;\n ui:label "Username";\n ui:maxLength "200" ;\n ui:property foaf:accountName ; \n ui:pattern "[a-z0-9A-Z_-]*".\n\n:SnapchatIdField\n a ui:SingleLineTextField ;\n ui:label "Username";\n ui:maxLength "200" ;\n ui:property foaf:accountName ; \n ui:pattern "@[a-z0-9A-Z_-]*".\n\n:TiktokIdField\n a ui:SingleLineTextField ;\n ui:label "Username";\n ui:maxLength "200" ;\n ui:property foaf:accountName ; \n ui:pattern "@[a-z0-9A-Z_-]*".\n\n:TumblrIdField\n a ui:SingleLineTextField ;\n ui:label "Username";\n ui:maxLength "200" ;\n ui:property foaf:accountName ; \n ui:pattern "@[a-z0-9A-Z_-]*".\n\n:TwitterIdField\n a ui:SingleLineTextField ;\n ui:label "Username";\n ui:maxLength "200" ;\n ui:property foaf:accountName ; \n ui:pattern "@[a-z0-9A-Z_-]*".\n\n# an unknown online account needs more info\n\n:OtherIdForm a ui:Group; \n ui:weight 0; \n ui:parts ( \n :OtherIdField \n :OtherIconField \n :OtherLabelField ).\n\n:OtherIdField\n a ui:NamedNodeURIField ;\n ui:label "Account link";\n ui:maxLength "200" ;\n ui:property foaf:homepage.\n\n:OtherIconField\n a ui:NamedNodeURIField ;\n ui:label "Icon link";\n ui:maxLength "200" ;\n ui:property foaf:icon.\n\n:OtherLabelField\n a ui:SingleLineTextField ;\n ui:label "Name";\n ui:maxLength "200" ;\n ui:property rdfs:label.\n\n# ends\n',"socialMedia.ttl",a,e.dom,t),r};var a,i=(a=t(7824))&&a.__esModule?a:{default:a},o=t(1363)},2643(e,n,t){"use strict";n.A=void 0,t(8481),t(2252),t(9480),t(519),t(1570),t(2592),t(2739),t(2538),t(1930);var a,i=t(6752),o=t(3447),r=(a=t(5011))&&a.__esModule?a:{default:a},s=t(9426),l=function(e,n){if("function"==typeof WeakMap)var t=new WeakMap,a=new WeakMap;return function(e,n){if(!n&&e&&e.__esModule)return e;var i,o,r={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return r;if(i=n?a:t){if(i.has(e))return i.get(e);i.set(e,r)}for(const n in e)"default"!==n&&{}.hasOwnProperty.call(e,n)&&((o=(i=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,n))&&(o.get||o.set)?i(r,n,o):r[n]=e[n]);return r}(e,n)}(t(7583));const c={global:!1,icon:s.icons.iconBase+"noun_15059.svg",name:"profile",label:function(e,n){const t=n.session.store.findTypeURIs(e);return t[s.ns.vcard("Individual").uri]||t[s.ns.foaf("Person").uri]||t[s.ns.schema("Person").uri]?"Profile":null},editor:r.default,render:(e,n)=>{const t=n.dom.createElement("div");return async function(e,n){const t=e.each(n,s.ns.rdfs("seeAlso"),null,n.doc());t.length>0&&await e.fetcher.load(t)}(n.session.store,e).then(async()=>{(0,i.render)(await(0,o.ProfileView)(e,n),t);const a=Array.from(t.getElementsByClassName("QRCode"));if(!a.length)return console.error("QRCode Ele missing");for(const e of a){const n=e.getAttribute("data-value");if(!n)return console.error("QRCode data-value missing");const t={type:"svg",color:{dark:e.getAttribute("highlightColor")||"#000000",light:e.getAttribute("backgroundColor")||"#ffffff"}};l.toString(n,t,function(n,t){n?console.error("QRcode error!",n):(e.innerHTML=t,e.style.width="80%",e.style.height="80%",e.style.margin="10%")})}}),t}};n.A=c},4887(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.presentProfile=void 0,n.pronounsAsText=r;var a=t(9426),i=t(5663),o=t(6077);function r(e){let n=i.store.anyJS(e,a.ns.solid("preferredSubjectPronoun"))||"";if(n){const t=i.store.anyJS(e,a.ns.solid("preferredObjectPronoun"));if(t){n+="/"+t;const o=i.store.anyJS(e,a.ns.solid("preferredRelativePronoun"));o&&(n+="/"+o)}n=" ("+n+") "}return n||""}function s(e,n){return e&&n?`${n}, ${e}`:e||n||null}function l(e,n){return e&&n?`${e} at ${n}`:n||e||null}function c(e,n){return e&&(0,o.validateHTMLColorHex)(e)?e:n}n.presentProfile=(e,n)=>{const t=a.utils.label(e),i=a.widgets.findImage(e),o=n.anyValue(e,a.ns.vcard("role")),u=n.anyValue(e,a.ns.vcard("organization-name")),d=n.any(e,a.ns.vcard("hasAddress")),p=null!=d?n.anyValue(d,a.ns.vcard("country-name")):null,f=null!=d?n.anyValue(d,a.ns.vcard("locality")):null,{backgroundColor:m,highlightColor:h}=function(e,n){const t=n.anyValue(e,a.ns.solid("profileBackgroundColor"),null,e.doc()),i=n.anyValue(e,a.ns.solid("profileHighlightColor"),null,e.doc());return{backgroundColor:c(t,""),highlightColor:c(i,"")}}(e,n),g=r(e);return{name:t,imageSrc:i,introduction:l(o,u),location:s(p,f),backgroundColor:m,pronouns:g,highlightColor:h}}},7824(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,n,t,s,l,c,u,d){const p=o+s,f=d||"this",m=(0,a.Namespace)(p+"#")(f);r(l,t,s,p),i.widgets.appendForm(c,e,{},n,m,u,(e,n)=>{e||i.widgets.errorMessageBlock(c,n)})},n.loadDocument=r;var a=t(5491),i=t(9426);const o="https://solidos.github.io/profile-pane/src/ontology/";function r(e,n,t,i){const r=i||o+t,s=(0,a.sym)(r);e.holds(void 0,void 0,void 0,s)||(0,a.parse)(n,e,r,"text/turtle",()=>null)}},1363(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.yourContactInformationHeading=n.userNotLoggedInErrorMessage=n.socialAccountsHeadingText=n.sharedItemsHeadingText=n.scanQrToConnectText=n.resumeHeadingText=n.otherPreferencesHeadingText=n.logInToChatWithMeButtonText=n.logInAddMeToYourFriendsButtonText=n.loadingMessage=n.internalErrorMessage=n.friendsHeadingText=n.friendWasAddedSuccesMessage=n.friendExistsMessage=n.friendExistsAlreadyButtonText=n.contactHeadingText=n.communitiesHeadingText=n.chatWithMeButtonText=n.addMeToYourFriendsButtonText=void 0;n.scanQrToConnectText="Scan the QR code to connect with me",n.userNotLoggedInErrorMessage="Current user not found! Not logged in?",n.internalErrorMessage="An internal error occured!",n.friendWasAddedSuccesMessage="Friend was added!",n.friendExistsMessage="Friend already exists",n.loadingMessage="Loading...",n.addMeToYourFriendsButtonText="Add me to your friends",n.logInAddMeToYourFriendsButtonText="Login to add me to your friends",n.logInToChatWithMeButtonText="Login to chat with me",n.friendExistsAlreadyButtonText="Already part of friends",n.chatWithMeButtonText="Chat with me",n.yourContactInformationHeading="Your profile",n.otherPreferencesHeadingText="Other preferences",n.communitiesHeadingText="Your communities",n.resumeHeadingText="Resume",n.socialAccountsHeadingText="Social accounts",n.sharedItemsHeadingText="Shared items",n.friendsHeadingText="Friends",n.contactHeadingText="Contact"},7583(e,n,t){const a=t(1333),i=t(157),o=t(7899),r=t(6756);function s(e,n,t,o,r){const s=[].slice.call(arguments,1),l=s.length,c="function"==typeof s[l-1];if(!c&&!a())throw new Error("Callback required as last argument");if(!c){if(l<1)throw new Error("Too few arguments provided");return 1===l?(t=n,n=o=void 0):2!==l||n.getContext||(o=t,t=n,n=void 0),new Promise(function(a,r){try{const r=i.create(t,o);a(e(r,n,o))}catch(e){r(e)}})}if(l<2)throw new Error("Too few arguments provided");2===l?(r=t,t=n,n=o=void 0):3===l&&(n.getContext&&void 0===r?(r=o,o=void 0):(r=o,o=t,t=n,n=void 0));try{const a=i.create(t,o);r(null,e(a,n,o))}catch(e){r(e)}}n.create=i.create,n.toCanvas=s.bind(null,o.render),n.toDataURL=s.bind(null,o.renderToDataURL),n.toString=s.bind(null,function(e,n,t){return r.render(e,t)})},1333(e){e.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},6421(e,n,t){const a=t(6886).getSymbolSize;n.getRowColCoords=function(e){if(1===e)return[];const n=Math.floor(e/7)+2,t=a(e),i=145===t?26:2*Math.ceil((t-13)/(2*n-2)),o=[t-7];for(let e=1;e<n-1;e++)o[e]=o[e-1]-i;return o.push(6),o.reverse()},n.getPositions=function(e){const t=[],a=n.getRowColCoords(e),i=a.length;for(let e=0;e<i;e++)for(let n=0;n<i;n++)0===e&&0===n||0===e&&n===i-1||e===i-1&&0===n||t.push([a[e],a[n]]);return t}},1433(e,n,t){const a=t(208),i=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function o(e){this.mode=a.ALPHANUMERIC,this.data=e}o.getBitsLength=function(e){return 11*Math.floor(e/2)+e%2*6},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(e){let n;for(n=0;n+2<=this.data.length;n+=2){let t=45*i.indexOf(this.data[n]);t+=i.indexOf(this.data[n+1]),e.put(t,11)}this.data.length%2&&e.put(i.indexOf(this.data[n]),6)},e.exports=o},9899(e){function n(){this.buffer=[],this.length=0}n.prototype={get:function(e){const n=Math.floor(e/8);return 1==(this.buffer[n]>>>7-e%8&1)},put:function(e,n){for(let t=0;t<n;t++)this.putBit(1==(e>>>n-t-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){const n=Math.floor(this.length/8);this.buffer.length<=n&&this.buffer.push(0),e&&(this.buffer[n]|=128>>>this.length%8),this.length++}},e.exports=n},8820(e){function n(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}n.prototype.set=function(e,n,t,a){const i=e*this.size+n;this.data[i]=t,a&&(this.reservedBit[i]=!0)},n.prototype.get=function(e,n){return this.data[e*this.size+n]},n.prototype.xor=function(e,n,t){this.data[e*this.size+n]^=t},n.prototype.isReserved=function(e,n){return this.reservedBit[e*this.size+n]},e.exports=n},5822(e,n,t){const a=t(208);function i(e){this.mode=a.BYTE,this.data="string"==typeof e?(new TextEncoder).encode(e):new Uint8Array(e)}i.getBitsLength=function(e){return 8*e},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(e){for(let n=0,t=this.data.length;n<t;n++)e.put(this.data[n],8)},e.exports=i},7518(e,n,t){const a=t(9953),i=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],o=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];n.getBlocksCount=function(e,n){switch(n){case a.L:return i[4*(e-1)+0];case a.M:return i[4*(e-1)+1];case a.Q:return i[4*(e-1)+2];case a.H:return i[4*(e-1)+3];default:return}},n.getTotalCodewordsCount=function(e,n){switch(n){case a.L:return o[4*(e-1)+0];case a.M:return o[4*(e-1)+1];case a.Q:return o[4*(e-1)+2];case a.H:return o[4*(e-1)+3];default:return}}},9953(e,n){n.L={bit:1},n.M={bit:0},n.Q={bit:3},n.H={bit:2},n.isValid=function(e){return e&&void 0!==e.bit&&e.bit>=0&&e.bit<4},n.from=function(e,t){if(n.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"l":case"low":return n.L;case"m":case"medium":return n.M;case"q":case"quartile":return n.Q;case"h":case"high":return n.H;default:throw new Error("Unknown EC Level: "+e)}}(e)}catch(e){return t}}},7756(e,n,t){const a=t(6886).getSymbolSize;n.getPositions=function(e){const n=a(e);return[[0,0],[n-7,0],[0,n-7]]}},4565(e,n,t){const a=t(6886),i=a.getBCHDigit(1335);n.getEncodedBits=function(e,n){const t=e.bit<<3|n;let o=t<<10;for(;a.getBCHDigit(o)-i>=0;)o^=1335<<a.getBCHDigit(o)-i;return 21522^(t<<10|o)}},2731(e,n){const t=new Uint8Array(512),a=new Uint8Array(256);!function(){let e=1;for(let n=0;n<255;n++)t[n]=e,a[e]=n,e<<=1,256&e&&(e^=285);for(let e=255;e<512;e++)t[e]=t[e-255]}(),n.log=function(e){if(e<1)throw new Error("log("+e+")");return a[e]},n.exp=function(e){return t[e]},n.mul=function(e,n){return 0===e||0===n?0:t[a[e]+a[n]]}},4861(e,n,t){const a=t(208),i=t(6886);function o(e){this.mode=a.KANJI,this.data=e}o.getBitsLength=function(e){return 13*e},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(e){let n;for(n=0;n<this.data.length;n++){let t=i.toSJIS(this.data[n]);if(t>=33088&&t<=40956)t-=33088;else{if(!(t>=57408&&t<=60351))throw new Error("Invalid SJIS character: "+this.data[n]+"\nMake sure your charset is UTF-8");t-=49472}t=192*(t>>>8&255)+(255&t),e.put(t,13)}},e.exports=o},1332(e,n){n.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const t=3,a=3,i=40,o=10;function r(e,t,a){switch(e){case n.Patterns.PATTERN000:return(t+a)%2==0;case n.Patterns.PATTERN001:return t%2==0;case n.Patterns.PATTERN010:return a%3==0;case n.Patterns.PATTERN011:return(t+a)%3==0;case n.Patterns.PATTERN100:return(Math.floor(t/2)+Math.floor(a/3))%2==0;case n.Patterns.PATTERN101:return t*a%2+t*a%3==0;case n.Patterns.PATTERN110:return(t*a%2+t*a%3)%2==0;case n.Patterns.PATTERN111:return(t*a%3+(t+a)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}}n.isValid=function(e){return null!=e&&""!==e&&!isNaN(e)&&e>=0&&e<=7},n.from=function(e){return n.isValid(e)?parseInt(e,10):void 0},n.getPenaltyN1=function(e){const n=e.size;let a=0,i=0,o=0,r=null,s=null;for(let l=0;l<n;l++){i=o=0,r=s=null;for(let c=0;c<n;c++){let n=e.get(l,c);n===r?i++:(i>=5&&(a+=t+(i-5)),r=n,i=1),n=e.get(c,l),n===s?o++:(o>=5&&(a+=t+(o-5)),s=n,o=1)}i>=5&&(a+=t+(i-5)),o>=5&&(a+=t+(o-5))}return a},n.getPenaltyN2=function(e){const n=e.size;let t=0;for(let a=0;a<n-1;a++)for(let i=0;i<n-1;i++){const n=e.get(a,i)+e.get(a,i+1)+e.get(a+1,i)+e.get(a+1,i+1);4!==n&&0!==n||t++}return t*a},n.getPenaltyN3=function(e){const n=e.size;let t=0,a=0,o=0;for(let i=0;i<n;i++){a=o=0;for(let r=0;r<n;r++)a=a<<1&2047|e.get(i,r),r>=10&&(1488===a||93===a)&&t++,o=o<<1&2047|e.get(r,i),r>=10&&(1488===o||93===o)&&t++}return t*i},n.getPenaltyN4=function(e){let n=0;const t=e.data.length;for(let a=0;a<t;a++)n+=e.data[a];return Math.abs(Math.ceil(100*n/t/5)-10)*o},n.applyMask=function(e,n){const t=n.size;for(let a=0;a<t;a++)for(let i=0;i<t;i++)n.isReserved(i,a)||n.xor(i,a,r(e,i,a))},n.getBestMask=function(e,t){const a=Object.keys(n.Patterns).length;let i=0,o=1/0;for(let r=0;r<a;r++){t(r),n.applyMask(r,e);const a=n.getPenaltyN1(e)+n.getPenaltyN2(e)+n.getPenaltyN3(e)+n.getPenaltyN4(e);n.applyMask(r,e),a<o&&(o=a,i=r)}return i}},208(e,n,t){const a=t(1878),i=t(7044);n.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},n.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},n.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},n.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},n.MIXED={bit:-1},n.getCharCountIndicator=function(e,n){if(!e.ccBits)throw new Error("Invalid mode: "+e);if(!a.isValid(n))throw new Error("Invalid version: "+n);return n>=1&&n<10?e.ccBits[0]:n<27?e.ccBits[1]:e.ccBits[2]},n.getBestModeForData=function(e){return i.testNumeric(e)?n.NUMERIC:i.testAlphanumeric(e)?n.ALPHANUMERIC:i.testKanji(e)?n.KANJI:n.BYTE},n.toString=function(e){if(e&&e.id)return e.id;throw new Error("Invalid mode")},n.isValid=function(e){return e&&e.bit&&e.ccBits},n.from=function(e,t){if(n.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"numeric":return n.NUMERIC;case"alphanumeric":return n.ALPHANUMERIC;case"kanji":return n.KANJI;case"byte":return n.BYTE;default:throw new Error("Unknown mode: "+e)}}(e)}catch(e){return t}}},4357(e,n,t){const a=t(208);function i(e){this.mode=a.NUMERIC,this.data=e.toString()}i.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(e){let n,t,a;for(n=0;n+3<=this.data.length;n+=3)t=this.data.substr(n,3),a=parseInt(t,10),e.put(a,10);const i=this.data.length-n;i>0&&(t=this.data.substr(n),a=parseInt(t,10),e.put(a,3*i+1))},e.exports=i},4713(e,n,t){const a=t(2731);n.mul=function(e,n){const t=new Uint8Array(e.length+n.length-1);for(let i=0;i<e.length;i++)for(let o=0;o<n.length;o++)t[i+o]^=a.mul(e[i],n[o]);return t},n.mod=function(e,n){let t=new Uint8Array(e);for(;t.length-n.length>=0;){const e=t[0];for(let i=0;i<n.length;i++)t[i]^=a.mul(n[i],e);let i=0;for(;i<t.length&&0===t[i];)i++;t=t.slice(i)}return t},n.generateECPolynomial=function(e){let t=new Uint8Array([1]);for(let i=0;i<e;i++)t=n.mul(t,new Uint8Array([1,a.exp(i)]));return t}},157(e,n,t){const a=t(6886),i=t(9953),o=t(9899),r=t(8820),s=t(6421),l=t(7756),c=t(1332),u=t(7518),d=t(4764),p=t(1427),f=t(4565),m=t(208),h=t(9801);function g(e,n,t){const a=e.size,i=f.getEncodedBits(n,t);let o,r;for(o=0;o<15;o++)r=1==(i>>o&1),o<6?e.set(o,8,r,!0):o<8?e.set(o+1,8,r,!0):e.set(a-15+o,8,r,!0),o<8?e.set(8,a-o-1,r,!0):o<9?e.set(8,15-o-1+1,r,!0):e.set(8,15-o-1,r,!0);e.set(a-8,8,1,!0)}function b(e,n,t){const i=new o;t.forEach(function(n){i.put(n.mode.bit,4),i.put(n.getLength(),m.getCharCountIndicator(n.mode,e)),n.write(i)});const r=8*(a.getSymbolTotalCodewords(e)-u.getTotalCodewordsCount(e,n));for(i.getLengthInBits()+4<=r&&i.put(0,4);i.getLengthInBits()%8!=0;)i.putBit(0);const s=(r-i.getLengthInBits())/8;for(let e=0;e<s;e++)i.put(e%2?17:236,8);return function(e,n,t){const i=a.getSymbolTotalCodewords(n),o=u.getTotalCodewordsCount(n,t),r=i-o,s=u.getBlocksCount(n,t),l=i%s,c=s-l,p=Math.floor(i/s),f=Math.floor(r/s),m=f+1,h=p-f,g=new d(h);let b=0;const v=new Array(s),A=new Array(s);let y=0;const w=new Uint8Array(e.buffer);for(let e=0;e<s;e++){const n=e<c?f:m;v[e]=w.slice(b,b+n),A[e]=g.encode(v[e]),b+=n,y=Math.max(y,n)}const x=new Uint8Array(i);let C,E,k=0;for(C=0;C<y;C++)for(E=0;E<s;E++)C<v[E].length&&(x[k++]=v[E][C]);for(C=0;C<h;C++)for(E=0;E<s;E++)x[k++]=A[E][C];return x}(i,e,n)}function v(e,n,t,i){let o;if(Array.isArray(e))o=h.fromArray(e);else{if("string"!=typeof e)throw new Error("Invalid data");{let a=n;if(!a){const n=h.rawSplit(e);a=p.getBestVersionForData(n,t)}o=h.fromString(e,a||40)}}const u=p.getBestVersionForData(o,t);if(!u)throw new Error("The amount of data is too big to be stored in a QR Code");if(n){if(n<u)throw new Error("\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: "+u+".\n")}else n=u;const d=b(n,t,o),f=a.getSymbolSize(n),m=new r(f);return function(e,n){const t=e.size,a=l.getPositions(n);for(let n=0;n<a.length;n++){const i=a[n][0],o=a[n][1];for(let n=-1;n<=7;n++)if(!(i+n<=-1||t<=i+n))for(let a=-1;a<=7;a++)o+a<=-1||t<=o+a||(n>=0&&n<=6&&(0===a||6===a)||a>=0&&a<=6&&(0===n||6===n)||n>=2&&n<=4&&a>=2&&a<=4?e.set(i+n,o+a,!0,!0):e.set(i+n,o+a,!1,!0))}}(m,n),function(e){const n=e.size;for(let t=8;t<n-8;t++){const n=t%2==0;e.set(t,6,n,!0),e.set(6,t,n,!0)}}(m),function(e,n){const t=s.getPositions(n);for(let n=0;n<t.length;n++){const a=t[n][0],i=t[n][1];for(let n=-2;n<=2;n++)for(let t=-2;t<=2;t++)-2===n||2===n||-2===t||2===t||0===n&&0===t?e.set(a+n,i+t,!0,!0):e.set(a+n,i+t,!1,!0)}}(m,n),g(m,t,0),n>=7&&function(e,n){const t=e.size,a=p.getEncodedBits(n);let i,o,r;for(let n=0;n<18;n++)i=Math.floor(n/3),o=n%3+t-8-3,r=1==(a>>n&1),e.set(i,o,r,!0),e.set(o,i,r,!0)}(m,n),function(e,n){const t=e.size;let a=-1,i=t-1,o=7,r=0;for(let s=t-1;s>0;s-=2)for(6===s&&s--;;){for(let t=0;t<2;t++)if(!e.isReserved(i,s-t)){let a=!1;r<n.length&&(a=1==(n[r]>>>o&1)),e.set(i,s-t,a),o--,-1===o&&(r++,o=7)}if(i+=a,i<0||t<=i){i-=a,a=-a;break}}}(m,d),isNaN(i)&&(i=c.getBestMask(m,g.bind(null,m,t))),c.applyMask(i,m),g(m,t,i),{modules:m,version:n,errorCorrectionLevel:t,maskPattern:i,segments:o}}n.create=function(e,n){if(void 0===e||""===e)throw new Error("No input text");let t,o,r=i.M;return void 0!==n&&(r=i.from(n.errorCorrectionLevel,i.M),t=p.from(n.version),o=c.from(n.maskPattern),n.toSJISFunc&&a.setToSJISFunction(n.toSJISFunc)),v(e,t,r,o)}},4764(e,n,t){const a=t(4713);function i(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}i.prototype.initialize=function(e){this.degree=e,this.genPoly=a.generateECPolynomial(this.degree)},i.prototype.encode=function(e){if(!this.genPoly)throw new Error("Encoder not initialized");const n=new Uint8Array(e.length+this.degree);n.set(e);const t=a.mod(n,this.genPoly),i=this.degree-t.length;if(i>0){const e=new Uint8Array(this.degree);return e.set(t,i),e}return t},e.exports=i},7044(e,n){const t="[0-9]+";let a="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";a=a.replace(/u/g,"\\u");const i="(?:(?![A-Z0-9 $%*+\\-./:]|"+a+")(?:.|[\r\n]))+";n.KANJI=new RegExp(a,"g"),n.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),n.BYTE=new RegExp(i,"g"),n.NUMERIC=new RegExp(t,"g"),n.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");const o=new RegExp("^"+a+"$"),r=new RegExp("^"+t+"$"),s=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");n.testKanji=function(e){return o.test(e)},n.testNumeric=function(e){return r.test(e)},n.testAlphanumeric=function(e){return s.test(e)}},9801(e,n,t){const a=t(208),i=t(4357),o=t(1433),r=t(5822),s=t(4861),l=t(7044),c=t(6886),u=t(6320);function d(e){return unescape(encodeURIComponent(e)).length}function p(e,n,t){const a=[];let i;for(;null!==(i=e.exec(t));)a.push({data:i[0],index:i.index,mode:n,length:i[0].length});return a}function f(e){const n=p(l.NUMERIC,a.NUMERIC,e),t=p(l.ALPHANUMERIC,a.ALPHANUMERIC,e);let i,o;c.isKanjiModeEnabled()?(i=p(l.BYTE,a.BYTE,e),o=p(l.KANJI,a.KANJI,e)):(i=p(l.BYTE_KANJI,a.BYTE,e),o=[]);return n.concat(t,i,o).sort(function(e,n){return e.index-n.index}).map(function(e){return{data:e.data,mode:e.mode,length:e.length}})}function m(e,n){switch(n){case a.NUMERIC:return i.getBitsLength(e);case a.ALPHANUMERIC:return o.getBitsLength(e);case a.KANJI:return s.getBitsLength(e);case a.BYTE:return r.getBitsLength(e)}}function h(e,n){let t;const l=a.getBestModeForData(e);if(t=a.from(n,l),t!==a.BYTE&&t.bit<l.bit)throw new Error('"'+e+'" cannot be encoded with mode '+a.toString(t)+".\n Suggested mode is: "+a.toString(l));switch(t!==a.KANJI||c.isKanjiModeEnabled()||(t=a.BYTE),t){case a.NUMERIC:return new i(e);case a.ALPHANUMERIC:return new o(e);case a.KANJI:return new s(e);case a.BYTE:return new r(e)}}n.fromArray=function(e){return e.reduce(function(e,n){return"string"==typeof n?e.push(h(n,null)):n.data&&e.push(h(n.data,n.mode)),e},[])},n.fromString=function(e,t){const i=function(e){const n=[];for(let t=0;t<e.length;t++){const i=e[t];switch(i.mode){case a.NUMERIC:n.push([i,{data:i.data,mode:a.ALPHANUMERIC,length:i.length},{data:i.data,mode:a.BYTE,length:i.length}]);break;case a.ALPHANUMERIC:n.push([i,{data:i.data,mode:a.BYTE,length:i.length}]);break;case a.KANJI:n.push([i,{data:i.data,mode:a.BYTE,length:d(i.data)}]);break;case a.BYTE:n.push([{data:i.data,mode:a.BYTE,length:d(i.data)}])}}return n}(f(e,c.isKanjiModeEnabled())),o=function(e,n){const t={},i={start:{}};let o=["start"];for(let r=0;r<e.length;r++){const s=e[r],l=[];for(let e=0;e<s.length;e++){const c=s[e],u=""+r+e;l.push(u),t[u]={node:c,lastCount:0},i[u]={};for(let e=0;e<o.length;e++){const r=o[e];t[r]&&t[r].node.mode===c.mode?(i[r][u]=m(t[r].lastCount+c.length,c.mode)-m(t[r].lastCount,c.mode),t[r].lastCount+=c.length):(t[r]&&(t[r].lastCount=c.length),i[r][u]=m(c.length,c.mode)+4+a.getCharCountIndicator(c.mode,n))}}o=l}for(let e=0;e<o.length;e++)i[o[e]].end=0;return{map:i,table:t}}(i,t),r=u.find_path(o.map,"start","end"),s=[];for(let e=1;e<r.length-1;e++)s.push(o.table[r[e]].node);return n.fromArray(function(e){return e.reduce(function(e,n){const t=e.length-1>=0?e[e.length-1]:null;return t&&t.mode===n.mode?(e[e.length-1].data+=n.data,e):(e.push(n),e)},[])}(s))},n.rawSplit=function(e){return n.fromArray(f(e,c.isKanjiModeEnabled()))}},6886(e,n){let t;const a=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];n.getSymbolSize=function(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return 4*e+17},n.getSymbolTotalCodewords=function(e){return a[e]},n.getBCHDigit=function(e){let n=0;for(;0!==e;)n++,e>>>=1;return n},n.setToSJISFunction=function(e){if("function"!=typeof e)throw new Error('"toSJISFunc" is not a valid function.');t=e},n.isKanjiModeEnabled=function(){return void 0!==t},n.toSJIS=function(e){return t(e)}},1878(e,n){n.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}},1427(e,n,t){const a=t(6886),i=t(7518),o=t(9953),r=t(208),s=t(1878),l=a.getBCHDigit(7973);function c(e,n){return r.getCharCountIndicator(e,n)+4}function u(e,n){let t=0;return e.forEach(function(e){const a=c(e.mode,n);t+=a+e.getBitsLength()}),t}n.from=function(e,n){return s.isValid(e)?parseInt(e,10):n},n.getCapacity=function(e,n,t){if(!s.isValid(e))throw new Error("Invalid QR Code version");void 0===t&&(t=r.BYTE);const o=8*(a.getSymbolTotalCodewords(e)-i.getTotalCodewordsCount(e,n));if(t===r.MIXED)return o;const l=o-c(t,e);switch(t){case r.NUMERIC:return Math.floor(l/10*3);case r.ALPHANUMERIC:return Math.floor(l/11*2);case r.KANJI:return Math.floor(l/13);case r.BYTE:default:return Math.floor(l/8)}},n.getBestVersionForData=function(e,t){let a;const i=o.from(t,o.M);if(Array.isArray(e)){if(e.length>1)return function(e,t){for(let a=1;a<=40;a++)if(u(e,a)<=n.getCapacity(a,t,r.MIXED))return a}(e,i);if(0===e.length)return 1;a=e[0]}else a=e;return function(e,t,a){for(let i=1;i<=40;i++)if(t<=n.getCapacity(i,a,e))return i}(a.mode,a.getLength(),i)},n.getEncodedBits=function(e){if(!s.isValid(e)||e<7)throw new Error("Invalid QR Code version");let n=e<<12;for(;a.getBCHDigit(n)-l>=0;)n^=7973<<a.getBCHDigit(n)-l;return e<<12|n}},7899(e,n,t){const a=t(2726);n.render=function(e,n,t){let i=t,o=n;void 0!==i||n&&n.getContext||(i=n,n=void 0),n||(o=function(){try{return document.createElement("canvas")}catch(e){throw new Error("You need to specify a canvas element")}}()),i=a.getOptions(i);const r=a.getImageWidth(e.modules.size,i),s=o.getContext("2d"),l=s.createImageData(r,r);return a.qrToImageData(l.data,e,i),function(e,n,t){e.clearRect(0,0,n.width,n.height),n.style||(n.style={}),n.height=t,n.width=t,n.style.height=t+"px",n.style.width=t+"px"}(s,o,r),s.putImageData(l,0,0),o},n.renderToDataURL=function(e,t,a){let i=a;void 0!==i||t&&t.getContext||(i=t,t=void 0),i||(i={});const o=n.render(e,t,i),r=i.type||"image/png",s=i.rendererOpts||{};return o.toDataURL(r,s.quality)}},6756(e,n,t){const a=t(2726);function i(e,n){const t=e.a/255,a=n+'="'+e.hex+'"';return t<1?a+" "+n+'-opacity="'+t.toFixed(2).slice(1)+'"':a}function o(e,n,t){let a=e+n;return void 0!==t&&(a+=" "+t),a}n.render=function(e,n,t){const r=a.getOptions(n),s=e.modules.size,l=e.modules.data,c=s+2*r.margin,u=r.color.light.a?"<path "+i(r.color.light,"fill")+' d="M0 0h'+c+"v"+c+'H0z"/>':"",d="<path "+i(r.color.dark,"stroke")+' d="'+function(e,n,t){let a="",i=0,r=!1,s=0;for(let l=0;l<e.length;l++){const c=Math.floor(l%n),u=Math.floor(l/n);c||r||(r=!0),e[l]?(s++,l>0&&c>0&&e[l-1]||(a+=r?o("M",c+t,.5+u+t):o("m",i,0),i=0,r=!1),c+1<n&&e[l+1]||(a+=o("h",s),s=0)):i++}return a}(l,s,r.margin)+'"/>',p='viewBox="0 0 '+c+" "+c+'"',f='<svg xmlns="http://www.w3.org/2000/svg" '+(r.width?'width="'+r.width+'" height="'+r.width+'" ':"")+p+' shape-rendering="crispEdges">'+u+d+"</svg>\n";return"function"==typeof t&&t(null,f),f}},2726(e,n){function t(e){if("number"==typeof e&&(e=e.toString()),"string"!=typeof e)throw new Error("Color should be defined as hex string");let n=e.slice().replace("#","").split("");if(n.length<3||5===n.length||n.length>8)throw new Error("Invalid hex color: "+e);3!==n.length&&4!==n.length||(n=Array.prototype.concat.apply([],n.map(function(e){return[e,e]}))),6===n.length&&n.push("F","F");const t=parseInt(n.join(""),16);return{r:t>>24&255,g:t>>16&255,b:t>>8&255,a:255&t,hex:"#"+n.slice(0,6).join("")}}n.getOptions=function(e){e||(e={}),e.color||(e.color={});const n=void 0===e.margin||null===e.margin||e.margin<0?4:e.margin,a=e.width&&e.width>=21?e.width:void 0,i=e.scale||4;return{width:a,scale:a?4:i,margin:n,color:{dark:t(e.color.dark||"#000000ff"),light:t(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}},n.getScale=function(e,n){return n.width&&n.width>=e+2*n.margin?n.width/(e+2*n.margin):n.scale},n.getImageWidth=function(e,t){const a=n.getScale(e,t);return Math.floor((e+2*t.margin)*a)},n.qrToImageData=function(e,t,a){const i=t.modules.size,o=t.modules.data,r=n.getScale(i,a),s=Math.floor((i+2*a.margin)*r),l=a.margin*r,c=[a.color.light,a.color.dark];for(let n=0;n<s;n++)for(let t=0;t<s;t++){let u=4*(n*s+t),d=a.color.light;if(n>=l&&t>=l&&n<s-l&&t<s-l){d=c[o[Math.floor((n-l)/r)*i+Math.floor((t-l)/r)]?1:0]}e[u++]=d.r,e[u++]=d.g,e[u++]=d.b,e[u]=d.a}}},3172(e,n){"use strict"},1247(e,n,t){"use strict";var a=t(9982),i=t(6540),o=t(961);function r(e){var n="https://react.dev/errors/"+e;if(1<arguments.length){n+="?args[]="+encodeURIComponent(arguments[1]);for(var t=2;t<arguments.length;t++)n+="&args[]="+encodeURIComponent(arguments[t])}return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function l(e){var n=e,t=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do{!!(4098&(n=e).flags)&&(t=n.return),e=n.return}while(e)}return 3===n.tag?t:null}function c(e){if(13===e.tag){var n=e.memoizedState;if(null===n&&(null!==(e=e.alternate)&&(n=e.memoizedState)),null!==n)return n.dehydrated}return null}function u(e){if(31===e.tag){var n=e.memoizedState;if(null===n&&(null!==(e=e.alternate)&&(n=e.memoizedState)),null!==n)return n.dehydrated}return null}function d(e){if(l(e)!==e)throw Error(r(188))}function p(e){var n=e.tag;if(5===n||26===n||27===n||6===n)return e;for(e=e.child;null!==e;){if(null!==(n=p(e)))return n;e=e.sibling}return null}var f=Object.assign,m=Symbol.for("react.element"),h=Symbol.for("react.transitional.element"),g=Symbol.for("react.portal"),b=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),A=Symbol.for("react.profiler"),y=Symbol.for("react.consumer"),w=Symbol.for("react.context"),x=Symbol.for("react.forward_ref"),C=Symbol.for("react.suspense"),E=Symbol.for("react.suspense_list"),k=Symbol.for("react.memo"),B=Symbol.for("react.lazy");Symbol.for("react.scope");var S=Symbol.for("react.activity");Symbol.for("react.legacy_hidden"),Symbol.for("react.tracing_marker");var T=Symbol.for("react.memo_cache_sentinel");Symbol.for("react.view_transition");var P=Symbol.iterator;function F(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=P&&e[P]||e["@@iterator"])?e:null}var N=Symbol.for("react.client.reference");function L(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===N?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case b:return"Fragment";case A:return"Profiler";case v:return"StrictMode";case C:return"Suspense";case E:return"SuspenseList";case S:return"Activity"}if("object"==typeof e)switch(e.$$typeof){case g:return"Portal";case w:return e.displayName||"Context";case y:return(e._context.displayName||"Context")+".Consumer";case x:var n=e.render;return(e=e.displayName)||(e=""!==(e=n.displayName||n.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case k:return null!==(n=e.displayName||null)?n:L(e.type)||"Memo";case B:n=e._payload,e=e._init;try{return L(e(n))}catch(e){}}return null}var I=Array.isArray,_=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,O=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,R={pending:!1,data:null,method:null,action:null},D=[],M=-1;function j(e){return{current:e}}function z(e){0>M||(e.current=D[M],D[M]=null,M--)}function U(e,n){M++,D[M]=e.current,e.current=n}var q,$,H=j(null),V=j(null),G=j(null),W=j(null);function Y(e,n){switch(U(G,n),U(V,e),U(H,null),n.nodeType){case 9:case 11:e=(e=n.documentElement)&&(e=e.namespaceURI)?bd(e):0;break;default:if(e=n.tagName,n=n.namespaceURI)e=vd(n=bd(n),e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}z(H),U(H,e)}function Q(){z(H),z(V),z(G)}function X(e){null!==e.memoizedState&&U(W,e);var n=H.current,t=vd(n,e.type);n!==t&&(U(V,e),U(H,t))}function K(e){V.current===e&&(z(H),z(V)),W.current===e&&(z(W),up._currentValue=R)}function Z(e){if(void 0===q)try{throw Error()}catch(e){var n=e.stack.trim().match(/\n( *(at )?)/);q=n&&n[1]||"",$=-1<e.stack.indexOf("\n at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+q+e+$}var J=!1;function ee(e,n){if(!e||J)return"";J=!0;var t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(n){var t=function(){throw Error()};if(Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var a=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){a=e}e.call(t.prototype)}}else{try{throw Error()}catch(e){a=e}(t=e())&&"function"==typeof t.catch&&t.catch(function(){})}}catch(e){if(e&&a&&"string"==typeof e.stack)return[e.stack,a.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var i=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");i&&i.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var o=a.DetermineComponentFrameRoot(),r=o[0],s=o[1];if(r&&s){var l=r.split("\n"),c=s.split("\n");for(i=a=0;a<l.length&&!l[a].includes("DetermineComponentFrameRoot");)a++;for(;i<c.length&&!c[i].includes("DetermineComponentFrameRoot");)i++;if(a===l.length||i===c.length)for(a=l.length-1,i=c.length-1;1<=a&&0<=i&&l[a]!==c[i];)i--;for(;1<=a&&0<=i;a--,i--)if(l[a]!==c[i]){if(1!==a||1!==i)do{if(a--,0>--i||l[a]!==c[i]){var u="\n"+l[a].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}}while(1<=a&&0<=i);break}}}finally{J=!1,Error.prepareStackTrace=t}return(t=e?e.displayName||e.name:"")?Z(t):""}function ne(e,n){switch(e.tag){case 26:case 27:case 5:return Z(e.type);case 16:return Z("Lazy");case 13:return e.child!==n&&null!==n?Z("Suspense Fallback"):Z("Suspense");case 19:return Z("SuspenseList");case 0:case 15:return ee(e.type,!1);case 11:return ee(e.type.render,!1);case 1:return ee(e.type,!0);case 31:return Z("Activity");default:return""}}function te(e){try{var n="",t=null;do{n+=ne(e,t),t=e,e=e.return}while(e);return n}catch(e){return"\nError generating stack: "+e.message+"\n"+e.stack}}var ae=Object.prototype.hasOwnProperty,ie=a.unstable_scheduleCallback,oe=a.unstable_cancelCallback,re=a.unstable_shouldYield,se=a.unstable_requestPaint,le=a.unstable_now,ce=a.unstable_getCurrentPriorityLevel,ue=a.unstable_ImmediatePriority,de=a.unstable_UserBlockingPriority,pe=a.unstable_NormalPriority,fe=a.unstable_LowPriority,me=a.unstable_IdlePriority,he=a.log,ge=a.unstable_setDisableYieldValue,be=null,ve=null;function Ae(e){if("function"==typeof he&&ge(e),ve&&"function"==typeof ve.setStrictMode)try{ve.setStrictMode(be,e)}catch(e){}}var ye=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(we(e)/xe|0)|0},we=Math.log,xe=Math.LN2;var Ce=256,Ee=262144,ke=4194304;function Be(e){var n=42&e;if(0!==n)return n;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return 261888&e;case 262144:case 524288:case 1048576:case 2097152:return 3932160&e;case 4194304:case 8388608:case 16777216:case 33554432:return 62914560&e;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Se(e,n,t){var a=e.pendingLanes;if(0===a)return 0;var i=0,o=e.suspendedLanes,r=e.pingedLanes;e=e.warmLanes;var s=134217727&a;return 0!==s?0!==(a=s&~o)?i=Be(a):0!==(r&=s)?i=Be(r):t||0!==(t=s&~e)&&(i=Be(t)):0!==(s=a&~o)?i=Be(s):0!==r?i=Be(r):t||0!==(t=a&~e)&&(i=Be(t)),0===i?0:0!==n&&n!==i&&0===(n&o)&&((o=i&-i)>=(t=n&-n)||32===o&&4194048&t)?n:i}function Te(e,n){return 0===(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&n)}function Pe(e,n){switch(e){case 1:case 2:case 4:case 8:case 64:return n+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n+5e3;default:return-1}}function Fe(){var e=ke;return!(62914560&(ke<<=1))&&(ke=4194304),e}function Ne(e){for(var n=[],t=0;31>t;t++)n.push(e);return n}function Le(e,n){e.pendingLanes|=n,268435456!==n&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Ie(e,n,t){e.pendingLanes|=n,e.suspendedLanes&=~n;var a=31-ye(n);e.entangledLanes|=n,e.entanglements[a]=1073741824|e.entanglements[a]|261930&t}function _e(e,n){var t=e.entangledLanes|=n;for(e=e.entanglements;t;){var a=31-ye(t),i=1<<a;i&n|e[a]&n&&(e[a]|=n),t&=~i}}function Oe(e,n){var t=n&-n;return 0!==((t=42&t?1:Re(t))&(e.suspendedLanes|n))?0:t}function Re(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function De(e){return 2<(e&=-e)?8<e?134217727&e?32:268435456:8:2}function Me(){var e=O.p;return 0!==e?e:void 0===(e=window.event)?32:Bp(e.type)}function je(e,n){var t=O.p;try{return O.p=e,n()}finally{O.p=t}}var ze=Math.random().toString(36).slice(2),Ue="__reactFiber$"+ze,qe="__reactProps$"+ze,$e="__reactContainer$"+ze,He="__reactEvents$"+ze,Ve="__reactListeners$"+ze,Ge="__reactHandles$"+ze,We="__reactResources$"+ze,Ye="__reactMarker$"+ze;function Qe(e){delete e[Ue],delete e[qe],delete e[He],delete e[Ve],delete e[Ge]}function Xe(e){var n=e[Ue];if(n)return n;for(var t=e.parentNode;t;){if(n=t[$e]||t[Ue]){if(t=n.alternate,null!==n.child||null!==t&&null!==t.child)for(e=Rd(e);null!==e;){if(t=e[Ue])return t;e=Rd(e)}return n}t=(e=t).parentNode}return null}function Ke(e){if(e=e[Ue]||e[$e]){var n=e.tag;if(5===n||6===n||13===n||31===n||26===n||27===n||3===n)return e}return null}function Ze(e){var n=e.tag;if(5===n||26===n||27===n||6===n)return e.stateNode;throw Error(r(33))}function Je(e){var n=e[We];return n||(n=e[We]={hoistableStyles:new Map,hoistableScripts:new Map}),n}function en(e){e[Ye]=!0}var nn=new Set,tn={};function an(e,n){on(e,n),on(e+"Capture",n)}function on(e,n){for(tn[e]=n,e=0;e<n.length;e++)nn.add(n[e])}var rn=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),sn={},ln={};function cn(e,n,t){if(i=n,ae.call(ln,i)||!ae.call(sn,i)&&(rn.test(i)?ln[i]=!0:(sn[i]=!0,0)))if(null===t)e.removeAttribute(n);else{switch(typeof t){case"undefined":case"function":case"symbol":return void e.removeAttribute(n);case"boolean":var a=n.toLowerCase().slice(0,5);if("data-"!==a&&"aria-"!==a)return void e.removeAttribute(n)}e.setAttribute(n,""+t)}var i}function un(e,n,t){if(null===t)e.removeAttribute(n);else{switch(typeof t){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(n)}e.setAttribute(n,""+t)}}function dn(e,n,t,a){if(null===a)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(t)}e.setAttributeNS(n,t,""+a)}}function pn(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function fn(e){var n=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===n||"radio"===n)}function mn(e){if(!e._valueTracker){var n=fn(e)?"checked":"value";e._valueTracker=function(e,n,t){var a=Object.getOwnPropertyDescriptor(e.constructor.prototype,n);if(!e.hasOwnProperty(n)&&void 0!==a&&"function"==typeof a.get&&"function"==typeof a.set){var i=a.get,o=a.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return i.call(this)},set:function(e){t=""+e,o.call(this,e)}}),Object.defineProperty(e,n,{enumerable:a.enumerable}),{getValue:function(){return t},setValue:function(e){t=""+e},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}(e,n,""+e[n])}}function hn(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),a="";return e&&(a=fn(e)?e.checked?"true":"false":e.value),(e=a)!==t&&(n.setValue(e),!0)}function gn(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(n){return e.body}}var bn=/[\n"\\]/g;function vn(e){return e.replace(bn,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function An(e,n,t,a,i,o,r,s){e.name="",null!=r&&"function"!=typeof r&&"symbol"!=typeof r&&"boolean"!=typeof r?e.type=r:e.removeAttribute("type"),null!=n?"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+pn(n)):e.value!==""+pn(n)&&(e.value=""+pn(n)):"submit"!==r&&"reset"!==r||e.removeAttribute("value"),null!=n?wn(e,r,pn(n)):null!=t?wn(e,r,pn(t)):null!=a&&e.removeAttribute("value"),null==i&&null!=o&&(e.defaultChecked=!!o),null!=i&&(e.checked=i&&"function"!=typeof i&&"symbol"!=typeof i),null!=s&&"function"!=typeof s&&"symbol"!=typeof s&&"boolean"!=typeof s?e.name=""+pn(s):e.removeAttribute("name")}function yn(e,n,t,a,i,o,r,s){if(null!=o&&"function"!=typeof o&&"symbol"!=typeof o&&"boolean"!=typeof o&&(e.type=o),null!=n||null!=t){if(("submit"===o||"reset"===o)&&null==n)return void mn(e);t=null!=t?""+pn(t):"",n=null!=n?""+pn(n):t,s||n===e.value||(e.value=n),e.defaultValue=n}a="function"!=typeof(a=null!=a?a:i)&&"symbol"!=typeof a&&!!a,e.checked=s?e.checked:!!a,e.defaultChecked=!!a,null!=r&&"function"!=typeof r&&"symbol"!=typeof r&&"boolean"!=typeof r&&(e.name=r),mn(e)}function wn(e,n,t){"number"===n&&gn(e.ownerDocument)===e||e.defaultValue===""+t||(e.defaultValue=""+t)}function xn(e,n,t,a){if(e=e.options,n){n={};for(var i=0;i<t.length;i++)n["$"+t[i]]=!0;for(t=0;t<e.length;t++)i=n.hasOwnProperty("$"+e[t].value),e[t].selected!==i&&(e[t].selected=i),i&&a&&(e[t].defaultSelected=!0)}else{for(t=""+pn(t),n=null,i=0;i<e.length;i++){if(e[i].value===t)return e[i].selected=!0,void(a&&(e[i].defaultSelected=!0));null!==n||e[i].disabled||(n=e[i])}null!==n&&(n.selected=!0)}}function Cn(e,n,t){null==n||((n=""+pn(n))!==e.value&&(e.value=n),null!=t)?e.defaultValue=null!=t?""+pn(t):"":e.defaultValue!==n&&(e.defaultValue=n)}function En(e,n,t,a){if(null==n){if(null!=a){if(null!=t)throw Error(r(92));if(I(a)){if(1<a.length)throw Error(r(93));a=a[0]}t=a}null==t&&(t=""),n=t}t=pn(n),e.defaultValue=t,(a=e.textContent)===t&&""!==a&&null!==a&&(e.value=a),mn(e)}function kn(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&3===t.nodeType)return void(t.nodeValue=n)}e.textContent=n}var Bn=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Sn(e,n,t){var a=0===n.indexOf("--");null==t||"boolean"==typeof t||""===t?a?e.setProperty(n,""):"float"===n?e.cssFloat="":e[n]="":a?e.setProperty(n,t):"number"!=typeof t||0===t||Bn.has(n)?"float"===n?e.cssFloat=t:e[n]=(""+t).trim():e[n]=t+"px"}function Tn(e,n,t){if(null!=n&&"object"!=typeof n)throw Error(r(62));if(e=e.style,null!=t){for(var a in t)!t.hasOwnProperty(a)||null!=n&&n.hasOwnProperty(a)||(0===a.indexOf("--")?e.setProperty(a,""):"float"===a?e.cssFloat="":e[a]="");for(var i in n)a=n[i],n.hasOwnProperty(i)&&t[i]!==a&&Sn(e,i,a)}else for(var o in n)n.hasOwnProperty(o)&&Sn(e,o,n[o])}function Pn(e){if(-1===e.indexOf("-"))return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Fn=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Nn=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Ln(e){return Nn.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function In(){}var _n=null;function On(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Rn=null,Dn=null;function Mn(e){var n=Ke(e);if(n&&(e=n.stateNode)){var t=e[qe]||null;e:switch(e=n.stateNode,n.type){case"input":if(An(e,t.value,t.defaultValue,t.defaultValue,t.checked,t.defaultChecked,t.type,t.name),n=t.name,"radio"===t.type&&null!=n){for(t=e;t.parentNode;)t=t.parentNode;for(t=t.querySelectorAll('input[name="'+vn(""+n)+'"][type="radio"]'),n=0;n<t.length;n++){var a=t[n];if(a!==e&&a.form===e.form){var i=a[qe]||null;if(!i)throw Error(r(90));An(a,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name)}}for(n=0;n<t.length;n++)(a=t[n]).form===e.form&&hn(a)}break e;case"textarea":Cn(e,t.value,t.defaultValue);break e;case"select":null!=(n=t.value)&&xn(e,!!t.multiple,n,!1)}}}var jn=!1;function zn(e,n,t){if(jn)return e(n,t);jn=!0;try{return e(n)}finally{if(jn=!1,(null!==Rn||null!==Dn)&&(Jc(),Rn&&(n=Rn,e=Dn,Dn=Rn=null,Mn(n),e)))for(n=0;n<e.length;n++)Mn(e[n])}}function Un(e,n){var t=e.stateNode;if(null===t)return null;var a=t[qe]||null;if(null===a)return null;t=a[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(a=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!a;break e;default:e=!1}if(e)return null;if(t&&"function"!=typeof t)throw Error(r(231,n,typeof t));return t}var qn=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),$n=!1;if(qn)try{var Hn={};Object.defineProperty(Hn,"passive",{get:function(){$n=!0}}),window.addEventListener("test",Hn,Hn),window.removeEventListener("test",Hn,Hn)}catch(e){$n=!1}var Vn=null,Gn=null,Wn=null;function Yn(){if(Wn)return Wn;var e,n,t=Gn,a=t.length,i="value"in Vn?Vn.value:Vn.textContent,o=i.length;for(e=0;e<a&&t[e]===i[e];e++);var r=a-e;for(n=1;n<=r&&t[a-n]===i[o-n];n++);return Wn=i.slice(e,1<n?1-n:void 0)}function Qn(e){var n=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===n&&(e=13):e=n,10===e&&(e=13),32<=e||13===e?e:0}function Xn(){return!0}function Kn(){return!1}function Zn(e){function n(n,t,a,i,o){for(var r in this._reactName=n,this._targetInst=a,this.type=t,this.nativeEvent=i,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(r)&&(n=e[r],this[r]=n?n(i):i[r]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?Xn:Kn,this.isPropagationStopped=Kn,this}return f(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Xn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Xn)},persist:function(){},isPersistent:Xn}),n}var Jn,et,nt,tt={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},at=Zn(tt),it=f({},tt,{view:0,detail:0}),ot=Zn(it),rt=f({},it,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:bt,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==nt&&(nt&&"mousemove"===e.type?(Jn=e.screenX-nt.screenX,et=e.screenY-nt.screenY):et=Jn=0,nt=e),Jn)},movementY:function(e){return"movementY"in e?e.movementY:et}}),st=Zn(rt),lt=Zn(f({},rt,{dataTransfer:0})),ct=Zn(f({},it,{relatedTarget:0})),ut=Zn(f({},tt,{animationName:0,elapsedTime:0,pseudoElement:0})),dt=Zn(f({},tt,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),pt=Zn(f({},tt,{data:0})),ft={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},mt={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},ht={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function gt(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):!!(e=ht[e])&&!!n[e]}function bt(){return gt}var vt=Zn(f({},it,{key:function(e){if(e.key){var n=ft[e.key]||e.key;if("Unidentified"!==n)return n}return"keypress"===e.type?13===(e=Qn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?mt[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:bt,charCode:function(e){return"keypress"===e.type?Qn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Qn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),At=Zn(f({},rt,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),yt=Zn(f({},it,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:bt})),wt=Zn(f({},tt,{propertyName:0,elapsedTime:0,pseudoElement:0})),xt=Zn(f({},rt,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),Ct=Zn(f({},tt,{newState:0,oldState:0})),Et=[9,13,27,32],kt=qn&&"CompositionEvent"in window,Bt=null;qn&&"documentMode"in document&&(Bt=document.documentMode);var St=qn&&"TextEvent"in window&&!Bt,Tt=qn&&(!kt||Bt&&8<Bt&&11>=Bt),Pt=String.fromCharCode(32),Ft=!1;function Nt(e,n){switch(e){case"keyup":return-1!==Et.indexOf(n.keyCode);case"keydown":return 229!==n.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Lt(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var It=!1;var _t={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Ot(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===n?!!_t[e.type]:"textarea"===n}function Rt(e,n,t,a){Rn?Dn?Dn.push(a):Dn=[a]:Rn=a,0<(n=ad(n,"onChange")).length&&(t=new at("onChange","change",null,t,a),e.push({event:t,listeners:n}))}var Dt=null,Mt=null;function jt(e){Qu(e,0)}function zt(e){if(hn(Ze(e)))return e}function Ut(e,n){if("change"===e)return n}var qt=!1;if(qn){var $t;if(qn){var Ht="oninput"in document;if(!Ht){var Vt=document.createElement("div");Vt.setAttribute("oninput","return;"),Ht="function"==typeof Vt.oninput}$t=Ht}else $t=!1;qt=$t&&(!document.documentMode||9<document.documentMode)}function Gt(){Dt&&(Dt.detachEvent("onpropertychange",Wt),Mt=Dt=null)}function Wt(e){if("value"===e.propertyName&&zt(Mt)){var n=[];Rt(n,Mt,e,On(e)),zn(jt,n)}}function Yt(e,n,t){"focusin"===e?(Gt(),Mt=t,(Dt=n).attachEvent("onpropertychange",Wt)):"focusout"===e&&Gt()}function Qt(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return zt(Mt)}function Xt(e,n){if("click"===e)return zt(n)}function Kt(e,n){if("input"===e||"change"===e)return zt(n)}var Zt="function"==typeof Object.is?Object.is:function(e,n){return e===n&&(0!==e||1/e==1/n)||e!=e&&n!=n};function Jt(e,n){if(Zt(e,n))return!0;if("object"!=typeof e||null===e||"object"!=typeof n||null===n)return!1;var t=Object.keys(e),a=Object.keys(n);if(t.length!==a.length)return!1;for(a=0;a<t.length;a++){var i=t[a];if(!ae.call(n,i)||!Zt(e[i],n[i]))return!1}return!0}function ea(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function na(e,n){var t,a=ea(e);for(e=0;a;){if(3===a.nodeType){if(t=e+a.textContent.length,e<=n&&t>=n)return{node:a,offset:n-e};e=t}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=ea(a)}}function ta(e,n){return!(!e||!n)&&(e===n||(!e||3!==e.nodeType)&&(n&&3===n.nodeType?ta(e,n.parentNode):"contains"in e?e.contains(n):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(n))))}function aa(e){for(var n=gn((e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window).document);n instanceof e.HTMLIFrameElement;){try{var t="string"==typeof n.contentWindow.location.href}catch(e){t=!1}if(!t)break;n=gn((e=n.contentWindow).document)}return n}function ia(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&("input"===n&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===n||"true"===e.contentEditable)}var oa=qn&&"documentMode"in document&&11>=document.documentMode,ra=null,sa=null,la=null,ca=!1;function ua(e,n,t){var a=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;ca||null==ra||ra!==gn(a)||("selectionStart"in(a=ra)&&ia(a)?a={start:a.selectionStart,end:a.selectionEnd}:a={anchorNode:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset},la&&Jt(la,a)||(la=a,0<(a=ad(sa,"onSelect")).length&&(n=new at("onSelect","select",null,n,t),e.push({event:n,listeners:a}),n.target=ra)))}function da(e,n){var t={};return t[e.toLowerCase()]=n.toLowerCase(),t["Webkit"+e]="webkit"+n,t["Moz"+e]="moz"+n,t}var pa={animationend:da("Animation","AnimationEnd"),animationiteration:da("Animation","AnimationIteration"),animationstart:da("Animation","AnimationStart"),transitionrun:da("Transition","TransitionRun"),transitionstart:da("Transition","TransitionStart"),transitioncancel:da("Transition","TransitionCancel"),transitionend:da("Transition","TransitionEnd")},fa={},ma={};function ha(e){if(fa[e])return fa[e];if(!pa[e])return e;var n,t=pa[e];for(n in t)if(t.hasOwnProperty(n)&&n in ma)return fa[e]=t[n];return e}qn&&(ma=document.createElement("div").style,"AnimationEvent"in window||(delete pa.animationend.animation,delete pa.animationiteration.animation,delete pa.animationstart.animation),"TransitionEvent"in window||delete pa.transitionend.transition);var ga=ha("animationend"),ba=ha("animationiteration"),va=ha("animationstart"),Aa=ha("transitionrun"),ya=ha("transitionstart"),wa=ha("transitioncancel"),xa=ha("transitionend"),Ca=new Map,Ea="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function ka(e,n){Ca.set(e,n),an(n,[e])}Ea.push("scrollEnd");var Ba="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var n=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(n))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)},Sa=[],Ta=0,Pa=0;function Fa(){for(var e=Ta,n=Pa=Ta=0;n<e;){var t=Sa[n];Sa[n++]=null;var a=Sa[n];Sa[n++]=null;var i=Sa[n];Sa[n++]=null;var o=Sa[n];if(Sa[n++]=null,null!==a&&null!==i){var r=a.pending;null===r?i.next=i:(i.next=r.next,r.next=i),a.pending=i}0!==o&&_a(t,i,o)}}function Na(e,n,t,a){Sa[Ta++]=e,Sa[Ta++]=n,Sa[Ta++]=t,Sa[Ta++]=a,Pa|=a,e.lanes|=a,null!==(e=e.alternate)&&(e.lanes|=a)}function La(e,n,t,a){return Na(e,n,t,a),Oa(e)}function Ia(e,n){return Na(e,null,null,n),Oa(e)}function _a(e,n,t){e.lanes|=t;var a=e.alternate;null!==a&&(a.lanes|=t);for(var i=!1,o=e.return;null!==o;)o.childLanes|=t,null!==(a=o.alternate)&&(a.childLanes|=t),22===o.tag&&(null===(e=o.stateNode)||1&e._visibility||(i=!0)),e=o,o=o.return;return 3===e.tag?(o=e.stateNode,i&&null!==n&&(i=31-ye(t),null===(a=(e=o.hiddenUpdates)[i])?e[i]=[n]:a.push(n),n.lane=536870912|t),o):null}function Oa(e){if(50<Hc)throw Hc=0,Vc=null,Error(r(185));for(var n=e.return;null!==n;)n=(e=n).return;return 3===e.tag?e.stateNode:null}var Ra={};function Da(e,n,t,a){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ma(e,n,t,a){return new Da(e,n,t,a)}function ja(e){return!(!(e=e.prototype)||!e.isReactComponent)}function za(e,n){var t=e.alternate;return null===t?((t=Ma(e.tag,n,e.key,e.mode)).elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=n,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=65011712&e.flags,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,n=e.dependencies,t.dependencies=null===n?null:{lanes:n.lanes,firstContext:n.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t.refCleanup=e.refCleanup,t}function Ua(e,n){e.flags&=65011714;var t=e.alternate;return null===t?(e.childLanes=0,e.lanes=n,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=t.childLanes,e.lanes=t.lanes,e.child=t.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=t.memoizedProps,e.memoizedState=t.memoizedState,e.updateQueue=t.updateQueue,e.type=t.type,n=t.dependencies,e.dependencies=null===n?null:{lanes:n.lanes,firstContext:n.firstContext}),e}function qa(e,n,t,a,i,o){var s=0;if(a=e,"function"==typeof e)ja(e)&&(s=1);else if("string"==typeof e)s=function(e,n,t){if(1===t||null!=n.itemProp)return!1;switch(e){case"meta":case"title":return!0;case"style":if("string"!=typeof n.precedence||"string"!=typeof n.href||""===n.href)break;return!0;case"link":if("string"!=typeof n.rel||"string"!=typeof n.href||""===n.href||n.onLoad||n.onError)break;return"stylesheet"!==n.rel||(e=n.disabled,"string"==typeof n.precedence&&null==e);case"script":if(n.async&&"function"!=typeof n.async&&"symbol"!=typeof n.async&&!n.onLoad&&!n.onError&&n.src&&"string"==typeof n.src)return!0}return!1}(e,t,H.current)?26:"html"===e||"head"===e||"body"===e?27:5;else e:switch(e){case S:return(e=Ma(31,t,n,i)).elementType=S,e.lanes=o,e;case b:return $a(t.children,i,o,n);case v:s=8,i|=24;break;case A:return(e=Ma(12,t,n,2|i)).elementType=A,e.lanes=o,e;case C:return(e=Ma(13,t,n,i)).elementType=C,e.lanes=o,e;case E:return(e=Ma(19,t,n,i)).elementType=E,e.lanes=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case w:s=10;break e;case y:s=9;break e;case x:s=11;break e;case k:s=14;break e;case B:s=16,a=null;break e}s=29,t=Error(r(130,null===e?"null":typeof e,"")),a=null}return(n=Ma(s,t,n,i)).elementType=e,n.type=a,n.lanes=o,n}function $a(e,n,t,a){return(e=Ma(7,e,a,n)).lanes=t,e}function Ha(e,n,t){return(e=Ma(6,e,null,n)).lanes=t,e}function Va(e){var n=Ma(18,null,null,0);return n.stateNode=e,n}function Ga(e,n,t){return(n=Ma(4,null!==e.children?e.children:[],e.key,n)).lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}var Wa=new WeakMap;function Ya(e,n){if("object"==typeof e&&null!==e){var t=Wa.get(e);return void 0!==t?t:(n={value:e,source:n,stack:te(n)},Wa.set(e,n),n)}return{value:e,source:n,stack:te(n)}}var Qa=[],Xa=0,Ka=null,Za=0,Ja=[],ei=0,ni=null,ti=1,ai="";function ii(e,n){Qa[Xa++]=Za,Qa[Xa++]=Ka,Ka=e,Za=n}function oi(e,n,t){Ja[ei++]=ti,Ja[ei++]=ai,Ja[ei++]=ni,ni=e;var a=ti;e=ai;var i=32-ye(a)-1;a&=~(1<<i),t+=1;var o=32-ye(n)+i;if(30<o){var r=i-i%5;o=(a&(1<<r)-1).toString(32),a>>=r,i-=r,ti=1<<32-ye(n)+i|t<<i|a,ai=o+e}else ti=1<<o|t<<i|a,ai=e}function ri(e){null!==e.return&&(ii(e,1),oi(e,1,0))}function si(e){for(;e===Ka;)Ka=Qa[--Xa],Qa[Xa]=null,Za=Qa[--Xa],Qa[Xa]=null;for(;e===ni;)ni=Ja[--ei],Ja[ei]=null,ai=Ja[--ei],Ja[ei]=null,ti=Ja[--ei],Ja[ei]=null}function li(e,n){Ja[ei++]=ti,Ja[ei++]=ai,Ja[ei++]=ni,ti=n.id,ai=n.overflow,ni=e}var ci=null,ui=null,di=!1,pi=null,fi=!1,mi=Error(r(519));function hi(e){throw wi(Ya(Error(r(418,1<arguments.length&&void 0!==arguments[1]&&arguments[1]?"text":"HTML","")),e)),mi}function gi(e){var n=e.stateNode,t=e.type,a=e.memoizedProps;switch(n[Ue]=e,n[qe]=a,t){case"dialog":Xu("cancel",n),Xu("close",n);break;case"iframe":case"object":case"embed":Xu("load",n);break;case"video":case"audio":for(t=0;t<Wu.length;t++)Xu(Wu[t],n);break;case"source":Xu("error",n);break;case"img":case"image":case"link":Xu("error",n),Xu("load",n);break;case"details":Xu("toggle",n);break;case"input":Xu("invalid",n),yn(n,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":Xu("invalid",n);break;case"textarea":Xu("invalid",n),En(n,a.value,a.defaultValue,a.children)}"string"!=typeof(t=a.children)&&"number"!=typeof t&&"bigint"!=typeof t||n.textContent===""+t||!0===a.suppressHydrationWarning||cd(n.textContent,t)?(null!=a.popover&&(Xu("beforetoggle",n),Xu("toggle",n)),null!=a.onScroll&&Xu("scroll",n),null!=a.onScrollEnd&&Xu("scrollend",n),null!=a.onClick&&(n.onclick=In),n=!0):n=!1,n||hi(e,!0)}function bi(e){for(ci=e.return;ci;)switch(ci.tag){case 5:case 31:case 13:return void(fi=!1);case 27:case 3:return void(fi=!0);default:ci=ci.return}}function vi(e){if(e!==ci)return!1;if(!di)return bi(e),di=!0,!1;var n,t=e.tag;if((n=3!==t&&27!==t)&&((n=5===t)&&(n=!("form"!==(n=e.type)&&"button"!==n)||Ad(e.type,e.memoizedProps)),n=!n),n&&ui&&hi(e),bi(e),13===t){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(r(317));ui=Od(e)}else if(31===t){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(r(317));ui=Od(e)}else 27===t?(t=ui,Bd(e.type)?(e=_d,_d=null,ui=e):ui=t):ui=ci?Id(e.stateNode.nextSibling):null;return!0}function Ai(){ui=ci=null,di=!1}function yi(){var e=pi;return null!==e&&(null===Fc?Fc=e:Fc.push.apply(Fc,e),pi=null),e}function wi(e){null===pi?pi=[e]:pi.push(e)}var xi=j(null),Ci=null,Ei=null;function ki(e,n,t){U(xi,n._currentValue),n._currentValue=t}function Bi(e){e._currentValue=xi.current,z(xi)}function Si(e,n,t){for(;null!==e;){var a=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,null!==a&&(a.childLanes|=n)):null!==a&&(a.childLanes&n)!==n&&(a.childLanes|=n),e===t)break;e=e.return}}function Ti(e,n,t,a){var i=e.child;for(null!==i&&(i.return=e);null!==i;){var o=i.dependencies;if(null!==o){var s=i.child;o=o.firstContext;e:for(;null!==o;){var l=o;o=i;for(var c=0;c<n.length;c++)if(l.context===n[c]){o.lanes|=t,null!==(l=o.alternate)&&(l.lanes|=t),Si(o.return,t,e),a||(s=null);break e}o=l.next}}else if(18===i.tag){if(null===(s=i.return))throw Error(r(341));s.lanes|=t,null!==(o=s.alternate)&&(o.lanes|=t),Si(s,t,e),s=null}else s=i.child;if(null!==s)s.return=i;else for(s=i;null!==s;){if(s===e){s=null;break}if(null!==(i=s.sibling)){i.return=s.return,s=i;break}s=s.return}i=s}}function Pi(e,n,t,a){e=null;for(var i=n,o=!1;null!==i;){if(!o)if(524288&i.flags)o=!0;else if(262144&i.flags)break;if(10===i.tag){var s=i.alternate;if(null===s)throw Error(r(387));if(null!==(s=s.memoizedProps)){var l=i.type;Zt(i.pendingProps.value,s.value)||(null!==e?e.push(l):e=[l])}}else if(i===W.current){if(null===(s=i.alternate))throw Error(r(387));s.memoizedState.memoizedState!==i.memoizedState.memoizedState&&(null!==e?e.push(up):e=[up])}i=i.return}null!==e&&Ti(n,e,t,a),n.flags|=262144}function Fi(e){for(e=e.firstContext;null!==e;){if(!Zt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Ni(e){Ci=e,Ei=null,null!==(e=e.dependencies)&&(e.firstContext=null)}function Li(e){return _i(Ci,e)}function Ii(e,n){return null===Ci&&Ni(e),_i(e,n)}function _i(e,n){var t=n._currentValue;if(n={context:n,memoizedValue:t,next:null},null===Ei){if(null===e)throw Error(r(308));Ei=n,e.dependencies={lanes:0,firstContext:n},e.flags|=524288}else Ei=Ei.next=n;return t}var Oi="undefined"!=typeof AbortController?AbortController:function(){var e=[],n=this.signal={aborted:!1,addEventListener:function(n,t){e.push(t)}};this.abort=function(){n.aborted=!0,e.forEach(function(e){return e()})}},Ri=a.unstable_scheduleCallback,Di=a.unstable_NormalPriority,Mi={$$typeof:w,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function ji(){return{controller:new Oi,data:new Map,refCount:0}}function zi(e){e.refCount--,0===e.refCount&&Ri(Di,function(){e.controller.abort()})}var Ui=null,qi=0,$i=0,Hi=null;function Vi(){if(0===--qi&&null!==Ui){null!==Hi&&(Hi.status="fulfilled");var e=Ui;Ui=null,$i=0,Hi=null;for(var n=0;n<e.length;n++)(0,e[n])()}}var Gi=_.S;_.S=function(e,n){Ic=le(),"object"==typeof n&&null!==n&&"function"==typeof n.then&&function(e,n){if(null===Ui){var t=Ui=[];qi=0,$i=qu(),Hi={status:"pending",value:void 0,then:function(e){t.push(e)}}}qi++,n.then(Vi,Vi)}(0,n),null!==Gi&&Gi(e,n)};var Wi=j(null);function Yi(){var e=Wi.current;return null!==e?e:mc.pooledCache}function Qi(e,n){U(Wi,null===n?Wi.current:n.pool)}function Xi(){var e=Yi();return null===e?null:{parent:Mi._currentValue,pool:e}}var Ki=Error(r(460)),Zi=Error(r(474)),Ji=Error(r(542)),eo={then:function(){}};function no(e){return"fulfilled"===(e=e.status)||"rejected"===e}function to(e,n,t){switch(void 0===(t=e[t])?e.push(n):t!==n&&(n.then(In,In),n=t),n.status){case"fulfilled":return n.value;case"rejected":throw ro(e=n.reason),e;default:if("string"==typeof n.status)n.then(In,In);else{if(null!==(e=mc)&&100<e.shellSuspendCounter)throw Error(r(482));(e=n).status="pending",e.then(function(e){if("pending"===n.status){var t=n;t.status="fulfilled",t.value=e}},function(e){if("pending"===n.status){var t=n;t.status="rejected",t.reason=e}})}switch(n.status){case"fulfilled":return n.value;case"rejected":throw ro(e=n.reason),e}throw io=n,Ki}}function ao(e){try{return(0,e._init)(e._payload)}catch(e){if(null!==e&&"object"==typeof e&&"function"==typeof e.then)throw io=e,Ki;throw e}}var io=null;function oo(){if(null===io)throw Error(r(459));var e=io;return io=null,e}function ro(e){if(e===Ki||e===Ji)throw Error(r(483))}var so=null,lo=0;function co(e){var n=lo;return lo+=1,null===so&&(so=[]),to(so,e,n)}function uo(e,n){n=n.props.ref,e.ref=void 0!==n?n:null}function po(e,n){if(n.$$typeof===m)throw Error(r(525));throw e=Object.prototype.toString.call(n),Error(r(31,"[object Object]"===e?"object with keys {"+Object.keys(n).join(", ")+"}":e))}function fo(e){function n(n,t){if(e){var a=n.deletions;null===a?(n.deletions=[t],n.flags|=16):a.push(t)}}function t(t,a){if(!e)return null;for(;null!==a;)n(t,a),a=a.sibling;return null}function a(e){for(var n=new Map;null!==e;)null!==e.key?n.set(e.key,e):n.set(e.index,e),e=e.sibling;return n}function i(e,n){return(e=za(e,n)).index=0,e.sibling=null,e}function o(n,t,a){return n.index=a,e?null!==(a=n.alternate)?(a=a.index)<t?(n.flags|=67108866,t):a:(n.flags|=67108866,t):(n.flags|=1048576,t)}function s(n){return e&&null===n.alternate&&(n.flags|=67108866),n}function l(e,n,t,a){return null===n||6!==n.tag?((n=Ha(t,e.mode,a)).return=e,n):((n=i(n,t)).return=e,n)}function c(e,n,t,a){var o=t.type;return o===b?d(e,n,t.props.children,a,t.key):null!==n&&(n.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===B&&ao(o)===n.type)?(uo(n=i(n,t.props),t),n.return=e,n):(uo(n=qa(t.type,t.key,t.props,null,e.mode,a),t),n.return=e,n)}function u(e,n,t,a){return null===n||4!==n.tag||n.stateNode.containerInfo!==t.containerInfo||n.stateNode.implementation!==t.implementation?((n=Ga(t,e.mode,a)).return=e,n):((n=i(n,t.children||[])).return=e,n)}function d(e,n,t,a,o){return null===n||7!==n.tag?((n=$a(t,e.mode,a,o)).return=e,n):((n=i(n,t)).return=e,n)}function p(e,n,t){if("string"==typeof n&&""!==n||"number"==typeof n||"bigint"==typeof n)return(n=Ha(""+n,e.mode,t)).return=e,n;if("object"==typeof n&&null!==n){switch(n.$$typeof){case h:return uo(t=qa(n.type,n.key,n.props,null,e.mode,t),n),t.return=e,t;case g:return(n=Ga(n,e.mode,t)).return=e,n;case B:return p(e,n=ao(n),t)}if(I(n)||F(n))return(n=$a(n,e.mode,t,null)).return=e,n;if("function"==typeof n.then)return p(e,co(n),t);if(n.$$typeof===w)return p(e,Ii(e,n),t);po(e,n)}return null}function f(e,n,t,a){var i=null!==n?n.key:null;if("string"==typeof t&&""!==t||"number"==typeof t||"bigint"==typeof t)return null!==i?null:l(e,n,""+t,a);if("object"==typeof t&&null!==t){switch(t.$$typeof){case h:return t.key===i?c(e,n,t,a):null;case g:return t.key===i?u(e,n,t,a):null;case B:return f(e,n,t=ao(t),a)}if(I(t)||F(t))return null!==i?null:d(e,n,t,a,null);if("function"==typeof t.then)return f(e,n,co(t),a);if(t.$$typeof===w)return f(e,n,Ii(e,t),a);po(e,t)}return null}function m(e,n,t,a,i){if("string"==typeof a&&""!==a||"number"==typeof a||"bigint"==typeof a)return l(n,e=e.get(t)||null,""+a,i);if("object"==typeof a&&null!==a){switch(a.$$typeof){case h:return c(n,e=e.get(null===a.key?t:a.key)||null,a,i);case g:return u(n,e=e.get(null===a.key?t:a.key)||null,a,i);case B:return m(e,n,t,a=ao(a),i)}if(I(a)||F(a))return d(n,e=e.get(t)||null,a,i,null);if("function"==typeof a.then)return m(e,n,t,co(a),i);if(a.$$typeof===w)return m(e,n,t,Ii(n,a),i);po(n,a)}return null}function v(l,c,u,d){if("object"==typeof u&&null!==u&&u.type===b&&null===u.key&&(u=u.props.children),"object"==typeof u&&null!==u){switch(u.$$typeof){case h:e:{for(var A=u.key;null!==c;){if(c.key===A){if((A=u.type)===b){if(7===c.tag){t(l,c.sibling),(d=i(c,u.props.children)).return=l,l=d;break e}}else if(c.elementType===A||"object"==typeof A&&null!==A&&A.$$typeof===B&&ao(A)===c.type){t(l,c.sibling),uo(d=i(c,u.props),u),d.return=l,l=d;break e}t(l,c);break}n(l,c),c=c.sibling}u.type===b?((d=$a(u.props.children,l.mode,d,u.key)).return=l,l=d):(uo(d=qa(u.type,u.key,u.props,null,l.mode,d),u),d.return=l,l=d)}return s(l);case g:e:{for(A=u.key;null!==c;){if(c.key===A){if(4===c.tag&&c.stateNode.containerInfo===u.containerInfo&&c.stateNode.implementation===u.implementation){t(l,c.sibling),(d=i(c,u.children||[])).return=l,l=d;break e}t(l,c);break}n(l,c),c=c.sibling}(d=Ga(u,l.mode,d)).return=l,l=d}return s(l);case B:return v(l,c,u=ao(u),d)}if(I(u))return function(i,r,s,l){for(var c=null,u=null,d=r,h=r=0,g=null;null!==d&&h<s.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var b=f(i,d,s[h],l);if(null===b){null===d&&(d=g);break}e&&d&&null===b.alternate&&n(i,d),r=o(b,r,h),null===u?c=b:u.sibling=b,u=b,d=g}if(h===s.length)return t(i,d),di&&ii(i,h),c;if(null===d){for(;h<s.length;h++)null!==(d=p(i,s[h],l))&&(r=o(d,r,h),null===u?c=d:u.sibling=d,u=d);return di&&ii(i,h),c}for(d=a(d);h<s.length;h++)null!==(g=m(d,i,h,s[h],l))&&(e&&null!==g.alternate&&d.delete(null===g.key?h:g.key),r=o(g,r,h),null===u?c=g:u.sibling=g,u=g);return e&&d.forEach(function(e){return n(i,e)}),di&&ii(i,h),c}(l,c,u,d);if(F(u)){if("function"!=typeof(A=F(u)))throw Error(r(150));return function(i,s,l,c){if(null==l)throw Error(r(151));for(var u=null,d=null,h=s,g=s=0,b=null,v=l.next();null!==h&&!v.done;g++,v=l.next()){h.index>g?(b=h,h=null):b=h.sibling;var A=f(i,h,v.value,c);if(null===A){null===h&&(h=b);break}e&&h&&null===A.alternate&&n(i,h),s=o(A,s,g),null===d?u=A:d.sibling=A,d=A,h=b}if(v.done)return t(i,h),di&&ii(i,g),u;if(null===h){for(;!v.done;g++,v=l.next())null!==(v=p(i,v.value,c))&&(s=o(v,s,g),null===d?u=v:d.sibling=v,d=v);return di&&ii(i,g),u}for(h=a(h);!v.done;g++,v=l.next())null!==(v=m(h,i,g,v.value,c))&&(e&&null!==v.alternate&&h.delete(null===v.key?g:v.key),s=o(v,s,g),null===d?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return n(i,e)}),di&&ii(i,g),u}(l,c,u=A.call(u),d)}if("function"==typeof u.then)return v(l,c,co(u),d);if(u.$$typeof===w)return v(l,c,Ii(l,u),d);po(l,u)}return"string"==typeof u&&""!==u||"number"==typeof u||"bigint"==typeof u?(u=""+u,null!==c&&6===c.tag?(t(l,c.sibling),(d=i(c,u)).return=l,l=d):(t(l,c),(d=Ha(u,l.mode,d)).return=l,l=d),s(l)):t(l,c)}return function(e,n,t,a){try{lo=0;var i=v(e,n,t,a);return so=null,i}catch(n){if(n===Ki||n===Ji)throw n;var o=Ma(29,n,null,e.mode);return o.lanes=a,o.return=e,o}}}var mo=fo(!0),ho=fo(!1),go=!1;function bo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function vo(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Ao(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function yo(e,n,t){var a=e.updateQueue;if(null===a)return null;if(a=a.shared,2&fc){var i=a.pending;return null===i?n.next=n:(n.next=i.next,i.next=n),a.pending=n,n=Oa(e),_a(e,null,t),n}return Na(e,a,n,t),Oa(e)}function wo(e,n,t){if(null!==(n=n.updateQueue)&&(n=n.shared,4194048&t)){var a=n.lanes;t|=a&=e.pendingLanes,n.lanes=t,_e(e,t)}}function xo(e,n){var t=e.updateQueue,a=e.alternate;if(null!==a&&t===(a=a.updateQueue)){var i=null,o=null;if(null!==(t=t.firstBaseUpdate)){do{var r={lane:t.lane,tag:t.tag,payload:t.payload,callback:null,next:null};null===o?i=o=r:o=o.next=r,t=t.next}while(null!==t);null===o?i=o=n:o=o.next=n}else i=o=n;return t={baseState:a.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:a.shared,callbacks:a.callbacks},void(e.updateQueue=t)}null===(e=t.lastBaseUpdate)?t.firstBaseUpdate=n:e.next=n,t.lastBaseUpdate=n}var Co=!1;function Eo(){if(Co){if(null!==Hi)throw Hi}}function ko(e,n,t,a){Co=!1;var i=e.updateQueue;go=!1;var o=i.firstBaseUpdate,r=i.lastBaseUpdate,s=i.shared.pending;if(null!==s){i.shared.pending=null;var l=s,c=l.next;l.next=null,null===r?o=c:r.next=c,r=l;var u=e.alternate;null!==u&&((s=(u=u.updateQueue).lastBaseUpdate)!==r&&(null===s?u.firstBaseUpdate=c:s.next=c,u.lastBaseUpdate=l))}if(null!==o){var d=i.baseState;for(r=0,u=c=l=null,s=o;;){var p=-536870913&s.lane,m=p!==s.lane;if(m?(gc&p)===p:(a&p)===p){0!==p&&p===$i&&(Co=!0),null!==u&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});e:{var h=e,g=s;p=n;var b=t;switch(g.tag){case 1:if("function"==typeof(h=g.payload)){d=h.call(b,d,p);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(p="function"==typeof(h=g.payload)?h.call(b,d,p):h))break e;d=f({},d,p);break e;case 2:go=!0}}null!==(p=s.callback)&&(e.flags|=64,m&&(e.flags|=8192),null===(m=i.callbacks)?i.callbacks=[p]:m.push(p))}else m={lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===u?(c=u=m,l=d):u=u.next=m,r|=p;if(null===(s=s.next)){if(null===(s=i.shared.pending))break;s=(m=s).next,m.next=null,i.lastBaseUpdate=m,i.shared.pending=null}}null===u&&(l=d),i.baseState=l,i.firstBaseUpdate=c,i.lastBaseUpdate=u,null===o&&(i.shared.lanes=0),Ec|=r,e.lanes=r,e.memoizedState=d}}function Bo(e,n){if("function"!=typeof e)throw Error(r(191,e));e.call(n)}function So(e,n){var t=e.callbacks;if(null!==t)for(e.callbacks=null,e=0;e<t.length;e++)Bo(t[e],n)}var To=j(null),Po=j(0);function Fo(e,n){U(Po,e=xc),U(To,n),xc=e|n.baseLanes}function No(){U(Po,xc),U(To,To.current)}function Lo(){xc=Po.current,z(To),z(Po)}var Io=j(null),_o=null;function Oo(e){var n=e.alternate;U(zo,1&zo.current),U(Io,e),null===_o&&(null===n||null!==To.current||null!==n.memoizedState)&&(_o=e)}function Ro(e){U(zo,zo.current),U(Io,e),null===_o&&(_o=e)}function Do(e){22===e.tag?(U(zo,zo.current),U(Io,e),null===_o&&(_o=e)):Mo()}function Mo(){U(zo,zo.current),U(Io,Io.current)}function jo(e){z(Io),_o===e&&(_o=null),z(zo)}var zo=j(0);function Uo(e){for(var n=e;null!==n;){if(13===n.tag){var t=n.memoizedState;if(null!==t&&(null===(t=t.dehydrated)||Nd(t)||Ld(t)))return n}else if(19!==n.tag||"forwards"!==n.memoizedProps.revealOrder&&"backwards"!==n.memoizedProps.revealOrder&&"unstable_legacy-backwards"!==n.memoizedProps.revealOrder&&"together"!==n.memoizedProps.revealOrder){if(null!==n.child){n.child.return=n,n=n.child;continue}}else if(128&n.flags)return n;if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var qo=0,$o=null,Ho=null,Vo=null,Go=!1,Wo=!1,Yo=!1,Qo=0,Xo=0,Ko=null,Zo=0;function Jo(){throw Error(r(321))}function er(e,n){if(null===n)return!1;for(var t=0;t<n.length&&t<e.length;t++)if(!Zt(e[t],n[t]))return!1;return!0}function nr(e,n,t,a,i,o){return qo=o,$o=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,_.H=null===e||null===e.memoizedState?gs:bs,Yo=!1,o=t(a,i),Yo=!1,Wo&&(o=ar(n,t,a,i)),tr(e),o}function tr(e){_.H=hs;var n=null!==Ho&&null!==Ho.next;if(qo=0,Vo=Ho=$o=null,Go=!1,Xo=0,Ko=null,n)throw Error(r(300));null===e||Is||null!==(e=e.dependencies)&&Fi(e)&&(Is=!0)}function ar(e,n,t,a){$o=e;var i=0;do{if(Wo&&(Ko=null),Xo=0,Wo=!1,25<=i)throw Error(r(301));if(i+=1,Vo=Ho=null,null!=e.updateQueue){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,null!=o.memoCache&&(o.memoCache.index=0)}_.H=vs,o=n(t,a)}while(Wo);return o}function ir(){var e=_.H,n=e.useState()[0];return n="function"==typeof n.then?ur(n):n,e=e.useState()[0],(null!==Ho?Ho.memoizedState:null)!==e&&($o.flags|=1024),n}function or(){var e=0!==Qo;return Qo=0,e}function rr(e,n,t){n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~t}function sr(e){if(Go){for(e=e.memoizedState;null!==e;){var n=e.queue;null!==n&&(n.pending=null),e=e.next}Go=!1}qo=0,Vo=Ho=$o=null,Wo=!1,Xo=Qo=0,Ko=null}function lr(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Vo?$o.memoizedState=Vo=e:Vo=Vo.next=e,Vo}function cr(){if(null===Ho){var e=$o.alternate;e=null!==e?e.memoizedState:null}else e=Ho.next;var n=null===Vo?$o.memoizedState:Vo.next;if(null!==n)Vo=n,Ho=e;else{if(null===e){if(null===$o.alternate)throw Error(r(467));throw Error(r(310))}e={memoizedState:(Ho=e).memoizedState,baseState:Ho.baseState,baseQueue:Ho.baseQueue,queue:Ho.queue,next:null},null===Vo?$o.memoizedState=Vo=e:Vo=Vo.next=e}return Vo}function ur(e){var n=Xo;return Xo+=1,null===Ko&&(Ko=[]),e=to(Ko,e,n),n=$o,null===(null===Vo?n.memoizedState:Vo.next)&&(n=n.alternate,_.H=null===n||null===n.memoizedState?gs:bs),e}function dr(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return ur(e);if(e.$$typeof===w)return Li(e)}throw Error(r(438,String(e)))}function pr(e){var n=null,t=$o.updateQueue;if(null!==t&&(n=t.memoCache),null==n){var a=$o.alternate;null!==a&&(null!==(a=a.updateQueue)&&(null!=(a=a.memoCache)&&(n={data:a.data.map(function(e){return e.slice()}),index:0})))}if(null==n&&(n={data:[],index:0}),null===t&&(t={lastEffect:null,events:null,stores:null,memoCache:null},$o.updateQueue=t),t.memoCache=n,void 0===(t=n.data[n.index]))for(t=n.data[n.index]=Array(e),a=0;a<e;a++)t[a]=T;return n.index++,t}function fr(e,n){return"function"==typeof n?n(e):n}function mr(e){return hr(cr(),Ho,e)}function hr(e,n,t){var a=e.queue;if(null===a)throw Error(r(311));a.lastRenderedReducer=t;var i=e.baseQueue,o=a.pending;if(null!==o){if(null!==i){var s=i.next;i.next=o.next,o.next=s}n.baseQueue=i=o,a.pending=null}if(o=e.baseState,null===i)e.memoizedState=o;else{var l=s=null,c=null,u=n=i.next,d=!1;do{var p=-536870913&u.lane;if(p!==u.lane?(gc&p)===p:(qo&p)===p){var f=u.revertLane;if(0===f)null!==c&&(c=c.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),p===$i&&(d=!0);else{if((qo&f)===f){u=u.next,f===$i&&(d=!0);continue}p={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},null===c?(l=c=p,s=o):c=c.next=p,$o.lanes|=f,Ec|=f}p=u.action,Yo&&t(o,p),o=u.hasEagerState?u.eagerState:t(o,p)}else f={lane:p,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},null===c?(l=c=f,s=o):c=c.next=f,$o.lanes|=p,Ec|=p;u=u.next}while(null!==u&&u!==n);if(null===c?s=o:c.next=l,!Zt(o,e.memoizedState)&&(Is=!0,d&&null!==(t=Hi)))throw t;e.memoizedState=o,e.baseState=s,e.baseQueue=c,a.lastRenderedState=o}return null===i&&(a.lanes=0),[e.memoizedState,a.dispatch]}function gr(e){var n=cr(),t=n.queue;if(null===t)throw Error(r(311));t.lastRenderedReducer=e;var a=t.dispatch,i=t.pending,o=n.memoizedState;if(null!==i){t.pending=null;var s=i=i.next;do{o=e(o,s.action),s=s.next}while(s!==i);Zt(o,n.memoizedState)||(Is=!0),n.memoizedState=o,null===n.baseQueue&&(n.baseState=o),t.lastRenderedState=o}return[o,a]}function br(e,n,t){var a=$o,i=cr(),o=di;if(o){if(void 0===t)throw Error(r(407));t=t()}else t=n();var s=!Zt((Ho||i).memoizedState,t);if(s&&(i.memoizedState=t,Is=!0),i=i.queue,qr(yr.bind(null,a,i,e),[e]),i.getSnapshot!==n||s||null!==Vo&&1&Vo.memoizedState.tag){if(a.flags|=2048,Dr(9,{destroy:void 0},Ar.bind(null,a,i,t,n),null),null===mc)throw Error(r(349));o||127&qo||vr(a,n,t)}return t}function vr(e,n,t){e.flags|=16384,e={getSnapshot:n,value:t},null===(n=$o.updateQueue)?(n={lastEffect:null,events:null,stores:null,memoCache:null},$o.updateQueue=n,n.stores=[e]):null===(t=n.stores)?n.stores=[e]:t.push(e)}function Ar(e,n,t,a){n.value=t,n.getSnapshot=a,wr(n)&&xr(e)}function yr(e,n,t){return t(function(){wr(n)&&xr(e)})}function wr(e){var n=e.getSnapshot;e=e.value;try{var t=n();return!Zt(e,t)}catch(e){return!0}}function xr(e){var n=Ia(e,2);null!==n&&Yc(n,e,2)}function Cr(e){var n=lr();if("function"==typeof e){var t=e;if(e=t(),Yo){Ae(!0);try{t()}finally{Ae(!1)}}}return n.memoizedState=n.baseState=e,n.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:fr,lastRenderedState:e},n}function Er(e,n,t,a){return e.baseState=t,hr(e,Ho,"function"==typeof a?a:fr)}function kr(e,n,t,a,i){if(ps(e))throw Error(r(485));if(null!==(e=n.action)){var o={payload:i,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(e){o.listeners.push(e)}};null!==_.T?t(!0):o.isTransition=!1,a(o),null===(t=n.pending)?(o.next=n.pending=o,Br(n,o)):(o.next=t.next,n.pending=t.next=o)}}function Br(e,n){var t=n.action,a=n.payload,i=e.state;if(n.isTransition){var o=_.T,r={};_.T=r;try{var s=t(i,a),l=_.S;null!==l&&l(r,s),Sr(e,n,s)}catch(t){Pr(e,n,t)}finally{null!==o&&null!==r.types&&(o.types=r.types),_.T=o}}else try{Sr(e,n,o=t(i,a))}catch(t){Pr(e,n,t)}}function Sr(e,n,t){null!==t&&"object"==typeof t&&"function"==typeof t.then?t.then(function(t){Tr(e,n,t)},function(t){return Pr(e,n,t)}):Tr(e,n,t)}function Tr(e,n,t){n.status="fulfilled",n.value=t,Fr(n),e.state=t,null!==(n=e.pending)&&((t=n.next)===n?e.pending=null:(t=t.next,n.next=t,Br(e,t)))}function Pr(e,n,t){var a=e.pending;if(e.pending=null,null!==a){a=a.next;do{n.status="rejected",n.reason=t,Fr(n),n=n.next}while(n!==a)}e.action=null}function Fr(e){e=e.listeners;for(var n=0;n<e.length;n++)(0,e[n])()}function Nr(e,n){return n}function Lr(e,n){if(di){var t=mc.formState;if(null!==t){e:{var a=$o;if(di){if(ui){n:{for(var i=ui,o=fi;8!==i.nodeType;){if(!o){i=null;break n}if(null===(i=Id(i.nextSibling))){i=null;break n}}i="F!"===(o=i.data)||"F"===o?i:null}if(i){ui=Id(i.nextSibling),a="F!"===i.data;break e}}hi(a)}a=!1}a&&(n=t[0])}}return(t=lr()).memoizedState=t.baseState=n,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Nr,lastRenderedState:n},t.queue=a,t=cs.bind(null,$o,a),a.dispatch=t,a=Cr(!1),o=ds.bind(null,$o,!1,a.queue),i={state:n,dispatch:null,action:e,pending:null},(a=lr()).queue=i,t=kr.bind(null,$o,i,o,t),i.dispatch=t,a.memoizedState=e,[n,t,!1]}function Ir(e){return _r(cr(),Ho,e)}function _r(e,n,t){if(n=hr(e,n,Nr)[0],e=mr(fr)[0],"object"==typeof n&&null!==n&&"function"==typeof n.then)try{var a=ur(n)}catch(e){if(e===Ki)throw Ji;throw e}else a=n;var i=(n=cr()).queue,o=i.dispatch;return t!==n.memoizedState&&($o.flags|=2048,Dr(9,{destroy:void 0},Or.bind(null,i,t),null)),[a,o,e]}function Or(e,n){e.action=n}function Rr(e){var n=cr(),t=Ho;if(null!==t)return _r(n,t,e);cr(),n=n.memoizedState;var a=(t=cr()).queue.dispatch;return t.memoizedState=e,[n,a,!1]}function Dr(e,n,t,a){return e={tag:e,create:t,deps:a,inst:n,next:null},null===(n=$o.updateQueue)&&(n={lastEffect:null,events:null,stores:null,memoCache:null},$o.updateQueue=n),null===(t=n.lastEffect)?n.lastEffect=e.next=e:(a=t.next,t.next=e,e.next=a,n.lastEffect=e),e}function Mr(){return cr().memoizedState}function jr(e,n,t,a){var i=lr();$o.flags|=e,i.memoizedState=Dr(1|n,{destroy:void 0},t,void 0===a?null:a)}function zr(e,n,t,a){var i=cr();a=void 0===a?null:a;var o=i.memoizedState.inst;null!==Ho&&null!==a&&er(a,Ho.memoizedState.deps)?i.memoizedState=Dr(n,o,t,a):($o.flags|=e,i.memoizedState=Dr(1|n,o,t,a))}function Ur(e,n){jr(8390656,8,e,n)}function qr(e,n){zr(2048,8,e,n)}function $r(e){var n=cr().memoizedState;return function(e){$o.flags|=4;var n=$o.updateQueue;if(null===n)n={lastEffect:null,events:null,stores:null,memoCache:null},$o.updateQueue=n,n.events=[e];else{var t=n.events;null===t?n.events=[e]:t.push(e)}}({ref:n,nextImpl:e}),function(){if(2&fc)throw Error(r(440));return n.impl.apply(void 0,arguments)}}function Hr(e,n){return zr(4,2,e,n)}function Vr(e,n){return zr(4,4,e,n)}function Gr(e,n){if("function"==typeof n){e=e();var t=n(e);return function(){"function"==typeof t?t():n(null)}}if(null!=n)return e=e(),n.current=e,function(){n.current=null}}function Wr(e,n,t){t=null!=t?t.concat([e]):null,zr(4,4,Gr.bind(null,n,e),t)}function Yr(){}function Qr(e,n){var t=cr();n=void 0===n?null:n;var a=t.memoizedState;return null!==n&&er(n,a[1])?a[0]:(t.memoizedState=[e,n],e)}function Xr(e,n){var t=cr();n=void 0===n?null:n;var a=t.memoizedState;if(null!==n&&er(n,a[1]))return a[0];if(a=e(),Yo){Ae(!0);try{e()}finally{Ae(!1)}}return t.memoizedState=[a,n],a}function Kr(e,n,t){return void 0===t||1073741824&qo&&!(261930&gc)?e.memoizedState=n:(e.memoizedState=t,e=Wc(),$o.lanes|=e,Ec|=e,t)}function Zr(e,n,t,a){return Zt(t,n)?t:null!==To.current?(e=Kr(e,t,a),Zt(e,n)||(Is=!0),e):42&qo&&(!(1073741824&qo)||261930&gc)?(e=Wc(),$o.lanes|=e,Ec|=e,n):(Is=!0,e.memoizedState=t)}function Jr(e,n,t,a,i){var o=O.p;O.p=0!==o&&8>o?o:8;var r,s,l,c=_.T,u={};_.T=u,ds(e,!1,n,t);try{var d=i(),p=_.S;if(null!==p&&p(u,d),null!==d&&"object"==typeof d&&"function"==typeof d.then)us(e,n,(r=a,s=[],l={status:"pending",value:null,reason:null,then:function(e){s.push(e)}},d.then(function(){l.status="fulfilled",l.value=r;for(var e=0;e<s.length;e++)(0,s[e])(r)},function(e){for(l.status="rejected",l.reason=e,e=0;e<s.length;e++)(0,s[e])(void 0)}),l),Gc());else us(e,n,a,Gc())}catch(t){us(e,n,{then:function(){},status:"rejected",reason:t},Gc())}finally{O.p=o,null!==c&&null!==u.types&&(c.types=u.types),_.T=c}}function es(){}function ns(e,n,t,a){if(5!==e.tag)throw Error(r(476));var i=ts(e).queue;Jr(e,i,n,R,null===t?es:function(){return as(e),t(a)})}function ts(e){var n=e.memoizedState;if(null!==n)return n;var t={};return(n={memoizedState:R,baseState:R,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:fr,lastRenderedState:R},next:null}).next={memoizedState:t,baseState:t,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:fr,lastRenderedState:t},next:null},e.memoizedState=n,null!==(e=e.alternate)&&(e.memoizedState=n),n}function as(e){var n=ts(e);null===n.next&&(n=e.alternate.memoizedState),us(e,n.next.queue,{},Gc())}function is(){return Li(up)}function os(){return cr().memoizedState}function rs(){return cr().memoizedState}function ss(e){for(var n=e.return;null!==n;){switch(n.tag){case 24:case 3:var t=Gc(),a=yo(n,e=Ao(t),t);return null!==a&&(Yc(a,n,t),wo(a,n,t)),n={cache:ji()},void(e.payload=n)}n=n.return}}function ls(e,n,t){var a=Gc();t={lane:a,revertLane:0,gesture:null,action:t,hasEagerState:!1,eagerState:null,next:null},ps(e)?fs(n,t):null!==(t=La(e,n,t,a))&&(Yc(t,e,a),ms(t,n,a))}function cs(e,n,t){us(e,n,t,Gc())}function us(e,n,t,a){var i={lane:a,revertLane:0,gesture:null,action:t,hasEagerState:!1,eagerState:null,next:null};if(ps(e))fs(n,i);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=n.lastRenderedReducer))try{var r=n.lastRenderedState,s=o(r,t);if(i.hasEagerState=!0,i.eagerState=s,Zt(s,r))return Na(e,n,i,0),null===mc&&Fa(),!1}catch(e){}if(null!==(t=La(e,n,i,a)))return Yc(t,e,a),ms(t,n,a),!0}return!1}function ds(e,n,t,a){if(a={lane:2,revertLane:qu(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},ps(e)){if(n)throw Error(r(479))}else null!==(n=La(e,t,a,2))&&Yc(n,e,2)}function ps(e){var n=e.alternate;return e===$o||null!==n&&n===$o}function fs(e,n){Wo=Go=!0;var t=e.pending;null===t?n.next=n:(n.next=t.next,t.next=n),e.pending=n}function ms(e,n,t){if(4194048&t){var a=n.lanes;t|=a&=e.pendingLanes,n.lanes=t,_e(e,t)}}var hs={readContext:Li,use:dr,useCallback:Jo,useContext:Jo,useEffect:Jo,useImperativeHandle:Jo,useLayoutEffect:Jo,useInsertionEffect:Jo,useMemo:Jo,useReducer:Jo,useRef:Jo,useState:Jo,useDebugValue:Jo,useDeferredValue:Jo,useTransition:Jo,useSyncExternalStore:Jo,useId:Jo,useHostTransitionStatus:Jo,useFormState:Jo,useActionState:Jo,useOptimistic:Jo,useMemoCache:Jo,useCacheRefresh:Jo};hs.useEffectEvent=Jo;var gs={readContext:Li,use:dr,useCallback:function(e,n){return lr().memoizedState=[e,void 0===n?null:n],e},useContext:Li,useEffect:Ur,useImperativeHandle:function(e,n,t){t=null!=t?t.concat([e]):null,jr(4194308,4,Gr.bind(null,n,e),t)},useLayoutEffect:function(e,n){return jr(4194308,4,e,n)},useInsertionEffect:function(e,n){jr(4,2,e,n)},useMemo:function(e,n){var t=lr();n=void 0===n?null:n;var a=e();if(Yo){Ae(!0);try{e()}finally{Ae(!1)}}return t.memoizedState=[a,n],a},useReducer:function(e,n,t){var a=lr();if(void 0!==t){var i=t(n);if(Yo){Ae(!0);try{t(n)}finally{Ae(!1)}}}else i=n;return a.memoizedState=a.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},a.queue=e,e=e.dispatch=ls.bind(null,$o,e),[a.memoizedState,e]},useRef:function(e){return e={current:e},lr().memoizedState=e},useState:function(e){var n=(e=Cr(e)).queue,t=cs.bind(null,$o,n);return n.dispatch=t,[e.memoizedState,t]},useDebugValue:Yr,useDeferredValue:function(e,n){return Kr(lr(),e,n)},useTransition:function(){var e=Cr(!1);return e=Jr.bind(null,$o,e.queue,!0,!1),lr().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,n,t){var a=$o,i=lr();if(di){if(void 0===t)throw Error(r(407));t=t()}else{if(t=n(),null===mc)throw Error(r(349));127&gc||vr(a,n,t)}i.memoizedState=t;var o={value:t,getSnapshot:n};return i.queue=o,Ur(yr.bind(null,a,o,e),[e]),a.flags|=2048,Dr(9,{destroy:void 0},Ar.bind(null,a,o,t,n),null),t},useId:function(){var e=lr(),n=mc.identifierPrefix;if(di){var t=ai;n="_"+n+"R_"+(t=(ti&~(1<<32-ye(ti)-1)).toString(32)+t),0<(t=Qo++)&&(n+="H"+t.toString(32)),n+="_"}else n="_"+n+"r_"+(t=Zo++).toString(32)+"_";return e.memoizedState=n},useHostTransitionStatus:is,useFormState:Lr,useActionState:Lr,useOptimistic:function(e){var n=lr();n.memoizedState=n.baseState=e;var t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return n.queue=t,n=ds.bind(null,$o,!0,t),t.dispatch=n,[e,n]},useMemoCache:pr,useCacheRefresh:function(){return lr().memoizedState=ss.bind(null,$o)},useEffectEvent:function(e){var n=lr(),t={impl:e};return n.memoizedState=t,function(){if(2&fc)throw Error(r(440));return t.impl.apply(void 0,arguments)}}},bs={readContext:Li,use:dr,useCallback:Qr,useContext:Li,useEffect:qr,useImperativeHandle:Wr,useInsertionEffect:Hr,useLayoutEffect:Vr,useMemo:Xr,useReducer:mr,useRef:Mr,useState:function(){return mr(fr)},useDebugValue:Yr,useDeferredValue:function(e,n){return Zr(cr(),Ho.memoizedState,e,n)},useTransition:function(){var e=mr(fr)[0],n=cr().memoizedState;return["boolean"==typeof e?e:ur(e),n]},useSyncExternalStore:br,useId:os,useHostTransitionStatus:is,useFormState:Ir,useActionState:Ir,useOptimistic:function(e,n){return Er(cr(),0,e,n)},useMemoCache:pr,useCacheRefresh:rs};bs.useEffectEvent=$r;var vs={readContext:Li,use:dr,useCallback:Qr,useContext:Li,useEffect:qr,useImperativeHandle:Wr,useInsertionEffect:Hr,useLayoutEffect:Vr,useMemo:Xr,useReducer:gr,useRef:Mr,useState:function(){return gr(fr)},useDebugValue:Yr,useDeferredValue:function(e,n){var t=cr();return null===Ho?Kr(t,e,n):Zr(t,Ho.memoizedState,e,n)},useTransition:function(){var e=gr(fr)[0],n=cr().memoizedState;return["boolean"==typeof e?e:ur(e),n]},useSyncExternalStore:br,useId:os,useHostTransitionStatus:is,useFormState:Rr,useActionState:Rr,useOptimistic:function(e,n){var t=cr();return null!==Ho?Er(t,0,e,n):(t.baseState=e,[e,t.queue.dispatch])},useMemoCache:pr,useCacheRefresh:rs};function As(e,n,t,a){t=null==(t=t(a,n=e.memoizedState))?n:f({},n,t),e.memoizedState=t,0===e.lanes&&(e.updateQueue.baseState=t)}vs.useEffectEvent=$r;var ys={enqueueSetState:function(e,n,t){e=e._reactInternals;var a=Gc(),i=Ao(a);i.payload=n,null!=t&&(i.callback=t),null!==(n=yo(e,i,a))&&(Yc(n,e,a),wo(n,e,a))},enqueueReplaceState:function(e,n,t){e=e._reactInternals;var a=Gc(),i=Ao(a);i.tag=1,i.payload=n,null!=t&&(i.callback=t),null!==(n=yo(e,i,a))&&(Yc(n,e,a),wo(n,e,a))},enqueueForceUpdate:function(e,n){e=e._reactInternals;var t=Gc(),a=Ao(t);a.tag=2,null!=n&&(a.callback=n),null!==(n=yo(e,a,t))&&(Yc(n,e,t),wo(n,e,t))}};function ws(e,n,t,a,i,o,r){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(a,o,r):!n.prototype||!n.prototype.isPureReactComponent||(!Jt(t,a)||!Jt(i,o))}function xs(e,n,t,a){e=n.state,"function"==typeof n.componentWillReceiveProps&&n.componentWillReceiveProps(t,a),"function"==typeof n.UNSAFE_componentWillReceiveProps&&n.UNSAFE_componentWillReceiveProps(t,a),n.state!==e&&ys.enqueueReplaceState(n,n.state,null)}function Cs(e,n){var t=n;if("ref"in n)for(var a in t={},n)"ref"!==a&&(t[a]=n[a]);if(e=e.defaultProps)for(var i in t===n&&(t=f({},t)),e)void 0===t[i]&&(t[i]=e[i]);return t}function Es(e){Ba(e)}function ks(e){console.error(e)}function Bs(e){Ba(e)}function Ss(e,n){try{(0,e.onUncaughtError)(n.value,{componentStack:n.stack})}catch(e){setTimeout(function(){throw e})}}function Ts(e,n,t){try{(0,e.onCaughtError)(t.value,{componentStack:t.stack,errorBoundary:1===n.tag?n.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function Ps(e,n,t){return(t=Ao(t)).tag=3,t.payload={element:null},t.callback=function(){Ss(e,n)},t}function Fs(e){return(e=Ao(e)).tag=3,e}function Ns(e,n,t,a){var i=t.type.getDerivedStateFromError;if("function"==typeof i){var o=a.value;e.payload=function(){return i(o)},e.callback=function(){Ts(n,t,a)}}var r=t.stateNode;null!==r&&"function"==typeof r.componentDidCatch&&(e.callback=function(){Ts(n,t,a),"function"!=typeof i&&(null===Rc?Rc=new Set([this]):Rc.add(this));var e=a.stack;this.componentDidCatch(a.value,{componentStack:null!==e?e:""})})}var Ls=Error(r(461)),Is=!1;function _s(e,n,t,a){n.child=null===e?ho(n,null,t,a):mo(n,e.child,t,a)}function Os(e,n,t,a,i){t=t.render;var o=n.ref;if("ref"in a){var r={};for(var s in a)"ref"!==s&&(r[s]=a[s])}else r=a;return Ni(n),a=nr(e,n,t,r,o,i),s=or(),null===e||Is?(di&&s&&ri(n),n.flags|=1,_s(e,n,a,i),n.child):(rr(e,n,i),il(e,n,i))}function Rs(e,n,t,a,i){if(null===e){var o=t.type;return"function"!=typeof o||ja(o)||void 0!==o.defaultProps||null!==t.compare?((e=qa(t.type,null,a,n,n.mode,i)).ref=n.ref,e.return=n,n.child=e):(n.tag=15,n.type=o,Ds(e,n,o,a,i))}if(o=e.child,!ol(e,i)){var r=o.memoizedProps;if((t=null!==(t=t.compare)?t:Jt)(r,a)&&e.ref===n.ref)return il(e,n,i)}return n.flags|=1,(e=za(o,a)).ref=n.ref,e.return=n,n.child=e}function Ds(e,n,t,a,i){if(null!==e){var o=e.memoizedProps;if(Jt(o,a)&&e.ref===n.ref){if(Is=!1,n.pendingProps=a=o,!ol(e,i))return n.lanes=e.lanes,il(e,n,i);131072&e.flags&&(Is=!0)}}return Hs(e,n,t,a,i)}function Ms(e,n,t,a){var i=a.children,o=null!==e?e.memoizedState:null;if(null===e&&null===n.stateNode&&(n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),"hidden"===a.mode){if(128&n.flags){if(o=null!==o?o.baseLanes|t:t,null!==e){for(a=n.child=e.child,i=0;null!==a;)i=i|a.lanes|a.childLanes,a=a.sibling;a=i&~o}else a=0,n.child=null;return zs(e,n,o,t,a)}if(!(536870912&t))return a=n.lanes=536870912,zs(e,n,null!==o?o.baseLanes|t:t,t,a);n.memoizedState={baseLanes:0,cachePool:null},null!==e&&Qi(0,null!==o?o.cachePool:null),null!==o?Fo(n,o):No(),Do(n)}else null!==o?(Qi(0,o.cachePool),Fo(n,o),Mo(),n.memoizedState=null):(null!==e&&Qi(0,null),No(),Mo());return _s(e,n,i,t),n.child}function js(e,n){return null!==e&&22===e.tag||null!==n.stateNode||(n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),n.sibling}function zs(e,n,t,a,i){var o=Yi();return o=null===o?null:{parent:Mi._currentValue,pool:o},n.memoizedState={baseLanes:t,cachePool:o},null!==e&&Qi(0,null),No(),Do(n),null!==e&&Pi(e,n,a,!0),n.childLanes=i,null}function Us(e,n){return(n=Js({mode:n.mode,children:n.children},e.mode)).ref=e.ref,e.child=n,n.return=e,n}function qs(e,n,t){return mo(n,e.child,null,t),(e=Us(n,n.pendingProps)).flags|=2,jo(n),n.memoizedState=null,e}function $s(e,n){var t=n.ref;if(null===t)null!==e&&null!==e.ref&&(n.flags|=4194816);else{if("function"!=typeof t&&"object"!=typeof t)throw Error(r(284));null!==e&&e.ref===t||(n.flags|=4194816)}}function Hs(e,n,t,a,i){return Ni(n),t=nr(e,n,t,a,void 0,i),a=or(),null===e||Is?(di&&a&&ri(n),n.flags|=1,_s(e,n,t,i),n.child):(rr(e,n,i),il(e,n,i))}function Vs(e,n,t,a,i,o){return Ni(n),n.updateQueue=null,t=ar(n,a,t,i),tr(e),a=or(),null===e||Is?(di&&a&&ri(n),n.flags|=1,_s(e,n,t,o),n.child):(rr(e,n,o),il(e,n,o))}function Gs(e,n,t,a,i){if(Ni(n),null===n.stateNode){var o=Ra,r=t.contextType;"object"==typeof r&&null!==r&&(o=Li(r)),o=new t(a,o),n.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,o.updater=ys,n.stateNode=o,o._reactInternals=n,(o=n.stateNode).props=a,o.state=n.memoizedState,o.refs={},bo(n),r=t.contextType,o.context="object"==typeof r&&null!==r?Li(r):Ra,o.state=n.memoizedState,"function"==typeof(r=t.getDerivedStateFromProps)&&(As(n,t,r,a),o.state=n.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(r=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),r!==o.state&&ys.enqueueReplaceState(o,o.state,null),ko(n,a,o,i),Eo(),o.state=n.memoizedState),"function"==typeof o.componentDidMount&&(n.flags|=4194308),a=!0}else if(null===e){o=n.stateNode;var s=n.memoizedProps,l=Cs(t,s);o.props=l;var c=o.context,u=t.contextType;r=Ra,"object"==typeof u&&null!==u&&(r=Li(u));var d=t.getDerivedStateFromProps;u="function"==typeof d||"function"==typeof o.getSnapshotBeforeUpdate,s=n.pendingProps!==s,u||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(s||c!==r)&&xs(n,o,a,r),go=!1;var p=n.memoizedState;o.state=p,ko(n,a,o,i),Eo(),c=n.memoizedState,s||p!==c||go?("function"==typeof d&&(As(n,t,d,a),c=n.memoizedState),(l=go||ws(n,t,l,a,p,c,r))?(u||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(n.flags|=4194308)):("function"==typeof o.componentDidMount&&(n.flags|=4194308),n.memoizedProps=a,n.memoizedState=c),o.props=a,o.state=c,o.context=r,a=l):("function"==typeof o.componentDidMount&&(n.flags|=4194308),a=!1)}else{o=n.stateNode,vo(e,n),u=Cs(t,r=n.memoizedProps),o.props=u,d=n.pendingProps,p=o.context,c=t.contextType,l=Ra,"object"==typeof c&&null!==c&&(l=Li(c)),(c="function"==typeof(s=t.getDerivedStateFromProps)||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(r!==d||p!==l)&&xs(n,o,a,l),go=!1,p=n.memoizedState,o.state=p,ko(n,a,o,i),Eo();var f=n.memoizedState;r!==d||p!==f||go||null!==e&&null!==e.dependencies&&Fi(e.dependencies)?("function"==typeof s&&(As(n,t,s,a),f=n.memoizedState),(u=go||ws(n,t,u,a,p,f,l)||null!==e&&null!==e.dependencies&&Fi(e.dependencies))?(c||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(a,f,l),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(a,f,l)),"function"==typeof o.componentDidUpdate&&(n.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(n.flags|=1024)):("function"!=typeof o.componentDidUpdate||r===e.memoizedProps&&p===e.memoizedState||(n.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||r===e.memoizedProps&&p===e.memoizedState||(n.flags|=1024),n.memoizedProps=a,n.memoizedState=f),o.props=a,o.state=f,o.context=l,a=u):("function"!=typeof o.componentDidUpdate||r===e.memoizedProps&&p===e.memoizedState||(n.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||r===e.memoizedProps&&p===e.memoizedState||(n.flags|=1024),a=!1)}return o=a,$s(e,n),a=!!(128&n.flags),o||a?(o=n.stateNode,t=a&&"function"!=typeof t.getDerivedStateFromError?null:o.render(),n.flags|=1,null!==e&&a?(n.child=mo(n,e.child,null,i),n.child=mo(n,null,t,i)):_s(e,n,t,i),n.memoizedState=o.state,e=n.child):e=il(e,n,i),e}function Ws(e,n,t,a){return Ai(),n.flags|=256,_s(e,n,t,a),n.child}var Ys={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Qs(e){return{baseLanes:e,cachePool:Xi()}}function Xs(e,n,t){return e=null!==e?e.childLanes&~t:0,n&&(e|=Sc),e}function Ks(e,n,t){var a,i=n.pendingProps,o=!1,s=!!(128&n.flags);if((a=s)||(a=(null===e||null!==e.memoizedState)&&!!(2&zo.current)),a&&(o=!0,n.flags&=-129),a=!!(32&n.flags),n.flags&=-33,null===e){if(di){if(o?Oo(n):Mo(),(e=ui)?null!==(e=null!==(e=Fd(e,fi))&&"&"!==e.data?e:null)&&(n.memoizedState={dehydrated:e,treeContext:null!==ni?{id:ti,overflow:ai}:null,retryLane:536870912,hydrationErrors:null},(t=Va(e)).return=n,n.child=t,ci=n,ui=null):e=null,null===e)throw hi(n);return Ld(e)?n.lanes=32:n.lanes=536870912,null}var l=i.children;return i=i.fallback,o?(Mo(),l=Js({mode:"hidden",children:l},o=n.mode),i=$a(i,o,t,null),l.return=n,i.return=n,l.sibling=i,n.child=l,(i=n.child).memoizedState=Qs(t),i.childLanes=Xs(e,a,t),n.memoizedState=Ys,js(null,i)):(Oo(n),Zs(n,l))}var c=e.memoizedState;if(null!==c&&null!==(l=c.dehydrated)){if(s)256&n.flags?(Oo(n),n.flags&=-257,n=el(e,n,t)):null!==n.memoizedState?(Mo(),n.child=e.child,n.flags|=128,n=null):(Mo(),l=i.fallback,o=n.mode,i=Js({mode:"visible",children:i.children},o),(l=$a(l,o,t,null)).flags|=2,i.return=n,l.return=n,i.sibling=l,n.child=i,mo(n,e.child,null,t),(i=n.child).memoizedState=Qs(t),i.childLanes=Xs(e,a,t),n.memoizedState=Ys,n=js(null,i));else if(Oo(n),Ld(l)){if(a=l.nextSibling&&l.nextSibling.dataset)var u=a.dgst;a=u,(i=Error(r(419))).stack="",i.digest=a,wi({value:i,source:null,stack:null}),n=el(e,n,t)}else if(Is||Pi(e,n,t,!1),a=0!==(t&e.childLanes),Is||a){if(null!==(a=mc)&&(0!==(i=Oe(a,t))&&i!==c.retryLane))throw c.retryLane=i,Ia(e,i),Yc(a,e,i),Ls;Nd(l)||ru(),n=el(e,n,t)}else Nd(l)?(n.flags|=192,n.child=e.child,n=null):(e=c.treeContext,ui=Id(l.nextSibling),ci=n,di=!0,pi=null,fi=!1,null!==e&&li(n,e),(n=Zs(n,i.children)).flags|=4096);return n}return o?(Mo(),l=i.fallback,o=n.mode,u=(c=e.child).sibling,(i=za(c,{mode:"hidden",children:i.children})).subtreeFlags=65011712&c.subtreeFlags,null!==u?l=za(u,l):(l=$a(l,o,t,null)).flags|=2,l.return=n,i.return=n,i.sibling=l,n.child=i,js(null,i),i=n.child,null===(l=e.child.memoizedState)?l=Qs(t):(null!==(o=l.cachePool)?(c=Mi._currentValue,o=o.parent!==c?{parent:c,pool:c}:o):o=Xi(),l={baseLanes:l.baseLanes|t,cachePool:o}),i.memoizedState=l,i.childLanes=Xs(e,a,t),n.memoizedState=Ys,js(e.child,i)):(Oo(n),e=(t=e.child).sibling,(t=za(t,{mode:"visible",children:i.children})).return=n,t.sibling=null,null!==e&&(null===(a=n.deletions)?(n.deletions=[e],n.flags|=16):a.push(e)),n.child=t,n.memoizedState=null,t)}function Zs(e,n){return(n=Js({mode:"visible",children:n},e.mode)).return=e,e.child=n}function Js(e,n){return(e=Ma(22,e,null,n)).lanes=0,e}function el(e,n,t){return mo(n,e.child,null,t),(e=Zs(n,n.pendingProps.children)).flags|=2,n.memoizedState=null,e}function nl(e,n,t){e.lanes|=n;var a=e.alternate;null!==a&&(a.lanes|=n),Si(e.return,n,t)}function tl(e,n,t,a,i,o){var r=e.memoizedState;null===r?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:a,tail:t,tailMode:i,treeForkCount:o}:(r.isBackwards=n,r.rendering=null,r.renderingStartTime=0,r.last=a,r.tail=t,r.tailMode=i,r.treeForkCount=o)}function al(e,n,t){var a=n.pendingProps,i=a.revealOrder,o=a.tail;a=a.children;var r=zo.current,s=!!(2&r);if(s?(r=1&r|2,n.flags|=128):r&=1,U(zo,r),_s(e,n,a,t),a=di?Za:0,!s&&null!==e&&128&e.flags)e:for(e=n.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&nl(e,t,n);else if(19===e.tag)nl(e,t,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(i){case"forwards":for(t=n.child,i=null;null!==t;)null!==(e=t.alternate)&&null===Uo(e)&&(i=t),t=t.sibling;null===(t=i)?(i=n.child,n.child=null):(i=t.sibling,t.sibling=null),tl(n,!1,i,t,o,a);break;case"backwards":case"unstable_legacy-backwards":for(t=null,i=n.child,n.child=null;null!==i;){if(null!==(e=i.alternate)&&null===Uo(e)){n.child=i;break}e=i.sibling,i.sibling=t,t=i,i=e}tl(n,!0,t,null,o,a);break;case"together":tl(n,!1,null,null,void 0,a);break;default:n.memoizedState=null}return n.child}function il(e,n,t){if(null!==e&&(n.dependencies=e.dependencies),Ec|=n.lanes,0===(t&n.childLanes)){if(null===e)return null;if(Pi(e,n,t,!1),0===(t&n.childLanes))return null}if(null!==e&&n.child!==e.child)throw Error(r(153));if(null!==n.child){for(t=za(e=n.child,e.pendingProps),n.child=t,t.return=n;null!==e.sibling;)e=e.sibling,(t=t.sibling=za(e,e.pendingProps)).return=n;t.sibling=null}return n.child}function ol(e,n){return 0!==(e.lanes&n)||!(null===(e=e.dependencies)||!Fi(e))}function rl(e,n,t){if(null!==e)if(e.memoizedProps!==n.pendingProps)Is=!0;else{if(!(ol(e,t)||128&n.flags))return Is=!1,function(e,n,t){switch(n.tag){case 3:Y(n,n.stateNode.containerInfo),ki(0,Mi,e.memoizedState.cache),Ai();break;case 27:case 5:X(n);break;case 4:Y(n,n.stateNode.containerInfo);break;case 10:ki(0,n.type,n.memoizedProps.value);break;case 31:if(null!==n.memoizedState)return n.flags|=128,Ro(n),null;break;case 13:var a=n.memoizedState;if(null!==a)return null!==a.dehydrated?(Oo(n),n.flags|=128,null):0!==(t&n.child.childLanes)?Ks(e,n,t):(Oo(n),null!==(e=il(e,n,t))?e.sibling:null);Oo(n);break;case 19:var i=!!(128&e.flags);if((a=0!==(t&n.childLanes))||(Pi(e,n,t,!1),a=0!==(t&n.childLanes)),i){if(a)return al(e,n,t);n.flags|=128}if(null!==(i=n.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),U(zo,zo.current),a)break;return null;case 22:return n.lanes=0,Ms(e,n,t,n.pendingProps);case 24:ki(0,Mi,e.memoizedState.cache)}return il(e,n,t)}(e,n,t);Is=!!(131072&e.flags)}else Is=!1,di&&1048576&n.flags&&oi(n,Za,n.index);switch(n.lanes=0,n.tag){case 16:e:{var a=n.pendingProps;if(e=ao(n.elementType),n.type=e,"function"!=typeof e){if(null!=e){var i=e.$$typeof;if(i===x){n.tag=11,n=Os(null,n,e,a,t);break e}if(i===k){n.tag=14,n=Rs(null,n,e,a,t);break e}}throw n=L(e)||e,Error(r(306,n,""))}ja(e)?(a=Cs(e,a),n.tag=1,n=Gs(null,n,e,a,t)):(n.tag=0,n=Hs(null,n,e,a,t))}return n;case 0:return Hs(e,n,n.type,n.pendingProps,t);case 1:return Gs(e,n,a=n.type,i=Cs(a,n.pendingProps),t);case 3:e:{if(Y(n,n.stateNode.containerInfo),null===e)throw Error(r(387));a=n.pendingProps;var o=n.memoizedState;i=o.element,vo(e,n),ko(n,a,null,t);var s=n.memoizedState;if(a=s.cache,ki(0,Mi,a),a!==o.cache&&Ti(n,[Mi],t,!0),Eo(),a=s.element,o.isDehydrated){if(o={element:a,isDehydrated:!1,cache:s.cache},n.updateQueue.baseState=o,n.memoizedState=o,256&n.flags){n=Ws(e,n,a,t);break e}if(a!==i){wi(i=Ya(Error(r(424)),n)),n=Ws(e,n,a,t);break e}if(9===(e=n.stateNode.containerInfo).nodeType)e=e.body;else e="HTML"===e.nodeName?e.ownerDocument.body:e;for(ui=Id(e.firstChild),ci=n,di=!0,pi=null,fi=!0,t=ho(n,null,a,t),n.child=t;t;)t.flags=-3&t.flags|4096,t=t.sibling}else{if(Ai(),a===i){n=il(e,n,t);break e}_s(e,n,a,t)}n=n.child}return n;case 26:return $s(e,n),null===e?(t=Vd(n.type,null,n.pendingProps,null))?n.memoizedState=t:di||(t=n.type,e=n.pendingProps,(a=gd(G.current).createElement(t))[Ue]=n,a[qe]=e,pd(a,t,e),en(a),n.stateNode=a):n.memoizedState=Vd(n.type,e.memoizedProps,n.pendingProps,e.memoizedState),null;case 27:return X(n),null===e&&di&&(a=n.stateNode=Dd(n.type,n.pendingProps,G.current),ci=n,fi=!0,i=ui,Bd(n.type)?(_d=i,ui=Id(a.firstChild)):ui=i),_s(e,n,n.pendingProps.children,t),$s(e,n),null===e&&(n.flags|=4194304),n.child;case 5:return null===e&&di&&((i=a=ui)&&(null!==(a=function(e,n,t,a){for(;1===e.nodeType;){var i=t;if(e.nodeName.toLowerCase()!==n.toLowerCase()){if(!a&&("INPUT"!==e.nodeName||"hidden"!==e.type))break}else if(a){if(!e[Ye])switch(n){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if("stylesheet"===(o=e.getAttribute("rel"))&&e.hasAttribute("data-precedence"))break;if(o!==i.rel||e.getAttribute("href")!==(null==i.href||""===i.href?null:i.href)||e.getAttribute("crossorigin")!==(null==i.crossOrigin?null:i.crossOrigin)||e.getAttribute("title")!==(null==i.title?null:i.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(((o=e.getAttribute("src"))!==(null==i.src?null:i.src)||e.getAttribute("type")!==(null==i.type?null:i.type)||e.getAttribute("crossorigin")!==(null==i.crossOrigin?null:i.crossOrigin))&&o&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else{if("input"!==n||"hidden"!==e.type)return e;var o=null==i.name?null:""+i.name;if("hidden"===i.type&&e.getAttribute("name")===o)return e}if(null===(e=Id(e.nextSibling)))break}return null}(a,n.type,n.pendingProps,fi))?(n.stateNode=a,ci=n,ui=Id(a.firstChild),fi=!1,i=!0):i=!1),i||hi(n)),X(n),i=n.type,o=n.pendingProps,s=null!==e?e.memoizedProps:null,a=o.children,Ad(i,o)?a=null:null!==s&&Ad(i,s)&&(n.flags|=32),null!==n.memoizedState&&(i=nr(e,n,ir,null,null,t),up._currentValue=i),$s(e,n),_s(e,n,a,t),n.child;case 6:return null===e&&di&&((e=t=ui)&&(null!==(t=function(e,n,t){if(""===n)return null;for(;3!==e.nodeType;){if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!t)return null;if(null===(e=Id(e.nextSibling)))return null}return e}(t,n.pendingProps,fi))?(n.stateNode=t,ci=n,ui=null,e=!0):e=!1),e||hi(n)),null;case 13:return Ks(e,n,t);case 4:return Y(n,n.stateNode.containerInfo),a=n.pendingProps,null===e?n.child=mo(n,null,a,t):_s(e,n,a,t),n.child;case 11:return Os(e,n,n.type,n.pendingProps,t);case 7:return _s(e,n,n.pendingProps,t),n.child;case 8:case 12:return _s(e,n,n.pendingProps.children,t),n.child;case 10:return a=n.pendingProps,ki(0,n.type,a.value),_s(e,n,a.children,t),n.child;case 9:return i=n.type._context,a=n.pendingProps.children,Ni(n),a=a(i=Li(i)),n.flags|=1,_s(e,n,a,t),n.child;case 14:return Rs(e,n,n.type,n.pendingProps,t);case 15:return Ds(e,n,n.type,n.pendingProps,t);case 19:return al(e,n,t);case 31:return function(e,n,t){var a=n.pendingProps,i=!!(128&n.flags);if(n.flags&=-129,null===e){if(di){if("hidden"===a.mode)return e=Us(n,a),n.lanes=536870912,js(null,e);if(Ro(n),(e=ui)?null!==(e=null!==(e=Fd(e,fi))&&"&"===e.data?e:null)&&(n.memoizedState={dehydrated:e,treeContext:null!==ni?{id:ti,overflow:ai}:null,retryLane:536870912,hydrationErrors:null},(t=Va(e)).return=n,n.child=t,ci=n,ui=null):e=null,null===e)throw hi(n);return n.lanes=536870912,null}return Us(n,a)}var o=e.memoizedState;if(null!==o){var s=o.dehydrated;if(Ro(n),i)if(256&n.flags)n.flags&=-257,n=qs(e,n,t);else{if(null===n.memoizedState)throw Error(r(558));n.child=e.child,n.flags|=128,n=null}else if(Is||Pi(e,n,t,!1),i=0!==(t&e.childLanes),Is||i){if(null!==(a=mc)&&0!==(s=Oe(a,t))&&s!==o.retryLane)throw o.retryLane=s,Ia(e,s),Yc(a,e,s),Ls;ru(),n=qs(e,n,t)}else e=o.treeContext,ui=Id(s.nextSibling),ci=n,di=!0,pi=null,fi=!1,null!==e&&li(n,e),(n=Us(n,a)).flags|=4096;return n}return(e=za(e.child,{mode:a.mode,children:a.children})).ref=n.ref,n.child=e,e.return=n,e}(e,n,t);case 22:return Ms(e,n,t,n.pendingProps);case 24:return Ni(n),a=Li(Mi),null===e?(null===(i=Yi())&&(i=mc,o=ji(),i.pooledCache=o,o.refCount++,null!==o&&(i.pooledCacheLanes|=t),i=o),n.memoizedState={parent:a,cache:i},bo(n),ki(0,Mi,i)):(0!==(e.lanes&t)&&(vo(e,n),ko(n,null,null,t),Eo()),i=e.memoizedState,o=n.memoizedState,i.parent!==a?(i={parent:a,cache:a},n.memoizedState=i,0===n.lanes&&(n.memoizedState=n.updateQueue.baseState=i),ki(0,Mi,a)):(a=o.cache,ki(0,Mi,a),a!==i.cache&&Ti(n,[Mi],t,!0))),_s(e,n,n.pendingProps.children,t),n.child;case 29:throw n.pendingProps}throw Error(r(156,n.tag))}function sl(e){e.flags|=4}function ll(e,n,t,a,i){if((n=!!(32&e.mode))&&(n=!1),n){if(e.flags|=16777216,(335544128&i)===i)if(e.stateNode.complete)e.flags|=8192;else{if(!au())throw io=eo,Zi;e.flags|=8192}}else e.flags&=-16777217}function cl(e,n){if("stylesheet"!==n.type||4&n.state.loading)e.flags&=-16777217;else if(e.flags|=16777216,!ip(n)){if(!au())throw io=eo,Zi;e.flags|=8192}}function ul(e,n){null!==n&&(e.flags|=4),16384&e.flags&&(n=22!==e.tag?Fe():536870912,e.lanes|=n,Tc|=n)}function dl(e,n){if(!di)switch(e.tailMode){case"hidden":n=e.tail;for(var t=null;null!==n;)null!==n.alternate&&(t=n),n=n.sibling;null===t?e.tail=null:t.sibling=null;break;case"collapsed":t=e.tail;for(var a=null;null!==t;)null!==t.alternate&&(a=t),t=t.sibling;null===a?n||null===e.tail?e.tail=null:e.tail.sibling=null:a.sibling=null}}function pl(e){var n=null!==e.alternate&&e.alternate.child===e.child,t=0,a=0;if(n)for(var i=e.child;null!==i;)t|=i.lanes|i.childLanes,a|=65011712&i.subtreeFlags,a|=65011712&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)t|=i.lanes|i.childLanes,a|=i.subtreeFlags,a|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=a,e.childLanes=t,n}function fl(e,n,t){var a=n.pendingProps;switch(si(n),n.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 1:return pl(n),null;case 3:return t=n.stateNode,a=null,null!==e&&(a=e.memoizedState.cache),n.memoizedState.cache!==a&&(n.flags|=2048),Bi(Mi),Q(),t.pendingContext&&(t.context=t.pendingContext,t.pendingContext=null),null!==e&&null!==e.child||(vi(n)?sl(n):null===e||e.memoizedState.isDehydrated&&!(256&n.flags)||(n.flags|=1024,yi())),pl(n),null;case 26:var i=n.type,o=n.memoizedState;return null===e?(sl(n),null!==o?(pl(n),cl(n,o)):(pl(n),ll(n,i,0,0,t))):o?o!==e.memoizedState?(sl(n),pl(n),cl(n,o)):(pl(n),n.flags&=-16777217):((e=e.memoizedProps)!==a&&sl(n),pl(n),ll(n,i,0,0,t)),null;case 27:if(K(n),t=G.current,i=n.type,null!==e&&null!=n.stateNode)e.memoizedProps!==a&&sl(n);else{if(!a){if(null===n.stateNode)throw Error(r(166));return pl(n),null}e=H.current,vi(n)?gi(n):(e=Dd(i,a,t),n.stateNode=e,sl(n))}return pl(n),null;case 5:if(K(n),i=n.type,null!==e&&null!=n.stateNode)e.memoizedProps!==a&&sl(n);else{if(!a){if(null===n.stateNode)throw Error(r(166));return pl(n),null}if(o=H.current,vi(n))gi(n);else{var s=gd(G.current);switch(o){case 1:o=s.createElementNS("http://www.w3.org/2000/svg",i);break;case 2:o=s.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;default:switch(i){case"svg":o=s.createElementNS("http://www.w3.org/2000/svg",i);break;case"math":o=s.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;case"script":(o=s.createElement("div")).innerHTML="<script><\/script>",o=o.removeChild(o.firstChild);break;case"select":o="string"==typeof a.is?s.createElement("select",{is:a.is}):s.createElement("select"),a.multiple?o.multiple=!0:a.size&&(o.size=a.size);break;default:o="string"==typeof a.is?s.createElement(i,{is:a.is}):s.createElement(i)}}o[Ue]=n,o[qe]=a;e:for(s=n.child;null!==s;){if(5===s.tag||6===s.tag)o.appendChild(s.stateNode);else if(4!==s.tag&&27!==s.tag&&null!==s.child){s.child.return=s,s=s.child;continue}if(s===n)break e;for(;null===s.sibling;){if(null===s.return||s.return===n)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}n.stateNode=o;e:switch(pd(o,i,a),i){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&sl(n)}}return pl(n),ll(n,n.type,null===e||e.memoizedProps,n.pendingProps,t),null;case 6:if(e&&null!=n.stateNode)e.memoizedProps!==a&&sl(n);else{if("string"!=typeof a&&null===n.stateNode)throw Error(r(166));if(e=G.current,vi(n)){if(e=n.stateNode,t=n.memoizedProps,a=null,null!==(i=ci))switch(i.tag){case 27:case 5:a=i.memoizedProps}e[Ue]=n,(e=!!(e.nodeValue===t||null!==a&&!0===a.suppressHydrationWarning||cd(e.nodeValue,t)))||hi(n,!0)}else(e=gd(e).createTextNode(a))[Ue]=n,n.stateNode=e}return pl(n),null;case 31:if(t=n.memoizedState,null===e||null!==e.memoizedState){if(a=vi(n),null!==t){if(null===e){if(!a)throw Error(r(318));if(!(e=null!==(e=n.memoizedState)?e.dehydrated:null))throw Error(r(557));e[Ue]=n}else Ai(),!(128&n.flags)&&(n.memoizedState=null),n.flags|=4;pl(n),e=!1}else t=yi(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=t),e=!0;if(!e)return 256&n.flags?(jo(n),n):(jo(n),null);if(128&n.flags)throw Error(r(558))}return pl(n),null;case 13:if(a=n.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(i=vi(n),null!==a&&null!==a.dehydrated){if(null===e){if(!i)throw Error(r(318));if(!(i=null!==(i=n.memoizedState)?i.dehydrated:null))throw Error(r(317));i[Ue]=n}else Ai(),!(128&n.flags)&&(n.memoizedState=null),n.flags|=4;pl(n),i=!1}else i=yi(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=i),i=!0;if(!i)return 256&n.flags?(jo(n),n):(jo(n),null)}return jo(n),128&n.flags?(n.lanes=t,n):(t=null!==a,e=null!==e&&null!==e.memoizedState,t&&(i=null,null!==(a=n.child).alternate&&null!==a.alternate.memoizedState&&null!==a.alternate.memoizedState.cachePool&&(i=a.alternate.memoizedState.cachePool.pool),o=null,null!==a.memoizedState&&null!==a.memoizedState.cachePool&&(o=a.memoizedState.cachePool.pool),o!==i&&(a.flags|=2048)),t!==e&&t&&(n.child.flags|=8192),ul(n,n.updateQueue),pl(n),null);case 4:return Q(),null===e&&Ju(n.stateNode.containerInfo),pl(n),null;case 10:return Bi(n.type),pl(n),null;case 19:if(z(zo),null===(a=n.memoizedState))return pl(n),null;if(i=!!(128&n.flags),null===(o=a.rendering))if(i)dl(a,!1);else{if(0!==Cc||null!==e&&128&e.flags)for(e=n.child;null!==e;){if(null!==(o=Uo(e))){for(n.flags|=128,dl(a,!1),e=o.updateQueue,n.updateQueue=e,ul(n,e),n.subtreeFlags=0,e=t,t=n.child;null!==t;)Ua(t,e),t=t.sibling;return U(zo,1&zo.current|2),di&&ii(n,a.treeForkCount),n.child}e=e.sibling}null!==a.tail&&le()>_c&&(n.flags|=128,i=!0,dl(a,!1),n.lanes=4194304)}else{if(!i)if(null!==(e=Uo(o))){if(n.flags|=128,i=!0,e=e.updateQueue,n.updateQueue=e,ul(n,e),dl(a,!0),null===a.tail&&"hidden"===a.tailMode&&!o.alternate&&!di)return pl(n),null}else 2*le()-a.renderingStartTime>_c&&536870912!==t&&(n.flags|=128,i=!0,dl(a,!1),n.lanes=4194304);a.isBackwards?(o.sibling=n.child,n.child=o):(null!==(e=a.last)?e.sibling=o:n.child=o,a.last=o)}return null!==a.tail?(e=a.tail,a.rendering=e,a.tail=e.sibling,a.renderingStartTime=le(),e.sibling=null,t=zo.current,U(zo,i?1&t|2:1&t),di&&ii(n,a.treeForkCount),e):(pl(n),null);case 22:case 23:return jo(n),Lo(),a=null!==n.memoizedState,null!==e?null!==e.memoizedState!==a&&(n.flags|=8192):a&&(n.flags|=8192),a?!!(536870912&t)&&!(128&n.flags)&&(pl(n),6&n.subtreeFlags&&(n.flags|=8192)):pl(n),null!==(t=n.updateQueue)&&ul(n,t.retryQueue),t=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(t=e.memoizedState.cachePool.pool),a=null,null!==n.memoizedState&&null!==n.memoizedState.cachePool&&(a=n.memoizedState.cachePool.pool),a!==t&&(n.flags|=2048),null!==e&&z(Wi),null;case 24:return t=null,null!==e&&(t=e.memoizedState.cache),n.memoizedState.cache!==t&&(n.flags|=2048),Bi(Mi),pl(n),null;case 25:case 30:return null}throw Error(r(156,n.tag))}function ml(e,n){switch(si(n),n.tag){case 1:return 65536&(e=n.flags)?(n.flags=-65537&e|128,n):null;case 3:return Bi(Mi),Q(),65536&(e=n.flags)&&!(128&e)?(n.flags=-65537&e|128,n):null;case 26:case 27:case 5:return K(n),null;case 31:if(null!==n.memoizedState){if(jo(n),null===n.alternate)throw Error(r(340));Ai()}return 65536&(e=n.flags)?(n.flags=-65537&e|128,n):null;case 13:if(jo(n),null!==(e=n.memoizedState)&&null!==e.dehydrated){if(null===n.alternate)throw Error(r(340));Ai()}return 65536&(e=n.flags)?(n.flags=-65537&e|128,n):null;case 19:return z(zo),null;case 4:return Q(),null;case 10:return Bi(n.type),null;case 22:case 23:return jo(n),Lo(),null!==e&&z(Wi),65536&(e=n.flags)?(n.flags=-65537&e|128,n):null;case 24:return Bi(Mi),null;default:return null}}function hl(e,n){switch(si(n),n.tag){case 3:Bi(Mi),Q();break;case 26:case 27:case 5:K(n);break;case 4:Q();break;case 31:null!==n.memoizedState&&jo(n);break;case 13:jo(n);break;case 19:z(zo);break;case 10:Bi(n.type);break;case 22:case 23:jo(n),Lo(),null!==e&&z(Wi);break;case 24:Bi(Mi)}}function gl(e,n){try{var t=n.updateQueue,a=null!==t?t.lastEffect:null;if(null!==a){var i=a.next;t=i;do{if((t.tag&e)===e){a=void 0;var o=t.create,r=t.inst;a=o(),r.destroy=a}t=t.next}while(t!==i)}}catch(e){Cu(n,n.return,e)}}function bl(e,n,t){try{var a=n.updateQueue,i=null!==a?a.lastEffect:null;if(null!==i){var o=i.next;a=o;do{if((a.tag&e)===e){var r=a.inst,s=r.destroy;if(void 0!==s){r.destroy=void 0,i=n;var l=t,c=s;try{c()}catch(e){Cu(i,l,e)}}}a=a.next}while(a!==o)}}catch(e){Cu(n,n.return,e)}}function vl(e){var n=e.updateQueue;if(null!==n){var t=e.stateNode;try{So(n,t)}catch(n){Cu(e,e.return,n)}}}function Al(e,n,t){t.props=Cs(e.type,e.memoizedProps),t.state=e.memoizedState;try{t.componentWillUnmount()}catch(t){Cu(e,n,t)}}function yl(e,n){try{var t=e.ref;if(null!==t){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;default:a=e.stateNode}"function"==typeof t?e.refCleanup=t(a):t.current=a}}catch(t){Cu(e,n,t)}}function wl(e,n){var t=e.ref,a=e.refCleanup;if(null!==t)if("function"==typeof a)try{a()}catch(t){Cu(e,n,t)}finally{e.refCleanup=null,null!=(e=e.alternate)&&(e.refCleanup=null)}else if("function"==typeof t)try{t(null)}catch(t){Cu(e,n,t)}else t.current=null}function xl(e){var n=e.type,t=e.memoizedProps,a=e.stateNode;try{e:switch(n){case"button":case"input":case"select":case"textarea":t.autoFocus&&a.focus();break e;case"img":t.src?a.src=t.src:t.srcSet&&(a.srcset=t.srcSet)}}catch(n){Cu(e,e.return,n)}}function Cl(e,n,t){try{var a=e.stateNode;!function(e,n,t,a){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var i=null,o=null,s=null,l=null,c=null,u=null,d=null;for(m in t){var p=t[m];if(t.hasOwnProperty(m)&&null!=p)switch(m){case"checked":case"value":break;case"defaultValue":c=p;default:a.hasOwnProperty(m)||ud(e,n,m,null,a,p)}}for(var f in a){var m=a[f];if(p=t[f],a.hasOwnProperty(f)&&(null!=m||null!=p))switch(f){case"type":o=m;break;case"name":i=m;break;case"checked":u=m;break;case"defaultChecked":d=m;break;case"value":s=m;break;case"defaultValue":l=m;break;case"children":case"dangerouslySetInnerHTML":if(null!=m)throw Error(r(137,n));break;default:m!==p&&ud(e,n,f,m,a,p)}}return void An(e,s,l,c,u,d,o,i);case"select":for(o in m=s=l=f=null,t)if(c=t[o],t.hasOwnProperty(o)&&null!=c)switch(o){case"value":break;case"multiple":m=c;default:a.hasOwnProperty(o)||ud(e,n,o,null,a,c)}for(i in a)if(o=a[i],c=t[i],a.hasOwnProperty(i)&&(null!=o||null!=c))switch(i){case"value":f=o;break;case"defaultValue":l=o;break;case"multiple":s=o;default:o!==c&&ud(e,n,i,o,a,c)}return n=l,t=s,a=m,void(null!=f?xn(e,!!t,f,!1):!!a!=!!t&&(null!=n?xn(e,!!t,n,!0):xn(e,!!t,t?[]:"",!1)));case"textarea":for(l in m=f=null,t)if(i=t[l],t.hasOwnProperty(l)&&null!=i&&!a.hasOwnProperty(l))switch(l){case"value":case"children":break;default:ud(e,n,l,null,a,i)}for(s in a)if(i=a[s],o=t[s],a.hasOwnProperty(s)&&(null!=i||null!=o))switch(s){case"value":f=i;break;case"defaultValue":m=i;break;case"children":break;case"dangerouslySetInnerHTML":if(null!=i)throw Error(r(91));break;default:i!==o&&ud(e,n,s,i,a,o)}return void Cn(e,f,m);case"option":for(var h in t)if(f=t[h],t.hasOwnProperty(h)&&null!=f&&!a.hasOwnProperty(h))if("selected"===h)e.selected=!1;else ud(e,n,h,null,a,f);for(c in a)if(f=a[c],m=t[c],a.hasOwnProperty(c)&&f!==m&&(null!=f||null!=m))if("selected"===c)e.selected=f&&"function"!=typeof f&&"symbol"!=typeof f;else ud(e,n,c,f,a,m);return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var g in t)f=t[g],t.hasOwnProperty(g)&&null!=f&&!a.hasOwnProperty(g)&&ud(e,n,g,null,a,f);for(u in a)if(f=a[u],m=t[u],a.hasOwnProperty(u)&&f!==m&&(null!=f||null!=m))switch(u){case"children":case"dangerouslySetInnerHTML":if(null!=f)throw Error(r(137,n));break;default:ud(e,n,u,f,a,m)}return;default:if(Pn(n)){for(var b in t)f=t[b],t.hasOwnProperty(b)&&void 0!==f&&!a.hasOwnProperty(b)&&dd(e,n,b,void 0,a,f);for(d in a)f=a[d],m=t[d],!a.hasOwnProperty(d)||f===m||void 0===f&&void 0===m||dd(e,n,d,f,a,m);return}}for(var v in t)f=t[v],t.hasOwnProperty(v)&&null!=f&&!a.hasOwnProperty(v)&&ud(e,n,v,null,a,f);for(p in a)f=a[p],m=t[p],!a.hasOwnProperty(p)||f===m||null==f&&null==m||ud(e,n,p,f,a,m)}(a,e.type,t,n),a[qe]=n}catch(n){Cu(e,e.return,n)}}function El(e){return 5===e.tag||3===e.tag||26===e.tag||27===e.tag&&Bd(e.type)||4===e.tag}function kl(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||El(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(27===e.tag&&Bd(e.type))continue e;if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function Bl(e,n,t){var a=e.tag;if(5===a||6===a)e=e.stateNode,n?(9===t.nodeType?t.body:"HTML"===t.nodeName?t.ownerDocument.body:t).insertBefore(e,n):((n=9===t.nodeType?t.body:"HTML"===t.nodeName?t.ownerDocument.body:t).appendChild(e),null!=(t=t._reactRootContainer)||null!==n.onclick||(n.onclick=In));else if(4!==a&&(27===a&&Bd(e.type)&&(t=e.stateNode,n=null),null!==(e=e.child)))for(Bl(e,n,t),e=e.sibling;null!==e;)Bl(e,n,t),e=e.sibling}function Sl(e,n,t){var a=e.tag;if(5===a||6===a)e=e.stateNode,n?t.insertBefore(e,n):t.appendChild(e);else if(4!==a&&(27===a&&Bd(e.type)&&(t=e.stateNode),null!==(e=e.child)))for(Sl(e,n,t),e=e.sibling;null!==e;)Sl(e,n,t),e=e.sibling}function Tl(e){var n=e.stateNode,t=e.memoizedProps;try{for(var a=e.type,i=n.attributes;i.length;)n.removeAttributeNode(i[0]);pd(n,a,t),n[Ue]=e,n[qe]=t}catch(n){Cu(e,e.return,n)}}var Pl=!1,Fl=!1,Nl=!1,Ll="function"==typeof WeakSet?WeakSet:Set,Il=null;function _l(e,n,t){var a=t.flags;switch(t.tag){case 0:case 11:case 15:Yl(e,t),4&a&&gl(5,t);break;case 1:if(Yl(e,t),4&a)if(e=t.stateNode,null===n)try{e.componentDidMount()}catch(e){Cu(t,t.return,e)}else{var i=Cs(t.type,n.memoizedProps);n=n.memoizedState;try{e.componentDidUpdate(i,n,e.__reactInternalSnapshotBeforeUpdate)}catch(e){Cu(t,t.return,e)}}64&a&&vl(t),512&a&&yl(t,t.return);break;case 3:if(Yl(e,t),64&a&&null!==(e=t.updateQueue)){if(n=null,null!==t.child)switch(t.child.tag){case 27:case 5:case 1:n=t.child.stateNode}try{So(e,n)}catch(e){Cu(t,t.return,e)}}break;case 27:null===n&&4&a&&Tl(t);case 26:case 5:Yl(e,t),null===n&&4&a&&xl(t),512&a&&yl(t,t.return);break;case 12:Yl(e,t);break;case 31:Yl(e,t),4&a&&zl(e,t);break;case 13:Yl(e,t),4&a&&Ul(e,t),64&a&&(null!==(e=t.memoizedState)&&(null!==(e=e.dehydrated)&&function(e,n){var t=e.ownerDocument;if("$~"===e.data)e._reactRetry=n;else if("$?"!==e.data||"loading"!==t.readyState)n();else{var a=function(){n(),t.removeEventListener("DOMContentLoaded",a)};t.addEventListener("DOMContentLoaded",a),e._reactRetry=a}}(e,t=Su.bind(null,t))));break;case 22:if(!(a=null!==t.memoizedState||Pl)){n=null!==n&&null!==n.memoizedState||Fl,i=Pl;var o=Fl;Pl=a,(Fl=n)&&!o?Xl(e,t,!!(8772&t.subtreeFlags)):Yl(e,t),Pl=i,Fl=o}break;case 30:break;default:Yl(e,t)}}function Ol(e){var n=e.alternate;null!==n&&(e.alternate=null,Ol(n)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(n=e.stateNode)&&Qe(n)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Rl=null,Dl=!1;function Ml(e,n,t){for(t=t.child;null!==t;)jl(e,n,t),t=t.sibling}function jl(e,n,t){if(ve&&"function"==typeof ve.onCommitFiberUnmount)try{ve.onCommitFiberUnmount(be,t)}catch(e){}switch(t.tag){case 26:Fl||wl(t,n),Ml(e,n,t),t.memoizedState?t.memoizedState.count--:t.stateNode&&(t=t.stateNode).parentNode.removeChild(t);break;case 27:Fl||wl(t,n);var a=Rl,i=Dl;Bd(t.type)&&(Rl=t.stateNode,Dl=!1),Ml(e,n,t),Md(t.stateNode),Rl=a,Dl=i;break;case 5:Fl||wl(t,n);case 6:if(a=Rl,i=Dl,Rl=null,Ml(e,n,t),Dl=i,null!==(Rl=a))if(Dl)try{(9===Rl.nodeType?Rl.body:"HTML"===Rl.nodeName?Rl.ownerDocument.body:Rl).removeChild(t.stateNode)}catch(e){Cu(t,n,e)}else try{Rl.removeChild(t.stateNode)}catch(e){Cu(t,n,e)}break;case 18:null!==Rl&&(Dl?(Sd(9===(e=Rl).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e,t.stateNode),Hp(e)):Sd(Rl,t.stateNode));break;case 4:a=Rl,i=Dl,Rl=t.stateNode.containerInfo,Dl=!0,Ml(e,n,t),Rl=a,Dl=i;break;case 0:case 11:case 14:case 15:bl(2,t,n),Fl||bl(4,t,n),Ml(e,n,t);break;case 1:Fl||(wl(t,n),"function"==typeof(a=t.stateNode).componentWillUnmount&&Al(t,n,a)),Ml(e,n,t);break;case 21:Ml(e,n,t);break;case 22:Fl=(a=Fl)||null!==t.memoizedState,Ml(e,n,t),Fl=a;break;default:Ml(e,n,t)}}function zl(e,n){if(null===n.memoizedState&&(null!==(e=n.alternate)&&null!==(e=e.memoizedState))){e=e.dehydrated;try{Hp(e)}catch(e){Cu(n,n.return,e)}}}function Ul(e,n){if(null===n.memoizedState&&(null!==(e=n.alternate)&&(null!==(e=e.memoizedState)&&null!==(e=e.dehydrated))))try{Hp(e)}catch(e){Cu(n,n.return,e)}}function ql(e,n){var t=function(e){switch(e.tag){case 31:case 13:case 19:var n=e.stateNode;return null===n&&(n=e.stateNode=new Ll),n;case 22:return null===(n=(e=e.stateNode)._retryCache)&&(n=e._retryCache=new Ll),n;default:throw Error(r(435,e.tag))}}(e);n.forEach(function(n){if(!t.has(n)){t.add(n);var a=Tu.bind(null,e,n);n.then(a,a)}})}function $l(e,n){var t=n.deletions;if(null!==t)for(var a=0;a<t.length;a++){var i=t[a],o=e,s=n,l=s;e:for(;null!==l;){switch(l.tag){case 27:if(Bd(l.type)){Rl=l.stateNode,Dl=!1;break e}break;case 5:Rl=l.stateNode,Dl=!1;break e;case 3:case 4:Rl=l.stateNode.containerInfo,Dl=!0;break e}l=l.return}if(null===Rl)throw Error(r(160));jl(o,s,i),Rl=null,Dl=!1,null!==(o=i.alternate)&&(o.return=null),i.return=null}if(13886&n.subtreeFlags)for(n=n.child;null!==n;)Vl(n,e),n=n.sibling}var Hl=null;function Vl(e,n){var t=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:$l(n,e),Gl(e),4&a&&(bl(3,e,e.return),gl(3,e),bl(5,e,e.return));break;case 1:$l(n,e),Gl(e),512&a&&(Fl||null===t||wl(t,t.return)),64&a&&Pl&&(null!==(e=e.updateQueue)&&(null!==(a=e.callbacks)&&(t=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=null===t?a:t.concat(a))));break;case 26:var i=Hl;if($l(n,e),Gl(e),512&a&&(Fl||null===t||wl(t,t.return)),4&a){var o=null!==t?t.memoizedState:null;if(a=e.memoizedState,null===t)if(null===a)if(null===e.stateNode){e:{a=e.type,t=e.memoizedProps,i=i.ownerDocument||i;n:switch(a){case"title":(!(o=i.getElementsByTagName("title")[0])||o[Ye]||o[Ue]||"http://www.w3.org/2000/svg"===o.namespaceURI||o.hasAttribute("itemprop"))&&(o=i.createElement(a),i.head.insertBefore(o,i.querySelector("head > title"))),pd(o,a,t),o[Ue]=e,en(o),a=o;break e;case"link":var s=tp("link","href",i).get(a+(t.href||""));if(s)for(var l=0;l<s.length;l++)if((o=s[l]).getAttribute("href")===(null==t.href||""===t.href?null:t.href)&&o.getAttribute("rel")===(null==t.rel?null:t.rel)&&o.getAttribute("title")===(null==t.title?null:t.title)&&o.getAttribute("crossorigin")===(null==t.crossOrigin?null:t.crossOrigin)){s.splice(l,1);break n}pd(o=i.createElement(a),a,t),i.head.appendChild(o);break;case"meta":if(s=tp("meta","content",i).get(a+(t.content||"")))for(l=0;l<s.length;l++)if((o=s[l]).getAttribute("content")===(null==t.content?null:""+t.content)&&o.getAttribute("name")===(null==t.name?null:t.name)&&o.getAttribute("property")===(null==t.property?null:t.property)&&o.getAttribute("http-equiv")===(null==t.httpEquiv?null:t.httpEquiv)&&o.getAttribute("charset")===(null==t.charSet?null:t.charSet)){s.splice(l,1);break n}pd(o=i.createElement(a),a,t),i.head.appendChild(o);break;default:throw Error(r(468,a))}o[Ue]=e,en(o),a=o}e.stateNode=a}else ap(i,e.type,e.stateNode);else e.stateNode=Kd(i,a,e.memoizedProps);else o!==a?(null===o?null!==t.stateNode&&(t=t.stateNode).parentNode.removeChild(t):o.count--,null===a?ap(i,e.type,e.stateNode):Kd(i,a,e.memoizedProps)):null===a&&null!==e.stateNode&&Cl(e,e.memoizedProps,t.memoizedProps)}break;case 27:$l(n,e),Gl(e),512&a&&(Fl||null===t||wl(t,t.return)),null!==t&&4&a&&Cl(e,e.memoizedProps,t.memoizedProps);break;case 5:if($l(n,e),Gl(e),512&a&&(Fl||null===t||wl(t,t.return)),32&e.flags){i=e.stateNode;try{kn(i,"")}catch(n){Cu(e,e.return,n)}}4&a&&null!=e.stateNode&&Cl(e,i=e.memoizedProps,null!==t?t.memoizedProps:i),1024&a&&(Nl=!0);break;case 6:if($l(n,e),Gl(e),4&a){if(null===e.stateNode)throw Error(r(162));a=e.memoizedProps,t=e.stateNode;try{t.nodeValue=a}catch(n){Cu(e,e.return,n)}}break;case 3:if(np=null,i=Hl,Hl=Ud(n.containerInfo),$l(n,e),Hl=i,Gl(e),4&a&&null!==t&&t.memoizedState.isDehydrated)try{Hp(n.containerInfo)}catch(n){Cu(e,e.return,n)}Nl&&(Nl=!1,Wl(e));break;case 4:a=Hl,Hl=Ud(e.stateNode.containerInfo),$l(n,e),Gl(e),Hl=a;break;case 12:default:$l(n,e),Gl(e);break;case 31:case 19:$l(n,e),Gl(e),4&a&&(null!==(a=e.updateQueue)&&(e.updateQueue=null,ql(e,a)));break;case 13:$l(n,e),Gl(e),8192&e.child.flags&&null!==e.memoizedState!=(null!==t&&null!==t.memoizedState)&&(Lc=le()),4&a&&(null!==(a=e.updateQueue)&&(e.updateQueue=null,ql(e,a)));break;case 22:i=null!==e.memoizedState;var c=null!==t&&null!==t.memoizedState,u=Pl,d=Fl;if(Pl=u||i,Fl=d||c,$l(n,e),Fl=d,Pl=u,Gl(e),8192&a)e:for(n=e.stateNode,n._visibility=i?-2&n._visibility:1|n._visibility,i&&(null===t||c||Pl||Fl||Ql(e)),t=null,n=e;;){if(5===n.tag||26===n.tag){if(null===t){c=t=n;try{if(o=c.stateNode,i)"function"==typeof(s=o.style).setProperty?s.setProperty("display","none","important"):s.display="none";else{l=c.stateNode;var p=c.memoizedProps.style,f=null!=p&&p.hasOwnProperty("display")?p.display:null;l.style.display=null==f||"boolean"==typeof f?"":(""+f).trim()}}catch(e){Cu(c,c.return,e)}}}else if(6===n.tag){if(null===t){c=n;try{c.stateNode.nodeValue=i?"":c.memoizedProps}catch(e){Cu(c,c.return,e)}}}else if(18===n.tag){if(null===t){c=n;try{var m=c.stateNode;i?Td(m,!0):Td(c.stateNode,!1)}catch(e){Cu(c,c.return,e)}}}else if((22!==n.tag&&23!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break e;for(;null===n.sibling;){if(null===n.return||n.return===e)break e;t===n&&(t=null),n=n.return}t===n&&(t=null),n.sibling.return=n.return,n=n.sibling}4&a&&(null!==(a=e.updateQueue)&&(null!==(t=a.retryQueue)&&(a.retryQueue=null,ql(e,t))));case 30:case 21:}}function Gl(e){var n=e.flags;if(2&n){try{for(var t,a=e.return;null!==a;){if(El(a)){t=a;break}a=a.return}if(null==t)throw Error(r(160));switch(t.tag){case 27:var i=t.stateNode;Sl(e,kl(e),i);break;case 5:var o=t.stateNode;32&t.flags&&(kn(o,""),t.flags&=-33),Sl(e,kl(e),o);break;case 3:case 4:var s=t.stateNode.containerInfo;Bl(e,kl(e),s);break;default:throw Error(r(161))}}catch(n){Cu(e,e.return,n)}e.flags&=-3}4096&n&&(e.flags&=-4097)}function Wl(e){if(1024&e.subtreeFlags)for(e=e.child;null!==e;){var n=e;Wl(n),5===n.tag&&1024&n.flags&&n.stateNode.reset(),e=e.sibling}}function Yl(e,n){if(8772&n.subtreeFlags)for(n=n.child;null!==n;)_l(e,n.alternate,n),n=n.sibling}function Ql(e){for(e=e.child;null!==e;){var n=e;switch(n.tag){case 0:case 11:case 14:case 15:bl(4,n,n.return),Ql(n);break;case 1:wl(n,n.return);var t=n.stateNode;"function"==typeof t.componentWillUnmount&&Al(n,n.return,t),Ql(n);break;case 27:Md(n.stateNode);case 26:case 5:wl(n,n.return),Ql(n);break;case 22:null===n.memoizedState&&Ql(n);break;default:Ql(n)}e=e.sibling}}function Xl(e,n,t){for(t=t&&!!(8772&n.subtreeFlags),n=n.child;null!==n;){var a=n.alternate,i=e,o=n,r=o.flags;switch(o.tag){case 0:case 11:case 15:Xl(i,o,t),gl(4,o);break;case 1:if(Xl(i,o,t),"function"==typeof(i=(a=o).stateNode).componentDidMount)try{i.componentDidMount()}catch(e){Cu(a,a.return,e)}if(null!==(i=(a=o).updateQueue)){var s=a.stateNode;try{var l=i.shared.hiddenCallbacks;if(null!==l)for(i.shared.hiddenCallbacks=null,i=0;i<l.length;i++)Bo(l[i],s)}catch(e){Cu(a,a.return,e)}}t&&64&r&&vl(o),yl(o,o.return);break;case 27:Tl(o);case 26:case 5:Xl(i,o,t),t&&null===a&&4&r&&xl(o),yl(o,o.return);break;case 12:Xl(i,o,t);break;case 31:Xl(i,o,t),t&&4&r&&zl(i,o);break;case 13:Xl(i,o,t),t&&4&r&&Ul(i,o);break;case 22:null===o.memoizedState&&Xl(i,o,t),yl(o,o.return);break;case 30:break;default:Xl(i,o,t)}n=n.sibling}}function Kl(e,n){var t=null;null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(t=e.memoizedState.cachePool.pool),e=null,null!==n.memoizedState&&null!==n.memoizedState.cachePool&&(e=n.memoizedState.cachePool.pool),e!==t&&(null!=e&&e.refCount++,null!=t&&zi(t))}function Zl(e,n){e=null,null!==n.alternate&&(e=n.alternate.memoizedState.cache),(n=n.memoizedState.cache)!==e&&(n.refCount++,null!=e&&zi(e))}function Jl(e,n,t,a){if(10256&n.subtreeFlags)for(n=n.child;null!==n;)ec(e,n,t,a),n=n.sibling}function ec(e,n,t,a){var i=n.flags;switch(n.tag){case 0:case 11:case 15:Jl(e,n,t,a),2048&i&&gl(9,n);break;case 1:case 31:case 13:default:Jl(e,n,t,a);break;case 3:Jl(e,n,t,a),2048&i&&(e=null,null!==n.alternate&&(e=n.alternate.memoizedState.cache),(n=n.memoizedState.cache)!==e&&(n.refCount++,null!=e&&zi(e)));break;case 12:if(2048&i){Jl(e,n,t,a),e=n.stateNode;try{var o=n.memoizedProps,r=o.id,s=o.onPostCommit;"function"==typeof s&&s(r,null===n.alternate?"mount":"update",e.passiveEffectDuration,-0)}catch(e){Cu(n,n.return,e)}}else Jl(e,n,t,a);break;case 23:break;case 22:o=n.stateNode,r=n.alternate,null!==n.memoizedState?2&o._visibility?Jl(e,n,t,a):tc(e,n):2&o._visibility?Jl(e,n,t,a):(o._visibility|=2,nc(e,n,t,a,!!(10256&n.subtreeFlags)||!1)),2048&i&&Kl(r,n);break;case 24:Jl(e,n,t,a),2048&i&&Zl(n.alternate,n)}}function nc(e,n,t,a,i){for(i=i&&(!!(10256&n.subtreeFlags)||!1),n=n.child;null!==n;){var o=e,r=n,s=t,l=a,c=r.flags;switch(r.tag){case 0:case 11:case 15:nc(o,r,s,l,i),gl(8,r);break;case 23:break;case 22:var u=r.stateNode;null!==r.memoizedState?2&u._visibility?nc(o,r,s,l,i):tc(o,r):(u._visibility|=2,nc(o,r,s,l,i)),i&&2048&c&&Kl(r.alternate,r);break;case 24:nc(o,r,s,l,i),i&&2048&c&&Zl(r.alternate,r);break;default:nc(o,r,s,l,i)}n=n.sibling}}function tc(e,n){if(10256&n.subtreeFlags)for(n=n.child;null!==n;){var t=e,a=n,i=a.flags;switch(a.tag){case 22:tc(t,a),2048&i&&Kl(a.alternate,a);break;case 24:tc(t,a),2048&i&&Zl(a.alternate,a);break;default:tc(t,a)}n=n.sibling}}var ac=8192;function ic(e,n,t){if(e.subtreeFlags&ac)for(e=e.child;null!==e;)oc(e,n,t),e=e.sibling}function oc(e,n,t){switch(e.tag){case 26:ic(e,n,t),e.flags&ac&&null!==e.memoizedState&&function(e,n,t,a){if(!("stylesheet"!==t.type||"string"==typeof a.media&&!1===matchMedia(a.media).matches||4&t.state.loading)){if(null===t.instance){var i=Gd(a.href),o=n.querySelector(Wd(i));if(o)return null!==(n=o._p)&&"object"==typeof n&&"function"==typeof n.then&&(e.count++,e=rp.bind(e),n.then(e,e)),t.state.loading|=4,t.instance=o,void en(o);o=n.ownerDocument||n,a=Yd(a),(i=jd.get(i))&&Jd(a,i),en(o=o.createElement("link"));var r=o;r._p=new Promise(function(e,n){r.onload=e,r.onerror=n}),pd(o,"link",a),t.instance=o}null===e.stylesheets&&(e.stylesheets=new Map),e.stylesheets.set(t,n),(n=t.state.preload)&&!(3&t.state.loading)&&(e.count++,t=rp.bind(e),n.addEventListener("load",t),n.addEventListener("error",t))}}(t,Hl,e.memoizedState,e.memoizedProps);break;case 5:default:ic(e,n,t);break;case 3:case 4:var a=Hl;Hl=Ud(e.stateNode.containerInfo),ic(e,n,t),Hl=a;break;case 22:null===e.memoizedState&&(null!==(a=e.alternate)&&null!==a.memoizedState?(a=ac,ac=16777216,ic(e,n,t),ac=a):ic(e,n,t))}}function rc(e){var n=e.alternate;if(null!==n&&null!==(e=n.child)){n.child=null;do{n=e.sibling,e.sibling=null,e=n}while(null!==e)}}function sc(e){var n=e.deletions;if(16&e.flags){if(null!==n)for(var t=0;t<n.length;t++){var a=n[t];Il=a,uc(a,e)}rc(e)}if(10256&e.subtreeFlags)for(e=e.child;null!==e;)lc(e),e=e.sibling}function lc(e){switch(e.tag){case 0:case 11:case 15:sc(e),2048&e.flags&&bl(9,e,e.return);break;case 3:case 12:default:sc(e);break;case 22:var n=e.stateNode;null!==e.memoizedState&&2&n._visibility&&(null===e.return||13!==e.return.tag)?(n._visibility&=-3,cc(e)):sc(e)}}function cc(e){var n=e.deletions;if(16&e.flags){if(null!==n)for(var t=0;t<n.length;t++){var a=n[t];Il=a,uc(a,e)}rc(e)}for(e=e.child;null!==e;){switch((n=e).tag){case 0:case 11:case 15:bl(8,n,n.return),cc(n);break;case 22:2&(t=n.stateNode)._visibility&&(t._visibility&=-3,cc(n));break;default:cc(n)}e=e.sibling}}function uc(e,n){for(;null!==Il;){var t=Il;switch(t.tag){case 0:case 11:case 15:bl(8,t,n);break;case 23:case 22:if(null!==t.memoizedState&&null!==t.memoizedState.cachePool){var a=t.memoizedState.cachePool.pool;null!=a&&a.refCount++}break;case 24:zi(t.memoizedState.cache)}if(null!==(a=t.child))a.return=t,Il=a;else e:for(t=e;null!==Il;){var i=(a=Il).sibling,o=a.return;if(Ol(a),a===t){Il=null;break e}if(null!==i){i.return=o,Il=i;break e}Il=o}}}var dc={getCacheForType:function(e){var n=Li(Mi),t=n.data.get(e);return void 0===t&&(t=e(),n.data.set(e,t)),t},cacheSignal:function(){return Li(Mi).controller.signal}},pc="function"==typeof WeakMap?WeakMap:Map,fc=0,mc=null,hc=null,gc=0,bc=0,vc=null,Ac=!1,yc=!1,wc=!1,xc=0,Cc=0,Ec=0,kc=0,Bc=0,Sc=0,Tc=0,Pc=null,Fc=null,Nc=!1,Lc=0,Ic=0,_c=1/0,Oc=null,Rc=null,Dc=0,Mc=null,jc=null,zc=0,Uc=0,qc=null,$c=null,Hc=0,Vc=null;function Gc(){return 2&fc&&0!==gc?gc&-gc:null!==_.T?qu():Me()}function Wc(){if(0===Sc)if(536870912&gc&&!di)Sc=536870912;else{var e=Ee;!(3932160&(Ee<<=1))&&(Ee=262144),Sc=e}return null!==(e=Io.current)&&(e.flags|=32),Sc}function Yc(e,n,t){(e!==mc||2!==bc&&9!==bc)&&null===e.cancelPendingCommit||(nu(e,0),Zc(e,gc,Sc,!1)),Le(e,t),2&fc&&e===mc||(e===mc&&(!(2&fc)&&(kc|=t),4===Cc&&Zc(e,gc,Sc,!1)),Ou(e))}function Qc(e,n,t){if(6&fc)throw Error(r(327));for(var a=!t&&!(127&n)&&0===(n&e.expiredLanes)||Te(e,n),i=a?function(e,n){var t=fc;fc|=2;var a=iu(),i=ou();mc!==e||gc!==n?(Oc=null,_c=le()+500,nu(e,n)):yc=Te(e,n);e:for(;;)try{if(0!==bc&&null!==hc){n=hc;var o=vc;n:switch(bc){case 1:bc=0,vc=null,pu(e,n,o,1);break;case 2:case 9:if(no(o)){bc=0,vc=null,du(n);break}n=function(){2!==bc&&9!==bc||mc!==e||(bc=7),Ou(e)},o.then(n,n);break e;case 3:bc=7;break e;case 4:bc=5;break e;case 7:no(o)?(bc=0,vc=null,du(n)):(bc=0,vc=null,pu(e,n,o,7));break;case 5:var s=null;switch(hc.tag){case 26:s=hc.memoizedState;case 5:case 27:var l=hc;if(s?ip(s):l.stateNode.complete){bc=0,vc=null;var c=l.sibling;if(null!==c)hc=c;else{var u=l.return;null!==u?(hc=u,fu(u)):hc=null}break n}}bc=0,vc=null,pu(e,n,o,5);break;case 6:bc=0,vc=null,pu(e,n,o,6);break;case 8:eu(),Cc=6;break e;default:throw Error(r(462))}}cu();break}catch(n){tu(e,n)}return Ei=Ci=null,_.H=a,_.A=i,fc=t,null!==hc?0:(mc=null,gc=0,Fa(),Cc)}(e,n):su(e,n,!0),o=a;;){if(0===i){yc&&!a&&Zc(e,n,0,!1);break}if(t=e.current.alternate,!o||Kc(t)){if(2===i){if(o=n,e.errorRecoveryDisabledLanes&o)var s=0;else s=0!==(s=-536870913&e.pendingLanes)?s:536870912&s?536870912:0;if(0!==s){n=s;e:{var l=e;i=Pc;var c=l.current.memoizedState.isDehydrated;if(c&&(nu(l,s).flags|=256),2!==(s=su(l,s,!1))){if(wc&&!c){l.errorRecoveryDisabledLanes|=o,kc|=o,i=4;break e}o=Fc,Fc=i,null!==o&&(null===Fc?Fc=o:Fc.push.apply(Fc,o))}i=s}if(o=!1,2!==i)continue}}if(1===i){nu(e,0),Zc(e,n,0,!0);break}e:{switch(a=e,o=i){case 0:case 1:throw Error(r(345));case 4:if((4194048&n)!==n)break;case 6:Zc(a,n,Sc,!Ac);break e;case 2:Fc=null;break;case 3:case 5:break;default:throw Error(r(329))}if((62914560&n)===n&&10<(i=Lc+300-le())){if(Zc(a,n,Sc,!Ac),0!==Se(a,0,!0))break e;zc=n,a.timeoutHandle=wd(Xc.bind(null,a,t,Fc,Oc,Nc,n,Sc,kc,Tc,Ac,o,"Throttled",-0,0),i)}else Xc(a,t,Fc,Oc,Nc,n,Sc,kc,Tc,Ac,o,null,-0,0)}break}i=su(e,n,!1),o=!1}Ou(e)}function Xc(e,n,t,a,i,o,r,s,l,c,u,d,p,f){if(e.timeoutHandle=-1,8192&(d=n.subtreeFlags)||!(16785408&~d)){oc(n,o,d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:In});var m=(62914560&o)===o?Lc-le():(4194048&o)===o?Ic-le():0;if(null!==(m=function(e,n){return e.stylesheets&&0===e.count&&lp(e,e.stylesheets),0<e.count||0<e.imgCount?function(t){var a=setTimeout(function(){if(e.stylesheets&&lp(e,e.stylesheets),e.unsuspend){var n=e.unsuspend;e.unsuspend=null,n()}},6e4+n);0<e.imgBytes&&0===op&&(op=62500*function(){if("function"==typeof performance.getEntriesByType){for(var e=0,n=0,t=performance.getEntriesByType("resource"),a=0;a<t.length;a++){var i=t[a],o=i.transferSize,r=i.initiatorType,s=i.duration;if(o&&s&&fd(r)){for(r=0,s=i.responseEnd,a+=1;a<t.length;a++){var l=t[a],c=l.startTime;if(c>s)break;var u=l.transferSize,d=l.initiatorType;u&&fd(d)&&(r+=u*((l=l.responseEnd)<s?1:(s-c)/(l-c)))}if(--a,n+=8*(o+r)/(i.duration/1e3),10<++e)break}}if(0<e)return n/e/1e6}return navigator.connection&&"number"==typeof(e=navigator.connection.downlink)?e:5}());var i=setTimeout(function(){if(e.waitingForImages=!1,0===e.count&&(e.stylesheets&&lp(e,e.stylesheets),e.unsuspend)){var n=e.unsuspend;e.unsuspend=null,n()}},(e.imgBytes>op?50:800)+n);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(i)}}:null}(d,m)))return zc=o,e.cancelPendingCommit=m(hu.bind(null,e,n,o,t,a,i,r,s,l,u,d,null,p,f)),void Zc(e,o,r,!c)}hu(e,n,o,t,a,i,r,s,l)}function Kc(e){for(var n=e;;){var t=n.tag;if((0===t||11===t||15===t)&&16384&n.flags&&(null!==(t=n.updateQueue)&&null!==(t=t.stores)))for(var a=0;a<t.length;a++){var i=t[a],o=i.getSnapshot;i=i.value;try{if(!Zt(o(),i))return!1}catch(e){return!1}}if(t=n.child,16384&n.subtreeFlags&&null!==t)t.return=n,n=t;else{if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function Zc(e,n,t,a){n&=~Bc,n&=~kc,e.suspendedLanes|=n,e.pingedLanes&=~n,a&&(e.warmLanes|=n),a=e.expirationTimes;for(var i=n;0<i;){var o=31-ye(i),r=1<<o;a[o]=-1,i&=~r}0!==t&&Ie(e,t,n)}function Jc(){return!!(6&fc)||(Ru(0,!1),!1)}function eu(){if(null!==hc){if(0===bc)var e=hc.return;else Ei=Ci=null,sr(e=hc),so=null,lo=0,e=hc;for(;null!==e;)hl(e.alternate,e),e=e.return;hc=null}}function nu(e,n){var t=e.timeoutHandle;-1!==t&&(e.timeoutHandle=-1,xd(t)),null!==(t=e.cancelPendingCommit)&&(e.cancelPendingCommit=null,t()),zc=0,eu(),mc=e,hc=t=za(e.current,null),gc=n,bc=0,vc=null,Ac=!1,yc=Te(e,n),wc=!1,Tc=Sc=Bc=kc=Ec=Cc=0,Fc=Pc=null,Nc=!1,8&n&&(n|=32&n);var a=e.entangledLanes;if(0!==a)for(e=e.entanglements,a&=n;0<a;){var i=31-ye(a),o=1<<i;n|=e[i],a&=~o}return xc=n,Fa(),t}function tu(e,n){$o=null,_.H=hs,n===Ki||n===Ji?(n=oo(),bc=3):n===Zi?(n=oo(),bc=4):bc=n===Ls?8:null!==n&&"object"==typeof n&&"function"==typeof n.then?6:1,vc=n,null===hc&&(Cc=1,Ss(e,Ya(n,e.current)))}function au(){var e=Io.current;return null===e||((4194048&gc)===gc?null===_o:!!((62914560&gc)===gc||536870912&gc)&&e===_o)}function iu(){var e=_.H;return _.H=hs,null===e?hs:e}function ou(){var e=_.A;return _.A=dc,e}function ru(){Cc=4,Ac||(4194048&gc)!==gc&&null!==Io.current||(yc=!0),!(134217727&Ec)&&!(134217727&kc)||null===mc||Zc(mc,gc,Sc,!1)}function su(e,n,t){var a=fc;fc|=2;var i=iu(),o=ou();mc===e&&gc===n||(Oc=null,nu(e,n)),n=!1;var r=Cc;e:for(;;)try{if(0!==bc&&null!==hc){var s=hc,l=vc;switch(bc){case 8:eu(),r=6;break e;case 3:case 2:case 9:case 6:null===Io.current&&(n=!0);var c=bc;if(bc=0,vc=null,pu(e,s,l,c),t&&yc){r=0;break e}break;default:c=bc,bc=0,vc=null,pu(e,s,l,c)}}lu(),r=Cc;break}catch(n){tu(e,n)}return n&&e.shellSuspendCounter++,Ei=Ci=null,fc=a,_.H=i,_.A=o,null===hc&&(mc=null,gc=0,Fa()),r}function lu(){for(;null!==hc;)uu(hc)}function cu(){for(;null!==hc&&!re();)uu(hc)}function uu(e){var n=rl(e.alternate,e,xc);e.memoizedProps=e.pendingProps,null===n?fu(e):hc=n}function du(e){var n=e,t=n.alternate;switch(n.tag){case 15:case 0:n=Vs(t,n,n.pendingProps,n.type,void 0,gc);break;case 11:n=Vs(t,n,n.pendingProps,n.type.render,n.ref,gc);break;case 5:sr(n);default:hl(t,n),n=rl(t,n=hc=Ua(n,xc),xc)}e.memoizedProps=e.pendingProps,null===n?fu(e):hc=n}function pu(e,n,t,a){Ei=Ci=null,sr(n),so=null,lo=0;var i=n.return;try{if(function(e,n,t,a,i){if(t.flags|=32768,null!==a&&"object"==typeof a&&"function"==typeof a.then){if(null!==(n=t.alternate)&&Pi(n,t,i,!0),null!==(t=Io.current)){switch(t.tag){case 31:case 13:return null===_o?ru():null===t.alternate&&0===Cc&&(Cc=3),t.flags&=-257,t.flags|=65536,t.lanes=i,a===eo?t.flags|=16384:(null===(n=t.updateQueue)?t.updateQueue=new Set([a]):n.add(a),Eu(e,a,i)),!1;case 22:return t.flags|=65536,a===eo?t.flags|=16384:(null===(n=t.updateQueue)?(n={transitions:null,markerInstances:null,retryQueue:new Set([a])},t.updateQueue=n):null===(t=n.retryQueue)?n.retryQueue=new Set([a]):t.add(a),Eu(e,a,i)),!1}throw Error(r(435,t.tag))}return Eu(e,a,i),ru(),!1}if(di)return null!==(n=Io.current)?(!(65536&n.flags)&&(n.flags|=256),n.flags|=65536,n.lanes=i,a!==mi&&wi(Ya(e=Error(r(422),{cause:a}),t))):(a!==mi&&wi(Ya(n=Error(r(423),{cause:a}),t)),(e=e.current.alternate).flags|=65536,i&=-i,e.lanes|=i,a=Ya(a,t),xo(e,i=Ps(e.stateNode,a,i)),4!==Cc&&(Cc=2)),!1;var o=Error(r(520),{cause:a});if(o=Ya(o,t),null===Pc?Pc=[o]:Pc.push(o),4!==Cc&&(Cc=2),null===n)return!0;a=Ya(a,t),t=n;do{switch(t.tag){case 3:return t.flags|=65536,e=i&-i,t.lanes|=e,xo(t,e=Ps(t.stateNode,a,e)),!1;case 1:if(n=t.type,o=t.stateNode,!(128&t.flags||"function"!=typeof n.getDerivedStateFromError&&(null===o||"function"!=typeof o.componentDidCatch||null!==Rc&&Rc.has(o))))return t.flags|=65536,i&=-i,t.lanes|=i,Ns(i=Fs(i),e,t,a),xo(t,i),!1}t=t.return}while(null!==t);return!1}(e,i,n,t,gc))return Cc=1,Ss(e,Ya(t,e.current)),void(hc=null)}catch(n){if(null!==i)throw hc=i,n;return Cc=1,Ss(e,Ya(t,e.current)),void(hc=null)}32768&n.flags?(di||1===a?e=!0:yc||536870912&gc?e=!1:(Ac=e=!0,(2===a||9===a||3===a||6===a)&&(null!==(a=Io.current)&&13===a.tag&&(a.flags|=16384))),mu(n,e)):fu(n)}function fu(e){var n=e;do{if(32768&n.flags)return void mu(n,Ac);e=n.return;var t=fl(n.alternate,n,xc);if(null!==t)return void(hc=t);if(null!==(n=n.sibling))return void(hc=n);hc=n=e}while(null!==n);0===Cc&&(Cc=5)}function mu(e,n){do{var t=ml(e.alternate,e);if(null!==t)return t.flags&=32767,void(hc=t);if(null!==(t=e.return)&&(t.flags|=32768,t.subtreeFlags=0,t.deletions=null),!n&&null!==(e=e.sibling))return void(hc=e);hc=e=t}while(null!==e);Cc=6,hc=null}function hu(e,n,t,a,i,o,s,l,c){e.cancelPendingCommit=null;do{yu()}while(0!==Dc);if(6&fc)throw Error(r(327));if(null!==n){if(n===e.current)throw Error(r(177));if(o=n.lanes|n.childLanes,function(e,n,t,a,i,o){var r=e.pendingLanes;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=t,e.entangledLanes&=t,e.errorRecoveryDisabledLanes&=t,e.shellSuspendCounter=0;var s=e.entanglements,l=e.expirationTimes,c=e.hiddenUpdates;for(t=r&~t;0<t;){var u=31-ye(t),d=1<<u;s[u]=0,l[u]=-1;var p=c[u];if(null!==p)for(c[u]=null,u=0;u<p.length;u++){var f=p[u];null!==f&&(f.lane&=-536870913)}t&=~d}0!==a&&Ie(e,a,0),0!==o&&0===i&&0!==e.tag&&(e.suspendedLanes|=o&~(r&~n))}(e,t,o|=Pa,s,l,c),e===mc&&(hc=mc=null,gc=0),jc=n,Mc=e,zc=t,Uc=o,qc=i,$c=a,10256&n.subtreeFlags||10256&n.flags?(e.callbackNode=null,e.callbackPriority=0,ie(pe,function(){return wu(),null})):(e.callbackNode=null,e.callbackPriority=0),a=!!(13878&n.flags),13878&n.subtreeFlags||a){a=_.T,_.T=null,i=O.p,O.p=2,s=fc,fc|=4;try{!function(e,n){if(e=e.containerInfo,md=Ap,ia(e=aa(e))){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{var a=(t=(t=e.ownerDocument)&&t.defaultView||window).getSelection&&t.getSelection();if(a&&0!==a.rangeCount){t=a.anchorNode;var i=a.anchorOffset,o=a.focusNode;a=a.focusOffset;try{t.nodeType,o.nodeType}catch(e){t=null;break e}var s=0,l=-1,c=-1,u=0,d=0,p=e,f=null;n:for(;;){for(var m;p!==t||0!==i&&3!==p.nodeType||(l=s+i),p!==o||0!==a&&3!==p.nodeType||(c=s+a),3===p.nodeType&&(s+=p.nodeValue.length),null!==(m=p.firstChild);)f=p,p=m;for(;;){if(p===e)break n;if(f===t&&++u===i&&(l=s),f===o&&++d===a&&(c=s),null!==(m=p.nextSibling))break;f=(p=f).parentNode}p=m}t=-1===l||-1===c?null:{start:l,end:c}}else t=null}t=t||{start:0,end:0}}else t=null;for(hd={focusedElem:e,selectionRange:t},Ap=!1,Il=n;null!==Il;)if(e=(n=Il).child,1028&n.subtreeFlags&&null!==e)e.return=n,Il=e;else for(;null!==Il;){switch(o=(n=Il).alternate,e=n.flags,n.tag){case 0:if(4&e&&null!==(e=null!==(e=n.updateQueue)?e.events:null))for(t=0;t<e.length;t++)(i=e[t]).ref.impl=i.nextImpl;break;case 11:case 15:case 5:case 26:case 27:case 6:case 4:case 17:break;case 1:if(1024&e&&null!==o){e=void 0,t=n,i=o.memoizedProps,o=o.memoizedState,a=t.stateNode;try{var h=Cs(t.type,i);e=a.getSnapshotBeforeUpdate(h,o),a.__reactInternalSnapshotBeforeUpdate=e}catch(e){Cu(t,t.return,e)}}break;case 3:if(1024&e)if(9===(t=(e=n.stateNode.containerInfo).nodeType))Pd(e);else if(1===t)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Pd(e);break;default:e.textContent=""}break;default:if(1024&e)throw Error(r(163))}if(null!==(e=n.sibling)){e.return=n.return,Il=e;break}Il=n.return}}(e,n)}finally{fc=s,O.p=i,_.T=a}}Dc=1,gu(),bu(),vu()}}function gu(){if(1===Dc){Dc=0;var e=Mc,n=jc,t=!!(13878&n.flags);if(13878&n.subtreeFlags||t){t=_.T,_.T=null;var a=O.p;O.p=2;var i=fc;fc|=4;try{Vl(n,e);var o=hd,r=aa(e.containerInfo),s=o.focusedElem,l=o.selectionRange;if(r!==s&&s&&s.ownerDocument&&ta(s.ownerDocument.documentElement,s)){if(null!==l&&ia(s)){var c=l.start,u=l.end;if(void 0===u&&(u=c),"selectionStart"in s)s.selectionStart=c,s.selectionEnd=Math.min(u,s.value.length);else{var d=s.ownerDocument||document,p=d&&d.defaultView||window;if(p.getSelection){var f=p.getSelection(),m=s.textContent.length,h=Math.min(l.start,m),g=void 0===l.end?h:Math.min(l.end,m);!f.extend&&h>g&&(r=g,g=h,h=r);var b=na(s,h),v=na(s,g);if(b&&v&&(1!==f.rangeCount||f.anchorNode!==b.node||f.anchorOffset!==b.offset||f.focusNode!==v.node||f.focusOffset!==v.offset)){var A=d.createRange();A.setStart(b.node,b.offset),f.removeAllRanges(),h>g?(f.addRange(A),f.extend(v.node,v.offset)):(A.setEnd(v.node,v.offset),f.addRange(A))}}}}for(d=[],f=s;f=f.parentNode;)1===f.nodeType&&d.push({element:f,left:f.scrollLeft,top:f.scrollTop});for("function"==typeof s.focus&&s.focus(),s=0;s<d.length;s++){var y=d[s];y.element.scrollLeft=y.left,y.element.scrollTop=y.top}}Ap=!!md,hd=md=null}finally{fc=i,O.p=a,_.T=t}}e.current=n,Dc=2}}function bu(){if(2===Dc){Dc=0;var e=Mc,n=jc,t=!!(8772&n.flags);if(8772&n.subtreeFlags||t){t=_.T,_.T=null;var a=O.p;O.p=2;var i=fc;fc|=4;try{_l(e,n.alternate,n)}finally{fc=i,O.p=a,_.T=t}}Dc=3}}function vu(){if(4===Dc||3===Dc){Dc=0,se();var e=Mc,n=jc,t=zc,a=$c;10256&n.subtreeFlags||10256&n.flags?Dc=5:(Dc=0,jc=Mc=null,Au(e,e.pendingLanes));var i=e.pendingLanes;if(0===i&&(Rc=null),De(t),n=n.stateNode,ve&&"function"==typeof ve.onCommitFiberRoot)try{ve.onCommitFiberRoot(be,n,void 0,!(128&~n.current.flags))}catch(e){}if(null!==a){n=_.T,i=O.p,O.p=2,_.T=null;try{for(var o=e.onRecoverableError,r=0;r<a.length;r++){var s=a[r];o(s.value,{componentStack:s.stack})}}finally{_.T=n,O.p=i}}3&zc&&yu(),Ou(e),i=e.pendingLanes,261930&t&&42&i?e===Vc?Hc++:(Hc=0,Vc=e):Hc=0,Ru(0,!1)}}function Au(e,n){0===(e.pooledCacheLanes&=n)&&(null!=(n=e.pooledCache)&&(e.pooledCache=null,zi(n)))}function yu(){return gu(),bu(),vu(),wu()}function wu(){if(5!==Dc)return!1;var e=Mc,n=Uc;Uc=0;var t=De(zc),a=_.T,i=O.p;try{O.p=32>t?32:t,_.T=null,t=qc,qc=null;var o=Mc,s=zc;if(Dc=0,jc=Mc=null,zc=0,6&fc)throw Error(r(331));var l=fc;if(fc|=4,lc(o.current),ec(o,o.current,s,t),fc=l,Ru(0,!1),ve&&"function"==typeof ve.onPostCommitFiberRoot)try{ve.onPostCommitFiberRoot(be,o)}catch(e){}return!0}finally{O.p=i,_.T=a,Au(e,n)}}function xu(e,n,t){n=Ya(t,n),null!==(e=yo(e,n=Ps(e.stateNode,n,2),2))&&(Le(e,2),Ou(e))}function Cu(e,n,t){if(3===e.tag)xu(e,e,t);else for(;null!==n;){if(3===n.tag){xu(n,e,t);break}if(1===n.tag){var a=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof a.componentDidCatch&&(null===Rc||!Rc.has(a))){e=Ya(t,e),null!==(a=yo(n,t=Fs(2),2))&&(Ns(t,a,n,e),Le(a,2),Ou(a));break}}n=n.return}}function Eu(e,n,t){var a=e.pingCache;if(null===a){a=e.pingCache=new pc;var i=new Set;a.set(n,i)}else void 0===(i=a.get(n))&&(i=new Set,a.set(n,i));i.has(t)||(wc=!0,i.add(t),e=ku.bind(null,e,n,t),n.then(e,e))}function ku(e,n,t){var a=e.pingCache;null!==a&&a.delete(n),e.pingedLanes|=e.suspendedLanes&t,e.warmLanes&=~t,mc===e&&(gc&t)===t&&(4===Cc||3===Cc&&(62914560&gc)===gc&&300>le()-Lc?!(2&fc)&&nu(e,0):Bc|=t,Tc===gc&&(Tc=0)),Ou(e)}function Bu(e,n){0===n&&(n=Fe()),null!==(e=Ia(e,n))&&(Le(e,n),Ou(e))}function Su(e){var n=e.memoizedState,t=0;null!==n&&(t=n.retryLane),Bu(e,t)}function Tu(e,n){var t=0;switch(e.tag){case 31:case 13:var a=e.stateNode,i=e.memoizedState;null!==i&&(t=i.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error(r(314))}null!==a&&a.delete(n),Bu(e,t)}var Pu=null,Fu=null,Nu=!1,Lu=!1,Iu=!1,_u=0;function Ou(e){e!==Fu&&null===e.next&&(null===Fu?Pu=Fu=e:Fu=Fu.next=e),Lu=!0,Nu||(Nu=!0,Ed(function(){6&fc?ie(ue,Du):Mu()}))}function Ru(e,n){if(!Iu&&Lu){Iu=!0;do{for(var t=!1,a=Pu;null!==a;){if(!n)if(0!==e){var i=a.pendingLanes;if(0===i)var o=0;else{var r=a.suspendedLanes,s=a.pingedLanes;o=(1<<31-ye(42|e)+1)-1,o=201326741&(o&=i&~(r&~s))?201326741&o|1:o?2|o:0}0!==o&&(t=!0,Uu(a,o))}else o=gc,!(3&(o=Se(a,a===mc?o:0,null!==a.cancelPendingCommit||-1!==a.timeoutHandle)))||Te(a,o)||(t=!0,Uu(a,o));a=a.next}}while(t);Iu=!1}}function Du(){Mu()}function Mu(){Lu=Nu=!1;var e=0;0!==_u&&function(){var e=window.event;if(e&&"popstate"===e.type)return e!==yd&&(yd=e,!0);return yd=null,!1}()&&(e=_u);for(var n=le(),t=null,a=Pu;null!==a;){var i=a.next,o=ju(a,n);0===o?(a.next=null,null===t?Pu=i:t.next=i,null===i&&(Fu=t)):(t=a,(0!==e||3&o)&&(Lu=!0)),a=i}0!==Dc&&5!==Dc||Ru(e,!1),0!==_u&&(_u=0)}function ju(e,n){for(var t=e.suspendedLanes,a=e.pingedLanes,i=e.expirationTimes,o=-62914561&e.pendingLanes;0<o;){var r=31-ye(o),s=1<<r,l=i[r];-1===l?0!==(s&t)&&0===(s&a)||(i[r]=Pe(s,n)):l<=n&&(e.expiredLanes|=s),o&=~s}if(t=gc,t=Se(e,e===(n=mc)?t:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle),a=e.callbackNode,0===t||e===n&&(2===bc||9===bc)||null!==e.cancelPendingCommit)return null!==a&&null!==a&&oe(a),e.callbackNode=null,e.callbackPriority=0;if(!(3&t)||Te(e,t)){if((n=t&-t)===e.callbackPriority)return n;switch(null!==a&&oe(a),De(t)){case 2:case 8:t=de;break;case 32:default:t=pe;break;case 268435456:t=me}return a=zu.bind(null,e),t=ie(t,a),e.callbackPriority=n,e.callbackNode=t,n}return null!==a&&null!==a&&oe(a),e.callbackPriority=2,e.callbackNode=null,2}function zu(e,n){if(0!==Dc&&5!==Dc)return e.callbackNode=null,e.callbackPriority=0,null;var t=e.callbackNode;if(yu()&&e.callbackNode!==t)return null;var a=gc;return 0===(a=Se(e,e===mc?a:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle))?null:(Qc(e,a,n),ju(e,le()),null!=e.callbackNode&&e.callbackNode===t?zu.bind(null,e):null)}function Uu(e,n){if(yu())return null;Qc(e,n,!0)}function qu(){if(0===_u){var e=$i;0===e&&(e=Ce,!(261888&(Ce<<=1))&&(Ce=256)),_u=e}return _u}function $u(e){return null==e||"symbol"==typeof e||"boolean"==typeof e?null:"function"==typeof e?e:Ln(""+e)}function Hu(e,n){var t=n.ownerDocument.createElement("input");return t.name=n.name,t.value=n.value,e.id&&t.setAttribute("form",e.id),n.parentNode.insertBefore(t,n),e=new FormData(e),t.parentNode.removeChild(t),e}for(var Vu=0;Vu<Ea.length;Vu++){var Gu=Ea[Vu];ka(Gu.toLowerCase(),"on"+(Gu[0].toUpperCase()+Gu.slice(1)))}ka(ga,"onAnimationEnd"),ka(ba,"onAnimationIteration"),ka(va,"onAnimationStart"),ka("dblclick","onDoubleClick"),ka("focusin","onFocus"),ka("focusout","onBlur"),ka(Aa,"onTransitionRun"),ka(ya,"onTransitionStart"),ka(wa,"onTransitionCancel"),ka(xa,"onTransitionEnd"),on("onMouseEnter",["mouseout","mouseover"]),on("onMouseLeave",["mouseout","mouseover"]),on("onPointerEnter",["pointerout","pointerover"]),on("onPointerLeave",["pointerout","pointerover"]),an("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),an("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),an("onBeforeInput",["compositionend","keypress","textInput","paste"]),an("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),an("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),an("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Wu="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Yu=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Wu));function Qu(e,n){n=!!(4&n);for(var t=0;t<e.length;t++){var a=e[t],i=a.event;a=a.listeners;e:{var o=void 0;if(n)for(var r=a.length-1;0<=r;r--){var s=a[r],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==o&&i.isPropagationStopped())break e;o=s,i.currentTarget=c;try{o(i)}catch(e){Ba(e)}i.currentTarget=null,o=l}else for(r=0;r<a.length;r++){if(l=(s=a[r]).instance,c=s.currentTarget,s=s.listener,l!==o&&i.isPropagationStopped())break e;o=s,i.currentTarget=c;try{o(i)}catch(e){Ba(e)}i.currentTarget=null,o=l}}}}function Xu(e,n){var t=n[He];void 0===t&&(t=n[He]=new Set);var a=e+"__bubble";t.has(a)||(ed(n,e,2,!1),t.add(a))}function Ku(e,n,t){var a=0;n&&(a|=4),ed(t,e,a,n)}var Zu="_reactListening"+Math.random().toString(36).slice(2);function Ju(e){if(!e[Zu]){e[Zu]=!0,nn.forEach(function(n){"selectionchange"!==n&&(Yu.has(n)||Ku(n,!1,e),Ku(n,!0,e))});var n=9===e.nodeType?e:e.ownerDocument;null===n||n[Zu]||(n[Zu]=!0,Ku("selectionchange",!1,n))}}function ed(e,n,t,a){switch(Bp(n)){case 2:var i=yp;break;case 8:i=wp;break;default:i=xp}t=i.bind(null,n,t,e),i=void 0,!$n||"touchstart"!==n&&"touchmove"!==n&&"wheel"!==n||(i=!0),a?void 0!==i?e.addEventListener(n,t,{capture:!0,passive:i}):e.addEventListener(n,t,!0):void 0!==i?e.addEventListener(n,t,{passive:i}):e.addEventListener(n,t,!1)}function nd(e,n,t,a,i){var o=a;if(!(1&n||2&n||null===a))e:for(;;){if(null===a)return;var r=a.tag;if(3===r||4===r){var s=a.stateNode.containerInfo;if(s===i)break;if(4===r)for(r=a.return;null!==r;){var c=r.tag;if((3===c||4===c)&&r.stateNode.containerInfo===i)return;r=r.return}for(;null!==s;){if(null===(r=Xe(s)))return;if(5===(c=r.tag)||6===c||26===c||27===c){a=o=r;continue e}s=s.parentNode}}a=a.return}zn(function(){var a=o,i=On(t),r=[];e:{var s=Ca.get(e);if(void 0!==s){var c=at,u=e;switch(e){case"keypress":if(0===Qn(t))break e;case"keydown":case"keyup":c=vt;break;case"focusin":u="focus",c=ct;break;case"focusout":u="blur",c=ct;break;case"beforeblur":case"afterblur":c=ct;break;case"click":if(2===t.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":c=st;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":c=lt;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":c=yt;break;case ga:case ba:case va:c=ut;break;case xa:c=wt;break;case"scroll":case"scrollend":c=ot;break;case"wheel":c=xt;break;case"copy":case"cut":case"paste":c=dt;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":c=At;break;case"toggle":case"beforetoggle":c=Ct}var d=!!(4&n),p=!d&&("scroll"===e||"scrollend"===e),f=d?null!==s?s+"Capture":null:s;d=[];for(var m,h=a;null!==h;){var g=h;if(m=g.stateNode,5!==(g=g.tag)&&26!==g&&27!==g||null===m||null===f||null!=(g=Un(h,f))&&d.push(td(h,g,m)),p)break;h=h.return}0<d.length&&(s=new c(s,u,null,t,i),r.push({event:s,listeners:d}))}}if(!(7&n)){if(c="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||t===_n||!(u=t.relatedTarget||t.fromElement)||!Xe(u)&&!u[$e])&&(c||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,c?(c=a,null!==(u=(u=t.relatedTarget||t.toElement)?Xe(u):null)&&(p=l(u),d=u.tag,u!==p||5!==d&&27!==d&&6!==d)&&(u=null)):(c=null,u=a),c!==u)){if(d=st,g="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(d=At,g="onPointerLeave",f="onPointerEnter",h="pointer"),p=null==c?s:Ze(c),m=null==u?s:Ze(u),(s=new d(g,h+"leave",c,t,i)).target=p,s.relatedTarget=m,g=null,Xe(i)===a&&((d=new d(f,h+"enter",u,t,i)).target=m,d.relatedTarget=p,g=d),p=g,c&&u)e:{for(d=id,h=u,m=0,g=f=c;g;g=d(g))m++;g=0;for(var b=h;b;b=d(b))g++;for(;0<m-g;)f=d(f),m--;for(;0<g-m;)h=d(h),g--;for(;m--;){if(f===h||null!==h&&f===h.alternate){d=f;break e}f=d(f),h=d(h)}d=null}else d=null;null!==c&&od(r,s,c,d,!1),null!==u&&null!==p&&od(r,p,u,d,!0)}if("select"===(c=(s=a?Ze(a):window).nodeName&&s.nodeName.toLowerCase())||"input"===c&&"file"===s.type)var v=Ut;else if(Ot(s))if(qt)v=Kt;else{v=Qt;var A=Yt}else!(c=s.nodeName)||"input"!==c.toLowerCase()||"checkbox"!==s.type&&"radio"!==s.type?a&&Pn(a.elementType)&&(v=Ut):v=Xt;switch(v&&(v=v(e,a))?Rt(r,v,t,i):(A&&A(e,s,a),"focusout"===e&&a&&"number"===s.type&&null!=a.memoizedProps.value&&wn(s,"number",s.value)),A=a?Ze(a):window,e){case"focusin":(Ot(A)||"true"===A.contentEditable)&&(ra=A,sa=a,la=null);break;case"focusout":la=sa=ra=null;break;case"mousedown":ca=!0;break;case"contextmenu":case"mouseup":case"dragend":ca=!1,ua(r,t,i);break;case"selectionchange":if(oa)break;case"keydown":case"keyup":ua(r,t,i)}var y;if(kt)e:{switch(e){case"compositionstart":var w="onCompositionStart";break e;case"compositionend":w="onCompositionEnd";break e;case"compositionupdate":w="onCompositionUpdate";break e}w=void 0}else It?Nt(e,t)&&(w="onCompositionEnd"):"keydown"===e&&229===t.keyCode&&(w="onCompositionStart");w&&(Tt&&"ko"!==t.locale&&(It||"onCompositionStart"!==w?"onCompositionEnd"===w&&It&&(y=Yn()):(Gn="value"in(Vn=i)?Vn.value:Vn.textContent,It=!0)),0<(A=ad(a,w)).length&&(w=new pt(w,e,null,t,i),r.push({event:w,listeners:A}),y?w.data=y:null!==(y=Lt(t))&&(w.data=y))),(y=St?function(e,n){switch(e){case"compositionend":return Lt(n);case"keypress":return 32!==n.which?null:(Ft=!0,Pt);case"textInput":return(e=n.data)===Pt&&Ft?null:e;default:return null}}(e,t):function(e,n){if(It)return"compositionend"===e||!kt&&Nt(e,n)?(e=Yn(),Wn=Gn=Vn=null,It=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return Tt&&"ko"!==n.locale?null:n.data}}(e,t))&&(0<(w=ad(a,"onBeforeInput")).length&&(A=new pt("onBeforeInput","beforeinput",null,t,i),r.push({event:A,listeners:w}),A.data=y)),function(e,n,t,a,i){if("submit"===n&&t&&t.stateNode===i){var o=$u((i[qe]||null).action),r=a.submitter;r&&null!==(n=(n=r[qe]||null)?$u(n.formAction):r.getAttribute("formAction"))&&(o=n,r=null);var s=new at("action","action",null,a,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(0!==_u){var e=r?Hu(i,r):new FormData(i);ns(t,{pending:!0,data:e,method:i.method,action:o},null,e)}}else"function"==typeof o&&(s.preventDefault(),e=r?Hu(i,r):new FormData(i),ns(t,{pending:!0,data:e,method:i.method,action:o},o,e))},currentTarget:i}]})}}(r,e,a,t,i)}Qu(r,n)})}function td(e,n,t){return{instance:e,listener:n,currentTarget:t}}function ad(e,n){for(var t=n+"Capture",a=[];null!==e;){var i=e,o=i.stateNode;if(5!==(i=i.tag)&&26!==i&&27!==i||null===o||(null!=(i=Un(e,t))&&a.unshift(td(e,i,o)),null!=(i=Un(e,n))&&a.push(td(e,i,o))),3===e.tag)return a;e=e.return}return[]}function id(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag&&27!==e.tag);return e||null}function od(e,n,t,a,i){for(var o=n._reactName,r=[];null!==t&&t!==a;){var s=t,l=s.alternate,c=s.stateNode;if(s=s.tag,null!==l&&l===a)break;5!==s&&26!==s&&27!==s||null===c||(l=c,i?null!=(c=Un(t,o))&&r.unshift(td(t,c,l)):i||null!=(c=Un(t,o))&&r.push(td(t,c,l))),t=t.return}0!==r.length&&e.push({event:n,listeners:r})}var rd=/\r\n?/g,sd=/\u0000|\uFFFD/g;function ld(e){return("string"==typeof e?e:""+e).replace(rd,"\n").replace(sd,"")}function cd(e,n){return n=ld(n),ld(e)===n}function ud(e,n,t,a,i,o){switch(t){case"children":"string"==typeof a?"body"===n||"textarea"===n&&""===a||kn(e,a):("number"==typeof a||"bigint"==typeof a)&&"body"!==n&&kn(e,""+a);break;case"className":un(e,"class",a);break;case"tabIndex":un(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":un(e,t,a);break;case"style":Tn(e,a,o);break;case"data":if("object"!==n){un(e,"data",a);break}case"src":case"href":if(""===a&&("a"!==n||"href"!==t)){e.removeAttribute(t);break}if(null==a||"function"==typeof a||"symbol"==typeof a||"boolean"==typeof a){e.removeAttribute(t);break}a=Ln(""+a),e.setAttribute(t,a);break;case"action":case"formAction":if("function"==typeof a){e.setAttribute(t,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}if("function"==typeof o&&("formAction"===t?("input"!==n&&ud(e,n,"name",i.name,i,null),ud(e,n,"formEncType",i.formEncType,i,null),ud(e,n,"formMethod",i.formMethod,i,null),ud(e,n,"formTarget",i.formTarget,i,null)):(ud(e,n,"encType",i.encType,i,null),ud(e,n,"method",i.method,i,null),ud(e,n,"target",i.target,i,null))),null==a||"symbol"==typeof a||"boolean"==typeof a){e.removeAttribute(t);break}a=Ln(""+a),e.setAttribute(t,a);break;case"onClick":null!=a&&(e.onclick=In);break;case"onScroll":null!=a&&Xu("scroll",e);break;case"onScrollEnd":null!=a&&Xu("scrollend",e);break;case"dangerouslySetInnerHTML":if(null!=a){if("object"!=typeof a||!("__html"in a))throw Error(r(61));if(null!=(t=a.__html)){if(null!=i.children)throw Error(r(60));e.innerHTML=t}}break;case"multiple":e.multiple=a&&"function"!=typeof a&&"symbol"!=typeof a;break;case"muted":e.muted=a&&"function"!=typeof a&&"symbol"!=typeof a;break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"autoFocus":break;case"xlinkHref":if(null==a||"function"==typeof a||"boolean"==typeof a||"symbol"==typeof a){e.removeAttribute("xlink:href");break}t=Ln(""+a),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",t);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":null!=a&&"function"!=typeof a&&"symbol"!=typeof a?e.setAttribute(t,""+a):e.removeAttribute(t);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&"function"!=typeof a&&"symbol"!=typeof a?e.setAttribute(t,""):e.removeAttribute(t);break;case"capture":case"download":!0===a?e.setAttribute(t,""):!1!==a&&null!=a&&"function"!=typeof a&&"symbol"!=typeof a?e.setAttribute(t,a):e.removeAttribute(t);break;case"cols":case"rows":case"size":case"span":null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&!isNaN(a)&&1<=a?e.setAttribute(t,a):e.removeAttribute(t);break;case"rowSpan":case"start":null==a||"function"==typeof a||"symbol"==typeof a||isNaN(a)?e.removeAttribute(t):e.setAttribute(t,a);break;case"popover":Xu("beforetoggle",e),Xu("toggle",e),cn(e,"popover",a);break;case"xlinkActuate":dn(e,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":dn(e,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":dn(e,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":dn(e,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":dn(e,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":dn(e,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":dn(e,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":dn(e,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":dn(e,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":cn(e,"is",a);break;case"innerText":case"textContent":break;default:(!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&cn(e,t=Fn.get(t)||t,a)}}function dd(e,n,t,a,i,o){switch(t){case"style":Tn(e,a,o);break;case"dangerouslySetInnerHTML":if(null!=a){if("object"!=typeof a||!("__html"in a))throw Error(r(61));if(null!=(t=a.__html)){if(null!=i.children)throw Error(r(60));e.innerHTML=t}}break;case"children":"string"==typeof a?kn(e,a):("number"==typeof a||"bigint"==typeof a)&&kn(e,""+a);break;case"onScroll":null!=a&&Xu("scroll",e);break;case"onScrollEnd":null!=a&&Xu("scrollend",e);break;case"onClick":null!=a&&(e.onclick=In);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":case"innerText":case"textContent":break;default:tn.hasOwnProperty(t)||("o"!==t[0]||"n"!==t[1]||(i=t.endsWith("Capture"),n=t.slice(2,i?t.length-7:void 0),"function"==typeof(o=null!=(o=e[qe]||null)?o[t]:null)&&e.removeEventListener(n,o,i),"function"!=typeof a)?t in e?e[t]=a:!0===a?e.setAttribute(t,""):cn(e,t,a):("function"!=typeof o&&null!==o&&(t in e?e[t]=null:e.hasAttribute(t)&&e.removeAttribute(t)),e.addEventListener(n,a,i)))}}function pd(e,n,t){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Xu("error",e),Xu("load",e);var a,i=!1,o=!1;for(a in t)if(t.hasOwnProperty(a)){var s=t[a];if(null!=s)switch(a){case"src":i=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,n));default:ud(e,n,a,s,t,null)}}return o&&ud(e,n,"srcSet",t.srcSet,t,null),void(i&&ud(e,n,"src",t.src,t,null));case"input":Xu("invalid",e);var l=a=s=o=null,c=null,u=null;for(i in t)if(t.hasOwnProperty(i)){var d=t[i];if(null!=d)switch(i){case"name":o=d;break;case"type":s=d;break;case"checked":c=d;break;case"defaultChecked":u=d;break;case"value":a=d;break;case"defaultValue":l=d;break;case"children":case"dangerouslySetInnerHTML":if(null!=d)throw Error(r(137,n));break;default:ud(e,n,i,d,t,null)}}return void yn(e,a,l,c,u,s,o,!1);case"select":for(o in Xu("invalid",e),i=s=a=null,t)if(t.hasOwnProperty(o)&&null!=(l=t[o]))switch(o){case"value":a=l;break;case"defaultValue":s=l;break;case"multiple":i=l;default:ud(e,n,o,l,t,null)}return n=a,t=s,e.multiple=!!i,void(null!=n?xn(e,!!i,n,!1):null!=t&&xn(e,!!i,t,!0));case"textarea":for(s in Xu("invalid",e),a=o=i=null,t)if(t.hasOwnProperty(s)&&null!=(l=t[s]))switch(s){case"value":i=l;break;case"defaultValue":o=l;break;case"children":a=l;break;case"dangerouslySetInnerHTML":if(null!=l)throw Error(r(91));break;default:ud(e,n,s,l,t,null)}return void En(e,i,o,a);case"option":for(c in t)if(t.hasOwnProperty(c)&&null!=(i=t[c]))if("selected"===c)e.selected=i&&"function"!=typeof i&&"symbol"!=typeof i;else ud(e,n,c,i,t,null);return;case"dialog":Xu("beforetoggle",e),Xu("toggle",e),Xu("cancel",e),Xu("close",e);break;case"iframe":case"object":Xu("load",e);break;case"video":case"audio":for(i=0;i<Wu.length;i++)Xu(Wu[i],e);break;case"image":Xu("error",e),Xu("load",e);break;case"details":Xu("toggle",e);break;case"embed":case"source":case"link":Xu("error",e),Xu("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(u in t)if(t.hasOwnProperty(u)&&null!=(i=t[u]))switch(u){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,n));default:ud(e,n,u,i,t,null)}return;default:if(Pn(n)){for(d in t)t.hasOwnProperty(d)&&(void 0!==(i=t[d])&&dd(e,n,d,i,t,void 0));return}}for(l in t)t.hasOwnProperty(l)&&(null!=(i=t[l])&&ud(e,n,l,i,t,null))}function fd(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}var md=null,hd=null;function gd(e){return 9===e.nodeType?e:e.ownerDocument}function bd(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function vd(e,n){if(0===e)switch(n){case"svg":return 1;case"math":return 2;default:return 0}return 1===e&&"foreignObject"===n?0:e}function Ad(e,n){return"textarea"===e||"noscript"===e||"string"==typeof n.children||"number"==typeof n.children||"bigint"==typeof n.children||"object"==typeof n.dangerouslySetInnerHTML&&null!==n.dangerouslySetInnerHTML&&null!=n.dangerouslySetInnerHTML.__html}var yd=null;var wd="function"==typeof setTimeout?setTimeout:void 0,xd="function"==typeof clearTimeout?clearTimeout:void 0,Cd="function"==typeof Promise?Promise:void 0,Ed="function"==typeof queueMicrotask?queueMicrotask:void 0!==Cd?function(e){return Cd.resolve(null).then(e).catch(kd)}:wd;function kd(e){setTimeout(function(){throw e})}function Bd(e){return"head"===e}function Sd(e,n){var t=n,a=0;do{var i=t.nextSibling;if(e.removeChild(t),i&&8===i.nodeType)if("/$"===(t=i.data)||"/&"===t){if(0===a)return e.removeChild(i),void Hp(n);a--}else if("$"===t||"$?"===t||"$~"===t||"$!"===t||"&"===t)a++;else if("html"===t)Md(e.ownerDocument.documentElement);else if("head"===t){Md(t=e.ownerDocument.head);for(var o=t.firstChild;o;){var r=o.nextSibling,s=o.nodeName;o[Ye]||"SCRIPT"===s||"STYLE"===s||"LINK"===s&&"stylesheet"===o.rel.toLowerCase()||t.removeChild(o),o=r}}else"body"===t&&Md(e.ownerDocument.body);t=i}while(t);Hp(n)}function Td(e,n){var t=e;e=0;do{var a=t.nextSibling;if(1===t.nodeType?n?(t._stashedDisplay=t.style.display,t.style.display="none"):(t.style.display=t._stashedDisplay||"",""===t.getAttribute("style")&&t.removeAttribute("style")):3===t.nodeType&&(n?(t._stashedText=t.nodeValue,t.nodeValue=""):t.nodeValue=t._stashedText||""),a&&8===a.nodeType)if("/$"===(t=a.data)){if(0===e)break;e--}else"$"!==t&&"$?"!==t&&"$~"!==t&&"$!"!==t||e++;t=a}while(t)}function Pd(e){var n=e.firstChild;for(n&&10===n.nodeType&&(n=n.nextSibling);n;){var t=n;switch(n=n.nextSibling,t.nodeName){case"HTML":case"HEAD":case"BODY":Pd(t),Qe(t);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===t.rel.toLowerCase())continue}e.removeChild(t)}}function Fd(e,n){for(;8!==e.nodeType;){if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!n)return null;if(null===(e=Id(e.nextSibling)))return null}return e}function Nd(e){return"$?"===e.data||"$~"===e.data}function Ld(e){return"$!"===e.data||"$?"===e.data&&"loading"!==e.ownerDocument.readyState}function Id(e){for(;null!=e;e=e.nextSibling){var n=e.nodeType;if(1===n||3===n)break;if(8===n){if("$"===(n=e.data)||"$!"===n||"$?"===n||"$~"===n||"&"===n||"F!"===n||"F"===n)break;if("/$"===n||"/&"===n)return null}}return e}var _d=null;function Od(e){e=e.nextSibling;for(var n=0;e;){if(8===e.nodeType){var t=e.data;if("/$"===t||"/&"===t){if(0===n)return Id(e.nextSibling);n--}else"$"!==t&&"$!"!==t&&"$?"!==t&&"$~"!==t&&"&"!==t||n++}e=e.nextSibling}return null}function Rd(e){e=e.previousSibling;for(var n=0;e;){if(8===e.nodeType){var t=e.data;if("$"===t||"$!"===t||"$?"===t||"$~"===t||"&"===t){if(0===n)return e;n--}else"/$"!==t&&"/&"!==t||n++}e=e.previousSibling}return null}function Dd(e,n,t){switch(n=gd(t),e){case"html":if(!(e=n.documentElement))throw Error(r(452));return e;case"head":if(!(e=n.head))throw Error(r(453));return e;case"body":if(!(e=n.body))throw Error(r(454));return e;default:throw Error(r(451))}}function Md(e){for(var n=e.attributes;n.length;)e.removeAttributeNode(n[0]);Qe(e)}var jd=new Map,zd=new Set;function Ud(e){return"function"==typeof e.getRootNode?e.getRootNode():9===e.nodeType?e:e.ownerDocument}var qd=O.d;O.d={f:function(){var e=qd.f(),n=Jc();return e||n},r:function(e){var n=Ke(e);null!==n&&5===n.tag&&"form"===n.type?as(n):qd.r(e)},D:function(e){qd.D(e),Hd("dns-prefetch",e,null)},C:function(e,n){qd.C(e,n),Hd("preconnect",e,n)},L:function(e,n,t){qd.L(e,n,t);var a=$d;if(a&&e&&n){var i='link[rel="preload"][as="'+vn(n)+'"]';"image"===n&&t&&t.imageSrcSet?(i+='[imagesrcset="'+vn(t.imageSrcSet)+'"]',"string"==typeof t.imageSizes&&(i+='[imagesizes="'+vn(t.imageSizes)+'"]')):i+='[href="'+vn(e)+'"]';var o=i;switch(n){case"style":o=Gd(e);break;case"script":o=Qd(e)}jd.has(o)||(e=f({rel:"preload",href:"image"===n&&t&&t.imageSrcSet?void 0:e,as:n},t),jd.set(o,e),null!==a.querySelector(i)||"style"===n&&a.querySelector(Wd(o))||"script"===n&&a.querySelector(Xd(o))||(pd(n=a.createElement("link"),"link",e),en(n),a.head.appendChild(n)))}},m:function(e,n){qd.m(e,n);var t=$d;if(t&&e){var a=n&&"string"==typeof n.as?n.as:"script",i='link[rel="modulepreload"][as="'+vn(a)+'"][href="'+vn(e)+'"]',o=i;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":o=Qd(e)}if(!jd.has(o)&&(e=f({rel:"modulepreload",href:e},n),jd.set(o,e),null===t.querySelector(i))){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(t.querySelector(Xd(o)))return}pd(a=t.createElement("link"),"link",e),en(a),t.head.appendChild(a)}}},X:function(e,n){qd.X(e,n);var t=$d;if(t&&e){var a=Je(t).hoistableScripts,i=Qd(e),o=a.get(i);o||((o=t.querySelector(Xd(i)))||(e=f({src:e,async:!0},n),(n=jd.get(i))&&ep(e,n),en(o=t.createElement("script")),pd(o,"link",e),t.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},a.set(i,o))}},S:function(e,n,t){qd.S(e,n,t);var a=$d;if(a&&e){var i=Je(a).hoistableStyles,o=Gd(e);n=n||"default";var r=i.get(o);if(!r){var s={loading:0,preload:null};if(r=a.querySelector(Wd(o)))s.loading=5;else{e=f({rel:"stylesheet",href:e,"data-precedence":n},t),(t=jd.get(o))&&Jd(e,t);var l=r=a.createElement("link");en(l),pd(l,"link",e),l._p=new Promise(function(e,n){l.onload=e,l.onerror=n}),l.addEventListener("load",function(){s.loading|=1}),l.addEventListener("error",function(){s.loading|=2}),s.loading|=4,Zd(r,n,a)}r={type:"stylesheet",instance:r,count:1,state:s},i.set(o,r)}}},M:function(e,n){qd.M(e,n);var t=$d;if(t&&e){var a=Je(t).hoistableScripts,i=Qd(e),o=a.get(i);o||((o=t.querySelector(Xd(i)))||(e=f({src:e,async:!0,type:"module"},n),(n=jd.get(i))&&ep(e,n),en(o=t.createElement("script")),pd(o,"link",e),t.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},a.set(i,o))}}};var $d="undefined"==typeof document?null:document;function Hd(e,n,t){var a=$d;if(a&&"string"==typeof n&&n){var i=vn(n);i='link[rel="'+e+'"][href="'+i+'"]',"string"==typeof t&&(i+='[crossorigin="'+t+'"]'),zd.has(i)||(zd.add(i),e={rel:e,crossOrigin:t,href:n},null===a.querySelector(i)&&(pd(n=a.createElement("link"),"link",e),en(n),a.head.appendChild(n)))}}function Vd(e,n,t,a){var i,o,s,l,c=(c=G.current)?Ud(c):null;if(!c)throw Error(r(446));switch(e){case"meta":case"title":return null;case"style":return"string"==typeof t.precedence&&"string"==typeof t.href?(n=Gd(t.href),(a=(t=Je(c).hoistableStyles).get(n))||(a={type:"style",instance:null,count:0,state:null},t.set(n,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===t.rel&&"string"==typeof t.href&&"string"==typeof t.precedence){e=Gd(t.href);var u=Je(c).hoistableStyles,d=u.get(e);if(d||(c=c.ownerDocument||c,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(e,d),(u=c.querySelector(Wd(e)))&&!u._p&&(d.instance=u,d.state.loading=5),jd.has(e)||(t={rel:"preload",as:"style",href:t.href,crossOrigin:t.crossOrigin,integrity:t.integrity,media:t.media,hrefLang:t.hrefLang,referrerPolicy:t.referrerPolicy},jd.set(e,t),u||(i=c,o=e,s=t,l=d.state,i.querySelector('link[rel="preload"][as="style"]['+o+"]")?l.loading=1:(o=i.createElement("link"),l.preload=o,o.addEventListener("load",function(){return l.loading|=1}),o.addEventListener("error",function(){return l.loading|=2}),pd(o,"link",s),en(o),i.head.appendChild(o))))),n&&null===a)throw Error(r(528,""));return d}if(n&&null!==a)throw Error(r(529,""));return null;case"script":return n=t.async,"string"==typeof(t=t.src)&&n&&"function"!=typeof n&&"symbol"!=typeof n?(n=Qd(t),(a=(t=Je(c).hoistableScripts).get(n))||(a={type:"script",instance:null,count:0,state:null},t.set(n,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,e))}}function Gd(e){return'href="'+vn(e)+'"'}function Wd(e){return'link[rel="stylesheet"]['+e+"]"}function Yd(e){return f({},e,{"data-precedence":e.precedence,precedence:null})}function Qd(e){return'[src="'+vn(e)+'"]'}function Xd(e){return"script[async]"+e}function Kd(e,n,t){if(n.count++,null===n.instance)switch(n.type){case"style":var a=e.querySelector('style[data-href~="'+vn(t.href)+'"]');if(a)return n.instance=a,en(a),a;var i=f({},t,{"data-href":t.href,"data-precedence":t.precedence,href:null,precedence:null});return en(a=(e.ownerDocument||e).createElement("style")),pd(a,"style",i),Zd(a,t.precedence,e),n.instance=a;case"stylesheet":i=Gd(t.href);var o=e.querySelector(Wd(i));if(o)return n.state.loading|=4,n.instance=o,en(o),o;a=Yd(t),(i=jd.get(i))&&Jd(a,i),en(o=(e.ownerDocument||e).createElement("link"));var s=o;return s._p=new Promise(function(e,n){s.onload=e,s.onerror=n}),pd(o,"link",a),n.state.loading|=4,Zd(o,t.precedence,e),n.instance=o;case"script":return o=Qd(t.src),(i=e.querySelector(Xd(o)))?(n.instance=i,en(i),i):(a=t,(i=jd.get(o))&&ep(a=f({},t),i),en(i=(e=e.ownerDocument||e).createElement("script")),pd(i,"link",a),e.head.appendChild(i),n.instance=i);case"void":return null;default:throw Error(r(443,n.type))}else"stylesheet"===n.type&&!(4&n.state.loading)&&(a=n.instance,n.state.loading|=4,Zd(a,t.precedence,e));return n.instance}function Zd(e,n,t){for(var a=t.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),i=a.length?a[a.length-1]:null,o=i,r=0;r<a.length;r++){var s=a[r];if(s.dataset.precedence===n)o=s;else if(o!==i)break}o?o.parentNode.insertBefore(e,o.nextSibling):(n=9===t.nodeType?t.head:t).insertBefore(e,n.firstChild)}function Jd(e,n){null==e.crossOrigin&&(e.crossOrigin=n.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=n.referrerPolicy),null==e.title&&(e.title=n.title)}function ep(e,n){null==e.crossOrigin&&(e.crossOrigin=n.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=n.referrerPolicy),null==e.integrity&&(e.integrity=n.integrity)}var np=null;function tp(e,n,t){if(null===np){var a=new Map,i=np=new Map;i.set(t,a)}else(a=(i=np).get(t))||(a=new Map,i.set(t,a));if(a.has(e))return a;for(a.set(e,null),t=t.getElementsByTagName(e),i=0;i<t.length;i++){var o=t[i];if(!(o[Ye]||o[Ue]||"link"===e&&"stylesheet"===o.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==o.namespaceURI){var r=o.getAttribute(n)||"";r=e+r;var s=a.get(r);s?s.push(o):a.set(r,[o])}}return a}function ap(e,n,t){(e=e.ownerDocument||e).head.insertBefore(t,"title"===n?e.querySelector("head > title"):null)}function ip(e){return!!("stylesheet"!==e.type||3&e.state.loading)}var op=0;function rp(){if(this.count--,0===this.count&&(0===this.imgCount||!this.waitingForImages))if(this.stylesheets)lp(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}var sp=null;function lp(e,n){e.stylesheets=null,null!==e.unsuspend&&(e.count++,sp=new Map,n.forEach(cp,e),sp=null,rp.call(e))}function cp(e,n){if(!(4&n.state.loading)){var t=sp.get(e);if(t)var a=t.get(null);else{t=new Map,sp.set(e,t);for(var i=e.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;o<i.length;o++){var r=i[o];"LINK"!==r.nodeName&&"not all"===r.getAttribute("media")||(t.set(r.dataset.precedence,r),a=r)}a&&t.set(null,a)}r=(i=n.instance).getAttribute("data-precedence"),(o=t.get(r)||a)===a&&t.set(null,i),t.set(r,i),this.count++,a=rp.bind(this),i.addEventListener("load",a),i.addEventListener("error",a),o?o.parentNode.insertBefore(i,o.nextSibling):(e=9===e.nodeType?e.head:e).insertBefore(i,e.firstChild),n.state.loading|=4}}var up={$$typeof:w,Provider:null,Consumer:null,_currentValue:R,_currentValue2:R,_threadCount:0};function dp(e,n,t,a,i,o,r,s,l){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Ne(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ne(0),this.hiddenUpdates=Ne(null),this.identifierPrefix=a,this.onUncaughtError=i,this.onCaughtError=o,this.onRecoverableError=r,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=l,this.incompleteTransitions=new Map}function pp(e,n,t,a,i,o,r,s,l,c,u,d){return e=new dp(e,n,t,r,l,c,u,d,s),n=1,!0===o&&(n|=24),o=Ma(3,null,null,n),e.current=o,o.stateNode=e,(n=ji()).refCount++,e.pooledCache=n,n.refCount++,o.memoizedState={element:a,isDehydrated:t,cache:n},bo(o),e}function fp(e){return e?e=Ra:Ra}function mp(e,n,t,a,i,o){i=fp(i),null===a.context?a.context=i:a.pendingContext=i,(a=Ao(n)).payload={element:t},null!==(o=void 0===o?null:o)&&(a.callback=o),null!==(t=yo(e,a,n))&&(Yc(t,0,n),wo(t,e,n))}function hp(e,n){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var t=e.retryLane;e.retryLane=0!==t&&t<n?t:n}}function gp(e,n){hp(e,n),(e=e.alternate)&&hp(e,n)}function bp(e){if(13===e.tag||31===e.tag){var n=Ia(e,67108864);null!==n&&Yc(n,0,67108864),gp(e,67108864)}}function vp(e){if(13===e.tag||31===e.tag){var n=Gc(),t=Ia(e,n=Re(n));null!==t&&Yc(t,0,n),gp(e,n)}}var Ap=!0;function yp(e,n,t,a){var i=_.T;_.T=null;var o=O.p;try{O.p=2,xp(e,n,t,a)}finally{O.p=o,_.T=i}}function wp(e,n,t,a){var i=_.T;_.T=null;var o=O.p;try{O.p=8,xp(e,n,t,a)}finally{O.p=o,_.T=i}}function xp(e,n,t,a){if(Ap){var i=Cp(a);if(null===i)nd(e,n,a,Ep,t),Op(e,a);else if(function(e,n,t,a,i){switch(n){case"focusin":return Tp=Rp(Tp,e,n,t,a,i),!0;case"dragenter":return Pp=Rp(Pp,e,n,t,a,i),!0;case"mouseover":return Fp=Rp(Fp,e,n,t,a,i),!0;case"pointerover":var o=i.pointerId;return Np.set(o,Rp(Np.get(o)||null,e,n,t,a,i)),!0;case"gotpointercapture":return o=i.pointerId,Lp.set(o,Rp(Lp.get(o)||null,e,n,t,a,i)),!0}return!1}(i,e,n,t,a))a.stopPropagation();else if(Op(e,a),4&n&&-1<_p.indexOf(e)){for(;null!==i;){var o=Ke(i);if(null!==o)switch(o.tag){case 3:if((o=o.stateNode).current.memoizedState.isDehydrated){var r=Be(o.pendingLanes);if(0!==r){var s=o;for(s.pendingLanes|=2,s.entangledLanes|=2;r;){var l=1<<31-ye(r);s.entanglements[1]|=l,r&=~l}Ou(o),!(6&fc)&&(_c=le()+500,Ru(0,!1))}}break;case 31:case 13:null!==(s=Ia(o,2))&&Yc(s,0,2),Jc(),gp(o,2)}if(null===(o=Cp(a))&&nd(e,n,a,Ep,t),o===i)break;i=o}null!==i&&a.stopPropagation()}else nd(e,n,a,null,t)}}function Cp(e){return kp(e=On(e))}var Ep=null;function kp(e){if(Ep=null,null!==(e=Xe(e))){var n=l(e);if(null===n)e=null;else{var t=n.tag;if(13===t){if(null!==(e=c(n)))return e;e=null}else if(31===t){if(null!==(e=u(n)))return e;e=null}else if(3===t){if(n.stateNode.current.memoizedState.isDehydrated)return 3===n.tag?n.stateNode.containerInfo:null;e=null}else n!==e&&(e=null)}}return Ep=e,null}function Bp(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(ce()){case ue:return 2;case de:return 8;case pe:case fe:return 32;case me:return 268435456;default:return 32}default:return 32}}var Sp=!1,Tp=null,Pp=null,Fp=null,Np=new Map,Lp=new Map,Ip=[],_p="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Op(e,n){switch(e){case"focusin":case"focusout":Tp=null;break;case"dragenter":case"dragleave":Pp=null;break;case"mouseover":case"mouseout":Fp=null;break;case"pointerover":case"pointerout":Np.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":Lp.delete(n.pointerId)}}function Rp(e,n,t,a,i,o){return null===e||e.nativeEvent!==o?(e={blockedOn:n,domEventName:t,eventSystemFlags:a,nativeEvent:o,targetContainers:[i]},null!==n&&(null!==(n=Ke(n))&&bp(n)),e):(e.eventSystemFlags|=a,n=e.targetContainers,null!==i&&-1===n.indexOf(i)&&n.push(i),e)}function Dp(e){var n=Xe(e.target);if(null!==n){var t=l(n);if(null!==t)if(13===(n=t.tag)){if(null!==(n=c(t)))return e.blockedOn=n,void je(e.priority,function(){vp(t)})}else if(31===n){if(null!==(n=u(t)))return e.blockedOn=n,void je(e.priority,function(){vp(t)})}else if(3===n&&t.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===t.tag?t.stateNode.containerInfo:null)}e.blockedOn=null}function Mp(e){if(null!==e.blockedOn)return!1;for(var n=e.targetContainers;0<n.length;){var t=Cp(e.nativeEvent);if(null!==t)return null!==(n=Ke(t))&&bp(n),e.blockedOn=t,!1;var a=new(t=e.nativeEvent).constructor(t.type,t);_n=a,t.target.dispatchEvent(a),_n=null,n.shift()}return!0}function jp(e,n,t){Mp(e)&&t.delete(n)}function zp(){Sp=!1,null!==Tp&&Mp(Tp)&&(Tp=null),null!==Pp&&Mp(Pp)&&(Pp=null),null!==Fp&&Mp(Fp)&&(Fp=null),Np.forEach(jp),Lp.forEach(jp)}function Up(e,n){e.blockedOn===n&&(e.blockedOn=null,Sp||(Sp=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,zp)))}var qp=null;function $p(e){qp!==e&&(qp=e,a.unstable_scheduleCallback(a.unstable_NormalPriority,function(){qp===e&&(qp=null);for(var n=0;n<e.length;n+=3){var t=e[n],a=e[n+1],i=e[n+2];if("function"!=typeof a){if(null===kp(a||t))continue;break}var o=Ke(t);null!==o&&(e.splice(n,3),n-=3,ns(o,{pending:!0,data:i,method:t.method,action:a},a,i))}}))}function Hp(e){function n(n){return Up(n,e)}null!==Tp&&Up(Tp,e),null!==Pp&&Up(Pp,e),null!==Fp&&Up(Fp,e),Np.forEach(n),Lp.forEach(n);for(var t=0;t<Ip.length;t++){var a=Ip[t];a.blockedOn===e&&(a.blockedOn=null)}for(;0<Ip.length&&null===(t=Ip[0]).blockedOn;)Dp(t),null===t.blockedOn&&Ip.shift();if(null!=(t=(e.ownerDocument||e).$$reactFormReplay))for(a=0;a<t.length;a+=3){var i=t[a],o=t[a+1],r=i[qe]||null;if("function"==typeof o)r||$p(t);else if(r){var s=null;if(o&&o.hasAttribute("formAction")){if(i=o,r=o[qe]||null)s=r.formAction;else if(null!==kp(i))continue}else s=r.action;"function"==typeof s?t[a+1]=s:(t.splice(a,3),a-=3),$p(t)}}}function Vp(){function e(e){e.canIntercept&&"react-transition"===e.info&&e.intercept({handler:function(){return new Promise(function(e){return i=e})},focusReset:"manual",scroll:"manual"})}function n(){null!==i&&(i(),i=null),a||setTimeout(t,20)}function t(){if(!a&&!navigation.transition){var e=navigation.currentEntry;e&&null!=e.url&&navigation.navigate(e.url,{state:e.getState(),info:"react-transition",history:"replace"})}}if("object"==typeof navigation){var a=!1,i=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",n),navigation.addEventListener("navigateerror",n),setTimeout(t,100),function(){a=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",n),navigation.removeEventListener("navigateerror",n),null!==i&&(i(),i=null)}}}function Gp(e){this._internalRoot=e}function Wp(e){this._internalRoot=e}Wp.prototype.render=Gp.prototype.render=function(e){var n=this._internalRoot;if(null===n)throw Error(r(409));mp(n.current,Gc(),e,n,null,null)},Wp.prototype.unmount=Gp.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var n=e.containerInfo;mp(e.current,2,null,e,null,null),Jc(),n[$e]=null}},Wp.prototype.unstable_scheduleHydration=function(e){if(e){var n=Me();e={blockedOn:null,target:e,priority:n};for(var t=0;t<Ip.length&&0!==n&&n<Ip[t].priority;t++);Ip.splice(t,0,e),0===t&&Dp(e)}};var Yp=i.version;if("19.2.4"!==Yp)throw Error(r(527,Yp,"19.2.4"));O.findDOMNode=function(e){var n=e._reactInternals;if(void 0===n){if("function"==typeof e.render)throw Error(r(188));throw e=Object.keys(e).join(","),Error(r(268,e))}return e=function(e){var n=e.alternate;if(!n){if(null===(n=l(e)))throw Error(r(188));return n!==e?null:e}for(var t=e,a=n;;){var i=t.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(a=i.return)){t=a;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===t)return d(i),e;if(o===a)return d(i),n;o=o.sibling}throw Error(r(188))}if(t.return!==a.return)t=i,a=o;else{for(var s=!1,c=i.child;c;){if(c===t){s=!0,t=i,a=o;break}if(c===a){s=!0,a=i,t=o;break}c=c.sibling}if(!s){for(c=o.child;c;){if(c===t){s=!0,t=o,a=i;break}if(c===a){s=!0,a=o,t=i;break}c=c.sibling}if(!s)throw Error(r(189))}}if(t.alternate!==a)throw Error(r(190))}if(3!==t.tag)throw Error(r(188));return t.stateNode.current===t?e:n}(n),e=null===(e=null!==e?p(e):null)?null:e.stateNode};var Qp={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:_,reconcilerVersion:"19.2.4"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var Xp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Xp.isDisabled&&Xp.supportsFiber)try{be=Xp.inject(Qp),ve=Xp}catch(e){}}n.createRoot=function(e,n){if(!s(e))throw Error(r(299));var t=!1,a="",i=Es,o=ks,l=Bs;return null!=n&&(!0===n.unstable_strictMode&&(t=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onUncaughtError&&(i=n.onUncaughtError),void 0!==n.onCaughtError&&(o=n.onCaughtError),void 0!==n.onRecoverableError&&(l=n.onRecoverableError)),n=pp(e,1,!1,null,0,t,a,null,i,o,l,Vp),e[$e]=n.current,Ju(e),new Gp(n)}},6221(e,n,t){"use strict";var a=t(6540);function i(e){var n="https://react.dev/errors/"+e;if(1<arguments.length){n+="?args[]="+encodeURIComponent(arguments[1]);for(var t=2;t<arguments.length;t++)n+="&args[]="+encodeURIComponent(arguments[t])}return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(){}var r={d:{f:o,r:function(){throw Error(i(522))},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},s=Symbol.for("react.portal");var l=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(e,n){return"font"===e?"":"string"==typeof n?"use-credentials"===n?n:"":void 0}n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,n.createPortal=function(e,n){var t=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!n||1!==n.nodeType&&9!==n.nodeType&&11!==n.nodeType)throw Error(i(299));return function(e,n,t){var a=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:s,key:null==a?null:""+a,children:e,containerInfo:n,implementation:t}}(e,n,null,t)},n.flushSync=function(e){var n=l.T,t=r.p;try{if(l.T=null,r.p=2,e)return e()}finally{l.T=n,r.p=t,r.d.f()}},n.preconnect=function(e,n){"string"==typeof e&&(n?n="string"==typeof(n=n.crossOrigin)?"use-credentials"===n?n:"":void 0:n=null,r.d.C(e,n))},n.prefetchDNS=function(e){"string"==typeof e&&r.d.D(e)},n.preinit=function(e,n){if("string"==typeof e&&n&&"string"==typeof n.as){var t=n.as,a=c(t,n.crossOrigin),i="string"==typeof n.integrity?n.integrity:void 0,o="string"==typeof n.fetchPriority?n.fetchPriority:void 0;"style"===t?r.d.S(e,"string"==typeof n.precedence?n.precedence:void 0,{crossOrigin:a,integrity:i,fetchPriority:o}):"script"===t&&r.d.X(e,{crossOrigin:a,integrity:i,fetchPriority:o,nonce:"string"==typeof n.nonce?n.nonce:void 0})}},n.preinitModule=function(e,n){if("string"==typeof e)if("object"==typeof n&&null!==n){if(null==n.as||"script"===n.as){var t=c(n.as,n.crossOrigin);r.d.M(e,{crossOrigin:t,integrity:"string"==typeof n.integrity?n.integrity:void 0,nonce:"string"==typeof n.nonce?n.nonce:void 0})}}else null==n&&r.d.M(e)},n.preload=function(e,n){if("string"==typeof e&&"object"==typeof n&&null!==n&&"string"==typeof n.as){var t=n.as,a=c(t,n.crossOrigin);r.d.L(e,t,{crossOrigin:a,integrity:"string"==typeof n.integrity?n.integrity:void 0,nonce:"string"==typeof n.nonce?n.nonce:void 0,type:"string"==typeof n.type?n.type:void 0,fetchPriority:"string"==typeof n.fetchPriority?n.fetchPriority:void 0,referrerPolicy:"string"==typeof n.referrerPolicy?n.referrerPolicy:void 0,imageSrcSet:"string"==typeof n.imageSrcSet?n.imageSrcSet:void 0,imageSizes:"string"==typeof n.imageSizes?n.imageSizes:void 0,media:"string"==typeof n.media?n.media:void 0})}},n.preloadModule=function(e,n){if("string"==typeof e)if(n){var t=c(n.as,n.crossOrigin);r.d.m(e,{as:"string"==typeof n.as&&"script"!==n.as?n.as:void 0,crossOrigin:t,integrity:"string"==typeof n.integrity?n.integrity:void 0})}else r.d.m(e)},n.requestFormReset=function(e){r.d.r(e)},n.unstable_batchedUpdates=function(e,n){return e(n)},n.useFormState=function(e,n,t){return l.H.useFormState(e,n,t)},n.useFormStatus=function(){return l.H.useHostTransitionStatus()},n.version="19.2.4"},5338(e,n,t){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=t(1247)},961(e,n,t){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=t(6221)},9869(e,n){"use strict";var t=Symbol.for("react.transitional.element"),a=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),r=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),f=Symbol.for("react.activity"),m=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,b={};function v(e,n,t){this.props=e,this.context=n,this.refs=b,this.updater=t||h}function A(){}function y(e,n,t){this.props=e,this.context=n,this.refs=b,this.updater=t||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,n){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,n,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},A.prototype=v.prototype;var w=y.prototype=new A;w.constructor=y,g(w,v.prototype),w.isPureReactComponent=!0;var x=Array.isArray;function C(){}var E={H:null,A:null,T:null,S:null},k=Object.prototype.hasOwnProperty;function B(e,n,a){var i=a.ref;return{$$typeof:t,type:e,key:n,ref:void 0!==i?i:null,props:a}}function S(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}var T=/\/+/g;function P(e,n){return"object"==typeof e&&null!==e&&null!=e.key?(t=""+e.key,a={"=":"=0",":":"=2"},"$"+t.replace(/[=:]/g,function(e){return a[e]})):n.toString(36);var t,a}function F(e,n,i,o,r){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l,c,u=!1;if(null===e)u=!0;else switch(s){case"bigint":case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case t:case a:u=!0;break;case p:return F((u=e._init)(e._payload),n,i,o,r)}}if(u)return r=r(e),u=""===o?"."+P(e,0):o,x(r)?(i="",null!=u&&(i=u.replace(T,"$&/")+"/"),F(r,n,i,"",function(e){return e})):null!=r&&(S(r)&&(l=r,c=i+(null==r.key||e&&e.key===r.key?"":(""+r.key).replace(T,"$&/")+"/")+u,r=B(l.type,c,l.props)),n.push(r)),1;u=0;var d,f=""===o?".":o+":";if(x(e))for(var h=0;h<e.length;h++)u+=F(o=e[h],n,i,s=f+P(o,h),r);else if("function"==typeof(h=null===(d=e)||"object"!=typeof d?null:"function"==typeof(d=m&&d[m]||d["@@iterator"])?d:null))for(e=h.call(e),h=0;!(o=e.next()).done;)u+=F(o=o.value,n,i,s=f+P(o,h++),r);else if("object"===s){if("function"==typeof e.then)return F(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(C,C):(e.status="pending",e.then(function(n){"pending"===e.status&&(e.status="fulfilled",e.value=n)},function(n){"pending"===e.status&&(e.status="rejected",e.reason=n)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(e),n,i,o,r);throw n=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.")}return u}function N(e,n,t){if(null==e)return e;var a=[],i=0;return F(e,a,"","",function(e){return n.call(t,e,i++)}),a}function L(e){if(-1===e._status){var n=e._result;(n=n()).then(function(n){0!==e._status&&-1!==e._status||(e._status=1,e._result=n)},function(n){0!==e._status&&-1!==e._status||(e._status=2,e._result=n)}),-1===e._status&&(e._status=0,e._result=n)}if(1===e._status)return e._result.default;throw e._result}var I="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var n=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(n))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)},_={map:N,forEach:function(e,n,t){N(e,function(){n.apply(this,arguments)},t)},count:function(e){var n=0;return N(e,function(){n++}),n},toArray:function(e){return N(e,function(e){return e})||[]},only:function(e){if(!S(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};n.Activity=f,n.Children=_,n.Component=v,n.Fragment=i,n.Profiler=r,n.PureComponent=y,n.StrictMode=o,n.Suspense=u,n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=E,n.__COMPILER_RUNTIME={__proto__:null,c:function(e){return E.H.useMemoCache(e)}},n.cache=function(e){return function(){return e.apply(null,arguments)}},n.cacheSignal=function(){return null},n.cloneElement=function(e,n,t){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var a=g({},e.props),i=e.key;if(null!=n)for(o in void 0!==n.key&&(i=""+n.key),n)!k.call(n,o)||"key"===o||"__self"===o||"__source"===o||"ref"===o&&void 0===n.ref||(a[o]=n[o]);var o=arguments.length-2;if(1===o)a.children=t;else if(1<o){for(var r=Array(o),s=0;s<o;s++)r[s]=arguments[s+2];a.children=r}return B(e.type,i,a)},n.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:s,_context:e},e},n.createElement=function(e,n,t){var a,i={},o=null;if(null!=n)for(a in void 0!==n.key&&(o=""+n.key),n)k.call(n,a)&&"key"!==a&&"__self"!==a&&"__source"!==a&&(i[a]=n[a]);var r=arguments.length-2;if(1===r)i.children=t;else if(1<r){for(var s=Array(r),l=0;l<r;l++)s[l]=arguments[l+2];i.children=s}if(e&&e.defaultProps)for(a in r=e.defaultProps)void 0===i[a]&&(i[a]=r[a]);return B(e,o,i)},n.createRef=function(){return{current:null}},n.forwardRef=function(e){return{$$typeof:c,render:e}},n.isValidElement=S,n.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:L}},n.memo=function(e,n){return{$$typeof:d,type:e,compare:void 0===n?null:n}},n.startTransition=function(e){var n=E.T,t={};E.T=t;try{var a=e(),i=E.S;null!==i&&i(t,a),"object"==typeof a&&null!==a&&"function"==typeof a.then&&a.then(C,I)}catch(e){I(e)}finally{null!==n&&null!==t.types&&(n.types=t.types),E.T=n}},n.unstable_useCacheRefresh=function(){return E.H.useCacheRefresh()},n.use=function(e){return E.H.use(e)},n.useActionState=function(e,n,t){return E.H.useActionState(e,n,t)},n.useCallback=function(e,n){return E.H.useCallback(e,n)},n.useContext=function(e){return E.H.useContext(e)},n.useDebugValue=function(){},n.useDeferredValue=function(e,n){return E.H.useDeferredValue(e,n)},n.useEffect=function(e,n){return E.H.useEffect(e,n)},n.useEffectEvent=function(e){return E.H.useEffectEvent(e)},n.useId=function(){return E.H.useId()},n.useImperativeHandle=function(e,n,t){return E.H.useImperativeHandle(e,n,t)},n.useInsertionEffect=function(e,n){return E.H.useInsertionEffect(e,n)},n.useLayoutEffect=function(e,n){return E.H.useLayoutEffect(e,n)},n.useMemo=function(e,n){return E.H.useMemo(e,n)},n.useOptimistic=function(e,n){return E.H.useOptimistic(e,n)},n.useReducer=function(e,n,t){return E.H.useReducer(e,n,t)},n.useRef=function(e){return E.H.useRef(e)},n.useState=function(e){return E.H.useState(e)},n.useSyncExternalStore=function(e,n,t){return E.H.useSyncExternalStore(e,n,t)},n.useTransition=function(){return E.H.useTransition()},n.version="19.2.4"},6540(e,n,t){"use strict";e.exports=t(9869)},4477(e,n){"use strict";function t(e,n){var t=e.length;e.push(n);e:for(;0<t;){var a=t-1>>>1,i=e[a];if(!(0<o(i,n)))break e;e[a]=n,e[t]=i,t=a}}function a(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var n=e[0],t=e.pop();if(t!==n){e[0]=t;e:for(var a=0,i=e.length,r=i>>>1;a<r;){var s=2*(a+1)-1,l=e[s],c=s+1,u=e[c];if(0>o(l,t))c<i&&0>o(u,l)?(e[a]=u,e[c]=t,a=c):(e[a]=l,e[s]=t,a=s);else{if(!(c<i&&0>o(u,t)))break e;e[a]=u,e[c]=t,a=c}}}return n}function o(e,n){var t=e.sortIndex-n.sortIndex;return 0!==t?t:e.id-n.id}if(n.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var r=performance;n.unstable_now=function(){return r.now()}}else{var s=Date,l=s.now();n.unstable_now=function(){return s.now()-l}}var c=[],u=[],d=1,p=null,f=3,m=!1,h=!1,g=!1,b=!1,v="function"==typeof setTimeout?setTimeout:null,A="function"==typeof clearTimeout?clearTimeout:null,y="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var n=a(u);null!==n;){if(null===n.callback)i(u);else{if(!(n.startTime<=e))break;i(u),n.sortIndex=n.expirationTime,t(c,n)}n=a(u)}}function x(e){if(g=!1,w(e),!h)if(null!==a(c))h=!0,E||(E=!0,C());else{var n=a(u);null!==n&&L(x,n.startTime-e)}}var C,E=!1,k=-1,B=5,S=-1;function T(){return!!b||!(n.unstable_now()-S<B)}function P(){if(b=!1,E){var e=n.unstable_now();S=e;var t=!0;try{e:{h=!1,g&&(g=!1,A(k),k=-1),m=!0;var o=f;try{n:{for(w(e),p=a(c);null!==p&&!(p.expirationTime>e&&T());){var r=p.callback;if("function"==typeof r){p.callback=null,f=p.priorityLevel;var s=r(p.expirationTime<=e);if(e=n.unstable_now(),"function"==typeof s){p.callback=s,w(e),t=!0;break n}p===a(c)&&i(c),w(e)}else i(c);p=a(c)}if(null!==p)t=!0;else{var l=a(u);null!==l&&L(x,l.startTime-e),t=!1}}break e}finally{p=null,f=o,m=!1}t=void 0}}finally{t?C():E=!1}}}if("function"==typeof y)C=function(){y(P)};else if("undefined"!=typeof MessageChannel){var F=new MessageChannel,N=F.port2;F.port1.onmessage=P,C=function(){N.postMessage(null)}}else C=function(){v(P,0)};function L(e,t){k=v(function(){e(n.unstable_now())},t)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(e){e.callback=null},n.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):B=0<e?Math.floor(1e3/e):5},n.unstable_getCurrentPriorityLevel=function(){return f},n.unstable_next=function(e){switch(f){case 1:case 2:case 3:var n=3;break;default:n=f}var t=f;f=n;try{return e()}finally{f=t}},n.unstable_requestPaint=function(){b=!0},n.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var t=f;f=e;try{return n()}finally{f=t}},n.unstable_scheduleCallback=function(e,i,o){var r=n.unstable_now();switch("object"==typeof o&&null!==o?o="number"==typeof(o=o.delay)&&0<o?r+o:r:o=r,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:d++,callback:i,priorityLevel:e,startTime:o,expirationTime:s=o+s,sortIndex:-1},o>r?(e.sortIndex=o,t(u,e),null===a(c)&&e===a(u)&&(g?(A(k),k=-1):g=!0,L(x,o-r))):(e.sortIndex=s,t(c,e),h||m||(h=!0,E||(E=!0,C()))),e},n.unstable_shouldYield=T,n.unstable_wrapCallback=function(e){var n=f;return function(){var t=f;f=n;try{return e.apply(this,arguments)}finally{f=t}}}},9982(e,n,t){"use strict";e.exports=t(4477)},3385(e,n,t){const a=t(5491),i=t(9426),o=t(6049);e.exports={icon:i.icons.iconBase+"noun_109873.svg",name:"source",label:function(e,n){const t=n.session.store.findTypeURIs(e),i=a.Util.mediaTypeClass("text/*").uri.split("*")[0];for(const e in t){if(e.startsWith(i))return"Source";if(e.includes("xml"))return"XML Source";if(e.includes("json"))return"JSON Source";if(e.includes("javascript"))return"Javascript Source"}return null},mintNew:function(e,n){const t=e.session.store;let a=n.newInstance;if(!a){let e=n.newBase;e.endsWith("/")&&(e=e.slice(0,-1),n.newBase=e),a=t.sym(e),n.newInstance=a}const i=o.lookup(a.uri);if(!i||!(i.startsWith("text")||i.includes("xml")||i.includes("json")||i.includes("javascript"))){const e="A new text file has to have an file extension like .txt .ttl .json etc.";throw alert(e),new Error(e)}function r(e){let n="\n";return e.includes("json")?n="{}\n":e.includes("rdf+xml")&&(n='<rdf:RDF\n xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">\n\n</rdf:RDF>'),n}return new Promise(function(e,o){t.fetcher.webOperation("PUT",a.uri,{data:r(i),contentType:i}).then(function(t){console.log("New text file created: "+a.uri),n.newInstance=a,e(n)},e=>{alert("Cant make new file: "+e),o(e)})})},render:function(e,n){const t=n.dom,o=n.session.store,r=o.fetcher;let s,l,c,u=!0,d=!1,p=!1;const f=t.createElement("div");f.setAttribute("class","sourcePane");const m=f.appendChild(t.createElement("table")),h=m.appendChild(t.createElement("tr")),g=m.appendChild(t.createElement("tr")),b=m.appendChild(t.createElement("tr"));b.setAttribute("style","text-align: right;");const v=h.appendChild(t.createElement("textarea"));v.setAttribute("style","font-family: monospace; font-size: 100%; min-width:60em; margin: 1em 0.2em 1em 0.2em; padding: 1em; border: 0.1em solid #888; border-radius: 0.5em;");const A=b.appendChild(function(e){return i.widgets.button(e,void 0,"Compact",P,{needsBorder:!0})}(t)),y=b.appendChild(i.widgets.cancelButton(t)),w=b.appendChild(i.widgets.continueButton(t)),x=b.appendChild(function(e){return i.widgets.button(e,i.icons.iconBase+"noun_253504.svg","Edit")}(t));function C(){p||(d=!1,x.style.visibility=e.uri.endsWith("/")?"collapse":"visible",v.style.color="#888",y.style.visibility="visible",w.style.visibility="collapse",A.style="visibility: visible; width: 100px; padding: 10.2px; transform: translate(0, -30%)",T[s.split(";")]||(A.style.visibility="collapse"),v.setAttribute("readonly","true"))}function E(e){!p&&d&&(v.style.color="green",y.style.visibility="visible",w.style.visibility="visible",x.style.visibility="collapse",A.style.visibility="collapse",v.removeAttribute("readonly"))}const k={"text/n3":!0,"text/turtle":!0,"application/rdf+xml":!0,"application/xhtml+xml":!0,"text/html":!0,"application/json":!0,"application/ld+json":!0};function B(e,n){if(null!=e){-1===n.characterInFile&&n.lineNo&&(n.lineNo+=1);const t=(n.lineNo?e.value.split("\n",n.lineNo).join("\n").length:0)+n.characterInFile;if(e.createTextRange){const n=e.createTextRange();n.move("character",t),n.select()}else e.focus(),e.selectionStart&&e.setSelectionRange(t,t)}}function S(e,n){if(!e.ok){let a="HTTP error on "+n+"! Status: "+e.status;console.log(a),412===e.status&&(a="Error: File changed by someone else"),g.appendChild(i.widgets.errorMessageBlock(t,a))}return e.ok}const T={"text/n3":!0,"text/turtle":!0,"application/ld+json":!0};function P(n){if(T[s])try{a.parse(v.value,o,e.uri,s);Promise.resolve(a.serialize(o.sym(e.uri),o,e.uri,s)).then(e=>{v.value=e}),y.style.visibility="visible"}catch(e){g.appendChild(i.widgets.errorMessageBlock(t,e))}}function F(n){if(n.headers&&n.headers.get("content-type"))s=n.headers.get("content-type").split(";")[0],l=n.headers.get("allow"),c=n.headers.get("etag");else{o.each(null,o.sym("http://www.w3.org/2007/ont/link#requestedURI"),e.uri).forEach(e=>{const n=o.any(e,o.sym("http://www.w3.org/2007/ont/link#response"));n&&"NamedNode"===n.termType&&(s=o.anyValue(n,i.ns.httph("content-type")),l=o.anyValue(n,i.ns.httph("allow")),c=o.anyValue(n,i.ns.httph("etag")),c||console.log("sourcePane: No eTag on GET"))})}}function N(n){r.webOperation("GET",e.uri).then(function(e){if(!S(e,"GET"))return;const n=e.responseText;if(void 0===n){const e="source pane: No text in response object!!";return void g.appendChild(i.widgets.errorMessageBlock(t,e))}if(v.rows=n.split("\n").length+2,v.cols=80,v.value=n,F(e),!s)return u=!0,p=!0,void g.appendChild(i.widgets.errorMessageBlock(t,"Error: No content-type available!"));C(),l?u=l.indexOf("PUT")<0:(console.log("@@@@@@@@@@ No Allow: header from this server"),u=!1),v.readonly=u}).catch(e=>{f.appendChild(i.widgets.errorMessageBlock(t,"Error reading file: "+e))})}return v.addEventListener("keyup",E),A.addEventListener("click",P),x.addEventListener("click",function(){p||(d=!0,v.style.color="black",y.style.visibility="visible",w.style.visibility="collapse",x.style.visibility="collapse",A.style.visibility="collapse",v.removeAttribute("readonly"))}),y.addEventListener("click",N),w.addEventListener("click",async function(n){const l=v.value;if(!function(n,s,l){if(!k[s])return!0;let c;if("text/html"===s&&([n,s,c]=function(e){let n="",t="";const a=e.split("</script");if(a&&a.length)for(let e of a){e="<script"+e.split("<script")[1]+"<\/script>";const a=["text/turtle","text/n3","application/ld+json","application/rdf+xml"].find(n=>e.includes(`type="${n}"`));if(a){t=e.replace(/^<script(.*?)>/gm,"").replace(/<\/script>$/gm,""),n=a;break}}return[t,n,0]}(n),!s))return!0;try{if(g.innerHTML="","application/json"===s)return JSON.parse(n);try{o.removeDocument(e)}catch(e){if(!e.message.includes("Statement to be removed is not on store"))throw e;console.log(e)}return delete r.requested[e.value],"application/ld+json"===s?(JSON.parse(n),a.parse(n,o,l.uri,s,(e,o)=>{if(e)throw e;const r=a.serialize(l,o,l.uri,s);if(n.includes("@id")&&!r.includes("@id")){const e=new Error("Invalid jsonld : predicate do not expand to an absolute IRI");return g.appendChild(i.widgets.errorMessageBlock(t,e)),!1}return!0})):a.parse(n,o,l.uri,s),!0}catch(e){g.appendChild(i.widgets.errorMessageBlock(t,e));for(let n=e;n=n.cause;n)n.characterInFile&&B(v,n);return!1}}(l,s,e))return E(),void(v.style.color="red");const u={data:l,contentType:s};c&&(u.headers={"if-match":c});try{if(!S(await r.webOperation("PUT",e.uri,u),"PUT"))return;try{const n=await r.webOperation("HEAD",e.uri);if(!S(n,"HEAD"))return;F(n),C()}catch(e){throw e}}catch(e){f.appendChild(i.widgets.errorMessageBlock(t,"Error saving back: "+e))}}),N(),f}}},8481(e,n,t){"use strict";t.r(n),t.d(n,{default:()=>b});var a=t(5072),i=t.n(a),o=t(7825),r=t.n(o),s=t(7659),l=t.n(s),c=t(5056),u=t.n(c),d=t(540),p=t.n(d),f=t(1113),m=t.n(f),h=t(566),g={};g.styleTagTransform=m(),g.setAttributes=u(),g.insert=l().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=p();i()(h.A,g);const b=h.A&&h.A.locals?h.A.locals:void 0},2252(e,n,t){"use strict";t.r(n),t.d(n,{default:()=>b});var a=t(5072),i=t.n(a),o=t(7825),r=t.n(o),s=t(7659),l=t.n(s),c=t(5056),u=t.n(c),d=t(540),p=t.n(d),f=t(1113),m=t.n(f),h=t(5223),g={};g.styleTagTransform=m(),g.setAttributes=u(),g.insert=l().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=p();i()(h.A,g);const b=h.A&&h.A.locals?h.A.locals:void 0},9480(e,n,t){"use strict";t.r(n),t.d(n,{default:()=>b});var a=t(5072),i=t.n(a),o=t(7825),r=t.n(o),s=t(7659),l=t.n(s),c=t(5056),u=t.n(c),d=t(540),p=t.n(d),f=t(1113),m=t.n(f),h=t(5191),g={};g.styleTagTransform=m(),g.setAttributes=u(),g.insert=l().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=p();i()(h.A,g);const b=h.A&&h.A.locals?h.A.locals:void 0},519(e,n,t){"use strict";t.r(n),t.d(n,{default:()=>b});var a=t(5072),i=t.n(a),o=t(7825),r=t.n(o),s=t(7659),l=t.n(s),c=t(5056),u=t.n(c),d=t(540),p=t.n(d),f=t(1113),m=t.n(f),h=t(9662),g={};g.styleTagTransform=m(),g.setAttributes=u(),g.insert=l().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=p();i()(h.A,g);const b=h.A&&h.A.locals?h.A.locals:void 0},1570(e,n,t){"use strict";t.r(n),t.d(n,{default:()=>b});var a=t(5072),i=t.n(a),o=t(7825),r=t.n(o),s=t(7659),l=t.n(s),c=t(5056),u=t.n(c),d=t(540),p=t.n(d),f=t(1113),m=t.n(f),h=t(2751),g={};g.styleTagTransform=m(),g.setAttributes=u(),g.insert=l().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=p();i()(h.A,g);const b=h.A&&h.A.locals?h.A.locals:void 0},2592(e,n,t){"use strict";t.r(n),t.d(n,{default:()=>b});var a=t(5072),i=t.n(a),o=t(7825),r=t.n(o),s=t(7659),l=t.n(s),c=t(5056),u=t.n(c),d=t(540),p=t.n(d),f=t(1113),m=t.n(f),h=t(1783),g={};g.styleTagTransform=m(),g.setAttributes=u(),g.insert=l().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=p();i()(h.A,g);const b=h.A&&h.A.locals?h.A.locals:void 0},2739(e,n,t){"use strict";t.r(n),t.d(n,{default:()=>b});var a=t(5072),i=t.n(a),o=t(7825),r=t.n(o),s=t(7659),l=t.n(s),c=t(5056),u=t.n(c),d=t(540),p=t.n(d),f=t(1113),m=t.n(f),h=t(8824),g={};g.styleTagTransform=m(),g.setAttributes=u(),g.insert=l().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=p();i()(h.A,g);const b=h.A&&h.A.locals?h.A.locals:void 0},2538(e,n,t){"use strict";t.r(n),t.d(n,{default:()=>b});var a=t(5072),i=t.n(a),o=t(7825),r=t.n(o),s=t(7659),l=t.n(s),c=t(5056),u=t.n(c),d=t(540),p=t.n(d),f=t(1113),m=t.n(f),h=t(5295),g={};g.styleTagTransform=m(),g.setAttributes=u(),g.insert=l().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=p();i()(h.A,g);const b=h.A&&h.A.locals?h.A.locals:void 0},855(e,n,t){"use strict";t.r(n),t.d(n,{default:()=>b});var a=t(5072),i=t.n(a),o=t(7825),r=t.n(o),s=t(7659),l=t.n(s),c=t(5056),u=t.n(c),d=t(540),p=t.n(d),f=t(1113),m=t.n(f),h=t(2024),g={};g.styleTagTransform=m(),g.setAttributes=u(),g.insert=l().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=p();i()(h.A,g);const b=h.A&&h.A.locals?h.A.locals:void 0},1930(e,n,t){"use strict";t.r(n),t.d(n,{default:()=>b});var a=t(5072),i=t.n(a),o=t(7825),r=t.n(o),s=t(7659),l=t.n(s),c=t(5056),u=t.n(c),d=t(540),p=t.n(d),f=t(1113),m=t.n(f),h=t(6723),g={};g.styleTagTransform=m(),g.setAttributes=u(),g.insert=l().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=p();i()(h.A,g);const b=h.A&&h.A.locals?h.A.locals:void 0},5072(e){"use strict";var n=[];function t(e){for(var t=-1,a=0;a<n.length;a++)if(n[a].identifier===e){t=a;break}return t}function a(e,a){for(var o={},r=[],s=0;s<e.length;s++){var l=e[s],c=a.base?l[0]+a.base:l[0],u=o[c]||0,d="".concat(c," ").concat(u);o[c]=u+1;var p=t(d),f={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==p)n[p].references++,n[p].updater(f);else{var m=i(f,a);a.byIndex=s,n.splice(s,0,{identifier:d,updater:m,references:1})}r.push(d)}return r}function i(e,n){var t=n.domAPI(n);t.update(e);return function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap&&n.supports===e.supports&&n.layer===e.layer)return;t.update(e=n)}else t.remove()}}e.exports=function(e,i){var o=a(e=e||[],i=i||{});return function(e){e=e||[];for(var r=0;r<o.length;r++){var s=t(o[r]);n[s].references--}for(var l=a(e,i),c=0;c<o.length;c++){var u=t(o[c]);0===n[u].references&&(n[u].updater(),n.splice(u,1))}o=l}}},7659(e){"use strict";var n={};e.exports=function(e,t){var a=function(e){if(void 0===n[e]){var t=document.querySelector(e);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(e){t=null}n[e]=t}return n[e]}(e);if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}},540(e){"use strict";e.exports=function(e){var n=document.createElement("style");return e.setAttributes(n,e.attributes),e.insert(n,e.options),n}},5056(e,n,t){"use strict";e.exports=function(e){var n=t.nc;n&&e.setAttribute("nonce",n)}},7825(e){"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var n=e.insertStyleElement(e);return{update:function(t){!function(e,n,t){var a="";t.supports&&(a+="@supports (".concat(t.supports,") {")),t.media&&(a+="@media ".concat(t.media," {"));var i=void 0!==t.layer;i&&(a+="@layer".concat(t.layer.length>0?" ".concat(t.layer):""," {")),a+=t.css,i&&(a+="}"),t.media&&(a+="}"),t.supports&&(a+="}");var o=t.sourceMap;o&&"undefined"!=typeof btoa&&(a+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),n.styleTagTransform(a,e,n.options)}(n,e,t)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)}}}},1113(e){"use strict";e.exports=function(e,n){if(n.styleSheet)n.styleSheet.cssText=e;else{for(;n.firstChild;)n.removeChild(n.firstChild);n.appendChild(document.createTextNode(e))}}},9423(e,n,t){"use strict";t.d(n,{A:()=>a}),e=t.hmd(e);const a=function(e){var n,t=e.Symbol;return"function"==typeof t?t.observable?n=t.observable:(n=t("observable"),t.observable=n):n="@@observable",n}("undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t.g?t.g:e)},6077(e){e.exports=function(e){var n={};function t(a){if(n[a])return n[a].exports;var i=n[a]={i:a,l:!1,exports:{}};return e[a].call(i.exports,i,i.exports,t),i.l=!0,i.exports}return t.m=e,t.c=n,t.d=function(e,n,a){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:a})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(t.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var i in e)t.d(a,i,function(n){return e[n]}.bind(null,i));return a},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=0)}([function(e,n,t){"use strict";t.r(n),t.d(n,"validateHTMLColorName",function(){return r}),t.d(n,"validateHTMLColorSpecialName",function(){return s}),t.d(n,"validateHTMLColorHex",function(){return l}),t.d(n,"validateHTMLColorRgb",function(){return h}),t.d(n,"validateHTMLColorHsl",function(){return g}),t.d(n,"validateHTMLColorHwb",function(){return b}),t.d(n,"validateHTMLColorLab",function(){return v}),t.d(n,"validateHTMLColorLch",function(){return A}),t.d(n,"validateHTMLColor",function(){return y});const a=e=>e&&"string"==typeof e,i=["AliceBlue","AntiqueWhite","Aqua","Aquamarine","Azure","Beige","Bisque","Black","BlanchedAlmond","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","CornflowerBlue","Cornsilk","Crimson","Cyan","DarkBlue","DarkCyan","DarkGoldenrod","DarkGray","DarkGrey","DarkGreen","DarkKhaki","DarkMagenta","DarkOliveGreen","DarkOrange","DarkOrchid","DarkRed","DarkSalmon","DarkSeaGreen","DarkSlateBlue","DarkSlateGray","DarkSlateGrey","DarkTurquoise","DarkViolet","DeepPink","DeepSkyBlue","DimGray","DimGrey","DodgerBlue","FireBrick","FloralWhite","ForestGreen","Fuchsia","Gainsboro","GhostWhite","Gold","Goldenrod","Gray","Grey","Green","GreenYellow","HoneyDew","HotPink","IndianRed","Indigo","Ivory","Khaki","Lavender","LavenderBlush","LawnGreen","LemonChiffon","LightBlue","LightCoral","LightCyan","LightGoldenrodYellow","LightGray","LightGrey","LightGreen","LightPink","LightSalmon","LightSalmon","LightSeaGreen","LightSkyBlue","LightSlateGray","LightSlateGrey","LightSteelBlue","LightYellow","Lime","LimeGreen","Linen","Magenta","Maroon","MediumAquamarine","MediumBlue","MediumOrchid","MediumPurple","MediumSeaGreen","MediumSlateBlue","MediumSlateBlue","MediumSpringGreen","MediumTurquoise","MediumVioletRed","MidnightBlue","MintCream","MistyRose","Moccasin","NavajoWhite","Navy","OldLace","Olive","OliveDrab","Orange","OrangeRed","Orchid","PaleGoldenrod","PaleGreen","PaleTurquoise","PaleVioletRed","PapayaWhip","PeachPuff","Peru","Pink","Plum","PowderBlue","Purple","RebeccaPurple","Red","RosyBrown","RoyalBlue","SaddleBrown","Salmon","SandyBrown","SeaGreen","SeaShell","Sienna","Silver","SkyBlue","SlateBlue","SlateGray","SlateGrey","Snow","SpringGreen","SteelBlue","Tan","Teal","Thistle","Tomato","Turquoise","Violet","Wheat","White","WhiteSmoke","Yellow","YellowGreen"],o=["currentColor","inherit","transparent"],r=e=>{let n=!1;return a(e)&&i.map(t=>(e.toLowerCase()===t.toLowerCase()&&(n=!0),null)),n},s=e=>{let n=!1;return a(e)&&o.map(t=>(e.toLowerCase()===t.toLowerCase()&&(n=!0),null)),n},l=e=>{if(a(e)){return e&&/^#([\da-f]{3}){1,2}$|^#([\da-f]{4}){1,2}$/i.test(e)}return!1},c="(([\\d]{0,5})((\\.([\\d]{1,5}))?))",u=`(${c}%)`,d="(([0-9]|[1-9][0-9]|100)%)",p=`(${d}|(0?((\\.([\\d]{1,5}))?))|1)`,f=`([\\s]{0,5})\\)?)(([\\s]{0,5})(\\/?)([\\s]{1,5})(((${d}))|(0?((\\.([\\d]{1,5}))?))|1))?([\\s]{0,5})\\)`,m="(-?(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-9][0-9]|3[0-5][0-9])((\\.([\\d]{1,5}))?)|360)(deg)?)",h=e=>{if(a(e)){const n="([\\s]{0,5})([\\d]{1,5})%?([\\s]{0,5}),?",t="((([\\s]{0,5}),?([\\s]{0,5}))|(([\\s]{1,5})))",a=new RegExp(`^(rgb)a?\\(${n}${t}${n}${t}${n}${t}((\\/?([\\s]{0,5})(0?\\.?([\\d]{1,5})%?([\\s]{0,5}))?|1|0))?\\)$`);return e&&a.test(e)}return!1},g=e=>{if(a(e)){const n=new RegExp(`^(hsl)a?\\((([\\s]{0,5})(${m}|(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-9][0-9]|3[0-9][0-9]|400)grad)|((([0-5])?\\.([\\d]{1,5})|6\\.([0-9]|1[0-9]|2[0-8])|[0-6])rad)|((0?((\\.([\\d]{1,5}))?)|1)turn))((([\\s]{0,5}),([\\s]{0,5}))|(([\\s]{1,5}))))(([\\s]{0,5})(0|${d})((([\\s]{0,5}),([\\s]{0,5}))|(([\\s]{1,5}))))(([\\s]{0,5})(0|${d})([\\s]{0,5})\\)?)(([\\s]{0,5})(\\/?|,?)([\\s]{0,5})(((${d}))|(0?((\\.([\\d]{1,5}))?))|1))?\\)$`);return e&&n.test(e)}return!1},b=e=>{if(a(e)){const n=new RegExp(`^(hwb\\(([\\s]{0,5})${m}([\\s]{1,5}))((0|${d})([\\s]{1,5}))((0|${d})${f}$`);return e&&n.test(e)}return!1},v=e=>{if(a(e)){const n="(-?(([0-9]|[1-9][0-9]|1[0-5][0-9])((\\.([\\d]{1,5}))?)?|160))",t=new RegExp(`^(lab\\(([\\s]{0,5})${u}([\\s]{1,5})${n}([\\s]{1,5})${n}${f}$`);return e&&t.test(e)}return!1},A=e=>{if(a(e)){const n=new RegExp(`^lch\\((([\\s]{0,5})${"((([0-9]|[1-9][0-9])?((\\.([\\d]{1,5}))?)|100)(%)?)"}([\\s]{1,5})${""+c}([\\s]{1,5})${`((${m})|(0|${p})|(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-9][0-9]|3[0-5][0-9])((\\.([\\d]{1,5}))?)|360))`}([\\s]{0,5})(${`(\\/([\\s]{0,5})${p})`})?)\\)$`);return e&&n.test(e)}return!1},y=e=>!!(e&&l(e)||h(e)||g(e)||b(e)||v(e)||A(e));n.default=e=>!!(e&&l(e)||r(e)||s(e)||h(e)||g(e)||b(e)||v(e)||A(e))}])},5663(e){"use strict";e.exports=n},9426(n){"use strict";n.exports=e},5491(e){"use strict";e.exports=t},8466(){},4697(e,n,t){"use strict";t.r(n),t.d(n,{AsyncReplaceDirective:()=>g,asyncReplace:()=>b});var a=t(6752);const{I:i}=a._$LH,o=2;class r{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,n,t){this._$Ct=e,this._$AM=n,this._$Ci=t}_$AS(e,n){return this.update(e,n)}update(e,n){return this.render(...n)}}const s=(e,n)=>{const t=e._$AN;if(void 0===t)return!1;for(const e of t)e._$AO?.(n,!1),s(e,n);return!0},l=e=>{let n,t;do{if(void 0===(n=e._$AM))break;t=n._$AN,t.delete(e),e=n}while(0===t?.size)},c=e=>{for(let n;n=e._$AM;e=n){let t=n._$AN;if(void 0===t)n._$AN=t=new Set;else if(t.has(e))break;t.add(e),p(n)}};function u(e){void 0!==this._$AN?(l(this),this._$AM=e,c(this)):this._$AM=e}function d(e,n=!1,t=0){const a=this._$AH,i=this._$AN;if(void 0!==i&&0!==i.size)if(n)if(Array.isArray(a))for(let e=t;e<a.length;e++)s(a[e],!1),l(a[e]);else null!=a&&(s(a,!1),l(a));else s(this,e)}const p=e=>{e.type==o&&(e._$AP??=d,e._$AQ??=u)};class f extends r{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,n,t){super._$AT(e,n,t),c(this),this.isConnected=e._$AU}_$AO(e,n=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),n&&(s(this,e),l(this))}setValue(e){if((e=>void 0===e.strings)(this._$Ct))this._$Ct._$AI(e,this);else{const n=[...this._$Ct._$AH];n[this._$Ci]=e,this._$Ct._$AI(n,this,0)}}disconnected(){}reconnected(){}}class m{constructor(e){this.G=e}disconnect(){this.G=void 0}reconnect(e){this.G=e}deref(){return this.G}}class h{constructor(){this.Y=void 0,this.Z=void 0}get(){return this.Y}pause(){this.Y??=new Promise(e=>this.Z=e)}resume(){this.Z?.(),this.Y=this.Z=void 0}}class g extends f{constructor(){super(...arguments),this._$CK=new m(this),this._$CX=new h}render(e,n){return a.noChange}update(e,[n,t]){if(this.isConnected||this.disconnected(),n===this._$CJ)return a.noChange;this._$CJ=n;let i=0;const{_$CK:o,_$CX:r}=this;return(async(e,n)=>{for await(const t of e)if(!1===await n(t))return})(n,async e=>{for(;r.get();)await r.get();const a=o.deref();if(void 0!==a){if(a._$CJ!==n)return!1;void 0!==t&&(e=t(e,i)),a.commitValue(e,i),i++}return!0}),a.noChange}commitValue(e,n){this.setValue(e)}disconnected(){this._$CK.disconnect(),this._$CX.pause()}reconnected(){this._$CK.reconnect(this),this._$CX.resume()}}const b=(e=>(...n)=>({_$litDirective$:e,values:n}))(g)},6752(e,n,t){"use strict";t.r(n),t.d(n,{_$LH:()=>$,html:()=>k,mathml:()=>S,noChange:()=>T,nothing:()=>P,render:()=>V,svg:()=>B});const a=globalThis,i=e=>e,o=a.trustedTypes,r=o?o.createPolicy("lit-html",{createHTML:e=>e}):void 0,s="$lit$",l=`lit$${Math.random().toFixed(9).slice(2)}$`,c="?"+l,u=`<${c}>`,d=document,p=()=>d.createComment(""),f=e=>null===e||"object"!=typeof e&&"function"!=typeof e,m=Array.isArray,h=e=>m(e)||"function"==typeof e?.[Symbol.iterator],g="[ \t\n\f\r]",b=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v=/-->/g,A=/>/g,y=RegExp(`>|${g}(?:([^\\s"'>=/]+)(${g}*=${g}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),w=/'/g,x=/"/g,C=/^(?:script|style|textarea|title)$/i,E=e=>(n,...t)=>({_$litType$:e,strings:n,values:t}),k=E(1),B=E(2),S=E(3),T=Symbol.for("lit-noChange"),P=Symbol.for("lit-nothing"),F=new WeakMap,N=d.createTreeWalker(d,129);function L(e,n){if(!m(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==r?r.createHTML(n):n}const I=(e,n)=>{const t=e.length-1,a=[];let i,o=2===n?"<svg>":3===n?"<math>":"",r=b;for(let n=0;n<t;n++){const t=e[n];let c,d,p=-1,f=0;for(;f<t.length&&(r.lastIndex=f,d=r.exec(t),null!==d);)f=r.lastIndex,r===b?"!--"===d[1]?r=v:void 0!==d[1]?r=A:void 0!==d[2]?(C.test(d[2])&&(i=RegExp("</"+d[2],"g")),r=y):void 0!==d[3]&&(r=y):r===y?">"===d[0]?(r=i??b,p=-1):void 0===d[1]?p=-2:(p=r.lastIndex-d[2].length,c=d[1],r=void 0===d[3]?y:'"'===d[3]?x:w):r===x||r===w?r=y:r===v||r===A?r=b:(r=y,i=void 0);const m=r===y&&e[n+1].startsWith("/>")?" ":"";o+=r===b?t+u:p>=0?(a.push(c),t.slice(0,p)+s+t.slice(p)+l+m):t+l+(-2===p?n:m)}return[L(e,o+(e[t]||"<?>")+(2===n?"</svg>":3===n?"</math>":"")),a]};class _{constructor({strings:e,_$litType$:n},t){let a;this.parts=[];let i=0,r=0;const u=e.length-1,d=this.parts,[f,m]=I(e,n);if(this.el=_.createElement(f,t),N.currentNode=this.el.content,2===n||3===n){const e=this.el.content.firstChild;e.replaceWith(...e.childNodes)}for(;null!==(a=N.nextNode())&&d.length<u;){if(1===a.nodeType){if(a.hasAttributes())for(const e of a.getAttributeNames())if(e.endsWith(s)){const n=m[r++],t=a.getAttribute(e).split(l),o=/([.?@])?(.*)/.exec(n);d.push({type:1,index:i,name:o[2],strings:t,ctor:"."===o[1]?j:"?"===o[1]?z:"@"===o[1]?U:M}),a.removeAttribute(e)}else e.startsWith(l)&&(d.push({type:6,index:i}),a.removeAttribute(e));if(C.test(a.tagName)){const e=a.textContent.split(l),n=e.length-1;if(n>0){a.textContent=o?o.emptyScript:"";for(let t=0;t<n;t++)a.append(e[t],p()),N.nextNode(),d.push({type:2,index:++i});a.append(e[n],p())}}}else if(8===a.nodeType)if(a.data===c)d.push({type:2,index:i});else{let e=-1;for(;-1!==(e=a.data.indexOf(l,e+1));)d.push({type:7,index:i}),e+=l.length-1}i++}}static createElement(e,n){const t=d.createElement("template");return t.innerHTML=e,t}}function O(e,n,t=e,a){if(n===T)return n;let i=void 0!==a?t._$Co?.[a]:t._$Cl;const o=f(n)?void 0:n._$litDirective$;return i?.constructor!==o&&(i?._$AO?.(!1),void 0===o?i=void 0:(i=new o(e),i._$AT(e,t,a)),void 0!==a?(t._$Co??=[])[a]=i:t._$Cl=i),void 0!==i&&(n=O(e,i._$AS(e,n.values),i,a)),n}class R{constructor(e,n){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=n}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){const{el:{content:n},parts:t}=this._$AD,a=(e?.creationScope??d).importNode(n,!0);N.currentNode=a;let i=N.nextNode(),o=0,r=0,s=t[0];for(;void 0!==s;){if(o===s.index){let n;2===s.type?n=new D(i,i.nextSibling,this,e):1===s.type?n=new s.ctor(i,s.name,s.strings,this,e):6===s.type&&(n=new q(i,this,e)),this._$AV.push(n),s=t[++r]}o!==s?.index&&(i=N.nextNode(),o++)}return N.currentNode=d,a}p(e){let n=0;for(const t of this._$AV)void 0!==t&&(void 0!==t.strings?(t._$AI(e,t,n),n+=t.strings.length-2):t._$AI(e[n])),n++}}class D{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,n,t,a){this.type=2,this._$AH=P,this._$AN=void 0,this._$AA=e,this._$AB=n,this._$AM=t,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode;const n=this._$AM;return void 0!==n&&11===e?.nodeType&&(e=n.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,n=this){e=O(this,e,n),f(e)?e===P||null==e||""===e?(this._$AH!==P&&this._$AR(),this._$AH=P):e!==this._$AH&&e!==T&&this._(e):void 0!==e._$litType$?this.$(e):void 0!==e.nodeType?this.T(e):h(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==P&&f(this._$AH)?this._$AA.nextSibling.data=e:this.T(d.createTextNode(e)),this._$AH=e}$(e){const{values:n,_$litType$:t}=e,a="number"==typeof t?this._$AC(e):(void 0===t.el&&(t.el=_.createElement(L(t.h,t.h[0]),this.options)),t);if(this._$AH?._$AD===a)this._$AH.p(n);else{const e=new R(a,this),t=e.u(this.options);e.p(n),this.T(t),this._$AH=e}}_$AC(e){let n=F.get(e.strings);return void 0===n&&F.set(e.strings,n=new _(e)),n}k(e){m(this._$AH)||(this._$AH=[],this._$AR());const n=this._$AH;let t,a=0;for(const i of e)a===n.length?n.push(t=new D(this.O(p()),this.O(p()),this,this.options)):t=n[a],t._$AI(i),a++;a<n.length&&(this._$AR(t&&t._$AB.nextSibling,a),n.length=a)}_$AR(e=this._$AA.nextSibling,n){for(this._$AP?.(!1,!0,n);e!==this._$AB;){const n=i(e).nextSibling;i(e).remove(),e=n}}setConnected(e){void 0===this._$AM&&(this._$Cv=e,this._$AP?.(e))}}class M{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,n,t,a,i){this.type=1,this._$AH=P,this._$AN=void 0,this.element=e,this.name=n,this._$AM=a,this.options=i,t.length>2||""!==t[0]||""!==t[1]?(this._$AH=Array(t.length-1).fill(new String),this.strings=t):this._$AH=P}_$AI(e,n=this,t,a){const i=this.strings;let o=!1;if(void 0===i)e=O(this,e,n,0),o=!f(e)||e!==this._$AH&&e!==T,o&&(this._$AH=e);else{const a=e;let r,s;for(e=i[0],r=0;r<i.length-1;r++)s=O(this,a[t+r],n,r),s===T&&(s=this._$AH[r]),o||=!f(s)||s!==this._$AH[r],s===P?e=P:e!==P&&(e+=(s??"")+i[r+1]),this._$AH[r]=s}o&&!a&&this.j(e)}j(e){e===P?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}}class j extends M{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===P?void 0:e}}class z extends M{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==P)}}class U extends M{constructor(e,n,t,a,i){super(e,n,t,a,i),this.type=5}_$AI(e,n=this){if((e=O(this,e,n,0)??P)===T)return;const t=this._$AH,a=e===P&&t!==P||e.capture!==t.capture||e.once!==t.once||e.passive!==t.passive,i=e!==P&&(t===P||a);a&&this.element.removeEventListener(this.name,this,t),i&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}}class q{constructor(e,n,t){this.element=e,this.type=6,this._$AN=void 0,this._$AM=n,this.options=t}get _$AU(){return this._$AM._$AU}_$AI(e){O(this,e)}}const $={M:s,P:l,A:c,C:1,L:I,R,D:h,V:O,I:D,H:M,N:z,U,B:j,F:q},H=a.litHtmlPolyfillSupport;H?.(_,D),(a.litHtmlVersions??=[]).push("3.3.2");const V=(e,n,t)=>{const a=t?.renderBefore??n;let i=a._$litPart$;if(void 0===i){const e=t?.renderBefore??null;a._$litPart$=i=new D(n.insertBefore(p(),e),e,void 0,t??{})}return i._$AI(e),i}},1813(e){"use strict";e.exports=JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/3gpphal+json":{"source":"iana","compressible":true},"application/3gpphalforms+json":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/ace+cbor":{"source":"iana"},"application/ace+json":{"source":"iana","compressible":true},"application/ace-groupcomm+cbor":{"source":"iana"},"application/ace-trl+cbor":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/aif+cbor":{"source":"iana"},"application/aif+json":{"source":"iana","compressible":true},"application/alto-cdni+json":{"source":"iana","compressible":true},"application/alto-cdnifilter+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-propmap+json":{"source":"iana","compressible":true},"application/alto-propmapparams+json":{"source":"iana","compressible":true},"application/alto-tips+json":{"source":"iana","compressible":true},"application/alto-tipsparams+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"application/aml":{"source":"iana"},"application/andrew-inset":{"source":"iana","extensions":["ez"]},"application/appinstaller":{"compressible":false,"extensions":["appinstaller"]},"application/applefile":{"source":"iana"},"application/applixware":{"source":"apache","extensions":["aw"]},"application/appx":{"compressible":false,"extensions":["appx"]},"application/appxbundle":{"compressible":false,"extensions":["appxbundle"]},"application/at+jwt":{"source":"iana"},"application/atf":{"source":"iana"},"application/atfx":{"source":"iana"},"application/atom+xml":{"source":"iana","compressible":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/automationml-aml+xml":{"source":"iana","compressible":true,"extensions":["aml"]},"application/automationml-amlx+zip":{"source":"iana","compressible":false,"extensions":["amlx"]},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/bufr":{"source":"iana"},"application/c2pa":{"source":"iana"},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/captive+json":{"source":"iana","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cda+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/cdfx+xml":{"source":"iana","compressible":true,"extensions":["cdfx"]},"application/cdmi-capability":{"source":"iana","extensions":["cdmia"]},"application/cdmi-container":{"source":"iana","extensions":["cdmic"]},"application/cdmi-domain":{"source":"iana","extensions":["cdmid"]},"application/cdmi-object":{"source":"iana","extensions":["cdmio"]},"application/cdmi-queue":{"source":"iana","extensions":["cdmiq"]},"application/cdni":{"source":"iana"},"application/ce+cbor":{"source":"iana"},"application/cea":{"source":"iana"},"application/cea-2018+xml":{"source":"iana","compressible":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/cid-edhoc+cbor-seq":{"source":"iana"},"application/city+json":{"source":"iana","compressible":true},"application/city+json-seq":{"source":"iana"},"application/clr":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-eap":{"source":"iana"},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/concise-problem-details+cbor":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cose-x509":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true,"extensions":["cpl"]},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwl":{"source":"iana","extensions":["cwl"]},"application/cwl+json":{"source":"iana","compressible":true},"application/cwl+yaml":{"source":"iana"},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dash-patch+xml":{"source":"iana","compressible":true,"extensions":["mpp"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana","extensions":["dcm"]},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dpop+jwt":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/eat+cwt":{"source":"iana"},"application/eat+jwt":{"source":"iana"},"application/eat-bun+cbor":{"source":"iana"},"application/eat-bun+json":{"source":"iana","compressible":true},"application/eat-ucs+cbor":{"source":"iana"},"application/eat-ucs+json":{"source":"iana","compressible":true},"application/ecmascript":{"source":"apache","compressible":true,"extensions":["ecma"]},"application/edhoc+cbor-seq":{"source":"iana"},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.legacyesn+json":{"source":"iana","compressible":true},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/entity-statement+jwt":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/express":{"source":"iana","extensions":["exp"]},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdf":{"source":"iana","extensions":["fdf"]},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"application/fits":{"source":"iana"},"application/flexfec":{"source":"iana"},"application/font-sfnt":{"source":"iana"},"application/font-tdpfr":{"source":"iana","extensions":["pfr"]},"application/font-woff":{"source":"iana","compressible":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geopose+json":{"source":"iana","compressible":true},"application/geoxacml+json":{"source":"iana","compressible":true},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gnap-binding-jws":{"source":"iana"},"application/gnap-binding-jwsd":{"source":"iana"},"application/gnap-binding-rotation-jws":{"source":"iana"},"application/gnap-binding-rotation-jwsd":{"source":"iana"},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/grib":{"source":"iana"},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/hl7v2+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/index":{"source":"iana"},"application/index.cmd":{"source":"iana"},"application/index.obj":{"source":"iana"},"application/index.response":{"source":"iana"},"application/index.vnd":{"source":"iana"},"application/inkml+xml":{"source":"iana","compressible":true,"extensions":["ink","inkml"]},"application/iotp":{"source":"iana"},"application/ipfix":{"source":"iana","extensions":["ipfix"]},"application/ipp":{"source":"iana"},"application/isup":{"source":"iana"},"application/its+xml":{"source":"iana","compressible":true,"extensions":["its"]},"application/java-archive":{"source":"iana","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"apache","charset":"UTF-8","compressible":true,"extensions":["js"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/jscalendar+json":{"source":"iana","compressible":true},"application/jscontact+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jsonpath":{"source":"iana"},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwk-set+jwt":{"source":"iana"},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/linkset":{"source":"iana"},"application/linkset+json":{"source":"iana","compressible":true},"application/load-control+xml":{"source":"iana","compressible":true},"application/logout+jwt":{"source":"iana"},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"application/lxf":{"source":"iana"},"application/mac-binhex40":{"source":"iana","extensions":["hqx"]},"application/mac-compactpro":{"source":"apache","extensions":["cpt"]},"application/macwriteii":{"source":"iana"},"application/mads+xml":{"source":"iana","compressible":true,"extensions":["mads"]},"application/manifest+json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true,"extensions":["mpf"]},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"extensions":["mets"]},"application/mf4":{"source":"iana"},"application/mikey":{"source":"iana"},"application/mipc":{"source":"iana"},"application/missing-blocks+cbor-seq":{"source":"iana"},"application/mmt-aei+xml":{"source":"iana","compressible":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"extensions":["mods"]},"application/moss-keys":{"source":"iana"},"application/moss-signature":{"source":"iana"},"application/mosskey-data":{"source":"iana"},"application/mosskey-request":{"source":"iana"},"application/mp21":{"source":"iana","extensions":["m21","mp21"]},"application/mp4":{"source":"iana","extensions":["mp4","mpg4","mp4s","m4p"]},"application/mpeg4-generic":{"source":"iana"},"application/mpeg4-iod":{"source":"iana"},"application/mpeg4-iod-xmt":{"source":"iana"},"application/mrb-consumer+xml":{"source":"iana","compressible":true},"application/mrb-publish+xml":{"source":"iana","compressible":true},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msix":{"compressible":false,"extensions":["msix"]},"application/msixbundle":{"compressible":false,"extensions":["msixbundle"]},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"application/multipart-core":{"source":"iana"},"application/mxf":{"source":"iana","extensions":["mxf"]},"application/n-quads":{"source":"iana","extensions":["nq"]},"application/n-triples":{"source":"iana","extensions":["nt"]},"application/nasdata":{"source":"iana"},"application/news-checkgroups":{"source":"iana","charset":"US-ASCII"},"application/news-groupinfo":{"source":"iana","charset":"US-ASCII"},"application/news-transmission":{"source":"iana"},"application/nlsml+xml":{"source":"iana","compressible":true},"application/node":{"source":"iana","extensions":["cjs"]},"application/nss":{"source":"iana"},"application/oauth-authz-req+jwt":{"source":"iana"},"application/oblivious-dns-message":{"source":"iana"},"application/ocsp-request":{"source":"iana"},"application/ocsp-response":{"source":"iana"},"application/octet-stream":{"source":"iana","compressible":true,"extensions":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{"source":"iana","extensions":["oda"]},"application/odm+xml":{"source":"iana","compressible":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/ohttp-keys":{"source":"iana"},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg","one","onea"]},"application/opc-nodeset+xml":{"source":"iana","compressible":true},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p21":{"source":"iana"},"application/p21+zip":{"source":"iana","compressible":false},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"extensions":["pgp"]},"application/pgp-keys":{"source":"iana","extensions":["asc"]},"application/pgp-signature":{"source":"iana","extensions":["sig","asc"]},"application/pics-rules":{"source":"apache","extensions":["prf"]},"application/pidf+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pkcs10":{"source":"iana","extensions":["p10"]},"application/pkcs12":{"source":"iana"},"application/pkcs7-mime":{"source":"iana","extensions":["p7m","p7c"]},"application/pkcs7-signature":{"source":"iana","extensions":["p7s"]},"application/pkcs8":{"source":"iana","extensions":["p8"]},"application/pkcs8-encrypted":{"source":"iana"},"application/pkix-attr-cert":{"source":"iana","extensions":["ac"]},"application/pkix-cert":{"source":"iana","extensions":["cer"]},"application/pkix-crl":{"source":"iana","extensions":["crl"]},"application/pkix-pkipath":{"source":"iana","extensions":["pkipath"]},"application/pkixcmp":{"source":"iana","extensions":["pki"]},"application/pls+xml":{"source":"iana","compressible":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/private-token-issuer-directory":{"source":"iana"},"application/private-token-request":{"source":"iana"},"application/private-token-response":{"source":"iana"},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"extensions":["provx"]},"application/provided-claims+jwt":{"source":"iana"},"application/prs.alvestrand.titrax-sheet":{"source":"iana"},"application/prs.cww":{"source":"iana","extensions":["cww"]},"application/prs.cyn":{"source":"iana","charset":"7-BIT"},"application/prs.hpub+zip":{"source":"iana","compressible":false},"application/prs.implied-document+xml":{"source":"iana","compressible":true},"application/prs.implied-executable":{"source":"iana"},"application/prs.implied-object+json":{"source":"iana","compressible":true},"application/prs.implied-object+json-seq":{"source":"iana"},"application/prs.implied-object+yaml":{"source":"iana"},"application/prs.implied-structure":{"source":"iana"},"application/prs.mayfile":{"source":"iana"},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.vcfbzip2":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true,"extensions":["xsf"]},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"apache"},"application/reputon+json":{"source":"iana","compressible":true},"application/resolve-response+jwt":{"source":"iana"},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"extensions":["rusd"]},"application/rpki-checklist":{"source":"iana"},"application/rpki-ghostbusters":{"source":"iana","extensions":["gbr"]},"application/rpki-manifest":{"source":"iana","extensions":["mft"]},"application/rpki-publication":{"source":"iana"},"application/rpki-roa":{"source":"iana","extensions":["roa"]},"application/rpki-signed-tal":{"source":"iana"},"application/rpki-updown":{"source":"iana"},"application/rsd+xml":{"source":"apache","compressible":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sarif+json":{"source":"iana","compressible":true},"application/sarif-external-properties+json":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"application/scvp-cv-request":{"source":"iana","extensions":["scq"]},"application/scvp-cv-response":{"source":"iana","extensions":["scs"]},"application/scvp-vp-request":{"source":"iana","extensions":["spq"]},"application/scvp-vp-response":{"source":"iana","extensions":["spp"]},"application/sdp":{"source":"iana","extensions":["sdp"]},"application/secevent+jwt":{"source":"iana"},"application/senml+cbor":{"source":"iana"},"application/senml+json":{"source":"iana","compressible":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"application/sep-exi":{"source":"iana"},"application/session-info":{"source":"iana"},"application/set-payment":{"source":"iana"},"application/set-payment-initiation":{"source":"iana","extensions":["setpay"]},"application/set-registration":{"source":"iana"},"application/set-registration-initiation":{"source":"iana","extensions":["setreg"]},"application/sgml":{"source":"iana"},"application/sgml-open-catalog":{"source":"iana"},"application/shf+xml":{"source":"iana","compressible":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"application/simple-message-summary":{"source":"iana"},"application/simplesymbolcontainer":{"source":"iana"},"application/sipc":{"source":"iana"},"application/slate":{"source":"iana"},"application/smil":{"source":"apache"},"application/smil+xml":{"source":"iana","compressible":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spdx+json":{"source":"iana","compressible":true},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana","extensions":["sql"]},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/sslkeylogfile":{"source":"iana"},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/st2110-41":{"source":"iana"},"application/stix+json":{"source":"iana","compressible":true},"application/stratum":{"source":"iana"},"application/swid+cbor":{"source":"iana"},"application/swid+xml":{"source":"iana","compressible":true,"extensions":["swidtag"]},"application/tamp-apex-update":{"source":"iana"},"application/tamp-apex-update-confirm":{"source":"iana"},"application/tamp-community-update":{"source":"iana"},"application/tamp-community-update-confirm":{"source":"iana"},"application/tamp-error":{"source":"iana"},"application/tamp-sequence-adjust":{"source":"iana"},"application/tamp-sequence-adjust-confirm":{"source":"iana"},"application/tamp-status-query":{"source":"iana"},"application/tamp-status-response":{"source":"iana"},"application/tamp-update":{"source":"iana"},"application/tamp-update-confirm":{"source":"iana"},"application/tar":{"compressible":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"extensions":["tfi"]},"application/timestamp-query":{"source":"iana"},"application/timestamp-reply":{"source":"iana"},"application/timestamped-data":{"source":"iana","extensions":["tsd"]},"application/tlsrpt+gzip":{"source":"iana"},"application/tlsrpt+json":{"source":"iana","compressible":true},"application/tm+json":{"source":"iana","compressible":true},"application/tnauthlist":{"source":"iana"},"application/toc+cbor":{"source":"iana"},"application/token-introspection+jwt":{"source":"iana"},"application/toml":{"source":"iana","compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana","extensions":["trig"]},"application/trust-chain+json":{"source":"iana","compressible":true},"application/trust-mark+jwt":{"source":"iana"},"application/trust-mark-delegation+jwt":{"source":"iana"},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ubjson":{"compressible":false,"extensions":["ubj"]},"application/uccs+cbor":{"source":"iana"},"application/ujcs+json":{"source":"iana","compressible":true},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true,"extensions":["td"]},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vc":{"source":"iana"},"application/vc+cose":{"source":"iana"},"application/vc+jwt":{"source":"iana"},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.1ob":{"source":"iana"},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3a+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ach+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc8+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-v2x-local-service-information":{"source":"iana"},"application/vnd.3gpp.5gnas":{"source":"iana"},"application/vnd.3gpp.5gsa2x":{"source":"iana"},"application/vnd.3gpp.5gsa2x-local-service-information":{"source":"iana"},"application/vnd.3gpp.5gsv2x":{"source":"iana"},"application/vnd.3gpp.5gsv2x-local-service-information":{"source":"iana"},"application/vnd.3gpp.access-transfer-events+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.crs+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.current-location-discovery+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gtpc":{"source":"iana"},"application/vnd.3gpp.interworking-data":{"source":"iana"},"application/vnd.3gpp.lpp":{"source":"iana"},"application/vnd.3gpp.mc-signalling-ear":{"source":"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-msgstore-ctrl-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-regroup+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-regroup+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-regroup+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ngap":{"source":"iana"},"application/vnd.3gpp.pfcp":{"source":"iana"},"application/vnd.3gpp.pic-bw-large":{"source":"iana","extensions":["plb"]},"application/vnd.3gpp.pic-bw-small":{"source":"iana","extensions":["psb"]},"application/vnd.3gpp.pic-bw-var":{"source":"iana","extensions":["pvb"]},"application/vnd.3gpp.pinapp-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.s1ap":{"source":"iana"},"application/vnd.3gpp.seal-group-doc+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.seal-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.seal-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.seal-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.seal-network-qos-management-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.seal-ue-config-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.seal-unicast-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.seal-user-profile-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.sms":{"source":"iana"},"application/vnd.3gpp.sms+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.v2x":{"source":"iana"},"application/vnd.3gpp.vae-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.sms":{"source":"iana"},"application/vnd.3gpp2.tcap":{"source":"iana","extensions":["tcap"]},"application/vnd.3lightssoftware.imagescal":{"source":"iana"},"application/vnd.3m.post-it-notes":{"source":"iana","extensions":["pwn"]},"application/vnd.accpac.simply.aso":{"source":"iana","extensions":["aso"]},"application/vnd.accpac.simply.imp":{"source":"iana","extensions":["imp"]},"application/vnd.acm.addressxfer+json":{"source":"iana","compressible":true},"application/vnd.acm.chatbot+json":{"source":"iana","compressible":true},"application/vnd.acucobol":{"source":"iana","extensions":["acu"]},"application/vnd.acucorp":{"source":"iana","extensions":["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{"source":"apache","compressible":false,"extensions":["air"]},"application/vnd.adobe.flash.movie":{"source":"iana"},"application/vnd.adobe.formscentral.fcdt":{"source":"iana","extensions":["fcdt"]},"application/vnd.adobe.fxp":{"source":"iana","extensions":["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{"source":"iana"},"application/vnd.adobe.xdp+xml":{"source":"iana","compressible":true,"extensions":["xdp"]},"application/vnd.adobe.xfdf":{"source":"apache","extensions":["xfdf"]},"application/vnd.aether.imp":{"source":"iana"},"application/vnd.afpc.afplinedata":{"source":"iana"},"application/vnd.afpc.afplinedata-pagedef":{"source":"iana"},"application/vnd.afpc.cmoca-cmresource":{"source":"iana"},"application/vnd.afpc.foca-charset":{"source":"iana"},"application/vnd.afpc.foca-codedfont":{"source":"iana"},"application/vnd.afpc.foca-codepage":{"source":"iana"},"application/vnd.afpc.modca":{"source":"iana"},"application/vnd.afpc.modca-cmtable":{"source":"iana"},"application/vnd.afpc.modca-formdef":{"source":"iana"},"application/vnd.afpc.modca-mediummap":{"source":"iana"},"application/vnd.afpc.modca-objectcontainer":{"source":"iana"},"application/vnd.afpc.modca-overlay":{"source":"iana"},"application/vnd.afpc.modca-pagesegment":{"source":"iana"},"application/vnd.age":{"source":"iana","extensions":["age"]},"application/vnd.ah-barcode":{"source":"apache"},"application/vnd.ahead.space":{"source":"iana","extensions":["ahead"]},"application/vnd.airzip.filesecure.azf":{"source":"iana","extensions":["azf"]},"application/vnd.airzip.filesecure.azs":{"source":"iana","extensions":["azs"]},"application/vnd.amadeus+json":{"source":"iana","compressible":true},"application/vnd.amazon.ebook":{"source":"apache","extensions":["azw"]},"application/vnd.amazon.mobi8-ebook":{"source":"iana"},"application/vnd.americandynamics.acc":{"source":"iana","extensions":["acc"]},"application/vnd.amiga.ami":{"source":"iana","extensions":["ami"]},"application/vnd.amundsen.maze+xml":{"source":"iana","compressible":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"extensions":["apk"]},"application/vnd.anki":{"source":"iana"},"application/vnd.anser-web-certificate-issue-initiation":{"source":"iana","extensions":["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{"source":"apache","extensions":["fti"]},"application/vnd.antix.game-component":{"source":"iana","extensions":["atx"]},"application/vnd.apache.arrow.file":{"source":"iana"},"application/vnd.apache.arrow.stream":{"source":"iana"},"application/vnd.apache.parquet":{"source":"iana"},"application/vnd.apache.thrift.binary":{"source":"iana"},"application/vnd.apache.thrift.compact":{"source":"iana"},"application/vnd.apache.thrift.json":{"source":"iana"},"application/vnd.apexlang":{"source":"iana"},"application/vnd.api+json":{"source":"iana","compressible":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"extensions":["mpkg"]},"application/vnd.apple.keynote":{"source":"iana","extensions":["key"]},"application/vnd.apple.mpegurl":{"source":"iana","extensions":["m3u8"]},"application/vnd.apple.numbers":{"source":"iana","extensions":["numbers"]},"application/vnd.apple.pages":{"source":"iana","extensions":["pages"]},"application/vnd.apple.pkpass":{"compressible":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"apache"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"application/vnd.artsquare":{"source":"iana"},"application/vnd.astraea-software.iota":{"source":"iana","extensions":["iota"]},"application/vnd.audiograph":{"source":"iana","extensions":["aep"]},"application/vnd.autodesk.fbx":{"extensions":["fbx"]},"application/vnd.autopackage":{"source":"iana"},"application/vnd.avalon+json":{"source":"iana","compressible":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"extensions":["bmml"]},"application/vnd.balsamiq.bmpr":{"source":"iana"},"application/vnd.banana-accounting":{"source":"iana"},"application/vnd.bbf.usp.error":{"source":"iana"},"application/vnd.bbf.usp.msg":{"source":"iana"},"application/vnd.bbf.usp.msg+json":{"source":"iana","compressible":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.belightsoft.lhzd+zip":{"source":"iana","compressible":false},"application/vnd.belightsoft.lhzl+zip":{"source":"iana","compressible":false},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"application/vnd.blink-idb-value-wrapper":{"source":"iana"},"application/vnd.blueice.multipass":{"source":"iana","extensions":["mpm"]},"application/vnd.bluetooth.ep.oob":{"source":"iana"},"application/vnd.bluetooth.le.oob":{"source":"iana"},"application/vnd.bmi":{"source":"iana","extensions":["bmi"]},"application/vnd.bpf":{"source":"iana"},"application/vnd.bpf3":{"source":"iana"},"application/vnd.businessobjects":{"source":"iana","extensions":["rep"]},"application/vnd.byu.uapi+json":{"source":"iana","compressible":true},"application/vnd.bzip3":{"source":"iana"},"application/vnd.c3voc.schedule+xml":{"source":"iana","compressible":true},"application/vnd.cab-jscript":{"source":"iana"},"application/vnd.canon-cpdl":{"source":"iana"},"application/vnd.canon-lips":{"source":"iana"},"application/vnd.capasystems-pg+json":{"source":"iana","compressible":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"extensions":["cdxml"]},"application/vnd.chess-pgn":{"source":"iana"},"application/vnd.chipnuts.karaoke-mmd":{"source":"iana","extensions":["mmd"]},"application/vnd.ciedi":{"source":"iana"},"application/vnd.cinderella":{"source":"iana","extensions":["cdy"]},"application/vnd.cirpack.isdn-ext":{"source":"iana"},"application/vnd.citationstyles.style+xml":{"source":"iana","compressible":true,"extensions":["csl"]},"application/vnd.claymore":{"source":"iana","extensions":["cla"]},"application/vnd.cloanto.rp9":{"source":"iana","extensions":["rp9"]},"application/vnd.clonk.c4group":{"source":"iana","extensions":["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{"source":"iana","extensions":["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{"source":"iana","extensions":["c11amz"]},"application/vnd.cncf.helm.chart.content.v1.tar+gzip":{"source":"iana"},"application/vnd.cncf.helm.chart.provenance.v1.prov":{"source":"iana"},"application/vnd.cncf.helm.config.v1+json":{"source":"iana","compressible":true},"application/vnd.coffeescript":{"source":"iana"},"application/vnd.collabio.xodocuments.document":{"source":"iana"},"application/vnd.collabio.xodocuments.document-template":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation-template":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{"source":"iana"},"application/vnd.collection+json":{"source":"iana","compressible":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"application/vnd.comicbook-rar":{"source":"iana"},"application/vnd.commerce-battelle":{"source":"iana"},"application/vnd.commonspace":{"source":"iana","extensions":["csp"]},"application/vnd.contact.cmsg":{"source":"iana","extensions":["cdbcmsg"]},"application/vnd.coreos.ignition+json":{"source":"iana","compressible":true},"application/vnd.cosmocaller":{"source":"iana","extensions":["cmc"]},"application/vnd.crick.clicker":{"source":"iana","extensions":["clkx"]},"application/vnd.crick.clicker.keyboard":{"source":"iana","extensions":["clkk"]},"application/vnd.crick.clicker.palette":{"source":"iana","extensions":["clkp"]},"application/vnd.crick.clicker.template":{"source":"iana","extensions":["clkt"]},"application/vnd.crick.clicker.wordbank":{"source":"iana","extensions":["clkw"]},"application/vnd.criticaltools.wbs+xml":{"source":"iana","compressible":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"application/vnd.crypto-shade-file":{"source":"iana"},"application/vnd.cryptomator.encrypted":{"source":"iana"},"application/vnd.cryptomator.vault":{"source":"iana"},"application/vnd.ctc-posml":{"source":"iana","extensions":["pml"]},"application/vnd.ctct.ws+xml":{"source":"iana","compressible":true},"application/vnd.cups-pdf":{"source":"iana"},"application/vnd.cups-postscript":{"source":"iana"},"application/vnd.cups-ppd":{"source":"iana","extensions":["ppd"]},"application/vnd.cups-raster":{"source":"iana"},"application/vnd.cups-raw":{"source":"iana"},"application/vnd.curl":{"source":"iana"},"application/vnd.curl.car":{"source":"apache","extensions":["car"]},"application/vnd.curl.pcurl":{"source":"apache","extensions":["pcurl"]},"application/vnd.cyan.dean.root+xml":{"source":"iana","compressible":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datalog":{"source":"iana"},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"application/vnd.dbf":{"source":"iana","extensions":["dbf"]},"application/vnd.dcmp+xml":{"source":"iana","compressible":true,"extensions":["dcmp"]},"application/vnd.debian.binary-package":{"source":"iana"},"application/vnd.dece.data":{"source":"iana","extensions":["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{"source":"iana","compressible":true,"extensions":["uvt","uvvt"]},"application/vnd.dece.unspecified":{"source":"iana","extensions":["uvx","uvvx"]},"application/vnd.dece.zip":{"source":"iana","extensions":["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{"source":"iana","extensions":["fe_launch"]},"application/vnd.desmume.movie":{"source":"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{"source":"iana"},"application/vnd.dm.delegation+xml":{"source":"iana","compressible":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"application/vnd.dolby.mlp":{"source":"apache","extensions":["mlp"]},"application/vnd.dolby.mobile.1":{"source":"iana"},"application/vnd.dolby.mobile.2":{"source":"iana"},"application/vnd.doremir.scorecloud-binary-document":{"source":"iana"},"application/vnd.dpgraph":{"source":"iana","extensions":["dpg"]},"application/vnd.dreamfactory":{"source":"iana","extensions":["dfac"]},"application/vnd.drive+json":{"source":"iana","compressible":true},"application/vnd.ds-keypoint":{"source":"apache","extensions":["kpxx"]},"application/vnd.dtg.local":{"source":"iana"},"application/vnd.dtg.local.flash":{"source":"iana"},"application/vnd.dtg.local.html":{"source":"iana"},"application/vnd.dvb.ait":{"source":"iana","extensions":["ait"]},"application/vnd.dvb.dvbisl+xml":{"source":"iana","compressible":true},"application/vnd.dvb.dvbj":{"source":"iana"},"application/vnd.dvb.esgcontainer":{"source":"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess2":{"source":"iana"},"application/vnd.dvb.ipdcesgpdd":{"source":"iana"},"application/vnd.dvb.ipdcroaming":{"source":"iana"},"application/vnd.dvb.iptv.alfec-base":{"source":"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{"source":"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"application/vnd.dvb.pfr":{"source":"iana"},"application/vnd.dvb.service":{"source":"iana","extensions":["svc"]},"application/vnd.dxr":{"source":"iana"},"application/vnd.dynageo":{"source":"iana","extensions":["geo"]},"application/vnd.dzr":{"source":"iana"},"application/vnd.easykaraoke.cdgdownload":{"source":"iana"},"application/vnd.ecdis-update":{"source":"iana"},"application/vnd.ecip.rlp":{"source":"iana"},"application/vnd.eclipse.ditto+json":{"source":"iana","compressible":true},"application/vnd.ecowin.chart":{"source":"iana","extensions":["mag"]},"application/vnd.ecowin.filerequest":{"source":"iana"},"application/vnd.ecowin.fileupdate":{"source":"iana"},"application/vnd.ecowin.series":{"source":"iana"},"application/vnd.ecowin.seriesrequest":{"source":"iana"},"application/vnd.ecowin.seriesupdate":{"source":"iana"},"application/vnd.efi.img":{"source":"iana"},"application/vnd.efi.iso":{"source":"iana"},"application/vnd.eln+zip":{"source":"iana","compressible":false},"application/vnd.emclient.accessrequest+xml":{"source":"iana","compressible":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"application/vnd.epson.esf":{"source":"iana","extensions":["esf"]},"application/vnd.epson.msf":{"source":"iana","extensions":["msf"]},"application/vnd.epson.quickanime":{"source":"iana","extensions":["qam"]},"application/vnd.epson.salt":{"source":"iana","extensions":["slt"]},"application/vnd.epson.ssf":{"source":"iana","extensions":["ssf"]},"application/vnd.ericsson.quickcall":{"source":"iana"},"application/vnd.erofs":{"source":"iana"},"application/vnd.espass-espass+zip":{"source":"iana","compressible":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eu.kasparian.car+json":{"source":"iana","compressible":true},"application/vnd.eudora.data":{"source":"iana"},"application/vnd.evolv.ecig.profile":{"source":"iana"},"application/vnd.evolv.ecig.settings":{"source":"iana"},"application/vnd.evolv.ecig.theme":{"source":"iana"},"application/vnd.exstream-empower+zip":{"source":"iana","compressible":false},"application/vnd.exstream-package":{"source":"iana"},"application/vnd.ezpix-album":{"source":"iana","extensions":["ez2"]},"application/vnd.ezpix-package":{"source":"iana","extensions":["ez3"]},"application/vnd.f-secure.mobile":{"source":"iana"},"application/vnd.familysearch.gedcom+zip":{"source":"iana","compressible":false},"application/vnd.fastcopy-disk-image":{"source":"iana"},"application/vnd.fdf":{"source":"apache","extensions":["fdf"]},"application/vnd.fdsn.mseed":{"source":"iana","extensions":["mseed"]},"application/vnd.fdsn.seed":{"source":"iana","extensions":["seed","dataless"]},"application/vnd.fdsn.stationxml+xml":{"source":"iana","charset":"XML-BASED","compressible":true},"application/vnd.ffsns":{"source":"iana"},"application/vnd.ficlab.flb+zip":{"source":"iana","compressible":false},"application/vnd.filmit.zfc":{"source":"iana"},"application/vnd.fints":{"source":"iana"},"application/vnd.firemonkeys.cloudcell":{"source":"iana"},"application/vnd.flographit":{"source":"iana","extensions":["gph"]},"application/vnd.fluxtime.clip":{"source":"iana","extensions":["ftc"]},"application/vnd.font-fontforge-sfd":{"source":"iana"},"application/vnd.framemaker":{"source":"iana","extensions":["fm","frame","maker","book"]},"application/vnd.freelog.comic":{"source":"iana"},"application/vnd.frogans.fnc":{"source":"apache","extensions":["fnc"]},"application/vnd.frogans.ltf":{"source":"apache","extensions":["ltf"]},"application/vnd.fsc.weblaunch":{"source":"iana","extensions":["fsc"]},"application/vnd.fujifilm.fb.docuworks":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.container":{"source":"iana"},"application/vnd.fujifilm.fb.jfi+xml":{"source":"iana","compressible":true},"application/vnd.fujitsu.oasys":{"source":"iana","extensions":["oas"]},"application/vnd.fujitsu.oasys2":{"source":"iana","extensions":["oa2"]},"application/vnd.fujitsu.oasys3":{"source":"iana","extensions":["oa3"]},"application/vnd.fujitsu.oasysgp":{"source":"iana","extensions":["fg5"]},"application/vnd.fujitsu.oasysprs":{"source":"iana","extensions":["bh2"]},"application/vnd.fujixerox.art-ex":{"source":"iana"},"application/vnd.fujixerox.art4":{"source":"iana"},"application/vnd.fujixerox.ddd":{"source":"iana","extensions":["ddd"]},"application/vnd.fujixerox.docuworks":{"source":"iana","extensions":["xdw"]},"application/vnd.fujixerox.docuworks.binder":{"source":"iana","extensions":["xbd"]},"application/vnd.fujixerox.docuworks.container":{"source":"iana"},"application/vnd.fujixerox.hbpl":{"source":"iana"},"application/vnd.fut-misnet":{"source":"iana"},"application/vnd.futoin+cbor":{"source":"iana"},"application/vnd.futoin+json":{"source":"iana","compressible":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.ga4gh.passport+jwt":{"source":"iana"},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.genozip":{"source":"iana"},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.gentoo.catmetadata+xml":{"source":"iana","compressible":true},"application/vnd.gentoo.ebuild":{"source":"iana"},"application/vnd.gentoo.eclass":{"source":"iana"},"application/vnd.gentoo.gpkg":{"source":"iana"},"application/vnd.gentoo.manifest":{"source":"iana"},"application/vnd.gentoo.pkgmetadata+xml":{"source":"iana","compressible":true},"application/vnd.gentoo.xpak":{"source":"iana"},"application/vnd.geo+json":{"source":"apache","compressible":true},"application/vnd.geocube+xml":{"source":"apache","compressible":true},"application/vnd.geogebra.file":{"source":"iana","extensions":["ggb"]},"application/vnd.geogebra.pinboard":{"source":"iana"},"application/vnd.geogebra.slides":{"source":"iana","extensions":["ggs"]},"application/vnd.geogebra.tool":{"source":"iana","extensions":["ggt"]},"application/vnd.geometry-explorer":{"source":"iana","extensions":["gex","gre"]},"application/vnd.geonext":{"source":"iana","extensions":["gxt"]},"application/vnd.geoplan":{"source":"iana","extensions":["g2w"]},"application/vnd.geospace":{"source":"iana","extensions":["g3w"]},"application/vnd.gerber":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt-response":{"source":"iana"},"application/vnd.gmx":{"source":"iana","extensions":["gmx"]},"application/vnd.gnu.taler.exchange+json":{"source":"iana","compressible":true},"application/vnd.gnu.taler.merchant+json":{"source":"iana","compressible":true},"application/vnd.google-apps.audio":{},"application/vnd.google-apps.document":{"compressible":false,"extensions":["gdoc"]},"application/vnd.google-apps.drawing":{"compressible":false,"extensions":["gdraw"]},"application/vnd.google-apps.drive-sdk":{"compressible":false},"application/vnd.google-apps.file":{},"application/vnd.google-apps.folder":{"compressible":false},"application/vnd.google-apps.form":{"compressible":false,"extensions":["gform"]},"application/vnd.google-apps.fusiontable":{},"application/vnd.google-apps.jam":{"compressible":false,"extensions":["gjam"]},"application/vnd.google-apps.mail-layout":{},"application/vnd.google-apps.map":{"compressible":false,"extensions":["gmap"]},"application/vnd.google-apps.photo":{},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.script":{"compressible":false,"extensions":["gscript"]},"application/vnd.google-apps.shortcut":{},"application/vnd.google-apps.site":{"compressible":false,"extensions":["gsite"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-apps.unknown":{},"application/vnd.google-apps.video":{},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"apache","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true,"extensions":["xdcf"]},"application/vnd.gpxsee.map+xml":{"source":"iana","compressible":true},"application/vnd.grafeq":{"source":"iana","extensions":["gqf","gqs"]},"application/vnd.gridmp":{"source":"iana"},"application/vnd.groove-account":{"source":"iana","extensions":["gac"]},"application/vnd.groove-help":{"source":"iana","extensions":["ghf"]},"application/vnd.groove-identity-message":{"source":"iana","extensions":["gim"]},"application/vnd.groove-injector":{"source":"iana","extensions":["grv"]},"application/vnd.groove-tool-message":{"source":"iana","extensions":["gtm"]},"application/vnd.groove-tool-template":{"source":"iana","extensions":["tpl"]},"application/vnd.groove-vcard":{"source":"iana","extensions":["vcg"]},"application/vnd.hal+json":{"source":"iana","compressible":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hp-hpgl":{"source":"iana","extensions":["hpgl"]},"application/vnd.hp-hpid":{"source":"iana","extensions":["hpid"]},"application/vnd.hp-hps":{"source":"iana","extensions":["hps"]},"application/vnd.hp-jlyt":{"source":"iana","extensions":["jlt"]},"application/vnd.hp-pcl":{"source":"iana","extensions":["pcl"]},"application/vnd.hp-pclxl":{"source":"iana","extensions":["pclxl"]},"application/vnd.hsl":{"source":"iana"},"application/vnd.httphone":{"source":"iana"},"application/vnd.hydrostatix.sof-data":{"source":"iana","extensions":["sfd-hdstx"]},"application/vnd.hyper+json":{"source":"iana","compressible":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"application/vnd.hzn-3d-crossword":{"source":"iana"},"application/vnd.ibm.afplinedata":{"source":"apache"},"application/vnd.ibm.electronic-media":{"source":"iana"},"application/vnd.ibm.minipay":{"source":"iana","extensions":["mpy"]},"application/vnd.ibm.modcap":{"source":"apache","extensions":["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{"source":"iana","extensions":["irm"]},"application/vnd.ibm.secure-container":{"source":"iana","extensions":["sc"]},"application/vnd.iccprofile":{"source":"iana","extensions":["icc","icm"]},"application/vnd.ieee.1905":{"source":"iana"},"application/vnd.igloader":{"source":"iana","extensions":["igl"]},"application/vnd.imagemeter.folder+zip":{"source":"iana","compressible":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"application/vnd.immervision-ivp":{"source":"iana","extensions":["ivp"]},"application/vnd.immervision-ivu":{"source":"iana","extensions":["ivu"]},"application/vnd.ims.imsccv1p1":{"source":"iana"},"application/vnd.ims.imsccv1p2":{"source":"iana"},"application/vnd.ims.imsccv1p3":{"source":"iana"},"application/vnd.ims.lis.v2.result+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"apache"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"application/vnd.innopath.wamp.notification":{"source":"iana"},"application/vnd.insors.igm":{"source":"iana","extensions":["igm"]},"application/vnd.intercon.formnet":{"source":"iana","extensions":["xpw","xpx"]},"application/vnd.intergeo":{"source":"iana","extensions":["i2g"]},"application/vnd.intertrust.digibox":{"source":"iana"},"application/vnd.intertrust.nncp":{"source":"iana"},"application/vnd.intu.qbo":{"source":"iana","extensions":["qbo"]},"application/vnd.intu.qfx":{"source":"iana","extensions":["qfx"]},"application/vnd.ipfs.ipns-record":{"source":"iana"},"application/vnd.ipld.car":{"source":"iana"},"application/vnd.ipld.dag-cbor":{"source":"iana"},"application/vnd.ipld.dag-json":{"source":"iana"},"application/vnd.ipld.raw":{"source":"iana"},"application/vnd.iptc.g2.catalogitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"extensions":["irp"]},"application/vnd.is-xpr":{"source":"iana","extensions":["xpr"]},"application/vnd.isac.fcs":{"source":"iana","extensions":["fcs"]},"application/vnd.iso11783-10+zip":{"source":"iana","compressible":false},"application/vnd.jam":{"source":"iana","extensions":["jam"]},"application/vnd.japannet-directory-service":{"source":"iana"},"application/vnd.japannet-jpnstore-wakeup":{"source":"iana"},"application/vnd.japannet-payment-wakeup":{"source":"iana"},"application/vnd.japannet-registration":{"source":"iana"},"application/vnd.japannet-registration-wakeup":{"source":"iana"},"application/vnd.japannet-setstore-wakeup":{"source":"iana"},"application/vnd.japannet-verification":{"source":"iana"},"application/vnd.japannet-verification-wakeup":{"source":"iana"},"application/vnd.jcp.javame.midlet-rms":{"source":"iana","extensions":["rms"]},"application/vnd.jisp":{"source":"iana","extensions":["jisp"]},"application/vnd.joost.joda-archive":{"source":"iana","extensions":["joda"]},"application/vnd.jsk.isdn-ngn":{"source":"iana"},"application/vnd.kahootz":{"source":"iana","extensions":["ktz","ktr"]},"application/vnd.kde.karbon":{"source":"iana","extensions":["karbon"]},"application/vnd.kde.kchart":{"source":"iana","extensions":["chrt"]},"application/vnd.kde.kformula":{"source":"iana","extensions":["kfo"]},"application/vnd.kde.kivio":{"source":"iana","extensions":["flw"]},"application/vnd.kde.kontour":{"source":"iana","extensions":["kon"]},"application/vnd.kde.kpresenter":{"source":"iana","extensions":["kpr","kpt"]},"application/vnd.kde.kspread":{"source":"iana","extensions":["ksp"]},"application/vnd.kde.kword":{"source":"iana","extensions":["kwd","kwt"]},"application/vnd.kdl":{"source":"iana"},"application/vnd.kenameaapp":{"source":"iana","extensions":["htke"]},"application/vnd.keyman.kmp+zip":{"source":"iana","compressible":false},"application/vnd.keyman.kmx":{"source":"iana"},"application/vnd.kidspiration":{"source":"iana","extensions":["kia"]},"application/vnd.kinar":{"source":"iana","extensions":["kne","knp"]},"application/vnd.koan":{"source":"iana","extensions":["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{"source":"iana","extensions":["sse"]},"application/vnd.las":{"source":"iana"},"application/vnd.las.las+json":{"source":"iana","compressible":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.ldev.productlicensing":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"application/vnd.loom":{"source":"iana"},"application/vnd.lotus-1-2-3":{"source":"iana","extensions":["123"]},"application/vnd.lotus-approach":{"source":"iana","extensions":["apr"]},"application/vnd.lotus-freelance":{"source":"iana","extensions":["pre"]},"application/vnd.lotus-notes":{"source":"iana","extensions":["nsf"]},"application/vnd.lotus-organizer":{"source":"iana","extensions":["org"]},"application/vnd.lotus-screencam":{"source":"iana","extensions":["scm"]},"application/vnd.lotus-wordpro":{"source":"iana","extensions":["lwp"]},"application/vnd.macports.portpkg":{"source":"iana","extensions":["portpkg"]},"application/vnd.mapbox-vector-tile":{"source":"iana","extensions":["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxar.archive.3tz+zip":{"source":"iana","compressible":false},"application/vnd.maxmind.maxmind-db":{"source":"iana"},"application/vnd.mcd":{"source":"iana","extensions":["mcd"]},"application/vnd.mdl":{"source":"iana"},"application/vnd.mdl-mbsdf":{"source":"iana"},"application/vnd.medcalcdata":{"source":"iana","extensions":["mc1"]},"application/vnd.mediastation.cdkey":{"source":"iana","extensions":["cdkey"]},"application/vnd.medicalholodeck.recordxr":{"source":"iana"},"application/vnd.meridian-slingshot":{"source":"iana"},"application/vnd.mermaid":{"source":"iana"},"application/vnd.mfer":{"source":"iana","extensions":["mwf"]},"application/vnd.mfmp":{"source":"iana","extensions":["mfm"]},"application/vnd.micro+json":{"source":"iana","compressible":true},"application/vnd.micrografx.flo":{"source":"iana","extensions":["flo"]},"application/vnd.micrografx.igx":{"source":"iana","extensions":["igx"]},"application/vnd.microsoft.portable-executable":{"source":"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{"source":"iana"},"application/vnd.miele+json":{"source":"iana","compressible":true},"application/vnd.mif":{"source":"iana","extensions":["mif"]},"application/vnd.minisoft-hp3000-save":{"source":"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{"source":"iana"},"application/vnd.mobius.daf":{"source":"iana","extensions":["daf"]},"application/vnd.mobius.dis":{"source":"iana","extensions":["dis"]},"application/vnd.mobius.mbk":{"source":"iana","extensions":["mbk"]},"application/vnd.mobius.mqy":{"source":"iana","extensions":["mqy"]},"application/vnd.mobius.msl":{"source":"iana","extensions":["msl"]},"application/vnd.mobius.plc":{"source":"iana","extensions":["plc"]},"application/vnd.mobius.txf":{"source":"iana","extensions":["txf"]},"application/vnd.modl":{"source":"iana"},"application/vnd.mophun.application":{"source":"iana","extensions":["mpn"]},"application/vnd.mophun.certificate":{"source":"iana","extensions":["mpc"]},"application/vnd.motorola.flexsuite":{"source":"iana"},"application/vnd.motorola.flexsuite.adsi":{"source":"iana"},"application/vnd.motorola.flexsuite.fis":{"source":"iana"},"application/vnd.motorola.flexsuite.gotap":{"source":"iana"},"application/vnd.motorola.flexsuite.kmr":{"source":"iana"},"application/vnd.motorola.flexsuite.ttc":{"source":"iana"},"application/vnd.motorola.flexsuite.wem":{"source":"iana"},"application/vnd.motorola.iprm":{"source":"iana"},"application/vnd.mozilla.xul+xml":{"source":"iana","compressible":true,"extensions":["xul"]},"application/vnd.ms-3mfdocument":{"source":"iana"},"application/vnd.ms-artgalry":{"source":"iana","extensions":["cil"]},"application/vnd.ms-asf":{"source":"iana"},"application/vnd.ms-cab-compressed":{"source":"iana","extensions":["cab"]},"application/vnd.ms-color.iccprofile":{"source":"apache"},"application/vnd.ms-excel":{"source":"iana","compressible":false,"extensions":["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{"source":"iana","extensions":["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{"source":"iana","extensions":["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{"source":"iana","extensions":["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{"source":"iana","extensions":["xltm"]},"application/vnd.ms-fontobject":{"source":"iana","compressible":true,"extensions":["eot"]},"application/vnd.ms-htmlhelp":{"source":"iana","extensions":["chm"]},"application/vnd.ms-ims":{"source":"iana","extensions":["ims"]},"application/vnd.ms-lrm":{"source":"iana","extensions":["lrm"]},"application/vnd.ms-office.activex+xml":{"source":"iana","compressible":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"extensions":["msg"]},"application/vnd.ms-package.obfuscated-opentype":{"source":"apache"},"application/vnd.ms-pki.seccat":{"source":"apache","extensions":["cat"]},"application/vnd.ms-pki.stl":{"source":"apache","extensions":["stl"]},"application/vnd.ms-playready.initiator+xml":{"source":"iana","compressible":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"extensions":["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{"source":"iana","extensions":["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{"source":"iana","extensions":["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{"source":"iana","extensions":["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{"source":"iana","extensions":["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{"source":"iana","extensions":["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{"source":"iana","compressible":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"application/vnd.ms-project":{"source":"iana","extensions":["mpp","mpt"]},"application/vnd.ms-tnef":{"source":"iana"},"application/vnd.ms-visio.viewer":{"extensions":["vdx"]},"application/vnd.ms-windows.devicepairing":{"source":"iana"},"application/vnd.ms-windows.nwprinting.oob":{"source":"iana"},"application/vnd.ms-windows.printerpairing":{"source":"iana"},"application/vnd.ms-windows.wsd.oob":{"source":"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.lic-resp":{"source":"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.meter-resp":{"source":"iana"},"application/vnd.ms-word.document.macroenabled.12":{"source":"iana","extensions":["docm"]},"application/vnd.ms-word.template.macroenabled.12":{"source":"iana","extensions":["dotm"]},"application/vnd.ms-works":{"source":"iana","extensions":["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{"source":"iana","extensions":["wpl"]},"application/vnd.ms-xpsdocument":{"source":"iana","compressible":false,"extensions":["xps"]},"application/vnd.msa-disk-image":{"source":"iana"},"application/vnd.mseq":{"source":"iana","extensions":["mseq"]},"application/vnd.msgpack":{"source":"iana"},"application/vnd.msign":{"source":"iana"},"application/vnd.multiad.creator":{"source":"iana"},"application/vnd.multiad.creator.cif":{"source":"iana"},"application/vnd.music-niff":{"source":"iana"},"application/vnd.musician":{"source":"iana","extensions":["mus"]},"application/vnd.muvee.style":{"source":"iana","extensions":["msty"]},"application/vnd.mynfc":{"source":"iana","extensions":["taglet"]},"application/vnd.nacamar.ybrid+json":{"source":"iana","compressible":true},"application/vnd.nato.bindingdataobject+cbor":{"source":"iana"},"application/vnd.nato.bindingdataobject+json":{"source":"iana","compressible":true},"application/vnd.nato.bindingdataobject+xml":{"source":"iana","compressible":true,"extensions":["bdo"]},"application/vnd.nato.openxmlformats-package.iepd+zip":{"source":"iana","compressible":false},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"application/vnd.nebumind.line":{"source":"iana"},"application/vnd.nervana":{"source":"iana"},"application/vnd.netfpx":{"source":"iana"},"application/vnd.neurolanguage.nlu":{"source":"iana","extensions":["nlu"]},"application/vnd.nimn":{"source":"iana"},"application/vnd.nintendo.nitro.rom":{"source":"iana"},"application/vnd.nintendo.snes.rom":{"source":"iana"},"application/vnd.nitf":{"source":"iana","extensions":["ntf","nitf"]},"application/vnd.noblenet-directory":{"source":"iana","extensions":["nnd"]},"application/vnd.noblenet-sealer":{"source":"iana","extensions":["nns"]},"application/vnd.noblenet-web":{"source":"iana","extensions":["nnw"]},"application/vnd.nokia.catalogs":{"source":"iana"},"application/vnd.nokia.conml+wbxml":{"source":"iana"},"application/vnd.nokia.conml+xml":{"source":"iana","compressible":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"extensions":["ac"]},"application/vnd.nokia.n-gage.data":{"source":"iana","extensions":["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{"source":"apache","extensions":["n-gage"]},"application/vnd.nokia.ncd":{"source":"iana"},"application/vnd.nokia.pcd+wbxml":{"source":"iana"},"application/vnd.nokia.pcd+xml":{"source":"iana","compressible":true},"application/vnd.nokia.radio-preset":{"source":"iana","extensions":["rpst"]},"application/vnd.nokia.radio-presets":{"source":"iana","extensions":["rpss"]},"application/vnd.novadigm.edm":{"source":"iana","extensions":["edm"]},"application/vnd.novadigm.edx":{"source":"iana","extensions":["edx"]},"application/vnd.novadigm.ext":{"source":"iana","extensions":["ext"]},"application/vnd.ntt-local.content-share":{"source":"iana"},"application/vnd.ntt-local.file-transfer":{"source":"iana"},"application/vnd.ntt-local.ogw_remote-access":{"source":"iana"},"application/vnd.ntt-local.sip-ta_remote":{"source":"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{"source":"iana"},"application/vnd.oai.workflows":{"source":"iana"},"application/vnd.oai.workflows+json":{"source":"iana","compressible":true},"application/vnd.oai.workflows+yaml":{"source":"iana"},"application/vnd.oasis.opendocument.base":{"source":"iana"},"application/vnd.oasis.opendocument.chart":{"source":"iana","extensions":["odc"]},"application/vnd.oasis.opendocument.chart-template":{"source":"iana","extensions":["otc"]},"application/vnd.oasis.opendocument.database":{"source":"apache","extensions":["odb"]},"application/vnd.oasis.opendocument.formula":{"source":"iana","extensions":["odf"]},"application/vnd.oasis.opendocument.formula-template":{"source":"iana","extensions":["odft"]},"application/vnd.oasis.opendocument.graphics":{"source":"iana","compressible":false,"extensions":["odg"]},"application/vnd.oasis.opendocument.graphics-template":{"source":"iana","extensions":["otg"]},"application/vnd.oasis.opendocument.image":{"source":"iana","extensions":["odi"]},"application/vnd.oasis.opendocument.image-template":{"source":"iana","extensions":["oti"]},"application/vnd.oasis.opendocument.presentation":{"source":"iana","compressible":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"extensions":["odt"]},"application/vnd.oasis.opendocument.text-master":{"source":"iana","extensions":["odm"]},"application/vnd.oasis.opendocument.text-master-template":{"source":"iana"},"application/vnd.oasis.opendocument.text-template":{"source":"iana","extensions":["ott"]},"application/vnd.oasis.opendocument.text-web":{"source":"iana","extensions":["oth"]},"application/vnd.obn":{"source":"iana"},"application/vnd.ocf+cbor":{"source":"iana"},"application/vnd.oci.image.manifest.v1+json":{"source":"iana","compressible":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"application/vnd.olpc-sugar":{"source":"iana","extensions":["xo"]},"application/vnd.oma-scws-config":{"source":"iana"},"application/vnd.oma-scws-http-request":{"source":"iana"},"application/vnd.oma-scws-http-response":{"source":"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"apache","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sgdu":{"source":"iana"},"application/vnd.oma.bcast.simple-symbol-container":{"source":"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{"source":"apache","compressible":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+cbor":{"source":"iana"},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omaloc-supl-init":{"source":"iana"},"application/vnd.onepager":{"source":"iana"},"application/vnd.onepagertamp":{"source":"iana"},"application/vnd.onepagertamx":{"source":"iana"},"application/vnd.onepagertat":{"source":"iana"},"application/vnd.onepagertatp":{"source":"iana"},"application/vnd.onepagertatx":{"source":"iana"},"application/vnd.onvif.metadata":{"source":"iana"},"application/vnd.openblox.game+xml":{"source":"iana","compressible":true,"extensions":["obgx"]},"application/vnd.openblox.game-binary":{"source":"iana"},"application/vnd.openeye.oeb":{"source":"iana"},"application/vnd.openofficeorg.extension":{"source":"apache","extensions":["oxt"]},"application/vnd.openstreetmap.data+xml":{"source":"iana","compressible":true,"extensions":["osm"]},"application/vnd.opentimestamps.ots":{"source":"iana"},"application/vnd.openvpi.dspx+json":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"application/vnd.orange.indata":{"source":"iana"},"application/vnd.osa.netdeploy":{"source":"iana"},"application/vnd.osgeo.mapguide.package":{"source":"iana","extensions":["mgp"]},"application/vnd.osgi.bundle":{"source":"iana"},"application/vnd.osgi.dp":{"source":"iana","extensions":["dp"]},"application/vnd.osgi.subsystem":{"source":"iana","extensions":["esa"]},"application/vnd.otps.ct-kip+xml":{"source":"iana","compressible":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"application/vnd.palm":{"source":"iana","extensions":["pdb","pqa","oprc"]},"application/vnd.panoply":{"source":"iana"},"application/vnd.paos.xml":{"source":"iana"},"application/vnd.patentdive":{"source":"iana"},"application/vnd.patientecommsdoc":{"source":"iana"},"application/vnd.pawaafile":{"source":"iana","extensions":["paw"]},"application/vnd.pcos":{"source":"iana"},"application/vnd.pg.format":{"source":"iana","extensions":["str"]},"application/vnd.pg.osasli":{"source":"iana","extensions":["ei6"]},"application/vnd.piaccess.application-licence":{"source":"iana"},"application/vnd.picsel":{"source":"iana","extensions":["efif"]},"application/vnd.pmi.widget":{"source":"iana","extensions":["wg"]},"application/vnd.poc.group-advertisement+xml":{"source":"iana","compressible":true},"application/vnd.pocketlearn":{"source":"iana","extensions":["plf"]},"application/vnd.powerbuilder6":{"source":"iana","extensions":["pbd"]},"application/vnd.powerbuilder6-s":{"source":"iana"},"application/vnd.powerbuilder7":{"source":"iana"},"application/vnd.powerbuilder7-s":{"source":"iana"},"application/vnd.powerbuilder75":{"source":"iana"},"application/vnd.powerbuilder75-s":{"source":"iana"},"application/vnd.preminet":{"source":"iana"},"application/vnd.previewsystems.box":{"source":"iana","extensions":["box"]},"application/vnd.procrate.brushset":{"extensions":["brushset"]},"application/vnd.procreate.brush":{"extensions":["brush"]},"application/vnd.procreate.dream":{"extensions":["drm"]},"application/vnd.proteus.magazine":{"source":"iana","extensions":["mgz"]},"application/vnd.psfs":{"source":"iana"},"application/vnd.pt.mundusmundi":{"source":"iana"},"application/vnd.publishare-delta-tree":{"source":"iana","extensions":["qps"]},"application/vnd.pvi.ptid1":{"source":"iana","extensions":["ptid"]},"application/vnd.pwg-multiplexed":{"source":"iana"},"application/vnd.pwg-xhtml-print+xml":{"source":"iana","compressible":true,"extensions":["xhtm"]},"application/vnd.qualcomm.brew-app-res":{"source":"iana"},"application/vnd.quarantainenet":{"source":"iana"},"application/vnd.quark.quarkxpress":{"source":"iana","extensions":["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{"source":"iana"},"application/vnd.radisys.moml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"application/vnd.rainstor.data":{"source":"iana"},"application/vnd.rapid":{"source":"iana"},"application/vnd.rar":{"source":"iana","extensions":["rar"]},"application/vnd.realvnc.bed":{"source":"iana","extensions":["bed"]},"application/vnd.recordare.musicxml":{"source":"iana","extensions":["mxl"]},"application/vnd.recordare.musicxml+xml":{"source":"iana","compressible":true,"extensions":["musicxml"]},"application/vnd.relpipe":{"source":"iana"},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.resilient.logic":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"application/vnd.rig.cryptonote":{"source":"iana","extensions":["cryptonote"]},"application/vnd.rim.cod":{"source":"apache","extensions":["cod"]},"application/vnd.rn-realmedia":{"source":"apache","extensions":["rm"]},"application/vnd.rn-realmedia-vbr":{"source":"apache","extensions":["rmvb"]},"application/vnd.route66.link66+xml":{"source":"iana","compressible":true,"extensions":["link66"]},"application/vnd.rs-274x":{"source":"iana"},"application/vnd.ruckus.download":{"source":"iana"},"application/vnd.s3sms":{"source":"iana"},"application/vnd.sailingtracker.track":{"source":"iana","extensions":["st"]},"application/vnd.sar":{"source":"iana"},"application/vnd.sbm.cid":{"source":"iana"},"application/vnd.sbm.mid2":{"source":"iana"},"application/vnd.scribus":{"source":"iana"},"application/vnd.sealed.3df":{"source":"iana"},"application/vnd.sealed.csf":{"source":"iana"},"application/vnd.sealed.doc":{"source":"iana"},"application/vnd.sealed.eml":{"source":"iana"},"application/vnd.sealed.mht":{"source":"iana"},"application/vnd.sealed.net":{"source":"iana"},"application/vnd.sealed.ppt":{"source":"iana"},"application/vnd.sealed.tiff":{"source":"iana"},"application/vnd.sealed.xls":{"source":"iana"},"application/vnd.sealedmedia.softseal.html":{"source":"iana"},"application/vnd.sealedmedia.softseal.pdf":{"source":"iana"},"application/vnd.seemail":{"source":"iana","extensions":["see"]},"application/vnd.seis+json":{"source":"iana","compressible":true},"application/vnd.sema":{"source":"iana","extensions":["sema"]},"application/vnd.semd":{"source":"iana","extensions":["semd"]},"application/vnd.semf":{"source":"iana","extensions":["semf"]},"application/vnd.shade-save-file":{"source":"iana"},"application/vnd.shana.informed.formdata":{"source":"iana","extensions":["ifm"]},"application/vnd.shana.informed.formtemplate":{"source":"iana","extensions":["itp"]},"application/vnd.shana.informed.interchange":{"source":"iana","extensions":["iif"]},"application/vnd.shana.informed.package":{"source":"iana","extensions":["ipk"]},"application/vnd.shootproof+json":{"source":"iana","compressible":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"application/vnd.shp":{"source":"iana"},"application/vnd.shx":{"source":"iana"},"application/vnd.sigrok.session":{"source":"iana"},"application/vnd.simtech-mindmapper":{"source":"iana","extensions":["twd","twds"]},"application/vnd.siren+json":{"source":"iana","compressible":true},"application/vnd.sketchometry":{"source":"iana"},"application/vnd.smaf":{"source":"iana","extensions":["mmf"]},"application/vnd.smart.notebook":{"source":"iana"},"application/vnd.smart.teacher":{"source":"iana","extensions":["teacher"]},"application/vnd.smintio.portals.archive":{"source":"iana"},"application/vnd.snesdev-page-table":{"source":"iana"},"application/vnd.software602.filler.form+xml":{"source":"iana","compressible":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"extensions":["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{"source":"iana","extensions":["dxp"]},"application/vnd.spotfire.sfs":{"source":"iana","extensions":["sfs"]},"application/vnd.sqlite3":{"source":"iana"},"application/vnd.sss-cod":{"source":"iana"},"application/vnd.sss-dtf":{"source":"iana"},"application/vnd.sss-ntf":{"source":"iana"},"application/vnd.stardivision.calc":{"source":"apache","extensions":["sdc"]},"application/vnd.stardivision.draw":{"source":"apache","extensions":["sda"]},"application/vnd.stardivision.impress":{"source":"apache","extensions":["sdd"]},"application/vnd.stardivision.math":{"source":"apache","extensions":["smf"]},"application/vnd.stardivision.writer":{"source":"apache","extensions":["sdw","vor"]},"application/vnd.stardivision.writer-global":{"source":"apache","extensions":["sgl"]},"application/vnd.stepmania.package":{"source":"iana","extensions":["smzip"]},"application/vnd.stepmania.stepchart":{"source":"iana","extensions":["sm"]},"application/vnd.street-stream":{"source":"iana"},"application/vnd.sun.wadl+xml":{"source":"iana","compressible":true,"extensions":["wadl"]},"application/vnd.sun.xml.calc":{"source":"apache","extensions":["sxc"]},"application/vnd.sun.xml.calc.template":{"source":"apache","extensions":["stc"]},"application/vnd.sun.xml.draw":{"source":"apache","extensions":["sxd"]},"application/vnd.sun.xml.draw.template":{"source":"apache","extensions":["std"]},"application/vnd.sun.xml.impress":{"source":"apache","extensions":["sxi"]},"application/vnd.sun.xml.impress.template":{"source":"apache","extensions":["sti"]},"application/vnd.sun.xml.math":{"source":"apache","extensions":["sxm"]},"application/vnd.sun.xml.writer":{"source":"apache","extensions":["sxw"]},"application/vnd.sun.xml.writer.global":{"source":"apache","extensions":["sxg"]},"application/vnd.sun.xml.writer.template":{"source":"apache","extensions":["stw"]},"application/vnd.sus-calendar":{"source":"iana","extensions":["sus","susp"]},"application/vnd.svd":{"source":"iana","extensions":["svd"]},"application/vnd.swiftview-ics":{"source":"iana"},"application/vnd.sybyl.mol2":{"source":"iana"},"application/vnd.sycle+xml":{"source":"iana","compressible":true},"application/vnd.syft+json":{"source":"iana","compressible":true},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xsm"]},"application/vnd.syncml.dm+wbxml":{"source":"iana","charset":"UTF-8","extensions":["bdm"]},"application/vnd.syncml.dm+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xdm"]},"application/vnd.syncml.dm.notification":{"source":"iana"},"application/vnd.syncml.dmddf+wbxml":{"source":"iana"},"application/vnd.syncml.dmddf+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"application/vnd.tao.intent-module-archive":{"source":"iana","extensions":["tao"]},"application/vnd.tcpdump.pcap":{"source":"iana","extensions":["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{"source":"iana","compressible":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"application/vnd.tml":{"source":"iana"},"application/vnd.tmobile-livetv":{"source":"iana","extensions":["tmo"]},"application/vnd.tri.onesource":{"source":"iana"},"application/vnd.trid.tpt":{"source":"iana","extensions":["tpt"]},"application/vnd.triscape.mxs":{"source":"iana","extensions":["mxs"]},"application/vnd.trueapp":{"source":"iana","extensions":["tra"]},"application/vnd.truedoc":{"source":"iana"},"application/vnd.ubisoft.webplayer":{"source":"iana"},"application/vnd.ufdl":{"source":"iana","extensions":["ufd","ufdl"]},"application/vnd.uic.osdm+json":{"source":"iana","compressible":true},"application/vnd.uiq.theme":{"source":"iana","extensions":["utz"]},"application/vnd.umajin":{"source":"iana","extensions":["umj"]},"application/vnd.unity":{"source":"iana","extensions":["unityweb"]},"application/vnd.uoml+xml":{"source":"iana","compressible":true,"extensions":["uoml","uo"]},"application/vnd.uplanet.alert":{"source":"iana"},"application/vnd.uplanet.alert-wbxml":{"source":"iana"},"application/vnd.uplanet.bearer-choice":{"source":"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{"source":"iana"},"application/vnd.uplanet.cacheop":{"source":"iana"},"application/vnd.uplanet.cacheop-wbxml":{"source":"iana"},"application/vnd.uplanet.channel":{"source":"iana"},"application/vnd.uplanet.channel-wbxml":{"source":"iana"},"application/vnd.uplanet.list":{"source":"iana"},"application/vnd.uplanet.list-wbxml":{"source":"iana"},"application/vnd.uplanet.listcmd":{"source":"iana"},"application/vnd.uplanet.listcmd-wbxml":{"source":"iana"},"application/vnd.uplanet.signal":{"source":"iana"},"application/vnd.uri-map":{"source":"iana"},"application/vnd.valve.source.material":{"source":"iana"},"application/vnd.vcx":{"source":"iana","extensions":["vcx"]},"application/vnd.vd-study":{"source":"iana"},"application/vnd.vectorworks":{"source":"iana"},"application/vnd.vel+json":{"source":"iana","compressible":true},"application/vnd.veraison.tsm-report+cbor":{"source":"iana"},"application/vnd.veraison.tsm-report+json":{"source":"iana","compressible":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veritone.aion+json":{"source":"iana","compressible":true},"application/vnd.veryant.thin":{"source":"iana"},"application/vnd.ves.encrypted":{"source":"iana"},"application/vnd.vidsoft.vidconference":{"source":"iana"},"application/vnd.visio":{"source":"iana","extensions":["vsd","vst","vss","vsw","vsdx","vtx"]},"application/vnd.visionary":{"source":"iana","extensions":["vis"]},"application/vnd.vividence.scriptfile":{"source":"iana"},"application/vnd.vocalshaper.vsp4":{"source":"iana"},"application/vnd.vsf":{"source":"iana","extensions":["vsf"]},"application/vnd.wap.sic":{"source":"iana"},"application/vnd.wap.slc":{"source":"iana"},"application/vnd.wap.wbxml":{"source":"iana","charset":"UTF-8","extensions":["wbxml"]},"application/vnd.wap.wmlc":{"source":"iana","extensions":["wmlc"]},"application/vnd.wap.wmlscriptc":{"source":"iana","extensions":["wmlsc"]},"application/vnd.wasmflow.wafl":{"source":"iana"},"application/vnd.webturbo":{"source":"iana","extensions":["wtb"]},"application/vnd.wfa.dpp":{"source":"iana"},"application/vnd.wfa.p2p":{"source":"iana"},"application/vnd.wfa.wsc":{"source":"iana"},"application/vnd.windows.devicepairing":{"source":"iana"},"application/vnd.wmc":{"source":"iana"},"application/vnd.wmf.bootstrap":{"source":"iana"},"application/vnd.wolfram.mathematica":{"source":"iana"},"application/vnd.wolfram.mathematica.package":{"source":"iana"},"application/vnd.wolfram.player":{"source":"iana","extensions":["nbp"]},"application/vnd.wordlift":{"source":"iana"},"application/vnd.wordperfect":{"source":"iana","extensions":["wpd"]},"application/vnd.wqd":{"source":"iana","extensions":["wqd"]},"application/vnd.wrq-hp3000-labelled":{"source":"iana"},"application/vnd.wt.stf":{"source":"iana","extensions":["stf"]},"application/vnd.wv.csp+wbxml":{"source":"iana"},"application/vnd.wv.csp+xml":{"source":"iana","compressible":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"application/vnd.xara":{"source":"iana","extensions":["xar"]},"application/vnd.xarin.cpj":{"source":"iana"},"application/vnd.xecrets-encrypted":{"source":"iana"},"application/vnd.xfdl":{"source":"iana","extensions":["xfdl"]},"application/vnd.xfdl.webform":{"source":"iana"},"application/vnd.xmi+xml":{"source":"iana","compressible":true},"application/vnd.xmpie.cpkg":{"source":"iana"},"application/vnd.xmpie.dpkg":{"source":"iana"},"application/vnd.xmpie.plan":{"source":"iana"},"application/vnd.xmpie.ppkg":{"source":"iana"},"application/vnd.xmpie.xlim":{"source":"iana"},"application/vnd.yamaha.hv-dic":{"source":"iana","extensions":["hvd"]},"application/vnd.yamaha.hv-script":{"source":"iana","extensions":["hvs"]},"application/vnd.yamaha.hv-voice":{"source":"iana","extensions":["hvp"]},"application/vnd.yamaha.openscoreformat":{"source":"iana","extensions":["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{"source":"iana","compressible":true,"extensions":["osfpvg"]},"application/vnd.yamaha.remote-setup":{"source":"iana"},"application/vnd.yamaha.smaf-audio":{"source":"iana","extensions":["saf"]},"application/vnd.yamaha.smaf-phrase":{"source":"iana","extensions":["spf"]},"application/vnd.yamaha.through-ngn":{"source":"iana"},"application/vnd.yamaha.tunnel-udpencap":{"source":"iana"},"application/vnd.yaoweme":{"source":"iana"},"application/vnd.yellowriver-custom-menu":{"source":"iana","extensions":["cmp"]},"application/vnd.zul":{"source":"iana","extensions":["zir","zirz"]},"application/vnd.zzazz.deck+xml":{"source":"iana","compressible":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/voucher-jws+json":{"source":"iana","compressible":true},"application/vp":{"source":"iana"},"application/vp+cose":{"source":"iana"},"application/vp+jwt":{"source":"iana"},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"source":"iana","compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true,"extensions":["wif"]},"application/webpush-options+json":{"source":"iana","compressible":true},"application/whoispp-query":{"source":"iana"},"application/whoispp-response":{"source":"iana"},"application/widget":{"source":"iana","extensions":["wgt"]},"application/winhlp":{"source":"apache","extensions":["hlp"]},"application/wita":{"source":"iana"},"application/wordperfect5.1":{"source":"iana"},"application/wsdl+xml":{"source":"iana","compressible":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"extensions":["7z"]},"application/x-abiword":{"source":"apache","extensions":["abw"]},"application/x-ace-compressed":{"source":"apache","extensions":["ace"]},"application/x-amf":{"source":"apache"},"application/x-apple-diskimage":{"source":"apache","extensions":["dmg"]},"application/x-arj":{"compressible":false,"extensions":["arj"]},"application/x-authorware-bin":{"source":"apache","extensions":["aab","x32","u32","vox"]},"application/x-authorware-map":{"source":"apache","extensions":["aam"]},"application/x-authorware-seg":{"source":"apache","extensions":["aas"]},"application/x-bcpio":{"source":"apache","extensions":["bcpio"]},"application/x-bdoc":{"compressible":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blender":{"extensions":["blend"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"extensions":["bz2","boz"]},"application/x-cbr":{"source":"apache","extensions":["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{"source":"apache","extensions":["vcd"]},"application/x-cfs-compressed":{"source":"apache","extensions":["cfs"]},"application/x-chat":{"source":"apache","extensions":["chat"]},"application/x-chess-pgn":{"source":"apache","extensions":["pgn"]},"application/x-chrome-extension":{"extensions":["crx"]},"application/x-cocoa":{"source":"nginx","extensions":["cco"]},"application/x-compress":{"source":"apache"},"application/x-compressed":{"extensions":["rar"]},"application/x-conference":{"source":"apache","extensions":["nsc"]},"application/x-cpio":{"source":"apache","extensions":["cpio"]},"application/x-csh":{"source":"apache","extensions":["csh"]},"application/x-deb":{"compressible":false},"application/x-debian-package":{"source":"apache","extensions":["deb","udeb"]},"application/x-dgc-compressed":{"source":"apache","extensions":["dgc"]},"application/x-director":{"source":"apache","extensions":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{"source":"apache","extensions":["wad"]},"application/x-dtbncx+xml":{"source":"apache","compressible":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"extensions":["dvi"]},"application/x-envoy":{"source":"apache","extensions":["evy"]},"application/x-eva":{"source":"apache","extensions":["eva"]},"application/x-font-bdf":{"source":"apache","extensions":["bdf"]},"application/x-font-dos":{"source":"apache"},"application/x-font-framemaker":{"source":"apache"},"application/x-font-ghostscript":{"source":"apache","extensions":["gsf"]},"application/x-font-libgrx":{"source":"apache"},"application/x-font-linux-psf":{"source":"apache","extensions":["psf"]},"application/x-font-pcf":{"source":"apache","extensions":["pcf"]},"application/x-font-snf":{"source":"apache","extensions":["snf"]},"application/x-font-speedo":{"source":"apache"},"application/x-font-sunos-news":{"source":"apache"},"application/x-font-type1":{"source":"apache","extensions":["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{"source":"apache"},"application/x-freearc":{"source":"apache","extensions":["arc"]},"application/x-futuresplash":{"source":"apache","extensions":["spl"]},"application/x-gca-compressed":{"source":"apache","extensions":["gca"]},"application/x-glulx":{"source":"apache","extensions":["ulx"]},"application/x-gnumeric":{"source":"apache","extensions":["gnumeric"]},"application/x-gramps-xml":{"source":"apache","extensions":["gramps"]},"application/x-gtar":{"source":"apache","extensions":["gtar"]},"application/x-gzip":{"source":"apache"},"application/x-hdf":{"source":"apache","extensions":["hdf"]},"application/x-httpd-php":{"compressible":true,"extensions":["php"]},"application/x-install-instructions":{"source":"apache","extensions":["install"]},"application/x-ipynb+json":{"compressible":true,"extensions":["ipynb"]},"application/x-iso9660-image":{"source":"apache","extensions":["iso"]},"application/x-iwork-keynote-sffkey":{"extensions":["key"]},"application/x-iwork-numbers-sffnumbers":{"extensions":["numbers"]},"application/x-iwork-pages-sffpages":{"extensions":["pages"]},"application/x-java-archive-diff":{"source":"nginx","extensions":["jardiff"]},"application/x-java-jnlp-file":{"source":"apache","compressible":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"extensions":["latex"]},"application/x-lua-bytecode":{"extensions":["luac"]},"application/x-lzh-compressed":{"source":"apache","extensions":["lzh","lha"]},"application/x-makeself":{"source":"nginx","extensions":["run"]},"application/x-mie":{"source":"apache","extensions":["mie"]},"application/x-mobipocket-ebook":{"source":"apache","extensions":["prc","mobi"]},"application/x-mpegurl":{"compressible":false},"application/x-ms-application":{"source":"apache","extensions":["application"]},"application/x-ms-shortcut":{"source":"apache","extensions":["lnk"]},"application/x-ms-wmd":{"source":"apache","extensions":["wmd"]},"application/x-ms-wmz":{"source":"apache","extensions":["wmz"]},"application/x-ms-xbap":{"source":"apache","extensions":["xbap"]},"application/x-msaccess":{"source":"apache","extensions":["mdb"]},"application/x-msbinder":{"source":"apache","extensions":["obd"]},"application/x-mscardfile":{"source":"apache","extensions":["crd"]},"application/x-msclip":{"source":"apache","extensions":["clp"]},"application/x-msdos-program":{"extensions":["exe"]},"application/x-msdownload":{"source":"apache","extensions":["exe","dll","com","bat","msi"]},"application/x-msmediaview":{"source":"apache","extensions":["mvb","m13","m14"]},"application/x-msmetafile":{"source":"apache","extensions":["wmf","wmz","emf","emz"]},"application/x-msmoney":{"source":"apache","extensions":["mny"]},"application/x-mspublisher":{"source":"apache","extensions":["pub"]},"application/x-msschedule":{"source":"apache","extensions":["scd"]},"application/x-msterminal":{"source":"apache","extensions":["trm"]},"application/x-mswrite":{"source":"apache","extensions":["wri"]},"application/x-netcdf":{"source":"apache","extensions":["nc","cdf"]},"application/x-ns-proxy-autoconfig":{"compressible":true,"extensions":["pac"]},"application/x-nzb":{"source":"apache","extensions":["nzb"]},"application/x-perl":{"source":"nginx","extensions":["pl","pm"]},"application/x-pilot":{"source":"nginx","extensions":["prc","pdb"]},"application/x-pkcs12":{"source":"apache","compressible":false,"extensions":["p12","pfx"]},"application/x-pkcs7-certificates":{"source":"apache","extensions":["p7b","spc"]},"application/x-pkcs7-certreqresp":{"source":"apache","extensions":["p7r"]},"application/x-pki-message":{"source":"iana"},"application/x-rar-compressed":{"source":"apache","compressible":false,"extensions":["rar"]},"application/x-redhat-package-manager":{"source":"nginx","extensions":["rpm"]},"application/x-research-info-systems":{"source":"apache","extensions":["ris"]},"application/x-sea":{"source":"nginx","extensions":["sea"]},"application/x-sh":{"source":"apache","compressible":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"extensions":["sit"]},"application/x-stuffitx":{"source":"apache","extensions":["sitx"]},"application/x-subrip":{"source":"apache","extensions":["srt"]},"application/x-sv4cpio":{"source":"apache","extensions":["sv4cpio"]},"application/x-sv4crc":{"source":"apache","extensions":["sv4crc"]},"application/x-t3vm-image":{"source":"apache","extensions":["t3"]},"application/x-tads":{"source":"apache","extensions":["gam"]},"application/x-tar":{"source":"apache","compressible":true,"extensions":["tar"]},"application/x-tcl":{"source":"apache","extensions":["tcl","tk"]},"application/x-tex":{"source":"apache","extensions":["tex"]},"application/x-tex-tfm":{"source":"apache","extensions":["tfm"]},"application/x-texinfo":{"source":"apache","extensions":["texinfo","texi"]},"application/x-tgif":{"source":"apache","extensions":["obj"]},"application/x-ustar":{"source":"apache","extensions":["ustar"]},"application/x-virtualbox-hdd":{"compressible":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"application/x-x509-ca-cert":{"source":"iana","extensions":["der","crt","pem"]},"application/x-x509-ca-ra-cert":{"source":"iana"},"application/x-x509-next-ca-cert":{"source":"iana"},"application/x-xfig":{"source":"apache","extensions":["fig"]},"application/x-xliff+xml":{"source":"apache","compressible":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"extensions":["xpi"]},"application/x-xz":{"source":"apache","extensions":["xz"]},"application/x-zip-compressed":{"extensions":["zip"]},"application/x-zmachine":{"source":"apache","extensions":["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{"source":"iana"},"application/xacml+xml":{"source":"iana","compressible":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xfdf":{"source":"iana","extensions":["xfdf"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xsl","xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yaml":{"source":"iana"},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+cbor":{"source":"iana"},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yang-sid+json":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"extensions":["zip"]},"application/zip+dotlottie":{"extensions":["lottie"]},"application/zlib":{"source":"iana"},"application/zstd":{"source":"iana"},"audio/1d-interleaved-parityfec":{"source":"iana"},"audio/32kadpcm":{"source":"iana"},"audio/3gpp":{"source":"iana","compressible":false,"extensions":["3gpp"]},"audio/3gpp2":{"source":"iana"},"audio/aac":{"source":"iana","extensions":["adts","aac"]},"audio/ac3":{"source":"iana"},"audio/adpcm":{"source":"apache","extensions":["adp"]},"audio/amr":{"source":"iana","extensions":["amr"]},"audio/amr-wb":{"source":"iana"},"audio/amr-wb+":{"source":"iana"},"audio/aptx":{"source":"iana"},"audio/asc":{"source":"iana"},"audio/atrac-advanced-lossless":{"source":"iana"},"audio/atrac-x":{"source":"iana"},"audio/atrac3":{"source":"iana"},"audio/basic":{"source":"iana","compressible":false,"extensions":["au","snd"]},"audio/bv16":{"source":"iana"},"audio/bv32":{"source":"iana"},"audio/clearmode":{"source":"iana"},"audio/cn":{"source":"iana"},"audio/dat12":{"source":"iana"},"audio/dls":{"source":"iana"},"audio/dsr-es201108":{"source":"iana"},"audio/dsr-es202050":{"source":"iana"},"audio/dsr-es202211":{"source":"iana"},"audio/dsr-es202212":{"source":"iana"},"audio/dv":{"source":"iana"},"audio/dvi4":{"source":"iana"},"audio/eac3":{"source":"iana"},"audio/encaprtp":{"source":"iana"},"audio/evrc":{"source":"iana"},"audio/evrc-qcp":{"source":"iana"},"audio/evrc0":{"source":"iana"},"audio/evrc1":{"source":"iana"},"audio/evrcb":{"source":"iana"},"audio/evrcb0":{"source":"iana"},"audio/evrcb1":{"source":"iana"},"audio/evrcnw":{"source":"iana"},"audio/evrcnw0":{"source":"iana"},"audio/evrcnw1":{"source":"iana"},"audio/evrcwb":{"source":"iana"},"audio/evrcwb0":{"source":"iana"},"audio/evrcwb1":{"source":"iana"},"audio/evs":{"source":"iana"},"audio/flac":{"source":"iana"},"audio/flexfec":{"source":"iana"},"audio/fwdred":{"source":"iana"},"audio/g711-0":{"source":"iana"},"audio/g719":{"source":"iana"},"audio/g722":{"source":"iana"},"audio/g7221":{"source":"iana"},"audio/g723":{"source":"iana"},"audio/g726-16":{"source":"iana"},"audio/g726-24":{"source":"iana"},"audio/g726-32":{"source":"iana"},"audio/g726-40":{"source":"iana"},"audio/g728":{"source":"iana"},"audio/g729":{"source":"iana"},"audio/g7291":{"source":"iana"},"audio/g729d":{"source":"iana"},"audio/g729e":{"source":"iana"},"audio/gsm":{"source":"iana"},"audio/gsm-efr":{"source":"iana"},"audio/gsm-hr-08":{"source":"iana"},"audio/ilbc":{"source":"iana"},"audio/ip-mr_v2.5":{"source":"iana"},"audio/isac":{"source":"apache"},"audio/l16":{"source":"iana"},"audio/l20":{"source":"iana"},"audio/l24":{"source":"iana","compressible":false},"audio/l8":{"source":"iana"},"audio/lpc":{"source":"iana"},"audio/matroska":{"source":"iana"},"audio/melp":{"source":"iana"},"audio/melp1200":{"source":"iana"},"audio/melp2400":{"source":"iana"},"audio/melp600":{"source":"iana"},"audio/mhas":{"source":"iana"},"audio/midi":{"source":"apache","extensions":["mid","midi","kar","rmi"]},"audio/midi-clip":{"source":"iana"},"audio/mobile-xmf":{"source":"iana","extensions":["mxmf"]},"audio/mp3":{"compressible":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a","m4b"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"extensions":["oga","ogg","spx","opus"]},"audio/opus":{"source":"iana"},"audio/parityfec":{"source":"iana"},"audio/pcma":{"source":"iana"},"audio/pcma-wb":{"source":"iana"},"audio/pcmu":{"source":"iana"},"audio/pcmu-wb":{"source":"iana"},"audio/prs.sid":{"source":"iana"},"audio/qcelp":{"source":"iana"},"audio/raptorfec":{"source":"iana"},"audio/red":{"source":"iana"},"audio/rtp-enc-aescm128":{"source":"iana"},"audio/rtp-midi":{"source":"iana"},"audio/rtploopback":{"source":"iana"},"audio/rtx":{"source":"iana"},"audio/s3m":{"source":"apache","extensions":["s3m"]},"audio/scip":{"source":"iana"},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sofa":{"source":"iana"},"audio/sp-midi":{"source":"iana"},"audio/speex":{"source":"iana"},"audio/t140c":{"source":"iana"},"audio/t38":{"source":"iana"},"audio/telephone-event":{"source":"iana"},"audio/tetra_acelp":{"source":"iana"},"audio/tetra_acelp_bb":{"source":"iana"},"audio/tone":{"source":"iana"},"audio/tsvcis":{"source":"iana"},"audio/uemclip":{"source":"iana"},"audio/ulpfec":{"source":"iana"},"audio/usac":{"source":"iana"},"audio/vdvi":{"source":"iana"},"audio/vmr-wb":{"source":"iana"},"audio/vnd.3gpp.iufp":{"source":"iana"},"audio/vnd.4sb":{"source":"iana"},"audio/vnd.audiokoz":{"source":"iana"},"audio/vnd.celp":{"source":"iana"},"audio/vnd.cisco.nse":{"source":"iana"},"audio/vnd.cmles.radio-events":{"source":"iana"},"audio/vnd.cns.anp1":{"source":"iana"},"audio/vnd.cns.inf1":{"source":"iana"},"audio/vnd.dece.audio":{"source":"iana","extensions":["uva","uvva"]},"audio/vnd.digital-winds":{"source":"iana","extensions":["eol"]},"audio/vnd.dlna.adts":{"source":"iana"},"audio/vnd.dolby.heaac.1":{"source":"iana"},"audio/vnd.dolby.heaac.2":{"source":"iana"},"audio/vnd.dolby.mlp":{"source":"iana"},"audio/vnd.dolby.mps":{"source":"iana"},"audio/vnd.dolby.pl2":{"source":"iana"},"audio/vnd.dolby.pl2x":{"source":"iana"},"audio/vnd.dolby.pl2z":{"source":"iana"},"audio/vnd.dolby.pulse.1":{"source":"iana"},"audio/vnd.dra":{"source":"iana","extensions":["dra"]},"audio/vnd.dts":{"source":"iana","extensions":["dts"]},"audio/vnd.dts.hd":{"source":"iana","extensions":["dtshd"]},"audio/vnd.dts.uhd":{"source":"iana"},"audio/vnd.dvb.file":{"source":"iana"},"audio/vnd.everad.plj":{"source":"iana"},"audio/vnd.hns.audio":{"source":"iana"},"audio/vnd.lucent.voice":{"source":"iana","extensions":["lvp"]},"audio/vnd.ms-playready.media.pya":{"source":"iana","extensions":["pya"]},"audio/vnd.nokia.mobile-xmf":{"source":"iana"},"audio/vnd.nortel.vbk":{"source":"iana"},"audio/vnd.nuera.ecelp4800":{"source":"iana","extensions":["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{"source":"iana","extensions":["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{"source":"iana","extensions":["ecelp9600"]},"audio/vnd.octel.sbc":{"source":"iana"},"audio/vnd.presonus.multitrack":{"source":"iana"},"audio/vnd.qcelp":{"source":"apache"},"audio/vnd.rhetorex.32kadpcm":{"source":"iana"},"audio/vnd.rip":{"source":"iana","extensions":["rip"]},"audio/vnd.rn-realaudio":{"compressible":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"extensions":["caf"]},"audio/x-flac":{"source":"apache","extensions":["flac"]},"audio/x-m4a":{"source":"nginx","extensions":["m4a"]},"audio/x-matroska":{"source":"apache","extensions":["mka"]},"audio/x-mpegurl":{"source":"apache","extensions":["m3u"]},"audio/x-ms-wax":{"source":"apache","extensions":["wax"]},"audio/x-ms-wma":{"source":"apache","extensions":["wma"]},"audio/x-pn-realaudio":{"source":"apache","extensions":["ram","ra"]},"audio/x-pn-realaudio-plugin":{"source":"apache","extensions":["rmp"]},"audio/x-realaudio":{"source":"nginx","extensions":["ra"]},"audio/x-tta":{"source":"apache"},"audio/x-wav":{"source":"apache","extensions":["wav"]},"audio/xm":{"source":"apache","extensions":["xm"]},"chemical/x-cdx":{"source":"apache","extensions":["cdx"]},"chemical/x-cif":{"source":"apache","extensions":["cif"]},"chemical/x-cmdf":{"source":"apache","extensions":["cmdf"]},"chemical/x-cml":{"source":"apache","extensions":["cml"]},"chemical/x-csml":{"source":"apache","extensions":["csml"]},"chemical/x-pdb":{"source":"apache"},"chemical/x-xyz":{"source":"apache","extensions":["xyz"]},"font/collection":{"source":"iana","extensions":["ttc"]},"font/otf":{"source":"iana","compressible":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"source":"iana","compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana","extensions":["avci"]},"image/avcs":{"source":"iana","extensions":["avcs"]},"image/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"image/bmp":{"source":"iana","compressible":true,"extensions":["bmp","dib"]},"image/cgm":{"source":"iana","extensions":["cgm"]},"image/dicom-rle":{"source":"iana","extensions":["drle"]},"image/dpx":{"source":"iana","extensions":["dpx"]},"image/emf":{"source":"iana","extensions":["emf"]},"image/fits":{"source":"iana","extensions":["fits"]},"image/g3fax":{"source":"iana","extensions":["g3"]},"image/gif":{"source":"iana","compressible":false,"extensions":["gif"]},"image/heic":{"source":"iana","extensions":["heic"]},"image/heic-sequence":{"source":"iana","extensions":["heics"]},"image/heif":{"source":"iana","extensions":["heif"]},"image/heif-sequence":{"source":"iana","extensions":["heifs"]},"image/hej2k":{"source":"iana","extensions":["hej2"]},"image/ief":{"source":"iana","extensions":["ief"]},"image/j2c":{"source":"iana"},"image/jaii":{"source":"iana","extensions":["jaii"]},"image/jais":{"source":"iana","extensions":["jais"]},"image/jls":{"source":"iana","extensions":["jls"]},"image/jp2":{"source":"iana","compressible":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpg","jpeg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm","jpgm"]},"image/jpx":{"source":"iana","compressible":false,"extensions":["jpx","jpf"]},"image/jxl":{"source":"iana","extensions":["jxl"]},"image/jxr":{"source":"iana","extensions":["jxr"]},"image/jxra":{"source":"iana","extensions":["jxra"]},"image/jxrs":{"source":"iana","extensions":["jxrs"]},"image/jxs":{"source":"iana","extensions":["jxs"]},"image/jxsc":{"source":"iana","extensions":["jxsc"]},"image/jxsi":{"source":"iana","extensions":["jxsi"]},"image/jxss":{"source":"iana","extensions":["jxss"]},"image/ktx":{"source":"iana","extensions":["ktx"]},"image/ktx2":{"source":"iana","extensions":["ktx2"]},"image/naplps":{"source":"iana"},"image/pjpeg":{"compressible":false,"extensions":["jfif"]},"image/png":{"source":"iana","compressible":false,"extensions":["png"]},"image/prs.btif":{"source":"iana","extensions":["btif","btf"]},"image/prs.pti":{"source":"iana","extensions":["pti"]},"image/pwg-raster":{"source":"iana"},"image/sgi":{"source":"apache","extensions":["sgi"]},"image/svg+xml":{"source":"iana","compressible":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"extensions":["psd"]},"image/vnd.airzip.accelerator.azv":{"source":"iana","extensions":["azv"]},"image/vnd.clip":{"source":"iana"},"image/vnd.cns.inf2":{"source":"iana"},"image/vnd.dece.graphic":{"source":"iana","extensions":["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{"source":"iana","extensions":["djvu","djv"]},"image/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"image/vnd.dwg":{"source":"iana","extensions":["dwg"]},"image/vnd.dxf":{"source":"iana","extensions":["dxf"]},"image/vnd.fastbidsheet":{"source":"iana","extensions":["fbs"]},"image/vnd.fpx":{"source":"iana","extensions":["fpx"]},"image/vnd.fst":{"source":"iana","extensions":["fst"]},"image/vnd.fujixerox.edmics-mmr":{"source":"iana","extensions":["mmr"]},"image/vnd.fujixerox.edmics-rlc":{"source":"iana","extensions":["rlc"]},"image/vnd.globalgraphics.pgb":{"source":"iana"},"image/vnd.microsoft.icon":{"source":"iana","compressible":true,"extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"compressible":true,"extensions":["dds"]},"image/vnd.ms-modi":{"source":"iana","extensions":["mdi"]},"image/vnd.ms-photo":{"source":"apache","extensions":["wdp"]},"image/vnd.net-fpx":{"source":"iana","extensions":["npx"]},"image/vnd.pco.b16":{"source":"iana","extensions":["b16"]},"image/vnd.radiance":{"source":"iana"},"image/vnd.sealed.png":{"source":"iana"},"image/vnd.sealedmedia.softseal.gif":{"source":"iana"},"image/vnd.sealedmedia.softseal.jpg":{"source":"iana"},"image/vnd.svf":{"source":"iana"},"image/vnd.tencent.tap":{"source":"iana","extensions":["tap"]},"image/vnd.valve.source.texture":{"source":"iana","extensions":["vtf"]},"image/vnd.wap.wbmp":{"source":"iana","extensions":["wbmp"]},"image/vnd.xiff":{"source":"iana","extensions":["xif"]},"image/vnd.zbrush.pcx":{"source":"iana","extensions":["pcx"]},"image/webp":{"source":"iana","extensions":["webp"]},"image/wmf":{"source":"iana","extensions":["wmf"]},"image/x-3ds":{"source":"apache","extensions":["3ds"]},"image/x-adobe-dng":{"extensions":["dng"]},"image/x-cmu-raster":{"source":"apache","extensions":["ras"]},"image/x-cmx":{"source":"apache","extensions":["cmx"]},"image/x-emf":{"source":"iana"},"image/x-freehand":{"source":"apache","extensions":["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{"source":"apache","compressible":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"extensions":["bmp"]},"image/x-pcx":{"source":"apache","extensions":["pcx"]},"image/x-pict":{"source":"apache","extensions":["pic","pct"]},"image/x-portable-anymap":{"source":"apache","extensions":["pnm"]},"image/x-portable-bitmap":{"source":"apache","extensions":["pbm"]},"image/x-portable-graymap":{"source":"apache","extensions":["pgm"]},"image/x-portable-pixmap":{"source":"apache","extensions":["ppm"]},"image/x-rgb":{"source":"apache","extensions":["rgb"]},"image/x-tga":{"source":"apache","extensions":["tga"]},"image/x-wmf":{"source":"iana"},"image/x-xbitmap":{"source":"apache","extensions":["xbm"]},"image/x-xcf":{"compressible":false},"image/x-xpixmap":{"source":"apache","extensions":["xpm"]},"image/x-xwindowdump":{"source":"apache","extensions":["xwd"]},"message/bhttp":{"source":"iana"},"message/cpim":{"source":"iana"},"message/delivery-status":{"source":"iana"},"message/disposition-notification":{"source":"iana","extensions":["disposition-notification"]},"message/external-body":{"source":"iana"},"message/feedback-report":{"source":"iana"},"message/global":{"source":"iana","extensions":["u8msg"]},"message/global-delivery-status":{"source":"iana","extensions":["u8dsn"]},"message/global-disposition-notification":{"source":"iana","extensions":["u8mdn"]},"message/global-headers":{"source":"iana","extensions":["u8hdr"]},"message/http":{"source":"iana","compressible":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/mls":{"source":"iana"},"message/news":{"source":"apache"},"message/ohttp-req":{"source":"iana"},"message/ohttp-res":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"extensions":["eml","mime","mht","mhtml"]},"message/s-http":{"source":"apache"},"message/sip":{"source":"iana"},"message/sipfrag":{"source":"iana"},"message/tracking-status":{"source":"iana"},"message/vnd.si.simp":{"source":"apache"},"message/vnd.wfa.wsc":{"source":"iana","extensions":["wsc"]},"model/3mf":{"source":"iana","extensions":["3mf"]},"model/e57":{"source":"iana"},"model/gltf+json":{"source":"iana","compressible":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/jt":{"source":"iana","extensions":["jt"]},"model/mesh":{"source":"iana","compressible":false,"extensions":["msh","mesh","silo"]},"model/mtl":{"source":"iana","extensions":["mtl"]},"model/obj":{"source":"iana","extensions":["obj"]},"model/prc":{"source":"iana","extensions":["prc"]},"model/step":{"source":"iana","extensions":["step","stp","stpnc","p21","210"]},"model/step+xml":{"source":"iana","compressible":true,"extensions":["stpx"]},"model/step+zip":{"source":"iana","compressible":false,"extensions":["stpz"]},"model/step-xml+zip":{"source":"iana","compressible":false,"extensions":["stpxz"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/u3d":{"source":"iana","extensions":["u3d"]},"model/vnd.bary":{"source":"iana","extensions":["bary"]},"model/vnd.cld":{"source":"iana","extensions":["cld"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"extensions":["dae"]},"model/vnd.dwf":{"source":"iana","extensions":["dwf"]},"model/vnd.flatland.3dml":{"source":"iana"},"model/vnd.gdl":{"source":"iana","extensions":["gdl"]},"model/vnd.gs-gdl":{"source":"apache"},"model/vnd.gs.gdl":{"source":"iana"},"model/vnd.gtw":{"source":"iana","extensions":["gtw"]},"model/vnd.moml+xml":{"source":"iana","compressible":true},"model/vnd.mts":{"source":"iana","extensions":["mts"]},"model/vnd.opengex":{"source":"iana","extensions":["ogex"]},"model/vnd.parasolid.transmit.binary":{"source":"iana","extensions":["x_b"]},"model/vnd.parasolid.transmit.text":{"source":"iana","extensions":["x_t"]},"model/vnd.pytha.pyox":{"source":"iana","extensions":["pyo","pyox"]},"model/vnd.rosette.annotated-data-model":{"source":"iana"},"model/vnd.sap.vds":{"source":"iana","extensions":["vds"]},"model/vnd.usda":{"source":"iana","extensions":["usda"]},"model/vnd.usdz+zip":{"source":"iana","compressible":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"multipart/vnd.bint.med-plus":{"source":"iana"},"multipart/voice-message":{"source":"iana"},"multipart/x-mixed-replace":{"source":"iana"},"text/1d-interleaved-parityfec":{"source":"iana"},"text/cache-manifest":{"source":"iana","compressible":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"text/coffeescript":{"extensions":["coffee","litcoffee"]},"text/cql":{"source":"iana"},"text/cql-expression":{"source":"iana"},"text/cql-identifier":{"source":"iana"},"text/css":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"extensions":["csv"]},"text/csv-schema":{"source":"iana"},"text/directory":{"source":"iana"},"text/dns":{"source":"iana"},"text/ecmascript":{"source":"apache"},"text/encaprtp":{"source":"iana"},"text/enriched":{"source":"iana"},"text/fhirpath":{"source":"iana"},"text/flexfec":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/gff3":{"source":"iana"},"text/grammar-ref-list":{"source":"iana"},"text/hl7v2":{"source":"iana"},"text/html":{"source":"iana","compressible":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["md","markdown"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"extensions":["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{"source":"iana","charset":"UTF-8"},"text/prs.fallenstein.rst":{"source":"iana"},"text/prs.lines.tag":{"source":"iana","extensions":["dsc"]},"text/prs.prop.logic":{"source":"iana"},"text/prs.texi":{"source":"iana"},"text/raptorfec":{"source":"iana"},"text/red":{"source":"iana"},"text/rfc822-headers":{"source":"iana"},"text/richtext":{"source":"iana","compressible":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"text/rtp-enc-aescm128":{"source":"iana"},"text/rtploopback":{"source":"iana"},"text/rtx":{"source":"iana"},"text/sgml":{"source":"iana","extensions":["sgml","sgm"]},"text/shaclc":{"source":"iana"},"text/shex":{"source":"iana","extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"text/spdx":{"source":"iana","extensions":["spdx"]},"text/strings":{"source":"iana"},"text/stylus":{"extensions":["stylus","styl"]},"text/t140":{"source":"iana"},"text/tab-separated-values":{"source":"iana","compressible":true,"extensions":["tsv"]},"text/troff":{"source":"iana","extensions":["t","tr","roff","man","me","ms"]},"text/turtle":{"source":"iana","charset":"UTF-8","extensions":["ttl"]},"text/ulpfec":{"source":"iana"},"text/uri-list":{"source":"iana","compressible":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"extensions":["vcard"]},"text/vnd.a":{"source":"iana"},"text/vnd.abc":{"source":"iana"},"text/vnd.ascii-art":{"source":"iana"},"text/vnd.curl":{"source":"iana","extensions":["curl"]},"text/vnd.curl.dcurl":{"source":"apache","extensions":["dcurl"]},"text/vnd.curl.mcurl":{"source":"apache","extensions":["mcurl"]},"text/vnd.curl.scurl":{"source":"apache","extensions":["scurl"]},"text/vnd.debian.copyright":{"source":"iana","charset":"UTF-8"},"text/vnd.dmclientscript":{"source":"iana"},"text/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"text/vnd.esmertec.theme-descriptor":{"source":"iana","charset":"UTF-8"},"text/vnd.exchangeable":{"source":"iana"},"text/vnd.familysearch.gedcom":{"source":"iana","extensions":["ged"]},"text/vnd.ficlab.flt":{"source":"iana"},"text/vnd.fly":{"source":"iana","extensions":["fly"]},"text/vnd.fmi.flexstor":{"source":"iana","extensions":["flx"]},"text/vnd.gml":{"source":"iana"},"text/vnd.graphviz":{"source":"iana","extensions":["gv"]},"text/vnd.hans":{"source":"iana"},"text/vnd.hgl":{"source":"iana"},"text/vnd.in3d.3dml":{"source":"iana","extensions":["3dml"]},"text/vnd.in3d.spot":{"source":"iana","extensions":["spot"]},"text/vnd.iptc.newsml":{"source":"iana"},"text/vnd.iptc.nitf":{"source":"iana"},"text/vnd.latex-z":{"source":"iana"},"text/vnd.motorola.reflex":{"source":"iana"},"text/vnd.ms-mediapackage":{"source":"iana"},"text/vnd.net2phone.commcenter.command":{"source":"iana"},"text/vnd.radisys.msml-basic-layout":{"source":"iana"},"text/vnd.senx.warpscript":{"source":"iana"},"text/vnd.si.uricatalogue":{"source":"apache"},"text/vnd.sosi":{"source":"iana"},"text/vnd.sun.j2me.app-descriptor":{"source":"iana","charset":"UTF-8","extensions":["jad"]},"text/vnd.trolltech.linguist":{"source":"iana","charset":"UTF-8"},"text/vnd.vcf":{"source":"iana"},"text/vnd.wap.si":{"source":"iana"},"text/vnd.wap.sl":{"source":"iana"},"text/vnd.wap.wml":{"source":"iana","extensions":["wml"]},"text/vnd.wap.wmlscript":{"source":"iana","extensions":["wmls"]},"text/vnd.zoo.kcl":{"source":"iana"},"text/vtt":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["vtt"]},"text/wgsl":{"source":"iana","extensions":["wgsl"]},"text/x-asm":{"source":"apache","extensions":["s","asm"]},"text/x-c":{"source":"apache","extensions":["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{"source":"nginx","extensions":["htc"]},"text/x-fortran":{"source":"apache","extensions":["f","for","f77","f90"]},"text/x-gwt-rpc":{"compressible":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"extensions":["pde"]},"text/x-sass":{"extensions":["sass"]},"text/x-scss":{"extensions":["scss"]},"text/x-setext":{"source":"apache","extensions":["etx"]},"text/x-sfv":{"source":"apache","extensions":["sfv"]},"text/x-suse-ymp":{"compressible":true,"extensions":["ymp"]},"text/x-uuencode":{"source":"apache","extensions":["uu"]},"text/x-vcalendar":{"source":"apache","extensions":["vcs"]},"text/x-vcard":{"source":"apache","extensions":["vcf"]},"text/xml":{"source":"iana","compressible":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"compressible":true,"extensions":["yaml","yml"]},"video/1d-interleaved-parityfec":{"source":"iana"},"video/3gpp":{"source":"iana","extensions":["3gp","3gpp"]},"video/3gpp-tt":{"source":"iana"},"video/3gpp2":{"source":"iana","extensions":["3g2"]},"video/av1":{"source":"iana"},"video/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"source":"iana"},"video/evc":{"source":"iana"},"video/ffv1":{"source":"iana"},"video/flexfec":{"source":"iana"},"video/h261":{"source":"iana","extensions":["h261"]},"video/h263":{"source":"iana","extensions":["h263"]},"video/h263-1998":{"source":"iana"},"video/h263-2000":{"source":"iana"},"video/h264":{"source":"iana","extensions":["h264"]},"video/h264-rcdo":{"source":"iana"},"video/h264-svc":{"source":"iana"},"video/h265":{"source":"iana"},"video/h266":{"source":"iana"},"video/iso.segment":{"source":"iana","extensions":["m4s"]},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"video/jxsv":{"source":"iana"},"video/lottie+json":{"source":"iana","compressible":true},"video/matroska":{"source":"iana"},"video/matroska-3d":{"source":"iana"},"video/mj2":{"source":"iana","extensions":["mj2","mjp2"]},"video/mp1s":{"source":"iana"},"video/mp2p":{"source":"iana"},"video/mp2t":{"source":"iana","extensions":["ts","m2t","m2ts","mts"]},"video/mp4":{"source":"iana","compressible":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"extensions":["qt","mov"]},"video/raptorfec":{"source":"iana"},"video/raw":{"source":"iana"},"video/rtp-enc-aescm128":{"source":"iana"},"video/rtploopback":{"source":"iana"},"video/rtx":{"source":"iana"},"video/scip":{"source":"iana"},"video/smpte291":{"source":"iana"},"video/smpte292m":{"source":"iana"},"video/ulpfec":{"source":"iana"},"video/vc1":{"source":"iana"},"video/vc2":{"source":"iana"},"video/vnd.cctv":{"source":"iana"},"video/vnd.dece.hd":{"source":"iana","extensions":["uvh","uvvh"]},"video/vnd.dece.mobile":{"source":"iana","extensions":["uvm","uvvm"]},"video/vnd.dece.mp4":{"source":"iana"},"video/vnd.dece.pd":{"source":"iana","extensions":["uvp","uvvp"]},"video/vnd.dece.sd":{"source":"iana","extensions":["uvs","uvvs"]},"video/vnd.dece.video":{"source":"iana","extensions":["uvv","uvvv"]},"video/vnd.directv.mpeg":{"source":"iana"},"video/vnd.directv.mpeg-tts":{"source":"iana"},"video/vnd.dlna.mpeg-tts":{"source":"iana"},"video/vnd.dvb.file":{"source":"iana","extensions":["dvb"]},"video/vnd.fvt":{"source":"iana","extensions":["fvt"]},"video/vnd.hns.video":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.ttsavc":{"source":"iana"},"video/vnd.iptvforum.ttsmpeg2":{"source":"iana"},"video/vnd.motorola.video":{"source":"iana"},"video/vnd.motorola.videop":{"source":"iana"},"video/vnd.mpegurl":{"source":"iana","extensions":["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{"source":"iana","extensions":["pyv"]},"video/vnd.nokia.interleaved-multimedia":{"source":"iana"},"video/vnd.nokia.mp4vr":{"source":"iana"},"video/vnd.nokia.videovoip":{"source":"iana"},"video/vnd.objectvideo":{"source":"iana"},"video/vnd.planar":{"source":"iana"},"video/vnd.radgamettools.bink":{"source":"iana"},"video/vnd.radgamettools.smacker":{"source":"apache"},"video/vnd.sealed.mpeg1":{"source":"iana"},"video/vnd.sealed.mpeg4":{"source":"iana"},"video/vnd.sealed.swf":{"source":"iana"},"video/vnd.sealedmedia.softseal.mov":{"source":"iana"},"video/vnd.uvvu.mp4":{"source":"iana","extensions":["uvu","uvvu"]},"video/vnd.vivo":{"source":"iana","extensions":["viv"]},"video/vnd.youtube.yt":{"source":"iana"},"video/vp8":{"source":"iana"},"video/vp9":{"source":"iana"},"video/webm":{"source":"apache","compressible":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"extensions":["mkv","mk3d","mks"]},"video/x-mng":{"source":"apache","extensions":["mng"]},"video/x-ms-asf":{"source":"apache","extensions":["asf","asx"]},"video/x-ms-vob":{"source":"apache","extensions":["vob"]},"video/x-ms-wm":{"source":"apache","extensions":["wm"]},"video/x-ms-wmv":{"source":"apache","compressible":false,"extensions":["wmv"]},"video/x-ms-wmx":{"source":"apache","extensions":["wmx"]},"video/x-ms-wvx":{"source":"apache","extensions":["wvx"]},"video/x-msvideo":{"source":"apache","extensions":["avi"]},"video/x-sgi-movie":{"source":"apache","extensions":["movie"]},"video/x-smv":{"source":"apache","extensions":["smv"]},"x-conference/x-cooltalk":{"source":"apache","extensions":["ice"]},"x-shader/x-fragment":{"compressible":true},"x-shader/x-vertex":{"compressible":true}}')}},i={};function o(e){var n=i[e];if(void 0!==n)return n.exports;var t=i[e]={id:e,loaded:!1,exports:{}};return a[e].call(t.exports,t,t.exports,o),t.loaded=!0,t.exports}o.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return o.d(n,{a:n}),n},o.d=(e,n)=>{for(var t in n)o.o(n,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),o.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0;var r={};return(()=>{"use strict";o.d(r,{fo:()=>Us});var e=o(9426),n=o(5663),t=o(4059),a=o(5072),i=o.n(a),s=o(7825),l=o.n(s),c=o(7659),u=o.n(c),d=o(5056),p=o.n(d),f=o(540),m=o.n(f),h=o(1113),g=o.n(h),b=o(9405),v={};v.styleTagTransform=g(),v.setAttributes=p(),v.insert=u().bind(null,"head"),v.domAPI=l(),v.insertStyleElement=m();i()(b.A,v);b.A&&b.A.locals&&b.A.locals;var A=o(5491);const y=n=>function(t){const a=e.utils.AJARImage(t.uri,e.utils.label(t),e.utils.label(t),n);return a.setAttribute("class","outlineImage"),a},w=e=>function(n){const t=e.createElement("a");let a="NamedNode"===n.termType?n.uri:n.value;const i=a.indexOf("mailto:");return a=i>=0?a.slice(i+7):a,t.setAttribute("href","mailto:"+a),t.appendChild(e.createTextNode(a)),t};function x(e,n,t,a){e.properties[n]||(e.properties[n]=[]),e.properties[n].push(t),a&&(e.defaults[n]=t)}const C={};let E,k;function B(a){const i=a.document;this.menuId="predicateMenu1";const o=function(e){console.log(e+"\n")},r=e.ns.rdf,s=A.Namespace("http://purl.org/ontology/bibo/"),l=A.Namespace("http://purl.org/dc/elements/1.1/");let c=!1;return E||(E=new A.Formula,E.superFormula=n.store),k||(k=new A.IndexedFormula),k.name="TempFormula",n.store.updater||(n.store.updater=new A.UpdateManager(n.store)),{sparqler:n.store.updater,lastModified:null,lastModifiedStat:null,statIsInverse:!1,addNewPredicateObject:function(t){if("bottom-border-active"!==e.utils.getTarget(t).className)return;const o=a.UserInput,r=e.utils.getTarget(t),s=i.createElement("tr");e.utils.ancestor(r,"DIV").insertBefore(s,e.utils.ancestor(r,"TR"));const l=i.createElement("tr"),c=o.generateRequest("(TBD)",l,!0);s.appendChild(l.firstChild);const u=o.generateRequest("(Enter text or drag an object onto this field)",l,!1);if(s.appendChild(l.firstChild),e.utils.ancestor(r,"TR").previousSibling&&e.utils.ancestor(r,"TR").previousSibling.AJAR_statement){const n=e.utils.ancestor(r,"TR").previousSibling.AJAR_statement;o.formUndetStat(s,n.subject,c,u,n.why,!1)}else{const t=e.utils.getAbout(n.store,e.utils.ancestor(r.parentNode.parentNode,"TD")),a=n.store.sym(A.Util.uri.docpart(t.uri));o.formUndetStat(s,t,c,u,a,!1)}a.walk("moveTo",s.firstChild),e.log.info("addNewPredicateObject: selection = "+a.getSelection().map(function(e){return e.textContent}).join(", ")),this.startFillInText(a.getSelection()[0])},addNewObject:function(n){const t=e.utils.getTarget(n).parentNode.parentNode,i=t.parentNode.AJAR_inverse;this.lastModifiedStat=t.parentNode.AJAR_statement;const o=this.appendToPredicate(t),r=this.generateRequest(" (Error) ",o,!1),s=o.previousSibling.AJAR_statement;i?this.formUndetStat(o,r,s.predicate,s.object,s.why,!0):this.formUndetStat(o,s.subject,s.predicate,r,s.why,!1),a.walk("moveTo",o.lastChild),this.startFillInText(o.lastChild)},Delete:function(e){this.deleteTriple(e,!1)},Enter:function(e){this.literalModification(e)},Click:function(n){const t=e.utils.getTarget(n);"Literal"===e.utils.getTerm(t).termType&&(this.literalModification(t),n.preventDefault(),n.stopPropagation())},pasteFromClipboard:function(n,t){function i(n){const t=a.clipboard[n].shift();if(null!==t){switch(n){case"predicates":case"objects":{const e=a.clipboard.all;for(let n=0;;n++)if(t.sameTerm(e[n])){e.splice(n,1);break}break}case"all":throw new Error("hostorical code not understood - what is theCollection?")}return t}e.log.warn("no more element in clipboard!")}let o;switch(t.className){case"undetermined selected":if(o=t.nextSibling?i("predicates"):i("objects"),!o)return;break;case"pred selected":if(o=i("objects"),!o)return;break;case"selected":{const e=i("all");if(!e)return;return o=e[0],void this.insertTermTo(t,o,e[1])}}this.insertTermTo(t,o)},startFillInText:function(n){switch(this.whatSortOfEditCell(n)){case"DatatypeProperty-like":e.utils.emptyNode(n),this.lastModified=this.createInputBoxIn(n," (Please Input) "),this.lastModified.isNew=!1,this.lastModified.select();break;case"predicate":this.performAutoCompleteEdit(n,"PredicateAutoComplete");break;case"ObjectProperty-like":case"no-idea":this.performAutoCompleteEdit(n,"GeneralAutoComplete")}},literalModification:function(t){if(e.log.debug("entering literal Modification with "+t+t.textContent),-1!==t.className.indexOf(" pendingedit"))return e.log.warn("The node you attempted to edit has a request still pending.\nPlease wait for the request to finish (the text will turn black)\nbefore editing this node again."),!0;const a=t;if(!this.getStatementAbout(a))return;let o,r,s;try{o=e.utils.getTerm(a),r=e.utils.ancestor(a,"TR")}catch(i){e.log.warn("userinput.js: "+i+e.utils.getAbout(n.store,t)),e.log.error(a+" getStatement Error:"+i)}try{s=r.lastChild}catch(n){e.log.error(n+"@"+a)}if("Literal"===o.termType){if(s.removeChild(s.firstChild),o.value.match("\n")){const e=i.createElement("textarea");e.appendChild(i.createTextNode(o.value)),e.setAttribute("rows",(o.value.match(/\n/g).length+1).toString()),e.setAttribute("cols","100"),e.setAttribute("class","textinput"),s.appendChild(e),this.lastModified=e}else this.lastModified=this.createInputBoxIn(s,o.value);this.lastModified.isNew=!1,this.lastModified.select()}return!0},performAutoCompleteEdit:function(n,t){e.utils.emptyNode(n),o("perform AutoCompleteEdit. THIS IS="+this),this.lastModified=this.createInputBoxIn(n,""),this.lastModified.select(),this.lastModified.addEventListener("keypress",this.getAutoCompleteHandler(t),!1),this.getAutoCompleteHandler(t)(1)},backOut:function(){this.deleteTriple(this.lastModified.parentNode,!0),this.lastModified=null},clearMenu:function(){const e=i.getElementById(this.menuID);e&&e.parentNode.removeChild(e)},clearInputAndSave:function(i){let o;if(!this.lastModified)return;if(!this.lastModified.isNew)try{o=this.getStatementAbout(this.lastModified).object}catch(i){return}let s,l,c,u,d=this.lastModifiedStat;if(this.lastModified.value!==this.lastModified.defaultValue){let l;if(""===this.lastModified.value)return this.lastModified.value=this.lastModified.defaultValue,void this.clearInputAndSave();if(this.lastModified.isNew){d=new A.Statement(d.subject,d.predicate,n.store.literal(this.lastModified.value),d.why),s=this.views.defaults[d.predicate.uri],l=e.utils.ancestor(this.lastModified,"TR");try{n.store.updater.update([],[d],function(n,t,i){t||(e.log.error("Error occurs while inserting "+d+"\n\n"+i+"\n"),a.UserInput.deleteTriple(l.lastChild,!0))})}catch(i){return void e.log.error("Error inserting fact "+d+":\n\t"+i+"\n")}d=n.store.add(d.subject,d.predicate,n.store.literal(this.lastModified.value),d.why)}else{if(this.statIsInverse)return e.log.error("Invalid Input: a literal can't be a subject in RDF/XML"),void this.backOut();let s,c,u;switch(o.termType){case"Literal":{const t=this.lastModified.value;l=e.utils.ancestor(this.lastModified,"TR");const a=this.lastModified.defaultValue;c=A.st(d.subject,d.predicate,n.store.literal(this.lastModified.value),d.why);try{n.store.updater.update([d],[c],function(n,i,r){i?o.value=t:(e.log.warn("Error occurs while editing "+d+"\n\n"+r),l.lastChild.textContent=a),l.lastChild.className=l.lastChild.className.replace(/ pendingedit/g,"")})}catch(i){return void e.log.warn("Error occurs while editing "+d+":\n\t"+i)}break}case"BlankNode":{const o=n.store.literal(this.lastModified.value,"");if("Collection"!==d.predicate.termType)return void this.fillInRequest("object",this.lastModified.parentNode,n.store.literal(this.lastModified.value));{const p=d.predicate.elements[0];if(n.store.any(void 0,p,o)){if(!i){const n=this.lastModified.parentNode;(i={}).pageX=e.utils.findPos(n)[0],i.pageY=e.utils.findPos(n)[1]+n.clientHeight}this.showMenu(i,"DidYouMeanDialog",void 0,{dialogTerm:n.store.any(void 0,p,o),bnodeTerm:d.subject})}else{s=e.utils.ancestor(e.utils.ancestor(this.lastModified,"TR").parentNode,"TR").AJAR_statement,c=A.st(d.subject,p,o,d.why);const t=n.store.the(d.subject,r("type"));u=n.store.anyStatementMatching(d.subject,r("type"),t,d.why),l=e.utils.ancestor(e.utils.ancestor(this.lastModified,"TR"),"TD").parentNode;try{n.store.updater.update([],[s,c,u],function(e,n,t){n||(console.log("Error occurs while editing "+s+"\n\n"+t),a.UserInput.deleteTriple(l.lastChild,!0))})}catch(i){return void console.log("Error occurs while editing "+s+":\n\t"+i)}n.store.remove(d),n.store.add(d.subject,p,o,d.why)}const f=e.utils.ancestor(this.lastModified.parentNode.parentNode,"TD"),m=t.byName("default");a.outlineExpand(f,d.subject,{pane:m,already:!0}),a.walk("right",a.focusTd)}break}}}}else{if(this.lastModified.isNew)return l=e.utils.ancestor(this.lastModified,"TR"),c=this.generateRequest("(To be determined. Re-type of drag an object onto this field)"),u=l.previousSibling.AJAR_statement,this.formUndetStat(l,u.subject,u.predicate,c,u.why,!1),void(this.lastModified=null);if("Collection"===d.predicate.termType){n.store.removeMany(d.subject);const t=e.utils.ancestor(e.utils.ancestor(this.lastModified,"TR").parentNode,"TR");return u=t.AJAR_statement,c=this.generateRequest("(To be determined. Re-type of drag an object onto this field)"),this.formUndetStat(t,u.subject,u.predicate,c,u.why,!1),a.replaceTD(a.outlineObjectTD(c,s),t.lastChild),void(this.lastModified=null)}if(this.statIsInverse){if("BlankNode"===d.subject.termType)return void this.backOut()}else if("BlankNode"===d.object.termType)return void this.backOut()}l=e.utils.ancestor(this.lastModified,"TR"),this.statIsInverse?a.replaceTD(a.outlineObjectTD(d.subject,s),l.lastChild):a.replaceTD(a.outlineObjectTD(n.store.literal(this.lastModified.value),s),l.lastChild),this.lastModified.value!==this.lastModified.defaultValue&&(l.lastChild.className+=" pendingedit"),this.lastModified=null},deleteTriple:function(t,i){if(e.log.debug("deleteTriple entered"),!i&&-1!==t.className.indexOf(" pendingedit"))return console.log("The node you attempted to edit has a request still pending.\nPlease wait for the request to finish (the text will turn black)\nbefore editing this node again."),void a.walk("up");const o=this.getStatementAbout(t);if(!(i||n.store.whether(o.object,r("type"),e.ns.link("Request"))||n.store.whether(o.predicate,r("type"),e.ns.link("Request"))||n.store.whether(o.subject,r("type"),e.ns.link("Request")))){e.log.debug("about to send SPARQLUpdate");try{n.store.updater.update([o],[],function(e,n,a){n?l():(console.log("Error occurs while deleting "+o+"\n\n"+a),t.className=t.className.replace(/ pendingedit/g,""))}),t.className+=" pendingedit"}catch(n){return e.log.error(n),void e.log.warn("Error deleting statement "+o+":\n\t"+n)}e.log.debug("SPARQLUpdate sent")}e.log.debug("about to remove "+o),e.log.debug("removed"),a.walk("up");const s=t.parentNode;function l(){let e,n;for(e=s;1===e.childNodes.length;e=e.previousSibling);if(e===s){const t=e.nextSibling;t.nextSibling&&1===t.childNodes.length&&(n=e.firstChild,n.setAttribute("rowspan",parseInt(n.getAttribute("rowspan"))-1),t.insertBefore(e.firstChild,t.firstChild)),s.parentNode.removeChild(s)}else n=e.firstChild,n.setAttribute("rowspan",parseInt(n.getAttribute("rowspan"))-1),s.parentNode.removeChild(s)}i&&l()},clipboardInit:function(){a.clipboard={},a.clipboard.objects=[],a.clipboard.predicates=[],a.clipboard.all=[]},copyToClipboard:function(n,t){const i=e.utils.getTerm(t);switch(t.className){case"selected":case"obj selected":a.clipboard.objects.unshift(i);break;case"pred selected":case"pred internal selected":a.clipboard.predicates.unshift(i)}a.clipboard.all.unshift(i)},insertTermTo:function(t,o,r){let s,l;switch(t.className){case"undetermined selected":s=this.views.defaults[t.parentNode.AJAR_statement.predicate.uri],this.fillInRequest(t.nextSibling?"predicate":"object",t,o);break;case"pred selected":{const i=this.appendToPredicate(t);l=t.parentNode.AJAR_statement,s=this.views.defaults[l.predicate.uri],i.appendChild(a.outlineObjectTD(o,s));const r=t.parentNode.AJAR_inverse;r?i.AJAR_statemnet=n.store.add(o,l.predicate,l.object,l.why):i.AJAR_statement=n.store.add(l.subject,l.predicate,o,l.why);try{n.store.updater.update([],[i.AJAR_statement],function(n,t,a){t||e.log.error("userinput.js (pred selected): Fail trying to insert statement "+i.AJAR_statement+": "+a)})}catch(n){return void e.log.error("Exception trying to insert statement "+i.AJAR_statement+": "+e.utils.stackString(n))}i.AJAR_inverse=r,E.statements.push(i.AJAR_statement);break}case"selected":{const n=e.utils.ancestor(t,"TABLE").lastChild,s=n.insertBefore(i.createElement("tr"),n.lastChild);if(l=s.previousSibling.AJAR_statement,void 0===r&&(r=!0),r)this.formUndetStat(s,l.subject,this.generateRequest("(TBD)",s,!0),o,l.why,!1),s.appendChild(a.outlineObjectTD(o)),a.walk("moveTo",s.firstChild),this.startFillInText(s.firstChild);else{const e=this.generateRequest("(To be determined. Re-type of drag an object onto this field)",s);this.formUndetStat(s,l.subject,o,e,l.why,!1),s.insertBefore(a.outlinePredicateTD(o,s,!1,!1),s.firstChild),a.walk("moveTo",s.lastChild),this.startFillInText(s.lastChild)}break}}},Refill:function(t,a){e.log.info("Refill"+a.textContent);const i=a.nextSibling;let o;if(i){let s,l,c;if("undetermined"===a.nextSibling.className){s=e.utils.getAbout(n.store,e.utils.ancestor(a,"TABLE").parentNode),l=n.store.any(s,r("type")),c=[];const t=".\n";c[0]="SELECT ?pred WHERE{\n?pred "+r("type")+r("Property")+".\n?pred "+e.ns.rdfs("domain")+l+".}",c[1]="SELECT ?pred ?class\nWHERE{\n?pred "+r("type")+r("Property")+".\n"+l+e.ns.rdfs("subClassOf")+" ?class.\n?pred "+e.ns.rdfs("domain")+" ?class.\n}",c[2]="SELECT ?pred WHERE{\n"+s+r("type")+n.store.variable("subjectClass")+t+n.store.variable("pred")+e.ns.rdfs("domain")+n.store.variable("subjectClass")+t+"}",o=c.map(A.SPARQLToQuery)}else{s=e.utils.getAbout(n.store,e.utils.ancestor(a,"TABLE").parentNode),l=n.store.any(s,r("type"));const t=a.parentNode.AJAR_statement.object;c="SELECT ?pred WHERE{"+s+r("type")+"?subjectClass.\n"+t+r("type")+"?objectClass.\n?pred "+e.ns.rdfs("domain")+"?subjectClass.\n?pred "+e.ns.rdfs("range")+"?objectClass.\n}",o=A.SPARQLToQuery(c)}this.showMenu(t,"GeneralPredicateChoice",o,{isPredicate:i,selectedTd:a})}else{const o=a.parentNode.AJAR_statement.predicate;if((n.store.whether(o,r("type"),e.ns.owl("DatatypeProperty"))||"Collection"===o.termType||n.store.whether(o,e.ns.rdfs("range"),e.ns.rdfs("Literal")))&&(a.className="",e.utils.emptyNode(a),this.lastModified=this.createInputBoxIn(a," (Please Input) "),this.lastModified.isNew=!1,this.lastModified.select()),a.parentNode.AJAR_statement.predicate.sameTerm(r("type"))){const n="SELECT ?class WHERE{?class "+r("type")+e.ns.rdfs("Class")+".}",o=A.SPARQLToQuery(n);this.showMenu(t,"TypeChoice",o,{isPredicate:i,selectedTd:a})}}},getAutoCompleteHandler:function(t){let r;return o("\n\n***** In getAutoCompleteHandler ****** mode = "+t),"PredicateAutoComplete"===t?t="predicate":"JournalTAC"!==t&&(t="all"),r="JournalTAC"===t?i.getElementById("inpid_journal_title"):this.lastModified||a.getSelection()[0].firstChild,o("InputBox="+r),o("InputBox.value="+r.value),function(s){o("ENTER EVENT="+s),o("1. outside (if eneterEvent)");const l={},u=r.parentNode;t||(t=u.nextSibling?"predicate":"all"),l.pageX=e.utils.findPos(u)[0],l.pageY=e.utils.findPos(u)[1]+u.clientHeight,o("epX="+l.pageX+", epY="+l.pageY+", mode="+t);let d=i.getElementById(a.UserInput.menuID);function p(t){t&&(d.lastHighlight&&(d.lastHighlight.className=""),d.lastHighlight=t,d.lastHighlight.className="activeItem",a.showURI(e.utils.getAbout(n.store,d.lastHighlight)))}if(s){o("2. in (if enterEvent). with type = "+typeof s);let f=r.value;if("object"==typeof s)switch(o("3. in typeof enterEvent is object, will switch to keys, arrows, etc. keycode = "+s.keyCode),s.stopPropagation(),d&&!d.lastHighlight&&p(d.firstChild.firstChild),s.keyCode){case 13:case 9:if(o("handler: Enter or Tab"),!d)return void a.UserInput.clearInputAndSave();if(!d.lastHighlight)return"JournalTAC"===t?(a.UserInput.clearMenu(),o("no lastH"),"no lastH"):void 0;if("INPUT"===d.lastHighlight.tagName)switch(d.lastHighlight.value){case"New...":o("subcase New"),a.UserInput.createNew();break;case"GiveURI":o("subcase GiveURI"),a.UserInput.inputURI()}else{if("JournalTAC"===t){if(o("movedArrow? "+c),c&&d.lastHighlight){const e=d.lastHighlight.firstChild.firstChild.innerHTML;let n=d.lastHighlight.firstChild.nextSibling.innerHTML;return n=n.slice(4,-4),["gotdptitle",e,n]}return"asGivenTxt"}const i=e.utils.getAbout(n.store,d.lastHighlight),s="predicate"===t?"predicate":"object";a.UserInput.clearMenu(),a.UserInput.fillInRequest(s,r.parentNode,i)}return void o("outside");case 38:return o("handler: Arrow UP"),c=!0,""!==f||"TR"!==d.lastHighlight.tagName||d.lastHighlight.previousSibling?p(d.lastHighlight.previousSibling):p(d.firstChild.firstChild),"I'm a little Arrow Up";case 40:return o("handler: Arrow Down"),c=!0,"INPUT"===d.lastHighlight.tagName?p(d.childNodes[1].firstChild):p(d.lastHighlight.nextSibling),"I'm a little Down Arrow";case 37:case 39:return o("handler: Arrow left, right"),void("INPUT"===d.lastHighlight.tagName&&(37===s.keyCode?p(d.lastHighlight.previousSibling):p(d.lastHighlight.nextSibling)));case 8:o("handler: Backspace"),f=f.slice(0,-1);break;case 27:return o("handler: Esc"),d?void a.UserInput.clearMenu():void a.UserInput.backOut();default:o("handler: Default"),c=!1,o("oldtext="+f),f+=String.fromCharCode(s.charCode),o("charcodent="+s.charCode),o("strcharcod="+String.fromCharCode(s.charCode)),console.log("DEFAULT txtstr="+f+"\n")}return"all"===t?(o("generalAC after switch, newText="+f+"mode is all"),a.UserInput.clearMenu(),a.UserInput.showMenu(l,"GeneralAutoComplete",void 0,{inputText:f,selectedTd:u}),0===f.length&&a.UserInput.WildCardButtons()):"predicate"===t?(o("predicateAC after switch, newText="+f+"mode is predicate"),a.UserInput.clearMenu(),a.UserInput.showMenu(l,"PredicateAutoComplete",void 0,{inputText:f,isPredicate:!0,selectedTd:u})):"JournalTAC"===t&&(o("JouralTAC after switch, newText="+f),a.UserInput.clearMenu(),a.UserInput.showMenu(l,"JournalTitleAutoComplete",void 0,{inputText:f},"orderisuseless")),d=i.getElementById(a.UserInput.menuID),d?(o("at end of handler\n^^^^^^^^^^^^^^^^^\n\n"),p(d.firstChild.firstChild),a.showURI(e.utils.getAbout(n.store,d.lastHighlight)),"nothing to return"):void o("No menu element. Do not show menu.")}}},WildCardButtons:function(){const n=i.getElementById(a.UserInput.menuID),t=n.insertBefore(i.createElement("div"),n.firstChild),o=t.appendChild(i.createElement("input")),r=t.appendChild(i.createElement("input"));o.type="button",o.value="New...",r.type="button",r.value="Know its URI",t.addEventListener("mouseover",function(n){const t=i.getElementById(a.UserInput.menuID);t.lastHighlight&&(t.lastHighlight.className=""),t.lastHighlight=e.utils.ancestor(e.utils.getTarget(n),"INPUT"),t.lastHighlight&&(t.lastHighlight.className="activeItem")},!1),o.addEventListener("click",this.createNew,!1),r.addEventListener("click",this.inputURI,!1)},Keypress:function(e){if(13===e.keyCode)if("TEXTAREA"!==a.targetOf(e).tagName)this.clearInputAndSave();else{const n=parseInt(this.lastModified.getAttribute("rows"));this.lastModified.setAttribute("rows",(n+1).toString()),e.stopPropagation()}},Mousedown:function(e){o("MOUSING DOWN"),window.addEventListener("keypress",function(e){!e.ctrlKey||115!==e.charCode&&113!==e.charCode||B.switchMode()},!1),window.addEventListener("mousedown",B.Mousedown,!1),document.getElementById("outline").oncontextmenu=function(){return!1},2===e.button&&(B.switchMode(),e&&(e.preventDefault(),e.stopPropagation()))},Mouseover:function(n){if(this.className="bottom-border-active",1===this._tabulatorMode)switch(e.utils.getTarget(n).tagName){case"TD":{const t=e.utils.getTarget(n);"pred"===t.className&&(t.style.cursor="copy");break}case"DIV":{const t=e.utils.getTarget(n);"bottom-border"===e.utils.getTarget(n).className&&(t.style.borderColor="rgb(100%,65%,0%)",t.style.cursor="copy");break}}},Mouseout:function(n){if(this.className="bottom-border",1===this._tabulatorMode){const t=e.utils.getTarget(n);"bottom-border"===e.utils.getTarget(n).className&&(t.style.borderColor="transparent",t.style.cursor="auto")}},whatSortOfEditCell:function(t){if(t.nextSibling)return"predicate";const a=this.getStatementAbout(t).predicate;return n.store.whether(a,e.ns.rdf("type"),e.ns.owl("DatatypeProperty"))||n.store.whether(a,e.ns.rdfs("range"),e.ns.rdfs("Literal"))||"Collection"===a.termType?"DatatypeProperty-like":n.store.whether(a,r("type"),e.ns.owl("ObjectProperty"))?"ObjectProperty-like":"no-idea"},getStatementAbout:function(n){const t=e.utils.ancestor(n,"TR");if(!t)throw new Error("No ancestor TR for the TD we clicked on:"+n);let a;try{a=t.AJAR_statement}catch(e){throw new Error("No AJAR_statement!"+n+n.textContent+" has ancestor "+t)}return this.lastModifiedStat=t.AJAR_statement,this.statIsInverse=t.AJAR_inverse,a},createInputBoxIn:function(n,t){e.log.info("myDocument in createInputBoxIn is now "+i.location),e.log.info("outline.document is now "+a.document.location);const o=i.createElement("input");return o.setAttribute("value",t),o.setAttribute("class","textinput"),"undetermined selected"!==n.className&&(o.setAttribute("size","100"),o.addEventListener("keypress",function(e){38!==e.keyCode&&40!==e.keyCode||(a.OutlinerKeypressPanel(e),a.UserInput.clearInputAndSave())},!1)),n.appendChild(o),o},createNew:function(e){a.UserInput.clearMenu();const t=a.getSelection()[0],i=t.parentNode.AJAR_statement.why,o=n.store.nextSymbol(i);a.UserInput.fillInRequest("object",t,o),a.outlineExpand(a.getSelection()[0],o)},inputURI:function(t){const i=a.UserInput;i.clearMenu();const o=a.getSelection()[0];e.utils.emptyNode(o);const r=" (Type a URI) ";i.lastModified=i.createInputBoxIn(o,r),i.lastModified.select(),i.lastModified.addEventListener("keypress",function(e){switch(e.stopPropagation(),e.keyCode){case 13:case 9:if(this.value!==r){const e=this.value;i.fillInRequest("object",o,n.store.sym(e))}}},!1)},appendToPredicate:function(e){let n,t=!1;try{for(n=e.parentNode.nextSibling;1===n.childNodes.length&&n.AJAR_statement;n=n.nextSibling);}catch(e){t=!0}const a=i.createElement("tr");if(a.style.colspan="1",a.style.display="block",a.style.display="",e.hasAttribute("rowspan")&&e.setAttribute("rowspan",parseInt(e.getAttribute("rowspan"))+1),e.hasAttribute("rowspan")||e.setAttribute("rowspan","2"),t){const n=e.parentNode.parentNode;"defaultPane"===n.className?n.insertBefore(a,n.lastChild):n.appendChild(a)}else n.parentNode.insertBefore(a,n);return a},bnode2symbol:function(e,t){n.store.copyTo(e,t,["two-direction","delete"])},generateRequest:function(n,t,i,o){let r;o||(r=t||e.utils.ancestor(this.lastModified,"TR"),e.utils.emptyNode(r));const s=k,l=s.bnode();if(s.add(l,e.ns.rdf("type"),e.ns.link("Request")),n.length,s.add(l,e.ns.link("message"),s.literal(n)),s.add(l,e.ns.link("to"),s.literal("The User")),s.add(l,e.ns.link("from"),s.literal("The User")),!o){let e;e=i?r.appendChild(a.outlinePredicateTD(l,r,!1,!1)):r.appendChild(a.outlineObjectTD(l)),e.className="undetermined",e.textContent=n}return l},showMenu:function(t,c,u,d,p){e.log.info("myDocument is now "+i.location),e.log.info("outline.doucment is now "+a.document.location);const f=this,m=i.createElement("div");if(o("\n**** In showMenu, menuType = "+c+"\n"),d)for(const e in d)console.log("\t extra "+e+": "+d[e]+"\n");console.log("CREATED MENU\n"),m.id=this.menuID,m.className="outlineMenu",m.style.top=t.pageY+"px",m.style.left=t.pageX+"px";if("JournalTitleAutoComplete"===c){const e=function(e){let n=0,t=0,a=0,i=0,o=0,r=0;for(;e&&!isNaN(e.offsetLeft)&&!isNaN(e.offsetTop);)o=e.offsetLeft,r=e.offsetTop,o!==a&&(n+=e.offsetLeft-e.scrollLeft),r!==i&&(t+=e.offsetTop-e.scrollTop),a=o,i=r,e=e.parentNode;return{top:t+54,left:n-38}}(i.getElementById("inpid_journal_title"));e.left-=i.getElementById("inpid_journal_title").scrollTop,m.style.top=e.top+"px",m.style.left=e.left+"px"}console.log("menu at top="+m.style.top+" left="+m.style.left+"\n"),i.body.appendChild(m);const h=m.appendChild(i.createElement("table"));let g;switch(m.lastHighlight=null,h.addEventListener("mouseover",function(n){m.lastHighlight&&(m.lastHighlight.className=""),m.lastHighlight=e.utils.ancestor(e.utils.getTarget(n),"TR"),m.lastHighlight&&(m.lastHighlight.className="activeItem")},!1),c){case"DidYouMeanDialog":g=function(t){o("DID YOU MEAN SELECT ITEM!!!!!");const i=e.utils.ancestor(e.utils.getTarget(t),"TR");2===i.childNodes.length&&i.nextSibling?(n.store.add(x,undefined,undefined),a.UserInput.clearMenu()):2===i.childNodes.length&&a.UserInput.clearMenu()};break;case"LimitedPredicateChoice":{const t=d.clickedTd;g=function(i){o("LIMITED P SELECT ITEM!!!!");const r=e.utils.getAbout(n.store,e.utils.getTarget(i)),s=t.parentNode.AJAR_statement.predicate.elements;for(let e=0;e<s.length;e++)s[e].sameTerm(r)&&s.unshift(s.splice(e,1)[0]);a.UserInput.clearMenu();const l=t.parentNode,c=a.outlinePredicateTD(l.AJAR_statement.predicate,l);l.insertBefore(c,t),l.removeChild(t),f.lastModified.select()};break}case"PredicateAutoComplete":case"GeneralAutoComplete":case"GeneralPredicateChoice":case"JournalTitleAutoComplete":case"TypeChoice":{const t=d.isPredicate,i=d.selectedTd;g=function(r){o("WOOHOO");const s=e.utils.getAbout(n.store,e.utils.getTarget(r));o("GENERAL SELECT ITEM!!!!!!="+s),o("target="+e.utils.getTarget(r)),t?(o("1"),a.UserInput.fillInRequest("predicate",i,s)&&(o("2"),a.UserInput.clearMenu())):(o("3"),a.UserInput.fillInRequest("object",i,s)&&(o("4"),a.UserInput.clearMenu()))};break}default:throw new Error("userinput: unexpected mode")}h.addEventListener("click",g,!1);const b={};function v(n){h.firstChild&&"no-suggest"===h.firstChild.className&&h.removeChild(h.firstChild);const t=e.utils.predicateLabelForXML(n,!1);if(!n.uri)return;let a="??";for(const t in b)if(e.log.debug(b[t]),A.Util.string_startswith(n.uri,b[t])){a=t;break}const o=h.appendChild(i.createElement("tr"));o.setAttribute("about",n);o.appendChild(i.createElement("th")).appendChild(i.createElement("div")).appendChild(i.createTextNode(t)),o.appendChild(i.createElement("td")).appendChild(i.createTextNode(a.toUpperCase()))}function y(e){return function(n){v(n[e.vars[0]])}}let w,x,C,E;switch(n.store.each(void 0,e.ns.rdf("type"),e.ns.owl("Ontology")).forEach(function(n){const t=e.utils.label(n);if(!t)return;const a=t.value.match(/\((.+?)\)/);a?b[a[1]]=n.uri:b[t.value]=n.uri}),c){case"DidYouMeanDialog":{const t=d.dialogTerm;x=d.bnodeTerm,m.style.width="auto";const a=h.appendChild(i.createElement("tr")).appendChild(i.createElement("th"));a.appendChild(i.createTextNode("Did you mean..."));const o=n.store.statementsMatching(t);let s;for(s=0;s<o.length&&!n.store.whether(o[s].predicate,r("type"),e.ns.owl("InverseFunctionalProperty"));s++);const l=o[s].predicate,c=n.store.any(t,o[s].predicate),u=e.utils.label(t)+" who has "+e.utils.label(l)+" "+c+"?",p=h.appendChild(i.createElement("tr")).appendChild(i.createElement("th"));p.appendChild(i.createTextNode(u)),a.setAttribute("colspan","2"),p.setAttribute("colspan","2");const f=h.appendChild(i.createElement("tr"));f.appendChild(i.createElement("th")).appendChild(i.createTextNode("Yes")),f.appendChild(i.createElement("td")).appendChild(i.createTextNode("BOOLEAN"));const g=h.appendChild(i.createElement("tr"));g.appendChild(i.createElement("th")).appendChild(i.createTextNode("No")),g.appendChild(i.createElement("td")).appendChild(i.createTextNode("BOOLEAN"));break}case"PredicateAutoComplete":{w=d.inputText;const e=a.labeller.searchAdv(w,void 0,"predicate"),i=[];for(let a=0;a<e.length;a++){const i={vars:[]};i.vars.push("Kenny");const o={};o.Kenny=n.store.fromNT(e[a].NT);try{y(i)(o)}catch(t){throw new Error("I'll deal with bnodes later...[Kenny]"+t)}}const o=i[0];if(0===o.length)return console.log("cm length 0\n"),void this.clearMenu();for(let e=0;e<o.length&&e<10;e++)v(o[e][1]);break}case"GeneralAutoComplete":{let n;w=d.inputText;try{n=a.labeller.search(w)}catch(t){console.log("GeneralAutoComplete: debug me "+d.selectedTd.textContent+"\n"+t+"\n")}const o=n[0],r=n[1];if(0===o.length)return console.log("cm length 0\n"),void this.clearMenu();for(let n=0;n<o.length&&n<10;n++){const t=o[n][1].toNT();C=h.appendChild(i.createElement("tr")),C.setAttribute("about",t),E=C.appendChild(i.createElement("th")),E.appendChild(i.createElement("div")).appendChild(i.createTextNode(o[n][0]));const a=r[n],s=a?e.utils.label(a):"";C.appendChild(i.createElement("td")).appendChild(i.createTextNode(s))}break}case"JournalTitleAutoComplete":{w=d.inputText,console.log("testing searching text= "+w+" =====\n"),console.log("\n===start JournalTitleAutoComplete\n");const e=n.store.each(void 0,r("type"),s("Journal")),t=[];for(let a=0;a<e.length;a++){const r=e[a],s=n.store.each(r,l("title"),void 0),c=s+"",u=w.toLowerCase();if(-1!==c.toLowerCase().search(u)){o("FOUND A Journal Title Match!!!!!!"),t.push(s);const e=h.appendChild(i.createElement("tr"));e.setAttribute("about","journalTitle");e.appendChild(i.createElement("th")).appendChild(i.createElement("div")).appendChild(i.createTextNode(s)),e.appendChild(i.createElement("td")).appendChild(i.createTextNode(r))}}console.log("matched: "+t+"\n"),console.log("\\\\done showMenu's JTAutocomplete\n");break}case"LimitedPredicateChoice":{const t=e.utils.getAbout(n.store,d.clickedTd);t.termType="Collection";const a=n.store.each(t,e.ns.link("element"));for(let e=0;e<a.length;e++)v(a[e]);break}default:{C=h.appendChild(i.createElement("tr")),C.className="no-suggest",E=C.appendChild(i.createElement("th")),E.appendChild(i.createElement("div")).appendChild(i.createTextNode("No suggested choices. Try to type instead.")),C.appendChild(i.createElement("td")).appendChild(i.createTextNode("OK")),C.addEventListener("click",function(e){f.clearMenu(),e.stopPropagation()},"false");const e=function(){};switch(u.constructor.name){case"Array":for(let t=0;t<u.length;t++)n.store.query(u[t],y(u[t]),e);break;case"undefined":throw new Error("addPredicateChoice: query is not defined");default:n.store.query(u,y(u),e)}}}},fillInRequest:function(t,i,o){const r=i.parentNode,s=r.AJAR_statement,l=r.AJAR_inverse,c="object"===t?s.object:s.predicate;let u,d=!1;if(n.store.any(c,e.ns.link("onfillin")),"predicate"===t){const t=a.outlinePredicateTD(o,r,!1,!1);if("undetermined"!==i.nextSibling.className){const a=new A.Statement(s.subject,o,s.object,s.why);try{n.store.updater.update([],[a],function(a,i,l){i?(u=n.store.anyStatementMatching(s.subject,o,s.object,s.why),r.AJAR_statement=u,t.className=t.className.replace(/ pendingedit/g,"")):e.log.warn("Failure occurs (#2) while inserting "+r.AJAR_statement+"\n\n"+l)})}catch(n){return e.log.error(n),void e.log.warn("Error when insert (#2) of statement "+a+":\n\t"+n)}t.className+=" pendingedit",this.lastModified=null}else this.formUndetStat(r,s.subject,o,s.object,s.why,!1),a.walk("right"),d=!0;a.replaceTD(t,i),k.remove(s)}else if("object"===t){const t=a.outlineObjectTD(o);if(a.replaceTD(t,i),i.previousSibling&&"undetermined"===i.previousSibling.className)a.walk("left"),d=!0;else{let a;a=l?new A.Statement(o,s.predicate,s.object,s.why):new A.Statement(s.subject,s.predicate,o,s.why);try{n.store.updater.update([],[a],function(i,c,u){let d;e.log.info("@@ usinput.js (object) callback ok="+c+" for statement:"+a+"\n "),c?(t.className=t.className.replace(/ pendingedit/g,""),d=l?n.store.statementsMatching(o,s.predicate,s.object,s.why):n.store.statementsMatching(s.subject,s.predicate,o,s.why),d.length||e.log.error("userinput.js 1711: Can't find statememt!"),r.AJAR_statement=d[0]):e.log.warn("userinput.js (object): Fail trying to insert statement "+a)})}catch(n){return e.log.error("userinput.js (object): exception trying to insert statement "+a+": "+e.utils.stackString(n)),void e.log.warn("Error trying to insert statement "+a+":\n"+n)}this.lastModified=null,t.className+=" pendingedit"}k.remove(s)}if(E.statements.push(u),!d)return!0;this.startFillInText(a.getSelection()[0])},formUndetStat:function(e,n,t,a,i,o){return e.AJAR_inverse=o,e.AJAR_statement=k.add(n,t,a,i),e.AJAR_statement}}}C.src=[],C.tooltips=[],C.src.icon_expand=e.icons.originalIconBase+"tbl-expand-trans.png",C.src.icon_more=e.icons.originalIconBase+"tbl-more-trans.png",C.src.icon_collapse=e.icons.originalIconBase+"tbl-collapse.png",C.src.icon_internals=e.icons.originalIconBase+"tango/22-emblem-system.png",C.src.icon_instances=e.icons.originalIconBase+"tango/22-folder-open.png",C.src.icon_foaf=e.icons.originalIconBase+"foaf/foafTiny.gif",C.src.icon_social=e.icons.originalIconBase+"social/social.gif",C.src.icon_mb=e.icons.originalIconBase+"microblog/microblog.png",C.src.icon_shrink=e.icons.originalIconBase+"tbl-shrink.png",C.src.icon_rows=e.icons.originalIconBase+"tbl-rows.png",C.src.icon_unrequested=e.icons.originalIconBase+"16dot-blue.gif",C.src.icon_fetched=e.icons.originalIconBase+"16dot-green.gif",C.src.icon_failed=e.icons.originalIconBase+"16dot-red.gif",C.src.icon_requested=e.icons.originalIconBase+"16dot-yellow.gif",C.src.icon_CVPane=e.icons.originalIconBase+"CV.png",C.src.icon_defaultPane=e.icons.originalIconBase+"about.png",C.src.icon_visit=e.icons.originalIconBase+"tango/22-text-x-generic.png",C.src.icon_dataContents=e.icons.originalIconBase+"rdf_flyer.24.gif",C.src.icon_n3Pane=e.icons.originalIconBase+"w3c/n3_smaller.png",C.src.icon_RDFXMLPane=e.icons.originalIconBase+"22-text-xml4.png",C.src.icon_imageContents=e.icons.originalIconBase+"tango/22-image-x-generic.png",C.src.icon_airPane=e.icons.originalIconBase+"1pt5a.gif",C.src.icon_LawPane=e.icons.originalIconBase+"law.jpg",C.src.icon_pushbackPane=e.icons.originalIconBase+"pb-logo.png",C.src.icon_photoPane=e.icons.originalIconBase+"photo_small.png",C.src.icon_tagPane=e.icons.originalIconBase+"tag_small.png",C.src.icon_TinyTag=e.icons.originalIconBase+"tag_tiny.png",C.src.icon_photoBegin=e.icons.originalIconBase+"photo_begin.png",C.src.icon_photoNext=e.icons.originalIconBase+"photo_next.png",C.src.icon_photoBack=e.icons.originalIconBase+"photo_back.png",C.src.icon_photoEnd=e.icons.originalIconBase+"photo_end.png",C.src.icon_photoImportPane=e.icons.originalIconBase+"flickr_small.png",C.src.icon_retract=e.icons.originalIconBase+"retract.gif",C.src.icon_refresh=e.icons.originalIconBase+"refresh.gif",C.src.icon_optoff=e.icons.originalIconBase+"optional_off.PNG",C.src.icon_opton=e.icons.originalIconBase+"optional_on.PNG",C.src.icon_map=e.icons.originalIconBase+"compassrose.png",C.src.icon_retracted=C.src.icon_unrequested,C.src.icon_retracted=C.src.icon_unrequested,C.src.icon_time=e.icons.originalIconBase+"icons/Wclocksmall.png",C.src.icon_telephone=e.icons.originalIconBase+"silk/telephone.png",C.src.icon_time=e.icons.originalIconBase+"Wclocksmall.png",C.src.icon_remove_node=e.icons.originalIconBase+"tbl-x-small.png",C.src.icon_add_triple=e.icons.originalIconBase+"tango/22-list-add.png",C.src.icon_add_new_triple=e.icons.originalIconBase+"tango/22-list-add-new.png",C.src.icon_show_choices=e.icons.originalIconBase+"userinput_show_choices_temp.png",C.src.icon_display_reasons=e.icons.originalIconBase+"tango/22-help-browser.png",C.tooltips[C.src.icon_display_reasons]="Display explanations",C.tooltips[C.src.icon_add_triple]="Add more",C.tooltips[C.src.icon_add_new_triple]="Add one",C.tooltips[C.src.icon_remove_node]="Remove",C.tooltips[C.src.icon_expand]="View details.",C.tooltips[C.src.icon_collapse]="Hide details.",C.tooltips[C.src.icon_shrink]="Shrink list.",C.tooltips[C.src.icon_internals]="Under the hood",C.tooltips[C.src.icon_instances]="List",C.tooltips[C.src.icon_foaf]="Friends",C.tooltips[C.src.icon_rows]="Make a table of data like this",C.tooltips[C.src.icon_unrequested]="Fetch this.",C.tooltips[C.src.icon_fetched]="Fetched successfully.",C.tooltips[C.src.icon_failed]="Failed to load. Click to retry.",C.tooltips[C.src.icon_requested]="This is being fetched. Please wait...",C.tooltips[C.src.icon_visit]="View document",C.tooltips[C.src.icon_retract]="Remove this source and all its data from tabulator.",C.tooltips[C.src.icon_refresh]="Refresh this source and reload its triples.",C.OutlinerIcon=function(e,n,t,a,i){return this.src=e,this.alt=t,this.width=n,this.tooltip=a,this.filter=i,this},C.termWidgets={},C.termWidgets.optOn=new C.OutlinerIcon(C.src.icon_opton,20,"opt on","Make this branch of your query mandatory."),C.termWidgets.optOff=new C.OutlinerIcon(C.src.icon_optoff,20,"opt off","Make this branch of your query optional."),C.termWidgets.addTri=new C.OutlinerIcon(C.src.icon_add_triple,18,"add tri","Add one");function S(){this.queries=[],this.listeners=[],this.addQuery=function(e){let n;for(null!==e.name&&""!==e.name||(e.name="Query #"+(this.queries.length+1)),e.id=this.queries.length,this.queries.push(e),n=0;n<this.listeners.length;n++)null!==this.listeners[n]&&this.listeners[n].addQuery(e)},this.removeQuery=function(e){let n;for(n=0;n<this.listeners.length;n++)null!==this.listeners[n]&&this.listeners[n].removeQuery(e);null!==this.queries[e.id]&&delete this.queries[e.id]},this.addListener=function(e){let n;for(this.listeners.push(e),n=0;n<this.queries.length;n++)null!==this.queries[n]&&e.addQuery(this.queries[n])},this.removeListener=function(e){let n;for(n=0;n<this.queries.length;n++)null!==this.queries[n]&&e.removeQuery(this.queries[n]);for(n=0;n<this.listeners.length;n++)this.listeners[n]===e&&delete this.listeners[n]}}function T(a){const i=a.dom;this.document=a.dom,this.outlineIcons=C,this.labeller=this.labeller||{},this.labeller.LanguagePreference="";const r=this,s=this;let l=[];this.selection=l,this.ancestor=e.utils.ancestor,this.sparql=A.UpdateManager,this.kb=n.store;const c=n.store,u=n.store.fetcher;i.outline=this,this.qs=new S,this.UserInput=new B(this),this.clipboardAddress="tabulator:clipboard",this.UserInput.clipboardInit(this.clipboardAddress);const d=this.outlineElement;async function p(a={}){console.log("globalAppTabs @@");const o=i.createElement("div"),r=n.authn.currentUser();if(!r)throw alert("Must be logged in for this"),new Error("Not logged in");const l=await f();return o.appendChild(e.tabs.tabWidget({dom:i,subject:r,items:l,renderMain:function(e,a){const o=t.byName(a.paneName);e.innerHTML="";const r=e.appendChild(i.createElement("table")),l=n.authn.currentUser();s.GotoSubject(a.subject||l,!0,o,!1,void 0,r)},renderTab:function(e,n){e.dataset.globalPaneName=n.tabName||n.paneName,e.textContent=n.label},ordered:!0,orientation:0,backgroundColor:"#eeeeee",selectedTab:a.selectedTab,onClose:a.onClose})),o}async function f(){const t=n.authn.currentUser();if(!t)return[];i.createElement("div");const[a]=await Promise.all([async function(){async function n(e){return await g(e),!!c.holds(e,G.rdf("type"),G.space("Storage"),e.doc())&&(a.push(e),!0)}try{await c.fetcher.load(t.doc())}catch(e){return console.error("Unable to load profile",e),[]}let a=c.each(t,G.space("storage"),null,t.doc());a.map(async e=>{await g(e)});try{const e=new URL(window.location.href).searchParams.get("uri")||window.location.href;await async function(e){const t=new URL(e);let a=t.pathname;for(;a.length;)if(a=a.substring(0,a.lastIndexOf("/")),await n(c.sym(`${t.origin}${a}/`)))return}(e)}catch(e){console.error("cannot load container",e)}return a=function(e){const n=[];return e.forEach(e=>{n.find(n=>n.equals(e))||n.push(e)}),n}(a),a.length?a.map((n,a)=>{function i(e){return e.uri.split("//")[1].slice(0,-1)}return{paneName:"folder",tabName:`folder-${a}`,label:i(t).startsWith(i(n))?"Your storage":i(n),subject:n,icon:e.icons.iconBase+"noun_Cabinet_251723.svg"}}):[]}()]);return[{paneName:"home",label:"Your stuff",icon:e.icons.iconBase+"noun_547570.svg"},{paneName:"basicPreferences",label:"Preferences",icon:e.icons.iconBase+"noun_Sliders_341315_00000.svg"},{paneName:"profile",label:"Your Profile",icon:e.icons.iconBase+"noun_15059.svg"},{paneName:"editProfile",label:"Edit your Profile",icon:e.icons.iconBase+"noun_492246.svg"}].concat(a)}function m(){return h("outline")}function h(e){return document.getElementById(e)||(()=>{const n=document.createElement("div");n.id=e;return(document.querySelector('[role="main"]')||document.body).appendChild(n)})()}async function g(e){if(!c.any(e,G.ldp("contains"),void 0,e.doc())){const n=(await c.fetcher.webOperation("GET",e.uri,c.fetcher.initFetchOptions(e.uri,{headers:{accept:"text/turtle"}}))).responseText;A.parse(n,c,e.uri,"text/turtle")}}async function b(n,t,o){const r=i.createElement("tr");o.hover&&r.setAttribute("class","hoverControl");const s=r.appendChild(i.createElement("td"));s.setAttribute("style","margin: 0.2em; border: none; padding: 0; vertical-align: top;display:flex; justify-content: space-between; flex-direction: row;"),s.setAttribute("notSelectable","true"),s.setAttribute("about",n.toNT()),s.setAttribute("colspan","2");const l=s.appendChild(i.createElement("div"));l.style="display:flex; justify-content: flex-start; align-items: center; flex-wrap: wrap;";const c=!!t;if(!o.solo&&!c){l.appendChild(e.utils.AJARImage(e.icons.originalIconBase+"tbl-collapse.png","collapse",void 0,i)).addEventListener("click",R);const t=l.appendChild(i.createElement("h1"));t.appendChild(i.createTextNode(e.utils.label(n))),t.style="font-size: 150%; margin: 0 0.6em 0 0; padding: 0.1em 0.4em;",e.widgets.makeDraggable(t,n)}return l.appendChild(await async function(o,s={}){const l="width: 24px; border-radius: 0.5em; border-top: solid #222 1px; border-left: solid #222 0.1em; border-bottom: solid #eee 0.1em; border-right: solid #eee 0.1em; margin-left: 1em; padding: 3px; background-color: #ffd;",c="width: 24px; border-radius: 0.5em; margin-left: 1em; padding: 3px",u=o.appendChild(i.createElement("nav"));u.style="display:flex; justify-content: flex-start; align-items: center;";const d=s.hideList?[]:await async function(n,t){n.uri.endsWith("/")&&await g(n);const a=t.session.paneRegistry,i=a.list.filter(e=>e.label(n,t)&&!e.global);if(0===i.length)return[a.byName("internal")];const o=await e.login.filterAvailablePanes(i);return 0===o.length?[i[0]]:a.list.indexOf(i[0])<a.list.indexOf(o[0])?[i[0]].concat(o):o}(n,a);r.firstPane=t||function(e,n){return e.find(e=>e.shouldGetFocus&&e.shouldGetFocus(n))||e[0]}(d,n);const p=d.indexOf(r.firstPane);return 1!==d.length&&d.forEach((t,d)=>{const f=t.label(n,a),m="function"==typeof t.icon?t.icon(n,a):t.icon,h=e.utils.AJARImage(m,f,f,i);m instanceof Promise&&m.then(e=>{h.setAttribute("src",e)}).catch(e=>{console.error("Error resolving async icon:",e)}),h.style=t===r.firstPane?l:c;!function(t,r){t.addEventListener("click",function(u){let d;for(d=o;d.parentNode&&"TABLE"!==d.nodeName;d=d.parentNode);if("TABLE"!==d.nodeName)throw new Error("outline: internal error.");const p=function(e){for(let n=d.firstChild;n;n=n.nextSibling)void 0!==n.pane&&(e&&n.pane!==e||(n.paneButton&&(n.paneButton.setAttribute("class","paneHidden"),n.paneButton.style=c),v(n),n.pane.requireQueryButton&&d.parentNode.className&&1===f&&i.getElementById("queryButton")&&i.getElementById("queryButton").setAttribute("style","display:none;")))};"paneHidden"===t.getAttribute("class")?(u.shiftKey||p(),function(o){let r;e.log.info("outline: Rendering pane (2): "+o.name);try{r=o.render(n,a,s)}catch(n){r=i.createElement("div"),r.setAttribute("class","exceptionPane");const t=i.createElement("pre");r.appendChild(t),t.appendChild(i.createTextNode(e.utils.stackString(n)))}o.requireQueryButton&&i.getElementById("queryButton")&&i.getElementById("queryButton").removeAttribute("style");const l=d.firstChild.nextSibling,c=i.createElement("tr");c.appendChild(i.createElement("td")).appendChild(r),l?d.insertBefore(c,l):d.appendChild(c),c.pane=o,c.paneButton=t}(r),t.setAttribute("class","paneShown"),t.style=l):(p(r),t.setAttribute("class","paneHidden"),t.style=c);let f=0;for(let e=d.firstChild;e;e=e.nextSibling)e.pane&&e.pane.requireQueryButton&&f++},!1)}(h,t),h.setAttribute("class",d!==p?"paneHidden":"paneShown"),d===p&&(r.paneButton=h),u.appendChild(h)}),u}(s,{hideList:c})),r.firstChild.tabulatorSelect=function(){I(this,!0)},r.firstChild.tabulatorDeselect=function(){I(this,!1)},r}function v(e){const n=e.parentNode,t=n.parentNode,a=i.createElement("table");a.classList.add("placeholderTable"),t.replaceChild(a,n),n.removeChild(e),t.replaceChild(n,a)}this.init=function(){m().outline=this},this.appendAccessIcons=function(e,n,t){if("NamedNode"!==t.termType)return;const a=e.uris(t);a.sort();let i=null;for(let e=0;e<a.length;e++)a[e]!==i&&(i=a[e],s.appendAccessIcon(n,i))},this.appendAccessIcon=function(n,t){if(!t)return"";const a=A.uri.docpart(t);if("http:"!==a.slice(0,5))return"";const o=u.getState(a);let s,l,c;switch(o){case"unrequested":s=C.src.icon_unrequested,l="fetch",c=j;break;case"requested":s=C.src.icon_requested,l="fetching",c=D;break;case"fetched":s=C.src.icon_fetched,c=M,l="loaded";break;case"failed":s=C.src.icon_failed,l="failed",c=D;break;case"unpermitted":s=C.src.icon_failed,c=D,l="no perm";break;case"unfetchable":s=C.src.icon_failed,c=D,l="cannot fetch";break;default:e.log.error("?? state = "+o)}const d=e.utils.AJARImage(s,l,C.tooltips[s].replace(/[Tt]his resource/,a),i);return d.setAttribute("uri",t),d.addEventListener("click",c),function(n,t){e.log.debug("Button callbacks for "+t+" added");const a=function(e){return function(a){return a.indexOf("#")>=0&&console.log("@@ makeIconCallback: Not expecting # in URI whose state changed: "+a),!!n&&(!!r.ancestor(n,"DIV")&&(a===t&&(n.src=e,n.title=C.tooltips[e]),!0))}};u.addCallback("request",a(C.src.icon_requested)),u.addCallback("done",a(C.src.icon_fetched)),u.addCallback("fail",a(C.src.icon_failed))}(d,a),n.appendChild(d),d},this.outlineObjectTD=function(n,t,a,o){const r=i.createElement("td");r.classList.add("obj"),r.setAttribute("notSelectable","false"),r.style.margin="0.2em",r.style.border="none",r.style.padding="0",r.style.verticalAlign="top";return("NamedNode"===n.termType||"BlankNode"===n.termType||"Literal"===n.termType&&n.value.slice&&("ftp://"===n.value.slice(0,6)||"https://"===n.value.slice(0,8)||"http://"===n.value.slice(0,7)))&&(r.setAttribute("about",n.toNT()),r.appendChild(e.utils.AJARImage(e.icons.originalIconBase+"tbl-expand-trans.png","expand",void 0,i)).addEventListener("click",O)),r.setAttribute("class","obj"),c.whether(n,e.ns.rdf("type"),e.ns.link("Request"))&&(r.className="undetermined"),t||(t=Y),r.appendChild(t(n)),a&&function(n,t,a){const o=e.utils.AJARImage(C.src.icon_remove_node,"remove",void 0,i);o.addEventListener("click",z),o.node=a,o.setAttribute("about",t.toNT()),o.style.marginLeft="5px",o.style.marginRight="10px",n.appendChild(o)}(r,n,a),r.tabulatorSelect=function(){I(this,!0)},r.tabulatorDeselect=function(){I(this,!1)},r.addEventListener("click",U),r},this.outlinePredicateTD=function(n,t,a,o){const r=i.createElement("TD");let s;switch(r.setAttribute("about",n.toNT()),r.setAttribute("class",o?"pred internal":"pred"),n.termType){case"BlankNode":r.className="undetermined";break;case"NamedNode":s=e.utils.predicateLabelForXML(n,a);break;case"Collection":s=e.utils.predicateLabelForXML(n.elements[0],a)}s=s?s.slice(0,1).toUpperCase()+s.slice(1):"...";const l=i.createElement("TD");l.classList.add("labelTD"),l.setAttribute("notSelectable","true"),l.appendChild(i.createTextNode(s)),r.appendChild(l),l.style.width="100%",r.appendChild(T.construct(i));for(const e in C.termWidgets){if(!t||!t.AJAR_statement)break;C.termWidgets[e].filter&&C.termWidgets[e].filter(t.AJAR_statement,"pred",a)&&T.addIcon(r,C.termWidgets[e])}return r.tabulatorSelect=function(){I(this,!0)},r.tabulatorDeselect=function(){I(this,!1)},r.addEventListener("click",U),r},this.getDashboard=p,this.getDashboardItems=f,this.showDashboard=async function(e={}){const t=h("GlobalDashboard"),a=m();if(t.childNodes.length>0&&e.pane){a.style.display="none",t.style.display="inherit";const n=t.querySelector(`[data-global-pane-name="${e.pane}"]`);if(n)return void n.click();console.warn("Did not find the referred tab in global dashboard, will open first one")}const i=await p({selectedTab:e.pane,onClose:r});n.authSession.events.on("logout",r),a.style.display="none",t.appendChild(i);const o=t.querySelector(`[data-global-pane-name="${e.pane}"]`);function r(){t.style.display="none",a.style.display="inherit"}o&&o.click()};const E=this.propertyTable=function(n,t,o,r){return e.log.debug("Property table for: "+n),n=c.canon(n),t?(e.log.info("Re-expand: "+t),t):((t=i.createElement("table")).classList.add("tableFullWidth"),b(n,o,r).then(o=>{if(t.appendChild(o),o.firstPane){let s;try{e.log.info("outline: Rendering pane (1): "+o.firstPane.name),s=o.firstPane.render(n,a,r)}catch(n){s=i.createElement("div"),s.setAttribute("class","exceptionPane");const t=i.createElement("pre");s.appendChild(t),t.appendChild(i.createTextNode(e.utils.stackString(n)))}const l=i.createElement("tr");l.appendChild(i.createElement("td")).appendChild(s),o.firstPane.requireQueryButton&&i.getElementById("queryButton")&&i.getElementById("queryButton").removeAttribute("style"),t.appendChild(l),l.pane=o.firstPane,l.paneButton=o.paneButton}}),t)};function k(e,n,t){const a=e.createElement("TR");a.AJAR_statement=n,a.AJAR_inverse=t,a.setAttribute("predTR","true");const i=s.outlinePredicateTD(n.predicate,a,t);return a.appendChild(i),a}this.propertyTR=k,this.appendPropertyTRs=function(n,t,a,o){if(e.log.debug("Property list length = "+t.length),0===t.length)return"";let l,u,d;a?(l=function(e){return e.subject},t=t.sort(e.utils.RDFComparePredicateSubject)):(l=function(e){return e.object},t=t.sort(e.utils.RDFComparePredicateObject));const p=t.length;for(u=0;u<p;u++){let f=t[u];if(o&&!o(f.predicate,a))continue;const m=k(i,f,a);n.appendChild(m);const h=m.firstChild;let g=W.defaults[f.predicate.uri],b=0,v=0,A=0;for(d=0;d+u<p&&t[u+d].predicate.sameTerm(f.predicate);d++)d>0&&l(t[u+d]).sameTerm(l(t[u+d-1]))&&b++,l(t[u+d]).lang&&r.labeller.LanguagePreference&&(v+=1,l(t[u+d]).lang.indexOf(r.labeller.LanguagePreference)>=0&&A++);if(A>0&&v===b+1){for(let e=u;e<=u+b;e++)if(r.labeller.LanguagePreference&&l(t[e]).lang.indexOf(r.labeller.LanguagePreference)>=0){m.appendChild(s.outlineObjectTD(l(t[e]),g,void 0,f));break}u+=b}else m.appendChild(s.outlineObjectTD(l(f),g,void 0,f)),m.showNobj=function(o){const r=d-b,p=2*o<r?o:r,m=[];if(1!==r){let b;h.setAttribute("rowspan",p===r?r:o+1),p<r&&1===p&&h.setAttribute("rowspan",2);let v=0;for(b=1;b<d;b++)if(c.canon(l(t[u+b])).sameTerm(c.canon(l(t[u+b-1]))))e.log.info("there are duplicates here: %s",t[u+b-1]);else{v++,f=t[u+b],g=W.defaults[f.predicate.uri];const e=i.createElement("tr");e.style.colspan="1",e.appendChild(s.outlineObjectTD(l(t[u+b]),g,void 0,f)),e.AJAR_statement=f,e.AJAR_inverse=a,n.appendChild(e),v>=p&&(e.style.display="none",m.push(e))}p===r&&h.setAttribute("rowspan",v+1)}if(p<r){const t=i.createElement("tr"),a=t.appendChild(i.createElement("td"));if(a.setAttribute("style","margin: 0.2em; border: none; padding: 0; vertical-align: top;"),a.setAttribute("notSelectable","false"),r>o){const n=i.createElement("a");a.appendChild(n);const t=function(t,a,o,s){return function(a){n.innerHTML="","none"===a?(n.appendChild(e.utils.AJARImage(e.icons.originalIconBase+"tbl-more-trans.png","more","See all",i)),n.appendChild(i.createTextNode(r-s+" more...")),t.setAttribute("rowspan",s+1)):(n.appendChild(e.utils.AJARImage(e.icons.originalIconBase+"tbl-shrink.png","(less)",void 0,i)),t.setAttribute("rowspan",r+1));for(let e=0;e<m.length;e++)m[e].style.display=a}}(h,0,0,o);let s="none";const l=function(e){return t(s),s="none"===s?"":"none",e&&e.stopPropagation(),!1};l(),n.addEventListener("click",l,!1)}n.appendChild(t)}},m.showAllobj=function(){m.showNobj(d-b)},m.showNobj(10),u+=d-1}};const T={};o.g.termWidget=T,T.construct=function(e){const n=(e=e||document).createElement("TD");return n.setAttribute("style","margin: 0.2em; border: none; padding: 0; vertical-align: top;"),n.setAttribute("class","iconTD"),n.setAttribute("notSelectable","true"),n.style.width="0px",n},T.addIcon=function(n,t,a){const o=n.childNodes[1];if(!o)return;let r=o.style.width;const s=e.utils.AJARImage(t.src,t.alt,t.tooltip,i);r=parseInt(r),r+=t.width,o.style.width=r+"px",o.appendChild(s),a&&s.addEventListener("click",a)},T.removeIcon=function(e,n){const t=e.childNodes[1];let a;if(!t)return;let o=t.style.width;o=parseInt(o),o-=n.width,t.style.width=o+"px";for(let e=0;e<t.childNodes.length;e++){const o=t.childNodes[e],r=o.src;try{a=i.location.href.split("?")[0]}catch(e){console.log(e),a=""}r===A.uri.join(n.src,a)&&t.removeChild(o)}},T.replaceIcon=function(e,n,t,a){T.removeIcon(e,n),T.addIcon(e,t,a)};function P(e){const n=e.getAttribute("class");return!!(n&&n.indexOf("selected")>=0)}function F(e){const n=s.targetOf(e).parentNode;T.replaceIcon(n.parentNode,C.termWidgets.optOn,C.termWidgets.optOff,N),n.parentNode.parentNode.removeAttribute("optional")}function N(e){const n=s.targetOf(e).parentNode;T.replaceIcon(n.parentNode,C.termWidgets.optOff,C.termWidgets.optOn,F),n.parentNode.parentNode.setAttribute("optional","true")}function L(e,n){const t=C.termWidgets.optOn,a=C.termWidgets.optOff;for(let i=e;i.parentNode;i=i.parentNode)for(;;){if(i.getAttribute("predTR")){let e=i.getAttribute("parentOfSelected");e=e?parseInt(e):0,0===e&&n>0&&T.addIcon(i.childNodes[0],i.getAttribute("optional")?t:a,i.getAttribute("optional")?F:N),e+=n,i.setAttribute("parentOfSelected",e),0===e&&(i.removeAttribute("parentOfSelected"),T.removeIcon(i.childNodes[0],i.getAttribute("optional")?t:a));break}if(!i.previousSibling||"TR"!==i.previousSibling.nodeName)break;i=i.previousSibling}}function I(t,a){if("TD"!==t.nodeName)throw e.log.debug("down"+t.nodeName),new Error("Expected TD in setSelected: "+t.nodeName+" : "+t.textContent);e.log.debug("pass");let i=t.getAttribute("class");if(i||(i=""),a){i+=" selected",(i.indexOf("pred")>=0||i.indexOf("obj")>=0)&&L(t,1),l.push(t);const a=e.utils.getTerm(t);s.showURI(a);let o=t.AJAR_statement;if(void 0===o&&t.parentNode&&(o=t.parentNode.AJAR_statement),o){const e=o.why,a=n.store.updater.editable(e.uri,c);a&&i.indexOf("pred")>=0&&T.addIcon(t,C.termWidgets.addTri)}}else e.log.debug("cla=$"+i+"$"),"selected"===i&&(i=""),i=i.replace(" selected",""),(i.indexOf("pred")>=0||i.indexOf("obj")>=0)&&L(t,-1),i.indexOf("pred")>=0&&T.removeIcon(t,C.termWidgets.addTri),l=l.filter(function(e){return e===t}),e.log.info("Deselecting "+t.textContent);"undefined"!=typeof sourceWidget&&s.showSource(),t.setAttribute("class",i)}function _(){for(let e=l.length-1;e>=0;e--)I(l[e],!1);l=[]}function O(n){const a=s.targetOf(n),i=a.parentNode,o=e.utils.getAbout(c,a);n.altKey&&t.byName("internal");n.shiftKey?V(i,o):n.altKey?$(i,o,{pane:t.byName("internal"),immediate:!0}):$(i,o)}function R(n){const a=s.targetOf(n),i=e.utils.getAbout(c,a);n.altKey&&t.byName("internal");H(a.parentNode.parentNode,i)}function D(e){const n=s.targetOf(e).getAttribute("uri");e.altKey?u.fetch(A.uri.docpart(n),{force:!0}):u.refresh(c.sym(A.uri.docpart(n)))}function M(e){const n=s.targetOf(e).getAttribute("uri");e.altKey?u.fetch(A.uri.docpart(n),{force:!0}):u.refresh(c.sym(A.uri.docpart(n)))}function j(e){const n=s.targetOf(e).getAttribute("uri");u.fetch(A.uri.docpart(n))}function z(e){const n=s.targetOf(e);let t=n.node;t.childNodes.length>1&&(t=n.parentNode),v(t)}function U(t){if(s.UserInput._tabulatorMode)return s.UserInput.Click(t);const a=s.targetOf(t);let i;for(i=e.utils.ancestor(a,"TD");i&&"false"!==i.getAttribute("notSelectable");i=e.utils.ancestor(i.parentNode,"TD"));if(!i)return;const o=P(i);if(e.log.debug("Was node selected before: "+o),t.altKey)I(i,!P(i));else if(t.shiftKey)I(i,!0);else{if(_(),s.UserInput.clearInputAndSave(t),I(i,!0),2===t.detail)return void t.stopPropagation();let e;if(i.parentNode&&(e=i.parentNode.AJAR_statement),!e)return;const a=e.why,r=n.store.updater.editable(a.uri,c);o&&r&&s.UserInput.Click(t,l[0])}e.log.debug("Was node selected after: "+P(i)+", count="+l.length),t.stopPropagation()}function q(n){i.title=e.utils.label(n),i.location.href.startsWith(n.site().uri)}function $(n,t,a){const o=(a=a||{}).pane;let r=!!a.already;const l=a.immediate;e.log.info("@outlineExpand, dom is now "+i.location),u.removeCallback("done","expand"),u.removeCallback("fail","expand");let p=c.canon(t);function f(){if(p=c.canon(p),!n||!n.parentNode||!n.parentNode.parentNode)return!1;let t;if(e.log.info("@@ REPAINTING "),r){for(e.log.info(" ... p is "+n),t=n.firstChild;t.nextSibling&&(e.log.info(" ... checking node "+t),"table"!==t.nodeName);t=t.nextSibling);t=E(p,t,o,a)}else t=E(p,void 0,o,a);r=!0,e.utils.ancestor(n,"TABLE")&&"white"===e.utils.ancestor(n,"TABLE").style.backgroundColor?t.style.backgroundColor="#eee":t.style.backgroundColor="white",e.utils.emptyNode(n).appendChild(t),s.focusTd=n,e.log.debug("expand: Node for "+p+" expanded");const i=c.each(p,e.ns.rdfs("seeAlso"));for(let n=0;n<i.length;n++)25===n&&e.log.warn("expand: Warning: many ("+i.length+") seeAlso links for "+p),u.lookUpThing(i[n],p)}function m(n){if(arguments[3])return!0;const t=c.canon(p);e.log.info("@@ expand: relevant subject="+t+", uri="+n+", already="+r);const a=c.sym(A.uri.docpart(n));if(n.indexOf("#")>=0)throw new Error("Internal error: hash in "+n);return!function(){if(!t.uri)return!0;const e=c.uris(t);if(!e)return!1;for(let t=0;t<e.length;t++)for(let a=A.uri.docpart(e[t]);a;a=c.HTTPRedirects[a])if(n===a)return!0;return!!c.anyStatementMatching(t,void 0,void 0,a)}()||(e.log.success("@@ expand OK: relevant subject="+t+", uri="+n+", source="+r),f(),!1)}a.solo&&q(p),e.log.debug("outlineExpand: dereferencing "+p);const h=i.createElement("span");n.appendChild(h),u.addCallback("done",m),u.addCallback("fail",m);const g=[];if(p.uri&&"rdf"===p.uri.split(":")[0])f();else{for(let n=0;n<g.length;n++){let t;if(t===g[n](p))return f(),e.log.debug("outline 1815"),void(t[1]&&d.removeChild(d.lastChild))}if(!p.uri||l||e.widgets.isAudio(p)||e.widgets.isVideo(p))f();else{const t=p.doc()&&p.doc().uri?p.doc().uri:""+p.doc(),o=function(a,o){if(n.querySelector&&t){if(n.querySelector('[data-outline-error-for="'+t+'"]'))return}const r=e.widgets.errorMessageBlock(i,a,"#fee",o instanceof Error?o:void 0);t&&r.setAttribute("data-outline-error-for",t),n.appendChild(r)};let r=!1;const s=u.nowOrWhenFetched(p.doc(),void 0,function(e,n){e?(u.lookUpThing(p),f(),a.solo&&q(p)):(r=!0,o(n,void 0))});s&&"function"==typeof s.catch&&s.catch(function(e){r||(r=!0,o(e,e))})}}}function H(n,t){let a,i,o,r,l=e.utils.ancestor(n,"TR");for(l=e.utils.ancestor(l.parentNode,"TR"),l&&(a=l.AJAR_statement),i=n.parentNode;"TD"!==i.tagName;i=i.parentNode)if(void 0===i)return void alert("Not enclosed in TD!");e.log.debug("Collapsing subject "+t),a&&(e.log.debug("looking up pred "+a.predicate.uri+"in defaults"),o=W.defaults[a.predicate.uri]),e.log.debug("view= "+o),"outline"===i.parentNode.parentNode.id&&(r=i.parentNode),s.replaceTD(s.outlineObjectTD(t,o,r,a),i)}function V(n,t){let a=null;for(let t=n.parentNode;t;t=t.parentNode)e.log.debug("level "+t.tagName),"TD"===t.tagName&&(a=t);e.utils.emptyNode(a).appendChild(E(t)),q(t),a.setAttribute("about",t.toNT())}new function(){this.pat=c.formula(),this.vars=[]},this.statusBarClick=function(n){const t=e.utils.getTarget(n);t.label&&(window.content.location=t.label)},this.showURI=function(e){e&&i.getElementById("UserURI")&&(i.getElementById("UserURI").value="NamedNode"===e.termType?e.uri:"")},this.showSource=function(){if("undefined"!=typeof sourceWidget){for(const e in sourceWidget.sources)sourceWidget.sources[e].setAttribute("class","");for(let e=0;e<l.length;e++){if(!l[e].parentNode){console.log("showSource: EH? no parentNode? "+l[e]+"\n");continue}const n=l[e].parentNode.AJAR_statement;if(!n)continue;const t=n.why;t&&t.uri&&sourceWidget.highlight(t,!0)}}},this.getSelection=function(){return l},this.targetOf=function(n){let t;if(n||(n=window.event),n.target)t=n.target;else{if(!n.srcElement)return e.log.error("can't get target for event "+n),!1;t=n.srcElement}return 3===t.nodeType&&(t=t.parentNode),t},this.walk=function(n,t){const a=t||l[0];let o;switch(n){case"down":try{o=a.parentNode.nextSibling.lastChild}catch(e){return void this.walk("up")}_(),I(o,!0);break;case"up":try{o=a.parentNode.previousSibling.lastChild}catch(e){return}_(),I(o,!0);break;case"right":if(_(),a.nextSibling||"strong"===a.lastChild.tagName)I(a.nextSibling,!0);else{I(i.evaluate("table/div/tr/td[2]",a,null,XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue,!0)}break;case"left":if(_(),a.previousSibling&&"undetermined"===a.previousSibling.className)return I(a.previousSibling,!0),!0;I(e.utils.ancestor(a.parentNode,"TD"),!0);break;case"moveTo":_(),I(t,!0)}"down"!==n&&"up"!==n||o.tabulatorSelect||this.walk(n)},this.OutlinerKeypressPanel=function(a){function o(e){e&&i.getElementById("UserURI")&&(i.getElementById("UserURI").value="NamedNode"===e.termType?e.uri:"")}function d(n){return arguments[3]||(h("right",m),o(e.utils.getAbout(c,l[0]))),!0}let p,f;if(e.log.info("Key "+a.keyCode+" pressed"),"TEXTAREA"===e.utils.getTarget(a).tagName)return;if("UserURI"===e.utils.getTarget(a).id)return;if(l.length>1)return;if(0===l.length)return void(13!==a.keyCode&&38!==a.keyCode&&40!==a.keyCode&&37!==a.keyCode&&39!==a.keyCode||(this.walk("right",s.focusTd),o(e.utils.getAbout(c,l[0]))));const m=l[0];switch(u.removeCallback("done","setSelectedAfterward"),u.removeCallback("fail","setSelectedAfterward"),a.keyCode){case 13:if("HTML"===e.utils.getTarget(a).tagName){const t=e.utils.getAbout(c,m);p=m.parentNode.AJAR_statement.why,f=n.store.updater.editable(p.uri,c),t?r.GotoSubject(t,!0):f&&s.UserInput.Enter(m)}else this.UserInput.Keypress(a),this.walk("down"),a.stopPropagation();return;case 38:this.walk("up"),a.stopPropagation(),a.preventDefault();break;case 40:this.walk("down"),a.stopPropagation(),a.preventDefault()}if("INPUT"===e.utils.getTarget(a).tagName)return;let h;switch(a.keyCode){case 46:case 8:p=m.parentNode.AJAR_statement.why,f=n.store.updater.editable(p.uri,c),f&&(a.preventDefault(),this.UserInput.Delete(m));break;case 37:{if(this.walk("left"))return;const n=e.utils.ancestor(m.parentNode,"TD");H(m,e.utils.getAbout(c,n));break}case 39:{const n=e.utils.getAbout(c,m);if(n){if(h=this.walk,m.nextSibling)return void this.walk("right");"TABLE"!==m.firstChild.tagName&&(u.addCallback("done",d),u.addCallback("fail",d),$(m,n,{pane:t.byName("defaultPane")})),d()}}break;case 38:case 40:break;default:switch(a.charCode){case 99:if(a.ctrlKey){s.UserInput.copyToClipboard(s.clipboardAddress,m);break}break;case 118:case 112:if(a.ctrlKey){s.UserInput.pasteFromClipboard(s.clipboardAddress,m);break}break;default:e.utils.getTarget(a).tagName}}if(o(e.utils.getAbout(c,l[0])),l[0]){const n=e.utils.findPos(l[0])[1];n+l[0].clientHeight>window.scrollY+window.innerHeight&&e.utils.getEyeFocus(l[0],!0,!0,window),n<window.scrollY+54&&e.utils.getEyeFocus(l[0],!0,void 0,window)}},this.OutlinerMouseclickPanel=function(n){switch(s.UserInput._tabulatorMode){case 0:!function(n){e.log.info("@TabulatorMousedown, dom.location is now "+i.location);const t=s.targetOf(n);if(!t)return;const a=t.tagName;if("INPUT"===a||"TEXTAREA"===a)return;s.UserInput.clearMenu(),s.UserInput.lastModified&&s.UserInput.lastModified.parentNode.nextSibling&&s.UserInput.backOut();(!t.src||t.src.slice(t.src.indexOf("/icons/")+1)!==C.src.icon_show_choices&&t.src.slice(t.src.indexOf("/icons/")+1)!==C.src.icon_add_triple)&&s.UserInput.clearInputAndSave(n);t.src&&t.src.slice(t.src.indexOf("/icons/")+1)===C.src.icon_show_choices||s.UserInput.clearMenu();n&&n.stopPropagation()}(n);break;case 1:s.UserInput.Click(n)}},this.replaceTD=function(e,n){let t;P(n)&&(t=!0);for(let e=l.length-1;e>-1;e--)for(let t=l[e];t.parentNode;t=t.parentNode)t===n&&I(l[e],!1);n.parentNode.replaceChild(e,n),t&&I(e,!0)},r.outlineRefocus=V,this.GotoFormURI_enterKey=function(e){13===e.keyCode&&r.GotoFormURI(e)},this.GotoFormURI=function(e){!function(e){const n=c.sym(e);this.GotoSubject(n,!0)}(i.getElementById("UserURI").value)},this.GotoURIinit=function(e){const n=c.sym(e);this.GotoSubject(n)},this.GotoSubject=function(n,t,a,o,r,l){l=l||i.getElementById("outline"),o&&(e.utils.emptyNode(l),l.style.width="100%");const c=function(){const e=i.createElement("TR");e.style.verticalAlign="top",l.appendChild(e);const t=s.outlineObjectTD(n,void 0,e);return e.appendChild(t),t}();if(o&&q(n),t){$(c,n,{pane:a,solo:o});const t=c.parentNode;e.utils.getEyeFocus(t,!1,void 0,window)}if(o&&i&&i.defaultView&&i.defaultView.history&&document.location.href!==n.uri){const e=a?{paneName:a.name}:{};try{i.defaultView.history.pushState(e,n.uri,n.uri)}catch(e){console.log(e)}}return n};const G=e.ns,W=function(n){const t={properties:[],defaults:[],classes:[]},a=y(n),i=w(n);return x(t,e.ns.foaf("depiction").uri,a,!0),x(t,e.ns.foaf("img").uri,a,!0),x(t,e.ns.foaf("thumbnail").uri,a,!0),x(t,e.ns.foaf("logo").uri,a,!0),x(t,e.ns.schema("image").uri,a,!0),x(t,e.ns.foaf("mbox").uri,i,!0),t}(i);function Y(n){let o;if("Literal"===n.termType){const t={integer:"text-align: right;",decimal:"text-align: '.';",double:"text-align: '.';"};o=i.createElement("span"),o.textContent=n.value;let a="";if(n.datatype&&n.datatype.uri){const i=e.ns.xsd("").uri;n.datatype.uri.slice(0,i.length)===i&&(a=t[n.datatype.uri.slice(i.length)])}o.setAttribute("style",a||"white-space: pre-wrap;")}else if("NamedNode"===n.termType||"BlankNode"===n.termType)if(o=i.createElement("span"),o.setAttribute("about",n.toNT()),s.appendAccessIcons(c,o,n),"NamedNode"===n.termType)if("tel:"===n.uri.slice(0,4)){const t=n.uri.slice(4),a=i.createElement("a");o.appendChild(i.createTextNode(t)),a.setAttribute("href",n.uri),a.appendChild(e.utils.AJARImage(C.src.icon_telephone,"phone","phone "+t,i)),o.appendChild(a),a.firstChild.setAttribute("class","phoneIcon")}else{o.appendChild(i.createTextNode(e.utils.label(n)));const t=e.widgets.linkIcon(i,n);o.appendChild(t),e.widgets.makeDraggable(o,n)}else o.appendChild(i.createTextNode(e.utils.label(n)));else if("Collection"===n.termType){o=i.createElement("table"),o.classList.add("tableFullWidth"),o.setAttribute("about",n.toNT());for(let e=0;e<n.elements.length;e++){const t=n.elements[e],a=o.appendChild(i.createElement("tr")),r=a.appendChild(i.createElement("td"));r.classList.add("obj"),r.setAttribute("notSelectable","false"),r.setAttribute("about",n.toNT()),r.innerHTML=e+1+")",a.appendChild(s.outlineObjectTD(t))}}else"Graph"===n.termType?(o=t.byName("dataContentPane").statementsAsTables(n.statements,a),o.setAttribute("class","nestedFormula")):(e.log.error("Object "+n+" has unknown term type: "+n.termType),o=i.createTextNode("[unknownTermType:"+n.termType+"]"));return e.log.debug("contents: "+o.innerHTML),o}return this.createTabURI=function(){i.getElementById("UserURI").value=i.URL+"?uri="+i.getElementById("UserURI").value},this.UserInput.setSelected=I,this.UserInput.deselectAll=_,this.UserInput.views=W,this.outlineExpand=$,this}var P=o(2643);function F(e,n,t,a){const i=t.statementsMatching(null,a.acl("origin"),e).reduce((e,i)=>e.concat(t.statementsMatching(n,a.acl("trustedApp"),i.subject)).concat(t.statementsMatching(i.subject)),[]);return i}function N(t){const a=I("table",{class:"results"}),i=_("tr",[O("th","Application URL"),O("th","Access modes"),O("th","Actions")]);return a.appendChild(i),n.store.each(t,e.ns.acl("trustedApp"),void 0,void 0).flatMap(t=>n.store.each(t,e.ns.acl("origin"),void 0,void 0).map(a=>({appModes:n.store.each(t,e.ns.acl("mode"),void 0,void 0),origin:a}))).sort((e,n)=>e.origin.value<n.origin.value?-1:1).forEach(({appModes:e,origin:n})=>a.appendChild(L(t,n,e,o))),a.appendChild(L(t,null,[e.ns.acl("Read")],o)),a;function o(){a.parentElement.replaceChild(N(t),a)}}function L(t,a,i,o){const r={origin:a,appModes:i,formElements:{modes:[],origin:void 0}};return _("tr",[_("td",[_("form",[I("input",{class:"textinput",placeholder:"Write new URL here",value:a?a.value:""},{},e=>{r.formElements.origin=e})],{},{submit:s})]),_("td",[_("form",R(r),{},{submit:s})]),_("td",[_("form",a?[O("button","Update",{class:"controlButton",style:"background: LightGreen;"}),O("button","Delete",{class:"controlButton",style:"background: LightCoral;"},{click:function(a){let i;a.preventDefault();try{i=(0,A.sym)(r.formElements.origin.value)}catch(e){return alert("Please provide an application URL you want to remove trust from")}const o=F(i,t,n.store,e.ns);if(!n.store.updater)throw new Error("Store has no updater");n.store.updater.update(o,[],l)}})]:[O("button","Add",{class:"controlButton",style:"background: LightGreen;"})],{},{submit:s})])]);function s(a){let i;a.preventDefault();try{i=(0,A.sym)(r.formElements.origin.value)}catch(e){return alert("Please provide an application URL you want to trust")}const o=r.formElements.modes.filter(e=>e.checked).map(e=>e.value),s=F(r.origin||i,t,n.store,e.ns),c=function(e,n,t,a,i){const o=new A.BlankNode(`bn_${n}`);return[(0,A.st)(a,i.acl("trustedApp"),o,a.doc()),(0,A.st)(o,i.acl("origin"),e,a.doc()),...t.map(e=>(0,A.sym)(e)).map(e=>(0,A.st)(o,i.acl("mode"),e,a.doc()))]}(i,Math.random().toString(36).substr(2,5),o,t,e.ns);if(!n.store.updater)throw new Error("Store has no updater");n.store.updater.update(s,c,l)}function l(e,n,t){if(n)return o()}}function I(e,n={},t={},a=null){const i=document.createElement(e);return a&&a(i),Object.keys(n).forEach(e=>{i.setAttribute(e,n[e])}),Object.keys(t).forEach(e=>{i.addEventListener(e,t[e])}),i}function _(e,n,t={},a={},i=null){const o=I(e,t,a,i);return n.forEach(e=>o.appendChild(e)),o}function O(e,n,t={},a={},i=null){const o=I(e,t,a,i);return o.textContent=n,o}function R({appModes:n,formElements:t}){return["Read","Write","Append","Control"].map(a=>_("label",[I("input",{type:"checkbox",...n.some(n=>n.value===e.ns.acl(a).value)?{checked:""}:{},value:e.ns.acl(a).uri},{},e=>t.modes.push(e)),O("span",a)]))}const D={global:!0,icon:`${e.icons.iconBase}noun_15177.svg`,name:"trustedApplications",label:()=>null,render:(t,a)=>{const i=a.dom,o=i.createElement("div");o.classList.add("trusted-applications-pane"),o.setAttribute("style","border: 0.3em solid #418d99; border-radius: 0.5em; padding: 0.7em; margin-top:0.7em;");const r=o.appendChild(i.createElement("table")),s=r.appendChild(i.createElement("tr")),l=r.appendChild(i.createElement("tr")).appendChild(i.createElement("div"));return l.setAttribute("style","padding: 0.7em;"),async function(t,a,i){const o=await e.login.ensureLoadedProfile({dom:t,div:a,statusArea:i,me:null}),r=o.me,s=r.doc();if(!n.store.updater)throw new Error("Store has no updater");const l=n.store.updater.editable(s.uri,n.store);if(a.appendChild(O("h3","Manage your trusted applications")),!l)return void a.appendChild(e.widgets.errorMessageBlock(t,`Your profile ${r.doc().uri} is not editable, so we cannot do much here.`));a.appendChild(O("p","Here you can manage the applications you trust."));const c=N(r);a.appendChild(c),a.appendChild(O("h4","Notes")),a.appendChild(_("ol",[a.appendChild(O("li","Trusted applications will get access to all resources that you have access to.")),a.appendChild(O("li","You can limit which modes they have by default.")),a.appendChild(O("li","They will not gain more access than you have."))])),a.appendChild(O("p","Application URLs must be valid URL. Examples are http://localhost:3000, https://trusted.app, and https://sub.trusted.app."))}(i,s,l).catch(n=>l.appendChild(e.widgets.errorMessageBlock(i,n))),o}};const M=D;async function j(n,t,a){const i=await async function(n,t,a){const i=n.site().uri,o=(0,A.sym)(`${i}profile/card#me`);try{return await a.load(o),o}catch(e){}try{await a.load(n)}catch(e){return n}const r=t.any(n,e.ns.foaf("primaryTopic"),null,n.doc());if(r&&"NamedNode"===r.termType)try{return await a.load(r),r}catch(e){return n}return n}(n,t,a),o=function(n,t){return n.anyValue(t,e.ns.vcard("fn"),null,t.doc())||n.anyValue(t,e.ns.foaf("name"),null,t.doc())||new URL(t.uri).host.split(".")[0]}(t,i),r=document.createElement("div");return r.classList.add("container"),r.appendChild(function(e,n){const t=document.createElement("a");t.href=e,t.innerText=n;const a=document.createElement("span");a.innerText="'s Pod";const i=document.createElement("h1");return i.appendChild(t),i.appendChild(a),i}(i.uri,o)),r.appendChild(function(e){const n=document.createElement("section"),t=document.createElement("h2");t.innerText="Data",n.appendChild(t);const a=document.createElement("div");a.classList.add("list-group"),n.appendChild(a);const i=document.createElement("a");return i.classList.add("list-group-item"),i.href=window.document.location.href+"public/",i.innerText=`View ${e}'s files`,a.appendChild(i),n}(o)),r}const z={icon:e.icons.iconBase+"noun_547570.svg",name:"dashboard",label:e=>"NamedNode"===e.termType&&e.uri===e.site().uri?"Dashboard":null,render:(e,t)=>{console.log("Dashboard Pane Render");const a=t.dom.createElement("div"),i=()=>{a.innerHTML="",function(e,t,a,i){const o=new URL(window.location.href).searchParams.get("uri");if(t&&(o||t.site().uri===i.site().uri))return function(e,n){const t=n.getOutliner(n.dom);t.getDashboard().then(n=>e.appendChild(n))}(e,a);(function(e,t){const a=document.createElement("div");e.appendChild(a);const i=a.attachShadow({mode:"open"}),o=document.createElement("link");o.rel="stylesheet",o.href="/common/css/bootstrap.min.css",i.appendChild(o),j(t,n.store,n.store.fetcher).then(e=>i.appendChild(e))})(e,i)}(a,n.authn.currentUser()||null,t,e)};return n.authSession.events.on("login",()=>{i()}),n.authSession.events.on("sessionRestore",()=>{i()}),i(),a}};const U=z,q={icon:e.icons.iconBase+"noun_Sliders_341315_000000.svg",name:"basicPreferences",label:e=>null,render:(n,t)=>{const a=t.dom,i=t.session.store;function o(n,t){n||r.appendChild(e.widgets.errorMessageBlock(a,t,"#fee"))}const r=a.createElement("div"),s=function(e,n){const t=H(e,n,"User types"),a=t.appendChild(n.createElement("p"));a.innerText="Here you can self-assign user types to help the data browser know which views you would like to access.";const i=t.appendChild(n.createElement("a"));i.href="https://github.com/solidos/userguide/#role",i.innerText="Read more";const o=t.appendChild(n.createElement("div"));return o}(r,a);function l(e,n){e=e.doc(),i.holds(void 0,void 0,void 0,e)||(0,A.parse)(n,i,e.uri,"text/turtle",null)}const c=i.sym("urn:uuid:93774ba1-d3b6-41f2-85b6-4ae27ffd2597#this");l(c,'@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.\n@prefix solid: <http://www.w3.org/ns/solid/terms#>.\n@prefix ui: <http://www.w3.org/ns/ui#>.\n@prefix : <#>.\n\n:this <http://purl.org/dc/elements/1.1/title> "Basic preferences" ;\n a ui:Form ;\n ui:part :categorizeUser, :privateComment, :personalInformationHeading;\n ui:parts ( :personalInformationHeading :privateComment :categorizeUser ).\n\n:personalInformationHeading a ui:Heading;\n ui:contents "Personal information".\n\n:privateComment a ui:Comment;\n ui:contents "This information is private.".\n\n:categorizeUser a ui:Classifier;\n ui:label "Level of user"; ui:property rdf:type ; ui:category solid:User.\n');return l(i.sym("urn:uuid:93774ba1-d3b6-41f2-85b6-4ae27ffd2597-ONT"),'@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.\n@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.\n@prefix solid: <http://www.w3.org/ns/solid/terms#>.\n@prefix foaf: <http://xmlns.com/foaf/0.1/>.\n@prefix schema: <http:/schema.org/>.\n@prefix ui: <http://www.w3.org/ns/ui#>.\n@prefix vcard: <http://www.w3.org/2006/vcard/ns#>.\n@prefix : <#>.\n\nsolid:User a rdfs:Class;\n rdfs:label "user"@en, "utilisateur"@fr;\n rdfs:comment """Any person who might use a Solid-based system""";\n rdfs:subClassOf foaf:Person, schema:Person, vcard:Individual.\n\n# Since these options are opt-in, it is a bit strange to have new users opt in\n# That they are new users - also we do not use this class for anything specific\n# yet\n# solid:NewUser a rdfs:Class;\n# rdfs:label "new user"@en;\n# rdfs:comment """A person who might use a Solid-based system who has a low\n# level of familiarity with technical details.""";\n# rdfs:subClassOf solid:User.\n\nsolid:PowerUser a rdfs:Class;\n rdfs:label "power user"@en;\n rdfs:comment """A person who might use a Solid-based system\n who is prepared to be given a more complex interface in order\n to be provided with more pwerful features.""";\n rdfs:subClassOf solid:User.\n\n solid:Developer a rdfs:Class;\n rdfs:label "Developer";\n rdfs:comment """Any person who might use a Solid-based system,\n who has software development skills.""";\n rdfs:subClassOf solid:User.\n'),async function(){const n=await e.login.ensureLoadedPreferences({dom:a,div:r});if(!n.preferencesFile)return void console.log("Not doing private class preferences as no access to preferences file. "+n.preferencesFileError);e.widgets.appendForm(a,s,{},n.me,c,n.preferencesFile,o).style.borderStyle="none";const l=t.session.paneRegistry.byName("trustedApplications");l&&r.appendChild(l.render(null,t)),function(n,t,a,i){const o=H(n,i,"Delete account"),r=t.each(a,e.ns.space("storage"),null,a.doc()),s=r.map(e=>e.value),l=o.appendChild(i.createElement("ul"));s.forEach(async e=>{const n=await async function(e,n){const t=n.createElement("a");t.textContent=`Delete your account at ${e}`;const a=await async function(e){const n=new URL(e),t=new URL(e);t.pathname=n.pathname="/account/delete";const a=t.hostname.split(".");t.hostname=a.slice(1).join(".");if((await fetch(t.href,{method:"HEAD"})).ok)return t.href;if((await fetch(n.href,{method:"HEAD"})).ok)return n.href;return null}(e);if("string"!=typeof a)return null;return t.href=a,t}(e,i);if(n){l.appendChild(i.createElement("li")).appendChild(n)}})}(r,i,n.me,a)}(),r}};const $=q;function H(e,n,t){const a=e.appendChild(n.createElement("div"));a.style.border="0.3em solid #418d99",a.style.borderRadius="0.5em",a.style.padding="0.7em",a.style.marginTop="0.7em";return a.appendChild(n.createElement("h3")).innerText=t,a}var V=o(3931),G=o.n(V),W=o(3955),Y=o.n(W),Q=o(6540),X=o(5338);function K(){return K=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var a in t)({}).hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},K.apply(null,arguments)}function Z(e,n){if(null==e)return{};var t={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(-1!==n.indexOf(a))continue;t[a]=e[a]}return t}var J=o(4146),ee=o.n(J);o(3172);function ne(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function te(){return te=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},te.apply(this,arguments)}function ae(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ie(e){var n=function(n){var t,a;function i(){for(var t,a=arguments.length,i=new Array(a),o=0;o<a;o++)i[o]=arguments[o];return ne(ae(ae(t=n.call.apply(n,[this].concat(i))||this)),"cachedTheme",void 0),ne(ae(ae(t)),"lastOuterTheme",void 0),ne(ae(ae(t)),"lastTheme",void 0),ne(ae(ae(t)),"renderProvider",function(n){var a=t.props.children;return Q.createElement(e.Provider,{value:t.getTheme(n)},a)}),t}a=n,(t=i).prototype=Object.create(a.prototype),t.prototype.constructor=t,t.__proto__=a;var o=i.prototype;return o.getTheme=function(e){if(this.props.theme!==this.lastTheme||e!==this.lastOuterTheme||!this.cachedTheme)if(this.lastOuterTheme=e,this.lastTheme=this.props.theme,"function"==typeof this.lastTheme){var n=this.props.theme;this.cachedTheme=n(e)}else{var t=this.props.theme;this.cachedTheme=e?te({},e,t):t}return this.cachedTheme},o.render=function(){return this.props.children?Q.createElement(e.Consumer,null,this.renderProvider):null},i}(Q.Component);return n}function oe(e){return function(n){var t=Q.forwardRef(function(t,a){return Q.createElement(e.Consumer,null,function(e){return Q.createElement(n,te({theme:e,ref:a},t))})});return ee()(t,n),t}}function re(e){return function(){return Q.useContext(e)}}var se,le=(0,Q.createContext)(),ce=(se=le,oe(se),re(se),ie(se),"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});const ue="object"===("undefined"==typeof window?"undefined":ce(window))&&"object"===("undefined"==typeof document?"undefined":ce(document))&&9===document.nodeType;const de=function(e,n){};function pe(e){return pe="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},pe(e)}function fe(e){var n=function(e,n){if("object"!=pe(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var a=t.call(e,n||"default");if("object"!=pe(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==pe(n)?n:n+""}function me(e,n){for(var t=0;t<n.length;t++){var a=n[t];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,fe(a.key),a)}}function he(e,n,t){return n&&me(e.prototype,n),t&&me(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function ge(e,n){return ge=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},ge(e,n)}function be(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,ge(e,n)}function ve(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var Ae={}.constructor;function ye(e){if(null==e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(ye);if(e.constructor!==Ae)return e;var n={};for(var t in e)n[t]=ye(e[t]);return n}function we(e,n,t){void 0===e&&(e="unnamed");var a=t.jss,i=ye(n),o=a.plugins.onCreateRule(e,i,t);return o||(e[0],null)}var xe=function(e,n){for(var t="",a=0;a<e.length&&"!important"!==e[a];a++)t&&(t+=n),t+=e[a];return t},Ce=function(e){if(!Array.isArray(e))return e;var n="";if(Array.isArray(e[0]))for(var t=0;t<e.length&&"!important"!==e[t];t++)n&&(n+=", "),n+=xe(e[t]," ");else n=xe(e,", ");return"!important"===e[e.length-1]&&(n+=" !important"),n};function Ee(e){return e&&!1===e.format?{linebreak:"",space:""}:{linebreak:"\n",space:" "}}function ke(e,n){for(var t="",a=0;a<n;a++)t+=" ";return t+e}function Be(e,n,t){void 0===t&&(t={});var a="";if(!n)return a;var i=t.indent,o=void 0===i?0:i,r=n.fallbacks;!1===t.format&&(o=-1/0);var s=Ee(t),l=s.linebreak,c=s.space;if(e&&o++,r)if(Array.isArray(r))for(var u=0;u<r.length;u++){var d=r[u];for(var p in d){var f=d[p];null!=f&&(a&&(a+=l),a+=ke(p+":"+c+Ce(f)+";",o))}}else for(var m in r){var h=r[m];null!=h&&(a&&(a+=l),a+=ke(m+":"+c+Ce(h)+";",o))}for(var g in n){var b=n[g];null!=b&&"fallbacks"!==g&&(a&&(a+=l),a+=ke(g+":"+c+Ce(b)+";",o))}return(a||t.allowEmpty)&&e?(a&&(a=""+l+a+l),ke(""+e+c+"{"+a,--o)+ke("}",o)):a}var Se=/([[\].#*$><+~=|^:(),"'`\s])/g,Te="undefined"!=typeof CSS&&CSS.escape,Pe=function(e){return Te?Te(e):e.replace(Se,"\\$1")},Fe=function(){function e(e,n,t){this.type="style",this.isProcessed=!1;var a=t.sheet,i=t.Renderer;this.key=e,this.options=t,this.style=n,a?this.renderer=a.renderer:i&&(this.renderer=new i)}return e.prototype.prop=function(e,n,t){if(void 0===n)return this.style[e];var a=!!t&&t.force;if(!a&&this.style[e]===n)return this;var i=n;t&&!1===t.process||(i=this.options.jss.plugins.onChangeValue(n,e,this));var o=null==i||!1===i,r=e in this.style;if(o&&!r&&!a)return this;var s=o&&r;if(s?delete this.style[e]:this.style[e]=i,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,i),this;var l=this.options.sheet;return l&&l.attached,this},e}(),Ne=function(e){function n(n,t,a){var i;i=e.call(this,n,t,a)||this;var o=a.selector,r=a.scoped,s=a.sheet,l=a.generateId;return o?i.selectorText=o:!1!==r&&(i.id=l(ve(ve(i)),s),i.selectorText="."+Pe(i.id)),i}be(n,e);var t=n.prototype;return t.applyTo=function(e){var n=this.renderer;if(n){var t=this.toJSON();for(var a in t)n.setProperty(e,a,t[a])}return this},t.toJSON=function(){var e={};for(var n in this.style){var t=this.style[n];"object"!=typeof t?e[n]=t:Array.isArray(t)&&(e[n]=Ce(t))}return e},t.toString=function(e){var n=this.options.sheet,t=!!n&&n.options.link?K({},e,{allowEmpty:!0}):e;return Be(this.selectorText,this.style,t)},he(n,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var n=this.renderer,t=this.renderable;if(t&&n)n.setSelector(t,e)||n.replaceRule(t,this)}},get:function(){return this.selectorText}}]),n}(Fe),Le={onCreateRule:function(e,n,t){return"@"===e[0]||t.parent&&"keyframes"===t.parent.type?null:new Ne(e,n,t)}},Ie={indent:1,children:!0},_e=/@([\w-]+)/,Oe=function(){function e(e,n,t){this.type="conditional",this.isProcessed=!1,this.key=e;var a=e.match(_e);for(var i in this.at=a?a[1]:"unknown",this.query=t.name||"@"+this.at,this.options=t,this.rules=new rn(K({},t,{parent:this})),n)this.rules.add(i,n[i]);this.rules.process()}var n=e.prototype;return n.getRule=function(e){return this.rules.get(e)},n.indexOf=function(e){return this.rules.indexOf(e)},n.addRule=function(e,n,t){var a=this.rules.add(e,n,t);return a?(this.options.jss.plugins.onProcessRule(a),a):null},n.replaceRule=function(e,n,t){var a=this.rules.replace(e,n,t);return a&&this.options.jss.plugins.onProcessRule(a),a},n.toString=function(e){void 0===e&&(e=Ie);var n=Ee(e).linebreak;if(null==e.indent&&(e.indent=Ie.indent),null==e.children&&(e.children=Ie.children),!1===e.children)return this.query+" {}";var t=this.rules.toString(e);return t?this.query+" {"+n+t+n+"}":""},e}(),Re=/@container|@media|@supports\s+/,De={onCreateRule:function(e,n,t){return Re.test(e)?new Oe(e,n,t):null}},Me={indent:1,children:!0},je=/@keyframes\s+([\w-]+)/,ze=function(){function e(e,n,t){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var a=e.match(je);a&&a[1]?this.name=a[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=t;var i=t.scoped,o=t.sheet,r=t.generateId;for(var s in this.id=!1===i?this.name:Pe(r(this,o)),this.rules=new rn(K({},t,{parent:this})),n)this.rules.add(s,n[s],K({},t,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){void 0===e&&(e=Me);var n=Ee(e).linebreak;if(null==e.indent&&(e.indent=Me.indent),null==e.children&&(e.children=Me.children),!1===e.children)return this.at+" "+this.id+" {}";var t=this.rules.toString(e);return t&&(t=""+n+t+n),this.at+" "+this.id+" {"+t+"}"},e}(),Ue=/@keyframes\s+/,qe=/\$([\w-]+)/g,$e=function(e,n){return"string"==typeof e?e.replace(qe,function(e,t){return t in n?n[t]:e}):e},He=function(e,n,t){var a=e[n],i=$e(a,t);i!==a&&(e[n]=i)},Ve={onCreateRule:function(e,n,t){return"string"==typeof e&&Ue.test(e)?new ze(e,n,t):null},onProcessStyle:function(e,n,t){return"style"===n.type&&t?("animation-name"in e&&He(e,"animation-name",t.keyframes),"animation"in e&&He(e,"animation",t.keyframes),e):e},onChangeValue:function(e,n,t){var a=t.options.sheet;if(!a)return e;switch(n){case"animation":case"animation-name":return $e(e,a.keyframes);default:return e}}},Ge=function(e){function n(){return e.apply(this,arguments)||this}return be(n,e),n.prototype.toString=function(e){var n=this.options.sheet,t=!!n&&n.options.link?K({},e,{allowEmpty:!0}):e;return Be(this.key,this.style,t)},n}(Fe),We={onCreateRule:function(e,n,t){return t.parent&&"keyframes"===t.parent.type?new Ge(e,n,t):null}},Ye=function(){function e(e,n,t){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=e,this.style=n,this.options=t}return e.prototype.toString=function(e){var n=Ee(e).linebreak;if(Array.isArray(this.style)){for(var t="",a=0;a<this.style.length;a++)t+=Be(this.at,this.style[a]),this.style[a+1]&&(t+=n);return t}return Be(this.at,this.style,e)},e}(),Qe=/@font-face/,Xe={onCreateRule:function(e,n,t){return Qe.test(e)?new Ye(e,n,t):null}},Ke=function(){function e(e,n,t){this.type="viewport",this.at="@viewport",this.isProcessed=!1,this.key=e,this.style=n,this.options=t}return e.prototype.toString=function(e){return Be(this.key,this.style,e)},e}(),Ze={onCreateRule:function(e,n,t){return"@viewport"===e||"@-ms-viewport"===e?new Ke(e,n,t):null}},Je=function(){function e(e,n,t){this.type="simple",this.isProcessed=!1,this.key=e,this.value=n,this.options=t}return e.prototype.toString=function(e){if(Array.isArray(this.value)){for(var n="",t=0;t<this.value.length;t++)n+=this.key+" "+this.value[t]+";",this.value[t+1]&&(n+="\n");return n}return this.key+" "+this.value+";"},e}(),en={"@charset":!0,"@import":!0,"@namespace":!0},nn={onCreateRule:function(e,n,t){return e in en?new Je(e,n,t):null}},tn=[Le,De,Ve,We,Xe,Ze,nn],an={process:!0},on={force:!0,process:!0},rn=function(){function e(e){this.map={},this.raw={},this.index=[],this.counter=0,this.options=e,this.classes=e.classes,this.keyframes=e.keyframes}var n=e.prototype;return n.add=function(e,n,t){var a=this.options,i=a.parent,o=a.sheet,r=a.jss,s=a.Renderer,l=a.generateId,c=a.scoped,u=K({classes:this.classes,parent:i,sheet:o,jss:r,Renderer:s,generateId:l,scoped:c,name:e,keyframes:this.keyframes,selector:void 0},t),d=e;e in this.raw&&(d=e+"-d"+this.counter++),this.raw[d]=n,d in this.classes&&(u.selector="."+Pe(this.classes[d]));var p=we(d,n,u);if(!p)return null;this.register(p);var f=void 0===u.index?this.index.length:u.index;return this.index.splice(f,0,p),p},n.replace=function(e,n,t){var a=this.get(e),i=this.index.indexOf(a);a&&this.remove(a);var o=t;return-1!==i&&(o=K({},t,{index:i})),this.add(e,n,o)},n.get=function(e){return this.map[e]},n.remove=function(e){this.unregister(e),delete this.raw[e.key],this.index.splice(this.index.indexOf(e),1)},n.indexOf=function(e){return this.index.indexOf(e)},n.process=function(){var e=this.options.jss.plugins;this.index.slice(0).forEach(e.onProcessRule,e)},n.register=function(e){this.map[e.key]=e,e instanceof Ne?(this.map[e.selector]=e,e.id&&(this.classes[e.key]=e.id)):e instanceof ze&&this.keyframes&&(this.keyframes[e.name]=e.id)},n.unregister=function(e){delete this.map[e.key],e instanceof Ne?(delete this.map[e.selector],delete this.classes[e.key]):e instanceof ze&&delete this.keyframes[e.name]},n.update=function(){var e,n,t;if("string"==typeof(arguments.length<=0?void 0:arguments[0])?(e=arguments.length<=0?void 0:arguments[0],n=arguments.length<=1?void 0:arguments[1],t=arguments.length<=2?void 0:arguments[2]):(n=arguments.length<=0?void 0:arguments[0],t=arguments.length<=1?void 0:arguments[1],e=null),e)this.updateOne(this.get(e),n,t);else for(var a=0;a<this.index.length;a++)this.updateOne(this.index[a],n,t)},n.updateOne=function(n,t,a){void 0===a&&(a=an);var i=this.options,o=i.jss.plugins,r=i.sheet;if(n.rules instanceof e)n.rules.update(t,a);else{var s=n.style;if(o.onUpdate(t,n,r,a),a.process&&s&&s!==n.style){for(var l in o.onProcessStyle(n.style,n,r),n.style){var c=n.style[l];c!==s[l]&&n.prop(l,c,on)}for(var u in s){var d=n.style[u],p=s[u];null==d&&d!==p&&n.prop(u,null,on)}}}},n.toString=function(e){for(var n="",t=this.options.sheet,a=!!t&&t.options.link,i=Ee(e).linebreak,o=0;o<this.index.length;o++){var r=this.index[o].toString(e);(r||a)&&(n&&(n+=i),n+=r)}return n},e}(),sn=function(){function e(e,n){for(var t in this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=K({},n,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),n.Renderer&&(this.renderer=new n.Renderer(this)),this.rules=new rn(this.options),e)this.rules.add(t,e[t]);this.rules.process()}var n=e.prototype;return n.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},n.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},n.addRule=function(e,n,t){var a=this.queue;this.attached&&!a&&(this.queue=[]);var i=this.rules.add(e,n,t);return i?(this.options.jss.plugins.onProcessRule(i),this.attached?this.deployed?(a?a.push(i):(this.insertRule(i),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),i):i:(this.deployed=!1,i)):null},n.replaceRule=function(e,n,t){var a=this.rules.get(e);if(!a)return this.addRule(e,n,t);var i=this.rules.replace(e,n,t);return i&&this.options.jss.plugins.onProcessRule(i),this.attached?this.deployed?(this.renderer&&(i?a.renderable&&this.renderer.replaceRule(a.renderable,i):this.renderer.deleteRule(a)),i):i:(this.deployed=!1,i)},n.insertRule=function(e){this.renderer&&this.renderer.insertRule(e)},n.addRules=function(e,n){var t=[];for(var a in e){var i=this.addRule(a,e[a],n);i&&t.push(i)}return t},n.getRule=function(e){return this.rules.get(e)},n.deleteRule=function(e){var n="object"==typeof e?e:this.rules.get(e);return!(!n||this.attached&&!n.renderable)&&(this.rules.remove(n),!(this.attached&&n.renderable&&this.renderer)||this.renderer.deleteRule(n.renderable))},n.indexOf=function(e){return this.rules.indexOf(e)},n.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},n.update=function(){var e;return(e=this.rules).update.apply(e,arguments),this},n.updateOne=function(e,n,t){return this.rules.updateOne(e,n,t),this},n.toString=function(e){return this.rules.toString(e)},e}(),ln=function(){function e(){this.plugins={internal:[],external:[]},this.registry={}}var n=e.prototype;return n.onCreateRule=function(e,n,t){for(var a=0;a<this.registry.onCreateRule.length;a++){var i=this.registry.onCreateRule[a](e,n,t);if(i)return i}return null},n.onProcessRule=function(e){if(!e.isProcessed){for(var n=e.options.sheet,t=0;t<this.registry.onProcessRule.length;t++)this.registry.onProcessRule[t](e,n);e.style&&this.onProcessStyle(e.style,e,n),e.isProcessed=!0}},n.onProcessStyle=function(e,n,t){for(var a=0;a<this.registry.onProcessStyle.length;a++)n.style=this.registry.onProcessStyle[a](n.style,n,t)},n.onProcessSheet=function(e){for(var n=0;n<this.registry.onProcessSheet.length;n++)this.registry.onProcessSheet[n](e)},n.onUpdate=function(e,n,t,a){for(var i=0;i<this.registry.onUpdate.length;i++)this.registry.onUpdate[i](e,n,t,a)},n.onChangeValue=function(e,n,t){for(var a=e,i=0;i<this.registry.onChangeValue.length;i++)a=this.registry.onChangeValue[i](a,n,t);return a},n.use=function(e,n){void 0===n&&(n={queue:"external"});var t=this.plugins[n.queue];-1===t.indexOf(e)&&(t.push(e),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce(function(e,n){for(var t in n)t in e&&e[t].push(n[t]);return e},{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),cn=function(){function e(){this.registry=[]}var n=e.prototype;return n.add=function(e){var n=this.registry,t=e.options.index;if(-1===n.indexOf(e))if(0===n.length||t>=this.index)n.push(e);else for(var a=0;a<n.length;a++)if(n[a].options.index>t)return void n.splice(a,0,e)},n.reset=function(){this.registry=[]},n.remove=function(e){var n=this.registry.indexOf(e);this.registry.splice(n,1)},n.toString=function(e){for(var n=void 0===e?{}:e,t=n.attached,a=Z(n,["attached"]),i=Ee(a).linebreak,o="",r=0;r<this.registry.length;r++){var s=this.registry[r];null!=t&&s.attached!==t||(o&&(o+=i),o+=s.toString(a))}return o},he(e,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}(),un=new cn,dn="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof self&&self.Math===Math?self:Function("return this")(),pn="2f1acc6c3a606b082e5eef5e54414ffb";null==dn[pn]&&(dn[pn]=0);var fn=dn[pn]++,mn=function(e){void 0===e&&(e={});var n=0;return function(t,a){n+=1;var i="",o="";return a&&(a.options.classNamePrefix&&(o=a.options.classNamePrefix),null!=a.options.jss.id&&(i=String(a.options.jss.id))),e.minify?""+(o||"c")+fn+i+n:o+t.key+"-"+fn+(i?"-"+i:"")+"-"+n}},hn=function(e){var n;return function(){return n||(n=e()),n}},gn=function(e,n){try{return e.attributeStyleMap?e.attributeStyleMap.get(n):e.style.getPropertyValue(n)}catch(e){return""}},bn=function(e,n,t){try{var a=t;if(Array.isArray(t)&&(a=Ce(t)),e.attributeStyleMap)e.attributeStyleMap.set(n,a);else{var i=a?a.indexOf("!important"):-1,o=i>-1?a.substr(0,i-1):a;e.style.setProperty(n,o,i>-1?"important":"")}}catch(e){return!1}return!0},vn=function(e,n){try{e.attributeStyleMap?e.attributeStyleMap.delete(n):e.style.removeProperty(n)}catch(e){}},An=function(e,n){return e.selectorText=n,e.selectorText===n},yn=hn(function(){return document.querySelector("head")});function wn(e){var n=un.registry;if(n.length>0){var t=function(e,n){for(var t=0;t<e.length;t++){var a=e[t];if(a.attached&&a.options.index>n.index&&a.options.insertionPoint===n.insertionPoint)return a}return null}(n,e);if(t&&t.renderer)return{parent:t.renderer.element.parentNode,node:t.renderer.element};if(t=function(e,n){for(var t=e.length-1;t>=0;t--){var a=e[t];if(a.attached&&a.options.insertionPoint===n.insertionPoint)return a}return null}(n,e),t&&t.renderer)return{parent:t.renderer.element.parentNode,node:t.renderer.element.nextSibling}}var a=e.insertionPoint;if(a&&"string"==typeof a){var i=function(e){for(var n=yn(),t=0;t<n.childNodes.length;t++){var a=n.childNodes[t];if(8===a.nodeType&&a.nodeValue.trim()===e)return a}return null}(a);if(i)return{parent:i.parentNode,node:i.nextSibling}}return!1}var xn=hn(function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null}),Cn=function(e,n,t){try{"insertRule"in e?e.insertRule(n,t):"appendRule"in e&&e.appendRule(n)}catch(e){return!1}return e.cssRules[t]},En=function(e,n){var t=e.cssRules.length;return void 0===n||n>t?t:n},kn=function(){function e(e){this.getPropertyValue=gn,this.setProperty=bn,this.removeProperty=vn,this.setSelector=An,this.hasInsertedRules=!1,this.cssRules=[],e&&un.add(e),this.sheet=e;var n=this.sheet?this.sheet.options:{},t=n.media,a=n.meta,i=n.element;this.element=i||function(){var e=document.createElement("style");return e.textContent="\n",e}(),this.element.setAttribute("data-jss",""),t&&this.element.setAttribute("media",t),a&&this.element.setAttribute("data-meta",a);var o=xn();o&&this.element.setAttribute("nonce",o)}var n=e.prototype;return n.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,n){var t=n.insertionPoint,a=wn(n);if(!1!==a&&a.parent)a.parent.insertBefore(e,a.node);else if(t&&"number"==typeof t.nodeType){var i=t,o=i.parentNode;o&&o.insertBefore(e,i.nextSibling)}else yn().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},n.detach=function(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},n.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},n.insertRules=function(e,n){for(var t=0;t<e.index.length;t++)this.insertRule(e.index[t],t,n)},n.insertRule=function(e,n,t){if(void 0===t&&(t=this.element.sheet),e.rules){var a=e,i=t;if("conditional"===e.type||"keyframes"===e.type){var o=En(t,n);if(!1===(i=Cn(t,a.toString({children:!1}),o)))return!1;this.refCssRule(e,o,i)}return this.insertRules(a.rules,i),i}var r=e.toString();if(!r)return!1;var s=En(t,n),l=Cn(t,r,s);return!1!==l&&(this.hasInsertedRules=!0,this.refCssRule(e,s,l),l)},n.refCssRule=function(e,n,t){e.renderable=t,e.options.parent instanceof sn&&this.cssRules.splice(n,0,t)},n.deleteRule=function(e){var n=this.element.sheet,t=this.indexOf(e);return-1!==t&&(n.deleteRule(t),this.cssRules.splice(t,1),!0)},n.indexOf=function(e){return this.cssRules.indexOf(e)},n.replaceRule=function(e,n){var t=this.indexOf(e);return-1!==t&&(this.element.sheet.deleteRule(t),this.cssRules.splice(t,1),this.insertRule(n,t))},n.getRules=function(){return this.element.sheet.cssRules},e}(),Bn=0,Sn=function(){function e(e){this.id=Bn++,this.version="10.10.0",this.plugins=new ln,this.options={id:{minify:!1},createGenerateId:mn,Renderer:ue?kn:null,plugins:[]},this.generateId=mn({minify:!1});for(var n=0;n<tn.length;n++)this.plugins.use(tn[n],{queue:"internal"});this.setup(e)}var n=e.prototype;return n.setup=function(e){return void 0===e&&(e={}),e.createGenerateId&&(this.options.createGenerateId=e.createGenerateId),e.id&&(this.options.id=K({},this.options.id,e.id)),(e.createGenerateId||e.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=e.insertionPoint&&(this.options.insertionPoint=e.insertionPoint),"Renderer"in e&&(this.options.Renderer=e.Renderer),e.plugins&&this.use.apply(this,e.plugins),this},n.createStyleSheet=function(e,n){void 0===n&&(n={});var t=n.index;"number"!=typeof t&&(t=0===un.index?0:un.index+1);var a=new sn(e,K({},n,{jss:this,generateId:n.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:t}));return this.plugins.onProcessSheet(a),a},n.removeStyleSheet=function(e){return e.detach(),un.remove(e),this},n.createRule=function(e,n,t){if(void 0===n&&(n={}),void 0===t&&(t={}),"object"==typeof e)return this.createRule(void 0,e,n);var a=K({},t,{name:e,jss:this,Renderer:this.options.Renderer});a.generateId||(a.generateId=this.generateId),a.classes||(a.classes={}),a.keyframes||(a.keyframes={});var i=we(e,n,a);return i&&this.plugins.onProcessRule(i),i},n.use=function(){for(var e=this,n=arguments.length,t=new Array(n),a=0;a<n;a++)t[a]=arguments[a];return t.forEach(function(n){e.plugins.use(n)}),this},e}(),Tn=function(e){return new Sn(e)},Pn=function(){function e(){this.length=0,this.sheets=new WeakMap}var n=e.prototype;return n.get=function(e){var n=this.sheets.get(e);return n&&n.sheet},n.add=function(e,n){this.sheets.has(e)||(this.length++,this.sheets.set(e,{sheet:n,refs:0}))},n.manage=function(e){var n=this.sheets.get(e);if(n)return 0===n.refs&&n.sheet.attach(),n.refs++,n.sheet;de(!1,"[JSS] SheetsManager: can't find sheet to manage")},n.unmanage=function(e){var n=this.sheets.get(e);n?n.refs>0&&(n.refs--,0===n.refs&&n.sheet.detach()):de(!1,"SheetsManager: can't find sheet to unmanage")},he(e,[{key:"size",get:function(){return this.length}}]),e}(),Fn="object"==typeof CSS&&null!=CSS&&"number"in CSS;function Nn(e){var n=null;for(var t in e){var a=e[t],i=typeof a;if("function"===i)n||(n={}),n[t]=a;else if("object"===i&&null!==a&&!Array.isArray(a)){var o=Nn(a);o&&(n||(n={}),n[t]=o)}}return n}Tn();var Ln=Date.now(),In="fnValues"+Ln,_n="fnStyle"+ ++Ln;const On=function(){return{onCreateRule:function(e,n,t){if("function"!=typeof n)return null;var a=we(e,{},t);return a[_n]=n,a},onProcessStyle:function(e,n){if(In in n||_n in n)return e;var t={};for(var a in e){var i=e[a];"function"==typeof i&&(delete e[a],t[a]=i)}return n[In]=t,e},onUpdate:function(e,n,t,a){var i=n,o=i[_n];o&&(i.style=o(e)||{});var r=i[In];if(r)for(var s in r)i.prop(s,r[s](e),a)}}};var Rn=o(9423),Dn=function(e){return e&&e[Rn.A]&&e===e[Rn.A]()};const Mn=function(e){return{onCreateRule:function(n,t,a){if(!Dn(t))return null;var i=t,o=we(n,{},a);return i.subscribe(function(n){for(var t in n)o.prop(t,n[t],e)}),o},onProcessRule:function(n){if(!n||"style"===n.type){var t=n,a=t.style,i=function(n){var i=a[n];if(!Dn(i))return"continue";delete a[n],i.subscribe({next:function(a){t.prop(n,a,e)}})};for(var o in a)i(o)}}}};var jn=/;\n/,zn=function(e){"string"==typeof e.style&&(e.style=function(e){for(var n={},t=e.split(jn),a=0;a<t.length;a++){var i=(t[a]||"").trim();if(i){var o=i.indexOf(":");if(-1!==o){var r=i.substr(0,o).trim(),s=i.substr(o+1).trim();n[r]=s}}}return n}(e.style))};const Un=function(){return{onProcessRule:zn}};var qn="@global",$n="@global ",Hn=function(){function e(e,n,t){for(var a in this.type="global",this.at=qn,this.isProcessed=!1,this.key=e,this.options=t,this.rules=new rn(K({},t,{parent:this})),n)this.rules.add(a,n[a]);this.rules.process()}var n=e.prototype;return n.getRule=function(e){return this.rules.get(e)},n.addRule=function(e,n,t){var a=this.rules.add(e,n,t);return a&&this.options.jss.plugins.onProcessRule(a),a},n.replaceRule=function(e,n,t){var a=this.rules.replace(e,n,t);return a&&this.options.jss.plugins.onProcessRule(a),a},n.indexOf=function(e){return this.rules.indexOf(e)},n.toString=function(e){return this.rules.toString(e)},e}(),Vn=function(){function e(e,n,t){this.type="global",this.at=qn,this.isProcessed=!1,this.key=e,this.options=t;var a=e.substr(8);this.rule=t.jss.createRule(a,n,K({},t,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),Gn=/\s*,\s*/g;function Wn(e,n){for(var t=e.split(Gn),a="",i=0;i<t.length;i++)a+=n+" "+t[i].trim(),t[i+1]&&(a+=", ");return a}const Yn=function(){return{onCreateRule:function(e,n,t){if(!e)return null;if(e===qn)return new Hn(e,n,t);if("@"===e[0]&&e.substr(0,8)===$n)return new Vn(e,n,t);var a=t.parent;return a&&("global"===a.type||a.options.parent&&"global"===a.options.parent.type)&&(t.scoped=!1),t.selector||!1!==t.scoped||(t.selector=e),null},onProcessRule:function(e,n){"style"===e.type&&n&&(function(e,n){var t=e.options,a=e.style,i=a?a[qn]:null;if(i){for(var o in i)n.addRule(o,i[o],K({},t,{selector:Wn(o,e.selector)}));delete a[qn]}}(e,n),function(e,n){var t=e.options,a=e.style;for(var i in a)if("@"===i[0]&&i.substr(0,7)===qn){var o=Wn(i.substr(7),e.selector);n.addRule(o,a[i],K({},t,{selector:o})),delete a[i]}}(e,n))}}};var Qn=function(e){return e&&"object"==typeof e&&!Array.isArray(e)},Xn="extendCurrValue"+Date.now();function Kn(e,n,t,a){return void 0===a&&(a={}),function(e,n,t,a){if("string"!=typeof e.extend)if(Array.isArray(e.extend))for(var i=0;i<e.extend.length;i++){var o=e.extend[i];Kn("string"==typeof o?K({},e,{extend:o}):e.extend[i],n,t,a)}else for(var r in e.extend)"extend"!==r?Qn(e.extend[r])?(r in a||(a[r]={}),Kn(e.extend[r],n,t,a[r])):a[r]=e.extend[r]:Kn(e.extend.extend,n,t,a);else{if(!t)return;var s=t.getRule(e.extend);if(!s)return;if(s===n)return;var l=s.options.parent;l&&Kn(l.rules.raw[e.extend],n,t,a)}}(e,n,t,a),function(e,n,t,a){for(var i in e)"extend"!==i&&(Qn(a[i])&&Qn(e[i])?Kn(e[i],n,t,a[i]):Qn(e[i])?a[i]=Kn(e[i],n,t):a[i]=e[i])}(e,n,t,a),a}const Zn=function(){return{onProcessStyle:function(e,n,t){return"extend"in e?Kn(e,n,t):e},onChangeValue:function(e,n,t){if("extend"!==n)return e;if(null==e||!1===e){for(var a in t[Xn])t.prop(a,null);return t[Xn]=null,null}if("object"==typeof e){for(var i in e)t.prop(i,e[i]);t[Xn]=e}return null}}};var Jn=/\s*,\s*/g,et=/&/g,nt=/\$([\w-]+)/g;const tt=function(){function e(e,n){return function(t,a){var i=e.getRule(a)||n&&n.getRule(a);return i?i.selector:a}}function n(e,n){for(var t=n.split(Jn),a=e.split(Jn),i="",o=0;o<t.length;o++)for(var r=t[o],s=0;s<a.length;s++){var l=a[s];i&&(i+=", "),i+=-1!==l.indexOf("&")?l.replace(et,r):r+" "+l}return i}function t(e,n,t){if(t)return K({},t,{index:t.index+1});var a=e.options.nestingLevel;a=void 0===a?1:a+1;var i=K({},e.options,{nestingLevel:a,index:n.indexOf(e)+1});return delete i.name,i}return{onProcessStyle:function(a,i,o){if("style"!==i.type)return a;var r,s,l=i,c=l.options.parent;for(var u in a){var d=-1!==u.indexOf("&"),p="@"===u[0];if(d||p){if(r=t(l,c,r),d){var f=n(u,l.selector);s||(s=e(c,o)),f=f.replace(nt,s);var m=l.key+"-"+u;"replaceRule"in c?c.replaceRule(m,a[u],K({},r,{selector:f})):c.addRule(m,a[u],K({},r,{selector:f}))}else p&&c.addRule(u,{},r).addRule(l.key,a[u],{selector:l.selector});delete a[u]}}return a}}};function at(e,n){if(!n)return!0;if(Array.isArray(n)){for(var t=0;t<n.length;t++){if(!at(e,n[t]))return!1}return!0}if(n.indexOf(" ")>-1)return at(e,n.split(" "));var a=e.options.parent;if("$"===n[0]){var i=a.getRule(n.substr(1));return!!i&&(i!==e&&(a.classes[e.key]+=" "+a.classes[i.key],!0))}return a.classes[e.key]+=" "+n,!0}const it=function(){return{onProcessStyle:function(e,n){return"composes"in e?(at(n,e.composes),delete e.composes,e):e}}};var ot=/[A-Z]/g,rt=/^ms-/,st={};function lt(e){return"-"+e.toLowerCase()}const ct=function(e){if(st.hasOwnProperty(e))return st[e];var n=e.replace(ot,lt);return st[e]=rt.test(n)?"-"+n:n};function ut(e){var n={};for(var t in e){n[0===t.indexOf("--")?t:ct(t)]=e[t]}return e.fallbacks&&(Array.isArray(e.fallbacks)?n.fallbacks=e.fallbacks.map(ut):n.fallbacks=ut(e.fallbacks)),n}const dt=function(){return{onProcessStyle:function(e){if(Array.isArray(e)){for(var n=0;n<e.length;n++)e[n]=ut(e[n]);return e}return ut(e)},onChangeValue:function(e,n,t){if(0===n.indexOf("--"))return e;var a=ct(n);return n===a?e:(t.prop(a,e),null)}}};var pt=Fn&&CSS?CSS.px:"px",ft=Fn&&CSS?CSS.ms:"ms",mt=Fn&&CSS?CSS.percent:"%";function ht(e){var n=/(-[a-z])/g,t=function(e){return e[1].toUpperCase()},a={};for(var i in e)a[i]=e[i],a[i.replace(n,t)]=e[i];return a}var gt=ht({"animation-delay":ft,"animation-duration":ft,"background-position":pt,"background-position-x":pt,"background-position-y":pt,"background-size":pt,border:pt,"border-bottom":pt,"border-bottom-left-radius":pt,"border-bottom-right-radius":pt,"border-bottom-width":pt,"border-left":pt,"border-left-width":pt,"border-radius":pt,"border-right":pt,"border-right-width":pt,"border-top":pt,"border-top-left-radius":pt,"border-top-right-radius":pt,"border-top-width":pt,"border-width":pt,"border-block":pt,"border-block-end":pt,"border-block-end-width":pt,"border-block-start":pt,"border-block-start-width":pt,"border-block-width":pt,"border-inline":pt,"border-inline-end":pt,"border-inline-end-width":pt,"border-inline-start":pt,"border-inline-start-width":pt,"border-inline-width":pt,"border-start-start-radius":pt,"border-start-end-radius":pt,"border-end-start-radius":pt,"border-end-end-radius":pt,margin:pt,"margin-bottom":pt,"margin-left":pt,"margin-right":pt,"margin-top":pt,"margin-block":pt,"margin-block-end":pt,"margin-block-start":pt,"margin-inline":pt,"margin-inline-end":pt,"margin-inline-start":pt,padding:pt,"padding-bottom":pt,"padding-left":pt,"padding-right":pt,"padding-top":pt,"padding-block":pt,"padding-block-end":pt,"padding-block-start":pt,"padding-inline":pt,"padding-inline-end":pt,"padding-inline-start":pt,"mask-position-x":pt,"mask-position-y":pt,"mask-size":pt,height:pt,width:pt,"min-height":pt,"max-height":pt,"min-width":pt,"max-width":pt,bottom:pt,left:pt,top:pt,right:pt,inset:pt,"inset-block":pt,"inset-block-end":pt,"inset-block-start":pt,"inset-inline":pt,"inset-inline-end":pt,"inset-inline-start":pt,"box-shadow":pt,"text-shadow":pt,"column-gap":pt,"column-rule":pt,"column-rule-width":pt,"column-width":pt,"font-size":pt,"font-size-delta":pt,"letter-spacing":pt,"text-decoration-thickness":pt,"text-indent":pt,"text-stroke":pt,"text-stroke-width":pt,"word-spacing":pt,motion:pt,"motion-offset":pt,outline:pt,"outline-offset":pt,"outline-width":pt,perspective:pt,"perspective-origin-x":mt,"perspective-origin-y":mt,"transform-origin":mt,"transform-origin-x":mt,"transform-origin-y":mt,"transform-origin-z":mt,"transition-delay":ft,"transition-duration":ft,"vertical-align":pt,"flex-basis":pt,"shape-margin":pt,size:pt,gap:pt,grid:pt,"grid-gap":pt,"row-gap":pt,"grid-row-gap":pt,"grid-column-gap":pt,"grid-template-rows":pt,"grid-template-columns":pt,"grid-auto-rows":pt,"grid-auto-columns":pt,"box-shadow-x":pt,"box-shadow-y":pt,"box-shadow-blur":pt,"box-shadow-spread":pt,"font-line-height":pt,"text-shadow-x":pt,"text-shadow-y":pt,"text-shadow-blur":pt});function bt(e,n,t){if(null==n)return n;if(Array.isArray(n))for(var a=0;a<n.length;a++)n[a]=bt(e,n[a],t);else if("object"==typeof n)if("fallbacks"===e)for(var i in n)n[i]=bt(i,n[i],t);else for(var o in n)n[o]=bt(e+"-"+o,n[o],t);else if("number"==typeof n&&!1===isNaN(n)){var r=t[e]||gt[e];return!r||0===n&&r===pt?n.toString():"function"==typeof r?r(n).toString():""+n+r}return n}const vt=function(e){void 0===e&&(e={});var n=ht(e);return{onProcessStyle:function(e,t){if("style"!==t.type)return e;for(var a in e)e[a]=bt(a,e[a],n);return e},onChangeValue:function(e,t){return bt(t,e,n)}}};var At={"background-size":!0,"background-position":!0,border:!0,"border-bottom":!0,"border-left":!0,"border-top":!0,"border-right":!0,"border-radius":!0,"border-image":!0,"border-width":!0,"border-style":!0,"border-color":!0,"box-shadow":!0,flex:!0,margin:!0,padding:!0,outline:!0,"transform-origin":!0,transform:!0,transition:!0},yt={position:!0,size:!0},wt={padding:{top:0,right:0,bottom:0,left:0},margin:{top:0,right:0,bottom:0,left:0},background:{attachment:null,color:null,image:null,position:null,repeat:null},border:{width:null,style:null,color:null},"border-top":{width:null,style:null,color:null},"border-right":{width:null,style:null,color:null},"border-bottom":{width:null,style:null,color:null},"border-left":{width:null,style:null,color:null},outline:{width:null,style:null,color:null},"list-style":{type:null,position:null,image:null},transition:{property:null,duration:null,"timing-function":null,timingFunction:null,delay:null},animation:{name:null,duration:null,"timing-function":null,timingFunction:null,delay:null,"iteration-count":null,iterationCount:null,direction:null,"fill-mode":null,fillMode:null,"play-state":null,playState:null},"box-shadow":{x:0,y:0,blur:0,spread:0,color:null,inset:null},"text-shadow":{x:0,y:0,blur:null,color:null}},xt={border:{radius:"border-radius",image:"border-image",width:"border-width",style:"border-style",color:"border-color"},"border-bottom":{width:"border-bottom-width",style:"border-bottom-style",color:"border-bottom-color"},"border-top":{width:"border-top-width",style:"border-top-style",color:"border-top-color"},"border-left":{width:"border-left-width",style:"border-left-style",color:"border-left-color"},"border-right":{width:"border-right-width",style:"border-right-style",color:"border-right-color"},background:{size:"background-size",image:"background-image"},font:{style:"font-style",variant:"font-variant",weight:"font-weight",stretch:"font-stretch",size:"font-size",family:"font-family",lineHeight:"line-height","line-height":"line-height"},flex:{grow:"flex-grow",basis:"flex-basis",direction:"flex-direction",wrap:"flex-wrap",flow:"flex-flow",shrink:"flex-shrink"},align:{self:"align-self",items:"align-items",content:"align-content"},grid:{"template-columns":"grid-template-columns",templateColumns:"grid-template-columns","template-rows":"grid-template-rows",templateRows:"grid-template-rows","template-areas":"grid-template-areas",templateAreas:"grid-template-areas",template:"grid-template","auto-columns":"grid-auto-columns",autoColumns:"grid-auto-columns","auto-rows":"grid-auto-rows",autoRows:"grid-auto-rows","auto-flow":"grid-auto-flow",autoFlow:"grid-auto-flow",row:"grid-row",column:"grid-column","row-start":"grid-row-start",rowStart:"grid-row-start","row-end":"grid-row-end",rowEnd:"grid-row-end","column-start":"grid-column-start",columnStart:"grid-column-start","column-end":"grid-column-end",columnEnd:"grid-column-end",area:"grid-area",gap:"grid-gap","row-gap":"grid-row-gap",rowGap:"grid-row-gap","column-gap":"grid-column-gap",columnGap:"grid-column-gap"}};function Ct(e,n,t,a){return null==t[n]?e:0===e.length?[]:Array.isArray(e[0])?Ct(e[0],n,t,a):"object"==typeof e[0]?function(e,n,t){return e.map(function(e){return Et(e,n,t,!1,!0)})}(e,n,a):[e]}function Et(e,n,t,a,i){if(!wt[n]&&!xt[n])return[];var o=[];if(xt[n]&&(e=function(e,n,t,a){for(var i in t){var o=t[i];if(void 0!==e[i]&&(a||!n.prop(o))){var r,s=kt((r={},r[o]=e[i],r),n)[o];a?n.style.fallbacks[o]=s:n.style[o]=s}delete e[i]}return e}(e,t,xt[n],a)),Object.keys(e).length)for(var r in wt[n])e[r]?Array.isArray(e[r])?o.push(null===yt[r]?e[r]:e[r].join(" ")):o.push(e[r]):null!=wt[n][r]&&o.push(wt[n][r]);return!o.length||i?o:[o]}function kt(e,n,t){for(var a in e){var i=e[a];if(Array.isArray(i)){if(!Array.isArray(i[0])){if("fallbacks"===a){for(var o=0;o<e.fallbacks.length;o++)e.fallbacks[o]=kt(e.fallbacks[o],n,!0);continue}e[a]=Ct(i,a,At,n),e[a].length||delete e[a]}}else if("object"==typeof i){if("fallbacks"===a){e.fallbacks=kt(e.fallbacks,n,!0);continue}e[a]=Et(i,a,n,t),e[a].length||delete e[a]}else""===e[a]&&delete e[a]}return e}const Bt=function(){return{onProcessStyle:function(e,n){if(!e||"style"!==n.type)return e;if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=kt(e[t],n);return e}return kt(e,n)}}};function St(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=Array(n);t<n;t++)a[t]=e[t];return a}function Tt(e){return function(e){if(Array.isArray(e))return St(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(e){if("string"==typeof e)return St(e,n);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?St(e,n):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Pt="",Ft="",Nt="",Lt="",It=ue&&"ontouchstart"in document.documentElement;if(ue){var _t={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},Ot=document.createElement("p").style;for(var Rt in _t)if(Rt+"Transform"in Ot){Pt=Rt,Ft=_t[Rt];break}"Webkit"===Pt&&"msHyphens"in Ot&&(Pt="ms",Ft=_t.ms,Lt="edge"),"Webkit"===Pt&&"-apple-trailing-word"in Ot&&(Nt="apple")}var Dt=Pt,Mt=Ft,jt=Nt,zt=Lt,Ut=It;var qt={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===Dt?"-webkit-"+e:Mt+e)}},$t={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===Dt?Mt+"print-"+e:e)}},Ht=/[-\s]+(.)?/g;function Vt(e,n){return n?n.toUpperCase():""}function Gt(e){return e.replace(Ht,Vt)}function Wt(e){return Gt("-"+e)}var Yt,Qt={noPrefill:["mask"],supportedProperty:function(e,n){if(!/^mask/.test(e))return!1;if("Webkit"===Dt){var t="mask-image";if(Gt(t)in n)return e;if(Dt+Wt(t)in n)return Mt+e}return e}},Xt={noPrefill:["text-orientation"],supportedProperty:function(e){return"text-orientation"===e&&("apple"!==jt||Ut?e:Mt+e)}},Kt={noPrefill:["transform"],supportedProperty:function(e,n,t){return"transform"===e&&(t.transform?e:Mt+e)}},Zt={noPrefill:["transition"],supportedProperty:function(e,n,t){return"transition"===e&&(t.transition?e:Mt+e)}},Jt={noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===Dt||"ms"===Dt&&"edge"!==zt?Mt+e:e)}},ea={noPrefill:["user-select"],supportedProperty:function(e){return"user-select"===e&&("Moz"===Dt||"ms"===Dt||"apple"===jt?Mt+e:e)}},na={supportedProperty:function(e,n){return!!/^break-/.test(e)&&("Webkit"===Dt?"WebkitColumn"+Wt(e)in n&&Mt+"column-"+e:"Moz"===Dt&&("page"+Wt(e)in n&&"page-"+e))}},ta={supportedProperty:function(e,n){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===Dt)return e;var t=e.replace("-inline","");return Dt+Wt(t)in n&&Mt+t}},aa={supportedProperty:function(e,n){return Gt(e)in n&&e}},ia={supportedProperty:function(e,n){var t=Wt(e);return"-"===e[0]||"-"===e[0]&&"-"===e[1]?e:Dt+t in n?Mt+e:"Webkit"!==Dt&&"Webkit"+t in n&&"-webkit-"+e}},oa={supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===Dt?""+Mt+e:e)}},ra={supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===Dt?Mt+"scroll-chaining":e)}},sa={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},la={supportedProperty:function(e,n){var t=sa[e];return!!t&&(Dt+Wt(t)in n&&Mt+t)}},ca={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},ua=Object.keys(ca),da=function(e){return Mt+e},pa={supportedProperty:function(e,n,t){var a=t.multiple;if(ua.indexOf(e)>-1){var i=ca[e];if(!Array.isArray(i))return Dt+Wt(i)in n&&Mt+i;if(!a)return!1;for(var o=0;o<i.length;o++)if(!(Dt+Wt(i[0])in n))return!1;return i.map(da)}return!1}},fa=[qt,$t,Qt,Xt,Kt,Zt,Jt,ea,na,ta,aa,ia,oa,ra,la,pa],ma=fa.filter(function(e){return e.supportedProperty}).map(function(e){return e.supportedProperty}),ha=fa.filter(function(e){return e.noPrefill}).reduce(function(e,n){return e.push.apply(e,Tt(n.noPrefill)),e},[]),ga={};if(ue){Yt=document.createElement("p");var ba=window.getComputedStyle(document.documentElement,"");for(var va in ba)isNaN(va)||(ga[ba[va]]=ba[va]);ha.forEach(function(e){return delete ga[e]})}function Aa(e,n){if(void 0===n&&(n={}),!Yt)return e;if(null!=ga[e])return ga[e];"transition"!==e&&"transform"!==e||(n[e]=e in Yt.style);for(var t=0;t<ma.length&&(ga[e]=ma[t](e,Yt.style,n),!ga[e]);t++);try{Yt.style[e]=""}catch(e){return!1}return ga[e]}var ya,wa={},xa={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},Ca=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function Ea(e,n,t){if("var"===n)return"var";if("all"===n)return"all";if("all"===t)return", all";var a=n?Aa(n):", "+Aa(t);return a||(n||t)}function ka(e,n){var t=n;if(!ya||"content"===e)return n;if("string"!=typeof t||!isNaN(parseInt(t,10)))return t;var a=e+t;if(null!=wa[a])return wa[a];try{ya.style[e]=t}catch(e){return wa[a]=!1,!1}if(xa[e])t=t.replace(Ca,Ea);else if(""===ya.style[e]&&("-ms-flex"===(t=Mt+t)&&(ya.style[e]="-ms-flexbox"),ya.style[e]=t,""===ya.style[e]))return wa[a]=!1,!1;return ya.style[e]="",wa[a]=t,wa[a]}ue&&(ya=document.createElement("p"));const Ba=function(){function e(n){for(var t in n){var a=n[t];if("fallbacks"===t&&Array.isArray(a))n[t]=a.map(e);else{var i=!1,o=Aa(t);o&&o!==t&&(i=!0);var r=!1,s=ka(o,Ce(a));s&&s!==a&&(r=!0),(i||r)&&(i&&delete n[t],n[o||t]=s||a)}}return n}return{onProcessRule:function(e){if("keyframes"===e.type){var n=e;n.at=function(e){return"-"===e[1]||"ms"===Dt?e:"@"+Mt+"keyframes"+e.substr(10)}(n.at)}},onProcessStyle:function(n,t){return"style"!==t.type?n:e(n)},onChangeValue:function(e,n){return ka(n,Ce(e))||e}}};const Sa=function(){var e=function(e,n){return e.length===n.length?e>n?1:-1:e.length-n.length};return{onProcessStyle:function(n,t){if("style"!==t.type)return n;for(var a={},i=Object.keys(n).sort(e),o=0;o<i.length;o++)a[i[o]]=n[i[o]];return a}}};const Ta=function(e){return void 0===e&&(e={}),{plugins:[On(),Mn(e.observable),Un(),Yn(),Zn(),tt(),it(),dt(),vt(e.defaultUnit),Bt(),Ba(),Sa()]}};const Pa=function(e){var n={};return function(t){return void 0===n[t]&&(n[t]=e(t)),n[t]}};var Fa=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|default|defer|dir|disabled|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|itemProp|itemScope|itemType|itemID|itemRef|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/;Pa(function(e){return Fa.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91});var Na=Tn(Ta()),La=function(e){void 0===e&&(e=Na);var n,t=new Map,a=0,i=function(){return(!n||n.rules.index.length>1e4)&&(n=e.createStyleSheet().attach()),n};function o(){var e=arguments,n=JSON.stringify(e),o=t.get(n);if(o)return o.className;var r=[];for(var s in e){var l=e[s];if(Array.isArray(l))for(var c=0;c<l.length;c++)r.push(l[c]);else r.push(l)}for(var u={},d=[],p=0;p<r.length;p++){var f=r[p];if(f){var m=f;if("string"==typeof f){var h=t.get(f);h&&(h.labels.length&&d.push.apply(d,h.labels),m=h.style)}m.label&&-1===d.indexOf(m.label)&&d.push(m.label),Object.assign(u,m)}}delete u.label;var g=(0===d.length?"css":d.join("-"))+"-"+a++;i().addRule(g,u);var b=i().classes[g],v={style:u,labels:d,className:b};return t.set(n,v),t.set(b,v),b}return o.getSheet=i,o}();const Ia=La;var _a=Number.MIN_SAFE_INTEGER||-1e9,Oa=function(){return _a++},Ra=(0,Q.createContext)({classNamePrefix:"",disableStylesGeneration:!1,isSSR:!ue}),Da=new Map,Ma=function(e,n){var t=e.managers;if(t)return t[n]||(t[n]=new Pn),t[n];var a=Da.get(n);return a||(a=new Pn,Da.set(n,a)),a},ja=function(e){var n=e.sheet,t=e.context,a=e.index,i=e.theme;n&&(Ma(t,a).manage(i),t.registry&&t.registry.add(n))},za=Tn(Ta()),Ua=new WeakMap,qa=function(e){return Ua.get(e)};var $a=function(e){if(!e.context.disableStylesGeneration){var n=Ma(e.context,e.index),t=n.get(e.theme);if(t)return t;var a=e.context.jss||za,i=function(e){var n=e.styles;return"function"!=typeof n?n:n(e.theme)}(e),o=Nn(i),r=a.createStyleSheet(i,function(e,n){var t;e.context.id&&null!=e.context.id.minify&&(t=e.context.id.minify);var a=e.context.classNamePrefix||"";e.name&&!t&&(a+=e.name.replace(/\s/g,"-")+"-");var i="";return e.name&&(i=e.name+", "),i+="function"==typeof e.styles?"Themed":"Unthemed",K({},e.sheetOptions,{index:e.index,meta:i,classNamePrefix:a,link:n,generateId:e.sheetOptions&&e.sheetOptions.generateId?e.sheetOptions.generateId:e.context.generateId})}(e,null!==o));return function(e,n){Ua.set(e,n)}(r,{dynamicStyles:o,styles:i}),n.add(e.theme,r),r}},Ha=function(e,n){var t=qa(e);if(t){var a={};for(var i in t.dynamicStyles)for(var o=e.rules.index.length,r=e.addRule(i,t.dynamicStyles[i]),s=o;s<e.rules.index.length;s++){var l=e.rules.index[s];e.updateOne(l,n),a[r===l?i:l.key]=l}return a}};function Va(e){return e?Q.useEffect:Q.useInsertionEffect||Q.useLayoutEffect}var Ga={},Wa=function(e,n){void 0===n&&(n={});var t=n,a=t.index,i=void 0===a?Oa():a,o=t.theming,r=t.name,s=Z(t,["index","theming","name"]),l=o&&o.context||le,c={};return function(n){var t=(0,Q.useRef)(!0),a=(0,Q.useContext)(Ra),o=function(n){return"function"==typeof e&&(n||(0,Q.useContext)(l))||Ga}(n&&n.theme),u=(0,Q.useMemo)(function(){var t=$a({context:a,styles:e,name:r,theme:o,index:i,sheetOptions:s});return t&&a.isSSR&&ja({index:i,context:a,sheet:t,theme:o}),[t,t?Ha(t,n):null]},[a,o]),d=u[0],p=u[1];Va(a.isSSR)(function(){d&&p&&!t.current&&function(e,n,t){for(var a in t)n.updateOne(t[a],e)}(n,d,p)},[n]),Va(a.isSSR)(function(){return d&&ja({index:i,context:a,sheet:d,theme:o}),function(){d&&(function(e){e.sheet&&Ma(e.context,e.index).unmanage(e.theme)}({index:i,context:a,sheet:d,theme:o}),p&&function(e,n){for(var t in n)e.deleteRule(n[t])}(d,p))}},[d]);var f=(0,Q.useMemo)(function(){return d&&p?function(e,n){if(!n)return e.classes;var t=qa(e);if(!t)return e.classes;var a={};for(var i in t.styles)a[i]=e.classes[i],i in n&&(a[i]+=" "+e.classes[n[i].key]);return a}(d,p):c},[d,p]);return(0,Q.useDebugValue)(f),(0,Q.useDebugValue)(o===Ga?"No theme":o),(0,Q.useEffect)(function(){t.current=!1}),f}};Symbol("react-jss-styled"),function(e){void 0===e&&(e=Ia)}();var Ya=["second","minute","hour","day","week","month","year"];var Qa=["秒","分钟","小时","天","周","个月","年"];var Xa={},Ka=function(e,n){Xa[e]=n},Za=[60,60,24,7,365/7/12,12];function Ja(e){return e instanceof Date?e:!isNaN(e)||/^\d+$/.test(e)?new Date(parseInt(e)):(e=(e||"").trim().replace(/\.\d+/,"").replace(/-/,"/").replace(/-/,"/").replace(/(\d)T(\d)/,"$1 $2").replace(/Z/," UTC").replace(/([+-]\d\d):?(\d\d)/," $1$2"),new Date(e))}var ei=function(e,n,t){var a=function(e,n){return(+(n?Ja(n):new Date)-+Ja(e))/1e3}(e,t&&t.relativeDate);return function(e,n){for(var t=e<0?1:0,a=e=Math.abs(e),i=0;e>=Za[i]&&i<Za.length;i++)e/=Za[i];return(e=Math.floor(e))>(0==(i*=2)?9:1)&&(i+=1),n(e,i,a)[t].replace("%s",e.toString())}(a,function(e){return Xa[e]||Xa.en_US}(n))};Ka("en_US",function(e,n){if(0===n)return["just now","right now"];var t=Ya[Math.floor(n/2)];return e>1&&(t+="s"),[e+" "+t+" ago","in "+e+" "+t]}),Ka("zh_CN",function(e,n){if(0===n)return["刚刚","片刻后"];var t=Qa[~~(n/2)];return[e+" "+t+"前",e+" "+t+"后"]});const ni={year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"},ti=({value:e,className:n})=>{if(!e)return null;const t=e.toLocaleDateString(void 0,ni),a=ei(e);return Q.createElement("p",{className:n},a," · ",t)};function ai(e){return"LinkAttribution"===e.discriminator}const ii=({to:e})=>ai(e)?Q.createElement("a",{href:e.uri},e.uri):"PersonAttribution"===e.discriminator?Q.createElement(oi,{...e}):null,oi=({webId:e,name:n,imageSrc:t})=>Q.createElement(Q.Fragment,null,t&&Q.createElement("img",{height:"47",width:"47",alt:n,src:t}),Q.createElement("a",{href:e},n)),ri=Wa({card:{fontFamily:"sans-serif",display:"flex",flexWrap:"wrap",borderRadius:"4px",flexDirection:"column",justifyContent:"center",padding:"1em",boxShadow:"0 1px 5px rgba(0,0,0,0.2)",transition:"all .25s ease-in-out",maxWidth:632},content:{fontSize:"larger"},date:{color:"rgb(0, 0, 0, 60%)"},attribution:{display:"flex",alignItems:"center",fontWeight:"bold","& a":{color:"black",textDecoration:"none"},"& a:hover":{textDecoration:"underline"},"& img":{marginRight:5,width:47,borderRadius:5}}}),si=({content:e,published:n,attributedTo:t})=>{const a=ri();return Q.createElement("div",{className:a.card},Q.createElement("div",{className:a.attribution},Q.createElement(ii,{to:t})),Q.createElement("p",{className:a.content},e),Q.createElement(ti,{className:a.date,value:n}))};function li(n,t){if(n instanceof A.NamedNode){return function(n){const t=e.ns.as("Person").uri,a=e.ns.foaf("Person").uri,i=e.ns.vcard("Individual").uri,o=e.ns.schema("Person").uri;return n[t]||n[a]||n[i]||n[o]}(t.findTypeURIs(n))?function(n,t){const a=n.anyValue(t,e.ns.as("name"))||n.anyValue(t,e.ns.foaf("name"))||n.anyValue(t,e.ns.vcard("fn"))||n.anyValue(t,e.ns.schema("name"))||"",i=function(n,t){const a=n.anyValue(t,e.ns.as("image"));if(a)return n.anyValue((0,A.sym)(a),e.ns.as("url"))||void 0;return n.anyValue(t,e.ns.foaf("img"))||n.anyValue(t,e.ns.vcard("hasPhoto"))||void 0}(n,t);return{discriminator:"PersonAttribution",webId:t.uri,name:a,imageSrc:i}}(t,n):{discriminator:"LinkAttribution",uri:n.uri}}return{discriminator:"NoAttribution"}}function ci(n,t){const a=t.any(n,e.ns.as("content")),i=t.any(n,e.ns.as("published")),o=function(n,t){return li(t.any(n,e.ns.as("attributedTo")),t)}(n,t);return a?{content:a.value,published:i&&new Date(i.value),attributedTo:o}:null}const ui=(e,n)=>{const[t,a]=(0,Q.useState)(ci(e,n));return(0,Q.useEffect)(()=>{!async function(){if(ai(t.attributedTo)){const e=await async function(e,n){const t=(0,A.sym)(e.uri);return await n.fetcher.load(t),li(t,n)}(t.attributedTo,n);a({...t,attributedTo:e})}}()},[]),t},di=({subject:e,context:n})=>{const t=n.session.store,a=ui(e,t);return Q.createElement(si,{...a})},pi={global:!1,icon:e.icons.iconBase+"noun_15695.svg",name:"activitystreams",label:function(n,t){return t.session.store.findTypeURIs(n)[e.ns.as("Note").uri]?"Note":null},render:(e,n)=>function(e){const n=document.createElement("div");return n.style.padding="1em",(0,X.createRoot)(n).render(e),n}(Q.createElement(di,{subject:e,context:n}))},fi=pi,mi={icon:e.icons.iconBase+"noun_79217.svg",name:"pad",audience:[e.ns.solid("PowerUser")],label:function(e,n){return n.session.store.findTypeURIs(e)["http://www.w3.org/ns/pim/pad#Notepad"]?"pad":null},mintClass:e.ns.pad("Notepad"),mintNew:function(n,t){const a=n.session.store,i=a.updater;if(t.me&&!t.me.uri)throw new Error("notepad mintNew: Invalid userid");const o=t.newInstance=t.newInstance||a.sym(t.newBase+"index.ttl#this"),r=o.doc();a.add(o,e.ns.rdf("type"),e.ns.pad("Notepad"),r),a.add(o,e.ns.dc("title"),"Shared Notes",r),a.add(o,e.ns.dc("created"),new Date,r),t.me&&a.add(o,e.ns.dc("author"),t.me,r);const s=a.sym(o.uri+"_line0");return a.add(o,e.ns.pad("next"),s,r),a.add(s,e.ns.pad("next"),o,r),a.add(s,e.ns.dc("author"),t.me,r),a.add(s,e.ns.sioc("content"),"",r),new Promise(function(e,n){i?i.put(r,a.statementsMatching(void 0,void 0,void 0,r),"text/turtle",function(a,i,o){i?e(t):n(new Error("FAILED to save new tool at: "+a+" : "+o))}):n(new Error("Have no updater"))})},render:function(t,a,i){const o=a.dom,r=a.session.store,s=function(n,t){n||E.appendChild(e.widgets.errorMessageBlock(o,t,"pink"))},l=function(e){for(;e.firstChild;)e.removeChild(e.firstChild);return e},c=function(n,t,a){const i=(0,A.graph)(),o=(0,A.Namespace)("http://www.w3.org/ns/auth/acl#");let r=i.sym(t+"#a1");const s=i.sym(t),l=i.sym(n);return i.add(r,e.ns.rdf("type"),o("Authorization"),s),i.add(r,o("accessTo"),l,s),i.add(r,o("agent"),v,s),i.add(r,o("mode"),o("Read"),s),i.add(r,o("mode"),o("Write"),s),i.add(r,o("mode"),o("Control"),s),r=i.sym(t+"#a2"),i.add(r,e.ns.rdf("type"),o("Authorization"),s),i.add(r,o("accessTo"),l,s),i.add(r,o("agentClass"),e.ns.foaf("Agent"),s),i.add(r,o("mode"),o("Read"),s),a&&i.add(r,o("mode"),o("Write"),s),(0,A.serialize)(s,i,t,"text/turtle")},u=function(e,n,t){const a=r.any((0,A.sym)(e),(0,A.sym)("http://www.iana.org/assignments/link-relations/acl"));if(!g)throw new Error("Have no fetcher");if(a){const i=c(e,a.uri,n);return g.webOperation("PUT",a.uri,{data:i,contentType:"text/turtle"}).then(()=>t(!0)).catch(e=>{t(!1,e.message)})}return g.load(e).catch(e=>{t(!1,"Getting headers for ACL: "+e)}).then(()=>{const t=r.any((0,A.sym)(e),(0,A.sym)("http://www.iana.org/assignments/link-relations/acl"));if(!t)throw new Error("No Link rel=ACL header for "+e);const a=c(e,t.uri,n);return g.webOperation("PUT",t.uri,{data:a,contentType:"text/turtle"})}).then(()=>t(!0)).catch(e=>{t(!1,e.message)})},d=function(n,t,a){const i=l(t);i.appendChild(e.login.newAppInstance(o,{noun:"notepad"},(e,n)=>p(new A.NamedNode(e||n)))),i.appendChild(o.createElement("hr"));i.appendChild(o.createElement("p")).textContent="Where would you like to store the data for the "+a+"? Give the URL of the directory where you would like the data stored.";const r=i.appendChild(o.createElement("input"));r.setAttribute("type","text"),r.size=80,r.label="base URL",r.autocomplete="on",i.appendChild(o.createElement("br"));const s=i.appendChild(o.createElement("button"));s.textContent="Start new "+a+" at this URI",s.addEventListener("click",function(e){let t=r.value;"/"!==t.slice(-1)&&(t+="/"),f(n,t)})},p=function(n){let t=r.any(n,e.ns.space("uriPrefix"));t=t?t.value:n.uri.split("#")[0],"/"!==t.slice(-1)&&(A.log.error(h+": No / at end of uriPrefix "+t),t+="/");const a=new Date;t+=h+"/id"+a.getTime()+"/",f(w,t)},f=function(t,a){const i=(0,A.sym)(t.uri.split("#")[0]),l=r.sym(a+"pad.ttl"),c=r.sym(a+"index.html"),d=[{local:"index.html",contentType:"text/html"}],p=r.sym(l.uri+"#thisPad"),f=[];let m;for(m=0;m<d.length;m++){const e=function(e){f.push(function(){const t=a+e.local;console.log("Copying "+i+e.local+" to "+t);if(!r.fetcher)throw new Error("Store has no fetcher");r.fetcher.webCopy(i+e.local,a+e.local,e.contentType).then(()=>n.authn.checkUser()).then(e=>{v=e,u(t,!1,function(e,n){e?f.shift()():(s(e,"FAILED to set ACL "+t+" : "+n),console.log("FAILED to set ACL "+t+" : "+n))})}).catch(n=>{console.log("FAILED to copy "+i+e.local+" : "+n.message),s(!1,"FAILED to copy "+i+e.local+" : "+n.message)})})};e(d[m])}f.push(function(){if(r.add(p,e.ns.rdf("type"),y("Notepad"),l),r.add(p,e.ns.dc("created"),new Date,l),v&&r.add(p,e.ns.dc("author"),v,l),r.add(p,y("next"),p,l),r.add(p,e.ns.space("inspiration"),t,x),r.add(p,e.ns.space("inspiration"),t,l),!b)throw new Error("Have no updater");b.put(l,r.statementsMatching(void 0,void 0,void 0,l),"text/turtle",function(e,n,t){n?f.shift()():(s(n,"FAILED to save new notepad at: "+l.uri+" : "+t),console.log("FAILED to save new notepad at: "+l.uri+" : "+t))})}),f.push(function(){u(l.uri,!0,function(e,n){s(e,"Failed to set Read-Write ACL on pad data file: "+n),e&&f.shift()()})}),f.push(function(){const e=E.appendChild(o.createElement("p"));e.setAttribute("style","font-size: 140%;"),e.innerHTML="Your <a href='"+c.uri+"'><b>new notepad</b></a> is ready. <br/><br/><a href='"+c.uri+"'>Go to new pad</a>"}),f.shift()()},m=function(a){console.log("showResults()"),v=n.authn.currentUser(),n.authn.checkUser().then(e=>{v=e});const s=r.any(t,e.ns.dc("title"))||r.any(t,e.ns.vcard("fn"));i.solo&&"undefined"!=typeof window&&s&&(window.document.title=s.value),O.exists=a,C=e.pad.notepad(o,x,t,v,O),S.appendChild(C);const l=r.any(t,e.ns.meeting("parentMeeting"))||t;if(e.pad.manageParticipation(o,F,x,l,v,O),!r.updater)throw new Error("Store has no updater");r.updater.setRefreshHandler(x,C.reloadAndSync)},h="app-pad.timbl.com",g=r.fetcher,b=r.updater;let v;const y=(0,A.Namespace)("http://www.w3.org/ns/pim/pad#"),w=t,x=t.doc();let C;const E=o.createElement("div"),k=E.appendChild(o.createElement("table"));k.setAttribute("style","background-color: white; min-width: 94%; margin-right:3% margin-left: 3%; min-height: 13em;");const B=k.appendChild(o.createElement("tr"));B.appendChild(o.createElement("td")),B.appendChild(o.createElement("td")),B.appendChild(o.createElement("td"));const S=k.appendChild(o.createElement("tr")).appendChild(o.createElement("td"));S.setAttribute("colspan","3");const T=k.appendChild(o.createElement("tr")),P=T.appendChild(o.createElement("td")),F=T.appendChild(o.createElement("td")),N=T.appendChild(o.createElement("td")),L=k.appendChild(o.createElement("tr")).appendChild(o.createElement("div")),I=k.appendChild(o.createElement("tr")).appendChild(o.createElement("div")),_=k.appendChild(o.createElement("tr"));_.setAttribute("class","naviMenu"),_.appendChild(o.createElement("td")),_.appendChild(o.createElement("td")),_.appendChild(o.createElement("td"));const O={statusArea:L,timingArea:P};return function(){if(!g)throw new Error("Have no fetcher");g.nowOrWhenFetched(x.uri,void 0,function(n,a,i){if(n)l(S),r.holds(t,e.ns.rdf("type"),e.ns.wf("TemplateInstance"))&&d(t,S,"pad"),m(!0),N.appendChild(function(){const e=E.appendChild(o.createElement("button"));return e.textContent="Start another pad",e.addEventListener("click",function(){return d(t,I,"pad")}),e}());else if(404===i.status){if(console.log("Initializing results file "+x),!b)throw new Error("Have no updater");b.put(x,[],"text/turtle",function(e,n,t){n?(l(S),m(!1)):(s(n,"FAILED to create results file at: "+x.uri+" : "+t),console.log("FAILED to craete results file at: "+x.uri+" : "+t))})}else s(n,"FAILED to read results file: "+a)})}(),E}},hi=mi,gi=e.ns,bi={icon:e.icons.iconBase+"noun_106746.svg",name:"transaction",audience:[gi.solid("PowerUser")],label:function(n,t){const a=t.session.store,i=a.findTypeURIs(n);return i["http://www.w3.org/2000/10/swap/pim/qif#Transaction"]?"$$":a.any(n,e.ns.qu("amount"))?"$$$":i["http://www.w3.org/ns/pim/trip#Trip"]?"Trip $":null},render:function(n,t){const a=t.dom,i=t.session.store,o=i.fetcher,r=A.Namespace("http://www.w3.org/2000/10/swap/pim/qif#"),s=A.Namespace("http://www.w3.org/ns/pim/trip#"),l=a.createElement("div");l.setAttribute("class","transactionPane");const c=function(e){return function(e,n){void 0===n&&(n="color: grey");const t=a.createElement("pre");t.setAttribute("style",n),l.appendChild(t),t.appendChild(a.createTextNode(e))}(e,"color: #100; background-color: #fee")},u=i.statementsMatching(n),d=i.statementsMatching(void 0,void 0,n),p=i.findTypeURIs(n),f={},m=function(e){f[e.uri]=!0},h=function(e){if(void 0===e)return"";const n=""+e;return n.indexOf(".")>=0?n.split(".")[0]+"."+(n.split(".")[1]+"00").slice(0,2):n+".00"},g=function(e,n){const t=a.createElement("td");return 0+e===0&&n||(t.textContent=h(e)),t.setAttribute("style","width: 6em; text-align: right; "),t},b=function(e){const n=a.createElement("th");return n.textContent=e,n.setAttribute("style","text-align: right; "),n},v=function(e,n){const t=i.any(e,gi.qu("date")),a=i.any(n,gi.qu("date"));if(void 0!==t&&void 0!==a){if(t.value<a.value)return-1;if(t.value>a.value)return 1}return e.uri<n.uri?-1:e.uri>n.uri?1:0},y=function(e,n,a,i,o){n.expanded?(n.parentNode.removeChild(n.expanded),n.expanded=!1):function(e,n,a,i,o){const r=n.parentNode.children;if(o)for(let e=r.length-1;e>=0;e--)r[e].expanded&&(r[e].parentNode.removeChild(r[e].expanded),r[e].expanded=!1);const s=e.createElement("tr"),l=s.appendChild(e.createElement("td"));l.setAttribute("style","width: 98%; padding: 1em; border: 0.1em solid grey;");const c=n.children.length;n.nextSibling?n.parentNode.insertBefore(s,n.nextSibling):n.parentNode.appendChild(s),n.expanded=s,l.setAttribute("colspan",""+c),l.appendChild(function(e,n,t){const a=e.session.paneRegistry.byName(t).render(n,e);return a.setAttribute("style","border: 0.1em solid green;"),a}(t,a,i))}(e,n,a,i,o)};if(p["http://www.w3.org/2000/10/swap/pim/qif#Transaction"]||i.any(n,gi.qu("toAccount"))){m(gi.rdf("type"));const p=i.any(n,e.ns.qu("toAccount"));!function(n){let t="padding: 0.5em 1.5em 1em 1.5em; ";if(n){const a=i.any(n,e.ns.ui("backgroundColor"));a&&(t+="background-color: "+a.value+"; ")}l.setAttribute("style",t)}(p),p||c("(Error: There is no bank account known for this transaction <"+n.uri+">,\n -- every transaction needs one.)");let h=null;const g=i.any(n,e.ns.qu("accordingTo"));void 0===g?c("(Error: There is no back link to the original data source foir this transaction <"+n.uri+">,\nso I can't tell how to annotate it.)"):(h=void 0!==g?i.any(g,e.ns.qu("annotationStore")):null,void 0===h&&c("(There is no annotation document for this statement\n<"+g.uri+">,\nso you cannot classify this transaction.)"));const b=a.createElement("div");b.setAttribute("style","float:right"),l.appendChild(b);const v=function(t,o){m(t);const r=i.any(n,t);if(!r)return;const s=a.createElement("a");s.setAttribute("href",r.uri),s.setAttribute("style","float:right"),b.appendChild(s).textContent=o||e.utils.label(r),b.appendChild(a.createElement("br"))};v(e.ns.qu("toAccount")),v(e.ns.qu("accordingTo"),"Statement"),v(s("trip"));const y=a.createElement("table");l.appendChild(y);const w=["date","payee","amount","in_USD","currency"].map(r).map(function(t){m(t);const a=i.any(n,t),o=a?e.utils.labelForXML(a):"";return'<tr><td style="text-align: right; padding-right: 0.6em">'+e.utils.labelForXML(t)+'</td><td style="font-weight: bold;">'+o+"</td></tr>"}).join("\n");y.innerHTML=w;const x=function(e,n){e||c("Sorry, failed to save your change:\n"+n)};h&&i.fetcher.nowOrWhenFetched(h.uri,n,function(r,p){r||c("Cannot load store "+h+" "+p);const g=i.any(h,gi.qu("calendarYear")),b=function(){l.insertBefore(e.widgets.makeSelectForNestedCategory(a,i,n,e.ns.qu("Classified"),h,x),y.nextSibling)};i.any(void 0,gi.rdfs("subClassOf"),gi.qu.Classified)?b():g?o.load(g).then(function(e){o.load(i.each(g,gi.rdfs("seeAlso"))).then(function(){b()}).catch(function(e){console.log("Error loading background data: "+e)})}).catch(function(e){console.log("Error loading calendarYear: "+e)}):console.log("Can't get categories, because no calendarYear"),l.appendChild(e.widgets.makeDescription(a,i,n,e.ns.rdfs("comment"),h,x));let v=i.statementsMatching(void 0,s("trip"),void 0,h).map(function(e){return e.object});const w=i.each(void 0,e.ns.rdf("type"),s("Trip"));v=v.concat(w).sort();v=function(e,n,t,a){const i=n.map(function(n){let a=e.any(n,t);return a=a?a.value:"9999-12-31",[a,n]});return i.sort(),a&&i.reverse(),i.map(function(e){return e[1]})}(i,v,e.ns.cal("dtstart"),!0),v.length>1&&l.appendChild(e.widgets.makeSelectForOptions(a,i,n,s("trip"),v,{multiple:!1,nullLabel:"-- what trip? --",mint:"New Trip *",mintClass:s("Trip"),mintStatementsFun:function(n){const t=[];return t.push(A.st(n,e.ns.rdf("type"),s("Trip"),n.doc())),t}},h,x)),l.appendChild(a.createElement("br"));const C=t.getOutliner(a);m(gi.rdfs("comment")),e.widgets.attachmentList(a,n,l),m(gi.wf("attachment")),l.appendChild(a.createElement("tr")).setAttribute("style","height: 1em"),C.appendPropertyTRs(l,u,!1,function(e,n){return!(e.uri in f)}),C.appendPropertyTRs(l,d,!0,function(e,n){return!(e.uri in f)})})}else if(p["http://www.w3.org/ns/pim/trip#Trip"]){const t=function(){const t={},o={},r={},u=i.each(void 0,s("trip"),n),d=u.map(function(e){return e.doc()});i.fetcher.load(d).then(function(){u.forEach(function(n){const a=i.the(n,gi.qu("date")),s=a?(""+a.value).slice(0,4):"????";let l=i.the(n,gi.rdf("type"));if(l||(l=e.ns.qu("ErrorNoType")),l&&l.uri){const a=l.uri;o[s]||(o[s]=0),r[s]||(r[s]={}),t[a]||(t[a]=0),r[s][a]||(r[s][a]=0);const u=i.any(n,e.ns.qu("in_USD"));if(u||c("@@ No amount in USD: "+u+" for "+n),u){const e=parseFloat(u.value);t[a]+=e,r[s][a]+=e,o[s]+=e}}});const s=[];let d=0;const p=[];let f;for(const e in r)Object.prototype.hasOwnProperty.call(r,e)&&p.push(e);p.sort();const m=p.length;let A;const w=l.appendChild(a.createElement("table"));if(w.setAttribute("style","font-size: 120%; margin-left:auto; margin-right:1em; margin-top: 1em; border: 0.05em solid gray; padding: 1em;"),m>1){const e=w.appendChild(a.createElement("tr"));for(e.appendChild(b("")),f=0;f<m;f++)e.appendChild(b(p[f]));e.appendChild(b("total"))}for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&(s.push(e),d+=t[e]);let x,C,E;s.sort();for(let n=0;n<s.length;n++){const o=i.sym(s[n]);if(x=w.appendChild(a.createElement("tr")),C=x.appendChild(a.createElement("td")),C.textContent=e.utils.label(o),m>1)for(f=0;f<m;f++)E=r[p[f]][s[n]],A=x.appendChild(g(E,!0));x.appendChild(g(t[s[n]],!0))}if(s.length>1){if(x=w.appendChild(a.createElement("tr")),x.appendChild(b("total")),m>1)for(f=0;f<m;f++)E=o[p[f]],A=x.appendChild(g(E?h(E):""));A=x.appendChild(g(d)),A.setAttribute("style","font-weight: bold; text-align: right;")}const k=function(n,t,a){const o=n.createElement("table");o.setAttribute("style","padding-left: 0.5em; padding-right: 0.5em; font-size: 9pt; width: 85%;");const r=function(n,t){const a=n.createElement("tr"),o=i.any(t,gi.qu("toAccount"));!function(n,t){let a="'padding-left: 0.5em; padding-right: 0.5em; padding-top: 0.1em;";if(t){const n=i.any(t,e.ns.ui("backgroundColor"));n&&(a+="background-color: "+n.value+"; ")}n.setAttribute("style",a)}(a,o);const r=a.appendChild(n.createElement("td")),s=i.any(t,gi.qu("date"));r.textContent=s?s.value.slice(0,10):"???",r.setAttribute("style","width: 7em;");const l=a.appendChild(n.createElement("td"));l.setAttribute("style","width: 36em;");const c=i.any(t,gi.qu("payee"));l.textContent=c?c.value:"???";const u=l.appendChild(n.createElement("a"));u.textContent=" ➜",u.setAttribute("href",t.uri);const d=a.appendChild(n.createElement("td")),p=i.any(t,gi.qu("in_USD"));return d.textContent=p?h(p.value):"???",d.setAttribute("style","width: 6em; text-align: right; "),a.addEventListener("click",function(e){y(n,a,t,"transaction",!e.shiftKey)},!1),a},s=a?t.filter(a):t.slice();s.sort(v);for(let e=0;e<s.length;e++)o.appendChild(r(n,s[e]));return o}(a,u);k.setAttribute("style","margin-left:auto; margin-right:1em; margin-top: 1em; border: padding: 1em;"),l.appendChild(k),e.widgets.attachmentList(a,n,l)}).catch(function(e){c("Error loading transactions: "+e)})};t()}return l}},vi=e.ns,Ai={icon:e.icons.iconBase+"noun_142708.svg",name:"period",audience:[vi.solid("PowerUser")],label:function(e,n){return n.session.store.findTypeURIs(e)["http://www.w3.org/2000/10/swap/pim/qif#Period"]?"period":null},render:function(n,t){const a=t.dom,i=t.session.store,o=e.ns,r=a.createElement("div");r.setAttribute("class","periodPane");const s=function(e,n){n||(n="color: grey;");const t=a.createElement("pre");t.setAttribute("style",n),r.appendChild(t),t.appendChild(a.createTextNode(e))},l=function(e){return s("✓ "+e,"color: #010; background-color: #efe")},c=function(e){return s(e,"color: #100; background-color: #fee")},u=function(){const s=i.any(n,o.cal("dtstart"));void 0===s&&c("(Error: There is no start date known for this period <"+n.uri+">,\n -- every period needs one.)");const u=i.any(n,o.cal("dtend"));void 0===u&&c("(Error: There is no end date known for this period <"+n.uri+">,\n -- every period needs one.)");const d={};var p;p=o.rdf("type"),d[p.uri]=!0;const f=function(e){return!!((n=i.any(e,o.qu("date")))&&n>=s&&n<u);var n},m=function(e,n){const t=i.any(e,o.qu("date")),a=i.any(n,o.qu("date"));if(void 0!==t&&void 0!==a){if(t.value<a.value)return-1;if(t.value>a.value)return 1}return e.uri<n.uri?-1:e.uri>n.uri?1:0};r.appendChild(a.createElement("h2")).textContent="Period "+s.value.slice(0,10)+" - "+u.value.slice(0,10);const h=function(e,n,a,i,o){n.expanded?(n.parentNode.removeChild(n.expanded),n.expanded=!1):function(e,n,a,i,o){const r=n.parentNode.children;if(o)for(let e=r.length-1;e>=0;e--)r[e].expanded&&(r[e].parentNode.removeChild(r[e].expanded),r[e].expanded=!1);const s=e.createElement("tr"),l=s.appendChild(e.createElement("td"));l.setAttribute("style","width: 98%; padding: 1em; border: 0.1em solid grey;");const c=n.children.length;n.nextSibling?n.parentNode.insertBefore(s,n.nextSibling):n.parentNode.appendChild(s),n.expanded=s,l.setAttribute("colspan",""+c),l.appendChild(function(e,n,t){const a=e.session.paneRegistry.byName(t).render(n,e);return a.setAttribute("style","border: 0.1em solid green;"),a}(t,a,i))}(e,n,a,i,o)},g=function(n,t){const a=n.createElement("table");a.setAttribute("style","margin-left: 100; font-size: 9pt; width: 85%;");const r=function(n,t){const a=n.createElement("tr"),r=i.any(t,o.qu("toAccount"));!function(n,t){let a="margin-left: 8em; padding-left: 5em;";if(t){const n=i.any(t,e.ns.ui("backgroundColor"));n&&(a+="background-color: "+n.value+"; ")}n.setAttribute("style",a)}(a,r);const s=a.appendChild(n.createElement("td")),l=i.any(t,o.qu("date"));s.textContent=l?l.value.slice(0,10):"???",s.setAttribute("style","width: 7em;");const c=a.appendChild(n.createElement("td"));c.setAttribute("style","width: 36em;");const u=i.any(t,o.qu("payee"));c.textContent=u?u.value:"???";const d=c.appendChild(n.createElement("a"));d.textContent=" ➜",d.setAttribute("href",t.uri);const p=a.appendChild(n.createElement("td")),f=i.any(t,o.qu("in_USD"));return p.textContent=f?function(e){const n=""+e;return n.indexOf(".")>=0?n.split(".")[0]+"."+(n.split(".")[1]+"00").slice(0,2):n+".00"}(f.value):"???",p.setAttribute("style","width: 6em; text-align: right; "),a.addEventListener("click",function(e){h(n,a,t,"transaction",!e.shiftKey)},!1),a},s=t.filter(f);s.sort(m);for(let e=0;e<s.length;e++)a.appendChild(r(n,s[e]));return a},b={"http://www.w3.org/2000/10/swap/pim/qif#Transaction":!0,"http://www.w3.org/2000/10/swap/pim/qif#Unclassified":!0,"http://www.w3.org/2000/10/swap/pim/qif#UnclassifiedOutgoing":!0,"http://www.w3.org/2000/10/swap/pim/qif#UnclassifiedIncome":!0},v=i.findMemberURIs(o.qu("Transaction")),A=[],y=[];let w,x,C,E;for(const e in v)if(Object.prototype.hasOwnProperty.call(v,e)){x=i.sym(e);const n=i.each(x,o.rdf("type"));let t=!1;for(let e=0;e<n.length;e++){void 0===b[n[e].uri]&&(t=!0)}t||(w=i.any(x,o.qu("in_USD")),void 0===w&&(w=i.any(x,o.qu("amount"))),w&&(""+w.value).indexOf("-")>=0?y.push(i.sym(e)):A.push(i.sym(e)))}A.length?(C=g(a,A),E=C.children.length,r.appendChild(a.createElement("h3")).textContent="Unclassified Income"+(E<4?"":" ("+E+")"),r.appendChild(C)):l("No unclassified income"),y.length?(C=g(a,y),E=C.children.length,r.appendChild(a.createElement("h3")).textContent="Unclassified Outgoings"+(E<4?"":" ("+E+")"),r.appendChild(C)):l("No unclassified outgoings ");const k=function(n,t){const s=function(e){const n=i.findSubClassesNT(o.qu("Transaction"));for(const t in n)if(Object.prototype.hasOwnProperty.call(n,t)&&t.slice(1,-1).split("#")[1]===e)return i.sym(t.slice(1,-1));return null}(n);let l;const u=[];let d=0;if(!s)return c("Error: No category correspnding to "+n),null;const p=i.each(void 0,o.rdf("type"),s);for(let e=0;e<p.length;e++)i.any(p[e],t)||u.push(p[e]);return u.length&&(l=g(a,u),d=l.children.length,r.appendChild(a.createElement("h3")).textContent=e.utils.label(s)+" with no "+e.utils.label(t)+(d<4?"":" ("+d+")"),r.appendChild(l)),d};0===k("Reimbursables",o.trip("trip"))&&l("Reimbursables all have trips"),0===k("Other_Inc_Speaking",o.trip("trip"))&&l("Speaking income all has trips")};if(i.findTypeURIs(n)["http://www.w3.org/2000/10/swap/pim/qif#Period"]){const e=i.each(n,o.rdfs("seeAlso"));console.log("Loading before render: "+e.length),i.fetcher.load(e).then(function(){u()})}return r}};var yi=o(1927),wi=o.n(yi);const xi={icon:e.icons.iconBase+"noun_688606.svg",name:"tabbed",audience:[e.ns.solid("PowerUser")],label:(n,t)=>{const a=t.session.store.findTypeURIs(n);return e.ns.meeting("Cluster").uri in a?"Tabbed":null},render:(n,t)=>{const a=t.dom,i=t.session.store,o=a.createElement("div");return(async()=>{if(!i.fetcher)throw new Error("Store has no fetcher");await i.fetcher.load(n),o.appendChild(e.tabs.tabWidget({dom:a,subject:n,predicate:i.any(n,e.ns.meeting("predicate"))||e.ns.meeting("toolList"),ordered:!0,orientation:i.anyValue(n,e.ns.meeting("orientation"))||"0",renderMain:(e,n)=>{e.innerHTML="";const a=e.appendChild(t.dom.createElement("table"));t.getOutliner(t.dom).GotoSubject(n,!0,null,!1,void 0,a)},renderTab:(a,o)=>{const r=i.the(n,e.ns.meeting("predicate"));a.appendChild(e.widgets.personTR(t.dom,r,o,{}))},backgroundColor:i.anyValue(n,e.ns.ui("backgroundColor"))||"#ddddcc"}))})(),o}},Ci=xi;var Ei=o(7052);const ki=e.ns,Bi=[ki.sched("No"),ki.sched("Maybe"),ki.sched("Yes")],Si={icon:e.icons.iconBase+"noun_346777.svg",name:"schedule",audience:[ki.solid("PowerUser")],label:function(e,n){return n.session.store.findTypeURIs(e)["http://www.w3.org/ns/pim/schedule#SchedulableEvent"]?"Scheduling poll":null},mintClass:ki.sched("SchedulableEvent"),mintNew:function(t,a){return new Promise(function(i,o){const r=e.ns,s=t.session.store;let l=a.newBase;const c=a.useExisting||A.sym(a.newBase+"index.ttl#this"),u=function(e,n){e||(console.log("Error in Schedule Pane: Error constructing new scheduler: "+n),o(new Error(n)))},d=function(n,t,a){const i=A.graph(),o=A.Namespace("http://www.w3.org/ns/auth/acl#");let s=i.sym(t+"#a1");const l=i.sym(t),c=i.sym(n);return i.add(s,e.ns.rdf("type"),o("Authorization"),l),i.add(s,o("accessTo"),c,l),i.add(s,o("agent"),h,l),i.add(s,o("mode"),o("Read"),l),i.add(s,o("mode"),o("Write"),l),i.add(s,o("mode"),o("Control"),l),s=i.sym(t+"#a2"),i.add(s,e.ns.rdf("type"),o("Authorization"),l),i.add(s,o("accessTo"),c,l),i.add(s,o("agentClass"),r.foaf("Agent"),l),i.add(s,o("mode"),o("Read"),l),a&&i.add(s,o("mode"),o("Write"),l),A.serialize(l,i,t,"text/turtle")},p=function(e,n,t){const a=s.any(s.sym(e),s.sym("http://www.iana.org/assignments/link-relations/acl"));if(a){const i=d(e,a.uri,n);return f.webOperation("PUT",a.uri,{data:i,contentType:"text/turtle"}).then(e=>t(!0)).catch(e=>{t(!1,e.message)})}return f.load(e).catch(e=>{t(!1,"Getting headers for ACL: "+e)}).then(()=>{const t=s.any(s.sym(e),s.sym("http://www.iana.org/assignments/link-relations/acl"));if(!t)throw new Error("No Link rel=ACL header for "+e);const a=d(e,t.uri,n);return f.webOperation("PUT",t.uri,{data:a,contentType:"text/turtle"})}).then(e=>t(!0)).catch(e=>{t(!1,e.message)})},f=s.fetcher,m=s.updater;let h=a.me||n.authn.currentUser();if(!h)return console.log("MUST BE LOGGED IN"),void alert("NOT LOGGED IN");const g=c.dir().uri;let b,v;if(a.useExisting){if(v=a.useExisting,l=c.dir().uri,b=v.doc(),a.newBase)throw new Error("mint new scheduler: Illegal - have both new base and existing event")}else b=s.sym(l+"details.ttl"),v=s.sym(b.uri+"#event");const y=s.sym(l+"results.ttl"),w=a.noIndexHTML?{}:[{local:"index.html",contentType:"text/html"}],x=[];for(let e=0;e<w.length;e++){const t=function(e){x.push(function(){const t=l+e.local;console.log("Copying "+g+e.local+" to "+t);s.fetcher.webCopy(g+e.local,l+e.local,e.contentType).then(()=>n.authn.checkUser()).then(e=>{h=e,p(t,!1,function(e,n){e?x.shift()():(u(e,"FAILED to set ACL "+t+" : "+n),console.log("FAILED to set ACL "+t+" : "+n))})}).catch(n=>{console.log("FAILED to copy "+g+e.local+" : "+n.message),u(!1,"FAILED to copy "+g+e.local+" : "+n.message)})})};t(w[e])}x.push(function(){s.add(v,r.rdf("type"),r.sched("SchedulableEvent"),b),h&&(s.add(v,r.dc("author"),h,b),s.add(v,r.foaf("maker"),h,b)),s.add(v,r.dc("created"),new Date,b),s.add(v,r.sched("resultsDocument"),b),m.put(b,s.statementsMatching(void 0,void 0,void 0,b),"text/turtle",function(e,n,t){n?x.shift()():(u(n,"FAILED to save new scheduler at: "+b+" : "+t),console.log("FAILED to save new scheduler at: "+b+" : "+t))})}),x.push(function(){s.fetcher.webOperation("PUT",y.uri,{data:"",contentType:"text/turtle"}).then(()=>{x.shift()()}).catch(e=>{u(!1,"Failed to initialize empty results file: "+e.message)})}),x.push(function(){p(y.uri,!0,function(e,n){u(e,"Failed to set Read-Write ACL on results file: "+n),e&&x.shift()()})}),x.push(function(){p(b.uri,!1,function(e,n){u(e,"Failed to set read ACL on configuration file: "+n),e&&x.shift()()})}),x.push(function(){console.log("Finished minting new scheduler"),a.newInstance=v,i(a)}),x.shift()()})},render:function(t,a){const i=a.dom,o=a.session.store,r=e.ns,s=t,l="app-when-can-we.w3.org",c=o.fetcher,u=o.updater;let d=!1;const p=t,f=t.doc(),m=f.dir().uri,h=A.sym(m+"results.ttl"),g="https://solidos.github.io/solid-panes/schedule/formsForSchedule.ttl",b=o.sym(g+"#form1"),v=o.sym(g+"#form2"),y=o.sym(g+"#form3");A.parse('@prefix dc: <http://purl.org/dc/elements/1.1/>.\n@prefix foaf: <http://xmlns.com/foaf/0.1/>.\n@prefix cal: <http://www.w3.org/2002/12/cal/ical#>.\n@prefix ui: <http://www.w3.org/ns/ui#>.\n@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.\n@prefix sched: <http://www.w3.org/ns/pim/schedule#>.\n\n cal:Vevent ui:annotationForm <#form2>, <#form3>; ui:creationForm <#form1> .\n\n<#bigForm>\n dc:title\n "Schedule event (single form).";\n a ui:Group;\n ui:parts ( <#form1> <#form2> <#form3> ).\n\n<#form1>\n dc:title\n "Schedule an event (wizard)";\n a ui:Form;\n ui:parts (\n <#form1header>\n <#eventTitle>\n <#eventLocation>\n <#eventType>\n <#eventSwitch>\n <#eventComment>\n <#eventAuthor> ).\n\n<#form1header> a ui:Heading; ui:contents "Schedule an event" .\n\n<#eventTitle>\n a ui:SingleLineTextField;\n ui:maxLength\n "128";\n ui:property\n cal:summary;\n ui:size\n "40".\n\n<#eventLocation>\n a ui:SingleLineTextField;\n ui:maxLength\n "512";\n ui:property\n cal:location;\n ui:size\n "40".\n\n<#eventType> a ui:BooleanField;\n ui:property sched:allDay;\n ui:default true . # Used to be the only way\n\n<#eventSwitch> a ui:Options;\n ui:dependingOn sched:allDay;\n ui:case [ ui:for true; ui:use <#AllDayForm> ];\n ui:case [ ui:for false; ui:use <#NotAllDayForm> ].\n\n <#AllDayForm> a ui:IntegerField ;\n ui:property sched:durationInDays;\n ui:label "How many days?";\n ui:min 1;\n ui:default 1 .\n\n <#NotAllDayForm> a ui:IntegerField ;\n ui:property sched:durationInMinutes;\n ui:label "Duration (mins)";\n ui:min 5;\n ui:default 55 .\n\n<#eventComment>\n a ui:MultiLineTextField;\n# ui:maxLength\n# "1048";\n# ui:size\n# "40".\n ui:property\n cal:comment.\n\n<#eventAuthor>\n a ui:Multiple; ui:min 1; ui:part <#eventAuthorGroup>; ui:property dc:author.\n\n <#eventAuthorGroup> a ui:Group; ui:parts ( <#authorName> <#authorEmail> ) .\n <#authorName> a ui:SingleLineTextField; ui:property foaf:name .\n <#authorEmail> a ui:EmailField; ui:label "email"; ui:property foaf:mbox .\n\n\n#####################\n\n<#form2> dc:title "Select possible days or times"; a ui:Form;\n ui:parts ( <#id1118132113134> <#possibleSwitch> ).\n\n <#id1118132113134> a ui:Heading; ui:contents "Time proposals" .\n\n <#possibleSwitch> a ui:Options;\n ui:dependingOn sched:allDay;\n ui:case [ ui:for true; ui:use <#AllDayForm2> ];\n ui:case [ ui:for false; ui:use <#NotAllDayForm2> ].\n\n <#AllDayForm2>\n a ui:Multiple; ui:min 2; ui:part <#posssibleDate>; ui:property sched:option.\n <#posssibleDate> a ui:DateField; ui:property cal:dtstart; ui:label "date".\n\n <#NotAllDayForm2>\n a ui:Multiple; ui:min 2; ui:part <#posssibleTime>; ui:property sched:option.\n <#posssibleTime> a ui:DateTimeField; ui:property cal:dtstart; ui:label "date and time".\n\n ##################################\n\n <#form3> dc:title "Select invited people"; a ui:Form; ui:parts ( <#id1118132113135> <#id1417314641301b> ) .\n<#id1417314641301b>\n a ui:Multiple; ui:min 1; ui:part <#id1417314674292b>; ui:property sched:invitee.\n <#id1417314674292b> a ui:EmailField; ui:label "email"; ui:property foaf:mbox .\n <#id1118132113135> a ui:Heading; ui:contents "Who to invite" .\n\n# ENDS\n',o,g,"text/turtle");const w="background-color: #eef; padding: 0.5em; border: .5em solid white; font-size: 100%",x="width: 1.8em; height: 1.8em;",C=function(n,t){n||D.appendChild(e.widgets.errorMessageBlock(i,t,"pink"))},E=function(e){for(;e.firstChild;)e.removeChild(e.firstChild);return e},k=function(n,t){const a=o.any(t,e.ns.ui("backgroundColor"));a&&n.setAttribute("style","padding: 0.3em; text-align: center; background-color: "+a+";")};let B;n.authn.checkUser().then(e=>{B=e,z&&z.refresh(),e&&d&&(d=!1,F())}),console.log("me: "+B);const S=function(e){let n=o.any(e,r.space("uriPrefix"));n=n?n.value:e.uri.split("#")[0],"/"!==n.slice(-1)&&(A.log.error(l+": No / at end of uriPrefix "+n),n+="/");const t=new Date;n+=l+"/id"+t.getTime()+"/",T(p,n)},T=function(e,n){const t={thisInstance:e,newBase:n};this.mintNew(a,t).then(function(e){const n=D.appendChild(i.createElement("p"));n.setAttribute("style","font-size: 140%;"),n.innerHTML="Your <a href='"+e.newInstance.uri+"'><b>new scheduler</b></a> is ready to be set up. <br/><br/><a href='"+e.newInstance.uri+"'>Say when you what days work for you.</a>"}).catch(function(e){C(!1,"Error createing new scheduler at "+t.newInstance+": "+e)})},P=function(){console.log("getDetails()"),c.nowOrWhenFetched(f.uri,void 0,function(e,n){if(console.log("getDetails() ok? "+e),!e)return C(e,n);F()})},F=function(){console.log("showAppropriateDisplay()"),n.authn.checkUser().then(e=>{if(!e)return N();if(!o.updater.editable(f.uri,o)||o.holds(t,r.rdf("type"),r.wf("TemplateInstance")))return void L(D);o.any(t,r.sched("ready"))?O():_()})},N=function(){E(U);const n={div:D,dom:i};e.login.ensureLoggedIn(n).then(e=>{B=e.me,d=!1,F()})},L=function(){const n=E(U);n.appendChild(e.login.newAppInstance(i,{noun:"poll"},S)),n.appendChild(i.createElement("hr"));n.appendChild(i.createElement("p")).textContent="Where would you like to store the data for the poll? Give the URL of the directory where you would like the data stored.";const t=n.appendChild(i.createElement("input"));t.setAttribute("type","text"),t.size=80,t.label="base URL",t.autocomplete="on",n.appendChild(i.createElement("br"));const a=n.appendChild(i.createElement("button"));a.setAttribute("style",w),a.textContent="Start new poll at this URI",a.addEventListener("click",function(e){let n=t.value;"/"!==n.slice(-1)&&(n+="/"),T(p,n)})},I=i.createElement("button"),_=function(){E(H);let n=0,a=!1;{const o=[b,v,y],r=[];n=0;for(let n=0;n<o.length;n++){const a=i.createElement("div");e.widgets.appendForm(document,a,{},t,o[n],f,C),r.push(a)}const s=function(){E(U).appendChild(r[n]),0===n?c.setAttribute("disabled",""):c.removeAttribute("disabled"),n===r.length-1?(u.setAttribute("disabled",""),a||(H.appendChild(l),H.appendChild(I),a=!0)):u.removeAttribute("disabled")},c=E($).appendChild(i.createElement("button"));c.setAttribute("style",w),c.textContent="<- go back",c.addEventListener("click",function(e){n>0&&(n-=1,s())},!1);const u=E(V).appendChild(i.createElement("button"));u.setAttribute("style",w),u.textContent="continue ->",u.addEventListener("click",function(e){n<r.length-1&&(n+=1,s())},!1),s()}const s=[];s.push(A.st(t,r.sched("availabilityOptions"),r.sched("YesNoMaybe"),f)),s.push(A.st(t,r.sched("ready"),new Date,f)),s.push(A.st(t,r.sched("results"),h,f)),I.setAttribute("style",w),I.textContent="Go to poll",I.addEventListener("click",function(e){o.any(t,r.sched("ready"))?(O(),V.appendChild(l)):(V.appendChild(l),o.updater.update([],s,function(e,n,t){n?O():C(n,t)}))},!1);const l=i.createElement("button");l.setAttribute("style",w);const c=l.appendChild(i.createElement("img"));c.setAttribute("src",e.icons.iconBase+"noun_480183.svg"),c.setAttribute("style",x),l.addEventListener("click",function(e){const n=o.anyValue(t,r.cal("summary"))||o.anyValue(t,r.dc("title"))||"",a="mailto:"+o.each(t,r.sched("invitee")).map(function(e){const n=o.any(e,r.foaf("mbox"));return n?n.uri.replace("mailto:",""):""}).join(",")+"?subject="+encodeURIComponent(n+"-- When can we meet?")+"&body="+encodeURIComponent(n+"\n\nWhen can you?\n\nSee "+t+"\n");console.log("Mail: "+a),window.location.href=a},!1)};function O(){c.nowOrWhenFetched(h.uri,(e,n,t)=>{e?(E(U),R()):404===t.status?(console.log("Initializing details file "+h),u.put(h,[],"text/turtle",function(e,n,t){n?(E(U),R()):(C(n,"FAILED to create results file at: "+h.uri+" : "+t),console.log("FAILED to craete results file at: "+h.uri+" : "+t))})):C(e,"FAILED to read results file: "+n)})}function R(){const n=o.any(s,r.cal("summary")),a=o.any(s,r.cal("comment")),l=o.any(s,r.cal("location")),c=U;n&&(c.appendChild(i.createElement("h3")).textContent=n),l&&(c.appendChild(i.createElement("address")).textContent=l.value),a&&(c.appendChild(i.createElement("p")).textContent=a.value);const u=o.any(s,r.dc("author"));if(u){const e=o.any(u,r.foaf("name"));e&&(c.appendChild(i.createElement("p")).textContent=e)}const d=new A.Query("Responses"),p={};["time","author","value","resp","cell"].forEach(function(e){d.vars.push(p[e]=A.variable(e))}),d.pat.add(s,r.sched("response"),p.resp),d.pat.add(p.resp,r.dc("author"),p.author),d.pat.add(p.resp,r.sched("cell"),p.cell),d.pat.add(p.cell,r.sched("availabilty"),p.value),d.pat.add(p.cell,r.cal("dtstart"),p.time);const f={};f.set_x=o.each(t,r.sched("option")),f.set_x=f.set_x.map(function(e){return o.any(e,r.cal("dtstart"))}),f.set_y=o.each(t,r.sched("response")),f.set_y=f.set_y.map(function(e){return o.any(e,r.dc("author"))});const m=o.each(s,r.sched("option")).map(function(e){return o.any(e,r.cal("dtstart"))}),g=function(){const n=c.appendChild(e.matrix.matrixForQuery(i,d,p.time,p.author,p.value,f,function(){}));n.setAttribute("class","matrix");const t=i.createElement("button");t.setAttribute("style",w);const a=i.createElement("img");a.setAttribute("src",e.icons.iconBase+"noun_479395.svg"),a.setAttribute("style",x),t.appendChild(a),t.addEventListener("click",function(e){t.disabled=!0,o.fetcher.refresh(h,function(e,a){e?(n.refresh(),t.disabled=!1):console.log("Cant refresh matrix"+a)})},!1),E(H),H.appendChild(t)},b=[],v={div:H,dom:i};e.login.ensureLoggedIn(v).then(n=>{const t=n.me,a=h;f.set_y=f.set_y.filter(function(e){return!e.sameTerm(t)}),f.set_y.push(t),f.cellFunction=function(n,a,s,l){if(null!==l&&o.fetcher.nowOrWhenFetched(l.uri.split("#")[0],void 0,function(e,t){e&&k(n,l)}),s.sameTerm(t)){const t=function(){k(n,l)},s={},c=r.sched("availabilty"),u=b[a.toNT()],d=e.widgets.makeSelectForOptions(i,o,u,c,Bi,s,h,t);n.appendChild(d)}else null!==l&&(n.textContent=e.utils.label(l))};const l=o.each(s,r.sched("response"));let c=null;l.forEach(function(e){o.holds(e,r.dc("author"),t)&&(c=e)});const u=[],d=e.widgets.newThing(a).uri;if(null===c)c=A.sym(d+"_response"),u.push(A.st(s,r.sched("response"),c,a)),u.push(A.st(c,r.dc("author"),t,a));else{o.each(c,r.sched("cell")).forEach(function(e){const n=o.any(e,r.cal("dtstart"));b[n.toNT()]=e})}for(let e=0;e<m.length;e++){if(b[m[e].toNT()])continue;const n=A.sym(d+"_"+e);u.push(A.st(c,r.sched("cell"),n,a)),u.push(A.st(n,r.cal("dtstart"),m[e],a)),b[m[e].toNT()]=n}u.length?o.updater.update([],u,function(e,n,t){n?g():C(n,t)}):g()});const y=o.any(t,r.foaf("maker"));if(!y||y.sameTerm(B)){const n=i.createElement("button");n.setAttribute("style",w);const t=i.createElement("img");t.setAttribute("src",e.icons.iconBase+"noun_344563.svg"),t.setAttribute("style",x),n.appendChild(t),n.addEventListener("click",function(e){E(c),_()},!1),E($),$.appendChild(n)}E(V),V.appendChild(function(){const n=e.login.newAppInstance(i,{noun:"scheduler"},S);return n.firstChild.setAttribute("style",w),n}())}const D=i.createElement("div"),M=D.appendChild(i.createElement("table"));M.setAttribute("style","background-color: white; min-width: 40em; min-height: 13em;");const j=M.appendChild(i.createElement("tr"));j.appendChild(i.createElement("td")),j.appendChild(i.createElement("td")),j.appendChild(i.createElement("td"));const z=null,U=M.appendChild(i.createElement("tr")).appendChild(i.createElement("td"));U.setAttribute("colspan","3");const q=M.appendChild(i.createElement("tr"));q.setAttribute("class","naviMenu"),q.setAttribute("style"," text-align: middle; vertical-align: middle; padding-top: 4em; ");const $=q.appendChild(i.createElement("td")),H=q.appendChild(i.createElement("td")),V=q.appendChild(i.createElement("td"));return console.log("getforms()"),P(),D}},Ti=e.ns,Pi={icon:e.icons.iconBase+"noun_62007.svg",name:"travel expenses",audience:[Ti.solid("PowerUser")],label:function(n,t){const a=t.session.store,i=a.findTypeURIs(n);return e.ns.qu("Transaction")in a.findSuperClassesNT(n)?"by Trip":i["http://www.w3.org/ns/pim/trip#Trip"]?"Trip $":null},render:function(n,t){const a=t.dom,i=t.store,o=e.ns,r=A.Namespace("http://www.w3.org/2002/12/cal/ical#"),s=A.Namespace("http://www.w3.org/ns/pim/trip#"),l=a.createElement("div");l.setAttribute("class","transactionPane"),l.innerHTML="<h2>Trip transactions</h2>";const c=function(e,n){void 0===n&&(n="color: grey");const t=a.createElement("pre");t.setAttribute("style",n),l.appendChild(t),t.appendChild(a.createTextNode(e))},u=i.findTypeURIs(n),d=function(n,t){const r=new A.Query(e.utils.label(n)),l={};["date","transaction","comment","type","in_USD"].forEach(function(e){r.vars.push(l[e]=A.variable(e))}),r.pat.add(l.transaction,s("trip"),n);const u=i.formula();u.add(l.transaction,o.rdf("type"),l.type),r.pat.optional.push(u),r.pat.add(l.transaction,e.ns.qu("date"),l.date),u.add(l.transaction,o.rdfs("comment"),l.comment),r.pat.optional.push(u),r.pat.add(l.transaction,e.ns.qu("in_USD"),l.in_USD);const d=e.table(a,{query:r,onDone:function(){const t={},a=i.each(void 0,s("trip"),n);a.forEach(function(n){let a=i.the(n,o.rdf("type"));if(a||(a=e.ns.qu("ErrorNoType")),a&&a.uri){const o=a.uri;t[o]||(t[o]=0);const r=i.any(n,e.ns.qu("in_USD"));r||c(" @@ No amount in USD: "+r+" for "+n),r&&(t[o]=t[o]+parseFloat(r.value))}});let r="",l=0,u=0;for(const n in t)r+=e.utils.label(i.sym(n))+": "+t[n]+"; ",l++,u+=t[n];c("Totals of "+a.length+" transactions: "+r,""),l>1&&c("Overall net: "+u,"text-treatment: bold;")}});t.appendChild(d)};if(e.ns.qu("Transaction")in i.findSuperClassesNT(n)){const t=i.each(void 0,o.rdf("type"),n),a=[],c=[];for(let n=0;n<t.length;n++){const o=t[n],r=i.any(o,s("trip"));if(r){o in c||(c[r]={total:0,transactions:[]});const n=i.any(o,e.ns.qu("in_USD"));n&&(c[r].total+=n);const t=i.any(o,e.ns.qu("date"));c[r.toNT()].transactions.push([t,o])}else a.push(o)}const u=[];for(const e in c){const n=i.fromNT(e);u.push([i.any(n,r("dtstart")),n])}u.sort();for(let e=0;e<u.length;e++){d(u[e][1],l)}}else u["http://www.w3.org/ns/pim/trip#Trip"]&&d(n,l);return l}},Fi={icon:e.icons.originalIconBase+"tango/22-image-x-generic.png",name:"image",label:function(n,t){const a=t.session.store;if(!a.anyStatementMatching(n,e.ns.rdf("type"),a.sym("http://purl.org/dc/terms/Image")))return null;return function(e,n,t){const a=e.fetcher.getHeader(n,"content-type");if(a)for(let e=0;e<a.length;e++)for(let n=0;n<t.length;n++)if(a[e].indexOf(t[n])>=0)return!0;return!1}(a,n,["application/pdf"])?null:"view"},render:function(e,n){const t=n.dom,a=n.session.store,i=t.createElement("div");i.setAttribute("class","imageView");const o=t.createElement("IMG");a.fetcher._fetch(e.uri).then(function(e){return e.blob()}).then(function(e){const n=URL.createObjectURL(e);o.setAttribute("src",n)}),o.setAttribute("style","max-width: 100%; max-height: 100%;");const r=t.createElement("TR");return r.appendChild(o),i.appendChild(r),i}},Ni=e.ns,Li={icon:e.icons.iconBase+"noun_1619.svg",name:"playlistSlot",audience:[Ni.solid("PowerUser")],label:function(n,t){const a=t.session.store;return a.anyStatementMatching(n,e.ns.rdf("type"),a.sym("http://purl.org/ontology/pbo/core#PlaylistSlot"))?"playlist slot":null},render:function(n,t){const a=t.dom;const i=function(n,t){if(!t)return n;const i=a.createElement("a");return i.setAttribute("href",t),i.appendChild(n),i.addEventListener("click",e.widgets.openHrefInOutlineMode,!0),i},o=function(e){return a.createTextNode(e)},r=t.session.store,s=r.any(n,A.sym("http://purl.org/ontology/pbo/core#playlist_item"));let l=r.any(n,A.sym("http://purl.org/ontology/olo/core#index")),c=s.uri;const u=function(e){if(!e)return{html5:!0};const n=e.match(/\/\/(?:www\.)?youtu(?:\.be|be\.com)\/(?:watch\?v=|embed\/)?([a-z0-9\-_%]+)/i),t=e.match(/\/\/(?:www\.)?vimeo.com\/([0-9a-z\-_]+)/i),a=e.match(/\/\/(?:www\.)?dai.ly\/([0-9a-z\-_]+)/i),i=e.match(/\/\/(?:www\.)?(?:vk\.com|vkontakte\.ru)\/(?:video_ext\.php\?)(.*)/i);return n?{youtube:n}:t?{vimeo:t}:a?{dailymotion:a}:i?{vk:i}:void 0}(c),d=a.createElement("div");let p,f;if(u&&u.youtube?(c=c.replace("watch?v=","embed/"),d.setAttribute("class","imageView"),p=a.createElement("IFRAME"),p.setAttribute("src",c),p.setAttribute("width",560),p.setAttribute("height",315),p.setAttribute("frameborder",0),p.setAttribute("style","max-width: 850px; max-height: 100%;"),p.setAttribute("allowfullscreen","true")):(d.setAttribute("class","imageView"),p=a.createElement("IMG"),p.setAttribute("src",s.value),p.setAttribute("width",560),p.setAttribute("height",315),p.setAttribute("style","max-width: 560; max-height: 315;")),l){const e=r.statementsMatching(null,A.sym("http://purl.org/ontology/olo/core#index")),t=[];for(let n=0;n<e.length;n++)e[n]&&t.push(parseInt(e[n].object.value,10));l=parseInt(l.value,10),f=a.createElement("div");const s=t[(t.indexOf(l)-1+t.length)%t.length],c=t[(t.indexOf(l)+1+t.length)%t.length],u=i(o("<<"),n.uri.split("#")[0]+"#"+s);f.appendChild(u);const d=a.createElement("span");d.innerHTML=" Playlist slot : "+l+" ",f.appendChild(d);const p=i(o(">>"),n.uri.split("#")[0]+"#"+c);f.appendChild(p)}const m=a.createElement("TR");return m.appendChild(p),f&&m.appendChild(f),d.appendChild(m),d}},Ii={icon:e.icons.iconBase+"noun_1619.svg",name:"video",label:function(e,n){const t=n.session.store.findTypeURIs(e),a=A.Util.mediaTypeClass("video/*").uri.split("*")[0];for(const e in t)if(e.startsWith(a))return"Play video";return null},render:function(e,n){const t=n.session.store,a=n.dom,i=a.createElement("div"),o=i.appendChild(a.createElement("video"));return o.setAttribute("controls","yes"),t.fetcher._fetch(e.uri).then(function(e){return e.blob()}).then(function(e){const n=URL.createObjectURL(e);o.setAttribute("src",n)}),o.setAttribute("width","100%"),i}},_i=e.ns,Oi={icon:e.icons.iconBase+"noun_534313.svg",name:"audio",label:function(e,n){const t=n.session.store.findTypeURIs(e),a=A.Util.mediaTypeClass("audio/*").uri.split("*")[0];for(const e in t)if(e.startsWith(a))return"Play audio";return null},render:function(e,n){const t=n.session.store,a=n.dom,i=!1,o=!0,r=!0,s=!1,l=function(e){const n=e.lastIndexOf(".");if(n<0)return e;return n<e.lastIndexOf("/")?e:e.slice(0,n)},c=function(e){const n=e.uri.split("/").slice(-3),t=function(e){try{return decodeURIComponent(e)}catch(n){return e}};g.textContent=t(n[0]),b.textContent=t(n[1]),v.textContent=t(l(n[2]))},u=function(e,n){return new Promise(function(a){if(n=n||0,!o)return a(null);const i=t.any(void 0,_i.ldp("contains"),e)||e.dir();if(!i)return a(null);t.fetcher.load(i).then(function(o){const l=t.each(i,_i.ldp("contains"));let c;l.sort();for(let o=0;o<l.length;o++)if(e.uri===l[o].uri){if(c=(o+1)%l.length,0!==c)return a(l[c]);if(!r)return a(s?l[c]:null);if(1===n||!r)return a(null);u(i,n+1).then(function(e){e&&t.fetcher.load(e).then(function(n){const i=t.each(e,_i.ldp("contains"));return 0===i.length?a(null):(i.sort(),console.log("New Album: "+e),a(i[0]))})})}})})},d=function(e){const n=t.sym(e.target.getAttribute("src"));if(!o)return;const a=function(n){const i=n;u(i).then(function(n){n?!function(e){const n=t.any(void 0,_i.ldp("contains"),e);if(!n)return!1;const a=t.each(n,_i.ldp("contains"));if(a.length<2)return!1;const i=e.uri;for(let e=0;e<a.length;e++){const n=a[e].uri;if(i.length>n.length&&i.startsWith(l(n)))return!0;if(i.endsWith(".m4a")&&n.endsWith(".mp3")&&l(i)===l(n))return!0}return!1}(n)?(console.log("Moving on to "+n),c(n),A.appendChild(p(n,!0)),A.removeChild(e.target)):(console.log("Ignoring redundant "+n),a(n)):console.log("No successor to "+i)})};a(n)},p=function(e,n){const i=a.createElement("audio");return i.setAttribute("controls","yes"),t.fetcher._fetch(e.uri).then(function(e){return e.blob()}).then(function(e){const n=URL.createObjectURL(e);i.setAttribute("src",n)}),n&&i.setAttribute("autoplay","autoplay"),i.addEventListener("ended",d,!1),i},f=a.createElement("div"),m=f.appendChild(a.createElement("table")),h="padding: 0.3em; color:white; background-color: black;",g=m.appendChild(a.createElement("tr"));g.style.cssText=h;const b=m.appendChild(a.createElement("tr"));b.style.cssText=h;const v=m.appendChild(a.createElement("tr"));v.style.cssText=h;const A=m.appendChild(a.createElement("tr"));return c(e),A.appendChild(p(e,i)),!t.holds(void 0,_i.ldp("contains"),e)&&e.dir()&&t.fetcher.load(e.dir()),f}};var Ri=o(6049);const Di={icon:e.icons.iconBase+"dokieli-logo.png",name:"Dokieli",mintClass:e.ns.solid("DokieliDocument"),label:function(e,n){return null},mintNew:function(e,n){const t=e.session.store;let a=n.newInstance;if(!a){let e=n.newBase;e.endsWith("/")&&(e=e.slice(0,-1),n.newBase=e),a=t.sym(e)}const i=Ri.lookup(a.uri);i&&i.includes("html")||(a=A.sym(a.uri+".html")),n.newInstance=a;let o='<!DOCTYPE html>\n<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">\n <head>\n <meta charset="utf-8" />\n <title></title>\n <meta content="width=device-width, initial-scale=1" name="viewport" />\n <link href="https://dokie.li/media/css/basic.css" media="all" rel="stylesheet" title="Basic" />\n <link href="https://dokie.li/media/css/dokieli.css" media="all" rel="stylesheet" />\n <script src="https://dokie.li/scripts/dokieli.js"><\/script>\n </head>\n\n <body about="" prefix="rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns# rdfs: http://www.w3.org/2000/01/rdf-schema# owl: http://www.w3.org/2002/07/owl# xsd: http://www.w3.org/2001/XMLSchema# rdfa: http://www.w3.org/ns/rdfa# dcterms: http://purl.org/dc/terms/ dctypes: http://purl.org/dc/dcmitype/ foaf: http://xmlns.com/foaf/0.1/ pimspace: http://www.w3.org/ns/pim/space# skos: http://www.w3.org/2004/02/skos/core# prov: http://www.w3.org/ns/prov# mem: http://mementoweb.org/ns# qb: http://purl.org/linked-data/cube# schema: http://schema.org/ void: http://rdfs.org/ns/void# rsa: http://www.w3.org/ns/auth/rsa# cert: http://www.w3.org/ns/auth/cert# wgs: http://www.w3.org/2003/01/geo/wgs84_pos# bibo: http://purl.org/ontology/bibo/ sioc: http://rdfs.org/sioc/ns# doap: http://usefulinc.com/ns/doap# dbr: http://dbpedia.org/resource/ dbp: http://dbpedia.org/property/ sio: http://semanticscience.org/resource/ opmw: http://www.opmw.org/ontology/ deo: http://purl.org/spar/deo/ doco: http://purl.org/spar/doco/ cito: http://purl.org/spar/cito/ fabio: http://purl.org/spar/fabio/ oa: http://www.w3.org/ns/oa# as: https://www.w3.org/ns/activitystreams# ldp: http://www.w3.org/ns/ldp# solid: http://www.w3.org/ns/solid/terms# acl: http://www.w3.org/ns/auth/acl# earl: http://www.w3.org/ns/earl# spec: http://www.w3.org/ns/spec# odrl: http://www.w3.org/ns/odrl/2/ dio: https://w3id.org/dio# rel: https://www.w3.org/ns/iana/link-relations/relation#" typeof="schema:CreativeWork prov:Entity">\n <main>\n <article about="" typeof="schema:Article">\n\n </article>\n </main>\n </body>\n</html>\n',r=a.uri.split("/").slice(-1)[0];r=decodeURIComponent(r.split(".")[0]);const s=r.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;");return o=o.replace("<title>","<title>"+s),o=o.replace("</article>","<h1>"+s+"</h1></article>"),new Promise(function(e){t.fetcher.webOperation("PUT",a.uri,{data:o,contentType:"text/html"}).then(function(){console.log("new Dokieli document created at "+n.newInstance),e(n)}).catch(function(e){console.log("Error creating dokieli doc at "+n.newInstance+": "+e)})})}},Mi={icon:e.icons.iconBase+"noun_973694_expanded.svg",name:"folder",mintNew:function(e,n){const t=e.session.store,a=n.newInstance||t.sym(n.newBase);let i=a.uri;return i.endsWith("/")&&(i=i.slice(0,-1)),n.newInstance=t.sym(i+"/"),t.fetcher.webOperation("PUT",a.uri).then(function(){return console.log("New container created: "+a.uri),n})},label:function(n,t){const a=t.session.store,i=a.each(n,e.ns.ldp("contains")).length;return i>0?"Contents ("+i+")":a.holds(n,e.ns.rdf("type"),e.ns.ldp("Container"))?"Container (0)":null},render:function(t,a){function i(e){const n=e.uri.slice(e.dir().uri.length);return!(n.startsWith(".")||n.endsWith(".acl")||n.endsWith("~"))}function o(){let n=l.each(t,e.ns.ldp("contains")).filter(i);n=n.map(n=>[e.utils.label(n).toLowerCase(),n]),n.sort(),n=n.map(e=>e[1]),e.utils.syncTableToArray(c,n,function(n){const a=l.statementsMatching(t,e.ns.ldp("contains"),n)[0],i=s.VIEWAS_boring_default,o=s.propertyTR(r,a,!1);return o.firstChild.textContent="",o.firstChild.style.cssText+="min-width: 3em;",o.appendChild(s.outlineObjectTD(n,i,void 0,a)),o})}const r=a.dom,s=a.getOutliner(r),l=a.session.store;let c;const u=r.createElement("div");u.setAttribute("class","instancePane");const d=e.style.folderPaneStyle||"border-top: solid 1px #777; border-bottom: solid 1px #777; margin-top: 0.5em; margin-bottom: 0.5em;";u.setAttribute("style",d);const p=t.uri.endsWith("/")?t.uri:t.uri+"/",f=l.sym(p+"index.ttl#this");if(l.holds(t,e.ns.ldp("contains"),f.doc())){console.log("View of folder will be view of indexThing. Loading "+f);const e=u.appendChild(r.createElement("div"));return e.style.cssText="border-top: 0.2em solid #ccc;",l.fetcher.load(f.doc()).then(function(){c=e.appendChild(r.createElement("table")),a.getOutliner(r).GotoSubject(f,!0,void 0,!1,void 0,c)}),u}c=u.appendChild(r.createElement("table")),c.refresh=o,o(),l.updater.addDownstreamChangeListener(t,o);const m=u.appendChild(r.createElement("div")),h=n.authn.currentUser();if(!h)return u;const g={folder:t,div:m,dom:r,statusArea:m,me:h};return g.refreshTarget=c,e.login.filterAvailablePanes(a.session.paneRegistry.list).then(function(n){e.create.newThingUI(g,a,n),e.aclControl.preventBrowserDropEvents(r);let t;t=m.firstChild,e.widgets.makeDropTarget(t,null,b)}),u;function b(n){e.widgets.uploadFiles(l.fetcher,n,t.uri,t.uri,function(n,a){const i=l.sym(a);console.log(" Upload: put OK: "+i),l.add(t,e.ns.ldp("contains"),i,t.doc()),c.refresh()})}}},ji=e.ns,zi={icon:e.icons.originalIconBase+"tango/22-folder-open.png",name:"classInstance",audience:[ji.solid("PowerUser")],label:function(e,n){const t=n.session.store.each(void 0,ji.rdf("type"),e).length;return t>0?"List ("+t+")":null},render:function(n,t){const a=t.dom,i=t.getOutliner(a),o=t.session.store,r=function(e,n){const t=a.createElement("pre");t.setAttribute("style","background-color: "+n||0),s.appendChild(t),t.appendChild(a.createTextNode(e))},s=a.createElement("div");s.setAttribute("class","instancePane"),s.setAttribute("style"," border-top: solid 1px #777; border-bottom: solid 1px #777; margin-top: 0.5em; margin-bottom: 0.5em ");const l=o.statementsMatching(void 0,ji.rdf("type"),n);if(l.length>0){const t={},c=[];l.forEach(e=>{t[e.subject.toNT()]=e});for(const e in o.findMembersNT(n))t[e]||c.push(A.st(o.fromNT(e),ji.rdf("type"),n));if(c.length&&r("There are "+l.length+" explicit and "+c.length+" implicit members of "+e.utils.label(n)),n.sameTerm(ji.rdf("Property")));else if(n.sameTerm(ji.rdfs("Class"))){const e=o.statementsMatching(void 0,ji.rdf("type"),void 0),n={};e.forEach(function(e){n[e.object]=e});const t=[];for(const e in n)t.push(A.st(A.sym(e),ji.rdf("type"),ji.rdfs("Class")));r("Total of "+e.length+" type statements and "+t.length+" unique types.")}if(l.length>10){const e=a.createElement("TR");e.appendChild(a.createTextNode(""+l.length)),s.appendChild(e)}i.appendPropertyTRs(s,l,!0,function(e){return!0}),c.length&&(r("Implicit:"),i.appendPropertyTRs(s,c,!0,function(e){return!0}))}return s}};var Ui=o(6305),qi=o.n(Ui);const $i=e.ns,Hi={icon:e.icons.iconBase+"noun_138712.svg",name:"slideshow",audience:[$i.solid("PowerUser")],label:function(n,t){const a=t.session.store,i=e.ns,o=a.findTypeURIs(n);if(o[i.ldp("Container").uri]||o[i.ldp("BasicContainer").uri]){const t=a.each(n,i.ldp("contains"));let o=0;return t.forEach(function(n){e.widgets.isImage(n)&&o++}),o>0?"Slideshow":null}return null},render:function(n,t){const a=t.dom;e.widgets.addStyleSheet(a,"https://leemark.github.io/better-simple-slideshow/css/simple-slideshow-styles.css");const i=t.session.store,o=e.ns,r=a.createElement("div");r.setAttribute("class","bss-slides");const s=i.findTypeURIs(n);let l;(s[o.ldp("BasicContainer").uri]||s[o.ldp("Container").uri])&&(l=o.ldp("contains"));const c=i.each(n,l);c.sort();for(let n=0;n<c.length;n++){if(!e.widgets.isImage(c[n]))continue;const t=r.appendChild(a.createElement("figure")),o=t.appendChild(a.createElement("img"));i.fetcher._fetch(c[n].uri).then(function(e){return e.blob()}).then(function(e){const n=URL.createObjectURL(e);o.setAttribute("src",n)}),o.setAttribute("width","100%"),t.appendChild(a.createElement("figcaption"))}const u={dom:a};return setTimeout(function(){qi()(".bss-slides",u)},1e3),r}},Vi={icon:e.icons.originalIconBase+"foaf/foafTiny.gif",name:"social",label:function(n,t){const a=t.session.store.findTypeURIs(n);return a[e.ns.foaf("Person").uri]||a[e.ns.vcard("Individual").uri]?"Friends":null},render:function(t,a){const i=a.dom,o=function(e){console.log(e);const n=i.createElement("p");n.textContent=e,w.appendChild(n)},r=function(e,n){if(!n)return e;const t=i.createElement("a");return t.setAttribute("href",n),t.appendChild(e),t},s=function(e){return i.createTextNode(e)},l=a.getOutliner(i),c=a.session.store,u=i.createElement("div");u.setAttribute("class","socialPane");const d=e.ns.foaf,p=e.ns.vcard,f="background-color: #eee; width: 25%; border: 0; padding: 0.5em; margin: 0;",m=u.appendChild(i.createElement("table")).appendChild(i.createElement("tr")),h=m.appendChild(i.createElement("td")),g=m.appendChild(i.createElement("td")),b=m.appendChild(i.createElement("td")),v=h;v.style.cssText=f;const y=g.appendChild(i.createElement("table"));y.style.cssText="background-color: #fff; color: #000; width: 46%; margin: 0; border-left: 1px solid #ccc; border-right: 1px solid #ccc; border-bottom: 1px solid #ccc; padding: 0;";const w=b;w.style.cssText=f;const x=c.any(t,d("img"))||c.any(t,d("depiction"));if(x){const e=i.createElement("IMG");e.setAttribute("src",x.uri),e.style.cssText=" width: 100% ; border: none; margin: 0; padding: 0;",v.appendChild(e)}const C=c.anyValue(t,d("name"))||"???";let E=i.createElement("H3");E.appendChild(i.createTextNode(C));let k=n.authn.currentUser();const B=k?k.uri:null,S=e.login.loginStatusBox(i,n=>{k=c.sym(n),e.widgets.refreshTree(u)});w.appendChild(S);const T=k&&c.sameThings(k,t),P=d("knows"),F=c.anyValue(t,d("givenname"))||c.anyValue(t,d("firstName"))||c.anyValue(t,d("nick"))||c.anyValue(t,d("name"))||c.anyValue(t,p("fn")),N=c.each(t,P);let L,I,_=null,O=!1;if(k){const n=c.each(void 0,d("primaryTopic"),k);let a="";for(let t=0;t<n.length;t++)if(c.whether(n[t],e.ns.rdf("type"),d("PersonalProfileDocument"))){if(O=l.UserInput.sparqler.editable(n[t].uri,c),O){_=n[t];break}a+="Your profile <"+e.utils.escapeForXML(n[t].uri)+"> is not remotely editable."}if(_?(o("Editing your profile "+_+"."),O=l.UserInput.sparqler.editable(_.uri,c)):o(a+"\nI couldn't find your editable personal profile document."),T);else{E=i.createElement("h3"),E.appendChild(i.createTextNode("You and "+F)),v.appendChild(E);const n=c.canon(k);L=c.whether(t,P,n),I=!1;const a=c.statementsMatching(n,P,t);a.length&&(I=!0,_||(_=a[0].why));const o=i.createElement("tr");v.appendChild(o);const u=function(){o.appendChild(r(s("You"),B)),o.appendChild(s(" and ")),o.appendChild(r(s(F),t.uri))};if(L?I?(u(),o.appendChild(s(" say you know each other."))):(o.appendChild(r(s(F),t.uri)),o.appendChild(s(" knows ")),o.appendChild(r(s("you"),B)),o.appendChild(s(" (unconfirmed).")),o.appendChild(s(" confirm you know ")),o.appendChild(r(s(F),t.uri)),o.appendChild(s("."))):I?(o.appendChild(r(s("You"),B)),o.appendChild(s(" know ")),o.appendChild(r(s(F),t.uri)),o.appendChild(s(" (unconfirmed)"))):(u(),o.appendChild(s(" have not said you know each other."))),O){const n=function(n,t,a){const o=i.createElement("form"),r=i.createElement("input");o.appendChild(r);const s=i.createTextNode(n);return s.className="question",o.appendChild(s),r.setAttribute("type","checkbox"),r.checked=a,r.addEventListener("click",function(n){if(s.className="pendingedit",this.checked)try{l.UserInput.sparqler.insert_statement(t,function(n,a,i){if(s.className="question",!a)return e.log.alert(null,"Message","Error occurs while inserting "+t+"\n\n"+i),void(r.checked=!1);c.add(t.subject,t.predicate,t.object,t.why)})}catch(n){e.log.error("Data write fails:"+n),e.log.alert("Data write fails:"+n),r.checked=!1,s.className="question"}else try{l.UserInput.sparqler.delete_statement(t,function(n,a,i){s.className="question",a?c.removeMany(t.subject,t.predicate,t.object,t.why):(e.log.alert("Error occurs while deleting "+t+"\n\n"+i),this.checked=!0)})}catch(n){e.log.alert("Delete fails:"+n),this.checked=!0}},!1),o}("You know "+F,new A.Statement(k,P,t,_),I);v.appendChild(n)}if(N){const n=c.each(k,d("knows"));if(n.length){const t=function(e,n){const t=[];for(let a=0;a<e.length;a++)for(let i=0;i<n.length;i++)if(n[i].sameTerm(e[a])){t.push(n[i]);break}return t}(N,n),a=i.createElement("tr");if(v.appendChild(a),a.appendChild(i.createTextNode("You"+(F?" and "+F:"")+" know"+function(e){let n=" ";return n+=e||"no",1===e?n+" person":n+" people"}(t.length)+" found in common")),t)for(let n=0;n<t.length;n++)a.appendChild(i.createTextNode(", "+e.utils.label(t[n])))}const t=i.createElement("tr");v.appendChild(t)}}}e.widgets.attachmentList(i,t,y,{doc:_,modify:!!O,predicate:d("knows"),noun:"friend"}),E=i.createElement("h3"),E.appendChild(i.createTextNode("Basic Information")),v.appendChild(E);const R=[e.ns.foaf("homepage"),e.ns.foaf("weblog"),e.ns.foaf("workplaceHomepage"),e.ns.foaf("schoolHomepage")];for(let n=0;n<R.length;n++){const a=R[n],o=c.statementsMatching(t,a);if(0===o.length);else{const n=[];for(let e=0;e<o.length;e++){const t=o[e];t.object.uri&&n.push(t.object.uri)}n.sort();let t,r="";for(let o=0;o<n.length;o++){const s=n[o];if(s===r)continue;r=s;let l="";if(t=e.utils.label(a),n.length>1){const e=s.indexOf("//");if(e>0){let n=s.indexOf("/",e+2);const t=s.lastIndexOf(".",n);t>0&&(n=t),l=s.slice(e+2,n)}}l&&(t=l+" "+t);const c=i.createTextNode(t),u=i.createElement("a");u.appendChild(c),u.setAttribute("href",s);const d=i.createElement("div");d.style.cssText="width: 80%; background-color: #fff; border: solid 0.05em #ccc; margin-top: 0.1em; margin-bottom: 0.1em; padding: 0.1em; text-align: center;",d.appendChild(u),v.appendChild(d)}}}const D=[e.ns.foaf("openid"),e.ns.foaf("nick")];for(let e=0;e<D.length;e++){const n=D[e],a=c.statementsMatching(t,n);0===a.length||l.appendPropertyTRs(v,a,!1,function(e){return!0})}return u}};function Gi(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var Wi={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function Yi(e){Wi=e}var Qi={exec:()=>null};function Xi(e,n=""){let t="string"==typeof e?e:e.source,a={replace:(e,n)=>{let i="string"==typeof n?n:n.source;return i=i.replace(Zi.caret,"$1"),t=t.replace(e,i),a},getRegex:()=>new RegExp(t,n)};return a}var Ki=(()=>{try{return!!new RegExp("(?<=1)(?<!1)")}catch{return!1}})(),Zi={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>new RegExp(`^( {0,3}${e})((?:[\t ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),hrRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,"i"),blockquoteBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}>`)},Ji=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,eo=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,no=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,to=Xi(no).replace(/bull/g,eo).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),ao=Xi(no).replace(/bull/g,eo).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),io=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,oo=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,ro=Xi(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",oo).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),so=Xi(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,eo).getRegex(),lo="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",co=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,uo=Xi("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$))","i").replace("comment",co).replace("tag",lo).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),po=Xi(io).replace("hr",Ji).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",lo).getRegex(),fo={blockquote:Xi(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",po).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:ro,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:Ji,html:uo,lheading:to,list:so,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:po,table:Qi,text:/^[^\n]+/},mo=Xi("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Ji).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3}\t)[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",lo).getRegex(),ho={...fo,lheading:ao,table:mo,paragraph:Xi(io).replace("hr",Ji).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",mo).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",lo).getRegex()},go={...fo,html:Xi("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",co).replace(/tag/g,"(?!(?: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").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Qi,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Xi(io).replace("hr",Ji).replace("heading"," *#{1,6} *[^\n]").replace("lheading",to).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},bo=/^( {2,}|\\)\n(?!\s*$)/,vo=/[\p{P}\p{S}]/u,Ao=/[\s\p{P}\p{S}]/u,yo=/[^\s\p{P}\p{S}]/u,wo=Xi(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,Ao).getRegex(),xo=/(?!~)[\p{P}\p{S}]/u,Co=/(?![*_])[\p{P}\p{S}]/u,Eo=Xi(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",Ki?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),ko=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,Bo=Xi(ko,"u").replace(/punct/g,vo).getRegex(),So=Xi(ko,"u").replace(/punct/g,xo).getRegex(),To="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",Po=Xi(To,"gu").replace(/notPunctSpace/g,yo).replace(/punctSpace/g,Ao).replace(/punct/g,vo).getRegex(),Fo=Xi(To,"gu").replace(/notPunctSpace/g,/(?:[^\s\p{P}\p{S}]|~)/u).replace(/punctSpace/g,/(?!~)[\s\p{P}\p{S}]/u).replace(/punct/g,xo).getRegex(),No=Xi("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,yo).replace(/punctSpace/g,Ao).replace(/punct/g,vo).getRegex(),Lo=Xi(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,Co).getRegex(),Io=Xi("^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)","gu").replace(/notPunctSpace/g,/(?:[^\s\p{P}\p{S}]|[*_])/u).replace(/punctSpace/g,/(?![*_])[\s\p{P}\p{S}]/u).replace(/punct/g,Co).getRegex(),_o=Xi(/\\(punct)/,"gu").replace(/punct/g,vo).getRegex(),Oo=Xi(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Ro=Xi(co).replace("(?:--\x3e|$)","--\x3e").getRegex(),Do=Xi("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",Ro).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Mo=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,jo=Xi(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label",Mo).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),zo=Xi(/^!?\[(label)\]\[(ref)\]/).replace("label",Mo).replace("ref",oo).getRegex(),Uo=Xi(/^!?\[(ref)\](?:\[\])?/).replace("ref",oo).getRegex(),qo=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,$o={_backpedal:Qi,anyPunctuation:_o,autolink:Oo,blockSkip:Eo,br:bo,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:Qi,delLDelim:Qi,delRDelim:Qi,emStrongLDelim:Bo,emStrongRDelimAst:Po,emStrongRDelimUnd:No,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,link:jo,nolink:Uo,punctuation:wo,reflink:zo,reflinkSearch:Xi("reflink|nolink(?!\\()","g").replace("reflink",zo).replace("nolink",Uo).getRegex(),tag:Do,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:Qi},Ho={...$o,link:Xi(/^!?\[(label)\]\((.*?)\)/).replace("label",Mo).getRegex(),reflink:Xi(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Mo).getRegex()},Vo={...$o,emStrongRDelimAst:Fo,emStrongLDelim:So,delLDelim:Lo,delRDelim:Io,url:Xi(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",qo).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:Xi(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",qo).getRegex()},Go={...Vo,br:Xi(bo).replace("{2,}","*").getRegex(),text:Xi(Vo.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},Wo={normal:fo,gfm:ho,pedantic:go},Yo={normal:$o,gfm:Vo,breaks:Go,pedantic:Ho},Qo={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Xo=e=>Qo[e];function Ko(e,n){if(n){if(Zi.escapeTest.test(e))return e.replace(Zi.escapeReplace,Xo)}else if(Zi.escapeTestNoEncode.test(e))return e.replace(Zi.escapeReplaceNoEncode,Xo);return e}function Zo(e){try{e=encodeURI(e).replace(Zi.percentDecode,"%")}catch{return null}return e}function Jo(e,n){let t=e.replace(Zi.findPipe,(e,n,t)=>{let a=!1,i=n;for(;--i>=0&&"\\"===t[i];)a=!a;return a?"|":" |"}).split(Zi.splitPipe),a=0;if(t[0].trim()||t.shift(),t.length>0&&!t.at(-1)?.trim()&&t.pop(),n)if(t.length>n)t.splice(n);else for(;t.length<n;)t.push("");for(;a<t.length;a++)t[a]=t[a].trim().replace(Zi.slashPipe,"|");return t}function er(e,n,t){let a=e.length;if(0===a)return"";let i=0;for(;i<a;){let o=e.charAt(a-i-1);if(o!==n||t){if(o===n||!t)break;i++}else i++}return e.slice(0,a-i)}function nr(e,n=0){let t=n,a="";for(let n of e)if("\t"===n){let e=4-t%4;a+=" ".repeat(e),t+=e}else a+=n,t++;return a}function tr(e,n,t,a,i){let o=n.href,r=n.title||null,s=e[1].replace(i.other.outputLinkReplace,"$1");a.state.inLink=!0;let l={type:"!"===e[0].charAt(0)?"image":"link",raw:t,href:o,title:r,text:s,tokens:a.inlineTokens(s)};return a.state.inLink=!1,l}var ar=class{options;rules;lexer;constructor(e){this.options=e||Wi}space(e){let n=this.rules.block.newline.exec(e);if(n&&n[0].length>0)return{type:"space",raw:n[0]}}code(e){let n=this.rules.block.code.exec(e);if(n){let e=n[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?e:er(e,"\n")}}}fences(e){let n=this.rules.block.fences.exec(e);if(n){let e=n[0],t=function(e,n,t){let a=e.match(t.other.indentCodeCompensation);if(null===a)return n;let i=a[1];return n.split("\n").map(e=>{let n=e.match(t.other.beginningSpace);if(null===n)return e;let[a]=n;return a.length>=i.length?e.slice(i.length):e}).join("\n")}(e,n[3]||"",this.rules);return{type:"code",raw:e,lang:n[2]?n[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):n[2],text:t}}}heading(e){let n=this.rules.block.heading.exec(e);if(n){let e=n[2].trim();if(this.rules.other.endingHash.test(e)){let n=er(e,"#");(this.options.pedantic||!n||this.rules.other.endingSpaceChar.test(n))&&(e=n.trim())}return{type:"heading",raw:n[0],depth:n[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){let n=this.rules.block.hr.exec(e);if(n)return{type:"hr",raw:er(n[0],"\n")}}blockquote(e){let n=this.rules.block.blockquote.exec(e);if(n){let e=er(n[0],"\n").split("\n"),t="",a="",i=[];for(;e.length>0;){let n,o=!1,r=[];for(n=0;n<e.length;n++)if(this.rules.other.blockquoteStart.test(e[n]))r.push(e[n]),o=!0;else{if(o)break;r.push(e[n])}e=e.slice(n);let s=r.join("\n"),l=s.replace(this.rules.other.blockquoteSetextReplace,"\n $1").replace(this.rules.other.blockquoteSetextReplace2,"");t=t?`${t}\n${s}`:s,a=a?`${a}\n${l}`:l;let c=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(l,i,!0),this.lexer.state.top=c,0===e.length)break;let u=i.at(-1);if("code"===u?.type)break;if("blockquote"===u?.type){let n=u,o=n.raw+"\n"+e.join("\n"),r=this.blockquote(o);i[i.length-1]=r,t=t.substring(0,t.length-n.raw.length)+r.raw,a=a.substring(0,a.length-n.text.length)+r.text;break}if("list"===u?.type){let n=u,o=n.raw+"\n"+e.join("\n"),r=this.list(o);i[i.length-1]=r,t=t.substring(0,t.length-u.raw.length)+r.raw,a=a.substring(0,a.length-n.raw.length)+r.raw,e=o.substring(i.at(-1).raw.length).split("\n");continue}}return{type:"blockquote",raw:t,tokens:i,text:a}}}list(e){let n=this.rules.block.list.exec(e);if(n){let t=n[1].trim(),a=t.length>1,i={type:"list",raw:"",ordered:a,start:a?+t.slice(0,-1):"",loose:!1,items:[]};t=a?`\\d{1,9}\\${t.slice(-1)}`:`\\${t}`,this.options.pedantic&&(t=a?t:"[*+-]");let o=this.rules.other.listItemRegex(t),r=!1;for(;e;){let t=!1,a="",s="";if(!(n=o.exec(e))||this.rules.block.hr.test(e))break;a=n[0],e=e.substring(a.length);let l=nr(n[2].split("\n",1)[0],n[1].length),c=e.split("\n",1)[0],u=!l.trim(),d=0;if(this.options.pedantic?(d=2,s=l.trimStart()):u?d=n[1].length+1:(d=l.search(this.rules.other.nonSpaceChar),d=d>4?1:d,s=l.slice(d),d+=n[1].length),u&&this.rules.other.blankLine.test(c)&&(a+=c+"\n",e=e.substring(c.length+1),t=!0),!t){let n=this.rules.other.nextBulletRegex(d),t=this.rules.other.hrRegex(d),i=this.rules.other.fencesBeginRegex(d),o=this.rules.other.headingBeginRegex(d),r=this.rules.other.htmlBeginRegex(d),p=this.rules.other.blockquoteBeginRegex(d);for(;e;){let f,m=e.split("\n",1)[0];if(c=m,this.options.pedantic?(c=c.replace(this.rules.other.listReplaceNesting," "),f=c):f=c.replace(this.rules.other.tabCharGlobal," "),i.test(c)||o.test(c)||r.test(c)||p.test(c)||n.test(c)||t.test(c))break;if(f.search(this.rules.other.nonSpaceChar)>=d||!c.trim())s+="\n"+f.slice(d);else{if(u||l.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||i.test(l)||o.test(l)||t.test(l))break;s+="\n"+c}u=!c.trim(),a+=m+"\n",e=e.substring(m.length+1),l=f.slice(d)}}i.loose||(r?i.loose=!0:this.rules.other.doubleBlankLine.test(a)&&(r=!0)),i.items.push({type:"list_item",raw:a,task:!!this.options.gfm&&this.rules.other.listIsTask.test(s),loose:!1,text:s,tokens:[]}),i.raw+=a}let s=i.items.at(-1);if(!s)return;s.raw=s.raw.trimEnd(),s.text=s.text.trimEnd(),i.raw=i.raw.trimEnd();for(let e of i.items){if(this.lexer.state.top=!1,e.tokens=this.lexer.blockTokens(e.text,[]),e.task){if(e.text=e.text.replace(this.rules.other.listReplaceTask,""),"text"===e.tokens[0]?.type||"paragraph"===e.tokens[0]?.type){e.tokens[0].raw=e.tokens[0].raw.replace(this.rules.other.listReplaceTask,""),e.tokens[0].text=e.tokens[0].text.replace(this.rules.other.listReplaceTask,"");for(let e=this.lexer.inlineQueue.length-1;e>=0;e--)if(this.rules.other.listIsTask.test(this.lexer.inlineQueue[e].src)){this.lexer.inlineQueue[e].src=this.lexer.inlineQueue[e].src.replace(this.rules.other.listReplaceTask,"");break}}let n=this.rules.other.listTaskCheckbox.exec(e.raw);if(n){let t={type:"checkbox",raw:n[0]+" ",checked:"[ ]"!==n[0]};e.checked=t.checked,i.loose?e.tokens[0]&&["paragraph","text"].includes(e.tokens[0].type)&&"tokens"in e.tokens[0]&&e.tokens[0].tokens?(e.tokens[0].raw=t.raw+e.tokens[0].raw,e.tokens[0].text=t.raw+e.tokens[0].text,e.tokens[0].tokens.unshift(t)):e.tokens.unshift({type:"paragraph",raw:t.raw,text:t.raw,tokens:[t]}):e.tokens.unshift(t)}}if(!i.loose){let n=e.tokens.filter(e=>"space"===e.type),t=n.length>0&&n.some(e=>this.rules.other.anyLine.test(e.raw));i.loose=t}}if(i.loose)for(let e of i.items){e.loose=!0;for(let n of e.tokens)"text"===n.type&&(n.type="paragraph")}return i}}html(e){let n=this.rules.block.html.exec(e);if(n)return{type:"html",block:!0,raw:n[0],pre:"pre"===n[1]||"script"===n[1]||"style"===n[1],text:n[0]}}def(e){let n=this.rules.block.def.exec(e);if(n){let e=n[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),t=n[2]?n[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",a=n[3]?n[3].substring(1,n[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):n[3];return{type:"def",tag:e,raw:n[0],href:t,title:a}}}table(e){let n=this.rules.block.table.exec(e);if(!n||!this.rules.other.tableDelimiter.test(n[2]))return;let t=Jo(n[1]),a=n[2].replace(this.rules.other.tableAlignChars,"").split("|"),i=n[3]?.trim()?n[3].replace(this.rules.other.tableRowBlankLine,"").split("\n"):[],o={type:"table",raw:n[0],header:[],align:[],rows:[]};if(t.length===a.length){for(let e of a)this.rules.other.tableAlignRight.test(e)?o.align.push("right"):this.rules.other.tableAlignCenter.test(e)?o.align.push("center"):this.rules.other.tableAlignLeft.test(e)?o.align.push("left"):o.align.push(null);for(let e=0;e<t.length;e++)o.header.push({text:t[e],tokens:this.lexer.inline(t[e]),header:!0,align:o.align[e]});for(let e of i)o.rows.push(Jo(e,o.header.length).map((e,n)=>({text:e,tokens:this.lexer.inline(e),header:!1,align:o.align[n]})));return o}}lheading(e){let n=this.rules.block.lheading.exec(e);if(n)return{type:"heading",raw:n[0],depth:"="===n[2].charAt(0)?1:2,text:n[1],tokens:this.lexer.inline(n[1])}}paragraph(e){let n=this.rules.block.paragraph.exec(e);if(n){let e="\n"===n[1].charAt(n[1].length-1)?n[1].slice(0,-1):n[1];return{type:"paragraph",raw:n[0],text:e,tokens:this.lexer.inline(e)}}}text(e){let n=this.rules.block.text.exec(e);if(n)return{type:"text",raw:n[0],text:n[0],tokens:this.lexer.inline(n[0])}}escape(e){let n=this.rules.inline.escape.exec(e);if(n)return{type:"escape",raw:n[0],text:n[1]}}tag(e){let n=this.rules.inline.tag.exec(e);if(n)return!this.lexer.state.inLink&&this.rules.other.startATag.test(n[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(n[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(n[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(n[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:n[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:n[0]}}link(e){let n=this.rules.inline.link.exec(e);if(n){let e=n[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(e)){if(!this.rules.other.endAngleBracket.test(e))return;let n=er(e.slice(0,-1),"\\");if((e.length-n.length)%2==0)return}else{let e=function(e,n){if(-1===e.indexOf(n[1]))return-1;let t=0;for(let a=0;a<e.length;a++)if("\\"===e[a])a++;else if(e[a]===n[0])t++;else if(e[a]===n[1]&&(t--,t<0))return a;return t>0?-2:-1}(n[2],"()");if(-2===e)return;if(e>-1){let t=(0===n[0].indexOf("!")?5:4)+n[1].length+e;n[2]=n[2].substring(0,e),n[0]=n[0].substring(0,t).trim(),n[3]=""}}let t=n[2],a="";if(this.options.pedantic){let e=this.rules.other.pedanticHrefTitle.exec(t);e&&(t=e[1],a=e[3])}else a=n[3]?n[3].slice(1,-1):"";return t=t.trim(),this.rules.other.startAngleBracket.test(t)&&(t=this.options.pedantic&&!this.rules.other.endAngleBracket.test(e)?t.slice(1):t.slice(1,-1)),tr(n,{href:t&&t.replace(this.rules.inline.anyPunctuation,"$1"),title:a&&a.replace(this.rules.inline.anyPunctuation,"$1")},n[0],this.lexer,this.rules)}}reflink(e,n){let t;if((t=this.rules.inline.reflink.exec(e))||(t=this.rules.inline.nolink.exec(e))){let e=n[(t[2]||t[1]).replace(this.rules.other.multipleSpaceGlobal," ").toLowerCase()];if(!e){let e=t[0].charAt(0);return{type:"text",raw:e,text:e}}return tr(t,e,t[0],this.lexer,this.rules)}}emStrong(e,n,t=""){let a=this.rules.inline.emStrongLDelim.exec(e);if(!(!a||a[3]&&t.match(this.rules.other.unicodeAlphaNumeric))&&(!a[1]&&!a[2]||!t||this.rules.inline.punctuation.exec(t))){let t,i,o=[...a[0]].length-1,r=o,s=0,l="*"===a[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,n=n.slice(-1*e.length+o);null!=(a=l.exec(n));){if(t=a[1]||a[2]||a[3]||a[4]||a[5]||a[6],!t)continue;if(i=[...t].length,a[3]||a[4]){r+=i;continue}if((a[5]||a[6])&&o%3&&!((o+i)%3)){s+=i;continue}if(r-=i,r>0)continue;i=Math.min(i,i+r+s);let n=[...a[0]][0].length,l=e.slice(0,o+a.index+n+i);if(Math.min(o,i)%2){let e=l.slice(1,-1);return{type:"em",raw:l,text:e,tokens:this.lexer.inlineTokens(e)}}let c=l.slice(2,-2);return{type:"strong",raw:l,text:c,tokens:this.lexer.inlineTokens(c)}}}}codespan(e){let n=this.rules.inline.code.exec(e);if(n){let e=n[2].replace(this.rules.other.newLineCharGlobal," "),t=this.rules.other.nonSpaceChar.test(e),a=this.rules.other.startingSpaceChar.test(e)&&this.rules.other.endingSpaceChar.test(e);return t&&a&&(e=e.substring(1,e.length-1)),{type:"codespan",raw:n[0],text:e}}}br(e){let n=this.rules.inline.br.exec(e);if(n)return{type:"br",raw:n[0]}}del(e,n,t=""){let a=this.rules.inline.delLDelim.exec(e);if(a&&(!a[1]||!t||this.rules.inline.punctuation.exec(t))){let t,i,o=[...a[0]].length-1,r=o,s=this.rules.inline.delRDelim;for(s.lastIndex=0,n=n.slice(-1*e.length+o);null!=(a=s.exec(n));){if(t=a[1]||a[2]||a[3]||a[4]||a[5]||a[6],!t||(i=[...t].length,i!==o))continue;if(a[3]||a[4]){r+=i;continue}if(r-=i,r>0)continue;i=Math.min(i,i+r);let n=[...a[0]][0].length,s=e.slice(0,o+a.index+n+i),l=s.slice(o,-o);return{type:"del",raw:s,text:l,tokens:this.lexer.inlineTokens(l)}}}}autolink(e){let n=this.rules.inline.autolink.exec(e);if(n){let e,t;return"@"===n[2]?(e=n[1],t="mailto:"+e):(e=n[1],t=e),{type:"link",raw:n[0],text:e,href:t,tokens:[{type:"text",raw:e,text:e}]}}}url(e){let n;if(n=this.rules.inline.url.exec(e)){let e,t;if("@"===n[2])e=n[0],t="mailto:"+e;else{let a;do{a=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])?.[0]??""}while(a!==n[0]);e=n[0],t="www."===n[1]?"http://"+n[0]:n[0]}return{type:"link",raw:n[0],text:e,href:t,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e){let n=this.rules.inline.text.exec(e);if(n){let e=this.lexer.state.inRawBlock;return{type:"text",raw:n[0],text:n[0],escaped:e}}}},ir=class e{tokens;options;state;inlineQueue;tokenizer;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||Wi,this.options.tokenizer=this.options.tokenizer||new ar,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let n={other:Zi,block:Wo.normal,inline:Yo.normal};this.options.pedantic?(n.block=Wo.pedantic,n.inline=Yo.pedantic):this.options.gfm&&(n.block=Wo.gfm,this.options.breaks?n.inline=Yo.breaks:n.inline=Yo.gfm),this.tokenizer.rules=n}static get rules(){return{block:Wo,inline:Yo}}static lex(n,t){return new e(t).lex(n)}static lexInline(n,t){return new e(t).inlineTokens(n)}lex(e){e=e.replace(Zi.carriageReturn,"\n"),this.blockTokens(e,this.tokens);for(let e=0;e<this.inlineQueue.length;e++){let n=this.inlineQueue[e];this.inlineTokens(n.src,n.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,n=[],t=!1){for(this.options.pedantic&&(e=e.replace(Zi.tabCharGlobal," ").replace(Zi.spaceLine,""));e;){let a;if(this.options.extensions?.block?.some(t=>!!(a=t.call({lexer:this},e,n))&&(e=e.substring(a.raw.length),n.push(a),!0)))continue;if(a=this.tokenizer.space(e)){e=e.substring(a.raw.length);let t=n.at(-1);1===a.raw.length&&void 0!==t?t.raw+="\n":n.push(a);continue}if(a=this.tokenizer.code(e)){e=e.substring(a.raw.length);let t=n.at(-1);"paragraph"===t?.type||"text"===t?.type?(t.raw+=(t.raw.endsWith("\n")?"":"\n")+a.raw,t.text+="\n"+a.text,this.inlineQueue.at(-1).src=t.text):n.push(a);continue}if(a=this.tokenizer.fences(e)){e=e.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.heading(e)){e=e.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.hr(e)){e=e.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.blockquote(e)){e=e.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.list(e)){e=e.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.html(e)){e=e.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.def(e)){e=e.substring(a.raw.length);let t=n.at(-1);"paragraph"===t?.type||"text"===t?.type?(t.raw+=(t.raw.endsWith("\n")?"":"\n")+a.raw,t.text+="\n"+a.raw,this.inlineQueue.at(-1).src=t.text):this.tokens.links[a.tag]||(this.tokens.links[a.tag]={href:a.href,title:a.title},n.push(a));continue}if(a=this.tokenizer.table(e)){e=e.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.lheading(e)){e=e.substring(a.raw.length),n.push(a);continue}let i=e;if(this.options.extensions?.startBlock){let n,t=1/0,a=e.slice(1);this.options.extensions.startBlock.forEach(e=>{n=e.call({lexer:this},a),"number"==typeof n&&n>=0&&(t=Math.min(t,n))}),t<1/0&&t>=0&&(i=e.substring(0,t+1))}if(this.state.top&&(a=this.tokenizer.paragraph(i))){let o=n.at(-1);t&&"paragraph"===o?.type?(o.raw+=(o.raw.endsWith("\n")?"":"\n")+a.raw,o.text+="\n"+a.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=o.text):n.push(a),t=i.length!==e.length,e=e.substring(a.raw.length);continue}if(a=this.tokenizer.text(e)){e=e.substring(a.raw.length);let t=n.at(-1);"text"===t?.type?(t.raw+=(t.raw.endsWith("\n")?"":"\n")+a.raw,t.text+="\n"+a.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=t.text):n.push(a);continue}if(e){let n="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(n);break}throw new Error(n)}}return this.state.top=!0,n}inline(e,n=[]){return this.inlineQueue.push({src:e,tokens:n}),n}inlineTokens(e,n=[]){let t,a=e,i=null;if(this.tokens.links){let e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(i=this.tokenizer.rules.inline.reflinkSearch.exec(a));)e.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(a=a.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+a.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(i=this.tokenizer.rules.inline.anyPunctuation.exec(a));)a=a.slice(0,i.index)+"++"+a.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;null!=(i=this.tokenizer.rules.inline.blockSkip.exec(a));)t=i[2]?i[2].length:0,a=a.slice(0,i.index+t)+"["+"a".repeat(i[0].length-t-2)+"]"+a.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);a=this.options.hooks?.emStrongMask?.call({lexer:this},a)??a;let o=!1,r="";for(;e;){let t;if(o||(r=""),o=!1,this.options.extensions?.inline?.some(a=>!!(t=a.call({lexer:this},e,n))&&(e=e.substring(t.raw.length),n.push(t),!0)))continue;if(t=this.tokenizer.escape(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.tag(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.link(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(t.raw.length);let a=n.at(-1);"text"===t.type&&"text"===a?.type?(a.raw+=t.raw,a.text+=t.text):n.push(t);continue}if(t=this.tokenizer.emStrong(e,a,r)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.codespan(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.br(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.del(e,a,r)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.autolink(e)){e=e.substring(t.raw.length),n.push(t);continue}if(!this.state.inLink&&(t=this.tokenizer.url(e))){e=e.substring(t.raw.length),n.push(t);continue}let i=e;if(this.options.extensions?.startInline){let n,t=1/0,a=e.slice(1);this.options.extensions.startInline.forEach(e=>{n=e.call({lexer:this},a),"number"==typeof n&&n>=0&&(t=Math.min(t,n))}),t<1/0&&t>=0&&(i=e.substring(0,t+1))}if(t=this.tokenizer.inlineText(i)){e=e.substring(t.raw.length),"_"!==t.raw.slice(-1)&&(r=t.raw.slice(-1)),o=!0;let a=n.at(-1);"text"===a?.type?(a.raw+=t.raw,a.text+=t.text):n.push(t);continue}if(e){let n="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(n);break}throw new Error(n)}}return n}},or=class{options;parser;constructor(e){this.options=e||Wi}space(e){return""}code({text:e,lang:n,escaped:t}){let a=(n||"").match(Zi.notSpaceStart)?.[0],i=e.replace(Zi.endingNewline,"")+"\n";return a?'<pre><code class="language-'+Ko(a)+'">'+(t?i:Ko(i,!0))+"</code></pre>\n":"<pre><code>"+(t?i:Ko(i,!0))+"</code></pre>\n"}blockquote({tokens:e}){return`<blockquote>\n${this.parser.parse(e)}</blockquote>\n`}html({text:e}){return e}def(e){return""}heading({tokens:e,depth:n}){return`<h${n}>${this.parser.parseInline(e)}</h${n}>\n`}hr(e){return"<hr>\n"}list(e){let n=e.ordered,t=e.start,a="";for(let n=0;n<e.items.length;n++){let t=e.items[n];a+=this.listitem(t)}let i=n?"ol":"ul";return"<"+i+(n&&1!==t?' start="'+t+'"':"")+">\n"+a+"</"+i+">\n"}listitem(e){return`<li>${this.parser.parse(e.tokens)}</li>\n`}checkbox({checked:e}){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"> '}paragraph({tokens:e}){return`<p>${this.parser.parseInline(e)}</p>\n`}table(e){let n="",t="";for(let n=0;n<e.header.length;n++)t+=this.tablecell(e.header[n]);n+=this.tablerow({text:t});let a="";for(let n=0;n<e.rows.length;n++){let i=e.rows[n];t="";for(let e=0;e<i.length;e++)t+=this.tablecell(i[e]);a+=this.tablerow({text:t})}return a&&(a=`<tbody>${a}</tbody>`),"<table>\n<thead>\n"+n+"</thead>\n"+a+"</table>\n"}tablerow({text:e}){return`<tr>\n${e}</tr>\n`}tablecell(e){let n=this.parser.parseInline(e.tokens),t=e.header?"th":"td";return(e.align?`<${t} align="${e.align}">`:`<${t}>`)+n+`</${t}>\n`}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${Ko(e,!0)}</code>`}br(e){return"<br>"}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:n,tokens:t}){let a=this.parser.parseInline(t),i=Zo(e);if(null===i)return a;let o='<a href="'+(e=i)+'"';return n&&(o+=' title="'+Ko(n)+'"'),o+=">"+a+"</a>",o}image({href:e,title:n,text:t,tokens:a}){a&&(t=this.parser.parseInline(a,this.parser.textRenderer));let i=Zo(e);if(null===i)return Ko(t);let o=`<img src="${e=i}" alt="${Ko(t)}"`;return n&&(o+=` title="${Ko(n)}"`),o+=">",o}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):"escaped"in e&&e.escaped?e.text:Ko(e.text)}},rr=class{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return""+e}image({text:e}){return""+e}br(){return""}checkbox({raw:e}){return e}},sr=class e{options;renderer;textRenderer;constructor(e){this.options=e||Wi,this.options.renderer=this.options.renderer||new or,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new rr}static parse(n,t){return new e(t).parse(n)}static parseInline(n,t){return new e(t).parseInline(n)}parse(e){let n="";for(let t=0;t<e.length;t++){let a=e[t];if(this.options.extensions?.renderers?.[a.type]){let e=a,t=this.options.extensions.renderers[e.type].call({parser:this},e);if(!1!==t||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(e.type)){n+=t||"";continue}}let i=a;switch(i.type){case"space":n+=this.renderer.space(i);break;case"hr":n+=this.renderer.hr(i);break;case"heading":n+=this.renderer.heading(i);break;case"code":n+=this.renderer.code(i);break;case"table":n+=this.renderer.table(i);break;case"blockquote":n+=this.renderer.blockquote(i);break;case"list":n+=this.renderer.list(i);break;case"checkbox":n+=this.renderer.checkbox(i);break;case"html":n+=this.renderer.html(i);break;case"def":n+=this.renderer.def(i);break;case"paragraph":n+=this.renderer.paragraph(i);break;case"text":n+=this.renderer.text(i);break;default:{let e='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw new Error(e)}}}return n}parseInline(e,n=this.renderer){let t="";for(let a=0;a<e.length;a++){let i=e[a];if(this.options.extensions?.renderers?.[i.type]){let e=this.options.extensions.renderers[i.type].call({parser:this},i);if(!1!==e||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type)){t+=e||"";continue}}let o=i;switch(o.type){case"escape":case"text":t+=n.text(o);break;case"html":t+=n.html(o);break;case"link":t+=n.link(o);break;case"image":t+=n.image(o);break;case"checkbox":t+=n.checkbox(o);break;case"strong":t+=n.strong(o);break;case"em":t+=n.em(o);break;case"codespan":t+=n.codespan(o);break;case"br":t+=n.br(o);break;case"del":t+=n.del(o);break;default:{let e='Token with "'+o.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw new Error(e)}}}return t}},lr=class{options;block;constructor(e){this.options=e||Wi}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"]);static passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}emStrongMask(e){return e}provideLexer(){return this.block?ir.lex:ir.lexInline}provideParser(){return this.block?sr.parse:sr.parseInline}},cr=new class{defaults={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=sr;Renderer=or;TextRenderer=rr;Lexer=ir;Tokenizer=ar;Hooks=lr;constructor(...e){this.use(...e)}walkTokens(e,n){let t=[];for(let a of e)switch(t=t.concat(n.call(this,a)),a.type){case"table":{let e=a;for(let a of e.header)t=t.concat(this.walkTokens(a.tokens,n));for(let a of e.rows)for(let e of a)t=t.concat(this.walkTokens(e.tokens,n));break}case"list":{let e=a;t=t.concat(this.walkTokens(e.items,n));break}default:{let e=a;this.defaults.extensions?.childTokens?.[e.type]?this.defaults.extensions.childTokens[e.type].forEach(a=>{let i=e[a].flat(1/0);t=t.concat(this.walkTokens(i,n))}):e.tokens&&(t=t.concat(this.walkTokens(e.tokens,n)))}}return t}use(...e){let n=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(e=>{let t={...e};if(t.async=this.defaults.async||t.async||!1,e.extensions&&(e.extensions.forEach(e=>{if(!e.name)throw new Error("extension name required");if("renderer"in e){let t=n.renderers[e.name];n.renderers[e.name]=t?function(...n){let a=e.renderer.apply(this,n);return!1===a&&(a=t.apply(this,n)),a}:e.renderer}if("tokenizer"in e){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw new Error("extension level must be 'block' or 'inline'");let t=n[e.level];t?t.unshift(e.tokenizer):n[e.level]=[e.tokenizer],e.start&&("block"===e.level?n.startBlock?n.startBlock.push(e.start):n.startBlock=[e.start]:"inline"===e.level&&(n.startInline?n.startInline.push(e.start):n.startInline=[e.start]))}"childTokens"in e&&e.childTokens&&(n.childTokens[e.name]=e.childTokens)}),t.extensions=n),e.renderer){let n=this.defaults.renderer||new or(this.defaults);for(let t in e.renderer){if(!(t in n))throw new Error(`renderer '${t}' does not exist`);if(["options","parser"].includes(t))continue;let a=t,i=e.renderer[a],o=n[a];n[a]=(...e)=>{let t=i.apply(n,e);return!1===t&&(t=o.apply(n,e)),t||""}}t.renderer=n}if(e.tokenizer){let n=this.defaults.tokenizer||new ar(this.defaults);for(let t in e.tokenizer){if(!(t in n))throw new Error(`tokenizer '${t}' does not exist`);if(["options","rules","lexer"].includes(t))continue;let a=t,i=e.tokenizer[a],o=n[a];n[a]=(...e)=>{let t=i.apply(n,e);return!1===t&&(t=o.apply(n,e)),t}}t.tokenizer=n}if(e.hooks){let n=this.defaults.hooks||new lr;for(let t in e.hooks){if(!(t in n))throw new Error(`hook '${t}' does not exist`);if(["options","block"].includes(t))continue;let a=t,i=e.hooks[a],o=n[a];lr.passThroughHooks.has(t)?n[a]=e=>{if(this.defaults.async&&lr.passThroughHooksRespectAsync.has(t))return(async()=>{let t=await i.call(n,e);return o.call(n,t)})();let a=i.call(n,e);return o.call(n,a)}:n[a]=(...e)=>{if(this.defaults.async)return(async()=>{let t=await i.apply(n,e);return!1===t&&(t=await o.apply(n,e)),t})();let t=i.apply(n,e);return!1===t&&(t=o.apply(n,e)),t}}t.hooks=n}if(e.walkTokens){let n=this.defaults.walkTokens,a=e.walkTokens;t.walkTokens=function(e){let t=[];return t.push(a.call(this,e)),n&&(t=t.concat(n.call(this,e))),t}}this.defaults={...this.defaults,...t}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,n){return ir.lex(e,n??this.defaults)}parser(e,n){return sr.parse(e,n??this.defaults)}parseMarkdown(e){return(n,t)=>{let a={...t},i={...this.defaults,...a},o=this.onError(!!i.silent,!!i.async);if(!0===this.defaults.async&&!1===a.async)return o(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof n>"u"||null===n)return o(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof n)return o(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));if(i.hooks&&(i.hooks.options=i,i.hooks.block=e),i.async)return(async()=>{let t=i.hooks?await i.hooks.preprocess(n):n,a=await(i.hooks?await i.hooks.provideLexer():e?ir.lex:ir.lexInline)(t,i),o=i.hooks?await i.hooks.processAllTokens(a):a;i.walkTokens&&await Promise.all(this.walkTokens(o,i.walkTokens));let r=await(i.hooks?await i.hooks.provideParser():e?sr.parse:sr.parseInline)(o,i);return i.hooks?await i.hooks.postprocess(r):r})().catch(o);try{i.hooks&&(n=i.hooks.preprocess(n));let t=(i.hooks?i.hooks.provideLexer():e?ir.lex:ir.lexInline)(n,i);i.hooks&&(t=i.hooks.processAllTokens(t)),i.walkTokens&&this.walkTokens(t,i.walkTokens);let a=(i.hooks?i.hooks.provideParser():e?sr.parse:sr.parseInline)(t,i);return i.hooks&&(a=i.hooks.postprocess(a)),a}catch(e){return o(e)}}}onError(e,n){return t=>{if(t.message+="\nPlease report this to https://github.com/markedjs/marked.",e){let e="<p>An error occurred:</p><pre>"+Ko(t.message+"",!0)+"</pre>";return n?Promise.resolve(e):e}if(n)return Promise.reject(t);throw t}}};function ur(e,n){return cr.parse(e,n)}ur.options=ur.setOptions=function(e){return cr.setOptions(e),ur.defaults=cr.defaults,Yi(ur.defaults),ur},ur.getDefaults=Gi,ur.defaults=Wi,ur.use=function(...e){return cr.use(...e),ur.defaults=cr.defaults,Yi(ur.defaults),ur},ur.walkTokens=function(e,n){return cr.walkTokens(e,n)},ur.parseInline=cr.parseInline,ur.Parser=sr,ur.parser=sr.parse,ur.Renderer=or,ur.TextRenderer=rr,ur.Lexer=ir,ur.lexer=ir.lex,ur.Tokenizer=ar,ur.Hooks=lr,ur.parse=ur;ur.options,ur.setOptions,ur.use,ur.walkTokens,ur.parseInline,sr.parse,ir.lex;const{entries:dr,setPrototypeOf:pr,isFrozen:fr,getPrototypeOf:mr,getOwnPropertyDescriptor:hr}=Object;let{freeze:gr,seal:br,create:vr}=Object,{apply:Ar,construct:yr}="undefined"!=typeof Reflect&&Reflect;gr||(gr=function(e){return e}),br||(br=function(e){return e}),Ar||(Ar=function(e,n){for(var t=arguments.length,a=new Array(t>2?t-2:0),i=2;i<t;i++)a[i-2]=arguments[i];return e.apply(n,a)}),yr||(yr=function(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),a=1;a<n;a++)t[a-1]=arguments[a];return new e(...t)});const wr=Rr(Array.prototype.forEach),xr=Rr(Array.prototype.lastIndexOf),Cr=Rr(Array.prototype.pop),Er=Rr(Array.prototype.push),kr=Rr(Array.prototype.splice),Br=Rr(String.prototype.toLowerCase),Sr=Rr(String.prototype.toString),Tr=Rr(String.prototype.match),Pr=Rr(String.prototype.replace),Fr=Rr(String.prototype.indexOf),Nr=Rr(String.prototype.trim),Lr=Rr(Object.prototype.hasOwnProperty),Ir=Rr(RegExp.prototype.test),_r=(Or=TypeError,function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return yr(Or,n)});var Or;function Rr(e){return function(n){n instanceof RegExp&&(n.lastIndex=0);for(var t=arguments.length,a=new Array(t>1?t-1:0),i=1;i<t;i++)a[i-1]=arguments[i];return Ar(e,n,a)}}function Dr(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Br;pr&&pr(e,null);let a=n.length;for(;a--;){let i=n[a];if("string"==typeof i){const e=t(i);e!==i&&(fr(n)||(n[a]=e),i=e)}e[i]=!0}return e}function Mr(e){for(let n=0;n<e.length;n++){Lr(e,n)||(e[n]=null)}return e}function jr(e){const n=vr(null);for(const[t,a]of dr(e)){Lr(e,t)&&(Array.isArray(a)?n[t]=Mr(a):a&&"object"==typeof a&&a.constructor===Object?n[t]=jr(a):n[t]=a)}return n}function zr(e,n){for(;null!==e;){const t=hr(e,n);if(t){if(t.get)return Rr(t.get);if("function"==typeof t.value)return Rr(t.value)}e=mr(e)}return function(){return null}}const Ur=gr(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),qr=gr(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),$r=gr(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Hr=gr(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Vr=gr(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Gr=gr(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Wr=gr(["#text"]),Yr=gr(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Qr=gr(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Xr=gr(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Kr=gr(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Zr=br(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Jr=br(/<%[\w\W]*|[\w\W]*%>/gm),es=br(/\$\{[\w\W]*/gm),ns=br(/^data-[\-\w.\u00B7-\uFFFF]+$/),ts=br(/^aria-[\-\w]+$/),as=br(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),is=br(/^(?:\w+script|data):/i),os=br(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),rs=br(/^html$/i),ss=br(/^[a-z][.\w]*(-[.\w]+)+$/i);var ls=Object.freeze({__proto__:null,ARIA_ATTR:ts,ATTR_WHITESPACE:os,CUSTOM_ELEMENT:ss,DATA_ATTR:ns,DOCTYPE_NAME:rs,ERB_EXPR:Jr,IS_ALLOWED_URI:as,IS_SCRIPT_OR_DATA:is,MUSTACHE_EXPR:Zr,TMPLIT_EXPR:es});const cs=1,us=3,ds=7,ps=8,fs=9,ms=function(){return"undefined"==typeof window?null:window};var hs=function e(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ms();const t=n=>e(n);if(t.version="3.3.1",t.removed=[],!n||!n.document||n.document.nodeType!==fs||!n.Element)return t.isSupported=!1,t;let{document:a}=n;const i=a,o=i.currentScript,{DocumentFragment:r,HTMLTemplateElement:s,Node:l,Element:c,NodeFilter:u,NamedNodeMap:d=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:p,DOMParser:f,trustedTypes:m}=n,h=c.prototype,g=zr(h,"cloneNode"),b=zr(h,"remove"),v=zr(h,"nextSibling"),A=zr(h,"childNodes"),y=zr(h,"parentNode");if("function"==typeof s){const e=a.createElement("template");e.content&&e.content.ownerDocument&&(a=e.content.ownerDocument)}let w,x="";const{implementation:C,createNodeIterator:E,createDocumentFragment:k,getElementsByTagName:B}=a,{importNode:S}=i;let T={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};t.isSupported="function"==typeof dr&&"function"==typeof y&&C&&void 0!==C.createHTMLDocument;const{MUSTACHE_EXPR:P,ERB_EXPR:F,TMPLIT_EXPR:N,DATA_ATTR:L,ARIA_ATTR:I,IS_SCRIPT_OR_DATA:_,ATTR_WHITESPACE:O,CUSTOM_ELEMENT:R}=ls;let{IS_ALLOWED_URI:D}=ls,M=null;const j=Dr({},[...Ur,...qr,...$r,...Vr,...Wr]);let z=null;const U=Dr({},[...Yr,...Qr,...Xr,...Kr]);let q=Object.seal(vr(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),$=null,H=null;const V=Object.seal(vr(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let G=!0,W=!0,Y=!1,Q=!0,X=!1,K=!0,Z=!1,J=!1,ee=!1,ne=!1,te=!1,ae=!1,ie=!0,oe=!1,re=!0,se=!1,le={},ce=null;const ue=Dr({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let de=null;const pe=Dr({},["audio","video","img","source","image","track"]);let fe=null;const me=Dr({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),he="http://www.w3.org/1998/Math/MathML",ge="http://www.w3.org/2000/svg",be="http://www.w3.org/1999/xhtml";let ve=be,Ae=!1,ye=null;const we=Dr({},[he,ge,be],Sr);let xe=Dr({},["mi","mo","mn","ms","mtext"]),Ce=Dr({},["annotation-xml"]);const Ee=Dr({},["title","style","font","a","script"]);let ke=null;const Be=["application/xhtml+xml","text/html"];let Se=null,Te=null;const Pe=a.createElement("form"),Fe=function(e){return e instanceof RegExp||e instanceof Function},Ne=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Te||Te!==e){if(e&&"object"==typeof e||(e={}),e=jr(e),ke=-1===Be.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Se="application/xhtml+xml"===ke?Sr:Br,M=Lr(e,"ALLOWED_TAGS")?Dr({},e.ALLOWED_TAGS,Se):j,z=Lr(e,"ALLOWED_ATTR")?Dr({},e.ALLOWED_ATTR,Se):U,ye=Lr(e,"ALLOWED_NAMESPACES")?Dr({},e.ALLOWED_NAMESPACES,Sr):we,fe=Lr(e,"ADD_URI_SAFE_ATTR")?Dr(jr(me),e.ADD_URI_SAFE_ATTR,Se):me,de=Lr(e,"ADD_DATA_URI_TAGS")?Dr(jr(pe),e.ADD_DATA_URI_TAGS,Se):pe,ce=Lr(e,"FORBID_CONTENTS")?Dr({},e.FORBID_CONTENTS,Se):ue,$=Lr(e,"FORBID_TAGS")?Dr({},e.FORBID_TAGS,Se):jr({}),H=Lr(e,"FORBID_ATTR")?Dr({},e.FORBID_ATTR,Se):jr({}),le=!!Lr(e,"USE_PROFILES")&&e.USE_PROFILES,G=!1!==e.ALLOW_ARIA_ATTR,W=!1!==e.ALLOW_DATA_ATTR,Y=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Q=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,X=e.SAFE_FOR_TEMPLATES||!1,K=!1!==e.SAFE_FOR_XML,Z=e.WHOLE_DOCUMENT||!1,ne=e.RETURN_DOM||!1,te=e.RETURN_DOM_FRAGMENT||!1,ae=e.RETURN_TRUSTED_TYPE||!1,ee=e.FORCE_BODY||!1,ie=!1!==e.SANITIZE_DOM,oe=e.SANITIZE_NAMED_PROPS||!1,re=!1!==e.KEEP_CONTENT,se=e.IN_PLACE||!1,D=e.ALLOWED_URI_REGEXP||as,ve=e.NAMESPACE||be,xe=e.MATHML_TEXT_INTEGRATION_POINTS||xe,Ce=e.HTML_INTEGRATION_POINTS||Ce,q=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Fe(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(q.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Fe(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(q.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(q.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),X&&(W=!1),te&&(ne=!0),le&&(M=Dr({},Wr),z=[],!0===le.html&&(Dr(M,Ur),Dr(z,Yr)),!0===le.svg&&(Dr(M,qr),Dr(z,Qr),Dr(z,Kr)),!0===le.svgFilters&&(Dr(M,$r),Dr(z,Qr),Dr(z,Kr)),!0===le.mathMl&&(Dr(M,Vr),Dr(z,Xr),Dr(z,Kr))),e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?V.tagCheck=e.ADD_TAGS:(M===j&&(M=jr(M)),Dr(M,e.ADD_TAGS,Se))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?V.attributeCheck=e.ADD_ATTR:(z===U&&(z=jr(z)),Dr(z,e.ADD_ATTR,Se))),e.ADD_URI_SAFE_ATTR&&Dr(fe,e.ADD_URI_SAFE_ATTR,Se),e.FORBID_CONTENTS&&(ce===ue&&(ce=jr(ce)),Dr(ce,e.FORBID_CONTENTS,Se)),e.ADD_FORBID_CONTENTS&&(ce===ue&&(ce=jr(ce)),Dr(ce,e.ADD_FORBID_CONTENTS,Se)),re&&(M["#text"]=!0),Z&&Dr(M,["html","head","body"]),M.table&&(Dr(M,["tbody"]),delete $.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw _r('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw _r('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');w=e.TRUSTED_TYPES_POLICY,x=w.createHTML("")}else void 0===w&&(w=function(e,n){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let t=null;const a="data-tt-policy-suffix";n&&n.hasAttribute(a)&&(t=n.getAttribute(a));const i="dompurify"+(t?"#"+t:"");try{return e.createPolicy(i,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+i+" could not be created."),null}}(m,o)),null!==w&&"string"==typeof x&&(x=w.createHTML(""));gr&&gr(e),Te=e}},Le=Dr({},[...qr,...$r,...Hr]),Ie=Dr({},[...Vr,...Gr]),_e=function(e){Er(t.removed,{element:e});try{y(e).removeChild(e)}catch(n){b(e)}},Oe=function(e,n){try{Er(t.removed,{attribute:n.getAttributeNode(e),from:n})}catch(e){Er(t.removed,{attribute:null,from:n})}if(n.removeAttribute(e),"is"===e)if(ne||te)try{_e(n)}catch(e){}else try{n.setAttribute(e,"")}catch(e){}},Re=function(e){let n=null,t=null;if(ee)e="<remove></remove>"+e;else{const n=Tr(e,/^[\r\n\t ]+/);t=n&&n[0]}"application/xhtml+xml"===ke&&ve===be&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const i=w?w.createHTML(e):e;if(ve===be)try{n=(new f).parseFromString(i,ke)}catch(e){}if(!n||!n.documentElement){n=C.createDocument(ve,"template",null);try{n.documentElement.innerHTML=Ae?x:i}catch(e){}}const o=n.body||n.documentElement;return e&&t&&o.insertBefore(a.createTextNode(t),o.childNodes[0]||null),ve===be?B.call(n,Z?"html":"body")[0]:Z?n.documentElement:o},De=function(e){return E.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},Me=function(e){return e instanceof p&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof d)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},je=function(e){return"function"==typeof l&&e instanceof l};function ze(e,n,a){wr(e,e=>{e.call(t,n,a,Te)})}const Ue=function(e){let n=null;if(ze(T.beforeSanitizeElements,e,null),Me(e))return _e(e),!0;const a=Se(e.nodeName);if(ze(T.uponSanitizeElement,e,{tagName:a,allowedTags:M}),K&&e.hasChildNodes()&&!je(e.firstElementChild)&&Ir(/<[/\w!]/g,e.innerHTML)&&Ir(/<[/\w!]/g,e.textContent))return _e(e),!0;if(e.nodeType===ds)return _e(e),!0;if(K&&e.nodeType===ps&&Ir(/<[/\w]/g,e.data))return _e(e),!0;if(!(V.tagCheck instanceof Function&&V.tagCheck(a))&&(!M[a]||$[a])){if(!$[a]&&$e(a)){if(q.tagNameCheck instanceof RegExp&&Ir(q.tagNameCheck,a))return!1;if(q.tagNameCheck instanceof Function&&q.tagNameCheck(a))return!1}if(re&&!ce[a]){const n=y(e)||e.parentNode,t=A(e)||e.childNodes;if(t&&n){for(let a=t.length-1;a>=0;--a){const i=g(t[a],!0);i.__removalCount=(e.__removalCount||0)+1,n.insertBefore(i,v(e))}}}return _e(e),!0}return e instanceof c&&!function(e){let n=y(e);n&&n.tagName||(n={namespaceURI:ve,tagName:"template"});const t=Br(e.tagName),a=Br(n.tagName);return!!ye[e.namespaceURI]&&(e.namespaceURI===ge?n.namespaceURI===be?"svg"===t:n.namespaceURI===he?"svg"===t&&("annotation-xml"===a||xe[a]):Boolean(Le[t]):e.namespaceURI===he?n.namespaceURI===be?"math"===t:n.namespaceURI===ge?"math"===t&&Ce[a]:Boolean(Ie[t]):e.namespaceURI===be?!(n.namespaceURI===ge&&!Ce[a])&&!(n.namespaceURI===he&&!xe[a])&&!Ie[t]&&(Ee[t]||!Le[t]):!("application/xhtml+xml"!==ke||!ye[e.namespaceURI]))}(e)?(_e(e),!0):"noscript"!==a&&"noembed"!==a&&"noframes"!==a||!Ir(/<\/no(script|embed|frames)/i,e.innerHTML)?(X&&e.nodeType===us&&(n=e.textContent,wr([P,F,N],e=>{n=Pr(n,e," ")}),e.textContent!==n&&(Er(t.removed,{element:e.cloneNode()}),e.textContent=n)),ze(T.afterSanitizeElements,e,null),!1):(_e(e),!0)},qe=function(e,n,t){if(ie&&("id"===n||"name"===n)&&(t in a||t in Pe))return!1;if(W&&!H[n]&&Ir(L,n));else if(G&&Ir(I,n));else if(V.attributeCheck instanceof Function&&V.attributeCheck(n,e));else if(!z[n]||H[n]){if(!($e(e)&&(q.tagNameCheck instanceof RegExp&&Ir(q.tagNameCheck,e)||q.tagNameCheck instanceof Function&&q.tagNameCheck(e))&&(q.attributeNameCheck instanceof RegExp&&Ir(q.attributeNameCheck,n)||q.attributeNameCheck instanceof Function&&q.attributeNameCheck(n,e))||"is"===n&&q.allowCustomizedBuiltInElements&&(q.tagNameCheck instanceof RegExp&&Ir(q.tagNameCheck,t)||q.tagNameCheck instanceof Function&&q.tagNameCheck(t))))return!1}else if(fe[n]);else if(Ir(D,Pr(t,O,"")));else if("src"!==n&&"xlink:href"!==n&&"href"!==n||"script"===e||0!==Fr(t,"data:")||!de[e]){if(Y&&!Ir(_,Pr(t,O,"")));else if(t)return!1}else;return!0},$e=function(e){return"annotation-xml"!==e&&Tr(e,R)},He=function(e){ze(T.beforeSanitizeAttributes,e,null);const{attributes:n}=e;if(!n||Me(e))return;const a={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:z,forceKeepAttr:void 0};let i=n.length;for(;i--;){const o=n[i],{name:r,namespaceURI:s,value:l}=o,c=Se(r),u=l;let d="value"===r?u:Nr(u);if(a.attrName=c,a.attrValue=d,a.keepAttr=!0,a.forceKeepAttr=void 0,ze(T.uponSanitizeAttribute,e,a),d=a.attrValue,!oe||"id"!==c&&"name"!==c||(Oe(r,e),d="user-content-"+d),K&&Ir(/((--!?|])>)|<\/(style|title|textarea)/i,d)){Oe(r,e);continue}if("attributename"===c&&Tr(d,"href")){Oe(r,e);continue}if(a.forceKeepAttr)continue;if(!a.keepAttr){Oe(r,e);continue}if(!Q&&Ir(/\/>/i,d)){Oe(r,e);continue}X&&wr([P,F,N],e=>{d=Pr(d,e," ")});const p=Se(e.nodeName);if(qe(p,c,d)){if(w&&"object"==typeof m&&"function"==typeof m.getAttributeType)if(s);else switch(m.getAttributeType(p,c)){case"TrustedHTML":d=w.createHTML(d);break;case"TrustedScriptURL":d=w.createScriptURL(d)}if(d!==u)try{s?e.setAttributeNS(s,r,d):e.setAttribute(r,d),Me(e)?_e(e):Cr(t.removed)}catch(n){Oe(r,e)}}else Oe(r,e)}ze(T.afterSanitizeAttributes,e,null)},Ve=function e(n){let t=null;const a=De(n);for(ze(T.beforeSanitizeShadowDOM,n,null);t=a.nextNode();)ze(T.uponSanitizeShadowNode,t,null),Ue(t),He(t),t.content instanceof r&&e(t.content);ze(T.afterSanitizeShadowDOM,n,null)};return t.sanitize=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=null,o=null,s=null,c=null;if(Ae=!e,Ae&&(e="\x3c!--\x3e"),"string"!=typeof e&&!je(e)){if("function"!=typeof e.toString)throw _r("toString is not a function");if("string"!=typeof(e=e.toString()))throw _r("dirty is not a string, aborting")}if(!t.isSupported)return e;if(J||Ne(n),t.removed=[],"string"==typeof e&&(se=!1),se){if(e.nodeName){const n=Se(e.nodeName);if(!M[n]||$[n])throw _r("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof l)a=Re("\x3c!----\x3e"),o=a.ownerDocument.importNode(e,!0),o.nodeType===cs&&"BODY"===o.nodeName||"HTML"===o.nodeName?a=o:a.appendChild(o);else{if(!ne&&!X&&!Z&&-1===e.indexOf("<"))return w&&ae?w.createHTML(e):e;if(a=Re(e),!a)return ne?null:ae?x:""}a&&ee&&_e(a.firstChild);const u=De(se?e:a);for(;s=u.nextNode();)Ue(s),He(s),s.content instanceof r&&Ve(s.content);if(se)return e;if(ne){if(te)for(c=k.call(a.ownerDocument);a.firstChild;)c.appendChild(a.firstChild);else c=a;return(z.shadowroot||z.shadowrootmode)&&(c=S.call(i,c,!0)),c}let d=Z?a.outerHTML:a.innerHTML;return Z&&M["!doctype"]&&a.ownerDocument&&a.ownerDocument.doctype&&a.ownerDocument.doctype.name&&Ir(rs,a.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+a.ownerDocument.doctype.name+">\n"+d),X&&wr([P,F,N],e=>{d=Pr(d,e," ")}),w&&ae?w.createHTML(d):d},t.setConfig=function(){Ne(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),J=!0},t.clearConfig=function(){Te=null,J=!1},t.isValidAttribute=function(e,n,t){Te||Ne({});const a=Se(e),i=Se(n);return qe(a,i,t)},t.addHook=function(e,n){"function"==typeof n&&Er(T[e],n)},t.removeHook=function(e,n){if(void 0!==n){const t=xr(T[e],n);return-1===t?void 0:kr(T[e],t,1)[0]}return Cr(T[e])},t.removeHooks=function(e){T[e]=[]},t.removeAllHooks=function(){T={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},t}();const gs=e=>{if(!e)return!1;const n=e.split("?")[0].split("#")[0];return/\.(md|markdown|mdown|mkd|mkdn)$/i.test(n)},bs=new Map,vs={icon:function(n,t){if(n&&gs(n.uri))return e.icons.iconBase+"markdown.svg";if(n){const a=t.session.store,i=bs.get(n.uri);if("dokieli"===i)return e.icons.iconBase+"dokieli-logo.png";if("html"===i)return e.icons.originalIconBase+"tango/22-text-x-generic.png";const o=a.fetcher.getHeader(n.doc(),"content");if(o&&o.length>0){const t=o[0],a=t.includes('<script src="https://dokie.li/scripts/dokieli.js">')||t.includes("dokieli.css");return bs.set(n.uri,a?"dokieli":"html"),a?e.icons.iconBase+"dokieli-logo.png":e.icons.originalIconBase+"tango/22-text-x-generic.png"}const r=a.fetcher.getHeader(n.doc(),"content-type");if("text/html"===(r?r[0].split(";",1)[0].trim():null))return a.fetcher._fetch(n.uri).then(e=>e.text()).then(t=>{const a=t.includes('<script src="https://dokie.li/scripts/dokieli.js">')||t.includes("dokieli.css");return bs.set(n.uri,a?"dokieli":"html"),a?e.icons.iconBase+"dokieli-logo.png":e.icons.originalIconBase+"tango/22-text-x-generic.png"}).catch(()=>(bs.set(n.uri,"html"),e.icons.originalIconBase+"tango/22-text-x-generic.png"))}return e.icons.originalIconBase+"tango/22-text-x-generic.png"},name:"humanReadable",label:function(n,t){const a=t.session.store,i=["text/plain","text/html","text/markdown","application/xhtml+xml","image/png","image/jpeg","application/pdf","video/mp4"];if(!n.uri)return null;if(a.findTypeURIs(n)[e.ns.link("WebPage").uri])return"view";if(gs(n.uri))return"View";if(function(e,n,t){const a=e.fetcher.getHeader(n,"content-type");if(a)for(let e=0;e<a.length;e++)for(let n=0;n<t.length;n++)if(a[e].indexOf(t[n])>=0)return!0;return!1}(a,n,i)||function(e,n,t){const a=e.findTypeURIs(n);for(let e=0;e<t.length;e++)if(A.Util.mediaTypeClass(t[e]).uri in a)return!0;return!1}(a,n,i)){const e=a.fetcher.getHeader(n.doc(),"content-type");return"text/html"!==(e?e[0].split(";",1)[0].trim():null)||bs.has(n.uri)||a.fetcher._fetch(n.uri).then(e=>e.text()).then(e=>{const t=e.includes('<script src="https://dokie.li/scripts/dokieli.js">')||e.includes("dokieli.css");bs.set(n.uri,t?"dokieli":"html")}).catch(()=>{bs.set(n.uri,"html")}),"View"}return null},render:function(e,n){const t=n.dom,a=t.createElement("div"),i=n.session.store,o=i.fetcher.getHeader(e.doc(),"content-type"),r=o?o[0].split(";",1)[0].trim():null,s="text/markdown"===r||gs(e.uri);r||console.log("humanReadablePane: unknown content-type?"),a.setAttribute("class","docView");const l=(n,t)=>{n.setAttribute("src",e.uri),n.setAttribute("class","doc"),n.setAttribute("style",`border: 1px solid; padding: 1em; height: ${t}em; width: 800px; resize: both; overflow: auto;`)};if(s){const n=t.createElement("DIV");!function(n){i.fetcher.webOperation("GET",e.uri).then(e=>{const t=e.responseText,a=Math.min(30,t.split(/\n/).length+5),i=ur.parse(t),o=hs.sanitize(i);n.innerHTML=o,n.setAttribute("class","doc"),n.setAttribute("style",`border: 1px solid; padding: 1em; height: ${a}em; width: 800px; resize: both; overflow: auto;`)}).catch(e=>{console.error("Error fetching markdown content:",e),n.innerHTML="<p>Error loading content</p>"})}(n);const o=t.createElement("TR");o.appendChild(n),a.appendChild(o)}else{const n=t.createElement("IFRAME");"text/html"!==r&&"application/xhtml+xml"!==r||n.setAttribute("sandbox","allow-scripts allow-same-origin allow-forms"),i.fetcher.webOperation("GET",e.uri).then(t=>{const a=t.responseText,i=a.includes('<script src="https://dokie.li/scripts/dokieli.js">')?-10:5,o=Math.min(30,a.split(/\n/).length+i),r=a.includes('<script src="https://dokie.li/scripts/dokieli.js">')||a.includes("dokieli.css");bs.set(e.uri,r?"dokieli":"html"),l(n,o)}).catch(e=>{console.error("Error fetching content for line calculation:",e),l(n,30)});const o=t.createElement("TR");o.appendChild(n),a.appendChild(o)}return a}},As=vs,ys=e.ns,ws={icon:e.icons.originalIconBase+"rdf_flyer.24.gif",name:"dataContents",audience:[ys.solid("Developer")],label:function(e,n){if("http://www.w3.org/2007/ont/link#ProtocolEvent"in n.session.store.findTypeURIs(e))return null;const t=n.session.store.statementsMatching(void 0,void 0,void 0,e).length;return 0===t?null:"Data ("+t+")"},statementsAsTables:function(n,t,a){const i=t.dom,o=i.createElement("table"),r=A.Serializer(t.session.store),s=r.rootSubjects(n);let l=s.roots;const c=s.subjects,u=s.loopBreakers;for(const e in u)console.log("\tdataContentPane: loopbreaker:"+e);const d={},p={};function f(n){const t=i.createElement("table");let a=null;const o=c[r.toStr(n)];if(!o)return t.appendChild(i.createTextNode("...")),t;o.sort();let s,l=0;for(let n=0;n<o.length;n++){const r=o[n],c=i.createElement("tr");if(r.predicate.uri!==a){a&&l>1&&s.setAttribute("rowspan",""+l),s=i.createElement("td"),s.setAttribute("class","pred");const n=i.createElement("a");n.setAttribute("href",r.predicate.uri),n.addEventListener("click",e.widgets.openHrefInOutlineMode,!0),n.appendChild(i.createTextNode(e.utils.predicateLabelForXML(r.predicate))),s.appendChild(n),c.appendChild(s),a=r.predicate.uri,l=0}l++;const u=i.createElement("td");u.appendChild(m(r.object)),c.appendChild(u),t.appendChild(c)}return a&&l>1&&s.setAttribute("rowspan",""+l),t}function m(n){let a,o;switch(n.termType){case"NamedNode":return o=i.createElement("a"),o.setAttribute("href",n.uri),o.addEventListener("click",e.widgets.openHrefInOutlineMode,!0),o.appendChild(i.createTextNode(e.utils.label(n))),o;case"Literal":return n.datatype&&n.datatype.uri?"http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral"===n.datatype.uri?(a=i.createElement("div"),a.setAttribute("class","embeddedXHTML"),a.innerHTML=n.value,a):i.createTextNode(n.value):(a=i.createElement("div"),a.setAttribute("style","white-space: pre-wrap;"),a.textContent=n.value,a);case"BlankNode":{if(n.toNT()in d){p[n.toNT()]=!0;const e=i.createElement("a");return e.setAttribute("href","#"+n.toNT().slice(2)),e.setAttribute("class","bnodeRef"),e.textContent="*"+n.toNT().slice(3),e}d[n.toNT()]=!0;const t=f(n);return d[n.toNT()]=t,e.utils.ancestor(t,"TABLE")&&"white"===e.utils.ancestor(t,"TABLE").style.backgroundColor?t.style.backgroundColor="#eee":t.style.backgroundColor="white",t}case"Collection":a=i.createElement("table"),a.setAttribute("class","collectionAsTables");for(let e=0;e<n.elements.length;e++){const t=i.createElement("tr");a.appendChild(t),t.appendChild(m(n.elements[e]))}return a;case"Graph":return a=t.session.paneRegistry.byName("dataContents").statementsAsTables(n.statements,t),a.setAttribute("class","nestedFormula"),a;case"Variable":return a=i.createTextNode("?"+n.uri),a}throw new Error("Unhandled node type: "+n.termType)}a&&(l=a.concat(l.filter(function(e){for(let n=0;n<a.length;n++)if(e.sameTerm(a[n]))return!1;return!0})));for(let n=0;n<l.length;n++){const t=i.createElement("tr");t.setAttribute("style",`background-color: ${n%2==0?"#f0f0f0":"white"};`),o.appendChild(t);const a=i.createElement("td");t.appendChild(a);const r=i.createElement("td");t.appendChild(r);const s=l[n];"BlankNode"===s.termType?a.appendChild(i.createTextNode(e.utils.label(s))):a.appendChild(m(s)),r.appendChild(f(s))}for(const e in p){const n=d[e],t=i.createElement("a");t.setAttribute("id",e.slice(2)),t.setAttribute("class","bnodeDef"),t.textContent=e.slice(3)+")",n.insertBefore(t,n.firstChild)}return o},render:function(n,t){const a=t.dom;t.getOutliner(a);const i=t.session.store,o=a.createElement("div");o.setAttribute("class","dataContentPane");const r=i.statementsMatching(void 0,void 0,void 0,n);return function(){const a=[];i.holds(n,void 0,void 0,n)&&a.push(n);const s=i.any(n,e.ns.foaf("primaryTopic"),void 0,n);s&&a.push(s),o.appendChild(t.session.paneRegistry.byName("dataContents").statementsAsTables(r,t,a))}(),o}};var xs=o(3385),Cs=o.n(xs);const Es=e.ns,ks={icon:e.icons.originalIconBase+"w3c/n3_smaller.png",name:"n3",audience:[Es.solid("Developer")],label:function(e,n){const t=n.session.store;if("http://www.w3.org/2007/ont/link#ProtocolEvent"in t.findTypeURIs(e))return null;const a=t.statementsMatching(void 0,void 0,void 0,e).length;return 0===a?null:"Data ("+a+") as N3"},render:function(e,n){const t=n.dom,a=n.session.store,i=t.createElement("div");i.setAttribute("class","n3Pane");const o=a.statementsMatching(void 0,void 0,void 0,e),r=A.Serializer(a);r.suggestNamespaces(a.namespaces),r.setBase(e.uri);const s=r.statementsToN3(o),l=t.createElement("PRE");return l.appendChild(t.createTextNode(s)),i.appendChild(l),i}},Bs=e.ns,Ss={icon:e.icons.originalIconBase+"22-text-xml4.png",name:"RDFXML",audience:[Bs.solid("Developer")],label:function(e,n){const t=n.session.store;if("http://www.w3.org/2007/ont/link#ProtocolEvent"in t.findTypeURIs(e))return null;const a=t.statementsMatching(void 0,void 0,void 0,e).length;return 0===a?null:"As RDF/XML ("+a+")"},render:function(e,n){const t=n.dom,a=n.session.store,i=t.createElement("div");i.setAttribute("class","RDFXMLPane");const o=a.statementsMatching(void 0,void 0,void 0,e),r=A.Serializer(a);r.suggestNamespaces(a.namespaces),r.setBase(e.uri);const s=r.statementsToXML(o),l=t.createElement("PRE");return l.appendChild(t.createTextNode(s)),i.appendChild(l),i}},Ts=e.ns,Ps={icon:e.icons.iconBase+"noun_122196.svg",name:"form",audience:[Ts.solid("PowerUser")],label:function(n){const t=e.widgets.formsFor(n).length;return e.log.debug("Form pane: forms for "+n+": "+t),t?t+" forms":null},render:function(t,a){const i=a.session.store,o=a.dom,r=function(e,n){const t=o.createElement("p");return t.setAttribute("style",n||"color: grey; background-color: white"),u.appendChild(t).textContent=e,t},s=function(e,n){r(e,"style")},l=function(e,n){e||s("Sorry, failed to save your change:\n"+n)},c=n.authn.currentUser(),u=o.createElement("div");if(u.setAttribute("class","formPane"),c){0===i.each(c,Ts.ui("workspace")).length&&r("You don't seem to have any workspaces defined. A workspace is a place on the web (http://..) or in the file system (file:///) to store application data.\n")}else r("You are not logged in. If you log in and have workspaces then you would be able to select workspace in which to put this new information");const d=function(n,t){i.fetcher.nowOrWhenFetched(n.uri,t,function(a,i){if(!a)return s("Cannot load store "+n.uri+": "+i);const r=e.widgets.formsFor(t);for(let a=0;a<r.length;a++){const i=r[a],s=o.createElement("h4");if(u.appendChild(s),i.uri){const n=A.Util.uri.document(i.uri);if(n.uri!==i.uri){u.appendChild(e.widgets.editFormButton(o,u,i,n,l)).setAttribute("style","float: right;")}}const c=o.createElement("a");c.setAttribute("href",i.uri),s.appendChild(c),c.textContent=e.utils.label(i,!0),e.widgets.appendForm(o,u,{},t,i,n,l)}})};let p=null;const f=A.Util.uri.docpart(t.uri);if(t.uri!==f&&i.updater.editable(f,i)&&(p=t.doc()),p=p||i.any(i.sym(f),Ts.link("annotationStore")),!p){const e={},n=[];p.statementsMatching(t).forEach(function(n){e[n.why.uri]=1}),p.statementsMatching(void 0,void 0,t).forEach(function(n){e[n.why.uri]=2});for(const t in e)n.push(e[t],t);n.sort();for(let e=0;e<n.length;e++){const t=n[e][1];if(t&&p.updater.editable(t)){p=p.sym(t);break}}}const m="2014";if(p)d(p,t);else{s("No suitable store is known, to edit <"+t.uri+">.");const n=e.login.selectWorkspace(o,function(e){r("Workspace selected OK: "+e);const n=p.each(void 0,Ts.space("workspace"),e);for(let a=0;a<n.length;a++){const i=n[a],o=p.any(e,Ts.space("store")),r=p.any(e,Ts.cal("dtstart")).value(),l=p.any(e,Ts.cal("dtend")).value();if(o&&r&&l&&r<=m&&l>m){d(o,t);break}s("Note no suitable annotation store in activity: "+i)}});u.appendChild(n)}return u}},Fs={icon:e.icons.originalIconBase+"table.png",name:"tableOfClass",label:function(n,t){const a=t.session.store;if(!a.any(void 0,e.ns.rdf("type"),n))return null;const i=a.statementsMatching(void 0,e.ns.rdf("type"),n).length;return 0===i||i>15?null:e.utils.label(n)+" table"},render:function(n,t){const a=t.dom,i=a.createElement("div");return i.setAttribute("class","tablePane"),i.appendChild(e.table(a,{tableClass:n})),i}},Ns=e.ns,Ls={icon:e.icons.originalIconBase+"about.png",name:"default",audience:[Ns.solid("Developer")],label:function(e){return"about "},render:function(n,t){const a=t.dom,i=function(e,n){return void 0===t.session.paneRegistry.byName("internal").predicates[e.uri]&&(!n||"http://www.w3.org/1999/02/22-rdf-syntax-ns#type"!==e.uri)},o=t.getOutliner(a),r=t.session.store;e.log.info("@defaultPane.render, dom is now "+a.location),n=r.canon(n);const s=a.createElement("div");s.setAttribute("class","defaultPane");let l=r.statementsMatching(n);if(o.appendPropertyTRs(s,l,!1,i),l=r.statementsMatching(void 0,void 0,n),o.appendPropertyTRs(s,l,!0,i),"Literal"===n.termType&&"http://"===n.value.slice(0,7)&&o.appendPropertyTRs(s,[A.st(r.sym(n.value),e.ns.link("uri"),n)],!0,i),"NamedNode"===n.termType&&r.updater.editable(A.Util.uri.docpart(n.uri),r)||"BlankNode"===n.termType&&r.anyStatementMatching(n)&&r.anyStatementMatching(n).why&&r.anyStatementMatching(n).why.uri&&r.updater.editable(r.anyStatementMatching(n).why.uri)){const n=a.createElement("tr"),t=a.createElement("td");t.setAttribute("colspan","2"),t.setAttribute("notSelectable","true");const i=a.createElement("img");i.src=e.icons.originalIconBase+"tango/22-list-add-new.png",i.addEventListener("click",function(e){o.UserInput.addNewPredicateObject(e),e.stopPropagation(),e.preventDefault()}),i.className="bottom-border-active",s.appendChild(n).appendChild(t).appendChild(i)}return s}},Is=e.ns,_s={icon:e.icons.iconBase+"noun_170702.svg",name:"ui",audience:[Is.solid("PowerUser")],label:function(n,t){const a=e.ns,i=t.session.store.findTypeURIs(n);return i[a.rdfs("Class").uri]?"creation forms":i[a.ui("Form").uri]?"edit form":null},render:function(n,t){const a=t.dom,i=t.session.store,o=e.ns,r=a.createElement("div");r.setAttribute("class","formPane");const s=e.utils.label(n),l=function(e,n){const t=a.createElement("p");return t.setAttribute("style",n||"color: grey; background-color: white"),r.appendChild(t).textContent=e,t},c=function(e,n){l(e,"style")},u=function(e,n){e||c("Sorry, failed to save your change:\n"+n)},d=i.findTypeURIs(n);let p,f,m=null;n.uri&&(p=A.Util.uri.docpart(n.uri),n.uri!==p&&i.updater.editable(p)&&(m=i.sym(A.Util.uri.docpart(n.uri)))),m||(m=i.any(i.sym(p),o.link("annotationStore"))),m||(m=e.widgets.defaultAnnotationStore(n)),m||(m=i.sym("https://formsregistry.solid.community/public/formRegistry/")),d[o.rdfs("Class").uri];const h=l("(Loading data from: "+m+")");return i.fetcher.nowOrWhenFetched(m.uri,n,function(p,g){if(p)if(r.removeChild(h),d[o.rdfs("Class").uri]){const d=function(d,p){const f=i.statementsMatching(n,d),h=t.getOutliner(a);if(f.length){for(let t=0;t<f.length;t++){h.appendPropertyTRs(r,[f[t]]);const s=f[t].object,l=a.createElement("td");r.lastChild.appendChild(l),p&&l.appendChild(e.widgets.newButton(a,i,null,null,n,s,m,function(e,n){e||c("Sorry, failed to save your change:\n"+n)}));let d=i.statementsMatching(s,o.rdf("type"));d.length||(d=i.statementsMatching(s)),d.length?e.widgets.editFormButton(a,r,s,d[0].why,u):c("No data about form")}r.appendChild(a.createElement("hr"))}else l("There are currently no known forms to make a "+s+".")};f=o.ui("creationForm"),r.appendChild(a.createElement("h2")).textContent=e.utils.label(f),l("Creation forms allow you to add information about a new thing, in this case a new "+s+"."),d(f,!0),r.appendChild(a.createElement("hr")),l("You can make a new creation form:"),r.appendChild(e.widgets.newButton(a,i,n,f,o.ui("Form"),null,m,u)),r.appendChild(a.createElement("hr")),f=o.ui("annotationForm"),r.appendChild(a.createElement("h2")).textContent=e.utils.label(f),l("Annotaion forms allow you to add extra information about a ,"+s+" we already know about."),d(f,!1),r.appendChild(a.createElement("hr")),l("You can make a new annotation form:"),r.appendChild(e.widgets.newButton(a,i,n,f,o.ui("Form"),null,m,u)),l("(Storing new forms in: "+m+")")}else d[o.ui("Form").uri]?e.widgets.appendForm(a,r,i,n,o.ui("FormForm"),m,u):c("ui/pane internal error -- Eh?");else c("Cannot load store "+m+" :"+g)}),r}},Os={icon:e.icons.iconBase+"padlock-timbl.svg",name:"sharing",label:(n,t)=>{const a=t.session.store.findTypeURIs(n);return a[e.ns.ldp("Resource").uri]||a[e.ns.ldp("Container").uri]||a[e.ns.ldp("BasicContainer").uri]?"Sharing":null},render:(n,t)=>{const a=t.dom,i=t.session.store,o=function(){const t=i.findTypeURIs(n);if(t[e.ns.ldp("BasicContainer").uri]||t[e.ns.ldp("Container").uri])return"folder";return"file"}(),r=a.createElement("div");return r.classList.add("sharingPane"),e.aclControl.preventBrowserDropEvents(a),r.appendChild(e.aclControl.ACLControlBox5(n,t,o,i)),r}},Rs=Os,Ds={icon:e.icons.originalIconBase+"tango/22-emblem-system.png",name:"internal",label:function(){return"under the hood"},render:function(n,t){const a=t.dom,i=t.session.store,o=i.canon(n),r=i.findTypeURIs(o);function s(e){if(r["http://www.w3.org/2007/ont/link#ProtocolEvent"])return!0;const n=t.session.paneRegistry.byName("internal");return n&&n.predicates&&!(void 0===n.predicates[e.uri])}const l=a.createElement("div");function c(n,t){const a=n.fetcher;if(a)return new Promise(function(i,o){a.load(t).then(function(){const r=n.each(t,e.ns.ldp("contains")).map(t=>n.holds(t,e.ns.rdf("type"),e.ns.ldp("BasicContainer"))?c(n,t):(console.log("deleteRecursive leaf file: "+t),a.webOperation("DELETE",t.uri)));Promise.all(r).then(()=>{console.log("deleteRecursive empty folder: "+t),a.webOperation("DELETE",t.uri).then(()=>{console.log("Deleted Ok: "+t),i(void 0)}).catch(e=>{const n="Unable to delete "+t+": "+e;console.log(n),o(new Error(n))}),i(void 0)},e=>{alert(e),o(e)})})});console.error("No fetcher available")}l.setAttribute("class","internalPane"),l.setAttribute("style","background-color: #ddddff; padding: 0.5em; border-radius: 1em;");if(n.uri&&!n.uri.includes("#")){const t=l.appendChild(a.createElement("table"));t.style.width="100%",t.style.margin="1em";const o=t.appendChild(a.createElement("tr")),r=o.appendChild(a.createElement("td")),s=n.uri&&n.uri.endsWith("/")||i.holds(n,e.ns.rdf("type"),e.ns.ldp("Container")),u=s?"folder":"file";if(!function(e){const n=e.site().uri;return e.uri===n||e.uri===n+"profile/"||e.uri===n+"profile/card"||e.uri===n+"settings/"||e.uri===n+"settings/prefs.ttl"||e.uri===n+"settings/privateTypeIndex.ttl"||e.uri===n+"settings/publicTypeIndex.ttl"||e.uri===n+"settings/serverSide.ttl"}(n)){console.log(n);const t=e.widgets.deleteButtonWithCheck(a,r,u,function(){if(!confirm(`Are you sure you want to delete ${n}? This cannot be undone.`))return;if(!i.fetcher)throw new Error("Store has no fetcher");(s?c(i,n)||Promise.resolve():i.fetcher.webOperation("DELETE",n.uri)||Promise.resolve()).then(()=>{const e="Deleted: "+n;console.log(e)}).catch(e=>{const t="Unable to delete "+n+": "+e;console.log(t),alert(t)})});t.style="height: 2em;",t.class="",r.appendChild(t)}const d=o.appendChild(a.createElement("td")),p=e.widgets.button(a,e.icons.iconBase+"noun_479395.svg","refresh");d.appendChild(p),p.addEventListener("click",()=>{if(!i.fetcher)throw new Error("Store has no fetcher");i.fetcher.refresh(n,function(e,t){let a;a=e?"Refreshed OK: "+n:"Error refreshing: "+n+": "+t,console.log(a),alert(a)})})}let u=i.statementsMatching(n),d="";if(!i.fetcher)throw new Error("Store has no fetcher");if(n.uri&&(u.push((0,A.st)(n,(0,A.sym)("http://www.w3.org/2007/ont/link#uri"),n.uri,i.fetcher.appNode)),n.uri.indexOf("#")>=0?(d=n.uri.split("#")[0],u.push((0,A.st)(n,(0,A.sym)("http://www.w3.org/2007/ont/link#documentURI"),n.uri.split("#")[0],i.fetcher.appNode)),u.push((0,A.st)(n,(0,A.sym)("http://www.w3.org/2007/ont/link#document"),(0,A.sym)(n.uri.split("#")[0]),i.fetcher.appNode))):d=n.uri),d){if(!i.updater)throw new Error("Store has no updater");const e=i.updater.editable(d);e&&u.push((0,A.st)(n,(0,A.sym)("http://www.w3.org/ns/rww#editable"),(0,A.literal)(e.toString()),i.fetcher.appNode))}const p=t.getOutliner(a);return p.appendPropertyTRs(l,u,!1,s),u=i.statementsMatching(void 0,void 0,n),p.appendPropertyTRs(l,u,!0,s),l},predicates:{"http://www.w3.org/2007/ont/link#request":1,"http://www.w3.org/2007/ont/link#requestedBy":1,"http://www.w3.org/2007/ont/link#source":1,"http://www.w3.org/2007/ont/link#session":2,"http://www.w3.org/2007/ont/link#uri":1,"http://www.w3.org/2007/ont/link#documentURI":1,"http://www.w3.org/2007/ont/link#document":1,"http://www.w3.org/2007/ont/link#all":1,"http://www.w3.org/2007/ont/link#Document":1,"http://www.w3.org/ns/rww#editable":1,"http://www.w3.org/2000/01/rdf-schema#seeAlso":1,"http://www.w3.org/2002/07/owl#":1},classes:{"http://www.w3.org/2007/ont/link#ProtocolEvent":1}};const Ms=Ds,js={icon:e.icons.iconBase+"noun_547570.svg",global:!0,name:"home",label:function(){return"home"},render:function(t,a){const i=a.dom,o=i.createElement("div"),r=n.authn.currentUser();return async function(){const n={div:o,dom:i,statusArea:o,me:r};o.appendChild(i.createElement("h4")).textContent="Create new thing somewhere";const t={div:o.appendChild(i.createElement("div")),dom:i,statusArea:o,me:r},s=await e.login.filterAvailablePanes(a.session.paneRegistry.list);e.create.newThingUI(t,a,s),e.login.registrationList(n,{}).then(function(){})}(),o}},zs=js;function Us(e){if(!e.outlineManager){const a=function(e,n,t,a){return{dom:e,getOutliner:Us,session:{paneRegistry:n,store:t,logic:a}}}(e,{list:t.list,paneForIcon:t.paneForIcon,paneForPredicate:t.paneForPredicate,register:t.register,byName:t.byName},n.store,n.solidLogicSingleton);e.outlineManager=new T(a)}return e.outlineManager}"undefined"!=typeof window&&Us(window.document),function(e){e(P.A);const n=P.A.editor;n||console.log("@@@ editProfileView","profilePane is not providing an editor pane"),e(n),e(M),e(U),e($),e(G()),e(Y()),e(fi),e(hi),e(bi),e(Ai),e(wi()),e(Ci),e(Ei.Pq),e(Ei.bz),e(Si),e(Pi),e(Fi),e(Li),e(Ii),e(Oi),e(Di),e(Mi),e(zi),e(Hi),e(Vi),e(As),e(ws),e(Cs()),e(ks),e(Ss),e(Ps),e(Fs),e(Ls),e(_s),e(Rs),e(Ms),e(zs)}(e=>(0,t.register)(e.default||e)),"undefined"!=typeof window&&(window.panes={getOutliner:Us})})(),r=r.default})());
290
+ //# sourceMappingURL=solid-panes.min.js.map