PageSourceSearch

https://www.hera.is/_next/static/chunks/5689-cad23ddbed7fc503.js

js hera.is collected 2026-10-02 01:58:29 UTC 44,162 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5689],{15689:(e,t,a)=>{a.r(t),a.d(t,{TRADE_PRO_THEMES:()=>x,default:()=>f,pickTradeTheme:()=>u});var n=a(95155),r=a(12115),l=a(31520),s=a(99865),i=a(39525),o=a(69778),c=a(31346),d=a(67450),g=a(90994),m=a(10331);let x=["eldur","jokull","nott","mosi","st\xe1l","kopar"];function u(e){return e&&x.includes(e)?e:"eldur"}function p(e,t,a){var n,r,l,s;if("hero"===e)return a.hero||t.hero||"";if("logo"===e)return a.logo||t.logo||"";if(e.startsWith("service_")){let n=Number(e.split("_")[1])-1;return a.services[n]||t.services[n]||""}if(e.startsWith("project_")){let l=Number(e.split("_")[1])-1,s=null!=(n=a.projects)?n:{},i=null!=(r=t.projects)?r:{};return s[e]||i[e]||"/templates/trade-pro/project-".concat(l+1,".jpg")}if(e.startsWith("staff_")){let n=Number(e.split("_")[1])-1,r=null!=(l=a.staff)?l:{},i=null!=(s=t.staff)?s:{};return r[e]||i[e]||"/templates/trade-pro/staff-".concat(n+1,".jpg")}return""}let h=["25 \xe1ra reynsla","Votta\xf0 fyrirt\xe6ki","Trygg\xf0ur","Meistari \xed i\xf0ngrein"];function f(e){var t,a,x,f;let{data:F,handleSave:w,onToggleHide:N,images:C,previewImages:H,canEditImages:B,uploadingSlot:S,uploadError:T,handleInlineUpload:A,handleInlineRemove:L,isCustomImage:E,getSlotErrorMessage:M,readOnly:K,themeKey:O}=e;(0,r.useEffect)(()=>{let e="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap";if(document.querySelector('link[href="'.concat(e,'"]')))return;let t=document.createElement("link");return t.rel="stylesheet",t.href=e,t.setAttribute("data-template-fonts","template-trade-pro"),document.head.appendChild(t),()=>{t.parentNode&&t.parentNode.removeChild(t)}},[]);let D=u(O),_=(0,c.O)(D),W=!!N,q=p("hero",C,H),R=p("logo",C,H),V=(0,g.En)(F.services),U=(0,g.Lk)(F.features),G=F.projects&&F.projects.length>0?F.projects:m.g,z=F.staff&&F.staff.length>0?F.staff:m.Gp,P=F.faq&&F.faq.length>0?F.faq:m.G0,I=F.reviews||[],Q=e=>(F.hiddenFields||[]).includes(e),$=e=>Q(e),J=(null==(t=F.buttons)?void 0:t.contact)||{label:"Senda verkbei\xf0ni",url:"#samband"},X=(null==(a=F.buttons)?void 0:a.services)||{label:"Hringja n\xfana",url:null!=(x=(0,d.Q)(F.phone))?x:"#samband"},Y=Q("buttons.contact"),Z=Q("buttons.services"),ee=Y?Z?null:X:J,et=ee?function(e){if(!e)return"#";let t=e.trim();if(!t)return"#";if(t.startsWith("#"))return t;let a=t.toLowerCase();return a.startsWith("tel:")||a.startsWith("mailto:")||a.startsWith("http://")||a.startsWith("https://")?t:"https://".concat(t)}(ee.url):"#",ea=/^https?:\/\//i.test(et),en=null!=(f=(0,d.Q)(F.phone))?f:X.url||"#samband";return(0,n.jsxs)("div",{className:"font-[Inter] leading-relaxed pb-20 md:pb-0",style:{backgroundColor:"#FAF7F2",color:"#1C1917","--tp-accent":_.accent,"--tp-accent-hover":_.accentHover,"--tp-accent-bg":_.accentBg,"--tp-accent-bg-light":_.accentBgLight,"--tp-dark-bg":_.darkBg},children:[(0,n.jsx)("header",{className:"sticky top-0 z-40 backdrop-blur-md border-b",style:{backgroundColor:"rgba(250,247,242,0.9)",borderColor:"rgba(28,25,23,0.08)"},children:(0,n.jsxs)("div",{className:"max-w-[1280px] mx-auto px-4 md:px-8 py-3 md:py-4 flex items-center justify-between gap-3",children:[(0,n.jsx)("div",{className:"flex items-center gap-2.5 min-w-0",children:R?(0,n.jsx)(k,{logoUrl:R,altText:F.name||"Logo",editorActive:W,canEditImages:B,isUploading:"logo"===S,handleInlineUpload:A,handleInlineRemove:L,errorMessage:M("logo")}):(0,n.jsx)(y,{data:F,handleSave:w,onToggleHide:N,isHidden:Q("name"),readOnly:K,editorActive:W,canEditImages:B,isUploading:"logo"===S,handleInlineUpload:A})}),(0,n.jsxs)("nav",{className:"hidden lg:flex items-center gap-7 text-sm font-medium",style:{color:"#44403C"},children:[(0,n.jsx)("a",{href:"#thjonusta",className:"hover:text-[var(--tp-accent)] transition-colors",children:"\xdej\xf3nusta"}),(0,n.jsx)("a",{href:"#fyrri-verk",className:"hover:text-[var(--tp-accent)] transition-colors",children:"Fyrri verk"}),(0,n.jsx)("a",{href:"#um-okkur",className:"hover:text-[var(--tp-accent)] transition-colors",children:"Um okkur"}),(0,n.jsx)("a",{href:"#samband",className:"hover:text-[var(--tp-accent)] transition-colors",children:"Samband"})]}),ee&&(0,n.jsx)("a",{href:et,target:ea?"_blank":void 0,rel:ea?"noopener noreferrer":void 0,className:"inline-flex items-center gap-2 px-4 py-2 rounded-full text-sm font-semibold transition-all border","aria-label":"".concat(ee.label," (samhlj\xf3ma fyrsta hnappi)"),style:{backgroundColor:_.accent,borderColor:_.accent,color:_.pillText},children:ee.label})]})}),(0,n.jsxs)("section",{className:"relative overflow-hidden",style:{backgroundColor:_.darkBg},children:[(0,n.jsxs)("div",{className:"absolute inset-0",children:[(0,n.jsx)(l.A,{src:q,alt:"".concat(F.name||"Fyrirt\xe6ki"," — ").concat(F.aboutLabel||"\xfej\xf3nusta"),slot:"hero",canEdit:B,canRemove:E("hero"),isUploading:"hero"===S,onFileSelect:A,onRemove:L,errorMessage:M("hero"),containerClassName:"w-full h-full",imageClassName:"w-full h-full object-cover opacity-60",editButtonVariant:"hero"}),(0,n.jsx)("div",{className:"absolute inset-0 pointer-events-none",style:{background:"linear-gradient(180deg, ".concat(_.darkBg,"33 0%, ").concat(_.darkBg,"99 60%, ").concat(_.darkBg," 100%)")}})]}),(0,n.jsx)("div",{className:"relative max-w-[1280px] mx-auto px-4 md:px-8 pt-16 md:pt-32 pb-14 md:pb-28 text-white",children:(0,n.jsxs)("div",{className:"max-w-3xl",children:[(0,n.jsx)(i.A,{value:F.headline,fieldKey:"headline",maxLength:80,tag:"h1",placeholder:"Fagleg \xfej\xf3nusta sem \xfe\xfa getur treyst",onSave:w,isHidden:
1Q("headline"),onToggleHide:N,className:"font-[Space_Grotesk] text-[clamp(2.4rem,6vw,4.6rem)] leading-[1.05] font-bold tracking-tight mb-5",readOnly:K}),(0,n.jsx)(i.A,{value:F.description,fieldKey:"description",maxLength:280,tag:"p",placeholder:"Reynslumikill h\xf3pur. Vanda\xf0ur fr\xe1gangur. Sk\xfdr samskipti fr\xe1 tilbo\xf0i til verkloka.",onSave:w,isHidden:Q("description"),onToggleHide:N,className:"text-base md:text-lg leading-relaxed text-white/85 max-w-2xl mb-8",readOnly:K,multiline:!0}),(0,n.jsxs)("div",{className:"flex flex-wrap gap-3 md:gap-4",children:[(0,n.jsx)(s.A,{label:J.label||"Senda verkbei\xf0ni",url:J.url||"#samband",buttonKey:"buttons.contact",onSave:w,isHidden:Y,onToggleHide:N,allowEmptyUrl:!0,className:"inline-flex items-center gap-2 px-6 md:px-7 py-3 md:py-3.5 rounded-full text-sm md:text-base font-semibold border border-[var(--tp-accent)] bg-[var(--tp-accent)] text-white transition-all shadow-lg"}),(0,n.jsx)(s.A,{label:X.label||"Hringja n\xfana",url:X.url||(0,d.Q)(F.phone)||"#samband",buttonKey:"buttons.services",onSave:w,isHidden:Z,onToggleHide:N,allowEmptyUrl:!0,className:"inline-flex items-center gap-2 px-6 md:px-7 py-3 md:py-3.5 rounded-full text-sm md:text-base font-semibold border border-white/30 text-white hover:bg-white/10 transition-all"})]})]})})]}),(0,n.jsx)(o.A,{sectionKey:"section.trust",isHidden:$("section.trust"),onToggleHide:N,className:"border-b",children:(0,n.jsx)("div",{className:"max-w-[1280px] mx-auto px-4 md:px-8 py-4 md:py-6 flex flex-wrap gap-2 md:gap-3 justify-center md:justify-start",style:{borderColor:"rgba(28,25,23,0.06)"},children:h.slice(0,4).map((e,t)=>{var a,r;let l=null!=(r=null==(a=F.trustChips)?void 0:a[t])?r:e;return(0,n.jsxs)("span",{className:"inline-flex items-center px-3 md:px-4 py-1.5 rounded-full text-xs md:text-sm font-medium border",style:{borderColor:"rgba(28,25,23,0.12)",color:"#44403C",backgroundColor:"rgba(255,255,255,0.6)"},children:[(0,n.jsx)("span",{className:"w-1.5 h-1.5 rounded-full mr-2",style:{backgroundColor:_.accent},"aria-hidden":"true"}),(0,n.jsx)(i.A,{value:l,fieldKey:"trustChips.".concat(t),maxLength:40,tag:"span",placeholder:e,onSave:w,isHidden:!1,onToggleHide:void 0,className:"",readOnly:K})]},t)})})}),(0,n.jsx)(o.A,{sectionKey:"section.services",isHidden:$("section.services"),onToggleHide:N,id:"thjonusta",className:"py-14 md:py-20 px-4 md:px-8",children:(0,n.jsxs)("div",{className:"max-w-[1280px] mx-auto",children:[(0,n.jsxs)("div",{className:"flex flex-col md:flex-row md:items-end md:justify-between gap-4 md:gap-8 mb-10 md:mb-14",children:[(0,n.jsx)(i.A,{value:F.servicesHeading||"Okkar \xfej\xf3nusta",fieldKey:"servicesHeading",maxLength:70,tag:"h2",onSave:w,isHidden:Q("servicesHeading"),onToggleHide:N,className:"font-[Space_Grotesk] text-[clamp(2rem,4.5vw,3.4rem)] leading-tight font-bold tracking-tight",readOnly:K}),(0,n.jsx)(i.A,{value:F.servicesSubtext||"S\xfdndu mismunandi \xfej\xf3nustur e\xf0a v\xf6rur",fieldKey:"servicesSubtext",maxLength:200,tag:"p",onSave:w,isHidden:Q("servicesSubtext"),onToggleHide:N,className:"text-base md:text-lg max-w-md text-stone-600",readOnly:K,multiline:!0})]}),(0,n.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4 md:gap-5",children:V.slice(0,4).map((e,t)=>{let a="service_".concat(t+1);return(0,n.jsxs)("article",{className:"rounded-2xl border overflow-hidden bg-white flex flex-col transition-all hover:shadow-xl hover:-translate-y-0.5",style:{borderColor:"rgba(28,25,23,0.08)"},children:[(0,n.jsx)("div",{className:"aspect-[3/2] overflow-hidden",style:{backgroundColor:_.accentBgLight},children:(0,n.jsx)(l.A,{src:p(a,C,H),alt:e.title,slot:a,canEdit:B,canRemove:E(a),isUploading:S===a,onFileSelect:A,onRemove:L,errorMessage:M(a),containerClassName:"w-full h-full",imageClassName:"w-full h-full object-cover"})}),(0,n.jsxs)("div",{className:"p-5 md:p-6 flex flex-col gap-2.5 grow",children:[(0,n.jsx)(i.A,{value:e.title,fieldKey:"services.".concat(t,".title"),maxLength:80,tag:"h3",placeholder:"\xdej\xf3nusta ".concat(t+1),onSave:w,isHidden:Q("services.".concat(t)),onToggleHide:void 0,className:"font-[Space_Grotesk] text-lg md:text-xl font-bold leading-tight",readOnly:K}),(e.description||!K)&&!Q("services.".concat(t,".description"))&&(0,n.jsx)(i.A,{value:e.description||"",fieldKey:"services.".concat(t,".description"),maxLength:300,tag:"p",placeholder:"Stutt l\xfdsing \xe1 \xfeessari \xfej\xf3nustu.",onSave:w,isHidden:
1Q("services.".concat(t,".description")),onToggleHide:N,className:"text-sm leading-relaxed",readOnly:K,autoHideOnEmpty:!0,multiline:!0}),Q("services.".concat(t,".description"))&&W&&(0,n.jsx)("button",{type:"button",onClick:()=>N&&N("services.".concat(t,".description")),className:"self-start text-xs font-medium underline opacity-60 hover:opacity-100",style:{color:_.accent},title:"S\xfdna l\xfdsingu",children:"+ l\xfdsing"}),(e.price||!K)&&!Q("services.".concat(t,".price"))&&(0,n.jsx)("div",{className:"mt-auto pt-2",children:(0,n.jsx)("span",{className:"inline-block rounded-full px-2.5 py-1",style:{backgroundColor:_.accentBg,color:_.accent},children:(0,n.jsx)(i.A,{value:e.price||"",fieldKey:"services.".concat(t,".price"),maxLength:40,tag:"span",placeholder:"Fr\xe1 15.000 kr",onSave:w,isHidden:Q("services.".concat(t,".price")),onToggleHide:N,className:"text-xs md:text-sm font-semibold",readOnly:K,autoHideOnEmpty:!0})})}),Q("services.".concat(t,".price"))&&W&&(0,n.jsx)("div",{className:"mt-auto pt-2",children:(0,n.jsx)("button",{type:"button",onClick:()=>N&&N("services.".concat(t,".price")),className:"self-start text-xs font-medium underline opacity-60 hover:opacity-100",style:{color:_.accent},title:"S\xfdna ver\xf0",children:"+ ver\xf0"})})]})]},a)})})]})}),(0,n.jsx)(o.A,{sectionKey:"section.projects",isHidden:$("section.projects"),onToggleHide:N,suppressDefaultRestorePill:!0,id:"fyrri-verk",className:"py-14 md:py-20 px-4 md:px-8",children:(0,n.jsxs)("div",{className:"max-w-[1280px] mx-auto",children:[(0,n.jsx)(i.A,{value:F.projectsHeading||"Fyrri verk",fieldKey:"projectsHeading",maxLength:60,tag:"h2",placeholder:"Fyrri verk",onSave:w,isHidden:!1,onToggleHide:N,className:"font-[Space_Grotesk] text-[clamp(2rem,4.5vw,3.4rem)] leading-tight font-bold tracking-tight mb-10 md:mb-12",readOnly:K}),(0,n.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-3 md:gap-5",children:G.slice(0,8).map((e,t)=>{let a="project_".concat(t+1);return(0,n.jsxs)("figure",{className:"group relative aspect-[4/3] overflow-hidden rounded-xl border",style:{borderColor:"rgba(28,25,23,0.08)"},children:[(0,n.jsx)(l.A,{src:p(a,C,H),alt:e.title,slot:a,canEdit:B,canRemove:E(a),isUploading:S===a,onFileSelect:A,onRemove:L,errorMessage:M(a),containerClassName:"w-full h-full",imageClassName:"w-full h-full object-cover transition-transform duration-500 group-hover:scale-105"}),W&&t>=4&&(0,n.jsx)("button",{type:"button",title:"Fjarl\xe6gja verkefni","aria-label":"Fjarl\xe6gja verkefni",onClick:()=>w("projects",G.filter((e,a)=>a!==t)),className:"absolute top-2 left-2 z-50 w-8 h-8 rounded-full bg-white/95 border border-[#E4E4EA] shadow-lg grid place-items-center hover:bg-white opacity-0 group-hover:opacity-100 transition-opacity",children:(0,n.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:(0,n.jsx)("path",{d:"M3.5 4.5H12.5M6 4.5V3.5C6 2.95 6.45 2.5 7 2.5H9C9.55 2.5 10 2.95 10 3.5V4.5M4.5 4.5L5.1 12.2C5.14 12.71 5.57 13.1 6.08 13.1H9.92C10.43 13.1 10.86 12.71 10.9 12.2L11.5 4.5M6.75 7V10.5M9.25 7V10.5",stroke:"#E5484D",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})})}),(e.title||e.caption||!K)&&(0,n.jsxs)("figcaption",{className:"absolute inset-x-0 bottom-0 p-3 md:p-4 text-white text-xs md:text-sm bg-gradient-to-t from-black/80 via-black/30 to-transparent",children:[(0,n.jsx)(i.A,{value:e.title||"",fieldKey:"projects.".concat(t,".title"),maxLength:80,tag:"div",placeholder:"Verkefni ".concat(t+1),onSave:w,isHidden:!1,onToggleHide:void 0,className:"font-semibold leading-tight",readOnly:K}),(e.caption||!K)&&(0,n.jsx)(i.A,{value:e.caption||"",fieldKey:"projects.".concat(t,".caption"),maxLength:120,tag:"div",placeholder:"Stutt l\xfdsing",onSave:w,isHidden:!1,onToggleHide:void 0,className:"text-white/80 mt-0.5",readOnly:K,autoHideOnEmpty:!0})]})]},a)})})]})}),!$("section.projects")&&W&&G.length<8&&(0,n.jsx)(b,{theme:_,children:(0,n.jsx)(v,{onClick:()=>{let e=G.length+1;w("projects",[...G,{title:"",caption:"",image:"/templates/trade-pro/project-".concat(e,".jpg")}])},theme:_,children:"+ B\xe6ta vi\xf0 verkefni"})}),$("section.projects")&&W&&(0,n.jsx)(b,{theme:_,children:(0,n.jsx)(v,{onClick:()=>N&&N("section.projects"),theme:_,children:"+ B\xe6ta vi\xf0 Myndir me\xf0 texta"})}),(0,n.jsx)(o.A,{sectionKey:"section.about",isHidden:$("section.about"),onToggleHide:N,id:"um-okkur",className:"py-14 md:py-20 px-4 md:px-8",style:{backgroundColor:"rgba(28,25,23,0.03)"},children:(0,n.jsxs)("div",{className:"max-w-[1280px] mx-auto grid grid-cols-1 md:grid-cols-2 gap-8 md:gap-14 items-start",children:[(0,n.jsx)("div",{className:"aspect-[4/3] md:aspect-auto md:h-full overflow-hidden rounded-2xl border",style:{borderColor:"rgba(28,25,23,0.08)"},children:(0,n.jsx)(l.A,{src:p("service_4",C,H),alt:F.aboutTitle||"Um okkur",slot:"service_4",canEdit:B,canRemove:E("service_4"),isUploading:"service_4"===S,onFileSelect:A,onRemove:L,errorMessage:M("service_4"),containerClassName:"w-full h-full",imageClassName:"w-full h-full object-cover"})}),(0,n.jsxs)("div",{children:[(0,n.jsx)(i.A,{value:F.aboutTitle||"Um okkur",fieldKey:"aboutTitle",maxLength:80,tag:"h2",onSave:w,isHidden:
1Q("aboutTitle"),onToggleHide:N,className:"font-[Space_Grotesk] text-[clamp(2rem,4vw,3rem)] leading-tight font-bold tracking-tight mb-5",readOnly:K}),(0,n.jsx)(i.A,{value:F.aboutText,fieldKey:"aboutText",maxLength:3e3,tag:"p",placeholder:"Seg\xf0u vi\xf0skiptavinum fr\xe1 fyrirt\xe6kinu \xfe\xednu og \xfej\xf3nustunni sem \xfe\xfa b\xfd\xf0ur upp \xe1.",onSave:w,isHidden:Q("aboutText"),onToggleHide:N,className:"text-base md:text-lg leading-relaxed mb-8 text-stone-700",readOnly:K,multiline:!0}),(0,n.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3 md:gap-4",children:U.slice(0,4).map((e,t)=>{let a="features.".concat(t),r=Q(a);return r&&!N?null:r&&N?(0,n.jsx)("button",{type:"button",onClick:()=>N(a),className:"flex items-center justify-center w-full py-2 rounded-lg border border-dashed text-xs",style:{borderColor:"".concat(_.accent,"55"),color:"".concat(_.accent,"aa")},title:"S\xfdna eiginleika",children:"+ S\xfdna"},t):(0,n.jsxs)("div",{className:"flex items-start gap-3 p-3 rounded-xl bg-white border",style:{borderColor:"rgba(28,25,23,0.08)"},children:[(0,n.jsx)("span",{className:"flex-shrink-0 w-6 h-6 rounded-full grid place-items-center text-xs",style:{backgroundColor:_.accentBgLight,color:_.accent},"aria-hidden":"true",children:"✓"}),(0,n.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,n.jsx)(i.A,{value:e.title,fieldKey:"features.".concat(t,".title"),maxLength:60,tag:"div",placeholder:"Eiginleiki ".concat(t+1),onSave:w,isHidden:!1,onToggleHide:void 0,className:"font-semibold text-sm md:text-base leading-snug",readOnly:K}),(e.description||W)&&(0,n.jsx)(i.A,{value:e.description||"",fieldKey:"features.".concat(t,".description"),maxLength:200,tag:"div",placeholder:"",onSave:w,isHidden:!1,onToggleHide:N,className:"text-xs md:text-sm mt-0.5 text-stone-600 min-h-[1.25em]",readOnly:K,autoHideOnEmpty:!0,multiline:!0})]})]},t)})})]})]})}),(0,n.jsx)(o.A,{sectionKey:"section.staff",isHidden:$("section.staff"),onToggleHide:N,suppressDefaultRestorePill:!0,className:"py-14 md:py-20 px-4 md:px-8",children:(0,n.jsxs)("div",{className:"max-w-[1280px] mx-auto",children:[(0,n.jsx)(i.A,{value:F.staffHeading||"Starfsmenn",fieldKey:"staffHeading",maxLength:60,tag:"h2",placeholder:"Starfsmenn",onSave:w,isHidden:!1,onToggleHide:N,className:"font-[Space_Grotesk] text-[clamp(2rem,4.5vw,3.4rem)] leading-tight font-bold tracking-tight mb-10 md:mb-12 text-center",readOnly:K}),(0,n.jsx)("div",{className:"grid gap-5 md:gap-7 justify-items-center ".concat(1===z.length?"grid-cols-1":2===z.length?"grid-cols-2 max-w-md mx-auto":3===z.length?"grid-cols-2 md:grid-cols-3 max-w-3xl mx-auto":"grid-cols-2 md:grid-cols-3 lg:grid-cols-4"),children:z.slice(0,8).map((e,t)=>{let a="staff_".concat(t+1);return(0,n.jsxs)("div",{className:"group relative text-center w-full max-w-[220px]",children:[W&&t>=4&&(0,n.jsx)("button",{type:"button",title:"Fjarl\xe6gja starfsmann","aria-label":"Fjarl\xe6gja starfsmann",onClick:()=>w("staff",z.filter((e,a)=>a!==t)),className:"absolute top-2 left-2 z-50 w-8 h-8 rounded-full bg-white/95 border border-[#E4E4EA] shadow-lg grid place-items-center hover:bg-white opacity-0 group-hover:opacity-100 transition-opacity",children:(0,n.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:(0,n.jsx)("path",{d:"M3.5 4.5H12.5M6 4.5V3.5C6 2.95 6.45 2.5 7 2.5H9C9.55 2.5 10 2.95 10 3.5V4.5M4.5 4.5L5.1 12.2C5.14 12.71 5.57 13.1 6.08 13.1H9.92C10.43 13.1 10.86 12.71 10.9 12.2L11.5 4.5M6.75 7V10.5M9.25 7V10.5",stroke:"#E5484D",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,n.jsx)("div",{className:"aspect-square mb-3 relative",style:{backgroundColor:_.accentBgLight,borderRadius:"9999px"},children:(0,n.jsx)(l.A,{src:p(a,C,H),alt:e.name,slot:a,canEdit:B,canRemove:E(a),isUploading:S===a,onFileSelect:A,onRemove:L,errorMessage:M(a),containerClassName:"w-full h-full",imageClassName:"w-full h-full object-cover rounded-full border-4 border-white shadow-lg"})}),(0,n.jsx)(i.A,{value:e.name||"",fieldKey:"staff.".concat(t,".name"),maxLength:60,tag:"div",placeholder:"Starfsma\xf0ur ".concat(t+1),onSave:w,isHidden:!1,onToggleHide:void 0,className:"font-[Space_Grotesk] font-bold text-base md:text-lg leading-tight",readOnly:K}),(e.role||!K)&&(0,n.jsx)("div",{style:{color:"#57534E"},children:(0,n.jsx)(i.A,{value:e.role||"",fieldKey:"staff.".concat(t,".role"),maxLength:60,tag:"div",placeholder:"Starfsheiti",onSave:w,isHidden:!1,onToggleHide:void 0,className:"text-xs md:text-sm mt-0.5",readOnly:K,autoHideOnEmpty:!0})})]},a)})})]})}),!$("section.staff")&&W&&z.length<8&&(0,n.jsx)(b,{theme:_,children:(0,n.jsx)(v,{onClick:()=>{let e=z.length+1;w("staff",[...z,{name:"",role:"",image:"/templates/trade-pro/staff-".concat(e,".jpg")}])},theme:_,children:"+ B\xe6ta vi\xf0 starfsmanni"})}),$("section.staff")&&W&&(0,n.jsx)(b,{theme:_,children:(0,n.jsx)(v,{onClick:()=>N&&N("section.staff"),theme:_,children:"+ B\xe6ta vi\xf0 starfsm\xf6nnum"})}),(0,n.jsx)(o.A,{sectionKey:"section.reviews",isHidden:$("section.reviews"),onToggleHide:N,suppressDefaultRestorePill:!0,className:"py-14 md:py-20 px-4 md:px-8",style:{backgroundColor:"rgba(28,25,23,0.03)"},children:(0,n.jsxs)("div",{className:"max-w-[1280px] mx-auto",children:[(0,n.jsx)(i.A,{value:F.reviewsTitle||"Hva\xf0 vi\xf0skiptavinir segja",fieldKey:"reviewsTitle",maxLength:60,tag:"h2",placeholder:"Hva\xf0 vi\xf0skiptavinir segja",onSave:w,isHidden:!1,onToggleHide:N,className:"font-[Space_Grotesk] text-[clamp(2rem,4.5vw,3.4rem)] leading-tight font-bold tracking-tight mb-10 md:mb-12 text-center",readOnly:K}),(0,n.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-5 md:gap-6",children:I.slice(0,3).map((e,t)=>(0,n.jsxs)("blockquote",{className:"rounded-2xl border bg-white p-6 md:p-7 flex flex-col",style:{borderColor:"rgba(28,25,23,0.08)"},children:[(0,n.jsx)("div",{className:"text-3xl leading-none mb-3",style:{color:_.quoteMark},"aria-hidden":"true",children:"“"}),(0,n.jsx)("div",{style:{color:"#44403C"},className:"mb-5",children:(0,n.jsx)(i.A,{value:e.text||"",fieldKey:"reviews.".concat(t,".text"),maxLength:400,tag:"p",placeholder:"Ums\xf6gn fr\xe1 vi\xf0skiptavini",onSave:w,isHidden:!1,onToggleHide:void 0,className:"text-sm md:text-base leading-relaxed",readOnly:K,multiline:!0})}),(0,n.jsx)("footer",{className:"mt-auto flex items-center gap-0",children:(0,n.jsx)(i.A,{value:e.name||"",fieldKey:"reviews.".concat(t,".name"),maxLength:60,tag:"span",placeholder:"Nafn",onSave:w,isHidden:!1,onToggleHide:void 0,className:"not-italic font-semibold text-sm",readOnly:K})})]},t))})]})}),$("section.reviews")&&W&&(0,n.jsx)(b,{theme:_,children:(0,n.jsx)(v,{onClick:()=>N&&N("section.reviews"),theme:_,children:"+ B\xe6ta vi\xf0 Ums\xf6gnum fr\xe1 vi\xf0skiptavinum"})}),!1,(0,n.jsx)(o.A,{sectionKey:"section.faq",isHidden:$("section.faq"),onToggleHide:N,suppressDefaultRestorePill:!0,className:"py-14 md:py-20 px-4 md:px-8",style:{backgroundColor:"rgba(28,25,23,0.03)"},children:(0,n.jsxs)("div",{className:"max-w-[820px] mx-auto",children:[(0,n.jsx)(i.A,{value:F.faqHeading||"Algengar spurningar",fieldKey:"faqHeading",maxLength:60,tag:"h2",placeholder:"Algengar spurningar",onSave:w,isHidden:!1,onToggleHide:N,className:"font-[Space_Grotesk] text-[clamp(2rem,4.5vw,3.4rem)] leading-tight font-bold tracking-tight mb-10 text-center",readOnly:K}),(0,n.jsx)("div",{className:"space-y-3",children:P.slice(0,10).map((e,t)=>(0,n.jsxs)("details",{className:"rounded-xl border bg-white px-5 py-4 group/faq",style:{borderColor:"rgba(28,25,23,0.08)"},children:[(0,n.jsxs)("summary",{className:"cursor-pointer list-none flex items-center justify-between gap-4",children:[(0,n.jsx)(i.A,{value:e.question||"",fieldKey:"faq.".concat(t,".question"),maxLength:200,tag:"h3",placeholder:"Spurning",onSave:w,isHidden:!1,onToggleHide:N,className:"font-semibold text-base md:text-lg",readOnly:K}),(0,n.jsx)("span",{className:"flex-shrink-0 w-7 h-7 rounded-full grid place-items-center transition-transform group-open/faq:rotate-45",style:{backgroundColor:_.accentBg,color:_.accent},"aria-hidden":"true",children:"+"})]}),(0,n.jsx)("div",{style:{color:"#44403C"},className:"mt-3",children:(0,n.jsx)(i.A,{value:e.answer||"",fieldKey:"faq.".concat(t,".answer"),maxLength:800,tag:"p",placeholder:"Svar",onSave:w,isHidden:!1,onToggleHide:N,className:"text-sm md:text-base leading-relaxed",readOnly:K,multiline:!0})})]},t))})]})}),(0,n.jsx)(o.A,{sectionKey:"section.contact",isHidden:$("section.contact"),onToggleHide:N,id:"samband",className:"py-14 md:py-20 px-4 md:px-8",children:(0,n.jsxs)("div",{className:"max-w-[1280px] mx-auto",children:[(0,n.jsx)(i.A,{value:F.contactTitle||"Haf\xf0u samband",fieldKey:"contactTitle",maxLength:60,tag:"h2",placeholder:"Haf\xf0u samband",onSave:w,isHidden:!1,onToggleHide:N,className:"font-[Space_Grotesk] text-[clamp(2rem,4.5vw,3.4rem)] leading-tight font-bold tracking-tight mb-3 text-center",readOnly:K}),(0,n.jsx)(i.A,{value:F.contactSubtitle,fieldKey:"contactSubtitle",maxLength:120,tag:"p",placeholder:"Vi\xf0 erum tilb\xfain a\xf0 hj\xe1lpa",onSave:w,isHidden:
1Q("contactSubtitle"),onToggleHide:N,className:"text-base md:text-lg text-center mb-12 text-stone-600",readOnly:K}),(0,n.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4 md:gap-5",children:[(0,n.jsx)(j,{theme:_,label:"S\xedmi",icon:(0,n.jsx)("svg",{width:"22",height:"22",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:(0,n.jsx)("path",{d:"M22 16.92v3a2 2 0 01-2.18 2 19.86 19.86 0 01-8.63-3.07 19.5 19.5 0 01-6-6 19.86 19.86 0 01-3.07-8.67A2 2 0 014.11 2h3a2 2 0 012 1.72 12.84 12.84 0 00.7 2.81 2 2 0 01-.45 2.11L8.09 9.91a16 16 0 006 6l1.27-1.27a2 2 0 012.11-.45 12.84 12.84 0 002.81.7A2 2 0 0122 16.92z",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"})}),children:(()=>{var e;let t=Q("phone");return t&&!N?null:t?(0,n.jsx)("button",{type:"button",onClick:()=>N("phone"),className:"text-xs font-medium underline",style:{color:_.accent},children:"+ S\xfdna s\xedma"}):(0,n.jsx)("a",{href:null!=(e=(0,d.Q)(F.phone))?e:N?void 0:"#",onClick:N?e=>e.preventDefault():void 0,className:"font-[Space_Grotesk] font-bold text-xl hover:underline",children:(0,n.jsx)(i.A,{value:F.phone,fieldKey:"phone",placeholder:"700-0000",maxLength:20,tag:"span",onSave:w,isHidden:!1,onToggleHide:N,className:"",readOnly:K})})})()}),(0,n.jsx)(j,{theme:_,label:"Netfang",icon:(0,n.jsxs)("svg",{width:"22",height:"22",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:[(0,n.jsx)("path",{d:"M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z",stroke:"currentColor",strokeWidth:"1.6"}),(0,n.jsx)("path",{d:"M22 6l-10 7L2 6",stroke:"currentColor",strokeWidth:"1.6"})]}),children:(()=>{let e=Q("email");return e&&!N?null:e?(0,n.jsx)("button",{type:"button",onClick:()=>N("email"),className:"text-xs font-medium underline",style:{color:_.accent},children:"+ S\xfdna netfang"}):(0,n.jsx)("a",{href:F.email?"mailto:".concat(F.email):N?void 0:"#",onClick:N?e=>e.preventDefault():void 0,className:"font-[Space_Grotesk] font-bold text-base md:text-lg break-all hover:underline",children:(0,n.jsx)(i.A,{value:F.email,fieldKey:"email",placeholder:"[email protected]",maxLength:80,tag:"span",onSave:w,isHidden:!1,onToggleHide:N,className:"",readOnly:K})})})()}),(0,n.jsx)(j,{theme:_,label:"Heimilisfang",icon:(0,n.jsxs)("svg",{width:"22",height:"22",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:[(0,n.jsx)("path",{d:"M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 1118 0z",stroke:"currentColor",strokeWidth:"1.6"}),(0,n.jsx)("circle",{cx:"12",cy:"10",r:"3",stroke:"currentColor",strokeWidth:"1.6"})]}),children:(()=>{let e=Q("address");return e&&!N?null:e?(0,n.jsx)("button",{type:"button",onClick:()=>N("address"),className:"text-xs font-medium underline",style:{color:_.accent},children:"+ S\xfdna heimilisfang"}):(0,n.jsx)("address",{className:"not-italic",children:(0,n.jsx)(i.A,{value:F.address,fieldKey:"address",placeholder:"B\xedldsh\xf6f\xf0i 18, 110 Reykjav\xedk",maxLength:80,tag:"span",onSave:w,isHidden:!1,onToggleHide:N,className:"font-[Space_Grotesk] font-bold text-base md:text-lg",readOnly:K})})})()})]}),(F.kennitala||!K)&&!Q("kennitala")&&(0,n.jsxs)("div",{className:"text-center mt-8 text-sm",style:{color:"#78716C"},children:["Kennitala:"," ",(0,n.jsx)(i.A,{value:F.kennitala,fieldKey:"kennitala",placeholder:"010100-2009",maxLength:20,tag:"span",onSave:w,isHidden:!1,onToggleHide:N,className:"font-medium",readOnly:K})]})]})}),(0,n.jsx)("footer",{className:"py-8 px-4 md:px-8 border-t",style:{borderColor:"rgba(28,25,23,0.08)",backgroundColor:"rgba(28,25,23,0.03)"},children:(0,n.jsxs)("div",{className:"max-w-[1280px] mx-auto flex flex-col md:flex-row justify-between items-center gap-3 text-xs md:text-sm",style:{color:"#78716C"},children:[(0,n.jsxs)("div",{children:["\xa9 2026",!Q("name")&&F.name&&(0,n.jsxs)(n.Fragment,{children:[" ",F.name]}),F.kennitala&&(0,n.jsxs)(n.Fragment,{children:[" ",!Q("name")&&F.name?"\xb7":"—"," ","Kt. ",F.kennitala]})]}),(0,n.jsx)("a",{href:"https://hera.is",target:"_blank",rel:"noopener noreferrer nofollow sponsored",className:"hover:underline",children:"S\xed\xf0a ger\xf0 me\xf0 hera.is"})]})}),(0,n.jsx)("div",{className:"fixed bottom-0 left-0 right-0 z-30 md:hidden border-t shadow-2xl",style:{backgroundColor:"rgba(255,255,255,0.96)",borderColor:"rgba(28,25,23,0.08)",backdropFilter:"blur(8px)"},children:(0,n.jsxs)("div",{className:"grid grid-cols-2 gap-2 p-3",children:[(0,n.jsxs)("a",{href:en,className:"inline-flex items-center justify-center gap-2 px-4 py-3 rounded-full text-sm font-semibold border",style:{borderColor:_.accent,color:_.accent},children:[(0,n.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:(0,n.jsx)("path",{d:"M22 16.92v3a2 2 0 01-2.18 2 19.86 19.86 0 01-8.63-3.07 19.5 19.5 0 01-6-6 19.86 19.86 0 01-3.07-8.67A2 2 0 014.11 2h3a2 2 0 012 1.72 12.84 12.84 0 00.7 2.81 2 2 0 01-.45 2.11L8.09 9.91a16 16 0 006 6l1.27-1.27a2 2 0 012.11-.45 12.84 12.84 0 002.81.7A2 2 0 0122 16.92z",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})}),"Hringja"]}),(0,n.jsx)("a",{href:"#samband",className:"inline-flex items-center justify-center gap-2 px-4 py-3 rounded-full text-sm font-semibold text-white shadow-lg",style:{backgroundColor:_.accent},children:"Senda skilabo\xf0"})]})})]})}function b(e){let{children:t,theme:a}=e;return(0,n.jsx)("div",{className:"px-4 md:px-8 -mt-2",children:(0,n.jsx)("div",{className:"max-w-[1280px] mx-auto flex flex-col items-center gap-2",children:t})})}function v(e){let{onClick:t,theme:a,children:r}=e;return(0,n.jsx)("button",{type:"button",onClick:t,className:"inline-flex items-center px-4 py-2 rounded-full text-xs md:text-sm font-medium border-2 border-dashed transition-all hover:bg-white",style:{borderColor:"".concat(a.accent,"66"),color:a.accent,backgroundColor:a.accentBg},children:r})}function j(e){let{theme:t,label:a,icon:r,children:l}=e;return(0,n.jsxs)("div",{className:"rounded-2xl border bg-white p-5 md:p-6 flex flex-col gap-3",style:{borderColor:"rgba(28,25,23,0.08)"},children:[(0,n.jsxs)("div",{className:"flex items-center gap-3",style:{color:t.accent},children:[(0,n.jsx)("span",{className:"w-9 h-9 rounded-full grid place-items-center",style:{backgroundColor:t.accentBgLight},children:r}),(0,n.jsx)("span",{className:"text-xs font-semibold uppercase tracking-wider",style:{color:"#57534E"},children:a})]}),(0,n.jsx)("div",{className:"text-current",children:l})]})}function y(e){let{data:t,handleSave:a,onToggleHide:l,isHidden:s,readOnly:o,editorActive:c,canEditImages:d,isUploading:g,handleInlineUpload:m}=e,[x,u]=(0,r.useState)(!1),p=(0,r.useRef)(null),h=(0,r.useRef)(null);return(0,r.useEffect)(()=>
1{if(!x)return;let e=e=>{h.current&&!h.current.contains(e.target)&&u(!1)},t=e=>{"Escape"===e.key&&u(!1)};return document.addEventListener("mousedown",e),document.addEventListener("keydown",t),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("keydown",t)}},[x]),(0,n.jsxs)("span",{ref:h,className:"relative inline-flex items-center group/logo-menu",children:[(0,n.jsx)(i.A,{value:t.name,fieldKey:"name",placeholder:"Fyrirt\xe6ki\xf0 mitt ehf.",maxLength:40,tag:"span",onSave:a,isHidden:s,onToggleHide:l,className:"font-[Space_Grotesk] text-base md:text-lg font-bold tracking-tight truncate",readOnly:o}),c&&d&&!g&&(0,n.jsx)("button",{type:"button",title:"M\xf6guleikar","aria-label":"M\xf6guleikar",onClick:e=>{e.preventDefault(),e.stopPropagation(),u(e=>!e)},className:"ml-1 w-6 h-6 rounded-full bg-white/95 border border-[#E4E4EA] shadow grid place-items-center opacity-0 group-hover/logo-menu:opacity-100 focus:opacity-100 transition-opacity",children:(0,n.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true",children:[(0,n.jsx)("circle",{cx:"3.5",cy:"8",r:"1.2",fill:"#0C0C14"}),(0,n.jsx)("circle",{cx:"8",cy:"8",r:"1.2",fill:"#0C0C14"}),(0,n.jsx)("circle",{cx:"12.5",cy:"8",r:"1.2",fill:"#0C0C14"})]})}),x&&(0,n.jsxs)("div",{role:"menu",className:"absolute top-full left-0 mt-1 z-50 min-w-[160px] bg-white rounded-lg shadow-lg border border-[#E4E4EA] py-1 text-sm",children:[(0,n.jsx)("button",{type:"button",role:"menuitem",onClick:e=>{e.preventDefault(),e.stopPropagation(),u(!1),window.setTimeout(()=>{var e;let t=null==(e=h.current)?void 0:e.querySelector('[contenteditable="true"], [data-editable], span, h1, h2, h3, p, div');t&&t.click()},0)},className:"block w-full text-left px-3 py-2 hover:bg-[#F5F5F7] text-[#0C0C14]",children:"Breyta texta"}),(0,n.jsx)("button",{type:"button",role:"menuitem",onClick:e=>{var t;e.preventDefault(),e.stopPropagation(),u(!1),null==(t=p.current)||t.click()},className:"block w-full text-left px-3 py-2 hover:bg-[#F5F5F7] text-[#0C0C14]",children:"Nota logo"})]}),(0,n.jsx)("input",{ref:p,type:"file",accept:"image/*",className:"hidden",onChange:e=>{var t;let a=null==(t=e.target.files)?void 0:t[0];a&&m("logo",a),e.target.value=""}})]})}function k(e){let{logoUrl:t,altText:a,editorActive:l,canEditImages:s,isUploading:i,handleInlineUpload:o,handleInlineRemove:c,errorMessage:d}=e,g=(0,r.useRef)(null);return(0,n.jsxs)("span",{className:"relative inline-flex items-center group/logo-block",children:[(0,n.jsx)("img",{src:t,alt:a,className:"max-h-[40px] md:max-h-[48px] w-auto max-w-[200px] md:max-w-[280px] object-contain"}),l&&s&&!i&&(0,n.jsxs)("span",{className:"absolute -top-2 -right-2 z-40 flex items-center gap-1 opacity-0 group-hover/logo-block:opacity-100 focus-within:opacity-100 transition-opacity",children:[(0,n.jsx)("button",{type:"button",title:"Fjarl\xe6gja logo","aria-label":"Fjarl\xe6gja logo",onClick:()=>c("logo"),className:"w-6 h-6 rounded-full bg-white/95 border border-[#E4E4EA] shadow grid place-items-center hover:bg-white",children:(0,n.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true",children:(0,n.jsx)("path",{d:"M3.5 4.5H12.5M6 4.5V3.5C6 2.95 6.45 2.5 7 2.5H9C9.55 2.5 10 2.95 10 3.5V4.5M4.5 4.5L5.1 12.2C5.14 12.71 5.57 13.1 6.08 13.1H9.92C10.43 13.1 10.86 12.71 10.9 12.2L11.5 4.5",stroke:"#E5484D",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,n.jsx)("button",{type:"button",title:"Skipta um logo","aria-label":"Skipta um logo",onClick:()=>{var e;return null==(e=g.current)?void 0:e.click()},className:"w-6 h-6 rounded-full bg-white/95 border border-[#E4E4EA] shadow grid place-items-center hover:bg-white",children:(0,n.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true",children:(0,n.jsx)("path",{d:"M2 12V14H14V12M8 2V11M8 11L4.5 7.5M8 11L11.5 7.5",stroke:"#0C0C14",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),i&&(0,n.jsx)("span",{className:"absolute inset-0 z-30 bg-black/20 flex items-center justify-center pointer-events-none rounded",children:(0,n.jsx)("span",{className:"w-4 h-4 border-2 border-white border-t-transparent roun
1ded-full animate-spin"})}),d&&(0,n.jsx)("span",{className:"absolute top-full left-0 mt-1 text-xs text-red-500 whitespace-nowrap",children:d}),(0,n.jsx)("input",{ref:g,type:"file",accept:"image/*",className:"hidden",onChange:e=>{var t;let a=null==(t=e.target.files)?void 0:t[0];a&&o("logo",a),e.target.value=""}})]})}},31346:(e,t,a)=>{a.d(t,{$:()=>n,O:()=>r});let n={fjall:{accent:"#0D7377",accentHover:"#0A9396",accentSecondary:"#BB8A52",accentBg:"rgba(13,115,119,0.05)",accentBgLight:"rgba(13,115,119,0.15)",darkBg:"#0A1A1B",quoteMark:"#BB8A52",gradientFrom:"rgba(13,115,119,0.15)",gradientTo:"rgba(187,138,82,0.12)",pillText:"#FFFFFF",navBtnText:"#FFFFFF"},eldur:{accent:"#E76F51",accentHover:"#F4845F",accentSecondary:"#264653",accentBg:"rgba(231,111,81,0.05)",accentBgLight:"rgba(231,111,81,0.15)",darkBg:"#1A1423",quoteMark:"#F4A261",gradientFrom:"rgba(231,111,81,0.15)",gradientTo:"rgba(38,70,83,0.12)",pillText:"#FFFFFF",navBtnText:"#FFFFFF"},jokull:{accent:"#2563EB",accentHover:"#3B82F6",accentSecondary:"#06B6D4",accentBg:"rgba(37,99,235,0.05)",accentBgLight:"rgba(37,99,235,0.15)",darkBg:"#0B1120",quoteMark:"#60A5FA",gradientFrom:"rgba(37,99,235,0.15)",gradientTo:"rgba(6,182,212,0.12)",pillText:"#FFFFFF",navBtnText:"#FFFFFF"},mosi:{accent:"#2D6A4F",accentHover:"#40916C",accentSecondary:"#95D5B2",accentBg:"rgba(45,106,79,0.05)",accentBgLight:"rgba(45,106,79,0.15)",darkBg:"#081C15",quoteMark:"#B7E4C7",gradientFrom:"rgba(45,106,79,0.15)",gradientTo:"rgba(149,213,178,0.12)",pillText:"#FFFFFF",navBtnText:"#FFFFFF"},nott:{accent:"#4F3CDB",accentHover:"#6C5CE7",accentSecondary:"#00B894",accentBg:"rgba(79,60,219,0.05)",accentBgLight:"rgba(79,60,219,0.15)",darkBg:"#0C0C14",quoteMark:"#FDCB6E",gradientFrom:"rgba(79,60,219,0.15)",gradientTo:"rgba(0,184,148,0.12)",pillText:"#FFFFFF",navBtnText:"#FFFFFF"},myrkur:{accent:"#1A1A2E",accentHover:"#2D2D44",accentSecondary:"#E0E0E0",accentBg:"rgba(26,26,46,0.05)",accentBgLight:"rgba(26,26,46,0.12)",darkBg:"#0A0A0F",quoteMark:"#888888",gradientFrom:"rgba(26,26,46,0.2)",gradientTo:"rgba(100,100,100,0.1)",pillText:"#FFFFFF",navBtnText:"#FFFFFF"},blom:{accent:"#C97B84",accentHover:"#D4929A",accentSecondary:"#D4A574",accentBg:"rgba(201,123,132,0.06)",accentBgLight:"rgba(201,123,132,0.14)",darkBg:"#2A1F22",quoteMark:"#D4A574",gradientFrom:"rgba(201,123,132,0.15)",gradientTo:"rgba(212,165,116,0.1)",pillText:"#FFFFFF",navBtnText:"#FFFFFF"},ljos:{accent:"#8B7355",accentHover:"#A08968",accentSecondary:"#C9B99A",accentBg:"rgba(139,115,85,0.05)",accentBgLight:"rgba(139,115,85,0.12)",darkBg:"#1C1915",quoteMark:"#C9B99A",gradientFrom:"rgba(139,115,85,0.1)",gradientTo:"rgba(201,185,154,0.08)",pillText:"#FFFFFF",navBtnText:"#FFFFFF"},kraftur:{accent:"#DC2626",accentHover:"#EF4444",accentSecondary:"#1A1A2E",accentBg:"rgba(220,38,38,0.05)",accentBgLight:"rgba(220,38,38,0.15)",darkBg:"#0F0A0A",quoteMark:"#F87171",gradientFrom:"rgba(220,38,38,0.15)",gradientTo:"rgba(26,26,46,0.12)",pillText:"#FFFFFF",navBtnText:"#FFFFFF"},stál:{accent:"#475569",accentHover:"#64748B",accentSecondary:"#94A3B8",accentBg:"rgba(71,85,105,0.05)",accentBgLight:"rgba(71,85,105,0.15)",darkBg:"#0F172A",quoteMark:"#94A3B8",gradientFrom:"rgba(71,85,105,0.15)",gradientTo:"rgba(148,163,184,0.10)",pillText:"#FFFFFF",navBtnText:"#FFFFFF"},kopar:{accent:"#B45309",accentHover:"#D97706",accentSecondary:"#78350F",accentBg:"rgba(180,83,9,0.05)",accentBgLight:"rgba(180,83,9,0.15)",darkBg:"#1C0F08",quoteMark:"#F59E0B",gradientFrom:"rgba(180,83,9,0.15)",gradientTo:"rgba(120,53,15,0.10)",pillText:"#FFFFFF",navBtnText:"#FFFFFF"}};function r(e){return e&&"string"==typeof e&&Object.prototype.hasOwnProperty.call(n,e)?n[e]:n.nott}},67450:(e,t,a)=>{a.d(t,{Q:()=>n});function n(e){if(!e)return null;let t=e.replace(/[^0-9]/g,"");return t?e.trim().startsWith("+")?"tel:".concat(e.trim()):t.startsWith("00")?"tel:+".concat(t.slice(2)):7===t.length?"tel:+354".concat(t):t.startsWith("354")&&10===t.length?"tel:+".concat(t):"tel:".concat(e.trim()):null}},99865:(e,t,a)=>{a.d(t,{A:()=>i});var n=a(95155),r=a(12115);function l(e){let t=e.trim();if(!t)return"";if(t.startsWith("#"))return t;let a=t.toLowerCase();return a.startsWith("tel:")||a.startsWith("mailto:")||a.startsWith("http://")||a.startsWith("https://")?t:"https://".concat(t)}function s(e){return e.startsWith("#")?"":e}function i(e){let{label:t,url:a,buttonKey:i,onSave:o,className:c="",isHidden:d=!1,onToggleHide:g,allowEmptyUrl:m=!1}=e,[x,u]=(0,r.useState)(!1),[p,h]=(0,r.useState)(t),[f,b]=(0,r.useState)(s(a)),[v,j]=(0,r.useState)(""),y=(0,r.useRef)(null);(0,r.useEffect)(()=>{h(t)},[t]),(0,r.useEffect)(()=>{b(s(a))},[a]);let k=(0,r.useCallback)(e=>{e&&(h(t),b(s(a))),j(""),u(!1)},[t,a]);(0,r.useEffect)(()=>{var e;if(!x)return;let t=e=>{"Escape"===e.key&&(e.preventDefault(),k(!0))};return document.addEventListener("keydown",t),null==(e=y.current)||e.focus(),()=>{document.removeEventListener("keydown",t)}},[k,x]);let F=l(a||""),w=m&&!F?void 0:F||"#",N=!!w&&/^https?:\/\//i.test(w),C=!!g,H="buttons.services"===i?"#thjonusta":"#samband",B=(0,r.useCallback)(()=>{let e=p.trim().slice(0,30),a=t||"Hafa samband",n=f.trim();if(!n&&!m)return void j("Skr\xe1\xf0u tengil \xe1 takkann.");let r=l(n);if(r&&!r.startsWith("#"))try{new URL(r)}catch(e){j("Skr\xe1\xf0u gilt URL.");return}o("".concat(i,".label"),e||a),o("".concat(i,".url"),m&&!n?"":r||H),j(""),u(!1)},[m,i,p,f,H,t,o]);return d?g?(0,n.jsx)("span",{className:"inline-flex",children:(0,n.jsx)("button",{type:"button",onClick:e=>{e.stopPropagation(),g(i)},className:"w-7 h-7 rounded-full border border-dashed border-[#4F3CDB]/30 text-[#4F3CDB]/50 grid place-items-center hover:border-[#4F3CDB] hover:text-[#4F3CDB] hover:bg-[#4F3CDB]/5 transition-all",title:"S\xfdna takka",children:(0,n.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none","aria-hidden":"true",children:(0,n.jsx)("path",{d:"M6 2.5V9.5M2.5 6H9.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})})}):null:(0,n.jsxs)("span",{className:"relative inline-flex group/button-edit",children:[(0,n.jsx)("a",{href:w,target:N?"_blank":void 0,rel:N?"noopener noreferrer":void 0,className:c,onClick:e=>{C&&(e.preventDefault(),e.stopPropagation(),h(t),b(s(a||H)),j(""),u(!0))},children:t}),!x&&C&&(0,n.jsxs)("span",{className:"absolute -top-5 left-1/2 -translate-x-1/2 opacity-0 group-hover/button-edit:opacity-100 transition-opacity flex items-center gap-1.5 pointer-events-auto z-40",children:[(0,n.jsx)("span",{className:"text-[10px] font-medium text-[#4F3CDB] bg-[#4F3CDB]/10 px-2 py-0.5 rounded-full whitespace-nowrap",children:"Smelltu til a\xf0 breyta"}),(0,n.jsx)("button",{type:"button",onClick:e=>{e.preventDefault(),e.stopPropagation(),g&&g(i)},className:"w-5 h-5 rounded-full bg-red-500/10 text-red-500 grid place-items-center hover:bg-red-500/20 transition-colors",title:"Fela takka",children:(0,n.jsx)("svg",{width:"10",height:"10",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true",children:(0,n.jsx)("path",{d:"M3.5 4.5H12.5M6 4.5V3.5C6 2.95 6.45 2.5 7 2.5H9C9.55 2.5 10 2.95 10 3.5V4.5M4.5 4.5L5.1 12.2C5.14 12.71 5.57 13.1 6.08 13.1H9.92C10.43 13.1 10.86 12.71 10.9 12.2L11.5 4.5M6.75 7V10.5M9.25 7V10.5",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),x&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"fixed inset-0 z-[100] bg-black/20",onClick:()=>k(!0)}),(0,n.jsxs)("div",{className:"fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 z-[101] bg-white rounded-xl shadow-2xl border border-[#
1E4E4EA] p-5 min-w-[320px] max-w-[90vw]",children:[(0,n.jsxs)("div",{className:"mb-3",children:[(0,n.jsx)("label",{className:"text-[11px] font-semibold text-[#6B6B80] uppercase tracking-wider mb-1 block",children:"Texti \xe1 takka"}),(0,n.jsx)("input",{ref:y,type:"text",value:p,onChange:e=>h(e.target.value),maxLength:30,className:"w-full px-3 py-2 border border-[#E4E4EA] rounded-lg text-sm text-[#0C0C14] focus:outline-none focus:ring-2 focus:ring-[#4F3CDB]/30"})]}),(0,n.jsxs)("div",{className:"mb-2",children:[(0,n.jsx)("label",{className:"text-[11px] font-semibold text-[#6B6B80] uppercase tracking-wider mb-1 block",children:"Tengill (URL)"}),(0,n.jsx)("input",{type:"text",value:f,onChange:e=>{b(e.target.value),v&&j("")},placeholder:"Instagram s\xed\xf0a / Noona / Tengill",className:"w-full px-3 py-2 border border-[#E4E4EA] rounded-lg text-sm text-[#6B6B80] focus:outline-none focus:ring-2 focus:ring-[#4F3CDB]/30"})]}),v&&(0,n.jsx)("p",{className:"text-xs text-red-500 mb-3",children:v}),(0,n.jsxs)("div",{className:"flex gap-2",children:[(0,n.jsx)("button",{type:"button",onClick:B,className:"flex-1 px-4 py-2 bg-[#00B894] text-white text-sm font-semibold rounded-lg hover:bg-[#00D9A6] transition-colors",children:"Vista"}),(0,n.jsx)("button",{type:"button",onClick:()=>k(!0),className:"px-4 py-2 text-sm text-[#6B6B80] hover:text-[#0C0C14] transition-colors",children:"H\xe6tta vi\xf0"})]})]})]})]})}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.