typeof sircl=="undefined"&&console.warn("The 'sircl-sortablejs' component should be registered after the 'sircl' component. Please review order of script files.");typeof Sortable=="undefined"&&console.warn("The 'sircl-sortablejs' component requires the 'sortable.js' component. See https://github.com/SortableJS/Sortable");var sircl_sortable_options_template={animation:150,delay:300,delayOnTouchOnly:!0,touchStartThreshold:4};$$(function(){$(this).find(".onsort, .onsort-move, .onsort-copy, .onsort-clone, .onsort-submit").each(function(){var n=$(this),t=Object.assign({},sircl_sortable_options_template);t.sort=!n.hasClass("onsort");t.handle=n.attr("sort-handle")||t.handle;t.filter=n.attr("sort-filter")||t.filter;t.group={name:n.attr("sort-name"),pull:n.hasClass("onsort-copy")||n.hasClass("onsort-clone")?"clone":!0,put:n.hasAttr("onsort-accept")?n.attr("onsort-accept")=="any"?!0:n.attr("onsort-accept").split(" "):!1};n.hasClass("onsort-submit")&&(t.onEnd=function(t){var i,f,u,r;(t.newIndex!==t.oldIndex||t.from!==t.to)&&(i=n.closest("FORM"),i.length>=1&&(f=i[0],i.find("INPUT.onsort-setfromlist").each(function(){$(this).removeAttr("disabled");$(this).val(t.from.getAttribute("sort-name"))}),i.find("INPUT.onsort-setfromindex").each(function(){$(this).removeAttr("disabled");$(this).val(t.oldIndex)}),i.find("INPUT.onsort-settolist").each(function(){$(this).removeAttr("disabled");$(this).val(t.to.getAttribute("sort-name"))}),i.find("INPUT.onsort-settoindex").each(function(){$(this).removeAttr("disabled");$(this).val(t.newIndex)}),u="sircl-autoid-"+(new Date).getTime(),r='