{"id":995357,"date":"2026-08-13T14:36:59","date_gmt":"2026-08-13T11:36:59","guid":{"rendered":"https:\/\/testdijitalist.com\/lightning-risk-analysis\/"},"modified":"2026-08-25T13:38:08","modified_gmt":"2026-08-25T10:38:08","slug":"lightning-risk-analysis","status":"publish","type":"page","link":"https:\/\/yilkomer.com\/en\/lightning-risk-analysis\/","title":{"rendered":"Lightning Risk Analysis"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"995357\" class=\"elementor elementor-995357 elementor-990956\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-efa658f e-flex e-con-boxed e-con e-parent\" data-id=\"efa658f\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-07e00c0 elementor-widget elementor-widget-html\" data-id=\"07e00c0\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<section class=\"ykr\">\r\n  <!-- INTRO -->\r\n  <div class=\"ykr__blok\">\r\n    <p class=\"ykr__spot\">\r\n      The level of lightning protection a system requires is never determined\r\n      by guesswork. Which building needs which level of protection is\r\n      calculated through a risk assessment carried out under\r\n      <strong>TS EN \/ IEC 62305-2<\/strong>. The tool on this page is a\r\n      preliminary assessment aid, designed to give you a quick view of your\r\n      building's risk profile.\r\n    <\/p>\r\n  <\/div>\r\n  <!-- WHY IT'S NEEDED -->\r\n  <div class=\"ykr__blok\">\r\n    <h2 class=\"ykr__baslik\">Why Is a Risk Assessment Necessary?<\/h2>\r\n    <p>\r\n      Two neighbouring buildings, on the same street and of the same height,\r\n      can still require entirely different levels of protection. One might\r\n      have ten people working inside it, the other two hundred; one might\r\n      hold standard office equipment, the other a control system that halts\r\n      production the moment it stops. Risk has less to do with the building\r\n      itself than with <strong>what's inside it<\/strong>.\r\n    <\/p>\r\n    <p>\r\n      For this reason, the standard does not lay down a simple rule such as\r\n      \"a building of this height needs this system.\" Instead, it produces a\r\n      numerical risk value by jointly assessing the building's location,\r\n      dimensions, materials, purpose, the density of people and equipment\r\n      inside it, and the local lightning density. Where this value exceeds\r\n      the threshold the standard considers acceptable, protective measures\r\n      become mandatory.\r\n    <\/p>\r\n  <\/div>\r\n  <!-- RISK COMPONENTS -->\r\n  <div class=\"ykr__blok\">\r\n    <h2 class=\"ykr__baslik\">Four Distinct Risks Are Assessed<\/h2>\r\n    <p>\r\n      TS EN \/ IEC 62305-2 addresses the loss lightning can cause under four\r\n      headings. Not every heading needs to be calculated for every building;\r\n      which risks apply depends on the nature of the building itself.\r\n    <\/p>\r\n    <div class=\"ykr__kartlar\">\r\n      <div class=\"ykr-kart\">\r\n        <span class=\"ykr-kart__kod\">R1<\/span>\r\n        <h3 class=\"ykr-kart__baslik\">Risk of Loss of Human Life<\/h3>\r\n        <p class=\"ykr-kart__metin\">\r\n          The risk of loss of life or permanent injury. This is assessed for\r\n          every building and carries the lowest tolerance threshold of the\r\n          four risks.\r\n        <\/p>\r\n      <\/div>\r\n      <div class=\"ykr-kart\">\r\n        <span class=\"ykr-kart__kod\">R2<\/span>\r\n        <h3 class=\"ykr-kart__baslik\">Risk of Loss of Service<\/h3>\r\n        <p class=\"ykr-kart__metin\">\r\n          Interruption of a service provided to the public. Applies to\r\n          infrastructure such as power distribution, telecommunications, and\r\n          water supply.\r\n        <\/p>\r\n      <\/div>\r\n      <div class=\"ykr-kart\">\r\n        <span class=\"ykr-kart__kod\">R3<\/span>\r\n        <h3 class=\"ykr-kart__baslik\">Risk of Loss of Cultural Heritage<\/h3>\r\n        <p class=\"ykr-kart__metin\">\r\n          Loss of assets that cannot be replaced. Assessed for museums,\r\n          historic buildings, and archives.\r\n        <\/p>\r\n      <\/div>\r\n      <div class=\"ykr-kart\">\r\n        <span class=\"ykr-kart__kod\">R4<\/span>\r\n        <h3 class=\"ykr-kart__baslik\">Risk of Economic Loss<\/h3>\r\n        <p class=\"ykr-kart__metin\">\r\n          The financial value of the building, its contents, and lost\r\n          production. Assessed together with a cost-benefit analysis of the\r\n          protection investment.\r\n        <\/p>\r\n      <\/div>\r\n    <\/div>\r\n  <\/div>\r\n  <!-- PARAMETERS -->\r\n  <div class=\"ykr__blok\">\r\n    <h2 class=\"ykr__baslik\">What Goes Into the Calculation?<\/h2>\r\n    <ul class=\"ykr__liste\">\r\n      <li><strong>Dimensions of the building<\/strong> \u2014 Length, width, and height; these determine the collection area<\/li>\r\n      <li><strong>Location and surroundings<\/strong> \u2014 Neighbouring structures and terrain conditions<\/li>\r\n      <li><strong>Local lightning density<\/strong> \u2014 The number of lightning strikes per square kilometre per year<\/li>\r\n      <li><strong>Roof and wall materials<\/strong> \u2014 Affect fire risk and conductivity<\/li>\r\n      <li><strong>Intended use<\/strong> \u2014 Residential, office, industrial facility, hospital, school, data centre<\/li>\r\n      <li><strong>Number of occupants and time spent inside<\/strong> \u2014 The primary input for the risk of loss of human life<\/li>\r\n      <li><strong>Fire load and explosion risk<\/strong> \u2014 The nature of the materials present on site<\/li>\r\n      <li><strong>Connected service lines<\/strong> \u2014 How power, telecom, and data lines enter the building<\/li>\r\n      <li><strong>Existing protection measures<\/strong> \u2014 The current state of any external lightning protection, SPDs, and earthing<\/li>\r\n    <\/ul>\r\n  <\/div>\r\n  <!-- LPL TABLE -->\r\n  <div class=\"ykr__blok\">\r\n    <h2 class=\"ykr__baslik\">The Result: Lightning Protection Level (LPL)<\/h2>\r\n    <p>\r\n      The output of the calculation is the <strong>Lightning Protection\r\n      Level<\/strong> that must be applied to the building. The standard\r\n      defines four levels; as the level rises, the air termination system\r\n      becomes denser and protection becomes more comprehensive.\r\n    <\/p>\r\n    <div class=\"ykr__tabloKutu\">\r\n      <table class=\"ykr__tablo\">\r\n        <thead>\r\n          <tr>\r\n            <th>Level<\/th>\r\n            <th>Rolling Sphere Radius<\/th>\r\n            <th>Mesh Spacing<\/th>\r\n            <th>Typical Application<\/th>\r\n          <\/tr>\r\n        <\/thead>\r\n        <tbody>\r\n          <tr>\r\n            <td><strong>LPL I<\/strong><\/td>\r\n            <td>20 m<\/td>\r\n            <td>5 \u00d7 5 m<\/td>\r\n            <td>Explosives facilities, critical infrastructure, hospitals<\/td>\r\n          <\/tr>\r\n          <tr>\r\n            <td><strong>LPL II<\/strong><\/td>\r\n            <td>30 m<\/td>\r\n            <td>10 \u00d7 10 m<\/td>\r\n            <td>Industrial facilities, schools, data centres<\/td>\r\n          <\/tr>\r\n          <tr>\r\n            <td><strong>LPL III<\/strong><\/td>\r\n            <td>45 m<\/td>\r\n            <td>15 \u00d7 15 m<\/td>\r\n            <td>Commercial buildings, office buildings, warehouses<\/td>\r\n          <\/tr>\r\n          <tr>\r\n            <td><strong>LPL IV<\/strong><\/td>\r\n            <td>60 m<\/td>\r\n            <td>20 \u00d7 20 m<\/td>\r\n            <td>Low-risk buildings, residences<\/td>\r\n          <\/tr>\r\n        <\/tbody>\r\n      <\/table>\r\n    <\/div>\r\n    <p class=\"ykr__not\">\r\n      The placement of the air terminals is determined by these values. Under\r\n      LPL I, any point a 20-metre sphere can touch on the building is treated\r\n      as unprotected; under LPL IV, that radius extends to 60 metres. This\r\n      difference directly affects how dense the air termination system needs\r\n      to be.\r\n    <\/p>\r\n  <\/div>\r\n  <!-- LIMITS OF THE TOOL -->\r\n  <div class=\"ykr__uyari\">\r\n    <h3 class=\"ykr__uyariBaslik\">What This Tool Does \u2014 and Doesn't Do<\/h3>\r\n    <p>\r\n      This calculator gives you a <strong>quick, preliminary picture<\/strong>\r\n      of your building's risk profile and indicates which protection level is\r\n      likely to apply. It does <strong>not, however, replace a formal risk\r\n      assessment report.<\/strong>\r\n    <\/p>\r\n    <p>\r\n      A risk assessment prepared under TS EN \/ IEC 62305-2 requires a site\r\n      survey, review of the architectural and electrical drawings, and\r\n      engineer sign-off. This report is what design, permitting, and\r\n      inspection processes are based on. If your preliminary assessment\r\n      points to a risk, contact us for the next step.\r\n    <\/p>\r\n  <\/div>\r\n<\/section>\r\n<style>\r\n.ykr{\r\n  --ykr-turuncu:#F07C00;\r\n  --ykr-koyu:#111827;\r\n  --ykr-metin:#4b5563;\r\n  --ykr-cizgi:#e5e7eb;\r\n  margin:0 auto;\r\n  color:var(--ykr-metin);\r\n  font-size:16px;\r\n  line-height:1.75;\r\n}\r\n.ykr__blok{ margin:0 0 48px; }\r\n.ykr__baslik{\r\n  margin:0 0 18px;\r\n  font-size:clamp(21px,2.3vw,28px) !important;\r\n  line-height:1.25 !important;\r\n  font-weight:800;\r\n  color:var(--ykr-koyu) !important;\r\n  text-transform:none !important;\r\n  letter-spacing:0;\r\n}\r\n.ykr p{ margin:0 0 16px; }\r\n.ykr p:last-child{ margin-bottom:0; }\r\n.ykr strong{ color:var(--ykr-koyu); font-weight:650; }\r\n.ykr__spot{\r\n  font-size:18px !important;\r\n  line-height:1.7;\r\n  padding:22px 26px;\r\n  background:#fafafa;\r\n  border-left:3px solid var(--ykr-turuncu);\r\n  border-radius:0 8px 8px 0;\r\n}\r\n\/* --- CARDS --- *\/\r\n.ykr__kartlar{\r\n  display:grid;\r\n  grid-template-columns:repeat(2,minmax(0,1fr));\r\n  gap:16px;\r\n  margin-top:24px;\r\n}\r\n.ykr-kart{\r\n  padding:22px 22px 20px;\r\n  background:#fff;\r\n  border:1px solid var(--ykr-cizgi);\r\n  border-radius:9px;\r\n  transition:border-color .25s ease, box-shadow .25s ease;\r\n}\r\n.ykr-kart:hover{\r\n  border-color:var(--ykr-turuncu);\r\n  box-shadow:0 10px 26px rgba(17,24,39,.07);\r\n}\r\n.ykr-kart__kod{\r\n  display:inline-block;\r\n  font-size:12px;\r\n  font-weight:800;\r\n  letter-spacing:.1em;\r\n  color:#fff;\r\n  background:var(--ykr-turuncu);\r\n  padding:4px 10px;\r\n  border-radius:4px;\r\n  margin-bottom:12px;\r\n}\r\n.ykr-kart__baslik{\r\n  margin:0 0 8px;\r\n  font-size:16px !important;\r\n  line-height:1.3 !important;\r\n  font-weight:700;\r\n  color:var(--ykr-koyu) !important;\r\n  text-transform:none !important;\r\n  letter-spacing:0;\r\n}\r\n.ykr-kart__metin{ margin:0 !important; font-size:14.5px; line-height:1.6; }\r\n\/* --- LIST --- *\/\r\n.ykr__liste{ margin:20px 0 0; padding:0; list-style:none; }\r\n.ykr__liste li{\r\n  position:relative;\r\n  padding:0 0 0 30px;\r\n  margin:0 0 13px;\r\n  font-size:15.5px;\r\n  line-height:1.6;\r\n}\r\n.ykr__liste li::before{\r\n  content:\"\";\r\n  position:absolute;\r\n  left:6px;\r\n  top:.6em;\r\n  width:8px;\r\n  height:8px;\r\n  border-radius:2px;\r\n  background:var(--ykr-turuncu);\r\n  transform:rotate(45deg);\r\n}\r\n\/* --- TABLE --- *\/\r\n.ykr__tabloKutu{\r\n  margin:24px 0 18px;\r\n  overflow-x:auto;\r\n  -webkit-overflow-scrolling:touch;\r\n  border:1px solid var(--ykr-cizgi);\r\n  border-radius:9px;\r\n}\r\n.ykr__tablo{\r\n  width:100%;\r\n  border-collapse:collapse;\r\n  font-size:14.5px;\r\n  min-width:600px;\r\n}\r\n.ykr__tablo th{\r\n  text-align:left;\r\n  padding:14px 16px;\r\n  background:var(--ykr-koyu);\r\n  color:#fff;\r\n  font-size:12px;\r\n  font-weight:700;\r\n  letter-spacing:.07em;\r\n  text-transform:uppercase;\r\n  white-space:nowrap;\r\n}\r\n.ykr__tablo td{\r\n  padding:13px 16px;\r\n  border-top:1px solid var(--ykr-cizgi);\r\n  vertical-align:top;\r\n}\r\n.ykr__tablo tbody tr:nth-child(odd){ background:#fafafa; }\r\n.ykr__tablo td:first-child{ color:var(--ykr-turuncu); white-space:nowrap; }\r\n.ykr__not{\r\n  font-size:14.5px !important;\r\n  color:#6b7280;\r\n}\r\n\/* --- WARNING BOX --- *\/\r\n.ykr__uyari{\r\n  margin:0 0 44px;\r\n  padding:26px 28px;\r\n  background:#fffaf4;\r\n  border:1px solid #f6dcc0;\r\n  border-radius:10px;\r\n}\r\n.ykr__uyariBaslik{\r\n  margin:0 0 12px;\r\n  font-size:17px !important;\r\n  line-height:1.3 !important;\r\n  font-weight:700;\r\n  color:var(--ykr-koyu) !important;\r\n  text-transform:none !important;\r\n  letter-spacing:0;\r\n}\r\n.ykr__uyari p{ font-size:15px; }\r\n\/* --- CTA --- *\/\r\n.ykr__cta{\r\n  text-align:center;\r\n  padding:44px 30px;\r\n  background:var(--ykr-koyu);\r\n  border-radius:12px;\r\n}\r\n.ykr__ctaBaslik{\r\n  margin:0 0 10px;\r\n  font-size:clamp(20px,2.2vw,26px) !important;\r\n  line-height:1.25 !important;\r\n  font-weight:800;\r\n  color:#fff !important;\r\n  text-transform:none !important;\r\n  letter-spacing:0;\r\n}\r\n.ykr__ctaMetin{\r\n  margin:0 auto 24px !important;\r\n  max-width:460px;\r\n  font-size:15px;\r\n  color:#9ca3af !important;\r\n}\r\n.ykr__buton{\r\n  display:inline-flex;\r\n  align-items:center;\r\n  gap:9px;\r\n  padding:15px 32px;\r\n  border:0;\r\n  border-radius:7px;\r\n  background:var(--ykr-turuncu);\r\n  color:#fff;\r\n  font-family:inherit;\r\n  font-size:14px;\r\n  font-weight:700;\r\n  letter-spacing:.06em;\r\n  text-transform:uppercase;\r\n  cursor:pointer;\r\n  transition:background .2s ease, transform .2s ease;\r\n}\r\n.ykr__buton:hover{ background:#d86f00; transform:translateY(-2px); }\r\n.ykr__buton:focus-visible{ outline:2px solid #fff; outline-offset:3px; }\r\n\/* --- RESPONSIVE --- *\/\r\n@media (max-width:760px){\r\n  .ykr{ font-size:15.5px; }\r\n  .ykr__kartlar{ grid-template-columns:1fr; }\r\n  .ykr__spot{ padding:18px 20px; font-size:16.5px !important; }\r\n  .ykr__uyari{ padding:22px 20px; }\r\n  .ykr__cta{ padding:34px 22px; }\r\n}\r\n@media (prefers-reduced-motion:reduce){\r\n  .ykr-kart,\r\n  .ykr__buton{ transition:none; }\r\n  .ykr__buton:hover{ transform:none; }\r\n}\r\n<\/style>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-2bf1591 e-flex e-con-boxed e-con e-parent\" data-id=\"2bf1591\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-5b8c477 elementor-widget elementor-widget-html\" data-id=\"5b8c477\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<!--\r\n  Y\u0131lkomer \u2014 English Lightning Risk Calculator\r\n  ---------------------------------------------------------------------------\r\n  English version of the \"Y\u0131ld\u0131r\u0131m Risk Hesaplay\u0131c\u0131\" wizard.\r\n  All hidden-field target classes (yk-f-ozet, yk-f-sonuc, yk-f-r1, yk-f-r2,\r\n  yk-f-ad, yk-f-girdiler) and internal element ids\/classes are kept EXACTLY\r\n  as in the Turkish version, since you've already built the English form\r\n  with the same hidden-field names and ids.\r\n  ---------------------------------------------------------------------------\r\n-->\r\n<section class=\"ykh\" id=\"ykh\">\r\n  <div class=\"ykh__giris\">\r\n    <p>\r\n      Calculate your building's lightning risk using the simplified method of\r\n      <strong>TS EN \/ IEC 62305-2<\/strong>. You'll get a result in four\r\n      steps, and you'll see it before submitting any information.\r\n    <\/p>\r\n  <\/div>\r\n  <div class=\"ykh__kutu\">\r\n    <div class=\"ykh__ust\" id=\"ykh-ust\">\r\n      <div class=\"ykh__ilerleme\"><span class=\"ykh__dolu\" id=\"ykh-dolu\"><\/span><\/div>\r\n      <span class=\"ykh__adimNo\" id=\"ykh-adimNo\">Step 1 \/ 4<\/span>\r\n    <\/div>\r\n    <div class=\"ykh__govde\" id=\"ykh-govde\" aria-live=\"polite\"><\/div>\r\n    <div class=\"ykh__alt\" id=\"ykh-alt\">\r\n      <button type=\"button\" class=\"ykh-btn ykh-btn--yan\" id=\"ykh-geri\" hidden>\r\n        <svg viewBox=\"0 0 24 24\" width=\"15\" height=\"15\" aria-hidden=\"true\">\r\n          <path d=\"M19 12H6m0 0l6-6m-6 6l6 6\" fill=\"none\" stroke=\"currentColor\"\r\n                stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"\/>\r\n        <\/svg>\r\n        Back\r\n      <\/button>\r\n      <button type=\"button\" class=\"ykh-btn ykh-btn--ana\" id=\"ykh-ileri\">\r\n        Continue\r\n        <svg viewBox=\"0 0 24 24\" width=\"15\" height=\"15\" aria-hidden=\"true\">\r\n          <path d=\"M5 12h13M12 5l7 7-7 7\" fill=\"none\" stroke=\"currentColor\"\r\n                stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"\/>\r\n        <\/svg>\r\n      <\/button>\r\n    <\/div>\r\n  <\/div>\r\n  <div class=\"ykh__uyari\">\r\n    <strong>This is a preliminary assessment.<\/strong> The calculation is\r\n    based on the standard's simplified method and the values you enter. A\r\n    formal risk assessment requires a site survey, review of the\r\n    architectural and electrical drawings, definition of lightning\r\n    protection zones (LPZ), and engineer sign-off. Design, permitting, and\r\n    inspection processes are based on that report \u2014 the result shown here\r\n    does not replace it.\r\n  <\/div>\r\n<\/section>\r\n<style>\r\n.ykh{\r\n  --ykh-turuncu:#F07C00;\r\n  --ykh-koyu:#111827;\r\n  --ykh-metin:#4b5563;\r\n  --ykh-cizgi:#e5e7eb;\r\n  --ykh-yesil:#16A34A;\r\n  --ykh-kirmizi:#DC2626;\r\n  margin:0 auto;\r\n  color:var(--ykh-metin);\r\n  font-size:16px;\r\n  line-height:1.7;\r\n}\r\n.ykh__giris{ margin:0 0 26px; text-align:center; }\r\n.ykh__giris p{ margin:0; font-size:16px; }\r\n.ykh strong{ color:var(--ykh-koyu); font-weight:650; }\r\n.ykh__kutu{\r\n  background:#fff;\r\n  border:1px solid var(--ykh-cizgi);\r\n  border-radius:14px;\r\n  box-shadow:0 14px 40px rgba(17,24,39,.06);\r\n  overflow:hidden;\r\n}\r\n.ykh__ust{\r\n  display:flex; align-items:center; gap:16px;\r\n  padding:20px 28px;\r\n  border-bottom:1px solid var(--ykh-cizgi);\r\n  background:#fafafa;\r\n}\r\n.ykh__ilerleme{ flex:1; height:6px; background:#e9ebee; border-radius:99px; overflow:hidden; }\r\n.ykh__dolu{\r\n  display:block; height:100%; width:0;\r\n  background:var(--ykh-turuncu); border-radius:99px;\r\n  transition:width .35s cubic-bezier(.16,1,.3,1);\r\n}\r\n.ykh__adimNo{\r\n  flex:0 0 auto; font-size:12px; font-weight:700; letter-spacing:.08em;\r\n  text-transform:uppercase; color:#9ca3af; white-space:nowrap;\r\n}\r\n.ykh__govde{ padding:32px 28px 26px; }\r\n.ykh__alt{\r\n  display:flex; gap:10px; justify-content:space-between;\r\n  padding:0 28px 24px;\r\n}\r\n.ykh__alt[hidden]{ display:none; }\r\n\/* --- BUTTONS --- *\/\r\n.ykh-btn{\r\n  display:inline-flex !important;\r\n  align-items:center; gap:8px;\r\n  padding:13px 26px !important;\r\n  border:1px solid transparent !important;\r\n  border-radius:7px !important;\r\n  background-image:none !important;\r\n  font-family:inherit !important;\r\n  font-size:13.5px !important;\r\n  font-weight:700 !important;\r\n  letter-spacing:.05em !important;\r\n  text-transform:uppercase !important;\r\n  cursor:pointer;\r\n  text-decoration:none !important;\r\n  -webkit-appearance:none; appearance:none;\r\n  transition:background .2s ease, border-color .2s ease, color .2s ease;\r\n}\r\n.ykh-btn--ana{ background:var(--ykh-turuncu) !important; color:#fff !important; margin-left:auto; }\r\n.ykh-btn--ana:hover{ background:#d86f00 !important; color:#fff !important; }\r\n.ykh-btn--yan{ background:#fff !important; border-color:var(--ykh-cizgi) !important; color:#6b7280 !important; }\r\n.ykh-btn--yan:hover{ border-color:var(--ykh-koyu) !important; color:var(--ykh-koyu) !important; background:#fff !important; }\r\n.ykh-btn[hidden]{ display:none !important; }\r\n\/* --- STEP --- *\/\r\n.ykh-adim__baslik{\r\n  margin:0 0 8px !important;\r\n  font-size:22px !important; line-height:1.3 !important;\r\n  font-weight:800; color:var(--ykh-koyu) !important;\r\n  text-transform:none !important; letter-spacing:0;\r\n}\r\n.ykh-adim__yardim{ margin:0 0 26px; font-size:14.5px; line-height:1.6; color:#9ca3af; }\r\n.ykh-alanlar{ display:grid; gap:18px; }\r\n.ykh-alan--yarim{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }\r\n.ykh-alan > label{\r\n  display:block;\r\n  font-size:12px; font-weight:700; letter-spacing:.06em;\r\n  text-transform:uppercase; color:var(--ykh-koyu);\r\n  margin-bottom:7px;\r\n}\r\n.ykh-alan__not{ display:block; margin-top:6px; font-size:13px; color:#9ca3af; line-height:1.5; }\r\n.ykh-alan input[type=number],\r\n.ykh-alan select{\r\n  width:100% !important;\r\n  max-width:100% !important;\r\n  padding:13px 15px !important;\r\n  font-family:inherit !important;\r\n  font-size:15px !important;\r\n  line-height:1.4 !important;\r\n  color:var(--ykh-koyu) !important;\r\n  background:#fff !important;\r\n  border:1px solid var(--ykh-cizgi) !important;\r\n  border-radius:8px !important;\r\n  box-sizing:border-box;\r\n  -webkit-appearance:none; appearance:none;\r\n  transition:border-color .18s ease, box-shadow .18s ease;\r\n}\r\n.ykh-alan select{\r\n  background-image:url(\"data:image\/svg+xml;charset=utf8,%3Csvg xmlns='http:\/\/www.w3.org\/2000\/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'\/%3E%3C\/svg%3E\") !important;\r\n  background-repeat:no-repeat !important;\r\n  background-position:right 14px center !important;\r\n  background-size:18px !important;\r\n  padding-right:42px !important;\r\n}\r\n.ykh-alan input:focus,\r\n.ykh-alan select:focus{\r\n  outline:none;\r\n  border-color:var(--ykh-turuncu) !important;\r\n  box-shadow:0 0 0 3px rgba(240,124,0,.14);\r\n}\r\n.ykh-alan.hatali input,\r\n.ykh-alan.hatali select{ border-color:var(--ykh-kirmizi) !important; }\r\n.ykh-alan__hata{\r\n  display:none; margin-top:6px;\r\n  font-size:13px; font-weight:600; color:var(--ykh-kirmizi);\r\n}\r\n.ykh-alan.hatali .ykh-alan__hata{ display:block; }\r\n\/* --- RESULT --- *\/\r\n.ykh-sonuc__ust{\r\n  margin:-32px -28px 0;\r\n  padding:28px;\r\n  background:var(--ykh-koyu);\r\n  border-bottom:4px solid var(--ykh-vurgu, #F07C00);\r\n}\r\n.ykh-sonuc--uygun  { --ykh-vurgu:#16A34A; }\r\n.ykh-sonuc--gerekli{ --ykh-vurgu:#F07C00; }\r\n.ykh-sonuc--kritik { --ykh-vurgu:#DC2626; }\r\n.ykh-sonuc__etiket{\r\n  display:block; font-size:11px; font-weight:800; letter-spacing:.14em;\r\n  text-transform:uppercase; color:var(--ykh-vurgu,#F07C00); margin-bottom:8px;\r\n}\r\n.ykh-sonuc__basHead{\r\n  margin:0 !important;\r\n  font-size:clamp(19px,2.3vw,26px) !important; line-height:1.25 !important;\r\n  font-weight:600; color:#fff !important;\r\n  text-transform:none !important; letter-spacing:0;\r\n}\r\n.ykh-sonuc__basHead strong{ color:var(--ykh-vurgu,#F07C00); font-weight:800; }\r\n.ykh-riskler{\r\n  display:grid; grid-template-columns:repeat(2,1fr);\r\n  margin:0 -28px;\r\n  border-bottom:1px solid var(--ykh-cizgi);\r\n}\r\n.ykh-risk{ padding:22px 26px; border-right:1px solid var(--ykh-cizgi); border-top:3px solid transparent; }\r\n.ykh-risk:last-child{ border-right:0; }\r\n.ykh-risk--ok{ border-top-color:var(--ykh-yesil); }\r\n.ykh-risk--no{ border-top-color:var(--ykh-kirmizi); background:#fef7f7; }\r\n.ykh-risk__kod{\r\n  display:inline-block; font-size:11px; font-weight:800; letter-spacing:.1em;\r\n  color:#fff; background:#9ca3af; padding:3px 8px; border-radius:4px; margin-bottom:8px;\r\n}\r\n.ykh-risk--ok .ykh-risk__kod{ background:var(--ykh-yesil); }\r\n.ykh-risk--no .ykh-risk__kod{ background:var(--ykh-kirmizi); }\r\n.ykh-risk__ad{ display:block; font-size:14px; font-weight:650; color:var(--ykh-koyu); margin-bottom:8px; }\r\n.ykh-risk__deger{\r\n  display:block; font-size:20px; font-weight:750; color:var(--ykh-koyu);\r\n  line-height:1.2; font-variant-numeric:tabular-nums;\r\n}\r\n.ykh-risk__sinir{ display:block; font-size:12.5px; color:#9ca3af; margin-top:2px; }\r\n.ykh-risk__durum{\r\n  display:inline-block; margin-top:10px;\r\n  font-size:12px; font-weight:700; letter-spacing:.05em; text-transform:uppercase;\r\n}\r\n.ykh-risk--ok .ykh-risk__durum{ color:var(--ykh-yesil); }\r\n.ykh-risk--no .ykh-risk__durum{ color:var(--ykh-kirmizi); }\r\n.ykh-lplKutu{\r\n  display:flex; flex-wrap:wrap;\r\n  margin:0 -28px; border-bottom:1px solid var(--ykh-cizgi);\r\n}\r\n.ykh-lpl{\r\n  flex:0 0 auto; min-width:190px; padding:24px 28px;\r\n  background:#fafafa; border-right:1px solid var(--ykh-cizgi); text-align:center;\r\n}\r\n.ykh-lpl__ad{ display:block; font-size:34px; font-weight:800; line-height:1.1; color:var(--ykh-vurgu,#F07C00); }\r\n.ykh-lpl__alt{\r\n  display:block; margin-top:4px; font-size:11.5px; font-weight:700;\r\n  letter-spacing:.1em; text-transform:uppercase; color:#9ca3af;\r\n}\r\n.ykh-lplDeger{ flex:1 1 260px; display:grid; grid-template-columns:repeat(2,1fr); }\r\n.ykh-lplDeger > div{ padding:24px 26px; border-right:1px solid var(--ykh-cizgi); }\r\n.ykh-lplDeger > div:last-child{ border-right:0; }\r\n.ykh-deger__ad{\r\n  display:block; font-size:11.5px; font-weight:700; letter-spacing:.08em;\r\n  text-transform:uppercase; color:#9ca3af; margin-bottom:6px;\r\n}\r\n.ykh-deger__no{ display:block; font-size:22px; font-weight:750; color:var(--ykh-koyu); line-height:1.2; }\r\n.ykh-blok{ margin:0 -28px; padding:26px 28px; border-bottom:1px solid var(--ykh-cizgi); }\r\n.ykh-blok__baslik{\r\n  margin:0 0 14px !important;\r\n  font-size:13px !important; font-weight:800; letter-spacing:.1em;\r\n  text-transform:uppercase !important; color:#9ca3af !important; line-height:1.3 !important;\r\n}\r\n.ykh-dokum{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }\r\n.ykh-dokum > div{\r\n  display:flex; justify-content:space-between; align-items:baseline; gap:12px;\r\n  padding:11px 14px; background:#fafafa; border-radius:7px; font-size:14px;\r\n}\r\n.ykh-dokum span{ color:#6b7280; }\r\n.ykh-dokum b{ color:var(--ykh-koyu); font-weight:700; white-space:nowrap; font-variant-numeric:tabular-nums; }\r\n.ykh-dokum__not{ margin:12px 0 0 !important; font-size:13px; color:#9ca3af; line-height:1.6; }\r\n.ykh-bilesenler{ display:grid; gap:10px; }\r\n.ykh-bilesen{\r\n  padding:14px 16px; background:#fafafa;\r\n  border-left:3px solid var(--ykh-vurgu,#F07C00); border-radius:0 7px 7px 0;\r\n}\r\n.ykh-bilesen__ad{\r\n  display:block; font-size:15px; font-weight:700; color:var(--ykh-koyu);\r\n  line-height:1.35; margin-bottom:3px;\r\n}\r\n.ykh-bilesen__not{ display:block; font-size:13.5px; line-height:1.6; color:#6b7280; }\r\n.ykh-sonuc__son{ padding-top:24px; text-align:center; }\r\n.ykh-sonuc__son p{ margin:0 0 18px !important; font-size:15px; }\r\n\/* --- LOCK SCREEN --- *\/\r\n.ykh-kilit{ text-align:center; padding:14px 0 6px; }\r\n.ykh-kilit__ikon{\r\n  display:inline-flex; align-items:center; justify-content:center;\r\n  width:64px; height:64px; margin-bottom:18px;\r\n  border-radius:50%; background:#fdf3e8; color:var(--ykh-turuncu);\r\n}\r\n.ykh-kilit__baslik{\r\n  margin:0 0 10px !important;\r\n  font-size:clamp(21px,2.4vw,27px) !important; line-height:1.25 !important;\r\n  font-weight:800; color:var(--ykh-koyu) !important;\r\n  text-transform:none !important; letter-spacing:0;\r\n}\r\n.ykh-kilit__metin{\r\n  margin:0 auto 24px !important; max-width:460px;\r\n  font-size:15.5px; line-height:1.65; color:var(--ykh-metin);\r\n}\r\n.ykh-kilit__liste{\r\n  list-style:none; margin:0 auto 28px; padding:20px 22px;\r\n  max-width:520px; text-align:left;\r\n  background:#fafafa; border:1px solid var(--ykh-cizgi); border-radius:10px;\r\n}\r\n.ykh-kilit__liste li{\r\n  position:relative; padding:0 0 0 28px; margin:0 0 11px;\r\n  font-size:14.5px; line-height:1.55;\r\n}\r\n.ykh-kilit__liste li:last-child{ margin-bottom:0; }\r\n.ykh-kilit__liste li::before{\r\n  content:\"\"; position:absolute; left:6px; top:.55em;\r\n  width:8px; height:8px; border-radius:2px;\r\n  background:var(--ykh-turuncu); transform:rotate(45deg);\r\n}\r\n.ykh-kilit__butonlar{\r\n  display:flex; flex-wrap:wrap; gap:10px; justify-content:center;\r\n}\r\n.ykh-kilit__butonlar .ykh-btn--ana{ margin-left:0; }\r\n\/* --- FORM AREA --- *\/\r\n.yk-risk-form.ykh-gizli{ display:none !important; }\r\n.yk-risk-form{ animation:ykhGir .5s cubic-bezier(.16,1,.3,1) both; }\r\n.ykh-formBas{\r\n  max-width:880px; margin:44px auto 0; text-align:center;\r\n  animation:ykhGir .5s cubic-bezier(.16,1,.3,1) both;\r\n}\r\n.ykh-formBas__ust{\r\n  display:block; font-size:11px; font-weight:800; letter-spacing:.16em;\r\n  text-transform:uppercase; color:#F07C00; margin-bottom:10px;\r\n}\r\n.ykh-formBas__baslik{\r\n  margin:0 0 10px !important;\r\n  font-size:clamp(20px,2.3vw,27px) !important; line-height:1.25 !important;\r\n  font-weight:800; color:#111827 !important;\r\n  text-transform:none !important; letter-spacing:0;\r\n}\r\n.ykh-formBas__metin{ margin:0 auto !important; max-width:560px; font-size:15.5px; color:#4b5563; }\r\n@keyframes ykhGir{ from{opacity:0;transform:translateY(14px);} to{opacity:1;transform:translateY(0);} }\r\n.ykh-gir{ animation:ykhGir .32s cubic-bezier(.16,1,.3,1) both; }\r\n.ykh__uyari{\r\n margin:22px auto 0;\r\n  padding:20px 24px; background:#fffaf4;\r\n  border:1px solid #f6dcc0; border-radius:10px;\r\n  font-size:14.5px; line-height:1.65;\r\n}\r\n\/* --- RESPONSIVE --- *\/\r\n@media (max-width:640px){\r\n  .ykh{ font-size:15.5px; }\r\n  .ykh__ust{ padding:16px 18px; }\r\n  .ykh__govde{ padding:26px 18px 22px; }\r\n  .ykh__alt{ padding:0 18px 20px; }\r\n  .ykh-alan--yarim{ grid-template-columns:1fr; }\r\n  .ykh-adim__baslik{ font-size:19px !important; }\r\n  .ykh-sonuc__ust{ margin:-26px -18px 0; padding:22px 18px; }\r\n  .ykh-riskler{ grid-template-columns:1fr; margin:0 -18px; }\r\n  .ykh-risk{ border-right:0; border-bottom:1px solid var(--ykh-cizgi); padding:18px; }\r\n  .ykh-lplKutu{ margin:0 -18px; }\r\n  .ykh-lpl{ flex:1 1 100%; border-right:0; border-bottom:1px solid var(--ykh-cizgi); padding:20px; }\r\n  .ykh-lplDeger{ grid-template-columns:1fr; }\r\n  .ykh-lplDeger > div{ border-right:0; border-bottom:1px solid var(--ykh-cizgi); padding:18px; }\r\n  .ykh-lplDeger > div:last-child{ border-bottom:0; }\r\n  .ykh-blok{ margin:0 -18px; padding:22px 18px; }\r\n  .ykh-dokum{ grid-template-columns:1fr; }\r\n  .ykh__alt .ykh-btn{ flex:1 1 auto; justify-content:center; }\r\n}\r\n@media (prefers-reduced-motion:reduce){\r\n  .ykh-gir, .yk-risk-form, .ykh-formBas{ animation:none; }\r\n  .ykh__dolu, .ykh-btn{ transition:none; }\r\n}\r\n<\/style>\r\n<script>\r\n(function(){\r\n  'use strict';\r\n  \/* =====================================================================\r\n   * COEFFICIENT TABLES \u2014 matches Excel's E100\u2013F145 range exactly\r\n   * ===================================================================== *\/\r\n  var T = {\r\n    h: [\r\n      ['No special hazard', 1],\r\n      ['Low risk of panic (up to 2 storeys, fewer than 100 people)', 2],\r\n      ['Medium risk of panic (fewer than 1000 people)', 5],\r\n      ['Difficult to evacuate (disabled occupants, hospital)', 5],\r\n      ['High risk of panic (more than 1000 people)', 10],\r\n      ['Hazard to the environment', 20],\r\n      ['Risk of environmental contamination', 50]\r\n    ],\r\n    Lf1: [\r\n      ['Building is in normal use', 0.1],\r\n      ['Building is unoccupied', 0.01]\r\n    ],\r\n    Cd: [\r\n      ['Surrounded by taller structures or trees', 0.25],\r\n      ['Surrounded by structures of similar or lower height', 0.5],\r\n      ['Isolated structure, no other structures nearby', 1],\r\n      ['Isolated structure on a hilltop or elevated ground', 2]\r\n    ],\r\n    rf: [\r\n      ['Low', 0.001],\r\n      ['Normal', 0.01],\r\n      ['High', 0.1],\r\n      ['Explosion risk', 1]\r\n    ],\r\n    Lf2: [\r\n      ['None', 0],\r\n      ['Gas, water', 0.1],\r\n      ['TV, telecommunications, power, radio', 0.01]\r\n    ],\r\n    Ai: [\r\n      ['Underground', 0],\r\n      ['Overhead line', 6600],\r\n      ['No line', 14400]\r\n    ],\r\n    Pd: [\r\n      ['None', 1],\r\n      ['Protection Level IV', 0.2],\r\n      ['Protection Level III', 0.1],\r\n      ['Protection Level II', 0.05],\r\n      ['Protection Level I', 0.02]\r\n    ],\r\n    Pi: [\r\n      ['None', 1],\r\n      ['Yes \u2014 Iimp \u2265 12.5 kA', 0.03],\r\n      ['Yes \u2014 Iimp = 75\/(m \u00d7 n)', 0.02],\r\n      ['Yes \u2014 Iimp = 100\/(m \u00d7 n)', 0.01]\r\n    ]\r\n  };\r\n  var LPL = [\r\n    { ad:'LPL IV',  pd:0.2,  kure:'60 m', orgu:'20 \u00d7 20 m' },\r\n    { ad:'LPL III', pd:0.1,  kure:'45 m', orgu:'15 \u00d7 15 m' },\r\n    { ad:'LPL II',  pd:0.05, kure:'30 m', orgu:'10 \u00d7 10 m' },\r\n    { ad:'LPL I',   pd:0.02, kure:'20 m', orgu:'5 \u00d7 5 m' }\r\n  ];\r\n  var SPD = [\r\n    { ad:'No SPD required',                  pi:1 },\r\n    { ad:'Type 1 SPD (Iimp \u2265 12.5 kA)',       pi:0.03 },\r\n    { ad:'Type 1 SPD \u2014 Iimp = 75\/(m \u00d7 n)',    pi:0.02 },\r\n    { ad:'Type 1 SPD \u2014 Iimp = 100\/(m \u00d7 n)',   pi:0.01 }\r\n  ];\r\n  var RT1 = 1e-5, RT2 = 1e-3, NG_VARSAYILAN = 4;\r\n  \/* =====================================================================\r\n   * STEPS\r\n   * ===================================================================== *\/\r\n  var ADIMLAR = [\r\n    {\r\n      baslik: 'Building Dimensions',\r\n      yardim: 'The collection area is calculated from these values. Approximate figures are fine.',\r\n      alanlar: [\r\n        { id:'L', tip:'sayi', etiket:'Length (m)',  zorunlu:true, min:1, yarim:true },\r\n        { id:'W', tip:'sayi', etiket:'Width (m)', zorunlu:true, min:1, yarim:true },\r\n        { id:'H', tip:'sayi', etiket:'Height (m)', zorunlu:true, min:1, yarim:true },\r\n        { id:'T', tip:'sayi', etiket:'Chimney \/ mast height (m)', min:0, yarim:true,\r\n          not:'Enter 0 if there is no chimney, antenna mast, or tower on the roof.' },\r\n        { id:'Ng', tip:'sayi', etiket:'Lightning ground flash density (Ng)', min:0, adim:'0.1',\r\n          not:'Number of lightning flashes per square kilometre per year. Leave blank if unknown \u2014 4 will be assumed.' }\r\n      ]\r\n    },\r\n    {\r\n      baslik: 'Use and Hazard',\r\n      yardim: 'Under the standard, the risk of loss of human life (R1) has the lowest tolerance threshold; this step has the greatest effect on the result.',\r\n      alanlar: [\r\n        { id:'h',   tip:'liste', etiket:'Hazard to people', tablo:'h' },\r\n        { id:'Lf1', tip:'liste', etiket:'Building occupancy status', tablo:'Lf1' },\r\n        { id:'rf',  tip:'liste', etiket:'Fire risk', tablo:'rf',\r\n          not:'Select \"Explosion risk\" if explosive or flammable materials are present.' }\r\n      ]\r\n    },\r\n    {\r\n      baslik: 'Location and Service',\r\n      yardim: \"The building's position relative to its surroundings can change the likelihood of a direct strike by up to a factor of four.\",\r\n      alanlar: [\r\n        { id:'Cd',  tip:'liste', etiket:\"Building's location\", tablo:'Cd' },\r\n        { id:'Ai',  tip:'liste', etiket:'Power line', tablo:'Ai',\r\n          not:'For facilities fed by an overhead line, the line-related risk increases significantly.' },\r\n        { id:'Lf2', tip:'liste', etiket:'Service provided', tablo:'Lf2' }\r\n      ]\r\n    },\r\n    {\r\n      baslik: 'Existing Protection',\r\n      yardim: 'Indicate any protection already installed; otherwise select \"None\".',\r\n      alanlar: [\r\n        { id:'Pd', tip:'liste', etiket:'Existing lightning protection (external LPS)', tablo:'Pd' },\r\n        { id:'Pi', tip:'liste', etiket:'Existing SPD', tablo:'Pi' }\r\n      ]\r\n    }\r\n  ];\r\n  \/* =====================================================================\r\n   * CALCULATION\r\n   * ===================================================================== *\/\r\n  function kat( grup, etiket ) {\r\n    var t = T[ grup ];\r\n    for ( var i = 0; i < t.length; i++ ) {\r\n      if ( t[i][0] === etiket ) { return t[i][1]; }\r\n    }\r\n    return t[0][1];\r\n  }\r\n  function hesapla( c ) {\r\n    var Ng = parseFloat( c.Ng );\r\n    var ngVarsayilan = false;\r\n    if ( !isFinite( Ng ) || Ng <= 0 ) { Ng = NG_VARSAYILAN; ngVarsayilan = true; }\r\n    var L = Math.max( 0, parseFloat( c.L ) || 0 );\r\n    var W = Math.max( 0, parseFloat( c.W ) || 0 );\r\n    var H = Math.max( 0, parseFloat( c.H ) || 0 );\r\n    var Tk = Math.max( 0, parseFloat( c.T ) || 0 );\r\n    var h   = kat( 'h',   c.h );\r\n    var Lf1 = kat( 'Lf1', c.Lf1 );\r\n    var Cd  = kat( 'Cd',  c.Cd );\r\n    var rf  = kat( 'rf',  c.rf );\r\n    var Lf2 = kat( 'Lf2', c.Lf2 );\r\n    var Ai  = kat( 'Ai',  c.Ai );\r\n    var Pd  = kat( 'Pd',  c.Pd );\r\n    var Pi  = kat( 'Pi',  c.Pi );\r\n    var Ad1 = ( L * W ) + ( 2 * ( 3 * H ) * ( L + W ) ) + ( Math.PI * Math.pow( 3 * H, 2 ) );\r\n    var Ad2 = Math.PI * Math.pow( 3 * Tk, 2 );\r\n    var Ad  = Math.max( Ad1, Ad2 );\r\n    var Nd = Ng * Ad * Cd * 1e-6;\r\n    var Ni = Ng * Ai * 1e-6;\r\n    function risk( pd, pi ){\r\n      return [\r\n        ( Nd * pd * Lf1 * h * rf ) + ( Ni * pi * Lf1 * h * rf ),\r\n        ( Nd * pd * Lf2 * rf )     + ( Ni * pi * Lf2 * rf )\r\n      ];\r\n    }\r\n    var mevcut = risk( Pd, Pi );\r\n    var R1 = mevcut[0], R2 = mevcut[1];\r\n    var r1ok = ( R1 <= RT1 ), r2ok = ( R2 <= RT2 );\r\n    var gerekli = null;\r\n    if ( r1ok && r2ok ) {\r\n      gerekli = { yeterli:true };\r\n    } else {\r\n      dis:\r\n      for ( var i = 0; i < LPL.length; i++ ) {\r\n        for ( var j = 0; j < SPD.length; j++ ) {\r\n          var r = risk( LPL[i].pd, SPD[j].pi );\r\n          if ( r[0] <= RT1 && r[1] <= RT2 ) {\r\n            gerekli = { yeterli:false, lpl:LPL[i], spd:SPD[j], R1:r[0], R2:r[1] };\r\n            break dis;\r\n          }\r\n        }\r\n      }\r\n      if ( !gerekli ) { gerekli = { yeterli:false, asildi:true }; }\r\n    }\r\n    \/* --- Component recommendations --- *\/\r\n    var bilesenler = [];\r\n    if ( gerekli.lpl ) {\r\n      bilesenler.push({\r\n        ad: 'External lightning protection system \u2014 ' + gerekli.lpl.ad,\r\n        not: 'Air terminals, down conductors, and earthing are designed to the ' + gerekli.lpl.kure +\r\n             ' rolling sphere method with ' + gerekli.lpl.orgu + ' mesh spacing.'\r\n      });\r\n    }\r\n    if ( gerekli.spd && gerekli.spd.pi < 1 ) {\r\n      bilesenler.push({\r\n        ad: gerekli.spd.ad,\r\n        not: 'A Type 1 SPD capable of carrying part of the direct lightning current is required at the main board. It is staged with Type 2 devices at sub-boards.'\r\n      });\r\n    }\r\n    bilesenler.push({\r\n      ad: 'Earthing and equipotential bonding',\r\n      not: 'Protection is only as good as the earthing system behind it; all metal masses must be bonded to a common potential.'\r\n    });\r\n    if ( rf >= 1 ) {\r\n      bilesenler.push({\r\n        ad: 'Separation distance (s) calculation and spark-preventing connections',\r\n        not: 'In buildings with an explosion risk, a single spark is unacceptable; the connection method is critically important.'\r\n      });\r\n    }\r\n    if ( h >= 5 ) {\r\n      bilesenler.push({\r\n        ad: 'Protection of life safety systems',\r\n        not: 'Fire detection, lifts, emergency lighting, and public address systems each require their own protection stage.'\r\n      });\r\n    }\r\n    if ( Ai > 0 ) {\r\n      bilesenler.push({\r\n        ad: 'Line-entry protection',\r\n        not: 'For facilities fed by an overhead line, the line-related event frequency (Ni) increases the risk significantly.'\r\n      });\r\n    }\r\n    return {\r\n      Ng:Ng, ngVarsayilan:ngVarsayilan, Ad:Ad, Nd:Nd, Ni:Ni,\r\n      R1:R1, R2:R2, r1ok:r1ok, r2ok:r2ok,\r\n      gerekli:gerekli, bilesenler:bilesenler\r\n    };\r\n  }\r\n  \/* =====================================================================\r\n   * FORMATTING\r\n   * ===================================================================== *\/\r\n  var UST = {'0':'\u2070','1':'\u00b9','2':'\u00b2','3':'\u00b3','4':'\u2074','5':'\u2075','6':'\u2076','7':'\u2077','8':'\u2078','9':'\u2079'};\r\n  function bilimsel( x ){\r\n    if ( !isFinite(x) || x <= 0 ) { return '0'; }\r\n    var us = Math.floor( Math.log10(x) );\r\n    var c  = ( x \/ Math.pow(10, us) ).toFixed(2);\r\n    var s  = us < 0 ? '\u207b' : '';\r\n    var b  = String( Math.abs(us) ).split('').map(function(d){ return UST[d]; }).join('');\r\n    return c + ' \u00d7 10' + s + b;\r\n  }\r\n  function sayi( x, basamak ){\r\n    return Number(x).toLocaleString('en-US', {\r\n      minimumFractionDigits: basamak || 0,\r\n      maximumFractionDigits: basamak || 0\r\n    });\r\n  }\r\n  function kacis(s){\r\n    return String(s).replace(\/[&<>\"']\/g, function(k){\r\n      return {'&':'&amp;','<':'&lt;','>':'&gt;','\"':'&quot;',\"'\":'&#39;'}[k];\r\n    });\r\n  }\r\n  \/* =====================================================================\r\n   * UI\r\n   * ===================================================================== *\/\r\n  var kok = document.getElementById('ykh');\r\n  if ( !kok ) { return; }\r\n  var govde  = document.getElementById('ykh-govde');\r\n  var dolu   = document.getElementById('ykh-dolu');\r\n  var adimNo = document.getElementById('ykh-adimNo');\r\n  var ust    = document.getElementById('ykh-ust');\r\n  var alt    = document.getElementById('ykh-alt');\r\n  var geri   = document.getElementById('ykh-geri');\r\n  var ileri  = document.getElementById('ykh-ileri');\r\n  var mevcut = 0;\r\n  var cevap  = {};\r\n  \/* Hide the embedded form initially (stays visible if JS is unavailable) *\/\r\n  var formAlani = document.querySelector('.yk-risk-form');\r\n  if ( formAlani ) { formAlani.classList.add('ykh-gizli'); }\r\n  function adimCiz(){\r\n    var a = ADIMLAR[ mevcut ];\r\n    ust.hidden  = false;\r\n    alt.hidden  = false;\r\n    geri.hidden = ( mevcut === 0 );\r\n    ileri.hidden = false;\r\n    ileri.innerHTML = ( mevcut === ADIMLAR.length - 1 )\r\n      ? 'Calculate My Risk'\r\n      : 'Continue <svg viewBox=\"0 0 24 24\" width=\"15\" height=\"15\" aria-hidden=\"true\"><path d=\"M5 12h13M12 5l7 7-7 7\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"\/><\/svg>';\r\n    dolu.style.width = ( mevcut \/ ADIMLAR.length * 100 ) + '%';\r\n    adimNo.textContent = 'Step ' + ( mevcut + 1 ) + ' \/ ' + ADIMLAR.length;\r\n    var h = '<div class=\"ykh-gir\">';\r\n    h += '<h3 class=\"ykh-adim__baslik\">' + kacis(a.baslik) + '<\/h3>';\r\n    h += '<p class=\"ykh-adim__yardim\">' + kacis(a.yardim) + '<\/p>';\r\n    h += '<div class=\"ykh-alanlar\">';\r\n    var yarimAcik = false;\r\n    a.alanlar.forEach(function(f){\r\n      if ( f.yarim && !yarimAcik ) { h += '<div class=\"ykh-alan--yarim\">'; yarimAcik = true; }\r\n      if ( !f.yarim && yarimAcik )  { h += '<\/div>'; yarimAcik = false; }\r\n      h += '<div class=\"ykh-alan\" data-id=\"' + f.id + '\">';\r\n      h += '<label for=\"ykh-' + f.id + '\">' + kacis(f.etiket) + '<\/label>';\r\n      if ( f.tip === 'sayi' ) {\r\n        var v = ( cevap[f.id] !== undefined ) ? cevap[f.id] : '';\r\n        h += '<input type=\"number\" id=\"ykh-' + f.id + '\" inputmode=\"decimal\"'\r\n           + ' min=\"' + ( f.min !== undefined ? f.min : 0 ) + '\"'\r\n           + ' step=\"' + ( f.adim || 'any' ) + '\"'\r\n           + ' value=\"' + kacis(v) + '\">';\r\n      } else {\r\n        h += '<select id=\"ykh-' + f.id + '\">';\r\n        T[f.tablo].forEach(function(o){\r\n          var sec = ( cevap[f.id] === o[0] ) ? ' selected' : '';\r\n          h += '<option value=\"' + kacis(o[0]) + '\"' + sec + '>' + kacis(o[0]) + '<\/option>';\r\n        });\r\n        h += '<\/select>';\r\n      }\r\n      if ( f.not ) { h += '<span class=\"ykh-alan__not\">' + kacis(f.not) + '<\/span>'; }\r\n      h += '<span class=\"ykh-alan__hata\">This field is required.<\/span>';\r\n      h += '<\/div>';\r\n    });\r\n    if ( yarimAcik ) { h += '<\/div>'; }\r\n    h += '<\/div><\/div>';\r\n    govde.innerHTML = h;\r\n    \/* Save default selections *\/\r\n    a.alanlar.forEach(function(f){\r\n      if ( f.tip === 'liste' && cevap[f.id] === undefined ) {\r\n        cevap[f.id] = T[f.tablo][0][0];\r\n      }\r\n    });\r\n    var ilk = govde.querySelector('input, select');\r\n    if ( ilk && mevcut > 0 ) { ilk.focus({ preventScroll:true }); }\r\n  }\r\n  function adimOku(){\r\n    var a = ADIMLAR[ mevcut ];\r\n    var gecerli = true;\r\n    a.alanlar.forEach(function(f){\r\n      var el   = document.getElementById('ykh-' + f.id );\r\n      var sar  = govde.querySelector('.ykh-alan[data-id=\"' + f.id + '\"]');\r\n      if ( !el ) { return; }\r\n      var v = el.value.trim();\r\n      if ( f.tip === 'sayi' ) {\r\n        if ( f.zorunlu && ( v === '' || !( parseFloat(v) > 0 ) ) ) {\r\n          if ( sar ) { sar.classList.add('hatali'); }\r\n          gecerli = false;\r\n          return;\r\n        }\r\n        if ( sar ) { sar.classList.remove('hatali'); }\r\n        cevap[f.id] = v;\r\n      } else {\r\n        cevap[f.id] = v;\r\n      }\r\n    });\r\n    return gecerli;\r\n  }\r\n  ileri.addEventListener('click', function(){\r\n    if ( !adimOku() ) {\r\n      var ilkHata = govde.querySelector('.ykh-alan.hatali input');\r\n      if ( ilkHata ) { ilkHata.focus(); }\r\n      return;\r\n    }\r\n    mevcut++;\r\n    if ( mevcut >= ADIMLAR.length ) { kilitCiz(); }\r\n    else { adimCiz(); }\r\n  });\r\n  geri.addEventListener('click', function(){\r\n    if ( mevcut > 0 ) { mevcut--; adimCiz(); }\r\n  });\r\n  \/* Advance with Enter *\/\r\n  govde.addEventListener('keydown', function(e){\r\n    if ( e.key === 'Enter' ) { e.preventDefault(); ileri.click(); }\r\n  });\r\n  \/* =====================================================================\r\n   * LOCK SCREEN \u2014 calculation is done, result unlocks once the form is submitted\r\n   * ===================================================================== *\/\r\n  var sonSonuc  = null;   \/\/ the calculated result waits here\r\n  var formuBekle = false; \/\/ is a form submission pending?\r\n  function kilitCiz(){\r\n    sonSonuc = hesapla( cevap );\r\n    ust.hidden = true;\r\n    alt.hidden = true;\r\n    var popupVar  = ( typeof window.ykPopupAc === 'function' );\r\n    var btnClass  = ( !formAlani && popupVar ) ? ' yk-hesaplayici' : '';\r\n    var h = '<div class=\"ykh-gir ykh-kilit\">';\r\n    h += '<div class=\"ykh-kilit__ikon\" aria-hidden=\"true\">'\r\n       + '<svg viewBox=\"0 0 24 24\" width=\"30\" height=\"30\">'\r\n       + '<path d=\"M12 3l7 4v5c0 4.4-3 8.4-7 9-4-.6-7-4.6-7-9V7l7-4z\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.7\" stroke-linejoin=\"round\"\/>'\r\n       + '<path d=\"M9.5 12.2l1.8 1.8 3.4-3.6\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.9\" stroke-linecap=\"round\" stroke-linejoin=\"round\"\/>'\r\n       + '<\/svg><\/div>';\r\n    h += '<h3 class=\"ykh-kilit__baslik\">Your Calculation Is Ready<\/h3>';\r\n    h += '<p class=\"ykh-kilit__metin\">Your building\\'s risk assessment is complete. '\r\n       + 'Just fill in a short form to view the result.<\/p>';\r\n    h += '<ul class=\"ykh-kilit__liste\">';\r\n    h += '<li>Risk of loss of human life (R1) and loss of service (R2) values<\/li>';\r\n    h += '<li>The required protection level (LPL) and air termination system dimensions<\/li>';\r\n    h += '<li>Protection component recommendations specific to your building<\/li>';\r\n    h += '<li>A calculation breakdown \u2014 collection area, strike frequency<\/li>';\r\n    h += '<\/ul>';\r\n    h += '<div class=\"ykh-kilit__butonlar\">';\r\n    h += '<button type=\"button\" class=\"ykh-btn ykh-btn--ana' + btnClass + '\" id=\"ykh-formAc\">View My Result<\/button>';\r\n    h += '<button type=\"button\" class=\"ykh-btn ykh-btn--yan\" id=\"ykh-duzelt\">Edit My Answers<\/button>';\r\n    h += '<\/div>';\r\n    h += '<\/div>';\r\n    govde.innerHTML = h;\r\n    document.getElementById('ykh-formAc').addEventListener('click', function(){\r\n      alanlariDoldur( sonSonuc );\r\n      formuBekle = true;\r\n      if ( formAlani ) {\r\n        formAlani.classList.remove('ykh-gizli');\r\n        formBasligiEkle();\r\n        setTimeout(function(){\r\n          formAlani.scrollIntoView({ behavior:'smooth', block:'start' });\r\n        }, 60);\r\n      }\r\n      \/* in popup mode: the yk-hesaplayici class on the button opens the popup *\/\r\n    });\r\n    document.getElementById('ykh-duzelt').addEventListener('click', function(){\r\n      mevcut = ADIMLAR.length - 1;\r\n      adimCiz();\r\n      kok.scrollIntoView({ behavior:'smooth', block:'start' });\r\n    });\r\n  }\r\n  \/* ---------------------------------------------------------------------\r\n   * CATCH THE FORM SUBMISSION\r\n   *\r\n   * \u26a0\ufe0f WPForms fires the 'wpformsAjaxSubmitSuccess' event via jQuery's\r\n   *    .trigger(). Events triggered through jQuery do NOT reach a native\r\n   *    addEventListener \u2014 so three methods are used together:\r\n   *      1) a jQuery listener (the actual path WPForms uses)\r\n   *      2) a MutationObserver watching for the confirmation box being\r\n   *         added to the DOM\r\n   *      3) a native listener (in case this changes in the future)\r\n   * ------------------------------------------------------------------- *\/\r\n  function gonderimTamam(){\r\n    if ( !formuBekle || !sonSonuc ) { return; }\r\n    formuBekle = false;\r\n    \/* Close the popup if it's open *\/\r\n    if ( typeof window.ykPopupKapat === 'function' ) {\r\n      try { window.ykPopupKapat(); } catch(e){}\r\n    }\r\n    setTimeout(function(){\r\n      if ( formAlani ) { formAlani.classList.add('ykh-gizli'); }\r\n      var bas = document.querySelector('.ykh-formBas');\r\n      if ( bas ) { bas.remove(); }\r\n      sonucCiz( sonSonuc );\r\n      kok.scrollIntoView({ behavior:'smooth', block:'start' });\r\n    }, 500 );\r\n  }\r\n  \/* 1) jQuery \u2014 the path WPForms actually uses *\/\r\n  if ( window.jQuery ) {\r\n    window.jQuery( document ).on( 'wpformsAjaxSubmitSuccess', function(){\r\n      gonderimTamam();\r\n    });\r\n  }\r\n  \/* 2) When the confirmation box is added to the DOM *\/\r\n  if ( 'MutationObserver' in window ) {\r\n    var onayGozlem = new MutationObserver(function( kayitlar ){\r\n      if ( !formuBekle ) { return; }\r\n      for ( var i = 0; i < kayitlar.length; i++ ) {\r\n        var eklenen = kayitlar[i].addedNodes;\r\n        for ( var j = 0; j < eklenen.length; j++ ) {\r\n          var n = eklenen[j];\r\n          if ( n.nodeType !== 1 ) { continue; }\r\n          var onay = n.classList && n.classList.contains('wpforms-confirmation-container');\r\n          if ( !onay && n.querySelector ) {\r\n            onay = !! n.querySelector('.wpforms-confirmation-container');\r\n          }\r\n          if ( onay ) { gonderimTamam(); return; }\r\n        }\r\n      }\r\n    });\r\n    onayGozlem.observe( document.body, { childList:true, subtree:true } );\r\n  }\r\n  \/* 3) Native \u2014 in case this fires without jQuery in future *\/\r\n  document.addEventListener('wpformsAjaxSubmitSuccess', gonderimTamam);\r\n  \/* =====================================================================\r\n   * RESULT\r\n   * ===================================================================== *\/\r\n  function sonucCiz( s ){\r\n    var g = s.gerekli;\r\n    var sinif = g.yeterli ? 'uygun' : ( g.asildi ? 'kritik' : 'gerekli' );\r\n    ust.hidden = true;\r\n    alt.hidden = true;\r\n    var baslik;\r\n    if ( g.yeterli ) {\r\n      baslik = 'Existing protection appears <strong>sufficient<\/strong>';\r\n    } else if ( g.asildi ) {\r\n      baslik = 'Risk is <strong>very high<\/strong> \u2014 a detailed assessment is required';\r\n    } else {\r\n      baslik = 'Required protection level: <strong>' + kacis(g.lpl.ad) + '<\/strong>';\r\n    }\r\n    var h = '<div class=\"ykh-gir ykh-sonuc ykh-sonuc--' + sinif + '\">';\r\n    h += '<div class=\"ykh-sonuc__ust\">';\r\n    h += '<span class=\"ykh-sonuc__etiket\">TS EN \/ IEC 62305-2 \u00b7 Preliminary Assessment<\/span>';\r\n    h += '<h3 class=\"ykh-sonuc__basHead\">' + baslik + '<\/h3>';\r\n    h += '<\/div>';\r\n    \/* R1 \/ R2 *\/\r\n    h += '<div class=\"ykh-riskler\">';\r\n    h += riskKart('R1', 'Risk of loss of human life', s.R1, RT1, s.r1ok);\r\n    h += riskKart('R2', 'Risk of loss of service',    s.R2, RT2, s.r2ok);\r\n    h += '<\/div>';\r\n    \/* LPL *\/\r\n    if ( g.lpl ) {\r\n      h += '<div class=\"ykh-lplKutu\">';\r\n      h += '<div class=\"ykh-lpl\"><span class=\"ykh-lpl__ad\">' + kacis(g.lpl.ad) + '<\/span>'\r\n         + '<span class=\"ykh-lpl__alt\">Required Protection Level<\/span><\/div>';\r\n      h += '<div class=\"ykh-lplDeger\">';\r\n      h += '<div><span class=\"ykh-deger__ad\">Rolling Sphere<\/span><span class=\"ykh-deger__no\">' + kacis(g.lpl.kure) + '<\/span><\/div>';\r\n      h += '<div><span class=\"ykh-deger__ad\">Mesh Spacing<\/span><span class=\"ykh-deger__no\">' + kacis(g.lpl.orgu) + '<\/span><\/div>';\r\n      h += '<\/div><\/div>';\r\n    }\r\n    \/* Calculation breakdown *\/\r\n    h += '<div class=\"ykh-blok\"><h4 class=\"ykh-blok__baslik\">Calculation Breakdown<\/h4><div class=\"ykh-dokum\">';\r\n    h += '<div><span>Collection area (Ad)<\/span><b>' + sayi(s.Ad, 1) + ' m\u00b2<\/b><\/div>';\r\n    h += '<div><span>Lightning density (Ng)<\/span><b>' + sayi(s.Ng, 1) + ( s.ngVarsayilan ? ' *' : '' ) + '<\/b><\/div>';\r\n    h += '<div><span>Strike frequency (Nd)<\/span><b>' + bilimsel(s.Nd) + '<\/b><\/div>';\r\n    h += '<div><span>Line-related frequency (Ni)<\/span><b>' + bilimsel(s.Ni) + '<\/b><\/div>';\r\n    h += '<\/div>';\r\n    if ( s.ngVarsayilan ) {\r\n      h += '<p class=\"ykh-dokum__not\">* Because no lightning density was entered, ' + NG_VARSAYILAN\r\n         + ' flashes\/km\u00b2\/year was assumed. The actual value varies by region and directly affects the result.<\/p>';\r\n    }\r\n    h += '<\/div>';\r\n    \/* Components *\/\r\n    h += '<div class=\"ykh-blok\"><h4 class=\"ykh-blok__baslik\">Recommended Protection Components<\/h4><div class=\"ykh-bilesenler\">';\r\n    s.bilesenler.forEach(function(b){\r\n      h += '<div class=\"ykh-bilesen\"><span class=\"ykh-bilesen__ad\">' + kacis(b.ad) + '<\/span>'\r\n         + '<span class=\"ykh-bilesen__not\">' + kacis(b.not) + '<\/span><\/div>';\r\n    });\r\n    h += '<\/div><\/div>';\r\n    \/* End *\/\r\n    h += '<div class=\"ykh-sonuc__son\">';\r\n    h += '<p>Your request has reached us. We\\'ll verify the result and get back to you shortly with a recommendation tailored to your building.<\/p>';\r\n    h += '<button type=\"button\" class=\"ykh-btn ykh-btn--yan\" id=\"ykh-bastan\">Start a New Calculation<\/button>';\r\n    h += '<\/div>';\r\n    h += '<\/div>';\r\n    govde.innerHTML = h;\r\n    document.getElementById('ykh-bastan').addEventListener('click', function(){\r\n      mevcut   = 0;\r\n      cevap    = {};\r\n      sonSonuc = null;\r\n      if ( formAlani ) { formAlani.classList.add('ykh-gizli'); }\r\n      var bas = document.querySelector('.ykh-formBas');\r\n      if ( bas ) { bas.remove(); }\r\n      adimCiz();\r\n      kok.scrollIntoView({ behavior:'smooth', block:'start' });\r\n    });\r\n  }\r\n  function riskKart( kod, ad, deger, sinir, ok ){\r\n    var h = '<div class=\"ykh-risk ' + ( ok ? 'ykh-risk--ok' : 'ykh-risk--no' ) + '\">';\r\n    h += '<span class=\"ykh-risk__kod\">' + kod + '<\/span>';\r\n    h += '<span class=\"ykh-risk__ad\">' + ad + '<\/span>';\r\n    h += '<span class=\"ykh-risk__deger\">' + bilimsel(deger) + '<\/span>';\r\n    h += '<span class=\"ykh-risk__sinir\">threshold ' + bilimsel(sinir) + '<\/span>';\r\n    h += '<span class=\"ykh-risk__durum\">' + ( ok ? 'Acceptable' : 'Unacceptable' ) + '<\/span>';\r\n    h += '<\/div>';\r\n    return h;\r\n  }\r\n  \/* =====================================================================\r\n   * OPEN AND FILL THE FORM\r\n   * ===================================================================== *\/\r\n  function alanaYaz( cls, deger ){\r\n    document.querySelectorAll('.' + cls).forEach(function(el){\r\n      var alan = el.matches('input, textarea, select') ? el : el.querySelector('input, textarea, select');\r\n      if ( alan ) {\r\n        alan.value = deger;\r\n        alan.dispatchEvent(new Event('input',  { bubbles:true }));\r\n        alan.dispatchEvent(new Event('change', { bubbles:true }));\r\n      }\r\n    });\r\n  }\r\n  function ozetMetni( s ){\r\n    var g = s.gerekli, o = [];\r\n    o.push('\u2014 Lightning Risk Preliminary Assessment \u2014');\r\n    o.push('');\r\n    o.push('INPUTS');\r\n    o.push('Dimensions: ' + cevap.L + ' \u00d7 ' + cevap.W + ' \u00d7 ' + cevap.H + ' m'\r\n           + ( parseFloat(cevap.T) > 0 ? ' (chimney\/mast ' + cevap.T + ' m)' : '' ));\r\n    o.push('Lightning density (Ng): ' + sayi(s.Ng,1) + ( s.ngVarsayilan ? ' (assumed)' : '' ));\r\n    o.push('Hazard to people: ' + cevap.h);\r\n    o.push('Occupancy status: ' + cevap.Lf1);\r\n    o.push('Fire risk: ' + cevap.rf);\r\n    o.push('Location: ' + cevap.Cd);\r\n    o.push('Power line: ' + cevap.Ai);\r\n    o.push('Service provided: ' + cevap.Lf2);\r\n    o.push('Existing lightning protection: ' + cevap.Pd);\r\n    o.push('Existing SPD: ' + cevap.Pi);\r\n    o.push('');\r\n    o.push('CALCULATION');\r\n    o.push('Ad = ' + sayi(s.Ad,1) + ' m\u00b2   Nd = ' + bilimsel(s.Nd) + '   Ni = ' + bilimsel(s.Ni));\r\n    o.push('R1 = ' + bilimsel(s.R1) + '  (threshold ' + bilimsel(RT1) + ') \u2014 ' + ( s.r1ok ? 'ACCEPTABLE' : 'UNACCEPTABLE' ));\r\n    o.push('R2 = ' + bilimsel(s.R2) + '  (threshold ' + bilimsel(RT2) + ') \u2014 ' + ( s.r2ok ? 'ACCEPTABLE' : 'UNACCEPTABLE' ));\r\n    o.push('');\r\n    o.push('RESULT: ' + sonucSatiri(g));\r\n    return o.join('\\n');\r\n  }\r\n  function sonucSatiri( g ){\r\n    if ( g.yeterli ) { return 'Existing protection appears sufficient'; }\r\n    if ( g.asildi )  { return 'Even the highest protection level alone is not sufficient \u2014 a detailed assessment is required'; }\r\n    return g.lpl.ad + ( g.spd && g.spd.pi < 1 ? ' + ' + g.spd.ad : '' );\r\n  }\r\n  function girdiMetni(){\r\n    return [\r\n      'Dimensions: ' + cevap.L + '\u00d7' + cevap.W + '\u00d7' + cevap.H + ' m',\r\n      'Chimney\/mast: ' + ( cevap.T || '0' ) + ' m',\r\n      'Ng: ' + ( cevap.Ng || 'not entered' ),\r\n      'Hazard: ' + cevap.h,\r\n      'Occupancy: ' + cevap.Lf1,\r\n      'Fire: ' + cevap.rf,\r\n      'Location: ' + cevap.Cd,\r\n      'Line: ' + cevap.Ai,\r\n      'Service: ' + cevap.Lf2,\r\n      'Lightning protection: ' + cevap.Pd,\r\n      'SPD: ' + cevap.Pi\r\n    ].join(' | ');\r\n  }\r\n  function formBasligiEkle(){\r\n    if ( !formAlani || document.querySelector('.ykh-formBas') ) { return; }\r\n    var bas = document.createElement('div');\r\n    bas.className = 'ykh-formBas';\r\n    bas.innerHTML =\r\n      '<span class=\"ykh-formBas__ust\">Final Step<\/span>' +\r\n      '<h3 class=\"ykh-formBas__baslik\">View Your Result<\/h3>' +\r\n      '<p class=\"ykh-formBas__metin\">Your calculation is ready and has been added to your request automatically. ' +\r\n      'Leave your contact details and your risk assessment will appear right away.<\/p>';\r\n    formAlani.parentNode.insertBefore( bas, formAlani );\r\n  }\r\n  function alanlariDoldur( s ){\r\n    alanaYaz('yk-f-ozet',     ozetMetni(s));\r\n    alanaYaz('yk-f-sonuc',    sonucSatiri(s.gerekli));\r\n    alanaYaz('yk-f-r1',       bilimsel(s.R1));\r\n    alanaYaz('yk-f-r2',       bilimsel(s.R2));\r\n    alanaYaz('yk-f-ad',       sayi(s.Ad,1) + ' m\u00b2');\r\n    alanaYaz('yk-f-girdiler', girdiMetni());\r\n  }\r\n  \/* --- Start --- *\/\r\n  adimCiz();\r\n})();\r\n<\/script>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>See your risk in one minute.<\/p>\n","protected":false},"author":1,"featured_media":995356,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-995357","page","type-page","status-publish","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/yilkomer.com\/en\/wp-json\/wp\/v2\/pages\/995357","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yilkomer.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/yilkomer.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/yilkomer.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yilkomer.com\/en\/wp-json\/wp\/v2\/comments?post=995357"}],"version-history":[{"count":5,"href":"https:\/\/yilkomer.com\/en\/wp-json\/wp\/v2\/pages\/995357\/revisions"}],"predecessor-version":[{"id":995385,"href":"https:\/\/yilkomer.com\/en\/wp-json\/wp\/v2\/pages\/995357\/revisions\/995385"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/yilkomer.com\/en\/wp-json\/wp\/v2\/media\/995356"}],"wp:attachment":[{"href":"https:\/\/yilkomer.com\/en\/wp-json\/wp\/v2\/media?parent=995357"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}