@gjsify/adwaita-core 0.64.12 → 0.64.13
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.
- package/lib/esm/action-row.js +1 -1
- package/lib/esm/conformance/action-row.js +1 -1
- package/lib/esm/conformance/expander-row.js +1 -0
- package/lib/esm/conformance/index.js +1 -1
- package/lib/esm/conformance/label-markup.js +1 -0
- package/lib/esm/conformance/label.js +1 -1
- package/lib/esm/conformance/split-button.js +1 -1
- package/lib/esm/default-translate.js +1 -0
- package/lib/esm/glib.js +1 -1
- package/lib/esm/index.js +1 -1
- package/lib/esm/label-markup.js +1 -0
- package/lib/esm/label.js +1 -1
- package/lib/esm/pango-markup.js +1 -1
- package/lib/esm/rows.js +1 -1
- package/lib/esm/split-button.js +1 -1
- package/lib/esm/widget-members.js +1 -1
- package/lib/types/action-row.d.ts +5 -1
- package/lib/types/conformance/action-row.d.ts +28 -0
- package/lib/types/conformance/expander-row.d.ts +40 -0
- package/lib/types/conformance/index.d.ts +6 -2
- package/lib/types/conformance/label-markup.d.ts +73 -0
- package/lib/types/conformance/split-button.d.ts +7 -3
- package/lib/types/default-translate.d.ts +6 -0
- package/lib/types/default-translate.spec.d.ts +2 -0
- package/lib/types/engine.d.ts +16 -0
- package/lib/types/glib.d.ts +40 -0
- package/lib/types/glib.spec.d.ts +2 -0
- package/lib/types/index.d.ts +9 -5
- package/lib/types/label-markup.d.ts +129 -0
- package/lib/types/label-markup.spec.d.ts +2 -0
- package/lib/types/label.d.ts +6 -0
- package/lib/types/pango-markup.d.ts +47 -2
- package/lib/types/rows.d.ts +27 -5
- package/lib/types/split-button.d.ts +28 -6
- package/lib/types/widget-members.d.ts +40 -5
- package/lib/types/widget-members.spec.d.ts +2 -0
- package/package.json +3 -3
package/lib/esm/action-row.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./_virtual/_rolldown/runtime.js";import{stringIsNotEmpty as
|
|
1
|
+
import"./_virtual/_rolldown/runtime.js";import{adwSubtitleWriteNotifies as e,stringIsNotEmpty as t}from"./glib.js";function deriveRowLabels(e){let n=e.title??``,r=e.subtitle??``;return{title:n,titleVisible:t(n),subtitle:r,subtitleVisible:t(r)}}var ActionRowState=class{constructor(){this._title=``,this._subtitle=``,this._activatableWidget=null,this._activatable=!1,this._widgetSensitive=!0}get state(){return{...deriveRowLabels({title:this._title,subtitle:this._subtitle}),activatable:this._activatable}}get title(){return this._title}setTitle(e){let t=e??``;return t===this._title?!1:(this._title=t,!0)}get subtitle(){return this._subtitle}setSubtitle(t){let n=e(this._subtitle,t);return this._subtitle=t??``,n}get activatableWidget(){return this._activatableWidget}setActivatableWidget(e,t=!0){return e===this._activatableWidget?!1:(this._activatableWidget=e,this._widgetSensitive=t,e!==null&&(this._activatable=t),!0)}setActivatableWidgetSensitive(e){if(this._activatableWidget===null)return!1;let t=!!e;return t===this._widgetSensitive?!1:(this._widgetSensitive=t,this.setActivatable(t))}get activatable(){return this._activatable}setActivatable(e){let t=!!e;return t===this._activatable?!1:(this._activatable=t,!0)}activate(){return this._activatableWidget}},SwitchRowState=class{constructor(){this._active=!1}get active(){return this._active}setActive(e){let t=!!e;return t===this._active?!1:(this._active=t,!0)}activate(){return this.setActive(!this._active)}};const n=!0;var ButtonRowState=class{constructor(){this._title=``,this._startIconName=``,this._endIconName=``}get state(){return{title:this._title,titleVisible:t(this._title),startIconName:this._startIconName,startIconVisible:t(this._startIconName),endIconName:this._endIconName,endIconVisible:t(this._endIconName),activatable:!0}}get title(){return this._title}setTitle(e){let t=e??``;return t===this._title?!1:(this._title=t,!0)}get startIconName(){return this._startIconName}setStartIconName(e){let t=e??``;return t===this._startIconName?!1:(this._startIconName=t,!0)}get endIconName(){return this._endIconName}setEndIconName(e){let t=e??``;return t===this._endIconName?!1:(this._endIconName=t,!0)}},WindowTitleState=class{constructor(){this._title=``,this._subtitle=``}get state(){return deriveRowLabels({title:this._title,subtitle:this._subtitle})}get title(){return this._title}setTitle(e){let t=e??``;return t===this._title?!1:(this._title=t,!0)}get subtitle(){return this._subtitle}setSubtitle(e){let t=e??``;return t===this._subtitle?!1:(this._subtitle=t,!0)}};export{ActionRowState,n as BUTTON_ROW_ACTIVATABLE,ButtonRowState,SwitchRowState,WindowTitleState,deriveRowLabels};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=[{text:`Wi-Fi`,visible:!0,rule:`an ordinary label shows`},{text:``,visible:!1,rule:`the EMPTY string hides the label — the half both ports dropped for titles`},{text:null,visible:!1,rule:"an unset property hides it too (`string &&` guards the NULL)"},{text:` `,visible:!0,rule:"ONE SPACE IS VISIBLE — `string[0]` reads a byte, it never trims"},{text:` `,visible:!0,rule:`any non-NUL first byte counts, tabs included`},{text:`0`,visible:!0,rule:`a falsy-looking string is still a string`},{text:`Ελληνικά`,visible:!0,rule:`non-ASCII is not special — the check is on the first byte`}],t=[{name:`default`,steps:[],activatable:!1,activatableWidget:null,rule:`the template starts unactivatable (adw-action-row.ui:5)`},{name:`sensitive-widget-activates`,steps:[{op:`set-activatable-widget`,widget:`switch`}],activatable:!0,activatableWidget:`switch`,rule:`SYNC_CREATE copies the widget’s sensitive (TRUE) into activatable`},{name:`insensitive-widget-does-not-activate`,steps:[{op:`set-activatable-widget`,widget:`switch`,sensitive:!1}],activatable:!1,activatableWidget:`switch`,rule:`the bind reads sensitive — an insensitive widget leaves the row unactivatable`},{name:`sensitive-flip-follows`,steps:[{op:`set-activatable-widget`,widget:`switch`},{op:`set-widget-sensitive`,sensitive:!1}],activatable:!1,activatableWidget:`switch`,rule:`the binding is LIVE — desensitising the widget deactivates the row`},{name:`unsetting-keeps-activatable`,steps:[{op:`set-activatable-widget`,widget:`switch`},{op:`set-activatable-widget`,widget:null}],activatable:!0,activatableWidget:null,rule:`clearing only unbinds (C:709) — “unsetting it won’t change the row’s activatability”`},{name:`unbound-sensitivity-is-inert`,steps:[{op:`set-activatable-widget`,widget:`switch`},{op:`set-activatable-widget`,widget:null},{op:`set-widget-sensitive`,sensitive:!1}],activatable:!0,activatableWidget:null,rule:`with no widget there is no binding left to carry a sensitive change`},{name:`rebinding-resyncs`,steps:[{op:`set-activatable-widget`,widget:`switch`},{op:`set-activatable-widget`,widget:null},{op:`set-activatable-widget`,widget:`button`,sensitive:!1}],activatable:!1,activatableWidget:`button`,rule:`a new binding re-syncs from the NEW widget, sticky value and all`},{name:`direct-write-lands`,steps:[{op:`set-activatable-widget`,widget:`switch`},{op:`set-activatable`,activatable:!1}],activatable:!1,activatableWidget:`switch`,rule:`the binding is one-way, so a direct write is not refused`},{name:`direct-write-is-overwritten`,steps:[{op:`set-activatable-widget`,widget:`switch`},{op:`set-activatable`,activatable:!1},{op:`set-widget-sensitive`,sensitive:!1},{op:`set-widget-sensitive`,sensitive:!0}],activatable:!0,activatableWidget:`switch`,rule:`…and the next sensitive CHANGE overwrites it, because the source wins`},{name:`unchanged-sensitive-does-not-re-assert`,steps:[{op:`set-activatable-widget`,widget:`switch`},{op:`set-activatable`,activatable:!1},{op:`set-widget-sensitive`,sensitive:!0}],activatable:!1,activatableWidget:`switch`,rule:`a re-write of the sensitive it already had emits no notify, so the binding carries nothing`}],n=[{name:`default`,steps:[],active:!1,emitted:[],rule:`the pspec default is FALSE (C:141-143)`},{name:`programmatic-set-notifies`,steps:[{op:`set-active`,active:!0}],active:!0,emitted:[!0],rule:`a programmatic set reaches the slider, whose notify is the row’s notify`},{name:`unchanged-set-is-silent`,steps:[{op:`set-active`,active:!1}],active:!1,emitted:[],rule:`the equality early-return at C:224-225 fires before anything is written`},{name:`repeat-set-is-silent`,steps:[{op:`set-active`,active:!0},{op:`set-active`,active:!0}],active:!0,emitted:[!0],rule:`only the first of two identical sets changes anything`},{name:`activate-row-toggles`,steps:[{op:`activate-row`}],active:!0,emitted:[!0],rule:`activating the row inverts the state — the row IS the switch’s label`},{name:`activate-row-toggles-back`,steps:[{op:`activate-row`},{op:`activate-row`}],active:!1,emitted:[!0,!1],rule:`and it inverts again, notifying each time`},{name:`mixed-paths-notify-alike`,steps:[{op:`set-active`,active:!0},{op:`activate-row`},{op:`set-active`,active:!0}],active:!0,emitted:[!0,!1,!0],rule:"one notify path for both origins — no `interactive` flag exists here"}],r=[{startIconName:null,endIconName:null,startIconVisible:!1,endIconVisible:!1,rule:`both default to "" (C:255-256) and both images stay hidden`},{startIconName:`list-add-symbolic`,endIconName:null,startIconVisible:!0,endIconVisible:!1,rule:`a leading icon alone`},{startIconName:null,endIconName:`go-next-symbolic`,startIconVisible:!1,endIconVisible:!0,rule:`a TRAILING icon alone — the property neither renderer had`},{startIconName:`document-open-symbolic`,endIconName:`external-link-symbolic`,startIconVisible:!0,endIconVisible:!0,rule:`both at once, the "Open in Files ›" shape the property exists for`},{startIconName:``,endIconName:``,startIconVisible:!1,endIconVisible:!1,rule:`the empty string hides an icon exactly like an unset one`}],i=[{declared:null,activatable:!0,rule:`nothing declared — the template value stands`},{declared:``,activatable:!0,rule:`a bare attribute changes nothing, there is nothing to change`},{declared:`false`,activatable:!0,rule:`THE INVENTED OPT-OUT: libadwaita has no such switch`},{declared:`true`,activatable:!0,rule:`and no such switch in the other direction either`}],a=[{name:`default`,steps:[],title:``,titleVisible:!1,subtitle:``,subtitleVisible:!1,notified:[],rule:"both labels start `visible=False` (adw-window-title.ui:15, :26)"},{name:`title-only`,steps:[{op:`set-title`,value:`Documents`}],title:`Documents`,titleVisible:!0,subtitle:``,subtitleVisible:!1,notified:[`title`],rule:`a header bar with no subtitle must not reserve a subtitle line`},{name:`subtitle-only`,steps:[{op:`set-subtitle`,value:`3 selected`}],title:``,titleVisible:!1,subtitle:`3 selected`,subtitleVisible:!0,notified:[`subtitle`],rule:`THE TITLE HIDES TOO — the rule neither renderer applied to the title`},{name:`both`,steps:[{op:`set-title`,value:`Documents`},{op:`set-subtitle`,value:`3 selected`}],title:`Documents`,titleVisible:!0,subtitle:`3 selected`,subtitleVisible:!0,notified:[`title`,`subtitle`],rule:`the ordinary two-line case`},{name:`cleared-title-hides-again`,steps:[{op:`set-title`,value:`Documents`},{op:`set-title`,value:``}],title:``,titleVisible:!1,subtitle:``,subtitleVisible:!1,notified:[`title`,`title`],rule:`clearing is a change, so it hides AND notifies`},{name:`unchanged-set-is-silent`,steps:[{op:`set-title`,value:`Documents`},{op:`set-title`,value:`Documents`}],title:`Documents`,titleVisible:!0,subtitle:``,subtitleVisible:!1,notified:[`title`],rule:"the `g_strcmp0` early-return at C:203-204 drops the second set"},{name:`space-title-stays-visible`,steps:[{op:`set-title`,value:` `}],title:` `,titleVisible:!0,subtitle:``,subtitleVisible:!1,notified:[`title`],rule:"`title && title[0]` reads one byte — a space is a visible title"},{name:`null-over-empty-is-silent`,steps:[{op:`set-title`,value:null}],title:``,titleVisible:!1,subtitle:``,subtitleVisible:!1,notified:[],rule:'DIVERGENCE: libadwaita notifies here, via `g_strcmp0 ("", NULL) == 1`'}];export{t as ACTION_ROW_ACTIVATION_VECTORS,i as BUTTON_ROW_ACTIVATABLE_VECTORS,r as BUTTON_ROW_ICON_VECTORS,e as LABEL_VISIBILITY_VECTORS,n as SWITCH_ROW_NOTIFY_VECTORS,a as WINDOW_TITLE_VECTORS};
|
|
1
|
+
const e=[{text:`Wi-Fi`,visible:!0,rule:`an ordinary label shows`},{text:``,visible:!1,rule:`the EMPTY string hides the label — the half both ports dropped for titles`},{text:null,visible:!1,rule:"an unset property hides it too (`string &&` guards the NULL)"},{text:` `,visible:!0,rule:"ONE SPACE IS VISIBLE — `string[0]` reads a byte, it never trims"},{text:` `,visible:!0,rule:`any non-NUL first byte counts, tabs included`},{text:`0`,visible:!0,rule:`a falsy-looking string is still a string`},{text:`Ελληνικά`,visible:!0,rule:`non-ASCII is not special — the check is on the first byte`}],t=[{name:`default`,steps:[],activatable:!1,activatableWidget:null,rule:`the template starts unactivatable (adw-action-row.ui:5)`},{name:`sensitive-widget-activates`,steps:[{op:`set-activatable-widget`,widget:`switch`}],activatable:!0,activatableWidget:`switch`,rule:`SYNC_CREATE copies the widget’s sensitive (TRUE) into activatable`},{name:`insensitive-widget-does-not-activate`,steps:[{op:`set-activatable-widget`,widget:`switch`,sensitive:!1}],activatable:!1,activatableWidget:`switch`,rule:`the bind reads sensitive — an insensitive widget leaves the row unactivatable`},{name:`sensitive-flip-follows`,steps:[{op:`set-activatable-widget`,widget:`switch`},{op:`set-widget-sensitive`,sensitive:!1}],activatable:!1,activatableWidget:`switch`,rule:`the binding is LIVE — desensitising the widget deactivates the row`},{name:`unsetting-keeps-activatable`,steps:[{op:`set-activatable-widget`,widget:`switch`},{op:`set-activatable-widget`,widget:null}],activatable:!0,activatableWidget:null,rule:`clearing only unbinds (C:709) — “unsetting it won’t change the row’s activatability”`},{name:`unbound-sensitivity-is-inert`,steps:[{op:`set-activatable-widget`,widget:`switch`},{op:`set-activatable-widget`,widget:null},{op:`set-widget-sensitive`,sensitive:!1}],activatable:!0,activatableWidget:null,rule:`with no widget there is no binding left to carry a sensitive change`},{name:`rebinding-resyncs`,steps:[{op:`set-activatable-widget`,widget:`switch`},{op:`set-activatable-widget`,widget:null},{op:`set-activatable-widget`,widget:`button`,sensitive:!1}],activatable:!1,activatableWidget:`button`,rule:`a new binding re-syncs from the NEW widget, sticky value and all`},{name:`direct-write-lands`,steps:[{op:`set-activatable-widget`,widget:`switch`},{op:`set-activatable`,activatable:!1}],activatable:!1,activatableWidget:`switch`,rule:`the binding is one-way, so a direct write is not refused`},{name:`direct-write-is-overwritten`,steps:[{op:`set-activatable-widget`,widget:`switch`},{op:`set-activatable`,activatable:!1},{op:`set-widget-sensitive`,sensitive:!1},{op:`set-widget-sensitive`,sensitive:!0}],activatable:!0,activatableWidget:`switch`,rule:`…and the next sensitive CHANGE overwrites it, because the source wins`},{name:`unchanged-sensitive-does-not-re-assert`,steps:[{op:`set-activatable-widget`,widget:`switch`},{op:`set-activatable`,activatable:!1},{op:`set-widget-sensitive`,sensitive:!0}],activatable:!1,activatableWidget:`switch`,rule:`a re-write of the sensitive it already had emits no notify, so the binding carries nothing`}],n=[{name:`default`,steps:[],active:!1,emitted:[],rule:`the pspec default is FALSE (C:141-143)`},{name:`programmatic-set-notifies`,steps:[{op:`set-active`,active:!0}],active:!0,emitted:[!0],rule:`a programmatic set reaches the slider, whose notify is the row’s notify`},{name:`unchanged-set-is-silent`,steps:[{op:`set-active`,active:!1}],active:!1,emitted:[],rule:`the equality early-return at C:224-225 fires before anything is written`},{name:`repeat-set-is-silent`,steps:[{op:`set-active`,active:!0},{op:`set-active`,active:!0}],active:!0,emitted:[!0],rule:`only the first of two identical sets changes anything`},{name:`activate-row-toggles`,steps:[{op:`activate-row`}],active:!0,emitted:[!0],rule:`activating the row inverts the state — the row IS the switch’s label`},{name:`activate-row-toggles-back`,steps:[{op:`activate-row`},{op:`activate-row`}],active:!1,emitted:[!0,!1],rule:`and it inverts again, notifying each time`},{name:`mixed-paths-notify-alike`,steps:[{op:`set-active`,active:!0},{op:`activate-row`},{op:`set-active`,active:!0}],active:!0,emitted:[!0,!1,!0],rule:"one notify path for both origins — no `interactive` flag exists here"}],r=[{startIconName:null,endIconName:null,startIconVisible:!1,endIconVisible:!1,rule:`both default to "" (C:255-256) and both images stay hidden`},{startIconName:`list-add-symbolic`,endIconName:null,startIconVisible:!0,endIconVisible:!1,rule:`a leading icon alone`},{startIconName:null,endIconName:`go-next-symbolic`,startIconVisible:!1,endIconVisible:!0,rule:`a TRAILING icon alone — the property neither renderer had`},{startIconName:`document-open-symbolic`,endIconName:`external-link-symbolic`,startIconVisible:!0,endIconVisible:!0,rule:`both at once, the "Open in Files ›" shape the property exists for`},{startIconName:``,endIconName:``,startIconVisible:!1,endIconVisible:!1,rule:`the empty string hides an icon exactly like an unset one`}],i=[{declared:null,activatable:!0,rule:`nothing declared — the template value stands`},{declared:``,activatable:!0,rule:`a bare attribute changes nothing, there is nothing to change`},{declared:`false`,activatable:!0,rule:`THE INVENTED OPT-OUT: libadwaita has no such switch`},{declared:`true`,activatable:!0,rule:`and no such switch in the other direction either`}],a=[{name:`default`,steps:[],title:``,titleVisible:!1,subtitle:``,subtitleVisible:!1,notified:[],rule:"both labels start `visible=False` (adw-window-title.ui:15, :26)"},{name:`title-only`,steps:[{op:`set-title`,value:`Documents`}],title:`Documents`,titleVisible:!0,subtitle:``,subtitleVisible:!1,notified:[`title`],rule:`a header bar with no subtitle must not reserve a subtitle line`},{name:`subtitle-only`,steps:[{op:`set-subtitle`,value:`3 selected`}],title:``,titleVisible:!1,subtitle:`3 selected`,subtitleVisible:!0,notified:[`subtitle`],rule:`THE TITLE HIDES TOO — the rule neither renderer applied to the title`},{name:`both`,steps:[{op:`set-title`,value:`Documents`},{op:`set-subtitle`,value:`3 selected`}],title:`Documents`,titleVisible:!0,subtitle:`3 selected`,subtitleVisible:!0,notified:[`title`,`subtitle`],rule:`the ordinary two-line case`},{name:`cleared-title-hides-again`,steps:[{op:`set-title`,value:`Documents`},{op:`set-title`,value:``}],title:``,titleVisible:!1,subtitle:``,subtitleVisible:!1,notified:[`title`,`title`],rule:`clearing is a change, so it hides AND notifies`},{name:`unchanged-set-is-silent`,steps:[{op:`set-title`,value:`Documents`},{op:`set-title`,value:`Documents`}],title:`Documents`,titleVisible:!0,subtitle:``,subtitleVisible:!1,notified:[`title`],rule:"the `g_strcmp0` early-return at C:203-204 drops the second set"},{name:`space-title-stays-visible`,steps:[{op:`set-title`,value:` `}],title:` `,titleVisible:!0,subtitle:``,subtitleVisible:!1,notified:[`title`],rule:"`title && title[0]` reads one byte — a space is a visible title"},{name:`null-over-empty-is-silent`,steps:[{op:`set-title`,value:null}],title:``,titleVisible:!1,subtitle:``,subtitleVisible:!1,notified:[],rule:'DIVERGENCE: libadwaita notifies here, via `g_strcmp0 ("", NULL) == 1`'}],o=[{name:`null-notifies-every-time`,steps:[{write:null,notified:!0,subtitle:``},{write:null,notified:!0,subtitle:``}],rule:`g_strcmp0 ("", NULL) != 0, so a NULL write is never the early return`},{name:`empty-is-idempotent-on-a-fresh-row`,steps:[{write:``,notified:!1,subtitle:``},{write:``,notified:!1,subtitle:``}],rule:`the label text and the write are both "": the guard returns`},{name:`empty-after-null-is-silent`,steps:[{write:null,notified:!0,subtitle:``},{write:``,notified:!1,subtitle:``}],rule:`null left the label at "", so "" has nothing to change`},{name:`text-notifies-once`,steps:[{write:`x`,notified:!0,subtitle:`x`},{write:`x`,notified:!1,subtitle:`x`}],rule:`an ordinary string is idempotent`},{name:`clearing-with-null-or-empty`,steps:[{write:`x`,notified:!0,subtitle:`x`},{write:null,notified:!0,subtitle:``},{write:`x`,notified:!0,subtitle:`x`},{write:``,notified:!0,subtitle:``}],rule:`either clears a held subtitle, and each is a real change`}];export{t as ACTION_ROW_ACTIVATION_VECTORS,o as ACTION_ROW_SUBTITLE_VECTORS,i as BUTTON_ROW_ACTIVATABLE_VECTORS,r as BUTTON_ROW_ICON_VECTORS,e as LABEL_VISIBILITY_VECTORS,n as SWITCH_ROW_NOTIFY_VECTORS,a as WINDOW_TITLE_VECTORS};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={expanded:!1,enableExpansion:!0},t=[{name:`a full round through disabling and re-enabling (C:264, 303-312)`,steps:[{op:`expanded`,value:!0,notified:[`expanded`],expanded:!0,enableExpansion:!0,rule:`expanding an enabled row notifies expanded only`},{op:`expanded`,value:!0,notified:[],expanded:!0,enableExpansion:!0,rule:`the same value again is a no-op`},{op:`enable-expansion`,value:!0,notified:[],expanded:!0,enableExpansion:!0,rule:`enabling an enabled row returns before the store, so it neither notifies nor re-expands`},{op:`enable-expansion`,value:!1,notified:[`expanded`,`enable-expansion`],expanded:!1,enableExpansion:!1,rule:`disabling COLLAPSES, and the derived property notifies FIRST`},{op:`enable-expansion`,value:!1,notified:[],expanded:!1,enableExpansion:!1,rule:`disabling a disabled row is a no-op`},{op:`expanded`,value:!0,notified:[],expanded:!1,enableExpansion:!1,rule:`expanded = true while disabled coerces to false over the held false: refused, silent`},{op:`expanded`,value:!1,notified:[],expanded:!1,enableExpansion:!1,rule:`expanded = false while disabled is the held value again: silent`},{op:`enable-expansion`,value:!0,notified:[`expanded`,`enable-expansion`],expanded:!0,enableExpansion:!0,rule:`enabling EXPANDS, even though nobody asked for it — set_expanded (enable_expansion)`},{op:`enable-expansion`,value:!0,notified:[],expanded:!0,enableExpansion:!0,rule:`enabling an enabled row is a no-op`},{op:`expanded`,value:!1,notified:[`expanded`],expanded:!1,enableExpansion:!0,rule:`collapsing an enabled row notifies expanded only`},{op:`expanded`,value:!1,notified:[],expanded:!1,enableExpansion:!0,rule:`collapsing a collapsed row is a no-op`}]},{name:`disabling a collapsed row`,steps:[{op:`enable-expansion`,value:!1,notified:[`enable-expansion`],expanded:!1,enableExpansion:!1,rule:`set_expanded (FALSE) over a held FALSE is the equal-return, so expanded stays silent`}]}],n=[{expanded:!0,enableExpansion:!1,resultExpanded:!1,rule:`a disabled row cannot be constructed open`},{expanded:!0,enableExpansion:!0,resultExpanded:!0,rule:`an enabled row can`},{expanded:!1,enableExpansion:!1,resultExpanded:!1,rule:`disabled and collapsed is just disabled`}];export{n as EXPANDER_ROW_CONSTRUCT_VECTORS,e as EXPANDER_ROW_INITIAL,t as EXPANDER_ROW_VECTORS};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ABOUT_DIALOG_DOOR_VECTORS as e,RELEASE_NOTES_VECTORS as t,driveAboutDialogDoorVectors as n,driveReleaseNotesVectors as r}from"./about-dialog-doors.js";import{ABOUT_DIALOG_CREDITS_LEGAL_VECTORS as i,ABOUT_DIALOG_DETAILS_VECTORS as a,ABOUT_DIALOG_HEADER_VECTORS as o,ABOUT_DIALOG_LABEL_VECTORS as s,ABOUT_DIALOG_SUPPORT_VECTORS as c,ACKNOWLEDGEMENT_SECTIONS_VECTORS as l,CREDITS_SECTIONS_VECTORS as u,CREDIT_PERSON_VECTORS as d,LEGAL_SECTIONS_VECTORS as f,LEGAL_SECTION_VECTORS as p,LICENSE_INFO_VECTORS as m,LICENSE_SETTER_VECTORS as h,LICENSE_SPDX_VECTORS as g,LICENSE_TEXT_VECTORS as _,TRANSLATOR_CREDITS_VECTORS as v}from"./about-dialog.js";import{ACCENT_COLOR_VECTORS as y,NEAREST_ACCENT_VECTORS as b}from"./accent.js";import{ACTION_ROW_ACTIVATION_VECTORS as x,BUTTON_ROW_ACTIVATABLE_VECTORS as S,BUTTON_ROW_ICON_VECTORS as C,LABEL_VISIBILITY_VECTORS as w,SWITCH_ROW_NOTIFY_VECTORS as T,WINDOW_TITLE_VECTORS as E}from"./action-row.js";import{ADJUSTMENT_AUTHORED_VECTORS as D,ADJUSTMENT_PARSE_VECTORS as O,ADJUSTMENT_SNAP_VECTORS as k}from"./adjustment.js";import{APPEARANCE_HANDOFF_VECTORS as A}from"./appearance.js";import{APPLICATION_ROWS as j,APPLICATION_VECTORS as M,driveApplicationVectors as N,unlockedVfuncNames as P,unprovenVfuncs as F}from"./application.js";import{AVATAR_COLOR_VECTORS as I,AVATAR_FONT_SIZE_VECTORS as L,AVATAR_ICON_SIZE_VECTORS as R,AVATAR_INITIALS_VECTORS as z,AVATAR_MODE_VECTORS as B}from"./avatar.js";import{BANNER_BUTTON_STYLE_PARSE_VECTORS as V,BANNER_BUTTON_STYLE_VECTORS as H,BANNER_BUTTON_TEXT_VECTORS as U,BANNER_BUTTON_VISIBLE_VECTORS as W,BANNER_DEFAULT_VECTORS as G}from"./banner.js";import{BOX_ALL_VECTORS as K,BOX_ROW_VECTORS as q,BOX_SELECT_VECTORS as J}from"./box-selection.js";import{BOX_ORIENTATION_VECTORS as Y,BOX_SPACING_VECTORS as X}from"./box.js";import{BREAKPOINT_PICK_VECTORS as Z,BREAKPOINT_TRANSITION_VECTORS as Q}from"./breakpoint-bin.js";import{BUTTON_CONTENT_DEFAULT_VECTORS as $,BUTTON_CONTENT_ELLIPSIZE_VECTORS as ee,BUTTON_CONTENT_ICON_VECTORS as te,BUTTON_CONTENT_LABEL_VECTORS as ne,BUTTON_CONTENT_STYLE_TARGET_VECTORS as re,BUTTON_CONTENT_TEXT_VECTORS as ie}from"./button-content.js";import{BUTTON_STYLE_CLASS_VECTORS as ae}from"./button.js";import{CALENDAR_DAYS_VECTORS as oe,CALENDAR_MARK_VECTORS as se,CALENDAR_NAVIGATION_VECTORS as ce,CALENDAR_SELECT_VECTORS as le,CALENDAR_STEP_VECTORS as ue,CALENDAR_WEEK_VECTORS as de}from"./calendar.js";import{CAROUSEL_DOOR_VECTORS as fe,driveCarouselDoorVectors as pe}from"./carousel-doors.js";import{CAROUSEL_CLAMP_VECTORS as me,CAROUSEL_NAVIGATE_VECTORS as he,CAROUSEL_PAGE_ALLOCATION_VECTORS as ge,CAROUSEL_PAGE_AT_POSITION_VECTORS as _e,CAROUSEL_PAGE_LIST_VECTORS as ve,CAROUSEL_PROPERTY_DEFAULT_VECTORS as ye,CAROUSEL_RANGE_VECTORS as be,CAROUSEL_REORDER_SHIFT_VECTORS as xe,CAROUSEL_REVEAL_VECTORS as Se,CAROUSEL_SIZES_FROM_SNAP_POINTS_VECTORS as Ce,CAROUSEL_SNAP_POINT_VECTORS as we,CAROUSEL_WHEEL_LOCKOUT_VECTORS as Te,CAROUSEL_WHEEL_VECTORS as Ee}from"./carousel.js";import{CHECK_GROUP_VECTORS as De,driveCheckGroupVectors as Oe}from"./check-group.js";import{RADIO_GROUP_VECTORS as ke}from"./checks.js";import{CLAMP_ALLOCATE_VECTORS as Ae,CLAMP_CHILD_SIZE_VECTORS as je,CLAMP_PROPERTY_VECTORS as Me,CLAMP_SIZE_FROM_CHILD_VECTORS as Ne,CLAMP_THRESHOLD_VECTORS as Pe,SPINNER_GEOMETRY_VECTORS as Fe,SPINNER_SIZE_VECTORS as Ie,TOOLBAR_VIEW_ALLOCATE_VECTORS as Le,TOOLBAR_VIEW_CLASS_VECTORS as Re,TOOLBAR_VIEW_CONTENT_FOR_SIZE_VECTORS as ze,TOOLBAR_VIEW_MEASURE_VECTORS as Be}from"./chrome.js";import{ENTRY_MAX_LENGTH_VECTORS as Ve,ENTRY_ROW_ACTIVATION_VECTORS as He,ENTRY_ROW_GUARD_VECTORS as Ue,ENTRY_ROW_STATE_VECTORS as We,ENTRY_TEXT_LENGTH_VECTORS as Ge,PASSWORD_ENTRY_ROW_VECTORS as Ke,PASSWORD_REVEAL_GUARD_VECTORS as qe}from"./entry-row.js";import{SHARED_TREE_BLOCKS_WITHOUT_EXPECTATIONS as Je,SHARED_TREE_TABLES as Ye,authoredNodes as Xe,authoredTags as Ze,reachedTables as Qe,sharedTreeExpectations as $e,sharedTreePlacements as et,subjectIndexOf as tt,withoutPlacements as nt}from"./shared-trees.js";import{BREAKPOINT_VECTOR_SIZES as rt,CONSTRUCT_KINDS as it,CONSTRUCT_VECTORS as at,EXTERN_VECTOR_CLASS as ot,UnsupportedConstructError as st,assertTreeConstructs as ct,constructUsesOf as lt,driveConstructVectors as ut}from"./constructs.js";import{DATA_GRID_CELL_TEXT_VECTORS as dt,DATA_GRID_COLUMN_CLASS_VECTORS as ft,DATA_GRID_COLUMN_NORMALIZE_VECTORS as pt,DATA_GRID_INTERACTIVE_VECTORS as mt,DATA_GRID_TRACK_VECTORS as ht,DATA_GRID_VARIANT_VECTORS as gt}from"./data-grid.js";import{BOTTOM_SHEET_BOTTOM_BAR_VECTORS as _t,BOTTOM_SHEET_CLOSE_VECTORS as vt,BOTTOM_SHEET_OPEN_VECTORS as yt,BOTTOM_SHEET_PRESENTATION_VECTORS as bt,BOTTOM_SHEET_SWIPE_TRACKER_VECTORS as xt,runBottomSheetBottomBarSteps as St,runBottomSheetSteps as Ct}from"./dialog.js";import{FILE_CHOOSER_ROWS as wt,FILE_CHOOSER_VECTORS as Tt,driveFileChooserVectors as Et,promisifyFileChooser as Dt}from"./file-chooser.js";import{GDK_CLIPBOARD_ROWS as Ot,GDK_CLIPBOARD_VECTORS as kt,driveGdkClipboardVectors as At}from"./gdk-clipboard.js";import{GIO_APP_INFO_ROWS as jt,GIO_APP_INFO_VECTORS as Mt,driveGioAppInfoVectors as Nt}from"./gio-app-info.js";import{GIO_RESOURCE_ROWS as Pt,GIO_RESOURCE_VECTORS as Ft,driveGioResourceVectors as It,gioResourceFixtures as Lt}from"./gio-resource.js";import{GLIB_LANGUAGE_ROWS as Rt,GLIB_LANGUAGE_TAG_ROWS as zt,GLIB_LANGUAGE_TAG_VECTORS as Bt,GLIB_LANGUAGE_VECTORS as Vt,driveGLibLanguageTagVectors as Ht,driveGLibLanguageVectors as Ut}from"./glib-language.js";import{GLIB_PATH_ROWS as Wt,GLIB_PATH_VECTORS as Gt,driveGLibPathVectors as Kt}from"./glib-paths.js";import{GLIB_TIMER_ROWS as qt,GLIB_TIMER_VECTORS as Jt,driveGLibTimerVectors as Yt}from"./glib-timers.js";import{GLIB_UNICHAR_ROWS as Xt,GLIB_UNICHAR_VECTORS as Zt,driveGLibUnicharVectors as Qt}from"./glib-unichar.js";import{GLIB_URI_ROWS as $t,GLIB_URI_VECTORS as en,driveGLibUriVectors as tn}from"./glib-uri.js";import{GLIB_VARIANT_ROWS as nn,GLIB_VARIANT_VECTORS as rn,driveGLibVariantVectors as an}from"./glib-variant.js";import{GOBJECT_ROWS as on,GOBJECT_VECTORS as sn,driveGObjectVectors as cn}from"./gobject.js";import{GRID_NAVIGATION_GEOMETRY as ln,GRID_NAVIGATION_VECTORS as un}from"./grid-navigation.js";import{GTK_CSS_PIXEL_TOLERANCE as dn,GTK_CSS_ROWS as fn,GTK_CSS_VECTORS as pn,driveGtkCssVectors as mn}from"./gtk-css.js";import{GTK_PLATFORM_ROWS as hn,GTK_PLATFORM_VECTORS as gn,driveGtkPlatformVectors as _n}from"./gtk-platform.js";import{HEADER_BAR_PACK_VECTORS as vn,HEADER_BAR_TITLE_SOURCE_VECTORS as yn,HEADER_BAR_TITLE_WIDGET_VECTORS as bn}from"./header-bar.js";import{ICON_FIXTURE_PATH as xn,ICON_THEME_RESOURCE_ROWS as Sn,ICON_THEME_RESOURCE_VECTORS as Cn,driveIconThemeResourceVectors as wn}from"./icon-theme-resources.js";import{ROW_ACCESSOR_VECTORS as Tn,driveRowAccessorVectors as En}from"./row-accessors.js";import{COMBO_CHOOSER_VECTORS as Dn,COMBO_ITEMS_CHANGED_VECTORS as On,COMBO_SELECTION_VECTORS as kn,TOGGLE_ACTIVE_NAME_VECTORS as An}from"./rows.js";import{VIEW_STACK_ICON_NAME_VECTORS as jn,VIEW_STACK_PAGE_VECTORS as Mn,VIEW_STACK_VECTORS as Nn}from"./view-stack.js";import{NAVIGATION_VIEW_VECTORS as Pn,collectNavigationState as Fn,navigationEventLog as In,runNavigationSteps as Ln}from"./navigation-view.js";import{SIDEBAR_ACTIVATION_VECTORS as Rn,SIDEBAR_CLAMP_VECTORS as zn,SIDEBAR_FILTER_VECTORS as Bn,SIDEBAR_ITEMS_CHANGED_VECTORS as Vn,SIDEBAR_ITEM_FLAG_VECTORS as Hn,SIDEBAR_MODEL_VECTORS as Un,SIDEBAR_MODE_VECTORS as Wn}from"./sidebar.js";import{ADW_LENGTH_UNIT_VECTORS as Gn,GLIB_CLAMP_VECTORS as Kn,NATURAL_SIDEBAR_WIDTH_VECTORS as qn,NAVIGATION_ACTION_VECTORS as Jn,NAVIGATION_SPLIT_VIEW_LAYOUT_VECTORS as Yn,NAVIGATION_STACK_VECTORS as Xn,OVERLAY_COLLAPSE_VECTORS as Zn,OVERLAY_SPLIT_VIEW_LAYOUT_VECTORS as Qn,OVERLAY_SWIPE_AREA_VECTORS as $n,OVERLAY_SWIPE_CANCEL_VECTORS as er,OVERLAY_SWIPE_RELEASE_VECTORS as tr,OVERLAY_SWIPE_SNAP_POINT_VECTORS as nr,OVERLAY_SWIPE_START_VECTORS as rr,SIDEBAR_BOUNDS_VECTORS as ir,SIDEBAR_WIDTH_VECTORS as ar,SPLIT_VIEW_MEASURE_VECTORS as or,TAGS_CONFLICT_VECTORS as sr}from"./split-view.js";import{MENU_BUTTON_DIRECTION_VECTORS as cr,SPLIT_BUTTON_CONTENT_VECTORS as lr,SPLIT_BUTTON_DIRECTION_VECTORS as ur,SPLIT_BUTTON_DROPDOWN_VECTORS as dr,SPLIT_BUTTON_MENU_ACTIVATION_VECTORS as fr,SPLIT_BUTTON_ROOT_STATE_VECTORS as pr,SPLIT_BUTTON_STYLE_CLASS_VECTORS as mr,SPLIT_BUTTON_TOOLTIP_VECTORS as hr}from"./split-button.js";import{LIST_ITEMS_CHANGED_VECTORS as gr,LIST_MODEL_OWNERSHIP_VECTORS as _r,LIST_NORMALIZE_VECTORS as vr,LIST_PARSE_VECTORS as yr,TAB_PAGES_ITEMS_CHANGED_VECTORS as br,applyListMutation as xr,applyListReadback as Sr,listModelForInput as Cr,replayTabPagesAsSplices as wr}from"./list.js";import{COLUMN_VIEW_SORT_VECTORS as Tr,GRID_VIEW_COLUMN_VECTORS as Er,LIST_VIEW_SELECT_VECTORS as Dr}from"./list-view.js";import{TREE_EXPANDER_LAYOUT_VECTORS as Or,TREE_EXPANDER_SHORTCUT_VECTORS as kr}from"./tree-expander.js";import{MENU_DETAILED_ACTION_VECTORS as Ar,MENU_FLATTEN_VECTORS as jr,MENU_ITEM_STATE_VECTORS as Mr,MENU_LABEL_TEXT_VECTORS as Nr,MENU_NORMALIZE_VECTORS as Pr,MENU_PARSE_VECTORS as Fr,MENU_REFUSAL_VECTORS as Ir}from"./menu.js";import{INLINE_TOGGLE_VECTORS as Lr,INLINE_TOOLTIP_VECTORS as Rr,VIEW_SWITCHER_BADGE_VECTORS as zr,VIEW_SWITCHER_BAR_REVEAL_VECTORS as Br,VIEW_SWITCHER_BAR_VECTORS as Vr,VIEW_SWITCHER_BUTTON_VECTORS as Hr,VIEW_SWITCHER_BUTTON_VISIBILITY_VECTORS as Ur,VIEW_SWITCHER_DRAG_VECTORS as Wr,VIEW_SWITCHER_ICON_VECTORS as Gr,VIEW_SWITCHER_MNEMONIC_VECTORS as Kr,VIEW_SWITCHER_REBUILD_VECTORS as qr,VIEW_SWITCHER_SELECTION_VECTORS as Jr,VIEW_SWITCHER_SIDEBAR_SECTION_VECTORS as Yr,createViewSwitcherClock as Xr}from"./view-switcher.js";import{TABS_REVEALED_VECTORS as Zr,TAB_CLOSE_VISIBLE_VECTORS as Qr,TAB_DESCENDANT_VECTORS as $r,TAB_ICON_STATE_VECTORS as ei,TAB_PAGE_DESCRIPTOR_VECTORS as ti,TAB_SEARCH_VECTORS as ni,TAB_SUCCESSOR_VECTORS as ri,TAB_TOOLTIP_VECTORS as ii,TAB_VIEW_VECTORS as ai,applyTabViewOp as oi,seedTabViewPages as si,tabViewClosing as ci,tabViewOrder as li}from"./tab-view.js";import{CASE_FOLD_VECTORS as ui,MAKE_COMPARABLE_VECTORS as di,PREFERENCES_GROUP_HEADER_VECTORS as fi,PREFERENCES_SEARCH_PAGES as pi,PREFERENCES_SEARCH_VECTORS as mi,ROW_MATCH_VECTORS as hi,SEARCH_CORPUS_VECTORS as gi,SEARCH_ROW_SUBTITLE_VECTORS as _i,STRIP_MARKUP_VECTORS as vi,STRIP_MNEMONIC_VECTORS as yi}from"./preferences.js";import{POPOVER_KEY_VECTORS as bi,POPOVER_SURFACE_VECTORS as xi}from"./popover.js";import{SHORTCUT_LABEL_VECTORS as Si,formatShortcutLabelNodes as Ci}from"./shortcut-label.js";import{SPINNER_ARC_ENVELOPE as wi,SPINNER_ARC_PHASE_VECTORS as Ti,SPINNER_ARC_TOLERANCE as Ei,SPINNER_CONSTANT_VECTORS as Di}from"./spinner.js";import{LABEL_CHAR_COUNT_VECTORS as Oi,LABEL_DISPLAY_TEXT_VECTORS as ki,LABEL_EFFECTIVE_LINES_VECTORS as Ai,LABEL_ELLIPSIZE_OVERFLOW_VECTORS as ji,LABEL_ELLIPSIZE_VECTORS as Mi,LABEL_JUSTIFY_VECTORS as Ni,LABEL_WIDTH_CHARS_EXTENT_VECTORS as Pi,LABEL_WRAP_MODE_VECTORS as Fi,LABEL_XALIGN_VECTORS as Ii,LABEL_YALIGN_ALIGN_ITEMS_VECTORS as Li,LABEL_YALIGN_VECTORS as Ri}from"./label.js";import{WRAP_BOX_CHILD_ORDER_VECTORS as zi,WRAP_BOX_LENGTH_VECTORS as Bi,WRAP_BOX_LINE_VECTORS as Vi,WRAP_BOX_NATURAL_LENGTH_VECTORS as Hi,WRAP_BOX_NOTIFY_PROPERTIES as Ui,WRAP_BOX_POLICY_VECTORS as Wi,WRAP_BOX_SPACING_NOTIFY_VECTORS as Gi,WRAP_BOX_SPACING_VECTORS as Ki}from"./wrap-box.js";import{ATTRIBUTE_OF_VECTORS as qi,HOST_TAG_VECTORS as Ji,PROPERTY_OF_VECTORS as Yi}from"./tags.js";import{VALUE_LIST_VECTORS as Xi}from"./value-lists.js";import{POPUP_MENU_PLAN_VECTORS as Zi,popupMenuOutline as Qi}from"./popup-menu-plan.js";import{MENU_ACTION_VECTORS as $i,driveMenuActionVectors as ea,registryMenuActionScene as ta}from"./menu-actions.js";import{MENU_TREE_VECTORS as na}from"./menu-tree.js";import{RGBA_ROWS as ra,RGBA_VECTORS as ia,driveRGBAVectors as aa}from"./rgba.js";import{STYLE_MANAGER_ROWS as oa,STYLE_MANAGER_VECTORS as sa,driveStyleManagerVectors as ca}from"./style-manager.js";import{SIMPLE_ACTION_GROUP_ROWS as la,SIMPLE_ACTION_GROUP_VECTORS as ua,driveSimpleActionGroupVectors as da}from"./simple-action-group.js";import{WINDOW_ROWS as fa,WINDOW_VECTORS as pa,driveWindowVectors as ma}from"./window-members.js";import{WIDGET_MAP_ROWS as ha,WIDGET_MAP_VECTORS as ga,driveWidgetMapVectors as _a}from"./widget-map.js";export{i as ABOUT_DIALOG_CREDITS_LEGAL_VECTORS,a as ABOUT_DIALOG_DETAILS_VECTORS,e as ABOUT_DIALOG_DOOR_VECTORS,o as ABOUT_DIALOG_HEADER_VECTORS,s as ABOUT_DIALOG_LABEL_VECTORS,c as ABOUT_DIALOG_SUPPORT_VECTORS,y as ACCENT_COLOR_VECTORS,l as ACKNOWLEDGEMENT_SECTIONS_VECTORS,x as ACTION_ROW_ACTIVATION_VECTORS,D as ADJUSTMENT_AUTHORED_VECTORS,O as ADJUSTMENT_PARSE_VECTORS,k as ADJUSTMENT_SNAP_VECTORS,Gn as ADW_LENGTH_UNIT_VECTORS,A as APPEARANCE_HANDOFF_VECTORS,j as APPLICATION_ROWS,M as APPLICATION_VECTORS,qi as ATTRIBUTE_OF_VECTORS,I as AVATAR_COLOR_VECTORS,L as AVATAR_FONT_SIZE_VECTORS,R as AVATAR_ICON_SIZE_VECTORS,z as AVATAR_INITIALS_VECTORS,B as AVATAR_MODE_VECTORS,V as BANNER_BUTTON_STYLE_PARSE_VECTORS,H as BANNER_BUTTON_STYLE_VECTORS,U as BANNER_BUTTON_TEXT_VECTORS,W as BANNER_BUTTON_VISIBLE_VECTORS,G as BANNER_DEFAULT_VECTORS,_t as BOTTOM_SHEET_BOTTOM_BAR_VECTORS,vt as BOTTOM_SHEET_CLOSE_VECTORS,yt as BOTTOM_SHEET_OPEN_VECTORS,bt as BOTTOM_SHEET_PRESENTATION_VECTORS,xt as BOTTOM_SHEET_SWIPE_TRACKER_VECTORS,K as BOX_ALL_VECTORS,Y as BOX_ORIENTATION_VECTORS,q as BOX_ROW_VECTORS,J as BOX_SELECT_VECTORS,X as BOX_SPACING_VECTORS,Z as BREAKPOINT_PICK_VECTORS,Q as BREAKPOINT_TRANSITION_VECTORS,rt as BREAKPOINT_VECTOR_SIZES,$ as BUTTON_CONTENT_DEFAULT_VECTORS,ee as BUTTON_CONTENT_ELLIPSIZE_VECTORS,te as BUTTON_CONTENT_ICON_VECTORS,ne as BUTTON_CONTENT_LABEL_VECTORS,re as BUTTON_CONTENT_STYLE_TARGET_VECTORS,ie as BUTTON_CONTENT_TEXT_VECTORS,S as BUTTON_ROW_ACTIVATABLE_VECTORS,C as BUTTON_ROW_ICON_VECTORS,ae as BUTTON_STYLE_CLASS_VECTORS,oe as CALENDAR_DAYS_VECTORS,se as CALENDAR_MARK_VECTORS,ce as CALENDAR_NAVIGATION_VECTORS,le as CALENDAR_SELECT_VECTORS,ue as CALENDAR_STEP_VECTORS,de as CALENDAR_WEEK_VECTORS,me as CAROUSEL_CLAMP_VECTORS,fe as CAROUSEL_DOOR_VECTORS,he as CAROUSEL_NAVIGATE_VECTORS,ge as CAROUSEL_PAGE_ALLOCATION_VECTORS,_e as CAROUSEL_PAGE_AT_POSITION_VECTORS,ve as CAROUSEL_PAGE_LIST_VECTORS,ye as CAROUSEL_PROPERTY_DEFAULT_VECTORS,be as CAROUSEL_RANGE_VECTORS,xe as CAROUSEL_REORDER_SHIFT_VECTORS,Se as CAROUSEL_REVEAL_VECTORS,Ce as CAROUSEL_SIZES_FROM_SNAP_POINTS_VECTORS,we as CAROUSEL_SNAP_POINT_VECTORS,Te as CAROUSEL_WHEEL_LOCKOUT_VECTORS,Ee as CAROUSEL_WHEEL_VECTORS,ui as CASE_FOLD_VECTORS,De as CHECK_GROUP_VECTORS,Ae as CLAMP_ALLOCATE_VECTORS,je as CLAMP_CHILD_SIZE_VECTORS,Me as CLAMP_PROPERTY_VECTORS,Ne as CLAMP_SIZE_FROM_CHILD_VECTORS,Pe as CLAMP_THRESHOLD_VECTORS,Tr as COLUMN_VIEW_SORT_VECTORS,Dn as COMBO_CHOOSER_VECTORS,On as COMBO_ITEMS_CHANGED_VECTORS,kn as COMBO_SELECTION_VECTORS,it as CONSTRUCT_KINDS,at as CONSTRUCT_VECTORS,u as CREDITS_SECTIONS_VECTORS,d as CREDIT_PERSON_VECTORS,dt as DATA_GRID_CELL_TEXT_VECTORS,ft as DATA_GRID_COLUMN_CLASS_VECTORS,pt as DATA_GRID_COLUMN_NORMALIZE_VECTORS,mt as DATA_GRID_INTERACTIVE_VECTORS,ht as DATA_GRID_TRACK_VECTORS,gt as DATA_GRID_VARIANT_VECTORS,Ve as ENTRY_MAX_LENGTH_VECTORS,He as ENTRY_ROW_ACTIVATION_VECTORS,Ue as ENTRY_ROW_GUARD_VECTORS,We as ENTRY_ROW_STATE_VECTORS,Ge as ENTRY_TEXT_LENGTH_VECTORS,ot as EXTERN_VECTOR_CLASS,wt as FILE_CHOOSER_ROWS,Tt as FILE_CHOOSER_VECTORS,Ot as GDK_CLIPBOARD_ROWS,kt as GDK_CLIPBOARD_VECTORS,jt as GIO_APP_INFO_ROWS,Mt as GIO_APP_INFO_VECTORS,Pt as GIO_RESOURCE_ROWS,Ft as GIO_RESOURCE_VECTORS,Kn as GLIB_CLAMP_VECTORS,Rt as GLIB_LANGUAGE_ROWS,zt as GLIB_LANGUAGE_TAG_ROWS,Bt as GLIB_LANGUAGE_TAG_VECTORS,Vt as GLIB_LANGUAGE_VECTORS,Wt as GLIB_PATH_ROWS,Gt as GLIB_PATH_VECTORS,qt as GLIB_TIMER_ROWS,Jt as GLIB_TIMER_VECTORS,Xt as GLIB_UNICHAR_ROWS,Zt as GLIB_UNICHAR_VECTORS,$t as GLIB_URI_ROWS,en as GLIB_URI_VECTORS,nn as GLIB_VARIANT_ROWS,rn as GLIB_VARIANT_VECTORS,on as GOBJECT_ROWS,sn as GOBJECT_VECTORS,ln as GRID_NAVIGATION_GEOMETRY,un as GRID_NAVIGATION_VECTORS,Er as GRID_VIEW_COLUMN_VECTORS,dn as GTK_CSS_PIXEL_TOLERANCE,fn as GTK_CSS_ROWS,pn as GTK_CSS_VECTORS,hn as GTK_PLATFORM_ROWS,gn as GTK_PLATFORM_VECTORS,vn as HEADER_BAR_PACK_VECTORS,yn as HEADER_BAR_TITLE_SOURCE_VECTORS,bn as HEADER_BAR_TITLE_WIDGET_VECTORS,Ji as HOST_TAG_VECTORS,xn as ICON_FIXTURE_PATH,Sn as ICON_THEME_RESOURCE_ROWS,Cn as ICON_THEME_RESOURCE_VECTORS,Lr as INLINE_TOGGLE_VECTORS,Rr as INLINE_TOOLTIP_VECTORS,Oi as LABEL_CHAR_COUNT_VECTORS,ki as LABEL_DISPLAY_TEXT_VECTORS,Ai as LABEL_EFFECTIVE_LINES_VECTORS,ji as LABEL_ELLIPSIZE_OVERFLOW_VECTORS,Mi as LABEL_ELLIPSIZE_VECTORS,Ni as LABEL_JUSTIFY_VECTORS,w as LABEL_VISIBILITY_VECTORS,Pi as LABEL_WIDTH_CHARS_EXTENT_VECTORS,Fi as LABEL_WRAP_MODE_VECTORS,Ii as LABEL_XALIGN_VECTORS,Li as LABEL_YALIGN_ALIGN_ITEMS_VECTORS,Ri as LABEL_YALIGN_VECTORS,f as LEGAL_SECTIONS_VECTORS,p as LEGAL_SECTION_VECTORS,m as LICENSE_INFO_VECTORS,h as LICENSE_SETTER_VECTORS,g as LICENSE_SPDX_VECTORS,_ as LICENSE_TEXT_VECTORS,gr as LIST_ITEMS_CHANGED_VECTORS,_r as LIST_MODEL_OWNERSHIP_VECTORS,vr as LIST_NORMALIZE_VECTORS,yr as LIST_PARSE_VECTORS,Dr as LIST_VIEW_SELECT_VECTORS,di as MAKE_COMPARABLE_VECTORS,$i as MENU_ACTION_VECTORS,cr as MENU_BUTTON_DIRECTION_VECTORS,Ar as MENU_DETAILED_ACTION_VECTORS,jr as MENU_FLATTEN_VECTORS,Mr as MENU_ITEM_STATE_VECTORS,Nr as MENU_LABEL_TEXT_VECTORS,Pr as MENU_NORMALIZE_VECTORS,Fr as MENU_PARSE_VECTORS,Ir as MENU_REFUSAL_VECTORS,na as MENU_TREE_VECTORS,qn as NATURAL_SIDEBAR_WIDTH_VECTORS,Jn as NAVIGATION_ACTION_VECTORS,Yn as NAVIGATION_SPLIT_VIEW_LAYOUT_VECTORS,Xn as NAVIGATION_STACK_VECTORS,Pn as NAVIGATION_VIEW_VECTORS,b as NEAREST_ACCENT_VECTORS,Zn as OVERLAY_COLLAPSE_VECTORS,Qn as OVERLAY_SPLIT_VIEW_LAYOUT_VECTORS,$n as OVERLAY_SWIPE_AREA_VECTORS,er as OVERLAY_SWIPE_CANCEL_VECTORS,tr as OVERLAY_SWIPE_RELEASE_VECTORS,nr as OVERLAY_SWIPE_SNAP_POINT_VECTORS,rr as OVERLAY_SWIPE_START_VECTORS,Ke as PASSWORD_ENTRY_ROW_VECTORS,qe as PASSWORD_REVEAL_GUARD_VECTORS,bi as POPOVER_KEY_VECTORS,xi as POPOVER_SURFACE_VECTORS,Zi as POPUP_MENU_PLAN_VECTORS,fi as PREFERENCES_GROUP_HEADER_VECTORS,pi as PREFERENCES_SEARCH_PAGES,mi as PREFERENCES_SEARCH_VECTORS,Yi as PROPERTY_OF_VECTORS,ke as RADIO_GROUP_VECTORS,t as RELEASE_NOTES_VECTORS,ra as RGBA_ROWS,ia as RGBA_VECTORS,Tn as ROW_ACCESSOR_VECTORS,hi as ROW_MATCH_VECTORS,gi as SEARCH_CORPUS_VECTORS,_i as SEARCH_ROW_SUBTITLE_VECTORS,Je as SHARED_TREE_BLOCKS_WITHOUT_EXPECTATIONS,Ye as SHARED_TREE_TABLES,Si as SHORTCUT_LABEL_VECTORS,Rn as SIDEBAR_ACTIVATION_VECTORS,ir as SIDEBAR_BOUNDS_VECTORS,zn as SIDEBAR_CLAMP_VECTORS,Bn as SIDEBAR_FILTER_VECTORS,Vn as SIDEBAR_ITEMS_CHANGED_VECTORS,Hn as SIDEBAR_ITEM_FLAG_VECTORS,Un as SIDEBAR_MODEL_VECTORS,Wn as SIDEBAR_MODE_VECTORS,ar as SIDEBAR_WIDTH_VECTORS,la as SIMPLE_ACTION_GROUP_ROWS,ua as SIMPLE_ACTION_GROUP_VECTORS,wi as SPINNER_ARC_ENVELOPE,Ti as SPINNER_ARC_PHASE_VECTORS,Ei as SPINNER_ARC_TOLERANCE,Di as SPINNER_CONSTANT_VECTORS,Fe as SPINNER_GEOMETRY_VECTORS,Ie as SPINNER_SIZE_VECTORS,lr as SPLIT_BUTTON_CONTENT_VECTORS,ur as SPLIT_BUTTON_DIRECTION_VECTORS,dr as SPLIT_BUTTON_DROPDOWN_VECTORS,fr as SPLIT_BUTTON_MENU_ACTIVATION_VECTORS,pr as SPLIT_BUTTON_ROOT_STATE_VECTORS,mr as SPLIT_BUTTON_STYLE_CLASS_VECTORS,hr as SPLIT_BUTTON_TOOLTIP_VECTORS,or as SPLIT_VIEW_MEASURE_VECTORS,vi as STRIP_MARKUP_VECTORS,yi as STRIP_MNEMONIC_VECTORS,oa as STYLE_MANAGER_ROWS,sa as STYLE_MANAGER_VECTORS,T as SWITCH_ROW_NOTIFY_VECTORS,Zr as TABS_REVEALED_VECTORS,Qr as TAB_CLOSE_VISIBLE_VECTORS,$r as TAB_DESCENDANT_VECTORS,ei as TAB_ICON_STATE_VECTORS,br as TAB_PAGES_ITEMS_CHANGED_VECTORS,ti as TAB_PAGE_DESCRIPTOR_VECTORS,ni as TAB_SEARCH_VECTORS,ri as TAB_SUCCESSOR_VECTORS,ii as TAB_TOOLTIP_VECTORS,ai as TAB_VIEW_VECTORS,sr as TAGS_CONFLICT_VECTORS,An as TOGGLE_ACTIVE_NAME_VECTORS,Le as TOOLBAR_VIEW_ALLOCATE_VECTORS,Re as TOOLBAR_VIEW_CLASS_VECTORS,ze as TOOLBAR_VIEW_CONTENT_FOR_SIZE_VECTORS,Be as TOOLBAR_VIEW_MEASURE_VECTORS,v as TRANSLATOR_CREDITS_VECTORS,Or as TREE_EXPANDER_LAYOUT_VECTORS,kr as TREE_EXPANDER_SHORTCUT_VECTORS,st as UnsupportedConstructError,Xi as VALUE_LIST_VECTORS,jn as VIEW_STACK_ICON_NAME_VECTORS,Mn as VIEW_STACK_PAGE_VECTORS,Nn as VIEW_STACK_VECTORS,zr as VIEW_SWITCHER_BADGE_VECTORS,Br as VIEW_SWITCHER_BAR_REVEAL_VECTORS,Vr as VIEW_SWITCHER_BAR_VECTORS,Hr as VIEW_SWITCHER_BUTTON_VECTORS,Ur as VIEW_SWITCHER_BUTTON_VISIBILITY_VECTORS,Wr as VIEW_SWITCHER_DRAG_VECTORS,Gr as VIEW_SWITCHER_ICON_VECTORS,Kr as VIEW_SWITCHER_MNEMONIC_VECTORS,qr as VIEW_SWITCHER_REBUILD_VECTORS,Jr as VIEW_SWITCHER_SELECTION_VECTORS,Yr as VIEW_SWITCHER_SIDEBAR_SECTION_VECTORS,ha as WIDGET_MAP_ROWS,ga as WIDGET_MAP_VECTORS,fa as WINDOW_ROWS,E as WINDOW_TITLE_VECTORS,pa as WINDOW_VECTORS,zi as WRAP_BOX_CHILD_ORDER_VECTORS,Bi as WRAP_BOX_LENGTH_VECTORS,Vi as WRAP_BOX_LINE_VECTORS,Hi as WRAP_BOX_NATURAL_LENGTH_VECTORS,Ui as WRAP_BOX_NOTIFY_PROPERTIES,Wi as WRAP_BOX_POLICY_VECTORS,Gi as WRAP_BOX_SPACING_NOTIFY_VECTORS,Ki as WRAP_BOX_SPACING_VECTORS,xr as applyListMutation,Sr as applyListReadback,oi as applyTabViewOp,ct as assertTreeConstructs,Xe as authoredNodes,Ze as authoredTags,Fn as collectNavigationState,lt as constructUsesOf,Xr as createViewSwitcherClock,n as driveAboutDialogDoorVectors,N as driveApplicationVectors,pe as driveCarouselDoorVectors,Oe as driveCheckGroupVectors,ut as driveConstructVectors,Et as driveFileChooserVectors,Ht as driveGLibLanguageTagVectors,Ut as driveGLibLanguageVectors,Kt as driveGLibPathVectors,Yt as driveGLibTimerVectors,Qt as driveGLibUnicharVectors,tn as driveGLibUriVectors,an as driveGLibVariantVectors,cn as driveGObjectVectors,At as driveGdkClipboardVectors,Nt as driveGioAppInfoVectors,It as driveGioResourceVectors,mn as driveGtkCssVectors,_n as driveGtkPlatformVectors,wn as driveIconThemeResourceVectors,ea as driveMenuActionVectors,aa as driveRGBAVectors,r as driveReleaseNotesVectors,En as driveRowAccessorVectors,da as driveSimpleActionGroupVectors,ca as driveStyleManagerVectors,_a as driveWidgetMapVectors,ma as driveWindowVectors,Ci as formatShortcutLabelNodes,Lt as gioResourceFixtures,Cr as listModelForInput,In as navigationEventLog,Qi as popupMenuOutline,Dt as promisifyFileChooser,Qe as reachedTables,ta as registryMenuActionScene,wr as replayTabPagesAsSplices,St as runBottomSheetBottomBarSteps,Ct as runBottomSheetSteps,Ln as runNavigationSteps,si as seedTabViewPages,$e as sharedTreeExpectations,et as sharedTreePlacements,tt as subjectIndexOf,ci as tabViewClosing,li as tabViewOrder,P as unlockedVfuncNames,F as unprovenVfuncs,nt as withoutPlacements};
|
|
1
|
+
import{ABOUT_DIALOG_DOOR_VECTORS as e,RELEASE_NOTES_VECTORS as t,driveAboutDialogDoorVectors as n,driveReleaseNotesVectors as r}from"./about-dialog-doors.js";import{ABOUT_DIALOG_CREDITS_LEGAL_VECTORS as i,ABOUT_DIALOG_DETAILS_VECTORS as a,ABOUT_DIALOG_HEADER_VECTORS as o,ABOUT_DIALOG_LABEL_VECTORS as s,ABOUT_DIALOG_SUPPORT_VECTORS as c,ACKNOWLEDGEMENT_SECTIONS_VECTORS as l,CREDITS_SECTIONS_VECTORS as u,CREDIT_PERSON_VECTORS as d,LEGAL_SECTIONS_VECTORS as f,LEGAL_SECTION_VECTORS as p,LICENSE_INFO_VECTORS as m,LICENSE_SETTER_VECTORS as h,LICENSE_SPDX_VECTORS as g,LICENSE_TEXT_VECTORS as _,TRANSLATOR_CREDITS_VECTORS as v}from"./about-dialog.js";import{ACCENT_COLOR_VECTORS as y,NEAREST_ACCENT_VECTORS as b}from"./accent.js";import{ACTION_ROW_ACTIVATION_VECTORS as x,ACTION_ROW_SUBTITLE_VECTORS as S,BUTTON_ROW_ACTIVATABLE_VECTORS as C,BUTTON_ROW_ICON_VECTORS as w,LABEL_VISIBILITY_VECTORS as T,SWITCH_ROW_NOTIFY_VECTORS as E,WINDOW_TITLE_VECTORS as D}from"./action-row.js";import{ADJUSTMENT_AUTHORED_VECTORS as O,ADJUSTMENT_PARSE_VECTORS as k,ADJUSTMENT_SNAP_VECTORS as A}from"./adjustment.js";import{APPEARANCE_HANDOFF_VECTORS as j}from"./appearance.js";import{APPLICATION_ROWS as M,APPLICATION_VECTORS as N,driveApplicationVectors as P,unlockedVfuncNames as F,unprovenVfuncs as I}from"./application.js";import{AVATAR_COLOR_VECTORS as L,AVATAR_FONT_SIZE_VECTORS as R,AVATAR_ICON_SIZE_VECTORS as z,AVATAR_INITIALS_VECTORS as B,AVATAR_MODE_VECTORS as V}from"./avatar.js";import{BANNER_BUTTON_STYLE_PARSE_VECTORS as H,BANNER_BUTTON_STYLE_VECTORS as U,BANNER_BUTTON_TEXT_VECTORS as W,BANNER_BUTTON_VISIBLE_VECTORS as G,BANNER_DEFAULT_VECTORS as K}from"./banner.js";import{BOX_ALL_VECTORS as q,BOX_ROW_VECTORS as J,BOX_SELECT_VECTORS as Y}from"./box-selection.js";import{BOX_ORIENTATION_VECTORS as X,BOX_SPACING_VECTORS as Z}from"./box.js";import{BREAKPOINT_PICK_VECTORS as Q,BREAKPOINT_TRANSITION_VECTORS as $}from"./breakpoint-bin.js";import{BUTTON_CONTENT_DEFAULT_VECTORS as ee,BUTTON_CONTENT_ELLIPSIZE_VECTORS as te,BUTTON_CONTENT_ICON_VECTORS as ne,BUTTON_CONTENT_LABEL_VECTORS as re,BUTTON_CONTENT_STYLE_TARGET_VECTORS as ie,BUTTON_CONTENT_TEXT_VECTORS as ae}from"./button-content.js";import{BUTTON_STYLE_CLASS_VECTORS as oe}from"./button.js";import{CALENDAR_DAYS_VECTORS as se,CALENDAR_MARK_VECTORS as ce,CALENDAR_NAVIGATION_VECTORS as le,CALENDAR_SELECT_VECTORS as ue,CALENDAR_STEP_VECTORS as de,CALENDAR_WEEK_VECTORS as fe}from"./calendar.js";import{CAROUSEL_DOOR_VECTORS as pe,driveCarouselDoorVectors as me}from"./carousel-doors.js";import{CAROUSEL_CLAMP_VECTORS as he,CAROUSEL_NAVIGATE_VECTORS as ge,CAROUSEL_PAGE_ALLOCATION_VECTORS as _e,CAROUSEL_PAGE_AT_POSITION_VECTORS as ve,CAROUSEL_PAGE_LIST_VECTORS as ye,CAROUSEL_PROPERTY_DEFAULT_VECTORS as be,CAROUSEL_RANGE_VECTORS as xe,CAROUSEL_REORDER_SHIFT_VECTORS as Se,CAROUSEL_REVEAL_VECTORS as Ce,CAROUSEL_SIZES_FROM_SNAP_POINTS_VECTORS as we,CAROUSEL_SNAP_POINT_VECTORS as Te,CAROUSEL_WHEEL_LOCKOUT_VECTORS as Ee,CAROUSEL_WHEEL_VECTORS as De}from"./carousel.js";import{CHECK_GROUP_VECTORS as Oe,driveCheckGroupVectors as ke}from"./check-group.js";import{RADIO_GROUP_VECTORS as Ae}from"./checks.js";import{CLAMP_ALLOCATE_VECTORS as je,CLAMP_CHILD_SIZE_VECTORS as Me,CLAMP_PROPERTY_VECTORS as Ne,CLAMP_SIZE_FROM_CHILD_VECTORS as Pe,CLAMP_THRESHOLD_VECTORS as Fe,SPINNER_GEOMETRY_VECTORS as Ie,SPINNER_SIZE_VECTORS as Le,TOOLBAR_VIEW_ALLOCATE_VECTORS as Re,TOOLBAR_VIEW_CLASS_VECTORS as ze,TOOLBAR_VIEW_CONTENT_FOR_SIZE_VECTORS as Be,TOOLBAR_VIEW_MEASURE_VECTORS as Ve}from"./chrome.js";import{ENTRY_MAX_LENGTH_VECTORS as He,ENTRY_ROW_ACTIVATION_VECTORS as Ue,ENTRY_ROW_GUARD_VECTORS as We,ENTRY_ROW_STATE_VECTORS as Ge,ENTRY_TEXT_LENGTH_VECTORS as Ke,PASSWORD_ENTRY_ROW_VECTORS as qe,PASSWORD_REVEAL_GUARD_VECTORS as Je}from"./entry-row.js";import{SHARED_TREE_BLOCKS_WITHOUT_EXPECTATIONS as Ye,SHARED_TREE_TABLES as Xe,authoredNodes as Ze,authoredTags as Qe,reachedTables as $e,sharedTreeExpectations as et,sharedTreePlacements as tt,subjectIndexOf as nt,withoutPlacements as rt}from"./shared-trees.js";import{BREAKPOINT_VECTOR_SIZES as it,CONSTRUCT_KINDS as at,CONSTRUCT_VECTORS as ot,EXTERN_VECTOR_CLASS as st,UnsupportedConstructError as ct,assertTreeConstructs as lt,constructUsesOf as ut,driveConstructVectors as dt}from"./constructs.js";import{DATA_GRID_CELL_TEXT_VECTORS as ft,DATA_GRID_COLUMN_CLASS_VECTORS as pt,DATA_GRID_COLUMN_NORMALIZE_VECTORS as mt,DATA_GRID_INTERACTIVE_VECTORS as ht,DATA_GRID_TRACK_VECTORS as gt,DATA_GRID_VARIANT_VECTORS as _t}from"./data-grid.js";import{BOTTOM_SHEET_BOTTOM_BAR_VECTORS as vt,BOTTOM_SHEET_CLOSE_VECTORS as yt,BOTTOM_SHEET_OPEN_VECTORS as bt,BOTTOM_SHEET_PRESENTATION_VECTORS as xt,BOTTOM_SHEET_SWIPE_TRACKER_VECTORS as St,runBottomSheetBottomBarSteps as Ct,runBottomSheetSteps as wt}from"./dialog.js";import{EXPANDER_ROW_CONSTRUCT_VECTORS as Tt,EXPANDER_ROW_INITIAL as Et,EXPANDER_ROW_VECTORS as Dt}from"./expander-row.js";import{FILE_CHOOSER_ROWS as Ot,FILE_CHOOSER_VECTORS as kt,driveFileChooserVectors as At,promisifyFileChooser as jt}from"./file-chooser.js";import{GDK_CLIPBOARD_ROWS as Mt,GDK_CLIPBOARD_VECTORS as Nt,driveGdkClipboardVectors as Pt}from"./gdk-clipboard.js";import{GIO_APP_INFO_ROWS as Ft,GIO_APP_INFO_VECTORS as It,driveGioAppInfoVectors as Lt}from"./gio-app-info.js";import{GIO_RESOURCE_ROWS as Rt,GIO_RESOURCE_VECTORS as zt,driveGioResourceVectors as Bt,gioResourceFixtures as Vt}from"./gio-resource.js";import{GLIB_LANGUAGE_ROWS as Ht,GLIB_LANGUAGE_TAG_ROWS as Ut,GLIB_LANGUAGE_TAG_VECTORS as Wt,GLIB_LANGUAGE_VECTORS as Gt,driveGLibLanguageTagVectors as Kt,driveGLibLanguageVectors as qt}from"./glib-language.js";import{GLIB_PATH_ROWS as Jt,GLIB_PATH_VECTORS as Yt,driveGLibPathVectors as Xt}from"./glib-paths.js";import{GLIB_TIMER_ROWS as Zt,GLIB_TIMER_VECTORS as Qt,driveGLibTimerVectors as $t}from"./glib-timers.js";import{GLIB_UNICHAR_ROWS as en,GLIB_UNICHAR_VECTORS as tn,driveGLibUnicharVectors as nn}from"./glib-unichar.js";import{GLIB_URI_ROWS as rn,GLIB_URI_VECTORS as an,driveGLibUriVectors as on}from"./glib-uri.js";import{GLIB_VARIANT_ROWS as sn,GLIB_VARIANT_VECTORS as cn,driveGLibVariantVectors as ln}from"./glib-variant.js";import{GOBJECT_ROWS as un,GOBJECT_VECTORS as dn,driveGObjectVectors as fn}from"./gobject.js";import{GRID_NAVIGATION_GEOMETRY as pn,GRID_NAVIGATION_VECTORS as mn}from"./grid-navigation.js";import{GTK_CSS_PIXEL_TOLERANCE as hn,GTK_CSS_ROWS as gn,GTK_CSS_VECTORS as _n,driveGtkCssVectors as vn}from"./gtk-css.js";import{GTK_PLATFORM_ROWS as yn,GTK_PLATFORM_VECTORS as bn,driveGtkPlatformVectors as xn}from"./gtk-platform.js";import{HEADER_BAR_PACK_VECTORS as Sn,HEADER_BAR_TITLE_SOURCE_VECTORS as Cn,HEADER_BAR_TITLE_WIDGET_VECTORS as wn}from"./header-bar.js";import{ICON_FIXTURE_PATH as Tn,ICON_THEME_RESOURCE_ROWS as En,ICON_THEME_RESOURCE_VECTORS as Dn,driveIconThemeResourceVectors as On}from"./icon-theme-resources.js";import{ROW_ACCESSOR_VECTORS as kn,driveRowAccessorVectors as An}from"./row-accessors.js";import{COMBO_CHOOSER_VECTORS as jn,COMBO_ITEMS_CHANGED_VECTORS as Mn,COMBO_SELECTION_VECTORS as Nn,TOGGLE_ACTIVE_NAME_VECTORS as Pn}from"./rows.js";import{VIEW_STACK_ICON_NAME_VECTORS as Fn,VIEW_STACK_PAGE_VECTORS as In,VIEW_STACK_VECTORS as Ln}from"./view-stack.js";import{NAVIGATION_VIEW_VECTORS as Rn,collectNavigationState as zn,navigationEventLog as Bn,runNavigationSteps as Vn}from"./navigation-view.js";import{SIDEBAR_ACTIVATION_VECTORS as Hn,SIDEBAR_CLAMP_VECTORS as Un,SIDEBAR_FILTER_VECTORS as Wn,SIDEBAR_ITEMS_CHANGED_VECTORS as Gn,SIDEBAR_ITEM_FLAG_VECTORS as Kn,SIDEBAR_MODEL_VECTORS as qn,SIDEBAR_MODE_VECTORS as Jn}from"./sidebar.js";import{ADW_LENGTH_UNIT_VECTORS as Yn,GLIB_CLAMP_VECTORS as Xn,NATURAL_SIDEBAR_WIDTH_VECTORS as Zn,NAVIGATION_ACTION_VECTORS as Qn,NAVIGATION_SPLIT_VIEW_LAYOUT_VECTORS as $n,NAVIGATION_STACK_VECTORS as er,OVERLAY_COLLAPSE_VECTORS as tr,OVERLAY_SPLIT_VIEW_LAYOUT_VECTORS as nr,OVERLAY_SWIPE_AREA_VECTORS as rr,OVERLAY_SWIPE_CANCEL_VECTORS as ir,OVERLAY_SWIPE_RELEASE_VECTORS as ar,OVERLAY_SWIPE_SNAP_POINT_VECTORS as or,OVERLAY_SWIPE_START_VECTORS as sr,SIDEBAR_BOUNDS_VECTORS as cr,SIDEBAR_WIDTH_VECTORS as lr,SPLIT_VIEW_MEASURE_VECTORS as ur,TAGS_CONFLICT_VECTORS as dr}from"./split-view.js";import{MENU_BUTTON_DIRECTION_VECTORS as fr,SPLIT_BUTTON_CONTENT_VECTORS as pr,SPLIT_BUTTON_DIRECTION_VECTORS as mr,SPLIT_BUTTON_DROPDOWN_VECTORS as hr,SPLIT_BUTTON_MENU_ACTIVATION_VECTORS as gr,SPLIT_BUTTON_ROOT_STATE_VECTORS as _r,SPLIT_BUTTON_STYLE_CLASS_VECTORS as vr,SPLIT_BUTTON_TOOLTIP_VECTORS as yr}from"./split-button.js";import{LIST_ITEMS_CHANGED_VECTORS as br,LIST_MODEL_OWNERSHIP_VECTORS as xr,LIST_NORMALIZE_VECTORS as Sr,LIST_PARSE_VECTORS as Cr,TAB_PAGES_ITEMS_CHANGED_VECTORS as wr,applyListMutation as Tr,applyListReadback as Er,listModelForInput as Dr,replayTabPagesAsSplices as Or}from"./list.js";import{COLUMN_VIEW_SORT_VECTORS as kr,GRID_VIEW_COLUMN_VECTORS as Ar,LIST_VIEW_SELECT_VECTORS as jr}from"./list-view.js";import{TREE_EXPANDER_LAYOUT_VECTORS as Mr,TREE_EXPANDER_SHORTCUT_VECTORS as Nr}from"./tree-expander.js";import{MENU_DETAILED_ACTION_VECTORS as Pr,MENU_FLATTEN_VECTORS as Fr,MENU_ITEM_STATE_VECTORS as Ir,MENU_LABEL_TEXT_VECTORS as Lr,MENU_NORMALIZE_VECTORS as Rr,MENU_PARSE_VECTORS as zr,MENU_REFUSAL_VECTORS as Br}from"./menu.js";import{INLINE_TOGGLE_VECTORS as Vr,INLINE_TOOLTIP_VECTORS as Hr,VIEW_SWITCHER_BADGE_VECTORS as Ur,VIEW_SWITCHER_BAR_REVEAL_VECTORS as Wr,VIEW_SWITCHER_BAR_VECTORS as Gr,VIEW_SWITCHER_BUTTON_VECTORS as Kr,VIEW_SWITCHER_BUTTON_VISIBILITY_VECTORS as qr,VIEW_SWITCHER_DRAG_VECTORS as Jr,VIEW_SWITCHER_ICON_VECTORS as Yr,VIEW_SWITCHER_MNEMONIC_VECTORS as Xr,VIEW_SWITCHER_REBUILD_VECTORS as Zr,VIEW_SWITCHER_SELECTION_VECTORS as Qr,VIEW_SWITCHER_SIDEBAR_SECTION_VECTORS as $r,createViewSwitcherClock as ei}from"./view-switcher.js";import{TABS_REVEALED_VECTORS as ti,TAB_CLOSE_VISIBLE_VECTORS as ni,TAB_DESCENDANT_VECTORS as ri,TAB_ICON_STATE_VECTORS as ii,TAB_PAGE_DESCRIPTOR_VECTORS as ai,TAB_SEARCH_VECTORS as oi,TAB_SUCCESSOR_VECTORS as si,TAB_TOOLTIP_VECTORS as ci,TAB_VIEW_VECTORS as li,applyTabViewOp as ui,seedTabViewPages as di,tabViewClosing as fi,tabViewOrder as pi}from"./tab-view.js";import{CASE_FOLD_VECTORS as mi,MAKE_COMPARABLE_VECTORS as hi,PREFERENCES_GROUP_HEADER_VECTORS as gi,PREFERENCES_SEARCH_PAGES as _i,PREFERENCES_SEARCH_VECTORS as vi,ROW_MATCH_VECTORS as yi,SEARCH_CORPUS_VECTORS as bi,SEARCH_ROW_SUBTITLE_VECTORS as xi,STRIP_MARKUP_VECTORS as Si,STRIP_MNEMONIC_VECTORS as Ci}from"./preferences.js";import{POPOVER_KEY_VECTORS as wi,POPOVER_SURFACE_VECTORS as Ti}from"./popover.js";import{SHORTCUT_LABEL_VECTORS as Ei,formatShortcutLabelNodes as Di}from"./shortcut-label.js";import{SPINNER_ARC_ENVELOPE as Oi,SPINNER_ARC_PHASE_VECTORS as ki,SPINNER_ARC_TOLERANCE as Ai,SPINNER_CONSTANT_VECTORS as ji}from"./spinner.js";import{LABEL_CHAR_COUNT_VECTORS as Mi,LABEL_DISPLAY_TEXT_VECTORS as Ni,LABEL_EFFECTIVE_LINES_VECTORS as Pi,LABEL_ELLIPSIZE_OVERFLOW_VECTORS as Fi,LABEL_ELLIPSIZE_VECTORS as Ii,LABEL_JUSTIFY_VECTORS as Li,LABEL_WIDTH_CHARS_EXTENT_VECTORS as Ri,LABEL_WRAP_MODE_VECTORS as zi,LABEL_XALIGN_VECTORS as Bi,LABEL_YALIGN_ALIGN_ITEMS_VECTORS as Vi,LABEL_YALIGN_VECTORS as Hi}from"./label.js";import{LABEL_MARKUP_LINK_VECTORS as Ui,LABEL_MARKUP_RUN_VECTORS as Wi}from"./label-markup.js";import{WRAP_BOX_CHILD_ORDER_VECTORS as Gi,WRAP_BOX_LENGTH_VECTORS as Ki,WRAP_BOX_LINE_VECTORS as qi,WRAP_BOX_NATURAL_LENGTH_VECTORS as Ji,WRAP_BOX_NOTIFY_PROPERTIES as Yi,WRAP_BOX_POLICY_VECTORS as Xi,WRAP_BOX_SPACING_NOTIFY_VECTORS as Zi,WRAP_BOX_SPACING_VECTORS as Qi}from"./wrap-box.js";import{ATTRIBUTE_OF_VECTORS as $i,HOST_TAG_VECTORS as ea,PROPERTY_OF_VECTORS as ta}from"./tags.js";import{VALUE_LIST_VECTORS as na}from"./value-lists.js";import{POPUP_MENU_PLAN_VECTORS as ra,popupMenuOutline as ia}from"./popup-menu-plan.js";import{MENU_ACTION_VECTORS as aa,driveMenuActionVectors as oa,registryMenuActionScene as sa}from"./menu-actions.js";import{MENU_TREE_VECTORS as ca}from"./menu-tree.js";import{RGBA_ROWS as la,RGBA_VECTORS as ua,driveRGBAVectors as da}from"./rgba.js";import{STYLE_MANAGER_ROWS as fa,STYLE_MANAGER_VECTORS as pa,driveStyleManagerVectors as ma}from"./style-manager.js";import{SIMPLE_ACTION_GROUP_ROWS as ha,SIMPLE_ACTION_GROUP_VECTORS as ga,driveSimpleActionGroupVectors as _a}from"./simple-action-group.js";import{WINDOW_ROWS as va,WINDOW_VECTORS as ya,driveWindowVectors as ba}from"./window-members.js";import{WIDGET_MAP_ROWS as xa,WIDGET_MAP_VECTORS as Sa,driveWidgetMapVectors as Ca}from"./widget-map.js";export{i as ABOUT_DIALOG_CREDITS_LEGAL_VECTORS,a as ABOUT_DIALOG_DETAILS_VECTORS,e as ABOUT_DIALOG_DOOR_VECTORS,o as ABOUT_DIALOG_HEADER_VECTORS,s as ABOUT_DIALOG_LABEL_VECTORS,c as ABOUT_DIALOG_SUPPORT_VECTORS,y as ACCENT_COLOR_VECTORS,l as ACKNOWLEDGEMENT_SECTIONS_VECTORS,x as ACTION_ROW_ACTIVATION_VECTORS,S as ACTION_ROW_SUBTITLE_VECTORS,O as ADJUSTMENT_AUTHORED_VECTORS,k as ADJUSTMENT_PARSE_VECTORS,A as ADJUSTMENT_SNAP_VECTORS,Yn as ADW_LENGTH_UNIT_VECTORS,j as APPEARANCE_HANDOFF_VECTORS,M as APPLICATION_ROWS,N as APPLICATION_VECTORS,$i as ATTRIBUTE_OF_VECTORS,L as AVATAR_COLOR_VECTORS,R as AVATAR_FONT_SIZE_VECTORS,z as AVATAR_ICON_SIZE_VECTORS,B as AVATAR_INITIALS_VECTORS,V as AVATAR_MODE_VECTORS,H as BANNER_BUTTON_STYLE_PARSE_VECTORS,U as BANNER_BUTTON_STYLE_VECTORS,W as BANNER_BUTTON_TEXT_VECTORS,G as BANNER_BUTTON_VISIBLE_VECTORS,K as BANNER_DEFAULT_VECTORS,vt as BOTTOM_SHEET_BOTTOM_BAR_VECTORS,yt as BOTTOM_SHEET_CLOSE_VECTORS,bt as BOTTOM_SHEET_OPEN_VECTORS,xt as BOTTOM_SHEET_PRESENTATION_VECTORS,St as BOTTOM_SHEET_SWIPE_TRACKER_VECTORS,q as BOX_ALL_VECTORS,X as BOX_ORIENTATION_VECTORS,J as BOX_ROW_VECTORS,Y as BOX_SELECT_VECTORS,Z as BOX_SPACING_VECTORS,Q as BREAKPOINT_PICK_VECTORS,$ as BREAKPOINT_TRANSITION_VECTORS,it as BREAKPOINT_VECTOR_SIZES,ee as BUTTON_CONTENT_DEFAULT_VECTORS,te as BUTTON_CONTENT_ELLIPSIZE_VECTORS,ne as BUTTON_CONTENT_ICON_VECTORS,re as BUTTON_CONTENT_LABEL_VECTORS,ie as BUTTON_CONTENT_STYLE_TARGET_VECTORS,ae as BUTTON_CONTENT_TEXT_VECTORS,C as BUTTON_ROW_ACTIVATABLE_VECTORS,w as BUTTON_ROW_ICON_VECTORS,oe as BUTTON_STYLE_CLASS_VECTORS,se as CALENDAR_DAYS_VECTORS,ce as CALENDAR_MARK_VECTORS,le as CALENDAR_NAVIGATION_VECTORS,ue as CALENDAR_SELECT_VECTORS,de as CALENDAR_STEP_VECTORS,fe as CALENDAR_WEEK_VECTORS,he as CAROUSEL_CLAMP_VECTORS,pe as CAROUSEL_DOOR_VECTORS,ge as CAROUSEL_NAVIGATE_VECTORS,_e as CAROUSEL_PAGE_ALLOCATION_VECTORS,ve as CAROUSEL_PAGE_AT_POSITION_VECTORS,ye as CAROUSEL_PAGE_LIST_VECTORS,be as CAROUSEL_PROPERTY_DEFAULT_VECTORS,xe as CAROUSEL_RANGE_VECTORS,Se as CAROUSEL_REORDER_SHIFT_VECTORS,Ce as CAROUSEL_REVEAL_VECTORS,we as CAROUSEL_SIZES_FROM_SNAP_POINTS_VECTORS,Te as CAROUSEL_SNAP_POINT_VECTORS,Ee as CAROUSEL_WHEEL_LOCKOUT_VECTORS,De as CAROUSEL_WHEEL_VECTORS,mi as CASE_FOLD_VECTORS,Oe as CHECK_GROUP_VECTORS,je as CLAMP_ALLOCATE_VECTORS,Me as CLAMP_CHILD_SIZE_VECTORS,Ne as CLAMP_PROPERTY_VECTORS,Pe as CLAMP_SIZE_FROM_CHILD_VECTORS,Fe as CLAMP_THRESHOLD_VECTORS,kr as COLUMN_VIEW_SORT_VECTORS,jn as COMBO_CHOOSER_VECTORS,Mn as COMBO_ITEMS_CHANGED_VECTORS,Nn as COMBO_SELECTION_VECTORS,at as CONSTRUCT_KINDS,ot as CONSTRUCT_VECTORS,u as CREDITS_SECTIONS_VECTORS,d as CREDIT_PERSON_VECTORS,ft as DATA_GRID_CELL_TEXT_VECTORS,pt as DATA_GRID_COLUMN_CLASS_VECTORS,mt as DATA_GRID_COLUMN_NORMALIZE_VECTORS,ht as DATA_GRID_INTERACTIVE_VECTORS,gt as DATA_GRID_TRACK_VECTORS,_t as DATA_GRID_VARIANT_VECTORS,He as ENTRY_MAX_LENGTH_VECTORS,Ue as ENTRY_ROW_ACTIVATION_VECTORS,We as ENTRY_ROW_GUARD_VECTORS,Ge as ENTRY_ROW_STATE_VECTORS,Ke as ENTRY_TEXT_LENGTH_VECTORS,Tt as EXPANDER_ROW_CONSTRUCT_VECTORS,Et as EXPANDER_ROW_INITIAL,Dt as EXPANDER_ROW_VECTORS,st as EXTERN_VECTOR_CLASS,Ot as FILE_CHOOSER_ROWS,kt as FILE_CHOOSER_VECTORS,Mt as GDK_CLIPBOARD_ROWS,Nt as GDK_CLIPBOARD_VECTORS,Ft as GIO_APP_INFO_ROWS,It as GIO_APP_INFO_VECTORS,Rt as GIO_RESOURCE_ROWS,zt as GIO_RESOURCE_VECTORS,Xn as GLIB_CLAMP_VECTORS,Ht as GLIB_LANGUAGE_ROWS,Ut as GLIB_LANGUAGE_TAG_ROWS,Wt as GLIB_LANGUAGE_TAG_VECTORS,Gt as GLIB_LANGUAGE_VECTORS,Jt as GLIB_PATH_ROWS,Yt as GLIB_PATH_VECTORS,Zt as GLIB_TIMER_ROWS,Qt as GLIB_TIMER_VECTORS,en as GLIB_UNICHAR_ROWS,tn as GLIB_UNICHAR_VECTORS,rn as GLIB_URI_ROWS,an as GLIB_URI_VECTORS,sn as GLIB_VARIANT_ROWS,cn as GLIB_VARIANT_VECTORS,un as GOBJECT_ROWS,dn as GOBJECT_VECTORS,pn as GRID_NAVIGATION_GEOMETRY,mn as GRID_NAVIGATION_VECTORS,Ar as GRID_VIEW_COLUMN_VECTORS,hn as GTK_CSS_PIXEL_TOLERANCE,gn as GTK_CSS_ROWS,_n as GTK_CSS_VECTORS,yn as GTK_PLATFORM_ROWS,bn as GTK_PLATFORM_VECTORS,Sn as HEADER_BAR_PACK_VECTORS,Cn as HEADER_BAR_TITLE_SOURCE_VECTORS,wn as HEADER_BAR_TITLE_WIDGET_VECTORS,ea as HOST_TAG_VECTORS,Tn as ICON_FIXTURE_PATH,En as ICON_THEME_RESOURCE_ROWS,Dn as ICON_THEME_RESOURCE_VECTORS,Vr as INLINE_TOGGLE_VECTORS,Hr as INLINE_TOOLTIP_VECTORS,Mi as LABEL_CHAR_COUNT_VECTORS,Ni as LABEL_DISPLAY_TEXT_VECTORS,Pi as LABEL_EFFECTIVE_LINES_VECTORS,Fi as LABEL_ELLIPSIZE_OVERFLOW_VECTORS,Ii as LABEL_ELLIPSIZE_VECTORS,Li as LABEL_JUSTIFY_VECTORS,Ui as LABEL_MARKUP_LINK_VECTORS,Wi as LABEL_MARKUP_RUN_VECTORS,T as LABEL_VISIBILITY_VECTORS,Ri as LABEL_WIDTH_CHARS_EXTENT_VECTORS,zi as LABEL_WRAP_MODE_VECTORS,Bi as LABEL_XALIGN_VECTORS,Vi as LABEL_YALIGN_ALIGN_ITEMS_VECTORS,Hi as LABEL_YALIGN_VECTORS,f as LEGAL_SECTIONS_VECTORS,p as LEGAL_SECTION_VECTORS,m as LICENSE_INFO_VECTORS,h as LICENSE_SETTER_VECTORS,g as LICENSE_SPDX_VECTORS,_ as LICENSE_TEXT_VECTORS,br as LIST_ITEMS_CHANGED_VECTORS,xr as LIST_MODEL_OWNERSHIP_VECTORS,Sr as LIST_NORMALIZE_VECTORS,Cr as LIST_PARSE_VECTORS,jr as LIST_VIEW_SELECT_VECTORS,hi as MAKE_COMPARABLE_VECTORS,aa as MENU_ACTION_VECTORS,fr as MENU_BUTTON_DIRECTION_VECTORS,Pr as MENU_DETAILED_ACTION_VECTORS,Fr as MENU_FLATTEN_VECTORS,Ir as MENU_ITEM_STATE_VECTORS,Lr as MENU_LABEL_TEXT_VECTORS,Rr as MENU_NORMALIZE_VECTORS,zr as MENU_PARSE_VECTORS,Br as MENU_REFUSAL_VECTORS,ca as MENU_TREE_VECTORS,Zn as NATURAL_SIDEBAR_WIDTH_VECTORS,Qn as NAVIGATION_ACTION_VECTORS,$n as NAVIGATION_SPLIT_VIEW_LAYOUT_VECTORS,er as NAVIGATION_STACK_VECTORS,Rn as NAVIGATION_VIEW_VECTORS,b as NEAREST_ACCENT_VECTORS,tr as OVERLAY_COLLAPSE_VECTORS,nr as OVERLAY_SPLIT_VIEW_LAYOUT_VECTORS,rr as OVERLAY_SWIPE_AREA_VECTORS,ir as OVERLAY_SWIPE_CANCEL_VECTORS,ar as OVERLAY_SWIPE_RELEASE_VECTORS,or as OVERLAY_SWIPE_SNAP_POINT_VECTORS,sr as OVERLAY_SWIPE_START_VECTORS,qe as PASSWORD_ENTRY_ROW_VECTORS,Je as PASSWORD_REVEAL_GUARD_VECTORS,wi as POPOVER_KEY_VECTORS,Ti as POPOVER_SURFACE_VECTORS,ra as POPUP_MENU_PLAN_VECTORS,gi as PREFERENCES_GROUP_HEADER_VECTORS,_i as PREFERENCES_SEARCH_PAGES,vi as PREFERENCES_SEARCH_VECTORS,ta as PROPERTY_OF_VECTORS,Ae as RADIO_GROUP_VECTORS,t as RELEASE_NOTES_VECTORS,la as RGBA_ROWS,ua as RGBA_VECTORS,kn as ROW_ACCESSOR_VECTORS,yi as ROW_MATCH_VECTORS,bi as SEARCH_CORPUS_VECTORS,xi as SEARCH_ROW_SUBTITLE_VECTORS,Ye as SHARED_TREE_BLOCKS_WITHOUT_EXPECTATIONS,Xe as SHARED_TREE_TABLES,Ei as SHORTCUT_LABEL_VECTORS,Hn as SIDEBAR_ACTIVATION_VECTORS,cr as SIDEBAR_BOUNDS_VECTORS,Un as SIDEBAR_CLAMP_VECTORS,Wn as SIDEBAR_FILTER_VECTORS,Gn as SIDEBAR_ITEMS_CHANGED_VECTORS,Kn as SIDEBAR_ITEM_FLAG_VECTORS,qn as SIDEBAR_MODEL_VECTORS,Jn as SIDEBAR_MODE_VECTORS,lr as SIDEBAR_WIDTH_VECTORS,ha as SIMPLE_ACTION_GROUP_ROWS,ga as SIMPLE_ACTION_GROUP_VECTORS,Oi as SPINNER_ARC_ENVELOPE,ki as SPINNER_ARC_PHASE_VECTORS,Ai as SPINNER_ARC_TOLERANCE,ji as SPINNER_CONSTANT_VECTORS,Ie as SPINNER_GEOMETRY_VECTORS,Le as SPINNER_SIZE_VECTORS,pr as SPLIT_BUTTON_CONTENT_VECTORS,mr as SPLIT_BUTTON_DIRECTION_VECTORS,hr as SPLIT_BUTTON_DROPDOWN_VECTORS,gr as SPLIT_BUTTON_MENU_ACTIVATION_VECTORS,_r as SPLIT_BUTTON_ROOT_STATE_VECTORS,vr as SPLIT_BUTTON_STYLE_CLASS_VECTORS,yr as SPLIT_BUTTON_TOOLTIP_VECTORS,ur as SPLIT_VIEW_MEASURE_VECTORS,Si as STRIP_MARKUP_VECTORS,Ci as STRIP_MNEMONIC_VECTORS,fa as STYLE_MANAGER_ROWS,pa as STYLE_MANAGER_VECTORS,E as SWITCH_ROW_NOTIFY_VECTORS,ti as TABS_REVEALED_VECTORS,ni as TAB_CLOSE_VISIBLE_VECTORS,ri as TAB_DESCENDANT_VECTORS,ii as TAB_ICON_STATE_VECTORS,wr as TAB_PAGES_ITEMS_CHANGED_VECTORS,ai as TAB_PAGE_DESCRIPTOR_VECTORS,oi as TAB_SEARCH_VECTORS,si as TAB_SUCCESSOR_VECTORS,ci as TAB_TOOLTIP_VECTORS,li as TAB_VIEW_VECTORS,dr as TAGS_CONFLICT_VECTORS,Pn as TOGGLE_ACTIVE_NAME_VECTORS,Re as TOOLBAR_VIEW_ALLOCATE_VECTORS,ze as TOOLBAR_VIEW_CLASS_VECTORS,Be as TOOLBAR_VIEW_CONTENT_FOR_SIZE_VECTORS,Ve as TOOLBAR_VIEW_MEASURE_VECTORS,v as TRANSLATOR_CREDITS_VECTORS,Mr as TREE_EXPANDER_LAYOUT_VECTORS,Nr as TREE_EXPANDER_SHORTCUT_VECTORS,ct as UnsupportedConstructError,na as VALUE_LIST_VECTORS,Fn as VIEW_STACK_ICON_NAME_VECTORS,In as VIEW_STACK_PAGE_VECTORS,Ln as VIEW_STACK_VECTORS,Ur as VIEW_SWITCHER_BADGE_VECTORS,Wr as VIEW_SWITCHER_BAR_REVEAL_VECTORS,Gr as VIEW_SWITCHER_BAR_VECTORS,Kr as VIEW_SWITCHER_BUTTON_VECTORS,qr as VIEW_SWITCHER_BUTTON_VISIBILITY_VECTORS,Jr as VIEW_SWITCHER_DRAG_VECTORS,Yr as VIEW_SWITCHER_ICON_VECTORS,Xr as VIEW_SWITCHER_MNEMONIC_VECTORS,Zr as VIEW_SWITCHER_REBUILD_VECTORS,Qr as VIEW_SWITCHER_SELECTION_VECTORS,$r as VIEW_SWITCHER_SIDEBAR_SECTION_VECTORS,xa as WIDGET_MAP_ROWS,Sa as WIDGET_MAP_VECTORS,va as WINDOW_ROWS,D as WINDOW_TITLE_VECTORS,ya as WINDOW_VECTORS,Gi as WRAP_BOX_CHILD_ORDER_VECTORS,Ki as WRAP_BOX_LENGTH_VECTORS,qi as WRAP_BOX_LINE_VECTORS,Ji as WRAP_BOX_NATURAL_LENGTH_VECTORS,Yi as WRAP_BOX_NOTIFY_PROPERTIES,Xi as WRAP_BOX_POLICY_VECTORS,Zi as WRAP_BOX_SPACING_NOTIFY_VECTORS,Qi as WRAP_BOX_SPACING_VECTORS,Tr as applyListMutation,Er as applyListReadback,ui as applyTabViewOp,lt as assertTreeConstructs,Ze as authoredNodes,Qe as authoredTags,zn as collectNavigationState,ut as constructUsesOf,ei as createViewSwitcherClock,n as driveAboutDialogDoorVectors,P as driveApplicationVectors,me as driveCarouselDoorVectors,ke as driveCheckGroupVectors,dt as driveConstructVectors,At as driveFileChooserVectors,Kt as driveGLibLanguageTagVectors,qt as driveGLibLanguageVectors,Xt as driveGLibPathVectors,$t as driveGLibTimerVectors,nn as driveGLibUnicharVectors,on as driveGLibUriVectors,ln as driveGLibVariantVectors,fn as driveGObjectVectors,Pt as driveGdkClipboardVectors,Lt as driveGioAppInfoVectors,Bt as driveGioResourceVectors,vn as driveGtkCssVectors,xn as driveGtkPlatformVectors,On as driveIconThemeResourceVectors,oa as driveMenuActionVectors,da as driveRGBAVectors,r as driveReleaseNotesVectors,An as driveRowAccessorVectors,_a as driveSimpleActionGroupVectors,ma as driveStyleManagerVectors,Ca as driveWidgetMapVectors,ba as driveWindowVectors,Di as formatShortcutLabelNodes,Vt as gioResourceFixtures,Dr as listModelForInput,Bn as navigationEventLog,ia as popupMenuOutline,jt as promisifyFileChooser,$e as reachedTables,sa as registryMenuActionScene,Or as replayTabPagesAsSplices,Ct as runBottomSheetBottomBarSteps,wt as runBottomSheetSteps,Vn as runNavigationSteps,di as seedTabViewPages,et as sharedTreeExpectations,tt as sharedTreePlacements,nt as subjectIndexOf,fi as tabViewClosing,pi as tabViewOrder,F as unlockedVfuncNames,I as unprovenVfuncs,rt as withoutPlacements};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=[{markup:`plain`,text:`plain`,runs:[{text:`plain`}],rule:`text with no tag at all is one unstyled run`},{markup:`<b>Bold</b> and <i>italic</i>`,text:`Bold and italic`,runs:[{text:`Bold`,bold:!0},{text:` and `},{text:`italic`,italic:!0}],rule:`each element is a run, and the text between them is a run of its own`},{markup:`<b>a</b><b>b</b>`,text:`ab`,runs:[{text:`ab`,bold:!0}],rule:`adjacent runs of equal style MERGE — pango attributes ranges, not elements`},{markup:`<b>bold <i>both</i></b>`,text:`bold both`,runs:[{text:`bold `,bold:!0},{text:`both`,bold:!0,italic:!0}],rule:`nesting accumulates: the inner run carries both tags`},{markup:`x<sub>2</sub> and y<sup>3</sup>`,text:`x2 and y3`,runs:[{text:`x`},{text:`2`,script:`sub`},{text:` and y`},{text:`3`,script:`sup`}],rule:`sub and sup are the vertical position of a run, the pair GTK writes formulae with`},{markup:`<sub><sup>inner</sup></sub>`,text:`inner`,runs:[{text:`inner`,script:`sup`}],rule:`a run cannot be both: the INNERMOST of sub/sup wins, as pango resolves it`},{markup:`<tt>code</tt> in prose`,text:`code in prose`,runs:[{text:`code`,monospace:!0},{text:` in prose`}],rule:`tt is the monospace run — the tag the measured tutorial corpus uses 350 times`},{markup:`<u>under</u><s>struck</s>`,text:`understruck`,runs:[{text:`under`,underline:!0},{text:`struck`,strikethrough:!0}],rule:`u and s are separate runs: equal text, different attributes, so no merge`},{markup:`<big><big>huge</big></big>`,text:`huge`,runs:[{text:`huge`,sizeSteps:2}],rule:`big COMPOSES: pango applies one scale factor per element, so two is two steps`},{markup:`<big><small>back</small></big>`,text:`back`,runs:[{text:`back`}],rule:`small inside big cancels to the base size, which innermost-wins would get wrong`},{markup:`<span foreground="red">Hot</span>`,text:`Hot`,runs:[{text:`Hot`,spans:[{foreground:`red`}]}],rule:`a span carries its attributes to the renderer, which owns the platform mapping`},{markup:`<span weight="bold"><span foreground="red">both</span></span>`,text:`both`,runs:[{text:`both`,spans:[{weight:`bold`},{foreground:`red`}]}],rule:`nested spans are a STACK, outermost first, so the innermost wins per property`},{markup:`Tea & cake`,text:`Tea & cake`,runs:[{text:`Tea & cake`}],rule:"an entity is resolved into the run, so `&` is one character to draw"},{markup:`<markup><b>rooted</b></markup>`,text:`rooted`,runs:[{text:`rooted`,bold:!0}],rule:`markup is pango's implicit root and styles nothing`},{markup:`Read the <a href="https://gtk.org">docs</a> first`,text:`Read the docs first`,runs:[{text:`Read the `},{text:`docs`,link:0},{text:` first`}],rule:`a link is a run like any other, pointing at the row's link by index`},{markup:`<a href="https://gtk.org"><b>bold link</b></a>`,text:`bold link`,runs:[{text:`bold link`,bold:!0,link:0}],rule:`a link and a tag compose — the run is inside both`},{markup:`<b>unclosed`,text:`<b>unclosed`,runs:[],rule:`unparseable markup has NO runs: the caller shows the raw string, the C fallback`}],t=[{markup:`no links here`,links:[],cssClass:!1,hasTooltip:!1,rule:"markup without an `<a>` has no links, and the label stays unstyled"},{markup:`Read the <a href="https://gtk.org">docs</a> first`,links:[{href:`https://gtk.org`,title:null,cssClass:null,start:9,end:13}],cssClass:!0,hasTooltip:!1,rule:"the offsets are into the DISPLAY text, so `Read the ` is nine units"},{markup:`<a href="https://gtk.org" title="The GTK docs">docs</a>`,links:[{href:`https://gtk.org`,title:`The GTK docs`,cssClass:null,start:0,end:4}],cssClass:!0,hasTooltip:!0,rule:`a title is the label's tooltip over that link, so the widget opts in`},{markup:`<a href="https://gtk.org" class="accent">docs</a>`,links:[{href:`https://gtk.org`,title:null,cssClass:`accent`,start:0,end:4}],cssClass:!0,hasTooltip:!1,rule:`class goes on the link's own node, and is not a tooltip`},{markup:`<a href="a">one</a> and <a href="b">two</a>`,links:[{href:`a`,title:null,cssClass:null,start:0,end:3},{href:`b`,title:null,cssClass:null,start:8,end:11}],cssClass:!0,hasTooltip:!1,rule:`two links are two entries in reading order, each over its own range`},{markup:`<a href="a">one</a><a href="b" title="t">two</a>`,links:[{href:`a`,title:null,cssClass:null,start:0,end:3},{href:`b`,title:`t`,cssClass:null,start:3,end:6}],cssClass:!0,hasTooltip:!0,rule:`ONE link with a title is enough for has-tooltip — the tooltip is per-link`},{markup:`Tee & <a href="https://gtk.org">Kuchen</a>`,links:[{href:`https://gtk.org`,title:null,cssClass:null,start:6,end:12}],cssClass:!0,hasTooltip:!1,rule:"the offset counts the RESOLVED entity as one unit, not `&` as five"},{markup:`Über <a href="https://gtk.org">uns</a>`,links:[{href:`https://gtk.org`,title:null,cssClass:null,start:5,end:8}],cssClass:!0,hasTooltip:!1,rule:"UTF-16 code units, not bytes: `Über ` is five units where GTK counts six"},{markup:`<a href="https://gtk.org"><b>bold</b> link</a>`,links:[{href:`https://gtk.org`,title:null,cssClass:null,start:0,end:9}],cssClass:!0,hasTooltip:!1,rule:`a link's range covers all its text, however many runs the tags inside make`},{markup:`<a href="https://gtk.org"></a>`,links:[{href:`https://gtk.org`,title:null,cssClass:null,start:0,end:0}],cssClass:!0,hasTooltip:!1,rule:`an empty link is a link with nothing to click — recorded, not dropped`},{markup:`<a href="outer">out <a href="inner">in</a></a>`,links:[{href:`outer`,title:null,cssClass:null,start:0,end:6},{href:`inner`,title:null,cssClass:null,start:4,end:6}],cssClass:!0,hasTooltip:!1,rule:"GMarkup has no content model, so nested `<a>` parses and the INNER one owns its text"},{markup:`<a>no href</a>`,links:null,cssClass:!1,hasTooltip:!1,rule:`href is required (G_MARKUP_ERROR_INVALID_CONTENT), so the whole string is raw text`},{markup:`<a href="x" target="_blank">docs</a>`,links:null,cssClass:!1,hasTooltip:!1,rule:`a fourth attribute is UNKNOWN_ATTRIBUTE: the parse fails, the attribute is not ignored`},{markup:`<a href="x">unclosed`,links:null,cssClass:!1,hasTooltip:!1,rule:`an unclosed link is unparseable markup like any other`}];export{t as LABEL_MARKUP_LINK_VECTORS,e as LABEL_MARKUP_RUN_VECTORS};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=[{label:`a < b`,useMarkup:!1,useUnderline:!1,text:`a < b`,rule:"use-markup defaults to FALSE, so a `<` in prose is shown literally"},{label:`<b>Bold</b>`,useMarkup:!1,useUnderline:!1,text:`<b>Bold</b>`,rule:`markup without use-markup is text, tags included`},{label:`<b>Bold</b> & plain`,useMarkup:!0,useUnderline:!1,text:`Bold & plain`,rule:`
|
|
1
|
+
const e=[{label:`a < b`,useMarkup:!1,useUnderline:!1,text:`a < b`,rule:"use-markup defaults to FALSE, so a `<` in prose is shown literally"},{label:`<b>Bold</b>`,useMarkup:!1,useUnderline:!1,text:`<b>Bold</b>`,rule:`markup without use-markup is text, tags included`},{label:`<b>Bold</b> & plain`,useMarkup:!0,useUnderline:!1,text:`Bold & plain`,rule:`get_text() is the markup with its tags gone and its entities resolved`},{label:`a < b`,useMarkup:!0,useUnderline:!1,text:`a < b`,rule:`unparseable markup keeps the raw string, the C fallback`},{label:`<img src="x" onerror="alert(1)">`,useMarkup:!0,useUnderline:!1,text:`<img src="x" onerror="alert(1)">`,rule:`a tag Pango does not know is unparseable markup, so it is shown, never built`},{label:`_Open`,useMarkup:!1,useUnderline:!1,text:`_Open`,rule:`an underscore is literal unless use-underline is set`},{label:`_Open`,useMarkup:!1,useUnderline:!0,text:`Open`,rule:`use-underline removes the mnemonic marker from the shown text`},{label:`<span font_desc="Sans 12">Big</span>`,useMarkup:!0,useUnderline:!0,text:`Big`,rule:`markup is reduced BEFORE the mnemonic, so an underscore inside a tag is not one`},{label:`Read the <a href="https://gtk.org">docs</a>`,useMarkup:!0,useUnderline:!1,text:`Read the docs`,rule:"`<a href>` is Gtk.Label's own tag, and get_text() is the text without it"}],t=[{value:null,xalign:.5,rule:`an absent xalign centres the text, the pspec default`},{value:0,xalign:0,rule:`0 is the start edge`},{value:`0.25`,xalign:.25,rule:`the string an attribute carries parses`},{value:-1,xalign:0,rule:`below the range clamps to 0, as the setter does`},{value:`3`,xalign:1,rule:`above the range clamps to 1`},{value:`left`,xalign:.5,rule:`an unparseable value is the default, not NaN`}],n=[{value:null,justify:`left`,rule:`an absent justify is the default, left`},{value:`center`,justify:`center`,rule:`a nick is read as written`},{value:`fill`,justify:`fill`,rule:`fill is the fourth nick`},{value:`justify`,justify:`left`,rule:`a CSS keyword is no nick, so the default stays`}],r=[{value:null,yalign:.5,rule:`an absent yalign centres the text, the pspec default`},{value:0,yalign:0,rule:`0 is the top edge`},{value:`0.25`,yalign:.25,rule:`the string an attribute carries parses`},{value:-1,yalign:0,rule:`below the range clamps to 0, as the setter does`},{value:`3`,yalign:1,rule:`above the range clamps to 1`},{value:`top`,yalign:.5,rule:`an unparseable value is the default, not NaN`}],i=[{yalign:0,alignItems:`flex-start`,rule:`0 is the top edge exactly`},{yalign:.2,alignItems:`flex-start`,rule:`0.2 is nearer 0 than 0.5`},{yalign:.25,alignItems:`center`,rule:`the 0/0.5 boundary is equidistant: ties go to the centre zone`},{yalign:.3,alignItems:`center`,rule:`0.3 is nearer 0.5 than 0 — a strict half-split gets this wrong`},{yalign:.5,alignItems:`center`,rule:`0.5 is the centre exactly, the pspec default`},{yalign:.7,alignItems:`center`,rule:`0.7 is nearer 0.5 than 1 — a strict half-split gets this wrong`},{yalign:.75,alignItems:`center`,rule:`the 0.5/1 boundary is equidistant: ties go to the centre zone`},{yalign:.8,alignItems:`flex-end`,rule:`0.8 is nearer 1 than 0.5`},{yalign:1,alignItems:`flex-end`,rule:`1 is the bottom edge exactly`}],a=[{value:null,ellipsize:`none`,rule:`an absent ellipsize is the default, none`},{value:`start`,ellipsize:`start`,rule:`a nick is read as written`},{value:`middle`,ellipsize:`middle`,rule:`middle is the third nick`},{value:`end`,ellipsize:`end`,rule:`end is the fourth nick`},{value:`both`,ellipsize:`none`,rule:`an unknown nick leaves the default, none`}],o=[{ellipsize:`none`,overflow:`clip`,rule:`no ellipsization draws no ellipsis`},{ellipsize:`end`,overflow:`ellipsis`,rule:`end is the one mode CSS/NativeScript name exactly`},{ellipsize:`start`,overflow:`ellipsis`,rule:`declared divergence: no platform truncates from the start, so this draws an end-ellipsis rather than clipping silently`},{ellipsize:`middle`,overflow:`ellipsis`,rule:`declared divergence: no platform truncates from the middle, so this draws an end-ellipsis rather than clipping silently`}],s=[{value:null,wrapMode:`word`,rule:`an absent wrap-mode is the default, word`},{value:`char`,wrapMode:`char`,rule:`a nick is read as written`},{value:`word-char`,wrapMode:`word-char`,rule:`word-char is the third nick`},{value:`wordchar`,wrapMode:`word`,rule:`a nick with the dash dropped is unknown, so the default stays`}],c=[{value:null,count:-1,rule:`an absent value is the default, -1 ("auto"/unlimited)`},{value:0,count:0,rule:`0 is a real, held value — an empty label, not "unset"`},{value:`12`,count:12,rule:`the string an attribute carries parses`},{value:`3.7`,count:3,rule:`a fractional string truncates, as an int property would`},{value:-5,count:-1,rule:`below the floor clamps to -1, as the property system does`},{value:`auto`,count:-1,rule:`an unparseable value is the default, not NaN`}],l=[{lines:-1,ellipsize:`none`,effective:null,rule:`not ellipsized: no effect, however lines is set`},{lines:2,ellipsize:`none`,effective:null,rule:`not ellipsized: lines has no effect even at a real value`},{lines:-1,ellipsize:`end`,effective:1,rule:`ellipsized, lines unset: Pango's own default is ONE line`},{lines:0,ellipsize:`end`,effective:1,rule:`0 is not a real limit either: GTK only calls pango_layout_set_height for lines > 0, so 0 falls to the same Pango default as unset`},{lines:1,ellipsize:`end`,effective:1,rule:`lines=1 explicitly is the same one line`},{lines:2,ellipsize:`end`,effective:2,rule:`ellipsized alone is enough — no wrap needed, the finding this table exists to pin`},{lines:3,ellipsize:`start`,effective:3,rule:`holds for every ellipsize mode, not only end`}],u=[{widthChars:-1,maxWidthChars:-1,minCh:null,maxCh:null,rule:`both unset: no extent either way`},{widthChars:10,maxWidthChars:-1,minCh:10,maxCh:null,rule:`width-chars alone sets a minimum only`},{widthChars:-1,maxWidthChars:20,minCh:null,maxCh:20,rule:`max-width-chars alone sets a natural width`},{widthChars:10,maxWidthChars:20,minCh:10,maxCh:20,rule:`both set: minimum and the wider natural`},{widthChars:15,maxWidthChars:5,minCh:15,maxCh:15,rule:`max-width-chars narrower than width-chars: natural is still the MAX of the two, per the C`}];export{c as LABEL_CHAR_COUNT_VECTORS,e as LABEL_DISPLAY_TEXT_VECTORS,l as LABEL_EFFECTIVE_LINES_VECTORS,o as LABEL_ELLIPSIZE_OVERFLOW_VECTORS,a as LABEL_ELLIPSIZE_VECTORS,n as LABEL_JUSTIFY_VECTORS,u as LABEL_WIDTH_CHARS_EXTENT_VECTORS,s as LABEL_WRAP_MODE_VECTORS,t as LABEL_XALIGN_VECTORS,i as LABEL_YALIGN_ALIGN_ITEMS_VECTORS,r as LABEL_YALIGN_VECTORS};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=[{name:`icon-name (test_adw_split_button_icon_name, tests/test-split-button.c:17-55)`,steps:[{op:`icon-name`,value:`document-open-symbolic`,changed:!0,notified:[`icon-name`],mode:`icon`,label:null,iconName:`document-open-symbolic`,styleClasses:[`image-button`],rule:`first icon on an empty button notifies icon-name only (:31-32)`},{op:`icon-name`,value:`document-open-symbolic`,changed:!1,notified:[],mode:`icon`,label:null,iconName:`document-open-symbolic`,styleClasses:[`image-button`],rule:"same icon again is a no-op — `if (!g_strcmp0 …) return` (:34-36 / c:756-757)"},{op:`icon-name`,value:`edit-find-symbolic`,changed:!0,notified:[`child`,`icon-name`],mode:`icon`,label:null,iconName:`edit-find-symbolic`,styleClasses:[`image-button`],rule:`icon→icon still notifies child: the internal GtkImage is non-NULL (:38-40 / c:762-763)`},{op:`label`,value:`Open`,changed:!0,notified:[`icon-name`,`child`,`label`],mode:`label`,label:`Open`,iconName:null,styleClasses:[`text-button`],rule:`setting the label CLEARS the icon — get_icon_name() is NULL after (:42-44)`},{op:`icon-name`,value:`document-open-symbolic`,changed:!0,notified:[`label`,`child`,`icon-name`],mode:`icon`,label:null,iconName:`document-open-symbolic`,styleClasses:[`image-button`],rule:`and back: setting the icon CLEARS the label (:46-48)`},{op:`child`,value:`child1`,changed:!0,notified:[`icon-name`,`child`],mode:`child`,label:null,iconName:null,styleClasses:[],rule:`a child clears both, and carries neither style class (:50-52)`}]},{name:`label (test_adw_split_button_label, tests/test-split-button.c:57-95)`,steps:[{op:`label`,value:`Open`,changed:!0,notified:[`label`],mode:`label`,label:`Open`,iconName:null,styleClasses:[`text-button`],rule:`first label on an empty button notifies label only (:71-72)`},{op:`label`,value:`Open`,changed:!1,notified:[],mode:`label`,label:`Open`,iconName:null,styleClasses:[`text-button`],rule:`same label again is a no-op (:74-76 / c:668-669)`},{op:`label`,value:`Find`,changed:!0,notified:[`child`,`label`],mode:`label`,label:`Find`,iconName:null,styleClasses:[`text-button`],rule:`label→label notifies child: the internal GtkLabel is non-NULL (:78-80 / c:674-675)`},{op:`icon-name`,value:`document-open-symbolic`,changed:!0,notified:[`label`,`child`,`icon-name`],mode:`icon`,label:null,iconName:`document-open-symbolic`,styleClasses:[`image-button`],rule:`setting the icon CLEARS the label — get_label() is NULL after (:82-84)`},{op:`label`,value:`Open`,changed:!0,notified:[`icon-name`,`child`,`label`],mode:`label`,label:`Open`,iconName:null,styleClasses:[`text-button`],rule:`and back again (:86-88)`},{op:`child`,value:`child1`,changed:!0,notified:[`label`,`child`],mode:`child`,label:null,iconName:null,styleClasses:[],rule:`a child clears the label (:90-92)`}]},{name:`child (test_adw_split_button_child, tests/test-split-button.c:125-170)`,steps:[{op:`child`,value:null,changed:!1,notified:[],mode:`empty`,label:null,iconName:null,styleClasses:[],rule:`clearing an already-empty button is a no-op (:143-144 / c:806-807)`},{op:`child`,value:`child1`,changed:!0,notified:[`child`],mode:`child`,label:null,iconName:null,styleClasses:[],rule:`first child notifies child only (:146-148)`},{op:`child`,value:`child2`,changed:!0,notified:[`child`],mode:`child`,label:null,iconName:null,styleClasses:[],rule:`child→child notifies once; neither label nor icon was set (:150-152)`},{op:`label`,value:`Open`,changed:!0,notified:[`child`,`label`],mode:`label`,label:`Open`,iconName:null,styleClasses:[`text-button`],rule:`the label replaces the app child — get_child() is no longer it (:154-159)`},{op:`child`,value:`child3`,changed:!0,notified:[`label`,`child`],mode:`child`,label:null,iconName:null,styleClasses:[],rule:`a child clears the label back out (:161-163)`},{op:`icon-name`,value:`document-open-symbolic`,changed:!0,notified:[`child`,`icon-name`],mode:`icon`,label:null,iconName:`document-open-symbolic`,styleClasses:[`image-button`],rule:`the icon replaces the app child (:165-167)`}]},{name:`empty + whitespace labels (derived from adw-split-button.c:151-159, not asserted upstream)`,steps:[{op:`label`,value:``,changed:!0,notified:[`label`],mode:`label`,label:``,iconName:null,styleClasses:[],rule:"an empty label is SET (non-NULL) but `label[0]` is NUL — no text-button class (c:156)"},{op:`icon-name`,value:``,changed:!0,notified:[`label`,`child`,`icon-name`],mode:`icon`,label:null,iconName:``,styleClasses:[],rule:`the empty label is still a non-NULL pointer, so it is notified as cleared (c:760-761)`},{op:`label`,value:` `,changed:!0,notified:[`icon-name`,`child`,`label`],mode:`label`,label:` `,iconName:null,styleClasses:[`text-button`],rule:"whitespace is a valid label: nothing trims, and `label[0]` is a space (c:156-159)"},{op:`label`,value:` `,changed:!1,notified:[],mode:`label`,label:` `,iconName:null,styleClasses:[`text-button`],rule:`g_strcmp0 is a byte compare — the same two spaces are the same label`},{op:`label`,value:`Änderungen speichern…`,changed:!0,notified:[`child`,`label`],mode:`label`,label:`Änderungen speichern…`,iconName:null,styleClasses:[`text-button`],rule:`non-ASCII is stored verbatim — no normalisation, no escaping (c:661-682)`}]}],t=[{label:`Open`,iconName:null,classes:[`text-button`],rule:`a label gives text-button (c:156-159)`},{label:null,iconName:`document-open-symbolic`,classes:[`image-button`],rule:`an icon gives image-button (c:151-154)`},{label:``,iconName:null,classes:[],rule:"`label[0]` is NUL — an empty label carries NO class"},{label:null,iconName:``,classes:[],rule:"`icon_name[0]` is NUL — an empty icon name carries NO class"},{label:` `,iconName:null,classes:[`text-button`],rule:`two spaces are a non-empty label — no trimming`},{label:` `,iconName:null,classes:[`text-button`],rule:`any non-NUL first byte counts, tab included`},{label:null,iconName:null,classes:[],rule:`a child (or nothing) carries neither class (c:145-165)`},{label:`Open`,iconName:`document-open-symbolic`,classes:[`image-button`,`text-button`],rule:`the two branches are independent and evaluated icon-first (c:151-159)`}],n=[{tooltip:``,text:`More Options`,markup:!1,rule:`unset/cleared restores the translated default as TEXT`},{tooltip:`Some tooltip`,text:`Some tooltip`,markup:!0,rule:`a set tooltip is markup (c:1046-1047)`},{tooltip:`Some <b>tooltip</b>`,text:`Some <b>tooltip</b>`,markup:!0,rule:`Pango markup passes through unescaped (c:428)`},{tooltip:` `,text:` `,markup:!0,rule:"`*tooltip` is a space — non-NUL, so it is a real tooltip"}],r=[{direction:`down`,arrowIcon:`pan-down-symbolic`,popupDirection:`down`,rule:"the default (c:420); glyph from `menubutton arrow.down`, not overridden (_buttons.scss:457-459)"},{direction:`up`,arrowIcon:`pan-up-symbolic`,popupDirection:`up`,rule:"`menubutton arrow.up`, not overridden (_buttons.scss:460-462)"},{direction:`left`,arrowIcon:`pan-start-symbolic`,popupDirection:`left`,rule:`left uses pan-START, not pan-left (_buttons.scss:463-465)`},{direction:`right`,arrowIcon:`pan-end-symbolic`,popupDirection:`right`,rule:`right uses pan-END (_buttons.scss:466-468)`},{direction:`none`,arrowIcon:`pan-down-symbolic`,popupDirection:`down`,rule:"WINNING selector `splitbutton > menubutton > button > arrow.none` (_buttons.scss:621-623) OVERRIDES `menubutton arrow.none` (:454-456): inside a split button `none` draws pan-down, NOT open-menu — and pops down (c:415), so it is indistinguishable from `down`"}],i=[{direction:`none`,arrowIcon:`open-menu-symbolic`,popupDirection:`down`,rule:"`menubutton arrow.none` (_buttons.scss:454-456) — the hamburger, unopposed here; placement still down (c:415 via the shared GtkMenuButton, c:971/:997)"},{direction:`down`,arrowIcon:`pan-down-symbolic`,popupDirection:`down`,rule:"`menubutton arrow.down` (_buttons.scss:457-459) — identical to the split button row"},{direction:`up`,arrowIcon:`pan-up-symbolic`,popupDirection:`up`,rule:"`menubutton arrow.up` (_buttons.scss:460-462)"},{direction:`left`,arrowIcon:`pan-start-symbolic`,popupDirection:`left`,rule:"`menubutton arrow.left` (_buttons.scss:463-465)"},{direction:`right`,arrowIcon:`pan-end-symbolic`,popupDirection:`right`,rule:"`menubutton arrow.right` (_buttons.scss:466-468)"}],a={active:!1,checked:!1,keyboardActivating:!1},o=[{action:a,dropdown:a,active:!1,checked:!1,rule:`idle folds to idle`},{action:{...a,active:!0},dropdown:a,active:!0,checked:!1,rule:`a pressed action half makes the WHOLE control active (c:134-137)`},{action:a,dropdown:{...a,active:!0},active:!0,checked:!1,rule:`so does a pressed dropdown half — the flags are OR-ed (c:127-128)`},{action:a,dropdown:{...a,checked:!0},active:!1,checked:!0,rule:`an open menu checks the arrow half, and the root with it (c:139-142)`},{action:{...a,keyboardActivating:!0},dropdown:a,active:!0,checked:!1,rule:`the keyboard-activating CSS class counts as ACTIVE (c:130-135)`},{action:{...a,active:!0},dropdown:{...a,checked:!0},active:!0,checked:!0,rule:`active and checked are independent folds`}],s=[{kind:`item`,label:`Copy`,action:`app.copy`},{kind:`item`,label:`Copy`,action:`app.copy-special`},{kind:`submenu`,label:`More`,items:[{kind:`item`,label:`Copy`,action:`app.copy-as`}]}],c=[{model:s,path:[1],activated:{kind:`item`,label:`Copy`,action:`app.copy-special`},rule:`the SECOND of two identically labelled entries — the indexOf bug`},{model:s,path:[0],activated:{kind:`item`,label:`Copy`,action:`app.copy`},rule:`position 0`},{model:s,path:[2,0],activated:{kind:`item`,label:`Copy`,action:`app.copy-as`},rule:`a THIRD entry with the same label, inside a submenu: only a path tells it from the other two`},{model:s,path:[2],activated:null,rule:`a submenu is not an item — opening it activates nothing`},{model:s,path:[3],activated:null,rule:`a position past n_items has no item`},{model:s,path:[-1],activated:null,rule:`a negative position has no item`},{model:s,path:[.5],activated:null,rule:`a fractional position is not a position`},{model:s,path:[],activated:null,rule:`the empty path names the model, not an item`},{model:s,path:[0,0],activated:null,rule:`an item has no children to descend into`},{model:[],path:[0],activated:null,rule:`no menu model → nothing to activate`}],l=[{model:[],popover:!1,enabled:!1,canOpen:!1,rule:`neither → insensitive dropdown; an empty entry list is the renderers’ spelling of "no menu", so a menu-less button must not open an empty popover`},{model:[{kind:`item`,label:`Save as…`,action:`app.save-as`}],popover:!1,enabled:!0,canOpen:!0,rule:`a menu model makes the dropdown live`},{model:[],popover:!0,enabled:!0,canOpen:!0,rule:`so does a popover on its own`},{model:[{kind:`item`,label:`Save as…`}],popover:!0,enabled:!0,canOpen:!0,rule:`setting one dissociates the other, but the dropdown stays live (c:390-403)`},{model:[{kind:`section`,items:[]}],popover:!1,enabled:!0,canOpen:!0,rule:`a model with a node but nothing to DRAW is still a menu — the answer GTK gives for the same empty GMenu section`}];export{i as MENU_BUTTON_DIRECTION_VECTORS,e as SPLIT_BUTTON_CONTENT_VECTORS,r as SPLIT_BUTTON_DIRECTION_VECTORS,l as SPLIT_BUTTON_DROPDOWN_VECTORS,c as SPLIT_BUTTON_MENU_ACTIVATION_VECTORS,o as SPLIT_BUTTON_ROOT_STATE_VECTORS,t as SPLIT_BUTTON_STYLE_CLASS_VECTORS,n as SPLIT_BUTTON_TOOLTIP_VECTORS};
|
|
1
|
+
const e=[{name:`icon-name (test_adw_split_button_icon_name, tests/test-split-button.c:17-55)`,steps:[{op:`icon-name`,value:`document-open-symbolic`,changed:!0,notified:[`icon-name`],mode:`icon`,label:null,iconName:`document-open-symbolic`,styleClasses:[`image-button`],rule:`first icon on an empty button notifies icon-name only (:31-32)`},{op:`icon-name`,value:`document-open-symbolic`,changed:!1,notified:[],mode:`icon`,label:null,iconName:`document-open-symbolic`,styleClasses:[`image-button`],rule:"same icon again is a no-op — `if (!g_strcmp0 …) return` (:34-36 / c:756-757)"},{op:`icon-name`,value:`edit-find-symbolic`,changed:!0,notified:[`icon-name`,`child`],mode:`icon`,label:null,iconName:`edit-find-symbolic`,styleClasses:[`image-button`],rule:`icon→icon still notifies child: the internal GtkImage is non-NULL (:38-40 / c:762-763)`},{op:`label`,value:`Open`,changed:!0,notified:[`label`,`child`,`icon-name`],mode:`label`,label:`Open`,iconName:null,styleClasses:[`text-button`],rule:`setting the label CLEARS the icon — get_icon_name() is NULL after (:42-44); the OWN property leads, the two cleared slots follow (measured)`},{op:`icon-name`,value:`document-open-symbolic`,changed:!0,notified:[`icon-name`,`child`,`label`],mode:`icon`,label:null,iconName:`document-open-symbolic`,styleClasses:[`image-button`],rule:`and back: setting the icon CLEARS the label (:46-48)`},{op:`child`,value:`child1`,changed:!0,notified:[`child`,`icon-name`],mode:`child`,label:null,iconName:null,styleClasses:[],rule:`a child clears both, and carries neither style class (:50-52)`}]},{name:`label (test_adw_split_button_label, tests/test-split-button.c:57-95)`,steps:[{op:`label`,value:`Open`,changed:!0,notified:[`label`],mode:`label`,label:`Open`,iconName:null,styleClasses:[`text-button`],rule:`first label on an empty button notifies label only (:71-72)`},{op:`label`,value:`Open`,changed:!1,notified:[],mode:`label`,label:`Open`,iconName:null,styleClasses:[`text-button`],rule:`same label again is a no-op (:74-76 / c:668-669)`},{op:`label`,value:`Find`,changed:!0,notified:[`label`,`child`],mode:`label`,label:`Find`,iconName:null,styleClasses:[`text-button`],rule:`label→label notifies child: the internal GtkLabel is non-NULL (:78-80 / c:674-675)`},{op:`icon-name`,value:`document-open-symbolic`,changed:!0,notified:[`icon-name`,`child`,`label`],mode:`icon`,label:null,iconName:`document-open-symbolic`,styleClasses:[`image-button`],rule:`setting the icon CLEARS the label — get_label() is NULL after (:82-84)`},{op:`label`,value:`Open`,changed:!0,notified:[`label`,`child`,`icon-name`],mode:`label`,label:`Open`,iconName:null,styleClasses:[`text-button`],rule:`and back again (:86-88)`},{op:`child`,value:`child1`,changed:!0,notified:[`child`,`label`],mode:`child`,label:null,iconName:null,styleClasses:[],rule:`a child clears the label (:90-92)`}]},{name:`child (test_adw_split_button_child, tests/test-split-button.c:125-170)`,steps:[{op:`child`,value:null,changed:!1,notified:[],mode:`empty`,label:null,iconName:null,styleClasses:[],rule:`clearing an already-empty button is a no-op (:143-144 / c:806-807)`},{op:`child`,value:`child1`,changed:!0,notified:[`child`],mode:`child`,label:null,iconName:null,styleClasses:[],rule:`first child notifies child only (:146-148)`},{op:`child`,value:`child2`,changed:!0,notified:[`child`],mode:`child`,label:null,iconName:null,styleClasses:[],rule:`child→child notifies once; neither label nor icon was set (:150-152)`},{op:`label`,value:`Open`,changed:!0,notified:[`label`,`child`],mode:`label`,label:`Open`,iconName:null,styleClasses:[`text-button`],rule:`the label replaces the app child — get_child() is no longer it (:154-159)`},{op:`child`,value:`child3`,changed:!0,notified:[`child`,`label`],mode:`child`,label:null,iconName:null,styleClasses:[],rule:`a child clears the label back out (:161-163)`},{op:`icon-name`,value:`document-open-symbolic`,changed:!0,notified:[`icon-name`,`child`],mode:`icon`,label:null,iconName:`document-open-symbolic`,styleClasses:[`image-button`],rule:`the icon replaces the app child (:165-167)`}]},{name:`empty + whitespace labels (derived from adw-split-button.c:151-159, measured on GJS 1.88.1, not asserted upstream)`,steps:[{op:`label`,value:``,changed:!0,notified:[`label`],mode:`label`,label:``,iconName:null,styleClasses:[],rule:"an empty label is SET (non-NULL) but `label[0]` is NUL — no text-button class (c:156)"},{op:`icon-name`,value:``,changed:!0,notified:[`icon-name`,`child`,`label`],mode:`icon`,label:null,iconName:null,styleClasses:[],rule:'an empty icon name reads back NULL — GtkImage normalises `""` to "no icon" (GTK_IMAGE_EMPTY) — while the empty label it cleared was a non-NULL pointer and is notified'},{op:`icon-name`,value:``,changed:!0,notified:[`icon-name`,`child`],mode:`icon`,label:null,iconName:null,styleClasses:[],rule:'and AGAIN: the guard is `g_strcmp0 ("", get_icon_name ())` against that NULL readback, so it can never fire — setting `""` twice notifies twice, the one write on this widget that is never idempotent'},{op:`label`,value:` `,changed:!0,notified:[`label`,`child`],mode:`label`,label:` `,iconName:null,styleClasses:[`text-button`],rule:"whitespace is a valid label: nothing trims, and `label[0]` is a space (c:156-159). No `icon-name` in the sequence: the slot it cleared already read back NULL, so C saw nothing to clear"},{op:`label`,value:` `,changed:!1,notified:[],mode:`label`,label:` `,iconName:null,styleClasses:[`text-button`],rule:`g_strcmp0 is a byte compare — the same two spaces are the same label`},{op:`label`,value:`Änderungen speichern…`,changed:!0,notified:[`label`,`child`],mode:`label`,label:`Änderungen speichern…`,iconName:null,styleClasses:[`text-button`],rule:`non-ASCII is stored verbatim — no normalisation, no escaping (c:661-682)`}]}],t=[{label:`Open`,iconName:null,classes:[`text-button`],rule:`a label gives text-button (c:156-159)`},{label:null,iconName:`document-open-symbolic`,classes:[`image-button`],rule:`an icon gives image-button (c:151-154)`},{label:``,iconName:null,classes:[],rule:"`label[0]` is NUL — an empty label carries NO class"},{label:null,iconName:``,classes:[],rule:'`icon_name[0]` is NUL — an empty icon name carries NO class. Both arms of the branch are tested even though `get_icon_name()` never RETURNS `""` (it reads back NULL), because the C tests the pointer it was handed'},{label:` `,iconName:null,classes:[`text-button`],rule:`two spaces are a non-empty label — no trimming`},{label:` `,iconName:null,classes:[`text-button`],rule:`any non-NUL first byte counts, tab included`},{label:null,iconName:null,classes:[],rule:`a child (or nothing) carries neither class (c:145-165)`},{label:`Open`,iconName:`document-open-symbolic`,classes:[`image-button`,`text-button`],rule:`the two branches are independent and evaluated icon-first (c:151-159)`}],n=[{tooltip:``,text:`More Options`,markup:!1,rule:`unset/cleared restores the translated default as TEXT`},{tooltip:`Some tooltip`,text:`Some tooltip`,markup:!0,rule:`a set tooltip is markup (c:1046-1047)`},{tooltip:`Some <b>tooltip</b>`,text:`Some <b>tooltip</b>`,markup:!0,rule:`Pango markup passes through unescaped (c:428)`},{tooltip:` `,text:` `,markup:!0,rule:"`*tooltip` is a space — non-NUL, so it is a real tooltip"}],r=[{direction:`down`,arrowIcon:`pan-down-symbolic`,popupDirection:`down`,rule:"the default (c:420); glyph from `menubutton arrow.down`, not overridden (_buttons.scss:457-459)"},{direction:`up`,arrowIcon:`pan-up-symbolic`,popupDirection:`up`,rule:"`menubutton arrow.up`, not overridden (_buttons.scss:460-462)"},{direction:`left`,arrowIcon:`pan-start-symbolic`,popupDirection:`left`,rule:`left uses pan-START, not pan-left (_buttons.scss:463-465)`},{direction:`right`,arrowIcon:`pan-end-symbolic`,popupDirection:`right`,rule:`right uses pan-END (_buttons.scss:466-468)`},{direction:`none`,arrowIcon:`pan-down-symbolic`,popupDirection:`down`,rule:"WINNING selector `splitbutton > menubutton > button > arrow.none` (_buttons.scss:621-623) OVERRIDES `menubutton arrow.none` (:454-456): inside a split button `none` draws pan-down, NOT open-menu — and pops down (c:415), so it is indistinguishable from `down`"}],i=[{direction:`none`,arrowIcon:`open-menu-symbolic`,popupDirection:`down`,rule:"`menubutton arrow.none` (_buttons.scss:454-456) — the hamburger, unopposed here; placement still down (c:415 via the shared GtkMenuButton, c:971/:997)"},{direction:`down`,arrowIcon:`pan-down-symbolic`,popupDirection:`down`,rule:"`menubutton arrow.down` (_buttons.scss:457-459) — identical to the split button row"},{direction:`up`,arrowIcon:`pan-up-symbolic`,popupDirection:`up`,rule:"`menubutton arrow.up` (_buttons.scss:460-462)"},{direction:`left`,arrowIcon:`pan-start-symbolic`,popupDirection:`left`,rule:"`menubutton arrow.left` (_buttons.scss:463-465)"},{direction:`right`,arrowIcon:`pan-end-symbolic`,popupDirection:`right`,rule:"`menubutton arrow.right` (_buttons.scss:466-468)"}],a={active:!1,checked:!1,keyboardActivating:!1},o=[{action:a,dropdown:a,active:!1,checked:!1,rule:`idle folds to idle`},{action:{...a,active:!0},dropdown:a,active:!0,checked:!1,rule:`a pressed action half makes the WHOLE control active (c:134-137)`},{action:a,dropdown:{...a,active:!0},active:!0,checked:!1,rule:`so does a pressed dropdown half — the flags are OR-ed (c:127-128)`},{action:a,dropdown:{...a,checked:!0},active:!1,checked:!0,rule:`an open menu checks the arrow half, and the root with it (c:139-142)`},{action:{...a,keyboardActivating:!0},dropdown:a,active:!0,checked:!1,rule:`the keyboard-activating CSS class counts as ACTIVE (c:130-135)`},{action:{...a,active:!0},dropdown:{...a,checked:!0},active:!0,checked:!0,rule:`active and checked are independent folds`}],s=[{kind:`item`,label:`Copy`,action:`app.copy`},{kind:`item`,label:`Copy`,action:`app.copy-special`},{kind:`submenu`,label:`More`,items:[{kind:`item`,label:`Copy`,action:`app.copy-as`}]}],c=[{model:s,path:[1],activated:{kind:`item`,label:`Copy`,action:`app.copy-special`},rule:`the SECOND of two identically labelled entries — the indexOf bug`},{model:s,path:[0],activated:{kind:`item`,label:`Copy`,action:`app.copy`},rule:`position 0`},{model:s,path:[2,0],activated:{kind:`item`,label:`Copy`,action:`app.copy-as`},rule:`a THIRD entry with the same label, inside a submenu: only a path tells it from the other two`},{model:s,path:[2],activated:null,rule:`a submenu is not an item — opening it activates nothing`},{model:s,path:[3],activated:null,rule:`a position past n_items has no item`},{model:s,path:[-1],activated:null,rule:`a negative position has no item`},{model:s,path:[.5],activated:null,rule:`a fractional position is not a position`},{model:s,path:[],activated:null,rule:`the empty path names the model, not an item`},{model:s,path:[0,0],activated:null,rule:`an item has no children to descend into`},{model:[],path:[0],activated:null,rule:`no menu model → nothing to activate`}],l=[{model:[],popover:!1,enabled:!1,canOpen:!1,rule:`neither → insensitive dropdown; an empty entry list is the renderers’ spelling of "no menu", so a menu-less button must not open an empty popover`},{model:[{kind:`item`,label:`Save as…`,action:`app.save-as`}],popover:!1,enabled:!0,canOpen:!0,rule:`a menu model makes the dropdown live`},{model:[],popover:!0,enabled:!0,canOpen:!0,rule:`so does a popover on its own`},{model:[{kind:`item`,label:`Save as…`}],popover:!0,enabled:!0,canOpen:!0,rule:`setting one dissociates the other, but the dropdown stays live (c:390-403)`},{model:[{kind:`section`,items:[]}],popover:!1,enabled:!0,canOpen:!0,rule:`a model with a node but nothing to DRAW is still a menu — the answer GTK gives for the same empty GMenu section`}];export{i as MENU_BUTTON_DIRECTION_VECTORS,e as SPLIT_BUTTON_CONTENT_VECTORS,r as SPLIT_BUTTON_DIRECTION_VECTORS,l as SPLIT_BUTTON_DROPDOWN_VECTORS,c as SPLIT_BUTTON_MENU_ACTIVATION_VECTORS,o as SPLIT_BUTTON_ROOT_STATE_VECTORS,t as SPLIT_BUTTON_STYLE_CLASS_VECTORS,n as SPLIT_BUTTON_TOOLTIP_VECTORS};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./_virtual/_rolldown/runtime.js";let e;function registerDefaultTranslate(t){e=t}function registeredDefaultTranslate(){return e}export{registerDefaultTranslate,registeredDefaultTranslate};
|
package/lib/esm/glib.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./_virtual/_rolldown/runtime.js";const e=/^[ \t\n\v\f\r]+|[ \t\n\v\f\r]+$/g;function gStrStrip(t){return t.replace(e,``)}function stringIsNotEmpty(e){return e!=null&&e.length>0}function glibClamp(e,t,n){return e>n?n:e<t?t:e}function stripMnemonic(e){let t=[...e],n=``,r=0;for(;r<t.length;){if(t[r]!==`_`){n+=t[r],r+=1;continue}let e=t[r+1];if(e===void 0)return n;n+=e===`_`?`_`:e,r+=2}return n}export{gStrStrip,glibClamp,stringIsNotEmpty,stripMnemonic};
|
|
1
|
+
import"./_virtual/_rolldown/runtime.js";const e=/^[ \t\n\v\f\r]+|[ \t\n\v\f\r]+$/g;function gStrStrip(t){return t.replace(e,``)}function stringIsNotEmpty(e){return e!=null&&e.length>0}function gtkButtonIconNameReadback(e){return e===``?null:e}function adwSubtitleWriteNotifies(e,t){return t==null||t!==e}function glibClamp(e,t,n){return e>n?n:e<t?t:e}function stripMnemonic(e){let t=[...e],n=``,r=0;for(;r<t.length;){if(t[r]!==`_`){n+=t[r],r+=1;continue}let e=t[r+1];if(e===void 0)return n;n+=e===`_`?`_`:e,r+=2}return n}export{adwSubtitleWriteNotifies,gStrStrip,glibClamp,gtkButtonIconNameReadback,stringIsNotEmpty,stripMnemonic};
|
package/lib/esm/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{gStrStrip as e,glibClamp as t,stringIsNotEmpty as n,stripMnemonic as r}from"./glib.js";import{engineForTarget as i,registerGObjectEngine as a,registeredEngine as o,resetRegisteredEngine as s}from"./engine.js";import{GIR_TYPE as c,GObjectObject as l,ListModel as u,META_SYMBOLS as d,PURE_JS_ENGINE as f,ParamFlags as p,ParamSpec as m,STOP_EMISSION as h,TYPE_BOOLEAN as g,TYPE_DOUBLE as _,TYPE_INT as v,TYPE_OBJECT as y,TYPE_STRING as b,TYPE_UINT as x,UNLOCKED_VFUNCS as S,UnsupportedGObjectError as C,Value as w,bindProperties as T,connectInstance as E,constructRegistered as D,createClosure as O,createGObject as k,disconnectInstance as A,emitInstance as j,gobjectEngineName as M,notifyInstance as N,refuseForeignInterfaces as P,registerBaseClass as F,registeredClassOf as I,usePureJsGObjectEngine as L}from"./gobject.js";import{PANGO_MARKUP_TAGS as R,escapeMarkup as z,parsePangoMarkup as B,stripMarkup as V}from"./pango-markup.js";import{ADW_ABOUT_DIALOG_LABELS as H,ADW_CREDITS_SECTION_TITLES as U,ADW_LEGAL_DEFAULT_TITLE as W,ADW_LICENSES as G,ADW_LICENSE_ALIASES as K,ADW_LICENSE_DEFAULTS as q,ADW_LICENSE_WARRANTY_TEMPLATE as J,ADW_LINK_ROW_ICON_NAME as Y,ADW_LINK_ROW_MAIL_ICON_NAME as X,ADW_TRANSLATOR_CREDITS_SENTINELS as Z,GTK_LICENSE as Q,aboutDialogVisibility as $,acknowledgementSections as ee,creditsSections as te,flatCardShowsWebsite as ne,isLicenseType as re,legalMarkupText as ie,legalSectionVisible as ae,legalSections as oe,legalVisible as se,licenseText as ce,licenseTypeForNick as le,licenseTypeForSpdxId as ue,linkRowIconName as de,linkRowTooltip as fe,parseCreditPerson as pe,refuseNewFromAppdata as me,setLicense as he,setLicenseType as ge,translatorCreditsPeople as _e}from"./about-dialog.js";import{AcceleratorMap as ve,ModifierMask as ye,acceleratorName as be,parseAcceleratorKeyval as xe}from"./accelerators.js";import{ADW_ACCENT_BG_COLORS as Se,ADW_ACCENT_COLOR_NAMES as Ce,ADW_ACCENT_FG_COLOR as we,ADW_DEFAULT_ACCENT_COLOR as Te,adwaitaAccent as Ee,adwaitaAccentBgColor as De,adwaitaAccentColor as Oe,adwaitaStandaloneColor as ke,formatAdwRgb as Ae,isAdwAccentColorName as je,nearestAccent as Me,onAdwaitaAccentChanged as Ne,parseAdwRgb as Pe,setAdwaitaAccent as Fe}from"./accent.js";import{ActionRowState as Ie,BUTTON_ROW_ACTIVATABLE as Le,ButtonRowState as Re,SwitchRowState as ze,WindowTitleState as Be,deriveRowLabels as Ve}from"./action-row.js";import{ADW_ADJUSTMENT_DEFAULTS as He,SpinState as Ue,adjustmentRange as We,clampAdjustmentValue as Ge,normalizeAdjustment as Ke,parseAdjustment as qe,snapAdjustmentValue as Je}from"./adjustment.js";import{ADW_ACCENT_META as Ye,ADW_ACCENT_META_SYSTEM as Xe,ADW_COLOR_SCHEME_META as Ze,ADW_SYSTEM_COLOR_SCHEMES as Qe,appearanceFromMeta as $e,isAdwSystemColorScheme as et,parseDesktopAppearance as tt,renderAppearanceMeta as nt}from"./appearance.js";import{APPLE_ACCENT_COLORS as rt,APPLE_MULTICOLOR_ACCENT as it,adwAccentFromAppleAccentColor as at}from"./apple-accent.js";import{ActionRegistry as ot,SimpleAction as st,SimpleActionGroup as ct,actionRegistryOf as lt,activateWidgetAction as ut,applicationOfWindow as dt,findActionGroup as ft,insertActionGroup as pt,installActionMap as mt,linkWindow as ht}from"./gio-actions.js";import{Bytes as gt}from"./glib-bytes.js";import{DialogError as _t,GLibError as vt,IOErrorEnum as yt,ResourceError as bt,asGLibError as xt}from"./glib-error.js";import{Resource as St,ResourceLookupFlags as Ct,resources_enumerate_children as wt,resources_get_info as Tt,resources_lookup_data as Et,resources_register as Dt,resources_unregister as Ot}from"./gio-resource.js";import{CURRENT_TIME as kt,CssProvider as At,EventControllerKey as jt,GDK_KEYS as Mt,GtkSettings as Nt,IconTheme as Pt,STYLE_PROVIDER_PRIORITY_APPLICATION as Ft,STYLE_PROVIDER_PRIORITY_FALLBACK as It,STYLE_PROVIDER_PRIORITY_SETTINGS as Lt,STYLE_PROVIDER_PRIORITY_THEME as Rt,STYLE_PROVIDER_PRIORITY_USER as zt,createGtkPlatform as Bt,deliverKeyToControllers as Vt,keyvalOfKey as Ht,widgetControllerMembers as Ut}from"./gtk-platform.js";import{ADW_MENU_SURFACE_NATIVESCRIPT as Wt,ADW_MENU_SURFACE_WEB as Gt,assertMenuRenderable as Kt,flattenMenu as qt,menuItemAt as Jt,menuLabelText as Yt,menuNodeAt as Xt,menuRefusals as Zt,normalizeMenuModel as Qt,parseDetailedAction as $t,parseMenuModel as en,resolveMenuItemState as tn}from"./menu.js";import{ApplicationFlags as nn,ApplicationInhibitFlags as rn,GioApplicationBase as an,GtkApplicationBase as on,defineWindowApplicationMembers as sn,dispatchAccelerator as cn,isValidApplicationId as ln,withGtkApplication as un}from"./application.js";import{AVATAR_COLORS as dn,AVATAR_COLOR_COUNT as fn,avatarColor as pn,avatarColorClass as mn,avatarFontSize as hn,avatarIconSize as gn,avatarInitials as _n,avatarMaxFontSize as vn,avatarMode as yn,flattenAvatarGradient as bn,gStrHash as xn,randomAvatarColorClass as Sn}from"./avatar.js";import{ADW_BANNER_BUTTON_STYLES as Cn,ADW_BANNER_BUTTON_STYLE_CLASSES as wn,ADW_BANNER_DEFAULTS as Tn,bannerButtonStyleClasses as En,bannerButtonText as Dn,bannerButtonVisible as On,bannerRenderState as kn,isBannerButtonStyle as An,parseBannerButtonStyle as jn}from"./banner.js";import{listBoxSelect as Mn,listBoxSelectAll as Nn,listBoxSelectRow as Pn,listBoxUnselectAll as Fn,listBoxUnselectRow as In,normalizeBoxSelectionMode as Ln}from"./box-selection.js";import{DEFAULT_BOX_SPACING as Rn,normalizeBoxOrientation as zn,normalizeBoxSpacing as Bn}from"./box.js";import{AdwBreakpoint as Vn,evaluateBreakpointCondition as Hn,parseBreakpointCondition as Un}from"./breakpoint.js";import{BreakpointBinState as Wn}from"./breakpoint-bin.js";import{createBreakpointDriver as Gn}from"./breakpoint-driver.js";import{ADW_BUTTON_CONTENT_DEFAULTS as Kn,BUTTON_CONTENT_BOX_SPACING as qn,BUTTON_CONTENT_FALLBACK_ICON as Jn,BUTTON_CONTENT_STYLE_CLASS as Yn,buttonContentEllipsize as Xn,buttonContentIconExpands as Zn,buttonContentIconIsEmpty as Qn,buttonContentIconName as $n,buttonContentLabelText as er,buttonContentLabelVisible as tr,buttonContentRenderState as nr,buttonContentStyleTargetIndex as rr}from"./button-content.js";import{ADW_BUTTON_STYLE_ALIASES as ir,ADW_BUTTON_STYLE_CLASSES as ar,buttonStyleClass as or,buttonStyleClasses as sr}from"./button.js";import{CALENDAR_MARK_MAX as cr,CALENDAR_MARK_MIN as lr,CALENDAR_YEAR_MAX as ur,CALENDAR_YEAR_MIN as dr,calendarClearMarks as fr,calendarDayIsMarked as pr,calendarDays as mr,calendarDaysInMonth as hr,calendarIsLeapYear as gr,calendarMarkDay as _r,calendarNavigationButtons as vr,calendarSelectDay as yr,calendarStep as br,calendarWeekNumber as xr,calendarWeekStart as Sr}from"./calendar.js";import{ADW_SWIPE_DECELERATION_TOUCH as Cr,ADW_SWIPE_DECELERATION_TOUCHPAD as wr,ADW_SWIPE_DRAG_THRESHOLD as Tr,ADW_SWIPE_EPSILON as Er,ADW_SWIPE_HISTORY_THRESHOLD_MS as Dr,ADW_SWIPE_PARABOLA_MULTIPLIER as Or,ADW_SWIPE_TOUCHPAD_BASE_DISTANCE_H as kr,ADW_SWIPE_TOUCHPAD_BASE_DISTANCE_V as Ar,ADW_SWIPE_VELOCITY_CURVE_THRESHOLD as jr,ADW_SWIPE_VELOCITY_THRESHOLD_TOUCH as Mr,ADW_SWIPE_VELOCITY_THRESHOLD_TOUCHPAD as Nr,SwipeTracker as Pr,swipeBounds as Fr,swipeClosestPointIndex as Ir,swipeEndProgress as Lr,swipeNextPointIndex as Rr,swipePreviousPointIndex as zr,swipeProjectedPointIndex as Br,swipeSlope as Vr,swipeVelocityThreshold as Hr}from"./swipe.js";import{CAROUSEL_SCROLL_TIMEOUT_MS as Ur,CAROUSEL_SETTLE_EPSILON as Wr,CarouselState as Gr,carouselClampPosition as Kr,carouselClosestSnapPoint as qr,carouselNavigateTarget as Jr,carouselPageAllocation as Yr,carouselPageAtPosition as Xr,carouselRange as Zr,carouselReorderShift as Qr,carouselSizesFromSnapPoints as $r,carouselSnapPoints as ei,carouselWheelStep as ti}from"./carousel.js";import{checkActivationFlips as ni,checkGroupNeighbours as ri,isRadioCheck as ii,setCheckGroup as ai}from"./check-group.js";import{RadioGroupState as oi,resolveCheckState as si}from"./checks.js";import{adwLerp as ci,easeInOutSine as li,easeOutCubic as ui,inverseLerp as di}from"./easing.js";import{ADW_CLAMP_DEFAULTS as fi,ADW_CLAMP_SIZE_CLASSES as pi,ADW_SPINNER_MAX_SIZE as mi,ADW_SPINNER_MIN_SIZE as hi,ADW_TOOLBAR_BAR_CLASSES as gi,ADW_TOOLBAR_VIEW_CLASSES as _i,ADW_TOOLBAR_VIEW_DEFAULTS as vi,clampAllocate as yi,clampChildSize as bi,clampSizeFromChild as xi,clampThresholds as Si,normalizeClampSize as Ci,parseToolbarStyle as wi,resolveSpinnerSize as Ti,spinnerGeometry as Ei,toolbarBarStyleClasses as Di,toolbarViewAllocate as Oi,toolbarViewClasses as ki,toolbarViewContentForSize as Ai,toolbarViewMeasure as ji}from"./chrome.js";import{DEFAULT_ICON_COLOR as Mi,DEFAULT_ICON_COLOR_DARK as Ni,adwaitaColorScheme as Pi,isThemeIconColor as Fi,onAdwaitaColorSchemeChanged as Ii,setAdwaitaColorScheme as Li,themeIconColor as Ri,toggleAdwaitaColorScheme as zi}from"./color-scheme.js";import{MAXUINT32 as Bi,buildFilenamev as Vi,getCurrentDir as Hi,getSystemDataDirs as Ui}from"./glib-paths.js";import{GtkStringList as Wi,GtkStringObject as Gi,INVALID_LIST_POSITION as Ki}from"./gtk-string-list.js";import{ADW_COMBO_NO_SELECTION as qi,listItemsChanged as Ji,normalizeComboOptions as Yi,parseListModel as Xi}from"./list.js";import{GjsifyOptionList as Zi,GjsifyOptionObject as Qi,readModelWrite as $i}from"./option-list.js";import{ViewStackState as ea,normalizeIconName as ta,resolvePageTitle as na}from"./view-stack.js";import{DEFAULT_TAB_AUTOHIDE as ra,TabViewState as ia,isDescendantOfPage as aa,successorAfterClose as oa,tabCloseVisible as sa,tabIconState as ca,tabSearchMatches as la,tabTooltip as ua,tabTooltipIsMarkup as da,tabViewItemsChanged as fa,tabsRevealed as pa}from"./tab-view.js";import{activateMenuItem as ma,menuActionsFor as ha}from"./menu-actions.js";import{ADW_DATA_GRID_ROW_VARIANTS as ga,DATA_GRID_CELL_CLASS as _a,DATA_GRID_ROW_CLASS as va,dataGridCellText as ya,dataGridColumnAlign as ba,dataGridColumnClasses as xa,dataGridRowInteractive as Sa,dataGridTrackTemplate as Ca,dataGridTracks as wa,normalizeDataGridColumns as Ta,normalizeDataGridVariant as Ea}from"./data-grid.js";import{AdwAlertResponses as Da,BottomSheetPresentation as Oa,resolveBottomSheetChrome as ka,resolveBottomSheetClose as Aa,resolveBottomSheetOpen as ja,resolveBottomSheetSwipeTracker as Ma}from"./dialog.js";import{CAPS_LOCK_ICON_NAME as Na,CAPS_LOCK_TOOLTIP as Pa,EMPTY_ANIMATION_DURATION_MS as Fa,ENTRY_ROW_APPLY_ICON_NAME as Ia,ENTRY_ROW_APPLY_TOOLTIP as La,ENTRY_ROW_EDIT_ICON_NAME as Ra,ENTRY_ROW_MAX_LENGTH_LIMIT as za,ENTRY_ROW_TITLE_SPACING as Ba,EntryRowState as Va,PASSWORD_CONCEAL_ICON_NAME as Ha,PASSWORD_CONCEAL_LABEL as Ua,PASSWORD_REVEAL_ICON_NAME as Wa,PASSWORD_REVEAL_LABEL as Ga,PasswordEntryRowState as Ka,clampEntryMaxLength as qa,clampEntryText as Ja,deriveEntryRowState as Ya,entryRowLatches as Xa,entryTextLength as Za,resolveEntryRowActivation as Qa}from"./entry-row.js";import{FileCreateFlags as $a,FileDialog as eo,FileFilter as to,FileOutputStream as no,GioFile as ro,GioListStore as io,OutputStream as ao,dialogFailedError as oo,dismissedError as so,fileFilterAccepts as co,fileFilterSpec as lo,fileForHandle as uo,promisify as fo,registerFileChooserDriver as po}from"./file-chooser.js";import{AppLaunchContext as mo,createAppInfo as ho,uriPeekScheme as go}from"./gio-app-info.js";import{AppLaunchContext as _o,Clipboard as vo,ContentFormats as yo,ContentProvider as bo,Display as xo,createGdk as So,widgetDisplayMembers as Co}from"./gdk.js";import{GioMenu as wo,GioMenuItem as To}from"./gio-menu.js";import{computeLanguageNames as Eo,languageNamesFromTags as Do,localeFromLanguageTag as Oo}from"./glib-language.js";import{createGLibTimers as ko}from"./glib-timers.js";import{GLIB_UNICHAR_UNICODE_VERSION as Ao}from"./glib-unichar.generated.js";import{unicharIsalpha as jo}from"./glib-unichar.js";import{uriEscapeString as Mo}from"./glib-uri.js";import{Variant as No}from"./glib-variant.js";import{Point as Po,computePoint as Fo}from"./graphene.js";import{gridColumns as Io,gridNavigate as Lo}from"./grid-navigation.js";import{GtkAdjustment as Ro}from"./gtk-adjustment.js";import{HeaderBarState as zo,resolveHeaderBarTitle as Bo}from"./header-bar.js";import{iconLookupNames as Vo,lookupResourceIcon as Ho}from"./icon-theme-resources.js";import{RELEASE_NOTES_LABELS as Uo,releaseNotesBuffer as Wo}from"./release-notes.js";import{AdwToast as Go,AdwToastQueue as Ko,DEFAULT_TOAST_TIMEOUT as qo}from"./toast.js";import{Toast as Jo,ToastOverlayQueue as Yo,ToastPriority as Xo}from"./toast-object.js";import{ADW_COLUMN_VIEW_NO_FIXED_WIDTH as Zo,ADW_GRID_VIEW_MAX_COLUMNS as Qo,ADW_GRID_VIEW_MIN_COLUMNS as $o,ListViewState as es,columnViewSort as ts,columnViewTracks as ns,gridViewColumns as rs,listItemField as is,listViewSelect as as,listViewSelectAll as os,normalizeColumnViewColumns as ss,normalizeListSelectionMode as cs,parseColumnViewColumns as ls}from"./list-view.js";import{treeExpanderAction as us,treeExpanderExpanded as ds,treeExpanderLayout as fs}from"./tree-expander.js";import{ComboState as ps,ExpanderState as ms,ToggleGroupState as hs,keptToggles as gs,toggleIndexOfName as _s}from"./rows.js";import{DEFAULT_LABEL_ELLIPSIZE as vs,DEFAULT_LABEL_LINES as ys,DEFAULT_LABEL_MAX_WIDTH_CHARS as bs,DEFAULT_LABEL_WIDTH_CHARS as xs,DEFAULT_LABEL_WRAP_MODE as Ss,DEFAULT_LABEL_XALIGN as Cs,DEFAULT_LABEL_YALIGN as ws,LABEL_ELLIPSIZE_MODES as Ts,LABEL_JUSTIFICATIONS as Es,LABEL_WRAP_MODES as Ds,labelDisplayText as Os,labelEffectiveLines as ks,labelEllipsizeOverflowValue as As,labelMarkupIsUnparseable as js,labelWidthCharsExtent as Ms,labelYalignAlignItems as Ns,normalizeLabelEllipsize as Ps,normalizeLabelJustify as Fs,normalizeLabelLines as Is,normalizeLabelMaxWidthChars as Ls,normalizeLabelWidthChars as Rs,normalizeLabelWrapMode as zs,normalizeLabelXalign as Bs,normalizeLabelYalign as Vs}from"./label.js";import{syncDirection as Hs,widgetTreeMembers as Us}from"./widget-members.js";import{BACK_BUTTON_FALLBACK_TOOLTIP as Ws,NavigationViewState as Gs,describeNavigationDiagnostic as Ks}from"./navigation-view.js";import{ADW_SIDEBAR_NO_SELECTION as qs,SidebarState as Js,adjustSidebarSelection as Ys,clampSidebarSelection as Xs,flattenSidebarItems as Zs,sidebarHeaders as Qs}from"./sidebar.js";import{ADW_SPINNER_CONTRACT_DISTANCE as $s,ADW_SPINNER_CYCLES_PER_LOOP as ec,ADW_SPINNER_CYCLE_LENGTH as tc,ADW_SPINNER_EXTEND_DISTANCE as nc,ADW_SPINNER_IDLE_DISTANCE as rc,ADW_SPINNER_MAX_ARC_LENGTH as ic,ADW_SPINNER_MIN_ARC_LENGTH as ac,ADW_SPINNER_N_CYCLES as oc,ADW_SPINNER_OVERLAP_DISTANCE as sc,ADW_SPINNER_SPIN_DURATION_MS as cc,ADW_SPINNER_START_ANGLE as lc,ADW_SPINNER_STILL_PROGRESS as uc,ADW_SPINNER_TRACK_OPACITY as dc,normalizeSpinnerAngle as fc,spinnerArc as pc,spinnerArcEnd as mc,spinnerArcStart as hc,spinnerProgressAt as gc}from"./spinner.js";import{parseAccelerator as _c,parseShortcutLabel as vc,shortcutKeycaps as yc}from"./shortcut-label.js";import{formatAcceleratorLabel as bc,formatManifestShortcut as xc}from"./shortcut-format.js";import{ADW_LENGTH_UNITS as Sc,DEFAULT_DPI as Cc,adwLengthToPx as wc,normalizeLengthUnit as Tc}from"./length-unit.js";import{ADW_SWIPE_BORDER as Ec,DEFAULT_MAX_SIDEBAR_WIDTH as Dc,DEFAULT_MIN_SIDEBAR_WIDTH as Oc,DEFAULT_SIDEBAR_WIDTH_FRACTION as kc,DEFAULT_SIDEBAR_WIDTH_UNIT as Ac,INSTANT_SPLIT_VIEW_ANIMATOR as jc,NAVIGATION_SPLIT_VIEW_CRITICALS as Mc,NavigationSplitViewState as Nc,OverlaySplitViewState as Pc,isSidebarAtVisualStart as Fc,layoutNavigationSplitView as Ic,layoutOverlaySplitView as Lc,measureSplitViewHorizontal as Rc,resolveNaturalSidebarWidth as zc,resolveNavigationAction as Bc,resolveNavigationSidebarWidth as Vc,resolveNavigationStack as Hc,resolveOverlaySidebarWidth as Uc,resolveSidebarBounds as Wc,resolveSwipeArea as Gc,resolveSwipeRelease as Kc,resolveSwipeSnapPoints as qc,resolveSwipeStart as Jc,swipeCancelProgress as Yc,tagsConflict as Xc}from"./split-view.js";import{DEFAULT_DROPDOWN_TOOLTIP as Zc,SPLIT_BUTTON_DISABLED_OPACITY as Qc,SplitButtonState as $c,isSplitButtonDirection as el,menuButtonArrowIcon as tl,menuButtonPopupDirection as nl,resolveDropdownTooltip as rl,splitButtonArrowIcon as il,splitButtonPopupDirection as al,splitButtonRootState as ol,splitButtonStyleClasses as sl}from"./split-button.js";import{assertPopupMenuPlan as cl,planPopupMenu as ll}from"./popup-menu-plan.js";import{menuAssignments as ul}from"./menu-tree.js";import{DEFAULT_INDICATOR_DESCRIPTION_STRINGS as dl,INLINE_VIEW_SWITCHER_DISPLAY_MODES as fl,VIEW_SWITCHER_BADGE_LIMIT as pl,VIEW_SWITCHER_DRAG_SWITCH_DELAY as ml,VIEW_SWITCHER_FALLBACK_ICON as hl,VIEW_SWITCHER_NO_SELECTION as gl,VIEW_SWITCHER_POLICIES as _l,ViewSwitcherBarState as vl,ViewSwitcherDragSwitch as yl,ViewSwitcherState as bl,buildInlineToggles as xl,buildViewSwitcherButtons as Sl,createViewSwitcherPage as Cl,inlineToggleTooltip as wl,isInlineViewSwitcherDisplayMode as Tl,isViewSwitcherButtonVisible as El,isViewSwitcherPolicy as Dl,pageIndexForToggle as Ol,shouldRevealViewSwitcherBar as kl,toggleIndexForPage as Al,viewSwitcherBadgeLabel as jl,viewSwitcherButtonOrientation as Ml,viewSwitcherIconName as Nl,viewSwitcherIndicatorDescription as Pl,viewSwitcherLabel as Fl,viewSwitcherPageFromStackPage as Il,viewSwitcherPagesFromStack as Ll,viewSwitcherSidebarSections as Rl}from"./view-switcher.js";import{UNTITLED_PAGE_LABEL as zl,collectSearchRows as Bl,countVisiblePages as Vl,createSearchRowSubtitle as Hl,defaultCaseFolder as Ul,derivePreferencesGroupHeader as Wl,makeComparable as Gl,rowMatchesQuery as Kl,searchPreferences as ql}from"./preferences.js";import{ADW_MAX_OVERSHOOT_DISTANCE as Jl,ADW_OVERSHOOT_SETTLE_MS as Yl,ADW_UNDERSHOOT_CLASSES as Xl,ADW_UNDERSHOOT_SIZE as Zl,accumulateOvershoot as Ql,isScrolledFromEnd as $l,isScrolledFromStart as eu,overshootDistance as tu,scrollMaxValue as nu,scrollUndershootClasses as ru}from"./scrolling.js";import{POPOVER_ITEM_RADIUS as iu,POPOVER_MENU_PADDING as au,POPOVER_PADDING as ou,POPOVER_RADIUS as su,PopoverState as cu,resolvePopoverKey as lu}from"./popover.js";import{ADW_WRAP_BOX_DEFAULT_ALIGN as uu,ADW_WRAP_BOX_DEFAULT_JUSTIFY as du,ADW_WRAP_BOX_DEFAULT_JUSTIFY_LAST_LINE as fu,ADW_WRAP_BOX_DEFAULT_LENGTH_UNIT as pu,ADW_WRAP_BOX_DEFAULT_PACK_DIRECTION as mu,ADW_WRAP_BOX_DEFAULT_SPACING as hu,ADW_WRAP_BOX_DEFAULT_WRAP_POLICY as gu,ADW_WRAP_BOX_JUSTIFY_MODES as _u,ADW_WRAP_BOX_NATURAL_LINE_LENGTH_UNSET as vu,ADW_WRAP_BOX_PACK_DIRECTIONS as yu,ADW_WRAP_POLICIES as bu,normalizeNaturalLineLength as xu,normalizeWrapBoxAlign as Su,normalizeWrapBoxJustify as Cu,normalizeWrapBoxLengthUnit as wu,normalizeWrapBoxPackDirection as Tu,normalizeWrapBoxSpacing as Eu,normalizeWrapPolicy as Du,resolveWrapBoxChildOrder as Ou,resolveWrapBoxLine as ku,wrapBoxChildFlex as Au,wrapBoxFlexStyle as ju,wrapBoxLengthToPx as Mu,wrapPolicyFlexShrink as Nu}from"./wrap-box.js";import{ADW_SOURCE_6502_DIRECTIVES as Pu,ADW_SOURCE_6502_LINE_COMMENT as Fu,ADW_SOURCE_6502_OPCODES as Iu,ADW_SOURCE_6502_REGISTERS as Lu,ADW_SOURCE_6502_TOKEN_ROLES as Ru,ADW_SOURCE_HEX_STRIDE as zu,ADW_SOURCE_PALETTE_DARK as Bu,ADW_SOURCE_PALETTE_LIGHT as Vu,ADW_SOURCE_SYNTAX_ROLES as Hu,classifyAsm6502Word as Uu,formatHexAddress as Wu,formatLineNumber as Gu,stripSourceWhitespace as Ku,tokenizeAsm6502 as qu}from"./source.js";import{CloseRequestState as Ju,HandledAccumulator as Yu,WindowMemberState as Xu,stepDefaultSize as Zu}from"./window-members.js";import{RGBA as Qu}from"./rgba.js";import{AccentColor as $u,ColorScheme as ed,StyleManagerBase as td}from"./style-manager.js";export{H as ADW_ABOUT_DIALOG_LABELS,Se as ADW_ACCENT_BG_COLORS,Ce as ADW_ACCENT_COLOR_NAMES,we as ADW_ACCENT_FG_COLOR,Ye as ADW_ACCENT_META,Xe as ADW_ACCENT_META_SYSTEM,He as ADW_ADJUSTMENT_DEFAULTS,Cn as ADW_BANNER_BUTTON_STYLES,wn as ADW_BANNER_BUTTON_STYLE_CLASSES,Tn as ADW_BANNER_DEFAULTS,Kn as ADW_BUTTON_CONTENT_DEFAULTS,ir as ADW_BUTTON_STYLE_ALIASES,ar as ADW_BUTTON_STYLE_CLASSES,fi as ADW_CLAMP_DEFAULTS,pi as ADW_CLAMP_SIZE_CLASSES,Ze as ADW_COLOR_SCHEME_META,Zo as ADW_COLUMN_VIEW_NO_FIXED_WIDTH,qi as ADW_COMBO_NO_SELECTION,U as ADW_CREDITS_SECTION_TITLES,ga as ADW_DATA_GRID_ROW_VARIANTS,Te as ADW_DEFAULT_ACCENT_COLOR,Qo as ADW_GRID_VIEW_MAX_COLUMNS,$o as ADW_GRID_VIEW_MIN_COLUMNS,W as ADW_LEGAL_DEFAULT_TITLE,Sc as ADW_LENGTH_UNITS,G as ADW_LICENSES,K as ADW_LICENSE_ALIASES,q as ADW_LICENSE_DEFAULTS,J as ADW_LICENSE_WARRANTY_TEMPLATE,Y as ADW_LINK_ROW_ICON_NAME,X as ADW_LINK_ROW_MAIL_ICON_NAME,Jl as ADW_MAX_OVERSHOOT_DISTANCE,Wt as ADW_MENU_SURFACE_NATIVESCRIPT,Gt as ADW_MENU_SURFACE_WEB,Yl as ADW_OVERSHOOT_SETTLE_MS,qs as ADW_SIDEBAR_NO_SELECTION,Pu as ADW_SOURCE_6502_DIRECTIVES,Fu as ADW_SOURCE_6502_LINE_COMMENT,Iu as ADW_SOURCE_6502_OPCODES,Lu as ADW_SOURCE_6502_REGISTERS,Ru as ADW_SOURCE_6502_TOKEN_ROLES,zu as ADW_SOURCE_HEX_STRIDE,Bu as ADW_SOURCE_PALETTE_DARK,Vu as ADW_SOURCE_PALETTE_LIGHT,Hu as ADW_SOURCE_SYNTAX_ROLES,$s as ADW_SPINNER_CONTRACT_DISTANCE,ec as ADW_SPINNER_CYCLES_PER_LOOP,tc as ADW_SPINNER_CYCLE_LENGTH,nc as ADW_SPINNER_EXTEND_DISTANCE,rc as ADW_SPINNER_IDLE_DISTANCE,ic as ADW_SPINNER_MAX_ARC_LENGTH,mi as ADW_SPINNER_MAX_SIZE,ac as ADW_SPINNER_MIN_ARC_LENGTH,hi as ADW_SPINNER_MIN_SIZE,oc as ADW_SPINNER_N_CYCLES,sc as ADW_SPINNER_OVERLAP_DISTANCE,cc as ADW_SPINNER_SPIN_DURATION_MS,lc as ADW_SPINNER_START_ANGLE,uc as ADW_SPINNER_STILL_PROGRESS,dc as ADW_SPINNER_TRACK_OPACITY,Ec as ADW_SWIPE_BORDER,Cr as ADW_SWIPE_DECELERATION_TOUCH,wr as ADW_SWIPE_DECELERATION_TOUCHPAD,Tr as ADW_SWIPE_DRAG_THRESHOLD,Er as ADW_SWIPE_EPSILON,Dr as ADW_SWIPE_HISTORY_THRESHOLD_MS,Or as ADW_SWIPE_PARABOLA_MULTIPLIER,kr as ADW_SWIPE_TOUCHPAD_BASE_DISTANCE_H,Ar as ADW_SWIPE_TOUCHPAD_BASE_DISTANCE_V,jr as ADW_SWIPE_VELOCITY_CURVE_THRESHOLD,Mr as ADW_SWIPE_VELOCITY_THRESHOLD_TOUCH,Nr as ADW_SWIPE_VELOCITY_THRESHOLD_TOUCHPAD,Qe as ADW_SYSTEM_COLOR_SCHEMES,gi as ADW_TOOLBAR_BAR_CLASSES,_i as ADW_TOOLBAR_VIEW_CLASSES,vi as ADW_TOOLBAR_VIEW_DEFAULTS,Z as ADW_TRANSLATOR_CREDITS_SENTINELS,Xl as ADW_UNDERSHOOT_CLASSES,Zl as ADW_UNDERSHOOT_SIZE,uu as ADW_WRAP_BOX_DEFAULT_ALIGN,du as ADW_WRAP_BOX_DEFAULT_JUSTIFY,fu as ADW_WRAP_BOX_DEFAULT_JUSTIFY_LAST_LINE,pu as ADW_WRAP_BOX_DEFAULT_LENGTH_UNIT,mu as ADW_WRAP_BOX_DEFAULT_PACK_DIRECTION,hu as ADW_WRAP_BOX_DEFAULT_SPACING,gu as ADW_WRAP_BOX_DEFAULT_WRAP_POLICY,_u as ADW_WRAP_BOX_JUSTIFY_MODES,vu as ADW_WRAP_BOX_NATURAL_LINE_LENGTH_UNSET,yu as ADW_WRAP_BOX_PACK_DIRECTIONS,bu as ADW_WRAP_POLICIES,rt as APPLE_ACCENT_COLORS,it as APPLE_MULTICOLOR_ACCENT,dn as AVATAR_COLORS,fn as AVATAR_COLOR_COUNT,ve as AcceleratorMap,$u as AccentColor,ot as ActionRegistry,Ie as ActionRowState,Da as AdwAlertResponses,Vn as AdwBreakpoint,Go as AdwToast,Ko as AdwToastQueue,nn as ApplicationFlags,rn as ApplicationInhibitFlags,Ws as BACK_BUTTON_FALLBACK_TOOLTIP,qn as BUTTON_CONTENT_BOX_SPACING,Jn as BUTTON_CONTENT_FALLBACK_ICON,Yn as BUTTON_CONTENT_STYLE_CLASS,Le as BUTTON_ROW_ACTIVATABLE,Oa as BottomSheetPresentation,Wn as BreakpointBinState,Re as ButtonRowState,cr as CALENDAR_MARK_MAX,lr as CALENDAR_MARK_MIN,ur as CALENDAR_YEAR_MAX,dr as CALENDAR_YEAR_MIN,Na as CAPS_LOCK_ICON_NAME,Pa as CAPS_LOCK_TOOLTIP,Ur as CAROUSEL_SCROLL_TIMEOUT_MS,Wr as CAROUSEL_SETTLE_EPSILON,kt as CURRENT_TIME,Gr as CarouselState,vo as Clipboard,Ju as CloseRequestState,ed as ColorScheme,ps as ComboState,yo as ContentFormats,bo as ContentProvider,At as CssProvider,_a as DATA_GRID_CELL_CLASS,va as DATA_GRID_ROW_CLASS,Rn as DEFAULT_BOX_SPACING,Cc as DEFAULT_DPI,Zc as DEFAULT_DROPDOWN_TOOLTIP,Mi as DEFAULT_ICON_COLOR,Ni as DEFAULT_ICON_COLOR_DARK,dl as DEFAULT_INDICATOR_DESCRIPTION_STRINGS,vs as DEFAULT_LABEL_ELLIPSIZE,ys as DEFAULT_LABEL_LINES,bs as DEFAULT_LABEL_MAX_WIDTH_CHARS,xs as DEFAULT_LABEL_WIDTH_CHARS,Ss as DEFAULT_LABEL_WRAP_MODE,Cs as DEFAULT_LABEL_XALIGN,ws as DEFAULT_LABEL_YALIGN,Dc as DEFAULT_MAX_SIDEBAR_WIDTH,Oc as DEFAULT_MIN_SIDEBAR_WIDTH,kc as DEFAULT_SIDEBAR_WIDTH_FRACTION,Ac as DEFAULT_SIDEBAR_WIDTH_UNIT,ra as DEFAULT_TAB_AUTOHIDE,qo as DEFAULT_TOAST_TIMEOUT,_t as DialogError,xo as Display,Fa as EMPTY_ANIMATION_DURATION_MS,Ia as ENTRY_ROW_APPLY_ICON_NAME,La as ENTRY_ROW_APPLY_TOOLTIP,Ra as ENTRY_ROW_EDIT_ICON_NAME,za as ENTRY_ROW_MAX_LENGTH_LIMIT,Ba as ENTRY_ROW_TITLE_SPACING,Va as EntryRowState,jt as EventControllerKey,ms as ExpanderState,$a as FileCreateFlags,Mt as GDK_KEYS,c as GIR_TYPE,Ao as GLIB_UNICHAR_UNICODE_VERSION,gt as GLibBytes,vt as GLibError,No as GLibVariant,l as GObjectObject,Q as GTK_LICENSE,_o as GdkAppLaunchContext,mo as GioAppLaunchContext,an as GioApplicationBase,ro as GioFile,no as GioFileOutputStream,io as GioListStore,wo as GioMenu,To as GioMenuItem,ao as GioOutputStream,St as GioResource,Zi as GjsifyOptionList,Qi as GjsifyOptionObject,Ro as GtkAdjustment,on as GtkApplicationBase,eo as GtkFileDialog,to as GtkFileFilter,Nt as GtkSettings,Wi as GtkStringList,Gi as GtkStringObject,Yu as HandledAccumulator,zo as HeaderBarState,fl as INLINE_VIEW_SWITCHER_DISPLAY_MODES,jc as INSTANT_SPLIT_VIEW_ANIMATOR,Ki as INVALID_LIST_POSITION,yt as IOErrorEnum,Pt as IconTheme,Ts as LABEL_ELLIPSIZE_MODES,Es as LABEL_JUSTIFICATIONS,Ds as LABEL_WRAP_MODES,u as ListModel,es as ListViewState,Bi as MAXUINT32,d as META_SYMBOLS,ye as ModifierMask,Mc as NAVIGATION_SPLIT_VIEW_CRITICALS,Nc as NavigationSplitViewState,Gs as NavigationViewState,Pc as OverlaySplitViewState,R as PANGO_MARKUP_TAGS,Ha as PASSWORD_CONCEAL_ICON_NAME,Ua as PASSWORD_CONCEAL_LABEL,Wa as PASSWORD_REVEAL_ICON_NAME,Ga as PASSWORD_REVEAL_LABEL,iu as POPOVER_ITEM_RADIUS,au as POPOVER_MENU_PADDING,ou as POPOVER_PADDING,su as POPOVER_RADIUS,f as PURE_JS_ENGINE,p as ParamFlags,m as ParamSpec,Ka as PasswordEntryRowState,Po as Point,cu as PopoverState,Uo as RELEASE_NOTES_LABELS,Qu as RGBA,oi as RadioGroupState,bt as ResourceError,Ct as ResourceLookupFlags,Qc as SPLIT_BUTTON_DISABLED_OPACITY,h as STOP_EMISSION,Ft as STYLE_PROVIDER_PRIORITY_APPLICATION,It as STYLE_PROVIDER_PRIORITY_FALLBACK,Lt as STYLE_PROVIDER_PRIORITY_SETTINGS,Rt as STYLE_PROVIDER_PRIORITY_THEME,zt as STYLE_PROVIDER_PRIORITY_USER,Js as SidebarState,st as SimpleAction,ct as SimpleActionGroup,Ue as SpinState,$c as SplitButtonState,td as StyleManagerBase,Pr as SwipeTracker,ze as SwitchRowState,g as TYPE_BOOLEAN,_ as TYPE_DOUBLE,v as TYPE_INT,y as TYPE_OBJECT,b as TYPE_STRING,x as TYPE_UINT,ia as TabViewState,Jo as Toast,Yo as ToastOverlayQueue,Xo as ToastPriority,hs as ToggleGroupState,S as UNLOCKED_VFUNCS,zl as UNTITLED_PAGE_LABEL,C as UnsupportedGObjectError,pl as VIEW_SWITCHER_BADGE_LIMIT,ml as VIEW_SWITCHER_DRAG_SWITCH_DELAY,hl as VIEW_SWITCHER_FALLBACK_ICON,gl as VIEW_SWITCHER_NO_SELECTION,_l as VIEW_SWITCHER_POLICIES,w as Value,ea as ViewStackState,vl as ViewSwitcherBarState,yl as ViewSwitcherDragSwitch,bl as ViewSwitcherState,Xu as WindowMemberState,Be as WindowTitleState,$ as aboutDialogVisibility,be as acceleratorName,Ql as accumulateOvershoot,ee as acknowledgementSections,lt as actionRegistryOf,ma as activateMenuItem,ut as activateWidgetAction,Ys as adjustSidebarSelection,We as adjustmentRange,at as adwAccentFromAppleAccentColor,wc as adwLengthToPx,ci as adwLerp,Ee as adwaitaAccent,De as adwaitaAccentBgColor,Oe as adwaitaAccentColor,Pi as adwaitaColorScheme,ke as adwaitaStandaloneColor,$e as appearanceFromMeta,dt as applicationOfWindow,xt as asGLibError,Kt as assertMenuRenderable,cl as assertPopupMenuPlan,pn as avatarColor,mn as avatarColorClass,hn as avatarFontSize,gn as avatarIconSize,_n as avatarInitials,vn as avatarMaxFontSize,yn as avatarMode,En as bannerButtonStyleClasses,Dn as bannerButtonText,On as bannerButtonVisible,kn as bannerRenderState,T as bindProperties,Vi as buildFilenamev,xl as buildInlineToggles,Sl as buildViewSwitcherButtons,Xn as buttonContentEllipsize,Zn as buttonContentIconExpands,Qn as buttonContentIconIsEmpty,$n as buttonContentIconName,er as buttonContentLabelText,tr as buttonContentLabelVisible,nr as buttonContentRenderState,rr as buttonContentStyleTargetIndex,or as buttonStyleClass,sr as buttonStyleClasses,fr as calendarClearMarks,pr as calendarDayIsMarked,mr as calendarDays,hr as calendarDaysInMonth,gr as calendarIsLeapYear,_r as calendarMarkDay,vr as calendarNavigationButtons,yr as calendarSelectDay,br as calendarStep,xr as calendarWeekNumber,Sr as calendarWeekStart,Kr as carouselClampPosition,qr as carouselClosestSnapPoint,Jr as carouselNavigateTarget,Yr as carouselPageAllocation,Xr as carouselPageAtPosition,Zr as carouselRange,Qr as carouselReorderShift,$r as carouselSizesFromSnapPoints,ei as carouselSnapPoints,ti as carouselWheelStep,ni as checkActivationFlips,ri as checkGroupNeighbours,Ge as clampAdjustmentValue,yi as clampAllocate,bi as clampChildSize,qa as clampEntryMaxLength,Ja as clampEntryText,Xs as clampSidebarSelection,xi as clampSizeFromChild,Si as clampThresholds,Uu as classifyAsm6502Word,Bl as collectSearchRows,ts as columnViewSort,ns as columnViewTracks,Eo as computeLanguageNames,Fo as computePoint,E as connectInstance,D as constructRegistered,Vl as countVisiblePages,ho as createAppInfo,Gn as createBreakpointDriver,O as createClosure,ko as createGLibTimers,k as createGObject,So as createGdk,Bt as createGtkPlatform,Hl as createSearchRowSubtitle,Cl as createViewSwitcherPage,te as creditsSections,ya as dataGridCellText,ba as dataGridColumnAlign,xa as dataGridColumnClasses,Sa as dataGridRowInteractive,Ca as dataGridTrackTemplate,wa as dataGridTracks,Ul as defaultCaseFolder,sn as defineWindowApplicationMembers,Vt as deliverKeyToControllers,Ya as deriveEntryRowState,Wl as derivePreferencesGroupHeader,Ve as deriveRowLabels,Ks as describeNavigationDiagnostic,oo as dialogFailedError,A as disconnectInstance,so as dismissedError,cn as dispatchAccelerator,li as easeInOutSine,ui as easeOutCubic,j as emitInstance,i as engineForTarget,Xa as entryRowLatches,Za as entryTextLength,z as escapeMarkup,Hn as evaluateBreakpointCondition,co as fileFilterAccepts,lo as fileFilterSpec,uo as fileForHandle,ft as findActionGroup,ne as flatCardShowsWebsite,bn as flattenAvatarGradient,qt as flattenMenu,Zs as flattenSidebarItems,bc as formatAcceleratorLabel,Ae as formatAdwRgb,Wu as formatHexAddress,Gu as formatLineNumber,xc as formatManifestShortcut,xn as gStrHash,e as gStrStrip,Hi as getCurrentDir,Ui as getSystemDataDirs,t as glibClamp,M as gobjectEngineName,Io as gridColumns,Lo as gridNavigate,rs as gridViewColumns,Vo as iconLookupNames,wl as inlineToggleTooltip,pt as insertActionGroup,mt as installActionMap,di as inverseLerp,je as isAdwAccentColorName,et as isAdwSystemColorScheme,An as isBannerButtonStyle,aa as isDescendantOfPage,Tl as isInlineViewSwitcherDisplayMode,re as isLicenseType,ii as isRadioCheck,$l as isScrolledFromEnd,eu as isScrolledFromStart,Fc as isSidebarAtVisualStart,el as isSplitButtonDirection,Fi as isThemeIconColor,ln as isValidApplicationId,El as isViewSwitcherButtonVisible,Dl as isViewSwitcherPolicy,gs as keptToggles,Ht as keyvalOfKey,Os as labelDisplayText,ks as labelEffectiveLines,As as labelEllipsizeOverflowValue,js as labelMarkupIsUnparseable,Ms as labelWidthCharsExtent,Ns as labelYalignAlignItems,Do as languageNamesFromTags,Ic as layoutNavigationSplitView,Lc as layoutOverlaySplitView,ie as legalMarkupText,ae as legalSectionVisible,oe as legalSections,se as legalVisible,ce as licenseText,le as licenseTypeForNick,ue as licenseTypeForSpdxId,de as linkRowIconName,fe as linkRowTooltip,ht as linkWindow,Mn as listBoxSelect,Nn as listBoxSelectAll,Pn as listBoxSelectRow,Fn as listBoxUnselectAll,In as listBoxUnselectRow,is as listItemField,Ji as listItemsChanged,as as listViewSelect,os as listViewSelectAll,Oo as localeFromLanguageTag,Ho as lookupResourceIcon,Gl as makeComparable,Rc as measureSplitViewHorizontal,ha as menuActionsFor,ul as menuAssignments,tl as menuButtonArrowIcon,nl as menuButtonPopupDirection,Jt as menuItemAt,Yt as menuLabelText,Xt as menuNodeAt,Zt as menuRefusals,Me as nearestAccent,Ke as normalizeAdjustment,zn as normalizeBoxOrientation,Ln as normalizeBoxSelectionMode,Bn as normalizeBoxSpacing,Ci as normalizeClampSize,ss as normalizeColumnViewColumns,Yi as normalizeComboOptions,Ta as normalizeDataGridColumns,Ea as normalizeDataGridVariant,ta as normalizeIconName,Ps as normalizeLabelEllipsize,Fs as normalizeLabelJustify,Is as normalizeLabelLines,Ls as normalizeLabelMaxWidthChars,Rs as normalizeLabelWidthChars,zs as normalizeLabelWrapMode,Bs as normalizeLabelXalign,Vs as normalizeLabelYalign,Tc as normalizeLengthUnit,cs as normalizeListSelectionMode,Qt as normalizeMenuModel,xu as normalizeNaturalLineLength,fc as normalizeSpinnerAngle,Su as normalizeWrapBoxAlign,Cu as normalizeWrapBoxJustify,wu as normalizeWrapBoxLengthUnit,Tu as normalizeWrapBoxPackDirection,Eu as normalizeWrapBoxSpacing,Du as normalizeWrapPolicy,N as notifyInstance,Ne as onAdwaitaAccentChanged,Ii as onAdwaitaColorSchemeChanged,tu as overshootDistance,Ol as pageIndexForToggle,_c as parseAccelerator,xe as parseAcceleratorKeyval,qe as parseAdjustment,Pe as parseAdwRgb,jn as parseBannerButtonStyle,Un as parseBreakpointCondition,ls as parseColumnViewColumns,pe as parseCreditPerson,tt as parseDesktopAppearance,$t as parseDetailedAction,Xi as parseListModel,en as parseMenuModel,B as parsePangoMarkup,vc as parseShortcutLabel,wi as parseToolbarStyle,ll as planPopupMenu,fo as promisify,Sn as randomAvatarColorClass,$i as readModelWrite,P as refuseForeignInterfaces,me as refuseNewFromAppdata,F as registerBaseClass,po as registerFileChooserDriver,a as registerGObjectEngine,I as registeredClassOf,o as registeredEngine,Wo as releaseNotesBuffer,nt as renderAppearanceMeta,s as resetRegisteredEngine,ka as resolveBottomSheetChrome,Aa as resolveBottomSheetClose,ja as resolveBottomSheetOpen,Ma as resolveBottomSheetSwipeTracker,si as resolveCheckState,rl as resolveDropdownTooltip,Qa as resolveEntryRowActivation,Bo as resolveHeaderBarTitle,tn as resolveMenuItemState,zc as resolveNaturalSidebarWidth,Bc as resolveNavigationAction,Vc as resolveNavigationSidebarWidth,Hc as resolveNavigationStack,Uc as resolveOverlaySidebarWidth,na as resolvePageTitle,lu as resolvePopoverKey,Wc as resolveSidebarBounds,Ti as resolveSpinnerSize,Gc as resolveSwipeArea,Kc as resolveSwipeRelease,qc as resolveSwipeSnapPoints,Jc as resolveSwipeStart,Ou as resolveWrapBoxChildOrder,ku as resolveWrapBoxLine,wt as resources_enumerate_children,Tt as resources_get_info,Et as resources_lookup_data,Dt as resources_register,Ot as resources_unregister,Kl as rowMatchesQuery,nu as scrollMaxValue,ru as scrollUndershootClasses,ql as searchPreferences,Fe as setAdwaitaAccent,Li as setAdwaitaColorScheme,ai as setCheckGroup,he as setLicense,ge as setLicenseType,yc as shortcutKeycaps,kl as shouldRevealViewSwitcherBar,Qs as sidebarHeaders,Je as snapAdjustmentValue,pc as spinnerArc,mc as spinnerArcEnd,hc as spinnerArcStart,Ei as spinnerGeometry,gc as spinnerProgressAt,il as splitButtonArrowIcon,al as splitButtonPopupDirection,ol as splitButtonRootState,sl as splitButtonStyleClasses,Zu as stepDefaultSize,n as stringIsNotEmpty,V as stripMarkup,r as stripMnemonic,Ku as stripSourceWhitespace,oa as successorAfterClose,Fr as swipeBounds,Yc as swipeCancelProgress,Ir as swipeClosestPointIndex,Lr as swipeEndProgress,Rr as swipeNextPointIndex,zr as swipePreviousPointIndex,Br as swipeProjectedPointIndex,Vr as swipeSlope,Hr as swipeVelocityThreshold,Hs as syncDirection,sa as tabCloseVisible,ca as tabIconState,la as tabSearchMatches,ua as tabTooltip,da as tabTooltipIsMarkup,fa as tabViewItemsChanged,pa as tabsRevealed,Xc as tagsConflict,Ri as themeIconColor,zi as toggleAdwaitaColorScheme,Al as toggleIndexForPage,_s as toggleIndexOfName,qu as tokenizeAsm6502,Di as toolbarBarStyleClasses,Oi as toolbarViewAllocate,ki as toolbarViewClasses,Ai as toolbarViewContentForSize,ji as toolbarViewMeasure,_e as translatorCreditsPeople,us as treeExpanderAction,ds as treeExpanderExpanded,fs as treeExpanderLayout,jo as unicharIsalpha,Mo as uriEscapeString,go as uriPeekScheme,L as usePureJsGObjectEngine,jl as viewSwitcherBadgeLabel,Ml as viewSwitcherButtonOrientation,Nl as viewSwitcherIconName,Pl as viewSwitcherIndicatorDescription,Fl as viewSwitcherLabel,Il as viewSwitcherPageFromStackPage,Ll as viewSwitcherPagesFromStack,Rl as viewSwitcherSidebarSections,Ut as widgetControllerMembers,Co as widgetDisplayMembers,Us as widgetTreeMembers,un as withGtkApplication,Au as wrapBoxChildFlex,ju as wrapBoxFlexStyle,Mu as wrapBoxLengthToPx,Nu as wrapPolicyFlexShrink};
|
|
1
|
+
import{adwSubtitleWriteNotifies as e,gStrStrip as t,glibClamp as n,gtkButtonIconNameReadback as r,stringIsNotEmpty as i,stripMnemonic as a}from"./glib.js";import{engineForTarget as o,registerGObjectEngine as s,registeredEngine as c,resetRegisteredEngine as l}from"./engine.js";import{GIR_TYPE as u,GObjectObject as d,ListModel as f,META_SYMBOLS as p,PURE_JS_ENGINE as m,ParamFlags as h,ParamSpec as g,STOP_EMISSION as _,TYPE_BOOLEAN as v,TYPE_DOUBLE as y,TYPE_INT as b,TYPE_OBJECT as x,TYPE_STRING as S,TYPE_UINT as C,UNLOCKED_VFUNCS as w,UnsupportedGObjectError as T,Value as E,bindProperties as D,connectInstance as O,constructRegistered as k,createClosure as A,createGObject as j,disconnectInstance as M,emitInstance as N,gobjectEngineName as P,notifyInstance as F,refuseForeignInterfaces as I,registerBaseClass as L,registeredClassOf as R,usePureJsGObjectEngine as z}from"./gobject.js";import{PANGO_MARKUP_TAGS as B,escapeMarkup as V,parseLabelMarkup as H,parsePangoMarkup as U,stripLabelMarkup as W,stripMarkup as G}from"./pango-markup.js";import{ADW_ABOUT_DIALOG_LABELS as K,ADW_CREDITS_SECTION_TITLES as q,ADW_LEGAL_DEFAULT_TITLE as J,ADW_LICENSES as Y,ADW_LICENSE_ALIASES as X,ADW_LICENSE_DEFAULTS as Z,ADW_LICENSE_WARRANTY_TEMPLATE as Q,ADW_LINK_ROW_ICON_NAME as $,ADW_LINK_ROW_MAIL_ICON_NAME as ee,ADW_TRANSLATOR_CREDITS_SENTINELS as te,GTK_LICENSE as ne,aboutDialogVisibility as re,acknowledgementSections as ie,creditsSections as ae,flatCardShowsWebsite as oe,isLicenseType as se,legalMarkupText as ce,legalSectionVisible as le,legalSections as ue,legalVisible as de,licenseText as fe,licenseTypeForNick as pe,licenseTypeForSpdxId as me,linkRowIconName as he,linkRowTooltip as ge,parseCreditPerson as _e,refuseNewFromAppdata as ve,setLicense as ye,setLicenseType as be,translatorCreditsPeople as xe}from"./about-dialog.js";import{AcceleratorMap as Se,ModifierMask as Ce,acceleratorName as we,parseAcceleratorKeyval as Te}from"./accelerators.js";import{ADW_ACCENT_BG_COLORS as Ee,ADW_ACCENT_COLOR_NAMES as De,ADW_ACCENT_FG_COLOR as Oe,ADW_DEFAULT_ACCENT_COLOR as ke,adwaitaAccent as Ae,adwaitaAccentBgColor as je,adwaitaAccentColor as Me,adwaitaStandaloneColor as Ne,formatAdwRgb as Pe,isAdwAccentColorName as Fe,nearestAccent as Ie,onAdwaitaAccentChanged as Le,parseAdwRgb as Re,setAdwaitaAccent as ze}from"./accent.js";import{ActionRowState as Be,BUTTON_ROW_ACTIVATABLE as Ve,ButtonRowState as He,SwitchRowState as Ue,WindowTitleState as We,deriveRowLabels as Ge}from"./action-row.js";import{ADW_ADJUSTMENT_DEFAULTS as Ke,SpinState as qe,adjustmentRange as Je,clampAdjustmentValue as Ye,normalizeAdjustment as Xe,parseAdjustment as Ze,snapAdjustmentValue as Qe}from"./adjustment.js";import{ADW_ACCENT_META as $e,ADW_ACCENT_META_SYSTEM as et,ADW_COLOR_SCHEME_META as tt,ADW_SYSTEM_COLOR_SCHEMES as nt,appearanceFromMeta as rt,isAdwSystemColorScheme as it,parseDesktopAppearance as at,renderAppearanceMeta as ot}from"./appearance.js";import{APPLE_ACCENT_COLORS as st,APPLE_MULTICOLOR_ACCENT as ct,adwAccentFromAppleAccentColor as lt}from"./apple-accent.js";import{ActionRegistry as ut,SimpleAction as dt,SimpleActionGroup as ft,actionRegistryOf as pt,activateWidgetAction as mt,applicationOfWindow as ht,findActionGroup as gt,insertActionGroup as _t,installActionMap as vt,linkWindow as yt}from"./gio-actions.js";import{Bytes as bt}from"./glib-bytes.js";import{DialogError as xt,GLibError as St,IOErrorEnum as Ct,ResourceError as wt,asGLibError as Tt}from"./glib-error.js";import{Resource as Et,ResourceLookupFlags as Dt,resources_enumerate_children as Ot,resources_get_info as kt,resources_lookup_data as At,resources_register as jt,resources_unregister as Mt}from"./gio-resource.js";import{CURRENT_TIME as Nt,CssProvider as Pt,EventControllerKey as Ft,GDK_KEYS as It,GtkSettings as Lt,IconTheme as Rt,STYLE_PROVIDER_PRIORITY_APPLICATION as zt,STYLE_PROVIDER_PRIORITY_FALLBACK as Bt,STYLE_PROVIDER_PRIORITY_SETTINGS as Vt,STYLE_PROVIDER_PRIORITY_THEME as Ht,STYLE_PROVIDER_PRIORITY_USER as Ut,createGtkPlatform as Wt,deliverKeyToControllers as Gt,keyvalOfKey as Kt,widgetControllerMembers as qt}from"./gtk-platform.js";import{ADW_MENU_SURFACE_NATIVESCRIPT as Jt,ADW_MENU_SURFACE_WEB as Yt,assertMenuRenderable as Xt,flattenMenu as Zt,menuItemAt as Qt,menuLabelText as $t,menuNodeAt as en,menuRefusals as tn,normalizeMenuModel as nn,parseDetailedAction as rn,parseMenuModel as an,resolveMenuItemState as on}from"./menu.js";import{ApplicationFlags as sn,ApplicationInhibitFlags as cn,GioApplicationBase as ln,GtkApplicationBase as un,defineWindowApplicationMembers as dn,dispatchAccelerator as fn,isValidApplicationId as pn,withGtkApplication as mn}from"./application.js";import{AVATAR_COLORS as hn,AVATAR_COLOR_COUNT as gn,avatarColor as _n,avatarColorClass as vn,avatarFontSize as yn,avatarIconSize as bn,avatarInitials as xn,avatarMaxFontSize as Sn,avatarMode as Cn,flattenAvatarGradient as wn,gStrHash as Tn,randomAvatarColorClass as En}from"./avatar.js";import{ADW_BANNER_BUTTON_STYLES as Dn,ADW_BANNER_BUTTON_STYLE_CLASSES as On,ADW_BANNER_DEFAULTS as kn,bannerButtonStyleClasses as An,bannerButtonText as jn,bannerButtonVisible as Mn,bannerRenderState as Nn,isBannerButtonStyle as Pn,parseBannerButtonStyle as Fn}from"./banner.js";import{listBoxSelect as In,listBoxSelectAll as Ln,listBoxSelectRow as Rn,listBoxUnselectAll as zn,listBoxUnselectRow as Bn,normalizeBoxSelectionMode as Vn}from"./box-selection.js";import{DEFAULT_BOX_SPACING as Hn,normalizeBoxOrientation as Un,normalizeBoxSpacing as Wn}from"./box.js";import{AdwBreakpoint as Gn,evaluateBreakpointCondition as Kn,parseBreakpointCondition as qn}from"./breakpoint.js";import{BreakpointBinState as Jn}from"./breakpoint-bin.js";import{createBreakpointDriver as Yn}from"./breakpoint-driver.js";import{ADW_BUTTON_CONTENT_DEFAULTS as Xn,BUTTON_CONTENT_BOX_SPACING as Zn,BUTTON_CONTENT_FALLBACK_ICON as Qn,BUTTON_CONTENT_STYLE_CLASS as $n,buttonContentEllipsize as er,buttonContentIconExpands as tr,buttonContentIconIsEmpty as nr,buttonContentIconName as rr,buttonContentLabelText as ir,buttonContentLabelVisible as ar,buttonContentRenderState as or,buttonContentStyleTargetIndex as sr}from"./button-content.js";import{ADW_BUTTON_STYLE_ALIASES as cr,ADW_BUTTON_STYLE_CLASSES as lr,buttonStyleClass as ur,buttonStyleClasses as dr}from"./button.js";import{CALENDAR_MARK_MAX as fr,CALENDAR_MARK_MIN as pr,CALENDAR_YEAR_MAX as mr,CALENDAR_YEAR_MIN as hr,calendarClearMarks as gr,calendarDayIsMarked as _r,calendarDays as vr,calendarDaysInMonth as yr,calendarIsLeapYear as br,calendarMarkDay as xr,calendarNavigationButtons as Sr,calendarSelectDay as Cr,calendarStep as wr,calendarWeekNumber as Tr,calendarWeekStart as Er}from"./calendar.js";import{ADW_SWIPE_DECELERATION_TOUCH as Dr,ADW_SWIPE_DECELERATION_TOUCHPAD as Or,ADW_SWIPE_DRAG_THRESHOLD as kr,ADW_SWIPE_EPSILON as Ar,ADW_SWIPE_HISTORY_THRESHOLD_MS as jr,ADW_SWIPE_PARABOLA_MULTIPLIER as Mr,ADW_SWIPE_TOUCHPAD_BASE_DISTANCE_H as Nr,ADW_SWIPE_TOUCHPAD_BASE_DISTANCE_V as Pr,ADW_SWIPE_VELOCITY_CURVE_THRESHOLD as Fr,ADW_SWIPE_VELOCITY_THRESHOLD_TOUCH as Ir,ADW_SWIPE_VELOCITY_THRESHOLD_TOUCHPAD as Lr,SwipeTracker as Rr,swipeBounds as zr,swipeClosestPointIndex as Br,swipeEndProgress as Vr,swipeNextPointIndex as Hr,swipePreviousPointIndex as Ur,swipeProjectedPointIndex as Wr,swipeSlope as Gr,swipeVelocityThreshold as Kr}from"./swipe.js";import{CAROUSEL_SCROLL_TIMEOUT_MS as qr,CAROUSEL_SETTLE_EPSILON as Jr,CarouselState as Yr,carouselClampPosition as Xr,carouselClosestSnapPoint as Zr,carouselNavigateTarget as Qr,carouselPageAllocation as $r,carouselPageAtPosition as ei,carouselRange as ti,carouselReorderShift as ni,carouselSizesFromSnapPoints as ri,carouselSnapPoints as ii,carouselWheelStep as ai}from"./carousel.js";import{checkActivationFlips as oi,checkGroupNeighbours as si,isRadioCheck as ci,setCheckGroup as li}from"./check-group.js";import{RadioGroupState as ui,resolveCheckState as di}from"./checks.js";import{adwLerp as fi,easeInOutSine as pi,easeOutCubic as mi,inverseLerp as hi}from"./easing.js";import{ADW_CLAMP_DEFAULTS as gi,ADW_CLAMP_SIZE_CLASSES as _i,ADW_SPINNER_MAX_SIZE as vi,ADW_SPINNER_MIN_SIZE as yi,ADW_TOOLBAR_BAR_CLASSES as bi,ADW_TOOLBAR_VIEW_CLASSES as xi,ADW_TOOLBAR_VIEW_DEFAULTS as Si,clampAllocate as Ci,clampChildSize as wi,clampSizeFromChild as Ti,clampThresholds as Ei,normalizeClampSize as Di,parseToolbarStyle as Oi,resolveSpinnerSize as ki,spinnerGeometry as Ai,toolbarBarStyleClasses as ji,toolbarViewAllocate as Mi,toolbarViewClasses as Ni,toolbarViewContentForSize as Pi,toolbarViewMeasure as Fi}from"./chrome.js";import{DEFAULT_ICON_COLOR as Ii,DEFAULT_ICON_COLOR_DARK as Li,adwaitaColorScheme as Ri,isThemeIconColor as zi,onAdwaitaColorSchemeChanged as Bi,setAdwaitaColorScheme as Vi,themeIconColor as Hi,toggleAdwaitaColorScheme as Ui}from"./color-scheme.js";import{MAXUINT32 as Wi,buildFilenamev as Gi,getCurrentDir as Ki,getSystemDataDirs as qi}from"./glib-paths.js";import{GtkStringList as Ji,GtkStringObject as Yi,INVALID_LIST_POSITION as Xi}from"./gtk-string-list.js";import{ADW_COMBO_NO_SELECTION as Zi,listItemsChanged as Qi,normalizeComboOptions as $i,parseListModel as ea}from"./list.js";import{GjsifyOptionList as ta,GjsifyOptionObject as na,readModelWrite as ra}from"./option-list.js";import{ViewStackState as ia,normalizeIconName as aa,resolvePageTitle as oa}from"./view-stack.js";import{DEFAULT_TAB_AUTOHIDE as sa,TabViewState as ca,isDescendantOfPage as la,successorAfterClose as ua,tabCloseVisible as da,tabIconState as fa,tabSearchMatches as pa,tabTooltip as ma,tabTooltipIsMarkup as ha,tabViewItemsChanged as ga,tabsRevealed as _a}from"./tab-view.js";import{activateMenuItem as va,menuActionsFor as ya}from"./menu-actions.js";import{ADW_DATA_GRID_ROW_VARIANTS as ba,DATA_GRID_CELL_CLASS as xa,DATA_GRID_ROW_CLASS as Sa,dataGridCellText as Ca,dataGridColumnAlign as wa,dataGridColumnClasses as Ta,dataGridRowInteractive as Ea,dataGridTrackTemplate as Da,dataGridTracks as Oa,normalizeDataGridColumns as ka,normalizeDataGridVariant as Aa}from"./data-grid.js";import{registerDefaultTranslate as ja,registeredDefaultTranslate as Ma}from"./default-translate.js";import{AdwAlertResponses as Na,BottomSheetPresentation as Pa,resolveBottomSheetChrome as Fa,resolveBottomSheetClose as Ia,resolveBottomSheetOpen as La,resolveBottomSheetSwipeTracker as Ra}from"./dialog.js";import{CAPS_LOCK_ICON_NAME as za,CAPS_LOCK_TOOLTIP as Ba,EMPTY_ANIMATION_DURATION_MS as Va,ENTRY_ROW_APPLY_ICON_NAME as Ha,ENTRY_ROW_APPLY_TOOLTIP as Ua,ENTRY_ROW_EDIT_ICON_NAME as Wa,ENTRY_ROW_MAX_LENGTH_LIMIT as Ga,ENTRY_ROW_TITLE_SPACING as Ka,EntryRowState as qa,PASSWORD_CONCEAL_ICON_NAME as Ja,PASSWORD_CONCEAL_LABEL as Ya,PASSWORD_REVEAL_ICON_NAME as Xa,PASSWORD_REVEAL_LABEL as Za,PasswordEntryRowState as Qa,clampEntryMaxLength as $a,clampEntryText as eo,deriveEntryRowState as to,entryRowLatches as no,entryTextLength as ro,resolveEntryRowActivation as io}from"./entry-row.js";import{FileCreateFlags as ao,FileDialog as oo,FileFilter as so,FileOutputStream as co,GioFile as lo,GioListStore as uo,OutputStream as fo,dialogFailedError as po,dismissedError as mo,fileFilterAccepts as ho,fileFilterSpec as go,fileForHandle as _o,promisify as vo,registerFileChooserDriver as yo}from"./file-chooser.js";import{AppLaunchContext as bo,createAppInfo as xo,uriPeekScheme as So}from"./gio-app-info.js";import{AppLaunchContext as Co,Clipboard as wo,ContentFormats as To,ContentProvider as Eo,Display as Do,createGdk as Oo,widgetDisplayMembers as ko}from"./gdk.js";import{GioMenu as Ao,GioMenuItem as jo}from"./gio-menu.js";import{computeLanguageNames as Mo,languageNamesFromTags as No,localeFromLanguageTag as Po}from"./glib-language.js";import{createGLibTimers as Fo}from"./glib-timers.js";import{GLIB_UNICHAR_UNICODE_VERSION as Io}from"./glib-unichar.generated.js";import{unicharIsalpha as Lo}from"./glib-unichar.js";import{uriEscapeString as Ro}from"./glib-uri.js";import{Variant as zo}from"./glib-variant.js";import{Point as Bo,computePoint as Vo}from"./graphene.js";import{gridColumns as Ho,gridNavigate as Uo}from"./grid-navigation.js";import{GtkAdjustment as Wo}from"./gtk-adjustment.js";import{HeaderBarState as Go,resolveHeaderBarTitle as Ko}from"./header-bar.js";import{iconLookupNames as qo,lookupResourceIcon as Jo}from"./icon-theme-resources.js";import{RELEASE_NOTES_LABELS as Yo,releaseNotesBuffer as Xo}from"./release-notes.js";import{AdwToast as Zo,AdwToastQueue as Qo,DEFAULT_TOAST_TIMEOUT as $o}from"./toast.js";import{Toast as es,ToastOverlayQueue as ts,ToastPriority as ns}from"./toast-object.js";import{ADW_COLUMN_VIEW_NO_FIXED_WIDTH as rs,ADW_GRID_VIEW_MAX_COLUMNS as is,ADW_GRID_VIEW_MIN_COLUMNS as as,ListViewState as os,columnViewSort as ss,columnViewTracks as cs,gridViewColumns as ls,listItemField as us,listViewSelect as ds,listViewSelectAll as fs,normalizeColumnViewColumns as ps,normalizeListSelectionMode as ms,parseColumnViewColumns as hs}from"./list-view.js";import{treeExpanderAction as gs,treeExpanderExpanded as _s,treeExpanderLayout as vs}from"./tree-expander.js";import{ComboState as ys,ExpanderState as bs,ToggleGroupState as xs,keptToggles as Ss,toggleIndexOfName as Cs}from"./rows.js";import{DEFAULT_LABEL_ELLIPSIZE as ws,DEFAULT_LABEL_LINES as Ts,DEFAULT_LABEL_MAX_WIDTH_CHARS as Es,DEFAULT_LABEL_WIDTH_CHARS as Ds,DEFAULT_LABEL_WRAP_MODE as Os,DEFAULT_LABEL_XALIGN as ks,DEFAULT_LABEL_YALIGN as As,LABEL_ELLIPSIZE_MODES as js,LABEL_JUSTIFICATIONS as Ms,LABEL_WRAP_MODES as Ns,labelDisplayText as Ps,labelEffectiveLines as Fs,labelEllipsizeOverflowValue as Is,labelMarkupIsUnparseable as Ls,labelWidthCharsExtent as Rs,labelYalignAlignItems as zs,normalizeLabelEllipsize as Bs,normalizeLabelJustify as Vs,normalizeLabelLines as Hs,normalizeLabelMaxWidthChars as Us,normalizeLabelWidthChars as Ws,normalizeLabelWrapMode as Gs,normalizeLabelXalign as Ks,normalizeLabelYalign as qs}from"./label.js";import{LABEL_MARKUP_STYLE_PLAIN as Js,labelActivateLink as Ys,labelHasLinks as Xs,labelLinkVisited as Zs,labelLinksHaveTooltip as Qs,labelLinksInheritVisited as $s,labelMarkupRender as ec}from"./label-markup.js";import{isWidgetNode as tc,syncDirection as nc,widgetTreeMembers as rc}from"./widget-members.js";import{BACK_BUTTON_FALLBACK_TOOLTIP as ic,NavigationViewState as ac,describeNavigationDiagnostic as oc}from"./navigation-view.js";import{ADW_SIDEBAR_NO_SELECTION as sc,SidebarState as cc,adjustSidebarSelection as lc,clampSidebarSelection as uc,flattenSidebarItems as dc,sidebarHeaders as fc}from"./sidebar.js";import{ADW_SPINNER_CONTRACT_DISTANCE as pc,ADW_SPINNER_CYCLES_PER_LOOP as mc,ADW_SPINNER_CYCLE_LENGTH as hc,ADW_SPINNER_EXTEND_DISTANCE as gc,ADW_SPINNER_IDLE_DISTANCE as _c,ADW_SPINNER_MAX_ARC_LENGTH as vc,ADW_SPINNER_MIN_ARC_LENGTH as yc,ADW_SPINNER_N_CYCLES as bc,ADW_SPINNER_OVERLAP_DISTANCE as xc,ADW_SPINNER_SPIN_DURATION_MS as Sc,ADW_SPINNER_START_ANGLE as Cc,ADW_SPINNER_STILL_PROGRESS as wc,ADW_SPINNER_TRACK_OPACITY as Tc,normalizeSpinnerAngle as Ec,spinnerArc as Dc,spinnerArcEnd as Oc,spinnerArcStart as kc,spinnerProgressAt as Ac}from"./spinner.js";import{parseAccelerator as jc,parseShortcutLabel as Mc,shortcutKeycaps as Nc}from"./shortcut-label.js";import{formatAcceleratorLabel as Pc,formatManifestShortcut as Fc}from"./shortcut-format.js";import{ADW_LENGTH_UNITS as Ic,DEFAULT_DPI as Lc,adwLengthToPx as Rc,normalizeLengthUnit as zc}from"./length-unit.js";import{ADW_SWIPE_BORDER as Bc,DEFAULT_MAX_SIDEBAR_WIDTH as Vc,DEFAULT_MIN_SIDEBAR_WIDTH as Hc,DEFAULT_SIDEBAR_WIDTH_FRACTION as Uc,DEFAULT_SIDEBAR_WIDTH_UNIT as Wc,INSTANT_SPLIT_VIEW_ANIMATOR as Gc,NAVIGATION_SPLIT_VIEW_CRITICALS as Kc,NavigationSplitViewState as qc,OverlaySplitViewState as Jc,isSidebarAtVisualStart as Yc,layoutNavigationSplitView as Xc,layoutOverlaySplitView as Zc,measureSplitViewHorizontal as Qc,resolveNaturalSidebarWidth as $c,resolveNavigationAction as el,resolveNavigationSidebarWidth as tl,resolveNavigationStack as nl,resolveOverlaySidebarWidth as rl,resolveSidebarBounds as il,resolveSwipeArea as al,resolveSwipeRelease as ol,resolveSwipeSnapPoints as sl,resolveSwipeStart as cl,swipeCancelProgress as ll,tagsConflict as ul}from"./split-view.js";import{DEFAULT_DROPDOWN_TOOLTIP as dl,SPLIT_BUTTON_DISABLED_OPACITY as fl,SplitButtonState as pl,isSplitButtonDirection as ml,menuButtonArrowIcon as hl,menuButtonPopupDirection as gl,resolveDropdownTooltip as _l,splitButtonArrowIcon as vl,splitButtonPopupDirection as yl,splitButtonRootState as bl,splitButtonStyleClasses as xl}from"./split-button.js";import{assertPopupMenuPlan as Sl,planPopupMenu as Cl}from"./popup-menu-plan.js";import{menuAssignments as wl}from"./menu-tree.js";import{DEFAULT_INDICATOR_DESCRIPTION_STRINGS as Tl,INLINE_VIEW_SWITCHER_DISPLAY_MODES as El,VIEW_SWITCHER_BADGE_LIMIT as Dl,VIEW_SWITCHER_DRAG_SWITCH_DELAY as Ol,VIEW_SWITCHER_FALLBACK_ICON as kl,VIEW_SWITCHER_NO_SELECTION as Al,VIEW_SWITCHER_POLICIES as jl,ViewSwitcherBarState as Ml,ViewSwitcherDragSwitch as Nl,ViewSwitcherState as Pl,buildInlineToggles as Fl,buildViewSwitcherButtons as Il,createViewSwitcherPage as Ll,inlineToggleTooltip as Rl,isInlineViewSwitcherDisplayMode as zl,isViewSwitcherButtonVisible as Bl,isViewSwitcherPolicy as Vl,pageIndexForToggle as Hl,shouldRevealViewSwitcherBar as Ul,toggleIndexForPage as Wl,viewSwitcherBadgeLabel as Gl,viewSwitcherButtonOrientation as Kl,viewSwitcherIconName as ql,viewSwitcherIndicatorDescription as Jl,viewSwitcherLabel as Yl,viewSwitcherPageFromStackPage as Xl,viewSwitcherPagesFromStack as Zl,viewSwitcherSidebarSections as Ql}from"./view-switcher.js";import{UNTITLED_PAGE_LABEL as $l,collectSearchRows as eu,countVisiblePages as tu,createSearchRowSubtitle as nu,defaultCaseFolder as ru,derivePreferencesGroupHeader as iu,makeComparable as au,rowMatchesQuery as ou,searchPreferences as su}from"./preferences.js";import{ADW_MAX_OVERSHOOT_DISTANCE as cu,ADW_OVERSHOOT_SETTLE_MS as lu,ADW_UNDERSHOOT_CLASSES as uu,ADW_UNDERSHOOT_SIZE as du,accumulateOvershoot as fu,isScrolledFromEnd as pu,isScrolledFromStart as mu,overshootDistance as hu,scrollMaxValue as gu,scrollUndershootClasses as _u}from"./scrolling.js";import{POPOVER_ITEM_RADIUS as vu,POPOVER_MENU_PADDING as yu,POPOVER_PADDING as bu,POPOVER_RADIUS as xu,PopoverState as Su,resolvePopoverKey as Cu}from"./popover.js";import{ADW_WRAP_BOX_DEFAULT_ALIGN as wu,ADW_WRAP_BOX_DEFAULT_JUSTIFY as Tu,ADW_WRAP_BOX_DEFAULT_JUSTIFY_LAST_LINE as Eu,ADW_WRAP_BOX_DEFAULT_LENGTH_UNIT as Du,ADW_WRAP_BOX_DEFAULT_PACK_DIRECTION as Ou,ADW_WRAP_BOX_DEFAULT_SPACING as ku,ADW_WRAP_BOX_DEFAULT_WRAP_POLICY as Au,ADW_WRAP_BOX_JUSTIFY_MODES as ju,ADW_WRAP_BOX_NATURAL_LINE_LENGTH_UNSET as Mu,ADW_WRAP_BOX_PACK_DIRECTIONS as Nu,ADW_WRAP_POLICIES as Pu,normalizeNaturalLineLength as Fu,normalizeWrapBoxAlign as Iu,normalizeWrapBoxJustify as Lu,normalizeWrapBoxLengthUnit as Ru,normalizeWrapBoxPackDirection as zu,normalizeWrapBoxSpacing as Bu,normalizeWrapPolicy as Vu,resolveWrapBoxChildOrder as Hu,resolveWrapBoxLine as Uu,wrapBoxChildFlex as Wu,wrapBoxFlexStyle as Gu,wrapBoxLengthToPx as Ku,wrapPolicyFlexShrink as qu}from"./wrap-box.js";import{ADW_SOURCE_6502_DIRECTIVES as Ju,ADW_SOURCE_6502_LINE_COMMENT as Yu,ADW_SOURCE_6502_OPCODES as Xu,ADW_SOURCE_6502_REGISTERS as Zu,ADW_SOURCE_6502_TOKEN_ROLES as Qu,ADW_SOURCE_HEX_STRIDE as $u,ADW_SOURCE_PALETTE_DARK as ed,ADW_SOURCE_PALETTE_LIGHT as td,ADW_SOURCE_SYNTAX_ROLES as nd,classifyAsm6502Word as rd,formatHexAddress as id,formatLineNumber as ad,stripSourceWhitespace as od,tokenizeAsm6502 as sd}from"./source.js";import{CloseRequestState as cd,HandledAccumulator as ld,WindowMemberState as ud,stepDefaultSize as dd}from"./window-members.js";import{RGBA as fd}from"./rgba.js";import{AccentColor as pd,ColorScheme as md,StyleManagerBase as hd}from"./style-manager.js";export{K as ADW_ABOUT_DIALOG_LABELS,Ee as ADW_ACCENT_BG_COLORS,De as ADW_ACCENT_COLOR_NAMES,Oe as ADW_ACCENT_FG_COLOR,$e as ADW_ACCENT_META,et as ADW_ACCENT_META_SYSTEM,Ke as ADW_ADJUSTMENT_DEFAULTS,Dn as ADW_BANNER_BUTTON_STYLES,On as ADW_BANNER_BUTTON_STYLE_CLASSES,kn as ADW_BANNER_DEFAULTS,Xn as ADW_BUTTON_CONTENT_DEFAULTS,cr as ADW_BUTTON_STYLE_ALIASES,lr as ADW_BUTTON_STYLE_CLASSES,gi as ADW_CLAMP_DEFAULTS,_i as ADW_CLAMP_SIZE_CLASSES,tt as ADW_COLOR_SCHEME_META,rs as ADW_COLUMN_VIEW_NO_FIXED_WIDTH,Zi as ADW_COMBO_NO_SELECTION,q as ADW_CREDITS_SECTION_TITLES,ba as ADW_DATA_GRID_ROW_VARIANTS,ke as ADW_DEFAULT_ACCENT_COLOR,is as ADW_GRID_VIEW_MAX_COLUMNS,as as ADW_GRID_VIEW_MIN_COLUMNS,J as ADW_LEGAL_DEFAULT_TITLE,Ic as ADW_LENGTH_UNITS,Y as ADW_LICENSES,X as ADW_LICENSE_ALIASES,Z as ADW_LICENSE_DEFAULTS,Q as ADW_LICENSE_WARRANTY_TEMPLATE,$ as ADW_LINK_ROW_ICON_NAME,ee as ADW_LINK_ROW_MAIL_ICON_NAME,cu as ADW_MAX_OVERSHOOT_DISTANCE,Jt as ADW_MENU_SURFACE_NATIVESCRIPT,Yt as ADW_MENU_SURFACE_WEB,lu as ADW_OVERSHOOT_SETTLE_MS,sc as ADW_SIDEBAR_NO_SELECTION,Ju as ADW_SOURCE_6502_DIRECTIVES,Yu as ADW_SOURCE_6502_LINE_COMMENT,Xu as ADW_SOURCE_6502_OPCODES,Zu as ADW_SOURCE_6502_REGISTERS,Qu as ADW_SOURCE_6502_TOKEN_ROLES,$u as ADW_SOURCE_HEX_STRIDE,ed as ADW_SOURCE_PALETTE_DARK,td as ADW_SOURCE_PALETTE_LIGHT,nd as ADW_SOURCE_SYNTAX_ROLES,pc as ADW_SPINNER_CONTRACT_DISTANCE,mc as ADW_SPINNER_CYCLES_PER_LOOP,hc as ADW_SPINNER_CYCLE_LENGTH,gc as ADW_SPINNER_EXTEND_DISTANCE,_c as ADW_SPINNER_IDLE_DISTANCE,vc as ADW_SPINNER_MAX_ARC_LENGTH,vi as ADW_SPINNER_MAX_SIZE,yc as ADW_SPINNER_MIN_ARC_LENGTH,yi as ADW_SPINNER_MIN_SIZE,bc as ADW_SPINNER_N_CYCLES,xc as ADW_SPINNER_OVERLAP_DISTANCE,Sc as ADW_SPINNER_SPIN_DURATION_MS,Cc as ADW_SPINNER_START_ANGLE,wc as ADW_SPINNER_STILL_PROGRESS,Tc as ADW_SPINNER_TRACK_OPACITY,Bc as ADW_SWIPE_BORDER,Dr as ADW_SWIPE_DECELERATION_TOUCH,Or as ADW_SWIPE_DECELERATION_TOUCHPAD,kr as ADW_SWIPE_DRAG_THRESHOLD,Ar as ADW_SWIPE_EPSILON,jr as ADW_SWIPE_HISTORY_THRESHOLD_MS,Mr as ADW_SWIPE_PARABOLA_MULTIPLIER,Nr as ADW_SWIPE_TOUCHPAD_BASE_DISTANCE_H,Pr as ADW_SWIPE_TOUCHPAD_BASE_DISTANCE_V,Fr as ADW_SWIPE_VELOCITY_CURVE_THRESHOLD,Ir as ADW_SWIPE_VELOCITY_THRESHOLD_TOUCH,Lr as ADW_SWIPE_VELOCITY_THRESHOLD_TOUCHPAD,nt as ADW_SYSTEM_COLOR_SCHEMES,bi as ADW_TOOLBAR_BAR_CLASSES,xi as ADW_TOOLBAR_VIEW_CLASSES,Si as ADW_TOOLBAR_VIEW_DEFAULTS,te as ADW_TRANSLATOR_CREDITS_SENTINELS,uu as ADW_UNDERSHOOT_CLASSES,du as ADW_UNDERSHOOT_SIZE,wu as ADW_WRAP_BOX_DEFAULT_ALIGN,Tu as ADW_WRAP_BOX_DEFAULT_JUSTIFY,Eu as ADW_WRAP_BOX_DEFAULT_JUSTIFY_LAST_LINE,Du as ADW_WRAP_BOX_DEFAULT_LENGTH_UNIT,Ou as ADW_WRAP_BOX_DEFAULT_PACK_DIRECTION,ku as ADW_WRAP_BOX_DEFAULT_SPACING,Au as ADW_WRAP_BOX_DEFAULT_WRAP_POLICY,ju as ADW_WRAP_BOX_JUSTIFY_MODES,Mu as ADW_WRAP_BOX_NATURAL_LINE_LENGTH_UNSET,Nu as ADW_WRAP_BOX_PACK_DIRECTIONS,Pu as ADW_WRAP_POLICIES,st as APPLE_ACCENT_COLORS,ct as APPLE_MULTICOLOR_ACCENT,hn as AVATAR_COLORS,gn as AVATAR_COLOR_COUNT,Se as AcceleratorMap,pd as AccentColor,ut as ActionRegistry,Be as ActionRowState,Na as AdwAlertResponses,Gn as AdwBreakpoint,Zo as AdwToast,Qo as AdwToastQueue,sn as ApplicationFlags,cn as ApplicationInhibitFlags,ic as BACK_BUTTON_FALLBACK_TOOLTIP,Zn as BUTTON_CONTENT_BOX_SPACING,Qn as BUTTON_CONTENT_FALLBACK_ICON,$n as BUTTON_CONTENT_STYLE_CLASS,Ve as BUTTON_ROW_ACTIVATABLE,Pa as BottomSheetPresentation,Jn as BreakpointBinState,He as ButtonRowState,fr as CALENDAR_MARK_MAX,pr as CALENDAR_MARK_MIN,mr as CALENDAR_YEAR_MAX,hr as CALENDAR_YEAR_MIN,za as CAPS_LOCK_ICON_NAME,Ba as CAPS_LOCK_TOOLTIP,qr as CAROUSEL_SCROLL_TIMEOUT_MS,Jr as CAROUSEL_SETTLE_EPSILON,Nt as CURRENT_TIME,Yr as CarouselState,wo as Clipboard,cd as CloseRequestState,md as ColorScheme,ys as ComboState,To as ContentFormats,Eo as ContentProvider,Pt as CssProvider,xa as DATA_GRID_CELL_CLASS,Sa as DATA_GRID_ROW_CLASS,Hn as DEFAULT_BOX_SPACING,Lc as DEFAULT_DPI,dl as DEFAULT_DROPDOWN_TOOLTIP,Ii as DEFAULT_ICON_COLOR,Li as DEFAULT_ICON_COLOR_DARK,Tl as DEFAULT_INDICATOR_DESCRIPTION_STRINGS,ws as DEFAULT_LABEL_ELLIPSIZE,Ts as DEFAULT_LABEL_LINES,Es as DEFAULT_LABEL_MAX_WIDTH_CHARS,Ds as DEFAULT_LABEL_WIDTH_CHARS,Os as DEFAULT_LABEL_WRAP_MODE,ks as DEFAULT_LABEL_XALIGN,As as DEFAULT_LABEL_YALIGN,Vc as DEFAULT_MAX_SIDEBAR_WIDTH,Hc as DEFAULT_MIN_SIDEBAR_WIDTH,Uc as DEFAULT_SIDEBAR_WIDTH_FRACTION,Wc as DEFAULT_SIDEBAR_WIDTH_UNIT,sa as DEFAULT_TAB_AUTOHIDE,$o as DEFAULT_TOAST_TIMEOUT,xt as DialogError,Do as Display,Va as EMPTY_ANIMATION_DURATION_MS,Ha as ENTRY_ROW_APPLY_ICON_NAME,Ua as ENTRY_ROW_APPLY_TOOLTIP,Wa as ENTRY_ROW_EDIT_ICON_NAME,Ga as ENTRY_ROW_MAX_LENGTH_LIMIT,Ka as ENTRY_ROW_TITLE_SPACING,qa as EntryRowState,Ft as EventControllerKey,bs as ExpanderState,ao as FileCreateFlags,It as GDK_KEYS,u as GIR_TYPE,Io as GLIB_UNICHAR_UNICODE_VERSION,bt as GLibBytes,St as GLibError,zo as GLibVariant,d as GObjectObject,ne as GTK_LICENSE,Co as GdkAppLaunchContext,bo as GioAppLaunchContext,ln as GioApplicationBase,lo as GioFile,co as GioFileOutputStream,uo as GioListStore,Ao as GioMenu,jo as GioMenuItem,fo as GioOutputStream,Et as GioResource,ta as GjsifyOptionList,na as GjsifyOptionObject,Wo as GtkAdjustment,un as GtkApplicationBase,oo as GtkFileDialog,so as GtkFileFilter,Lt as GtkSettings,Ji as GtkStringList,Yi as GtkStringObject,ld as HandledAccumulator,Go as HeaderBarState,El as INLINE_VIEW_SWITCHER_DISPLAY_MODES,Gc as INSTANT_SPLIT_VIEW_ANIMATOR,Xi as INVALID_LIST_POSITION,Ct as IOErrorEnum,Rt as IconTheme,js as LABEL_ELLIPSIZE_MODES,Ms as LABEL_JUSTIFICATIONS,Js as LABEL_MARKUP_STYLE_PLAIN,Ns as LABEL_WRAP_MODES,f as ListModel,os as ListViewState,Wi as MAXUINT32,p as META_SYMBOLS,Ce as ModifierMask,Kc as NAVIGATION_SPLIT_VIEW_CRITICALS,qc as NavigationSplitViewState,ac as NavigationViewState,Jc as OverlaySplitViewState,B as PANGO_MARKUP_TAGS,Ja as PASSWORD_CONCEAL_ICON_NAME,Ya as PASSWORD_CONCEAL_LABEL,Xa as PASSWORD_REVEAL_ICON_NAME,Za as PASSWORD_REVEAL_LABEL,vu as POPOVER_ITEM_RADIUS,yu as POPOVER_MENU_PADDING,bu as POPOVER_PADDING,xu as POPOVER_RADIUS,m as PURE_JS_ENGINE,h as ParamFlags,g as ParamSpec,Qa as PasswordEntryRowState,Bo as Point,Su as PopoverState,Yo as RELEASE_NOTES_LABELS,fd as RGBA,ui as RadioGroupState,wt as ResourceError,Dt as ResourceLookupFlags,fl as SPLIT_BUTTON_DISABLED_OPACITY,_ as STOP_EMISSION,zt as STYLE_PROVIDER_PRIORITY_APPLICATION,Bt as STYLE_PROVIDER_PRIORITY_FALLBACK,Vt as STYLE_PROVIDER_PRIORITY_SETTINGS,Ht as STYLE_PROVIDER_PRIORITY_THEME,Ut as STYLE_PROVIDER_PRIORITY_USER,cc as SidebarState,dt as SimpleAction,ft as SimpleActionGroup,qe as SpinState,pl as SplitButtonState,hd as StyleManagerBase,Rr as SwipeTracker,Ue as SwitchRowState,v as TYPE_BOOLEAN,y as TYPE_DOUBLE,b as TYPE_INT,x as TYPE_OBJECT,S as TYPE_STRING,C as TYPE_UINT,ca as TabViewState,es as Toast,ts as ToastOverlayQueue,ns as ToastPriority,xs as ToggleGroupState,w as UNLOCKED_VFUNCS,$l as UNTITLED_PAGE_LABEL,T as UnsupportedGObjectError,Dl as VIEW_SWITCHER_BADGE_LIMIT,Ol as VIEW_SWITCHER_DRAG_SWITCH_DELAY,kl as VIEW_SWITCHER_FALLBACK_ICON,Al as VIEW_SWITCHER_NO_SELECTION,jl as VIEW_SWITCHER_POLICIES,E as Value,ia as ViewStackState,Ml as ViewSwitcherBarState,Nl as ViewSwitcherDragSwitch,Pl as ViewSwitcherState,ud as WindowMemberState,We as WindowTitleState,re as aboutDialogVisibility,we as acceleratorName,fu as accumulateOvershoot,ie as acknowledgementSections,pt as actionRegistryOf,va as activateMenuItem,mt as activateWidgetAction,lc as adjustSidebarSelection,Je as adjustmentRange,lt as adwAccentFromAppleAccentColor,Rc as adwLengthToPx,fi as adwLerp,e as adwSubtitleWriteNotifies,Ae as adwaitaAccent,je as adwaitaAccentBgColor,Me as adwaitaAccentColor,Ri as adwaitaColorScheme,Ne as adwaitaStandaloneColor,rt as appearanceFromMeta,ht as applicationOfWindow,Tt as asGLibError,Xt as assertMenuRenderable,Sl as assertPopupMenuPlan,_n as avatarColor,vn as avatarColorClass,yn as avatarFontSize,bn as avatarIconSize,xn as avatarInitials,Sn as avatarMaxFontSize,Cn as avatarMode,An as bannerButtonStyleClasses,jn as bannerButtonText,Mn as bannerButtonVisible,Nn as bannerRenderState,D as bindProperties,Gi as buildFilenamev,Fl as buildInlineToggles,Il as buildViewSwitcherButtons,er as buttonContentEllipsize,tr as buttonContentIconExpands,nr as buttonContentIconIsEmpty,rr as buttonContentIconName,ir as buttonContentLabelText,ar as buttonContentLabelVisible,or as buttonContentRenderState,sr as buttonContentStyleTargetIndex,ur as buttonStyleClass,dr as buttonStyleClasses,gr as calendarClearMarks,_r as calendarDayIsMarked,vr as calendarDays,yr as calendarDaysInMonth,br as calendarIsLeapYear,xr as calendarMarkDay,Sr as calendarNavigationButtons,Cr as calendarSelectDay,wr as calendarStep,Tr as calendarWeekNumber,Er as calendarWeekStart,Xr as carouselClampPosition,Zr as carouselClosestSnapPoint,Qr as carouselNavigateTarget,$r as carouselPageAllocation,ei as carouselPageAtPosition,ti as carouselRange,ni as carouselReorderShift,ri as carouselSizesFromSnapPoints,ii as carouselSnapPoints,ai as carouselWheelStep,oi as checkActivationFlips,si as checkGroupNeighbours,Ye as clampAdjustmentValue,Ci as clampAllocate,wi as clampChildSize,$a as clampEntryMaxLength,eo as clampEntryText,uc as clampSidebarSelection,Ti as clampSizeFromChild,Ei as clampThresholds,rd as classifyAsm6502Word,eu as collectSearchRows,ss as columnViewSort,cs as columnViewTracks,Mo as computeLanguageNames,Vo as computePoint,O as connectInstance,k as constructRegistered,tu as countVisiblePages,xo as createAppInfo,Yn as createBreakpointDriver,A as createClosure,Fo as createGLibTimers,j as createGObject,Oo as createGdk,Wt as createGtkPlatform,nu as createSearchRowSubtitle,Ll as createViewSwitcherPage,ae as creditsSections,Ca as dataGridCellText,wa as dataGridColumnAlign,Ta as dataGridColumnClasses,Ea as dataGridRowInteractive,Da as dataGridTrackTemplate,Oa as dataGridTracks,ru as defaultCaseFolder,dn as defineWindowApplicationMembers,Gt as deliverKeyToControllers,to as deriveEntryRowState,iu as derivePreferencesGroupHeader,Ge as deriveRowLabels,oc as describeNavigationDiagnostic,po as dialogFailedError,M as disconnectInstance,mo as dismissedError,fn as dispatchAccelerator,pi as easeInOutSine,mi as easeOutCubic,N as emitInstance,o as engineForTarget,no as entryRowLatches,ro as entryTextLength,V as escapeMarkup,Kn as evaluateBreakpointCondition,ho as fileFilterAccepts,go as fileFilterSpec,_o as fileForHandle,gt as findActionGroup,oe as flatCardShowsWebsite,wn as flattenAvatarGradient,Zt as flattenMenu,dc as flattenSidebarItems,Pc as formatAcceleratorLabel,Pe as formatAdwRgb,id as formatHexAddress,ad as formatLineNumber,Fc as formatManifestShortcut,Tn as gStrHash,t as gStrStrip,Ki as getCurrentDir,qi as getSystemDataDirs,n as glibClamp,P as gobjectEngineName,Ho as gridColumns,Uo as gridNavigate,ls as gridViewColumns,r as gtkButtonIconNameReadback,qo as iconLookupNames,Rl as inlineToggleTooltip,_t as insertActionGroup,vt as installActionMap,hi as inverseLerp,Fe as isAdwAccentColorName,it as isAdwSystemColorScheme,Pn as isBannerButtonStyle,la as isDescendantOfPage,zl as isInlineViewSwitcherDisplayMode,se as isLicenseType,ci as isRadioCheck,pu as isScrolledFromEnd,mu as isScrolledFromStart,Yc as isSidebarAtVisualStart,ml as isSplitButtonDirection,zi as isThemeIconColor,pn as isValidApplicationId,Bl as isViewSwitcherButtonVisible,Vl as isViewSwitcherPolicy,tc as isWidgetNode,Ss as keptToggles,Kt as keyvalOfKey,Ys as labelActivateLink,Ps as labelDisplayText,Fs as labelEffectiveLines,Is as labelEllipsizeOverflowValue,Xs as labelHasLinks,Zs as labelLinkVisited,Qs as labelLinksHaveTooltip,$s as labelLinksInheritVisited,Ls as labelMarkupIsUnparseable,ec as labelMarkupRender,Rs as labelWidthCharsExtent,zs as labelYalignAlignItems,No as languageNamesFromTags,Xc as layoutNavigationSplitView,Zc as layoutOverlaySplitView,ce as legalMarkupText,le as legalSectionVisible,ue as legalSections,de as legalVisible,fe as licenseText,pe as licenseTypeForNick,me as licenseTypeForSpdxId,he as linkRowIconName,ge as linkRowTooltip,yt as linkWindow,In as listBoxSelect,Ln as listBoxSelectAll,Rn as listBoxSelectRow,zn as listBoxUnselectAll,Bn as listBoxUnselectRow,us as listItemField,Qi as listItemsChanged,ds as listViewSelect,fs as listViewSelectAll,Po as localeFromLanguageTag,Jo as lookupResourceIcon,au as makeComparable,Qc as measureSplitViewHorizontal,ya as menuActionsFor,wl as menuAssignments,hl as menuButtonArrowIcon,gl as menuButtonPopupDirection,Qt as menuItemAt,$t as menuLabelText,en as menuNodeAt,tn as menuRefusals,Ie as nearestAccent,Xe as normalizeAdjustment,Un as normalizeBoxOrientation,Vn as normalizeBoxSelectionMode,Wn as normalizeBoxSpacing,Di as normalizeClampSize,ps as normalizeColumnViewColumns,$i as normalizeComboOptions,ka as normalizeDataGridColumns,Aa as normalizeDataGridVariant,aa as normalizeIconName,Bs as normalizeLabelEllipsize,Vs as normalizeLabelJustify,Hs as normalizeLabelLines,Us as normalizeLabelMaxWidthChars,Ws as normalizeLabelWidthChars,Gs as normalizeLabelWrapMode,Ks as normalizeLabelXalign,qs as normalizeLabelYalign,zc as normalizeLengthUnit,ms as normalizeListSelectionMode,nn as normalizeMenuModel,Fu as normalizeNaturalLineLength,Ec as normalizeSpinnerAngle,Iu as normalizeWrapBoxAlign,Lu as normalizeWrapBoxJustify,Ru as normalizeWrapBoxLengthUnit,zu as normalizeWrapBoxPackDirection,Bu as normalizeWrapBoxSpacing,Vu as normalizeWrapPolicy,F as notifyInstance,Le as onAdwaitaAccentChanged,Bi as onAdwaitaColorSchemeChanged,hu as overshootDistance,Hl as pageIndexForToggle,jc as parseAccelerator,Te as parseAcceleratorKeyval,Ze as parseAdjustment,Re as parseAdwRgb,Fn as parseBannerButtonStyle,qn as parseBreakpointCondition,hs as parseColumnViewColumns,_e as parseCreditPerson,at as parseDesktopAppearance,rn as parseDetailedAction,H as parseLabelMarkup,ea as parseListModel,an as parseMenuModel,U as parsePangoMarkup,Mc as parseShortcutLabel,Oi as parseToolbarStyle,Cl as planPopupMenu,vo as promisify,En as randomAvatarColorClass,ra as readModelWrite,I as refuseForeignInterfaces,ve as refuseNewFromAppdata,L as registerBaseClass,ja as registerDefaultTranslate,yo as registerFileChooserDriver,s as registerGObjectEngine,R as registeredClassOf,Ma as registeredDefaultTranslate,c as registeredEngine,Xo as releaseNotesBuffer,ot as renderAppearanceMeta,l as resetRegisteredEngine,Fa as resolveBottomSheetChrome,Ia as resolveBottomSheetClose,La as resolveBottomSheetOpen,Ra as resolveBottomSheetSwipeTracker,di as resolveCheckState,_l as resolveDropdownTooltip,io as resolveEntryRowActivation,Ko as resolveHeaderBarTitle,on as resolveMenuItemState,$c as resolveNaturalSidebarWidth,el as resolveNavigationAction,tl as resolveNavigationSidebarWidth,nl as resolveNavigationStack,rl as resolveOverlaySidebarWidth,oa as resolvePageTitle,Cu as resolvePopoverKey,il as resolveSidebarBounds,ki as resolveSpinnerSize,al as resolveSwipeArea,ol as resolveSwipeRelease,sl as resolveSwipeSnapPoints,cl as resolveSwipeStart,Hu as resolveWrapBoxChildOrder,Uu as resolveWrapBoxLine,Ot as resources_enumerate_children,kt as resources_get_info,At as resources_lookup_data,jt as resources_register,Mt as resources_unregister,ou as rowMatchesQuery,gu as scrollMaxValue,_u as scrollUndershootClasses,su as searchPreferences,ze as setAdwaitaAccent,Vi as setAdwaitaColorScheme,li as setCheckGroup,ye as setLicense,be as setLicenseType,Nc as shortcutKeycaps,Ul as shouldRevealViewSwitcherBar,fc as sidebarHeaders,Qe as snapAdjustmentValue,Dc as spinnerArc,Oc as spinnerArcEnd,kc as spinnerArcStart,Ai as spinnerGeometry,Ac as spinnerProgressAt,vl as splitButtonArrowIcon,yl as splitButtonPopupDirection,bl as splitButtonRootState,xl as splitButtonStyleClasses,dd as stepDefaultSize,i as stringIsNotEmpty,W as stripLabelMarkup,G as stripMarkup,a as stripMnemonic,od as stripSourceWhitespace,ua as successorAfterClose,zr as swipeBounds,ll as swipeCancelProgress,Br as swipeClosestPointIndex,Vr as swipeEndProgress,Hr as swipeNextPointIndex,Ur as swipePreviousPointIndex,Wr as swipeProjectedPointIndex,Gr as swipeSlope,Kr as swipeVelocityThreshold,nc as syncDirection,da as tabCloseVisible,fa as tabIconState,pa as tabSearchMatches,ma as tabTooltip,ha as tabTooltipIsMarkup,ga as tabViewItemsChanged,_a as tabsRevealed,ul as tagsConflict,Hi as themeIconColor,Ui as toggleAdwaitaColorScheme,Wl as toggleIndexForPage,Cs as toggleIndexOfName,sd as tokenizeAsm6502,ji as toolbarBarStyleClasses,Mi as toolbarViewAllocate,Ni as toolbarViewClasses,Pi as toolbarViewContentForSize,Fi as toolbarViewMeasure,xe as translatorCreditsPeople,gs as treeExpanderAction,_s as treeExpanderExpanded,vs as treeExpanderLayout,Lo as unicharIsalpha,Ro as uriEscapeString,So as uriPeekScheme,z as usePureJsGObjectEngine,Gl as viewSwitcherBadgeLabel,Kl as viewSwitcherButtonOrientation,ql as viewSwitcherIconName,Jl as viewSwitcherIndicatorDescription,Yl as viewSwitcherLabel,Xl as viewSwitcherPageFromStackPage,Zl as viewSwitcherPagesFromStack,Ql as viewSwitcherSidebarSections,qt as widgetControllerMembers,ko as widgetDisplayMembers,rc as widgetTreeMembers,mn as withGtkApplication,Wu as wrapBoxChildFlex,Gu as wrapBoxFlexStyle,Ku as wrapBoxLengthToPx,qu as wrapPolicyFlexShrink};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./_virtual/_rolldown/runtime.js";import{parseLabelMarkup as e}from"./pango-markup.js";const t={bold:!1,italic:!1,underline:!1,strikethrough:!1,monospace:!1,sizeSteps:0,script:null,spans:[]};function withTag(e,t,n){switch(t){case`b`:return{...e,bold:!0};case`i`:return{...e,italic:!0};case`u`:return{...e,underline:!0};case`s`:return{...e,strikethrough:!0};case`tt`:return{...e,monospace:!0};case`big`:return{...e,sizeSteps:e.sizeSteps+1};case`small`:return{...e,sizeSteps:e.sizeSteps-1};case`sub`:return{...e,script:`sub`};case`sup`:return{...e,script:`sup`};case`span`:return{...e,spans:[...e.spans,n]};default:return e}}function sameStyle(e,t){let n=e.style;return e.link===t.link&&n.bold===t.style.bold&&n.italic===t.style.italic&&n.underline===t.style.underline&&n.strikethrough===t.style.strikethrough&&n.monospace===t.style.monospace&&n.sizeSteps===t.style.sizeSteps&&n.script===t.style.script&&n.spans.length===t.style.spans.length&&n.spans.every((e,n)=>e===t.style.spans[n])}function labelMarkupRender(n,r=[]){let i=e(n??``);if(i===null)return null;let a=[],o=[],s=``,walk=(e,t)=>{for(let n of e){if(n.kind===`text`){if(n.text===``)continue;let e=a[a.length-1];e!==void 0&&sameStyle(e,t)?a[a.length-1]={...e,text:e.text+n.text}:a.push({text:n.text,style:t.style,link:t.link}),s+=n.text;continue}if(n.kind===`link`){let e=o.length,r=s.length;o.push({href:n.href,title:n.title,cssClass:n.cssClass,start:r,end:r,visited:!1}),walk(n.children,{style:t.style,link:e}),o[e]={...o[e],end:s.length};continue}walk(n.children,{style:withTag(t.style,n.tag,n.attributes),link:t.link})}};return walk(i,{style:t,link:null}),{text:s,runs:a,links:labelLinksInheritVisited(o,r)}}function labelLinksInheritVisited(e,t){return t.length===0?e:e.map(e=>{let n=t.find(t=>t.href===e.href);return n===void 0||!n.visited?e:{...e,visited:!0}})}function labelLinksHaveTooltip(e){return e.some(e=>e.title!==null)}function labelHasLinks(e){return e.length>0}function labelActivateLink(e,t){return t.emit()?!0:t.rooted?(t.launch(e),!0):!1}function labelLinkVisited(e,t){let n=e[t];return n===void 0||n.visited?e:e.map(e=>e.href===n.href?{...e,visited:!0}:e)}export{t as LABEL_MARKUP_STYLE_PLAIN,labelActivateLink,labelHasLinks,labelLinkVisited,labelLinksHaveTooltip,labelLinksInheritVisited,labelMarkupRender};
|
package/lib/esm/label.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./_virtual/_rolldown/runtime.js";import{glibClamp as e,stripMnemonic as t}from"./glib.js";import{
|
|
1
|
+
import"./_virtual/_rolldown/runtime.js";import{glibClamp as e,stripMnemonic as t}from"./glib.js";import{stripLabelMarkup as n}from"./pango-markup.js";const r=.5,i=[`left`,`right`,`center`,`fill`];function labelDisplayText(e,r,i){let a=e??``,o=r?n(a)??a:a;return i?t(o):o}function labelMarkupIsUnparseable(e,t){return t&&n(e??``)===null}function normalizeLabelXalign(t){let n=typeof t==`number`?t:Number.parseFloat(String(t??``));return Number.isFinite(n)?e(n,0,1):r}function normalizeLabelJustify(e){return i.includes(e)?e:`left`}const a=.5;function normalizeLabelYalign(t){let n=typeof t==`number`?t:Number.parseFloat(String(t??``));return Number.isFinite(n)?e(n,0,1):a}function labelYalignAlignItems(e){return e<.25?`flex-start`:e>.75?`flex-end`:`center`}const o=[`none`,`start`,`middle`,`end`],s=`none`;function normalizeLabelEllipsize(e){return o.includes(e)?e:s}function labelEllipsizeOverflowValue(e){return e===`none`?`clip`:`ellipsis`}const c=[`word`,`char`,`word-char`],l=`word`;function normalizeLabelWrapMode(e){return c.includes(e)?e:l}function normalizeLabelCharCount(e,t){let n=typeof e==`number`?e:Number.parseInt(String(e??``),10);return Number.isFinite(n)?Math.max(t,Math.trunc(n)):t}const u=-1;function normalizeLabelWidthChars(e){return normalizeLabelCharCount(e,-1)}const d=-1;function normalizeLabelMaxWidthChars(e){return normalizeLabelCharCount(e,-1)}const f=-1;function normalizeLabelLines(e){return normalizeLabelCharCount(e,-1)}function labelEffectiveLines(e,t){return t===`none`?null:e>0?e:1}function labelWidthCharsExtent(e,t){return{minCh:e>=0?e:null,maxCh:t>=0?Math.max(e,t):null}}export{s as DEFAULT_LABEL_ELLIPSIZE,f as DEFAULT_LABEL_LINES,d as DEFAULT_LABEL_MAX_WIDTH_CHARS,u as DEFAULT_LABEL_WIDTH_CHARS,l as DEFAULT_LABEL_WRAP_MODE,r as DEFAULT_LABEL_XALIGN,a as DEFAULT_LABEL_YALIGN,o as LABEL_ELLIPSIZE_MODES,i as LABEL_JUSTIFICATIONS,c as LABEL_WRAP_MODES,labelDisplayText,labelEffectiveLines,labelEllipsizeOverflowValue,labelMarkupIsUnparseable,labelWidthCharsExtent,labelYalignAlignItems,normalizeLabelEllipsize,normalizeLabelJustify,normalizeLabelLines,normalizeLabelMaxWidthChars,normalizeLabelWidthChars,normalizeLabelWrapMode,normalizeLabelXalign,normalizeLabelYalign};
|
package/lib/esm/pango-markup.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./_virtual/_rolldown/runtime.js";const e=[`markup`,`span`,`b`,`big`,`i`,`s`,`sub`,`sup`,`small`,`tt`,`u`],t=new Set(e),n=new Map([[`amp`,`&`],[`lt`,`<`],[`gt`,`>`],[`quot`,`"`],[`apos`,`'`]]),r=/[A-Za-z_:]/,i=/[A-Za-z0-9._:-]/,a=/[ \t\r\n]/;function escapeMarkup(e){let t=``;for(let n of e)switch(n){case`&`:t+=`&`;break;case`<`:t+=`<`;break;case`>`:t+=`>`;break;case`'`:t+=`'`;break;case`"`:t+=`"`;break;default:{let e=n.codePointAt(0);t+=e>=1&&e<=8||e>=11&&e<=12||e>=14&&e<=31||e===127?`&#x${e.toString(16)};`:n}}return t}function passthroughEnd(e,t){return e.startsWith(`<!--`,t)?{terminator:`-->`}:e.startsWith(`<![CDATA[`,t)?{terminator:`]]>`}:e.startsWith(`<!`,t)||e.startsWith(`<?`,t)?{terminator:`>`}:null}function readEntity(e,t){let r=e.indexOf(`;`,t);if(r<0)return null;let i=e.slice(t+1,r);if(i.length===0)return null;if(i.startsWith(`#`)){let e=i[1]===`x`||i[1]===`X`,t=e?i.slice(2):i.slice(1);if(t.length===0||!(e?/^[0-9a-fA-F]+$/:/^[0-9]+$/).test(t))return null;let n=Number.parseInt(t,e?16:10);return n<=0||n>1114111||n>=55296&&n<=57343?null:{value:String.fromCodePoint(n),next:r+1}}let a=n.get(i);return a===void 0?null:{value:a,next:r+1}}function readTag(e,t){let n=t+1,o=e[n]===`/`;if(o&&(n+=1),n>=e.length||!r.test(e[n]))return null;let s=n;for(;n<e.length&&i.test(e[n]);)n+=1;let c=e.slice(s,n),l={},u=!1;for(;n<e.length;){for(;n<e.length&&a.test(e[n]);)n+=1;let t=e[n];if(t===void 0)return null;if(t===`>`)return{name:c,closing:o,selfClosing:u,attributes:l,next:n+1};if(t===`/`)return o||e[n+1]!==`>`?null:(u=!0,{name:c,closing:o,selfClosing:u,attributes:l,next:n+2});if(o||!r.test(t))return null;let s=n;for(;n<e.length&&i.test(e[n]);)n+=1;let d=e.slice(s,n);for(;n<e.length&&a.test(e[n]);)n+=1;if(e[n]!==`=`)return null;for(n+=1;n<e.length&&a.test(e[n]);)n+=1;let f=e[n];if(f!==`"`&&f!==`'`)return null;let p=e.indexOf(f,n+1);if(p<0)return null;let m=decodeEntities(e.slice(n+1,p));if(m===null)return null;l[d]=m,n=p+1}return null}function decodeEntities(e){if(!e.includes(`&`))return e;let t=``,n=0;for(;n<e.length;){let r=e.indexOf(`&`,n);if(r===-1){t+=e.slice(n);break}t+=e.slice(n,r);let i=readEntity(e,r);if(!i)return null;t+=i.value,n=i.next}return t}function
|
|
1
|
+
import"./_virtual/_rolldown/runtime.js";const e=[`markup`,`span`,`b`,`big`,`i`,`s`,`sub`,`sup`,`small`,`tt`,`u`],t=new Set(e),n=new Map([[`amp`,`&`],[`lt`,`<`],[`gt`,`>`],[`quot`,`"`],[`apos`,`'`]]),r=/[A-Za-z_:]/,i=/[A-Za-z0-9._:-]/,a=/[ \t\r\n]/;function escapeMarkup(e){let t=``;for(let n of e)switch(n){case`&`:t+=`&`;break;case`<`:t+=`<`;break;case`>`:t+=`>`;break;case`'`:t+=`'`;break;case`"`:t+=`"`;break;default:{let e=n.codePointAt(0);t+=e>=1&&e<=8||e>=11&&e<=12||e>=14&&e<=31||e===127?`&#x${e.toString(16)};`:n}}return t}function passthroughEnd(e,t){return e.startsWith(`<!--`,t)?{terminator:`-->`}:e.startsWith(`<![CDATA[`,t)?{terminator:`]]>`}:e.startsWith(`<!`,t)||e.startsWith(`<?`,t)?{terminator:`>`}:null}function readEntity(e,t){let r=e.indexOf(`;`,t);if(r<0)return null;let i=e.slice(t+1,r);if(i.length===0)return null;if(i.startsWith(`#`)){let e=i[1]===`x`||i[1]===`X`,t=e?i.slice(2):i.slice(1);if(t.length===0||!(e?/^[0-9a-fA-F]+$/:/^[0-9]+$/).test(t))return null;let n=Number.parseInt(t,e?16:10);return n<=0||n>1114111||n>=55296&&n<=57343?null:{value:String.fromCodePoint(n),next:r+1}}let a=n.get(i);return a===void 0?null:{value:a,next:r+1}}function readTag(e,t){let n=t+1,o=e[n]===`/`;if(o&&(n+=1),n>=e.length||!r.test(e[n]))return null;let s=n;for(;n<e.length&&i.test(e[n]);)n+=1;let c=e.slice(s,n),l={},u=!1;for(;n<e.length;){for(;n<e.length&&a.test(e[n]);)n+=1;let t=e[n];if(t===void 0)return null;if(t===`>`)return{name:c,closing:o,selfClosing:u,attributes:l,next:n+1};if(t===`/`)return o||e[n+1]!==`>`?null:(u=!0,{name:c,closing:o,selfClosing:u,attributes:l,next:n+2});if(o||!r.test(t))return null;let s=n;for(;n<e.length&&i.test(e[n]);)n+=1;let d=e.slice(s,n);for(;n<e.length&&a.test(e[n]);)n+=1;if(e[n]!==`=`)return null;for(n+=1;n<e.length&&a.test(e[n]);)n+=1;let f=e[n];if(f!==`"`&&f!==`'`)return null;let p=e.indexOf(f,n+1);if(p<0)return null;let m=decodeEntities(e.slice(n+1,p));if(m===null)return null;l[d]=m,n=p+1}return null}function decodeEntities(e){if(!e.includes(`&`))return e;let t=``,n=0;for(;n<e.length;){let r=e.indexOf(`&`,n);if(r===-1){t+=e.slice(n);break}t+=e.slice(n,r);let i=readEntity(e,r);if(!i)return null;t+=i.value,n=i.next}return t}const o=new Set([`href`,`title`,`class`]);function closeElement(e){return e.tag===null?{kind:`link`,href:e.attributes.href,title:e.attributes.title??null,cssClass:e.attributes.class??null,children:e.children}:{kind:`element`,tag:e.tag,attributes:e.attributes,children:e.children}}function scanMarkup(e,n){let r=[],i=[],a=``,s=0,current=()=>i.length>0?i[i.length-1].children:r,flush=()=>{if(a===``)return;let e=current(),t=e[e.length-1];t!==void 0&&t.kind===`text`?e[e.length-1]={kind:`text`,text:t.text+a}:e.push({kind:`text`,text:a}),a=``};for(;s<e.length;){let r=e[s];if(r===`&`){let t=readEntity(e,s);if(!t)return null;a+=t.value,s=t.next;continue}if(r!==`<`){a+=r,s+=1;continue}let c=passthroughEnd(e,s);if(c){let t=e.indexOf(c.terminator,s+2);if(t<0)return null;s=t+c.terminator.length;continue}let l=readTag(e,s);if(!l)return null;let u=n&&l.name===`a`;if(u){for(let e of Object.keys(l.attributes))if(!o.has(e))return null;if(!l.closing&&l.attributes.href===void 0)return null}else if(!t.has(l.name)||Object.keys(l.attributes).length>0&&l.name!==`span`)return null;if(flush(),l.closing){let e=i.pop();if(e===void 0||e.name!==l.name)return null;current().push(closeElement(e))}else l.selfClosing||i.push({name:l.name,tag:u?null:l.name,attributes:l.attributes,children:[]});s=l.next}return i.length>0?null:(flush(),r)}function reduceToText(e){let t=``,n=[...e].reverse();for(;n.length>0;){let e=n.pop();if(e.kind===`text`)t+=e.text;else for(let t=e.children.length-1;t>=0;--t)n.push(e.children[t])}return t}function parsePangoMarkup(e){return scanMarkup(e,!1)}function parseLabelMarkup(e){return scanMarkup(e,!0)}function stripMarkup(e){let t=parsePangoMarkup(e);return t===null?null:reduceToText(t)}function stripLabelMarkup(e){let t=parseLabelMarkup(e);return t===null?null:reduceToText(t)}export{e as PANGO_MARKUP_TAGS,escapeMarkup,parseLabelMarkup,parsePangoMarkup,stripLabelMarkup,stripMarkup};
|
package/lib/esm/rows.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./_virtual/_rolldown/runtime.js";import{SpinState as e}from"./adjustment.js";import{ADW_COMBO_NO_SELECTION as t,listItemsChanged as n,normalizeComboOptions as r}from"./list.js";var ExpanderState=class{constructor(){this._expanded=!1,this._listeners=new Set}subscribe(e){return this._listeners.add(e),()=>{this._listeners.delete(e)}}_emit(){for(let e of[...this._listeners])e(this._expanded)}get expanded(){return this._expanded}setExpanded(e){let t=!!e;return t===this._expanded?!1:(this._expanded=t,this._emit(),!0)}toggle(){return this.setExpanded(!this._expanded)}expand(){return this.setExpanded(!0)}collapse(){return this.setExpanded(!1)}};function watchItemsChanged(e,t){if(typeof e.connect!=`function`||typeof e.disconnect!=`function`)return()=>{};let n=e.connect(`items-changed`,(...e)=>{let[n,r,i]=e.slice(1);t({position:n??0,removed:r??0,added:i??0})});return()=>void e.disconnect?.(n)}var ComboState=class{constructor(){this._model=null,this._options=[],this._selected=-1,this._unwatch=null,this._listeners=new Set,this._itemListeners=new Set,this._notifyListeners=new Set}subscribe(e){return this._listeners.add(e),()=>{this._listeners.delete(e)}}subscribeNotify(e){return this._notifyListeners.add(e),()=>{this._notifyListeners.delete(e)}}subscribeItems(e){return this._itemListeners.add(e),()=>{this._itemListeners.delete(e)}}_emit(e){let t={selected:this._selected,value:this.selectedValue,label:this.selectedLabel,interactive:e};for(let e of[...this._listeners])e(t)}_notify(e){for(let t of[...this._notifyListeners])t(e)}_emitItems(e){for(let t of[...this._itemListeners])t(e)}_setIndex(e,t){return e===this._selected?!1:(this._selected=e,this._emit(t),this._notify(`selected`),this._notify(`selected-item`),!0)}get model(){return this._model}get options(){return this._options.map(e=>({value:e.value,label:e.label}))}get selectedItem(){return!this._model||this._selected<0?null:this._model.get_item(this._selected)??null}setModel(e){if(e===this._model)return;this._unwatch?.(),this._unwatch=null;let t=this._options;this._model=e,this._options=e?r(e):[],this._selected=this._options.length===0?-1:0,e&&(this._unwatch=watchItemsChanged(e,e=>this._onItemsChanged(e)));let i=n(t,this._options);i&&this._emitItems(i),this._emit(!1),e&&(this._notify(`selected`),this._notify(`selected-item`)),this._notify(`model`)}_onItemsChanged(e){this._options=this._model?r(this._model):[],this._emitItems(e);let t=this._selected,n=this._options.length;if(t===-1){if(n===0)return;this._selected=0,this._emit(!1),this._notify(`selected-item`),this._notify(`selected`);return}if(!(t<e.position)){if(t>=e.position+e.removed){this._selected=t+e.added-e.removed,this._emit(!1),this._notify(`selected`);return}this._selected=n===0?-1:Math.min(e.position,n-1),this._emit(!1),this._notify(`selected-item`),this._selected!==t&&this._notify(`selected`)}}get selectedIndex(){return this._selected}get presentsChooser(){return this._options.length>1}setSelectedIndex(e){return this.hasIndex(e)?this._setIndex(e,!1):!1}get selectedValue(){return this._options[this._selected]?.value??``}get selectedLabel(){return this._options[this._selected]?.label??``}setSelectedValue(e){let t=this._options.findIndex(t=>t.value===e);return t>=0?this.setSelectedIndex(t):!1}hasIndex(e){return Number.isFinite(e)&&e>=0&&e<this._options.length}select(e){return!this.hasIndex(e)||e===this._selected?!1:this._setIndex(e,!0)}get count(){return this._options.length}},ToggleGroupState=class{constructor(){this._labels=[],this._selected=0,this._listeners=new Set}subscribe(e){return this._listeners.add(e),()=>{this._listeners.delete(e)}}_emit(){let e={selected:this._selected,value:this.selectedValue};for(let t of[...this._listeners])t(e)}get labels(){return this._labels}setLabels(e){this._labels=Array.isArray(e)?e:[],this._selected>=this._labels.length&&(this._selected=0)}get selected(){return this._selected}setSelected(e){let t=Number.isFinite(e)?e:0;return t===this._selected||t<0||t>=this._labels.length?!1:(this._selected=t,this._emit(),!0)}get selectedValue(){return this._labels[this._selected]??``}get count(){return this._labels.length}};function keptToggles(e){let t=new Set,n=[];for(let r of e){let e=r.name??null;e!==null&&t.has(e)||(e!==null&&t.add(e),n.push(r))}return n}function toggleIndexOfName(e,t){return e.indexOf(t)}export{t as ADW_COMBO_NO_SELECTION,ComboState,ExpanderState,e as SpinState,ToggleGroupState,keptToggles,r as normalizeComboOptions,toggleIndexOfName};
|
|
1
|
+
import"./_virtual/_rolldown/runtime.js";import{SpinState as e}from"./adjustment.js";import{ADW_COMBO_NO_SELECTION as t,listItemsChanged as n,normalizeComboOptions as r}from"./list.js";var ExpanderState=class{constructor(){this._expanded=!1,this._enableExpansion=!0,this._listeners=new Set}subscribe(e){return this._listeners.add(e),()=>{this._listeners.delete(e)}}_emit(){for(let e of[...this._listeners])e(this._expanded)}get expanded(){return this._expanded}get enableExpansion(){return this._enableExpansion}setExpanded(e){let t=!!e&&this._enableExpansion;return t===this._expanded?!1:(this._expanded=t,this._emit(),!0)}setEnableExpansion(e){let t=!!e;return t===this._enableExpansion?[]:(this._enableExpansion=t,this.setExpanded(t)?[`expanded`,`enable-expansion`]:[`enable-expansion`])}toggle(){return this.setExpanded(!this._expanded)}expand(){return this.setExpanded(!0)}collapse(){return this.setExpanded(!1)}};function watchItemsChanged(e,t){if(typeof e.connect!=`function`||typeof e.disconnect!=`function`)return()=>{};let n=e.connect(`items-changed`,(...e)=>{let[n,r,i]=e.slice(1);t({position:n??0,removed:r??0,added:i??0})});return()=>void e.disconnect?.(n)}var ComboState=class{constructor(){this._model=null,this._options=[],this._selected=-1,this._unwatch=null,this._listeners=new Set,this._itemListeners=new Set,this._notifyListeners=new Set}subscribe(e){return this._listeners.add(e),()=>{this._listeners.delete(e)}}subscribeNotify(e){return this._notifyListeners.add(e),()=>{this._notifyListeners.delete(e)}}subscribeItems(e){return this._itemListeners.add(e),()=>{this._itemListeners.delete(e)}}_emit(e){let t={selected:this._selected,value:this.selectedValue,label:this.selectedLabel,interactive:e};for(let e of[...this._listeners])e(t)}_notify(e){for(let t of[...this._notifyListeners])t(e)}_emitItems(e){for(let t of[...this._itemListeners])t(e)}_setIndex(e,t){return e===this._selected?!1:(this._selected=e,this._emit(t),this._notify(`selected`),this._notify(`selected-item`),!0)}get model(){return this._model}get options(){return this._options.map(e=>({value:e.value,label:e.label}))}get selectedItem(){return!this._model||this._selected<0?null:this._model.get_item(this._selected)??null}setModel(e){if(e===this._model)return;this._unwatch?.(),this._unwatch=null;let t=this._options;this._model=e,this._options=e?r(e):[],this._selected=this._options.length===0?-1:0,e&&(this._unwatch=watchItemsChanged(e,e=>this._onItemsChanged(e)));let i=n(t,this._options);i&&this._emitItems(i),this._emit(!1),e&&(this._notify(`selected`),this._notify(`selected-item`)),this._notify(`model`)}_onItemsChanged(e){this._options=this._model?r(this._model):[],this._emitItems(e);let t=this._selected,n=this._options.length;if(t===-1){if(n===0)return;this._selected=0,this._emit(!1),this._notify(`selected-item`),this._notify(`selected`);return}if(!(t<e.position)){if(t>=e.position+e.removed){this._selected=t+e.added-e.removed,this._emit(!1),this._notify(`selected`);return}this._selected=n===0?-1:Math.min(e.position,n-1),this._emit(!1),this._notify(`selected-item`),this._selected!==t&&this._notify(`selected`)}}get selectedIndex(){return this._selected}get presentsChooser(){return this._options.length>1}setSelectedIndex(e){return this.hasIndex(e)?this._setIndex(e,!1):!1}get selectedValue(){return this._options[this._selected]?.value??``}get selectedLabel(){return this._options[this._selected]?.label??``}setSelectedValue(e){let t=this._options.findIndex(t=>t.value===e);return t>=0?this.setSelectedIndex(t):!1}hasIndex(e){return Number.isFinite(e)&&e>=0&&e<this._options.length}select(e){return!this.hasIndex(e)||e===this._selected?!1:this._setIndex(e,!0)}get count(){return this._options.length}},ToggleGroupState=class{constructor(){this._labels=[],this._selected=0,this._listeners=new Set}subscribe(e){return this._listeners.add(e),()=>{this._listeners.delete(e)}}_emit(){let e={selected:this._selected,value:this.selectedValue};for(let t of[...this._listeners])t(e)}get labels(){return this._labels}setLabels(e){this._labels=Array.isArray(e)?e:[],this._selected>=this._labels.length&&(this._selected=0)}get selected(){return this._selected}setSelected(e){let t=Number.isFinite(e)?e:0;return t===this._selected||t<0||t>=this._labels.length?!1:(this._selected=t,this._emit(),!0)}get selectedValue(){return this._labels[this._selected]??``}get count(){return this._labels.length}};function keptToggles(e){let t=new Set,n=[];for(let r of e){let e=r.name??null;e!==null&&t.has(e)||(e!==null&&t.add(e),n.push(r))}return n}function toggleIndexOfName(e,t){return e.indexOf(t)}export{t as ADW_COMBO_NO_SELECTION,ComboState,ExpanderState,e as SpinState,ToggleGroupState,keptToggles,r as normalizeComboOptions,toggleIndexOfName};
|
package/lib/esm/split-button.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./_virtual/_rolldown/runtime.js";import{menuItemAt as
|
|
1
|
+
import"./_virtual/_rolldown/runtime.js";import{gtkButtonIconNameReadback as e}from"./glib.js";import{menuItemAt as t,normalizeMenuModel as n}from"./menu.js";const r=`More Options`,i=.5,a={none:`open-menu-symbolic`,down:`pan-down-symbolic`,up:`pan-up-symbolic`,left:`pan-start-symbolic`,right:`pan-end-symbolic`},o={...a,none:`pan-down-symbolic`},s=[`none`,`up`,`down`,`left`,`right`],c=[`child`,`label`,`icon-name`],l={set:Object.freeze([`menu-model`,`popover`]),clear:Object.freeze([`popover`,`menu-model`])};function splitButtonStyleClasses(e,t){let n=[];return t!==null&&t.length>0&&n.push(`image-button`),e!==null&&e.length>0&&n.push(`text-button`),n}function resolveDropdownTooltip(e){return typeof e==`string`&&e.length>0?{text:e,markup:!0}:{text:r,markup:!1}}function menuButtonArrowIcon(e){return a[e]??a.down}function splitButtonArrowIcon(e){return o[e]??o.down}function splitButtonPopupDirection(e){return e===`none`||!s.includes(e)?`down`:e}const u=splitButtonPopupDirection;function isSplitButtonDirection(e){return typeof e==`string`&&s.includes(e)}function splitButtonRootState(e,t){return{active:e.active||t.active||e.keyboardActivating||t.keyboardActivating,checked:e.checked||t.checked}}const menuKey=e=>e===null?``:JSON.stringify(e);function internalContent(e){return Object.freeze({adwInternalContent:e})}function derivedPopover(){return Object.freeze({adwDerivedPopover:!0})}var SplitButtonState=class{constructor(){this._mode=`empty`,this._label=null,this._iconName=null,this._child=null,this._useUnderline=!1,this._menuModel=null,this._popover=null,this._direction=`down`,this._dropdownTooltip=``,this._open=!1,this._listeners=new Set}subscribe(e){return this._listeners.add(e),()=>{this._listeners.delete(e)}}_emit(e,t){let n={mode:this._mode,label:this._label,iconName:this.iconName,child:this._child,styleClasses:this.styleClasses,dropdownEnabled:this.dropdownEnabled,open:this._open,notified:e,interactive:t};for(let e of[...this._listeners])e(n)}_contentNotify(e){let t={child:this._child!==null,label:this._label!==null,"icon-name":this.iconName!==null},n=[e];for(let r of c)r!==e&&t[r]&&n.push(r);return n}get mode(){return this._mode}get label(){return this._label}setLabel(e){if(typeof e!=`string`||e===this._label)return!1;let t=this._contentNotify(`label`);return this._child=this._mode===`label`?this._child:internalContent(`label`),this._mode=`label`,this._label=e,this._iconName=null,this._emit(t,!1),!0}get iconName(){return e(this._iconName)}setIconName(e){if(typeof e!=`string`||e===this.iconName)return!1;let t=this._contentNotify(`icon-name`);return this._child=this._mode===`icon`?this._child:internalContent(`icon`),this._mode=`icon`,this._iconName=e,this._label=null,this._emit(t,!1),!0}get child(){return this._child}setChild(e){let t=e??null;if(t===this._child)return!1;let n=this._contentNotify(`child`);return this._mode=t===null?`empty`:`child`,this._child=t,this._label=null,this._iconName=null,this._emit(n,!1),!0}get styleClasses(){return splitButtonStyleClasses(this._label,this.iconName)}get useUnderline(){return this._useUnderline}setUseUnderline(e){let t=!!e;return t===this._useUnderline?!1:(this._useUnderline=t,this._emit([`use-underline`],!1),!0)}get menuModel(){return this._menuModel}setMenuModel(e){let t=n(e),r=t.length>0?t:null;if(menuKey(r)===menuKey(this._menuModel))return!1;let i=r===null?null:derivedPopover();return this._menuModel=r,this._popover=i,this.dropdownEnabled||(this._open=!1),this._emit(l[r===null?`clear`:`set`],!1),!0}get popover(){return this._popover}setPopover(e){let t=e??null;return t===this._popover?!1:(this._menuModel=null,this._popover=t,this.dropdownEnabled||(this._open=!1),this._emit(l[t===null?`clear`:`set`],!1),!0)}get dropdownEnabled(){return this._menuModel!==null||this._popover!==null}get direction(){return this._direction}setDirection(e){return!isSplitButtonDirection(e)||e===this._direction?!1:(this._direction=e,this._emit([`direction`],!1),!0)}get arrowIcon(){return splitButtonArrowIcon(this._direction)}get dropdownTooltip(){return this._dropdownTooltip}setDropdownTooltip(e){return typeof e!=`string`||e===this._dropdownTooltip?!1:(this._dropdownTooltip=e,this._emit([`dropdown-tooltip`],!1),!0)}get open(){return this._open}_setOpen(e,t){return e&&!this.dropdownEnabled||e===this._open?!1:(this._open=e,this._emit([],t),!0)}openMenu(){return this._setOpen(!0,!1)}closeMenu(){return this._setOpen(!1,!1)}toggleMenu(){return this._setOpen(!this._open,!0)}activateMenuItem(e){if(this._menuModel===null)return null;let n=t(this._menuModel,e);return n===null?null:(this._setOpen(!1,!0),n)}};export{r as DEFAULT_DROPDOWN_TOOLTIP,i as SPLIT_BUTTON_DISABLED_OPACITY,SplitButtonState,isSplitButtonDirection,menuButtonArrowIcon,u as menuButtonPopupDirection,resolveDropdownTooltip,splitButtonArrowIcon,splitButtonPopupDirection,splitButtonRootState,splitButtonStyleClasses};
|