2024-04-17 11:32:24 +02:00
/******/ ( ( ) => { // webpackBootstrap
2022-06-16 14:03:35 +02:00
/******/ "use strict" ;
2023-04-26 17:39:43 +02:00
/******/ var _ _webpack _modules _ _ = ( {
2024-04-17 11:32:24 +02:00
/***/ 4140 :
/***/ ( ( _ _unused _webpack _module , exports , _ _webpack _require _ _ ) => {
2023-04-26 17:39:43 +02:00
2024-04-17 11:32:24 +02:00
var m = _ _webpack _require _ _ ( 5795 ) ;
2023-04-26 17:39:43 +02:00
if ( true ) {
2024-04-17 11:32:24 +02:00
exports . H = m . createRoot ;
exports . c = m . hydrateRoot ;
2023-04-26 17:39:43 +02:00
} else { var i ; }
/***/ } ) ,
2024-04-17 11:32:24 +02:00
/***/ 5795 :
/***/ ( ( module ) => {
2023-04-26 17:39:43 +02:00
module . exports = window [ "ReactDOM" ] ;
/***/ } )
/******/ } ) ;
/************************************************************************/
/******/ // The module cache
/******/ var _ _webpack _module _cache _ _ = { } ;
/******/
/******/ // The require function
/******/ function _ _webpack _require _ _ ( moduleId ) {
/******/ // Check if module is in cache
/******/ var cachedModule = _ _webpack _module _cache _ _ [ moduleId ] ;
/******/ if ( cachedModule !== undefined ) {
/******/ return cachedModule . exports ;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = _ _webpack _module _cache _ _ [ moduleId ] = {
/******/ // no module.id needed
/******/ // no module.loaded needed
/******/ exports : { }
/******/ } ;
/******/
/******/ // Execute the module function
/******/ _ _webpack _modules _ _ [ moduleId ] ( module , module . exports , _ _webpack _require _ _ ) ;
/******/
/******/ // Return the exports of the module
/******/ return module . exports ;
/******/ }
2022-06-16 14:03:35 +02:00
/******/
/************************************************************************/
/******/ /* webpack/runtime/define property getters */
2024-04-17 11:32:24 +02:00
/******/ ( ( ) => {
2022-06-16 14:03:35 +02:00
/******/ // define getter functions for harmony exports
2024-04-17 11:32:24 +02:00
/******/ _ _webpack _require _ _ . d = ( exports , definition ) => {
2022-06-16 14:03:35 +02:00
/******/ for ( var key in definition ) {
/******/ if ( _ _webpack _require _ _ . o ( definition , key ) && ! _ _webpack _require _ _ . o ( exports , key ) ) {
/******/ Object . defineProperty ( exports , key , { enumerable : true , get : definition [ key ] } ) ;
/******/ }
/******/ }
/******/ } ;
2024-04-17 11:32:24 +02:00
/******/ } ) ( ) ;
2022-06-16 14:03:35 +02:00
/******/
/******/ /* webpack/runtime/hasOwnProperty shorthand */
2024-04-17 11:32:24 +02:00
/******/ ( ( ) => {
/******/ _ _webpack _require _ _ . o = ( obj , prop ) => ( Object . prototype . hasOwnProperty . call ( obj , prop ) )
/******/ } ) ( ) ;
2022-06-16 14:03:35 +02:00
/******/
/******/ /* webpack/runtime/make namespace object */
2024-04-17 11:32:24 +02:00
/******/ ( ( ) => {
2022-06-16 14:03:35 +02:00
/******/ // define __esModule on exports
2024-04-17 11:32:24 +02:00
/******/ _ _webpack _require _ _ . r = ( exports ) => {
2022-06-16 14:03:35 +02:00
/******/ if ( typeof Symbol !== 'undefined' && Symbol . toStringTag ) {
/******/ Object . defineProperty ( exports , Symbol . toStringTag , { value : 'Module' } ) ;
/******/ }
/******/ Object . defineProperty ( exports , '__esModule' , { value : true } ) ;
2019-11-02 10:38:58 +01:00
/******/ } ;
2024-04-17 11:32:24 +02:00
/******/ } ) ( ) ;
2022-06-16 14:03:35 +02:00
/******/
2019-11-02 10:38:58 +01:00
/************************************************************************/
2022-06-16 14:03:35 +02:00
var _ _webpack _exports _ _ = { } ;
2020-09-15 14:29:22 +02:00
// ESM COMPAT FLAG
2019-11-02 10:38:58 +01:00
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
2020-09-15 14:29:22 +02:00
// EXPORTS
2022-06-16 14:03:35 +02:00
_ _webpack _require _ _ . d ( _ _webpack _exports _ _ , {
2024-04-17 11:32:24 +02:00
Children : ( ) => ( /* reexport */ external _React _namespaceObject . Children ) ,
Component : ( ) => ( /* reexport */ external _React _namespaceObject . Component ) ,
Fragment : ( ) => ( /* reexport */ external _React _namespaceObject . Fragment ) ,
2025-12-12 13:15:55 +01:00
Platform : ( ) => ( /* reexport */ platform _default ) ,
2024-04-17 11:32:24 +02:00
PureComponent : ( ) => ( /* reexport */ external _React _namespaceObject . PureComponent ) ,
RawHTML : ( ) => ( /* reexport */ RawHTML ) ,
StrictMode : ( ) => ( /* reexport */ external _React _namespaceObject . StrictMode ) ,
Suspense : ( ) => ( /* reexport */ external _React _namespaceObject . Suspense ) ,
cloneElement : ( ) => ( /* reexport */ external _React _namespaceObject . cloneElement ) ,
concatChildren : ( ) => ( /* reexport */ concatChildren ) ,
createContext : ( ) => ( /* reexport */ external _React _namespaceObject . createContext ) ,
createElement : ( ) => ( /* reexport */ external _React _namespaceObject . createElement ) ,
2025-12-12 13:15:55 +01:00
createInterpolateElement : ( ) => ( /* reexport */ create _interpolate _element _default ) ,
2024-04-17 11:32:24 +02:00
createPortal : ( ) => ( /* reexport */ external _ReactDOM _ . createPortal ) ,
createRef : ( ) => ( /* reexport */ external _React _namespaceObject . createRef ) ,
createRoot : ( ) => ( /* reexport */ client /* createRoot */ . H ) ,
findDOMNode : ( ) => ( /* reexport */ external _ReactDOM _ . findDOMNode ) ,
flushSync : ( ) => ( /* reexport */ external _ReactDOM _ . flushSync ) ,
forwardRef : ( ) => ( /* reexport */ external _React _namespaceObject . forwardRef ) ,
hydrate : ( ) => ( /* reexport */ external _ReactDOM _ . hydrate ) ,
hydrateRoot : ( ) => ( /* reexport */ client /* hydrateRoot */ . c ) ,
isEmptyElement : ( ) => ( /* reexport */ isEmptyElement ) ,
isValidElement : ( ) => ( /* reexport */ external _React _namespaceObject . isValidElement ) ,
lazy : ( ) => ( /* reexport */ external _React _namespaceObject . lazy ) ,
memo : ( ) => ( /* reexport */ external _React _namespaceObject . memo ) ,
render : ( ) => ( /* reexport */ external _ReactDOM _ . render ) ,
2025-12-12 13:15:55 +01:00
renderToString : ( ) => ( /* reexport */ serialize _default ) ,
2024-04-17 11:32:24 +02:00
startTransition : ( ) => ( /* reexport */ external _React _namespaceObject . startTransition ) ,
switchChildrenNodeName : ( ) => ( /* reexport */ switchChildrenNodeName ) ,
unmountComponentAtNode : ( ) => ( /* reexport */ external _ReactDOM _ . unmountComponentAtNode ) ,
useCallback : ( ) => ( /* reexport */ external _React _namespaceObject . useCallback ) ,
useContext : ( ) => ( /* reexport */ external _React _namespaceObject . useContext ) ,
useDebugValue : ( ) => ( /* reexport */ external _React _namespaceObject . useDebugValue ) ,
useDeferredValue : ( ) => ( /* reexport */ external _React _namespaceObject . useDeferredValue ) ,
useEffect : ( ) => ( /* reexport */ external _React _namespaceObject . useEffect ) ,
useId : ( ) => ( /* reexport */ external _React _namespaceObject . useId ) ,
useImperativeHandle : ( ) => ( /* reexport */ external _React _namespaceObject . useImperativeHandle ) ,
useInsertionEffect : ( ) => ( /* reexport */ external _React _namespaceObject . useInsertionEffect ) ,
useLayoutEffect : ( ) => ( /* reexport */ external _React _namespaceObject . useLayoutEffect ) ,
useMemo : ( ) => ( /* reexport */ external _React _namespaceObject . useMemo ) ,
useReducer : ( ) => ( /* reexport */ external _React _namespaceObject . useReducer ) ,
useRef : ( ) => ( /* reexport */ external _React _namespaceObject . useRef ) ,
useState : ( ) => ( /* reexport */ external _React _namespaceObject . useState ) ,
useSyncExternalStore : ( ) => ( /* reexport */ external _React _namespaceObject . useSyncExternalStore ) ,
useTransition : ( ) => ( /* reexport */ external _React _namespaceObject . useTransition )
2022-06-16 14:03:35 +02:00
} ) ;
2025-04-25 12:30:07 +02:00
; // external "React"
2024-04-17 11:32:24 +02:00
const external _React _namespaceObject = window [ "React" ] ;
2025-04-25 12:30:07 +02:00
; // ./node_modules/@wordpress/element/build-module/create-interpolate-element.js
2020-09-15 14:29:22 +02:00
2025-12-12 13:15:55 +01:00
let indoc ;
let offset ;
let output ;
let stack ;
2021-07-23 11:58:50 +02:00
const tokenizer = /<(\/)?(\w+)\s*(\/)?>/g ;
2020-09-15 14:29:22 +02:00
function createFrame ( element , tokenStart , tokenLength , prevOffset , leadingTextStart ) {
2020-05-06 17:23:38 +02:00
return {
2021-07-23 11:58:50 +02:00
element ,
tokenStart ,
tokenLength ,
prevOffset ,
leadingTextStart ,
2020-05-06 17:23:38 +02:00
children : [ ]
} ;
}
2021-07-23 11:58:50 +02:00
const createInterpolateElement = ( interpolatedString , conversionMap ) => {
2020-05-06 17:23:38 +02:00
indoc = interpolatedString ;
offset = 0 ;
output = [ ] ;
stack = [ ] ;
tokenizer . lastIndex = 0 ;
2021-07-23 11:58:50 +02:00
if ( ! isValidConversionMap ( conversionMap ) ) {
2025-12-12 13:15:55 +01:00
throw new TypeError (
"The conversionMap provided is not valid. It must be an object with values that are React Elements"
) ;
2020-05-06 17:23:38 +02:00
}
2023-12-07 09:44:11 +01:00
do {
2020-05-06 17:23:38 +02:00
} while ( proceed ( conversionMap ) ) ;
2022-06-16 14:03:35 +02:00
return ( 0 , external _React _namespaceObject . createElement ) ( external _React _namespaceObject . Fragment , null , ... output ) ;
2020-05-06 17:23:38 +02:00
} ;
2025-12-12 13:15:55 +01:00
const isValidConversionMap = ( conversionMap ) => {
const isObject = typeof conversionMap === "object" && conversionMap !== null ;
2021-07-23 11:58:50 +02:00
const values = isObject && Object . values ( conversionMap ) ;
2025-12-12 13:15:55 +01:00
return isObject && values . length > 0 && values . every ( ( element ) => ( 0 , external _React _namespaceObject . isValidElement ) ( element ) ) ;
2020-05-06 17:23:38 +02:00
} ;
function proceed ( conversionMap ) {
2021-07-23 11:58:50 +02:00
const next = nextToken ( ) ;
const [ tokenType , name , startOffset , tokenLength ] = next ;
const stackDepth = stack . length ;
const leadingTextStart = startOffset > offset ? offset : null ;
2025-12-12 13:15:55 +01:00
if ( name && ! conversionMap [ name ] ) {
2020-05-06 17:23:38 +02:00
addText ( ) ;
return false ;
}
switch ( tokenType ) {
2025-12-12 13:15:55 +01:00
case "no-more-tokens" :
2020-05-06 17:23:38 +02:00
if ( stackDepth !== 0 ) {
2025-12-12 13:15:55 +01:00
const { leadingTextStart : stackLeadingText , tokenStart } = stack . pop ( ) ;
2020-05-06 17:23:38 +02:00
output . push ( indoc . substr ( stackLeadingText , tokenStart ) ) ;
}
addText ( ) ;
return false ;
2025-12-12 13:15:55 +01:00
case "self-closed" :
2020-05-06 17:23:38 +02:00
if ( 0 === stackDepth ) {
if ( null !== leadingTextStart ) {
2025-12-12 13:15:55 +01:00
output . push (
indoc . substr (
leadingTextStart ,
startOffset - leadingTextStart
)
) ;
2020-05-06 17:23:38 +02:00
}
output . push ( conversionMap [ name ] ) ;
offset = startOffset + tokenLength ;
return true ;
2023-12-07 09:44:11 +01:00
}
2025-12-12 13:15:55 +01:00
addChild (
createFrame ( conversionMap [ name ] , startOffset , tokenLength )
) ;
2020-05-06 17:23:38 +02:00
offset = startOffset + tokenLength ;
return true ;
2025-12-12 13:15:55 +01:00
case "opener" :
stack . push (
createFrame (
conversionMap [ name ] ,
startOffset ,
tokenLength ,
startOffset + tokenLength ,
leadingTextStart
)
) ;
2020-05-06 17:23:38 +02:00
offset = startOffset + tokenLength ;
return true ;
2025-12-12 13:15:55 +01:00
case "closer" :
2020-05-06 17:23:38 +02:00
if ( 1 === stackDepth ) {
closeOuterElement ( startOffset ) ;
offset = startOffset + tokenLength ;
return true ;
2023-12-07 09:44:11 +01:00
}
2021-07-23 11:58:50 +02:00
const stackTop = stack . pop ( ) ;
2025-12-12 13:15:55 +01:00
const text = indoc . substr (
stackTop . prevOffset ,
startOffset - stackTop . prevOffset
) ;
2020-05-06 17:23:38 +02:00
stackTop . children . push ( text ) ;
stackTop . prevOffset = startOffset + tokenLength ;
2025-12-12 13:15:55 +01:00
const frame = createFrame (
stackTop . element ,
stackTop . tokenStart ,
stackTop . tokenLength ,
startOffset + tokenLength
) ;
2020-05-06 17:23:38 +02:00
frame . children = stackTop . children ;
addChild ( frame ) ;
offset = startOffset + tokenLength ;
return true ;
default :
addText ( ) ;
return false ;
}
}
function nextToken ( ) {
2023-12-07 09:44:11 +01:00
const matches = tokenizer . exec ( indoc ) ;
2020-05-06 17:23:38 +02:00
if ( null === matches ) {
2025-12-12 13:15:55 +01:00
return [ "no-more-tokens" ] ;
2020-05-06 17:23:38 +02:00
}
2021-07-23 11:58:50 +02:00
const startedAt = matches . index ;
const [ match , isClosing , name , isSelfClosed ] = matches ;
const length = match . length ;
2020-05-06 17:23:38 +02:00
if ( isSelfClosed ) {
2025-12-12 13:15:55 +01:00
return [ "self-closed" , name , startedAt , length ] ;
2020-05-06 17:23:38 +02:00
}
if ( isClosing ) {
2025-12-12 13:15:55 +01:00
return [ "closer" , name , startedAt , length ] ;
2020-05-06 17:23:38 +02:00
}
2025-12-12 13:15:55 +01:00
return [ "opener" , name , startedAt , length ] ;
2020-05-06 17:23:38 +02:00
}
function addText ( ) {
2021-07-23 11:58:50 +02:00
const length = indoc . length - offset ;
2020-05-06 17:23:38 +02:00
if ( 0 === length ) {
return ;
}
output . push ( indoc . substr ( offset , length ) ) ;
}
function addChild ( frame ) {
2025-12-12 13:15:55 +01:00
const { element , tokenStart , tokenLength , prevOffset , children } = frame ;
2021-07-23 11:58:50 +02:00
const parent = stack [ stack . length - 1 ] ;
2025-12-12 13:15:55 +01:00
const text = indoc . substr (
parent . prevOffset ,
tokenStart - parent . prevOffset
) ;
2020-05-06 17:23:38 +02:00
if ( text ) {
parent . children . push ( text ) ;
}
2022-06-16 14:03:35 +02:00
parent . children . push ( ( 0 , external _React _namespaceObject . cloneElement ) ( element , null , ... children ) ) ;
2020-05-06 17:23:38 +02:00
parent . prevOffset = prevOffset ? prevOffset : tokenStart + tokenLength ;
}
function closeOuterElement ( endOffset ) {
2025-12-12 13:15:55 +01:00
const { element , leadingTextStart , prevOffset , tokenStart , children } = stack . pop ( ) ;
2021-07-23 11:58:50 +02:00
const text = endOffset ? indoc . substr ( prevOffset , endOffset - prevOffset ) : indoc . substr ( prevOffset ) ;
2020-05-06 17:23:38 +02:00
if ( text ) {
children . push ( text ) ;
}
if ( null !== leadingTextStart ) {
2025-12-12 13:15:55 +01:00
output . push (
indoc . substr ( leadingTextStart , tokenStart - leadingTextStart )
) ;
2020-05-06 17:23:38 +02:00
}
2022-06-16 14:03:35 +02:00
output . push ( ( 0 , external _React _namespaceObject . cloneElement ) ( element , null , ... children ) ) ;
2020-05-06 17:23:38 +02:00
}
2025-12-12 13:15:55 +01:00
var create _interpolate _element _default = createInterpolateElement ;
2023-04-26 17:39:43 +02:00
2025-12-12 13:15:55 +01:00
; // ./node_modules/@wordpress/element/build-module/react.js
2024-04-17 11:32:24 +02:00
2023-09-26 10:33:34 +02:00
function concatChildren ( ... childrenArguments ) {
2025-12-12 13:15:55 +01:00
return childrenArguments . reduce (
( accumulator , children , i ) => {
external _React _namespaceObject . Children . forEach ( children , ( child , j ) => {
if ( ( 0 , external _React _namespaceObject . isValidElement ) ( child ) && typeof child !== "string" ) {
child = ( 0 , external _React _namespaceObject . cloneElement ) ( child , {
key : [ i , j ] . join ( )
} ) ;
}
accumulator . push ( child ) ;
} ) ;
return accumulator ;
} ,
[ ]
) ;
2019-11-02 10:38:58 +01:00
}
function switchChildrenNodeName ( children , nodeName ) {
2022-06-16 14:03:35 +02:00
return children && external _React _namespaceObject . Children . map ( children , ( elt , index ) => {
2025-12-12 13:15:55 +01:00
if ( typeof elt ? . valueOf ( ) === "string" ) {
return ( 0 , external _React _namespaceObject . createElement ) ( nodeName , { key : index } , elt ) ;
2019-11-02 10:38:58 +01:00
}
2025-12-12 13:15:55 +01:00
if ( ! ( 0 , external _React _namespaceObject . isValidElement ) ( elt ) ) {
return elt ;
}
const { children : childrenProp , ... props } = elt . props ;
return ( 0 , external _React _namespaceObject . createElement ) (
nodeName ,
{ key : index , ... props } ,
childrenProp
) ;
2019-11-02 10:38:58 +01:00
} ) ;
}
2025-12-12 13:15:55 +01:00
2023-04-26 17:39:43 +02:00
// EXTERNAL MODULE: external "ReactDOM"
2024-04-17 11:32:24 +02:00
var external _ReactDOM _ = _ _webpack _require _ _ ( 5795 ) ;
2023-04-26 17:39:43 +02:00
// EXTERNAL MODULE: ./node_modules/react-dom/client.js
2024-04-17 11:32:24 +02:00
var client = _ _webpack _require _ _ ( 4140 ) ;
2025-04-25 12:30:07 +02:00
; // ./node_modules/@wordpress/element/build-module/react-platform.js
2019-11-02 10:38:58 +01:00
2025-04-25 12:30:07 +02:00
; // ./node_modules/@wordpress/element/build-module/utils.js
2025-12-12 13:15:55 +01:00
const isEmptyElement = ( element ) => {
if ( typeof element === "number" ) {
2019-11-02 10:38:58 +01:00
return false ;
}
2025-12-12 13:15:55 +01:00
if ( typeof element ? . valueOf ( ) === "string" || Array . isArray ( element ) ) {
2019-11-02 10:38:58 +01:00
return ! element . length ;
}
return ! element ;
} ;
2025-12-12 13:15:55 +01:00
2025-04-25 12:30:07 +02:00
; // ./node_modules/@wordpress/element/build-module/platform.js
2021-07-23 11:58:50 +02:00
const Platform = {
2025-12-12 13:15:55 +01:00
/** Platform identifier. Will always be `'web'` in this module. */
OS : "web" ,
/ * *
* Select a value based on the platform .
*
* @ template T
* @ param spec - Object with optional platform - specific values .
* @ return The selected value .
* /
select ( spec ) {
return "web" in spec ? spec . web : spec . default ;
} ,
/** Whether the platform is web */
2022-04-02 10:26:41 +02:00
isWeb : true
2020-05-06 17:23:38 +02:00
} ;
2025-12-12 13:15:55 +01:00
var platform _default = Platform ;
2019-11-02 10:38:58 +01:00
2025-04-25 12:30:07 +02:00
; // ./node_modules/is-plain-object/dist/is-plain-object.mjs
2022-12-15 17:47:31 +01:00
/ * !
* is - plain - object < https : //github.com/jonschlinkert/is-plain-object>
*
* Copyright ( c ) 2014 - 2017 , Jon Schlinkert .
* Released under the MIT License .
* /
function isObject ( o ) {
return Object . prototype . toString . call ( o ) === '[object Object]' ;
}
function isPlainObject ( o ) {
var ctor , prot ;
if ( isObject ( o ) === false ) return false ;
// If has modified constructor
ctor = o . constructor ;
if ( ctor === undefined ) return true ;
// If has modified prototype
prot = ctor . prototype ;
if ( isObject ( prot ) === false ) return false ;
// If constructor does not have an Object-specific method
if ( prot . hasOwnProperty ( 'isPrototypeOf' ) === false ) {
return false ;
}
// Most likely a plain Object
return true ;
}
2025-04-25 12:30:07 +02:00
; // ./node_modules/tslib/tslib.es6.mjs
2023-09-26 10:33:34 +02:00
/ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Copyright ( c ) Microsoft Corporation .
Permission to use , copy , modify , and / or distribute this software for any
purpose with or without fee is hereby granted .
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS . IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL , DIRECT ,
INDIRECT , OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE , DATA OR PROFITS , WHETHER IN AN ACTION OF CONTRACT , NEGLIGENCE OR
OTHER TORTIOUS ACTION , ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE .
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
2025-02-28 08:42:11 +01:00
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
2023-09-26 10:33:34 +02:00
var extendStatics = function ( d , b ) {
extendStatics = Object . setPrototypeOf ||
( { _ _proto _ _ : [ ] } instanceof Array && function ( d , b ) { d . _ _proto _ _ = b ; } ) ||
function ( d , b ) { for ( var p in b ) if ( Object . prototype . hasOwnProperty . call ( b , p ) ) d [ p ] = b [ p ] ; } ;
return extendStatics ( d , b ) ;
} ;
function _ _extends ( d , b ) {
if ( typeof b !== "function" && b !== null )
throw new TypeError ( "Class extends value " + String ( b ) + " is not a constructor or null" ) ;
extendStatics ( d , b ) ;
function _ _ ( ) { this . constructor = d ; }
d . prototype = b === null ? Object . create ( b ) : ( _ _ . prototype = b . prototype , new _ _ ( ) ) ;
}
var _ _assign = function ( ) {
_ _assign = Object . assign || function _ _assign ( t ) {
for ( var s , i = 1 , n = arguments . length ; i < n ; i ++ ) {
s = arguments [ i ] ;
for ( var p in s ) if ( Object . prototype . hasOwnProperty . call ( s , p ) ) t [ p ] = s [ p ] ;
}
return t ;
}
return _ _assign . apply ( this , arguments ) ;
}
function _ _rest ( s , e ) {
var t = { } ;
for ( var p in s ) if ( Object . prototype . hasOwnProperty . call ( s , p ) && e . indexOf ( p ) < 0 )
t [ p ] = s [ p ] ;
if ( s != null && typeof Object . getOwnPropertySymbols === "function" )
for ( var i = 0 , p = Object . getOwnPropertySymbols ( s ) ; i < p . length ; i ++ ) {
if ( e . indexOf ( p [ i ] ) < 0 && Object . prototype . propertyIsEnumerable . call ( s , p [ i ] ) )
t [ p [ i ] ] = s [ p [ i ] ] ;
}
return t ;
}
function _ _decorate ( decorators , target , key , desc ) {
var c = arguments . length , r = c < 3 ? target : desc === null ? desc = Object . getOwnPropertyDescriptor ( target , key ) : desc , d ;
if ( typeof Reflect === "object" && typeof Reflect . decorate === "function" ) r = Reflect . decorate ( decorators , target , key , desc ) ;
else for ( var i = decorators . length - 1 ; i >= 0 ; i -- ) if ( d = decorators [ i ] ) r = ( c < 3 ? d ( r ) : c > 3 ? d ( target , key , r ) : d ( target , key ) ) || r ;
return c > 3 && r && Object . defineProperty ( target , key , r ) , r ;
}
function _ _param ( paramIndex , decorator ) {
return function ( target , key ) { decorator ( target , key , paramIndex ) ; }
}
function _ _esDecorate ( ctor , descriptorIn , decorators , contextIn , initializers , extraInitializers ) {
function accept ( f ) { if ( f !== void 0 && typeof f !== "function" ) throw new TypeError ( "Function expected" ) ; return f ; }
var kind = contextIn . kind , key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value" ;
var target = ! descriptorIn && ctor ? contextIn [ "static" ] ? ctor : ctor . prototype : null ;
var descriptor = descriptorIn || ( target ? Object . getOwnPropertyDescriptor ( target , contextIn . name ) : { } ) ;
var _ , done = false ;
for ( var i = decorators . length - 1 ; i >= 0 ; i -- ) {
var context = { } ;
for ( var p in contextIn ) context [ p ] = p === "access" ? { } : contextIn [ p ] ;
for ( var p in contextIn . access ) context . access [ p ] = contextIn . access [ p ] ;
context . addInitializer = function ( f ) { if ( done ) throw new TypeError ( "Cannot add initializers after decoration has completed" ) ; extraInitializers . push ( accept ( f || null ) ) ; } ;
var result = ( 0 , decorators [ i ] ) ( kind === "accessor" ? { get : descriptor . get , set : descriptor . set } : descriptor [ key ] , context ) ;
if ( kind === "accessor" ) {
if ( result === void 0 ) continue ;
if ( result === null || typeof result !== "object" ) throw new TypeError ( "Object expected" ) ;
if ( _ = accept ( result . get ) ) descriptor . get = _ ;
if ( _ = accept ( result . set ) ) descriptor . set = _ ;
if ( _ = accept ( result . init ) ) initializers . unshift ( _ ) ;
}
else if ( _ = accept ( result ) ) {
if ( kind === "field" ) initializers . unshift ( _ ) ;
else descriptor [ key ] = _ ;
}
}
if ( target ) Object . defineProperty ( target , contextIn . name , descriptor ) ;
done = true ;
} ;
function _ _runInitializers ( thisArg , initializers , value ) {
var useValue = arguments . length > 2 ;
for ( var i = 0 ; i < initializers . length ; i ++ ) {
value = useValue ? initializers [ i ] . call ( thisArg , value ) : initializers [ i ] . call ( thisArg ) ;
}
return useValue ? value : void 0 ;
} ;
function _ _propKey ( x ) {
return typeof x === "symbol" ? x : "" . concat ( x ) ;
} ;
function _ _setFunctionName ( f , name , prefix ) {
if ( typeof name === "symbol" ) name = name . description ? "[" . concat ( name . description , "]" ) : "" ;
return Object . defineProperty ( f , "name" , { configurable : true , value : prefix ? "" . concat ( prefix , " " , name ) : name } ) ;
} ;
function _ _metadata ( metadataKey , metadataValue ) {
if ( typeof Reflect === "object" && typeof Reflect . metadata === "function" ) return Reflect . metadata ( metadataKey , metadataValue ) ;
}
function _ _awaiter ( thisArg , _arguments , P , generator ) {
function adopt ( value ) { return value instanceof P ? value : new P ( function ( resolve ) { resolve ( value ) ; } ) ; }
return new ( P || ( P = Promise ) ) ( function ( resolve , reject ) {
function fulfilled ( value ) { try { step ( generator . next ( value ) ) ; } catch ( e ) { reject ( e ) ; } }
function rejected ( value ) { try { step ( generator [ "throw" ] ( value ) ) ; } catch ( e ) { reject ( e ) ; } }
function step ( result ) { result . done ? resolve ( result . value ) : adopt ( result . value ) . then ( fulfilled , rejected ) ; }
step ( ( generator = generator . apply ( thisArg , _arguments || [ ] ) ) . next ( ) ) ;
} ) ;
}
function _ _generator ( thisArg , body ) {
2025-02-28 08:42:11 +01:00
var _ = { label : 0 , sent : function ( ) { if ( t [ 0 ] & 1 ) throw t [ 1 ] ; return t [ 1 ] ; } , trys : [ ] , ops : [ ] } , f , y , t , g = Object . create ( ( typeof Iterator === "function" ? Iterator : Object ) . prototype ) ;
return g . next = verb ( 0 ) , g [ "throw" ] = verb ( 1 ) , g [ "return" ] = verb ( 2 ) , typeof Symbol === "function" && ( g [ Symbol . iterator ] = function ( ) { return this ; } ) , g ;
2023-09-26 10:33:34 +02:00
function verb ( n ) { return function ( v ) { return step ( [ n , v ] ) ; } ; }
function step ( op ) {
if ( f ) throw new TypeError ( "Generator is already executing." ) ;
while ( g && ( g = 0 , op [ 0 ] && ( _ = 0 ) ) , _ ) try {
if ( f = 1 , y && ( t = op [ 0 ] & 2 ? y [ "return" ] : op [ 0 ] ? y [ "throw" ] || ( ( t = y [ "return" ] ) && t . call ( y ) , 0 ) : y . next ) && ! ( t = t . call ( y , op [ 1 ] ) ) . done ) return t ;
if ( y = 0 , t ) op = [ op [ 0 ] & 2 , t . value ] ;
switch ( op [ 0 ] ) {
case 0 : case 1 : t = op ; break ;
case 4 : _ . label ++ ; return { value : op [ 1 ] , done : false } ;
case 5 : _ . label ++ ; y = op [ 1 ] ; op = [ 0 ] ; continue ;
case 7 : op = _ . ops . pop ( ) ; _ . trys . pop ( ) ; continue ;
default :
if ( ! ( t = _ . trys , t = t . length > 0 && t [ t . length - 1 ] ) && ( op [ 0 ] === 6 || op [ 0 ] === 2 ) ) { _ = 0 ; continue ; }
if ( op [ 0 ] === 3 && ( ! t || ( op [ 1 ] > t [ 0 ] && op [ 1 ] < t [ 3 ] ) ) ) { _ . label = op [ 1 ] ; break ; }
if ( op [ 0 ] === 6 && _ . label < t [ 1 ] ) { _ . label = t [ 1 ] ; t = op ; break ; }
if ( t && _ . label < t [ 2 ] ) { _ . label = t [ 2 ] ; _ . ops . push ( op ) ; break ; }
if ( t [ 2 ] ) _ . ops . pop ( ) ;
_ . trys . pop ( ) ; continue ;
}
op = body . call ( thisArg , _ ) ;
} catch ( e ) { op = [ 6 , e ] ; y = 0 ; } finally { f = t = 0 ; }
if ( op [ 0 ] & 5 ) throw op [ 1 ] ; return { value : op [ 0 ] ? op [ 1 ] : void 0 , done : true } ;
}
}
var _ _createBinding = Object . create ? ( function ( o , m , k , k2 ) {
if ( k2 === undefined ) k2 = k ;
var desc = Object . getOwnPropertyDescriptor ( m , k ) ;
if ( ! desc || ( "get" in desc ? ! m . _ _esModule : desc . writable || desc . configurable ) ) {
desc = { enumerable : true , get : function ( ) { return m [ k ] ; } } ;
}
Object . defineProperty ( o , k2 , desc ) ;
} ) : ( function ( o , m , k , k2 ) {
if ( k2 === undefined ) k2 = k ;
o [ k2 ] = m [ k ] ;
} ) ;
function _ _exportStar ( m , o ) {
for ( var p in m ) if ( p !== "default" && ! Object . prototype . hasOwnProperty . call ( o , p ) ) _ _createBinding ( o , m , p ) ;
}
function _ _values ( o ) {
var s = typeof Symbol === "function" && Symbol . iterator , m = s && o [ s ] , i = 0 ;
if ( m ) return m . call ( o ) ;
if ( o && typeof o . length === "number" ) return {
next : function ( ) {
if ( o && i >= o . length ) o = void 0 ;
return { value : o && o [ i ++ ] , done : ! o } ;
}
} ;
throw new TypeError ( s ? "Object is not iterable." : "Symbol.iterator is not defined." ) ;
}
function _ _read ( o , n ) {
var m = typeof Symbol === "function" && o [ Symbol . iterator ] ;
if ( ! m ) return o ;
var i = m . call ( o ) , r , ar = [ ] , e ;
try {
while ( ( n === void 0 || n -- > 0 ) && ! ( r = i . next ( ) ) . done ) ar . push ( r . value ) ;
}
catch ( error ) { e = { error : error } ; }
finally {
try {
if ( r && ! r . done && ( m = i [ "return" ] ) ) m . call ( i ) ;
}
finally { if ( e ) throw e . error ; }
}
return ar ;
}
/** @deprecated */
function _ _spread ( ) {
for ( var ar = [ ] , i = 0 ; i < arguments . length ; i ++ )
ar = ar . concat ( _ _read ( arguments [ i ] ) ) ;
return ar ;
}
/** @deprecated */
function _ _spreadArrays ( ) {
for ( var s = 0 , i = 0 , il = arguments . length ; i < il ; i ++ ) s += arguments [ i ] . length ;
for ( var r = Array ( s ) , k = 0 , i = 0 ; i < il ; i ++ )
for ( var a = arguments [ i ] , j = 0 , jl = a . length ; j < jl ; j ++ , k ++ )
r [ k ] = a [ j ] ;
return r ;
}
function _ _spreadArray ( to , from , pack ) {
if ( pack || arguments . length === 2 ) for ( var i = 0 , l = from . length , ar ; i < l ; i ++ ) {
if ( ar || ! ( i in from ) ) {
if ( ! ar ) ar = Array . prototype . slice . call ( from , 0 , i ) ;
ar [ i ] = from [ i ] ;
}
}
return to . concat ( ar || Array . prototype . slice . call ( from ) ) ;
}
function _ _await ( v ) {
return this instanceof _ _await ? ( this . v = v , this ) : new _ _await ( v ) ;
}
function _ _asyncGenerator ( thisArg , _arguments , generator ) {
if ( ! Symbol . asyncIterator ) throw new TypeError ( "Symbol.asyncIterator is not defined." ) ;
var g = generator . apply ( thisArg , _arguments || [ ] ) , i , q = [ ] ;
2025-02-28 08:42:11 +01:00
return i = Object . create ( ( typeof AsyncIterator === "function" ? AsyncIterator : Object ) . prototype ) , verb ( "next" ) , verb ( "throw" ) , verb ( "return" , awaitReturn ) , i [ Symbol . asyncIterator ] = function ( ) { return this ; } , i ;
function awaitReturn ( f ) { return function ( v ) { return Promise . resolve ( v ) . then ( f , reject ) ; } ; }
function verb ( n , f ) { if ( g [ n ] ) { i [ n ] = function ( v ) { return new Promise ( function ( a , b ) { q . push ( [ n , v , a , b ] ) > 1 || resume ( n , v ) ; } ) ; } ; if ( f ) i [ n ] = f ( i [ n ] ) ; } }
2023-09-26 10:33:34 +02:00
function resume ( n , v ) { try { step ( g [ n ] ( v ) ) ; } catch ( e ) { settle ( q [ 0 ] [ 3 ] , e ) ; } }
function step ( r ) { r . value instanceof _ _await ? Promise . resolve ( r . value . v ) . then ( fulfill , reject ) : settle ( q [ 0 ] [ 2 ] , r ) ; }
function fulfill ( value ) { resume ( "next" , value ) ; }
function reject ( value ) { resume ( "throw" , value ) ; }
function settle ( f , v ) { if ( f ( v ) , q . shift ( ) , q . length ) resume ( q [ 0 ] [ 0 ] , q [ 0 ] [ 1 ] ) ; }
}
function _ _asyncDelegator ( o ) {
var i , p ;
return i = { } , verb ( "next" ) , verb ( "throw" , function ( e ) { throw e ; } ) , verb ( "return" ) , i [ Symbol . iterator ] = function ( ) { return this ; } , i ;
function verb ( n , f ) { i [ n ] = o [ n ] ? function ( v ) { return ( p = ! p ) ? { value : _ _await ( o [ n ] ( v ) ) , done : false } : f ? f ( v ) : v ; } : f ; }
}
function _ _asyncValues ( o ) {
if ( ! Symbol . asyncIterator ) throw new TypeError ( "Symbol.asyncIterator is not defined." ) ;
var m = o [ Symbol . asyncIterator ] , i ;
return m ? m . call ( o ) : ( o = typeof _ _values === "function" ? _ _values ( o ) : o [ Symbol . iterator ] ( ) , i = { } , verb ( "next" ) , verb ( "throw" ) , verb ( "return" ) , i [ Symbol . asyncIterator ] = function ( ) { return this ; } , i ) ;
function verb ( n ) { i [ n ] = o [ n ] && function ( v ) { return new Promise ( function ( resolve , reject ) { v = o [ n ] ( v ) , settle ( resolve , reject , v . done , v . value ) ; } ) ; } ; }
function settle ( resolve , reject , d , v ) { Promise . resolve ( v ) . then ( function ( v ) { resolve ( { value : v , done : d } ) ; } , reject ) ; }
}
function _ _makeTemplateObject ( cooked , raw ) {
if ( Object . defineProperty ) { Object . defineProperty ( cooked , "raw" , { value : raw } ) ; } else { cooked . raw = raw ; }
return cooked ;
} ;
var _ _setModuleDefault = Object . create ? ( function ( o , v ) {
Object . defineProperty ( o , "default" , { enumerable : true , value : v } ) ;
} ) : function ( o , v ) {
o [ "default" ] = v ;
} ;
2025-02-28 08:42:11 +01:00
var ownKeys = function ( o ) {
ownKeys = Object . getOwnPropertyNames || function ( o ) {
var ar = [ ] ;
for ( var k in o ) if ( Object . prototype . hasOwnProperty . call ( o , k ) ) ar [ ar . length ] = k ;
return ar ;
} ;
return ownKeys ( o ) ;
} ;
2023-09-26 10:33:34 +02:00
function _ _importStar ( mod ) {
if ( mod && mod . _ _esModule ) return mod ;
var result = { } ;
2025-02-28 08:42:11 +01:00
if ( mod != null ) for ( var k = ownKeys ( mod ) , i = 0 ; i < k . length ; i ++ ) if ( k [ i ] !== "default" ) _ _createBinding ( result , mod , k [ i ] ) ;
2023-09-26 10:33:34 +02:00
_ _setModuleDefault ( result , mod ) ;
return result ;
}
function _ _importDefault ( mod ) {
return ( mod && mod . _ _esModule ) ? mod : { default : mod } ;
}
function _ _classPrivateFieldGet ( receiver , state , kind , f ) {
if ( kind === "a" && ! f ) throw new TypeError ( "Private accessor was defined without a getter" ) ;
if ( typeof state === "function" ? receiver !== state || ! f : ! state . has ( receiver ) ) throw new TypeError ( "Cannot read private member from an object whose class did not declare it" ) ;
return kind === "m" ? f : kind === "a" ? f . call ( receiver ) : f ? f . value : state . get ( receiver ) ;
}
function _ _classPrivateFieldSet ( receiver , state , value , kind , f ) {
if ( kind === "m" ) throw new TypeError ( "Private method is not writable" ) ;
if ( kind === "a" && ! f ) throw new TypeError ( "Private accessor was defined without a setter" ) ;
if ( typeof state === "function" ? receiver !== state || ! f : ! state . has ( receiver ) ) throw new TypeError ( "Cannot write private member to an object whose class did not declare it" ) ;
return ( kind === "a" ? f . call ( receiver , value ) : f ? f . value = value : state . set ( receiver , value ) ) , value ;
}
function _ _classPrivateFieldIn ( state , receiver ) {
if ( receiver === null || ( typeof receiver !== "object" && typeof receiver !== "function" ) ) throw new TypeError ( "Cannot use 'in' operator on non-object" ) ;
return typeof state === "function" ? receiver === state : state . has ( receiver ) ;
}
function _ _addDisposableResource ( env , value , async ) {
if ( value !== null && value !== void 0 ) {
2023-12-07 09:44:11 +01:00
if ( typeof value !== "object" && typeof value !== "function" ) throw new TypeError ( "Object expected." ) ;
2025-02-28 08:42:11 +01:00
var dispose , inner ;
2023-09-26 10:33:34 +02:00
if ( async ) {
2025-02-28 08:42:11 +01:00
if ( ! Symbol . asyncDispose ) throw new TypeError ( "Symbol.asyncDispose is not defined." ) ;
dispose = value [ Symbol . asyncDispose ] ;
2023-09-26 10:33:34 +02:00
}
if ( dispose === void 0 ) {
2025-02-28 08:42:11 +01:00
if ( ! Symbol . dispose ) throw new TypeError ( "Symbol.dispose is not defined." ) ;
dispose = value [ Symbol . dispose ] ;
if ( async ) inner = dispose ;
2023-09-26 10:33:34 +02:00
}
if ( typeof dispose !== "function" ) throw new TypeError ( "Object not disposable." ) ;
2025-02-28 08:42:11 +01:00
if ( inner ) dispose = function ( ) { try { inner . call ( this ) ; } catch ( e ) { return Promise . reject ( e ) ; } } ;
2023-09-26 10:33:34 +02:00
env . stack . push ( { value : value , dispose : dispose , async : async } ) ;
}
else if ( async ) {
env . stack . push ( { async : true } ) ;
}
return value ;
}
var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function ( error , suppressed , message ) {
var e = new Error ( message ) ;
return e . name = "SuppressedError" , e . error = error , e . suppressed = suppressed , e ;
} ;
function _ _disposeResources ( env ) {
function fail ( e ) {
env . error = env . hasError ? new _SuppressedError ( e , env . error , "An error was suppressed during disposal." ) : e ;
env . hasError = true ;
}
2025-02-28 08:42:11 +01:00
var r , s = 0 ;
2023-09-26 10:33:34 +02:00
function next ( ) {
2025-02-28 08:42:11 +01:00
while ( r = env . stack . pop ( ) ) {
2023-09-26 10:33:34 +02:00
try {
2025-02-28 08:42:11 +01:00
if ( ! r . async && s === 1 ) return s = 0 , env . stack . push ( r ) , Promise . resolve ( ) . then ( next ) ;
if ( r . dispose ) {
var result = r . dispose . call ( r . value ) ;
if ( r . async ) return s |= 2 , Promise . resolve ( result ) . then ( next , function ( e ) { fail ( e ) ; return next ( ) ; } ) ;
}
else s |= 1 ;
2023-09-26 10:33:34 +02:00
}
catch ( e ) {
2025-02-28 08:42:11 +01:00
fail ( e ) ;
2023-09-26 10:33:34 +02:00
}
}
2025-02-28 08:42:11 +01:00
if ( s === 1 ) return env . hasError ? Promise . reject ( env . error ) : Promise . resolve ( ) ;
2023-09-26 10:33:34 +02:00
if ( env . hasError ) throw env . error ;
}
return next ( ) ;
}
2025-02-28 08:42:11 +01:00
function _ _rewriteRelativeImportExtension ( path , preserveJsx ) {
if ( typeof path === "string" && /^\.\.?\// . test ( path ) ) {
return path . replace ( /\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i , function ( m , tsx , d , ext , cm ) {
return tsx ? preserveJsx ? ".jsx" : ".js" : d && ( ! ext || ! cm ) ? m : ( d + ext + "." + cm . toLowerCase ( ) + "js" ) ;
} ) ;
}
return path ;
}
2024-04-17 11:32:24 +02:00
/* harmony default export */ const tslib _es6 = ( {
2023-09-26 10:33:34 +02:00
_ _extends ,
_ _assign ,
_ _rest ,
_ _decorate ,
_ _param ,
2025-02-28 08:42:11 +01:00
_ _esDecorate ,
_ _runInitializers ,
_ _propKey ,
_ _setFunctionName ,
2023-09-26 10:33:34 +02:00
_ _metadata ,
_ _awaiter ,
_ _generator ,
_ _createBinding ,
_ _exportStar ,
_ _values ,
_ _read ,
_ _spread ,
_ _spreadArrays ,
_ _spreadArray ,
_ _await ,
_ _asyncGenerator ,
_ _asyncDelegator ,
_ _asyncValues ,
_ _makeTemplateObject ,
_ _importStar ,
_ _importDefault ,
_ _classPrivateFieldGet ,
_ _classPrivateFieldSet ,
_ _classPrivateFieldIn ,
_ _addDisposableResource ,
_ _disposeResources ,
2025-02-28 08:42:11 +01:00
_ _rewriteRelativeImportExtension ,
2023-09-26 10:33:34 +02:00
} ) ;
2022-12-15 17:47:31 +01:00
2025-04-25 12:30:07 +02:00
; // ./node_modules/lower-case/dist.es2015/index.js
2022-12-15 17:47:31 +01:00
/ * *
* Source : ftp : //ftp.unicode.org/Public/UCD/latest/ucd/SpecialCasing.txt
* /
var SUPPORTED _LOCALE = {
tr : {
regexp : /\u0130|\u0049|\u0049\u0307/g ,
map : {
İ : "\u0069" ,
I : "\u0131" ,
I ̇ : "\u0069" ,
} ,
} ,
az : {
regexp : /\u0130/g ,
map : {
İ : "\u0069" ,
I : "\u0131" ,
I ̇ : "\u0069" ,
} ,
} ,
lt : {
regexp : /\u0049|\u004A|\u012E|\u00CC|\u00CD|\u0128/g ,
map : {
I : "\u0069\u0307" ,
J : "\u006A\u0307" ,
Į : "\u012F\u0307" ,
Ì : "\u0069\u0307\u0300" ,
Í : "\u0069\u0307\u0301" ,
Ĩ : "\u0069\u0307\u0303" ,
} ,
} ,
} ;
/ * *
* Localized lower case .
* /
function localeLowerCase ( str , locale ) {
var lang = SUPPORTED _LOCALE [ locale . toLowerCase ( ) ] ;
if ( lang )
return lowerCase ( str . replace ( lang . regexp , function ( m ) { return lang . map [ m ] ; } ) ) ;
return lowerCase ( str ) ;
}
/ * *
* Lower case as a function .
* /
function lowerCase ( str ) {
return str . toLowerCase ( ) ;
}
2025-04-25 12:30:07 +02:00
; // ./node_modules/no-case/dist.es2015/index.js
2022-12-15 17:47:31 +01:00
// Support camel case ("camelCase" -> "camel Case" and "CAMELCase" -> "CAMEL Case").
var DEFAULT _SPLIT _REGEXP = [ /([a-z0-9])([A-Z])/g , /([A-Z])([A-Z][a-z])/g ] ;
// Remove all non-word characters.
var DEFAULT _STRIP _REGEXP = /[^A-Z0-9]+/gi ;
/ * *
* Normalize the string into something other libraries can manipulate easier .
* /
function noCase ( input , options ) {
if ( options === void 0 ) { options = { } ; }
var _a = options . splitRegexp , splitRegexp = _a === void 0 ? DEFAULT _SPLIT _REGEXP : _a , _b = options . stripRegexp , stripRegexp = _b === void 0 ? DEFAULT _STRIP _REGEXP : _b , _c = options . transform , transform = _c === void 0 ? lowerCase : _c , _d = options . delimiter , delimiter = _d === void 0 ? " " : _d ;
var result = replace ( replace ( input , splitRegexp , "$1\0$2" ) , stripRegexp , "\0" ) ;
var start = 0 ;
var end = result . length ;
// Trim the delimiter from around the output string.
while ( result . charAt ( start ) === "\0" )
start ++ ;
while ( result . charAt ( end - 1 ) === "\0" )
end -- ;
// Transform each token independently.
return result . slice ( start , end ) . split ( "\0" ) . map ( transform ) . join ( delimiter ) ;
}
/ * *
* Replace ` re ` in the input string with the replacement value .
* /
function replace ( input , re , value ) {
if ( re instanceof RegExp )
return input . replace ( re , value ) ;
return re . reduce ( function ( input , re ) { return input . replace ( re , value ) ; } , input ) ;
}
2025-04-25 12:30:07 +02:00
; // ./node_modules/dot-case/dist.es2015/index.js
2022-12-15 17:47:31 +01:00
function dotCase ( input , options ) {
if ( options === void 0 ) { options = { } ; }
return noCase ( input , _ _assign ( { delimiter : "." } , options ) ) ;
}
2025-04-25 12:30:07 +02:00
; // ./node_modules/param-case/dist.es2015/index.js
2022-12-15 17:47:31 +01:00
function paramCase ( input , options ) {
if ( options === void 0 ) { options = { } ; }
return dotCase ( input , _ _assign ( { delimiter : "-" } , options ) ) ;
}
2025-04-25 12:30:07 +02:00
; // external ["wp","escapeHtml"]
2024-04-17 11:32:24 +02:00
const external _wp _escapeHtml _namespaceObject = window [ "wp" ] [ "escapeHtml" ] ;
2025-04-25 12:30:07 +02:00
; // ./node_modules/@wordpress/element/build-module/raw-html.js
2020-09-15 14:29:22 +02:00
2023-09-26 10:33:34 +02:00
function RawHTML ( {
children ,
... props
} ) {
2025-12-12 13:15:55 +01:00
let rawHtml = "" ;
external _React _namespaceObject . Children . toArray ( children ) . forEach ( ( child ) => {
if ( typeof child === "string" && child . trim ( ) !== "" ) {
2022-04-02 10:26:41 +02:00
rawHtml += child ;
}
2023-12-07 09:44:11 +01:00
} ) ;
2025-12-12 13:15:55 +01:00
return ( 0 , external _React _namespaceObject . createElement ) ( "div" , {
dangerouslySetInnerHTML : { _ _html : rawHtml } ,
2021-07-23 11:58:50 +02:00
... props
} ) ;
2019-11-02 10:38:58 +01:00
}
2025-12-12 13:15:55 +01:00
; // ./node_modules/@wordpress/element/build-module/serialize.js
2019-11-02 10:38:58 +01:00
2025-12-12 13:15:55 +01:00
const Context = ( 0 , external _React _namespaceObject . createContext ) ( void 0 ) ;
Context . displayName = "ElementContext" ;
const { Provider , Consumer } = Context ;
2022-06-16 14:03:35 +02:00
const ForwardRef = ( 0 , external _React _namespaceObject . forwardRef ) ( ( ) => {
2019-11-15 22:59:44 +01:00
return null ;
} ) ;
2025-12-12 13:15:55 +01:00
const ATTRIBUTES _TYPES = /* @__PURE__ */ new Set ( [ "string" , "boolean" , "number" ] ) ;
const SELF _CLOSING _TAGS = /* @__PURE__ */ new Set ( [
"area" ,
"base" ,
"br" ,
"col" ,
"command" ,
"embed" ,
"hr" ,
"img" ,
"input" ,
"keygen" ,
"link" ,
"meta" ,
"param" ,
"source" ,
"track" ,
"wbr"
] ) ;
const BOOLEAN _ATTRIBUTES = /* @__PURE__ */ new Set ( [
"allowfullscreen" ,
"allowpaymentrequest" ,
"allowusermedia" ,
"async" ,
"autofocus" ,
"autoplay" ,
"checked" ,
"controls" ,
"default" ,
"defer" ,
"disabled" ,
"download" ,
"formnovalidate" ,
"hidden" ,
"ismap" ,
"itemscope" ,
"loop" ,
"multiple" ,
"muted" ,
"nomodule" ,
"novalidate" ,
"open" ,
"playsinline" ,
"readonly" ,
"required" ,
"reversed" ,
"selected" ,
"typemustmatch"
] ) ;
const ENUMERATED _ATTRIBUTES = /* @__PURE__ */ new Set ( [
"autocapitalize" ,
"autocomplete" ,
"charset" ,
"contenteditable" ,
"crossorigin" ,
"decoding" ,
"dir" ,
"draggable" ,
"enctype" ,
"formenctype" ,
"formmethod" ,
"http-equiv" ,
"inputmode" ,
"kind" ,
"method" ,
"preload" ,
"scope" ,
"shape" ,
"spellcheck" ,
"translate" ,
"type" ,
"wrap"
] ) ;
const CSS _PROPERTIES _SUPPORTS _UNITLESS = /* @__PURE__ */ new Set ( [
"animation" ,
"animationIterationCount" ,
"baselineShift" ,
"borderImageOutset" ,
"borderImageSlice" ,
"borderImageWidth" ,
"columnCount" ,
"cx" ,
"cy" ,
"fillOpacity" ,
"flexGrow" ,
"flexShrink" ,
"floodOpacity" ,
"fontWeight" ,
"gridColumnEnd" ,
"gridColumnStart" ,
"gridRowEnd" ,
"gridRowStart" ,
"lineHeight" ,
"opacity" ,
"order" ,
"orphans" ,
"r" ,
"rx" ,
"ry" ,
"shapeImageThreshold" ,
"stopOpacity" ,
"strokeDasharray" ,
"strokeDashoffset" ,
"strokeMiterlimit" ,
"strokeOpacity" ,
"strokeWidth" ,
"tabSize" ,
"widows" ,
"x" ,
"y" ,
"zIndex" ,
"zoom"
] ) ;
2019-11-02 10:38:58 +01:00
function hasPrefix ( string , prefixes ) {
2025-12-12 13:15:55 +01:00
return prefixes . some ( ( prefix ) => string . indexOf ( prefix ) === 0 ) ;
2019-11-02 10:38:58 +01:00
}
function isInternalAttribute ( attribute ) {
2025-12-12 13:15:55 +01:00
return "key" === attribute || "children" === attribute ;
2019-11-02 10:38:58 +01:00
}
function getNormalAttributeValue ( attribute , value ) {
switch ( attribute ) {
2025-12-12 13:15:55 +01:00
case "style" :
2019-11-02 10:38:58 +01:00
return renderStyle ( value ) ;
}
return value ;
}
2025-12-12 13:15:55 +01:00
const SVG _ATTRIBUTE _WITH _DASHES _LIST = [
"accentHeight" ,
"alignmentBaseline" ,
"arabicForm" ,
"baselineShift" ,
"capHeight" ,
"clipPath" ,
"clipRule" ,
"colorInterpolation" ,
"colorInterpolationFilters" ,
"colorProfile" ,
"colorRendering" ,
"dominantBaseline" ,
"enableBackground" ,
"fillOpacity" ,
"fillRule" ,
"floodColor" ,
"floodOpacity" ,
"fontFamily" ,
"fontSize" ,
"fontSizeAdjust" ,
"fontStretch" ,
"fontStyle" ,
"fontVariant" ,
"fontWeight" ,
"glyphName" ,
"glyphOrientationHorizontal" ,
"glyphOrientationVertical" ,
"horizAdvX" ,
"horizOriginX" ,
"imageRendering" ,
"letterSpacing" ,
"lightingColor" ,
"markerEnd" ,
"markerMid" ,
"markerStart" ,
"overlinePosition" ,
"overlineThickness" ,
"paintOrder" ,
"panose1" ,
"pointerEvents" ,
"renderingIntent" ,
"shapeRendering" ,
"stopColor" ,
"stopOpacity" ,
"strikethroughPosition" ,
"strikethroughThickness" ,
"strokeDasharray" ,
"strokeDashoffset" ,
"strokeLinecap" ,
"strokeLinejoin" ,
"strokeMiterlimit" ,
"strokeOpacity" ,
"strokeWidth" ,
"textAnchor" ,
"textDecoration" ,
"textRendering" ,
"underlinePosition" ,
"underlineThickness" ,
"unicodeBidi" ,
"unicodeRange" ,
"unitsPerEm" ,
"vAlphabetic" ,
"vHanging" ,
"vIdeographic" ,
"vMathematical" ,
"vectorEffect" ,
"vertAdvY" ,
"vertOriginX" ,
"vertOriginY" ,
"wordSpacing" ,
"writingMode" ,
"xmlnsXlink" ,
"xHeight"
] . reduce (
( map , attribute ) => {
map [ attribute . toLowerCase ( ) ] = attribute ;
return map ;
} ,
{ }
) ;
const CASE _SENSITIVE _SVG _ATTRIBUTES = [
"allowReorder" ,
"attributeName" ,
"attributeType" ,
"autoReverse" ,
"baseFrequency" ,
"baseProfile" ,
"calcMode" ,
"clipPathUnits" ,
"contentScriptType" ,
"contentStyleType" ,
"diffuseConstant" ,
"edgeMode" ,
"externalResourcesRequired" ,
"filterRes" ,
"filterUnits" ,
"glyphRef" ,
"gradientTransform" ,
"gradientUnits" ,
"kernelMatrix" ,
"kernelUnitLength" ,
"keyPoints" ,
"keySplines" ,
"keyTimes" ,
"lengthAdjust" ,
"limitingConeAngle" ,
"markerHeight" ,
"markerUnits" ,
"markerWidth" ,
"maskContentUnits" ,
"maskUnits" ,
"numOctaves" ,
"pathLength" ,
"patternContentUnits" ,
"patternTransform" ,
"patternUnits" ,
"pointsAtX" ,
"pointsAtY" ,
"pointsAtZ" ,
"preserveAlpha" ,
"preserveAspectRatio" ,
"primitiveUnits" ,
"refX" ,
"refY" ,
"repeatCount" ,
"repeatDur" ,
"requiredExtensions" ,
"requiredFeatures" ,
"specularConstant" ,
"specularExponent" ,
"spreadMethod" ,
"startOffset" ,
"stdDeviation" ,
"stitchTiles" ,
"suppressContentEditableWarning" ,
"suppressHydrationWarning" ,
"surfaceScale" ,
"systemLanguage" ,
"tableValues" ,
"targetX" ,
"targetY" ,
"textLength" ,
"viewBox" ,
"viewTarget" ,
"xChannelSelector" ,
"yChannelSelector"
] . reduce (
( map , attribute ) => {
map [ attribute . toLowerCase ( ) ] = attribute ;
return map ;
} ,
{ }
) ;
const SVG _ATTRIBUTES _WITH _COLONS = [
"xlink:actuate" ,
"xlink:arcrole" ,
"xlink:href" ,
"xlink:role" ,
"xlink:show" ,
"xlink:title" ,
"xlink:type" ,
"xml:base" ,
"xml:lang" ,
"xml:space" ,
"xmlns:xlink"
] . reduce (
( map , attribute ) => {
map [ attribute . replace ( ":" , "" ) . toLowerCase ( ) ] = attribute ;
return map ;
} ,
{ }
) ;
2019-11-02 10:38:58 +01:00
function getNormalAttributeName ( attribute ) {
switch ( attribute ) {
2025-12-12 13:15:55 +01:00
case "htmlFor" :
return "for" ;
case "className" :
return "class" ;
2019-11-02 10:38:58 +01:00
}
2022-06-16 14:03:35 +02:00
const attributeLowerCase = attribute . toLowerCase ( ) ;
if ( CASE _SENSITIVE _SVG _ATTRIBUTES [ attributeLowerCase ] ) {
return CASE _SENSITIVE _SVG _ATTRIBUTES [ attributeLowerCase ] ;
} else if ( SVG _ATTRIBUTE _WITH _DASHES _LIST [ attributeLowerCase ] ) {
2025-12-12 13:15:55 +01:00
return paramCase (
SVG _ATTRIBUTE _WITH _DASHES _LIST [ attributeLowerCase ]
) ;
2022-06-16 14:03:35 +02:00
} else if ( SVG _ATTRIBUTES _WITH _COLONS [ attributeLowerCase ] ) {
return SVG _ATTRIBUTES _WITH _COLONS [ attributeLowerCase ] ;
}
return attributeLowerCase ;
2019-11-02 10:38:58 +01:00
}
function getNormalStylePropertyName ( property ) {
2025-12-12 13:15:55 +01:00
if ( property . startsWith ( "--" ) ) {
2019-11-02 10:38:58 +01:00
return property ;
}
2025-12-12 13:15:55 +01:00
if ( hasPrefix ( property , [ "ms" , "O" , "Moz" , "Webkit" ] ) ) {
return "-" + paramCase ( property ) ;
2019-11-02 10:38:58 +01:00
}
2022-12-15 17:47:31 +01:00
return paramCase ( property ) ;
2019-11-02 10:38:58 +01:00
}
function getNormalStylePropertyValue ( property , value ) {
2025-12-12 13:15:55 +01:00
if ( typeof value === "number" && 0 !== value && ! hasPrefix ( property , [ "--" ] ) && ! CSS _PROPERTIES _SUPPORTS _UNITLESS . has ( property ) ) {
return value + "px" ;
2019-11-02 10:38:58 +01:00
}
return value ;
}
2023-09-26 10:33:34 +02:00
function renderElement ( element , context , legacyContext = { } ) {
2025-12-12 13:15:55 +01:00
if ( null === element || void 0 === element || false === element ) {
return "" ;
2019-11-02 10:38:58 +01:00
}
if ( Array . isArray ( element ) ) {
return renderChildren ( element , context , legacyContext ) ;
}
2021-07-23 11:58:50 +02:00
switch ( typeof element ) {
2025-12-12 13:15:55 +01:00
case "string" :
2022-06-16 14:03:35 +02:00
return ( 0 , external _wp _escapeHtml _namespaceObject . escapeHTML ) ( element ) ;
2025-12-12 13:15:55 +01:00
case "number" :
2019-11-02 10:38:58 +01:00
return element . toString ( ) ;
}
2025-12-12 13:15:55 +01:00
const { type , props } = element ;
2019-11-02 10:38:58 +01:00
switch ( type ) {
2022-06-16 14:03:35 +02:00
case external _React _namespaceObject . StrictMode :
case external _React _namespaceObject . Fragment :
2019-11-02 10:38:58 +01:00
return renderChildren ( props . children , context , legacyContext ) ;
case RawHTML :
2025-12-12 13:15:55 +01:00
const { children , ... wrapperProps } = props ;
return renderNativeComponent (
! Object . keys ( wrapperProps ) . length ? null : "div" ,
{
... wrapperProps ,
dangerouslySetInnerHTML : { _ _html : children }
} ,
context ,
legacyContext
) ;
2019-11-02 10:38:58 +01:00
}
2021-07-23 11:58:50 +02:00
switch ( typeof type ) {
2025-12-12 13:15:55 +01:00
case "string" :
2019-11-02 10:38:58 +01:00
return renderNativeComponent ( type , props , context , legacyContext ) ;
2025-12-12 13:15:55 +01:00
case "function" :
if ( type . prototype && typeof type . prototype . render === "function" ) {
2019-11-02 10:38:58 +01:00
return renderComponent ( type , props , context , legacyContext ) ;
}
2025-12-12 13:15:55 +01:00
return renderElement (
type ( props , legacyContext ) ,
context ,
legacyContext
) ;
2019-11-02 10:38:58 +01:00
}
switch ( type && type . $$typeof ) {
case Provider . $$typeof :
return renderChildren ( props . children , props . value , legacyContext ) ;
case Consumer . $$typeof :
2025-12-12 13:15:55 +01:00
return renderElement (
props . children ( context || type . _currentValue ) ,
context ,
legacyContext
) ;
2019-11-15 22:59:44 +01:00
case ForwardRef . $$typeof :
2025-12-12 13:15:55 +01:00
return renderElement (
type . render ( props ) ,
context ,
legacyContext
) ;
2019-11-02 10:38:58 +01:00
}
2025-12-12 13:15:55 +01:00
return "" ;
2019-11-02 10:38:58 +01:00
}
2023-09-26 10:33:34 +02:00
function renderNativeComponent ( type , props , context , legacyContext = { } ) {
2025-12-12 13:15:55 +01:00
let content = "" ;
if ( type === "textarea" && props . hasOwnProperty ( "value" ) ) {
2019-11-02 10:38:58 +01:00
content = renderChildren ( props . value , context , legacyContext ) ;
2025-12-12 13:15:55 +01:00
const { value , ... restProps } = props ;
2022-12-15 17:47:31 +01:00
props = restProps ;
2025-12-12 13:15:55 +01:00
} else if ( props . dangerouslySetInnerHTML && typeof props . dangerouslySetInnerHTML . _ _html === "string" ) {
2019-11-02 10:38:58 +01:00
content = props . dangerouslySetInnerHTML . _ _html ;
2025-12-12 13:15:55 +01:00
} else if ( typeof props . children !== "undefined" ) {
2019-11-02 10:38:58 +01:00
content = renderChildren ( props . children , context , legacyContext ) ;
}
if ( ! type ) {
return content ;
}
2021-07-23 11:58:50 +02:00
const attributes = renderAttributes ( props ) ;
2019-11-02 10:38:58 +01:00
if ( SELF _CLOSING _TAGS . has ( type ) ) {
2025-12-12 13:15:55 +01:00
return "<" + type + attributes + "/>" ;
2019-11-02 10:38:58 +01:00
}
2025-12-12 13:15:55 +01:00
return "<" + type + attributes + ">" + content + "</" + type + ">" ;
2019-11-02 10:38:58 +01:00
}
2023-09-26 10:33:34 +02:00
function renderComponent ( Component , props , context , legacyContext = { } ) {
2025-12-12 13:15:55 +01:00
const instance = new Component ( props , legacyContext ) ;
if ( typeof instance . getChildContext === "function" ) {
Object . assign ( legacyContext , instance . getChildContext ( ) ) ;
2019-11-02 10:38:58 +01:00
}
2021-07-23 11:58:50 +02:00
const html = renderElement ( instance . render ( ) , context , legacyContext ) ;
2019-11-02 10:38:58 +01:00
return html ;
}
2023-09-26 10:33:34 +02:00
function renderChildren ( children , context , legacyContext = { } ) {
2025-12-12 13:15:55 +01:00
let result = "" ;
const childrenArray = Array . isArray ( children ) ? children : [ children ] ;
for ( let i = 0 ; i < childrenArray . length ; i ++ ) {
const child = childrenArray [ i ] ;
2019-11-02 10:38:58 +01:00
result += renderElement ( child , context , legacyContext ) ;
}
return result ;
}
function renderAttributes ( props ) {
2025-12-12 13:15:55 +01:00
let result = "" ;
2021-07-23 11:58:50 +02:00
for ( const key in props ) {
const attribute = getNormalAttributeName ( key ) ;
2022-06-16 14:03:35 +02:00
if ( ! ( 0 , external _wp _escapeHtml _namespaceObject . isValidAttributeName ) ( attribute ) ) {
2019-11-02 10:38:58 +01:00
continue ;
}
2023-12-07 09:44:11 +01:00
let value = getNormalAttributeValue ( key , props [ key ] ) ;
2021-07-23 11:58:50 +02:00
if ( ! ATTRIBUTES _TYPES . has ( typeof value ) ) {
2019-11-02 10:38:58 +01:00
continue ;
2023-12-07 09:44:11 +01:00
}
2019-11-02 10:38:58 +01:00
if ( isInternalAttribute ( key ) ) {
continue ;
}
2023-12-07 09:44:11 +01:00
const isBooleanAttribute = BOOLEAN _ATTRIBUTES . has ( attribute ) ;
2019-11-02 10:38:58 +01:00
if ( isBooleanAttribute && value === false ) {
continue ;
}
2025-12-12 13:15:55 +01:00
const isMeaningfulAttribute = isBooleanAttribute || hasPrefix ( key , [ "data-" , "aria-" ] ) || ENUMERATED _ATTRIBUTES . has ( attribute ) ;
if ( typeof value === "boolean" && ! isMeaningfulAttribute ) {
2019-11-02 10:38:58 +01:00
continue ;
}
2025-12-12 13:15:55 +01:00
result += " " + attribute ;
2019-11-02 10:38:58 +01:00
if ( isBooleanAttribute ) {
continue ;
}
2025-12-12 13:15:55 +01:00
if ( typeof value === "string" ) {
2022-06-16 14:03:35 +02:00
value = ( 0 , external _wp _escapeHtml _namespaceObject . escapeAttribute ) ( value ) ;
2019-11-02 10:38:58 +01:00
}
result += '="' + value + '"' ;
}
return result ;
}
function renderStyle ( style ) {
2022-12-15 17:47:31 +01:00
if ( ! isPlainObject ( style ) ) {
2019-11-02 10:38:58 +01:00
return style ;
}
2021-07-23 11:58:50 +02:00
let result ;
2025-12-12 13:15:55 +01:00
const styleObj = style ;
for ( const property in styleObj ) {
const value = styleObj [ property ] ;
if ( null === value || void 0 === value ) {
2019-11-02 10:38:58 +01:00
continue ;
}
if ( result ) {
2025-12-12 13:15:55 +01:00
result += ";" ;
2019-11-02 10:38:58 +01:00
} else {
2025-12-12 13:15:55 +01:00
result = "" ;
2019-11-02 10:38:58 +01:00
}
2021-07-23 11:58:50 +02:00
const normalName = getNormalStylePropertyName ( property ) ;
const normalValue = getNormalStylePropertyValue ( property , value ) ;
2025-12-12 13:15:55 +01:00
result += normalName + ":" + normalValue ;
2019-11-02 10:38:58 +01:00
}
return result ;
}
2025-12-12 13:15:55 +01:00
var serialize _default = renderElement ;
2019-11-02 10:38:58 +01:00
2025-04-25 12:30:07 +02:00
; // ./node_modules/@wordpress/element/build-module/index.js
2019-11-02 10:38:58 +01:00
2025-12-12 13:15:55 +01:00
2022-06-16 14:03:35 +02:00
( window . wp = window . wp || { } ) . element = _ _webpack _exports _ _ ;
/******/ } ) ( )
;