"use strict";(self.webpackChunktimetrex=self.webpackChunktimetrex||[]).push([["portal-hr-recruitment-PortalJobVacancyViewController"],{8471:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "PortalJobVacancyViewController": () => (/* binding */ PortalJobVacancyViewController)\n/* harmony export */ });\n/* harmony import */ var _views_portal_PortalBaseViewController__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(97);\n/* harmony import */ var _views_portal_sign_in_SignInController__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9903);\n/* harmony import */ var _services_TimeTrexClientAPI__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7526);\n/* provided dependency */ var _ = __webpack_require__(9050);\n\n\n\n\nclass PortalJobVacancyViewController extends _views_portal_PortalBaseViewController__WEBPACK_IMPORTED_MODULE_0__.PortalBaseViewController {\n\tconstructor( options = {} ) {\n\t\t_.defaults( options, {\n\t\t\tel: \'#job_vacancy_view_container\',\n\n\t\t} );\n\n\t\tsuper( options );\n\t}\n\n\tinit( options ) {\n\t\tthis.api = _services_TimeTrexClientAPI__WEBPACK_IMPORTED_MODULE_2__/* .TTAPI.APIJobVacancyPortal */ .y.APIJobVacancyPortal;\n\t\tthis.script_name = \'JobVacancyView\';\n\t\tthis.render();\n\t\tTTPromise.resolve( \'IndexController\', \'onViewChange\' );\n\t}\n\n\tsearch() {\n\t\tvar $this = this;\n\t\tthis.onSearchClick( {\n\t\t\tcallback: function() {\n\t\t\t\tif ( LocalCacheData.getAllURLArgs().sm === \'ResetPassword\' && LocalCacheData.getAllURLArgs().key && LocalCacheData.getAllURLArgs().company_id ) {\n\t\t\t\t\tvar signInController = new _views_portal_sign_in_SignInController__WEBPACK_IMPORTED_MODULE_1__.SignInController();\n\t\t\t\t}\n\t\t\t}\n\t\t} );\n\t}\n\n}\n\nPortalJobVacancyViewController.html_template = `\n
\n\t
\n\t
\n\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