"use strict";(self.webpackChunk_ihk24_storybook=self.webpackChunk_ihk24_storybook||[]).push([[5028],{"./stories/pages/election-detail/ElectionDetailPage.stories.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{ElectionDetailPage:()=>ElectionDetailPage,__namedExportsOrder:()=>__namedExportsOrder,default:()=>ElectionDetailPage_stories});__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.function.bind.js"),__webpack_require__("./node_modules/core-js/modules/es.error.cause.js"),__webpack_require__("./node_modules/core-js/modules/es.error.to-string.js");var helpers=__webpack_require__("./stories/_global/scripts/helpers.js"),HeaderComponent=__webpack_require__("./stories/components/header/HeaderComponent.js"),FooterComponent=__webpack_require__("./stories/components/footer/FooterComponent.js"),MagazineHeaderComponent=__webpack_require__("./stories/components/magazine-header/MagazineHeaderComponent.js"),ElectionDetailComponent=__webpack_require__("./stories/sections/election-detail/ElectionDetailComponent.js");function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_extends.apply(this,arguments)}const ElectionDetailPage_stories={title:"Pages/Election Detail Page",parameters:{layout:"fullscreen"},argTypes:{}};var ElectionDetailPage=function Template(_ref){var args=_extends({},(function _objectDestructuringEmpty(obj){if(null==obj)throw new TypeError("Cannot destructure "+obj)}(_ref),_ref));return function createElectionDetailPage(_ref){_ref.stageWithImage;var page=(0,helpers.az)("div",["page","header-collapsed"]),magazineHeader=(0,MagazineHeaderComponent.m)({title:"Eine starke Entscheidung",smalltext:"IHK Musterstadt Wahl 2024",logo:"./logos/magazine-header-flag.png"});page.appendChild((0,HeaderComponent.d)({})),page.appendChild(magazineHeader);var wrapper=(0,helpers.az)("div",["page-wrapper"],null,page),pageContent=(0,helpers.az)("div",["page-content"],null,wrapper);return(0,helpers.az)("div",["container"],null,pageContent).appendChild((0,ElectionDetailComponent.C)({})),page.appendChild((0,FooterComponent.v)({})),page}(Object.assign({},args))}.bind({});ElectionDetailPage.args={};var __namedExportsOrder=["ElectionDetailPage"];ElectionDetailPage.parameters={...ElectionDetailPage.parameters,docs:{...ElectionDetailPage.parameters?.docs,source:{originalSource:"({\n  ...args\n}) => {\n  return createElectionDetailPage({\n    ...args\n  });\n}",...ElectionDetailPage.parameters?.docs?.source}}}}}]);