/*! elementor - v3.27.0 - 03-02-2025 */
/******/ (() => { // webpackBootstrap
/******/ var __webpack_modules__ = ({
/***/ "../assets/dev/js/utils/react.js":
/*!***************************************!*\
!*** ../assets/dev/js/utils/react.js ***!
\***************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../node_modules/@babel/runtime/helpers/typeof.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
var React = _interopRequireWildcard(__webpack_require__(/*! react */ "react"));
var ReactDOM = _interopRequireWildcard(__webpack_require__(/*! react-dom */ "react-dom"));
var _client = __webpack_require__(/*! react-dom/client */ "../node_modules/react-dom/client.js");
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
/**
* Support conditional rendering of a React App to the DOM, based on the React version.
* We use `createRoot` when available, but fallback to `ReactDOM.render` for older versions.
*
* @param { React.ReactElement } app The app to render.
* @param { HTMLElement } domElement The DOM element to render the app into.
*
* @return {{ unmount: () => void }} The unmount function.
*/
function render(app, domElement) {
var unmountFunction;
try {
var root = (0, _client.createRoot)(domElement);
root.render(app);
unmountFunction = function unmountFunction() {
root.unmount();
};
} catch (e) {
// eslint-disable-next-line react/no-deprecated
ReactDOM.render(app, domElement);
unmountFunction = function unmountFunction() {
// eslint-disable-next-line react/no-deprecated
ReactDOM.unmountComponentAtNode(domElement);
};
}
return {
unmount: unmountFunction
};
}
var _default = exports["default"] = {
render: render
};
/***/ }),
/***/ "../modules/home/assets/js/components/addons-section.js":
/*!**************************************************************!*\
!*** ../modules/home/assets/js/components/addons-section.js ***!
\**************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
/* provided dependency */ var PropTypes = __webpack_require__(/*! prop-types */ "../node_modules/prop-types/index.js");
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
var _react = _interopRequireDefault(__webpack_require__(/*! react */ "react"));
var _objectDestructuringEmpty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/objectDestructuringEmpty */ "../node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js"));
var _extends2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/extends */ "../node_modules/@babel/runtime/helpers/extends.js"));
var _ui = __webpack_require__(/*! @elementor/ui */ "@elementor/ui");
var _List = _interopRequireDefault(__webpack_require__(/*! @elementor/ui/List */ "@elementor/ui/List"));
var _Link = _interopRequireDefault(__webpack_require__(/*! @elementor/ui/Link */ "@elementor/ui/Link"));
var _Button = _interopRequireDefault(__webpack_require__(/*! @elementor/ui/Button */ "@elementor/ui/Button"));
var _Card = _interopRequireDefault(__webpack_require__(/*! @elementor/ui/Card */ "@elementor/ui/Card"));
var _CardActions = _interopRequireDefault(__webpack_require__(/*! @elementor/ui/CardActions */ "@elementor/ui/CardActions"));
var _CardContent = _interopRequireDefault(__webpack_require__(/*! @elementor/ui/CardContent */ "@elementor/ui/CardContent"));
var _CardMedia = _interopRequireDefault(__webpack_require__(/*! @elementor/ui/CardMedia */ "@elementor/ui/CardMedia"));
var Addons = function Addons(_ref) {
var props = (0, _extends2.default)({}, ((0, _objectDestructuringEmpty2.default)(_ref), _ref));
var domain = props.adminUrl.replace('wp-admin/', '');
var addonsArray = props.addonsData.repeater;
var cardsPerRow = 3 === addonsArray.length ? 3 : 2;
return /*#__PURE__*/_react.default.createElement(_ui.Paper, {
elevation: 0,
sx: {
p: 3,
display: 'flex',
flexDirection: 'column',
gap: 2
}
}, /*#__PURE__*/_react.default.createElement(_ui.Box, null, /*#__PURE__*/_react.default.createElement(_ui.Typography, {
variant: "h6"
}, props.addonsData.header.title), /*#__PURE__*/_react.default.createElement(_ui.Typography, {
variant: "body2",
color: "text.secondary"
}, props.addonsData.header.description)), /*#__PURE__*/_react.default.createElement(_List.default, {
sx: {
display: 'grid',
gridTemplateColumns: {
md: "repeat(".concat(cardsPerRow, ", 1fr)"),
xs: 'repeat(1, 1fr)'
},
gap: 2
}
}, addonsArray.map(function (item) {
var linkTarget = item.hasOwnProperty('target') ? item.target : '_blank';
return /*#__PURE__*/_react.default.createElement(_Card.default, {
key: item.title,
elevation: 0,
sx: {
display: 'flex',
border: 1,
borderRadius: 1,
borderColor: 'action.focus'
}
}, /*#__PURE__*/_react.default.createElement(_CardContent.default, {
sx: {
display: 'flex',
flexDirection: 'column',
justifyContent: 'space-between',
gap: 3,
p: 3
}
}, /*#__PURE__*/_react.default.createElement(_ui.Box, null, /*#__PURE__*/_react.default.createElement(_CardMedia.default, {
image: item.image,
sx: {
height: '58px',
width: '58px',
mb: 2
}
}), /*#__PURE__*/_react.default.createElement(_ui.Box, null, /*#__PURE__*/_react.default.createElement(_ui.Typography, {
variant: "subtitle2"
}, item.title), /*#__PURE__*/_react.default.createElement(_ui.Typography, {
variant: "body2",
color: "text.secondary"
}, item.description))), /*#__PURE__*/_react.default.createElement(_CardActions.default, {
sx: {
p: 0
}
}, /*#__PURE__*/_react.default.createElement(_Button.default, {
variant: "outlined",
size: "small",
color: "promotion",
href: item.url,
target: linkTarget
}, item.button_label))));
})), /*#__PURE__*/_react.default.createElement(_Link.default, {
variant: "body2",
color: "info.main",
underline: "none",
href: "".concat(domain).concat(props.addonsData.footer.file_path)
}, props.addonsData.footer.label));
};
var _default = exports["default"] = Addons;
Addons.propTypes = {
addonsData: PropTypes.object.isRequired,
adminUrl: PropTypes.string.isRequired
};
/***/ }),
/***/ "../modules/home/assets/js/components/create-new-page-dialog.js":
/*!**********************************************************************!*\
!*** ../modules/home/assets/js/components/create-new-page-dialog.js ***!
\**********************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
/* provided dependency */ var __ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n")["__"];
/* provided dependency */ var PropTypes = __webpack_require__(/*! prop-types */ "../node_modules/prop-types/index.js");
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../node_modules/@babel/runtime/helpers/typeof.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
var _react = _interopRequireWildcard(__webpack_require__(/*! react */ "react"));
var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ "../node_modules/@babel/runtime/helpers/slicedToArray.js"));
var _DialogHeader = _interopRequireDefault(__webpack_require__(/*! @elementor/ui/DialogHeader */ "@elementor/ui/DialogHeader"));
var _DialogHeaderGroup = _interopRequireDefault(__webpack_require__(/*! @elementor/ui/DialogHeaderGroup */ "@elementor/ui/DialogHeaderGroup"));
var _DialogTitle = _interopRequireDefault(__webpack_require__(/*! @elementor/ui/DialogTitle */ "@elementor/ui/DialogTitle"));
var _DialogContent = _interopRequireDefault(__webpack_require__(/*! @elementor/ui/DialogContent */ "@elementor/ui/DialogContent"));
var _DialogContentText = _interopRequireDefault(__webpack_require__(/*! @elementor/ui/DialogContentText */ "@elementor/ui/DialogContentText"));
var _TextField = _interopRequireDefault(__webpack_require__(/*! @elementor/ui/TextField */ "@elementor/ui/TextField"));
var _DialogActions = _interopRequireDefault(__webpack_require__(/*! @elementor/ui/DialogActions */ "@elementor/ui/DialogActions"));
var _Button = _interopRequireDefault(__webpack_require__(/*! @elementor/ui/Button */ "@elementor/ui/Button"));
var _Dialog = _interopRequireDefault(__webpack_require__(/*! @elementor/ui/Dialog */ "@elementor/ui/Dialog"));
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
var CreateNewPageDialog = function CreateNewPageDialog(_ref) {
var url = _ref.url,
isOpen = _ref.isOpen,
closedDialogCallback = _ref.closedDialogCallback;
var _React$useState = _react.default.useState(false),
_React$useState2 = (0, _slicedToArray2.default)(_React$useState, 2),
open = _React$useState2[0],
setOpen = _React$useState2[1];
var _React$useState3 = _react.default.useState(''),
_React$useState4 = (0, _slicedToArray2.default)(_React$useState3, 2),
pageName = _React$useState4[0],
setPageName = _React$useState4[1];
(0, _react.useEffect)(function () {
setOpen(isOpen);
}, [isOpen]);
var handleDialogClose = function handleDialogClose() {
setOpen(false);
closedDialogCallback();
};
var handleChange = function handleChange(event) {
var urlParams = new URLSearchParams();
urlParams.append('post_data[post_title]', event.target.value);
setPageName(urlParams.toString());
};
return /*#__PURE__*/_react.default.createElement(_Dialog.default, {
open: open,
onClose: handleDialogClose,
maxWidth: "xs",
width: "xs",
fullWidth: true
}, /*#__PURE__*/_react.default.createElement(_DialogHeader.default, null, /*#__PURE__*/_react.default.createElement(_DialogHeaderGroup.default, null, /*#__PURE__*/_react.default.createElement(_DialogTitle.default, null, __('Name your page', 'elementor')))), /*#__PURE__*/_react.default.createElement(_DialogContent.default, {
dividers: true
}, /*#__PURE__*/_react.default.createElement(_DialogContentText.default, {
sx: {
mb: 2
}
}, __('To proceed, please name your first page,', 'elementor'), /*#__PURE__*/_react.default.createElement("br", null), __('or rename it later.', 'elementor')), /*#__PURE__*/_react.default.createElement(_TextField.default, {
onChange: handleChange,
fullWidth: true,
placeholder: __('New Page', 'elementor')
})), /*#__PURE__*/_react.default.createElement(_DialogActions.default, null, /*#__PURE__*/_react.default.createElement(_Button.default, {
onClick: handleDialogClose,
color: "secondary"
}, __('Cancel', 'elementor')), /*#__PURE__*/_react.default.createElement(_Button.default, {
variant: "contained",
href: pageName ? url + '&' + pageName : url,
target: "_blank"
}, __('Save', 'elementor'))));
};
var _default = exports["default"] = CreateNewPageDialog;
CreateNewPageDialog.propTypes = {
url: PropTypes.string.isRequired,
isOpen: PropTypes.bool.isRequired,
closedDialogCallback: PropTypes.func.isRequired
};
/***/ }),
/***/ "../modules/home/assets/js/components/external-links-section.js":
/*!**********************************************************************!*\
!*** ../modules/home/assets/js/components/external-links-section.js ***!
\**********************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
/* provided dependency */ var PropTypes = __webpack_require__(/*! prop-types */ "../node_modules/prop-types/index.js");
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
var _react = _interopRequireDefault(__webpack_require__(/*! react */ "react"));
var _objectDestructuringEmpty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/objectDestructuringEmpty */ "../node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js"));
var _extends2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/extends */ "../node_modules/@babel/runtime/helpers/extends.js"));
var _ui = __webpack_require__(/*! @elementor/ui */ "@elementor/ui");
var _List = _interopRequireDefault(__webpack_require__(/*! @elementor/ui/List */ "@elementor/ui/List"));
var _ListItemButton = _interopRequireDefault(__webpack_require__(/*! @elementor/ui/ListItemButton */ "@elementor/ui/ListItemButton"));
var _ListItemText = _interopRequireDefault(__webpack_require__(/*! @elementor/ui/ListItemText */ "@elementor/ui/ListItemText"));
var _Divider = _interopRequireDefault(__webpack_require__(/*! @elementor/ui/Divider */ "@elementor/ui/Divider"));
var ExternalLinksSection = function ExternalLinksSection(_ref) {
var props = (0, _extends2.default)({}, ((0, _objectDestructuringEmpty2.default)(_ref), _ref));
return /*#__PURE__*/_react.default.createElement(_ui.Paper, {
elevation: 0,
sx: {
px: 3
}
}, /*#__PURE__*/_react.default.createElement(_List.default, null, props.externalLinksData.map(function (item, index) {
return /*#__PURE__*/_react.default.createElement(_ui.Box, {
key: item.label
}, /*#__PURE__*/_react.default.createElement(_ListItemButton.default, {
href: item.url,
target: "_blank",
sx: {
'&:hover': {
backgroundColor: 'initial'
},
gap: 2,
px: 0,
py: 2
}
}, /*#__PURE__*/_react.default.createElement(_ui.Box, {
component: "img",
src: item.image,
sx: {
width: '38px'
}
}), /*#__PURE__*/_react.default.createElement(_ListItemText.default, {
sx: {
color: 'text.secondary'
},
primary: item.label
})), index < props.externalLinksData.length - 1 && /*#__PURE__*/_react.default.createElement(_Divider.default, null));
})));
};
var _default = exports["default"] = ExternalLinksSection;
ExternalLinksSection.propTypes = {
externalLinksData: PropTypes.array.isRequired
};
/***/ }),
/***/ "../modules/home/assets/js/components/get-started-list-item.js":
/*!*********************************************************************!*\
!*** ../modules/home/assets/js/components/get-started-list-item.js ***!
\*********************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
/* provided dependency */ var PropTypes = __webpack_require__(/*! prop-types */ "../node_modules/prop-types/index.js");
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
var _react = _interopRequireDefault(__webpack_require__(/*! react */ "react"));
var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ "../node_modules/@babel/runtime/helpers/slicedToArray.js"));
var _ListItem = _interopRequireDefault(__webpack_require__(/*! @elementor/ui/ListItem */ "@elementor/ui/ListItem"));
var _ListItemText = _interopRequireDefault(__webpack_require__(/*! @elementor/ui/ListItemText */ "@elementor/ui/ListItemText"));
var _Link = _interopRequireDefault(__webpack_require__(/*! @elementor/ui/Link */ "@elementor/ui/Link"));
var _Box = _interopRequireDefault(__webpack_require__(/*! @elementor/ui/Box */ "@elementor/ui/Box"));
var _createNewPageDialog = _interopRequireDefault(__webpack_require__(/*! ./create-new-page-dialog */ "../modules/home/assets/js/components/create-new-page-dialog.js"));
var GetStartedListItem = function GetStartedListItem(_ref) {
var item = _ref.item,
image = _ref.image,
adminUrl = _ref.adminUrl;
var url = item.is_relative_url ? adminUrl + item.url : item.url;
var _React$useState = _react.default.useState(false),
_React$useState2 = (0, _slicedToArray2.default)(_React$useState, 2),
isOpen = _React$useState2[0],
openDialog = _React$useState2[1];
var handleLinkClick = function handleLinkClick(event) {
if (!item.new_page) {
return;
}
event.preventDefault();
openDialog(true);
};
return /*#__PURE__*/_react.default.createElement(_ListItem.default, {
alignItems: "flex-start",
sx: {
gap: 1,
p: 0,
maxWidth: '150px'
}
}, /*#__PURE__*/_react.default.createElement(_Box.default, {
component: "img",
src: image
}), /*#__PURE__*/_react.default.createElement(_Box.default, null, /*#__PURE__*/_react.default.createElement(_ListItemText.default, {
primary: item.title,
primaryTypographyProps: {
variant: 'subtitle1'
},
sx: {
my: 0
}
}), /*#__PURE__*/_react.default.createElement(_Link.default, {
variant: "body2",
color: item.title_small_color ? item.title_small_color : 'text.tertiary',
underline: "hover",
href: url,
target: "_blank",
onClick: handleLinkClick
}, item.title_small)), item.new_page && /*#__PURE__*/_react.default.createElement(_createNewPageDialog.default, {
url: url,
isOpen: isOpen,
closedDialogCallback: function closedDialogCallback() {
return openDialog(false);
}
}));
};
var _default = exports["default"] = GetStartedListItem;
GetStartedListItem.propTypes = {
item: PropTypes.shape({
title: PropTypes.string.isRequired,
title_small: PropTypes.string.isRequired,
url: PropTypes.string.isRequired,
new_page: PropTypes.bool,
is_relative_url: PropTypes.bool,
title_small_color: PropTypes.string
}).isRequired,
adminUrl: PropTypes.string.isRequired,
image: PropTypes.string
};
/***/ }),
/***/ "../modules/home/assets/js/components/get-started-section.js":
/*!*******************************************************************!*\
!*** ../modules/home/assets/js/components/get-started-section.js ***!
\*******************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
/* provided dependency */ var PropTypes = __webpack_require__(/*! prop-types */ "../node_modules/prop-types/index.js");
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
var _react = _interopRequireDefault(__webpack_require__(/*! react */ "react"));
var _objectDestructuringEmpty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/objectDestructuringEmpty */ "../node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js"));
var _extends2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/extends */ "../node_modules/@babel/runtime/helpers/extends.js"));
var _ui = __webpack_require__(/*! @elementor/ui */ "@elementor/ui");
var _List = _interopRequireDefault(__webpack_require__(/*! @elementor/ui/List */ "@elementor/ui/List"));
var _getStartedListItem = _interopRequireDefault(__webpack_require__(/*! ./get-started-list-item */ "../modules/home/assets/js/components/get-started-list-item.js"));
var GetStarted = function GetStarted(_ref) {
var props = (0, _extends2.default)({}, ((0, _objectDestructuringEmpty2.default)(_ref), _ref));
return /*#__PURE__*/_react.default.createElement(_ui.Paper, {
elevation: 0,
sx: {
p: 3,
display: 'flex',
flexDirection: 'column',
gap: 2
}
}, /*#__PURE__*/_react.default.createElement(_ui.Box, null, /*#__PURE__*/_react.default.createElement(_ui.Typography, {
variant: "h6"
}, props.getStartedData.header.title), /*#__PURE__*/_react.default.createElement(_ui.Typography, {
variant: "body2",
color: "text.secondary"
}, props.getStartedData.header.description)), /*#__PURE__*/_react.default.createElement(_List.default, {
sx: {
display: 'grid',
gridTemplateColumns: {
md: 'repeat(4, 1fr)',
xs: 'repeat(2, 1fr)'
},
columnGap: {
md: 9,
xs: 7
},
rowGap: 3
}
}, props.getStartedData.repeater.map(function (item) {
return /*#__PURE__*/_react.default.createElement(_getStartedListItem.default, {
key: item.title,
item: item,
image: item.image,
adminUrl: props.adminUrl
});
})));
};
var _default = exports["default"] = GetStarted;
GetStarted.propTypes = {
getStartedData: PropTypes.object.isRequired,
adminUrl: PropTypes.string.isRequired
};
/***/ }),
/***/ "../modules/home/assets/js/components/home-screen.js":
/*!***********************************************************!*\
!*** ../modules/home/assets/js/components/home-screen.js ***!
\***********************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
/* provided dependency */ var PropTypes = __webpack_require__(/*! prop-types */ "../node_modules/prop-types/index.js");
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
var _react = _interopRequireDefault(__webpack_require__(/*! react */ "react"));
var _ui = __webpack_require__(/*! @elementor/ui */ "@elementor/ui");
var _topSection = _interopRequireDefault(__webpack_require__(/*! ./top-section */ "../modules/home/assets/js/components/top-section.js"));
var _sidebarPromotion = _interopRequireDefault(__webpack_require__(/*! ./sidebar-promotion */ "../modules/home/assets/js/components/sidebar-promotion.js"));
var _addonsSection = _interopRequireDefault(__webpack_require__(/*! ./addons-section */ "../modules/home/assets/js/components/addons-section.js"));
var _externalLinksSection = _interopRequireDefault(__webpack_require__(/*! ./external-links-section */ "../modules/home/assets/js/components/external-links-section.js"));
var _getStartedSection = _interopRequireDefault(__webpack_require__(/*! ./get-started-section */ "../modules/home/assets/js/components/get-started-section.js"));
var HomeScreen = function HomeScreen(props) {
var hasSidebarUpgrade = props.homeScreenData.hasOwnProperty('sidebar_upgrade');
return /*#__PURE__*/ /* Box wrapper around the Container is needed to neutralize wp-content area left-padding */_react.default.createElement(_ui.Box, {
sx: {
pr: 1
}
}, /*#__PURE__*/_react.default.createElement(_ui.Container, {
disableGutters: true,
maxWidth: "lg",
sx: {
display: 'flex',
flexDirection: 'column',
gap: {
xs: 1,
md: 3
},
pt: {
xs: 2,
md: 6
},
pb: 2
}
}, /*#__PURE__*/_react.default.createElement(_topSection.default, {
topData: props.homeScreenData.top_with_licences,
createNewPageUrl: props.homeScreenData.create_new_page_url
}), /*#__PURE__*/_react.default.createElement(_ui.Box, {
sx: {
display: 'flex',
flexDirection: {
xs: 'column',
sm: 'row'
},
justifyContent: 'space-between',
gap: 3
}
}, /*#__PURE__*/_react.default.createElement(_ui.Stack, {
sx: {
flex: 1,
gap: 3
}
}, /*#__PURE__*/_react.default.createElement(_getStartedSection.default, {
getStartedData: props.homeScreenData.get_started,
adminUrl: props.adminUrl
}), /*#__PURE__*/_react.default.createElement(_addonsSection.default, {
addonsData: props.homeScreenData.add_ons,
adminUrl: props.adminUrl
})), /*#__PURE__*/_react.default.createElement(_ui.Container, {
maxWidth: "xs",
disableGutters: true,
sx: {
width: {
sm: '305px'
},
display: 'flex',
flexDirection: 'column',
gap: 3
}
}, hasSidebarUpgrade && /*#__PURE__*/_react.default.createElement(_sidebarPromotion.default, {
sideData: props.homeScreenData.sidebar_upgrade
}), /*#__PURE__*/_react.default.createElement(_externalLinksSection.default, {
externalLinksData: props.homeScreenData.external_links
})))));
};
HomeScreen.propTypes = {
homeScreenData: PropTypes.object,
adminUrl: PropTypes.string
};
var _default = exports["default"] = HomeScreen;
/***/ }),
/***/ "../modules/home/assets/js/components/sidebar-promotion.js":
/*!*****************************************************************!*\
!*** ../modules/home/assets/js/components/sidebar-promotion.js ***!
\*****************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
/* provided dependency */ var PropTypes = __webpack_require__(/*! prop-types */ "../node_modules/prop-types/index.js");
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
var _react = _interopRequireDefault(__webpack_require__(/*! react */ "react"));
var _objectDestructuringEmpty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/objectDestructuringEmpty */ "../node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js"));
var _extends2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/extends */ "../node_modules/@babel/runtime/helpers/extends.js"));
var _ui = __webpack_require__(/*! @elementor/ui */ "@elementor/ui");
var _Button = _interopRequireDefault(__webpack_require__(/*! @elementor/ui/Button */ "@elementor/ui/Button"));
var _List = _interopRequireDefault(__webpack_require__(/*! @elementor/ui/List */ "@elementor/ui/List"));
var _ListItem = _interopRequireDefault(__webpack_require__(/*! @elementor/ui/ListItem */ "@elementor/ui/ListItem"));
var _ListItemText = _interopRequireDefault(__webpack_require__(/*! @elementor/ui/ListItemText */ "@elementor/ui/ListItemText"));
var _sideBarCheckIcon = _interopRequireDefault(__webpack_require__(/*! ../icons/side-bar-check-icon */ "../modules/home/assets/js/icons/side-bar-check-icon.js"));
var SideBarPromotion = function SideBarPromotion(_ref) {
var props = (0, _extends2.default)({}, ((0, _objectDestructuringEmpty2.default)(_ref), _ref));
return /*#__PURE__*/_react.default.createElement(_ui.Paper, {
elevation: 0,
sx: {
p: 3
}
}, /*#__PURE__*/_react.default.createElement(_ui.Stack, {
gap: 1.5,
sx: {
alignItems: 'center',
textAlign: 'center',
pb: 4
}
}, /*#__PURE__*/_react.default.createElement(_ui.Box, {
component: "img",
src: props.sideData.header.image
}), /*#__PURE__*/_react.default.createElement(_ui.Box, null, /*#__PURE__*/_react.default.createElement(_ui.Typography, {
variant: "h6"
}, props.sideData.header.title), /*#__PURE__*/_react.default.createElement(_ui.Typography, {
variant: "body2",
color: "text.secondary"
}, props.sideData.header.description)), /*#__PURE__*/_react.default.createElement(_Button.default, {
variant: "contained",
size: "medium",
color: "promotion",
href: props.sideData.cta.url,
startIcon: /*#__PURE__*/_react.default.createElement(_ui.Box, {
component: "img",
src: props.sideData.cta.image,
sx: {
width: '16px'
}
}),
target: "_blank",
sx: {
maxWidth: 'fit-content'
}
}, props.sideData.cta.label)), /*#__PURE__*/_react.default.createElement(_List.default, {
sx: {
p: 0
}
}, props.sideData.repeater.map(function (item, index) {
return /*#__PURE__*/_react.default.createElement(_ListItem.default, {
key: index,
sx: {
p: 0,
gap: 1
}
}, /*#__PURE__*/_react.default.createElement(_sideBarCheckIcon.default, null), /*#__PURE__*/_react.default.createElement(_ListItemText.default, {
primaryTypographyProps: {
variant: 'body2'
},
primary: item.title
}));
})));
};
var _default = exports["default"] = SideBarPromotion;
SideBarPromotion.propTypes = {
sideData: PropTypes.object.isRequired
};
/***/ }),
/***/ "../modules/home/assets/js/components/top-section.js":
/*!***********************************************************!*\
!*** ../modules/home/assets/js/components/top-section.js ***!
\***********************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
/* provided dependency */ var PropTypes = __webpack_require__(/*! prop-types */ "../node_modules/prop-types/index.js");
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
var _react = _interopRequireDefault(__webpack_require__(/*! react */ "react"));
var _objectDestructuringEmpty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/objectDestructuringEmpty */ "../node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js"));
var _extends2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/extends */ "../node_modules/@babel/runtime/helpers/extends.js"));
var _ui = __webpack_require__(/*! @elementor/ui */ "@elementor/ui");
var _Typography = _interopRequireDefault(__webpack_require__(/*! @elementor/ui/Typography */ "@elementor/ui/Typography"));
var _Button = _interopRequireDefault(__webpack_require__(/*! @elementor/ui/Button */ "@elementor/ui/Button"));
var _youtubeIcon = _interopRequireDefault(__webpack_require__(/*! ../icons/youtube-icon */ "../modules/home/assets/js/icons/youtube-icon.js"));
var TopSection = function TopSection(_ref) {
var props = (0, _extends2.default)({}, ((0, _objectDestructuringEmpty2.default)(_ref), _ref));
return /*#__PURE__*/_react.default.createElement(_ui.Paper, {
elevation: 0,
sx: {
display: 'flex',
flexDirection: {
xs: 'column',
sm: 'row'
},
justifyContent: 'space-between',
py: {
xs: 3,
md: 3
},
px: {
xs: 3,
md: 4
},
gap: {
xs: 2,
sm: 3,
lg: 22
}
}
}, /*#__PURE__*/_react.default.createElement(_ui.Stack, {
gap: 3,
justifyContent: "center"
}, /*#__PURE__*/_react.default.createElement(_ui.Box, null, /*#__PURE__*/_react.default.createElement(_Typography.default, {
variant: "h6"
}, props.topData.title), /*#__PURE__*/_react.default.createElement(_Typography.default, {
variant: "body2",
color: "secondary"
}, props.topData.description)), /*#__PURE__*/_react.default.createElement(_ui.Box, {
sx: {
display: 'flex',
gap: 1
}
}, /*#__PURE__*/_react.default.createElement(_Button.default, {
variant: "contained",
size: "small",
href: props.createNewPageUrl,
target: "_blank"
}, props.topData.button_create_page_title), /*#__PURE__*/_react.default.createElement(_Button.default, {
variant: "outlined",
color: "secondary",
size: "small",
startIcon: /*#__PURE__*/_react.default.createElement(_youtubeIcon.default, null),
href: props.topData.button_watch_url,
target: "_blank"
}, props.topData.button_watch_title))), /*#__PURE__*/_react.default.createElement(_ui.Box, {
component: "iframe",
src: "https://www.youtube.com/embed/".concat(props.topData.youtube_embed_id),
title: "YouTube video player",
frameBorder: "0",
allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",
allowFullScreen: true,
sx: {
aspectRatio: '16/9',
borderRadius: 1,
display: 'flex',
width: '100%',
maxWidth: '365px'
}
}));
};
TopSection.propTypes = {
topData: PropTypes.object.isRequired,
createNewPageUrl: PropTypes.string.isRequired
};
var _default = exports["default"] = TopSection;
/***/ }),
/***/ "../modules/home/assets/js/icons/side-bar-check-icon.js":
/*!**************************************************************!*\
!*** ../modules/home/assets/js/icons/side-bar-check-icon.js ***!
\**************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../node_modules/@babel/runtime/helpers/typeof.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
var _extends2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/extends */ "../node_modules/@babel/runtime/helpers/extends.js"));
var React = _interopRequireWildcard(__webpack_require__(/*! react */ "react"));
var _ui = __webpack_require__(/*! @elementor/ui */ "@elementor/ui");
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
var SideBarCheckIcon = function SideBarCheckIcon(props) {
return /*#__PURE__*/React.createElement(_ui.SvgIcon, (0, _extends2.default)({
viewBox: "0 0 24 24"
}, props), /*#__PURE__*/React.createElement("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M9.09013 3.69078C10.273 3.2008 11.5409 2.94861 12.8213 2.94861C14.1017 2.94861 15.3695 3.2008 16.5525 3.69078C17.7354 4.18077 18.8102 4.89895 19.7156 5.80432C20.621 6.70969 21.3391 7.78452 21.8291 8.96744C22.3191 10.1504 22.5713 11.4182 22.5713 12.6986C22.5713 13.979 22.3191 15.2468 21.8291 16.4298C21.3391 17.6127 20.621 18.6875 19.7156 19.5929C18.8102 20.4983 17.7354 21.2165 16.5525 21.7064C15.3695 22.1964 14.1017 22.4486 12.8213 22.4486C11.5409 22.4486 10.2731 22.1964 9.09013 21.7064C7.9072 21.2165 6.83237 20.4983 5.927 19.5929C5.02163 18.6875 4.30345 17.6127 3.81346 16.4298C3.32348 15.2468 3.07129 13.979 3.07129 12.6986C3.07129 11.4182 3.32348 10.1504 3.81346 8.96744C4.30345 7.78452 5.02163 6.70969 5.927 5.80432C6.83237 4.89895 7.9072 4.18077 9.09013 3.69078ZM12.8213 4.44861C11.7379 4.44861 10.6651 4.662 9.66415 5.0766C8.66321 5.4912 7.75374 6.09889 6.98766 6.86498C6.22157 7.63106 5.61388 8.54053 5.19928 9.54147C4.78468 10.5424 4.57129 11.6152 4.57129 12.6986C4.57129 13.782 4.78468 14.8548 5.19928 15.8557C5.61388 16.8567 6.22157 17.7662 6.98766 18.5322C7.75374 19.2983 8.66322 19.906 9.66415 20.3206C10.6651 20.7352 11.7379 20.9486 12.8213 20.9486C13.9047 20.9486 14.9775 20.7352 15.9784 20.3206C16.9794 19.906 17.8888 19.2983 18.6549 18.5322C19.421 17.7662 20.0287 16.8567 20.4433 15.8557C20.8579 14.8548 21.0713 13.782 21.0713 12.6986C21.0713 11.6152 20.8579 10.5424 20.4433 9.54147C20.0287 8.54053 19.421 7.63106 18.6549 6.86498C17.8888 6.09889 16.9794 5.4912 15.9784 5.0766C14.9775 4.662 13.9047 4.44861 12.8213 4.44861Z",
fill: "#93003F"
}), /*#__PURE__*/React.createElement("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M17.3213 9.69424C17.6142 9.98713 17.6142 10.462 17.3213 10.7549L12.3732 15.703C12.0803 15.9959 11.6054 15.9959 11.3125 15.703L8.83851 13.2289C8.54562 12.936 8.54562 12.4612 8.83851 12.1683C9.1314 11.8754 9.60628 11.8754 9.89917 12.1683L11.8429 14.112L16.2606 9.69424C16.5535 9.40135 17.0284 9.40135 17.3213 9.69424Z",
fill: "#93003F"
}));
};
var _default = exports["default"] = SideBarCheckIcon;
/***/ }),
/***/ "../modules/home/assets/js/icons/youtube-icon.js":
/*!*******************************************************!*\
!*** ../modules/home/assets/js/icons/youtube-icon.js ***!
\*******************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../node_modules/@babel/runtime/helpers/typeof.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
var _extends2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/extends */ "../node_modules/@babel/runtime/helpers/extends.js"));
var React = _interopRequireWildcard(__webpack_require__(/*! react */ "react"));
var _ui = __webpack_require__(/*! @elementor/ui */ "@elementor/ui");
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
var YoutubeIcon = function YoutubeIcon(props) {
return /*#__PURE__*/React.createElement(_ui.SvgIcon, (0, _extends2.default)({
viewBox: "0 0 24 24"
}, props), /*#__PURE__*/React.createElement("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M7 5.75C5.20507 5.75 3.75 7.20507 3.75 9V15C3.75 16.7949 5.20507 18.25 7 18.25H17C18.7949 18.25 20.25 16.7949 20.25 15V9C20.25 7.20507 18.7949 5.75 17 5.75H7ZM2.25 9C2.25 6.37665 4.37665 4.25 7 4.25H17C19.6234 4.25 21.75 6.37665 21.75 9V15C21.75 17.6234 19.6234 19.75 17 19.75H7C4.37665 19.75 2.25 17.6234 2.25 15V9ZM9.63048 8.34735C9.86561 8.21422 10.1542 8.21786 10.3859 8.35688L15.3859 11.3569C15.6118 11.4924 15.75 11.7366 15.75 12C15.75 12.2634 15.6118 12.5076 15.3859 12.6431L10.3859 15.6431C10.1542 15.7821 9.86561 15.7858 9.63048 15.6526C9.39534 15.5195 9.25 15.2702 9.25 15V9C9.25 8.7298 9.39534 8.48048 9.63048 8.34735ZM10.75 10.3246V13.6754L13.5423 12L10.75 10.3246Z"
}));
};
var _default = exports["default"] = YoutubeIcon;
/***/ }),
/***/ "../node_modules/object-assign/index.js":
/*!**********************************************!*\
!*** ../node_modules/object-assign/index.js ***!
\**********************************************/
/***/ ((module) => {
"use strict";
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/
/* eslint-disable no-unused-vars */
var getOwnPropertySymbols = Object.getOwnPropertySymbols;
var hasOwnProperty = Object.prototype.hasOwnProperty;
var propIsEnumerable = Object.prototype.propertyIsEnumerable;
function toObject(val) {
if (val === null || val === undefined) {
throw new TypeError('Object.assign cannot be called with null or undefined');
}
return Object(val);
}
function shouldUseNative() {
try {
if (!Object.assign) {
return false;
}
// Detect buggy property enumeration order in older V8 versions.
// https://bugs.chromium.org/p/v8/issues/detail?id=4118
var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
test1[5] = 'de';
if (Object.getOwnPropertyNames(test1)[0] === '5') {
return false;
}
// https://bugs.chromium.org/p/v8/issues/detail?id=3056
var test2 = {};
for (var i = 0; i < 10; i++) {
test2['_' + String.fromCharCode(i)] = i;
}
var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
return test2[n];
});
if (order2.join('') !== '0123456789') {
return false;
}
// https://bugs.chromium.org/p/v8/issues/detail?id=3056
var test3 = {};
'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
test3[letter] = letter;
});
if (Object.keys(Object.assign({}, test3)).join('') !==
'abcdefghijklmnopqrst') {
return false;
}
return true;
} catch (err) {
// We don't expect any of the above to throw, but better to be safe.
return false;
}
}
module.exports = shouldUseNative() ? Object.assign : function (target, source) {
var from;
var to = toObject(target);
var symbols;
for (var s = 1; s < arguments.length; s++) {
from = Object(arguments[s]);
for (var key in from) {
if (hasOwnProperty.call(from, key)) {
to[key] = from[key];
}
}
if (getOwnPropertySymbols) {
symbols = getOwnPropertySymbols(from);
for (var i = 0; i < symbols.length; i++) {
if (propIsEnumerable.call(from, symbols[i])) {
to[symbols[i]] = from[symbols[i]];
}
}
}
}
return to;
};
/***/ }),
/***/ "../node_modules/prop-types/checkPropTypes.js":
/*!****************************************************!*\
!*** ../node_modules/prop-types/checkPropTypes.js ***!
\****************************************************/
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
"use strict";
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var printWarning = function() {};
if (true) {
var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "../node_modules/prop-types/lib/ReactPropTypesSecret.js");
var loggedTypeFailures = {};
var has = __webpack_require__(/*! ./lib/has */ "../node_modules/prop-types/lib/has.js");
printWarning = function(text) {
var message = 'Warning: ' + text;
if (typeof console !== 'undefined') {
console.error(message);
}
try {
// --- Welcome to debugging React ---
// This error was thrown as a convenience so that you can use this stack
// to find the callsite that caused this warning to fire.
throw new Error(message);
} catch (x) { /**/ }
};
}
/**
* Assert that the values match with the type specs.
* Error messages are memorized and will only be shown once.
*
* @param {object} typeSpecs Map of name to a ReactPropType
* @param {object} values Runtime values that need to be type-checked
* @param {string} location e.g. "prop", "context", "child context"
* @param {string} componentName Name of the component for error messages.
* @param {?Function} getStack Returns the component stack.
* @private
*/
function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
if (true) {
for (var typeSpecName in typeSpecs) {
if (has(typeSpecs, typeSpecName)) {
var error;
// Prop type validation may throw. In case they do, we don't want to
// fail the render phase where it didn't fail before. So we log it.
// After these have been cleaned up, we'll let them throw.
try {
// This is intentionally an invariant that gets caught. It's the same
// behavior as without this statement except with a better message.
if (typeof typeSpecs[typeSpecName] !== 'function') {
var err = Error(
(componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +
'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
);
err.name = 'Invariant Violation';
throw err;
}
error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
} catch (ex) {
error = ex;
}
if (error && !(error instanceof Error)) {
printWarning(
(componentName || 'React class') + ': type specification of ' +
location + ' `' + typeSpecName + '` is invalid; the type checker ' +
'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +
'You may have forgotten to pass an argument to the type checker ' +
'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +
'shape all require an argument).'
);
}
if (error instanceof Error && !(error.message in loggedTypeFailures)) {
// Only monitor this failure once because there tends to be a lot of the
// same error.
loggedTypeFailures[error.message] = true;
var stack = getStack ? getStack() : '';
printWarning(
'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')
);
}
}
}
}
}
/**
* Resets warning cache when testing.
*
* @private
*/
checkPropTypes.resetWarningCache = function() {
if (true) {
loggedTypeFailures = {};
}
}
module.exports = checkPropTypes;
/***/ }),
/***/ "../node_modules/prop-types/factoryWithTypeCheckers.js":
/*!*************************************************************!*\
!*** ../node_modules/prop-types/factoryWithTypeCheckers.js ***!
\*************************************************************/
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
"use strict";
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var ReactIs = __webpack_require__(/*! react-is */ "../node_modules/prop-types/node_modules/react-is/index.js");
var assign = __webpack_require__(/*! object-assign */ "../node_modules/object-assign/index.js");
var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "../node_modules/prop-types/lib/ReactPropTypesSecret.js");
var has = __webpack_require__(/*! ./lib/has */ "../node_modules/prop-types/lib/has.js");
var checkPropTypes = __webpack_require__(/*! ./checkPropTypes */ "../node_modules/prop-types/checkPropTypes.js");
var printWarning = function() {};
if (true) {
printWarning = function(text) {
var message = 'Warning: ' + text;
if (typeof console !== 'undefined') {
console.error(message);
}
try {
// --- Welcome to debugging React ---
// This error was thrown as a convenience so that you can use this stack
// to find the callsite that caused this warning to fire.
throw new Error(message);
} catch (x) {}
};
}
function emptyFunctionThatReturnsNull() {
return null;
}
module.exports = function(isValidElement, throwOnDirectAccess) {
/* global Symbol */
var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.
/**
* Returns the iterator method function contained on the iterable object.
*
* Be sure to invoke the function with the iterable as context:
*
* var iteratorFn = getIteratorFn(myIterable);
* if (iteratorFn) {
* var iterator = iteratorFn.call(myIterable);
* ...
* }
*
* @param {?object} maybeIterable
* @return {?function}
*/
function getIteratorFn(maybeIterable) {
var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
if (typeof iteratorFn === 'function') {
return iteratorFn;
}
}
/**
* Collection of methods that allow declaration and validation of props that are
* supplied to React components. Example usage:
*
* var Props = require('ReactPropTypes');
* var MyArticle = React.createClass({
* propTypes: {
* // An optional string prop named "description".
* description: Props.string,
*
* // A required enum prop named "category".
* category: Props.oneOf(['News','Photos']).isRequired,
*
* // A prop named "dialog" that requires an instance of Dialog.
* dialog: Props.instanceOf(Dialog).isRequired
* },
* render: function() { ... }
* });
*
* A more formal specification of how these methods are used:
*
* type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)
* decl := ReactPropTypes.{type}(.isRequired)?
*
* Each and every declaration produces a function with the same signature. This
* allows the creation of custom validation functions. For example:
*
* var MyLink = React.createClass({
* propTypes: {
* // An optional string or URI prop named "href".
* href: function(props, propName, componentName) {
* var propValue = props[propName];
* if (propValue != null && typeof propValue !== 'string' &&
* !(propValue instanceof URI)) {
* return new Error(
* 'Expected a string or an URI for ' + propName + ' in ' +
* componentName
* );
* }
* }
* },
* render: function() {...}
* });
*
* @internal
*/
var ANONYMOUS = '<
Chicken Highway 2 provides an development in arcade-style game improvement, combining deterministic physics, adaptive artificial cleverness, and procedural environment new release to create a polished model of powerful interaction. It functions because both a case study with real-time feinte systems as well as an example of just how computational style and design can support nicely balanced, engaging gameplay. Unlike previous reflex-based game titles, Chicken Road 2 can be applied algorithmic detail to balance randomness, problem, and guitar player control. This short article explores often the game’s technological framework, targeting physics creating, AI-driven problem systems, procedural content generation, and optimization strategies that define its engineering framework.
The conceptual framework of http://tibenabvi.pk/ combines principles via deterministic gameplay theory, ruse modeling, along with adaptive comments control. It has the design school of thought centers about creating a mathematically balanced game play environment-one that will maintains unpredictability while being sure that fairness as well as solvability. Rather then relying on permanent levels or maybe linear trouble, the system adapts dynamically for you to user habits, ensuring engagement across several skill single profiles.
The design ambitions include:
This kind of structured structures enables the experience to maintain kinetic consistency while providing near-infinite variation thru procedural and statistical devices.
At the core involving Chicken Route 2 lies a deterministic physics serp designed to simulate motion together with precision and consistency. The device employs set time-step computations, which decouple physics feinte from copy, thereby removing discrepancies attributable to variable framework rates. Each one entity-whether a new player character or moving obstacle-follows mathematically characterized trajectories governed by Newtonian motion equations.
The principal activity equation can be expressed like:
Position(t) = Position(t-1) + Speed × Δt + zero. 5 × Acceleration × (Δt)²
Through that formula, often the engine ensures uniform habits across various frame circumstances. The set update period (Δt) avoids asynchronous physics artifacts for example jitter or simply frame bypassing. Additionally , the system employs predictive collision detectors rather than reactive response. Making use of bounding level hierarchies, typically the engine anticipates potential intersections before they occur, reducing latency and also eliminating untrue positives around collision occasions.
The result is the physics method that provides excessive temporal perfection, enabling water, responsive gameplay under regular computational plenty.
Chicken Street 2 engages procedural content generation (PCG) to build unique, solvable game environments dynamically. Just about every session is usually initiated through the random seedling, which declares all succeeding environmental variables such as hurdle placement, motion velocity, and also terrain segmentation. This design and style allows for variability without requiring by hand crafted degrees.
The systems process is situated four key phases:
This procedural model costs randomness with solvability, maintaining a suggest difficulty status within statistically measurable limits. By combining probabilistic building, Chicken Highway 2 diminishes player weariness while making certain novelty throughout sessions.
One of the understanding advancements connected with Chicken Roads 2 is based on its adaptable AI system. Rather than having static problem tiers, the device continuously analyzes player facts to modify task parameters instantly. This adaptive model functions as a closed-loop feedback remote, adjusting geographical complexity to take care of optimal engagement.
The AJAJAI monitors several performance indicators: average impulse time, achievement ratio, and also frequency involving collisions. These kinds of variables widely-used to compute any real-time efficiency index (RPI), which serves as an type for problem recalibration. In line with the RPI, the system dynamically modifies parameters for example obstacle rate, lane thickness, and offspring intervals. This prevents the two under-stimulation as well as excessive problem escalation.
The particular table under summarizes the best way specific overall performance metrics affect gameplay adjustments:
| Problem Time | Ordinary input latency (ms) | Challenge velocity ±10% | Aligns issues with instinct capability |
| Collision Frequency | Effect events per minute | Lane between the teeth and concept density | Inhibits excessive disappointment rates |
| Success Duration | Period without crash | Spawn span reduction | Steadily increases sophistication |
| Input Precision | Correct online responses (%) | Pattern variability | Enhances unpredictability for professional users |
This adaptable AI perspective ensures that just about every gameplay procedure evolves in correspondence having player capability, effectively making individualized problems curves while not explicit functions.
The copy pipeline throughout Chicken Path 2 uses a deferred rendering model, isolating lighting plus geometry car loans calculations to improve GPU use. The engine supports energetic lighting, of an mapping, plus real-time insights without overloading processing capacity. This specific architecture permits visually wealthy scenes even though preserving computational stability.
Major optimization functions include:
Benchmark diagnostic tests demonstrates steady frame efficiency across electronics configurations, using frame alternative below 3% during top load. Often the rendering technique achieves 120 FPS on high-end Computer systems and 59 FPS in mid-tier cellular devices, maintaining an identical visual expertise under all tested conditions.
Chicken Route 2’s audio system is built using a procedural appear synthesis design rather than pre-recorded samples. Each one sound event-whether collision, car or truck movement, or maybe environmental noise-is generated greatly in response to current physics information. This makes certain perfect harmonisation between sound and on-screen action, enhancing perceptual realism.
The exact audio website integrates three components:
The result is a totally integrated physical feedback procedure that provides competitors with supersonic cues immediately tied to in-game variables such as object pace and closeness.
Comprehensive benchmarking confirms Fowl Road 2’s computational efficiency and stability across many platforms. The actual table beneath summarizes scientific test effects gathered throughout controlled effectiveness evaluations:
| High-End Pc | 120 | 35 | 320 | zero. 01 |
| Mid-Range Laptop | three months | 42 | 270 | 0. 02 |
| Mobile (Android/iOS) | 60 | 50 | 210 | zero. 04 |
The data shows near-uniform efficiency stability along with minimal learning resource strain, validating the game’s efficiency-oriented design and style.
Chicken Roads 2 brings out measurable technical improvements above the original discharge, including:
Most of these upgrades collectively enhance gameplay fluidity, responsiveness, and computational scalability, placement the title like a benchmark regarding algorithmically adaptable game devices.
Chicken Roads 2 will not be simply a continued in leisure terms-it signifies an placed study inside game process engineering. By means of its integration of deterministic motion modeling, adaptive AI, and step-by-step generation, this establishes your framework exactly where gameplay will be both reproducible and constantly variable. The algorithmic precision, resource efficacy, and feedback-driven adaptability reflect how modern game pattern can assimilate engineering rectitud with active depth. Therefore, Chicken Highway 2 holders as a showing of how data-centric methodologies can certainly elevate standard arcade game play into a model of computationally smart design.
]]>
Rooster Road 3 is an enhanced iteration of the arcade-style challenge navigation game, offering processed mechanics, improved physics accuracy and reliability, and adaptive level evolution through data-driven algorithms. Contrary to conventional reflex games this depend solely on fixed pattern identification, Chicken Roads 2 harmonizes with a modular system design and step-by-step environmental new release to support long-term player engagement. This short article presents a great expert-level summary of the game’s structural structure, core sense, and performance systems that define their technical and functional brilliance.
At its central, Chicken Road 2 preserves the initial gameplay objective-guiding a character throughout lanes stuffed with dynamic hazards-but elevates the form into a thorough, computational unit. The game is usually structured close to three foundational pillars: deterministic physics, step-by-step variation, along with adaptive handling. This triad ensures that game play remains challenging yet pragmatically predictable, minimizing randomness while maintaining engagement by calculated difficulties adjustments.
The style process categorizes stability, fairness, and accuracy. To achieve this, builders implemented event-driven logic in addition to real-time feedback mechanisms, that allow the activity to respond intelligently to player input and satisfaction metrics. Every single movement, smashup, and enviromentally friendly trigger is processed being an asynchronous affair, optimizing responsiveness without diminishing frame rate integrity.
Fowl Road 2 operates for a modular architectural mastery divided into indie yet interlinked subsystems. That structure provides scalability and ease of performance optimization around platforms. The program is composed of these kinds of modules:
This flip separation facilitates efficient storage area management as well as faster revise cycles. By way of decoupling physics from manifestation and AK logic, Poultry Road 2 minimizes computational overhead, making sure consistent latency and framework timing perhaps under intense conditions.
Often the physical type of Chicken Route 2 runs on the deterministic movements system allowing for highly accurate and reproducible outcomes. Each object in the environment practices a parametric trajectory characterized by rate, acceleration, and positional vectors. Movement can be computed utilizing kinematic equations rather than real-time rigid-body physics, reducing computational load while maintaining realism.
Typically the governing action equation is defined as:
Position(t) = Position(t-1) + Speed × Δt + (½ × Thrust × Δt²)
Impact handling employs a predictive detection formula. Instead of dealing with collisions after they occur, the training anticipates probable intersections applying forward projection of bounding volumes. That preemptive unit enhances responsiveness and guarantees smooth game play, even throughout high-velocity sequences. The result is a very stable connections framework ready sustaining as much as 120 simulated objects each frame using minimal dormancy variance.
Chicken Street 2 leaves from static level style by employing procedural generation algorithms to construct vibrant environments. The particular procedural process relies on pseudo-random number new release (PRNG) joined with environmental web templates that define permissible object privilèges. Each brand new session will be initialized having a unique seed products value, ensuring that no a couple levels are identical even though preserving structural coherence.
The particular procedural technology process comes after four main stages:
This process enables near-infinite replayability while maintaining consistent problem fairness. Difficulties parameters, just like obstacle speed and solidity, are greatly modified by using a adaptive deal with system, making certain proportional sophiisticatedness relative to bettor performance.
On the list of defining technological innovations in Chicken Path 2 will be its adaptable difficulty mode of operation, which employs performance analytics to modify in-game parameters. This method monitors important variables such as reaction time frame, survival period, and feedback precision, and then recalibrates challenge behavior consequently. The solution prevents stagnation and ensures continuous proposal across changing player abilities.
The following stand outlines the key adaptive parameters and their behaviour outcomes:
| Effect Time | Typical delay involving hazard appearance and enter | Modifies hurdle velocity (±10%) | Adjusts pacing to maintain optimum challenge |
| Wreck Frequency | Variety of failed endeavors within time window | Boosts spacing involving obstacles | Boosts accessibility regarding struggling gamers |
| Session Duration | Time made it without accident | Increases breed rate along with object difference | Introduces complexness to prevent monotony |
| Input Persistence | Precision of directional command | Alters thrust curves | Advantages accuracy using smoother movement |
This kind of feedback trap system performs continuously during gameplay, benefiting reinforcement learning logic to be able to interpret customer data. In excess of extended instruction, the protocol evolves towards the player’s behavioral designs, maintaining involvement while steering clear of frustration or perhaps fatigue.
Poultry Road 2’s rendering powerplant is improved for performance efficiency by asynchronous asset streaming as well as predictive preloading. The vision framework uses dynamic subject culling to render exclusively visible choices within the player’s field regarding view, clearly reducing GRAPHICS CARD load. Throughout benchmark testing, the system realized consistent structure delivery involving 60 FPS on mobile phone platforms plus 120 FRAMES PER SECOND on desktop computers, with framework variance less than 2%.
Additional optimization tactics include:
These optimizations contribute to dependable runtime efficiency, supporting lengthened play periods with minimal thermal throttling or electric battery degradation about portable systems.
Performance tests for Chicken Road 3 was performed under lab multi-platform situations. Data investigation confirmed higher consistency all around all guidelines, demonstrating the robustness regarding its flip-up framework. The actual table beneath summarizes ordinary benchmark success from controlled testing:
| Shape Rate (Mobile) | 60 FRAMES PER SECOND | ±1. 6 | Stable all over devices |
| Body Rate (Desktop) | 120 FRAMES PER SECOND | ±1. 3 | Optimal with regard to high-refresh echos |
| Input Latency | 42 microsof company | ±5 | Receptive under top load |
| Collision Frequency | zero. 02% | Negligible | Excellent steadiness |
These types of results verify that Hen Road 2’s architecture complies with industry-grade functionality standards, sustaining both precision and solidity under lengthened usage.
Often the auditory and also visual methods are coordinated through an event-based controller that triggers cues inside correlation with gameplay suggests. For example , speeding sounds dynamically adjust throw relative to obstruction velocity, though collision status updates use spatialized audio to point hazard way. Visual indicators-such as coloring shifts along with adaptive lighting-assist in reinforcing depth notion and movements cues without overwhelming the person interface.
Typically the minimalist design philosophy guarantees visual quality, allowing players to focus on crucial elements like trajectory plus timing. This kind of balance regarding functionality along with simplicity plays a part in reduced cognitive strain in addition to enhanced player performance persistence.
Compared to it has the predecessor, Chicken breast Road a couple of demonstrates any measurable development in both computational precision along with design versatility. Key enhancements include a 35% reduction in feedback latency, half enhancement within obstacle AK predictability, including a 25% upsurge in procedural assortment. The appreciation learning-based difficulty system provides a well known leap around adaptive design, allowing the sport to autonomously adjust across skill tiers without handbook calibration.
Chicken Street 2 exemplifies the integration associated with mathematical excellence, procedural ingenuity, and real-time adaptivity inside a minimalistic arcade framework. A modular buildings, deterministic physics, and data-responsive AI establish it as the technically remarkable evolution with the genre. Through merging computational rigor by using balanced person experience design, Chicken Path 2 maintains both replayability and structural stability-qualities which underscore often the growing elegance of algorithmically driven activity development.
]]>
Chicken Highway 2 demonstrates the integration connected with real-time physics, adaptive man made intelligence, plus procedural creation within the context of modern couronne system design and style. The sequel advances beyond the convenience of it is predecessor through introducing deterministic logic, international system variables, and algorithmic environmental variety. Built all-around precise motions control as well as dynamic difficulties calibration, Hen Road a couple of offers not just entertainment but your application of exact modeling along with computational performance in interactive design. This article provides a precise analysis regarding its engineering, including physics simulation, AJAJAI balancing, step-by-step generation, plus system effectiveness metrics comprise its operations as an engineered digital structure.
The core concept of Chicken Road 2 remains straightforward: guidebook a shifting character all over lanes regarding unpredictable website traffic and way obstacles. Nevertheless , beneath the following simplicity sits a split computational composition that combines deterministic activity, adaptive probability systems, and also time-step-based physics. The game’s mechanics are generally governed by simply fixed up-date intervals, ensuring simulation regularity regardless of rendering variations.
The training architecture comes with the following most important modules:
These elements operate inside a feedback picture where bettor behavior directly influences computational adjustments, sustaining equilibrium involving difficulty plus engagement.
The physics technique in Poultry Road two is deterministic, ensuring the same outcomes as soon as initial the weather is reproduced. Activity is scored using ordinary kinematic equations, executed under a fixed time-step (Δt) structure to eliminate body rate habbit. This makes certain uniform action response as well as prevents mistakes across varying hardware adjustments.
The kinematic model is usually defined because of the equation:
Position(t) sama dengan Position(t-1) and up. Velocity × Δt + 0. 5 various × Thrust × (Δt)²
Most object trajectories, from guitar player motion for you to vehicular habits, adhere to that formula. The actual fixed time-step model presents precise temporal resolution plus predictable action updates, staying away from instability a result of variable making intervals.
Collision prediction runs through a pre-emptive bounding amount system. Often the algorithm forecasts intersection details based on planned velocity vectors, allowing for low-latency detection in addition to response. The following predictive type minimizes feedback lag while keeping mechanical reliability under heavy processing loads.
Chicken Route 2 implements a step-by-step generation mode of operation that constructs environments dynamically at runtime. Each atmosphere consists of modular segments-roads, waterways, and platforms-arranged using seeded randomization to make sure variability while maintaining structural solvability. The procedural engine uses Gaussian syndication and odds weighting to achieve controlled randomness.
The procedural generation approach occurs in a number of sequential distinct levels:
This method ensures endless variation inside bounded problem levels. Record analysis involving 10, 000 generated routes shows that 98. 7% keep to solvability constraints without handbook intervention, credit reporting the potency of the step-by-step model.
Chicken Street 2 functions a continuous comments AI product to adjust difficulty in realtime. Instead of fixed difficulty divisions, the AI evaluates participant performance metrics to modify ecological and clockwork variables dynamically. These include auto speed, offspring density, and also pattern difference.
The AK employs regression-based learning, using player metrics such as problem time, normal survival timeframe, and type accuracy for you to calculate problems coefficient (D). The agent adjusts instantly to maintain bridal without mind-boggling the player.
The partnership between operation metrics and also system difference is discussed in the family table below:
| Response Time | Common latency (ms) | Adjusts barrier speed ±10% | Balances pace with gamer responsiveness |
| Collision Frequency | Has effects on per minute | Changes spacing concerning hazards | Puts a stop to repeated disaster loops |
| Success Duration | Ordinary time for every session | Increases or lessens spawn occurrence | Maintains constant engagement pass |
| Precision List | Accurate or incorrect inputs (%) | Tunes its environmental complexness | Encourages progress through adaptive challenge |
This style eliminates the need for manual problems selection, enabling an autonomous and receptive game ecosystem that gets used to organically to help player behavior.
The object rendering architecture with Chicken Highway 2 works by using a deferred shading pipeline, decoupling geometry rendering coming from lighting computations. This approach reduces GPU overhead, allowing for enhanced visual features like vibrant reflections plus volumetric light without discrediting performance.
Key optimization techniques include:
Benchmark diagnostic tests reveals secure frame charges across operating systems, maintaining 62 FPS about mobile devices plus 120 FPS on luxurious desktops through an average body variance regarding less than second . 5%. This particular demonstrates the system’s capability maintain functionality consistency underneath high computational load.
The music framework within Chicken Highway 2 accepts an event-driven architecture wherever sound will be generated procedurally based on in-game variables as an alternative to pre-recorded products. This guarantees synchronization concerning audio productivity and physics data. For example, vehicle swiftness directly affects sound message and Doppler shift beliefs, while smashup events induce frequency-modulated responses proportional for you to impact specifications.
The sound system consists of three layers:
This real-time integration amongst sound and system physics enhances spatial mindset and boosts perceptual effect time.
Comprehensive benchmarking was performed to evaluate Chicken Road 2’s efficiency throughout hardware sessions. The results display strong overall performance consistency by using minimal storage area overhead along with stable figure delivery. Stand 2 summarizes the system’s technical metrics across systems.
| High-End Computer’s | 120 | thirty-five | 310 | 0. 01 |
| Mid-Range Laptop | ninety | 42 | 260 | 0. goal |
| Mobile (Android/iOS) | 60 | 24 | 210 | 0. 04 |
The results state that the engine scales effectively across equipment tiers while keeping system solidity and enter responsiveness.
In comparison to the original Chicken breast Road, the actual sequel presents several important improvements of which enhance the two technical depth and game play sophistication:
Most of these developments depict a alter from fixed game style toward self-regulating, data-informed systems capable of constant adaptation.
Hen Road 3 stands for exemplar of modern computational pattern in online systems. A deterministic physics, adaptive AJAJAI, and step-by-step generation frameworks collectively type a system that balances precision, scalability, in addition to engagement. The exact architecture reflects how computer modeling can easily enhance not only entertainment but in addition engineering productivity within electronic environments. Thru careful standardized of motions systems, live feedback roads, and components optimization, Poultry Road 3 advances further than its type to become a standard in step-by-step and adaptive arcade improvement. It is a refined model of the best way data-driven programs can balance performance in addition to playability by means of scientific style and design principles.
]]>
Hen Road couple of represents an important evolution from the arcade plus reflex-based video games genre. For the reason that sequel towards the original Hen Road, this incorporates difficult motion codes, adaptive grade design, along with data-driven difficulties balancing to generate a more responsive and formally refined game play experience. Created for both everyday players plus analytical participants, Chicken Route 2 merges intuitive settings with active obstacle sequencing, providing an engaging yet formally sophisticated video game environment.
This information offers an professional analysis involving Chicken Street 2, studying its new design, precise modeling, search engine marketing techniques, plus system scalability. It also explores the balance between entertainment style and technological execution generates the game a new benchmark within the category.
Chicken Road 2 forms on the regular concept of timed navigation by hazardous situations, where excellence, timing, and flexibility determine player success. Contrary to linear development models present in traditional couronne titles, the following sequel utilizes procedural creation and device learning-driven adapting to it to increase replayability and maintain intellectual engagement eventually.
The primary style objectives associated with Chicken Street 2 may be summarized the examples below:
Through this particular structured technique, Chicken Road 2 turns a simple instinct game towards a technically powerful interactive procedure built when predictable statistical logic in addition to real-time adaptation.
Typically the core with Chicken Street 2’ nasiums gameplay is actually defined through its physics engine along with environmental ruse model. The training employs kinematic motion rules to reproduce realistic speed, deceleration, along with collision response. Instead of set movement intervals, each item and thing follows some sort of variable speed function, dynamically adjusted employing in-game performance data.
Often the movement involving both the gamer and hurdles is influenced by the next general equation:
Position(t) = Position(t-1) + Velocity(t) × Δ t and up. ½ × Acceleration × (Δ t)²
That function assures smooth plus consistent transitions even under variable figure rates, sustaining visual and also mechanical balance across equipment. Collision discovery operates by using a hybrid unit combining bounding-box and pixel-level verification, reducing false advantages in contact events— particularly essential in speedy gameplay sequences.
Probably the most technically remarkable components of Poultry Road couple of is the procedural amount generation perspective. Unlike stationary level style, the game algorithmically constructs each stage using parameterized design templates and randomized environmental variables. This helps to ensure that each enjoy session creates a unique blend of tracks, vehicles, plus obstacles.
The procedural program functions based on a set of crucial parameters:
The particular procedural judgement is manipulated through a seed-based randomization process, ensuring statistically fair solutions while maintaining unpredictability. The adaptive difficulty type uses encouragement learning rules to analyze player success prices, adjusting foreseeable future level boundaries accordingly.
Chicken Street 2’ s i9000 architecture is actually structured close to modular layout principles, enabling performance scalability and easy characteristic integration. The engine was made using an object-oriented approach, using independent web theme controlling physics, rendering, AJAJAI, and consumer input. The employment of event-driven developing ensures marginal resource usage and timely responsiveness.
Often the engine’ nasiums performance optimizations include asynchronous rendering conduite, texture streaming, and installed animation caching to eliminate body lag for the duration of high-load sequences. The physics engine goes parallel for the rendering twine, utilizing multi-core CPU digesting for smooth performance all over devices. The normal frame level stability can be maintained in 60 FRAMES PER SECOND under standard gameplay conditions, with vibrant resolution your current implemented with regard to mobile systems.
The environmental system around Chicken Road 2 brings together both deterministic and probabilistic behavior models. Static items such as woods or tiger traps follow deterministic placement sense, while energetic objects— vehicles, animals, or environmental hazards— operate less than probabilistic action paths dependant on random function seeding. This hybrid tactic provides image variety plus unpredictability while keeping algorithmic uniformity for fairness.
The environmental simulation also includes active weather as well as time-of-day series, which modify both visibility and rub coefficients inside the motion unit. These variants influence gameplay difficulty without having breaking system predictability, incorporating complexity that will player decision-making.
Rooster Road couple of features a set up scoring and reward procedure that incentivizes skillful play through tiered performance metrics. Rewards will be tied to long distance traveled, time period survived, plus the avoidance with obstacles within just consecutive glasses. The system works by using normalized weighting to harmony score piling up between unconventional and qualified players.
| Distance Traveled | Linear progression along with speed normalization | Constant | Choice | Low |
| Moment Survived | Time-based multiplier given to active treatment length | Changing | High | Medium |
| Obstacle Elimination | Consecutive elimination streaks (N = 5– 10) | Moderate | High | Huge |
| Bonus Also | Randomized possibility drops depending on time period of time | Low | Reduced | Medium |
| Amount Completion | Measured average involving survival metrics and occasion efficiency | Extraordinary | Very High | Higher |
This particular table demonstrates the syndication of incentive weight along with difficulty correlation, emphasizing a well-balanced gameplay product that advantages consistent performance rather than strictly luck-based events.
The particular AI systems in Chicken Road 2 are designed to style non-player company behavior dynamically. Vehicle action patterns, pedestrian timing, in addition to object result rates are usually governed by simply probabilistic AJE functions in which simulate real-world unpredictability. The training uses sensor mapping as well as pathfinding algorithms (based on A* and Dijkstra variants) to analyze movement ways in real time.
In addition , an adaptive feedback never-ending loop monitors bettor performance patterns to adjust following obstacle rate and breed rate. This method of real-time analytics increases engagement as well as prevents permanent difficulty projet common inside fixed-level calotte systems.
Performance agreement for Poultry Road couple of was practiced through multi-environment testing across hardware sections. Benchmark investigation revealed the key metrics:
These benefits confirm the system’ s specialised robustness plus scalability pertaining to deployment across diverse equipment ecosystems.
Chicken Street 2 demonstrates the progress of arcade gaming by way of a synthesis involving procedural style and design, adaptive intelligence, and improved system architecture. Its dependence on data-driven design is the reason why each period is specific, fair, and also statistically balanced. Through accurate control of physics, AI, and also difficulty scaling, the game provides a sophisticated along with technically regular experience that extends outside of traditional amusement frameworks. Basically, Chicken Route 2 is not really merely a great upgrade that will its precursor but in a situation study with how present day computational style and design principles can redefine exciting gameplay methods.
]]>