PageSourceSearch

https://topnanny.es/packs/js/1671-7238100614902d3cbfca.chunk.js

js topnanny.es collected 2026-10-03 21:32:32 UTC 5,502 bytes, 3 lines download raw bytes

1/*! For license information please see 1671-7238100614902d3cbfca.chunk.js.LICENSE.txt */
2!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]="669567c0-6a67-40c4-8f90-dcc7ccf95da0",e._sentryDebugIdIdentifier="sentry-dbid-669567c0-6a67-40c4-8f90-dcc7ccf95da0")}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([[1671,2051,6973],{21671(e,t,n){"use strict";n.d(t,{initPlanningEditModal:()=>r});var a=n(45365),i=n(82051),o=n(77666),d=n(95616);const s=function(e=0){d("#weeks-edit.show").length>0?(0,i.initTimeRangeCalendar)():d("#weeks-edit").length>0&&e<10&&setTimeout(s,100,e+1)},r=function(){s(),(0,o.AS)("schedule_templates_popup"),d("#predictable_schedule .page-action-header .date-picking").on("changeDate",function(e){const t=document.querySelector("#predictable_schedule");if(t){const n=d(".child-planning__edit-modal-url").data("url"),i=(0,a.dayjs)(e.date).format("YYYY[W]WW");t.src="",t.src=n.replace(".date.",i)}})}},82051(e,t,n){"use strict";n.d(t,{initTimeRangeCalendar:()=>l});var a=n(23927),i=n.n(a);var o=n(45365),d=n(6973),s=n.n(d),r=n(77666),c=n(95616);o.dayjs.extend(s());const l=function(){!function(){const e=c('input[name="time_slots_flexibility_contract[unpredictable_monthly]"]');e.off("change",u),e.on("change",u),e.trigger("change")}(),u(),c(".timerange-calendar").each(function(){const e=c(this);!function(e){const t=!!e.data("editUrl"),n=function(t){return e.data("editUrl").replace(".day.",t)};if(c("html[data-turbo-preview]").length>0)return;const a=e.data("dateDisplayMode"),o=!0===e.data("readonly"),d="ged"===e.data("careType")?"#949cdf":"";e.fullCalendar({lang:"fr",defaultView:"agendaWeek",defaultDate:e.data("date"),header:!1,allDaySlot:!1,columnFormat:"real-date"===a?"ddd D MMM":"dddd",eventOverlap:!1,height:400,selectable:!o,timezone:"Europe/Paris",editable:!1,scrollTime:e.data("starthour"),slotDuration:"01:00:00",snapDuration:"00:05:00",axisFormat:"H",selectHelper:!0,eventConstraint:{start:"00:00",end:"24:00"},selectConstraint:{start:"00:00",end:"24:00"},eventSources:[{url:e.data("events")}],eventColor:d,eventClick:function(e,a,o){if(t){if(window.timerangeClickTimeout)return;(0,r.Ir)(n(e.wday),"_2"),window.timerangeClickTimeout=setTimeout(function(){delete window.timerangeClickTimeout},1e3)}else{const t=i().getOrCreateInstance(a.target,{content:e.description,placement:"auto",offset:[0,0]});t.show(),setTimeout(()=>{t.hide().dispose()},1e3)}},dayClick:function(e,a,i){if(t){if(window.timerangeClickTimeout)return;(0,r.Ir)(n(e.isoWeekday()),"_2"),window.timerangeClickTimeout=setTimeout(function(){delete window.timerangeClickTimeout},1e3)}},select:function(e,a){if(t){if(window.timerangeClickTimeout)return;(0,r.Ir)(n(e.isoWeekday())+"&"+function(e){const t=[];for(const n in e)t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}({starts_at:e.format("[YYYYescape] YYYY-MM-DDTHH:mm"),ends_at:a.format("[YYYYescape] YYYY-MM-DDTHH:mm")}),"_2"),window.timerangeClickTimeout=setTimeout(function(){delete window.timerangeClickTimeout},1e3)}}})}(e);if(e.data("public-holidays").split(",").forEach(t=>{e.find(".fc-"+t).addClass("fc-public-holiday")}),e.data("child-vacations")){e.data("child-vacations").split(",").forEach(t=>{e.find(".fc-"+t).addClass("fc-child-vacation")})}})};function u(){if("occasional"!==c("#schedule_type").val()){const e=c('input[name="time_slots_flexibility_contract[unpredictable_monthly]"]'),t=e.length>0&&"true"===e.filter(":checked").val(),n=function(e){const t=c(".schedules").children(".row:visible"),n=e.data("schedules-min"),a=void 0===n||parseInt(n)<=t.length,i=e.data("schedules-max"),o=void 0===i||parseInt(i)>t.length;return a&&o};c(".monthly, .weekly, [data-schedules-min], [data-schedules-max]").each(function(){const e=c(this);let a=n(e);
2e.hasClass("monthly")&&(a=a&&t),e.hasClass("weekly")&&(a=a&&!t),e.toggle(a)})}}globalThis.refreshAttendances=function(){let e=document.querySelector("turbo-frame#attendance_week");e&&(e.src=e.dataset.refreshUrl,e.reload()),e=document.querySelector("turbo-frame#report-content"),e&&(e.src=e.dataset.refreshUrl,e.reload());const t=window.notebook_store_dispatch;"function"===typeof t&&(t("loadAttendances"),t("reload_meals"))}},6973(e){e.exports=function(){"use strict";var e="day";return function(t,n,a){var i=function(t){return t.add(4-t.isoWeekday(),e)},o=n.prototype;o.isoWeekYear=function(){return i(this).year()},o.isoWeek=function(t){if(!this.$utils().u(t))return this.add(7*(t-this.isoWeek()),e);var n,o,d,s=i(this),r=(n=this.isoWeekYear(),d=4-(o=(this.$u?a.utc:a)().year(n).startOf("year")).isoWeekday(),o.isoWeekday()>4&&(d+=7),o.add(d,e));return s.diff(r,"week")+1},o.isoWeekday=function(e){return this.$utils().u(e)?this.day()||7:this.day(this.day()%7?e:e-7)};var d=o.startOf;o.startOf=function(e,t){var n=this.$utils(),a=!!n.u(t)||t;return"isoweek"===n.p(e)?a?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):d.bind(this)(e,t)}}}()}}]);
3//# sourceMappingURL=1671-7238100614902d3cbfca.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.