HEX
Server: Apache
System: Linux p3plzcpnl505785.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: xuvi7odgswsg (6947073)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: /home/xuvi7odgswsg/public_html/wp-content/plugins/bb-plugin/src/builder/index.js
import React from 'react'
import { render } from 'react-dom'
import UI from './ui'

// Setup Store Registry and Initialize System Store
import * as data from './data'

const { registerPanel, displayPanel, togglePanel } = data.getSystemActions()

// Setup public API - window.FL.Builder
const api = window.FL || {}
const existing = api.Builder || {}

const Builder = {
	...existing,
	data,
	registerPanel,
	displayPanel,
	togglePanel,
}

window.FL = {
	...api,
	Builder,
}

// Render UI
const root = document.getElementById( 'fl-ui-root' )
root.classList.add( 'fluid', 'fl', 'uid' )

render( <UI />, root )