PageSourceSearch

https://cdn.kiwicollection.com/assets/js/dataModelManager-ca2db98810.js

js kiwicollection.com collected 2026-10-02 04:32:14 UTC 1,648 bytes, 2 lines download raw bytes

1!function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,(function(r){return o(e[i][1][r]||r)}),p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}({1:[function(require,module,exports){"use strict";!function($){kiwijs.DataModelManager={models:{},initialize:function(){$("[data-model]").each((function(){var modelName=$(this).data("model");kiwijs.DataModelManager.addToModels(modelName,kiwijs.DataModelManager.getValue($(this))),$(this).on("change",(function(){var newValue=kiwijs.DataModelManager.getValue($(this));kiwijs.DataModelManager.updateModel(modelName,newValue)}))}))},addToModels:function(modelName,value){kiwijs.DataModelManager.models[modelName]=value},updateModel:function(modelName,newValue){var dataModelManager=kiwijs.DataModelManager;dataModelManager.models[modelName]?dataModelManager.models[modelName]=newValue:dataModelManager.addToModels(modelName,newValue),$("[data-model='".concat(modelName,"']")).each((function(){var $element=$(this),defaultValue=$element.data("model-default");!newValue&&defaultValue?newValue=defaultValue:"string"==typeof newValue&&(newValue=newValue.trim()),$element.is(":input")?$element.val(newValue):$element.text(newValue)}))},getValue:function(element){return element.val()||element.text()}}}(jQuery),$((function(){kiwijs.DataModelManager.initialize()}))},{}]},{},[1]);
2//# sourceMappingURL=dataModelManager.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.