<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<html>
<body>
<script type="text/javascript" src="https://iknowpc.bdimg.com/static/common/lib/mod.75d1f98.js">
</script>
<script type="text/javascript" src="https://iknowpc.bdimg.com/static/common/pkg/lib.33719ed.js">
</script>
<script type="text/javascript" src="https://iknowpc.bdimg.com/static/common/pkg/commonjs.d6b3b29.js">
</script>
<script type="text/javascript" src="https://iknowpc.bdimg.com/static/common/pkg/ueditor.62029f8.js">
</script>
<script type="text/javascript" src="https://iknowpc.bdimg.com/static/common/pkg/more.b91a4bb.js">
</script>





<script type="text/javascript">
	

/*!common:widget/js/util/event/event.js*/
define("common:widget/js/logic/ut/ut", function(t, e, n) {
    //监控鼠标进入指定区域函数
    function o(t) {
        //然而，想法是好的，第一步就悲剧了，t.x 和 t.y是 undefined,不存在的
        var e = [t.x, t.y],
        n = m(this),
        o = v[this.id];
        if (o) o.hover || (o.hover = !0, o.count++);
        else {
            var i = n.position();
            i.right = i.left + n.width(),
            i.botton = i.top + n.height(),
            o = v[this.id] = m.extend(i, {
                hover: !0,
                count: 1
            })
        }
        o["mouse" + o.count] || (o["mouse" + o.count] = [], o["time" + o.count] = {
            start: +new Date
        },
        v.ma.push(o["mouse" + o.count]),
        //重点：鼠标事件的区域编号（0-4的数字）压入ea
        v.ea.push(this.id)),
        //重点：e = [t.x, t.y]，也就是说：ma压入了[undefined，undefined]
        o["mouse" + o.count].push(e)
    }
    //监控鼠标离开指定区域函数，并记录鼠标停留时间，想法不错，可惜没有运用到utdata的计算当中
    function i(t) {
        var e = [t.x, t.y]
          , n = v[this.id];
        if (n && n.hover) {
            if (e[0] && e[0] > n.left && e[0] < n.right && e[1] && e[1] > n.top && e[1] < n.buttom)
                return;
            n["time" + n.count].end = (new Date).getTime(),
            n.hover = !1
        }
    }
    //功能：取鼠标事件的最后一次的y坐标，如上所诉，是 undefined
    function u() {
        var t = v.ma.length;
        if (t > 0) {
            var e = v.ma[t - 1];
            return e[e.length - 1]
        }
    }
    //功能：取出鼠标事件区域的最后10个动作(0-4的数字)
    function r() {
        var t = v.ea.concat()
          , e = t.length;
        return e > 10 && (t = t.splice(e - 10, 10)),
        t.join(",")
    }
    //核心函数1：组合需要计算utdata的参数
    function c() {
        if (p)
            return g;
        //将["userbar", "header", "wgt-ask", "answer-editor", "wgt-answers"]转换成
        //{"userbar":0,"header":1,"wgt-ask":2,"answer-editor":3,"wgt-answers":4}
        m.each(v.ea, function(t, e) {
            v.ea[t] = j[e]
        });
        //组合需要计算utdata的参数
        //var t = [u(), r(), (new Date).getTime() - d, [screen.width, screen.height].join(",")].join("    ");
        //var t = ['', '0,1,2,1,3,3,3,3,3,3', (new Date).getTime() - 150000+7000, [1024,768]].join(" ");
        var t = ['', '**1', (new Date).getTime() - **2+7000, [**3]].join(" ");
        
        //utdata算法
        return g.c = s(t) + "," + w + l,
        p = !0,
        g
    }
    //核心函数2：utdata中加密的部分
    function s(t) {
        for (var e = [], n = {}, o = w % 100, i = 0, u = t.length; u > i; i++) {
            var r = t.charCodeAt(i) ^ o;
            e.push(r),
            n[r] || (n[r] = []),
            n[r].push(i)
        }
        return e
    }
    //启动函数，在知道问题页面，t=["userbar", "header", "wgt-ask", "answer-editor", "wgt-answers"]
    //注意：只有调用了此启动函数，才会对鼠标事件进行监控
    function a(t) {
        //m=jquery
        m.each(t, function(t, e) {
            //监控以上几个区域的鼠标进入、离开事件 区域划分见图片
            m("#" + e).mouseover(o).mouseout(i),
            j[e] = t
        }),
        //监控整个页面的鼠标点击事件，有点击发生置 l=1
        m(document.body).click(function() {
            l = 1
        })
    }
    //此函数用不上，不作分析
    function h(t, e) {
        new f({
            method: "post",
            target: "iktssender",
            action: t,
            input: e
        }).submit().dispose()
    }
    var m = t("common:widget/lib/jquery/jquery")
      , f = t("common:widget/js/util/form/form")
      , d = +new Date
      , v = {
        ea: [], //存放鼠标事件所在的区域的编号
        ma: []  //存放鼠标事件的坐标、时间点信息
    }
      , g = {}
      , p = !1
      , l = 0
      , w = +new Date
      , j = {};
    n.exports = {
        start: a,
        report: c,
        send: h
    }
});

</script>
<script type="text/javascript">
 require.async('common:widget/js/logic/ut/ut', function(UT){
       var b=  UT.report().c;
       //alert(b);
document.writeln("%%"+b+"%%");
document.writeln("</center><br>");        
        });

</script>

</body>
</html>