1"use strict";(globalThis.rspackChunklokalise_ui=globalThis.rspackChunklokalise_ui||[]).push([[2884],{15991(e,n,a){a.d(n,{A:()=>s});var t=a(71354),o=a.n(t),l=a(76314),i=a.n(l)()(o());i.push([e.id,`.x6Mq77LFaIpcO_zY { 2 font: var(--lok-typography-body-small-strong); 3 font-family: var(--lok-font-family-inter); 4} 5 6.XKBb1kEuivscJxz5 { 7 align-self: flex-end; 8 background: var(--lok-color-background-success); 9 border-color: var(--lok-color-background-surface-default); 10 color: var(--lok-color-text-success); 11} 12 13.IPA5DhMqgckXYo3F.IPA5DhMqgckXYo3F { 14 max-width: 315px; 15 text-align: center; 16 font-family: var(--lok-font-family-inter); 17} 18`,"",{version:3,sources:["webpack://./packages/rag/src/components/AiModelSelect/AiModelSelect.module.css"],names:[],mappings:"AAAA;CACC,6CAA6C;CAC7C,yCAAyC;AAC1C;;AAEA;CACC,oBAAoB;CACpB,+CAA+C;CAC/C,yDAAyD;CACzD,oCAAoC;AACrC;;AAEA;CACC,gBAAgB;CAChB,kBAAkB;CAClB,yCAAyC;AAC1C",sourcesContent:[".heading {\n font: var(--lok-typography-body-small-strong);\n font-family: var(--lok-font-family-inter);\n}\n\n.tag {\n align-self: flex-end;\n background: var(--lok-color-background-success);\n border-color: var(--lok-color-background-surface-default);\n color: var(--lok-color-text-success);\n}\n\n.tooltip.tooltip {\n max-width: 315px;\n text-align: center;\n font-family: var(--lok-font-family-inter);\n}\n"],sourceRoot:""}]),i.locals={heading:"x6Mq77LFaIpcO_zY",tag:"XKBb1kEuivscJxz5",tooltip:"IPA5DhMqgckXYo3F"};let s=i},33031(e,n,a){a.d(n,{A:()=>s});var t=a(71354),o=a.n(t),l=a(76314),i=a.n(l)()(o());i.push([e.id,`.zqelgN2fcnEd_q8s { 19 width: fit-content; 20 max-width: 1070px; 21} 22`,"",{version:3,sources:["webpack://./packages/rag/src/components/AssignmentModal/AssignmentModal.module.css"],names:[],mappings:"AAAA;CACC,kBAAkB;CAClB,iBAAiB;AAClB",sourcesContent:[".modal {\n width: fit-content;\n max-width: 1070px;\n}\n"],sourceRoot:""}]),i.locals={modal:"zqelgN2fcnEd_q8s"};let s=i},85715(e,n,a){a.d(n,{A:()=>s});var t=a(71354),o=a.n(t),l=a(76314),i=a.n(l)()(o());i.push([e.id,`.muorjxWWscWQe_zh { 23 padding: var(--lok-spacing-7); 24} 25 26.oySPvtgK8mpAJ98F { 27 flex: 1; 28} 29 30.YMOymkIr_pg1bVqT { 31 font: var(--lok-typography-heading-3); 32 font-family: var(--lok-font-family-inter); 33} 34 35.RWtTrbmoXV0SolCA { 36 font: var(--lok-typography-body-small-default); 37 font-family: var(--lok-font-family-inter); 38} 39 40.qK71MItDdFMWovWU { 41 height: 100%; 42} 43 44.SE6MnAVDXQUa6l9a { 45 width: 470px; 46 min-height: 538px; 47} 48`,"",{version:3,sources:["webpack://./packages/rag/src/components/AssignmentModal/components/ActivationStep/ActivationStep.module.css"],names:[],mappings:"AAAA;CACC,6BAA6B;AAC9B;;AAEA;CACC,OAAO;AACR;;AAEA;CACC,qCAAqC;CACrC,yCAAyC;AAC1C;;AAEA;CACC,8CAA8C;CAC9C,yCAAyC;AAC1C;;AAEA;CACC,YAAY;AACb;;AAEA;CACC,YAAY;CACZ,iBAAiB;AAClB",sourcesContent:[".container {\n padding: var(--lok-spacing-7);\n}\n\n.contents {\n flex: 1;\n}\n\n.heading {\n font: var(--lok-typography-heading-3);\n font-family: var(--lok-font-family-inter);\n}\n\n.subheading {\n font: var(--lok-typography-body-small-default);\n font-family: var(--lok-font-family-inter);\n}\n\n.footer {\n height: 100%;\n}\n\n.imageContainer {\n width: 470px;\n min-height: 538px;\n}\n"],sourceRoot:""}]),i.locals={container:"muorjxWWscWQe_zh",contents:"oySPvtgK8mpAJ98F",heading:"YMOymkIr_pg1bVqT",subheading:"RWtTrbmoXV0SolCA",footer:"qK71MItDdFMWovWU",imageContainer:"SE6MnAVDXQUa6l9a"};let s=i},84609(e,n,a){a.d(n,{A:()=>s});var t=a(71354),o=a.n(t),l=a(76314),i=a.n(l)()(o());i.push([e.id,`.ayiGUGYnHMowtQ0S { 49 padding: var(--lok-spacing-7); 50} 51 52.RNnp1xNd4a4iHATa { 53 font: var(--lok-typography-heading-3); 54 font-family: var(--lok-font-family-inter); 55} 56 57.blb2HEOSSWE3GwYx { 58 font: var(--lok-typography-body-small-default); 59 font-family: var(--lok-font-family-inter); 60} 61 62.Yy2fWKbbArkf28VO { 63 font: var(--lok-typography-body-small-strong); 64 font-family: var(--lok-font-family-inter); 65} 66 67.hUekNd8iIn8fDt3u { 68 height: 100%; 69} 70 71.cbkT6S1FhuEZZQH0 { 72 width: 470px; 73 min-height: 538px; 74} 75`,"",{version:3,sources:["webpack://./packages/rag/src/components/AssignmentModal/components/OverviewStep/OverviewStep.module.css"],names:[],mappings:"AAAA;
75CACC,6BAA6B;AAC9B;;AAEA;CACC,qCAAqC;CACrC,yCAAyC;AAC1C;;AAEA;CACC,8CAA8C;CAC9C,yCAAyC;AAC1C;;AAEA;CACC,6CAA6C;CAC7C,yCAAyC;AAC1C;;AAEA;CACC,YAAY;AACb;;AAEA;CACC,YAAY;CACZ,iBAAiB;AAClB",sourcesContent:[".container {\n padding: var(--lok-spacing-7);\n}\n\n.heading {\n font: var(--lok-typography-heading-3);\n font-family: var(--lok-font-family-inter);\n}\n\n.subheading {\n font: var(--lok-typography-body-small-default);\n font-family: var(--lok-font-family-inter);\n}\n\n.stepsContainerHeading {\n font: var(--lok-typography-body-small-strong);\n font-family: var(--lok-font-family-inter);\n}\n\n.footer {\n height: 100%;\n}\n\n.imageContainer {\n width: 470px;\n min-height: 538px;\n}\n"],sourceRoot:""}]),i.locals={container:"ayiGUGYnHMowtQ0S",heading:"RNnp1xNd4a4iHATa",subheading:"blb2HEOSSWE3GwYx",stepsContainerHeading:"Yy2fWKbbArkf28VO",footer:"hUekNd8iIn8fDt3u",imageContainer:"cbkT6S1FhuEZZQH0"};let s=i},81055(e,n,a){a.d(n,{A:()=>s});var t=a(71354),o=a.n(t),l=a(76314),i=a.n(l)()(o());i.push([e.id,`.ExqNPmmOBtMtwfDN { 76 padding: var(--lok-spacing-7); 77} 78 79.UhlGvcIxx2MyyETx { 80 flex: 1; 81} 82 83.H8tfBMDoERppf4yK { 84 font: var(--lok-typography-body-small-strong); 85 font-family: var(--lok-font-family-inter); 86} 87 88.o9nNFUXCb6gtti7v > button { 89 width: 100%; 90} 91 92.HkWvh75tEBYQgDRc { 93 font: var(--lok-typography-heading-3); 94 font-family: var(--lok-font-family-inter); 95} 96 97.kY6g9tMzcf4KCDL0 { 98 font: var(--lok-typography-body-small-default); 99 font-family: var(--lok-font-family-inter); 100} 101 102.P3_3eYFZrL8zkFqr { 103 height: 100%; 104} 105 106.ixp0TB9cNzgVPO9y { 107 width: 470px; 108 min-height: 538px; 109} 110 111.kC1q64Qhbzk7_sJD.kC1q64Qhbzk7_sJD { 112 max-width: 400px; 113 text-align: center; 114 font-family: var(--lok-font-family-inter); 115} 116 117.UOq0xtbLRCc0QYj9 { 118 display: flex; 119 align-items: center; 120 gap: var(--lok-spacing-1); 121 122 color: var(--lok-color-text-warning); 123 font: var(--lok-typography-body-tiny-default); 124 font-family: var(--lok-font-family-inter); 125 126 > span { 127 flex: 1; 128 } 129} 130`,"",{version:3,sources:["webpack://./packages/rag/src/components/AssignmentModal/components/TMDataSourceStep/TMDataSourceStep.module.css"],names:[],mappings:"AAAA;CACC,6BAA6B;AAC9B;;AAEA;CACC,OAAO;AACR;;AAEA;CACC,6CAA6C;CAC7C,yCAAyC;AAC1C;;AAEA;CACC,WAAW;AACZ;;AAEA;CACC,qCAAqC;CACrC,yCAAyC;AAC1C;;AAEA;CACC,8CAA8C;CAC9C,yCAAyC;AAC1C;;AAEA;CACC,YAAY;AACb;;AAEA;CACC,YAAY;CACZ,iBAAiB;AAClB;;AAEA;CACC,gBAAgB;CAChB,kBAAkB;CAClB,yCAAyC;AAC1C;;AAEA;CACC,aAAa;CACb,mBAAmB;CACnB,yBAAyB;;CAEzB,oCAAoC;CACpC,6CAA6C;CAC7C,yCAAyC;;CAEzC;EACC,OAAO;CACR;AACD",sourcesContent:[".container {\n padding: var(--lok-spacing-7);\n}\n\n.contents {\n flex: 1;\n}\n\n.controlLabel {\n font: var(--lok-typography-body-small-strong);\n font-family: var(--lok-font-family-inter);\n}\n\n.dateControl > button {\n width: 100%;\n}\n\n.heading {\n font: var(--lok-typography-heading-3);\n font-family: var(--lok-font-family-inter);\n}\n\n.subheading {\n font: var(--lok-typography-body-small-default);\n font-family: var(--lok-font-family-inter);\n}\n\n.footer {\n height: 100%;\n}\n\n.imageContainer {\n width: 470px;\n min-height: 538px;\n}\n\n.tooltip.tooltip {\n max-width: 400px;\n text-align: center;\n font-family: var(--lok-font-family-inter);\n}\n\n.warning {\n display: flex;\n align-items: center;\n gap: var(--lok-spacing-1);\n\n color: var(--lok-color-text-warning);\n font: var(--lok-typography-body-tiny-default);\n font-family: var(--lok-font-family-inter);\n\n > span {\n flex: 1;\n }\n}\n"],sourceRoot:""}]),i.locals={container:"ExqNPmmOBtMtwfDN",contents:"UhlGvcIxx2MyyETx",controlLabel:"H8tfBMDoERppf4yK",dateControl:"o9nNFUXCb6gtti7v",heading:"HkWvh75tEBYQgDRc",subheading:"kY6g9tMzcf4KCDL0",footer:"P3_3eYFZrL8zkFqr",imageContainer:"ixp0TB9cNzgVPO9y",tooltip:"kC1q64Qhbzk7_sJD",warning:"UOq0xtbLRCc0QYj9"};let s=i},60859(e,n,a){a.d(n,{A:()=>s});var t=a(71354),o=a.n(t),l=a(76314),i=a.n(l)()(o());i.push([e.id,`.pEtVwQNjl7cO8gKa { 131 width: fit-content; 132 max-width: 1070px; 133} 134`,"",{version:3,sources:["webpack://./packages/rag/src/components/BaseProfileModal/BaseProfileModal.module.css"],names:[],mappings:"AAAA;CACC,kBAAkB;CAClB,iBAAiB;AAClB",sourcesContent:[".modal {\n width: fit-content;\n max-width: 1070px;\n}\n"],sourceRoot:""}]),i.locals={modal:"pEtVwQNjl7cO8gKa"};let s=i},36932(e,n,a){a.d(n,{A:()=>s});var t=a(71354),o=a.n(t),l=a(76314),i=a.n(l)()(o());
134i.push([e.id,`.n5E1LnZtLcTxxG1E { 135 font: var(--lok-typography-body-small-strong); 136 font-family: var(--lok-font-family-inter); 137} 138`,"",{version:3,sources:["webpack://./packages/rag/src/components/BaseProfileModal/components/BaseProfileBasicsStep/BaseProfileBasicsStep.module.css"],names:[],mappings:"AAAA;CACC,6CAA6C;CAC7C,yCAAyC;AAC1C",sourcesContent:[".heading {\n font: var(--lok-typography-body-small-strong);\n font-family: var(--lok-font-family-inter);\n}\n"],sourceRoot:""}]),i.locals={heading:"n5E1LnZtLcTxxG1E"};let s=i},14348(e,n,a){a.d(n,{A:()=>s});var t=a(71354),o=a.n(t),l=a(76314),i=a.n(l)()(o());i.push([e.id,`.fendBFsTjdQ6YQSe { 139 font: var(--lok-typography-body-small-strong); 140 font-family: var(--lok-font-family-inter); 141} 142`,"",{version:3,sources:["webpack://./packages/rag/src/components/BaseProfileModal/components/BaseProfileOverviewStep/BaseProfileOverviewStep.module.css"],names:[],mappings:"AAAA;CACC,6CAA6C;CAC7C,yCAAyC;AAC1C",sourcesContent:[".stepsContainerHeading {\n font: var(--lok-typography-body-small-strong);\n font-family: var(--lok-font-family-inter);\n}\n"],sourceRoot:""}]),i.locals={stepsContainerHeading:"fendBFsTjdQ6YQSe"};let s=i},9835(e,n,a){a.d(n,{A:()=>s});var t=a(71354),o=a.n(t),l=a(76314),i=a.n(l)()(o());i.push([e.id,`.FzcYd7Fw5d0LFu3g { 143 color: var(--lok-color-text-danger); 144} 145 146.z1ADnX8KuVARp_4h { 147 height: fit-content; 148} 149`,"",{version:3,sources:["webpack://./packages/rag/src/components/Cards/ProfileCard/ProfileCard.module.css"],names:[],mappings:"AAAA;CACC,mCAAmC;AACpC;;AAEA;CACC,mBAAmB;AACpB",sourcesContent:[".deleteMenuItem {\n color: var(--lok-color-text-danger);\n}\n\n.editMenuContainer {\n height: fit-content;\n}\n"],sourceRoot:""}]),i.locals={deleteMenuItem:"FzcYd7Fw5d0LFu3g",editMenuContainer:"z1ADnX8KuVARp_4h"};let s=i},9903(e,n,a){a.d(n,{A:()=>s});var t=a(71354),o=a.n(t),l=a(76314),i=a.n(l)()(o());i.push([e.id,`.p2jYUWaIhWUAsbqJ { 150 font: var(--lok-typography-body-action-small); 151 font-family: var(--lok-font-family-inter); 152 color: var(--lok-color-text-light-default); 153 154 & a { 155 text-decoration: underline; 156 color: var(--lok-color-text-light-default); 157 } 158 159 & a:hover { 160 color: var(--lok-color-text-default); 161 } 162} 163`,"",{version:3,sources:["webpack://./packages/rag/src/components/Cards/ProfileCardStatic/ProfileCardStatic.module.css"],names:[],mappings:"AAAA;CACC,6CAA6C;CAC7C,yCAAyC;CACzC,0CAA0C;;CAE1C;EACC,0BAA0B;EAC1B,0CAA0C;CAC3C;;CAEA;EACC,oCAAoC;CACrC;AACD",sourcesContent:[".bodyText {\n font: var(--lok-typography-body-action-small);\n font-family: var(--lok-font-family-inter);\n color: var(--lok-color-text-light-default);\n\n & a {\n text-decoration: underline;\n color: var(--lok-color-text-light-default);\n }\n\n & a:hover {\n color: var(--lok-color-text-default);\n }\n}\n"],sourceRoot:""}]),i.locals={bodyText:"p2jYUWaIhWUAsbqJ"};let s=i},79479(e,n,a){a.d(n,{A:()=>s});var t=a(71354),o=a.n(t),l=a(76314),i=a.n(l)()(o());i.push([e.id,`.DlLwCZdD90g6DmTJ { 164 font: var(--lok-typography-body-action-small); 165 font-family: var(--lok-font-family-inter); 166 color: var(--lok-color-text-light-default); 167 168 & a { 169 text-decoration: underline; 170 color: var(--lok-color-text-light-default); 171 } 172 173 & a:hover { 174 color: var(--lok-color-text-default); 175 } 176} 177 178.S9zk3jij1VIgmLE5 { 179 height: fit-content; 180} 181`,"",{version:3,sources:["webpack://./packages/rag/src/components/Cards/ProfileCardTM/ProfileCardTM.module.css"],names:[],mappings:"AAAA;CACC,6CAA6C;CAC7C,yCAAyC;CACzC,0CAA0C;;CAE1C;EACC,0BAA0B;EAC1B,0CAA0C;CAC3C;;CAEA;EACC,oCAAoC;CACrC;AACD;;AAEA;CACC,mBAAmB;AACpB",sourcesContent:[".bodyText {\n font: var(--lok-typography-body-action-small);\n font-family: var(--lok-font-family-inter);\n color: var(--lok-color-text-light-default);\n\n & a {\n text-decoration: underline;\n color: var(--lok-color-text-light-default);\n }\n\n & a:hover {\n color: var(--lok-color-text-default);\n }\n}\n\n.editMenuContainer {\n height: fit-content;\n}\n"],sourceRoot:""}]),i.locals={bodyText:"DlLwCZdD90g6DmTJ",editMenuContainer:"S9zk3jij1VIgmLE5"};let s=i},81478(e,n,a){a.d(n,{A:()=>s});var t=a(71354),o=a.n(t),l=a(76314),i=a.n(l)()(o());
181i.push([e.id,`.SrGJRDdWv8viMPFv { 182 display: flex; 183 flex-direction: column; 184 gap: var(--lok-spacing-5); 185 186 padding: var(--lok-spacing-7); 187 border: 1px solid var(--lok-color-border-light); 188 background: var(--lok-color-background-default); 189 border-radius: var(--lok-radius-l); 190 191 height: 184px; 192} 193`,"",{version:3,sources:["webpack://./packages/rag/src/components/Cards/components/CardContainer/CardContainer.module.css"],names:[],mappings:"AAAA;CACC,aAAa;CACb,sBAAsB;CACtB,yBAAyB;;CAEzB,6BAA6B;CAC7B,+CAA+C;IAC5C,+CAA+C;CAClD,kCAAkC;;CAElC,aAAa;AACd",sourcesContent:[".container {\n display: flex;\n flex-direction: column;\n gap: var(--lok-spacing-5);\n\n padding: var(--lok-spacing-7);\n border: 1px solid var(--lok-color-border-light);\n background: var(--lok-color-background-default);\n border-radius: var(--lok-radius-l);\n\n height: 184px;\n}\n"],sourceRoot:""}]),i.locals={container:"SrGJRDdWv8viMPFv"};let s=i},52234(e,n,a){a.d(n,{A:()=>s});var t=a(71354),o=a.n(t),l=a(76314),i=a.n(l)()(o());i.push([e.id,`.rqnttpMGVUTPGmW0 {
194 display: flex; 195 align-items: center; 196 background-color: var(--lok-color-background-surface-fore); 197 border-radius: var(--lok-radius-tag); 198 padding: var(--lok-spacing-1) var(--lok-spacing-2); 199} 200`,"",{version:3,sources:["webpack://./packages/rag/src/components/Cards/components/CardModel/CardModel.module.css"],names:[],mappings:"AAAA;CACC,aAAa;CACb,mBAAmB;CACnB,0DAA0D;CAC1D,oCAAoC;CACpC,kDAAkD;AACnD",sourcesContent:[".container {\n display: flex;\n align-items: center;\n background-color: var(--lok-color-background-surface-fore);\n border-radius: var(--lok-radius-tag);\n padding: var(--lok-spacing-1) var(--lok-spacing-2);\n}\n"],sourceRoot:""}]),i.locals={container:"rqnttpMGVUTPGmW0"};let s=i},66402(e,n,a){a.d(n,{A:()=>s});var t=a(71354),o=a.n(t),l=a(76314),i=a.n(l)()(o());i.push([e.id,`.y_OgAmWNzofLG3Df { 201 font: var(--lok-typography-body-small-strong); 202 font-family: var(--lok-font-family-inter); 203} 204 205.pvLEni_cgMJHba1c.pvLEni_cgMJHba1c { 206 max-width: 370px; 207 text-align: center; 208 font-family: var(--lok-font-family-inter); 209} 210`,"",{version:3,sources:["webpack://./packages/rag/src/components/Cards/components/CardTitle/CardTitle.module.css"],names:[],mappings:"AAAA;CACC,6CAA6C;CAC7C,yCAAyC;AAC1C;;AAEA;CACC,gBAAgB;CAChB,kBAAkB;CAClB,yCAAyC;AAC1C",sourcesContent:[".title {\n font: var(--lok-typography-body-small-strong);\n font-family: var(--lok-font-family-inter);\n}\n\n.tooltip.tooltip {\n max-width: 370px;\n text-align: center;\n font-family: var(--lok-font-family-inter);\n}\n"],sourceRoot:""}]),i.locals={title:"y_OgAmWNzofLG3Df",tooltip:"pvLEni_cgMJHba1c"};let s=i},87354(e,n,a){a.d(n,{A:()=>s});var t=a(71354),o=a.n(t),l=a(76314),i=a.n(l)()(o());i.push([e.id,`.dFoOB_f0EAwTkmG2 { 211 width: 180px; 212} 213`,"",{version:3,sources:["webpack://./packages/rag/src/components/Cards/components/EditMenu/EditMenu.module.css"],names:[],mappings:"AAAA;CACC,YAAY;AACb",sourcesContent:[".menu {\n width: 180px;\n}\n"],sourceRoot:""}]),i.locals={menu:"dFoOB_f0EAwTkmG2"};let s=i},41994(e,n,a){a.d(n,{A:()=>s});var t=a(71354),o=a.n(t),l=a(76314),i=a.n(l)()(o());i.push([e.id,`.d7zmOQbQXgO9wrdz { 214 padding: var(--lok-spacing-3) var(--lok-spacing-4); 215 max-width: 285px; 216 font: var(--lok-typography-body-small-default); 217 218 & a { 219 text-decoration: underline; 220 color: var(--lok-color-text-light-default); 221 } 222 223 & a:hover { 224 color: var(--lok-color-text-default); 225 } 226}`,"",{version:3,sources:["webpack://./packages/rag/src/components/Cards/components/EvaluationsButton/EvaluationsButton.module.css"],names:[],mappings:"AAAA;IACI,kDAAkD;IAClD,gBAAgB;IAChB,8CAA8C;;CAEjD;EACC,0BAA0B;EAC1B,0CAA0C;CAC3C;;CAEA;EACC,oCAAoC;CACrC;AACD",sourcesContent:[".tooltip {\n padding: var(--lok-spacing-3) var(--lok-spacing-4);\n max-width: 285px;\n font: var(--lok-typography-body-small-default);\n\n & a {\n text-decoration: underline;\n color: var(--lok-color-text-light-default);\n }\n\n & a:hover {\n color: var(--lok-color-text-default);\n }\n}"],sourceRoot:""}]),i.locals={tooltip:"d7zmOQbQXgO9wrdz"};let s=i},40426(e,n,a){a.d(n,{A:()=>s});var t=a(71354),o=a.n(t),l=a(76314),i=a.n(l)()(o());i.push([e.id,`.s_ajsZMxxuIeE6D8 { 227 display: flex; 228 align-items: center; 229 gap: var(--lok-spacing-1); 230 231 padding: var(--lok-spacing-1) var(--lok-spacing-2); 232 border-radius: var(--lok-radius-tag); 233 border: none; 234 235 font: var(--lok-typography-body-tiny-strong); 236 font-family: var(--lok-font-family-inter); 237} 238 239.vJad7YKMiogo2da2 { 240 background-color: var(--lok-color-background-success); 241 color: var(--lok-color-text-success); 242} 243 244.KUnuUPbb9Mkyndh0 { 245 background-color: var(--lok-color-background-surface-fore); 246 color: var(--lok-color-text-default); 247} 248 249.qlhqJNnf5uc7vPAs { 250 background-color: var(--lok-color-background-surface-middle); 251 color: var(--lok-color-text-light-default) 252} 253 254.LFzBWMI4JPIf8QDW { 255 background-color: var(--lok-color-background-ai); 256 color: var(--lok-color-text-ai); 257}`,"",{version:3,sources:["webpack://./packages/rag/src/components/Cards/components/ProjectTag/ProjectTag.module.css"],names:[],mappings:"AAAA;CACC,aAAa;CACb,mBAAmB;CACnB,yBAAyB;;CAEzB,kDAAkD;CAClD,oCAAoC;CACpC,YAAY;;CAEZ,4CAA4C;CAC5C,yCAAyC;AAC1C;;AAEA;CACC,qDAAqD;CACrD,oCAAoC;AACrC;;AAEA;CACC,0DAA0D;CAC1D,oCAAoC;AACrC;;AAEA;CACC,4DAA4D;CAC5D;AACD;;AAEA;CACC,gDAAgD;CAChD,+BAA+B;AAChC",sourcesContent:[".base {\n display: flex;\n align-items: center;\n gap: var(--lok-spacing-1);\n\n padding: var(--lok-spacing-1) var(--lok-spacing-2);\n border-radius: var(--lok-radius-tag);\n border: none;\n\n font: var(--lok-typography-body-tiny-strong);\n font-family: var(--lok-font-family-inter);\n}\n\n.active {\n background-color: var(--lok-color-background-success);\n color: var(--lok-color-text-success);\n}\n\n.inactive {\n background-color: var(--lok-color-background-surface-fore);\n color: var(--lok-color-text-default);\n}\n\n.default {\n background-color: var(--lok-color-background-surface-middle);\n color: var(--lok-color-text-light-default)\n}\n\n.custom {\n background-color: var(--lok-color-background-ai);\n color: var(--lok-color-text-ai);\n}"],sourceRoot:""}]),i.locals={base:"s_ajsZMxxuIeE6D8",active:"vJad7YKMiogo2da2",inactive:"KUnuUPbb9Mkyndh0",default:"qlhqJNnf5uc7vPAs",custom:"LFzBWMI4JPIf8QDW"};let s=i},65824(e,n,a){a.d(n,{A:()=>s});var t=a(71354),o=a.n(t),l=a(76314),i=a.n(l)()(o());
257i.push([e.id,`.khkT7zWJ4WC4MOE1 { 258 color: var(--lok-color-text-light-default); 259 260 font: var(--lok-typography-body-tiny-default); 261 font-family: var(--lok-font-family-inter); 262} 263 264.MTZcCV_XFmsGegbb { 265 color: var(--lok-color-text-disabled); 266 font: var(--lok-typography-body-tiny-default); 267 font-family: var(--lok-font-family-inter); 268} 269 270.DOYNas0o9Ckd1e3a { 271 color: var(--lok-color-text-default); 272 border-color: var(--lok-color-background-surface-fore); 273 background-color: var(--lok-color-background-surface-fore); 274} 275 276.S7Qjw06sDYSzD8ld.S7Qjw06sDYSzD8ld { 277 max-width: 370px; 278 text-align: center; 279 overflow-wrap: break-word; 280 font-family: var(--lok-font-family-inter); 281} 282`,"",{version:3,sources:["webpack://./packages/rag/src/components/Cards/components/ProjectsList/ProjectsList.module.css"],names:[],mappings:"AAAA;CACC,0CAA0C;;CAE1C,6CAA6C;CAC7C,yCAAyC;AAC1C;;AAEA;CACC,qCAAqC;CACrC,6CAA6C;CAC7C,yCAAyC;AAC1C;;AAEA;CACC,oCAAoC;CACpC,sDAAsD;CACtD,0DAA0D;AAC3D;;AAEA;CACC,gBAAgB;CAChB,kBAAkB;CAClB,yBAAyB;CACzB,yCAAyC;AAC1C",sourcesContent:[".title {\n color: var(--lok-color-text-light-default);\n\n font: var(--lok-typography-body-tiny-default);\n font-family: var(--lok-font-family-inter);\n}\n\n.blankMessage {\n color: var(--lok-color-text-disabled);\n font: var(--lok-typography-body-tiny-default);\n font-family: var(--lok-font-family-inter);\n}\n\n.tag {\n color: var(--lok-color-text-default);\n border-color: var(--lok-color-background-surface-fore);\n background-color: var(--lok-color-background-surface-fore);\n}\n\n.tooltip.tooltip {\n max-width: 370px;\n text-align: center;\n overflow-wrap: break-word;\n font-family: var(--lok-font-family-inter);\n}\n"],sourceRoot:""}]),i.locals={title:"khkT7zWJ4WC4MOE1",blankMessage:"MTZcCV_XFmsGegbb",tag:"DOYNas0o9Ckd1e3a",tooltip:"S7Qjw06sDYSzD8ld"};let s=i},5887(e,n,a){a.d(n,{A:()=>s});var t=a(71354),o=a.n(t),l=a(76314),i=a.n(l)()(o());i.push([e.id,`.XrkoUSBDt7ktdOke { 283 display: grid; 284 grid-template-columns: auto 1fr; 285 grid-template-rows: auto auto; 286 column-gap: var(--lok-spacing-2); 287 border-radius: var(--lok-radius-l); 288 padding: var(--lok-spacing-4); 289 width: 500px; 290 291 background-color: var(--lok-color-background-surface-middle); 292} 293 294.d28A7xCgP14YkDZ8 { 295 display: flex; 296 align-items: center; 297 298 grid-column: 1; 299 grid-row: 1; 300} 301 302.S73KXJHrf78XnNjj { 303 grid-column: 2; 304 grid-row: 1; 305 306 color: var(--lok-color-text-default); 307 font: var(--lok-typography-body-small-strong); 308 font-family: var(--lok-font-family-inter); 309} 310 311.iJcpT9e_RIpJjv3n { 312 grid-column: 2; 313 grid-row: 2; 314 315 color: var(--lok-color-text-light-default); 316 font: var(--lok-typography-body-small-default); 317 font-family: var(--lok-font-family-inter); 318} 319`,"",{version:3,sources:["webpack://./packages/rag/src/components/DescriptionWithIcon/DescriptionWithIcon.module.css"],names:[],mappings:"AAAA;CACC,aAAa;CACb,+BAA+B;CAC/B,6BAA6B;CAC7B,gCAAgC;CAChC,kCAAkC;CAClC,6BAA6B;CAC7B,YAAY;;CAEZ,4DAA4D;AAC7D;;AAEA;CACC,aAAa;CACb,mBAAmB;;CAEnB,cAAc;CACd,WAAW;AACZ;;AAEA;CACC,cAAc;CACd,WAAW;;CAEX,oCAAoC;CACpC,6CAA6C;CAC7C,yCAAyC;AAC1C;;AAEA;CACC,cAAc;CACd,WAAW;;CAEX,0CAA0C;CAC1C,8CAA8C;CAC9C,yCAAyC;AAC1C",sourcesContent:[".step {\n display: grid;\n grid-template-columns: auto 1fr;\n grid-template-rows: auto auto;\n column-gap: var(--lok-spacing-2);\n border-radius: var(--lok-radius-l);\n padding: var(--lok-spacing-4);\n width: 500px;\n\n background-color: var(--lok-color-background-surface-middle);\n}\n\n.iconContainer {\n display: flex;\n align-items: center;\n\n grid-column: 1;\n grid-row: 1;\n}\n\n.stepHeading {\n grid-column: 2;\n grid-row: 1;\n\n color: var(--lok-color-text-default);\n font: var(--lok-typography-body-small-strong);\n font-family: var(--lok-font-family-inter);\n}\n\n.stepText {\n grid-column: 2;\n grid-row: 2;\n\n color: var(--lok-color-text-light-default);\n font: var(--lok-typography-body-small-default);\n font-family: var(--lok-font-family-inter);\n}\n"],sourceRoot:""}]),i.locals={step:"XrkoUSBDt7ktdOke",iconContainer:"d28A7xCgP14YkDZ8",stepHeading:"S73KXJHrf78XnNjj",stepText:"iJcpT9e_RIpJjv3n"};let s=i},183(e,n,a){a.d(n,{A:()=>s});var t=a(71354),o=a.n(t),l=a(76314),i=a.n(l)()(o());
319i.push([e.id,`.m1YxRLP2ZhcuU4VT { 320 position: relative; 321 322 min-width: 550px; 323 height: 210px; 324} 325 326.f5OueQGQEME6EEru, .gRDG0QR8VZYGkUTq, .h18W4VzdbzoNzg2g, .aBrreFaxWf8AGDxH { 327 display: flex; 328 align-items: center; 329 gap: var(--lok-spacing-2); 330 331 color: var(--lok-color-text-link-hover); 332 font: var(--lok-typography-body-small-strong); 333 background-color: var(--lok-color-background-active); 334 padding: var(--lok-spacing-2) var(--lok-spacing-5); 335 border-radius: 20px; 336 337 box-shadow: 0px 10px 20px 2px #26262605, 338 0px 8px 16px 0px #2626260A, 339 0px 4px 6px 0px #2626260A, 340 0px 0px 2px 0px #2626261A; 341} 342 343.f5OueQGQEME6EEru { 344 position: absolute; 345 left: 5%; 346 top: 14%; 347} 348 349.gRDG0QR8VZYGkUTq { 350 position: absolute; 351 top: 0; 352 right: 10%; 353} 354 355.h18W4VzdbzoNzg2g { 356 position: absolute; 357 left: 0; 358 bottom: 12%; 359} 360 361.aBrreFaxWf8AGDxH { 362 position: absolute; 363 right: 0; 364 bottom: 0; 365} 366 367.HEwggkEe3Yg_7UfD { 368 position: absolute; 369 right: 15%; 370 top: 40%; 371} 372`,"",{version:3,sources:["webpack://./packages/rag/src/components/IrregularButtonLayout/IrregularButtonLayout.module.css"],names:[],mappings:"AAAA;IACI,kBAAkB;;IAElB,gBAAgB;IAChB,aAAa;AACjB;;AAEA;IACI,aAAa;IACb,mBAAmB;IACnB,yBAAyB;;IAEzB,uCAAuC;IACvC,6CAA6C;IAC7C,oDAAoD;IACpD,kDAAkD;IAClD,mBAAmB;;IAEnB;;;yCAGqC;AACzC;;AAEA;IACI,kBAAkB;IAClB,QAAQ;IACR,QAAQ;AACZ;;AAEA;IACI,kBAAkB;IAClB,MAAM;IACN,UAAU;AACd;;AAEA;IACI,kBAAkB;IAClB,OAAO;IACP,WAAW;AACf;;AAEA;IACI,kBAAkB;IAClB,QAAQ;IACR,SAAS;AACb;;AAEA;IACI,kBAAkB;IAClB,UAAU;IACV,QAAQ;AACZ",sourcesContent:[".container {\n position: relative;\n\n min-width: 550px;\n height: 210px;\n}\n\n.legal, .blog, .support, .marketing {\n display: flex;\n align-items: center;\n gap: var(--lok-spacing-2);\n\n color: var(--lok-color-text-link-hover);\n font: var(--lok-typography-body-small-strong);\n background-color: var(--lok-color-background-active);\n padding: var(--lok-spacing-2) var(--lok-spacing-5);\n border-radius: 20px;\n\n box-shadow: 0px 10px 20px 2px #26262605,\n 0px 8px 16px 0px #2626260A,\n 0px 4px 6px 0px #2626260A,\n 0px 0px 2px 0px #2626261A;\n}\n\n.legal {\n position: absolute;\n left: 5%;\n top: 14%;\n}\n\n.blog {\n position: absolute;\n top: 0;\n right: 10%;\n}\n\n.support {\n position: absolute;\n left: 0;\n bottom: 12%;\n}\n\n.marketing {\n position: absolute;\n right: 0;\n bottom: 0;\n}\n\n.button {\n position: absolute;\n right: 15%;\n top: 40%;\n}\n"],sourceRoot:""}]),i.locals={container:"m1YxRLP2ZhcuU4VT",legal:"f5OueQGQEME6EEru",blog:"gRDG0QR8VZYGkUTq",support:"h18W4VzdbzoNzg2g",marketing:"aBrreFaxWf8AGDxH",button:"HEwggkEe3Yg_7UfD"};let s=i},78855(e,n,a){a.d(n,{A:()=>s});var t=a(71354),o=a.n(t),l=a(76314),i=a.n(l)()(o());i.push([e.id,`.XWgNIBV8SL9_YW_P { 373 display: flex; 374 padding: var(--lok-spacing-6); 375 padding-right: 0; 376 padding-bottom: 0; 377 background-color: var(--lok-color-background-surface-middle); 378 border-radius: var(--lok-radius-xl); 379 height: 100%; 380} 381 382.pWOgeIFL71QEubsE { 383 display: flex; 384 flex-direction: column; 385 gap: var(--lok-spacing-5); 386 flex: 1; 387 border: 1px solid var(--lok-color-border-light); 388 padding: var(--lok-spacing-7); 389 border-right: 0; 390 border-bottom: 0; 391 border-top-left-radius: var(--lok-radius-l); 392} 393 394.xs64TPEyy4qKV6_e { 395 display: grid; 396 grid-template-columns: 1fr auto 2fr; 397 grid-template-rows: auto 1fr auto; 398 grid-gap: var(--lok-spacing-3); 399} 400 401.RG8i_eycAvlNcbYj { 402 display: flex; 403 align-items: center; 404 grid-area: 1 / 2 / 2 / 3; 405} 406 407.FGngKWW_S50GAwjn { 408 max-height: 450px; 409 overflow: auto; 410 grid-area: 1 / 3 / 3 / 4; 411} 412 413.qxtYX4D9FMYZzbHo { 414 grid-area: 3 / 1 / 4 / 4; 415} 416 417.wwqVk4q4zXw_JjRZ { 418 display: flex; 419 flex-wrap: wrap; 420 gap: var(--lok-spacing-1); 421} 422 423.FMqupTC5ECgCCIf4 { 424 background-color: var(--lok-color-background-surface-fore); 425 color: var(--lok-color-text-default); 426 border: none; 427} 428 429.EtsIZU2n3W4N0hPe { 430 background-color: var(--lok-color-background-warning); 431 color: var(--lok-color-text-warning); 432 font: var(--lok-typography-body-tiny-default); 433} 434 435.wdvRZq_FGeYPjehu { 436 display: flex; 437 flex-direction: column; 438 gap: var(--lok-spacing-2); 439} 440 441.lrYptlxhok0jDBbz { 442 font: var(--lok-typography-heading-4); 443 444 &.pj9IKS_hMaK0lnSP { 445 color: var(--lok-color-text-disabled); 446 } 447} 448 449.q3mqaD2PiQFiNJuL { 450 color: var(--lok-color-text-success); 451 background-color: var(--lok-color-background-success); 452 border: none; 453 454 height: 100%; 455 padding: var(--lok-spacing-1) var(--lok-spacing-2); 456} 457 458.oFJwfT7yGLMao9cD {
459 display: flex; 460 align-items: center; 461 background-color: var(--lok-color-background-surface-fore); 462 border-radius: var(--lok-radius-tag); 463 padding: var(--lok-spacing-1) var(--lok-spacing-2); 464} 465`,"",{version:3,sources:["webpack://./packages/rag/src/components/KeysForLanguage/KeysForLanguage.module.css"],names:[],mappings:"AAAA;CACC,aAAa;CACb,6BAA6B;CAC7B,gBAAgB;CAChB,iBAAiB;CACjB,4DAA4D;CAC5D,mCAAmC;CACnC,YAAY;AACb;;AAEA;CACC,aAAa;CACb,sBAAsB;CACtB,yBAAyB;CACzB,OAAO;CACP,+CAA+C;CAC/C,6BAA6B;CAC7B,eAAe;CACf,gBAAgB;CAChB,2CAA2C;AAC5C;;AAEA;CACC,aAAa;CACb,mCAAmC;CACnC,iCAAiC;CACjC,8BAA8B;AAC/B;;AAEA;CACC,aAAa;CACb,mBAAmB;CACnB,wBAAwB;AACzB;;AAEA;CACC,iBAAiB;CACjB,cAAc;CACd,wBAAwB;AACzB;;AAEA;CACC,wBAAwB;AACzB;;AAEA;CACC,aAAa;CACb,eAAe;CACf,yBAAyB;AAC1B;;AAEA;CACC,0DAA0D;CAC1D,oCAAoC;CACpC,YAAY;AACb;;AAEA;CACC,qDAAqD;CACrD,oCAAoC;CACpC,6CAA6C;AAC9C;;AAEA;CACC,aAAa;CACb,sBAAsB;CACtB,yBAAyB;AAC1B;;AAEA;CACC,qCAAqC;;CAErC;EACC,qCAAqC;CACtC;AACD;;AAEA;CACC,oCAAoC;CACpC,qDAAqD;CACrD,YAAY;;CAEZ,YAAY;CACZ,kDAAkD;AACnD;;AAEA;CACC,aAAa;CACb,mBAAmB;CACnB,0DAA0D;CAC1D,oCAAoC;CACpC,kDAAkD;AACnD",sourcesContent:[".outerContainer {\n display: flex;\n padding: var(--lok-spacing-6);\n padding-right: 0;\n padding-bottom: 0;\n background-color: var(--lok-color-background-surface-middle);\n border-radius: var(--lok-radius-xl);\n height: 100%;\n}\n\n.borderWrapper {\n display: flex;\n flex-direction: column;\n gap: var(--lok-spacing-5);\n flex: 1;\n border: 1px solid var(--lok-color-border-light);\n padding: var(--lok-spacing-7);\n border-right: 0;\n border-bottom: 0;\n border-top-left-radius: var(--lok-radius-l);\n}\n\n.container {\n display: grid;\n grid-template-columns: 1fr auto 2fr;\n grid-template-rows: auto 1fr auto;\n grid-gap: var(--lok-spacing-3);\n}\n\n.icon {\n display: flex;\n align-items: center;\n grid-area: 1 / 2 / 2 / 3;\n}\n\n.target {\n max-height: 450px;\n overflow: auto;\n grid-area: 1 / 3 / 3 / 4;\n}\n\n.projects {\n grid-area: 3 / 1 / 4 / 4;\n}\n\n.projectsContainer {\n display: flex;\n flex-wrap: wrap;\n gap: var(--lok-spacing-1);\n}\n\n.projectsTag {\n background-color: var(--lok-color-background-surface-fore);\n color: var(--lok-color-text-default);\n border: none;\n}\n\n.warning {\n background-color: var(--lok-color-background-warning);\n color: var(--lok-color-text-warning);\n font: var(--lok-typography-body-tiny-default);\n}\n\n.titleContainer {\n display: flex;\n flex-direction: column;\n gap: var(--lok-spacing-2);\n}\n\n.title {\n font: var(--lok-typography-heading-4);\n\n &.placeholder {\n color: var(--lok-color-text-disabled);\n }\n}\n\n.statusTag {\n color: var(--lok-color-text-success);\n background-color: var(--lok-color-background-success);\n border: none;\n\n height: 100%;\n padding: var(--lok-spacing-1) var(--lok-spacing-2);\n}\n\n.integrationIconContainer {\n display: flex;\n align-items: center;\n background-color: var(--lok-color-background-surface-fore);\n border-radius: var(--lok-radius-tag);\n padding: var(--lok-spacing-1) var(--lok-spacing-2);\n}\n"],sourceRoot:""}]),i.locals={outerContainer:"XWgNIBV8SL9_YW_P",borderWrapper:"pWOgeIFL71QEubsE",container:"xs64TPEyy4qKV6_e",icon:"RG8i_eycAvlNcbYj",target:"FGngKWW_S50GAwjn",projects:"qxtYX4D9FMYZzbHo",projectsContainer:"wwqVk4q4zXw_JjRZ",projectsTag:"FMqupTC5ECgCCIf4",warning:"EtsIZU2n3W4N0hPe",titleContainer:"wdvRZq_FGeYPjehu",title:"lrYptlxhok0jDBbz",placeholder:"pj9IKS_hMaK0lnSP",statusTag:"q3mqaD2PiQFiNJuL",integrationIconContainer:"oFJwfT7yGLMao9cD"};let s=i},27010(e,n,a){a.d(n,{A:()=>s});var t=a(71354),o=a.n(t),l=a(76314),i=a.n(l)()(o());i.push([e.id,`.YegNGQdoxj0F_3lO { 466 display: flex; 467 flex-direction: column; 468 gap: var(--lok-spacing-4); 469 padding: var(--lok-spacing-2); 470 border: 1px solid var(--lok-color-border-light); 471 border-radius: var(--lok-radius-l); 472} 473 474.xUxLnVD8hMrr5BD_ { 475 color: var(--lok-color-text-disabled); 476 font: var(--lok-typography-body-tiny-default); 477} 478 479.pL_uaq83AsIM68ZH { 480 color: var(--lok-color-text-light-default); 481 font: var(--lok-typography-body-caption-default); 482} 483 484.LZZT1jnbKcVGnCbV { 485 background-color: var(--lok-color-background-surface-default); 486} 487`,"",{version:3,sources:["webpack://./packages/rag/src/components/KeysForLanguage/components/Card/Card.module.css"],names:[],mappings:"AAAA;CACC,aAAa;CACb,sBAAsB;CACtB,yBAAyB;CACzB,6BAA6B;CAC7B,+CAA+C;CAC/C,kCAAkC;AACnC;;AAEA;CACC,qCAAqC;CACrC,6CAA6C;AAC9C;;AAEA;
487CACC,0CAA0C;CAC1C,gDAAgD;AACjD;;AAEA;CACC,6DAA6D;AAC9D",sourcesContent:[".card {\n display: flex;\n flex-direction: column;\n gap: var(--lok-spacing-4);\n padding: var(--lok-spacing-2);\n border: 1px solid var(--lok-color-border-light);\n border-radius: var(--lok-radius-l);\n}\n\n.cardTitle {\n color: var(--lok-color-text-disabled);\n font: var(--lok-typography-body-tiny-default);\n}\n\n.cardContents {\n color: var(--lok-color-text-light-default);\n font: var(--lok-typography-body-caption-default);\n}\n\n.highlight {\n background-color: var(--lok-color-background-surface-default);\n}\n"],sourceRoot:""}]),i.locals={card:"YegNGQdoxj0F_3lO",cardTitle:"xUxLnVD8hMrr5BD_",cardContents:"pL_uaq83AsIM68ZH",highlight:"LZZT1jnbKcVGnCbV"};let s=i},9832(e,n,a){a.d(n,{A:()=>s});var t=a(71354),o=a.n(t),l=a(76314),i=a.n(l)()(o());i.push([e.id,`.DZB90Bg8m8s9YvpC { 488 color: var(--lok-color-text-light-default); 489 border-color: var(--lok-color-border-light); 490 font: var(--lok-typography-body-caption-default); 491} 492 493/* HACK: Adjust padding of th/td elements to avoid scroll-bar obscuring contents */ 494.f8dAViU7yEm16MaL { 495 padding-inline-start: var(--lok-spacing-3); 496} 497 498.Mp_KbEl0wrs6LWgs { 499 padding-inline-end: var(--lok-spacing-3); 500} 501`,"",{version:3,sources:["webpack://./packages/rag/src/components/KeysForLanguage/components/TmTargetLanguagesView/TmTargetLanguagesView.module.css"],names:[],mappings:"AAAA;CACC,0CAA0C;CAC1C,2CAA2C;CAC3C,gDAAgD;AACjD;;AAEA,kFAAkF;AAClF;CACC,0CAA0C;AAC3C;;AAEA;CACC,wCAAwC;AACzC",sourcesContent:[".cell {\n color: var(--lok-color-text-light-default);\n border-color: var(--lok-color-border-light);\n font: var(--lok-typography-body-caption-default);\n}\n\n/* HACK: Adjust padding of th/td elements to avoid scroll-bar obscuring contents */\n.cellLeft {\n padding-inline-start: var(--lok-spacing-3);\n}\n\n.cellRight {\n padding-inline-end: var(--lok-spacing-3);\n}\n"],sourceRoot:""}]),i.locals={cell:"DZB90Bg8m8s9YvpC",cellLeft:"f8dAViU7yEm16MaL",cellRight:"Mp_KbEl0wrs6LWgs"};let s=i},12287(e,n,a){a.d(n,{A:()=>s});var t=a(71354),o=a.n(t),l=a(76314),i=a.n(l)()(o());i.push([e.id,`.Wtw2H_q5pL8Azdnz { 502 display: flex; 503 flex-direction: column; 504 gap: var(--lok-spacing-5); 505 flex: 1; 506} 507 508.eQis1bQ09kZTny1v { 509 display: flex; 510 justify-content: center; 511 flex-direction: column; 512 gap: var(--lok-spacing-8); 513 514 container-type: inline-size; 515} 516 517.YYV8q1bs4srYwntp { 518 display: grid; 519 gap: var(--lok-spacing-5); 520 grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); 521 align-content: start; 522 width: 100%; 523 524 &.geGVomLFurQNNRKi > * { 525 max-width: 50%; 526 } 527} 528 529.dmj81PBBIADDEQ6w { 530 display: flex; 531 flex-direction: row; 532 align-items: center; 533 gap: var(--lok-spacing-2); 534 535 font: var(--lok-typography-body-small-default); 536 /* total of spacing-7 on top and bottom, taking into account the flex gap with sibling */ 537 padding-block: var(--lok-spacing-3) var(--lok-spacing-7); 538 539 & a { 540 text-decoration: underline; 541 color: var(--lok-color-text-light-default); 542 } 543 544 & a:hover { 545 color: var(--lok-color-text-default); 546 } 547} 548`,"",{version:3,sources:["webpack://./packages/rag/src/components/LandingPage/LandingPage.module.css"],names:[],mappings:"AAAA;CACC,aAAa;CACb,sBAAsB;CACtB,yBAAyB;CACzB,OAAO;AACR;;AAEA;CACC,aAAa;CACb,uBAAuB;IACpB,sBAAsB;IACtB,yBAAyB;;CAE5B,2BAA2B;AAC5B;;AAEA;CACC,aAAa;CACb,yBAAyB;CACzB,2DAA2D;CAC3D,oBAAoB;CACpB,WAAW;;IAER;QACI,cAAc;IAClB;AACJ;;AAEA;CACC,aAAa;CACb,mBAAmB;CACnB,mBAAmB;CACnB,yBAAyB;;CAEzB,8CAA8C;CAC9C,wFAAwF;CACxF,wDAAwD;;CAExD;EACC,0BAA0B;EAC1B,0CAA0C;CAC3C;;CAEA;EACC,oCAAoC;CACrC;AACD",sourcesContent:[".container {\n display: flex;\n flex-direction: column;\n gap: var(--lok-spacing-5);\n flex: 1;\n}\n\n.cardsContainer {\n display: flex;\n justify-content: center;\n flex-direction: column;\n gap: var(--lok-spacing-8);\n\n container-type: inline-size;\n}\n\n.contents {\n display: grid;\n gap: var(--lok-spacing-5);\n grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));\n align-content: start;\n width: 100%;\n\n &.singleCard > * {\n max-width: 50%;\n }\n}\n\n.disclaimer {\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: var(--lok-spacing-2);\n\n font: var(--lok-typography-body-small-default);\n /* total of spacing-7 on top and bottom, taking into account the flex gap with sibling */\n padding-block: var(--lok-spacing-3) var(--lok-spacing-7);\n\n & a {\n text-decoration: underline;\n color: var(--lok-color-text-light-default);\n }\n\n & a:hover {\n color: var(--lok-color-text-default);\n }\n}\n"],sourceRoot:""}]),i.locals={container:"Wtw2H_q5pL8Azdnz",cardsContainer:"eQis1bQ09kZTny1v",contents:"YYV8q1bs4srYwntp",singleCard:"geGVomLFurQNNRKi",disclaimer:"dm
548j81PBBIADDEQ6w"};let s=i},27034(e,n,a){a.d(n,{A:()=>s});var t=a(71354),o=a.n(t),l=a(76314),i=a.n(l)()(o());i.push([e.id,`.pYWKnF0xsr8vqKIR { 549 display: flex; 550 align-items: center; 551 justify-content: space-around; 552 553 overflow: hidden; 554 width: 100%; 555 padding: var(--lok-spacing-9) var(--lok-spacing-10); 556 background-color: var(--lok-color-background-surface-middle); 557 gap: var(--lok-spacing-12); 558 559 container-type: inline-size; 560} 561 562.VeKeWjQ1w_Izr9n_ { 563 display: flex; 564 flex-direction: column; 565 gap: var(--lok-spacing-2); 566 height: 100%; 567 max-width: 350px; 568} 569 570.RKCYa1oRg8qUvc46 { 571 font: var(--lok-typography-heading-3); 572} 573 574.ow4nbWr4zAvQ6vNA { 575 font: var(--lok-typography-body-tiny-default); 576} 577 578.mItKpcZW4MCDUQqX { 579 color: var(--lok-color-text-success); 580 font: var(--lok-typography-body-small-default); 581} 582 583.kdSe5IRLibUqNaQV { 584 color: var(--lok-color-text-link-default); 585 font: var(--lok-typography-body-small-default); 586} 587 588.h_8MHAVg66QwdYi5 { 589 display: flex; 590 flex-direction: column; 591 gap: var(--lok-spacing-2); 592 max-width: 240px; 593} 594 595.F_KYBflxhw8wQNvH { 596 color: var(--lok-color-text-disabled); 597 font: var(--lok-typography-body-tiny-default); 598} 599 600.wpXCdHcvKi8E11sY.wpXCdHcvKi8E11sY { 601 background-color: var(--lok-color-background-surface-default); 602 box-shadow: 0px 10px 20px 2px #26262605, 603 0px 8px 16px 0px #2626260A, 604 0px 4px 6px 0px #2626260A, 605 0px 0px 2px 0px #2626261A; 606} 607 608@container (width < 860px) { 609 .cfPT6_UmhdwuMeZT { 610 display: none; 611 } 612}`,"",{version:3,sources:["webpack://./packages/rag/src/components/LandingPageBanner/components/BannerComponents.module.css"],names:[],mappings:"AAAA;IACI,aAAa;IACb,mBAAmB;IACnB,6BAA6B;;IAE7B,gBAAgB;IAChB,WAAW;IACX,mDAAmD;IACnD,4DAA4D;IAC5D,0BAA0B;;IAE1B,2BAA2B;AAC/B;;AAEA;IACI,aAAa;IACb,sBAAsB;IACtB,yBAAyB;IACzB,YAAY;IACZ,gBAAgB;AACpB;;AAEA;IACI,qCAAqC;AACzC;;AAEA;IACI,6CAA6C;AACjD;;AAEA;IACI,oCAAoC;IACpC,8CAA8C;AAClD;;AAEA;IACI,yCAAyC;IACzC,8CAA8C;AAClD;;AAEA;IACI,aAAa;IACb,sBAAsB;IACtB,yBAAyB;IACzB,gBAAgB;AACpB;;AAEA;IACI,qCAAqC;IACrC,6CAA6C;AACjD;;AAEA;IACI,6DAA6D;IAC7D;;;iCAG6B;AACjC;;AAEA;IACI;QACI,aAAa;IACjB;AACJ",sourcesContent:[".container {\n display: flex;\n align-items: center;\n justify-content: space-around;\n\n overflow: hidden;\n width: 100%;\n padding: var(--lok-spacing-9) var(--lok-spacing-10);\n background-color: var(--lok-color-background-surface-middle);\n gap: var(--lok-spacing-12);\n\n container-type: inline-size;\n}\n\n.textContainer {\n display: flex;\n flex-direction: column;\n gap: var(--lok-spacing-2);\n height: 100%;\n max-width: 350px;\n}\n\n.header {\n font: var(--lok-typography-heading-3);\n}\n\n.body {\n font: var(--lok-typography-body-tiny-default);\n}\n\n.subHeader {\n color: var(--lok-color-text-success);\n font: var(--lok-typography-body-small-default);\n}\n\n.subHeader_blue {\n color: var(--lok-color-text-link-default);\n font: var(--lok-typography-body-small-default);\n}\n\n.ctaContainer {\n display: flex;\n flex-direction: column;\n gap: var(--lok-spacing-2);\n max-width: 240px;\n}\n\n.ctaSubText {\n color: var(--lok-color-text-disabled);\n font: var(--lok-typography-body-tiny-default);\n}\n\n.secondaryButton.secondaryButton {\n background-color: var(--lok-color-background-surface-default);\n box-shadow: 0px 10px 20px 2px #26262605,\n 0px 8px 16px 0px #2626260A,\n 0px 4px 6px 0px #2626260A,\n 0px 0px 2px 0px #2626261A;\n}\n\n@container (width < 860px) {\n .hideableContainer {\n display: none;\n }\n}"],sourceRoot:""}]),i.locals={container:"pYWKnF0xsr8vqKIR",textContainer:"VeKeWjQ1w_Izr9n_",header:"RKCYa1oRg8qUvc46",body:"ow4nbWr4zAvQ6vNA",subHeader:"mItKpcZW4MCDUQqX",subHeader_blue:"kdSe5IRLibUqNaQV",ctaContainer:"h_8MHAVg66QwdYi5",ctaSubText:"F_KYBflxhw8wQNvH",secondaryButton:"wpXCdHcvKi8E11sY",hideableContainer:"cfPT6_UmhdwuMeZT"};let s=i},85379(e,n,a){a.d(n,{A:()=>s});var t=a(71354),o=a.n(t),l=a(76314),i=a.n(l)()(o());i.push([e.id,`.bKH7ba9Y3AErDXUt { 613 color: var(--lok-color-text-disabled); 614 font: var(--lok-typography-body-caption-default); 615 text-align: center; 616} 617 618.P7CzHRcVQSU0bwc0 { 619 font: var(--lok-typography-body-caption-default); 620} 621 622._v0a_n130Hwg14xi { 623 position: relative; 624} 625
626/* Shrinks the full EvaluationMetricsTable down into a small preview for the upsell. */ 627.O6SqyC8QsQbArOMR { 628 display: flex; 629 align-items: center; 630 justify-content: center; 631 position: relative; 632 width: 250px; 633 height: 165px; 634 635 td { 636 font-size: 10px !important; 637 padding: 7px 6px 7px 5px; 638 } 639 640 th { 641 font-size: 10px !important; 642 padding: 7px 40px; 643 background-color: var(--lok-color-background-surface-default); 644 } 645 646 svg { 647 width: 7px; 648 } 649} 650 651.EtXhvbcxEM8B6PPE { 652 display: flex; 653 flex-direction: column; 654 align-items: flex-end; 655 656 position: absolute; 657 top: -20px; 658 left: -35px; 659} 660 661.V9_NgJ5XA4oe4Ufk { 662 display: flex; 663 align-items: center; 664 justify-content: center; 665 gap: var(--lok-spacing-1); 666 667 background-color: var(--lok-color-background-input-default); 668 border: 1px solid var(--lok-color-border-default); 669 border-radius: var(--lok-radius-button-default); 670 padding: var(--lok-spacing-2) var(--lok-spacing-3); 671 width: 95px; 672 673 box-shadow: 0px 10px 20px 2px #26262605, 674 0px 8px 16px 0px #2626260A, 675 0px 4px 6px 0px #2626260A, 676 0px 0px 2px 0px #2626261A; 677 678 img { 679 width: 50%; 680 } 681} 682 683.JdJQ2hzRvxYI0wRh { 684 position: absolute; 685 width: 650px; 686 right: -425px; 687 border-radius: var(--lok-radius-l); 688 box-shadow: 0px 10px 20px 2px #26262605, 689 0px 8px 16px 0px #2626260A, 690 0px 4px 6px 0px #2626260A, 691 0px 0px 2px 0px #2626261A; 692} 693`,"",{version:3,sources:["webpack://./packages/rag/src/components/LandingPageBanner/components/EvalsBanner.module.css"],names:[],mappings:"AAAA;IACI,qCAAqC;IACrC,gDAAgD;IAChD,kBAAkB;AACtB;;AAEA;IACI,gDAAgD;AACpD;;AAEA;IACI,kBAAkB;AACtB;;AAEA,sFAAsF;AACtF;IACI,aAAa;IACb,mBAAmB;IACnB,uBAAuB;IACvB,kBAAkB;IAClB,YAAY;IACZ,aAAa;;IAEb;QACI,0BAA0B;QAC1B,wBAAwB;IAC5B;;IAEA;QACI,0BAA0B;QAC1B,iBAAiB;QACjB,6DAA6D;IACjE;;IAEA;QACI,UAAU;IACd;AACJ;;AAEA;IACI,aAAa;IACb,sBAAsB;IACtB,qBAAqB;;IAErB,kBAAkB;IAClB,UAAU;IACV,WAAW;AACf;;AAEA;IACI,aAAa;IACb,mBAAmB;IACnB,uBAAuB;IACvB,yBAAyB;;IAEzB,2DAA2D;IAC3D,iDAAiD;IACjD,+CAA+C;IAC/C,kDAAkD;IAClD,WAAW;;IAEX;;;qCAGiC;;IAEjC;QACI,UAAU;IACd;AACJ;;AAEA;IACI,kBAAkB;IAClB,YAAY;IACZ,aAAa;IACb,kCAAkC;IAClC;;;yCAGqC;AACzC",sourcesContent:[".subText {\n color: var(--lok-color-text-disabled);\n font: var(--lok-typography-body-caption-default);\n text-align: center;\n}\n\n.bodyText {\n font: var(--lok-typography-body-caption-default);\n}\n\n.ctaContainer {\n position: relative;\n}\n\n/* Shrinks the full EvaluationMetricsTable down into a small preview for the upsell. */\n.tableContainer {\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n width: 250px;\n height: 165px;\n\n td {\n font-size: 10px !important;\n padding: 7px 6px 7px 5px;\n }\n\n th {\n font-size: 10px !important;\n padding: 7px 40px;\n background-color: var(--lok-color-background-surface-default);\n }\n\n svg {\n width: 7px;\n }\n}\n\n.fakeButtonContainer {\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n\n position: absolute;\n top: -20px;\n left: -35px;\n}\n\n.fakeButton {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: var(--lok-spacing-1);\n\n background-color: var(--lok-color-background-input-default);\n border: 1px solid var(--lok-color-border-default);\n border-radius: var(--lok-radius-button-default);\n padding: var(--lok-spacing-2) var(--lok-spacing-3);\n width: 95px;\n\n box-shadow: 0px 10px 20px 2px #26262605,\n 0px 8px 16px 0px #2626260A,\n 0px 4px 6px 0px #2626260A,\n 0px 0px 2px 0px #2626261A;\n\n img {\n width: 50%;\n }\n}\n\n.tableInner {\n position: absolute;\n width: 650px;\n right: -425px;\n border-radius: var(--lok-radius-l);\n box-shadow: 0px 10px 20px 2px #26262605,\n 0px 8px 16px 0px #2626260A,\n 0px 4px 6px 0px #2626260A,\n 0px 0px 2px 0px #2626261A;\n}\n"],sourceRoot:""}]),i.locals={subText:"bKH7ba9Y3AErDXUt",bodyText:"P7CzHRcVQSU0bwc0",ctaContainer:"_v0a_n130Hwg14xi",tableContainer:"O6SqyC8QsQbArOMR",fakeButtonContainer:"EtXhvbcxEM8B6PPE",fakeButton:"V9_NgJ5XA4oe4Ufk",tableInner:"JdJQ2hzRvxYI0wRh"};let s=i},68553(e,n,a){a.d(n,{A:()=>s});var t=a(71354),o=a.n(t),l=a(76314),i=a.n(l)()(o());
693i.push([e.id,`.yO8u7Foo6VI4rlqh { 694 width: 750px; 695} 696 697.UbLSIoNlTYE0INd9 { 698 border: 1px solid var(--lok-color-border-default); 699} 700`,"",{version:3,sources:["webpack://./packages/rag/src/components/OverrideStep/OverrideStep.module.css"],names:[],mappings:"AAAA;CACC,YAAY;AACb;;AAEA;CACC,iDAAiD;AAClD",sourcesContent:[".container {\n width: 750px;\n}\n\n.table {\n border: 1px solid var(--lok-color-border-default);\n}\n"],sourceRoot:""}]),i.locals={container:"yO8u7Foo6VI4rlqh",table:"UbLSIoNlTYE0INd9"};let s=i},41607(e,n,a){a.d(n,{A:()=>C});var t=a(71354),o=a.n(t),l=a(76314),i=a.n(l),s=a(4417),r=a.n(s),c=new URL(a(79494),a.b),d=i()(o()),A=r()(c);d.push([e.id,`.qhpDtNvkYCkEd31X { 701 background: url(${A}) no-repeat center center; 702 background-size: contain; 703 aspect-ratio: 1; 704 width: 255px; 705} 706 707.TnYoTZR6z02SOMhw { 708 display: flex; 709 align-items: center; 710 justify-content: center; 711 gap: var(--lok-spacing-1); 712 height: 100%; 713 padding: 58px 20px 38px 42px; 714} 715 716.gj9tthU1jccxOO4g { 717 display: flex; 718 flex-direction: column; 719 height: 100%; 720} 721 722.idXIlO7zPKAdoM7A { 723 display: flex; 724 align-items: center; 725 justify-content: center; 726 gap: var(--lok-spacing-1); 727 height: 100%; 728} 729 730.rFgXlrU_sK8B9MgU, .hUoMEGsmGTUnYcI_ { 731 font-size: 24px; 732 font-weight: bold; 733 line-height: 1; 734 color: var(--lok-color-text-success); 735} 736 737.hUoMEGsmGTUnYcI_ { 738 align-self: end; 739} 740 741._JL56LvECOQ2QGIK { 742 font-size: 110px; 743 font-weight: bold; 744 line-height: .85; 745 color: var(--lok-color-text-success); 746} 747 748.sNbD5bthoCwylMYz { 749 font-size: 32px; 750 font-weight: bold; 751 line-height: 1; 752 color: var(--lok-color-text-success); 753} 754 755.iVZBk0buAzEl0wjU { 756 display: flex; 757 align-items: center; 758 justify-content: center; 759 height: 100%; 760 padding: 44px 30px 56px 40px; 761} 762 763.CYuh5JQ8QKPPAaUJ { 764 display: flex; 765 align-items: center; 766 height: 100%; 767} 768 769.ZsmvEPjGN2UovBc_ { 770 font-size: 144px; 771 line-height: 1; 772 font-weight: bold; 773 color: var(--lok-color-text-success); 774} 775 776.kKeONskTtQ5eIQU6 { 777 display: flex; 778 flex-direction: column; 779 align-items: flex-start; 780 padding-top: 21px; 781} 782 783.gBr2dK3cqSAmYrCV { 784 max-width: 72px; 785 font-size: 16px; 786 line-height: 1.15; 787 font-weight: bold; 788 color: var(--lok-color-text-success); 789} 790 791.uIkAEN9buWEN1VTE { 792 font-size: 48px; 793 line-height: 1; 794 font-weight: bold; 795 color: var(--lok-color-text-success); 796} 797`,"",{version:3,sources:["webpack://./packages/rag/src/components/RadialDial/RadialDial.module.css"],names:[],mappings:"AAAA;IACI,2EAAsE;IACtE,wBAAwB;IACxB,eAAe;IACf,YAAY;AAChB;;AAEA;IACI,aAAa;IACb,mBAAmB;IACnB,uBAAuB;IACvB,yBAAyB;IACzB,YAAY;IACZ,4BAA4B;AAChC;;AAEA;IACI,aAAa;IACb,sBAAsB;IACtB,YAAY;AAChB;;AAEA;IACI,aAAa;IACb,mBAAmB;IACnB,uBAAuB;IACvB,yBAAyB;IACzB,YAAY;AAChB;;AAEA;IACI,eAAe;IACf,iBAAiB;IACjB,cAAc;IACd,oCAAoC;AACxC;;AAEA;IACI,eAAe;AACnB;;AAEA;IACI,gBAAgB;IAChB,iBAAiB;IACjB,gBAAgB;IAChB,oCAAoC;AACxC;;AAEA;IACI,eAAe;IACf,iBAAiB;IACjB,cAAc;IACd,oCAAoC;AACxC;;AAEA;IACI,aAAa;IACb,mBAAmB;IACnB,uBAAuB;IACvB,YAAY;IACZ,4BAA4B;AAChC;;AAEA;IACI,aAAa;IACb,mBAAmB;IACnB,YAAY;AAChB;;AAEA;IACI,gBAAgB;IAChB,cAAc;IACd,iBAAiB;IACjB,oCAAoC;AACxC;;AAEA;IACI,aAAa;IACb,sBAAsB;IACtB,uBAAuB;IACvB,iBAAiB;AACrB;;AAEA;IACI,eAAe;IACf,eAAe;IACf,iBAAiB;IACjB,iBAAiB;IACjB,oCAAoC;AACxC;;AAEA;IACI,eAAe;IACf,cAAc;IACd,iBAAiB;IACjB,oCAAoC;AACxC",sourcesContent:[".container {\n background: url('../../assets/radialDial.svg') no-repeat center center;\n background-size: contain;\n aspect-ratio: 1;\n width: 255px;\n}\n\n.variant1__container {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: var(--lok-spacing-1);\n height: 100%;\n padding: 58px 20px 38px 42px;\n}\n\n.variant1__containerInner {\n display: flex;\n flex-direction: column;\n height: 100%;\n}\n\n.upToContainer {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: var(--lok-spacing-1);\n height: 100%;\n}\n\n.upTo, .lessEdits {\n font-size: 24px;\n font-weight: bold;\n line-height: 1;\n color: var(--lok-color-text-success);\n}
797\n\n.lessEdits {\n align-self: end;\n}\n\n.bigText {\n font-size: 110px;\n font-weight: bold;\n line-height: .85;\n color: var(--lok-color-text-success);\n}\n\n.percentage {\n font-size: 32px;\n font-weight: bold;\n line-height: 1;\n color: var(--lok-color-text-success);\n}\n\n.variant2__container {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100%;\n padding: 44px 30px 56px 40px;\n}\n\n.variant2__innerContainer {\n display: flex;\n align-items: center;\n height: 100%;\n}\n\n.variant2__number {\n font-size: 144px;\n line-height: 1;\n font-weight: bold;\n color: var(--lok-color-text-success);\n}\n\n.variant2__right {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding-top: 21px;\n}\n\n.variant2__text {\n max-width: 72px;\n font-size: 16px;\n line-height: 1.15;\n font-weight: bold;\n color: var(--lok-color-text-success);\n}\n\n.variant2__decimal {\n font-size: 48px;\n line-height: 1;\n font-weight: bold;\n color: var(--lok-color-text-success);\n}\n"],sourceRoot:""}]),d.locals={container:"qhpDtNvkYCkEd31X",variant1__container:"TnYoTZR6z02SOMhw",variant1__containerInner:"gj9tthU1jccxOO4g",upToContainer:"idXIlO7zPKAdoM7A",upTo:"rFgXlrU_sK8B9MgU",lessEdits:"hUoMEGsmGTUnYcI_",bigText:"_JL56LvECOQ2QGIK",percentage:"sNbD5bthoCwylMYz",variant2__container:"iVZBk0buAzEl0wjU",variant2__innerContainer:"CYuh5JQ8QKPPAaUJ",variant2__number:"ZsmvEPjGN2UovBc_",variant2__right:"kKeONskTtQ5eIQU6",variant2__text:"gBr2dK3cqSAmYrCV",variant2__decimal:"uIkAEN9buWEN1VTE"};let C=d},52249(e,n,a){a.d(n,{A:()=>s});var t=a(71354),o=a.n(t),l=a(76314),i=a.n(l)()(o());i.push([e.id,`.q75caQFkGHgoxdMk { 798 display: flex; 799 gap: var(--lok-spacing-7); 800 padding: var(--lok-spacing-7); 801} 802 803.BVc_Eh0Ty2k_vSPL { 804 display: flex; 805 flex-direction: column; 806 gap: var(--lok-spacing-6); 807 flex: 1; 808} 809 810.Xp1eN7zzigcc_eVh { 811 display: flex; 812 flex-direction: column; 813 gap: var(--lok-spacing-4); 814} 815 816.swWIjXp63JI1F3oo { 817 font: var(--lok-typography-heading-3); 818 font-family: var(--lok-font-family-inter); 819} 820 821._2Z1GwAfS_QavHFZ { 822 font: var(--lok-typography-body-small-default); 823 font-family: var(--lok-font-family-inter); 824} 825 826.fCX4XNQTaUcXOPRh { 827 display: flex; 828 align-items: flex-end; 829 justify-content: flex-end; 830 gap: var(--lok-spacing-3); 831 height: 100%; 832} 833 834.GWHxM9f5U_Y_rOrN { 835 display: flex; 836 flex-direction: column; 837 gap: var(--lok-spacing-2); 838} 839 840.mKeJBqibEU0pyncC { 841 width: 500px; 842 min-height: 538px; 843} 844`,"",{version:3,sources:["webpack://./packages/rag/src/components/Step/Step.module.css"],names:[],mappings:"AAAA;CACC,aAAa;CACb,yBAAyB;CACzB,6BAA6B;AAC9B;;AAEA;CACC,aAAa;CACb,sBAAsB;CACtB,yBAAyB;CACzB,OAAO;AACR;;AAEA;CACC,aAAa;CACb,sBAAsB;CACtB,yBAAyB;AAC1B;;AAEA;CACC,qCAAqC;CACrC,yCAAyC;AAC1C;;AAEA;CACC,8CAA8C;CAC9C,yCAAyC;AAC1C;;AAEA;CACC,aAAa;CACb,qBAAqB;CACrB,yBAAyB;CACzB,yBAAyB;CACzB,YAAY;AACb;;AAEA;CACC,aAAa;CACb,sBAAsB;CACtB,yBAAyB;AAC1B;;AAEA;CACC,YAAY;CACZ,iBAAiB;AAClB",sourcesContent:[".container {\n display: flex;\n gap: var(--lok-spacing-7);\n padding: var(--lok-spacing-7);\n}\n\n.contents {\n display: flex;\n flex-direction: column;\n gap: var(--lok-spacing-6);\n flex: 1;\n}\n\n.titleContainer {\n display: flex;\n flex-direction: column;\n gap: var(--lok-spacing-4);\n}\n\n.title {\n font: var(--lok-typography-heading-3);\n font-family: var(--lok-font-family-inter);\n}\n\n.subtitle {\n font: var(--lok-typography-body-small-default);\n font-family: var(--lok-font-family-inter);\n}\n\n.footer {\n display: flex;\n align-items: flex-end;\n justify-content: flex-end;\n gap: var(--lok-spacing-3);\n height: 100%;\n}\n\n.controlsContainer {\n display: flex;\n flex-direction: column;\n gap: var(--lok-spacing-2);\n}\n\n.rsp {\n width: 500px;\n min-height: 538px;\n}\n"],sourceRoot:""}]),i.locals={container:"q75caQFkGHgoxdMk",contents:"BVc_Eh0Ty2k_vSPL",titleContainer:"Xp1eN7zzigcc_eVh",title:"swWIjXp63JI1F3oo",subtitle:"_2Z1GwAfS_QavHFZ",footer:"fCX4XNQTaUcXOPRh",controlsContainer:"GWHxM9f5U_Y_rOrN",rsp:"mKeJBqibEU0pyncC"};let s=i},86007(e,n,a){a.d(n,{A:()=>s});var t=a(71354),o=a.n(t),l=a(76314),i=a.n(l)()(o());
844i.push([e.id,`.ZizAiqjB7KMrnE_X.ZizAiqjB7KMrnE_X { 845 text-decoration: underline; 846 color: var(--lok-color-text-default); 847} 848`,"",{version:3,sources:["webpack://./packages/rag/src/components/StyledLink/StyledLink.module.css"],names:[],mappings:"AAAA;CACC,0BAA0B;CAC1B,oCAAoC;AACrC",sourcesContent:[".link.link {\n text-decoration: underline;\n color: var(--lok-color-text-default);\n}\n"],sourceRoot:""}]),i.locals={link:"ZizAiqjB7KMrnE_X"};let s=i},88223(e,n,a){a.d(n,{A:()=>s});var t=a(71354),o=a.n(t),l=a(76314),i=a.n(l)()(o());i.push([e.id,`.h0OaaCMtqg8rceql { 849 white-space: pre; 850 text-wrap: initial; 851} 852 853.AnNufeEJdo0hZAOT { 854 max-width: 1070px; 855 width: fit-content; 856} 857`,"",{version:3,sources:["webpack://./packages/rag/src/components/UserCreatedProfileModal/UserCreatedProfileModal.module.css"],names:[],mappings:"AAAA;CACC,gBAAgB;CAChB,kBAAkB;AACnB;;AAEA;CACC,iBAAiB;CACjB,kBAAkB;AACnB",sourcesContent:[".toast {\n white-space: pre;\n text-wrap: initial;\n}\n\n.modal {\n max-width: 1070px;\n width: fit-content;\n}\n"],sourceRoot:""}]),i.locals={toast:"h0OaaCMtqg8rceql",modal:"AnNufeEJdo0hZAOT"};let s=i},4198(e,n,a){a.d(n,{A:()=>s});var t=a(71354),o=a.n(t),l=a(76314),i=a.n(l)()(o());i.push([e.id,`.LCyEEhZPQzUOTINj.LCyEEhZPQzUOTINj { 858 max-width: 315px; 859 text-align: center; 860 font-family: var(--lok-font-family-inter); 861} 862 863.YBrKxgkYCnoRMbvz { 864 font: var(--lok-typography-body-small-strong); 865 font-family: var(--lok-font-family-inter); 866} 867 868.bARaVtclAukhaoPn {
869 display: flex; 870 align-items: center; 871 gap: var(--lok-spacing-1); 872 873 color: var(--lok-color-text-warning); 874 font: var(--lok-typography-body-tiny-default); 875 font-family: var(--lok-font-family-inter); 876 877 > span { 878 flex: 1; 879 } 880} 881`,"",{version:3,sources:["webpack://./packages/rag/src/components/UserCreatedProfileModal/components/DataSourceStep/DataSourceStep.module.css"],names:[],mappings:"AAAA;CACC,gBAAgB;CAChB,kBAAkB;CAClB,yCAAyC;AAC1C;;AAEA;CACC,6CAA6C;CAC7C,yCAAyC;AAC1C;;AAEA;CACC,aAAa;CACb,mBAAmB;CACnB,yBAAyB;;CAEzB,oCAAoC;CACpC,6CAA6C;CAC7C,yCAAyC;;CAEzC;EACC,OAAO;CACR;AACD",sourcesContent:[".tooltip.tooltip {\n max-width: 315px;\n text-align: center;\n font-family: var(--lok-font-family-inter);\n}\n\n.heading {\n font: var(--lok-typography-body-small-strong);\n font-family: var(--lok-font-family-inter);\n}\n\n.warning {\n display: flex;\n align-items: center;\n gap: var(--lok-spacing-1);\n\n color: var(--lok-color-text-warning);\n font: var(--lok-typography-body-tiny-default);\n font-family: var(--lok-font-family-inter);\n\n > span {\n flex: 1;\n }\n}\n"],sourceRoot:""}]),i.locals={tooltip:"LCyEEhZPQzUOTINj",heading:"YBrKxgkYCnoRMbvz",warning:"bARaVtclAukhaoPn"};let s=i},36277(e,n,a){a.d(n,{A:()=>s});var t=a(71354),o=a.n(t),l=a(76314),i=a.n(l)()(o());i.push([e.id,`.QY1bSPoVoHZpKJP0 { 882 font: var(--lok-typography-body-small-strong); 883 font-family: var(--lok-font-family-inter); 884} 885`,"",{version:3,sources:["webpack://./packages/rag/src/components/UserCreatedProfileModal/components/DataSourceStep/components/DataSource.module.css"],names:[],mappings:"AAAA;CACC,6CAA6C;CAC7C,yCAAyC;AAC1C",sourcesContent:[".heading {\n font: var(--lok-typography-body-small-strong);\n font-family: var(--lok-font-family-inter);\n}\n"],sourceRoot:""}]),i.locals={heading:"QY1bSPoVoHZpKJP0"};let s=i},66010(e,n,a){a.d(n,{A:()=>s});var t=a(71354),o=a.n(t),l=a(76314),i=a.n(l)()(o());i.push([e.id,`.WIV14MfQbHgr9QGP { 886 font: var(--lok-typography-body-small-strong); 887 font-family: var(--lok-font-family-inter); 888} 889`,"",{version:3,sources:["webpack://./packages/rag/src/components/UserCreatedProfileModal/components/OverviewStep/OverviewStep.module.css"],names:[],mappings:"AAAA;CACC,6CAA6C;CAC7C,yCAAyC;AAC1C",sourcesContent:[".heading {\n font: var(--lok-typography-body-small-strong);\n font-family: var(--lok-font-family-inter);\n}\n"],sourceRoot:""}]),i.locals={heading:"WIV14MfQbHgr9QGP"};let s=i},26148(e,n,a){a.d(n,{A:()=>s});var t=a(71354),o=a.n(t),l=a(76314),i=a.n(l)()(o());i.push([e.id,`.GAgkewqKOTczq16C { 890 font: var(--lok-typography-body-small-strong); 891 font-family: var(--lok-font-family-inter); 892} 893 894.pwC7JvBxzFQwjBLI { 895 display: flex; 896 align-items: center; 897 gap: var(--lok-spacing-1); 898 899 color: var(--lok-color-text-warning); 900 font: var(--lok-typography-body-tiny-default); 901 font-family: var(--lok-font-family-inter); 902 903 > span { 904 flex: 1; 905 } 906} 907`,"",{version:3,sources:["webpack://./packages/rag/src/components/UserCreatedProfileModal/components/ProfileBasicsStep/ProfileBasics.module.css"],names:[],mappings:"AAAA;CACC,6CAA6C;CAC7C,yCAAyC;AAC1C;;AAEA;CACC,aAAa;CACb,mBAAmB;CACnB,yBAAyB;;CAEzB,oCAAoC;CACpC,6CAA6C;CAC7C,yCAAyC;;CAEzC;EACC,OAAO;CACR;AACD",sourcesContent:[".heading {\n font: var(--lok-typography-body-small-strong);\n font-family: var(--lok-font-family-inter);\n}\n\n.warning {\n display: flex;\n align-items: center;\n gap: var(--lok-spacing-1);\n\n color: var(--lok-color-text-warning);\n font: var(--lok-typography-body-tiny-default);\n font-family: var(--lok-font-family-inter);\n\n > span {\n flex: 1;\n }\n}\n"],sourceRoot:""}]),i.locals={heading:"GAgkewqKOTczq16C",warning:"pwC7JvBxzFQwjBLI"};let s=i},7358(e,n,a){a.d(n,{A:()=>s});var t=a(71354),o=a.n(t),l=a(76314),i=a.n(l)()(o());i.push([e.id,`.Z2Y_7gCtPZUWApMO { 908 display: flex; 909 flex-direction: column; 910 gap: var(--lok-spacing-7); 911 padding: var(--lok-spacing-7); 912 height: 500px; 913 max-width: 640px; 914 overflow: hidden; 915} 916 917.L0W2wCiqCAqZ8DY3 { 918 font: var(--lok-typography-heading-4); 919} 920 921.ymL8vPxi9WsIJ4Uh { 922 display: flex; 923 flex-direction: column; 924 gap: var(--lok-spacing-6); 925 padding: var(--lok-spacing-5); 926 border-radius: var(--lok-radius-l); 927 background-color: var(--lok-color-background-surface-middle); 928} 929 930.rMpgGQjlc5IcgVF0 { 931 color: var(--lok-color-text-light-default); 932 font: var(--lok-typography-body-caption-default); 933} 934 935/* Shrinks the full EvaluationMetricsTable down into a small preview for the upsell. */ 936.mK7kggKZafg97Txz { 937 flex: 1; 938 position: relative; 939 940 td { 941 font-size: 7px !important; 942 padding: 7px 6px 7px 5px; 943 } 944 945 th { 946 font-size: 7px !important; 947 padding: 7px 40px; 948 } 949 950 svg { 951 width: 7px; 952 } 953} 954 955.Syz3EEaOVE07LpcJ { 956 position: absolute; 957 width: 550px; 958 border-radius: var(--lok-radius-l); 959 box-shadow: 0px 10px 20px 2px #26262605, 960 0px 8px 16px 0px #2626260A, 961 0px 4px 6px 0px #2626260A, 962 0px 0px 2px 0px #2626261A; 963} 964`,"",{version:3,sources:["webpack://./packages/rag/src/components/UserCreatedProfileModal/components/UpsellEvaluationStep/UpsellEvaluationStep.module.css"],names:[],mappings:"AAAA;IACI,aAAa;IACb,sBAAsB;IACtB,yBAAyB;IACzB,6BAA6B;IAC7B,aAAa;IACb,gBAAgB;IAChB,gBAAgB;AACpB;;AAEA;IACI,qCAAqC;AACzC;;AAEA;IACI,aAAa;IACb,sBAAsB;IACtB,yBAAyB;IACzB,6BAA6B;IAC7B,kCAAkC;IAClC,4DAA4D;AAChE;;AAEA;IACI,0CAA0C;IAC1C,gDAAgD;AACpD;;AAEA,sFAAsF;AACtF;IACI,OAAO;IACP,kBAAkB;;IAElB;QACI,yBAAyB;QACzB,wBAAwB;IAC5B;;IAEA;QACI,yBAAyB;QACzB,iBAAiB;IACrB;;IAEA;QACI,UAAU;IACd;AACJ;;AAEA;IACI,kBAAkB;IAClB,YAAY;IACZ,kCAAkC;IAClC;;;yCAGqC;AACzC",sourcesContent:[".container {\n display: flex;\n flex-direction: column;\n gap: var(--lok-spacing-7);\n padding: var(--lok-spacing-7);\n height: 500px;\n max-width: 640px;\n overflow: hidden;\n}\n\n.title {\n font: var(--lok-typography-heading-4);\n}\n\n.contents {\n display: flex;\n flex-direction: column;\n gap: var(--lok-spacing-6);\n padding: var(--lok-spacing-5);\n border-radius: var(--lok-radius-l);\n background-color: var(--lok-color-background-surface-middle);\n}\n\n.captionText {\n color: var(--lok-color-text-light-default);\n font: var(--lok-typography-body-caption-default);\n}\n\n/* Shrinks the full EvaluationMetricsTable down into a small preview for the upsell. */\n.tableContainer {\n flex: 1;\n position: relative;\n\n td {\n font-size: 7px !important;\n padding: 7px 6px 7px 5px;\n }\n\n th {\n font-size: 7px !important;\n padding: 7px 40px;\n }\n\n svg {\n width: 7px;\n }\n}\n\n.tableInner {\n position: absolute;\n width: 550px;\n border-radius: var(--lok-radius-l);\n box-shadow: 0px 10px 20px 2px #26262605,\n 0px 8px 16px 0px #2626260A,\n 0px 4px 6px 0px #2626260A,\n 0px 0px 2px 0px #2626261A;\n}\n"],sourceRoot:""}]),i.locals={container:"Z2Y_7gCtPZUWApMO",title:"L0W2wCiqCAqZ8DY3",contents:"ymL8vPxi9WsIJ4Uh",captionText:"rMpgGQjlc5IcgVF0",tableContainer:"mK7kggKZafg97Txz",tableInner:"Syz3EEaOVE07LpcJ"};let s=i},4417(e){e.exports=function(e,n){return(n||(n={}),e&&(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),n.hash&&(e+=n.hash),/["'() \t\n]|(%20)/.test(e)||n.needQuotes))?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e}},79494(e,n,a){e.exports=a.p+"assets/a1d00bf20b510fcf.svg"},38301(e,n,a){a.d(n,{CustomAiProfilesPage:()=>t1});var t=a(74848),o=a(98172),l=a(3526),i=a(25634),s=a(92458),r=a(34164),c=a(96540),d=a(63739);let A=e=>e.is_static&&!e.config.rag,C=e=>(0,d.oS)(e)&&e.config?.rag?.type==="tm",p=e=>!1===e.is_static&&!C(e);var g=a(89067);let u=()=>{let{permissions:e,isPending:n,isSuccess:a}=(0,g._)(),t=(0,c.useMemo)(()=>({staticProfile:x(e?.staticProfile),predefinedProfile:x(e?.predefinedProfile),customProfile:x(e?.customProfile)}),[e]);return{canView:(0,c.useCallback)(e=>!n&&h(e,t,({canView:e})=>
964e),[n,t]),canEdit:(0,c.useCallback)(e=>!n&&h(e,t,({canEdit:e})=>e),[n,t]),permissions:t,isLoadingPermissions:n,isPermissionsLoadSuccess:a}},h=(e,n,a)=>void 0!==e&&(A(e)?a(n.staticProfile):C(e)?a(n.predefinedProfile):!!p(e)&&a(n.customProfile)),x=e=>({canView:e?.canView??!1,canEdit:(e?.canView??!1)&&(e?.canEdit??!1)});var f=a(47573),m=a(50279);let v=()=>{let e=(0,m.XR)(),n=(0,c.useMemo)(()=>f.ET.teamAiConfigurationsKey(e),[e]),{data:a,...t}=(0,f.Gw)(m.no,m.Zg,{queryKey:n,select:e=>{let n=e.data?.find(A),a=e.data?.filter(d.oS);return{staticProfile:n,predefinedProfile:a?.find(({config:e})=>e?.rag?.type==="tm"),customProfiles:a?.filter(p)??[]}}});return{profiles:a,...t}};var y=a(97665),k=a(93920),j=a(44650);let b=e=>"rejected"===e.status,B=({onSuccess:e,onError:n})=>{let a=(0,m.XR)(),{mutateAsync:t,isPending:o}=(0,f.Lt)(m.no,m.Zg),{mutateAsync:l,isPending:i}=(0,f.$C)(m.no,m.Zg);return{update:({profile:o,projects:i,profileId:s})=>{let r=t({...o,teamId:a,configurationId:s});Promise.allSettled([l({project_ids:i,teamId:a,configurationId:s}),r]).then(a=>{let t=a.find(b);t?n(t.reason):e()})},isPending:o||i}};var I=a(97848),w=a(6463),E=a(72457),T=a(90932),N=a(41428),P=a(62176),D=a(39445),L=a(45490),_=a(54221),S=a(99384),M=a(79452),z=a(17709),R=a(65754),O=a(85072),Y=a.n(O),U=a(97825),q=a.n(U),Z=a(77659),V=a.n(Z),Q=a(55056),W=a.n(Q),H=a(10540),F=a.n(H),$=a(41113),K=a.n($),G=a(52249),X={};X.styleTagTransform=K(),X.setAttributes=W(),X.insert=V().bind(null,"head"),X.domAPI=q(),X.insertStyleElement=F(),Y()(G.A,X);let J=G.A&&G.A.locals?G.A.locals:void 0,ee=({children:e})=>(0,t.jsx)("div",{className:J.container,children:e}),en=({children:e})=>(0,t.jsx)("div",{className:J.contents,children:e}),ea=({children:e})=>(0,t.jsx)("div",{className:J.titleContainer,children:e}),et=({children:e})=>(0,t.jsx)("h2",{className:J.title,children:e}),eo=({children:e})=>(0,t.jsx)("p",{className:J.subtitle,children:e}),el=({children:e})=>(0,t.jsx)("div",{className:J.footer,children:e}),ei=({children:e})=>(0,t.jsx)("div",{className:J.rsp,children:e});var es=a(68553),er={};er.styleTagTransform=K(),er.setAttributes=W(),er.insert=V().bind(null,"head"),er.domAPI=q(),er.insertStyleElement=F(),Y()(es.A,er);let ec=es.A&&es.A.locals?es.A.locals:void 0,ed=({onClose:e,onUpdate:n,isOverriding:a,profileName:o,conflicts:l})=>(0,t.jsx)("div",{className:ec.container,children:(0,t.jsx)(ee,{children:(0,t.jsxs)(en,{children:[(0,t.jsx)(ea,{children:(0,t.jsxs)(et,{children:["Update anyway - ",o]})}),(0,t.jsxs)("div",{className:"flex-col gap-7",children:[(0,t.jsx)(N.F,{status:"warning",withStartAdornmentIcon:!0,children:"Some projects are already served by other AI profiles. See below for details on the changes that will occur and how they may impact your workflows."}),(0,t.jsxs)(P.X,{className:ec.table,children:[(0,t.jsx)(D.A,{children:(0,t.jsxs)(L.H,{children:[(0,t.jsx)(_.M,{align:"center",children:" Project "}),(0,t.jsx)(_.M,{align:"center",children:" AI profile name "})]})}),(0,t.jsx)(S.B,{children:eA(l).map(({project:e,profile:n})=>(0,t.jsxs)(L.H,{children:[(0,t.jsx)(M.n,{align:"center",children:e}),(0,t.jsx)(M.n,{align:"center","aria-label":`Use ${o} profile instead of ${n}`,children:(0,t.jsxs)("div",{className:"flex gap-2 justify-center",children:[(0,t.jsx)("s",{children:n})," ",(0,t.jsx)(z.Q,{size:"20px"})," ",o]})})]},`${e}-${n}`))})]})]}),(0,t.jsxs)(el,{children:[(0,t.jsx)(R.$,{variant:"tertiary",onClick:e,children:"Cancel"}),(0,t.jsx)(R.$,{onClick:n,loading:a,disabled:a,variant:"primary",children:"Update anyway"})]})]})})}),eA=e=>e.flatMap(e=>e.projects.map(n=>({profile:e.name,project:n.name})));var eC=a(38493),ep=a(33031),eg={};eg.styleTagTransform=K(),eg.setAttributes=W(),eg.insert=V().bind(null,"head"),eg.domAPI=q(),eg.insertStyleElement=F(),Y()(ep.A,eg);let eu=ep.A&&ep.A.locals?ep.A.locals:void 0;var eh=a(274),ex=a(13063),ef=a(22422),em=a(50331),ev=a(18737);let ey=({size:e="13",...n})=>(0,t.jsx)("svg",{width:e,height:e,viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"presentation",...n,children:(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.70374 0.623903C2.70374 0.950358 3.12012 1.8524 3.6287 2.62845C4.68882 4.2464 4.14873 4.48867 2.60237 3.08892C2.02392 2.56602 1.36127 2.32834 1.12874 2.56029C0.896788 2.79282 1.60697 3.71949 2.70718 4.61925L4.70829 6.2561L2.18657 5.91991C0.361288 5.67708 -0.222321 5.76642 0.0726335 6.24408C0.297143 6.60718 1.43172 6.905 2.59435 6.90615L4.70829 6.90787L2.70374 8.13923C1.60124 8.81677 1.00561 9.47
964598 1.38017 9.60541C1.75473 9.73428 2.78507 9.37231 3.67051 8.8013L5.2793 7.76295L3.98379 9.42558C3.27074 10.3396 2.83146 11.232 3.00729 11.4078C3.18312 11.5836 3.9122 10.9931 4.62753 10.0962L5.9282 8.46511L5.6762 10.626C5.50037 12.1317 5.6195 12.6666 6.06852 12.3889C6.42303 12.1701 6.71971 11.1684 6.7283 10.1632L6.74319 8.33568L7.71969 9.91068C8.25691 10.7766 8.89435 11.4857 9.13662 11.4857C9.80041 11.4857 9.66524 10.6632 8.86056 9.81217C7.71969 8.33568 9.18988 9.89922 10.3754 10.4954H11.0083L9.57647 8.93532L8.14465 7.37521L10.3754 7.79159C11.9836 8.09169 12.4934 8.02583 12.203 7.55562C11.9814 7.19709 11.1062 6.88381 10.2586 6.85976C8.90924 6.82139 9.0026 6.71715 11.0083 6.023L12.6 5.25L11.55 4.9L8.5427 5.49151L9.6326 3.96176C10.9293 2.13991 10.9825 1.74931 9.93271 1.74931C9.49858 1.74931 8.7191 2.32949 8.20078 3.03795C7.26552 4.31628 7.26093 4.31227 7.604 2.46522C8.05588 0.0282667 6.97686 0.0282667 6.46427 2.46522L6.07252 4.32659L4.94712 2.17886C3.88184 0.146249 2.70374 -0.67046 2.70374 0.623903Z",fill:"#101214",fillOpacity:"0.72"})}),ek=({size:e="13",...n})=>(0,t.jsx)("svg",{width:e,height:e,viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"presentation",...n,children:(0,t.jsx)("path",{d:"M5.53626 0.00187317C4.15486 -0.0460048 2.96353 0.828967 2.46464 2.04867C1.63581 2.23945 0.922213 2.74237 0.467981 3.46997C-0.264027 4.64211 -0.101294 6.11082 0.70553 7.15283C0.456384 7.96616 0.534619 8.83552 0.937382 9.59269C1.58675 10.8129 2.94072 11.4072 4.24655 11.2293C4.82625 11.8516 5.61825 12.2181 6.47506 12.2479C7.85625 12.2955 9.04773 11.4202 9.54668 10.2005C10.3755 10.0097 11.0888 9.50682 11.5428 8.77922C12.2748 7.60686 12.1125 6.13825 11.3058 5.09636C11.5549 4.28303 11.4767 3.41367 11.0739 2.6565C10.4246 1.43631 9.0706 0.841963 7.76477 1.01986C7.18507 0.397562 6.39307 0.0314005 5.53626 0.00187317ZM5.31523 0.876873C5.85147 0.853009 6.36226 1.01181 6.78211 1.3138C6.70184 1.35191 6.62201 1.39067 6.54399 1.43571L4.34965 2.70264C4.20586 2.78576 4.11668 2.93886 4.11609 3.10482L4.10128 6.54557L3.08899 5.9554V3.28882C3.08899 2.02765 4.05523 0.932873 5.31523 0.876873ZM8.31735 1.85156C9.06287 1.8759 9.78119 2.23814 10.2052 2.90259C10.4941 3.35504 10.6112 3.87701 10.5595 4.39168C10.4864 4.34124 10.4131 4.29088 10.3351 4.24585L8.14075 2.97949C7.99696 2.89666 7.81999 2.8961 7.67591 2.97835L4.68917 4.68563L4.6943 3.51441L7.00371 2.18083C7.41321 1.94436 7.87003 1.83696 8.31735 1.85156ZM2.22767 3.04728C2.22057 3.1356 2.21399 3.22407 2.21399 3.31388V5.84774C2.21399 6.0137 2.30235 6.16735 2.44585 6.25106L5.41777 7.98454L4.40092 8.56559L2.09152 7.23259C0.999225 6.60171 0.534103 5.218 1.11569 4.09888C1.36309 3.62264 1.75626 3.25994 2.22767 3.04728ZM7.6104 3.68359L9.9198 5.0166C11.0121 5.64748 11.4772 7.03119 10.8956 8.15031C10.6482 8.62655 10.2551 8.98925 9.78366 9.20191C9.79075 9.11359 9.79733 9.02512 9.79733 8.9353V6.40145C9.79733 6.23549 9.70897 6.08184 9.56547 5.99813L6.59355 4.26465L7.6104 3.68359ZM6.01136 4.59733L7.33126 5.36637L7.325 6.89421L5.99996 7.65186L4.68006 6.88281L4.68632 5.35498L6.01136 4.59733ZM7.91004 5.70361L8.92233 6.29378V8.96037C8.92233 10.2215 7.95609 11.3163 6.69609 11.3723C6.15985 11.3962 5.64906 11.2374 5.22921 10.9354C5.30948 10.8973 5.38931 10.8585 5.46733 10.8135L7.66167 9.54655C7.80546 9.46343 7.89464 9.31033 7.89523 9.14437L7.91004 5.70361ZM7.32215 7.56356L7.31702 8.73478L5.00761 10.0684C3.91561 10.6989 2.48453 10.4097 1.80612 9.3466C1.51727 8.89415 1.40016 8.37218 1.45179 7.8575C1.52492 7.90796 1.59823 7.9583 1.67623 8.00334L3.87057 9.2697C4.01436 9.35253 4.19133 9.35308 4.33541 9.27083L7.32215 7.56356Z",fill:"#101214",fillOpacity:"0.72"})}),ej=({size:e="13",...n})=>(0,t.jsx)("svg",{width:e,height:e,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"presentation",...n,children:(0,t.jsx)("path",{d:"M16 8.016A8.522 8.522 0 008.016 16h-.032A8.521 8.521 0 000 8.016v-.032A8.521 8.521 0 007.984 0h.032A8.522 8.522 0 0016 7.984v.032z",fill:"#101214",fillOpacity:"0.72"})}),eb=({size:e="13",...n})=>(0,t.jsx)("svg",{width:e,height:e,viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"presentation",...n,children:(0,t.jsx)("path",{d:"M9.47917 0C8.81105 0 8.27294 0.517653 8.19629 1.16667H7.14583C6.10402 1.16667 5.25 2.02068 5.25 3.0625V5.6875H3.5C3.5 4.96781 2.90719 4.375 2.1875 4.375H1.3125C0.592812 4.375 0 4.96781 0 5.6875V6.5625C0 7.28219 0.592812 7.875 1.3125 7.875H2.1875C2.90719 7.875 3.5 7.28219 3.5 6.5625H5.25V9.1875C5.25 10.2293 6.10402 11.
9640833 7.14583 11.0833H8.19629C8.27294 11.7323 8.81105 12.25 9.47917 12.25H10.3542C11.0739 12.25 11.6667 11.6572 11.6667 10.9375V10.0625C11.6667 9.34281 11.0739 8.75 10.3542 8.75H9.47917C8.75948 8.75 8.16667 9.34281 8.16667 10.0625V10.2083H7.14583C6.57707 10.2083 6.125 9.75627 6.125 9.1875V6.5625H8.16667C8.16667 7.28219 8.75948 7.875 9.47917 7.875H10.3542C11.0739 7.875 11.6667 7.28219 11.6667 6.5625V5.6875C11.6667 4.96781 11.0739 4.375 10.3542 4.375H9.47917C8.75948 4.375 8.16667 4.96781 8.16667 5.6875H6.125V3.0625C6.125 2.49373 6.57707 2.04167 7.14583 2.04167H8.16667V2.1875C8.16667 2.90719 8.75948 3.5 9.47917 3.5H10.3542C11.0739 3.5 11.6667 2.90719 11.6667 2.1875V1.3125C11.6667 0.592812 11.0739 0 10.3542 0H9.47917ZM9.47917 0.875H10.3542C10.6011 0.875 10.7917 1.0656 10.7917 1.3125V2.1875C10.7917 2.4344 10.6011 2.625 10.3542 2.625H9.47917C9.23227 2.625 9.04167 2.4344 9.04167 2.1875V1.67594C9.04938 1.62898 9.04938 1.58107 9.04167 1.5341V1.3125C9.04167 1.0656 9.23227 0.875 9.47917 0.875ZM1.3125 5.25H2.1875C2.4344 5.25 2.625 5.4406 2.625 5.6875V6.5625C2.625 6.8094 2.4344 7 2.1875 7H1.3125C1.0656 7 0.875 6.8094 0.875 6.5625V5.6875C0.875 5.4406 1.0656 5.25 1.3125 5.25ZM9.47917 5.25H10.3542C10.6011 5.25 10.7917 5.4406 10.7917 5.6875V6.5625C10.7917 6.8094 10.6011 7 10.3542 7H9.47917C9.23227 7 9.04167 6.8094 9.04167 6.5625V5.6875C9.04167 5.4406 9.23227 5.25 9.47917 5.25ZM9.47917 9.625H10.3542C10.6011 9.625 10.7917 9.8156 10.7917 10.0625V10.9375C10.7917 11.1844 10.6011 11.375 10.3542 11.375H9.47917C9.23227 11.375 9.04167 11.1844 9.04167 10.9375V10.7176C9.04938 10.6706 9.04938 10.6227 9.04167 10.5758V10.0625C9.04167 9.8156 9.23227 9.625 9.47917 9.625Z",fill:"#101214",fillOpacity:"0.72"})}),eB=({integration:e,size:n,...a})=>{switch(e){case"claude":return(0,t.jsx)(ey,{size:n,...a});case"gpt":return(0,t.jsx)(ek,{size:n,...a});case"gemini":return(0,t.jsx)(ej,{size:n,...a});default:return(0,t.jsx)(eb,{size:n,...a})}};var eI=a(27010),ew={};ew.styleTagTransform=K(),ew.setAttributes=W(),ew.insert=V().bind(null,"head"),ew.domAPI=q(),ew.insertStyleElement=F(),Y()(eI.A,ew);let eE=eI.A&&eI.A.locals?eI.A.locals:void 0,eT=({title:e,children:n,highlighted:a=!1})=>(0,t.jsxs)("div",{className:(0,r.A)(eE.card,a?eE.highlight:null),children:[(0,t.jsx)("div",{className:eE.cardTitle,children:e}),(0,t.jsx)("div",{className:eE.cardContents,children:n})]});var eN=a(78855),eP={};eP.styleTagTransform=K(),eP.setAttributes=W(),eP.insert=V().bind(null,"head"),eP.domAPI=q(),eP.insertStyleElement=F(),Y()(eN.A,eP);let eD=eN.A&&eN.A.locals?eN.A.locals:void 0,eL=({children:e})=>(0,t.jsx)("div",{className:eD.outerContainer,children:e}),e_=({children:e})=>(0,t.jsx)("div",{className:eD.borderWrapper,children:e}),eS=({children:e})=>(0,t.jsx)("div",{className:eD.container,children:e}),eM=({name:e,integration:n})=>(0,t.jsxs)("div",{className:eD.titleContainer,children:[(0,t.jsxs)("div",{className:"flex gap-1",children:[(0,t.jsx)(ev.v,{className:eD.statusTag,children:"Status"}),(0,t.jsx)("div",{className:eD.integrationIconContainer,children:(0,t.jsx)(eB,{integration:n,size:"14px",role:"img"})})]}),(0,t.jsx)("h4",{className:(0,r.A)(eD.title,!e&&eD.placeholder),children:e||"Select your profile name"})]}),ez=({sourceLanguage:e,highlighted:n=!1})=>(0,t.jsx)(eT,{title:"Source language",highlighted:n,children:e?e.name:"Select"}),eR=()=>(0,t.jsx)("div",{className:eD.icon,children:(0,t.jsx)(z.Q,{color:"var(--lok-color-background-switch-marker-default)",size:"16px"})}),eO=({children:e})=>(0,t.jsx)("div",{className:eD.target,children:e}),eY=({numberOfTargetLanguages:e})=>(0,t.jsxs)(eT,{title:"Target language",children:[e," target languages"]}),eU=({highlighted:e=!1,projects:n=[],hasProjectWarning:a=()=>!1})=>(0,t.jsx)("div",{className:(0,r.A)(eD.projects),children:(0,t.jsx)(eT,{title:"Activated in projects",highlighted:e,children:n.length?(0,t.jsx)("div",{className:eD.projectsContainer,children:n.map(e=>(0,t.jsx)(ev.v,{className:(0,r.A)(eD.projectsTag,!!a(e)&&eD.warning),children:e.name},e.id))}):"Choose projects"})});var eq=a(77789),eZ=a(86007),eV={};eV.styleTagTransform=K(),eV.setAttributes=W(),eV.insert=V().bind(null,"head"),eV.domAPI=q(),eV.insertStyleElement=F(),Y()(eZ.A,e
964V);let eQ=eZ.A&&eZ.A.locals?eZ.A.locals:void 0,eW=e=>(0,t.jsx)("a",{className:eQ.link,...e});var eH=a(85715),eF={};eF.styleTagTransform=K(),eF.setAttributes=W(),eF.insert=V().bind(null,"head"),eF.domAPI=q(),eF.insertStyleElement=F(),Y()(eH.A,eF);let e$=eH.A&&eH.A.locals?eH.A.locals:void 0,eK=({profileName:e,integration:n,projects:a,sourceLang:o,targetLangs:l,isLoading:i,isEdit:s,onProjectsChange:c,onActivate:d,onClose:A})=>{let{data:C,isPending:p}=(0,ex.K)(),g=a.map(({id:e})=>e),u=C?.filter(e=>g.includes(e.id))??[],h=o?(0,ef.Dx)(o,l,u):[];return(0,t.jsxs)(ee,{children:[(0,t.jsxs)(en,{children:[(0,t.jsxs)(ea,{children:[(0,t.jsx)(et,{children:s?"Edit projects":"Activate AI profile"}),(0,t.jsxs)(eo,{children:["Once activated, all translations in the selected projects will be managed by the AI profile for your chosen languages."," ",(0,t.jsx)(eW,{href:eh.T$,rel:"noreferrer",target:"_blank",children:"Docs."})]})]}),(0,t.jsx)(eq.l,{title:"Choose projects to activate the AI profile",name:"projects",placeholder:"Select...",options:C??[],selectedOptions:h??[],onSelectionChange:e=>c([...e]),getOptionLabel:e=>e.name,getOptionValue:e=>e.id,getOptionWarning:e=>(0,ef._5)(`${e.baseLangId}`,e.targetLanguages,o,l),isLoading:p,maxVisibleOptions:5,getTruncatedOptionsWarning:e=>(0,ef.r3)(o,e,l)}),(0,t.jsxs)("div",{className:(0,r.A)([e$.footer,"flex gap-3 items-end justify-end"]),children:[(0,t.jsx)(R.$,{variant:"tertiary",onClick:A,children:"Cancel"}),(0,t.jsx)(R.$,{variant:"primary",onClick:d,loading:i,children:s?"Update":"Activate"})]})]}),(0,t.jsx)(ei,{children:(0,t.jsx)(eL,{children:(0,t.jsxs)(e_,{children:[(0,t.jsx)(eM,{name:e,integration:n}),(0,t.jsxs)(eS,{children:[(0,t.jsx)(ez,{sourceLanguage:o}),(0,t.jsx)(eR,{}),(0,t.jsx)(eO,{children:(0,t.jsx)(em.n,{overview:!0,targetLangs:l})}),(0,t.jsx)(eU,{highlighted:!0,projects:u,hasProjectWarning:e=>!!(0,ef._5)(`${e.baseLangId}`,e.targetLanguages,o,l)})]})]})})})]})};var eG=a(70761),eX=a(49240);let eJ=a.p+"assets/90d6eebcafec19f8.svg";var e0=a(5887),e1={};e1.styleTagTransform=K(),e1.setAttributes=W(),e1.insert=V().bind(null,"head"),e1.domAPI=q(),e1.insertStyleElement=F(),Y()(e0.A,e1);let e2=e0.A&&e0.A.locals?e0.A.locals:void 0,e6=({title:e,description:n,icon:a})=>(0,t.jsxs)("div",{className:e2.step,children:[(0,t.jsx)("div",{className:e2.iconContainer,children:a}),(0,t.jsx)("h4",{className:e2.stepHeading,children:e}),(0,t.jsx)("p",{className:e2.stepText,children:n})]});var e7=a(84609),e5={};e5.styleTagTransform=K(),e5.setAttributes=W(),e5.insert=V().bind(null,"head"),e5.domAPI=q(),e5.insertStyleElement=F(),Y()(e7.A,e5);let e3=e7.A&&e7.A.locals?e7.A.locals:void 0,e4=({profileName:e,onNext:n,onClose:a})=>(0,t.jsxs)("div",{className:(0,r.A)([e3.container,"flex gap-7"]),children:[(0,t.jsxs)("div",{className:"flex-col gap-6",children:[(0,t.jsxs)("div",{className:"flex-col gap-4",children:[(0,t.jsxs)("h2",{className:e3.heading,children:[e," setup guide"]}),(0,t.jsxs)("p",{className:e3.subheading,children:["AI profile uses Translation Memories assigned in each project's settings to improve translation quality. Need more info? See the"," ",(0,t.jsx)(eW,{href:eh.T$,rel:"noreferrer",target:"_blank",children:"docs."})]})]}),(0,t.jsxs)("div",{className:"flex-col gap-4",children:[(0,t.jsx)("h3",{className:e3.stepsContainerHeading,children:"Your steps"}),(0,t.jsx)(e6,{title:"Phase 1 - Models",description:"Select model routing.",icon:(0,t.jsx)(eb,{size:"16px"})}),(0,t.jsx)(e6,{title:"Phase 2 - Translation Examples & Languages",description:"Choose which past translations to use as examples and the languages that should use them.",icon:(0,t.jsx)(eG.U,{size:"16px"})}),(0,t.jsx)(e6,{title:"Phase 3 - Activation",description:"Select the projects which the AI profile should be applied to.",icon:(0,t.jsx)(eX.P,{size:"16px"})})]}),(0,t.jsxs)("div",{className:(0,r.A)([e3.footer,"flex gap-3 items-end justify-end"]),children:[(0,t.jsx)(R.$,{variant:"tertiary",onClick:a,children:"Cancel"}),(0,t.jsx)(R.$,{onClick:n,variant:"primary",children:"Next"})]})]}),(0,t.jsx)("div",{className:e3.imageContainer,children:(0,t.jsx)("img",{alt:"overview",src:eJ})})]});var e8=a(27203),e9=a(37998),ne=a(58980),nn=a(77756),na=a(7654),nt=a(50813);let no=[{integration:null,name:"Routing",description:"Dynamic LLM switching"},{integration:"gpt",name:"GPT",description:"OpenAI LLM"}
964,{integration:"claude",name:"Claude",description:"Anthropic LLM"},{integration:"gemini",name:"Gemini",description:"Google Gemini LLM"}];var nl=a(15991),ni={};ni.styleTagTransform=K(),ni.setAttributes=W(),ni.insert=V().bind(null,"head"),ni.domAPI=q(),ni.insertStyleElement=F(),Y()(nl.A,ni);let ns=nl.A&&nl.A.locals?nl.A.locals:void 0,nr=({selectedModel:e,onModelChange:n})=>{let{details:a,isLoading:o}={isLoading:!1,details:no};return(0,t.jsx)(e9.J,{text:(0,t.jsxs)("div",{className:"flex gap-1",children:[(0,t.jsx)("span",{className:ns.heading,children:"LLM provider settings"}),(0,t.jsx)(ne.m,{classNames:{content:ns.tooltip},placement:"bottom",tooltip:"The routing option applies to all languages in the project and automatically selects the most suitable engine from the available models to ensure the highest possible translation quality. While you can configure it to use a single LLM, this may result in lower-quality translations.",children:(0,t.jsx)("span",{className:"flex items-center",children:(0,t.jsx)(nn.R,{size:"16px",ariaLabel:"Information about LLM provider settings"})})})]}),children:(0,t.jsx)(na.l,{required:!0,isLoading:o,options:a??[],value:a?.find(({integration:n})=>n===e),onChange:e=>e&&n(e.integration),getOptionLabel:e=>`${e.name} (${e.description})`,getOptionValue:e=>e.integration??"",components:{Option:nc}})})},nc=e=>{let{label:n,data:a}=e;return(0,t.jsx)(nt.c.Option,{...e,children:(0,t.jsxs)("div",{className:"flex flex-row justify-between items-center",children:[(0,t.jsxs)("div",{className:"flex flex-row gap-2 items-center",children:[(0,t.jsx)(eB,{integration:a.integration}),(0,t.jsx)("span",{children:n})]}),null===a.integration&&(0,t.jsx)(ev.v,{className:ns.tag,variant:"solid",children:"Recommended"})]})})};var nd=a(55778),nA=a(9832),nC={};nC.styleTagTransform=K(),nC.setAttributes=W(),nC.insert=V().bind(null,"head"),nC.domAPI=q(),nC.insertStyleElement=F(),Y()(nA.A,nC);let np=nA.A&&nA.A.locals?nA.A.locals:void 0,ng=["Target language","TM entries"],nu=({highlighted:e=!1,targetLangs:n=[],afterDate:a})=>(0,t.jsx)(nd.z,{highlighted:e,columns:ng,numberOfTargetLanguages:n.length,children:n.map(({name:e,id:n})=>(0,t.jsx)(c.Fragment,{children:(0,t.jsxs)(L.H,{children:[(0,t.jsx)(M.n,{className:(0,r.A)([np.cell,np.cellLeft]),children:e}),(0,t.jsx)(M.n,{className:(0,r.A)([np.cell,np.cellRight]),align:"right",children:a?`from ${a}`:"All TM entries"})]})}
964,n))});var nh=a(26148),nx={};nx.styleTagTransform=K(),nx.setAttributes=W(),nx.insert=V().bind(null,"head"),nx.domAPI=q(),nx.insertStyleElement=F(),Y()(nh.A,nx);let nf=nh.A&&nh.A.locals?nh.A.locals:void 0,nm=({profileName:e,selectedAiModel:n,onAiModelSelected:a,onNext:o,onClose:l})=>(0,t.jsxs)(ee,{children:[(0,t.jsxs)(en,{children:[(0,t.jsxs)(ea,{children:[(0,t.jsx)(et,{children:"Basic settings"}),(0,t.jsxs)(eo,{children:["Change basic profile settings, like the LLM provider. Routing is enabled by default for optimal translation quality across all languages in assigned projects"," ",(0,t.jsx)(eW,{href:eh.T$,rel:"noreferrer",target:"_blank",children:"docs."})]})]}),(0,t.jsxs)("div",{className:"flex-col gap-5",children:[(0,t.jsxs)("div",{className:"flex-col gap-2",children:[(0,t.jsx)("span",{className:nf.heading,children:"Name AI profile"}),(0,t.jsx)(e8.p,{disabled:!0,value:e})]}),(0,t.jsx)(nr,{selectedModel:n,onModelChange:a})]}),(0,t.jsxs)(el,{children:[(0,t.jsx)(R.$,{variant:"tertiary",onClick:l,children:"Cancel"}),(0,t.jsx)(R.$,{onClick:o,variant:"primary",children:"Next"})]})]}),(0,t.jsx)(ei,{children:(0,t.jsx)(eL,{children:(0,t.jsxs)(e_,{children:[(0,t.jsx)(eM,{name:e,integration:n}),(0,t.jsxs)(eS,{children:[(0,t.jsx)(ez,{}),(0,t.jsx)(eR,{}),(0,t.jsx)(eO,{children:(0,t.jsx)(nu,{})}),(0,t.jsx)(eU,{})]})]})})})]});var nv=a(4360),ny=a(82089);let nk="This field is required";var nj=a(81055),nb={};nb.styleTagTransform=K(),nb.setAttributes=W(),nb.insert=V().bind(null,"head"),nb.domAPI=q(),nb.insertStyleElement=F(),Y()(nj.A,nb);let nB=nj.A&&nj.A.locals?nj.A.locals:void 0,nI=({profileName:e,integration:n,sourceLang:a,targetLangs:o,date:l,isEdit:i,onChangeSourceLang:s,onChangeTargetLangs:d,onChangeDate:A,onClose:C,onNext:p})=>{let[g,u]=(0,c.useState)(!1),[h,x]=(0,c.useState)(!1),v=(0,m.XR)(),y=f.TQ.teamLanguagesKey({teamId:v}),k=f.TQ.teamLanguagesKey({teamId:v,base_language_id:a?.id}),{data:j,isPending:b}=(0,f.m)(m.no,m.Zg,{queryKey:y}),{data:B,isPending:I}=(0,f.m)(m.no,m.Zg,{queryKey:k,enabled:!!a});return(0,t.jsxs)(ee,{children:[(0,t.jsxs)(en,{children:[(0,t.jsxs)(ea,{children:[(0,t.jsx)(et,{children:i?"Edit the data source":"Specify the data source"}),(0,t.jsxs)(eo,{children:["Prioritize languages with high-quality translation memories (TM) to improve translation quality. Optionally set TM start date. New translations saved to TM will be reused in this profile."," ",(0,t.jsx)(eW,{href:eh.T$,rel:"noreferrer",target:"_blank",children:"Docs."})]})]}),(0,t.jsxs)("div",{className:"flex-col gap-2",children:[(0,t.jsx)("span",{id:"source-lang-label",className:nB.controlLabel,children:"Choose the source language"}),(0,t.jsx)(na.l,{"aria-labelledby":"source-lang-label",name:"source-langs",placeholder:"Select...",options:j?.data.base_languages??[],value:a,onChange:e=>{null!==e&&e.id!==a?.id&&(x(i&&e?.id!==a?.id),s(e),d([]))},getOptionLabel:e=>e.name,getOptionValue:e=>`${e.id}`,isLoading:b,error:g&&!a&&nk}),h&&(0,t.jsxs)("div",{className:nB.warning,children:[(0,t.jsx)(nv.I,{size:"16px"}),(0,t.jsx)("span",{children:"Using a source language that differs from the projectâs original language can negatively affect the quality of translations"})]})]}),(0,t.jsx)(eq.l,{title:"Choose the target languages",name:"target-langs",placeholder:"Select...",options:B?.data.target_languages??[],selectedOptions:o,onSelectionChange:e=>d([...e]),getOptionLabel:e=>e.name,getOptionValue:e=>`${e.id}`,isLoading:I||b,isDisabled:!a,error:g&&!o.length?nk:void 0,maxVisibleOptions:5}),(0,t.jsxs)("div",{className:"flex-col gap-2",children:[(0,t.jsxs)("div",{className:"flex gap-1",children:[(0,t.jsx)("span",{className:nB.controlLabel,id:"created-after-label",children:"Use only TM entries created after date (optional)"}),(0,t.jsx)(ne.m,{classNames:{content:nB.tooltip},placement:"bottom",tooltip:"Set the starting date for using translation memory (TM) entries. Only TM entries created or updated after this date will be used as context for translations. Leave this field empty if you want to use your entire TM without date restrictions.",children:(0,t.jsx)("span",{className:"flex items-center",children:(0,t.jsx)(nn.R,{size:"16px"})})})]}
964),(0,t.jsx)(ny.l,{"aria-labelledby":"created-after-label",className:nB.dateControl,inPortal:!0,onChange:A,onClear:()=>A(void 0),value:l})]}),(0,t.jsxs)("div",{className:(0,r.A)([nB.footer,"flex items-end justify-end gap-3"]),children:[(0,t.jsx)(R.$,{variant:"tertiary",onClick:C,children:"Cancel"}),(0,t.jsx)(R.$,{variant:"primary",onClick:()=>{u(!0),a&&o.length&&p&&p()},children:"Next"})]})]}),(0,t.jsx)(ei,{children:(0,t.jsx)(eL,{children:(0,t.jsxs)(e_,{children:[(0,t.jsx)(eM,{name:e,integration:n}),(0,t.jsxs)(eS,{children:[(0,t.jsx)(ez,{highlighted:!0,sourceLanguage:a}),(0,t.jsx)(eR,{}),(0,t.jsx)(eO,{children:(0,t.jsx)(nu,{highlighted:!0,targetLangs:o,afterDate:l?.toLocaleDateString("en-US",{month:"short",day:"numeric",year:"2-digit"})})}),(0,t.jsx)(eU,{})]})]})})})]})},nw="AI profile - TM",nE=({onClose:e,onActivateSuccess:n,isEdit:a,profile:o,initialDate:l,initialSourceLang:i,initialTargetLangs:r=[],initialProjects:d=[]})=>{let[A,C]=(0,c.useState)(o?.config?.integration),[p,g]=(0,c.useState)(i),[u,h]=(0,c.useState)(r),[x,v]=(0,c.useState)(l),[y,b]=(0,c.useState)(d),[N,P]=(0,c.useState)(+!!a),[D,L]=(0,c.useState)([]),_=(0,m.XR)(),S=o.id,M=o.config.rag.type,z=(0,k.H)(),R=()=>n(),O=e=>{if((0,I.CE)(e)&&(0,I.Ej)(e.json)){L(e.json.details.conflicts),P(4);return}(0,T.o)()};(0,c.useEffect)(()=>{z(s.A.AI_PROFILE_ACTIVATION_OPENED,{type:M,profile_id:S})},[S,M,z]);let{update:Y,isPending:U}=B({onSuccess:R,onError:O}),{mutate:q,isPending:Z}=(0,f.$C)(m.no,m.Zg,{onSuccess:R,onError:O}),V=()=>P(e=>e+1);return(0,t.jsx)(j.E,{className:eu.modal,opened:!0,onClose:e,title:"TM profile assignment",children:(0,t.jsxs)(eC.v,{stepIndex:N,children:[(0,t.jsx)(e4,{profileName:nw,onClose:e,onNext:V}),(0,t.jsx)(nm,{profileName:nw,selectedAiModel:A,onAiModelSelected:C,onNext:V,onClose:e}),(0,t.jsx)(nI,{date:x,profileName:nw,integration:A,sourceLang:p,targetLangs:u,onChangeDate:v,onChangeSourceLang:g,onChangeTargetLangs:h,onClose:e,onNext:V,isEdit:a}),(0,t.jsx)(eK,{profileName:nw,integration:A,projects:y,sourceLang:p,targetLangs:u,onProjectsChange:b,onActivate:()=>{let e;Y({projects:y.map(({id:e})=>e),profileId:o.id,profile:{name:o.name,is_default:o.is_default,config:{integration:A,rag:{...o.config.rag,source_languages:p?[p?.id]:void 0,target_languages:u.map(({id:e})=>e),created_after:x?(e=(0,w.o)(x),(0,E.GP)(e,"yyyy-MM-dd HH:mm:ss")):null}}}})},onClose:e,isLoading:U||Z,isEdit:a}),(0,t.jsx)(ed,{conflicts:D,profileName:o.name,isOverriding:Z,onClose:e,onUpdate:()=>q({project_ids:y.map(e=>e.id),teamId:_,configurationId:o.id,force:!0})})]})})};var nT=a(9952),nN=a(47767);let nP=({profile:e,onSuccess:n,onError:a})=>{let t=(0,m.XR)(),{mutate:o,isPending:l}=(0,f.$C)(m.no,m.Zg,{onSuccess:()=>{(0,i.P0)({type:"success",title:`${e.name} has been deactivated successfully`,description:`${e.projects.length} project${1!==e.projects.length?"s":""} removed from ${e.name}.`}),n?.()},onError:e=>{(0,T.o)(),a?.(e)}});return{deactivate:(0,c.useCallback)(({profileId:e})=>{o({project_ids:[],force:!0,teamId:t,configurationId:e})},[o,t]),isPending:l}};var nD=a(85674),nL=a(46961);let n_=({profile:e,onClose:n})=>{let{deleteProfile:a,isPending:o}=(({onSuccess:e,onError:n})=>{let a=(0,m.XR)(),{mutateAsync:t,isPending:o}=(0,f.w4)(m.no,m.Zg,{onSuccess:e,onError:n});return{deleteProfile:(0,c.useCallback)(({profileId:e})=>t({teamId:a,configurationId:e}),[t,a]),isPending:o}})({onSuccess:()=>{(0,i.P0)({type:"success",title:`${e.name} has been deleted successfully.`}),n()},onError:T.o});return(0,t.jsxs)(nL.Z,{opened:!0,loading:o,title:`Delete ${e.name}`,confirmText:"Delete",closeText:"Cancel",onClose:n,onConfirm:()=>{a({profileId:e.id})},children:["Youâre about to delete ",e.name,". It will stop running in all projects where itâs currently assigned and will automatically be replaced by the Base AI profile."]})};var nS=a(82244);let nM=({projects:e,selectedProjects:n,isActivating:a,isEdit:o,name:l,targetLangs:i,sourceLang:s,integration:r,onProjectsChange:c,onActivate:d,onClose:A})=>(0,t.jsxs)(ee,{children:[(0,t.jsxs)(en,{children:[(0,t.jsxs)(ea,{children:[(0,t.jsxs)(et,{children:[o?"Update":"Activate"," AI profile"]}),(0,t.jsx)(eo,{children:"Once activated, all translations in the selected projects will be managed by the AI profile for your chosen languages."})]}
964),(0,t.jsx)(eq.l,{title:"Choose projects to activate the AI profile",name:"projects",placeholder:"Choose",options:e,selectedOptions:n,onSelectionChange:e=>c([...e]),getOptionLabel:e=>e.name,getOptionValue:e=>e.id,getOptionWarning:e=>(0,ef._5)(`${e.baseLangId}`,e.targetLanguages,s,i),maxVisibleOptions:10,getTruncatedOptionsWarning:e=>(0,ef.r3)(s,e,i)}),(0,t.jsxs)(el,{children:[(0,t.jsx)(R.$,{variant:"tertiary",onClick:A,children:"Cancel"}),(0,t.jsx)(R.$,{onClick:d,loading:a,disabled:a,variant:"primary",children:o?"Update":"Activate"})]})]}),(0,t.jsx)(ei,{children:(0,t.jsx)(eL,{children:(0,t.jsxs)(e_,{children:[(0,t.jsx)(eM,{name:l||"Select your AI profile name",integration:r}),(0,t.jsxs)(eS,{children:[(0,t.jsx)(ez,{sourceLanguage:s}),(0,t.jsx)(eR,{}),(0,t.jsx)(eO,{children:(0,t.jsx)(eY,{numberOfTargetLanguages:i.length})}),(0,t.jsx)(eU,{highlighted:!0,projects:n,hasProjectWarning:e=>!!(0,ef._5)(`${e.baseLangId}`,e.targetLanguages,s,i)})]})]})})})]});var nz=a(36277),nR={};nR.styleTagTransform=K(),nR.setAttributes=W(),nR.insert=V().bind(null,"head"),nR.domAPI=q(),nR.insertStyleElement=F(),Y()(nz.A,nR);let nO=nz.A&&nz.A.locals?nz.A.locals:void 0,nY=({dataSource:e,hasClickedNext:n,selectedProjects:a,selectedTag:o,onProjectsChange:l,onTagChange:i,tags:s,isLoadingProjects:r,isLoadingTags:c,projects:d})=>{let A=n&&!o&&!a.length&&nk;return null===e?null:(0,t.jsx)(t.Fragment,{children:"tags"===e?(0,t.jsxs)("div",{className:"flex-col gap-2",children:[(0,t.jsx)("span",{className:nO.heading,id:"tag-label",children:"Specify data source"}),(0,t.jsx)(na.l,{"aria-labelledby":"tag-label",placeholder:"Select tag",options:s,onChange:e=>i(e?.value??null),getOptionLabel:e=>e.value,getOptionValue:e=>e.value,isLoading:c,value:s.find(e=>e.value===o),error:A})]}):(0,t.jsx)(eq.l,{title:"Specify data source",name:"projects",placeholder:"Select projects",options:d,selectedOptions:d.filter(e=>a.includes(e.id)),onSelectionChange:e=>l(e?.map(e=>e.id)),getOptionLabel:e=>e.name,getOptionValue:e=>e.id,isLoading:r,maxVisibleOptions:5,error:A})})};var nU=a(4198),nq={};nq.styleTagTransform=K(),nq.setAttributes=W(),nq.insert=V().bind(null,"head"),nq.domAPI=q(),nq.insertStyleElement=F(),Y()(nU.A,nq);let nZ=nU.A&&nU.A.locals?nU.A.locals:void 0,nV=[{label:"Tags",value:"tags"},{label:"Reviewed status in project",value:"reviewed"}],nQ=({targetLangs:e,selectedTargetLangs:n,sourceLangs:a,selectedSourceLang:o,dataSource:l,projects:i,selectedProjects:s,tags:r,selectedTag:d,integration:A,isEdit:C,isLoadingLanguages:p,isLoadingTags:g,isLoadingProjects:u,isLoadingSourceLangs:h,name:x,onSelectedTargetLangsChange:f,onSourceLangChange:m,onDataSourceChange:v,onProjectsChange:y,onTagChange:k,onClose:j,onNext:b})=>{let[B,I]=(0,c.useState)(!1),[w,E]=(0,c.useState)(!1),T=nV.find(e=>e.value===l)??null,N=B&&!o&&nk,P=B&&!n.length&&nk,D=B&&!l&&nk;return(0,t.jsxs)(ee,{children:[(0,t.jsxs)(en,{children:[(0,t.jsxs)(ea,{children:[(0,t.jsx)(et,{children:"Specify the data source"}),(0,t.jsxs)(eo,{children:["Specify language pairs with human-reviewed translations. Provide"," ",(0,t.jsx)("strong",{children:"500+ examples"})," per language; more improves quality. New qualifying translations will be reused in the profile."," ",(0,t.jsx)(eW,{href:eh.T$,rel:"noreferrer",target:"_blank",children:"Docs."})]})]}),(0,t.jsxs)("div",{className:"flex-col gap-5",children:[(0,t.jsxs)("div",{className:"flex-col gap-2",children:[(0,t.jsx)("span",{className:nZ.heading,id:"source-lang-select",children:"Choose the source language"}),(0,t.jsx)(na.l,{"aria-labelledby":"source-lang-select",options:a,value:o,onChange:e=>{m(e??void 0),E(C&&e?.id!==o?.id)},getOptionLabel:e=>e.name,getOptionValue:e=>e.id.toString(),isLoading:h,error:N,placeholder:"Choose language"}),w&&(0,t.jsxs)("div",{className:nZ.warning,children:[(0,t.jsx)(nv.I,{size:"16px"}),(0,t.jsx)("span",{children:"Using a source language that differs from the project's original language can negatively affect the quality of translations"})]})]}),(0,t.jsx)(eq.l,{title:"Choose target languages",name:"target-langs",placeholder:"Choose language",options:e,selectedOptions:n,onSelectionChange:e=>f([...e]),getOptionLabel:e=>e.name,getOptionValue:e=>e.id.toString(),maxVisibleOptions:5,isLoading:p,error:P}),(0,t.jsxs)("div",{className:"flex-col gap-2",children:[(0,t.jsxs)("div",{className:"flex gap-1",children:[(0,t.jsx)("span",{className:nZ.heading,id:"source-label",children:"Choose data source"}),(0,t.jsx)(ne.m,{classNames:{content:nZ.tooltip},placement:"bottom",tooltip:"For greater flexibility in data selection, use tags. Tags allow you to gather data from one or multiple projects in Lokalise. If you have high-quality translations in a single project, you can also use the review status option instead.",children:(0,t.jsx)("span",{className:"flex items-center",children:(0,t.jsx)(nn.R,{size:"16px"})})})]}),(0,t.jsx)(na.l,{"aria-labelledby":"source-label",placeholder:"Choose source",options:nV,getOptionLabel:e=>e.label,getOptionValue:e=>e.value,onChange:e=>{null!==e&&(y([]),k(null),v(e.value))},value:T,error:D})]}),(0,t.jsx)(nY,{dataSource:l,hasClickedNext:B,isLoadingTags:g,isLoadingProjects:u,projects:i,tags:r,selectedTag:d,selectedProjects:s,onProjectsChange:y,onTagChange:k})]}),(0,t.jsxs)(el,{children:[(0,t.jsx)(R.$,{variant:"tertiary",onClick:j,children:"Cancel"}),(0,t.jsx)(R.$,{onClick:()=>{I(!0),o&&n.length&&l&&(s.length||d)&&b()},variant:"primary",children:"Next"})]})]}),(0,t.jsx)(ei,{children:(0,t.jsx)(eL,{children:(0,t.jsxs)(e_,{children:[(0,t.jsx)(eM,{name:x,integration:A}),(0,t.jsxs)(eS,{children:[(0,t.jsx)(ez,{sourceLanguage:o,highlighted:!0}),(0,t.jsx)(eR,{}),(0,t.jsx)(eO,{children:(0,t.jsx)(em.n,{highlighted:!0,type:l??void 0,tag:d??void 0,projects:s,sourceLangId:o?.id,targetLangs:n})})]})]})})})]})},nW=a.p+"assets/15437a08097f4a54.svg";var nH=a(66010),nF={};nF.styleTagTransform=K(),nF.setAttributes=W(),nF.insert=V().bind(null,"head"),nF.domAPI=q(),nF.insertStyleElement=F(),Y()(nH.A,nF);let n$=nH.A&&nH.A.locals?nH.A.locals:void 0,nK=({onNext:e,onClose:n})=>(0,t.jsxs)(ee,{children:[(0,t.jsxs)(en,{children:[(0,t.jsxs)(ea,{children:[(0,t.jsx)(et,{children:"Custom AI profile setup guide"}),(0,t.jsxs)(eo,{children:["Custom AI profiles are tailored to your specific content (e.g., legal documents) and deliver superior translation quality. Check the"," ",(0,t.jsx)(eW,{href:eh.T$,rel:"noreferrer",target:"_blank",children:"docs."})]})]}),(0,t.jsxs)("div",{className:"flex-col gap-4",children:[(0,t.jsx)("h3",{className:n$.heading,children:"Your steps"}),(0,t.jsx)(e6,{title:"Phase 1 - Basics & profiles",description:"Name the profile and set model routing",icon:(0,t.jsx)(eb,{size:"16px"})}),(0,t.jsx)(e6,{title:"Phase 2 - Translation examples & languages",description:"Choose which past translations to use as examples and the languages that should use them.",icon:(0,t.jsx)(eG.U,{size:"16px"})}),(0,t.jsx)(e6,{title:"Phase 3 - Activation",description:"Select the projects which the AI profile should be applied to.",icon:(0,t.jsx)(eX.P,{size:"16px"})})]}),(0,t.jsxs)(el,{children:[(0,t.jsx)(R.$,{variant:"tertiary",onClick:n,children:"Cancel"}),(0,t.jsx)(R.$,{onClick:e,variant:"primary",children:"Next"})]})]}),(0,t.jsx)(ei,{children:(0,t.jsx)("img",{alt:"overview",src:nW})})]}),nG=({onNext:e,onClose:n,name:a,onNameChange:o,selectedAiModel:l,onAiModelSelected:i})=>{let[s,r]=(0,c.useState)(!1),d=s&&!a.length&&nk;return(0,t.jsxs)(ee,{children:[(0,t.jsxs)(en,{children:[(0,t.jsxs)(ea,{children:[(0,t.jsx)(et,{children:"Choose your profile basics"}),(0,t.jsxs)(eo,{children:["Choose a name that reflects the profile's purpose. The LLM provider is set to routing by default, as it ensures the best translation quality."," ",(0,t.jsx)(eW,{href:eh.T$,rel:"noreferrer",target:"_blank",children:"Docs."})]})]}),(0,t.jsxs)("div",{className:"flex-col gap-5",children:[(0,t.jsxs)("div",{className:"flex-col gap-2",children:[(0,t.jsx)("span",{className:nf.heading,id:"name-input",children:"Write profile name"}),(0,t.jsx)(e8.p,{autoFocus:!0,"aria-labelledby":"name-input",error:d,onChange:e=>o(e.target.value),placeholder:"Profile name",value:a})]}),(0,t.jsx)(nr,{selectedModel:l,onModelChange:i})]}),(0,t.jsxs)(el,{children:[(0,t.jsx)(R.$,{variant:"tertiary",onClick:n,children:"Cancel"}),(0,t.jsx)(R.$,{onClick:()=>{r(!0),a.length&&e&&e()},variant:"primary",children:"Next"})]})]}),(0,t.jsx)(ei,{children:(0,t.jsx)(eL,{children:(0,t.jsxs)(e_,{children:[(0,t.jsx)(eM,{name:a,integration:l}),(0,t.jsxs)(eS,{children:[(0,t.jsx)(ez,{}),(0,t.jsx)(eR,{}),(0,t.jsx)(eO,{children:(0,t.jsx)(em.n,{})})]})]})})})]})};var nX=a(18785),nJ=a(13509),n0=a(15759),n1=a(7358),n2={};n2.styleTagTransform=K(),n2.setAttributes=W(),n2.insert=V().bind(null,"head"),n2.domAPI=q(),n2.insertStyleElement=F(),Y()(n1.A,n2);let n6=n1.A&&n1.A.locals?n1.A.locals:void 0,n7={perfectMatch:{evaluatedProfileResult:{value:.52,isBest:!0},baseProfileResult:{value:.11,isBest:null},machineTranslationResult:{value:.08,isBest:null}},translationEditRate:{evaluatedProfileResult:{value:.22,isBest:!0},baseProfileResult:{value:.54,isBest:null},machineTranslationResult:{value:.61,isBest:null}},bleu:{evaluatedProfileResult:{value:.78,isBest:!0},baseProfileResult:{value:.44,isBest:null},machineTranslationResult:{value:.4,isBest:null}},chrf:{evaluatedProfileResult:{value:.85,isBest:!0},baseProfileResult:{value:.61,isBest:null},machineTranslationResult:{value:.55,isBest:null}},meteor:null,aiScore:null,pastAiScore:null,engines:null},n5=({profileId:e,onClose:n})=>(0,t.jsxs)("div",{className:n6.container,children:[(0,t.jsx)(ea,{children:(0,t.jsx)("h2",{className:n6.title,children:"Validate your profile"})}),(0,t.jsxs)("div",{className:n6.contents,children:[(0,t.jsxs)("div",{className:"flex-col gap-1",children:[(0,t.jsx)("h2",{className:n6.title,children:"Evaluate your translation quality"}),(0,t.jsx)("p",{className:n6.captionText,children:"See how your Custom profile performs right out of the box. Run a quick evaluation to understand its quality and start using it with confidence."})]}),(0,t.jsxs)("div",{className:"flex gap-6",children:[(0,t.jsxs)("div",{className:"flex-col gap-1",children:[(0,t.jsxs)("div",{className:"flex gap-2 items-center",children:[(0,t.jsx)(nX.w,{size:"20px",color:"var(--lok-color-text-link-default)"}),(0,t.jsx)("span",{className:n6.captionText,children:"Instant quality benchmark"})]}),(0,t.jsxs)("div",{className:"flex gap-2 items-center",children:[(0,t.jsx)(nX.w,{size:"20px",color:"var(--lok-color-text-link-default)"}),(0,t.jsx)("span",{className:n6.captionText,children:"Trusted metrics"})]}),(0,t.jsxs)("div",{className:"flex gap-2 items-center",children:[(0,t.jsx)(nX.w,{size:"20px",color:"var(--lok-color-text-link-default)"}),(0,t.jsx)("span",{className:n6.captionText,children:"Know before you scale"})]})]}),(0,t.jsx)("div",{className:n6.tableContainer,children:(0,t.jsx)("div",{className:n6.tableInner,children:(0,t.jsx)(n0.E,{children:(0,t.jsx)(nJ.m,{profileName:"Custom profile for Marketing",results:n7})})})})]})]}),(0,t.jsxs)(el,{children:[(0,t.jsx)(R.$,{variant:"tertiary",onClick:n,children:"Cancel"}
964),(0,t.jsx)(R.$,{variant:"primary",href:(0,nD.pt)(e),children:"Evaluate profile"})]})]});var n3=a(88223),n4={};n4.styleTagTransform=K(),n4.setAttributes=W(),n4.insert=V().bind(null,"head"),n4.domAPI=q(),n4.insertStyleElement=F(),Y()(n3.A,n4);let n8=n3.A&&n3.A.locals?n3.A.locals:void 0,n9=({profile:e,onClose:n,enableEvaluations:a})=>{let[o,l]=(0,c.useState)(e?.id??""),[r,d]=(0,c.useState)(e?.name??""),[A,C]=(0,c.useState)(e?.config?.rag?.source_languages?.[0]),[p,g]=(0,c.useState)(e?.config?.rag.target_languages??[]),[u,h]=(0,c.useState)(e?.config?.rag?.tags?.[0]??null),[x,v]=(0,c.useState)(e?.config?.rag.type??null),[b,w]=(0,c.useState)(e?.config?.rag.project_uuids??[]),[E,N]=(0,c.useState)(e?.projects??[]),[P,D]=(0,c.useState)(e?.config?.integration),L=!!e,[_,S]=(0,c.useState)([]),[M,z]=(0,c.useState)(+!!L),R=(0,y.jE)(),O=(0,m.XR)(),Y=f.ET.teamAiConfigurationsKey(O),U=f.TQ.teamLanguagesKey({teamId:O}),q=f.TQ.teamLanguagesKey({teamId:O,base_language_id:A?.id}),{data:Z,isPending:V}=(0,f.m)(m.no,m.Zg,{queryKey:U}),{data:Q,isPending:W}=(0,f.m)(m.no,m.Zg,{queryKey:q}),{data:H,isPending:F}=(0,nS.n)(),{data:$,isPending:K}=(0,ex.K)(),G=E.map(({id:e})=>e),X=$?.filter(e=>G.includes(e.id))??[],J=()=>{let e=L?`${r} has been updated successfully`:`${r} has been created and activated successfully.`;((0,i.P0)({type:"success",title:e}),R.invalidateQueries({queryKey:Y}),!L&&a)?z(5):n()},ee=e=>{if((0,I.CE)(e)&&(0,I.Ej)(e.json)){S(e.json.details.conflicts),z(4);return}if((0,I.CE)(e)&&(0,I.tv)(e.json)){let n=(({violations:e})=>Object.values(e).map(e=>e.join("\n")).join("\n"))(e.json.error);(0,i.P0)({type:"error",title:"Something went wrong",description:(0,t.jsx)("span",{className:n8.toast,children:n})});return}(0,T.o)()},{mutate:en,isPending:ea}=(0,f.$C)(m.no,m.Zg,{onSuccess:J,onError:ee}),{create:et,isPending:eo}=(({onSuccess:e,onCreateSuccess:n,onError:a})=>{let t=(0,m.XR)(),{mutateAsync:o,isPending:l}=(0,f.DE)(m.no,m.Zg,{teamId:t}),{mutateAsync:i,isPending:r}=(0,f.$C)(m.no,m.Zg),c=(0,k.H)();return{create:async({projects:l,profile:r})=>{try{let a=await o(r);n(a.data),c(s.A.AI_PROFILE_CREATED,{profile_id:a.data.id}),await i({project_ids:l,teamId:t,configurationId:a.data.id}),e(a.data)}catch(e){a(e)}},isPending:l||r}})({onSuccess:J,onError:ee,onCreateSuccess:({id:e})=>l(e)}),{update:el,isPending:ei}=B({onSuccess:J,onError:ee}),es=async()=>en({project_ids:E.map(e=>e.id),teamId:O,configurationId:o,force:!0}),er=()=>z(e=>e+1);return(0,t.jsx)(j.E,{title:L?"Update profile":"Create profile",className:n8.modal,opened:!0,onClose:n,children:(0,t.jsxs)(eC.v,{stepIndex:M,children:[(0,t.jsx)(nK,{onClose:n,onNext:er}),(0,t.jsx)(nG,{onNext:er,onClose:n,name:r,isEdit:L,onNameChange:d,selectedAiModel:P,onAiModelSelected:D}),(0,t.jsx)(nQ,{sourceLangs:Z?.data?.base_languages,targetLangs:Q?.data?.target_languages??[],selectedSourceLang:A,selectedTargetLangs:p,dataSource:x,projects:$??[],selectedProjects:b,tags:H?.data??[],selectedTag:u,integration:P,isEdit:L,isLoadingLanguages:W,isLoadingProjects:K,isLoadingTags:F,isLoadingSourceLangs:V,name:r,onSourceLangChange:C,onSelectedTargetLangsChange:g,onDataSourceChange:v,onProjectsChange:w,onTagChange:h,onClose:n,onNext:er}),(0,t.jsx)(nM,{isEdit:L,isActivating:ei||eo,projects:$??[],selectedProjects:X,name:r,targetLangs:p,sourceLang:A,integration:P,onProjectsChange:N,onActivate:()=>{if(!x)throw Error("TRAP: Attempting to create AI profile with no specified data source");L?el({projects:E.map(e=>e.id),profileId:e.id,profile:{name:r,is_default:e?.is_default,config:{rag:{source_languages:A?[A.id]:void 0,target_languages:p.map(e=>e.id),type:x,tags:u?[u]:void 0,project_uuids:b},integration:P}}}):et({projects:E.map(e=>e.id),profile:{name:r,is_default:!1,config:{rag:{type:x,tags:u?[u]:void 0,source_languages:A?[A?.id]:void 0,target_languages:p.map(e=>e.id),project_uuids:b},integration:P}}})},onClose:n}),(0,t.jsx)(ed,{onClose:n,onUpdate:es,profileName:r,conflicts:_,isOverriding:ea}),(0,t.jsx)(n5,{onClose:n,profileId:o})]})})};var ae=a(81478),an={};an.styleTagTransform=K(),an.setAttributes=W(),an.insert=V().bind(null,"head"),an.domAPI=q(),an.insertStyleElement=F(),Y()(ae.A,an);let aa=ae.A&&ae.A.locals?ae.A.locals:void 0,at=({children:e,className:n,id:a})=>(0,t.jsx)("div",{id:a,className:(0,r.A)(aa.container,n),children:e});var ao=a(52234),al={};al.styleTagTransform=K(),al.setAttributes=W(),al.insert=V().bind(null,"head"),al.domAPI=q(),al.insertStyleElement=F(),Y()(ao.A,al);let ai=ao.A&&ao.A.locals?ao.A.locals:void 0,as=({integration:e})=>{let n=ar(e);return(0,t.jsx)(ne.m,{tooltip:n,children:(0,t.jsx)("div",{className:ai.container,children:(0,t.jsx)(eB,{"aria-label":n,integration:e,size:"14px",role:"img"})})})},ar=e=>{switch(e){case"claude":return"Claude";case"gpt":return"GPT";case"gemini":return"Gemini";default:return"Routing"}};var ac=a(66402),ad={};ad.styleTagTransform=K(),ad.setAttributes=W(),ad.insert=V().bind(null,"head"),ad.domAPI=q(),ad.insertStyleElement=F(),Y()(ac.A,ad);let aA=ac.A&&ac.A.locals?ac.A.locals:void 0,aC=({title:e,tooltip:n})=>(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("span",{className:aA.title,children:e}),!!n&&(0,t.jsx)(ne.m,{classNames:{content:aA.tooltip},placement:"bottom",tooltip:n,children:(0,t.jsx)("span",{"data-testid":"More information",className:"flex",children:(0,t.jsx)(nn.R,{size:"16px"})})})]});var ap=a(79707),ag=a(97636),au=a(41631),ah=a(86134),ax=a(87354),af={};af.styleTagTransform=K(),af.setAttributes=W(),af.insert=V().bind(null,"head"),af.domAPI=q(),af.insertStyleElement=F(),Y()(ax.A,af);let am=ax.A&&ax.A.locals?ax.A.locals:void 0,av=({children:e})=>(0,t.jsx)(ap.W,{menuButton:({opened:e})=>(0,t.jsx)(ag.K,{active:e,ariaLabel:"Profile actions",children:(0,t.jsx)(au.W,{})}),children:(0,t.jsx)(ah.c,{className:am.menu,placement:"bottom-end",children:e})});var ay=a(33041);let ak=e=>(0,t.jsx)(ay.A,{...e,children:(0,t.jsx)("path",{d:"M9.99 1.658a.625.625 0 0 0-.615.634v2.083a.625.625 0 1 0 1.25 0V2.292a.627.627 0 0 0-.635-.634M6.117 2.692a.625.625 0 0 0-.512.945L6.646 5.44a.625.625 0 1 0 1.083-.625L6.687 3.012a.63.63 0 0 0-.57-.32m7.747 0a.63.63 0 0 0-.551.32L12.27 4.816a.626.626 0 1 0 1.083.625l1.041-1.804a.625.625 0 0 0-.531-.945M3.34 5.517a.625.625 0 0 0-.33 1.17l1.805 1.042a.625.625 0 1 0 .625-1.083L3.637 5.605a.6.6 0 0 0-.296-.088m13.362 0a.63.63 0 0 0-.34.088L14.56 6.646a.626.626 0 1 0 .625 1.083l1.804-1.042a.625.625 0 0 0-.285-1.17M2.292 9.375a.625.625 0 1 0 0 1.25h2.083a.626.626 0 1 0 0-1.25zm13.333 0a.625.625 0 1 0 0 1.25h2.083a.626.626 0 0 0 .242-1.205.6.6 0 0 0-.242-.045zM5.156 12.183a.63.63 0 0 0-.34.088l-1.804 1.042a.625.625 0 1 0 .625 1.082l1.804-1.041a.625.625 0 0 0-.285-1.17m9.73 0a.625.625 0 0 0-.327 1.17l1.804 1.042a.624.624 0 0 0 .926-.702.63.63 0 0 0-.3-.38l-1.805-1.042a.6.6 0 0 0-.297-.088m-7.689 2.055a.63.63 0 0 0-.55.32l-1.042 1.805a.625.625 0 1 0 1.082.625l1.042-1.804a.625.625 0 0 0-.532-.946m5.587.001a.625.625 0 0 0-.513.945l1.042 1.804a.626.626 0 1 0 1.082-.625l-1.
964041-1.804a.63.63 0 0 0-.57-.32m-2.794.752a.625.625 0 0 0-.615.634v2.083a.625.625 0 1 0 1.25 0v-2.083a.627.627 0 0 0-.635-.634"})});var aj=a(28804),ab=a(65852),aB=a(41994),aI={};aI.styleTagTransform=K(),aI.setAttributes=W(),aI.insert=V().bind(null,"head"),aI.domAPI=q(),aI.insertStyleElement=F(),Y()(aB.A,aI);let aw=aB.A&&aB.A.locals?aB.A.locals:void 0;var aE=a(5305),aT=a(2831);function aN(e,n){let a=e.getFullYear()-n.getFullYear()||e.getMonth()-n.getMonth()||e.getDate()-n.getDate()||e.getHours()-n.getHours()||e.getMinutes()-n.getMinutes()||e.getSeconds()-n.getSeconds()||e.getMilliseconds()-n.getMilliseconds();return a<0?-1:a>0?1:a}let aP=({isInProgress:e,hasEvaluations:n,profileId:a,evaluationsLimit:i,evaluationsRenewalDate:s,isAtEvaluationsLimit:r,isLoadingEvaluations:c})=>{let d=(0,nN.Zp)();if(e)return(0,t.jsx)(R.$,{disabled:!0,size:"sm",variant:"secondary",children:(0,t.jsxs)("div",{className:"flex gap-1 items-center",children:[(0,t.jsx)(ak,{size:"12px"})," Evaluating"]})});if(n)return(0,t.jsx)(R.$,{onClick:()=>d((0,nD.l)(a)),size:"sm",variant:"secondary",children:(0,t.jsxs)("div",{className:"flex gap-1 items-center",children:[(0,t.jsx)(aj.B,{size:"12px"})," See metrics"]})});if(c)return(0,t.jsx)(o.E,{animated:!0,description:"Loading...",children:(0,t.jsx)(l.M,{width:125,height:30})});if(r){let e=(e=>{if(!e)return"";let n=function(e,n){let[a,t]=(0,aE.x)(void 0,e,n),o=aN(a,t),l=Math.abs((0,aT.m)(a,t));a.setDate(a.getDate()-o*l);let i=Number(aN(a,t)===-o),s=o*(l-i);return 0===s?0:s}(new Date(e),new Date);return 0===n?"":`${n} days`})(s);return(0,t.jsx)(ab.A,{content:(0,t.jsxs)("p",{className:aw.tooltip,children:["You have used all evaluations available for this month. You can wait ",e," for your quota to reset, or"," ",(0,t.jsx)("a",{href:"/team#billing",target:"_blank",rel:"noreferrer",children:"upgrade your plan"})," ","to access additional evaluations."]}),enterWithoutClosing:!0,triggerEvent:"hover",withArrow:!0,children:(0,t.jsx)(R.$,{disabled:!0,size:"sm",variant:"secondary",children:(0,t.jsxs)("div",{className:"flex gap-1 items-center",children:[(0,t.jsx)(aj.B,{size:"12px"})," ",`${i}/${i}`," used"]})})})}return(0,t.jsx)(R.$,{onClick:()=>d((0,nD.pt)(a)),size:"sm",variant:"secondary",children:(0,t.jsxs)("div",{className:"flex gap-1 items-center",children:[(0,t.jsx)(aj.B,{size:"12px"})," Evaluate"]})})};var aD=a(65824),aL={};aL.styleTagTransform=K(),aL.setAttributes=W(),aL.insert=V().bind(null,"head"),aL.domAPI=q(),aL.insertStyleElement=F(),Y()(aD.A,aL);let a_=aD.A&&aD.A.locals?aD.A.locals:void 0,aS=({projects:e,maxVisibleProjects:n=4})=>{let a=e.length>n,o=e.slice(0,n),l=e.slice(n),i=l.reduce((e,n,a)=>0===a?n.name:`${e}, ${n.name}`,"");return e&&0!==e.length?(0,t.jsxs)("div",{className:"flex-col gap-2",children:[(0,t.jsx)("div",{className:a_.title,children:"Activated in projects"}),(0,t.jsxs)("div",{className:"flex gap-2",children:[o.map(({name:e,id:n})=>(0,t.jsx)(ev.v,{className:a_.tag,children:e},n)),a&&(0,t.jsx)(ne.m,{classNames:{content:a_.tooltip},tooltip:i,children:(0,t.jsx)("div",{children:(0,t.jsx)(ev.v,{className:a_.tag,fullWidth:!0,children:`${l.length} more`})})})]})]}):(0,t.jsxs)("div",{className:"flex-col gap-2",children:[(0,t.jsx)("div",{className:a_.title,children:"Activated in projects"}),(0,t.jsx)("div",{className:a_.blankMessage,children:"Choose projects to activate the configuration"})]})};var aM=a(78213),az=a(40426),aR={};aR.styleTagTransform=K(),aR.setAttributes=W(),aR.insert=V().bind(null,"head"),aR.domAPI=q(),aR.insertStyleElement=F(),Y()(az.A,aR);let aO=az.A&&az.A.locals?az.A.locals:void 0,aY=({type:e})=>{switch(e){case"active":return(0,t.jsx)("span",{className:`${aO.base} ${aO.active}`,children:"Active"});case"inactive":return(0,t.jsx)("span",{className:`${aO.base} ${aO.inactive}`,children:"Inactive"});case"updating":return(0,t.jsxs)("span",{className:`${aO.base} ${aO.inactive}`,children:[(0,t.jsx)(aM.U,{size:"1.2em"})," Updating"]});case"default":return(0,t.jsx)("span",{className:`${aO.base} ${aO.default}`,children:"Default"});default:return null}},aU=({text:e="Custom"})=>(0,t.jsx)("span",{className:`${aO.base} ${aO.custom}`,children:e});var aq=a(9835),aZ={};aZ.styleTagTransform=K(),aZ.setAttributes=W(),aZ.insert=V().bind(null,"head"),aZ.domAPI=q(),aZ.insertStyleElement=F(),Y()(aq.A,aZ);let aV=aq.A&&aq.A.locals?aq.A.locals:void 0,aQ=({profile:e,enableEvaluations:n,evaluationsLimit:a,evaluationsRenewalDate:o,isAtEvaluationsLimit:l,isLoadingEvaluations:i,showEdit:s})=>{let[r,d]=(0,c.useState)(!1),[A,C]=(0,c.useState)(!1),p=(0,nN.Zp)(),{deactivate:g,isPending:u}=nP({profile:e}),h=(e?.evaluations?.count||0)>0,x=e.evaluations?.status==="in-progress",f=(0,nD.pt)(e.id);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(at,{children:[(0,t.jsxs)("div",{className:"flex justify-between",children:[(0,t.jsxs)("div",{className:"flex-col gap-3",children:[(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsx)(aU,{}),(0,t.jsx)(aY,{type:u?"updating":e.status}),(0,t.jsx)(as,{integration:e.config.integration})]}),(0,t.jsx)(aC,{title:e.name})]}),(0,t.jsxs)("div",{className:`${aV.editMenuContainer} flex gap-2 items-center`,children:[n&&(0,t.jsx)(aP,{profileId:e.id,isInProgress:x,hasEvaluations:h,evaluationsLimit:a,evaluationsRenewalDate:o,isAtEvaluationsLimit:l,isLoadingEvaluations:i}),s&&(0,t.jsxs)(av,{children:[(0,t.jsx)(nT.D,{onClick:()=>d(!0),children:"Edit"}),n&&h&&(0,t.jsx)(nT.D,{onClick:()=>p(f),disabled:x||l,children:"Reevaluate"}),e.projects.length>0&&(0,t.jsx)(nT.D,{onClick:()=>g({profileId:e.id}),children:"Deactivate"}),(0,t.jsx)(nT.D,{className:aV.deleteMenuItem,onClick:()=>C(!0),children:"Delete"})]})]})]}),(0,t.jsx)(aS,{projects:e.projects})]}),r&&(0,t.jsx)(n9,{onClose:()=>d(!1),profile:e}),A&&(0,t.jsx)(n_,{profile:e,onClose:()=>C(!1)})]})};var aW=a(60859),aH={};aH.styleTagTransform=K(),aH.setAttributes=W(),aH.insert=V().bind(null,"head"),aH.domAPI=q(),aH.insertStyleElement=F(),Y()(aW.A,aH);let aF=aW.A&&aW.A.locals?aW.A.locals:void 0,a$=a.p+"assets/0cee8c4b422f2a8c.svg";var aK=a(36932),aG={};aG.styleTagTransform=K(),aG.setAttributes=W(),aG.insert=V().bind(null,"head"),aG.domAPI=q(),aG.insertStyleElement=F(),Y()(aK.A,aG);let aX=aK.A&&aK.A.locals?aK.A.locals:void 0,aJ=({name:e,selectedAiModel:n,isLoading:a,onAiModelSelected:o,onSubmit:l,onClose:i})=>(0,t.jsxs)(ee,{children:[(0,t.jsxs)(en,{children:[(0,t.jsxs)(ea,{children:[(0,t.jsx)(et,{children:"Basic settings"}),(0,t.jsxs)(eo,{children:["This step allows to change basic profile settings, such as the LLM provider. Routing is enabled by default, as it ensures the best translation quality"," ",(0,t.jsx)(eW,{href:eh.T$,rel:"noreferrer",target:"_blank",children:"docs."})]})]}),(0,t.jsxs)("div",{className:"flex-col gap-5",children:[(0,t.jsxs)("div",{className:"flex-col gap-2",children:[(0,t.jsx)("span",{className:aX.heading,id:"name-input",children:"Name AI profile"}),(0,t.jsx)(e8.p,{autoFocus:!0,disabled:!0,"aria-labelledby":"name-input",placeholder:"Profile name",value:e})]}),(0,t.jsx)(nr,{selectedModel:n,onModelChange:o})]}),(0,t.jsxs)(el,{children:[(0,t.jsx)(R.$,{variant:"tertiary",onClick:i,children:"Cancel"}),(0,t.jsx)(R.$,{loading:a,disabled:a,onClick:l,variant:"primary",children:"Update"})]})]}),(0,t.jsx)(ei,{children:(0,t.jsx)("img",{alt:"overview",src:a$})})]});var a0=a(14348),a1={};a1.styleTagTransform=K(),a1.setAttributes=W(),a1.insert=V().bind(null,"head"),a1.domAPI=q(),a1.insertStyleElement=F(),Y()(a0.A,a1);
964let a2=a0.A&&a0.A.locals?a0.A.locals:void 0,a6=({name:e,onNext:n,onClose:a})=>(0,t.jsxs)(ee,{children:[(0,t.jsxs)(en,{children:[(0,t.jsxs)(ea,{children:[(0,t.jsxs)(et,{children:[e," edit guide"]}),(0,t.jsxs)(eo,{children:["This profile is used by default in all projects that include AI suggestions, AI tasks, AI scoring, or AI automations. Need more info? See the"," ",(0,t.jsx)(eW,{href:eh.T$,rel:"noreferrer",target:"_blank",children:"docs."})]})]}),(0,t.jsxs)("div",{className:"flex-col gap-4",children:[(0,t.jsx)("h3",{className:a2.stepsContainerHeading,children:"Overview"}),(0,t.jsx)(e6,{title:"One step - Select profile's basics",description:"Modifying the profile's basic settings allows you to configure either routing or a specific LLM for the profile. This configuration will impact all projects utilizing Pro AI.",icon:(0,t.jsx)(eG.U,{size:"16px"})})]}),(0,t.jsxs)(el,{children:[(0,t.jsx)(R.$,{variant:"tertiary",onClick:a,children:"Cancel"}),(0,t.jsx)(R.$,{onClick:n,variant:"primary",children:"Next"})]})]}),(0,t.jsx)(ei,{children:(0,t.jsx)("img",{alt:"overview",src:a$})})]}),a7=({profile:e,onClose:n})=>{let a=(0,m.XR)(),[o,l]=(0,c.useState)(0),[s,r]=(0,c.useState)(e.config?.integration),d=T.o,{mutate:A,isPending:C}=(0,f.Lt)(m.no,m.Zg,{onSuccess:()=>{(0,i.P0)({type:"success",title:`${e.name} has been updated`}),n()},onError:d});return(0,t.jsx)(j.E,{className:aF.modal,opened:!0,onClose:n,title:"TM profile assignment",children:(0,t.jsxs)(eC.v,{stepIndex:o,children:[(0,t.jsx)(a6,{name:e.name,onClose:n,onNext:()=>l(e=>e+1)}),(0,t.jsx)(aJ,{name:e.name,selectedAiModel:s,isLoading:C,onAiModelSelected:r,onClose:n,onSubmit:()=>A({teamId:a,configurationId:e.id,name:e.name,is_default:e.is_default,config:{integration:s}})})]})})};var a5=a(9903),a3={};a3.styleTagTransform=K(),a3.setAttributes=W(),a3.insert=V().bind(null,"head"),a3.domAPI=q(),a3.insertStyleElement=F(),Y()(a5.A,a3);let a4=a5.A&&a5.A.locals?a5.A.locals:void 0,a8=({profile:e,showEdit:n})=>{let[a,o]=(0,c.useState)(!1);return(0,t.jsxs)(at,{children:[(0,t.jsxs)("div",{className:"flex justify-between",children:[(0,t.jsxs)("div",{className:"flex-col gap-3",children:[(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsx)(aY,{type:"default"}),(0,t.jsx)(aY,{type:"active"}),(0,t.jsx)(as,{integration:e.config.integration})]}),(0,t.jsx)(aC,{title:"Base AI profile"})]}),n&&(0,t.jsx)(R.$,{type:"button",variant:"tertiary",size:"sm",onClick:()=>o(e=>!e),children:"Edit"}),a&&(0,t.jsx)(a7,{onClose:()=>o(!1),profile:e})]}),(0,t.jsx)("div",{className:a4.bodyText,children:(0,t.jsxs)("p",{children:["This is your Pro AI that runs automatically in your projects for AI suggestions, AI tasks, and AI automations â using standard context like Glossary and Style Guide. For higher translation quality create custom AI profiles."," ",(0,t.jsx)("a",{href:eh.T$,rel:"noopener noreferrer",target:"_blank",children:"Learn more"})]})})]})};var a9=a(79479),te={};te.styleTagTransform=K(),te.setAttributes=W(),te.insert=V().bind(null,"head"),te.domAPI=q(),te.insertStyleElement=F(),Y()(a9.A,te);let tn=a9.A&&a9.A.locals?a9.A.locals:void 0,ta=({status:e,title:n,profile:a,hasEditPermissions:o,hasTMEvaluationEnabled:l,onOpenAssignmentModal:i})=>{let s=(0,nN.Zp)(),{deactivate:r,isPending:c}=nP({profile:a}),d=(a?.evaluations?.count||0)>0,A=a.evaluations?.status==="in-progress",C=(0,nD.pt)(a.id),p=a.projects.length>0,g="active"===e,u="The AI profile leverages Translation Memories (TMs) assigned in each project to improve translation qualityâoften delivering better results than the base AI profile. It updates automatically whenever TMs are modified. ",h=o&&!p,x=o&&p,f=o&&l&&p;return(0,t.jsxs)(at,{children:[(0,t.jsxs)("div",{className:"flex justify-between","data-testid":"profile-card-tm",children:[(0,t.jsxs)("div",{className:"flex-col gap-3",children:[(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsx)(aU,{}),(0,t.jsx)(aY,{type:c?"updating":a.status}),(0,t.jsx)(as,{integration:a.config.integration})]}),(0,t.jsx)(aC,{title:n,tooltip:g?u:""})]}),(0,t.jsxs)("div",{className:`${tn.editMenuContainer} flex gap-2 items-center`,children:[f&&(0,t.jsx)(aP,{profileId:a.id,isInProgress:A,hasEvaluations:d}),x&&(0,t.jsxs)(av,{children:[(0,t.jsx)(nT.D,{onClick:i,children:"Edit"}),d&&f&&(0,t.jsx)(nT.D,{onClick:()=>s(C),disabled:A,children:"Reevaluate"}),(0,t.jsx)(nT.D,{onClick:()=>r({profileId:a.id}),children:"Deactivate"})]})]}),h&&(0,t.jsx)(R.$,{type:"button",variant:"secondary",size:"sm",onClick:i,children:"Activate to use"})]}),g&&p?(0,t.jsx)(aS,{projects:a.projects}):(0,t.jsx)("div",{className:tn.bodyText,children:(0,t.jsxs)("span",{children:[u," ",(0,t.jsx)("a",{href:eh.T$,rel:"noreferrer",target:"_blank",children:"Learn more"})]})})]})},tt=({children:e,storageKey:n=tl})=>{let a=(0,c.useMemo)(()=>to(n),[n]),t=(0,c.useRef)(!1);return((0,c.useEffect)(()=>{!1===t.current&&(t.current=!0,localStorage.setItem(n,`${to(n)+1}`))},[n]),e?.length)?e[a%e.length]??null:null},to=e=>Number(localStorage.getItem(e)??"0"),tl="lok-cycle-components-page-visit-count";var ti=a(39548);let ts=e=>(0,t.jsx)(ay.A,{...e,children:(0,t.jsx)("path",{d:"M4.37502 3.33337C2.88671 3.33337 1.66669 4.5534 1.66669 6.04171V13.9584C1.66669 15.4467 2.88671 16.6667 4.37502 16.6667H15.625C17.1133 16.6667 18.3334 15.4467 18.3334 13.9584V6.04171C18.3334 4.5534 17.1133 3.33337 15.625 3.33337H4.37502ZM4.37502 4.58337H15.625C16.4375 4.58337 17.0834 5.22918 17.0834 6.04171V6.50232L10 10.3313L2.91669 6.50232V6.04171C2.91669 5.22918 3.56249 4.58337 4.37502 4.58337ZM2.91669 7.92322L9.70298 11.5918C9.79423 11.6411 9.89631 11.6669 10 11.6669C10.1037 11.6669 10.2058 11.6411 10.2971 11.5918L17.0834 7.92322V13.9584C17.0834 14.7709 16.4375 15.4167 15.625 15.4167H4.37502C3.56249 15.4167 2.91669 14.7709 2.91669 13.9584V7.92322Z"})});var tr=a(39330),tc=a(183),td={};td.styleTagTransform=K(),td.setAttributes=W(),td.insert=V().bind(null,"head"),td.domAPI=q(),td.insertStyleElement=F(),Y()(tc.A,td);let tA=tc.A&&tc.A.locals?tc.A.locals:void 0,tC=({children:e})=>(0,t.jsxs)("div",{className:tA.container,children:[(0,t.jsxs)("div",{className:tA.legal,children:[(0,t.jsx)(ti.j,{size:"20px",color:"var(--lok-color-text-link-default)"}),"Legal content"]}),(0,t.jsxs)("div",{className:tA.blog,children:[(0,t.jsx)(ts,{size:"20px",color:"var(--lok-color-text-link-default)"}),"Blog content profile"]}),(0,t.jsx)("div",{className:tA.button,children:e}),(0,t.jsxs)("div",{className:tA.support,children:[(0,t.jsx)(tr.t,{size:"20px",color:"var(--lok-color-text-link-default)"}
964),"Support centre content"]}),(0,t.jsxs)("div",{className:tA.marketing,children:[(0,t.jsx)(ts,{size:"20px",color:"var(--lok-color-text-link-default)"}),"Marketing content"]})]}),tp=e=>{let n=(0,k.H)();(0,c.useEffect)(()=>{n(s.A.AI_PROFILE_PAGE_BANNER_SHOWN,{variant:e,plan_id:(0,m.Pg)(),user_id:(0,m.ZH)()})},[n,e])};var tg=a(27034),tu={};tu.styleTagTransform=K(),tu.setAttributes=W(),tu.insert=V().bind(null,"head"),tu.domAPI=q(),tu.insertStyleElement=F(),Y()(tg.A,tu);let th=tg.A&&tg.A.locals?tg.A.locals:void 0,tx=({children:e})=>(0,t.jsx)("div",{className:th.container,"data-testid":"upsell-banner",children:e}),tf=({children:e})=>(0,t.jsx)("div",{className:th.textContainer,children:e}),tm=({children:e})=>(0,t.jsx)("h3",{className:th.header,children:e}),tv=({children:e})=>(0,t.jsx)("div",{className:th.subHeader,children:e}),ty=({children:e})=>(0,t.jsx)("div",{className:th.subHeader_blue,children:e}),tk=({children:e})=>(0,t.jsx)("p",{className:th.body,children:e}),tj=({children:e})=>(0,t.jsx)("div",{className:th.ctaContainer,children:e}),tb=({children:e})=>(0,t.jsx)("p",{className:th.ctaSubText,children:e}),tB=({children:e,...n})=>(0,t.jsx)(R.$,{...n,className:th.secondaryButton,variant:"secondary",children:e}),tI=({children:e})=>(0,t.jsx)("div",{className:th.hideableContainer,children:e}),tw=({enableEvaluations:e})=>{let[n,a]=(0,c.useState)(!1);return tp("custom_inactive_create_profile"),(0,t.jsxs)(tx,{children:[(0,t.jsxs)(tf,{children:[(0,t.jsx)(ty,{children:"MARKET SPECIFIC TRANSLATIONS"}),(0,t.jsx)(tm,{children:"Tailor your content for specific target group"}),(0,t.jsx)(tk,{children:"Create custom AI profiles for every content type. Build separate profiles for Marketing, Product, Legal, Support, and moreâso AI uses the right examples for every translation. Set up in just 2 minutes and scale consistent, high-quality content with ease."})]}),(0,t.jsx)(tC,{children:(0,t.jsx)(tB,{onClick:()=>a(!0),children:"Create content specific profile"})}),n&&(0,t.jsx)(n9,{onClose:()=>a(!1),enableEvaluations:e})]})},tE=a.p+"assets/18c4d1a1a6d9e85f.svg";var tT=a(41607),tN={};tN.styleTagTransform=K(),tN.setAttributes=W(),tN.insert=V().bind(null,"head"),tN.domAPI=q(),tN.insertStyleElement=F(),Y()(tT.A,tN);let tP=tT.A&&tT.A.locals?tT.A.locals:void 0,tD=({children:e})=>(0,t.jsx)("div",{className:tP.container,children:e}),tL=()=>(0,t.jsxs)("div",{className:tP.upToContainer,children:[(0,t.jsxs)("div",{className:tP.variant1__containerInner,children:[(0,t.jsx)("div",{className:tP.upTo,children:"up to"}),(0,t.jsx)("div",{className:tP.bigText,children:"40"}),(0,t.jsx)("div",{className:tP.lessEdits,children:"less edits"})]}),(0,t.jsx)("div",{className:tP.percentage,children:"%"})]}),t_=()=>(0,t.jsx)(tD,{children:(0,t.jsx)("div",{className:tP.variant1__container,children:(0,t.jsx)(tL,{})})}),tS=()=>(0,t.jsx)(tD,{children:(0,t.jsx)("div",{className:tP.variant2__container,children:(0,t.jsxs)("div",{className:tP.variant2__innerContainer,children:[(0,t.jsx)("div",{className:tP.variant2__left,children:(0,t.jsx)("div",{className:tP.variant2__number,children:"2"})}),(0,t.jsxs)("div",{className:tP.variant2__right,children:[(0,t.jsxs)("div",{className:tP.variant2__text,children:["Up to ",(0,t.jsx)("br",{}),"edit-free ",(0,t.jsx)("br",{}),"translations"]}),(0,t.jsx)("div",{className:tP.variant2__decimal,children:".5X"})]})]})})});var tM=a(85379),tz={};tz.styleTagTransform=K(),tz.setAttributes=W(),tz.insert=V().bind(null,"head"),tz.domAPI=q(),tz.insertStyleElement=F(),Y()(tM.A,tz);let tR=tM.A&&tM.A.locals?tM.A.locals:void 0,tO={perfectMatch:{evaluatedProfileResult:{value:.602,isBest:!0},baseProfileResult:{value:.11,isBest:null},machineTranslationResult:{value:.08,isBest:null}},translationEditRate:{evaluatedProfileResult:{value:.2,isBest:!0},baseProfileResult:{value:.54,isBest:null},machineTranslationResult:{value:.61,isBest:null}},bleu:{evaluatedProfileResult:{value:.65,isBest:!0},baseProfileResult:{value:.44,isBest:null},machineTranslationResult:{value:.4,isBest:null}},chrf:{evaluatedProfileResult:{value:.88,isBest:!0},baseProfileResult:{value:.61,isBest:null},machineTranslationResult:{value:.55,isBest:null}},meteor:null,aiScore:null,pastAiScore:null,engines:null},tY=()=>(tp("evaluation"),(0,t.jsxs)(tx,{children:[(0,t.jsxs)(tf,{children:[(0,t.jsx)(tv,{children:"AUTOMATIC QUALITY CHECK"}),(0,t.jsxs)(tm,{children:["See the difference ",(0,t.jsx)("br",{}),"for yourself."]}
964),(0,t.jsx)("p",{className:tR.bodyText,children:"Use evaluation to prove the value of Custom Profiles. Benchmark against Base AI Profile and Google Translate and demonstrate up to 40% less editing effort with significantly higher exact-match performance."})]}),(0,t.jsxs)("div",{className:"flex-col gap-2 items-center",children:[(0,t.jsx)(tL,{}),(0,t.jsxs)("p",{className:tR.subText,children:["Custom profiles comparing ",(0,t.jsx)("br",{}),"to Base AI profile"]})]}),(0,t.jsxs)("div",{className:tR.ctaContainer,children:[(0,t.jsx)("div",{className:tR.tableContainer,children:(0,t.jsx)("div",{className:tR.tableInner,children:(0,t.jsx)(n0.E,{children:(0,t.jsx)(nJ.m,{profileName:"Custom profile for Marketing",results:tO})})})}),(0,t.jsxs)("div",{className:tR.fakeButtonContainer,children:[(0,t.jsxs)("div",{className:tR.fakeButton,children:[(0,t.jsx)(aj.B,{size:"13px",color:"var(--lok-color-text-action-alt-primary)"}),"Evaluate"]}),(0,t.jsx)("img",{src:tE,"aria-hidden":!0})]})]})]})),tU="ai-profiles-page-evaluations-cta",tq=({onClickTmCta:e})=>(tp("tm_inactive_less_editing"),(0,t.jsxs)(tx,{children:[(0,t.jsxs)(tf,{children:[(0,t.jsx)(tv,{children:"2 MIN SETUP"}),(0,t.jsx)(tm,{children:"Try Custom Profiles and save hours of translation editing."}),(0,t.jsx)(tk,{children:"Custom AI Profiles can deliver up to 40% less editing effort and significantly more edit-free translations than the Base AI Profile. Set up in just 2 minutes and scale consistent, high-quality translations with ease."})]}),(0,t.jsx)(tI,{children:(0,t.jsx)(t_,{})}),(0,t.jsxs)(tj,{children:[(0,t.jsx)(tB,{onClick:e,children:"Start translating and check"}),(0,t.jsx)(tb,{children:"Translate and compare your Custom Profile with the Base AI Profile and Google Translate"})]})]})),tZ=({onClickTmCta:e})=>(tp("tm_inactive_zero_edits"),(0,t.jsxs)(tx,{children:[(0,t.jsxs)(tf,{children:[(0,t.jsx)(tv,{children:"2 MIN SETUP"}),(0,t.jsx)(tm,{children:"Get 2.5x more translations that require zero edits"}),(0,t.jsx)(tk,{children:"Stop wasting time fixing AI translations. Custom AI profiles use your approved content to improve translation quality, so you get over twice as many translations that need no edits. Set up in just 2 minutes and scale reliable, high-quality translations with ease."})]}),(0,t.jsx)(tI,{children:(0,t.jsx)(tS,{})}),(0,t.jsxs)(tj,{children:[(0,t.jsx)(tB,{onClick:e,children:"Start translating and check"}),(0,t.jsx)(tb,{children:"Translate and compare your Custom Profile with the Base AI Profile and Google Translate"})]})]})),tV=()=>(tp("tm_active_market_specific"),(0,t.jsxs)(tx,{children:[(0,t.jsxs)(tf,{children:[(0,t.jsx)(ty,{children:"MARKET SPECIFIC TRANSLATIONS"}),(0,t.jsx)(tm,{children:"Tailor your content for specific target group"}),(0,t.jsx)(tk,{children:"Upgrade to curate exactly which examples AI sees. Create separate profiles for Marketing, Product, or Legalâideal when your Translation Memory is mixed and you need higher precision per content type."})]}),(0,t.jsx)(tC,{children:(0,t.jsx)(tB,{id:tU,children:"Unlock it and start translating"})})]})),tQ=()=>(tp("static_less_editing"),(0,t.jsxs)(tx,{children:[(0,t.jsxs)(tf,{children:[(0,t.jsx)(tv,{children:"2 MIN SETUP"}),(0,t.jsx)(tm,{children:"Try Custom Profiles and save hours of translation editing."}),(0,t.jsx)(tk,{children:"Custom AI Profiles can deliver up to 40% less editing effort and significantly more edit-free translations than the Base AI Profile. Set up in just 2 minutes and scale consistent, high-quality translations with ease."})]}),(0,t.jsx)(tI,{children:(0,t.jsx)(t_,{})}),(0,t.jsxs)(tj,{children:[(0,t.jsx)(R.$,{variant:"primary",id:tU,children:"Unlock it and start translating"}),(0,t.jsx)(tb,{children:"Translate and compare your Custom Profile with the Base AI Profile and Google Translate"})]})]})),tW=()=>(tp("static_zero_edits"),(0,t.jsxs)(tx,{children:[(0,t.jsxs)(tf,{children:[(0,t.jsx)(tv,{children:"2 MIN SETUP"}),(0,t.jsx)(tm,{children:"Get 2.5x more translations that require zero edits"}),(0,t.jsx)(tk,{children:"Stop wasting time fixing AI translations. Custom AI profiles use your approved content to improve translation quality, so you get over twice as many translations that need no edits. Set up in just 2 minutes and scale reliable, high-quality translations with ease."})]}),(0,t.jsx)(tI,{children:(0,t.jsx)(tS,{})}),(0,t.jsxs)(tj,{children:[(0,t.jsx)(R.$,{variant:"primary",id:tU,children:"Unlock it and start translating"}),(0,t.jsx)(tb,{children:"Translate and compare your Custom Profile with the Base AI Profile and Google Translate"})]})]})),tH=()=>(tp("static_market_specific"),(0,t.jsxs)(tx,{children:[(0,t.jsxs)(tf,{children:[(0,t.jsx)(ty,{children:"MARKET SPECIFIC TRANSLATIONS"}),(0,t.jsx)(tm,{children:"Tailor your content for specific target group"}),(0,t.jsx)(tk,{children:"Upgrade to create custom AI profiles for every content type. Build separate profiles for Marketing, Product, Legal, Support, and moreâso AI uses the right examples for every translation. Set up in just 2 minutes and scale consistent, high-quality content with ease."})]}),(0,t.jsx)(tC,{children:(0,t.jsx)(R.$,{variant:"primary",id:tU,children:"Unlock it and start translating"})})]})),tF=({permissions:e,isTMProfileActivated:n,isCustomProfileActivated:a,onClickTmCta:o,enableEvaluations:l})=>{let i=!0===e.staticProfile.canView&&!1===e.predefinedProfile.canView&&!1===e.customProfile.canView,s=e.predefinedProfile.canView&&e.predefinedProfile.canEdit,r=e.customProfile.canView&&e.customProfile.canEdit,c=i?[(0,t.jsx)(tQ,{},"upsell-variant-1"),(0,t.jsx)(tW,{},"upsell-variant-2"),(0,t.jsx)(tH,{},"upsell-variant-3")]:[],d=!s||n||a?[]:[(0,t.jsx)(tq,{onClickTmCta:o},"tm-variant-1"),(0,t.jsx)(tZ,{onClickTmCta:o},"tm-variant-2")],A=s&&n&&!r?[(0,t.jsx)(tV,{},"tm-variant-3")]:[],C=[...c,...d,...r&&!a?[(0,t.jsx)(tw,{enableEvaluations:!!l},"custom-banner")]:[],...A,...l&&(a||n)?[(0,t.jsx)(tY,{},"evals-banner")]:[]];return(0,t.jsx)(tt,{children:C})};var t$=a(12287),tK={};tK.styleTagTransform=K(),tK.setAttributes=W(),tK.insert=V().bind(null,"head"),tK.domAPI=q(),tK.insertStyleElement=F(),Y()(t$.A,tK);let tG=t$.A&&t$.A.locals?t$.A.locals:void 0,tX=({enableEvaluations:e,enableTMEvaluations:n})=>{let a=(0,k.H)(),[d,A]=(0,c.useState)(!1),{profiles:C,pending:p}=(()=>{let{profiles:e,isPending:n,isSuccess:a}=v(),{isLoadingPermissions:t,isPermissionsLoadSuccess:o,canView:l}=u();return(0,c.useMemo)(()=>{let i=a&&o,s=n||t;return s?{pending:s,success:i}:{pending:s,success:i,profiles:{staticProfile:l(e?.staticProfile)?e?.staticProfile:void 0,predefinedProfile:l(e?.predefinedProfile)?e?.predefinedProfile:void 0,customProfiles:(e?.customProfiles??[]).filter(l)}}}
964,[l,e,t,o,n,a])})(),{isLoadingPermissions:h,permissions:x,canEdit:j}=u();(0,c.useEffect)(()=>{a(s.A.AI_PROFILE_PAGE_OPENED)},[a]);let{isPending:b}=(()=>{let e=(0,m.XR)(),n=(0,c.useMemo)(()=>f.ET.teamAiConfigurationsKey(e),[e]),a=(0,y.jE)(),t=(0,c.useRef)(!1),{profiles:o,isPending:l,isSuccess:i}=v(),{permissions:s,isPending:r,isSuccess:d}=(0,g._)(),A=(0,f.DE)(m.no,m.Zg,{teamId:e}),{mutateAsync:C,isPending:p}=A;return(0,c.useEffect)(()=>{if(l||p||r||!d||!i||t.current)return;let e=[],c=o?.staticProfile===void 0,A=s?.predefinedProfile.canView&&o?.predefinedProfile===void 0;c&&e.push(C({name:"Base AI profile",is_default:!0,is_static:!0})),A&&e.push(C({name:"AI profile - TM",is_default:!1,config:{rag:{type:"tm",created_after:null,source_languages:[],target_languages:[],tags:[]}}})),e.length&&(t.current=!0,(async()=>{let t=(await Promise.allSettled(e)).filter(e=>"fulfilled"===e.status).map(e=>e.value.data);a.setQueryData(n,e=>e?{data:[...t,...e.data]}:{data:t})})())},[C,o,i,l,p,s,r,d,a,n]),A})();if(p||b||h)return(0,t.jsx)("div",{className:"flex-col gap-5",children:(0,t.jsx)("div",{className:tG.cardsContainer,children:(0,t.jsx)("div",{className:tG.contents,children:(0,t.jsxs)(o.E,{className:"flex flex-wrap gap-5 justify-center",description:"Loading AI configurations",animated:!0,children:[(0,t.jsx)(l.M,{width:"45%",height:184}),(0,t.jsx)(l.M,{width:"45%",height:184})]})})})});let{staticProfile:B,predefinedProfile:I}=x,w=B.canView&&!I.canView,E=C?.predefinedProfile,T=E?.config.rag.created_after?new Date(E.config.rag.created_after):void 0;return(0,t.jsxs)("div",{className:tG.container,children:[(0,t.jsxs)("div",{className:tG.cardsContainer,children:[(0,t.jsxs)("div",{className:(0,r.A)(tG.contents,w&&tG.singleCard),children:[C?.staticProfile?(0,t.jsx)(a8,{profile:C.staticProfile,showEdit:j(C?.staticProfile)}):null,E?(0,t.jsx)(ta,{status:E.status,title:E.name,profile:E,hasEditPermissions:j(E),hasTMEvaluationEnabled:n,onOpenAssignmentModal:()=>A(!0)}):null,C?.customProfiles?.map(n=>(0,t.jsx)(aQ,{profile:n,enableEvaluations:e,showEdit:j(n)},n.id))]}),(0,t.jsx)(tF,{permissions:x,isTMProfileActivated:!!E?.projects.length,isCustomProfileActivated:!!C?.customProfiles.some(e=>!!e.projects.length),onClickTmCta:()=>A(!0),enableEvaluations:e})]}),d&&E&&(0,t.jsx)(nE,{onActivateSuccess:()=>{(0,i.P0)({type:"success",title:`${E.name} has been updated`}),A(!1)},onClose:()=>A(!1),isEdit:"active"===E.status,initialDate:T,initialProjects:E.projects,initialSourceLang:E.config.rag?.source_languages?.[0],initialTargetLangs:E.config.rag.target_languages,profile:E})]})};var tJ=a(15710);let t0=({enableEvaluations:e})=>{let[n,a]=(0,c.useState)(!1);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(R.$,{onClick:()=>a(!0),variant:"primary",children:"Create AI profile"}),n&&(0,t.jsx)(n9,{onClose:()=>a(!1),enableEvaluations:e})]})},t1=e=>{let{permissions:n}=(0,g._)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(tJ.wx,{className:"justify-between",children:[(0,t.jsx)(tJ.fb,{children:"AI profiles (Pro AI)"}),n?.customProfile.canEdit&&(0,t.jsx)("div",{className:"flex justify-end",children:(0,t.jsx)(t0,{enableEvaluations:e.enableEvaluations})})]}),(0,t.jsx)(tJ.z4,{className:"flex flex-col",children:(0,t.jsx)(tX,{...e})})]})}},61521(e,n,a){a.d(n,{BB:()=>C}),Symbol.for("constructDateFrom");let t={},o={};function l(e,n){try{let a=(t[e]||=new Intl.DateTimeFormat("en-GB",{timeZone:e,hour:"numeric",timeZoneName:"longOffset"}).format)(n).split("GMT")[1]||"";if(a in o)return o[a];return s(a,a.split(":"))}catch{if(e in o)return o[e];let n=e?.match(i);if(n)return s(e,n.slice(1));return NaN}}let i=/([+-]\d\d):?(\d\d)?/;function s(e,n){let a=+n[0],t=+(n[1]||0);return o[e]=a>0?60*a+t:60*a-t}class r extends Date{constructor(...e){super(),e.length>1&&"string"==typeof e[e.length-1]&&(this.timeZone=e.pop()),this.internal=new Date,isNaN(l(this.timeZone,this))?this.setTime(NaN):e.length?"number"==typeof e[0]&&(1===e.length||2===e.length&&"number"!=typeof e[1])?this.setTime(e[0]):"string"==typeof e[0]?this.setTime(+new Date(e[0])):e[0]instanceof Date?this.setTime(+e[0]):(this.setTime(+new Date(...e)),A(this,NaN),d(this)):this.setTime(Date.now())}static tz(e,...n){return n.length?new r(...n,e):new r(Date.now(),e)}withTimeZone(e){return new r(+this,e)}getTimezoneOffset(){return-l(this.timeZone,this)}setTime(e){return Date.prototype.setTime.apply(this,arguments),d(this),+this}[Symbol.for("constructDateFrom")](e){return new r(+new Date(e),this.timeZone)}}let c=/^(get|set)(?!UTC)/;function d(e){e.internal.setTime(+e),e.internal.setUTCMinutes(e.internal.getUTCMinutes()-e.getTimezoneOffset())}function A(e){let n=l(e.timeZone,e),a=new Date(+e);a.setUTCHours(a.getUTCHours()-1);let t=-new Date(+e).getTimezoneOffset(),o=t- -new Date(+a).getTimezoneOffset(),i=Date.prototype.getHours.apply(e)!==e.internal.getUTCHours();o&&i&&e.internal.setUTCMinutes(e.internal.getUTCMinutes()+o);let s=t-n;s&&Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+s);let r=l(e.timeZone,e),c=-new Date(+e).getTimezoneOffset()-r-s;if(r!==n&&c){Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+c);let n=r-l(e.timeZone,e);n&&(e.internal.setUTCMinutes(e.internal.getUTCMinutes()+n),Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+n))}}
964Object.getOwnPropertyNames(Date.prototype).forEach(e=>{if(!c.test(e))return;let n=e.replace(c,"$1UTC");r.prototype[n]&&(e.startsWith("get")?r.prototype[e]=function(){return this.internal[n]()}:(r.prototype[e]=function(){var e;return Date.prototype[n].apply(this.internal,arguments),e=this,Date.prototype.setFullYear.call(e,e.internal.getUTCFullYear(),e.internal.getUTCMonth(),e.internal.getUTCDate()),Date.prototype.setHours.call(e,e.internal.getUTCHours(),e.internal.getUTCMinutes(),e.internal.getUTCSeconds(),e.internal.getUTCMilliseconds()),A(e),+this},r.prototype[n]=function(){return Date.prototype[n].apply(this,arguments),d(this),+this}))});class C extends r{static tz(e,...n){return n.length?new C(...n,e):new C(Date.now(),e)}toISOString(){let[e,n,a]=this.tzComponents(),t=`${e}${n}:${a}`;return this.internal.toISOString().slice(0,-1)+t}toString(){return`${this.toDateString()} ${this.toTimeString()}`}toDateString(){let[e,n,a,t]=this.internal.toUTCString().split(" ");return`${e?.slice(0,-1)} ${a} ${n} ${t}`}toTimeString(){var e,n;let a=this.internal.toUTCString().split(" ")[4],[t,o,l]=this.tzComponents();return`${a} GMT${t}${o}${l} (${e=this.timeZone,n=this,new Intl.DateTimeFormat("en-GB",{timeZone:e,timeZoneName:"long"}).format(n).slice(12)})`}toLocaleString(e,n){return Date.prototype.toLocaleString.call(this,e,{...n,timeZone:n?.timeZone||this.timeZone})}toLocaleDateString(e,n){return Date.prototype.toLocaleDateString.call(this,e,{...n,timeZone:n?.timeZone||this.timeZone})}toLocaleTimeString(e,n){return Date.prototype.toLocaleTimeString.call(this,e,{...n,timeZone:n?.timeZone||this.timeZone})}tzComponents(){let e=this.getTimezoneOffset(),n=String(Math.floor(Math.abs(e)/60)).padStart(2,"0"),a=String(Math.abs(e)%60).padStart(2,"0");return[e>0?"-":"+",n,a]}withTimeZone(e){return new C(+this,e)}[Symbol.for("constructDateFrom")](e){return new C(+new Date(e),this.timeZone)}}},41428(e,n,a){a.d(n,{F:()=>p});var t=a(74848),o=a(50489),l=a(97636),i=a(9730),s=a(13720),r=a(4360),c=a(24142),d=a(77756),A=a(18785);let C={success:(0,t.jsx)(A.w,{}),info:(0,t.jsx)(d.R,{}),warning:(0,t.jsx)(c.N,{}),error:(0,t.jsx)(r.I,{}),ai:(0,t.jsx)(s.R,{})},p=({status:e="warning",onClose:n,children:a,withStartAdornmentIcon:s=!1,customAdornmentIcon:r=null,className:c="",iconButtonProps:d={},...A})=>(0,t.jsxs)("div",{className:`${o.Ay.alertContainer} ${o.Ay[`${e}Container`]} ${c}`,...A,children:[s?(0,t.jsx)("div",{className:o.Ay.adornmentIconContainer,children:r??C[e]}):null,(0,t.jsx)("div",{className:o.Ay.alertContent,children:a}),n?(0,t.jsx)(l.K,{ariaLabel:"Close",onClick:n,className:o.Ay.closeButton,...d,children:(0,t.jsx)(i.b,{})}):null]})},50489(e,n,a){a.d(n,{Ay:()=>t});let t={alertContainer:"_alertContainer_22lo0_1",successContainer:"_successContainer_22lo0_10",errorContainer:"_errorContainer_22lo0_16",warningContainer:"_warningContainer_22lo0_22",infoContainer:"_infoContainer_22lo0_28",aiContainer:"_aiContainer_22lo0_34",adornmentIconContainer:"_adornmentIconContainer_22lo0_40",closeButton:"_closeButton_22lo0_48",alertContent:"_alertContent_22lo0_53",alertLink:"_alertLink_22lo0_62"}},82089(e,n,a){a.d(n,{l:()=>g});var t=a(74848),o=a(34164),l=a(52991),i=a(4189),s=a(68048),r=a(65852),c=a(59146),d=a(41731);let A=({onDayClick:e,...n})=>(0,t.jsx)(d.C,{mode:"single",onDayClick:(n,a,t)=>{e&&(n.setHours(12),e(n,a,t))},...n});var C=a(9730),p=a(99262);let g=({name:e,value:n,disabledDays:a,onClear:d,onChange:g,error:u,inPortal:h=!1,positioning:x,className:f})=>{let{formatDate:m}=(0,i.o)(),{isInvalid:v,errorMessages:y}=(0,s.A)(u);return(0,t.jsxs)("div",{className:(0,o.A)(l.Ay.container,f),children:[(0,t.jsx)(r.A,{placement:"bottom-start",offset:1,inPortal:h,positioning:x,content:e=>(0,t.jsx)("div",{className:l.Ay.drawerContent,children:(0,t.jsx)(A,{disabled:a,selected:n,onDayClick:(n,a)=>{a.disabled||(g(n),e(!1))}})}),children:a=>(0,t.jsxs)("button",{className:(0,o.A)(l.Ay.dateBox,{[l.Ay.dateBoxOpened]:a,[l.Ay.dateBoxError]:v,[l.Ay.dateBoxWithClear]:!!d}),type:"button",name:e,"aria-label":"Select Date","aria-invalid":v,"aria-errormessage":y.length>0?y.map(e=>e.id).join(" "):void 0,children:[(0,t.jsx)("span",{className:l.Ay.dateBoxLabel,children:n?m(n,"PP"):(0,t.jsx)("span",{className:l.Ay.placeholder,children:"Select date..."})}),(0,t.jsx)("div",{className:l.Ay.iconWrapper,children:(0,t.jsx)(c.V,{size:"17px"})})]})}),d&&n&&(0,t.jsx)("div",{className:l.Ay.clearButtonWrapper,children:(0,t.jsx)("button",{"aria-label":"Clear date",className:l.Ay.clearButton,onClick:d,type:"button",children:(0,t.jsx)(C.b,{size:"16px"})})}),y.length>0&&(0,t.jsx)(p.Y,{children:y})]})}},37998(e,n,a){a.d(n,{J:()=>i});var t=a(74848),o=a(34164);let l="_underline_rwm9s_7",i=({text:e,description:n,required:a,underline:i=!1,for:s,id:r,className:c,children:d})=>(0,t.jsxs)("label",{htmlFor:s,className:(0,o.A)("_container_rwm9s_1",{[l]:i},c),children:[(0,t.jsxs)("div",{id:r,className:(0,o.A)("_labelText_rwm9s_12",{[l]:i}),children:[e,a?(0,t.jsx)("span",{className:"_asteriskIcon_rwm9s_30",role:"img","aria-label":"Required"}):null,!!n&&(0,t.jsx)("p",{className:"_labelDescription_rwm9s_23",children:n})]}),d&&(0,t.jsx)("div",{children:d})]})},62852(e,n,a){a.d(n,{j:()=>i});var t=a(74848),o=a(34164),l=a(86461);let i=({children:e,className:n})=>(0,t.jsx)("footer",{className:(0,o.A)(l.Ay.footer,n),children:e})},46961(e,n,a){a.d(n,{Z:()=>d});var t=a(74848),o=a(25039),l=a(62852),i=a(51794),s=a(44650),r=a(65754),c=a(58980);let d=({children:e,confirmText:n,closeText:a="Close",loading:d=!1,title:A,tooltipTitle:C,onClose:p,onConfirm:g,...u})=>(0,t.jsxs)(s.E,{title:A,onClose:p,...u,children:[(0,t.jsx)(i.r,{children:A}
964),(0,t.jsx)(o.c,{children:e}),(0,t.jsxs)(l.j,{children:[(0,t.jsx)(r.$,{appearance:"accent",variant:"tertiary",onClick:p,children:a}),(0,t.jsx)(c.m,{tooltip:C,show:!!C,children:(0,t.jsx)(r.$,{appearance:"danger",variant:"primary",loading:d,onClick:g,children:n})})]})]})},28804(e,n,a){a.d(n,{B:()=>l});var t=a(74848),o=a(33041);let l=e=>(0,t.jsx)(o.A,{...e,children:(0,t.jsx)("path",{d:"M3.11524 2.49104C2.94962 2.49363 2.7918 2.56185 2.67644 2.68071C2.56109 2.79958 2.49763 2.95937 2.5 3.12499V16.875C2.50002 17.0408 2.56587 17.1997 2.68308 17.3169C2.80029 17.4341 2.95925 17.5 3.125 17.5H16.875C16.9578 17.5012 17.0401 17.4859 17.1169 17.455C17.1938 17.4241 17.2637 17.3782 17.3227 17.3201C17.3817 17.2619 17.4285 17.1926 17.4605 17.1162C17.4924 17.0398 17.5089 16.9578 17.5089 16.875C17.5089 16.7922 17.4924 16.7102 17.4605 16.6338C17.4285 16.5573 17.3817 16.488 17.3227 16.4299C17.2637 16.3717 17.1938 16.3259 17.1169 16.295C17.0401 16.2641 16.9578 16.2488 16.875 16.25H3.75V3.12499C3.7512 3.04134 3.7356 2.9583 3.70411 2.88079C3.67263 2.80328 3.6259 2.73288 3.56671 2.67376C3.50751 2.61464 3.43705 2.56801 3.3595 2.53662C3.28195 2.50523 3.19889 2.48974 3.11524 2.49104ZM16.9067 3.74267C16.7947 3.7379 16.6835 3.76333 16.5847 3.8163C16.4859 3.86928 16.4032 3.94785 16.3452 4.04378L13.7028 8.27148L12.3747 6.49983C12.3132 6.41787 12.2324 6.35229 12.1396 6.30887C12.0468 6.26544 11.9447 6.24551 11.8424 6.25081C11.7401 6.25612 11.6406 6.2865 11.5528 6.3393C11.4649 6.39209 11.3914 6.46566 11.3387 6.55354L9.31722 9.92268L7.99968 8.1665C7.93912 8.08593 7.85999 8.0212 7.76901 7.97783C7.67804 7.93445 7.57792 7.91372 7.47721 7.9174C7.37649 7.92108 7.27815 7.94905 7.19058 7.99895C7.10301 8.04884 7.0288 8.11917 6.97429 8.20393L5.09929 11.1206C5.05237 11.1896 5.01974 11.2673 5.00333 11.3492C4.98693 11.431 4.98707 11.5153 5.00376 11.597C5.02045 11.6788 5.05335 11.7564 5.10051 11.8253C5.14767 11.8941 5.20814 11.9528 5.27836 11.9979C5.34857 12.043 5.42711 12.0736 5.50933 12.0879C5.59156 12.1022 5.67581 12.0998 5.75712 12.081C5.83843 12.0622 5.91514 12.0273 5.98274 11.9783C6.05034 11.9294 6.10746 11.8674 6.15072 11.7961L7.53988 9.63541L8.87533 11.4168C8.93684 11.4988 9.01756 11.5644 9.11038 11.6078C9.2032 11.6512 9.30528 11.6712 9.40762 11.6658C9.50996 11.6605 9.60942 11.6302 9.69725 11.5774C9.78509 11.5246 9.85859 11.451 9.9113 11.3631L11.9328 7.99397L13.2503 9.75016C13.3113 9.83123 13.391 9.89626 13.4827 9.93962C13.5744 9.98299 13.6753 10.0034 13.7766 9.99906C13.878 9.99474 13.9767 9.96581 14.0644 9.91479C14.152 9.86377 14.226 9.79219 14.2798 9.70621L17.4048 4.70621C17.4645 4.61375 17.4987 4.50716 17.504 4.39723C17.5093 4.28729 17.4855 4.17791 17.435 4.08013C17.3844 3.98236 17.309 3.89966 17.2162 3.84041C17.1235 3.78115 17.0167 3.74744 16.9067 3.74267Z"})})},41631(e,n,a){a.d(n,{W:()=>l});var t=a(74848),o=a(33041);let l=e=>(0,t.jsx)(o.A,{...e,children:(0,t.jsx)("path",{d:"M4.41911 8.125C3.36542 8.125 2.5 8.97053 2.5 10C2.5 11.0295 3.36542 11.875 4.41911 11.875C5.47258 11.875 6.33822 11.0295 6.33822 10C6.33822 8.97053 5.47258 8.125 4.41911 8.125ZM15.5809 8.125C14.5272 8.125 13.6618 8.97053 13.6618 10C13.6618 11.0295 14.5272 11.875 15.5809 11.875C16.6344 11.875 17.5 11.0295 17.5 10C17.5 8.97053 16.6344 8.125 15.5809 8.125ZM10 8.12567C8.94647 8.12567 8.08157 8.97105 8.08157 10C8.08157 11.0291 8.94669 11.8743 10 11.8743C11.0533 11.8743 11.9184 11.0291 11.9184 10C11.9184 8.9709 11.0533 8.12567 10 8.12567Z"})})},13720(e,n,a){a.d(n,{R:()=>l});var t=a(74848),o=a(33041);let l=e=>(0,t.jsx)(o.A,{...e,children:(0,t.jsx)("path",{d:"M13.125 17.0833C12.8537 17.0833 12.6129 16.9079 12.53 16.6496L11.3104 12.8562L7.51706 11.6367C7.25873 11.5537 7.08331 11.3129 7.08331 11.0417C7.08331 10.7704 7.25873 10.5296 7.51706 10.4467L11.3104 9.22708L12.53 5.43375C12.6129 5.17542 12.8537 5 13.125 5C13.3962 5 13.6371 5.17542 13.72 5.43375L14.9396 9.22708L18.7329 10.4467C18.9912 10.5296 19.1666 10.7704 19.1666 11.0417C19.1666 11.3129 18.9912 11.5537 18.7329 11.6367L14.9396 12.8562L13.72 16.6496C13.6371 16.9079 13.3962 17.0833 13.125 17.0833ZM4.99998 9.58333C4.73081 9.58333 4.49206 9.41125 4.40706 9.15625L3.6204 6.79625L1.2604 6.00958C1.0054 5.92458 0.833313 5.68583 0.833313 5.41667C0.833313 5.1475 1.0054 4.90875 1.2604 4.82375L3.6204 4.03708L4.40706 1.67708C4.49206 1.42208 4.73081 1.25 4.99998 1.25C5.26915 1.25 5.5079 1.42208 5.5929 1.67708L6.37956 4.03708L8.73956 4.82375C8.99456 4.90875 9.16665 5.1475 9.16665 5.41667C9.16665 5.68583 8.99456 5.92458 8.73956 6.00958L6.37956 6.79625L5.5929 9.15625C5.5079 9.41125 5.26915 9.58333 4.99998 9.58333ZM4.37498 18.75C4.10581 18.75 3.86706 18.5779 3.78206 18.3229L3.15123 16.4317L1.2604 15.8012C1.0054 15.7162 0.833313 15.4775 0.833313 15.2083C0.833313 14.9392 1.0054 14.7004 1.2604 14.6154L3.15123 13.985L3.78206 12.0938C3.86706 11.8387 4.10581 11.6667 4.37498 11.6667C4.64415 11.6667 4.8829 11.8387 4.9679 12.0938L5.59831 13.985L7.48956 14.6154C7.74456 14.7004 7.91665 14.9392 7.91665 15.2083C7.91665 15.4775 7.74456 15.7162 7.48956 15.8012L5.59831 16.4317L4.9679 18.3229C4.8829 18.5779 4.64415 18.75 4.37498 18.75Z"})})},16172(e,n,a){a.d(n,{f:()=>l});var t=a(43329),o=a(29407);function l(e,n,a){let l=(0,o.a)(e,a?.in);return isNaN(n)?(0,t.w)(a?.in||e,NaN):(n&&l.setDate(l.getDate()+n),l)}},66304(e,n,a){a.d(n,{P:()=>l});var t=a(43329),o=a(29407);function l(e,n,a){let l=(0,o.a)(e,a?.in);if(isNaN(n))return(0,t.w)(a?.in||e,NaN);if(!n)return l;let i=l.getDate(),s=(0,t.w)(a?.in||e,l.getTime());return(s.setMonth(l.getMonth()+n+1,0),i>=s.getDate())?s:(l.setFullYear(s.getFullYear(),s.getMonth(),i),l)}}}]); 965//# sourceMappingURL=2884.d8d155576501c73e.js.map
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.