O:41:"Symfony\Component\AssetMapper\MappedAsset":12:{s:10:"sourcePath";s:137:"C:\Users\matthieu.nowak\OneDrive - Médical Santé Grand Nord\Documents\site-sma\vendor\symfony\ux-react\assets\dist\render_controller.js";s:10:"publicPath";s:79:"/assets/@symfony/ux-react/render_controller-2208cb77e7c4e4a7c19ce4c1533ef747.js";s:23:"publicPathWithoutDigest";s:46:"/assets/@symfony/ux-react/render_controller.js";s:15:"publicExtension";s:2:"js";s:7:"content";s:2315:"import React from 'react'; import require$$0 from 'react-dom'; import { Controller } from '@hotwired/stimulus'; var client = {}; var hasRequiredClient; function requireClient () { if (hasRequiredClient) return client; hasRequiredClient = 1; var m = require$$0; if ('development' === 'production') { client.createRoot = m.createRoot; client.hydrateRoot = m.hydrateRoot; } else { var i = m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; client.createRoot = function(c, o) { i.usingClientEntryPoint = true; try { return m.createRoot(c, o); } finally { i.usingClientEntryPoint = false; } }; client.hydrateRoot = function(c, h, o) { i.usingClientEntryPoint = true; try { return m.hydrateRoot(c, h, o); } finally { i.usingClientEntryPoint = false; } }; } return client; } var clientExports = requireClient(); class default_1 extends Controller { connect() { const props = this.propsValue ? this.propsValue : null; this.dispatchEvent('connect', { component: this.componentValue, props: props }); if (!this.componentValue) { throw new Error('No component specified.'); } const component = window.resolveReactComponent(this.componentValue); this._renderReactElement(React.createElement(component, props, null)); this.dispatchEvent('mount', { componentName: this.componentValue, component: component, props: props, }); } disconnect() { if (this.permanentValue) { return; } this.element.root.unmount(); this.dispatchEvent('unmount', { component: this.componentValue, props: this.propsValue ? this.propsValue : null, }); } _renderReactElement(reactElement) { const element = this.element; if (!element.root) { element.root = clientExports.createRoot(this.element); } element.root.render(reactElement); } dispatchEvent(name, payload) { this.dispatch(name, { detail: payload, prefix: 'react' }); } } default_1.values = { component: String, props: Object, permanent: { type: Boolean, default: false }, }; export { default_1 as default }; ";s:6:"digest";s:32:"2208cb77e7c4e4a7c19ce4c1533ef747";s:13:"isPredigested";b:0;s:8:"isVendor";b:0;s:55:"Symfony\Component\AssetMapper\MappedAssetdependencies";a:0:{}s:59:"Symfony\Component\AssetMapper\MappedAssetfileDependencies";a:0:{}s:60:"Symfony\Component\AssetMapper\MappedAssetjavaScriptImports";a:2:{i:0;O:56:"Symfony\Component\AssetMapper\ImportMap\JavaScriptImport":5:{s:10:"importName";s:5:"react";s:16:"assetLogicalPath";s:27:"vendor/react/react.index.js";s:15:"assetSourcePath";s:115:"C:\Users\matthieu.nowak\OneDrive - Médical Santé Grand Nord\Documents\site-sma\assets\vendor\react\react.index.js";s:6:"isLazy";b:0;s:24:"addImplicitlyToImportMap";b:0;}i:1;O:56:"Symfony\Component\AssetMapper\ImportMap\JavaScriptImport":5:{s:10:"importName";s:18:"@hotwired/stimulus";s:16:"assetLogicalPath";s:43:"vendor/@hotwired/stimulus/stimulus.index.js";s:15:"assetSourcePath";s:131:"C:\Users\matthieu.nowak\OneDrive - Médical Santé Grand Nord\Documents\site-sma\assets\vendor\@hotwired\stimulus\stimulus.index.js";s:6:"isLazy";b:0;s:24:"addImplicitlyToImportMap";b:0;}}s:11:"logicalPath";s:38:"@symfony/ux-react/render_controller.js";}