mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Update debugger-frontend from 35c4630...51a91a2
Summary: Changelog: [Internal] - Update `react-native/debugger-frontend` from 35c4630...51a91a2 Resyncs `react-native/debugger-frontend` from GitHub - see `rn-chrome-devtools-frontend` [changelog](https://github.com/facebook/react-native-devtools-frontend/compare/35c4630bd58bbcbc6f4c54c084b4e52994dc4940...51a91a2ad62e7f585912ed314a350a72de84d6ed). ### Changelog | Commit | Author | Date/Time | Subject | | ------ | ------ | --------- | ------- | | [51a91a2ad](https://github.com/facebook/react-native-devtools-frontend/commit/51a91a2ad) | Ruslan Lesiutin (28902667+hoxyq@users.noreply.github.com) | 2025-07-04T14:04:02+01:00 | [bump: react-devtools@6.1.4 (#189)](https://github.com/facebook/react-native-devtools-frontend/commit/51a91a2ad) | | [761b96907](https://github.com/facebook/react-native-devtools-frontend/commit/761b96907) | Vitali Zaidman (vzaidman@gmail.com) | 2025-07-04T12:55:39+01:00 | [fixed missing new line before string error causes (#186)](https://github.com/facebook/react-native-devtools-frontend/commit/761b96907) | | [7774c38db](https://github.com/facebook/react-native-devtools-frontend/commit/7774c38db) | Alex Hunt (hello@alexhunt.dev) | 2025-06-30T13:20:49+01:00 | [Disable request initiator panel in NetworkItemView (#185)](https://github.com/facebook/react-native-devtools-frontend/commit/7774c38db) | Reviewed By: huntie Differential Revision: D77795834 fbshipit-source-id: 3c30f8e87593687415538902734b09b3144b70a4
This commit is contained in:
1 parent
c9e44fbcf2
commit
377baa2ef6
4 files changed
+10
-10
No files matched your search
@@ -1,5 +1,5 @@
|
||||
@generated SignedSource<<634e06e29a06ec6a22c087e7f8b01796>>
|
||||
Git revision: 35c4630bd58bbcbc6f4c54c084b4e52994dc4940
|
||||
@generated SignedSource<<8c4db6a5e1ba269169ac93cc53f95538>>
|
||||
Git revision: 51a91a2ad62e7f585912ed314a350a72de84d6ed
|
||||
Built with --nohooks: false
|
||||
Is local checkout: false
|
||||
Remote URL: https://github.com/facebook/react-native-devtools-frontend
|
||||
|
||||
+1
-1
@@ -3,4 +3,4 @@ import*as e from"../../core/common/common.js";import*as t from"../../core/i18n/i
|
||||
${this.deletePinIcon}
|
||||
<div class='console-pin-name' $='name' jslog="${d.textField().track({change:!0})}"></div>
|
||||
<div class='console-pin-preview' $='preview'></div>
|
||||
</div>`;this.pinElement=i.element(),this.pinPreview=i.$("preview");const r=i.$("name");o.Tooltip.Tooltip.install(r,t),z.set(this.pinElement,this),this.lastResult=null,this.lastExecutionContext=null,this.committedExpression=t,this.hovered=!1,this.lastNode=null,this.editor=this.createEditor(t,r),this.pinPreview.addEventListener("mouseenter",this.setHovered.bind(this,!0),!1),this.pinPreview.addEventListener("mouseleave",this.setHovered.bind(this,!1),!1),this.pinPreview.addEventListener("click",(t=>{this.lastNode&&(e.Revealer.reveal(this.lastNode),t.consume())}),!1),r.addEventListener("keydown",(e=>{"Escape"===e.key&&e.consume()}))}createEditor(e,t){const s=[a.EditorView.contentAttributes.of({"aria-label":_(D.liveExpressionEditor)}),a.EditorView.lineWrapping,a.javascript.javascriptLanguage,l.Config.showCompletionHint,a.placeholder(_(D.expression)),a.keymap.of([{key:"Escape",run:e=>(e.dispatch({changes:{from:0,to:e.state.doc.length,insert:this.committedExpression}}),this.focusOut(),!0)},{key:"Enter",run:()=>(this.focusOut(),!0)},{key:"Mod-Enter",run:()=>(this.focusOut(),!0)},{key:"Tab",run:e=>null===a.completionStatus(this.editor.state)&&(e.dispatch({changes:{from:0,to:e.state.doc.length,insert:this.committedExpression}}),this.focusOut(),!0)},{key:"Shift-Tab",run:e=>null===a.completionStatus(this.editor.state)&&(e.dispatch({changes:{from:0,to:e.state.doc.length,insert:this.committedExpression}}),this.focusOut(),!0)}]),a.EditorView.domEventHandlers({blur:(e,t)=>this.onBlur(t)}),l.Config.baseConfiguration(e),l.Config.closeBrackets.instance(),l.Config.autocompletion.instance()];"true"!==r.Runtime.Runtime.queryParam("noJavaScriptCompletion")&&s.push(l.JavaScript.completion());const n=new l.TextEditor.TextEditor(a.EditorState.create({doc:e,extensions:s}));return t.appendChild(n),n}onBlur(e){const t=e.state.doc.toString(),s=t.trim();this.committedExpression=s,this.pinPane.savePins(),this.committedExpression.length?this.deletePinIcon.setAccessibleName(_(D.removeExpressionS,{PH1:this.committedExpression})):this.deletePinIcon.setAccessibleName(_(D.removeBlankExpression)),e.dispatch({selection:{anchor:s.length},changes:s!==t?{from:0,to:t.length,insert:s}:void 0})}setHovered(e){this.hovered!==e&&(this.hovered=e,!e&&this.lastNode&&n.OverlayModel.OverlayModel.hideDOMNodeHighlight())}expression(){return this.committedExpression}element(){return this.pinElement}async focus(){const e=this.editor;e.editor.focus(),e.dispatch({selection:{anchor:e.state.doc.length}})}appendToContextMenu(e){this.lastResult&&!("error"in this.lastResult)&&this.lastResult.object&&(e.appendApplicableItems(this.lastResult.object),this.lastResult=null)}async updatePreview(){if(!this.editor)return;const e=l.Config.contentIncludingHint(this.editor.editor),t=this.pinElement.hasFocus(),s=t&&e!==this.committedExpression,i=s?250:void 0,r=o.Context.Context.instance().flavor(n.RuntimeModel.ExecutionContext),{preview:a,result:d}=await c.JavaScriptREPL.JavaScriptREPL.evaluateAndBuildPreview(e,s,!0,i,!t,"live-expression",!0,!0);this.lastResult&&this.lastExecutionContext&&this.lastExecutionContext.runtimeModel.releaseEvaluationResult(this.lastResult),this.lastResult=d||null,this.lastExecutionContext=r||null;const h=a.deepTextContent();if(!h||h!==this.pinPreview.deepTextContent()){if(this.pinPreview.removeChildren(),d&&n.RuntimeModel.RuntimeModel.isSideEffectFailure(d)){const e=this.pinPreview.createChild("span","object-value-calculate-value-button");e.textContent="(…)",o.Tooltip.Tooltip.install(e,_(D.evaluateAllowingSideEffects))}else h?this.pinPreview.appendChild(a):t||o.UIUtils.createTextChild(this.pinPreview,_(D.notAvailable));o.Tooltip.Tooltip.install(this.pinPreview,h)}let u=null;d&&!("error"in d)&&"object"===d.object.type&&"node"===d.object.subtype&&(u=d.object),this.hovered&&(u?n.OverlayModel.OverlayModel.highlightObjectAsDOMNode(u):this.lastNode&&n.OverlayModel.OverlayModel.hideDOMNodeHighlight()),this.lastNode=u||null;const m=d&&!("error"in d)&&d.exceptionDetails&&!n.RuntimeModel.RuntimeModel.isSideEffectFailure(d);this.pinElement.classList.toggle("error-level",Boolean(m))}}var K=Object.freeze({__proto__:null,ConsolePin:q,ConsolePinPane:$}),J={cssText:`:host{overflow:auto}.count{flex:none;margin:0 var(--sys-size-3)}devtools-icon{&[name="cross-circle"]{color:var(--sys-color-error-bright)}&[name="warning"]{color:var(--icon-warning)}&[name="info"]{color:var(--icon-info)}}.tree-element-title{flex-grow:1}\n/*# sourceURL=${import.meta.resolve("./consoleSidebar.css")} */\n`};const X={other:"<other>",dUserMessages:"{n, plural, =0 {No user messages} =1 {# user message} other {# user messages}}",dMessages:"{n, plural, =0 {No messages} =1 {# message} other {# messages}}",dErrors:"{n, plural, =0 {No errors} =1 {# error} other {# errors}}",dWarnings:"{n, plural, =0 {No warnings} =1 {# warning} other {# warnings}}",dInfo:"{n, plural, =0 {No info} =1 {# info} other {# info}}",dVerbose:"{n, plural, =0 {No verbose} =1 {# verbose} other {# verbose}}"},Z=t.i18n.registerUILine truncated
|
||||
</div>`;this.pinElement=i.element(),this.pinPreview=i.$("preview");const r=i.$("name");o.Tooltip.Tooltip.install(r,t),z.set(this.pinElement,this),this.lastResult=null,this.lastExecutionContext=null,this.committedExpression=t,this.hovered=!1,this.lastNode=null,this.editor=this.createEditor(t,r),this.pinPreview.addEventListener("mouseenter",this.setHovered.bind(this,!0),!1),this.pinPreview.addEventListener("mouseleave",this.setHovered.bind(this,!1),!1),this.pinPreview.addEventListener("click",(t=>{this.lastNode&&(e.Revealer.reveal(this.lastNode),t.consume())}),!1),r.addEventListener("keydown",(e=>{"Escape"===e.key&&e.consume()}))}createEditor(e,t){const s=[a.EditorView.contentAttributes.of({"aria-label":_(D.liveExpressionEditor)}),a.EditorView.lineWrapping,a.javascript.javascriptLanguage,l.Config.showCompletionHint,a.placeholder(_(D.expression)),a.keymap.of([{key:"Escape",run:e=>(e.dispatch({changes:{from:0,to:e.state.doc.length,insert:this.committedExpression}}),this.focusOut(),!0)},{key:"Enter",run:()=>(this.focusOut(),!0)},{key:"Mod-Enter",run:()=>(this.focusOut(),!0)},{key:"Tab",run:e=>null===a.completionStatus(this.editor.state)&&(e.dispatch({changes:{from:0,to:e.state.doc.length,insert:this.committedExpression}}),this.focusOut(),!0)},{key:"Shift-Tab",run:e=>null===a.completionStatus(this.editor.state)&&(e.dispatch({changes:{from:0,to:e.state.doc.length,insert:this.committedExpression}}),this.focusOut(),!0)}]),a.EditorView.domEventHandlers({blur:(e,t)=>this.onBlur(t)}),l.Config.baseConfiguration(e),l.Config.closeBrackets.instance(),l.Config.autocompletion.instance()];"true"!==r.Runtime.Runtime.queryParam("noJavaScriptCompletion")&&s.push(l.JavaScript.completion());const n=new l.TextEditor.TextEditor(a.EditorState.create({doc:e,extensions:s}));return t.appendChild(n),n}onBlur(e){const t=e.state.doc.toString(),s=t.trim();this.committedExpression=s,this.pinPane.savePins(),this.committedExpression.length?this.deletePinIcon.setAccessibleName(_(D.removeExpressionS,{PH1:this.committedExpression})):this.deletePinIcon.setAccessibleName(_(D.removeBlankExpression)),e.dispatch({selection:{anchor:s.length},changes:s!==t?{from:0,to:t.length,insert:s}:void 0})}setHovered(e){this.hovered!==e&&(this.hovered=e,!e&&this.lastNode&&n.OverlayModel.OverlayModel.hideDOMNodeHighlight())}expression(){return this.committedExpression}element(){return this.pinElement}async focus(){const e=this.editor;e.editor.focus(),e.dispatch({selection:{anchor:e.state.doc.length}})}appendToContextMenu(e){this.lastResult&&!("error"in this.lastResult)&&this.lastResult.object&&(e.appendApplicableItems(this.lastResult.object),this.lastResult=null)}async updatePreview(){if(!this.editor)return;const e=l.Config.contentIncludingHint(this.editor.editor),t=this.pinElement.hasFocus(),s=t&&e!==this.committedExpression,i=s?250:void 0,r=o.Context.Context.instance().flavor(n.RuntimeModel.ExecutionContext),{preview:a,result:d}=await c.JavaScriptREPL.JavaScriptREPL.evaluateAndBuildPreview(e,s,!0,i,!t,"live-expression",!0,!0);this.lastResult&&this.lastExecutionContext&&this.lastExecutionContext.runtimeModel.releaseEvaluationResult(this.lastResult),this.lastResult=d||null,this.lastExecutionContext=r||null;const h=a.deepTextContent();if(!h||h!==this.pinPreview.deepTextContent()){if(this.pinPreview.removeChildren(),d&&n.RuntimeModel.RuntimeModel.isSideEffectFailure(d)){const e=this.pinPreview.createChild("span","object-value-calculate-value-button");e.textContent="(…)",o.Tooltip.Tooltip.install(e,_(D.evaluateAllowingSideEffects))}else h?this.pinPreview.appendChild(a):t||o.UIUtils.createTextChild(this.pinPreview,_(D.notAvailable));o.Tooltip.Tooltip.install(this.pinPreview,h)}let u=null;d&&!("error"in d)&&"object"===d.object.type&&"node"===d.object.subtype&&(u=d.object),this.hovered&&(u?n.OverlayModel.OverlayModel.highlightObjectAsDOMNode(u):this.lastNode&&n.OverlayModel.OverlayModel.hideDOMNodeHighlight()),this.lastNode=u||null;const m=d&&!("error"in d)&&d.exceptionDetails&&!n.RuntimeModel.RuntimeModel.isSideEffectFailure(d);this.pinElement.classList.toggle("error-level",Boolean(m))}}var K=Object.freeze({__proto__:null,ConsolePin:q,ConsolePinPane:$}),J={cssText:`:host{overflow:auto}.count{flex:none;margin:0 var(--sys-size-3)}devtools-icon{&[name="cross-circle"]{color:var(--sys-color-error-bright)}&[name="warning"]{color:var(--icon-warning)}&[name="info"]{color:var(--icon-info)}}.tree-element-title{flex-grow:1}\n/*# sourceURL=${import.meta.resolve("./consoleSidebar.css")} */\n`};const X={other:"<other>",dUserMessages:"{n, plural, =0 {No user messages} =1 {# user message} other {# user messages}}",dMessages:"{n, plural, =0 {No messages} =1 {# message} other {# messages}}",dErrors:"{n, plural, =0 {No errors} =1 {# error} other {# errors}}",dWarnings:"{n, plural, =0 {No warnings} =1 {# warning} other {# warnings}}",dInfo:"{n, plural, =0 {No info} =1 {# info} other {# info}}",dVerbose:"{n, plural, =0 {No verbose} =1 {# verbose} other {# verbose}}"},Z=t.i18n.registerUILine truncated
|
||||
+1
-1
@@ -1 +1 @@
|
||||
import*as e from"../../ui/legacy/legacy.js";import*as t from"../../core/common/common.js";import*as i from"../../core/host/host.js";import*as r from"../../core/i18n/i18n.js";import*as o from"../../ui/legacy/components/source_frame/source_frame.js";import*as s from"../../core/platform/platform.js";import*as n from"../../core/sdk/sdk.js";import*as a from"../../models/logs/logs.js";import*as l from"../../ui/components/buttons/buttons.js";import*as d from"../../ui/visual_logging/visual_logging.js";import*as c from"../../ui/legacy/components/data_grid/data_grid.js";import*as h from"../mobile_throttling/mobile_throttling.js";import*as u from"../settings/emulation/components/components.js";import*as p from"../../models/bindings/bindings.js";import*as g from"../../models/workspace/workspace.js";import*as m from"./forward/forward.js";import*as w from"../../ui/components/floating_button/floating_button.js";import*as k from"../../ui/components/icon_button/icon_button.js";import*as v from"../../ui/legacy/components/perf_ui/perf_ui.js";import*as b from"../../ui/legacy/components/utils/utils.js";import{PanelUtils as f}from"../utils/utils.js";import*as C from"../../ui/components/legacy_wrapper/legacy_wrapper.js";import*as S from"./components/components.js";import*as y from"../../ui/legacy/components/cookie_table/cookie_table.js";import*as T from"../../ui/legacy/components/object_ui/object_ui.js";import*as x from"../../models/text_utils/text_utils.js";import*as R from"../../core/root/root.js";import*as I from"../../models/har/har.js";import*as q from"../../models/persistence/persistence.js";import*as L from"../sources/sources.js";import*as F from"../../ui/components/adorners/adorners.js";import*as E from"../../ui/components/render_coordinator/render_coordinator.js";import*as H from"../../ui/legacy/theme_support/theme_support.js";import*as P from"../../models/trace/trace.js";import*as M from"../search/search.js";var A={cssText:`.panel.network devtools-toolbar.binary-view-toolbar{border-top:1px solid var(--sys-color-divider);border-bottom:0;padding-left:5px}.binary-view-copied-text{opacity:100%}.binary-view-copied-text.fadeout{opacity:0%;transition:opacity 1s}\n/*# sourceURL=${import.meta.resolve("./binaryResourceView.css")} */\n`};const N={copiedAsBase:"Copied as `Base64`",hexViewer:"`Hex` Viewer",copiedAsHex:"Copied as `Hex`",copiedAsUtf:"Copied as `UTF-8`",binaryViewType:"Binary view type",copyToClipboard:"Copy to clipboard",copyAsBase:"Copy as `Base64`",copyAsHex:"Copy as `Hex`",copyAsUtf:"Copy as `UTF-8`"},U=r.i18n.registerUIStrings("panels/network/BinaryResourceView.ts",N),B=r.i18n.getLocalizedString.bind(void 0,U);class V extends e.Widget.VBox{binaryResourceViewFactory;toolbar;binaryViewObjects;binaryViewTypeSetting;binaryViewTypeCombobox;copiedText;addFadeoutSettimeoutId;lastView;constructor(i,s,n){super(),this.registerRequiredCSS(A),this.binaryResourceViewFactory=new o.BinaryResourceViewFactory.BinaryResourceViewFactory(i,s,n),this.toolbar=this.element.createChild("devtools-toolbar","binary-view-toolbar"),this.binaryViewObjects=[new W("base64",r.i18n.lockedString("Base64"),B(N.copiedAsBase),this.binaryResourceViewFactory.createBase64View.bind(this.binaryResourceViewFactory),this.binaryResourceViewFactory.base64.bind(this.binaryResourceViewFactory)),new W("hex",B(N.hexViewer),B(N.copiedAsHex),this.binaryResourceViewFactory.createHexView.bind(this.binaryResourceViewFactory),this.binaryResourceViewFactory.hex.bind(this.binaryResourceViewFactory)),new W("utf8",r.i18n.lockedString("UTF-8"),B(N.copiedAsUtf),this.binaryResourceViewFactory.createUtf8View.bind(this.binaryResourceViewFactory),this.binaryResourceViewFactory.utf8.bind(this.binaryResourceViewFactory))],this.binaryViewTypeSetting=t.Settings.Settings.instance().createSetting("binary-view-type","hex"),this.binaryViewTypeCombobox=new e.Toolbar.ToolbarComboBox(this.binaryViewTypeChanged.bind(this),B(N.binaryViewType));for(const e of this.binaryViewObjects)this.binaryViewTypeCombobox.addOption(this.binaryViewTypeCombobox.createOption(e.label,e.type));this.toolbar.appendToolbarItem(this.binaryViewTypeCombobox);const a=new e.Toolbar.ToolbarButton(B(N.copyToClipboard),"copy");a.addEventListener("Click",(e=>{this.copySelectedViewToClipboard()}),this),this.toolbar.appendToolbarItem(a),this.copiedText=new e.Toolbar.ToolbarText,this.copiedText.element.classList.add("binary-view-copied-text"),this.toolbar.appendChild(this.copiedText.element),this.addFadeoutSettimeoutId=null,this.lastView=null,this.updateView()}getCurrentViewObject(){const e=this.binaryViewObjects.find((e=>e.type===this.binaryViewTypeSetting.get()));return console.assert(Boolean(e),`No binary view found for binary view type found in setting 'binary-view-type': ${this.binaryViewTypeSetting.get()}`),e||null}copySelectedViewToClipboard(){const e=this.getCurrentViewObject();e&&(i.InspectorFrontendHost.InspectorFrontendHostInstance.copyText(e.content()),this.copiedText.setText(e.copiedMessage),this.copiedText.elemLine truncated
|
||||
import*as e from"../../ui/legacy/legacy.js";import*as t from"../../core/common/common.js";import*as i from"../../core/host/host.js";import*as r from"../../core/i18n/i18n.js";import*as o from"../../ui/legacy/components/source_frame/source_frame.js";import*as s from"../../core/platform/platform.js";import*as n from"../../core/sdk/sdk.js";import*as a from"../../models/logs/logs.js";import*as l from"../../ui/components/buttons/buttons.js";import*as d from"../../ui/visual_logging/visual_logging.js";import*as c from"../../ui/legacy/components/data_grid/data_grid.js";import*as h from"../mobile_throttling/mobile_throttling.js";import*as u from"../settings/emulation/components/components.js";import*as p from"../../models/bindings/bindings.js";import*as g from"../../models/workspace/workspace.js";import*as m from"./forward/forward.js";import*as w from"../../ui/components/floating_button/floating_button.js";import*as k from"../../ui/components/icon_button/icon_button.js";import*as v from"../../ui/legacy/components/perf_ui/perf_ui.js";import*as b from"../../ui/legacy/components/utils/utils.js";import{PanelUtils as f}from"../utils/utils.js";import*as C from"../../core/root/root.js";import*as S from"../../ui/components/legacy_wrapper/legacy_wrapper.js";import*as y from"./components/components.js";import*as T from"../../ui/legacy/components/cookie_table/cookie_table.js";import*as x from"../../ui/legacy/components/object_ui/object_ui.js";import*as R from"../../models/text_utils/text_utils.js";import*as I from"../../models/har/har.js";import*as q from"../../models/persistence/persistence.js";import*as L from"../sources/sources.js";import*as F from"../../ui/components/adorners/adorners.js";import*as E from"../../ui/components/render_coordinator/render_coordinator.js";import*as H from"../../ui/legacy/theme_support/theme_support.js";import*as P from"../../models/trace/trace.js";import*as M from"../search/search.js";var A={cssText:`.panel.network devtools-toolbar.binary-view-toolbar{border-top:1px solid var(--sys-color-divider);border-bottom:0;padding-left:5px}.binary-view-copied-text{opacity:100%}.binary-view-copied-text.fadeout{opacity:0%;transition:opacity 1s}\n/*# sourceURL=${import.meta.resolve("./binaryResourceView.css")} */\n`};const N={copiedAsBase:"Copied as `Base64`",hexViewer:"`Hex` Viewer",copiedAsHex:"Copied as `Hex`",copiedAsUtf:"Copied as `UTF-8`",binaryViewType:"Binary view type",copyToClipboard:"Copy to clipboard",copyAsBase:"Copy as `Base64`",copyAsHex:"Copy as `Hex`",copyAsUtf:"Copy as `UTF-8`"},U=r.i18n.registerUIStrings("panels/network/BinaryResourceView.ts",N),B=r.i18n.getLocalizedString.bind(void 0,U);class V extends e.Widget.VBox{binaryResourceViewFactory;toolbar;binaryViewObjects;binaryViewTypeSetting;binaryViewTypeCombobox;copiedText;addFadeoutSettimeoutId;lastView;constructor(i,s,n){super(),this.registerRequiredCSS(A),this.binaryResourceViewFactory=new o.BinaryResourceViewFactory.BinaryResourceViewFactory(i,s,n),this.toolbar=this.element.createChild("devtools-toolbar","binary-view-toolbar"),this.binaryViewObjects=[new W("base64",r.i18n.lockedString("Base64"),B(N.copiedAsBase),this.binaryResourceViewFactory.createBase64View.bind(this.binaryResourceViewFactory),this.binaryResourceViewFactory.base64.bind(this.binaryResourceViewFactory)),new W("hex",B(N.hexViewer),B(N.copiedAsHex),this.binaryResourceViewFactory.createHexView.bind(this.binaryResourceViewFactory),this.binaryResourceViewFactory.hex.bind(this.binaryResourceViewFactory)),new W("utf8",r.i18n.lockedString("UTF-8"),B(N.copiedAsUtf),this.binaryResourceViewFactory.createUtf8View.bind(this.binaryResourceViewFactory),this.binaryResourceViewFactory.utf8.bind(this.binaryResourceViewFactory))],this.binaryViewTypeSetting=t.Settings.Settings.instance().createSetting("binary-view-type","hex"),this.binaryViewTypeCombobox=new e.Toolbar.ToolbarComboBox(this.binaryViewTypeChanged.bind(this),B(N.binaryViewType));for(const e of this.binaryViewObjects)this.binaryViewTypeCombobox.addOption(this.binaryViewTypeCombobox.createOption(e.label,e.type));this.toolbar.appendToolbarItem(this.binaryViewTypeCombobox);const a=new e.Toolbar.ToolbarButton(B(N.copyToClipboard),"copy");a.addEventListener("Click",(e=>{this.copySelectedViewToClipboard()}),this),this.toolbar.appendToolbarItem(a),this.copiedText=new e.Toolbar.ToolbarText,this.copiedText.element.classList.add("binary-view-copied-text"),this.toolbar.appendChild(this.copiedText.element),this.addFadeoutSettimeoutId=null,this.lastView=null,this.updateView()}getCurrentViewObject(){const e=this.binaryViewObjects.find((e=>e.type===this.binaryViewTypeSetting.get()));return console.assert(Boolean(e),`No binary view found for binary view type found in setting 'binary-view-type': ${this.binaryViewTypeSetting.get()}`),e||null}copySelectedViewToClipboard(){const e=this.getCurrentViewObject();e&&(i.InspectorFrontendHost.InspectorFrontendHostInstance.copyText(e.content()),this.copiedText.setText(e.copiedMessage),this.copiedText.elemLine truncated
|
||||
Vendored
+6
-6
@@ -1,4 +1,4 @@
|
||||
var e,r,t={519:(e,r,t)=>{var n=t(397),a=t(572),i=t(147),o=t(443);function s(e){var r="https://react.dev/errors/"+e;if(1<arguments.length){r+="?args[]="+encodeURIComponent(arguments[1]);for(var t=2;t<arguments.length;t++)r+="&args[]="+encodeURIComponent(arguments[t])}return"Minified React error #"+e+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function c(e){var r=e,t=e;if(e.alternate)for(;r.return;)r=r.return;else{e=r;do{!!(4098&(r=e).flags)&&(t=r.return),e=r.return}while(e)}return 3===r.tag?t:null}function u(e){if(13===e.tag){var r=e.memoizedState;if(null===r&&(null!==(e=e.alternate)&&(r=e.memoizedState)),null!==r)return r.dehydrated}return null}function f(e){if(31===e.tag){var r=e.memoizedState;if(null===r&&(null!==(e=e.alternate)&&(r=e.memoizedState)),null!==r)return r.dehydrated}return null}function d(e){if(c(e)!==e)throw Error(s(188))}function v(e){var r=e.tag;if(5===r||26===r||27===r||6===r)return e;for(e=e.child;null!==e;){if(null!==(r=v(e)))return r;e=e.sibling}return null}function h(e,r,t,n,a,i){for(;null!==e;){if(5===e.tag&&t(e,n,a,i)||(22!==e.tag||null===e.memoizedState)&&(r||5!==e.tag)&&h(e.child,r,t,n,a,i))return!0;e=e.sibling}return!1}function m(e){for(e=e.return;null!==e;){if(3===e.tag||5===e.tag)return e;e=e.return}return null}function p(e){switch(e.tag){case 5:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error(s(559))}}var _=null,g=null;function S(e){return _=e,!0}function b(e,r){if((r=r.return)===e||r===e.alternate)return!0;for(;null!==r&&r!==e;){if(!(5!==r.tag&&3!==r.tag||r.return!==e&&r.return!==e.alternate))return!0;r=r.return}return!1}function w(e,r,t){return e===t||e===r&&(_=e,!0)}function k(e,r,t){return e===t?(g=e,!1):e===r&&(null!==g&&(_=e),!0)}function y(e){if(null===e)return null;do{e=null===e?null:e.return}while(e&&5!==e.tag&&27!==e.tag&&3!==e.tag);return e||null}function E(e,r,t){for(var n=0,a=e;a;a=t(a))n++;a=0;for(var i=r;i;i=t(i))a++;for(;0<n-a;)e=t(e),n--;for(;0<a-n;)r=t(r),a--;for(;n--;){if(e===r||null!==r&&e===r.alternate)return e;e=t(e),r=t(r)}return null}var A=Object.assign,D=Symbol.for("react.element"),C=Symbol.for("react.transitional.element"),M=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),T=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),H=Symbol.for("react.provider"),R=Symbol.for("react.consumer"),O=Symbol.for("react.context"),I=Symbol.for("react.forward_ref"),F=Symbol.for("react.suspense"),P=Symbol.for("react.suspense_list"),L=Symbol.for("react.memo"),z=Symbol.for("react.lazy");Symbol.for("react.scope");var B=Symbol.for("react.activity"),V=Symbol.for("react.legacy_hidden");Symbol.for("react.tracing_marker");var U=Symbol.for("react.memo_cache_sentinel"),W=Symbol.for("react.postpone"),j=Symbol.for("react.view_transition"),$=Symbol.iterator;function X(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=$&&e[$]||e["@@iterator"])?e:null}var G=Symbol.asyncIterator,K=Symbol.for("react.client.reference");function q(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===K?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case x:return"Fragment";case N:return"Profiler";case T:return"StrictMode";case F:return"Suspense";case P:return"SuspenseList";case B:return"Activity";case j:return"ViewTransition"}if("object"==typeof e)switch(e.$$typeof){case M:return"Portal";case O:return(e.displayName||"Context")+".Provider";case R:return(e._context.displayName||"Context")+".Consumer";case I:var r=e.render;return(e=e.displayName)||(e=""!==(e=r.displayName||r.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case L:return null!==(r=e.displayName||null)?r:q(e.type)||"Memo";case z:r=e._payload,e=e._init;try{return q(e(r))}catch(e){}}return null}var Y=Array.isArray,Q=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Z={pending:!1,data:null,method:null,action:null};function ee(e,r,t){function n(){URL.revokeObjectURL(a),e.removeEventListener(i,n),e.removeEventListener("error",n)}var a=URL.createObjectURL(t),i="img"===r?"load":"loadstart";e.addEventListener(i,n),e.addEventListener("error",n),e.setAttribute("src",a)}var re=[],te=-1;function ne(e){return{current:e}}function ae(e){0>te||(e.current=re[te],re[te]=null,te--)}function ie(e,r){te++,re[te]=e.current,e.current=r}var oe,se,le=ne(null),ce=ne(null),ue=ne(null),fe=ne(null);function de(e,r){switch(ie(ue,r),ie(ce,e),ie(le,null),r.nodeType){case 9:case 11:e=(e=r.documentElement)&&(e=e.namespaceURI)?cv(e):0;break;default:if(e=r.tagName,r=r.namespaceURI)e=uv(r=cv(r),e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}ae(le),ie(le,e)}function ve(){ae(le),ae(ce),ae(ue)}function he(e){null!==e.memoizedState&&ie(fe,e);var r=le.current,t=uv(r,e.type);r!==t&&(ie(ce,e),ie(le,t))}function me(e){ce.curLine truncated
|
||||
var e,r,t={519:(e,r,t)=>{var n=t(397),a=t(572),i=t(147),o=t(443);function s(e){var r="https://react.dev/errors/"+e;if(1<arguments.length){r+="?args[]="+encodeURIComponent(arguments[1]);for(var t=2;t<arguments.length;t++)r+="&args[]="+encodeURIComponent(arguments[t])}return"Minified React error #"+e+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function c(e){var r=e,t=e;if(e.alternate)for(;r.return;)r=r.return;else{e=r;do{!!(4098&(r=e).flags)&&(t=r.return),e=r.return}while(e)}return 3===r.tag?t:null}function u(e){if(13===e.tag){var r=e.memoizedState;if(null===r&&(null!==(e=e.alternate)&&(r=e.memoizedState)),null!==r)return r.dehydrated}return null}function f(e){if(31===e.tag){var r=e.memoizedState;if(null===r&&(null!==(e=e.alternate)&&(r=e.memoizedState)),null!==r)return r.dehydrated}return null}function d(e){if(c(e)!==e)throw Error(s(188))}function v(e){var r=e.tag;if(5===r||26===r||27===r||6===r)return e;for(e=e.child;null!==e;){if(null!==(r=v(e)))return r;e=e.sibling}return null}function h(e,r,t,n,a,i){for(;null!==e;){if(5===e.tag&&t(e,n,a,i)||(22!==e.tag||null===e.memoizedState)&&(r||5!==e.tag)&&h(e.child,r,t,n,a,i))return!0;e=e.sibling}return!1}function m(e){for(e=e.return;null!==e;){if(3===e.tag||5===e.tag)return e;e=e.return}return null}function p(e){switch(e.tag){case 5:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error(s(559))}}var _=null,g=null;function S(e){return _=e,!0}function b(e,r){if((r=r.return)===e||r===e.alternate)return!0;for(;null!==r&&r!==e;){if(!(5!==r.tag&&3!==r.tag||r.return!==e&&r.return!==e.alternate))return!0;r=r.return}return!1}function w(e,r,t){return e===t||e===r&&(_=e,!0)}function k(e,r,t){return e===t?(g=e,!1):e===r&&(null!==g&&(_=e),!0)}function y(e){if(null===e)return null;do{e=null===e?null:e.return}while(e&&5!==e.tag&&27!==e.tag&&3!==e.tag);return e||null}function E(e,r,t){for(var n=0,a=e;a;a=t(a))n++;a=0;for(var i=r;i;i=t(i))a++;for(;0<n-a;)e=t(e),n--;for(;0<a-n;)r=t(r),a--;for(;n--;){if(e===r||null!==r&&e===r.alternate)return e;e=t(e),r=t(r)}return null}var D=Object.assign,A=Symbol.for("react.element"),C=Symbol.for("react.transitional.element"),M=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),T=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),H=Symbol.for("react.consumer"),R=Symbol.for("react.context"),O=Symbol.for("react.forward_ref"),I=Symbol.for("react.suspense"),F=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),L=Symbol.for("react.lazy");Symbol.for("react.scope");var z=Symbol.for("react.activity"),B=Symbol.for("react.legacy_hidden");Symbol.for("react.tracing_marker");var V=Symbol.for("react.memo_cache_sentinel"),U=Symbol.for("react.postpone"),W=Symbol.for("react.view_transition"),j=Symbol.iterator;function $(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=j&&e[j]||e["@@iterator"])?e:null}var X=Symbol.asyncIterator,G=Symbol.for("react.client.reference");function K(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===G?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case x:return"Fragment";case N:return"Profiler";case T:return"StrictMode";case I:return"Suspense";case F:return"SuspenseList";case z:return"Activity";case W:return"ViewTransition"}if("object"==typeof e)switch(e.$$typeof){case M:return"Portal";case R:return e.displayName||"Context";case H:return(e._context.displayName||"Context")+".Consumer";case O:var r=e.render;return(e=e.displayName)||(e=""!==(e=r.displayName||r.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case P:return null!==(r=e.displayName||null)?r:K(e.type)||"Memo";case L:r=e._payload,e=e._init;try{return K(e(r))}catch(e){}}return null}var q=Array.isArray,Y=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Q=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Z={pending:!1,data:null,method:null,action:null};function J(e,r,t){function n(){URL.revokeObjectURL(a),e.removeEventListener(i,n),e.removeEventListener("error",n)}var a=URL.createObjectURL(t),i="img"===r?"load":"loadstart";e.addEventListener(i,n),e.addEventListener("error",n),e.setAttribute("src",a)}var ee=[],re=-1;function te(e){return{current:e}}function ne(e){0>re||(e.current=ee[re],ee[re]=null,re--)}function ae(e,r){re++,ee[re]=e.current,e.current=r}var ie,oe,se=te(null),le=te(null),ce=te(null),ue=te(null);function fe(e,r){switch(ae(ce,r),ae(le,e),ae(se,null),r.nodeType){case 9:case 11:e=(e=r.documentElement)&&(e=e.namespaceURI)?lv(e):0;break;default:if(e=r.tagName,r=r.namespaceURI)e=cv(r=lv(r),e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}ne(se),ae(se,e)}function de(){ne(se),ne(le),ne(ce)}function ve(e){null!==e.memoizedState&&ae(ue,e);var r=se.current,t=cv(r,e.type);r!==t&&(ae(le,e),ae(se,t))}function he(e){le.current===e&&(ne(se),ne(le)),ue.current===e&&(neLine truncated
|
||||
/**
|
||||
* @license React
|
||||
* react-dom.production.js
|
||||
@@ -8,7 +8,7 @@ var e,r,t={519:(e,r,t)=>{var n=t(397),a=t(572),i=t(147),o=t(443);function s(e){v
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
var n=t(147);function a(e){var r="https://react.dev/errors/"+e;if(1<arguments.length){r+="?args[]="+encodeURIComponent(arguments[1]);for(var t=2;t<arguments.length;t++)r+="&args[]="+encodeURIComponent(arguments[t])}return"Minified React error #"+e+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(){}var o={d:{f:i,r:function(){throw Error(a(522))},D:i,C:i,L:i,m:i,X:i,S:i,M:i},p:0,findDOMNode:null},s=Symbol.for("react.portal");var l=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(e,r){return"font"===e?"":"string"==typeof r?"use-credentials"===r?r:"":void 0}r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,r.createPortal=function(e,r){var t=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!r||1!==r.nodeType&&9!==r.nodeType&&11!==r.nodeType)throw Error(a(299));return function(e,r,t){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:s,key:null==n?null:""+n,children:e,containerInfo:r,implementation:t}}(e,r,null,t)},r.flushSync=function(e){var r=l.T,t=o.p;try{if(l.T=null,o.p=2,e)return e()}finally{l.T=r,o.p=t,o.d.f()}},r.preconnect=function(e,r){"string"==typeof e&&(r?r="string"==typeof(r=r.crossOrigin)?"use-credentials"===r?r:"":void 0:r=null,o.d.C(e,r))},r.prefetchDNS=function(e){"string"==typeof e&&o.d.D(e)},r.preinit=function(e,r){if("string"==typeof e&&r&&"string"==typeof r.as){var t=r.as,n=c(t,r.crossOrigin),a="string"==typeof r.integrity?r.integrity:void 0,i="string"==typeof r.fetchPriority?r.fetchPriority:void 0;"style"===t?o.d.S(e,"string"==typeof r.precedence?r.precedence:void 0,{crossOrigin:n,integrity:a,fetchPriority:i}):"script"===t&&o.d.X(e,{crossOrigin:n,integrity:a,fetchPriority:i,nonce:"string"==typeof r.nonce?r.nonce:void 0})}},r.preinitModule=function(e,r){if("string"==typeof e)if("object"==typeof r&&null!==r){if(null==r.as||"script"===r.as){var t=c(r.as,r.crossOrigin);o.d.M(e,{crossOrigin:t,integrity:"string"==typeof r.integrity?r.integrity:void 0,nonce:"string"==typeof r.nonce?r.nonce:void 0})}}else null==r&&o.d.M(e)},r.preload=function(e,r){if("string"==typeof e&&"object"==typeof r&&null!==r&&"string"==typeof r.as){var t=r.as,n=c(t,r.crossOrigin);o.d.L(e,t,{crossOrigin:n,integrity:"string"==typeof r.integrity?r.integrity:void 0,nonce:"string"==typeof r.nonce?r.nonce:void 0,type:"string"==typeof r.type?r.type:void 0,fetchPriority:"string"==typeof r.fetchPriority?r.fetchPriority:void 0,referrerPolicy:"string"==typeof r.referrerPolicy?r.referrerPolicy:void 0,imageSrcSet:"string"==typeof r.imageSrcSet?r.imageSrcSet:void 0,imageSizes:"string"==typeof r.imageSizes?r.imageSizes:void 0,media:"string"==typeof r.media?r.media:void 0})}},r.preloadModule=function(e,r){if("string"==typeof e)if(r){var t=c(r.as,r.crossOrigin);o.d.m(e,{as:"string"==typeof r.as&&"script"!==r.as?r.as:void 0,crossOrigin:t,integrity:"string"==typeof r.integrity?r.integrity:void 0})}else o.d.m(e)},r.requestFormReset=function(e){o.d.r(e)},r.unstable_batchedUpdates=function(e,r){return e(r)},r.useFormState=function(e,r,t){return l.H.useFormState(e,r,t)},r.useFormStatus=function(){return l.H.useHostTransitionStatus()},r.version="19.2.0-experimental-428ab820-20250609"},852:(e,r,t)=>{!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(519)},443:(e,r,t)=>{!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(53)},377:(e,r)=>{var t=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler");
|
||||
var n=t(147);function a(e){var r="https://react.dev/errors/"+e;if(1<arguments.length){r+="?args[]="+encodeURIComponent(arguments[1]);for(var t=2;t<arguments.length;t++)r+="&args[]="+encodeURIComponent(arguments[t])}return"Minified React error #"+e+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(){}var o={d:{f:i,r:function(){throw Error(a(522))},D:i,C:i,L:i,m:i,X:i,S:i,M:i},p:0,findDOMNode:null},s=Symbol.for("react.portal");var l=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(e,r){return"font"===e?"":"string"==typeof r?"use-credentials"===r?r:"":void 0}r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,r.createPortal=function(e,r){var t=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!r||1!==r.nodeType&&9!==r.nodeType&&11!==r.nodeType)throw Error(a(299));return function(e,r,t){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:s,key:null==n?null:""+n,children:e,containerInfo:r,implementation:t}}(e,r,null,t)},r.flushSync=function(e){var r=l.T,t=o.p;try{if(l.T=null,o.p=2,e)return e()}finally{l.T=r,o.p=t,o.d.f()}},r.preconnect=function(e,r){"string"==typeof e&&(r?r="string"==typeof(r=r.crossOrigin)?"use-credentials"===r?r:"":void 0:r=null,o.d.C(e,r))},r.prefetchDNS=function(e){"string"==typeof e&&o.d.D(e)},r.preinit=function(e,r){if("string"==typeof e&&r&&"string"==typeof r.as){var t=r.as,n=c(t,r.crossOrigin),a="string"==typeof r.integrity?r.integrity:void 0,i="string"==typeof r.fetchPriority?r.fetchPriority:void 0;"style"===t?o.d.S(e,"string"==typeof r.precedence?r.precedence:void 0,{crossOrigin:n,integrity:a,fetchPriority:i}):"script"===t&&o.d.X(e,{crossOrigin:n,integrity:a,fetchPriority:i,nonce:"string"==typeof r.nonce?r.nonce:void 0})}},r.preinitModule=function(e,r){if("string"==typeof e)if("object"==typeof r&&null!==r){if(null==r.as||"script"===r.as){var t=c(r.as,r.crossOrigin);o.d.M(e,{crossOrigin:t,integrity:"string"==typeof r.integrity?r.integrity:void 0,nonce:"string"==typeof r.nonce?r.nonce:void 0})}}else null==r&&o.d.M(e)},r.preload=function(e,r){if("string"==typeof e&&"object"==typeof r&&null!==r&&"string"==typeof r.as){var t=r.as,n=c(t,r.crossOrigin);o.d.L(e,t,{crossOrigin:n,integrity:"string"==typeof r.integrity?r.integrity:void 0,nonce:"string"==typeof r.nonce?r.nonce:void 0,type:"string"==typeof r.type?r.type:void 0,fetchPriority:"string"==typeof r.fetchPriority?r.fetchPriority:void 0,referrerPolicy:"string"==typeof r.referrerPolicy?r.referrerPolicy:void 0,imageSrcSet:"string"==typeof r.imageSrcSet?r.imageSrcSet:void 0,imageSizes:"string"==typeof r.imageSizes?r.imageSizes:void 0,media:"string"==typeof r.media?r.media:void 0})}},r.preloadModule=function(e,r){if("string"==typeof e)if(r){var t=c(r.as,r.crossOrigin);o.d.m(e,{as:"string"==typeof r.as&&"script"!==r.as?r.as:void 0,crossOrigin:t,integrity:"string"==typeof r.integrity?r.integrity:void 0})}else o.d.m(e)},r.requestFormReset=function(e){o.d.r(e)},r.unstable_batchedUpdates=function(e,r){return e(r)},r.useFormState=function(e,r,t){return l.H.useFormState(e,r,t)},r.useFormStatus=function(){return l.H.useHostTransitionStatus()},r.version="19.2.0-experimental-9fd4c09d-20250704"},852:(e,r,t)=>{!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(519)},443:(e,r,t)=>{!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(53)},377:(e,r)=>{var t=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),o=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"),f=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),h=Symbol.for("react.view_transition"),m=Symbol.for("react.client.reference");
|
||||
/**
|
||||
* @license React
|
||||
* react-is.production.js
|
||||
@@ -17,7 +17,7 @@ var n=t(147);function a(e){var r="https://react.dev/errors/"+e;if(1<arguments.le
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/Symbol.for("react.provider");var s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),h=Symbol.for("react.view_transition"),m=Symbol.for("react.client.reference");function p(e){if("object"==typeof e&&null!==e){var r=e.$$typeof;switch(r){case t:switch(e=e.type){case a:case o:case i:case u:case f:case h:return e;default:switch(e=e&&e.$$typeof){case l:case c:case v:case d:case s:return e;default:return r}}case n:return r}}}r.M2=function(e){return p(e)===a}},945:(e,r,t)=>{var n=t(397),a=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),u=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),v=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),p=Symbol.for("react.activity"),_=Symbol.for("react.postpone"),g=Symbol.for("react.view_transition"),S=Symbol.iterator;
|
||||
*/function p(e){if("object"==typeof e&&null!==e){var r=e.$$typeof;switch(r){case t:switch(e=e.type){case a:case o:case i:case u:case f:case h:return e;default:switch(e=e&&e.$$typeof){case l:case c:case v:case d:case s:return e;default:return r}}case n:return r}}}r.M2=function(e){return p(e)===a}},945:(e,r,t)=>{var n=t(397),a=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),u=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),v=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),p=Symbol.for("react.activity"),_=Symbol.for("react.postpone"),g=Symbol.for("react.view_transition"),S=Symbol.iterator;
|
||||
/**
|
||||
* @license React
|
||||
* react.production.js
|
||||
@@ -26,7 +26,7 @@ var n=t(147);function a(e){var r="https://react.dev/errors/"+e;if(1<arguments.le
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w=Object.assign,k={};function y(e,r,t){this.props=e,this.context=r,this.refs=k,this.updater=t||b}function E(){}function A(e,r,t){this.props=e,this.context=r,this.refs=k,this.updater=t||b}y.prototype.isReactComponent={},y.prototype.setState=function(e,r){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,r,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},E.prototype=y.prototype;var D=A.prototype=new E;D.constructor=A,w(D,y.prototype),D.isPureReactComponent=!0;var C=Array.isArray;function M(){}var x={H:null,A:null,T:null,S:null,G:null},T=Object.prototype.hasOwnProperty;function N(e,r,t,n,i,o){return t=o.ref,{$$typeof:a,type:e,key:r,ref:void 0!==t?t:null,props:o}}function H(e){return"object"==typeof e&&null!==e&&e.$$typeof===a}var R=/\/+/g;function O(e,r){return"object"==typeof e&&null!==e&&null!=e.key?(t=""+e.key,n={"=":"=0",":":"=2"},"$"+t.replace(/[=:]/g,(function(e){return n[e]}))):r.toString(36);var t,n}function I(e,r,t,n,o){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 a:case i:u=!0;break;case m:return I((u=e._init)(e._payload),r,t,n,o)}}if(u)return o=o(e),u=""===n?"."+O(e,0):n,C(o)?(t="",null!=u&&(t=u.replace(R,"$&/")+"/"),I(o,r,t,"",(function(e){return e}))):null!=o&&(H(o)&&(l=o,c=t+(null==o.key||e&&e.key===o.key?"":(""+o.key).replace(R,"$&/")+"/")+u,o=N(l.type,c,void 0,0,0,l.props)),r.push(o)),1;u=0;var f,d=""===n?".":n+":";if(C(e))for(var v=0;v<e.length;v++)u+=I(n=e[v],r,t,s=d+O(n,v),o);else if("function"==typeof(v=null===(f=e)||"object"!=typeof f?null:"function"==typeof(f=S&&f[S]||f["@@iterator"])?f:null))for(e=v.call(e),v=0;!(n=e.next()).done;)u+=I(n=n.value,r,t,s=d+O(n,v++),o);else if("object"===s){if("function"==typeof e.then)return I(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(M,M):(e.status="pending",e.then((function(r){"pending"===e.status&&(e.status="fulfilled",e.value=r)}),(function(r){"pending"===e.status&&(e.status="rejected",e.reason=r)}))),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(e),r,t,n,o);throw r=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(e).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.")}return u}function F(e,r,t){if(null==e)return e;var n=[],a=0;return I(e,n,"","",(function(e){return r.call(t,e,a++)})),n}function P(e){if(-1===e._status){var r=e._result;(r=r()).then((function(r){0!==e._status&&-1!==e._status||(e._status=1,e._result=r)}),(function(r){0!==e._status&&-1!==e._status||(e._status=2,e._result=r)})),-1===e._status&&(e._status=0,e._result=r)}if(1===e._status)return e._result.default;throw e._result}function L(e,r){return x.H.useOptimistic(e,r)}var z="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var r=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(r))return}else if("object"==typeof n&&"function"==typeof n.emit)return void n.emit("uncaughtException",e);console.error(e)};function B(e){var r=x.T,t={};t.types=null!==r?r.types:null,t.gesture=null,x.T=t;try{var n=e(),a=x.S;null!==a&&a(t,n),"object"==typeof n&&null!==n&&"function"==typeof n.then&&n.then(M,z)}catch(e){z(e)}finally{null!==r&&null!==t.types&&(r.types=t.types),x.T=r}}r.Children={map:F,forEach:function(e,r,t){F(e,(function(){r.apply(this,arguments)}),t)},count:function(e){var r=0;return F(e,(function(){r++})),r},toArray:function(e){return F(e,(function(e){return e}))||[]},only:function(e){if(!H(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},r.Component=y,r.Fragment=o,r.Profiler=l,r.PureComponent=A,r.StrictMode=s,r.Suspense=d,r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=x,r.__COMPILER_RUNTIME={__proto__:null,c:function(e){return x.H.useMemoCache(e)}},r.cache=function(e){return function(){return e.apply(null,arguments)}},r.cloneElement=function(e,r,t){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var n=w({},e.props),a=e.key;if(null!=r)for(i in void 0!==r.ref&&void 0,void 0!==r.key&&(a=""+r.key),r)!T.call(r,i)||"key"===i||"__self"===i||"__source"===i||"ref"===i&&void 0===r.ref||(n[i]=r[i]);var i=arguments.length-2;if(1===i)n.children=t;else if(1<i){for(var o=Array(i),s=0Line truncated
|
||||
*/var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w=Object.assign,k={};function y(e,r,t){this.props=e,this.context=r,this.refs=k,this.updater=t||b}function E(){}function D(e,r,t){this.props=e,this.context=r,this.refs=k,this.updater=t||b}y.prototype.isReactComponent={},y.prototype.setState=function(e,r){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,r,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},E.prototype=y.prototype;var A=D.prototype=new E;A.constructor=D,w(A,y.prototype),A.isPureReactComponent=!0;var C=Array.isArray;function M(){}var x={H:null,A:null,T:null,S:null,G:null},T=Object.prototype.hasOwnProperty;function N(e,r,t,n,i,o){return t=o.ref,{$$typeof:a,type:e,key:r,ref:void 0!==t?t:null,props:o}}function H(e){return"object"==typeof e&&null!==e&&e.$$typeof===a}var R=/\/+/g;function O(e,r){return"object"==typeof e&&null!==e&&null!=e.key?(t=""+e.key,n={"=":"=0",":":"=2"},"$"+t.replace(/[=:]/g,(function(e){return n[e]}))):r.toString(36);var t,n}function I(e,r,t,n,o){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 a:case i:u=!0;break;case m:return I((u=e._init)(e._payload),r,t,n,o)}}if(u)return o=o(e),u=""===n?"."+O(e,0):n,C(o)?(t="",null!=u&&(t=u.replace(R,"$&/")+"/"),I(o,r,t,"",(function(e){return e}))):null!=o&&(H(o)&&(l=o,c=t+(null==o.key||e&&e.key===o.key?"":(""+o.key).replace(R,"$&/")+"/")+u,o=N(l.type,c,void 0,0,0,l.props)),r.push(o)),1;u=0;var f,d=""===n?".":n+":";if(C(e))for(var v=0;v<e.length;v++)u+=I(n=e[v],r,t,s=d+O(n,v),o);else if("function"==typeof(v=null===(f=e)||"object"!=typeof f?null:"function"==typeof(f=S&&f[S]||f["@@iterator"])?f:null))for(e=v.call(e),v=0;!(n=e.next()).done;)u+=I(n=n.value,r,t,s=d+O(n,v++),o);else if("object"===s){if("function"==typeof e.then)return I(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(M,M):(e.status="pending",e.then((function(r){"pending"===e.status&&(e.status="fulfilled",e.value=r)}),(function(r){"pending"===e.status&&(e.status="rejected",e.reason=r)}))),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(e),r,t,n,o);throw r=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(e).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.")}return u}function F(e,r,t){if(null==e)return e;var n=[],a=0;return I(e,n,"","",(function(e){return r.call(t,e,a++)})),n}function P(e){if(-1===e._status){var r=e._result;(r=r()).then((function(r){0!==e._status&&-1!==e._status||(e._status=1,e._result=r)}),(function(r){0!==e._status&&-1!==e._status||(e._status=2,e._result=r)})),-1===e._status&&(e._status=0,e._result=r)}if(1===e._status)return e._result.default;throw e._result}function L(e,r){return x.H.useOptimistic(e,r)}var z="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var r=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(r))return}else if("object"==typeof n&&"function"==typeof n.emit)return void n.emit("uncaughtException",e);console.error(e)};function B(e){var r=x.T,t={};t.types=null!==r?r.types:null,t.gesture=null,x.T=t;try{var n=e(),a=x.S;null!==a&&a(t,n),"object"==typeof n&&null!==n&&"function"==typeof n.then&&n.then(M,z)}catch(e){z(e)}finally{null!==r&&null!==t.types&&(r.types=t.types),x.T=r}}r.Children={map:F,forEach:function(e,r,t){F(e,(function(){r.apply(this,arguments)}),t)},count:function(e){var r=0;return F(e,(function(){r++})),r},toArray:function(e){return F(e,(function(e){return e}))||[]},only:function(e){if(!H(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},r.Component=y,r.Fragment=o,r.Profiler=l,r.PureComponent=D,r.StrictMode=s,r.Suspense=d,r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=x,r.__COMPILER_RUNTIME={__proto__:null,c:function(e){return x.H.useMemoCache(e)}},r.cache=function(e){return function(){return e.apply(null,arguments)}},r.cacheSignal=function(){return null},r.cloneElement=function(e,r,t){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var n=w({},e.props),a=e.key;if(null!=r)for(i in void 0!==r.ref&&void 0,void 0!==r.key&&(a=""+r.key),r)!T.call(r,i)||"key"===i||"__self"===i||"__source"===i||"ref"===i&&void 0===r.ref||(n[i]=r[i]);var i=arguments.length-2;if(1===i)n.childrenLine truncated
|
||||
/**
|
||||
* @license React
|
||||
* scheduler.production.js
|
||||
@@ -36,6 +36,6 @@ var n=t(147);function a(e){var r="https://react.dev/errors/"+e;if(1<arguments.le
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
function t(e,r){var t=e.length;e.push(r);e:for(;0<t;){var n=t-1>>>1,a=e[n];if(!(0<i(a,r)))break e;e[n]=r,e[t]=a,t=n}}function n(e){return 0===e.length?null:e[0]}function a(e){if(0===e.length)return null;var r=e[0],t=e.pop();if(t!==r){e[0]=t;e:for(var n=0,a=e.length,o=a>>>1;n<o;){var s=2*(n+1)-1,l=e[s],c=s+1,u=e[c];if(0>i(l,t))c<a&&0>i(u,l)?(e[n]=u,e[c]=t,n=c):(e[n]=l,e[s]=t,n=s);else{if(!(c<a&&0>i(u,t)))break e;e[n]=u,e[c]=t,n=c}}}return r}function i(e,r){var t=e.sortIndex-r.sortIndex;return 0!==t?t:e.id-r.id}if(r.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var o=performance;r.unstable_now=function(){return o.now()}}else{var s=Date,l=s.now();r.unstable_now=function(){return s.now()-l}}var c=[],u=[],f=1,d=null,v=3,h=!1,m=!1,p=!1,_="function"==typeof setTimeout?setTimeout:null,g="function"==typeof clearTimeout?clearTimeout:null,S="undefined"!=typeof setImmediate?setImmediate:null;function b(e){for(var r=n(u);null!==r;){if(null===r.callback)a(u);else{if(!(r.startTime<=e))break;a(u),r.sortIndex=r.expirationTime,t(c,r)}r=n(u)}}function w(e){if(p=!1,b(e),!m)if(null!==n(c))m=!0,y||(y=!0,k());else{var r=n(u);null!==r&&T(w,r.startTime-e)}}var k,y=!1,E=-1,A=5,D=-1;function C(){if(y){var e=r.unstable_now();D=e;var t=!0;try{e:{m=!1,p&&(p=!1,g(E),E=-1),h=!0;var i=v;try{r:{for(b(e),d=n(c);null!==d;){var o=d.callback;if("function"==typeof o){d.callback=null,v=d.priorityLevel;var s=o(d.expirationTime<=e);if(e=r.unstable_now(),"function"==typeof s){d.callback=s,b(e),t=!0;break r}d===n(c)&&a(c),b(e)}else a(c);if(null===(d=n(c))||d.expirationTime>e)break}if(null!==d)t=!0;else{var l=n(u);null!==l&&T(w,l.startTime-e),t=!1}}break e}finally{d=null,v=i,h=!1}t=void 0}}finally{t?k():y=!1}}}if("function"==typeof S)k=function(){S(C)};else if("undefined"!=typeof MessageChannel){var M=new MessageChannel,x=M.port2;M.port1.onmessage=C,k=function(){x.postMessage(null)}}else k=function(){_(C,0)};function T(e,t){E=_((function(){e(r.unstable_now())}),t)}r.unstable_IdlePriority=5,r.unstable_ImmediatePriority=1,r.unstable_LowPriority=4,r.unstable_NormalPriority=3,r.unstable_Profiling=null,r.unstable_UserBlockingPriority=2,r.unstable_cancelCallback=function(e){e.callback=null},r.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"):A=0<e?Math.floor(1e3/e):5},r.unstable_getCurrentPriorityLevel=function(){return v},r.unstable_next=function(e){switch(v){case 1:case 2:case 3:var r=3;break;default:r=v}var t=v;v=r;try{return e()}finally{v=t}},r.unstable_requestPaint=function(){},r.unstable_runWithPriority=function(e,r){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var t=v;v=e;try{return r()}finally{v=t}},r.unstable_scheduleCallback=function(e,a,i){var o=r.unstable_now();switch("object"==typeof i&&null!==i?i="number"==typeof(i=i.delay)&&0<i?o+i:o:i=o,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:f++,callback:a,priorityLevel:e,startTime:i,expirationTime:s=i+s,sortIndex:-1},i>o?(e.sortIndex=i,t(u,e),null===n(c)&&e===n(u)&&(p?(g(E),E=-1):p=!0,T(w,i-o))):(e.sortIndex=s,t(c,e),m||h||(m=!0,y||(y=!0,k()))),e},r.unstable_shouldYield=function(){return!(r.unstable_now()-D<A)},r.unstable_wrapCallback=function(e){var r=v;return function(){var t=v;v=r;try{return e.apply(this,arguments)}finally{v=t}}}},572:(e,r,t)=>{e.exports=t(350)},496:(e,r,t)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.importFromOldV8CPUProfile=r.importFromChromeCPUProfile=r.importFromChromeTimeline=r.isChromeTimeline=void 0;const n=t(211),a=t(844),i=t(218),o=t(320);r.isChromeTimeline=function(e){if(!Array.isArray(e))return!1;if(e.length<1)return!1;const r=e[0];return"pid"in r&&"tid"in r&&"ph"in r&&"cat"in r&&!!e.find((e=>"CpuProfile"===e.name||"Profile"===e.name||"ProfileChunk"===e.name))},r.importFromChromeTimeline=function(e,r){const t=new Map,n=new Map,i=new Map;a.sortBy(e,(e=>e.ts));for(let r of e){if("CpuProfile"===r.name){const e=`${r.pid}:${r.tid}`,a=r.id||e;t.set(a,r.args.data.cpuProfile),n.set(a,e)}if("Profile"===r.name){const e=`${r.pid}:${r.tid}`;t.set(r.id||e,Object.assign({startTime:0,endTime:0,nodes:[],samples:[],timeDeltas:[]},r.args.data)),r.id&&n.set(r.id,`${r.pid}:${r.tid}`)}if("thread_name"===r.name&&i.set(`${r.pid}:${r.tid}`,r.args.name),"ProfileChunk"===r.name){const e=`${r.pid}:${r.tid}`,n=t.get(r.id||e);if(n){const e=r.args.data;e.cpuProfile&&(e.cpuProfile.nodes&&(n.nodes=n.nodes.concat(e.cpuProfile.nodes)),e.cpuProfile.samples&&(n.samples=n.samples.concat(e.cpuProfile.samples))),e.timeDeltas&&(n.timeDeltas=n.timeDeltas.concat(e.timeDeltas)),null!=e.startTime&&(n.startTime=e.startTime),null!=e.endTime&&(n.endTime=e.endTime)}else console.warn(`Ignoring ProfileChunk for undeclared Profile with id ${r.id||e}`)}}if(t.size>0){const e=[];let o=0;return a.itForEach(t.keys(),(a=>{let s=null,l=n.get(a);l&&(s=i.get(l)||null);cLine truncated
|
||||
function t(e,r){var t=e.length;e.push(r);e:for(;0<t;){var n=t-1>>>1,a=e[n];if(!(0<i(a,r)))break e;e[n]=r,e[t]=a,t=n}}function n(e){return 0===e.length?null:e[0]}function a(e){if(0===e.length)return null;var r=e[0],t=e.pop();if(t!==r){e[0]=t;e:for(var n=0,a=e.length,o=a>>>1;n<o;){var s=2*(n+1)-1,l=e[s],c=s+1,u=e[c];if(0>i(l,t))c<a&&0>i(u,l)?(e[n]=u,e[c]=t,n=c):(e[n]=l,e[s]=t,n=s);else{if(!(c<a&&0>i(u,t)))break e;e[n]=u,e[c]=t,n=c}}}return r}function i(e,r){var t=e.sortIndex-r.sortIndex;return 0!==t?t:e.id-r.id}if(r.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var o=performance;r.unstable_now=function(){return o.now()}}else{var s=Date,l=s.now();r.unstable_now=function(){return s.now()-l}}var c=[],u=[],f=1,d=null,v=3,h=!1,m=!1,p=!1,_="function"==typeof setTimeout?setTimeout:null,g="function"==typeof clearTimeout?clearTimeout:null,S="undefined"!=typeof setImmediate?setImmediate:null;function b(e){for(var r=n(u);null!==r;){if(null===r.callback)a(u);else{if(!(r.startTime<=e))break;a(u),r.sortIndex=r.expirationTime,t(c,r)}r=n(u)}}function w(e){if(p=!1,b(e),!m)if(null!==n(c))m=!0,y||(y=!0,k());else{var r=n(u);null!==r&&T(w,r.startTime-e)}}var k,y=!1,E=-1,D=5,A=-1;function C(){if(y){var e=r.unstable_now();A=e;var t=!0;try{e:{m=!1,p&&(p=!1,g(E),E=-1),h=!0;var i=v;try{r:{for(b(e),d=n(c);null!==d;){var o=d.callback;if("function"==typeof o){d.callback=null,v=d.priorityLevel;var s=o(d.expirationTime<=e);if(e=r.unstable_now(),"function"==typeof s){d.callback=s,b(e),t=!0;break r}d===n(c)&&a(c),b(e)}else a(c);if(null===(d=n(c))||d.expirationTime>e)break}if(null!==d)t=!0;else{var l=n(u);null!==l&&T(w,l.startTime-e),t=!1}}break e}finally{d=null,v=i,h=!1}t=void 0}}finally{t?k():y=!1}}}if("function"==typeof S)k=function(){S(C)};else if("undefined"!=typeof MessageChannel){var M=new MessageChannel,x=M.port2;M.port1.onmessage=C,k=function(){x.postMessage(null)}}else k=function(){_(C,0)};function T(e,t){E=_((function(){e(r.unstable_now())}),t)}r.unstable_IdlePriority=5,r.unstable_ImmediatePriority=1,r.unstable_LowPriority=4,r.unstable_NormalPriority=3,r.unstable_Profiling=null,r.unstable_UserBlockingPriority=2,r.unstable_cancelCallback=function(e){e.callback=null},r.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"):D=0<e?Math.floor(1e3/e):5},r.unstable_getCurrentPriorityLevel=function(){return v},r.unstable_next=function(e){switch(v){case 1:case 2:case 3:var r=3;break;default:r=v}var t=v;v=r;try{return e()}finally{v=t}},r.unstable_requestPaint=function(){},r.unstable_runWithPriority=function(e,r){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var t=v;v=e;try{return r()}finally{v=t}},r.unstable_scheduleCallback=function(e,a,i){var o=r.unstable_now();switch("object"==typeof i&&null!==i?i="number"==typeof(i=i.delay)&&0<i?o+i:o:i=o,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:f++,callback:a,priorityLevel:e,startTime:i,expirationTime:s=i+s,sortIndex:-1},i>o?(e.sortIndex=i,t(u,e),null===n(c)&&e===n(u)&&(p?(g(E),E=-1):p=!0,T(w,i-o))):(e.sortIndex=s,t(c,e),m||h||(m=!0,y||(y=!0,k()))),e},r.unstable_shouldYield=function(){return!(r.unstable_now()-A<D)},r.unstable_wrapCallback=function(e){var r=v;return function(){var t=v;v=r;try{return e.apply(this,arguments)}finally{v=t}}}},572:(e,r,t)=>{e.exports=t(350)},496:(e,r,t)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.importFromOldV8CPUProfile=r.importFromChromeCPUProfile=r.importFromChromeTimeline=r.isChromeTimeline=void 0;const n=t(211),a=t(844),i=t(218),o=t(320);r.isChromeTimeline=function(e){if(!Array.isArray(e))return!1;if(e.length<1)return!1;const r=e[0];return"pid"in r&&"tid"in r&&"ph"in r&&"cat"in r&&!!e.find((e=>"CpuProfile"===e.name||"Profile"===e.name||"ProfileChunk"===e.name))},r.importFromChromeTimeline=function(e,r){const t=new Map,n=new Map,i=new Map;a.sortBy(e,(e=>e.ts));for(let r of e){if("CpuProfile"===r.name){const e=`${r.pid}:${r.tid}`,a=r.id||e;t.set(a,r.args.data.cpuProfile),n.set(a,e)}if("Profile"===r.name){const e=`${r.pid}:${r.tid}`;t.set(r.id||e,Object.assign({startTime:0,endTime:0,nodes:[],samples:[],timeDeltas:[]},r.args.data)),r.id&&n.set(r.id,`${r.pid}:${r.tid}`)}if("thread_name"===r.name&&i.set(`${r.pid}:${r.tid}`,r.args.name),"ProfileChunk"===r.name){const e=`${r.pid}:${r.tid}`,n=t.get(r.id||e);if(n){const e=r.args.data;e.cpuProfile&&(e.cpuProfile.nodes&&(n.nodes=n.nodes.concat(e.cpuProfile.nodes)),e.cpuProfile.samples&&(n.samples=n.samples.concat(e.cpuProfile.samples))),e.timeDeltas&&(n.timeDeltas=n.timeDeltas.concat(e.timeDeltas)),null!=e.startTime&&(n.startTime=e.startTime),null!=e.endTime&&(n.endTime=e.endTime)}else console.warn(`Ignoring ProfileChunk for undeclared Profile with id ${r.id||e}`)}}if(t.size>0){const e=[];let o=0;return a.itForEach(t.keys(),(a=>{let s=null,l=n.get(a);l&&(s=i.get(l)||null);cLine truncated
|
||||
/*! promise-polyfill 2.0.1 */
|
||||
function(r){function t(e,r){return function(){e.apply(r,arguments)}}function n(e){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=null,this._value=null,this._deferreds=[],c(e,t(i,this),t(o,this))}function a(e){var r=this;return null===this._state?void this._deferreds.push(e):void u((function(){var t=r._state?e.onFulfilled:e.onRejected;if(null!==t){var n;try{n=t(r._value)}catch(r){return void e.reject(r)}e.resolve(n)}else(r._state?e.resolve:e.reject)(r._value)}))}function i(e){try{if(e===this)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var r=e.then;if("function"==typeof r)return void c(t(r,e),t(i,this),t(o,this))}this._state=!0,this._value=e,s.call(this)}catch(e){o.call(this,e)}}function o(e){this._state=!1,this._value=e,s.call(this)}function s(){for(var e=0,r=this._deferreds.length;r>e;e++)a.call(this,this._deferreds[e]);this._deferreds=null}function l(e,r,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof r?r:null,this.resolve=t,this.reject=n}function c(e,r,t){var n=!1;try{e((function(e){n||(n=!0,r(e))}),(function(e){n||(n=!0,t(e))}))}catch(e){if(n)return;n=!0,t(e)}}var u=n.immediateFn||"function"==typeof setImmediate&&setImmediate||function(e){setTimeout(e,1)},f=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};n.prototype.catch=function(e){return this.then(null,e)},n.prototype.then=function(e,r){var t=this;return new n((function(n,i){a.call(t,new l(e,r,n,i))}))},n.all=function(){var e=Array.prototype.slice.call(1===arguments.length&&f(arguments[0])?arguments[0]:arguments);return new n((function(r,t){function n(i,o){try{if(o&&("object"==typeof o||"function"==typeof o)){var s=o.then;if("function"==typeof s)return void s.call(o,(function(e){n(i,e)}),t)}e[i]=o,0==--a&&r(e)}catch(e){t(e)}}if(0===e.length)return r([]);for(var a=e.length,i=0;i<e.length;i++)n(i,e[i])}))},n.resolve=function(e){return e&&"object"==typeof e&&e.constructor===n?e:new n((function(r){r(e)}))},n.reject=function(e){return new n((function(r,t){t(e)}))},n.race=function(e){return new n((function(r,t){for(var n=0,a=e.length;a>n;n++)e[n].then(r,t)}))},e.exports?e.exports=n:r.Promise||(r.Promise=n)}(this),a.copy=function(e){return new Promise((function(r,t){if("string"!=typeof e&&!("text/plain"in e))throw new Error("You must provide a text/plain type.");var n="string"==typeof e?e:e["text/plain"];window.clipboardData.setData("Text",n)?r():t(new Error("Copying was rejected."))}))},a.paste=function(){return new Promise((function(e,r){var t=window.clipboardData.getData("Text");t?e(t):r(new Error("Pasting was rejected."))}))}),a}()},715:function(e,r,t){var n,a,i;a=[t(356)],void 0===(i="function"==typeof(n=function(e){var r=/(^|@)\S+:\d+/,t=/^\s*at .*(\S+:\d+|\(native\))/m,n=/^(eval@)?(\[native code])?$/;return{parse:function(e){if(void 0!==e.stacktrace||void 0!==e["opera#sourceloc"])return this.parseOpera(e);if(e.stack&&e.stack.match(t))return this.parseV8OrIE(e);if(e.stack)return this.parseFFOrSafari(e);throw new Error("Cannot parse given Error object")},extractLocation:function(e){if(-1===e.indexOf(":"))return[e];var r=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(e.replace(/[()]/g,""));return[r[1],r[2]||void 0,r[3]||void 0]},parseV8OrIE:function(r){return r.stack.split("\n").filter((function(e){return!!e.match(t)}),this).map((function(r){r.indexOf("(eval ")>-1&&(r=r.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(\),.*$)/g,""));var t=r.replace(/^\s+/,"").replace(/\(eval code/g,"("),n=t.match(/ (\((.+):(\d+):(\d+)\)$)/),a=(t=n?t.replace(n[0],""):t).split(/\s+/).slice(1),i=this.extractLocation(n?n[1]:a.pop()),o=a.join(" ")||void 0,s=["eval","<anonymous>"].indexOf(i[0])>-1?void 0:i[0];return new e({functionName:o,fileName:s,lineNumber:i[1],columnNumber:i[2],source:r})}),this)},parseFFOrSafari:function(r){return r.stack.split("\n").filter((function(e){return!e.match(n)}),this).map((function(r){if(r.indexOf(" > eval")>-1&&(r=r.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),-1===r.indexOf("@")&&-1===r.indexOf(":"))return new e({functionName:r});var t=/((.*".+"[^@]*)?[^@]*)(?:@)/,n=r.match(t),a=n&&n[1]?n[1]:void 0,i=this.extractLocation(r.replace(t,""));return new e({functionName:a,fileName:i[0],lineNumber:i[1],columnNumber:i[2],source:r})}),this)},parseOpera:function(e){return!e.stacktrace||e.message.indexOf("\n")>-1&&e.message.split("\n").length>e.stacktrace.split("\n").length?this.parseOpera9(e):e.stack?this.parseOpera11(e):this.parseOpera10(e)},parseOpera9:function(r){for(var t=/Line (\d+).*script (?:in )?(\S+)/i,n=r.message.split("\n"),a=[],i=2,o=n.length;i<o;i+=2){var s=t.exec(n[i]);s&&a.push(new e({fileName:s[2],lineNumber:s[1],source:n[i]}))}return a},parseOpera10:function(r){for(var t=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,n=r.stacktrace.split("\n"),a=[Line truncated
|
||||
function(r){function t(e,r){return function(){e.apply(r,arguments)}}function n(e){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=null,this._value=null,this._deferreds=[],c(e,t(i,this),t(o,this))}function a(e){var r=this;return null===this._state?void this._deferreds.push(e):void u((function(){var t=r._state?e.onFulfilled:e.onRejected;if(null!==t){var n;try{n=t(r._value)}catch(r){return void e.reject(r)}e.resolve(n)}else(r._state?e.resolve:e.reject)(r._value)}))}function i(e){try{if(e===this)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var r=e.then;if("function"==typeof r)return void c(t(r,e),t(i,this),t(o,this))}this._state=!0,this._value=e,s.call(this)}catch(e){o.call(this,e)}}function o(e){this._state=!1,this._value=e,s.call(this)}function s(){for(var e=0,r=this._deferreds.length;r>e;e++)a.call(this,this._deferreds[e]);this._deferreds=null}function l(e,r,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof r?r:null,this.resolve=t,this.reject=n}function c(e,r,t){var n=!1;try{e((function(e){n||(n=!0,r(e))}),(function(e){n||(n=!0,t(e))}))}catch(e){if(n)return;n=!0,t(e)}}var u=n.immediateFn||"function"==typeof setImmediate&&setImmediate||function(e){setTimeout(e,1)},f=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};n.prototype.catch=function(e){return this.then(null,e)},n.prototype.then=function(e,r){var t=this;return new n((function(n,i){a.call(t,new l(e,r,n,i))}))},n.all=function(){var e=Array.prototype.slice.call(1===arguments.length&&f(arguments[0])?arguments[0]:arguments);return new n((function(r,t){function n(i,o){try{if(o&&("object"==typeof o||"function"==typeof o)){var s=o.then;if("function"==typeof s)return void s.call(o,(function(e){n(i,e)}),t)}e[i]=o,0==--a&&r(e)}catch(e){t(e)}}if(0===e.length)return r([]);for(var a=e.length,i=0;i<e.length;i++)n(i,e[i])}))},n.resolve=function(e){return e&&"object"==typeof e&&e.constructor===n?e:new n((function(r){r(e)}))},n.reject=function(e){return new n((function(r,t){t(e)}))},n.race=function(e){return new n((function(r,t){for(var n=0,a=e.length;a>n;n++)e[n].then(r,t)}))},e.exports?e.exports=n:r.Promise||(r.Promise=n)}(this),a.copy=function(e){return new Promise((function(r,t){if("string"!=typeof e&&!("text/plain"in e))throw new Error("You must provide a text/plain type.");var n="string"==typeof e?e:e["text/plain"];window.clipboardData.setData("Text",n)?r():t(new Error("Copying was rejected."))}))},a.paste=function(){return new Promise((function(e,r){var t=window.clipboardData.getData("Text");t?e(t):r(new Error("Pasting was rejected."))}))}),a}()},715:function(e,r,t){var n,a,i;a=[t(356)],void 0===(i="function"==typeof(n=function(e){var r=/(^|@)\S+:\d+/,t=/^\s*at .*(\S+:\d+|\(native\))/m,n=/^(eval@)?(\[native code])?$/;return{parse:function(e){if(void 0!==e.stacktrace||void 0!==e["opera#sourceloc"])return this.parseOpera(e);if(e.stack&&e.stack.match(t))return this.parseV8OrIE(e);if(e.stack)return this.parseFFOrSafari(e);throw new Error("Cannot parse given Error object")},extractLocation:function(e){if(-1===e.indexOf(":"))return[e];var r=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(e.replace(/[()]/g,""));return[r[1],r[2]||void 0,r[3]||void 0]},parseV8OrIE:function(r){return r.stack.split("\n").filter((function(e){return!!e.match(t)}),this).map((function(r){r.indexOf("(eval ")>-1&&(r=r.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(\),.*$)/g,""));var t=r.replace(/^\s+/,"").replace(/\(eval code/g,"("),n=t.match(/ (\((.+):(\d+):(\d+)\)$)/),a=(t=n?t.replace(n[0],""):t).split(/\s+/).slice(1),i=this.extractLocation(n?n[1]:a.pop()),o=a.join(" ")||void 0,s=["eval","<anonymous>"].indexOf(i[0])>-1?void 0:i[0];return new e({functionName:o,fileName:s,lineNumber:i[1],columnNumber:i[2],source:r})}),this)},parseFFOrSafari:function(r){return r.stack.split("\n").filter((function(e){return!e.match(n)}),this).map((function(r){if(r.indexOf(" > eval")>-1&&(r=r.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),-1===r.indexOf("@")&&-1===r.indexOf(":"))return new e({functionName:r});var t=/((.*".+"[^@]*)?[^@]*)(?:@)/,n=r.match(t),a=n&&n[1]?n[1]:void 0,i=this.extractLocation(r.replace(t,""));return new e({functionName:a,fileName:i[0],lineNumber:i[1],columnNumber:i[2],source:r})}),this)},parseOpera:function(e){return!e.stacktrace||e.message.indexOf("\n")>-1&&e.message.split("\n").length>e.stacktrace.split("\n").length?this.parseOpera9(e):e.stack?this.parseOpera11(e):this.parseOpera10(e)},parseOpera9:function(r){for(var t=/Line (\d+).*script (?:in )?(\S+)/i,n=r.message.split("\n"),a=[],i=2,o=n.length;i<o;i+=2){var s=t.exec(n[i]);s&&a.push(new e({fileName:s[2],lineNumber:s[1],source:n[i]}))}return a},parseOpera10:function(r){for(var t=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,n=r.stacktrace.split("\n"),a=[Line truncated
|
||||
Reference in new issue
Block a user