PageSourceSearch

https://topnanny.es/packs/js/7543-9e5b9311c5e9e33bac61.chunk.js

js topnanny.es collected 2026-10-03 21:33:41 UTC 2,917 bytes, 2 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="1be7379b-a7e1-4eb8-b2de-a134f6d9397f",e._sentryDebugIdIdentifier="sentry-dbid-1be7379b-a7e1-4eb8-b2de-a134f6d9397f")}catch(e){}}();var _global="undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:{};_global.SENTRY_RELEASE={id:"6ffbd01cf0691a08705f62d968183afee02bdfcf"},(globalThis.webpackChunktop_webgroup=globalThis.webpackChunktop_webgroup||[]).push([[7543],{67543(e,t,n){n.d(t,{default:()=>s});var o=n(95616);const s={config:{absenceError:".contract-schedule__ged-absence-error",gedAbsence:".contract-schedule__ged-absence",contractStartDate:".contract-schedule__start-date",contractEndDate:".contract-schedule__contract-end-date",contractEnd:".contract-schedule__contract-end",scheduleWeeks:".contract-schedule__schedule-weeks"},init:function(e,t){this.contractEnds=e,this.weeksAllocation=t,this.validate(!1)},bindEvents:function(e){const t=this;o(this.config.gedAbsence).change(function(){t.validate(!0),e.update_strategy()}),o(this.config.contractEndDate).on("changeDate",function(){t.validate(!1)}),o(this.config.contractEnd).change(function(){t.validate(!1)}),o(this.config.contractStartDate).on("changeDate",function(){t.validate(!1)})},getAbsenceDuration:function(){return parseInt(o(this.config.gedAbsence).val())},getContractDuration:function(){return"undefined"!==typeof this.contractEnds.strategy?this.contractEnds.strategy.total_weeks():0},getNumberOfSchedules:function(){return o(this.config.scheduleWeeks).length},validate:function(e){this.tooMuchAbsence()?this.showError(e):this.hideError()},tooMuchAbsence:function(){const e=this.getNumberOfSchedules()>0?this.getNumberOfSchedules():1;return 0!==this.getAbsenceDuration()&&0!==this.getContractDuration()&&this.getContractDuration()-e<this.getAbsenceDuration()},showError:function(e){const t=o(this.config.absenceError);t.empty().html(this.errorMessage()).show(),e?t.transition("shake"):o("html").animate({scrollTop:t.offset().top-300},"slow",function(){t.transition("shake")})},hideError:function(){o(this.config.absenceError).hide()},errorMessage:function(){if(this.getContractDuration()===this.weeksAllocation.minTotal&&this.getAbsenceDuration()===this.weeksAllocation.minTotal)return"Votre contrat est d'une dur\xe9e minimum de 52 semaines, vous ne pouvez donc pas choisir 52 semaines d'absence.";{const e=this.getNumberOfSchedules()>0?" avec plusieurs semaines types":"";return"Pour un contrat de <b>"+this.getContractDuration()+" semaines</b>"+e+", vous ne pouvez pas avoir <b>"+this.getAbsenceDuration()+" semaines</b> d'absence"}}}}}]);
2//# sourceMappingURL=7543-9e5b9311c5e9e33bac61.chunk.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.