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e,QACpDmI,EAAA,MAAMI,EAAYvI,CAAU,CAEvC,CAAmB,EAEnB,iBAAiB,+BAAkCnF,GAAgC,CACjF,KAAM,CAAE,OAAAG,EAAQ,OAAQ,CAAE,cAAAwN,EAAe,aAAAC,IAAmB5N,EAGxDG,EAAO,aAAa,SAAS,GAAKwN,IAAkB,MAAQC,IAAiB,UAC/EzN,EAAO,YAAY,EAMjBA,aAAkB,mBAAqBwN,IAAkB,QAAUC,IAAiB,WACtF5N,EAAE,eAAe,EACjBG,EAAO,MAAM,EAEjB,CAAmB,EAGnB0N,GAAoB,SAAW,UAAY,CAChC,uBAAc,cAAc,GAAG,MAAM,EACxCC,GAAM,KAAK,MAAM,CACzB","names":["accordionController","Controller","collapsible","details","activeController","item","anchorController","middleware","offset","flip","computePosition","x","y","autoUpdate","anchor","entries","anchorWidth","currentTarget","href","e","src","url","target","behavior","autoshowElement","dialog","asideController","characterCountController","clipboardController","bronto","terry","trex","trike","confettiController","confetti","counterController","csvController","input","file","dropdownController","useClickOutside","filterController","Fuse","el","textWalker","query","results","highlightRanges","result","range","match","highlight","filteredOut","checkbox","formController","event","debounce","button","value","element","googleLoader","Loader","AutocompleteSuggestion","googlePlacesController","suggestions","suggestion","place","resultElement","hasManyFieldsController","newHTML","wrapper","captureEvent","title","field","posthog","intakeController","intakeErrorsController","multiselectController","scopeElement","checkboxes","navigationController","outlet","nextCandidacyController","nextCandidacyId","reachedSelectionBlock","nextId","selected","active","selectionsController","popoverApiController","popoverController","arrow","middlewareData","arrowY","popoverSearchController","posthogController","ph","psuedoLinkController","scrollController","scrollTop","originalRender","currElement","newElement","elementAfterRendering","tabsController","tab","index","templateController","bodySource","submitButton","subjectSource","toastController","enter","leave","trixController","customGroup","toolbarElement","linkButton","validateURL","variable","newGroup","name","reloadController","userSearchController","inputValue","viewTransitionController","visibilityController","Factors","FactorsLabel","props","__props","topImportantFactors","ref","drag","factorsText","otherFactor","onMounted","isChecked","computed","factorKey","isDisabled","_hoisted_2","_createElementVNode","_sfc_render","_ctx","_cache","deselectResult","toRefs","GraphQLSource","gqlQuery","ApolloClient","InMemoryCache","GooglePlacesSource","autoCompleteSuggestion","NoopSource","_query","definedStores","useComboBoxStore","storeId","defineComboBoxStore","defineStore","comboboxId","isLoading","isDropdownOpen","isSingleSelect","useInputValueByDefault","selections","source","unselectedResults","isResultSelected","hasQuery","search","showResultsOnEmptySearch","closeDropdown","response","selectResult","val","r","toggleDropdown","textToResult","text","store","uniqueId","storeToRefs","candidate","addCandidate","onPaste","newResult","showCreateNew","queryInput","createGraphQLSource","queryValue","__variableDynamicImportRuntimeHelper","__vitePreload","onBeforeMount","company","staticSource","data","datum","fuseOptions","industryNames","industry","location","combobox","form","useEventListener","skill","setupSentry","app","environment","Sentry.init","BrowserTracing","components","componentDefinitions","path","definition","vueController","createApp","componentName","pinia","createPinia","PiniaDebounce","application","Application","controllers","registerControllers","Attachment","DirectUpload","error","blob","request","uploader","attachment","Alpine","a","collapse","persist","oldElement","attributeName","mutationType","Turbo.StreamActions","Turbo.visit"],"ignoreList":[],"sources":["../../../app/frontend/v2/controllers/accordion-controller.ts","../../../app/frontend/v2/controllers/active-controller.ts","../../../app/frontend/v2/controllers/anchor-controller.ts","../../../app/frontend/v2/controllers/modal-controller.ts","../../../app/frontend/v2/controllers/aside-controller.ts","../../../app/frontend/v2/controllers/character-count-controller.ts","../../../app/frontend/v2/controllers/clipboard-controller.ts","../../../app/frontend/images/v2/confetti/dino_bronto_64.png","../../../app/frontend/images/v2/confetti/dino_terry_64.png","../../../app/frontend/images/v2/confetti/dino_trex_64.png","../../../app/frontend/images/v2/confetti/dino_trike_64.png","../../../app/frontend/v2/controllers/confetti-controller.ts","../../../app/frontend/v2/controllers/counter-controller.ts","../../../app/frontend/v2/controllers/csv-controller.ts","../../../app/frontend/v2/controllers/dropdown-controller.ts","../../../app/frontend/v2/controllers/filter-controller.ts","../../../app/frontend/v2/controllers/form-controller.ts","../../../app/frontend/v2/controllers/google-places-controller.ts","../../../app/frontend/v2/controllers/has-many-fields-controller.ts","../../../app/frontend/v2/posthog/index.ts","../../../app/frontend/v2/controllers/intake-controller.ts","../../../app/frontend/v2/controllers/intake-errors-controller.ts","../../../app/frontend/v2/controllers/multiselect-controller.ts","../../../app/frontend/v2/controllers/navigation-controller.ts","../../../app/frontend/v2/controllers/next-candidacy-controller.ts","../../../app/frontend/v2/controllers/pipeline/selections-controller.ts","../../../app/frontend/v2/controllers/popover-api-controller.ts","../../../app/frontend/v2/controllers/popover-controller.ts","../../../app/frontend/v2/controllers/popover-search-controller.ts","../../../app/frontend/v2/controllers/posthog-controller.ts","../../../app/frontend/v2/controllers/psuedo-link-controller.ts","../../../app/frontend/v2/controllers/scroll-controller.ts","../../../app/frontend/v2/controllers/tabs-controller.ts","../../../app/frontend/v2/controllers/template-controller.ts","../../../app/frontend/v2/controllers/toast-controller.ts","../../../app/frontend/v2/controllers/trix-controller.ts","../../../app/frontend/v2/controllers/turbo/reload-controller.ts","../../../app/frontend/v2/controllers/user-search-controller.ts","../../../app/frontend/v2/controllers/view-transition-controller.ts","../../../app/frontend/v2/controllers/visibility-controller.ts","../../../app/frontend/v2/vue/types.ts","../../../app/frontend/v2/vue/FactorsForm.vue","../../../app/frontend/v2/vue/SpinnerV2.vue","../../../app/frontend/v2/vue/combobox/ResultPill.vue","../../../app/frontend/v2/vue/combobox/sources/GraphQLSource.ts","../../../app/frontend/v2/vue/combobox/sources/GooglePlacesSource.ts","../../../app/frontend/v2/vue/combobox/sources/NoopSource.ts","../../../app/frontend/v2/vue/combobox/store.ts","../../../app/frontend/v2/vue/combobox/CandidatesComboBox.vue","../../../app/frontend/v2/vue/combobox/ResultV2.vue","../../../app/frontend/v2/vue/combobox/DropdownV2.vue","../../../app/frontend/v2/vue/combobox/ComboBoxV2.vue","../../../app/frontend/v2/vue/combobox/sources/createGraphQLSource.ts","../../../app/frontend/v2/vue/combobox/CompanyComboBox.vue","../../../app/frontend/v2/vue/combobox/sources/staticSource.ts","../../../app/frontend/v2/vue/combobox/IndustryComboBox.vue","../../../app/frontend/v2/vue/combobox/LocationComboBox.vue","../../../app/frontend/v2/vue/combobox/PositionTitleComboBox.vue","../../../app/frontend/v2/vue/combobox/SkillComboBox.vue","../../../app/frontend/v2/sentry/index.ts","../../../app/frontend/v2/controllers/vue-controller.ts","../../../app/frontend/v2/controllers/index.ts","../../../app/frontend/v2/alpine/uploader.ts","../../../app/frontend/entrypoints/v2.ts"],"sourcesContent":["import { Controller } from '@hotwired/stimulus'\n\nexport default class extends Controller {\n static targets = ['collapsible']\n\n declare collapsibleTargets: HTMLDetailsElement[]\n\n closeOthers (e: ToggleEvent): void {\n const collapsible = e.target as HTMLDetailsElement\n\n if (collapsible.open) {\n this.collapsibleTargets\n .filter(details => details !== collapsible)\n .forEach(details => this.close(details))\n }\n }\n\n close (details: HTMLDetailsElement): void {\n details.removeAttribute('open')\n }\n}\n","import { Controller } from '@hotwired/stimulus'\n\nexport default class extends Controller {\n static targets = ['item']\n declare itemTargets: HTMLElement[]\n\n activate (e): void {\n this.itemTargets.forEach(item => item.classList.remove('active'))\n e.currentTarget.classList.add('active')\n }\n}\n","import { Controller } from '@hotwired/stimulus'\nimport { computePosition, offset, flip, autoUpdate } from '@floating-ui/dom'\nimport type { Placement, OffsetOptions } from '@floating-ui/dom'\n\nexport default class extends Controller {\n static readonly targets = ['anchor', 'element']\n\n private cleanup: () => void = () => {}\n\n static readonly values = {\n placement: { type: String, default: 'bottom-end' },\n offset: { type: Number, default: 4 },\n matchWidth: { type: Boolean, default: false },\n flip: { type: Boolean, default: true }\n }\n\n declare placementValue: Placement\n declare flipValue: boolean\n declare offsetValue: OffsetOptions\n declare matchWidthValue: boolean\n\n declare anchorTarget: HTMLElement\n declare elementTarget: HTMLElement\n\n connect (): void {\n this.updatePosition()\n }\n\n updatePosition (): void {\n const middleware = [offset(this.offsetValue)]\n\n if (this.flipValue) {\n middleware.push(flip())\n }\n\n computePosition(\n this.anchorTarget,\n this.elementTarget,\n { placement: this.placementValue, middleware }\n ).then(({ x, y }) => {\n Object.assign(this.elementTarget.style, {\n left: `${x}px`,\n top: `${y}px`\n })\n }).catch(() => {})\n }\n\n setPosition (e: ToggleEvent): void {\n (e.newState === 'open')\n ? this.onOpen()\n : this.onClose()\n }\n\n onOpen (): void {\n this.cleanup = autoUpdate(this.anchorTarget, this.elementTarget, () => {\n this.updatePosition()\n })\n }\n\n onClose (): void {\n this.cleanup()\n }\n\n anchorTargetConnected (anchor: HTMLElement): void {\n if (this.matchWidthValue) {\n const observer = new ResizeObserver(entries => {\n const anchorWidth = entries[0].contentRect.width\n this.elementTarget.style.width = `${anchorWidth}px`\n })\n\n observer.observe(anchor)\n }\n }\n}\n","import { Controller } from '@hotwired/stimulus'\n\nexport default class extends Controller {\n static targets = ['dialog', 'turboframe', 'visibility', 'wrapper']\n\n declare dialogTarget: HTMLDialogElement\n declare dialogTargets: HTMLDialogElement[]\n declare turboframeTarget: HTMLElement\n declare visibilityTarget: HTMLElement\n declare wrapperTarget: HTMLElement\n\n declare hasTurboframeTarget: boolean\n declare hasWrapperTarget: boolean\n declare hasDialogTarget: boolean\n\n private identifier: string | null = null\n private urlToLoad: string | null = null\n\n open (e: PointerEvent): void {\n const { currentTarget }: { currentTarget: EventTarget | null } = e\n const href: string | null = (currentTarget as HTMLLinkElement)?.href ?? (currentTarget as HTMLElement)?.dataset?.href\n this.identifier = (e as any).params?.identifier\n\n if (href?.length >= 0) {\n e.preventDefault()\n e.stopPropagation()\n this.load(href)\n }\n\n this.show()\n }\n\n show (): void {\n if (this.hasDialogTarget) {\n this.dialog.showModal()\n }\n }\n\n hide (): void {\n this.dialog.close()\n }\n\n hideIfSuccess (e: CustomEvent): void {\n if (e.detail.success === true) {\n this.hide()\n }\n }\n\n hideOnSuccess (e: Event): void {\n const button = e.currentTarget as HTMLButtonElement\n button.form?.addEventListener('turbo:submit-end', e => {\n this.hideIfSuccess(e as CustomEvent)\n }, { once: true })\n }\n\n hideIfBackdrop (e: PointerEvent): void {\n if (!this.hasWrapperTarget) return\n\n if (!this.wrapperTarget.contains(e.target as HTMLElement)) {\n this.hide()\n }\n }\n\n load (href: string): void {\n const src = `${href}#t=${Date.now()}`\n\n if (this.hasTurboframeTarget) {\n this.turboframeTarget.setAttribute('src', src)\n }\n }\n\n queueModalUrl (url: string): void {\n this.urlToLoad = url\n }\n\n async turboframeTargetConnected (target: HTMLElement): Promise {\n if (this.urlToLoad !== null && target.getAttribute('src') === null) {\n this.load(this.urlToLoad)\n this.show()\n }\n }\n\n async visibilityTargetConnected (target: HTMLElement): Promise {\n const behavior = target.dataset.behavior\n\n if (behavior === 'show') {\n if (target.dataset.url !== undefined) {\n if (this.hasTurboframeTarget) {\n this.load(target.dataset.url)\n } else {\n this.queueModalUrl(target.dataset.url)\n }\n }\n\n this.show()\n } else if (behavior === 'hide') {\n this.hide()\n } else if (behavior === 'hacky-show') {\n addEventListener('turbo:before-render', e => {\n if (e.detail.renderMethod === 'morph') {\n this.show()\n } else {\n const autoshowElement = document.createElement('div')\n autoshowElement.dataset.modalTarget = 'visibility'\n autoshowElement.dataset.behavior = 'show'\n this.dialogTarget.appendChild(autoshowElement)\n }\n }, { once: true })\n }\n\n target.remove()\n }\n\n dialogTargetConnected (dialog: HTMLDialogElement): void {\n dialog.addEventListener('transitionend', () => {\n if (!dialog.open) this.resetTurboframe()\n })\n }\n\n private get dialog (): HTMLDialogElement {\n if (this.identifier === undefined || this.identifier === null) {\n return this.dialogTarget\n } else {\n return this.dialogTargets.find(dialog => dialog.dataset.identifier === this.identifier) as HTMLDialogElement\n }\n }\n\n private resetTurboframe (): void {\n if (this.hasTurboframeTarget) {\n this.turboframeTarget.innerHTML = ''\n this.turboframeTarget.removeAttribute('src')\n }\n }\n}\n","import Controller from './modal-controller'\n\nexport default class extends Controller {\n}\n","import { Controller } from '@hotwired/stimulus'\n\nexport default class extends Controller {\n static targets = ['input', 'counter']\n\n declare inputTarget: HTMLInputElement\n declare counterTarget: HTMLElement\n\n initialize (): void {\n this.update = this.update.bind(this)\n }\n\n connect (): void {\n this.update()\n this.inputTarget.addEventListener('input', this.update)\n }\n\n disconnect (): void {\n this.inputTarget.removeEventListener('input', this.update)\n }\n\n update (): void {\n this.counterTarget.textContent = `${this.characterCount}/${this.maxLength}`\n }\n\n get characterCount (): number {\n return this.inputTarget.value.length\n }\n\n get maxLength (): number {\n return this.inputTarget.maxLength\n }\n}\n","import { Controller } from '@hotwired/stimulus'\n\nexport default class extends Controller {\n static values = { content: String }\n\n declare contentValue: string\n\n copy (): void {\n void navigator.clipboard.writeText(this.contentValue)\n }\n}\n","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAABg2lDQ1BJQ0MgcHJvZmlsZQAAKJF9kT1Iw0AcxV9Ta0UqDs0g4pChdbKLijjWKhShQqgVWnUwH/2CJg1Jiouj4Fpw8GOx6uDirKuDqyAIfoC4ujgpukiJ/0sKLWI8OO7Hu3uPu3cA16opmtWXBDTdNrPplJAvrArhV/SDRwhRxCXFMuZEMQPf8XWPAFvvEizL/9yfY0gtWgoQEIiTimHaxBvEM5u2wXifmFcqkkp8Tjxh0gWJH5kue/zGuOwyxzJ5M5edJ+aJhXIPyz2sVEyNeJo4pmo65XN5j1XGW4y1WkPp3JO9MFLUV5aZTnMMaSxiCSIEyGigihpsJGjVSbGQpf2Uj3/U9YvkkslVhUKOBdShQXL9YH/wu1urNDXpJUVSQOjFcT7iQHgXaDcd5/vYcdonQPAZuNK7/noLmP0kvdnVYkfA8DZwcd3V5D3gcgcYeTIkU3KlIE2uVALez+ibCkD0Fhhc83rr7OP0AchRV5kb4OAQGC9T9rrPuwd6e/v3TKe/H3SBcqdLBrQwAAAABmJLR0QAAAAAAAD5Q7t/AAAJw0lEQVR42u1aeXBU9R3/vPvYe7NkA0lICFe4IkIzELAoYlQiKFJFsKLWsTpVx47OVDudqbXTdmo7o3amnVbbacFKRa0ibYxYMOVykEOUBJArBMzJJpvdzZ5v9139I8dms7thE/H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n/KAECyNGIuDxi7OamBSpvERLIifckRm2dJIpGbYBv8LuGyTRuKAsVzIIbcj65q6Kk/1Or527vVAHpSutKYU8qmtm2ypt7AFxcUUQKXslc4nADZ0wvGakoiheRYDBdWgiShRWMYeFOtKypiLk8SgWktQlbg/uBQQ//m0wol9QV0SC569M43vR81fktX1amsw4qh7w2kdhc457CIqesA9ARt0MISSJoGybOJ/i3yiFzsAGUSEW5qDbi21W92b679lUZTTtokTknnfgAgtbrg2r7nbf9b/109kPGltZwrUmHdcf2PlUDw13krFkEomQhoOnyHT8C6eF4iY74A9JgMNj/+5YnU1gWuIC/hldwAumr3ub1b3v8B+jrVkSF3Pct8+7UPmq6auZaxGEtJgYMekxF1eRA80XTcv33fzwG8nZHrXKnQ7Hxyg0JbjITUcglCcQFIke8jY6jgBULo+tdeWCpng6BpqGEJnt1HUPL4hpSL+g4eD7le3Dpi6pn/vVt5938+nKV1eEgA3SOZ+5j7ARlgijilkDCWT4HjxirompZs/gBoowGB2g/f6XjxH+tBEBAmF4yo9LqmXfala9emf0tah+dTAEdHu/krSUCC/2tROcmnB+yNENiQLsX2M3YzaIsRuqZ96eb5VRBw3nfoeG200w01IoHkRyjbVU015DldsS7vWV1RoQYjI3TcvylN0UwKnlffv9X3Rn0+BKrE+dAd2wAUpQ5PqhRsa1OV7XsrpaOnbuYWz77bOHfqbSnDjMevZYsFDGRjXXqvdATAxZQJVFQGdN0FANLRU34Ab0YPfrZF9gaS11JUBA6f+CirCBisFy60H47H/SFPtMc32Ioagrqu2r0+qc2F0Lm4hvkOn5CUM60/zBoXSKj139r9iu2aqx+TfQGWEjgIpX3fUAVPX+wEsGs4X8G6A7fRVtM2KGoeQRAInWsJeDbXPdmv7F8qvjShJRj62/zSeQ8QJDHXPL+ciPX4XJ5X3vsp0n9kbQRQDcAPYB+y+I1zDjnkkEMOOeSQQ1bgfx1/nivqm1/EAAAAAElFTkSuQmCC\"","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAA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fTcOR1oTheZwctYdlXW+AIOYAWBtv0mCvMB6YBDmIiJHC6QqF5s7uelTVfHoOQAsAnK/Yuf18xc6KlUtf26iU67iyqv3H26yV+7x+GzdifjKe4SpFbc5PKCAtidvhCbWs/SM0YlLgdHVh+tTFEIlkDx87/UYGgMHf/8oOHX/tiZtu641rT5wgZiUmKAPllw7A441tkr6AK+H3M02zQdOh0DvJNIfQqnNW3XKGOl7C6zWGKRpVWkJCKYoBQVIIBN0DP16W4VpL6faMtHyUVuzlVy57eTWAtETrPV4bOJ4FRTFYWvRM0b7Dz237ygmorxKI3DlEmlJhGHGuLmUSNCoTNCoTVEojdh/Y8BsAdQAglWoKEhEQqg3y0NRaBp/fYf/r4ef3/FdoQO4cQgAwbTSdWnZY8mR3WDE81RaLZCM2E6QSNapqDu06cvLn6xBRJYyxtT8eBOzYIRAkKWX5GzLDmIxTIhw/s5U/V/5hzfY9j20AcC1cxwe8o0rNszPnq8ZD+HHTgPXrCYEkqPog6xu5gUIx2HPwmYUAymJUk6MSSiJWZo6X7xq3KCAQwsXuvmbvqMpbQBE7D5CUjWavQMATHMMRiYklgOeDF6s/+Usg6I3RovIiEPSisfkcquuO2gFciPWNuoZTp7kEZuR0d4PjgqiqPfLxWI44IanwcLRYLpz0eF0LU9SmbJVCD4Ig0NJ2ERRJo6WtAse+eCt48vyWDQDKY62fZMht6Hf1PmQy5OkoiobP74LD1YnO7nowIimuNp5G/bV/nTl0YtNT4+UDJupPZFZPnbR4eWH+asW1ltLpdqfV29j6xVkA2zHwq2wCTDUZ5m5esuh7sxhGavD67B09vc2+S3WfVvfYrpYC2APAiySSSCKJJJJIIokkkkgiiVvAvwFmbnyMJSAu9AAAAABJRU5ErkJggg==\"","import { Controller } from '@hotwired/stimulus'\nimport bronto from '@/images/v2/confetti/dino_bronto_64.png'\nimport terry from '@/images/v2/confetti/dino_terry_64.png'\nimport trex from '@/images/v2/confetti/dino_trex_64.png'\nimport trike from '@/images/v2/confetti/dino_trike_64.png'\nimport { confetti } from 'tsparticles-confetti'\n\nexport default class extends Controller {\n connect (): void {\n void this.showConfetti()\n }\n\n async showConfetti (): Promise {\n await confetti({\n spread: 360,\n ticks: 200,\n gravity: 0.5,\n decay: 0.95,\n startVelocity: 30,\n particleCount: 300,\n shapes: ['image'],\n shapeOptions: {\n image: [\n {\n src: bronto,\n particles: {\n size: {\n value: 11\n }\n }\n },\n {\n src: terry,\n particles: {\n size: {\n value: 11\n }\n }\n },\n {\n src: trex,\n particles: {\n size: {\n value: 11\n }\n }\n },\n {\n src: trike,\n particles: {\n size: {\n value: 11\n }\n }\n }\n ]\n }\n })\n }\n}\n","import { Controller } from '@hotwired/stimulus'\n\nexport default class extends Controller {\n static targets = ['count', 'countable']\n\n declare readonly countTarget: HTMLElement\n declare readonly countableTargets: HTMLElement[]\n\n connect (): void {\n this.update()\n }\n\n countableTargetConnected (): void {\n this.update()\n }\n\n update (): void {\n this.countTarget.dataset.count = this.countableTargets.length.toString()\n }\n}\n","import { Controller } from '@hotwired/stimulus'\n\nexport default class extends Controller {\n static targets = ['output']\n\n declare outputTarget: HTMLTextAreaElement | HTMLInputElement\n\n async onInput (e: Event): Promise {\n const input = e.target as HTMLInputElement\n\n if (input?.files !== null) {\n await this.outputFile(input.files[0])\n }\n }\n\n async onDrop (e: DragEvent): Promise {\n e.preventDefault()\n\n const file = e.dataTransfer?.files[0]\n await this.outputFile(file)\n }\n\n prevent (e: Event): void {\n e.preventDefault()\n }\n\n private async outputFile (file: File | undefined | null): Promise {\n if (file === undefined || file === null) {\n return\n }\n\n this.outputTarget.value = await file.text()\n }\n}\n","import { Controller } from '@hotwired/stimulus'\nimport { useClickOutside } from 'stimulus-use'\n\nexport default class extends Controller {\n static targets = ['content']\n\n declare contentTarget: HTMLElement\n\n connect (): void {\n useClickOutside(this)\n }\n\n toggle (): void {\n this.contentTarget.classList.toggle('hidden')\n }\n\n open (): void {\n this.contentTarget.classList.toggle('hidden', false)\n }\n\n close (): void {\n this.contentTarget.classList.toggle('hidden', true)\n }\n\n clickOutside (): void {\n this.close()\n }\n}\n","import { Controller } from '@hotwired/stimulus'\nimport Fuse from 'fuse.js'\n\ninterface FilterableNode {\n el: HTMLElement\n node: Node\n text: string\n}\n\nexport default class extends Controller {\n private readonly fuse: Fuse = new Fuse([], {\n includeMatches: true,\n useExtendedSearch: true,\n keys: ['text']\n })\n\n static targets = ['item']\n declare itemTargets: HTMLElement[]\n\n itemTargetConnected (el: HTMLElement): void {\n const textWalker: TreeWalker = document.createTreeWalker(el, NodeFilter.SHOW_TEXT)\n\n while (textWalker.nextNode() !== null) {\n this.fuse.add({\n el,\n node: textWalker.currentNode,\n text: textWalker.currentNode.textContent ?? ''\n })\n }\n }\n\n apply (e: InputEvent): void {\n const query: string = (e.target as HTMLInputElement).value\n const results: Array> = this.fuse.search(`'${query}`)\n\n this.highlight(results)\n this.toggleVisibility(query, results)\n }\n\n reset (e): void {\n e.currentTarget.value = ''\n e.currentTarget.dispatchEvent(new Event('input'))\n }\n\n private highlight (results: Array>): void {\n CSS.highlights.clear()\n\n const highlightRanges: Range[] = results.map(result => {\n const range: Range = new Range()\n const match: Fuse.FuseResultMatch = (result.matches as Fuse.FuseResultMatch[])[0]\n\n range.setStart(result.item.node, match.indices[0][0])\n range.setEnd(result.item.node, match.indices[0][1] + 1)\n return range\n })\n\n const highlight = new Highlight(...highlightRanges.flat())\n CSS.highlights.set('filter', highlight)\n }\n\n private toggleVisibility (query: string, results: Array>): void {\n this.itemTargets.forEach(el => {\n const filteredOut = (query.trim().length > 0) && results.every(result => result.item.el !== el)\n\n el.classList.toggle('hidden', filteredOut)\n el.querySelectorAll('input[type=checkbox]').forEach(checkbox => {\n filteredOut ? checkbox.setAttribute('disabled', '') : checkbox.removeAttribute('disabled')\n })\n })\n }\n}\n","import { Controller } from '@hotwired/stimulus'\nimport { debounce } from 'lodash-es'\n\nexport default class extends Controller {\n private readonly events: string[] = ['input', 'trix-change', 'turbo:submit-start']\n\n connect (): void {\n this.events.forEach(event => this.element.addEventListener(event, this))\n }\n\n disconnect (): void {\n this.events.forEach(event => this.element.removeEventListener(event, this))\n }\n\n handleEvent (event: Event): void {\n switch (event.type) {\n case 'input':\n case 'trix-change':\n this.sully()\n break\n case 'turbo:submit-start':\n if (this.isCleansable(event)) this.cleanse()\n break\n }\n }\n\n submit (): void {\n this.element.requestSubmit()\n }\n\n submitWithDebounce = debounce(this.submit, 300)\n\n clear (): void {\n const clearableInputs = this.element.querySelectorAll('input:not([data-clear=\"false\"]), textarea:not([data-clear=\"false\"])')\n clearableInputs.forEach(el => { (el as HTMLInputElement | HTMLTextAreaElement).value = '' })\n }\n\n resetIfSuccess (e: CustomEvent): void {\n if (e.detail.success === true) {\n this.element.reset()\n }\n }\n\n sully (): void {\n this.dirty = true\n this.submitButtons.forEach((button) => button.setAttribute('aria-disabled', 'false'))\n }\n\n cleanse (): void {\n this.dirty = false\n this.submitButtons.forEach((button) => button.setAttribute('aria-disabled', 'true'))\n }\n\n get dirty (): boolean {\n return this.data.get('dirty') === 'true'\n }\n\n private set dirty (value: boolean) {\n this.data.set('dirty', value.toString())\n }\n\n private get submitButtons (): Element[] {\n return Array.from(this.element.elements).filter((element: Element) => (\n element.getAttribute('type') === 'submit'\n ))\n }\n\n private isCleansable (event: Event): boolean {\n const button = (event as CustomEvent).detail.formSubmission.submitter as HTMLElement\n return button?.dataset?.nocleanse === undefined\n }\n}\n","import { Controller } from '@hotwired/stimulus'\nimport { Loader } from '@googlemaps/js-api-loader'\nimport { debounce } from 'lodash-es'\n\nconst googleLoader = new Loader({\n apiKey: 'AIzaSyAtXz59ctNwkkgvc__MOnn4AC7662Zt2O8',\n version: 'beta',\n libraries: ['places']\n})\n\nconst { AutocompleteSuggestion } = await googleLoader.importLibrary('places')\n\nexport default class extends Controller {\n static targets = ['placeId', 'placeName', 'template', 'results']\n\n declare placeIdTarget: HTMLInputElement\n declare placeNameTarget: HTMLInputElement\n declare templateTarget: HTMLTemplateElement\n declare resultsTarget: HTMLElement\n search: (event: InputEvent) => Promise = async () => {}\n\n initialize (): void {\n this.search = debounce(this._search, 500)\n }\n\n select (e): void {\n this.placeIdTarget.value = e.target.dataset.placeId\n this.placeNameTarget.value = e.target.dataset.placeName\n }\n\n private async _search (): Promise {\n if (this.query.length === 0) {\n this.clear()\n return\n }\n\n const { suggestions } = await AutocompleteSuggestion.fetchAutocompleteSuggestions({\n input: this.placeNameTarget.value,\n includedPrimaryTypes: [\n 'locality',\n 'administrative_area_level_1',\n 'administrative_area_level_2'\n ]\n })\n\n this.clear()\n\n suggestions.forEach(suggestion => {\n const place = suggestion.placePrediction?.toPlace()\n if (place !== undefined) {\n void this.renderPlace(place)\n }\n })\n }\n\n private async renderPlace (place: google.maps.places.Place): Promise {\n const resultTemplate = this.templateTarget.content.cloneNode(true) as DocumentFragment\n const resultElement = resultTemplate.children[0] as HTMLElement\n\n await place.fetchFields({\n fields: ['id', 'formattedAddress']\n })\n\n resultElement.dataset.placeId = place.id\n resultElement.dataset.placeName = place.formattedAddress\n resultElement.textContent = place.formattedAddress\n\n this.resultsTarget.appendChild(resultElement)\n }\n\n private clear (): void {\n this.resultsTarget.innerHTML = ''\n }\n\n private get query (): string {\n return this.placeNameTarget.value ?? ''\n }\n}\n","import { Controller } from '@hotwired/stimulus'\n\nexport default class extends Controller {\n static targets = ['anchor', 'template']\n\n declare anchorTarget: HTMLElement\n declare templateTarget: HTMLTemplateElement\n\n add (): void {\n const newNode: HTMLElement = this.templateTarget.cloneNode(true) as HTMLElement\n const newHTML = newNode.innerHTML.replace(/NEW_RECORD/g, crypto.randomUUID())\n\n this.anchorTarget.insertAdjacentHTML('beforebegin', newHTML)\n }\n\n remove (e: Event): void {\n const checkbox = e.target as HTMLInputElement\n const wrapper = checkbox.closest('.nested-fields') as HTMLElement\n\n if (checkbox.checked && this.isNew(wrapper)) {\n wrapper.remove()\n }\n }\n\n private isNew (wrapper: HTMLElement): boolean {\n return wrapper.dataset.newRecord !== undefined\n }\n}\n","import posthog from 'posthog-js'\n\nexport default function (title: string, field: string | null): void {\n posthog.capture(title, {\n field\n })\n}\n","import { Controller } from '@hotwired/stimulus'\nimport captureEvent from '@/v2/posthog'\n\nexport default class extends Controller {\n connect (): void {\n this.element.addEventListener('blur', (e: FocusEvent) => {\n const input: HTMLInputElement = e.target as HTMLInputElement\n\n if (input.name !== '') {\n captureEvent('Intake Form', input.name)\n input.form?.requestSubmit()\n }\n }, true)\n }\n}\n","import { Controller } from '@hotwired/stimulus'\n\nexport default class extends Controller {\n static targets = ['pill', 'error']\n\n declare pillTarget: HTMLElement\n declare errorTargets: HTMLElement[]\n declare hasPillTarget: boolean\n\n connect (): void {\n if (this.hasPillTarget) {\n this.pillTarget.innerText = this.errorTargets.length.toString()\n if (this.errorTargets.length > 0) {\n this.pillTarget.classList.remove('hidden')\n }\n }\n }\n}\n","import { Controller } from '@hotwired/stimulus'\n\nexport default class extends Controller {\n static values = ['active']\n declare activeValue: number\n\n static targets = ['count']\n declare countTargets: HTMLElement[]\n\n connect (): void {\n this.update()\n addEventListener('turbo:morph', () => this.update())\n }\n\n toggle (e): void {\n const scopeElement: HTMLElement = e.params.scope !== undefined ? e.target.closest(e.params.scope) : this.element\n const checkboxes: HTMLInputElement[] = this.checkboxesIn(scopeElement)\n\n if (this.allChecked(checkboxes)) {\n this.uncheck(checkboxes)\n } else {\n this.check(checkboxes)\n }\n }\n\n update (): void {\n this.countTargets.forEach((target: HTMLElement) => {\n target.textContent = this.checkedBoxes.length.toString()\n })\n }\n\n stop (e: Event): void {\n e.stopPropagation()\n }\n\n reset (): void {\n this.uncheck(this.allCheckboxes)\n }\n\n private get allCheckboxes (): HTMLInputElement[] {\n return this.checkboxesIn(this.element)\n }\n\n private get checkedBoxes (): HTMLInputElement[] {\n return this.allCheckboxes.filter((checkbox: HTMLInputElement): boolean => checkbox.checked)\n }\n\n private check (checkboxes: HTMLInputElement[], value: boolean = true): void {\n checkboxes.forEach(function (checkbox) {\n checkbox.checked = value\n checkbox.dispatchEvent(new Event('change', { bubbles: true }))\n })\n }\n\n private uncheck (checkboxes: HTMLInputElement[]): void {\n this.check(checkboxes, false)\n }\n\n private allChecked (checkboxes: HTMLInputElement[]): boolean {\n return checkboxes.length > 0 && checkboxes.every((checkbox: HTMLInputElement): boolean => checkbox.checked)\n }\n\n private checkboxesIn (scopeElement: HTMLElement): HTMLInputElement[] {\n return Array.from(scopeElement.querySelectorAll('.selection[type=checkbox]:not([disabled])'))\n }\n}\n","import { Controller } from '@hotwired/stimulus'\nimport ModalController from './modal-controller'\nimport FormController from './form-controller'\n\ntype NavigationEvent = CustomEvent<{ url: string }>\n\nexport default class extends Controller {\n static outlets = ['form', 'modal']\n\n private currentNavigation: NavigationEvent | undefined\n\n declare formOutlets: FormController[]\n declare modalOutlet: ModalController\n\n onUnload (event: BeforeUnloadEvent): void {\n if (this.hasUnsavedForm) {\n event.preventDefault()\n event.returnValue = ''\n }\n }\n\n onNavigation (event: NavigationEvent): void {\n if (this.hasUnsavedForm) {\n event.preventDefault()\n this.currentNavigation = event\n this.modalOutlet.show()\n }\n }\n\n navigate (): void {\n this.unsavedForm.cleanse()\n\n void this.modalOutlet.hide().then(() => {\n Turbo.visit(this.currentNavigation?.detail.url)\n })\n }\n\n submit (): void {\n this.unsavedForm.submit()\n this.navigate()\n }\n\n private get unsavedForm (): any {\n return this.formOutlets.find((outlet) => outlet.dirty)\n }\n\n private get hasUnsavedForm (): boolean {\n return this.unsavedForm !== undefined\n }\n}\n","import { Controller } from '@hotwired/stimulus'\n\nexport default class extends Controller {\n insertHeader (event: Event): void {\n const nextCandidacyId = this.findNextId()\n\n if (nextCandidacyId !== null) {\n console.log('Setting next ID', nextCandidacyId)\n event.detail.fetchOptions.headers['X-Next-Candidacy'] = nextCandidacyId\n }\n }\n\n findNextId (): number | null {\n let reachedSelectionBlock: boolean = false\n let nextId: number | null = null\n\n this.checkboxes.forEach(checkbox => {\n if (this.isSelectedOrActive(checkbox)) {\n reachedSelectionBlock = true\n }\n\n if (reachedSelectionBlock && nextId === null && !this.isSelectedOrActive(checkbox)) {\n nextId = parseInt(checkbox.value)\n }\n })\n\n return nextId\n }\n\n private isSelectedOrActive (checkbox: HTMLInputElement): boolean {\n const selected: boolean = checkbox.checked\n const active: boolean = checkbox.closest('.candidacy-card')?.classList.contains('active') ?? false\n return selected || active\n }\n\n private get checkboxes (): HTMLInputElement[] {\n return Array.from(document.querySelectorAll('.selection[type=\"checkbox\"]:not([disabled])'))\n }\n}\n","import { Controller } from '@hotwired/stimulus'\n\nexport default class extends Controller {\n static targets = ['checkbox', 'count']\n\n declare checkboxTarget: HTMLInputElement\n declare checkboxTargets: HTMLInputElement[]\n declare countTarget: HTMLElement\n declare countTargets: HTMLElement[]\n\n update (): void {\n this.countTargets.forEach(target => {\n target.dataset.count = this.count.toString()\n })\n }\n\n reset (): void {\n this.checkboxTargets.forEach(checkbox => {\n checkbox.checked = false\n })\n\n this.update()\n }\n\n get count (): number {\n return this.checkboxTargets.filter(checkbox => checkbox.checked).length\n }\n\n get candidacyIds (): number[] {\n return this.checkboxTargets.filter(checkbox => checkbox.checked).map(checkbox => parseInt(checkbox.value))\n }\n}\n","import { Controller } from '@hotwired/stimulus'\nimport { useClickOutside } from 'stimulus-use'\n\nexport default class extends Controller {\n static readonly targets = ['popover']\n\n declare popoverTarget: HTMLElement\n\n connect (): void {\n useClickOutside(this)\n }\n\n clickOutside (): void {\n this.hide()\n }\n\n show (): void {\n this.popoverTarget.showPopover()\n }\n\n hide (): void {\n this.popoverTarget.hidePopover()\n }\n\n toggle (): void {\n this.popoverTarget.togglePopover()\n }\n}\n","import { Controller } from '@hotwired/stimulus'\nimport { useClickOutside } from 'stimulus-use'\n\nimport { computePosition, offset, flip, arrow, autoUpdate, Placement, OffsetOptions } from '@floating-ui/dom'\n\nexport default class extends Controller {\n static targets = ['content', 'arrow']\n\n private cleanup: () => void = () => {}\n private anchor: HTMLElement = document.createElement('a')\n\n static values = {\n placement: { type: String, default: 'bottom-end' },\n offset: { type: Number, default: 4 }\n }\n\n declare placementValue: Placement\n declare offsetValue: OffsetOptions\n\n declare contentTarget: HTMLElement\n declare arrowTarget: HTMLElement\n declare hasArrowTarget: boolean\n\n connect (): void {\n useClickOutside(this, { element: this.contentTarget })\n }\n\n clickOutside (e: MouseEvent): void {\n e.preventDefault()\n e.stopPropagation()\n this.hide()\n }\n\n show (e: any): void {\n if (e.currentTarget === null) return\n\n this.anchor = e.currentTarget as HTMLElement\n this.cleanup = this.setupFloatingUI()\n this.element.setAttribute('open', '')\n this.contentTarget.classList.remove('hidden')\n }\n\n hide (): void {\n this.cleanup()\n this.element.removeAttribute('open')\n this.contentTarget.classList.add('hidden')\n }\n\n toggle (e: MouseEvent): void {\n this.isVisible ? this.hide() : this.show(e)\n }\n\n get isVisible (): boolean {\n return this.element.hasAttribute('open')\n }\n\n private setupFloatingUI (): () => void {\n const middleware = [offset(this.offsetValue), flip()]\n\n if (this.hasArrowTarget) {\n middleware.push(arrow({ element: this.arrowTarget }))\n }\n\n return autoUpdate(this.anchor, this.contentTarget, () => {\n void computePosition(this.anchor, this.contentTarget, {\n placement: this.placementValue,\n middleware\n }).then(({ x, y, middlewareData }) => {\n Object.assign(this.contentTarget.style, {\n left: `${x}px`,\n top: `${y}px`\n })\n\n const arrowY = middlewareData.arrow?.y\n if (arrowY !== undefined) {\n Object.assign(this.arrowTarget.style, {\n top: `${arrowY}px`,\n left: '-4px'\n })\n }\n })\n })\n }\n}\n","import { Controller } from '@hotwired/stimulus'\nimport { debounce } from 'lodash-es'\n\nexport default class extends Controller {\n static readonly targets = ['popover', 'form']\n search: (event: InputEvent) => void = () => {}\n\n declare popoverTarget: HTMLElement\n declare formTarget: HTMLFormElement\n declare hasFormTarget: boolean\n\n initialize (): void {\n this.search = debounce(this._search, 300)\n }\n\n show (): void {\n this.popoverTarget.showPopover()\n }\n\n hide (): void {\n this.popoverTarget.hidePopover()\n }\n\n private _search (event: InputEvent): void {\n const inputValue = (event?.target as HTMLInputElement).value\n\n if (inputValue?.length > 0) {\n this.show()\n } else {\n this.hide()\n }\n\n if (this.hasFormTarget) {\n this.formTarget.requestSubmit()\n }\n }\n}\n","import { Controller } from '@hotwired/stimulus'\nimport posthog from 'posthog-js'\nimport captureEvent from '@/v2/posthog'\n\nexport default class extends Controller {\n static values = { userId: String, apiKey: String, v1Tenant: Boolean, impersonatorEmail: String }\n\n declare readonly apiKeyValue: string\n declare userIdValue: string\n declare readonly v1TenantValue: boolean\n declare readonly impersonatorEmailValue: string\n\n connect (): void {\n if (this.apiKeyValue.length > 0 && !this.v1TenantValue) {\n this.initializePosthog()\n }\n\n if (window.location.pathname === '/start') {\n captureEvent('New requisition form started', null)\n }\n }\n\n initializePosthog (): void {\n posthog.init(this.apiKeyValue, {\n api_host: 'https://app.posthog.com',\n loaded: (ph) => {\n if (this.userIdValue !== '') {\n console.log('Identifying', this.userIdValue, 'with Posthog')\n ph.identify(this.userIdValue)\n }\n }\n })\n\n if (this.impersonatorEmailValue.length > 0) {\n posthog.register({ impersonator_email: this.impersonatorEmailValue })\n }\n }\n\n reset (): void {\n if (posthog !== undefined) {\n posthog.reset()\n }\n }\n}\n","import { Controller } from '@hotwired/stimulus'\n\nexport default class extends Controller {\n static values = { href: String }\n\n declare readonly hrefValue: string\n\n connect (): void {\n this.element.addEventListener('click', () => {\n Turbo.visit(this.hrefValue)\n })\n }\n}\n","import { Controller } from '@hotwired/stimulus'\n\ninterface TurboFrameBeforeRenderEvent {\n detail: {\n render: (currElement: Element, newElement: Element) => void\n }\n}\n\nexport default class extends Controller {\n preserve (event: TurboFrameBeforeRenderEvent): void {\n const scrollTop = this.element.scrollTop\n const originalRender = event.detail.render\n\n event.detail.render = (currElement, newElement) => {\n originalRender(currElement, newElement)\n this.restoreScroll(this.element, scrollTop)\n }\n }\n\n private restoreScroll (element: Element, scrollTop: number): void {\n const elementAfterRendering = document.querySelector(`#${element.id}`)\n\n if (elementAfterRendering !== null) {\n elementAfterRendering.scrollTop = scrollTop\n }\n }\n}\n","import { Controller } from '@hotwired/stimulus'\n\ntype Tab = HTMLLinkElement | HTMLButtonElement\ntype TurboBeforeAttributeMorphEvent = CustomEvent<{ attributeName: string }>\n\nexport default class extends Controller {\n static targets = ['tab', 'content']\n\n declare readonly tabTargets: Tab[]\n declare readonly contentTargets: HTMLElement[]\n\n connect (): void {\n this.showTab()\n addEventListener('turbo:before-morph-attribute', (e) => { this.preserveTabIndex(e) })\n addEventListener('turbo:morph', () => { this.showTab() })\n }\n\n preserveTabIndex (e: TurboBeforeAttributeMorphEvent): void {\n if (e.target === this.element && e.detail.attributeName === 'data-tabs-index') {\n e.preventDefault()\n }\n }\n\n change (e: PointerEvent): void {\n this.index = this.tabTargets.indexOf(e.currentTarget as Tab)\n }\n\n showTab (): void {\n this.tabTargets.forEach((tab, index) => {\n tab.classList.toggle('active', index === this.index)\n this.contentTargets[index].classList.toggle('hidden', index !== this.index)\n })\n }\n\n get index (): number {\n if (this.data.has('index')) {\n return parseInt(this.data.get('index') as string)\n } else {\n return 0\n }\n }\n\n set index (value: number) {\n this.data.set('index', value.toString())\n this.showTab()\n }\n}\n","import { Controller } from '@hotwired/stimulus'\n\nexport default class extends Controller {\n static targets = ['subjectDestination', 'bodyDestination', 'templateAsTrixHtml', 'templateSubject']\n\n declare subjectDestinationTarget: HTMLInputElement\n declare bodyDestinationTarget: HTMLElement\n declare templateAsTrixHtmlTarget: HTMLElement\n declare templateSubjectTarget: HTMLElement\n\n copyTemplate (): void {\n const bodySource = document.querySelector('trix-editor[input*=body_trix_input]') as HTMLInputElement\n const submitButton = document.querySelector('input[type=submit]') as HTMLInputElement\n bodySource.value = this.templateAsTrixHtmlTarget.innerText + '
' + bodySource.value\n\n const subjectSource = document.querySelector('trix-editor[input*=stage_subject]') as HTMLInputElement\n subjectSource.value = document.createElement('div').innerHTML = this.templateSubjectTarget.innerText + ' ' + subjectSource.innerText\n\n submitButton.disabled = false\n }\n}\n","import { Controller } from '@hotwired/stimulus'\nimport { enter, leave } from 'el-transition'\n\nexport default class extends Controller {\n connect (): void {\n void enter(this.element)\n setTimeout(() => this.remove(), 5000)\n }\n\n remove (): void {\n void leave(this.element)\n .then(() => this.element.remove())\n }\n}\n","import { Controller } from '@hotwired/stimulus'\nimport Trix from 'trix'\n\ninterface ITrix extends HTMLElement {\n editor: Trix.Editor\n toolbarElement: Trix.ToolbarElement\n}\n\nexport default class extends Controller {\n static targets = ['customGroup']\n declare customGroupTargets: HTMLTemplateElement[]\n\n connect (): void {\n this.trix.addEventListener('trix-file-accept', (event: Trix.TrixFileAcceptEvent) => {\n event.preventDefault()\n })\n\n this.customGroupTargets.forEach(customGroup => this.addCustomGroup(customGroup))\n\n const { toolbarElement } = this.trix\n const input = toolbarElement.querySelector('input[name=href]')\n const linkButton = toolbarElement.querySelector('[data-trix-method=\"setAttribute\"]')\n\n input.type = 'text'\n input.pattern = '[-a-zA-Z0-9@:%._+~#=]{1,256}\\\\.[a-zA-Z0-9()]{1,6}([-a-zA-Z0-9()@:%_+.~#?&//=]*)'\n input.placeholder = 'Ex: http://www.hootrecruit.com'\n\n function validateURL (): void {\n if (!RegExp(input.pattern).test(input.value)) {\n input.setCustomValidity(' ')\n input.style.borderColor = '#FFDDDD'\n } else {\n input.setCustomValidity('')\n input.style.borderColor = ''\n }\n }\n\n linkButton.addEventListener('click', () => {\n validateURL()\n })\n\n input.addEventListener('keydown', (e) => {\n if (e.keyCode === 13) {\n e.preventDefault()\n validateURL()\n }\n })\n\n // Open the link in browser new tab for trix https://github.com/basecamp/trix/issues/55\n addEventListener('click', function (event) {\n const el = event.target as HTMLElement\n\n if (el.closest('.trix-content') != null) {\n if (el.tagName === 'A' && !el.isContentEditable) {\n const href = el.getAttribute('href')\n\n if (href !== null && !href.startsWith('http')) {\n el.setAttribute('href', `https://${href}`)\n }\n el.setAttribute('target', '_blank')\n }\n }\n }, true)\n }\n\n insertVariable ({ params: { variable } }: { params: { variable: string }}): void {\n this.editor.insertString(`{{ ${variable} }}`)\n }\n\n insertContent (event: MouseEvent): void {\n const element = event.currentTarget as HTMLLinkElement | HTMLButtonElement\n this.editor.insertHTML(element.innerHTML)\n }\n\n clear (): void {\n this.editor.recordUndoEntry('Clearing text')\n this.editor.composition.replaceHTML('')\n }\n\n private addCustomGroup (customGroup: HTMLTemplateElement): void {\n const anchor: HTMLElement = this.getButtonGroup('history-tools')\n const newGroup: HTMLElement = customGroup.content.cloneNode(true) as HTMLElement\n this.controls.insertBefore(newGroup, anchor)\n }\n\n private getButtonGroup (name: string): HTMLElement {\n return this.element.querySelector(`[data-trix-button-group=\"${name}\"]`) as HTMLElement\n }\n\n private get trix (): ITrix {\n return this.element.querySelector('trix-editor') as ITrix\n }\n\n private get editor (): Trix.Editor {\n return this.trix.editor\n }\n\n private get controls (): HTMLElement {\n return this.element.querySelector('.trix-button-row') as HTMLElement\n }\n}\n","import { Controller } from '@hotwired/stimulus'\n\ntype Turboframe = Element & {\n reload: () => void\n}\n\nexport default class extends Controller {\n connect (): void {\n const turboframe = this.element.closest('turbo-frame') as Turboframe\n turboframe?.reload()\n this.element.remove()\n }\n}\n","import { Controller } from '@hotwired/stimulus'\nimport { debounce } from 'lodash-es'\n\nexport default class extends Controller {\n static readonly targets = ['popover', 'form']\n\n declare popoverTarget: HTMLElement\n declare formTarget: HTMLFormElement\n\n initialize (): void {\n this.searchWithDebounce = debounce(this.search, 300)\n }\n\n search (event: InputEvent): void {\n const inputValue = (event?.target as HTMLInputElement)?.value\n if (inputValue !== undefined && inputValue !== '') {\n this.popoverTarget.showPopover()\n } else {\n this.popoverTarget.hidePopover()\n }\n this.formTarget.requestSubmit()\n }\n}\n","import { Controller } from '@hotwired/stimulus'\n\ninterface TurboFrameBeforeRenderEvent {\n detail: {\n render: (currElement: Element, newElement: Element) => void\n }\n}\n\nexport default class extends Controller {\n static targets = ['collapsible']\n\n declare collapsibleTargets: HTMLDetailsElement[]\n\n start (event: TurboFrameBeforeRenderEvent): void {\n if (!this.supportsViewTransitions) {\n return\n }\n\n const originalRender = event.detail.render\n\n event.detail.render = (currElement, newElement) => {\n document.startViewTransition(() => {\n originalRender(currElement, newElement)\n })\n }\n }\n\n private get supportsViewTransitions (): boolean {\n return document.startViewTransition !== undefined\n }\n}\n","// @ts-expect-error: stimulus does not offer types\nimport { Controller } from '@hotwired/stimulus'\n\nexport default class extends Controller {\n static targets = ['element']\n\n declare elementTarget: HTMLElement\n\n show (): void {\n this.elementTarget.classList.toggle('hidden', false)\n }\n\n hide (): void {\n this.elementTarget.classList.toggle('hidden', true)\n }\n\n toggle (): void {\n this.elementTarget.classList.toggle('hidden')\n }\n}\n","export enum Factors {\n Location = 'location',\n Experience = 'experience',\n Seniority = 'seniority',\n Skills = 'skills',\n Diversity = 'diversity',\n PreviousEmployer = 'previous_employer',\n Education = 'education',\n Other = 'other'\n}\n\nexport enum FactorsLabel {\n location = 'Location',\n experience = 'Experience',\n seniority = 'Seniority Level',\n skills = 'Certification or Specific Skill',\n diversity = 'Diversity Consideration',\n previous_employer = 'Previous Employer',\n education = 'Education',\n other = 'Other'\n}\n","\n\n\n\n\n","\n\n\n\n\n","\n\n\n","import { Source } from '.'\nimport { ApolloClient, ApolloQueryResult, InMemoryCache } from '@apollo/client/core'\n\nexport default class implements Source {\n private readonly client: ApolloClient\n private readonly gql: any\n\n constructor (gqlQuery: any) {\n this.gql = gqlQuery\n\n this.client = new ApolloClient({\n uri: '/guest/graphql',\n cache: new InMemoryCache(),\n defaultOptions: {\n watchQuery: {\n fetchPolicy: 'no-cache'\n },\n query: {\n fetchPolicy: 'no-cache'\n }\n }\n })\n }\n\n async fetch (query: string, field: string): Promise> {\n if (query.length === 0) {\n return await Promise.resolve({ data: { results: [] }, loading: false, networkStatus: 0 })\n }\n\n return await this.client.query({ query: this.gql, variables: { query, field } })\n }\n}\n","import { Source, Response } from '.'\n\nexport default class implements Source {\n private readonly googleService\n\n constructor (autoCompleteSuggestion: any) {\n this.googleService = autoCompleteSuggestion\n }\n\n async fetch (query: string): Promise {\n if (query.length === 0) {\n return await Promise.resolve({ data: { results: [] } })\n }\n\n const { suggestions } = await this.googleService.fetchAutocompleteSuggestions({\n input: query,\n includedPrimaryTypes: [\n 'locality',\n 'administrative_area_level_1',\n 'administrative_area_level_2'\n ]\n })\n\n const results = suggestions.map(async (suggestion) => {\n const place = suggestion.placePrediction?.toPlace()\n\n if (place === undefined) {\n return {}\n }\n\n await place.fetchFields({ fields: ['id', 'formattedAddress'] })\n console.log({\n id: place.id,\n value: this.serializePlace(place),\n text1: place.formattedAddress\n })\n\n return {\n id: place.id,\n value: this.serializePlace(place),\n text1: place.formattedAddress\n }\n })\n\n return await Promise.all(results).then(results => ({ data: { results } }))\n }\n\n private serializePlace (place: google.maps.places.Place): string {\n return [place.id, place.formattedAddress].join('::')\n }\n}\n","import Source from '.'\n\nexport default class implements Source {\n async fetch (_query: string): Promise {\n return await Promise.resolve()\n }\n}\n","import { defineStore, Store, StoreDefinition } from 'pinia'\nimport { Source, NoopSource } from './sources'\nimport { Result } from './results'\n\nexport type ComboBoxStore = ReturnType>\n\n// Use a unique store for each ComboBox: https://github.com/vuejs/pinia/discussions/840\nconst definedStores = new Map()\n\n// Cache ComboBox stores by storeId\nexport const useComboBoxStore = (storeId: string): Store => {\n if (!definedStores.has(storeId)) {\n definedStores.set(storeId, defineComboBoxStore(storeId))\n }\n\n const definition: StoreDefinition = definedStores.get(storeId) as StoreDefinition\n return definition()\n}\n\n// Actually define the store for a given storeId\nfunction defineComboBoxStore (storeId: Id): StoreDefinition {\n return defineStore(`combobox/${storeId}`, () => {\n const comboboxId = ref(storeId)\n const query = ref('')\n const field = ref('')\n const isLoading = ref(false)\n const isDropdownOpen = ref(false)\n const isSingleSelect = ref(false)\n const useInputValueByDefault = ref(false)\n const results = ref([])\n const selections = ref([])\n const source = ref(new NoopSource())\n\n const unselectedResults = computed(() => {\n return results.value.filter(result => !isResultSelected(result))\n })\n\n const hasQuery = computed(() => {\n return query.value.replace(/\\s+/, '').length > 0\n })\n\n function search (showResultsOnEmptySearch: boolean): void {\n if (query.value === '' && !showResultsOnEmptySearch) {\n closeDropdown()\n return\n }\n\n isDropdownOpen.value = true\n isLoading.value = true\n results.value = []\n\n source.value.fetch(query.value, field.value)\n .then(response => {\n if (response === undefined) return\n for (const value of Object.values(response.data)) {\n results.value = results.value.concat(value as any[])\n }\n }).finally(() => {\n isLoading.value = false\n })\n }\n\n function selectResult (result: Result): void {\n const isExistingValue = selections.value.some(val => val.value === result.value)\n\n if (!isExistingValue) {\n selections.value.push(result)\n }\n\n if (isSingleSelect.value) {\n query.value = result.text1\n } else {\n query.value = ''\n }\n\n closeDropdown()\n }\n\n function deselectResult (result: Result): void {\n selections.value = selections.value.filter((r: Result) => r.id !== result.id)\n }\n\n function isResultSelected (result: Result): boolean {\n return selections.value.some(r => r.id === result.id)\n }\n\n function closeDropdown (): void {\n isDropdownOpen.value = false\n }\n\n function toggleDropdown (): void {\n isDropdownOpen.value = !isDropdownOpen.value\n }\n\n function textToResult (text: string): Result {\n return {\n id: text,\n value: text,\n text1: text\n }\n }\n\n return {\n comboboxId,\n selections,\n unselectedResults,\n source,\n isLoading,\n isResultSelected,\n isDropdownOpen,\n isSingleSelect,\n useInputValueByDefault,\n hasQuery,\n query,\n field,\n closeDropdown,\n toggleDropdown,\n selectResult,\n deselectResult,\n search,\n textToResult\n }\n }, {\n debounce: {\n search: 300\n }\n })\n}\n","\n\n\n","\n\n\n","\n\n\n","\n\n\n","import { GraphQLSource } from '.'\n\nexport default async function createGraphQLSource (queryValue: string): Promise {\n const query = await import(`../../../../javascripts/queries/${queryValue}.gql`)\n return new GraphQLSource(query.default)\n}\n","\n\n\n","import { Source, Response } from '.'\nimport { Result } from '../results'\nimport Fuse from 'fuse.js'\n\nexport const staticSource = (data: string[]): Source => ({\n fetch: async (query: string, field: string): Promise => {\n if (query === '') {\n return { data: data.map(datum => textToResult(datum)) }\n }\n\n const fuseOptions = { threshold: 0.2 }\n const fuse = new Fuse(data, fuseOptions)\n const fuseResults = fuse.search(query)\n const results = fuseResults.map(result => textToResult(result.item))\n return { data: results }\n }\n})\n\nfunction textToResult (text: string): Result {\n return {\n id: text,\n value: text,\n text1: text\n }\n}\n","\n\n\n","\n\n\n","\n\n\n","\n\n\n","import { App } from 'vue'\nimport * as Sentry from '@sentry/vue'\nimport { BrowserTracing } from '@sentry/tracing'\n\nexport default function (app: App, environment: string): void {\n Sentry.init({\n app,\n environment,\n dsn: 'https://17cedb0d6da54807953a4200804df82e@o341047.ingest.sentry.io/4504795282079744',\n integrations: [\n new BrowserTracing({\n tracePropagationTargets: ['localhost', 'app.iqrecruit.com', 'app.iqrecruit.dev', /^\\//]\n })\n ]\n })\n}\n","import { App, Component, createApp } from 'vue'\nimport { Controller } from '@hotwired/stimulus'\nimport setupSentry from '@/v2/sentry'\nimport { createPinia } from 'pinia'\nimport { debounce } from 'lodash-es'\nimport { PiniaDebounce } from '@pinia/plugin-debounce'\n\ninterface ComponentDefinition {\n default: Component\n}\n\n// Eager-load and register root components\nconst components = import.meta.glob('@/v2/**/*.vue', { eager: true })\nconst componentDefinitions = Object.entries(components).map(([path, definition]) => {\n const componentName: string = path.split('/').pop()?.replace(/\\.\\w+$/, '') ?? ''\n return { componentName, definition: (definition as ComponentDefinition).default }\n})\n\nexport default class extends Controller {\n private readonly app: App = createApp({})\n\n initialize (): void {\n componentDefinitions.forEach(({ componentName, definition }) => {\n this.app.component(componentName, definition)\n })\n }\n\n connect (): void {\n if (!this.isLocal()) {\n setupSentry(this.app, this.environment)\n }\n\n const pinia = createPinia()\n pinia.use(PiniaDebounce(debounce))\n\n this.app.use(pinia)\n this.app.mount(this.element)\n }\n\n disconnect (): void {\n this.app.unmount()\n }\n\n private isLocal (): boolean {\n return this.environment === 'development' || this.environment === 'test'\n }\n\n private get environment (): string {\n return RAILS_ENV\n }\n}\n","import { Application } from '@hotwired/stimulus'\nimport { registerControllers } from 'stimulus-vite-helpers'\n\nconst application = Application.start()\n\nconst controllers = import.meta.glob('@/v2/controllers/**/*-controller.ts', { eager: true })\nregisterControllers(application, controllers)\n","import { DirectUpload } from '@rails/activestorage'\nimport Alpine from 'alpinejs'\n\nclass Attachment {\n file: File\n progress: number\n blobId: string\n errors: string[]\n\n constructor (file: File) {\n this.file = file\n this.progress = 0\n this.blobId = ''\n this.errors = []\n }\n\n get name (): string {\n return this.file.name\n }\n\n upload (): void {\n const url = '/rails/active_storage/direct_uploads'\n const directUpload = new DirectUpload(this.file, url, this)\n directUpload.create((error, blob) => {\n if (error !== null) {\n console.error('File upload error:', error)\n } else {\n this.blobId = blob.signed_id\n }\n })\n }\n\n directUploadWillStoreFileWithXHR (request: XMLHttpRequest): void {\n request.upload.addEventListener('progress', (e) => {\n this.progress = (e.loaded / e.total) * 100\n })\n }\n}\n\nexport default (): any => ({\n attachments: [],\n\n upload (event: Event): void {\n const target = event.target as HTMLInputElement\n if (target.files != null) {\n Array.from(target.files).forEach(file => this.uploadEach(file))\n }\n },\n\n uploadEach (file: File) {\n const attachment = Alpine.reactive(new Attachment(file))\n\n this.validateFileType(attachment)\n this.validateFileSize(attachment)\n\n this.attachments.push(attachment)\n if (attachment.errors.length === 0) {\n attachment.upload()\n }\n },\n\n detach (attachment: Attachment): void {\n this.attachments = this.attachments.filter((a: Attachment) => a !== attachment)\n },\n\n validateFileType (attachment: Attachment): void {\n const allowedTypes = [\n 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',\n 'application/msword',\n 'application/pdf',\n 'text/plain'\n ]\n if (!allowedTypes.includes(attachment.file.type)) {\n attachment.errors.push('File type must be .doc, .docx, .pdf, or .txt')\n }\n },\n\n validateFileSize (attachment: Attachment): void {\n const maxFileSize = 4 * 1024 * 1024\n if (attachment.file.size > maxFileSize) {\n attachment.errors.push('File size must be less than 4mb')\n }\n }\n})\n","import { Turbo } from '@hotwired/turbo-rails'\nimport '@/v2/controllers'\nimport 'trix'\nimport '@rails/actiontext'\n\nimport Alpine from 'alpinejs'\nimport collapse from '@alpinejs/collapse'\nimport anchor from '@alpinejs/anchor'\nimport persist from '@alpinejs/persist'\nimport uploader from '@/v2/alpine/uploader'\n\nimport type { TurboMorphEvent, TurboMorphAttributeEvent } from '@/v2/types'\n\nAlpine.plugin(collapse)\nAlpine.plugin(anchor)\nAlpine.plugin(persist)\nAlpine.data('uploader', uploader)\n\nAlpine.start()\n\n// Copy Alpine state to the new nodes during a morph\naddEventListener('turbo:before-morph-element', ((e: TurboMorphEvent) => {\n const { target: oldElement, detail: { newElement } } = e\n\n if (oldElement.tagName.startsWith('TRIX-')) {\n e.preventDefault()\n }\n\n if (oldElement?._x_dataStack !== undefined && newElement !== undefined) {\n Alpine.clone(oldElement, newElement)\n }\n}) as EventListener)\n\naddEventListener('turbo:before-morph-attribute', ((e: TurboMorphAttributeEvent) => {\n const { target, detail: { attributeName, mutationType } } = e\n\n // When a popover element is morphed into a new element, close the popover so that it is removed from the top-layer\n if (target.hasAttribute('popover') && attributeName === 'id' && mutationType === 'update') {\n target.hidePopover()\n }\n\n // Dialog elements do not receive close() when their open attribute is removed, so they must be\n // explicitly removed from the top-layer when this happens via morph.\n // https://github.com/hotwired/turbo/issues/1239\n if (target instanceof HTMLDialogElement && attributeName === 'open' && mutationType === 'remove') {\n e.preventDefault()\n target.close()\n }\n}) as EventListener)\n\n// Handle custom redirect event to bust out of turboframes\nTurbo.StreamActions.redirect = function () {\n document.querySelector('dialog[open]')?.close()\n Turbo.visit(this.target)\n}\n"],"file":"assets/v2-C_8soRQ-.js"}