|
|
|
!function(n){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return n(e,window,document)}):"object"==typeof exports?module.exports=function(e,t){return e=e||window,(t=t||("undefined"!=typeof window?require("jquery"):require("jquery")(e))).fn.dataTable||require("datatables.net")(e,t),n(t,0,e.document)}:n(jQuery,window,document)}(function(e,t,n,r){"use strict";e=e.fn.dataTable;return e.render.anchor=function(e=0,a={},o=null){return function(t,e,n,r={}){if("display"!==e)return t;null===o&&(o=t);var u="function"==typeof a?a(t,n,r):a;if(!u.href)switch(e){case"mail":u.href="mailto:"+t;break;case"phone":u.href="tel:"+t.replace(/[^+\d]+/g,"");break;default:try{u.href=new URL(t)}catch(e){u.href=t}}return jQuery("<a/>").attr(u).text(o||"")[0].outerText}},e});
|