{"version":3,"sources":["webpack:///../node_modules/@babel/runtime-corejs3/core-js-stable/instance/values.js","webpack:///../node_modules/core-js-pure/stable/instance/values.js","webpack:///../node_modules/core-js-pure/stable/array/virtual/values.js","webpack:///../node_modules/core-js-pure/es/array/virtual/values.js","webpack:///./Scripts/Components/AccordionItem.js","webpack:///./Scripts/Components/Accordion.js"],"names":["module","exports","values","classof","ArrayPrototype","Array","prototype","DOMIterables","DOMTokenList","NodeList","it","own","hasOwnProperty","parent","entryVirtual","AccordionItem","text","title","useState","expanded","setExpanded","className","onClick","dangerouslySetInnerHTML","__html","Accordion","items","length","item","index","key"],"mappings":"6EAAAA,EAAOC,QAAU,EAAQ,M,oBCAzB,EAAQ,KACR,IAAIC,EAAS,EAAQ,KACjBC,EAAU,EAAQ,IAClBC,EAAiBC,MAAMC,UAEvBC,EAAe,CACjBC,cAAc,EACdC,UAAU,GAGZT,EAAOC,QAAU,SAAUS,GACzB,IAAIC,EAAMD,EAAGR,OACb,OAAOQ,IAAON,GAAmBM,aAAcL,OAASM,IAAQP,EAAeF,QAE1EK,EAAaK,eAAeT,EAAQO,IAAOR,EAASS,I,oBCd3D,IAAIE,EAAS,EAAQ,KAErBb,EAAOC,QAAUY,G,oBCFjB,EAAQ,KACR,IAAIC,EAAe,EAAQ,IAE3Bd,EAAOC,QAAUa,EAAa,SAASZ,Q,gHCsBxBa,EAvBO,SAAC,GAAoB,IAAlBC,EAAkB,EAAlBA,KAAMC,EAAY,EAAZA,MAAY,EAEPC,oBAAS,GAFF,WAEhCC,EAFgC,KAEtBC,EAFsB,KAQvC,OACI,yBAAKC,UAAU,aACX,4BAAQA,UAAU,cAAcC,QANnB,WACNF,GAAXD,KAMQ,0BAAME,UAAU,cACXJ,GAEL,uBAAGI,UAAWF,EAAW,0BAA4B,8BAA+BA,EAAW,MAAQ,WAE3G,yBAAKE,UAAWF,EAAW,eAAiB,qCAAsCI,wBAAyB,CAACC,OAAQR,OCGjHS,UAlBG,SAAC,GAAe,MAAbvB,EAAa,OAC9B,OACI,yBAAKmB,UAAU,cACX,yBAAKA,UAAU,cACX,wBAAIA,UAAU,gBAAgBnB,EAAOe,OACrC,yBAAKI,UAAU,kBACVnB,EAAOwB,OAASxB,EAAOwB,MAAMC,OAAS,GAAK,MAAAzB,EAAOwB,OAAP,QAAiB,SAACE,EAAMC,GAChE,OACI,kBAAC,EAAD,CAAeC,IAAKD,EAAOb,KAAMY,EAAKZ,KAAMC,MAAOW,EAAKX","file":"7.ccbae8f59aebf8f56bdc.js","sourcesContent":["module.exports = require(\"core-js-pure/stable/instance/values\");","require('../../modules/web.dom-collections.iterator');\nvar values = require('../array/virtual/values');\nvar classof = require('../../internals/classof');\nvar ArrayPrototype = Array.prototype;\n\nvar DOMIterables = {\n DOMTokenList: true,\n NodeList: true\n};\n\nmodule.exports = function (it) {\n var own = it.values;\n return it === ArrayPrototype || (it instanceof Array && own === ArrayPrototype.values)\n // eslint-disable-next-line no-prototype-builtins\n || DOMIterables.hasOwnProperty(classof(it)) ? values : own;\n};\n","var parent = require('../../../es/array/virtual/values');\n\nmodule.exports = parent;\n","require('../../../modules/es.array.iterator');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('Array').values;\n","import React, { useState } from 'react';\r\n\r\nconst AccordionItem = ({ text, title }) => {\r\n\r\n const [expanded, setExpanded] = useState(true);\r\n\r\n const clickHandler = () => {\r\n expanded ? setExpanded(false) : setExpanded(true);\r\n }\r\n\r\n return (\r\n <div className=\"faq__item\">\r\n <button className=\"faq__toggle\" onClick={clickHandler}>\r\n <span className=\"faq__title\">\r\n {title}\r\n </span>\r\n <i className={expanded ? \"faq__icon faq__icon-add\" : \"faq__icon faq__icon-remove\"}>{expanded ? \"add\" : \"remove\"}</i>\r\n </button>\r\n <div className={expanded ? 'faq__content' : \"faq__content faq__content--visible\"} dangerouslySetInnerHTML={{__html: text}}></div>\r\n </div>\r\n )\r\n\r\n}\r\n\r\n\r\nexport default AccordionItem;","import React, { Component, useRef, useState } from 'react';\r\nimport AccordionItem from './AccordionItem';\r\n\r\nconst Accordion = ({ values }) => {\r\n return (\r\n <div className=\"faq__outer\">\r\n <div className=\"faq__inner\">\r\n <h2 className=\"faq__heading\">{values.title}</h2>\r\n <div className=\"faq__accordion\">\r\n {values.items && values.items.length > 0 && values.items.map((item, index) => {\r\n return (\r\n <AccordionItem key={index} text={item.text} title={item.title} />\r\n )\r\n })}\r\n </div>\r\n </div>\r\n </div>\r\n )\r\n\r\n}\r\n\r\nexport default Accordion;"],"sourceRoot":""}