-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy path27009.0858a46a.iframe.bundle.js
More file actions
265 lines (265 loc) · 68.7 KB
/
27009.0858a46a.iframe.bundle.js
File metadata and controls
265 lines (265 loc) · 68.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
"use strict";(globalThis.webpackChunkmetamask_crx=globalThis.webpackChunkmetamask_crx||[]).push([[27009],{"./ui/components/multichain-accounts/multichain-account-list/index.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{k:()=>_multichain_account_list__WEBPACK_IMPORTED_MODULE_0__.k});var _multichain_account_list__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./ui/components/multichain-accounts/multichain-account-list/multichain-account-list.tsx")},"./ui/components/multichain/pages/page/components/footer/index.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{w:()=>Footer});var react=__webpack_require__("./node_modules/react/index.js"),classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames),component_library=__webpack_require__("./ui/components/component-library/index.ts"),design_system=__webpack_require__("./ui/helpers/constants/design-system.ts");function _define_property(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function _object_spread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{},ownKeys=Object.keys(source);"function"==typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable}))),ownKeys.forEach(function(key){_define_property(target,key,source[key])})}return target}function _object_without_properties(source,excluded){if(null==source)return{};var key,i,target=_object_without_properties_loose(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],!(excluded.indexOf(key)>=0)&&Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function _object_without_properties_loose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],excluded.indexOf(key)>=0||(target[key]=source[key]);return target}var Footer=function(_param){var children=_param.children,_param_className=_param.className,props=_object_without_properties(_param,["children","className"]);return react.createElement(component_library.az,_object_spread({padding:4,display:design_system.nl.Flex,width:design_system.Zf.Full,gap:4,className:classnames_default()("multichain-page-footer",void 0===_param_className?"":_param_className)},props),children)};try{Footer.displayName="Footer",Footer.__docgenInfo={description:"",displayName:"Footer",props:{children:{defaultValue:null,description:"Elements that go in the page footer",name:"children",required:!0,type:{name:"ReactNode | ReactNode[]"}},className:{defaultValue:{value:""},description:"Additional CSS class provided to the footer",name:"className",required:!1,type:{name:"string"}},flexDirection:{defaultValue:null,description:`The flex direction of the component.
Use the FlexDirection enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"flexDirection",required:!1,type:{name:"FlexDirection | FlexDirectionArray"}},flexWrap:{defaultValue:null,description:`The flex wrap of the component.
Use the FlexWrap enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"flexWrap",required:!1,type:{name:"FlexWrap | FlexWrapArray"}},gap:{defaultValue:null,description:`The gap between the component's children.
Use 1-12 for a gap of 4px-48px.
Accepts responsive props in the form of an array.`,name:"gap",required:!1,type:{name:"SizeNumber | SizeNumberArray"}},margin:{defaultValue:null,description:`The margin of the component.
Use 1-12 for 4px-48px or 'auto'.
Accepts responsive props in the form of an array.`,name:"margin",required:!1,type:{name:"SizeNumberAndAuto | SizeNumberAndAutoArray"}},marginTop:{defaultValue:null,description:`The margin-top of the component.
Use 1-12 for 4px-48px or 'auto'.
Accepts responsive props in the form of an array.`,name:"marginTop",required:!1,type:{name:"SizeNumberAndAuto | SizeNumberAndAutoArray"}},marginBottom:{defaultValue:null,description:`The margin-bottom of the component.
Use 1-12 for 4px-48px or 'auto'.
Accepts responsive props in the form of an array.`,name:"marginBottom",required:!1,type:{name:"SizeNumberAndAuto | SizeNumberAndAutoArray"}},marginRight:{defaultValue:null,description:`The margin-right of the component.
Use 1-12 for 4px-48px or 'auto'.
Accepts responsive props in the form of an array.`,name:"marginRight",required:!1,type:{name:"SizeNumberAndAuto | SizeNumberAndAutoArray"}},marginLeft:{defaultValue:null,description:`The margin-left of the component.
Use 1-12 for 4px-48px or 'auto'.
Accepts responsive props in the form of an array.`,name:"marginLeft",required:!1,type:{name:"SizeNumberAndAuto | SizeNumberAndAutoArray"}},marginInline:{defaultValue:null,description:`The margin-inline of the component.
Use 1-12 for 4px-48px or 'auto'.
Accepts responsive props in the form of an array.`,name:"marginInline",required:!1,type:{name:"SizeNumberAndAuto | SizeNumberAndAutoArray"}},marginInlineStart:{defaultValue:null,description:`The margin-inline-start of the component.
Use 1-12 for 4px-48px or 'auto'.
Accepts responsive props in the form of an array.`,name:"marginInlineStart",required:!1,type:{name:"SizeNumberAndAuto | SizeNumberAndAutoArray"}},marginInlineEnd:{defaultValue:null,description:`The margin-inline-end of the component.
Use 1-12 for 4px-48px or 'auto'.
Accepts responsive props in the form of an array.`,name:"marginInlineEnd",required:!1,type:{name:"SizeNumberAndAuto | SizeNumberAndAutoArray"}},padding:{defaultValue:null,description:`The padding of the component.
Use 1-12 for 4px-48px.
Accepts responsive props in the form of an array.`,name:"padding",required:!1,type:{name:"SizeNumber | SizeNumberArray"}},paddingTop:{defaultValue:null,description:`The padding-top of the component.
Use 1-12 for 4px-48px.
Accepts responsive props in the form of an array.`,name:"paddingTop",required:!1,type:{name:"SizeNumber | SizeNumberArray"}},paddingBottom:{defaultValue:null,description:`The padding-bottom of the component.
Use 1-12 for 4px-48px.
Accepts responsive props in the form of an array.`,name:"paddingBottom",required:!1,type:{name:"SizeNumber | SizeNumberArray"}},paddingRight:{defaultValue:null,description:`The padding-right of the component.
Use 1-12 for 4px-48px.
Accepts responsive props in the form of an array.`,name:"paddingRight",required:!1,type:{name:"SizeNumber | SizeNumberArray"}},paddingLeft:{defaultValue:null,description:`The padding-left of the component.
Use 1-12 for 4px-48px.
Accepts responsive props in the form of an array.`,name:"paddingLeft",required:!1,type:{name:"SizeNumber | SizeNumberArray"}},paddingInline:{defaultValue:null,description:`The padding-inline of the component.
Use 1-12 for 4px-48px.
Accepts responsive props in the form of an array.`,name:"paddingInline",required:!1,type:{name:"SizeNumber | SizeNumberArray"}},paddingInlineStart:{defaultValue:null,description:`The padding-inline-start of the component.
Use 1-12 for 4px-48px.
Accepts responsive props in the form of an array.`,name:"paddingInlineStart",required:!1,type:{name:"SizeNumber | SizeNumberArray"}},paddingInlineEnd:{defaultValue:null,description:`The padding-inline-end of the component.
Use 1-12 for 4px-48px.
Accepts responsive props in the form of an array.`,name:"paddingInlineEnd",required:!1,type:{name:"SizeNumber | SizeNumberArray"}},borderColor:{defaultValue:null,description:`The border-color of the component.
Use BorderColor enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"borderColor",required:!1,type:{name:"BorderColor | BorderColorArray"}},borderWidth:{defaultValue:null,description:`The border-width of the component.
Use 1-12 for 1px-12px.
Accepts responsive props in the form of an array.`,name:"borderWidth",required:!1,type:{name:"SizeNumber | SizeNumberArray"}},borderRadius:{defaultValue:null,description:`The border-radius of the component.
Use BorderRadius enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"borderRadius",required:!1,type:{name:"BorderRadius | BorderRadiusArray"}},borderStyle:{defaultValue:null,description:`The border-style of the component.
Use BorderStyle enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"borderStyle",required:!1,type:{name:"BorderStyle | BorderStyleArray"}},alignItems:{defaultValue:null,description:`The align-items of the component.
Use AlignItems enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"alignItems",required:!1,type:{name:"AlignItems | AlignItemsArray"}},justifyContent:{defaultValue:null,description:`The justify-content of the component.
Use JustifyContent enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"justifyContent",required:!1,type:{name:"JustifyContent | JustifyContentArray"}},textAlign:{defaultValue:null,description:`The text-align of the component.
Use TextAlign enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"textAlign",required:!1,type:{name:"TextAlign | TextAlignArray"}},display:{defaultValue:null,description:`The display of the component.
Use Display enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"display",required:!1,type:{name:"Display | DisplayArray"}},width:{defaultValue:null,description:`The width of the component.
Use BlockSize enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"width",required:!1,type:{name:"BlockSize | BlockSizeArray"}},minWidth:{defaultValue:null,description:`The min-width of the component.
Use BlockSize enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"minWidth",required:!1,type:{name:"BlockSize | BlockSizeArray"}},height:{defaultValue:null,description:`The height of the component.
Use BlockSize enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"height",required:!1,type:{name:"BlockSize | BlockSizeArray"}},backgroundColor:{defaultValue:null,description:`The background-color of the component.
Use BackgroundColor enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"backgroundColor",required:!1,type:{name:"BackgroundColor | BackgroundColorArray"}},color:{defaultValue:null,description:`The text-color of the component.
Use TextColor enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"color",required:!1,type:{name:"TextColor | TextColorArray | IconColor | IconColorArray"}},"data-testid":{defaultValue:null,description:`An optional data-testid to apply to the component.
TypeScript is complaining about data- attributes which means we need to explicitly define this as a prop.
TODO: Allow data- attributes.`,name:"data-testid",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["ui/components/multichain/pages/page/components/footer/footer.tsx#Footer"]={docgenInfo:Footer.__docgenInfo,name:"Footer",path:"ui/components/multichain/pages/page/components/footer/footer.tsx#Footer"})}catch(__react_docgen_typescript_loader_error){}},"./ui/components/multichain/pages/page/components/header/index.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Y:()=>Header});var react=__webpack_require__("./node_modules/react/index.js"),classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames),component_library=__webpack_require__("./ui/components/component-library/index.ts"),design_system=__webpack_require__("./ui/helpers/constants/design-system.ts");function _define_property(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function _object_spread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{},ownKeys=Object.keys(source);"function"==typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable}))),ownKeys.forEach(function(key){_define_property(target,key,source[key])})}return target}function _object_without_properties(source,excluded){if(null==source)return{};var key,i,target=_object_without_properties_loose(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],!(excluded.indexOf(key)>=0)&&Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function _object_without_properties_loose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],excluded.indexOf(key)>=0||(target[key]=source[key]);return target}var Header=function(_param){var children=_param.children,_param_endAccessory=_param.endAccessory,_param_startAccessory=_param.startAccessory,_param_className=_param.className,textProps=_param.textProps,props=_object_without_properties(_param,["children","endAccessory","startAccessory","className","textProps"]);return react.createElement(component_library.H1,_object_spread({padding:4,width:design_system.Zf.Full,justifyContent:design_system.A9.center,className:classnames_default()("multichain-page-header",void 0===_param_className?"":_param_className),startAccessory:void 0===_param_startAccessory?null:_param_startAccessory,endAccessory:void 0===_param_endAccessory?null:_param_endAccessory},props),react.createElement(component_library.EY,_object_spread({display:design_system.nl.Block,variant:design_system.J3.bodyMdBold,textAlign:design_system.nO.Center,paddingInlineStart:8,paddingInlineEnd:8,ellipsis:!0},textProps),children))};try{Header.displayName="Header",Header.__docgenInfo={description:"",displayName:"Header",props:{children:{defaultValue:null,description:"Elements that go in the page footer",name:"children",required:!1,type:{name:"ReactNode | ReactNode[]"}},endAccessory:{defaultValue:{value:"null"},description:"Elements that go in the header end accessory",name:"endAccessory",required:!1,type:{name:"ReactNode | ReactNode[]"}},startAccessory:{defaultValue:{value:"null"},description:"Elements that go in the header start accessory",name:"startAccessory",required:!1,type:{name:"ReactNode | ReactNode[]"}},className:{defaultValue:{value:""},description:"Additional CSS class provided to the footer",name:"className",required:!1,type:{name:"string"}},textProps:{defaultValue:null,description:"Additional props to pass to the text",name:"textProps",required:!1,type:{name:'(TextStyleUtilityProps & AsProp<ElementType<any>> & { children?: ReactNode; } & Omit<Omit<any, "ref">, "as" | keyof TextStyleUtilityProps> & { ...; })'}},flexDirection:{defaultValue:null,description:`The flex direction of the component.
Use the FlexDirection enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"flexDirection",required:!1,type:{name:"FlexDirection | FlexDirectionArray"}},flexWrap:{defaultValue:null,description:`The flex wrap of the component.
Use the FlexWrap enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"flexWrap",required:!1,type:{name:"FlexWrap | FlexWrapArray"}},gap:{defaultValue:null,description:`The gap between the component's children.
Use 1-12 for a gap of 4px-48px.
Accepts responsive props in the form of an array.`,name:"gap",required:!1,type:{name:"SizeNumber | SizeNumberArray"}},margin:{defaultValue:null,description:`The margin of the component.
Use 1-12 for 4px-48px or 'auto'.
Accepts responsive props in the form of an array.`,name:"margin",required:!1,type:{name:"SizeNumberAndAuto | SizeNumberAndAutoArray"}},marginTop:{defaultValue:null,description:`The margin-top of the component.
Use 1-12 for 4px-48px or 'auto'.
Accepts responsive props in the form of an array.`,name:"marginTop",required:!1,type:{name:"SizeNumberAndAuto | SizeNumberAndAutoArray"}},marginBottom:{defaultValue:null,description:`The margin-bottom of the component.
Use 1-12 for 4px-48px or 'auto'.
Accepts responsive props in the form of an array.`,name:"marginBottom",required:!1,type:{name:"SizeNumberAndAuto | SizeNumberAndAutoArray"}},marginRight:{defaultValue:null,description:`The margin-right of the component.
Use 1-12 for 4px-48px or 'auto'.
Accepts responsive props in the form of an array.`,name:"marginRight",required:!1,type:{name:"SizeNumberAndAuto | SizeNumberAndAutoArray"}},marginLeft:{defaultValue:null,description:`The margin-left of the component.
Use 1-12 for 4px-48px or 'auto'.
Accepts responsive props in the form of an array.`,name:"marginLeft",required:!1,type:{name:"SizeNumberAndAuto | SizeNumberAndAutoArray"}},marginInline:{defaultValue:null,description:`The margin-inline of the component.
Use 1-12 for 4px-48px or 'auto'.
Accepts responsive props in the form of an array.`,name:"marginInline",required:!1,type:{name:"SizeNumberAndAuto | SizeNumberAndAutoArray"}},marginInlineStart:{defaultValue:null,description:`The margin-inline-start of the component.
Use 1-12 for 4px-48px or 'auto'.
Accepts responsive props in the form of an array.`,name:"marginInlineStart",required:!1,type:{name:"SizeNumberAndAuto | SizeNumberAndAutoArray"}},marginInlineEnd:{defaultValue:null,description:`The margin-inline-end of the component.
Use 1-12 for 4px-48px or 'auto'.
Accepts responsive props in the form of an array.`,name:"marginInlineEnd",required:!1,type:{name:"SizeNumberAndAuto | SizeNumberAndAutoArray"}},padding:{defaultValue:null,description:`The padding of the component.
Use 1-12 for 4px-48px.
Accepts responsive props in the form of an array.`,name:"padding",required:!1,type:{name:"SizeNumber | SizeNumberArray"}},paddingTop:{defaultValue:null,description:`The padding-top of the component.
Use 1-12 for 4px-48px.
Accepts responsive props in the form of an array.`,name:"paddingTop",required:!1,type:{name:"SizeNumber | SizeNumberArray"}},paddingBottom:{defaultValue:null,description:`The padding-bottom of the component.
Use 1-12 for 4px-48px.
Accepts responsive props in the form of an array.`,name:"paddingBottom",required:!1,type:{name:"SizeNumber | SizeNumberArray"}},paddingRight:{defaultValue:null,description:`The padding-right of the component.
Use 1-12 for 4px-48px.
Accepts responsive props in the form of an array.`,name:"paddingRight",required:!1,type:{name:"SizeNumber | SizeNumberArray"}},paddingLeft:{defaultValue:null,description:`The padding-left of the component.
Use 1-12 for 4px-48px.
Accepts responsive props in the form of an array.`,name:"paddingLeft",required:!1,type:{name:"SizeNumber | SizeNumberArray"}},paddingInline:{defaultValue:null,description:`The padding-inline of the component.
Use 1-12 for 4px-48px.
Accepts responsive props in the form of an array.`,name:"paddingInline",required:!1,type:{name:"SizeNumber | SizeNumberArray"}},paddingInlineStart:{defaultValue:null,description:`The padding-inline-start of the component.
Use 1-12 for 4px-48px.
Accepts responsive props in the form of an array.`,name:"paddingInlineStart",required:!1,type:{name:"SizeNumber | SizeNumberArray"}},paddingInlineEnd:{defaultValue:null,description:`The padding-inline-end of the component.
Use 1-12 for 4px-48px.
Accepts responsive props in the form of an array.`,name:"paddingInlineEnd",required:!1,type:{name:"SizeNumber | SizeNumberArray"}},borderColor:{defaultValue:null,description:`The border-color of the component.
Use BorderColor enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"borderColor",required:!1,type:{name:"BorderColor | BorderColorArray"}},borderWidth:{defaultValue:null,description:`The border-width of the component.
Use 1-12 for 1px-12px.
Accepts responsive props in the form of an array.`,name:"borderWidth",required:!1,type:{name:"SizeNumber | SizeNumberArray"}},borderRadius:{defaultValue:null,description:`The border-radius of the component.
Use BorderRadius enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"borderRadius",required:!1,type:{name:"BorderRadius | BorderRadiusArray"}},borderStyle:{defaultValue:null,description:`The border-style of the component.
Use BorderStyle enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"borderStyle",required:!1,type:{name:"BorderStyle | BorderStyleArray"}},alignItems:{defaultValue:null,description:`The align-items of the component.
Use AlignItems enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"alignItems",required:!1,type:{name:"AlignItems | AlignItemsArray"}},justifyContent:{defaultValue:null,description:`The justify-content of the component.
Use JustifyContent enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"justifyContent",required:!1,type:{name:"JustifyContent | JustifyContentArray"}},textAlign:{defaultValue:null,description:`The text-align of the component.
Use TextAlign enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"textAlign",required:!1,type:{name:"TextAlign | TextAlignArray"}},display:{defaultValue:null,description:`The display of the component.
Use Display enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"display",required:!1,type:{name:"Display | DisplayArray"}},width:{defaultValue:null,description:`The width of the component.
Use BlockSize enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"width",required:!1,type:{name:"BlockSize | BlockSizeArray"}},minWidth:{defaultValue:null,description:`The min-width of the component.
Use BlockSize enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"minWidth",required:!1,type:{name:"BlockSize | BlockSizeArray"}},height:{defaultValue:null,description:`The height of the component.
Use BlockSize enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"height",required:!1,type:{name:"BlockSize | BlockSizeArray"}},backgroundColor:{defaultValue:null,description:`The background-color of the component.
Use BackgroundColor enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"backgroundColor",required:!1,type:{name:"BackgroundColor | BackgroundColorArray"}},color:{defaultValue:null,description:`The text-color of the component.
Use TextColor enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"color",required:!1,type:{name:"TextColor | TextColorArray | IconColor | IconColorArray"}},"data-testid":{defaultValue:null,description:`An optional data-testid to apply to the component.
TypeScript is complaining about data- attributes which means we need to explicitly define this as a prop.
TODO: Allow data- attributes.`,name:"data-testid",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["ui/components/multichain/pages/page/components/header/header.tsx#Header"]={docgenInfo:Header.__docgenInfo,name:"Header",path:"ui/components/multichain/pages/page/components/header/header.tsx#Header"})}catch(__react_docgen_typescript_loader_error){}},"./ui/components/multichain/pages/page/index.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{UC:()=>Content,wi:()=>footer.w,Y9:()=>header.Y,YW:()=>Page});var react=__webpack_require__("./node_modules/react/index.js"),prop_types=__webpack_require__("./node_modules/prop-types/index.js"),prop_types_default=__webpack_require__.n(prop_types),classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames),react_router=__webpack_require__("./node_modules/react-router-dom/node_modules/react-router/esm/react-router.js"),component_library=__webpack_require__("./ui/components/component-library/index.ts"),design_system=__webpack_require__("./ui/helpers/constants/design-system.ts"),utils=__webpack_require__("./ui/pages/routes/utils.js");function _define_property(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function _object_spread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{},ownKeys=Object.keys(source);"function"==typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable}))),ownKeys.forEach(function(key){_define_property(target,key,source[key])})}return target}function _object_without_properties(source,excluded){if(null==source)return{};var key,i,target=_object_without_properties_loose(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],!(excluded.indexOf(key)>=0)&&Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function _object_without_properties_loose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],excluded.indexOf(key)>=0||(target[key]=source[key]);return target}var Page=function(_param){var children=_param.children,_param_className=_param.className,props=_object_without_properties(_param,["children","className"]),location=(0,react_router.zy)(),hasAppHeader=null==location||!location.pathname||!(0,utils.Nk)({location:location}),classNames=classnames_default()("multichain-page",{"multichain-page--has-app-header":hasAppHeader});return react.createElement(component_library.az,{width:design_system.Zf.Full,height:design_system.Zf.Full,display:design_system.nl.Flex,flexDirection:design_system.bo.Row,justifyContent:design_system.A9.center,backgroundColor:design_system.i0.backgroundDefault,className:classNames,"data-testid":"multichain-page"},react.createElement(component_library.az,_object_spread({width:design_system.Zf.Full,height:design_system.Zf.Full,display:design_system.nl.Flex,flexDirection:design_system.bo.Column,backgroundColor:design_system.i0.backgroundDefault,className:classnames_default()("multichain-page__inner-container",void 0===_param_className?"":_param_className)},props),children))};Page.propTypes={className:prop_types_default().string,children:prop_types_default().node};try{Page.displayName="Page",Page.__docgenInfo={description:"",displayName:"Page",props:{children:{defaultValue:null,description:"Elements that go in the page footer",name:"children",required:!0,type:{name:"ReactNode | ReactNode[]"}},className:{defaultValue:{value:""},description:"Additional CSS class provided to the footer",name:"className",required:!1,type:{name:"string"}},flexDirection:{defaultValue:null,description:`The flex direction of the component.
Use the FlexDirection enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"flexDirection",required:!1,type:{name:"FlexDirection | FlexDirectionArray"}},flexWrap:{defaultValue:null,description:`The flex wrap of the component.
Use the FlexWrap enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"flexWrap",required:!1,type:{name:"FlexWrap | FlexWrapArray"}},gap:{defaultValue:null,description:`The gap between the component's children.
Use 1-12 for a gap of 4px-48px.
Accepts responsive props in the form of an array.`,name:"gap",required:!1,type:{name:"SizeNumber | SizeNumberArray"}},margin:{defaultValue:null,description:`The margin of the component.
Use 1-12 for 4px-48px or 'auto'.
Accepts responsive props in the form of an array.`,name:"margin",required:!1,type:{name:"SizeNumberAndAuto | SizeNumberAndAutoArray"}},marginTop:{defaultValue:null,description:`The margin-top of the component.
Use 1-12 for 4px-48px or 'auto'.
Accepts responsive props in the form of an array.`,name:"marginTop",required:!1,type:{name:"SizeNumberAndAuto | SizeNumberAndAutoArray"}},marginBottom:{defaultValue:null,description:`The margin-bottom of the component.
Use 1-12 for 4px-48px or 'auto'.
Accepts responsive props in the form of an array.`,name:"marginBottom",required:!1,type:{name:"SizeNumberAndAuto | SizeNumberAndAutoArray"}},marginRight:{defaultValue:null,description:`The margin-right of the component.
Use 1-12 for 4px-48px or 'auto'.
Accepts responsive props in the form of an array.`,name:"marginRight",required:!1,type:{name:"SizeNumberAndAuto | SizeNumberAndAutoArray"}},marginLeft:{defaultValue:null,description:`The margin-left of the component.
Use 1-12 for 4px-48px or 'auto'.
Accepts responsive props in the form of an array.`,name:"marginLeft",required:!1,type:{name:"SizeNumberAndAuto | SizeNumberAndAutoArray"}},marginInline:{defaultValue:null,description:`The margin-inline of the component.
Use 1-12 for 4px-48px or 'auto'.
Accepts responsive props in the form of an array.`,name:"marginInline",required:!1,type:{name:"SizeNumberAndAuto | SizeNumberAndAutoArray"}},marginInlineStart:{defaultValue:null,description:`The margin-inline-start of the component.
Use 1-12 for 4px-48px or 'auto'.
Accepts responsive props in the form of an array.`,name:"marginInlineStart",required:!1,type:{name:"SizeNumberAndAuto | SizeNumberAndAutoArray"}},marginInlineEnd:{defaultValue:null,description:`The margin-inline-end of the component.
Use 1-12 for 4px-48px or 'auto'.
Accepts responsive props in the form of an array.`,name:"marginInlineEnd",required:!1,type:{name:"SizeNumberAndAuto | SizeNumberAndAutoArray"}},padding:{defaultValue:null,description:`The padding of the component.
Use 1-12 for 4px-48px.
Accepts responsive props in the form of an array.`,name:"padding",required:!1,type:{name:"SizeNumber | SizeNumberArray"}},paddingTop:{defaultValue:null,description:`The padding-top of the component.
Use 1-12 for 4px-48px.
Accepts responsive props in the form of an array.`,name:"paddingTop",required:!1,type:{name:"SizeNumber | SizeNumberArray"}},paddingBottom:{defaultValue:null,description:`The padding-bottom of the component.
Use 1-12 for 4px-48px.
Accepts responsive props in the form of an array.`,name:"paddingBottom",required:!1,type:{name:"SizeNumber | SizeNumberArray"}},paddingRight:{defaultValue:null,description:`The padding-right of the component.
Use 1-12 for 4px-48px.
Accepts responsive props in the form of an array.`,name:"paddingRight",required:!1,type:{name:"SizeNumber | SizeNumberArray"}},paddingLeft:{defaultValue:null,description:`The padding-left of the component.
Use 1-12 for 4px-48px.
Accepts responsive props in the form of an array.`,name:"paddingLeft",required:!1,type:{name:"SizeNumber | SizeNumberArray"}},paddingInline:{defaultValue:null,description:`The padding-inline of the component.
Use 1-12 for 4px-48px.
Accepts responsive props in the form of an array.`,name:"paddingInline",required:!1,type:{name:"SizeNumber | SizeNumberArray"}},paddingInlineStart:{defaultValue:null,description:`The padding-inline-start of the component.
Use 1-12 for 4px-48px.
Accepts responsive props in the form of an array.`,name:"paddingInlineStart",required:!1,type:{name:"SizeNumber | SizeNumberArray"}},paddingInlineEnd:{defaultValue:null,description:`The padding-inline-end of the component.
Use 1-12 for 4px-48px.
Accepts responsive props in the form of an array.`,name:"paddingInlineEnd",required:!1,type:{name:"SizeNumber | SizeNumberArray"}},borderColor:{defaultValue:null,description:`The border-color of the component.
Use BorderColor enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"borderColor",required:!1,type:{name:"BorderColor | BorderColorArray"}},borderWidth:{defaultValue:null,description:`The border-width of the component.
Use 1-12 for 1px-12px.
Accepts responsive props in the form of an array.`,name:"borderWidth",required:!1,type:{name:"SizeNumber | SizeNumberArray"}},borderRadius:{defaultValue:null,description:`The border-radius of the component.
Use BorderRadius enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"borderRadius",required:!1,type:{name:"BorderRadius | BorderRadiusArray"}},borderStyle:{defaultValue:null,description:`The border-style of the component.
Use BorderStyle enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"borderStyle",required:!1,type:{name:"BorderStyle | BorderStyleArray"}},alignItems:{defaultValue:null,description:`The align-items of the component.
Use AlignItems enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"alignItems",required:!1,type:{name:"AlignItems | AlignItemsArray"}},justifyContent:{defaultValue:null,description:`The justify-content of the component.
Use JustifyContent enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"justifyContent",required:!1,type:{name:"JustifyContent | JustifyContentArray"}},textAlign:{defaultValue:null,description:`The text-align of the component.
Use TextAlign enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"textAlign",required:!1,type:{name:"TextAlign | TextAlignArray"}},display:{defaultValue:null,description:`The display of the component.
Use Display enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"display",required:!1,type:{name:"Display | DisplayArray"}},width:{defaultValue:null,description:`The width of the component.
Use BlockSize enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"width",required:!1,type:{name:"BlockSize | BlockSizeArray"}},minWidth:{defaultValue:null,description:`The min-width of the component.
Use BlockSize enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"minWidth",required:!1,type:{name:"BlockSize | BlockSizeArray"}},height:{defaultValue:null,description:`The height of the component.
Use BlockSize enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"height",required:!1,type:{name:"BlockSize | BlockSizeArray"}},backgroundColor:{defaultValue:null,description:`The background-color of the component.
Use BackgroundColor enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"backgroundColor",required:!1,type:{name:"BackgroundColor | BackgroundColorArray"}},color:{defaultValue:null,description:`The text-color of the component.
Use TextColor enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"color",required:!1,type:{name:"TextColor | TextColorArray | IconColor | IconColorArray"}},"data-testid":{defaultValue:null,description:`An optional data-testid to apply to the component.
TypeScript is complaining about data- attributes which means we need to explicitly define this as a prop.
TODO: Allow data- attributes.`,name:"data-testid",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["ui/components/multichain/pages/page/page.tsx#Page"]={docgenInfo:Page.__docgenInfo,name:"Page",path:"ui/components/multichain/pages/page/page.tsx#Page"})}catch(__react_docgen_typescript_loader_error){}var header=__webpack_require__("./ui/components/multichain/pages/page/components/header/index.ts");function content_define_property(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function content_object_spread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{},ownKeys=Object.keys(source);"function"==typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable}))),ownKeys.forEach(function(key){content_define_property(target,key,source[key])})}return target}function content_object_without_properties(source,excluded){if(null==source)return{};var key,i,target=content_object_without_properties_loose(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],!(excluded.indexOf(key)>=0)&&Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function content_object_without_properties_loose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],excluded.indexOf(key)>=0||(target[key]=source[key]);return target}var Content=function(_param){var children=_param.children,_param_className=_param.className,props=content_object_without_properties(_param,["children","className"]);return react.createElement(component_library.az,content_object_spread({display:design_system.nl.Flex,flexDirection:design_system.bo.Column,width:design_system.Zf.Full,padding:4,height:design_system.Zf.Full,className:classnames_default()("multichain-page-content",void 0===_param_className?"":_param_className)},props),children)};try{Content.displayName="Content",Content.__docgenInfo={description:"",displayName:"Content",props:{children:{defaultValue:null,description:"Elements that go in the page content section",name:"children",required:!0,type:{name:"ReactNode | ReactNode[]"}},className:{defaultValue:{value:""},description:"Additional CSS class provided to the content",name:"className",required:!1,type:{name:"string"}},flexDirection:{defaultValue:null,description:`The flex direction of the component.
Use the FlexDirection enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"flexDirection",required:!1,type:{name:"FlexDirection | FlexDirectionArray"}},flexWrap:{defaultValue:null,description:`The flex wrap of the component.
Use the FlexWrap enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"flexWrap",required:!1,type:{name:"FlexWrap | FlexWrapArray"}},gap:{defaultValue:null,description:`The gap between the component's children.
Use 1-12 for a gap of 4px-48px.
Accepts responsive props in the form of an array.`,name:"gap",required:!1,type:{name:"SizeNumber | SizeNumberArray"}},margin:{defaultValue:null,description:`The margin of the component.
Use 1-12 for 4px-48px or 'auto'.
Accepts responsive props in the form of an array.`,name:"margin",required:!1,type:{name:"SizeNumberAndAuto | SizeNumberAndAutoArray"}},marginTop:{defaultValue:null,description:`The margin-top of the component.
Use 1-12 for 4px-48px or 'auto'.
Accepts responsive props in the form of an array.`,name:"marginTop",required:!1,type:{name:"SizeNumberAndAuto | SizeNumberAndAutoArray"}},marginBottom:{defaultValue:null,description:`The margin-bottom of the component.
Use 1-12 for 4px-48px or 'auto'.
Accepts responsive props in the form of an array.`,name:"marginBottom",required:!1,type:{name:"SizeNumberAndAuto | SizeNumberAndAutoArray"}},marginRight:{defaultValue:null,description:`The margin-right of the component.
Use 1-12 for 4px-48px or 'auto'.
Accepts responsive props in the form of an array.`,name:"marginRight",required:!1,type:{name:"SizeNumberAndAuto | SizeNumberAndAutoArray"}},marginLeft:{defaultValue:null,description:`The margin-left of the component.
Use 1-12 for 4px-48px or 'auto'.
Accepts responsive props in the form of an array.`,name:"marginLeft",required:!1,type:{name:"SizeNumberAndAuto | SizeNumberAndAutoArray"}},marginInline:{defaultValue:null,description:`The margin-inline of the component.
Use 1-12 for 4px-48px or 'auto'.
Accepts responsive props in the form of an array.`,name:"marginInline",required:!1,type:{name:"SizeNumberAndAuto | SizeNumberAndAutoArray"}},marginInlineStart:{defaultValue:null,description:`The margin-inline-start of the component.
Use 1-12 for 4px-48px or 'auto'.
Accepts responsive props in the form of an array.`,name:"marginInlineStart",required:!1,type:{name:"SizeNumberAndAuto | SizeNumberAndAutoArray"}},marginInlineEnd:{defaultValue:null,description:`The margin-inline-end of the component.
Use 1-12 for 4px-48px or 'auto'.
Accepts responsive props in the form of an array.`,name:"marginInlineEnd",required:!1,type:{name:"SizeNumberAndAuto | SizeNumberAndAutoArray"}},padding:{defaultValue:null,description:`The padding of the component.
Use 1-12 for 4px-48px.
Accepts responsive props in the form of an array.`,name:"padding",required:!1,type:{name:"SizeNumber | SizeNumberArray"}},paddingTop:{defaultValue:null,description:`The padding-top of the component.
Use 1-12 for 4px-48px.
Accepts responsive props in the form of an array.`,name:"paddingTop",required:!1,type:{name:"SizeNumber | SizeNumberArray"}},paddingBottom:{defaultValue:null,description:`The padding-bottom of the component.
Use 1-12 for 4px-48px.
Accepts responsive props in the form of an array.`,name:"paddingBottom",required:!1,type:{name:"SizeNumber | SizeNumberArray"}},paddingRight:{defaultValue:null,description:`The padding-right of the component.
Use 1-12 for 4px-48px.
Accepts responsive props in the form of an array.`,name:"paddingRight",required:!1,type:{name:"SizeNumber | SizeNumberArray"}},paddingLeft:{defaultValue:null,description:`The padding-left of the component.
Use 1-12 for 4px-48px.
Accepts responsive props in the form of an array.`,name:"paddingLeft",required:!1,type:{name:"SizeNumber | SizeNumberArray"}},paddingInline:{defaultValue:null,description:`The padding-inline of the component.
Use 1-12 for 4px-48px.
Accepts responsive props in the form of an array.`,name:"paddingInline",required:!1,type:{name:"SizeNumber | SizeNumberArray"}},paddingInlineStart:{defaultValue:null,description:`The padding-inline-start of the component.
Use 1-12 for 4px-48px.
Accepts responsive props in the form of an array.`,name:"paddingInlineStart",required:!1,type:{name:"SizeNumber | SizeNumberArray"}},paddingInlineEnd:{defaultValue:null,description:`The padding-inline-end of the component.
Use 1-12 for 4px-48px.
Accepts responsive props in the form of an array.`,name:"paddingInlineEnd",required:!1,type:{name:"SizeNumber | SizeNumberArray"}},borderColor:{defaultValue:null,description:`The border-color of the component.
Use BorderColor enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"borderColor",required:!1,type:{name:"BorderColor | BorderColorArray"}},borderWidth:{defaultValue:null,description:`The border-width of the component.
Use 1-12 for 1px-12px.
Accepts responsive props in the form of an array.`,name:"borderWidth",required:!1,type:{name:"SizeNumber | SizeNumberArray"}},borderRadius:{defaultValue:null,description:`The border-radius of the component.
Use BorderRadius enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"borderRadius",required:!1,type:{name:"BorderRadius | BorderRadiusArray"}},borderStyle:{defaultValue:null,description:`The border-style of the component.
Use BorderStyle enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"borderStyle",required:!1,type:{name:"BorderStyle | BorderStyleArray"}},alignItems:{defaultValue:null,description:`The align-items of the component.
Use AlignItems enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"alignItems",required:!1,type:{name:"AlignItems | AlignItemsArray"}},justifyContent:{defaultValue:null,description:`The justify-content of the component.
Use JustifyContent enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"justifyContent",required:!1,type:{name:"JustifyContent | JustifyContentArray"}},textAlign:{defaultValue:null,description:`The text-align of the component.
Use TextAlign enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"textAlign",required:!1,type:{name:"TextAlign | TextAlignArray"}},display:{defaultValue:null,description:`The display of the component.
Use Display enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"display",required:!1,type:{name:"Display | DisplayArray"}},width:{defaultValue:null,description:`The width of the component.
Use BlockSize enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"width",required:!1,type:{name:"BlockSize | BlockSizeArray"}},minWidth:{defaultValue:null,description:`The min-width of the component.
Use BlockSize enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"minWidth",required:!1,type:{name:"BlockSize | BlockSizeArray"}},height:{defaultValue:null,description:`The height of the component.
Use BlockSize enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"height",required:!1,type:{name:"BlockSize | BlockSizeArray"}},backgroundColor:{defaultValue:null,description:`The background-color of the component.
Use BackgroundColor enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"backgroundColor",required:!1,type:{name:"BackgroundColor | BackgroundColorArray"}},color:{defaultValue:null,description:`The text-color of the component.
Use TextColor enum from '../../../helpers/constants/design-system';
Accepts responsive props in the form of an array.`,name:"color",required:!1,type:{name:"TextColor | TextColorArray | IconColor | IconColorArray"}},"data-testid":{defaultValue:null,description:`An optional data-testid to apply to the component.
TypeScript is complaining about data- attributes which means we need to explicitly define this as a prop.
TODO: Allow data- attributes.`,name:"data-testid",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["ui/components/multichain/pages/page/components/content/content.tsx#Content"]={docgenInfo:Content.__docgenInfo,name:"Content",path:"ui/components/multichain/pages/page/components/content/content.tsx#Content"})}catch(__react_docgen_typescript_loader_error){}var footer=__webpack_require__("./ui/components/multichain/pages/page/components/footer/index.ts")},"./ui/pages/routes/utils.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Nk:()=>hideAppHeader});var react_router_dom__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/react-router-dom/node_modules/react-router/esm/react-router.js"),_app_scripts_lib_util__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./app/scripts/lib/util.ts"),_shared_constants_app__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./shared/constants/app.ts");__webpack_require__("./shared/constants/network.ts"),__webpack_require__("./shared/constants/preferences.ts");var _helpers_constants_routes__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./ui/helpers/constants/routes.ts");function isConfirmTransactionRoute(pathname){return!!(0,react_router_dom__WEBPACK_IMPORTED_MODULE_5__.B6)(pathname,{path:_helpers_constants_routes__WEBPACK_IMPORTED_MODULE_4__.s8,exact:!1})}function onConfirmPage(props){var location=props.location;return!!(0,react_router_dom__WEBPACK_IMPORTED_MODULE_5__.B6)(location.pathname,{path:_helpers_constants_routes__WEBPACK_IMPORTED_MODULE_4__.s8,exact:!1})}function hideAppHeader(props){var location=props.location;if((0,react_router_dom__WEBPACK_IMPORTED_MODULE_5__.B6)(location.pathname,{path:"".concat(_helpers_constants_routes__WEBPACK_IMPORTED_MODULE_4__.P1),exact:!1})||(0,react_router_dom__WEBPACK_IMPORTED_MODULE_5__.B6)(location.pathname,{path:_helpers_constants_routes__WEBPACK_IMPORTED_MODULE_4__.oU,exact:!1})||(0,react_router_dom__WEBPACK_IMPORTED_MODULE_5__.B6)(location.pathname,{path:_helpers_constants_routes__WEBPACK_IMPORTED_MODULE_4__.su,exact:!1}))return!0;var windowType=(0,_app_scripts_lib_util__WEBPACK_IMPORTED_MODULE_0__.mc)();if(windowType===_shared_constants_app__WEBPACK_IMPORTED_MODULE_1__.XU||(0,react_router_dom__WEBPACK_IMPORTED_MODULE_5__.B6)(location.pathname,{path:_helpers_constants_routes__WEBPACK_IMPORTED_MODULE_4__.Jj,exact:!1})||(0,react_router_dom__WEBPACK_IMPORTED_MODULE_5__.B6)(location.pathname,{path:_helpers_constants_routes__WEBPACK_IMPORTED_MODULE_4__.Uk,exact:!1})||(0,react_router_dom__WEBPACK_IMPORTED_MODULE_5__.B6)(location.pathname,{path:_helpers_constants_routes__WEBPACK_IMPORTED_MODULE_4__.eF,exact:!1})||windowType===_shared_constants_app__WEBPACK_IMPORTED_MODULE_1__.YY&&onConfirmPage(props))return!0;var isHandlingPermissionsRequest=!!(0,react_router_dom__WEBPACK_IMPORTED_MODULE_5__.B6)(location.pathname,{path:_helpers_constants_routes__WEBPACK_IMPORTED_MODULE_4__.Fh,exact:!1});if((0,react_router_dom__WEBPACK_IMPORTED_MODULE_5__.B6)(location.pathname,{path:_helpers_constants_routes__WEBPACK_IMPORTED_MODULE_4__.xW,exact:!1})||(0,react_router_dom__WEBPACK_IMPORTED_MODULE_5__.B6)(location.pathname,{path:_helpers_constants_routes__WEBPACK_IMPORTED_MODULE_4__.Sj,exact:!1})||(0,react_router_dom__WEBPACK_IMPORTED_MODULE_5__.B6)(location.pathname,{path:_helpers_constants_routes__WEBPACK_IMPORTED_MODULE_4__.yc,exact:!1})||(0,react_router_dom__WEBPACK_IMPORTED_MODULE_5__.B6)(location.pathname,{path:_helpers_constants_routes__WEBPACK_IMPORTED_MODULE_4__.VR,exact:!1})||(0,react_router_dom__WEBPACK_IMPORTED_MODULE_5__.B6)(location.pathname,{path:_helpers_constants_routes__WEBPACK_IMPORTED_MODULE_4__.En,exact:!1})||(0,react_router_dom__WEBPACK_IMPORTED_MODULE_5__.B6)(location.pathname,{path:"".concat(_helpers_constants_routes__WEBPACK_IMPORTED_MODULE_4__.Zj),exact:!1})||(0,react_router_dom__WEBPACK_IMPORTED_MODULE_5__.B6)(location.pathname,{path:_helpers_constants_routes__WEBPACK_IMPORTED_MODULE_4__.Jy,exact:!1})||(0,react_router_dom__WEBPACK_IMPORTED_MODULE_5__.B6)(location.pathname,{path:_helpers_constants_routes__WEBPACK_IMPORTED_MODULE_4__.R5,exact:!1})||(0,react_router_dom__WEBPACK_IMPORTED_MODULE_5__.B6)(location.pathname,{path:_helpers_constants_routes__WEBPACK_IMPORTED_MODULE_4__.pu,exact:!1}))return!0;var isHandlingAddEthereumChainRequest=!!(0,react_router_dom__WEBPACK_IMPORTED_MODULE_5__.B6)(location.pathname,{path:_helpers_constants_routes__WEBPACK_IMPORTED_MODULE_4__.DL,exact:!1}),isImportSrpPage=!!(0,react_router_dom__WEBPACK_IMPORTED_MODULE_5__.B6)(location.pathname,{path:_helpers_constants_routes__WEBPACK_IMPORTED_MODULE_4__.UK,exact:!1});return isHandlingPermissionsRequest||isHandlingAddEthereumChainRequest||isConfirmTransactionRoute(location.pathname)||isImportSrpPage}},"./ui/selectors/multichain-accounts/account-tree.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{ER:()=>getSelectedAccountGroup,F8:()=>getWalletsWithAccountsSimplified,Mx:()=>getMultichainAccountsByWalletId,No:()=>getInternalAccountsFromGroupById,QI:()=>getWallet,SL:()=>getAccountTree,VR:()=>getMultichainAccountGroupById,X1:()=>getAllAccountGroups,gN:()=>getAccountGroupWithInternalAccounts,lh:()=>getWalletsWithAccounts,uW:()=>getNetworkAddressCount,v:()=>getWalletIdAndNameByAccountAddress,zH:()=>getInternalAccountBySelectedAccountGroupAndCaip});var _metamask_account_api__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@metamask/account-api/dist/index.mjs"),reselect__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./node_modules/reselect/dist/reselect.mjs"),_metamask_utils__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/@metamask/utils/dist/caip-types.mjs"),_shared_modules_selectors_util__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./shared/modules/selectors/util.js"),_selectors__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./ui/selectors/selectors.js"),_accounts__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./ui/selectors/accounts.ts"),_utils__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./ui/selectors/multichain-accounts/utils.ts");function _array_like_to_array(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function _array_with_holes(arr){if(Array.isArray(arr))return arr}function _array_without_holes(arr){if(Array.isArray(arr))return _array_like_to_array(arr)}function _define_property(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function _iterable_to_array(iter){if("undefined"!=typeof Symbol&&null!=iter[Symbol.iterator]||null!=iter["@@iterator"])return Array.from(iter)}function _iterable_to_array_limit(arr,i){var _s,_e,_i=null==arr?null:"undefined"!=typeof Symbol&&arr[Symbol.iterator]||arr["@@iterator"];if(null!=_i){var _arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}}function _non_iterable_rest(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _non_iterable_spread(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _object_spread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{},ownKeys=Object.keys(source);"function"==typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable}))),ownKeys.forEach(function(key){_define_property(target,key,source[key])})}return target}function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)}return keys}function _object_spread_props(target,source){return source=null!=source?source:{},Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}),target}function _sliced_to_array(arr,i){return _array_with_holes(arr)||_iterable_to_array_limit(arr,i)||_unsupported_iterable_to_array(arr,i)||_non_iterable_rest()}function _to_consumable_array(arr){return _array_without_holes(arr)||_iterable_to_array(arr)||_unsupported_iterable_to_array(arr)||_non_iterable_spread()}function _unsupported_iterable_to_array(o,minLen){if(o){if("string"==typeof o)return _array_like_to_array(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if("Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _array_like_to_array(o,minLen)}}var getAccountTree=(0,_shared_modules_selectors_util__WEBPACK_IMPORTED_MODULE_1__._)(function(state){return state.metamask.accountTree},function(accountTree){return accountTree}),createConsolidatedWallets=function(internalAccounts,accountTree,connectedAccounts,selectedAccount,pinnedAccounts,hiddenAccounts,getAccountsForGroup){var pinnedAccountsSet=new Set(pinnedAccounts),hiddenAccountsSet=new Set(hiddenAccounts),connectedAccountIdsSet=new Set(connectedAccounts.map(function(account){return account.id})),accountsById=internalAccounts.reduce(function(accounts,account){return accounts[account.id]=account,accounts},{});return Object.entries(accountTree.wallets).reduce(function(consolidatedWallets,param){var _param=_sliced_to_array(param,2),walletId=_param[0],wallet=_param[1];consolidatedWallets[walletId]={id:walletId,type:wallet.type,metadata:wallet.metadata,groups:{}};var allAccountIdsInWallet=Array.from(new Set(Object.values(wallet.groups).flatMap(function(group){return group.accounts})));return Object.entries(wallet.groups).forEach(function(param,groupIndex){var _param=_sliced_to_array(param,2),groupId=_param[0],group=_param[1],accountsFromGroup=getAccountsForGroup(group.accounts,groupIndex,allAccountIdsInWallet,accountsById).map(function(accountId){var accountWithMetadata=_object_spread({},accountsById[accountId]);return accountWithMetadata.pinned=pinnedAccountsSet.has(accountWithMetadata.address),accountWithMetadata.hidden=hiddenAccountsSet.has(accountWithMetadata.address),accountWithMetadata.active=selectedAccount.id===accountWithMetadata.id&&connectedAccountIdsSet.has(accountWithMetadata.id),accountWithMetadata});consolidatedWallets[walletId].groups[groupId]={id:groupId,type:group.type,metadata:group.metadata,accounts:accountsFromGroup}}),consolidatedWallets},{})},getWalletsWithAccounts=(0,_shared_modules_selectors_util__WEBPACK_IMPORTED_MODULE_1__._)(_selectors__WEBPACK_IMPORTED_MODULE_2__.zi3,getAccountTree,_selectors__WEBPACK_IMPORTED_MODULE_2__.v8m,_accounts__WEBPACK_IMPORTED_MODULE_3__._r,_selectors__WEBPACK_IMPORTED_MODULE_2__.DRO,_selectors__WEBPACK_IMPORTED_MODULE_2__.Znp,function(internalAccounts,accountTree,connectedAccounts,selectedAccount,pinnedAccounts,hiddenAccounts){return createConsolidatedWallets(internalAccounts,accountTree,connectedAccounts,selectedAccount,pinnedAccounts,hiddenAccounts,function(groupAccounts){return groupAccounts})}),getWalletsWithAccountsSimplified=(0,_shared_modules_selectors_util__WEBPACK_IMPORTED_MODULE_1__._)(_selectors__WEBPACK_IMPORTED_MODULE_2__.zi3,getAccountTree,_selectors__WEBPACK_IMPORTED_MODULE_2__.v8m,_accounts__WEBPACK_IMPORTED_MODULE_3__._r,_selectors__WEBPACK_IMPORTED_MODULE_2__.DRO,_selectors__WEBPACK_IMPORTED_MODULE_2__.Znp,function(internalAccounts,accountTree,connectedAccounts,selectedAccount,pinnedAccounts,hiddenAccounts){return createConsolidatedWallets(internalAccounts,accountTree,connectedAccounts,selectedAccount,pinnedAccounts,hiddenAccounts,function(_,groupIndex,allAccountIdsInWallet,accountsById){return 0===groupIndex?Object.keys(accountsById).filter(function(accountId){return allAccountIdsInWallet.includes(accountId)}):[]})}),getWalletIdAndNameByAccountAddress=(0,_shared_modules_selectors_util__WEBPACK_IMPORTED_MODULE_1__._)(getWalletsWithAccounts,function(_,address){return address},function(walletsWithAccounts,address){var _iteratorNormalCompletion=!0,_didIteratorError=!1,_iteratorError=void 0;try{for(var _step,_iterator=Object.entries(walletsWithAccounts)[Symbol.iterator]();!(_iteratorNormalCompletion=(_step=_iterator.next()).done);_iteratorNormalCompletion=!0){var _step_value=_sliced_to_array(_step.value,2),walletId=_step_value[0],wallet=_step_value[1],_iteratorNormalCompletion1=!0,_didIteratorError1=!1,_iteratorError1=void 0;try{for(var _step1,_iterator1=Object.values(wallet.groups)[Symbol.iterator]();!(_iteratorNormalCompletion1=(_step1=_iterator1.next()).done);_iteratorNormalCompletion1=!0)if(_step1.value.accounts.find(function(acc){return acc.address.toLowerCase()===address.toLowerCase()}))return{id:walletId,name:wallet.metadata.name}}catch(err){_didIteratorError1=!0,_iteratorError1=err}finally{try{_iteratorNormalCompletion1||null==_iterator1.return||_iterator1.return()}finally{if(_didIteratorError1)throw _iteratorError1}}}}catch(err){_didIteratorError=!0,_iteratorError=err}finally{try{_iteratorNormalCompletion||null==_iterator.return||_iterator.return()}finally{if(_didIteratorError)throw _iteratorError}}return null}),getMultichainAccountGroupById=(0,_shared_modules_selectors_util__WEBPACK_IMPORTED_MODULE_1__._)(getAccountTree,function(_,accountId){return accountId},function(accountTree,accountId){var wallet=accountTree.wallets[(0,_utils__WEBPACK_IMPORTED_MODULE_4__.q)(accountId)];return null==wallet?void 0:wallet.groups[accountId]}),getAllAccountGroups=(0,_shared_modules_selectors_util__WEBPACK_IMPORTED_MODULE_1__._)(getAccountTree,function(accountTree){return Object.values(accountTree.wallets).flatMap(function(wallet){return Object.values(wallet.groups)})}),getMultichainAccountGroups=(0,_shared_modules_selectors_util__WEBPACK_IMPORTED_MODULE_1__._)(getAllAccountGroups,function(accountGroups){return accountGroups.filter(function(group){return group.id.startsWith(_metamask_account_api__WEBPACK_IMPORTED_MODULE_0__.ZG.Entropy)})});(0,_shared_modules_selectors_util__WEBPACK_IMPORTED_MODULE_1__._)(getAllAccountGroups,function(accountGroups){return accountGroups.filter(function(group){return!group.id.startsWith(_metamask_account_api__WEBPACK_IMPORTED_MODULE_0__.ZG.Entropy)})});var getAccountGroupWithInternalAccounts=(0,_shared_modules_selectors_util__WEBPACK_IMPORTED_MODULE_1__._)(getAllAccountGroups,_accounts__WEBPACK_IMPORTED_MODULE_3__.at,function(accountGroups,internalAccounts){return accountGroups.map(function(accountGroup){return _object_spread_props(_object_spread({},accountGroup),{accounts:accountGroup.accounts.map(function(accountId){return internalAccounts.find(function(account){return account.id===accountId})}).filter(function(account){return void 0!==account})})})}),getMultichainAccountsToScopesMap=(0,_shared_modules_selectors_util__WEBPACK_IMPORTED_MODULE_1__._)(getMultichainAccountGroups,_accounts__WEBPACK_IMPORTED_MODULE_3__.at,function(multichainAccounts,internalAccounts){var multichainAccountsToScopesMap=new Map;return multichainAccounts.forEach(function(multichainAccount){var multichainAccountIdToCaip25Ids=new Map;Object.values(multichainAccount.accounts).forEach(function(internalAccountId){var internalAccount=internalAccounts.find(function(account){return account.id===internalAccountId});if(internalAccount){var caip25Id=_sliced_to_array(internalAccount.scopes,1)[0];if(caip25Id){var _caip25Id_split=_sliced_to_array(caip25Id.split(":"),2),namespace=_caip25Id_split[0],reference=_caip25Id_split[1];multichainAccountIdToCaip25Ids.set(caip25Id,"".concat(namespace,":").concat(reference,":").concat(internalAccount.address))}}}),multichainAccountsToScopesMap.set(multichainAccount.id,multichainAccountIdToCaip25Ids)}),multichainAccountsToScopesMap});(0,_shared_modules_selectors_util__WEBPACK_IMPORTED_MODULE_1__._)(getMultichainAccountsToScopesMap,function(_,accountGroup,scope){return{accountGroup:accountGroup,scope:scope}},function(multichainAccountsToScopesMap,param){var accountGroup=param.accountGroup,scope=param.scope,multichainAccountGroup=multichainAccountsToScopesMap.get(accountGroup.id);if(multichainAccountGroup)return multichainAccountGroup.get(scope)}),(0,_shared_modules_selectors_util__WEBPACK_IMPORTED_MODULE_1__._)(getAccountGroupWithInternalAccounts,function(_,scopes){return scopes},function(accountGroupsWithInternalAccounts,scopes){var _scopes_reduce=scopes.reduce(function(acc,scope){return _sliced_to_array(scope.split(":"),1)[0]===_metamask_utils__WEBPACK_IMPORTED_MODULE_5__.wV.Eip155?acc.hasEvmScope=!0:acc.cleanedScopes.push(scope),acc},{cleanedScopes:[],hasEvmScope:!1}),cleanedScopes=_scopes_reduce.cleanedScopes;if(_scopes_reduce.hasEvmScope)return accountGroupsWithInternalAccounts;var scopesToAccountGroupsMap=new Map;return cleanedScopes.forEach(function(scope){var accountGroupsWithScope=accountGroupsWithInternalAccounts.filter(function(accountGroup){return accountGroup.accounts.some(function(internalAccount){return internalAccount.scopes.includes(scope)})});scopesToAccountGroupsMap.set(scope,accountGroupsWithScope)}),Array.from(scopesToAccountGroupsMap.values()).flat()});var getGroupByGroupId=function(wallets,groupId){var _iteratorNormalCompletion=!0,_didIteratorError=!1,_iteratorError=void 0;try{for(var _step,_iterator=Object.values(wallets)[Symbol.iterator]();!(_iteratorNormalCompletion=(_step=_iterator.next()).done);_iteratorNormalCompletion=!0){var wallet=_step.value;if(wallet.groups[groupId])return wallet.groups[groupId]}}catch(err){_didIteratorError=!0,_iteratorError=err}finally{try{_iteratorNormalCompletion||null==_iterator.return||_iterator.return()}finally{if(_didIteratorError)throw _iteratorError}}return null},getInternalAccountFromGroup=function(group,caipChainId,internalAccounts){if(!group)return null;var sanitizedChainId=(0,_utils__WEBPACK_IMPORTED_MODULE_4__.g)(caipChainId),_iteratorNormalCompletion=!0,_didIteratorError=!1,_iteratorError=void 0;try{for(var _step,_iterator=group.accounts[Symbol.iterator]();!(_iteratorNormalCompletion=(_step=_iterator.next()).done);_iteratorNormalCompletion=!0){var internalAccount=internalAccounts[_step.value];if(null==internalAccount?void 0:internalAccount.scopes.includes(sanitizedChainId))return internalAccount}}catch(err){_didIteratorError=!0,_iteratorError=err}finally{try{_iteratorNormalCompletion||null==_iterator.return||_iterator.return()}finally{if(_didIteratorError)throw _iteratorError}}return null};(0,_shared_modules_selectors_util__WEBPACK_IMPORTED_MODULE_1__._)(getAccountTree,_accounts__WEBPACK_IMPORTED_MODULE_3__.pW,function(_,groupId,caipChainId){return{groupId:groupId,caipChainId:caipChainId}},function(accountTree,internalAccounts,param){var groupId=param.groupId,caipChainId=param.caipChainId;return getInternalAccountFromGroup(getGroupByGroupId(accountTree.wallets,groupId),caipChainId,internalAccounts)});var getSelectedAccountGroup=(0,_shared_modules_selectors_util__WEBPACK_IMPORTED_MODULE_1__._)(getAccountTree,function(accountTree){return accountTree.selectedAccountGroup}),getInternalAccountBySelectedAccountGroupAndCaip=(0,_shared_modules_selectors_util__WEBPACK_IMPORTED_MODULE_1__._)(getAccountTree,_accounts__WEBPACK_IMPORTED_MODULE_3__.pW,getSelectedAccountGroup,function(_,caipChainId){return caipChainId},function(accountTree,internalAccounts,selectedAccountGroup,caipChainId){return selectedAccountGroup?getInternalAccountFromGroup(getGroupByGroupId(accountTree.wallets,selectedAccountGroup),caipChainId,internalAccounts):null}),getWallet=(0,reselect__WEBPACK_IMPORTED_MODULE_6__.Mz)(function(state){var _state_metamask_accountTree,_state_metamask;return null==(_state_metamask=state.metamask)||null==(_state_metamask_accountTree=_state_metamask.accountTree)?void 0:_state_metamask_accountTree.wallets},function(_,walletId){return walletId},function(wallets,walletId){return null==wallets?void 0:wallets[walletId]}),getNetworkAddressCount=(0,reselect__WEBPACK_IMPORTED_MODULE_6__.Mz)(getAccountTree,function(_,accountGroupId){return accountGroupId},function(accountTree,accountGroupId){var wallet=accountTree.wallets[(0,_utils__WEBPACK_IMPORTED_MODULE_4__.q)(accountGroupId)];return(null==wallet?void 0:wallet.groups[accountGroupId])?wallet.groups[accountGroupId].accounts.length:0}),getMultichainAccountsByWalletId=(0,reselect__WEBPACK_IMPORTED_MODULE_6__.Mz)(getAccountTree,function(_,walletId){return walletId},function(accountTree,walletId){var wallet=accountTree.wallets[walletId];return null==wallet?void 0:wallet.groups}),getInternalAccountsFromGroupById=(0,reselect__WEBPACK_IMPORTED_MODULE_6__.Mz)(getAccountTree,_accounts__WEBPACK_IMPORTED_MODULE_3__.pW,function(_,groupId){return groupId},function(accountTree,internalAccounts,groupId){if(!groupId)return[];var group=getGroupByGroupId(accountTree.wallets,groupId);return group?group.accounts.map(function(accountId){return internalAccounts[accountId]}).filter(function(account){return!!account}):[]});(0,_shared_modules_selectors_util__WEBPACK_IMPORTED_MODULE_1__._)([getAccountGroupWithInternalAccounts,function(_state,addresses){return new Set(addresses.map(function(address){return address.toLowerCase()}))}],function(accountGroupWithInternalAccounts,addressesSet){var matchingGroups=new Set;return accountGroupWithInternalAccounts.forEach(function(group){group.accounts.some(function(account){return addressesSet.has(account.address.toLowerCase())})&&matchingGroups.add(group)}),_to_consumable_array(matchingGroups)})},"./ui/selectors/multichain-accounts/utils.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{g:()=>getSanitizedChainId,q:()=>extractWalletIdFromGroupId});var getSanitizedChainId=function(chainId){return chainId.startsWith("eip155")?"eip155:0":chainId},extractWalletIdFromGroupId=function(accountGroupId){if(accountGroupId.startsWith("snap:")){if(accountGroupId.includes("@")&&accountGroupId.includes("/")){var lastSlashIndex=accountGroupId.lastIndexOf("/");return accountGroupId.substring(0,lastSlashIndex)}return accountGroupId.includes("/")?accountGroupId.split("/").slice(0,-1).join("/"):accountGroupId}return accountGroupId.split("/")[0]}}}]);